Add features suggestion

Great project I must say, however, let's add new features. Here are some that should be implemented in future:

Date Lock
OS lock
Browser lock
Character to Ternary Operator
String Splitting
Extended Predicates
6.5. Property Keys reordering
RSA instead of RC4 for string encryption for people who don't care about performance
RC4 or RSA key length setting
Divide JS 2 different categories. One for node and other for the browser as there are differences on how the code is written.
Function Outlining

Few comments:
Date Lock - no
OS lock - no
Browser lock - no
Character to Ternary Operator - can you explain this more detailed?
Extended Predicates- can you explain this more detailed?
Property Keys reordering - i like this, but in some cases this can break code
RSA encryption - what benefits of using this type of encryption?
RC4 or RSA key length setting - all keys will presented in code, so i don't see any profit to use larger keys. Main benefit to use encoding with keys - more harder process to reverse engineering of the strings, because of large keys pool.
Divide JS 2 different categories - yes, i will do this in future releases.
Function Outlining - already presented as controlFlowFlattening. See this example:
https://github.com/javascript-obfuscator/javascript-obfuscator#nodejs-usage
Look at var _0x5336d5 = { object with additional functions.

If I brute force RC4 encoding, I can literally get original string within few hours. Why no date lock, no browser lock no os lock?
Char to ternary operator:
Description
A string is a sequence of characters used to represent text. It is one of the primitive values in JavaScript. With this transformation your string values will be harder to evaluate by a human. This also generates a random output each time it is used so your code will look different after each protection.
Examples
The following example contains a simple variable assignment:
var htmlTags = ['a', 'div', 'p'];
After transforming, your code will look like this:
var htmlTags = [

 665.01 > 6770 ? 'Q' : (2170, 1050) !== 805 ? (9480, 813.32) >= 5227 ? 754.03 : 'a' : 7.26e+3,
 'div',
 (8140, 1590) === (7290, 3300) ? 'z' : (602.65, 8544) < 2637 ? (704, 4830) == 4240 ? (0xf25, 3.18e+3) : (false, 'e') : 'p'
   ];

Extended Predictates:
A predicate is an expression that evaluates to either true or false. This transformation extends the predicates in your code with opaque predicates making them harder to understand.
Examples
The following example is a while statement with a simple predicate:
var i = 0;

   while (i < 10) {
   i++;
  }

After extending the predicate i < 10 the resulting predicate becomes harder to understand. The following example is a possible output:
var i = 0, j = 10;

  while (i < 10 && (j * j * (j + 1) % 2 === 0)) {
  i++;
   j = i * j - 1;
   }

Please add OS lock, Date Lock and Browser Lock options. Also provide an option for key length, because many do not care about performance, and want to show proof of concept only.

About RSA: all keys presented in the code, you don't need to brute force this keys. But hacker should make some script to parse code, extract all keys, then parse code again and try to decode each string with each key. This more harder way than just parse code and decode strings encoded with base64. And larger key size don't make this process for hacker more harder. So, as i said before - i think that current rc4 encoding is OK for now, i'll replace it only on more faster encryption algorithm.
Date Lock, OS lock, Browser lock: right now i think that these settings will be extremely rarely used and at the moment they are not needed.
Char to ternary operator: interesting, like it, will implement it in the future releases.
Extended Predictates: interesting, like it, will implement it in the future releases.
key length: see my comment about rsa, in short words - no.

So: Char to ternary operator and Extended Predictates

How difficult is it to implement Date lock, OS lock and browser lock?

Not so hard.

Then I'll do it, and do a pull request. Accept it, please.

Ok. Look at domainLock feature as reference. And add selfDefending template with code to the each of feature templates.

How about the string splitting, for example:
"Hello";
var a = "H";
a += "e";
a += "ll";
a += "o";

For simple cases - why not) But string parts should be 3+ chars in length, so this strings will inserted to the string array.

String splitting was implemented (in some different way)

numbersToExpressions option has been released


⚠ Bofrost.at has degraded performance

In bf87eac, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1252 ms

Resolved: Bofrost.at performance has improved in a592d21 after 1 hour, 42 minutes.


Added Sidebar

What this PR does / why we need it:
Added the sidebar. It also includes the new icons taken from the Figma UI design.
Refer here for the design: https://www.figma.com/file/6nvMqOkwlLDPU48EdYk6j2/Repute%2FLitmus-Styles?node-id=950%3A2112
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #1569
Checklist

[ ] Does this PR have a corresponding GitHub issue?
[ ] Have you included relevant README for the chaoslib/experiment with details?
[ ] Have you added debug messages where necessary?
[ ] Have you added task comments where necessary?
[ ] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[ ] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

please pull the current changes and update your PR


Update omniquant.py

During test right after training, scales are float32, so scale merging process is in fp32, but in resume-test, scales and scale merging process are both float16, this difference will causes slight acc difference. So we need to set the scales into float16 instantly after training finishes, before merging scales into weights
I have validate this in one case, and the acc between "test right after training" and "resume-test" is exactly the same.

Good work, thanks for your contribution.


WIP: fix issues

Codecov Report

Merging #22 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   28.65%   28.73%   +0.07%
==========================================
  Files          73       73
  Lines        7886     7910      +24
==========================================
+ Hits         2260     2273      +13
- Misses       5318     5325       +7
- Partials      308      312       +4

Impacted Files
Coverage Δ

...controllers/component_plugin_binding_controller.go
60.81% <0.00%> (-6.76%)
:arrow_down:

api/utils/aes.go
75.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


DO NOT MERGE! Fast Forward stable to fa22ec3d48c45dfa09c492b062d1b89803a70cfd.

This PR will be merged automatically once checks are successful.

Jenkins job manager/postsubmit passed


Branch readme

Updated readme with personal portfolio.

Codecov Report

Merging #117 (c7e555f) into master (a6012bf) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #117   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Introduce KO for fast development iteration

Add make deploy-test target for fast development iteration which builds controller image, publish to KO_DOCKER_REPO setup in ~/.bash_profile and deploy to the kube cluster based on your local .kube/config in one command. KO_DOCKER_REPO can be your personal repo on docker hub.
Remove config/overlay/development/manager_image_patch.yaml from git since make deploy-test will create the image patch yaml and overwrite with your test image which is not supposed to be checked in.

for more reference (https://medium.com/knative/ko-fast-kubernetes-microservice-development-in-go-f94a934a7240)

This change is

/assign @ellis-bigelow @cliveseldon

@ellis-bigelow  is this good to go?

/lgtm
/approve


bug: ConnectorNotFoundError: Connector not found at writeContract

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.3.10
Current Behavior
I am using useContractWrite hook to call my smart contract method createMethod and start writting data in the blockchain. The first time I did It worked as expected, but now I recieve ConnectorNotFoundError: Connector not found at writeContract error everytime I trigger the contractWrite.write function.
I am using Hardhat as my local blockchain ETH env and the frontend app is built in Next.js. I have tried to reload the account, the hardhat node, even the browser but the error keep happening. I can use all other wagmi and rainbowkit hooks without errors.
Tech:

Next.js 13.4.13
Hardhat 2.17.1

Used browsers:

Google Chrome
Brave browser

This is my useContractWrite implementation
const contractWrite = useContractWrite({
    address: env.NEXT_PUBLIC_CHALLENGE_SMART_CONTRACT_ADDRESS as Address,
    abi,
    functionName: 'createMethod',
    args: [...args],
    value: parseEther('0.02'),
    maxFeePerGas: parseGwei('20'),
    nonce: 69,
    onError(error) {
      console.log('Error', error)
    },
    onSuccess(data, variables, context) {
     console.log(data)
    },
  })

Expected Behavior
No response
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

Its seems { account:  } prop was missing, using useAccount hook to get the current address and setting it in the useContractWrite fixed the issue for me


Reconcile PyTorch Job error Operation cannot be fulfilled on pytrochjobs.kubeflow.org

After creating Pytorch Job, the stauts of the job pods will always be pending, and the training-operator controller throws error as below:
Reconcile PyTorch Job error Operation cannot be fulfilled on pytrochjobs.kubeflow.org "xxx-pytorchjob": the object has been modifyed; please apply your changes to the latest version and try again
The gang schedule is enabled with volcano.

It should not affect the logic since we will retry. Could you please show us the full log? Which version are you using?

It should not affect the logic since we will retry. Could you please show us the full log? Which version are you using?

Yes, it tries to "Reconciling", but the job pods hang on "pending" status, and there is no any logs about this job on volcano-scheduer pod.

May I ask which version you are using?

The container image of training operator is "public.ecr.aws/j1r0q0g6/training/training-operator:760ac1171dd30039a7363ffa03c77454bd714da5". I am not sure if it is okay to check the version, or any other way to get the version?

/cc @Jeffwan @PatrickXYS Do you know about it?
Are you using it in AWS?

If it is not the official version, I can change it with official version and try it again.

It should not affect the logic since we will retry. Could you please show us the full log? Which version are you using?

Attach the error logs:

Is there any pod created?

Yes, the pods are created but hang on pending status.

Can you please show kubectl describe pods?

I could find any clue from pod describe. It is different to attatch large image directly for me, please open it with link url.
master-0 pod:
https://l4x826wg3c.feishu.cn/file/boxcnvhEHBXXtnjE1s4qcMWSOme
https://l4x826wg3c.feishu.cn/file/boxcnMa1sYsODn7Weu3QRrT1Bqd
worker-0 pod:
https://l4x826wg3c.feishu.cn/file/boxcnDBuVOyg7YPUTA2ERxxXHNe
https://l4x826wg3c.feishu.cn/file/boxcn5pLXEE9kbuywU1P7yReRt4

I did not understand why there is no event of the pods. It's weird.
But I do not think it is related to the operator. Seems that the pods are already created.

Yes, it is weird. Some things I noticed may be helpful：

The pending pytroch job will fail after long time(last one job, it is abount 60min). One info log is "Ignoring inactive pod xxxx-pytorchjob-worker-0 in state Failed, deleteion time "
It is still pending if restarting training-operator pod
It will begin to running if restart volcano-scheduler pod. But there is no any log abount the pod scheduling error of this pytorch job

Personally, I think it is may be related to volcano. Since it can work after restarting the volcano.

The container image of training operator is "public.ecr.aws/j1r0q0g6/training/training-operator:760ac1171dd30039a7363ffa03c77454bd714da5". I am not sure if it is okay to check the version, or any other way to get the version?

760ac1171dd30039a7363ffa03c77454bd714da5 is the commit id, you can search it in git logs.
We probably can change to version tag later for easy debugging.


Jaeger-client-0.35.5 and libthrift-0.12.0 Security Issue

Environment Details

Helidon Version: 1.4.8
Helidon MP
JDK version: 1.8
OS:
Docker version (if applicable):

Problem Description
Hi Team,
In the recent OWASP report for helidon-1.4.8, we see that libthrift and Jaeger-client dependency of helidon tracing has a high and medium security issue respectively. We confirmed the same by checking it in the following URL
https://nvd.nist.gov/vuln/detail/CVE-2019-0210.
helidon-1.4.9 is also using libthrift-0.12.0. We have verified libthrift-0.14.1 and jaeger-client-1.6.0, they are not vulnerable. We are planning to upgrade the helidon version to 1.4.10 but we verified even in 1.4.10 this is vulnerable.
Can you please let us know if there is a plan for fixing the same
Thanks,
Krishna Upadhyay

Short answer: these CVEs do not apply to Helidon's and Jaeger Client's use of libthrift.  And these dependencies have been upgraded in Helidon 2.0.
Longer answer: due to incompatible changes in libthrift, Jaeger client and OpenTracing we can't upgrade these dependencies without breaking compatibility with OpenTracing. That's why we did this only in 2.x. It also turns out that the CVEs against libthrift are out of scope of Jaeger Client's use of libthrift because they are against the server component of libthrift, and jaeger-client only uses client components of libthrift. More details in the comments here: https://github.com/oracle/helidon/blob/1c36ce7b6f19282361f30643ce7b973545cbdd67/etc/dependency-check-suppression.xml#L139


actions_to_choose structure

DQN Implementation Issue description
Context
Context

MACOS with PySC2
Agent development  DQN Agent
Agent code here

Problem
Describe the problem you finded  :

Function _Functions.Hallucination_Whatever is currently not available .
The agent currently makes the Hallucination 3 times and crashes, so the assumption is that it is actually able to make it until it has no energy .

Documentation consulted so far :

pysc2/lib/features.py ----> line 535  " If a specific action is available, the general will also be available " so there is an assumption that general actions are possible as far as Hallucination is  .
docs/environment.md----> line 388 Specifies the arguments for calling the valid actions , so the arguments in hallucination are _NOT_QUEUED

Issue resolution

define the actions_to_choose function in such a way that the agent doesn´t crash and learns

Trace error
Error showed in screen
FunctionCall(function=<_Functions.Hallucination_Adept_quick: 248>, arguments=[[0]]) FunctionCall(function=<_Functions.Hallucination_Adept_quick: 248>, arguments=[[0]]) FunctionCall(function=<_Functions.Hallucination_Adept_quick: 248>, arguments=[[0]]) Traceback (most recent call last):   File "DQN_Agent.py", line 196, in <module>     training_game()   File "DQN_Agent.py", line 188, in training_game     log_interval=1e4, verbose=2)   File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rl/core.py", line 168, in fit     observation, r, done, info = env.step(action)   File "DQN_Agent.py", line 94, in step     obs = super(Environment, self).step([action])   File "/Applications/StarCraft II/pysc2/pysc2/lib/stopwatch.py", line 197, in _stopwatch     return func(*args, **kwargs)   File "/Applications/StarCraft II/pysc2/pysc2/env/sc2_env.py", line 449, in step     self._controllers, self._features, self._obs, actions))   File "/Applications/StarCraft II/pysc2/pysc2/lib/run_parallel.py", line 54, in run     funcs = [f if callable(f) else functools.partial(*f) for f in funcs]

Hello soygema,
Nice work trying to put pysc2 & keras-rl together.
Got the same error when running DQN_Agent_LSTM.py .
Noticed that actions_to_choose() basically replaces whatever action the agent tries to express with "hallucinate adept" action - which then proceeds to fail with the error you mentioned.
As such, I modified DQN_Agent_LSTM.py to make the action replacement (i) random, and (ii) code runs fine. But agent's action still isn't effected into the environment for the time being.
code here:
https://pastebin.com/7dB1Y7B1
code is meant to replace DQN_Agent_LSTM.py. Running it is the same as running DQN_Agent_LSTM.py

Ey @davidleejy !
Thank you very much for the time dedicated to this issue  .
Will look at it carefully at get back to you

Hi @davidleejy !
Thanks for pushing forward this issue :
Let me check with you if I understood your proposal correctly . I've put indices to the points and the questions in order to help you answer

You created the function  args_random , which basically helps to generalize among the arguments and choose in between different actions with its corresponding arguments, am I correct (1)  ?  The abstraction of this function is definetly great!

In the Environment class :
You added a new global variable observation_cur for selecting army , help to choose the function_id , and in the end choose the action . This observation_cur comes from obs[0].observation , this refers to the previous step (2) ? (I switched some changes into the agent call )

After cleaning the print statements , switched the call and change the warm-up episodes the training starts correctly . ^^ YEAH!!
First , I would like to thank  and congratulate you for helping me solve with challenge!
Here's what I propose you to do :

Send me a PR with the code you alredy have, I can propose you the cleaning we have been talking about ( for you it would be to delete some code )

Send me the PR with the cleaned code alredy . ( clean the prints in step and all def actions to choose )

Send the PR with what you have and I can clean the code ( don't mind to do it, the thing is that  you can appear as a contributor of the agent and the repository if you would like)

If not in the mood feel free to tell me ^^
Thanks so much for taking part of the project, it is really significant for me .
For Aiur !

Hi @SoyGema,
Answers:

args_random.  Yes correct.
I have a more correct randomization code and will include it in PR. Turns out, sc2.obs.action_spec needs to be consulted for args to know the screen size & minimap size so as to randomize the spatial coordinates in range [0, screen_size) and [0, minimap_size).  Sorry if I sound a little vague, will send you a PR with this more correct randomization included.

observation_cur Yes correct.

Will submit a PR.


mpi-win64 ckloop build fails

Original issue: https://charm.cs.illinois.edu/redmine/issues/855

Attached patch fixes ckloop build on mpi-win64.

Original date: 2015-11-11 03:16:37

~~https://charm.cs.illinois.edu/gerrit/850~~ https://github.com/UIUC-PPL/charm/commit/d464551bd241a5becd658a94f4ffcb2b106ec265


Add SpaceTalk logo to Github organization

From a branding and outreach perspective, it is important to have a logo for the project in all related pages, social media accounts, etc.
##Task(s)

[x] Choose a square-shaped logo for SpaceTalk
[x] Add the branding logo to the SpaceTalk organization page.

Done


Static compilation for Linux and link into a statically compiled application

I couldn't find any documentation for linux on how to statically compile CPR. The cmake script options do not specify any flags related to this option (from what I see, in Windows there is a mode flag for exactly this purpose).
The following problem is of course how to link CPR to my static application.

Ping @KingKili .

The build system of cpr uses the BUILD_SHARED_LIBS variable in cmake. Therefore, I would try to use something like this for your configuration build cmake .. -DBUILD_SHARED_LIBS=False. Does this work?

@KingKili yes, it solved my problem, thank you very much!
right now adding -DCMAKE_CXX_FLAGS=-m32 doesn't work but I'm working on it (I'll probably have to figure out first how to compile OpenSSL, zlib and curl for 32 bit)


orchestra/remote: add method to check if given path is mounted

Add a method mount() that checks if the given path is mounted or
unmounted without using "mount" of "findmnt" commands.

@batrick
The phrase I wrote here](https://github.com/ceph/ceph/pull/45036/commits/f96031b9202b2169e2d81746d14daa702864857c#diff-a31fb9fe7c629a895231a8bd8f0f3f5874dc251130c571fb0ac40a6911c554ceR172-R173) at your suggesstion is need for this PR too.
This code phrase in general will be useful at other similar instances too, so it'll be great to have a convenience method for it.

@batrick
The phrase I wrote here at your suggesstion is need for this PR too.
This code phrase in general will be useful at other similar instances too, so it'll be great to have a convenience method for it.

Sure, but why should this be in teuthology instead of ceph.git/qa?

@batrick

@batrick
The phrase I wrote here at your suggesstion is need for this PR too.
This code phrase in general will be useful at other similar instances too, so it'll be great to have a convenience method for it.

Sure, but why should this be in teuthology instead of ceph.git/qa?

The exact same phrase will be handy to check if path is mounted even when FS is not CephFS. So, having a helper method will be useful. And since this method is more about the remote machine, class Remote seems to be a good home for this code-phrase.

@batrick
Won't it be more convenient if teuthology.orchestra.remote.Remote.read_file() returns StringIO instead of BytesIO type? Link to read_file() - https://github.com/ceph/teuthology/blob/main/teuthology/orchestra/remote.py#L220

@batrick Won't it be more convenient if teuthology.orchestra.remote.Remote.read_file() returns StringIO instead of BytesIO type? Link to read_file() - https://github.com/ceph/teuthology/blob/main/teuthology/orchestra/remote.py#L220. This is where the default is set inside the method - https://github.com/ceph/teuthology/blob/main/teuthology/orchestra/remote.py#L241.

No. Because we may use read_file (or already do) on binary files like gzip archives.


Bob/4044 fix error focus

FRONTEND PULL REQUEST
Related Issue
Fixes #4044
Changes Proposed

Change the focus logic on submission to refocus based on the form schema
Handle cases where there might be multiple entries in the form schema (phone)

Testing

Navigate to the patient self reg page on test: https://test.simplereport.gov/app/register/BBURF
Submit incomplete registration info and verify that focus resets as expected

Screenshots / Demos
https://user-images.githubusercontent.com/29645040/181042876-6ddc16d5-5f9d-4296-84b9-049511692837.mov
Checklist for Author and Reviewer

[ ] Verify focus resets as expected
[ ] Double check the implementation of the focus reset logic and make any suggestions for improvement.

Security

[ ] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[ ] Any dependencies introduced have been vetted and discussed

@emmastephenson this is ready for review now! Ty to @georgehager for figuring out the testing issue I was running into 😊


[ISSUE #741]🚀Implement ExpressionMessageFilter tags🔥

Which Issue(s) This PR Fixes(Closes)

Fixes #741
Brief Description

How Did You Test This Change?

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥


refactor: use app helper function instead of calling container directly

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


refactor: Rename msgtype ERROR to FAILURE

New change is at https://github.com/apigear-io/objectlink-core-cpp/pull/new/bugfix/renameMgstypeToCapitalCase


Allow Image Button label to be centered below the image instead of to the right.

Here's what it looks like when you show the label:

Here's how I'd like it to look like:

An option to toggle between the two layouts would be great. Thanks!

...pretty please? ;)

There's a lot that needs revamping in this plugin, but I'll get to that later.
Updated for the next release. To get this early, run composer require verbb/buttonbox:"dev-craft-4 as 4.2.1".


Deleting to 1 waypoint should turn off repeat orders

In my humble opinion, this is not a bug and probably shouldn't be removed. Not only does this not happen in vanilla Stars! (given the repeat orders checkbox being separate from anything else), having the ability to repeat a single waypoint task does have actual use (like repeating a waypoint 1 load pop task for loading up excess IS pop)


Can't import existing story to markdown

rocket story documentation share a working example of hardcoded story
in my use-case I'm trying to import a story to the markdown but failing on an error
tried many permutation but the error persists
```js script
import { html } from '@mdjs/mdjs-story';
import { Basic } from './stories/button.story.js'
```

```js story
export Basic;
```

or alternatively
```js story
export const BasicStory = Basic;
```

follow slack thread for more details

Try this:
./stories/button.story.js
export const Basic = (args) => html`Ahlan Gever`;

./my-page.md
```js story
{% include ./stories/button.story.js %}
```

You might need to add ./stories/button.story.js to some ignore lists, e.g. .eleventyignore

Thanks @bennypowers that helps.
Still, the stories need to be modified in order to be integrated within rocket markdowns.
Ideally I would expect including existing stories from web components development environment which don't really import smoothly to markdowns

Still, the stories need to be modified in order to be integrated within rocket markdowns.

Can you explain what you mean here?
I'm using the technique pretty successfully for js, css, html, and graphql files, although I'll admit I'm not includeing stories

I just tested it and it works fine for me
👉  foo.js
import { html } from '@mdjs/mdjs-preview';

export const foo2 = () => html` here we go `;

👉  preview.md
# Markdown JavaScript >> Preview ||20

will result in

```js preview-story
import { foo2 } from './foo.js';

export const foo = foo2;
```

I will close this for now - if you find a way to reproduce your behavior feel free to reopen or create another issue 🤗

yes ok I understand rocket requires its own couple html function rather than letting lit get involved in the rendering process

internally it is lit... but this makes sure that the matching lit template gets created for rendering by the preview story web component render function (which is a LitElement)


DCC bug 697 - Fix for a roadmap-wide bug where the following were

failing in the REST API V1 call "GET 0/api/v1/plans"
for following reasons:
(1) Plans policy initialize method was broken
(2) Each plan in the json array was using the email for the user name.
Changes made:
(1) The initialize method in /policies/api/v1/plans super call requires
no arguments, it was taking the ApiClient as an argument.
(2) In /views/api/v1/contributors/_show.json.jbuilder we changed
json.name as follows as we were previously using the 'User' rather than
'Contributor' object
json.name contributor.is_a?(User) ? contributor.name(false) : contributor.name

@briri & @raycarrick-ed  I don't think Tests error are due to changes I made.

@briri & @raycarrick-ed  I have added a commit that comments out the Karma tests as suggested.


use svg as landing page placeholder (still using gatsby) T-158

Link T-158

Oh yikes, I didn't realize the SVG was 14 MB. That's way too big. For the time being, it'd be better to use the PNG since it's only 1 MB.


Demo

Could you please add a demo for that, I am trying to follow the tutorial but it's missing a lot of information. Would be nice to have a simple demo implementation of multiple server running and applying the consensus. The content inside Getting Started is just a base implementation of what this library could be. For example:
What get_id_from_storage() could be?
How to properly implement RaftRouter and RaftStorage?
After some investigation I noticed that the demo is outdated. Could you please update it?
How I read data from MemStore? What are the required steps? The documentation is not clear about that.

@BohuTANG Could you please help me to understand better the project, so far I could implement that: https://github.com/ppamorim/t-pro-cognito

I think @drmingdrmer will give some comments here later

@BohuTANG Thank you. I am more than happy to create a very consice demo for the project if you help me to understand how to read/write to the cluster.

@BohuTANG @drmingdrmer When migrating, I get this error:

Isn't MemStore supposed to be transparent for openraft?

@ppamorim Thank you so much! These questions expose what is lacking in this repository.
I'm gonna answer them in some separate comments in this issue and gonna provide additional info for users in several pull-request.

What get_id_from_storage() could be?

To create a raft node, an ID has to be assigned to the raft node instance.
Where it is stored is up to the application: make it a field of the implementation of RaftStorage, or store it in a standalone config file.

How to properly implement RaftRouter and RaftStorage?

For now RaftNetwork is only implemented in the test fixtures mod. What a RaftNetwork does is just forwarding message to another node:
https://github.com/datafuselabs/openraft/blob/950d23b35a9c15742b4a4a0825fd81059c165130/openraft/tests/fixtures/mod.rs#L828-L881
The memstore is relatively a complete implementation of RaftStorage(but actually not a key-value store, I'm gonna fix it in another PR):
https://github.com/datafuselabs/openraft/blob/950d23b35a9c15742b4a4a0825fd81059c165130/memstore/src/lib.rs#L86-L102

How I read data from MemStore? What are the required steps? The documentation is not clear about that.

I was confused too when I started to use async-raft. Let me make it a real key-value store in another PR.

@drmingdrmer Thank you for the lovely answer, I am more than happy to help in the implementation of the demo.

I will close this issue due being slate.


Implement Ngrok command to use with Nginx

@navarr do I need to prepare something for QA?

Closing this out in favor of #769


risingwave 1.8.1

Created with brew bump-formula-pr.

[ ] resource blocks have been checked for updates.

release notes
release v1.8.1

Thanks! I was just about to open one.


update of uCD list following SSAP UCD check

while checking SSAP UCD words  , we propose to fix some UCD terms in the list

meta.curation  change flag to S

phys.size   change definition

instr.fov represents a geometrical shape on the sky covered by an observing instrument.
Table columns should be specified unambiguously to designate what is measured or represented in the column value:
phys.angSize;instr.fov , phys.area;instr.fov , pos.outline;instr.fov
other SSAP UCD also for revision . see table attached
SSAP_appendixD_UCDCheckmL+Seb.pdf

SSAP UCD are also proposed for revision . see table attached
SSAP_appendixD_UCDCheckmL+Seb.pdf

Are these supposed to be compatible with UCDList 1.4? Several entries contain meta.curation in the secondary position, but meta.curation is marked P in UCDList 1.4.

No, meta.curation flag update can be planned for EN UCDList1.5.
The suggestions for SSAP updates in the document, imply that meta.curation becomes a more general term than identity of publisher.
so be changed to S or Q .
Q;Q terms have no logic to be combined so S would be more convenient.

On Thu, Sep 09, 2021 at 10:17:47AM -0700, Mireille LOUYS wrote:

No, meta.curation flag update can be planned for EN UCDList1.5.
The suggestions for SSAP updates in the document, imply that meta.curation becomes a more general term than identity of publisher.
so be changed to S or Q .
Q;Q terms have no logic to be combined so S would be more convenient.

As a general principle, I'd be very wary of transitions from P to S,
as that will make any previous use of the atom invalid, which is
a bad thing in almost all cases (essentially, unless the previous
meaning was really broken beyond repair).  Also, semantically, a
generalisation of a concept cannot make it flip from P to S, as that
would necessarily mean certain parts of the previous extension were
be dropped (a generalisation only enlarges the extension).
I mention in passing that making meta.curation S will again break
existing SSAP, as its utype ssa:Curation.Publisher is currently
associated with the UCD "meta.curation".
As to avoiding Q-Q because there's no implied order, I'd say that's
not really something to worry about.  Basically, making an atom Q
means "it can work both as a main descriptor and as a qualifier".
Writing definitions such that that works is tricky but not
impossible.
Of course, "meta.ref.ivoid;meta.curation" then really means something
else than "meta.curation;meta.ref.ivoid".   The question is: what?  My
UCD explainer produces for the first:
Identity of man/organization responsible for the data related to an
identifier as recommended in the IVOA (dereferenceable)
So... with my current code this comes out as the folks that maintain
an an identifier.  Ahem.  I'd suggest that's a bug, as it should
arguably by "identifier of the folks how do the curation".  Patches
to
http://svn.ari.uni-heidelberg.de/svn/gavo/hdinputs/ucds/res/ucdexplainer.py
are welcome.  For the second UCD, it's
Related to an identifier as recommended in the ivoa
(dereferenceable) identity of man/organization responsible for the
data
That that sentence is broken indicates my code fails with
meta.ref.ivoid on a wider scale.  What I'd say the explanation ought
to work out to is what the explainer put out as first thing: it's
infos on the curation of IVOA identifiers.  Whether that's a thing
commonly used in tables I doubt, but, really, the extension of that
compound concept pretty plainly is what in Registry we call an
Authority, and I don't see anything wrong in admitting such a concept
in UCDs.
In closing: Can we change the "man" in the meta.curation definition
to "person"?

version UCDList1.5 solves this issue
it states a position Q for meta.curation and recommends meta.id;meta.curation for identifying a person or an organization responsible for curation.


regions/ collapsable parts of script

when opening longer bicep scripts, you often have to wade through hundreds of lines of code to diagnose the actual problem resource/map etc you are facing, with no way of breaking the script down into logically different parts (params,vars,solution x, solution y, output)
I dont need to explain exacly what im thinking of here, but:
//region solution x
resource ...

module ...

resource ...
//endregion solution x

this wouldn't convert to arm in any way, but mostly for being a big QOL upgrade for the local language enginge

duplicate to https://github.com/Azure/bicep/issues/46


Regen of YeastPathways models with code fixes

Pull of models from https://github.com/geneontology/yeast-pathways-go-cams/pull/1, which is a regen of SGD YeastPathways models - same source BioPAX but new code changes. Change details are in that PR.

Another set in.


[SPARK-47786] SELECT DISTINCT () should not become SELECT DISTINCT struct() (revert to previous behavior)

What changes were proposed in this pull request?

We special case SELECT DISTINCT () to become SELECT DISTINCT *
This prevents () to be treated as struct().
We used to ignore parens around stars () everywhere, but that is inconsistent with e.g. (c1, c2).
However there seems to be a reasonable number of users treating DISTINCT as a function.
Why are the changes needed?

Prevent regression for a common weird case.
Does this PR introduce any user-facing change?

No, It undoes a user changing change
How was this patch tested?

Existing QA, added new tests to selectExcept.sql
Was this patch authored or co-authored using generative AI tooling?

No

thanks, merging to master!


Mario Clock [Enhancement] - Better performance / graphics

Enhancement
After seeing @gfwilliams suggestions on how to do graphics in a more performant manner I thought I would apply this to the Mario Clock to speed it up.

Store images inside functions for better performance and reduce ram usage.
Re-draw all the graphics, make multi-tone for better visuals. Make it more true to the original Gameboy visuals
Multi-layered background for 'depth' or 'parallax' effects
Mario jumping and hitting blocks (by way of time change or BTN1 press) will eject a coin like in the game!

Images:

That looks awesome!


Missing link to Z4 xpi download?

Hello,
try to install z4 for zetoro version 4. the orignial link from wiki:
https://github.com/retorquere/zotero-better-bibtex/releases/tag/release
no longer contains xpi file that I used to download. Can anyone please point me the Z4 xpi?
thanks

I've updated the Wiki.


Add grundwasser-data

Insert URLs to the project here: https://github.com/correctiv/grundwasser-data

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All new projects listed will be posted on our Mastodon channel.

@maxdonheiser


thuang-850-fix-download-button

#850
Reviewers
Functional:
@seve
Readability:
@MDunitz

Changes

add

Add selector hasAssets() to only enable the Download button if true
Add new folder and file frontend/src/common/modules/datasets/selectors.ts

modify

Disable download button if no asset is available for download

Homepage:

Collection Page:

PTAL all! Thank you!

PTAL all! Thank you!

Ooh!! That's a super great point! Thank you for pointing that out. I could sense that it didn't look right, but I couldn't tell why. Now I know lol
I followed how Blueprint does with disabled primary button and came up with this, does that work? Thank you!

Ooh!! That's a super great point! Thank you for pointing that out. I could sense that it didn't look right, but I couldn't tell why. Now I know lol
I followed how Blueprint does with disabled primary button and came up with this, does that work? Thank you!

Yay! Thanks so much, Harley!!

Yay! Thanks so much, Harley!!


sp-dev-fx-controls-react integration

Hi Sergei,
I'm trying to run fastserve on the sp-dev-fx-controls-react library and am getting this error (full output below). Any idea how to resolve it?
Russell Gove
npm run serve

<EMAIL_ADDRESS>serve C:\Users\trwg1\OneDrive - Tronox\sp-dev-fx-controls-react
gulp bundle --custom-serve --max_old_space_size=4096 && fast-serve

[10:50:36] Node flags detected: --max_old_space_size=4096
[10:50:36] Respawned to PID: 2780
Build target: DEBUG
[10:51:40] Using gulpfile ~\OneDrive - Tronox\sp-dev-fx-controls-react\gulpfile.js
[10:51:40] Starting 'bundle'...
[10:51:40] Starting gulp
[10:51:40] Starting subtask 'configure-sp-build-rig'...
[10:51:40] Finished subtask 'configure-sp-build-rig' after 50 ms
[10:51:40] Starting subtask 'pre-copy'...
[10:51:42] Finished subtask 'pre-copy' after 1.84 s
[10:51:42] Starting subtask 'copy-static-assets'...
[10:51:42] Starting subtask 'sass'...
[10:52:05] Finished subtask 'sass' after 23 s
[10:52:05] Starting subtask 'tsc'...
[10:52:16] [tsc] typescript version: 3.7.7
[10:52:16] Finished subtask 'copy-static-assets' after 34 s
[10:54:02] Finished subtask 'tsc' after 1.95 min
[10:54:02] Starting subtask 'save-webpack-config'...
[10:54:02] Finished subtask 'save-webpack-config' after 1.81 ms
[10:54:02] Starting subtask 'ensure-workbench'...
[10:54:02] Finished subtask 'ensure-workbench' after 141 ms
[10:54:02] Starting subtask 'post-copy'...
[10:54:02] Finished subtask 'post-copy' after 1.21 ms
[10:54:02] Starting subtask 'configure-webpack'...
[10:54:08] Finished subtask 'configure-webpack' after 5.74 s
[10:54:08] Starting subtask 'webpack'...
[10:55:25] Finished subtask 'webpack' after 1.27 min
[10:55:25] Finished 'bundle' after 3.73 min
[10:55:25] ==================[ Finished ]==================
[10:55:26] Project @pnp/spfx-controls-react version:3.1.0
[10:55:26] Build tools version:3.17.11
[10:55:26] Node version:v10.22.0
[10:55:26] Total duration:4.62 min
i ｢wds｣: Project is running at https://localhost:4321/
i ｢wds｣: webpack output is served from https://localhost:4321/dist/
i ｢wds｣: Content not from webpack is served from C:\Users\trwg1\OneDrive - Tronox\sp-dev-fx-controls-react
i ｢wds｣: 404s will fallback to /index.html
i ｢wdm｣: wait until bundle finished: /dist/controls-test-web-part.js
i ｢wdm｣: wait until bundle finished: /dist/ControlStrings_en-us.js
i ｢wdm｣: wait until bundle finished: /dist/ControlsTestWebPartStrings_en-us.js
i ｢wdm｣: wait until bundle finished: /dist/ootb-fields-field-customizer.js
i ｢wdm｣: wait until bundle finished: /dist/controls-test-web-part.js
i ｢wdm｣: wait until bundle finished: /dist/ControlStrings_en-us.js
i ｢wdm｣: wait until bundle finished: /dist/ControlsTestWebPartStrings_en-us.js
× ｢wdm｣: Time: 231572ms
Entrypoint controls-test-web-part = controls-test-web-part.js controls-test-web-part.js.map
Entrypoint ootb-fields-field-customizer = ootb-fields-field-customizer.js ootb-fields-field-customizer.js.map
ERROR in unable to locate 'C:/Users/trwg1/OneDrive - Tronox/sp-dev-fx-controls-react/src/loc/*.js' glob
i ｢wdm｣: Failed to compile.
No issues found.

Hi,
Yeah... that was in my list as well, it seems I will try it a bit earlier :)
Could you try running outside of the OneDrive folder just to make sure that this is not the reason why it fails.

The problem is that sp-dev-fx-controls-react uses TypeScript localization files instead of OOB .js. Thus we cannot "just run it" with fast-serve. Also, there are some TS errors related to styles export. So it's gonna be tricky.

Thanks for the quick follow up! I fininished my work using gulp serve so there is no urgecy. W can close the issue if you like.

You still want me to check if it works when not on my onedrive?

You still want me to check if it works when not on my onedrive?

No, thanks, it doesn't related to OneDrive.

I will leave this issue as opened, however, further investigation showed that TypeScript localization files inside sp-dev-fx-controls-react are the biggest problem and require additional efforts to add support to.
I'm still not sure whether it's a good idea to add this functionality to the core of fast-serve since TypeScript localization files is a bit of unusual use of SPFx. Probably the right answer is to implement an ad-hoc specifically for sp-dev-fx-controls-react. Before doing it, I should receive a kind of approval from sp-dev-fx-controls-react team that they need this feature, otherwise it will be just waste of time for me.

sergei, can you clarify what needs to be changed? happy to test it out
while i'm in there.
@Alex Terentiev @.***>  I think you own
sp-dev-fx-controls-react
now. do you support this?  Could make builds much faster.
On Tue, May 18, 2021 at 10:58 AM Sergei Sergeev @.***>
wrote:

I will leave this issue as opened, however, further investigation showed
that TypeScript localization files inside sp-dev-fx-controls-react are
the biggest problem and require additional efforts to add support to.
I'm still not sure whether it's a good idea to add this functionality to
the core of fast-serve since TypeScript localization files is a bit of
unusual use of SPFx. Probably the right answer is to implement an ad-hoc
specifically for sp-dev-fx-controls-react. Before doing it, I should
receive a kind of approval from sp-dev-fx-controls-react team that they
need this feature, otherwise it will be just waste of time for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/s-KaiNet/spfx-fast-serve/issues/28#issuecomment-843244860,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASNDHEIEKLHAUCNSILJH4DTOJ6CVANCNFSM45AUUCRQ
.

Nothing from sp-dev-fx-controls-react needs to be changed :)
The changes needed from fast-serve side, most likely a custom webpack plugin, which supports TypeScript based resource files. I definitely can work on it if there is an interest.

ah, ok. I misunderstood. Thanks!
On Tue, May 18, 2021 at 5:11 PM Sergei Sergeev @.***>
wrote:

Nothing from sp-dev-fx-controls-react needs to be changed :)
The changes needed from fast-serve side, most likely a custom webpack
plugin, which supports TypeScript based resource files. I definitely can
work on it if there is an interest.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/s-KaiNet/spfx-fast-serve/issues/28#issuecomment-843566424,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASNDHDRUYPGEC6B5Y5SCFLTOLJZJANCNFSM45AUUCRQ
.

Closing as the correspoinding PRs were added to the controls-react and property-controls.
The needed code is available in<EMAIL_ADDRESS>

Thankyoy


Argument Out Of Range Exception

General: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.SZArrayHelper.get_Item[T](Int32 index)
at UtinyRipper.Classes.AnimationClip.ExportGenericData(IExportContainer container, YAMLMappingNode node, IReadOnlyDictionary2 tos)    at UtinyRipper.Classes.AnimationClip.ExportYAMLRoot(IExportContainer container)    at UtinyRipper.Classes.Object.ExportYAMLDocument(IExportContainer container)    at UtinyRipper.AssetExporters.YAMLAssetExporter.Export(ProjectAssetContainer container, Object asset, String path)    at UtinyRipper.AssetExporters.AssetExportCollection.Export(ProjectAssetContainer container, String dirPath)    at UtinyRipper.AssetExporters.ProjectExporter.Export(String path, IEnumerable1 objects)
at UtinyRipper.Program.Load(IReadOnlyList`1 args)

This is tough one. Originally, algorithm for generic animations was written by Perfare and, unfortunately, I just don't know how to fix it correctly. I'll try to figure it out but I think that currently the only way to fix it is to 'try catch' this place so output animations will be incorrect.

Well I bypassed this exception in 467bf1179c0fc8e08067cf02ae4a7f7ca1f6b324 . Definitely it's not a solution but a temporarily hack. Output will be incorrect in such case, but at least other assets could be processed.

I've made one fix in AnimationClip reading and maybe this bug had been connected with your issue. I need the file with which you had problems to check solution.

I've canceled previous fix so if this issue still actual it will shoot again. If it will then I need problematic file.


Multiple ATTACH Instances

When parsing a VEVENT that has multiple ATTACH instances, the ATTACH key is overwritten by each subsequent instance.  To retain backwards compatibility, I would recommend adding a new key called ATTACHMENTS and making it an array of 1 or more values.  See my pull request.

Thanks!


Update the Spring Boot version

An ongoing task is to keep the Spring Boot version current in the build files:
To do so, update the following files:
complete/build.gradle
complete/pom.xml
initial/build.gradle
initial/pom.xml

Issued is resolved by:
https://github.com/spring-guides/gs-accessing-data-rest/commit/1669a729a9088c4f4c5017cbea58f3e1f6725d35

Yes, it is. We leave one of these open all the time, though. As soon as the next patch release comes out, someone can fix this "issue" again. GitHub doesn't have an always-open issue mode.


Add semantic-release support to the master branch

From this point we can should merge to the beta branch and then from beta to the master 😃
Our current setup will:

compute version bump
create and push new version tag to the GitHub
generate changelog and save it as CHANGELOG.md and GitHub release
publish new version on the npm
add comments and labels to related Pull requests and Issues

Do it!

So should we see a push to npm for 1.2.0 shortly?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Yay!!!!

:tada: This PR is included in version 1.2.0-beta.3 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


I feel that this project is more similar to ragflow.

Hi, thank you for sharing. I would like to know if this project has been compared with other open source projects? Especially GraphRAG from Microsoft?

不是一回事吧，人家这个项目是寻找最优的参数配置


[BUG] Cannot compare UUID fields

Error description
I'm getting
NotImplementedError: Mongomock does not know how to sort 'c4be03d6-6e0f-42ef-a043-d35b269692ec' of type '<class 'uuid.UUID'>'

when trying to run (minimal example):
from mongomock import MongoClient
from uuid import UUID

coll1 = MongoClient()['db'].coll1
coll1.insert_one({'_id': UUID(int=1)})
coll1.find({}, sort=[('_id', 1)])

Probable solution
Probably, that's caused by https://github.com/mongomock/mongomock/blob/50ad34e438d2d12e4ccb2926fba1a76d508fd052/mongomock/filtering.py#L322-L352
missing UUID as a type. My guess from here: https://github.com/mongodb/mongo/blob/f10f21467c2c0ae7586c5c9d327f2328f09d655c/src/mongo/bson/bsontypes.h#L175 is that it could suffice to replace:
if isinstance(val, (bytes, UUID)):
    return 30

?
Why?
To illustrate, why this makes sense: When using timestamp (with higher precision that ObjectID) to make sure, objects with the same timestamp are deterministically ordered:
from mongomock import MongoClient
from uuid import UUID

coll1 = MongoClient()['db'].coll1
coll1.insert_many([
  {'_id': UUID(int=3), 'timestamp': 99},
  {'_id': UUID(int=1), 'timestamp': 100},
  {'_id': UUID(int=2), 'timestamp': 100},
])
coll1.find({}, sort=[('timestamp', 1), ('_id', 1)])

Thank you!

Bumping this because I'm also running into this, except i'm trying to use aggregate and passing a UUID field into $group, which is mentioned in this long open issue: https://github.com/mongomock/mongomock/issues/576
It seems that @voegtlel makes a good point:

missing UUID as a type. My guess from here: https://github.com/mongodb/mongo/blob/f10f21467c2c0ae7586c5c9d327f2328f09d655c/src/mongo/bson/bsontypes.h#L175 is that it could suffice to replace...

Is there a reason the above proposed solution wouldn't work/be fairly simple to implement?

Let's try a simple PR and check if it passes the tests.


feat(cheatcodes): add docs for exists, isFile and isDir cheats

Add docs for new filesystem cheatcodes exists, isFile and isDir from foundry-rs/foundry#5719

Update src/cheatcodes/fs.md with cheatcode sigs
Update src/cheatcodes/README.md with cheatcode sigs

Got it, thanks. Looks like the filesystem cheatcodes are grouped together under src/cheatcodes/fs.md for now.
Would it be better to append an example block for exists, isFile and isDir on the same page to keep them grouped? If not, I can create separate pages for the three of these.

gotcha! yep, let's group them up on fs.md


sigma-google_analytics_4_template_setup

I accept the Snowflake CLA.

Hi @pballai - thanks for submitting! a few changes requested:

please remove the footer image
in "Transforming the Raw GA4 Data" please provide any SQL code as a Snowflake notebook and/or as a code block in the quickstart, do not link to download SQL from an external link
please make sure you follow our guide on creating quickstarts:

Always check if the first step is labeled Overview AND then make sure there are these specific sections under that step: 1) Overview, 2) What You Will Build, 3) What You Will Learn, 4) Prerequisites

Always check if the last step is labeled Conclusion and Resources and then make sure it includes these specific sections **1) Conclusion, 2) What You Learned, and 3) Resources (with links to docs, blogs, videos, etc.)```

Specifically, the last section needs to be labeled "Conclusion and Resources" with the sections as well (some of which you already have!)

@pballai

Remove '#' in front of the title
Resolve conflicts. FYI, you should not be modifying or committing package.json.

cc @lukegalbraithrussell

Both tasks are completed.
Phil Ballai
Enterprise Architect
[image: Sigma] https://www.sigmacomputing.com/
908.528.4920
Raleigh, NC
sigmacomputing.com https://www.sigmacomputing.com/
On Tue, Oct 22, 2024 at 8:43 AM Dash Desai @.***> wrote:

@pballai https://github.com/pballai

Remove '#' in front of the title
Resolve conflicts. FYI, you should not be modifying or committing
package.json.

cc @lukegalbraithrussell https://github.com/lukegalbraithrussell
—
Reply to this email directly, view it on GitHub
https://github.com/Snowflake-Labs/sfquickstarts/pull/1559#issuecomment-2429182810,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALCWBNAJKTKEI3MXR5Y7DXTZ4ZCAPAVCNFSM6AAAAABOBJKDSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRZGE4DEOBRGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Please disregard and close this PR. It is replaced with this one:
https://github.com/Snowflake-Labs/sfquickstarts/pull/1671


Plugin config is invalid, continuing without plugins. Error: Invalid plugin config data type: <class 'list'>

While running docker compose run --rm auto-gpt --install-plugin-deps, the following error appears:
Plugin config is invalid, continuing without plugins. Error: Invalid plugin config data type: <class 'list'>
My plugins_config.yaml file content is:
commercetools:
  - config: {} # Configs from the plugin README and installation instructions.
  - enabled: true

When i remove the hyphen from the plugins_config.yaml file, the error does not appear anymore but the plugin is not loaded

what settings should I use on the plugins_config.yaml file?
AutoGPTSpacePlugin:
    config: {}
    enabled: true

or these
plugin_a:
  config:
    api_key: my-api-key
  enabled: false
PluginB:
  config: {}
  enabled: true

If the latest settings are to be used, is it necessary to add a CHAT_ID for the telegram bot?
thanks.

@Annett-2601 , it depends, the 2nd code block is for more than 1 plugin, but uses the same format.
Regarding the CHAT_ID, you may add this on the .env file or here on the config field.
As i'm new to Auto-GPT, it may help you to reach out on the discord platform: https://discord.gg/autogpt

I have the same problem.
And I'm following it on Discord.
Give me a sign you solved this problem, thanks.

I get the plugin to be loaded using a different directory structure, more details on discord
https://discord.com/channels/1092243196446249134/1161308423716098088/1161757994019717350


Can't up Appfile for my workload

Describe the bug

I write a workloaddefinitions like this:
apiVersion: core.oam.dev/v1alpha2
kind: WorkloadDefinition
metadata:
  name: mpserver
  annotations:
    definition.oam.dev/description: "mpserver is quwan of recommend service which is long-running, scalable, containerized services."
spec:
  definitionRef:
    name: deployments.apps
  extension:
    template: |
      outputs: app: {
        apiVersion: "apps/v1"
        kind:       "Deployment"
        metadata: {
        	name: context.name
        	labels: {
        		"app.oam.dev/component": context.name
        		"app":                   context.name
        	}
        }
        spec: {
        	selector: matchLabels: {
        		"app.oam.dev/component": context.name
        		"app":                   context.name
        	}
        	template: {
        		metadata: labels: {
              "app.oam.dev/component": context.name
              "app":                   context.name
        		}
        		spec: {
              containers: [{
                name:  context.name
                image: parameter.image
                if parameter["cmd"] != _|_ {
                	command: parameter.cmd
                }
                if parameter["env"] != _|_ {
                	env: parameter.env
                }
                if context["config"] != _|_ {
                	env: context.config
                }
                ports: [
                	for k, v in parameter.ports {
                		containerPort: v
                		protocol:      "TCP"
                	},
                ]
                if parameter["cpu"] != _|_ {
                	resources: {
                		limits:
                      cpu: parameter.cpu
                		memory: parameter.memory
                		requests:
                      cpu: parameter.cpu
                		memory: parameter.memory
                	}
                }
              }]
        	}
        	}
        }
      }
      outputs: service: {
        apiVersion: "v1"
        kind:       "Service"
        metadata: {
        	name: context.name
        	labels: {
        		"app.oam.dev/component": context.name
        		"app":                   context.name
        	}
        }
        spec: {
        	type: "ClusterIP"
        	selector: matchLabels: {
        		"app.oam.dev/component": context.name
        		"app":                   context.name
        	}
        	ports: [
        		for k, v in parameter.ports {
              name:       "tcp-\(k)"
              port:       v
              targetPort: v
              protocol:   "TCP"
        		},
        	]
        }
      }
      #Config: {
        name:  string
        value: int
        other: {
        	key:   string
        	value: string
        }
      }
      parameter: {
        // +usage=Which image would you like to use for your service
        // +short=i
        image: string
        // +usage=Commands to run in the container
        cmd?: [...string]
        // +usage=Which port do you want customer traffic sent to
        // +short=p
        ports: [...int]
        // +usage=Define arguments by using environment variables
        env?: [...{
        	// +usage=Environment variable name
        	name: string
        	// +usage=The value of the environment variable
        	value?: string
        	// +usage=Specifies a source the value of this var should come from
        	valueFrom?: {
        		// +usage=Selects a key of a secret in the pod's namespace
        		secretKeyRef: {
              // +usage=The name of the secret in the pod's namespace to select from
              name: string
              // +usage=The key of the secret to select from. Must be a valid secret key
              key: string
        		}
        	}
        }]
        // +usage=Number of CPU units for the service, like `0.5` (0.5 CPU core), `1` (1 CPU core)
        cpu?: string
        // +usage=Number of CPU units for the service, like `0.5` (0.5 CPU core), `1` (1 CPU core)
        memory?: string
      }

and My Appfile is this:
name: test-mpserver
services:
  test-mpserver:
    type: mpserver
    image: crccheck/hello-world
    ports: [8000]

I am up Appfile, it is Error.
I check this application for command:
$ vela system dry-run -f test-mpserver-application.yaml
Error: generate OAM objects: from source

this test-mpserver-application.yaml is:
apiVersion: core.oam.dev/v1alpha2
kind: Application
metadata:
  name: test-mpserver
spec:
  components:
  - name: test-mpserver
    scopes:
      healthscopes.core.oam.dev: test-mpserver-default-health
    settings:
      image: crccheck/hello-world
      ports:
      - 8000
    type: mpserver

I try to run the cue to check this template, and it is work:
parameter: {
	image: "crccheck/hello-world"
	ports: [8000]
}

context: {
	name: "test-mpserver"
}

run and output:
$ cue eval ./ -e outputs --out yaml
app:
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: test-mpserver
    labels:
      app: test-mpserver
      app.oam.dev/component: test-mpserver
  spec:
    selector:
      matchLabels:
        app: test-mpserver
        app.oam.dev/component: test-mpserver
    template:
      metadata:
        labels:
          app: test-mpserver
          app.oam.dev/component: test-mpserver
      spec:
        containers:
          - name: test-mpserver
            image: crccheck/hello-world
            ports:
              - containerPort: 8000
                protocol: TCP
service:
  apiVersion: v1
  kind: Service
  metadata:
    name: test-mpserver
    labels:
      app: test-mpserver
      app.oam.dev/component: test-mpserver
  spec:
    selector:
      matchLabels:
        app: test-mpserver
        app.oam.dev/component: test-mpserver
    ports:
      - name: tcp-0
        protocol: TCP
        port: 8000
        targetPort: 8000
    type: ClusterIP

Cluster information

$ vela version
Version: refs/tags/v0.3.2
GitRevision: git-18f184d
GolangVersion: go1.14.14

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"e19964183377d0ec2052d1f1fa930c4d7575bd50", GitTreeState:"clean", BuildDate:"2020-08-26T14:30:33Z", GoVersion:"go1.15", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.9-r0-CCE<IP_ADDRESS>.B001-17.36.5", GitCommit:"d61c11191a704802f93e5d86877a8fcffe208d58", GitTreeState:"clean", BuildDate:"2020-10-16T09:38:58Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

Additional context

In workload definition cue template, at least one "output" is required. It seems your workload def has only "outputs". This example doc may help.
But it's surely a problem that cmd doesn't give helpful info when cmd failed.

In workload definition cue template, at least one "output" is required. It seems your workload def has only "outputs". This example doc may help.
But it's surely a problem that cmd doesn't give helpful info when cmd failed.

thx, It is okay for this fix. But why the trait can use "outputs" instead of "output", like advanced-cue, this different styles of design can be confusing

as it's already discussed, just close it now. Pls feel free to reopen it if necessary.


Why doesn't istio support query parameter prefix matching for route?

In fact, envoy supports query parameter prefix matching for route.
Should we add this feature into istio VirtualService?

I'm glad to open a pr to implement it if this proposal is agreed.
cc @howardjohn @hzxuzhonghu

I am ok to support query param prefix match as headers


Add metrics to the packages

Coverage remained the same at ?% when pulling 3086f76944dee60debe196c78cada1d7fcf3b897 on nkorde/fix-stray-tools into 7da913f1379a8acbbdf92cf53505c31a7847cba5 on master.


[dy] Add initial datadog logging library

Summary
Add some basic datadog logging methods. Not entirely sure what the difference is between using the api and the statsd library.

Tests
tested locally

cc: @wangxiaoyou1993

You'll need to run a datadog agent to use statsd

@wangxiaoyou1993 should we just default to using the api then?

@wangxiaoyou1993 PTAL

Could you add unit tests?

yeah i'll do it in another pr


Feature: Add kml & kmz MIME types

These files are used for GPS coordinates in Google Maps & Google Earth.
These are the MIME types for kml & kmz files:
'kml'   =>  'application/vnd.google-earth.kml+xml'
'kmz'   =>  'application/vnd.google-earth.kmz'

Done ... this can be closed now.


[WIP] pre_shared_key

Next to the copy and paste icon, there can be a generate icon instead of the `Generate random data' button:

generates a UUID for the SubjectID
for key random data length 16 bytes

Show secret is overlapped by the copy/paste password.

After put first string I'm not able to see the show secret

Validation of uuid in Subject ID is missing.

Wrong Subject ID format replace with Must be in UUD format: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
If I move or select Key it can validate subjectId immediately - it doesn't need to wait for click button.


please help me sir

i have directly deleted your extention from my browser i hv added to site on your extention for secondery password but after deleting extetion those site still want the secondery passowrd there is can get that and from where i can recover my data please help me

All data will be deleted from both your local machine and Google server when you remove the extension, this is Chrome's behavior. You need contact with support of those sites to help you to recover your accounts.

Can they help me which site i have added to the extention
On Thu, Jun 8, 2017 at 10:32 AM, Zhe Li<EMAIL_ADDRESS>wrote:

All data will be deleted from both your local machine and Google server
when you remove the extension, this is Chrome's behavior. You need contact
with support of those sites to help you to recover your accounts.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sneezry/authenticator/issues/125#issuecomment-306999067,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ab6dJtuClSuYBJQz6DRQgG1uK6ffwOeTks5sB4BqgaJpZM4NzkSs
.

If you added Gmail 2FA to the extension, then you should contact with Google to ask them to recover your Gmail account. If you added Facebook 2FA, then you should ask Facebook to help you.

i have added unocoin and bitrex
On Thu, Jun 8, 2017 at 11:02 AM, Zhe Li<EMAIL_ADDRESS>wrote:

If you added Gmail 2FA to the extension, then you should contact with
Google to ask them to recover your Gmail account. If you added Facebook
2FA, then you should ask Facebook to help you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Sneezry/authenticator/issues/125#issuecomment-307003049,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ab6dJmHRqa-Z7GKnjzDS_676mGxK3yYpks5sB4eIgaJpZM4NzkSs
.

Then you can just ask unocoin and bitrex to give you a help hand on account recovery


a block on one spot of the gate disables overlays

Not a bug, but I edited the system little bit so you need 3 blocks to disable the overlay actually


Review positions: beaufort

positions: beaufort indicates the sea state with an integer Beaufort code:
https://github.com/ices-tools-dev/esas/blob/0d294b4ea678e34f52409a16602f9133ac179dcf/_data/table-schemas/positions.yaml#L90-L105

[ ] @ices-tools-dev/data-and-information Does ICES use the Beaufort scale for any other dataset?
[x] @nicolasvanermen wouldn't it technically be better if sea_state was used as a name for the field or is beaufort easier?

Sea state has a scale of its own (which is a simplification of the beaufort
scale with 9 instead of 12 values). Actually, this field was named
sea_state before, yet used the beaufort scale. Quite confusing, I suggest
keeping beaufort as a column name.
Nicolas Vanermen
Wetenschappelijk medewerker
Instituut voor Natuur- en Bosonderzoek
Havenlaan 88, bus 73, 1000 Brussel
0486/361.582
On Wed, Jan 6, 2021 at 12:46 PM Peter Desmet<EMAIL_ADDRESS>wrote:

position: beaufort indicates the sea state with an integer Beaufort code:
https://github.com/ices-tools-dev/esas/blob/0d294b4ea678e34f52409a16602f9133ac179dcf/_data/table-schemas/positions.yaml#L90-L105

@ices-tools-dev/data-and-information
https://github.com/orgs/ices-tools-dev/teams/data-and-information
Does ICES use the Beaufort scale for any other data?
@nicolasvanermen https://github.com/nicolasvanermen wouldn't it
technically be better if sea_state was used as a name for the field or
is beaufort easier?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ices-tools-dev/esas/issues/25, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYKGXI4MPPHMTZZWUXPHRDSYRERJANCNFSM4VXNRIHA
.

Sea state has a scale of its own (which is a simplification of the beaufort
scale with 9 instead of 12 values). Actually, this field was named
sea_state before, yet used the beaufort scale. Quite confusing, I suggest
keeping beaufort as a column name.
Nicolas Vanermen
Wetenschappelijk medewerker
Instituut voor Natuur- en Bosonderzoek
Havenlaan 88, bus 73, 1000 Brussel
0486/361.582
On Wed, Jan 6, 2021 at 12:46 PM Peter Desmet<EMAIL_ADDRESS>wrote:

position: beaufort indicates the sea state with an integer Beaufort code:
https://github.com/ices-tools-dev/esas/blob/0d294b4ea678e34f52409a16602f9133ac179dcf/_data/table-schemas/positions.yaml#L90-L105

@ices-tools-dev/data-and-information
https://github.com/orgs/ices-tools-dev/teams/data-and-information
Does ICES use the Beaufort scale for any other data?
@nicolasvanermen https://github.com/nicolasvanermen wouldn't it
technically be better if sea_state was used as a name for the field or
is beaufort easier?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ices-tools-dev/esas/issues/25, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYKGXI4MPPHMTZZWUXPHRDSYRERJANCNFSM4VXNRIHA
.

New vocab

New vocab

Hi @Osanna123, by "New vocab" I assume here is not existing one to reuse and no further action is required on ESAS part?

Hi @Osanna123, by "New vocab" I assume here is not existing one to reuse and no further action is required on ESAS part?

Ok, you can re-open any of the issues where that is necessary.

Ok, you can re-open any of the issues where that is necessary.


i18n(es): Update reference/ V3

What kind of changes does this PR include?

New or updated content
Translated content

Description

What does this PR change? Give us a brief description.
Update reference/ V3 PR

Listo!, gracias por la revisión vaque

Commit applied:

c4d249

Commit (it has not been necessary to update the page):

8190f7

Commit:

9a8f0a


Implement HTTP Basic Authentication

Fixes: #5
Additional information
This pull request attempts to make the user experience around logging in and out better. Before these changes, users were expected to manually edit and configure their .condarc files before logging in and out. I felt this was a cumbersome step and wanted to see what I could do to fix it.
The solution I came up with was giving the conda-auth plugin the ability to edit the .condarc file itself. The information that is written to the .condarc is then later used by normal conda commands.
For example, when a user logs in to a HTTP Basic Authentication channel with the following command:
conda auth login http://localhost --username user

The following information will be automatically saved to their .condarc file:
channel_settings:
- channel: http://localhost
  auth: http-basic
  username: user

The password is then saved using "keyring".
For future authentication types, we will then try our best to infer what type of authentication is being used so that we can avoid having to make users manually specify this.

The last thing I'd like to do for the pull request before taking it out of draft mode is adding more test coverage to the conda_auth.condarc module.
I'm also going to double check to make sure that there isn't anything buried in the "conda" API that would allow me to update the .condarc file. I'm pretty sure there isn't though.


[FIX] Error creating a manual backup

Hi @joaochris, thanks for reporting this too. It will be checked.


Making migrations throws ManagerInheritanceWarning, enable to apply migrations

Hey folks!
I'm running into some issues making and running the migrations (although the server does start).
I'm on Mac OS 10.15.7, Python 3.8.2 (inside a virtualenv), and have included all installed packages + versions at the bottom of this issue.
The warnings I get on calling makemigrations:
% python manage.py makemigrations
/Users/arnaudschenk/dev/policykit/policykit/policyengine/models.py:67: ManagerInheritanceWarning: PolymorphicModel: "CommunityUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class CommunityUser(User, PolymorphicModel):
/Users/arnaudschenk/dev/policykit/policykit/slackintegration/models.py:147: ManagerInheritanceWarning: PolymorphicModel: "SlackUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class SlackUser(CommunityUser):
/Users/arnaudschenk/dev/policykit/policykit/redditintegration/models.py:194: ManagerInheritanceWarning: PolymorphicModel: "RedditUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class RedditUser(CommunityUser):
/Users/arnaudschenk/dev/policykit/policykit/discordintegration/models.py:157: ManagerInheritanceWarning: PolymorphicModel: "DiscordUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class DiscordUser(CommunityUser):
No changes detected

And when trying to migrate:
% python manage.py migrate
/Users/arnaudschenk/dev/policykit/policykit/policyengine/models.py:67: ManagerInheritanceWarning: PolymorphicModel: "CommunityUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class CommunityUser(User, PolymorphicModel):
/Users/arnaudschenk/dev/policykit/policykit/slackintegration/models.py:147: ManagerInheritanceWarning: PolymorphicModel: "SlackUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class SlackUser(CommunityUser):
/Users/arnaudschenk/dev/policykit/policykit/redditintegration/models.py:194: ManagerInheritanceWarning: PolymorphicModel: "RedditUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class RedditUser(CommunityUser):
/Users/arnaudschenk/dev/policykit/policykit/discordintegration/models.py:157: ManagerInheritanceWarning: PolymorphicModel: "DiscordUser.objects" manager is of type "UserManager", but must be a subclass of PolymorphicManager. to support retrieving subclasses
  class DiscordUser(CommunityUser):
Operations to perform:
  Apply all migrations: actstream, admin, auth, contenttypes, dashboard, django_celery_beat, django_celery_results, jet, sessions, sites
Traceback (most recent call last):
  File "manage.py", line 20, in <module>
    main()
  File "manage.py", line 16, in main
    execute_from_command_line(sys.argv)
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/core/management/base.py", line 328, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/core/management/base.py", line 369, in execute
    output = self.handle(*args, **options)
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/core/management/base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 190, in handle
    pre_migrate_apps = pre_migrate_state.apps
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/utils/functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/db/migrations/state.py", line 209, in apps
    return StateApps(self.real_apps, self.models)
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/db/migrations/state.py", line 272, in __init__
    self.render_multiple([*models.values(), *self.real_models])
  File "/Users/arnaudschenk/.virtualenv/policykit/lib/python3.8/site-packages/django/db/migrations/state.py", line 311, in render_multiple
    raise InvalidBasesError(
django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'discordintegration.DiscordUser'>, <ModelState: 'redditintegration.RedditUser'>, <ModelState: 'slackintegration.SlackUser'>, <ModelState: 'policyengine.CommunityRole'>, <ModelState: 'policyengine.CommunityUser'>, <ModelState: 'policyengine.GenericRole'>]
This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth)
 in an app with no migrations; see https://docs.djangoproject.com/en/3.0/topics/migrations/#dependencies for more

I've tried doing some digging, but it does not seem to be a common issue, and I'm too unfamiliar with Django to make much headway. Any pointers appreciated!
My installed packages:
amqp==2.5.2
anyjson==0.3.3
appnope==0.1.0
asgiref==3.2.3
backcall==0.1.0
billiard==<IP_ADDRESS>
celery==4.4.0
certifi==2019.11.28
chardet==3.0.4
decorator==4.4.1
Django==3.0.7
django-activity-stream==0.9.0
django-celery-beat==1.5.0
django-celery-results==1.1.2
django-grappelli==2.14.1
django-jet==1.0.8
django-polymorphic==2.1.2
django-timezone-field==4.0
gevent==20.6.2
greenlet==0.4.17
idna==2.9
importlib-metadata==1.4.0
ipython==7.11.1
ipython-genutils==0.2.0
jedi==0.15.2
kombu==4.6.7
more-itertools==8.1.0
parso==0.5.2
pexpect==4.7.0
pickleshare==0.7.5
prompt-toolkit==3.0.2
ptyprocess==0.6.0
Pygments==2.5.2
python-crontab==2.4.0
python-dateutil==2.8.1
pytz==2019.3
requests==2.23.0
six==1.15.0
sqlparse==0.3.0
traitlets==4.3.3
urllib3==1.25.8
vine==1.3.0
wcwidth==0.1.8
websocket==0.2.1
websocket-client==0.57.0
zipp==2.0.1
zope.event==4.5.0
zope.interface==5.1.2

Thanks for filing the issue! I haven't encountered this before but will try to replicate it.

Thanks for letting us know about this issue!
It might be related to a similar bug I have run into in the past, which I resolved by creating a folder called migrations in every directory containing a model for which I received. an InvalidBasesError. In each migrations folder I needed to create an empty file named __init__.py
If you don't have any data in your database yet, it might be worth a shot to remove the database, remove all migrations, and start a fresh database. You can do that all at once by entering the policykit directory (the one directly containing manage.py) and running the following command:
rm db.sqlite3 && sudo find . -path "*/migrations/*.py" -not -name "__init__.py" -delete && sudo find . -path "*/migrations/*.pyc" -delete && sudo python3 manage.py makemigrations discord && sudo python3 manage.py makemigrations reddit && sudo python3 manage.py makemigrations slack && sudo chmod 777 db.sqlite3 && python3 manage.py migrate --run-syncdb
Let me know if this fixes your issue! I'll see if I can reproduce it as well. Thanks again for reporting it!

Tested and resolved now.


Error when destroying a user with OAauth access tokens

https://rollbar.com/carto/CartoDB/items/40452/

It was fixed here: https://github.com/CartoDB/cartodb/pull/15347


Add Prototype Amber's healing as opt target if a team member has it equipped

The healing amount from Prototype Amber is based on the HP of the character receiving the heals.
While I don't think it's a useful thing to optimize for (and you could recreate it by simplying optimizing for HP)
Having it appear as it's own specific stat and value if a team member has it equipped might be handy.


Expand the timeout of the gitStream automation, so it doesn't fail

I can see that many of our PRs cannot benefit from gitStream, as the automation pipeline fails.
Maybe the 5-minute timeout was a bit too conservative when it comes to a bigger repository like gradle/gradle?

Haha, didn't read the top of the file - it seems that this file is autogenerated with this timeout.

I'm going to reopen this, as I suspect the file is actually editable.
There are troubleshooting steps, which requires you to edit the file. I can only assume then that it's editable.

@bot-gradle test and merge

I've triggered a build for you.


GlobalIdGenerator will produce a negative id when the time shift back

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #6728.
[ ] Update the CHANGES log.

I am still waiting for you to explain why positive or negative matters.

Here are my comments. #6729

Here are my comments.
https://github.com/apache/skywalking/issues/6728

Generally good, please update the changes.md

Generally good, please update the changes.md

done


Working grammar on Lark 0.9.0 throws IndexError on post-0.9.0

Describe the bug
My parser runs on Lark 0.9.0, but throws IndexError on both Lark 0.10.1 and master branch. The parser is Earley and uses the same custom indenter as for Python examples.
I reported this bug earlier in Gitter, sharing a stack dump and some local var values, but did not yet have a reduced example. Now I do:
To Reproduce
Run with python <filename>:
https://pastebin.com/HMA4kXyz
"""
IndexError_ChildFilterLALR_NoPlaceholders_2020-11.py

Works in Lark 0.9, but not 0.10.1 or github master on 2020-11-12
Python 3.8.5 64-bit on Win 10 Pro

python IndexError_ChildFilterLALR_NoPlaceholders_2020-11.py

Expected output is:
    code: ...
    parser: ...
    tree: ...
    Done.

Works on Lark 0.9.0
On Lark 0.10.1 or latest master branch, raises IndexError:
"""
import lark
import lark.indenter
code = '''\
if a is b
    print(a)
'''
# improper subset of one of the Python grammar examples:
grammar = r"""
file_input: (_NEWLINE | stmt)*

?stmt: simple_stmt | compound_stmt
?simple_stmt: small_stmt (";" small_stmt)* [";"] _NEWLINE
?small_stmt: (NAME test)

?compound_stmt: if_stmt
if_stmt: "if" test ":"? suite
suite: (","? simple_stmt) | (_NEWLINE _INDENT stmt+ _DEDENT)

?test: binary_bool_test
?binary_bool_test: not_test (("and" | "or") not_test)*
?not_test: "not" not_test -> not | comparison
?comparison: expr (_comp_op expr)*
star_expr: "*" expr
?expr: shift_expr (("bor" | "band" | "bxor") shift_expr)*
?shift_expr: arith_expr (_shift_op arith_expr)*
?arith_expr: term (_add_op term)*
?term: factor (_mul_op factor)*
?factor: _factor_op factor | atom_expr

_factor_op: "+" | "-"
_add_op:    "+" | "-"
_shift_op:  "<<" | ">>"
_mul_op:    "*" | "/" | "%" | "//"
_comp_op:   "<" | ">" | "==" | ">=" | "<=" | "<>" | "in" | "is"

?atom_expr: atom_expr "(" [arguments] ")" -> func_call
          | atom

?atom: "(" test ")"
     | name
     | number

name: NAME
?number: INT_LITERAL_DEC

?testlist_comp: (test|star_expr) [("," (test|star_expr))+ [","] | ","]
exprlist: (expr|star_expr) ("," (expr|star_expr))* [","]
testlist: test ("," test)* [","]

arguments: argvalue ("," argvalue)*  ("," [starargs | kwargs])?
         | starargs
         | kwargs

starargs: "*" test ("," "*" test)* ("," argvalue)* ["," kwargs]
kwargs: "**" test

?argvalue: test ("=" test)?

NAME: /[a-zA-Z_]\w*/
_NEWLINE: ( /\r?\n[\t ]*/  )+
INT_LITERAL_DEC:   /0|[1-9]\d*/i

%ignore /[\t \f]+/  // WS
%ignore /\\[\t \f]*\r?\n/   // LINE_CONT
%declare _INDENT _DEDENT
"""

# for Pythonic indentation:
class CustomIndenter(lark.indenter.Indenter):
    NL_type = '_NEWLINE'
    OPEN_PAREN_types = ['LPAR', 'LSQB', 'LBRACE']
    CLOSE_PAREN_types = ['RPAR', 'RSQB', 'RBRACE']
    INDENT_type = '_INDENT'
    DEDENT_type = '_DEDENT'
    tab_len = 8

def parser():
    return lark.Lark(
        grammar,
        debug=True,
        parser='earley',      # lalr, earley
        lexer='standard',     # in ('standard', 'contextual', 'dynamic', 'dynamic_complete') or issubclass(lexer, Lexer)
        postlex=CustomIndenter(),
        start='file_input',
        keep_all_tokens=True,
        maybe_placeholders=True,
        propagate_positions=True,
        ambiguity='resolve')  # in ('resolve', 'explicit', 'auto')

print('code:')
print(code)

p = parser()
print('parser:', p)
tree = p.parse(code)
print('tree:', tree)

print('Done.')

The exception:
Traceback (most recent call last):
  File "IndexError_ChildFilterLALR_NoPlaceholders_2020-11.py", line 104, in <module>
    tree = p.parse(code)
  File "...\lark-github\lark\lark.py", line 494, in parse
    return self.parser.parse(text, start=start)
  File "...\lark-github\lark\parser_frontends.py", line 138, in parse
    return self._parse(start, self.make_lexer(text))
  File "...\lark-github\lark\parser_frontends.py", line 73, in _parse
    return self.parser.parse(input, start, *args)
  File "...\lark-github\lark\parsers\earley.py", line 320, in parse
    return transformer.transform(solutions[0])
  File "...\lark-github\lark\parsers\earley_forest.py", line 353, in transform
    self.visit(root)
  File "...\lark-github\lark\parsers\earley_forest.py", line 295, in visit
    vpno(current)
  File "...\lark-github\lark\parsers\earley_forest.py", line 587, in visit_packed_node_out
    super(ForestToParseTree, self).visit_packed_node_out(node)
  File "...\lark-github\lark\parsers\earley_forest.py", line 417, in visit_packed_node_out
    transformed = self.transform_packed_node(node, self.data[id(node)])
  File "...\lark-github\lark\parsers\earley_forest.py", line 570, in transform_packed_node
    return self._call_rule_func(node, children)
  File "...\lark-github\lark\parsers\earley_forest.py", line 524, in _call_rule_func
    return self.callbacks[node.rule](data)
  File "...\lark-github\lark\parse_tree_builder.py", line 29, in __call__
    res = self.node_builder(children)
  File "...\lark-github\lark\parse_tree_builder.py", line 129, in __call__
    filtered.append(children[i])
IndexError: list index out of range

I'm pretty sure someone else also posted that in #752

That's what I thought too, I even added a comment to that effect. But when I checked, my grammar was still broken. The stack trace you see is from master. Note that it fails slightly later than the stack trace on #752.

Oh sorry! I didn't catch that

Hmm, I tried it on the online ide which froze (meaning you probably have some unfinished grammar)

That probably means that Lark doesn't like this grammar without at least some of the options you see in my sample.
It runs in less than a second from the command line in my lark git workspace pulled from master. It doesn't complain about the grammar although I can make that happen by deliberately breaking it. Here is my output just now:
> python IndexError_ChildFilterLALR_NoPlaceholders_2020-11.py
code:
if a is b
    print(a)

parser: Lark(open('<string>'), parser='earley', lexer='standard', ...)
Traceback (most recent call last):
  File "IndexError_ChildFilterLALR_NoPlaceholders_2020-11.py", line 141, in <module>
    tree = p.parse(code)
...
  File "C:\...\lark-github\lark\parse_tree_builder.py", line 129, in __call__
    filtered.append(children[i])
IndexError: list index out of range

The online ide doesn't say which Python it runs, nor does it provide access to the various options you see me passing, including the custom indenter for postlex.

I have bisected the issue to 9db869c. I am close to a fix and will make a PR soon.

Thanks @chanicpanic. Should a new test case be added as well? The existing ones didn't pick up on this particular issue.

A test case is a good idea. However, I do not have a minimal example that causes the issue.
The fix involved reverting an incorrect condition as opposed to identifying exactly how the parse caused the error.

I believe the program on this ticket would form the basis of a new test case. It would be a new test_foo.py under https://github.com/lark-parser/lark/tree/master/tests like the others, some of which are longer.
I worry about not accumulating enough regression tests to avoid future regressions.

Thanks @MegaIng !
One thing. I am getting a grammar error.
lark.exceptions.GrammarError: You can only use newlines in regular expressions with the `x` (verbose) flag

Do you know what to do about this?

@chanicpanic You need to put the grammar into a raw string r""" """ Otherwise python will replace the escape sequence.

Thanks, I am getting the IndexError now. I will add the test to the PR.

Thank you, everybody. Lark gets better and better.


[FEATURE]:  txAdmin Ban Player Event

Scope
In-Game Menu, Developer API
Feature Description
An event like txadmin:event:banplayer which puts a selected player on the ban list. This is good for anti-cheat integrations.
Example: TriggerEvent("txadmin:event:banPlayer", source, "You have been banned for cheating",<PHONE_NUMBER>)
Use Case
Intigration from txAdmin into Free or Open Source Anticheats like Incarus
Proposed Solution
No response
Additional Info
No response

Please check #442


PDS GoSec report does not contain name but description

Situation
There is a bug inside the gosec sarif output - I created https://github.com/securego/gosec/issues/768 for it.
So for example in our HTML reports the type column (internally it uses the name attribute) does not show up "Cross site scripting" for CWE-79 but a description.

Solution
We must wait until the bug has been fixed in gosec and just use the new version inside our pds solution
@Jeeppler , @sven-dmlr  - as long as the implementation is not fixed inside gosec we will have reports with wrong naming

PR is merged. So will be fixed in gosec > v2.9.6

This is still an issue even with GoSec 2.10 and SecHub Server 0.29.1. Tested with: https://github.com/Contrast-Security-OSS/go-test-bench.
./gosec -version
Version: 2.10.0
Git tag: v2.10.0
Build date: 2022-02-22T20:39:42Z

Meanwhile, the issue is fixed upstream. The HTML report now looks good:


Location data generated as csv

Merges all available reports in the DB into one. Run as follows:
python -m analysis.utils.write_location_data path_to_output.csv

Need to fix 0 rows


Write a Java program to find perimeter of a square

Description
Write a Java program to find perimeter of a square
Perimeter of square = 4 × Side
Side : 2

Perimeter : 8

How to contribute

Save the solution in program/FindPerimeterOfASquare.java file
Add FindPerimeterOfASquare.java file in find-perimeter-of-a-square folder

!assign


Define a silent API formatter that will output nothing to the console

In our CI build process, so far, we are running the following commands (simplified):
$ bundle exec rspec \
  --format progress
  --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/rspec.xml

$ bundle exec rake api:docs:generate

The first command runs RSpec on all our specs with a double output:

dots to display progress in the console
JUnit XML format to provide test reports to CircleCI

The second command run a Rake task based on rspec_api_documentation's Rake Task documentation:
RSpec::Core::RakeTask.new("api:docs:generate") do |t|
  ENV["RACK_ENV"] = ENV["RAILS_ENV"] = "test"
  t.pattern = [
    "spec/requests/api/**/*_spec.rb",
    "spec/requests/docs/**/*_spec.rb"
  ]
  t.rspec_opts = [
    "--format RspecApiDocumentation::ApiFormatter",
    "--order default"
  ]
end

The result is that we run some specs twice, just in order to generate API documentation. This generates a cost as API doc generation takes, by itself, a few minutes.
I realized quickly that it is possible for us to do this:
$ bundle exec rspec \
  --format progress
  --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/rspec.xml
  --format RspecApiDocumentation::ApiFormatter

This command runs all specs, and for RspecApiDocumentation spec, it will also generate the documentation, preventing us to run some specs twice, and allowing us to save some time.
Unfortunately, the RspecApiDocumentation::ApiFormatter formatter outputs too much and ends up polluting our CI output.
This PR is offering a solution to our problem: a silent API formatter that does not output anything to the console.

It took me all this time to realize that I can also do this:
$ bundle exec rspec \
  --format progress
  --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/rspec/rspec.xml
  --format RspecApiDocumentation::ApiFormatter --out /dev/null

🤦♂


Support constants in StackedRNNCells

This PR is probably useful for implementing (some variants of) attention RNNs.

Enable the constants argument in StackedRNNCells.call. The constants will be routed to an underlying cell if it also supports constants.
Handle the shape of the constants properly in StackedRNNCells.build so that an RNN cell with constants can be stacked on top of another cell. Before this PR,

If the bottom cell does not support constants:

constants = Input((32,))
x = Input((None, 5))
x = RNN([GRUCell(16), RNNCellWithConstants(32)])(x, constants=constants)

The GRUCell fails to build because input_shape, which is now a list [step_input_shape] + constants_shape, is passed to GRUCell.build directly. We should only pass step_input_shape to GRUCell.build in this case.

If the bottom cell also supports constants:

constants = Input((32,))
x = Input((None, 5))
x = RNN([RNNCellWithConstants(16), RNNCellWithConstants(32)])(x, constants=constants)

The top cell fails to build because the input_shape passed to it is incorrect.
Also modified the test to cover the two cases above.

Hi, can anyone help explain the argument "constants"? I'm a bit lost about the argument. Thanks.

They're constant tensors passed to the underlying cell at every call.

@fchollet Does these tensors have timesteps?  Are they something like the static features fed in the network?

No, they don't have timesteps. They're passed to each cell call. They have no concept of time, that's why they're called "constants".


Fast config/release

gdocwiki is too slow to load for international users without these changes

master is ready to be released now.


Crash iOS9.02 ! Using JSQMessagesViewController (7.2.0) Using JSQSystemSoundPlayer (2.0.1) Xcode 7.1

App, Swift
I just made - pod install
class ViewController: JSQMessagesViewController {
nothing else managed to do
App Crash at first run!

The library is expecting the senderId not to be null. Please set the senderId and it should work.

On Oct 28, 2015, at 9:29 PM, Bitrix737<EMAIL_ADDRESS>wrote:
App, Swift
I just made - pod install
class ViewController: JSQMessagesViewController {
nothing else managed to do
App Crash at first run!
JSQMessagesViewController.m:233
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: self.senderId != nil'
*** First throw call stack:
(0x186338f5c 0x19ae3ff80 0x186338e2c 0x187227f3c 0x1000d7f3c 0x18b8a7990 0x18b8a7704 0x18b89785c 0x18b896b04 0x18b8961bc 0x18b893454 0x1843359fc 0x18b90775c 0x18bb2c088 0x18bb301a4 0x18bb2d2e4 0x19007f7ec 0x19007fb6c 0x1862f05a4 0x1862f0038 0x1862edd38 0x18621cdc0 0x18b8fc0ac 0x18b8f6f44 0x10003e574 0x19b66a8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException
—
Reply to this email directly or view it on GitHub https://github.com/jessesquires/JSQMessagesViewController/issues/1289.

tnks, sorry

Thanks @svtechnology ! :smile: :+1:


请求是否有隐性等待

raw = '''
xxx
xxx
xxx
uname=123' OR SLEEP(5)-- &passwd=123&submit=Submit
'''
aa = hack.httpraw(raw)
print(aa.text())
报错信息：
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/HackRequests/HackRequests.py", line 231, in httpraw
rep = conn.getresponse()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1321, in getresponse
response.begin()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 296, in begin
version, status, reason = self._read_status()
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 257, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/PyCharm/untitled/test.py", line 104, in
aa = hack.httpraw(raw)
File "/usr/local/lib/python3.7/site-packages/HackRequests/HackRequests.py", line 233, in httpraw
raise HackError("socket connect timeout")
HackRequests.HackRequests.HackError: socket connect timeout

如何复现？

HackRequests 可以获取网页的相应时间吗？

没有明白你的意思