codec-memcache: support slice and retainedSlice

Motivations
MemcacheContent interface provides a copy method but not the copy-free
equivalent slice. Slice and retainedSlice should be supported.
Modifications
Added slice and retainedSlice methods to MemcacheContent interface and
implemented methods in class implementing said interface.
Result
Memcache content, requests and responses can be sliced.

@fabienrenaud unfortunately this is a API breaking change and so needs to target master (and so netty 5)

The MemcacheContent interface is marked with @UnstableApi, which clearly says:

Indicates a public API that can change at any time (even in minor/bugfix releases).

So I was/am hoping this particular change, scoped to the codec-memcache only, could go in 4.1.

@fabienrenaud while it is marked as @UnstableAPI we really try hard to not break stuff if not really needed. And this does not fall into the "needed" category as far as I can tell. Sorry :(

I guess I'll add utility methods for this in my project then.
Should this PR be closed?

@fabienrenaud can you do it against master ?

Superseded by https://github.com/netty/netty/pull/9186


How to make it not print the title

In some cases, I want listr to handle the task and print the title on the screen. But, in some cases I want listr to still handle the task BUT not print the title on the screen.
How can I do that?
If I use enabled options, it will not print the title on the screen, but the task is not running.

Wow, I've found this https://github.com/SamVerschueren/listr-update-renderer and fixed my issue now.


Use custom local gateway for isvc external service

What this PR does / why we need it:
InferenceService expose an option to customise the istio local gateway that is used with them, however the reconviler still points to the hard coded local gateway specified in constants. This fixes that by using the local gateway from config instead.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1383
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

@adamkgray Good catch!

/ok-to-test

/lgtm
/approve


Refactor PowerSimulations

This PR is an extensive review of the code base to clean up the current version. Please follow the list below to check for progress.

[x] Make Vars Anonymous
[x] Make Common Const Anonymous

[x] Range constraints are Anonymous
[x] Time Series limited constraints are Anonymous
[x] Semi continuous range constraints are Anonymous

[x] Make UC Constraints Anonymous
[x] Add NoMin Relaxation for Thermal Generators cc. @claytonpbarrows
[x] Make Time Constraints Anonymous (renamed as duration constraints). Implemented retrospective version of the Duration Constraints.  Assumes that the units are consistent.
[x] Make Ramp Constraints Anonymous (renamed as a rate of change constraints). Assumes that the units are consistent.
[x] Update Cost Functions

[x] Linear Cost Functions
[x] PWL Cost Functions
[x] Quadratic Cost Functions

[x] Review constructors and formulations for devices

[x] Thermal Generation
[x] Loads
[x] Renewable Generation
[x] Hydro Generation (tests missing)
[x] Branches

[x] Rate constraints for PTDF Case

[x] Storage. Tests Failing. Formulation Done.

[x] Review integration with PowerModels

[x] pass_to_pm updated to new version of branches in PowerSystems and use of canonical_model
[x] build_nip_model update using CanonicalModel
[x] Update branch to moi-2

[x] Review use of PowerModels to generate models
[x] Review network constructors. Currently there is not a way to pass a specific branch formulation.

[x] CopperPlate
[x] PTDF. Not supporting DC Lines or phase shifting dispatch yet. The PTDF implementation right now has 3 loops, this can be improved.
[x] PowerModels Networks using nip. There is one pending deprecation in the replicate.

[x] Review PTDF formulations
[x] Create Operational Models and relevant constructors
[x] Make build_model! function
[x] Add basic Operational Model Constructors

[x] ED and variants
[x] UC and variants
[x] OPF. Supports Renewable only as ConstantPowerFactor

[x]  Review tests and makes sure that the construction portions are giving the right results not just working.
[x]  Re-write unit testing following @daniel-thom guidance.
[x] Check where kwargs might be useful. Re. kwargs are only used in device constructor functions. All of these functions are named build_something!. The arguments of specific device modeling functions should be completely defined.
[x] Makes changes for StructJuMP compatibility. Needs further testing cc. @jmaack24
[x] check that the code follows http://www.juliaopt.org/JuMP.jl/dev/style/

[x] Function naming separated by _
[x] Add Returns to every function
[x] Remove long ternary operators

[x] Create a solving routine and result retrieval.
[x] Change keys in Canonical Model to Symbols instead of Strings. Implies making changes to    device constructors. Strings are not interned and are heap allocated. Using symbols will use less memory and result in faster operations.
[x] Comment out all code not in use

closes #50
closes #52
closes #62 mostly
closes #66
closes #67
closes #78
closes #83
closes #84
closes #86
closes #91
closes #94
Major changes

The inclusion of a CanonicalModel as a container of the PowerSimulations model
The inclusion of a OperationalModel as a container for the system data in use, formulation and CanonicalModel
The creation of variables has been further abstracted into a function
The creation of range constraints has been further abstracted into a function.
The creation of constraints subject to time series has been abstracted into a function.
The creation of constraints subject to intervals + 0 (commitment range constraints or transmission switching for example) has been abstracted into a function.
The creation of constraints for the rate of change of a device (a.k.a ramping)
The creation of constraints for Duration times up/down (a.k.a Min-Up/Min-Down)
Addition of a unified framework to pass initial conditions to model.
All Initial Conditions will be handled at the operational_model construction stage. A device model, which is built using the function construct_device! is assumed to have the initial conditions as part of the arguments.
Added template for structured Services Modeling

List of pending items

Pending Models
- Add More testing to the operation models
-  General branch formulations beyond rate limits
- DC Lines Models and PTDF + DC.
- Phase Shifting Dispatch
- Services. cc @claytonpbarrows
- Hydro Generation Constructors. This also requires generating some realistic data and modifying PowerSystems data containers.
- Add Rating Constraints for generation devices. Requires Changes to PowerSystems data model, should we interpret a field installed_capacity as a rating?
- Reactive Power Ramping. Requires Updates to PowerSystems generator data model.
- Handle Initial Conditions for Multiple Devices Related to #99

Pending Code fixes
- Correctly Implement Initial Conditions according to https://github.com/NREL/PowerSimulations.jl/pull/82#discussion_r260779652 . I have decided to postpone this issue until we develop the simulation stage since the initial conditions passing needs to be compatible with the format that one model passes data to other model and also with warm starting variables.  Related to #99
- Remove the Dependency on AxisArrays after updating the PTDF matrix in PowerSystems.jl. cc. @kdheepak
- Applying the style guide for SIIP.
- Add support for warm starting models.
- Check JuMP Model mode for performance improvements
- Initial Conditions passing improvements Related to #99
- Improve printing of models
- Improve Passing and handling of PM objects

Pending Miscellaneous
- Test Data System Model with all supported devices

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1a56764). Click here to learn what that means.
The diff coverage is 20.77%.

@@           Coverage Diff            @@
##             master     #82   +/-   ##
========================================
  Coverage          ?   1.61%
========================================
  Files             ?      47
  Lines             ?     991
  Branches          ?       0
========================================
  Hits              ?      16
  Misses            ?     975
  Partials          ?       0

Impacted Files
Coverage Δ

src/device_models/common/variable_cost.jl
0% <ø> (ø)

src/service_models/reserves.jl
0% <0%> (ø)

.../device_models/storage/book_keeping_constraints.jl
0% <0%> (ø)

.../device_models/hydro_generation/hydro_variables.jl
0% <0%> (ø)

...models/renewable_generation/renewable_variables.jl
0% <0%> (ø)

...vice_models/electric_loads/shedding_constraints.jl
0% <0%> (ø)

src/network_models/copperplate_balance.jl
0% <0%> (ø)

src/utils/device_retreval.jl
0% <0%> (ø)

...ce_models/thermal_generation/output_constraints.jl
0% <0%> (ø)

src/network_models/nodal_balance.jl
0% <0%> (ø)

... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a56764...d777915. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@1a56764). Click here to learn what that means.
The diff coverage is 25.73%.

@@            Coverage Diff            @@
##             master      #82   +/-   ##
=========================================
  Coverage          ?   28.99%
=========================================
  Files             ?       59
  Lines             ?      738
  Branches          ?        0
=========================================
  Hits              ?      214
  Misses            ?      524
  Partials          ?        0

Impacted Files
Coverage Δ

...vices/device_models/common/duration_constraints.jl
0% <0%> (ø)

.../device_models/hydro_generation/hydro_variables.jl
0% <0%> (ø)

...models/renewable_generation/renewable_variables.jl
0% <0%> (ø)

...e_models/renewable_generation/renewablegen_cost.jl
0% <0%> (ø)

...ces/device_models/electric_loads/load_variables.jl
0% <0%> (ø)

...devices/device_models/storage/storage_variables.jl
0% <0%> (ø)

...ices/device_models/common/timeseries_constraint.jl
0% <0%> (ø)

...s/device_models/common/rateofchange_constraints.jl
0% <0%> (ø)

...devices/device_constructors/storage_constructor.jl
0% <0%> (ø)

.../device_models/common/energy_balance_constraint.jl
0% <0%> (ø)

... and 49 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a56764...781a51e. Read the comment docs.

We can keep the PR open until Monday and then merge it to continue development of the Simulations Model

Great job on the rewrite! This looks really good!
I have more thoughts that are organizational and stylistic / syntactic preferences that I have ignored to comment over here. I think those can be addressed after this is merged. We need to rebase to latest master and squash some of these commits, which I can tackle.
I'm not able to see the code coverage for these changes. Any idea why? If the tests cover most of the new changes, I'm good with merging this and then making some additional changes. If the tests are detailed I'll have to look a little more in detail about how the different methods are being dispatched.

@kdheepak If you want to do the squashing that's ok with me.
About the tests, we need to develop actual testing. I removed the code that wasn't really testing anything. That is in the pending items in the comment.

Closing, since new PR will be merged instead of this.


Show Asset prices on kubectl

It would be really cool to support kubectl cost assets so you could see the fully cost of nodes, LBs, etc in your cluster! This is available in kubecost APIs we just need to expose to the CLI.

API reference: https://github.com/kubecost/docs/blob/master/assets.md#assets-api
Good idea. What do you think the columns of the table should be? Each asset type has different data worth displaying. Maybe we break it down further as kubectl cost assets TYPE? If we did that, we could also have kubectl cost assets just display total costs for each asset type.

My default would something similar to kubectl get nodes! So along the lines of the following:
NAME                                         STATUS   TYPE               AGE   MONTHLY COST
gke-new-kc-demo-default-pool-50db4258-2yg7   Ready    node:n1-standard   11d   $12.20
gke-new-kc-demo-default-pool-50db4258-5yga   Ready    node:n1-standard   11d   $12.20

What do you think? Might need to think more about applying this to other node types...

Looks great. I think implementing this will also serve as an opportunity to refactor out the usage of /aggregatedCostModel in favor of /allocation if we can and tie commands a little more closely to the APIs they access. With that, adding more commands could become even easier.

For separately tracking the removal of /aggregatedCostModel: https://github.com/kubecost/kubectl-cost/issues/90

With v0.2.4 the node subcommand is live. We definitely want to expand on this; https://github.com/kubecost/kubectl-cost/pull/95 should make adding more assets relatively easy.
I think a variation of @michaelmdresser's idea above is good, where we have kubectl ASSET-TYPE subcommands like we have kubectl node, as well as a general kubectl assets which gives a holistic cost breakdown by each asset type as the assets.html?agg=type kubecost page does.


give field of view as input instead of number of points

The number of points for the calculation is processed internally as a big number so that the resolution of the system is big enough (resulting in a bigger fiend of view being calculated). The resulting field is then cropped so that the requested field of view is shown.

added a function to calculate the number of divisions to show given the field of view and added the dimensions of the field to show as parameters for the psf simulator, which crops the resulting psf

After these changes, the Plot PSF profile in Console gives the error x and y must have the same first dimension, but... in Scalar Propagation mode.

Fixed by also cropping the variables used for showing the field on console


Smallest distinct window (Sliding Window)

Get the Length of the smallest window or subarray containing all distinct characters of the input string.
Mostly Asked Question in Interviews.

I would like to work on it

Hi, @SR-Sunny-Raj can you please assign this task to me?
I am participating in Hacktoberfest for the first time and am from the IT field.

Hello, Can you please assign this issue to me?
Thanks in advance :)

Hello, Can you please assign this issue to me?

Hello ,Can you please assign this issue to me? I would like to solve it .


pipewire: 0.1.8 → 0.1.9

Motivation for this change
Update
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change

[x] mutter

[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘pipewire-0.1.9’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/libraries/pipewire/default.nix:46 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
checking for references to /tmp/nix-build-pipewire-0.1.9.drv-0 in /nix/store/cb70brswsab82pa4l1ds8cl9d9pi9xsj-pipewire-0.1.9...
shrinking RPATHs of ELF executables and libraries in /nix/store/9lfv9a01wkypw5rxp1ybjxcb00xigscc-pipewire-0.1.9-dev
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/9lfv9a01wkypw5rxp1ybjxcb00xigscc-pipewire-0.1.9-dev/lib
patching script interpreter paths in /nix/store/9lfv9a01wkypw5rxp1ybjxcb00xigscc-pipewire-0.1.9-dev
checking for references to /tmp/nix-build-pipewire-0.1.9.drv-0 in /nix/store/9lfv9a01wkypw5rxp1ybjxcb00xigscc-pipewire-0.1.9-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/zlapwbqrkvljci4l53yfaf3g52r66p88-pipewire-0.1.9-doc
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/zlapwbqrkvljci4l53yfaf3g52r66p88-pipewire-0.1.9-doc
checking for references to /tmp/nix-build-pipewire-0.1.9.drv-0 in /nix/store/zlapwbqrkvljci4l53yfaf3g52r66p88-pipewire-0.1.9-doc...

@GrahamcOfBorg build mutter

Failure on x86_64-darwin (full log)
Partial log (click to expand)
error: attribute 'mutter' in selection path 'mutter' not found

@GrahamcOfBorg build gnome3.mutter

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘mutter-3.26.2’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/desktops/gnome-3/core/mutter/default.nix:7 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-darwin (full log)
Partial log (click to expand)
error: attribute 'mutter' in selection path 'mutter' not found

Failure on x86_64-linux (full log)
Partial log (click to expand)
error: attribute ‘mutter’ in selection path ‘mutter’ not found

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/lib/mutter/libmutter-cogl-1.so
shrinking /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/lib/mutter/libmutter-cogl-pango-1.so
shrinking /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/lib/mutter/plugins/default.so
shrinking /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/lib/mutter/libmutter-clutter-1.so
gzipping man pages under /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/lib  /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/libexec  /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2/bin
patching script interpreter paths in /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2
checking for references to /tmp/nix-build-mutter-3.26.2.drv-0 in /nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2...
/nix/store/lm9rmwk5jmq8yr7ayk025zh9wk62f0x9-mutter-3.26.2


Selected Node Styling & Node Click Event Handling

Firstly, this is a GREAT chart!
Now, to my questions:

Is it possible to subscribe to a click event on the node?
Is it possible to change the styling of a selected node?

Thank you, as for your questions

Is it possible to subscribe to a click event on the node?

Yes, there is a special function exposed for that. Unfortunately, it only passes the ID of the clicked node back. I forgot about this method, otherwise, I'd return the whole data object. But now you have to manually loop over your data to find the node you clicked
    chart
        .onNodeClick((d, i, arr) => {
          console.log(d, 'Id of clicked node ');
          const obj = <YourData>.filter(obj=>obj.id==d)[0];
        })

As for your second question:

Is it possible to change the styling of a selected node?

Yes, it's possible. Check out how it is done in this example.
Basically, after a node is selected, it will have two properties added _highlighted and _upToTheRootHighlighted. And you can conditionally style the node and links based on those properties inside the following methods
nodeUpdate - there is a hidden rectangle (.node-rect) which borders every node, you can manipulate this element here
nodeContent - if you want node content itself to be styled conditionally you can manipulate it here
linkUpdate - link manipulation happens here
Check how it is done in linked example

Excellent – thank you!
Steve M. King
Information Systems Manager
Division of Technology Services
Kentucky Personnel Cabinet
@.<mypurpose.ky.gov>
501 High Street | Frankfort, KY 40601
502-564-5529 | @.
[TEAM_KY_BLUE_sig]
@.https://personnel.ky.gov/pages/default.aspx @. https://www.facebook.com/kypersonnel @.*** https://twitter.com/kypersonnel @.*** https://www.linkedin.com/company/commonwealth-of-kentucky/ @.*** https://www.youtube.com/user/PersonnelKY @.*** https://public.govdelivery.com/accounts/KYPERS/subscriber/topics?qsp=CODE_RED
This communication contains confidential information and is for use by the intended recipient(s) exclusively. If you are not an intended recipient, please note that any form of distribution, copying, forwarding, or use of this communication or the information therein is strictly prohibited and may be unlawful. If you have received this communication in error, please return it to the sender, delete this communication and destroy all copies.
From: David Bumbeishvili @.>
Sent: Tuesday, August 24, 2021 2:07 AM
To: bumbeishvili/org-chart @.>
Cc: King, Steve (PERS) @.>; Author @.>
Subject: Re: [bumbeishvili/org-chart] Selected Node Styling & Node Click Event Handling (#79)
Thank you, as for your questions

Is it possible to subscribe to a click event on the node?

Yes, there is a special function exposed for that. Unfortunately, it only passes the ID of the clicked node back. I forgot about this method, otherwise, I'd return the whole data object. But now you have to manually loop over your data to find the node you clicked
chart

    .onNodeClick((d, i, arr) => {

      console.log(d, 'Id of clicked node ');

      const obj = <YourData>.filter(obj=>obj.id==d)[0];

    })

As for your second question:
Is it possible to change the styling of a selected node?
Yes, it's possible. Check out how it is done in this examplehttps://urldefense.com/v3/__https:/stackblitz.com/edit/web-platform-o5t1ha__;!!Db6frn15oIvDD3UI!28WYUiMvjijzkCtTtNsp10Hwm_T8uxqCRkRSmDd425zrsEBIcv6vaNYZ2HgWSqj-1A$.
Basically, after a node is selected, it will have two properties added _highlighted and _upToTheRootHighlighted. And you can conditionally style the node and links based on those properties inside the following methods
nodeUpdate - there is a hidden rectangle (.node-rect) which borders every node, you can manipulate this element here
nodeContent - if you want node content itself to be styled conditionally you can manipulate it here
linkUpdate - link manipulation happens here
Check how it is done in linked example
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/bumbeishvili/org-chart/issues/79*issuecomment-904349504__;Iw!!Db6frn15oIvDD3UI!28WYUiMvjijzkCtTtNsp10Hwm_T8uxqCRkRSmDd425zrsEBIcv6vaNYZ2HjQE7OBAQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AK6BGD5MMLEYTR2UC3UCKYLT6MZHVANCNFSM5CVJQOSQ__;!!Db6frn15oIvDD3UI!28WYUiMvjijzkCtTtNsp10Hwm_T8uxqCRkRSmDd425zrsEBIcv6vaNYZ2HiV1whrNQ$.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https:/apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!Db6frn15oIvDD3UI!28WYUiMvjijzkCtTtNsp10Hwm_T8uxqCRkRSmDd425zrsEBIcv6vaNYZ2HhXzgZgxw$ or Androidhttps://urldefense.com/v3/__https:/play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email__;!!Db6frn15oIvDD3UI!28WYUiMvjijzkCtTtNsp10Hwm_T8uxqCRkRSmDd425zrsEBIcv6vaNYZ2HhK_VmfIg$.

One follow-up question, if I may. How would you recommend lazy-loading? I've got a set of data (org chart) that's got around 7,000 nodes (maybe more in production). I'd rather not load them all at once.

Currently, the org chart is not optimized for lazy loading, I have that feature in mind though for the v3 version (won't be here for months (maybe a year?))
To be honest I am not exactly sure what will be the best way to use it for lazy loading.
If I had such task probably I would do the following

in onNodeUpdate - I'd attach new onclick event listener to the node
In the event handler, I'd check if we had data for it , if not would make a call and would load its children
I'd update originalData and would redraw the graph

chart.data(oldData.concat(newNodes)).render()

Awesome idea. Thank you. And could I be so bold as ask a couple of questions?
That is, is there a way to open the tree at a particular node after it loads and is there a limit on how many nodes that can be loaded or at least a maximum recommended number of nodes?
Thanks again!!

That is, is there a way to open the tree at a particular node after it loads

Yes, there is a setCentered method, which receives nodeId as an argument it centers and expands node. You should rerender the graph to make it work, it just sets the state up.
https://github.com/bumbeishvili/org-chart/blob/98850af142167ad958b25eb09e78998b1e4b885b/src/d3-org-chart.js#L1282

Is there a limit on how many nodes can be loaded or at least a maximum recommended number of nodes

There is no limit, browsers can handle about 10 000 nodes in a collapsed state and 2 000 nodes in an expanded state. It very much also depends on the content of nodes
This example has about 1500 nodes and it breaks when all of the nodes are expanded.  But I am sure this example can handle up to 3000 expanded

I guess the best for lazy loading will be to virtual scroll it. maybe save on the node the min,max values for xy of their borders and see if it's in the view + some margins.
you can also make sure not to pass a threshold of default node value (to be exposed in attrs), calculate how many levels can fit, and collapse / aggregate the other nodes to a group with number of direct children and total nodes under. i.e node that contains 5 children and total of 35 including subitems: 5 (35)

I guess the best for lazy loading will be to virtual scroll it. maybe save on the node the min,max values for xy of their borders and see if it's in the view + some margins.

That's possible, but not sure how well it will align with actual use cases

you can also expose in attrs nodeThreshold and make sure not to pass that number of nodes , calculate how many levels can fit, and collapse / aggregate the children nodes on lower level to a group with number of direct children and total nodes under. i.e node that contains 5 children and total of 35 including subitems: 5 (35)

I am not sure if I understand this idea well, can you explain it in more detail?


Is there some way to collect CPU utilization data per VS?

In the collected telemetry data, there is no CPU utilization data:
            "/CORE_9a5913ca24864de3af0e3e29099adcf6/CORE_b20c2121-d82d-4126-a33e-be1799e23e34": {
                "clientside.bitsIn": 0,
                "clientside.bitsOut": 0,
                "clientside.curConns": 0,
                "clientside.maxConns": 0,
                "clientside.pktsIn": 0,
                "clientside.pktsOut": 0,
                "clientside.totConns": 0,
                "destination": "<IP_ADDRESS>:80",
                "mr.msgIn": 0,
                "mr.msgOut": 0,
                "mr.reqIn": 0,
                "mr.reqOut": 0,
                "mr.respIn": 0,
                "mr.respOut": 0,
                "availabilityState": "offline",
                "enabledState": "enabled",
                "status.statusReason": "The children pool member(s) are down",
                "totRequests": 0,
                "name": "/CORE_9a5913ca24864de3af0e3e29099adcf6/CORE_b20c2121-d82d-4126-a33e-be1799e23e34",
                "ipProtocol": "tcp",
                "mask": "<IP_ADDRESS>",
                "pool": "/CORE_9a5913ca24864de3af0e3e29099adcf6/CORE_8ccfc435-ce81-4185-917b-c088d6fb5c8f",
                "profiles": {
                    "/CORE_9a5913ca24864de3af0e3e29099adcf6/http_profile_CORE_b20c2121-d82d-4126-a33e-be1799e23e34": {
                        "name": "/CORE_9a5913ca24864de3af0e3e29099adcf6/http_profile_CORE_b20c2121-d82d-4126-a33e-be1799e23e34"
                    },
                    "/Common/oneconnect": {
                        "name": "/Common/oneconnect"
                    },
                    "/Common/tcp": {
                        "name": "/Common/tcp"
                    }
                }
            },

I wonder if there's the way to collect that?

Are you able to use the custom endpoints feature to gather the data you need? https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/custom-endpoints.html

Custom Endpoint doesn't solve the normalization issue where the stats are reported in a different JSON tree branch from the normal VS stats.


Feature/project level execution

@JonathanRosado please add the deps, make sure make test runs within the container. Follow the instructions in the guide. You should always do this, to ensure that you have all deps in /vendor. Once you do this, ping me through slack or through here and I will continue the review. Thanks!

@JonathanRosado I noticed that the websocket code might have been added but incompletely. For instance, there is no refresh of the build queue view during the process.
I am merging this as is, but you need to submit the rest of the code asap.
Regardless, it is looking good for the project-level execution feature. I tested it manually in my local environment and it ran all tests and added the results appropriately.


Bump version and build files

Fixes issue #72 by building out dist files.
Seems to include some other language changes, so please review the output in case I messed something up?

Can this be closed? Might be out of date. The issue isn't closed though.


Changed ICA_PROJECT_ID env var to ICAV2_PROJECT_ID

Sure, have another issue to raise on the createCwlPipeline endpoint, too

Cool, yep, pls raise it, pls. Let push it through then.


Dockstore CLI error when parsing Toil WES serviceInfo response

Describe the bug
This PR introduces testing the Dockstore CLI's WES functionality against a Toil WES server: https://github.com/dockstore/dockstore-cli/pull/121. It seems that when requesting the server's info, or a list of runs, the response format is not processed correctly by the CLI.
To Reproduce
Steps to reproduce the behavior:

Navigate to the dockstore-cli repo
Navigate to the toil/ directory
Run docker compose up
Hit the service-info endpoint with curl: curl http://localhost:8080/ga4gh/wes/v1/service-info -H "Authorization: Basic dGVzdDp0ZXN0", you should see a JSON response looking like:

{
  "version": "5.7.0a1",
  "workflow_type_versions": {
    "py": {
      "workflow_type_version": [
        "3.6",
        "3.7",
        "3.8",
        "3.9"
      ]
    },
    "cwl": {
      "workflow_type_version": [
        "v1.0",
        "v1.1",
        "v1.2"
      ]
    },
    "wdl": {
      "workflow_type_version": [
        "draft-2",
        "1.0"
      ]
    }
  },
  "supported_wes_versions": [
    "1.0.0"
  ],
  "supported_filesystem_protocols": [
    "file",
    "http",
    "https"
  ],
  "workflow_engine_versions": {
    "toil": [
      "5.7.0a1"
    ]
  },
  "default_workflow_engine_parameters": [],
  "system_state_counts": {
    "EXECUTOR_ERROR": 11,
    "COMPLETE": 21,
    "QUEUED": 2
  },
  "tags": {}
}

Run the command through the Dockstore CLI with dockstore workflow wes service-info, using this config file:

[WES]
url: http://localhost:8080/ga4gh/wes/v1
authorization: Basic dGVzdDp0ZXN0
type: bearer

See the error 14:59:31.417 [main] ERROR io.dockstore.client.cli.ArgumentUtility - There was an error processing the HTTP request: Error reading entity from input stream.

Expected behavior
This may be a Toil formatting issue, not a Dockstore CLI one, but there is a similar processing error related to DNAStack: https://ucsc-cgl.atlassian.net/browse/SEAB-1141, so perhaps they are related.
If this is an issue with the Toil WES server, create a ticket with them. Make sure to include the /runs endpoint as well, which can be hit with: curl http://localhost:8080/ga4gh/wes/v1/runs -H "Authorization: Basic dGVzdDp0ZXN0"
┆Issue is synchronized with this Jira Story
┆friendlyId: DOCK-2059
┆sprint: Backlog
┆taskType: Story

This is a formatting issue already addressed on Toil's side. https://github.com/DataBiosphere/toil/issues/4069


Create HeapSort.cpp

Not accepting CPP/C DSA codes
Alternative ->
1)Create a page using HTML & CSS Add DSA problem statement and solution in that
2)You can contribute in python and java OR
Ask for an issue assign
3)Contribute to Web Project

please add hacktoberfest label


OpenAI API key format validation

Why are these changes needed?
OpenAI's API key has changed in format recently and the validation function in OpenAI doesn't accurately validate the format.
OpenAI has not published the format of the key, so information gathered so far is that it can start with:
sk-
sk-proj-
sk-None-
sk-svcaat-
This is followed by segments of alphanumeric characters (including underscores) separated by dashes.
As the exact format is not defined, the regular expression in the validation function will be expanded to support keys:

starting with sk-
followed by at least 48 alphanumeric characters (including underscores and dashes)

The tests have been updated.
Related issue number
Closes #26
Checks

[ ] I've included any doc changes needed for https://autogen-ai.github.io/autogen/. See https://autogen-ai.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

I tested this PR within my use case, where I run Autogen using uvicorn. The API key validation warning issue was resolved, and everything works as expected now. Thanks for the fix!


[libpq] Build error

Host Environment

OS:windows11 x64
Compiler: revision

To Reproduce
vcpkg.exe install osg:x64-windows
Failure logs
vcpkg-tool version: 2023-01-24-8a88d63f241d391772fbde69af9cab96c3c64c75
vcpkg-scripts version: 185a7aa23 2023-02-06 (6 hours ago)
CMake Deprecation Warning at scripts/ports.cmake:77 (message):
vcpkg_apply_patches has been deprecated in favor of the PATCHES argument
to vcpkg_from_*.
Call Stack (most recent call first):
scripts/cmake/vcpkg_apply_patches.cmake:2 (z_vcpkg_deprecation_message)
ports/libpq/portfile.cmake:100 (vcpkg_apply_patches)
scripts/ports.cmake:147 (include)
-- Applying patch patches/windows/Solution_RELEASE.patch
-- Applying patch patches/windows/python3_build_RELEASE.patch
-- Patches applied!
-- Building libpq x64-windows-RELEASE...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: E:/GitHub/vcpkg/downloads/tools/perl/<IP_ADDRESS>/perl/bin/perl.exe build.pl RELEASE libpq
Working Directory: E:/GitHub/vcpkg/buildtrees/libpq/x64-windows-rel/src/tools/msvc
Error code: 1
See logs for more information:
E:\GitHub\vcpkg\buildtrees\libpq\build-libpq-x64-windows-RELEASE-out.log
Call Stack (most recent call first):
ports/libpq/portfile.cmake:199 (vcpkg_execute_required_process)
scripts/ports.cmake:147 (include)
build-libpq-x64-windows-RELEASE-out.log

Is there somebody help me to solve it?

Is there somebody help me to solve this issues?

I changed the TMP and TEMP paths in the environment variables to pure English, then solved the problem

@KaiTang2 i dont understand what did you do ??

@KaiTang2 i dont understand how you fixed your issue ,what is it you changed about TEMP and TMP??

@tutorial19 You can find TMP and TEMP in environment variable.


Allow SScope to have unused keyword arguments

The SScope is expected to be initialized using capture_info (to have all
information present in capture_info). But capture_info might contain
more information which is not needed to initialize SScope.

Part of issue #42


Album Title View button tint color

Hello,
is it necessary to create album title view button with titleColor?
 @objc var albumTitleView: UIButton = {         let btn =  UIButton(frame: .zero)         btn.setTitleColor(btn.tintColor, for: .normal)         return btn     }()
It cancel appearance. When you write
UIButton.appearance(whenContainedInInstancesOf: [UINavigationBar.self]).tintColor = .white
then it is ignored because of this settings. It is not in navbar yet, so tint color is setted by global UIButton tint color. If I comment line setTitleColor, everything works as should.

Hi,
How can we change the title color? I am not able to change through the properties of BSImagePickerViewController's object.
Thanks in advance,
Ramgopal


Add Charles Ejiegbu

[Add profile] -> [Charles Ejiegbu]
Add Charles Ejiegbu

What does this PR do?:
Add my profile to the contributor's list

Hello @keleris32 , thanks for contributing. Some changes have been made since your last edit, could you pull the changes made to avoid conflicts, then add your own profile. If you've any issues doing that, kindly let me know. 😉

Thank you for the feedback. I have fixed the merge conflicts and updated the comment to add my own profile. Please let me know if there are further adjustments to make. Thank you


add an example of TestCaseFilter option

It's not clear how to filter tests based on Category for example
After 30 minutes recognize that this will work "--TestCaseFilter:TestCategory=Negative" even for NUnut, where instead of TestCategory used simple Category.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 54c66d2f-86f4-6472-a4c8-30e4203a10de
Version Independent ID: 224583f2-3ca3-5c97-4cd4-fcd3d6a64f91
Content: dotnet vstest command - .NET Core CLI
Content Source: docs/core/tools/dotnet-vstest.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @mairaw
Microsoft Alias: mairaw

Thanks @SychevIgor . We should add links here and here.


Deeper native implementation of go-riff with custom WAV binding

Researching available options, I'm disappointed with what's available for WAV file decoding (specifically, integer vs. float files and parsing extended metadata) therefore I'm rolling my own wav binding on top of youpy/go-riff

Resolves #23


How can I set the indent width?

Does this feature exist in Emacs orgmode core?
N/A
Orgmode link
No response
Feature value
The indentation width I am used to is 4 characters, and &shiftwidth==4. But orgmode seems to only support indentation of 2 characters, which becomes very inconvenient when I use some built-in shortcuts such as oxe to insert Effort in orgmode.
Could this plugin provide a way to configure the indent level or set indent width == &shiftwidth ?
Additional context

Things are actually aligned according to the headline. If you would have a level 3 headline like this:
*** This is headline

Next line indentation will align with the headline title:
*** This is headline
    This is content

That's just how Orgmode works. If you indent content line manually to 4 spaces, it should continue using that indentation.

Things are actually aligned according to the headline. If you would have a level 3 headline like this:
*** This is headline

Next line indentation will align with the headline title:
*** This is headline
    This is content

That's just how Orgmode works. If you indent content line manually to 4 spaces, it should continue using that indentation.

Thanks, I see the logic of the indent.


Describe ability for assign/revoke Permissions, not only Roles

What steps will reproduce the problem?
These thoughts are inspired by the article  https://habrahabr.ru/post/327170/ (Russian Article)
As matter of fact rbac/ManagerInterface implementations can assign and revoke yii\rbac\Permission objects as well as \yii\rbac\Role but this ability not clear https://github.com/yiisoft/yii2/blob/master/framework/rbac/ManagerInterface.php#L185 I think that will be right to change phpdoc like
 /**
     * Assigns a role or permission to a user.
     *
     * @param Role|Permission $item
     * @param string|int $userId the user ID (see [[\yii\web\User::id]])
     * @return Assignment the role/permission assignment information.
     * @throws \Exception if the role/permission has already been assigned to the user
     */
    public function assign($item, $userId);

and revoke method also  - For prevent strange inventions such as described in article blocking permissions
This is often used practice for simple applications when user has one Role and set of Permissions which by default may be predefined accordingly Role, but should be able for individually modification. Also this way allow to make clear interface for end-manager - open user profile and fill checkboxes with neccesary permissions instead of bulding hierarchy.

It's not advertised for a reason. Not having roles could easily make assignments unmanageable.


feat(datagrid): add callback method on expandable row

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Title of the Pull Requests
Optional callback method for datagrid expand row
Description of the Change

Addition of optional callback method onRowExpand() to handle api call or any other functionality on datagrid row expand.
Benefits

On adding the optional onRowExpand() callback method, we can handle some scenario like calling api on row expand. By doing this it can increase performance if we want to display some data which will be returned by some api.
Eg: In private network grid, we need to display Private network list with its subnet. We need to display subnet on expand of each row. If we call private network list endpoint and subnet endpoint for each private network , it will be a costly call and will hit the performance badly.
Possible Drawbacks

Couldn't  think of anything. As its an optional callback method.
Applicable Issues

Private network list page.
[MANAGER-9681]

This PR is not required anymore. So closing it.


fake doppler

Hi!
sorry if my English is bad.
Is it possible to add a fake Doppler to the simulation to make it more realistic?

You are actually manipulating doppler for specific locations. What exactly do you mean by fake doppler?

If you want to send a false signal, the transmitter is fixed. I don't think we can create a signal that looks like a real satellite that is actually moving. Therefore, we want to generate a false signal as if a fixed false signal transmitter were moving.
In other words, we think that false Doppler is a mechanism to make a fixed transmitter appear to be moving.
Sorry if I was confused.

Yes, it is definitely possible to add fake doppler the way that you've described. You will need to use advanced techniques such as the Kalman filter or machine learning models to predict the previous states and estimate the new stats.
It isn't easy to do but it is definitely possible I think

It isn't easy to do but it is definitely possible I think

Doppler shift
https://github.com/osqzss/gps-sdr-sim/issues/54


Leaderboard: Add benchmark description and citation

It would be nice to have a benchmark description somewhere on the page, e.g. here:

It could also be at the very bottom or in another tab (Benchmark Overview). I could imagine this tab also including citations (should be there somewhere) and an overview of tasks.

PR #1345 fixes this, closing


Repeated SFRs in ECD in Modules

It appears that additional-sfrs that have the same name are being repeated in the ECD Appendix.
See vpnclient (module-reform branch) for repeat of the fake FTP_VPN_EXT requirement

Turns out that if you have repeated SFRs under different bases in Modules, you have to use the notonew="true" attribute on the <f-component> to avoid each ECD entry including all the others of the same name. But you really want only one of them to appear in ECD. So, the one you want must not have the notnew="true"  and it must have a <ext-comp-def> for the Family. And all the others must have the notnew attribute set to true and not have an <ext-comp-def> for the Family.


Magneto 2.4.7 PHP 8.2

Viabill module is not compatible with magento 2.4.7 and php 8.2

Root composer.json requires magento/product-community-edition 2.4.7 -> satisfiable by magento/product-community-edition[2.4.7].

Root composer.json requires viabillhq/module-payment * -> satisfiable by viabillhq/module-payment[3.0.0, 4.0.0, ..., 4.0.35].
viabillhq/module-payment[4.0.10, ..., 4.0.18] require psr/log ~1.0 -> satisfiable by psr/log[1.0.0, ..., 1.1.4].
You can only install one version of a package, so only one of these can be installed: psr/log[1.0.0, 1.1.4, 2.0.0, 3.0.0].
magento/product-community-edition 2.4.7 requires psr/log ^2 || ^3 -> satisfiable by psr/log[2.0.0, 3.0.0].
Conclusion: don't install psr/log 3.0.0 (conflict analysis result)

Hey there, Quick update for you.
We are currently receiving an extraordinary amount of support requests, which
has delayed our response time. Please know that you are important to us, and
we'll reply to your email as soon as possible.
Thank you so much for your patience!
In the meantime, take a look at our Merchant FAQ section
https://help.viabill.com/l/en/merchant-support where you will find the answer
to most of your questions.
Commonly asked questions:

Where can I see my orders and payouts?
https://help.viabill.com/en/articles/54-where-can-i-see-my-orders-and-payouts
How do I update my banking, business, or personal information?
https://help.viabill.com/en/articles/60-updating-your-business-personal-and-banking-information

https://help.viabill.com/en/categories/10-merchant-support
Previous-message-reference: @.***>
Previous-message-reference:
@.***>
Previous-message-reference: @.***>
System user May 14, 12:44 GMT
Hi there, Thank you for reaching out to the ViaBill onboarding team.
We've received your message, and we'll be in touch within 2 business days.
Kind regards,
The Onboarding Team
In the meantime, take a look at our Merchant FAQ section
https://help.viabill.com/l/en/merchant-support where you will find the answer
to most of your questions.
Commonly asked questions:

Where can I see my orders and payouts?
https://help.viabill.com/en/articles/54-where-can-i-see-my-orders-and-payouts
How do I update my banking, business, or personal information?
https://help.viabill.com/en/articles/60-updating-your-business-personal-and-banking-information

https://help.viabill.com/en/categories/10-merchant-support
TokeSuhr May 14, 12:44 GMT
Viabill module is not compatible with magento 2.4.7 and php 8.2

Root composer.json requires magento/product-community-edition 2.4.7 ->
satisfiable by magento/product-community-edition[2.4.7].
Root composer.json requires viabillhq/module-payment * -> satisfiable by
viabillhq/module-payment[3.0.0, 4.0.0, ..., 4.0.35].
viabillhq/module-payment[4.0.10, ..., 4.0.18] require psr/log ~1.0 ->
satisfiable by psr/log[1.0.0, ..., 1.1.4].
You can only install one version of a package, so only one of these can be
installed: psr/log[1.0.0, 1.1.4, 2.0.0, 3.0.0].
magento/product-community-edition 2.4.7 requires psr/log ^2 || ^3 ->
satisfiable by psr/log[2.0.0, 3.0.0].
Conclusion: don't install psr/log 3.0.0 (conflict analysis result)
--
Reply to this email directly or view it on GitHub:
https://github.com/ViaBill-Integrations/ViaBill-Magento-2/issues/9
https://github.com/ViaBill-Integrations/ViaBill-Magento-2/issues/9
You are receiving this because you are subscribed to this thread.

Message ID:

Status on this.
We are currenty stopping cooporation with viabill vue to this.

We're in the process of updating a site and this issue is still present, preventing us from upgrading Magento.

If you're experiencing issues with Magento 2.4.7 and/or PHP 8.x, please ensure you are using our latest module version, 4.0.39. Installation can be done using one of the two methods outlined in the instructions.md file:

Via Composer
Via the app/code Folder
This module version has been tested for compatibility with Magento 2.4.7 and PHP versions up to 8.2.26. If you encounter any further issues, please let us know.

After updating the module to 4.0.39, we are now able to upgrade Magento to the latest version (2.4.7).


Health-check library is not working

Hi, I had the chance to test swapping existing Kafka health logic with your library in one of my services.
I followed the instructions provided in the README to setup the health checker. This is an excerpt:
const kafka = new Kafka(...)
const consumer = kafka.consumer({ groupId: KAFKA_GROUP_ID })
const producer = kafka.producer()

// note: the health checker must be registered before connecting the consumer and producer
const { isHealthy, isReady } = new KafkaJSHealthChecker([consumer], [producer])

await consumer.connect()
await producer.connect()

but while I was testing the health routes I received the following error:
Cannot read properties of undefined (reading 'length')

  isHealthy(): boolean {
    if (this.states.length <= 0) {
--------------------^
      return false
    }

It seems like the states variable is properly set during constructor execution, but it is not available anymore within health checker methods.

Node: v18.15.0
Kafkajs: v2.2.4

Hi!
I updated the version and now on v0.2.0 the problem should be solved.
Let me know if you find any other errors!

I can confirm it is resolved and it works. Thanks!


Update pom property fabric8.devops.version to 2.2.310

[merge] lgtm

Pull request is not mergeable.

[merge]


fontSize configuration customizations not respected.

Describe the bug
When overriding the fontSize when extending the theme, the changes are not respected, despite intellisense reading the correct updated values:
To Reproduce
Steps to reproduce the behavior:

modify your tailwindcss config to change the fontSize for a particular text class.. see my example:

module.exports = {
  content: ['./src/App.{js,jsx,ts,tsx}', './src/**/*.{js,jsx,ts,tsx}'],
  theme: {
    extend: {
      fontSize: {
        '3xl': ['30px', {lineHeight: '40px'}]
      },
    }
  },
  plugins: []
};

Restart your project, observe your intellisense to appear updated with the correct expected values:

Observe that the font size or line height changes from the config are not respected.

Expected behavior
Overrides made to the tailwindcss config (as per the documentation claiming they are the same) should be respected
Expo Snack
Unable to get tailwindcss 3.3.2 to install in snack therefore cannot show. however this is the snack I attempted to produce
https://snack.expo.dev/@shendricks-tillys/hello-world

related to #404 however not the same

@z1haze I was able to see fontSize config customizations work with<EMAIL_ADDRESS>+<EMAIL_ADDRESS>I'm using Expo Router so I followed these docs to get things setup. Then I added your customizations just as you described above and it worked.

@z1haze I was able to see fontSize config customizations work with<EMAIL_ADDRESS>+<EMAIL_ADDRESS>I'm using Expo Router so I followed these docs to get things setup. Then I added your customizations just as you described above and it worked.

This appears fixed in the v4 release


EOF and server response 500 when working with jenkins build monitor pluign

Hi,
first of all let me thank you  for the awesome piece of software that we use everywhere in our company!.
We've been having problems when using jenkins with the following plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Build+Monitor+Plugin
which actually fetches job statuses and displays them and from time to time we would get 500 response from the web server and then it stops working silently.

We've checked everything and after enabling logging with
-request-logging=true

I saw the following in the log
2015/07/01 15:44:55 reverseproxy.go:141: http: proxy error: EOF
some.ip.add.ress -<EMAIL_ADDRESS>[01/Jul/2015:15:44:55 +0000] some.host.name POST <IP_ADDRESS>:8080 "/$stapler/bound/a8679061-c79c-4afa-a8ae-e259247b2532/fetchJobViews" HTTP/1.0 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" 500 0 0.000

Can you please investigate this.
Thanks!

Hi @parabolic Glad to hear it's working well for you.
The EOF error implies it's getting that response from your upstream (jenkins). Do you have any logging on that side that might indicate a request that's dropped or timed out or .. ? Any chance this correlates to a jenkins service restart or anything like that?

Hi @jehiah thanks for the response, as far as I can see I am unable to find a 500 or an error anywhere in the logs (both jenkins and nginx )and jenkins is not restating that often once in a month maybe less. We've tried disabling the auth with specifying a regex "LIVE" which is part of the url but that doesn't load the page completely since it omits the java scripts from the plugin.

Jenkins job should read the log file if  we would get 500 response in console output from log file and then job should fail.


server 2016 preview 5 is not supported

termsrv.dll build 14300
http://tesla.math.sk/termsrv.zip

Duplicate of https://github.com/stascorp/rdpwrap/issues/79
Added your build to TODO list


Business Auth is failed for downloand

Hello ,
I am using business udemy . I can login with udemy-downloader for business . but when I cliked the download button fo lesson  , system give me the error message " You do not have permission to access this course OK" . But I can watch in the browser with my business account.

Can you share steps that how you loged in with udeler in business account. I tried and cant even login to my udemy business account.

did you solve it?

Can you share your account ? i would like download a few courses, i can do it fast I have 2gbs of internet connection.

@franknor This isn't allowed. This tool doesn't encourage sharing of downloaded courses or even credentials for that matter.   Read the disclaimer on the readme page.

I've bought the course and still I'm not able to download. Can you help? @FaisalUmair


MTV.com & MTV.ca

I am getting UNSUPPORTED URL on MTV.ca & MTV.COM
Any chance of getting this fixed Id even pay for a fix lol

Carefully read new issue template and provide all requested information.


feat: scan handwritten items

WIP

I've got the basic functionality down, but a few problems:

The extraction of items from handwriting (at least to the extent I have tested) has not been very great, at least to the point of being a useful feature. The only other option I've found is tesseract, which seems like we might have to do some training to get it to recognize handwriting (see this stackoverflow question). What would you advise?
The user can't make final picture edits; for example, cropping the picture to be able to select specific handwritten text. Should they? To what extent (what edits)?

I can't give a judgment on point 1 until I try this out.
As far as point 2, don't worry about fancy editing features for now. We can always add those later.


No print to Output panel in infinite loop

Godot version
3.4.2.stable.official
System information
Windows 10
Issue description
When using a print statement in an infinite loop, nothing will be printed to the Output panel.
If the loop breaks, all will be printed to the output panel at once.
See issue #22184 that was supposedly fixed in 3.1.2, it's the same issue I'm encountering.
Steps to reproduce
Run this script:
func _ready():
var i = 0
while true:
i += 1
print(i)
Minimal reproduction project
No response

I think this is expected, as the debugger is only able to process things every time a frame is processed. If you enter an infinite loop, there are no more frames that can be processed.

Well, I can see the output:


Allow to configure the base for Integer parsing

Checklist

[x] Are you running the latest v2 release? The list of releases is here.
[x] Did you check the manual for your release? The v2 manual is here.
[x] Did you perform a search about this feature? Here's the Github guide about searching.

What problem does this solve?
We pass a year and month as CLI flags/envs (each have their own flag/env var).
Unfortunately, when passing a month with preceding 0 like 08 for August it gets attempted to be parsed as octal, because of `strconv.ParseInt(..., 0, ...) (see https://github.com/urfave/cli/blob/b4df361387226948b6cbaf53da539e26c7562cce/flag_int.go#L47) it's set to autodetect (https://pkg.go.dev/strconv#ParseInt).
In cases where the flag or env var is set by another tool with preceding 0, this can lead to unexpected issues like https://github.com/vshn/appuio-odoo-adapter/issues/57.
If we could configure which base the parser should use, it would solve our issue.
See playground here: https://go.dev/play/p/a8VllHp_Z6D
Solution description
Add a property to all Int flags to let us explicitly configure the base for our parsing, e.g. Base or ParseBase (name tbd) that is then used in ParseInt.
Since Go's default value for Integers are 0, it would match what is currently used in ParseInt, thus I don't think it causes a breaking change.
Describe alternatives you've considered

Configure the month flag as StringFlag and do the parsing explicitly within the Before/Action functions.

Other workarounds are all outside of urface/cli:

Combine the year and month flag into a Timestamp flag with format ("yyyy-mm"), this would be a breaking change for the user.
Force any external tool (or human user) that provide the value for the month to omit leading zeroes when invoking the CLI. Depending on the tool used this might not always be possible.

In my opinion the default should be base 10 parsing and only base 10 parsing, as that is what a user would expect. Having such magic enabled by default causes unexpected reliability issues. Note that, in our case of parsing months, '01' through to '07' parse correctly, as do '10', '11' and '12'; the issue in this case is very subtle as it only applies to '08' and '09'. This is exactly why this kind of magic should not be the default.
Now I realize that changing this default behavior is a breaking change, but I think that this is something worth addressing in a major version in order to solve this problem once and for all for future users.

@ccremer Have you looked at using the cli.TimestampFlag for this purpose, you could do something like
--time 2006-01-02T15:04:05Z

@dearchap , yes I'm aware, I've listed it as a workaround in the alternatives already.

@ccremer Would you like to submit a PR for this ? Theoretically you could have your own implementation of a different base using GenericFlag. Adding it to all Int Flag types is a lot of work for us right now.

@dearchap I can try. I might be able to find a bit of time this week.

@dearchap I've opened #1464 as a start.


Use a single loco-rs dep for a whole project

With this change, users would only need to update the loco-rs dep in a single place versus to up to three previously for the saas and rest-api starters.

Fantastic. I will need to first test the release script
Will merge once I’m done today or tomorrow

What are your thoughts about disabling default features?
(defaults are default = ["auth_jwt", "cli", "with-db", "cache_inmem", "bg_redis", "bg_pg"])\
Is it possible that for example saas is not getting with-db? although I see tests are passing, so its a bit strange


is there any reason for not to automatically add the db_name + timestamp to the backup name?

Looking forward for this feature too. But for now do we have any temporary solution ? I don't want to ssh in server everytime and do backup manually. Rather I would use scheduler to schedule backup every bi weekly or weekly basis.

Here is how my implementation for auto-naming: https://gist.github.com/summerblue/e34f1c79e100c5deac20

@summerblue awesome ! Thanks.
I wish if they integrate in plugin itself though.

@mrgodhani If you don't want to create your own artisan command, you can generate the date in your cron:
php artisan db:backup --destinationPath=`date +\%Y-\%m-\%d`.sql

Fill in the other options as need...


TypeScrypt highlighting gets confused on lambda functions

From @Kelmar on July 18, 2016 1:9

VSCode Version: Code 1.3.1 (e6b4afa53e9c0f54edef1673de9001e9f0f547ae, 2016-07-12T13:35:06.227Z)
OS Version: Windows_NT ia32 6.3.9600

If you define a class method as an lambda function instead of the normal syntax the syntax highlight can get confused if you use Allman style braces instead of K&R bracing.
Steps to Reproduce:

Create a type script file and add a class.
Define a method in this class using the lambda syntax with Allman indenting:

class MyType
{
    public myFunction = (): void =>
    {
        // From this point on the syntax highlighting will be confused as to where it is.
        var myVar = 5;
        console.log("Hello there!");
    }
}

If you define a function with K&R style braces it works okay:
class MyType
{
    public myFunction = (): void => {
        // Syntax highlighting is OK now? :/
        var myVar = 5;
        console.log("Hello there!");
    }
}

Copied from original issue: Microsoft/vscode#9422

Fixed by #257


updated code to leverage Elastic Serverless on AWS and API Keys

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hemantmalik Please check-in the notebooks without the output of each cell.


Combine downsampled labelings to full images

Since the output is a downscaled image due to pooling layers, we need to feed several shifted version of the input image (here represented by pixels 1...25) in the X and Y axis. In this example the network is assumed to have a single 2 × 2 pooling layer. Downscaled predicted label planes (here in red) are then merged to get back the full resolution label plane.

745c5d422e85a14904e14831245c5099742a2c16


Laravel 5.5 Resource routing can not bind model

Q
A

Bug?
no

New Feature?
yes

Framework
Laravel

Framework version
5.5

Package version
2.0.0-alpha1

PHP version
7.0.20

Actual Behaviour
I do the following settings in the routing
$api->version('v1', ['namespace' => 'App\Http\Api\V1\Controllers'], function ($api) {
        $api->resource('applys', 'ApplysController');
});

I am on the controller below
public function destroy(Apply $apply)
    {
        return $apply;
    }

My request http://www.demo.com/api/applys/11 Get the structure is null, but in fact there is data
But when I route the following settings, the structure is normal
Route::resource('applys', '\App\Http\Api\V1\Controllers\ApplysController');

And the following is also problematic
$api->version('v1', ['namespace' => 'App\Http\Api\V1\Controllers'], function ($api) {
        $api->get('applys/{applys}', function (\App\Models\Apply $apply) {
                return $apply->id; // The big one here is null
        })
});

Laravel 5.6 same issue

The exact problem is still existing in Laravel 8

For future references,
Adding 'bindings' middleware as a group to all routes like explained here works, BUT after configuring the Kernel.php as is said here and this other change also in the Kernel.php


Fetch Bible citation text in backgroung

Currently, after selecting text, the extension decides if selection is a valid Bible reference or not and  based on this enables/disables the context menu.
I would be much easier and faster for the user, if instead, we got fetch the text in background and later on display in int the same page, in small frame above the selection.

Do you run the selected text through the ReferenceParser to determine if it's valid or not?
I could try handling this enhancement. Do you wish to fetch the citation text after selection&parsing and then show it into a frame rather than in a new tab?


Fix block structure service

this is a focused PR, based on current master.

Thank you for this work
Kevin


Show Portus version and last commit ID in WebGUI

It would be nice to know which version of Portus is running.

Thanks to the PR #707, admin users will see the version of Portus on the footer. Closing.


Check selection in BinaryGenAlgSolver

I report possible problems with selection step for BinaryGenAlgSolver.
It seems like there is no improvement after a few iterations.
For example, try to solve this objective function:
def fobj_test(x):
    answer = np.array([0]*300 + [1]*200)

    return -sum(abs(x-answer))

Here is the solver configuration:
solver = BinaryGenAlgSolver(
    n_genes = 500, # number of variables defining the problem
    fitness_function = fobj_test, # fitness function to be maximized
    max_gen = 1000,
    mutation_rate = 0.25,
    selection_rate = 0.5,
    pop_size = 50,
    selection_strategy = "roulette_wheel")

Below you can fin the results. The maximum of this fitness function would be 0,  but the best fitness is frozen at -184 within the first generations..
Notice: I am using a different initialize_population method, which I will describe in another issue.

I noticed I just had to use a lower mutation_rate , such as 0.005. Then it will evolve in the desired direction.
Sorry

Hi @mikeliux, thanks for the feedback. Yes, the mutation rate plays a big role in the convergence, and if it's too high or too low it can prevent the run to converge.
I'm a bit puzzled by your graph tough, as the max fitness should not fluctuate as shown. Due to elitism (the fact that we always keep the best result), the maximum fitness should never decrease. Did you modify anything related to this?


[idea] single command to print all system info for support reasons?

I notice on StackOverflow we often ask people for a whole bunch of system info to try and reproduce.
Would it be worthwhile to have a command to dump all system info?
We could do this in a new param anchor --support or just add it to anchor --version
% anchor --version

anchor-cli 0.30.1
solana-cli 1.18.17
cargo 1.77.2
OS: macOS 14.5 23F79

Everything comes from blah --version, except OS info comes from either sw_vers or lsb_release -a depending on what exists. We could add the PATH or whatever else.

Would it be worthwhile to have a command to dump all system info?

Could be, but not sure how useful it would be compared to sharing a link about what you're looking for. It's very likely the person won't know about this command anyway, so you'll have to ask the person about running this command instead, which is an improvement I guess.

I don't understand "sharing a link about what you're looking for".
It sounds like my description was unclear, so to restate:
BEFORE

Can you please run anchor --version, solana --version, and cargo --version, also what OS and version are you using?

AFTER

Please run run anchor --version` and paste the output here.

I don't understand "sharing a link about what you're looking for".
It sounds like my description was unclear

It was pretty clear — the link comment was about sharing a link to a previous time you've asked someone about these versions, so that you don't have to repeat yourself each time.

Before

Can you please run anchor --version, solana --version, and cargo --version, also what OS and version are you using?

After

Please run anchor --version and paste the output here.

It's very likely the person won't know about this command anyway

I feel the same, that's why my inclination is to add it to anchor --version

I'm not against it, just stating that this still results in asking the user about these versions in a slightly different way.

Oh I understand now, "Before" right now is the person trying to help saying "go https://here and run these commands and send me the output". Thanks!
Got it - some value, but not a huge amount.  Will do it if I get time.


Reorganise HUGR views

I have moved the file reorganisation out of #336. Please ignore the slightly
messy history, this will get squashed away.

As per your wise comment in #336 @acl-cqc :)

True, I've got no problem switching back to the singular view. What is your opinion @acl-cqc ?
NB The more "interesting" change is to move hierarchical views within view(s), so that #336 can add further views there.

I'm neutral on views vs view, the main bit is to move hierarchical_views :)

Also, should HierarchyView be HierarchicalView? It's not a view of the hierarchy, so we want the adjective


Rust Community team interested in helping with homu and homu.io

Hello @barosl!
It seems like you haven't had much time for homu recently. Since it's a pretty important project for our ecosystem, would you be interested in the Rust Community team helping out, or taking it over if you are no longer interested in running the service?
Thanks!
Erick

See https://github.com/barosl/homu/issues/122 - development has moved to the Servo fork.

Though homu.io seems to be a distinct thing.

Looks like very recently hosted homu (homu.io) has stopped working altogether...


Fix init issues

A few small things

Fixes shebang
Adds sources to .gitignore
Removes sources from repo

Thank you for the pull request😊


Can't initiate the FbLikeLayout

Hello, this's my code :
- (UICollectionView *)collectionView {
   if (!_collectionView) {
       CGRect collectionViewFrame = self.view.bounds;
       collectionViewFrame.size.height -= (self.navigationController.viewControllers.count > 1 ? 0 : (CGRectGetHeight(self.tabBarController.tabBar.bounds))) + 0;
       //FMMosaicLayout *mosaicLayout = [[FMMosaicLayout alloc] init];
       FBLikeLayout *layout = [FBLikeLayout new];
       layout.minimumInteritemSpacing = 5;
       layout.singleCellWidth = (MIN(self.collectionView.bounds.size.width, self.collectionView.bounds.size.height)-self.collectionView.contentInset.left-self.collectionView.contentInset.right-8)/3.0;
       layout.maxCellSpace = 2;
       layout.forceCellWidthForMinimumInteritemSpacing = YES;
       layout.fullImagePercentageOfOccurrency = 50;
       _collectionView = [[UICollectionView alloc] initWithFrame:collectionViewFrame collectionViewLayout:layout];
       _collectionView.delegate = self;
       _collectionView.dataSource = self;

   }
   return _collectionView;
}

When my App reach this line *FBLikeLayout layout = [FBLikeLayout new]; it stuck there with EXC_BAD_ACC error , how to fix it please ?

You are calling self.collectionView in the collectionView getter, and more than all BEFORE you allocate it, incurring in an infinite loop.... Man, don't open issues on something that works. Please, just see what i have done in the sample code.


Added anchor for redirecting to homepage

Added anchor for redirecting to homepage when clicking on TrendTrove , when clicking from pages like contact.

Please merge under Hacktoberfest accepted

@Tejashri-Taral please merge this

Please resolve the conflicts

@Tejashri-Taral
Hi as I am beginner to contribution , it is showing this(image), what to do inorder to resolve conflict?

conflicts resolved

Hi @shimmer12 , I appreciate your contribution! However, according to the extended GSSoC guidelines, direct pull requests should not be made without first raising an issue and getting assigned to it.
Unfortunately, I can't merge PRs that haven't followed this protocol, so please make sure to raise an issue, get it assigned, and then proceed with your PR.
Thank you for your understanding and cooperation!

I have to close this PR, Please make sure to follow guidelines

Solved issue #87


Handling of cross-origin request network timings

What happened?
Steps to Reproduce
When a cross-origin request is done (eg. example.com -> resources.vendor.com, but also example.com -> static.example.com or even localhost:3000(a webpack server) -> localhost:8080 (API server)), the PerformanceResourceTiming generated for these doesn't include most of the values by default

Note: When CORS is in effect, many of these values are returned as zero unless the server's access policy permits these values to be shared. This requires the server providing the resource to send the Timing-Allow-Origin HTTP response header with a value specifying the origin or origins which are allowed to get the restricted timestamp values.
The properties which are returned as 0 by default when loading a resource from a domain other than the one of the web page itself: redirectStart, redirectEnd, domainLookupStart, domainLookupEnd, connectStart, connectEnd, secureConnectionStart, requestStart, and responseStart.

MDN
Currently otel/sdk-trace-web addSpanNetworkEvents doesn't have any checks for this, which means 0 values get passed to span.addEvent, where timeorigin (time at which page loaded) gets added, causing times that look normal but are usually before span start:
documentLoad
span start time:<PHONE_NUMBER>581.9
fetchStart:<PHONE_NUMBER>581.9
unloadEventStart:<PHONE_NUMBER>378.3
unloadEventEnd:<PHONE_NUMBER>378.3
domInteractive:<PHONE_NUMBER>104.4

resourceFetch  (to another subdomain)
span start:<PHONE_NUMBER>106.4

fetchStart:<PHONE_NUMBER>106.4
domainLookupStart:<PHONE_NUMBER>378.3
domainLookupEnd:<PHONE_NUMBER>378.3
connectStart:<PHONE_NUMBER>378.3
secureConnectionStart:<PHONE_NUMBER>378.3
connectEnd:<PHONE_NUMBER>378.3
requestStart:<PHONE_NUMBER>378.3
responseStart:<PHONE_NUMBER>378.3
responseEnd:<PHONE_NUMBER>153.8

This sort of data isn't easy to filter out when processing is done on span level (there's no info of what is 0 value in browser), meaning simplest way to generate the request phases chart (eg. responseEnd - responseStart to calculate response duration) generating longer timings than makes sense:

Expected Behavior
Don't include values that are known to be unavailable in this case, so analysis tools could more easily handle this case differently (This might be considered a breaking change that people would be against? so I decided to first open this issue to suggest this instead of going straight to PR)
If there's too much resistance for changing current behaviour this could also be something speced out during RUM SIG and fix implemented when instrumentation follows those specs (kinda touching #3174), but as user of current instrumentation in signalfx/splunk would rather fix the current situation

This looks helpful  i support this change. Is there any process currently for introducing breaking changes? For example, this change could be based on an InstrumentationConfig option and you could give notice to folks via changeling/ release notes of the npm package.

Is there any process currently for introducing breaking changes?

I don't think there is any, as long as we have a good reason to make the breaking change. I believe if the current 0-based events are meaningless in CORS requests, it should be ok for us to not generate these events -- they are not working as expected anyways.


Problem installing v.1.8.5 on ubuntu 16.04 with ruby 2.5.1 (rbenv)

Have you tried following [the installation tutorial][tutorial]?
yes
What is the output of gem install?
$ gem install nokogiri -v '1.8.5' -- --use-system-libraries
Building native extensions with: '--use-system-libraries'
This could take a while...
ERROR:  Error installing nokogiri:
	ERROR: Failed to build gem native extension.

    current directory: /home/fabio/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/nokogiri-1.8.5/ext/nokogiri
/home/fabio/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20181106-18912-itnqgt.rb extconf.rb --use-system-libraries
checking if the C compiler accepts ... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/home/fabio/.rbenv/versions/2.5.1/bin/$(RUBY_BASE_NAME)
	--help
	--clean
/home/fabio/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
	from /home/fabio/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `block in try_compile'
	from /home/fabio/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:521:in `with_werror'
	from /home/fabio/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:574:in `try_compile'
	from extconf.rb:138:in `nokogiri_try_compile'
	from extconf.rb:162:in `block in add_cflags'
	from /home/fabio/.rbenv/versions/2.5.1/lib/ruby/2.5.0/mkmf.rb:632:in `with_cflags'
	from extconf.rb:161:in `add_cflags'
	from extconf.rb:410:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/fabio/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/nokogiri-1.8.5/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/fabio/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/nokogiri-1.8.5 for inspection.
Results logged to /home/fabio/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/nokogiri-1.8.5/gem_make.out

What are the contents of the mkmf.log file?
$ cat /home/fabio/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/nokogiri-1.8.5/mkmf.log
"gcc -o conftest -I/home/fabio/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-linux -I/home/fabio/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/home/fabio/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/home/fabio/.rbenv/versions/2.5.1/include    -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wduplicated-cond -Wno-maybe-uninitialized  conftest.c  -L. -L/home/fabio/.rbenv/versions/2.5.1/lib -Wl,-rpath,/home/fabio/.rbenv/versions/2.5.1/lib -L. -L/home/fabio/.rbenv/versions/2.5.1/lib  -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/home/fabio/.rbenv/versions/2.5.1/lib -L/home/fabio/.rbenv/versions/2.5.1/lib -lruby-static  -lpthread -ldl -lcrypt -lm   -lc "
gcc: error: unrecognized command line option ‘-Wmisleading-indentation’
gcc: error: unrecognized command line option ‘-Wduplicated-cond’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

What operating system are you using?
$ cat /etc/issue
Ubuntu 16.04.5 LTS \n \l

Comment
This seems to be similar to the issue https://github.com/sparklemotion/nokogiri/issues/1805 but my gcc seems to be correct:
 $ `gcc -print-prog-name=cc1plus` -v
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/c++/5
 /usr/include/x86_64-linux-gnu/c++/5
 /usr/include/c++/5/backward
 /usr/lib/gcc/x86_64-linux-gnu/5/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed
 /usr/include
End of search list.
^C

Same here. but ruby 2.4.3

It would also be good to check the compiler args your ruby was built with, which you can output with this command:
ruby -r rbconfig -e 'puts RbConfig::CONFIG["configure_args"]'

So to sum up what additional info would be helpful:

output of gcc -v
description of how you built your ruby, or where it was installed from (e.g., rbenv, rvm, from source, via apt)
output of ruby configure args

Thanks!

@flavorjones replying to your questions:

Can you also tell me how you built your ruby, or where you got it from?

I installed from rbenv:
$ ruby -v
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
$ rbenv version
2.5.1

It would also be good to check the compiler args

$ ruby -r rbconfig -e 'puts RbConfig::CONFIG["configure_args"]'
 '--prefix=/home/fabio/.rbenv/versions/2.5.1' 'LDFLAGS=-L/home/fabio/.rbenv/versions/2.5.1/lib ' 'CPPFLAGS=-I/home/fabio/.rbenv/versions/2.5.1/include '

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)

Is there anything more I can help you to debug it?

OK, I think I've got the answer. Looking at Ruby's configure.ac file:
https://github.com/ruby/ruby/blob/trunk/configure.ac#L506-L513
and notably commit https://github.com/ruby/ruby/commit/20685cd introduces the flags you're having issues with.
I'll also point out that because CI is running these tests on Xenial using the same gcc compiler (5.4.0), that this is something that appears to be specific to the version of Ruby you're using.
Is it possible that you downloaded a binary version of Ruby, one which was compiled with a more recent version of GCC? I have no idea how rbenv works (does it always build from source?).
My point being that you should see similar problems if you try to compile other gems with C extensions, like bcrypt. Can you check if you have similar problems with that gem?

See this stackoverflow post that seems related to what you're seeing:
https://stackoverflow.com/questions/50541061/gem-install-bcrypt-gcc-error-on-ubuntu-16-04/

@flavorjones you were totally right!
I had the same problem installing the gem bcrypt, then I tried a different approach removing the ruby 2.5.1 that I had in my pc and installing the version 2.5.3 (with rbenv), and it worked! I installed nokogiri 1.8.5 and everything is all right!
So the problem was with ruby 2.5.1 installed with rbenv.
Really thank you for your attention!

Excellent, I'm glad you were able to get it working. Thanks for closing the loop on this ticket.


Auto Focus not working / No option to set it

Just checked out the code for the multi-tracker application and compiled it to my device. When I tried to scan barcodes it failed, because there is no auto focus which makes it really hard to scan barcodes without any problems. The CameraSource class does not provide any options to set an auto focus option.

Same here. Small sized codes cannot be recognized because they are all completely blurred while camera is close or really tiny when it's away and image is sharp.

Same. Faces and some QR codes work fine but barcodes need autofocus to work as they're a lot more intricate.

Sorry about that.  We are working on adding an auto focus option to CameraSource and will let you know when a fix is available.

meanwhile, you can use this fix https://gist.github.com/Gericop/7de0b9fdd7a444e53b5a
it works for me until the library is updated.

@Aeefire How did you invoke the method in the fix? Where did you put that method? What is the value of the focusMode parameter?

Unless I'm missing something, this would also be the method to turn torch mode on.

Yes, that's the way to do it. Actually, this method I provided only does the focus thing so the Vision API could actually work, but you can change it so that it returns the Camera instance (or null on failure), then use that to modify the camera's parameters (focus, flash, etc.).

This solution does not work for me. It doesn't enable auto focus. I made sure that it is called when the camera is displaying. Besides, sometimes I am able to read 1D codes, but the raw value doesn't match the barcode value, and it returns different values every time I try to read the same barcode.

Can you post the code that you wrote to try to enable auto focus?
Note that some devices don't support camera auto focus (hardware limitation).  See the comment that I just added here:  https://gist.github.com/Gericop/7de0b9fdd7a444e53b5a

What device are you testing on? It is possible your device doesn't support continuous auto focus.
Where did you put your cameraFocus(...) call? I put it in CameraSourcePreview's startIfReady() like this:
private void startIfReady() throws IOException {
	if (mStartRequested && mSurfaceAvailable) {
		mCameraSource.start(mSurfaceView.getHolder());
		// ###### HERE IS THE FOCUS CALL ######
		MultiTrackerActivity.cameraFocus(mCameraSource, Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE);
		// ####################################
		if (mOverlay != null) {
			Size size = mCameraSource.getPreviewSize();
			int min = Math.min(size.getWidth(), size.getHeight());
			int max = Math.max(size.getWidth(), size.getHeight());
			if (isPortraitMode()) {
				// Swap width and height sizes when in portrait, since it will be rotated by
				// 90 degrees
				mOverlay.setCameraInfo(min, max, mCameraSource.getCameraFacing());
			} else {
				mOverlay.setCameraInfo(max, min, mCameraSource.getCameraFacing());
			}
			mOverlay.clear();
		}
		mStartRequested = false;
	}
}

You might also want to try to invoke the method with a direct action, like in a button's onClickListener.

That's exactly the code I am using. Probably it is because my phone doesn't support auto focus. 2D barcodes are read correctly, but 1D, when they are read, provide different values for different scans.

We have recently open sourced the CameraSource class:
https://github.com/googlesamples/android-vision/blob/master/visionSamples/barcode-reader/app/src/main/java/com/google/android/gms/samples/vision/barcodereader/ui/camera/CameraSource.java
This version has an auto-focus option.

How to call  auto-focus option of CameraSource , i'm trying to call it but getting fail...now in my case  ..onPictureTaken resulting in very poor quality  images.. can anyone help me..??

Can you post your code that creates the CameraSource and the failure messages that you are getting?

Update:
The CameraSource implementation provided by Google Play Services 8.4 includes an auto focus option.

@pm0733464 Do you have any plans to extend the official CameraSource implementation by the flash mode option that is already available in the open-source CameraSource version?

We could include the flash mode if there is sufficient demand.

I think the whole open source CameraSource could (should?) replace the official one as it offers more options to the devs.

Totally. Are there any downsides if the official CameraSource would be extended by the flash mode options?

@pm0733464 : Any progress on extending the official CameraSource by the flash mode options?

@pm0733464: Hi am using  vision api to scan barcode, as autofocus is working in samsung tab 3.. I donno how to figure it out whats the problems. but when I installed the apps present store, those are well scanning and autofocusing in my samsung tablet, I donno why google vision api is failing to do so.. please can you help me out to fix this issue.

hi, is there any solution? its a major problem for us. Only got focus by clicking to screen. Its not a good way...


Malware detected

Latest update (v0.11.0 setup.exe) got Trapmine inside according to VirusTotal.

"Trapmine" is the name of the company that provided that particular scan. Virustotal
Both of the triggers are heuristic ones. This does not suprise me since the main purpose of this app is to "spy" on Razer Synapse.
The app is open source, so you are welcome to point out the problematic part in this repo or the dependencies if you think there is one.

Just wanted to be sure, thank you!


pytorch version request

Congratulations for your work,could you update a pytorch version for the work please.Thank you,i hope to receive your answers.

Same request，thank you.

Hi, thanks for your suggestion, we have added the PyTorch request to our plan.


Move InvokeGenerator to a centralized function of Meshkit.

Current Behavior

When we run mesheryctl registry generate we InvokeGenerator directly inside the mesheryctl command rather it should be a centralized function in meshkit that can be reused in server as well.
Desired Behavior

Update meshkit to contain this functionality.
Resources

Alternatives / Additional Context

@Jougan-0 We should reassign this issue.

I'll complete this PR after adding some recent changes


Failed to pull image docker.io/pingcap/cdc-kafka-consumer:nightly

Bug Report
What did you do?
Tried to deploy cdc workflow with Kafka enabled. The workflow file I use is https://github.com/yeya24/tipocket/blob/fix/argo/workflow/cdc.yaml
NAME                                                 READY   STATUS             RESTARTS   AGE
tipocket-cdc-cdc-0                                   2/2     Running            0          18m
tipocket-cdc-cdc-1                                   2/2     Running            0          18m
tipocket-cdc-cdc-2                                   2/2     Running            0          17m
tipocket-cdc-cdc-job-hlvqt                           0/1     Completed          0          17m
tipocket-cdc-downstream-discovery-669cc48b67-qnbcn   1/1     Running            0          21m
tipocket-cdc-downstream-monitor-69f954dff4-ssvs2     3/3     Running            0          18m
tipocket-cdc-downstream-pd-0                         1/1     Running            0          21m
tipocket-cdc-downstream-pd-1                         1/1     Running            0          21m
tipocket-cdc-downstream-pd-2                         1/1     Running            1          21m
tipocket-cdc-downstream-tidb-0                       2/2     Running            0          20m
tipocket-cdc-downstream-tidb-1                       2/2     Running            0          20m
tipocket-cdc-downstream-tikv-0                       1/1     Running            0          20m
tipocket-cdc-downstream-tikv-1                       1/1     Running            0          20m
tipocket-cdc-downstream-tikv-2                       1/1     Running            0          20m
tipocket-cdc-kafka-0                                 1/1     Running            0          17m
tipocket-cdc-kafka-consumer-8nhvl                    0/1     ImagePullBackOff   0          17m
tipocket-cdc-upstream-discovery-857bb6cd45-fsbh5     1/1     Running            0          21m
tipocket-cdc-upstream-monitor-8677f7b984-md7jw       3/3     Running            0          19m
tipocket-cdc-upstream-pd-0                           1/1     Running            0          21m
tipocket-cdc-upstream-pd-1                           1/1     Running            0          21m
tipocket-cdc-upstream-pd-2                           1/1     Running            0          21m
tipocket-cdc-upstream-tidb-0                         2/2     Running            0          20m
tipocket-cdc-upstream-tidb-1                         2/2     Running            0          20m
tipocket-cdc-upstream-tikv-0                         1/1     Running            0          20m
tipocket-cdc-upstream-tikv-1                         1/1     Running            0          20m
tipocket-cdc-upstream-tikv-2                         1/1     Running            0          20m
tipocket-cdc-zookeeper-0                             1/1     Running            0          17m

Seems there is no such image docker.io/pingcap/cdc-kafka-consumer:nightly in Docker hub. @5kbpers

Could you please push the image of kafka consumer to docker.io?

@mahjonp @zhouqiang-cl Coud you please help? I don't have the permission as well

Any updates? This blocks #228

This is done. Image has been pushed to docker.io/pingcap/ticdc-kafka. I will update the image in a later PR.


Package libiwinfo required! - but it is there!?

Router TRENDnet TEW-691GR (TEW-692GR is also affected)
I'm running the LEDE snapshot image 2016.08.20 and have installed luci-ssl.
In the gui I cannot enable wlan.
In Network -> Wireless it says in a yellow box:
Package libiwinfo required!
The libiwinfo-lua package is not installed. You must install this component for working wireless configuration!
But from opkg it looks like it is there allready.
root@lede:~# opkg install libiwinfo-lua
Package libiwinfo-lua (2016-07-04-96d322d5941c57be58f8e8d5c6e2b28e90ed3598) installed in root is up to date.
root@lede:~# opkg install libiwinfo
Package libiwinfo (2016-07-04-96d322d5941c57be58f8e8d5c6e2b28e90ed3598) installed in root is up to date.
I tried reflash an install non-ssl luci. Same problem.
EDIT:
I'm on LEDE Reboot r1399 / LuCI Master (git-16.232.29304-c0af360)
Configured wireless from commandline without any issues but in luci I get Package libiwinfo required!

I'm on LEDE Reboot r1399 / LuCI Master (git-16.232.29304-c0af360)
Configured wireless from commandlien without any issues but in luci I get Package libiwinfo required!

@jow- The error is related to the new shared build and the fact the mipsel_74kc is used by brcm47xx and rt3883. Therefore the wl iwinfo backend will be included for the rt3883 devices without have the wl kmod(?).
Long story short, libiwinfo needs a PKG_FLAGS:=nonshared.
root@lede:~# ldd /usr/lib/lua/iwinfo.so
        ldd (0x5558e000)
        libuci.so => /lib/libuci.so (0x773bc000)
        libiwinfo.so => /usr/lib/libiwinfo.so (0x773a0000)
        liblua.so.5.1.5 => /usr/lib/liblua.so.5.1.5 (0x77372000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7734e000)
        libc.so => ldd (0x5558e000)
        libubox.so => /lib/libubox.so (0x77334000)
        libnl-tiny.so => /usr/lib/libnl-tiny.so (0x7731c000)
Error relocating /usr/lib/lua/iwinfo.so: wl_ops: symbol not found

root@lede:~# lua -l iwinfo
lua: error loading module 'iwinfo' from file '/usr/lib/lua/iwinfo.so':
        Error relocating /usr/lib/lua/iwinfo.so: wl_ops: symbol not found
stack traceback:
        [C]: ?
        [C]: ?
        [C]: ?
root@lede:~#

Spot-on, @mkresin :) I pushed a fix to the tree.

Confirmed. Working in r1442.


[swift] New store plugin 'swift': for OpenStack Swift/Rackspace Cloud Files

To dev/test this via ./bin/dev-setup, replace:
echo "store=$store"

with:
store=$( $shieldcomm create store <<MEEP1 | $jqcomm .uuid
{
  "endpoint": "{\"auth_url\":\"https://identity.api.rackspacecloud.com/v2.0\",\"project_name\":\"xxx\",\"username\":\"xxx\",\"password\":\"xxx\",\"container\":\"bucket\",\"debug\":false}",
  "name": "DevSwift",
  "plugin": "swift",
  "summary": "Rackspace Swift objectstorage"
}
MEEP1 )
echo "store=$store"

Can you vendor the openstack deps?

@jhunt done, thx for reminder

@jhunt bump

It's on my radar for this week, don't you worry.


Cannot drag and drop files onto application icon on macOS

https://github.com/glfw/glfw/issues/1458

Darby, is this on macOS Catalina?
If you are on Catalina: I experienced DJV not keeping settings like "Language" or "Recent" when restarted. Can you reproduce?
Seems to be all about permissions. Them Cupertino guys messed up a lot of things with Catalina ...

I believe it is all versions of macOS; the underlying toolkit I am using (GLFW) doesn't have support for it yet. This may be fixed in their next version in which case I'll upgrade. It does seem to work on Windows though I haven't tried it on Linux yet.

I haven't tried it on Linux yet.

I have no such issues on Linux.


Download SeedImage's checksum

SURE-8889
Part of https://github.com/rancher/elemental-operator/issues/823
SeedImage.status.checksumURL has been added (gate to elemental-operator >= v1.6.5 ) to provide a checksum of the built image artifact.
It does follow the same rule as downloadURL, so the SeedImage Ready condition has to be true for this field to be usable.
status:
  checksumURL: https://<IP_ADDRESS>.sslip.io/elemental/seedimage/wr9xntd96nj6c6rztcfcsfnbtgb7xpz47fxb9dhp4mkjj27cttmxkf/fire-nodes-2024-08-22T07:48:10Z.iso.sha256
  downloadURL: https://<IP_ADDRESS>.sslip.io/elemental/seedimage/wr9xntd96nj6c6rztcfcsfnbtgb7xpz47fxb9dhp4mkjj27cttmxkf/fire-nodes-2024-08-22T07:48:10Z.iso

The request is to be able to download this checksum from the UI as well, as it is for the image artifact.

@kwwii we are going to need UX help on this one

@kwwii any feedback in terms of UX?


replace np.bool with np.bool_

FIXES: #5
Replaces the now depreceated np.bool with the legacy np.bool_.
I also tried the preferred use of Python bool and this appeared to work ok in my limited testing.

Superceeded by #8


Add GetApprovalPrompt to SecretStore interface

r? @maxtaco
darwin:  Save in Keychain
win/linux: Remember login key
android: Store secret in Android's KeyStore

Let's give this a shot and see how we like it. 👍


fix invocation.getServiceKey maybe null

What is the purpose of the change
fix invocation.getServiceKey maybe null

Codecov Report

Merging #12425 (20c1962) into 3.2 (b1612b9) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #12425      +/-   ##
============================================
- Coverage     69.30%   69.23%   -0.07%
  Complexity        2        2
============================================
  Files          1613     1613
  Lines         66512    66512
  Branches       9755     9755
============================================
- Hits          46094    46051      -43
- Misses        15964    15997      +33
- Partials       4454     4464      +10

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