Package request: klassy

Project description

Quoting their github repository;

Klassy (formerly ClassiK/ClassikStyles) is a highly customizable binary Window Decoration and Application Style plugin for recent versions of the KDE Plasma desktop.

Metadata

homepage URL: https://github.com/paulmcauley/klassy
source URL: https://github.com/paulmcauley/klassy
license: LicenseRef-KDE-Accepted-GPL
platforms: linux

Add a :+1: reaction to issues you find important.

+++
I was about to make a request. I really want a declarative way to install this.

Oh haha
Atm I don't even use KDE Plasma but might in the future and klassy would be a must if I did.

+++
Surprised this still hasn't been packaged considering how big the project is, commenting hoping this will still get packaged

{
  klassy,
  cmake,
  kdePackages,
  libsForQt5,
  hicolor-icon-theme,
  xdg-utils,
  stdenv,
}:
stdenv.mkDerivation rec {
  # based on https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/kde/plasma/breeze/default.nix
  # & archlinux package
  pname = "klassy";
  name = pname;

  src = klassy;

  # dependencies from aur package
  buildInputs =
    [
      hicolor-icon-theme
      xdg-utils
    ]
    ++ (with kdePackages; [
      wrapQtAppsHook
      # breeze-icons
      frameworkintegration
      kcmutils
      kcolorscheme
      kconfig
      kcoreaddons
      kdecoration
      kguiaddons
      ki18n
      kiconthemes
      kirigami
      kwidgetsaddons
      kwindowsystem
      qtbase
      qtsvg
      qtdeclarative
    ]);

  nativeBuildInputs = [
    cmake
    kdePackages.extra-cmake-modules
  ];

  outputs = [
    "out"
    "dev"
    "qt5"
  ];
  # We can't add qt5 stuff to dependencies or the hooks blow up,
  # so manually point everything to everything. Oof.
  cmakeFlags = [
    "-DQt5_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5"
    "-DQt5Core_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Core"
    "-DQt5DBus_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5DBus"
    "-DQt5Gui_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Gui"
    "-DQt5Network_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Network"
    "-DQt5Qml_DIR=${libsForQt5.qtdeclarative.dev}/lib/cmake/Qt5Qml"
    "-DQt5QmlModels_DIR=${libsForQt5.qtdeclarative.dev}/lib/cmake/Qt5QmlModels"
    "-DQt5Quick_DIR=${libsForQt5.qtdeclarative.dev}/lib/cmake/Qt5Quick"
    "-DQt5Widgets_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Widgets"
    "-DQt5X11Extras_DIR=${libsForQt5.qtx11extras.dev}/lib/cmake/Qt5X11Extras"
    "-DQt5Xml_DIR=${libsForQt5.qtbase.dev}/lib/cmake/Qt5Xml"

    "-DKF5Auth_DIR=${libsForQt5.kauth.dev}/lib/cmake/KF5Auth"
    "-DKF5Codecs_DIR=${libsForQt5.kcodecs.dev}/lib/cmake/KF5Codecs"
    "-DKF5Config_DIR=${libsForQt5.kconfig.dev}/lib/cmake/KF5Config"
    "-DKF5ConfigWidgets_DIR=${libsForQt5.kconfigwidgets.dev}/lib/cmake/KF5ConfigWidgets"
    "-DKF5CoreAddons_DIR=${libsForQt5.kcoreaddons.dev}/lib/cmake/KF5CoreAddons"
    "-DKF5FrameworkIntegration_DIR=${libsForQt5.frameworkintegration.dev}/lib/cmake/KF5FrameworkIntegration"
    "-DKF5GuiAddons_DIR=${libsForQt5.kguiaddons.dev}/lib/cmake/KF5GuiAddons"
    "-DKF5IconThemes_DIR=${libsForQt5.kiconthemes.dev}/lib/cmake/KF5IconThemes"
    "-DKF5Kirigami2_DIR=${libsForQt5.kirigami2.dev}/lib/cmake/KF5Kirigami2"
    "-DKF5WidgetsAddons_DIR=${libsForQt5.kwidgetsaddons.dev}/lib/cmake/KF5WidgetsAddons"
    "-DKF5WindowSystem_DIR=${libsForQt5.kwindowsystem.dev}/lib/cmake/KF5WindowSystem"

    "-DKF5I18n_DIR=${libsForQt5.ki18n.dev}/lib/cmake/KF5I18n"

    "-DBUILD_TESTING=ON"
    "-DBUILD_QT6=ON"
    "-DBUILD_QT5=ON"
  ];

  # Move Qt5 plugin to Qt5 plugin path
  postInstall = ''
    mkdir -p $qt5/${libsForQt5.qtbase.qtPluginPrefix}/styles
    mv $out/${kdePackages.qtbase.qtPluginPrefix}/styles/klassy5.so $qt5/${libsForQt5.qtbase.qtPluginPrefix}/styles
  '';
}

and then somewhere in the configuration:
klassy = pkgs.kdePackages.callPackage ./klassy.nix { inherit (inputs) klassy; };

If someone is interested in doing a PR based on this code you're free to do so

hello
is Klassy now in the Nixos Packages?
Because i can't find it

If someone is interested in doing a PR based on this code you're free to do so

The problem is this only supports KDE Plasma 5 from a quick glance.

If someone is interested in doing a PR based on this code you're free to do so

The problem is this only supports KDE Plasma 5.

Not anymore

any updates on klassy got updated for latest plasma versions recently.

any updates on klassy got updated for latest plasma versions recently.

You can get it in the NUR repository for now.


Bump Maven version and maven-wrapper

maven-wrapper is now available under the org.apache.maven.wrapper group in Maven Central.
This PR also aligns the Maven version with Quarkus 2.11.2.Final.

I wouldn't describe it as awesome, but making sure everyone builds a project with the exact same version can help avoid build issues resulting from different versions of Maven being used.

The PR check failure is unrelated, IQE tests were already broken on ephemeral.

That "same version" is IMO rather/better done by the enforcer plugin.

Can it enforce a maximum Maven version?

It looks like it does.
There's another cool thing about the wrapper: you don't have to bother downloading version x.y.z of Maven because your project needs it :smiley:

It can enforce a version range. See https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html
And then one does not/can't enforce using the wrapper. And the wrapper is mutually exclusive with mvnd.

There's another cool thing about the wrapper: you don't have to bother installing version x.y.z of Maven because your project needs it smiley

I think this is the biggest selling point for me


Pre-resolve singleton constructor arguments

The Supplier ConstructorSupplier could pre-resolve and cache those Arguments that are application singletons for all calls after the 1st one.

v0.9 introduces InjectionSite and in connection does "buffer" method and constructor arguments as constants (if possible), as Injectrons (if possible) or resolves them as needed.


[SPARK-29530][SQL] Reset active SparkSession before parse sql in SparkSession

What changes were proposed in this pull request?
As I have comment in  SPARK-29516
SparkSession.sql() method parse process not under current sparksession's conf, so some configuration about parser is not valid in multi-thread situation.
Why are the changes needed?
Fix bug
Does this PR introduce any user-facing change?
NO
How was this patch tested?
NO

cc @wangyum @cloud-fan @gatorsmile

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Test build #112364 has started for PR 26187 at commit f456207.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17340/
Test PASSed.

Test build #112364 has finished for PR 26187 at commit f456207.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/112364/
Test FAILed.

retest this please

Test build #112368 has started for PR 26187 at commit f456207.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17342/
Test PASSed.

Test build #112368 has finished for PR 26187 at commit f456207.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/112368/
Test FAILed.

Seems test failed of timeout.

retest this please

Test build #112383 has started for PR 26187 at commit f456207.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17357/
Test PASSed.

Test build #112383 has finished for PR 26187 at commit f456207.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #112399 has started for PR 26187 at commit ad9dba8.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17371/
Test PASSed.

LGTM, can you update the PR title?

Test build #112399 has finished for PR 26187 at commit ad9dba8.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class AbstractSqlParser(conf: SQLConf) extends ParserInterface with Logging
class CatalystSqlParser(conf: SQLConf) extends AbstractSqlParser(conf)
class SparkSqlParser(conf: SQLConf) extends AbstractSqlParser(conf)

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/112399/
Test PASSed.

LGTM, can you update the PR title?

PR Title ok now?  brief and show purpose.

thanks, merging to master!

@AngersZhuuuu Could you open a PR against 2.4 branches?

@AngersZhuuuu Could you open a PR against 2.4 branches?

I will do this.


Make Followup Saas Mail Flyer

[ ] a flyer that clearly lays out the benefits of Tonomy ID again but then with Comperative analysis (use pitch) and the Business model.

[ ] Handover to Chris, Cai and Mike so they know where to find it.

already part of https://github.com/Tonomy-Foundation/Tonomy-ID-Management/issues/144


package generated by wasm-pack import wasm file directly, which does not work in browser

🐛 Bug description
Current generated code make use of import * as wasm from "./<lib>.wasm"
This does not work in browser and require a bundler
🤔 Expected Behavior
I expect wasm-pack to generate package that can be imported without transformation in modern browser
👟 Steps to reproduce
see reproduction repo here : https://github.com/bug-reproduction/wasm-pack-in-browser
git clone https://github.com/bug-reproduction/wasm-pack-in-browser
cd wasm-pack-in-browser
wasm-pack build

Then launch a server:
python3 -m http.server 8888

navigate to http://localhost:8888/
open the console and see
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "application/wasm". Strict MIME type checking is enforced for module scripts per HTML spec.

🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: .13.0
rustc version: 1.81.0 (eeb90cda1 2024-09-04)

So after looking into it more, the web target works in modern browser
you simply execute wasm-pack build --target web
But you then need to initialise the module.
You can do that by having a wrapper js module and make use of top level await
import init from "<your-wasm-module-package>";
export * from "<your-wasm-module-package>";
export const wasmExports = await init();

This make use of top level await so you can simply import it this way
import { greet, wasmExports } from "./wrapper.js";

greet("Your Name");

const memory = wasmExports.memory;

I feel a new target option would be useful, --target web-top-level-await that would produce mostly the same code, the only addition would be to append this single line to the js file:
export const wasmExports = await __wbg_init();


Kind of cleanup

Signed-off-by: Hu Keping<EMAIL_ADDRESS>

Can one of the admins verify this patch?

thanks for cleaning this up (this is unused since we use validateTargets), LGTM.

Thanks for spotting all of these, @HuKeping.  LGTM.


is the project dead?

Hi
Should we expect any support?
Thanks!

Short answer, yes - it's dead.
I open-sourced the code when we shut down the company. So, functionally the code was already unmaintained when it was published.
I help companies manage and deploy the code on a consulting basis. If you need help, please reach out (philip at moonlightwork.com). Many companies continue to run and modify the code, but it's forked to a closed branch.
Alas, the hard truth is that we shut down the Staffjoy company because it was unsuccessful. I hope that publishing the code helps some people, but I don't make any warranty that the product is amazing at this point, and I'm not spending my personal time improving something that has been unsuccessful.

Thanks! Much appreciated!


[Bug]: Not able to fork and duplicate the application in workspace, when user has create permission for an application

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we try to fork first application created in new workspace: workspace1, to workspace2 which has create permission for app as well as datasource it fails with following error:
Along with fork , duplicate also fails with same error for the first application created in workspace.

Steps To Reproduce

Login as admin, create new workspace: workspace1 and a new app in it.
Create a new role, with edit permission for workspace1 in application resource tab and create permission for workspace1 at application resource tab as well as create permission for datasource.
Assign the role to user1
Login as user1 and try forking application from workspace1 to workspace2
Observe error is thrown.
Try Duplicating an app, that throws the same error.

Public Sample App
No response
Issue video log
No response
Version
http://<IP_ADDRESS>/

This is completed and verified by QA.


Compile a list of common model organisms to retrieve test samples for

Include the following:

Classical model organisms (human, mouse, rat, yeast, zebrafish, worm, fruit fly, frog)
Domesticated animals (cat, dog, horse, cow, pig, goat)

Try to find, for each family of organims, also one or two closely related organisms, preferring the more common ones.
Pick only organisms that are in data/transcripts.fasta.gz.
Once the list is assembled, pass to @BorisYourich for inclusion in the retrieval script.

A list of organisms already compiled can be found in this comment.


tar.vim: Fix .tar.zst handling

Updating .tar.zst files was broken. Fixes #12639.
Extracting files from .tar.zst / .tzs files was also broken and works now.
@cecamp: It seems you maintain an "upstream" for this plugin at http://www.drchip.org/astronaut/vim/index.html#TAR, but I didn't see a way of proposing updates there, hence doing it here. Hope this works.

I notice that  #12637 has some overlap with this PR (not in a conflicting way though).
#8109 is also related, which points out the correct short-form file extension for .tar.zst is actually .tzst not .tzs…

Thanks, I included this as well as the others now with Commit 3a5b3df7764daa058a3e779183e8f38a8418b164. Even so it was non-conflicting overlapping, I had to apply the patches manually, since those changes prevented patch/git apply from applying it 🤷 . Hope it is all fine now.


[Bug]: Chroma DB - Chat with your documents example not performing as expected

What happened?
As a new user of ChromaDB. I immediately went into the examples and started playing around with the Chat With Your Documents example.
I loaded the state of the union data. It created chroma_storage and the sqlite perfectly.
In the main.py code, it explicitly states to use gpt-3.5-turbo:
response = openai.ChatCompletion.create(
        model="gpt-3.5-turbo",
        messages=build_prompt(query, context),
    )

I then ran the main.py -- I provided my OpenAI key (which has access to both 3.5 turbo and 4).
I went and asked questions that I would think are very straightforward and easy to understand and answer. It cannot answer them at all.
Example 1 GPT 3.5-turbo
Query: What was said about the pandemic?

Thinking...

Based on the given context, there is no specific mention of anything about the pandemic. The provided information talks about the strength of the nation, a unity agenda, a goal to reduce the cancer death rate, and requesting Congress to provide benefits and comprehensive healthcare for veterans affected by toxic exposures. There is no reference to the pandemic or any discussion about it. Therefore, it is safe to say that there is no mention about the pandemic in the context provided.

Source documents:
state_of_the_union_2022.txt: line 703
state_of_the_union_2022.txt: line 709
state_of_the_union_2022.txt: line 669
state_of_the_union_2022.txt: line 659
state_of_the_union_2022.txt: line 648

As you can see, the answer is terrible and not close to what is stated in the example's readme. The references to the source documents are even terrible. None of those lines talk about the pandemic at all.
Example 2 GPT 3.5-turbo
Query: What was said about ukraine?

Thinking...

Based on the provided context, there is no specific information about what was said about Ukraine. The context only mentions a unity agenda for the nation, the strength of the State of the Union, and the accomplishments of the American people in building a strong and prosperous nation. Therefore, it is not possible to provide a direct answer to the question.

Source documents:
state_of_the_union_2022.txt: line 669
state_of_the_union_2022.txt: line 703
state_of_the_union_2022.txt: line 707
state_of_the_union_2022.txt: line 709
state_of_the_union_2022.txt: line 679

Another poor response.
Example 3 GPT 3.5-turbo
Query: How old is Officer Rivera?

Thinking...

Based on the given context, there is no information provided about Officer Rivera's age. It seems to be unrelated to the content provided. Therefore, I am not able to determine how old Officer Rivera is based on the context given.

Source documents:
state_of_the_union_2022.txt: line 638
state_of_the_union_2022.txt: line 636
state_of_the_union_2022.txt: line 642
state_of_the_union_2022.txt: line 665
state_of_the_union_2022.txt: line 681

I thought this was the easiest because it clearly states in the state_of_the_union_2022.txt on line 490: Officer Rivera was 22.
I changed the model to gpt-4 in main.py to try this out:
response = openai.ChatCompletion.create(
        model="gpt-4",
        messages=build_prompt(query, context),
    )

I got better responses and a lot better references to the source.
Example 1 GPT-4
Query: who is the longest-serving leader in the history of the united states senate?

Thinking...

The longest-serving Leader in the history of the United States Senate, based on the provided context, is Mitch McConnell.

Mitch McConnell is explicitly mentioned and congratulated for this milestone in the context provided. No other Senators are credited with such a record in the text. McConnell served as Senate Majority Leader from 2015 to 2021 and has been Senate Minority Leader since January 2021.

Source documents:
state_of_the_union_2023.txt: line 15
state_of_the_union_2023.txt: line 5
state_of_the_union_2022.txt: line 365
state_of_the_union_2023.txt: line 17
state_of_the_union_2022.txt: line 1

This lines up perfectly. On line 15 in state_of_the_union_2023: Congratulations to the longest-serving Leader in the history of the United States Senate, Mitch McConnell. Where are you, Mitch?
Example 2 GPT-4
Query: How old is Officer Rivera?

Thinking...

Based on the provided context, Officer Rivera was 22 years old. The passage states that Officer Rivera was 22. His partner, Officer Mora, was older than him at 27 years old. The two officers were serving at the New York City Police Department and chose to work the same streets they'd grown up in.

They were both of Dominican American heritage. Other than the information about their nationality, ages, and where they worked, there's no additional information provided within the context. The context also introduces Danielle Robinson from Ohio, who is linked to military families, but there doesn't seem to be a direct connection between Robinson and Officer Rivera or Mora.

Source documents:
state_of_the_union_2022.txt: line 490
state_of_the_union_2022.txt: line 488
state_of_the_union_2022.txt: line 484
state_of_the_union_2022.txt: line 492
state_of_the_union_2022.txt: line 624

As you can see, it answered Rivera's age perfectly and the reference is perfect.
Obviously, there is a problem with 3.5-turbo. Using 4 gives great results. Perhaps something changed with 3.5-turbo and its not getting the context correctly? I would assume 3.5-turbo could handle simple questions like this if the context was given correctly?
If you have any questions, please let me know.
Versions
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
chromadb>=0.4.4
openai
tqdm
Relevant log output
No response
EDIT
I did more digging on the context sent and I noticed the context is different sometimes. Sometimes it gives Officer Rivera's age and sometimes it does not. In this example, it does but 3.5 turbo doesn't answer the question that well; which is not ChromaDB's fault.
Query: How old is officer rivera?

Thinking...

['Officer Rivera was 22.', 'Officer Mora was 27 years old.', 'I recently visited the New York City Police Department days after the funerals of Officer Wilbert Mora and his partner, Officer Jason Rivera.', 'Both Dominican Americans who’d grown up on the same streets they later chose to patrol as police officers.', 'Committed to military families like Danielle Robinson from Ohio.']

Based on the information provided, we know that Officer Mora was 27 years old. However, there is no direct information given about Officer Rivera's age in the context. We only know that both officers recently had funerals and they were both Dominican Americans who grew up on the same streets they patrolled.

Therefore, based solely on the given context, we cannot determine Officer Rivera's age. It is not mentioned anywhere how old Officer Rivera is in this particular scenario. So, I am not sure about Officer Rivera's age.

Source documents:
state_of_the_union_2022.txt: line 490
state_of_the_union_2022.txt: line 488
state_of_the_union_2022.txt: line 484
state_of_the_union_2022.txt: line 492
state_of_the_union_2022.txt: line 624

Here is an example of the same question, but the context is horrible
Query: How old is officer rivera?

Thinking...

['He didn’t know how to stop fighting, and neither did she.', 'Danielle says Heath was a fighter to the very end.', 'Tonight, Danielle—we are.', 'It’s based on DARPA—the Defense Department project that led to the Internet, GPS, and so much more.', 'Now is the hour.']

Based on the given context, there is no information provided regarding Officer Rivera's age. The context talks about fighting, DARPA, and the current hour, but none of these details give any indication of Officer Rivera's age. Therefore, I am not sure how old Officer Rivera is based solely on the provided information.

Source documents:
state_of_the_union_2022.txt: line 638
state_of_the_union_2022.txt: line 636
state_of_the_union_2022.txt: line 642
state_of_the_union_2022.txt: line 665
state_of_the_union_2022.txt: line 681

Overall, it seems ChromaDB context is sometimes flakey and when its not, GPT-3.5 cannot answer the simplest question; even if its given the answer.

@BChip i think switching the base example to gpt4 is probably a very good idea! thanks for doing this analysis. Do you want to open that PR? happy to land it and give you credit :)

Thank you @jeffchuber -- I have submitted a PR: #1116

I tracked this down to an issue in the example code where we were ingesting every empty line. This leads to a degenerate HNSW graph, sometimes tanking retrieval quality.
This is now fixed in https://github.com/chroma-core/chroma/pull/1203
This was difficult to track down, and points to the need for better tooling and checks for this kind of data.


Add assertion in @njit tests to ensure offloading

This PR makes sure we are asserting offload to SYCL device in the case of auto-offload.
During implementation it was discovered that parfor is not generated for numoy.logical_not and it was removed from testing as we can not offload regions that are not converted to parfor nodes.

The changes here look good and needed. Thanks!
The question I had was why is testing.py under numba_dppy? Are those functions used any place outside of tests? If not so, the testing.py module should be moved into the tests directory as a helper module.

@diptorupd I have removed testing.py and moved it's content in numba_dppy/tests/_helper.py


network parameters used in MVX-Net model

What are the network parameters used for the training of the MVX-Net model ?

Do you mean the config for training MVX-Net model? Please refer to this folder for configs of MVX-Net.

yes, what was the optimizer used ? the learning rate ? number of epochs ? , batch size ? the total training time ?

I really need  this information for my thesis.
Hopefully you could help me figure them out .

Sorry for the late reply. You can see it inherits from two configs namely "cosine" and "default runtime". Please find the information you want in those configs.


add support to nest any pool into any pool

currently only nesting of CSP and linear is allowed

done #403


[PackageLoading] Remove support for loading empty Package.swift

I couldn't find any reference in documentation...
Bug: https://bugs.swift.org/browse/SR-1839

@swift-ci please test

Diffs look good.

@swift-ci please test

This ok to merge ?

Go for it!


ImportError: cannot import name '_LazyModule' from 'transformers.file_utils' (/opt/conda/lib/python3.7/site-packages/transformers/file_utils.py)

Bug description
Import error while importing transformer4rec library
Updated the dependent libraries like torch, torchmetrics to latest version still facing while running below code
import transformers4rec.torch as tr
error

Environment details

Transformers4Rec version: 0.15.0
Platform: Kaggle Notebook
Python version: 3.7.12

You can close this ticket. I installed by specifying the version  and it worked


Example action seems to be referring to an older version of

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://github.com/github/docs/blob/main/content/actions/deployment/deploying-to-your-cloud-provider/deploying-to-azure/deploying-to-azure-static-web-app.md
What part(s) of the article would you like to see updated?
In the example the
Azure/static-web-apps-deploy@1a947af9992250f3bc2e68ad0754c0b0c11566c9 action is referencing an old version that no longer uses app_artifact_location but app_location as in the Microsoft docs for Azure/static-web-apps-deploy@v1. This initial misled us to use app_artifact_location.
Additional information
No response

@oms5 Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

Thanks for opening this issue! You or anyone else is welcome to open a PR to update this example workflow to use a newer version of the Azure/static-web-apps-deploy action.
To whoever picks this up: When you submit your PR, if you have a publicly available workflow run log that demonstrates that the new example workflow runs without error, please link it in your PR. That will help us provide a faster review.


Adds typescript .d.ts declaration file for RegularTableElement

[x] Adds dist/esm to the build. This includes .d.ts files autogenerated from the existing jsdoc comments in the javascript sources (using the standard tsc typescript compiler)
[x] fixup/add missing jsdoc comments
[x] add manually curated index.d.ts file to project root

Revert element.js rename please to index.js, don't need a separate file just to register this class nor should the class itself be exported as it is not intended to be inherited.

I poked around for several hours, but was unable to find a way to generate the declaration for the RegularTableElement class without export-ing it. I moved RegularTableElement to a new element.js file so that I could export it without exposing it externally (since everything export-ed from index.js is treated as a top-level export of the package).

Fix e.g. _column_sizes, _styles_callbacks private methods to not emit types.

It was not obvious how to get tsc to ignore these, but there has to be a way to do that, right? If not I guess that's something that should be submitted upstream in the typescript project as a bug.

Speaking of which - can JSDoc outputs handle the Intrinsic and React type hints?  Let's please figure out a way to template these as part of index.d.ts generation.

I don't think I managed to convey a full appreciation of how limited tsc's capabilities are vis-a-vis declaration generation from javascript sources :smile:
I agree that this would be very nice to have, but we'll have to roll our own declaration generation system to support this (maybe as a rollup plugin?)

Thanks for the feedback! There was a bunch of stuff that I wasn't sure about (eg the existence of the separate dist/esm build), and I figured the easiest way to have a discussion about it would be to just float this PR.
All of the things you mention under "Not fixed in ts-wip" are things I tried to implement but found that I could not easily do so. I think the reality is that tsc's capabilities vis-a-vis declaration generation are currently extremely limited, and are mostly lacking in terms of configurability. Here's the [docs].
So the approach I went for in the end was basically to just manually write index.d.ts by hand. The .d.ts files generated by the typescript build are then mostly meant to just serve as a convenient starting point, so that index.d.ts doesn't have to be created completely from scratch.

Closing this in favor of #65


[Bug]: Layout issues when running under wayland

Checks before filing an issue

[X] This issue doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[X] I have checked the issue tracker and have not found an issue that matches the one I'm filing.
[X] This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
[X] This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
[X] This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
[X] I have read the contribution guidelines.

Mattermost Desktop Version
5.7.0
Operating System
openSUSE Leap 15.6
Mattermost Server Version
9.8.1
Steps to reproduce
Running mattermost-desktop on Linux under wayland with
ELECTRON_OZONE_PLATFORM_HINT=wayland

Fractional scaling might also be a factor.
Expected behavior
Layout should remain the same regardless of the rendering platform.
Observed behavior
The layout changes as soon as the application loses focus.
Layout of the input bar at startup (or after a manual reload)

As soon as I click on another app and the mattermost-desktop is unfocused

Log Output
[no relevant log output]

Additional Information
No response

I experience the same issue using Ubuntu 22.04, Wayland and fractional scaling. It only appears when I enable WaylandWindowDecorations (i.e., with the standard Gnome Titlebar). Disabling it fixes the issue, but requires workarounds to move the window using the mouse.

So I can reproduce this when setting scaling <100%, however this doesn't appear to be unique to our app, as I observed the same behaviour happening in VSCode, which is also an Electron application.
I would say try to reproduce the issue using an Electron fiddle and report it there, as we aren't changing the size of the window on focus, only the inner views.
Closing as there's nothing we can do from our end.


feat: Implement new customer relationships due to the new db structure [DEV-3217]

Task linked: DEV-3217 Implement account/customer linkages to other tables


Ability to increase height and width

This is a beautiful switch, thank you for your efforts. If there could be a way to increase the overall size of the switch, height and width -- perhaps to a size seen in the docs. If this could be controlled through a variable (like 'sm' or 'lg') or other means that would be great. The font size of 10px is a little small for some of my users.

Hey, looking into it.

@PunchRockgroin, guys, added height prop in<EMAIL_ADDRESS>Check out demo (might need to clean cache)


Improve gobstones boards acessibility for visually impaired users

Gobstones boards are hard to understand for visually impaired users.

Duplicated of https://github.com/mumuki/mumuki-gobstones-runner/issues/57


[Bug][UI] The background image disappears when the screen size is large.

Screenshots

The background disappears when the screen size is large.

hi @cyfyifanchen  can i work on this task ?

You sure can. :)


[backport] Support cuTENSOR 1.3.3

Backport of #5732 by @takagi

[automatic post] Jenkins, test this please.

Confirmed the following worked:
python cupyx/tools/install_library.py --library cutensor --cuda 10.1
python cupyx/tools/install_library.py --library cutensor --cuda 10.2

Need to backport #5996 after this PR got merged.

Jenkins CI test (for commit f2d754c0fbc69ed9bc1299d4680d3064720b455c, target branch v9) succeeded!

pfnCI, test this please.

Jenkins CI test (for commit f2d754c0fbc69ed9bc1299d4680d3064720b455c, target branch v9) succeeded!


Download/Image RIO with latest wpilib

https://www.chiefdelphi.com/t/best-analog-devices-gyro-in-2022/400455/17?u=gerthworm
Looks like there's a version of wpilib and the roboRIO image available which fixes some of the potential gyro issues.
Download/install it, then re-image the roboRIO's with it, then update the robot code to use the latest version.

https://www.chiefdelphi.com/t/roborio-corrupt-firmware-when-flashing-2022-image/399899/28
Thread for reference with RoboRIO 2.0


scaling AMD FSR 1.x

Please add scaling FSR in patch

Sorry for the late reply, I will look into this at some point.

FSR-SDK

FSR for fallout 2 was implemented through an external wrapper https://github.com/FunkyFr3sh/cnc-ddraw and glsl shaders, support for wrappers was added to sfall. In parallel, work is underway to improve the decompiled versions of Fallout https://github.com/alexbatalov/fallout2-ce


Check if geometry coordinates are defined anti clockwise and reorder if necessary

`def check_orientation(points):
"""

Check if points are in clockwise or counter-clockwise order

Parameters:

-----------

points: list

    The points to check

"""

# calculate area of polygon

area = 0

for i in range(len(points) - 1):

    area += (points[i][0] * points[i+1][1]) - (points[i+1][0] * points[i][1])

area += (points[-1][0] * points[0][1]) - (points[0][0] * points[-1][1])

area = area / 2

if area > 0:

    return "anti-clockwise"

else:

    return "clockwise"`

is solved in stem


Tag all-in-one image

Currently the all-in-one docker image can only be used with the latest tag. I think it would make sense to tag releases as well so that one can use the closes version to the production environment when playing with Jaeger in a test environment.
For example I still deploy the agent together with my application and configure it to use the collector from the all-in-one image in a dev environment.

iirc #376 is supposed to fix that, once we make the next release
cc @pavolloffay

Awesome, thanks!
No releases in the last 10 days, so probably it will magically be solved the next time you tag a release. (That being said, the last few tags could still be useful for the all-in-one image users)

Released as 0.8.0
https://hub.docker.com/r/jaegertracing/all-in-one/tags/


feat: Archive /srv directory

In support of archiving directories this patch adds:
tar / zip the Power-up software installer repos
tar / zip the Power-up software
Install Power-up from tar/zip
recreate repos on Power-up server
Also, the bundle.py script is able to be ran standalone
only with python 2.7 installed.

adding new review. closing this one.


adapters: add the module name and builtin flag to the adapter list

In order to improve the ability of embedders like juttle-service
to list the version of all adapters, add the module name and a flag
to indicate which ones are builtins to the adapter list.

@go-oleg @mstemm

lgtm.


GPR curation for Leukotriene metabolism (2)

Current behavior:

25 genes are discovered to be uncorrelated with their corresponding reactions in Leukotriene metabolism.

Gene
UniProtID
Reaction
GPR
Correlation
Manually check

ENSG00000177669
Q96T53
MAR01091: CoA + H+ + N-acetyl-LTE4 <=> acetyl-CoA + leukotriene E4
ENSG00000023041 or ENSG00000054392 or ENSG00000087253 or ENSG00000090971 or ENSG00000097033 or ENSG00000099904 or ENSG00000100344 or ENSG00000102030 or ENSG00000102312 or ENSG00000102383 or ENSG00000103066 or ENSG00000104219 or ENSG00000106636 or ENSG00000109065 or ENSG00000110583 or ENSG00000111684 or ENSG00000121579 or ENSG00000122390 or ENSG00000123684 or ENSG00000125505 or ENSG00000133328 or ENSG00000135372 or ENSG00000136247 or ENSG00000141446 or ENSG00000143797 or ENSG00000144035 or ENSG00000153395 or ENSG00000153786 or ENSG00000156599 or ENSG00000159714 or ENSG00000160446 or ENSG00000163812 or ENSG00000163958 or ENSG00000167011 or ENSG00000171307 or ENSG00000171320 or ENSG00000172197 or ENSG00000172954 or ENSG00000173418 or ENSG00000174165 or ENSG00000175048 or ENSG00000175893 or ENSG00000176454 or ENSG00000177054 or ENSG00000177108 or ENSG00000177669 or ENSG00000180776 or ENSG00000184210 or ENSG00000184307 or ENSG00000184788 or ENSG00000186908 or ENSG00000188706 or ENSG00000188818 or ENSG00000203972 or ENSG00000204160 or ENSG00000206077 or ENSG00000243477
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000177669 encodes an enzyme that catalyzes the acylation of ghrelin at 'Ser-3' using various acyl-CoA donors, leading to ghrelin activity. The reactions listed in the annotation involve the transfer of acyl groups to seryl-[protein] using CoA donors of different chain lengths. In contrast, the provided reaction involves the conversion of CoA, H+, and N-acetyl-LTE4 to acetyl-CoA and leukotriene E4, which is unrelated to the activities described for the gene product, as it does not involve seryl-[protein] acylation or ghrelin-related processes.
No

ENSG00000180776
Q5W0Z9
MAR01091: CoA + H+ + N-acetyl-LTE4 <=> acetyl-CoA + leukotriene E4
ENSG00000023041 or ENSG00000054392 or ENSG00000087253 or ENSG00000090971 or ENSG00000097033 or ENSG00000099904 or ENSG00000100344 or ENSG00000102030 or ENSG00000102312 or ENSG00000102383 or ENSG00000103066 or ENSG00000104219 or ENSG00000106636 or ENSG00000109065 or ENSG00000110583 or ENSG00000111684 or ENSG00000121579 or ENSG00000122390 or ENSG00000123684 or ENSG00000125505 or ENSG00000133328 or ENSG00000135372 or ENSG00000136247 or ENSG00000141446 or ENSG00000143797 or ENSG00000144035 or ENSG00000153395 or ENSG00000153786 or ENSG00000156599 or ENSG00000159714 or ENSG00000160446 or ENSG00000163812 or ENSG00000163958 or ENSG00000167011 or ENSG00000171307 or ENSG00000171320 or ENSG00000172197 or ENSG00000172954 or ENSG00000173418 or ENSG00000174165 or ENSG00000175048 or ENSG00000175893 or ENSG00000176454 or ENSG00000177054 or ENSG00000177108 or ENSG00000177669 or ENSG00000180776 or ENSG00000184210 or ENSG00000184307 or ENSG00000184788 or ENSG00000186908 or ENSG00000188706 or ENSG00000188818 or ENSG00000203972 or ENSG00000204160 or ENSG00000206077 or ENSG00000243477
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000180776 encodes a palmitoyltransferase enzyme that catalyzes the addition of palmitate onto protein substrates, specifically palmitoylating cysteine residues in proteins such as EGFR and the SARS-CoV-2 spike protein. The catalytic activities listed involve reactions with acyl-CoA derivatives, such as hexadecanoyl-CoA, tetradecanoyl-CoA, and octadecanoyl-CoA. The reaction provided involves the conversion of CoA, H+, and N-acetyl-LTE4 to acetyl-CoA and leukotriene E4, which does not involve palmitoylation or the substrates typically acted upon by the gene¡¯s palmitoyltransferase activity. Thus, the gene is not relevant to the specified reaction.
No

ENSG00000121039
Q8IZV5
MAR01098: 13,14-dihydro-15-oxo-lipoxin A4 + NADP+ <=> 15-oxo-lipoxin A4 + H+ + NADPH
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000121039 encodes a retinol dehydrogenase that specifically catalyzes the conversion of all-trans-retinol to all-trans-retinal using NADP+ as a cofactor, and shows no activity towards other retinol isomers. In contrast, the provided reaction involves the conversion of 13,14-dihydro-15-oxo-lipoxin A4 to 15-oxo-lipoxin A4, which is unrelated to the function described for the gene ENSG00000121039.
No

ENSG00000176387
P80365
MAR01098: 13,14-dihydro-15-oxo-lipoxin A4 + NADP+ <=> 15-oxo-lipoxin A4 + H+ + NADPH
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000176387 codes for an enzyme that catalyzes several specific reactions involving 11beta-hydroxyglucocorticoids, glucocorticoids, androgens, and cholesterol derivatives, primarily in the presence of NAD+ as a cofactor. However, the reaction provided involves 13,14-dihydro-15-oxo-lipoxin A4 and NADP+, which is not among the substrates or cofactors specified in the gene's annotated catalytic activities. Thus, there is no relevance between the gene and the provided reaction.
No

ENSG00000087076
Q9BPX1
MAR01098: 13,14-dihydro-15-oxo-lipoxin A4 + NADP+ <=> 15-oxo-lipoxin A4 + H+ + NADPH
ENSG00000087076 or ENSG00000099377 or ENSG00000100867 or ENSG00000109854 or ENSG00000121039 or ENSG00000138400 or ENSG00000139988 or ENSG00000145439 or ENSG00000159692 or ENSG00000160439 or ENSG00000164039 or ENSG00000167733 or ENSG00000170426 or ENSG00000170786 or ENSG00000176387 or ENSG00000183921 or ENSG00000184860 or ENSG00000186153 or ENSG00000187134 or ENSG00000197894 or ENSG00000198074 or ENSG00000198189 or ENSG00000198610 or ENSG00000204228 or ENSG00000227471 or ENSG00000240857
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000087076 encodes an enzyme with NAD-dependent 17-beta-hydroxysteroid dehydrogenase activity, which catalyzes the conversion of oestradiol to oestrone and androst-5-en-3-beta,17-beta-diol to 3-beta-hydroxyandrost-5-en-17-one. However, the provided reaction involves the conversion of 13,14-dihydro-15-oxo-lipoxin A4 to 15-oxo-lipoxin A4 using NADP+, which is not one of the reactions catalyzed by the gene's encoded enzyme. Therefore, there is no connection between the gene's function and the provided reaction.
No

ENSG00000159228
P16152
MAR01103: leukotriene B4 + NAD+ --> 12-keto-LTB4 + H+ + NADH
ENSG00000157326 or ENSG00000159228 or ENSG00000159231
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000159228 encodes an NADPH-dependent reductase with broad substrate specificity, primarily catalyzing the reduction of various carbonyl compounds, prostaglandins, and xenobiotics. It also participates in glucocorticoid metabolism. However, the provided reaction involves the conversion of leukotriene B4 to 12-keto-LTB4 using NAD+, not NADP+, and produces NADH, not NADPH, indicating different cofactor specificity and substrate, which does not align with the catalytic activities described for ENSG00000159228.
No

ENSG00000148344
O14684
MAR01119: 12-keto-LTB4 + GSH <=> 12-oxo-c-LTB3
ENSG00000008394 or ENSG00000065621 or ENSG00000084207 or ENSG00000085871 or ENSG00000100577 or ENSG00000133433 or ENSG00000134184 or ENSG00000134201 or ENSG00000134202 or ENSG00000143198 or ENSG00000148344 or ENSG00000148834 or ENSG00000163106 or ENSG00000168765 or ENSG00000170899 or ENSG00000174156 or ENSG00000182793 or ENSG00000197448 or ENSG00000213366 or ENSG00000243955 or ENSG00000244067
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000148344 encodes an enzyme involved in the cyclooxygenase (COX)-2-mediated prostaglandin E2 biosynthetic pathway, specifically catalyzing the conversion of prostaglandin endoperoxide H2 (PGH2) to prostaglandin E2 (PGE2), among other reactions involving prostaglandins and endocannabinoids. However, the provided reaction involves the conversion of 12-keto-LTB4 to 12-oxo-c-LTB3, which does not match any of the annotated catalytic activities or functions of the enzyme encoded by the gene. Therefore, the gene is not relevant to the given reaction.
No

ENSG00000196616
P00325
MAR01129: 20-OH-LTB4 + NAD+ <=> 20-oxo-LTB4 + H+ + NADH
ENSG00000147576 or ENSG00000172955 or ENSG00000187758 or ENSG00000196344 or ENSG00000196616 or ENSG00000197894 or ENSG00000198099 or ENSG00000248144
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000196616 is involved in the NAD-dependent oxidation and reduction of all-trans-retinol and its derivatives as part of retinoid metabolism. The catalytic activities listed for this gene include reactions involving all-trans-retinol, all-trans-4-hydroxyretinol, and all-trans-4-oxoretinol. However, the reaction provided involves the conversion of 20-OH-LTB4 to 20-oxo-LTB4, which is unrelated to the substrate specificities and activities of the gene ENSG00000196616. Therefore, the gene is not relevant to the provided reaction.
No

ENSG00000196616
P00325
MAR01130: 20-OH-LTB4 + NAD+ <=> 20-oxo-LTB4 + H+ + NADH
ENSG00000147576 or ENSG00000172955 or ENSG00000187758 or ENSG00000196344 or ENSG00000196616 or ENSG00000197894 or ENSG00000198099 or ENSG00000248144
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000196616 is involved in the NAD-dependent oxidation of all-trans-retinol and its derivatives and the NADH-dependent reduction of all-trans-retinal and its derivatives, primarily focusing on retinoid metabolism. The reactions catalyzed by the gene involve substrates such as all-trans-retinol, all-trans-4-hydroxyretinol, and all-trans-4-oxoretinol. In contrast, the reaction provided involves the conversion of 20-OH-LTB4 to 20-oxo-LTB4 which pertains to leukotriene metabolism, not retinoid metabolism. Therefore, the gene's function does not align with the provided reaction.
No

ENSG00000137869
P11511
MAR01149: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000137869 encodes a cytochrome P450 monooxygenase that catalyzes various oxidations involving androgens and estrogens, such as converting androst-4-ene-3,17-dione to estrone and testosterone to estradiol. The reactions involve molecular oxygen and NADPH, focusing on steroidogenesis. In contrast, the provided reaction involves the reduction of 5-oxo-6-trans-LTB4 to 6,7-dihydro-5-oxo-LTB4 with NADPH, which is unrelated to the activities of the cytochrome P450 monooxygenase encoded by ENSG00000137869, which does not act on leukotrienes or similar substrates.
No

ENSG00000108242
P33260
MAR01149: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000108242 encodes a cytochrome P450 monooxygenase involved in retinoid metabolism, specifically hydroxylating all-trans-retinoic acid (atRA) to 4-hydroxyretinoate. The catalytic activities described involve reactions with atRA, oxygen, and NADPH, leading to retinoid modifications. However, the reaction provided involves the conversion of 5-oxo-6-trans-LTB4 to 6,7-dihydro-5-oxo-LTB4 using NADPH. This reaction does not involve the retinoid substrates or the specific hydroxylation mechanisms related to the gene's function, indicating no relevance between the gene and the reaction.
No

ENSG00000106258
P20815
MAR01150: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000106258 encodes a cytochrome P450 monooxygenase that is involved in the metabolism of steroid hormones and vitamins, catalyzing reactions that incorporate an oxygen atom into substrates like 17beta-estradiol, estrone, testosterone, progesterone, and all-trans-retinol, among others. It specifically functions in hydroxylation reactions using molecular oxygen and NADPH. However, the provided reaction involves the reduction of 5-oxo-6-trans-LTB4 to 6,7-dihydro-5-oxo-LTB4 using NADPH. This reaction does not involve oxygen insertion or the substrates typically acted upon by the cytochrome P450 enzyme encoded by ENSG00000106258, indicating that the gene's function is unrelated to this specific reaction.
No

ENSG00000186377
Q8N118
MAR01150: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000186377 encodes a cytochrome P450 monooxygenase that selectively catalyzes the epoxidation of the last double bond of the arachidonoyl moiety of anandamide. However, the provided reaction involves the conversion of 5-oxo-6-trans-LTB4 to 6,7-dihydro-5-oxo-LTB4, which is unrelated to the substrate specificity and catalytic activity of the aforementioned cytochrome P450 enzyme. Thus, there is no relevance between the gene and the reaction described.
No

ENSG00000160870
P24462
MAR01151: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000160870 is involved in the metabolism of steroid hormones and vitamins, as well as the oxidative metabolism of xenobiotics. This gene's encoded protein, a cytochrome P450 monooxygenase, catalyzes various hydroxylation reactions using NADPH, oxygen, and a substrate. The provided reaction, "5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+," involves the reduction of 5-oxo-6-trans-LTB4, which does not align with the hydroxylation functions or substrates specified for the cytochrome P450 monooxygenase encoded by ENSG00000160870. Therefore, the gene and the provided reaction are not related.
No

ENSG00000137869
P11511
MAR01151: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000137869 encodes a cytochrome P450 monooxygenase that is primarily involved in catalyzing the conversion of C19 androgens to C18 estrogens, involving various oxidative reactions. The reactions catalyzed by this gene involve substrates such as testosterone, androst-4-ene-3,17-dione, estrone, and 17beta-hydroxy-5alpha-androstan-3-one, and its enzymatic activities are linked to processes like steroidogenesis. However, the provided reaction: "5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+" pertains to the reduction of 5-oxo-6-trans-LTB4 to 6,7-dihydro-5-oxo-LTB4, which involves leukotrienes, not steroids. Therefore, the catalytic activities and functional roles of the gene ENSG00000137869 do not overlap with the reaction provided, indicating they are not related.
No

ENSG00000108242
P33260
MAR01151: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000108242 encodes a cytochrome P450 monooxygenase involved in retinoid metabolism, specifically hydroxylating all-trans-retinoic acid (atRA) to 4-hydroxyretinoate. The enzyme's catalytic activity involves reactions with retinoic acid substrates and does not pertain to the reaction converting 5-oxo-6-trans-LTB4 to 6,7-dihydro-5-oxo-LTB4, which is described in the provided reaction. Therefore, the gene and the reaction are unrelated.
No

ENSG00000137869
P11511
MAR01152: 5-oxo-6-trans-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000137869 encodes a cytochrome P450 monooxygenase involved in the conversion of C19 androgens and testosterone to C18 estrogens, including activities such as 2-hydroxylase activity toward estrone and the oxidative aromatization steps. The reaction provided involves the conversion of 5-oxo-6-trans-LTB4 to 6,7-dihydro-5-oxo-LTB4, which does not include substrates or products related to the functions and catalytic activities associated with this gene. Hence, the gene and the reaction are unrelated.
No

ENSG00000100197
P10635
MAR01154: 6,7-dihydro-5-oxo-LTB4 + H+ + NADPH <=> 6,7-dihydro-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000100197 encodes a cytochrome P450 monooxygenase involved in the metabolism of fatty acids, steroids, and retinoids. It catalyzes the epoxidation of double bonds in polyunsaturated fatty acids and metabolizes endocannabinoid and cholesterol. The reaction provided involves the conversion of 6,7-dihydro-5-oxo-LTB4 to 6,7-dihydro-LTB4 with NADPH as a reducing agent, which is not within the catalytic activities described for the mentioned gene. Therefore, the gene is not relevant to the specified reaction.
No

ENSG00000137869
P11511
MAR01154: 6,7-dihydro-5-oxo-LTB4 + H+ + NADPH <=> 6,7-dihydro-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000137869 encodes a cytochrome P450 monooxygenase involved in the catalysis of converting C19 androgens, such as androst-4-ene-3,17-dione and testosterone, into C18 estrogens and other related oxidative reactions. In contrast, the reaction provided involves the conversion of 6,7-dihydro-5-oxo-LTB4 to 6,7-dihydro-LTB4 with the involvement of NADPH and NADP+, which is not related to the functions or activities of the cytochrome P450 monooxygenase described. Therefore, the gene does not play a role in the provided reaction.
No

ENSG00000108242
P33260
MAR01154: 6,7-dihydro-5-oxo-LTB4 + H+ + NADPH <=> 6,7-dihydro-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000108242 encodes a cytochrome P450 monooxygenase involved in retinoid metabolism, specifically hydroxylating all-trans-retinoic acid to 4-hydroxyretinoate. However, the provided reaction involves the conversion of 6,7-dihydro-5-oxo-LTB4 to 6,7-dihydro-LTB4, which is unrelated to retinoid metabolism or the catalytic activities described for this gene. Therefore, the gene and the reaction are not related.
No

ENSG00000160870
P24462
MAR01155: 6,7-dihydro-5-oxo-LTB4 + H+ + NADPH <=> 6,7-dihydro-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000160870 encodes for a cytochrome P450 monooxygenase which is involved in the metabolism of steroid hormones and vitamins, and it catalyzes hydroxylation reactions using NADPH and molecular oxygen. It does not participate in the reaction involving 6,7-dihydro-5-oxo-LTB4 and NADPH as this reaction is not associated with the cytochrome P450 enzyme activities described in the annotation.
No

ENSG00000160870
P24462
MAR01156: 6,7-dihydro-5-oxo-LTB4 + H+ + NADPH <=> 6,7-dihydro-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000160870 encodes a cytochrome P450 monooxygenase involved in the hydroxylation of steroid hormones and vitamins, specifically catalyzing reactions involving substrates such as dehydroepiandrosterone, estrone, testosterone, and all-trans-retinoic acid with molecular oxygen and NADPH. However, the reaction provided involves the reduction of 6,7-dihydro-5-oxo-LTB4 using NADPH, leading to the formation of 6,7-dihydro-LTB4 and NADP+. This reaction does not involve the hydroxylation of steroid hormones or vitamins which are the primary substrates for the enzyme encoded by the gene. Therefore, the gene and the reaction are not related.
No

ENSG00000138109
P11712
MAR01156: 6,7-dihydro-5-oxo-LTB4 + H+ + NADPH <=> 6,7-dihydro-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation. The gene ENSG00000138109 encodes a cytochrome P450 monooxygenase involved in the metabolism of various endogenous substrates through oxidation reactions, using molecular oxygen and NADPH. In contrast, the provided reaction involves the reduction of 6,7-dihydro-5-oxo-LTB4 to 6,7-dihydro-LTB4 using NADPH, a distinct type of reaction not catalyzed by cytochrome P450 enzymes. Therefore, the gene does not correspond to the enzymatic activity required for the provided reaction.
No

ENSG00000108242
P33260
MAR01193: 5-oxo-(6E)-12-epi-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-12-epi-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000108242 encodes a cytochrome P450 monooxygenase involved in retinoid metabolism, specifically hydroxylating all-trans-retinoic acid (atRA) to 4-hydroxyretinoate. It uses molecular oxygen and NADPH for these reactions. Conversely, the provided reaction involves the interconversion of 5-oxo-(6E)-12-epi-LTB4 to 6,7-dihydro-5-oxo-12-epi-LTB4 using NADPH, which is not related to retinoid metabolism or the catalytic activities attributed to the gene ENSG00000108242. Therefore, the gene is not pertinent to the specified reaction.
No

ENSG00000108242
P33260
MAR01195: 5-oxo-(6E)-12-epi-LTB4 + H+ + NADPH <=> 6,7-dihydro-5-oxo-12-epi-LTB4 + NADP+
ENSG00000021461 or ENSG00000100197 or ENSG00000106258 or ENSG00000108242 or ENSG00000130649 or ENSG00000134716 or ENSG00000137869 or ENSG00000138061 or ENSG00000138109 or ENSG00000138115 or ENSG00000140465 or ENSG00000140505 or ENSG00000142973 or ENSG00000155016 or ENSG00000160868 or ENSG00000160870 or ENSG00000165841 or ENSG00000167600 or ENSG00000171903 or ENSG00000186160 or ENSG00000186204 or ENSG00000186377 or ENSG00000186526 or ENSG00000197408 or ENSG00000197446 or ENSG00000197838 or ENSG00000198077 or ENSG00000255974
Pending No, the gene is not relevant to the reaction provided. Analysis and explanation: The gene ENSG00000108242 encodes a cytochrome P450 monooxygenase involved in retinoid metabolism, specifically hydroxylating all trans-retinoic acid to 4-hydroxyretinoate using molecular oxygen and NADPH. The catalytic activities described are associated with processing retinoate compounds. In contrast, the reaction involves the conversion of 5-oxo-(6E)-12-epi-LTB4 to 6,7-dihydro-5-oxo-12-epi-LTB4 with NADPH. This reaction does not involve retinoid metabolism, indicating that the gene products of ENSG00000108242 are not relevant to the reaction provided.
No

LGTM!
except this: Since all three genes for MAR01103, MAR01101, and MAR01100 are NADPH-dependent, instead of removing the genes from the reactions, NAD and NADH should be changed to NADP and NADPH for all three reactions. Additionally, since ENSG00000159228 and ENSG00000159231 are located in the cytosol, and ENSG00000157326 is in the nucleus and peroxisome, they should be removed from MAR01101 [m] and MAR01103 [r].
Furthermore, since ENSG00000157326 is located in the nucleus and peroxisome, a copy of the new reaction with NADPH should be added for the peroxisome and nucleus compartments, with ENSG00000157326 designated as grRule

To summarize:

Remove ENSG00000157326, ENSG00000159228, ENSG00000159231 from MAR01103 as they locate in different compartments;
Remove ENSG00000157326, ENSG00000159228, ENSG00000159231 form MAR01101 as they locate in different compartments;
Replace NAD by NADP in MAR01103 and MAR01101;
Replace NADH by NADPH in MAR01103 and MAR01101;
Add a new reaction (leukotriene B4[x] + NADP+[x] --> 12-keto-LTB4[x] + H+[x] + NADHP[x]) with ENSG00000157326 as GPR;
Add a new reaction (leukotriene B4[n] + NADP+[n] --> 12-keto-LTB4[n] + H+[n] + NADHP[n]) with ENSG00000157326 as GPR;

However, I noticed that ENSG00000159228 and ENSG00000159231 are located in the cytosol, so can we also add a copy reaction in the cytosoland use ENSG00000159228 or ENSG00000159231 as the GPR?


BUG: Fixed calculation of nonzero elements in scipy.sparse.random

Reference issue

None
What does this implement/fix?

Previously, when calculating the number of non zero values, int() was wrapped around the result, meaning the value was always rounded down. Rather the round() function should be used so that when number of nonzero elements is something like 10.99, it gets rounded to 11 non zero values as opposed to 10 (current implementation).
Additional information

@KaleabTessera are you able to construct an example of this happening, and turn it into a regression test?

@rgommers Yeah, will do. I will ping you when it is done.

Waiting on this - https://github.com/scipy/scipy/issues/11805.

Waiting on this - #11805.

Could you continue without having that resolved? You can run a specific test by using the -t argument to runtests.py.

@rgommers I have created a test and it passes. Let me know if you are happy with it.

@rgommers Any news on this PR? :)

Sorry for the delay @KaleabTessera. The fix looks right, but the test is a little misleading I think.
I think this is a bug fix, and shouldn't be considered a backwards compatibility break. @perimosocordiae do you agree?

Yeah, seems fine to me, merged. Thanks @KaleabTessera for the fix!


Fix wrong link

Fixes

#27306

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle merge

@bot-gradle merge

Your PR is queued. See the queue page for details.

@bot-gradle merge

I've triggered a build for you. Click here to see all failures if there's any.


How to detect merged cells when reading tables

Hello, I've created a simple .docx document (Word 2010) with a simple 2x2 table, the 1st col is merged as with:
+---+---+
|   | b |
+ a +---+
|   | c |
+---+---+

When reading this with python the cells (0,0) and (1,0) are different!
How can I detect that they are merged on the original document?
The text of both cell is indeed 'a'. But the 'pointer' are different.
Thanks
Python 2.7, docx 0.85

I've found a workaround (though the doc does not stand).
With the above table in simple.docx
from docx import Document
doc=Document("simple.docx")
table=doc.tables[0]
c00=table.cell(0,0)
c10=table.cell(1,0)
c00==c01  # is false as reported
#however
c00._tc==c01._tc # is true

Regards

It has been a while, but someone else may need this information in future.
As mentioned in previous comment, docx.table._Cell object has property _tc which contains useful information about cell's span:
from docx import Document
doc=Document("simple.docx")
table=doc.tables[0]

c=table.cell(0,0)
print(c.text, c._tc.top, c._tc.bottom, c._tc.left, c._tc.right)

c=table.cell(0,1)
print(c.text, c._tc.top, c._tc.bottom, c._tc.left, c._tc.right)

c=table.cell(1,1)
print(c.text, c._tc.top, c._tc.bottom, c._tc.left, c._tc.right)

The output will be:
a 0 2 0 1
b 0 1 1 2
c 1 2 1 2

From this you will easily understand not only if the cell is merged or not, but also its shape and size.

I found that some docx files created by word have inconsistend grid_span attributes in a row.
When accessing a specific cell the ._cells property will not care about the rows defined by the xml but  just count through the cells and assume that the cell count per row and all grid_span are correct.
In my case there were 7 columns in the table but one row contained only grid_span attribues of 1 + 1 + 2 + 2 = 6. After this row, all the succeeding rows are broken.
The workaround for detecting this has already been mentioned by @oltish.
I will provide a merge request as a fix for the _cells function.

The workaround from @0-173 works for me. Thanks! However, the new cell doesn't have any attributes like the "text" field.

c00._tc==c01._tc # is true

Thank you for your idea. I create a list, and add cell_.tc, then check to skip the 2nd+ merged cells. This is my project:

https://github.com/fusted2/Copy-Word-tables-to-Excel


Assert all collections on Response types are read only

Following on from merge of https://github.com/elastic/elasticsearch-net/pull/2399 into master.

Reflection unit test traverses IResponse properties to check their types.
Add Fluent Assertions for IReadOnlyDictionary<TKey, TValue>. See https://github.com/dennisdoomen/FluentAssertions/issues/357
Update Watcher APIs to use readonly collections
Use Actions for actions on Watch type
Enable readonly collection deserialization in SimpleJson

Should we also assert that IReadOnlyCollection<T> and IReadOnlyDictionary<TKey, TValue> properties on responses are not null as a general rule?

opened PR for 5.x: #2407


Google + does not  work

Google + does not  work, it's  response 400. That’s an error.

Have you found the solution yourself? What was the issue?


[Feature Request]  Keep_to_evolve Pokemon

Short Description

I've create a "keep_to_evolve" = true parameter on my code, I'm trying to make sure it's working.
Ex: config.json
"release":
{
"Pidgey": {"keep_to_evolve": true},
}
It will keep enough pidgey to evolve according to the number of candies, ex. if I have 30 candies and 5 Pidgey it will release 3 Pidgey and keep 2.
I'm just getting to use Python, so maybe  there is a better way to do it.
Possible solution

change in transfer_pokemon.py
def keep_to_evolve(self, pokemon):

    release_config = self._get_release_config_for(pokemon.name)

    if release_config.get('keep_to_evolve', False):

       bag = inventory.pokemons().all()
       pokemon_list = [filter(lambda x: x.pokemon_id == pokemon.pokemon_id, bag)]
       if pokemon.evolution_cost > 0:
          pokemons_to_evolve = pokemon.candy_quantity / pokemon.evolution_cost
          if pokemons_to_evolve == 0:
             pokemons_to_evolve = 1

          total_pokemons = len(pokemon_list[0])
          if pokemons_to_evolve < total_pokemons:
              self.emit_event(
                 'future_pokemon_release',
                 data={
                      'pokemon': pokemon.name,
                      'iv': pokemon.iv,
                      'cp': pokemon.cp,
                      'ivcp': pokemon.ivcp
                      },
                      formatted="do not Keep to evolve {} (CP: {}, IV: {}, IVCP: {} shiny: {} Candies {} for {} of {} Evolutions )".format(pokemon.name, pokemon.cp, pokemon.iv, pokemon.ivcp, pokemon.shiny, pokemon.candy_quantity, total_pokemons, pokemons_to_evolve, ),
              )
              return False
          else:
              self.emit_event(
                 'future_pokemon_release',
                 data={
                      'pokemon': pokemon.name,
                      'iv': pokemon.iv,
                      'cp': pokemon.cp,
                      'ivcp': pokemon.ivcp
                      },
                      formatted="Keep to evolve {} (CP: {}, IV: {}, IVCP: {} shiny: {} Candies {} for {} of {} Evolutions )".format(pokemon.name, pokemon.cp, pokemon.iv, pokemon.ivcp, pokemon.shiny, pokemon.candy_quantity, total_pokemons, pokemons_to_evolve, ),
              )
              return True
       else:
          return False
    else:
        return False

.
.
.
def should_release_pokemon(self, pokemon, keep_best_mode=False):
release_config = self._get_release_config_for(pokemon.name)
    if release_config.get('keep_to_evolve', False):
        keep_to_evolve = self.keep_to_evolve(pokemon)
        if keep_to_evolve:
           return False
        else:
           return True

also include this code to keep my shiny pokemons:
    never_release_shiny = release_config.get('never_release_shiny', 0)
    if pokemon.shiny and never_release_shiny:
       self.emit_event(
           'future_pokemon_release',
           data={
               'pokemon': pokemon.name,
               'iv': pokemon.iv,
               'cp': pokemon.cp,
               'ivcp': pokemon.ivcp,
           },
           formatted="Kept {} (CP: {}, IV: {}, IVCP: {} shiny: {})".format(pokemon.name, pokemon.cp, pokemon.iv, pokemon.ivcp, pokemon.shiny),
       )
       return False

How it would help others

When you want to get a lot of Pokemons to evolve and get to the next level, you will have only the exactly number of Pokemons that you need.

There's already such option under Pokemon Optimizer: evolve_for_xp
https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/docs/pokemon_optimizer.md

@MerlionRock thank you very much fro your answer. I'll start using it.


Update sass-loader

When sass-loader is missing in local package.json tap is installing an older version.

Heh, whoops. Thanks!

Heh, whoops. Thanks!


Feat/page transition fix

Vue update to latest version and a fix for the page transition issue the lobby has been experiencing for a while. This issue has a bit of history to it by the looks of it from #61 #179 #248 and the intent is for this PR to solve this.
This requires a merge of #270 PR first as I've had to base this branch off those changes to allow for testing.
Issue:

Changing tabs would show a styling issue (where the content of the previous page was shown for a short period and the new content shifted to the bottom).
This was caused by a workaround to fix a bigger issue, whereby switching pages very fast would sometimes throw a critical issue and break the client.
A part of this issue was due to a Vue internal issue. This was highlighted to the Vue team by @Jazcash and the workaround used till the team implemented a fix.

Proposed fix:

Updating to the latest Vue version that should include fixes to this issue.
Testing the site to ensure that upgrading the vue version did not cause any build issues. This appears to be fine.
This exposed that actually #179 was a different issue, related to using an await in a component setup. Therefore I've moved this code to a onMounted function which appears to solve the issue.

Results in:

No styling issues when transitioning between pages.
No observed critical errors when changing lots of tabs really quickly.

Closing this PR for. We've got alot of things to fix to get this passing the checks again (such as the seperate tachyon-client). Will get this and other PRS merged into a single branch and then start to look to fix the branch to pass these checks.
Sorry for any time wasted, but just looking to get this merged in when its stable and passing.


Site down?

https://www.xkpasswd.net/ < Getting SSL errors on this?

Looks like its back up with a landing page for a WIP site: https://github.com/bartificer/xkpasswd-js


Could use casting class

Typescript really in need of a casting mechanism, not sure if you're interested Basarat but everything you make is awesome so thought you might be interested! (http://stackoverflow.com/questions/31620809/how-to-create-trycast-in-typescript-net-equivalent)

so thought you might be interested

Thanks :rose:
As meniontioned by both the answers specialized function signatures are the way to go for now:
function tryCast(obj: number, type: "number"): number;
function tryCast(obj: string, type: "string"): string;
function tryCast(obj: boolean, type: "boolean"): boolean;
function tryCast(obj: IFoo, type: "IFoo"): IFoo;
function tryCast(obj: any, type: string): any;
function tryCast(obj: any, type: string): any

The knowledge of <T> is lost at runtime. I've been thinking about some extensions to the language that would offer the generated .js the necessary information. Don't have any concrete proposal though.


rosflight: 1.3.0-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rosflight to 1.3.0-1:

upstream repository: https://github.com/rosflight/rosflight.git
release repository: https://github.com/rosflight/rosflight-release.git
distro file: melodic/distribution.yaml
bloom version: 0.9.3
previous version for package: null

rosflight
* Update firmware submodule to v1.3.0
* Battery monitor support
* Changed default port to /dev/ttyACM0 to match Revo
* External attitude correction support
* Throttle "received parameters" error
* Fixes for multiple simulators running simultaneously
* Auxiliary servo/motor command support
* Fix missing dependency to eigen_stl_containers
* Hard fault handling support
* Contributors: BillThePlatypus, Cameron McQuinn, Daniel Koch, Jacob Willis, James Jackson, Parker Lusk, Trey Henrichsen

rosflight_firmware
* Update firmware to v1.3.0
* Contributors: BillThePlatypus, Cameron McQuinn, Daniel Koch, Jacob Olson, Jacob Willis, James Jackson, Parker Lusk, Trey Henrichsen

rosflight_msgs
* Added BatteryStatus message
* Added AuxCommand message
* Added Error message
* Changed length of values array to 14 in OutputRaw message
* Removed GPS message
* Contributors: BillThePlatypus, Cameron McQuinn, Daniel Koch, Jacob Willis, James Jackson, Trey Henrichsen

rosflight_pkgs
* Contributors: Cameron McQuinn, Jacob Willis

rosflight_sim
* Fixes for multiple simulators running simultaneously
* Battery monitor support
* Hard fault handling support
* Contributors: BillThePlatypus, Cameron McQuinn, Daniel Koch, Jacob Willis, James Jackson, Parker Lusk, Trey Henrichsen

rosflight_utils
* Cleaned up rc_joy node
* Cleaned up mag visualization
* Added attitude visualization
* Contributors: BillThePlatypus, Cameron McQuinn, Daniel Koch, Jacob Willis, James Jackson, Parker Lusk

Holding for sync


Job Sequencing Problem

Hello @rudrakshi99 @nakul-19 @plazzy99
I am a GSSoC21 participant.
What I want to contribute : (suggest if something needs to be added)

Greedy approach for finding the maximum profit and maximum no of jobs that can be performed if the deadline to perform a particular job is given and the profit of the respective job is given.
My code will be in C++
The code will be commented with complete explanation of the approach for easy understanding
Also it will include 2-3 test cases.

Please assign me this issue @rudrakshi99 @nakul-19 @plazzy99

I would love to contribute to solving the problem, I am a GSSOC'21 participant. Please assign it to me. I will try my best and provide proper comments and implement different test cases for better understanding.

I would love to contribute to solving the problem, I am a GSSOC'21 participant. Please assign it to me. I will try my best and provide proper comments and implement different test cases for better understanding.

Mention the language

@nikitajuneja1 I will implement the code in c++ and java.

@nikitajuneja1 I will implement the code in c++ and java.

Go ahead with java as C++ already assigned.

I would code it in python , please assign me this issue @plazzy99 .

I am a GSSoC'21 participant.
I assure you I can handle this issue as I am extremely good at DSA, problem-solving, and C++.
It would be really great if you assign this issue to me.
Hoping for a good outcome from your side.

Hey, I am Kanchan Jeswani, a GSSOC'21 participant.
I am a Competitive Programmer and C++ enthusiastic.
I would love to solve this problem using CPP with well-explained code and along with its time and space complexity.
Please assign me this issue.
Hope to hear from you.
Discord username  kanchan19#3152
@anubhavitis @dheerajkotwani @tarun26091999 @todi-2000 @geekquad @plazzy99 @rudrakshi99


Inline fragment type invalid message is not conveying that the type is wrong.

Current Message:
The specified inline fragment does not exist in the current schema.

This one is now fixed in version 11.


ExpansionTile optional trailing icon

ExpansionTile has a trailing icon that rotates when expanded.
Unfortunately, I need this space for some other functionality.
It would be nice if this trailing icon could be optional, and the expansion was only triggered by a click elsewhere on the tile.

We probably won't have the chance to implement this ourselves in the near future but we would definitely accept patches.
My recommendation would be to have a "trailing" argument which defaults to the current behaviour but can be set to a new widget to override the behaviour.


Update NAICS file to explicitly define every 6-digit code

The sector bridge was misclassifying less granular NAICS codes of less than 6-digits. I explicitly defined every 6-digit code, and removed the code_level variable. This granular bridge should now correctly map any input classification code.

Ya lets do it!


Use resolveEnv from windows registry locator to create registry resolver

Closes https://github.com/microsoft/vscode-python-internalbacklog/issues/309

Whoops sorry I completely forgot about your PR 🙈  Will get to it later today or tomorrow morning at the latest!


Adding support for LEF58_TYPE all types.

fixes The-OpenROAD-Project/OpenROAD#1872

I'll review after you fix the CI errors.

@Mahfouz-z apply the required updates to swig/tcl/dbenums.i

@maliberty CI errors resolved, please check.


Move all types of motions to one page

Move them all to the same page, with checkboxes, and date that pops up.
Also try to convey: "If this form arrives at the court later than we expect it, is there any reason it's the court's fault?"

Some more context on this from the court:
If any of those listed motions is filed after judgement, the notice of appeal will be filed significantly later, as it can't be filed until the motion is decided on: deciding one of these motions will nullify the notice of appeal.  We should check to make sure that if these are filled, then the notice of appeal is ~10-30 days after the serviced date of the motion (varies by court specific rules: just throw up a warning for users that they may have to refile the notice of appeal), and is also timely filed? (unclear about the later)
All of the motions given are listed by rule 4 (maybe here?). Most of the time, there's only one motion filed, though there can be multiple.

Some more context on this from the court:
If any of those listed motions is filed after judgement, the notice of appeal will be filed significantly later, as it can't be filed until the motion is decided on: deciding one of these motions will nullify the notice of appeal.  We should check to make sure that if these are filled, then the notice of appeal is ~10-30 days after the serviced date of the motion (varies by court specific rules: just throw up a warning for users that they may have to refile the notice of appeal), and is also timely filed? (unclear about the later)
All of the motions given are listed by rule 4 (maybe here?). Most of the time, there's only one motion filed, though there can be multiple.


Unable to access Qiskit playground in kubernetes-qiskit-operator

Describe the bug
Cant access the Qiskit Playground using port-forward of the service
To Reproduce
Steps to reproduce the behavior:
I am testing on a kind cluster with k8s v1.22.1
kubectl get nodes -o wide
NAME                 STATUS   ROLES                  AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE       KERNEL-VERSION            CONTAINER-RUNTIME
kind-control-plane   Ready    control-plane,master   99m   v1.22.1   <IP_ADDRESS>    <none>        Ubuntu 21.04   5.12.12-200.fc33.x86_64   containerd://1.5.2

Install and run the operator using
make deploy IMG=qiskit/operator:0.1
make install run

kubectl get all -n qiskit-operator-system

NAME                                                      READY   STATUS    RESTARTS   AGE
pod/qiskit-operator-controller-manager-6c9bf69f8d-qg2mc   1/2     Running   0          18s

NAME                                                         TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
service/qiskit-operator-controller-manager-metrics-service   ClusterIP   <IP_ADDRESS>   <none>        8443/TCP   18s

NAME                                                 READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/qiskit-operator-controller-manager   0/1     1            0           18s

NAME                                                            DESIRED   CURRENT   READY   AGE
replicaset.apps/qiskit-operator-controller-manager-6c9bf69f8d   1

kubectl port-forward svc/qiskit-operator-controller-manager-metrics-service 8090:8443 -n qiskit-operator-system
Forwarding from <IP_ADDRESS>:8090 -> 8443
Forwarding from [::1]:8090 -> 8443
Handling connection for 8090
Handling connection for 8090
E0921 14:39:24.407272  194364 portforward.go:400] an error occurred forwarding 8090 -> 8443: error forwarding port 8443 to pod 806bca8a8b00c774d5aefb1d6ca9cd9a9b2457dc27d328ed20f7a72c727bef23, uid : failed to execute portforward in network namespace "/var/run/netns/cni-ea9f15d0-4dad-7b1f-5e17-99cd0739f1f8": read tcp4 <IP_ADDRESS>:60878-><IP_ADDRESS>:8443: read: connection reset by peer

Expected behavior
I should be able to access QiskitPlayground on localhost:8090

@blublinsky @osilkin98

@husky-parul  Your pod seemed to fail to start? I see only 1 of 2 containers running. Is this a problem?


--licenses is no longer a valid flag to Android's sdkmanager

https://github.com/flutter/flutter/blob/7ffcce84a2037376afe2614d6789c30a57bdb0a8/packages/flutter_tools/lib/src/android/android_workflow.dart#L194
$ ~/Android/Sdk/tools/bin/sdkmanager --licenses
Error: Unknown argument --licenses

$ echo $?
1

Error running Gradle:
Unable to download needed Android SDK components, as the following licenses have not been accepted:
Android SDK Build-Tools 26.0.2, Android SDK Platform 27

At the time of build. I am getting this error.

Ensure your file 'local.properties' has correct location of sdk.dir

Thanks for the reply.
But, I am trying to build apk file through bitbucket pipeline. I am facing below errors,
Error running Gradle: Unable to download needed Android SDK components, as the following licenses have not been accepted: Android SDK Build-Tools 26.0.2, Android SDK Platform 27
Needed with solution
In local build  i used below code
flutter.buildMode=release
flutter.sdk=C:\Flutter\flutter\flutter_git_repo\flutter
sdk.dir=C:\Users\admin\AppData\Local\Android\Sdk
BitBucket ... what will write ?
https://gist.github.com/gnanamganesan/69d870557c57d70da1817fc08ea3ecc1

Error: Could not find or load main class solution.pk\AppData\Local\Android\Sdk\cmdline-tools\latest\bin\..
Caused by: java.lang.ClassNotFoundException: solution/pk\AppData\Local\Android\Sdk\cmdline-tools\latest\bin\//
facing this error


net: shell: Fix assertion in net nbr command

Listing a neighbour table with "net nbr" command, when a  neighbour w/o
assigned link address was present, resulted in an assert condition. Add
additional check to prevent this.
Fixes #38196
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

CC @eyuval


How to Export Parasolid from Surf/Mesh ?

How to Export Parasolid from Surf/Mesh ?
How to export MESH /SURF TO :
*X3D
*STEP
*VRML
*COLLADA
*DXF
*PARASOLID

As I've mentioned before: https://github.com/WoLpH/numpy-stl/issues/113#issuecomment-536507809 (and here: https://github.com/WoLpH/numpy-stl/issues/112)

The project is called numpy-stl for a reason, it reads and writes STL files :)
A quick Google showed me this project though: https://pypi.org/project/aocxchange/
Does that help?


Grt python

Not all the tcl tests have a Python version yet, but there is a good variety of Python regressions.

The failure in format code looks to be a failure running on a .i file. That is probably not what we want to do.

@vvbandeira @habibayassin .i files should be excluded from clang-fomat as they are not c++

I've excluded .i in https://github.com/The-OpenROAD-Project/OpenROAD/pull/2403 and you'll need to merge master after that PR is merged.

Sounds good.

In general it feels like there is too much support code in the unit tests that should be either in c++ or a better api.

Are you wanting to tackle the API redesign or do you want to just merge this and leave it to me to handle later?

Good question Matt. I think I'd like to merge this and have you do the api redesign later. I don't think I know enough about the whole flow to be able to put down a consistent api at the moment. I will do a few of the simple changes first. Should I leave grt_aux.py in grt/test or should we move it to grt/src/GlobalRouter.py to mirror grt/src/GlobalRouter.tcl? I chose the former to signal "this api might not be stable".

Leave grt_aux.py in test


Include the sourcify-publish script in the contracts release process

Pending the script working correctly.
Expected Behavior
Smart contract source code is automatically verified with Sourcify as part of releasing contracts to a production network, using yarn sourcify-publish in the protocol package.
Current Behavior
The yarn sourcify-publish script hasn't been fully tested yet and is not a part of the release process.

Related: #8025


Rename GVFS to "M$vfs"

Short for Micro$haft virtual file system.
Gnome has used the name GVfs for YEARS. Why do you greedy jerks think you can just steal this name?
I can only imagine what would happen if I tried to name my own file system NTFS...

So this is the "extinguish" part in M$'s strategy, right?
https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguish

Congratulations on creating your first Github issue.
When you're using Github issues (or perhaps any issue tracker anywhere), it helps to use the thing called the  search feature to make sure that nobody has already created the same issue before. As it turns out (I'll save you the time), your issue mirrors #7, #15, #31 and #36.

Yeah, it seems they closed these issues, but the problem has clearly not been solved. The repo still has the stolen 'GVFS' acronym, belonging to the GNOME Virtual File System.
A multi-billion dollar corporation, incapable of inventing their own unique names and acronyms? It looks so incredibly dumb. And it's very provocative. Everyone with a functioning set of brains will hold Microsoft in lower esteem because of this.
Sorry to say it, but in my view they do deserve to be flamed for this. Until they correct their behaviour.

And then you do exactly the same thing. Huh... okay. While we're on the subject of hypocrisy, let's not forget about all the projects Microsoft got extremely butthurt over for having the same or similar names as their products:

https://wxwidgets.org/about/name-change/
http://www.ghisler.com/name.htm
https://en.wikipedia.org/wiki/Microsoft_vs._MikeRoweSoft

You know what, I think I'll create my own OS called Windows... Microsoft clearly doesn't care about globally unique names so it should be cool, right? Satya won't mind, will he?

You know what, I think I'll create my own OS called Windows... Microsoft clearly doesn't care about globally unique names so it should be cool, right? Satya won't mind, will he?

Yeah, but you'll have to pretend that the name collision is coincidental too, as in the initial response in #7 .

You surely can do that and try to make people believe you don't know there is a "Microsoft Windows" which take more than half market share on desktop/laptop.

@extremeheat, I'm normally all for the "you catch more flies with honey" approach, but -- as you pointed out -- that was tried in #7, #15, #31 and #36 to no avail.
Also, while @sojirosan could have commented on the original issue (#7), that would not achieve the same visibility as a new issue which has not yet been closed. This is generally a more direct way of calling Microsoft to task on this issue, especially in light of their acquisition of GitHub -- which, if Microsoft expects to be successful, requires more fully embracing the open source community.

Thanks @mvastola , that was the entire point of this issue.  If Microsoft wants to prove that it has changed it's ways, then it needs to respect major conflicts like this. People have argued that it's not a big deal because there are so many examples of similar name conflicts, but none of them are of the same type of project. GVFS and GVfs are both virtual file systems, so there is bound to be significant confusion between the two. In fact, there already has been - people looking for help or info on GVFS may find questions on SO or elsewhere that apply to the other GVFS that will cause confusion.

I agree microsoft should change the name, but it have nothing to do with openness

it will bite M$ in the ass

this is the reason

I'm sure people will keep opening name change issues over and over again until this is fixed ;)

I propose PoopVFS, i even made a PR: https://github.com/Microsoft/GVFS/pull/71

@bet0x, you have to sign the Contributor License Agreement for #71 Microsoft will own the copyright to your changes and the right to use your PoopVFS name idea. :-)

I definitely take the name collision seriously. I just opened an issue to brainstorm ideas for a new name for this project


[objc][processor] Filter and warn about unsupported C# features/types

This allow the tool to produce something on existing binaries, which
will make testing easier as we go forward.

Build and tests passed.


Modified physics for more vanilla-like behavior

I'm very sorry for the commit / pull request spam.  I was having trouble with Git not syncing correctly.  I fixed all of the previous issues and removed those mysterious merge tags and it now builds fine.

any update on this one?

Code-wise, I think this is good.

Well, then why not merge this?

Has anyone else actually tried this branch, if it doesn't break anything? I'm a bit cautious about any physics code lately.

I've tested this myself.  It even fixes Blaze fireball projectiles slowing down and freezing midair in the overworld when shot upwards.

And it doesn't mess with player movement?

Nope, not at all.
It seems that player movement is handled entirely client side anyways.  Mobs seem to have the same aerodynamics as players now.  The only thing I can think of is the "floaty" behavior of hobs when hit, but that's due to the raytrace/collision handling within the HandlePhysics function.

Actually, if you happen to send a SetSpeed packet to the client, it starts moving in that direction (see #1300). But if you say it doesn't happen, then it's safe to merge.

Nothing involving SetSpeed has been changed from the master branch, just NextSpeed is subtracted by the air drag * NextSpeed.  It appears to work flawlessly.