FYI - we will be making use of 'api' attribute in Vulkan XML, you will need a small change

This has been part of the schema for a while, but we will start using it soon to allow combining the Vulkan and Vulkan SC XML in a single file. You will need to adapt your loading code to this new use.
The simplest way is to globally pre-filter the XML to remove all tags with explicit 'api' elements not matching the API being generated, as the Vulkan-Docs scripts already do. For this you can either use the scripts/stripAPI.py script that's provided, or do the equivalent

import reg
keepAPI = 'vulkan'
reg.stripNonmatchingAPIs(tree.getroot(), keepAPI, actuallyDelete=True)

after loading your ElementTree from the XML, where 'reg' is scripts/reg.py from the Vulkan-Docs repository.
Let me know if there are any questions. There isn't a specific timescale for this, but probably will appear starting sometime in February.

Thanks for the heads up!

FYI, the XML changes have been published in Vulkan-Docs in the v1.3.241 tag. Please check that things are still working for you. It's possible that you will need to alter how you process the 'supported' attribute of '<extension>' tags as well, since these can now contain patterns like

supported="vulkansc"
supported="vulkan,vulkansc"

and you would not want to process the first extension unless you're targeting Vulkan SC specifically.

Thanks! My filtering code should probably take this into account already:


Hide script on the inspector

Describe the project you are working on
No response
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Just hide the script on the inspector for timelines and events to avoid problems of accidentally removing them

Adittional information
No response

Fixed by 212b8304108e5f041dbae95f3c72483624a12e30


Feature/serialize writes

Scope & Purpose
Serialize writes to collections, by upgrade write locks to exclusive locks.
This allows applications to rely on the semantics provided by MMFiles (writes block other writes) even with the RocksDB storage engine.
Whether or not writes are serialized is configurable by a startup parameter --rocksdb.serialize-writes. The option is turned off by default.
It is only supported in single server and active failover mode.

[x] Strictly new functionality (i.e. a new feature / new option, no need for porting)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)

Testing & Verification
We still need to add separate tests for this new option.
https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5659/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5675/

Obsolete


[staging] cpan2nix: update perl packages

Motivation for this change
newer cpan2nix run
supersede https://github.com/NixOS/nixpkgs/pull/40441

Thanks. Let's wait until current staging is stabilized and merged to master, which hopefully will not  too long. Then we merge this in the next round of staging (fyi, we're discussing an improved workflow in https://github.com/NixOS/rfcs/pull/26) .
/cc @vcunat

That staging iteration is in master now, since 448d7d648.

@volth Please take a look why did 5750a94f90e377339988f9e7e6b51c6fb0eee4bb remove CPANPLUS propagatedBuildInputs and why did 6044e21fefde999cfea6f7e1de59b8e5accd5e31 not restore them. This broke nix-generate-from-cpan; fixed in 5b96694e2d85e3c4bd3324719b630a0d2a6b2423 (misattributing to this PR instead of #36147).

why did https://github.com/NixOS/nixpkgs/commit/5750a94 remove CPANPLUS propagatedBuildInputs and why did https://github.com/NixOS/nixpkgs/commit/6044e21 not restore them

@orivej Those packages are not dependencies of CPANPLUS: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0.9174.meta

This broke nix-generate-from-cpan; fixed in https://github.com/NixOS/nixpkgs/commit/5b96694

That means they are dependencies of nix-generate-from-cpan, not CPANPLUS and it is better to add them there

CPANPLUS probably does not list them as dependencies because they are included in the inc/bundle/ directory of its archive [1], but this bundle is not installed with perlPackages.CPANPLUS and yet e.g. CPANPLUS/Configure.pm does use Log::Message;.
[1] https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0.9174.tar.gz

but this bundle is not installed with perlPackages.CPANPLUS

That means CPANPLUS does not propagate them

Those dependencies are necessary to use CPANPLUS (for example its cpanp binary, fixed just now in e5dedc5f3b5a4b3473f635c946d2f241ea53c79a), but in this PR they are neither installed with perlPackages.CPANPLUS nor propagated.

ok, added to exception list to preserve them in the next cpan2nix runs

Thanks!

@orivej it removed LogMessage on the next run (https://github.com/NixOS/nixpkgs/pull/41447/commits/ee090eb92e5789af83b650173023167d9dd80d28)only because it is already propagated here via other dependency.


using tabs prevents <input type="text"...> in  to take 100% of the column width

see the fiddles for comparison:

OK: having <input type="text"...> in
 producing expected output: https://jsfiddle.net/Lbhjm3ph/1/ (input field occupies full width of the column) vs.
ERR: having <input type="text"...> in
 inside tab: https://jsfiddle.net/y43u91a4/2/ (input field doesn't occupy full width of the column)

please note: I'd expect that regardless if table is nested in tab or not, it's columns should behave the same.
Any hints for quick solution would be welcome.

never mind. problem was caused by unnecessary col s6 in the 's
.
changing;

to:

did the job for me.
See fixed fiddle: https://jsfiddle.net/y43u91a4/4/

never mind. problem was caused by unnecessary col s6 in the 's
.
changing;

to:

did the job for me.
See fixed fiddle: https://jsfiddle.net/y43u91a4/4/


What FPS do you get in Remote Desktop?

i didnt really know where to post it so i would do it here :).
just wanted to hear from you guys whats the fps ur runing the remote desktop connection? let say on 100 quality. give me an average number. (use lan because i dont calculate the network factor).
my for example is between 18~20.

You should measure the FPS when streaming a YT video.

@MaxXor allright i will. im asking this becuse i want to help this project.i developed a pairely nice algorithm for finding differences(using parralel and threads so it goes exteremly fast.) i'll post it here if its okay of you?

@itapi You can create a fork and implement it, maybe it's better than the one xRAT has currently.

Streaming a YT video with Remote Desktop full screen I'm getting ~7 frames which is sufficient enough for me :)

@d3agle How good is your processor?

@yankejustin, I have an i7 2600k @ 4.5GHz

@d3agle Wow. I'd imagine the FPS would be higher...

@yankejustin, Well the client machine was 1920x1080 so it makes sense :P  Would have to wait for the client to process a large image then send to server/receive from server
The remote desktop is fairly quick as it is. I've done some testing with Teamviewer (TCP) and the Remote Desktop (xRAT) is a little bit slower, but not by much.  I'd say its pretty comparable.

Perhaps we could scale the image instead of stretching it?  Not sure..

@d3agle  scaling the image using c# would probably reduce the quality of the image.
Secod thing,why should maximizing the form affect the frame rate? it  make sense when you run both client and server on the same machine so its taking a screenshot of itself,but if you run the client on another computer ,it shouldnt bother at all...

@itapi The problem is when maximizing the form the drawing/resizing of the image takes a lot of time. Either we stay with this or we use DirectX to draw the image (maybe we can use this wrapper: https://github.com/sharpdx/SharpDX).

@MaxXor, We could go with SharpDX, or we could scale the image (like teamviewer does).  I've been messing around with scaling the image and it seems like the fps when maximizing the form doesn't drop as much.  Sure, the image quality may be a little bit less (lower res on client, higher res on host/server), but it would work well.  I have the code to scale the image to the size of the RapidPictureBox control and maintaining the aspect ratio of the Client machine, but I am having trouble keeping the image centered in the control.  I'm going to work on it for a little bit today, and if I can get it working I could send a PR so you could test.  What do you think?

We are already resizing the image to the size of the RapidPictureBox here.

Right.. but maintaining the aspect ratio (Scale) of the Client resolution instead of making the image stretch to the control.

Here is an example of what I mean by maintaining aspect ratio:
http://i.gyazo.com/3bf3c41b086d9c621c9507975e2c4209.mp4
What I am having trouble figuring out how to do is keeping the image centered in the PictureBox control

Going to look into implementing SharpDX today.  Saw that Gyo released Babylon RAT for free and noticed he had implemented SharpDX a few weeks ago.  The frame rates are very nice on LAN.  On my network up to 150 frames per second.  We would need to determine whether or not to keep this current client <-> server packet throttling as it is or to revert it to the previous implementation to get a high frame rate.  What do you think?

Can you send me a link to this RAT? I wanna take a look, I think then we can add sharpdx.

@MaxXor, sent you a pm on hf

Thanks, maybe I'm going to add it tomorrow. :)

Sounds good :D I looked into it a few days ago and I couldn't figure out what classes we needed for implementation.  I know we need a DirectX device, some rending properties to be set, and possibly bitmap conversion, but I haven't figured out exactly how to go about using these DLLs.  I've asked Gyo if he could provide some tips or snippets, but waiting for his reply.  If you can figure it out though, it will be a great addition :D

bad deobfuscated source from babylon rat, got trouble with cflow :) but maybe it help
http://rghost.ru/6lpyBWFkq

@d3agle  according to this video https://www.youtube.com/watch?v=oc12JSIPVVo their remote desktop seems slow as hell.. but if you say so..

@d3agle  by the way im also working hard to optimize this code:
you can see my question just asked today here  haha http://stackoverflow.com/questions/31990488/c-sharp-cut-rectangle-blocks-from-image

@itapi, it's actually pretty fast on my network.  But of course we would have to test it to see what impacts it would have.  And the code you posted on stackoverflow, what you are trying to accomplish would only minimize network traffic.  This could be useful, but still fast changing images couldn't be drawn to the control when they are larger/stretched to fit the control.

@d3agle alright I understand.  Can you  send me the sources of Babylon?  I would like to have a look too

@d3agle ?

@itapi Look above at Vigorian's comment.  I don't have the source lol

@d3agle  it doesnt let me build the project even... lol.
is it working for you?

Right you wouldn't be able to.. He just posted the deob'd source for reference.. You can see what objects were used for SharpDX

@MaxXor  are you going to work on that man?

@MaxXor This can probably be closed.


Touchscreen get stuck after few seconds

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows 10
scrcpy version: 1.16
installation method: Windows release
device model: Asus ZenFone 6 ZS630KL
Android version: 10

Hi guys, thank you so much for your work, it's just amazing. I'm trying to use scrcpy on my surface go 2 (8gb ram, Intel Core m3-8100Y) and it works great, but if I open the inkspace app (the only one that I need to use with scrcpy) then the touch screen Input just stop working after 20 seconds, both from finger that from the Microsoft pen, while it continue working the keyboard input (I don't know if the mouse also does because I still not have a mouse compatible with this device). The same things happens if I touch the device while scrcpy is running, the touchscreen input from the surface immediately stop working
I think that that's maybe happend because inkspace is a very heavy app, especially with all the notes that I have inside, and in fact it doesn't work with any android emulator on the market, it just crash down after a while
If someone could help me, I would be infinitely gratefully, and I promise that I'll send him a homemade italian cake if he lives in the EU
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
C:\Users\xbrus\OneDrive\Desktop\Programmi\scrcpy-win64-v1....1 file pushed, 0 skipped. 7.8 MB/s (33622 bytes in 0.004s)
[server] INFO: Device: asus ASUS_I01WD (Android 10)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2336

Multitouch/touchscreen support has been added in v1.11. Could you test if you have the same problem in this version?
If not, please test other versions between v1.11 and v1.16 to find which one broke something. This will help to find the cause.
Thank you.

Multitouch/touchscreen support has been added in v1.11. Could you test if you have the same problem in this version?
If not, please test other versions between v1.11 and v1.16 to find which one broke something. This will help to find the cause.
Thank you.

Hi, v1.11 and v1.12 works amazingly, the v1.13 it seems to be the first one with that problem.
If you need any other information that I could provide simply ask, meanwhile thank you so much for your help

Thank you for the test :+1:
Between v1.12 and v1.13, there were 2 changes related to touch events:

a fix for #1245 (89d1602185066ff540b6525bf99eb894004aad04)
a fix for touch coordinates on rotation (14ead499fd848504895fee7649b5c7430be148b5)

But there was also an upgrade from SDL 2.0.10 to 2.0.12 in the Windows release.
So the first thing to test would be to replace SDL2.dll in your v1.16 release by the one from v1.12 release.

Just done, and doing that the v1.16 works perfectly

Great :tada:
The bug should be reported to SDL then.


Staff Elemental Damage not calculating

With a Staff Main Hand weapon equipped, the top left Staff Elemental Damage nodes on the tree are not calculating damage increases.  I can see other staff elemental damage increases in the Calc section

I'm diving into the .git in VS2019, where would I find the tree node landings?

As of build 1.4.1169, this issue is still not resolved.
The entire keystone area is unaffected by a "Staff" with a "Spell" skill gem. An "Attack" skill gem does not have any issues.
From my understanding, all nodes should benefit from "Staff + Spell skill gem", even up to "Blunt Trauma".

After thinking about the wording, the nodes use "with staves" to indicate the staff itself must be the cause of the action.
Where as, other nodes affecting "staff+spell", use the wording "while wielding"
Slippery wording,
however, I'd consider the nodes in pob to be working as intended.


localhost/myweb

how i set the site if my code in subfolder in my webserver ?

The first parameter for Route::run() is your app's basepath, make sure to set it to your sub-directory. You also have to change that in your .htaccess (change RewriteBase to the same as Route::run().


Adding access control for routes.

https://trello.com/c/4YGrkNDm/332-voma-restrict-all-pages-besides-landing-to-logged-in-users

Added a VolunteerProvider to handle user login and state and restricting access to routes.
Added a LockedRoute component to handle a locked route and used it to lock down "/dashboard" as an example.
Using localstorage to persist login state across page refreshes until we pick a session solution.

A couple of notes:

When you "login" it attempts to hit the backend but is currently rigged to just log you in, when the /api/user/find hook is ready we can update that.
Once you log in, you're logged in. To clear your cache for testing (logout) you can run locationStorage.removeItem("volunteer"); in your console. I added a signOut function on the VolunteerProvider but it needs a Log Out button added.
I undid a few things as their functionality was added into the VolunteerProvider. I nixed the userNotFound state variable and moved it into the Volunteer object for example.

Express server will require a reinstall of node packages with the latest push.

Rewrote the find user route as a "volunteer" route since that made more logical sense. I'm hitting the users.lookupByEmail instead of the users list service to avoid looping through everyone in the workspace.
Returning the Slack profile ID, on register we can save the Slack ID in case we need to use it in the future. Since the user can change the email in their Slack account profile the Slack ID is the stable identifier.
Added the cors node package to enable CORS requests. After that was installed I was able to successfully pull data into the frontend and test.


Revert "*: update jemalloc version to fix profiling problem (#12179)"

This reverts commit 3000a7cf9b40b1e773819f1effdd68bc12eeb50a.

What is changed and how it works?

Issue Number: Close #xxx
What's Changed:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
Please add a release note.
If you don't think this PR needs a release note then fill it with None.
If this PR will be picked to release branch, then a release note is probably required.

/release


Configuration of the new Data Sources - Heat chart - Testing

since cQube 3.7 and cQube_Edu 1.5 are in merging process, hence this is not valid here.


Inaccessible heading anchors

(Apologies if this is the wrong repo for this!)
Summary
There are a couple of a11y issues with the heading anchors that appear on hover:

They are not keyboard-focusable unless you hover the heading first
They have no accessible label and are read out as simply "number" ("#")

I saw that Zach got aria-hidden removed from the links generated by markdown-it-anchor (in this issue), but that doesn't seem to have helped.
[Disclaimer: I have only tested in Chrome with Voiceover on macOS]
Not focusable
I cannot tab to the link without hovering the heading first, which means they're inaccessible via keyboard. I think this is caused by the visibility: none.

If the anchor should always be accessible, then we should visually hide it with CSS and reveal on hover of the heading and focus of the anchor.
No accessible name
The anchors are not labelled, so even if a Voiceover user managed to focus them they would hear "link, number (#)", followed by "direct link to this heading" (the title attribute). We probably shouldn't rely on title, since it appears JAWS and NVDA don't read it out. I think either an aria-label or a visually-hidden span inside the anchor would be better.

It's also not clear which heading this is a direct link for, since every anchor has the same title. I'm not really sure what the best practice is here. Should the link be usable on its own (doubling up the heading content for the anchor label) or is it ok to only make sense in context of the heading (requires the user to have heard the heading before tabbing to the link)?
I imagine the former might be annoyingly verbose, but the latter could be confusing. There's a whole discussion of this in this AnchorJS issue. They ended up just labeling every anchor with "anchor", which seems redundant.
For now the quickest win is probably duplicating the title content in aria-label too. I've opened an issue about controlling arbitrary anchor attributes in markdown-it-anchor.

Since I'm about to add it to my blog,  too, I'd volunteer to prepare a PR for this (can only test it with Orca on Linux or ChromeVox or Accessibility tab in DevTools).
@oliverjam Could you take a second look at it then? I could look after render it as HTML somewhere online.

This was fixed in a markdown plugin upgrade! https://github.com/11ty/11ty-website/blob/b76a17461de2d08fa43b37fb6d7d0b8b3c81c979/config/markdownPlugin.js#L36


json api support

Create a JSON api for remote access. https://github.com/collingreen/startuppong/issues/14

[x] Get Players (id, name, rank, rating) https://github.com/collingreen/startuppong/commit/6ad401b0e0c9deb41f0760d8af58066fc4f0b051
[x] Recent Matches for company https://github.com/collingreen/startuppong/commit/5d4af756bf50f275b3d0525a7faa7d820e058a38
[x] Recent Matches including player https://github.com/collingreen/startuppong/commit/5d4af756bf50f275b3d0525a7faa7d820e058a38
[x] Recent Matches including two players https://github.com/collingreen/startuppong/commit/5d4af756bf50f275b3d0525a7faa7d820e058a38
[x] Add match (winnerid, loserid) https://github.com/collingreen/startuppong/commit/506e99f6c35649fcfab44f600b7dc6816484b274
[x] Add Player https://github.com/collingreen/startuppong/commit/1d6efd6a9f8bee08a237723ccd826958852492fc

This is currently on staging for initial external testing.

woo! :star2: thanks :grin:


Error not shown while truncating via right click

When I truncate a table and this table has a foreign key referenced in another table MySQL output the error:
ERROR 1701 (42000): Cannot truncate a table referenced in a foreign key constraint (mytest.instance, CONSTRAINT instance_ibfk_1 FOREIGN KEY (GroupID) REFERENCES mytest.mygroup (ID))
If the truncate is performed via right click in table list the message is not shown anywhere... It does not say "OK" but neither say what happened.

Fixed

verified


Improve create_polygon_from_points() to allow ArcHeights

Description of the current limitations
edb_core.modeler.get_polygon_points() returns a list of points.  Line endpoints are represented by two-value tuples for (x,y).  Arcs are represented by single-value tuples for ArcHeight.
edb.modeler.create_polygon_from_points() can only accept (x,y) pairs and throws an IndexError if ArcHeights are included included in the points list.
for example:
 point_list = [[0 ,90], [0 ,10], [-2.9289321881345], [10 ,0], [90 ,0], [-2.9289321881345], [100 ,10], [100 ,90], [-2.9289321881345], [90 ,100], [10 ,100], [-2.9289321881345]]
 edb.modeler.create_polygon_from_points(point_list, "Layer")

should return a polygon primitive of a 100mm square with rounded corners.
Code sample expected
No response
Useful links and references
No response

@s-benter I've added the support for the height now. You have to pass a tuple of 3 values [xend, yend, height]. The Arc height will be created between previous point and [xend,yend] and height will be the Arc Height.


falcon invasion scenario does not end when timer reaches 0:00

The scenario only ended once I reached the threshold for adamant rewards, even though the timer was 0:00, I was still able to walk around and fight enemies.

I think that I'm going to need to see a video in order to help correct this issue.

My recording tool doesn't seem to want to cooperate but I reproduced the issue, if you enter battle when there's 30~ seconds left then finish the battle when timer is at 0, it will stay at 0 and you can take as long as you want after that to attempt to get adamant rewards.
Steps

1.enter falcon scenario
2.wait until 30 seconds or so
3.enter battle and wait until timer reaches 0
4.finish battle

Ah, looks like I have to run a battle script on anything that's timed.  Interesting.  Alright, I'll have a look.

it seems like, for the once ive done it at least, that the timer ended at actual 5 minutes and not when the timer hit 0:00

This will be resolved in the next release.


pythonPackages.wp_export_parser is broken

@shlevy You added the package. Do you want to maintain it or should I simply remove it?

Feel free to remove on my account.

Will be removed by https://github.com/NixOS/nixpkgs/pull/35904.


trio_websocket makes wrong assumptions about trio.__version__

$ python3.11 -c 'import trio_websocket'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.11/site-packages/trio_websocket/__init__.py", line 1, in <module>
    from ._impl import (
  File "/usr/lib/python3.11/site-packages/trio_websocket/_impl.py", line 33, in <module>
    _TRIO_MULTI_ERROR = tuple(map(int, trio.__version__.split('.'))) < (0, 22, 0)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '0+dev'

Apparently it assumes that trio.__version__ will always be X.Y.Z and doesn't support other valid PEP 440 versions, effectively causing it to fail when a development version of trio is used (but the same would also happen with release candidates, etc.).

Thank you.  Rather than add some parsing library dependency or large regex, I think looking at the first two numbers will cover likely cases.
tuple(map(int, trio.__version__.split('.')[:2])) < (0, 22)

Yes, I think that should be good enough. Thanks!

the fix is published to pypi (v0.10.3)


Tiles webpart not working

Hi
I have  problem with Tiles Webpart its just show ( There is no list connection configured for this web part. ) and when I click edit trying to make the Tiles web part configuration its just blank I cant do anything but the second option Specify the height of the tiles it work no problem with it? is there any idea how it works this Tiles webpart

Same here ;-)
Would be very nice to have specific documentation (at least a  how to use one) for each webart/extension.
This project is a very very good id though with a lot of things to learn from !

@krmoanh I just deployed the starter kit. When I take a look at the tiles web part I see it should have deployed a list called PnPTiles at the portal Hub site and made a connection with that list. Can you find that list via site contents menu on your Hub site?
You should be able to add a new tile via that list. Btw, it uses Office UI Fabric icons.

I can find the liste in the portal hub site content.
I added rows to that list but when i add the webpart, it still says to me that no list connection has been configured :(

uhm ok now I got it. but how about if I would like to use Tiles webpart as separate  project. i mean creating new project name Tiles webpart and test it.

We did change the implementation of the Tiles web part with the latest release. Now it's no longer dependent on the list in the site as that did cause it not to be that reusable. With the latest version, you can configure the actual tiles directly from the web part properties using the collection editor form PnP reusable SPFx controls. This should make it much easier to reuse the web part.

Hi VesaJuvonen,
Please share the updated code

@Preethirasu  the updates tiles webpart was released a few weeks back as a part of the starter kit. The tiles webpart uses a new PropertyFieldCollectionData control https://github.com/SharePoint/sp-dev-fx-property-controls/blob/master/docs/documentation/docs/controls/PropertyFieldCollectionData.md.

Thanks eoverfield for your response.
I just need the tile web part code where UI Fabric Name is a dropdown . Could you please share the code

When i tried to separate the code its throwing error as "List not configured". What tenant property has to be added?
When i deployed the whole package ,PnpTile List is not available in the site.

@Preethirasu The tiles webpart does not use a list nor a tenant property. The tiles webpart stores the link items within its own properties. https://github.com/SharePoint/sp-starter-kit/issues/37#issuecomment-402722552. An older version of the starter kit did use a list I believe, I suggest you download the latest repo.


[MeshModel]: Identify relationships for K8s Secrets

Current Situation

Proposed Change

Identify the possible relationship type for Secrets.
Identify the related resource.
Define the constraints for that relationship.

Contributor Guides and Handbook

MeshModel Repository
🖥 MeshModel Overview
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

How to make updates to MeshModel
Instructions for Models

Forthcoming

Instructions for Components
While the default shape for new components is a circle, each component should be considered for its best-fit shape.

Review and familiarize with the available set of predefined relationship types. Refer the Cytoscape node types for a list of possible shapes.
Propose a specific shape, best-suited to visually represent the Component. Example - Deployment as a pentagon.
Proposee a specific icon, best-suited to visually represent the Component. Example - DaemonSet as a skull icon.

Instructions for Relationships

Identify the relationship and any specific constraints to be enforced between the two specific components, their models or potentially other components, models, or environmental considerations.
Propose a specific visual representation for the relationship. Visual representation examples:
1.1. Hierarchical
1.1. Sibling
1.1. Binding
Prospose the appropriate relationship type, using one of the predefined set of relationship types or suggest a new relationship where an existing type does not fit.
Create a Relationship Definition (yaml). See the Relationship Schema in MeshModel and examples.
Create a policy for evaluation of the relationship (rego). See examples.

Instructions for Policies

Forthcoming

Hi @0xt3j4s , I would like to work on this issue, could you please assign this to me?

Here you go, @AryanSharma9917! 🚀


IAM service controller

New ACK Service Controller
Support for IAM
List of API resources
List the API resources in order of importance to you:

[resource 1]
[resource 2]

Hi @mdykes-gw, the IAM service controller is proposed in #222. Closing this one out and please add any comments/feedback about IAM resources you'd like to see supported in ACK to #222.

Thanks for the info @jaypipes ! Don't know how I missed #222 , but I did.

No worries! 😃
On Wed, Nov 11, 2020, 8:43 AM mdykes-gw<EMAIL_ADDRESS>wrote:

Thanks for the info @jaypipes https://github.com/jaypipes ! Don't know
how I missed #222 https://github.com/aws/aws-controllers-k8s/issues/222
, but I did.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-controllers-k8s/issues/484#issuecomment-725430407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACAWPY4OXIFM2XCIUA36JTSPKIJDANCNFSM4TREKNAQ
.


🐛 Widget Inspector throws error on TreeView

Describe the bug
A clear and concise description of what the bug is.
When showing a TreeView, the Widget Inspector throw an error
To Reproduce
Steps to reproduce the behavior:

Create a default Windows desktop app
Add fluent_ui as dependencydependencies:
  flutter:
    sdk: flutter

  fluent_ui:
    git: https://github.com/bdlukaa/fluent_ui.git

Use the following main.dartimport 'package:fluent_ui/fluent_ui.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return FluentApp(
      title: 'Flutter Demo',
      home: NavigationView(
        pane: NavigationPane(
          selected: 1,
          displayMode: PaneDisplayMode.compact,
          items: [
            PaneItem(
              icon: const Icon(FluentIcons.dashboard_add),
              title: const Text('TreeView test'),
              body: const MyHomePage(),
            ),
          ],
        ),
      ),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return TreeView(
      items: [
        _createTagTree(),
      ],
    );
  }

  TreeViewItem _createTagTree() {
    return TreeViewItem(
      expanded: true,
      content: const Text('root'),
      value: null,
      selected: false,
      children: [
        TreeViewItem(
          expanded: true,
          content: const Text('Tag 1'),
          value: 1,
          selected: false,
          children: [],
        ),
        TreeViewItem(
          expanded: true,
          content: const Text('Tag 2'),
          value: 2,
          selected: false,
          children: [],
        ),
        TreeViewItem(
          expanded: true,
          content: const Text('Tag 2'),
          value: 3,
          selected: false,
          children: [],
        ),
      ],
    );
  }
}

In VScode, open Widget Inspector

No widget tree is shown in Inspector

Error is thrown in Debug Console

The following assertion was thrown during a service extension callback for "ext.flutter.inspector.getRootWidgetSummaryTreeWithPreviews":
'package:flutter/src/foundation/diagnostics.dart': Failed assertion: line 2091 pos 15: 'ifTrue != null || ifFalse != null': is not true.

When the exception was thrown, this was the stack:
#2      new FlagProperty (package:flutter/src/foundation/diagnostics.dart:2091:15)    diagnostics.dart:2091
#3      TreeView.debugFillProperties (package:fluent_ui/src/controls/navigation/tree_view.dart:655:13)   tree_view.dart:655
#4      etc.

Expected behavior
I would expect to see a widget tree inside the Widget Inspector
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Thanks, it's working!
Question though...

Shouldn't the children of a TreeView be a TreeViewItem?


Writer should provide into_inner function

Sorry if I am in the wrong direction with my problem. I want to encode a PNG in-memory instead of to a file, so here is what I tried:
let cursor = std::io::Cursor::new(Vec::new());
let encoder = png::Encoder::new(cursor, ...,...); // the cursor is consumed here
encoder.set...;
let writer = encoder.write_header().unwrap();
writer.write_image_data(...).unwrap();
// how do I get back the buffer?
let cursor = writer.into_inner(); // ???
let result = cursor.into_inner();

There isn't a into_inner function I expected to let me get back the cursor object, and I can't find other way to get the result data.

An implementation of Write is also provided for &mut Cursor, so you could utilize that as an alternative/workaround. Agreed however, that into_inner would be the cleaner way to express ownership of the writer and avoid lifetime bounds when storing it somewhere. In the meantime:
let mut cursor = std::io::Cursor::new(Vec::new());
let encoder = png::Encoder::new(&mut cursor, ...,...);
encoder.set...;
let writer = encoder.write_header().unwrap();
writer.write_image_data(...).unwrap();
let result = cursor.into_inner();


Newsletter 11: Way of Rhea

Part of #172.
Let me know if there's anything you want me to adjust--not 100% sure if I did the line wrapping correctly (some of the links are longer than 80 characters long.)

Merged, thanks for the PR!

No prob, thanks for the tweaks! :)


Add Electromantic Devastator's Mail set bonus

Looking for any help on verifying the OnSpellHitDealt aspect is correct. I modeled it after the Stormshroud proc but that one notably has a || !spell.ProcMask.Matches(core.ProcMaskMelee) to fail out of the proc. The differences being Stormshroud's tooltip reads "on melee attack" where as this set reads as "on attack". Is there somewhere we can verify the interaction (item db?) before someone has the set?

The proc for this aura appears to be similar to Judgement of Wisdom. You can refer to the wotlk implementation of it. It should also proc on miss and there are some other special cases listed here:
https://github.com/wowsims/wotlk/blob/master/sim/core/debuffs.go#L202

Changes should be good to go now modelled after the JoW reference


Improper @example parsing when an at-sign @ is used in the code-block.

Noticed an issue with the @example JSDoc tag when the example happens to use an @ sign, such as for an email address (my case).

VSCode Version: 1.45.1
OS Version: Ubuntu 20.04

Steps to Reproduce:

Make an @example JSDoc tag similar to the below:

/**
 * @example Example Output
 * {
 *   name: "Testy McTest",
 *   email<EMAIL_ADDRESS> *   gender: "ambiguous"
 * }
 */
const theProfile = getProfile();

Observe the tooltip for theProfile.  VSCode parses the @not_an_email as a JSDoc tag, breaking the code formatting.  It will do this even if the example code is fenced in back-ticks, with slightly different output.

Does this issue occur when all extensions are disabled?: N/A

Potential fixes:

Require the @ always be prefixed by a whitespace, {, or the start of the line (this would not fix other cases such as email: "a @ b"

Only parse inline jsdoc tags if they are known, such as @link

Duplicate of #35310.

Duplicate of #39371, and fixed in #42364.


⚠ Mobitopup has degraded performance

In 8e451ad, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 7101 ms

Resolved: Mobitopup performance has improved in 028fdfb.


Improve the visibility of the element template chooser

Is your feature request related to a problem? Please describe
that is a bit of a controversial issue. it is basically in reference to WCAG2.1 SC 1.4.11 which is usually interpreted in the context of single ui components like buttons and alike. but if you have a model and open up the element template chooser it is quite challenging to find and focus on the modal. One example in Camunda:

and one example in ECA in Drupal:

in Camunda:
0px 2px 10px var(--change-menu-shadow-color)the value of the variable is hsla(0, 0%, 0%, 25%); which leads to:
https://contrast-ratio.com/#hsla(0%2C 0%25%2C 0%25%2C 25%25)-on-white
=> color contrast of 1.83:1 but 3:1 is needed.
in ECA:
0px 2px 10px var(--popup-shadow-color) the value of the variable is hsl(225, 10%, 80%); which leads to:
https://contrast-ratio.com/#hsl(225%2C 10%25%2C 80%25)-on-white
=> color contrast of 1.65:1 but 3:1 is needed.
Describe the solution you'd like
Ideally the element template chooser modal should stand out more clearly so it is easier to distinguish what is the model and what is a widget/modal.
strictly speaking that issue applies to the toolbar and the properties panel to a certain degree as well. but due to the fact that the element template chooser has a white background color same like the background of the canvas and it is only separated by the box shadow makes it more of an issue for the element template chooser.
Describe alternatives you've considered

Additional context

CC @YanaSegal Maybe there is a way we can fine-tune this?


Fixed/ Updated proxy-daily.com website's code for extracting proxies

The following functions are outdated since the website structure for http://www.proxy-daily.com has been changed.

get_proxy_daily_http_proxies()
_get_proxy_daily_proxies_parse_inner()
get_proxy_daily_socks4_proxies()
get_proxy_daily_socks5_proxies()

Hi, thanks for the PR! This has already been fixed by PR #15. (submitted around the same time)
🤡


Umpire memory manager for okina [jdahm/umpire-mm-dev]

This adds Umpire support to MFEM's memory manager in the okina branch.

This is ready to be looked at concerning the overall style of the memory manager abstraction.
I'm certain some of the logic, especially in the getOccaPtr() method, is incomplete and I didn't implement the async transfer yet. I've been testing this locally, so this still needs to verified with GPUs on Lassen before merging.

@jdahm thanks for putting this together so quickly! To try this out would I just link in Umpire and run example 1 with the GPU enabled? I'm looking forward to trying this in my application.

@camierjs Wow, you did a ton of work on this today! Thank you for all the help toward this integration. I'll also test as soon as possible.

@artv3 Yes, enabling umpire in the MFEM build automatically enables it as the memory manager type (i.e. it's a typedef in the code). Therefore, to enable, just build and install umpire using -D ENABLE_CUDA=ON (develop branch), then configure the umpire-mm-dev branch with MFEM_USE_MM=YES MFEM_USE_UMPIRE=YES UMPIRE_DIR=${path_to_umpire_install}.

I finally updated this branch to the latest version of okina, but there have been significant changes to the memory manager there that did not build on the clean-up done in this branch. This seems to have introduced a regression - example 1 now fails to work correctly.

Even if the code enabled by setting MFEM_USE_UMPIRE=YES are not entirely working, I think we should merge this into okina soon, since it documents the memory manager and puts a layer of separation between the interface and implementation, which allows for potentially different future versions. We can then continue clean-up without being side-tracked by merge conflicts.

Do we have a sense of how far we are from getting ex 1 to work? I am for merging this soon, but I'm a bit hesitant on merging something that doesn't quite work.

Outdated due to new memory handling in mfem-4.0.


Improve the deprecation of delegates

This PR improves the deprecation of delegates as suggested by @NathanReb in the review of #276: the deprecation warnings in the docs now come after the corresponding concept has been introduced; at important places, the new workflow gets explained after the deprecation warning; functions that were moved to the deprecation module have been moved back to where they were; the deprecation module now has a more general name in order to also deprecate other things there.

Any idea where the CI failures are coming from?

I've added a deprecate.mli file.
I've also added a warning for publish_distrib. I think the warning for publish_doc is here.

I've added a deprecate.mli file.
I've also added a warning for publish_distrib. I think the warning for publish_doc is here.


Implement a reactive system for the task auctioneer

Currently a timer is being use to periodically refresh the task auctioneer. A preferable system would be one that's entirely reactive, to minimize the delays in responding to updates.
Related to this comment: https://github.com/osrf/rmf_core/pull/228#discussion_r546215074

Migrated to https://github.com/open-rmf/rmf_ros2/issues/37


3.0.0 Failure to upload release with API token

Description
When running certain commands with a full access token (tried both App and User scope) in a pipeline the command fails
Commands:
appcenter login --token $(ANDROID_APPCENTER_TOKEN)
appcenter distribute release --token $(ANDROID_APPCENTER_TOKEN)

Error:

Error: AbortController is not defined

Repro Steps
Please list the steps used to reproduce your issue.

Run appcenter distribute release --token $(APPCENTER_TOKEN)

Expected behavior
App should be uploaded to AppCenter without errors
Details

Is there a particular beacon/command that you are having trouble with?

appcenter distribute release --token $(APPCENTER_TOKEN)

Which version of the App Center CLI are you using?

3.0.0

Which OS version did you experience the issue on?

macOS-13 Azure pipeline and windows-latest Azure pipeline

What command line/shell are you using?

powershell pipeline task

What version of Node.js and NPM/Yarn are you using?

node v14.21.3 x64

Additionally, you can provide verbose logs of a CLI command by using DEBUG="appcenter-cli:*" before the command, for example, DEBUG="appcenter-cli:*" appcenter apps list. Include the logs here, don't forget to omit any personal/sensitive data.

Will edit later to include, happening across multiple projects and multiple build environments so hopefully easy to reproduce without

This seems like the same issue I had so please see https://github.com/microsoft/appcenter-cli/issues/2476
Updating Node.js has been found to resolve the issue

Thank you, saw that and been doing some experimentation with mixed results
Using

Node 20.11.1 x64
npm 10.2.4

With app scope token, I have seen it succeed but more often fails with the following error on both platforms (iOS and Android):

Error: Loading release id failed with error: failed to get release id for upload id: ********-****-****-****-************, error: {"succeeded":false,"errorCode":3,"errorMessage":"failed to get release id with HTTP status: 404 - Not Found"}

As it's part of a pipeline a failure like this prevents automatic tagging of releases etc.
I did check to see if this is a current AppCenter API issue, but "Distribute" is operational at the moment: https://status.appcenter.ms/

Hello and thank you for reaching out to us!
I'll close this issue as a duplicate of this one.
At the time of the connection error that you described, we were experiencing issues with the Distribute service, which have been fixed at this moment. But if you are still experiencing it, feel free to contact us.


Notes for the pentane tutorial

Spelling error in the word particle in doc strings.

Used port(anchor=_ch2) in a later line, but don't specify when the users create it that it should be called _ch2. Maybe best to start that line with
_ch2 =

Missing places with # add your code here:

bottom of class _CH3
n==1 case in class CG_Alkane

When doing the for loop in the CG_Alkane class, I would have a few more of these code blocks partially filled in partially. This isn't always the most intuitive step.

The polymer builder is a little finicky to use, because there's a couple ways to do it. Make sure people use a visualize to see what they built (it will look like length 7 if n=5 because of the two terminal groups). You may want to build with n=3 in this case.

Cassandra stuff is still in there. Are we leaving it?

Addressed by PR #20


updated to find vertex in framed graph.

The request update find api to find vertices in framed graph.

@ninhnguyen could you please review this change?  Thanks.


StateManager: Review exception thrown when adding entity with sentinel key

When adding an entity with a sentinel key and the key property is ValueGeneratedNever, we throw:
System.InvalidOperationException : The instance of entity type 'Microsoft.Data.Entity.FunctionalTests.NullKeysTestBase<Microsoft.Data.Entity.InMemory.FunctionalTests.NullKeysInMemoryTest+NullKeysInMemoryFixture>+WithIntKey' cannot be tracked because another instance of this type with the same key is already being tracked. For new entities consider using an IIdentityGenerator to generate unique key values.
This is somewhat confusing.

Marking for re-triage. Should probably go to @rowanmiller to write a new message.

Superseded by https://github.com/aspnet/EntityFramework/issues/4525 which deals with the same exception message (and is more applicable now that sentinel values are gone).


Bump postgres versions

This brings in the changes to remove seqscan_prefetch_buffers. We have a couple of tests that use that setting, they need to be fixed in this PR:
$ git grep seqscan_prefe
.github/workflows/benchmarking.yml:        psql ${BENCHMARK_CONNSTR} -c "ALTER DATABASE main SET enable_seqscan_prefetch=on"
.github/workflows/benchmarking.yml:        psql ${BENCHMARK_CONNSTR} -c "ALTER DATABASE main SET seqscan_prefetch_buffers=10"
pgxn/neon/libpagestore.c:                                                       "seqscan_prefetch_buffers.",
pgxn/neon/pagestore_client.h:extern bool seqscan_prefetch_enabled;
pgxn/neon/pagestore_client.h:extern int seqscan_prefetch_distance;
test_runner/performance/test_bulk_update.py:    cur.execute("set enable_seqscan_prefetch=on")
test_runner/performance/test_bulk_update.py:    cur.execute("set seqscan_prefetch_buffers=100")

(BTW, those "externs" in pagestore_client.h and the comment libpagestore.c looks like obsolete leftovers, too)

For test_bulk_update.py I have separate PR:
https://github.com/neondatabase/neon/pull/2939

I believe this PR is obsolete now, we have bumped the vendor/postgres versions after this. Closing.


[Event Request] codeunit 90 "Purch.-Post" - OnAfterGetItemChargePurchaseLineToPost

We would like to add a new event OnAfterGetItemChargePurchaseLineToPost in the following procedure:
local procedure PostItemJnlLineItemCharges(PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line"; var OriginalItemJnlLine: Record "Item Journal Line"; ItemShptEntryNo: Integer; var TempTrackingSpecificationChargeAssmt: Record "Tracking Specification" temporary)
var
    ItemChargePurchLine: Record "Purchase Line";
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforePostItemJnlLineItemCharges(PurchHeader, PurchLine, IsHandled);
    if IsHandled then
        exit;

    with PurchLine do begin
        ClearItemChargeAssgntFilter;
        TempItemChargeAssgntPurch.SetCurrentKey(
          "Applies-to Doc. Type", "Applies-to Doc. No.", "Applies-to Doc. Line No.");
        TempItemChargeAssgntPurch.SetRange("Applies-to Doc. Type", "Document Type");
        TempItemChargeAssgntPurch.SetRange("Applies-to Doc. No.", "Document No.");
        TempItemChargeAssgntPurch.SetRange("Applies-to Doc. Line No.", "Line No.");
        if TempItemChargeAssgntPurch.Find('-') then
            repeat
                TestField("Allow Item Charge Assignment");
                GetItemChargeLine(PurchHeader, ItemChargePurchLine);
                OnAfterGetItemChargePurchaseLineToPost(ItemChargePurchLine, PurchLine); //A108F0086.Event
                ItemChargePurchLine.CalcFields("Qty. Assigned");
                if (ItemChargePurchLine."Qty. to Invoice" <> 0) or
                   (Abs(ItemChargePurchLine."Qty. Assigned") < Abs(ItemChargePurchLine."Quantity Invoiced"))
                then begin
                    OriginalItemJnlLine."Item Shpt. Entry No." := ItemShptEntryNo;
                    PostItemChargePerOrder(
                      PurchHeader, PurchLine, OriginalItemJnlLine, ItemChargePurchLine, TempTrackingSpecificationChargeAssmt);
                    TempItemChargeAssgntPurch.Mark(true);
                end;
            until TempItemChargeAssgntPurch.Next() = 0;
    end;
end;

Event Signature:
[IntegrationEvent(false, false)]
local procedure OnAfterGetItemChargePurchaseLineToPost(var ItemChargePurchaseLine: Record "Purchase Line"; PurchaseLine: Record "Purchase Line")
begin
    //A108F0086.Event
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


need a way (button) to add new .ts file

currently the only way is to edit pxt.json

Is this a valid scenario for web users? Feels like this is more a scenario for VS code users.
Otherwise, the file list could have a small toolbox but I would simply avoid that.

Peli & Abhijith: This is fine for now


Notice : no bind

Hi,
Thank you for this usefull plugin ;)
I have a problem when a user enter a wrong password on login page.
Notice: No bind successfull. Exception thrown in line 68 in /var/www/html/wp-content/plugins/authldap/authLdap.php on line 427
I fix it by adding error_reporting(0); on ligne 426 in authLdap.php, but it's not a good practice since next update will override my modification.
I uncheck debug LDAP too in plugin configuration, but message is still visible.
Thank you.

Hey. Thanks for the report.
Does the user see this message on the login-page? Or is that a message in the log files?
If it is a message on the login-page, then you should set "display_errors" to false in your PHP.ini file. Have a look at the documentation. In general it is a good idea to set display_errors and display_startup_errors to false in production environments.
If it is a message in the log-files: What is the issue that you have with the message? Does it break any processes?

Hi Andreas,
Sorry for late reply. Too many things to do @home and @work due to
covid-19...
Yes, users see the message at the top of the login page.
It doesn't break any processes.
Without understanding why, sometimes I can't connect during a few time
while other users can. Did the plugin block user that make too many
mistakes when they enter their passwords? or it is a process of wordpress ?
Thank you.
Le mer. 27 mai 2020 à 06:49, Andreas Heigl<EMAIL_ADDRESS>a
écrit :

Hey. Thanks for the report.
Does the user see this message on the login-page? Or is that a message in
the log files?
If it is a message on the login-page, then you should set "display_errors"
to false in your PHP.ini file. Have a look at the documentation
https://www.php.net/manual/de/errorfunc.configuration.php#ini.display-errors.
In general it is a good idea to set display_errors and
display_startup_errors to false in production environments.
If it is a message in the log-files: What is the issue that you have with
the message? Does it break any processes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/heiglandreas/authLdap/issues/184#issuecomment-634426148,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKLTLTYDSO4QEAKI2X32TTRTSLUPANCNFSM4NKFHK4Q
.

--
Mickaël BERTAINCHANT
Technicien systèmes et réseaux,
Développeur Web
Université de Lille - FST Informatique
Tél. : 06-16-19-45-65


Add 'Open target directory' checkbox to directory selection dialog

And naturally open the target directory once operations are complete. Or, if they are async(?) - before issuing the command.
Quality of life improvement.

Implemented. Actually 'Open target directory' works with file selection dialog too. In later case it will not just open target folder in new shell window but also select new file.


Link each plugin's doc page to its source code

It would be helpful if each doc page linked to its source code within the babel repo.
For example http://babeljs.io/docs/plugins/preset-es2015/ should include a link to https://github.com/babel/babel/tree/master/packages/babel-preset-es2015

Sure, wanna make a PR?

done. also with npm links, mainly because it looks better.

@callumlocke close?


spyder3.0.0 Kernel died, restarting

Description of your problem
What steps will reproduce the problem?

 What do you see instead?
Kernel died, restarting
Please provide any additional information below
Not only in spyder, but also in  IPython and Jupyter QTConsole，Jupyter Notebook。
All of them appear Kernel died, restarting.
My code is very simple。The code is as follows：
Versions and main components

Spyder Version:3.0.0
Python Version: Anaconda2 (64-bit),python2.7
Operating system: windows 7
import caffe
import matplotlib.pyplot as plt
import numpy as np

def vis_square(data):
data = (data - data.min()) / (data.max() - data.min())
n = int(np.ceil(np.sqrt(data.shape[0])))
padding = (((0, n ** 2 - data.shape[0]),
(0, 1), (0, 1))
+ ((0, 0),) * (data.ndim - 3))
data = np.pad(data, padding, mode='constant', constant_values=1)  # pad with ones (white)
data = data.reshape((n, n) + data.shape[1:]).transpose((0, 2, 1, 3) + tuple(range(4, data.ndim + 1)))
data = data.reshape((n * data.shape[1], n * data.shape[3]) + data.shape[4:])
if data.shape[2] == 1:
data = data[:,:,0]
plt.imshow(data); plt.axis('off')
if name == 'main':
caffe.set_mode_cpu()
solver = caffe.SGDSolver('E:\BaiduYunDownload\caffe\caffe-windows\examples\mnist\lenet_solver.prototxt')
solver.step(1)
input_data = solver.net.blobs['data'].data
plt.figure(0)
vis_square(input_data.transpose(0, 2, 3, 1))
filters = solver.net.params['conv1'][0].data
plt.figure(1)
vis_square(filters.transpose(0, 2, 3, 1))
Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  1.5.3 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
numpy >=1.7      :  1.11.1 (OK)
pandas >=0.13.1  :  0.18.1 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pyflakes >=0.5.0 :  1.3.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
pylint >=0.25    :  1.5.4 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4 (OK)
sphinx >=0.6.6   :  1.4.6 (OK)
sympy >=0.7.3    :  1.0 (OK)

Not only in spyder, but also in IPython and Jupyter QTConsole，Jupyter Notebook。
All of them appear Kernel died, restarting

Then this is not a Spyder problem. I'm very sorry to say it but we don't have the time to help you debug this.


Getting error "Just a moment...Enable JavaScript and cookies to continue" when loading website using WebBaseLoader

System Info
langchain==0.0.311
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
from langchain.document_loaders import WebBaseLoader
loader = WebBaseLoader("https://academyselfdefense.com/")
data = loader.load()
raw_text = data[0].page_content
print(raw_text)

Expected behavior
load proper content in website instead of Just a moment...Enable JavaScript and cookies to continue

🤖
Hello,
The error message you're seeing, "Just a moment...Enable JavaScript and cookies to continue", is likely due to the fact that the WebBaseLoader you're using doesn't support JavaScript and cookies. This is because it uses a simple HTTP request to fetch the webpage content, which doesn't execute JavaScript or handle cookies.
To resolve this issue, you have a couple of options:

Use the playwright module in LangChain: This module provides tools for interacting with web pages in a more dynamic way than the requests library or aiohttp can provide. The Playwright library in Python is a browser automation library that supports JavaScript and cookies. You can use the NavigateTool to load the website, and then the other tools such as ExtractTextTool or ExtractHyperlinksTool to interact with the website's content. Here is an example of how you might use it:

from langchain.tools.playwright import NavigateTool, ExtractTextTool

navigate_tool = NavigateTool("https://academyselfdefense.com/")
navigate_tool.run()

extract_text_tool = ExtractTextTool()
text = extract_text_tool.run(navigate_tool.page)

print(text)

Use the BrowserlessLoader in LangChain: This loader uses the Browserless API to load webpages, which can handle JavaScript and cookies as it uses a headless browser in the backend. You would need to provide your Browserless API token when initializing the BrowserlessLoader. Here is an example of how you might use it:

from langchain.document_loaders import BrowserlessLoader

loader = BrowserlessLoader(api_token="your_api_token", urls="https://academyselfdefense.com/")
data = loader.load()
raw_text = data[0].page_content

print(raw_text)

Please note that using the BrowserlessLoader would incur costs associated with the Browserless API, and using the playwright module would require you to install the Playwright Python library and the associated browser binaries.
I hope this helps! Let me know if you have any other questions.
Sources

libs/langchain/langchain/document_loaders/web_base.py
libs/langchain/langchain/tools/playwright/init.py
libs/langchain/langchain/document_loaders/url_selenium.py
libs/langchain/langchain/document_loaders/browserless.py

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

maybe API use somthin wrong :
navigate_tool = NavigateTool(url)
File "pydantic\main.py", line 332, in pydantic.main.BaseModel.init
TypeError: init() takes exactly 1 positional argument (2 given)

    navigate_tool = NavigateTool("https://www.google.nl")                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Serializable.__init__() takes 1 positional argument but 2 were given
NavigateTool also not working here.


Readme

Script execution results:
New pull request received!
PR Number: 1
PR Title: Readme
PR URL: https://github.com/terraphim/github_webhook/pull/1
PR details written to pr_details.log
Pull request processing completed!


C++ Solution for "Integer to Roman" on LeetCode under LGMSOC21

Description
C++ Solution for "Integer to Roman" on LeetCode under LGMSOC21
Fixes #1745
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Amit366 @ravikr126 @Ayush7614

@Amit366 @ravikr126 @Ayush7614
Is there any issue in this PR that I need to correct?


Add promise cache logic to Redux

...And remove logic from home's componentDidMount and componentDidUpdate functions.

Will be part of ServiceWorker logic.


feat: add entry link of data source

add entry link to data source supported

fix issue #4671 of linkis(https://github.com/apache/linkis/issues/4671)

The corresponding English documents also need to be modified.
clickhouse is not listed.

The corresponding English documents also need to be modified. clickhouse is not listed.

Get.
I' ll make adjustment tonight.

Capitalize the first letter of the table header

English Docs and table headers have also been modified.
But the feat  of adding the data source list item, like clickhouse, is ignored in this time, because I noticed that it's related to issue 4670 of linkis (https://github.com/apache/linkis/issues/4670).
Another contributor, @zhaowenkai111 hoped to implement this.

It is recommended to add another section listing supported data sources.
You can display data sources and link information in a table. The supported data sources are as follows.

Done.
I have replaced it with a table:

Only update the two most recent versions, 1.4.0 and 1.3.2

Only update the two most recent versions, 1.4.0 and 1.3.2

Done


Revert "executor: enable extra coverage on OpenBSD"

Forgot that the build machine must be updated to a newer OpenBSD
snapshot first in order to make the new kcov stuff available.
This reverts commit 96dd36234d97bbf6b403f3a7f03cfc0296422879.

LGTM (github does not seem to allow to post-commit-approve)


Cluster Autoscaler does not have permissions to list replicasets.apps

When deploying the cluster autoscaler as per: https://eksworkshop.com/scaling/deploy_ca/, errors are generated suggesting that the cluster autoscaler cannot list replicasets.apps. I believe in some cases this also prevents any scale down or scale up activity from successfully occurring.
The error logs take the form of:
Failed to list *v1.ReplicaSet: replicasets.apps is forbidden: User "system:serviceaccount:kube-system:cluster-autoscaler"
A similar issue was found with other platforms deployments of the cluster autoscaler (e.g. https://github.com/Azure/aks-engine/issues/261)
Is this expected / correct behaviour? I was able to address this by modifying the cluster-autoscaler.yaml at line 44 to include replicasets in its ClusterRole permissions. (https://github.com/aws-samples/eks-workshop/blob/master/content/scaling/deploy_ca.files/cluster_autoscaler.yml#L44)
Happy to submit a PR if this is a confirmed issue!

https://github.com/aws-samples/eks-workshop/blob/3ec6e6a0a033644527d1f022795208100b558ec9/content/scaling/deploy_ca.files/cluster_autoscaler.yml#L37-L39
It would appear that replicasets has been moved in apigroups from "extensions" (I believe when it was still in v1beta?) to "apps" permanently as of Kubernetes 1.14
See https://kubernetes.io/docs/setup/release/notes/#deprecations under API

DaemonSet, Deployment, and ReplicaSet resources will no longer be served from extensions/v1beta1, apps/v1beta1, or apps/v1beta2 in v1.16. Migrate to the apps/v1 API, available since v1.9. Existing persisted data can be retrieved via the apps/v1 API.

Permissions has been fixed in
https://github.com/kubernetes/autoscaler/pull/2229
https://github.com/kubernetes/autoscaler/pull/2230
https://github.com/kubernetes/autoscaler/pull/2231
We can close this issue.

Will the upstream fixes work if the user is following this tutorial? It would require an update to cluster autoscaler correct? Otherwise the solution posted above would fix it for this tutorial.

Ah. I didn't notice that. Yeah. We need to submit a PR to this repo to use examples from CA aws examples.

I believe this should be fixed with https://github.com/aws-samples/eks-workshop/blob/master/content/beginner/080_scaling/deploy_ca.files/cluster_autoscaler.yml#L44


Module 1.1 Assignment

Given what you have learned about Git, why would you want to use Git in your classroom?

Git is a version control tool.  I want to use Git in my classroom because it can help me manage the changes of paper.


Trivial fix of GSG formatting

Forgive me all the push-f's, but I'm on a phone and it's kinda tricky to use the correct workflow like that


Double Tap recognition

Hello,
I want to use a double Tap gesture. I noticed, that the InputClickedEventData provides a TapCount.
But when I try the follwoing, only the Signle Tap is displayed.
Am I missing something? Or do I need to set up some timer to recognize two single Taps in a short time?
    public void OnInputClicked(InputClickedEventData eventData)
    {
      if (eventData.TapCount > 1)
        Debug.Log("Double Tap");
      else
        Debug.Log("Single Tap");
    }

Thanks in advance.

Hi !
I use that and it's work, try it :)
`    using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
public class a_clickcount : MonoBehaviour, IPointerClickHandler
{
    int tap;

    public void OnPointerClick(PointerEventData eventData)
    {
        tap = eventData.clickCount;

        if (tap == 2)
        {
            // do something
        }

    }
}

`

@EmreSuzenExia Thanks for your answer. In which namespace does the IPointerClickHandler lives? I tried the "HoloToolkit.Unity.InputModule", but this one does not contain the interface.

The HoloToolkit.Unity.InputModule is the correct namespace. The interface and method have been renamed to IInputClickHandler and OnInputClicked(InputClickedEventData eventData). The property to check is eventData.TapCount, but I am only getting "1" as a result in the Editor. The EditorHandsInput does state that only single taps are handled in the editor.
// We currently only support single taps in editor.
inputManager.RaiseInputClicked(this, editorHandData.HandId, 1);

@killerantz Thank you for that answer.

I tried out the TapCount Property using the HoloLens. But it only picks up two single taps... Even using the Bluetooth Clicker does not change the behaviour.
Any more ideas on how to enable double Tapping?

Why you don't use my example ?
`
int tap;
public void OnPointerClick(PointerEventData eventData)
{
tap = eventData.clickCount;
    }

`

The IPointerClickHandler is in the UnityEngine.EventSystems namespace.

@EmreSuzenExia : I tried that one out. Put I think I'm missing something out. The method is not called.
I have an InputManager, a HoloCamera, a cursor and a simple cube (to which my test script is attached) is the scene. Is there somethin else missing?

I have not been able to get double-tap to work with the IPointerClickHandler, I only get zeros as the clickCount. You'll need to have EventSystem added to the scene for IPointerClickEvents to occur. Just add a UI button to the scene and the EventSystem comes in as well.
I was able to get double-taps to work using IInputClickHandler and OnInputClicked(InputClickedEventData eventData) though.
First thing is the GesturesInput is not setup to handle double-tap detection, so you need to add it to the recognizable gestures by opening HoloToolkit/UI/Scripts/InputSources/GesturesInput.cs
On line 46 add GestureSettings.DoubleTap to the gestureRecognizer like this.
gestureRecognizer.SetRecognizableGestures(GestureSettings.Tap |                                                        GestureSettings.ManipulationTranslate |                                                       GestureSettings.Hold |                                                       GestureSettings.DoubleTap);
Then in the OnInputClicked handler look at the tapCount which should be 1 or 2.
public virtual void OnInputClicked(InputClickedEventData eventData)  {             print(eventData.TapCount);  }
Two events will fire on a double-tap (1 and 2), so if you want to capture both single-taps and double-taps on the same object, you will have to delay the single-tap execution to see if a double-tap does not immediately follow. I hope that makes sense.
Maybe there's a part of the EventSystem that needs to register to listen for double taps to get the IPointer stuff working, but I haven't dug that far into it yet.

First thing is the GesturesInput is not setup to handle double-tap detection, so you need to add it to the recognizable gestures by opening HoloToolkit/UI/Scripts/InputSources/GesturesInput.cs

Does it make sense that we actually make this change?

I think so, we have references to double-tap in the InputManager, but it is not enabled. Looks like it was an oversight.
I was wondering if there were any issues by having it enabled but not expecting it, like getting the double events fired during a double tap. Maybe it's something that we make it easier to enable as part of the framework? Just in case there is something we are missing.
Right now you can rapid fire single taps when double-tap is not recognized. This is the same outcome of having double-tap enabled, but not checking for tap counts. Having it enabled doesn't seem to change the behavior of the click event, just provides more data from my quick tests.

@killerantz : Thank you very much for your throughout investigation of this.
I'm not sure, but maybe we can define a new interface to only register doubleTaps?
Or might it be better to mention the detection of single and double taps in the IInputClickedHandler?

I've tried this but the problem i always get the single tap then the double tap is there any idea of how to make the single tap waits if there is another tap or not ? like one second for example ?
` void Start()
{
    StartCoroutine(HoldSphere());

    _gestureRecognizer = new GestureRecognizer();
    _gestureRecognizer.TappedEvent += GestureRecognizerOnTappedEvent;
    _gestureRecognizer.SetRecognizableGestures(GestureSettings.Tap | GestureSettings.DoubleTap );
    _gestureRecognizer.StartCapturingGestures();
    _gestureRecognizer.TappedEvent += (source, tapCount, ray) =>
    {
        if (tapCount == 1)
       {
            HoldSphere();
            if (tapCount == 2)
                Shoot1();
            else Shoot();
        }
    };
}
IEnumerator HoldSphere()
{
    yield return new WaitForSeconds(1);
}`

When listening for a double tap there needs to be a way to cancel the single tap code execution.
Adding a local bool, like _hasDoubleTap could do it. I believe there's a 0.3 - 0.4 second threshold for a double tap to register.
`
bool _hasDoubleTap;
void Start() {    StartCoroutine(HoldSphere());
_gestureRecognizer = new GestureRecognizer();
_gestureRecognizer.TappedEvent += GestureRecognizerOnTappedEvent;
_gestureRecognizer.SetRecognizableGestures(GestureSettings.Tap | GestureSettings.DoubleTap );
_gestureRecognizer.StartCapturingGestures();
_gestureRecognizer.TappedEvent += (source, tapCount, ray) =>
{
    if (tapCount == 2)
   {
        _hasDoubleTap = true;
        Shoot();
  }
  else
  {
      _hasDoubleTap = false;
      HoldSpere();
  }
};

}
IEnumerator HoldSphere()
{
yield return new WaitForSeconds(0.4f);
if(!_hasDounleTap){
// execute single tap
}
}
void Shoot()
{
// execute double tap
{
`

@killerantz
thanks, but still the same problem.
I only can define one gesture, either the first or the second tap, or the first and then the second.
i want for example if i have one tap to throw a sphere, a double tap to throw a cube but first see if i have a single or double tap and then act.
I've tried everything i hope I've cleared my point now.
here is my whole code
` public GestureRecognizer _gestureRecognizer;
public float ForceMagnitude = 300f;
void Start()
{

    _gestureRecognizer = new GestureRecognizer();
    _gestureRecognizer.TappedEvent += GestureRecognizerOnTappedEvent;
    _gestureRecognizer.SetRecognizableGestures(GestureSettings.Tap | GestureSettings.DoubleTap );
    _gestureRecognizer.StartCapturingGestures();
    _gestureRecognizer.TappedEvent += (source, tapCount, ray) =>
    {
        if (tapCount == 1)
            StartCoroutine(HoldSphere());

        else if (tapCount == 2)
            Shoot();
        else
            Shoot1();
    };
}
IEnumerator HoldSphere()
{
    yield return new WaitForSeconds(1);
}

private void GestureRecognizerOnTappedEvent(InteractionSourceKind source, int tapCount, Ray headRay)
{

}

private void Shoot()
{
    var eyeball = GameObject.CreatePrimitive(PrimitiveType.Sphere);
    eyeball.transform.localScale = new Vector3(0.1f, 0.1f, 0.1f);
    var rigidBody = eyeball.AddComponent<Rigidbody>();
    rigidBody.mass = 0.5f;
    rigidBody.position = transform.position;
    var forward =  transform.forward;
    forward = Quaternion.AngleAxis(-7, transform.right) * forward;
    rigidBody.AddForce(forward * ForceMagnitude);
}
private void Shoot1()
{
    var eyeball = GameObject.CreatePrimitive(PrimitiveType.Cube);
    eyeball.transform.localScale = new Vector3(0.1f, 0.1f, 0.1f);
    var rigidBody = eyeball.AddComponent<Rigidbody>();
    rigidBody.mass = 0.5f;
    rigidBody.position = transform.position;
    var forward = transform.forward;
    forward = Quaternion.AngleAxis(-7, transform.right) * forward;
    rigidBody.AddForce(forward * ForceMagnitude);
}`

Honestly, if we have to check the tap count and wait for seconds to tell the difference between a single and double tap, then the double tap functionality is not really in place. If it were, there would be a DoubleTap Event and the system would handle all this. So it may be best to roll your own for now, it's the same amount of code and less hassle.
`
private Coroutine _tapRoutine;
void Start()
{
_gestureRecognizer = new GestureRecognizer();
_gestureRecognizer.TappedEvent += GestureRecognizerOnTappedEvent;
_gestureRecognizer.SetRecognizableGestures(GestureSettings.Tap);
_gestureRecognizer.StartCapturingGestures();
_gestureRecognizer.TappedEvent += (source, tapCount, ray) =>
{
if (_tapRoutine == null)
{
_tapRoutine = StartCoroutine(TapTimer());
}
else
{
StopCoroutine(_tapRoutine);
_tapRoutine = null;
print("doubleTap!");
Shoot();
}
};
}
private IEnumerator TapTimer()
{
yield return new WaitForSeconds(0.3f);
print("singleTap!");
_tapRoutine = null;
Shoot1();
}`


How to use deps convert for split dev/main requirements?

I have pyproject.toml with [tool.poetry.dependencies] and [tool.poetry.dev-dependencies] blocks and try convert it with this dephell config:
[tool.dephell.main]
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "pip", path = "pip-requirements.txt"}

Has dephell any possibilities for select only dev requirements convert to pip format?

It's not implemented yet, but has easy realization. I will implement it :)

🤔

Will be released in 0.7.0. Thank you for the issue :)

How to use it with config? Or I should use dephell config (like in issue description) + --envs dev?

All CLI options can be specified in config:
[tool.dephell.main]
...
envs = ['main', 'dev']

Got it!

Released. Please, update dephell to 0.7.0:
python3 -m pip install -U --user --no-cache-dir dephell


Reconsider the inclusion of CoinBlockerLists

This list goes beyond "prevent[ing] cryptomining in the browser" by blocking access to whole domains such as thepiratebay.org, even when less aggressive rules would suffice. The maintainer's reasons make it quite clear that the list name is a misnomer now and the list is and will continue being used to block "obviously illegal pages" too. The maintainer (and apparently, their fans) are generally difficult to reason with, so taking up such issues to their repo is futile. All of this is part of why the list was never included in uBlock Origin.
There are much better coin blocking lists already available that do what they say on the tin, such as NoCoin.
I realize that I can create my own unified list, but I'm filing this issue to reconsider the inclusion of this list by default. The unified list is described as adware + malware and TPB is clearly neither.

@FatOrangutan it took me less than a minute of very basic searching to uncover an avalanche of recent news reports about Pirate Bay and crypto mining.
Please research you case, maybe for a minute, before submitting issues here.  Thank you.

it took me less than a minute of very basic searching to uncover an avalanche of recent news reports about Pirate Bay and crypto mining.

I'm well aware of the coin miner on TPB; I thought I made it clear when I said (emphasis added):

blocking access to whole domains such as thepiratebay.org, even when less aggressive rules would suffice

...or when I linked to the developer's reasons. It is quite literally in the footer of every TPB page too:

By entering TPB you agree to XMR being mined using your CPU. If you don't agree please leave now or install an adBlocker

Your response also failed to cover why, exactly, a miner blocking list is blocking on the basis of "obviously illegal pages":

Second, the site is bad for many people who make their money with their creativity, e.g. actors and singers.

Most filter lists / host file maintainers try to avoid blocking whole sites, especially if the issues can be resolved by simply blocking the miner or other offending connections that the site makes. Coincidentally, good maintainers try and avoid playing benevolent dictators too.

Please research you case, maybe for a minute

Well, I will just ignore the patronizing response I guess.

@StevenBlack I greatly hope that the project's goal isn't blocking websites solely because they run miners. As @FatOrangutan said the list creator's reasoning is based on ideological, not technical, reasons and CoinBlockerLists should be removed from the default sources.

@StevenBlack Are websites blacklisted if they run miners?
I respect your decision to use your own name, I decided not to because defending torrent sites will potentially draw negative responses.

@894-572 Just like to point out that there's nothing inherently wrong with torrents or websites hosting torrents. Torrents are very widely used for non-illegal activity, and discussing them as such would not bring any negativity toward you personally.
ThePirateBay itself actually hosts a very large number of completely legal torrents - and, while that's not what they're known for, they themselves are not technically "illegal"
Richard, btw. :P
@StevenBlack I do actually agree with one point, which is that I'd rather see the sources of those miners being blocked, rather than entire websites. That being said, I have absolutely no desire to defend any particular site, nor do I think it warrants the removal of CoinBlockerList.
Just thought it worth voicing the opinion :)

recommend people to learn to read and understand a tool before using it.

Why can't neither you nor Steven actually read what is written instead of just stating the obvious and being condescending on top?

CoinBlockerList do its work for miners but talking about censorship is a bit excessive as I rarely know any censorship which result in entity having the choice.

Literally nobody in this issue had used the word censor to describe what CoinBlockerList is doing, obviously for the same reason you then went on to type. (Look at that, I can be patronizing too.)

Indeed, we all have the choice! [...] We all have the choice!

The last para of my original description addresses this. Not going to quote myself, again, because this is getting tiring.

Let's lock this out

Yes please.


Add support of subnet id for creating NLB

Changes done in this PR :
Add Private ALB support in argocd and argo-workflow
Add subnet ID support in ingress-nginx and in all the ingress resource for alb creation - K8s-dashboard, Argo-cd , Argocd-workflow.


Mobile server management utility

We're coming up on needing some actual server-side management tools now that we're able to support a headless server (barely). The idea has come up that beyond merely supporting admin commands and some sort of console to go with the headless setup we could come up with an admin tool for mobile.
Supposedly some already exist for MC servers, might be good to draw some inspiration from there. Need to come up with a list of desired features, mobile or no.

I'd be interested in taking on this issue as part of GSOC 2016.

Hi @Qinusty ! Come say hi in the forum and let us know a little about you and your skills :-)
http://forum.terasology.org/forum/contributor-introductions.7/

I've been thinking about this and reading the previous comments, I think hosting REST services to manage the configurations. This along with a site for configuring the server through requests to the RESTful API could allow for a nice solution which would work on a wide variety of devices.

@Qinusty yep - I put some more notes here yesterday :-)
http://forum.terasology.org/threads/hello-terasology.1449/#post-12877

Oh, Okay. I think I'm going to implement a mock REST api service to help me visualise how It'd be structured in the case of Terasology

Great! You might want to keep some notes in the forum (like in your intro thread) so we can be part of the process and see how it turns out :-)

Hi @Cervator, I would like to work on Android for this project. I have some previous experience working as core developer at ownCloud and contributor at wordPress-android.

Alright will do! Just trying to get my assignments out of the way first. Should start playing around with it in the next few days.

Bump - linking this to https://github.com/MovingBlocks/FacadeServer although probably exposing administrative options via REST api could be its own item separate from a mobile app way of interacting with it.
@msteiger I seem to have totally missed that repo getting created with interesting stuff in it. How did it go? Does it actually work as an alternate facade or is it just using similar naming?

Bump - this is now vastly more doable and at least partially complete thanks to #2436 and @gianluca-nitti - I think that might be less dedicated mobile app and more mobile-friendly website, however (please correct me if I'm wrong!) - which might not be a bad thing.
Going to leave this open for now since there is much more that can be done and this could serve as a useful reminder, at least for a bit. Or we could put some more specific issues in place instead.

Hi I want to contribute to this project..but im new to Open source development. need some help to get started. also i want to participate in GSOC for this project


virtual_machine_extensions.create_or_update infinite polling

I'm trying to create a Linux VM with the OmsAgentForLinux_  extension.
once the VM is created, the program starts creating the extension but each time ends up in an infinite polling.
Of course, I can set a timeout but this does not solve the problem, also because by controlling from the Azure Portal the extension always has the state "unavailable"
Code Snippet:
def create_extension(self, rg_name, location, vm_name):
        name = '{}-OMS'.format(vm_name)
        client = self.compute_client.virtual_machine_extensions
        ext_type = 'OmsAgentForLinux'
        publisher = 'Microsoft.EnterpriseCloud.Monitoring'
        ver = '1.7'
        params = VirtualMachineExtension(location = location, publisher = publisher, virtual_machine_extension_type = ext_type, type_handler_version = ver, auto_upgrade_minor_version = False)

        poller = client.create_or_update(rg_name, config.vm_name, name, params)

        poller.wait()
        return poller.result()

/unresolve

Hi @thommibens , Compute has released the latest version 24.0.0. Please try it with the latest version. Thank you !
Fyi:
https://pypi.org/project/azure-mgmt-compute/24.0.0/


Add more breakpoints when debugging

Please briefly describe what you were doing that led to the issue, if applicable:
When debugging, if I add more breakpoints and click "F5" to continue, it passed the new breakpoints.
...
If you have any screenshots demonstrating the issue, please include them as well to help us diagnose it better.
Additional information:
OS Information
Version:       Microsoft Windows NT 6.1.7601 Service Pack 1
RTVS Information:
Assembly: Microsoft.VisualStudio.R.Package, Version=0.3.20427.2043, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
R Install path:
C:\Program Files\Microsoft\MRO-for-RRE\8.0\R-3.2.2

Were you adding the breakpoints to the same function that was executing, or to a different one.

Closing due to no activity


Add tool tips and hide control for unprivileged-users access

There's no use case as of now for this. we can revisit if needed


fix: postcss-load-config version update

Description
https://github.com/vitejs/vite/issues/15745

Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines, especially the Pull Request Guidelines.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Update the corresponding documentation if needed.
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Ah dang it, I forgot that postcss-load-config has v5 and we can't upgrade to it yet. We have https://github.com/vitejs/vite/pull/15235 queue up for Vite 6, so I think we can't fix this yet.

Ah dang it, I forgot that postcss-load-config has v5 and we can't upgrade to it yet. We have #15235 queue up for Vite 6, so I think we can't fix this yet.

Ok, =_=


feat(config): add validation

Workflow summary

Introduced Validator crate that has trait Validate which can be used on Structs and it's attributes
Check for poll_secs
Check for URLs - Check whether the String is ok and perform a post on the url. If the returned http answer is ok, than the url is valid
Check for data dir - If the folder exists, check if is read only or not. If it doesn't exist, trace a warning.
Unit tests for behaviour validation

Great work, thank you! I like the decoupling of validation that allows reasonably easy testing.
One nitpick though: we're trying to use conventional commits approach. I'd imagine the commit message (and maybe a PR title to avoid confusion) along the lines of feat(config): add validation.

I have changed the title of the PR so that it is according to the conventional commits. I guess that this is sufficient to have that message displayed with the final commit in main branch.

@sergey-melnychuk @LKozlowski  I have updated the PR based on the comments. Please review it again

conventional commits

Not sure that I follow. After finished PR, all commits should be squashed and there should be only one commit with name of the PR feat(config): add validation, which is according to conventional commits format. This branch would be deleted, so everything looks good to me. Please correct me if I understood something wrong

conventional commits

Not sure that I follow. After finished PR, all commits should be squashed and there should be only one commit with name of the PR feat(config): add validation, which is according to conventional commits format. This branch would be deleted, so everything looks good to me. Please correct me if I understood something wrong

The idea behind that convention is that we only want meaningful commits with a bit of metadata in commit messages in the git history. In this case, we want to avoid introducing commits like "fixed clippy" into history and leave one commit that would tell us what was changed.
You are right, and as a result of your work in this pull request you should have one commit with the message "feat(config): add validation".
Of course, in the future, there might be cases where the scope of the pull request is bigger so you'll end up with more commits, but all of them should follow that convention 😄

conventional commits

Not sure that I follow. After finished PR, all commits should be squashed and there should be only one commit with name of the PR feat(config): add validation, which is according to conventional commits format. This branch would be deleted, so everything looks good to me. Please correct me if I understood something wrong

The idea behind that convention is that we only want meaningful commits with a bit of metadata in commit messages in the git history. In this case, we want to avoid introducing commits like "fixed clippy" into history and leave one commit that would tell us what was changed. You are right, and as a result of your work in this pull request you should have one commit with the message "feat(config): add validation". Of course, in the future, there might be cases where the scope of the pull request is bigger so you'll end up with more commits, but all of them should follow that convention 😄

Understood, I completely agree with only meaningful commits in history. I will pay attention to it in future work :)

conventional commits

Not sure that I follow. After finished PR, all commits should be squashed and there should be only one commit with name of the PR feat(config): add validation, which is according to conventional commits format. This branch would be deleted, so everything looks good to me. Please correct me if I understood something wrong

The idea behind that convention is that we only want meaningful commits with a bit of metadata in commit messages in the git history. In this case, we want to avoid introducing commits like "fixed clippy" into history and leave one commit that would tell us what was changed. You are right, and as a result of your work in this pull request you should have one commit with the message "feat(config): add validation". Of course, in the future, there might be cases where the scope of the pull request is bigger so you'll end up with more commits, but all of them should follow that convention 😄

Understood, I completely agree with only meaningful commits in history. I will pay attention to it in future work :)

As long as you're working on something, you can have all sorts of commits as it sometimes might help to review PRs, but when you are about to merge it into the main branch then it is a time for a cleanup :)

We're trying to keep the history linear (basically only fast-forward merges are allowed on the main branch), thus also try avoiding merge commits. We also don't require to squash all the commits in the PR into one, even though you can do that if you want to, so there is flexibility. If you want the PR to take only single commit - please rebase & then squash all the remaining ones.
The goal is to make small "atomic" changes that are easier to review and potentially troubleshoot. We don't have a limit on number of commits. My personal preference is to keep each change small and meaningful, even keeping fmt & clippy results (such commits are easily skipped during review and don't hurt when they sit in the branch).


Sidecar is not injecting in Azure AKS

=
What version of Dapr?

1.2.x

Actual Behavior
The sidecar must be inject in the pod through the deployment in the Azure AKS.
Following YAML we used to deploy:

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: eventengine
name: eventengine
spec:
replicas: 1
selector:
matchLabels:
app: eventengine
template:
metadata:
annotations:
daprio/app-id: eventengine
daprio/app-port: "5000"
daprio/enabled: "true"
labels:
app: eventengine
spec:
containers:
-
envFrom:
-
secretRef:
name: eventengine-secret
image: "xxxx.azurecr.io/xxxx:$(Build.BuildId)"
imagePullPolicy: Always
name: eventengine
ports:
-
containerPort: 5000
name: eventengine
nodeSelector:
beta.kubernetes.io/os: linux
But we see the pods events the Daprd container is not pulled through deployment.

And only one pod application container is running

If you see the above image the dapr service is injected but no sidecar.
Expected Behavior
The sidecar must be inject through deployment in Azure AKS.

I see that you are using a custom registry. Does the pod have permission to download from the registry? Does the error persist if you use our published image directly?

Hi @artursouza
I face the similar issue for on premise environment. What permissions are required on a registry?
The ImageSecret is added to the service account and deployment file. Are there any additional permissions?

We need documentation on how to use Dapr with a private Docker repo.

/assign

@sandipsmahajan, I'm unable to reproduce the issue.
I deployed containers from public and private container registries with AKS. In both cases dapr sidecar containers have been successfully added.
Do you still experience this issue? If so, could you clarify your scenario?
Is dapr operator up and running? Please list these pods.

@cosmintiru , I was able to deploy a container with Dapr sidecar in AKS.
I tested 3 scenarios, all successful:

a container in a public docker.io repo
a container in a private docker.io repo
a container in ACR

Do you keep your container image in ACR? If so, did you deploy the cluster in the same subscription with your ACR?


[Flaky CI] [Serial][rfe_id:393][crit:high][vendor:cnv-qe@redhat.com][level:system] VM Live Migration Starting a VirtualMachineInstance rook-ceph live migration cancelation should be able to cancel a migration [test_id:2731] with OCS Disk (using ISCSI IPv4 address)

/triage build-watcher
/kind bug
What happened:
vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:43
Timed out after 600.000s.
Timed out waiting for DataVolume to enter Succeeded phase
Expected
    <v1alpha1.DataVolumePhase>: CloneInProgress
to be an element of
    <[]interface {} | len:1, cap:1>: [["Succeeded"]]
tests/migration_test.go:1364

Prow logs

Happened again
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/5039/pull-kubevirt-e2e-k8s-1.17-rook-ceph/1362430350462029824
/reopen

And here: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/5126/pull-kubevirt-e2e-k8s-1.17-rook-ceph/1367397893715005440

Happens very frequent. Proposing quaratine for it: https://storage.googleapis.com/kubevirt-prow/reports/flakefinder/kubevirt/kubevirt/flakefinder-2021-03-15-168h.html#row35


WCP-32741:- Updating Docker scripts to handle install and configure o…

…f Elasticsearch 7.
Signed-off-by: Anand Sirasagi<EMAIL_ADDRESS>

Changes looks good

We generally don't allow third-party binaries in our container images, unless they're optional. Can you confirm that this still works without Elasticsearch? If not, I'll follow up internally regarding the required approvals.

Yes the product will still work without Elasticsearch, only if you need search capabilities, then you need to follow the additional steps related to setting up the Elasticsearch container

Is there a reason it requires Elasticsearch and not Opensearch?

Is there a reason it requires Elasticsearch and not Opensearch?

We supported Elasticsearch earlier and now we are moving towards OpenSearch and the support for OpenSearch is still under development.

@dgothe please resubmit your review.


5 azure api management check

All working checks for APIM
This pull request introduces several new methods to the APIMCheck class to enhance the assessment capabilities of Azure API Management (APIM) services and updates the apimRules.json file to include new rules for these assessments.
Enhancements to APIMCheck Class:

Added methods to retrieve various properties and check specific configurations of the APIM service, such as getskuTier, getAPIID, getAPIURI, hasAvailabilityZones, hasPrivateEndpointConnections, hasPublicNetworkAccessDisabled, hasCorrectBackendProtocols, hasClientCertificateEnabled, hasMinimumApiVersion, hasEncryptedValues, hasAdditionalLocations, hasMultiRegionGateway, hasInsecureCiphers, hasBasedPolicies, hasAPIDescriptors, hasProductApprovalRequired, hasProductSubscriptionRequired, hasProductTermsRequired, hasProductDescriptors, hasSampleProducts, hasIdentityEnabled, and isDefenderEnabled. (APIM/APIMCheck.psm1)

Updates to APIM Rules:

Introduced new rules in apimRules.json to ensure compliance with best practices and security standards, including checks for API version, encrypted named values, base policies, API descriptions, product approval requirements, product subscription requirements, product terms, product descriptions, sample products, availability zones, additional locations, multi-region gateways, private endpoint connections, public network access, backend protocols, client certificates, insecure ciphers, managed identities, and Defender for APIs. (APIM/apimRules.json)

Minor Improvements:

Updated the assessment start message for better readability. (APIM/StartAPIMAssessment.ps1)
Closes #5

@microsoft-github-policy-service agree company="Microsoft"


Only one option can be selected in multiselect

With a multiselect dropdown, whenever an item is selected, the previous selection on the actual <select> input is cleared. The plugin's styling keeps all the items highlighted as if they are still selected.
My <select> element markup:
<select name="categories[]" id="categories-dropdown" class="select form-control" multiple="true" placeholder="Select one or more categories">
    [...]options[...]
</select>

The JavaScript:
$("select").dropdown({
    "autoinit": "select",
    "optionClass": "withripple"
});

I suspect I may be doing something wrong?
Here is a video demonstrating the selected options being unselected.

any word of this one? Its quite important the multiselect :-/ Pls look into it.

Sorry I'm not actively maintaining this project anymore. Pull Requests are welcome.

oh come on! what about this:
"Finally a dropdown plugin that transforms select inputs in nice dropdowns and does not drive you crazy.
I've always wondered why the most famous plugins (Chosen and Selectize) are so huge and full of useless/pointless features? What do you need from a dropdown plugin?"
please.

I'm sorry I've a lot of other work to do and I'm not working anymore with jQuery. I'm focused on React now. 😔