Invalid URL (POST /v1/engines/gpt-3.5-turbo/chat/completions)

Describe the bug
I am trying to use chat completions in python with this openai library, but keep hitting the same error.
I am using this documentation: API Guides and API docs
I see the url is different than the one listed in the API docs, so maybe there is an issue with this library?
Thank you,
Michael
To Reproduce
import openai
openai.api_key = os.environ["OPENAI_API_KEY"]
model_engine = "gpt-3.5-turbo" # Or gpt-4
response = openai.ChatCompletion.create(
    engine=model_engine,
    messages=[
        {"role": "system", "content":"<my setup message>"},
        {"role": "user", "content": "<my prompt>"}
    ],
    max_tokens=256,
    temperature=0,
)

Error:
openai.error.InvalidRequestError: Invalid URL (POST /v1/engines/gpt-3.5-turbo/chat/completions)

Code snippets
No response
OS
macOS
Python version
Python v3.8.13
Library version
openai-python v0.27.8

The engines endpoint is deprecated, and the models endpoint should be used instead. Pass the model name as a model argument, instead of as an engine argument:
-    engine=model_engine,
+    model=model_engine,

I've verified that the code you showed produces the error you showed, and that this change eliminates the error.
See Deprecations and What happened to engines? Unlike traditional completions, I don't believe chat completions have ever supported engine, only model. model can be used with both.
So I think the behavior you observed is not itself a bug in this library or the OpenAI API. However, if any current documentation continues to recommend the use of engine, I think that would be considered a bug in that documentation.
But I don't see a recommendation to use engine, or any mention of it, on the API Guides or API docs pages you linked to. API Guides shows this code:
import openai

openai.ChatCompletion.create(
  model="gpt-3.5-turbo",
  messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Who won the world series in 2020?"},
        {"role": "assistant", "content": "The Los Angeles Dodgers won the World Series in 2020."},
        {"role": "user", "content": "Where was it played?"}
    ]
)

API docs shows this code:
import os
import openai
openai.api_key = os.getenv("OPENAI_API_KEY")

completion = openai.ChatCompletion.create(
  model="gpt-3.5-turbo",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Hello!"}
  ]
)

print(completion.choices[0].message)

Hi EliahKagan, I can't believe I overlooked that. I guess the bug was in my head. Thank you! :)


[FR]: Support bzlmod

What is the current behavior?
No response
Describe the feature
I'm not sure if these rules support bzlmod. If they do, could you update the documentation with instructions on how to use it similar to rules_js?
Fund our work

[ ] Sponsor our open source work by donating a feature bounty

I started this here: https://github.com/aspect-build/rules_esbuild/compare/bzlmod

https://github.com/bazelbuild/bazel-central-registry/pull/394

https://registry.bazel.build/modules/aspect_rules_esbuild


Add List.insert and upgrade Immutable.js

This commit upgrades Immutable to 3.8.1, and sets it to >= in
package.json.
It also adds a List.insert() method to typed-immutable lists.
FIxes #20.

I think we have consensus, but leaving this for a day or two, just in case.


Add e2e test automation workflow

What type of PR is this?
feature
Which issue does this PR fix:
#132
What does this PR do / Why do we need it:

Now e2e test triggers on main branch push.
Updated release script

Lifted some constraint to handle image build without release
Added option to do image build / push only, not helm
Removed information such as AWS account ID, now ECR_PUBLISH_ROLE_ARN should be provided as env variable for release_controller.sh.

Notes:

One caveat is this only works on the existing test cluster, so no parallel test execution is allowed - ideally, we can further improve the script by creating EKS cluster on demand. I think this is enough to start though.
I have first thought about running this on the pull request's context, but seems like it is a security hazard, as the e2e test runner is capable of doing pretty much everything on VPC Lattice + has some other AWS permissions on the internal account.

If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
Testing done on this change:
Tested in the forked repo
Automation added to e2e:
No new test cases added
Will this PR introduce any new dependencies?:

Will this break upgrades or downgrades. Has updating a running cluster been tested?:
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Still not sure if we should run the test directly over pull request's head. This is something we want ideally, but the e2e test suite requires pretty powerful permission. We can always make the change later though, as it is a simple fix.

a successful run from my own fork: https://github.com/solmonk/aws-application-networking-k8s/actions/runs/7761811200/job/21171173210

I have first thought about running this on the pull request's context, but seems like it is a security hazard, as the e2e test runner is capable of doing pretty much everything on VPC Lattice + has some other AWS permissions on the internal account.

Seems current workflow has a workflow_dispatch,
Does it currently support to manually trigger a e2e test workflow against the PR's feature branch?
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch


issue with editing animations

version- CustomPlayerModels-Fabric-1.16-0.0.11c
changing a pose to a gesture then testing in game and attempting to edit another animation crashes the game and reverts the animation back to being a pose.
(basically I accidentally made my animation as the standing pose when I meant to make it a gesture, but when I try to change it the mod crashes.)
(edit)
Apparently the crash happens whenever you hit the edit button after using the test ingame feature. Meanwhile the reverting animation type is another completely separate issue that happens if you so much as close the project and reopen it.

Please test this in the new version, the test ingame feature was buggy in 0.0.11c, I couldn't reproduce it.


fix: see #88

Codecov Report

Merging #89 into master will increase coverage by 0.11%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   73.49%   73.61%   +0.11%
==========================================
  Files          25       25
  Lines        1011     1008       -3
==========================================
- Hits          743      742       -1
+ Misses        241      240       -1
+ Partials       27       26       -1

Impacted Files
Coverage Δ

req.go
88.8% <50%> (+1.29%)
:arrow_up:

Continue to review full report at Codecov.

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


”Viile Satu Mare” is listed in the drop-down menu

Description:
"Viile Satu Mare" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Viile Satu Mare" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Viile Satu Mare, SATU MARE".


Unit tests should use the official sample project

Project ID: 975bf280-fd91-488c-994c-2f04416e5ee3

I don't have access to that project so it's up to you 😋

done by @kashifsoofi in #34


Updated data csv

Description

I have added a Amazon Product Dataset 2020 in  CSV_Data file.

Issue Ticket Number
Fixes #(issue_number)

Checklist:

[ ] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[ ] I have cross-checked that the dataset I'm uploading is not present in the project
[ ] I have cross-checked that the dataset is present in the correct folder

Hey @aditya345-coder
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐

SignIn / SignUp in [[ClueLess Website](https://www.clueless.tech/)](https://www.clueless.tech/) .

Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.


Docs/reshuffle the structure and content

Why is this pull request needed?

Refactor the documentation

What does this pull request change?

Adds raw-loader to load python files directly (this needs to be replaced since it is deprecated, but works for now)

Used to show code from todo examples inside the documentation

Changes

Adds how-to extend the API with new features
Use CHANGELOG.md from under documentation/ older(instead of CI/CD magic)
and reshuffle many other pages and content...

Issues related to this change:

Should also consider prefixing file names with 01-some_doc.md, 02-something_else.md, etc., rather than having to specify and locate the correct index from
---
sidebar_position: 5
---

@sebastianvitterso @ingeridhellen I have fixed the comments, please resolve them if you think it looks okey. For the renaming of files, we will do that in a separate PR.


Implement postEphemeral method for Slack

Could it be that simple @seanspeaks ?

📦 Published PR as canary version: Canary Versions

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Yup! That simple +1

What are next steps @seanspeaks ? Should I only merge :flushed:

(@roboli Yup, flow is PR owner does the merge upon approval 👍 )

:rocket: PR was released in<EMAIL_ADDRESS>:rocket:


[OpenBlas]:benchmark/copy.c has time，x,y data loop problems

Problem 1、time accurate to Microseconds, when data amount is lower than 10000， the final result is not precise，and has large fluctuations in results.
so, change time accurate to Nanoseconds.
Problem 2、the x, y datas are changed when COPY every loops, this also results in large fluctuations.
So, change random get X, Y data out of "for (l=0; l<loops; l++)" loops.

Indeed, thanks. I suspect several of these old benchmarks that were created by wernsaar some five years ago will share the same problems.


Migration of jimov api to typescript

[x] Create interfaces of anime
[ ] Create interfaces of manga
[x] Update animeflv
[ ] Update zorotv
[ ] Update routes

Btw, we need  to create tasks qwq


scripts: Add agent version to collect script

Add the agent version to the collect script output.
Fixes #1055.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

This will "work", but won't actually show the correct agent version until we get a new image release containing https://github.com/clearcontainers/agent/pull/213 (commit https://github.com/clearcontainers/agent/pull/213/commits/14c4a2d4c9ae4cc8a53e54f57ab6ba10a432fb80).
Tested with Kata too (run as sudo kata-collect-data.sh) which shows the following on my test box:

Agent
version:
kata-agent version 0.0.1-33eecb2a445f906811a5bc9713d2dafd10768d18-dirty

Thanks @jodh-intel for this PR.
LGTM


Cannot turn on settings sync

Version: 1.48.0-insider (user setup)
Commit: 6c21258b65e4c9448323c930fabb1ac6b734c597
Date: 2020-07-20T05:33:03.267Z
Electron: 8.3.3
Chrome: 80.0.3987.165
Node.js: 12.13.0
V8: 8.0.426.27-electron.0
OS: Windows_NT x64 10.0.19041
Steps to Reproduce:

Turn on settings sync
Error while starting Sync: Cannot read property 'version' of null

Does this issue occur when all extensions are disabled?: Yes

To verify:

Machine 1: Make sure you do not have keybindings.json file (Delete it if you have). Have some settings (for eg: theme)
Machine 1: Turn on Sync
Machine 1: Turn off Sync (only on this machine)
Machine 2: Start fresh (use new user data dir and extensions dir)
Machine 2: Turn on Sync
Machine 2: Change theme and sync
Machine 1: Turn on Sync and you will see a dialog to replace/merge. Choose Replace local.

Verify that Replace Local succeeds and sync is turned on without errors.


Motivation

Hi,
Can you tell something in README (or here) what was the motivation behind this project when we already have Electron and NW.js? How this differs from these platforms, how it helps to achieve something that's not possible/harder with these two?
Thank you

[Carlo locates Google Chrome installed locally] this is already enough motivation for me.

As Samuel is saying, one of the motivations is to demonstrate how locally installed Chrome can be used with locally installed Node out of the box.
Unlike with Electron, Node v8 and Chrome v8 engines are decoupled in Carlo, providing a maintainable model with the ability of the independent updates of the underlying components. Carlo is less about branding and is more about productivity + giving the control over bundling to the user.
Happy to add this to the FAQ section.

Thanks, sounds good to me :)

Sounds great~


Is it possible to animate the grids on change?

Hi Guys,
Is it possible to animate columns with something like such?
     -webkit-transition:flex  300ms ease-in-out!important;
     -moz-transition:flex  300ms ease-in-out!important;
     -o-transition:flex  300ms ease-in-out!important;
     transition:flex  300ms ease-in-out!important;

I tried different methods without success.  I even tried applying that to all divs on my page but the flex boxes do not animate.
Thank you

Because of max-width, you need to transition flex-basis & max-width properties :
transition: flex-basis 300ms ease-in-out,max-width 300ms ease-in-out
Does it work for you?


Exit Handler issues

Hi I've been playing around with gbhv as part of getting into hypervisor research I'd like to appreciate the project it's well made and it pretty simplistic which helps my learning curve by a lot
I have a question I'm trying to extend its compatibility with a manual mapper and I know that it should work since there's isn't much SEH
However, as soon as I remove the driver unload routine I've had to implement more VM exit handlers for MSR R/W
the handlers are implemented correctly but then I'm getting an exception when restoring CR4 for disabling Virtual Machine Extensions

Are you inside of an exit when you try to remove the bit from cr4? As it
stands now the code is absolutely wrong about how unloading is done, you
must write something to force an exit and then from the exit you must tear
down the hypervisor.
On Sun, Mar 21, 2021, 2:27 PM Souhardya Sardar @.***>
wrote:

Hi I've been playing around with gbhv as part of getting into hypervisor
research I'd like to appreciate the project it's well made and it pretty
simplistic which helps my learning curve by a lot
I have a question I'm trying to extend its compatibility with a manual
mapper and I know that it should work since there's isn't much SEH
However, as soon as I remove the driver unload routine I've had to
implement more VM exit handlers for MSR R/W
the handlers are implemented correctly but then I'm getting an exception
when restoring CR4 for disabling Virtual Machine Extensions
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Gbps/gbhv/issues/24, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKZAKHAQZN225YPRBR7QBTTEY3ANANCNFSM4ZR2DGBQ
.

Appreciate the quick response
I'm apparently inside Msr read when the exception occurs however I don't really see the point in having a driver unload routine either for my purpose
Just trying to get a stable execution but its weird when the ExitRootModeOnAllProcessors called in the driver unload routine everything works fine I don't even hit exits for R/W MSR or VMOFF etc
But once I remove the Driverunload routine I start hitting MSR R/W even when I know MSR bitmap is both cleared and a bunch of other exits
Maybe Im just doing something wrong I'm sorry if this seems a bit confusing Im quite new to hypervisors


Add clean feature

@choldgraf any thoughts on this?

Nice! One suggestion - perhaps by default it should remove everything except for the jupyter-cache folder, and then a flag can be used to explicitly clear the cache as well. I think it's common to want to clear the sphinx cache, but we may not want to clear the jupyter cache so we don't have to re-execute. Make sense?

@choldgraf you can run jb clean book/ which will empty almost everything in _build/ except .jupyter_cache/ (if it exists). To remove _build/ completely, you can run jb clean --all book/.

Nice - don't forget to mark it as "ready for review" once it's ready for review :-)

I haven't included a test case for removing .jupyter_cache/ because the template doesn't generate a cache folder when it's build. I'll have to add a specific folder under tests with an example just to test it. As soon as I add this, I'll mark the issue as ready for review.

Yeah, I think that'd be fine - in the tests just add the folder manually after one of the doc site builds and confirm that it is still present after running jb clean

@choldgraf ready for review :-)

From my perspective, it would be good to also have targeted clean commands as well, like jb clean latex book. For situations like, when I am running a server for HTML, and only want to rebuild latex, etc.
What do you think? We can target this in a later PR as well.

+1 to @AakashGfude 's suggestion but I also think it's fine to have that for another PR. I think the API wouldn't be any different, probably just adding a --latex or --html similar to --all.

@AakashGfude @choldgraf  I'll make an issue today and a new PR to fix this tomorrow.

Nice job! Thanks very much :tada:


Move chip properties (cold silicon, etc.) from design_planar into renderer options

From @dwang429
What is the feature being requested?
Move chip properties (cold silicon, etc.) from design_planar into renderer options
What are use cases for this feature?
Adherence to OO design

This issue is just outdated.


update gist instead of panicking when Wakatime statistics are not available yet.

For new users Wakatime statistics are not available yet. Instead of panicking and the github action failing, update the gist reflecting that the statistics are still being gathered.

thanks for the PR.


⚠ Bofrost.lu has degraded performance

In 38736da, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1116 ms

Resolved: Bofrost.lu performance has improved in 129d419 after 9 minutes.


Fix tests that compare hashes to dhall-haskell

Codecov Report

Merging #268 (71607df) into main (d476786) will increase coverage by 0.37%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #268      +/-   ##
==========================================
+ Coverage   58.81%   59.19%   +0.37%
==========================================
  Files          30       30
  Lines         930      914      -16
  Branches       58       61       +3
==========================================
- Hits          547      541       -6
+ Misses        383      373      -10

Impacted Files
Coverage Δ

...src/main/scala/org/dhallj/tests/HaskellDhall.scala
25.00% <0.00%> (-8.34%)
:arrow_down:

...la/org/dhallj/imports/ReferentialSanityCheck.scala
90.00% <0.00%> (-1.67%)
:arrow_down:

...allj/tests/acceptance/AcceptanceFailureSuite.scala
87.50% <0.00%> (-1.39%)
:arrow_down:

...scala/org/dhallj/imports/CorsComplianceCheck.scala
92.30% <0.00%> (-1.03%)
:arrow_down:

...avagen/src/main/java/org/dhallj/javagen/Code.scala
0.00% <0.00%> (ø)

...ce/src/main/scala/org/dhallj/circe/Converter.scala
100.00% <0.00%> (ø)

...c/main/java/org/dhallj/javagen/ToCodeVisitor.scala
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Get user

Update to add Get method to User.
Made some changes to Company at the same time - fixed a couple of field types to string and changed *interface{} to interface because that works better (I think)

Thanks. I’d been putting the merge off due to the package name change. The change to the empty interface shouldn’t affect anything? I might just want to check the accessors updated that correctly before merging.


Proposed template with Sass Maps

What do you think about using a template that utilizes Sass maps? This way, users can decide on their own rules and just import sprites where needed, like this:
.foo {
  @import sprite(app, close-icon);
}

I wrote a template that does just this. What do you think?
$sprites: (
{{#each layouts}}
    {{#each sprites}}
    {{cssesc name}}: (
        background-image: url('{{escimage url}}'),
        {{#if dpi}}
        dpi: {{dpi}}dpi,
        {{/if}}
        {{#if ratio}}
        ratio: {{ratio}},
        {{/if}}
        {{#each ../layout.items}}
        {{cssesc meta.name}}: (
            offset-x: -{{x}}px,
            offset-y: -{{y}}px,
            width: {{width}}px,
            height: {{height}}px
        ),
        {{/each}}
    ),
    {{/each}}
{{/each}}
);

@mixin sprite($folder-name, $image-name, $display: block) {
    $sprite: map-get($sprites, sprite-#{$folder-name});
    $background-image: map-get($sprite, background-image);

    @if map-has-key($sprite, dpi) and map-has-key($sprite, ratio) {
        $dpi: map-get($sprite, dpi);
        $ratio: map-get($sprite, ratio);
        @media (-webkit-min-device-pixel-ratio: $ratio, (min-resolution: $dpi)) {
            background-image: $background-image;
            background-size: map-get($sprite, width) map-get($sprite, height);
        }
    }
    @else {
        background-image: $background-image;
    }

    background-repeat: no-repeat;
    $image-props: map-get($sprite, $image-name);
    background-position:
        map-get($image-props, offset-x)
        map-get($image-props, offset-y)
    ;
    overflow: hidden;
    display: $display;
    width: map-get($image-props, width);
    height: map-get($image-props, height);
}

@function sprite-width($folder-name, $image-name) {
    $sprite: map-get($sprites, sprite-#{$folder-name});
    $image-props: map-get($sprite, $image-name);
    @return map-get($image-props, width);
}

@function sprite-height($folder-name, $image-name) {
    $sprite: map-get($sprites, sprite-#{$folder-name});
    $image-props: map-get($sprite, $image-name);
    @return map-get($image-props, height);
}

This means you can also make computations off the widths and heights, if for whatever reason you need access to those values, like so...
.foo {
  width: sprite-width(app, close-icon);
}

That's just an example, of course.

Hey @jedmao.
Is this compatible with the latest libsass version?

It must be, because I used this template with sprity already and it works just as expected.

Definitely for this. Will be able to loop through the variables and automatically create the classes, as we used to have in Compass: @include all-sprites();


New RocksDB for DelegationTotals-GQL

With these changes, we have a separate RocksDB database specifically designed to store delegation totals. This approach provides a clean separation of concerns, ensuring efficient retrieval of delegation totals for specific public keys and epochs without interfering with other blockchain-related data in the existing IndexerStore. Work in progress.

The last commit (excluding the clippy commit) so "conversions between gql and rust" focuses on types in the delegation gql -- f64 type does not implement the Eq and Hash traits, which are required by the juniper crate for GraphQL objects and i64 doesn't implement the required traits for being used directly as a GraphQL scalar value in the Juniper schema, so we can create a custom scalar type for representing the total_delegated field, and then convert the value between i64 and f64 when needed. This commit also tries to loop through the accounts to make a default epoch 1 but needs slightly more work along with a filler for the placeholder code for path to delegation_totals_db. With those two fixed, then we can switch from WIP to review.


problem, transaction still pending

Hi, friend of mine did a transaction some weeks ago with your fdroid version that is still pending. So my question: when can i expect it to be done and is there a possibility to redo/reinsert it somehow??

+1

@treakiandroid @allennic
Typically a transaction which is pending for too long gets eventually rejected by network but wallet can't passively detect this, so you'll need to check this manually.
To check if transaction is rejected, tap it in a wallet, then tap "View on BlockExplorer" in a popup window to open an external site in a browser. If the site says transaction can't be found then it got rejected. If transaction is still there then the only option for now is to keep waiting.
In case if transaction is rejected you should rescan a blockchain in a wallet to get the funds back (app menu -> wallet setttings -> rescan blockchain).
Please note that restored wallet will appear empty at first and that is completely normal as it needs some time to catch up with network.


Connecting to Online Source

Hi Ben,
I am a big fan of the template you created and hope to implement it soon in my company. My goal is to connect a SharePoint Plan from Microsoft Planner to your template so that tasks will be automatically updated, rather than relying on an Excel file that must be exported each time there's a change made to the plan. Currently your template requires a fixed/absolute connection to a file stored on the device. Do you have any suggestions for connecting to SharePoint using your template?
Many thanks,
Erin Lehmberg
<EMAIL_ADDRESS>

First of all, a big fan of your template as well. Thank you a million times for making it open and free to use.
Second of all, I too am looking into integrating this template with a different connector or a more automated way of refreshing the data (like with Microsoft Flow or Sharepoint connector for PowerBI). I will be looking into this in the upcoming months, depending on my available free time, and if I'm able to achieve anything, I will be coming back here to release it for free.
Once again, thank you!

No problem.  Re Flow etc, I’ve looked into it and simply the actions aren’t there for Planner.  Please share if you can automate this anyway.
From: Paul-Sebastian Manole @.>
Sent: 16 March 2021 14:50
To: ben-howard/PowerBI-Planner @.>
Cc: Subscribed @.***>
Subject: Re: [ben-howard/PowerBI-Planner] Connecting to Online Source (#3)
First of all, a big fan of your template as well. Thank you a million times for making it open and free to use.
Second of all, I too am looking into integrating this template with a different connector or a more automated way of refreshing the data (like with Microsoft Flow or Sharepoint connector for PowerBI). I will be looking into this in the upcoming months, depending on my available free time, and if I'm able to achieve anything, I will be coming back here to release it for free.
Once again, thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ben-howard/PowerBI-Planner/issues/3#issuecomment-800324425, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI26AMWEZ4FHKKRYLBSHSOLTD5VYFANCNFSM4YE2CRBA.

Hi Erin, I've added a .pbit file to this repository which takes files from a sharepoint folder.


Implemented: support to use i18n from dxp and removed app level configuration of i18n(dxp/280)

Related Issues

https://github.com/hotwax/dxp-components/issues/280
Short Description and Why It's Useful
Using i18n configuration from the dxp package will help in having a common place to manage configurations related to internationalization
-Removed i18n package from the app
-Updated all the components and ts file to use translate method from dxp
Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

These changes were done on the old threshold app. It will be handled separately for new ATP app. Closing this as of now.


[Optimizers] Refactored the optimizers in their own directory.

How about the current split? I feel "adaptive" is too general in the sense that most optimizers are adaptive in some way, whereas "momentum-based" is a bit more specific to these methods. Also, I used simply "SGD" for the other two, as they are SGD variants. I also feel "gradient descent" is too general as they are all effectively gradient descent methods. Please let me know what you think.

Sounds good!

Maybe rename MomentumBasedOptimizers.swift to MomentumBased.swift.

Done. :)


[doc] Fix a newline in the Google Getting started tutorial.

Fixes a newline in the Google Getting started tutorial.

Automerge cancelled: A status check is failing.

Automerge cancelled: A status check is failing.


Changing the Readme.md file

Description
Changing the Readme.md file mainly the screenshots of website (modified website)
Screenshots
Put any screenshot(s) here.
Do you want to work on this issue?
Yes
How are you planning to resolve on this issue?
Changing the screenshots
Are you raising this issue under hacktoberfest? (Remove this section if you are not a hacktoberfest participant)
Yes, I'm raising this issue under hacktoberfest.

I'll assign this issue to you but won't be able to consider it under hacktoberfest as it's mentioned on hacktoberfest website that optimizing images won't be counted as a contribution towards hacktoberfest.

Okay np @yashikabhargava


How to set multiple handler for endpoint [doc]

Hi,
I would like to create API for my application. And I have for example nfc, and lets say users. I want to separate this. So I crate a class with routes and set like this:
    Routes::Get(router, "/nfc", Routes::bind(&NfcRoutes::getNfc, this));
    Routes::Put(router, "/nfc/update", Routes::bind(&NfcRoutes::putUpdate, this));

And second class for Users:
    Routes::Get(router, "/users/all", Routes::bind(&NfcRoutes::getUsers, this));
    Routes::Delate(router, "/users/:id/", Routes::bind(&UsersRoutes::deleteUser, this));

Now I would like to create class that store my endpoint. And add this routes to my endpoint.
I have looked at rest_server example.

In other word I want to:
localhost:9080/users/  <- one class/module to work with this.
localhost:9080/nfc/ <-   second for work with this.
localhost:9080/MyNewModule/ <- another module added in the further in separate file.
And one class that make it work together.
I am new in HTTP and REST. Simple example would be really great!

I've implemented something similar in my own project and I would suggest using the endpoint as a manager class that does all the network layer work and having separate classes for your application logic.
With that approach, you can just define all the routes and handling functions in your endpoint class and call the relevant other logic from there. For example, having a handler for DELETE /users/:id that parses the request and the ID parameter and then calls users::delete(ID) and gives an HTML response depending on the result of the deletion function.
I suppose you could also split up your implementation of the handlers over different headers and source files or use compiler macros to keep them separate until they are combined into one class on compilation but that's more of an architectural decision than a framework related question.
Lastly, you can have a look at the endpoint I'm using here. As I said I try do to the parsing in the endpoint and have a separate DB layer that's accessible via controller classes.
https://github.com/cyremur/InDiProv/blob/master/src/log-service.hxx

Having another look at my own class, I realize it's currently not the prime example for clean code and could probably be split up, but it should still get the point about my proposed architecture across.

sorry, In quick look, I don't get it. It's very similar to rest_rescription example. And I don't see in your code any modules.
Thank you for interesting I will try to understand it more.

The point I was trying to make was deferring logic to controller classes like these https://github.com/cyremur/InDiProv/blob/master/src/Controller/vertex-actions.hxx
and calling them with the parameter parsed in the rest description. Unfortunately, in my case the json parsing is actually most of the code and clutters the source code quite a bit so my example is actually pretty bad showcase of the architecture I was trying to explain. My apologies.

Closing because of inactivity. Feel free to reopen \close


Build definition for pcre2-10.23

[x] project() has version string
[x] project() has license string
[x] if new project, master has tagged commit as only commit
[x] if new branch, it is branched from master
[x] contains a readme.txt
[x] contains an upstream.wrap file
[x] download link points to authoritative upstream location
[x] wrap repository contains only build system files
[x] merge request is pointed to correct target branch (not master)
[x] wrap works
[x] repo does not have useless top level directory (i.e. libfoobar-1.0.0)

Thanks for your time

Why are you not using config.h properly but instead pass all those command line arguments?


Functionality to add new items (metadata+data) from HathiTrust (WIP)

Codecov Report

Merging #277 into develop will decrease coverage by 2.21%.
The diff coverage is 78.17%.

@@             Coverage Diff             @@
##           develop     #277      +/-   ##
===========================================
- Coverage    99.13%   96.91%   -2.22%
===========================================
  Files           88       89       +1
  Lines         4155     4344     +189
===========================================
+ Hits          4119     4210      +91
- Misses          36      134      +98


Support determining activity date from default branch

Pull Request

New Staleness criteria: latest default_branch commit
Proposed Changes

Support determining activity date from default branch rather than most recent push to any branch
ACTIVITY_METHOD defaults to the current behavior: repo.pushed_at aka "pushed"
However, I think the most recent commit to the default branch (default_branch_updated) is another valid way of determining staleness/activity.
Our organization uses dependabot, which continues to open PRs and push commits to repositories which have not had any human contribution in more than a year.
With this change, we will easily be able to surface repositories that otherwise would be missed due to bot activity keeping them "fresh".
Readiness Checklist
Author/Contributor

[x] If documentation is needed for this change, has that been included in this pull request
[x] run make lint and fix any issues that you have introduced
[x] run make test and ensure you have test coverage for the lines you are introducing

Reviewer

[x] Label as either bug, documentation, enhancement, infrastructure, or breaking

Thanks for adding this enhancement @anovadox! Appreciate you adding this!


[Task]

Description
support monitoring pop email server metrics, health, responseTime and more
Task List

[ ] support monitoring pop email server metrics
[ ] add help doc

I want to help.


hello，why can I not connect the mongodb？

Hi ! Were you able to fix this issue? What was the Mongo URL you used?

For those who run into this issue the relevant settings with basic auth do not need user:password in the mongoDB URL and you should only have the MongoDB URL of your server end at :port/ The marked over fields above look as follows on my setup and work:

URL: IP -> this is the IP of the Grafana/MongoDB API proxy you started with npm server start (probably localhost)
User: mongodb user -> Pretty straight forward, if you have auth on your mongoDB then it should be set to the user/password you configured
MongoDB URL -> mongodb://mongo_server_ip:27017/

Two things stick out to me in the above screenshot:

The user:password may or may not be interfering with the connection (but leaving it there in plaintext, why bother with a password at all then?) but you shouldn't need it.
The mongoDB url appears to include at least the database name in the URL, possibly more. Looks like this plugin concatenates all that info (including password/user) for you so leaving it right there in the URL is sure to cause connection issues.


bug: tensorboard not working

Description
the demo code from web docs is not working.
Reproduction
def tensorboard(port):
    runtime.mount(host_path="/var/log/tensorboard", envd_path="/home/envd/logs")
    runtime.daemon(commands=[
        ["tensorboard", "--logdir", "/home/envd/logs", "--port", "8888", "--host", "<IP_ADDRESS>", ">>tensorboard.log", "2>&1"],
    ])
    runtime.expose(envd_port=port, host_port=port, service="tensorboard")

def build():
    base(os="ubuntu20.04", language="python")
    install.python_packages(name=["tensorboard"])
    tensorboard(8888)

Additional Info
log inside envd container
⬢ [envd]❯ tail /var/log/horust/daemon_0_stderr.log
                   [--reload_interval SECONDS] [--reload_task TYPE]
                   [--reload_multifile BOOL]
                   [--reload_multifile_inactive_secs SECONDS]
                   [--generic_data TYPE]
                   [--samples_per_plugin SAMPLES_PER_PLUGIN]
                   [--detect_file_replacement BOOL]
                   [--whatif-use-unsafe-custom-prediction YOUR_CUSTOM_PREDICT_FUNCTION.py]
                   [--whatif-data-dir PATH]
                   {serve,dev} ...
tensorboard: error: unrecognized arguments: >>tensorboard.log 2>&1 &

I change the commands as ["tensorboard", "--logdir", "/home/envd/logs", "--port", "8888", "--host", "<IP_ADDRESS>", "serve"],, still get an err
⬢ [envd]❯ tail /var/log/horust/daemon_0_stderr.log
                   [--reload_interval SECONDS] [--reload_task TYPE]
                   [--reload_multifile BOOL]
                   [--reload_multifile_inactive_secs SECONDS]
                   [--generic_data TYPE]
                   [--samples_per_plugin SAMPLES_PER_PLUGIN]
                   [--detect_file_replacement BOOL]
                   [--whatif-use-unsafe-custom-prediction YOUR_CUSTOM_PREDICT_FUNCTION.py]
                   [--whatif-data-dir PATH]
                   {serve,dev} ...
tensorboard: error: unrecognized arguments: &

envd: v0.2.4
  BuildDate: 2022-10-31T03:09:28Z
  GitCommit: d693254c1a8b19e02aca85934818a4e7b6dde661
  GitTreeState: clean
  GitTag: v0.2.4
  GoVersion: go1.18.7
  Compiler: gc
  Platform: linux/amd64

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Hi @TaylorHere thanks for your feedback. I think it's a bug. Will fix this in #1185.


[FEATURE]: [Worldpay] Use connector_request_reference_id as reference to the connector

:memo: Feature Description

We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard.
Presently, there is a lack of uniformity in this process, as some implementations employ payment_id while others utilize attempt_id.
This inconsistency arises from the fact that payment_id and attempt_id correspond to two distinct entities within our system.

:hammer: Possible Implementation

To mitigate this confusion, we've introduced a new field called connector_request_reference_id in our RouterData.
This id should replace them as a reference id to the connector for payment request.
One might need to have exposure to api docs of the connector for which it is being implemented.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2052

:bookmark: Note : All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

Hello can you assign me this issue @VedantKhairnar @Sakilmostak

Hey @ayan-joshi ,
Sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with.
Thanks! : )

Hey @ayan-joshi , Sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with. Thanks! : )

Ok thanks I'll follow

Hi @ayan-joshi ,
Please refer to worldpay API documentation here

Hey @ayan-joshi  ,
Let us know if you face any issues. Happy to help! : )

Hey @ayan-joshi , Let us know if you face any issues. Happy to help! : )

Yes surely , for now I'm working on it


Update seminar page

This PR updates the Substrate Seminar page to include the scheduled topics through the month of September.
It also fixes a minor date formatting issue in the bottom of the page.

I don't know why circleCI isn't reporting back, but I tested that this builds locally, and we need to get the schedule published, so I'm merging. Please forgive me :pray:


Height not updating on selected view

Expected Behavior
When using animateHeight={true} the height of each container (view) should be automatically be updated according to their content.
When animateHeight={false} this problem does not occur. Every view's height is the same as the maximum view of any view, and that updates correctly when there is new content.
Current Behavior
Right now, only the currently active view will not update its height. The rest of the views update themselves correctly in terms of height.
My use case is a chat application. A new message received won't be displayed if I'm in the current view. It just won't update the height of my container. However, if I swipe to another view and back, it renders correctly along with the correct container (view) height.
I'm supplying new messages as props to a react component which uses <SwipeableViews /> to then render them. As far as I can tell, the elements do appear in DOM as they should. Just the height of the view of react-swipeable-views is not updating itself.
Steps to Reproduce (for bugs)
A small demo I made to display this problem:
https://codesandbox.io/s/clever-margulis-kswpt?fontsize=14
Open it in browser's mobile view and swipe to the left and back.
New messages received through the props should increase the height of the currently active container but they do not.
Your Environment
Browser environment.
react: 16.8.6
react-dom: 16.8.6
react-swipeable-views: 0.13.3

After taking a look at the react-swipeable-views source, I think this may be related to how updateHeight() is called.
For example, here it is called when the user swipes to the node:
https://github.com/oliviertassinari/react-swipeable-views/blob/1242299baceea36925cc98deb688d6d2e315f464/packages/react-swipeable-views/src/SwipeableViews.js#L359
And this does update the height in my demo too. However, when receiving new props this is not called, and the height does not get updated accordingly.

Maybe it would make sense to check children in componentWillReceiveProps or componentDidUpdate and then update the height of the view there with updateHeight() ?

I've opened a PR to fix this here.

Until this PR is merged, I've been able to workaround this by calling the following when I want to recompute height manually:
// Recompute height
this.swipeableViewsRef.current
        .getChildContext()
        .swipeableViews.slideUpdateHeight()

// In render
<SwipeableViews ref={this.swipeableViewsRef} {...props} />

i have this issue too, and that fix didn't work for me in a functional component :(


添加了简体中文的连接连接

adding Chinese(Simplified) link

r? @steveklabnik
Although looks like some other work may need to be done on the infrastructure? Right now the site doesn't seem to render well :(
https://www.rust-lang.org/zh-CN/

There is a syntax error (an unexpected '%').

Although looks like some other work may need to be done on the infrastructure? Right now the site doesn't seem to render well :(

Yikes!

It seems that jekyll is just straight-up copying zh-CN/index.html into the _site directory rather than doing the templating. I have no idea why.

Okay, it has to be something specific, becuase if I copy the english one over into the zh-CN folder, it does render it. wtf.

Okay, I fixed it: https://github.com/rust-lang/rust-www/pull/541
Now that it's rendering properly, I think this is a good idea. Thanks!


Coinbase Pro Support

Hi,
first of all thank you so much for this useful extension.
Coinbase announced to relaunch gdax under Coinbase Pro, may you could create an other extension for Coinbase Pro as-well? That would be great!
Regards

@qoomon currently, the API docs for Coinbase Pro link directly to those of GDAX, so this extension might actually work as is for Coinbase Pro as well.

ok great, lets hope the will not shout down gdax api in the near future 😄


[v2.2.1] Workloads associated to pipelines crash after X hours

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
I have 3 workloads which are associated with a pipeline. When the pipeline runs, everything is fine, the workloads are correctly deployed.
After X (not sure how many) hours, all the workloads crash.

.rancher-pipeline.yml: https://gist.github.com/pensiero/be8725a3a5c922376806e208fb3350d8
One of the deployment files: https://gist.github.com/pensiero/c682bef13a77b5cad11cab8cd911541f

Result:

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.2.1
Installation option (single install/HA): single install

The registry is down. So you cannot pull the images from the local registry. Can you check the log to see why it down? You can find it out in pipeline ns

Ok, as soon as it happens again I’ll check the logs and report them here.
Thanks,
Oscar

According to the docs

Feel free to reopen this if you have any question.

Thanks @gitlawr, so what you are saying is that if a long-running workload uses an image which is not in a persistent volume, then if the workload restarts, we might not be able to access to that image.
So my question is: how come the workload restarted by itself? Is it normal that from time to time workloads restart?
Thank you

@pensiero In kubernetes model, pods are considered to be relatively ephemeral (rather than durable) entities. They won’t survive scheduling failures, node failures, or other evictions, such as due to lack of resources, or in the case of node maintenance.
I don't think pods would crash frequently in a stable environment, but yes it is normal(with my definition of "normal").

Thank you


Add KaidEvolvu's file

created a branch, created a file and made a commit, and opened a pull request

attempt 1


docs(logger): change incorrect ref to db component

Change an incorrect reference to the database component in the documentation for customizing the logger component.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

Code LGTM.

Jenkins, add to whitelist.

Thanks @krancour! This was my copypaste bad. LGTM.

@carmstrong I figured.  We've all done that before.


Type inference of Intersection Types goes wrong.

TypeScript Version:
1.8.2
Code
// A self-contained demonstration of the problem follows...
someFunction<T extends ClassA & ClassB>(x : T & ClassB) : T {}

let x : ClassA & ClassB & ClassC;
let result = someFunction(x); // => Is not inferring correctly.

Expected behaviour:
result should be: "ClassA & ClassB & ClassC".
Actual behaviour:
result is: "ClassA & ClassB".

Of course it does not make sense do declare it in this way, but if it is really the case then there should be a warning or error?!

Inference actually works as expected in your example. Below I have removed the type parameter constraint:
declare function someFunction<T>(x: T & ClassB) : T;
let x : ClassA & ClassB & ClassC;
let result = someFunction(x);

This infers ClassA & ClassC for T as expected. However, when you add the constraint ClassA & ClassB you end up with an inference for T that doesn't meet the constraint (specifically, ClassA & ClassC is not assignable to ClassA & ClassB). When an inferred type isn't assignable to its constraint, we go with the constraint instead, so the resulting inference becomes ClassA & ClassB. Since the argument x is assignable to that, there is no error. As a rule we don't generate errors from the type inference process--it is simply supposed to come up with a best possible match, and then errors (if any) are generated by the assignability checks between arguments and parameters.
I'm not exactly sure what you're trying to accomplish in your example, but I'd suggest either removing the constraint or changing the parameter to x: T instead of x: T & ClassB.

Hi Anders,
actually the function signature was produced by accident not intentionally so no special purpose behind it :), I was just wondering, why the result is not the same as the input?! I can understand that in the function it is constrained by the rules you described, but if it flows out, it should be the same or not?
My understanding of inference here was, a type T flows in has some constraints and becomes internally in the function scope T' (T-prime) you work internally with T' (T-prime) if type flows out inference flow switch back to T?!

A T goes in a T comes out, why should T change?! I'm not convinced why it should be this way?! :-)

Here's the reasoning: You're passing an A & B & C to something that takes a T & B. From that we infer that T must be A & C. Then we check if that inference meets the constraint A & B you've specified. It doesn't. Since a type argument is always required to meet its constraint (because you said so), we conclude that we can't infer a type for you and revert to the constraint.
Feel free to suggest a new set of rules, but I think what we're doing makes sense.

Hi Anders,
I totally believe that what you are doing makes sense! And now I also understand this rule better.
By the way I only choose to work intensiv with Typescript because of you! :)
I like the way you are designing and reasoning about languages and I have used quite a long time C# and still using it.
And this was what I had in my mind and thought it could be deduced by the compiler.
declare function someFunction<T extends ClassA & ClassB, E>(
    a: T & ClassB, b : E) : T & E;

let x : ClassA & ClassB & ClassC;
let r = someFunction(x, x); // r : ClassA & ClassB & ClassC

My assumtion was:
Substitute direction:
That through reverse analysis in this case you could detect (x, x) is equivalent to (x), and input type and inferred type are equal therefor it follows that you could substitute E and b : E and T & E => T.
Expansion/Probing direction
In case constraints are not met and the given type (in this case: ClassA & ClassB & ClassC) is a intersection type of a certain cardinality, expand the function signature and try if substitution rules can apply.
As said this is just an assumtion and not proven, and also given the fact that this is not really the common scenario I do not know if it is worth. It was just a moment where I thought wait a second why is this not possible nothing more.


Parser for Aruba SilverPeak events

What is the sc4s version?
3.27.0
Is there a pcap available? If so, would you prefer to attach it to this issue or send it to Splunk support?
Yes, I currently have a case opened for a parser and have uploaded logs to this case.
What the vendor name?
Aruba
What's the product name?
SilverPeak
If you're requesting support for a new vendor, do you have any preferences regarding the default index and sourcetype for their events?
I currently have logs going to silverpeak index with sdwan sourcetype, but the parsing is not right.
Do you have syslog documentation or a manual for that device??
https://www.silver-peak.com/sites/default/files/userdocs/orchestrator_operators_guide.pdf
Feature Request description:
Parser for Aruba SilverPeak logs.
Do you want to have it for local usage or prepare a github PR?
local and public as I would think more might benefit for this parser, but I would like to get my logs parsed correctly as soon as possible.

Sounds good. Let me know if you need the Splunk ticket and I can send that via email. Thanks.

Yes, please provide me the ticket link.

What's your splunk email and I can send it over?

Here is the email<EMAIL_ADDRESS>

I sent the ticket information over yesterday. Thanks!

Thanks @jzcal8300
We have received the ticket and the attached files.

Solved in #2537

Solved in #2537


Can we add custom attributes to inlined scripts?

Is it possible to match a script with no src (i.e. a script that was already inlined)? The use case would be to add a nonce attribute to an inlined script.

I'm also looking to try and solve this. After a bit of testing I noticed that only scripts that are added dynamically are evaluated, ie scripts produced as part of the webpack bundling process. I'm assuming that your inline script, like mine, is part of a template so it isn't a script that is evaluated.
It may be considered out of scope but I think it'd be very useful for this library to handle not only scripts that are generated during the bundling process but also scripts that are a part of a template.

Hello - I'm sorry to say that this plugin is no longer being maintained.  I have tried to close all issues ahead of doing this but instead have found that the issue list just keeps growing.  I simply do not have the time to keep up.  Sorry.
Please keep an eye on the README where I will record anyone who forks this repo with the intention to supporting it in the future.


[Stability] Config file changes

This PR:

Moves the path creation to to_file
Adds an error type to be more verbose
Changes format from bincode to JSON

This PR does not:

Change any functionality at all

Tested these changes locally for serializing and deserializing from json ✅


Better way to prohibit changes to multiple targets

Is your feature request related to a problem? Please describe.
We have 3 clusters behind an app gw. Each cluster has multiple hosts exposed. For each cluster I now have to create ProhobitedTargets for each of the hostnames in the other two clusters. This is a bit cumbersome.
Describe the solution you'd like
I would be fine with either of the two solutions:

Allow for automatically prohibiting changes to hostnames not present in the current cluster
Allow specifying multiple hostnames for a ProhibitedTarget, preferably with a regular expression

Hi @pbloigu , are all of your 3 clusters are AKS clusters?

Hi @pbloigu , are all of your 3 clusters are AKS clusters?

Yes they are. Do you have a better approach in mind to achieve what I described that already works with AGIC as it is? I would love to hear about it as I'm in the midst setting up the environments right now. Changing the environment later on will be harder as they're in active use.

No, you will have to configure the prohibited policy on each of the cluster, or you could use one appgw per cluster without any prohibited targets?

We want to use one application gateway for multiple teams/AKS clusters. One team does not know which URLs the other teams use. For this use case and generally for an easier configuration it would be great to have AzureIngressAllowedTargets with wildcards that can be defined per cluster.

Hello,
any milestone to deliver this feature? we have exactly the same need as @pbloigu

hello @Azure
Is there any plan on delivering this functionality?
or
has it been delivered already? if yes, please direct to link for ref
Gracias

We're still suffering with the same , I think azure should take responsible action on this .
At least a wildcard entry support should be there to save efforts and risk.
Sometimes cloud team forgets to add the entries and it gets deleted by AGIC and it affects the production environment.
@Azure please provide ref if any update available or developed in the market
Thanks,
Umesh


Selenium's method connectionTimeout(Duration) is called but doesn't exist

The problem
Just using the open("/url")-method crashes with
java.lang.NoSuchMethodError: 'org.openqa.selenium.remote.http.ClientConfig org.openqa.selenium.remote.http.ClientConfig.connectionTimeout(java.time.Duration)'

Details
With commit e11f2b40499ba0a64f4acc541ee038af771094c5 the connectionTimout became configurable. For this, the Selenium-method ClientConfig.connectionTimeout(java.time.Duration) is called (see SelenideNettyClientFactory.java line 23).
However, the this method does no longer exist in Selenium. It was removed from Selenium with commit 1990a43a745669e87acb39331a0742979ecc728a.
Downgrading to Selenide version 6.8.1 solves the problem for me.
Tell us about your environment

Selenide Version: 6.9.0
Chrome\Firefox\IE Version: Firefox 106.0.5
Browser Driver Version: 0.32.0
Selenium Version: 4.5.0
OS Version: Windows 10 21H2

Code To Reproduce Issue [ Good To Have ]
open("/url")

@chklump Apparently, you are using too old version of Selenium.
This method was later restored in commit https://github.com/SeleniumHQ/selenium/commit/9b012df78dbbfd84d8fef06308f40fbf6a29455b

Ah, you're right. I've been using spring-boot-starter-parent as a maven parent-pom and this pinned the selenium-version to 4.1.4. I wasn't aware of that.
Thanks for clarifying and sorry for bothering.


Add the ability to execute sas code in distinct compute sessions

Is your feature request related to a problem? Please describe.
Right now, all sas code executed uses one compute session. The issue with this is that it provides some dissimilarities from the jupyter notebook experience (where each code cell is a distinct process), and it leaves us with a compute session with data that may not be "clean" for a run
Describe the solution you'd like
Provide an option to give users the ability to execute each piece of sas code using a distinct compute session
Additional context
NOTE: At the moment, libraries and tables are connected to a compute session. Some consideration will need to be made if we go with a multi compute session approach

I don't see Jupyter notebook run each cell in distinct process. Each notebook run on a single kernel process. So if I have a variable in the first cell, I can definitely use it in the 2nd cell. This is an important usage of notebook, that you can split your code into small steps with markdown documentations in between.
Did you mean different files rather than cells?

You're right. I mistyped

Did you mean different files rather than cells?

This is exactly what I meant


ImportError: cannot import name 'build_dataset' from 'mmdet.datasets'

After following the mmdetection:3.x documentation, I've followed the following:
!pip3 install openmim
!mim install mmengine
!mim install "mmcv>=2.0.0,<2.1.0"
Subsequently, I followed the Instance Segmentation notebook as it is. I was able to download and import the config file, the checkpoint file, do necessary changes on that front.
however, while I try to run the following code as it is taken from the semantic segmentation colab tutorial:
from mmdet.datasets import build_dataset
from mmdet.models import build_detector
from mmengine.runner import Runner
build the runner from config
runner = Runner.from_cfg(cfg)
I see the above error, the same error also applies to mmdet.models
I tried checking out if the change-logs have any relevant information, I couldn't find any.
Please help me and the same error can be reproduced by following the instance segementation colab tutorial.
Thanks in advance!

I faced the same problem while trying to utilize the MMDet_InstanceSeg_Tutorial.ipynb tutorial file and trying to execute the following code:
from mmdet.datasets import build_dataset
from mmdet.models import build_detector
from mmengine.runner import Runner
# build the runner from config
runner = Runner.from_cfg(cfg)
Error: ImportError: cannot import name 'build_dataset' from 'mmdet.datasets'
My environment was set up with the following installations:
Torch version: 2.0.0 with CUDA support
MMDetection: 3.0.0
MMCV: 2.0.0
MMEngine: 0.7.3
Given that this issue has persisted for over a month without a resolution, I'm eager to know if anyone has discovered a solution to this problem.

I encountered the same issue and solve it by using the 2.X old version of mmdetection. I know it's not an ideal solution but at least the tutorials can work there. I think mmdetection hasn't update their tutorial after mmcv upgrade to 2.0 and mmcv changed many package locations, incurring these issues. For those who want to try the old version, just switch to the 2.x branch in the repo and reinstall mmcv by "mim install mmcv-full"

Sure, here's my env:
• Torch version: 1.12.1
• CUDA compiler version: 10.2
• MMDetection version: 2.28.2
• MMCV-full version: 1.7.0
• MMEngine version:  0.7.3
• Python version: 3.8.16
• Operating system platform:  Ubuntu 18.04.3 LTS
GCC version: 7.3
GPU: GeForce GTX 1080 Ti
And i only run demo/MMDet_Tutorial.ipynb successfully, and i haven't tried the other two tutorial files.
I run it on ubuntu and i not sure whether mmdetection support windows11.

im also facing same issue,running it on collab

@hhaAndroid  which version should we try? seems like .ipynb is not working & the codebase is changed

Try to use mmdetection version .

This is from the MMDetection V3.0.0rc4 Release mmdet/datasets/builder.py (https://github.com/open-mmlab/mmdetection/releases/tag/v3.0.0rc4):
def build_dataset(cfg, default_args=None):
    from mmengine.dataset import ClassBalancedDataset

    from .dataset_wrappers import MultiImageMixDataset

    if cfg['type'] == 'ClassBalancedDataset':
        dataset = ClassBalancedDataset(
            build_dataset(cfg['dataset'], default_args), cfg['oversample_thr'])
    elif cfg['type'] == 'MultiImageMixDataset':
        cp_cfg = copy.deepcopy(cfg)
        cp_cfg['dataset'] = build_dataset(cp_cfg['dataset'])
        cp_cfg.pop('type')
        dataset = MultiImageMixDataset(**cp_cfg)
    elif isinstance(cfg.get('ann_file'), (list, tuple)):
        dataset = _concat_dataset(cfg, default_args)
    else:
        dataset = DATASETS.build(cfg, default_args=default_args)

    return dataset

mim install mmdet==3.0.0rc4
maybe u can use this command to change the verson of mmdet

I made a notebook to fine tune the RTMDet model on the balloon dataset, MMdet Balloon Segmentation, it's basically the same as the tutorial steps and it works fine on the colab platform, hope that helps!

@SteveMama Please update to v3.1.0

I am facing the same issue. Can someone explain why this is happening and how to solve it? Any context can help understanding the issue please..

following up with @ytzfhqs answer, would you like to adapt the visualization bit as well? I used your notebook but had issues with visualization there since its 2.x based.
based on the 3.x docs, this works fine for me:
from mmengine.visualization import Visualizer
import mmcv
from mmdet.apis import init_detector, inference_detector
import glob
import numpy as np

image = mmcv.imread('./ballondatasets/balloon/train/120853323_d4788431b9_b.jpg',channel_order='rgb')

checkpoint_file = glob.glob('./work_dir/epoch_50.pth')[0]

## get results from model
model = init_detector(cfg, checkpoint_file, device='cuda:0')
new_result = inference_detector(model, img)
# print('new_result', new_result)

## extract boxes, masks, scores, and lables :
pred_bboxes = new_result.pred_instances.bboxes
pred_labels = new_result.pred_instances.labels
pred_scores = new_result.pred_instances.scores
pred_masks = new_result.pred_instances.masks

## lets filter them using a threshold
confidence_threshold = 0.9
# Move tensors to CPU and convert to numpy
pred_scores_np = pred_scores.cpu().numpy()
# Identify the indices that satisfy the threshold
filtered_indices = np.where(pred_scores_np > confidence_threshold)[0]
# Use these indices to filter the predictions
filtered_bboxes = pred_bboxes[filtered_indices].cpu().numpy()
filtered_labels = pred_labels[filtered_indices].cpu().numpy()
filtered_scores = pred_scores_np[filtered_indices]
filtered_masks = pred_masks[filtered_indices].cpu().numpy()

visualizer = Visualizer(image=image)

# draw multiple bboxes
# single bbox formatted as [xyxy]
visualizer.draw_bboxes(filtered_bboxes, edge_colors='r',
                       line_widths=3, line_styles = '--')
## to draw a box formatted as [xyxy]
# visualizer.draw_bboxes(torch.tensor([[33, 120, 209, 220], [72, 13, 179, 147]]))

# visualizer.draw_binary_masks(new_result.pred_instances.masks) ## this also works
visualizer.draw_binary_masks(filtered_masks, colors=(255, 150, 50), alphas=0.35)

visualizer.show()

Many thanks :)

visualizer.draw_bboxes(filtered_bboxes, edge_colors='r',
line_widths=3, line_styles = '--')
@MjdMahasneh I referenced the old tutorial when writing this new one so I may have overlooked a few things, thank you very much for pointing this out, I will instantly revise the tutorial above and update this suggestion in PR.

Amazing, thank you :)

following up with @ytzfhqs answer, would you like to adapt the visualization bit as well? I used your notebook but had issues with visualization there since its 2.x based.
based on the 3.x docs, this works fine for me:
from mmengine.visualization import Visualizer
import mmcv
from mmdet.apis import init_detector, inference_detector
import glob
import numpy as np

image = mmcv.imread('./ballondatasets/balloon/train/120853323_d4788431b9_b.jpg',channel_order='rgb')

checkpoint_file = glob.glob('./work_dir/epoch_50.pth')[0]

## get results from model
model = init_detector(cfg, checkpoint_file, device='cuda:0')
new_result = inference_detector(model, img)
# print('new_result', new_result)

## extract boxes, masks, scores, and lables :
pred_bboxes = new_result.pred_instances.bboxes
pred_labels = new_result.pred_instances.labels
pred_scores = new_result.pred_instances.scores
pred_masks = new_result.pred_instances.masks

## lets filter them using a threshold
confidence_threshold = 0.9
# Move tensors to CPU and convert to numpy
pred_scores_np = pred_scores.cpu().numpy()
# Identify the indices that satisfy the threshold
filtered_indices = np.where(pred_scores_np > confidence_threshold)[0]
# Use these indices to filter the predictions
filtered_bboxes = pred_bboxes[filtered_indices].cpu().numpy()
filtered_labels = pred_labels[filtered_indices].cpu().numpy()
filtered_scores = pred_scores_np[filtered_indices]
filtered_masks = pred_masks[filtered_indices].cpu().numpy()

visualizer = Visualizer(image=image)

# draw multiple bboxes
# single bbox formatted as [xyxy]
visualizer.draw_bboxes(filtered_bboxes, edge_colors='r',
                       line_widths=3, line_styles = '--')
## to draw a box formatted as [xyxy]
# visualizer.draw_bboxes(torch.tensor([[33, 120, 209, 220], [72, 13, 179, 147]]))

# visualizer.draw_binary_masks(new_result.pred_instances.masks) ## this also works
visualizer.draw_binary_masks(filtered_masks, colors=(255, 150, 50), alphas=0.35)

visualizer.show()

Many thanks :)

I'm very glad that my notebook could help you, I'll update the code for the visualisation section in a later notebook, thanks for the heads up!

I made a notebook to fine tune the RTMDet model on the balloon dataset, MMdet Balloon Segmentation, it's basically the same as the tutorial steps and it works fine on the colab platform, hope that helps!

I tried using maskedRcnn in your colab by changing the config files but didn't work , any tips?

@kushiluv It is recommended to check that the configuration file has been changed correctly, this may not be an error in the framework itself. Please refer to Mask R-CNN Det Tutorial.I hope this helps.

@kushiluv It is recommended to check that the config file has been changed correctly, this may not be an error in the framework itself. Please refer to Mask R-CNN Det Tutorial.If your problem is solved, please let me know what caused the error for you, it will help me to improve the tutorial file, thanks!


Clarify that this sends your markdown to GitHub

The current wording allows for the misinterpretation that the rendering is being done locally.
"Github markdown API" could mean a library published by GitHub, and "The styles come directly from GitHub" could mean just the CSS stylesheet.
This should be corrected, because if misinterpreted this way it leads to 2 false assumptions:

Your data is not being sent to a third party
This will work offline

I know information later in the readme talks about API rate limits and such, but many people won't read past the Usage section (myself included apparently). I think in particular the repeated mentions of a "local readme file" gave me this mistaken impression.
I think mentioning REST and saying that the rendering is done by GitHub is sufficient, but there may be some other change that clarifies this better.

Ha! Yes please! Not a problem for me, but I was definitely misled at first.

This sounds good to me. Good suggestion!
One minor tweak maybe. Could you remove the "REST" addition? It's slightly noisier and doesn't make much of a difference to the reader if it's sent using the REST API vs the Graphql one.
Also, any chance can you rebase this onto master latest?


Want fallback on thread creation failure

It seems that openblas just dies when pthread_create fails.  It should instead continue execution with the threads already created, or at least it should fall back on the single-thread mode.  pthread_create often fails on a many-core machine if an application is launched in parallel.

Thank for the suggestion. I will implement this feature.

Any news on this feature?

@groutr , I didn't implement it yet.

I merged the patch, which raises a signal when pthread_create fails.
70642fe4ed4ffd74d305cd5c76cd6425dba4bbd1
Is it enough for this feature request?

I'm afraid the patch is making situation worse.
When raise(SIGINT) is called, a signal handler is called back.
The signal handler returns, and then raise(SIGINT) returns with 0.
The for-loop in which raise(SIGINT) was called continue creating
threads, assuming, without any check, the stillborn thread has somehow
been treated with by the signal handler.
Since this is a BLAS library, it is often the case that it is
embedded in an application without specific preference to OpenBLAS,
and the application may have installed a signal handler
that is unrelated to OpenBLAS...maybe for the sake of the application itself.
What if such a handler is called by raise(SIGINT)?
OpenBLAS will resume execution with some working threads left dead.
Application authors therefore must make sure that they have installed
an appropriate signal handler, or that no signal handler has
been installed, before calling BLAS functions.
Furthermore, if application authors are aware that they
must write a signal handler, they have nothing they can do
in the handler. For instance, a signal handler cannot access
blas_threads[i], in which a handle to the stillborn thread
has been stored; since 'blas_threads' is a static global variable and 'i' is
an auto variable. The signal handler can nothing but call exit()
because, if the handler returns, OpenBLAS will behave insanely.
(The handler cannot perform longjmp() either. The behavior is undefined)

Revisiting this (and associated PR #668), wouldn't a better error behaviour be to

set blas_num_threads to the number successfully created up to that point
write a message to stderr
continue running with what we have ?
Additionally, it seems #668 made no attempt to handle the other potential source of pthread_create()
failures, in goto_set_num_threads().

is there any workaround for the moment ?

Depends on your use case, trivially you could build OpenBLAS single-threaded.
Otherwise perhaps reverting the patch and removing the "exit" statement from the previous code will be a start, and/or checking in your own code if thread creation can be expected to work before calling OpenBLAS.
Does what I sketched out in my earlier message two weeks ago sound plausible ?


[hotfix] Update nodes which may have previously shared a piwik_site_id with another node

I've no idea why this Travis build failed. @sloria, do you have any insight before I start digging into it?

@lyndsysimon The failure is unrelated to your code changes. I've fixed the tests on master.

@sloria -- Deployed to Production yet? TY

@lbanner The migration is now in progress.


Cluster info & leaf node details

I am exploring NATS, and nats-nui has been helpful in managing things through the UI. I believe that adding cluster information and leaf node details would improve the ability to manage the cluster runtime effectively

yep, for sure add some metrics capabilities in the UI is in the roadmap, both to see cluster info and client connections, but we have limited time-bandwidth 🐰


Code cleanup

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (911dde4) 65.16% compared to head (9aa59f4) 65.16%.

Files
Patch %
Lines

parsesyslog.go
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   65.16%   65.16%
=======================================
  Files           5        5
  Lines         534      534
=======================================
  Hits          348      348
  Misses        144      144
  Partials       42       42

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


CMake Support

Hi, I was wondering whether there are any plans to add cmake integration/support in the near future, or at all?
I feel I don't need to elaborate on why cmake is a good (and IMHO better) option to maintain the project's structure and build process.

We have a CMakefile for OpenThread in https://github.com/openthread/ot-rtos/blob/master/third_party/openthread/CMakeLists.txt
I don't think it a bad idea to add native support. Thoughts? @jwhui @abtink @gjc13

@bukepo Hmm, didn't notice that - Never would've thought it'll be under the third_party dir.
However it'll be nice to have CMake a 1st-grade citizen here.

@MrPointer, thank you for submitting this issue.
I think it's worth considering CMake support. I just submitted #4112 to help drive the discussion on what that would look like.

Resolved by #4112.


fix: update build.gradle to not strip symbols for *.so files

Description
Part of https://github.com/shorebirdtech/shorebird/issues/2369
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 🧪 Tests
[ ] 📝 Documentation
[ ] 🗑 Chore

Deprecation: https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/PackagingOptions#doNotStrip()

https://gitlab.com/fdroid/fdroid-website/-/issues/717

https://github.com/expo/expo/discussions/16244


Force vertical scrollbars on profile v3, even if not enough content

Who is this PR for?
educators
What problem does this PR fix?
There's a slight jump in layout when navigating between tabs if there isn't enough vertical content (eg, no notes) to require a scrollbar.  With no scrollbar, the width changes and layout hops a bit.
What does this PR do?
Always adds vertical scrollbar to the body on profile v3.

selfie


feat(PE-6345): paginated records, gateways, and balances api's

Related Contract PRs:

https://github.com/ar-io/ar-io-network-process/pull/14
https://github.com/ar-io/ar-io-network-process/pull/21
https://github.com/ar-io/ar-io-network-process/pull/23

ArNS Updates (WIP):

https://github.com/ar-io/arns-react/pull/487

Network Portal (WIP):

https://github.com/ar-io/network-portal/pull/42

Codecov Report
Attention: Patch coverage is 0% with 9 lines in your changes missing coverage. Please review.

Project coverage is 52.43%. Comparing base (8468af8) to head (bc4bfe3).

Files
Patch %
Lines

src/common/io.ts
0.00%
9 Missing :warning:

Additional details and impacted files
@@               Coverage Diff               @@
##           ant-emitter     #138      +/-   ##
===============================================
- Coverage        52.88%   52.43%   -0.45%
===============================================
  Files               29       29
  Lines             1057     1066       +9
  Branches           192      205      +13
===============================================
  Hits               559      559
+ Misses             498      487      -11
- Partials             0       20      +20

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@kunstmusik / @kunstmusik - the APIs will require changes on the arns.app and network portal. let me know what you're thoughts on the response types are and any recs you may have.

:tada: This PR is included in version 2.0.0-alpha.10 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Is it needed to add a decorator like Flask.on_app_start ?

There is a similar question at http://stackoverflow.com/questions/25504149/why-does-running-the-flask-dev-server-run-itself-twice.
But i do not think it is my case. I just save all
codes before run the server, but it still goes twice !
I do not want to use Flask.before_first_request, for i want it run
on startup , not wailt util a request comes in.
I write a small app with flask and celery.
I add some periodic tasks and they work well.
And I want a task run when the app starts,
but I find celery receives it and run it twice,
why?
my config.py is
BROKER_URL = 'redis://localhost:6379/0'
BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 3600}  \# 1 hour.
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
BROKER_TRANSPORT_OPTIONS = {'fanout_prefix': True}
CELERY_ACCEPT_CONTENT = ['pickle', 'json', 'msgpack', 'yaml']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TIMEZONE = 'Asia/Shanghai'
CELERY_ENABLE_UTC = True

CELERYBEAT_SCHEDULE = {
    'delcookiefiles-every-1-hour': {
        'task': 'TiebaTools.tasks.del_cookiefile',
        'schedule': timedelta(hours=1),
    },
    'daily_sign': {
        'task': 'TiebaTools.tasks.daily_sign',
        'schedule': crontab(minute=30, hour=0),
    },
}
...

my proj/TiebaTools/__init__.py is
...
app = Flask(__name__, instance_relative_config=True)
app.config.from_object('config')
app.config.from_pyfile('config.py')

\# integrae sqlalchemy
db.init_app(app)

\# integrae Celery
cel.conf.update(app.config)
TaskBase = cel.Task

class ContextTask(TaskBase):
    abstract = True

    def __call__(self, *args, **kwargs):
        with app.app_context():
            return TaskBase.__call__(self, *args, **kwargs)

cel.Task = ContextTask
...

my proj/run.py is
from TiebaTools import app, db
from TiebaTools.tasks import daily_sign
with app.app_context():
    db.create_all()

daily_sign.delay()
app.run()

I run the app as below
redis-server (in one terminal)
venv/bin/celery worker -B -A TiebaTools.cel --loglevel=info (in second terminal)
venv/bin/python run.py (in third terminal)

after first two commands execute, all go well, no task received.
But after the third command executes, message as below comes out in the second terminal.
[2016-01-24 21:03:43,989: INFO/MainProcess] Received task: TiebaTools.tasks.daily_sign[7f229395-b403-4d4b-9d6f-a009b603f9f6]
[2016-01-24 21:03:43,991: WARNING/Worker-6]
DEBUG in tasks [/home/dyh/svn/Tieba-Tools/TiebaTools/tasks.py:99]:
update_all_tblist task starts !

[2016-01-24 21:03:43,991: DEBUG/Worker-6] update_all_tblist task starts !
[2016-01-24 21:03:44,013: INFO/MainProcess] Task TiebaTools.tasks.daily_sign[7f229395-b403-4d4b-9d6f-a009b603f9f6] succeeded in 0.0229967209888855s: '{"result": "none TiebaList to sign !"}'
[2016-01-24 21:03:44,346: INFO/MainProcess] Received task: TiebaTools.tasks.daily_sign[fca044d1-29d8-4910-b71b-a7fc44d8a9a1]
[2016-01-24 21:03:44,347: WARNING/Worker-3]
DEBUG in tasks [/home/dyh/svn/Tieba-Tools/TiebaTools/tasks.py:99]:
update_all_tblist task starts !

[2016-01-24 21:03:44,347: DEBUG/Worker-3] update_all_tblist task starts !
[2016-01-24 21:03:44,368: INFO/MainProcess] Task TiebaTools.tasks.daily_sign[fca044d1-29d8-4910-b71b-a7fc44d8a9a1] succeeded in 0.02192131800984498s: '{"result": "none TiebaList to sign !"}'

So, what's wrong? Finally I set DEBUG=False to resolve it . But how can I debug
or is it a bug , or is it needed to add a decorator like Flask.on_app_start ?

It runs twice because in debug mode the reloader is enabled by default, so the code is immediately reloaded the first time you start and the code to schedule the task runs again.  When running the dev server with the reloader, you can check if WERKZEUG_RUN_MAIN is not set.
if os.environ.get('WERKZEUG_RUN_MAIN') is None:
    print('once')

However, there's no way in general to guarantee that the Flask app only runs once.  Any WSGI server can chose how it executes code, handles multiple threads/processes, etc.  You need to add some sort of check, for example using a timestamp in that redis server you started, to make sure the task doesn't run too often, or separate scheduling the task from starting the app.

I see , thank you very much for your quick answer.


Impossible to install

I get the following error when I executed "composer install" :
`Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
PHP Fatal error:  Type of App\Filament\Widgets\CategoryChart::$chartId must be ?string (as in class Leandrocfe\FilamentApexCharts\Widgets\ApexChartWidget) in /Users/sisifo/Sites/dinero/app/Filament/Widgets/CategoryChart.php on line 10

Symfony\Component\ErrorHandler\Error\FatalError
Type of App\Filament\Widgets\CategoryChart::$chartId must be ?string (as in class Leandrocfe\FilamentApexCharts\Widgets\ApexChartWidget)
at app/Filament/Widgets/CategoryChart.php:10
6▕ use App\Models\Category;
7▕ use App\Models\Transaction;
8▕ use Leandrocfe\FilamentApexCharts\Widgets\ApexChartWidget;
9▕
➜  10▕ class CategoryChart extends ApexChartWidget
11▕ {
12▕     /**
13▕      * Chart Id
14▕      *
Whoops\Exception\ErrorException
Type of App\Filament\Widgets\CategoryChart::$chartId must be ?string (as in class Leandrocfe\FilamentApexCharts\Widgets\ApexChartWidget)
at app/Filament/Widgets/CategoryChart.php:10
6▕ use App\Models\Category;
7▕ use App\Models\Transaction;
8▕ use Leandrocfe\FilamentApexCharts\Widgets\ApexChartWidget;
9▕
➜  10▕ class CategoryChart extends ApexChartWidget
11▕ {
12▕     /**
13▕      * Chart Id
14▕      *
  +1 vendor frames

2   [internal]:0
Whoops\Run::handleShutdown()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255`

Try to reproduce but everything works fine.

The problem was in php version, I had 8.3.
I swapped to 8.1 and I have installed without problem.
Thanks.


Unable to find Reddit post

Hi,
I'm trying to proof my Reddit account, but it keeps failing saying it cannot find the post.
Here's the link to the post: https://www.reddit.com/r/KeybaseProofs/comments/6fs11q/my_keybase_proof_redditsinnerman73/
Did I miss something?
Regards,
Arie

Hi, your Reddit account is probably shadowbanned.


Added release() function to connection to enable better-behaved pooled connections.

    DB_POOL.getConnection().then(function(connection) {
        connection.query('SELECT * FROM characters WHERE uid = ?', [id]).then(function(rows) {
            // Release the connection back into the pool
            connection.release();

            ...

        });
    });

I'm sorry I've not done anything with this yet. I am aware of the pull
request, I just need to run some tests before I can merge
On Sun, 21 Aug 2016 at 03:04 Dan Hulton<EMAIL_ADDRESS>wrote:

DB_POOL.getConnection().then(function(connection) {
    connection.query('SELECT * FROM characters WHERE uid = ?', [id]).then(function(rows) {
        // Release the connection back into the pool
        connection.release();

        ...

    });
});

You can view, comment on, or merge this pull request online at:
https://github.com/lukeb-uk/node-promise-mysql/pull/22
Commit Summary

Added release() function to connection to enable better-behaved
pooled connections.

File Changes

M lib/connection.js
https://github.com/lukeb-uk/node-promise-mysql/pull/22/files#diff-0
(4)

Patch Links:

https://github.com/lukeb-uk/node-promise-mysql/pull/22.patch
https://github.com/lukeb-uk/node-promise-mysql/pull/22.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lukeb-uk/node-promise-mysql/pull/22, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AEjy1NlyQRGTIOE5kmiwnJ2mltHsS-Ldks5qh7I6gaJpZM4JpNN0
.

Thanks!

First off, thanks for your support in creating and maintaining this library. Question regarding the connection pools,
const pool = await mysql.createPool(...);
const connection = await pool.getConnection();
await connection.query(...);
await connection.release();

This would be the workflow, in an async-await environment for taking a connection from a pool, querying against it, and then returning the connection back to the pool so it may be consumed by other services?

I believe that is correct, yes.
On Thu, 24 Aug 2017, 19:14 Patrick Zawadzki<EMAIL_ADDRESS>wrote:

First off, thanks for your support in creating and maintaining this
library. Question regarding the connection pools,
const pool = await mysql.createPool(...);
const connection = await pool.getConnection();
await connection.query(...);
await connection.release();
This would be the workflow, in an async-await environment for taking a
connection from a pool, querying against it, and then returning the
connection back to the pool so it may be consumed by other services?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/lukeb-uk/node-promise-mysql/pull/22#issuecomment-324714578,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEjy1GhYo5lxdCYGP_TDEKfcKar2uv2Oks5sbb2QgaJpZM4JpNN0
.


Can I use Chinese?

I am currently using a Chinese image file. Do you support Chinese text extraction?

A Flutter plugin to use Google's ML Kit Text Recognition to recognize text in any Chinese, Devanagari, Japanese, Korean and Latin character set.


[runtime][hip] Abort when error in worker thread

This is a temporary improvement on the problem that if there is a failure in a worker thread the execution may hang. It is better to crash the whole process than to hang indefinitely.
I tried to address the problem properly by implementing error propagation to downstream semaphores but this turned out to be more difficult than expected and will likely require more significant refactoring. See: https://github.com/iree-org/iree/issues/17962

@benvanik, I ran into the hanging issue when debugging the multi-device execution scenario. I know that the aborts are bad, but the proper fix I was working on led to one thing after another and it turned out to be a more significant refactoring that I will not complete quickly as I excepted. I decided on this temporary solution.

Temporary solutions can live out of tree, so if this is just something to help you then you can carry it locally (or it can be a compile-time to abort on first error, disabled by default). If you are hitting issues that are expected and still hitting this case then we should ensure those work properly (we don't want errors happening in the pending actions queue unless absolutely unknowable or prohibitively inefficient to know earlier). If you're hitting exceptional cases that are unexpected then you can use this kind of thing locally to debug while you're developing. Either way we need to fix this properly.


Allow to use different port for backend

i'm hearing this might be an issue if someone already has something running on 8000.

Could probably do something like this for setting the proxy between backend to frontend https://stackoverflow.com/questions/39649298/set-proxy-in-package-json-to-env-variable/71312471#71312471

Not sure how important this is but carlos said it could be useful. only do this if it's easy


Normalize and add error messages for unterminated literals

This PR normalizes error messages for unterminated literals to start with an uppercase letter and use a lower case letter for the literal type. It also fixes reported literal type which was previously string for any percent literal.  It adds some specs for several literals.

Look at circleCI: this actually broke the build but broke it in a way where it exited 0. Please fix the compiler specs!

I'll fix the missing specs. But how is it possible that it exits with 0?

@straight-shoota we should probably exit with an error code if any at_exit handlers fail to run.

Also, I can't reproduce the Index out of bounds with crystal 0.23.0+313 (0.24.0) on WSL Ubuntu 14.04


NCCL and compatibility with AWS EFA

Hi! I wanted to surface a quirk of running jax on an AWS GPU cluster in case it's helpful — jax's vendored NCCL doesn't play well with AWS Libfabric EFA due to the way that jax starts processes (issue here). I know this is really an AWS-side issue but it might be helpful to have it documented somewhere on the jax side as well since it stalled me for two days, and could possibly be helpful to debug issues. It's supposedly fixed in the newest version of EFA, but I still had to set FI_EFA_FORK_SAFE=1 to get anything working for multinode, multiprocess jax.
Relatedly, it'd be super useful to have a little utility function to surface what version of NCCL jax is running with—or maybe there's a way to do this and I'm just missing it. I'm working in envs with multiple versions of NCCL floating around and considered building jaxlib against a different version at some point so it would be useful!
Feel free to close this if you decide against these suggestions, I thought it'd be helpful to document it for searchability in case others are running jax on specifically AWS clusters.

Hi @mathemakitten stumbled on this issue while researching on Jax, the latest efa nccl plugin supports multiple NCCL version with a single build. https://github.com/aws/aws-ofi-nccl, if you checkout the installation guide, it no longer requires a fixed nccl version.  Unfortunately you still have to set the environment variables manually. Hope this helps!

An update here: JAX no longer vendors a copy of NCCL. If you use the pip installation of JAX, we'll install NCCL via a pip package (nvidia-nccl-cu12). If the pip package isn't installed, then we'll use whatever NCCL library is in your LD_LIBRARY_PATH.
This means that it's easy to use an AWS-specific NCCL, if that's something you want to do: just make sure to remove the pip package version of NCCL and install the AWS version.
(We should document this.)


Password access

Just a thought. I would like to have access to my server from outside my network, to upload jobs while I am at work (for work!). I can forward to port to my RPi but there is no security as it just passes through. Could Repetier-Server have some form of simple password if the request comes from a specific IP address? Or rather asks for a password for non-white listed IP's?
Maybe even going as far as different passwords for levels of access - full, upload, start prints, cancel prints, view only.

Thank you, this installation was quite easy :)


How to get the reported results on SVHN in the paper.

Hi,
Thank you for sharing your excellent work in SSL. I ran your code for CIFAR-10 and CIFAR-100, and they all perform good, and even better than the reported ones.
While I changed some necessary parts of CIFAR-10 to set an experiment on SVHN, including the dataloading, re set the mean std to 0.5, and eliminate the flip augmentation. However, the result seems far behind the reported one (around 90% accuracy). Can you please give me some suggestions or just share the source code for reproducing SVHN results?
Thanks a lot!

Hello,
There are very few modifications in the experiments in SVHN. The most important one is the length of the warm-up phase, in this case, we pretrain the model in the labeled samples for 150 epochs (reducing the learning rate in the epochs 50 and 100). Apart from that, there is the change you mentioned in the transformations regarding the flips and the mean and standard deviation to normalize the images. I share the values we used:
mean = [x / 255 for x in [127.5, 127.5, 127.5]]
std = [x / 255 for x in [127.5, 127.5, 127.5]]
Let me know for any other questions you might have.

Hello,
There are very few modifications in the experiments in SVHN. The most important one is the length of the warm-up phase, in this case, we pretrain the model in the labeled samples for 150 epochs (reducing the learning rate in the epochs 50 and 100). Apart from that, there is the change you mentioned in the transformations regarding the flips and the mean and standard deviation to normalize the images. I share the values we used:
mean = [x / 255 for x in [127.5, 127.5, 127.5]]
std = [x / 255 for x in [127.5, 127.5, 127.5]]
Let me know for any other questions you might have.


Updated MainNet bootstrap files

What current issue(s) does this address, or what feature is it adding?
Used new bootstrap files that @localhuman posted in discord.
How did you solve this problem?
Changing the mainnet protocol file.
How did you make sure your solution works?
Manual test
Are there any special changes in the code that we should be aware of?
No
Please check the following, if applicable:

[ ] Did you add any tests?
[X] Did you run make lint?
[X] Did you run make test?
[X] Are you making a PR to a feature branch or development rather than master?
[X] Did you add an entry to CHANGELOG.rst? (if not, please do)

Coverage remained the same at 79.46% when pulling 012a9beb6b6e6885422e03fc1f48df7a815e067e on fixtures into 4ccd9d5d329ceef72f05dd969819b70ced9f4173 on development.


Mermaid is not rendering

Firstly, great project John! I wish I saw it earlier - I created 6 websites in Zola just to do the same thing.
Obsidian supports mermaid, but the current mkdoc output isn't.
graph LR
        A[Knowledge Representation] --> B[model]
        B--> C[Ontology]
        B -->D[Data model]
        A-->E[Classification system]
        E -->F[Taxonomy]
        E -->G[Subject classification system]

The fix to my knowledge is to add  <script<EMAIL_ADDRESS>integrity="sha384-0yWn54pSGtfKCU+skfA69l25VsCw+MZt4LQov3xNRoS7YkAMrFokGgSBnAWSK4pv" crossorigin="anonymous"></script> or mermaid2 into plugins or
extra_javascript:
    -<EMAIL_ADDRESS>
I have no preference, your choice.

Thanks for the fix and the PR, @AlexMikhalev!


Greeter example doesn't work with latest Nuget assemblies

What version of gRPC and what language are you using?
1.3.6, C#
What operating system (Linux, Windows, …) and version?
Windows 10 build 14393.693
What runtime / compiler are you using (e.g. python version or version of gcc)
Visual studio 2015, .Net 4.5
What did you do?
Follow the Quickstart instructions here (which checks out from the 1.0.x branch) http://www.grpc.io/docs/quickstart/csharp.html the Greeter client/server demo apps work correctly.
Then update Nuget libraries, which installs Grpc 1.3.6, and run example apps again.
What did you expect to see?
Example apps running as before.
What did you see instead?
Unhandled exception in the client app:
An unhandled exception of type 'Grpc.Core.RpcException' occurred in mscorlib.dll
Additional information: Status(StatusCode=Unavailable, Detail="Connect Failed")

You're right saying that we should update the Quickstart page to refer to a newer branch than v1.0.x (which is ~9months old).
Nevertheless, I've tried to reproduce based on your instructions and everything worked just fine.
Actually, you'll get the An unhandled exception of type 'Grpc.Core.RpcException' occurred in mscorlib.dll Additional information: Status(StatusCode=Unavailable, Detail="Connect Failed") error when you run the client without starting a server first - did you forget to run the server?

Closing as I cannot reproduce the problem.


Missing description

I'd be cool to explain what NFImageView does in the Readme.
I created this iOS Open source Readme Template so you can take a look on how to better organize.

added some description


Fix: Add beforeExit listener in exit.js

Motivation/Description of the PR
TestCafe returns 0 exit code on test failure. In this PR beforeExit listener is registered which will exit the process with appropriate exit code
Applicable helpers:

[ ] Webdriver
[ ] Puppeteer
[ ] Nightmare
[ ] REST
[ ] Appium
[ ] Protractor
[X] TestCafe

Fixes #2090
Type of change

[ ] Breaking changes
[ ] New functionality
[X] Bug fix
[ ] Documentation changes/updates
[ ] Hot fix
[ ] Markdown files fix - not related to source code

Checklist:

[ ] Tests have been added
[ ] Documentation has been added (Run npm run docs)
[ ] Lint checking (Run npm run lint)
[ ] Local tests are passed (Run npm test)

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

See the complete overview on Codacy

@DavertMik  Can you check this and merge?

Thank you. Good catch!