Custom marker with label

I'm submitting a ...  (check one with "x")
[ X ] question
plugin version:
[X] 2.0.0-beta3
cordova information:  (run $> cordova plugin list)
com.googlemaps.ios 2.3.0 "Google Maps SDK for iOS"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-googlemaps 2.0.0-beta3-20170817-0747 "cordova-plugin-googlemaps"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
ionic-plugin-keyboard 2.2.1 "Keyboard"

Currently, I am using the Google Maps JS SDK within an Ionic 3 app.
I used markerWithLabel library https://github.com/googlemaps/v3-utility-library so I can have a custom label like in the image below.
http://imgur.com/a/FZ1Qi
My question is that how it is possible to make exactly the same with cordova-plugin-googlemaps as I think, it's not possible to make markerWithLabel library work with cordova-plugin-googlemaps ?

You can pass base64 encoded strings (png,gif, and jpeg, no SVG) to the icon property.
This works for both v1.4 and v2.0.
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v1.4.0/class/Marker/README.md#base64-encoded-icon

@wf9a5m75 but still it's impossible to match the same style with the base64 encoded strings as with it you can only customize the marker icon, not put a text inside of that icon.
Is there a possibility to match the same design I provided on the URL ?

No.

Ok, I have a question. Is this feature implemented in the Google Maps API v3?
Of course, no.
Then what will you do?

That's why I used this library : https://github.com/googlemaps/v3-utility-library
Then How UBER, Lyft, etc.. are implementing such marker ?

Then How UBER, Lyft, etc.. are implementing such marker ?

They implement own code in native. They don't use Google Maps JavaScript API v3.

Then, I need to play with the source code of cordova-plugin-googlemaps to make my own custom marker, right ?

Why don't you use <canvas>?  It's very easy.

If you have enough knowledge of Java and Objective-c, you don't need to play the source code of this plugin. Write the native code is faster implementation.

Create a canvas, draw a image, then draw your text on the canvas, then export base64 encoded strings.

Sorry my English is bad
It is my first post
If someone serves you, I could add a custom label on the map,
add a second marker, create a canvas and convert it to base64 and assign it to the marker and it worked
code example
`
addMarker(){
this.example.forEach((data: any) => {
var canvas, context;
  canvas = document.createElement("canvas");
  canvas.width = 50;
  canvas.height = 30;
  var  x=1, y=1, width=45, height=15, radius=0,  stroke= true;
  context = canvas.getContext("2d");
  if (typeof stroke == "undefined" ) {
    stroke = true;
  }
  if (typeof radius == "undefined") {
    radius = 5;
  }
  context.beginPath();
  context.moveTo(x + radius, y);
  context.lineTo(x + width - radius, y);
  context.quadraticCurveTo(x + width, y, x + width, y + radius);
  context.lineTo(x + width, y + height - radius);
  context.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
  context.lineTo(x + radius, y + height);
  context.quadraticCurveTo(x, y + height, x, y + height - radius);
  context.lineTo(x, y + radius);
  context.quadraticCurveTo(x, y, x + radius, y);
  context.fillStyle = "white";
  context.fill();
  context.closePath();
  if (stroke) {
    context.stroke();
  }
context.lineWidth = 1;
context.strokeStyle = "#ffffff";
context.font="12px Arial";
context.textAlign="center";
context.fillStyle = "black";
context.fillText(data.name,22,12);

var pngUrl = canvas.toDataURL("image/jpg");
let marker: Marker = this.map.addMarkerSync({
icon: data.icon,
animation: 'DROP',
position: {lat:data.lat, lng:data.lon},
});
marker.setZIndex(2);
let marker2: Marker = this.map.addMarkerSync({
icon: pngUrl,
position: {lat:data.lat, lng:data.lon}
});
marker2.setZIndex(1);
});
`

that the code is helpful


[Feature][Zeta] Checkpoint support hdfs ha mode

Purpose of this pull request

close issue #4676
Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[  ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

please  update docs

Please rerun mvn spotless:apply . Thanks.

Waiting for CI/CD.

@Kyofin  Please use `mvn spotless:apply` to format the code.

@wu-a-ge

@davidzollo PTAL


Fixes Issues #305 & #304

Description
Fixes Issues https://github.com/carrot/share-button/issues/305 & https://github.com/carrot/share-button/issues/304 to allow successful npm install and Chrome svg issues.
PR Checklist

[x] Clean commits
[x] Passing Tests ( Testing removed, but gulp build runs correctly. )

please, someone, resolve this PR

https://github.com/kirbyfan64/better-share-button/commit/c49bf2ea7db3e2f38d68de59a1a8d1e504c7d421

@kirbyfan64 whats the difference between your link and the PR I submitted?

@erwstout I added it to a fork I made... :D


Implement game modes

Build, Random, others

Menu for selecting game mode has been added.
Selected game mode variable can be access here: GameScene._on_pregame_hud_finished()

Implemented different sell prices based on game mode.
50% for build, 75% for others.


Extension Bundle for Web Visualization Support

An extension bundle provide web visualization support would be useful.
It should comprise the following features:

Create Feature
Create Group
Remove Feature
Remove Group
Assign Features to Groups
See all features by groups
Enable/Disable Group
Enable/Disable Feature

All the requirements are already provided in FeatureService and hence, the web support would invoke all the relevant methods to support the aforementioned functionalities. To prevent introduction of new dependencies, we can create HTTP Servlets that can communicate easily with HTML/JS. Introducing REST URIs for every method as introduced in FeatureService would require REST Dependencies. Just to avoid that we can simply use OSGi's inbuilt HTTP Specification.a

The complete list of functionalities:
[ ] Create Feature
[ ] Create Group
[ ] Remove Feature
[ ] Remove Group
[ ] Assign Features to Groups
[ ] See all features by groups
[ ] Enable/Disable Group
[ ] Enable/Disable Feature
[ ] Create System Property Strategy
[ ] Remove System Property Strategy
[ ] Create Service Property Strategy
[ ] Remove Service Property Strategy
[ ] Assign Strategies to Features
[ ] Assign Strategies to Groups
[ ] Show Features By Group
[ ] Show Features by Strategies
[ ] Show Groups by Strategies

https://github.com/amitjoy/feature-flags-osgi/wiki/Feature-Flags-Web-Administration


Make nltk.sentiment.vader deterministic

Should resolve #2581 -- the issue was totally correct. It looks like the class would choose "but" or "BUT" at random as the first word in the set. Then, in the sentence given in the ticket that had both lowercase and uppercase, it would negate from the first "but" or "BUT" at random. My fix is to handle things case-insensitively.
I threw in a unit test for good measure.

Great contribution, thanks @dannysepler!


FileUploadParameters.Filename is mandatory

There's a difference between the api, and the library.
API:  https://api.slack.com/methods/files.upload - filename is optional
https://github.com/nlopes/slack/blob/e91003aaf55d5b34c446599eb9b9be821daa2cef/files.go#L292
Library - returns an error

fixed.


Fixes residue ID increment in GROMACS GRO files

Description
Addresses failure to increment the residue ID of identical molecule types in .gro files. Similar to #1000.
Checklist

[x] Add tests
[ ] Lint
[ ] Update docstrings

A few observations after having a poke around, based on the new unit test provided:

The non-uniqueness issue is already present in the molecule_types field of a GROMACSSystem created from an Interchange via interchange.smirnoff._gromacs._convert(), which happens prior to any to_gro()/to_top() writer calls; in other words, the issue is upstream of the writers, and the changes in this commit from @PEFrankel are likely unnecessary
Introducing a second pair of chemically-identical molecules which are distinct to the pair in the unit test writes only the first of this new pair and the original pair, respectively, to the .gro file produced by the writer
Looking through how molecule_types is constructed, one finds an iteration over the allegedly unique molecules in the interchange topology; in fact, this happens twice
However, closer inspection of the unique_molecule_map, derived from toolkit.Topology.identical_molecule_groups, reveals that the molecule indices being iterated over here are only for the first occurence of each unique mol. In other words, the wrong molecule index is being read from the identical_molecule_groups; one should be reading the first field of the value (NOT the key) to index each individual occurrence of a molecule uniquely.

I tried to hack together a fix based on this, but encountered an AssertionError in gromacs.export._export  which indicated the number of molecules was being overspecified exactly by the amount of duplicates. My best guess would be that parts of the GROMACSSystem definition do need to be done on just the prototype molecule for a given chemistry (e.g. defining atom types), while others needs to be done for each instance (e.g. initializing GROMACSMolecule and GROMACSAtom instances), but it's unclear which parts of the duplicated unique_molecule_types iterations need to be done where, perhaps @mattwthompson can shed some light on this.
Hopefully this has been useful in pinning down the issue! I'm happy to look some more otherwise

Just a quick thought before I dig into this later - topology files need unique molecules and can't store information about copies, but coordinate files need all copies and don't care particularly about any de-duplication. I think the .gro file writer reaching into information stored for the .top file isn't the best way to go, and that might be what I did

Okay, there's a lot going on here and I need to be extra careful to only fix what needs fixing. I've opened a new issue to track requirements for various use cases. I am asking for input at the linked issue, specifically

if I'm factually incorrect about anything (it wouldn't be the first time)
if I'm missing any important use cases
if there are other edge cases that would be useful to add as tests

https://github.com/openforcefield/openff-interchange/issues/1016


(EMAIL) Exhibitors - post event survey $30$

Please schedule and send the attached emails.
Subjects:
ENG: E-commerce Berlin Expo 2022 - we’d love to hear your feedback!
DE: E-commerce Berlin Expo 2022 - wir warten auf euer Feedback!
ebe6-survey.zip

sent


packages are not uploaded as artifacts

🐛 Bug
After making release packages are not uploaded to Release artifacts
To Reproduce
https://github.com/Lightning-AI/utilities/actions/runs/3362708729/jobs/5574801044
Warning: Cannot upload assets for release which is being undefined

Additional context

Do you think adding this reference tag could be a feasible solution?

Do you think adding this release tag could be a feasible solution?

We can try or just drop the tag event...

I believe it was fixed by face8f06c7dd81db2991e2f8e815e0b300340081


Create an app service environment with Os support as linux

Hello Team
I don't see an option to create an app service env hosted on a linux machine via cli. The only option is to first create the default one on windows and switch over. It would be helpful if we can pass the Os type as well.
Thanks
Pradeep

app service

app service

@madsd FYI.

@madsd FYI.


fix(compiler-ssr): TransitionGroup owns style-scoped properties on SSR

close: #7554

/ecosystem-ci run


Added website page for companies who offer consultancy and enterprise…

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Added a new page in website for support and training (#6504)
On clicking the company card, it redirects to the company site in new page.
Verification

@bwplotka @yeya24 PTAL

Looks pretty awesome, thanks @kartikaysaxena.
One question, it will do nothing when people click Add your company?

Looks pretty awesome, thanks @kartikaysaxena. One question, it will do nothing when people click Add your company?
I wonder if we want to keep it

Actually it redirects the user to Thanos GitHub repository. Similar to what Prometheus does

@yeya24 PTAL

The docs checks describe something about an internal server error, which may not be related to the code of this PR. I may be wrong here, though. Kindly PTAL @MichaHoffmann

The docs checks describe something about an internal server error, which may not be related to the code of this PR. I may be wrong here though. Kindly PTAL @MichaHoffmann

Triggered a rerun

Docs action is successful now.

Docs action is successful now. But I don't know why there is a issue with e2e tests.

They can be somewhat flaky; i reran and it succeeded!

Thanks!


Fix compile error in example in README

Without this additional import, the example doesn't work as specified.

Added a commit that makes the library compile under 0.15.1
I'm guessing that the CI build is not using elm 0.15.1, since it failed with an unhelpful error message.

Just getting around to this. It's been fixed in a different way by refactoring the library and updating the README.


Fix crash and rendering where large content is pasted to console on non-Windows

Several issues:

When large content is pasted to the console window on Windows, the buffer scrolls and PSReadLine now has a negative value for the cursor.  Exception is raised when trying to set the cursor location to a negative y value.  Fix is to check for this and set y to 0 (top).
When the buffer scrolls on paste, the re-rendering gets confused as it didn't track the scrolling appropriately.  Fix is to skip drawing content that is off screen.
If the last line drawn to the screen is at the bottom of the screen buffer and the width of the output is exactly the window width, scroll doesn't happen until the next character is drawn; however, PSReadLine expected it to scroll so it's off by one.  Fix here is to catch this and reset position back one line.

Fix https://github.com/lzybkr/PSReadLine/issues/663

I think the changes are fine, I'll try them out for a bit before merging.
Are you also going to fix MenuComplete? See this comment.

@lzybkr that's a separate issue.  I'll look at it in between other work as a separate PR.

@lzybkr it comes up easily on non-Windows when pasting a large script

It happens easily on Windows as well, but you need a small window.
For my education and to better understand an appropriate fix - when are small console windows normally hit on non-Windows? I know that with no gui the window is small, but where else?

The default terminal size on Ubuntu is 80x24.

Maybe it's reasonable to disallow a command line that exceeds the buffer height, at least until you can actually edit it properly.

@lzybkr I think we should take this fix as even if you can't edit the buffer, it does show the syntax highlighting correctly making it easier to read.  If you think we should explicitly disallow editing, I think we should have that as a separate issue.  This PR does fix the current issue of an unhandled exception.

I'm still on the fence about allowing _initialY to be negative. Before this PR, there was no code that expected that, this change basically takes the position that it is an expected condition, and we need to carefully review all other uses.

There aren't too many references to _initialY in the code.  The menu code relies on _initialY and is probably the related crash for tab-complete for a large result set which I'll look into after we resolve this one.  The alternative requires using a different variable to track how far off the screen we are.

If we decide a negative _initialY is reasonable, the field declaration and where we change it should have comments saying as much and why.

It would be good to add a test as well. The current console proxy does use a fixed buffer, but it might need some improvements to handle this scenario.


Workshop 3 exercise [Silas Achidago]

Please "drag & drop" the result map of your exercise file below.
IDU Output.pdf

Please "drag & drop" the zip file of the IDU shapefile for AAC district.
Final_Merged_IDU.zip

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to the module and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

Well done, Silas. You clearly grasped the material outlined in Workshop 3 and successfully applied it to this exercise. Thank you for your participation! Please be sure to fill out the post-Module survey.


On /status, [standby] is not updated correctly

Just now, I was watching /status, and I noticed that while the ping times changed dynamically, the [standby] tag and admin Failover option did not. They prolly should

Summary
Difficulty:

Scope:

Issue Owner: TBC
This issue requires extending some existing functionality to cover additional data. Currently, metasmoke monitors the status of multiple SmokeDetector "instances": these instances send an HTTP request every minute telling metasmoke that they're still alive, and whether they're the active instance or waiting in standby.
Our status dashboard is live-updated with the ping (HTTP request) times via websocket, but not with the correct standby status.
Guidelines
There are two ends to this issue. You'll need to start by adding the necessary data to the websocket message. This is sent in the StatusController#status_update action; you'll need to add some indicator of whether the calling instance is in standby mode or not.
Once you've done that, you'll need to update the view's JavaScript to receive that data and apply it to the view, adding or removing standby labels and the "Failover" link where necessary. A standby label and failover link should be shown by any instance currently in standby; the active instance should have neither.
How to get help
For additional support in completing this issue, either:

comment on this thread
if you have a Stack Overflow account, drop into our chatroom (you'll need 20 reputation - if you don't have that, let the issue owner know your username or ID here so they can arrange for access)

This looks like an interesting issue. I'd like implement this!

Go for it @sjakobi :) Drop questions here or in https://chat.stackexchange.com/rooms/11540/charcoal-hq and someone will help.

@sjakobi Did you still working on this?

Feel free to start working on this either way, @kaluabentes - there's only 10 days left in Hacktoberfest.

@sjakobi Did you still working on this?

I'm afraid I still didn't get around to it. :(
Sorry for the noise!

@ArtOfCode- How I can detect user role on frontend, because it required for correct inserting failover link ?

@sarco3t Do you need to check it from JavaScript, or from an ERB view?

JavaScript, because url sets in status_update.json and broadcasts to all
users.
On Wed, Dec 12, 2018, 15:48 ArtOfCode<EMAIL_ADDRESS>wrote:

@sarco3t https://github.com/sarco3t Do you need to check it from
JavaScript, or from an ERB view?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Charcoal-SE/metasmoke/issues/504#issuecomment-446593563,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AoWeRvItw8owehVZLqG0_NMw_wqicxf8ks5u4Qk6gaJpZM4WZjNH
.

Hm. Other than the API, we don't have a built-in way to do that, but the API isn't optimal for this kinda use given that we should have the data locally. I'll have a look into it in the next day or two and see if I can come up with something.

Sorry, misclicked there. Could you check if other instances have a failover link present, or is that too ugly?


Add delay to fix flaky autofill e2e test

Task/Issue URL: https://app.asana.com/0/414709148257752/1207996635540074/f
Tech Design URL:
CC:
Description:
Ensures at least 15 seconds elapses between each autofill action that requires authentication, so that the 15 second grace period always elapses & prevents testing flakiness

Steps to test this PR:

Confirm the test has passed in the end to end run -> https://github.com/duckduckgo/iOS/actions/runs/10287838290
Optionally, run run_ui_tests.sh release_tests/password-autofill.yaml and confirm it passes

Definition of Done (Internal Only):

[ ] Does this PR satisfy our Definition of Done?

Internal references:
Software Engineering Expectations
Technical Design Template

@amddg44 my mistake, I’ve cherry picked your changes from your branch as I didn’t see the PR initially. When I rebased on top of my PR there were no changes and it closed this one. Thanks for the help!


Merge branch 'stable' into master

Following the release of Themis 0.13.6 and #753, merge stable into master to sync up the changes.
Updated Xcode project to backport changes: version updates and arm64e removal from the architecture list. The projects are still quite different in the master and release/0.13 branches. Other than that, there were no merge conflicts this time.
Checklist

[x] Change is covered by automated tests
[x] Changelog is updated
[ ] #753 is merged
[ ] ⚠ Push the merge manually from the command-line

I've tweaked the changelog a bit (November 23th => 23rd) in the merge commit, only in master branch. Can't be bothered to update the release/0.13 and stable again for this, but let's have the master's changelog right at least.


Proxy crashes on unreachable addresses

Make an XHR to http://michael and watch it crash.

This actually still happens today :o

Fixed in #195 !


Enhancement to the perturbative modelling

This PR contains enhancement to the perturbative modelling in CCL to make its integration in firecrown easier.

Allow skipping of calling ptc.update_pk in get_pt_pk2d

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 97.503%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
4842

Relevant Lines:
4966

💛  - Coveralls

That sounds good to me. One thing I noticed was that for nonlin_pk_type == 'nonlinear' and requesting a matter-matter power spectrum, get_pt_pk2d evaluates the existing non-linear power spectrum at the ptc k sampling and then recreates a new Pk2D object (with is_logp=False). Since the ptc k sampling differs from the internal P(k) splines, the extrapolation (or lack thereof) then is different for the Pk2D object you get back than the CCL-internal power spectrum, even though they both use the same underlying P(k).

Could we merge this for now? This is currently holding up the firecrown PR.

To close the Firecrown PR in question, we will need a release on conda forge with this addition. When is such a release feasible?

@marcpaterno let me try to tag a release and see if we can get it up within the next couple of days

Thanks David!


Fix UBODeclaration creation issues

#200
fix tests to use the test server
fix some imports

@mihaimoiseanu  More than UBOs, one test related to AVS is failing and must be updated to be OK again.
You should create a GBP wallet + regiser a GBP card + process a GBP Payin for AVS test rathen than EUR (easier to manage on our side as our GBP testing contract is supporting AVS, not our EUR one anymore).

The failed because we try to update an ubo after we ask for validation, this is because I think the validation test is done before the update one. To make all the test pass, we can create new ubo_declaration and ubo object at each test.

The failed because we try to update an ubo after we ask for validation, this is because I think the validation test is done before the update one. To make all the test pass, we can create new ubo_declaration and ubo object at each test.

Quite good idea, as the only way to make UBODeclaration "available" again for update is ony a manual action on our BO :)


chore(noetic): release 1.9.3

:robot: I have created a release beep boop
1.9.3 (2023-08-31)
Documentation

fix zenodo config (#35) (59c8f63)
improve rosdep docs (#37) (42fb036)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rickstaa/ros-gazebo-gym/releases/tag/v1.9.3 :sunflower:


Translation is not working in initialization.

Hi,
I have two component, app and dashboard component. The app is home component and dashboard is normal component.
I use router like this:
{ path: 'home',  component: DashboardComponent }.
I found if access localhost:8080/home, translation will be not working in dashboard component(app component is fine). I mean translation is not working when run app component and dashboard component at the same time.
Could you give me a suggestion? thanks.

Hi @tsukasa521,
sorry, but I don't understand what you mean. Please, post at least the essential code.
Greetings,
Roberto

Sorry for my bad english. And I found solution in your sample, good sample!!!

@tsukasa521 English is not a problem: without seeing the code is difficult to see what happens. Greetings


⚠ Bofrost.lu has degraded performance

In f2ca8aa, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1386 ms

Resolved: Bofrost.lu performance has improved in 80734f0 after 6 minutes.


Empty events in transient states guards

Description
Guards on transient states transitions are not receiving the original events. This prevents using guards based on the events data.
Expected Result
The events received in transient state transitions should be the ones that originated the transition.
Actual Result
The events received are empty.
Reproduction
https://codesandbox.io/s/xstate-null-transition-guard-ogu34

Yes - from SCXML perspective this is a bug. Fixing this right now has too high possibility of breaking our users though. We are starting to work on a new major version and fixing this will have to wait for it.

Is there any write up listing the planned features/changes of the next major version?

Some things are listed here https://github.com/davidkpiano/xstate/issues/742 - its not yet an exhaustive list though. One thing that will land for sure is 100% SCXML compatibility.

@AjaxSolutions I will start marking roadmap items as 5.0 here: https://github.com/davidkpiano/xstate/issues/742

I have discovered a workaround: the 3rd argument passed to the guard is the meta object. It contains the current state. You can get your event from it.
// your guard in the transient transition
cond: (ctx, event, meta) => {
  console.log(event) // always {type: ''}
  console.log(meta.state.event) // e.g. {type: 'xstate.init'} this is what you want
}

This workaround works the same whether you define your transient transition with '': {} syntax or the newer always: {} syntax.

This work around only works when there is a single level transient transition. I am writing a machine that relies on an unknown number of transient transitions.
This has worked so far...
const lastEvent = (state: State): Event=> {
  if (state.event.type) {
    return state.event;
  }
  return state.history ? lastEvent(state.history) : undefined;
};

used like...
// when there isn't a concrete last event
cond: (_context, _event, meta) => !lastEvent(meta.state),


#23 Parsing failures management

Added IParseFailureObserver interface that defines parsing errors handling methods. Methods deal with both syntax errors and duplicated/not found key/name errors for nodes, messages, signals and so on.

Provided two implemetations for the interface:
1 - SilentFailureObserver: does nothing, like today. It's the default observer
2 - SimpleFailureObserver:  save each error in a list of string

Added several tests for each parsing failure error

Update Demo application to print errors, if any, using the SimpleFailureObserver class.

Hi @Whitehouse112 , thanks for the effor in this PR. I am not sure if it is nomal, however if I run the Demo, I get ehe follwing warnings/failures:

Hi @EFeru,

[VAL_] Value table syntax error: the syntax specification implemented in this library doesn't support a signed integer as a valid value description for the VAL_ keyword. Syntax is VAL_ var_name unsigned_integer char_string. The reported lines contain a negative number, from which the syntax error
Unknown syntax error: this is something I need to change, it regards the NS_ definition at the beginning of the file. My though was to support only symbols actually implemented by the library itself but there is no reason to display this failures after all. I will fix asap.

Regards

"Unknown syntax" is fixed. The following remained:

If I look in the dbc file indeed I see negative values for VAL_, is this something not supported by this library or the dbc file is not according to dbc Vector specs?

It's something not supported by this library? Yes
It's not compliant to the dbc Vector spec? I don't know: the only documentation available on the internet is the one provided also in this library and a signed integer is not a valid value for VAL_ tag.

So this library supports only unsigned integer cause the only documentation available states that. This document is from 2010, I don't know if it has been updated, I looked for a recent version without success.

Hi,
It's very important that we find a reference and we stick with it. The document linked by @Whitehouse112 is by far the most complete and detailed resource we could find on the web.
Usually we also look for other software behaviour, we have the feeling that  the specs are a bit sloppy so software got quite tolerant on syntax over time.
How is CANdb++ behaving with those lines?
My 2 cents
A

CANdb++ just adds the value description without complains.


Support of include in TS

In addition to https://github.com/trikset/trikRuntime/pull/505

Download:
Environment: QT=5.12, ARCH=32, PYTHON_PATH=C:\Python37
Environment: QT=5.12, ARCH=64, PYTHON_PATH=C:\Python37-x64

Download:
Environment: QT=5.12, ARCH=32, PYTHON_PATH=C:\Python37
Environment: QT=5.12, ARCH=64, PYTHON_PATH=C:\Python37-x64

Download:
Environment: QT=5.12, ARCH=32, PYTHON_PATH=C:\Python37
Environment: QT=5.12, ARCH=64, PYTHON_PATH=C:\Python37-x64


Feature request: Add options to show packages with only-FSF, only-OSI or only-DFSG compatible licenses

Idea (see, also #5) by @im397:
-f, --list-fsf List only packages with FSF compatible licenses
-o, --list-osi List only packages with OSI compatible licenses
-d, --list-DFSG List only packages with DFSG compatible licenses

I created this issue to discuss the implementation, I’d be happy to implement it myself.
Based on the information from spdx/license-list-data I suggest to create a simple licenses table file which we than load in the main program to read the licenses from. E.g., here some licenses:

name
id
FSF
OSI
DSFG
vrms
alternatives

BSD Zero Clause License
0BSD

Y
Y
Y
[Zero-Clause BSD]

Beerware License
Beerware

Y
Y

Creative Commons Attribution
CC-BY

Y
[CCPL:by]

Creative Commons Attribution 4.0 International
CC-BY-4.0
Y

Y
Y
[CCPL:by-4.0]

GNU General Public License v2.0 or later
GPL-2.0-or-later
Y
Y
Y
Y
[GPL2+, GPL2-or-later, GPL2 or any later version]

Technically, I suggest using the json format provided by SPDX and add our own variables for DSFG and alternative IDs, by adding an own json file with content such as:
{
  "licenseListVersion": "2.01",
  "releaseDate": "2023-10-15",
  "licenses": [
    {
      "licenseId": "0BSD",
      "alternativeIds": [
        "Zero-Clause BSD"
      ],
      "isDsfgFree": true,
      "isVrmsFree": true
    },
    {
      "licenseId": "Beerware",
      "isDsfgFree": true,
      "isVrmsFree": true
    },
    {
      "licenseId": "CC-BY",
      "alternativeIds": [
        "CCPL:by"
      ],
      "isVrmsFree": true
    },
    {
      "licenseId": "CC-BY-4.0",
      "alternativeIds": [
        "CCPL:by-4.0"
      ],
      "isDsfgFree": true,
      "isVrmsFree": true
    },
    {
      "licenseId": "GPL-2.0-or-later",
      "alternativeIds": [
        "GPL2+",
        "GPL2-or-later",
        "GPL2 or any later version"
      ],
      "isDsfgFree": true,
      "isVrmsFree": true
    }
  ]
}

If you agree on this approach, I’d be happy to start implementing it.

So we have two JSON files: one from SPDX and one of our own, and we merge them at runtime? That sounds good me, I was thinking of doing something similar but never got around to it. In theory we could pull the SPDX one dynamically and cache it.

Personally though I'd prefer to keep our data in a simpler format like CSV or TSV, only because personally I like to sort the license list, and in general since the data is pretty much supplied manually, I think tab-separated values will make for less typing.

License ID	DSFG?	vrms?	Aliases...
0BSD	true	true	Zero-Clause BSD
GPL-2.0-or-later	true	true	GPL2+	GPL2-or-later	GPL2 or any later version

is this too hacky or no?

(oh, and it's DFSG, not DSFG)

I also thought of csv or tsv as simpler format, but then I thought that json should be the preferred format to be read with python (without extra packages). Nevertheless, I tried with the following sample free_licenses.tsv file
#ID	DFSG?	Aliases
0BSD	True	Zero-Clause BSD
Beerware
# CC-BY is ambiguous for versions 1.0, 2.0, etc.
CC-BY		CCPL:by
CC-BY-4.0	True	CCPL:by-4.0
GPL-2.0-or-later	True	GPL2+	GPL2-or-later	GPL2 or any later version

and implemented this little code to read the file
class License():
    def __init__(self, license_id, is_dsfg_free=False, *aliases):
        self.license_id = license_id
        if type(is_dsfg_free) == str:
            self.is_dfsg_free = is_dsfg_free.lower() in ['true', 'yes']
        else:
            self.is_dfsg_free = bool(is_dsfg_free)
        self.aliases = list(filter(bool, aliases))

    def __repr__(self):
        return f"License('{self.license_id}', is_dfsg_free={self.is_dfsg_free}, aliases={self.aliases}"

with open('free_licenses.tsv') as f:
    for line in f.read().splitlines():
        if line and line[0] != '#':
            print(License(*line.split('\t')))

which yields
License('0BSD', is_dfsg_free=True, aliases=['Zero-Clause BSD'])
License('Beerware', is_dfsg_free=False, aliases=[])
License('CC-BY', is_dfsg_free=False, aliases=['CCPL:by'])
License('CC-BY-4.0', is_dfsg_free=True, aliases=['CCPL:by-4.0'])
License('GPL-2.0-or-later', is_dfsg_free=True, aliases=['GPL2+', 'GPL2-or-later', 'GPL2 or any later version'])

Also, I realized that probably we don’t need the field/parameter is_vrms_free because all licenses we add in the tsv file can be considered free for vrms. And if needed we can later add other licenses with separate files.

Should we do anything special with the "ethical" licenses? They could just be an extra field in the TSV.
I know that that's a niche feature and the movement behind it, is... well, it was never tremendously popular. But I do have at least one AUR package on my system which uses the Hippocratic license: https://aur.archlinux.org/packages/zsh-abbr
So I'd rather not exclude them.

Should we do anything special with the "ethical" licenses?

I'll just remove the "ethical source" licenses. After looking through the AUR metadata archives, literally nobody in the AUR uses any of those licenses; except for the one aforementioned package using the Hippocratic license, but that license is actually in the SPDX database already.

I have some other suggestions regarding this, but I will implement them in a re-write. I'm not sure when exactly I'll end up rewriting vrms, but I need to do that sooner rather than later because of Arch's adoption of SPDX expressions.


Add performance profiling to flare command

What does this PR do?
This PR adds the option to the flare command to collect performance profile info for the go and python runtimes by using a dedicated flag --profile or -p for the flare command of the Agent.
Motivation
It would be useful to have performance profiling data for some support cases.
Additional Notes
In pkg/flare/archive.go/zipExpVar() I added an anonymous function to wrap the deferring inside the loop, so that the writer gets closed after each iteration of the loop and doesn't get piled up. Would like to hear thoughts on that.
Describe your test plan

Add unit test for profiling file creation
Test that the flag works correctly for true and false
Test that profile files get created after 120s when creating a flare with the flag enabled

Notes for QA
Make sure it works on all platforms (especially on windows, especially the python runtime stuff might be flaky).

I think you need to figure out the rebase to master. Something's wrong here

I think you need to figure out the rebase to master. Something's wrong here.
Also, since you included APM, it would be nice (and very valuable) to get trace-agent profiles included too. If you want that as part of a separate PR, that's also ok, but then let's make the description of this one clear in that it only includes the core agent binary profiles.

Hey, yeah.. I accidentally did some changes on master and then tried to rebase my local master into my local PR branch, but somehow it got all messed up 😅  Not sure what to do. Regarding non-core change, I would do all of that in separate PRs. I will add a comment to the PR description.


Cannot debug a bot with MsAppId and Pass

Describe the bug
Create a bot. Add an msappid and msapppassword. Start the bot. Try running it in Emulator or Integrated Webchat in Composer. It throws a 401 error.
Version
Current Nightly on Composer. Composer 2.0 works totally fine.
Browser
Both electron and web

I ran into a 500 error after I set the app id and password on my Mac - @srinaath is also on a Mac. @EricDahlvang was able to update the app id and password on Windows without any problems so the issue might be operating system dependent.

I found another issue during the test, when I open the bot the first time, I didn't enter the password, I tried the webchat and emulator both not worked, which is expected. But after I enter the MicrosoftPassword, and restart the bot, the emulator works well, but webchat always responses with 401. There is probabaly an issue that webchat didn't update the appid and password after restarting the bot.


⚠ Bofrost.fr has degraded performance

In 5e47310, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1351 ms

Resolved: Bofrost.fr performance has improved in 143f833 after 8 minutes.


HOLD => [Clientside Nav] Bump A/B test to v5

Hold
Holding on deploying this till after Q/A session.
This launches the latest version of the A/B test, which contains a fix where subsequent inquiries were never being dispatched to analytics. This problem impacted all previous A/B tests.

Fails

:no_entry_sign:

Danger failed to run dangerfile.ts.

Error GraphQLError
Syntax Error: Cannot parse the unexpected character "<".
GraphQLError: Syntax Error: Cannot parse the unexpected character "<".
    at syntaxError (/home/circleci/project/node_modules/graphql/error/syntaxError.js:24:10)
    at readToken (/home/circleci/project/node_modules/graphql/language/lexer.js:302:32)
    at Object.lookahead (/home/circleci/project/node_modules/graphql/language/lexer.js:61:43)
    at Object.advanceLexer [as advance] (/home/circleci/project/node_modules/graphql/language/lexer.js:52:33)
    at expect (/home/circleci/project/node_modules/graphql/language/parser.js:1296:11)
    at parseDocument (/home/circleci/project/node_modules/graphql/language/parser.js:107:3)
    at parse (/home/circleci/project/node_modules/graphql/language/parser.js:38:10)
    at buildSchema (/home/circleci/project/node_modules/graphql/utilities/buildASTSchema.js:447:43)
    at _callee3$ (/home/circleci/project/scripts/validateSchemas.js:154:31)
    at tryCatch (/home/circleci/project/node_modules/regenerator-runtime/runtime.js:45:40)

Dangerfile
19|   const changes: string[] = await getBreakingChanges(versionToCheck, 2)
20|
21|   // There are breaking changes with the schema
22|   if (changes.length) {
23|     if (isReleasePR) {
------------^
24|       const deployURL = "https://github.com/artsy/metaphysics#deployment"
25|       fail(
26|         `You need to promote Metaphysics from staging to production. The schema used in Reaction, is further ahead than the version in Metaphyisc production. This could cause your queries to fail. You can see how to [deploy here](${deployURL}).`
27|       )

  Generated by :no_entry_sign: dangerJS against ae51ab2de16a25a535bbdb3c097c6d95bd47191a


update docker nv2 push to use reference

The current nv2 client uses link, instead of reference.
To clean up loose ends:
docker push $IMAGE
The output should change from:
The push refers to repository [registry.wabbit-networks.io/net-monitor]
8ea3b23f387b: Preparing
8ea3b23f387b: Pushed
v1: digest: sha256:31c6d76b9a0af8d2c0a7fc16b43b7d8d9b324aa5ac3ef8c84dc48ab5ba5c0f49 size: 527
Pushing signature
signature: digest: sha256:dfad94dbda48a0a221a6196ee802b628d84a1551fecac6e94af306aff2f7b07d size: 2534
link: digest: sha256:8eb7394c8f287ebd0e84a4659f37a2688c6e07e39906933ccb83d9011fb29034 size: 470
to
The push refers to repository [registry.wabbit-networks.io/net-monitor]
8ea3b23f387b: Preparing
8ea3b23f387b: Pushed
v1: digest: sha256:31c6d76b9a0af8d2c0a7fc16b43b7d8d9b324aa5ac3ef8c84dc48ab5ba5c0f49 size: 527
Pushing signature
signature: digest: sha256:dfad94dbda48a0a221a6196ee802b628d84a1551fecac6e94af306aff2f7b07d size: 2534
reference: digest: sha256:8eb7394c8f287ebd0e84a4659f37a2688c6e07e39906933ccb83d9011fb29034 size: 470

Assinging to @shizhMSFT

This issue is covered by #47.


Is there an option to change the size of generated QR code?

Currently there is not a configurable way to change it. However, you can edit the line of code below to shrink the output or use the Preview app the barcode opens in to adjust the size from the tools menu.
set aTransform to current application's CGAffineTransform's CGAffineTransformMakeScale(100.0, 100.0)
The barcode on my system creates at 2300x2300. By lowering the percentage there, you can create a smaller QR code. Be sure to keep the numbers the same for the scale so it remains square.
Certainly this is something which would make a good addition to the workflow.

That's what I was trying first and for some reason MacOS Preview App opens it full screen anyway. Now I see when I set it at  10.0 all works fine. Thank you.


deck.gl - multiple versions detected: 6.1.1 vs 5.3.3

I am using both kepler.gl and deck.gl now. There's a error here 'Error: deck.gl - multiple versions detected: 6.1.1 vs 5.3.3'. I checked node_modules and found that kepler.gl use deck.gl v5.x, and I installed another v6.x. And I can't install older version because I need the orthographic view controller which in the least deck.gl version. Can anybody give some advance ？

kepler.gl is in the process of upgrading to v6. You may need to get their beta release for this to work.
@heshan0131

@Pessimistress Thank you for your help!


How do i add a custom texture?

Hey!
I'm using your magi.js library for a project of mine
is there a clean way to add a custom texture without hacks?
awesome library btw

Heya, thanks for your kind words!
What kind of custom texture do you want to add? The basic process is
var tex = new Magi.Texture();
tex.width = 1;
tex.height = 1;
tex.data = new Uint8Array([1,2,3,4]);
myNode.material.textures.Texture0 = tex;

See https://github.com/kig/magi/blob/master/src/gl_util.js#L207

i tried:
                mesh = new Magi.Cube().setScale(4 * f * s, 9 * f * s, f * s);
                var tex = new Magi.Texture();
                tex.width = 2;
                tex.height = 2;
                tex.data = new Uint8Array([255,0,0,1,255,0,0,1,255,0,0,1,255,0,0,1]);
                mesh.material.textures.Texture0 = tex;
                mesh.setY(0.8 * f * s);

i expected to see some red pixels, but nothing happens (not even an error), how would i got to use a jpeg as texture?
img = new Magi.Image("texture.jpg"):

is to load images, but how do i apply an image texture to a Magi.Cube?

That's me with a friend's account ^
On Fri, 7 Jul 2017 11:19 am cavoliamauri<EMAIL_ADDRESS>wrote:

i tried:
            mesh = new Magi.Cube().setScale(4 * f * s, 9 * f * s, f * s);
            var tex = new Magi.Texture();
            tex.width = 2;
            tex.height = 2;
            tex.data = new Uint8Array([255,0,0,1,255,0,0,1,255,0,0,1,255,0,0,1]);
            mesh.material.textures.Texture0 = tex;
            mesh.setY(0.8 * f * s);

i expected to see some red pixels, but nothing happens (not even an
error), how would i got to use a jpeg as texture?
img = new Magi.Image("texture.jpg"):
is to load images, but how do i apply an image texture to a Magi.Cube?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kig/magi/issues/1#issuecomment-313631918, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABP84i-lPXwWrCTee9GDl_Gxo2Qe_dAAks5sLfgogaJpZM4N-Jzm
.


Formatting leftpad not working properly

I have the cpu module in my bar with the label
label = %percentage:3:3%%
and to my understanding it means min and max = 3, so it should always be width: 3
But if my cpu percentage changes from a 1-digit number to a 2-digit number the width increases..

Am I misunderstanding the formatting or is there an issue here?
Thanks for your help in advance!

Sorry for the delay.
I have looked at the images and the label with two digits is only 4 pixels wider than the one with one digit. I suspect you use a non-monospaced font, the min and max values make polybar insert extra whitespaces so that there are at least and at most three characters, but if your characters don't all have the same width the label will still change in size. Try to use a monospaced font and the problem should go away.

Indeed, using a monospaced font fixed the issue. Thanks

Not right now, but printf-style formatting is being considered: #1063


Azure Databricks: Is 30 character subnet name still a requirement?

Regarding this note:

Azure Databricks requires subnet names to be no longer than 30 characters. This is shorter than the maximum length allowed for subnets in the Azure portal. Before you use an existing subnet, rename it if its name is longer than 30 characters.

We have deployed Azure Databricks in the past, but recently we accidentally deployed Azure Databricks across subnets that were named more than 30 characters, but didn't get the error message we had seen before.
Is the 30 character subnet name limit still a requirement? If not, can the documentation be updated to reflect that?

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

ID: 93bd5c16-e0ec-5064-9bc0-1c527c328a7e
Version Independent ID: 5342d01e-c2da-f7a8-d22e-86995a17af79
Content: Deploy Azure Databricks in your Azure virtual network (VNet injection) - Azure Databricks
Content Source: databricks/administration-guide/cloud-configurations/azure/vnet-inject.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@bh-garo-yeriazarian
Thanks for your feedback! We will investigate and update as appropriate.

@bh-garo-yeriazarian
I've delegated this to @mssaperla, a content author, to review and share their valuable insights.


Handle URI's containing a comma character

Hello, in our system we have a common appearance of a live stream HLS master playlist that contains a comma character (for rerouting between streamers/servers) in URIs, like so:
`
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-STREAM-INF:BANDWIDTH=1496000,FRAME-RATE=25.000,RESOLUTION=856x480
http://<IP_ADDRESS>:8080/stream/?fw=true&route=sbb-bg-ku-h1-22,sbb-bg-ne-h1-14&rule=11,null&sp=unitedcloud&asset=masaimedved102srb-hd-p-srpsub&stream=hp1400&conn=UNKNOWN&nf=3&b=3&player=m3u8v&t=36000&adaptive=false&orig=true
#EXT-X-STREAM-INF:BANDWIDTH=446000,FRAME-RATE=25.000,RESOLUTION=512x288
http://<IP_ADDRESS>:8080/stream/playlist/hls/?session=e02569a4-5fee-4503-81a2-03ffd859c193&stream=hp350&player=m3u8v
#EXT-X-STREAM-INF:BANDWIDTH=3596000,FRAME-RATE=25.000,RESOLUTION=1920x1080
http://<IP_ADDRESS>:8080/stream/playlist/hls/?session=e02569a4-5fee-4503-81a2-03ffd859c193&stream=hp3500&player=m3u8v
#EXT-X-STREAM-INF:BANDWIDTH=7096000,FRAME-RATE=25.000,RESOLUTION=1920x1080
http://<IP_ADDRESS>:8080/stream/playlist/hls/?session=e02569a4-5fee-4503-81a2-03ffd859c193&stream=hp7000&player=m3u8v
`
We love using your library, however the URL of the first variant list here is read only until the first ',' character, and thus is incomplete. Would you consider patching so that these kind of URI's are handled properly?
Thanks and keep up the excellent work and contribution!

Hi! Thank you for reporting this bug. It was caused by how the parser handled the url internally. It's now fixed and will be released asap :)

Hi, that's great, thanks! Please let me know here when you release it on gradle so we can update locally :)

I've seen you already released 0.17, it works fine, so thanks again :)


Update content store environment variable

In #2805 we changed the way we render breadcrumbs and sidebars.  Instead of using the content-api we use the content-store as the data source for all the information. We are also using govuk_navigation gem to generate GOV.UK component data.
This PR update documents and scripts that still refer to content-store:

Heroku app
common-errors.md
development-without-vm
startup_heroku.sh

@pmanrubia This LGTM 👍

@ikennaokpala thank you for the review!


Removing old identity cookie ---

Dears,
Kindly look at this scenario:

enableAutoLogin ==> true
autoRenewCookie ==> false
session ==> Database
logged in to the system.
new session row added.
after some idle time (no action on the webpage) the database session row is garbage OR if i delete the session row directly from table
refresh webpage.
still logged in. because the cookie is exist.
after refresh, the identityCookie is not exist
try refresh again. ==> logout (no cookie to login)

this happen because you are add this change
Issue URL: https://github.com/yiisoft/yii2/pull/10480
Change URL: https://github.com/yiisoft/yii2/commit/ad6047e09fb91a33fd00f1b2a1790f17d84d97d9
Thanks,

Similar #11825

Fixed by 03299e8870eaaeb2714e53452078ca3ba2c86800


AssertionError: No super class method found for "decode"

I'm sure I must just be missing an installation step, but it looks like the base class in model.py really does not have a decode method:
pip3 install torch==1.5.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
pip3 install allennlp
pip3 install allennlp-models
pip3 install git+https://github.com/allenai/allennlp-semparse.git@339e617861a7616618a503cc98e1e9c8b28a1b06

from allennlp_semparse import predictors, models
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/allennlp_semparse/models/__init__.py", line 1, in <module>
    from allennlp_semparse.models.atis.atis_semantic_parser import AtisSemanticParser
  File "/usr/local/lib/python3.6/dist-packages/allennlp_semparse/models/atis/atis_semantic_parser.py", line 35, in <module>
    class AtisSemanticParser(Model):
  File "/usr/local/lib/python3.6/dist-packages/allennlp_semparse/models/atis/atis_semantic_parser.py", line 549, in AtisSemanticParser
    def decode(self, output_dict: Dict[str, torch.Tensor]) -> Dict[str, torch.Tensor]:
  File "/usr/local/lib/python3.6/dist-packages/overrides/overrides.py", line 67, in overrides
    raise AssertionError('No super class method found for "%s"' % method.__name__)
AssertionError: No super class method found for "decode"

This repo has not yet been updated for allennlp 1.0.  Please install allennlp 0.9 for now.

Thanks so much for the quick update. Do you have a rough ETA on when allennlp-semparse will be integrated with 1.0? (I was hoping to update everything to 1.0, but perhaps would need to run a separate image for 0.9.)

I don't think there's very much that needs to change, but no one is actively working on it right now, so I don't have an estimate, unfortunately.
It should just be a collection of really small things like the error that you found here (it's just renaming a method).  If you want to help, it'd be awesome to just open a PR with an updated allennlp version in requirements.txt, and then we can see test failures.  Hopefully there aren't too many, and they are easy.  Getting that started would go a long way towards me prioritizing this work :).

Very good, I'll start on that and ping you again when I have some progress (or extreme lack of progress).

So I found the updated function for decode, made progress with DatasetReader and Predictor registration with test code improvements, then was stuck with an incorrect datatype being passed to gather(). I doubt I would have made much progress with that, but then noticed https://github.com/allenai/allennlp-semparse/pull/23 which removed a .float() that turned out to be the necessary change.
This now successfully answers questions from tables for me:
https://github.com/allenai/allennlp-semparse/pull/25


Ubuntu: always use kolla-ansible to install docker-ce repo

Currently Release Train does not provide Ubuntu package repos.

Passed in https://github.com/stackhpc/stackhpc-kayobe-config/pull/293


Handle binder config properties in BindingProperties

Per-binding properties defined in BindingProperties need to hold the binder specific configurations needed when binding producer/consumers.
Currently, these are added in ChannelBindingServiceProperties as producer/consumer properties. Since, these configuration properties are for
per-binding based on the input/output (consumer/producer) channel being bound it would be better to move these properties into BindingProperties.

Add some of the supported producer/consumer properties into BindingProperties

This fixes #256

squashed and merged as https://github.com/spring-cloud/spring-cloud-stream/commit/fa89e5bcb6bfc808015dce4c884a1ff06e990e5b


[WIP] fixed jacket and whoogle config in the making

fixed some standards, fixed jacket right config location and working on whoogle to make it easier to configure. please do not merge yet.

Weird sorry I don't know how that happened! I don't remember clicking on the merge button... Very weird

Weird sorry I don't know how that happened! I don't remember clicking on the merge button... Very weird


internal/ci: ideas to improve the quality of CI checks

For some context, see https://github.com/golang/go/issues/42119. Some low-hanging fruit that we currently do not enforce:

go vet
gofmt
go mod tidy and go mod verify
catching stale benchmarks

From https://review.gerrithub.io/c/cue-lang/cue/+/536196/1#message-4cee1770d8fd1916f3979c36d367933c949f2a76, it sounds like we should be double-checking that Signed-off-by is properly used too.


Python intellisense is very slow

Type: Bug
Text highlighting and auto complete are very slow under specific python envs.
Python Language Server prints log messages of 'Long operation' like this:
[Info  - 11:15:48 AM] (31493) [BG(1)] Long operation: getSemanticTokens full at /Users/liron/Desktop/detector.py (124762ms)
Tried to revert to older extension versions - with no improvement.
This is the pip freeze output:
affine==2.3.1
attrs==22.1.0
bleak==0.12.1
certifi==2022.9.24
charset-normalizer==2.1.1
contourpy==1.0.6
cycler==0.11.0
delayed-image==0.2.3
distinctipy==1.2.2
ffmpeg-python==0.2.0
fonttools==4.38.0
future==0.18.2
idna==3.4
imageio==2.22.4
joblib==1.2.0
jsonschema==4.17.1
kiwisolver==1.4.4
kwarray==0.6.5
kwcoco==0.5.1
kwimage==0.9.7
matplotlib==3.6.2
networkx==2.8.8
numpy==1.23.5
opencv-python==<IP_ADDRESS>
packaging==21.3
pandas==1.5.2
parse==1.19.0
Pillow==9.3.0
pycocotools==2.0.6
pyobjc-core==9.0
pyobjc-framework-Cocoa==9.0
pyobjc-framework-CoreBluetooth==9.0
pyobjc-framework-libdispatch==9.0
pyparsing==3.0.9
pyrsistent==0.19.2
python-dateutil==2.8.2
pytz==2022.6
PyWavelets==1.4.1
PyYAML==6.0
requests==2.28.1
safer==4.4.1
scikit-image==0.19.3
scikit-learn==1.1.3
scipy==1.9.3
scriptconfig==0.7.1
Shapely==1.8.5.post1
six==1.16.0
sortedcontainers==2.4.0
-e git+ssh://git@bitbucket.org/tap_rd/tap_camera_algorithms_python.git@04d11c66dd7cda85cb87711381c3f6418de4b589#egg=tapalgo
tapsdk @ git+https://github.com/TapWithUs/tap-python-sdk@07d84d89c3c425fbb47ee56149f3d3b5bda3d311
threadpoolctl==3.1.0
tifffile==2022.10.10
tqdm==4.64.1
ubelt==1.2.2
uritools==4.0.0
urllib3==1.26.12
xarray==2022.11.0

Python Extension version: 2022.18.2
Pylance Extension version: 2022.11.30
VS Code version: Code 1.73.1 (Universal)<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T02:08:38.961Z)
OS version: Darwin arm64 22.1.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 2, 2

Memory (System)
32.00GB (1.53GB free)

Process Argv
--crash-reporter-id 37c91045-05a3-4c4f-89d9-994246d45d08

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1:30587005
2e4cg342:30602488
gswce1:30612156
iaj6b796:30613358
dbltrim-noruby:30604474
f6dab269:30613381

Thanks for the issue. Could you share the repository you're running this on so we can try to repro the problem?

Also suggest putting your code inside a folder and then using "open folder"

@rchiodo
It's a private repo, so I'm afraid I cant share it.
@brettcannon
This is how I always work - I open the folder of the repo.
Do you think maybe there's a specific package that might cause this latency?

@ilouzl, based on the log message that you shared, it looks like detector.py is taking an extremely long time to analyze. You could try to narrow down the portion of that module that's causing the long analysis time by commenting out portions. I typically use a bisection approach (e.g. start by commenting out the second half of the source file, etc.). If you can narrow it down to a particular section that can be extracted from the file and then sufficiently obfuscated and shared with us, we could take a look at the underlying cause.

in the past scipy has caused a lot of perf issues if that helps track it down.

@erictraut , I took your suggestion and bisected the code.
I quickly noticed that when importing numpy things start to get slower (~2sec analysis), but if I also import pandas at the same script, latency becomes very long (~15sec).
The rest of import does't impact latency.

That's a good clue, but we'll need to go a bit deeper. Pyright (the type checker upon which pylance is built) is a "lazy" type checker in that it evaluates the types of symbols only when they are referenced. That goes for imported symbols as well. So a simple import statement will not cause pyright to do much work. We'll need to determine which symbols from within those imports are triggering the long analysis times. It will require more bisecting to determine which pandas symbol(s) you're accessing that result in the long analysis time.
Do you have any pandas type stubs installed locally in your project or within your python environment, or are you using the pandas stubs that are bundled with pylance? You can tell by right-clicking on pandas or pd and choosing Go To Declaration. That should open a .pyi (stub) file.
Also, the times that you're reporting here (15s) are long, but they are nowhere near what your log message indicated (124.7s).

Going further with the bisection, I reduced the script to the minimum required to demonstrate the issue
import numpy as np
import pandas as pd

class IMUDataSet(Dataset):
    def __init__(self, data_dir, transforms=None, jitter=None, class_ratio=None):
        self.triggers, self.records, self.data = make_dataset(data_dir)
        self.triggers["label"] = 1
        self.transforms = transforms
        self.jitter = jitter
        self.c_ratio = class_ratio
        if self.c_ratio is not None:
            self.balance_classes()

    def balance_classes(self):
        n_false_triggers = len(self)*(1 - self.c_ratio)/self.c_ratio
        n_false_triggers_per_record = int(n_false_triggers / len(self.records))
        trigger_per_record = self.triggers.groupby('record_id')
        for rec_id, rec in self.records.iterrows():
            rec_len = len(self.data[rec['filename']])
            candidate_false_trigger_idx = np.arange(rec_len)
            try:
                record_triggers = trigger_per_record.get_group(rec_id).trigger_idx.values
                if self.jitter:
                    record_triggers = np.unique(np.concatenate([record_triggers + j for j in list(range(-self.jitter, self.jitter + 1))]))
                candidate_false_trigger_idx = np.delete(np.arange(len(self.data[rec['filename']])),record_triggers)
            except:
                pass
            candidate_false_trigger_idx = candidate_false_trigger_idx[(candidate_false_trigger_idx > WIN_LEN) & (candidate_false_trigger_idx < rec_len - WIN_LEN)]
            selected_false_trigger_idx = np.random.choice(candidate_false_trigger_idx, n_false_triggers_per_record, replace=False)
            self.triggers = pd.concat([self.triggers, pd.DataFrame(selected_false_trigger_idx, columns=['trigger_idx']).assign(**{"record_id":rec_id, "label":0})])

        self.triggers = self.triggers.sort_values(['record_id', 'trigger_idx']).reset_index(drop=True)

That script on my machine takes 8.5 sec.
If I comment out the out the very last line or any one of the two imports, the latency disappears.

Great! I'm able to repro the problem locally. I'll investigate further.

Also, the times that you're reporting here (15s) are long, but they are nowhere near what your log message indicated (124.7s).

The 124 sec analysis happened when I open another python script that imports the one that I shared above (before the reduction).

Here's a simplified sample that exhibits the problem:
from pandas import concat, DataFrame
from numpy import unique, delete, arange
from numpy.random import choice

class ClassA:
    def method1(self):
        t1 = self.g1
        for _ in []:
            c1 = arange(0)
            try:
                r1 = t1.g
                if 1 < 1:
                    r1 = unique([r1])
                c1 = delete(arange(1), r1)
            except:
                pass
            s1 = choice(c1, 1)
            self.g1 = concat([self.g1, DataFrame(s1)])

@ilouzl  for now just add some annotations to your 'self.foo' member variables.

This will be addressed in the next release.

This will be addressed in the next release.

This issue has been fixed in prerelease version 2023.1.11, which we've just released. You can find the changelog here: CHANGELOG.md

Thanks, you are awesome!

This issue is back with  pylance version v2023.1.40 (or any other versions after v2023.1.20) :(

Yes, I needed to back out the previous change because it introduced a regression. There is an open issue in the pyright issue tracker: https://github.com/microsoft/pyright/issues/4231.

It seems lile the issue is now fixed with 2023.2.20


Scroll Direction

This layout is amazing, really like , thank you very much !
The Scroll Direction is vertical , how to make it Horizontal ?

@betzerra  any progress on horizontal scroll Direction?

@SidCodal hahaha... sorry, I haven't given it a chance

@betzerra So When you'll going to give it a chance ;)

Hi
I have solved the horizontal thing .but I am in vacation and I don't have
access to my code . I will be back by 10th of august
On 29 Jul 2015 15:40, "Sid"<EMAIL_ADDRESS>wrote:

@betzerra https://github.com/betzerra So When you'll going to give it a
chance ;)
—
Reply to this email directly or view it on GitHub
https://github.com/betzerra/MosaicLayout/issues/2#issuecomment-125955679
.

That's great @talaa! If you would like to make a pull request you're more than welcome

@talaa Great...Will wait for the Update then.

Hey any progress on horizontal scroll Direction?

I'm also curious for this, any progress on this old issue?


New title option in ConversationFragment

Title in ConversationFragment can be configured by title option from bundle

DEFAULT: title from Conversation Record
OTHER_PARTICIPANTS: title via joining other’s participants’ display names. If display name field is not available, default “username” field is used.

Connects #102

Sample Code
val i = Intent(this, ConversationActivity::class.java)
i.putExtra(ConversationActivity.ConversationIntentKey, c.toJson().toString())
i.putExtra(ConversationActivity.TitleOptionIntentKey, ConversationTitleOption.OTHER_PARTICIPANTS)
startActivity(i)

@howawong Would like to have your help to update the PR, the original user cache was removed after steven updated the ui-kit get user mechanism. Instead user cache, it becomes a userMap inside conversation. Here for your reference.
https://github.com/SkygearIO/chat-SDK-Android/commit/6bd72492ad81e97464c2cbdcf2faaee3be932ca0


[MI-3733] Fix the issue with "AtlassianSecurityContext" being nil after migration to oauth

Summary
Fix the issue with "AtlassianSecurityContext" being nil after migration to oauth

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (06a02e8) 29.48% compared to head (e3a958a) 29.44%.
Report is 1 commits behind head on master.

Files
Patch %
Lines

server/kv.go
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #999      +/-   ##
==========================================
- Coverage   29.48%   29.44%   -0.05%
==========================================
  Files          52       52
  Lines        7848     7852       +4
==========================================
- Hits         2314     2312       -2
- Misses       5337     5343       +6
  Partials      197      197

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Closing due to https://github.com/mattermost/mattermost-plugin-jira/pull/1002


Cannot update Search Index that has charFilters and/or tokenFilters

Package Name: @azure/search-documents

Package Version: 11.2.1

Is the bug related to documentation in
https://docs.microsoft.com/en-us/javascript/api/@azure/search-documents/searchindexclient?view=azure-node-latest#@azure-search-documents-searchindexclient-createorupdateindex

Describe the bug
Unable to update search index via createOrUpdateIndex if the index has charFilters or tokenFilters. Even GETting the index from the library and passing it back to createOrUpdateIndex without modifying the index still fails if the index contains charFilters or tokenFilters.
To Reproduce
Steps to reproduce the behavior:

Call createOrUpdateIndex on an existing index that has any charFilters or tokenFilters on the index's properties (charFilters and tokenFilters)

Expected behavior
Index should be updated successfully
Code:
export async function updateAllIndexes(searchIndexClient: SearchIndexClient): Promise {
try {
const clientIndex = await searchIndexClient.getIndex("client");
await searchIndexClient.createOrUpdateIndex(clientIndex);
} catch (e) {
console.error(e);
}
}
Error:
[2022-03-10T03:47:39.730Z] RestError: The request is invalid. Details: index.tokenFilters[0].synonyms : The synonyms property must be set in the SynonymTokenFilter definition
[2022-03-10T03:47:39.732Z] index.charFilters[0].mappings : The mappings property must be set in the MappingCharFilter definition
[2022-03-10T03:47:39.734Z] index.charFilters[1].pattern : The pattern field is required.
[2022-03-10T03:47:39.735Z] index.charFilters[1].replacement : The replacement field is required.
[2022-03-10T03:47:39.737Z]
[2022-03-10T03:47:39.739Z]  {
[2022-03-10T03:47:39.741Z]   "name": "RestError",
[2022-03-10T03:47:39.743Z]   "code": "",
[2022-03-10T03:47:39.744Z]   "statusCode": 400,
[2022-03-10T03:47:39.746Z]   "request": {
[2022-03-10T03:47:39.748Z]     "streamResponseStatusCodes": {},
[2022-03-10T03:47:39.753Z]     "url": "https://***********.search.windows.net/indexes('client')?api-version=2020-06-30",
[2022-03-10T03:47:39.755Z]     "method": "PUT",
[2022-03-10T03:47:39.757Z]     "headers": {
[2022-03-10T03:47:39.759Z]       "_headersMap": {
[2022-03-10T03:47:39.761Z]         "content-type": "application/json",
[2022-03-10T03:47:39.762Z]         "accept": "application/json;odata.metadata=minimal",
[2022-03-10T03:47:39.763Z]         "prefer": "REDACTED",
[2022-03-10T03:47:39.770Z]         "user-agent": "azsdk-js-search-documents/11.2.1 core-http/2.2.1 Node/v14.16.1 OS/(x64-Windows_NT-10.0.19042)",
[2022-03-10T03:47:39.775Z]         "x-ms-client-request-id": "2fc084aa-2497-410b-9e43-0aadea787edd",
[2022-03-10T03:47:39.777Z]         "api-key": "REDACTED",
[2022-03-10T03:47:39.778Z]         "cookie": "REDACTED"
[2022-03-10T03:47:39.779Z]       }
[2022-03-10T03:47:39.780Z]     },
[2022-03-10T03:47:39.784Z]     "withCredentials": false,
[2022-03-10T03:47:39.786Z]     "timeout": 0,
[2022-03-10T03:47:39.788Z]     "keepAlive": true,
[2022-03-10T03:47:39.790Z]     "requestId": "2fc084aa-2497-410b-9e43-0aadea787edd"
[2022-03-10T03:47:39.791Z]   },
[2022-03-10T03:47:39.792Z]   "details": {
[2022-03-10T03:47:39.793Z]     "error": {
[2022-03-10T03:47:39.794Z]       "code": "",
[2022-03-10T03:47:39.798Z]       "message": "The request is invalid. Details: index.tokenFilters[0].synonyms : The synonyms property must be set in the SynonymTokenFilter definition\r\nindex.charFilters[0].mappings : The mappings property must be set in the MappingCharFilter definition\r\nindex.charFilters[1].pattern : The pattern field is required.\r\nindex.charFilters[1].replacement : The replacement field is required.\r\n"
[2022-03-10T03:47:39.801Z]     }
[2022-03-10T03:47:39.802Z]   },
[2022-03-10T03:47:39.804Z]   "message": "The request is invalid. Details: index.tokenFilters[0].synonyms : The synonyms property must be set in the SynonymTokenFilter definition\r\nindex.charFilters[0].mappings : The mappings property must be set in the MappingCharFilter definition\r\nindex.charFilters[1].pattern : The pattern field is required.\r\nindex.charFilters[1].replacement : The replacement field is required.\r\n"
[2022-03-10T03:47:39.808Z] }

The customer is using version 11.2.1 (9 months old version)
Yes. The bug exists in that version.
I have verified with the latest version - 11.3.0-beta.7. The issue has already been fixed. (This fix will be in GA during the release in May 1st week)

I recommend the user to upgrade to the latest version.
Code Used for Testing
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
 * @summary Demonstrates the Index Operations.
 */
import {
  SearchIndexClient,
  AzureKeyCredential,
  SearchIndex,
  SearchIndexStatistics,
} from "@azure/search-documents";
import * as dotenv from "dotenv";
dotenv.config();
const endpoint = process.env.ENDPOINT || "";
const apiKey = process.env.SEARCH_API_ADMIN_KEY || "";
const indexName = "example-index-sample-1";
async function createIndex(indexName: string, client: SearchIndexClient) {
  console.log(`Creating Index Operation`);
  const index: SearchIndex = {
    name: indexName,
    tokenFilters: [
      {
        odatatype: "#Microsoft.Azure.Search.KeywordMarkerTokenFilter",
        name: "TokenFilter1",
        keywords: ["keyword1", "keyword2", "keyword3"],
      },
      {
        odatatype: "#Microsoft.Azure.Search.KeywordMarkerTokenFilter",
        name: "TokenFilter2",
        keywords: ["keyword4", "keyword5", "keyword6"],
      },
    ],
    charFilters: [
      {
        odatatype: "#Microsoft.Azure.Search.MappingCharFilter",
        name: "CharFilter1",
        mappings: ["a=>b"],
      },
      {
        odatatype: "#Microsoft.Azure.Search.MappingCharFilter",
        name: "CharFilter2",
        mappings: ["c=>d"],
      },
    ],
    fields: [
      {
        type: "Edm.String",
        name: "id",
        key: true,
      },
      {
        type: "Edm.Double",
        name: "awesomenessLevel",
        sortable: true,
        filterable: true,
        facetable: true,
      },
      {
        type: "Edm.String",
        name: "description",
        searchable: true,
      },
      {
        type: "Edm.ComplexType",
        name: "details",
        fields: [
          {
            type: "Collection(Edm.String)",
            name: "tags",
            searchable: true,
          },
        ],
      },
      {
        type: "Edm.Int32",
        name: "hiddenWeight",
        hidden: true,
      },
    ],
  };
  await client.createIndex(index);
}
async function getAndUpdateIndex(indexName: string, client: SearchIndexClient) {
  console.log(`Get And Update Index Operation`);
  const index: SearchIndex = await client.getIndex(indexName);
  index.fields.push({
    type: "Edm.DateTimeOffset",
    name: "lastUpdatedOn",
    filterable: true,
  });
  console.log("UPDATING THE INDEX");
  await client.createOrUpdateIndex(index);
}
async function getIndexStatistics(indexName: string, client: SearchIndexClient) {
  console.log(`Get Index Statistics Operation`);
  const statistics: SearchIndexStatistics = await client.getIndexStatistics(indexName);
  console.log(`Document Count: ${statistics.documentCount}`);
  console.log(`Storage Size: ${statistics.storageSize}`);
}
async function getServiceStatistics(client: SearchIndexClient) {
  console.log(`Get Service Statistics Operation`);
  const { counters, limits } = await client.getServiceStatistics();
  console.log(`Counters`);
  console.log(`========`);
  console.log(`\tDocument Counter`);
  console.log(`\t\tUsage: ${counters.documentCounter.usage}`);
  console.log(`\t\tQuota: ${counters.documentCounter.quota}`);
  console.log(`\tIndex Counter`);
  console.log(`\t\tUsage: ${counters.indexCounter.usage}`);
  console.log(`\t\tQuota: ${counters.indexCounter.quota}`);
  console.log(`\tIndexer Counter`);
  console.log(`\t\tUsage: ${counters.indexerCounter.usage}`);
  console.log(`\t\tQuota: ${counters.indexerCounter.quota}`);
  console.log(`\tData Source Counter`);
  console.log(`\t\tUsage: ${counters.dataSourceCounter.usage}`);
  console.log(`\t\tQuota: ${counters.dataSourceCounter.quota}`);
  console.log(`\tStorage Size Counter`);
  console.log(`\t\tUsage: ${counters.storageSizeCounter.usage}`);
  console.log(`\t\tQuota: ${counters.storageSizeCounter.quota}`);
  console.log(`\tSynonym Map Counter`);
  console.log(`\t\tUsage: ${counters.synonymMapCounter.usage}`);
  console.log(`\t\tQuota: ${counters.synonymMapCounter.quota}`);
  console.log();
  console.log(`Limits`);
  console.log(`======`);
  console.log(`\tMax Fields Per Index: ${limits.maxFieldsPerIndex}`);
  console.log(`\tMax Field Nesting Depth Per Index: ${limits.maxFieldNestingDepthPerIndex}`);
  console.log(
    `\tMax Complex Collection Fields Per Index: ${limits.maxComplexCollectionFieldsPerIndex}`
  );
  console.log(
    `\tMax Complex Objects In Collections Per Document: ${limits.maxComplexObjectsInCollectionsPerDocument}`
  );
}
async function listIndexes(client: SearchIndexClient) {
  console.log(`List Indexes Operation`);
  const result = await client.listIndexes();
  let listOfIndexes = await result.next();
  console.log(`List of Indexes`);
  console.log(`***************`);
  while (!listOfIndexes.done) {
    const { similarity } = listOfIndexes.value;
    console.log(`Name: ${listOfIndexes.value.name}`);
    console.log(`Similarity Algorithm: ${similarity && similarity.odatatype}`);
    console.log();
    listOfIndexes = await result.next();
  }
}
async function deleteIndex(indexName: string, client: SearchIndexClient) {
  console.log(`Deleting Index Operation`);
  await client.deleteIndex(indexName);
}
async function main() {
  console.log(`Running Index Operations Sample....`);
  if (!endpoint || !apiKey) {
    console.log("Make sure to set valid values for endpoint and apiKey with proper authorization.");
    return;
  }
  const client = new SearchIndexClient(endpoint, new AzureKeyCredential(apiKey));
  try {
    await createIndex(indexName, client);
    await getAndUpdateIndex(indexName, client);
    await getIndexStatistics(indexName, client);
    await getServiceStatistics(client);
    await listIndexes(client);
  } finally {
    await deleteIndex(indexName, client);
  }
}
main().catch((err) => {
  console.error("The sample encountered an error:", err);
});

As you can see from the above code, I have created the index with both tokenFilters and charFilters (lines 26-49) and used the createOrUpdateIndex method in line 98. I am able to run the code with no issues. My output is:
Creating Index Operation
Get And Update Index Operation
UPDATING THE INDEX
Get Index Statistics Operation
Document Count: 0
Storage Size: 0
Get Service Statistics Operation
Counters
========
        Document Counter
                Usage: 4150
                Quota: null
        Index Counter
                Usage: 12
                Quota: 50
        Indexer Counter
                Usage: 2
                Quota: 50
        Data Source Counter
                Usage: 4
                Quota: 50
        Storage Size Counter
                Usage: 14283217
                Quota:<PHONE_NUMBER>0
        Synonym Map Counter
                Usage: 0
                Quota: 5
Limits
======
        Max Fields Per Index: 3000
        Max Field Nesting Depth Per Index: 10
        Max Complex Collection Fields Per Index: 40
        Max Complex Objects In Collections Per Document: 3000
List Indexes Operation
List of Indexes
***************
Name: example-index-sample-1
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-live-sample-test3
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-live-sample-test4
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-live-sample-test5
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-live-sample-test6
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-live-sample-test7
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-live-test331
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-live-test852
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotel-perf-test
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: hotels-sample-index
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: realestate-us-sample-index
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Name: testindexsarajama
Similarity Algorithm: #Microsoft.Azure.Search.BM25Similarity
Deleting Index Operation


rados restructure singleton for downstream - ec-lost-unfold

Signed-off-by: Rachanaben Patel<EMAIL_ADDRESS>

http://pulpito.ceph.redhat.com/racpatel-2020-05-19_00:39:18-rados:downstream:singleton-nautilus-distro-basic-argo


fix #353 delete release notes pre 1.0

Still need to migrate 1.0 release from the wiki

Sorry for the late reply. 😓
LGTM 👍

I would like to confirm just in case; Is policy to be integrated into the website?

Thanks @aoiroaoino, I think we use to publish to the website on each commit to master but it seems broken. I will create an issue


CO: update licenses modules

Need to be done after https://github.com/PrestaShop/welcome/pull/24/commits is merged


Improve microsite #417, Don't suspend side-effects in function closures #527

@Vilkina Thank you so much for working on this! Please check the reason the Travis build is failing (reading the log) and see the few comments I made. Looking good!

It compiles locally. But Travis doesn't want to compile. Showing some errors but tests passed.

@Vilkina may I suggest devoting the PR solely to #417, and tackling #527 in a new PR?
what do you think? I think it would make your job much easier -- because this is doing 2 things at once and that is never easy.

@sideeffffect do you think it's a PR problem or these mistakes:
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrent.scala:48:20: not found: value unsafeCompletionS
[error]       csIo.flatMap(unsafeCompletionS tageToIO)
[error]                    ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrent.scala:66:36: value IO is not a member of Boolean
[error]                 Thread.interrupted.IO.interrupt
[error]                                    ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrent.scala:80:74: wrong number of type arguments for scalaz.zio.Task, should be 1
[error]     def fromFutureJava[A, E >: Throwable](futureIo: Task[E, Future[A]]): Task[E, A] =
[error]                                                                          ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrent.scala:80:53: wrong number of type arguments for scalaz.zio.Task, should be 1
[error]     def fromFutureJava[A, E >: Throwable](futureIo: Task[E, Future[A]]): Task[E, A] =
[error]                                                     ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrent.scala:98:14: ambiguous reference to overloaded definition,
[error] both method fromFutureJava in class IOObjJavaconcurrentOps of type [A](future: java.util.concurrent.Future[A])scalaz.zio.Task[A]
[error] and  method fromFutureJava in class IOObjJavaconcurrentOps of type [A, E >: Throwable](futureIo: )
[error] match argument types (java.util.concurrent.Future[A])
[error]           IO.fromFutureJava(ftr).fold(Exit.fail, Exit.succeed)
[error]              ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrent.scala:98:44: missing argument list for method fail in object Exit
[error] Unapplied methods are only converted to functions when a function type is expected.
[error] You can make this conversion explicit by writing fail _ or fail(_) instead of fail.
[error]           IO.fromFutureJava(ftr).fold(Exit.fail, Exit.succeed)
[error]                                            ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrent.scala:98:55: missing argument list for method succeed in object Exit
[error] Unapplied methods are only converted to functions when a function type is expected.
[error] You can make this conversion explicit by writing succeed _ or succeed(_) instead of succeed.
[error]           IO.fromFutureJava(ftr).fold(Exit.fail, Exit.succeed)
[error]                                                       ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrentSpec.scala:42:59: type mismatch;
[error]  found   : Boolean
[error]  required: java.util.function.Supplier[Unit]
[error]     def ftr: Future[Unit] = CompletableFuture.supplyAsync(evaluated)
[error]                                                           ^
[error] /home/travis/build/scalaz/scalaz-zio/interop-java/jvm/src/test/scala/scalaz/zio/interop/javaconcurrentSpec.scala:49:53: type mismatch;
and so on
https://travis-ci.org/scalaz/scalaz-zio/jobs/506114379

@Vilkina don't split the PR, just revert the changes which are not relevant for microsite (#417)

@Vilkina Let me know if you need a hand on this!

@Vilkina Let me know if you need a hand on this!

https://github.com/scalaz/scalaz-zio/pull/663 :(


add robot test

Codecov Report

Merging #41 (03ae8cb) into main (d202b7e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #41   +/-   ##
=======================================
  Coverage   78.67%   78.67%
=======================================
  Files           4        4
  Lines         136      136
  Branches       20       20
=======================================
  Hits          107      107
  Misses         25       25
  Partials        4        4

Continue to review full report at Codecov.

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


Prevent popup to be placed ABOVE reference

CodePen demo
https://jsfiddle.net/9xgmqnfb/
Steps to reproduce the problem

Setup the simplest popper ever (no options needed)
Resize the window so the popup can't fit below / above popup
Popup is above reference

What is the expected behavior?
Since I setup a page with lot of vertical scrolling, and since viewport couldn't contain the full reference and popup i expected to see the popup below reference even if it would require some scrolling to see it fully
Here is what Im trying to achieve

Any other comments?
How do i specify popper.js to NOT place the popup above the reference, in any situations?

You can define a custom flip behavior and omit the   "top" placement from the list. You can find docs about it in the website.

@FezVrasta Thanks, but what if I need the popup to be placed above when there is enough space ? and force it to be below when not enough space above (and scroll is enough to make it fit in the body height)

I guess you want to change this option, try them all and see if one works for you.

@Tucsky isn't that #550? Saw another issue that seemed to be that one as well a couple days ago 🤔
You only want to use the "flipped" placement if it has enough space, otherwise use the default placement (even if it doesn't either)?

@atomiks Thanks man its doing exactly what I wanted!! 👍
Sorry about the duplicate...


Another Monday!

It's June 07, 2021 at 08:59PM

I love Mondays as much as the next guy, but maybe once a month would be more appropriate? :thinking:
On another note (now I am here anyway :grin: ) I'm currently mostly unavailable, as I've been on-boarded into the development team responsible for Official Things Related to COVID-19 Software, so my time has become rather limited.... Once the projects I'm involved with go live, I should have more time available to contribute here. :+1:

Hi @Potherca, I always thank you for what you have already done for me, being part of the BPKG team has honored me. It is I who must apologize for never having contributed in a tangible way to the project.
I tell you that I have worked on the restyling of our registry. I wanted to surprise you, but I couldn't.
This project https://github.com/javanile/package-manager
live here https://www.javanile.org/package-manager/
I made this standard gh-pages template to create package managers, but I couldn't complete it, I was hoping to propose it as a new theme for our http://bpkg.sh/

No worries! Things take time, so don't worry if things don't move along as quickly as you'd like. We'll get there eventually.
Something I was thinking about, regarding lack of time and how to keep things moving... Maybe we could plan a video session with all those interested? We could use Jitsi to avoid all the pitfalls of proprietary systems like Teams and Zoom (No "Your zoom or my Zoom?", just visit https://meet.jit.si/shell-output-guidelines)
As long as someone takes notes (and, obviously) updates the docs/issues/discussions afterwards, we might be able to get more done, without taking up a lot of time.
Not sure what would be the best way to set a date and get an idea of whom is available when... :thinking:
But maybe it could be a recurring thing? Maybe once a month? I've had good results with a similar setup in other projects.


Enable creating "virtual" windows without corresponding OS window

Objective

Enable creating windows without an associated OS window

This will be useful for embedding games into other applications like editors
It will also enable games to be run headless without much change for the specific game

Solution

Make the raw_window_handle attribute an Option
Ignore windows with a raw_window_handle of None in prepare_windows

Instead, the creator of a virtual window is responsible for creating a render target texture for the window and injecting it into the ExtractedWindow

Changelog

Added a new_virtual method to Window, which does not take a RawWindowHandleWrapper
Changed Window::raw_window_handle to return None if it was created using new_virtual
Changed prepare_windows to ignore windows that were created using new_virtual

Oh, I missed #6114, which seems to make almost the same changes with mainly different intention / language around them. It also adds a test example and changes the RenderApp to only run if there is a primary window present (which I'm not sure is the right behavior).
I'd suggest rebasing @targrub's changes on my implementation. My pull request seems to be more minimal and be more open to different use cases. #6114 for example says
/// During normal use, this can be safely unwrapped; the value should only be [`None`] when synthetically constructed for tests.

which rules out the use cases I am suggesting. Of course we should probably mention the use of "virtual windows" for testing and @targrub's test example is also a good addition.
I'm not sure how #6147 fits in. The windows created there do seem to always have a RawWindowHandleWrapper, but it looks like this handle is not used. Maybe it makes sense to change the handle into an enum
enum AbstractWindowHandle {
    Raw(RawWindowHandleWrapper),
    Virtual,
    Canvas(Canvas),
}

instead.

Sounds good; I'm on board with that course of action.

I rewrote my code to use an enum instead of Option. I did not include a Canvas variant, but it should be easy for @anlumo to adapt their PR to use the same enum.

I did not include a Canvas variant, but it should be easy for @anlumo to adapt their PR to use the same enum.

I've updated my PR to use your enum instead.

Oh, I missed #6114, which seems to make almost the same changes with mainly different intention / language around them. It also adds a test example and changes the RenderApp to only run if there is a primary window present (which I'm not sure is the right behavior).

I've fixed that behavior in a subsequent commit.

I'd suggest rebasing @targrub's changes on my implementation. My pull request seems to be more minimal and be more open to different use cases. #6114 for example says

I'm not familiar with that phrasing; what does that mean, "rebasing @targrub's changes on my implementation"?

/// During normal use, this can be safely unwrapped; the value should only be [None] when synthetically constructed for tests.

That comment was written by @alice-i-cecile .  :)

I'm not familiar with that phrasing; what does that mean, "rebasing @targrub's changes on my implementation"?

It just means that my PR gets merged first. Your PR would then show a message say something about "conflicts" because we are editing the same lines in the same file. You would then merge the (then) current main branch from bevy into your branch solving these conflicts (or alternatively, run git rebase main on it, that's where the name comes from).
All in all the commit history should then look like
...older commits -> my commits -> your commits

You can also do that work before my PR gets merged, but that requires some git magic.

I'm going to merge targrub's PR first to spare them the git pain :) I also think it's less complex / controversial than this change.

I'm going to merge targrub's PR first to spare them the git pain :) I also think it's less complex / controversial than this change.

Gee, thanks!

It's causing a lot of trouble for my side to not have the AbstractWindowHandle being part of WindowDescriptor, instead generating it by dedicated functions. I don't know why the RawWindowHandle wasn't part of the struct beforehand, and this PR just copies that design choice.
Wouldn't it be a good idea to include AbstractWindowHandle in that struct? The way I understand it is that the WindowDescriptor is supposed to provide the information to generate the Window, but this piece of information is added with the actual function call of creating the Window for some reason instead.

It's causing a lot of trouble for my side to not have the AbstractWindowHandle being part of WindowDescriptor, instead generating it by dedicated functions. I don't know why the RawWindowHandle wasn't part of the struct beforehand, and this PR just copies that design choice.
Wouldn't it be a good idea to include AbstractWindowHandle in that struct? The way I understand it is that the WindowDescriptor is supposed to provide the information to generate the Window, but this piece of information is added with the actual function call of creating the Window for some reason instead.

Unfortunately I don't think this is possible. As I understand the main purpose of WindowDescriptor is the CreateWindow event. Obviously the window handle cannot exist yet when this event is created. Also this is "user facing" API and should probably not contain implementation details.
For your PR it would make sense though to add the canvas as a field of WindowDescriptor, but maybe someone more qualified can answer that. :sweat_smile:

There are many types called “Window” in bevy. The Window created by CreateWindow is the one used by winit to link the actual OS window to the engine. It's possible that it already exists when this event is called, I think the OS window is just created lazily when it doesn't exist yet.
However, I didn't write that code and it's entirely undocumented, so I'm mostly guessing here based on the snippets I've read through in the course of creating my PR.
Anyways, the problem is that there's no way get the canvas to the winit initializer at the moment without having a web-only API, which I don't want to force.

Couldn't there just be a canvas attribute in WindowDescriptor that's hidden behind a feature flag or that is only active for the web platform?

That was my previous solution, but that complicates things in combination with this PR, making a few things redundant.
I'll have to take a look if I can get that working again in the new architecture.

Sure, good idea. I'm gonna try to come up with something simple.

@anlumo, can I get a review from you on this since you've been touching related code and working off this PR?

@anlumo, can I get a review from you on this since you've been touching related code and working off this PR?

So, sorry for taking so long. I already knew the code itself while adapting my PR to it, and now I've also checked out the documentation and the example. All of that seems fine to me.

@MDeiml can you rebase this?

Closed per rationale in #8278.


Paper - Figure 2

Hi @optimass , what parameters did you use to generate the plots in Figure 2? Was it C-MAML + Pre?

I guess my question is more general. If I use the camera ready branch and the parameters in Config/Best_params I should be able to reproduce the values in tables 2, 3 and 8, right?

Hi @webcsm,
Sorry for the late reply, I was on vacation.

Hi @optimass , what parameters did you use to generate the plots in Figure 2? Was it C-MAML + Pre?

Yes!

I guess my question is more general. If I use the camera ready branch and the parameters in Config/Best_params I should be able to reproduce the values in tables 2, 3 and 8, right?

Yes!
Let me know if you run into any trouble


Want to add carousel slider

Hi,
I want to add bxslider carousel in the feeds. I am initializing bxslider carousel on window load. Then it is now showing feeds. But in the console, all posts are collected.
Pls help me.

I don't understand the problem. The feed is showing up and posts are collected. Maybe you can share some code/errors to clarify the problem.


Update great-swe.md

fixing some typos

Average software engineers make typos, Exceptional software engineers fix them?

exceptional software engineers incorporate spell check to their presubmits
On Thursday, February 25, 2021, 09:22:39 AM EST, Mathew Varughese<EMAIL_ADDRESS>wrote:
Average software engineers make typos, Exceptional software engineers fix them?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Incorrect Visio diagram

The Visio diagram referenced for download is incorrect.

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

ID: b0c0c2a8-94a0-67ef-602a-6013bc7aa403
Version Independent ID: 27705eeb-7853-bd5d-58ac-a07bd6a8a79d
Content: Highly available multi-region web application - Azure Architecture Center
Content Source: docs/reference-architectures/app-service-web-app/multi-region.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#326243

Sorry, I overlooked the diagrams... my bad

samyperis, No worries. Thanks for leveraging Azure docs feedback channel to raise this question. Much appreciate your feedback!


Question about dataset form

Hi, I'm using my dataset and trying to run this code, but i haven't figured it out, what should the data format look like. It would be very helpful for me if you can share how to adjust the format of the data to run "run.py". Truly thx :P

Please share the dataset.


EmojiSelector: Channel-specific emotes sometime disappear

This especially happens when navigating between channels. This seems to be specific to EmojiSelector, since the autocomplete still updates correctly.

This seems fixed


Add GnuPG Support to sign git commits

Fix #170

Can you give a possible release date for 1.4.0?

Can you give a possible release date for 1.4.0?

Yeah, I finally got the dynamic php version install working and tested. That was a tricky one.
I am shooting for anywhere between 1/22/2022 to 1/31/2022