Add loading indicator while fetching mentor profiles

Describe the bug
A clear and concise description of what the bug is.
When users click on the "Find a Mentor" button on the Home Page, there is no loading indicator displayed while the application is fetching mentor profiles from the backend API. This can lead to a poor user experience, as users may not know if the application is still processing their request or if there is an issue with the API response.
To Reproduce
Steps to reproduce the behavior:

Go to Home Page
Click on the 'Find a Mentor' button
Observe that no loading indicator is displayed while the application is fetching mentor profiles

Expected behavior
A clear and concise description of what you expected to happen.
When the user clicks on the "Find a Mentor" button, a loading spinner or indicator should be displayed to inform the user that the application is processing their request and fetching mentor profiles from the backend API. The loading indicator should be visible until the API response is received and the mentor profiles are displayed on the page.
Screenshots
If applicable, add screenshots to help explain your problem.
https://github.com/user-attachments/assets/6422fcb1-5f10-4977-845c-c56b7b9741c8
Desktop (please complete the following information):

OS: Linux Mint 21.3
Browser Firefox
Version 128.0

Additional context
Add any other context about the problem here.
Are you working on it?
No

I will be working on this!

@inushaPeiri go head🚀

@inushaPeiris Hi, any updates on this issue ?

@inushaPeiris this issue is already implemented, sorry. Thank you :)

@mayura-andrew Noted!


Add-PnPHubSiteAssociation syncing permissions regardless of setting

Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:

Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature
Reporting an Issue
Expected behavior
Add-PnPHubSiteAssociation links site to hub without syncing permissions if the setting is currently turned off
Actual behavior
Add-PnPHubSiteAssociation is adding the Hub Visitors permission group regardless of current hub permissions sync settings
Steps to reproduce behavior
Add-PnPHubSiteAssociation -site $site.url -HubSite "[hub site url]"
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
1.5.0
Which operating system/environment are you running PnP PowerShell on?

[x ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

@jessierobbins - Having the "Hub Visitors" group in the associated site(s) is a behavior we can also see even when we go through the SPO interface. However, the users added to the Hub Visitors group in the HubSite are not present inside this group in the associated site if the setting Sync hub permissions to associated sites is turned off.
After testing, that's also what the Add-PnPHubsiteAssociation is doing (I've used v1.5.50-nightly)
Please reopen if users in the Hub Visitors group (in the Hubsite) are also present in the Hub Visitors group in the associated site(s) are showing up.

@veronicageek - we're not seeing this behavior when performing the actions via the SPO interface, only via the Powershell command.  If it makes a difference, we're on a GCC tenant.


will it work with blazor server

hi ,
i read this https://docs.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/wpf?view=aspnetcore-6.0,
so will this work in blazor -server app ?

Hi,
I don't see any reason why this would not work. Have you tried it?

Nope, not yet. new to blazor,is there any kind of canvas for WPF rendering ?

It's actually the other way around. You have a WPF app that displays razor pages inside web views (using BlazorWebView).
https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/wpf?view=aspnetcore-6.0
I can't help too much here, so I'm gonna close this issue.


Merge dev into main for the next release

Preview is available here:http://soroban-docs-pr264.previews.kube001.services.stellar-ops.com/


Update GameSalad to 0.13.41

Thank you for the contribution. It was merged directly as 73e2efd42816917addb451580eb9bf685f24768d to keep commit history cleaner. Your contribution is still credited to you.


Ordering of pages in the tutorial seems incorrect

When reading the Error Handling 2 section, it suddenly goes back to Unit Testing 5 at the end of this page: https://fprime-community.github.io/fprime-tutorial-math-component/docs/error-handling-2.html
Should unit testing 5-7 be part of the existing Unit Testing section? It was a bit confusing when the sections appeared out of order.

I believe splitting the sections up was a conscious decision by the original author. Slowly build things up, and reuse what you just built in other sections. Although I'm not entirely sure about this specific case.

I agree that the ordering of sections seems jumbled. For comparison, here is the original layout of the Math Component tutorial from the first release of FPP:
https://github.com/nasa/fprime/blob/v3.0.0/docs/Tutorials/MathComponent/Tutorial.md
In the original version, the error handling material was in a separate subsection of the Math Receiver section, and not in the middle of the unit testing section.
A related issue is that it is hard to know where you are in the tutorial when you land on a page. For example, the page linked above is in the middle of Section 6 (I think). Nothing on the page indicates that. It would help to have previous and next buttons on each page, and a more complete table of contents to see the structure.

Thanks everyone. We typically use mkdocs with the mkdocs-material theme for internal documentation, which fixes the "where am I?" issue.
I took a stab at implementing it for this tutorial on my fork. Here's the rendered page if you want to see what it looks like: https://keck-in-space.github.io/fprime-tutorial-math-component/
Mkdocs also adds search, dark mode, and a TOC for each page.

Thanks, looks good! The organization is better, because the unit testing material is now all together, and the error handling is in a separate section.
The mkdocs format looks great. The structure of the tutorial is much clearer in this format. The search box provides a capability that someone asked about at a recent F Prime workshop. I think this proposal should be part of a larger discussion on how to improve the formatting of the F Prime docs.
If you want to implement these changes, then I recommend the following:

Make a PR with just the changes to the organization and cross-links, keeping the current format for now.
Start a discussion on doc formatting on nasa/fprime: https://github.com/nasa/fprime/discussions.

For example, the page linked above is in the middle of Section 6 (I think).

My revised opinion is that linked page is in Section 8, but the cross-links pop out of Section 6, traverse sections 7 and 8, and then go back into Section 6. This definitely needs to be fixed.

@keck-in-space thank you so much for taking the time to bring this up, I really like the navigability of it as well. We will most definitely look into mkdocs.

Thanks for the comments! I opened a PR with the navigation fixes on this repo, and also opened a discussion here: https://github.com/nasa/fprime/discussions/2635


Add support of CORS

Pull request for issue 947 "Make Cowboy CORS friendly".

Thanks, a few comments. Note however that this will break in a week or two when I finally merge back my current set of changes (huge).

I will not merge until I review the CORS specs, so please be patient
I will not merge until there's tests or I have time to write some; those must be based on real-world use cases and added to a relevant Common Test suite (or a new suite must be created, probably this)
It seems that there's parsing code in this PR. Header parsing code should be in cow_http_hd in cowlib (along with tests and benchmarks)
I am not sure the function binary_join is necessary
Use maps, the whole proplists converted to a record is completely unnecessary

I will write the tests. I will also replace proplists on maps, you're right it's a better choice.
As for headers, I see that I can reuse token_list function from cow_http_hd module to parse comma separated lists in headers more effectively. But I didn't see something to build such a list (like this, "Access-Control-Allow-Methods: PUT, DELETE, XMODIFY"), so I could throw binary_join away.

Hey, I will try to get to this this week-end. I finally read the CORS spec so we can move forward.
This seems like a good first step, but I think we should also better integrate CORS support with cowboy_rest. Most of the info can be filled automatically there, except the origin check, max-age and exposed-headers, so it could be very nice to have.

Hi at all,
are there news about CORS for cowboy?
Thanks :)

@hachreak, the main conversation is here.

hi @manifest, I saw that the PR for cowlib have been merged.
It's mean that also this PR will be merged too?
Thanks :)

@hachreak, this PR is currently obsoleted. You can implement the support of CORS in a way described in the last few comments here, using new functions of cowlib. Will it work for you?

if you have time, can you add a example that show how it works? :)
This will be really useful to anyone want use it.

@hachreak, have you seen an example here? Is it not clear how you can implement CORS support from that example or you mean an example in the docs?

I mean an example inside examples/ directory.

Ok, will do it.

@manifest thanks a lot! :D


[DOC] Update API and examples

Closes None.

Changes proposed in this pull request:

Update the API file to reflect the updated package structure.
Update affected examples.

Here's the interlinking issue I was referring to: https://3722-117724523-gh.circle-artifacts.com/0/tmp/src/NiMARE/docs/_build/html/auto_examples/02_meta-analyses/plot_cbma.html#sphx-glr-auto-examples-02-meta-analyses-plot-cbma-py
The MKDADensity in the example links to the CBMAEstimator documentation instead.

Once tests pass I'll merge.


Create hups.txt

Official website of university: https://hups.mil.gov.ua

@starlexleviaphan Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Auth Issue with TEOC App in Teams

Hi Team,
All the deployments steps are followed as per the deployment guide and now when we try to access the TEOC app from teams it given a login button on click of which nothing happens just a pop-up shows up and goes without any results.

on the console the below logs are recorded:

Hi @Liveingeo ,
Thanks for reaching out. I would suggest you validate some of the below items.

Verify the deployment is successful without any errors.
Check the azure app manifest file to ensure all the changes are done as per the documentation.
If you don't see any issues with these, please replicate the error in browser version of teams and share us the log file and  network trace (Har file) for further troubleshooting.

Hi Team,
Any update on this issue fix.

Hi @Liveingeo ,
Thanks for sharing the Har file. Can you please open the baseresourcesimpleauth app service and try adding https://baseresource.azurewebsites.net as an allowed origin in the CORS settings?

Then restart that Simple Auth app service and verify the behavior. If the issue still persists, I would recommend you to do the fresh deployment from the scratch with the new unique base resource name. Please let us know if you need any additional information.

Hi @v-prigunasek ,
We added https://baseresource.azurewebsites.net/ as an allowed origin in the CORS settings and restarted the  Simple Auth app service but the issue still persists.
We can try a fresh installation but could you let us know if there is anything which we need to be mindful of in this attempt as we followed the deployment steps last time as well?

@v-prigunasek : With the redeployment the issue got resolved , I believe it was the  Base Resource name needs to be all lowercase without special char or space was the key to the fix.


Error Message : Unable to read global congif: yaml: control characters not allowed.

Describe the Problem
I was trying to install drupal 9 as a new project and suddenly the installation failed. Due to which I had to close my powershell and re-open in with admin rights. However, upon running the DDev command Im receiving the error mentioned below.
PS C:\Users\User> ddev
time="2021-08-03T15:46:54+05:30" level=fatal msg="unable to read global config: yaml: control characters are not allowed
To Reproduce**
Create a directory (mkdir my-new-project)
Change to the new directory (cd my-new-project)
Run ddev config
Then choose Drupal 9 and then installation failed.
I thought of creating a new installation, went back to the Users/User directory and found the project and deleted it.
Came back to Powershell and ran Ddev command and received the above mentioned error.
Went back to recycle and restored the deleted project.
Came back to powershell and ran the came command and I hit the same error again.
Screenshots

Version and configuration information (please complete the following information):

Host computer OS and Version: [e.g. Windows 10, macOS Big Sur, Linux (distro), WSL2 (distro)]
-Windows 10 - WSL2(UBUNTU)
Docker Desktop version if on macOS or Windows (from "About Docker Desktop")
3.5.2 (66501)
ddev version information (use ddev version)
Latest version as its a fresh installation and Im unable to run any ddev commands to check the extact version.
config.yaml contents for the misbehaving project

name: BTev
type: drupal9
docroot: ""
php_version: "7.4"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
mariadb_version: "10.3"
mysql_version: ""
use_dns_when_possible: true
composer_version: ""
web_environment: []

The problem is your global ~/.ddev/global_config.yaml - it's corrupted somehow, perhaps you edited it. Can you share it?

unable to read global config: yaml

That's global_config.yaml in the .ddev folder in your home directory.
You can actually just delete it and ddev will recreate a valid one, so that's an angle to consider.

No response from OP, so I hope it worked out. Closing this for now, happy to continue the conversation here or elsewhere.


add a URl of the web u want to use the tool on

i wish to add a URL section to add the web u want to use the tool on.

That would be nice, however I think it would require a browser permission for all data on all urls upon installing the extension, which I find a too extensive permission for a plugin that should only work on the Netflix domain.
I made this other plugin that should work on all websites: https://github.com/laurens94/video-seeking-everywhere
but that one hasn't been updated in a while.


Force container eject while on vehicle make content stuck

Description

It title
Reproduction

Remove clothes while have PDA on it

Screenshots

https://github.com/space-wizards/space-station-14/assets/14136326/46a0f8e1-4b4a-4064-bb5e-48aed21a1bf4
Additional context

Vehicles removed awaiting better implementation.


poetry search fails with ParseVersionError

[x ] I am on the latest Poetry version.

[x ] I have searched the issues of this repo and believe that this is not a duplicate.

[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Windows 8 x64

Poetry version: 0.12.16

Link of a Gist with the contents of your pyproject.toml file:  not relevant

Issue
While poetry search rest1 works fine, poetry search rest dumps this:
$ poetry search rest -vvv

[ParseVersionError]
Unable to parse "e876c0f".

Exception trace:
 c:\python36x64\lib\site-packages\cleo\application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 c:\python36x64\lib\site-packages\poetry\console\application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 c:\python36x64\lib\site-packages\cleo\application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 c:\python36x64\lib\site-packages\poetry\console\commands\command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 c:\python36x64\lib\site-packages\cleo\commands\base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 c:\python36x64\lib\site-packages\cleo\commands\command.py in execute() at line 107
   return self.handle()
 c:\python36x64\lib\site-packages\poetry\console\commands\search.py in handle() at line 20
   results = PyPiRepository().search(self.argument("tokens"), flags)
 c:\python36x64\lib\site-packages\poetry\repositories\pypi_repository.py in search() at line 224
   result = Package(hit["name"], hit["version"], hit["version"])
 c:\python36x64\lib\site-packages\poetry\packages\package.py in __init__() at line 40
   self._version = Version.parse(version)
 c:\python36x64\lib\site-packages\poetry\semver\version.py in parse() at line 205
   raise ParseVersionError('Unable to parse "{}".'.format(text))

search [-N|--only-name] [--] <tokens> (<tokens>)...
$

I have the same issue as OP, though with a different version, so I did not file a new issue.

[x] I am on the latest Poetry version.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
However, it is highly related to #1126.
[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: macOS 10.15.1 (19B88)
Poetry version: 0.12.17
Link of a Gist with the contents of your pyproject.toml file: nonexistent, happened first during poetry init, but can be reproduced with poetry search.

Issue

poetry init (and poetry search, which I use below) fails to parse youtube-dl's version:
poetry search youtube-dl

[ParseVersionError]
Unable to parse "Beta.2".

If I do a poetry search youtube_dl (note the underscore), I get a useful result which does not report the "Beta.2" version:
poetry search youtube_dl -vvv

youtube-dl (2019.11.22)
 YouTube video downloader

youtube-archive (1.0.0.dev1)
 Archiver for youtube_dl

youtube-dl-server (0.3)
 An API server based on youtube_dl

The first of which is the result I want to have.
Log for original search call:
poetry search youtube-dl -vvv

[ParseVersionError]
Unable to parse "Beta.2".

Exception trace:
 /usr/local/lib/python3.7/site-packages/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /usr/local/lib/python3.7/site-packages/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /usr/local/lib/python3.7/site-packages/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /usr/local/lib/python3.7/site-packages/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /usr/local/lib/python3.7/site-packages/cleo/commands/base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 /usr/local/lib/python3.7/site-packages/cleo/commands/command.py in execute() at line 107
   return self.handle()
 /usr/local/lib/python3.7/site-packages/poetry/console/commands/search.py in handle() at line 20
   results = PyPiRepository().search(self.argument("tokens"), flags)
 /usr/local/lib/python3.7/site-packages/poetry/repositories/pypi_repository.py in search() at line 224
   result = Package(hit["name"], hit["version"], hit["version"])
 /usr/local/lib/python3.7/site-packages/poetry/packages/package.py in __init__() at line 40
   self._version = Version.parse(version)
 /usr/local/lib/python3.7/site-packages/poetry/semver/version.py in parse() at line 205
   raise ParseVersionError('Unable to parse "{}".'.format(text))

search [-N|--only-name] [--] <tokens> (<tokens>)...

Hello @shoeffner ,
could you please test it with the latest preview release?
Thanks a lot!
fin swimmer

search seems to work, but init fails when having to provide a description with the following error:
'ascii' codec can't encode character u'\xf6' in position 28: ordinal not in range(128)
Seems to be looping forever.

\xf6 is ö, which is part of my last name (Höffner) which gets picked up by the poetry presumably somewhere down the rabbit hole of https://github.com/python-poetry/poetry/blob/master/poetry/console/commands/init.py#L104.
By providing --author, it works.
The issue here (the version name) is resolved – at least for me.


KOGITO-7636 SW configuration properties guide

The goal here is to simply describe the current configuration properties we have that are relevant to SW.
In case we want to rename, lets create JIRA to track it.

@cristianonicolai nice work. Should not we add a brief description of each property base on the javadod already present in the config bean?

This guide ideally should be generated based on the Java code, so we would make it up to date with the code changes.

@ricardozanini @fjtirado added description

@hmanwani-rh ready for your review

Merging this PR to create a patch PR with doc improvements.


Can't open web links from editor in Ubuntu Server 18

Clicking on web links in the editor does nothing in Ubuntu.

VSCode Version: 1.36.1 and 1.37.0-insider
OS Version: Ubuntu Server LTS 18.04.02 4.15.0-54-generic 64-bit (Windows version works as expected)

Steps to Reproduce:

Create new file myfile.txt
Insert "https://code.visualstudio.com/"
Hover over text to produce tooltip "Follow link (ctrl + click)"
Control-click the text (tried double clicking as well)
Expected: link opens in default web browser (/usr/bin/firefox)
Actual: nothing happens

Also, can’t open links in other places such as the extensions menu: for example, when viewing the “One Dark Pro” theme, links such as "Repository" don't open although they appear to be clickable.
Does this issue occur when all extensions are disabled?: Yes
Here's the output of sudo update-alternatives --config x-www-browser:

There is only one alternative in link group x-www-browser (providing /usr/bin/x-www-browser): /usr/bin/firefox
Nothing to configure.

We delegate to electron for opening links

Closing in favor of https://github.com/microsoft/vscode/issues/77653


Add Python 3.11 pre-releases

Tool name
Python
Tool license
PSF
Add or update?

[ ] Add
[X] Update

Desired version
Whatever is latest 3.11 pre-release, currently 3.11.0a1
Approximate size
No response
Brief description of tool
No response
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Quick question: Is Python 3.11 available in the Azure UsePythonVersion task? I can't find it in the docs.

@EwoutH no, it is not as the task can't download versions on the fly and Python 3.11 is not pre-cashed on the image.


最新版本，启动一个消费者后，再开启另一个后报错

$result['partitionAssignments']['topicName']读取的是前一个消费者的topicName值，
两个消费者 不同时开启，均可单独消费成功
ErrorException  : Undefined index:code
at /www/wwwroot/api.ircjx.com/vendor/nmred/kafka-php/src/Kafka/Consumer/Process.php:387
383|
384|         $brokerToTopics = array();
385|         foreach ($result['partitionAssignments'] as $topic) {
386|             foreach ($topic['partitions'] as $partId) {

387|                 $brokerId = $topics[$topic['topicName']][$partId];
388|                 if (!isset($brokerToTopics[$brokerId])) {
389|                     $brokerToTopics[$brokerId] = array();
390|                 }
391|

Exception trace:
1   Illuminate\Foundation\Bootstrap\HandleExceptions::handleError()
/www/wwwroot/api.ircjx.com/vendor/nmred/kafka-php/src/Kafka/Consumer/Process.php:387
2   Kafka\Consumer\Process::succSyncGroup()
/www/wwwroot/api.ircjx.com/vendor/nmred/kafka-php/src/Kafka/Consumer/Process.php:193
Please use the argument -v to see more details.

[2020-06-18 10:32:11] local.INFO: Kafka/Consumer/Process.php:69"2.5.0", ["code"]
[2020-06-18 10:32:14] local.INFO: Kafka/Consumer/Process.php:191{"errorCode":0,"partitionAssignments":[{"topicName":"code","partitions":[0,1]}],"version":0,"userData":""}
[2020-06-18 10:32:14] local.INFO: Kafka/Consumer/Process.php:382{"errorCode":0,"partitionAssignments":[{"topicName":"code","partitions":[0,1]}],"version":0,"userData":""}topic{"code":[3,1]}
[2020-06-18 10:32:15] local.INFO: Kafka/Consumer/Process.php:69"2.5.0", ["order"]
[2020-06-18 10:32:20] local.INFO: Kafka/Consumer/Process.php:191{"errorCode":0,"partitionAssignments":[{"topicName":"code","partitions":[0]}],"version":0,"userData":""}
[2020-06-18 10:32:20] local.INFO: Kafka/Consumer/Process.php:191{"errorCode":0,"partitionAssignments":[{"topicName":"code","partitions":[1]}],"version":0,"userData":""}
[2020-06-18 10:32:20] local.INFO: Kafka/Consumer/Process.php:382{"errorCode":0,"partitionAssignments":[{"topicName":"code","partitions":[0]}],"version":0,"userData":""}topic{"code":[3,1]}
[2020-06-18 10:32:20] local.INFO: Kafka/Consumer/Process.php:382{"errorCode":0,"partitionAssignments":[{"topicName":"code","partitions":[1]}],"version":0,"userData":""}topic{"order":[2]}


No audio

Already check the windows audio configs, all my browsers have audio.. but nothing with the stremio enhanced. What can I have to do to fix it? Thanks! Great job!

me too no audio

Hello,
Me too i have no audio and when i change somethings in the settings it doesnt save.. I tried to launch Stremio Enhanced in admin but nothing change.

I'm also having this issue. Are there any updates?

mkv files don't have audio on the web version of stremio for some reason use mp4

This issue alone makes this whole project not worth using because most of the mp4 files are super low quality if this is fixed i would definitely use it as of now just gonna sit on my drive now.


new docs formatting

formatting changes needed for the new docs
CR @csobier @rochoa

cc @alonsogarciapablo

I'd be nice to remove the horizontal overflow bar from examples when there's no need for it. Example:

We're not being very consistent with the order of the sections inside each method (Arguments, Returns, Example, etc.). I'd try to keep it consistent and I think it makes sense to have the examples at the end of each section.

CR done! Great work so far @matallo! :clap:

I rearranged and retexted the sections when needed for consistency, merging then \o/


MINOR: Clean up some redundant code from ReplicaManager

brokerEpoch has been processed in handleStopReplicaRequest, and has no practical effect in ReplicaManager.stopReplicas.
responseMap.put(topicPartition, Errors.forException(e)) has a redundant put in stopReplicas.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chia7712 Can you take a look at this pr if you have free time? Thanks, :)


Sign in with Live Share broken

Product and Version: vscode insiders
Version: 1.42.0-insider
Commit: cbeff45f80213db0ddda2183170281ed97ed3b12
Date: 2019-12-13T07:05:12.353Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0
Live Share Extension Version: 1.0.1377
Steps to Reproduce / Scenario:

Live Share side bar
Click on "Sign in with Live Share" button
See error

Logs: live_share_log.zip

Duplicate of #3070
A fix for this issue with VS Code Insiders will be released soon.


Don't run prepare on deploy branch

Not sure if the other jobs which require it will automatically inherit this

@snario I might be missing something, but don't you need to build monorepo packages that the xstate-wallet and w3t depend on (like nitro-protocol and wire-format) before building those packages? That is basically what prepare job does.

I think that is happening here right now
https://github.com/statechannels/monorepo/blob/fb276ae49838a773d9cf3ccc2129f04f274c36da/.circleci/config.yml#L328-L328
Also, deploy runs in parallel to prepare

release-netlify-production definitely need prepare actually, but not release-hub-production

Check out https://app.circleci.com/pipelines/github/statechannels/monorepo/5865/workflows/075b8ee1-459d-42ce-ab78-429ab198da8f to see the job depencdy graph of a deploy workflow. release-hub-production does not depend on prepare for the reason you pointed out. release-netlify-production depends on prepare for the reason I pointed out.

You're right  -- the spirit of this PR was to not re-run the tests on deploy, let me change it to do that correctly

You're right -- the spirit of this PR was to not re-run the tests on deploy, let me change it to do that correctly

Gotcha. I am of the opinion that we actually want to run test on the deploy workflow. What if the deploy branch contains a hotfix that was never included in master? In that case, the tests would never get run for that code change.
Also, the test are non-blocking for deploys, so the only downside is that we are burning circlci credits. But how often do we expect to deploy?

What if the deploy branch contains a hotfix that was never included in master?
I think we should open PRs against master in addition to committing hotfixes

So then master might contain commits A->B-H where H is a hotfix. deploy might contain commits A->H because B is not ready for deployment. What if H doesn't work without B? Tests might help us catch that.

My overall points are:

It is not a given that tests have been run on the code being deployed.
Tests are not blocking, so why not run them?


Access code flow changes

Closes https://trello.com/c/vOZOZpTV/373-m-rejig-the-access-code-sin-dob-logic-so-that-its-closer-to-what-we-want-by-the-end
Essentially, this PR simulates the authentication flow described in the trello card. db.json simulates the new database containing login info (access code, sin, dateOfBirth). This moves main session population to the dateOfBirth post action. Essential session creation is still done in the access code post, but most fields are left empty until population later.
I just realized that I need to write a couple more tests for validation to replace the ones I removed from the SIN page, so I'll just throw this up as a draft for now.

Had to go catch a bus but wanted to leave next steps here.
I still feel like we should wait until the date of birth post to actually populate from user.json. The next step from my last commit would be to keep the session (aside from session.db) completely empty until then, not the object with empty values that I had previously.
With the addition of the session.db variable, neither the sin or DoB pages will need to depend on the rest of the session existing, so any leftover code there can port over to checking against session.db.
I didn't get a chance to gut any of the schema on these pages yet.

Note: LGTM is mad about there not being rate-limiting. Looks like something we can add without too much bother, but let's save that for another PR.
https://lgtm.com/rules/1506065727959/

Turns out I can't add a review because I made the PR, but LGTM! 🦑


Feat/1136 elements ordering for pdf <- Ingest test fixtures update

This pull request includes updated ingest test fixtures.
Please review and merge if appropriate.

closing since will need to be re-run after reverting individual_blocks -> entire_page in https://github.com/Unstructured-IO/unstructured/commit/e7d189fcc8c3b0f8dfca361eb56775217215e1ab .


Decide on module 2 functions to be completed with the other group sharing the same module

Proposed Features:

Adding Members into Project Role
Pin function allowing users to pin important projects on top of the website
Store projects that have ended in archive/history tab
Project sorting functions (By date, member and etc)
Allow client to download project description exported via pdf
Generate reports for project progress and people managing the project
Project category filters
Manage a list of projects (Add, update, delete, view)
Search function to search the projects


Incorrect agent result

User Agent: ping.blo.gs/2.0
Source Url: http://blo.gs/ping.php

Brilliant, thanks for reporting this. I have added this to the list of crawlers in 2c4918bb7799b90557f9a67104408bc8b8a890c4


Staged compilation for unsafePerformIO

When external functions (such as ad) uses unsafePerformIO, currently one viable way to circumvent the blocking categorization situation is to wrap the function and inline the result of the function before categorization. This can be only applicable for functions that generates expression, not values, but in old code generation, unsafePerformIO is also only available only for generating phase functions, so this should be compatible with our approach.
Acceptance Criteria:

Make some smaller target to focus on unsafePerformIO problem.
Create wrapper generator for such external functions
Apply it to ad case
Make H&G target buildable (since this is the last problem of its categorization)

(Extricated from https://kitty-hawk.atlassian.net/browse/SW-3432)

Comment: Independently from this unsafePerformIO issue, in practice, the use of the ad library in categorifer-c generated code should be passed through autointerpret. The reason is because to have differentiated function at compile time and use it in already-compiled form at use sites enormously saves computations.
If we use only inlining for H&G-like function, then the differentiation is invoked at run time at every call site.
Note that this was essentially what we observed when comparing the performance difference between generated C and using autodiff C++ library (the former was few hundred times faster than the latter).


bug: PUT /data/{name}

There is a bug when creating a database, if you call PUT /data/{name} and the database already exists, the system is returning a 500, it should return a 200 indicating that the database exists. NOTE: this may be an issue with the adapter in this case pouchdb, need to consider what capabilities are available to make sure adapters implement this desired outcome. This will also client setups to run setup, and migration tasks in an idempotent way.

Fixed!


Option to prevent deprecated things from showing up in intellisense suggestions

I'd like a setting to optionally prevent deprecated things from showing up in intellisense suggestions.
For example, I'd like a way to prevent assert.equal from being suggested here, so that I don't use it despite a non-deprecated version being available.

My linter can catch it, but it'd be even nicer never to see the deprecated option.
There are several documentation systems that use the @deprecated tag:

JSDoc: https://jsdoc.app/tags-deprecated.html
TSDoc: https://github.com/microsoft/tsdoc/blob/c5279394fa17bd6aa20ae711563b7923d44f822d/tsdoc/src/details/StandardTags.ts#L54-L58
JavaDoc: https://docs.oracle.com/javase/7/docs/technotes/guides/javadoc/deprecation/deprecation.html#javadoc_tag
Yard (for Ruby): https://www.rubydoc.info/gems/yard/file/docs/Tags.md#deprecated

Other systems use different, similar tags.
I'm not sure if this is an issue for the VSCode core, or for something language-specific.

Sorry if this is a duplicate or is already possible. There are enough issues here and questions/answers on Stack Overflow that it's hard to tell.

This can be implemented by individual language extensions today (not striking out but #50972 tracks that). Adding @jrieken just to see this is something we want better VS Code api support for in some way

I'd say this is a dupe of #50972 and it would be us adding some API flag and then allows users to configure how the suggest UX is handling that flag

/duplicate of #50972

Okay, that makes sense.
What does "js/s" mean?

@mjbvz, is it possible add a setting like editor.suggest.showDeprecated, so I can disable it to prevent deprecated from showing up in suggestions list?

@mjbvz, is it possible add a setting like editor.suggest.showDeprecated, so I can disable it to prevent deprecated from showing up in suggestions list?

Hey @jrieken any update on that?

Hey @jrieken any update on that?

Verify that the setting "editor.suggest.showDeprecated" exists and that it filters deprecated elements from IntelliSense


Update x/net package (#48)

Description
Merge the following change from release branch to main branch.

Update x/net package.

GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/583

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[x] I have maintained at least 90% code coverage
[ ] I have inspected the Grafana dashboards to verify the data is displayed properly
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] make check test

➜ make check test
./scripts/check.sh ./cmd/... ./opentelemetry/... ./internal/...
=== Checking format...
=== Finished
=== Vetting...
=== Finished
=== Linting...
=== Finished
=== Running gosec...
=== Finished
go test -count=1 -cover -race -timeout 30s -short ./...
?       github.com/dell/csm-metrics-powerstore/cmd/metrics-powerstore   [no test files]
ok      github.com/dell/csm-metrics-powerstore/internal/common  0.174s  coverage: 91.7% of statements
ok      github.com/dell/csm-metrics-powerstore/internal/entrypoint      0.708s coverage: 91.4% of statements
?       github.com/dell/csm-metrics-powerstore/internal/k8s/mocks       [no test files]
ok      github.com/dell/csm-metrics-powerstore/internal/k8s     0.077s  coverage: 91.8% of statements
?       github.com/dell/csm-metrics-powerstore/internal/service/mocks   [no test files]
?       github.com/dell/csm-metrics-powerstore/opentelemetry/exporters  [no test files]
?       github.com/dell/csm-metrics-powerstore/opentelemetry/exporters/mocks   [no test files]
?       github.com/dell/csm-metrics-powerstore/opentelemetry/tracers    [no test files]
ok      github.com/dell/csm-metrics-powerstore/internal/service 0.076s  coverage: 90.3% of statements

Manual inspection of the GUI
I have verified that the dashboards show the data properly while generating I/O and storage resources

[ ] Yes
[x] No

e2e pass


Enforce the "no missing requires" rule

This configures the openlayers-internal/no-missing-requires rule at "error" level.  This wasn't done previously because:

we use lowercase constructors in ol.ext (e.g. new ol.ext.pbf()) - this is addressed with 584d4f67bda150da4bb24ec9946542bf62e8c4a6
we deeply require ol.ext.foo things (e.g. ol.ext.vectortile.VectorTile) - this is addressed with 3f973e6fa3988473cdf1f3fc6875c1c2912a7a20
the generated shader code creates single modules with multiple constructors - this is side stepped with 479d98212b16c3196d80f6fae35c8e7fb5b54798

With the changes above, we can fail if the rule is not satisfied (49b5bbc964555d2cb8d430d44db82db150ed9473).
In addition, to avoid things like #6753 in the future, we ensure the package builds and run the linter on the built package (ignoring **/*webgl*) as part of the Travis job.

I don't have the patience to deal with the Compiler right now.  I'll get back to this later.

I put together a new task that uses Rollup to wrap dependencies for the Compiler (and the full build is now 3K smaller).
This is ready for review now.  The main purpose of this branch is to make it so we don't accept changes that break the ol package.

Thanks for the reviews.

What about removing the --quiet option to eslint in the Makefile?

Removed in 3c6239653393f9e88ca3280a19dca8e074fd38ba.


NullReference in PlatformSettings (having only FluentAvalonia in the Application.Styles)

Describe the bug
There is a NullReference-exception showing that the PlatformSettings are null in the method 'ResolveThemeAndInitializeSystemResources()'
Screenshots
Error + callstack:

Application Styles:

Desktop/Platform (please complete the following information):

OS: Windows (11/10)
FluentAvalonia Version 2.0.0
Avalonia Version 11.0.2

Additional context
Am using Microsoft DI Extensions, Boostrapper for configuring DI

Try with the new 2.0.1 package. I really don't know why this is occurring though. The docs say PlatformSettings is non-null after the application instance initializes which occurs before xaml is parsed and that method is called, so the fact that it is null means something is wrong. I haven't had any issues and no other issues have come up (that I'm aware of), so my suggestion would be to maybe start with a new project and start adding your components slowly back to see if it breaks, then that might indicate why this is happening

In the new project it indeed doesn't happen, we found out it happens when you manually create the App.Ctor and call the override of Initialize() in it (which in turn just does the AvaloniaXamlLoader.Load(this)). Then it's not the PlatformSettings that are null - but the Application.Current <- returned null (which actually is GetService())  - We now think it doesn't have anything to do with FluentAvalonia - but it crashed in FA since it does try to access the Application.Current-instance. Thank you for your time and sorry! Closing.


AsyncLock

if cancelation token is already cancelled when you pass it to clien.Execute() following exception occurs:
  at System.Threading.CancellationTokenSource.get_WaitHandle () <0x10035b720 + 0x00040> in <filename unknown>:0
  at System.Threading.CancellationToken.get_WaitHandle () <0x10035a560 + 0x00033> in <filename unknown>:0
  at RestSharp.Portable.AsyncLock+<>c__DisplayClass4_0.<LockAsync>b__0 () <0x1010d0320 + 0x0006b> in <filename unknown>:0
  at System.Threading.Tasks.Task.InnerInvoke () <0x100367530 + 0x0005f> in <filename unknown>:0
  at System.Threading.Tasks.Task.Execute () <0x100366d80 + 0x00043> in <filename unknown>:0

It doesn't crash my xamarin app, but I'm constantly receive this crash report (unobserved task exception).
Question:
Is it possible to configure restclient (http) to ignore "shared" logic?
I always create new instance for each request and don't need this async lock/guard logic at all

Currently, you cannot disable this shared logic. The AsyncLock gets removed with version 4.0 in the hope, that the HttpClient allows concurrent requests which will be required for HTTP 2.0 support.

in the hope, that the HttpClient allows concurrent requests

@fubar-coder Is there something wrong with current HttpClient for concurrent requests? I will be very interested in if you have any references about those :)

The library behaved very strangely (see issue #19)

@fubar-coder just do confirm, did you remove the AsyncLock in the v4 release?
I wasn't able to find any reference to it since the v4 branch merge

Yes, the AsyncLock is gone.


fix tslint error in UI tests

fixed with PR https://github.com/fabric8-ui/fabric8-planner/pull/2711


Mafia: fix queue

I missed this too, at least its caught before merging or else we would have to forcehost everyone w/ an empty queue.


Diagram seems inaccurate, Settings 404s, Documentation Link

I added the repository, added the ESPresense Companion, added the companion to my Sidebar and opened it up.  I had a few problems.  I totally understand this is an early release,  I just wanted to share what I found.
Firstly the Settings link 404s.  It seems to be pointing at a  http://<insert Home Assistant name/IP here>:8123/settings
Settings

Secondly, the link  in the add-on's info page for, "Visit the ESPresense Companion page for more details."  just goes to the root of ESPresense.com.  I poked around the ESPresense.github.io repository, but couldn't find the new page, yet.
The diagram seems to show a number of rooms and base stations which don't align with the name's of my rooms and/or base stations.

I tried removing the add-on, its repository and re-installing a couple times.  It didn't seem to change anything for me.

Those are all expected at this point.  You need to edit the /config/espresense/config.yaml to match your house.  Settings is not started yet.  And documentation is not written yet on espresense.com...
Rome wasn't built in a day :)

Thanks for the response!  I figured I'd submit an issue just in case something might've been out of whack.
I'll take a look at the config,  thanks for pointing me in the right direction!

Settings doesn't get a 404 anymore. (It's still just a dummy page tho)


[BUG] Navigation bar refreshing the whole page

Describe the bug
The navigation bar refreshes all the page when clicked.
To Reproduce
Steps to reproduce the behavior:

Open the profiler of the react-dev-tools.
Click on the record button.
Click on the navbar.
Notice how you are not able to record because the entire page is refresh.

Expected behavior
The navigation bar should not be refreshed, just the other elements of the page.
Desktop (please complete the following information):

OS: Linux Mint
Browser: Google Chromium
Version: 79.0.3945.130

Additional context
I noticed the problem when executing the built-in react-dev-tools profiler to record some actions.
To fix we may use react-router-bootstrap

Ready to close? @alvarezGarciaMarcos

It is supposed to be closed by a commit, but yeah, you can go ahead an close it 🤣

Done!


[CLI] wandb_watch='all' doesn't log parameters

Describe the bug
Context: I'm using pytorch-lightning and wandb, investigating how the parameters evolve during training. I set wandb.watch(model, log='all', log_freq=10) and expect to see the parameters and gradients inside the UI.
Problem: Only the gradients are logged into the UI. The parameters aren't logged during training. Link to the run.
What can be the problem?

Additional Files
No response
Environment
WandB version: 0.13.3
Pytorch-lightening: 1.7.5
torch: 1.10.1
Python: 3.7.9
Additional Context
Other people discussing this problem online:

Here they say that using forward() instead of __call__() fixed the problem. I'm currently using forward().

Hi @andreimargeloiu,
I just tested this on pytorch-lightning==1.7.5 and wandb==0.13.3, and I was able to get both gradients and parameters to log though wandb.watch(model, log='all'), so I don't think the issue is arising from the libraries. Looking at your workspace, I noticed that the parameters do not seem to have been logged at all, so this can not be an issue rendering the parameters either.
Could you share the debug.log and debug-internal.log files associated to an affected run? That could be a good place to start looking for any errors.
Thanks,
Ramit

Hi @andreimargeloiu and @icedpanda,
Thanks for letting us know, sorry for the inconvenience, we will try to reproduce locally.
For now we introduced a recent improvement in the new release 0.13.3, could you verify that it works for you in version 0.13.2?

Hi @kptkin,
my environment:

wandb: 0.13.2
lighting 1.7.3
torch: 1.10
python: 3.9

Hi @icedpanda, thanks for the information, ok so from your environment, it seems to be an unrelated issue, we are still looking into it. Will update when fix is available, sorry for the inconvenience.

@kptkin wandb.watch works now after a clean reinstall

@kptkin wandb.watch works now after a clean reinstall

Thanks for the update glad to hear it was resolved for you!


After clicking an existing intervention, using the polygon draw tool doesn't work

When using the current version of atip I find that if I click an existing intervention and then try and use the Polygon draw tool it doesn't work.

I think I've hit this problem before in prod as well... I'm not sure what's going on. Maybe because we do drawControls.changeMode at different points to select an object in mapbox-gl-draw's perspective when clicking in the sidebar?
I'm in the middle of rewriting the world in https://github.com/acteng/atip/compare/main...draw_v3. This will still use mapbox-gl-draw, but in a very limited way -- just drop and drag a marker, and to draw and move vertices of a polygon. Switching modes (the toolbox on the right), rendering finalized interventions, and handling hover/clicking on finalized interventions will all be us. I think we need/want this level of control for other reasons, and hopefully it can let us fix bugs like this. (Or at least take the blame directly :) )
Depending how quickly I can get the new branch solidified, do you think it's worth prioritizing a fix in prod to the current behavior, if everybody has figured out the workaround intuitively?

I'd say not worth prioritizing a fix in prod at this time. My understanding is that because the ATF funding round is over, use of atip.uk will be minimal at the moment (@Robinlovelace can correct me!) so think we can afford to leave this as you're rewriting the world!

My understanding is that because the ATF funding round is over, use of atip.uk will be minimal at the moment (@Robinlovelace can correct me!) so think we can afford to leave this as you're rewriting the world!

Agreed. We're in go fast break stuff mode. We're working behind the scenes to get future proof hosting solution building on comments in #104, the key policy use case has been delivered, and there is no immediate use planned. I plan to look at the logs out of interest: although we're not putting it out it's a very handy public tool so I wouldn't be surprise if usage grows without us putting it out there.
One thought: worth putting a "ATIP is undergoing development and may change without notice" type landing page, similar in spirit to the landing message on https://www.npt.scot?

One thought: worth putting a "ATIP is undergoing development and may change without notice" type landing page

I think that'd be helpful. We could put it on the frontpage (area selection) and in the About button on the per-area page. (Let's please not interrupt the flow with a mandatory popup or anything!) It could also be helpful to have a very rough changelog shown here, like "April 5 - new draw controls, April 8 - new form... click here to give feedback"

Update on usage: very low since ATF4 submission, good to see everyone beavering away after my demo of the tool and in the rush to get their bids submitted (then relax)!

Basically: no users now so we should focus development effort on future proof stuff, that may include NEWs and notice in about to expect changes but the data visualised above emphasises that we can break stuff without too much worry. One other question: how easy would it be to serve each stable release, e.g. v0.0.1.atip.uk always has contents of release v0.0.1?

The bug described here is fixed in github main (but not prod), but there's good ideas here about adding a changelog to the landing page, so retitling the issue


Nginx

To make it work:

Pull this branch on the tester VM
Build nginx container; or just run the docker-command-smile.sh since in the yaml file i build the nginx container too
Run the shell script init-letsencrypt.sh this will create the .data/certbot folder

It is not really a comment for review, just a question based on my curiosity. Why docker compose sh files, nginx folders and others are under rabbitmq folder?

It is not really a comment for review, just a question based on my curiosity. Why docker compose sh files, nginx folders and others are under rabbitmq folder?

haha originally i was just writing rabbitmq algorithms... bad organization. I should clean this up at some point

I don't see docker-command-smile.sh. Do you mean docker-build-smile.sh? Or can you point out where I can find docker-command-smile.sh?

I don't see docker-command-smile.sh. Do you mean docker-build-smile.sh? Or can you point out where I can find docker-command-smile.sh?

That's the shell script I shared with you privately (the one with all the environment variables)

I don't see docker-command-smile.sh. Do you mean docker-build-smile.sh? Or can you point out where I can find docker-command-smile.sh?

That's the shell script I shared with you privately (the one with all the environment variables)

Got it, I will use that one


timer: Corrected types in nRF system timer functions

Corrected parameter and return types  in nRF system timer functions else compilation fails with newlib

Codecov Report

Merging #5950 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5950      +/-   ##
==========================================
- Coverage   54.05%   54.05%   -0.01%
==========================================
  Files         461      461
  Lines       43743    43743
  Branches     8369     8369
==========================================
- Hits        23647    23645       -2
- Misses      19955    19957       +2
  Partials      141      141

Impacted Files
Coverage Δ

tests/kernel/obj_tracing/src/philosopher.c
88.88% <0%> (-11.12%)
:arrow_down:

Continue to review full report at Codecov.

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


RoTTR

In addition to the GPU check, RoTTR checks for D3D11 DLSS support as well (regardless of chosen graphics API). Basically, it checks if D3D11 DLSS functions exist, gets parameters from GetParameters and shuts down DLSS. So stub functions for Init, GetParameters and Shutdown is enough (unfortunately, I couldn't find a better way to bypass this check). While Init and Shutdown functions can just return success, GetParameters has to create the parameters object, since the game tries to get some parameters and otherwise there will be an exception. So the file CyberFsrDx11.cpp (or you can choose any other name, it doesn't matter) may look like this:
#include "pch.h"
#include "CyberFsr.h"

NVSDK_NGX_Result NVSDK_NGX_D3D11_Init(void)
{
	return NVSDK_NGX_Result_Success;
}

// Function parameters omitted
NVSDK_NGX_Result NVSDK_CONV NVSDK_NGX_D3D11_Shutdown(void)
{
	return NVSDK_NGX_Result_Success;
}

NVSDK_NGX_Result NVSDK_NGX_D3D11_GetParameters(NVSDK_NGX_Parameter** OutParameters)
{
	*OutParameters = CyberFsrContext::instance()->AllocateParameter();
	return NVSDK_NGX_Result_Success;
}

To bypass checking for other D3D11 DLSS functions, address 0xCE0768 needs to be patched with 00 00 which basically allows to return success in case of error.
Bypassing GPU check can be done by patching 0xC846D8 with EB.
Game version: v1.0 build 1027.0_64 from EG

https://github.com/PotatoOfDoom/CyberFSR2/pull/40 has been merged, should this issue be closed?


Is there a way to filter on specific columns

Hello,
It looks like filtering defaults to searching all columns. But what if I need to filter on a specific column?
For instance I could have an 'Order Date' column a 'Ship Date' column an 'Arrive By Date' column and a 'Cancel Date' column. Is there a way to choose a specific column to filter on, like 'Cancel Date' or whatever column the users wants to select?
  Thank you so much for you help,
   Ken

That's something I've done in future projects, and wanted to do for this one, but never did. I would implement a column:searchterm type of selector to accomplish that.


Can't export out of Uncrafting Grinders

Minecraft version & Mod Version: 1.10.2 - 1.10.29
Single player or Server: Both Single Player and Server
Describe problem (what you were doing / what happened): No item cables extract from the uncrafting grinders (tested Itemducts from Thermal Dynamics, Item Conduits from Ender IO, and Buses from Applied Energistics 2)
Crash log (if any):
(If this is a suggestion and not a bug report, delete all this and just write your suggestion!)

Have you tried exporting out of the bottom?  I know it works with hoppers last i checked.

Ive fixed this in Minecraft 1.12.
legacy versions such as 1.11 and 1.10 are stable and feature complete, so they wont get an update unless there is a gamebreaking bug of some kind


Thanos compactor repeats compacting and repair of first bucket

Thanos, Prometheus and Golang version used:
Thanos:  0.17.2 (Go: 1.5)
Prometheus: 2.1.1 (Go: 1.10)
Both are running as native processes on the same host.

Object Storage Provider:
S3 Storage: Minio
What happened:
Compaction and downsampling of data fails to occur and the S3 storage bloats as the compactor process continually repairs and and compacts the first bucket it retrieves.  We have manually cleared down the buckets from S3 to ensure it is not an issue particular to a buckets content, but each time it gets stuck in a loop as seen in the logs.
The repetition can be seen in the bucket explorer, appearing as a stack of buckets against the same time period all with the source compactor.repair and the same numSamples, numSeries and numChunks.
What you expected to happen:
Thanos compactor repairs a bucket, compacts it and moves on to the next, with down sampling eventually kicking in.  As a worst case scenario I'd be okay with it marking the bucket as bad and moving on.
How to reproduce it (as minimally and precisely as possible):
Unclear, our process configurations are as follows:
Prometheus
/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus --storage.tsdb.retention=7d --web.console.libraries=/etc/prometheus/console_libraries --web.console.templates=/etc/prometheus/consoles --web.listen-address=<IP_ADDRESS>:9090 --web.external-url= --storage.tsdb.max-block-duration=2h --storage.tsdb.min-block-duration=2h
Thanos SIdecar:
/opt/thanos/current/thanos sidecar --grpc-address=<IP_ADDRESS>:10901 --http-address=<IP_ADDRESS>:10902 --log.format=logfmt --log.level=info --objstore.config-file=/opt/thanos/thanos-objstore-config.yml --prometheus.url=http://<IP_ADDRESS>:9090 --tsdb.path=/var/lib/prometheus
Thanos Compactor
/opt/thanos/current/thanos compact --log.level=info --log.format=logfmt --http-address=<IP_ADDRESS>:10903 --objstore.config-file=/opt/thanos/thanos-objstore-config.yml --data-dir=/var/thanos/compact --consistency-delay=2h --retention.resolution-raw=1d --retention.resolution-5m=14d --retention.resolution-1h=30d --block-sync-concurrency=20 --compact.concurrency=1 --wait --delete-delay=48h
Full logs to relevant components:
Logs

level=info ts=2021-06-16T10:38:28.807247675Z caller=compact.go:953 msg="start of compactions"
level=info ts=2021-06-16T10:38:28.807510473Z caller=compact.go:705 group="0@{clusterName=\"ExternalServices\"}" groupKey=0@12213061260468943465 msg="compaction available and planned; downloading blocks" plan="[0xc0009802d0 0xc000980000 0xc0000fe5a0 0xc0000ca3c0]"
level=info ts=2021-06-16T10:38:51.645518677Z caller=compact.go:629 msg="Repairing block broken by https://github.com/prometheus/tsdb/issues/347" id=01F83BXDX8DTMQB86PY6FFDRYC err="invalid, but reparable block /var/thanos/compact/compact/0@12213061260468943465/01F83BXDX8DTMQB86PY6FFDRYC: found 84 chunks outside the block time range introduced by https://github.com/prometheus/tsdb/issues/347"
level=info ts=2021-06-16T10:39:05.38351858Z caller=fetcher.go:458 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=337.66267ms cached=91 returned=91 partial=292
level=info ts=2021-06-16T10:39:36.417797163Z caller=compact.go:662 msg="uploading repaired block" newID=01F8A6EJZJJ7BS6SSCMQ8JP5EH
level=warn ts=2021-06-16T10:39:36.41813296Z caller=s3.go:399 msg="could not guess file size for multipart upload; upload might be not optimized" name=debug/metas/01F8A6EJZJJ7BS6SSCMQ8JP5EH.json err="unsupported type of io.Reader"
level=info ts=2021-06-16T10:39:37.885505196Z caller=compact.go:667 msg="deleting broken block" id=01F83BXDX8DTMQB86PY6FFDRYC
level=warn ts=2021-06-16T10:39:37.891513651Z caller=block.go:143 msg="requested to mark for deletion, but file already exists; this should not happen; investigate" err="file 01F83BXDX8DTMQB86PY6FFDRYC/deletion-mark.json already exists in bucket"

Anything else we need to know:
Environment:

OS: Ubuntu 16.04.4 LTS"
Kernel: 4.4.0-210-generic
Disk: >500GB free

We tried processing this data alongside data produced by Prometheus on our K8S cluster, but had to break out the data to a separate S3 bucket and run a separate compactor to identify this issue.

Please reopen, issue is still occurring.


bug: lua functions in dashboard button automatically executed

I noticed a weird bug, that causes lua functions that are passed to the dashboard.button() function are executed without pressing the trigger key.
For example:
dashboard.button("y", "🔭 explorer", print("test"))
instantly prints "test" when alpha is opened.
Whats weird is that this doesnt happen for:
dashboard.button("f", "🔭 fuzzyfind", require("telescope.builtin").find_files)
Here's an overview of my complete alpha config:

that is expected behavior, what you should write is
dashboard.button("y", "🔭 explorer", function () print("test") end)


issue with the Scheduler and timezone

Hi,
There's a issue with the time zone (I guess) with the scheduler.
Here's how to reproduce the problem :
I set a job every minute :

The CLI tells me the next run is on 11:16

.. but it's 13:15 on the server

The consequence is that when I set a job every day at 9:00, it will actually run at 7:00.
I hope it's clear.
Thanks for you job 💕

I need to look into this when I get  a chance.

I had the same issue. Check if your PHP has the configured timezone in php.ini. Keep in mind that sometimes PHP uses different php.ini files for Apache PHP requests and PHP CLI commands, depending on your configuration.
Grav CLI uses UTC by default if php.ini is not configured, and if you OS timezone is set to anything else than UTC this produces spotted behavior. CronExpression library reads configured jobs and assumes that their execution time is set in UTC instead of the OS timezone. Due to how library handles time here https://github.com/mtdowling/cron-expression/blob/master/src/Cron/HoursField.php#L64 the issue is present only for dates where hour element is set to * (run job every hour).
For shared hosting environments, where cron timezone is global for everyone, but there is a need to run multiple Grav versions in multiple timezones the correct fix would be to update CronExpression library with this fix https://github.com/mtdowling/cron-expression/pull/134/files and to pass OS timezone instead of the php.ini one. Or better yet, fix it in the library itself.

Hi !
Sorry for the late answer. I'll take a look. It's probably that 👍


Missing Analysis Output

Hello,
We've launched the CF template and ran the SF. However, at the end of the process the performance metrics are not available to query. We're currently just testing the tool and rerunning a handful of queries with the simple replay log configuration. The cluster has audit_logging and user_activity enabled. We do not have a ddl_and_copy and sql_script configured. We are not overwriting the replay or extraction configuration.
At the moment we're using it within the same account as the initial Redshift Cluster and Snapshot - but this is a staging account. For production we will use it across account.
Having a look at the logs we can see a few things suspect things,
From the lambda function we can see an unload to (s3://bucket/data/raw_results) and the table it's trying to unload (public.redshift_config_comparison_raw). However, there is no data in S3, and there's no data for the table in Redshift.
Stepping back another layer, we noticed in the batch logs there was a line that stated:Analysis not enabled for this replay.
From what I can see the replay_bootstrap.sh does not set an analysis_output or analysis_iam_role for the SimpleReplay config, which ultimately results in theAnalysis not enabled for replay line. Should Analysis be enabled?
We've been following the blog and readme, but there's nothing (we can see) about enabling analysis. It sounds like it should be the expected output.
I'm wondering if you could give us some pointers to where we should begin to dive into this.

Just coming back to this with a little more info. The Analysis output for the replay seemed to be a red herring.
However we hit a number of other issues when running the solution:
Firstly: The Glue Crawlers generated by the CloudFormation script fails execution due to not finding the classifier. This doesn’t seem to be required, we can catalogue the data correctly without it, so we removed it from the crawler setting.
Next: The solution does not provide the comparison analytics as expected (as mentioned in the initial issue). The views in Redshift are not queryable as they have not been created correctly.
They’re multiple issues here.

Firstly, the create view as statements for provisioned clusters use the wrong column names (it uses the column names for the serverless workgroups). Specifically this reference to query_text, should be querytxt for provisioned types. Although, arguably the underlying Glue tables should use the same column names if possible.
Secondly (once that issue is fixed) the output only includes metrics for a single cluster. We can fix this by changing the view query too. Our solution was to remove the Max of partition_0, although I don't think that's viable as a general solution.
Next the comparison only includes metrics for the same type of cluster (provisioned or serverless). i.e. we couldn't see the serverless output from the provisioned view.
Finally, the cluster_config table doesn't appear to exist, it is referenced here - we didn't need this pricing data so we just didn't use the view.

Ultimately, due to hitting a fair few bugs we've decided to not use the tool. Which is a shame, because it sounds incredibly useful.

same here.
it fails to generate resuling table with pricing comparison.


CDRS driver does not support older Cassandra versions (2.x.x)

I was not able to connect the driver to Cassandra DB  2.1.16
The error message is attached

Could you please help to solve this issue for us ?

Hi @MaenMax
Probably this version of Cassandra uses version 3 of binary protocol.
Please try to use CDRS with feature v3. Put it into your Cargo.toml:
cdrs = { version = "2" features=["v3"] default-features = false }

or
cdrs = { version = "2" features=["v3", "ssl"] default-features = false }

if you use SSL.
It should help

I will try and let you know. Thanks!

I'm closing this issue.
If you find any problems working with CDRS and version 3 Cassandra binary protocol please feel free to re-open this issue or create a new one.
Thanks.

Hi Alex,
Thanks for your comment. I recompiled my project with the modification you pointed to, but with no success. I got this error:
Thread '' panicked at 'query: Server(CDRSError { error_code: 8704, message: CString { string: "Keyspace system_schema does not exist" }, additional_info: Invalid(SimpleError) })', src/libcore/result.rs:997:5
note: Run with RUST_BACKTRACE=1 environment variable to display a backtrace.
It looks like that CDRS driver expects some keyspace (system_schema) which did not exist in Cassandra versions 2.x.x. What's your thoughts on this?
Thanks,
Maen

Seems like somewhere in your code you use something like use system_schema; and, in your version of Cassandra seerver, such keyspace doesn't exist.

Thanks for your insights ! That's true, I use that in my code. Because I need to get the list of tables in a particular keyspace.
let describe_struct_cql = "SELECT table_name FROM system_schema.tables WHERE keyspace_name = 'autopush'";
    let rows = ddb
    .query(describe_struct_cql)
    .expect("query")
    .get_body()
    .expect("get body")
    .into_rows()
    .expect("into rows");

Cassandra older versions do not have the default system_schema keyspace which will allow me to get the list of tables. Now, I don't have any idea  about how to do that in CDRS. At least, I know that in order to get the list of tables of a particular keyspace in Cassandra 2.1.x , there are two steps need to be done:
[1]   use <keyspace_name> ;
[2]   describe tables  ;
How to do that in CDRS? If it is not doable, I can use different driver just for this purpose (getting the list of tables), and the rest of operations, I can use CDRS.
Please advice on this.

Hi Alex,
I actually found the  Select statement which can retrieve the list of tables in Older Cassandra versions :
let describe_struct_cql = "select  columnfamily_name  from system.schema_columnfamilies  where keyspace_name = 'autopush';";

It worked with me.

Hi @MaenMax ,
Great!


Appended GA string causes some subscription resources to be unaccessible

What

Going from https://wellcomelibrary.org/using-the-library/how-to/databases-a-z/ on the library site, three resources are unusable because of the ga strings that get appended to the URLs. If you try to go to any of the resources below  from the above page, their pages do not load.
The resources are:

Early English Books Online (EEBO)
Eighteenth Century Collections Online (ECCO)
Historical Texts

The vendor of those resources isn't offering any short-term fix because we're appending the ga string. Can the GA string not be appended to those three resources?
NB login issues should be resolved by the removal of SSO in May 2020. Login to get past the login screen to see the issue.
Where

From: https://wellcomelibrary.org/using-the-library/how-to/databases-a-z/
To:

https://0-historicaltexts.jisc.ac.uk.catalogue.wellcomelibrary.org/#_ga=2.258236746.1560845606.1588155983-3325431.1558522762
https://0-historicaltexts.jisc.ac.uk.catalogue.wellcomelibrary.org/#_ga=2.258236746.1560845606.1588155983-3325431.1558522762
https://0-historicaltexts.jisc.ac.uk.catalogue.wellcomelibrary.org/#_ga=2.258236746.1560845606.1588155983-3325431.1558522762

Acceptance criteria

The ga link is not appended to these three links on the A-Z databases page

Slack convos on this:
https://wellcome.slack.com/archives/C294K7D5M/p1588328702088400
https://wellcome.slack.com/archives/C294K7D5M/p1588328847089800

Updated a GTM variable regex to exclude the historical-texts subdomain:
function() {
 return function(model) {
   var domainList = [
     /^(?!0-historicaltexts\.jisc\.ac\.uk\.catalogue).+\wellcomelibrary\.org/,
     /^(?!iiif).+\wellcomecollection\.org/,
   ];
   var ga = window[window['GoogleAnalyticsObject']];
   var name = model.get('name');
   ga(name + '.require', 'linker');
   ga(name + '.linker:autoLink', domainList, true);
 };
}

Those links should no longer have any GA string appended.


Multiple: Remove support for HAWQ from all modules

With HAWQ support removed over the past few versions, we can eliminate
all the code that were specifically written for that port. This
includes madpack changes for upgrade and reinstall, workarounds in
Graph modules for table updates, and special consideration in Group
Iteration Controller.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/462/

There is some reference to HAWQ in
https://github.com/apache/madlib/blob/master/ReadMe_Build.txt
which I don’t see removed in the PR.
Otherwise seems OK though I did not do exhaustive search for other HAWQ references.

Thanks @fmcquillan99  and @njayaram2 for the review. I've removed the above mentioned references and code in the latest commit.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/471/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/madlib-pr-build/472/


CupertinoIcons missing multiple icons

Steps to Reproduce
cupertino_icons (1.05) package is missing many SF icons. Four examples:
list.bullet.clipboard
list.bullet.clipboard.fill
list.clipboard
list.clipboard.fill

Also, CupertinoIcons.create does not look as it should.
I think it's about time CupertinoIcons gets updated with all the latest icons!

Logs

doctor_output.txt

https://master-api.flutter.dev/flutter/cupertino/CupertinoIcons-class.html
The icons are missing

Hi @xavierdonnellon, kindly file a separate issue for the CupertinoIcons.create

Hi @danagbemava-nc,
I have made the separate issue for CupertinoIcons.create: here
Is there a way I can access these icons in the meantime?

You should be able to use https://www.fluttericon.com/ to generate the icons that you need for your project in the interim and then later switch when they become available in the framework

I think we should consolidate the list of missing cupertino icons into a single issue: https://github.com/flutter/flutter/issues/82634
cc: @MitchellGoodwin

I added links to these two new issues to that one's description.

Closing as duplicate of the consolidated issue https://github.com/flutter/flutter/issues/82634


"adopt" an already installed app , to upgrade it with brew in the future ?

Verification

[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

Provide a detailed description of the proposed feature
does anyone know the command to "adopt" a cask ? say you installed IINA with a dmg, how can you adopt it with brew, so it can be updated using "brew upgrade" moving onwards?
What is the motivation for the feature?
ability to simply adopt the files and move them to brew bottles, instead of uninstalling the app, the reinstalling it from scratch with brew install --cask XXXX
How will the feature be relevant to at least 90% of Homebrew users?
many people discover homebrew only after they've installed a lot of their apps !
What alternatives to the feature have been considered?
uninstalling the app and fresh install as cask ...

Check out brew install --adopt. I believe that does what you're asking for.

Check out brew install --adopt. I believe that does what you're asking for.

Thanks ! Where do I find more infos about this ?haven't found occurrences for this very syntax using Google
In my case, it's be brew install --adopt iina? Or brew install --adopt --cask iina ?

The best option would be to run brew install --adopt --cask iina - note that it will only adopt the already installed files if the contents match those that would be installed by running brew install --cask iina. The alternative option is to use brew install --cask --force iina which will overwrite the application (but would not replace the settings/preferences of the application) [^1] - and then allow the application to be managed with Homebrew going forward.
[^1]: Note that I have not tried this explicitly with iina however have used this method with many other casks in the past.


Dyn versioning

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

Coverage data is based on head (7451d0f) compared to base (62d845c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   91.44%   91.44%
=======================================
  Files           8        8
  Lines         713      713
  Branches       44       44
=======================================
  Hits          652      652
  Misses         54       54
  Partials        7        7

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

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


Release binds don't properly work in submaps

Hyprland Version
Hyprland, built from branch  at commit<PHONE_NUMBER>117f7f150c6f2a2ce4dede6e8cbb25 dirty ()
Bug or Regression?
Bug
Description
There is an inconsistent behavior when creating submaps that deactivate on release. Relevant config is in "How to reproduce".

The submap works, pressing SUPER s triggers it, and releasing exits it (as long as I don't press any keys in between)
Pressing any key (no matter if it is a valid bind or not) breaks exiting out of the submap

How to reproduce

Add this to your config:bind = SUPER, s, submap, resize

submap = resize

binde = SUPER, h, resizeactive, -20, 0
# None of these will trigger reset
bindr = SUPER, s, submap, reset
bindr = SUPER, SUPER_L, submap, reset
bindr = , s, submap, reset

submap = reset

Resize a window by holding SUPER + s + h
Let go of SUPER + s + h
Notice that you are still on the submap resize, even despite releasing the keys SUPER or s

You can resize the window with SUPER + h
Other keybinds don't work
Shouldn't a release of SUPER or s have triggered any of the submap, reset dispatchers?

To leave the submap, press and release SUPER + s

Crash reports, logs, images, videos
No response

all the binds get shadowed by activating SUPER+H
for the same reason that you don't want your SUPER,Super_L bind activated when you press your bind on SUPER+C for example.
It's planned somewhere as transparent binds.

bindr = SUPER, s, submap, reset

vvvv
bindrt = SUPER, s, submap, reset

and it now seems to work alright to me.

Thank you, works exactly how I wanted. Here is my config now:
bind = SUPER, s, submap, resize
submap = resize
binde = SUPER, h, resizeactive, -20 0
binde = SUPER, l, resizeactive, 20 0
binde = SUPER, k, resizeactive, 0 -20
binde = SUPER, j, resizeactive, 0 20
bindrt = SUPER, s, submap, reset
submap = reset


/rooms/{roomId}/members: specify access_token requirement

as the behaviour of which members the users see is user-specific
and therefore requires authentication:

A list of members of the room. If you are joined to the room then this will be the current members of the room. If you have left the room then this will be the members of the room when you left.

More details at #1245

yup, just an omission. Please could you add a note to the changelog.

Ok! Added note, categorized as "Spec clarification".


Enable I/O PnP tests

We'd like to be able to run the I/O (storage) metrics on CC3.x like we did for CC2.x.
We'd like to be able to run for local and remote volumes and rootfs.

IO tests were enabled with:
https://github.com/clearcontainers/tests/pull/225
and
https://github.com/clearcontainers/tests/pull/415
I've added a new Issue to cover the item of expanding these tests to cover the various mount types and storage (graph?) back ends:
https://github.com/clearcontainers/tests/issues/443


Error 404 when download module

Hi,
Below is the error log. I also tried using curl -L "https://tfhub.dev/google/imagenet/mobilenet_v1_100_224/feature_vector/1", and got same results.

INFO:tensorflow:Using /var/folders/zp/3lp0dtb95l57nh2cz0zppggc0000gn/T/tfhub_modules to cache modules.
INFO:tensorflow:Downloading TF-Hub Module 'https://tfhub.dev/google/imagenet/mobilenet_v1_100_224/feature_vector/1'.
Traceback (most recent call last):
File "hub/examples/image_retraining/retrain.py", line 1314, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "hub/examples/image_retraining/retrain.py", line 998, in main
module_spec = hub.load_module_spec(FLAGS.tfhub_module)
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow_hub/native_module.py", line 99, in load_module_spec
path = compressed_module_resolver.get_default().get_module_path(path)
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow_hub/resolver.py", line 385, in get_module_path
return self._get_module_path(handle)
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow_hub/resolver.py", line 467, in _get_module_path
return resolver.get_module_path(handle)
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow_hub/resolver.py", line 385, in get_module_path
return self._get_module_path(handle)
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow_hub/compressed_module_resolver.py", line 105, in _get_module_path
self._lock_file_timeout_sec())
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow_hub/resolver.py", line 313, in atomic_download
download_fn(handle, tmp_dir)
File "/Developer/Labs/AI/Tensorflow/lib/python3.6/site-packages/tensorflow_hub/compressed_module_resolver.py", line 101, in download
response = url_opener.open(request)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

module_url = "https://tfhub.dev/google/universal-sentence-encoder/2"
Got same error for the above module.

Hi, the issue should be resolved now, could you please try again?

@vbardiovskyg I tested it and it works now. Thank you!

It can be solved from here:
https://github.com/tensorflow/hub/blob/master/docs/common_issues.md

It can be solved from here:
https://github.com/tensorflow/hub/blob/master/docs/common_issues.md

The two line codes below  is work for me, but when I execute the retrain.py, it's still need to download the module and always failed, why?
 import tensorflow_hub as hub
 hub.Module("/tmp/moduleA")

Maybe the problem is the internet error.When using the model,it will download the model file in /tmp/tfhub, so you can download the model by yourself first.

Maybe the problem is the internet error.When using the model,it will download the model file in /tmp/tfhub, so you can download the model by yourself first.
Please refer here :#53

I have already download the module, and uncompress it by the code below to the folder /tmp/moduleA
curl -L "https://tfhub.dev/google/universal-sentence-encoder/2?tf-hub-format=compressed" | tar -zxvC /tmp/moduleA

but it seem can not find this model and keep going to download from internet when i run the retrain.py

The original reported issue has been fixed. Closing this issue.
Thanks @TanLingxiao to provide extra help to the issue from @XuSShuai.


Travis CI fixes part 2

Codecov Report

Merging #118 into master will decrease coverage by 9.26%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
- Coverage   70.88%   61.61%   -9.27%
==========================================
  Files          25       24       -1
  Lines        2507     2639     +132
==========================================
- Hits         1777     1626     -151
- Misses        730     1013     +283


How do I disable validation of existing emails?

If I'm inviting a user who's already registered with the application, I don't want the invite form to display "Email has already been taken".  Instead, the users should be able to invite anyway without any errors.  Any ideas how to achieve this?

if you want invite email to be sent, you can override invited_to_sign_up? to return true for persisted users too. It would be an easier hack, but then checking invited_to_sign_up would be wrong in other cases. A better workaround would be override Devise::InvitationsController:
class UserInvitationsController < Devise::InvitationsController
def create
super do |resource|
resource.errors.clear if resource.persisted?
end
end
end


Fix the bug of drmm attention layer at master branch.

Codecov Report

Merging #636 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #636   +/-   ##
=======================================
  Coverage   94.32%   94.32%
=======================================
  Files          60       60
  Lines        2169     2169
=======================================
  Hits         2046     2046
  Misses        123      123

Impacted Files
Coverage Δ

matchzoo/models/drmm.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


serialize and store PrecomputeLagrange

Instead of serialise and deserialise , we want to use serialise_unchecked so that we don't waste time doing validity checks.
See: https://github.com/arkworks-rs/algebra/blob/master/serialize/src/lib.rs#L96


Move to GitFlow

Refer to NevermoreFramework/Nevermore#2.

When will this be done?

It's already been completed in several other modules. As we define how the Installer plugin works I will continue transitioning the missing repositories.


Build Errors

Hi ,
I'm building your project. I have a problems in attached screenshot. Can you help me fix them ?
Also , i give correct path for glew32.lib but i take these errors.

Thank you.

Hi,
I'm not entirely sure as this is an old project, but it may be related to the type of linking being used with GLEW. Are you linking with the dynamic lib glew32.lib (not glew32s.lib)?
I see that you are compiling to x64, which I never tested with this project. Maybe try changing to Win32.
It may also be related to the version of GLEW, as this used to build against an older version (glew-1.13.0-win32)

Hi,
I tried compile with win32 , but i'm taking error in attachment.

Also , i downloaded glew-1.13.0 , it include 32 bit and 64 bit version.I use both of them.  But i take again error in attachment.

In the first image it's clearly a problem of mixed x64 and x86 libraries. You need to make sure that all of your dependencies were compiled with the same target as the main application.
As for the second image, the include directories setting of TerrainApp are not pointing correctly to OpenGLFramework.
Too many things going on at the same time, you need focus on fixing one thing at a time. First the include dirs and then binary linking. :)


Merge from upstream se-edu/AB4

Reference: https://github.com/nus-cs2103-AY1819S1/forum/issues/53
No idea whether it's even relevant to us, but bug fixes are always nice to have, right?

Reference: nus-cs2103-AY1819S1/forum#53
No idea whether it's even relevant to us, but bug fixes are always nice to have, right?

Well I don't want to wait longer to push and pull the unnecessary stuff so its good fix


Use a loop and a timeout on docker wait, upload intermediate logs

Seems like containers getting lost.
Assuming that it might be better to loop with a long timeout in containers.wait(timeout=(30 minutes))
then when the timeout happens, use archive endpoint to pull logs, and upload the logs to scheduler/latest/...

this issue is marked as Done. should we close it?

Not yet reviewed, or merged


Image support in tweets and retweets

I'm also thinking about adding a popup window to show gifs and images in full size, instead of open the link in a browser.

:cool:
It looks nice. Thank you for your contribution!


tf.raw_ops.ConjugateTranspose: negative value of perm can lead to out-of-bounds read

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.17
Custom code
Yes
OS platform and distribution
Linux Ubuntu 22.04 LTS
Mobile device
No response
Python version
3.11.7
Bazel version
6.5.0
GCC/compiler version
clang 16
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
In tf.raw_ops.ConjugateTranspose, negative value of perm can lead to out-of-bounds read.
Here,
        i_idx += ratio * in_strides[perm[i]];

as there is no guard which checks validity of perm, when its value is -1 in_strides[perm[i]] can be an out-of-bounds reading(I guess -1 would be interpreted as an SIZE_T_MAX or something).
Note that the below code ends up with absl assertion failure in debug build.
Standalone code to reproduce the issue
import tensorflow as tf

tf.raw_ops.ConjugateTranspose(
    x=tf.random.normal([2]),
    perm=[-1])

Relevant log output
Release Build:
    Outputs nothing

Debug Build:
python: external/com_google_absl/absl/container/inlined_vector.h:363: auto absl::InlinedVector<long, 8>::operator[](size_type)::(anonymous class)::operator()() const [T = long, N = 8, A = std::allocator<long>]: Assertion `false && "i < size()"' failed.
Aborted (core dumped)

@Sehun0819,
I tried to execute the mentioned code with tensorflow official builds(default) and the code execution was successful with Tf2.15 and tf-nightly. Also the output is also displayed.
Kindly find the gist for the reference.
Also this might be an issue with debug builds. We will check and provide more information. Thank you!


DCS 2.7 + A6E mod = CTD

Since 2.7 the A-6E mod (and A-7 mod) show up as empty 3D models and cause CTDs. Are there any plans to update the 3D models to be compatible with 2.7? The Forrestal's flight deck sorely needs more Intruders and SLUFs.

can you test with the latest version? This issue has been solved last month


Access Token is not received in MVC Client

I am trying to access MVC Api with ResourceOwnerPassword credentials .
private async Task GetTokenAsync()
{
        var client = new TokenClient(
            "https://localhost:44346/connect/token",
            "apiClient",
            "secret", AuthenticationStyle.PostValues);

        //return await client.RequestClientCredentialsAsync("dukkan");
        return await<EMAIL_ADDRESS>"!12345678", "openid profile  dukkan email phone role  offline_access");
    }

And I am calling this method in a controller action:

var response =GetTokenAsync().Result;
I am not getting any value in response variable and the browser is just awaiting for response.

https://localhost:44346/  is my IdentityServer4.
It seems, Issuing the access token is successfully done. but it is not sending back to my client.
I am following this blog to access the API with IdentityServer4. So, I did the necessary changes over there and my request is going to IDSvr4. The log reveal that it is issuing the token successfully:

From the log file:
2018-10-13 20:11:44.485 +04:00 [DBG] Request path /connect/token matched to endpoint type Token
2018-10-13 20:11:44.487 +04:00 [DBG] Endpoint enabled: Token, successfully created handler: IdentityServer4.Endpoints.TokenEndpoint
2018-10-13 20:11:44.487 +04:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.TokenEndpoint for /connect/token
2018-10-13 20:11:44.487 +04:00 [DBG] Start token request.
2018-10-13 20:11:44.488 +04:00 [DBG] Start client validation
2018-10-13 20:11:44.488 +04:00 [DBG] Start parsing Basic Authentication secret
2018-10-13 20:11:44.488 +04:00 [DBG] Start parsing for secret in post body
2018-10-13 20:11:44.488 +04:00 [DBG] Parser found secret: PostBodySecretParser
2018-10-13 20:11:44.489 +04:00 [DBG] Secret id found: apiClient
2018-10-13 20:11:44.540 +04:00 [DBG] apiClient found in database: true
2018-10-13 20:11:44.540 +04:00 [DBG] Secret validator success: HashedSharedSecretValidator
2018-10-13 20:11:44.541 +04:00 [DBG] Client validation success
2018-10-13 20:11:44.541 +04:00 [INF] {
"Name": "Client Authentication Success",
"Category": "Authentication",
"EventType": "Success",
"Id": 1010,
"ClientId": "apiClient",
"AuthenticationMethod": "SharedSecret",
"ActivityId": "0HLHH4N1CNPPN:00000001",
"TimeStamp": "2018-10-13T16:11:44Z",
"ProcessId": 2812,
"LocalIpAddress": "<IP_ADDRESS>:30571",
"RemoteIpAddress": "::1"
}
2018-10-13 20:11:44.542 +04:00 [DBG] Start token request validation
2018-10-13 20:11:44.542 +04:00 [DBG] Start resource owner password token request validation
2018-10-13 20:11:44.555 +04:00 [DBG] Found ["openid","profile","email","phone","role"] identity scopes in database
2018-10-13 20:11:44.715 +04:00 [DBG] Found ["dukkan"] API scopes in database
2018-10-13 20:11:44.719 +04:00 [DBG] Found ["openid","profile","email","phone","role"] identity scopes in database
2018-10-13 20:11:44.726 +04:00 [DBG] Found ["dukkan"] API scopes in database
2018-10-13 20:11:44.746 +04:00 [INF] Credentials validated for username<EMAIL_ADDRESS>2018-10-13 20:11:44.746 +04:00 [INF] {
"Name": "User Login Success",
"Category": "Authentication",
"EventType": "Success",
"Id": 1000,
"Username"<EMAIL_ADDRESS>"SubjectId": "00f9bae0-8207-4137-bc5b-ccd4a2078826",
"DisplayName"<EMAIL_ADDRESS>"Endpoint": "Token",
"ActivityId": "0HLHH4N1CNPPN:00000001",
"TimeStamp": "2018-10-13T16:11:44Z",
"ProcessId": 2812,
"LocalIpAddress": "<IP_ADDRESS>:30571",
"RemoteIpAddress": "::1"
}
2018-10-13 20:11:44.746 +04:00 [INF] {
"Name": "User Login Success",
"Category": "Authentication",
"EventType": "Success",
"Id": 1000,
"Username"<EMAIL_ADDRESS>"SubjectId": "00f9bae0-8207-4137-bc5b-ccd4a2078826",
"Endpoint": "Token",
"ActivityId": "0HLHH4N1CNPPN:00000001",
"TimeStamp": "2018-10-13T16:11:44Z",
"ProcessId": 2812,
"LocalIpAddress": "<IP_ADDRESS>:30571",
"RemoteIpAddress": "::1"
}
2018-10-13 20:11:44.747 +04:00 [DBG] Resource owner password token request validation success.
2018-10-13 20:11:44.747 +04:00 [INF] Token request validation success
{
"ClientId": "apiClient",
"GrantType": "password",
"Scopes": "dukkan email offline_access openid phone profile role",
"UserName"<EMAIL_ADDRESS>"Raw": {
"grant_type": "password",
"username"<EMAIL_ADDRESS>"password": "REDACTED",
"scope": "openid profile  dukkan email phone role  offline_access",
"client_id": "apiClient",
"client_secret": "REDACTED"
}
}
2018-10-13 20:11:44.747 +04:00 [DBG] Getting claims for access token for client: apiClient
2018-10-13 20:11:44.747 +04:00 [DBG] Getting claims for access token for subject: 00f9bae0-8207-4137-bc5b-ccd4a2078826
2018-10-13 20:11:44.764 +04:00 [DBG] Creating refresh token
2018-10-13 20:11:44.764 +04:00 [DBG] Setting an absolute lifetime: 2592000
2018-10-13 20:11:44.792 +04:00 [DBG] 0ksHq8u0lIVEi9z/8mG3EmV3gRP6Qaj7noYm9IxENbo= not found in database
2018-10-13 20:11:44.796 +04:00 [INF] {
"Name": "Token Issued Success",
"Category": "Token",
"EventType": "Success",
"Id": 2000,
"ClientId": "apiClient",
"Endpoint": "Token",
"SubjectId": "00f9bae0-8207-4137-bc5b-ccd4a2078826",
"Scopes": "email openid phone profile role dukkan offline_access",
"GrantType": "password",
"Tokens": [
{
"TokenType": "refresh_token",
"TokenValue": "****716c"
},
{
"TokenType": "access_token",
"TokenValue": "****t-OQ"
}
],
"ActivityId": "0HLHH4N1CNPPN:00000001",
"TimeStamp": "2018-10-13T16:11:44Z",
"ProcessId": 2812,
"LocalIpAddress": "<IP_ADDRESS>:30571",
"RemoteIpAddress": "::1"
}
2018-10-13 20:11:44.796 +04:00 [DBG] Token request success.
2018-10-13 20:11:57.358 +04:00 [INF] Clearing 0 tokens
2018-10-13 20:12:27.385 +04:00 [INF] Clearing 0 tokens

@leastprivilege, @brockallen any luck?

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!


Add a YARD doc for private classes which aren't meant to be used externally.

Is there a consideration for using private_constant to ensure that programmatically ensure that constants aren't used externally?

Should use the private tag AND the flag on the yard doc creation. Should go right under the api tag description

Here is an example of the private_constant https://gist.github.com/zilkey/7109439


Process Picker: Pick process id from file

Issue Type: Feature Request
Hey guys!
Thanks for an awesome debugging experience. 💙
I'd previously posted a question on SO (currently unanswered at the time of this request) about debugging processes started by pm2.
tl;dr of the problem is: a process started by pm2 is not showing up in the debugger's pick process dialogue (for Attach to Node Process) for some reason. Since I'm running my server in watch mode every time I make a change I've to manually copy the process id back-and-forth for now. 😅
Feature Request:
Allow for a way for the launch configuration to pick a process to watch by fetching the pid from a file.
pm2 already maintains a pid file at a configured path.
This would be really helpful!
Thanks again :)
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T16:03:31.083Z)
OS version: Darwin x64 17.5.0

Good suggestion. An extension could do this using registerDebugConfigurationProvider. I don't know whether it should be in node-debug or not. @weinand

@rheaditi there are many different ways how this problem could be tackled.
Here is a very simple one:
Just create an extension "pm2support" that implements a command pm2support.readPid that reads the pid and returns it as a string.
In your launch config you can use this command like this:
		{
			"type": "node",
			"request": "attach",
			"name": "Attach to pm2",
			"processId": "${command:pm2support.readPid}"
		},

and the code for the "pm2support" extension is this:
import * as vscode from 'vscode';

export function activate(context: vscode.ExtensionContext) {
  context.subscriptions.push(vscode.commands.registerCommand('pm2support.readPid', () => {
	let pid = // read pid from file
    return String(pid);
  }));
}

If you want to get really fancy, you could even watch for changes of the pid-file, create a launch config on the fly, fill in the pid and start a debug session....


Rewrite of cameraShake

Lots of changes and improvements, the original purpose remains but in a better format
Class that calls for the camera to shake passes along the values for intensity and duration to the camera which has "influence modifiers" for how sensitive it is to shaking, these modifiers use sliders for more intuitive control
Based on a timed duration instead of a fickle decay value
magical numbers, bools and such are gone

thanks!