Support the Escape key for cancelling changes

It would be nice to have the editing dialogs closed on pressing the Escape key (as usually expected with dialogs)

Hi @asoltesz
I'm glad my plugin gives you so much ideas and we can definitely add some to improve the plugin!
Don't hesitate to submit your PR if you already have implemented some of them and I'll merge your PR into the project as soon as possible.
I'll take a look for this specific feature, escape key press is something interesting to add to the plugin
If you find the plugin helpful, take a minute to star it on Github and rate it 5 stars on http://www.redmine.org/plugins/redmine_issue_dynamic_edit 👍
Have a good day too

@Ilogeek Yes, dynamic_edit is a great productivity booster makes one enthusiastic. (thanks for the plugin BTW)
I would love to contribute, although I have nonexistent Ruby/Rails skills and limited in Javascript. I will take a look and see if I can implement this.


[CT-1162] Blueprint optional project ref statement parameter

Success Criteria:

Links to existing files in dbt-core that need to be updated
Net new files in dbt-core and why it needs new files
Potential "gotcha" implementations based on the above(think: if we update this file here, we have to update 100 files downstream)
pseudo-code snippets on initial approach for the above to make this functionality work

Progress Update
Question 1:  What do we need to do to make ref accept a project parameter?
Answer:  Nothing!  Currently, the ref argument accepts two arguments:

target_model_package
target_model_name

The logic exists within _process_refs_for_node
if len(ref) == 1:
    target_model_name = ref[0]
elif len(ref) == 2:
    target_model_package, target_model_name = ref

However, the projects are scoped to what we've defined in our packages.yml file as well as internal packages.  The upstream project is not a package though.  We don't need to have the project locally but just a representation of it, something like a pared-down manifest.json file.
Question 2:  What do we need to do then to resolve a reference to an upstream contract?
This is where it starts to get tricky.
The _process_refs_for_node function mentioned above will eventually call resolve_ref, which is a method on the Manifest class.  This eventually calls an internal object called ref_lookup, which is a pointer to a RefableLookup object on the manifest instance.  This object has a storage property that is populated from the nodes in the instantiated manifest
def populate(self, manifest):
    for node in manifest.nodes.values():
        self.add_node(node)

My guess is we don't want to include a "node" from an upstream project within the nodes in our manifest, as we don't want these to actually be run in our project's scope.  We simply need a way to resolve the appropriate references to the locations of those contract nodes.
So, what could be some possible implementations:

Could we alter the way we populate the ref_lookup?

def populate(self, manifest):
    for node in chain(manifest.nodes.values(), manifest.contracts_upstream.values()):
        self.add_node(node)

This assumes:

we create a contracts_upstream property in our manfiest

The Manifest dataclass would have to be updated to account for a new field (dbt/contracts/graph/manifest.py)
[WIP] - Still investigating other places where we'd have to update to accommodate for a change like this

it would be constructed very similarly to our nodes, in that each resource would be of the ManifestNode type.  Presumably, though, the structure for this would already have been created by the upstream project and we should just be able to leverage that during parse time.

contracts_upstream: MutableMapping[str, ManifestNode] = field(default_factory=dict)

Gotchas
Without making any changes to how this is populated, the names of each node would have to be unique across each project.  Otherwise, you'd run into scenarios where you would overwrite an existing node within the storage dictionary if it exists more than one time across each project.
This is how a node is added to the storage dictionary:
def add_node(self, node: ManifestNode):
    if node.resource_type in self._lookup_types:
        if node.name not in self.storage:
            self.storage[node.name] = {}
        self.storage[node.name][node.package_name] = node.unique_id

After your first answer to your open questions, let me know where I can help round out the answers

Internal slack feedback for the first attempt in this PR

Things that this makes me start thinking about:

Does this work if the upstream model has the same name as a model in the current project? What would need to change (this PR)?
How should the upstream project specify which models are public / ref'able?
What sort of error should the downstream project see when trying to ref a private model?
Should a "bad ref from other project" error be raised at parse time, or as the very first step during runtime? The former sounds better at first blush, but it would mean that you always need the full "export" artifact from the upstream project just to parse your own project (including dbt ls). I'm honestly not sure about this one!

Does this work if the upstream model has the same name as a model in the current project? What would need to change (https://github.com/dbt-labs/dbt-core/pull/3053)?

My first inclination is that this will work if an upstream model has the same name as one in the current project.  The reason being is how uniqueness is determined:
def _check_resource_uniqueness(
    manifest: Manifest,
    config: RuntimeConfig,
) -> None:
    names_resources: Dict[str, ManifestNode] = {}
    alias_resources: Dict[str, ManifestNode] = {}

    for resource, node in manifest.nodes.items():

This function iterates through the nodes property on the manifest.  This proposal creates an entirely new property, consumers on the manifest, which wouldn't be considered, at least in its current form, as dbt checks for uniqueness.

How should the upstream project specify which models are public / ref'able?

I really like @christineberger's suggestion in the original discussion where the developer explicitly defines what models to make public.  As an aside, I think the default here is false and it's up to the developer to opt-in to anything being made public.
models:
    # Model folder level
    +shared: true
    +except:
       - ref('my_model')
    # Sub-folder level
    staging:
       +shared: false

This configuration would share all models except for one's located in the staging folder.  This configuration would then be used to inform what actually makes it into a json file that a downstream project could consume.

What sort of error should the downstream project see when trying to ref a private model?

I think the same compilation error that you would get today if refing a model that doesn't exist in your own project.  We shouldn't even state that they're trying to ref a private model.
I think you should treat it as web services treat private resources.  For instance, I know the urls of private repos at my last company, but because I no longer have permission to view those, I'll receive 404s if I try directly navigating to those pages.  They exist!  But that doesn't mean I should have that information.

Another implementation thought I had is to add some more properties to our NodeConfig (or something in a higher parent class).  The idea being that these nodes that we're pulling in from upstream projects, are just that, nodes.  Shouldn't they live alongside the nodes that we've compiled from our project and other packages?  What could some other properties include that would delineate these from the others though?
- execute - This should have a default to True.  The thinking behind this is we need a way to identify nodes from contracts so we don't run them within our project's scope (unless given permission to do so by the upstream project)
- share - This would be used by whatever functions we develop to create the json artifact an upstream producer produces.
- is_contract - Pretty self explanatory
I think the downstream impacts of this approach are much greater than the initial implementation proposed using a ConsumerLookup but it may make more sense.


Handle newline in msg and empty msg

Using println() with a new line at the beginning of the message trigger some artifacts, see below:
newline_artifact.rs
use indicatif::ProgressBar;

fn main() {
    let pb = ProgressBar::new(1024);
    pb.inc(1);
    pb.println("\nShould be a new line before this message and no duplicate progress bar");
    pb.finish_with_message("done");
}

Output on main:

Output with this patch:

Using println() with an empty string does not trigger new line:
empty_msg.rs
use indicatif::ProgressBar;

fn main() {
    let pb = ProgressBar::new(1024);
    pb.inc(1);
    pb.println("");
    pb.println("There should an empty line before this message");
    pb.finish_with_message("done");
}

Output on main:

Output with this patch:

New test in render.rs showcase both issue

This makes sense to me, modulo the formatting issue found in CI.

I fixed the format issue


The orientation flag is not passed on puppeteer. Proposed fix.

Hey, thanks for this. I'm away from my computer for the weekend but from what I can see on my phone this looks good. I'll merge it once I get back 😄

I tweaked the commit and merged it to master with you as the author here: https://github.com/BlueHatbRit/mdpdf/commit/7778323d2993d296aadfe01021b2a3ec1b133c93 before I push it out. Right now it's set to<EMAIL_ADDRESS>as you haven't set a git email address locally, this means github won't link it through to your github profile.
Do you want me to edit the email address before I publish it? If so, what email are you using on yout github account?
Thanks again for the contribution!

Hi,
yes you are right, I did not set my email address locally.
Here is the email I use on github<EMAIL_ADDRESS>Thank you for pointing out and editing .
Best regards,
Christoph
Dipl.-Ing. Christoph Singewald
Inhaber,Leiter Entwicklung
Chenos e.U.
eingetragenes Einzelunternehmen, Inhaber: Dipl.-Ing. Christoph Singewald
FN 367789 t; FB-Gericht: Landessericht St.Pölten
Steinriegl 2
3451 Michelhausen
Tel.: +43 (0)<PHONE_NUMBER>9
E-Mail<EMAIL_ADDRESS>

Am 26.11.2019 um 11:51 schrieb Elliot Blackburn<EMAIL_ADDRESS>
I tweaked the commit and merged it to master with you as the author here: 7778323 before I push it out. Right now it's set to<EMAIL_ADDRESS>as you haven't set a git email address locally, this means github won't link it through to your github profile.

Do you want me to edit the email address before I publish it? If so, what email are you using on yout github account?
Thanks again for the contribution!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

That's fixed for you and is showing up in the commit log properly. Thanks for your contribution Christoph! 🚀 i'll do a release sometime today


What happens to unused components when you build?

I just had a quick question. I have a lot of components that I have made, some of which contain sensitive information, that I would not like to appear in a production build. Therefore, no component in my production build references them there are no links to them in my project.

When I run npm run build, do unused components also get built and added to the production build or is webpack smart enough to know that they shouldn't be included in the ultimate production build?

Thanks!
Andrew

Hi,
Create react app uses webpack to bundle your code and webpack will create the bundle according to your 'Import' statements. You need to check whether you have imported those unused components anywhere in your script files. If not, then you are safe. Webpack is not capable of doing tree shaking without external help from plugins like UglifyJS.

I think they probably should be tree-shaken(shook?), but I absolutely would not trust that they are. Webpack does its best, but it's not an easy problem. Ideally you'd just get sensitive things out of your source tree full stop, but if that isn't possible I'd say add some final step to your build stage where you grep for secret-y things in ./build before completing.


chore: Update assets

The current qdrant database contains the abstracts. Add Astropy's GitHub documentation and update the asset.
https://github.com/uw-ssec/tutorials-data

Uploaded:

arxiv-dataset.zip: Contains the entire arXiv dataset from Kaggle.
astro-ph-arXiv-abstracts.pkl: Pickled file that can be loaded into pandas dataframe. Contains all the abstracts with categories containing astro-ph
astropy-github.jsonl: Jsonlines file that contains parsed Astropy GitHub documentation as LangChain Documents
scipy_qdrant.zip: Zipped qdrant database that contains astro-ph abstracts and Astropy GitHub documentation with collection name as arxiv_astro-ph_abstracts_astropy_github_documentation


Cov

separated pb generated code into its own package
updated README to reflect new package name

Pull Request Test Coverage Report for Build 13

14 of 14 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+68.2%) to 96.774%

Totals

Change from base Build 10:
68.2%

Covered Lines:
60

Relevant Lines:
62

💛  - Coveralls

Pull Request Test Coverage Report for Build 13

14 of 14 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+68.2%) to 96.774%

Totals

Change from base Build 10:
68.2%

Covered Lines:
60

Relevant Lines:
62

💛  - Coveralls


Swap order of FitsFile and FitsHdu objects in method calls

The current API attaches most methods on the FitsHdu object, which in turn takes the FitsFile object as it's first parameter (to actually perform the changes).
This PR proposes the other way around, where all methods are attached to the FitsFile object, and take the FitsHdu object as a parameter.

This change is

In some ways, this is more natural as it reflects what is done when using the library from C. On the other hand, a lot of the methods make much more sense to be attached to the FitsHDU object.
One aspect I really like is the way of copying HDUs: fptr.copy(hdu).to(&mut dest).unwrap().

Example code changes (ignoring error handling):
// Writing image data (before)
let mut fptr = FitsFile::edit(...);
let hdu = fptr.hdu(0);
hdu.write_section(&mut fptr, 0, 100, &data);

// Writing image data (after)
let mut fptr = FitsFile::edit(...)
let hdu = fptr.hdu(0);
fptr.write_section(&hdu, 0, 100, &data);

This feels a little unnatural. I like the idea of separating behaviour, and the HDU performing the action. It's just slightly unfortunate that the FitsFile object has to be passed in each time.
One area I particularly think the change was better before, was with the FitsHdu::resize method:
// Image resizing (before)
let mut fptr = FitsFile::edit(...)
let hdu = fptr.hdu(0);
hdu.resize(&mut fptr, &[100, 100]);

// Image resizing (after)
let mut fptr = FitsFile::edit(...)
let hdu = fptr.hdu(0);
fptr.resize(&hdu, &[100, 100]);

I have decided to stick with the original API. Closing.


feat: Enable Token Retries

Should provide relief from all of the ECONNRESET flakiness we've seen recently.
🦕

@danielbankhead Hey, does this mark retryable 500, 503, 408, 429 as described in go/auth-correct-retry?

It’s missing 408 (the others are handled by default), however this service endpoint has severed connections causing ECONNRESET errors for us and customers. We needed a short-term fix until we’re unblocked rolling out the updated endpoints (the every other lang use):

https://github.com/googleapis/node-gtoken/pull/466

I’ll roll out the additional auth retry implementation here and in auth shortly.


Participants Page - Missing Participants

@decause the participants page doesn't show any of the participants, even though you've merged some of the pull requests.

@decause fixed by pushing to OpenShift


Selecting Celery yields an error when you try to run manage.py

I think it has something to do with the recent upgrade to Celery 4:
(myproject) Renes-MacBook-Pro:myproject acidjunk$ python manage.py migrate
Traceback (most recent call last):
  File "manage.py", line 29, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/acidjunk/.virtualenvs/myproject/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/Users/acidjunk/.virtualenvs/myproject/lib/python2.7/site-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/Users/acidjunk/.virtualenvs/myproject/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/acidjunk/.virtualenvs/myproject/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/Users/acidjunk/.virtualenvs/myproject/lib/python2.7/site-packages/django/apps/config.py", line 116, in create
    mod = import_module(mod_path)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/Users/acidjunk/GIT/odoo2magento/myproject/taskapp/celery.py", line 3, in <module>
    from celery import Celery
ImportError: cannot import name Celery

what is the output of:
pip freeze

@acidjunk, make sure you've installed all dependencies.

@luzfcb, you first :)

Why is celery on 4 even? There's still a pending PR with a discussion: https://github.com/pydanny/cookiecutter-django/pull/945

alabaster==0.7.10
amqp==2.1.4
appdirs==1.4.3
appnope==0.1.0
argon2-cffi==16.3.0
awesome-slugify==1.6.5
Babel==2.4.0
backports.shutil-get-terminal-size==1.0.0
billiard==<IP_ADDRESS>
celery==4.0.2
cffi==1.10.0
coverage==4.3.4
decorator==4.0.11
Django==1.10.7
django-allauth==0.31.0
django-braces==1.11.0
django-coverage-plugin==1.5.0
django-crispy-forms==1.6.1
django-debug-toolbar==1.7
django-environ==0.4.3
django-extensions==1.7.8
django-model-utils==3.0.0
django-redis==4.7.0
django-test-plus==1.0.17
docutils==0.13.1
enum34==1.1.6
factory-boy==2.8.1
Faker==0.7.11
imagesize==0.7.1
ipaddress==1.0.18
ipdb==0.10.2
ipython==5.3.0
ipython-genutils==0.2.0
Jinja2==2.9.6
kombu==4.0.2
MarkupSafe==1.0
oauthlib==2.0.2
olefile==0.44
packaging==16.8
pathlib2==2.2.1
pexpect==4.2.1
pickleshare==0.7.4
Pillow==4.1.0
prompt-toolkit==1.0.14
psycopg2==2.7.1
ptyprocess==0.5.1
py==1.4.33
pycparser==2.17
Pygments==2.2.0
pyparsing==2.2.0
pytest==3.0.7
pytest-django==3.1.2
pytest-sugar==0.8.0
python-dateutil==2.6.0
python-openid==2.2.5
pytz==2017.2
redis==2.10.5
regex==2017.4.23
requests==2.13.0
requests-oauthlib==0.8.0
scandir==1.5
simplegeneric==0.8.1
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.5.5
sqlparse==0.2.3
termcolor==1.1.0
traitlets==4.3.2
Unidecode==0.4.20
vine==1.1.3
wcwidth==0.1.7
Werkzeug==0.12.1

@acidjunk , @jayfk is right: You've got celery==4 which we don't officially support yet.

Just selected [y] when it asked do you want celery ;)

@acidjunk , are you using the latest master branch of cookiecutter-django?

yup.

@acidjunk , true, we've got Celery 4 in `./requirements/base.txt' as of now

'll Try with Celery 3.1.25.

@acidjunk , if the issue re-occurs, feel free to reopen the issue.

Damn, you're fast :)
Thanks. Hate to be the messenger but I think the issue was already in there (with 3.1.24 I've the same error)

@acidjunk Which version of Python are you on? FWIW, Cookiecutter Django only supports Python 3.

It was indeed related to Python2.
With 3 it works. Tested with Celery 3.1.24 and with Celery4.
Thanks for your support and keep up the good work.


Feature request: Make prompt templates customizable

I'd like to suggestion providing a way to customize the prompt template when user needed.
Here is the proposal:

Provide two ways to customize the prompt templates:

Check if the folder exists: $HOME/.config/codegpt/prompt_templates
If the folder exists, read the templates from the folder automatically.

Set codegpt.prompt_template_path config
codegpt config set codegpt.prompt_templates_path "$HOME/.config/codegpt/prompt_templates"

Recently, our team discussed this requirement, which will allow users to customize templates in the future and connect prompts based on the variables within the template.

Hi, is there any progress on this feature?
I also hope to be able to customize the prompt. It would be best to support user input for the commit message label because sometimes CodeGPT might provide an incorrect label.
I want to guide it to generate the correct commit message by manually specifying the label.


Unable to add a payment card for travel on iOS Chrome

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: Requires travel beta account
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @roryabraham
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1721182350726369
Action Performed:

Download the Chrome app for iOS
Go to https://new.expensify.com/travel
That should take you to travel.expensify.com
Sign in and go to your profile
Try to add a payment card

Expected Result:
You should be able to complete the form and add a payment card.
Actual Result:
At some point along the way, Chrome tries to save a password. Then the Save and Cancel buttons disappear and you can't complete the form.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop
[x] iOS: mWeb Chrome

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Hmmm, I can't repro the behavior. Going to close this out and we can reopen if others experience it again.


Why can't an action parameter be an array?

https://github.com/yiisoft/yii2/blob/master/framework/web/Controller.php#L134 determines that if you pass an array as an action parameter, this is considered invalid and will raise a BadRequestHttpException. Why is that? I can pass any other value, including objects, and it will be fine - the error is only raised in case of an array. This is a show stopper in JSON-RPC server implementations such as https://github.com/georgique/yii2-jsonrpc which need to be able to pass any JSON-compliant value as a parameter to actions.

Arrays are valid, you just need to specify the type.
public function actionTest(array $param)
{
}

I see, thanks, this worked. I was using a generic "echo" action to test my JSON-RPC client which had an untyped parameter. I added a special echo-array action for the array type. Still, I don't really understand what makes the array so special in this case...

This API is designed for handling regular web requests with params fetched from $_GET. In that case param may be either a scalar (as string) or array. In most cases array is not expected and may lead to exceptions or even create security issues, that is way explicit type in method signature is required for arrays. There is no special treatment for other non-scalar types, because there is no way that client could pass for example an object as $_GET.

Ok, thank you for the explanation!


Revised readme

Q
A

Bug fix?
no

New feature?
no

API breaks?
no

Deprecations?
no

License
Apache 2.0

What's in this PR?
Revamp of readme, added overview, architecture and quick start sections.
Why?
Readme was way outdated, referencing Banzai resources, etc..
To Do

[x] review some of the copy
[x] update contribution, security, etc to follow https://github.com/cisco-open/.github

Thanks for your reviews @pregnor and @panyuenlau

We now have standard issue and PR templates in cisco-open, I forgot that this repo is not under that organization (yet?). Deleting them would mean that they inherit those from cisco-open/.github. But that's not the case in this org, so now I've copied those templates from there.
I've committed the (valid) suggestions for the readme, but wanted to mention that this is a shortened, more concise version of the installation docs in the Calisti documentation, and I've copied most of the commands from there, so you may need to review that.

Thanks for your reviews @pregnor and @panyuenlau

We now have standard issue and PR templates in cisco-open, I forgot that this repo is not under that organization (yet?). Deleting them would mean that they inherit those from cisco-open/.github. But that's not the case in this org, so now I've copied those templates from there.
I've committed the (valid) suggestions for the readme, but wanted to mention that this is a shortened, more concise version of the installation docs in the Calisti documentation, and I've copied most of the commands from there, so you may need to review that.

Thanks for the context @martonsereg, I will take some time to update the Calisti documentation later this week


linux x86 upstream build NativeCore.so exception

x64 build works flawless, but x86 is displaying error msgbox in Release:
Failed to load native core functions! Couldnt find at location /home/foo/ReClass.NET-projects/ReClass.NET/build/Release/x86/NativeCore.so
and in Debug version:
Unhandled Exception:
System.IO.FileNotFoundException: Failed to load native core functions! Couldnt find at location /home/foo/ReClass.NET-projects/ReClass.NET/build/Debug/x86/NativeCore.so
at ReClassNET.Core.InternalCoreFunctions.Create () [0x0003e] in :0
at ReClassNET.Core.CoreFunctionsManager..ctor () [0x00013] in :0
at ReClassNET.Program.Main (System.String[] args) [0x000f0] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Failed to load native core functions!
Couldnt find at location /home/foo/ReClass.NET-projects/ReClass.NET/build/Debug/x86/NativeCore.so
at ReClassNET.Core.InternalCoreFunctions.Create () [0x0003e] in :0
at ReClassNET.Core.CoreFunctionsManager..ctor () [0x00013] in :0
at ReClassNET.Program.Main (System.String[] args) [0x000f0] in :0
NativeCore.so exists in both directories for build and debug x86. It is the same file as in the respective NativeCore/Unix/ x86 directories
#root@foo /h/f/R/R/b/D/x86 (master) [1]# file NativeCore.so
NativeCore.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, Build
ID[sha1]=4023686347f2ac70c5ff16d1403b613bb363fe2d, with debug_info, not stripped
Arch Linux with mono-msbuild 16.10.1.xamarinxplat.2<IP_ADDRESS>.00-3

solution was using the x64 NativeCore.so also for Reclass (x86)


Fix NullPointerException on QEMU

Iterate only if Enumeration is not null
Context
I'm working on a cross plateform CI using Docker and QEMU.
And when I tried to run a gradle build it fail with that error caused by a NPE  :
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine a usable local IP for this machine.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
/go/src/github.com/kuzzleio/sdk-go

This is due to the fact that my container runs inside a ARMV7 QEMU VM.
After applying this little fix and rebuild gradle,  I was able to build and run tests for my project inside .
Step to reproduce bug

Have docker installed on a AMD64 desktop.
Run docker run --rm --privileged multiarch/qemu-user-static:register to enable Docker QEMU support.


G910 Stuck lighting | bug

What are you experiencing an issue with?

[ ] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[x ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[x ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Just trying to run the default desktop software
Actual behavior:
So Ive just formatted my pc and reinstalled aurora (great program btw) and now for some reason the | key sticks to the last colour that the lgs software had it running at before aurora starts up
How often does this problem occur?
Every time since formatting, however i did do a firmware update on my g900 (mouse) after as well, and the lighting will go from keyboard to mouse but not the other way around since that update
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

the issue is persistent and has been do this since first startup of aurora,

What is the version of Aurora you are experiencing this issue with?

My version is beta v0.6.0b
Does the previous version of Aurora have this issue?
I did have this issue prior to reinstall but it went away after a few days no idea why sorry
Please include any logs, screenshots, or files that are related to this issue:

http://s000.tinyupload.com/index.php?file_id=10841787296114110377

Does anything change if you use the Solid Colour layer and select it to light that particular key? Does it change to the colour set for the layer?

It changes the colour if I'm using the lgs software but as soon a I minimise and aurora takes control it sticks again(to the colour I just set in lgs).
I'll try changing the layer on aurora, I'm away at work for the next few days, so I'll update when I get home. Thanks

Ok so i tried setting a solid colour layer on that key and the surrounding keys and it didn't work sadly.
Here a pic of what i did http://s000.tinyupload.com/index.php?file_id=88883813499348751344

What Keyboard layout have you selected? It seems you have a US keyboard but you don't have the US keyboard layout selected.

Wow so i changed it from auto select to us layout and it fixed it


Does not work if your livewire files are not in app/http/livewire

The suggested place for livewire component files after upgrading to v3 is app/livewire without the http. This extension fails to support that or provide any configuration to adapt to that scenario.

The extension is version 3 compatible.  I have had some issue with upgrading projects from v2 to v3 and things didn't work until I restarted VS Code and cleared some cache.  Not sure what causes the issue, but it was only temporary.  I use it daily on V3 projects.


Scale BOVS diagram once Draw button on BOVS Visualiser is clicked so that entire diagram is visible

@codemacabre - here are some BODS files to help with testing:

Example 1
Example 2
Example 3

Let me know if you need more.


Issue with Duplicate Modals Opening on Rapid Clicking of Edit/Add Buttons

Expected behavior
The modal should open only once when the edit/add button is clicked, regardless of the speed of clicking or hitting the enter key.
Steps to reproduce the issue
Click rapidly on the edit/add button of facilities/channels/tags/features/rules/groups.
Hit the enter key immediately after clicking the edit/add button.
Observe that the modal opens twice.
Environment details
App version : THRESHOLD-2.0-2C00FE9
App environment : DEV
Additional information
https://jam.dev/c/03017939-e514-4ffa-b093-21b6adf172f5

@Adameddy26
Following issue should be occuring in across all the apps. This issue is not app specific and hence should be tested across all the apps and create issues accordingly.

@Adameddy26 Following issue should be occuring in across all the apps. This issue is not app specific and hence should be tested across all the apps and create issues accordingly.

@Adameddy26 Please check on this and create issue in Dxp if applicable to all apps

Will recreate when users raises this issue.


Question : User Authentication

Hello,
I am very interested in your project as I wanted to start migrating some projet to Next13 and the app directory.
I was wondering how you handle the authentication as I am stuggling with that subject. I saw you removed the authentication in a previous commit. Why ? Have you got some ideas how to make it work ?
I am very interested to see how you will manage that, I'll folllow closely your work ;)
Thanks,

Hey @bfourgeaud this issue n NextAuth can help
https://github.com/nextauthjs/next-auth/issues/5647

@bfourgeaud I disabled authentication temporarily because of a bug with Prisma and the site was getting a lot of traffic. :)
I added authentication back now but we're still figuring out the issue with Prisma and Next.js.
You can check out how the authentication works. We're using NextAuth.js.

I'll have a look on NextAuth issue and how you handle that with the new server/client-components.
Thank you for your work, I'll close the "issue" as it isn't one ;)

what's the bug? @shadcn

@Geczy https://github.com/prisma/prisma/issues/16117

@shadcn, sry for bothering but I am having the same issue with authentication using NextAuth.Js (Github Provider). Everything works perfectly locally, but when I deployed to production, I received the following

I had the same configuration as yours, not sure if you had the same problem before.
Any help would be much appreciated! THX


Fix compiler crash

Fix #4477
Before this PR this code didn't work and cause segmentation fault as reported in issue #4477:
struct FFIBytes
    var ptr: Pointer[U8 val] = Pointer[U8].create()
    var length: USize = 0

    fun iso string(): String val =>
        recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end

actor Main
    new create(env: Env) =>
        env.out.print("nothing to see here")

Now, with the changes in this PR, here's what the compiler generates as an error:
Building builtin -> /home/slacturyx/Programming/Personal/Github/ponyc/packages/builtin
Building ./app -> /home/slacturyx/Programming/Personal/Github/ponyc/app
Error:
/home/slacturyx/Programming/Personal/Github/ponyc/app/app.pony:6:46: You can't consume an expression that isn't local. More specifically, you can only consume a local variable (a single lowercase identifier, with no dots) or a field of this (this followed by a dot and a single lowercase identifier).
        recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end
                                             ^
Error:
/home/slacturyx/Programming/Personal/Github/ponyc/app/app.pony:6:38: consuming a field is only allowed if it is reassigned in the same expression
        recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end
                                     ^
Error:
/home/slacturyx/Programming/Personal/Github/ponyc/app/app.pony:6:68: You can't consume an expression that isn't local. More specifically, you can only consume a local variable (a single lowercase identifier, with no dots) or a field of this (this followed by a dot and a single lowercase identifier).
        recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end
                                                                   ^
Error:
/home/slacturyx/Programming/Personal/Github/ponyc/app/app.pony:6:60: consuming a field is only allowed if it is reassigned in the same expression
        recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end

Hi @ArthurPV,
The changelog - fixed label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.
Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 4505.md to match the number of this pull request.
The basic format of the release notes (using markdown) should be:
## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.

I've updated the release notes.

Thanks for doing this!
@SeanTAllen updated the release notes, and we'll merge it after the CI checks have all passed.

Thanks @ArthurPV. This will get merged once CI passes.

@ArthurPV this will be released at the end of the month. The weekend of the 27th/28th. It will be in tonight's nightly as well.


fix(app): master is always checked out

This slipped through the cracks and caused the issue reported in #801.
Closes #801
/deploy

Quickly deployed this in my personal env to check everything is ok. And it is:

I will merge without waiting for the acceptance tests. It seems that a recent change to the helm chart needs the ci values for PRs to be updated but this has not happened yet.


Initializing flipster with click set to false and then scrolling by gesture will enable click again

My settings:
var flipster_settings = {
    itemContainer: 'ul',
    itemSelector: 'li',
    style: 'flat',
    spacing: 0.005,
    click: false
};

$element.flipster(flipster_settings);

As the title mentions. Scrolling by touch gesture will enable click-switching items again.

This repository is going into very-low-maintenance mode and declaring backlog bankruptcy


Define fonts

Fonts defined. Roboto Light and Medium https://www.google.com/fonts#QuickUsePlace:quickUse/Family:Roboto


"Copy a base64 string of the compressed config" translation bug

Information
Browser Info
Details
Description
The translation for "Copy a base64 string of the compressed config" will revert to English after clicked. Also, the "Copied" text isn't translatable.
Steps to reproduce
Scroll down to Download section and "click on the Copy a base64 string of the compressed config" link.
Expected behavior
Keep the translation after clicking.
Screenshots

Ah! Good catch. I think this logic is responsible for this:
https://github.com/digitalocean/nginxconfig.io/blob/479162576d291d2c930ba37cf322af56ff5dd307/src/nginxconfig/templates/setup.vue#L152-L175
Instead of setting originalText when this method is first called, we probably want to look at trying to store the original text right before the text change occurs (either in the existing success hook where it's changed to "copied", or in an earlier hook if ClipboardJS provides it).
And then the "copied" text just needs to use the translation API (this.$t) instead of being a plain string.

Replacing the text makes the whole sentence weird.

or, Copied, paste it in your server's command line and execute it.

Maybe It's better to show a tooltip instead. Like this.

@MattIPv4  I'd like to work on this issue. Please, can you assign it to me?

Sure thing :)


[feature] use php-only-language in php pattern

⭐ Suggestion
php language recently added php-only-language which does not need <?php
https://github.com/tree-sitter/tree-sitter-php/pull/180
💻 Use Cases
It can greatly reduce burden writing PHP pattern

I don't know if PHP users will try ast-grep. Plus one this issue so I can triage the precedence.

I don't know if PHP users will try ast-grep. Plus one this issue so I can triage the precedence.

The <?php use case would be more than without it?


Using snmp engine id as alternative to ip for traps

Lets SNMP v3 Context Engine ID be used to look up devices in addition to the sending IP when processing a trap.
Closes #558

Tested with
 snmptrap -e<PHONE_NUMBER> -v 3 -E 0xffffffffff -u myuser -a MD5 -A mypassword -l authNoPriv <IP_ADDRESS>:1620 '' <IP_ADDRESS>.4.1.8<IP_ADDRESS>.1 <IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.5.22.33 i 123456

And a device with engine_id: ff:ff:ff:ff:ff


pubsub subscription delete hanging in 0.34

I'm trying to delete the subscription before exiting my service but it hangs forever.
I didn't see any way of turning on debug so I am not sure what requests and responses are sent.
The subscription is created when subscribing so no other subscribers exists on the subscription.
Any ideas on what I can try next?
var pubsub = gcloud.pubsub({
    keyFilename: config.get('GCLOUD_APPLICATION_CREDENTIALS'),
    projectId: config.get('GCLOUD_PROJECT')
});
var topic = pubsub.topic(config.get("TOPIC_NAME"));

topic.subscribe(config.get("SUBSCRIPTION_NAME"), {
    autoAck: true,
    reuseExisting: true
}, function(err, sub) {
    if (err) {
        return cb(err);
    }
    subscription = sub;
    // Listen to and handle message and error events
    subscription.on('message', handleMessage);
    subscription.on('error', handleError);

    console.log('Listening to ' + config.get("TOPIC_NAME") +
        ' with subscription ' + config.get("SUBSCRIPTION_NAME"));
});

function handleMessage(message) {
    console.log("Got pubsub message:\n", message.data);
}

function handleError(err) {
    console.error(err);
}

function unsubscribe() {
  if (subscription) {
    // Remove event listeners
    console.log("Deleting subscription: ", subscription.name);
    subscription.delete(function(err, apiResponse) {
      console.log("In delete subscription got:", err, apiResponse);
    });
  }
}

When calling the unsubscribe function the callback is never called.

I got it to work when changing the way I quit the service. I am using readline where I called unsubscribe() and pause() from catching the SIGINT signal and by moving the readline.pause() to the callback to delete() it works.

Cool, thanks for sharing the fix.
(related: #1309)


No need to send user_id with the invoices API

User should be known, based on the token.

Fixed in v5


Bugfix: empty response body to json should not fail

Similar to Laravel's Http Client Response, the json() method on a response should not throw an exception when the body is empty.

Thank you!


Update JSONCallback.java

This change supports datetimes in different timezone.
You can insert for example this document:
String o = "{"
+ ""fdata" : {$date: "2011-11-21T14:30:00.123-0400"},"
+ ""fdat2" : {$date: "2011-11-21T14:30:00.123Z"},"
+ ""fdat3" : {$date: "2011-11-21T14:30:00-0400"},"
+ ""fdat4" : {$date: "2011-11-21T14:30:00Z"}"
+ "}";
DBObject dbo = (DBObject)JSON.parse(o.toString());
coll.insert(dbo);
and obtain four dates.

Hi, apologies for not coming back to this ticket sooner.  As you may be aware much has changed in the codebase with the new and improved 3.x series.  This ticket can no longer be merged, so its being closed.
I'm pleased to let you know 3.x now supports timezones in json strings!


Monit 34005: Fix crash on bad URL config

https://jira.eng.vmware.com/browse/MONIT-34005

@laullon , I'm seeing
Failed to execute goal com.cosium.code:git-code-format-maven-plugin:3.3:validate-code-format (default-cli) on project
proxy: /home/runner/work/wavefront-proxy/wavefront-
proxy/proxy/src/main/java/com/wavefront/agent/ProxySendConfigScheduler.java is not correctly formatted !

on java11 build, even after reformatting. This is causing the java 11 build to fail.


chore(otel-node): update resource detectors

Bump the version and for some of them move the the sync version of the detectors.
Closes: #329

@david-luna Any particular reason this is still in draft?

@david-luna Any particular reason this is still in draft?

see the comment https://github.com/elastic/elastic-otel-node/issues/329#issuecomment-2296605560

After the discussion in https://github.com/elastic/apm-nodejs-dev/issues/53 we (the nodejs team) decided to let dependabot take care of these updates.


Fixed logger crash

I got a weird crash and fixed it. It is related to the matplotlib backend. Somebody had a similar problem and proposed the patch on stack overflow.
Have a nice day!
#https://stackoverflow.com/questions/49921721/runtimeerror-main-thread-is-not-in-main-loop-with-matplotlib-and-flask
sh configs/cifar_experiment_quick.sh
Training:  66%|██████████████████████████████████████████████████████▊                            | 33/50 [15:05<07:42, 27.19s/it, epoch=32, loss_avg=-.728, accuracy=50.6]Exception ignored in: <function Image.del at 0x7ff08d00d160>
Traceback (most recent call last):
File "/home/raphael/anaconda3/envs/simsiam/lib/python3.8/tkinter/init.py", line 4014, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.del at 0x7ff08d00d160>
Traceback (most recent call last):
File "/home/raphael/anaconda3/envs/simsiam/lib/python3.8/tkinter/init.py", line 4014, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.del at 0x7ff08d00d160>
Traceback (most recent call last):
File "/home/raphael/anaconda3/envs/simsiam/lib/python3.8/tkinter/init.py", line 4014, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.del at 0x7ff08d00d160>
Traceback (most recent call last):
File "/home/raphael/anaconda3/envs/simsiam/lib/python3.8/tkinter/init.py", line 4014, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.del at 0x7ff08d00d160>
Traceback (most recent call last):
File "/home/raphael/anaconda3/envs/simsiam/lib/python3.8/tkinter/init.py", line 4014, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <function Image.del at 0x7ff08d00d160>
Traceback (most recent call last):
File "/home/raphael/anaconda3/envs/simsiam/lib/python3.8/tkinter/init.py", line 4014, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
Aborted (core dumped)

Thanks!


Update JSON document example

[Enter feedback here]
Would it be helpful to update the JSON example document and add '[', ']' characters to specify JSON array as well as commas to split different JSON company datasets?

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

ID: 9dad308d-58b5-79db-ab11-ebf3aeee3e94
Version Independent ID: 5a28dc38-39c8-3e58-9ae2-52a6345e6442
Content: Flatten transformation in mapping data flow - Azure Data Factory
Content Source: articles/data-factory/data-flow-flatten.md
Service: data-factory
GitHub Login: @kromerm
Microsoft Alias: makromer

@NrgFly Thanks for your contribution, I've addressed this issue in PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/107226
The changes should be live EOD or tomorrow. We will now close this issue. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.


Model of 'rnn.tflearn'

Hi,
I have the new issue of your rnn_train.py. I believe it's in 27 line: model.load('checkpoints/rnn.tflearn')
I have checked all of codes and didn't find where does this model be created. Because when I was running rnn_train.py file, It's gaving me error which is about unsuccessful TensorSliceReader constructor: Failed to find any matching files for /.../checkpoints/rnn.tflearn.
Please help me with how to deal with this problem.
Thanks

Did you create the "checkpoints" folder in the root directory. Its there in the Readme

I did create the 'checkpoints' folder before running run_train.py.
Can you tell me which code create model of rnn.tflearn? Cause I didn't find it

I solved this problem by deleting the 27th line in rnn_train.

That line was for when you have already trained the model and wanted to retrain it.
Also i have pushed the fix


Async ActionResult Json Deserialization

In the example it shows the recommended use with a web api controller using ActionResult<T> which works great. However, I'm noticing when I try to use an async web api ActionResult, for example:
public async Task<ActionResult<TodoItem>> Create(TodoItem item)
NSwag Studio will generate an associated object of ActionResultOfTodoItem which seems is not able to deserialize.
Below is part of the generate code from NSwag Studio that is trying to deserialize the response data tha comes from an public async Task<ActionResult<List<ProductDto>>> GetAsync() end point:
var status_ = ((int)response_.StatusCode).ToString();
if (status_ == "200")
{
var responseData_ = response_.Content == null ? null : await response_.Content.ReadAsStringAsync().ConfigureAwait(false);
var result_ = default(ActionResultOfListOfProductDto);
try
{
result_ = Newtonsoft.Json.JsonConvert.DeserializeObject<ActionResultOfListOfProductDto>(responseData_, settings.Value);
return new SwaggerResponse<ActionResultOfListOfProductDto>((int)response.StatusCode, headers_, result_);
}
catch (System.Exception exception_)
{
throw new SwaggerException("Could not deserialize the response body.", (int)response_.StatusCode, responseData_, headers_, exception_);
}
}

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

ID: 2483813a-3c16-7ddd-3160-43e6843b55d4
Version Independent ID: 25f7fb5b-92b0-a45b-57ab-fdceab571884
Content: Get started with NSwag and ASP.NET Core
Content Source: aspnetcore/tutorials/getting-started-with-NSwag.md
Product: asp.net-core
GitHub Login: @zuckerthoben
Microsoft Alias: scaddie

defining the type, like below, on the api controller's action result resolves the issue i was having above:
[SwaggerResponse("200", typeof(Person))]

If this is not yet fixed, I think this fixed it: https://github.com/RSuter/NSwag/pull/1396

You're correct. that PR has resolved the issue. However, I'm coming across the same issue with custom classes using T. For example, blow is a PaginatedList extension I use to return a sub set of items. When returning this type from a web api end point, the same issue occurs: PaginatedListOfTodoItem
In NSwagStudio I did consider change the generic response type for an arry from System.Collections.ObjectModel.ObservableCollection to PaginatedList but I don't believe that would be a good solution?
Do you have any other recommendations?
Thanks again
TodoItemController
public async Task<ActionResult<PaginatedList<TodoItem>>> GetAsync([FromBody]TodoItemRequestDto dto)
{

}

PaginatedList.cs
public class PaginatedList<T> : List<T>
    {
        public PaginatedList(IEnumerable<T> items, int count, int pageIndex, int pageSize)
        {
            PageIndex = pageIndex;
            TotalPages = (int)Math.Ceiling(count / (double)pageSize);
            AddRange(items);
        }

        public int PageIndex { get; private set; }
        public int TotalPages { get; private set; }
        public bool HasPreviousPage => (PageIndex > 1);
        public bool HasNextPage => (PageIndex < TotalPages);
    }

Generating PaginatedListOfTodoItem is by design, because Swagger/OpenAPI and it's underlying JSON Schema does not support generics, for more info, see: https://github.com/RSuter/NJsonSchema/issues/23


fix/gym_robotics

Use GoalEnv from gym_robotics (see https://github.com/openai/gym/pull/2516)

Hmm, not as easy as we thought...
Maybe you'll figure out a solution easily.
Also this doesn't look right:
https://github.com/Farama-Foundation/gym-robotics/blob/main/setup.py#L25

Hi,
Thank you for the suggestion!
I don't have permission to push on you PR branch, so I'll just merge this and try to fix it afterwards. I can see 3 ways to deal with this:

install gym_robotics from their master, rather than pypi
require gym version 0.21 (prior to the change), like it is done in StableBaselines3
don't subclass GoalEnv anymore, but just implement the compute_rewards method.

Solution 1 worked :)


GMail Authentication

I have noticed that in logging in your E-mail in GMail. You can either use the one that has a dot and the one that don't have one for example:
<EMAIL_ADDRESS>or<EMAIL_ADDRESS>I registered one of the E-mails above lets say the one without a dot. I tried to log in using the one with a dot, basically the authentication fails. But it's the same E-mail so I guess the authentication should not fail. Is there a way to fix this without using other columns of the user?

Those are different email addresses, which apparently gmail sends to the same email box (? I hadn't known this, but I take your word), but not all email providers treat periods as inconsequential. I don't think it would be appropriate for Sorcery to automatically do anything different here. Those are different email addresses.
But as sorcery is just building blocks for auth, it wouldn't be too hard for your to implement this in your app if you want. Write your own code to "normalize" an email address. Write a method that takes an email address as a string, and if it ends in @gmail.com remove all periods from the part before the @, and return the normalized version. When saving the username in the User record, save the normalized version. When checking a login with the login method, again normalize the email address the user has entered, and pass in the normalized version to login.

This is a sticky issue with g-mail for any auth system. G-mail basically ignores '.' in e-mail addresses<EMAIL_ADDRESS>and<EMAIL_ADDRESS>are not considered to be different addresses by google. Other mail providers treat '.' differently.
I'm of the opinion that this should perhaps be either an optional feature, or just implemented by application using sorcery.

For the mean time I'll implement  the "normalization" said by @jrochkind but it would be great if this is going to be a optional feature of Sorcery so that you won't need to do the "normalization" every time.

Personally I like that Sorcery stays generic building-blocks, and doesn't try to include every edge-case feature for every possible situation, but instead tries to keep it very easy for you to add what you need yourself.  Trying to add features to handle email-provider-specific features like this -- that way lies Devise I think.  (I wonder if this feature is already in Devise? There's a reason someone chooses Sorcery over Devise....)


[FLINK-29928][runtime, state] Share RocksDB memory across TM slots

What is the purpose of the change
The memory shared is BlockCache and WriteBufferManager.

The motivation is to allow more flexible memory distribution among tasks while still capping RocksDB memory usage.

Verifying this change

end-to-end: TaskManagerWideRocksDbMemorySharingITCase using rocksdb metrics
unit tests: RocksDBSharedResourcesFactoryTest, TaskExecutorTest.testSharedResourcesLifecycle

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? auto-generated docs for a configuration parameter + 1 note

Rebased and resolved the conflict.
@AlanConfluent do you have any further feedback?

Thanks for the review!
Merged into master as 3b6d08e57f644cddcdac1fb5a110d44172652c3a.


tortoise: add test case for out of order layer

Motivation
Tortoise can't handle an out-of-order layer without reloading votes from all layer past out-of-order layer.
If we want to support such use case we need to re-process blocks from all layers after the one that is out of order.
Closes #

Changes

Test Plan

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors merge

bors merge


unit tests do not pass with on disk database

The unit tests are based on a connection to in-memory sqlite3, and break with on disk sqlite3 or PostgreSQL. Would it be a sensible effort to make the tests pass for those as well?

This could be modified by using pytest's tmp_path fixture to create a new database URI for each test in the app fixture. But there's not really a point, the tests use an in-memory database for speed and convenience. They shouldn't be dependent on how the database is configured because that's SQLAlchemy's job to abstract.


Error in inference.py

from utils import preprocess_image
I tried to use inference.py but faced followig error
ImportError: cannot import name 'preprocess_image'
How can I fix this error?

Hi @HirakuShibuya , thanks, it's due to missing some code.

Thank you and I confirmed the changes.


Change default theme to Dark

I'm changing the default theme to Dark because I prefer it for this, though it does make sense for the default to be OS.
FYI @Gerrit0

Actually, OS makes too much sense. Closing.

Hey, I went through this exact same thing earlier today XD


Epdcs 1038 perfomance scripting

One-line summary

Zalando ticket : ARUHA-XXX (only if appropriate)

Description
A few sentences describing the overall goals of the pull request's
commits.
Review

[ ] Tests
[ ] Documentation

Deployment Notes
These should highlight any db migrations, feature toggles, etc.

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


Update pip package

Hi @niemeyer ,
it will be nice if you could update package on PyPi.
Best regards
Sébastien

Pinging @niemeyer

Hi @scls19fr and @niemeyer
It would be great if the improvements in this repository could be released on PyPI! However as far as I can tell, this repo is a fork of the original package, without engagement by @niemeyer or privs to update on PyPI.
It seems like the easiest path forward would be for @niemeyer to add @scls19fr as a maintainer (or owner) on PyPI.  do that, @niemeyer logs in at https://pypi.python.org/ then navigate to the python-constraint package, click roles and add scls19fr.
If @niemeyer is unresponsive, then @scls19fr could file a support request at https://sourceforge.net/p/pypi/support-requests/ to have the package ownership transferred. Naturally this should only be after exhausting all options to communicate with @niemeyer. Alternatively @scls19fr could register a forked name on PyPI such as python-constraint2, but that's less desirable because it's confusing to users.
What do you think?

I'd prefer not to register a "python-constraint2" under PyPI.

Coming back to this after a long time, just sent email to @niemeyer to see if we can get this unstuck:

Hi Gustavo,
Would you consider adding scls19fr as a maintainer on PyPI so he could upload new versions?
https://github.com/python-constraint/python-constraint/issues/10#issuecomment-257582226
Thanks,
Aron

Worked. :)

Getting this error when trying to add you to python-constraint in pypi:
Error processing form

user doesn't exist

This was with scls19fr, as suggested above. What's your username there, @scls19fr?

@niemeyer Thanks so much for jumping in. :-)
It would be better if @scls19fr confirms, but I can see at https://pypi.python.org/pypi/pandas_degreedays/ that his username on PyPI is "scls"

Hi @niemeyer , hi @agriffis
@agriffis is right my username on PyPi is scls
On the GitHub side @niemeyer is collaborator with admin rights and @agriffis is member
Invitations are sent via email and can be accepted at https://github.com/python-constraint
Kind regards

@scls19fr You're in as maintainer in pypi. Please let me know if I can help further.

Thanks @niemeyer
@agriffis I will try to upload a newer version ... but it will be only in the end of march or beginning of april
because I'm quite busy these days.

1.3 release published on PyPi.
Thanks @agriffis and @niemeyer


docs/filesystem: document state overlays

This works fine now and is another alternative to solving the /opt problem.

xref: https://github.com/ostreedev/ostree-rs-ext/issues/607#issuecomment-1973476187
xref: https://github.com/coreos/fedora-coreos-tracker/issues/1681#issuecomment-2211137520


Error when Updating the skillset (01-azure-search)

Does the lab need to be updated? Following the steps for modify-search in 01-azure-search I get the error:

Updating the skillset...
{"error":{"code":"","message":"Provided key is not a valid CognitiveServices type key for the region of your search service."}}
Waiting for 0 seconds, press CTRL+C to quit ...

Both the keys in skillset.json and modify-search.cmd are identical and taken from here:

Hi @Turochamp , I had the same issue, please note that the key in skillset.json is not the same as the key in modify-search.cmd. The key in skillset.json comes from your Azure AI Multiservices Account/Keys and Endpoints.
Update the value in skillset.json with the right key and it should work.

Thanks @carlosarturoceron! That solved the issue.

This one does not work. Even after adding right key, indexer is not adding up new Fields. Tried multiple time with no success, however execution of modify-search.cmd goes fine without any issue or error. It seems there is error in code or i am not sure. I have updated index.json, indexer.json and skillset.json with no success.
Curious question, how will cognitive multi service account will point to right ai search for skill set by just using key (we are not feeing endpoint detail anywhere for multi service account)

I hit the same issue as above.  The skillset.json dont have any key fields.  When I try to add the key field in the json, i hit error as . How to resolve above problem?

I had the same problem, for some reason i didn't know, the solution for me was to change the region of the resource group(it was on eastus) and that solve the problem


show table of contents menu #3785

a "leaf" section is one that does not contain a section, not one that is "level 1". for example the ToC for the charting tutorial should be like:

ok, if we should check if a section contains child sections i get the following result for the charting tutorial

sections 1 and 2 are not collapsed because they have subsections

you are right this isn't working out as intended. canceling it, sorry.


Is it productive?

Hi! Guy. Is this library productive?
And there is a error when build this demo.
error: no such file or directory: NEKit/src/IPStack/DirectUDPStack.swift

Not yet. But probably in two weeks.
This will be fix soon. Just have been too busy lately.

On Jun 29, 2016, at 10:23, 浮生<EMAIL_ADDRESS>wrote:
Hi! Guy. Is this library productive?
And there is a error when build this demo.
error: no such file or directory: NEKit/src/IPStack/DirectUDPStack.swift
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/zhuhaow/NEKit/issues/1, or mute the thread https://github.com/notifications/unsubscribe/ABOmLOnE1OUMlzgVX2X_8x5n_tWEoT4fks5qQdcigaJpZM4JAtls.

@zhuhaow Still have lot of thing to do! I have  find some issues.... Waitting for you to solve them.

Please use Gitter to talk about this.


Knowing the Way

What is the true path one should follow for VOD? Is it this repo, or is https://github.com/awslabs/video-on-demand-on-aws?

Please use the VOD on AWS solution for running transcoding jobs/transcoding workflows. The repo here is meant to be a tutorial on how to automate MediaConvert jobs. The progress and monitoring tools in this repo can be used in conjunction with your VOD workflows using the VOD on AWS solution.


[To Do] Output more detail on the error event

I'm going to have to play with this to see what's possible, since compiling will potentially break this
Allow an option for the user to get back the call chain, the object name, and/or the text of the line that broke.


Laboratory work #2, Taisia Solareva - 21FPL2

Please, fix CI - unittests and e.t.c

You have to fix unittests


Consider retry when BuildJobs failed due to IO (file storage) issue.

We should consider improve robust (for instance, retry) for certain IO file storage exceptions.  Such as, below.
System.IO.IOException: The device is not ready.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path, String searchPattern)
   at System.IO.Abstractions.DirectoryWrapper.GetFiles(String path, String searchPattern)
   at Kudu.Core.Infrastructure.FileSystemHelpers.GetFiles(String path, String pattern)
   at Kudu.Core.Jobs.ContinuousJobsManager.UpdateDetailedStatus(ContinuousJob job, String jobsSpecificDataPath)
   at Kudu.Core.Jobs.ContinuousJobsManager.UpdateJob(ContinuousJob job)
   at Kudu.Core.Jobs.JobsManagerBase`1.BuildJob(DirectoryInfoBase jobDirectory, Boolean nullJobOnError)
   at Kudu.Core.Jobs.ContinuousJobsManager.GetJob(String jobName)
   at Kudu.Core.Jobs.ContinuousJobsManager.OnJobChanged(String jobName)
   at Kudu.Core.Jobs.JobsManagerBase`1.OnJobChanged(String jobName)
   at Kudu.Core.Jobs.JobsFileWatcher.OnMakeChanges(Object state)

System.IO.InternalBufferOverflowException: Too many changes at once in directory:D:\home\site\wwwroot\App_Data\jobs\continuous

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


#18 fix aggregated total count

@Weakky Can you review this one?

Hey there 👋
I'm gonna first merge #17, then do your work myself to prevent you from rebasing your work on top of it.
It should be done by the end of the day

Done!

@Weakky Awesome! It works, thanks. Let me know if there's anything to help you with. I'd be glad to collaborate.


Fixed compile problem due to missing parens

Someone already pr'ed this change. I'll likely merge it tonight if I get time. Otherwise yell at me so I remember.


Update of the TrustyAI version in the Jupyter TrustyAI notebook

The version of the TrustyAI package in the N-1 (2023b) image is actually 0.6.0 for some time already, see [1].
[1] https://issues.redhat.com/browse/RHOAIENG-4027

Does this need any backports into the other upstream branches?
This needs to be aligned also in downstream in following branches: main, rhoai-2.12, rhoai-2.10 (technically also rhoai-2.11, but we don't care probably anymore).

Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

/override ci/prow/images
I don't believe we need these for such change, though, I expect that bot will tell me I don't have rights to do the above action.

prow/images build in every PR  if we are in hurry we can override them


11/1/2024 - Extension no longer launching in WvW

Tested 11/1 WvW Rush Event seemed to have broken the extension with the update after also updating arcdps.
Reset position/Reset settings/Untick/Tick Extension Option tested, no response from extension.

Will require me to write an update, hopefully this weekend

Will require me to write an update, hopefully this weekend


fix ms.topic value

/cc @dend

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

officedocs-dev-excel-pia/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Formulate and implement properties for Byron-Shelley era spec STSes

The Byron-Shelley era specifications comprise state transition systems (STSes) that form a hierarchy as below. This milestone is for formulating and implementing properties for the STSes both in LaTeX and Haskell code. Due to dependencies as given by the hierarchy, the properties should be done in a bottom-up manner.
 We already checked the most important properties:

No double spending
The update mechanism allows to update software and protocol paramtetes
Delegation allows to delegate
No delegation certificate can be replayed.

I'd say, if we run into properties that we should test we could make separate issues for it.


Fix https agent being used

Use https.Agent instead of httpAgent for Axios httpsAgent

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 91.305%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
4292

Relevant Lines:
4569

💛  - Coveralls


Added failing workload

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Looks like your deployment liveliness-check is failing.
Specifically, it looks like these pods are failing:

Pod: liveliness-check-6bf98bd74-kgnnw with the error listed below.
Pod: liveliness-check-6bf98bd74-lm72n with the error listed below.
Pod: liveliness-check-6bf98bd74-zbwrr with the error listed below.

Logs for pod liveliness-check-6bf98bd74-kgnnw:
The last conditions your pods went through were:

2023-09-14T21:42:19+00:00 - Reason: None 	 Type: Initialized
2023-09-14T21:42:22+00:00 - Reason: None 	 Type: Ready
2023-09-14T21:42:22+00:00 - Reason: None 	 Type: ContainersReady
2023-09-14T21:42:19+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://5c7817a29cb8bb0bbb3200d4ec4558347bce90d7c51d9e81434ea2aa8a466a9b has restarted: 5 number of times.

Logs for pod liveliness-check-6bf98bd74-lm72n:
The last conditions your pods went through were:

2023-09-14T21:42:19+00:00 - Reason: None 	 Type: Initialized
2023-09-14T21:42:22+00:00 - Reason: None 	 Type: Ready
2023-09-14T21:42:22+00:00 - Reason: None 	 Type: ContainersReady
2023-09-14T21:42:19+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://306c4dc3ee7fdf6258210020f9ea1706582863429d2390d141350adc90f4b6da has restarted: 5 number of times.

Logs for pod liveliness-check-6bf98bd74-zbwrr:
The last conditions your pods went through were:

2023-09-14T21:42:19+00:00 - Reason: None 	 Type: Initialized
2023-09-14T21:42:22+00:00 - Reason: None 	 Type: Ready
2023-09-14T21:42:22+00:00 - Reason: None 	 Type: ContainersReady
2023-09-14T21:42:19+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://6be0719927e597ccc3243cd9dc05bb22a7df5636ecfa8eecc77c30a5689ff426 has restarted: 5 number of times.

Looks like your deployment liveliness-check is failing.
Specifically, it looks like these pods are failing:

Pod: liveliness-check-6bf98bd74-kgnnw with the error listed below.
Pod: liveliness-check-6bf98bd74-lm72n with the error listed below.
Pod: liveliness-check-6bf98bd74-zbwrr with the error listed below.

Logs for pod liveliness-check-6bf98bd74-kgnnw:
The last conditions your pods went through were:

2023-09-14T21:42:19+00:00 - Reason: None 	 Type: Initialized
2023-09-14T22:11:39+00:00 - Reason: ContainersNotReady 	 Type: Ready
2023-09-14T22:11:39+00:00 - Reason: ContainersNotReady 	 Type: ContainersReady
2023-09-14T21:42:19+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://568886184e88883c8dc01301a8307eafd8de631689f8672e1c6350f50f81f6bd has restarted: 11 number of times.

Logs for pod liveliness-check-6bf98bd74-lm72n:
The last conditions your pods went through were:

2023-09-14T21:42:19+00:00 - Reason: None 	 Type: Initialized
2023-09-14T22:11:34+00:00 - Reason: ContainersNotReady 	 Type: Ready
2023-09-14T22:11:34+00:00 - Reason: ContainersNotReady 	 Type: ContainersReady
2023-09-14T21:42:19+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://17b741eda0614a53e9cf9869b703fb1064f43428cc4fa1d630a85d58a630d7cb has restarted: 11 number of times.

Logs for pod liveliness-check-6bf98bd74-zbwrr:
The last conditions your pods went through were:

2023-09-14T21:42:19+00:00 - Reason: None 	 Type: Initialized
2023-09-14T22:09:10+00:00 - Reason: ContainersNotReady 	 Type: Ready
2023-09-14T22:09:10+00:00 - Reason: ContainersNotReady 	 Type: ContainersReady
2023-09-14T21:42:19+00:00 - Reason: None 	 Type: PodScheduled

Containers launched under your pods with their stats:

Container containerd://cf36c2fe2a560fb3726447d66f3aaa10da9f213c60a82703f6dc7db788cb5874 has restarted: 11 number of times.

---- New Deployment Report:
Looks like you're using a raw pod. Please stop doing that. Specifically:

Raw Pod: liveness-exec

Looks like your deployment liveliness-check is failing.
Specifically, it looks like these pods are failing:

Pod: liveliness-check-6bf98bd74-kgnnw with the error listed below.
Pod: liveliness-check-6bf98bd74-lm72n with the error listed below.
Pod: liveliness-check-6bf98bd74-zbwrr with the error listed below.

Looks like you're using a raw pod. Please stop doing that. Specifically:

Raw Pod: liveness-exec


Adding navbar to all pages, combining society name search with regular search

Deleted unnecessary code, now all searches use the same functions.
Results tab not shown until search results to display.
Fix for #341

[Current coverage][cc-pull] is 90.68%

Merging [#373][cc-pull] into [master][cc-base-branch] will increase coverage by 0.12%

@@             master       #373   diff @@
==========================================
  Files            29         29
  Lines          1981       1976     -5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1794       1792     -2
+ Misses          187        184     -3
  Partials          0          0

Powered by Codecov. Last updated by [49aa672...8c76514][cc-compare]
[cc-base-branch]: https://codecov.io/gh/D-PLACE/dplace/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/D-PLACE/dplace/compare/49aa672bf8c8b5419cb3b657e2a1ebe936a3910a...8c76514cb624de4949a6c1b1f9a9d740a006cc44
[cc-pull]: https://codecov.io/gh/D-PLACE/dplace/pull/373?src=pr


Update fractal_continuum_hard.js

Death Spin is 27AD and 27AE

You're right, I just noticed it. Closed this ^^


shift-app-expo_14_9_dependency_database_setup

Resolves #9
This PR sets up necessary dependencies and allows basic access to our Supabase database to populate a basic message to a user when running the application in Expo.
I can provide the necessary keys and URL for our database, so reach out to me and I can get it to you for testing.
For further information, I created documentation regarding this process: Shift Scheduling App: Dependencies & Database Setup

Thank you for the documentation in order to get this running. Looks good to me!


Captured loop variable inside a goroutine

I'm sure it qualifies as bug so I opened a blank issue, but I noticed a weird usage of a loop variable captured in a goroutine at:  https://github.com/ovh/utask/blob/101b9974e03a6639f7cd6f5dc60d7d27713caa41/engine/engine.go#L706
When iterating over available steps, if a foreach step is followed by other steps (at least one), the last step will actually be pushed into the channel in place of the foreach step.
The foreach step should be run at some point, but as long as there is another step after it, it won't be run at all.

Hello,
Thanks for the report, I opened a pull-request for that.


ci: test on macOS

Summary
This pull request adds macOS to Azure Pipelines jobs.
To save resources, only the mainstream job (Saxon 9.9) is included, just like AppVeyor.
Compiling .java files is not included, because it is covered by other jobs.
I chose Azure Pipelines, because of Travis CI's limited concurrent jobs.
Why
Covering macOS ensures that not only XSpec itself but also its test scripts are cross-platform.
What has changed

72523941bb29bd34780fe81797e9d6257d77c252 is the primary change.
2e0faa6070fcf08de80fcfbcdf449c7e80cbfadc fixes an incompatibility of a test. (7199939bfcf1a2f6ec1ae39956491f7520fd613d was not enough.)

How I tested it

Bats test failure
Without injecting a deliberate failure, a test failed on macOS because of a behavior difference of ls command (perhaps related to this). The Azure Pipelines job failed as expected.

XSpec test failure
Build

End-to-end test failure
Build

Merging this, because

Test failures are demonstrated
Testing on macOS actually revealed an incompatibility of a test
Adding a macOS job doesn't seem to negatively affect Azure Pipelines performance
The macOS job will not increase the maintenance workload, because the scripts are shared with Linux jobs
If something goes wrong, we can back out of the macOS job quickly at any time

@xspec/xspec
So the repository branches and the pull requests are now tested on macOS.


Login

Question
How can I complete the login process on Youtube?
For example, I want to enter the code provided by google in https://accounts.google.com/o/oauth2/device/usercode
Example image

Other details
No response
Checklist

[X] I am running the latest version.
[X] I checked the documentation and found no answer.
[X] I have searched the existing issues and made sure this is not a duplicate.
[X] I have provided sufficient information.

I did


[TACHYON-1633] Add the Chinese version of documentation page 'Configuring-Tachyon-with-HDFS'

https://tachyon.atlassian.net/browse/TACHYON-1633

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/8421/
Test PASSed.

LGTM
Thank you for the translation!

LGTM. Thanks!


Couldn't return the response

Hi there,
There is a weird response behavior that i could't understand, when i try to send a query that matches one of my custom intents, i get the following error
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>

ERROR

The request could not be satisfied.

CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.

Generated by cloudfront (CloudFront)
Request ID: YeniHRaduRn5dVzhK3L0cLTc2tMeqLaoPNhby3N9Zk6j-PQkOF8lPg==

<ADDRESS>
</ADDRESS>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>

ERROR

The request could not be satisfied.

CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.

Generated by cloudfront (CloudFront)
Request ID: JAJeScxuDj-X97YHn_piTfMWNak8XxVvI7EScppuwUgJO4IkwwMo8Q==

<ADDRESS>
</ADDRESS>

Note that:

I get the json response if the query is assigned to one of the predefined domains (eg: Smalltalk)
I'm sending the request from within an HTTP method

Any ideas ?

Hi @amaboura,
Please send me example of your code for reproduce an issue and maybe you account email, I'll check your agent...

It seems to be back to normal now.
Here's the snippet that i have tried
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from flask import Flask, request
import os.path
import sys
try:
    import apiai
except ImportError:
    sys.path.append(
        os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir)
    )
    import apiai

app = Flask(__name__)

CLIENT_ACCESS_TOKEN = "d8996d6ab4c541f29dc0fcb869c868bf"

def handle_query(query):
    ai = apiai.ApiAI(CLIENT_ACCESS_TOKEN)
    request = ai.text_request()
    request.lang = 'en'
    request.query = query
    response = request.getresponse()
    print (response.read())

#if __name__ == '__main__':
 #   handle_query("say my name")

# query example : say <something>
@app.route("/echo")
def hello():
    query = request.args.get("q")
    print query
    handle_query(query)
    return "Echo back"

if __name__ == "__main__":
    app.run(debug=True)


Inspector dropdowns may require scrollbars in some cases

Operating system or device - Godot version:
Linux 4.11.3, Godot 3c1fd26bb0c2e97b927343e5488aa6d646e2e27c
Issue description:
Some dropdowns in the Inspector are too long and should get a scrollbar or scroll feature to work correctly.
Scrolling would be needed to confirm #7278.
Steps to reproduce:

Add a Node
Add the script as shown in the screenshot
Select the node and click on the dropdown shown in the screenshot
The list is too long, it exceeds the screen

It might even be a good idea to create a popup. like the nodes popup for all resources...
The list just makes no sense for that many options. searching is a necassity anyways and than it is much easier to make a popup instead of improving the dropdown with a scrollbar.

@toger5 It should fallback to popup only when the list has too much (say, more than 10) items.

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about its current status here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

The list can now be scrolled with mouse wheel so the bug isn't relevant any more.


[javascript] Use ECMAScript 6

Using ES6 features via node --harmony (limited ES6 support) or Traceur (wide ES6 coverage but more complicated to set up) could make the JS code cleaner to read. I should try it out next time I write a JS module.

The first module using ES6 features is connected_components! See commit 8b8d5f3b84b6f81d709f8b1b1071652ad17b1da9.
From now on, all new modules will use ES6 features. Some ES7 features might also be used, if they look stable enough and are supported by Traceur.


Fix hover states for Stacks-based tokens in Send flow asset picker

https://github.com/leather-wallet/extension/assets/28991/33113d4f-fa68-4e2a-a1a8-f31b1b7cc287

@fabric-8 Assigning to you since this will be resolved implicitly by your send UX work


Change term_colors logic?

Running into a weird issue on a FreeBSD 8.3 box I have a shell account on:
 export TERM=xterm-256color; echotc Co; tput colors
8
167
 ./colors.sh
 export TERM=vt220; echotc Co; tput colors
echotc: no such capability: Co
167

Not sure why zsh doesn't report a color capability when set to vt220 (the default if TERM isn't defined in the environment). Also not sure why it's reporting 167 colors for both termcaps. I don't have admin access so I can't do much in the way of digging much deeper into the system libraries and installed versions. As a fix would it make sense to use the following logic instead?
term_colors=0

if which tput &>/dev/null; then
	term_colors=$(tput colors)
else
	term_colors=$(echotc Co)
fi

if (( term_colors <= 16 )); then
    print -P "%F{red}WARNING!%f Your terminal isn't setup to use more than 16 colors!"
    print -P "You should put: %F{blue}export TERM=\"xterm-256color\"%f in your \~\/.zshrc"
    print -P "_before_ loading this theme in your \~\/.zshrc. In most terminal emulators, putting"
    print -P "%F{blue}export TERM=\"xterm-256color\"%f at the top of your \~\/.zshrc is sufficient."
fi

FWIW here is some version data and screenshots of running a local colorgrid function on both my local Linux box and the FreeBSD server:
 uname -a
FreeBSD phalse.2600.COM 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Mon Jun 11 23:52:38 UTC 2012     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
 zsh --version
zsh 4.3.17 (i386-portbld-freebsd8.3)

Linux colorgrid

FreeBSD colorgrid

Hey @tonylambiris! Congratulations on being our first FreeBSD user to report an issue! If I could award badges on Github, I totally would, hah =)
Okay, so we are actually in the middle of overhauling how P9k handles color definitions to make it more compatible with terminal color settings. The work is happening on the next branch, being done by @Artistan. It's broken at the moment, but I would be curious to know if giving a shot changes the way your terminal behaves in any way.

updated my pull request which is the master branch here ...
https://github.com/Artistan/powerlevel9k
try it out and tell me what you think.

I'm on FreeBSD 11.2 and seeing the following results.
export TERM=xterm-256color; echotc Co; tput colors
256
209

I'm also on FreeBSD 11.2 and am getting the following numbers for echotc and tput:
256
138


fix: fix h1 line-height for md:screen

Hello 🖐,
I found a bug on md:screen concerning the H1.
The line-height defined by the leading-relaxed class was overwrited by the default value of line height from the text-6xl class.

Here result after fix ⬇

Thanks a lot @MehdiHan 👋


Not yet working for Apple Silicon?

Describe the bug
Demo/Sample Repo is not working. It just shows white background.
To Reproduce
Just clone, and start the app. (Had to change compose.desktop.macos_arm64)
Expected behavior
Should change backdrop.
Screenshots

OS (please complete the following information):

OS: MacOS Monterey 12.4
Build: Apple M1 Pro

Additional context
None

Sorry to say that the library currently only works on Windows. Even worse my development device has broken down and I'm not getting a new one till the end of the year and it will be a Windows device though I'm planning to make a hackintosh and port the library to MacOS and Linux as well. It was actually my plan for the previous month, but things didn't go well.

I'd love to extend help to make this work, unfortunately I'm relatively new with creating JNIs.  @MSDarwish2000

Any updates on support for Mac?

@chardskarth @ubertrombone  I really apologize for my late response and bad communication. The reason is that I cannot get graphics acceleration to work on my Hackintosh. So, I won't be able to verify that the code actually works.
But as you've asked for it. I'll try to implement the code for Mac, and wait for feedback through this issue if it actually works in the snapshot version. I'll be doing this and other refactoring starting from today.
Sorry for my late response.

@MSDarwish2000 No worries about late response! Thanks for working on this!
Once you've implemented for Mac, I'll give it a try and get back to you with any feedback.


[Exhaust] MagnaFlow Overland

Product Link
Cost: 1,099

They dont actually sell this for the hybrid with the 6.5 bed and no plans to support it. Closing.


add dev,qe approval flags check

added check for dev,qe approval flags for DFBUGS project

@bradmwilliams @AlexNPavel @hoxhaeris can you please review?

Hi @Nikhil-Ladha, I am having a look.

/ok-to-test


Green background by using a custom dialogrc

Proposed green vs current Blue

Not sure if I like the green one more than the blue one. It's quite shiny, but perhaps that's just my terminal color settings.
Let's get some more opinions to see if we should merge it.

Green is more chameleon and less windows like :D. I like green more.

I like the green one more, it's more chamaleon-like :D However, the blue one is easier on my eyes, so at the end I have to vote for blue out of usability alone.

Your terminal colorscheme is broken, half of the dialog parts are missing

FTR, this is how it's supposed to look:

The green hurts my eyes a bit.

Interesting this is with the system color scheme on 15.6

For me, blue one make my eye feel more comfortable and familiar, maybe because I mainly on SLES test. :)

Oky so on gnome-terminal you need to have checked show bold text in the bright text (the very bottom checkbox)

I'm fought between the standard blue and openSUSE's green, I would stick to geeko green :grimacing:


Allow raw querying via the module

Allow a raw query through the module, in addition to find, findOne, etc.  See branches/feature/new_api

+1 for raw query

+1

Hello! Have either of you checked out the branch feature/new_api? Any comments on API design? It would be a slight change from how you interface with it now, but would allow raw querying.

I will try to read it today or tomorrow!  I'd love to contribute.  In the meantime, I call raw sequelize statements without the redis cache in certain areas of my SaaS application that need up to the minute info.

Fixed and released as 2.0.0 (note: backwards incompatible API changes).  Thanks!


Bump docker_registry2 to fix #3989

The latest version of docker_registry2 has the fix for #3989.

Thanks!
Do you think you could add a quick test for this to confirm the bug is no longer present?
Feel free to reach out if you need help!

@Nishnha I am new to the code base. I tested the code manually on my machine. Can you point me to test file to which I can add this scenario?

@noorul, sure!
It looks like we specifically want to test that quay URLs go to the next page for paginated links
Paginated URLs are accessed by our docker client (docker_registry2) in https://github.com/dependabot/dependabot-core/blob/279956f9f28dd1dce087a2163615a8d6c99c827b/docker/lib/dependabot/docker/update_checker.rb#L231
and we eventually use that to determine the latest version of a dependency:
#tags_from_registry -> #comparable_tags_from_registry -> #fetch_latest_version -> #latest_version
So a test you may be able to set up is: with a paginated quay URL, the update check is able to follow the paginated URL to find the latest version
https://github.com/dependabot/dependabot-core/blob/279956f9f28dd1dce087a2163615a8d6c99c827b/docker/spec/dependabot/docker/update_checker_spec.rb#L160

@Nishnha Great! Thanks! I couldn't find time to get to this.


explorer: run as IDA plugin

Adds code to run capa explorer as legitimate IDA Pro plugin.

looks like isort might be failing, though?

@williballenthin, @mr-tz I've updated the PR with requested changes. It should be good to merge once the tests finish 🚀

love it!


Error in New release

Hi
I am configuring new release in my ubuntu machine, when i load the url it's not loading and display error as internal error like this

We changed some internals and there are some incompatibilities with previous versions of portia. You will need to update/rebuild the docker image.


Fix typo

Hello! I'm excited to dig into your lib. However, I saw a typo and created this PR.

Thanks for the fix! Can you run bash render.sh in the root directory (needs Deno to be installed)? This will propagate the change to HTML files. I can do that as well if that's inconvenient on your side.

I fixed the typo in https://github.com/vanjs-org/vanjs-org.github.io/commit/f9ad9d4ea03a1057f1b1a0b83b98a0d98e018e5e. Also I added you into the contributor list of VanJS project.

👍🏼


codespell: ignore patch files

Ah, these patches seem to be unused, at least not by https://github.com/flathub/org.libvips.vipsdisp or anywhere in this repo (I checked while grep-ing for patches/).

I think I was using the patches in earlier versions of org.libvips.vipsdisp.json, I kept them around just in case. They can probably go now heh.


tutorial request: scvi + MappedCollection

It is not obvious to me how to interface data loaded with lamindb.core.MappedCollection into an scvi model.
For example:

initializing adata.X with batch['x'] fails because the matrix is already a torch.Tensor
placing torch.Tensorin adata.layers is possible but fails to pass the scvi checks

Maybe it is possible by using the model.train(data_module=data_module)  parameter ?
import lamindb as ln
import scanpy as sc
import scvi
import scipy
import numpy as np
from torch.utils.data import DataLoader, WeightedRandomSampler

sc.AnnData(np.random.randint(0,10,(500, 10)), obs={'cell_type': np.random.randint(0,5,(500, ))}).write('adata0.h5ad')
sc.AnnData(np.random.randint(0,10,(500, 10)), obs={'cell_type': np.random.randint(0,5,(500, ))}).write('adata1.h5ad')

path_list = ['adata0.h5ad','adata1.h5ad']

mapped_collection = ln.core.MappedCollection(path_list,
    label_keys=['cell_type'],
    encode_labels=['cell_type'],
    join='outer',
    parallel=True
)

sampler = WeightedRandomSampler(
    weights=mapped_collection.get_label_weights("cell_type"), num_samples=len(mapped_collection)
)
dataloader = DataLoader(mapped_collection, batch_size=50, sampler=sampler)

for i,batch in enumerate(dataloader):
    adata = sc.AnnData(scipy.sparse.csr_matrix(batch['x'].shape),
                        layers={'counts':batch['x']},
                        obs={'cell_type':batch['cell_type'],'_storage_idx':batch['_storage_idx']})
    if i == 0:
        scvi.model.SCVI.setup_anndata(adata,layer="counts")
        model = scvi.model.SCVI(adata)
    model.train(adata)
mapped_collection.close()

Hi, @j-bac the problem is that scvi-tools doesn't allow to pass external dataloaders in a simple way. I can think on something for this, but might be better to ask scvi-tools mantainers for this functionality.

I agree this is more of an scvi problem. I can close this issue if you want and I'll open one on their github

@j-bac  btw we now have such a tutorial here https://lamin.ai/laminlabs/cellxgene/transform/d1kl7wobCO1H0005


Add msgpack serialization

+1 for this!!
I stumbled across your package as I was toying around with the idea of building my own. I needed something that would integrate with my sanic app, and I came across your issue.
Nice work. Glad I don't have to do it ;-)
Then, I saw you were using pickle and my first reaction was to point you towards msgpack. I used it recently on MerkavaDB. I think it would be a great addition here.

Glad it's useful :).
Using pickle is optional. You can always use string or json serialization if it fits. But yeah, having other alternatives would be useful for sure.
I'm out on holidays and have no experience on it. If you want to provide a MR feel free to do it :), should be a matter of adding a new serializer class

Will do. I will take a look to see what it involves. I am a bit busy myself right now with work, and I have some work I promised I would do on sanic package I maintain (https://github.com/ahopkins/sanic-jwt). Which is why I am relieved to see that you built this. Already in testing it out I dropped a 2000ms request I need to make several thousand times down to less than 1ms. Wow. Caching is a wonderful thing.
Adam Hopkins
On 25 Dec 2017, 13:16 +0200, Manuel Miranda<EMAIL_ADDRESS>wrote:

Glad it's useful :).
Using pickle is optional. You can always use string or json serialization if it fits. But yeah, having other alternatives would be useful for sure.
I'm out on holidays and have no experience on it. If you want to provide a MR feel free to do it :), should be a matter of adding a new serializer class
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Any chance the version that support msgpack will be released on pypi any time soon?

Yeah, will do today or tomorrow :)

@ahopkins new release done https://github.com/argaen/aiocache/releases/tag/0.9.0 :)