Docs: Document log limitations

This PR describes reasons why driver doesn't work with log out of the box and how the user can fix this.
Fixes: #860
Pre-review checklist

[ ] I have split my patch into logically separate commits.
[ ] All commit messages clearly explain what they change and why.
[ ] I added relevant tests for new features and bug fixes.
[ ] All commits compile, pass static checks and pass test.
[ ] PR description sums up the changes and reasons why they should be introduced.
[ ] I have provided docstrings for the public items that I want to introduce.
[ ] I have adjusted the documentation in ./docs/source/.
[ ] I added appropriate Fixes: annotations to PR description.

@piodul I have no idea what is going on with the book job

I added env_logger to dev dependencies so why is it complaining that it can't find it?
What does the first error even mean, why is it trying to parse the output of this code snippet?

I added env_logger to dev dependencies so why is it complaining that it can't find it?

I assume it's https://github.com/scylladb/scylla-rust-driver/pull/926

What does the first error even mean, why is it trying to parse the output of this code snippet?

The CI job takes the dependencies from the examples/Cargo.toml file, not scylla/Cargo.toml (mdbook test -L target/debug/deps docs).

Still fails with the weird stdout error after rebasing on main

Fixed, it didn't parse my stdout. It interprets code blocks without language specified as Rust and tries to run them. Obviously block with some logs didn't parse, hence the error.

Happens to the best of us.

I opened an issue in tracing: https://github.com/tokio-rs/tracing/issues/2913


Sticky current debug line after window reload

Testing #56822 on Linux

Start EH debugging
Hit breakpoint
Reload target window (by either Ctrl R in the window or the Reload action in the toolbar)

Debug toolbar and debug gutter decorations go back to normal, but the editor keeps the yellow current line decoration:

@joaomoreno very good catch, thanks a lot for this


[Q]: Vehicle App doesn't support VSS 0.4.0

Question
COVSA VSS 0.4.0 has been released, but it cannot work with velocitas APP. And I try to run the latest app python template in codespace, but it raised some errors as below:
... No installed sources for devenv-github-workflows:v3.0.0 found
... No installed sources for devenv-github-templates:v1.0.3 found
... No installed sources for devenv-devcontainer-setup:v1.2.1 found

Could you tell me how I can fix it?
Thanks a lot.

Regarding the codespaces issue: Did you retry?
From the given error messages, I've the impression that this could be a (temporary) connection error to those repositories ...

Thank you for the quick response. There are indeed two questions, I am sorry for the uncertain description. I have a try run app python template in a new codespace again, I can build dev container successfully, but when I run task Local Runtime - Up, the below following errors are raised.
 *  Executing task: velocitas exec runtime-local up

Hint: Log files can be found in your workspace's logs directory
Traceback (most recent call last):
  File "/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2/./runtime-local/src/runtime-up.py", line 88, in <module>
    run_services()
  File "/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2/./runtime-local/src/runtime-up.py", line 35, in run_services
    for service in get_services():
  File "/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2/velocitas_lib/src/velocitas_lib/services.py", line 179, in get_services
    service_config = parse_service_config(service_id, service_json["config"])
  File "/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2/velocitas_lib/src/velocitas_lib/services.py", line 103, in parse_service_config
    value = variables.replace_occurrences(value)
  File "/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2/velocitas_lib/src/velocitas_lib/variables.py", line 60, in replace_occurrences
    raise KeyError(f"{input_str_value!r} not in {self._variables!r}")
KeyError: '\'builtin.cache.vspec_file_path\' not in {\'DOCKER_BUILDKIT\': \'1\', \'GITHUB_TOKEN\': \'ghu_V7avyTkZ3LjeFHc4WzXc1OOC1SVN2G35zT6j\', \'GITHUB_API_TOKEN\': \'\', \'GITHUB_CODESPACE_TOKEN\': \'AYDL7GSYYT6A5IEYP3WOWGDE6IUZ3ANCNFSM4AEXI2BQ\', \'HOSTNAME\': \'codespaces-fa9704\', \'GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN\': \'app.github.dev\', \'HOME\': \'/home/vscode\', \'OLDPWD\': \'/workspaces/vehicle-app-python-template\', \'CODESPACES\': \'true\', \'GITHUB_GRAPHQL_URL\': \'https://api.github.com/graphql\', \'GITHUB_USER\': \'ley901017\', \'ContainerVersion\': \'13\', \'GITHUB_API_URL\': \'https://api.github.com\', \'RepositoryName\': \'vehicle-app-python-template\', \'DAPR_HOST_IP\': \'<IP_ADDRESS>\', \'CLOUDENV_ENVIRONMENT_ID\': \'b03c4efb-d999-4263-b0e4-0d0a80efc743\', \'PATH\': \'/vscode/bin/linux-x64/6c3e3dba23e8fadc360aed75ce363ba185c49794/bin/remote-cli:/home/vscode/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.dapr/bin\', \'SHELL_LOGGED_IN\': \'true\', \'GITHUB_REPOSITORY\': \'eclipse-velocitas/vehicle-app-python-template\', \'SHELL\': \'/bin/sh\', \'INTERNAL_VSCS_TARGET_URL\': \'https://australiaeast.online.visualstudio.com\', \'PWD\': \'/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2\', \'GITHUB_SERVER_URL\': \'https://github.com\', \'CODESPACE_NAME\': \'glowing-potato-p59xgqq4rg73rv6x\', \'BROWSER\': \'/vscode/bin/linux-x64/6c3e3dba23e8fadc360aed75ce363ba185c49794/bin/helpers/browser.sh\', \'TERM_PROGRAM\': \'vscode\', \'TERM_PROGRAM_VERSION\': \'1.81.1\', \'LANG\': \'en_US.UTF-8\', \'COLORTERM\': \'truecolor\', \'GIT_ASKPASS\': \'/vscode/bin/linux-x64/6c3e3dba23e8fadc360aed75ce363ba185c49794/extensions/git/dist/askpass.sh\', \'VSCODE_GIT_ASKPASS_NODE\': \'/vscode/bin/linux-x64/6c3e3dba23e8fadc360aed75ce363ba185c49794/node\', \'VSCODE_GIT_ASKPASS_EXTRA_ARGS\': \'\', \'VSCODE_GIT_ASKPASS_MAIN\': \'/vscode/bin/linux-x64/6c3e3dba23e8fadc360aed75ce363ba185c49794/extensions/git/dist/askpass-main.js\', \'VSCODE_GIT_IPC_HANDLE\': \'/tmp/vscode-git-431f00d68f.sock\', \'CODESPACE_VSCODE_FOLDER\': \'/workspaces/vehicle-app-python-template\', \'VSCODE_IPC_HOOK_CLI\': \'/tmp/vscode-ipc-84fbe3be-cb21-4df9-ae72-12bbbe7e13c0.sock\', \'TERM\': \'xterm-256color\', \'LOGNAME\': \'vscode\', \'SHLVL\': \'0\', \'_\': \'/usr/bin/velocitas\', \'VELOCITAS_WORKSPACE_DIR\': \'/workspaces/vehicle-app-python-template\', \'VELOCITAS_CACHE_DATA\': \'{}\', \'VELOCITAS_CACHE_DIR\': \'/home/vscode/.velocitas/projects/64d0fae2ad6cae06bd91710b7f87105d\', \'VELOCITAS_PACKAGE_DIR\': \'/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2\', \'VELOCITAS_APP_MANIFEST\': \'{"manifestVersion":"v3","name":"SampleApp","interfaces":[{"type":"vehicle-signal-interface","config":{"src":"https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json","datapoints":{"required":[{"path":"Vehicle.Speed","access":"read"}]}}},{"type":"pubsub","config":{"reads":["sampleapp/getSpeed"],"writes":["sampleapp/getSpeed/response","sampleapp/currentSpeed"]}}]}\', \'language\': \'python\', \'repoType\': \'app\', \'appManifestPath\': \'app/AppManifest.json\', \'githubRepoId\': \'eclipse-velocitas/vehicle-app-python-template\', \'generatedModelPath\': \'./gen/vehicle_model\', \'daprRuntimeVersion\': \'1.10.3\', \'daprCliVersion\': \'1.10.0\', \'runtimeFilePath\': \'runtime.json\', \'mockFilePath\': \'mock.py\', \'builtin_package_version\': \'v2.0.2\', \'builtin_package_github_org\': \'eclipse-velocitas\', \'builtin_package_github_repo\': \'devenv-runtimes\', \'builtin_package_github_ref\': \'v2.0.2\', \'builtin_component_id\': \'runtime-local\', \'builtin_component_type\': \'runtime\', \'builtin.package_dir\': PosixPath(\'/home/vscode/.velocitas/packages/devenv-runtimes/v2.0.2\')}'
 ›   Error: Program returned exit code: 1

 *  The terminal process "/usr/bin/zsh '-c', 'velocitas exec runtime-local up'" terminated with exit code: 1.
 *  Terminal will be reused by tasks, press any key to close it.

I am not sure if I do a wrong step, could help me the reason or how to fix it?
BTW, do you have any planning to support VSS version 0.4.0 about  model generator.
Thanks a lot.

I've split this up now.
Request for supporting VSS v4.0 is now tracked here: https://github.com/eclipse-velocitas/vehicle-model-generator/issues/41

Regarding the failing runtime up described above: Maybe you've not fully reverted back the VSS reference to v3.0 in app/AppManifest.json?
Should be:
{
    ...
    "interfaces": [
        {
            ...
            "config": {
                "src": "https://github.com/COVESA/vehicle_signal_specification/releases/download/v3.0/vss_rel_3.0.json",
                ...

Unfortunately, the error messages  if the referenced vss.json cannot be found aren't so helpful at the moment ...
That would be worth providing a fix, directly pointing to the issue.

I've create this for improving error messages: https://github.com/eclipse-velocitas/devenv-devcontainer-setup/issues/34

Thank you for your big support.
I see that it a bug of devenv-devcontainer, I will waiting for the bug fixed, https://github.com/eclipse-velocitas/devenv-devcontainer-setup/issues/34

You're welcome :-)
So, I will close this issue for now. Thanks for your reports!

@ley901017 the log that you posted into the ticket contains a token. Please revoke that token asap.


Fix should skip spaces before parsing the comment line

This close #65

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 57.755%

Files with Coverage Reduction
New Missed Lines
%

parser/lexer.go
3
95.11%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
5846

Relevant Lines:
10122

💛  - Coveralls


feat: Updated Keploy-config Documentation

Pull Request:
Description
This pull request enhances the documentation for Keploy-config to provide clearer explanations and examples for each configuration term. The goal is to improve user understanding and facilitate smoother usage of the Keploy-config YAML file.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue).
[x] Documentation update.
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Additional Context
Screenshots/gifs: N/A
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[x] I have made corresponding changes to the documentation.
[ ] I have added corresponding tests.
[ ] Any dependent changes have been merged and published in downstream modules.

LGTM


Migration fixes

Make migration that was being generated with Python 2 but not with Python 3 (it is generated with both now)
Explicitly add models.CASCADE as the on_delete argument for FKs which don't have an on_delete specified

Current coverage is 100% (diff: 100%)

Merging #401 into 1.0.0 will not change coverage

@@           1.0.0   #401   diff @@
===================================
  Files         23     23
  Lines       1551   1552     +1
  Methods        0      0
  Messages       0      0
  Branches     184    184
===================================
+ Hits        1551   1552     +1
  Misses         0      0
  Partials       0      0

Powered by Codecov. Last update dfac108...225ea52


Make OwinFeatureCollection mutable

OwinFeatureCollection does not currently allow you to replace features, so to use it in the pipeline you have to wrap it in a FeatureCollection. Make it mutable instead.

As of the time of this comment, wrapping the feature collection makes nowin hang under heavy load. We need the mutable feature collection badly.

Are you sure the hang is related? The wrapping has always been there, we just stopped doing it by default.

Without wrapping stuff no longer works. Pressing f5 repeatedly causes a hang. Kestrel does not hang if I do the same thing.

What's heavy load? Is that high requests per second without changing the app? F5 in browser rather than VS? Can you pull some stats from perfmon - like time in GC?

Its doing a repeated F5 cycle. I am on Linux using mono so perfmon doesn't exist and neither does VS.

Using the ubuntu system monitor I cannot observe rapid eating of memory with neither kestrel or Nowin.

Using mono's debug spew for the GC, I can notice a bunch of collections as the app starts up and a few per normal set of requests. However no collections happen during the hang. Could it be a mono bug triggering here?

Mono does seem to jam occasionally during the automated github tests on check in; not sure why, may be similar. Just F5ing in a browser shouldn't cause enough GC memory recycling pressure to hang. I'm guessing F5 will be doing a disconnect/reconnect cycle; rather than using keep-alive on same connection. I assume it worked before the change; though as @Tratcher points out it was just wrapping at in a different function further down the stack. </ponder>
Can you add a gist or a branch that shows how you are doing the wrapping?

I am wrapping here https://github.com/borgdylan/aspnet5-repros/blob/master/NowinServerFactory/NowinServerFactory.cs#L26 moving from
var ofc = new OwinFeatureCollection(env);

to
var ofc = new FeatureCollection(new OwinFeatureCollection(env));

Is it wrong to wrap per request?

Looks like you are doing essentially what it was doing automatically (and often unnecessarily) before; which was per request; I believe.

In this case, if I remove the wrapping all requests will return a 500. The pipeline is trying to add features and that will fail in read-only collections.

As a complete guess, the jamming will be occurring in the connect/disconnect. Assuming nowin supports keep-alive, could you point wrk at it for load and see how it performs? i.e. it should only make a few connections and reuse them for all requests.

dylan@ubuntu-server:/var/www/git/wrk$ wrk -t 4 -d 10s -c 4 http://<IP_ADDRESS>:8087Running 10s test @ http://<IP_ADDRESS>:8087
  4 threads and 4 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     5.76ms   21.36ms 250.62ms   97.99%
    Req/Sec   389.27     62.59   515.00     75.51%
  15262 requests in 10.01s, 58.38MB read
  Socket errors: connect 0, read 1, write 0, timeout 0
  Non-2xx or 3xx responses: 1
Requests/sec:   1524.91
Transfer/sec:      5.83MB

It did not jam at all using wrk as it did with the browser.

If I go a little overboard:
dylan@ubuntu-server:/var/www/git/wrk$ wrk -t 16 -d 10s -c 32 http://<IP_ADDRESS>:8087
Running 10s test @ http://<IP_ADDRESS>:8087
  16 threads and 32 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    26.80ms   57.80ms 506.53ms   96.29%
    Req/Sec   124.20     30.23     0.86k    85.82%
  19073 requests in 10.10s, 72.96MB read
Requests/sec:   1888.67
Transfer/sec:      7.22MB
dylan@ubuntu-server:/var/www/git/wrk$ wrk -t 16 -d 10s -c 32 http://<IP_ADDRESS>:8087
Running 10s test @ http://<IP_ADDRESS>:8087
  16 threads and 32 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.69ms    2.00ms  19.31ms   95.27%
    Req/Sec   611.92    184.86     0.95k    59.00%
  18280 requests in 10.02s, 69.92MB read
  Socket errors: connect 0, read 1, write 0, timeout 0
  Non-2xx or 3xx responses: 1
Requests/sec:   1824.25
Transfer/sec:      6.98MB
dylan@ubuntu-server:/var/www/git/wrk$ wrk -t 16 -d 10s -c 32 http://<IP_ADDRESS>:8087
Running 10s test @ http://<IP_ADDRESS>:8087
  16 threads and 32 connections
^C  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     0.00us    0.00us   0.00us    -nan%
    Req/Sec     0.00      0.00     0.00      -nan%
  0 requests in 2.80s, 0.00B read
Requests/sec:      0.00
Transfer/sec:       0.00B

the server ends up hanging.

Kestrel fairs better ans it does not hang at all. I would use if it supported returning the IP of the caller.

Is it a FeatureCollection wrapped in a OwinFeatureCollection wrapped in a FeatureCollection?
https://github.com/borgdylan/aspnet5-repros/blob/master/NowinServerFactory/NowinServerFactory.cs#L39

No, its an OwinFeatureCollection inside an FeatureCollection only. I am now running using the bits in aspnetcidev so the removal of the default wrapping is effective on my machine.

Notice that server features are separate from request features that get handed over by the runtime per request.

Given it some continuous F5s on windows to http://localhost:5001/api/ with the var ofc = new FeatureCollection(new OwinFeatureCollection(env)); change and it seems ok (500s without it); may be mono issue?
How many requests did it need to hang?

I kept F5 pressed for some time.

Did it for about two minutes; chrome (using 50% cpu) would occasionally stop receiving, but if I took finder off button it would complete, then I could hold it down again for longer; so not sure. Thread pool limits on mono? It does/did get upset doing a dnu restore?
As an aside Kestrel could probably do with some way of exposing ip address of caller.

@borgdylan I recommend taking this discussion elsewhere as we're pretty sure the hang is unrelated to the feature collection.
As for IPs, they're on the list: https://github.com/aspnet/KestrelHttpServer/issues/67

@borgdylan Sounds like a nowin bug


Make some preliminary porting changes.

These changes include:

hw_config.h: prevent referring to sysctlbyname on OpenBSD, as this
is not available on all platforms.

transform.c: these stanzas referring to FreeBSD or Linux also apply
to OpenBSD.

tests/dispatch_apply.c: stanza applying to Linux applies to OpenBSD
and also tweak style for consistency.

tests/dispatch_io_net.c, tests/dispatch_test.h: stanzas applying to
FreeBSD also apply to OpenBSD.

@swift-ci please test

CC: @ktopley-apple


improve error locations for unexpected properties

Why
At replit we use taplo for providing lsp support for our .replit configuration file in Repls. We love Taplo!
However, when an unexpected property appears that's invalid according to additionalProperties: false from the corresponding JSON schema, the LSP highlights the whole file!
for example, making invalid changes to this valid .replit file i used for a throwaway Repl I made when debugging this issue:
run = "cargo run -- /etc/replit/dotreplit.schema.json dotreplit.json"
modules = ["rust-stable"]

[nix]
channel = "stable-24_05"

results in this UX:

note in this screenshot that the diagnostics are collated to the first diagnostic range, which is the whole file:

those error spans aren't the most helpful, especially that 2nd screenshot 😬
What changed

updated taplo::dom::Node::text_ranges method to accept a new argument include_children: bool which conditionally recurses into children when the value is true. true was the default behavior prior to this change
created new taplo_common::schema::NodeValidationError::text_ranges method to conditionally pass false to the above method.

right now, only jsonschema::error::ValidationErrorKind::AdditionalProperties errors result in this value being false, but it may be desired that other error kinds should result in this value being false
i wanted to minimize changing behavior in case this resulted in unexpected behavior

updated lint and lsp commands to use the new NodeValidationError::text_ranges method instead of Node::text_ranges
all other calls to Node::text_ranges pass true as the parameter to minimize unexpected behavior

this results in this new behavior:

note in the new-behavior screenshots that only the value is underlined with the error. i'd like this to underline the full entry, but i'll figure that out later

Thanks!


Fix gradients of sinh and cosh

Hi there, thank you for the awesome work you've been doing on this!
I noticed that the code does not properly propagate gradients through sinh and cosh nodes. I'm submitting a little fix for this.

Ah, nice catch! Would you mind adding a test for these functions (and any other ones you can think of) so that this doesn't regress, and then I'll merge?
You might take inspiration from the cmax/cmin gradient test to easily test a lot of different functions.

Sure, let me have a look at it.

I wrote some basic tests for sinh, cosh, and tanh. The tests successfully detect the problem before the fix. Please note that the multiplication in
return 2 * torch.sum(torch[f](params.x))

is crucial for catching the error.
There are two issues:

For some reason, the test for Optimized_LessThan is failing on Travis CI. I believe that this is unrelated to the changes in this pull request.

I also looked into adding some more tests for other unary functions. Unfortunately there is a problem with the testing code (gradcheck.lua) that could be fixed before this, so I would like to leave it for another pull request. Briefly, the problem is that with randomizeInput some functions (such as log or sqrt) can generate gradients with one or more nan elements. When this happens, the comparison between grads and gradsVerify in jacobianFromAutograd fails, and we get  "autograd gradient not deterministic".

The LessThan gradient seems to fail probabilistically, I need to sort that out soon.
Thank you for reporting the problem with nans, I'll look into that as well.

Awesome, thanks for the contribution!

@gbaydin The Sinh test is failing, would you mind having a look?


Focus

Page tells us how to determine focus, but NOT how to set it.
So I just typed "list disk" and I have a list of the physical disks on my system and NONE has focus, no little "*" on any of them.  Is it select, set ID, assign, add or something that isn't here at all?

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

ID: bca0f8f7-da0d-6340-bf63-f269be5f64d1
Version Independent ID: 39758423-e92d-d2db-88f3-260dc5a1a26a
Content: DiskPart
Content Source: WindowsServerDocs/administration/windows-commands/diskpart.md
Product: windows-server
Technology: storage
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Not sure if the page has changed anything since you posted this issue, but to me, it looks like you have to use the (diskpart) select command to set focus.

By the way, I am working on a plan to have the DiskPart links updated and grouped in the TOC (Table Of Contents) on the left hand side of the web page. Not sure how soon or how quick it will be realized, but it needs some love to be useful at all. Recommendations and suggestions are welcome!

Select. Select is the command you are looking for (in case you have not already found the answer).

#please-close


populate application name in postgres

what does this change enable?

@backwardspy enables additional tracking of what application is connecting to what Database. Example, both api-reflector and jeff-app can connect to the api-reflector database, if they're using the same credentials you'll not know from the postgres logs which application instantiated the connection.
Adding this means Postgres will add application_name: api-reflector to its authentication log. This helps track down buggy applications.

@cpressland nice, sounds good!


dos-style line breaks :-(

Currently, most (but not all) files in this repository have CRLF's and end of lines - like in MS-DOS... those are quite uncommon these days. I suggest you switch to regular LF-only line breaks.
Note: I don't mean CRLFs in what's produced by the code, I mean line breaks at the end of lines in printf.c, printf.h etc.

I'd suggest something along the lines of
char const newline[] = "\r\n";  //  Or whatever the convention is

I fully agree with you that CRLF-newlines are horrible and we should all just switch to \n but I got some test gear with very specific taste in regards to their carriage return (everything from \r\n to only \n to \n\r and some with just a random byte as "end of command"). So maybe have LF-only as the default but make it switchable inside of printf.h or something?

@Gnarflord : Oh, no, I think you misunderstood me. I mean that the source files in this repository have DOS-style line breaks. what you're suggesting is about what printf(), sprintf() etc. produce.

Ah haha :D
Yeah of course, seems like I need another coffee. And here I was, trying to look at your changes and complaining about the github diff-tool being broken as it showed every single line being changed though they all look the same lol
Sorry to bother!

@Gnarflord : Well, regardless - this is fixed in my fork. I noticed @mpaland has been basically inactive for 2 years now, so I merged a bunch of PR's in there, and also switched to CMake for building.


The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

Was asked to create new issue on https://github.com/OmniSharp/omnisharp-vscode/issues/2876
Environment data
dotnet --info output:
PS C:\source\poc\omnisharp-issue> dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   2.2.203
Commit:    e5bab63eca
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.14393
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.2.203\
Host (useful for support):
Version: 2.2.4
Commit:  f95848e524
.NET Core SDKs installed:
1.0.0 [C:\Program Files\dotnet\sdk]
1.0.1 [C:\Program Files\dotnet\sdk]
1.0.4 [C:\Program Files\dotnet\sdk]
2.0.0 [C:\Program Files\dotnet\sdk]
2.0.2 [C:\Program Files\dotnet\sdk]
2.1.4 [C:\Program Files\dotnet\sdk]
2.1.300 [C:\Program Files\dotnet\sdk]
2.1.302 [C:\Program Files\dotnet\sdk]
2.2.104 [C:\Program Files\dotnet\sdk]
2.2.203 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version:
1.33.1
C# Extension version:
ms-vscode.csharp-1.19.0.omnisharp\1.32.18
Steps to reproduce
Created a new .NET Core project based on 2.2.203
Repo that gives me issue - https://github.com/tonyranieri/omnisharp-poc
Expected  behavior
I don't get the exception and the project loads.
Actual behavior
Exception when loading, no OmniSharp functionality.
Error Log
If I pin the version to 2.2.104 via the global.json and reload VS Code it works as expected.

Locatted 2 MSBuild instance(s)
            1: Visual Studio Enterprise 2017 15.4.27004.2008 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin"
            2: StandAlone 15.0 - "C:\Users\ranieria\.vscode\extensions\ms-vscode.csharp-1.19.0\.omnisharp\1.32.18\.msbuild\Current\Bin"

I believe it is preferring (1) over (2). @rchande is there a way to control which msbuild instance is selected? If not, you'd need to uninstall VS 2017 or install VS 2019, I guess.

Also, it's confusing that (2) is described as StandAlone 15.0 instead of StandAlone 16.0.

is there a way to control which msbuild instance is selected?

at the moment it's unfortunately hardcoded https://github.com/OmniSharp/omnisharp-roslyn/blob/6836fadb9c35a88d4695276d14302336a460b841/src/OmniSharp.Host/MSBuild/Discovery/MSBuildLocator.cs#L44-L50

Also, it's confusing that (2) is described as StandAlone 15.0 instead of StandAlone 16.0.

that is also currently hardcoded

I think @akshita31 filed a bug for us to track enabling a choice?

For those looking for a quick workaround:

Install .net core SDK 2.2.104
Create a global.json in your project folder with this content: { "sdk": { "version": "2.2.104" } }
Restart vscode

Solved this problem by adding omnisharp.json with
{
    "MsBuild": {
        "UseLegacySdkResolver": true
    }
}

@themindfulcoder Do you mean that file should be added to the project directory?

So I have used a combination of items related to this issue. I added the item from @themindfulcoder.
{
    "MsBuild": {
        "UseLegacySdkResolver": true
    }
}

I also have a global.json pinning the sdk
{
    "sdk": {
        "version": "2.2.300"
    }
}

I also added some omnishart settings to the .vscode\settings.json file per @rchande in https://github.com/OmniSharp/omnisharp-vscode/issues/3102#issuecomment-500517754
{
   "omnisharp.path": "latest",
   "omnisharp.useGlobalMono": "never"
}

I was using the dotnet new react template. It did not generate a .sln file. I added one of those but that does not seem necessary as with the updates above, things started to work.
The "omnisharp.path": "latest", setting is also not required.
I have also removed the "MsBuild" legacy resolver and everything continues to function.
I think the main issue was with mono. I am using 2.2.300 on osx.

My Solution
"omnisharp.useGlobalMono": "never" is the solution to my issue on osx.
@steveoh Thanks a lot dude!

@nguerrera @rchande I proposed a change to how we score msbuild here https://github.com/OmniSharp/omnisharp-roslyn/pull/1545
it should prevent vs2017 to be ever selected over the bundled msbuild 16 and still allow vs2019 to be used

@James-Lester No. According to this page of Omnisharp wiki, the file omnisharp.json should be put in %USERPROFILE%/.omnisharp/.

the original issue reported here has been resolved as VS2017 msbuild is no longer going to be picked up.
also, Omnisharp has been updated to msbuild 16.3.

In C:\Users\YourUser.omnisharp add an omnisharp.json with
{
"MsBuild": {
"UseLegacySdkResolver": true
}
}

In C:\Users\YourUser\.omnisharp add an omnisharp.json with
{
  "MsBuild": {
  "UseLegacySdkResolver": true
  }
}


The Website is not compatible with 1920px by 1008px screens

Hi @NeoPrint3D,
Thanks for mentioning that we'll fix this issue asap.
Cheers,
Sajad


Add image downloading in case colab env

Hi.
In inpaint.ipynb notebook in case running in colab image grass.png is needed. So I add a cell with downloading an image in case the notebook is running in colab:
if 'COLAB_GPU' in os.environ:
  !wget https://raw.githubusercontent.com/openai/glide-text2im/main/notebooks/grass.png

#22


Port is Opening

Operating System and Hardware:Jessy - BeagleBone Black Image 2016-01-24
NodeJS Version: 0.10.41
Serialport version: 3.1.2-beta1
Python Version (if you're having trouble building serialport):
(Run node -v && npm -v && python --version to get the version numbers.)
Some install problems I cant use npm install serialport -g "cant enter to root folder..."
then I install in the same folder that the Cloud9 with some errors and when I execute the code have the error "Port is opening" but if i delete the line 198 in the javascript I can execute the code, the line "if (this.opening){return this._error(new Error ('Port is opening'), callback);}"

I reinstalled the OS and the global installation worked. I have the error "Error: Port is opening
at SerialPort.open (/usr/local/lib/node_modules/serialport/lib/serialport.js:198:24)
at SerialPort.factory.SerialPort (/usr/local/lib/node_modules/serialport/lib/serialport.js:176:12)"
Some code:
var sp                         = require("serialport");
var port_mux              = '/dev/ttyO4';
var config_port_mux  = {baudrate: 9600, parser: sp.parsers.readline("*")};
var muxport                = new sp.SerialPort(port_mux,config_port_mux);
muxport.open(abrir);
function abrir(error){
if (error){
console.log('failed to open: '+error);
} else{
console.log('open '+port_mux);
muxport.on('data',rx_data_mux);
}
}
In a previous version (Im not sure which, a version in February maybe) I didn`t have that problem. If i delete that code lines my code works.
Regards

Thanks a lot! I didn't understand why the code works before, I did the change and worked.
Have a nice day :)


chore: type annotation cleanup

SUMMARY:
fixes typos adds missing annotations and alphabetizes types.
TEST PLAN:
Pull the pr branch and do yarn and yarn storybook. Verify the following stories behave as expected: Pills, Portal, RadioButton, Select, Slider, Snackbar, Tabs, and Tooltip.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@dd77e4b). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #376   +/-   ##
=======================================
  Coverage        ?   89.28%
=======================================
  Files           ?      484
  Lines           ?    13071
  Branches        ?     4395
=======================================
  Hits            ?    11670
  Misses          ?     1377
  Partials        ?       24

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix: label capitalize breaking th layout

Description
Th extends Label styles and variants.
When transform='capitalize' default variant is applied to Th, style display: 'inline-block' takes precedence.
It breaks table layout.
I reset display: 'table-cell' from inside Th to correct this behaviour.
Questions
What would you prefer?

Removing this enforced display value from Text, which could lead to unexpected bugs with capitalize when display does not match a block level, but removes the extra logic inside Th
Doing as I proposed

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add smartsense components and configs to blueprint if necessary

@akanto @keyki @schfeca75 please review

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2714/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/205/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2715/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/206/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2716/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/207/


Having trouble with Table and diff

What I am trying to do is iterate over a list of columns, run a function against that column, save the result, the using .diff to compare expected results with actual results.  That way I guess a pretty table of green and red depending on how the test completed.
So I have a table that looks like the following:
  |     COLUMN_NAME         |     result |
  |     RecordNum           |     pass   |
  |     MasterCompanyTicker |     pass   |

A sql script is executed against each column name, returning 'pass' or 'fail' depending on the outcome.  The function is as follows:
Then(/^these columns are expected to be not null$/) do |columns|
  # expected is an instance of Cucumber::Ast::Table
  WorkTable.logger.info title_line('Columns cannot be null')

  sql = File.readlines(File.join(ENV['ms_home'],'db','scripts','test','pass_or_fail_template.sql'))
  sql = (sql.map {|l| l.strip}).join(' ')

  results = columns.clone
  results.hashes.each {|row|
    st = sprintf(sql,"#{WorkTable.table_name}","#{WorkTable.table_name}.#{row['COLUMN_NAME']}")
    row['result'] = WorkTable.connection.select_all(st.encode('utf-8')).first['result']
  }
  columns.diff!(results,surplus_row: false)
end

The sql script is running correctly; there is one that returns the string 'fail'.  So I am expecting row['result'] to be 'fail'.  If I do pp right after assignment, I indeed see that row['result'] == 'fail'.
{"COLUMN_NAME"=>"TermDate", "result"=>"fail"}

However, if I do "pp results" against the whole table after the "results.hashes" block, it is not 'fail'.  It is its original value, 'pass'.
  |     TermDate            |     pass   |

What am I doing incorrectly?  I thought this was an ingenious way of collecting all the results in on swoop, the comparing them using table.diff.  But it is not working as I thought it would
Your time and consideration is appreciated,
dvn

Good Lord, I am so sorry.  I have the solution after I posted the question (with a truncated subject line.)  The solution is as follows:
      results = []
      columns.hashes.each {|row|
        st = sprintf(sql,"#{WorkTable.table_name}","#{WorkTable.table_name}.#{row['COLUMN_NAME']}")
        results << {
            'COLUMN_NAME' => row['COLUMN_NAME'],
            'result' => WorkTable.connection.select_all(st.encode('utf-8')).first['result']
        }
      }

      columns.diff!(results,surplus_row: false)

I was trying to diff a table against another table.  That is not the correct thing to do.  I need to diff a table against an array of hashes.  When I do that correctly, I get the following output:
       | ActiveDate          | pass   |
       | TermDate            | pass   |  <<
       | TermDate            | fail   |  <<
       | create_user         | pass   |
       | create_dt           | pass   |

That is what I was looking for.
Sorry to bother. Hopefully this helps someone else.
dvn

:)


[Settings] Assertion failed!

Microsoft PowerToys version
0.1.0 (pre 0.53.0)
Running as admin

[ ] Yes

Area(s) with issue?
Settings
Steps to reproduce

Build PT in debug mode.

Other Software
No response
Logs
Runner-Log:
[2021-12-25 13:31:13.582504] [p-10576] [t-10580] [error] Can't convert string value= to ESettingsWindowNames

PowerToysReport_2021-12-25-13-38-18.zip

I didn't see this when building PT today from main.
Just saw what I filed in #15143

This is happening if you use the exe file to open settings window and not the tray.

@SeraphimaZ can you or someone else look at this. I worry that we have the bug in our next release and the start menu shortcut doesn't works as expected.

Looking at the code, this will only affect PT running in Debug mode. In release mode it will fallback to opening settings - General page.
Of course , we should fix it anyway..

This is happening if you use the exe file to open settings window and not the tray. This has nothing to to with the build process.

...because cmd line args are missing running it that way

Looking at the code, this will only affect PT running in Debug mode. In release mode it will fallback to opening settings - General page.
Of course , we should fix it anyway..

Then there is no need to hurry up. 😅

Hit this issue today, when trying to do my first build/run.  Build was otherwise successful.

@peddamat Make sure PowerToys is not running on you machine while you're trying to run it from VS. Does that help?


Commit fit_common.py

This PR fixes some technical debt in fit_common.py:
•removed obsolete function appliance_reset() which used BMC to reset the appliance in the old MN lab. No longer relevant, because it doesn't work with Vagrant or with ESXi stacks. Can just use remote_shell('reboot') for a reset.
•removed obsolete function apply_obm_settings_seq(), apply_obm_settings() is the current supported version
•fixed mongo_reset() which was set up for OnRack configuration and broken for current, Now works with RackHD source and package installations.
@hohene @larry-dean @jimturnquist @stuart-stanley @johren

test this please


Allow updating textAlignVertical

Description
textAlignVertical was not being updated in _Decorator.  This passes it through.
Related Issues
Closes https://github.com/flutter/flutter/issues/56933
Tests
I added a regression test that updates the alignment from top to bottom and checks that the hint text has moved down.
Breaking Change
No.

Gold has detected about 1 untriaged digest(s) on patchset 3.
Please triage them at https://flutter-gold.skia.org/cl/github/57033

@LongCatIsLooong Good point.  I've modified it so that it can be set to null now.  I think the assert was put there originally just to make the logic easier, and it was never used anyway because it wasn't possible to set textAlignVertical until now.

The skia-gold comment was due to a typo that I pushed.  There should be no goldens change.


Add Software testing Document - Test.md

Software testing Document  is designed using the template from IEEE-829-2008

LGTM! Formatting pending @iamsebinsunny


Updated composer dependencies

Updated composer for dependencies.

Any benefits or special reasons to start using unstable branches?

Any benefits or special reasons to start using unstable branches?

None that I know of but I know why there are development branches showing up and it is a simple resolution in which we all should have a larger discussion around and that is the truly identifiable way to guarantee a stable branch.
The code below in composer.json is why there are development branches in use
{
"name": "boxbilling/boxbilling",
"description": "Open Source Billing Software",
"version": "4.22.0-beta.2",
"readme": "https://github.com/boxbilling/boxbilling/blob/master/README.md",
"minimum-stability": "dev",
"type": "project",
"license": "Apache-2.0",
"keywords": ["billing", "invoice", "client management"],
"homepage": "https://www.boxbilling.org",
"authors": [
    {
        "name": "Andrius Putna",
        "email"<EMAIL_ADDRESS>    }
],

What should we identify the master branch current minimum stability as?
From what you are discussing it should be stable but in turn I have heard communications that the master branch should not be used in production environments and at this time is not considered stable.
So in regards to that please correctly identify the state of the master branch and define it in the section called minimum stability.
This in turn will only allow stable branches to be used unless manually flagged individually.
For definition of what minimum stability is please see below.
minimum-stability
This defines the default behavior for filtering packages by stability. This defaults to stable, so if you rely on a dev package, you should specify it in your file to avoid surprises.
All versions of each package are checked for stability, and those that are less stable than the minimum-stability setting will be ignored when resolving your project dependencies. (Note that you can also specify stability requirements on a per-package basis using stability flags in the version constraints that you specify in a require block (see package links for more details).
Available options (in order of stability) are dev, alpha, beta, RC, and stable.

No, the only time I am okay with using dev or unstable branches is if we had a bleeding edge branch for experimental features.
We really should be moving the composer config to be "stable" instead of dev if at all possible

@BenNottelling Would you like to create a bleeding edge branch?

@BenNottelling Would you like to create a bleeding edge branch?

Honestly, no
We don't have enough manpower & work being put into BB to justify it

@BenNottelling Thanks for your response. When the community would like to discuss this please be sure to include me.

Minimum stability 'dev' make sense if you work on features from dev (unstable) libraries included in your main project. Maybe testing it at whole complex project, etc...
I'm surprised that the issue of stability is debatable here.  ((

There are some long running issues with code quality from previous contributors, some of which has been resolved, some of it hasn't

@BenNottelling, minimum-stability=dev it's about projects included in your application, but not about main project. In other words: if some other project want to use your master (unstable) branch they set minimum-stability=dev in them composer.json.
Stability of your main project depend only at release circle of you project.

@andpavlenko
I am aware of that.
However, BoxBilling using unstable or dev packages in release builds is something that I would consider to be a quality issue with BoxBilling

@BenNottelling, let's say I'm still poorly aware of the Boxbilling code. Show me please reference of code that makes it impossible to use the stable version in composer.

Obsolete now, check #1237.


rename get_evaluation_specification to create_evaluation_specification

For UX reasons, it makes sense to change away from get_, but instead of the now introduced create_ we could also go for propose_ if you prefer that, @sfalkner / @dynobo.
Signed-off-by: Grossberger Lukas (CR/PJ-AI-R32<EMAIL_ADDRESS>

propose_ :+1:

How about generate_?


Upgrade - change the upgrade and migration process

What should be investigated.
Automate the upgrade process by creating scripts instead of code snippets to be run manually.
Definition of done:

a process on how and who should create this migration scripts.

Folks, I upgraded the demo environment to v0.19.0. I feel the migration scripts are going in the right direction.
I have the following suggestions on how to move forward.

Number the scripts in the order in which an administrator is expected to run them, e.g., 10_migrate_to_opensearch.sh.
Put the instructions as comment (or strings) as the start of each migration scripts. Then the "main" migration script could be as simple as for $SCRIPT in [0-9][0-9]*.sh; do ./$SCRIPT; done.

My 2 cents.


app.UseBrowserLink can't be used after Http and Http.Core swap

Since this refactoring, I have to comment out app.UseBrowserLink() in order to compile.  I get the following error
Severity	Code	Description	Project	File	Line
Error	CS7069	Reference to type 'IApplicationBuilder' claims it is defined in 'Microsoft.AspNet.Http',  but it could not be found	Web.DNX 4.5.1	C:\Users\matthew.OFFICE\Documents\Visual Studio 2015\Projects\CpRefactorArticles\Web\Startup.cs	80

That's expected. We're making big API changes in beta5 (after API reviews). So beta4 and beta5 packages cannot be mixed.

I am using beta 5 with vs15 rc.
On Apr 19, 2015 3:34 PM, David Fowler<EMAIL_ADDRESS>wrote:That's expected. We're making big API changes in beta5 (after API reviews). So beta4 and beta5 packages cannot be mixed.
—Reply to this email directly or view it on GitHub.

This change just went in last week (Tuesday?) so I don't know if the browserlink folks have even picked it up yet.  Even if they have, you'll need the absolute latest version of all the beta5 packages.

Right, plus there's no ci builds of browser link.


CompatHelper: add new compat entry for PkgDependency at version 0.4, (keep existing compat)

Open second PR, because CompatHelper does not trigger the CI.

solved in #8


Reading R3F Library keeping components in mind

three.js docs
react three fiber github
three.js github

three-devtools github


Host Group Matching/Filtering

I'm submitting a ...

[X ] Question / Support request

We place hosts in location (Boston, SF, Chicago) and department (Finance,HR,Support) host groups.
Is it possible to match/filter on two host groups? For instance, if I only wanted to see hosts that are in BOTH "Finance" AND "Boston"?
Thanks!
Reece

No, this is impossible right now.

@alexanderzobnin Why?
Can't he just use a regex?:
/Finanace|Boston/

You can't substitue a logical AND with a logical OR.

Opps sorry. I missed the "BOTH".
Maybe he can declare 2 template variables:
$finance: {Finance}{*} and $boston: {Boston}{*}
then he can query for hosts:
/(?=$finance)(?=$boston)/
to get hosts that are in both Finance and Boston
To make it even more interactive he may even declare 2 more template variables v1 and v2 to replace Finance and Boston.


Move AssetEvents to Last

Objective

Fixes https://github.com/bevyengine/bevy/issues/12380

Solution

Before #11986 AssetEvents were scheduled after PostUpdate. That pr moved these into First. This PR moves them into Last which is closer to how they were scheduled before.

LGTM assuming this fixes the hang.

I tested before and after with the command in the linked issue and it worked.
cargo run --release --example bevymark -- --benchmark --waves 130 --per-wave 1000 --mode mesh2d --vary-per-instance

Why did this fix things?


[Authorization Provider] Return early when namespace policies are rea…

…d only
Motivation
This is a minor fix to a flow control in the default PulsarAuthorizationProvider class. Currently, when the policies are "read only", the grantPermissionAsync method will complete the future with a failure but then proceed to attempt to update the policy anyway.
Modifications

Return from the method early when policies are marked as read only.

Verifying this change
This section of the code does not have good test coverage, so it wouldn't be very easy to add a test for this small case. Since this fix is small and easy to understand, I think it is safe to merge it without adding a test. Ideally, we'll come back and add tests for this part of the code base.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): no
The public API: no
The schema: no
The default values of configurations: no
The wire protocol: no
The rest endpoints: no
The admin cli options: no
Anything that affects deployment: no

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?

[x] no-need-doc

It is a small change to internal behavior.

In order to cherry-pick this commit to older branches without also affecting the asynchronous code, I am going to re-open this PR. I'll submit a follow up that will make this method actually async.

Why dis you add the 'cherry picked' labels?
Did you cherry pick this change or are you planning to do so?

@eolivelli - thanks for your question. I meant to put release labels, but instead used the cherry-picked label. I fixed it now. I'll merge this when tests pass and then I'll cherry pick to the old branches.


Extension request

Hello MapoDan,
Thanks for the addon. Through the file_restore everything can be set super.
What is still missing for me is ...
Feater A - Superior mode

Holiday
HomeOffice
default
away
Would it perhaps be possible to swap the file_restore here.
Example:
If New Parameter - Status Heating Profile - AWAY
Then file_restore = YYY.Y
If New Parameter - Heating Profile Status - Holiday
Then file_restore = AAA.A
If New Parameter - Heating Profile Status - Standard
Then file_restore = BBB.B

Feater B: Oberride for ...h
Override the current profile or setting for X hours and heat/cool to temp X.
Number of hours and temperature flexible in each case.
Would that be possible? Could you incorporate this.
I would be pleased to receive an answer.
Thanks Moritz

you can achive it without any change in file_restore. I have it in my home.
I have one input_select to let HA have the state if I'm at home, at home working, on holidays and then created a template sensor that returns the value of the file restore entity according to the value of the input_select.
Next time open the issue on the component page, so maybe someone else may help you faster then me :)


How to specify folder at runtime?

I'm using 'clap' to pass at runtime an arg telling my program where is the folder to embed.
Let's say I get it in a var called 'my_folder_path'
How do I pass it to rust-embed?

I'm using rust-embed to produce binaries with embedded static websites that I can run anywhere even on machines with no dev tooling so it would be nice to be able to avoid having to edit the source code everytime I want to embed a different set of files.
Well the best would be to be able to create a program that would pick up a source code & a folder and compile a new program running that code with the embedded file
I can do this in Deno with Leaf but in Rust this is way above my current level I'm afraid

Just so I understand your use case, you want to run a program that will compile a second program, and the first program decides what folder the second program embeds? Can you share the working Deno project?
Otherwise, this does not make sense: "pass at runtime an arg telling my program where is the folder to embed". Embedding happens at compile time, not runtime.
The interpolate-folder-path feature can be used to set the embedded folder path based on environment variables. This, combined with a build script could be used to programmatically change the path to be embedded when you compile your program (by setting an environment variable).

Here is the Deno project: https://github.com/DuredhelFinceleb/embedded_files_server_deno
Looking at it again in regard to the interpolate-folder-path feature, it becomes much clearer.
I understand what I need to do to get what I want, I think it's even simpler than in Deno.
Btw, the Rust project is here: https://github.com/DuredhelFinceleb/embedded_files_server
I'm gonna update it to use the interpolate-folder-path feature

Looks good, though I would suggest not using a shell script to build (just tell the user to set an env variable and run cargo build).
Another reason you might want to use a (Rust) build script is to automatically recompile if the environment variable changes. This can be done via rerun-if-env-changed. Also, you could fail the build if the environment variable is not set.

Closing this for now since I think the question is answered. But feel free to continue discussing if you want.

Yeah  can be closed.
Followed your suggestion and project know use the idomatic Rust way to do this
Thanks a lot! 😃


Feature: Include markdown tables

Made by @tysino at TechbeeAT/jtxBoard#146
Is your feature request related to a problem? Please describe.
Weirdly, table syntax is recognized, but the formatting characters (|, -) are just removed in the rendered markdown.
Describe the solution you'd like
Implement github-style rendered tables (maybe just a library change is necessary).
Describe alternatives you've considered
Other option: show the formatting characters in the rendered markdown (which is ugly, but at least not unexpected).
Additional context
The Android client for Nextcloud notes supports this, if you are looking for a library.
PS: Thank you for the awesome app.

As a temporal fix, I have made (#40) that the table is rendered as code:

Once I have more free time I will try to implement a proper table renderization feature.

I've managed to draw some raw content into an image that kind of looks like a table. I think rendering an image and loading it will be the best method with our current implementation.
With my current algorithm, with the following code:
Image(
    bitmap = TableRenderer(
         listOf("Column 1", "Column 2", "Column 3"),
         listOf(
             listOf("Value 1", "Value 2", "Value 3"),
             listOf("Value 4", "Value 5", "Value 6"),
             listOf("Value 7", "Value 8", "Value 9"),
        )
    ).imageBitmap,
    contentDescription = "",
    modifier = Modifier.fillMaxWidth()
)

Renders this:

If you render the table as an image, that means you would lose the ability to select (in order to copy) text from inside the table, right? Is that worth it?
I think I prefer the current raw table solution over an image.

If you render the table as an image, that means you would lose the ability to select (in order to copy) text from inside the table, right? Is that worth it? I think I prefer the current raw table solution over an image.

Yes I agree, a complete rendering of a table with selectable text would be better.


feat: Include full module path to structs in abi

Continues the work from #2266 and prepends the full module path to struct type names in the ABI. The name is composed as package_name::module_1::...::module_N::struct_name.
For example:
    {
      "name": "entrypoint",
      "functionType": "secret",
      "isInternal": false,
      "parameters": [
        {
          "name": "payload",
          "type": {
            "kind": "struct",
-           "name": "EntrypointPayload",
+           "name": "noir_aztec::entrypoint::EntrypointPayload",
            "fields": [
              {
                "name": "flattened_args_hashes",
                "type": {
                  "kind": "array",
                  "length": 4,
                  "type": {
                    "kind": "field"
                  }
                }
              },

Note that the crate_name added to CrateData is optional, since some instantiations of crates seem to be coming from not-a-package. Also, I was unsure as to emit the name of the package or the name of the dependency as registered in the contract package TOML. I decided to go with the former, since this ABI may be consumed from a location that doesn't know the mapping from dependency names to packages.
Now, if this feels like we're spreading too much data across internal types, I'm fine closing this PR and looking for an alternate solution.
Fixes #2238

Now, if this feels like we're spreading too much data across internal types, I'm fine closing this PR and looking for an alternate solution.

Yeah, this feels like we're being leaky here. I need to look deeper than just the diff to see if this can be built up without cloning strings everywhere.


Support dummy actions

To use as an example of how actions work.

@rudigiesler @miltontony ready for review

:+1:


Up scrolling in case of header only containing middle part

If my outer header only contains a middle view with a heading in it. What modifications are required in OuterItem  onItemScrolled() method as it scrolls up wierdly

Hello, @chauhan-abhi. You may tune recyclerview with this library the way you need. Example app only shows one of the ways to use this lib.


chore(layer): restore logging, doc changes

Some of the log messages were lost with the #4938. This PR adds some of them back, most notably:

starting to on-demand download
successful completion of on-demand download
ability to see when there were many waiters for the layer download
"unexpectedly on-demand downloading ..." is now info!

Additionally some rare events are logged as error, which should never happen.

It might be that some test cases hit the new error loggings. Very unlikely, but I did not check.

Not included logging: https://github.com/neondatabase/neon/blob/cf28e5922a4412ccb944c9065fcab6f2060f01fe/pageserver/src/tenant/timeline.rs#L2518-L2522
Not included logging: https://github.com/neondatabase/neon/blob/cf28e5922a4412ccb944c9065fcab6f2060f01fe/pageserver/src/tenant/timeline.rs#L2532-L2535
Already included logging: https://github.com/neondatabase/neon/blob/cf28e5922a4412ccb944c9065fcab6f2060f01fe/pageserver/src/tenant/timeline.rs#L2540-L2544 (unsure was this supposed to be info!?)
Not included logging: https://github.com/neondatabase/neon/blob/cf28e5922a4412ccb944c9065fcab6f2060f01fe/pageserver/src/tenant/timeline.rs#L4398
Not included logging: https://github.com/neondatabase/neon/blob/cf28e5922a4412ccb944c9065fcab6f2060f01fe/pageserver/src/tenant/timeline.rs#L4424 (only one for success because there is no fallible steps after it)
Included in this PR: https://github.com/neondatabase/neon/blob/cf28e5922a4412ccb944c9065fcab6f2060f01fe/pageserver/src/tenant/timeline.rs#L4467
Existed already: https://github.com/neondatabase/neon/blob/cf28e5922a4412ccb944c9065fcab6f2060f01fe/pageserver/src/tenant/timeline.rs#L4476-L4479

I will push a simplification to d1c6070 after the tests complete (remove now_or_never, unconstrained and just update counter always).

No failures, pushing again.

test_tenant_reattach[real_s3]: debug

Wrote up #5774.


feat: Windows headless / CLI client

Is your feature request related to a problem? Please describe.
Some Windows servers may not have a full desktop installed, or they don't want to install Webview, and they just want a CLI client
Describe the solution you'd like
Separate binary (Windows makes it very difficult to launch a CLI and GUI from the same exe) that is a CLI-only client for Windows x64
Describe alternatives you've considered
N/A
Additional context
Splitting from #1768 since the headless client will not be part of beta this week.
For use with Service account tokens, the Windows client will need a headless operating mode for use in Windows Server operating systems.
- [ ] Build / package / publish a separate binary from userspace application, e.g. `windows-headless`
- [ ] Expose CLI args:
  - [ ] `FIREZONE_TOKEN`: Authenticates the client. Should be a long-lived "Service Account" token
  - [ ] `FIREZONE_ID`: Identifies this client for upsert in the portal
  - [ ] `FIREZONE_LOG_DIR`: Log directory for writing logs
  - [ ] `FIREZONE_AUTH_BASE_URL`: Portal auth base url
  - [ ] `FIREZONE_API_URL`: Portal API url
  - [ ] `RUST_LOG`: Log filter string

refs #3712

Marked "In Progress" since the binary already compiles and runs fine on Windows, we just don't have a package for it.


[QUESTION]Impossible to import  Library with some arguments

Please describe.
Hello，When I use, I find that Library can not use args ,like this

Desktop (please complete the following information):

VS Code Version 1.85.1
RobotCode Version 0.68.1
OS: [e.g. Windows, Linux]  windows
Python Version 3.9.11
RobotFramework Version 6.1.1

Please help me find where I should  improve, thx!

this error make me confuse,I can not jumps to the library pythonfiles' function

where are the variables ${qcc_url} and ${appcenter_url} defined? it seems that these variables cannot be found. There are some Variable Import in line 5, 6 and 7, maybe there is an error in one of these files? You have to define the variables somewhere?

yes，It defined at the line 5. I run robotcode successfully. I dont konw why the library cannot know the variables?
See the line 8, there is no args to input,It has no error. when I want to use some args ,It returned these error.

And I use common strings,It can use,Not return error any more,but I want use variables to make my many environment to use this args

If you move the mouse over the variable ${qcc_url}, what does the tooltip say, does it contain a value? Something like ${qcc_url} = '...'?
Why does the error message appear after each line? What is the setting or have you installed any extension?

any news about this question? did you solve it?

closed due to inactivity


No support for OTP

I tried using this but…
$ cligh configure
Username: aaaaa
Password:
Traceback (most recent call last):
  File "/usr/bin/cligh", line 45, in <module>
    main()
  File "/usr/bin/cligh", line 37, in main
    config.do_configcmd()
  File "/usr/lib/python3/dist-packages/cligh/config.py", line 78, in do_configcmd
    authorization = user.create_authorization(scopes=['user', 'repo', 'gist', 'delete_repo'], note='cligh',
  File "/usr/lib/python3/dist-packages/github/AuthenticatedUser.py", line 464, in create_authorization
    headers, data = self._requester.requestJsonAndCheck(
  File "/usr/lib/python3/dist-packages/github/Requester.py", line 275, in requestJsonAndCheck
    return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
  File "/usr/lib/python3/dist-packages/github/Requester.py", line 286, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 401 {'message': 'Must specify two-factor authentication OTP code.', 'documentation_url': 'https://developer.github.com/v3/auth#working-with-two-factor-authentication'}

This is because I have 2 factor authentication enabled on my account.

This projects seems to be in the end of the life.  https://github.com/CMB/cligh/issues/16
@CMB  Could you confirm it, please?

Sorry I didn't notice this until now.  Yes cligh is end of life.  There
are more client options nowadays, and personally I'm more interested in
self-hostable repository setups and wanting to move off of github as much as
I can.


[QUERY] Check if AccessPolicy is accepted as an empty parameter from BlobContainer GetAccessPolicy

In .NET we faced a bug due to unclear documentation  where the if the CX specified an empty AccessPolicy on the BlobContainerClient and then went to grab the AccessPolicy information, they would get a Null Exception because we except the service to always give us back an access policy, if an id is specified.
To be more specific:
When performing a BlobContainerClient.GetAccessPolicy and the body of the request returns with this value (or access policy)
'MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI='
However it also return like
MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI=
This scenario can be reproduced if you set the signed identified with an id but not an access policy. I wrote a test in .NET to represent this.
https://github.com/Azure/azure-sdk-for-net/pull/27203/files#diff-cfbbd86d890e76d951dd6142c352ee932045fb0ce70ceb31c1d069f404c692c2R1140
I've also put in a fix in .NET for this issue as well.
https://github.com/Azure/azure-sdk-for-net/pull/27203/files
Please close this issue once we confirm that in Java that we support this scenario. If it does not, please relabel this issue as a bug and resolve it accordingly.

Hi @amnguye , I tested this behavior by using the same test case you provided in your PR (without making any changes to existing code) and I can confirm that we support this scenario. The test passes fine without having to pass in an AccessPolicy on the BlobContainerClient, and we can easily get the signed identifier from the response.


method_missing doesn't provide the name of actual missing method when super called

I tried it in a different ways and have noticed this behavior.
class MySuperClass
  def method_missing(m, *args, &block)
    super
  end
end

> MySuperClass.new.a
(mirb):7: undefined method 'method_missing' (NoMethodError)

class MyClass
  def method_missing(m, &block)
    super
  end
end

> MyClass.new.a
(mirb):14: undefined method 'method_missing' (NoMethodError)

I wasn't sure what was the appropriate signature for the method so I tried both. But the expected behavior is that it should provide me with the message:
(mirb):14: undefined method 'a' (NoMethodError)

To reduce the memory footprint, mruby does not provide default Object#method_missing by default. If you care about CRuby compatibility here, define MRB_DEFAULT_METHOD_MISSING.

I measured the memory amount saved by the change. And it's too trivial. I will revert the change (a76dc04). So you don't have to define MRB_DEFAULT_METHOD_MISSING by yourself.


Whenever there is a commit on the mainline, update the correct packages

When code is deployed to the mainline, there needs to be a GitHub action that will use Bard to deploy updated packages.
For example, if the Event Sourcing component is updated, the only package that should receive an update is the event sourcing package.

Could use splitsh or Bard if there are a few updates made.


Missing dataset to run the Time Series Forecasting Quick Start and In-Depth examples

Describe the issue linked to the documentation
The quick start and the in-depth for Time Series Forecasting give samples of code I am unable to run, because the necessary dataset is missing.
The documentation mentions that the required dataset (m4_hourly.csv) comes from the M4 Forecasting Competition, but it provides no instruction to download it. I have downloaded the dataset from Kaggle's M4 Forecasting Competition, but none of those files is suitable, and they don't work with the sample code: their content is very different from what is supposed to be, based on screenshots in AutoGluon documentation, e.g.

I have also looked in AutoGluon GitHub repo, and cannot find a file called m4_hourly.csv
Suggest a potential alternative/fix
You could provide instructions to download the required dataset m4_hourly.csv.
The issue would be less impactful  if you provided working examples for time series predictions in your GitHub repo, but I cannot find any. It would be good to have at least one of those (better if it exemplifies the use of multi-window backtesting too).

Yes that solved my issue. I had overlooked the "Details" with the little arrow. Thank you.


added ,escape option which fixes #17

provides safety when serialising data with  \ and " in.
New EscapeString type to help with the former when creating SliceEncoder directly - otherwise you can pass ,escape option on your struct fields.
Fixed a lot of vet warnings that have started being raised around unsafe.Pointer since the last release.
Added WriteString to buffer to support previous.

merging for a new use-case internally.


doc: Documentation issue in 'samples/sensor/lsm6dso/README'

Typo in the Overview section of samples/sensor/lsm6dso/README.
Steps to reproduce the behavior:
Go to samples/sensor/lsm6dso/README
Look at the first sentence of the Overview section
Expected behavior:
The word "date" should be replaced with "data" in the first sentence of the Overview section.
Current text:
This sample sets the date rate of LSM6DSO accelerometer and gyroscope to 12.5Hz and enables a trigger on data ready. It displays on the console the values for accelerometer and gyroscope.
Corrected text:
This sample sets the data rate of the LSM6DSO accelerometer and gyroscope to 12.5Hz and enables a trigger on data ready. It displays on the console the values for accelerometer and gyroscope.
Environment:

Page: samples/sensor/lsm6dso/README
Version: main
SHA-1: a43009079f6670ef1085603b0474d147ffdb76f4

Thanks for reporting! If you could send a PR it could be great. I wouldn't be surprised if other instances of "date rate" exist elsewhere so maybe do a global search:)


[resotocore][feat] Resoto Snapshots: support graph copy

Description
GraphDB now supports creating a copy of it with a different name
To-Dos

[x] Add test coverage for new or updated functionality
[x] Lint and test with tox
[x] Document new or updated functionality (someengineering/resoto.com#XXXX)

Issues Fixed

Fixes #XXXX

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

Codecov Report
Patch coverage: 80.64% and project coverage change: -0.03 :warning:

Comparison is base (ecb4150) 88.99% compared to head (cd5909c) 88.96%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1559      +/-   ##
==========================================
- Coverage   88.99%   88.96%   -0.03%
==========================================
  Files          82       82
  Lines       12935    12956      +21
==========================================
+ Hits        11511    11526      +15
- Misses       1424     1430       +6

Flag
Coverage Δ

resotocore
88.96% <80.64%> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

...esotocore/resotocore/infra_apps/package_manager.py
73.15% <0.00%> (-0.32%)
:arrow_down:

resotocore/resotocore/db/async_arangodb.py
93.30% <33.33%> (-0.88%)
:arrow_down:

resotocore/resotocore/db/graphdb.py
94.14% <88.46%> (-0.21%)
:arrow_down:

resotocore/resotocore/__init__.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Autolister works by pure luck

Initialization order happens to be good, need to make the list function static and return it when needed to make sure it is initialized correctly.

Fixed by adding GetListNonConst function which has list as a static member


Elasticsearch connection error for BM25

For all BM25Search instatiations that use Elastic search, I'm getting the following error on both Ubuntu 18.04 and 20.04:
  File "/home/jaxball/anaconda3/envs/pytorch/lib/python3.7/site-packages/elastic_transport/_transport.py", line 334, in perform_request
    request_timeout=request_timeout,
  File "/home/jaxball/anaconda3/envs/pytorch/lib/python3.7/site-packages/elastic_transport/_node/_http_urllib3.py", line 199, in perform_request
    raise err from None
elastic_transport.ConnectionError: Connection error caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fb774790ed0>: Failed to establish a new connection: [Errno 111] Connection refused)

I simply replaced the hostname with http://localhost:9200 and index name with scifact. This fails for multiple files i.e. evaluate_bm25.py or train_bm25_hardnegs.py so I suspect my ES is not setup correctly. Any ideas how to fix this?

Looks like this is a duplicate of #4. For those with the same problem, check out the example of starting elasticsearch in BEIR.ipynb. Closing issue.


Webhook Trigger with dynamic parameters doesn't work

Hi,
I've encountered problem with Webhook Trigger With Dynamic Parameters.
When I'm trying to save Flow it prompts me with error message
 The response from API 'test-2ddynamic-5f1682ac231a8d2257-5f26430bdda5351998' operation 'GetWebhookResponseSchema' with status code '200' does not contain a valid OpenAPI schema object.
I'm using copy-pasted connector definition from this repo (https://github.com/weng5e/flow-connector-trigger/blob/master/connector-definition/5eDynamicParameter.swagger.json).
My api (also straight from this repo) is hosted under https://radiant-everglades-34403.herokuapp.com/index.html

Hi - were you able to get this working?

Is this working ? I couldn't populate any properties in the dynamic content


Add OpenShift-Pipelines to fips-assessments tasks

Add Ansible tasks that can perform the following checks: https://github.com/opdev/fips-assessments/blob/main/openshift-pipelines/check.txt

Closing.


Youku.com : Unable to download JSON metadata

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-F', u'http://v.youku.com/v_show/id_XMTE0ODUxODA4.html']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2015.12.10
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-63946-g10012fa
[debug] Proxy map: {}
[youku] XMTE0ODUxODA4: Downloading JSON metadata 1
ERROR: Unable to download JSON metadata: [Errno 10054]  (caused by error(10054, '')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "youtube_dl\extractor\common.pyo", line 329, in _request_webpage
  File "youtube_dl\YoutubeDL.pyo", line 1884, in urlopen
  File "urllib2.pyo", line 431, in open
  File "urllib2.pyo", line 449, in _open
  File "urllib2.pyo", line 409, in _call_chain
  File "youtube_dl\utils.pyo", line 701, in http_open
  File "urllib2.pyo", line 1200, in do_open
  File "httplib.pyo", line 1132, in getresponse
  File "httplib.pyo", line 453, in begin
  File "httplib.pyo", line 409, in _read_status
  File "socket.pyo", line 480, in readline

Duplicate of #7627. You may want to try my partly working version proposed at https://github.com/rg3/youtube-dl/issues/7627#issuecomment-163850594.


refactor: update APN sample to reflect new SDK docs changes

I proposed changes to our SDK docs to increase the stability of opened push metrics for customers installing the RN SDK.
This PR modifies the sample apps code to reflect the code snippets in the SDK docs PR.
todo

[ ] QA test the sample apps to verify SDK features continue to work with these changes.

@levibostian Since you've updated FCM sample as well, I suggest we update PR title to reflect both apps e.g.
refactor: update samples to reflect SDK docs changes

@mrehan27 @ami-aman, this PR is coupled with this docs PR. I don't plan on merging this until that PR gets merged.
Could you review that PR, too?


test: remove timeouts shorter than default from QueryScheduler.spec.js

This PR also includes:

Do not silence rejected promises.
Removed spec timeouts smaller than default timeout.
Added script to run QueryScheduler.spec.js.
Fixed indentation.

@chriddyp  Could you review this PR, please?

a lot cleaner 😸  💃


mime/multipart: Doesn't sort headers before writing.

Problem: The Writer.CreatePart func in mime/multipart doesn't sort before writing headers.
Proposed solution is to obviously sort them and write them in the sorted order, allowing things like unit tests to accurately check if the resulting document is valid.
This is clearly a known issue as the source code has a comment stating this (https://golang.org/src/mime/multipart/writer.go#L97)
    97		// TODO(bradfitz): move this to textproto.MimeHeader.Write(w), have it sort
    98		// and clean, like http.Header.Write(w) does.
    99		for k, vv := range header {
   100			for _, v := range vv {
   101				fmt.Fprintf(&b, "%s: %s\r\n", k, v)
   102			}
   103		}

cc: @bradfitz

I'm happy to create the patch to fix this, but I understand the stdlib is not accepting changes, I could implement the sort in mime/multipart if required.

Feel free to fix this. It can't be submitted until early February, though, so no rush.

@bradfitz With the new public Write fund?

No new API surface.

Submitted to Gerrit as: https://go-review.googlesource.com/#/c/17497/


Auto-generate aliasPrefix like browser extension

The safari/iOS extension from the share sheet currently has a popup where you can type a prefix to create the new alias. The iOS version should function the same as the browser extension where it will automatically generate the aliasPrefix from the hostname and signedSuffix and pre-fill the form for you.

Adding the createRandomAlias function would be great too, but maybe better a separate issue.

@bradenglund currently the Safari extension uses a different codebase and we plan to use the same Chrome/Firefox extension for Safari now that Safari (finally) supports the web extension API. In the next version, it's going to behave the same as Chrome/Firefox extension :)

The share extension can now extract the hostname from the URL. It will also try to ignore "www" to pre-fill a meaningful hostname. A new release will be available very soon.


Fix/185- Edit educators and volunteer

Describe the bug
After meeting with the NGO it has been commented the need of the administrator to be able to edit the profile of volunteers and educators as well as showing all the info from them when clicking on a card were the info it is located
Expected behavior
The NGO expects that the previous functionality it is implemented and working
Additional context
For the edit you can add a button as it is done with the trash for deleting

Story Points: 5
See the discussion in Frontend S3 v2
Powered by Parabol


Add DNS configuration doc, FAQ, link to DNS doc [#172023905]

https://www.pivotaltracker.com/story/show/172023905

@JacobLNewton @johncornish let me know if my edits are acceptable and whether this content can be pushed live now

@seviet Looks good to me. Let's merge it!


Outdated terminology in the paragraph: "Dataverse".

In the paragraph Dataverse appears: "Common Data Service" instead of: "Dataverse". This can be confusing for users who have not worked with older versions of Dataverse, or are not familiar with the history of terminology changes

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

ID: 2adb9b7d-1922-2d8f-11db-eaa4e6b22547
Version Independent ID: 03ebcdf5-c4c4-a6e2-7abd-ed168b08d48c
Content: Power Apps architectural design - Where to place logic - Power Apps
Content Source: powerapps-docs/guidance/planning/logic.md
Service: powerapps
Sub-service: guidance
GitHub Login: @taiki-yoshida
Microsoft Alias: tayoshi

Thanks for your comment, @MaciejPokrzywinski. This issue has been assigned to the doc author for review.

@MaciejPokrzywinski - Thank you for your feedback. The article has been updated to reflect the correct platform name.
Closing issue.


Trigger onOpen/afterInit event for inline calendar

Hi!
I wonder if there is any way to trigger onOpen event for inline calendar.
Currently, I need to add class name for current week's day and update block outsider from calendar right after init, but have calendar to be showed (inline) by default.
But, inline calendar didn't fire 'onOpen' event.
Can you tell me if there is some method which is triggered after initialization for inline calendar? Or, maybe, you can add something like 'afterInit' event globally to code, because inline calendar don't trigger anything after init.
Thank you for your time!

I think, I found the way.
I've used this code:
var calendar = flatpickr('.calendar', {
  dateFormat: 'd-m-Y',
  allowInput: true,
  clickOpens: false,
  inline: false,
  static: true,
  onOpen: function (dateObj, dateStr) {
    console.log('----', this)
  },
  onChange: function(dateObj, dateStr) {
    console.log(dateObj, dateStr);
    console.log(this)
  }
});

calendar.open();

* I added these options: clickOpens, inline and static + .open() after that.
But if this is the best way for firing onOpen event?..

Upd: code above is a bad idea because click on anything around will hide calendar.
So the first question is still actual: is it any way to trigger 'afterInit' event?..

Hello,
I will add an onReady event

Hello.
Thank you.
But now localisations is broken)
And... is it any way to put calendar right after input element like before?.. Not bottom of the page.
And one another question: is it possible to give ability to change hours/minutes with external elements? For example: click on arrows top/bottom from hour input should change hours and trigger update on base input element (update target value).
For now even if I'll use wheel to change hours/minutes no events triggers (only when I'll focus out inputs). Is it possible to trigger something like "update_value_from_calendar" event manually?..

Hello.
Thank you! You're really fast!
But now localisations is broken)

Yeah, that's from the upcoming shiny new version of flatpickr. Not too far from release :sunflower:

And one another question: is it possible to give ability to change hours/minutes with external elements?

Yes
https://jsfiddle.net/chmln/a94jsq4z/

For now even if I'll use wheel to change hours/minutes no events triggers (only when I'll focus out inputs). Is it possible to trigger something like "update_value_from_calendar" event manually?..

The change event won't trigger unless a date is selected and the date differs from the previous. flatpickr v2.0 already has an exposed event API where you can trigger events yourself if you want


README: Recommend installing git instead of GitHub Desktop.

As the GitHub app doesn't add git to PATH.

Sure, although we should consider adding in a pointer to github desktop and how to get git on your path if folks want to use this in the future.
Lets get this merged in.

Yeah, but adding stuff to path takes several steps that might or might not change in different Windows versions. Might be easier to just indicate to users to install both, since they don't clash.


Maven repository

I would use this library in my project, but I couldn't find Maven reposity. Could you publish the artifact somewhere please (bintray or central maven repo)?

@proshin-roman I'll try to do that soon.

After giving it a though I decided to spend some more time and move everything to https://github.com/rollbar/rollbar-java.


We need to decide on how to guide users migrating from v1 -> v2.

We need to decide on how to guide users migrating from v1 -> v2.
Options include:

Migrate the nuvlabox resource (and related resources)
Put a warning saying that the migration can only be done by hand and not from the UI.

Other options?
Originally posted by @mebster in https://github.com/nuvlabox/deployment/issues/48#issuecomment-852062554

Current process

update the NB as usual (through the UI, v1 to v2)

it will work, but the agent will start complaining about schemas, and the NB will lose its hearbeat

manually change the NB status schema to remove obsolete attributes, i.e.curl -XPUT https://nuvla.io/api/nuvlabox-status/<uuid>?select=swarm-node-id,comment,docker-plugins ...

as an admin, update the nuvlabox-status and change version from 1 to 2
to be consistent, even though it doesn't seem to cause any errors, do the same on the nb resource

How to automate?

[x] seems to be working fine
[ ] only admin or the NB can change the nb-status. We could either: 1) backport the old schema attributes into the new schema, just to keep it compatible, or 2) add boilerplate code to the NB agent to remove those obsolete attributes
[ ] maybe the NB could also update?
[ ] this is a problem, because the version can not be updated by neither the user nor the NB, only admin...how to do it?

automation work started in https://github.com/nuvla/api-server/issues/507


feat: Avoid gradient background results when single input is provided.

Fixes Issue
**My PR closes #430 **
👨💻 Changes proposed(What did you do ?)

Do not show the result screen if only a single input is entered.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title and description of the PR is clear and explains the approach.

Note to reviewers
The previous PR related to this issue was closed. Despite that, the Gradient background result screen was still visible even if the user entered only one input color. I have addressed this problem in this new PR.
📷 Screenshots
https://github.com/Dun-sin/Code-Magic/assets/61418965/cba1f479-71da-41f0-9591-c648c9fcf197

@saakshiraut28 i didn't say remove it, i just use what we already have instead of reinventing the wheel, if you do want to remove the code, i will just close the PR

@Dun-sin, I think removing it would be better.


v6 not injecting any style tag in test environment

Environment
## System:
 - OS: macOS 13.4
 - CPU: (10) arm64 Apple M1 Max
 - Memory: 487.28 MB / 64.00 GB
 - Shell: 5.9 - /bin/zsh
## Binaries:
 - Node: 18.16.0 - /private/var/folders/.../node
 - Yarn: 3.6.0 - /private/var/folders/.../yarn
 - npm: 9.5.1 - ~/n/bin/npm
 - pnpm: 8.6.5 - ~/n/bin/pnpm

Reproduction
Repo https://github.com/domarmstrong/styled-components-v6-repro
Sandbox https://codesandbox.io/p/sandbox/styled-components-6-cloud-forked-q2m4pm
Steps to reproduce
See reproduction.
It works fine in a non-cloud version of the same sandbox https://codesandbox.io/s/styled-components-6-kqszxg. But fails when run in the cloud version linked above.
Note: the reproduction env is abstracted by react-scripts. However our application uses jest/jsdom env directly with the same behavior, so this issue should not be related to that setup.
Expected Behavior
When running in jest with jsdom a <style> tag is added to the document head.
Actual Behavior
When running in jest with jsdom no style tag is inserted.

I've had a further dig in to this and it appears to be because when running in Jest the dist/styled-components.cjs.js is used, and when built with webpack the ./dist/styled-components.browser.esm.js (or cjs) files are used. The styled-components.cjs.js is compiled to have a hardcoded value that isServer is true. Presumably, this should still be a runtime check, not a static value.
https://github.com/styled-components/styled-components/blob/8e4b064a9001dc32495f9c77f0334a9b527a0bf7/packages/styled-components/src/sheet/Sheet.ts#L23
styled-components.cjs.js
  ve = { isServer: !0, useCSSOMInjection: !f },

styled-components.browser.esm.js
  f = 'undefined' != typeof window && 'HTMLElement' in window,
  Ee = { isServer: !f, useCSSOMInjection: !y },

I've managed to get this working by adding a manual mapping in our jest config file. This wasn't previously required and I'm not sure it's very intuitive.
jest.config.js
  ...
  moduleNameMapper: {
    'styled-components': 'styled-components/dist/styled-components.browser.cjs.js',
  },
  ...

Thanks @domarmstrong
Replicated the issue in a fairly clean repository using the testing library which is using jsdom:
https://github.com/dejanvasic85/jest-styled-components
Your jest config fixes the problem for the moment. Great find 👍 🔥

apparently this issue also happened on v5.2.0
https://github.com/styled-components/styled-components/issues/3262

This solution negates the use of Jest Styled Components which helps with snapshot testing. Class names are always changing in the snapshots, but we're expecting the styles to be rendered at the top which is the responsibility of this tool. 😢


Manage dependencies with godep

As described in issue #908, here's a PR to manage dependencies via godep.
See syncthing and pgweb for two other projects that use godep.

Personally I'm not keen on the idea of including the source of dependencies in VCS, as is what happens with godep. Glide appears to be an alternative, that doesn't rely on this.

Thanks, but I really don't like having to check in all the dependencies. Is it a hard requirement of Godeps? That's really strange to me since most other dependency tools I have used only tell you to maintain a single file specifying the dependencies. (e.g. pom.xml, Gemfile, project.clj, Cargo.toml, etc.)
Another thing I'd like to mention is that I would like to keep backward compatibility of build scripts, i.e. I don't want to care about GOPATH, I just want to git clone the repo and cd src && make install to get the binary.
I'll see if Glide fits the use case.

Closed by #934. Thanks.


fix: build error on android

Why
hey @dominicstop, thanks for the amazing lib!
my PR is for fix build errors on Android, some reason:

I noticed that will cause build errors if haven't overridden kotlinVersion,
default kotlinVersion is too old.

got a build error just like this:

my work related to PR: https://github.com/nandorojo/zeego/pull/27 and https://github.com/react-native-menu/menu/pull/474
How

add a Gradle wrapper to support.
upgrade default kotlin and SDK versions.

I also had this same issue and your fixes worked for me. I had to manually patch my version. Thank you.

closed because it was merged


Add Yi Hong's details

Closes https://github.com/AY2223S1-CS2103-F14-1/tp/issues/5
TODOs

[ ] Add responsibilities

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (e9b5b54) compared to base (975fcca).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #13   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

LGTM! Good job!


Editing

Fixed search bar, worked on favorites (fav tables is being created still no display due to route issue), changes css


Usage of '…' (unicode  U+2026) vs '...' (three periods) inconsistent in output strings and generates garbage characters in Jenkins log.

Issue description
This is mainly a cosmetic issue.
The presence of three dots ( U+2026 vs three ASCII periods) is inconsistent througout the code base (I would guess due to code editors "helping" developers with automatic punctuation conversion).
Our Jenkins pipeline does not handle this well and outputs messages like this:
Installing dependencies from Pipfile.lock (c4c2a5)���
Expected result
Three periods instead of the unicode character for consistency in string output messages from pipenv are preferable to avoid garbage characters in Jenkins or other pipline service logging.
Actual result
Example:
This is what shows up in the console output from a job in our  Jenkins pipeline:
Installing dependencies from Pipfile.lock (c4c2a5)���
Steps to replicate
Just run pipenv commands that generate ouput of the problematic strings through a Jenkins job and look at the console output.

$ pipenv --support
$ pipenv --support
Pipenv version: '2020.8.13'
Pipenv location: '/usr/local/lib/python3.6/site-packages/pipenv'
Python location: '/usr/local/bin/python3.6'
Python installations found:

3.7.3: /usr/bin/python3
3.7.3: /usr/bin/python3.7
3.7.3: /usr/bin/python3.7m
3.6.12: /usr/local/bin/python3
3.6.12: /usr/local/bin/python3.6
3.6.12: /usr/local/bin/python3.6m

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.12',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '3.10.0-1127.13.1.el7.x86_64',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP Tue Jun 23 15:46:38 UTC 2020',
 'python_full_version': '3.6.12',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

HOSTNAME
JAVA_HOME
PWD
HOME
LANG
LS_COLORS
ZAP_PATH
TERM
DISPLAY
SHLVL
GIT_COMMIT
LC_ALL
PATH
DOCKER_API_VERSION
DEBIAN_FRONTEND
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv?specific environment variables:
Debug?specific environment variables:

PATH: /usr/lib/jvm/java-8-openjdk-amd64//bin:/zap/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG: C.UTF-8
PWD: /cave

Pipfile and Pipfile.lock do not matter for this issue

The inconsistency is an issue, but the garbage output is a Jenkins configuration problem (you likely have the encoding configured incorrectly somewhere) and should be fixed accordingly.

Unfortunately these Jenkins services are managed by our IT department and they don't like to change anything unless it is a system breaking problem.

I am OK with the improvement, looking forward to a PR.


Error: ENOENT: no such file or directory, open '/ssl/key.pem'

internal/fs/utils.js:230
throw err;
^
Error: ENOENT: no such file or directory, open '/ssl/key.pem'
at Object.openSync (fs.js:461:3)
at Object.readFileSync (fs.js:363:35)
at Object. (/home/shahnawaz/Downloads/mediasoup-sfu-webrtc-video-rooms-master/src/app.js:13:13)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/ssl/key.pem'
}
[nodemon] app crashed - waiting for file changes before starting...
I am getting this error.
I am attaching the screenshot of project structure

. Kindly check it.

Thank you for the comment.
The issue got fixed in https://github.com/Dirvann/mediasoup-sfu-webrtc-video-rooms/commit/a8c45fe5b1fb30e483a1a73d7917683a0a4684e6.

Is this project SFU simulcast?

Yes it is


Updates the CHANGELOG for the next version

Also includes the CHANGELOG entry for #2621

          1 Error

:no_entry_sign:
You need to set the App’s plist version to 4.2.0 - use make update_bundle_version

  Generated by :no_entry_sign: Danger

Merge on green.


Fixed calendar timezones & prettified events

Should fix the timezone issue, and possibly scrolling of events as well.

If I'm not mistaken snelhest1337 is working a bit on this pr still. We got some conflicts now that I merged another PR so it would be awesome if you could check out and resolve those conflicts and see if everything is working as intended@snelhest1337

On it!
On Mon, Sep 6, 2021, 12:41 Lukas Gustavsson @.***>
wrote:

If I'm not mistaken snelhest1337 is working a bit on this pr still. We got
some conflicts now that I merged another PR so it would be awesome if you
could check out and resolve those conflicts and see if everything is
working as @.***
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fsek/App2/pull/58#issuecomment-913545219, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOK3WVJP3KWG2UB4LWGXIHDUASLEBANCNFSM5DCDMZZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

related to #61