add channel logging

Feature Description
Ability to set preference in each command file on a channel to log command usage and an embed template
Problem and Motivation
I have to add a line to each command if I want it logged to a discord channel that the command was ran. I attached a sample.

Additional Context
Add any other context or screenshots about the feature request here. If this feature is inspired by something else, please provide references.

Do you mean a channel Id argument that will send an embed to the specified channel as a notification when the command is executed?

yes yes

(still working on the new version but it will take a while.)

the other thing I was thinking would be cool is to have a master config list for commands and allowed servers/channels etc.
Like a YAML file or something.  Would maybe have to implement some way of tracking the command with an id or something.
Guild -
|_command-id
|__channelwhitelist:

Like this?:
guilds:
  - guild_id:<PHONE_NUMBER>12345678
    commands:
      - command_name: "ban" # Maybe id instead of name
        channel_whitelist:
          -<PHONE_NUMBER>98765432
          -<PHONE_NUMBER>87654321
      - command_name: "kick"
        channel_whitelist:
          -<PHONE_NUMBER>98765432

OOO yes. Then I dont have to manage each individual command file

Alright, I'll try to add this as a "plugin/addon" since it can get messy with large bots.

Hello again. The new version will release in 1-2 weeks. I'm currently rethinking how to handle components like buttons, select menus and modals. I find the current approach a bit confusing and not suitable for all use cases.
Could you share what aspects of the current component handling you didn't like?
Additionally, if you have any suggestions or ideas for a more intuitive design, I would greatly appreciate it. ^^
And also, should the XML file just be a display, or would you like to manage stuff in there?

I thnk the button componets work fine. I havent started using the menu select but I want to very soon. I dont think I had issues with the button. I can let you know when I do the select menu if it is an issue.
Id like to manage it from the XML

actually I did remember one issue and that is handling collectors with buttons. Like here is one area it gets a little confusing. We have in the export
type: ComponentTypes.Button,
But it gets called twice if I use a collector
   const collector = reply.createMessageComponentCollector({
                ComponentType: ComponentTypes.Button,
                filter,
            });

But thats only if I use a collector and not just a singular action for a button click

oh and buttons if I use pagination dont work as components

Okay I'll find a solution for this. Thanks for your feedback :)

Closing this issue due to the release of the new version, which should fix the bugs you mentioned. Some of the features you requested will be added soon, you can check the roadmap for what's planned (the roadmap is not in any specific order). Feel free to share any feedback once you switch to the new version!


Need support for  bigip.cm.sync-status

I'm attempting to use the F5 SDK to get the sync-status for a BIG-IP system. This is defined by the sync-status resource of the CM module. Here's the complete code from LBaaS v1 that I'm attempting to re-write using the SDK:
def get_sync_status(self):
    """ Get the sync status description for the bigip """
    request_url = self.bigip.icr_url + '/cm/sync-status?$select=status'
    response = self.bigip.icr_session.get(request_url,
                                          timeout=const.CONNECTION_TIMEOUT)
    if response.status_code < 400:
        response_obj = json.loads(response.text)
        entries = response_obj['entries']
        status = entries['https://localhost/mgmt/tm/cm/sync-status/0']
        desc = status['nestedStats']['entries']['status']['description']
        return desc
    else:
        Log.error('sync-status', response.text)
        raise exceptions.ClusterQueryException(response.text)
    return None

I've implemented a cm/sync_status object.
I recommend we use its attributes to determine which state "sync-status" is in.   Please look in:
'test/functional/cm/test_sync_status.py'
for an example of querying the Python object to learn about the server configuration state.


Error when opened without existing nvim instance

If I understood correctly I should be able to use page even without an active nvim instance, but this gives me the following error after executing page Cargo.lock (file from the git repo):
thread 'main' panicked at 'Cannot connect to parent neovim: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

With env RUST_BACKTRACE=1 page Cargo.lock:
thread 'main' panicked at 'Cannot connect to parent neovim: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5
stack backtrace:
   0: backtrace::backtrace::libunwind::trace
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
   1: backtrace::backtrace::trace_unsynchronized
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
   2: std::sys_common::backtrace::_print_fmt
             at src/libstd/sys_common/backtrace.rs:77
   3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
             at src/libstd/sys_common/backtrace.rs:61
   4: core::fmt::write
             at src/libcore/fmt/mod.rs:1028
   5: std::io::Write::write_fmt
             at src/libstd/io/mod.rs:1412
   6: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:65
   7: std::sys_common::backtrace::print
             at src/libstd/sys_common/backtrace.rs:50
   8: std::panicking::default_hook::{{closure}}
             at src/libstd/panicking.rs:188
   9: std::panicking::default_hook
             at src/libstd/panicking.rs:205
  10: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:464
  11: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:373
  12: rust_begin_unwind
             at src/libstd/panicking.rs:302
  13: core::panicking::panic_fmt
             at src/libcore/panicking.rs:139
  14: core::result::unwrap_failed
             at src/libcore/result.rs:1165
  15: page::main
  16: std::rt::lang_start::{{closure}}
  17: main
  18: __libc_start_main
  19: _start
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

echo $NVIM_LISTEN_ADDRESS returns /tmp/nvimsocket which I configured for nvr this might have something to do with this error.
env NVIM_LISTEN_ADDRESS= page Cargo.lock opens the file views it for a split second after which only an empty buffer is visible, page outputs /tmp/neovim-page/DO-NOT-REDIRECT-OUTSIDE-OF-NVIM-TERM(--help[-W]) on the command line.
env NVIM_LISTEN_ADDRESS= page -W Cargo.lock gets the same result but without any output on the commandline.

Hello and sorry for delayed feedback

echo $NVIM_LISTEN_ADDRESS returns /tmp/nvimsocket

This is what causes problems: in your case page is trying to connect to neovim server at /tmp/nvimsocket address which doesn't exists.

which I configured for nvr

Does nvr reqire such configuration? I don't understand the purpose of having global $NVIM_LISTEN_ADDRESS variable; as far as I know it should only be exposed under :term shell in order to allow clients like page and nvr to attach to parent neovim process.
Previously it was accepted by neovim to manually set the address on which it will listen to commands, but now this becomes deprecated in favor of --listen option.
That said, you was probably confused by README in neovim-remote repo, and manually setting NVIM_LISTEN_ADDRESS before each nvr invocation is not necessary

I understood the purpose of $NVIM_LISTEN_ADDRESS a bit differently (possibly incorrect), as a way to configure nvim to always use the same server address (on which it listens). For instance launching nvim with NVIM_LISTEN_ADDRESS unset: env NVIM_LISTEN_ADDRESS= nvim in nvim :echo v:servername will return /tmp/nvimnWij4Z/0which  will be different if I launch nvim again. That way if NVIM_LISTEN_ADDRESS isn't set nvr will not know which socket to send stuff to if I understood correctly.
But it seems like --listen is the actual option I should use and nvr seems to work perfect with that.
I tried page in the nvim terminal after launching nvim with env NVIM_LISTEN_ADDRESS= nvim --listen /tmp/nvimsocket. Page does seems to work as a manpage for instance but without any colored text and after opening nvim focuses on another split, i.e. I have to splits open one with nothing in it and the other a terminal after opening something with page my cursor is in the window with nothing in it.
So irregardless of what NVIM_LISTEN_ADDRESS is set to or if it is even set to something, something seems to go wrong with page for me.

Is it clear what exactly the bug is or do you still need more info?
Is this bug you reported  the cause?

For instance launching nvim with NVIM_LISTEN_ADDRESS unset: env NVIM_LISTEN_ADDRESS= nvim in nvim :echo v:servername will return /tmp/nvimnWij4Z/0which will be different if I launch nvim again.

That's right. But if you further launch :term and run echo $NVIM_LISTEN_ADDRESS on it then you will find that NVIM_LISTEN_ADDRESS is set and it's the same as v:servername value.
Here you can use page and nvr and they should connect to parent neovim process just fine without any /tmp/nvimsocket tweaks.
And yes, NVIM_LISTEN_ADDRESS has two purposes, that's confusing, and that's why they introduced --listen instead of one of them.

That way if NVIM_LISTEN_ADDRESS isn't set nvr will not know which socket to send stuff to if I understood correctly.

If it isn't set then both page and nvr will launch a new neovim process and will use it. Again, /tmp/nvimsocket in this case isn't required.
Having global NVIM_LISTEN_ADDRESS might have sense only if you want to keep a singe system-wide neovim instance that would be used by various clients like page and nvr from different terminals. For me this setup feels completely broken, so I don't see any sense in setting global NVIM_LISTEN_ADDRESS or in using --listen option. It probably was put in neovim-remote README only to explain how things work under the hood but this turned out to be only confusing for users.

after opening nvim focuses on another split, i.e. I have to splits open one with nothing in it and the other a terminal after opening something with page my cursor is in the window with nothing in it.

This is the bug and I've reported and I've fixed it already. Fix will be included in the next version of page which I hope to release soon (maybe even today)


CAMEL-13920: Allow using markup in option description

This is best way, I have found so far to allow lists in description. Please review and comment, if you see some better solution, because I feel, that adding \n to javadoc is somehow incorrect.

Thanks for the pull request, now it's a bit clearer for me to see what you're trying to fix.
Does prefixing table columns with a help to render those correctly? I seem to recall that if you wanted a table to contain Asciidoc content which in turn can contain HTML you needed to use syntax like:
|===
a| *markdown* or html
|===

Hmm that actually doesn't work, I've tried the example I provided and it renders the html verbatim.
Another option could be to take the JavaDoc content and convert it to Markdown in the Camel package Maven plugin. Perhaps using something like remark.

I was thinking about converting HTML to markdown too, but havent found a way get full javadoc in UpdateReadmeMojo, because the model in this mojo have already stripped html tags. As Claus mentioned in Jira, it is not safe to include HTML tags in json model description, but maybe we can add to model new attribute, which will contain description with tags? Or is there already a place, where it can be obtained, which I am missing?

Javadoc documentation is not as important as the website docs and tooling docs (eg spring boot metadata etc). So I am fine with formatting the source code so it render better on the website. I dont like having 2 set of description in the json file.

Perhaps we can go with this solution and then in a subsequent refinement try to modify the toolchain so that we get raw JavaDoc content including HTML in the Maven mojos so we can change format as needed: strip HTML for JSON catalog and convert to Markdown for Asciidoc files.

Agree. I will add few comments to mvel template regarding a prefix and then merge this after full local build.  Current solution relies on \n, which is suitable for lists, but it will not detect inline markups - e.g. links, these are still stripped out from javadoc in current solution. I will keep the jira open, so we can eventualy find a complete solution later. Thanks for your inputs.


sim: provide a signal constructor with an init_state

The current SignalSinkPort and SignalSourcePort have no ways to assign the init value of the state. Add a new constructor for them with the param init_state
Bug: 293410800
Test: boot to linux
Change-Id: Idde0a12aa0ddd0c9c599ef47059674fb12aa5d68
Reviewed-on: https://soc-sim-external-review.googlesource.com/c/gem5/gem5/+/13159
Gem5-Virtual-Platform-Presubmit-Ready: Johnny Ko<EMAIL_ADDRESS>Reviewed-by: Yu-hsin Wang<EMAIL_ADDRESS>Perf-Presubmit-Ready: Johnny Ko<EMAIL_ADDRESS>Gem5-Virtual-Platform-Verified: kokoro<EMAIL_ADDRESS>Perf-Verified: kokoro<EMAIL_ADDRESS>

Hello, I am not an expert in this part of the code, but it seems to me this commit is not only allowing the state to be passed at construction time, it is also making it percolate through the ports when bound together. It looks reasonable to me, I have two questions though:

Would it make sense to split the binding functionality in a separate commit under the same PR? Or at least to document this change in the PR description?
If we pass the state in the bind method, shall we reset it in the unbind?

@giactra I'm going to assign this PR to you. As a reminder, being assigned means that you are responsible to make sure that there is progress made on the PR and you can merge it when it's ready.
Thanks for the help!

Hello, I am not an expert in this part of the code, but it seems to me this commit is not only allowing the state to be passed at construction time, it is also making it percolate through the ports when bound together. It looks reasonable to me, I have two questions though:

Would it make sense to split the binding functionality in a separate commit under the same PR? Or at least to document this change in the PR description?

Hi, I have added more description in the 1st commit message.

If we pass the state in the bind method, shall we reset it in the unbind?

No needed. The unbind should not affect the value of the state. The state of source should be the same as the state of sink after bind. Before my change, it also works because both sides use default value as the init value of the state during their initialization. My change allows users to use their preferred value instead of default value.


Zach mackin patch 2

It looks like you are attempting to push a change to the template repository, for help with deploying your own website please start a new thread in the discussions.


SyntaxError: Invalid regular expression: /(?>[^

Hi there!
I'm trying to run AnnoSINE, but always I have same error, as above. I tried to use other sequences for testing.
The running command is in the /bin folder. Can anyone shed a light on it? Thankss
Error:
======================== Step 1 has been done ========================
================ Step 2: TSD identification has begun ================
/home/eniac/jordana/AnnoSINE/bin/TSD_Searcher.js:133
const FNA_PATTERN = new RegExp(FNA_HEAD_PATTERN + FNA_SEQUENCE_PATTERN, "g");
^
SyntaxError: Invalid regular expression: /(?>[^
]*
)(?[atcgATCG
]+)/: Invalid group
at new RegExp ()
at Object. (/home/eniac/jordana/AnnoSINE/bin/TSD_Searcher.js:133:21)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
Traceback (most recent call last):
File "AnnoSINE.py", line 1174, in
main_function()
File "AnnoSINE.py", line 1125, in main_function
process_tsd_output(input_genome_assembly_path, output_genome_assembly_path)
File "AnnoSINE.py", line 301, in process_tsd_output
with open(filename) as f2:
FileNotFoundError: [Errno 2] No such file or directory: '../Testing/output/Step2_tsd.txt'

I solved it! Apparently it was my node version. I updated it and it works.


Insufficient input parameters

The following code yields:

Insufficient input parameters

What am I doing wrong here? (Sorry if this is obvious... the docs are a bit sparse when using the python API).
import ludwig

model = ludwig.LudwigModel(
    model_definition={
        "input_features": [{"name": "text", "type": "text", "encoder": "rnn"}],
        "output_features": [{"name": "is_name", "type": "binary"}],
    }
)

positive = ["james", "ruth"]
negative = ["house", "flower"]

model.train(
    data_dict={
        "text": positive + negative,
        "is_name": [True] * len(positive) + [False] * len(negative),
    }
)

Can you provide the full stack trace please?

RuntimeError                              Traceback (most recent call last)
 in
12     data_dict={
13         "text": positive + negative,
---> 14         "is_name": [True] * len(positive) + [False] * len(negative),
15     }
16 )
~/env-airbud/lib/python3.7/site-packages/ludwig/api.py in train(self, data_df, data_train_df, data_validation_df, data_test_df, data_csv, data_train_csv, data_validation_csv, data_test_csv, data_hdf5, data_train_hdf5, data_validation_hdf5, data_test_hdf5, train_set_metadata_json, model_name, model_load_path, model_resume_path, skip_save_progress_weights, dataset_type, skip_save_processed_input, output_directory, gpus, gpu_fraction, random_seed, logging_level, debug, **kwargs)
467                 preprocessing_params=
468                 self.model_definition['preprocessing'],
--> 469                 random_seed=random_seed)
470
471         logging.info('Training set: {0}'.format(training_set.size))
~/env-airbud/lib/python3.7/site-packages/ludwig/data/preprocessing.py in preprocess_for_training(model_definition, dataset_type, data_df, data_train_df, data_validation_df, data_test_df, data_csv, data_train_csv, data_validation_csv, data_test_csv, data_hdf5, data_train_hdf5, data_validation_hdf5, data_test_hdf5, train_set_metadata_json, skip_save_processed_input, preprocessing_params, random_seed)
556
557     else:
--> 558         raise RuntimeError('Insufficient input parameters')
559
560     replace_text_feature_level(
RuntimeError: Insufficient input parameters

I see, so at the moment data_dict is not supported as a viable way to provide data to train() as you can see here. We will add it in next releases.
For the time being please first create a dataset with
dataset_df = pd.DataFrame({
    "text": positive + negative,
    "is_name": [True] * len(positive) + [False] * len(negative),
})

and then use it for training;
model.train(data_df=dataset_df)

A full example for your problem is the following:
import logging
import pandas as pd
from pprint import pprint

import ludwig

model = ludwig.LudwigModel(
    model_definition={
        "input_features": [{"name": "text", "level": "char", "type": "text", "encoder": "rnn"}],
        "output_features": [{"name": "is_name", "type": "binary"}],
        "training": {"epochs": 20}
    }
)

positive = ["james", "ruth"]
negative = ["house", "flower"]
dataset_df = pd.DataFrame({
    "text": positive + negative,
    "is_name": [True] * len(positive) + [False] * len(negative),
})

stats = model.train(
    data_train_df=dataset_df
)
pprint(stats)

I added level: char otherwise each single word is a token, plus I also reduced the number of epochs.
Make sure you are using the latest master commit version of Ludwig when trying it.
To install it first uninstall Ludwig, then:
pip install git+https://github.com/uber/ludwig.git@master


feat(clp-s): Add temporary output directory support to prepare for cloud integration

Description

The current chunk decompression of CLP-S requires first writting the output as a temporary file in the output directory and rename it. However, this strategy won't work in the cloud with S3 storage because there isn't a "rename" equivalent operation in S3. In order to "rename" a file, the file has to be deleted and uploaded with a new name. In addition, our current fuse layer doesn't support rename either.
In this PR, we implement a temp_output_dir strategy which is also used in CLP. If the temp-output-dir is specified, the output of chunk decompression will be first redirected to a temporary directory. The temporary output files are then renamed and moved to the destination output directory.
In cloud, we expect the temporary directory to be a directory on the local file system, and the output_directory will be pointing to a mounted path which handles write to S3.
Validation performed
Manually verified that output chunk files are being written to temporary output directory and then moved to the final output_directory

Summary by CodeRabbit

New Features

Introduced a temp-output-dir option for decompression, allowing users to specify a temporary output directory for ordered output files.
Enhanced error handling for directory creation and argument validation to improve clarity and user experience.

Bug Fixes

Improved validation checks to prevent misuse of the temp-output-dir option.

Documentation

Updated error messages for invalid arguments to provide clearer guidance to users.

@rabbitai review

Holding this back before discussing with Kirk

Decided that this does not need to go into Open source


SAGE MATH SUPPORT FOR VSCODE

I'd like to have vscode to support sage math. Like right now I can use python notebook in vscode maybe we can extend it to sage math's notebook too?

reference instead of doing that long manually, maybe something simpler?


Move all piping from pipeline.php to delegation

This is to provide a means for downstream consumers to use modules without requiring them to modify their current pipeline.
axleus-tooling will get new feature(s) to support this usage.

[ ] Tag 0.0.1 prior to starting this work.
[ ] Implement a pipeline delegator for handlers that includes all of our required middleware


HyperHDR stops responding, can't even terminate process

After a couple minutes, the webUI no longer works (404, page not found or, HyperHDR not running or Bad WLAN Connection.) The system tray icon sometimes allows for right clicking, but menu options don't work; Quit does nothing except sometimes remove the tray icon, but HyperHDR continues to run and eats up more and more memory. Trying to end the task does nothing, and trying to end the processes gets "Unable to terminate process, The operation could not be completed. Access is denied." The only solution is to restart my PC.
Happened with HyperHDR v<IP_ADDRESS>, which I uninstalled, deleted its directory from "programs" and the ".hyperhdr" one from appdata. Reinstalled but the problem persisted. Uninstalled that as well, and installed HyperHDR v<IP_ADDRESS> but that also had the same problem.
I'm attempting to get the logs but I can't access them through the webui.

This issue section assumes (unless it is a feature request) that if the user has a problem, he is able to provide the required details, including full logs, which are almost always necessary for error diagnosis. This is the minimum because the diagnostic process is usually tedious and experience shows that if the user is not patient enough to provide the minimum information that may lead to the problem, it is only a waste of time because at some point he will probably give up. So let's try not to make a trash here.
Here you didn't even provide information about what operating system you are using, which is a big obstacle because HyperHDR is used on many hardware and OS platforms. However, you can ask yourself whether if the application on any of them does not start at all, it is rather a problem with the user configuration or the application. I would suspect (again from experience) a lot of new reports, and there have been no such reports in recent years, either with version 20 or 19.
If you want, you can start a thread in the discussions section instead, because there the rules are looser and maybe someone from the community will come up with an idea,


Non-critical error after sync

[error] Gitlab failure: "namespace.route" can't be blank, "notification_email" can't be blank, "notification_email" is invalid

I guess this is for new users being created?
Which version of Gitlab are you running? (I've not tried this tool on 12 yet.)

Yes, it happens after users creation. I am testing it with GitLab 12.

I just ran this against our updated Gitlab 12 instances today. A single new user needed to be created, and did so without any problems.
Are you certain there are valid email addresses assigned to your LDAP users, and that this tool is reading them? If it encounters a user with a non-empty but invalidly formatted email address that could cause it, so if it only happens with one user I'd inspect their object attributes to ensure they're valid.

This error occurred to me as well. In my case it was the "ghost" user from gitlab that was causing it.
Try adding userNamesToIgnore: ["ghost"]. If it is not that, check the API logs.
I think, this tool should ignore the "ghost" by default, just as it does with the "root" user.

@beharbunjaku's change has been merged in if you'd like to try it out @frafra.


[Grid] Styles are missing after the gulp build

Steps

Install semantic ui 2.4.2 (npm i semantic-ui@latest)
Choose Automatic installation
Run gulp build from ./semantic folder

Expected Result
The ./dist/components folder should have grid.css as well as grid.min.css and the dist/semantic.css should have the CSS rule sets for the component Grid.
Actual Result
There's no grid.css in the dist/components/ folder and no CSS rule sets in dist/semantic.css
Version
2.4.2

There's probably 1/2 of the css is missing (accordion, card, checkbox, dimmer, etc). @sciyoshi maybe caused by some of the gulp changes caused this?

@giridharangm All good. Was trying to confirm your issue in more detail. Strange no one has picked it up already!

Node version? OS?
This works on Linux / Node v11.0.0 with no problems:
mkdir test && cd test && npm init && npm install semantic-ui@latest && npx gulp --cwd semantic clean && npx gulp --cwd semantic build

@ColinFrick Windows 10 x64 w/ both Node V10 and V11.
Also, if it's a fresh install, then the installation hangs at creating LESS files step

@giridharangm I also had the hanging problem but I updated to Node 10 and it was fine. It is currently a known issue. https://github.com/Semantic-Org/Semantic-UI/issues/6641

Fresh install works for me.  It was something in my semantic folder that was causing the issue.  I'm having some trouble identifying why.  I run on OSX and Ubuntu.  Node 11.  I do use yarn but the semantic installer was able to update my semantic folder fine.  I'm going with a fresh install.
I've attached my semantic folder if anyone wishes to investigate further.
@hammy2899 not sure the headline issue has been confirmed as a bug yet.
semantic.zip

Tried on WSL. Installation went fine (with audit errors) built the css (with grid.css). So, I guess it's just limited to Windows? :man_shrugging:

Issue related to https://github.com/Semantic-Org/Semantic-UI-LESS/issues/53
There is missing
@placeholder: 'default';
in theme.config file
which causes gulp build failure which is unfortunately not handled (exception is not caught but ignored)


The prelink and postlink commands are not being called

This issue was uncovered in realm/realm-js#361

Released as 1.7.2.


Autocomplete in other IDE?

Any options on getting autocomplete for this plugin in other IDE's ?
I try getting this to work in vs code or pycharm but no success atm.
Can you provide some informations how i can get this to work ?

Hi, i have only implemented a generator for sublime text:
https://github.com/20tab/UnrealEnginePython/blob/master/tools/generate_sublime_text_autocomplete.py
I think you can follow the same approach for visual studio code:
https://code.visualstudio.com/docs/editor/userdefinedsnippets

This approach probably won't work for Visual Studio Code, as it doesn't use pre-generated json files to drive autocompletion but instead uses JEDI https://github.com/davidhalter/jedi
The way forward would seem to be to embed JEDI in UEPython.


Fix zgit_tracking_merge for branches containing a slash.

If the branch contains a slash (for example, a/b), zgit_tracking_merge returns an invalid branch such as origin/b instead of origin/a/b.

:+1: awesome, ty


Ömer: welcome-to-js, 2

my fork of the exercises repo

Learning Objectives

🥚 Three Audiences: You can explain how a single file of code is used to communicate with 3 different audiences:

[ ] Developers: You can explain how code formatting, comments, logs and variable names make it easier (or harder!) for a developer to understand a program.
[ ] Computers: You can explain how a computer follows your instructions to store, read and modify data in program memory.
[ ] Users: You can explain how the computer creates a dynamic user experience by following different executions paths depending on user input.

🥚 Listening and Reading:
[ ] You can read code out loud, and understand your classmates when they read code to you. You don't need to understand how a program works to master these learning objectives!
[ ] Listening You can exactly re-write a program that a classmate has read
[ ] Reading You can read a program out loud and guide your classmates to re-write exactly the same code without them seeing the program. (every indentation, semi-colon, comment and spelling must be identical) to you, without seeing the program they are reading.
🥚 Static vs. Dynamic Analysis: You can explain and use these two ways of studying a program, each can help you understand different aspects of your code. To help understand this concept, the options panel in Study Lenses is organized into static and dynamic study options:
[ ] Static: Studying the text in a code file without running it. Some static study methods are creating a flowchart, analyzing variables, filling out a trace table, and drawing on code.
[ ] Dynamic: Running code and studying the computer's behavior. Some dynamic study methods are running code and reading console logs, using the trace button, and stepping through in the debugger or JS Tutor.
🥚 Analyzing Variables: You can list all the variables in a program, and answer these 5 questions for each variable:
[ ] Where is the variable declared?
[ ] What is the variable's scope?
[ ] Is the variable initialized with a value?
[ ] How many times is it's value used (read) in the program?
[ ] How many times is the variable assigned a new value?
[ ] What types are assigned to this variable during the program's execution?
[ ] 🐣 Imperative Programming: You can explain what the Imperative Programming paradigm is, and can explain how you know the programs in Welcome to JS are Imperative.
[ ] 🐣 Tracing Execution: You can complete a "steps" trace table and correct your table using console output from the "trace" button.
[ ] 🐣 Logging: You can tracing specific aspects of a program's execution and log them to the console.
[ ] 🐣 Completing Programs: You can successfully fill in blanks for a program when the missing words are provided, including distractors.
[ ] 🐣 Describing Programs: You can read a program and describe it with comments using to the methodology from /describing-programs: zooming out -> zooming in -> connections -> goals
🐣 Naming Variables: You can analyze how a variable is used in a program and give it two names:
[ ] Generic: You can give a generic name to a variable based on how it is used in the program.
[ ] Specific: You can give a specific name to a variable based on how it's used and the program's domain (the program's specific data and use-case).
[ ] 🐥 Constructing Programs: You can reconstruct a program's lines and indentation, successfully ignoring distractor lines.
[ ] 🐥 Modifying Programs: You can make small changes in a program to change it's behavior without breaking it.
[ ] 🐔 Stepping Through: You can pause a script in a step debugger, arrange the debugger, collapse extra panels, and step through a script written with Just Enough JS. At each point in execution you can make a prediction of the next line before executing, and can check your prediction using the scopes panel.
[ ] 🐔 Authoring Programs: Given starter code with labeled goals, you can write a small program to match specs (user stories + test cases).

Week 7
Check-In
I Need Help With:
_
What went well?

Revising and improving my JS info

What went less well?
_
Lessons Learned
Using prompt method
Sunday Prep Work
Reading the suggested study materials

Week 8
Check-In
I Need Help With:
 _

What went well?

Revising and improving my JS info

What went less well?
 _

Lessons Learned

I studied JS String and Array methods

Sunday Prep Work
Reading the suggested study materials


static rendering on server

I'm using react-sticky-table in a Gatsby project. At the building stage, when the site is statically rendered with "gatsby build" command, the process fails with error:
" WebpackError: navigator is not defined

index.js:198 new StickyTable
~/react-sticky-table/dist/index.js:198:1"

I'm not familiar with Gatsby or using React on the server. navigator is currently a necessary dependency used to detect firefox and avoid unusual behavior in it. It is a variable that isn't available as a global in node, it's provided by the browser. Sounds like a gatsby problem though - it should anticipate browser-defined globals. There may be a flag you can use to build it and ignore the undefined variable.


fix: NetworkNavMeshAgent Sends ClientRpcs To Owner - Leads to Unexpected Behavior #848

Suggestion for how to fix this unexpected behavior.
I could have generated the clientIds array (w/o the OwnerClientId) in the Update function but it seemed better to cache it.
Although, I am not sure my caching logic handles all scenarios where the cached ClientRpcParams should be updated.
#848

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

The connection callbacks won't run for clients when other clients join or leave. From reading the code, that would break this approach.
Am I missing something?

Perhaps it's best to just check !IsOwner in the ClientRpcs instead.

We will most likely have a better fix for this. NetworkNavMeshAgent shouldn't be using RPCs in the first place.

There are some problems in this PR in RPCs/ NetworkStart

The caching of RPC params is not a pattern which we want to promote. It is error prone and still causes a lot of allocations. We will need to deal with that properly and there is an issue which outlines some of the problems #545. I have linked this PR to that issue.
When subscribing in NetworkStart unsubscribing in destroy is not sufficient because an object can get spawned > despawned > spawned again without destroy being called. On the latest iteration of our develop branch we now have OnNetworkSpawn and OnNetworkDespawn to solve this.

I will close this PR as it has been stale for a while. We would welcome a contribution which just fixes the owner issue of #848 with a more simpler approach with owner checks instead of caching RPC parameters and subscribing to client connected callbacks.


Option to disable webassembly and webgl for security reasons : implement patch of Javascript JIT (block JIT and webassembly) , Webgl, Webrtc, viewport size protection, timezone override

Description
Impossible to disable completely risky webassembly wasm
Who's implementing?

[ ] I'm willing to implement this feature myself

The problem
Hello,  webgl and webassembly may be dangerous and risky :
https://github.com/stevespringett/disable-webassembly#security-considerations
https://security.stackexchange.com/questions/13799/is-webgl-a-security-concern
and I tested open source "Cromite browser" last version
https://github.com/uazo/cromite
and I discover these important settings in site settings : chrome://settings/content :
Javascript JIT(block JIT and webassembly)
Webgl,
Webrtc
viewport size protection
timezone override
Si, i can finallly disable easily and quickly webassembly and webgl without digging into the various complicated flags....
I hope these important patches will be added to our beloved Ungoogled-Chromium Browser please ! Thank you so much :)
Possible solutions
Implement features patches  from cromite browser to disable risky webassembly and webgl
Alternatives
No response
Additional context
No response

and I tested open source "Cromite browser" last version

License might be incompatible with ungoogled-chromium.

@PF4Public  We understand , thank you fir the clarifications :) the major problem, is webgl, it is easy to disable webgl with custon arguments, but webassmbly it is much  more complex complicated operation ti disable completely wasm and we don't even know it is possible to disable wasm in chromium browsers, that's why the only solution is to modify code source upstream of the browser....

You can apply those patches while building yourself. In that case licensing issue might arise only if you start distributing the resulting binary. I actually made this a possibility for Gentoo users if you're curious: https://github.com/PF4Public/gentoo-overlay/blob/a93fcfcfbf6d763b91e9a9230ae49effd65a09cf/www-client/ungoogled-chromium/ungoogled-chromium-119.0.6045.123_p1.ebuild#L420-L469

Unfortunately I'm not a developer, I don't know anything about software development...I'm a literary person but thank you for your help :) 👍 💯


Missing information about standard filter to use

Hi,
Please add how to use filters on the specific endpoints. The templateDisplayName filter, gives the possibility to get journals for journaltemplate other than the first found on the list.
Usage is like this below.
/journals?$filter=templateDisplayName eq ''
If there are other endpoints with same "hidden" vital knowledge about filters, please supply info on filters on these endpoints as well..
Thanks

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

ID: 777dff17-aad7-aaea-ec1e-a13635354d4a
Version Independent ID: 58cc61b0-64c1-fed4-7cbf-eca02d5700ab
Content: Get journals - Business Central
Content Source: dev-itpro/api-reference/v2.0/api/dynamics_journal_get.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hello, thanks for the feedback. We do have a topic on filtering, but it's not discoverable from the specific api topics. You can access it here: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-connect-apps-filtering. We'll move a couple of topics into the table of contents for easier access, with the next doc refresh. Thanks.

Hi,
But the link you refer to only gets around stand filtering, not the filters only visible in code?
Med venlig hilsen
Mads Westen

Fra: Susanne Windfeld Pedersen @.>
Sendt: Tuesday, May 24, 2022 3:53:36 PM
Til: MicrosoftDocs/dynamics365smb-devitpro-pb @.>
Cc: Mads Westen @.>; Author @.>
Emne: Re: [MicrosoftDocs/dynamics365smb-devitpro-pb] Missing information about standard filter to use (Issue #2356)
Hello, thanks for the feedback. We do have a topic on filtering, but it's not discoverable from the specific api topics. You can access it here: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-connect-apps-filtering. We'll move a couple of topics into the table of contents for easier access, with the next doc refresh. Thanks.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues/2356#issuecomment-1135959382, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKJCXFW7TH7RL3ICSSHE46TVLTNOBANCNFSM5WVW6UCA.
You are receiving this because you authored the thread.Message ID: @.***>

Getting back to this. The docs will be updated with the next doc refresh. The templateDisplayName filter is the only filter available. Thanks.


GH-180: Missing ReduceProd.

I am adding an implementation for ReduceProd (equivalent to TF's reduce_prod).
I am also surreptitiously including a little change to make TFShape automatically convertible to TFTensor whenever possible (in the same way that arrays are already convertible to TFTensor).
Accepting this PR should solve #180.

I like the changes.


Fatal error insert match data

Hello, everything was working, I tested a lot of matches, but then after another match I received this error, so match data wasn't saved to table matchzy_stats_matches:

But on init stage everything was ok, database connected successfully. Why this was happened and how to fix this?

Hey!
This seems like the connection to the database was broken hence you were getting this error.
I think there is nothing that can be done from plugin side.
Thanks!

Hey!
Closing this issue as the issue is with database and not with the plugin. Thanks!


Added some command line to CONTRIBUTING.md

Hey @Simply-Sujal that's a very minimal contribution, sorry but I won't be able to merge it
You can try to do something more to it <3


Clojure implementation

Hi @jbenet, I've implemented multihash in Clojure if you'd like to add it to the list in the README:
https://github.com/greglook/clj-multihash
The motivation was another project of mine which shares some ideas with IPFS. After reading through the spec and learning more about it, I think I may just drop the blob layer and use IPFS instead. :)

@greglook happy to! could you send a PR adding it?
and great! you can use the ipfs cli or http apis to use it directly from clj. be warned it's not perfect yet-- but getting there fast. drop by on irc for help with anything

closed via #3


Update version to 1.1.23-3 on staging

Update version to 1.1.23-3

🚀 Deployed to staging by @OSBotify in version: 1.1.23-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by @francoisl in version: 1.1.24-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update adopters list

Add Cloudera
Restore alphabetic ordering of some entries

"Fixes #issue-number" or "Add description of the problem this PR solves"
Proposed Changes

/assign @alexagriffith

@zoramt Thanks the adding !! Can you help add the cloudra logo ?

/lgtm
/approve


⚠ Spryr has degraded performance

In eb30232, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4764 ms

Resolved: Spryr performance has improved in 0f58943 after 21 minutes.


Remove treypiepmeier.com.

This code isn’t public anymore for the time being.

😭
Thanks for the update!


Release 2.19.1 (sync with @tabler/icons v2.4.0)

Synchronized with Version 2.4
I have upgraded the version just a little bit, my intention with this is that the version of the package will be the same as tabler-icons in the future.
If you do not agree with this, I can change the commit.

All fine, thank you!


Nodejs crud operations

Pull Request for WebMasterLog 💡
Issue Title: Added project named Crud-Operations in Node-JS-Project under Basic Category

Name of the project : CRUD-Operations
Category: NodeJS
Name: Abdul Hannan Chougle
GitHub ID: https://github.com/Hannan2004
Identify yourself: GSSOC

Closes: #137
Describe the add-ons or changes you've made 📃
I have added a project under Node-JS-Projects directory in the Basic subfolder. The project folder name is Crud-Operations. The app was developed using HTML, CSS, JavaScript ,NodeJS (Express). The database used to perform CRUD operations was MySQL database. The app UI is quite simple ,easy to use and of course easy to build as well. The app contains an input field to add a name and a description and a ADD button to add that name and description. Below this list a list renders which contains the added names and also 2 buttons to 'EDIT' and 'DELETE' the existing entry.
Type of change ☑

What sort of change have you made:

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested? ⚙
The Project was tested locally
Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Screenshots 📷

Note to reviewers 📄
I have added a CRUD-Operation projects it is working fine. It has no conflicts I have resolved all of them. Have made a new pull request.
Kindly go through it

Added the CRUD-Operations Project to the README.md file

Kindly review it


bower.json: allow AngularJS versions greater than 1.3.x.

Allows AngularJS 1.4 and upcoming versions in the 1.x range.

I will change the other repositories, thanks for the fix :)


Error

Does this occur consistently?
Repro steps:

Action: staticWebApps.activate
Error type: Error
Error Message: Canceled
Version: 0.12.2
OS: darwin
OS Release: 22.6.0
Product: Visual Studio Code
Product Version: 1.92.0
Language: pt-br

Call Stack
new C workbench.desktop.main.js:1889:52811
S.U workbench.desktop.main.js:1903:14672
V.<computed>.B.charCodeAt.I.CharCode.DollarSign.V.<computed> workbench.desktop.main.js:1903:11774
d.getSessions workbench.desktop.main.js:1889:65707
i.getSessions workbench.desktop.main.js:1881:14193
u workbench.desktop.main.js:1889:67321
u.$getSession workbench.desktop.main.js:1889:69007
S workbench.desktop.main.js:1903:14635
S.Q workbench.desktop.main.js:1903:14401
S.M workbench.desktop.main.js:1903:13434
S.L workbench.desktop.main.js:1903:12269
u.value workbench.desktop.main.js:1903:10964
o.B workbench.desktop.main.js:93:732
o.fire workbench.desktop.main.js:93:949
s.fire workbench.desktop.main.js:123:15085
K.onmessage workbench.desktop.main.js:1919:8198

Please provide repro steps

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Update exercise_solutions.md

Fix to fill missing values with the mean count from the corresponding species instead of using the full column mean.

Thanks!


Extension slow down GitHub Notifications search

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
[X] The bug happens after clearing extension cache. The "Clear cache" button below can also be found at the bottom of the options page.

Example URLs
https://github.com/notifications/beta?query=is%3Adone&query=is%3Adone+blabla
Extension version
22.4.1
Browser(s) used
Firefox 98.0.2
Description
I have hundreds subscriptions in the Done page.
If try to search and type in the filter field a random word and press enter, then it freezes with the Firefox popup:
"Refined GitHub" is slowing down Firefox. To speed up your browser, stop that extension. ...

If press stop, then it continues to search results,
Include in this issue:

[ ] Screenshots/video/gif demonstrating the bug, if it’s visual
[ ] Console errors, if any

Second, I just had this issue too.

FYI the banner may occasionally be wrong about the culprit. We can look into it though

this is happening to me too

Confirmed, it's likely getting stuck in a loop here:
https://github.com/refined-github/refined-github/blob/2ff6708a489f550878867ef9879b3a14644f1bc6/source/features/select-all-notifications-shortcut.tsx#L8-L11
I disabled select-all-notifications-shortcut for now so you shouldn't see this happening anymore (once your extension downloads the hotfix)
For a solution:

maybe we should just listen to the shortcut regularly and then click the checkbox with a regular $(checkbox).click() or something

We should do the same for any similarly-convoluted pieces of code, if any

I disabled select-all-notifications-shortcut for now so you shouldn't see this happening anymore (once your extension downloads the hotfix)

I don't know what is happened, but it started to work without update.

I don't know what is happened, but it started to work without update.

We have a hotfix mechanism that lets us disable troublesome features remotely, that's what happened 😉

hello, can the select-all-notifications feature be re-enabled now?