Unstable Internet Causing Codeium To Not Work

To start, I know very little about internet related connections and issues. But I do have an unstable internet connection where certain types of connection, specifically github, pypi, and apparently codeium, are the only connections I am unable to connect to and work with. I assume they require a 'perfect' and stable internet connection.
Here are my specific codeium errors: the chat window either stays stuck and says 'Loading', or it loads but it says 'retry connection' so when i type text and press enter it just goes to a new line in the text field instead of sending the message:
'''
Starting language server
Codeium Extension for Visual Studio
Language Server: I1217 13:36:37.685629 14508 main.go:539] Starting language server manager with pid 14508
Language Server: I1217 13:36:37.687141 14508 main.go:107] Manager acquired its lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/manager.lock
Language Server: I1217 13:36:37.695753 14508 main.go:245] Waiting for random port file in C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/child_random_port_1702848997687141400_3304693970854226442 to be created
Language Server: I1217 13:36:37.789557 17080 main.go:533] Starting language server process with pid 17080
Language Server: I1217 13:36:37.986477 17080 server.go:532] Successfully created API server client
Language Server: I1217 13:36:37.992638 17080 server.go:538] Successfully created API streaming client
Language Server: I1217 13:36:38.055563 17080 server.go:547] Successfully initialized tokenizer
Language Server: I1217 13:36:38.056017 17080 unleash.go:95] Initializing Unleash
Language Server: I1217 13:36:40.118435 17080 unleash.go:115] Successfully initialized Unleash
Language Server: I1217 13:36:40.118435 17080 search_provider.go:156] Using database at C:\Users\Owner\AppData\Roaming.codeium\database/1/MODEL_EMBED_6591
Language Server: E1217 13:36:40.148251 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/register": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:36:40.148251 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: I1217 13:36:40.187706 17080 search_provider.go:168] Successfully created embedding search database
Language Server: I1217 13:36:40.188707 17080 search_provider.go:214] Successfully created embedding search provider
Language Server: I1217 13:36:40.188707 17080 server.go:613] Successfully created exact search provider
Language Server: I1217 13:36:40.638616 17080 server.go:634] Successfully created completion provider
Language Server: I1217 13:36:40.638616 17080 server.go:672] Child process attempting to acquire lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/child_lock_1702848997687141400_5196452515966027005
Language Server: I1217 13:36:40.640048 17080 server.go:682] Child process acquired lock file C:\Users\Owner\AppData\Local\Temp\a5zcolqw.svq/locks/child_lock_1702848997687141400_5196452515966027005
Language Server: I1217 13:36:40.652917 17080 server.go:341] Language server will attempt to listen on host <IP_ADDRESS>
Language server started on port 55238
Language Server: I1217 13:36:40.653915 17080 server.go:385] Language server listening on random port at 55238
Language Server: I1217 13:36:40.656195 17080 web_server.go:271] Chat Client file server listening at https://<IP_ADDRESS>:55240
Language Server: I1217 13:36:40.661414 17080 web_server.go:229] Chat Web Server listening at ws://<IP_ADDRESS>:55239
Language Server: I1217 13:36:40.749318 14508 main.go:281] Language server manager found random server port 55238
Language Server: I1217 13:36:40.749318 14508 main.go:282] Language server manager found random lsp port 42101
Language Server: I1217 13:36:40.749318 14508 main.go:289] Language server manager attempting to connect to language server at <IP_ADDRESS>:55238
Language Server: I1217 13:36:41.039115 14508 main.go:160] Fixing language server port at 55238
Language Server: I1217 13:36:41.039115 14508 main.go:340] Language server manager successfully connected to new language server at <IP_ADDRESS>:55238
Language Server Controller: Connected to ws://<IP_ADDRESS>:55239/connect/ide
Language Server: E1217 13:37:40.064986 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:37:40.064986 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/metrics": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:38:40.061279 17080 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1217 13:38:40.061279 17080 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/metrics": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
'''
Is it possible to make codeium work with unstable connections? How does all the other websites and servers do it since they all work except the websites and servers I mentioned. Is this requirement for a stable connection a codeium preference that can be changed to accept unstable connections? Codeium live also seems to have an issue with unstable connections as it constantly resets the chat to the beginning every few seconds (i assume its due to my unstable connection).
I have a lot of what i assume to be spaghetti code and beginner level code that i would like codeium to help me in 'refactoring'.

Hello, sorry to hear about the connection issue, has this been a persistent problem? Can you connect to the URL https://unleash.codeium.com/api/client/features using your browser? Also, have you tried to use a VPN?

I have same problem!
Via VPN i can open https://unleash.codeium.com/api/client/features in browser but in VS does not change

Hey @AliShahesmaeili, would you mind helping us troubleshoot this problem?
Please kindly remove the --detect_proxy=false on LanguageServer.cs line 534, then build the extension using this guide and double click the .vsix file to install it. Alternatively, you can use my build instead: Codeium.zip.
Please make sure to uninstall the existing extension before installing the new one. After that, turn on the VPN to see if that works for you. Thanks!

Hello, sorry to hear about the connection issue, has this been a persistent problem? Can you connect to the URL https://unleash.codeium.com/api/client/features using your browser? Also, have you tried to use a VPN?

I see: error:  "Not allowed to access"
I am using a VPN but the connection is unstable reconnecting every few sec or min. The unstable connection comes from the VPN but i don't know i this issue is the VPN or unstable connection.

I see: error: "Not allowed to access"

That's normal, it means you can connect to the server, would you mind following the post I commented above and installing that version of the extension to see if the problem goes away?

I see: error: "Not allowed to access"

That's normal, it means you can connect to the server, would you mind following the post I commented above and installing that version of the extension to see if the problem goes away?

Wow that works. Now I can 'code' like a pro. Thank you.

Hello, sorry to hear about the connection issue, has this been a persistent problem? Can you connect to the URL https://unleash.codeium.com/api/client/features using your browser? Also, have you tried to use a VPN?

I see: error: "Not allowed to access"
I always have connection issue with github and pypi and can never download anything from these sites through cmd prompts or anything that uses github or pypi. I have to download things manually or from other sources.
I am using a VPN but the connection is unstable, reconnecting every few sec or min. The unstable connection comes from the VPN but i don't know if this issue is the VPN or unstable connection in any of the cases.

Yes it works now with VPN when i remove the --detect_proxy=false

I assume this problem is considered fixed and closed? I would close it but ill leave it to the veterans.

Can you tell me what the issue was? It might help me help others figure out what is wrong with the other connections (sites /servers).

For some reasons your internet connection can't reach Codeium server and it requires you to use a VPN. But --detect_proxy=false prevented the language server from using the proxy hence you can use your browser but not the extension.

I assume this problem is considered fixed and closed? I would close it but ill leave it to the veterans.

Please leave it opened for now until the connection issue is fully fixed

This will be investigated and hopefully you wouldn't need a VPN to use Codeium. Sorry for the inconvenience!

We will investigate this further and hopefully, you won't need a VPN to use Codeium. Sorry for the inconvenience!

I have no internet without VPN so i actually need to use a VPN to be able to use codeium. So the solution / vsix you provided works perfectly for my specific VPN issue. But again i dont know if the issue was the VPN itself or it unstable connection.

@AliShahesmaeili @dadadies
Hey, sorry for the ping, PR #36 has added an option to enable proxy and it should be visible in Tools > Options > Codeium. It is disabled by default so kindly enable it from there.
Please uninstall that custom-build vsix and install the extension from the marketplace to ensure it's always up-to-date! Thanks!

I installed from the marketplace and enabled language proxy server. But i still get a connection error:
Starting language server
Codeium Extension for Visual Studio
Language Server: I1222 10:33:02.195758 12880 main.go:538] Starting language server manager with pid 12880
Language Server: I1222 10:33:02.197323 12880 main.go:107] Manager acquired its lock file C:\Users\Owner\AppData\Local\Temp\wl52khjk.d1r/locks/manager.lock
Language Server: I1222 10:33:02.208247 12880 main.go:245] Waiting for random port file in C:\Users\Owner\AppData\Local\Temp\wl52khjk.d1r/child_random_port_1703269982197323100_3490000958135274720 to be created
Language Server: I1222 10:33:02.293607 11144 main.go:532] Starting language server process with pid 11144
Language Server: I1222 10:33:02.418393 11144 proxy.go:113] proxyplease.proxy> No proxy provided. Attempting to infer from system.
Language Server: I1222 10:33:02.430599 11144 proxy.go:113] proxyplease.proxy> Inferred proxy from system: http://<IP_ADDRESS>:60280
Language Server: I1222 10:33:02.430599 11144 client.go:589] [DEBUG] GET https://server.codeium.com/exa.api_server_pb.ApiServerService/GetCompletions
Language Server: I1222 10:33:02.765673 11144 proxy.go:94] proxyplease.connect> Proxy successfully established. No authentication was required.
Language Server: I1222 10:33:03.453343 11144 transport.go:27] Successfully dialed proxy
Language Server: I1222 10:33:03.539500 11144 server.go:532] Successfully created API server client
Language Server: I1222 10:33:03.539500 11144 transport.go:27] Successfully dialed proxy
Language Server: I1222 10:33:03.556167 11144 server.go:538] Successfully created API streaming client
Language Server: I1222 10:33:03.817627 11144 server.go:547] Successfully initialized tokenizer
Language Server: I1222 10:33:03.817627 11144 unleash.go:95] Initializing Unleash
Language Server: I1222 10:33:05.866586 11144 unleash.go:115] Successfully initialized Unleash
Language Server: I1222 10:33:05.866586 11144 search_provider.go:156] Using database at C:\Users\Owner\AppData\Roaming.codeium\database/1/MODEL_EMBED_6591
Language Server: E1222 10:33:05.922924 11144 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1222 10:33:05.922924 11144 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/register": dial tcp <IP_ADDRESS>:443: i/o timeout (Client.Timeout exceeded while awaiting headers)
Language Server: I1222 10:33:06.032569 11144 search_provider.go:168] Successfully created embedding search database
Language Server: I1222 10:33:06.033859 11144 search_provider.go:214] Successfully created embedding search provider
Language Server: I1222 10:33:06.033859 11144 server.go:613] Successfully created exact search provider
Language Server: I1222 10:33:06.232201 11144 server.go:634] Successfully created completion provider
Language Server: I1222 10:33:06.232201 11144 server.go:672] Child process attempting to acquire lock file C:\Users\Owner\AppData\Local\Temp\wl52khjk.d1r/locks/child_lock_1703269982198827900_7488561739610933746
Language Server: I1222 10:33:06.233201 11144 server.go:682] Child process acquired lock file C:\Users\Owner\AppData\Local\Temp\wl52khjk.d1r/locks/child_lock_1703269982198827900_7488561739610933746
Language Server: I1222 10:33:06.262684 11144 server.go:341] Language server will attempt to listen on host <IP_ADDRESS>
Language server started on port 62343
Language Server: I1222 10:33:06.263725 11144 server.go:385] Language server listening on random port at 62343
Language Server: I1222 10:33:06.265068 11144 web_server.go:271] Chat Client file server listening at https://<IP_ADDRESS>:62345
Language Server: I1222 10:33:06.267066 11144 web_server.go:229] Chat Web Server listening at ws://<IP_ADDRESS>:62344
Language Server: I1222 10:33:06.297212 12880 main.go:281] Language server manager found random server port 62343
Language Server: I1222 10:33:06.297212 12880 main.go:282] Language server manager found random lsp port 42101
Language Server: I1222 10:33:06.297212 12880 main.go:289] Language server manager attempting to connect to language server at <IP_ADDRESS>:62343
Language Server Controller: Connected to ws://<IP_ADDRESS>:62344/connect/ide
Language Server: I1222 10:33:06.577848 12880 main.go:160] Fixing language server port at 62343
Language Server: I1222 10:33:06.577848 12880 main.go:340] Language server manager successfully connected to new language server at <IP_ADDRESS>:62343
Language Server: E1222 10:34:05.833654 11144 unleash.go:56] Unleash error: Get "https://unleash.codeium.com/api/client/features": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Language Server: E1222 10:34:05.833654 11144 unleash.go:56] Unleash error: Post "https://unleash.codeium.com/api/client/metrics": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Whatever was in the 'custom-build vsix' made codeium work when you uploaded it. However even the custom-build vsix doesn't work anymore. [This could be a lost cause. My situation is a bit unusual as I using an unknown VPN to have internet access and they might be doing unusual things that are interfering with github, pypi, and codeium. These 3 must be doing something similar to have the similar issues. Additionally my VPN doesn't allow peer-to-peer and who knows what else. I only have these issues when I am using this VPN. When i use public wifis i have no issues. That said the custom-build vsix did work for a moment so I know its possible to fix the issue.]

It looks like the setting did in fact work as proxyplease successfully found the proxy defined by the VPN and is using it. Not sure there's much else we can do unfortunately.

I have found that occasionally i can use Codeium if I use a token. But normal signin doesn't. Its spotty but it works when it works.


bug: handle does not show before first click

When reordering ingredients and instructions, the handle does not show initially, but it still works. After the first click it shows correctly.

Hello, I tried to solve the issue.
This is what I did:
Modified the EditIngredientsList component to ensure the drag handle (IconMenu) is always visible by moving it outside the Menu component.
You can review changes in this commit: https://github.com/lattaai12/sirisayshello-recipe-declutter-239/commit/8c2d912e409462c64ffb55bbaaddc187a996372d.

[!CAUTION]
Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


Shell Command Not working through Fastfile

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I read the Contribution Guidelines
[ ] I read docs.fastlane.tools
[ ] I searched for existing GitHub issues

Issue Description
I am trying to copy file from one folder to another folder using shell commands but we couldn't able to do this operation. Below is the command which we are trying it out. Could you please help me whether I am doing something wrong here.
[INSERT OUTPUT HERE]
sh("cp Sample\ Source\ Directory/Sub\ Directory/GoogleService-Info.plist Sample\ Destination\ Directory")
[INSERT OUTPUT HERE]
[11:59:53]: Exit status of command 'cp ./FireBase\ Config\ Files/Educational\ Networks\ Mobile/GoogleService-Info.plist ./Educational\ Networks\ Mobile' was 1 instead of 0.
cp: ./FireBase Config Files/Educational Networks Mobile/GoogleService-Info.plist: No such file or directory
Thanks,
Giribabu R

Sh in fastlane uses the fastlane/ folder as root.  Change to cd ../Sample

yea, in fastlane every action used root folder except sh action. I believe this is something that should be fixed. Here is my thoughts:
Pros:

consistency
less errors in scripts like sh "do_something_and_put_to #{ENV['GYM_OUTPUT_DIRECTORY']}"
no need to use cd .. &&  to run from root folder

Cons:

need to update existing code
longer line for scripts located in fastlane dir


KEP: Fetch latest version of k8s components using poller.Poller

Tasks description
need to remove the default k3s version and it will be taken care by the client
Issues
Completed Issue(s)

Fixes #326

Solution
Sub-Tasks

[ ] milestones or sub-task which needs to be coverted

Note to reviewers

[ ] Ran Tests locally
[ ] Checked Contribution's guidelines

Need to store the version of the etcd, haproxy, k3s and kubeadm ot the state

Though the refactoring of the test suite of the cloud provider was not needed, nevertheless it improves the code refactoring ;)


Youtube Bookmarker Chrome extension

User can bookmark timestamp of youtube videos and play videos from that point whenever needed. User can also delete bookmarks. It saved the timestamp with video. User can bookmark multiple timestamp from different videos.
hey @Sulagna-Dutta-Roy , please assign this issue to me.

Hello @jinx-vi-0  please raise the issue using 'feature request'


BSC deployment is failing with "× Failed to deploy to Graph node https://api.thegraph.com/deploy/: Ethereum nodes for network bsc are missing the following capabilities: archive, traces"

Do you want to request a feature or report a bug?
bug
What is the current behavior?
deployment to bsc network always failed with
× Failed to deploy to Graph node https://api.thegraph.com/deploy/: Ethereum nodes for network bsc are missing the following capabilities: archive, traces

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
just deploy anything to bsc network
What is the expected behavior?

Err... I tried to call_handlers, which are not supported by bsc (as they are using geth, and we require openethereum nodes for call_handlers or filters on block_handlers)


Support for multiple implementations of global helper functions

Fixes #1753
Description
This PR adds support for extension to override implementations of global helper functions.
Testing
Add test where sample extension implements bpf_get_current_pid_tgid
Documentation
NA.

Why this implementation instead of the one we discussed on the call?  It looks like this makes global helper functions themselves be per program type not global, whereas the implementation we discussed keeps them global and runtime-efficient.

Why this implementation instead of the one we discussed on the call? It looks like this makes global helper functions themselves be per program type not global, whereas the implementation we discussed keeps them global and runtime-efficient.

Hi Dave,
I think the new approach is more runtime-efficient as

extensions do not have to pre-calculate the values for each helper function they want to override. In case of sock_addr, the 3 new helper functions will be global, so it has to pre-calculate 3 results for each program invocation.
It saves some cycles by not invoking a wrapper helper function first, and then based on whether extension provided the result, invoke the default helper function.

This approach is also more generic as it allows extensions to implement any of the global helper functions. If the extension does not implement a global helper function, the default global helper function will be invoked.
We had discussed the following in the meeting:

Have a global helper function wrapper in ebpfcore for each of the helper function we want to override.
If extension has provided result, use that. Else, fall back to default behavior.

If we want to have the approach of having a wrapper function implemented for the global helper functions, wrapper functions will need to be added in ebpfcore for each helper function, and a common wrapper function will not work (as we won't know the helper ID of the helper function being invoked). In this approach also, I think invoking the actual extension's helper function is more efficient than extension precomputing all the values. The one benefit I see of having a wrapper function (against the approach used in this PR) is that if the helper function does not take ctx as input, we can still pass the ctx to the extension's helper function.
If we want to allow only some pre-selected helper functions to be overridable, we can change the logic in this PR to allow extensions to provide implementations for only those pre-selected helper functions and can have either of the following:

Directly provide the address of extension's helper function in resolve_helper_addresses
Have a wrapper function implemented and through that invoke the extension's helper function.

I had briefly discussed the approach in this PR with @Alan-Jowett also.

extensions do not have to pre-calculate the values for each helper function they want to override. In case of sock_addr, the 3 new helper functions will be global, so it has to pre-calculate 3 results for each program invocation.

That's not what we discussed, we discussed only having to pre-calculate one thing (the token access info) for all three.

It saves some cycles by not invoking a wrapper helper function first, and then based on whether extension provided the result, invoke the default helper function.

That's not what we discussed, we discussed having the common helper function always do the same thing using the stored token access information.
I agree that it has the properties you mention, but so does the implementation we discussed so I think this does not save anything by comparison in those two respects.


KE-42943 CDP 7.7.1 support hive client 3.1

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Spark UT


[Enhancement] Refactor code to parameterize model selection

Refactor code to parameterize model selection; add Roberta and XLNet support.
(https://github.com/tigerlab-ai/tiger/issues/4)

LGTM!


Just two questions

Why is num_deques two times as great as nums_thread?
Could you provide details about Coupon collector's problem in this context?

The Coupon collector's problem says that you need approximately nlog(n) samples before you will have touched every element at least once. This holds whp. So for n deques, if a processor does nlog(n) steal attempts, then it is very likely that the processor will have inspected every deque at least once. The implementation here hardcodes 100n because in practice log(n) is much smaller than 100.
I don't remember why the scheduler sets num_deques = 2 * num_threads... and I don't see in the code where the extra deques are used. Perhaps @gblelloch can comment?

Your comment on coupon collector's problem makes sense. Thank you.


fretboard: 6.1 -> 7.0

Description of changes
https://github.com/bragefuglseth/fretboard/releases/tag/v7.0-fixed
https://github.com/bragefuglseth/fretboard/compare/v6.1...v7.0
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

darwin failures match hydra
https://hydra.nixos.org/build/261506521
https://hydra.nixos.org/build/261505922


DOC-6760: Add a Note for the DataSource sslmode property in the Insta…

Summary
This PR adds a note in the Install Mattermost Server on Ubuntu page under the Setup section so that the users can understand how to set the correct value of the sslmode property.
Ticket Link
Fixes #6760

[x] This PR follows the Mattermost Contributing Guidelines.

Hello @Rutam21,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@cwarnermm Please review and suggest changes, if any. Thanks.

@lindy65 Please assign this PR to me for QA Testing. Thanks.

Assigned to you @Rutam21

The changes in this PR have been tested in the preview environment and all the required changes are available in the mentioned pages.

A new and properly formatted Note has been added under the Setup section on the Install Mattermost Server on Ubuntu page with the suggested information.

I've attached a video as a confirmation.
https://github.com/user-attachments/assets/7f8a207c-325e-46d8-a1c8-858ff8b44c11
cc: @lindy65

Thanks @Rutam21 - counted towards Hacktoberfest!
cc @cwarnermm


INFO log get printed in tf2.5-rc0

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win10 20H2 x64
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.5.0rc0
Python version: 3.9.2
Bazel version (if compiling from source): 3.7.2
GCC/Compiler version (if compiling from source): msvc 19.28.29913
CUDA/cuDNN version: 11.2/8.1.1
GPU model and memory: GTX1650 4GB

Describe the current behavior
simply doing import tensorflow as tf will print out all log at INFO level to Jupyter notebook

Describe the expected behavior
Logs at INFO level will not get print to Jupyter notebook
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1-rOtR-xYJYymNIv4aksle_ZI9W90WLBh?usp=sharing
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

@henrysky
I didn't face any info errors while running the code.Please find the gist here

I just ran your colab notebook those INFO get printed

@henrysky
Can you please  try this.
The logs are printed only for the first time on importing tensorflow.
Thanks

Can you bisect with nightly versions to see at what nightly this got introduced?

The behavior is introduced in this commit https://github.com/tensorflow/tensorflow/commit/373883e4cc074c5ad0efa8c3d3875ae102c4005a

This is fixed with latest release of  TF 2.5-rc3 and should be in TF 2.5 final version as well.
Please check this gist for reference.

indeed fixed in rc3, thanks!


Migrate blue_steel layouts to Terra

Issue Description
Consumers are looking to migrate from blue_steel over to Terra. In order to do this successfully, we should include the blue_steel layouts inside Terra.
Issue Type

[ ] New Feature
[x] Enhancement
[ ] Bug
[ ] Other

Expected Behavior
It should look identical to the blue_steel layout templates. UX may need to adjust some functionality on it to better handle responsiveness.

Discussed in meetings, consensus is to make this in a separate repo outside of terra to make blue_steel migrations easier for consumers.


OLS-58: Link to Jira issue

Description
Link to Jira issue (OLS-58) to avoid bare TODOs
Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[x] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

Related Tickets & Documents

Related Issue #OLS-58

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] PR has passed all pre-merge test jobs.
[ ] If it is a core feature, I have added thorough tests.

/lgtm

/approve


[Doc Improvement][Error handling messages]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
94
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
100
0
link
:white_check_mark:

msteams-platform/resources/includes/bots.md
96
2
link
:white_check_mark:

msteams-platform/resources/includes/cards.md
91
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
100
0
link
:white_check_mark:

msteams-platform/resources/includes/bots.md
96
2
link
:white_check_mark:

msteams-platform/resources/includes/cards.md
91
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
100
0
link
:white_check_mark:

msteams-platform/resources/includes/bots.md
96
2
link
:white_check_mark:

msteams-platform/resources/includes/cards.md
91
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
100
0
link
:white_check_mark:

msteams-platform/resources/includes/bots.md
96
2
link
:white_check_mark:

msteams-platform/resources/includes/cards.md
91
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
89
7
link
:white_check_mark:

msteams-platform/resources/includes/bots.md
96
2
link
:white_check_mark:

msteams-platform/resources/includes/cards.md
91
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
87
7
link
:white_check_mark:

msteams-platform/resources/includes/bots.md
96
2
link
:white_check_mark:

msteams-platform/resources/includes/cards.md
91
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
98
3
link
:white_check_mark:

msteams-platform/resources/includes/bots.md
96
2
link
:white_check_mark:

msteams-platform/resources/includes/cards.md
91
1
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Closing this PR as it was a test PR.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/error-handling.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Closing this PR as the work is taken up in PR #9620


Should account data be synchronized?

Should account data be synchronized?

Not at the moment, I'll try to add it in the next days


Extra dimensions to GA and GTM

They are going to implement a new field in the API with this type of structure:
...
custom_analytics: {
  dimension1: "xxx",
  dimension2: "aa/mm/yy",
  dimension3: "zzz"
},
...

And if present that should be sent with the virtualPageview of GTM or the pageview of GA.

Can be seen here for example: https://peta.diariomotor.com/competicion/?rest_route=/wp/v2/post/57790
"custom_analytics": {
    "dimension1": "humberto",
    "dimension2": "2017-01-02",
    "dimension4": "post"
}

Blocked by #159

This issue will be fixed in https://github.com/wp-pwa/wp-pwa/issues/59, because saturn-theme is no longer the right repo for it.


tdmpc2 baseline AttributeError: 'ManiSkillVectorEnv' object has no attribute 'max_episode_steps'

To reproduce:
conda env create -f examples/baselines/tdmpc2/environment.yaml  # with sapien dep update
conda activate tdmpc2-ms
python train.py env_id=PushCube-v1

Error returned:
Work dir: /home/chenyenru/Documents/ManiSkill/examples/baselines/tdmpc2/logs/PushCube-v1/1/default
Error executing job with overrides: ['env_id=PushCube-v1']
Traceback (most recent call last):
  File "/home/chenyenru/Documents/ManiSkill/examples/baselines/tdmpc2/train.py", line 55, in train
    env=make_envs(cfg),
  File "/home/chenyenru/Documents/ManiSkill/examples/baselines/tdmpc2/envs/__init__.py", line 31, in make_envs
    cfg.episode_length = env.max_episode_steps
AttributeError: 'ManiSkillVectorEnv' object has no attribute 'max_episode_steps'

This is possibly related to the vector env wrapper ManiSkillVectorEnv, where max_episode_steps might not be passed as an attribute.
A workaround for the case of tdmpc2 baseline is to manually set max_episode_steps within its make_envs, such as
def make_envs(cfg):
# ....
cfg.env_cfg.control_mode = cfg.eval_env_cfg.control_mode = env.control_mode
	env.max_episode_steps = env._max_episode_steps
	max_episode_steps = env.max_episode_steps # save max_episode_steps of environment
	cfg.env_cfg.env_horizon = cfg.eval_env_cfg.env_horizon = env.max_episode_steps
	env = ManiSkillVectorEnv(env, ignore_terminations=True)
	env.max_episode_steps = max_episode_steps # manually set max_episode_steps
	return env

Should ManiSkillVectorEnv have max_episode_steps injected as a property?
Related gymnasium discussions:

https://github.com/Farama-Foundation/Gymnasium/issues/615

It's a dependency issue. It was working for mani_skill 3.0.0b5. The code is using the default max_episode_steps for the Maniskill task. However, the newest ManiSkillVectorEnv in 3.0.0b9 doesn't have max_episode_steps as an attribute.
The workaround would be to pass max_episode_steps in the config to set a max_epsiode_steps, instead of trying to use the default value.

I will update the code on this issue with https://github.com/haosulab/ManiSkill/issues/486.

Thanks! Wondering if the change on ManiSkillVectorEnv to not include max_episode_steps was intentional?
I see in https://github.com/Farama-Foundation/Gymnasium/issues/615 that it was intentional to not take in the max_episode_steps to avoid affecting the max_episode_steps within TimeLimit property.
Will injecting max_episode_steps be common when using ManiSkillVectorEnv? There seems to be an injection wrapper suggested in https://github.com/Farama-Foundation/Gymnasium/issues/615#issuecomment-1639969801 to find the max_episode_steps in TimeLimit wrapper and inject that into the base environment.

I wrote a custom decorator based on https://github.com/haosulab/ManiSkill/blob/main/mani_skill/utils/registration.py
import json
from copy import deepcopy
from functools import partial

import gymnasium as gym
from gymnasium.envs.registration import WrapperSpec

from mani_skill import logger

from mani_skill.utils.registration import register, REGISTERED_ENVS, make, make_vec

from typing import List

def register_env(
    uid: str,
    override=False,
    additional_wrappers: List[WrapperSpec] = [],
    **kwargs,
):
    """A decorator to register ManiSkill environments.

    Args:
        uid (str): unique id of the environment.
        override (bool): whether to override the environment if it is already registered.

    Notes:
        - `max_episode_steps` is processed differently from other keyword arguments in gym.
          `gym.make` wraps the env with `gym.wrappers.TimeLimit` to limit the maximum number of steps.
        - `gym.EnvSpec` uses kwargs instead of **kwargs!
    """
    try:
        json.dumps(kwargs)
    except TypeError:
        raise RuntimeError(
            f"You cannot register_env with non json dumpable kwargs, e.g. classes or types. If you really need to do this, it is recommended to create a mapping of string to the unjsonable data and to pass the string in the kwarg and during env creation find the data you need"
        )

    def _register_env(cls):

        max_episode_steps: int = cls.max_episode_steps
        assert max_episode_steps is not None, "max_episode_steps must be set"
        assert isinstance(max_episode_steps,
                          int), "max_episode_steps must be an integer"

        if uid in REGISTERED_ENVS:
            if override:
                from gymnasium.envs.registration import registry

                logger.warn(f"Override registered env {uid}")
                REGISTERED_ENVS.pop(uid)
                registry.pop(uid)
            else:
                logger.warn(
                    f"Env {uid} is already registered. Skip registration.")
                return cls

        # Register for ManiSkill
        register(
            uid,
            cls,
            max_episode_steps=max_episode_steps,
            default_kwargs=deepcopy(kwargs),
        )

        # Register for gym
        gym.register(
            uid,
            entry_point=partial(make, env_id=uid),
            vector_entry_point=partial(make_vec, env_id=uid),
            max_episode_steps=max_episode_steps,
            disable_env_checker=True,  # Temporary solution as we allow empty observation spaces
            kwargs=deepcopy(kwargs),
            additional_wrappers=[
                WrapperSpec(
                    "MSTimeLimit",
                    entry_point="mani_skill.utils.registration:TimeLimitWrapper",
                    kwargs=dict(max_episode_steps=max_episode_steps),
                )
            ]+additional_wrappers,
        )

        return cls

    return _register_env

You can now declare an environment like this:
from mani_skill.envs.sapien_env import BaseEnv

@register_env("MyEnv-v0")
class MyEnv(BaseEnv):
    max_episode_steps = 100

Thanks! Wondering if the change on ManiSkillVectorEnv to not include max_episode_steps was intentional?
I see in Farama-Foundation/Gymnasium#615 that it was intentional to not take in the max_episode_steps to avoid affecting the max_episode_steps within TimeLimit property.
Will injecting max_episode_steps be common when using ManiSkillVectorEnv? There seems to be an injection wrapper suggested in Farama-Foundation/Gymnasium#615 (comment) to find the max_episode_steps in TimeLimit wrapper and inject that into the base environment.

I made a mistake in my last comment. TD-MPC2 got the default max_episode_steps from gymnasium, not ManiskillVectorEnv. Its likely because the new maniskill package runs on a newer gymnasium version that it can't get max_episode_steps from the environment.


MySQL Connection Error

Running into trouble with Light Install. Error trying to connect to MySQL running in another container. Connection string has been modified in docker-compose.yml in JPProject.IdentityServer4.AdminUI as follows:
CUSTOMCONNSTR_SSOConnection: "server=<IP_ADDRESS>; port=3306; database=IdpDb; uid=root; password=xyz"

Relevant log snippet from running docker-compose:
jpproject-light-api_1  | [19:03:59 INF] Entity Framework Core 3.1.0 initialized 'JPProjectAdminUIContext' using provider 'Pomelo.EntityFrameworkCore.MySql' with options: MigrationsAssembly=JPProject.Admin.EntityFrameworkCore.MySql
jpproject-light-api_1  | [19:04:15 ERR] An error occurred using the connection to database '' on server '<IP_ADDRESS>'.
...........
...........
jpproject-light-api_1  | Unhandled exception. System.AggregateException: One or more errors occurred. (Error wating database. Check ConnectionString and ensure database exist)

Not sure why db name is not getting picked up. Any ideas?

Hi @brunohbrito, just wanted to report back. Thanks for all the help and pointers! Finally got things working. There were a few issues getting existing IdP and existing MySQL (both local and in separate containers) play nice with AdminUI using light install.

All containers had to run on the same shared network. Using network_mode: bridge didn't work for me. I had to create a separate network and explicitly put all containers on it.

I had to borrow some of the docker-compose and nginx.conf settings from a full install (JPProject.IdentityServer4.SSO) project. Specifically, Authority for jpproject-light-api had to be set to URL of my IdP container (http://idp). IdP ports had to be mapped through nginx reverse proxy. As such, I had to add my IdP upstream and server definitions to nginx.conf

Because API was now talking to IdP container via container URL (http://idp), I had to hard-code Identity Server IssuerUri using options options.IssuerUri = http://localhost:xyz. This is so tokens passed  for verification on backend from API to IdP didn't get rejected because IssuerUri was passed as localhost but IdP was expecting http://idp (due to headers).

MySQL connection string had to use MySQL container IP from the shared network I created and joined MySQL on.

I think these are the main points. I also used this SO post to try and sort things out. I can share more details if anyone runs into similar situation.


Start date hotfix

🚑 Fix start date on sign report page
Signed-off-by: theDustRoom<EMAIL_ADDRESS>

This undoes changes I made a few weeks ago, obviously, I was wrong to remove this code and not sure why I did. Oops.


Remove hard dependency on fs

When trying to use schemarama from npm for code that will be running in browser the following errors appear:
ERROR in /home/elizusha/schemarama/core/util.js
Module not found: Error: Can't resolve 'fs' in '/home/elizusha/schemarama/core'
 @ /home/elizusha/schemarama/core/util.js 17:11-24
 @ /home/elizusha/schemarama/core/index.js
 @ ./src/index.js

ERROR in /home/elizusha/schemarama/core/third_party/shex/shex.js
Module not found: Error: Can't resolve 'fs' in '/home/elizusha/schemarama/core/third_party/shex'
 @ /home/elizusha/schemarama/core/third_party/shex/shex.js 7664:17-30
 @ /home/elizusha/schemarama/core/shexValidator.js
 @ /home/elizusha/schemarama/core/index.js
 @ ./src/index.js

I think that the problem is that fs module is only available for node.js. In browsers you cannot have access to the file system anyway. This PR removes hard dependency on fs module: if it's available it will be used, if it's not available it will not throw an error unless you try to load a local file.

Sorry, I realized it can be solved on my end by adding this to the webpack config:
  node: {
    fs: 'empty'
  }


WRN-6719: Revert ContextualPopupDecorator arrow patch

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Remove workaround code related to chrome rendering issue as patch has been applied.
chromium issue link: https://bugs.chromium.org/p/chromium/issues/detail?id=996931
Resolution
Revert https://github.com/enactjs/enact/pull/2501
Additional Considerations
Links
WRN-6719
Comments

I'm not sure that it is alright to merge this PR into a release branch.

To prevent develop branch from unwanted hidden commits, this PR is replaced with #1105.


Added folder Slides and Slides for Lecture1

Added slides and activities for lecture 1.

I count 42 slides for a 100 minute class.  That seems a bit much, especially if you're going to have an activity.  There's lots of redundancy between L1.1 and L1.2 .
I may push an edited version in this branch, depending on how much time I have.

Need to add a script with words for "DSS Accomodations for Group Assignment".

I am not very happy with the Backup Software Example.   What do you think about swapping in the College Administrator example from the TDD lesson?   That has the advantage of consistency across the lectures.

LGTM pending non-functional requirements slide. I will prepare the pages around the slides and have it ready from my side by Tuesday.

@mwand please check slide # 15 (NF Requirements) for Lesson 1.2. Please update as needed. After that @jon-bell can publish the Week1 module. Thanks

I tweaked the opening text on L1.2 S15.   The rest of the slide isn't actually phrased in terms of "requirements".   A non-functional  requirement might be something like "The system can handle 1000 requests per second with a median delay of 100 msecs."   But I think what's there is close enough.
lgtm now.


Create menu_pl.lang

File have UTF8 encoding, not sure if Polish symbols (ąęśćńłóżź) will
work.

Can one of the admins please verify this patch?


Sorting

Hi. How can I sort the board items alphabetically?

Just sorting by the order is allowed for the moment but it is a good feature to add. Thanks for opening the issue.

Update: I already added the feat but In the migration branch. (I am updating from vue2 to vue3) I am still working on it.


MQTT digital outputs act on commands

https://github.com/natm/iocontrollergw/commit/8a450c41a98032854fda71b961bacacdd6c5870c


Call to a member function getQueryBuilder() on string yiisoft/yii2/db/ActiveQuery.php:328

We started facing this error when we upgraded from 2.0.48 to 2.0.50
What steps will reproduce the problem?
We are passing slave DB connection in ActiveDataProvier
$dataProvider = new ActiveDataProvider(
                [
                    'query'      => $query,
                    'db'         => 'dbSlave',
                    'pagination' => ['pageSize' => 30],
                    'sort'       => false,
                ]
            );

Removing 'db' => 'dbSlave' from above line solves the issue.
Reverting to 2.0.48 also fixed the issue.
What do you get instead?
Exception - Call to a member function getQueryBuilder() on string yiisoft/yii2/db/ActiveQuery.php:328
Additional info

Q
A

Yii version
2.0.59

PHP version
8.2.6

Operating system
Centos 7

Have the same issue. It happens when u set in DataProvider pagination param, then latter Pagination objects created and after makes request to get total count, but property $db  of DataProvider is just "db"  instead of Connection object, that is why we got such error. As a quick win u could set db => null.

@lav45 would you please check it?

@manoj-malviya update yii2 to dev-master and check again
Your problem has already been solved in #20175
 {
    "require": {
       "yiisoft/yii2": "dev-master"
   }
}


[v4.5.0] Fixed seeders installation and overhauled Enumerified trait

#77  👈
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @GoodM4ven and the rest of your teammates on  Graphite


Add missing documentation for #9

Thanks to @ledes for the first merged PR (:
The new options still need to be documented.

Where do you have the documentation? @Suven

All functionality is currently described in the test/dummys index.hbs.
Don't worry about that though.. There are some other missing functions now as well and I will do them in one bunch early next week (as well as creating a new release)

Closed by #73


Wit.ai Speech to Text for Question Answering

Add a toolbar icon - when clicked, it will open a small window that allows user to record audio. The audio is recorded in WAV format and sent to the wit.ai speech API, which converts speech to text. Once the text is returned we call the Flask /answer endpoint to get a result for the query.

looks good to me!


How to Disable TCP dynamic Ports at SQL Server 2016 use dbatools

How to Disable TCP dynamic Ports at SQL Server 2016 use dbatools?

There is a brand new command for that: https://docs.dbatools.io/Set-DbaNetworkConfiguration


[Cleanup] examples: rewrite controlled-browser with kv-lang. Add a minim...

...al browser-view example.

I just saw that tabbed-browser depends on controlled-browser...


[Localization] Arabic translation for dialog

the translation for https://github.com/BrightspaceUI/core/blob/master/components/dialog/dialog.js#L62
isn't the best. Can we change it?

We certainly can. I copied this from elsewhere in our system, so I think there's likely more than one spot that we'd want to update - I'm not sure where the original translation came from.

@maboelsoudd2l just circling back on this issue -- do you have a recommendation on what this translation should be instead? We'll need to update this code but also the corresponding translation in the LMS.

I'm going to close this due to staleness. @maboelsoudd2l if you think this is still an issue, please re-open with a recommendation on what to use instead. Thanks!


Bayern: Change contact data "Herausgeber" und "Haftung" with general data

Replaces the Contact details of Mr. Diener under Publisher and Liability by general data
<EMAIL_ADDRESS>and Durchwahl -01

Forgot to do this in #801

@dkehne Should this also be adjusted in the datenschutzerklärung? https://bayern.ehrenamtskarte.app/data-privacy-policy

@michael-markl please everywhere where he is mentioned.


Fix link to Docker engine

Since the launch of Docker Desktop the default link in VSCODE_DEVELOPMENT.md points to that instead. To install the Docker engine you now need to go to https://docs.docker.com/engine/install instead.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@adbridge please sign the CLA

Done


Integration with DCP

Description
Please read our CONTRIBUTING.md prior to creating your first pull request.
Please include a summary of the feature or issue being fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Testing out some Checkpointing code .
PR description is WIP
Fixes #(issue)
Type of change
Please delete options that are not relevant.

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

Feature/Issue validation/testing
Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A
Logs for Test A

[ ] Test B
Logs for Test B

Checklist:

[ ] Have you added tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Thanks for making it work!
Quick comment:
Do you mind creating a dedicated example for DCP + PP? You can copy the model out (we plan to build a "model hub" for tests, so that would solve the duplicated code problem).

What's our plan for this PR? @LucasLLC I think we are pretty close to the destination.
Would the following next steps be reasonable?

Move the example to examples/checkpoint, and name it pippy_dcp.py.
Focus on Option 1 (per-stage saving), and clean up the UI. (See comments)
Make the example runnable in a multi-process setting. Today it saves the stages in a for loop, would be nice if multiple ranks can do their saving job simultaneously.

For code quality checks, please run:
./format.sh
./check.sh


openstack: fix bootOrder setting

Currently, because bootOrder was declared outside the loop, it would keep the same value from a previous iteration, being set on a disk that shouldn't be set.

backport of #820


Question / Info Request: Status?

I have played with this - thus far this is by far the best implementation....
My issue is the same with all.  If I send something to my echo - it interrupts (stops) what was occurring and starts executing the new command.  This can most easily be seen by executing a goodMorning followed by a second item - a simple speak command.
The goodMorning will start, then the speak command will STOP the goodMorning and the Speak command will execute.
I would like the commands to be blocking.  I thought I could use some of the status info but so far - no good.  Really a delay module which would delay if busy or not delay the packet if the device was not busy...
Any chance the hooks are available to do this?
Thanks,
-Stan

So if I do my own concatenations using the custom option, this may overcome the issue....
I tried this...
{
"type": "prompt",
"payload": [
{
"type": "goodMorning",
"devices": [
"XXXXX Echo Show"
]
},
{
"type": "calendarToday",
"devices": [
"XXXXX Echo Show"
]
}
]
}
(using msg.payload as the argument to 'custom')
Without success (invalid sequence node) - how do you combine multiple commands in a custom packet?
-Stan

You need a "type": "node" for multiple commands. You add the commands to the children array. So this should work:
{
    "type": "node",
    "payload": {
        "type": "serial",
        "children": [
            {
                "type": "prompt",
                "payload": {
                    "type": "goodMorning",
                    "devices": [
                        "XXXXX Echo Show"
                    ]
                }
            },
            {
                "type": "prompt",
                "payload": {
                    "type": "calendarToday",
                    "devices": [
                        "XXXXX Echo Show"
                    ]
                }
            }
        ]
    }
}

Thanks for the guidance.  I've got it working.... except running 'goodMorning' as a child seems to error out.  Can you confirm?  Here is the goodMorning as a child by itself...
{
"type": "node",
"payload": {
"type": "serial",
"children": [
{
"type": "prompt",
"payload": {
"type": "goodMorning",
"devices": [
"Stanley's Echo Show"
]
}
}
]
}
}
-Stan

I upgraded to 3.3.0.  No change.  My output device is a Echo Show.  I have a dot input available as well.  When I change to it - it works fine.  On the show - the first time executed - it works, on subsequent executions it does the goodMorning then adds something went wrong and no other children run.

I don't have an Echo Show to test. Can you create a routine in your Alexa App that does the consecutive commands on your Echo Show? Does that work then?
If so, you could set the logging level to "debug" in your .node-red/settings.js and then compare the logging output when triggering the custom routine versus triggering the created routine with the Execute Routine option of a Alexa Routine node. Then i could find out what my code does differently.
If you post the log output, you should redact customerId and deviceSerialNumber fields.

No worries. Thanks for the update!


feat: add dsse verifier threshold

Adds the ability to require at least a specified number of verifiers to
successfully verify a DSSE envelope.
Also fixes witness issue #194 where multiple public keys within a policy
will cause all verification to fail. This was due to the DSSE verify
function returning as soon as a single verifier fails. Now the code
appropriately tries to verify against all passed in verifiers and only
throws an error if no verifier successfully verifies the envelope or the
threshold is unmet.
Signed-off-by: Mikhail Swift<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 16 (75.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 43.67%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

dsse/dsse.go
12
16
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
890

Relevant Lines:
2038

💛  - Coveralls

Fixes https://github.com/testifysec/witness/issues/194


dts: microchip: add support for MEC1727 dts

MEC1727 has internal flash, so add the definition in
a separate MEC1727nsz.dtsi file.
Signed-off-by: Jay Vasanth<EMAIL_ADDRESS>

LGTM, but someone else should approve.

@keith-zephyr can you help to review and approve this PR?


IrreversibleOrderError patch

I had an issue where one of my models was using a default sort scope with NULLS LAST
Since upgrading to Rails 5.1.1 I got IrreversibleOrderError raised on loading rails_admin - by loading I mean visiting the /admin route.
Not sure of any other side effects from this but for me at least it means rails admin no longer just falls over with a 500 - and if this doesn't get merged it can at least serve as a heads up
Thanks
Kev

Turning dashboard statistics off will work for your case, If you don't need them.
https://github.com/sferik/rails_admin/wiki/Dashboard-action#disabling-record-count-bars

Thanks for your help - that does work
But this is not really a fix and therefore still what I would consider to be an open issue


Fix mobile YouTube links

Normally the HttpAudioSourceManager would redirect a non-desktop page for us.
If this sourcemanager has been disabled, then mobile links don't work anymore.
Tested this out, this seems to work as is, although I don't know what
streams are available for download on the mobile version of YouTube.
Forgot that it piggybacks off of the normal getWatchUrl based logic.

Oh, almost forgot.
I can recall that on mobile, the list parameter usually goes before the v parameter.
Need to see if that still works.

So now it's cleaned up, and gets the video and playlist/mix id in one go.

Works well, apart for youtu.be links which throw an exception

Oops, thanks for verifying, this should fix it.


Hi, Could you upload your pretrained model?

Please refer here for some pre-trained models https://github.com/D-X-Y/NAS-Projects#requirements-and-preparation


Update jafama to the latest Java and add Gradle

This pull request updates jafama to work with the latest Java (8/9) and allows building and use with grade. This also adds a template for travis ci builds.

@jeffhain Please let me know if I have to sign any CLA

Hello, and thank you for proposing upgrades to Jafama.
About working with Java 8/9:
Jafama should already work properly (jar usable, and source compilable) with these, as it does with Java 5 to 7, since it only uses very basic non-deprecated language features (static methods, primitive types, etc.).
About adding support to IntelliJ/Gradle/Travis:
I don't want to tie Jafama with any third-party tooling, it's aimed at containing only the "pure" sources, plus eventually some code to generate the jar in a reproductible and self-reliable way using JDK internal tools.
Even if there was only one IDE and build tool in the world, I would not do it, and there are hundreds. I use Eclipse myself, and didn't add .project or .classpath files.
Just forking Jafama and adding the files for your tooling of choice should be the right way to go.
About code reformating:
Your changes correspond to my current formatting style (spaces in for loops definitions, etc.), so I might piggyback this along with other (more featuresque) modifications for another version of Jafama (maybe for Java 9, as a module? I have no plan yet).
About creating a CHANGELOG.txt file:
That's a good idea, the README should just be an introduction to latest version.
As for reformating, I could do it for a new version.
About using Markdown for README:
I'm a simplicity fanatic, so while I might (or might not!) use .md format to help make a large file more readable, I don't think I'll use it for something as simple as a README ought to be. Unless maybe I'm the only one left in the world using .txt, but even then, I think I would stick to it.
So as a result of all this I won't pull your changes into Jafama.
Also currently I'm working on some other and big thing, and I feel like a context-switch would require me as much energy as for a diplodocus to turn back.

-Jeff

Hi.Replied to you on github.-Jeff
  De : Roger<EMAIL_ADDRESS>
À : jeffhain/jafama<EMAIL_ADDRESS>Cc : jeffhain<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Envoyé le : Samedi 2 septembre 2017 19h25
Objet : Re: [jeffhain/jafama] Update jafama to the latest Java and add Gradle (#3)
@jeffhain Please let me know if I have to sign any CLA—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for letting me know!

I just want to note regarding the IntelliJ/Gradle/TravisCI that what I did to the code did not make it dependent on any of those pieces of software.
If you look at the final diff, you'll see that all I did was add a config gradle file and TravisCI file to the source. All this does is make it easier for an IDE to recognize and test the code and to that extent - allows TravisCI to recognize it.


Include package variant with optimization for x86-64-v3

Include a variant on linux-64 and win-64 that has optimizations for the x86-64-v3 feature level. This variant includes optimization that use the AVX and AVX2 instructions set. This variant is restricted from being installed on incompatible system via a dependency on the _x86_64-microarch-level >=3 package.
Same as #7 but not from a fork and enables optimizations in CUDA variants as well.

I'm guessing that the Prefect builds are failing because the _x86_64-microarch-level packages are needed.

Adding x86_64-microarch-level https://github.com/AnacondaRecipes/microarch-level-feedstock/pull/1
I am pretty sure it will fail though as we don't have archspec installed in the base environment of the builders.

@jjhelmus if you're familiar with the microarch feedstock already , and have good enough confidence in the variants etc, would you mind reviewing the mentioned feedstock?

Holding off merging until we get a green light. I'd like a confirmation on how the package is consumed before pushing to the channel.


Y/n prompts should be case insensitive

Trivial issue, but when prompted:
Really abort this transaction (Y/n)
I instinctively type shift+y when I see the capital Y. However, this does not abort since aborting requires a lowercase y.

Good suggestion!

Should be fixed in git, if I found all instances


How decorating page with url parameters like Sitemesh2?

The Decorating with Parameters function is very useful in Dialog page pattern. suppose i have a page, it's path is /help.html. I want to show a dialog(div mock) use iframe tag, then I need not create another path like /dialog/help.html for dialog decorator, I just use a query parameter to do that in sitemesh2. It's very convenience!

Actually, what you want is a "exclude rule" on request parameter? right?

Do you mean we can decide a decoration template by a request parameter dynamically?

Yes, here is sitemesh2's implement.

https://github.com/sitemesh/sitemesh3/issues/78
I also mention this issue.

Should we decide how to config this feature in the xml first ?

Specify a decoration template when request parameter A = ...
Stop decoration when request parameter A = ...

For point 1, maybe ?
...

...
I don't know how to represent point 2.
Maybe sitemesh-3 authors should design it first before we could implement it.

https://github.com/sitemesh/sitemesh3/issues/84
https://github.com/sitemesh/sitemesh3/issues/78
1、not supported pjax
2、the same page use UrlRewriteFilter ，2 versions are different.

disappointed

https://github.com/sitemesh/sitemesh3/issues/90


docs(config): add module definitions

The config file documentation changed so much this is no longer relevant as is.


feat: add full support for webpack and angular

Our webpack support needed some boosting to handle the use case presented by angular 5 and reported on here: https://github.com/bucharest-gold/opossum/issues/182
This pull request adds:

Browser and headless testing using webpack instead of browserify
Multiple webpack configurations: production, development and test
Maintains compatibility with circuitBreaker as a global variable in the browser (WE SHOULD DEPRECATE THIS)

Do not merge yet. I would like to add some documentation on this to the README.md, but I just haven't had the chance. I also think we can change the examples (or add new ones) that use webpack to bundle the app.
connected to: https://github.com/bucharest-gold/opossum/issues/182

Coverage increased (+0.3%) to 100.0% when pulling d1e2228e74e5711a4e156da624cba785f7a9abb5 on 182-fix-browser-for-angular into 0178e952aeca4729915b7a88dd45ec6c75ad04ff on master.

Coverage increased (+0.3%) to 100.0% when pulling d1e2228e74e5711a4e156da624cba785f7a9abb5 on 182-fix-browser-for-angular into 0178e952aeca4729915b7a88dd45ec6c75ad04ff on master.


New Github Porn Extension (Repo)

https://github.com/4skinSkywalker/Anti-Porn-HOSTS-File
Possible addition to the porn extension - has 22 individual contributors and is added to a few times a year on average.
Not sure if @StevenBlack has scripts to check the uniqueness of the hosts on this list versus what is already contained, or any other criteria to add a repo, but I would be willing to do the leg work on that if needed.

No License and there are some domains with arabic language that most of the resolvers will just throw error.
Steve @StevenBlack  if you're interested,will deep dive even more.  Assuming that license is added, any other legwork I could do to make this an easy review for you guys? I checked and there are quite a few unique, legitimate domains that should be blocked that are not yet included in the existing extension repos.

@bd-g let's wait for Steven @StevenBlack,whenever time permits to run ghosts and will go from there 👍

Thanks for this @bd-g.
This would add (41806-14380) = 27,426 domains to our porn list.
The license is a showstopper...
$ ghosts -m p -c https://raw.githubusercontent.com/4skinSkywalker/Anti-Porn-HOSTS-File/master/HOSTS.txt

----------------------------------------
Base hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts
Domains: 141,195
Bytes: 4.3 MB
----------------------------------------
Compared hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/4skinSkywalker/Anti-Porn-HOSTS-File/master/HOSTS.txt
Domains: 41,806
Bytes: 1.3 MB
Intersection: 14,380 domains

From a TLD perspective, this looks generally okay. A few TLD near the bottom are questionable.   I consider this a pretty strong indication of Type I errors though, in fairness, our base list contains quite a few shady porn popup domains.
$ ghosts -c https://raw.githubusercontent.com/4skinSkywalker/Anti-Porn-HOSTS-File/master/HOSTS.txt

----------------------------------------
Base hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Domains: 100,735
Bytes: 3.1 MB
----------------------------------------
Compared hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/4skinSkywalker/Anti-Porn-HOSTS-File/master/HOSTS.txt
Domains: 41,806
Bytes: 1.3 MB
Intersection: 5,477 domains

So there's a 5,477 domain intersection with our non-porn list. I consider this a pretty strong indication of Type I errors though, in fairness, our base list contains quite a few shady porn popup domains.

Following up on this as it got my attention for sure.
Steve @StevenBlack uploading the intersection domains so you can see them.

Adding it as a addition to the porn extension is just nonsense to me so i'm 👎
intersections.txt

Dan @dnmTX I can understand being a catch-all list because a hosts file is a singular thing, presuming no aggregation methods...

Dan @dnmTX I can understand being a catch-all list because a hosts file is a singular thing, presuming no aggregation methods...

It's your call Steve @StevenBlack,i only voiced my opinion as usual 👍

A PR has been merged and there is now a license on the repo. Can we re discuss this?

Thanks @bd-g.
Quick check against our current porn list.
Summary: This would add (41,800 - 14,321) = 27,479 domains to our porn list.
Our current porn list adds (149,352 - 100,796) = 48,556 domains to our base list.
Does anybody feel like we need to add 27,479 domains to our porn list? Like, who's beset by porn, or even seeing porn, when our porn list is active right now? What would the extra 27,479 domains buy us?
That said, maybe our porn curation squad needs to be revitalized? It seems to take awhile for our current curators to execute updates.
ghosts -m p -c https://raw.githubusercontent.com/4skinSkywalker/Anti-Porn-HOSTS-File/master/HOSTS.txt
----------------------------------------
Base hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/porn/hosts
Domains: 141,835
Bytes: 4.3 MB
----------------------------------------
Compared hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/4skinSkywalker/Anti-Porn-HOSTS-File/master/HOSTS.txt
Domains: 41,800
Bytes: 1.3 MB
Intersection: 14,321 domains

I would say blocking porn (along with gambling perhaps) is a use case where if you are using it, you probably want to seal off anything and everything.
New sites pop up everyday. With that said, distributing the load/responsibility to update regularly across more contributors seems like a good thing to me, not a bad one.

Any new thoughts on this? If not, might make sense to close the issue instead of leaving it hanging open.

Thanks @bd-g I've decided to decline. Thank you for the suggestion, and I'm sorry this issue remained open and unanswered for so long.


Bake in TypeScript && ES6 module compatibility

Before, there were no TypeScript typings, and to use FL in a strict ES6 module environment (eg. TypeScript) you had to do:
import * as fl from 'fantasy-land'
const {ap, chain, map, of} = fl

Now, you can do:
import {ap, chain, map, of} from 'fantasy-land'

Open question: Is there a need to maintain backwards-compatibility with the window.FantasyLand namespace, or is it fine to drop support for it?

I appreciate the one-line saving, but there's no way this justifies adding two-and-a-half-thousand lines to this project. ;)

Is there a need to maintain backwards-compatibility with the window.FantasyLand namespace, or is it fine to drop support for it?

Let's continue to support this.

@davidchambers

Let's continue to support this.

Done.

there's no way this justifies adding two-and-a-half-thousand lines to this project. ;)

That's the package-lock.json. I can remove it, but it should be checked in for reproducible builds (see NPM docs).

there's no way this justifies adding two-and-a-half-thousand lines to this project. ;)

That's the package-lock.json. I can remove it, but it should be checked in for reproducible builds (see NPM docs).

Reproducible builds are very important for applications. I don't see value in including lock files for libraries, though. Please remove the lock file.

Reproducible builds are very important for applications. I don't see value in including lock files for libraries, though. Please remove the lock file.

The idea is to have reproducible builds of the library. Otherwise, the build might fail on your machine and on CI, but succeed on my machine (or some permutation of that). I removed it per your request, but be aware that you might run into issues at some point.
If you're worried about npm install size, be aware that the lockfile is automatically ignored when installing.

Are supporting TypeScript and ES6 module syntax interrelated concerns? I ask because I believe the implications of these changes would be easier to grasp were there two pull requests rather than one.

They are separate, but TS needs ES6 exports. The only TypeScriptism here is the typings (eg. : 'fantasy-land/equals'). The rest is just ES modules.  That's it.

@bcherny, I've opened a competing pull request, #270. I'm interested in your thoughts on it.

@davidchambers Is there something wrong with this PR?
I'm just one of several maintainers of this project, and I don't mean for #270 to supersede this one. It's an alternative approach worth considering.
Let me explain my motivations. I contribute to a significant number of open-source projects in my free time. To make this manageable I have spent time and energy setting up reusable infrastructure (doctest, sanctuary-style, transcribe, xyz).
I believe that if one does not actively fight entropy a project will eventually be superseded by an alternative without the constraints of backwards compatibility, with a simpler interface, and with lightweight infrastructure.
Fantasy Land is first and foremost a specification. The decision was made to also provide a module which exports some strings. The code component of Fantasy Land is essentially 20 strings (setting aside fantasy-land/laws which will become a separate package).
Trivial code deserves lightweight tooling. This is why I balked at the initial size of this pull request. Pleasingly, this pull request is now much smaller, but it still introduces dependencies:
$ rm -rf node_modules
$ npm install<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>$ find node_modules -name '*.js' -print0 | xargs -0 wc -l | tail -n 1
  652660 total

Half a million lines of code seems out of proportion to the difficulty of the problem we are solving.

@bcherny I get where you're coming from, but if your goal was to get TS support in FL then it looks to me like your PR will be successful (even if it isn't merged).
I doubt David would have submitted #270 had you not both collaborated on this PR :smile:

I'm not sure if I understand everything happening in that PR, but I have to say it's strange to avoid using TSC when generating TypeScript definitions. The toolchain in this PR (TSC + Rollup) is really standard (you could similarly use TSC + Browserify or TSC + Webpack). The file size is just for dev builds - I'm not sure I understand why you would opt for a hand-crafted build script over the industry standard build tools. Here are the pros/cons of using a custom build tool from what I can make out:
Pros:

Small file size when developing
Less NPM dependencies

Cons:

Does not scale to additional transpiled code in the future
Likely has bugs, which you will have to spend time fixing
Harder for others to contribute to

That said, the issue with your TypeScript code is you're typing all of the exports as string. Instead, you want string literal types (eg. 'fantasy-land/concat', see the code in my PR for more examples).

That said, the issue with your TypeScript code is you're typing all of the exports as string. Instead, you want string literal types […].

I'm intrigued by TypeScript's literal types, and I'll freely admit that I haven't come to terms with them yet. Could you provide an example of an invalid program which TypeScript would disallow as a result of knowing that the type of FL.concat is 'fantasy-land/concat' rather than simply string?

It would be nice to see this or #270 merged. I'm trying to use fantasy-land to make a TS project compliant with the spec, but would have to maintain my own types manually to do so.
Re: 'fantasy-land/concat' vs string, I would be in favor of the more restrictive type for two reasons.
First, I always try to make sure my types are as specific as possible, and that they include the most amount of information possible. Because I can't always guess the way the types will be used by consumers, I want to maximize the information they contain since it is always easier to remove information than to add it.
Second, in my particular use-case string would be just as useless as not having types at all. I would like to define a class like:
class Maybe<T> {
  [fl.map] = this.map.bind(this);
}

If fl.map was type string, then now an instance of my class could do:
const m = new Maybe('thing');
m["I'm some arbitrary string"](v => v.toUpperCase())

or more modern versions of TS would simply disallow [fl.map] inside the class because "[it's not] a literal type or a 'unique symbol' type".
Anyways, if there is anything I can do to help move this issue along, let me know. I'm more than happy to help contribute to this project.

Folks, I just submitted #294. Please have a look. :)

This pull request was superseded by #294.
Thanks for prompting us to improve our TypeScript support, @bcherny. :)


add sense2vec support too and integrate with POS-config

Hi @davidberenstein1957, saw the capabailities of sense2vec library and how it will work much better than some of the pretrained glove word2vec models.
My question was is there are a way we can add support for more state of the art word vector embeddings like sentence transformers,BERT etc.?

@prakhar251998 thanks for the suggestion, but sadly this wouldn´t be possible. The concise-concepts library works based on a find_most_similar search within pre-defined embeddings based on tokens present in the embedding model. For word2vec-like models, these tokens are pre-defined/indexed and have a stand-alone semantical meaning like apple being used in a similar context as pear. For transformer-based models, the index is mostly limited to a sub-word/character level and therefore doesn´t allow for a find_most_similar operation.
I you would like to use these kinds of embeddings, you could potentially create a semantic-search knowledge base with KNN/ANN and embeddings based on the descriptions of the potential entities, but maybe this costs too much effort.


crypto/tls: enforcing ALPN breaks HTTP/1.1 fallbacks on misconfigured servers

In 90d6bbb we fixed crypto/tls to require a successful ALPN negotiation if both sides support it. That is, if a client sends an ALPN extension, and the server has configured NextProtos, we reject the connection if there is no overlap between client and server protocols.
This is what the spec requires, and has a security benefit, because it protects against cross-protocol attacks.
However, it's also kind of surprising, because if a client doesn't support ALPN it will never have its connection rejected.
Moreover, we used not to enforce this, so there is a risk that servers configured a partial NextProtos list, expecting other protocols to just fallback to not negotiating ALPN.
In particular, we have anecdotal evidence of servers with NextProtos: []string{"h2"} that expect a client that tries to negotiate http/1.1 to fallback successfully. These servers will break in Go 1.17.
I searched all code on the Modules Mirror for NextProtos uses, and it looks like this is the only case in which a fallback seems to be expected.

      1 "bep/1.0"
      1 "dilithium"
      1 "gemini"
      1 "go-multicast-quic"
      1 "h2", "h2c", "h2i"
      1 "h2", "hq"
      1 "h2", "http/1.1", "http/1.0"
      1 "h2", "http/1.1", acme.ALPNProto
      1 "h3-29", "h3-32"
      1 "h3r", "h3-29"
      1 "http"
      1 "http", "something-else"
      1 "http/1.0"
      1 "http/1.1", "http/1.0", acme.ALPNProto
      1 "http/1.1", ACMETLS1Protocol
      1 "http/1.1", http2.NextProtoTLS, "h2-14"
      1 "http/2", "http/1.1"
      1 "http3-reflector-server"
      1 "https"
      1 "hybs-rtv1"
      1 "istio", "h2"
      1 "ldap"
      1 "nextProtos"
      1 "ntske/1"
      1 "pop3"
      1 "quic-matrix-ygg"
      1 "quic-vpc-sbs"
      1 "qush"
      1 "rtmp-over-quic", "wq-vvv-01"
      1 "securelink"
      1 "smtp"
      1 "spdy/3"
      1 "stream"
      1 "stream;level=2;pp=1"
      1 "x-amzn-mqtt-ca"
      1 NextProtoTLS, "h2"
      1 ProtoSSH
      1 ProtocolName
      1 SocketProxyNextProto
      1 connector.ProtocolName, authproxy.SocketProxyNextProto, http2.NextProtoTLS
      1 firstMatchProto
      1 getALPN(ietfQUICDraft24VersionNumber)
      1 getALPN(versionNumber)
      1 http2WithTLSVersionID
      1 proto
      1 protoName
      1 quicconn.ProtoSSH
      1 t.protocolName
      2 "adc", "nmdc"
      2 "bw.mux"
      2 "emqx-wormhole"
      2 "foo/bar"
      2 "go-p2p"
      2 "h2", "acme-tls/1"
      2 "h2;rate=30", "spdy/3.1;rate=50", "http/1.1"
      2 "http", "ftp"
      2 "http/1.1", "http/1.0"
      2 "http2"
      2 "imap"
      2 "irc"
      2 "mqtt"
      2 "netceptor"
      2 "orbit-simple-example"
      2 "qperf"
      2 "quic-git"
      2 "quic-hello-example"
      2 "quic-stunnel"
      2 "spdy/3.1", "http/1.1"
      2 "spdy/3.1;rate=50", "http/1.1"
      2 ACMETLS1Protocol
      2 common.KQuicProxy
      2 http2.NextProtoTLS, "h2-14"
      2 nProto
      2 param.Args.Password,"quic-echo-example"
      2 protocol
      2 protocol.ProtocolName
      2 tlsProtocolName
      3 "h1"
      3 "quick"
      3 "quicssh"
      3 acme.ACMETLS1Protocol
      3 http2.NextProtoTLS, "http/1.1"
      3 nextProto
      4 "acme-tls/1"
      4 "h2", "http/1.1", tlsalpn01.ACMETLS1Protocol
      4 "hq-29"
      4 "mixin-quic-peer"
      4 "pion-quic"
      4 KQuicProxy
      5 "SCION"
      5 "http/1.1", "h2", "h3"
      5 "relay"
      5 acmez.ACMETLS1Protocol
      6 "ftp"
      8 "http2", "http/1.1"
     12 "benchmark"
     12 "crypto-setup"
     12 "proto foo", "proto bar"
     12 "proto1"
     12 httpVersionToALPN[httpProxyVer]
     15 httpVersionToAlpn[httpProxyVer]
     16 "unhandled-proto"
     18 "dns"
     18 "protocol1"
     18 "unhandled-proto", "tls-0.9"
     25 NextProtoTLS, "foo", "bar"
     27 "h3-29"
     29 http2.NextProtoTLS
     31 alpnProtocol
     32 acme.ALPNProto
     34 "http/1.1", acme.ALPNProto
     35 acmeALPNProto
     37 "quic-echo-example"
     39 "http/1.1", "h2"
     50 "foo", "bar", NextProtoTLS
     57 "foo", "bar"
     63 "foo"
     66 alpn
     75 NextProtoTLS
    193 "http/1.1"
    271 "h2"
    353 "h2", "http/1.1"

Some of them are from gRPC, which as far as I know legitimately requires HTTP/2, so for those all is well.
Some though look like they might unintentionally break. We should figure out how common this is, weight it against the security benefit, and maybe proactively reach out.

https://github.com/kubernetes-sigs/controller-runtime/blob/485a24a305332f2e9fbb3de8c26c7232303f7938/pkg/webhook/server.go#L201
https://github.com/google/fleetspeak/blob/93b2b9a40808306722875abbd5434af4634c6531/fleetspeak/src/server/https/https.go#L127
https://github.com/etcd-io/etcd/blob/ddc4f473c98d07c6a812b4d0f844e19c7216baf2/client/pkg/transport/listener.go#L497-L498

We should also make sure the HTTP/2 docs in Go have correct examples that include http/1.1.
/cc @golang/security

It looks like even x/net/http2 is doing this wrong
https://github.com/golang/net/blob/37e1c6afe02340126705deced573a85ab75209d7/http2/server.go#L262-L271
so we might need to just hardcode an exception such that if h2 is configured we keep ignoring the ALPN extension as long as it includes http/1.1, assuming a fallback is expected.

This broke us and has been preventing us from upgrade http://github.com/istio/istio to golang 1.17.
Our expectation is that we can have a server that will serve any explicitly configured ALPNs with that config (ie h2 will serve HTTP 2), and anything else will fall back to http 1.1. This was the behavior on all former go versions.
https://github.com/golang/go/commit/dc00dc6c6bf3b5554e37f60799aec092276ff807 was an insufficient fix for us; we do not have NextProtos: h2 and want to allow http/1.1, we want to support ANY alpn.
A few alternatives we have tried:

Not setting NextProtos. This breaks h2 negotiation.
Override SupportedProtos in GetConfigForClient. This works on the serverside but breaks go clients (and possibly others) as the NegotiatedProtocol is not corrent
Add all ALPNs we care about to NextProtos (not really possible, since ideally we want all of them, but we can live with this), and then setup TLSNextProtos to serve http/1.1 for all those ALPNs. This seems to require completely reimplementing the HTTP/1.1 serving code which is highly undesirable.
Re-implement TLS ??? Clearly not a good idea.

Is there any viable workarounds? Right now we are stuck.


fix: Required envs should not be blank

Right now it's only checking whether the variable is undefined or not. Blank values would be deemed as valid for required envs. This PR makes a small change to also check that it's not a blank string.

Branched from master, should've been develop.


Communication: Fix Tagging other Users does not work

This resolves issue #65
Now using a different API endpoint for searching tag candidates (matching iOS and WebApp behaviour).
Out of Scope
While testing the implementation I found minor bugs / chances to improve the UI/UX, but I will create a separate issue #72  for this. This PR only focusses on the functionality.

Also add an integration test that checks that the application can talk to the server properly.

@TimOrtel Could you elaborate? I am not sure what you mean by "the application can talk to the server properly". Should this just be a generic test whether the ConversationViewModel can communicate with a MockServer via requestReload() or tailored to the tagging behaviour?

Also add an integration test that checks that the application can talk to the server properly.

@TimOrtel Could you elaborate, please? I am not sure what you mean by "the application can talk to the server properly". Should this just be a generic test whether the ConversationViewModel can communicate with a MockServer via requestReload() or should the test somehow be tailored to the tagging behaviour? If so, how?

You can see exemplary integration tests in feature/metis/conversation/src/test/kotlin/de/tum/informatics/www1/artemis/native_app/feature/metis/conversation/ConversationAnswerMessagesE2eTest.kt


Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ']'

While installing multi auth with laravel 5.1 , its showing the error like Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ']'
in this line
Illuminate\Auth\AuthServiceProvider::class -> Kbwebs\MultiAuth\AuthServiceProvider::class
in config/app.php

Hi @yokesharun,
Your error suggests that, you are trying to paste the entire line which @kasperbasse mentioned in his README.md file. Try to replace the
Illuminate\Auth\AuthServiceProvider::class
with
Kbwebs\MultiAuth\AuthServiceProvider::class  on line 117 in your app.php file . Do the same with
Kbwebs\MultiAuth\PasswordResets\PasswordResetServiceProvider::class too.
Hope this resolves your problem..

just add a "," in the end of line..


TensorFlow/Keras port

@vztu @Yinxiaoli
I worked on porting all the public MAXIM models to TensorFlow: https://github.com/sayakpaul/maxim-tf.
There are some WIPs: inference Colab, polished README, etc. Actively working on those.
Here, one can find all the ported SavedModels: gs://maxim-tf.
Additionally, I have created several Space applications on Hugging Face for better interactivity with the models:

Denoising
Low-light enhancement
Dehazing indoors
Dehazing outdoors

Will be adding the rest in the coming days. Would you be willing you to add a line about the TF repository from the README? I will be publishing the TF ported models on TensorFlow Hub too. As of today, they're available on Hugging Face: https://huggingface.co/sayakpaul.
@innat I also saw #29. Seems like we both started working on porting the models. If you're interested, you can contribute the rest of the Spaces applications.
Cc: @gustheman

Sure. If the KerasCV team includes it in the ROADMAP, I don't see any problems. But we can always revisit it. Thanks for the support :)

As no implementation cost from scratch, I think it shouldn't be a problem.
@LukeWood @tanzhenyu

Thanks a lot for these great efforts @sayakpaul @innat!
We'll be updating the README to acknowledge your codebase as well as huggingface spaces soon. Please let us know if you need any supports on our side.

Thank you :)

Thanks for mentioning the project. Would you also mind mentioning Space application links?

Sure, glad to do that. I found you have multiple spaces for each task. Could you make it more unified so that I only need to add a single link? Or you can summarize them in your README file and I point to that.

I created a PR: https://github.com/google-research/maxim/pull/33

Merged. Thank you!

Thanks!


CSS

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

added css code with feature/add-css branch


Add python code execution button to chat window for enhanced workflow productivity

I'd like copilot to generate python code to make code edits.
Goal:
I need to move/refactor a bunch of localization strings between two files package.json and package.nls.json
example here

##Things I tried:
Copilots completion suggestions in the package.nls.json was coming up the the correct format but it was also changing the loc string very slightly (subtle bugs)
Then i tried asking it to make edits for me and it generated python code because it said it couldn't do it.
"As an AI, I don't have the ability to directly edit your files. However, I can guide you on how to make the changes."

I would be nice to have copilot in excel/vscode/vs be able to execute generated python code from the chat window.
We could also have Language server support on the copilot generated python code before it executes, along with a preview diff of resulting edits
Similar to this vid where George adds python execution to his chat output.
https://youtu.be/2QO3vzwHXhg?si=68omwxAytVuSpyhY&t=12391

I think this is something that should be able to be handled without code execution, and somewhere there is an issue for improving cross-file edits and context like this. But enabling code execution is another solution and I'll keep this issue open for that.

Alternatively, looking at the recent text edits for a pattern and suggesting a code action could also work.


Eran/identity - WIP

Subsystem:
SUCCESS! -- 45 Passed | 0 Failed | 0 Pending | 0 Skipped
System:
http://<IP_ADDRESS>:8080/job/test-infra/2029/


fix: pkg description

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-rc.1 :tada:
The release is available on npm package (@rc dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[ENG-93] Fix images and add svg extension to broccoli

Purpose
To fix images not appearing on localhost:5000 and staging environments.
Summary of Changes

Add svg to supported file extensions for broccoli
Created new-home folder in assets and moved images there
Updated image src url's to match new path

Side Effects
N/A
Feature Flags
N/A
QA Notes
N/A
Ticket
https://openscience.atlassian.net/browse/ENG-93
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 2993

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

Totals

Change from base Build 2991:
0.0%

Covered Lines:
6252

Relevant Lines:
7794

💛  - Coveralls