AttributeError: 'MultiPolygon' object has no attribute 'exterior' / TypeError: 'MultiPolygon' object is not iterable

When using geoplot with a geopandas dataframe containing MultiPolygon objects in its geometry field, geoplot fails to correctly iterate over the MultiPolygon, and then treats it as a single Polygon, resulting in errors.
The fault lies in e.g. https://github.com/ResidentMario/geoplot/blob/2da7dc7392d0c7525db7585fd741e95c124fe5c6/geoplot/geoplot.py#L885
The correct way to iterate over a MultiPolygon is by accessing its geoms attribute, rather than directly iterating over the object.
I am using shapely version 2.0.1, I believe this is the package is what's causing the issue. When downgrading to shapely==1.7.1, the problem is alleviated.
Potential fixes:

use the geoms attribute
pinning the shapely version

I wouldn't mind making a PR to implement a fix

I've run into this too, and it'd be great to have a fix!

I can try to fix it. It need a proper test/assertion for a MultiPolygon objects, instead of a so called "Duck test" in line 884


D5 - 2. Architecture

2. Architecture
Present a diagram of the high-level architecture of your system. Use a UML package diagram to describe the main modules and their interrelation. Please check these examples. Make clear the layers of your architecture (if they exist) as described in Multi-Layered Application: UML Model Diagram Example.
Provide a brief rationale of your architecture explaining why you designed it that way.
Grading criteria (5 points): Adequate use of UML; Adequate design of an architecture for the system; Adequate description of the rationale.

I  finished this

Reopening this issue since the pull request for this #138 is not closed.


we should disconnect points beyond a certain distance

So it seems that the UMAP assumption that our manifold is connected has a small problem when confronted with some interesting class of real world data.  It is particularly noticeable when dealing with bounded distances such as Jaccard, Hellinger, etc...
In those distance measures you can (and do) get points what have no features in common with any other point and thus have a maximal distance of 1 to every other point.  We will calculate their k-nearest neighbours (a random selection of k equidistant points) and then apply the UMAP kernel to induce a similarity over those edges.  Because each of those points are equidistant (dist=1) they will all be called maximally similar.  Too many of these points will pull together random sets of points and distort the manifold you are trying to learn.
An easy solution to this would be to add a new parameter disconnection_distance to our UMAP model which prunes edges greater than that distance from our knn graph before applying the UMAP kernel.  This may trim some edges from some points and fully disconnect other points from our manifold entirely.   I'll add a variable severity warning depending on what proportion of your vertices are fully disconnected.  I propose having a dictionary of bounded metrics (DISCONNECTION_DISTANCES) which defaults our disconnection_distance to the maximal value for our bounded distance measures.  Otherwise it should default to np.inf (anything that a distance function declares as np.inf apart from something else should never be connected to it.  As we support new bounded metrics we should go through and add them to this dictionary.
This will result in disconnected vertices being embedded via the spectral intitalization (or random initialization) then slowly getting pushed away from all other points.
I'll add a umap.util.disconnected_vertices(model) function as well for easy post modeling access to which vertices were disconnected.  That should let people easily either filter them and re-run UMAP or just filter them out in the plotting via the subset_points functionality.

Hi @jc-healy. Apologies for my lack of understanding, but would you mind explaining how this parameter can be used (if at all) when using umap for outlier detection? When you say "points what have no features in common with any other point", could you also be referring to outliers? If so, can we say that this is an important parameter to tweak in the modelling?

Hi @jc-healy. Apologies for my lack of understanding, but would you mind explaining how this parameter can be used (if at all) when using umap for outlier detection? When you say "points what have no features in common with any other point", could you also be referring to outliers? If so, can we say that this is an important parameter to tweak in the modelling?

Hi there.  My short answer is that I know it is important in case of
bounded distances and we currently default it to 1 (max) for those
distances.  Such points are extreme outliers and typically have a
significant effect on an embedding.  If I missed one of the bounded
distances that we support then we should add a new default to the
dictionary of defaults.  If a user specifies a bounded custom distance then
they probably set the value to the maximal value of their distance
measure.  In other cases I'm less confident that it will be an important
value.  We've defaulted the value in what I see as the most important use
case and I'm always hesitant to suggest that users play with too many knobs.
The basic use case is to better deal with points that are infinite (or
maximally) distant from all other points.  The problem really arises when
you combine nearest neighbour algorithms with points that are infinitely
(or maximally) far from all other points.  For such points a nearest
neighbour algorithm will select n_neighbours points at random and connect
this point to those points.  The big difficulty arises from UMAP's notion
of each point being locally connected to at least one point.  From our
extreme outliers perspective every point in our data is maximally similar
to them.  This artificially ties our space together and can embed an
extreme outlier next to real data.  That's doubly bad in that we've
distorted our space, which is bad and lost credibility with our users by
implicitly lying to them about two points being similar.
You are very correct that the effect I'm really discussing is just an
extreme case of outliers. Because of the variety of distance functions we
support in UMAP and the variety of use cases for our algorithm, I thought
it would be wise to include a parameter which would allow a user to specify
any distance beyond a certain value to be essentially infinite.   If you
have other outliers in a continuous space that are quite far from all the
rest of your data then you might hit a bit of a similar problem.  I suspect
it would be less extreme for a couple of reasons. First in a continuous
space you are less likely to have ties for your nearest neighbour.  Second
you aren't going to be connecting a random selection of other points.
That said, your idea definitely has merit as such outliers can definitely
impact your embedding.  One way to deal with these outliers might be to
look at the distribution of the distance from each point to its nearest
neighbour in high space and decide that any distances above a certain value
should be considered infinite (i.e. disconnected).  This would allow a user
to cut those points free from their manifold declaring them as outliers and
eliminating their impact on the rest of their data.  Another method might
be when visually inspecting your data you could manually identify points
that you feel are outliers.  You could then go back and look at their
distance to their nearest neighbours and use them as a means of calibrating
that suggested threshold. I haven't done any experiments around this
concept but I certainly think it's an interesting generalization of these
extreme outliers and would be worth someone looking into.
One could always examine these effects via synthetic data sets which would
be interesting.  I'd really love to know if folks encounter such outliers
that are having extreme effects on their data in real world data sets.
On Tue, Jan 12, 2021 at 6:07 AM nrcjea001<EMAIL_ADDRESS>wrote:

Hi @jc-healy https://github.com/jc-healy. Apologies for my lack of
understanding, but would you mind explaining how this parameter can be used
(if at all) when using umap for outlier detection? When you say "points
what have no features in common with any other point", could you also be
referring to outliers? If so, can we say that this is an important
parameter to tweak in the modelling?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/umap/issues/523#issuecomment-758583132, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IUWRTYZZBSW7DUIATORDSZQUNZANCNFSM4T2JORMA
.

Hi there.  My short answer is that I know it is important in case of
bounded distances and we currently default it to 1 (max) for those
distances.  Such points are extreme outliers and typically have a
significant effect on an embedding.  If I missed one of the bounded
distances that we support then we should add a new default to the
dictionary of defaults.  If a user specifies a bounded custom distance then
they probably set the value to the maximal value of their distance
measure.  In other cases I'm less confident that it will be an important
value.  We've defaulted the value in what I see as the most important use
case and I'm always hesitant to suggest that users play with too many knobs.
The basic use case is to better deal with points that are infinite (or
maximally) distant from all other points.  The problem really arises when
you combine nearest neighbour algorithms with points that are infinitely
(or maximally) far from all other points.  For such points a nearest
neighbour algorithm will select n_neighbours points at random and connect
this point to those points.  The big difficulty arises from UMAP's notion
of each point being locally connected to at least one point.  From our
extreme outliers perspective every point in our data is maximally similar
to them.  This artificially ties our space together and can embed an
extreme outlier next to real data.  That's doubly bad in that we've
distorted our space, which is bad and lost credibility with our users by
implicitly lying to them about two points being similar.
You are very correct that the effect I'm really discussing is just an
extreme case of outliers. Because of the variety of distance functions we
support in UMAP and the variety of use cases for our algorithm, I thought
it would be wise to include a parameter which would allow a user to specify
any distance beyond a certain value to be essentially infinite.   If you
have other outliers in a continuous space that are quite far from all the
rest of your data then you might hit a bit of a similar problem.  I suspect
it would be less extreme for a couple of reasons. First in a continuous
space you are less likely to have ties for your nearest neighbour.  Second
you aren't going to be connecting a random selection of other points.
That said, your idea definitely has merit as such outliers can definitely
impact your embedding.  One way to deal with these outliers might be to
look at the distribution of the distance from each point to its nearest
neighbour in high space and decide that any distances above a certain value
should be considered infinite (i.e. disconnected).  This would allow a user
to cut those points free from their manifold declaring them as outliers and
eliminating their impact on the rest of their data.  Another method might
be when visually inspecting your data you could manually identify points
that you feel are outliers.  You could then go back and look at their
distance to their nearest neighbours and use them as a means of calibrating
that suggested threshold. I haven't done any experiments around this
concept but I certainly think it's an interesting generalization of these
extreme outliers and would be worth someone looking into.
One could always examine these effects via synthetic data sets which would
be interesting.  I'd really love to know if folks encounter such outliers
that are having extreme effects on their data in real world data sets.
On Tue, Jan 12, 2021 at 6:07 AM nrcjea001<EMAIL_ADDRESS>wrote:

Hi @jc-healy https://github.com/jc-healy. Apologies for my lack of
understanding, but would you mind explaining how this parameter can be used
(if at all) when using umap for outlier detection? When you say "points
what have no features in common with any other point", could you also be
referring to outliers? If so, can we say that this is an important
parameter to tweak in the modelling?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/umap/issues/523#issuecomment-758583132, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IUWRTYZZBSW7DUIATORDSZQUNZANCNFSM4T2JORMA
.

Thanks for the detailed response. It makes a lot more sense now

Thanks for the detailed response. It makes a lot more sense now


could not find function parse gctx

Hi @wangyanmin123, could you please provide a bit more context?


[feat] Quests address hex checker

This issue is to create functionality on the quest's input validator to ensure that addresses match the correct format.
Please create a check to ensure the address is in hex format.
References

Address checker logic

I'm interested


Logo missing at Hitachienergy

ENVIROMENT: production
COMPANY: Hitachienergy
URL: Hitachienergy peviitor.ro
Company's Career website: Hitachienergy official website
Browser: Google Chrome
Device: laptop
OS: MacOS
Precondition:
The site must be open in browser.
Steps:
Click on Firme from footer.
Enter Hitachienergy in the search bar.
Click the button under the company's logo.
Expected result:
You can see the company's logo.
Actual result:
The company's logo is missing.

am adaugat linkul logo-ului in cod


Changed Lookahead to support multiple fields

Fixes #573

You are right, I really didn't think about this. 👏🏻

If you are free, please help update CHANGELOG. 🙂

No worries, have added

Thank you so much! 😁


learn.microsoft.com ➟

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: dec166ea-3192-50ac-a930-f2185226801f
Version Independent ID: a7055048-1b57-b2dc-78ae-6786d8765467
Content: WebView2 Roadmap - Microsoft Edge Developer documentation
Content Source: microsoft-edge/webview2/roadmap.md
Service: microsoft-edge
Sub-service: webview
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Closing as incomplete. Please feel free to add more information if you have any and we can re-open the issue.


Incorrect type signature.

drawGraph should be (I assume) Gr (AttributeNode v) (AttributeEdge e), not Gr (AttributeNode v) (AttributeNode e). Same for getGraph.

Closed by #5 .


Unable to parse cabal file

Since there are no instructions specifically for Mac, I tried to install it with:
$ git clone https://github.com/haskell/haskell-ide-engine
$ cd haskell-ide-engine && make build-all

but the make build-all command fails with
Unable to parse cabal file for base-noprelude-<IP_ADDRESS>@sha256:dcd5ece10257f79fa16e207d558b31ab3467b205adae5d1976abdee28b1c8b4a,6845: NoParse "reexported-modules" 42
Unable to load cabal files for snapshot

How do I fix this (or how to build it correcly)?

What version of cabal/stack do you have installed?
stack --version cabal --version

$ stack --version
Version 1.6.3, Git revision b27e629b8c4ce369e3b8273f04db193b060000db (5454 commits) x86_64 hpack-0.20.0

Run stack upgrade, HIE currently requires stack 1.9.3 to build correctly

@TheRealC05 P.S let me know if that fixes it for you!

It does


Gradle + Boot + SpringLoaded = confusion

I've been trying to get hot swapping to work with Gradle, Spring Boot and Spring Loaded for three days.
First, I followed the directions for IntelliJ with no luck. Server starts, I change a domain object and nothing happens.
http://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html#howto-reload-springloaded-gradle-and-intellij
I then tried the same approach as above, but on the command line using gradle bootRun. Same results.
I attempted to get it working in Eclipse and quickly remembered why I stopped using Eclipse.
As a final attempt, I ran
gradle bootRun -javaagent:<path-to>/springloaded-1.2.3.RELEASE.jar -noverify which failed with > Unknown command-line option '-j'.
Are there known problems with the approach I am taking, or is there something I am missing?

You shouldn't pass -javaagent to bootRun via cmdline. spring boot plugin should automatically detect if spring-loaded is present.
I've tried to document setup for jhipster-loaded: https://github.com/jhipster/jhipster-loaded/wiki/Usage
Plain spring-loaded configuration should be similar (of course you would remove jhipster specific libs and properties - the ones that start with hotReload). It should give you a hint how to setup your gradle.

http://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html#howto-reload-springloaded-gradle-and-intellij

Since this link no longer works - you can replace current with the version of the spring plugin youre using:
https://docs.spring.io/spring-boot/docs/1.5.9.RELEASE/reference/html/howto-hotswapping.html


Need updated instructions; UI is no longer the same as in the screenshots.

Screenshot doesn't match what I see in PowerBI.  There's no "Edit Queries" button.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4ea0d834-cf02-7769-9bc1-e71f53d34743
Version Independent ID: b3ba5a41-079b-7c65-8fb9-c1a956a46f4a
Content: Quickstart - using Power Query in Power BI
Content Source: powerquery-docs/power-query-quickstart-using-power-bi.md
Service: powerquery
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi @FelixMycinian -
Thanks for your feedback. This article has been completely rewritten from the ground up with up-to-date screenshots.


Firefox Android & Samsung Browser supports prefers-reduced-motion media query

The newest versions of Firefox for Android and Samsung Browser supports the prefers-reduced-motion media query.
This is tested manually with the caniuse test, and it makes sense when you look at what engine version they're based on.
Also just removed a comment that isn't used and added the Chrome ID.

Thanks!


Docs link broken

Same issue as here: https://github.com/sciris/sciris/issues/593
The hard link here no longer works since it's missing _autosummary. But better solution would be to remove _autosummary as part of the docs build URL.
@RCarter-IDM, let me know if you know how to do this! Otherwise I'll poke at it.

FYI that link works for me, @cliffckerr - has this been resolved?

@cliffckerr @RCarter-IDM closing this issue - feel free to re-open if i'm in the wrong here.

Sorry, I meant the hard link on that page:
https://docs.idmod.org/projects/fpsim/en/latest/tutorials/T2_scenarios.html
which is still a 404.

@cliffckerr, @MObrien-IDM, sorry for delayed reply (apparently I wasn't receiving email GitHub notifications earlier). @cliffckerr, no, I don't know the resolution for this - so, brining in @JSchripsema-IDM who has more experience/knowledge with this.

No worries @RCarter-IDM , I think we discussed it already and the solution isn't obvious. But I'll try to get to it before the Symposium :)

@cliffckerr  I'm not sure of the exact issue you're hitting since autosummary should only create the index pages for autogenerated API reference content, not subsections of scenario/tutorial or other manually written RST files. If you want to remove those index pages across all FPsim docs, you can use apidoc instead to generate API reference content (https://romanvm.pythonanywhere.com/post/autodocumenting-your-python-code-sphinx-part-ii-6/). It's what most of the non-Starsim docs use, so you can take a look at emodpy or another package for an example of how to configure it. You can manually create anchor links using the ref directive (https://www.sphinx-doc.org/en/master/tutorial/narrative-documentation.html#adding-cross-references) if you want to just fix the broken link on that page.

Sorry, I posted in the wrong URL a second time :joy:
The current link in the tutorial is:
https://docs.idmod.org/projects/fpsim/en/latest/fpsim.scenarios.html#fpsim.scenarios.Scenario
The actual URL is:
https://docs.idmod.org/projects/fpsim/en/latest/api/_autosummary/fpsim.scenarios.Scenario.html
I want the URL to be:
https://docs.idmod.org/projects/fpsim/en/latest/api/scenarios.Scenario.html
Or equivalently:
https://docs.fpsim.org/api/scenarios.Scenario.html
But yes I'll look at apidoc to see if that will fix the issue (and same with the other Starsim+ tools; see identical issue here: https://github.com/sciris/sciris/issues/593, which mentions emod_api).

Yeah, I think using apidoc will be the solution (emod_api uses that). Autosummary gives you the nice index page (https://docs.idmod.org/projects/fpsim/en/latest/api/_autosummary/fpsim.base.html#module-fpsim.base) but does make the URLs weird. This is an issue that'll only appear in the .ipynb files since you can't use the Python cross-referencing syntax that Sphinx will compile as part of the build and must use the full URL  (syntax would be :py-func:fpsim.scenarios.Scenarios)

Just did the quick fix. Closed by #445 (well actually #447)


Allow user to see HP/EXP values

I think the best way would be to have a hover and/or focus event for showing a popup with the hp values.
That same component could be used for attack, for example, and show the breakdown of why the player has their total attack.

This would probably cause a discrepancy between web and mobile. On the web the user would have to hover, while on mobile it would most likely end up having to be a touch. Perhaps bars can be done away with entirely:

Or maybe the percentage and numeric values could be toggled between:

Hmm, yeah I can understand how hovering might make it hard on mobile. Your suggestions might be the easiest way to accomplish this goal. However, I still think we could try a focus event to show more details. I think that could work on mobile.
Or maybe, since we might want more stats in the future, it might make sense to only show a few stats at a glance. Then allow for another dialog to see stats and exact numbers for exp and hp?


stripper() function doesn't remove HTML entities

Given the following HTML string <b>Tea & coffee</b>:
when rendered we get:
"Tea & coffee"
when calling the stripper() method and rendered we get:
"Tea & coffee"
I would expect the HTML entities to be decoded, so when rendered:
"Tea & coffee"
I can't see any use case where I would want an NSAttributedString that has been stripped of HTML formatting to show HTML entities which are by definition HTML.

html stripper function is Powered by this repo https://github.com/alexisakers/HTMLString/tree/main
I would try to upgrade dependency to the lates version.


"Called with too few arguments" for declared %checks function

declare function test(n: Object, opts?: Object): boolean %checks (typeof n === 'string');

test({});  // function call. Called with too few arguments

Try

This works now in latest version 0.138.0


./sudoku -s  clears terminal

The following command deletes the terminal. Flag based commands shouldn't do this.

Solved issue in V1.1.0


fix 1816 issue, riak 2.x returns undefined in json instead of zeroes

bug fix for https://github.com/bosun-monitor/bosun/issues/1816 because riak 2.1.4 returns json with 'undefined' in some fields values instead of zeros

merged in d3bfdea


What is "ENABLE SERVER SNIPPETS" in VS CODE Dart?

Please elaborates its purpose, I cant find any thing on it.

If you read the documentation in the VS-Code settings, it says:

Dart: Enable Server Snippets

[ ] This setting is currently unused and should be left set to 'false'. It will be updated an enabled by default in the future.

So: It apparently (currently) does nothing. If you want to know what it's intended for, you should ask the DartCode project directly.


version: 0.31.0 -> 0.32.0

New release for  use in ftdi-embedded-hal.

Great !
I will push dependencies updates into https://github.com/ftdi-rs/ftdi-embedded-hal/pull/2 pull-request as soon as you publish this release.
Regards,
Sergey

Rebased to update the changelog date for today, everything else is the same, will merge when CI passes.


picubes install problem

Hi, I tried to install and I got these errors :
pi@raspberrypi:~ $ npm install node-red-picubes

<EMAIL_ADDRESS>install /home/pi/node_modules/node-picubes
node-gyp rebuild

make: Entering directory '/home/pi/node_modules/node-picubes/build'
CXX(target) Release/obj.target/addon/addon.o
In file included from ../../nan/nan.h:182:0,
from ../addon.cc:9:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocalv8::Object Nan::CloneElementAt(v8::Localv8::Array, uint32_t)’:
../../nan/nan_maybe_43_inl.h:221:58: warning: ‘v8::MaybeLocalv8::Object v8::Array::CloneElementAt(v8::Localv8::Context, uint32_t)’ is deprecated (declared at /home/pi/.node-gyp/7.10.0/include/node/v8.h:3346): Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:188,
from ../addon.cc:9:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBasev8::BooleanObject::return_t Nan::imp::Factoryv8::BooleanObject::New(bool)’:
../../nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Localv8::Value v8::BooleanObject::New(bool)’ is deprecated (declared at /home/pi/.node-gyp/7.10.0/include/node/v8.h:4490): Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).Asv8::BooleanObject();
^
In file included from ../addon.cc:9:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:590:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../../nan/nan.h:590:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../../nan/nan.h:591:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../../nan/nan.h:596:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../../nan/nan.h:596:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../../nan/nan.h:601:20: error: variable or field ‘AddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../../nan/nan.h:601:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../../nan/nan.h:602:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../../nan/nan.h:607:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../../nan/nan.h:607:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Localv8::Object, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:1933:16: warning: ‘bool v8::Object::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute)’ is deprecated (declared at /home/pi/.node-gyp/7.10.0/include/node/v8.h:3026): Use maybe version [-Wdeprecated-declarations]
, attribute);
^
addon.target.mk:98: recipe for target 'Release/obj.target/addon/addon.o' failed
make: *** [Release/obj.target/addon/addon.o] Error 1
make: Leaving directory '/home/pi/node_modules/node-picubes/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:194:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.9.24-v7+
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node_modules/node-picubes
gyp ERR! node -v v7.10.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
/home/pi
└─┬<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
npm ERR! Linux 4.9.24-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-picubes"
npm ERR! node v7.10.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-picubes package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs node-picubes
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls node-picubes
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/.npm/_logs/2017-05-17T23_39_09_546Z-debug.log
pi@raspberrypi:~ $ npm bugs node-picubes

This issue is fixed now!


Minor Typo (tf.logging.info)

May be not worth a ticket, but just wanted to bring it to attention. I guess it must be tf.logging.info as opposed to "into".
https://github.com/tensorflow/tensor2tensor/blob/6a7ef7f79f56fdcb1b16ae76d7e61cb09033dc4f/tensor2tensor/utils/get_rouge.py#L49

Thanks @repoloper -- would you like to contribute by sending a pull request :) 👍

Sure. Will do!

Thanks @repoloper -- looking forward to it!

Thanks @repoloper ! Marking as closed now.


Visual Studio 2015 with TypeScript 2.1.4 extension provides incorrect "Cannot find module" Intellisense

TypeScript Version:  2.1.4
Code
Any package will do, as long as you don't install the @types for the said package. (According to https://blogs.msdn.microsoft.com/typescript/2016/12/07/announcing-typescript-2-1/ it's now possible.)
import * as uib from 'angular-ui-bootstrap';

Using tsc from the project root folder compiles the source without issues.
Expected behavior:
No squiggly line because angular-ui-bootstrap is installed in my node_modules folder and the source can be compiled by tsc without errors.
Actual behavior:
Visual Studio gives you squiggly red lines: Cannot find module 'angular-ui-bootstrap'
Interestingly, the import syntax which lets you import a module without using it as a variable does not cause squiggly lines:
import 'bootstrap-sass/assets/javascripts/bootstrap';

Also, Visual Studio Code does not give squiggly lines.

I have the same issue. Spent a couple of hours trying to fix it and didn't get anywhere.

Very annoying problem. It can be solved by restarting VS.


FastAccelStepper 0.29.0

Describe the problem
The library manager log is:
2023/05/08 21:17:39 Checking out tag: 0.28.4
2023/05/08 21:17:40 Release FastAccelStepper:0.28.4 already loaded, skipping
2023/05/08 21:17:40 Checking out tag: 0.29.0
2023/05/08 21:17:40 Release FastAccelStepper:0.28.4 already loaded, skipping

Why is the last line not 0.29.0 ?
To reproduce
rerun library manager !?
Expected behavior
Library manager updates FastAccelStepper to 0.29.0
Additional context
I have checked #1552 stating wrong version in library.properties.
But the library.properties of the tagged commit is updated to 0.29.0
So #1552 does not apply
Issue checklist

[X] I searched for previous reports in the issue tracker
[X] My report contains all necessary details

Same happened again for 0.29.1

any chance to get this solved as my users are stuck on 0.28.4.
There is no issue with platformio. So I only can advise my users to switch away from Arduino IDE.

Hi @gin66. Thanks for your report. I will investigate this problem as soon as I can find the time and report back then. Please be patient.

0.29.2 is now out and 0.29.3 is in preparation.
Any update ?


Moving external childresource to resources package

The redis fluent implementation require scheduler to be modeled as external child resource so moving the base classes related to external child resource from compute to resources package.

/cc @martinsawicki @jianghaolu @hovsepm please review..

Can one of the admins verify this patch?

Runtime changes detected. pull request created. CI running:

LGTM


Support secp256k1/k256 Koblitz curve

Cross-posting https://github.com/trussed-dev/trussed/issues/172
The NitroKey 3A NFC shop advertises support for Koblitz curves:

Elliptic curves: NIST P-256, P-384, P-521 (secp256r1/prime256v1, secp384r1/prime384v1, secp521r1/prime521v1), Ed25519/Curve25519, Koblitz (192-256 bit), brainpoolP256r1, brainpoolP384r1, brainpoolP512r1

But I bought one and it doesn't work.
pkcs15-init \
  --delete-objects privkey,pubkey \
    --id 01 \
    --store-private-key secp256k1.p12 \
    --format pkcs12 \
    --auth-id 3 \
    --verify-pin \
    --pin 12345678

Using reader with a card: Nitrokey Nitrokey 3 [CCID/ICCD Interface] 00 00
NOTE: couldn't find privkey 01 to delete
NOTE: couldn't find pubkey 01 to delete
Deleted 0 objects
Importing 1 certificates:
  0: /C=US/ST=CA/L=Somewhere/O=Aquareum/CN=Cert Testing
Failed to store private key: Key length/algorithm not supported by card

My understanding is that such support would have to be implemented in this repo, is that right? Could we get support so I don't have to return mine? <3

Oh interesting, that's not actually on the shop anymore. How about that 😂

yes, that's correct - thanks for pointing this out, this was an accidental copying error which survived quite long - there are various new crypto algorithms available in the test release right now, but this doesn't include Koblitz (yet?). I will keep this open to crosscheck how many people would be interested.
Please +1 this comment to vote for Koblitz curves in NK3

hey @iameli - could you share with us which actual use-cases you are aiming for? Is there some tooling around crypto to support OpenPGPCards or did you maybe just wanted this as a hardware-key backup?

@daringer I've got two!

I work a lot with the Livepeer Network, which is a decentralized video transcoding network built on the Ethereum blockchain. Long story short this involves getting useful video processing work -- say, turning 4k video into 1080p video -- by untrusted actors ("orchestrators") somewhere out there in the world. (More info here.) How can you trust work done by random people, you ask? How do you know the work is reliable? There are a few answers to that question, but one of them is that all of the work is signed by an Ethereum key provided by the orchestrator. If an orchestrator cheats -- for example, ingesting 4k video and returning empty black 1080p frames -- you could construct a proof that they did a bad job and get some of their money taken away.

To make that happen, orchestrators need to be constantly signing video segments with their Ethereum keys, sometimes one per second with the livestream. Most crypto wallets, like Ledger and Trezor, are designed for human interaction and don't allow for automated signing without a user manually approving on the hardware wallet. So right now those private keys are just sitting on the hard drive on the orchestrators' servers, which isn't ideal. For that reason, I'm looking at implementing PKCS#11 signing support in the Livepeer node, and I've been shopping around for security keys that support secp256k. The Nitrokey HSM 2 works well, as does the YubiHSM 2. But getting Nitrokey 3 support would make it by far the best option.

These days I'm working on building Aquareum, which is decentralized livestreaming software built using a lot of the same technologies. One of the things we're attempting to build is livestreaming for Farcaster and Bluesky's AT Protocol; both of these require secp256k support. For the livestreaming use case that means signing every one-second video segment with an Ethereum key. Once again we're currently storing keys on the streaming device themselves but I'd love to recommend to our users that they use hardware security. Again, if it were supported, Nitrokey 3 would be by far the best available option.

Let me know if you have any other questions!

Uh thanks for the details, that sounds interesting - will check. In the meantime we've also checked how far away secp256k is and good news: not too far. Don't want to promise an ETA, but but expect it to be available sooner than later...


Issue/274 wkwebview

Resolves
Working towards #274
Still needs much testing

Resolves #

Proposed Changes
Many thanks to @yueyuzhao for the first version of upgrading to WKWebview in https://github.com/LLK/scratchjr/pull/283
Reason for Changes
UIWebView is deprecated and new versions that use it are no longer accepted by the App store.

replaced by rebased PR


Bug: The requested module '/node_modules/.vite/deps/medusa-react.js' does not provide an export named 'useAdminAddLocationToSalesChannel'

Hello,
I'm running an application in a Docker container based on the repository https://github.com/medusajs/docker-medusa. After installing the admin module from https://github.com/medusajs/admin, I'm getting the following error:

Unexpected Application Error!
The requested module '/node_modules/.vite/deps/medusa-react.js?v=c2e74af3' does not provide an export named 'useAdminAddLocationToSalesChannel'
SyntaxError: The requested module '/node_modules/.vite/deps/medusa-react.js?v=c2e74af3' does not provide an export named 'useAdminAddLocationToSalesChannel'
💿 Hey developer 👋
You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary prop on <Route>

I've tried cloning the admin repository and using
Dockerfile
FROM node:18.15.0
EXPOSE 7000
WORKDIR /app/admin
COPY package*.json ./
RUN rm -rf node_modules
RUN apt-get update
RUN npm install -g npm@latest
COPY . .
RUN npm install --force
RUN npm run build &> /dev/null
COPY develop.sh .
ENTRYPOINT ["./develop.sh", "develop"]

develop.sh
#!/bin/bash

medusa user -e<EMAIL_ADDRESS>-p some-password

npm run $1

Docker Logs
2023-04-06 11:10:11
2023-04-06 11:10:11 ><EMAIL_ADDRESS>develop
2023-04-06 11:10:11 > npm run dev
2023-04-06 11:10:11
2023-04-06 11:10:11
2023-04-06 11:10:11 ><EMAIL_ADDRESS>dev
2023-04-06 11:10:11 > vite --port 7000 --host
2023-04-06 11:10:11
2023-04-06 11:10:12
2023-04-06 11:10:12   VITE v4.2.1  ready in 470 ms
2023-04-06 11:10:12
2023-04-06 11:10:12   ➜  Local:   http://localhost:7000/
2023-04-06 11:10:12   ➜  Network: http://<IP_ADDRESS>:7000/
2023-04-06 11:10:10 ./develop.sh: line 3: medusa: command not found
2023-04-06 11:10:17 2:10:17 PM [vite] error while updating dependencies:
2023-04-06 11:10:17 Error: ENOENT: no such file or directory, rename '/app/admin/node_modules/.vite/deps_temp_943c5659' -> '/app/admin/node_modules/.vite/deps'
2023-04-06 11:10:17     at renameSync (node:fs:1040:3)
2023-04-06 11:10:17     at Object.commit (file:///app/admin/node_modules/vite/dist/node/chunks/dep-79892de8.js:44685:19)
2023-04-06 11:10:17     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-04-06 11:10:17     at async commitProcessing (file:///app/admin/node_modules/vite/dist/node/chunks/dep-79892de8.js:44144:17)
2023-04-06 11:10:17     at async runOptimizer (file:///app/admin/node_modules/vite/dist/node/chunks/dep-79892de8.js:44182:17)

Version:
medusa-starter-default: 0.0.1
Medusa Admin: 0.1.0
Medusa-React: ^4.0.4
Node: LTS 18.15.0
NPM: Latest

I believe there may be a bug with the admin module, and I wanted to report it so it can be fixed. Additionally, I received a suggestion to provide a custom ErrorBoundary prop on  to improve the UX when the app throws errors.
Thank you for your attention to this issue.

This project is no longer maintained. I recommend switching to our new admin system. It should resolve your issues.

I also encountered the same issue after installing useAdminAddLocationToSalesChannel
Removing the package. json version number and reinstalling it still has the same issue
I would like to replace the Postgres database with MySQL in medusa.comfig.js if configured

npm install @medusajs/admin
Still unable to access prompt
npm install @medusajs/admin
Still unable to access prompt
Unexpected Application Error!
The requested module '/node_modules/.vite/deps/medusa-react.js?v=6c51e4c8' does not provide an export named 'useAdminAddLocationToSalesChannel'
SyntaxError: The requested module '/node_modules/.vite/deps/medusa-react.js?v=6c51e4c8' does not provide an export named 'useAdminAddLocationToSalesChannel'
💿 Hey developer 👋
You can provide a way better UX than this when your app throws errors by providing your own errorElement props on

In package.json, change version of "medusa-react" to 5.0.0 and install again should solve your problem

ohmygod481999:
thank you! Dependency package installation solves the problem!!!
How to install the new version of medusa admin UI


npm: update dependencies

I think it is good time to perform some maintenance activities. I plan to propose several changes and it is good to renew obsolete things before start.

Changes in short:

Applied updates enforced by npm v7+ and TypeScript 4.4+.
Updated ncc (upstream is changed), node-fetch (security) and run npm update.
Added a short contributor guide.
Dropped Ubuntu Xenial (16.04) from CI.

Full list of changes:

npm: regenerate package-lock.json for npm v7+
npm/security: update node-fetch (2.6.1 -> 2.6.7)
npm: update<EMAIL_ADDRESS>to<EMAIL_ADDRESS>npm: update dependencies to latest compatible ones
build: validate that an error is of type Error
build: regenerate index.js
doc: add hints for contributors
gitignore: add Vim Swap files
ci: drop ubuntu-16.04

Consider commit messages for details.

Yaroslav said: 👍.


Update "temporary" OpenSSL wrapper to support 1.1, and add HTTP/2 sample with docker

Useful for reproducing issues, debugging issues, etc.
This includes a test cert in the right format and the necessary configuration options. Should just be dotnet run-able on a Linux machine with OpenSSL.

:up: :date: ping @pakrym @halter73
I also was able to quickly update the sample to have docker scripts. That'll be useful for automated spec testing (because we can use docker to run the spec tests), even when we are using the real ALPN support in SslStream. As part of that though, I had to update to OpenSSL 1.1 which is what our docker images use. It was pretty trivial though (the big change is that the initialization functions were removed and made automatic, which we can detect with exceptions, which is gross but works for this sample/hack)

Stand by for one more iteration that adds SSH necessary for remote debugging.

Went around in circles enabling SSH and I gave up. Addressing PR feedback now

Went around in circles enabling SSH and I gave up.

Btw, turns out my problems with this may have been a problem with Docker for Windows and may work when I try it next time. But I'm not bogging down this PR with that yet again ;)

Any further thoughts here? The build failures all seem to be unrelated flaky tests


identifiers: unset the qe covered flag for some new tests

Those tests are not covered in QE. The flag was likely set by mistake.

Now we need 4 more PRs to set these true. 👯


Need JS Web Integration Help with Control bar

Hello Support,
We want to use your services for our client portal, APP side it is integrated but on web side stuck, I need your help to integrate this. Can we integrate this Video call with control bar option with ( Video off / on , Switch screen local / remote , Mute , share screen ) etc. Is this also possible chat integrated with video call like google meet.
Please help us, so we can integrate it successfully.

Hi, @lokesh-jangid
The Video chat Conference Sample - https://github.com/ConnectyCube/connectycube-web-samples/tree/master/videochat-conf
Here the docs - https://developers.connectycube.com/js/videocalling-conference
Conferencing calls solution (TeaTalk) - https://connectycube.com/teatalk/
You are able to contact us with questions that are not related to code.

Hi, Hope you check my last message, I have all these demo but I am working with browser JS. I need control bar with browser js. do you have any demo like this please share.

@lokesh-jangid
All demos for browser in this repo. I've given you links to the sample that you want.
Here is tool/control bar (screen from https://teatalk.connectycube.com/):

a switch on/off mic
a switch on/off camera
end a call
a switch between possible video inputs
a screen sharing

The "Switch screen local / remote" will be you own implementation. You have all to customize and use the video conference and chat samples.

Hello Support,
Audio quality is not good. Noise and Echo problem too much. Could you help me to fix this.  Please help.

@lokesh-jangid
Please create new issue if it relates to other theme.

Hello Support,
Audio quality is not good. Noise and Echo problem too much. Could you help me to fix this. Please help.

Please describe your problem to help us understand what you mean (steps to reproduce).
Usually the "Noise and Echo problem" appear when you hold devices close to each other in active call state.


growth_factor fails for a < 0.1

Just noted that ccl.growth_factor() fails for small values of a (a < 0.1). I'm working on 33af641. Can anyone reproduce?
In [1]: import pyccl as ccl

In [2]: cosmo = ccl.Cosmology(Omega_c=0.27, Omega_b=0.045, h=0.67, A_s=2.1e-9, n_s=0.96,
   ...:                       transfer_function='boltzmann')

In [3]: ccl.growth_factor(cosmo, 1.)
Out[3]: 1.0

In [4]: ccl.growth_factor(cosmo, 0.1)
Out[4]: 0.12704045673382297

In [5]: ccl.growth_factor(cosmo, 0.05)

RuntimeError                              Traceback (most recent call last)
<ipython-input-5-0e1d53988b9a> in <module>()
----> 1 ccl.growth_factor(cosmo, 0.05)

/Users/dlenz/anaconda/envs/py27/lib/python2.7/site-packages/pyccl/background.pyc in growth_factor(cosmo, a)
     24     """
     25     return _vectorize_fn(lib.growth_factor,
---> 26                          lib.growth_factor_vec, cosmo, a)
     27
     28 def growth_factor_unnorm(cosmo, a):

/Users/dlenz/anaconda/envs/py27/lib/python2.7/site-packages/pyccl/pyutils.pyc in _vectorize_fn(fn, fn_vec, cosmo, x, returns_status)
    111
    112     # Check result and return
--> 113     check(status)
    114     return f
    115

/Users/dlenz/anaconda/envs/py27/lib/python2.7/site-packages/pyccl/pyutils.pyc in check(status)
     21     if status != 0:
     22         raise RuntimeError("Error %d: Unnamed error returned by CCL C library." \
---> 23                            % status)
     24
     25

RuntimeError: Error 1: Unnamed error returned by CCL C library.

thanks @DanielLenz. This is happening because you are asking for a prediction outside the maximum redshift that CCL is using by default (currently z=10). You can see the ini file where these ranges are defined:
https://github.com/LSSTDESC/CCL/blob/master/include/ccl_params.ini
Nevertheless, we should make CCL exit gracefully when this happens.

Thanks for the quick response, that completely answers the issue. Being address in #252


People getting stuck / queue doesn't start

Seemingly with no error in the logs, people get stuck in the queue (uploaded a picture) or the queue doesn't start at all. Fixed by a server restart, map change doesn't seem to fix the issue for me.

Were you using the included server.cfg and ensuring no other cfgs were executed at any point? Off the top of my head this looks like an issue with more people being in the server than are allowed into the 2 teams, so after they join and cant be added to a team (because of team size), they're no longer tracked in the queue and not in an arena. Also, does the provided requeue command fix it?


Add Basic AI

Add a basic AI that will allow the player to play vs the computer
500 pts

Basic version (200 XP):  The "AI" makes a random valid move.
Advanced version (more points - talk to your mentor):  Make it choose the "best" move based on some heuristics.
F17 OK: 200+ XP

W18 OK (200 pts)


Fix #343 Optimizer is an hp (formerly: resnet: 41 epoch with SGD w/ p…

…olynomial learning rate decay.)
Fix #343 Optimizer is an hp (formerly: resnet: 41 epoch with SGD w/ polynomial learning rate decay.)

LGTM


soc/da1469x: Take PD_SYS control only during initialization

Take PD_SYS control only during initialization

@kasjer @ioannis-karachalios Could you review it, please?

@ydamigos HAL PR is merged, please update west.yml with new sha

@ydamigos HAL PR is merged, please update west.yml with new sha

@andrzej-kaczmarek Done


Basic implementation not working

I'm submitting a ...

[x] bug report

Bug Demo
This is just a basic implementation that I cannot get working. As I scroll the fixed position increases a negative number, that doesn't seem right. The div spacer also shows a padding-bottom, I don't understand how that value is determined.
I'm trying to use this library in my app, I created the sandbox example since I was having an issue getting it to work.

Browser: Chrome MacOS (latest)

Hi @vcarl Those two sandboxes behave exactly the same for me. What's the fix?

Oh strange, I think my changes must not have saved? Sorry about that 😅 There are 2 problems: the left-column div exactly wraps its contents, and the StickyContainer is nested within that. Sticky elements will only stick within the extents of StickyContainer, so it's not working because the StickyContainer is less than 1 screen tall.
The fix I made was to set the containing div to display: flex, which has each column div extend to the full height, and to replace <div className="left-column"> with <StickyContainer className="left-column>".


rename entrezid to entrez_id

All fields in and returned from the database seem to be underscore_case, except for entrezid.
Entrez ID is a common term, and it seems like people take "entrez" and "id" as separate words, as they should:
https://www.biostars.org/p/394654/

Fixed in PR #55.


javascript.updateImportsOnFileMove broken on VS mac

Expected behavior:
When I move a .js file I expect to be prompted to update imports.
Actual behavior:
Prompted on VS windows but not VS mac. On VS mac nothing actually happens whereas I had expected it would prompt me just like windows.
Environment
Mac
Verified using TypeScript 2.9.2 (also tried updating and restarting to load version<EMAIL_ADDRESS>VS Code 1.25.1
Windows
Verified using TypeScript 3.0.1
VS Code 1.26.1

Can you provide an example project and steps to repro the issue?


Worker will die w/ malloc error when using package with out of date bcrypt

Say you had a plugin with an outdated package of bcrypt 0.8.0 and your main repo has 0.8.2, it will fail when using the compare function. Not passing the error to the callback, but throwing. Less than ideal...
 - 5 - Node.js(78778,0x7fff7d50b300) malloc: *** error for object 0x10440d430: pointer being freed was not allocated

bcp.compare(password, passwordHash, function () {});

Can you provide a repo that we can easily checkout and run to reproduce this error? Please also include the nodejs version being used.

Will do when I get a chance. Thanks for the reply.


Make a pure C++ CMake library version

We will also need a pure C++ library version to interface with other software/libraries.

The CMake file is pretty robust and usable now


Support Angular 1 detection

The project auto detection feature is currently only detecting Angular 2 project.
We should enhance the feature to properly detect Angular 1 project and enable only Angular 1 specific Angular icons.
According to https://scotch.io/tutorials/angularjs-best-practices-directory-structure, smart_components, pipe shouldn't be associated and component should be replaced by controller. Also routing should be associated with routes too.

[disclaimer] This is not a final decision, just thoughts that I'm going to pour here in order to start the debate.
I'm not sure about how to proceed with this. My first impression is that we shouldn't differentiate between Angular versions, the same way Google decided to avoid this difference by calling the library Angular, no matter if you're referring to v1 or v2 or the next v4.
On the other hand, I also don't see the need of disabling ng2 icons (pipe, component...). Maybe some users like to use the component suffix, for instance, for their ng1.5 components and this is a really good thing for them. The rest won't be using the suffix so no problem with icon collision.

OK. I now know more about Angular 1.x than I wanted too. Indeed component was introduced in v1.5.0.
This leaves as with the followings:

Disable .pipe.* for any Angular 1 project.
Disable smart_components for any Angular 1 project.
Only disable component for v1.5 and below.
Associate .routes.* with ng_routing_*.
Add icon for ng_controller.

For cases 1and 2, I strongly believe that Angular icons should not be shown, even if the user, for any reason, uses those extensions.
For case 5, we will have to disable it for Angular 2 projects.
I believe this is the proper way to support this.

Can we assume, by default, it's not an angular project and only needing the config flag to enable?  I get this silly alert and addition to my config for every project I'm opening lately that is turning off angular icons.
In my opinion "vsicons.presets.angular": false should be assumed, and adding the config should be added if it's true.  Having the extension adding this flag to every project is getting old.

@Meowbeast, certainly we have to discuss about all this. @JimiC and I have a (virtual) meeting pending to discuss about this. To be honest, I'm not quite comfortable either with the current behavior and I have it disabled because I was tired of being asked once and again. That made me think about how we should approach this. No doubt it is a valuable  add-in to the extension but there's no doubt, at least from my user experience, that it needs to be rethought in order to be less intrusive.
Of course, in our discharge, I have to say that we're dealing with some limitations that vscode poses to us but, anyway, it's clear to me that we need to change some things on this matter.

I believe it time to start looking into this issue again.
I would really appreciate any help in order to compile a list of ways to detect an AngularJS project.
I'll start a list and it will get updated as we go.

In index.html look for a script element with reference to any of angular.js, angular-[version].js, angular.min.js, angular-[version].min.js.


Request latencies are higher when spawning users faster, even for same number of users / requests/s

Prerequisites

[X] I am using the latest version of Locust
[X] I am reporting a bug, not asking a question

Description
I'm running locust in distributed mode on 4 VMs, with 4 workers each, i.e. 16 workers and store the stats history via the --csv option to generate our own graphs from it afterwards. While playing around with locust I noticed that it seems to make a difference how fast users are spawned, i.e. when spawning users faster, the response times are higher (even for the same number of requests/s).
E.g. consider these two scenarios:

Running with -r 10 results in a 99% response time of 22ms for 300 users and ~220 requests/s
Running with -r 50 results in a 99% response time of 58ms for 450 users and ~220 requests/s (for 300 users there are only ~103 requests/s and still a 99% response time of 60ms)

If you check the attached CSV files, you can easily see that the response times are far worse for the -r 50 test run across almost every dimension, even for very low user / requests/s. When increasing using -r 100 or even higher, this problem gets even worse.
Am I doing something wrong or is this expected in some way?
test_stats_history_r10.csv
test_stats_history_r50.csv
Maybe related question: should there be any difference between the following two scenarios:

50_000 users using constant_throughput(0.1) for doing 1 request every 10s, averaging 5k requests/s
5_000 users using constant_throughput(1) for doing 1 request every 1s, averaging 5k requests/s

I've seen much worse results from using the first option compared to the second one (but the first one mimics our real world use case better). How can I find out what the problem is here, since it seems to be one of locust or the network and not our server (since both result in 5k requests/s)? I have a feeling that it might be that network connections are routinely dropped and re-established, but I have no idea if this is correct or not.
Command line
locust -f test.py --headless --master --expect-workers 16 -u 5000 -r 10 --run-time 60s --csv test -H https://my-host
Locustfile contents
from locust import HttpUser, task, between
import uuid

class Health(HttpUser):
    wait_time = between(0.5, 1.5)  # do a tx roughly every 1s

    @task
    def query_health(self):
        self.client.get(f"/api/v0/health", verify=False)

Python version
3.12.3
Locust version
2.29.0
Operating system
Ubuntu 24.04

Still relevant to me.

Hi @nioncode ! Sorry for not replying. This could be caused by any number of issues outside of Locust's control (max connection count on server or worker side, throttling new connections in load balancer etc).
If you can reproduce this in a way that rules out server side issues and I can run myself (like a local nginx instance or something) I'd be happy to take a look.

I probably can't set up such an easy to reproduce setup, since I run this distributed across multiple workers + target VMs in Google Cloud Platform (without a load balancer, directly accessing the VMs over their public IP).
The number of connections etc. should all be the same for the same number of users (right?), since each user uses their own connection.

I probably can't set up such an easy to reproduce setup, since I run this distributed across multiple workers + target VMs in Google Cloud Platform (without a load balancer, directly accessing the VMs over their public IP).

Without a solid way to reproduce this I can't investigate (most of the time these issues are caused by things outside of locusts control - often by there being an actual performance issue in the system you are testing :)

The number of connections etc. should all be the same for the same number of users (right?), since each user uses their own connection.

Yes.


Update project license (GPL is back)

Update license.

Should we also change the license of the documentation to Apache+GPL? Are there any non-Arm contributions there which we can't relicense?

Should we also change the license of the documentation to Apache+GPL? Are there any non-Arm contributions there which we can't relicense?

It wouldn't be a bad idea, but would require a bit of time to go through the history and check. Not sure this is worth the effort.


Random private key generation uses low-quality Math.random()

In bitcoinjs-min.js, the randomBytes function uses Math.random, which is insecure in browsers like FireFox that seed using the current timestamp. A malicious user could bruteforce many timestamp values and predict private keys.

Added secure random support in 2c1e11f03bb63030bca85d50af20e3839ea44bfd, added secure-random-1.1.1 in 4481c12d2db13a89629eb09bf51b9b5340efd3aa


Add Synth1 VST / Audio Unit

Do these two depend on each other? If so, which one is considered the "main" one

They don't depend on each other, They are two different types of plugin (Audio Unit / VST).
Some DAWs use VSTs (Cubase, Ableton-live, etc.) some use Audio Units (Apple Logic etc.)
In this case, the plugin is released as two separate zip files on the vendor's homepage.
Some plugins are released as both in the same.
If you want to hold off merging this, I'm working on changing to use two new artifacts called vst_plugin and audiounit_plugin, for the purpose of being able to write a bunch of these quickly. In the same vein as the internet_plugin artifact type.

That sounds like a more flexible option.
Open up a PR when you're ready and we'll take a look!
Thanks.
(Closing this for the time being, in that case). Feel free to reopen if you end up not making any core changes and we can merge this.


lockscreen after suspend using systemd service

By using this method we can automatically lock screen whenever system is suspended.
cat /etc/systemd/system/betterlockscreen.service
[Unit]
Description=i3lock on suspend
Before=sleep.target

[Service]
User=pavan
Type=forking
Environment=DISPLAY=:0
ExecStart=/usr/local/bin/betterlockscreen -l blur

[Install]
WantedBy=sleep.target

# systemctl enable betterlockscreen.service
Now whenever suspend command is issued screen is locked.
systemctl suspend
But this requires forking argument -n to be removed from script.

@AUTplayed your thoughts?

hm, would have to install that via the aur package, disable by default and leave a message on how to enable it...
But removing the -n would reopen #47 :/
Are you sure it has to be removed?
But anyway the concept is cool, removes a lot of configuration 👍

@AUTplayed can you test changes from systemd-service branch?
Instructions are same as above comment you will just need to change
ExecStart=/usr/local/bin/betterlockscreen -l blur
to ExecStart=/usr/local/bin/betterlockscreen -s blur in betterlockscreen.service
Let me know if it works on your system.

Sorry, haven't gotten to it yet and probably won't for some time, got my finals the next few weeks...

@AUTplayed no problem, all the best for your finals.

Added "exit 0" at the end of the script...
My .service is on the PR

Works for me, even if I user -l instead of the modifier -s on the systemd-service branch. But maybe that's just my system.
Also I noticed that you have to insert the username of the logged-in user into the .service file, so I wrote a simple bash script to automate that:
servicelocation="/etc/systemd/system/betterlockscreen.service"
line=$(cat $servicelocation | grep -ni user | cut -d : -f 1)
loginuser=$(id -un)
sudo sed -i "$line s/=.*/=$loginuser/" $servicelocation

the pr #53 works, and expands from suspend to sleep, but the .service file needs to be renamed to betterlockscreen.service
also it seems that Before=sleep.target isn't needed.

@AUTplayed file renamed...
What do you guys think if I implement a command like --lock-when-suspend to automate it?

I had planned to just execute that when installing via the AUR package (in the pkgbuild)

@AUTplayed seems good to me.

I just discovered a major issue with this solution, if I suspend and the service kicks in, then wake up my computer and just leave the lockscreen for about 1:40 minutes, the screen unlocks by itself!

@AUTplayed I tried myself and had the same issue but I'm not using the nofork arg...
I didn't have if I don't pass the service type...
Anyway, I will try again setting a timeout...

btw, when are we going to merge this?

Arent we good to go?

we are, I just didn't want to be the one to press merge for this rather big change

Done.

@AUTplayed are there any required changes for aur package?

yeah, gonna update it now

Meanwhile I will update readme. :)

I ran into a problem, updating the systemd unit with my small script doesn't work because makepkg is executing the package with the root user...

added a workaround, it's not pretty but what can you do, betterlockscreen-git should be up

We could have used systemd user unit but sleep.target and suspend.targen are not available for user services. :(

https://github.com/pavanjadhaw/betterlockscreen/commit/d694867cd8bca84c45460f4488ac9652d13f13a2
@AUTplayed Made few changes that should make it easier and cleaner to build aur package. Let me know what you think, also I think it might need few additional changes.

ah that's very clean, I didn't know sysd units had that feature. cool! :+1:
also I saw you removed
WantedBy=sleep.target
which would disable the lockscreen on hibernate...
also did you review TimeoutSec=infinity ?

No I just tested and wanted to see if it could work, we have to add those back.

With this we can make new release available. :)

Its thanks to airbladers solution from here https://github.com/i3/i3lock/issues/109

:clinking_glasses: implemented


RSDK-2086 Camera Wrapper

seems like a lot of generated files got changed - is that expected?

Just commenting so I can follow this PR. @shawnbmccarthy and I are ready to try to use this wrapper + modules to implement an OAKD camera


mockito 3.1.0

Looks like this is generally safe: https://github.com/mockito/mockito/releases/tag/v3.0.0

Mockito 3.0.0 is equivalent to Mockito 2, but now requires Java 8. No API changes were made.


validating a json object

i googled around , but the words seem mixed
I was wondering if I could validate a json object with this pluggin
I tried but didnt rely work , is something like this possible
'''
var test = {name:"kiki",toto:"coco"};
test.validate({
rules : {
name : {
required : true
}
},
submitHandler : function(form) {
alert("good");
return false; // required to block normal submit since you used ajax
},
invalidHandler : function(event, validator) {//display error alert on form submit
alert("bad");
}
});
''''

The primary use-case for the lib is form based validation.
However you can write a custom validation method which takes whatever global variable etc into account


Handle null same way as undefined

Handle null same way as undefined
Return null instead of undefined to signal no match. (BREAKING CHANGE)

Coverage remained the same at 88.406% when pulling c0d95ef880de9a6ecea9f7966767391f22e245bc on langpavel:not-match-is-null into e3c51de744868999e2707a9cfc76aafe94af2cc4 on kriasoft:master.

Coverage increased (+0.2%) to 88.889% when pulling 9d5d0c4b545b731e2c527a37afbc95daf3efcc73 on langpavel:not-match-is-null into f3a7c2f6f30ab594bcdab275d9c17aed57ce643b on kriasoft:master.


Self-hosted Supabase combined with supabase/ssr sets 4 cookies in some occasions

Bug report

[X] I confirm this is a bug with Supabase, not with my own application.
[X] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
We are using self-hosted Supabase and supabase/ssr package. We have a SvelteKit app and we followed the docs. Usually things work. For a reason I'm still not able to understand, sometimes when logging with Google OAuth, supabase/ssr package seems to be setting 4 cookies as opposed to the usual 2-3 cookies. This somehow breaks the entire thing, the request doesn't even reach our SvelteKit app afterwards, I'm not sure if it's because of the header size or something internal thing is going on. We've raised the buffer size for nginx in our Kubernetes cluster significantly but that didn't help either.
Logging out removes the cookies regardless of the count (2 or 3). 4 cookie version, I tried removing the cookies manually, that fixes the error. Next time I log in with that specific user, there are 4 cookies again and everything breaks.

Update: We have removed Cloudflare from in front of our app and things seem to work. However, the cookie string is about 10,500 characters long which seems significantly more than usual. This is a pretty big issue since Cloudflare has a huge market share and its header size limits aren't unreasonable compared to other similar services. That long of a cookie also breaks Nginx default config which also seems weird considering its one of the most popular reverse proxies around. I'm not sure if 4 cookies are actually needed, but if they are maybe there is a better solution without breaking such popular pieces of internet infra.
To Reproduce
Even though we tried multiple things already, at this point we don't have a consistent way to reproduce it. What I do know is, for a specific user there is consistently 4 cookies.
Expected behavior
We would expect 2 cookies at all times, and for supabase/ssr to not break our SvelteKit app.
System information

OS: macOS
Browser (if applies): Chrome 128.0.6613.85
Version of supabase-js: 2.45.1
Version of supabase ssr: 0.5.1
Version of Node.js: 20.17.0

The ssr library will create multiple cookies if the size is going to be larger than the browser's allowed limit. This is expected and necessary behavior.
Can you share the size of each of the four cookies? That way, we know if ssr is only creating the minimum amount needed.

I can't speak to the subtleties of header size limits; but ssr cookie sizes are usually reasonable. It's when you start getting into the OAuth world that the cookie can sometimes need broken into multiple.
Having a cookie that large seems like there is a lot of data being added to it: perhaps by the OAuth provider or maybe via Supabase *_meta_data fields??

It's Google OAuth so whatever they are adding we are not editing. We ask for minimum level of permissions on Google OAuth too so this is as small as it gets. We didn't add anything to the meta_data ourselves. We aren't doing anything besides the defaults.
This isn't an issue with some random 3rd party doing something weird. This is Google, Cloudflare and Nginx. So feels like things should work. Even if you change the Nginx defaults like us, Cloudflare will still be broken. However, my guess based on a couple of issues I saw about this on other Supabase repos, people expect an auth library to work with Nginx defaults.
I don't know what Supabase does different compared to all the other platforms I used auth systems of but I've never seen an auth library breaking Cloudflare. It's not just Cloudflare either, the size is above similar services too. So I feel like this is a pretty important issue.

Update: The account that leaves 4 cookies behind has the same length raw_user_meta_data compared to accounts that leave 2 cookies behind. The user object itself is also the same length compared to other accounts that signed in with Google OAuth. So I'm having a hard time understand why one account would need 2 chunks, the other would need 2. Even 2 chunks is dangerously close to standard header limits by the way which means if some other part of your app is setting some medium size cookies, things could get broken.

Is 11,000 characters really needed to make this work? Every auth library I used, or seen getting used besides this one has perfectly fine auth with cookies under 6000 in total. Most of them are under 3000.

We are aware of the size issue and are working towards lowering that. This is going to be done primarily with the rollout of asymmetric JWTs currently slated for early October 2024.
Check the custom access token hook to really make a minimal JWT which should help a bit: https://supabase.com/docs/guides/auth/auth-hooks/custom-access-token-hook?queryGroups=language&language=http

I did this instead:
https://github.com/supabase/auth/issues/1754


How to control the size of output if aiming for hundards of cycles

Summary
Are there options (& documents) to choose the size of output in pybamm?
Motivation
Why are we doing this?
When cycling for a long time, e.g. hundreds of cycles, it will create a very long array for output variables. This may be okay if computer has a big memory. But keeping long arrays will also slow down the simulation.
What use cases does it support?
Aim for long cycling
What is the expected outcome?
Options to output results for the specific cycle number, like those experimens doing ICA for every 100 cycle.
Options to choose which variables to record and omit others not interesed.
Options to output results at the user-defined time step.
Some may be done already, but cannot find a document on this.

Some of this functionality already exists, some doesn't. Take a look at the notebook solution-data-and-processed-variables.ipynb

Only record some variables: this already is the case. When you solve a model, all it calculates is the states y for solving the actual equations. All of the other variables, which are calculated from these states y (such as the voltage) are only created at the point when you call them from the solution dictionary.
Output results at the user-defined time step: this functionality exists, e.g. solution["Terminal voltage [V]"](tspan) returns the voltage at times tspan
Specific cycle number: this doesn't exist but should be added. The difficulty is that it's hard to know what "one cycle" is, for example if you do

pybamm.Experiment(
    [
        "Discharge at C/10 for 10 hours or until 3.3 V",
        "Rest for 1 hour",
        "Charge at 1 A until 4.1 V",
        "Hold at 4.1 V until 50 mA",
        "Rest for 1 hour",
        "Discharge at C/10 for 10 hours or until 3.3 V",
        "Rest for 1 hour",
        "Charge at 1 A until 4.1 V",
        "Hold at 4.1 V until 50 mA",
        "Rest for 1 hour"
    ]
)

then how do you know which instructions are one cycle? Right now there is something called "sub solutions" which returns the solution associated with one step of an experiment (check out cccv.py). For example in this case `solution.sub_solutions[2]["Terminal voltage [V]"].data would return the voltage for the  "Charge at 1 A until 4.1 V" step.
We could change the experiment class to accept something of the form
pybamm.Experiment(
    [
        ("Discharge at C/10 for 10 hours or until 3.3 V",
        "Rest for 1 hour",
        "Charge at 1 A until 4.1 V",
        "Hold at 4.1 V until 50 mA",
        "Rest for 1 hour"),
        ("Discharge at C/10 for 10 hours or until 3.3 V",
        "Rest for 1 hour",
        "Charge at 1 A until 4.1 V",
        "Hold at 4.1 V until 50 mA",
        "Rest for 1 hour")
    ]
)

where the brackets make it clear what is one cycle, and then using that it should be possible to separate cycles

Thanks for your reply. If only y is being recorded and updated in a simulation, there would be no memory issue if the number
of unknowns is not large and other variables can be extracted from y.

I'm just curious if it's possible to control the size of y as well, for extreme working conditions. For instance, the solver solves at every 0.1s but records at every 10s for a long cycling time, e.g. 10^7s.
There are some experiments using the below commands, where the ones being multiplied are assigned as one cycle. When it has this definition, it will be easier to add outputs like charge and discharge capacities per cycle for cycling tests.

total_cycles=20
experiment = pybamm.Experiment(
    [
        "Discharge at 1C until 2.5 V",
        "Rest for 600 seconds",
        "Charge at 1C until 4.2 V",
        "Hold at 4.2 V until 1 mA",
    ] * total_cycles
)

Right now there is no way to control the size of y. I guess we could add some functionality to do this in the post-processing. You should be able to do something manually though.
The way python lists work means that it doesn't know how the list was created. For example, ["a"] * 3 + ["b"] * 2 is exactly the same as ["a", "a", "a", "b", "b"]. So you would need explicit sublists or tuples

I'm just curious if it's possible to control the size of y as well, for extreme working conditions. For instance, the solver solves at every 0.1s but records at every 10s for a long cycling time, e.g. 10^7s.

re this: the array t_eval that you pass to the solver is the times you want it to record at, but the solver does adaptive time-stepping to decide what steps to actually take. you can control the solver steps via the tolerances and maximum step size (e.g. see the casadi docs here http://casadi.sourceforge.net/v2.0.0/api/html/db/d3d/classcasadi_1_1Integrator.html). different solvers will handle the time-stepping differently, so you'll need to look at the documentation for full details. for experiments the frequency at which the solution is recorded at is set by the period

Thanks all for your reply, which are helpfull. There is no issue now.


Add SVG use with external reference

It would be good to add this feature since the browser support is variable (no IE or old Safari).
How it looks like:
<!-- Reference IN THIS SAME DOCUMENT -->
<svg>
  <use xlink:href="#icon-1"></use>
</svg>

<!-- EXTERNAL reference -->
<svg>
  <use xlink:href="sprite.svg#icon-1"></use>
</svg>

More info:

https://css-tricks.com/svg-use-with-external-reference-take-2/
https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/6263916-svg-external-content?tracking_code=85a4cffafffac0497bb5074ed03d43f5

Edge 12 also doesn't support this, according to the svg4everybody polyfill

Also xlink deprecation: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href.

+1

+1. I just tried to look this up because of the xlink:href deprecation :)

Looks like this is now covered by MDN data:
https://caniuse.com/mdn-svg_elements_use_xlink_href
https://caniuse.com/mdn-svg_elements_use_href
(via mdn/browser-compat-data#1419)

I think the MDN data is just for support xlink:href, not specific to external references

I think the MDN data is just for support xlink:href, not specific to external references

I thought <use xlink:href> and <use href> was all this issue was about. I'm not seeing any examples of other forms of external references.

MDN’s content for SVG is woefully incomplete.  Don’t expect it to be as comprehensive or up-to-date for SVG as it is for HTML, CSS, and JS.


Add description

Does this work with old versioned fluentd?

Ah, desc methods version of adding descriptions are not work with old version of fluentd. :confounded:
We should use :desc option instead for keeping compatibility.

Thanks!


Slow project list query issue

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When t_ds_process_instance table data reaches 300000，Project management list query takes 10 seconds
What you expected to happen
    select
    <include refid="baseSqlV2">
        <property name="alias" value="p"/>
    </include>
    ,
    u.user_name as user_name,
    (SELECT COUNT(*) FROM t_ds_process_definition AS def WHERE def.project_code = p.code) AS def_count,
    (SELECT COUNT(*) FROM t_ds_process_definition_log def, t_ds_process_instance inst WHERE def.code =
    inst.process_definition_code and def.version = inst.process_definition_version AND def.project_code = p.code
    AND inst.state=1 ) as inst_running_count
    from t_ds_project p
    left join t_ds_user u on u.id=p.user_id
    where 1=1

How to reproduce
When t_ds_process_instance table data reaches 300000
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Version 3.2.0 has been fixed

3.2.0 version query performance still has issues

It looks like the subquery is taking too long. Maybe you could rewrite the sub query.
For example: change "count (*)" --->  "count(1)"


C++: Invoke -> Call

Now that opcodes are in their own module that isn't imported into the global namespace, Opcode::Call no longer conflicts with Call from the ASTs. I've renamed Opcode::Invoke to Opcode::Call.

Fixed.


Added  attr to active projects.

Added and populated the stack attr to project pages, to allow for more informative broadcasting on oa.org.

@mateoclarke , done!
@JMensch , once those stale projects return to active status, I am happy to modify and PR.


reloadPickerView() Acting Weird

I'm using with iOS 11 and Xcode 9 and when reloadPickerView() seems to be called my pickerView starts to act strange. The selection is off center from the overlay I have on with the standard style and my conditions for highlighted aren't met. Everything seems to get shifted up in position also.

It seems to be related to the way iOS 11 deals with estimatedRowHeight.
I already found a workaround for this issue but it makes the PickerView drop some frames, I'll keep trying, and notify you about any news.

Hey @niazoff
Just fixed this issue. I know it has been a long time, but if you could test it would be awesome. Please points to https://github.com/filipealva/PickerView/tree/fix/select-row-issues in your Podfile.

Cool thanks!


${workspaceRoot} variable shouldn't be resolved in multi-root workspace

Testing #44449
The following case fails for me on Ubuntu 16.04:

In a multi root workspace with multiple folders the variable is not resolved and remains unchanged.

This is the workspace setup:

Expected: The ${workspaceRoot} variable doesn't get resolved
Actual: It gets resolved to 'proj1'
Entering an invalid file name yields the following error message:

Attribute 'program' does not exist ('/home/a/Desktop/projects/test-heuristic-workspaceVars/root/proj1/p/p_1.js').

This is actually expected behavior. It should only not be resolved if the launch is in a workspace configuration file or a user configuration file.
If a launch is living inside a folder then it is perfectly fine for it to be resolved against that folder.
I just verified on my machine and both these cases work fine.
Closing as desgined


soc: nordic: nrf54h: power: Enable soft off and add support for nrf54h20dk in samples/boards/nordic/system_off

Add support to soft off for nrf54h20. Add support for nrf54h20dk in samples/boards/nordic/system_off.

fyi @adamkondraciuk


When an outbound call is forwarded Connect.getType() of the agent receiving the transfer becomes "inbound"

What up?
The transferred "outbound" contact becomes an "inbound" contact.
Expected value
Connection.getType() of the transferred contact is "outbound"
Question:
Q1: Is it a specification that when an outbound call is transferred, Connect.getType() of the agent receiving the transfer return value "inbound"?
Q2: Can we any way to get the transferred initial contact to be "outbound" purely using the Streams API?
Operation

Agent A outbound to customer "+8170xxxxyyyy".
Customer responds.
Agent A transfer to Agent B using quick connect.
Agent B responds.

Sample codes and logs
// Agent A
connect.contact((contact1) => {
    contact1.onConnecting((contact) => {
        const conn = contact.getInitialConnection();
        console.log(conn.getType()); // print "outbound"
        console.log(JSON.stringify(conn.getAddress()));
    });
});

Agent A: output log
'outbound'
'{"endpointARN":null,"endpointId":null,"type":"phone_number","name":null,"phoneNumber":"+8170xxxxyyyy","agentLogin":null,"queue":null}'

// Agent B
connect.contact((contact1) => {
    contact1.onConnecting((contact) => {
        const conn = contact.getInitialConnection();
        console.log(conn.getType()); // => print "inbound"
        console.log(JSON.stringify(conn.getAddress()));
    });
});

Agent B: output log
'inbound'
'{"endpointARN":null,"endpointId":null,"type":"phone_number","name":null,"phoneNumber":"+8170xxxxyyyy","agentLogin":null,"queue":null}'

Regarding your Q1 - it is by design, that when call is transferred the value will change to inbound.
Regarding Q2 - there is a possibility that InitiationMethod on the contact object can be used, but currently it is always null, so we will need to look into it to find out why it is not being populated.

@vpogudina Thank you for your reply.
I found that I had to use Attribute to solve it.
I think the problem without InitiationMethod is a different problem, so I'm closing this issue.


Tracked_pose Topic is not being published

Hi Cartographer Team,
I'm running the 2D Cartographer on my own recorded bag file. My cartographer creates submaps for the rosbag data. Now I want it to publish the tracked_pose topic so that i can evaluate my localization using some other script and comparing it to the GPS data.
In the cartographer_2d.lua config file, I have set the parameter

publish_tracked_pose = true

. As per the documentation, tracked_pose should be published if the above parameter is set to true. My cartographer creates the submaps without any errors. Can someone please direct me to right direction, is there some other parameter which the tracked_pose depends on? Thanks in advance.
If you have any questions of my setup, I would be happy to answer.
Regards,
DP

I'm a user of Cartographer, As far as I know, this is the only parameter that enables it to publish the tracked_pose topic ,when I set this parameter to true , run the bag, then I use
rosrun rqt_topic rqt_topic
to check all the topic, the /tracked_pose is just there
Have you re-compile the workspace or did you find the lua file through roscd cartographer_ros/configuration_files/ and then edit it?
If you don't do that, the config file won't come into effect

Hi Cartographer Team,
I'm running the 2D Cartographer on my own recorded bag file. My cartographer creates submaps for the rosbag data. Now I want it to publish the tracked_pose topic so that i can evaluate my localization using some other script and comparing it to the GPS data.
In the cartographer_2d.lua config file, I have set the parameter

publish_tracked_pose = true

. As per the documentation, tracked_pose should be published if the above parameter is set to true. My cartographer creates the submaps without any errors. Can someone please direct me to right direction, is there some other parameter which the tracked_pose depends on? Thanks in advance.
If you have any questions of my setup, I would be happy to answer.
Regards, DP

hi can you mark here which documents are you refring i am new here finding learning source
this whould help me


Add RPC method for extended information on connected peers

Is your feature request related to a problem? Please describe.
I want to be able to quickly query my node for the network state (see last height of peers and their user agents). I've called it getPeerHeights because that's the main thing I want to check but maybe getConnectedPeerInfo or getNetworkState etc is better.
Describe the solution you'd like
Example usage:
{
  "jsonrpc": "2.0",
  "method": "getpeerheights",
  "params": [],
  "id": 1
}

Example response:
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "peerHeights": [
      {
        "address": "<IP_ADDRESS>:20333",
        "userAgent": "/Neo:3.7.4+7f227a3026fadeb9723280e6f961b6f29b0f8a7a/",
        "height": 4104904
      },
      {
        "address": "<IP_ADDRESS>:21333",
        "userAgent": "/NEO-GO:0.106.1/",
        "height": 4104904
      }
    ]
  }
}

Describe alternatives you've considered
RPC extension seemed sensible enough.
Additional context
I have already implemented this method to meet my current needs. If consensus is that its useful, I am happy to send a PR for review.

I think this extension is quite a useful one since getpeers doesn’t give us anything except addresses. Vote up from my side for PR.

How do you get this data? To me it requires P2P ping to every neighbor and thus this RPC can't be safely exposed to everyone.
Refs. https://github.com/neo-project/neo/issues/1844.

@roman-khimov I use LastBlockIndex() and Version().UserAgent on Peer. Admittedly I don't know how often this is updated, but I was thinking it would be sufficient to detect stuck-but-live nodes.

This sounds like a more useful alternative to the getpeers RPC method. Perhaps including useragent and height for connected nodes is a worthy update to that method instead (then C# users can also benefit from it)

I had this thought as well, but current getpeers is symmetric for all types of nodes. Maybe it's not a problem though.
Semantically this height is more like lastknownheight I should also add.

I agree if we only add the fields to connected it sacrifices the symmetry. We could use something like useragent: "unknown" and height: -1 for unconnected/bad. I just feel that the current getpeers output is so limited that likely nobody is consuming it. But you might have some stats on that from your nodes


[Documentation Update]: README and CONTRIBUTING needs new setup instructions

Is there an existing issue for this?

[X] I have searched the existing issues

Issue Description
The README and CONTRIBUTING documents need to be updated to match the new app architecture
Suggested Change
Update the README and CONTRIBUTING documents' prerequisites and setup instructions to match the new app architecture.
Rationale

Enhance user comprehension
Improve usibility

Urgency
High
Record

[X] I have read the Contributing Guidelines
[X] I have starred the repository

hey @dmotts can you mention clearly what suppose to be added, i can work on it.

Hey @Brijeshthummar02, I need someone who can read and understand how the code works. Set up the application and document the prerequisites required alongside the setting up process. The following documents should be modified:

README.md
CONTRIBUTION.md

Hey @NimraAslamkhan, nice to meet you!
At the moment, @HomerusJa is working on the backend api's and structure of the project and @shawaiz-khan is working on the frontend landing page of the project.
So, I would encourage you to work closely with those guys, as if you have encounter any difficulties or have any questions. I'm am sure they will be more than happy to assist.
Thank you for taking an interest in this project! 🙌

How did you discover or heard about us @NimraAslamkhan, if you don't mind me asking? #14

I discovered your work through a project on HackerRank. As I was exploring different coding challenges and projects, I found your contributions particularly inspiring and insightful.

@NimraAslamkhan Thank you for your feedback, I appreciate your kind words! 😊

@dmotts please involve me in improving this project. I was trying to set this project locally but couldn't get success. requirements.txt is missing.

Hey @krtEngineer, thanks for taking an interest in this project!
At the moment, this task has already been assigned to another member. Please feel free to explore the other issues or other open source projects.
Stick around @krtEngineer, I'm sure more opportunities will soon arise...😄

If you don't mind me asking @krtEngineer. How did you hear about us? #14


Restrict destructive update Linalg-like ops support to just scatter

Destructive update runs after we tile and distribute
to workgroups at Flow tensor level. The tiling and
distribution will generate loop nests with the structure like:
%full_workload0 = scf.for %iv0 = ... iter_args(%arg0 = %init) {
  %full_workload1 = scf.for %iv1 = ... iter_args(%arg1 = %arg0) {
    ...
    %updated_workload1 = tensor.insert_slice ...
    yield %updated_workload1
   }
   yield %full_workload1
}
flow.dispatch.tensor.store %full_workload, %output,
  offsets = [], sizes = [], strides = [] : ...

Destructive updates rewrites it into
scf.for %iv0 = ... {
  scf.for %iv1 = ... {
    flow.dispatch.tensor.store %workgroup_workload, %output,
      offsets = [%iv0, %iv1], sizes = ...
   }
}

The loop nest does not carry values anymore: the
flow.dispatch.tensor.store is pulled into the loop
nest and it now only writes to the patch the current
workgroup is responsible for, instead of the original
full workload.
That's the normal flow, which requires the
tensor.insert_slice op to provide the tile info.
https://github.com/google/iree/pull/6562 adds another
flow to enable LinalgExt ops without tensor.insert_slice
ops in the loop nest after tiling. It pulls the
flow.dispatch.tensor.store into the loop nest as-is.
That only works for LinalgExt ops that indeed access
the full output for each tile (like scatter). But the
code was written in a very permissive way to include all
Linalg and LinalgExt ops.
It's not a problem right now due to that all existing
Linalg and LinagExt ops tile and generate
tensor.insert_slice in the loop nest, except scatter.
But it can be a problem in the future in case we introduce
new Linalg/Linalg ext ops the breaks the assumption.
That can introduce very subtle bugs.
So change it to be restrictive to only allow
ops that truly need this for now, that is, scatter.

This is orthogonal to the direction we want to proceed. I am surprised this works in the first place. All linalg_ext ops also use destructive updates (just of different widths). Scatter is no different from any other operation this works on, except that instead of updating a slice of the tensor, it updates the whole tensor. The goal is to work on interfaces and not overfit to particular operations, so I am not sure we want to proceed in this direction.


Add case keyword to rc lexer to match vis

The vis editor added the case keyword to the rc lexer in this commit.
Adding this would enable to sync the lexers.

Fixed via https://github.com/orbitalquark/scintillua/commit/69d5544feefde7974cf15e52b595558c7581f98f


DesiredAccuracy, better explenation.

Hi. In documentation there is only "This property tells the location managers that it is okay to be X meters off. The default is 100 meters."
Could someone explain how this setting affect on golocalization?
Why 100 is a default value?
What mean "that it is okay to be X meters off."?
Thank you.

It tells the sensors how close you would like to be when gathering the geolocation. So if you set it really low it can take longer to actually query it, and higher means it needs to be less accurate. You can set it to whatever you would like.


[Task]: Check for Java thread information in the Plugin Module (REST API) using JFR profiling script

SubTasks
On running blockhound on actions execute endpoint post configuring REST API, there are no callouts given but as per Apeksha's analysis there is some blocking code observed on production using the JFR script.
Ref: https://theappsmith.slack.com/archives/C06FWBV74GH/p1724410745054719
This task is to run the JFR script locally and check for any blocking code post configuring the REST API datasource.

REST API has no blocking calls and the calls are getting scheduled on boundedElastic thread and the main thread is non blocking. This is also evident from the recently added logs in plugins.

cc: @ApekshaBhosale


feat: add server command to get started screen

add server command to get started screen
Description
add server command to get started screen

[ ] This change requires a documentation update
[ ] I have made corresponding changes to the documentation

Related Issue(s)
This PR addresses issue #607
/claim #607
Screenshots

This issue is already solved. 🙂


Would like to add some CSS resources

Description
I'd like to add CSS resources that could help improve beginners' understanding of it.
Screenshots
No response
Additional information
No response

Hey, please open a PR with the resources you wish to add. If the resources are good, we will merge the PR 😃


Docker container fails with node:alpine when calling bcrypt

Known node:alpine bug on Google App Engine - I get a segmentation fault with a node server restart after calling:
<EMAIL_ADDRESS>10)
Adding the following towards the end of Dockerfile fixes the issue (requires ephemeral packages to be kept until the following operation is completed).
RUN npm rebuild bcrypt --build-from-source

The Dockerfile is only a starting point. You will need to modify it for your own app's dependencies, especially if they require compilation.

What if you modify the Dockerfile like this?
# Install everything (and clean up afterwards)
RUN apk add --no-cache --virtual .gyp \
    autoconf \
    automake \
    g++ \
    libpng-dev \
    libtool \
    make \
    nasm \
    python \
    git \
  && npm i \
  && npm rebuild bcrypt --build-from-source \
  && apk del .gyp

See also: https://github.com/kelektiv/node.bcrypt.js/issues/528#issuecomment-329975006

You can also use the general npm rebuild --build-from-source which should re-build every binary, in case you run into this error with third-party packages.
I'll go ahead and close this since this doesn't directly impact a fresh ReactQL build, and is dependent on what is added to the project later.

Per the other issue, that's what I ended up doing.
-------------------------------------
Jean-Marc Arsan
Founder & CTO @ MoneyGoat https://www.goat.money/
79 Madison Avenue, Suite 55
https://maps.google.com/?q=79+Madison+Avenue,+Suite+55New+York,+NY,+10016&entry=gmail&source=g
New York, NY, 10016
https://maps.google.com/?q=79+Madison+Avenue,+Suite+55New+York,+NY,+10016&entry=gmail&source=g
phone: +1<PHONE_NUMBER>
email<EMAIL_ADDRESS>On Mon, Oct 30, 2017 at 10:52 PM, Kane<EMAIL_ADDRESS>wrote:

What if you modify the Dockerfile like this?
Install everything (and clean up afterwards)
RUN apk add --no-cache --virtual .gyp
autoconf
automake
g++
libpng-dev
libtool
make
nasm
python
git
&& npm i
&& npm rebuild bcrypt --build-from-source
&& apk del .gyp
See also: kelektiv/node.bcrypt.js#528 (comment)
https://github.com/kelektiv/node.bcrypt.js/issues/528#issuecomment-329975006
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/reactql/kit/issues/114#issuecomment-340644850, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AI5CeLzCUv2LNyNRt-H_lsnEjyv2M-jhks5sxotvgaJpZM4QMEJL
.