Failed to import CuPy

Description
I installed cupy and cudatoolkit with conda-forge. But failed to import cupy.
My conda list is
cudatoolkit               11.7.0              hd8887f6_10    conda-forge
cupy                      11.0.0          py310h9216885_0    conda-forge
The output is the same with the environment configuration of cupy.
To Reproduce
# Write the code here

Installation
Conda-Forge (conda install ...)
Environment
Traceback (most recent call last):
  File "/njcam_share/lxl/anaconda3/envs/FAME/lib/python3.10/site-packages/cupy/__init__.py", line 18, in <module>
    from cupy import _core  # NOQA
  File "/njcam_share/lxl/anaconda3/envs/FAME/lib/python3.10/site-packages/cupy/_core/__init__.py", line 3, in <module>
    from cupy._core import core  # NOQA
  File "cupy/_core/core.pyx", line 1, in init cupy._core.core
  File "/njcam_share/lxl/anaconda3/envs/FAME/lib/python3.10/site-packages/cupy/cuda/__init__.py", line 8, in <module>
    from cupy.cuda import compiler  # NOQA
  File "/njcam_share/lxl/anaconda3/envs/FAME/lib/python3.10/site-packages/cupy/cuda/compiler.py", line 14, in <module>
    from cupy.cuda import function
  File "cupy/cuda/function.pyx", line 1, in init cupy.cuda.function
  File "cupy/_core/_carray.pyx", line 1, in init cupy._core._carray
  File "cupy/_core/internal.pyx", line 1, in init cupy._core.internal
  File "cupy/cuda/memory.pyx", line 1, in init cupy.cuda.memory
ImportError: /njcam_share/lxl/anaconda3/envs/FAME/lib/python3.10/site-packages/cupy_backends/cuda/api/driver.cpython-310-x86_64-linux-gnu.so: undefined symbol: cuDevicePrimaryCtxRelease_v2

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

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/njcam_share/lxl/anaconda3/envs/FAME/lib/python3.10/site-packages/cupy/__init__.py", line 20, in <module>
    raise ImportError(f'''
ImportError:
================================================================
Failed to import CuPy.

If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed.

On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm.
On Windows, try setting CUDA_PATH environment variable.

Check the Installation Guide for details:
  https://docs.cupy.dev/en/latest/install.html

Original error:
  ImportError: /njcam_share/lxl/anaconda3/envs/FAME/lib/python3.10/site-packages/cupy_backends/cuda/api/driver.cpython-310-x86_64-linux-gnu.so: undefined symbol: cuDevicePrimaryCtxRelease_v2
================================================================

Additional Information
No response

Is it possible that you have another CUDA installation in that system?

Is it possible that you have another CUDA installation in that system? or that your CUDA driver is too old to support 11.7

Thanks! It is exactly what you said!


Adding IPython Notebooks in the package

We would like to be able to execute notebooks in Metaflow steps, it would be great to include them in the package.

@tobias-gp You can set the env var METAFLOW_PACKAGE_SUFFIXES to .py,.ipynb,.R,.RDS to achieve a similar outcome or use the flag --package_suffixes - python flow.py --package_suffixes=.py,.ipynb,.R,.RDS run. Setting METAFLOW_DEFAULT_PACKAGE_SUFFIXES in metaflow_config.py would also work.
The reason we wouldn't want to bundle .ipynb files by default is that many times the .ipynb files can be quite voluminous since they store the state.

Thanks @savingoyal , somehow oversaw this, should have seen in the code!


Clean up README spelling & style

Hi @tmcw
sorry for the late response. I was traveling, so I didn't have access to internet.
Thanks a lot for your participation. I will pull this in.
Cheers


Feature Request: Pinning Messages

Feature Request: Pinning Messages on iOS
Description:
I would like to request the implementation of a "pin messages" feature for the iOS app, similar to the web version. This feature would allow tutors and intructors pin important messages within a conversation.
Proposed Features

Pin Messages Functionality:

Tutors and instructors should have the ability to pin any message in the chat
Pinned messages should remain accessible throughout the conversation.

Pinned Messages Icon:

A small icon on the top navigation bar that allows users to view all pinned messages in a list or popup.

This would allow easy acces to important info and would help students to quickly navigate to commonly asked questions

Pinning messages is already supported in the iOS app (context menu in chat and quick actions bar in thread view) for supported user roles, and pinned messages are highlighted with a yellow background the the chat transcript.
It is not currently possible to only display pinned messages, the only supported filters by the server are Unresolved, Own and Reacted. These are added to iOS in #225. If you'd like to be able to filter for pinned messages as well, I'd recommend opening a feature request for it in https://github.com/ls1intum/Artemis. We can then also add it to the iOS app without issues :)


Error: [Upload component not initialised!]

After clicking upload
W20150528-20:38:25.927(-7)? (STDERR) Error: [Upload component not initialised!]
 W20150528-20:38:25.927(-7)? (STDERR)  at Object.UploadServer.serve [as handle] (packages/tomi:upload-server/upload_server.js:134:1)
W20150528-20:38:25.928(-7)? (STDERR)     at next (/Users/AMG101/.meteor/packages/webapp/.1.2.0.gsy0oo++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:190:15)

 W20150528-20:38:25.928(-7)? (STDERR)     at Function.app.handle (/Users/AMG101/.meteor/packages/webapp/.1.2.0.gsy0oo++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:198:3)

 W20150528-20:38:25.928(-7)? (STDERR)     at Object.fn [as handle] (/Users/AMG101/.meteor/packages/webapp/.1.2.0.gsy0oo++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:74:14)

W20150528-20:38:25.928(-7)? (STDERR)     at next (/Users/AMG101/.meteor/packages/webapp/.1.2.0.gsy0oo++os+web.browser+web.cordova/npm/node_modules/connect/lib/proto.js:190:15)

W20150528-20:38:25.928(-7)? (STDERR)     at Object.WebAppInternals.staticFilesMiddleware (packages/webapp/webapp_server.js:331:1)

W20150528-20:38:25.928(-7)? (STDERR)     at packages/webapp/webapp_server.js:625:1

 Looking in chrome JavaScript console, it says it tried to make POST call http://localhost:3000/upload and returned a 500 error code
 My UploadServer.init looks like this
 ' UploadServer.init({

  tmpDir: process.env.PWD + '/uploads/tmp',
  uploadDir: process.env.PWD + '/uploads/',
  getDirectory: function(fileInfo, formData) {
  if (formData && formData.directoryName != null) {
    return formData.directoryName;
  }
  return "";
},

' finished: function(fileInfo, formData) {
if (formData && formData._id != null) {
//  Items.update({_id: formData._id}, { $push: { uploads: fileInfo }});
}
}'
,getFileName: function(fileInfo, formData) {
if (formData && formData.prefix != null) {
return formData.prefix + '_' + fileInfo.name;
}
return fileInfo.name;
} })'
What am i doing wrong? I am on Mac OXS Yosemite, with lastest node and meteor

I fixeds this error by not using the command line and making the .upload folder manually.
checkCreateDirectory was thrown off by that.


Feature request: font size

Hi, I can see that this feature is still pending. I would really like to change the font size of my headers.
Thank you!

This feature has been available for some time , it is tuned in the style setting plugin 2.2.2 Font size.


i m not clear on how to build my own controller

[Enter feedback here]

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

ID: 4c382eaa-aecb-0f26-ab0e-e752c9a36713
Version Independent ID: 7b0c1235-3109-5b93-33c7-203426d2fad6
Content: Windows.Gaming.Input Namespace - Windows UWP applications
Content Source: winrt-api-build/xml/ns-Windows.Gaming.Input.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

No doc issue reported.


Unable to setup ESP-IDF extension (Certificate has exprired) (IDFGH-5946)

Just reinstalled esp-idf extension. have done it before without problems but now there's an error stating certificate has expired.
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
Error opening esp-idf version list file. HTTP/HTTPS Request error https://dl.espressif.com/dl/esp-idf/idf_versions.txt
Downloading C:\Users\yahsa\esp.espressif\dist\idf-git-2.30.1-win64.zip...
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
Failed download. Retrying...
Error: Error: HTTP/HTTPS Request error https://dl.espressif.com/dl/idf-git/idf-git-2.30.1-win64.zip
Waiting 8 seconds...
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
Failed download. Retrying...
Error: Error: HTTP/HTTPS Request error https://dl.espressif.com/dl/idf-git/idf-git-2.30.1-win64.zip
Waiting 16 seconds...
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
Failed download. Retrying...
Error: Error: HTTP/HTTPS Request error https://dl.espressif.com/dl/idf-git/idf-git-2.30.1-win64.zip
Installing C:\Users\yahsa\esp.espressif\tools\idf-git\2.30.1 ...
Error during ESP-IDF setup

I believe you may have this error, because its not first report, but it is very strange. Certificate is valid for 6 more weeks.

@chegewara what do you mean not first report? is it because i uninstall and reinstall?
I even reset my pc just to try again but same issue.

Same as #7624 .
A workaround is also there.
I'm not 100% sure its the same , but a similar issue is happening all over internet, as the letsencript certificate expired in 30/sep.  s

I mean that ive seen some issue about certificate expired recently from other people, i think.

I mean that ive seen some issue about certificate expired recently from other people, i think.

What i've read is that the Letsencrypt certificate expired (which is "one authority level above" the website certificate, if one cant be authenticated, the other also cant).  But as i said, i'm not 100% sure is the same issue.

@italocjs thanks man. managed to finally get it working. I didn't know esp-idf can be installed separately, thought only through vscode extension :)


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-23-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1350

Questions ?
Please refer to the Backport tool documentation


Move extensions gitlab workflow

Summary
This moves the directories .gitlab/workflows into the shell/scripts directory and updates the extensions gitlab-ci remote url to the new location.
Also bumps the @rancher/shell package version to 0.4.1.

We used this approach for versioning the workflow, this is mentioned in the dev docs - but if someone wanted to use it in that way they could copy the workflow into their own ci file rather than referencing the dashboard repo version.


Migrate cluster resource controller to call admin service endpoints

TL;DR
To support scenarios where cluster resource controller is deployed on a separate cluster without flyteadmin database credentials, this change moves all db call to flyteadmin service calls.
A big part of this change was refactoring execution cluster target logic so that a separate component is used to list all execution cluster targets. This is now independent of the GetTarget() logic which depends on database access to fetch matchable attributes overrides.
Tested on flyte sandbox by deleting a project quota, having the updated cluster resource controller run, and then asserting the project quota got re-added.
Note, that we'll still need to keep the execution cluster config as part of deploying the cluster resource controller, but if it's deployed on the same cluster as the flytepropeller cluster, the in target cluster provider will suffice.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[x] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
fixes https://github.com/flyteorg/flyte/issues/2059
Follow-up issue
NA

PTAL @EngHabu @pmahindrakar-oss


Add OpenTofu

https://github.com/virtualroot/awesome-opentofu#readme

A refined list of OpenTofu resources and tools.

OpenTofu is an open-source and community-driven fork of Terraform that lets you define infrastructure as code. It has grown steadily since its inception 6 months ago, and I believe now is a good time to bring more exposure to it as a promising alternative to the non-open-source Terraform.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

[x] Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it. Instead use #2242 for incubation visibility.
[x] Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
[x] You have to review at least 2 other open pull requests.

https://github.com/sindresorhus/awesome/pull/2925#discussion_r1497578664
https://github.com/benallfree/awesome-pocketbase/pull/36
https://github.com/sindresorhus/awesome/pull/2966#issuecomment-1957326728
https://github.com/sindresorhus/awesome/pull/2638#discussion_r1497950270
https://github.com/sindresorhus/awesome/pull/2960#issuecomment-1957522638

[x] You have read and understood the instructions for creating a list.
[x] This pull request has a title in the format Add Name of List. It should not contain the word Awesome.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ add Swift
❌ Adding Swift
❌ Added Swift

[x] Your entry here should include a short description of the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb. It should not contain the name of the list.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

[x] Your entry should be added at the bottom of the appropriate category.
[x] The title of your entry should be title-cased and the URL to your list should end in #readme.

Example: - [Software Architecture](https://github.com/simskij/awesome-software-architecture#readme) - The discipline of designing and building software.

[x] No blockchain-related lists.
[x] The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

[x] Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
[x] Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
[x] The default branch should be named main, not master.
[x] Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

[x] It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
[x] The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

[x] The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

[x] Non-generated Markdown file in a GitHub repo.
[x] The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
[x] Not a duplicate. Please search for existing submissions.
[x] Only has awesome items. Awesome lists are curations of the best, not everything.
[x] Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
[x] Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to a maximum of half the width of the original image.
Don't include both a title saying Awesome X and a logo with Awesome X. You can put the header image in a # (Markdown header) or <h1>.

[x] Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
[x] Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

[x] Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.
Must not feature Contributing or Footnotes sections.

[x] Has an appropriate license.

We strongly recommend the CC0 license, but any Creative Commons license will work.

Tip: You can quickly add it to your repo by going to this URL: https://github.com/<user>/<repo>/community/license/new?branch=main&template=cc0-1.0 (replace <user> and <repo> accordingly).

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.
Place a file named license or LICENSE in the repo root with the license text.
Do not add the license name, text, or a Licence section to the readme. GitHub already shows the license name and link to the full text at the top of the repo.
To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

[x] Has contribution guidelines.

The file should be named contributing.md. The casing is up to you.
It can optionally be linked from the readme in a dedicated section titled Contributing, positioned at the top or bottom of the main content.
The section should not appear in the Table of Contents.

[x] All non-important but necessary content (like extra copyright notices, hyperlinks to sources, pointers to expansive content, etc) should be grouped in a Footnotes section at the bottom of the readme. The section should not be present in the Table of Contents.
[x] Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

[x] Does not use hard-wrapping.
[x] Does not include a CI (e.g. GitHub Actions) badge.You can still use a CI for linting, but the badge has no value in the readme.
[x] Does not include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

unicorn.
I'll be reviewing other pull requests now.

amazing

lgtm

add the "LF" character at the beginning of the list

Thanks @lime360 for your help, but I don't understand what you mean with "LF" character.
Could you please further explain what the problem is? Thanks

add the "LF" character at the beginning of the list

Thanks @lime360 for your help, but I don't understand what you mean with "LF" character.
Could you please further explain what the problem is? Thanks

this is the lf character: ␊

add the "LF" character at the beginning of the list

Thanks @lime360 for your help, but I don't understand what you mean with "LF" character.
Could you please further explain what the problem is? Thanks

this is the lf character: ␊

@lime360 Don't you mean the Unicode non-visible character for newline? Could you please further explain what the problem is? Why would I have to add ␊ glyphs? Thanks

add the "LF" character at the beginning of the list

Thanks @lime360 for your help, but I don't understand what you mean with "LF" character.
Could you please further explain what the problem is? Thanks

this is the lf character: ␊

@lime360 Don't you mean the Unicode non-visible character for newline? Could you please further explain what the problem is? Why would I have to add ␊ glyphs? Thanks

so that the existing linter used in awesome-line would work fine

add the "LF" character at the beginning of the list

Thanks @lime360 for your help, but I don't understand what you mean with "LF" character.
Could you please further explain what the problem is? Thanks

this is the lf character: ␊

@lime360 Don't you mean the Unicode non-visible character for newline? Could you please further explain what the problem is? Why would I have to add ␊ glyphs? Thanks

so that the existing linter used in awesome-line would work fine

Sorry, but to what linter rule are you referring to?
I'm running awesome-lint with no errors.

add the "LF" character at the beginning of the list

Thanks @lime360 for your help, but I don't understand what you mean with "LF" character.
Could you please further explain what the problem is? Thanks

this is the lf character: ␊

@lime360 Don't you mean the Unicode non-visible character for newline? Could you please further explain what the problem is? Why would I have to add ␊ glyphs? Thanks

so that the existing linter used in awesome-line would work fine

Sorry, but to what linter rule are you referring to? I'm running awesome-lint with no errors.

according to awesome-neocities github actions history, it's the rule called: Missing newline character at end of file  remark-lint:final-newline.

according to awesome-neocities github actions history, it's the rule called: Missing newline character at end of file remark-lint:final-newline.

Thanks @lime360, Now I get what you mean.
In https://github.com/lime360/awesome-neocities/commit/b8d1e4bf21cb71f8360b9298f3c7354d07107c85 the issue was solved by adding a new line at the end of the file. The glyph is not needed. I created https://github.com/lime360/awesome-neocities/pull/2 to remove it.
StackOverflow explains why ending text files with a jump of line is required, \n.

A text file, under unix, consists of a series of lines, each of which ends with a newline character (\n). A file that is not empty and does not end with a newline is therefore not a text file.

merged the pull request, I guess that lf glyph is not necessary

On line 85, it reads "Analize and manipulate OpenTofu's state." While it should be "Analyze  and manipulate OpenTofu state.

@sindresorhus :unicorn: This PR is ready. Can you please review it?

Weekly Updates
Office Hours
Technical Steering Committee Updates

These should not be title-case.

Tweet: https://twitter.com/awesome__re/status/1775560167083655398


[Caloris2] [Confluence] Add production checks for Confluence

Production checks to ensure that Confluence workflows are running, it includes:

Sync workflows
Personal data report workflows

@flvndvd do you plan to do or can we kill?

I'll add them tomorrow.

Done for both Confluence and Intercom in https://github.com/dust-tt/dust/pull/3887.


not accumulated volumes

Hi,
thank you for developing and sharing this matching engine.
I tested your engine and noticed that it does not add up the volumes in the order book for orders with the same price. The order book simply lists them one below the other. But usually such orders are registered in the order book as a single order with an accumulated volume.

Thank you for taking your time to create these issues!
You raise a very good point! Feel free to implement this feature yourself and make a pull request if you want.
Otherwise, I would be happy to add this feature myself. 😄

@nicoloridulfo Checking in to see if there's any updates or forks that have implemented this.
If not, what is the general algorithm/approach that can be used to implement this?

Hi @athenawisdoms,
This is quite easy to implement if the data structure would have been different. This is a C++ orderbook that I wrote that has this feature:
#include <limits>
#include <ostream>
#include <unordered_map>

using std::shared_ptr;

struct Limit;
struct Order {
    Order(uint64_t id, uint64_t time, uint size, uint remaining, uint price):
    id{id}, time{time}, size{size}, remaining{remaining}, price{price}{};
    uint64_t id;
    uint64_t time;
    uint size, remaining;
    uint price;
    shared_ptr<Order> nextOrder{nullptr};
    shared_ptr<Order> prevOrder{nullptr};
    shared_ptr<Limit> parentLimit{nullptr};
};

struct Limit{
    Limit(uint price):price{price}{};
    const uint price{0};
    uint totalVolume{0};
    uint size{0};
    //Limit* parent{nullptr};
    shared_ptr<Limit> next{nullptr};
    shared_ptr<Order> front{nullptr};
    shared_ptr<Order> tail{nullptr};
};

class Book {
    public:
    uint64_t sendLimitOrder(bool isBuy, uint size, double price);
    uint64_t sendMarketOrder(bool, uint size);
    uint64_t sendCancelOrder(uint64_t id);
    double getBid() const;
    double getAsk() const;
    uint size(){return numOrders;};
    uint count(){return numOrders;};
    std::string ladder(int depth);

    private:
    Order createOrder(uint size, double price);
    void addOrder(bool isBuy, uint size, uint remaining, uint price);
    shared_ptr<Order> execute(shared_ptr<Order> order);

    std::shared_ptr<Limit> createLimit(bool isbuy, uint price);
    std::unordered_map<uint64_t, std::shared_ptr<Order>> orderids{};
    std::unordered_map<uint, shared_ptr<Limit>> buylimitmap{};
    std::unordered_map<uint, shared_ptr<Limit>> selllimitmap{};
    uint64_t nextid{0};
    std::shared_ptr<Limit> lowestSell;
    std::shared_ptr<Limit> highestBuy;
    uint numOrders{0};
};

It relies on having each price level as an object. Each price level object stores the sum of the orders volumes. In the case of this repo, I do not really know how it could be done efficiently. Perhaps keeping a dictionary of all price levels and their volumes. When adding an order you could increment the volume, and when it is executed the volume would be decremented.


Showing example with multiple item ids in user recommendations

Showing example with multiple item ids in user recommendations

Hi @LuisCabrer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (luisca). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


怎么可以获取鼠标点击了的事件，因为点击或者拖拽以后要取消自动轮播

Describe the bug
A clear and concise description of what the bug is.

Additional context (If there is no relevant content, please delete the block)
Add any other context or screenshots about the feature request here.
Environment (If you feel unrelated, please delete the block)

OS & Version: [e.g. macOS, Windows, Linux]
Vue version: [e.g. v2.0, v2.5, v2.6]
Component Version: [e.g. v3.0.2]

已经找到方法了


Update omnibus to work with msys2 changes on the builders

This just WIP now? Assuming we dont want a branch :)

@mwrockx we're actually using the same branch as chef--the plan is not to check the omnibus omnibus-software branches in, and fix it another way (omnibus-toolchain).

This has passed Jenkins (and normal builds presently do not).

:+1:

:+1:


fix "dissapear" typo in index.html

Again, thanks @jackrugile. I appreciate you putting in a PR for both :)


add SpatialRef functions

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

27 of 27 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 99.668%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
2699

Relevant Lines:
2708

💛  - Coveralls


ArrowShape

In ScottPlot 4, I used Bracket plottable. I'm starting to use ScottPlot 5, but I haven't found this.
I added an ArrowShape to implement it in this way:
public class BracketLine : IArrowShape
{
    public void Render(RenderPack rp, PixelLine arrowLine, ArrowStyle arrowStyle)
    {
        float length = arrowLine.Length;

        PixelLine[] lines = [
            new PixelLine(0, 0, 0, -arrowStyle.ArrowheadWidth / 4),
            new PixelLine(0, 0, length, 0),
            new PixelLine(length, 0, length, -arrowStyle.ArrowheadWidth / 4),
            new PixelLine(length/2, 0, length/2, arrowStyle.ArrowheadWidth / 4)
        ];

        rp.CanvasState.Save();
        rp.CanvasState.Translate(arrowLine.Pixel2);
        rp.CanvasState.RotateDegrees(arrowLine.AngleDegrees + 90);

        // origin is the tip, base extends to the right
        Drawing.DrawLines(rp.Canvas, rp.Paint, lines, arrowStyle.LineStyle);

        rp.CanvasState.Restore();
    }
}

and  I modified ArrowShape.cs adding BracketLine in enum and adding item in switch:
ArrowShape.BracketLine => new ArrowShapes.BracketLine(),

The Cook book  "Arrow Shapes" show it correctly.

Hi @FULL69 (ha, nice)
Thanks for this suggestion! Your hacked-in bracket line is really clever - I don't know if I would have thought of that! I got a big kick out of reviewing your sample code.
However, I think it would be a good idea to add a proper bracket plot type to ScottPlot 5. I'll use this issue to track implementing that feature and hopefully it can get added in before tomorrow's release.
Thanks again for this suggestion!
Scott
ScottPlot 4 "Bracket" for reference
https://scottplot.net/cookbook/4.1/category/plottable-bracket/

https://github.com/ScottPlot/ScottPlot/blob/01552cd09342841a020c2882dfcb4202a9f5e51a/src/ScottPlot4/ScottPlot/Plottable/Bracket.cs#L1-L168


Better error message when trying to re-initialize CUDA in forked subprocess

What does this PR do?
Follow up to #14631
Follow up to #13405
We recently launched DDP Fork support in notebooks (ddp_notebook), and some users will soon report issues when seeing this error message in their notebooks: "Cannot re-initialize CUDA in forked subprocess".
The issue is mitigated by #14631 for our internal calls, and pytorch addresses torch.cuda utility function calls in https://github.com/pytorch/pytorch/pull/84879 and https://github.com/pytorch/pytorch/pull/85024. However, it can always happen that the user allocates CUDA memory accidentally without knowing that this is not supported with the fork start method. We point it out in our documentation, but that's not enough.
This PR introduces an error message that is more helpful than the default PyTorch one.
Does your PR introduce any breaking changes? If yes, please list them.
No
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
I made sure I had fun coding 🙃

I am subscribed to your PRs, reviewing them before you even mark them as ready 🐎

Thank you! Is that a horse?
Will mark it ready once I gave this a final check in Google Colab as well.


Feature/dynamic chapterization

Jurjen de Vries
I tested this, on desktop the chapter list isn’t place on the correct position. It’s now below the content instead to the right position of the content.
On mobile when in at https://feature-dynamic-chapterizati.dilmahtea-me.pages.dev/en/best-way-to-make-compost/ when clicking to a chapter from the buttons, not the whole heading is visible (if I click from the sticky chapter list the header is correctly visible)


Emitting default imports for commonjs.

This is just a suggestion.
Currently default imports from commonjs are handled as following:
import * as X from 'module';

This brings issues when package exports a default constructor or class when you have to write this monstrosity in order to use it:
import A = require('module');

Why not emit default imports when targeting commonjs modules as following?
If I write:
import A from 'module'

emit to
const A = require('module').default || require('module');

Solves myriads of issues. What do you think?

Changing the emit behaviour would be a breaking change right?
How do you see this interacting with --allowSyntheticDefaultImports?

In my opinion it would not break anything.
I'm not sure what do you mean with interaction wiht "allowSyntheticDefaultImports". How does it relate?

` import * as X from 'module'; `

This brings issues when package exports a default constructor or class when you have to write this monstrosity in order to use it:
You'll have to take this to the ECMAScript committee, unfortunately. This has a very specific meaning and this meaning excludes the possibility of importing classes / functions into X.
The proposed emit is different from the ES6 behavior in about six different ways, none of which we could reasonably claim to be an allowable divergence for the sake of convenience / interoperability.

For future finders: http://stackoverflow.com/questions/39415661/why-cant-i-import-a-class-or-function-with-import-as-x-from-y


v1.13 backports 2023-03-28

[ ] #22980 -- bpf,test: Fixed bugs when running BPF tests on older kernels (@dylandreimerink)
[ ] #23281 -- bpf_test: use bpf.LoadCollection, print full verifier error logs (@ti-mo)
[ ] #23351 -- bpf/tests: fix mac addresses definitions in egressgw test (@jibi)
[ ] #24469 -- bpf/test: Add unit test to check whether netpol drops result in metric counter increament (@brb)
[ ] #24339 -- Correctly configure extra SANs for the clustermesh API server certificate when generated through certgen (@giorio94)
[ ] #24546 -- bgp: extract exportPodCIDRReconciler logic into a generic function (@jibi)
[ ] #23631 -- hubble-ui: allow ingress from non root / urls (@geakstr)
[x] #24288 -- Install fib rules and routes with proto kernel to avoid systemd messing with them (@NikAleksandrov)

Trivial merge conflict in go.mod. Resolved by only keeping the update for
github.com/vishvananda/netlink and running go mod tidy && go mod vendor.
Cherry-picked #24140 from #24547 to resolve a merge conflict in the last commit of #24577.

[x] #24577 -- datapath/linux/route: fix CI expectations for rule string format (@NikAleksandrov)
[ ] #24557 -- pkg: add missing xfrm-no-track rules from ipv6 (@jschwinger233)
[ ] #24569 -- test: Update 1.26 k8s version (@sayboras)

Once this PR is merged, you can update the PR labels via:
$ for pr in 22980 23281 23351 24469 24339 24546 23631 24288 24577 24557 24569; do contrib/backporting/set-labels.py $pr done 1.13; done

/test-backport-1.13

Thanks Tobias!

Blocked on #24611

Looks like the 4.9 Jenkins jobs failed with cilium pods crash looping and the following message in the logs:
2023-03-28T18:18:37.228913131Z level=error msg=\"Start hook failed\" error=\"daemon creation failed: error while initializing daemon: failed to ensure local IP rules: could not replace IPv4 local rule: file exists\" function=\"cmd.newDaemonPromise.func1 (daemon_main.go:1677)\" subsys=hive

Looks like https://github.com/cilium/cilium/pull/24288 is the culprit here. Not sure what to do about this. Is there anything different in the 4.9 VM images than in the other ones wrt. ip rules? @NikAleksandrov could you have a look?

Looks like the 4.9 Jenkins jobs failed with cilium pods crash looping and the following message in the logs:
2023-03-28T18:18:37.228913131Z level=error msg=\"Start hook failed\" error=\"daemon creation failed: error while initializing daemon: failed to ensure local IP rules: could not replace IPv4 local rule: file exists\" function=\"cmd.newDaemonPromise.func1 (daemon_main.go:1677)\" subsys=hive

See e.g. https://jenkins.cilium.io/job/Cilium-PR-K8s-1.18-kernel-4.9/2580/
Presumably https://github.com/cilium/cilium/pull/24288 is the culprit here. Not sure what to do about this. Is there anything different in the 4.9 VM images than in the other ones wrt. ip rules? @NikAleksandrov could you have a look?

@tklauser will do and see how we can fix it

Looks like the 4.9 Jenkins jobs failed with cilium pods crash looping and the following message in the logs:
2023-03-28T18:18:37.228913131Z level=error msg=\"Start hook failed\" error=\"daemon creation failed: error while initializing daemon: failed to ensure local IP rules: could not replace IPv4 local rule: file exists\" function=\"cmd.newDaemonPromise.func1 (daemon_main.go:1677)\" subsys=hive

See e.g. https://jenkins.cilium.io/job/Cilium-PR-K8s-1.18-kernel-4.9/2580/
Presumably #24288 is the culprit here. Not sure what to do about this. Is there anything different in the 4.9 VM images than in the other ones wrt. ip rules? @NikAleksandrov could you have a look?

@tklauser will do and see how we can fix it

As discussed on Slack, I've added an additional commit https://github.com/cilium/cilium/pull/24607/commits/bb0642723774d31d2af366344c0ec03a976a6642 ignoring EEXIST on linuxdatapath.NodeEnsureLocalIPRule in order to fix CI on 4.9 (that kernel doesn't support fib rule protocol attribute).

/test-backport-1.13

I don't think #23351 should be backported to v1.13, as the commit that it's fixing is not in v1.13 as well (why was it marked for backport?)

I don't think #23351 should be backported to v1.13, as the commit that it's fixing is not in v1.13 as well (why was it marked for backport?)

I picked it up because I had to pick up https://github.com/cilium/cilium/pull/23281 for 0e3b0bbd3fdfec427f509d735185884401093773 to fix another issue in a unit test introduced by https://github.com/cilium/cilium/pull/24469. Picking #23281 lead to a failure in the egressgw tests which I figured were fixed by #23351.
I guess the alternative would be to drop #24469 (and thus also #23281 and #23351).

It looks like there's another issue with https://github.com/cilium/cilium/pull/24288 on kernel 4.9 even with https://github.com/cilium/cilium/pull/24645 in place: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.24-kernel-4.9/100/testReport/junit/Suite-k8s-1/24/K8sDatapathConfig_Transparent_encryption_DirectRouting_Check_connectivity_with_transparent_encryption_and_direct_routing_with_bpf_host/
This seems to be failing in (*linuxNodeHandler).replaceHostRules(). I think I'm going to drop https://github.com/cilium/cilium/pull/24288 and https://github.com/cilium/cilium/pull/24645 from this backport PR in order to get it into a mergeable state by the end of the week.
@NikAleksandrov could you please look into what else is needed to successfully backport https://github.com/cilium/cilium/pull/24288?

/test-backport-1.13

@tklauser thank you for giving it a try, I'll take care of the backport

/test-1.19-4.9


Add testing for the SlashingProtectionExporter to exercise file reading

Show failure conditions
Show different reading orders with genesisValidatorsRoot and without

Couldn't find a scenario where the export would need to re-check genesisValidatorsRoot, so removed that check. Also followed up with previous PR to ensure I haven't missed something that actually happened at runtime. I'll wait to hear back from contributor on that before merging this.
Signed-off-by: Paul Harris<EMAIL_ADDRESS>Documentation

[X] I thought about documentation and added the documentation label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

See my comment here.


SQLSRV Functional tests

Coverage increased (+0.1%) to 55.721% when pulling cf5208468c898bce6f1dea668d0a52c3c7be5c0c on ulvii:FunctionalTests into e8f565daae206ebf50fc511db4c37882cea1592d on Microsoft:dev.

Coverage increased (+0.1%) to 61.607% when pulling 1a68e5230a4319a8a1986b2a98730be1121e5df7 on ulvii:FunctionalTests into 012b16a64fcbe74fac160cc883eb6060750be037 on Microsoft:dev.

Coverage increased (+0.6%) to 62.076% when pulling 48074c0e8c335311b956d89a8d49c08d12f93b0b on ulvii:FunctionalTests into 012b16a64fcbe74fac160cc883eb6060750be037 on Microsoft:dev.

Coverage increased (+0.7%) to 62.218% when pulling b03e1cc90b5690fc56f75a504cd7e5f004256e0c on ulvii:FunctionalTests into 012b16a64fcbe74fac160cc883eb6060750be037 on Microsoft:dev.

Closing this because the files are uploaded in #379


Update the unity blocking issues table

Also split the resolved issues to a different table.

@yl-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Fix for one-way many-to-many association

This PR is not complete. The new tests are not passing, I have deleted one of the associations (Project -> User) and now it does not work. The projects are properly initialized with members, but when getting member for projects the following query is executed, which is completely worng:
SELECT "user"."id", "user"."name", "user"."awesome", "user"."createdAt", "user"."updatedAt",
"project_members"."user_id" AS "project_members.userId", "project_members"."project_id" AS
"project_members.projectId" FROM "users" AS "user" INNER JOIN "project_members" AS
"project_members" ON "user"."id" = "project_members"."project_id"
AND "project_members"."project_id" IN (8706, 1232);

See the join condition
"user"."id" = "project_members"."project_id"

Can you help me?
Thanks,
Karel

I don't recall what it was but there was a reason why we needed .paired to be set.


libmtp: fix sha

Motivation for this change
incorrectly added in c75b9da41d35619b135a3c9ecf4843328f604ca9 #104000
hash mismatch in fixed-output derivation '/nix/store/x8zj5b5kjb6r4m7zpkpv9bm1f39y8z3j-source':
  wanted: sha256:0lniy0xq397zddlhsv6n4qjn0wwakli5p3ydzxmbzn0z0jgngjja
  got:    sha256:0rya6dsb67a7ny2i1jzdicnday42qb8njqw6r902k712k5p7d1r9

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

this was in the logs for changes as well: https://logs.nix.ci/?key=nixos/nixpkgs.104000&attempt_id=799e59b9-0284-4258-9506-b601c8988b1a


Implement Swagger Models

Several endpoints rely on direct parsing/production of JSON, and as such don't have Java classes to introspect for the production of Swagger Models.
Example: PUT /v1/networks/{networkId}/views/{viewId}/network
Classes that need review and update (checked if all Swagger contains models)

[x] AlgorithmicResource.java
[x] CollectionResource.java
[x] GlobalTableResource.java
[x] GroupResource.java
[x] MiscResource.java
[x] NetworkFullResource.java
[x] NetworkNameResource.java
[x] NetworkResource.java
[x] NetworkViewResource.java
[x] RootResource.java
[x] SessionResource.java
[x] StyleResource.java
[x] TableResource.java
[x] UIResource.java

Closed in 3.6.1 release


fix(invoice): update invoice modal once received

Ensure that the invoice / transaction / payment modal view shows the most current data from the store. Do not duplicate data in the store but instead reference the canonical data by id.
See https://redux.js.org/faq/organizingstate#how-do-i-organize-nested-or-duplicate-data-in-my-state
Fix #623

Pull Request Test Coverage Report for Build 3758

0 of 16 (0.0%)  changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 12.295%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/routes/activity/components/components/Transaction/Transaction.js
0
1
0.0%

app/routes/activity/components/components/Payment/Payment.js
0
1
0.0%

app/reducers/invoice.js
0
1
0.0%

app/routes/activity/components/components/Invoice/Invoice.js
0
1
0.0%

app/reducers/activity.js
0
2
0.0%

app/components/Activity/ActivityModal.js
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

app/components/Activity/ActivityModal.js
1
0.0%

Totals

Change from base Build 3757:
-0.04%

Covered Lines:
466

Relevant Lines:
3339

💛  - Coveralls


deleted Attunity Replicate for Microsoft Migrations link?

Looks like description of Attunity Percona was deleted recently - my customer (and myself) is confused because of the update. If I remember correctly, the page has a description (and/or link) about Attunity Replicate for Microsoft Migrations tool, Does DMS (https://datamigration.microsoft.com/) support migration from Percona? or still need to use Attunity Replicate for Microsoft Migrations (https://microsoft.attunity.com/ )?
Thanks.

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

ID: 627edf75-cf09-6e2a-e501-1bae9320a2de
Version Independent ID: 7dcf478f-2680-c1b9-9dd0-2b22027d7612
Content: Minimal-downtime migration to Azure Database for MySQL
Content Source: articles/mysql/howto-migrate-online.md
Service: mysql
GitHub Login: @HJToland3
Microsoft Alias: jtoland

@kazshi Thanks for reporting! I have assigned the issue to the content author to investigate and update as appropriate.

@kazshi The Azure Database Migration Service can accommodate Percona as a source.  Can you reach out to me directly at<EMAIL_ADDRESS>so that I can get some additional information about your scenario?  Thanks in advance!

#please-close

Thanks!


Fix SyntaxError from ember build

Fixes #1443.
The issue here is that warn is an ember-cli-babel macro. The function that was imported had the same name. By renaming the local function, the macro no longer affects the function call.

@RobinDaugherty actually I think the macro should affect the function call. the real bugfix likely needs to be done in the debug macros repo.

That makes sense. The real issue is that the macro expansion should not cause ES6 to bypass the transpiler.

The real issue is that the macro expansion should not cause ES6 to bypass the transpiler.

exactly


Partial_fit implementation

is there an implementation for partial_fit in pyod models? How can I train multiple sub-sets incrementally?

Unfortunately, partial_fit is not implemented in PyOD yet...
outlier detection algorithms are generally hard to be done in this style. scikit-learn has no partial fit for outlier detection algorithms either (https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html , https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.LocalOutlierFactor.html)

Is there any way to iteratively train the model

I think most outlier detection algorithms need global information. iterative training may be fine for selected algorithms, but you are assured most of them are not possible and costly.

I understand.
Thank you for all the work you have done. PYOD has helped many people.


recently visited collection will appear on all organizations pages

Bug Report
Expected behaviour
Collection should only show on its respective organization page (unless a duplicate has been manually made)
Actual behaviour
Visiting a collection's page will cause the collection to appear as a collection on all registered organization pages. After a hard refresh, the collection will disappear and the organization page will display properly. I was able to reproduce on both chrome and safari
Steps to reproduce the behaviour

Visit a collection page
Manually navigate from that collection page to another organization page (click through only)
Refresh the organization page and the phantom collection should disappear

Environment (Browser or OS and Dockstore version)
DockstoreAPI - 1.6.0-beta.0
DockstoreUI - 2.3.0-beta.0
Chrome 72.0.3626.96
Safari 12.0.2

I think this is because we do not clear the active collection on organisation switch.

should be clearing ALL collections on organization switch

Hmm...apparently I fixed it in https://github.com/dockstore/dockstore-ui2/blame/develop/src/app/organizations/collections/collections.component.ts#L48

Verified that collections bug no longer persists on DockstoreAPI - 1.6.0-beta.3DockstoreUI - 2.3.0-beta.2


Add first version of readme

Closes #10
@darerodz, @orballo, could you please take a look at the README, let me know if we should add something else? It's a first draft but hey ;)

@DAreRodz @orballo could you please take a look at this?

@DAreRodz?


[Suggestion] Valves and switches

Bringing a suggestion from an old, closed issue: #2375, for until now it's never got an issue of its own.

Suggestion: wouldn't it be better if Mekanism had valves instead of levers cutting off pipes? http://en.wikipedia.org/wiki/Valve -- @EzerArch

And:

By the way, I love the idea of valves. Definitely considering! -- @aidancbrady

I propose implementing valves for pipes and, perhaps, switches for cables:
So, instead of using levers cutting off pipes, like this:

It would be like this:
(made with microblocks and some image editing)
Features, specially for sake of simplicity:

Fits in a 1-block length, and no much wider than a pipe/cable cross-section.
Can't be placed in junctions or turns. Only in straight lines.
Two states: on/open (green light) and off/closed (red light).
Can be switched by hand (right-click). No need of levers (saves 1 block space).
Can be controlled by redstone.

(not necessary to reply) @aidancbrady or any other dev, just a question out of curiosity:

Removing redstone sensitivity in transmitters, adding in some kind of "transmitter switch" to function as @EzerArch suggested -- https://github.com/aidancbrady/Mekanism/issues/3283#issuecomment-222329933

Do the current transmitter blocks (cables and pipes) perform some kind of redstone check every tic/loop? If they do, I suppose that this could be a source of lag, as I've read here. So I guess that removing redstone sensitivity from transmitters and limiting it to a specific block would be an improvement performance-wise, wouldn't it?

Luckily, no- redstone sensitivity is purely event-based. That's not to say removing sensitivity wouldn't make things more efficient- it certainly would.

Responding to this thread instead of creating a new one because it seems related.  I've had a few layouts where I wished for a way to set a preferred path for the fluid/gas being transported with an alternative path for overflow if the preferred path couldn't accept any more, but didn't want it enough to try to finagle a redstone switching method because those are usually so bulky.  I understand that items have the restrictive and diversion transporter pipes (although I've never wanted to do this with items, oddly, only fluids/gases) but as far as I am aware fluids and gases don't have an equivalent.


Updated Guzzle to 6.1.x

This isn't done yet, but I'm burned out for the night.

I ran into a snag in this change which worth discussing: There are some API calls which require a simple string to comprise the entirety of the body without any kind of keying. This is problematic because Guzzle (and all the PHP HTTP clients I looked at when I hit this snag) uses the http_build_query() function, which requires either an object or an array. I implemented a workaround by overriding http_build_query()'s native functionality without difficulty, but the ability to do so required installing the runkit extension. This means our users will have to run pecl install runkit, which isn't very difficult, but every extension necessary is a hurdle. Our users are very savvy though, so I think this will work out fine.
The alternative to this would be to change the API so that arguments can't be passed as a string comprising the entirety of the body, but like ['service_level' => $level], which is, in my humble opinion, a clearer, better way to do it.
Do you have thoughts on this, @bensheldon?

Well, never mind that. After writing all that, I thought to myself, "I wonder if THIS one thing will work..." and it did. Win.

Closing this due to #309

Reopening because Guzzle > Requests IMHO

I like the changes :+1:


Accessibility issue in form labels

Describe your problem(s)
When you go to the Create an API page, the first input field label is not clearly visible.
It's a UX best practice to autofocus the first input element so that the user can type in directly without any interaction. Since we use floating-label pattern inputs and the input field is already focused user has not seen the label and it's difficult to view the floated label. This can create an accessibility issue.

Describe your solution

We can override Material style and make the floated label equal prominence as input. Also it will improve the general usability of the form as the input labels are clearly visible even after filling the fields.

How will you implement it

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Fixed


Azure Data Studio: Install from vsix

Receiving an error when trying to install; not compatible with Azure Data Studio 1.5.1 (latest release), this is on releases 0.02 -> 0.04.

thanks for the heads up. pushed up version 0.0.5 that supports the latest version

Awesome!


Possibility to give Widgets a name in the view hierarchy (so the Play Store "Pre-launch report" Sign-in credentials can be configured)

I was looking into the "Pre-launch Report" Sign in credentials configuration in the Play Store console.
I pulled open Android Device Monitor while running the app on the login-screen, and did not expect to get a valid view XML snapshot returned, that's actually pretty nice work!
It appears however that it is not possible to give a widget a 'resource name', as required by the pre-launch report Sign-in credentials configuration.
Will it become possible at some point to set this value? I guess once its there, it would allow developers to use all kinds of automated testing tools on their apps.

Not sure exactly what we have to do to support this.
https://support.google.com/googleplay/android-developer/answer/7002270?hl=en
cc @eseidelGoogle @mit-mit

Any update on this? It would be great if flutter app can leverage the tools in Google play console

@mit-mit do you still manage our publishing of Flutter Gallery to Play?  Can you comment on what we are missing here?

This is what the screen to fill in looks like, and the ? by "Username resource name" says "The Android resource name of the text field within your app where the given username should be entered."

Ah!  This probably falls into then discussions we've had around making sure Flutter plays nice with roboelectric, etc.  FYI @goderbauer @gspencergoog @mehmetf

The issue with annotating widgets with ids is that a single accessibility node may be composed of many flutter widgets.

There's a semi-answer from Android team and it does not look good. It seems much of that tooling uses native view hierarchy so it is incompatible with Flutter. If this becomes a priority, we need to work with them to support interacting with accessibility layer.

What about the Semantic() class, can this be used to add/find ID's?
Google's pre-launch report is already able to find the inputs - in the image below (a Flutter app's login screen), it is able to find the username and password fields:

Could this be a way to go?
This does not seem to be impossible

It would be really nice to have such a feature.

We need this feature ! Testing an app is not only to test the login screen ...

yes, we need this feature. Google Play console team and Flutter team need work tegother.

TIL that appbundles may also break the pre-launch report? https://github.com/flutter/flutter/issues/18494#issuecomment-503669889

FYI @collinjackson

I am actually having the issue that Google Play Pre-Launch Report cannot go past my Flutter app's initial wizard that is implemented as a Pager. It just never scrolls to the next page. Is this a separate issue or the same?

@sceee It's a different issue. This issue is about naming widgets in the view hierarchy for supplying the credentials in the PlayStore.

Thanks @jld3103 , I opened a separate issue for it.

@eseidelGoogle any update for this case?

I have no updates, sorry.
Sounds like @mehmetf got some pointers from the Android team, but we also likely need to reach out to the play team to learn more about how this is implemented and if it's something which can be made work with Flutter.  FYI @csells

Hi,
any update about this?
Plz.

Any updates on this?

No updates.  My understanding is that Pre-launch Report (PLR) is many tools all working together under an umbrella framework.  Some of those tools are designed around assumptions of working with Android Views/Espresso.  We should probably be clear which of the PLR tools do/don't work well with Flutter.  I've also put @blasten in touch with a member of the Pre-Launch Report team in case there are some easy wins here.

Pre Launch Tool doesn't work well with Flutter. I hope to support this feature as soon as possible.

I done it using widget key for Google Play. Just like below
CustomTextFormField(
  key: const Key('username'),
  controller: _usernameController,
  labelText: 'Username',
  textInputAction: TextInputAction.next,
  inputFormatters: [
    FilteringTextInputFormatter.deny(RegExp(r'\s+\b|\b\s|\s|\b')),
  ],
  validator: (String? value) {
    if (value == null || value.isEmpty) {
      return 'Username cannot be empty';
    }
    return null;
  },
),
verticalSpaceRegular,
CustomTextFormField(
  key: const Key('password'),
  controller: _passwordController,
  obscureText: _obscureText,
  labelText: 'Password',
  useCustomSuffix: true,
  textInputAction: TextInputAction.send,
  suffixIcon: IconButton(
    icon: Icon(_obscureText
        ? Icons.remove_red_eye
        : Icons.remove_red_eye_outlined),
    onPressed: () => setState(() {
      _obscureText = !_obscureText;
    }),
  ),
  validator: (String? value) {
    if (value == null || value.isEmpty) {
      return 'Password cannot be empty';
    }
    return null;
  },
),

@PhilipPurwoko and them you filled the resource name field only with the "key"? Or used anything else? Have you tested it again?

@PhilipPurwoko would appreciate a MRE if you'd be so kind; seems like many people have this issue, myself included.

I done it using widget key for Google Play. Just like below
CustomTextFormField(
  key: const Key('username'),
  controller: _usernameController,
  labelText: 'Username',
  textInputAction: TextInputAction.next,
  inputFormatters: [
    FilteringTextInputFormatter.deny(RegExp(r'\s+\b|\b\s|\s|\b')),
  ],
  validator: (String? value) {
    if (value == null || value.isEmpty) {
      return 'Username cannot be empty';
    }
    return null;
  },
),
verticalSpaceRegular,
CustomTextFormField(
  key: const Key('password'),
  controller: _passwordController,
  obscureText: _obscureText,
  labelText: 'Password',
  useCustomSuffix: true,
  textInputAction: TextInputAction.send,
  suffixIcon: IconButton(
    icon: Icon(_obscureText
        ? Icons.remove_red_eye
        : Icons.remove_red_eye_outlined),
    onPressed: () => setState(() {
      _obscureText = !_obscureText;
    }),
  ),
  validator: (String? value) {
    if (value == null || value.isEmpty) {
      return 'Password cannot be empty';
    }
    return null;
  },
),

False. I have tried it again and it is not working. I use the other solution that I have - commented above

@PhilipPurwoko where do you find the app content > app access etc. that you're talking about?

@davymont Menu in Google Play Console

Something new here?

It seems like our Compose friends are in the same boat so perhaps if they come up with a solution it could be used as a basis for a solution for Flutter as well 🤞🏻.

One can explore more about Semantics widget in Flutter to see if it provides a solution.
There could be a possible solution to assign resource identifiers to widgets in Flutter using Semantics widget.
Semantics widget has an attribute called identifier which we can set as per the Flutter documentation.
Again, I haven't tested it but it seems it helps in UI testing.


Domain activation is Failed - [BRIEF DESCRIPTION]

App Id: d2jpr8z2bbseai
Region: us-east-1
Step: Domain activation
Status: Failed

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
A clear and concise description of what the issue/question is.
Error message
If there is an error message, please include it here.
Note: Be sure to check the message for sensitive information.
Additional information
Please add any other relevant information. Please feel free to include screenshots.

Hi @procket-live , do you still face the same issue?

I might have struggled with the same issue. Does https://github.com/aws-amplify/amplify-console/issues/512#issuecomment-639892355 help?

Closing this issue, please feel free to re-open if you are still facing issues.


qttranslations: do not use qt meta catalog translation package

The qt_xx packages are meta catalogs that have dependencies to
qtquick1 which is not available anymore, which then breaks loading
of the translation file.
Signed-off-by: Samuli Piippo<EMAIL_ADDRESS>

I tested it here and the qt_xx.qm files are still being generated so something is not right here.

you are right, it's missing removing of the qt_.qm files, similar to the qtquick1_.qm


Handle async attributes setting

Implements: https://github.com/Juicy/juicy-html/issues/28

Is this PR obsoleted by#31? If yes, let's please close it


Ios clients are not able to join

Hi,
Wish you a fantastic day. IOS clients sadly refuse to connect.
I am an old school person so had little to no knowledge in docker. I guess the following setting may work with new IOS clients.
    ike=aes256gcm16-prfsha384-ecp384!
    esp=aes256gcm16-ecp384!

Note: it did not work.

Hello. I am sorry but I don't have any Apple device to test connection.
Current accepted encryption options are very wide and should be supported by most of the clients.
But I can make them configurable when I will have time for that.

Hi, @Ferohers !
I finally managed to update the project and setup builds.
Now you can set proposals in docker-compose.yml file by new environmental variables IKE_PROPOSALS and ESP_PROPOSALS.
Please try to setup container from scratch because I have even renamed the repository. README was also updated.


Add types for typescript

And add HDT properties to README

There is a problema with VTG interface. It's not:
speedKn: number;
speedKm: number;

It was a change that I made to get velocity in Knots


Check: correct the memory limit

We should have limit of 3M not 30 as it's said in the doc comment.

Codecov Report

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

@@            Coverage Diff            @@
##           master   #9806      +/-   ##
=========================================
+ Coverage   69.58%   69.6%   +0.01%
=========================================
  Files         376     376
  Lines       35229   35229
=========================================
+ Hits        24514   24521       +7
+ Misses       8954    8943      -11
- Partials     1761    1765       +4

Impacted Files
Coverage Δ

etcdctl/ctlv3/command/check.go
14% <ø> (ø)
:arrow_up:

mvcc/watcher.go
96.29% <0%> (-3.71%)
:arrow_down:

proxy/httpproxy/director.go
80% <0%> (-2.86%)
:arrow_down:

raft/progress.go
94.17% <0%> (-1.95%)
:arrow_down:

etcdserver/api/rafthttp/msgappv2_codec.go
69.56% <0%> (-1.74%)
:arrow_down:

pkg/adt/interval_tree.go
87.08% <0%> (-1.51%)
:arrow_down:

mvcc/watchable_store.go
82.8% <0%> (-1.41%)
:arrow_down:

etcdserver/api/v2http/client.go
85.51% <0%> (-1.21%)
:arrow_down:

etcdserver/apply.go
88.68% <0%> (-0.34%)
:arrow_down:

etcdserver/server.go
73.05% <0%> (-0.08%)
:arrow_down:

... and 11 more

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 438e675...eff8166. Read the comment docs.

lgtm


question about non scalar output

Hello,
I am interested in using your implementation on my dataset. There are two things I want to check with you

The property I want to predict is a 3x3 symmetric PSD matrix.
There are some edge features (one categorical feature, one continuous feature) besides the coordinate difference

I was wondering does the current se3-transformer can work with such a scenario? Thanks!

Is it a type 1 feature?
Yes! This repo accepts edges, just like Fabians official repo

It's not type 1 feature. It's more like a composition of type 0 and type 2 feature, which makes things tricky.

@Chen-Cai-OSU you can return type 2 features as well, just as the output_degrees = 3, and when you invoke forward, do a return_type = 2


Add notification when fetch is skipped

You can actually rebase onto the most recent commit in base branch (bf7256d369a9b9de57932b84a75d0c49e8a2083c)... it seems to be based on some older commit of Mikołaj's PR.
In your IDE, in Git Machete tab: Fetch remotes + reset the diverged Mikołaj's branches into their remotes + rebase your branch.

Gr8, perfect now :) lemme un-draft the PR, btw...

And I'll install the freshly-built plugin artifact from the CI for casual local tests (i.e. just to use in my regular work on other projects)... thanks to stacking the PRs, I'll test all 3 changes (2 of Mikołaj + this 1 of yours) together 🔱


examples/predict-with-pretrained.. gives different output values for gpu and cpu run.

I got different values for gpu and cpu call of the model in mxnet/example/notebooks/predict-with-pretrained-model.ipynb
For this image : http://cdn.phys.org/newman/gfx/news/hires/2012/1-bmw.jpg
in gpu mode I got following top 5 values
[  1.20295647e-06   3.80782865e-07   1.01220928e-06   6.29524550e-07  3.61772209e-06]
['n04285008 sports car, sport car', 'n03459775 grille, radiator grille', 'n03100240 convertible', 'n02974003 car wheel', 'n04037443 racer, race car, racing car'])
in cpu mode I got these
[  1.57485408e-06   4.32469506e-07   1.05921958e-06   5.58813952e-07  3.77878655e-06]
['n03459775 grille, radiator grille', 'n04285008 sports car, sport car', 'n02974003 car wheel', 'n03100240 convertible', 'n03930630 pickup, pickup truck']
So cpu version is better for this example.

@tqchen could you have a look?

There could be difference between CPU and GPU, due to the difference in computaion in floating points.

but why this is stable in Caffe then. It is so notable in MxNet

In this case, seems most scores are relatively small, which could cause such difference.
The difference could amplify with nets that comes with batch normalization (which is in the inception-bn we used). I am not sure if this is the exact cause of the problem though.
If we can get some comparison on, say exact same model on other toolkits, we could get a better sense on what was going on

I observe that without cudnn cpu and gpu works concurring. With cudnnV3 divergence is the most and with cudnnV4 results are more similar. However cudnnV3 gives the best speed, 94 samples/sec for 32 batch size of inception net . cudnnV4 82 samples/sec  and without cudnn 57 samples/sec. In the end, speed and reliability has reverse move.

I just start build MXnet and I have one problem need your help. I predicted using the trained model, that was provided in examples, the model trained done,however the file 'predict-with-pretrained-model.ipynb' has one mistake:../notebooks/predict-with-pretrained-model.ipynb: line 237: syntax error: unexpected end of file.while I used gedit command to check the mistake and I found that there were no line 237. so I don't what wrong here. Did anyone occur the same problem? pls share me ur solution, thx so much.


Improves PostProcess example

Preload postprocess json and glsl so that we don't have to drag n drop files by default
integrate ssao inside the new example

fixed


Integrate docker support

I actually have this one done - https://github.com/Aristarhys/iluminaire
But i guess it's better be integrate this in main repo (if it's required), with all required changes to upgrade it to military grade dockerfile.

@snazzyfox feature, meta i guess

Luminaire itself is a package that can't be "run" like a service directly, so I don't really see a benefit from providing an official docker image. There are many reasons why most python packages aren't built into containers, but it boils down to the fact that any container we built can't satisfy anyone's use case unless the user builds on top of it. At that point it's easier to give user full control of their environment and just pip install it in the outer container.


database/sql: add lastUseTime or similar to driverConn, add SetConnMaxIdleLefttime to DB

I noticed some db like mysql support idle timeout, which means a conn will closed when timeout. In sql package, only has db.SetConnMaxLefttime and driverConn.createdAt available, so I suggest add lastUseTime to driverConn and SetConnMaxIdleLefttime to DB.

I don't fully follow what you are suggesting. However, if a driver connection sets an idle timeout in the DSN or settings then the connection will close on idle. If that connection (still in the pool) attempts to be used, it will return driver.ErrBadConn and the pool will try to pull another one.
Actually, it may not be a bad idea to support a method to signal to the database connection pool that the driver is bad right away rather then retrying and risk getting all bad connections. I'm not sure how that would work of hand.

Thanks for your prompt, I find an another way to keep conns alive by Ping it by time ticker.

Sadly, I also had no idea how to achieve this feature now. But we can talk it in the future

I think you are proposing a new database pool setting called "set max idle time" where if the connection is idle for ever the max time spent it is closed and removed from the pool.
Is this correct?

Yeah, thanks for your detailed explanation

@kardianos, does this proposal sound good to you? OK to accept if so.

@leaxoy Why SetMaxLifetime() is not enough?
When idle_timeout is 3600sec, SetMaxLifetime(time.Second * 1800) can avoid idle timeout.
I don't want to add MaxIdleTime, because it makes pool more complicated.

Thank you for sending CL 145758 @kardianos, but unfortunately we didn't get it in for Go1.14. @methane would you mind commenting on the tagged CL about how this new method won't work for you, or how you can use the previous available methods?
Thank you.


feat: database delete warning

SUMMARY

api endpoint to fetch charts and dashboards related to a database
warning modal to display message regarding potential effects of deleting a database

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

CI, py and js test, 👀

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI (behding ENABLE_REACT_CRUD_VIEWS config and SIP_34_DATABASE_UI feature flag)
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Roadmap: https://github.com/apache-superset/superset-roadmap/issues/55


ETHStats: Fetch stats data from Blockscout

Expected Behavior
Fetch state (validatordata, lockedgold, oracle, reserve, ...) from blockscout
Current Behavior
Currently ethstats.go sends the values

@timmoreton has some reservations, let's discuss in person


[Event Request] Table 5103 "Interaction Tmpl. Language" - CreateAttachment, OpenAttachment

Please add the following Events CreateAttachment and OpenAttachment in Table 5103 "Interaction Tmpl. Language"
procedure CreateAttachment()
    var
        Attachment: Record Attachment;
        InteractTmplLanguage: Record "Interaction Tmpl. Language";
        NewAttachNo: Integer;
        IsHandled: Boolean;
    begin
        if "Attachment No." <> 0 then begin
            if Attachment.Get("Attachment No.") then
                Attachment.TestField("Read Only", false);
            if not Confirm(Text001, false) then
                exit;
        end;

        //>> Begin
        IsHandled := false;
        OnBeforeCreateAttachment(Rec, NewAttachNo, IsHandled);
        if IsHandled then
            exit;
        //<< End

procedure OpenAttachment()
    var
        Attachment: Record Attachment;
    begin
        if "Attachment No." = 0 then
            exit;
        Attachment.Get("Attachment No.");
        //>>Begin
        OnBeforeOpenAttachment(Rec, Attachment);
        //<< End

    [IntegrationEvent(false, false)]
    local procedure OnBeforeCreateAttachment(var InteractionTmplLanguage: Record "Interaction Tmpl. Language"; var NewAttachNo: Integer; var IsHandled: Boolean)
    begin
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeOpenAttachment(var InteractionTmplLanguage: Record "Interaction Tmpl. Language"; var Attachment: Record Attachment)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 11976.


Website is not responsive

Describe the bug
The current website is not responsive! it does not look good when viewed through mobile!
Screenshots

I would love to work on this @sairish2001, please let me know!

Can I work on this issue?

Go ahead
Deadline 6 May,2021


Using FFmpeg underneath the hood to record the screen?

I'm submitting a ...
[ ] bug report
[ ] feature request
[X] question about the decisions made in the repository
[ ] question about how to use this project

Summary

Hi @prasanaworld, one last question about this library which is awesome btw! You are using FFmpeg underneath the hood to record the screen right? I am writing a medium article and am including your library in the article. Wanted to give a very brief description of how it works. Thanks so much.

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

The Puppeteer-screen-recorder is making use of the chrome devtool protocol via stream to capture the page screenshot frame by fame and effectively combining the frame to write the frame to disk using the FFmpeg library.
capture frame stream -> collect the frames -> write to disk


Add Pokemon command

The bot will respond to the command with a link to an image of a Pokemon
which ID is the current TJ. When the link is sent to Telegram by the
bot, it will (depending on the client and settings) expand to the full
image that is then shown in the chat.


docs: add end2end example on creating a basic text-classification dataset

Description
This PR includes 2 features towards the #4178 issue.

A tutorial for the creation of a FeedbackDataset for text-classification.
A new script has been added to run the notebooks automatically, via end2end.yml workflow.

Closes #4179 and #4220
Type of change
(Remember to title the PR according to the type of change)

[ ] Documentation update

How Has This Been Tested
(Please describe the tests that you ran to verify your changes.)

[ ] sphinx-autobuild (read Developer Documentation for more details)

Checklist

[ ] I added relevant documentation
[x] I followed the style guidelines of this project
[x] I did a self-review of my code
[ ] I made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Example running locally:
argilla on  docs/end2end-text-classification [!?] via 🐍 v3.10.13 (.venv) on ☁  (us-east-1)
❯ python scripts/end2end_examples.py --api-key admin.apikey
Executing: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 46/46 [00:19<00:00,  2.33cell/s]
✅  text-classification-create-dataset
Removed output notebook: output-notebook
Removed output folder: output_notebooks

@gabrielmbmb I requested your review to know your opinion on the workflow, but feel free to skip the remaining content of the PR

@plaguss @davidberenstein1957 if the plan is to run this as part of CI/CD or periodically or for testing/QA purposes please make sure we DON'T track any telemetry as this will affect our understanding of real usage/errors, etc.

@plaguss @davidberenstein1957 if the plan is to run this as part of CI/CD or periodically or for testing/QA purposes please make sure we DON'T track any telemetry as this will affect our understanding of real usage/errors, etc.

Sure @dvsrepo, that should be taken into account in the workflow:
        env:
          ARGILLA_ENABLE_TELEMETRY: 0
        run: |
          pip install -e .
          pip install papermill
          python scripts/end2end_examples.py

perfect @plaguss !

I had to add some variables for papermill to work. Maybe we should document the creation of the parameter cells (just a reminder, I don't know where exactly) to help someone that is creating one of these type of notebooks in the future and is not aware of this.

Can you share how to prepare the notebook to use these kinds of parameters (if any notebook setup is needed)?

Sure, it's from the papermill docs directly: https://papermill.readthedocs.io/en/latest/usage-parameterize.html#designate-parameters-for-a-cell. I used jupyterlab, we have to update the cells (just one in our case with the credentials) that have parameters (didn't checked this from vscod, I don't know if its available):


DevPortal: automatically catch URL link errors

add email notification when checks fail, include Clay to email notification.

@Jibz1 - I think you and @Clay-Mysten may have worked this out already.  Is this Issue covered?

@Jibz1 - I think you and @Clay-Mysten may have worked this out already. Is this Issue covered?

Godwin is definitely catching broken links. I still need to be notified.

@Clay-Mysten you can subscribe to the https://github.com/MystenLabs/sui_dev_portal

@Clay-Mysten you can subscribe to the https://github.com/MystenLabs/sui_dev_portal

And what does that do? Can we start to write this stuff down somewhere?

Let's also reconsider breaking site updates because of broken links. Makes this whole system fragile and impossible to stage forthcoming updates.

Note: the fix does not impact external links and side menus

This is a template for a Github action that checks such links:
https://github.com/MystenLabs/sui/pull/1766
(it probably requires configuration & tuning for the dev portal)

Thanks, Francois. This is now documented under Link check at:
https://app.golinks.io/dev-portal-work

For example:
https://github.com/MystenLabs/sui_dev_portal/runs/6563235132?check_suite_focus=true


Show lightbulb when the cursor is wherever on line, not exactly on the error symbol

That's how it works everywhere.

It's too cumbersome to implement.


Uptime not correct

Uptime Count in the top bar on the deck isn't starting at 0:00. Most of the time it starts at 5:00, sometimes at 2:00 (example: it shows 05:12 after 12 minutes of streaming)

Is this still happening? If it is, is it happening every time?

Yes, still happening every time I start streaming. I've reuploaded the code to the Arduino, but its still the same.

Definitely still every time


Use OCP 4.17 based image in generate to support Go 1.22

Same as openshift-knative/eventing/pull/657 but for eventing-istio

/cc @matzew @pierDipi @Cali0707

/cc @pierDipi


build command does not allow key specification

Through the website I am able to select a key and when selected it performs a build. This is not possible through the cli.
Through trial and error, it appears the last key used on the website is what is used for all build requests from the cli. This is based on the fact that if the last used key from the website is locked then the build fails (even if other keys are unlocked). It is only when you go to the website and select a different key will that key be used in any subsequent build requests from the cli.
Unless there is a hidden parameter or argument that I am missing, it appears that the "build" request is missing the ability to select a key or there is a missing "build-with-key" command.
Assuming that the _ app[selected_(platform)_key_id] _ parameter is possible

It appears the "api" needs to support the ability to perform a "PUT" passing a key (e.g. app[selected_(platform)_key_id]) as well as a platform in order for this to work.
As it stands right now the "build" command is similar to hitting the "Rebuild" button on the website. I will add an issue over in the "api" project and report back once finished.

yeah build is just a build request that takes no args.  if you're updating the app (like changing keys etc.) then use:
> pgb update 12345 ios-key=12
> pgb update -? # get full list of options available

be sure to re-install, as the fix is in the pgb-api dependency 1.0.4 - i'll be publishing a new cli that updates the usage of the update command to make this more clear and then i'll close it.

fixed in v1.0.1


python312Packages.tensorflow-bin: Add distutils as a dependency

Description of changes
distutils is not only a build-time dependency of TensorFlow, but also a runtime one.
This PR adds it to the dependencies list. Without it, TensorFlow crashes on Python 3.12.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Also see #325224 and upstream tensorflow/tensorflow#70959

distutils is deprecated and the references shared by @charmoniumQ provide a more promising path forward. closing for now. if there are specific build or runtime failures to be addressed let's open issues for them specifically


Live config reload

Is your feature request related to a problem? Please describe.
I think the live update of the configurations on change would simplify overall configuration of ruff.
Describe the solution you'd like
I want the plugin to be able to track changes to a .ruff.toml file (or any other supported file) and restart ruff-lsp.
Describe alternatives you've considered
Currently I just restart PyCharm to update any changes.
Additional context
I use Pycharm 2023.2

Thank you for requesting the feature.
We can watch the changes in specific files.
But, I don't know if we can restart lsp server without restarting PyCharm.
I will take time to investigate.

Please also ensure pyproject.toml is watched as that is where many (most?) projects stick their ruff config.

I have created the issue for the feature request. I can't find the feature in the PyCharm.
https://youtrack.jetbrains.com/issue/IDEA-339730/Request-the-addition-of-LSP-server-restart-functionality

@gurland
I found a mistake that I didn't think about .ruff.toml :sweat:
I will fix the next release.

@gurland
I released the fixed version as v0.0.28

@koxudaxi thank you for the dedication!


Update Linphone to version 3.10.2

Updated linphone.rb to to version 3.10.2

There was a pull request template when you submitted. It must be filled.
If you were not presented a template, you may have submitted via a CLI tool (likely hub). It that was the case, you may wish to see if the tool has a way to let you use the template (hub is working on it).
In either case, please refer to the template and update your comment.


Reduce NPM install size (e.g. via bundling the CLI)

We should consider whether the NPM install size of Contentlayer (incl. its dependencies) could be decreased in a significant way e.g. via bundling the CLI or making some of the dependencies optional peer dependencies (e.g. Otel).
Related to #47
Notes:

https://tsh.io/blog/reduce-node-modules-for-better-performance/
https://twitter.com/_egoistlily/status/1470650565147643907?s=21

I've done some preliminary experiments on this branch and the results look quite promising:

Some questions that need to be figured out:

[ ] Should the next-contentlayer plugin be using a bundled version of contentlayer or not?
[ ] Can we leverage bundling to speed up the initial load of Contentlayer on Stackblitz?