react-scripts babel-jest version conflict

Is this a bug report?
Yes
Environment
Node: 10.15.3
NPM: 6.9.0
Yarn: 1.16.0
Output of npx create-react-app --info
Environment Info:
System:
OS: Linux 5.0 Solus 4.0
CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
Binaries:
Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
Yarn: 1.16.0 - /usr/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.15.3/bin/npm
Browsers:
Chrome: Not Found
Firefox: 66.0.5
npmPackages:
react: ^16.8.6 => 16.8.6
react-dom: ^16.8.6 => 16.8.6
react-scripts: 3.0.0 => 3.0.0
npmGlobalPackages:
create-react-app: Not Found
Steps to Reproduce
Use the react-scripts dependency version 3.0.0
Expected Behavior
I would expect there to be no version conflicts in official packages which are part of the same official project and that running yarn run start would exit cleanly.
Actual Behavior
Running yarn run start which runs react-scripts start outputs the following error:
$ react-scripts start

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

  "babel-jest": "24.7.1"

Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-jest was detected higher up in the tree:

  /home/<a-user>/central/src/github.com/<a-user>/portfolio/node_modules/babel-jest (version: 24.8.0)

Manually installing incompatible versions is known to cause hard-to-debug issues.

If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That will permanently disable this message but you might encounter other issues.

To fix the dependency tree, try following the steps below in the exact order:

  1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
  2. Delete node_modules in your project folder.
  3. Remove "babel-jest" from dependencies and/or devDependencies in the package.json file in your project folder.
  4. Run npm install or yarn, depending on the package manager you use.

In most cases, this should be enough to fix the problem.
If this has not helped, there are a few other things you can try:

  5. If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
     This may help because npm has known issues with package hoisting which may get resolved in future versions.

  6. Check if /home/<a-user>/central/src/github.com/<a-user>/portfolio/node_modules/babel-jest is outside your project directory.
     For example, you might have accidentally installed something in your home folder.

  7. Try running npm ls babel-jest in your project folder.
     This will tell you which other package (apart from the expected react-scripts) installed babel-jest.

If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.

P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please follow the steps in the error as is, check why babel-jest exist in  /home//central/src/github.com//portfolio/node_modules/babel-jest

Hi there, I am also seeing this problem after updating to version 3.0.0, and had followed the steps but still unable to run.
Please find the attached result for npm ls babel-jest
`--<EMAIL_ADDRESS>  +--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    `--<EMAIL_ADDRESS>      `--<EMAIL_ADDRESS>        `--<EMAIL_ADDRESS>

@raytangRT I have the same result doing npm ls but did not see such a message.  Please clear your node_modules, remove package-lock.json, do npm cache clean and npm install.

@bugzpodder It works after running npm cache clean

I'm getting the same problem. npm cache clean just returns another error:
As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use npm install --cache /tmp/empty-cache to use a temporary cache instead of nuking the actual one.
I tried running npm cache verify but it hasn't helped in any way.

This is my folder structure:

There's a CRA 3 app inside the client folder. When I install jest in the outer npm project for the server, CRA returns the error message.

This is so bizarre, why would CRA care what's installed outside of its root directory?

@edward-hong this is unfortunately expected behavior because of node module resolution.  I would suggest you lock down the version of jest in the outer directory to be the same.

I'm also running into the issue of incompatible versions of babel-jest after upgrading all my dependencies. I've tried running yarn cache clean, deleting node_modules and deleting yarn.lock file without any success.
I'm resorting to using SKIP_PREFLIGHT_CHECK=true in a .env file for the moment.

Whats in your package.json's dependencies and what's the output of yarn why babel-jest?

All jests internal dependencies are specified with a ^ so for a fresh install without a lock file yarn will install<EMAIL_ADDRESS>for<EMAIL_ADDRESS>If you put a resolution on<EMAIL_ADDRESS>it will still install<EMAIL_ADDRESS>You can put a resolution for<EMAIL_ADDRESS>which do work but generates warnings when running yarn as all 2.8.0 packages has the range ^2.8.0.
This issue should be solved when #7007 is released. But as of now, create-react-app tries to verify something that neither yarn nor jest is guaranteeing.

Ok, I'm no longer having issues with this today. Not sure what changed from yesterday :/

I somehow managed to get it passing locally, but my CI server was failing with the same issue regarding babel-jest versions. I've taken @Pajn's advice and used a resolution for<EMAIL_ADDRESS>and I've managed to build with no issues. The only things I'm receiving are warnings when running yarn install.
Thanks @Pajn


Python: Bump Python project version to 1.7.0 for a release.

Motivation and Context
Bump Python project version to 1.7.0 for a release.

Description
Bump Python project version to 1.7.0 for a release.

Contribution Checklist

[X] The code builds clean without any errors or warnings
[X] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[X] All unit tests pass, and I have added new tests where possible
[X] I didn't break anyone :smile:

Python Unit Test Overview

Tests
Skipped
Failures
Errors
Time

2370
1 :zzz:
0 :x:
0 :fire:
51.182s :stopwatch:


Getting a "oauth_problem=nonce_used" error when making multiple consequetive requests

What the title says, basically.
If I make a single request to retrieve an issue, I don't have problems, but if I make multiple requests the queries fail.

No fix, I had to rate limit my requests.


router: extend HTTP CONNECT route matching criteria

Currently, using ConnectMatcher as a RouteMatch will match only on
an HTTP :method header of CONNECT.
Extend the matching functionality to allow for use of the additional
match criteria in RouteMatch - i.e. header matching, path matching,
etc. - mimicking the existing behavior of the other matchers (prefix,
path, etc.).
Closes #13042.
Risk Level: Medium (minor extension to an existing feature).
Testing: Unit test cases added for header matching.
Docs Changes: n/a
Release Notes: n/a

cc: @alyssawilk


Implement MatchaDbRequestParser Class

This includes all five methods and five basic Unit Tests to go with each method.

It made more sense to condense some of the methods into one helper method. There will still be five tests, coincidentally.


[docs] docs.sensenet.com mainpage design cr-s

[x] the upper  three boxes should be for groups API docs, Tutorials and Example apps
[x] the other three boxes should be for groups Concepts, Admin-ui and Integrations
[x] place links to 'quickstart', 'troubleshooting', 'contact us', gitter, stackoverflow
[x] create a screen for mobilephones as well
[x] put a link to 'release notes' somewhere
[x] change box 'integrations' to 'use cases and best practices', sublinks in this box should be now '1000 content' demo & '25.000 content' demo

https://xd.adobe.com/view/cfd2c088-b00c-4c2b-7a4c-44f3465f8c90-b9e3/


Vulnerability roundup 70: spice-0.14.0: 2 advisories

search, files

[ ] CVE-2018-10873 (nixos-19.03)
[ ] CVE-2019-3813 (nixos-19.03)

Scanned versions: nixos-19.03: 1601f559e89. May contain false positives.

Closing as nixos 19.03 is no longer supported.


GM polyglot option in chat acting weird

I updated today the module to the latest version. When I type on chat as GM it picks automatically an actor (usually one of the actors I clicked previously but not the last one always) and it shows its languages only (instead of all options that rthe GM has). So practically I can't type anymore as GM.
Even if I switch to another scene that has only 5 player character and I select one of them, deselecting it, goes back to having selected an actor from another scene (e.g. a Goblin) and has only its languages available.

Essentially, I can't type as GM anymore.

Have you selected Goblin Commons through the Player Configuration by mistake? Because you're describing Foundry's default behavior (deselecting a token defaults to your character) and I haven't changed anything about that recently.

You are indeed correct. I have no idea how was that selected since I never really had to click there as DM, but your trouble shooting was bullseye! Thanks!

I had the same problem! It resolved by excluding goblin tokens that were copied for some strange reason.


Failure at the 12th test case

Hi everyone, these are some screenshots of what I got wrong for that test case. Has anyone encountered the same situations like this before in your project?
I believe that my direction is probably correct, yet I suspect that I compared two double values wrongly (as I use "<" instead of some threshold - I don't know how to apply that in case of a "smaller comparison") when I tried to find the best self-checkout counter for the customer to serve. Does anyone know how to resolve that? I would appreciate all your helps!

it is a bit hard to see exactly what is the problem as there are some missing outputs, but I believe based on what i see and experienced for myself, it could be either 1 of 2 things:

You are calling serve event and getting service times in the wrong order from the supplier, hence the diff start end times and maybe even service times
Your queue mechanism does not update correctly; hence you have the wrong customers leaving and staying

if what you say about your finding the best self check out is the case then you might want to see what could be the issue with that. could consider using a comparable or even just the in build equals to find the self check out. All the best

I think I have the same error before, I am not sure it is due to the same error, but you can try:

ensure that you get the most updated server for your method that execute the event
this is done by ensuring you retrieve your server from the serverlist that get constantly updated after each execution
also check the sequence of your code, ensuring that you update your server

helloo, i have the same exact error, which I have made in #686 . The issue doesnt solve the sorting error, but it can be how you create the event time for the next Event for counters. For me, I passed on the event time for the FIRST counter, instead I should pass on the event time for the EARLIEST counter. Maybe you can try this and see if it helps

By the way, I managed to solve that issue. It is due to my incorrect update of the queue in the list of self-checkout counters, not due to the comparison of the double values. But thank you for all your inputs!


Create database

Need a central database that team members can read data from and write data to

Set-up database in PostgreSQL
Give team members edit permissions

Need to figure out where prod db is going to live, but probably for now we can spin up a postgres db locally unless cloud folks know of a better way to do things.
This may be a starting point for the local approach: https://github.com/meganhmoore/CodeForAmerica/tree/main/db (JP should have access, lmk if I should add others)

Turk will set up postgres shared db


proMatches/proPlayers listing

After merge of https://github.com/odota/core/pull/1362
Add two new top-level tabs showing a list of recent pro matches and a list of pro players, for easy access

I think it would be nice to have this in before the Boston major

Does anyone think this should go on the front page as well?

Maybe better make section called e-sports like dotabuff does and put drop-down list with pro players, pro matches into navbar?
I think in future we can give users an option to follow teams, leagues, players and make feed of this data on the front page. It will require some backend changes.

I was thinking separate navbar entries for tabs called "Matches" and "Players".

I think the proPlayers part of this can be satisfied by #575 .  Users will likely try to enter a pro's name into the search.


P100, P110 overheat state in HA automation

Version of the integration
1.6.0
Configuration
p100, p110
condition:
  - type: is_not_hot
    condition: device
    device_id: xxxx
    entity_id: binary_sensor.tp_socket_04_overheat
    domain: binary_sensor

Describe the bug
HA automation expects a state of "off", but integration provides a value of "False".
Sorry for poor english.
Debug log

type: is_not_hot
condition: device
device_id: xxxx
entity_id: binary_sensor.tp_socket_04_overheat
domain: binary_sensor

entity_id/0
Executed: 11:44:46
Result:

result: false
state: 'False'
wanted_state: 'off'

As reported here https://www.home-assistant.io/integrations/binary_sensor/:
For example, a binary sensor for a window may report a value of open or closed, a switch on or off, a condition true or false.
So I think true/false and false is a valid value, right?

Not really - tried to change state values to on or off using developer tools, and then it looks right and behaves the right way in lovelace as sensor

Let me check on this.

Fixed on 2.9.0


CAMEL-13300: camel-box - Authentication fails without clues when 2-step verification is enabled

https://issues.apache.org/jira/browse/CAMEL-13300

Merged on master. Thanks.


showBottomSheet over bottomNavigationBar

when i use showBottomSheet i want it to cover the bottomNavigationBar and FAB
also the FAB position change as pic show

i dont want to use showModalBottomSheet because i want the user to interact with the map

@a7mad911
Your question is better suited for support channels like StackOverflow, so please ask the same there for existing solutions.
Closing from here.


Remove layersize file in favor of image JSON.

@jhowardmsft @jstarks @stevvooe
Removing the use the layersize file in favor of the layer size in the image JSON metadata.  I couldn't find any reason why the layersize file needed to be used, but it's possible there is something else I'm missing... This does resolve an issue where the layersize would end up with "0" in it on Windows and override the size correctly recorded in the image JSON.
Signed-off-by: Stefan J. Wernli<EMAIL_ADDRESS>

Dunno, weird janky fail :/

Very interesting... I'll dig in and see what is going on there!

Suspect a flaky test. Kicked it off again.

@swernli The worst part about this is that I am not sure if Size on image configuration really means anything. It is set very inconsistently. The layer size file may be the only true source of information.
@vbatts @dmcgowan Any ideas on this?

@stevvooe: Correct, the layersize file is the source of truth because the Size field is set inconsistently and can't be trusted.

@aaronlehmann What makes that statement about Size being inconsistent true?

We should never change config on disk after it has been created after v1.8.3. Config is considered immutable and the hash of the config has a meaning for ID. That is why separate file is used.
At least on aufs ApplyDiff and DiffSize are identical so I don't see what this patch changes.
@jhowardmsft I think the inconsistencies come from different graphdrivers or from different methods being used between aufs and UnpackLayer. I don't know the details but you can easily find images from the hub that have different Size key than the one that you can generate locally.

Interesting. I had mistakenly assumed that the size stored in the image JSON was trustworthy. Given the concerns about changing on disk configuration and the unreliable nature of the config metadata, the layersize file makes more sense.
I'll close the PR and look for a different way to resolve the size reporting on Windows.

@tonistiigi @stevvooe reading the discussion above; is there a reason to keep the Size field around if its not useful/trustworthy?


Fix up CI

CI is failing right now because of a prompt in the List Generator.  I think this is related to the FlatList upgrade @GantMan ya?

Hah!  didn't know our ignite tests were re-testing plugins.... I actually like that for now.  Until our plugins are fully tested... and even then I'm hesitant to remove testing their integration.
Will fix now


Example namespace fixed

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

Merging [#6][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master    #6   diff @@
===================================
  Files           2     2
  Lines          85    85
  Methods         9     9
  Messages        0     0
  Branches        0     0
===================================
  Hits           85    85
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last updated by [7bb145c...3752171][cc-compare]
[cc-base-branch]: https://codecov.io/gh/josbeir/cakephp-json-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/josbeir/cakephp-json-api/compare/7bb145ce44127523d1be8450ccb3bf32c926b8b0...37521713c1aadbec420c66073c8505e438106438
[cc-pull]: https://codecov.io/gh/josbeir/cakephp-json-api/pull/6?src=pr

nice catch!


Plot calibrated traces, including scale in dB

For now, the trace annotation is purely relative; there are no units on it. Would be nice to go back to how it worked with UTIG-internal data, showing a little scalebar in dB as will as annotating min/max intensity along the trace.

This is getting more important as I work on adding information regarding the trace/sample where the cursor currently is. (#71, #48)
In particular, #48 requests the amplitude, which needs to be consistent across surveys and reported with (correct!) units.


Universal Windows Platform build setting breaks on older OS builds

Switching the target platform from Desktop to Universal causes problems with driver loading on older Windows 10 builds, experiment if we can downgrade and make it work again.


macOS export/code signing improvements.

Some macOS export/code signing improvements:

Added timestamp and hardened runtime options (these options will be required for App Store distribution / Notarization on macOS 10.15).
Added PROPERTY_HINT_GLOBAL_FILE property hint for entitlements.plist file selection.
Removed excessive codesign calls (we need to sign only frameworks (gdnative libs) and executable, associated resources are signed automatically).
Suppressed "file not found" error on first export (exporter was trying to delete old *.dmg file, even if it doesn't exist).

Thanks!


Is it possible for switch the classloader in Rhino code?

AFAICS Rhino executed via com.intellij.remoterobot.RemoteRobot#callJs(java.lang.String, boolean) (or runJs) is executed with PluginClassLoader for Robot server as context classloader. Attempt to setContextClassLoader to the PluginClassLoader of the tested plugin's don't seem to work:
Rhino code:
  const pluginId = PluginId.getId('com.virtuslab.git-machete');
  const pluginClassLoader = PluginManagerCore.getPlugin(pluginId).getPluginClassLoader();
  Thread.currentThread().setContextClassLoader(pluginClassLoader);
  const providerClass = Class.forName('com.virtuslab.gitmachete.frontend.ui.providerservice.SelectedGitRepositoryProvider'); // some class from my plugin

results in:
        java.lang.Throwable: Wrapped java.lang.ClassNotFoundException: com.virtuslab.gitmachete.frontend.ui.providerservice.SelectedGitRepositoryProvider
 PluginClassLoader(plugin=PluginDescriptor(name=Robot server, id=com.jetbrains.test.robot-server-plugin,
descriptorPath=plugin.xml, path=/tmp/ide-probe/instances/intellij-instance-2022.1--QLOZN9sdT3iaH2Vwk9Djew/plugins/robot-server-plugin,
version=0.11.13, package=null, isBundled=true), packagePrefix=null, instanceId=20, state=active)

So it seems that Rhino uses Robot server's PluginClassLoader, no matter what setContextClassLoader points to. Is there any way around that?

Hi, can you try to do it this way?
  const pluginId = PluginId.getId('com.virtuslab.git-machete');
  const pluginClassLoader = PluginManagerCore.getPlugin(pluginId).getPluginClassLoader();
  const providerClass = Class.forName('com.virtuslab.gitmachete.frontend.ui.providerservice.SelectedGitRepositoryProvider', true, pluginClassLoader); // some class from my plugin

Yes! I can alternatively load a single class explicitly pointing to pluginClassLoader also by:
  const providerClass = pluginClassLoader.loadClass('com.virtuslab.gitmachete.frontend.ui.providerservice.SelectedGitRepositoryProvider', true, pluginClassLoader); // some class from my plugin

but what I'm aiming at is to switch the default classloader used by Rhino! I tried Thread.currentThread().setContextClassLoader(pluginClassLoader); but to now avail, Rhino still seems to use the classloader associated with Robot Server plugin, not the plugin I've pointed to ☹

So I can provide a workaround by using more reflection (relying on Class and Method objects in Rhino code)... but curious if it's possible to just re-wire Rhino to use a different classloader completely 🤔

I've tried to pass plugin classloader to rhino execution context and unfortunately it failed with Loader can not resolve Rhino classes error.
As for setContextClassLoader way, seems that Rhino caches it and keeps using the one was set on context creating. And if not I guess we would have the same error.
It might work if we run Robot Server not as a plugin but in the premain of Idea launching somewhere on early stage and it would be loaded by classloader which would be an ancestor for all plugin classloaders. But I guess it's to much for this task


"No such file " log in sapp

Bug
"No file found" log reported in sapp the certain issue details after mariana-trench analysis

Not only the file showing in the pic. This kind of bugs find in many issues of sapp.
Probable reason
Find the filename is wrong, missing postfix ".java"  in messages table of sapp.db.

After I add the postfix, detailed issue page can normally show java code.
Logs

Ask for help
Please help me find out the root reason and tell me. If possible, please fix it.

You can download app and source directory zip that I used by the links.
https://drive.google.com/u/0/uc?id=1C-wgbarPqVeoedvP2E3fgZiEvvyykYSf&export=download
https://drive.google.com/u/0/uc?id=10CjxqNBaZHMA1U2rINb2tfkkqpTjaSi0&export=download

cc @dkgi since you implemented that UI

Same issue


🔧 [Refactor] DM Button: Style Edit Table

🔧 Refactor

DM Button: Style Edit Table:
Current Version:

Intended Version:

[ ] To finish this issue I need to learn how to manage styles by bright/dark themes.

Current state:

Hint: the icons are not identical to icons used in the drafts. I requested Hardi to give me an approval for this or to deny it.


[BUG] /etc/lighttpd.conf user changes overwritten

When upgrading, /etc/lighttpd.conf is blindly overwritten which deletes any user changes, such as implementing SSL (port 443 and http redirect).

Don't put any ssl or other config in the main lighttpd conf file instead create a file in /etc/lighttpd/conf-available and then symlink it in conf-enabled. These files are included by the main lighttpd conf file

Closing Issue - updated instructions written for installing SSL that do NOT change /etc/lighttpd.conf.


Added divine disharmony action macro

Added divine disharmony action macro based on the escape action macro.
Changed relevant feat description.

Action macros are reaching an end-of-life stage and aren't being expanded beyond basic and skill actions.

Action macros are reaching an end-of-life stage and aren't being expanded beyond basic and skill actions.

Pending a rewrite of

Action macros are reaching an end-of-life stage and aren't being expanded beyond basic and skill actions.

Pending a rewrite of how they work or just in general? I thought this was inside the scope of what qualified for an action macro considering that there is one for tamper. I don't mind working on something that's relevant for only a little while. I've got an implementation for goblin song in the pipe too pending confirmation that my code looks right.


Ability to include code snippets from files

Is your feature request related to a problem? Please describe. A clear and
concise description of what the problem is. Ex. I'm always frustrated when [...]
I have a bunch of examples that I would like to invoke as separate files (go run ./pages/hello-world.go) to test them and to allow anyone to open a new GitHub Codespace and immediately go run ./......whatever as well as include in documentation (in the ./pages/hello-world.mdx page). I need them to be real files because of external tooling.
Describe the solution you'd like A clear and concise description of what you
want to happen.
I would like something making to VitePress' https://vitepress.dev/guide/markdown#import-code-snippets feature:
Here's an example "Hello, World!" program in Go:

<<< ./hello-world.go

You can run this example ... more prose

A pure MDX solution would probably work better with Nextra's focus on MDX and React stuff. I don't know how you'd do it but something like:
Here's an example "Hello, World!" program in Go:

<CodeImport path="./hello-world.go" />

You can run this example ... more prose

Describe alternatives you've considered A clear and concise description of
any alternative solutions or features you've considered.
An alternative is to do something with static import analysis like:
Here's an example "Hello, World!" program in Go:

import helloWorldGo from "./hello-world.go?text" // or whatever it is to get it as a string

<Code code={helloWorldGo} />

You can run this example ... more prose

Additional context Add any other context or screenshots about the feature
request here.

https://github.com/shuding/nextra/issues/2568#issuecomment-1839578696

Thank you. This solves my problem. I would recommend including this solution as a tip callout or something in the documentation.


Unable to bundle with rollup

See https://github.com/micromatch/micromatch/issues/107
Rollup throws when trying to bundle this library.
Repro: https://github.com/SimenB/micromatch-rollup

thanks! I'll get this fixed


Can  I embed button into grafana table panel？

Can  I embed button into grafana table panel？so that i can operation the data each row。

Not with this plugin, I've started another plugin "action-table" for that, but is still WIP


scrollBehavior: Fires too early

I'm relatively new to the Vue ecosystem (I have much ❤ growing for it!), and I am having an issue with the vue-router scrollBehavior. I do not know if this is related to Nuxt, or if it's a vue-router issue.
Issue
scrollBehavior fires before route changes causing a very janky routing experience
Solution
Right now I am using this in my scrollBehavior:
    router: {
        scrollBehavior: function (to, from, savedPosition) {
            if (savedPosition) return savedPosition
            return false
        }
    },

For the pages that I need a scroll to top behavior, I am doing this in my page components:
mounted () {
    window.scrollTo(0, 0)
}

This is not giving me an ideal experience. I would still like to use a savedPosition for some pages, but I am using the mounted call to window to get around the jank and so those pages do not "use" the savedPosition as the scrollTo gets called after the component is mounted.
Setup
Default Nuxt scrollBehavior, at the time of this writing, the docs show this:
const scrollBehavior = (to, from, savedPosition) => {
  // savedPosition is only available for popstate navigations.
  if (savedPosition) {
    return savedPosition
  } else {
    let position = {}
    // if no children detected
    if (to.matched.length < 2) {
      // scroll to the top of the page
      position = { x: 0, y: 0 }
    }
    else if (to.matched.some((r) => r.components.default.options.scrollToTop)) {
      // if one of the children has scrollToTop option set to true
      position = { x: 0, y: 0 }
    }
    // if link has anchor,  scroll to anchor by returning the selector
    if (to.hash) {
      position = { selector: to.hash }
    }
    return position
  }
}

Expected
When I use a <nuxt-link> I should be routed to the new route, and for the cases when I should scroll to the top I should see the top of the next route.
AKA: The scrollBehavior should fire "between" routes or "after I have left a route, and before I have entered a new one".
Actual
When I use a <nuxt-link> for the cases when I should scroll to the top, I first see a scroll to top behavior of the route that I am currently on (so it flashes to the top of the page if I am scrolled down), and then I am routed to my new route.
TODO

Include a repo soon, if necessary, for reproducing the issue.
Update solution section with a better solution than what I currently have

I confirmed this issue. Here an example:
https://media.giphy.com/media/26gR0KE4IkKwPg8Mg/giphy.gif

Here's another example

+1 Confirmed

Could you stop posting this horrible GIFs?

This issue was asking like 10 times already - use search - https://github.com/nuxt/nuxt.js/issues/957

@jerakode We are all people here who spend our time to help others for Free. Be cool dude :)
@jsonberry If you confirm this is dup  of #957 we may close related issues and keep one for easier tracking.

@pi0 how your comment is related?  Imagine, I am from some Uganda, Iran or another shithole with bad internet and paid traffic. We should respect one another, right? :imp:

Of course it's related, I asked multiple times about this. This is vue-router issue, that has no solution yet - https://github.com/vuejs/vue-router/issues/1373

I'm from Iran, But respect to others and help to fix instead of shouting :) Closing in the flavour of #1002.

@pi0 cmon, dude, #1002 is another issue, doesn't related with this! Argh....

Just tryng to use search finding 10 more dups as was mentioned! PS: No action from me regarding ScrollTo issues anymore.

@pi0 yeah, I forgot that big issue was deleted after Github ban account. So you now can't find it in search, my bad.
This issue was in Roadmap, but @Atinux removed it 2 weeks ago.
Sorry about Iran, but looking to your Twits you don't like Iran much, or may be it just Twitter translate works bad, ha-ha.

@pi0
This is not a dupe of #1002 but it is related
It does seem to be related to this issue: https://github.com/vuejs/vue-router/issues/1373
In light of ☝ it looks like this issue is being tracked.

Hi @jsonberry,
Indeed we are aware of this issue and we are working with Vue.js team to fix it.
@jerakode I cannot accept some racist comments on our repository, you've been warned.


Extension with ConnectionProvider always requires 2 restarts before showing in Connection dialog

Azure Data Studio Version: 1.0

Steps to Reproduce:

Install SQL Server 2019 Preview extension
When prompted to reload to enable the extension, do so
Click new connection and click the Connection Type dropdown

Expected: new connection type shows (see below)
Actual: only SQL Server connection appears.
Root cause: the old cache is still being used even though we just added a new connection. The actual cache is updated, so if you reload again (e.g. quit and restart or just open a new folder) the new connection info is picked up. Hence on 2nd load things work fine.

Great - I'll close out for now, I haven't seen it recently.


Gripes

Doesn't syntax highlight CMakeLists.txt.
Doesn't understand that some nested project directories may not have their CMakeLists.txt at VCS top-level.

Syntax highlightig isn't support by the extension (yet), but there is an open issue #534.
Currently you need a separate extension to do that (e.g. CMake)
The second point might be related to #533 and #1167.

@SchweizS is correct.  We are tracking these requests with other issues.  I invite you to upvote those issues to help us with prioritization.  To upvote, click on the reaction button for the first comment in the issue and add a 👍.
Thank you!


CONTRIBUTING.md

As you write here, you have created a file for those who want to contribute, but it is empty. What does that mean?You write read inside but there is nothing in the file.maybe I am getting an error but I tried from a different server and it didn't happen again

Thanks For Information


Add SuperSwifty2004's Water Powered Engines Mod from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of SuperSwifty2004, to add SuperSwifty2004's Water Powered Engines Mod to CKAN.
Please direct questions about this pull request to SuperSwifty2004.

Mod is mispacked, contacting original author about it.

How is it mispacked, I got the zip but didn't see any issues?

Mod is expected in such a format that when you open the zip, you see this structure:
Modname > [Plugin Subfolders and files]
This oackage has too many directory levels and lacks a Modname folder. The top directory should not be included, and the "GameData" directory should be renamed to the mod name .

This mod is still improperly packaged. Closing untile the author corrects the packaging.


How to add Pod Annotations for redis pods

Hi All,
Actually  we are using distributedRedisCluster object with 3 masters and 3 replicas .As we have single file redis DistributedRedisCluster file. Now we want to add some labels and Annotations to redis pods which are created. How can we do that?

If I add annotations and labels in DRC file . It is applied to DRC object , I want it to be applied to individual redis pods

If I understand the logic of the code correctly, it is currently possible to set the pod label via the label of the drc object, but not the annotation.


No proper error handler

Describe the bug
Crashed with errors as on photo after some inactivity.

Aftr refresh all seems to work correctly.

Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-ztcmzy
Steps to reproduce
Cannot exactly reproduce, but can describe process when it happened

Make any project
Leave it for some time (1 day in my case, no internet connection for a while)
Go back to tab where project was opened

Expected behavior
To see previously created project instead of React Black screen with error.
Alternatively a message that say "Please refresh page" or something similar.
Screen Recording / Screenshot
No response
Platform

MacOS Ventura 13.3
Browser: Chrome 129.0.6668.91

Additional context
No response

I've seen this, but a refresh does seem to work fine

Not sure if this is critical, but avoiding displaying such an errors is a good practice. Sometimes this could be dangerous from security perspective.


Auto-derive: change rowAttrs duplicate first row.

Hi.
I'm working on auto deriving date attributes.
I've changed SubtotalPivotData.processKeys to replace attribute name to list, if derivedAttributes returns array instead of string.
But I have an issue there: first row of result set is duplicated.
Link to example: http://pivot.src.ilyaguy.me/examples/subtotal_pivotui_autodate.html
Link to source code: https://github.com/ilyaguy/pivottable-subtotal-renderer/blob/master/subtotal.coffee#L20
Could you take a look on this?

Sorry... I couldn't understand what you mean by "first row of result set is duplicated"
Please detail the steps to reproduce the scenario.
Thanks for your feedback.

Do you see two rows with "2016 - 01 - 01" keys and "6" as totals?
The first of them is generated by mistake.
Thank you for help.

Yes. Thanks. Got it :)
Will need more time to understand the implications of your change:

I've changed SubtotalPivotData.processKeys to replace attribute name to list, if derivedAttributes returns array instead of string.

Will go through your code changes and let you know.


Default to the vimrc linter setting if availble

This patch will use the linter setting from vimrc if it's set up by someone in the buffer-local setting. I also enabled the vls linter by default.

This should be merged as soon as possible, as the current code breaks linter aliasing in Ale.


docs: Restrict the curated packages IAM example further

The current IAM policy example for curated packages is too open. It would allow the IAM User to pull from any repository anywhere, including any repository in the account. The intent is for this user to pull curated packages from the curated packages repository. This change in the policy example reflects that.
Note that the ecr:GetAuthorizationToken action does not have a resource, so its resource must be '*'.
Issue #, if available:
None
Description of changes:
See above.
Testing (if applicable):
Tested in AWS account with aws ecr get-login-password --region us-east-1 |docker login --username AWS --password-stdin<PHONE_NUMBER>00.dkr.ecr.us-east-1.amazonaws.com and docker pull<PHONE_NUMBER>00.dkr.ecr.us-east-1.amazonaws.com/emissary-ingress/emissary:v3.3.0-cbf71de34d8bb5a72083f497d599da63e8b3837b
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.14

/lgtm
/approve


Add direct_url.json file

See https://peps.python.org/pep-0610/
I think we should add this to the UnpackWheelOptions.

Completed by: #172


Question about Hydra-GNN Data

Hi @nathanhhughes,
Thank you so much for open-sourcing this wonderful work! Could you please share the scene graph of entire trajectory, which gets the coverage of the entire scan. I noticed that in your shared Google Drive, there are only scene graph of partial trajectory.
Thanks

The longest trajectory in each trajectory subfolder should cover approximately the entire scan. Note that the number of Hydra segmented rooms might be much less than the number of ground-truth rooms for certain scans due to Hydra's room clustering approach. This approach tend to cluster multiple rooms if there is large open space or large windows in between. If this is a problem, you should consider using the --repartition_rooms flag to switch to ground-truth room segmentations.

The longest trajectory in each trajectory subfolder should cover approximately the entire scan. Note that the number of Hydra segmented rooms might be much less than the number of ground-truth rooms for certain scans due to Hydra's room clustering approach. This approach tend to cluster multiple rooms if there is large open space or large windows in between. If this is a problem, you should consider using the --repartition_rooms flag to switch to ground-truth room segmentations.

Thank you so much for your kind and helpful reply!!! My questions have been fully solved by your reply.


METRON-1278 Strip "Build Status" widget from root README.md in site-book build

Contributor Comments
See https://issues.apache.org/jira/browse/METRON-1278
Pull Request Checklist
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:
N/A
For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book?

+1 by inspection

+1 by inspection.  Thanks for grabbing this so quickly!

+1 by inspection, thanks @mattf-horton

Thanks, everyone.  Committing...


Evmtool tweaks

update CLI docs
allow multiple state tests via stdin

Signed-off-by: Danno Ferrin<EMAIL_ADDRESS>Changelog

[x] I thought about the changelog and included a changelog update if required.

Reposting...
Awesome! I have a few questions, not sure where it's appropriate to file it, so I'll do it here for now.
stateroot
user@dockervm:~$ docker run -v /home/user/QubesIncoming/work/:/work  hyperledger/besu-evmtool:develop --json state-test /work/statetest1.json
{"pc":0,"op":"0x5b","gas":"0x2d1cc4","gasCost":"0x1","memSize":0,"stack":[],"depth":1,"error":null,"opName":"JUMPDEST"}
{"pc":1,"op":"0x3d","gas":"0x2d1cc3","gasCost":"0x2","memSize":0,"stack":[],"depth":1,"error":null,"opName":"RETURNDATASIZE"}
{"pc":2,"op":"0x30","gas":"0x2d1cc1","gasCost":"0x2","memSize":0,"stack":["0x0"],"depth":1,"error":null,"opName":"ADDRESS"}
{"pc":3,"op":"0x79","gas":"0x2d1cbf","gasCost":"0x3","memSize":0,"stack":["0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b","0x0"],"depth":1,"error":null,"opName":"PUSH26"}
{"pc":30,"op":"0x68","gas":"0x2d1cbc","gasCost":"0x3","memSize":0,"stack":["0xc940b5f2046740058558468f238b85db7f6bbe3f3d51e92a3e32","0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b","0x0"],"depth":1,"error":null,"opName":"PUSH9"}
{"pc":40,"op":"0x53","gas":"0x2d1cb9","gasCost":"0x7fffffffffffffff","memSize":0,"stack":["0xb7f7c4147541c695f3","0xc940b5f2046740058558468f238b85db7f6bbe3f3d51e92a3e32","0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b","0x0"],"depth":1,"error":"Out of gas","opName":"MSTORE8"}
{"output":"","gasUsed":"0x2dc6c0","time":40081103,"test":"randomStatetestmartin-Wed_10_02_29-14338-0","fork":"Byzantium","d":0,"g":0,"v":0,"postHash":false,"postLogs":true}

How can I see the resulting post-stateroot ?
Additional (optional fields)
There are a few more json-fields that are implemented by geth, which would be neat if supported:
-rStack - the return stack,

refund - the global refund counter value
returnData - the context-current value of returndata

I am currently trying out your evm tool to run a fuzzer. Unfortunately it always produces the following error:
It seems that your parser does not recognize the out field. Out in the tests that I generate is always set to "0x" so I think it can be marked as ignorable.
> ~/ethereum/besu/ethereum/evmtool/build/install/evmtool/bin/evm --json state-test evmFuzz-1188485952.json
2020-08-19 15:02:23.023+02:00 | main | FATAL | StateTestSubCommand | com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "out" (class org.hyperledger.besu.ethereum.referencetests.GeneralStateTestCaseSpec), not marked as ignorable (4 known properties: "post", "pre", "env", "transaction"])
 at [Source: (File); line: 1, column: 4529] (through reference chain: java.util.LinkedHashMap["evmFuzz-1188485952"]->org.hyperledger.besu.ethereum.referencetests.GeneralStateTestCaseSpec["out"])

Geth:
~/go/src/github.com/ethereum/go-ethereum/build/bin/evm --json --nomemory statetest evmFuzz-1188485952.json
{"pc":0,"op":103,"gas":"0x79bf48","gasCost":"0x3","memory":"0x","memSize":0,"stack":[],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH8","error":""}
{"pc":9,"op":11,"gas":"0x79bf45","gasCost":"0x3","memory":"0x","memSize":0,"stack":["0x420064e626361599"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"SIGNEXTEND","error":"stack underflow (1 \u003c=\u003e 2)"}
{"output":"","gasUsed":"0x79bf48","time":108302,"error":"stack underflow (1 \u003c=\u003e 2)"}
{"stateRoot": "178a8197d199f1cb0135a547908fe0611d1f250e3d69937de940e6efa933723c"}
[
  {
    "name": "evmFuzz-1188485952",
    "pass": false,
    "fork": "Istanbul",
    "error": "post state root mismatch: got 178a8197d199f1cb0135a547908fe0611d1f250e3d69937de940e6efa933723c, want<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000"
  }
]

Statetest:
> cat evmFuzz-1188485952.json
{"evmFuzz-1188485952":{"env":{"currentCoinbase":"b94f5374fce5edbc8e2a8697c15331677e6ebf0b","currentDifficulty":"0x20000","currentGasLimit":"0x26e1f476fe1e22","currentNumber":"0x1","currentTimestamp":"0x3e8","previousHash":"0x0000000000000000000000000000000000000000000000000000000000000000"},"pre":{"0x00000000000000000000000000000ca1100b1a7e":{"code":"0x67420064e6263615990b606d60005360c36001536078600253604760035360e4600453600760055360ff600653609660075360f4600853600960006000f06000600060006000845a715050672bbf9539ce618cec60d6600053608a60015360cc60025360f960035360be60045360256005536089600653600760006000f06000600060006000845a5c5050608f6000536000600160006000f56000600060006000845ac3505060fc6000536054600153604f60025360036000f3600a80600960005360f660015360fc60025360556003536000600460006000f56000600060006000845a885050266742cdcdd04659497763609560005360f460015360cf600253604d60035360306004536061600553608360065360b960075360e56008536011600953600a6000f36742cdcdd0465949776742cdcdd0465949775b60006000f3636a03650e6376fd701863c1aeee3f6388c05f7b6000603f6000f163e6d8348963ff71c28d63233a9e8463699cde4e600060845af1602d63e59b39385360c663e59b393953609463e59b393a5360e663e59b393b53603663e59b393c53602863e59b393d5360cf63e59b393e53603d63e59b393f53601c63e59b394053673644977b1a6e810061013b60c660005360a760015360d86002536045600353609d60045360056000f36008634f55b5165360a8634f55b5175360e6634f55b51853601c634f55b5195367b402062e1cada72f516782686948a52d4e165567b402062e1cada74f516782686948a52d4e1755633edbcf1763be0071be63cd18661463cfb07f596000604d6000f163fab73dab638b0ca7266371c2ebfa638bc55ae6600060e45af16332ecb39363ba1eed62f361013b5b63478ba1f06384074501f396f363c1f1fdb463ae9dee63f363fd7b1df4630914aad56369349e40638c208cf5600060f76000f1e360bc63192966ed5360eb63192966ee5360b263192966ef53601363192966f05360fa63192966f1532b636effe798634bfee605f3600060b06000536020600153603860025360ca6003536001600453600560006000f06000600060006000845abb50509b63b202560a631c64f761f36031600053600160006000f06000600060006000845acf5050610330604660005360f560015360cf600253600960035360f36004536031600553600a60065360c1600753600660085360de6009536000600a60006000f56000600060006000845a4e50505b61037b63a31f6cd86385cfb15c636f52a675637b967249600060155af16397cfc49b63b2b62ecc63bc1afaae63b76954026000609a6000f163fc17abf96334b273e863adc4cbb7634dbd658c600060c46000f16103cf4a6103cf60b560005360d360015360a660025360c860035360c060045360fb60055360f760065360d4600753600e6008536000600960006000f56000600060006000845a625050681f54208765e9e2db9f602363553f883a53603d63553f883b53601263553f883c5360a763553f883d536394fcd44063715a16b8f36081600053602160015360bf6002536086600353606860045360056000f360c363211da5f653608063211da5f753608663211da5f85360c363211da5f953608a63211da5fa53602963211da5fb53605963211da5fc53601c63211da5fd53608860005360716001536092600253603060035360b8600453607860055360066000f367a41b683f2794616e60216380ec9fe85360be6380ec9fe95360be6380ec9fea53603e6380ec9feb5360466380ec9fec53635226fd656323c3db8863c0567a3363b214081e600060046000f1602660005360016000f363ae28bda863c61c2fb0f367a2a2d9fbd1bfa2e151675eac0dca588a14e55567a2a2d9fbd1bfa30151675eac0dca588a14e65567a2a2d9fbd1bfa32151675eac0dca588a14e75567a2a2d9fbd1bfa34151675eac0dca588a14e85567a2a2d9fbd1bfa36151675eac0dca588a14e95567a2a2d9fbd1bfa38151675eac0dca588a14ea55638aefafb5638639307663abca0434638765fb506000601d6000f1e46a60a860005360826001536021600253604560035360046000f36105c463f373c79f639ea2379af3602a600053603160015360026000f3602f6000536080600153608c6002536042600353600a6004536034600553603b600653600460075360056008536000600960006000f56000600060006000845aa350505b608b600053602c60015360d460025360e46003536006600453605560055360d96006536000600760006000f56000600060006000845a845050607560005360a0600153606c60025360fb600353607f600453603860055360066000f3635b25057d63b2c64b77f3602f635638d18a536011635638d18b536035635638d18c5360c6635638d18d536064635638d18e53604a635638d18f53600d635638d1905363999a1b5463c91a0321f36000","storage":{},"balance":"0x0","nonce":"0x0"},"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b":{"code":"0x","storage":{},"balance":"0xffffffff","nonce":"0x0"}},"transaction":{"gasPrice":"0x1","nonce":"0x0","to":"0x00000000000000000000000000000Ca1100b1A7E","data":["0xfef4e559a945afde48c072"],"gasLimit":["0x7a1200"],"value":["0x"],"secretKey":"0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8"},"out":"0x","post":{"Istanbul":[{"hash":"0000000000000000000000000000000000000000000000000000000000000000","logs":"0000000000000000000000000000000000000000000000000000000000000000","indexes":{"data":0,"gas":0,"value":0}}]}}}

Could you post a gist of that particular fuzz test?

Is returnStack an array of raw numbers, or string hex numbers?

Reference, running geth evm against simpleSubroutine
./cmd/evm/evm --json statetest simpleSubroutine.json
{"pc":0,"op":96,"gas":"0x5c878","gasCost":"0x3","memory":"0x","memSize":0,"stack":[],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}
{"pc":2,"op":94,"gas":"0x5c875","gasCost":"0xa","memory":"0x","memSize":0,"stack":["0x4"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"JUMPSUB","error":""}
{"pc":5,"op":93,"gas":"0x5c86b","gasCost":"0x5","memory":"0x","memSize":0,"stack":[],"returnStack":["0x2"],"returnData":null,"depth":1,"refund":0,"opName":"RETURNSUB","error":""}
{"pc":3,"op":0,"gas":"0x5c866","gasCost":"0x0","memory":"0x","memSize":0,"stack":[],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"STOP","error":""}
{"output":"","gasUsed":"0x12","time":232641}
{"stateRoot": "ea30ba8c4d79b2c7487889ffe2c43968ade451feb4cde73101c5f73cfa9b5de9"}
[
  {
    "name": "simpleSubroutine",
    "pass": true,
    "fork": "Berlin"
  }
]

gasCost of SIGNEXTEND is 5, not 3.

True. I think geth becomes a bit confused when unusal errors happen, such as stack underflow, and it probably reuses the gasCost of the previous op (maybe the errorr hits before the new cost has been updated). IIRC, the fuzzer engine doesn't care about gasCost, but is more strict about gas. The former is a bit up to implementation specifics, since often the 'true' gasCost is not known before actually executing the operation, and the logging happens before.

I think geth btw has returnData as base64 right now. It's probably not what we want, but that's the way it is right now. I'd be happy to change that to something else.

@shemnon I think this pr does not honor --nomemory anymore...
Master:
/home/matematik/ethereum/besu/ethereum/evmtool/build/install/evmtool/bin/evm --nomemory --json state-test evmFuzz-991338958.json
{"pc":0,"op":"0x60","gas":"0x79bc78","gasCost":"0x3","memSize":0,"stack":[],"depth":1,"error":null,"opName":"PUSH1"}
{"pc":2,"op":"0x60","gas":"0x79bc75","gasCost":"0x3","memSize":0,"stack":["0x61"],"depth":1,"error":null,"opName":"PUSH1"}
{"pc":4,"op":"0x53","gas":"0x79bc72","gasCost":"0x6","memSize":0,"stack":["0x0","0x61"],"depth":1,"error":null,"opName":"MSTORE8"}
{"pc":5,"op":"0x60","gas":"0x79bc6c","gasCost":"0x3","memSize":32,"stack":[],"depth":1,"error":null,"opName":"PUSH1"}
{"pc":7,"op":"0x60","gas":"0x79bc69","gasCost":"0x3","memSize":32,"stack":["0x0"],"depth":1,"error":null,"opName":"PUSH1"}
{"pc":9,"op":"0x60","gas":"0x79bc66","gasCost":"0x3","memSize":32,"stack":["0x1","0x0"],"depth":1,"error":null,"opName":"PUSH1"}
{"pc":11,"op":"0x60","gas":"0x79bc63","gasCost":"0x3","memSize":32,"stack":["0x0","0x1","0x0"],"depth":1,"error":null,"opName":"PUSH1"}
{"pc":13,"op":"0xf5","gas":"0x79bc60","gasCost":"0x7d06","memSize":32,"stack":["0x0","0x0","0x1","0x0"],"depth":1,"error":null,"opName":"CREATE2"}
...

Now:
/home/matematik/ethereum/besu/ethereum/evmtool/build/install/evmtool/bin/evm --nomemory --json state-test evmFuzz-991338958.json
{"pc":0,"op":96,"gas":"0x79bc78","gasCost":"0x3","memory":"0x","memSize":0,"stack":[],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}
{"pc":2,"op":96,"gas":"0x79bc75","gasCost":"0x3","memory":"0x","memSize":0,"stack":["0x61"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}
{"pc":4,"op":83,"gas":"0x79bc72","gasCost":"0x6","memory":"0x61","memSize":32,"stack":["0x61","0x0"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"MSTORE8","error":""}
{"pc":5,"op":96,"gas":"0x79bc6c","gasCost":"0x3","memory":"0x61","memSize":32,"stack":[],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}
{"pc":7,"op":96,"gas":"0x79bc69","gasCost":"0x3","memory":"0x61","memSize":32,"stack":["0x0"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}
{"pc":9,"op":96,"gas":"0x79bc66","gasCost":"0x3","memory":"0x61","memSize":32,"stack":["0x0","0x1"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}
{"pc":11,"op":96,"gas":"0x79bc63","gasCost":"0x3","memory":"0x61","memSize":32,"stack":["0x0","0x1","0x0"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}
{"pc":13,"op":245,"gas":"0x79bc60","gasCost":"0x7d06","memory":"0x61","memSize":32,"stack":["0x0","0x1","0x0","0x0"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"CREATE2","error":""}
{"pc":0,"op":97,"gas":"0x775a5d","gasCost":"0x3","memory":"0x","memSize":0,"stack":[],"returnStack":[],"returnData":null,"depth":2,"refund":0,"opName":"PUSH2","error":""}
{"pc":3,"op":0,"gas":"0x775a5a","gasCost":"0x0","memory":"0x","memSize":0,"stack":["0x0"],"returnStack":[],"returnData":null,"depth":2,"refund":0,"opName":"STOP","error":""}
{"pc":14,"op":96,"gas":"0x793f57","gasCost":"0x3","memory":"0x61","memSize":32,"stack":["0x1322c169c14a07e260b008b0d28a5f2c9939e2c9"],"returnStack":[],"returnData":null,"depth":1,"refund":0,"opName":"PUSH1","error":""}

--nomemory is now wired into the state-test subcommand.


proposal: testing: log the names of running tests when a timeout occurs

In the course of diagnosing #38797, I attempted to read the test logs to figure out which test was hanging. I was ultimately unsuccessful.
The test in question (cmd/go.TestScript) runs a script engine that loads and interprets 400+ independent, parallel subtests, most of which spend the majority of their time blocked on subprocesses. As a result, the goroutine dumps for each subtest are much like all the others, and the tests generally cannot be distinguished by looking at their stack traces.
(For an example, see https://build.golang.org/log/88ebe2c2330de9b4651b75152806f9ff0704f30e.)
For such a test, the goroutine dumps that the testing package produces in case of timeout are not at all helpful.
Ideally, the testing package should follow its goroutine dump with a list of all tests and subtests that are “running”: that is, all of the tests that either have not yet blocked on t.Parallel(), or did block, were released, and have not yet reached the end of the test or subtest function. That would help to isolate any specific cases that happen to be unusually slow or prone to deadlocks.

Dup of https://github.com/golang/go/issues/23601? :)

I never made mine into a proposal though, and it never really got much traction. If you think your proposal has a better chance at moving things forward, I'm all for closing previous issues and instead linking to "previous reports" here.

Indeed. In retrospect it didn't really need to be a proposal anyway: it doesn't affect any exported API, and also (by definition!) doesn't affect the behavior of any program that ran correctly before. 😅


feat/lib: remove retrieve_all methods

This change is

r? @dirvine
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @Viv-Rajkumar

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


feat: added DiagramCanvas types

Description

added DiagramCavans type definitions
Related Issue

related #48
Motivation and Context

How Has This Been Tested?

yarn test-types
Screenshots (if appropriate):

Hello @9renpoto
I'm very glad to have your contribution, thank you for adding the correct types to the Diagram component.
At the moment, due to this serious bug [ #78 ] I would very much appreciate if you can possibly wait the version 0.6.0 before typing the pan/zoom API.
Actually there's already an PR (it's a working in progress) to possibly solve the #78 as soon as possible: #70


Brotli Compression not enabling

Hi, we are running Javalin on an Alpine Linux Image and brotli is not being enabled on startup even though we have the dependencies checked out. I'm stumped, so I could use some ideas.

Hi, could you try running calling com.aayushatharva.brotli4j.Brotli4jLoader.isAvailable() and checking the value?

After looking at our containers, and the code of brotli4j, we decided to just use
-Dbrotli4j.library.path=/usr/lib/libbrotlicommon.so.1
and reference the native lib for brotli directly without using any classpath loading.
most likely, we could have gotten this to work with our custom classpath prerfix, but this was just more straight forward

Great to see that you got it working!

Yes we did solve the issue, but also another thing we ran into was Brotli needs libstdc++ installed on the alpine linux image to run correctly so make sure thats included.

I am having issues to have it working on Mac. I already did brew install brotli, but my com.aayushatharva.brotli4j.Brotli4jLoader.isAvailable() still returns false.


consider using msgpack

Using https://msgpack.org to send information between the worker processes and the main collector might yield some performance improvements. Needs investigating.

(shameless plug), also consider cap'n proto: https://capnproto.org/


export tweak methods

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

feauter

What is the current behavior? (You can also link to an open issue here)

https://github.com/bitjson/bitcoin-ts/issues/15

What is the new behavior (if this is a feature change)?

Other information:

TODO tests

Awesome PR, thanks for contributing!
I'm a bit off the grid right now, so it will be a few days before I'll be able to fully review and merge. Would you be willing to add some test coverage? Please let me know if you have any trouble getting it working, I'm happy to help.

oh.... oh.........

oh.... oh.........

Good job!

Would you be willing to add some test coverage?

@ARitz-Cracker did tests in his PR #17


Header line at bottom?

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[X] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.51.0
OS

[ ] Linux
[X] macOS
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
I read manpage but didn't find out how to set header use the last line in list.
smth like this:
--header-bottom-lines=1

There is no such option.


Expense Report - Top and bottom borders of "Next step" are cut off when the text has one line

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

Version Number: 1.4.69-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Launch New Expensify app.
Create a new workspace.
Go to workspace settings > Workflows.
Tap Submission frequency.
Tap Manually.
Go to workspace chat.
Create a manual request.
Go to expense report.

Expected Result:
The "Next step" top and bottom borders will not be cut off.
Actual Result:
The "Next step" top and bottom borders are cut off. This only happens when "Next step" message has only one line.
Workaround:
unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/38435837/c217da9a-b4f4-485a-a320-118474ce8253

View all open jobs on GitHub

@dylanexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think this bug might be related to #wave-collect - Release 1

At the moment I'm unable to even set up a workspace with the "Manually" frequency, it just disables the option altogether. Tested on web but I don't think the platform matters. It could also be a backend issue, going to take a look.
https://github.com/Expensify/App/assets/2229301/2a1c0a14-5eca-443b-a4b5-be043e2903b8

Ok, this sounds like a polishing issue and not a real blocker.
cc @dragnoir if you could take  a look please.

⚠ Automation failed -> this should be on [HOLD for Payment [2024-05-15]] according to today's production deploy from #41643 (comment).
cc @dylanexpensify

@ikevin127 thanks, will update!

@dylanexpensify Is anything else needed from my side in order for the payment to be issued today ?

Payment summary:

Contributor: @ikevin127 $250
Contributor+: @dragnoir $250

Please apply!

@dylanexpensify Applied: https://www.upwork.com/ab/proposals/1791197920848183297. Thank you!

All done!


bugfix: fix could not intercept the sql witch has no primary and unique

fix InsertOnDuplicateUpdateExecutor could not intercept the sql which has no primary and unique key

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #5078 (9d18ab5) into develop (2f1e576) will increase coverage by 0.03%.
The diff coverage is 66.66%.

:exclamation: Current head 9d18ab5 differs from pull request most recent head f672b41. Consider uploading reports for the commit f672b41 to get more accurate results

@@              Coverage Diff              @@
##             develop    #5078      +/-   ##
=============================================
+ Coverage      49.29%   49.32%   +0.03%
- Complexity      4125     4129       +4
=============================================
  Files            736      736
  Lines          26129    26130       +1
  Branches        3225     3226       +1
=============================================
+ Hits           12879    12889      +10
+ Misses         11872    11861      -11
- Partials        1378     1380       +2

Impacted Files
Coverage Δ

...ec/mysql/MySQLInsertOnDuplicateUpdateExecutor.java
32.32% <66.66%> (+0.34%)
:arrow_up:

...n/src/main/java/io/seata/common/util/IdWorker.java
77.08% <0.00%> (-6.25%)
:arrow_down:

...erver/storage/file/session/FileSessionManager.java
49.68% <0.00%> (+0.63%)
:arrow_up:

...very/registry/zk/ZookeeperRegisterServiceImpl.java
61.76% <0.00%> (+0.73%)
:arrow_up:

...in/java/io/seata/server/session/GlobalSession.java
79.45% <0.00%> (+0.77%)
:arrow_up:

...rage/redis/store/RedisTransactionStoreManager.java
74.15% <0.00%> (+2.08%)
:arrow_up:


Geopoint near and withinKilometer internal error

Hi,
We have migrated the DB to MongoLab and now this code show an internal error.
var userGeoPoint = new Parse.GeoPoint(latitude, longitude);
var query = new Parse.Query("User");
query.near("location", userGeoPoint);
query.limit(10);
query.find({
success: function(placesObjects) {
console.log("yes");
},
error:function(status) {
console.log(status);
}
});
If I comment the line with the near function or replace it with equalTo, it works without any problem.
Regards,
Ugo

Did you make a separate class called "User" or should this be "_User" (the special users class on Parse)...  Check the indexes on mongolab and see if there's a 2d index on the location column?

I'm still using the special user class from Parse, I just migrated the db to mongolab.
The data looks ok Mongolab and I can use withinGeoBox without any problem.
{
"_id": "fTTLP4hHUl",
"location": [
2.288544975410035,
48.87132894975191
],...
}

I also observed "internal error" after migrating my database to mLab. However, the problem was indeed a missing 2d index on the relevant key in the database.
After adding the 2d index via the mLabDB-->Indexes-->Add Index button in mLab UI the query.whereWithinMiles() method began working as expected and returning results instead of the error.
If your result sets are empty then be sure to call e.printStackTrace() in the "done" method of the query callback to confirm if you're encountering this condition.
Note that I added new documents containing geo-spacial data to the database since migration so maybe we need to be sure to create 2d indexes going forward.
Here's a snippet of the exception stack so that this error is searchable for others:
03-06 23:05:03.546: W/System.err(2137): com.parse.ParseRequest$ParseRequestException: internal error
03-06 23:05:03.546: W/System.err(2137): 	at com.parse.ParseRequest.newTemporaryException(ParseRequest.java:279)
03-06 23:05:03.546: W/System.err(2137): 	at com.parse.ParseRESTCommand.onResponseAsync(ParseRESTCommand.java:303)


1.1.x

Description
UI changes to fix the layout. When fixed layout option is chosen, the top bar and left nav are fixed and only the page content is scrollable.
Overview of Changes
The Layout definition for a Page can include fixLayout = true/false option to turn on or off the fixed layout. Default is false.
Type of Change

[ ] New feature

Test Details
Tested using LTSS application
Additional Notes
N/A

You did it @dinakarmeda!
Thank you for signing the Anthem Opensource Software CLA.


Bucket value not saving

What happened?
After HA restart Bucket is set to 0, but Duration stays as it was. Looks like component doesn't reload this value from smart_irrigation.storage and instead resets it.
How to reproduce
Set Bucket to any value. Make sure it's updated in storage file. Restart HA. Value in dashboard and in storage file will be reset.
config_entry-smart_irrigation-43106bb5c08f0ae73bca6bc2e9ba24ea.json.txt
Relevant log output
No response
Which version are you running?
v2023.8.0-beta27
Diagnostics file

[X] I have attached a diagnostics file

Additional information
No response

Hmm, bucket should restore as duration. That's weird. Thanks for reporting.

should be fixed in beta 29: https://github.com/jeroenterheerdt/HAsmartirrigation/releases/tag/v2023.8.0-beta29. Please verify.

Yes, now is fixed, but I had to manually add 'maximum_duration' to storage file because of #191. Without it, integration didn't want to start.


Add chrisgrieser/nvim-rip-substitute

Repo URL:
https://github.com/chrisgrieser/nvim-rip-substitute
Checklist:

[x] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[x] The lines end with a .. This is to conform to awesome-list linting and requirements.
[x] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[x] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else. No .. for Neovim.
[x] The description doesn't contain emojis.
[x] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[x] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!


Add fastai upstream and downstream capacities for fastai>=2.4 and fastcore>=1.3.27 versions

Sorry, I created a new PR (previous one: PR #416) I had a couple of mistakes with git, and seemed easier to create a new one. Thanks @muellerzr and @osanseviero for your comments!
What

Add fastai upstream and downstream capabilities for versions fastai>=2.4 (link) and fastcore>=1.3.27 (link).
Inform users that lower versions of fastai are not supported yet (TODO -- Examine whether it is worth implementing previous versions).

Why

Supporting version fastai1 might not be worth it. Loading and pushing Learners involves several changes and the fastai1 library has not been updated for over a year.
Supporting versions 2.0.6>= fastai <2.4  involve complex changes.  Fastai was updated due to what appear to be modifications to  pytorch/serialization.py. For the sake of agility in our first release, I suggest releasing this version without supporting these previous versions.
fastai>=2.4 versions work with fastcore>=1.3.27 version which is installed automatically when fastai>=2.4 is installed.

How?

Following huggingface_hub practices, file_download.py checks for fastcore and fastai availability and versions.
The fastai and fastcore versions used to train the Learner are automatically stored in a config.json when pushed to hub.
A README.md is automatically generated, if none, with the fastai tag.

Testing?

Tested that all fastai>=2.4 versions work with the present code and with the fastcore==1.3.27 version.

Next?

Examine whether it is worth implementing fastai <2.4 versions. I will ask on the fastai forums to assess how many users would require this support.
Update description on how to load fastai models in Libraries.ts.

Hi, @osanseviero @muellerzr thank you for your kind reviews guys! All feedback was applied and tested.
Main changes:

Changed name. From fastai_mixin.py to fastai_utils.py.
No longer a mixin. Eliminated FastaiModelHubMixin class and only leaved three main public functions: from_pretrained_fastai, push_to_hub_fastai, and save_fastai_learner. This helps with simplicity.
Imported fastai_utils.py public functions in huggingface_hub/__init__.py.
Failing test. Build (3.6) and Build (3.9) actions failing only due to the test_inference_with_audio test. Will review the reason.
Created check_fastai_fastcore_versions function to not force fastai imports from the beggining.

Will be here :D

The failing tests are unrelated. They are flaky and likely not related to this PR, so don't worry about it

Hi guys! Thanks again for the kind reviews.
Relevant changes:

push_to_hub_fastai was simplified and now accepts organization or username in repo_id (it was not possible before).
Fixed a bug in save_fastai_learner that would make learner.export  unable to update cloned models.

IMO this could be MVProduct. Will continue testing in fastai models (available here). And go on engaging the fastai discord community :)

we store the requirements in pyproject.toml here, how is it used? Is there another PR handling that issue?

Imo what we should do when loading with from_pretrained_fastai is check if versions are different. If yes, we can throw an error (or warning), and give the command for users to install dependencies themselves. I would go with a simple solution for now.

On the client side it's not too hard, my question was more on the server side. How do we decide which docker image to use to load the model? Or are we planning to install dependencies before loading each model?

Hi guys. Last changes:

Add tests for from_pretrained_fastai, push_to_hub_fastai, save_fastai_learner.
Dear friend @muellerzr, how can you compare two Learners to assert they are the same? I am using learn.show_training_loop() but this is faulty. This is for testing that a pushed to the hub Learner is the same when I load it.
Also @muellerzr, what is a way to get the weights of a Learner? I have not been successful looking for this. Thanks! :D
Add in hugging_face/setup.py the import of toml which is required in fastai_utils.py. Build tests likely failing because of this.

@osanseviero and @omarespejel this is how I'd recommend checking learners because we need to ensure two things line up, model weights and the transform pipeline. (First is real code, second is pseudocode OOTOMH):
The model itself lives in learn.model. So save/load the weights and make sure that all the params in learn.model.parameters() align, etc. (Look at saving/loading in Transformers or Accelerate to see how we can do this).
For the preprocessing, we should make sure all the transforms in learn.dls.after_batch and learn.dls.after_item are the exact same. Not too sure how that can be pulled off easily pragmatically, but if you can't quite get there lmk Omar and we could pair program that to figure it out

Hi, guys thanks for your reviews!

@osanseviero, the tests currently check that a model can be saved, pushed to the hub, and loaded. All passed :smile:. The only test not passing comes from test_keras_integration.py.
@muellerzr, it makes sense what you explain, thanks! I'll open an issue on this and I'll assign it to me. I will inform you of news about it. Thank you very much! :muscle:

What do you think would be missing for a successful merge?

Hi team! Just wanted to push this forward 🚀.
@nateraw or @muellerzr, when you have an opportunity, could you please review the 🤗 fastai integration?
Please let me know if you need anything.

Should this also add documentation on how to add fastai models to the hub?

The docs should likely be in the end-users/library side, see:

https://spacy.io/api/cli#huggingface-hub
https://stable-baselines3.readthedocs.io/en/master/guide/integrations.html#hugging-face

Plus accompanying announcement (e.g. blog post, etc) from our side.
I liked the ideas you mentioned at https://github.com/huggingface/huggingface_hub/issues/754#issuecomment-1066788626, but for the sake of not increasing the scope of this PR even more, I would go ahead with this. We could add this + all other integrations to a new special section of the huggingface-hub library docs once we have it.

The docs should likely be in the end-users/library side, see:

https://spacy.io/api/cli#huggingface-hub
https://stable-baselines3.readthedocs.io/en/master/guide/integrations.html#hugging-face

Plus accompanying announcement (e.g. blog post, etc) from our side

I'll see how I can get organized with the fastai maintainers to add this to their documentation. This is part of the distribution process :smiley:.

Hi! How about doing an alpha test? I can invite part of the community interested in using the integration to upload fastai models. Iterate from that.
WDYT @osanseviero @muellerzr @nateraw

From my side it looks good and we can go ahead with testing this. If @nateraw could take a quick look at this it would be great, and we can merge afterwards

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Removing this PR from the v0.5 milestone as version v0.5 will be released in a bit.

@osanseviero WDYT of moving integrations to their own namespace, and them not touching file_download.py?

In one of the comments/threads above, with @LysandreJik we were talking about moving all of this to a single file in a follow-up PR. As for namespacing, I think usually in all our libraries we have all of them at top namespace and it works well. I would go with the path that is more aligned/consistent with the rest of HF libraries. WDYT @LysandreJik?
_PY_VERSION: str = sys.version.split()[0].rstrip("+")
if packaging.version.Version(_PY_VERSION) < packaging.version.Version("3.8.0"):
    import importlib_metadata
else:
    import importlib.metadata as importlib_metadata
_torch_version = "N/A"
_torch_available = False
try:
    _torch_version = importlib_metadata.version("torch")
    _torch_available = True
except importlib_metadata.PackageNotFoundError:
    pass
_pydot_available = False
try:
    _pydot_version = importlib_metadata.version("pydot")
    _pydot_available = True
except importlib_metadata.PackageNotFoundError:
    pass
def is_pydot_available():
    return _pydot_available
_graphviz_available = False
try:
    _graphviz_version = importlib_metadata.version("graphviz")
    _graphviz_available = True
except importlib_metadata.PackageNotFoundError:
    pass
def is_graphviz_available():
    return _graphviz_available
_tf_version = "N/A"
_tf_available = False
_tf_candidates = (
    "tensorflow",
    "tensorflow-cpu",
    "tensorflow-gpu",
    "tf-nightly",
    "tf-nightly-cpu",
    "tf-nightly-gpu",
    "intel-tensorflow",
    "intel-tensorflow-avx512",
    "tensorflow-rocm",
    "tensorflow-macos",
)
for package_name in _tf_candidates:
    try:
        _tf_version = importlib_metadata.version(package_name)
        _tf_available = True
        break
    except importlib_metadata.PackageNotFoundError:
        pass

_fastai_version = "N/A"
_fastai_available = False
try:
    _fastai_version: str = importlib_metadata.version("fastai")
    _fastai_available = True
except importlib_metadata.PackageNotFoundError:
    pass

_fastcore_version = "N/A"
_fastcore_available = False
try:
    _fastcore_version: str = importlib_metadata.version("fastcore")
    _fastcore_available = True
except importlib_metadata.PackageNotFoundError:
    pass

def is_torch_available():
    return _torch_available
def is_tf_available():
    return _tf_available

def is_fastai_available():
    return _fastai_available

def get_fastai_version():
    return _fastai_version

def is_fastcore_available():
    return _fastcore_available

def get_fastcore_version():
    return _fastcore_version

I would go with the path that is more aligned/consistent with the rest of HF libraries.

I would do that too, and this approach works very well with transformers which handles a very large amount of optional dependencies, so the system works and scales.

Thank you @osanseviero @adrinjalali @muellerzr @nateraw! For your reviews and feedback 🤗🥳


Adding fine-grained authorization checks for multi-stage query engine

Adding fine-grained authorization ("Query") checks for all tables in a sql query executed by multi-stage query engine.
feature

Codecov Report

Merging #11830 (08514a8) into master (9378b06) will decrease coverage by 16.39%.
Report is 1 commits behind head on master.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #11830       +/-   ##
=============================================
- Coverage     66.48%   50.10%   -16.39%
+ Complexity      207        6      -201
=============================================
  Files          2343     2267       -76
  Lines        126418   122756     -3662
  Branches      19440    18903      -537
=============================================
- Hits          84054    61501    -22553
- Misses        36499    57122    +20623
+ Partials       5865     4133     -1732

Flag
Coverage Δ

custom-integration1
<0.01% <0.00%> (ø)

integration
<0.01% <0.00%> (ø)

integration1
<0.01% <0.00%> (ø)

integration2
0.00% <0.00%> (ø)

java-11
?

java-17
50.09% <0.00%> (-16.27%)
:arrow_down:

java-20
50.08% <0.00%> (-16.24%)
:arrow_down:

temurin
50.10% <0.00%> (-16.39%)
:arrow_down:

unittests
67.14% <ø> (+0.66%)
:arrow_up:

unittests1
67.14% <ø> (-0.20%)
:arrow_down:

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...requesthandler/MultiStageBrokerRequestHandler.java
0.00% <0.00%> (-73.00%)
:arrow_down:

... and 558 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Update zio-http to 3.0.0-RC3

About this PR
📦 Updates dev.zio:zio-http from 3.0.0-RC2 to 3.0.0-RC3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-http" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-http" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #162.


Fix for fatal error when blaming last, empty line

hi rchl
can you branch this into just the issue it solves please. you've got some other unrelated work on your master branch. if you need any help setting it up just let me know.

nevermind me, I just looked through everything and they're all good patches anyway. merging up.

Thanks. Good that they were all merged. Saves me the trouble of submitting them separately. :)
BTW. https://github.com/kemayo/sublime-text-2-git/issues/80 can be resolved now.


Profile based clustering not responding to --coverage parameter

Main Issue
Dear mmseqs team,
I am a fairly new user of your software and have run into some unexpected behavior which I am unable to resolve. I am attempting to cluster a database of eukaryotic protein sequences (~1.8*10e6 sequences) using profile search based clustering. I am attempting to iterate or cascade the workflow described in "How to cluster using profiles". The issue I am encountering is that sequences of very different length are merged in clustering despite providing -c 0.8 --covmode 0 during the searches. This causes issues during cascaded clustering as single domain proteins are merged with multi-domain proteins.
Example output after one round of the protocol (described below, -c 0.8, --covmode 0)

For basic cascaded clustering "mmseqs cluster" or single round clustering using "search" followed by "clust" the behavior appear to function as intended.  Perhaps something in the profile generation or implementation of profile against consensus searches affects the interpretation of the -c parameter? Investigating the alignment data of the attached MSA with mmseqs convertalis (attached below) shows that all hits indeed passes the -c 0.8 cutoff? As such perhaps my understanding of what constitutes alignment coverage is lacking and in that case how would one go about retricting the "coverage" to only query-target pairs with lengths within 80% of each other? I have tried --covmode 5 with similar results.
Expected Behavior
Restriction of clustered protein sequence lengths by imposing cover limits via the -c parameter in conjunction with any --covmode
Current Behavior
Clusters containing sequences of vastly different lengths far outside the range of the -c cutoff.
Context
My protocol can be summarized roughly as:

Collapse paralogs and create cluster representatives in order to reduce database redundancy using;
mmseqs cluster initial-database clusters -s 5 -c 0.8 --min-seq-id 0.9 --cluster_mode 0 --max-iterations 3 --max-seqs 100 --covmode 0

Iterate profile generation and searches of profiles against consensus sequences
mmseqs search cluster-representatives cluster-representatives  representative-search -s 7 -c 0.8 --covmode 0 --maxseqs 300 -e 0.003
mmseqs result2profile  cluster-representatives  cluster-representatives  representative-search profiles
mmseqs profile2consensus profiles initial-database consensus
mmseqs search profiles consensus profile-search -s 7 -c 0.8 --covmode 0 --maxseqs 300 -e 0.003
mmseqs clust --clustermode 0 consensus profile-search profile-clusters
mmseqs createsubdb profile-clusters  initial-database new-cluster-representatives

Here new-cluster-representatives are used as input to round two of searches.
Alignment data
query                 target                  fident   qcov     tcov
XP_645403.1     XP_640770.1     0.369   0.989   0.967
XP_635472.2     XP_640770.1     0.524   0.987   0.813
XP_638978.1     XP_640770.1     0.311   0.988   0.978
XP_640255.1     XP_640770.1     0.479   0.989   0.978
XP_629182.1     XP_640770.1     0.468   0.989   0.978
XP_645001.1     XP_640770.1     0.441   0.989   0.978
XP_640768.1     XP_640770.1     0.547   1.000   1.000
XP_629181.1     XP_640770.1     0.485   0.989   0.978
XP_643412.2     XP_640770.1     0.523   0.979   0.989
XP_635471.1     XP_640770.1     0.542   0.987   0.813
XP_629090.1     XP_640770.1     0.487   1.000   0.967
XP_640770.1     XP_640770.1     0.605   1.000   1.000
XP_640770.1     XP_640989.2     0.541   0.989   0.940
XP_640770.1     XP_640994.1     0.537   0.989   0.939
XP_640770.1     XP_640768.1     0.513   1.000   1.000
XP_640770.1     XP_640766.1     0.520   0.989   0.990
XP_640770.1     XP_640764.1     0.531   0.989   0.938
XP_640770.1     XP_640763.1     0.532   0.989   0.935
XP_640770.1     XP_640792.1     0.504   0.989   0.989
...
...
MMseqs Output (for bugs)
Omitting the initial prefilering and providing one round of iterated profile based clustering output.
[-] Unloading mmseqs  2-13-45111-219-gaabc78c
[+] Loading mmseqs  2-13-45111-219-gaabc78c
result2profile euk72-90.profile euk72-90.consensus euk72-90.profile_search euk72-90.profile2 --threads 48
MMseqs Version:           	aabc78c298f35cbc7a4136206c1a83adaa68695f
Substitution matrix       	aa:blosum62.out,nucl:nucleotide.out
Profile E-value threshold 	0.001
Compositional bias        	1
Compositional bias        	1
Global sequence weighting 	false
Allow deletions           	false
Filter MSA                	1
Use filter only at N seqs 	0
Maximum seq. id. threshold	0.9
Minimum seq. id.          	0.0
Minimum score per column  	-20
Minimum coverage          	0
Select N most diverse seqs	1000
Pseudo count mode         	0
Pseudo count a            	substitution:1.100,context:1.400
Pseudo count b            	substitution:4.100,context:5.800
Preload mode              	0
Gap open cost             	aa:11,nucl:5
Gap extension cost        	aa:1,nucl:2
Gap pseudo count          	10
Threads                   	48
Compressed                	0
Verbosity                 	3
Query database size: 1270615 type: Profile
Target database size: 1270615 type: Aminoacid
[=================================================================] 1.27M 21m 19s 868ms
Time for merging to euk72-90.profile2: 0h 0m 40s 828ms
Time for processing: 0h 23m 5s 420ms
profile2consensus euk72-90.profile2 euk72-90.consensus2 --threads 48
MMseqs Version:    	aabc78c298f35cbc7a4136206c1a83adaa68695f
Substitution matrix	aa:blosum62.out,nucl:nucleotide.out
Max sequence length	65535
Threads            	48
Compressed         	0
Verbosity          	3
[=================================================================] 1.27M 2m 13s 834ms
Time for merging to euk72-90.consensus2: 0h 0m 0s 850ms
Time for processing: 0h 2m 15s 974ms
search euk72-90.profile2 euk72-90.consensus2 euk72-90.profile_search2 .mmseqs_tmp -s 7 -c 0.8 --threads 48
MMseqs Version:                        	aabc78c298f35cbc7a4136206c1a83adaa68695f
Substitution matrix                    	aa:blosum62.out,nucl:nucleotide.out
Add backtrace                          	false
Alignment mode                         	2
Alignment mode                         	0
Allow wrapped scoring                  	false
E-value threshold                      	0.001
Seq. id. threshold                     	0
Min alignment length                   	0
Seq. id. mode                          	0
Alternative alignments                 	0
Coverage threshold                     	0.8
Coverage mode                          	0
Max sequence length                    	65535
Compositional bias                     	1
Compositional bias                     	1
Max reject<PHONE_NUMBER>
Max accept<PHONE_NUMBER>
Include identical seq. id.             	false
Preload mode                           	0
Pseudo count a                         	substitution:1.100,context:1.400
Pseudo count b                         	substitution:4.100,context:5.800
Score bias                             	0
Realign hits                           	false
Realign score bias                     	-0.2
Realign max seqs<PHONE_NUMBER>
Correlation score weight               	0
Gap open cost                          	aa:11,nucl:5
Gap extension cost                     	aa:1,nucl:2
Zdrop                                  	40
Threads                                	48
Compressed                             	0
Verbosity                              	3
Seed substitution matrix               	aa:VTML80.out,nucl:nucleotide.out
Sensitivity                            	7
k-mer length                           	0
k-score                                	seq:2147483647,prof:2147483647
Alphabet size                          	aa:21,nucl:5
Max results per query                  	300
Split database                         	0
Split mode                             	2
Split memory limit                     	0
Diagonal scoring                       	true
Exact k-mer matching                   	0
Mask residues                          	1
Mask residues probability              	0.9
Mask lower case residues               	0
Minimum diagonal score                 	15
Selected taxa
Spaced k-mers                          	1
Spaced k-mer pattern
Local temporary path
Rescore mode                           	0
Remove hits by seq. id. and coverage   	false
Sort results                           	0
Mask profile                           	1
Profile E-value threshold              	0.1
Global sequence weighting              	false
Allow deletions                        	false
Filter MSA                             	1
Use filter only at N seqs              	0
Maximum seq. id. threshold             	0.9
Minimum seq. id.                       	0.0
Minimum score per column               	-20
Minimum coverage                       	0
Select N most diverse seqs             	1000
Pseudo count mode                      	0
Gap pseudo count                       	10
Min codons in orf                      	30
Max codons in length                   	32734
Max orf gaps<PHONE_NUMBER>
Contig start mode                      	2
Contig end mode                        	2
Orf start mode                         	1
Forward frames                         	1,2,3
Reverse frames                         	1,2,3
Translation table                      	1
Translate orf                          	0
Use all table starts                   	false
Offset of numeric ids                  	0
Create lookup                          	0
Add orf stop                           	false
Overlap between sequences              	0
Sequence split mode                    	1
Header split mode                      	0
Chain overlapping alignments           	0
Merge query                            	1
Search type                            	0
Search iterations                      	1
Start sensitivity                      	4
Search steps                           	1
Exhaustive search mode                 	false
Filter results during exhaustive search	0
Strand selection                       	1
LCA search mode                        	false
Disk space limit                       	0
MPI runner
Force restart with latest tmp          	false
Remove temporary files                 	false
prefilter euk72-90.profile2 euk72-90.consensus2 .mmseqs_tmp/10144503605536445033/pref_0 --sub-mat 'aa:blosum62.out,nucl:nucleotide.out' --seed-sub-mat 'aa:VTML80.out,nucl:nucleotide.out' -k 0 --k-score seq:2147483647,prof:2147483647 --alph-size aa:21,nucl:5 --max-seq-len 65535 --max-seqs 300 --split 0 --split-mode 2 --split-memory-limit 0 -c 0.8 --cov-mode 0 --comp-bias-corr 1 --comp-bias-corr-scale 1 --diag-score 1 --exact-kmer-matching 0 --mask 1 --mask-prob 0.9 --mask-lower-case 0 --min-ungapped-score 15 --add-self-matches 0 --spaced-kmer-mode 1 --db-load-mode 0 --pca substitution:1.100,context:1.400 --pcb substitution:4.100,context:5.800 --threads 48 --compressed 0 -v 3 -s 7.0
Query database size: 1270615 type: Profile
Estimated memory consumption: 7G
Target database size: 1270615 type: Aminoacid
Index table k-mer threshold: 0 at k-mer size 6
Index table: counting k-mers
[=================================================================] 1.27M 6s 285ms
Index table: Masked residues: 39476984
Index table: fill
[=================================================================] 1.27M 5s 428ms
Index statistics
Entries:          522806522
DB size:          3479 MB
Avg k-mer size:   8.168852
Top 10 k-mers
IHDKNI	9354
DVSGLL	6729
LGGFVY	6623
SSSSSS	5575
IGGFVY	4538
LSCHLV	4001
EKDYGV	3708
LIMAGS	3629
FGVKLP	3541
KSVSVV	3538
Time for index table init: 0h 0m 12s 974ms
Process prefiltering step 1 of 1
k-mer similarity threshold: 91
Starting prefiltering scores calculation (step 1 of 1)
Query db start 1 to 1270615
Target db start 1 to 1270615
[=================================================================] 1.27M 2h 31m 44s 357ms
1266.108246 k-mers per position
3373560 DB matches per sequence
626307 overflows
21 queries produce too many hits (truncated result)
299 sequences passed prefiltering per query sequence
300 median result list length
601 sequences with 0 size result lists
Time for merging to pref_0: 0h 0m 0s 657ms
Time for processing: 2h 32m 1s 811ms
align euk72-90.profile2 euk72-90.consensus2 .mmseqs_tmp/10144503605536445033/pref_0 euk72-90.profile_search2 --sub-mat 'aa:blosum62.out,nucl:nucleotide.out' -a 0 --alignment-mode 2 --alignment-output-mode 0 --wrapped-scoring 0 -e 0.001 --min-seq-id 0 --min-aln-len 0 --seq-id-mode 0 --alt-ali 0 -c 0.8 --cov-mode 0 --max-seq-len 65535 --comp-bias-corr 1 --comp-bias-corr-scale 1 --max-rejected<PHONE_NUMBER> --max-accept<PHONE_NUMBER> --add-self-matches 0 --db-load-mode 0 --pca substitution:1.100,context:1.400 --pcb substitution:4.100,context:5.800 --score-bias 0 --realign 0 --realign-score-bias -0.2 --realign-max-seqs<PHONE_NUMBER> --corr-score-weight 0 --gap-open aa:11,nucl:5 --gap-extend aa:1,nucl:2 --zdrop 40 --threads 48 --compressed 0 -v 3
Compute score and coverage
Query database size: 1270615 type: Profile
Target database size: 1270615 type: Aminoacid
Calculation of alignments
[=================================================================] 1.27M 33m 52s 295ms
Time for merging to euk72-90.profile_search2: 0h 0m 0s 650ms
109004199 alignments calculated
56769447 sequence pairs passed the thresholds (0.520801 of overall calculated)
44.678715 hits per query sequence
Time for processing: 0h 33m 55s 605ms
clust euk72-90.profile2 euk72-90.profile_search2 euk72-90.clust2 --threads 48
MMseqs Version:              	aabc78c298f35cbc7a4136206c1a83adaa68695f
Cluster mode                 	0
Max connected component depth	1000
Similarity type              	2
Threads                      	48
Compressed                   	0
Verbosity                    	3
Clustering mode: Set Cover
[=================================================================] 1.27M 0s 909ms
Sort entries
Find missing connections
Found 12659367 new connections.
Reconstruct initial order
[=================================================================] 1.27M 1s 538ms
Add missing connections
[=================================================================] 1.27M 13s 672ms
Your Environment
MMseqs Version:                        	aabc78c298f35cbc7a4136206c1a83adaa68695f

Apologies but it appears that this is not a real issue. The errors in the alignment were artifacts of extracting alignment data from a cluster_DB not the underlying alignment_DB. Proper association of alignment data with the cluster sequences reveals that the coverage parameter works as intended.
Best
Victor


Roadmap: Add Web Server Package (php, mysql, phpmyadmin, etc)

Summary
Add the following apps:

[ ] PHP 7.x - 8.x

[ ] php 7.3
[x] php 7.3-fpm
[ ] php 7.4
[x] php 7.4-fpm
[ ] php 8.1
[x] php 8.1-fpm
[ ] php 8.2
[x] php 8.2-fpm

[ ] PhpMyAdmin + OAuth Libraries

[x] 2FA / U2F Plugin requires Composer
[ ] PhpMyAdmin Themes (mainly dark)

[x] MySQL
[ ] MariaDB
[x] Nginx
[ ] Apache

Update
mysql database package included

Allows for mysql itself to be installed
Supports either a Proteus setup method, or mysql_secure_installation
Allows for a random 20 character password to be generated after mysql is installed to apply to the root user

TODO: Add option to disable root account

Creates a random 20 character password for a mysql user account
Includes a very dramatic "password reset" feature for users who have forgot their account password

Feature activates on users who already have a password applied to their mysql account
User must type an incorrect password three times
May add selection based option to allow this feature to be activated at user's request


Display has gone blank and flashing today

pi@raspberrypi:~ $ python3 ~/zero-btc-screen/main.py
Traceback (most recent call last):
File "/home/pi/zero-btc-screen/main.py", line 60, in
main()
File "/home/pi/zero-btc-screen/main.py", line 46, in main
data_sink.update_observers(prices)
File "/home/pi/zero-btc-screen/presentation/observer.py", line 18, in update_observers
observer.update(data)
File "/home/pi/zero-btc-screen/presentation/screens/epd2in13v2.py", line 54, in update
self.form_image(data, self.screen_draw)
File "/home/pi/zero-btc-screen/presentation/screens/epd2in13v2.py", line 41, in form_image
Plot.candle(prices, size=(SCREEN_WIDTH - 45, 93), position=(41, 0), draw=screen_draw)
File "/home/pi/zero-btc-screen/data/plot.py", line 61, in candle
for i in range(data_offset, len(data), windows_per_candle):
ValueError: range() arg 3 must not be zero
I have tried re-flashing the whole system and re-installing all dependencies, but the issue still persists.
Please advise.

Prior to today, it worked all well without any issues on refresh rate 1 min, 5 min and 15 min

Not sure what happened, must be a bug in the code with the dataset. I see the array for "data" is coming back 0 length. But its an array of arrays. (I'm not familiar with this code). Must be the dataset changed?
I notice if i change to line instead of candle, its working for me.

There seems to be an issue with the data returned by the API, to be precise the last data frame is dated GMT: Sunday, January 23, 2022 3:29:59 AM. If this continues we just need to use another data source, I see that v3 works just fine, though has per-minute data.

Thanks, guys for the quick response. Hopefully, the data provider will sort that out soon.
It would be nice to have that caught and display a message on the display

Yeah seeing my graph slowly disappear, definitely no data coming anymore.

Hi everyone, mine doesn't work anymore either.
I also had a similar issue few months ago.

Yep, the Coindesk stopped returning data in their API call. Could we have an alternative data source? e.g. Coingecko?
https://api.coingecko.com/api/v3/coins/bitcoin/ohlc?vs_currency=usd&days=1

As the API is up and running again, I don't think there is a need of migrating to a new one. If, however, it becomes unstable, the one above could be a viable option.

sounds good. Thanks


Check helm package action

What type of PR is this?

[ ] API-change
[ ] BUG
[ ] Improvement
[ ] Documentation
[ ] Feature
[x] Test and CI
[ ] Code Refactoring

Which issue(s) this PR fixes:
Fixes #
What this PR does / why we need it:
Not Available
Special notes for your reviewer:
Not Available
Additional documentation (e.g. design docs, usage docs, etc.):
Not Available

integrate to pr#80