do property not found in object literal errors really help anyone?

Maybe this has been fixed since Flow 0.20.1 but...
/* @flow */

function createSelector(options: Object): Object {
  let selector = {
    beginTimestamp: {$lt: options.timeRange.end},
    endTimestamp: {$gt: options.timeRange.begin},
  };

  if (options.location && options.location !== 'all') {
    selector.location = options.location;
  }

  return selector;
}

$ flow status
react-sandbox/scratch/flowissues.js:10
 10:     selector.location = options.location;
                  ^^^^^^^^ property `location`. Property not found in
 10:     selector.location = options.location;
         ^^^^^^^^ object literal

Found 1 error

Seriously, how does this help?  I think this just wastes developer time.  Tacking new properties onto objects, or deleting properties, are valid JS operations and don't contradict the declared return type here, so what gives?
JS is dynamically typed, the MongoDB API is dynamically typed, and therefore tacking new properties onto objects (even deleting properties sometimes) will always remain convenient, more convenient than Flow trying to help prevent whatever could hypothetically go wrong, in my opinion.

Any idea how we can disable this type of warnings?

@oliviertassinari yes, you can do
let selector: Object = {
  ...
}

selector.hello = 'world'

I don't think the : Object should be necessary though.

This is problematic when defining an object separate from its variable declaration:
function handler(req, res) {
  let obj: Object;
  if (req.body) {
    obj = { a: 1 };
    if (req.body.whatever) {
      obj.b = 2;
/*
7:       obj.b = 2;
             ^ property `b`. Property not found in
7:       obj.b = 2;
         ^ object literal
*/
    }
  } else {
    throw new Error('missing request body');
  }

  res.send(obj);
}

https://flowtype.org/try/#0PTAEAEDMBsHsHcBQkCuA7AxgFwJazaABYCGaAJtAKYBOAFNZQI4A0oDAzgJSgDeiooKllCwARgCsAXKADyEytgDc-UDkih6TAHSjYZAJ7c+AgWPGgAvL1DFpARlABfZSdXrNjHXv1b4JLJQAbjRGKq5mOpagAEwuJo4qjqCU0OyUvGGgWITUCKBolPCgAKLUuXQA5AC2OOzsOGgA5mxMKJTswroGFZxxCQIqHFpp5LRmvYgJQA
Creating a clone of the object or defining a new temporary variable both work so this isn't a show-stopper but it is a scenario where the programmer has to adopt to Flow instead of the other way around, which Flow is generally so much better at than other systems.

@oliviertassinari These days I often just cast to Object when tacking new properties on:
  const selector = {
    beginTimestamp: {$lt: options.timeRange.end},
    endTimestamp: {$gt: options.timeRange.begin},
  }

  if (options.location && options.location !== 'all') {
    (selector: Object).location = options.location
  }

@ide you could do (obj: Object).b = 2

@jedwards1211 Thanks for the tips.

There are two options to deal with this problem:

explicit annotation:

const obj: { a: number, b?: string } = { a: 1 };
obj.b = 'foo';

We mark b as optional so it can be added later

unsealed object

const obj = {};
obj.a = 1;
obj.b = 'foo';

When you create an empty object it is "unsealed". This means that you can add any properties you want. This behaviour is not 100% safe, so one should be careful with it.

@vkurchatkin Okay, so in the case of my OP, the error is completely intentional and not going to change?

@jedwards1211 I agree, this behaviour is safe, pretty common, and ideally should be supported

you can also avoid having to explicitly annotate the entire object by pre-declaring the optional properties as undefined, but the catch is that you have to annotate those undefineds to widen them because they won't be allowed to be widened later:
Example
const x = {
  a: 'foo',
  b: (undefined: string | void),
  c: (undefined: string | void)
};
if (Math.random() > 0.5) {
  x.b = 'foo'; // ok
  x.c = 123; // error
}

I ran into an unusual manifestation of this problem recently where the same syntax would pass in one file but fail in another.
// Works in file A.jsx:

    this._infoBoxStyle.display = {
      [ActionStatus.FATAL]: 'block',
      [ActionStatus.WARNING]: 'block',
      [ActionStatus.RECOVERED]: 'none',
    }[this.props.appStatus];

//  Fails in file B.jsx:

    this._displayStatus = {
      [ActionStatus.FATAL]: error,
      [ActionStatus.WARNING]: error,
      [ActionStatus.RECOVERED]: good,
    }[this._status] || good;

// error:

125:     }[this._status] || good;
           ^^^^^^^^^^^^ property `Fatal`. Property not found in
121:     this._displayStatus = {
                               ^ object literal

// The fix:

    this._displayStatus = ({
      [ActionStatus.FATAL]: error,
      [ActionStatus.WARNING]: error,
      [ActionStatus.RECOVERED]: good,
    }: Object)[this._status] || good;  // https://github.com/facebook/flow/issues/1606

I copied and pasted the statement from A into B and it fails in B as well. I then copied the statement from B into A and it passes in A!
Anyone know why it would pass in one file but not another? Both files were just defining react components, not doing anything differently that I can discern.

@colinhunt I'm not sure that's related to my OP, because it doesn't involve adding new properties to objects created by object literals

The fix suggested by @jedwards1211 fixes this though. That's why I added it here.

@colinhunt yes, but that's just because Object is a very generic supertype, and casting to Object eliminates all shape type errors

Do you think I should create a new issue?

@colinhunt yes, but I think the issue might lie in the types of this._infoBoxStyle, this._displayStatus, this.props.appStatus, and this._status -- the syntax might be the same but there might be differences in the type defs for those variables.  You might want to ask the same question with that additional info on Stack Overflow first.  Or you're welcome to PM me with that.

So when I add a function to a prototype I must always cast it down to Object?
(Rx.Observable: Object).prototype.bufferIntervalCount = function (options, scheduler) { ... }

@memelet Yes that seems to be right.

IMO there really needs to be a configuration parameter for this, I'm using // $FlowFixMe whenever I add a field to an object literal.. When I want this behavior for an object, I use Object.seal().

so if I suppose to add custom fields to some errors, creating a class for same kind for error objects is better than just use err: Object?

We understand that this is not ideal coming from JavaScript, but this is the tradeoff we make in designing a type system for JavaScript. We will never be able to effectively type 100% of JavaScript as it would be way too expensive to think about every case and the type system may need to be looser and make less guarantees.
To fix the original issue, please refer to @vkurchatkin’s solutions which are what we recommend. If you have a specific case you would like to support please open a new issue.

I know this issue has been closed but in my opinion casting to generic Object is a poor fix for this that completely negates any advantages of flow. More often than not, even when assigning properties to an object, you want at least some properties guaranteed. In the original example, the OP listed beginTimestamp and endTimestamp as two such properties.
Rather than being all or nothing, I'd like to see a non-intrusive way to tell flow that other arbitrary properties can be set on this object, using spread operator without operand, for example:
interface FooBar {
    foo: number;
    bar: number;
}
interface FooBarBaz {
    foo: number;
    bar: number;
    ...
}
let object1: FooBar = { foo: 1, bar: 2};
let object2: FooBarBaz = { foo: 1, bar: 2};
object1.baz = 3; // error
object2.baz = 3; // no error


[New Unfold Widget] CheckboxMulitple

Django has a form widget to accept multiple values for the same name using forms.CheckboxSelectMultiple and forms.MultipleChoiceField. It would be great to have an unfold widget that replicates CheckboxSelectMultiple with unfold's switches that we can just import and plug into a MultipleChoiceField field
How to replicate it
The code for the form field
class ModelAdminForm(forms.ModelForm):
    payment_options = forms.MultipleChoiceField( choices=ChoiceList.choices, widget=forms.CheckboxSelectMultiple)

@admin.register(ObjectModel)
class ObjectModelAdmin(ModelAdmin):
    form = ModelAdminForm

For example: link or screenshot
Is it a third party application feature request?
No

Fixed in #721. New widget unfold.widgets.UnfoldAdminCheckboxSelectMultiple


How to set which files to watch or ignore?

How do I tell rust-analyzer which files to watch or ignore?
When I start Emacs it tells me there are more than 3000 files to watch.

As far as I understand it, this is a client issue -- emacs-lsp has a configuration that allows you to ignore files for watching, and otherwise it'll watch everything. See the emacs-lsp documentation.


Fix lint warnings

Disables the rules explicit-function-return-type and no-explicit-any which causes many warnings for the current codebase.
Expand linting to include root directory as well

 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: mathiasvr sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

👍 cool, works for me then - thanks!

Thanks @mathiasvr!


Roadmap for the 4.0 stable release

Do you have any estimate for when a stable release of 4.0 will happen ?

Hello,
Sadly no. I managed to get some work time for the project at the beginning of 2020 but the COVID19 and its economic effects have engulfed all of it.
I'll gather a list of issues and BC breaks that need to go in the 4.0 and build a milestone before the end of the week.

So I took some time and fixed/merged some things. Here's a list of blocking issues before the 4.0 is out: https://github.com/friendsoftwig/twigcs/issues?q=is%3Aopen+is%3Aissue+milestone%3A4.0.0

Twigcs 4.0.0 is now released: https://github.com/friendsoftwig/twigcs/releases/tag/v4.0.0


[docs] xlarge = extra-large

Changed the xlarge: on line 13 to extra-large, to be consistent with extra-small on line 13

@FarzadSole It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!


Split Image visualizer into Image/DepthImage/SegmentationImage

What

follow-up to #6644
Fixes #6548
Fixes https://github.com/rerun-io/rerun/issues/6660

Lots of copy & paste between the three visualizers left. Didn't want to remove it entirely to not make it too hard to have them diverge more in the future. But thanks to some clean-up passes it's not too bad (imho).

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[ ] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

the 2D view of the depth image visualizer still feels slightly strange to me

💯 felt the same about it!


Update generator to add ReactOnRails spec helper

Generator adds line to spec/rails_helper.rb so that running specs will
ensure assets are compiled.
Added more diagnostics for server rendering.
Calls to setTimeout and setInterval are not logged for server
rendering unless env TRACE_REACT_ON_RAILS is set to YES.
Other small changes to the generator including adding necessary npm
scripts to allow React on Rails to build assets.
npm modules updated for generator.
Updated all npm dependencies to latest.
Update to node 5.10.0 for CI
Change babel-runtime to be a peer dependency.

This change is

Changes Unknown when pulling e6a6526f4ec0cce0da16fa287aab4a0e51d43473 on add-rails-helper-to-generator into ** on master**.

Changes Unknown when pulling 42301a89710d8c7b18400de56dc8778c00d2d08a on add-rails-helper-to-generator into ** on master**.

lib/generators/react_on_rails/base_generator.rb, line 194 [r2] (raw file):
What about writing these out separately so they stack?

Comments from Reviewable

lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/containers/HelloWorld.jsx, line 14 [r2] (raw file):
I thought it was best practice to still use class syntax? I don't care much either way though, they both look good.

Comments from Reviewable

Changes Unknown when pulling b7b2ca425d47b5e8e83bec61504188eecd499246 on add-rails-helper-to-generator into ** on master**.

Review status: 0 of 19 files reviewed at latest revision, 2 unresolved discussions.

lib/generators/react_on_rails/base_generator.rb, line 194 [r2] (raw file):
Not sure what you mean by this.

lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/containers/HelloWorld.jsx, line 14 [r2] (raw file):
Linter requires this now. If no use of class stuff, then you have to change to SFC.

Comments from Reviewable

Changes Unknown when pulling fa16c9a3afe2dfd5de9d9edc61308b02ce7755c1 on add-rails-helper-to-generator into ** on master**.

lib/generators/react_on_rails/base_generator.rb, line 194 [r2] (raw file):
I just meant make these checks into two separate checks. So have the rails helper check separate from the spec helper check. It's fine as is thoughl

Comments from Reviewable

Reviewed 16 of 19 files at r1, 4 of 4 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable


sql problem !

hello. Thank you for this shell.
I'm using wso shell on metasploitable weak machine .  my weak machine has no mysql password ..I want to enter mysql database with wso shell but does not allow ..gives a warning like you have to enter the password ..there is no problem in an old wso-shell version. new problem with wso-shell versions ..
Can you fix this ?

try removing required in the line 1447 of the shell

@mlcHyAmRaNe    thank you.. it is working now


Pulling beta into main

Merge beta into main
Changes :
Bug Fixes

action: add token to checkout in update-changelog.yaml (20a51aa)
Regenerate composer.lock from PHP 7.4 (4d1eddd)

:tada: This PR is included in version 1.3.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


CSUB-1234: More prep work around self-hosted runners

Description of proposed changes

Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Megalinter unhappy, otherwise looks good

Unrelated to this PR. Introduced in #425 and will be fixed y @BradleyOlson64 as a follow up.


How to install on Windows?

Like the title @orbitalquark. README.md said as simple as copy to modules. But Makefile tells there is a dependency. Btw, I think I have to rename it from init.lua to something else isn't it? Which name? Why don't it has a suitable name from the beginning?

If you download a release, it contains all needed dependencies. Unless
you're running the nightly version of Textadept, I recommend you
download the module bundle released alongside Textadept. Releases from
this project are targeted at the nightly version and may not be
compatible with previous releases of Textadept.

I'm using nightly version of TextAdept. Official is stuck at 11.4 (GTK based). I don't like GTK. You switched to Qt is the reason I give TextAdept another try.

If you're using nightly, then use the latest release from the project
page. Is it not working?

If you're using nightly, then use the latest release from the project page. Is it not working?

The latest release was from 2020!

If you click on the "Releases" link, you'll see this note: "Latest
automated build (ignore github-actions' release date)"
I know it's an extra click, but it's there.


Remove uniqueItems: true from spec?

The OpenAPI yaml has uniqueItems: true in several places where lists of things are accepted/returned.
I don't know if it's too late in the day for this spec, but this field causes the TypeScript generator to use Sets for everything which it then can't serialize/deserialize properly because they have no JSON representation.
Can we remove this field?  It breaks code generation and if it's important, it could be in a validation layer instead of the serialisation layer.

@achingbrain apologies for missing this.
Yes, as long we relax API, should be fine to do this, especially if it makes code generation easier for you.
If still relevant, submit a PR –  to accept it + tag a patch release.


[BUG] Patch long message ack

Description of the bug
During detection, a large message was sometimes resent 2 times and create problem in the routing table. A patch was create to prevent this issue. Recently luos face the same problem in some configuration not only on large message. the bug come from an ack not receive by the sender. This problem will be solved by make the robus protocol more soft. Thias patch can be remove from the reception file
Thank you! Your issue will be reviewed by our admins.

Done in luos release 2.8.0


malformed (not enough spaces) transaction accepted

A transaction was submitted to gai which only had 1 space between the account and the value.
2018/03/14 * register individual
    ; timestamp:<PHONE_NUMBER>
    joestang:Assets -1 GULD
    joestang:Expenses:guld:register 1 GULD
    guld:Liabilities 1 GULD
    guld:Income:register:individual:joestang   -1 GULD

This transaction caused the following Ledger error:
Error: Only one posting with null amount allowed per transaction
Probably the issue was in the copy/paste process from the Telegram window to the GPG signing window.

Hi! This transaction was made when gai was down, so it was a copy paste from the example in guld.chat website.
Web Telegram
guldOS computer


remove Code School learning resource links

This commit removes links to Code School's Shaping Up With Angular.js course in advance of codeschool.com shutting down on June 1, 2018.

An analogous PR landed as #228, this one can be closed.


Hackathon - Barcelona 2023 Groups

Created new component for hackathon groups to cut down on the HTML markup that needs to be written for these pages.
WIP - can't get it to even build currently. Need to go and sleep, hoping that someone else can continue this effort 🙏🏻
[Edit]: Got it to work. Now I'm tired.
Outreach group meeting notes with group info here.

Sorry, I polluted this PR with a change in the linting config. Apologies for all the whitespace diff.


Ambiguous instructions for gyro calibration

The wiki states one should "Note the average gx/gy/gz values". Which one: "Uncalibrated gyro" or "Gyro"?
Reading the code it appears the Gyro value is what I should use as it's being averaged.
Uncalibrated gyro:  (0.0126754, 0.02474, -0.0195477)
Gyro:  (0.0143024, 0.0275528, -0.0213714)

I'd submit a PR, but I don't have access to write to the wiki.
Thanks for putting this together, I'm getting promising results!

Thanks for catching this. I clarified it in the wiki. Glad it is giving you promising results!


Basket. Refresh validation button

Refresh validation for all operations
Show shimmering while validation is in process

Status verification: ✅
What has been verified:

Refresh validation state
Show shimmering

Found during testing:

https://github.com/novasamatech/nova-spektr/issues/1927


can not read property 'button' of null

i do my demo just like drag-zoom-2.component.ts, but it also can not use.
function zoomed(this: SVGSVGElement) {
      let e: D3ZoomEvent<SVGSVGElement, any> = d3.event;
      d3G.attr('transform', e.transform.toString());
    }
...
if (this.parentNativeElement !== null) {
      d3ParentElement = d3.select(this.parentNativeElement);

      this.d3Svg = d3ParentElement.select<SVGSVGElement>('svg');
      this.d3Svg.attr('width', width + margin.left + margin.right);
      this.d3Svg.attr('height', height + margin.top + margin.bottom);

      d3G = this.d3Svg.append<SVGGElement>('g');
      d3G.attr('transform', 'translate(' + margin.left + ',' + margin.top + ')');

      let treeMap = d3.tree().size([height, width]);
      let nodes;
      nodes = d3.hierarchy(treeData, d => d.children);
      nodes = treeMap(nodes);

      let link = d3G.selectAll('.link')
        .data(nodes.descendants().slice(1))
        .enter()
        .append('path')
        .attr('class', 'link')
        .style('stroke', d => d['data']['level'])
        .attr('d', d => diagonal(d));

      let node = d3G.selectAll('.node')
        .data(nodes.descendants())
        .enter()
        .append<SVGGElement>('g')
        .attr('class', d => {
          return 'node' + (d['children'] ? ' node--internal' : ' node--leaf');
        })
        .attr('transform', d => 'translate(' + d['y'] + ',' + d['x'] + ')');

      node.append<SVGCircleElement>('circle')
        .attr('r', d => d['data']['value'])
        .style('stroke', d => d['data']['type'])
        .style('fill', d => d['data']['level']);

      node.append('text')
        .attr('dy', '.35em')
        .attr('x', d => {
          return d['children'] ? (d['data']['value'] + 4) * -1 : d['data']['value'] + 4;
        })
        .style('text-anchor', d => d['children'] ? 'end' : 'start')
        .text(d => d['data']['name']);

      this.d3Svg.call(d3.zoom<SVGSVGElement, any>()
        .scaleExtent([1 / 2, 8])
        .on('zoom', zoomed));
    }

my d3-ng2-service version: 2.0.0.
Thanks for help!

Could you kindly give me some more detail, where the error you experience is thrown. If it's compile time, please identify the line and complete TS error message. If it's runtime a more complete stacktrace that would allow me to understand where the error originated.
Preferably, if you have a repro-repo that I can look at to see if there is an issue arising from the d3-ng2-service, that would probably be the easiest.
My suspicion is that it might be related to d3.event somehow loosing a live-binding. I have seen this happen when d3-selection gets imported twice (e.g. through the d3 bundle and stand-alone as well.)

@tomwanzek
Here is my error message:
stack:"TypeError: Cannot read property 'button' of null\n    at SVGSVGElement.defaultFilter (webpack-internal:///../../../../d3-zoom/src/zoom.js:22:71)\n    at SVGSVGElement.mousedowned (webpack-internal:///../../../../d3-zoom/src/zoom.js:267:32)\n    at SVGSVGElement.eval (webpack-internal:///../../../../d3-ng2-service/node_modules/d3-selection/src/selection/on.js:29:16)\n    at ZoneDelegate.invokeTask (webpack-internal:///../../../../zone.js/dist/zone.js:398:31)\n    at Object.onInvokeTask (webpack-internal:///../../../core/esm5/core.js:4813:33)\n    at ZoneDelegate.invokeTask (webpack-internal:///../../../../zone.js/dist/zone.js:397:36)\n    at Zone.runTask (webpack-internal:///../../../../zone.js/dist/zone.js:165:47)\n    at SVGSVGElement.ZoneTask.invoke (webpack-internal:///../../../../zone.js/dist/zone.js:460:38)"
This happen when i click or mouse scroll the svg

As I suspected, your issue seems to boil down to how you import the D3 modules into your component.
The d3-ng2-demo is built using d3-ng2-service. So D3 gets injected as an Angular service. The way the service is built in turn and provisioning it in the "root" module ensures that the live binding to d3.event is maintained.
While you do not have to use the d3-ng2-service, as its D3 scope may be too wide/narrow for your application, the pattern how it is built is the only surefire way to ensure D3 modules that access d3.event will work consistently. I.e. follow the re-export barrel + Angular service pattern to integrate D3 into an angular project, whenever you need to use any of the following modules:

d3-selection
d3-transition
d3-brush
d3-drag
d3-zoom
d3-dispatch

For the other D3 modules you could simply import them into a D3 component directly. They do not touch DOM/event handling.
Hope this helps. I am going to close this issue here, as there is no bug with the repo. If you have further questions please use StackOverflow. 😄


Flutter support

You can see that it says return MaterialApp( which should just be either return MaterialApp or MaterialApp, also in the bottom it is putting the whole definition of the class which looks odd.
This is how it looks using VS Code with the official Flutter plugin:

That's not really important as much as this next thing which is really Flutter/Dart specific, I think. Here several things can be improved:

<Widget>[ This is missing the closing bracket.
child: Column( this should be just Column
body: Center( same as the previous
you can see FloatingActionButton isn't showing the biscuit (with or without the comment) which is kind of weird because it is the same as the previous Column and Center classes.

Official Flutter plugin:

@HatEmU closing tags for flutter are actually provided via the language server since the treesitter grammar won't identify those nodes correctly (I know since I helped add the treesitter dart grammar a while ago) I've actually created a plugin that does this and other things for flutter over in https://github.com/akinsho/flutter-tools.nvim.
This is a great plugin for a wider range of languages though, just thought I'd mention

After revisiting this again, please use akinsho's plugin if you desire more specific (and more correct) Dart/Flutter annotations.
This gave me an idea just now though:

You can see that it says return MaterialApp( which should just be either return MaterialApp or MaterialApp

I think it might make sense to have a global and per language character/word filter as configuration. Then users could customize which characters or words show up. ie: "(" or "return".
Creating a new issue for that and closing this.
https://github.com/code-biscuits/nvim-biscuits/issues/29


tf.keras/Tensorboard callback does not implement activation histogram (and says it does)

System information

TensorFlow version (you are using): r2.2

Describe the feature and the current behavior/state.
The callback v2 does advertise that it can record activations (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/callbacks.py#L1722), but the code clearly shows it doesn't : the following only saves weights histograms.
    if self.histogram_freq and epoch % self.histogram_freq == 0:
      self._log_weights(epoch)

The callback in callbacks_v1 did implement activation summary writing. However, there is one limitation where you cannot use it with eager execution enabled.
We should :

either remove the comment saying that Tensorboard callback logs activation histogram (or at least add a note that it should be implemented in a future version)
or, preferably of course, implement the feature...

Same issue. No activation histograms. Any idea if it is being investigated?

@goulou Sorry for the late response. Looks like interesting feature.
Are you still interested in contributing? If yes, please feel free to open a PR in  keras-team/keras repo. repository.
Please note that Keras development moved to keras-team/keras repository to focus on only keras. Thanks!

This feature should be reopened IMO, it would be a useful feature.

@kydonian Can you please open it in keras-team/keras repo as mentioned in my last response. Keras team is focussing their efforts in that repo only. Thanks!

I did, see https://github.com/keras-team/keras/issues/15972.

@bersbersbers Can we close it here and follow the progress in https://github.com/keras-team/keras/issues/15972? Thanks!


Breaking change not applied

semantic-release issue currently having issues when submitting a BREAKING CHANGE, as it skips the major release... This seems to only want BREAKING CHANGES

shows "BREAKING CHANGE" https://kapeli.com/cheat_sheets/Conventional_Commits.docset/Contents/Resources/Documents/index
more examples of "BREAKING CHANGE" https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-format


tsc compiling both redis and redis-4 when importing getNodeAutoInstrumentations

What happened?
Steps to Reproduce

<EMAIL_ADDRESS>or above installed in project
tsc --project tsconfig.json

tsconfig file:
{
  "compilerOptions": {
    "module": "commonjs",
    "target": "es6",
    "rootDir": "./src",
    "outDir": "./build",
    "esModuleInterop": true,
    "inlineSourceMap": true,
    "inlineSources": true
  }
}

Expected Result
No errors
Actual Result
> xxx1.0.0 build
> tsc --project ./tsconfig.prod.json && tsc --project ./tsconfig-prisma.json

../node_modules/@opentelemetry/instrumentation-redis/build/src/types.d.ts:8:26 - error TS2694: Namespace '"/home/xxx/xxx/node_modules/redis/dist/index"' has no exported member 'Callback'.

8     callback: redisTypes.Callback<unknown>;
                           ~~~~~~~~

Additional Details
OpenTelemetry Setup Code
import { NodeSDK } from "@opentelemetry/sdk-node";
import { HoneycombSDK } from "@honeycombio/opentelemetry-node";
import { getNodeAutoInstrumentations } from "@opentelemetry/auto-instrumentations-node";

export const honeycombSdk: NodeSDK = new HoneycombSDK({
  instrumentations: [getNodeAutoInstrumentations()]
});

I don't see redis-4 in any of the setup or output you provided here. Hard to understand what problem you're trying to describe. Can you elaborate a little on what is going on here?


Shutdown of parse service- The day after

As part of the upcoming shutdown, I would like to know please what will be on the 28.1 2017
If I’ll try to access your service  (https://api.parse.com/1/push) will I get 500 response or the service will be down and I will get timeout?

You will most likely receive an HTTP 500/404, eventually this whole thing might go away and connecting won't be possible at all anymore.

You'll be receiving a 410 error for the first few months. After that, there'll be no backends and you'll get a timeout.


orientation labels incorrect for demo FLAIR.nrrd image

The demo image /demos/images/FLAIR.nrrd displays incorrect orientation labels when loaded in niivue
To replicate: Open https://niivue.github.io/niivue/features/basic.multiplanar.html and drag and drop the demos/images/FLAIR.nrrd image onto the canvas.

@hanayik this is a limitation of the image, not NiiVue. You can see this by viewing the image with Slicer3D, or by viewing the header with a text editor. The image was converted from NIfTI to NRRD with Convert3D, and that excellent set of tools does exhibit issues mingling formats where the first line is at the top of the screen (e.g. NRRD) and those where the first line is at the bottom (NIfTI).
ITK_FileNotes:=Created by Convert3D
ITK_InputFilterName:=NrrdImageIO

I will resolve this by replcaing the NRRD created with Convert3D to one created with Slicer3D.


Empty sequence CDR serialized size

Hi,
I'd like to clarify the expected behavior for the empty sequences CDR serialized size.
At the moment, the generated code for getCdrSerializedSize includes alignment, even if the sequence is empty:
https://github.com/eProsima/Fast-RTPS-Gen/blob/34f0a2534420762348a7c260270a3a246b9cba63/src/main/java/com/eprosima/fastcdr/idl/templates/FastCdrCommon.stg#L387
Looking at the CORBA v3.3 spec there's nothing special about arrays/sequences serialization, and hence my question:
is is the expected behavior to have an extra alignment bytes in case of an empty array or is it a bug?
Thank you,
Vasily.

Hi @VasilyFomin
Sequences and arrays are different types. There is no such thing as an empty array. There could be a zero-size array, but in that case, nothing is serialized, and the size will be 0.
Sequences can be empty, but in that case, only the length of the sequence will be serialized (an unsigned long with value 0, added before the call to the sequence_serialized_size macro), which must be aligned. The content size will be zero.
https://github.com/eProsima/Fast-RTPS-Gen/blob/34f0a2534420762348a7c260270a3a246b9cba63/src/main/java/com/eprosima/fastcdr/idl/templates/FastCdrCommon.stg#L313
Maybe I'm missing something, in which of both cases do you see an extra alignment?
Best regards.

Hi @LuisGP,
thanks for the quick reply!
I see the extra alignment happening for the cases, where values are of different size i.e. we have a double sequence, then the produced getCdrSerializedSize will have the extra alignment.
For example, given IDL:
struct HelloWorld
{
    sequence<double> seq;
};

it generates the following function, notice the call to align(current, 8) at the end of the sequence's alignment:
size_t HelloWorld::getCdrSerializedSize(const HelloWorld& data, size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;

    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);

    current_alignment += (data.seq().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);

    return current_alignment - initial_alignment;
}

Hi @VasilyFomin,
I see it now! You are right.
What do you think about this proposal to fix it?
if (!data.seq().empty())
{
    current_alignment += (data.seq().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);
}

Something similar (or exactly the same if data.seq().size() > 0 check is perform) should be done for arrays.
You can create the PR if you want and have time. Else, I'll do it :).
Best regards.

Hi Luis,
Thanks for the confirmation! Please go ahead with the fix, I'm not exactly familiar with the testing procedures you have in place, so I think you'd do it faster.


Updated crate version to 0.2.0 in the README

Updated version in README to match the current version from crates.io

I've updated this to 0.3.0 in the most recent release


Package glfw: patch unrelocatable cmake/glfw3/glfw3Targets.cmake

This is a workaround while https://github.com/ruslo/hunter/issues/486 is not implemented

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.781
https://travis-ci.org/ingenue/hunter/builds/152046627

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.785
https://travis-ci.org/ingenue/hunter/builds/152050106

Released: https://github.com/ruslo/hunter/releases/tag/v0.15.12


Implement bson2.RawDocument checking

Description
Improve tests and fuzzing, add benchmarks.
Readiness checklist

[x] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[x] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[x] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@henvic @rumyantseva PTAL


Actually return promise in Comb::processFile

This makes it possible to catch exceptions in processFiles in
cli.js. Without this, node raises an error when promise throws an
exception:
node:internal/process/promises:245
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Object]".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Ping.


[Feature Request] Release v5

What's it being blocked by? Looks like everyone's happy with it

I'm using v5 for a few weeks now and there are a lot of problems:

StyleSheetManager component doesn't rerender on stylisPlugins prop change. (which I found out a few days ago)
When RTL is enabled. It doesn't provide a way to noflip styles.  issue
Also, CSS shorthands don't get converted by RTL plugin. issue
I think this project needs more contributor.

Hossein use a key prop on StyleSheetManager that you change when you want
to change the plugins
On Fri, Dec 13, 2019 at 12:20 PM Hossein Alipour<EMAIL_ADDRESS>wrote:

I'm using v5 for a few weeks now and there are a lot of problems:

StyleSheetManager component doesn't rerender on stylisPlugins prop
change. (which I found out a few days ago)
When RTL is enabled. It doesn't provide a way to noflip styles. issue
https://github.com/styled-components/styled-components/issues/2847
Also, CSS shorthands don't get converted by RTL plugin. issue
https://github.com/styled-components/styled-components/issues/2909

I think this project needs more contributors.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/styled-components/issues/2922?email_source=notifications&email_token=AAELFVV6IKCH2354PRBT6M3QYO77RA5CNFSM4JXGRIKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG2ULZQ#issuecomment-565528038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELFVR47XLCS7ZKG7RFYJDQYO77RANCNFSM4JXGRIKA
.

I have a PR opened to stylis-rtl to fix the latter two issues. Looking into the first one as well.


paypal/rest-api-sdk-php version

Hi i need use
paypal/rest-api-sdk-php 1.14.0
It posibble to update?

please let me know, how can this package work for updated PayPal API

Guys , I was maintaining this package for a while for tremendous reasons, I will update the package this weekend to use the latest versions of laravel.

very nice anouarabdsslm. and secondly please manage it with the latest PayPal SDK (Installing paypal/rest-api-sdk-php (v0.16.1)) instead of the old.
it will be considered a great favor from your die.
thanks

i am waiting

yes I found out that paypal SDK is deprecated https://github.com/paypal/PayPal-PHP-SDK I will try to check there new packages to see how I can re-implement it with the package. I will let you know when the package is ready.

good, let me know are you working on it. and when you will push it to GitHub.


renderer: use legacy weight calculation for GLSL 1.20, fix #490 ref #470 #479

Code introduced in #479 fixes bug described in #470 but broke compatibility with GLSL 1.20 as described in #490. This commit brings back the legacy weight calculation code as a fallback when running GLSL 1.20 GPUs (OpenGL 2.1). The new code is still used with newer GPUs as expected.

I think we could find still other ways to express the calculation, without entering the unpleasant state of multiple implementations.

I'm not that against multiple implementations if they are rare and short, but what annoys me the most is that it adds two tests in CPU code we can avoid (on GPU code it's pre-processed anyway).

Superseded by #498.


Fixes #2009 - Export task life time in API

...and tasks counts per version category

Added a commit to use startedAt instead of stagedAt for determining task life time

Please see my comments on the second commit – I think some naming is misleading in the tests. Please fix and squash!

unfortunately, the IntegrationTests keep failing with the same error.

I made some logging changes in the hope of getting a better error trace BUT this patch actually seems to prevent the error.
Locally I ran the integration tests in a loop (without docker).
On team city I ran 7 builds in a row without an error:
https://teamcity.mesosphere.io/viewType.html?buildTypeId=Oss_Marathon_IntegrationScaleTests&branch_Oss_Marathon=pk%2Ftask-life-time&tab=buildTypeStatusDiv

OK, I have started 10 builds in total for that version. I have one failure that I suspect is unrelated:
[08:47:38][Step 3/3] *** 1 TEST FAILED ***
[08:47:38][Step 3/3] GroupDeployIntegrationTest:
[08:47:38][Step 3/3]
[08:47:38][Step 3/3] - rollback from an upgrade of group *** FAILED *** (33 seconds, 710 milliseconds)
[08:47:38][Step 3/3]   java.lang.AssertionError: Waiting for event deployment_success to arrive took longer than 30 seconds. Give up.
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.setup.WaitTestSupport$.next$1(WaitTestSupport.scala:30)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.setup.WaitTestSupport$.waitFor(WaitTestSupport.scala:36)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.setup.MarathonCallbackTestSupport$class.waitForEventMatching(MarathonCallbackTestSupport.scala:46)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.GroupDeployIntegrationTest.waitForEventMatching(GroupDeployIntegrationTest.scala:13)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.setup.MarathonCallbackTestSupport$class.waitForEventWith(MarathonCallbackTestSupport.scala:50)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.GroupDeployIntegrationTest.waitForEventWith(GroupDeployIntegrationTest.scala:13)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.setup.MarathonCallbackTestSupport$class.waitForDeploymentId(MarathonCallbackTestSupport.scala:33)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.GroupDeployIntegrationTest.waitForDeploymentId(GroupDeployIntegrationTest.scala:13)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.setup.MarathonCallbackTestSupport$class.waitForChange(MarathonCallbackTestSupport.scala:37)
[08:47:38][Step 3/3]   at mesosphere.marathon.integration.GroupDeployIntegrationTest.waitForChange(GroupDeployIntegrationTest.scala:13)
[08:47:38][Step 3/3]   ...


Make URLs in Resource abstract clickable

This is at the request of @rayi113 so users can put URLs in the abstract of a hydroshare resource and click to go to an external page such as a THREDDS server page.

Is there a Django plugin of some sort that supports Markdown formatting.  Something like this box I'm typing in right now for instance?

merged and implemented on www manually

@horsburgh There are markdown editors built for Django such as this one: https://github.com/adi-/django-markdownx It will take time to get it in and investigate to make it work with our Django environment seamlessly, though.

@hyi - OK. This issue is closed, but I think there is another open issue about text formatting in the Abstract element, so it should get addressed there.


Correcting simple copy typo

Background
The documentation has a simple typo; "Monintoring" is a misspelling of "Monitoring" which this PR corrects
Description
No major changes, just a simple copy update

@kamilkisiela can you please merge (it's the ci-fork thing that fails..)


investigate sample rate

Currently code to resample audio to original sample rate on backend is on branch: frequency-scale-changer
Limitations of current code
sample rate limited to ranges:

Firefox:  [8000, 192000]
chrome: [3000, 768000]

frequency-scale-changer
Need someone to test this code out

I noticed that when I uploaded a high sample rate audio clip of a screaming piha vocalization, it appeared that the frequency scale was wrong. Usually Screaming Pihas vocalize around 560 - 5600 hz.
XC, low SR example -

AM, high SR example -


[staging] PyQt5, PyQt6: parallel build and fix of test

Description of changes
PyQt5 contains a check for QtConnectivity, but this module does not exist (the git history looks like it never existed). This causes builds with withConnectivity  = true to always fail. withConnectivity = true actually results in two specific modules being built: QtBluetooth and QtNfc. I changed the import check to the former.
PyQt5 builds only with a single core, which can take a long time (e.g. Duration field > 1h). This is due to a limitation by which enableParallelBuilding is not taken into account. PyQt6 can be compiled with multiple cores using a workaround.
I copied the workaround over to PyQt5 and slightly modified it for consistency to respect enableParallelBuilding. I added the consistency improvement to PyQt6, too.
I target staging because nixpkgs-review told me that 234 packages were updated and I only built ~50 of them.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2121

@ofborg build python310Packages.pyqt5 python310Packages.pyqt6


Question / Feature asking

Hello i want to ask about the linking shops
How does they work?
IF i combine a with b
and i sell at A (a decreases)
will B increase?
If yes okey ignore this, if no could we add this? Its a perfect way to give "bad shops" like finishing shop better prices

Using the linkto command, the two stores will share account balances.
It will not affect the price or stock of items in other stores.


Make composer work with a config file for which sources, readmes, etc to load

Right now, we show ALL of the .malloy files and all of the sources in them in the "Select analysis..." menu. This is needlessly messy--in many cases for a given dataset you will only want to surface one or a couple sources and with the others appearing only as they join in.
 Those files are perfectly valid malloy code and are as they need to be for the fiddle, but it hurts the clean reusability of malloy models. Really the only source I want to surface from imdb is movies2.
After chatting with @lloydtabb , one solution he proposed was some sort of json or other config file that specifies which source(s) and file(s) to look at for the composer.

After a discussion with @lloydtabb an initial design for this could look like the following.
composer_config.json:
{
  "datasets": [
    {
      "title": "IMDB",
      "path": "/path/to/imdb/directory",
      "icon": "./path/to/icon.svg", // or png or jpeg
      "description": "This is a cool dataset!",
      "readme": "./path/to/readme.md", // if unspecified, looks for "./readme.json" (case insensitive)
      "includeModels": [ // if unspecified, all model files in the directory are included
        {
          "path": "./path/to/model.malloy",
          "includeSources": ["foo", "bar", "baz"] // if unspecified, all sources are included
        },
        ...
      ]
    },
    ...
  ],
}

These "datasets" would then appear in the Composer in a new sidebar tab "Datasets" (assuming there were more than one).
Sidebar tabs would be reordered: Datasets, About, Query.
"About" sidebar tab is renamed to something else. (Not sure what: index? readme?)
If there is more than one dataset, app opens to the "Datasets" tab. If there is exactly one, it is opened and the app opens to its "About" tab. If there is no readme file, then it just opens to a query.

Old design from @tschomer for showing "Samples". This would likely be pretty similar.

Nice, that sounds like a great solution.
I can't believe I'm going to ask this, but do we want to consider YAML/TOML/anything else for the config? I detest writing JSON by hand, even more than I detest troubleshooting YAML parse errors. Looking at that above example and thinking about hand-writing it made me feel sad.

I would be okay with something else. TOML is nice. Personally YAML makes me sad.
Pro for TOML:

TOML is way easier to write than JSON
TOML has comments, JSON has none

Pro for JSON:

JSON is more well-known
JSON parsing is easier than TOML and available out of the box in JS

YAML also makes me sad (slightly less sad than writing JSON by hand though), TOML looks like a solid option!


feat: use -v DEBUG in silverback run

Overview
Provide a simple overview of what you wish to see added. Please include:

What you are trying to do
see debugs
Why Ape's current functionality is inadequate to address your goal
silverback not importing ape-cli-context

Specification
Describe the syntax and semantics of how you would like to see this feature implemented. The more detailed the better!
Remember, your feature is much more likely to be included if it does not involve any breaking changes.
Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.

the fix PR actually broke some other things so I had to undo it in #8


headless_shell/headless build configuration

Currently, puppeteer is running a full build of Chromium that is dynamically linked to X on Linux. Are there any plans to run something similar to the headless_shell or another application built with the headless configuration as referenced here to reduce the dependencies and be more similar to Phantom?

Puppeteer can run against headless_shell, I just checked that all the tests are passing against latest locally built shell:
puppeteer.launch({executablePath: 'out/Release/headless_shell'})

We like bundling chromium and run it in the --headless mode primarily for the debugging ergonomics. Also, --headless on Linux is running the slim embedder, not the full chromium, so it does not compromise runtime performance.

Hi. Where can i download the executable headless_shell file?


How to set timeout(sensitivity) to make audio recognition work?

Problem: I speek "hello" in 2 second and close microphone. Audio recognition not recognize immediately. While if I speek "hello" and wait about several second to close microphone, recognition is ok.
How to set timeout( or means sensitivity) to make audio recognition work? azure.cognitiveservices.speech SpeechConfig and AudioConfig have no parameter to set.

Closing due to inactivity


feat: cosmos 'Staked' modal

Description

add <StakedModal /> modal with basic "Staked" features (supports unbonding, but unbonding rows are hardcoded for now)

Notes

This is currently named Staked to avoid collisions with other Cosmos staking modals. It is the terminology used in the mockup titles.
This is mostly about the JSX elements and styling. Most data is currently hardcoded and will need to be wired up when we surface the cosmos staking data.

Notice
Before submitting a pull request, please make sure you have answered the following:

[ ] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
closes #660
closes #661
closes #668
Risk
N/A
Testing

Change useRenderForChains to render for ChainTypes.Ethereum
Enable REACT_APP_FEATURE_COSMOS_INVESTOR feature toggle
Click the "Cosmos Validator" staking row

TODO
Screenshots (if applicable)

Cosmos specific components need to go into src/plugins/cosmos/components.

Cosmos specific components need to go into src/plugins/cosmos/components.
I've started thinking about how plugins can provide translations for their components separately from the giant messages file.

Happy to hear. The modals in particular have a ton of them and it would be nice to not "pollute" the main JSON with such strings.

Cosmos specific components need to go into src/plugins/cosmos/components.
I've started thinking about how plugins can provide translations for their components separately from the giant messages file.

please consider how this will impact a third party translation service (TBD) such that we can update the english translations in preferably one spot and have translators make PRs into the appropriate places. @LPX55 for your visibility.

Also, it's missing the APR* keyword here:

<AprTag /> was initially added and used in <StakingOpportunitiesRow /> (https://github.com/shapeshift/web/pull/1001), but the rationale was to have it available for future components that would need it.
IMO, it's fine to keep it as is for consistency but I'll double check with product!
Either way, changing it here would also change it for  (unless we make it so that APR* text is optionally appended depending on a prop), so I'd make it a separate commit.


MSSQL client doesn't support encryption

Just checked the source code, MSSQL client doesn't support encryption yet in 0.4.0-beta.1, which makes this crate cannot be used with Azure SQL service.
Is there any plan to add encryption support to MSSQL client?

Looks like a duplicate of: https://github.com/launchbadge/sqlx/issues/414 :) I'm interested in this feature too.

Closing as duplicate of #414


The setting of subtitles

Hi,
I saw a problem with the subtitles setting in the videollama2 paper, but recently I saw that the w subtitles indicator has been added on the videomme Leaderboard (https://video-mme.github.io/home_page.html#leaderboard). Has this issue been fixed?

Yes, we contacted the VideoMME team and eventually resolved this issue. BTW, we haven't updated the arxiv paper with the new results (but will do it soon), please refer to the official leaderboard for the potential comparative study.


permissions input needs to use underscore instead of hyphen

The permissions input of this action has no documented valid items. So I assumed it was the same as the native GITHUB_TOKEN permissions. However, I tried putting in "pull-requests": "write" and it didn't work, error message was "Error: Could not create installation access token."
I used "pull_requests": "write" instead and it worked.
Don't know if this should be seen as a bug, but I thought it could be good to have a record of it somewhere. If the behavior won't be changed, maybe add some information to the README.
Thanks for creating this action, everything else is working great!

I've also struggled with figuring out with what the proper permissions are schema/value is when creating a token. How to create a token with permissions for pushing to a repository still eludes me.
The below doesn't seem to be correct. Some documentation would be great 🙏 .
          permissions: >-
            {"contents": "write", "metadata": "read"}

There is a link to the relevant part of GitHub's docs:
https://github.com/tibdex/github-app-token/blob/3a5af6bad89e48d69a91cd3cfea22862f4f672e7/action.yml#L14

It's good that there's a link in action.yml, I think I was just lazy and didn't think about reading there. You can consider writing something about this in the README too. Thanks again!


Add books section into rabbitmq markdown file.

Hello @mehdihadeli , this PR is ok now, you can merge it.


Fancy zones on multiple montitors

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
FancyZones, FancyZones Editor
Steps to reproduce
When the laptop is connected to a secondary display via HDMI and the fancy zones or the fancy zones editor is toggled.
✔ Expected Behavior
Fancy zones should recognize both the monitors and work separately on the displays or at least cover the entire area.
❌ Actual Behavior
The zones get merged and span across the first monitor and a third of the second monitor leaving a large chunk of the second display as unusable. No way to resize them. On removing zone divisions the primary zone takes the whole space. On top it shows as recognizing only one monitor with a different resolution than either of my display

s.

Other Software
No response

When did you create the custom layout?  Before or after you made the zones span?
Does the actual FZ Engine work correctly? (seeing if the editor is incorrect versus the actual FancyZone engine)
can you add a "Report bug" log?


fix lint errors, bump version

May not be fully done yet, but want to get CI results

@pushrax mind doing the publish here?


onChange and onBlur event handlers

I would be nice if we could pass onChange and onBlur event handlers to components such as Combobox and SelectMenu for form libraries like react hook form and formik. There's inputProps present in Combobox but passing onChange and onBlur to it doesn't appear to work.

Hey @ahsan-sabir,
onChange should be available directly on the Combobox component, and onSelect should serve the same purpose for the SelectMenu component. Most of our components are built on top of our Box primitive and spread additional props onto the component(s) that are being composed.
onBlur seems to work on the Combobox already, but the SelectMenu seems to work a little differently, since it relies on the Popover component wrapping a trigger component. What would the expected behavior be there?
I'd recommend trying out the interactive code sandboxes on our documentation site! https://evergreen.segment.com/components/combobox

Hi @brandongregoryscott
Turns out the lib I was using (react-hook-form) expect onChange to receive event object, which is not the case with Combobox. Moreover passing onChange through inputProps won't work (which works for onBlur)
<Combobox
  openOnFocus
  inputProps={{
    id: "fruits",
    name: "fruits",
    onChange: e => console.log('onChange', e),
    onBlur: e => console.log('onBlur', e)
  }}  items={['Banana', 'Orange', 'Apple', 'Mango']}
  placeholder="Fruit"
/>

onChange to receive event object, which is not the case with Combobox

Correct, most of our component event handlers do not expose the raw event and instead provide a simpler API with the changed item/value only. This makes it easier to work with a regular useState hook.

Moreover passing onChange through inputProps won't work (which works for onBlur)

Yes, you'll want to set the onChange property directly on the Combobox, not through inputProps. inputProps and other nested props are exposed as more of an escape-hatch/last-resort and not all properties from these objects are guaranteed to be used or behave as expected.
    <Combobox
      items={["Banana", "Orange", "Apple", "Mango"]}
      onChange={(selected) => console.log(selected)}
      onBlur={() => console.log("onBlur")}
      placeholder="Fruit"
      autocompleteProps={{
        // Used for the title in the autocomplete.
        title: "Fruit"
      }}
    />

onBlur isn't directly specified in the component's own props:
https://github.com/segmentio/evergreen/blob/886a4c9b59417aee71d2f5583b0ed5244283c88e/index.d.ts#L1041-L1095
However, because it builds off of another component that has accepts onBlur, it "might" work. (Not all components that have PolymorphicBoxProps actually use the additional props or spread them on the expected component. In this case, it seems to work as expected.)


[release-1.22] Cluster restore fails with "<IP_ADDRESS>:6444: read: connection reset by peer"

Backport fix for Cluster restore fails with "<IP_ADDRESS>:6444: read: connection reset by peer" to branch release-1.22

https://github.com/k3s-io/k3s/issues/4914

Fix is validated using rc2 on 1.22.5. Restore in current setup and fresh node setup is successful.
Scenarios covered

Validate cluster-reset flag functionality

Verify snapshot/restore functionality in a quorum loss scenario when snapshot is stored locally.

Create snapshot and store in s3 bucket

Restore to any of the current nodes

Restore to a new setup


question regarding the codebook size

Has the large codebook size has an impact on the performance of this method" I say the codebook size is 4096 that is quite 4 times the size of the VQGAN base

The effect of codebook size has been ablated in Tab. 3 (a), I attach it here for your reference


i found some size error after the image saved to album

iphone 6
i find that if i use af_imageAspectScaled function to scale image,and save to the album,the image will create a 2 times size image
it means if my image's size is 100 100 ,and i use  af_imageAspectScaled to scale image to 200 200,and i save to my album,i find my image's size is 400 400
CURRENT_ID_SIZE = CGSize(width: 200, height: 200)
var originalImage = UIImage(name:"photo")
 print(originalImage!.size)
//(100.0, 100.0)
var resultImage = originalImage.af_imageAspectScaled(toFill: CURRENT_ID_SIZE!)
 print(resultImage!.size)
//(200.0, 200.0)

but when i save the resultImage:
PHAssetChangeRequest.creationRequestForAsset(from: resultImage!)

it return me a (400 × 400) size image it created in my Album
when i save the originalImage :
PHAssetChangeRequest.creationRequestForAsset(from: originalImage!)

it return the (100.0, 100.0) size image  it created in my Album

Hi @bulolo,
This is by design. The UIImage(name: "photo") method is returning you an image whose size is being reported as (100.0, 100.0) but has a scale of 2.0. Therefore, the "actual" size of the underlying image is really (200.0, 200.0) when you consider the scale. When you then aspect scale the image to (200.0, 200.0) you are actually scaling the underlying image to (400.0, 400.0). If you save that final image out, it will save as (400.0, 400.0) since a PNG or JPEG doesn't understand what "scale" is in regards to retina displays.
Hopefully that helps clarify things. In the future, I'd suggest you open a question on Stack Overflow and tag alamofire. We use our GitHub project for bug reports and feature requests.
Best of luck! 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Build tools

Build tools with eslint, new PR against build-tools branch
See old PR #37

Thanks!

Excellent!

@maciej-gurban just came my mind that I forgot to add eslint preset file to this pr. As this has now been merged but it's still in your validation branch, you might want to add a some preset. Airbnb has a great one which complains about everything :D
https://www.npmjs.com/package/eslint-config-airbnb-base

I'm actually in the process of applying a similar (airbnb-based) preset into my two other projects. Boy, is that fun!


export SecureVipAddress, add InstanceID, go fmt

InstanceID should be unique for each instance
of an app which registers with Eureka. For example
in Cloud foundry this could be the value of the
CF_INSTANCE_GUID environment variable.

thanks for the go format and sorry for the delay


added style

added a style attribute to  line no.73

🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@Dun-sin Can you check this? Maybe I have done a mistake...  so many red things on my screen.
Sorry

Oh sorry I understood... making a new PR


Update test to use TestNG framework

@YuriiChere We want to keep using Junit. Please revert this PR.

Closed. Will be create new PR to use Junit


pytest-parallel exit code always 0

Unsure if the issue is specific to me, added the info below to reproduce.
tst.py =
import pytest
def test_tst():
    assert False

etragas$ pytest tst.py
test session starts
platform darwin -- Python 3.6.6, pytest-3.8.1, py-1.6.0, pluggy-0.7.1
rootdir: /Users/etragas/diseaseTools, inifile: pytest.ini
plugins: xdist-1.23.2, profiling-1.3.0, parallel-0.0.5, mock-1.10.0, forked-0.2, cov-2.6.0
collected 1 item

tst.py F                                                                                [100%]

=== FAILURES ===

    def test_tst():
>       assert False
E       assert False

tst.py:3: AssertionError
1 failed in 0.08 seconds

etragas$ echo $?
1

etragas$ pytest tst.py --workers auto
test session starts
platform darwin -- Python 3.6.6, pytest-3.8.1, py-1.6.0, pluggy-0.7.1
rootdir: /Users/etragas/diseaseTools, inifile: pytest.ini
plugins: xdist-1.23.2, profiling-1.3.0, parallel-0.0.5, mock-1.10.0, forked-0.2, cov-2.6.0
collected 1 item
pytest-parallel: 12 workers (processes), 1 test per worker (thread)
F                                                                                [100%]
=== FAILURES ===

    def test_tst():
>       assert False
E       assert False

tst.py:3: AssertionError
1 failed in 0.12 seconds

HUAWEI_P10-796cab753f8233:diseaseTools etragas$ echo $?
0

Interesting. I wonder if this also happens when using --tests-per-worker auto. I'll write a test to repro the original problem.

I tested, and this issue doesn't occur if you set --workers 1

I suspect there is a diff between running process_with_threads directly and wrapping that in a process

pytest-parallel just does a normal run when --workers is 1, so that makes sense. What's odd is there's a test to ensure failures are reported: https://github.com/browsertron/pytest-parallel/blob/2f6a094ebb5a6d274adcdb1942a62dd124252711/tests/test_parallel.py#L4-L18
There must be something else in the reporting that's missing.

But the exit code isn't the same thing as the number of failures right? So would the above test catch that?

I's not the same, but it means there's a disconnect between how pytest does its reporting and how it decides to exit the process.

That test needs assert result.ret == 1

The multiprocessing portion of this library works by monkeypatching values on pytest classes using the multiprocessing module. Ideally, we'd monkeypatch the testsfailed counter. The problem is getting a multiprocessing counter to work like a normal integer is non-trivial.

Haha excellent! I just came here to report that session.testsfailed was probably the issue. Thank you for fixing this so quickly 👏


Move/read coordinate as data variable - xarray.Dataset

Hi,
I just started to use xarray as part of my geospatial analyses. I just wonder if there is an option in xarray.Dataset to move certain items assigned as coordinates to data variables.
<xarray.Dataset>
Dimensions:     (accuracy: 41, classes: 41, data: 41, pattern: 41, repetition: 41, score: 41, wsizes: 41)
Coordinates:

score       (score) float64 0.1306 0.3237 0.3688 0.4264 nan 0.3835 ...
wsizes      (wsizes) int64 4 4 4 4 4 4 7 7 7 7 7 7 10 10 10 10 10 10 13 ...
classes     (classes) |S5 '5-9' '1-5-9' '1-5-9' '1-5-9' '5-9' '5-9' ...
pattern     (pattern) |S1 'l' 'c' 'g' 'f' 'r' 'd' 'd' 'c' 'f' 'l' 'g' ...
repetition  (repetition) int64 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 ...
accuracy    (accuracy) float64 0.9584 0.9053 0.868 0.8519 0.9943 0.8467 ...
data        (data) float64 0.9584 0.9053 0.868 0.8519 0.9943 0.8467 ...
Data variables:
empty

I use xarray.Dataset from a dictionary and even some items from the dictionary were correctly read as coordinates, others items weren't such as "accuracy" and "score".
Thank you.

Sounds like http://xarray.pydata.org/en/stable/generated/xarray.Dataset.reset_coords.html#xarray.Dataset.reset_coords is what you're looking for.

Closing, please reopen for any flups


from trading_ig.utils import remove

this line seems to not working

did you manage to resolve this error, I am getting it too when I try to run?
Cheers

Closing, old and not enough info


New-SFTPSession - forcibly closed error

I'm having issues with a connection to a server running OpenSSH - its the first time I've tried connecting to this type of ssh server.
Upon entering the following command:
New-SFTPSession -ComputerName $sftp_address -Port $sftp_port -Credential $sftp_creds -ConnectionTimeout 50000 -Verbose
I get the following error back:
VERBOSE: Using SSH Username and Password authentication for connection.
New-SFTPSession : An existing connection was forcibly closed by the remote host
At D:\POS_Import\SFTP Trusted Hosts.ps1:10 char:1
+ New-SFTPSession -ComputerName $sftp_address -Port $sftp_port -Credent ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (Renci.SshNet.SftpClient:SftpClient) [New-SFTPSession], SshConnectionExcep
   tion
    + FullyQualifiedErrorId : SSH.NewSftpSession

All of my other connections work correctly, and when I connect to this openssh server using other client software I have no issues. Can anyone shed any light for me?

Weird all of my testing is against OpenSSH only. What version and what target OS?
Sent from my iPhone

On Nov 27, 2019, at 9:25 AM, ryanjgillies<EMAIL_ADDRESS>wrote:

I'm having issues with a connection to a server running OpenSSH - its the first time I've tried connecting to this type of ssh server.
Upon entering the following command:
New-SFTPSession -ComputerName $sftp_address -Port $sftp_port -Credential $sftp_creds -ConnectionTimeout 50000 -Verbose
I get the following error back:
VERBOSE: Using SSH Username and Password authentication for connection.
New-SFTPSession : An existing connection was forcibly closed by the remote host
At D:\POS_Import\SFTP Trusted Hosts.ps1:10 char:1

New-SFTPSession -ComputerName $sftp_address -Port $sftp_port -Credent ...

  + CategoryInfo          : SecurityError: (Renci.SshNet.SftpClient:SftpClient) [New-SFTPSession], SshConnectionExcep
 tion
  + FullyQualifiedErrorId : SSH.NewSftpSession

All of my other connections work correctly, and when I connect to this openssh server using other client software I have no issues. Can anyone shed any light for me?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Cannot post any other file than images..PDF result = We received an unexpected status code from the server. (413)

We received an unexpected status code from the server. (413)
Plugin install works, everything else so far works too.
Also nothing in the logs regarding 413.
File size is set to 50 too.

I met same issues,  in microk8s mattermoset-k8s environment.


Create dataset loader for IMDb Javanese

https://indonlp.github.io/nusa-catalogue/card.html?imdb_jv

self-assign


Load modules from server into client instead of require

The code of cosy.cli is too complex. It is a nice prototype, but will not be maintainable. The following proposal tries to fix maintainability.

do not load any module (even cosy.loader) outside of Cli.configure and Cli.start;
in Cli.configure, do not use any module; try to read the --server option in arguments and in file $HOME/.cosy/cli.data (read it without call to cosy.file); then require cosy.loader.cli and then write data to the file;
in Cli.start, load all required modules after call to Cli.configure.
in cosy.loader.cli, also do not use configuration for packages path, but use instead a hard-coded path $HOME/.cosy/lua/<server base64>;
do not forget the <server base64> part in the above path to distinguish files downloaded from different servers;
and maybe some other things...

These changes avoid to reload modules.


perf(parser): reduce Token size from 16 to 12 bytes

Current dependencies on/for this PR:

main

PR #2010   👈

This stack of pull requests is managed by Graphite.


Update CLI Version included with the plugin to 2.43 to fix special character bug.

Is your feature request related to a problem? Please describe.
Requesting to upgrade the CLI version included with the DevOps Extension in order to fix this bug.
https://github.com/jfrog/jfrog-cli/issues/2079
Describe the solution you'd like to see
See above.
Describe alternatives you've considered
Recommending use cliVersion flag by support.

Hi @NandiniDJFrog , new Extension version is released with JFrog CLI 2.44.1!


Update societies_tdwg.json

Updated lat lon for EA societies Ni3, Sa9, Sa10 and SCCS society SCCS156

thanks Kate!


Support Azure Blob Storage for Cloud Storage Provider

Description
Support Azure Blob Storage as Cloud Storage Provider
Relevant Issue: https://github.com/st-tech/gatling-operator/issues/38
What's been changed / added?

Add Azure Blob Storage for Cloud Storage Provider and its test
refactored csp so that init func is called in initialization
update CRD to support Azure CSP
Update API Docs
Add Azure configuration to sample gatling manifests
Add Azure Blob Storage to README description

How to configure Gatling CR to use Azure Blob Storage?
There are 2 ways to configure  Azure Blob Storage access authentication
(1). Authenticating with Azure Blob Storage using AZUREBLOB_ACCOUNT and AZUREBLOB_KEY
provider: "azure"
bucket: "gatling-operator-reports"                   # Azure Blob Storage container name on which Gatlilng report files are stored
env:                                                 # Optional. Environment variables to be used for connecting to the cloud providers
      - name: AZUREBLOB_ACCOUNT                          # Azure Blob Storage Account Name
        value: xxxxxxxxxxxxxxx
      - name: AZUREBLOB_KEY                              # Azure Blob Access Key. Leave blank to use SAS URL
        valueFrom:
          secretKeyRef:
            name: azure-credentail-secrets
            key: AZUREBLOBSS_KEY

(2).Authenticating with Azure Blob Storage using AZUREBLOB_ACCOUNT and AZUREBLOB_SAS_URL
provider: "azure"
bucket: "gatling-operator-reports"                   # Azure Blob Storage container name on which Gatlilng report files are stored
env:                                                 # Optional. Environment variables to be used for connecting to the cloud providers
      - name: AZUREBLOB_ACCOUNT                          # Azure Blob Storage Account Name
        value: xxxxxxxxxxxxxxx
      - name: AZUREBLOB_KEY                              # Azure Blob Access Key. Leave blank to use SAS URL
        valueFrom:
          secretKeyRef:
            name: azure-credentail-secrets
            key: AZUREBLOBSS_KEY

Gatling Operator use rclone to access any Cloud Storages, and to know more on Azure Blob Storage access using rclone, please see Authenticating with Azure Blob Storage
Testing

prepare Azure blob storage account and container for testing (here, I used gatlingreport001 and gatling-operator-reports respectively)

configure cloud storage provider to use azure blob storage in gatling CR to test authentication pattern ( 1 ) above

config/samples/gatling-operator_v1alpha1_gatling01.yaml

 cloudStorageSpec:
    provider: "azure"
    bucket: "gatling-operator-reports"
    env:
      - name: AZUREBLOB_ACCOUNT
        value: gatlingreport001
      - name: AZUREBLOB_KEY
        value: xxxxxxxxxxxxxxxxxxxxxxxxxxx==

apply the manifest and see the result

# apply the manifest
kustomize build config/samples  | kubectl apply -f -

# check the gatling cr status
kubectl get gatling gatling-sample01 -o<EMAIL_ADDRESS>|jqresult

See the report URL
kubectl get gatling gatling-sample01 -o<EMAIL_ADDRESS>|jq

{
  "reportCompleted": true,
  "reportStoragePath": "az:gatling-operator-reports/gatling-sample01/953431934",
  "reportUrl": "https://gatlingreport001.blob.core.windows.net/gatling-operator-reports/gatling-sample01/953431932/index.html",
  "reporterJobName": "gatling-sample01-reporter",
  "reporterStartTime":<PHONE_NUMBER>,
  "runnerCompleted": true,
  "runnerJobName": "gatling-sample01-runner",
  "runnerStartTime":<PHONE_NUMBER>,
  "succeeded": 3
}

made it access to reportURL (azure blob storage URL) like this:

prepare SAS URL for the azure blob storage to test authentication pattern ( 2 ) above

 cloudStorageSpec:
   provider: "azure"
    bucket: "gatling-operator-reports"
    env:
      - name: AZUREBLOB_SAS_URL
        value: "https://gatlingreport001.blob.core.windows.net/gatling-operator-reports?sp=rwl&st=2022-08-27T04:38:09Z&se=2022-09-01T12:38:09Z&spr=https&sv=2021-06-08&sr=c&sig=xGjILJf%2FJKZTPXXASIE5CAJa%2B6D%2BzO%2BJUWGthbjln5A%3D"
      - name: AZUREBLOB_ACCOUNT
        value: gatlingreport001

apply the manifest and see the result

# apply the manifest
kustomize build config/samples  | kubectl apply -f -

# check the gatling cr status
kubectl get gatling gatling-sample01 -o<EMAIL_ADDRESS>|jqresult

Likewise 2, made it access to reportURL (azure blob storage URL) !!
Checklist
Please check if applicable

[x] Tests have been added (if applicable, ie. when operator codes are added or modified)
[x] Relevant docs have been added or modified (if applicable, ie. when new features are added or current features are modified)

add API Docs
NOTE: relevant docs are not yet in  User Guide. It will be added in the next PR

Relevant issue #
https://github.com/st-tech/gatling-operator/issues/38

@ksudate thanks for the review and aproval
@akitok please let me know if you have any more feedback!

now i can merge the PR confidently with 2 of you guys approval 😄


Ruby 3.2 Support

Update some amount of these to support keyword args
lib/slayer/command.rb:4 - adjust to **args
lib/slayer/command.rb:7 - adjust to **args
lib/slayer/command.rb:14 - Throws warning in 3.2, remove
lib/slayer/command.rb:31 - adjust to **args
lib/slayer/command.rb:35 - adjust to **args

(4 and 31 may not be needed)

May need to adjust to *args, **kwargs, &block
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

Fixed by https://github.com/apsislabs/slayer/pull/62


Chromecast on Android not stable

Having problems here when connecting to Chromecast. Sometimes it manages to establish a connection, but after a few minutes, it's broken. Other times nothing happens at all. I'm on Android 4.4, on a Oneplus One.

We are aware of this problem. Hope to get it fixed in new version

New android app available!
We are proud to announce that a new version of our android app is available. Check out https://flixtor.me


How to add an additional button actions, eg. publish, unpublish?

Summary of problem or feature request
Model has an attribute named "status" its binary 0 or 1. 0 for false, 1 for true.
How how add another action? Yajra\DataTables\DataTablesEditor->actions = ['create', 'edit', 'remove', 'publish', 'unpublish']
publish gets to set selected records as status 1
unpublish gets to set selected records as status 0.

Implemented via:
class AssetsDataTablesEditor extends DataTablesEditor{     protected $model = Asset::class;     protected $actions = ['create', 'edit', 'remove', 'publish'];     public function publish(Request $request){ ...     public function publishing(Model $model, array $data){...
class AssetsDataTable extends DataTable{     public function html()     {         return $this->builder()                     ->columns($this->getColumns())                     ->minifiedAjax()                     ->parameters([                         'dom' => 'Bfrtip',                         'order' => [1, 'asc'],                         'select' => [                             'style' => 'os',                             'selector' => 'td:first-child',                         ],                         'buttons' => [                             ['extend' => 'create', 'editor' => 'editor'],                             ['extend' => 'edit', 'editor' => 'editor'],                             ['extend' => 'remove', 'editor' => 'editor'],                             ['extend' => 'publish', 'editor' => 'editor'],                         ]                     ]);     }
Getting console error:
uncaught exception: Cannot extend unknown button type: publish

IMO, you need to create a custom publish button for this to work. See https://datatables.net/extensions/buttons for docs.

Right, looks like its on the client side. I'll update this issue when i finish this task and give gist examples for future readers.

In case you still need it, I just tried to play with this and come up with a workaround solution as posted on https://datatables.net/forums/discussion/46517/extend-remove-button-and-change-mode-to-rename-the-action#latest.

BTW, since you using the html plugin, you would also need to update to html - v3.5.0 for better editor support. This is how it was added using html builder:
                            [
                                'extend' => 'selected',
                                'action' => "function ( e, dt, node, config ) {
                                    var formData = {
                                        action: 'publish',
                                        data: $.map(dt.rows({selected: true}).data(), function (o) {
                                            return o.DT_RowId;
                                        })
                                    };

                                    $.post(editor.s.ajax, formData)
                                        .then(function(response) {
                                            dt.draw(false);
                                        })

                                }",
                            ],

For future readers here's a rough draft example showcasing an additional button "Publish"
https://gist.github.com/chriscalip/46ee6a32264eb6184b5800e0e1bcd8a7


docs(website): added kubectl blog post

📑 Description
Added kubectl blog post
✅ Checks

[ ] My code requires changes to the documentation
[x] I have updated the documentation as required

ℹ Additional Information


page does not exist

Hi, could you please clarify the page where the issue was encountered? It currently says "page does not exist," which makes it difficult to address. Thanks!


Update data partitioning for storage

#sign-off

@MichaelHauss,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/best-practices/data-partitioning.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thank you @MichaelHauss for the contribution. Regarding the partitioning Azure blob, my understanding is that each blob has its own partition, correct?

@dragon119 No, that is not correct.

OK, I should have said if load on the blob demands it. Anyway, I want to articulate that point in this doc. Can you add the following to that section?
Each blob can have its own partition if load on the blob demands it.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/best-practices/data-partitioning.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Updated.

#sign-off


When an iOS application is in the background and receives a VoIP push, a call starts but disappears after 1-3 seconds

this to ensure you have 3s time to call api to server(if needed) - call api when accept/declice


Getting unable to establish connection with SafariDriver Extension error on try to run script from server machine

Hi,
I am using Mac OS X.
Safari Version: 9.0.3
Selenium :2.48.0
Webdriver: 2.45.0
Standalone server: Selenium-standalone-server.2.42.2.jar
When I try to run my scripts locally means on same machine, it's working fine.
The issue is when I triggered my script from other machine, it's launching safari and showing below message. When I check the Safari preferences, Extesnions list is blank. not showing "webDriver" extension.
"I am getting "Unable to establish connection with safariDriver extension"
I tried with many combinations. standalone server 2.48, Safari driver 2.48,  selenium 2.42.0 etc.
Can someone help me. what exactly the issue is?

This seems like a webdriver bug or a support question.  You should ask them.


Please invite me to the GitHub Community Organization

I hope to join this organization and contribute my projects

Hi @SoftwareArchitect9817,
Tge ChryzHub community will be glad to have you and see you contribute to Opensource.
To join the community kindly click this link


Broken template for AdditiveFOAM ExaCA outputs

There was an update in AdditiveFOAM commit b0fa890 that broke the Myna template directory for the additivefoam/microstructure_region_reduced app.
This was identified in https://github.com/ORNL-MDF/containers/issues/3.

Addressed in #64 and #66.


[wip] fix: make prometheus based scheduler e2e test rework

What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

Seems K8S v1.23.10 and v1.25.0 test still failed?

Seems K8S v1.23.10 and v1.25.0 test still failed?

Yes. I Will do some debug...

close in favor of #62


signal.pause() not on Windows

Describe the bug
I've tried to install Vibora on Windows with Python 3.6.5. After the pip, I've tried running the code indicated in the documentation as "anything.py", but got an import error in server.py of vibora.
The bug comes from this method (https://docs.python.org/3/library/signal.html#signal.pause)
And from this code line : https://github.com/vibora-io/vibora/blob/77ba07ba6c89d78ba47a2c10fee3f5acdd28e1a8/vibora/server.py#L5
To Reproduce
Steps to reproduce the behavior:

Copy paste anything.py in a file on Windows
Execute it

Expected behavior
It was supposed to run the server.

I'm still working on the Windows version there'll be a release tomorrow to fix this. Thanks!

Is the fix out? :) The version I just installed still problem. (v0.0.6)

Not yet, I'm late :)

This is already fixed with this commit: https://github.com/vibora-io/vibora/commit/7d10ab61cb91e39b71fcf13b23cf57d8c1680f72#diff-4dd5222d689f78989fb2e6365389efc6


Project Site triggers CPU Fan and eats 40% of CPU Power on an i7-2760QM

The project website after triggers the starting of the cpu fan on a modern business laptop with an i7-2760QM CPU. The Chromium task manager shows CPU power goes up to 40% on that page.
This is totally inacceptable for a mobile framework.

Website is not related to framework performance

haha, that was a good one! very funny and shows your professional approach :)

Sorry but have you read the issue form when you filled the issue? If you have issue with website there is a separate repo for this. Such CPU load happens because there is a video on home page. If you don't like it, i think it will be more correct to open issue for Chromium


Problem about calculate "segmentation_mask_for_maskratio"

    for segmentation_mask, proposal in zip(segmentation_masks, proposals):
        cropped_mask = segmentation_mask.crop(proposal)
        scaled_mask = cropped_mask.resize((M, M))
        mask = scaled_mask.convert(mode="mask")
        masks.append(mask)
        if maskiou_on:
            x1 = int(proposal[0])
            y1 = int(proposal[1])
            x2 = int(proposal[2]) + 1
            y2 = int(proposal[3]) + 1
            for poly_ in segmentation_mask.polygons:
                poly = np.array(poly_, dtype=np.float32)
                x1 = np.minimum(x1, poly[0::2].min())
                x2 = np.maximum(x2, poly[0::2].max())
                y1 = np.minimum(y1, poly[1::2].min())
                y2 = np.maximum(y2, poly[1::2].max())
            img_h = segmentation_mask.size[1]
            img_w = segmentation_mask.size[0]
            x1 = np.maximum(x1, 0)
            x2 = np.minimum(x2, img_w-1)
            y1 = np.maximum(y1, 0)
            y2 = np.minimum(y2, img_h-1)
            segmentation_mask_for_maskratio =  segmentation_mask.crop([x1, y1, x2, y2])

Here is the code for segmentation_mask_for_maskratio, if I am right, segmentation_mask_for_maskratio is the segmentation cover the whole object. So why not directly calculate the area of segmentation_mask but you firstly crop the area of [x1,y1,x2,y2]. Thanks in advance!

https://github.com/zjhuang22/maskscoring_rcnn/blob/c20aa625d8f2e92a8e05c8a8307c2427b6e6015f/maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py#L64
Could you explain to me why use type2 instead of type1? Is there some difference between them? I guess type2 is faster than type1

Yes, type2 is faster.  Calculating the area of segmentation_mask directly is time-consuming under the original image size. Calculating after cropping will save a lot of time

@zjhuang22 If I want use type1 for training (my input is binary mask rather than polygon), I wonder whether gt_box_mask is correct, since proposal[1]-y1 would be negative sometimes.
https://github.com/zjhuang22/maskscoring_rcnn/blob/c20aa625d8f2e92a8e05c8a8307c2427b6e6015f/maskrcnn_benchmark/modeling/roi_heads/mask_head/loss.py#L67
Could I replace it with gt_box_mask = cropped_mask.get_mask_tensor()?

proposal[1]-y1 is larger than 0 since y1 will smaller than proposal[1], refer to line 46->55.

proposal[1]-y1 is larger than 0 since y1 will smaller than proposal[1], refer to line 46->55.

I see, you are right!


Cannot install Bukkit Server

I would like to install a bukkit Server with cutom download url but every time i got the error like shown in the screenshot.

It's not able to download from the custom URL you have provided; however, by default it's not telling us much about why. Can you try the following, which uses curl as the entrypoint:
docker run -it --rm --entrypoint curl itzg/minecraft-server -fsSL https://dev.aw96.de/craftbukkit-1.14.4.jar


Initial implementation of workspace-db-manager

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update

Checklist

[ ] I have read the MCP Documentation
[ ] My code follows the repository's style guidelines
[ ] New and existing tests pass locally
[ ] I have added appropriate error handling
[ ] I have added or updated documentation as needed

Additional context

I don't think this is the right repository. If you are implementing a server, I recommend to host it on your own github. I am closing this out since it's not part of this project.

I don't think this is the right repository. If you are implementing a server, I recommend to host it on your own github. I am closing this out since it's not part of this project.

No- sorry I am an unsupervised non-coder messing with things I have no business with lol. I was trying to merge with my own branch using AI and VS code and selected the wrong repo. The idea is to have a MCP server that can use filesystem and multiple sqlite db. I got it so it doesn't have any obvious issues but don't know if it will work yet.


Pornhub extractor broke recently

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-i', '-f', 'bestvideo[height<=1080]+bestaudio/best[height<=1080]', '-o', '~/Documents/stuff/%(uploader)s/%(title)s.%(ext)s', '-u', 'PRIVATE', '-p', 'PRIVATE', '--external-downloader', 'aria2c', '--external-downloader-args', '-c -j 3 -x 3 -s 3 -k 1M --file-allocation=none', 'https://www.pornhub.com/model/SisyCat', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.0 (CPython) - macOS-10.13.6-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[PornHubPagedVideoList] Downloading pornhub login page
[PornHubPagedVideoList] Logging in to pornhub
[download] Downloading playlist: model/SisyCat/videos
[PornHubPagedVideoList] model/SisyCat/videos: Downloading page 1
[PornHubPagedVideoList] playlist model/SisyCat/videos: Downloading 24 videos
[download] Downloading video 1 of 24
[PornHub] Downloading pornhub login page
[PornHub] ph5f93f6160e68c: Downloading pc webpage
[PornHub] ph5f93f6160e68c: Downloading tv webpage
ERROR: Unable to extract encoded url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 385, in _real_extract
    js_vars = extract_js_vars(
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pornhub.py", line 322, in extract_js_vars
    assignments = self._search_regex(
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract encoded url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

pornhub extractor was working fine a week ago. Updated ytdl and tried again, still the same extraction error.

Hmm any thoughts?


go package vulnerabilities in Helm package

Issue:
Helm version:
3.8.0/3.8.1
Kube version:
Irrelevant
Noticed below vulnerbilities on go package version 1.17.5  used in helm package,which are high and critical level of threats

Expectation:
The go package version should be upgraded to the fix version which is free of vulnerability
Immediate attention to the issue will be appreciated

None of the CVEs are relevant.
In the future, please disclose potential security issues in the proper manner as described in CONTRIBUTING.md.
In any case, this will be resolved in the next Helm release, as we release Helm with the latest patch release of Go:
https://github.com/helm/helm/blob/974a6030c8514591ab0b0f0c898d37f816f698f6/.circleci/config.yml#L8
Closing.

For reference:

https://nvd.nist.gov/vuln/detail/CVE-2022-23772
https://nvd.nist.gov/vuln/detail/CVE-2022-23773
https://nvd.nist.gov/vuln/detail/CVE-2022-23806


Pulling in the wrapper for React breaks

Describe the bug
When I try to import the wrapper for React in my project, it's not correctly output so it fails to import.
It looks like during this commit when you updated webpack, you inadvertently took out the correct index.js and that is what caused it to break.
https://github.com/elninotech/uppload/commit/3f69965116a5aea6f4ae043d45fb413dbb7ae6f4#diff-2d30e644caa23a698065055f2b86cb74
To Reproduce
Steps to reproduce the behavior:

import UpploadReact from 'uppload-react' at the top of the file and try to use the wrapper
See error

Expected behavior
I expected to see the wrapper for React
I can make a PR if needed

@scotttball PR would be greatly appreciated!

Hi, @scotttball, this is fixed in v2! We're going to release it very soon, and you can have a look at the Frontend frameworks documentation here: https://uppload.js.org/wrappers/
I'll close this issue as soon as we release v2. You can already try it on the beta channel.


Bump the hawkular-charts version to pick up HAWKULAR-431.

This adds availability hovers.

With all of the directory changes it will be easier to open up a new PR. The rebase with master wants to add files in the old place.


add a staticIndexOf overload taking a pred

b2.temp reported this on 2018-12-11T09:58:48Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=19475
CC List

simen.kjaras

Description
Overloads of std.meta.staticIndexOf allow only to find an exact needle but in some case it more useful to get the index of something based on a predicate, for example to get the index of a compile time value that partially matches (e.g member value of a struct used as UDA).

It even may be better to name them firstStaticIndexOf lastStaticIndexOf

simen.kjaras commented on 2018-12-11T13:52:18Z
This can be trivially done as a combination of existing templates:

import std.meta;

enum predStaticIndexOf(alias Fn, T...) = staticIndexOf!(true, staticMap!(Fn, T));

template MoreThan2(T...) {
    enum MoreThan2 = T[0] > 2;
}

unittest {
    static assert(predStaticIndexOf!(MoreThan2, 1,2,3) == 2);
}


Separate UICollectionView update logic

Separates the UICollectionView update logic into a separate class – the HUBViewModelRenderer. Also moves the diffing of view models to right before the reload in order to avoid unpredictable behaviour caused by multiple updates happening inbetween a UICollectionView reload.
@spotify/objc-dev, @JohnSundell

Adding do not merge as it isn't tested yet


Update sbt-assembly to 2.1.1

Updates com.eed3si9n:sbt-assembly from 2.1.0 to 2.1.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.1.0).
You might want to review and update them manually.
src/test/resources/soteria_succeed_4.json
src/test/scala/com/leobenkel/soteria/Config/SerializedModuleTest.scala

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.eed3si9n", artifactId = "sbt-assembly" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.eed3si9n", artifactId = "sbt-assembly" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #269.