[FEATURE] Throw Error on intra-group dependency

Is your feature request related to a problem? Please describe.
When deploying two modules in the same group that depend on each other the module deployments still execute in parallel. The expectation is that there is no intra-group dependencies, only inter-group dependencies.
Throw an exception when intra-group dependencies are detected to warn users about the race condition for deployment that could cause issues.
Describe the solution you'd like
Exception is thrown when intra-group valueFrom.moduleMetadata dependencies are detected. Link to documentation on how dependencies are resolved in the error output.

I have faced the same issue. I was not aware that intra-group dependencies are not supported


As a Holder user of the Tenant UI I want to see my credentials in the graphical "card" view from the mockups

Implement card view from https://xd.adobe.com/view/20ae96da-b8b6-4dca-8d17-da1c3403613f-75fd/screen/244dd597-2f62-4906-97f4-591352a98385/

We may need some bigger discussions around OCA decisions to move forward on this (or make it a simple generic thing and spin off future tickets?)

Incorporating OCA loading with new OCA plugin for held credentials (lookup and resolve OCA for cred def IDs in Holder view)


Multi-machine training quesion

Hi, Is this code suitable for multi-machine training? Seems to be stuck all the time. @SWivid

we try accelerate config with multi-machine setting.
seems ok with our expr. maybe check for the port used

will close, if any questions welcome to open it~

we tried accelerate config with multi-machine setting. seems ok with our expr. maybe check for the port used

I noticed a phenomenon during my training. The training uses batch_size_per_gpu=20000, max_samples=64, the data only uses 0.3-20s of audio, training on 80G A100, in the middle of training, cuda oom, printing cuda memory occupation in training, found that in the middle of a batch, memory directly increased from 30G to 70G, and then kept at 70G, continue to train some steps, The OOM error is reported.
Have you ever encountered it， or Do you have any suggestions？ @SWivid

Another question is why you use frame-wise batch_size with 32 for small models and 64 for base models. Why not use 32 for the base model and 64 for the small model?  @SWivid

Hi @yangyyt , the increased gpu memory is normal as all ranks are prepared and batches with audio samples are in.
Our experience is that once figure out a oom-free batchsize, the mem usage will just keep the same all along training.
For the max_sample setting, we just intuitively have small model with smaller batchsize, and not squeeze too much short samples into one batch :D

the increased gpu memory is normal. Once all ranks are prepared and batches with audio samples starts to swarm into gpu mem.

Thank you for your reply.
emmm,  step 3-step 3566: gpu mem~30G, but step3567-step 6454: gpu mem~70G, and then oom. Isn't that a little strange?

step 3 to step 3566: gpu mem_30G, but step 3567 to step 6454: gpu mem_70G

ah, this is strange. we just thought all gpu would reach 70g once step from 0 to 1.
will test for it.


vim(highlights),ERROR

Version confirmation

[X] Confirm

Following prerequisites

[X] Confirm

Neovim version
NVIM v0.8.3
Operating system/version
macOS 13.2.1
Terminal name/version
iterm2 Build 3.4.19
$TERM environment variable
"$VIM/sysinit.vim","/opt/homebrew/Cellar/neovim/0.8.3/share/nvim"
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
The following errors have been detected:

ERROR: vim(highlights): ...im/0.8.3/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 2765 for language vim
vim(highlights) is concatenated from the following files:
| [ERROR]:"/Users/riley/.local/share/nvim/site/lazy/nvim-treesitter/queries/vim/highlights.scm", failed to load: ...im/0.8.3/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 2765 for language vim

Expected behavior
checkhealth  no trouble.
Actual behavior
No response
Additional information
No response

https://github.com/ayamir/nvimdots/issues/393

try running :TSUpdate.


Clarify / Document / Redesign the Peripherals::{take, steal} API

In https://github.com/rust-embedded/cortex-m/pull/169, I wanted to add a function SCB::steal that unsafely obtains an instance of the SCB peripheral. While this API isn't really necessary since Peripherals::steal().SCB does the same, it is slightly more convenient.
One issue that came up was that Peripherals::steal() is not documented to have any relationship with Peripherals::take(). In reality, calling steal() will cause take() to return None, and this is relied on by RTFM for soundness! We definitely need to document this, but it might also be useful to have an unsafe steal()-like API that does not affect the "taken flag" at all (this is what my SCB::steal() would've been, for example).
Another possible improvement on this API would be to move it to a trait, which could help with https://github.com/rust-embedded/cortex-m-rt/issues/180. If we had that, we could have cortex-m-rt steal and pass arbitrary implementors of that trait to the #[entry] point of the app, moving one nice pattern enabled by RTFM to the non-RTFM embedded world.

Strawman proposal:
trait StaticResource: Sized {
    /// Obtains ownership of this resource singleton and makes it unavailable to
    /// future callers of `take()`.
    ///
    /// If `take()` or `steal()` have been called before, this returns `None`.
    fn take() -> Option<Self>;

    /// Obtains an instance of this resource and makes all future calls to
    /// `take()` return `None`.
    ///
    /// This will not check if `take()` or `steal()` have already been called
    /// before. It is the caller's responsibility to use the returned instance
    /// in a safe way that does not conflict with other instances.
    unsafe fn steal() -> Self;

    /// Unsafely obtains an instance of this resource.
    ///
    /// This will not check if `take()` or `steal()` have already been called
    /// before. It is the caller's responsibility to use the returned instance
    /// in a safe way that does not conflict with other instances.
    unsafe fn conjure() -> Self;
}

We could also make it an unsafe trait, and require implementors to ensure that the crate containing the "taken flag" uses a well-known links = "..." value in its manifest. This would make it impossible to link multiple crates (or crate versions) together that provide the same static resource (which would allow unsoundly acquiring multiple instances of the same hardware resource).

Added the trait to bare-metal in rust-embedded/bare-metal#27

I was just passing by, but I had a realization that might be helpful - The current definition of steal(), which affects future calls to take(), can be implemented as take().unwrap_or_else(|| conjure()).
Impacts:

Peripherals::steal() is not documented to have any relationship with Peripherals::take() ...  this is relied on by RTFM for soundness

If conjure() was provided instead of steal(), there would be no relationship to document; if you wanted to affect future calls to take(), you can do so explicitly with the expression I gave above. Especially when soundness is a concern, why rely on documentation when the code can describe itself?

Either way it's probably good to state in the docs how it affects take(), whether or not it does.

https://app.bountysource.com/issues/86724107-clarify-document-redesign-the-peripherals-take-steal-api


Exporter don't work when i restart database

Hello,
I tried to restart database when exporter work and after, exporter can't detect database status and nothing work.

The exporter always connects and closes the connection after scraping. I could not confirm that. After restarting the instance i see the metrics again. Do you have some error messages from the exporter?

Hello il's good now.
It was librairies problems.


Deals page

Fixes #6

Describe the changes you've made
Added a new Deals of the Day and removed the Deals of the Day section from home page.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Additional context (OPTIONAL)
Screenshot -

Test plan (OPTIONAL)
A good test plan should give instructions that someone else can easily follow.
How someone can test your code?
Checklist

[x] I have mentioned related issue number in PR description.
[x] I have added screenshots and related demo links of my changes..
[x] The title of my pull request is a short description of the requested changes.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] Open Source Program names(OPTIONAL: If you participated in any open-source program then please mention the program name here) - DCP 2021

Have you added one more row?

Have you added one more row?

I want to, but I'm not getting content for more.
Please suggest something.

Okay, thanks
I'll do the additions and get back to you.

Hey @QAZIMAAZARSHAD , I've added a new row as said. Here's a demo

Hey @QAZIMAAZARSHAD , I've added a new row as said.

Share the website link so I can review your changes.

Share the website link so I can review your changes.

Sorry I didn't get you!

Host your website on any platform and share link.
Like this https://qazimaazarshad.github.io/Apni-Dukaan/.

Here you go
https://swastik1710.github.io/Apni-Dukaan/

Correct navbar.
Add scroll to top button in deals page.

Navbar was correct only but someone added the Partner Stores tab due to which it got messed up.
So now what to do?
Shall I change Deals of the Day to only Deals.

Navbar was correct only but someone added the Partner Stores tab due to which it got messed up.
So now what to do?
Shall I change Deals of the Day to only Deals.

I think offers was better, change it to that.

Done!
Please have a look @QAZIMAAZARSHAD

Can't go to offers page from about us page.

Please check now.
Sorry for that.


S3 backup feature

Is it possible to enter custom S3 endpoint url as docker env variable AWS_ENDPOINT? I'm using minio as my S3 provider.

I just wrote a comment explaining how to achieve a similar setup using litestream in #66


Still in development?

Looks like no updates here for over a year - is this plugin still in active development?

we're planning to move over to the postgres datasource - the latest CrateDB version already has some improvements to make the connection work (better).

So using the Postgres datasource, we'd be able to connect to a CrateDB instance? Would features like alerting and annotations work?

we're in the progress of testing and improving support for it. it would be great to get your feedback on issues - and also to hear what is working and what not.
you might want to use the latest testing release for cratedb.
we'd be happy to address issues promptly.

Hi @jodok, we are really interested in this topic. Do you have any documentation or guide to test it?

hi @rymoore, @versatildefuy,
connecting CrateDB to Grafana via the Postgres datasource works fine. I'm not sure if alerting and annotations also work, but we will check this and I'll let you know.
Thanks,
Joe


Should be able to set order of remap rules in remap.config

Currently they're ordered by id which means they go in order they were entered into the system. Should be able to set that as an operator.


[CLI] Libdef install fail with invalid comparator error when package version set to 'github' instead of semver (e.g. "flow-bin": "github:flowtype/flow-bin")

👎 Before

package.json

Terminal

👍 After

package.json

Terminal

Expected Result
The installation should not fail when I use 'github:' or any other form of Git URL to set a version in package.json, since it's permitted to do so.
This probably ain't semver's fault, since it's being used mainly to compare versions coming from package.json and the 'github:' or Git URLs are not backed by semver specification.
Extra Info
❯ flow-typed version
<EMAIL_ADDRESS>
❯ npm version
{ statistics: '1.0.0',
  npm: '4.6.1',
  ares: '1.10.1-DEV',
  cldr: '30.0.3',
  http_parser: '2.7.0',
  icu: '58.2',
  modules: '51',
  node: '7.10.0',
  openssl: '1.0.2k',
  tz: '2016j',
  unicode: '9.0',
  uv: '1.11.0',
  v8: '5.5.372.43',
  zlib: '1.2.11' }

❯ flow version
Flow, a static type checker for JavaScript, version 0.47.0

❯ uname -a
Darwin *****.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64

#1127 Feature Issue for this.


Deprecation/removal of fillColor/strokeColor

Right now there is fillColor/strokeColor on some nodes (any type of Path or Text), but I now don't see it being used.
Its purpose was to have a lazily-computed Color that could be used for getting color components out, however with the recent Color Property support, Nodes themselves don't listen to the property (and thus we lose tons of performance if fillColor/strokeColor is accessed when the fill/stroke is a property).
Any objections to removing this?

+1 to remove.

+1 to remove

Consensus: @jonathanolson will remove it.


update after cleanups

[x] HttpClient instead of HttpPsrClient and HttpMethodsClient
[x] Utilities for HttpMethodsClient
[x] Client instead of Adapter
[x] httplug composer package name

I would say we have to reread and rewrite the whole documentation, as it became fully outdated.
@dbu updated your comment, made it a todo list.

fixed in #10


Differences between normalized face landmarks in python mediapipe versus scaledMesh in the browser with tensorflow.js

Dear MediaPipe team,
I have just found this incredible technology of yours, MediaPipe is a game changer in many aspects, thank you very very much for developing and opensourcing this incredible technology.
I was able to very quickly prototype a working python-based mediapipe application which is ingests videos and then infers features derived from the face landmarks over time. All 468 landmarks there are based on normalized coordinates within the closed interval [0, 1], elegantly abstracting the points from the variety of dimensions of the videos.
However, at the client or frontend/MediaPipe/TensorFlow.js side I am not ingesting videos, instead I get real time video from the webcam and get the same landmarks of interest, however, their values are not equally normalized between 0 and 1. I found two different means for obtaining the landmarks, mesh and scaledMesh, of these two, the later, scaledMesh, is supposed to provide normalized landmarks. I believe those landmarks in tensorflow.js are in fact normalized, but in a different mathematical plane.
I imagine several ways of normalizing the values by myself, the problem is that I must match the numbers of the server, or at least, a very close approximation.
At python, for example, landmark 300, I obtain this:
Pt300(x,y,z)=[0.929972410202, 0.45059671998, -0.007927045226]
At the browser's javascript console, with scaledMesh, I get this:
Pt300(x,y,z)= [<PHONE_NUMBER>84375,<PHONE_NUMBER>4746094, -0.957552433013916 ]
I wonder if the API provides some means for obtaining equally normalized landmarks from the browser or tensorflow.js as those I already have at the server, and if there isn't, may you suggest some procedure I could apply in order to convert the normalized values from MediaPipe/tensorflow.js to MediaPipe/Python?
Thank you very much for your help and time.
Best regards,
Antornix

Hi @antornix, Could you please go through the reference for getting landmarks of facemesh in python platform with both video and webcam as input. If your query still not answered, Please reach us to assist you better on the above. Thanks!

Hi @antornix, Did you get a chance to go through my above comment. Thanks!

Assuming your resolved with the above comment, We are closing this issue now.


[Feature Request]  jython

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
https://www.jython.org/installation
https://blog.csdn.net/qq_41886200/article/details/104053730
Additional context
No response

https://blog.csdn.net/RenshenLi/article/details/110574358

https://blog.csdn.net/qq_44009891/article/details/102333621

https://blog.csdn.net/qq_41886200/article/details/104053730

https://deepinout.com/jython/jython-questions/66_jython_what_is_jython_and_is_it_useful_at_all.html

由于jython模块化中 存在xml.dom的依赖倒置无法再模块化中使用。目前设置为test范围


When creating second light accessory, first and second Lights doesn't show up

Hi So the default Light_accessory is just working. when I create a new one I cannot see the second one when searching for a product  sometimes  the first one doesn't work anymore. I copied the file from the first one, and changed the name of the light and light.username:
@KhaosT
var Accessory = require('../').Accessory;
var Service = require('../').Service;
var Characteristic = require('../').Characteristic;
var uuid = require('../').uuid;
var PythonShell = require('python-shell');
// here's a fake hardware device that we'll expose to HomeKit
var FAKETL_LIGHT = {
powerOn: false,
brightness: 100, // percentage
setPowerOn: function(on) {
console.log("Turning the light %s!", on ? "on" : "off");
FAKETL_LIGHT.powerOn = on;
    if(on){

          PythonShell.run('../../lighton.py', function (err) {
                    if (err) throw err;
                            console.log('finished ON');
            });

    }else{

            PythonShell.run('../../lightoff.py', function (err) {
                    if (err) throw err;
                            console.log('finished OFF');
            });

    }

},
setBrightness: function(brightness) {
console.log("Setting light brightness to %s", brightness);
FAKETL_LIGHT.brightness = brightness;
},
identify: function() {
console.log("Identify the light!");
}
}
// Generate a consistent UUID for our light Accessory that will remain the same even when
// restarting our server. We use the uuid.generate helper function to create a deterministic
// UUID based on an arbitrary "namespace" and the word "light".
var lightUUID = uuid.generate('hap-nodejs:accessories:light');
// This is the Accessory that we'll return to HAP-NodeJS that represents our fake light.
var light = exports.accessory = new Accessory('Light tl', lightUUID);
// Add properties for publishing (in case we're using Core.js and not BridgedCore.js)
light.username = "QK:2D:3E:4F:5G:HH";
light.pincode = "031-45-154";
// set some basic properties (these values are arbitrary and setting them is optional)
light
.getService(Service.AccessoryInformation)
.setCharacteristic(Characteristic.Manufacturer, "Oltica")
.setCharacteristic(Characteristic.Model, "Rev-1")
.setCharacteristic(Characteristic.SerialNumber, "A1S2NASF88EW");
// listen for the "identify" event for this Accessory
light.on('identify', function(paired, callback) {
FAKETL_LIGHT.identify();
callback(); // success
});
// Add the actual Lightbulb Service and listen for change events from iOS.
// We can see the complete list of Services and Characteristics in lib/gen/HomeKitTypes.js
light
.addService(Service.Lightbulb, "grote lamp") // services exposed to the user should have "names" like "Fake Light" for us
.getCharacteristic(Characteristic.On)
.on('set', function(value, callback) {
FAKETL_LIGHT.setPowerOn(value);
callback(); // Our fake Light is synchronous - this value has been successfully set
});
// We want to intercept requests for our current power state so we can query the hardware itself instead of
// allowing HAP-NodeJS to return the cached Characteristic.value.
light
.getService(Service.Lightbulb)
.getCharacteristic(Characteristic.On)
.on('get', function(callback) {
// this event is emitted when you ask Siri directly whether your light is on or not. you might query
// the light hardware itself to find this out, then call the callback. But if you take longer than a
// few seconds to respond, Siri will give up.

var err = null; // in case there were any problems

if (FAKETL_LIGHT.powerOn) {
  console.log("Are we on? Yes.");
  callback(err, true);
}
else {
  console.log("Are we on? No.");
 callback(err, false);
}

});
// also add an "optional" Characteristic for Brightness
light
.getService(Service.Lightbulb)
.addCharacteristic(Characteristic.Brightness)
.on('get', function(callback) {
callback(null, FAKETL_LIGHT.brightness);
})
.on('set', function(value, callback) {
FAKETL_LIGHT.setBrightness(value);
callback();
})

Please make sure the accessory file is ended with _accessory.js

It is, when starting core.js it also starts.
On 18 Dec 2015, at 07:59, Khaos Tian <notifications<EMAIL_ADDRESS>wrote:
Please make sure the accessory file is ended with _accessory.js

Reply to this email directly or view it on GitHubhttps://github.com/KhaosT/HAP-NodeJS/issues/185#issuecomment-165696013.

Can you make a second LIGHT accessory and check if pairing both of them works. If so, can you send me the second light_accessory.js file?. Thank you! @KhaosT

@KhaosT ?

Hope you can help me out @KhaosT

I'm not sure what you expect me to do here... the second light file will be exactly the same except the username. I can only suggest you to try it again.

For the new accessory, doesn't the UUID need to change?
// Generate a consistent UUID for our light Accessory that will remain the same even when
// restarting our server. We use the `uuid.generate` helper function to create a deterministic
// UUID based on an arbitrary "namespace" and the word "light".
var lightUUID = uuid.generate('hap-nodejs:accessories:light');

Change to
var lightUUID = uuid.generate('hap-nodejs:accessories:SomeOtherlight');

@AdySan This did not help.

Fixed the problem by resetting the home configuration in settings on Iphone and deleting my home twice from the homekit app!


kapt issues

ISSUE_TEMPLATE
DBFlow Version:
4.2.4
Bug or Feature Request:
Build error
Description:
I'm getting the following error when syncing the project using the latest Kotlin version as of today: 1.3.21. Works fine on 1.3.11.
Could not find method kapt() for arguments [com.github.raizlabs.dbflow:dbflow-processor:4.2.4]
Is there any way to fix this?
build.gradle relevant content:
ext.dbflow_version = '4.2.4'
kapt "com.github.raizlabs.dbflow:dbflow-processor:${dbflow_version}"
implementation "com.github.raizlabs.dbflow:dbflow-core:${dbflow_version}"
implementation "com.github.raizlabs.dbflow:dbflow:${dbflow_version}"
implementation "com.github.raizlabs.dbflow:dbflow-kotlinextensions:${dbflow_version}"

@matteinn Great callout - This issue seems to still occur  with Kotlin 1.3.50. downgrading to:
ext.kotlin_version = '1.3.11'
solved the issue.


Update README.md

Little correction to the example code ;)

Lol! This correction in one letter of README has caused continuous-integrations problems XD

Perfect. I thought it was wrong.
Thanks :)


Question about the input feature of pockets

Hi,
I have two questions about the input features of pockets.

For 'side', I think it means whether the atom is in the side chain. So, I do not understand why the value is 0, 1, and 2.
For 'residue', it only shows the index of residue (e.g., D190, C315). I think the name of residue (e.g., ARG, PHE) is a more commonly used feature. I want to know how can I convert the index to a name.

Thanks

Currently, side and residue info are not used in unimol pocket pretrain models, and we retain those features for further research. For question 1, you can reference this:
main_atoms = ['N', 'CA', 'C', 'O']
def judge_side(atom):
    if atom in main_atoms:
        return 0
    elif atom in ['H']:
        return 2
    else:
        return 1   # side chain

For question 2, residue is constructed with chain id and residue number from pdb file.  Sorry for name info missing, we will add and update soon.

Thanks for your reply! When the file will be updated, and can you remind me if it is updated?


Trouble with onUpdate function in some cases

I have some troubles with understanding of this example
/examples/js/cell-edit/custom-cell-edit-table.js
I found this example very useful for me, but i can't understand this line
const createNameEditor = (onUpdate, props) => (<NameEditor onUpdate={ onUpdate } {...props}/>);
I can't understand what occurs with the onUpdate function and where is its native code;
When i tried to console.log it, i discovered something like that:
ƒ () {
      return _this.__handleCustomUpdate__REACT_HOT_LOADER__.apply(_this, arguments);
 }

So, i can apply new data only with this function, but i can't edit it or change it.
I would be glad if somebody could help me either how to apply data with self-writed function or with how to edit onUpdate function.
Thank you.

I can't understand what occurs with the onUpdate function

onUpdate function will do the cell editing immediately when you call it. so after call it, the cell value will be changed

So, i can apply new data only with this function, but i can't edit it or change it.

yes, but user should change the data then you call this onUpdate function
Hope I answer you question, feel free to discuss with me if necessary :)


MSIX post Uninstallation event to revert system configuration

Hello
Need help with MSIX post-uninstallation tasks
After uninstalling an MSIX package, I need to revert some registry changes and clear temporary files in the user's temp folder.
Are there some examples to do these operations after uninstallation? :

uninstallation events to revert specific registry keys
Methods to clear temporary files in the temp folder

Thanks!

What registry changes? Does ApplicationData.LocalSettings meet your needs?
By "user's temp folder" I assume you mean %USERPROFILE%\AppData\Local\Temp? Why not ApplicationData.TemporaryFolder?

Are you a DesktopBridge app? (aka RuntimeBehavior=packagedClassicApp aka EntryPoint=windows.fullTrustApplication or windows.partialTrustApplication). DesktopBridge apps get i/o virtualization for some registry and filesystem locations (usually HKCU + %USERPROFILE%). If you're writing to these locations the changes will be automagically removed when the package is removed for a user. See Flexible virtualization.
You can also use ApplicationData.TemporaryFolder to get a temp file location or ApplicationData.LocalSettings for structured data (registry-like, but not Registry APIs). There's also ApplicationData.LocalFolder and ApplicationData.LocalCacheFolder for not-so-temporary filesystem locations for your package family per-user which are equally auto-removed when the package family is removed for a user.
(.TemporaryFolder can be emptied by Disk Cleanup Wizard and like mechanisms, whereas .Local[Cache]Folder doesn't)
P.S. WinAppSDK's Microsoft.Windows.Storage.ApplicationData provides an enhanced experience over the OS API, e.g. ApplicationData.Current.TemporaryPath is equivalent to ApplicationData.Current.TemporaryFolder.Path but more efficient and convenient :-)
Generally if you're a packaged app the recommended API for data storage is ApplicationData, not RegOpenKeyEx(), GetTempPath() or other APIs. Or if you're a DesktopBridge app such classic Win32 APIs partying on per-user locations are redirected to managed storaged associated with the user+packagefamily (unless you disable the i/o virtualization) and thus automagically deleted when the package is removed for a user.
If you find yourself needing to write outside ApplicationData and virtualized data locations then no, there's currently no mechanism to 'delete other data on uninstall'. This enhancement request is in our backlog and being tracked via Issue #2779: Uninstall/Reset/Repair Tasks #2779. If this interests you please share your feedback in the issue with details about your scenario to help us take into account in our planning and design efforts.


meiotic centromere clustering

https://github.com/geneontology/go-ontology/issues/18025
Changed last week to
The process by which centromeres/kinetochores become localized to clusters during a meiotic prometaphase I.
Please refine further to:
The process by which centromeres/kinetochores attach to and migrate along microtubules to become localized to clusters  at the spindle pole body during a meiotic prometaphase I.

arg, this sounds the same thing as
GO:0051758    JSON
homologous chromosome movement towards spindle pole involved in homologous chromosome segregation
The directed movement of homologous chromosomes from the center of the spindle towards the spindle poles, mediated by the shortening of microtubules attached to the chromosomes, that contributes to meiosis I.
but is isn't because this is describing the migration at anaphase
but they should have common parents.
GO:0051758    JSON
homologous chromosome movement towards spindle pole involved in homologous chromosome segregation
would be better called
GO:0051758
homologous chromosome movement towards spindle pole in meiosis I anaphase
and defined
The directed movement of homologous chromosomes from the center of the spindle towards the spindle poles, mediated by the shortening of microtubules attached to the chromosomes, during  meiosis I anaphase.
a synonym can be added to
meiotic centromere clustering
homologous chromosome movement towards spindle pole in meiosis I prometaphase


Reverse default sort direction for tables in monitor

This is meant to address issue #423 and sorts the columns in descending order on first click.

Not sure why this failed in jenkins. The error seems to be about:
[WARNING] Failed to getClass for net.revelc.code.formatter.FormatterMojo
I ran with verify, and hadnt changed any formatting. I re-ran with verify after the error locally and did not get an error.

@alerman Thanks for the PR.  I will take a look at this and hopefully we can get this in the 1.9/1.8 release.  Just a heads up, since we are now using GitHub issues, you don't have to create an issue for something minor since a pull request is considered an issue.

Thanks @milleruntime. I wasnt sure but created it to be safe... will take note in the future.

@ctubbsii should know why your Jenkins build is failing... it appears related to recent changes to the formatter.

The jenkins failure looks like a network failure on the build infrastructure, nothing to do with your PR or the recent formatting changes.

I'm currently prepping a 1.9.0 release candidate. Since this one isn't currently working, it's not going to make it, and I'm not sure we should change the behavior in a bugfix release. Also, the monitor is completely different in the master branch, so any fix here won't apply going forward.
If the 1.9.0 release candidate passes, I'm not sure if it would be worth considering this for 1.9.1... or leave it as-is and focus on making improvements to the monitor in the master branch.

It had been my plan to follow with one for 2.0 once I had a working environment to test it in but I was fighting with accumulo-docker this morning. I finally got it running but didn't have time left to make the changes. What is the release time line for 2.0? If it is relatively soon I wont bother with an update for this PR. If it will be longer I will update this PR with the changes as requested

@alerman We don't have a strict timeline for 2.0... but I was hoping for late summer.

@ctubbsii ok I will create a PR for 2.0 once I have gotten my environment working.


Memory in each node increasing iteratively when training

I use maddpg to train the custom environment, but the memory used in each node increased iteratively and causes incomplete training after around 10 iterations.
== Status ==
Current time: 2023-07-02 12:20:01 (running for 00:28:35.94)
Memory usage on this node: 12.8/13.0 GiB: LOW MEMORY less than 10% of the memory on this node is available for use. This can cause unexpected crashes. Consider reducing the memory used by your application or reducing the Ray object store size by setting object_store_memory when calling ray.init.
Using FIFO scheduling algorithm.
Resources requested: 4.0/4 CPUs, 0/0 GPUs, 0.0/6.06 GiB heap, 0.0/3.03 GiB objects
Result logdir: /home/anri/peg_in_hole_dev_aniri/exp_results/maddpg_mlp_default
Number of trials: 1/1 (1 RUNNING)
+---------------------------------------------------+----------+----------------------+--------+------------------+-------+----------+----------------------+----------------------+--------------------+
| Trial name                                        | status   | loc                  |   iter |   total time (s) |    ts |   reward |   episode_reward_max |   episode_reward_min |   episode_len_mean |
|---------------------------------------------------+----------+----------------------+--------+------------------+-------+----------+----------------------+----------------------+--------------------|
| MADDPGTrainer_TwoArmPegInHole_default_023f6_00000 | RUNNING  | <IP_ADDRESS>:58357 |     12 |          1685.41 | 27024 |  211.045 |              335.006 |              133.397 |                250 |
+---------------------------------------------------+----------+----------------------+--------+------------------+-------+----------+----------------------+----------------------+--------------------+
I also use maddpg to train in the example environment and got the same result.
The traning code
from marllib import marl
env = marl.make_env(environment_name="mpe", map_name="simple_adversary", continuous_actions=True)
maddpg = marl.algos.maddpg(hyperparam_source='common')
model = marl.build_model(env, maddpg, {"core_arch": "mlp", "encode_layer": "128-256"})
maddpg.fit(env, model, stop={'episode_reward_mean': 10, 'timesteps_total': 20000000}, local_mode=True, num_gpus=0,
num_workers=1, share_policy='individual', checkpoint_freq=100)

hello, this is mechanism of Ray. Actually I also have met this problem. With the training, the memory usage will be increased linearly.

hello, this is mechanism of Ray. Actually I also have met this problem. With the training, the memory usage will be increased linearly.

Hello, thanks for your reply.
Yes, the memory used in each node increases the same amount iteratively.
I also found a interesting thing, if setting number of works larger, the increasing amount will be smaller, but I am not sure the reason, and is it possible to change ray init() to solve the problem?

Hello,
Is it possible to resume the model from the last checkpoint and continue to train? I did not find the relative guide.
Thanks in advance.

Yes. Loading and rendering on one environment can be seen as a specific scenario of resuming the model from the last checkpoint and continuing training.  We will add an example on general model loading very soon.


⚠ Science Web Services - QState has degraded performance

In 4974c3e, Science Web Services - QState (https://sws.labbricks.com/qstate/) experienced degraded performance:

HTTP code: 523
Response time: 3136 ms

Resolved: Science Web Services - QState performance has improved in e7a77e8 after 30 minutes.


mbed cli v1.10.0 - GCC_ARM, ARMC6 config needs to have /bin in path, other compilers may not

Version info:

OS - Linux / Ubuntu 16.04.
mbed --version 1.10.0

Repro steps:
Download and get gcc arm : https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
Unarchive it for example under your user folder, i.e. /home/user, for example
jankii01@ubuntu:~/gcc-arm-none-eabi-8-2019-q3-update$ pwd
/home/jankii01/gcc-arm-none-eabi-8-2019-q3-update

Go to one of your mbed examples and configure mbed cli's path to GCC ARM:
jankii01@ubuntu:~/mbed/mbed-client-testapp$ mbed config -G GCC_ARM_PATH "/home/jankii01/gcc-arm-none-eabi-8-2019-q3-update"

Try compiling, it will fail.
jankii01@ubuntu:~/mbed/mbed-cloud-client-example$ mbed config -G GCC_ARM_PATH "/home/jankii01/gcc-arm-none-eabi-8-2019-q3-update"
[mbed] /home/jankii01/gcc-arm-none-eabi-8-2019-q3-update now set as global GCC_ARM_PATH
jankii01@ubuntu:~/mbed/mbed-cloud-client-example$ mbed compile -m K64F -t GCC_ARM
[mbed] Working path "/home/jankii01/mbed/mbed-cloud-client-example" (program)
[mbed] WARNING: Missing Python modules were not auto-installed.
       The Mbed OS tools in this program require the following Python modules: hidapi, pywin32, wmi
       You can install all missing modules by running "pip install -r requirements.txt" in "/home/jankii01/mbed/mbed-cloud-client-example/mbed-os"
       On Posix systems (Linux, etc) you might have to switch to superuser account or use "sudo"
---
Could not find executable for GCC_ARM.
Currently set search path: /home/jankii01/gcc-arm-none-eabi-8-2019-q3-update
[mbed] ERROR: "/usr/bin/python" returned error.
       Code: 2
       Path: "/home/jankii01/mbed/mbed-cloud-client-example"
       Command: "/usr/bin/python -u /home/jankii01/mbed/mbed-cloud-client-example/mbed-os/tools/make.py -t GCC_ARM -m K64F --source . --build ./BUILD/K64F/GCC_ARM"
       Tip: You could retry the last command with "-v" flag for verbose output
---

Add the /bin to the path, and it suddenly works.
jankii01@ubuntu:~/mbed/mbed-cloud-client-example$ mbed config -G GCC_ARM_PATH "/home/jankii01/gcc-arm-none-eabi-8-2019-q3-update/bin"
[mbed] /home/jankii01/gcc-arm-none-eabi-8-2019-q3-update/bin now set as global GCC_ARM_PATH
jankii01@ubuntu:~/mbed/mbed-cloud-client-example$ mbed compile -m K64F -t GCC_ARM
[mbed] Working path "/home/jankii01/mbed/mbed-cloud-client-example" (program)
[mbed] WARNING: Missing Python modules were not auto-installed.
       The Mbed OS tools in this program require the following Python modules: hidapi, pywin32, wmi
       You can install all missing modules by running "pip install -r requirements.txt" in "/home/jankii01/mbed/mbed-cloud-client-example/mbed-os"
       On Posix systems (Linux, etc) you might have to switch to superuser account or use "sudo"
---
[Warning] @,: Compiler version mismatch: Have 8.3.1; expected version >= 6.0.0 and < 7.0.0
Building project mbed-cloud-client-example (K64F, GCC_ARM)
Scan: mbed-cloud-client-example
Using ROM regions bootloader, header, application in this build.
  Region bootloader: size 0x8000, offset 0x0
  Region header: size 0x70, offset 0xa000
  Region application: size 0xf5c00,

However, IAR and ARM C work differently - there you may not add /bin to the path, or they fail.
Requirement: all compiler paths should work in the same way.

This type of config works for me;
jankii01@ubuntu:~/mbed/mbed-cloud-client-example$ mbed config --list
[mbed] Global config:
ARM_PATH=/usr/local/ARM_Compiler_5.06u6/
GCC_ARM_PATH=/home/jankii01/gcc-arm-none-eabi-8-2019-q3-update/bin
IAR_PATH=/home/jankii01/IAR/IAR-BuildLx-Arm-8.32.1
ARMC6_PATH=/home/jankii01/ARMCompiler6.12

Seems I'm mistaken, ARM C 6 also seems to insist on having that /bin in the path.

Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-360

No configuration is needed if you set Arm GCC into your path

I would not prefer to have them in the path, if you need to use multiple versions of the compilers - it's easier just to use mbed config rather than modify the path.

Btw, all these are in documentation:
https://os.mbed.com/docs/mbed-os/v5.14/tools/manual-installation.html
If you check the example table, GCC and Armc6 both have /bin at the end.

As this is covered by the documentation I'm closing.....


Documentation/dev: Add documentation for copying host binaries to a metering container to help debugging.

I've been using this locally for a while now but thought there was some value in documenting this in the debugging metering installation guides.

/lgtm

/override ci/prow/metering-e2e-aws


Tweaks for FOSDEM demo

Various tweaks for FOSDEM demo:

Use local git server
Use local registry
Add drenv suspend and resume commands
Extend kubevirt certificates lifetime
Extend cdi certificates lifetime
Move cdi insecure registry config to kustomization

Based on #1140

Not needed now, replaced by #1213


Parser_For_Property

What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

[FE PR Coverage Check]
:disappointed: fail : 37 / 64 (57.81%)
file detail

path
covered line
new line
coverage
not covered line detail

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
0
2
00.00%
[325, 329]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
0
16
00.00%
[220, 222, 223, 224, 225, 227, 232, 233, 236, 238, 239, 240, 241, 242, 243, 245]

:large_blue_circle:
com/starrocks/analysis/SetUserPropertyStmt.java
3
5
60.00%
[50, 89]

:large_blue_circle:
com/starrocks/sql/analyzer/SetUserPropertyAnalyzer.java
5
7
71.43%
[10, 17]

:large_blue_circle:
com/starrocks/sql/analyzer/ShowUserPropertyAnalyzer.java
5
7
71.43%
[9, 14]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
13
15
86.67%
[1853, 1854]

:large_blue_circle:
com/starrocks/analysis/ShowUserPropertyStmt.java
7
8
87.50%
[125]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
4
4
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 46 / 64 (71.88%)
file detail

path
covered line
new line
coverage
not covered line detail

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
0
2
00.00%
[325, 329]

:large_blue_circle:
com/starrocks/sql/analyzer/PrivilegeChecker.java
8
16
50.00%
[222, 225, 227, 233, 239, 240, 243, 245]

:large_blue_circle:
com/starrocks/sql/analyzer/SetUserPropertyAnalyzer.java
5
7
71.43%
[10, 17]

:large_blue_circle:
com/starrocks/sql/analyzer/ShowUserPropertyAnalyzer.java
5
7
71.43%
[9, 14]

:large_blue_circle:
com/starrocks/analysis/SetUserPropertyStmt.java
4
5
80.00%
[89]

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
13
15
86.67%
[1853, 1854]

:large_blue_circle:
com/starrocks/analysis/ShowUserPropertyStmt.java
7
8
87.50%
[125]

:large_blue_circle:
com/starrocks/sql/analyzer/Analyzer.java
4
4
100.00%
[]

run starrocks_admit_test


Make authN-authZ a top folder under GenAIInfra

To make this authN-authZ  support for broad Kubernetes scope, let's move this a top folder under GenAiInfra

Thank you @Ruoyu-y for addressing this issue!


Test array as a return type from variable

Something like:
@variable(array=True)
def my_variable:
    return <array_with_len_as_proj_len>

to check if it helps with speed improvement?

feature/array


chore: cleanup of mergeSort'

This PR removes the old mergeSort' in Mathlib (which was not a stable sort algorithm), replacing all uses with the stable mergeSort from Lean, mostly preserving the API.

bors merge

bors merge


token-swap: Swap fee calculation only assessed on returned token

Problem
This could actually be a desired feature.  According to the uniswap fee calculation https://hackmd.io/@HaydenAdams/HJ9jLsfTz#ETH-⇄-ERC20-Trades, the fee is assessed from the token being put in.  For example, if you are interacting with an A to B token swap, you are putting in 1 A and expecting some amount of B.  When calculating the fee, uniswap takes out the fee from the 1 A being put in, and gives the equivalent B token from (1 - fee), essentially "spreading" the fee across both sides of the liquidity pool.
In our implementation, we put the 1 A in full into the A liquidity, and then we assess the fee entirely on B.  The overall effect on the pool value is the same, but when we withdraw from the pool, the gains from fees are slightly unbalanced.
Solution
Update the swap fee calculation to line up with uniswap

After working through an example for A: 10 and B: 500, fee of 1%, and putting in 1 A to get B the difference is really tiny:

Current calculation: pool afterwards is A: 11 B: 455, received 45
Uniswap calculation: pool afterwards is A: 11, B: 454.95, received 45.05
No fees: pool aftewards is A: 11, B: 454.5, received 45.5


fix: missing package and language parameter was not used

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enhancement Request

Thank you so much for putting this out there - very awesome!
I was wondering if you could provide some guidance for how to enhance this to control flow navigation rather than launch the flow as a modal?
I am struggling with getting the lwc wired up to control the flows next/finish navigation and was worried it may just not be possible?
Thanks again for providing this and appreciate any help you may be able to offer :).

hi,
thank you, its my pleasure.
I wonder do you need it as lwc? if you're ok doing it with aura, i think you can use this resource where you can do basically the same thing.

Ah i see, i dont think there's a way to convert it to lwc. Based on your specification, it should be possible to do the same thing with lwc. We just need to put a platform event listener on the js and trigger navigation in case an event received. I may be able to take a look at it this weekend, will let you know how it goes

Hi sorry im late a week for this.
I created a writing based on my understanding about your problem https://munawirrahman.medium.com/auto-navigate-screen-flow-with-platform-event-salesforce-c4ac943e416e
hope that solves your issue.
thanks


starship: 0.52.1 -> 0.53.0

Motivation for this change
package update
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 121456 run on x86_64-darwin 1

Result of nixpkgs-review pr 121456 run on x86_64-linux 1

https://github.com/starship/starship/releases/tag/v0.53.0
Leaving this open in case the maintainers want to validate


Document the enable_net job config option

Was introduced by packit/packit#1504.

/o\ now we have TODO item for this /o/
sounds like Friday for me


[FIX #4578] False positive of sprintf in Lint/FormatParameterMismatch

Fixes issue #4578  with the following code:
format('%*.*f', 10, 2, 10.9999)
Without this fix Lint/FormatParameterMismatch would return error:

Number of arguments (3) to format doesn't match the number of fields (2).

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

Done. Updated the code. Thanks for the feedback.

Yes. And some comment explaining the behavior of the method.
On Mon, Jul 10, 2017 at 05:22 Sergii Makagon<EMAIL_ADDRESS>wrote:

@smakagon commented on this pull request.
In lib/rubocop/cop/lint/format_parameter_mismatch.rb
https://github.com/bbatsov/rubocop/pull/4580#discussion_r126325416:

@@ -136,7 +136,11 @@ def expected_fields_count(node)
.source
.scan(FIELD_REGEX)
.reject { |x| x.first == PERCENT_PERCENT }

       .reduce(0) { |acc, elem| acc + (elem[2] =~ /\*/ ? 2 : 1) }

       .reduce(0) { |acc, elem| acc + arguments_for_wildcard(elem[2]) }

   end

   def arguments_for_wildcard(format)

@bbatsov https://github.com/bbatsov would arguments_count be better
then? because this method returns number of arguments that we expect to get
from each % placeholder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bbatsov/rubocop/pull/4580#discussion_r126325416, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGVyiQOf95RuHhGMvUiyYKRVd-Em5rWks5sMYregaJpZM4ORM2s
.

--
Best Regards,
Bozhidar Batsov
http://www.batsov.com

@bbatsov I've renamed method and removed unused code. Should look better now.


Added command translations for polish

For #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[ ] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: pypros sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @brettcannon,
I hope you are right person Brett. Could you help me deliver my firsts commits to repo? What I did wrong?
Br
Łukasz

@pypros LGTM! We're just having some CI instability which is why you see the failures.

How to rerun this tests?

I've asked on Twitter for feedback on the translation to help make sure we have the best Polish translation possible. 😄

For my point of me great idea. :)

@soltysh thank you very much :)

@soltysh Did I do it right? I asking about squash all my git commits. After squash I used +master and force push only on my branch without "--force" for all repo. If something did wrong I have copy on my laptop. Can you confirm it?

@soltysh Did I do it right? I asking about squash all my git commits. After squash I used +master and force push only on my branch without "--force" for all repo. If something did wrong I have copy on my laptop. Can you confirm it?

lgtm

Fixes are done after review @programmer04 .

Ok, if everybody approved my changes what is next @brettcannon? What I have to do now for push my brunch to master?

Thanks everyone for this! This will be included in the 2019.3/March release of the extension!


Warning: a promise was created in a handler but not returned from it

I'm tryout out knex and migrations for the first time, and I'm getting a few of those after I run migrate:latest:
Warning: a promise was created in a handler but was not returned from it
    at Runner.ensureConnection (/Users/Svilen/Development/testapp/node_modules/knex/lib/runner.js:156:26)
    at Runner.run (/Users/Svilen/Development/testapp/node_modules/knex/lib/runner.js:29:31)
    at QueryBuilder.Target.then (/Users/Svilen/Development/testapp/node_modules/knex/lib/interface.js:26:43)
    at Migrator._isLocked (/Users/Svilen/Development/testapp/node_modules/knex/lib/migrate/index.js:201:76)
    at /Users/Svilen/Development/testapp/node_modules/knex/lib/migrate/index.js:217:23
    at /Users/Svilen/Development/testapp/node_modules/knex/lib/transaction.js:42:18
From previous event:
    at /Users/Svilen/Development/testapp/node_modules/knex/lib/transaction.js:36:8
From previous event:
    at new Transaction (/Users/Svilen/Development/testapp/node_modules/knex/lib/transaction.js:29:27)
    at Client.transaction (/Users/Svilen/Development/testapp/node_modules/knex/lib/client.js:118:12)
    at Function.transaction (/Users/Svilen/Development/testapp/node_modules/knex/lib/util/make-knex.js:60:21)
    at Migrator._getLock (/Users/Svilen/Development/testapp/node_modules/knex/lib/migrate/index.js:216:24)
    at Migrator._runBatch (/Users/Svilen/Development/testapp/node_modules/knex/lib/migrate/index.js:241:19)
    at /Users/Svilen/Development/testapp/node_modules/knex/lib/migrate/index.js:74:25
    at tryOnImmediate (timers.js:534:15)
    at processImmediate [as _immediateCallback] (timers.js:514:5)
From previous event:
    at /Users/Svilen/Development/testapp/node_modules/knex/lib/migrate/index.js:73:12
From previous event:
    at Migrator.rollback (/Users/Svilen/Development/testapp/node_modules/knex/lib/migrate/index.js:69:28)
    at Command.<anonymous> (/Users/Svilen/Development/testapp/node_modules/knex/lib/bin/cli.js:114:37)
    at Command.listener (/Users/Svilen/Development/testapp/node_modules/commander/index.js:301:8)
    at emitTwo (events.js:100:13)
    at Command.emit (events.js:185:7)
    at Command.parseArgs (/Users/Svilen/Development/testapp/node_modules/commander/index.js:615:12)
    at Command.parse (/Users/Svilen/Development/testapp/node_modules/commander/index.js:458:21)
    at Liftoff.invoke (/Users/Svilen/Development/testapp/node_modules/knex/lib/bin/cli.js:145:13)
    at Liftoff.<anonymous> (/Users/Svilen/Development/testapp/node_modules/liftoff/index.js:193:16)
    at module.exports (/Users/Svilen/Development/testapp/node_modules/flagged-respawn/index.js:17:3)
    at Liftoff.<anonymous> (/Users/Svilen/Development/testapp/node_modules/liftoff/index.js:185:9)
    at /Users/Svilen/Development/testapp/node_modules/liftoff/index.js:159:9
    at /Users/Svilen/Development/testapp/node_modules/v8flags/index.js:108:14
    at /Users/Svilen/Development/testapp/node_modules/v8flags/index.js:36:12
    at /Users/Svilen/Development/testapp/node_modules/v8flags/index.js:47:7
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    at Function.Module.runMain (module.js:449:11)
    at startup (node.js:146:18)
    at node.js:404:3

Here's my package.json:
{
  "name": "testapp",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "start": "node app.js",
    "dev": "DEBUG=testapp:* nodemon app.js",
    "migrate:make": "knex migrate:make",
    "migrate:latest": "knex migrate:latest",
    "migrate:rollback": "knex migrate:rollback"
  },
  "dependencies": {
    "bcryptjs": "^2.3.0",
    "body-parser": "^1.15.1",
    "connect-flash": "^0.1.1",
    "connect-session-knex": "^1.0.22",
    "conveyor-belt": "^1.0.0",
    "cookie-parser": "^1.4.1",
    "csurf": "^1.8.3",
    "debug": "^2.2.0",
    "express": "^4.13.4",
    "express-handlebars": "^3.0.0",
    "express-session": "^1.13.0",
    "knex": "^0.11.1",
    "morgan": "^1.7.0",
    "pg": "^4.5.5",
    "serve-favicon": "^2.3.0"
  },
  "devDependencies": {
    "debug": "^2.2.0",
    "nodemon": "^1.9.1"
  }
}

And the migration I've created:
exports.up = function(knex, Promise) {
  return Promise.all([
    knex.schema.createTable('users', function (table) {
      table.increments()
      table.string('name')
      table.timestamps()
    })
  ])
};

exports.down = function(knex, Promise) {
  return Promise.all([
    knex.schema.dropTable('users')
  ])
}

I also tried returning a Promise from knex.schema directly after I call createTable but that didn't make a difference. Any ideas what might be the problem? Thanks!

Could be related to petkaantonov/bluebird/issues/482.

Reverting back to<EMAIL_ADDRESS>removes the warnings, so it's probably related to the Bluebird upgrade done for<EMAIL_ADDRESS>

@svileng Hm. Sounds like the fix @bendrucker applied is not appropriate for the newer version of Bluebird.
What do you think @wubzz?

Using last version and receiving warnings but still working.

I'm experiencing the same bug, and fixed it temporarily by switching to v0.10.0 also.

I believe this can be closed out when the next release occurs (currently 0.12.5)


get permissions for Screen Capture

I want to use screen sharing in okadash.
It may enable use this plugin.
https://www.npmjs.com/package/mac-screen-capture-permissions

Go Bold !


Update CMake and cpp files to fix the compilation on newer MSVC compi…

Update CMake and cpp files to fix the compilation on newer MSVC compilers

Add proper flags on when building on Windows.
Remove all dependencies on Boost for the core CPP QuickCheck project. Also add an option to use Boost.
Modernize some of the CMake infrastructure to use targets and target properties.
Add type trait machinery to determine the correct type to use for std::uniform_int_distribution based on the standard.
Fix non-standard call to std::time.

No problem, I am glad to help out if I can. I am currently experimenting with property-based testing in C++ and I will definitely make sure to make other pull requests or open issues for discussion, if I come across something else.


More sounds

Not totally sure on this, but looking at the other examples in here it seemed to make sense?
https://user-images.githubusercontent.com/62521371/176899086-893c33ff-9516-4831-949c-abfd48e907b4.mp4

Main reason im doing so is because it is directly linked with how vanilla triggers sounds.
Couldnt seem to do so with packets for sounds, and this was the cleanest way of having a non scuffed way of it

I want a solution that isn't so boilerplatey. Delaying this until we figure out the action graph. If there are some immediate benefits, let me know of them and we can find an alternative in the meantime


The removal of Slice breaks rust-postgres

https://github.com/sfackler/rust-postgres/issues/817

Oh sorry, I thought it was safe but actually not. I'll yank the version and published it as 0.10.

Thanks!

Okay, yanked the previous version and published v0.10.0. Thanks for reporting!


this.slow() doesn't work in describe callbacks like this.timeout

describe('a', function() {
  this.timeout(5000);
  this.slow();

  it('1', function(cb) {
    setTimeout(cb, 3000);
  });

  it('2', function(cb) {
    this.slow(); // just for contrast with test 1
    setTimeout(cb, 3000);
  });
});

If I understand the docs correctly, I expect neither of the tests to timeout or have slow warnings because they're both covered by this.timeout and this.slow calls in the describe section. Neither of the tests timeout, but the first test (not covered by its own redundant this.slow) has a slow warning still:
  a
    ✓ 1 (3008ms)
    ✓ 2

  2 passing (6s)

mocha version 2.5.3

this.slow() doesn't do anything except return the current setting.  You'll need to give it a parameter.

I'm confused because in test 2, calling this.slow() causes it to not show the slow warning without a parameter given. Removing it causes this output:
  a
    ✓ 1 (3006ms)
    ✓ 2 (3001ms)

  2 passing (6s)

OK, thanks.  that's a bug.  this is mostly for my benefit, but the explanation:
Runnable.prototype.slow = function(ms) {
  if (!arguments.length) {
    return this._slow;
  }
  if (typeof ms === 'string') {
    ms = milliseconds(ms);
  }
  debug('timeout %d', ms);
  this._slow = ms;
  return this;
};

When you call this.slow() from a test, it calls this:
Context.prototype.slow = function(ms) {
  this.runnable().slow(ms);
  return this;
}

If the latter function is called without a parameter, Runnable.prototype.slow() will have arguments equal to [undefined].  The fix is to test ms explicitly.


Hide ToDictionary() in net8+

This PR updates ToDictionary() to be hidden on net8, since the BCL has added a duplicate method.
Depends on #1039
Fixes #1012
Relates to #945

Now that #1041 is merged with 9a4ea61, can we resolve the conflicts so there's a smaller diff to review? Thanks!

Done!


test_features_seed1.npy

Hello,
I have downloaded "features_seed1.npy" from the provided link, however, the code also needs "test_features_seed1.npy" to run. Could you let me know where can I download it?
Thanks

Hi,
We just added the test features and you can now find them in here:
https://github.com/avihu111/TypiClust/blob/main/USAGE.md
Alternatively, you can train SimCLR (see representation learning section in USAGE) and extract the features.
Feel free to re-open this issue if you need something else.
Thanks!


metrics are not getting created due to ResourceAlreadyExists Error

http://paste.openstack.org/show/607744/
Apr 24 14:02:42 controller collectd[19953]: Unhandled python exception in write callback: ResourceAlreadyExists: Resource a1440f58-3262-52c3-a2fd-59fc1167f7c7 already exists (HTTP 409)
Apr 24 14:02:42 controller collectd[19953]: Traceback (most recent call last):
Apr 24 14:02:42 controller collectd[19953]:  File "/usr/lib/python2.7/site-packages/collectd_gnocchi/init.py", line 103, in write#012    self.flush(0, None)
Apr 24 14:02:42 controller collectd[19953]:  File "/usr/lib/python2.7/site-packages/collectd_gnocchi/init.py", line 148, in flush#012    "host": host,
Apr 24 14:02:42 controller collectd[19953]:  File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/resource.py", line 98, in create#012    data=jsonutils.dumps(resource)).json()
Apr 24 14:02:42 controller collectd[19953]:  File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/base.py", line 41, in _post#012    return self.client.api.post(*args, **kwargs)
Apr 24 14:02:42 controller collectd[19953]:  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 223, in post#012    return self.request(url, 'POST', **kwargs)
Apr 24 14:02:42 controller collectd[19953]:  File "/usr/lib/python2.7/site-packages/gnocchiclient/client.py", line 38, in request#012    raise exceptions.from_response(resp, method)
Apr 24 14:02:42 controller collectd[19953]: ResourceAlreadyExists: Resource a1440f58-3262-52c3-a2fd-59fc1167f7c7 already exists (HTTP 409)
Whenever collectd is trying to create metrics getting resource already exists error.
http://paste.openstack.org/show/607760/
gnocchi resource-type list
+----------------------------+-------------------------------------------------------------------------------------+
| name                       | attributes                                                                          |
+----------------------------+-------------------------------------------------------------------------------------+
| ceph_account               |                                                                                |
| collectd                   | - host: min_length: 0 , max_length: 255 , type: string , required: True             |
| generic                    |                                                                                |
| host                       | - host_name: min_length: 0 , max_length: 255 , type: string , required: True        |
| host_disk                  | - host_name: min_length: 0 , max_length: 255 , type: string , required: True        |
|                            | - device_name: min_length: 0 , max_length: 255 , type: string , required: False     |
| host_network_interface     | - host_name: min_length: 0 , max_length: 255 , type: string , required: True        |
|                            | - device_name: min_length: 0 , max_length: 255 , type: string , required: False     |
| identity                   |                                                                                |
| image                      | - container_format: min_length: 0 , max_length: 255 , type: string , required: True |
|                            | - disk_format: min_length: 0 , max_length: 255 , type: string , required: True      |
|                            | - name: min_length: 0 , max_length: 255 , type: string , required: True             |
| instance                   | - image_ref: min_length: 0 , max_length: 255 , type: string , required: False       |
|                            | - host: min_length: 0 , max_length: 255 , type: string , required: True             |
|                            | - display_name: min_length: 0 , max_length: 255 , type: string , required: True     |
|                            | - flavor_id: min_length: 0 , max_length: 255 , type: string , required: True        |
|                            | - server_group: min_length: 0 , max_length: 255 , type: string , required: False    |
| instance_disk              | - instance_id: required: True , type: uuid                                          |
|                            | - name: min_length: 0 , max_length: 255 , type: string , required: True             |
| instance_network_interface | - instance_id: required: True , type: uuid                                          |
|                            | - name: min_length: 0 , max_length: 255 , type: string , required: True             |
| ipmi                       |                                                                                |
| network                    |                                                                                |
| stack                      |                                                                                |
| swift_account              |                                                                                |
| volume                     | - display_name: min_length: 0 , max_length: 255 , type: string , required: False    |
+----------------------------+-------------------------------------------------------------------------------------+
]# gnocchi resource list | grep collectd
| a1440f58-3262-52c3-a2fd-59fc1167f7c7 | collectd                   | None                             | None                             | collectd:controller.novalocal                                        | 2017-04-24T16:04:08.914698+00:00 | None     | 2017-04-24T16:04:08.914712+00:00 | None         |

This looks weird, it seems that the call to self.g.metric.batch_resources_metrics_measures fails but not because the resource does not exist.
I don't understand how you can get "BadRequest: Resource type does not exist" when posting measures.

I am using stable Ocata code base

That does not mean anything, there's no "Ocata" of Gnocchi. Is it 3.0? 3.1? Did you make any chance to the code base?


BB-36

Fix slurm issues #942 and #941

Thank you for the updates. I will run some tests to confirm.

Dear @sgaosdgr
I upgraded packages to 23.11.8. Please be careful when migrating slurm database, its always best to backup it before a major upgrade.
I also removed tcp debug in ipxe, since its not needed anymore.
Note that if you are using ubuntu or debian, I switched to DEB native packages (slurm DEB support was introduced in 23.11), I will update the slurm role soon to match new packages names. This has no impacts on RHEL.
Last note, are you interested in slurmrestd ? Its HTTP REST API. I can easily add it in packages builder steps.


Cannot import CSV with newlines at the end

Description
Cannot import CSV with newlines at the end
(A user reported that this is what they get on export. I was not able to reproduce this. However I was able to reproduce the error upon import.)
Edit: It seems like spreadsheet apps like Excel add newlines at the end of the file by default.
Environment

Browser: Firefox
Wallet: MetaMask
Safe: -
Environment:

production (mainnet) 3.12.0

Steps to reproduce

Import the following csv
gnosis-safe-address-book-2021-08-16t.csv

Expected result
no error
Obtained result

Marking as major since the power of this address book feature is that people can maintain shared address books, managed via external apps.


Project Multiple Import - Show All services - Assign Project Manager according to Custom logic

Problem -
Currently user can only see Services who have project manager,
User wants to create Projects from here for All Services
Project Manager Logic-

Copy Last Project if Possible
Then Service Managers
else Owner
Or System will find someone, from own logic

Technical -
This was not initially supported, as this module is for New Companies
But some companies still use this as a regular practice
but to ease load Service managers was coming directly to Project instead of searching Last Project and other Logics
Adding Too much of Logic will impact speed to system, we have provided this logic to standard Project Create Method, we wanted to encourage user to use other methods, so this was limited at first, allowing only 500 Projects at a time, but that too removed ,
now 5000 projects getting created will give more problems
All user will use this feature to create Project instead of other methods
No doubt that this will impact Speed of Project Creation, and i need to create other mitigation for no of project handling for system

We do take price from Other Automated Method,
I remember @vinpahilwani stated this should be free as it is triggered by user
So revenue will hit too if this is becomes regular usage

chahiye

After discussion over phone @vinpahilwani
We agreed on

New Company will get this feature as free for 1 month from Create Date
All other Project after grace period (1 month), projects will be charged as same rate as Scheduled Project

Pricing is still need to be developed
I will create new Issue for that

This is issue is solved in terms of giving custom Login in Project Import logic
#1738 Start Pricing Issue for above requirement


[NEW ALGORITHM] Pick From Both Sides

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM] Pick From Both Sides
About:
Proposing a new algorithm to maximize the sum of elements removed from either end of an array after a specified number of operations.

Detailed Problem Description:
You are given an integer array A of size N. You must perform B operations, where in each operation you can remove either the leftmost or the rightmost element of the array. The objective is to find and return the maximum possible sum of the B elements removed after these operations.
Constraints:

1 <= N <= 10^5
1 <= B <= N
-10^3 <= A[i] <= 10^3

Sample Input:
2 5 -2 3 1 2 3 2 3 -1 4 2 1 4
Sample Output:
8 9
Explanation:

For the first case, by removing 5 from the front and 1 and 2 from the back, the sum is 5 + 1 + 2 = 8.
For the second case, removing 2 from the front and 4, 2, and 1 from the back gives the sum 2 + 4 + 2 + 1 = 9.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1
Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

Sample Output:

@pankaj-bind I want to work on this issue. Assign it to me


Where can I download the sample rosbag dataset?

I want to reproduce the sample demo in my own PC,but I can't find the correct rosbag dataset.
So  where I can download the DataSet?

I think ,
http://db3.ertl.jp/autoware/sample_data/sample_moriyama_150324.tar.gz
isn't it ?
It is described in
https://github.com/CPFL/Autoware/blob/1.1.2/docs/jp/autoware-quickstart.pdf


Required field "querySpec" not provided (not @optional)

Recently my vCenter + ESXi host eval licence ran out, which caused them to get disconnected from vCenter. Fixed that up, but ever since then vmware_exporter seems to fail the collection.
Going to to metrics page just returns
# Collection failed
Stack trace from the logs:
`/usr/local/lib/python3.6/site-packages/yamlconfig.py:63: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for
full details.
config = yaml.load(self.infile)
2019-08-26 19:30:57,754 INFO:Starting web server on port 9272
2019-08-26 19:31:05,475 INFO:Start collecting metrics from <IP_ADDRESS>
2019-08-26 19:31:05,475 INFO:Starting vm metrics collection
2019-08-26 19:31:05,475 INFO:Fetching vim.VirtualMachine inventory
2019-08-26 19:31:05,477 INFO:Retrieving service instance content
2019-08-26 19:31:05,480 INFO:START: _vmware_get_vm_perf_manager_metrics
2019-08-26 19:31:05,480 INFO:Fetching vim.Datastore inventory
2019-08-26 19:31:05,482 INFO:Starting host metrics collection
2019-08-26 19:31:05,482 INFO:Fetching vim.HostSystem inventory
2019-08-26 19:31:05,587 INFO:Retrieved service instance content
2019-08-26 19:31:06,258 INFO:Fetched vim.VirtualMachine inventory (0:00:00.782616)
2019-08-26 19:31:06,270 ERROR:Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 845, in _async_render_GET
yield self.generate_latest_metrics(request)
twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#0, [Failure instance: Traceback: <class 'TypeError'>: Required field "querySpec" not provided (not @optional)
/usr/local/lib/python3.6/threading.py:916:_bootstrap_inner
/usr/local/lib/python3.6/threading.py:864:run
/usr/local/lib/python3.6/site-packages/twisted/_threads/_threadworker.py:46:work
/usr/local/lib/python3.6/site-packages/twisted/_threads/_team.py:190:doWork
---  ---
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:250:inContext
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:266:
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:122:callWithContext
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:85:callWithContext
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:706:
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:511:_InvokeMethod
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:1041:CheckField
]]
---  ---
/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:602:_vmware_get_vm_perf_manager_metrics
/usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py:99:parallelize
]]
2019-08-26 19:31:06,290 INFO:Fetched vim.HostSystem inventory (0:00:00.807913)
2019-08-26 19:31:06,292 INFO:Fetched vim.Datastore inventory (0:00:00.810835)
2019-08-26 19:31:06,382 INFO:Finished vm metrics collection
2019-08-26 19:31:06,382 INFO:Finished host metrics collection
2019-08-26 19:31:10,476 INFO:Start collecting metrics from <IP_ADDRESS>
2019-08-26 19:31:10,476 INFO:Starting vm metrics collection
2019-08-26 19:31:10,477 INFO:Fetching vim.VirtualMachine inventory
2019-08-26 19:31:10,477 INFO:Retrieving service instance content
2019-08-26 19:31:10,480 INFO:START: _vmware_get_vm_perf_manager_metrics
2019-08-26 19:31:10,480 INFO:Fetching vim.Datastore inventory
2019-08-26 19:31:10,481 INFO:Starting host metrics collection
2019-08-26 19:31:10,481 INFO:Fetching vim.HostSystem inventory
2019-08-26 19:31:10,603 INFO:Retrieved service instance content
2019-08-26 19:31:11,155 INFO:Fetched vim.VirtualMachine inventory (0:00:00.677780)
2019-08-26 19:31:11,165 ERROR:Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 845, in _async_render_GET
yield self.generate_latest_metrics(request)
twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#0, [Failure instance: Traceback: <class 'TypeError'>: Required field "querySpec" not provided (not @optional)
/usr/local/lib/python3.6/threading.py:916:_bootstrap_inner
/usr/local/lib/python3.6/threading.py:864:run
/usr/local/lib/python3.6/site-packages/twisted/_threads/_threadworker.py:46:work
/usr/local/lib/python3.6/site-packages/twisted/_threads/_team.py:190:doWork
---  ---
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:250:inContext
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:266:
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:122:callWithContext
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:85:callWithContext
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:706:
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:511:_InvokeMethod
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:1041:CheckField
]]
---  ---
/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:602:_vmware_get_vm_perf_manager_metrics
/usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py:99:parallelize
]]`
And then it just repeats for everytime a new request is sent in.
I've tried many things, I even made a read-only user in case the default admin user has issues (and because it's safer practice), but it still throws out the same error.

I need to know the versiosn and if you've followed the permission portion of the read me. I feel like something is missing in your connection configuration.
Sent from ProtonMail mobile
-------- Original Message --------
On Aug 26, 2019, 1:36 PM, davidlesicnik wrote:

Recently my vCenter + ESXi host eval licence ran out, which caused them to get disconnected from vCenter. Fixed that up, but ever since then vmware_exporter seems to fail the collection.
Going to to metrics page just returns
Collection failed
Stack trace from the logs:
`/usr/local/lib/python3.6/site-packages/yamlconfig.py:63: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for
full details.
config = yaml.load(self.infile)
2019-08-26 19:30:57,754 INFO:Starting web server on port 9272
2019-08-26 19:31:05,475 INFO:Start collecting metrics from <IP_ADDRESS>
2019-08-26 19:31:05,475 INFO:Starting vm metrics collection
2019-08-26 19:31:05,475 INFO:Fetching vim.VirtualMachine inventory
2019-08-26 19:31:05,477 INFO:Retrieving service instance content
2019-08-26 19:31:05,480 INFO:START: _vmware_get_vm_perf_manager_metrics
2019-08-26 19:31:05,480 INFO:Fetching vim.Datastore inventory
2019-08-26 19:31:05,482 INFO:Starting host metrics collection
2019-08-26 19:31:05,482 INFO:Fetching vim.HostSystem inventory
2019-08-26 19:31:05,587 INFO:Retrieved service instance content
2019-08-26 19:31:06,258 INFO:Fetched vim.VirtualMachine inventory (0:00:00.782616)
2019-08-26 19:31:06,270 ERROR:Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 845, in _async_render_GET
yield self.generate_latest_metrics(request)
twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#0, [Failure instance: Traceback: <class 'TypeError'>: Required field "querySpec" not provided (not @optional)
/usr/local/lib/python3.6/threading.py:916:_bootstrap_inner
/usr/local/lib/python3.6/threading.py:864:run
/usr/local/lib/python3.6/site-packages/twisted/_threads/_threadworker.py:46:work
/usr/local/lib/python3.6/site-packages/twisted/_threads/_team.py:190:doWork

/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:250:inContext
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:266:
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:122:callWithContext
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:85:callWithContext
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:706:
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:511:_InvokeMethod
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:1041:CheckField
]]

/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:602:_vmware_get_vm_perf_manager_metrics
/usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py:99:parallelize
]]
2019-08-26 19:31:06,290 INFO:Fetched vim.HostSystem inventory (0:00:00.807913)
2019-08-26 19:31:06,292 INFO:Fetched vim.Datastore inventory (0:00:00.810835)
2019-08-26 19:31:06,382 INFO:Finished vm metrics collection
2019-08-26 19:31:06,382 INFO:Finished host metrics collection
2019-08-26 19:31:10,476 INFO:Start collecting metrics from <IP_ADDRESS>
2019-08-26 19:31:10,476 INFO:Starting vm metrics collection
2019-08-26 19:31:10,477 INFO:Fetching vim.VirtualMachine inventory
2019-08-26 19:31:10,477 INFO:Retrieving service instance content
2019-08-26 19:31:10,480 INFO:START: _vmware_get_vm_perf_manager_metrics
2019-08-26 19:31:10,480 INFO:Fetching vim.Datastore inventory
2019-08-26 19:31:10,481 INFO:Starting host metrics collection
2019-08-26 19:31:10,481 INFO:Fetching vim.HostSystem inventory
2019-08-26 19:31:10,603 INFO:Retrieved service instance content
2019-08-26 19:31:11,155 INFO:Fetched vim.VirtualMachine inventory (0:00:00.677780)
2019-08-26 19:31:11,165 ERROR:Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py", line 845, in _async_render_GET
yield self.generate_latest_metrics(request)
twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback: <class 'twisted.internet.defer.FirstError'>: FirstError[#0, [Failure instance: Traceback: <class 'TypeError'>: Required field "querySpec" not provided (not @optional)
/usr/local/lib/python3.6/threading.py:916:_bootstrap_inner
/usr/local/lib/python3.6/threading.py:864:run
/usr/local/lib/python3.6/site-packages/twisted/_threads/_threadworker.py:46:work
/usr/local/lib/python3.6/site-packages/twisted/_threads/_team.py:190:doWork

/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:250:inContext
/usr/local/lib/python3.6/site-packages/twisted/python/threadpool.py:266:
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:122:callWithContext
/usr/local/lib/python3.6/site-packages/twisted/python/context.py:85:callWithContext
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:706:
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:511:_InvokeMethod
/usr/local/lib/python3.6/site-packages/pyVmomi/VmomiSupport.py:1041:CheckField
]]

/usr/local/lib/python3.6/site-packages/vmware_exporter/vmware_exporter.py:602:_vmware_get_vm_perf_manager_metrics
/usr/local/lib/python3.6/site-packages/vmware_exporter/defer.py:99:parallelize
]]`
And then it just repeats for everytime a new request is sent in.
I've tried many things, I even made a read-only user in case the default admin user has issues (and because it's safer practice), but it still throws out the same error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The vCenter is version 6.7.0, hosts are 6.5.0.
The yml config file:
default:     vsphere_host: "<IP_ADDRESS>"     vsphere_user: "[user]"     vsphere_password: "[pass]"     ignore_ssl: True     collect_only:         vms: True         vmguests: True         datastores: True         hosts: True         snapshots: True
Like I said everything was working perfectly until the eval license ran out and I applied an actual licence. Nothing else was changed.

So I seem to have fixed it.... Turns out that sometimes the simplest solutions are the ones that are most overlooked.
I restarted the vCenter Appliance and now vmware_exporter picks it up. I haven't modified anything else.
Seems like it has an issue with the license running out and then getting renewed and not being restarted.


OS version detection in TKG

For CRIU testing, we need OS version detection in TKG. The CRIU functional tests can only run on rhel8+, ub18+ and sles15+.
label example:
sw.os.rhel.8
sw.os.ubuntu.22
sw.os.sles.15

@renfeiw could you help with this? Thanks

rhel version:

ver=$(grep '^VERSION_ID' /etc/os-release | awk -F'=' ' gsub(/"/,"") { print $2}')
echo "$ver"

https://www.cyberciti.biz/faq/how-do-i-determine-rhel-version/

ubuntu: https://linuxize.com/post/how-to-check-your-ubuntu-version/
SLES: https://www.cyberciti.biz/faq/find-opensuse-suse-enterprisel-inux-version-command/

FYI @tajila


TCP Tests for Stratum

Hello All,
Apologies if this question sounds irrelevant and not so technical. With the provided guidelines I have completed the tasks upto Exercise 3 in the tutorial. I can carry out the UDP test at the end of it with the command  mininet>h2 iperf -c h3 -u -V -P5 -b1M -t600 -i1
But can't carry out TCP inside the xterm of h2 and h3 or with the change of command by removing the "u" from above. If you have any feedback or change of command please do let me know.
Thank you in advance.
Best wishes
OmeshF

When using iperf in TCP mode you need to start a server on the other end host. In your case, you can start a server on h3 with command iperf -s.


Workaround for v2 theme terminal backgrounds

fixes https://github.com/microsoft/vscode/issues/173475

@microsoft-github-policy-service agree [company="{your company}"]

@microsoft-github-policy-service agree

Thanks for the PR @dlschmidt. I've got a larger PR up at #173844 that switches all foreground colors—including those in this PR—to use solid colors. I'll close this in favor of that one.


Include GCC compilation flags

-Wall and -Werror compilation flag included

As we are working in C++ Could we use C++ style castin. See master: https://github.com/rdkcentral/Thunder/blob/master/Source/core/Services.cpp#L69 where it has already been fixed.
See: https://riptutorial.com/cplusplus/example/19819/c-style-casting for more info


Pink Petals Block Mappings

All is in the title ^^/.
It's a tiny PR ^^.

That's weird, I don't see why jobs failed...

Edit: I see why, shame on me.


add call to find users by keyword

See https://dev.xing.com/docs/get/users/find.
Let me know if I can improve anything!

:+1:


Fix #1231: improve WARN message for MeterRegistryConfiguration wrt invalid config value

What this PR does:
Improves warning message for config value validation by MeterRegistryConfiguration so that:

Invalid value is added in quotes (helps with things like empty Strings, non-numbers)
Removes inclusion of stack trace: in this particular case failure is from Double.parseDouble(), details of which do not seem useful (but can clog output logs) -- we already indicate that value is invalid and show that value.

Which issue(s) this PR fixes:
Fixes #12311
Checklist

[-] Changes manually tested -- covered by existing unit tests
[-] Automated Tests added/updated -- covered by existing unit tests
[-] Documentation added/updated -- does not change observed behavior from user perspective

Ready for review.


CMake Error at ../CMakeLists.txt:47 (add_library):

After rename Greeter in global and test CMakeList.txt I cant build it anymore.
CMake Error at ../CMakeLists.txt:47 (add_library):
Produced in test/CmakeList.txt
if(TEST_INSTALLED_VERSION)
...
else()
..
CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..)
..
endif()

Hey @Marco-Israel, thanks for opening the issue! As outlined in the Usage section of the readme, you need to replace all occurrences of "greeter" in the project, otherwise CMake cannot know which library to link the tests to for the project.


Add candate URL on Ballotpedia to DB

add the candates URL on Ballotpedia to the DB as a good way to match updates and control dups

PR #63


2.0 dropdown doesn't support anything but text in button

The dropdown here:
http://refills.netlify.com/
uses target.event to determine when to open the dropdown.   That means if you add an image (or any other html tag) within the to-be-clicked item, it won't open.   The target.event gives what was actually clicked on, not the item that was meant to be the opening event.
Even in your example page, try clicking on the little down arrow - it won't open since target.event is getting the span.
non-working example:

this works, but for only the text not in a span

   I am text not in another html element and work I won't work

The JS probably needs to be moved to use $(this), but I'm having problems trying to make it work myself (it's a little above my skill level).

@sgatz thanks! Does https://github.com/thoughtbot/refills/pull/439 take care of this for you? Those changes are updated on http://refills.netlify.com/#dropdown-snippets

@creuter Yep, that totally did the trick!  thanks for the fix.


[migrator] Upstream overlay3/4.json and associated tests

These being downstream only made them easy to break (and they did).
Resolves rdar://problem/41353459

@swift-ci please smoke test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - fe9ebcd90365982c35623fbe8afa3bd5f736291a

Build failed
Swift Test Linux Platform
Git Sha - fe9ebcd90365982c35623fbe8afa3bd5f736291a


Setting up a simple connection..

Greetings!
I apologize in advance for the sideways question, but you're one of the few people I can find that are continuing work on the XMPP side of League.
I'm trying to setup a basic connection to the chat servers. Here is what I've tried; http://pastie.org/private/qkpvx0jwl3ghclf246sg
However I'm stuck with two errors:
(1) org.jivesoftware.smack.SmackException$ConnectionException: The following addresses failed: chat.na2.lol.riotgames.com:5223 Exception: null
(2) Server did not report any SASL mechanisms
I should point out that I've tried both na1 and na2.
Again I apologize for contacting you here but I could not find an e-mail or anything else withwhich to do so. Any help is appreciated! Vielen Dank!
-Steve

I have done some further testing and moved to testing in Eclipse on my desktop rather than Android Developer Studio.
I downloaded your included JAR file and successfully ran it (verified by running through my friends, printing the names). However I did my best to replicate a simple connection based on your code, and I get an SASL error using the code here: http://pastie.org/private/naypfuktfypqqnwo8uquva
Tried enabling/disabling Compression and SecurityMode.
Relevant error:
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using PLAIN: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:348)
at org.jivesoftware.smack.tcp.XMPPTCPConnection.login(XMPPTCPConnection.java:244)
And the error line is connection.login()
Thanks again in advance for any help!

I believe it has to do with Smack (XMPP framework) not fully supporting
Android. A previous user told me that some classes were actually missing if
you would copy my source into a java project (the javax package). Smack
provides an artifact that should support Android:
http://mvnrepository.com/artifact/org.igniterealtime.smack/smack-android
Try adding this to your project.
2015-01-18 13:33 GMT+01:00 shadowwolf0189<EMAIL_ADDRESS>
I have done some further testing and moved to testing in Eclipse on my
desktop rather than Android Developer Studio.
I downloaded your included JAR file and successfully ran it (verified by
running through my friends, printing the names). However I did my best to
replicate a simple connection based on your code, and I get an SASL error
using the code here: http://pastie.org/private/naypfuktfypqqnwo8uquva
Tried enabling/disabling Compression and SecurityMode.
Relevant error:
org.jivesoftware.smack.sasl.SASLErrorException: SASLError using PLAIN:
not-authorized
at
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:348)
at
org.jivesoftware.smack.tcp.XMPPTCPConnection.login(XMPPTCPConnection.java:244)
And the error line is connection.login()
Thanks again in advance for any help!
—
Reply to this email directly or view it on GitHub
https://github.com/TheHolyWaffle/League-of-Legends-XMPP-Chat-Library/issues/14#issuecomment-70406645
.

I do indeed have it on there already, as I've talked with Flow (the developer of both Smack and aSmack), and he has confirmed that Smack 4.1 fully supports Android.
That said, I've talked with a maker of a League of Legends mobile app, and he said that he actually uses aSmack, a previous version, because of complications with Smack.
Thanks again for your help!

I have an Android app (rather ugly right now, but that's not the matter of concern) with a working version of the chat built on top of this library, and yes, I don't use the latest aSmack.
For reference, https://github.com/Stoyicker/LoLin1_old

I am, without a doubt, in love with you. After 3 days of thinking that my computer would look better thrown through my window, my problem is finally solved.
Best of luck to you in all your future endeavors, friend.

You're welcome. Also, quoting #6, for the sake of traceability mostly.


Master into Develop

Closes #
Changes proposed in this pull request:

Add new ONT tag set
Bump release

Instructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to main]
    - Check story numbers included
    - Check version

Closed in favour of develop into master


[KYUUBI #1009][FOLLOWUP] Hive delegation token sent from Kyuubi server is ignore by SQL engine

Why are the changes needed?
Hive delegation token sent from Kyuubi server is ignore by SQL engine
21/09/27 14:22:39 INFO operation.ExecuteStatement: Processing morty's query[5711be2b-1d2f-412a-a2e0-b52a5b0e0445]: RUNNING_STATE -> FINISHED_STATE, statement: show databases, time taken: 0.056 seconds
21/09/27 14:22:39 INFO spark.SparkThriftBinaryFrontendService: Ignore Hive token as engine has no Hive token ever before
21/09/27 14:22:39 INFO deploy.SparkHadoopUtil: Updating delegation tokens for current user.

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[x] Add screenshots for manual tests if appropriate

21/09/27 20:51:20 INFO operation.ExecuteStatement: Processing morty's query[652a9f74-4813-406c-a842-6fc8b61baaf1]: RUNNING_STATE -> FINISHED_STATE, statement: show databases, time taken: 0.05 seconds
21/09/27 20:51:20 INFO deploy.SparkHadoopUtil: Updating delegation tokens for current user.

[x] Run test locally before make a pull request

cc @yaooqinn @ulysses-you


Can't add/edit key name for key-auth plugin

Hi Konga Team,
When adding/editing Key-Auth plugin, I can't specify the key-name.
The specified the key-name remains empty.
But I can successfully add the key name if I use kong API (command line via curl)
Hope you can fix the bug
Thanks

Hello @zeldi,
Check out issue #9, you just need to press enter after every key you write so that the chip component takes it. This will be better commented.
Thanks for the feedback!

Hi Pantsel,
Thanks for your prompt response, you right I just need to press enter.
Yes. It would be helpful if you put a comment (to press enter) below the input box
Thanks again

[root@kong ~]# docker run --rm  --network=kong-net  pantsel/konga:latest -c prepare -a postgres -u postgres://konga@konga-database:5432/konga
debug: Preparing database...
Using postgres DB Adapter.
Failed to connect to DB { error: password authentication failed for user "konga"
at Connection.parseE (/app/node_modules/sails-postgresql/node_modules/pg/lib/connection.js:539:11)
at Connection.parseMessage (/app/node_modules/sails-postgresql/node_modules/pg/lib/connection.js:366:17)
at Socket. (/app/node_modules/sails-postgresql/node_modules/pg/lib/connection.js:105:22)
at Socket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (_stream_readable.js:269:11)
at Socket.Readable.push (_stream_readable.js:224:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
name: 'error',
length: 101,
severity: 'FATAL',
code: '28P01',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'auth.c',
line: '307',
routine: 'auth_failed' }


Ensure model generator checks for the presence of model name

What: Model generator takes empty model name param, which is well..wrong:
bundle exec lotus generate model
create  lib/boogie/entities/.rb
create  lib/boogie/repositories/_repository.rb
create  spec/boogie/entities/_spec.rb
create  spec/boogie/repositories/_repository_spec.rb

This PR is to ensure we exit if model name is not given

Closing in favor of #301. We'll credit the three of you in CHANGELOG. Thanks.


jasperreports pdf export encrypted Password Not Working

#JasperReportsIntegration Server Error:

#Development Property Add

Can you build a simple test case? Need more information.
Where and how did you enter those attributes? Are they part of the .jrxml file now?
It seems like a library is missing at runtime.

This library is marked as optional.
You can add it yourself.
You can:

unzip the war file: jar -xvf jri.war)
add the missing jar files to WEB-INF/lib/
zip again: jar -cvf jri.war *

Please upload a simple test case and/or describe in detail what I need to do to build a test case.
Also, if you find and integrate the lib successfully, please let me know, I can include it into future releases.

Add dependencies > build.gradle file
dependencies {
//https://mvnrepository.com/artifact/com.itextpdf/itextpdf/<IP_ADDRESS>
implementation group: 'com.itextpdf', name: 'itextpdf', version: '<IP_ADDRESS>'
}
@daust Thanks.

Please upload a simple test case and/or describe in detail what I need to do to build a test case

I still need that because I am not sure, your suggestion will work. We already have a special version of itext from the JasperReports library which is based on the license-friendly version.
So, I would rather need a test case ... so that I can make sure NOW and in the FUTURE, that everything works as expected.
So, once again ... please a testcase!

I have added the dependency and a sample report to the distribution and sample application: demo/encrypt-pdf

When you configure the following properties, you can use it in your report:
net.sf.jasperreports.export.pdf.encrypted=true
net.sf.jasperreports.export.pdf.128.bit.key=true
net.sf.jasperreports.export.pdf.user.password=123456
net.sf.jasperreports.export.pdf.owner.password=123456

This can be done through JasperSoftStudio by first selecting the report and then choosing "Advanced > Edit Properties":

Or you can add these properties directly into the .jrxml file:
	<property name="net.sf.jasperreports.export.pdf.encrypted" value="true"/>
	<property name="net.sf.jasperreports.export.pdf.128.bit.key" value="true"/>
	<property name="net.sf.jasperreports.export.pdf.owner.password" value="123456"/>
	<property name="net.sf.jasperreports.export.pdf.user.password" value="123456"/>


Add gene expression checking.

Need to look at expression of genes within given distance of a variant. Give user option to set distance to search for genes on each side of variant. Calculate a z-score for each sample with a variant compared to those without.

Added.


fixed small typo in readme

md link didn't render properly in example and it doesn't really make sense to link it to one available on the web - it is actually a bit confusing.
Motivation

Closes #

Changes

Test Plan

TODO

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

bors try

bors try

bors try

Yes, this is what I meant - it doesn't render properly in block code so I removed it...

bors merge