StoreLimits maximum memory trap

Feature
I'd like to see a more meaningful message when using StoreLimits and maximum memory size is reached. Currently, it happens that when instance requests more memory than is allowed, a Trap is generated with message all fuel consumed by WebAssembly with the corresponding stack trace. I don't know what happens if fuel consumption is not enabled, it's possible it will spin indefinitely. If that's the case, this could also be a bug
Benefit
Easier debugging and error handling

This is unfortunately not always possible and is something that you'll typically need to register out-of-band rather than having first-class errors. For example the memory.grow instruction only returns -1 on failure, not an error message, so what the wasm module does when -1 is returned is entirely up to it and not something the embedder has control over. Some wasm modules may be buggy on -1 being returned, which may be the behavior you're seeing.
Otherwise though what you can do is that when the limit is exceeded you can update the state of the StoreLimiter that the limit was exceeded, and then later when building an error report the flag can be checked to indicate that the error may, but is not guaranteed to be, related to the fact that a request for more memory was denied.

I'm going to close this because I believe the StoreLimits are working correctly here in that after failure is signaled to a wasm module with -1 it's up to the wasm module how to handle that. The embedder can recognize that memory growth was rejected but beyond that it's up to the embedder to correlate errors.


🌱 Bump CAPI to v1.3.1

/test all

/retest

/test all

/lgtm

This has to be cherry-picked to release-1.3 branch

/cherry-pick release-1.3

/cherry-pick release-1-3

/cherrypick release-1.3

/cherrypick release-1.3

/cherrypick release-1.3

/cherrypick release-1.3

/cherrypick release-1.3


Examples not working[Bug]

Hi!
I am trying the examples and the buttons are created but I am always getting "This interaction failed", I am using the last version of the library and Python 3.10.

What's version of discord.py?

discord.py v2 and discord_components are incompatible

Which version of discord py are you using? 1.7.3?

Yes

Nice! I changed that and Its working! Thank you very much for this quick support!


fix: update openshift-ci script

JIRA
https://issues.redhat.com/browse/PLNSRVCE-149
Blocked by https://github.com/redhat-appstudio/e2e-tests/pull/47

/retest

/lgtm


Failed building wheel for gensim

I can't seem to install bnaug with !pip install bnaug in Google Colab using Python version 3.10.11.
I am getting the following errors.
Building wheels for collected packages: gensim
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Building wheel for gensim (setup.py) ... error
  ERROR: Failed building wheel for gensim
  Running setup.py clean for gensim
Failed to build gensim
Installing collected packages: tokenizers, sentencepiece, python-crfsuite, sklearn-crfsuite, huggingface-hub, gensim, transformers, bnlp-toolkit, bnaug
  Attempting uninstall: gensim
    Found existing installation: gensim 4.3.1
    Uninstalling gensim-4.3.1:
      Successfully uninstalled gensim-4.3.1
  error: subprocess-exited-with-error

  × Running setup.py install for gensim did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Running setup.py install for gensim ... error
  Rolling back uninstall of gensim
  Moving to /usr/local/lib/python3.10/dist-packages/gensim-4.3.1.dist-info/
   from /usr/local/lib/python3.10/dist-packages/~ensim-4.3.1.dist-info
  Moving to /usr/local/lib/python3.10/dist-packages/gensim/
   from /usr/local/lib/python3.10/dist-packages/~ensim
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> gensim

note: This is an issue with the package mentioned above, not pip.

Hi @luqisha ,
Fixed the problem in patch release. Try the new version 1.1.1

Yes, the installation is working now.  But when I'm trying to use the masking_based Token Replacement, I am getting the following error. I used the demo code provided in the Demo Notebook
ModuleNotFoundError: No module named 'keras.saving.hdf5_format'

The above exception was the direct cause of the following exception:

RuntimeError                              Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py](https://localhost:8080/#) in _get_module(self, module_name)
   1076             return importlib.import_module("." + module_name, self.__name__)
   1077         except Exception as e:
-> 1078             raise RuntimeError(
   1079                 f"Failed to import {self.__name__}.{module_name} because of the following error (look up to see its"
   1080                 f" traceback):\n{e}"

RuntimeError: Failed to import transformers.models.bert.modeling_tf_bert because of the following error (look up to see its traceback):
No module named 'keras.saving.hdf5_format'

Is this related to the previous error?

It might be the Transformers version. This is different.
I will regenerate the issue and try to fix it soon.
Meanwhile, you can clone the repository and try with specific transformers version.
I am hoping it will work then.

Yes, the installation is working now. But when I'm trying to use the masking_based Token Replacement, I am getting the following error. I used the demo code provided in the Demo Notebook
ModuleNotFoundError: No module named 'keras.saving.hdf5_format'

The above exception was the direct cause of the following exception:

RuntimeError                              Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/transformers/utils/import_utils.py](https://localhost:8080/#) in _get_module(self, module_name)
   1076             return importlib.import_module("." + module_name, self.__name__)
   1077         except Exception as e:
-> 1078             raise RuntimeError(
   1079                 f"Failed to import {self.__name__}.{module_name} because of the following error (look up to see its"
   1080                 f" traceback):\n{e}"

RuntimeError: Failed to import transformers.models.bert.modeling_tf_bert because of the following error (look up to see its traceback):
No module named 'keras.saving.hdf5_format'

Is this related to the previous error?

@luqisha you can just "pip install --upgrade transformers". This worked for me.


Problems to login to SONATA Service platform

Hi,
When I installed the sonata platform (v 3,0) (previously i had edited the Sonata SP user in roles/sp/defaults/main.yml). Initially, I could login and exit normally, but after installing the son-cli and son-emu in the PC. I couldn't login again to SONATA SP.
What can I do?
Best regards

Hello, 1st it's nice to hear your interest on 'son-install'. I've tried to reproduce the reported issue at our premises but did not face similar behavior. Here is my steps:

get 'son-install' repo
run 'son-cmud' in dry mode with settings for both scenarios:

Openstack VIM
$ ansible-playbook son-cmud.yml -e "ops=create plat=sp pop=ncsrd proj=dem distro=xenial" -v --check
localhost
$ ansible-playbook utils/deploy/sp.yml -e target=localhost -v --check

get 'son-cli' repo
re-run 'son-install'

So, let me hear some more details about your deployment, namely:
a) what is the deployment scenario? [localhost/openstack]
b) did you create the hidden vault password for 'sonata' as requested in 'ansible.cfg'?
vault_password_file = ~/.ssh/.vault_pass

Hi arocha7,
Thanks for the quick reply. I think so that sonata is an excellent platform, therefore I am trying to install it in my laptop and I want to test the tool ASAP. For achieving that I follow the next steps:

In the son-install directory I run the command to localhost (development scenario):

ansible-playbook utils/deploy/sp.yml -e target=localhost -v --check

About the questions these are the answers:
a. deployment scenario: localhost
b. Yes.
Now, when I run the command, I have the next output:
... # Previus output
... # Previus output

TASK [sp : debug] ************************************************************************************************************************************************
ok: [localhost] => {
    "msg": "##### SP GUI DEPLOYMENT 20180323-1145"
}

TASK [sp : GATEKEEPER GUI - running Docker containers] ***********************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: __init__() got an unexpected keyword argument 'auto_remove'
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_NpeRsx/ansible_module_docker_container.py\", line 2124, in <module>\n    main()\n  File \"/tmp/ansible_NpeRsx/ansible_module_docker_container.py\", line 2119, in main\n    cm = ContainerManager(client)\n  File \"/tmp/ansible_NpeRsx/ansible_module_docker_container.py\", line 1759, in __init__\n    self.present(state)\n  File \"/tmp/ansible_NpeRsx/ansible_module_docker_container.py\", line 1797, in present\n    new_container = self.container_create(self.parameters.image, self.parameters.create_parameters)\n  File \"/tmp/ansible_NpeRsx/ansible_module_docker_container.py\", line 891, in create_parameters\n    host_config=self._host_config(),\n  File \"/tmp/ansible_NpeRsx/ansible_module_docker_container.py\", line 989, in _host_config\n    return self.client.create_host_config(**params)\n  File \"/usr/local/lib/python2.7/dist-packages/docker/api/container.py\", line 587, in create_host_config\n    return HostConfig(*args, **kwargs)\nTypeError: __init__() got an unexpected keyword argument 'auto_remove'\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 0}
	to retry, use: --limit @/home/tigarto/son-install/utils/deploy/sp.retry

PLAY RECAP *******************************************************************************************************************************************************
localhost                  : ok=44   changed=7    unreachable=0    failed=1

I attach the log:
ansible.log
Best regards.

It seems that you have run it with "--check". That is only used to verify the playbook sintax and step by step execution but without creating resources.  You should run it in normal mode:
$ ansible-playbook utils/deploy/sp.yml -e target=localhost -v
Also make sure you have more that 4GB RAM at your laptop. In the end you'll get two web applications:

the SP: http://
the BSS: http://:25001

Looking forward to hear from you.

Hi, thack you again for the help.

My laptop has 8GB RAM.
I running the command:

$ sudo ansible-playbook utils/deploy/sp.yml -e target=localhost -v

But, now the error is the following:
TASK [sp : MONIT InfluxDB  - running Docker containers] ******************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error pulling image sonatanfv/son-monitor-influxdb:dev - 'module' object has no attribute 'get_config_header'"}
	to retry, use: --limit @/home/tigarto/son-install/utils/deploy/sp.retry

PLAY RECAP ***************************************************************************************************************************
localhost                  : ok=44   changed=7    unreachable=0    failed=1

I search in the web and I found in the next link a possible answer? I installed a docker-compose but the error persist. Do you think it's a good idea to reinstall the docker related tools?
Looking forward to hear from you.

Hi, before run the 'sp.yml' playbook to deploy the SONATA SP platform, my suggestion is to previously run a similar playbook to deploy the Docker engine:
$ ansible-playbook utils/deploy/docker.yml -e "target=localhost plat=docker" -vvvv
$ ansible-playbook utils/deploy/sp.yml -e "target=localhost plat=sp" -vvvv
Also use 4 'v' in the CLI to get higher verbosity.
then let me know how it is. Regards

Hi,
Thank you again. I follow the instructions. These are the results:

Command 1:

sudo ansible-playbook utils/deploy/docker.yml -e "target=localhost plat=docker" -vvvv
Output 1: There were no mistakes. I attach the results in the next log:
output1_deploy_docker.log

Command 2:

sudo ansible-playbook utils/deploy/sp.yml -e "target=localhost plat=sp" -vvvv
Output 2: There were mistakes. In the next log
output2_deploy_sp.log is the output.
Looking forward to hear from you.
Best regards.

Hi, i don't explanation for this error unless for the fact this is invoking a 4 months old image tagged 'dev'. As a workaroung, my suggestion is:
a) overload the "sp_ver" parameter in the command line, like:
$ ansible-playbook utils/deploy/sp.yml -e "plat=sp pop=alabs proj=dem distro=xenial" -v --limit @/home/ubuntu/son-install-SON-MST/utils/deploy/sp.retry

b) change 'sp_ver' in the Role's defaults file to "latest"
$ vi roles/sp/defaults/main.yml
sp_ver: latest

Hello @tigarto seems your PC can't download the image sonatanfv/son-monitor-influxdb
msg": "Error pulling image sonatanfv/son-monitor-influxdb:dev
As you can see in dockerhub, the image is available.
docker hub
Can you try to pull it directly from your linux console?
docker pull sonatanfv/son-monitor-influxdb:dev

Hi,
Thank you very much to all. Your help was very valuable. The next step is start with the tutorials. I hope enjoy it.
All the best.

Thanks @tigarto for your feedback. I'm closing this issue since your issue was fixed.


Update sys-databases-transact-sql.md

Adding SQL 22 info

Learn Build status updates of commit fc349b2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/system-catalog-views/sys-databases-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 50ec947:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/system-catalog-views/sys-databases-transact-sql.md
:white_check_mark:Succeeded

docs/t-sql/statements/alter-database-transact-sql-compatibility-level.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@markingmyname, @rwestMSFT
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks, Pedro. Merging this week.

Thanks @rwestMSFT


Problem using the latest Microsoft.Azure.DocumentDB NuGet package with .NET Standard

I noticed that the Microsoft.Azure.DocumentDB NuGet package was updated to 1.21.0 and that Microsoft.Azure.DocumentDB.Core was updated to 1.9.0. Furthermore, the description for this package now contains the text

This package has been deprecated and replaced by Microsoft.Azure.DocumentDB

It seems that I now should use Microsoft.Azure.DocumentDB 1.21.0 everywhere in my solution. However, I have a full .NET framework application that has dependencies on .NET Standard 2.0 libraries using Cosmos DB and I'm experiencing some problems that can be reproduced as follows:

Create a new blank solution (File > New Project > Installed > Other Project Types > Visual Studio Solutions > Blank Solution)

Add a .NET Standard class library project (File > Add > New Project > Installed > Visual C# > .NET Standard > Class Library (.NET Standard))

Add a reference to the Microsoft.Azure.DocumentDB 1.21.0 NuGet package to this project (Project > Manage NuGet Packages > Browse > Microsoft.Azure.DocumentDB > Install)

Add a full framework console application project (File > Add > New Project > Installed > Windows Classic Desktop > Console App (.NET Framework))

Add a reference from the console application to the library (Project > Add Reference > Projects > ClassLibrary1 > OK)

In the class library add a public static field of type IDocumentClient to Class1

Verify that the solution compiles

In the console application retrieve the value of the field added in 6.

The solution no longer compiles. The error message is

The type 'IDocumentClient' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Azure.DocumentDB.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.	FullFrameworkApplication	C:\Users\Martin\Source\Repos\CosmosDB\FullFrameworkApplication\Program.cs	9	N/A

So I'm instructed to add a reference to the NuGet package that has been deprecated. Even though adding this package fixes the compile error it doesn't seem right. In fact, it is the "core" package that I have to add to the full framework project to fix the compile error.
Can you please provide some guidance on how to use the latest version of Microsoft Azure Cosmos DB .NET SDK with .NET Standard libraries?

Thanks, I was able to reproduce. Working on a fix now.

When you install the package it installs the .net framework assembly because the console app targets .net framework, but you want the .net standard assembly. Both versions are in the same package. For now make sure it references the .net standard assembly by editing your csproj from
<Reference Include="Microsoft.Azure.Documents.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  <HintPath>..\packages\Microsoft.Azure.DocumentDB.1.21.0\lib\net45\Microsoft.Azure.Documents.Client.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
  <HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
  <Private>True</Private>
</Reference>

To
<Reference Include="Microsoft.Azure.DocumentDB.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  <HintPath>..\packages\Microsoft.Azure.DocumentDB.1.21.0\lib\netstandard1.6\Microsoft.Azure.DocumentDB.Core.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
  <HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>

And update the packages.config from
<package id="Microsoft.Azure.DocumentDB" version="1.21.0" targetFramework="net461" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net461" />

to
<package id="Microsoft.Azure.DocumentDB" version="1.21.0" targetFramework="netstandard1.6" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="netstandard1.6" />

@Liversage please use the work-around above while we address the issue in the package.

@ausfeldt @kirankumarkolli Thank you for you response. The workaround that I'm successfully using in my solution is to add the deprecated package as a dependency of my full framework project.
I have converted all my projects (also the full framework project) to the new "lean" .csproj format so I'm actually not sure how to apply the HintPath used in your workaround. However, as I have working solution that is not a problem.

@Liversage single nuget package is unlisted and newer independent versions are published. Please use https://www.nuget.org/packages/Microsoft.Azure.DocumentDB.Core/.

Is there any dependency of Microsoft.Azure.DocumentDB v2.1.3 on some other packages?
I tried to use Cosmos DB as chatbot conversion data store, and the package versions I have used are
Microsoft.Bot.Builder v<IP_ADDRESS>846
Microsoft.Bot.Builder.Azure v<IP_ADDRESS>846
Microsoft.Bot.Connector v<IP_ADDRESS>846
and I always receive the below exception
Method not found: 'System.Threading.Tasks.Task1<Microsoft.Azure.Documents.Client.ResourceResponse1<Microsoft.Azure.Documents.Document>> Microsoft.Azure.Documents.IDocumentClient.DeleteDocumentAsync(System.Uri, Microsoft.Azure.Documents.Client.RequestOptions)'.

Does Microsoft.Azure.DocumentDB v2.1.3 has any hard dependency on any specific version of some other packages?
I tried to set up Cosmos DB as chatbot conversation data store.
The version I used for Microsoft.Bot.Builder, Microsoft.Bot.Builder.Azure and Microsoft.Bot.Connector is <IP_ADDRESS>846. And I alway got the below exception
Method not found: 'System.Threading.Tasks.Task1<Microsoft.Azure.Documents.Client.ResourceResponse1<Microsoft.Azure.Documents.Document>> Microsoft.Azure.Documents.IDocumentClient.DeleteDocumentAsync(System.Uri, Microsoft.Azure.Documents.Client.RequestOptions)'.

@xfzhang1974 I'm not sure your problem is relevant to this issue. However, the error you get indicates that there is a serious version mismatch.
With the version that you list I would expect that you have a dependency on Microsoft.Bot.Builder.Azure <IP_ADDRESS>889 which has a dependency on Microsoft.Azure.DocumentDB >= 1.22.0. You seem to be having a dependency on Microsoft.Azure.DocumentDB 2.1.3. You could try to change this to Microsoft.Azure.DocumentDB 1.22.0. If your project is .NET Core you can simply remove the dependency as NuGet properly will handle the transitive dependencies but if you have a full framework project adding a dependency on a specific package version can fix some problems.

@Liversage Thanks for the information.
I got my chatbot working with Cosmos DB.
Here are the ddl versions that work for me.
Microsoft.Bot.Builder.Azure <IP_ADDRESS>846
Microsoft.Azure.DocumentDB  <IP_ADDRESS>
BTW, I had a hard time with NuGet, which didn't update web.config automatically.


Thank you page for Platform overview download

Description

Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

Hi @Hasmin-AC is this ready for review? It's still as a draft PR

I wasn't sure what to put under "collectionName" but other then that its ready for review in my end.

That's referring to this. If you want to display articles from a specific collection, select one of the tags from that list, and it will filter the articles accordingly. If not, you can delete that line, and it will display the latest articles on the blog.


python2.7version wrong?

(torch) ➜  Human-Segmentation-PyTorch git:(master) ✗ python2.7
Python 2.7.5 (default, Nov 27 2020, 13:20:09)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import torch
import timm
Traceback (most recent call last):
File "", line 1, in
File "timm/init.py", line 2, in
from .models import create_model, list_models, is_model, list_modules, model_entrypoint,
File "timm/models/init.py", line 1, in
from .byoanet import *
File "timm/models/byoanet.py", line 30
**kwargs
^
SyntaxError: invalid syntax

Does timm support python2.7? If so, what should I do?  I got this error according to the operation on the official website. Could you help me  ?

Python 2 is not supported


Castles as directories (all in one repo)

Is there any way that castles can become essentially directories within a single repo, instead of each being a repo by itself?  You'd clone this repo, then "link" only those castles (i.e., directories) that you wanted on that machine.

I'm pretty sure what you're asking can be achieved once #77 is implemented.


[FEATURE] Add proper percentage calculation logic

Description
The following URL must show 10%, because 4 of 40 is 10%, but it's showing 4%, which is not correct

https://progress-bar.xyz/4/?scale=40&title=done

Tech notes
No response
Screenshots or Diagrams
No response
Additional information
No response

Hi @Almaz-KG, thanks for reporting this issue! 📝
I’ll start investigating to identify the root cause and come up with a fix. 🔍 While I work on this, feel free to join in the investigation if you have any additional context or thoughts on the issue. 👥 Your input is always appreciated!
I’ll update you as soon as I have more information. 🚧
🔄 Next Steps:

Investigating the bug 🕵♂
Looking for potential fixes 🛠

Thanks again for your help! 😊

@Almaz-KG fixed!

Thank you very much @guibranco !


AdapativeChoices + CustomChoices + AutoChoices.DISABLED + Enum column -> wrong mix!

(Original issue 16 created by None on 2011-05-26T13:13:50+00:00)
What steps will reproduce the problem?
1. Define the filter header as autoadaptative
2. Set the autoChoices to DISABLED
3. Set the column type to a given enumeration
4. Define specific CustomChoices

What is the expected output? What do you see instead?

The normal output, if all enumeration values are available in the column, would be
to have all those values PLUS the defined custom choices on the editor's combobox

However, only the custom choices, and some of the enumeration values are present (one
enumeration value missing for each given custom choice)

What version of the product are you using? On what operating system?
4.1.4, XP

Please provide any additional information below.
The problem seems to be on line 629 in AdaptiveChoicesHandler, where it is checked
if (maxChoices > 0), instead of checking is autoOptions are disabled.

Original issue reported on code.google.com by luismpena on 2011-05-26 13:13:50

(Original issue 16 last updated on 2015-04-26T00:23:51.723397+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by coderazzi on 2011-06-07T15:03:11+00:00)
(No text was entered with this change)

Original issue reported on code.google.com by coderazzi on 2011-06-07 15:03:11

(Original comment by coderazzi on 2011-10-13T10:08:04+00:00)
Indeed, the same problem happens as well if AutoOptions has value Enum and a column
does not contain an enumeration type.

Original issue reported on code.google.com by coderazzi on 2011-10-13 10:08:04

(Original comment by coderazzi on 2011-11-10T16:19:51+00:00)
Fixed on 4.2.0

Original issue reported on code.google.com by coderazzi on 2011-11-10 16:19:51

(Original comment by coderazzi on 2011-11-14T23:13:13+00:00)
(No text was entered with this change)

Original issue reported on code.google.com by coderazzi on 2011-11-14 23:13:13

(Original comment by coderazzi on 2015-04-26T00:23:51.731191+00:00)
Already resolved (previously, before migrating to BitBucket)


Why is CatList Val and unsafeCoercion used instead of some type aligned sequence?

Today I finished reading of the referenced paper "Reflection without Remorse" (before I tried, but did not understood) and after that taking look at Free implementation made more sense but what I don't understand is why the CatList, Val and  unsafeCoercion is used when some type aligned sequence could be used as in the paper?

Can you summarize the advantages? What is a "type aligned sequence" specifically? Can it be implemented as efficiently in PureScript?

The CatList usage is the type aligned sequence, is it not?

for example this is Type aligned binary tree (https://hackage.haskell.org/package/type-aligned-0.9.6)
data BinaryTree c x y where
  Empty :: BinaryTree c x x
  Leaf  :: c x y -> BinaryTree c x y
  Node  :: BinaryTree c x y -> BinaryTree c y z -> BinaryTree c x z

btw lists are Free Monoids and type aligned sequences are Free Categories  and you can express make Free monoid From Free Categories if elements in this tree are of form:
type T a b c = T a

v :: T Number () ()
v = T 1

-- BinaryTree (T Number) () () is free monoid (list) of Number
z :: BinaryTree (T Number) () ()
z = Leaf v

CatList is not type safe i think and one needs to use the Val and unsafe coercion. which could be avoided using  BinaryTree like structure.

For example the Func type I wrote is basically type aligned binary tree whre data is on leafs specialised on (->) it could be generalised to type aligned binary tree for any binary type. and the Free I have is just TABinaryTree (->) and the ExpF is TABinaryTree (Kleisli Free)

What I meant was - can you write it without GADTs in an efficient way?

(it's fun that to fix quadratic complexity of Free monads bind you need to use Free category :d)

ah, don't know. GADT's have performance issues? after I read that paper and then looked at this implementation it raised this question nothing else, I have not even written purescript/haskell so don't know

Well we don't have GADTs.

ops didn't knew that.
is there plan/PR/issue on adding GADTs?

Doesn't look like it, but I'm sure it won't happen before 1.0, and probably not for a while after that.

They're a huge feature for the typechecker, not something you can throw in there with a few days work.


add kilosort3 docker image

Added ks3 image, very similar to ks2

I'll merge this unless anyone has objection.


breaking in ionic-native 4.0.0

ionic-native 4.0.0 changed @ionic-native/transfer into @ionic-native/file-transfer and this breaks ionic-image-loader

Thanks! I will update this soon.

Please update to<EMAIL_ADDRESS>

Whoaa, that was fast. Thanks!


add September blog post

Signed-off-by: Daniel Holbach<EMAIL_ADDRESS>

→ https://deploy-preview-490--fluxcd.netlify.app/blog/2021/09/september-2021-update/


[easy] update bindings.

This test failure is expected as the field rename is happening in #58

Interestingly if I do make bindings I get 11 files changed, not 3.  Any idea why?

Interestingly if I do make bindings I get 11 files changed, not 3. Any idea why?

I chopped those out of the changeset.  Let's discuss on slack.

Landing these changes for now.


Broadcast toOthers() issue

When broadcasting to others you end up still receiving the the broadcast any help on this ?

Try the new version

it works when I use it this way
axios.defaults.headers.common['X-Socket-Id'] = Echo.socketId();

when the X-Socket-Id is being place and I navigate out of that component and back into the component the it start receiving the broadcast to others.
each time I get into that page I leave that channel before re-entering it back
any ideas ?

Echo.leave('channel-name');
almost like the channel is not being left

Hello, you can share more information about your case, such as the NS version and the plugin, at which moment you launch the events of join and leave, greetings.

lets say I have two component Home & Chat
I leave from the home to the chat where the join and the leave are
mounted(){
const Echo =  new TnsEcho({
host: url,
authEndpoint: '/broadcasting/auth',
 broadcaster: 'socket.io',
debug: false,
auth: {
headers: {
Authorization: 'Bearer ' + token
}
 },
});
setTimeout(() => {
Echo.socketId();
axios.defaults.headers.common['X-Socket-Id'] = Echo.socketId();
}, 1000);//half second for get socket id, only socket.io
Echo.leave('chat_id');
Echo.private('chat_id')
.listen('ChatEvent', (chat) => {
....
console.log(chat);
                 `});`

},
but it does not leave the channel
each time it enter the chat component it just creates a new channel with a new socket id there by causing the application to listen to its own broadcast()->toOthers

setTimeout(() => {
                Echo.socketId();
                console.log('headers for axios');
                axios.defaults.headers.common['X-Socket-Id'] = Echo.socketId();
            }, 1000);//half second for get socket id, only socket.io

You're using the versión 1.0.3?

You're using the versión 1.0.3?

yes I thought it was the problem so I updated to it but still has same problem

try this
export default {
   data() {
      return {
         echo: null,
         channel: ''
      }
   },
   mounted() {
      this.channel = 'MiChannel';
      this.echo = new Echo(options);
       this.echo.join(this.channel)
                .here((users) => {
                    console.log(users);
                })
                .joining((user) => {

                })
                .leaving((user) => {

                })
                .listen('Event', (e) => {

                });
   },
   destroyed() {
      this.echo.leave(this.channel);
   }
}

I have same problem, i can't get socketId. Seem, this.echo.socketId() not working

In the connector socketio-connector.js , this.socket.socket.id() is undefined.
It should be this.socket.android.id() or this.socket.ios.id() depending on the platform

I work on the solution these days

Any new information about this issue?

Ready uploading


cpp: export functions to transform isl [pw_] aff to sets

@ftynse , @nicolasvasilache : You wanna do a quick code-review to check how code-reviews work for us. Once passed, I will submit this to Sven.

Looks good!

Submitted to Sven.

These have been upstreamed to isl.

Actually, this has not yet been merged.

Merged into isl.


Read only arrays/objects are not showing as read only

Hi there!
I tried hard to find a solution for this, but the code generating the trees and hiding read-only fields is more than I could chew on after a long day at work...
We have some server-side generated fields that are read-only, something like this:
        uploadDate:
          type: string
          readOnly: true
          format: timestamp
          example: "2021-07-01T00:00:00.000Z"
        latestFile:
          readOnly: true
          type: object
          properties:
            type:
              type: string
              example: thumbnail_large
            url:
              type: string
              format: url
              example: https://placekitten.com/g/400/400
        formats:
          readOnly: true
          type: array
          items:
            type: string
            example: thumbnail_large

Our goal is to, whenever possible, use the same object for POST/PUT as we use for GET, and leverage the fact that the explorer is hiding the read-only fields -- but that's not working for objects and arrays
With the example above, in GET, only uploadDate shows with the [R]:

In POST/PUT, uploadDate is hidden correctly, but the other ones show:

Seems like while readOnly primitives are properly displayed in GET, and hidden in POST/PUT, it seems like it's not supported to have readOnly for objects and arrays, though there's nothing in the OpenAPI spec that prevents it
Do you think that would be possible to fix this? I tried looking at schema-tree file but seems like objects and arrays are treated very differently than primitives (including in schema-utils), with fields like ::description, and had no idea where to go from there...

That seems to be working fine for our Spec, irrespective of it being primitive, object or array
there is a test case too for that https://mrin9.github.io/RapiDoc/examples/readwrite.html#servers

never mind I commented in a wrong repo

@baboonmaj it should also work here, however there have been a lot of changes to improve UX that there might have been something over looked.
@max-mathieu I'll take a look and see if there is something out of place. To make sure that we fix any issue with your spec not displaying as expected, it would help to have a minimal reproduction. Can you attach one, that would definitely speed up the fix.

This has been fixed in the latest version, thanks for the report. If you find anything not working, please let us know..


Fix regexp path patern's not all checked

Summary
Issue: Regular expression (regexp) path patterns are not being fully checked during the path pattern matching process.
Detailed Description
I encountered this issue while working with path pattern matching. The core problem lies in the handling of regular expression (regexp) path patterns within the codebase. Specifically, the current implementation fails to iterate over all provided path patterns, stopping the process prematurely when it encounters a failure. This limitation significantly restricts the utility and flexibility of using regular expressions for path matching.
Solution
The proposed fix ensures that all path patterns are checked by modifying the iteration logic. Instead of returning upon the first failure, the code now continues to iterate through the entire list of path patterns, thereby improving the robustness and reliability of the regexp path pattern matching.
By applying this fix, the system will be able to handle a more extensive range of path patterns, thus enhancing its functionality and accommodating more complex use cases.

I'm surprised how this was missed and not noticed sooner.
Thank you very much for the PR! 💙
Before merging, I would like to take more time for these 2 things;

figure out why we seem to have a duplication of that logic in both beam_guard and utils, and can we alleviate that
write at least 1 test for this

Oh wow, what a find!
I'm surprised how this was missed and not noticed sooner. (probably not a lot of people using regex path patterns, me included)
Thank you very much for the PR! 💙
Before merging, I would like to take more time for these 2 things;

figure out why we seem to have a duplication of that logic in both beam_guard and utils, and can we alleviate that
write at least 1 test for this

Point 1

year, I noticed that to. That was indeed a bit weard.

@slovnicki I created a new PR with some changes and new issues fixed.
https://github.com/slovnicki/beamer/pull/674

Closing this, as it has no value anymore


fix: displayed speaker org on empty speaker position

Fixes #1678
Changes:
Displayed speaker org on empty position.
Screenshots for the change:

@iamareebjamal @Shailesh351 @shreyasnbhat @mahikaw
please review.

@arp95 was this closed on purpose?

yep. its being done in another issue.


No Exported Commands after Importing Module

I'm a bit new to working with custom modules in PS, so forgive me if this is a simple resolution.
I've imported the PoshZD module, however when I run Get-Module, I see that PoshZD has no exported commands. I'm unable to work with any of the cmdlets after this.
Is there something I'm missing?
Thanks for you help.

same issue

Sorry all! I’ll get this fixed ASAP!


[HDInsight] - Swagger-based Job SDK

Description

Swagger PR Links

[Azure/azure-rest-api-specs#4489: [HDInsight] - Swagger based job SDK
[Azure/azure-rest-api-specs#4883: [HDInsight] - Change package according to dataplane standard

Note

This change aims to update the existing Jobs SDK to make it swagger-based
Move the Management SDK under folder Management and make job SDK under folder DataPlane
Update generated.cmd of Management SDK to point to the correct path since the Management SDK code path has changed

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] Please add REST spec PR link to the SDK PR
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

How much of the code is autogenerated and how much of it is hand written?

code under Generated are generated, while code under Customizations are hand written. Other code are just test code or project related files.

@shahabhijeet merge when ready


⚠ SceneTime has degraded performance

In e8c9ecb, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3949 ms

Resolved: SceneTime performance has improved in 479aa04.


Does not respect app.baseURL in inline font-face rules in production

Setting baseURL: "/base-url/" does not seem to work in production (works as expected in development).
Development
@font-face {
  ...
  src: local("Playfair Display Variable"), url("/base-url/_fonts/nuFiD-vYSZviVYUb_rj3ij__anPXDTjYgEM86xRbPQ-OBdH44Wijn.woff2") format(woff2);
  ...
}

Production
@font-face {
  ...
  src: local("Playfair Display Variable"), url(/_fonts/nuFiD-vYSZviVYUb_rj3ij__anPXDTjYgEM86xRbPQ-OBdH44Wijn.woff2) format(woff2);
  ...
}

Minimal reproduction
Repo: https://github.com/Luca-Sett/font-test
Live URL: https://font-test-beta.vercel.app/base-url/

I'm experiencing the same issue.
In my case, I'm pre-rendering the whole site using npm run generate.

Thanks @danielroe 🙏 Confirming that this is fixed in the above reproduction!


[Bug] async test fails

I tried to run the async test and it failed.

Thanks @ahopkins :heart:
Strangely ReusableClient worked for me although quite it was quite buggy

Should be resolved now


Check return code for bash commands

Issue
Today there is no validation in most of bash scripts if the command failed or not
Suggestion
Add a check if a bash command failed we should stop the deploy and share a message why this happen.

Generic function to catch error in a command (require to add in the bash script or a common.sh)

function if_error_exit {
    ###########################################################################
    # Description:                                                                                #
    # Validate if previous command failed and show an error msg (if provided)                               #
    #                                                                                #
    # Arguments:                                                                                #
    #   $1 - error message if not provided, it will just exit                                                                  #
    ###########################################################################
    if [ "$?" != "0" ]; then
        if [ -n "$1" ]; then
            RED="\e[31m"
            ENDCOLOR="\e[0m"
            echo -e "[ ${RED}FAILED${ENDCOLOR} ] ${1}"
        fi
        exit 1
    fi
}

Calling this function in ./sync/linux/controlplane.sh (example)

<snip>

KUBEADM_TOKEN_CREATION=("kubeadm token create --print-join-command >> /var/sync/shared/kubejoin.ps1")
$(KUBEADM_TOKEN_CREATION)
if_error_exit "kubeadm token creation failed, command was: ${KUBEADM_TOKEN_CREATION}"

/good-first-issue

spoke w/ doug and amim - we can make a large MR to fix this in side of #177


How to Attach a single volume to multiple hosts in grid?

I am using volume something like below.  Now I am copied to volume folder to 2 instances. where docker running in kontena. Is there any way single volume to multiple hosts in grid?
volumes:
  - /root/infra-config/json:/etc/webhook/data

One way is to use "real" grid scoped volumes with a driver that actually has a replicated data storage behind to have the data replicated between nodes. For example in AWS environment you could use Rexray with s3fs support and have the files in a S3 bucket..

Thank you but we are still not on public cloud. We created local cloud on VMs using vmware (vsphere)tool.

@santhoshkumarhirekerur maybe this helps: https://vmware.github.io/docker-volume-vsphere/

Thank you @jakolehm.

closing as assumably solved :)


fix(components): focus indicator when textarea is resized (VIV-905)

I think that we need to keep the focus design also here and no the native one.

the difference is subtle but it's here indeed 👍 I'll have a look


Fix apq8074 support

r-b on pil-squasher: write ELF header after reading it, was already curious to see this missing in #4 but the PR was already merged :)

@MarijnS95 usually the ELF header is written when processing the phdr 0. However I stumbled upon a case which has the following headers:
 readelf -hl /tmp/mba.mbn
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           QUALCOMM DSP6 Processor
  Version:                           0x1
  Entry point address:               0xd100000
  Start of program headers:          52 (bytes into file)
  Start of section headers:          0 (bytes into file)
  Flags:                             0x3
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         1
  Size of section headers:           0 (bytes)
  Number of section headers:         0
  Section header string table index: 0

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x001000 0x0d100000 0x0d100000 0x38278 0x38278 RWE 0

Fwiw I vaguely recall seeing more than just the header in mdt files that was not referenced by any segment. Could have been garbage, or not :sweat_smile:, would have to check up on my local library. There was also a special "hash" type IIRC that may have to remain in the mdt file?

@MarijnS95 yes, the mdt file consists of ELF header + signature data. For most of the typical files these are segments 0 and 1 concatenated.

No, unfortunately readelf skips that flag.

But it is quite strange that your file does not show it... Oh well, as long as you can load it when only copying the ELF header and keeping the rest of the program headers in .bxx files. The only alternative is copying anything up until the first program header (typically 0x1000, IIRC the signature was duplicated here too).

Unlike the rest of the apq8074 that I have here, mba.mdt was not
signed at all. Rest of the firmware files contain the hash table
(without certificate chain and actual signature). This one doesn't
even has a hash table.

@andersson gracious ping


install

npm install gantt-task-react

Hi @shrai31,
gantt uses old version of react. Im going to use 17.0.2 version in new release.

Hi, please try the latest version

FYI this error still pops up in the latest release. I had to use --use-legacy-deps to make it work with React 18.


C++ support

Further support for files written in C/C++
Steps to Reproduce

Build a compiler(Or at least install an extension similar to a compiler)
Build an interpreter

Versions
Windows 10
Brackets Release 1.14 build 1.14.2-17770

This is not a bug, so there should not be any steps to reproduce. As far as I know, there is no interest in supporting additional languages to a more enhanced level. If you need C++ IDE, you can try using CLion (there are student licenses).


prevent button click from reloading page

This was causing issues for me during development, the page would reload before the getRequestToken calls would finish causing the popup to have a blank white page.
I think this may fix this issue: https://github.com/GenFirst/react-twitter-auth/issues/19

Coverage decreased (-0.3%) to 16.667% when pulling 4d81d5fbc7bccdb365068ee61981b753bf11e0e8 on nichcurtis:patch-1 into fc01dbca64fd3764e513940a9a94e54c1e91aa1a on GenFirst:master.

Coverage decreased (-0.3%) to 16.667% when pulling 4d81d5fbc7bccdb365068ee61981b753bf11e0e8 on nichcurtis:patch-1 into fc01dbca64fd3764e513940a9a94e54c1e91aa1a on GenFirst:master.

Coverage decreased (-0.3%) to 16.667% when pulling 4d81d5fbc7bccdb365068ee61981b753bf11e0e8 on nichcurtis:patch-1 into fc01dbca64fd3764e513940a9a94e54c1e91aa1a on GenFirst:master.

Coverage decreased (-0.3%) to 16.667% when pulling 4d81d5fbc7bccdb365068ee61981b753bf11e0e8 on nichcurtis:patch-1 into fc01dbca64fd3764e513940a9a94e54c1e91aa1a on GenFirst:master.

Coverage decreased (-0.3%) to 16.667% when pulling 4d81d5fbc7bccdb365068ee61981b753bf11e0e8 on nichcurtis:patch-1 into fc01dbca64fd3764e513940a9a94e54c1e91aa1a on GenFirst:master.

Thank you for your valuable contribution.


Release 0.7.0

🆕 New features:

New component: Digital Marketplace Banner component
Installing component:

Check config.py has this line for jinja to find the components
            os.path.join(repo_root, 'node_modules', 'digitalmarketplace-govuk-frontend')

Import the component in _base_page.html
{% from "digitalmarketplace/components/banner/macro.njk" import dmBanner %}

Use the component {{ dmBanner({...}) }}. For its parameters, see its README and/or YAML. For examples, see the review app.

The bump to Node should probably be its own commit and have a note in the changelog.

The bump to NodeJS should probably be its own commit and have a note in the changelog.

de-bumped node


Formatting of partial result sets fixed

The latter examples were incorrectly formatted, now fixed.

Thank you @garethstephenson for the help.


[FEATURE] Gradient-Generator

Is your feature request related to a problem? Please describe.
As a front-end developer picking up colors and gradient is always a huge problem, we are unable to decide which gradient will look best for our website.
There must be a gradient generator which a programmer can use and copy the gradient code directly to its website
Describe the solution you'd like
I want to add a gradient-generator based on simple HTML5, CSS3 & Javascript, which can help a programmer to select colors using color inputs and will be able to directly copy the code for the gradient
Describe alternatives you've considered
These are a lot of alternatives but most of them are cumbersome and programmer finds it difficult to choose between already provided color pallettes, also this makes the whole process less innovative as programmer will be using an already created generic color pallette, here my code will help programmer to choose pallette according to the demand of either business or the programmer itself.
Additional context

Please allow me to work for this enhancement

Ofcourse! Go ahead just make sure the directory path you put this project in must in right place.

Awesome work @harshit-maheshwari. Thanks for your valuable contribution.
Closing wrt #62


Dart analyzer should not return an error if it is fed a path that consists only of ignored files

Dart SDK Version (dart --version):  2.3.2
Whether you are using Windows, MacOSX, or Linux (if applicable): Linux

At the line: https://github.com/dart-lang/sdk/blob/master/pkg/analyzer_cli/lib/src/driver.dart#L335
This seems to make the analyzer fail with an error "No dart files found at..." if it is given a path that consists only of files that are ignored.  The issue with this is, if you have a build system that feeds individual files to the analyzer, you have to make the build system prefilter the files based on the patterns given in analyzer.ignore in order for the analysis to pass; which kind of defeats the purpose of ignoring the files.
Now, I get that one should not normally pass in ignored file paths; but sometimes one has no choice.

Also I see why you may want to have errors when there are no matching files: this way if you make a typo by mistake, the analyzer doesn't keep silent.  But, sometimes you do want it to be quieter than usual.

Hmm, I wonder if the right thing to do here is to print the same message ('no files found...'), but to return a non-error (0) exit code; the analyzer didn't in fact find any errors in code, and there were no incorrect cli options passed in.
@stereotype441

If the above behavior is something we'd want, we'd take contributions for the change.

Hmm, I wonder if the right thing to do here is to print the same message ('no files found...'), but to return a non-error (0) exit code; the analyzer didn't in fact find any errors in code, and there were no incorrect cli options passed in.
@stereotype441

I like this idea


Day planner both status task not working

Both status displayed in active task and  circular progress not working. It's written ALL DONE at the bottom there. Anyone know how to fix this issue ? I'm using the latest obsidian, plugin and mac big sur. thank you

That would suggest that there is no task with a time in the future. Are you specifying all task times in 24 hour clock e.g. 15:30?
Could you share some example task markdown including the task times and the time of day when you are seeing this issue?

Should be fixed in 0.7.0.


Package import problem

I've successfully installed the library using:
pip install git+https://github.com/lucasb-eyer/pydensecrf.git

Now I've got 4 files in /usr/lib64/python2.7/site-packages/pydensecrf:
densecrf.so  eigen.so  utils.py  utils.pyc

However, I cannot import the library in Python. Both:
import pydensecrf.densecrf
import densecrf

are unsuccessful (/usr/lib64/python2.7/site-packages/ is in sys.path). If I explicitly append /usr/lib64/python2.7/site-packages/pydensecrf to sys.path, then Python can locate the densecrf library (import densecrf), but I get an import error:
ImportError: No module named pydensecrf.eigen
The problem has been observed under CentOS 7 and Debian Jessie.

At first sight it seems like we're not installing the __init__.py file, which is a bug. I'll try to fix it over the weekend, but if anyone (@rodrigob maybe?) has an idea before that, I'd be grateful.

I am currently having the same issue, after adding pydensecrf to the syspath I get a pydensecrf.eigen error as well.

@pkorus did you ever find a workaround?

In fact your first suggestion (adding __init__.py) did the trick for me.

Just move that file into the folder? Thanks!

Just to be clear - after installing the package through pip:
>> touch /usr/lib64/python2.7/site-packages/pydensecrf/__init__.py

And then you can import the package as import pydensecrf.densecrf

Just to be clear - after installing the package through pip:
>> touch /usr/lib64/python2.7/site-packages/pydensecrf/__init__.py

And then you can import the package as import pydensecrf.densecrf

Yeah exactly. The problem is that setup.py doesn't put it there, and I didn't get around to fixing that yet. PRs are welcome, otherwise I'll give it a go sometime in the next couple weeks.

Awesome! Works for me too. Thanks guys.

Hi Guys,
After I successfully installed pydensecrf on Ubuntu 14.04, I could not find file "init.py". The folder /usr/lib/python2.7/site-packages/ is empty. Could someone help me? Many thanks!

I think I fixed it, but it would be nice to have confirmation from someone. You can do pip uninstall pydensecrf and then install it again with pip as stated in the README.


I want to add BackgroundColor Changer Project in Repository

I have one simple project made using html , css and javascript which is Like you have on button in page which changes color of whole page so , I want to add this in your repository

can i also work on this project..

can i also work on this project..

You can add a new project


async def summarize_messages_inplace(). Fail to summarize the text

Describe the bug
When I put a huge doc (like main.py code) into conversation. MemGPT keeping throw out error :
error = This model's maximum context length is 4097 tokens. However, your messages resulted in 8638 tokens (7919 in the messages, 719 in the functions). Please reduce the length of the messages or functions.
and the code (https://github.com/cpacker/MemGPT/blob/7d6aa4096d5118abc1d9bc2c9a298ed88a9e0da8/memgpt/agent.py#L1117) run in
`
        # If we got a context alert, try trimming the messages length, then try again
        if "maximum context length" in str(e):
            # A separate API call to run a summarizer
            await self.summarize_messages_inplace()

            # Try step again
            return await self.step(user_message, first_message=first_message)

`
and then in the code (https://github.com/cpacker/MemGPT/blob/7d6aa4096d5118abc1d9bc2c9a298ed88a9e0da8/memgpt/agent.py#L1126)
`
async def summarize_messages_inplace(self, cutoff=None, preserve_last_N_messages=True):
    assert self.messages[0]["role"] == "system", f"self.messages[0] should be system (instead got {self.messages[0]})"

    # Start at index 1 (past the system message),
    # and collect messages for summarization until we reach the desired truncation token fraction (eg 50%)
    # Do not allow truncation of the last N messages, since these are needed for in-context examples of function calling
    token_counts = [count_tokens(str(msg)) for msg in self.messages]
    message_buffer_token_count = sum(token_counts[1:])  # no system message
    token_counts = token_counts[1:]
    desired_token_count_to_summarize = int(message_buffer_token_count * MESSAGE_SUMMARY_TRUNC_TOKEN_FRAC)
    candidate_messages_to_summarize = self.messages[1:]
    if preserve_last_N_messages:
        candidate_messages_to_summarize = candidate_messages_to_summarize[:-MESSAGE_SUMMARY_TRUNC_KEEP_N_LAST]
        token_counts = token_counts[:-MESSAGE_SUMMARY_TRUNC_KEEP_N_LAST]

`
Can not find the latest message (main.py code which I type as input), so it can't summarise the message.
To Reproduce
Steps to reproduce the behavior:

set model as gpt-3.5-trubo
set multiline_input = True
at (https://github.com/cpacker/MemGPT/blob/7d6aa4096d5118abc1d9bc2c9a298ed88a9e0da8/memgpt/main.py#L391C5-L391C28)
CLI run:  python main.py
Typing huge text as input, such as, all code string in main.py itself.
Alt+Enter to finish input.
get error loop.

Expected behavior
The overlength text should be trunc and summarized as acceptable pices of text and saving them.
Screenshots

How did you install MemGPT?

With git clone git@github.com:cpacker/MemGPT.git and pip install -r requirements.txt

Your setup (please complete the following information)

Windows
cmd.exe
python 3.8
0.1.15-83-gfd045ba

Could you please try installing the package and following these instructions https://memgpt.readthedocs.io/en/latest/quickstart/ and see if you have the same issue?

Closing b/c this should not be a problem with the current version, please reopen if you're still having this issue


Internal type tags can still conflict in a newtype variant

Yeah, yeah… apparently I didn't do a comprehensive enough job last time. However, this time I'm not even remotely sure how to tackle the problem.
So, this is what happens:

Suppose an internally-tagged enum has a newtype variant which itself contains an internally-tagged enum, either…

directly, or
indirectly, by means of being nested in 1 or more levels of untagged enums with a newtype variant.

Now:

if the containing and contained internally-tagged enums have the same type tag, or
if a struct variant of the contained enum has a field with the same name as the type tag,

then they end up being serialized at the same level, generating a conflict.
See the following MVCE:
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate serde;

// internally-tagged top-level enum
#[derive(Serialize)]
#[serde(tag = "same")]
enum Foo {
    Qux(Z), // newtype variant around another internally-tagged enum itself
    Bar(X), // newtype variant around two levels of untagged, then one internally-tagged enum
    New(E), // newtype variant containing an untagged enum containing a struct variant with a conflicting field name
}

#[derive(Serialize)]
#[serde(untagged)]
enum X {
    Y(Y)
}

#[derive(Serialize)]
#[serde(untagged)]
enum Y {
    Z(Z),
}

#[derive(Serialize)]
#[serde(tag = "same")]
enum Z {
    Z,
}

#[derive(Serialize)]
#[serde(untagged)]
enum E {
    F(F),
}

#[derive(Serialize)]
#[serde(tag = "different")]
enum F {
    Struct { same: () },
}

fn main() {
    println!("{}", serde_json::to_string_pretty(&Foo::Bar(X::Y(Y::Z(Z::Z)))).unwrap());
    println!("");
    println!("{}", serde_json::to_string_pretty(&Foo::Qux(Z::Z)).unwrap());
    println!("");
    println!("{}", serde_json::to_string_pretty(&Foo::New(E::F(F::Struct { same: () }))).unwrap());
}

Output:
{
  "same": "Bar",
  "same": "Z"
}

{
  "same": "Qux",
  "same": "Z"
}

{
  "same": "New",
  "different": "Struct",
  "same": null
}

The fundamental barrier in the way of implementing a fix for this bug is, I think, the fact that Serde would need to identify each nested type recursively, then check if they are untagged or internally-tagged enums with newtype or struct variants that cause a name conflict. I think this in turn requires proper type checking, at least I couldn't devise a way to determine if a type outside of the current Context has certain attributes and variants.

Thanks for following up! I am closing the issue because I don't think this can be caught by Serde. Derive macros run on one struct/enum at a time in isolation, and the field types may be unknown or may not even exist yet at that point in compilation.
Clippy may be a better place to implement this -- I believe they run with more type information and already have Serde-specific lints.

That would be great. :+1: Please @mention me on the PR.

Sure!


Add dummy main function if test harness is disabled

Thanks for awesome work! 🥳

Background
main function should be defined if harness is disabled as mentioned in document.
I think cucumber-rust is a good sample for this issue:
error[E0601]: `main` function not found in crate `cucumber_builder`
  |
  = note: consider adding a `main` function to `tests/cucumber_builder.rs`

Changes

Add dummy main function if test harness is disabled

Thanks a lot for the PR! I had not encountered this edge case yet 😁


Support Option<T: DesseStatic + DesseSize>

This would be pretty handy.

I've been trying to implement this and I'm currently stuck on https://github.com/rust-lang/rust/issues/60551

We wont be able to do this without proper support for const generics. Until then, we can figure out a way to implement DesseDynamic trait for Option<T> which will enable de/serialize Option<T>.
I haven't pushed DesseDynamic trait in master branch as it has a lot of missing pieces. Its currently in desse-dynamic branch.

Implemented DesseDynamic for Option<T> in https://github.com/devashishdxt/desse/commit/4a0239b8171812224e2c4eddb02ae8b1d54affe4.


Support project code

Checklist

[x] I've run ./gradlew test from the root directory to see all new and existing tests pass (No new tests are failing :wink: )
[x] I've followed the harvest-client code style
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
In the Harvest API, there's a code field which is accessible to non-admin users. We're using this code to identify some projects. This field is not accessible in ImmutableProjectReferenceDto
Description
I added the code field which is available in hte Project Assignments response

First of all thanks for the PR!
I will be able to take a look at this on Friday the latest, maybe before that if my schedule frees up.

How did you run the tests? When I check out this branch they fail because the code seems to be an optional field
See

Unfortunately we are not setup to run CI tests from forks, but I can just run them locally.

I had troubles with the tests indeed! Some of them failed on master and the same failed on my branch, hence I assumed everything was ok. Problem is probably that I don't have access to a Harvest admin account...

Yes unfortunately there is no test API from Harvest and no easy programmable way to create a test account, so the tests just need you to manually create 2 harvest trial accounts. These last only 1 month so I have to remake them every time they expire. I asked them and this method is the best they can offer 😞

@auricgoldfinger Thanks for the contribution. Just as a curiosity, where are you using harvest-client? Is it working well for you?

It's working great, indeed. At the office, we use different ways for time tracking. Harvest is one of them, Jira is another.
There are plugins in Jira that try to keep Harvest in sync, but they're rather limited and it's not working very well for me: I have to be very careful or they log "0 h" in the Jira worklog.
On top of that, I keep track of every start- and stop moment for verification. Both Harvest an Jira are configured as "timer" and don't take start- and stop-times into account. So I have to do that manually. This means that I have to log my time in three different systems, and that's quite some overhead.
So I wrote a tool with which I can

Start and stop time tracking with custom description and Harvest Task type. In Harvest it starts the timer and I keep track of the start- and stop times outside of Harvest.
Optionally link a Jira issue (Harvest external link)
Sync the tracked time of Harvest back into Jira when the Harvest time tracking is stopped.

This way, I saved myself a lot of manual work. And your library saved me from writing the Harvest API connection myself :wink:


Tooltip example not working radix-ui.com/primitives/docs/components/tooltip

Bug report
Tooltip example doesn't seem to be working
https://www.radix-ui.com/primitives/docs/components/tooltip
Current Behavior
Clicking the trigger doesn't do anything, an element appears to quickly get added to the DOM but it vanishes almost instantly.
https://github.com/radix-ui/primitives/assets/46908343/c9d25015-954f-41d8-97e4-a1274a1fa2a4

Expected behavior
tooltip to open
Reproducible example
https://www.radix-ui.com/primitives/docs/components/tooltip
Your environment

Software
Name(s)
Version

Browser
Chrome 121.0.6167.139, firefox 122.0.1, safari Version 16.5 (186<IP_ADDRESS>.4)

The tooltip is triggered only if you hover with your mouse.

The tooltip is triggered only if you hover with your mouse.

I was hovering in the video, but tabbing over the element briefly triggers the tooltip

The tooltip works on hover/focus.
In your video I believe your issue is that as you opened the devtools, so the document itself didn't have focus.
Hence why when you tried clicking the button, you briefly saw something in the DOM (because it gained focus, but then clicking the trigger hides the tooltip).

The tooltip works on hover/focus.
In your video I believe your issue is that as you opened the devtools, so the document itself didn't have focus. Hence why when you tried clicking the button, you briefly saw something in the DOM (because it gained focus, but then clicking the trigger hides the tooltip).

It happens even when the devtools is closed.


Issue regarding building SparkNet for existing Spark Cluster

Hey, I am facing problem in building SparkNet, I have followed steps written under building it for existing Spark Cluster and since I don't plan to use GPU to have skipped CUDA step (Step 1). After I run 'sbt assembly', the error thrown is
[info] Run completed in 10 seconds, 779 milliseconds.
[info] Total number of tests run: 6
[info] Suites: completed 5, aborted 0
[info] Tests: succeeded 6, failed 0, canceled 0, ignored 9, pending 0
[info] All tests passed.
[error] Error during tests:
[error] 	TensorFlowNetSpec
[error] (test:test) sbt.TestsFailedException: Tests unsuccessful

Is there any dependency that is not mentioned in the README.md ?

The current build.sbt file in the repository pulls jars that were built with CUDA. In order to use only CPUs, change the line
resolvers += "javacpp" at "http://www.eecs.berkeley.edu/~rkn/snapshot-2016-03-05/"

in build.sbt to use the jars that were built for CPU usage ("http://www.eecs.berkeley.edu/~rkn/snapshot-2016-03-16-CPU/").

@robertnishihara Got that working, by making changes in the build.sbt
Thanks.

Excellent!


Implements '--reconsent' as a CLI command. Closes #1337

Implements '--reconsent' as a CLI command. Closes #1337

Coverage remained the same at 100.0% when pulling 939a8f566dff830b8f2ced6c9f0d4f1880b143c8 on waldekmastykarz:enh-reconsent-command into 59b5247f3f608398e2f916a318c52c9d2a7ffe8c on pnp:dev.

Merged manually


feat: Complete #![recursion_limit = "N"] instead of #![recursion_limit = N]

Currently ra emits #![recursion_limit = 128], but this should rather be #![recursion_limit = "128"]

Thanks!
bors r+ fix (first contribution) Complete #![recursion_limit = "N"] instead of #![recursion_limit = N]


20220309

This is a significant change to the denylist that requires some explanation.
The team decided to review all existing members of the denylist and remove any that have had no witness activity in the last month. Since there are still some manufacturers that ignore the denylist, some active but listed hotspots are still able to participate and are providing useful data for analysis.
For the rest, they are either completely offline, sold, or have been recycled. As a reminder, any hotspot that has been removed in this change can quickly be re-added to the denylist and we plan on doing more frequent updates.
For those Hotspots that remain on the list the aforementioned activity should provide enough data on chain. The remaining Hotspots on this list generally appear to have unexpected FSPL and SNR values based on their aggregate witness data. Other tools we're using have also flagged them for potential witness replay attacks or potential spoofing..
We will be processing additions shortly in the coming days and this may re-add some Hotspots that were removed today. There's a significant amount of backlog so I would expect it takes us a little bit of time to get through all of it.
As you've probably noticed, I have placed several automated messages on most of the open Issues. In some cases both a "not enough information" message and a "will be processed" message was posted automatically. This is due to potentially multiple hotspots being reported in a single issue.
We're also working on a new tool that allows anyone in the community access to some of the same visualization and judgement tools we have access to. More on this coming soon. We will not be responding to every single ticket. It is impossible to do so. That said, we're hoping more community based tools will give people in the community an understanding of how this list is generated and will be a stop gap until the community approves and enables Validators to take on this responsibility.

Hey, would it be possible to see the total number of blacklisted hotspots with that tool ?

Hey, would it be possible to see the total number of blacklisted hotspots with that tool ?

You can download the list of hotspots on the denylist at https://github.com/helium/denylist/releases by clicking the "Source code (zip)" link on the latest release, then opening denylist.csv within it.
As of the 202202201 release, there are 41,544 hotspots on the denylist.

Will comments like this be removed?

Great work @abhay , so I guess until this new list is deployed, everything will be on hold (as of the denylist)

Great work @abhay , so I guess until this new list is deployed, everything will be on hold (as of the denylist)

this list will go out and we'll process some more additions today.

@abhay Will comments like this be remove from denylist?

automation went a bit rough there but unfortunately no way to manage the thousand+ reports without automation. We'll get better.

@abhay Will comments like this be remove from denylist?

automation went a bit rough there but unfortunately no way to manage the thousand+ reports without automation. We'll get better.

We'll get better and better,give you a thumb up,

@abhay hi does this mean the current denylist let the hotspots addition & removal runnning automatically base on RF metadata? Or we still need to post addtion & removal issue at here for your guys to review?

I see those hotpots that are on deny list are back again.
So, the team can't do the job and the easiest way to do is reinstate them whether or not the spoofing/gaming activities are valid?

Don't understand logic to remove hotspots not witnessing. Aren't they not witnessing because they're on the denylist? Further, shouldnt denylist hotspots be excluded from transmit scale algorithm? Example: We saw a hotspot like this one where it was on denylist but was constructing challenges still. It was excluded from PoC & not witnessing but because of constructing challenge transactions, it never was excluded from transmit calculation algorithm & caused hex7 transmit scale to go from 1.0 to 0.83 but it was not contributing to network because it was clearly location spoofed and also on denylist. During its time on denylist, it did not generate witness, which sounds like from this decision was the reason it was removed from denylist in this change? That seems like circular logic? Also...Just speculation...but this weird state of on network & excluded but off network & included (starting throttled count transactions but not allowed to participate/complete) could also result in some of the reduced transaction complaints as of late...

Lot's in my area. There were ondeny list, hidden from the explorer but if you search the name, you can see that they are still earning.
Now, those hotspots are reinstated and back online. Another joke.

Lot's in my area. There were ondeny list, hidden from the explorer but if you search the name, you can see that they are still earning.  Now, those hotspots are reinstated and back online. Another joke.

You're welcome to submit an Addition Request for any hotspots that you suspect are cheating, per the original post on this PR:

As a reminder, any hotspot that has been removed in this change can quickly be re-added to the denylist and we plan on doing more frequent updates.

This is a significant change to the denylist that requires some explanation.
The team decided to review all existing members of the denylist and remove any that have had no witness activity in the last month. Since there are still some manufacturers that ignore the denylist, some active but listed hotspots are still able to participate and are providing useful data for analysis.
For the rest, they are either completely offline, sold, or have been recycled. As a reminder, any hotspot that has been removed in this change can quickly be re-added to the denylist and we plan on doing more frequent updates.
For those Hotspots that remain on the list the aforementioned activity should provide enough data on chain. The remaining Hotspots on this list generally appear to have unexpected FSPL and SNR values based on their aggregate witness data. Other tools we're using have also flagged them for potential witness replay attacks or potential spoofing..
We will be processing additions shortly in the coming days and this may re-add some Hotspots that were removed today. There's a significant amount of backlog so I would expect it takes us a little bit of time to get through all of it.
As you've probably noticed, I have placed several automated messages on most of the open Issues. In some cases both a "not enough information" message and a "will be processed" message was posted automatically. This is due to potentially multiple hotspots being reported in a single issue.
We're also working on a new tool that allows anyone in the community access to some of the same visualization and judgement tools we have access to. More on this coming soon. We will not be responding to every single ticket. It is impossible to do so. That said, we're hoping more community based tools will give people in the community an understanding of how this list is generated and will be a stop gap until the community approves and enables Validators to take on this responsibility.

Can you please check this request?
https://github.com/helium/denylist/issues/2235

they las

This is a significant change to the denylist that requires some explanation.
The team decided to review all existing members of the denylist and remove any that have had no witness activity in the last month. Since there are still some manufacturers that ignore the denylist, some active but listed hotspots are still able to participate and are providing useful data for analysis.
For the rest, they are either completely offline, sold, or have been recycled. As a reminder, any hotspot that has been removed in this change can quickly be re-added to the denylist and we plan on doing more frequent updates.
For those Hotspots that remain on the list the aforementioned activity should provide enough data on chain. The remaining Hotspots on this list generally appear to have unexpected FSPL and SNR values based on their aggregate witness data. Other tools we're using have also flagged them for potential witness replay attacks or potential spoofing..
We will be processing additions shortly in the coming days and this may re-add some Hotspots that were removed today. There's a significant amount of backlog so I would expect it takes us a little bit of time to get through all of it.
As you've probably noticed, I have placed several automated messages on most of the open Issues. In some cases both a "not enough information" message and a "will be processed" message was posted automatically. This is due to potentially multiple hotspots being reported in a single issue.
We're also working on a new tool that allows anyone in the community access to some of the same visualization and judgement tools we have access to. More on this coming soon. We will not be responding to every single ticket. It is impossible to do so. That said, we're hoping more community based tools will give people in the community an understanding of how this list is generated and will be a stop gap until the community approves and enables Validators to take on this responsibility.

Can you please check this request? #2235

i think they lack of man power to make checking,

i suggest them recruit some volunteer  establish Quick Reaction Force team, specialist handle regional cluster who has massive miners for spoofing. the 70-30 Principle can assume that 30% largest owner spoofers in market has own 70% miners of total 100% . once we hit these 30% largest spoofer down can reduce a lot of spoofing activities (70%).
put highest priority on check regional cluster rather than small case

I

I agree with your suggestion. But there should be multiple levels of confirmation/peer review before adding any hotspot to the list.

Hey, would it be possible to see the total number of blacklisted hotspots with that tool ?

https://www.heliumboard.com/denylist

Can you imagine that the hotspots that were once on the blacklist were obviously machines from cheating mines, and the rewards were several times higher than what I actually planned. Is this project a  #[joke?]

Can you imagine that the hotspots that were once on the blacklist were obviously machines from cheating mines, and the rewards were several times higher than what I actually planned. Is this project a #[joke?]

https://github.com/helium/denylist/pull/2257?fbclid=IwAR2zd2IEPlJdn5I3urZCD2wOfJInujkPK7SzBtkDFurhOH1waXXyaFHFRl0


Error: Cannot open audio file

Hello!
I'm trying to set up BirdNet-Analyzer on my Mac using an M2 Chip. I am currently having the issue that I cannot analyze any audios due to "Error: Cannot open audio file". The file definitely exists in the correct directory and is a wav.file. Im using the newest python version but it still won't work.
I've managed using BirdNet-Analyzer on the same Macbook in the past but now I can't seem to be getting rid of this Error Message. How can I resolve this issue?

Hi! I am also a mac with an M2 chip and I encountered the same issue. I'd love to help debug, what other information can I provide to help?
As in the above comment, I am sure the sound file exists locally. Thanks for any suggestions!

hi,
as a start we would need:
MacOS Version
Python Version
(anonymous) Path to the birdnet-analyzer and the file location
anything on your side that might have changed since the last time you used birdnet-analyzer
we sadly dont have many Mac devices to debug on, but with this information we can try.
Thanks for your help!

Hi, could you check if your analyzer directory contrains an error_log.txt file.
If so please send us the contents, as it should contain the actual error,

Sure, here are the contents of error_log.txt:
Traceback (most recent call last):
File "/Users/sara/BirdNET-Analyzer/analyze.py", line 257, in analyzeFile
chunks = getRawAudioFromFile(fpath)
File "/Users/sara/BirdNET-Analyzer/analyze.py", line 206, in getRawAudioFromFile
sig, rate = audio.openAudioFile(fpath, cfg.SAMPLE_RATE)
File "/Users/sara/BirdNET-Analyzer/audio.py", line 25, in openAudioFile
import librosa
ModuleNotFoundError: No module named 'librosa'
Traceback (most recent call last):
File "/Users/sara/BirdNET-Analyzer/analyze.py", line 257, in analyzeFile
chunks = getRawAudioFromFile(fpath)
File "/Users/sara/BirdNET-Analyzer/analyze.py", line 206, in getRawAudioFromFile
sig, rate = audio.openAudioFile(fpath, cfg.SAMPLE_RATE)
File "/Users/sara/BirdNET-Analyzer/audio.py", line 25, in openAudioFile
import librosa
ModuleNotFoundError: No module named 'librosa'

Thought I had librosa installed locally already, will do that and it should fix the error.

Hi,
I had a similar error on Mac (Intel-based). In my case, the resampy library was missing. This was specified in the file error_log.txt
Best, Vanderlei


fix(framework): dont wrap contextCanceled and use this to calculate s…

Summary

If subtask.error is context.Canceled, we don't wrap it and just return

Then if taskError is context.Canceled, we assign its status CANCEL

Calculate pipeline status with Canceled

this mr is no longer needed


Add site design with permissions. closes #418

Add site design with permissions. closes #418

@reshmee011 Happy New Year, awesome sample - thank you! 😁 This will be live shortly 🎉

Happy new year to you and family too, I have been quiet on PR submission as I did not have a working laptop due to orange spill by the youngest.


Molecular canonicalization

We will likely want to perform some canonicalization workflow. Ideally, the primary format in which structures are defined will be SMILES (user-created, copied from ChemDraw, automatically generated from a web drawing tool, etc.). What post-processing, if any, should be performed?
MolVS is now integrated into the RDKit, so it would be straightforward to use that code directly. See an example for tautomers here.
Removing metals, salts, changing charges, etc. are all fairly "dangerous". For example, using the import rdkit.Chem.MolStandardize.rdMolStandardize.StandardizeSmiles, which applies all of the corrections, converts neutral metals to ions (e.g., [Mg] is resolved to [Mg+2]. Identifying the parent tautomer may be safer, but I haven't identified all of the potential bugs (e.g., stripping stereochemistry)
I am satisfied leaving the current code as-is, where a SMILES string is parsed into the RDKit and dumped to a RDKIT_BINARY identifier type. When we set up database searching and other visualization tools, we can think about what to add.
(I'm leaving this issue open as a reminder to ourselves to discuss this periodically)

Decision: don't edit what users submit; possibly do canonicalization in export to BigQuery etc.


Support for WMTS

Are there any plans to support tiled wms layers?

It may work with L.TimeDimension.WMS
If you use mylen/leaflet.TileLayer.WMTS
Timedimension will instantiate your layer for each time adding timeparameter to the original layer.

I tried using L.tileLayer.wms in Leaflet 0.7.7.and this just works.


Expose route_services_secret in http-router link

Other jobs in the deployment that use the link will want to have the
secret provided as a link, which will help move to the credential to
CredHub and reduce duplicate operator configuration.

A short explanation of the proposed change:
Add router.route_services_secret to the http-router link.

An explanation of the use cases your change solves
Other jobs in the deployment that need the secret want to be able to consume the secret as a link so the credential can be eventually managed by CredHub and to reduce duplicate operator configuration.

Instructions to functionally test the behavior change using operator interfaces (BOSH manifest, logs, curl, and metrics)
Use the attached router-link-test-release.zip, which is used like silly-router.zip from #71, but adds a new line for the secret in file.txt.

Expected result after the change
Releases that consume the http-router link can get the route_services_secret

Current result before the change
The route_services_secret is not accessible via a link

Links to any other associated PRs
#71

[X] I have viewed signed and have submitted the Contributor License Agreement

[X] I have made this pull request to the develop branch

[X] I have run all the unit tests using scripts/run-unit-tests

[X] I have run Routing Acceptance Tests and Routing Smoke Tests on bosh lite

[X] I have run CF Acceptance Tests on bosh lite

My apologies! I didn't understand how this property was used by other releases. This doesn't need to be done.


Fixed GIT_COMMIT_SHA for TestFlight build uploads.

Modified setBuildVersion.sh to work with the AdHocDistribution configuration which is used to Archive and upload builds to TestFlight.

@neophit i'm getting the following error after cloning develop branch, any idea how to fix it?

@aaronbrethorst any ideas on how to fix my above build error?


C# extension loading forever

Issue Description
I found if I use OmniSharp: select current project too fast, the IntelliSense will not working.
Steps to Reproduce
Steps to Reproduce:

Open an existing C# project folder
View->Command Palette->OmniSharp: select project->select current project
In Explorer->Outline tab, you can see "Loading document symbols for 'Program.cs'"
Do not wait this Loading procedure to complete, just go back to step 2, selecting this project again
You can see in Outline tab, the "Loading document symbols for 'Program.cs'" will last forever, you will lost IntelliSense function as a result.

Expected Behavior
IntelliSense works normally.
Actual Behavior
IntelliSense does not work.
Logs
OmniSharp log
Starting OmniSharp server at 2020/3/31 下午8:06:47
    Target: c:\Users\iouzz\Documents\Code\Chapter02\NullHandling
OmniSharp server started.
Path: C:\Users\iouzz.vscode\extensions\ms-dotnettools.csharp-1.21.15.omnisharp\1.34.14\OmniSharp.exe
PID: 17168
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 2 MSBuild instance(s)
        1: Visual Studio Community 2019 16.5.29911.84 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
        2: StandAlone 16.4 - "C:\Users\iouzz\.vscode\extensions\ms-dotnettools.csharp-1.21.15\.omnisharp\1.34.14\.msbuild\Current\Bin"

    Registered MSBuild instance: Visual Studio Community 2019 16.5.29911.84 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"

    Detecting Cake files in 'c:\Users\iouzz\Documents\Code\Chapter02\NullHandling'.

    Could not find any Cake files

    No solution files found in 'c:\Users\iouzz\Documents\Code\Chapter02\NullHandling'

    Queue project update for 'c:\Users\iouzz\Documents\Code\Chapter02\NullHandling\NullHandling.csproj'

    Detecting CSX files in 'c:\Users\iouzz\Documents\Code\Chapter02\NullHandling'.

    Could not find any CSX files

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Loading project: c:\Users\iouzz\Documents\Code\Chapter02\NullHandling\NullHandling.csproj

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.EditorConfigWorkspaceOptionsProvider, Order: 200

    Configuration finished.

    Omnisharp server running using Stdio at location 'c:\Users\iouzz\Documents\Code\Chapter02\NullHandling' on host 2156.

    Successfully loaded project file 'c:\Users\iouzz\Documents\Code\Chapter02\NullHandling\NullHandling.csproj'.

    Adding project 'c:\Users\iouzz\Documents\Code\Chapter02\NullHandling\NullHandling.csproj'

    Update project: NullHandling</details>

C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.43.2
C# Extension: 1.21.15
Dotnet Information
.NET Core SDK����ӳ�κ� global.json��:
 Version:   3.1.201
 Commit:    b1768b4ae7
����ʱ����:
OS Name:     Windows
OS Version:  10.0.18363
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.1.201\
Host (useful for support):
Version: 3.1.3
Commit:  4a9f85e9f8
.NET Core SDKs installed:
3.1.200 [C:\Program Files\dotnet\sdk]
3.1.201 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.21.15

csharpextensions
jchannon
1.3.1

I compare the log with a normal log, I think they are the same. So the bug is not recorded in OmniSharp log.

Thanks for reporting. @iouzzrj, do you have a repro to share where you consistently see this? Or do you see it with any existing project?

Thanks for reporting. @iouzzrj, do you have a repro to share where you consistently see this? Or do you see it with any existing project?

@cartermp Sorry for the late reply.
I don't have a repo, but I think every new project can reproduce this bug by using my steps, can you give a try?

I cannot reproduce this with several projects. I picked a nontrivial one like Tye to no avail: https://github.com/dotnet/tye
Note that the extension does say that things are finished loading. But there is no tooling that will light up. So there is a separate issue here, which I'll tentatively track in #3694


We need to handle some way of not densifying the 4th dimension (text or ecgs for example) as that will be extremely sparse.

I'm centralizing this issue in #6


Add JHipster to platforms

Add Jhipster as an entry to the platform section
https://jhipster.github.io
We are an OSS framework/platform providing application development and deployment support with multiple cloud support
It also supports API management and creation, deployment and maintanance of cloud native microservices with docker, kubernetes and rancher support

Hi @deepu105 love the site and what you are up to w/JHipster! Will add to Platforms, can you provide a hi-res logo for us to use? Thanks

Here it is https://jhipster.github.io/images/logo/logo-jhipster.svg

other formats https://jhipster.github.io/artwork/

Thanks @deepu105, closing as this update was included in the most recent version https://github.com/cncf/landscape#current-version

Thank you


Az aks update fails

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks update
Errors:
cannot import name 'edge_zone_type'
Traceback (most recent call last):
lib/python3.6/site-packages/knack/cli.py, ln 233, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 559, in execute
    self.commands_loader.load_arguments(command)
site-packages/azure/cli/core/__init__.py, ln 503, in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
.azure/cliextensions/aks-preview/azext_aks_preview/__init__.py, ln 47, in load_arguments
    from ._params import load_arguments
.azure/cliextensions/aks-preview/azext_aks_preview/_params.py, ln 12, in <module>
    from azure.cli.core.commands.parameters import (
ImportError: cannot import name 'edge_zone_type'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks update --resource-group {} --name {} --enable-managed-identity

Expected Behavior
Environment Summary
Linux-5.4.0-1063-azure-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB

azure-cli 2.20.0 *

Extensions:
aks-preview 0.5.41

Additional Context

az extension update --name aks-preview
No updates available for 'aks-preview'. Use --debug for more information.

@ianEROAD You are using a pretty old version of Azure CLI (that latest is 2.40.0). Could you try upgrading that to the latest and try again as well, just to be sure.

route to CXP team


Create a short pre-run script for Examples

There should be a script that ensures the machine is set up and ready to run any/all of the examples. i.e. making sure IIS is installed.

Sounds like a good case for DSC:)

I think we should use the integration tests for this instead. Integration tests should be used to configure all or most aspects of the resource so users can validate the resources in a an environment of their choice.
I label this as discussion instead so the community can decide what is the best option for this.


docker-compose-mode-helpers depends on f

Just tried to install this package (on emacs 24.4.1) and got this.

Compiling file /home/olaf/.emacs.d/elpa/docker-compose-mode-0.2.1/docker-compose-mode-helpers.el at Tue Aug  1 21:04:26 2017
Entering directory `/home/olaf/.emacs.d/elpa/docker-compose-mode-0.2.1/'
docker-compose-mode-helpers.el:22:1:Error: Cannot open load file: no such file or directory, f

Compiling file /home/olaf/.emacs.d/elpa/docker-compose-mode-0.2.1/docker-compose-mode.el at Tue Aug  1 21:04:26 2017

Looks like you're missing a dependency (or forgot to remove a require :wink:).

Hi! Thanks for reporting this issue. ❤
The issue here is that that file is a helper that shouldn't be included in the MELPA package, and I totally forgot to update the recipe. I opened a pull request over at the MELPA repository (https://github.com/melpa/melpa/pull/4908), which hopefully will be merged soon.

This should be fixed in the next update of the package in MELPA (both in the stable or HEAD/tip). I'll close this issue, but feel free to re-open it if it isn't fixed. Thanks!

Just confirmed that it installs fine without f now.  👍

Awesome, thank you!


Fix osx build and git user conflict

Solved Problem
When building under OSX the typical user group (staff) has a GID of 20 conflicting with some Ubuntu system group of the container. Additionally if the git users between the host and container don't match (repo cloned on host, used in container), git aborts with a fatal error.
Solution

Add '-o' option to groupadd to allow for multiple group names pointing to the same GID
Mark the sources directory as a 'safe.directory' for git inside the container

Alternatives

'-o' option: perhaps we could use the existing group name but I suppose that would add too much bloat in the dockerfile
git safe dir: perhaps we could COPY the host's user git config over to the container though I'm not sure of how portable that can be.

Test coverage

Tested only under OSX.

Magic. It seemed random in the first place.
Merging this.


Select fields' dropdown lists inside StepForms are invisible due to Chakra Collapse wrapper

When select fields are used inside a StepForm component, the dropdown lists (can be) mostly hidden due to the styling of the Chakra Collapse component having "overflow:hidden".
<Field
  name="company_id"
  type="select"
  label="Company"
  options={companies.map((c) => ({ label: c.name, value: c.id }))}
/>

Thanks for reporting @adamstoffel, this is indeed an issue with the overflow and/or the select menu not opening in a portal.
It'd say it probably be best if the collapse doesn't get overflow hidden when it's open.

@Pagebakers  Yeah looks good now. Thanks!


Create Base html and extend to templates

Each template currently has heavy copy/paste between templates. Leveraging jinja to extend would be cleaner.
Here is how mkdocs does it.

How about using the Environment class to load the templates for parsing the available base template?
# plugins/feeds.py
from jinja2 import Environment, FileSystemLoader

with open(template) as f:
    env = Environment()
   # add in some config for the default path to custom template folder
    env.loader = FileSystemLoader("markata/plugins/")
    if type(template) is PosixPath:
        template = env.get_template(template.name)
    else:
        template = Template(f.read())

I have added the config for my site and it has worked for most parts but it might not work for all types of config since we will have to load the template by inheriting the base template. It would give errors like no loader for this environment specified as it might try to load the template with the extends tag and it won't find the template loaded.
So, maybe you have different thoughts on this?

Is it possible to have more than one directory.  We can make the filesystemloader directory configurable, but if a user decides to use their own template do they have to completely leave built in templates behind, or is there a way leverage built ins and override them per project?

Cool, so we can provide a config by selecting a template for a particular page(title). If there is a templates folder provided for that type of page, it will be chosen else it will pick up from the template's parent which will be the default template directory.
# plugins/feeds.py

from jinja2 import Environment, FileSystemLoader

with open(template) as f:
    env = Environment()
    # get the template path in the config as:
    #
    # [markata.templates_dir]
    # feed = "pages/templates"
    #
    # if not provided a config, the default templates parent directory is considered
    templates_dir = markata.config.get("templates_dir")
    templates_dir = str(template.parent) if not templates_dir else templates_dir[title]

    env.loader = FileSystemLoader(template_dir)

    # check if the path exists and if the template to be rendered is default or custom one
    if type(template) is PosixPath and template in env.list_templates():
        template = env.get_template(template.name)
    else:
        template = Template(f.read())

Should this be configurable enough?