Generate client id in a way that matches Google's method [#397]

Unfortunately, I never found a good way to do it in memory. But this along with #415 should put uploading back into good standing.

Note that this change will cause the upload of duplicates of songs uploaded with previous versions of gmusicapi due to generating a different client id. However, it removes the previous behavior of uploading a duplicate song if the metadata is changed in the future.

Yeah, putting the whole thing makes sense. I'm just not sure exactly where you want to put os.remove() call.  It would make sense to put it in a try/except in the finally clause.

Ah, I see what you're getting at. Yeah, a try/except:log in the finally ought to be good (even if it reads a little strangely, haha).

Let me know if anything else needs changing.

Looks great; thanks!

@thebigmunch hm, looks like this broke the build: https://travis-ci.org/simon-weber/gmusicapi/jobs/112183302#L883:
proboscis.case.MethodTest (song_create) ... 2016-02-27 03:35:01,196 - gmusicapi.Musicmanager11 (musicmanager:453) [ERROR]: problem gathering local info of 'u'/home/travis/build/simon-weber/gmusicapi/gmusicapi/test/audiotest_small.mp3''
Traceback (most recent call last):
  File "gmusicapi/clients/musicmanager.py", line 451, in upload
    track = musicmanager.UploadMetadata.fill_track_info(path)
  File "gmusicapi/protocol/musicmanager.py", line 191, in fill_track_info
    track.client_id = cls.get_track_clientid(filepath)
  File "gmusicapi/protocol/musicmanager.py", line 161, in get_track_clientid
    audio = mutagen.File(temp.name, easy=True)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/mutagen/_file.py", line 251, in File
    return Kind(filename)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/mutagen/_file.py", line 42, in __init__
    self.load(filename, *args, **kwargs)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/mutagen/id3/__init__.py", line 1093, in load
    self.info = self._Info(fileobj, offset)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/mutagen/mp3.py", line 185, in __init__
    self.__try(fileobj, offset, size - offset, False)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/mutagen/mp3.py", line 223, in __try
    raise HeaderNotFoundError("can't sync to an MPEG frame")
HeaderNotFoundError: can't sync to an MPEG frame

But it tested good before merging... hmmm.
With that being said, I seem to be able to reproduce this locally now. It seems switching from temp.write(f.read()) to shutil.copy(f.name, temp.name) solves the problem, so I'll PR a fix later today and see if Travis agrees.
Reminds me, I probably should've thought about invalid files given thebigmunch/gmusicapi-scripts/issues/29. Would you want to handle actual invalid media files in some way other than letting an unhandled exception raise? It's less likely to happen on the gmusicapi level as it is with my scripts, but possible.

Ignore the part about invalid files. It was 4:30 AM, and I didn't get any sleep : )


Updating app removed progres/settings

After a update of a game, all my progress and settings were lost.
There version of sidenoder I was running at the time did execute  adb shell pm uninstall -k XXX before installing the update so I'd imagine that it has something to do with that. Even with the -k flag, it seems like some data still gets removed.
My suggestion would be to not run uninstall for an update and instead add the -r (for replace) flag to the adb install command.
I don't really have a good way to fully test this right now so I can't 100% say if that wont cause other issues.
I the uninstall there for a specific reason? Have you run into any issues in the past that required the uninstall beforehand?

the reason that i dont just do install with -r, is because that fails when the app is signed by a different developer. (which btw STILL turns out to be the case EVEN uninstall -k)
So for now i have switched it to straight up uninstall, and install the new one.
Its basically shoosing between 2 shitty choices, i can either make it :

uninstall, and reinstall, will never fail, but can lose data
dont uninstall and install with -r switch, which might cause some updates to fail

currently i am doing nr1, i will soon switch this over to nr2, and inform the user if it is failing due to signature mismatch

I see. It's strange that the signature would change at all but I guess that has something to do with patching some apps.
Ideally the installation is done with -r. If that fails with the "signatures do not match", a message is shown telling the user that the app has to be uninstalled first which can cause data loss so at lease there is some kind of warning and the user can try to manually back up game files.

closing as this should be fixed in v0.0.4-alpha-DEV3


Implemented Kahn Algorithm in CPP

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
This CPP code implements Kahn's Algorithm for topological sorting
Checklist

[YES] I've read the contribution guidelines.
[YES] I've checked the issue list before deciding what to submit.
[YES] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

Hi @Avash027
Please add an Issue associated with your PR. Thanks!

Thank for notifying. I have added the associated issue

The PR would be reviewed after the Coding Period of GSSoC starts. Thanks!

@Avash027
Break down your PR into two separate PRs. You can safely close this PR and make separate PRs.

Thanks. I will close this PR and make a new one


[Java] Fix archive instrumentation.

Fixed archive instrumentation in aeron-agent and added a test for it.

Thanks


Incompatible with vercel edge runtime

When using vercel edge runtime the package tries to import another package that is incompatible with nextjs edge runtime (vercel).
Can you use another package underneath?

related topic https://github.com/vercel/next.js/issues/41531


Fatal signal 11 (SIGSEGV)

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x68 in tid 28610 (om.busfro.uflyp), pid 28610
zxing-android-embedded
** nexus 6p are using for tasting this library abd show upper giver error and crash continues**

Please follow the issue template - all the info is needed for a bug report.


[ffmpeg] vaapi support

Is your feature request related to a problem? Please describe.
I need use vaapi to decode video in linux with intel cpu.
Proposed solution
add enable-vaapi in ffmpeg configure like cuda
if("nvcodec" IN_LIST FEATURES)
    #Note: the --enable-cuda option does not actually require the cuda sdk or toolset port dependency as ffmpeg uses runtime detection and dynamic loading
    set(OPTIONS "${OPTIONS} --enable-cuda --enable-nvenc --enable-nvdec --enable-cuvid --enable-ffnvcodec")
else()
    set(OPTIONS "${OPTIONS} --disable-cuda --disable-nvenc --disable-nvdec  --disable-cuvid --disable-ffnvcodec")
endif()

Describe alternatives you've considered
No response
Additional context
No response

@Hlongyu Sorry for the late reply, vcpkg does not support vappi at present. We need to wait for port vappi adding.


Create a new attribute for Pages property binding

We want to create a new attribute [BindProperty] which means that the property should be model bound.
We'll have an override via a property bool SupportsGet which enables binding of the properties for GET requests.
Placing the attribute on a class means that it applies to all public properties in the class. This has overriding behavior - the attribute on the property wins. There is no way to un-bind a property if you use the attribute at the class level.
This new attribute should go in the RazorPages namespace. Features like SupportsGet aren't relevant to controllers.
Examples:
public class Index : PageModel
{
    [BindProperty]
    public string CustomerName { get; set; } // This property is only bound for non-GET requests
}

public class Search : PageModel
{
    [BindProperty(SupportsGet = true)]
    public string Query { get; set; } // This property is bound for all requests
}

[BindProperty(SupportsGet = true)]
public class Search : PageModel
{
    public string Query { get; set; } // This property is bound for all requests

    public bool ImFeelingLucky { get; set; } // This property is bound for all requests
}

Open question here - should we support this attribute on controllers? Should we add support for SupportsGet to the controller binding plumbing?
If we do these things there's no issue with needing to hide this attribute, it can go in the root MVC namespace.

@danroth27 RE the putting this on Controllers question. I don't have an issue with it, given it seems so explicit, seems like we'd need a good reason not to support it.

seems like we'd need a good reason not to support it

I agree. One of our goals is not to introduce new pages only primitives.

For preview 1 we're adding this for Pages only and it will be in the .RazorPages namespace. We'll move it to the general MVC namespace in preview 2 and support it on controllers as well.

297196baa0d4a28a4f71d0b4bba2d5b942af6190


jsonpb: Allow rendering extension field names without square brackets

Is your feature request related to a problem? Please describe.
Names of extension fields are rendered enclosed in square brackets. When serializing JSON we don't wish these fields to appear any different from non-extension fields.
This behavior is located here
Describe the solution you'd like
I'd like to add a boolean configuration option to the Marshaler struct that will by default continue to emit extension field names in brackets, and if configured otherwise will emit the name without brackets.
Describe alternatives you've considered
Since I am dealing with an extension object on a third-party proto definition I don't believe I can just implement JSONPBMarshaler.
Additional context
If this is confirmed to be something people are open to I can put up a PR with this change

The protobuf JSON specification lacks a formal definition of how proto2 extensions are handled, but the convention throughout the protobuf ecosystem is to serialize them with brackets. Go is not unique in handling them this way and the goal of the project is to maintain compatibility with other languages.
The usage of brackets has semantic purpose since it is what enables the parser to distinguish between a normal field and an extension without them, otherwise there'd be ambiguity. For that reason they can not be dropped.

Thank you for the insight, @dsnet !


Naughty Cat on All Classes link YiiFramework API Docs

Hello i noticed the naughty Yii Cat messing with the Laptop when clicked on the All Classes link anywhere inside the API Documenation

As soon you click on the above link this cat is there

/move to yiisoft-contrib/yiiframework.com

/move to yiisoft-contrib/yiiframework.com


Define what is valid for a rotation scan

can rotation be zero or less than zero?
do we ever want to rotate another axis than omega?
does omega have to stay within limits or can it rotate forever?
what is the largest rotation we can or want to allow?

@npat113 @ndg63276 @DominicOram would love your input on these or related questions

I'm not sure on the other points but for do we ever want to rotate another axis than omega? I would suggest that we either write it in a completely generic way or we write it mindful that at some point we probably will want to make it generic

rotation can be negative ( i.e. 180 to 0). In fact this is something we may explore in future.
Yes (not generally on here, but elsewhere this is valid)
Omega can run forever on I03
Max rotation should be set by beamline staff, not software devs. Current implementation in GDA is a mess, claims values not allowed but collects fine. Combination of omega speed, rotation range and maximum number of images - diamond tends to fall over when we tick from 5 to 6 numbers of frames.

can rotation be zero or less than zero?

Yes, but I would want the NeXus file to invert the rotation axis and write +ve rotation values

do we ever want to rotate another axis than omega?

Yes: i19-1 do phi scans

does omega have to stay within limits or can it rotate forever?

Forever

what is the largest rotation we can or want to allow?

We have 1,000 frames / file and 6 digits for filename starting from 1, so that limits you to 999,999,000 frames. Since that would take 23 days to measure at 500 Hz and we only run 6 days / week I think we can call it "effectively imlimited"

Noted, thanks

Will need to think about max velocities, these should be able to be read from the PV

also acceleration, time to reach constant speed for rotation scan or translations for line scan. Bluesky might already handle this, but not sure.

Thanks for the input everyone, closing this now but feel free to add comments/reopen if something else comes to mind.


What are the end point URLs for each service and to the overall application?

I couldn't access Eureka, User, Task and Comments services from browser after starting the application. Can you please mention the end point URLs to access the application and each service?

You should be able to access the web ui from  http://localhost:8765/. The UI application makes use of other services.
The Eureka server is accessible on http://localhost:8761/


ui: intent of approved by column in promotions view is unclear (bug?)

#2089 added a new "Approved By" column to a Stage's Promotions view.

What was this meant to reflect? Approval of what? It has the appearance of showing who approved a Promotion, but short of a Promotion involving a pull request, Promotions don't have approvers.

It seems to be populated with a value (if one exists) from the kargo.akuity.io/create-actor annotation.
This is how that annotation is used:
https://github.com/akuity/kargo/blob/9aa396b898227ed56cca7be92c72e2425ef90324/api/v1alpha1/annotations.go#L6-L9
It appears to me that this column will actually show who created the Promotion. Was that, perhaps, the actual intent behind it and "Approved By" is merely a poor column heading?

@rbreeze you reviewed #2089. Do you have any insight into this?

@krancour I believe you are correct that the intent is to display who created it - I'll update the header


Update tsSRTSocket.cpp

Related issue (if any):

Affected components:

Brief description of the proposed changes:

Redundant with https://github.com/tsduck/tsduck/commit/fcbe87acbfe5c46d75d3cad34abfedd3b09ef053
Already updated (see commit comments).
Will close this PR.


%{key} not being substituted?

Hi,
I'm trying to query this api -https://home-assistant.io/developers/rest_api/
# curl -s -X GET -H "Content-Type: application/json" 'http://ha.ash.lan:8123/api/states/switch.block_facebook' | json_pp
{
   "attributes" : {
      "friendly_name" : "Block Facebook Domains"
   },
   "entity_id" : "switch.block_facebook",
   "state" : "on"
}

Since I need to look up the state for an entity_id I was thinking I should load
the entity_id raw and then process the hash in puppet.
---
:backends:
- yaml
- http

:hierarchy:
 - "hieradata/%{calling_class}"
  - hieradata/common

:yaml:
  :datadir: "/etc/puppet/environments/%{environment}"

:http:
  :host: ha.ash.lan
  :port: 8123
  :output: plain
  :cache_timeout: 20
  :paths:
  - "/api/states/%{key}"

And subsequent puppet.
$hash =  parse_json(hiera('switch.block_facebook'))

puppetmaster logs always contain:
Mar 15 20:56:43 puppet.ash.lan puppet-master[24746]: Undefined variable 'key';
Mar 15 20:56:43 puppet.ash.lan puppet-master[24746]: (file & line not available)

From the hiera command line everything is good:
# hiera -c /etc/puppet/hiera.yaml -d switch.block_facebook
DEBUG: 2017-03-15 21:01:25 +0000: Hiera YAML backend starting
DEBUG: 2017-03-15 21:01:25 +0000: Looking up switch.block_facebook in YAML backend
DEBUG: 2017-03-15 21:01:25 +0000: Looking for data source hieradata/common
DEBUG: 2017-03-15 21:01:25 +0000: Cannot find datafile /etc/puppet/environments/hieradata/common.yaml, skipping
DEBUG: 2017-03-15 21:01:25 +0000: [hiera-http]: Lookup switch.block_facebook from ha.ash.lan:8123/api/states/switch.block_facebook
DEBUG: 2017-03-15 21:01:25 +0000: [hiera-http]: Query returned data, parsing response as plain
{"attributes": {"friendly_name": "Block Facebook Domains"}, "entity_id": "switch.block_facebook", "last_changed": "2017-03-15T20:27:46.478535+00:00", "last_updated": "2017-03-15T20:27:46.478535+00:00", "state": "on"}

If I hardcode the %{key} value in the http paths then thing not working fails as below.
hiera command line still works.
puppet-master[26230]: value of hiera lookup_options must be a hash
puppet-master[26230]: value of hiera lookup_options must be a hash on node puppet.ash.lan

It does seem to just be the %{key} substitution that is not behaving itself.
If you have any suggestions , I've tried many close permutations of the above.

Hmmm this definately used to work - the code responsible for making sure %{key} is interpolated is here... https://github.com/crayfishx/hiera-http/blob/master/lib/hiera/backend/http_backend.rb#L59
Maybe there has been a change to the Backend.parse_string method - are you able to test this on an earlier version of Hiera?  (1.x)

It is hiera 1.3.4. it is a pretty new puppet at 4.8.2. I'll look at the code you mention.

All looking a bit with a hard coded key and failure on lookup_options.
lookup_options is looked up in http backend and that fails.
Thinking I actually need a much newer hiera to match puppet 4.8.
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: Performing a hiera indirector lookup of lookup_options with options {:variables=>Scope(Class[Role]), :merge=>#<Puppet::Pops::HashMergeStrategy:0x18c0948 @options_t=#<Puppet::Pops::Types::PStructType:0x18ba240 @elements=[#<Puppet::Pops::Types::PStructElement:0x18ba258 @key_type=#<Puppet::Pops::Types::POptionalType:0x18ba270 @type=#<Puppet::Pops::Types::PStringType:0x18ba2a0 @size_type=nil, @values=["strategy"]>>, @value_type=#<Puppet::Pops::Types::POptionalType:0x18ba360 @type=#<Puppet::Pops::Types::PPatternType:0x18ba390 @patterns=[#<Puppet::Pops::Types::PRegexpType:0x18ba438 @pattern="hash", @regexp=/hash/>]>>>]>, @options={}>}
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: hiera(): Hiera YAML backend starting
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: hiera(): Looking up lookup_options in YAML backend
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: hiera(): Looking for data source hieradata/role
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: hiera(): Looking for data source hieradata/common
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: hiera(): [hiera-http]: Lookup lookup_options from ha.ash.lan:8123/api/states/switch.block_facebook
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: hiera(): [hiera-http]: Query returned data, parsing response as plain
Mar 16 20:16:22 puppet.ash.lan puppet-master[8506]: value of role lookup_options must be a hash

@crayfishx This is also affecting the latest version. I've implemented a fix/workaround in #53

Fixed in 3.1.0 - thanks @fvoges


Support each syntax

fix #3

closing for now to keep the language simple, as lots of folks use this repo as a starting point for their own plugins. open to considering this in the future and reopening. really appreciate this idea.


Bump LLVM to 5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372

Bump LLVM to 5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372 and stableHlo to 83f095e7217c897f1eccac5652600ceb944cb0e0 to align with https://github.com/llvm/torch-mlir/pull/2598
The typed pointers seems to have been deprecated for good, so I removed stuff that was related to them. I might have missed some.
I also see some tests from krnl_to_llvm failing as if they could not lower some operators. I have really little experience with this area of the project, it would be great if someone could have a look at the issue with me.

Can one of the admins verify this patch?

@jenkins-droid test this please

(note it fails for Mac and Window too).

@jenkins-droid test this please

@flemairen6 On Linux Jenkins, I saw this kind of error when building onnx-mlir:
/workdir/onnx-mlir/src/Accelerators/NNPA/Transform/ZLow/ZLowRewrite.cpp:370:32: error: call to 'getPermutationMap' is ambiguous
        AffineMap permuteMap = AffineMap::getPermutationMap({0, 2, 3, 1}, ctx);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/llvm-project/mlir/include/mlir/IR/AffineMap.h:104:20: note: candidate function
  static AffineMap getPermutationMap(ArrayRef<unsigned> permutation,

Perhaps, you should fix it first.

Can one of the admins verify this patch?

@flemairen6 On Linux Jenkins, I saw this kind of error when building onnx-mlir:
/workdir/onnx-mlir/src/Accelerators/NNPA/Transform/ZLow/ZLowRewrite.cpp:370:32: error: call to 'getPermutationMap' is ambiguous
        AffineMap permuteMap = AffineMap::getPermutationMap({0, 2, 3, 1}, ctx);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/workdir/llvm-project/mlir/include/mlir/IR/AffineMap.h:104:20: note: candidate function
  static AffineMap getPermutationMap(ArrayRef<unsigned> permutation,

Perhaps, you should fix it first.

I was not able to reproduce this error in the docker, but I still "fixed" the issue I was seeing in the pipeline.
I also digged a little and tried to fix the tests for krnl-to-llvm (the ones I hadn't break myself)

@jenkins-droid test this please

@flemairen6 looking at a few test cases that are failing to give you a hand.

Because I did not want to push changes in your branch, I updated your PR with the latest of main, and then started to fix a few lit tests
Feel free to re-integrate my changes into yours, or work from mine, either way is fine
#2657

@flemairen6 , @AlexandreEichenberger I created PR #2658 to fix the remaining lit tests based your PRs

Thank you very much, should we close this PR then?

Yes, please, I will let you the author of the new PR when merging it since you did the most important part.

Closed in favor of https://github.com/onnx/onnx-mlir/pull/2658


Devicedb Cloud Logging

Hooked up devicedb cloud to logging so that we can now issue cloud
side updates to logging configurations.

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/77/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/78/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/79/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/80/


feat: add compose plugin

Working on new plugin that will automatically sort docker-compose files with sort of keys mentioned in their specification.
resolves #91

close due to inactive, please create a new one if you want to continue.


MediaPlayer in FrameServer mode - sometimes it sends VideoFrameAvailable events indefinitely on the same frame

Describe the bug
Using MediaPlayer with IsVideoFrameServerEnabled=true, it will sometimes send the VideoFrameAvailable indefinitely.
Every now and then, it comes back to normal (sending it one once, when it reaches a frame) - at this point, I can't figure out why this is happening.
Steps to reproduce the bug
You can use the example from https://github.com/microsoft/microsoft-ui-xaml/issues/2285 - and while just by running it, you'll see a lot of same play frame on the console.
To make this even clearer, you can modify test_video_frame_grabber_play() like this:
    private void test_video_frame_grabber_play() {
        var root_dir = get_root_directory();
        var grabber = new video_frame_grabber_play(root_dir + "transition2.mp4", 1500) {
            desired_size = new BitmapSize{ Width = 640, Height = 360 }
        };
	}

Expected behavior
I'm expecting, when MediaPlayer arrives at a frame, to send me a single VideoFrameAvailable event.

Windows 10 version
Saw the problem?

November 2019 Update (18363)
Yes

Device form factor
Saw the problem?

Desktop
Yes

The WinUI team doesn't author the MediaPlayer itself, just the MediaPlayerElement that ties MediaPlayer into a XAML element tree.  I've forwarded this feedback on to the other team at Microsoft that owns MediaPlayer.

Closing stale external bug. If you are still seeing this issue, please open a new issue in the Feedback Hub so that it may gather related logs/diagnostics.


Update doctors' availability

Add the time that they are available for booking

cool

i will assign you this issue


Time ID3, emsg, and metadata events to the presentation timeline

Have you read the FAQ and checked for duplicate open issues?
No
Is your feature request related to a problem? Please describe.

ID3, emsg, and metadata events are fired as soon as the metadata is parsed.  This can confuse ad SDKs and others interfacing to them.
Describe the solution you'd like

These events should be fired when we reach appropriate times in the presentation.
This could leverage TimelineRegion so that metadata events with a range of applicable times fire appropriately even when seeking.
Describe alternatives you've considered

Making everyone else cope with it so I can be lazy
Additional context

Internal discussion within Google at b/365662199
Are you planning send a PR to add it?
Yes, though the work hasn't been scheduled yet

Received this raw AAC ID3 stream from Alvaro for testing: https://cadena100-cope.flumotion.com/chunks.m3u8


Make UrlDevice a class

UrlDevice was an interface, the idea being that we wanted to encourage
users to implement this themselves to add extra data.  Instead, we
should have a class that allows users to add extra data to it.  A
follow up change will let user supply key/value pairs.

This was about as small as I could make it, sorry it's still so large.


Implement AWS Secrets Manager storage backend logic

Description

Start with a short research

Ideally, find a solution (e.g. Go library) which supports multiple credentials stores, not only AWS Secret Manager

e.g. https://github.com/external-secrets/kubernetes-external-secrets

Implement logic in Go according to the proposal (https://github.com/capactio/capact/blob/main/docs/proposal/20211207-delegated-storage.md#storage-backend-service-implementation)

Out of scope:
As the future follow-up work depends on the #626, the following points are out of scope:

If we keep existing Local Hub implementation in JS:  Expose as gRPC service (it will be done later if needed), prepare build pipeline, add K8s resources manifests
If we will rewrite Local Hub in Go: Build the logic inside Local Hub

Reason
See epic #604 for reason and use cases.

Considered solutions:

Dapr secrets (https://docs.dapr.io/developing-applications/building-blocks/secrets/secrets-overview/)

Another dependency for Capact
Unfortunately it allows only retrieving secrets https://docs.dapr.io/reference/api/secrets_api/

https://github.com/external-secrets/kubernetes-external-secrets

It depends on Kubernetes - there might be more lightweight, alternatives

https://github.com/SpectralOps/teller

While the main use case is to provide secrets for development environment, it has convienent Go API for multiple secret providers https://github.com/SpectralOps/teller/tree/master/pkg/providers
I'm going to investigate whether it will be really helpful for us to use the Go API


Missing header entries in Postman collection

Bug Report
Describe the Bug
Some requests inside the Postman collection are missing the required X-Api-Key header entry and therefore get a 401 Unauthorized response.
Expected Behavior
A 200 OK response.

Observed Behavior
A response with 401 Unauthorized on requests "Get Cached Catalogs", "Initiate Transfer" or "Get Transfer Process".

Steps to Reproduce
Steps to reproduce the behavior:

Execute the REST requests "Get Cached Catalogs", "Initiate Transfer" or "Get Transfer Process" from step 7) of the README.md

Context Information

Used version: EDC 0.10.0-SNAPSHOT

OS: Ubuntu using Bruno for REST requests

Detailed Description
Possible Implementation
The requests "Get Cached Catalogs", "Initiate Transfer" und "Get Transfer Process" don't have any headers at all. Adding the header X-Api-Key: password fixed the problem. The request "Initiate Negotiation" is missing the header Content-Type: application/json which would also be meaningful as the request body contains a JSON like the other requests, but is not strictly necessary.

I could provide a fix for the issue by opening a PR.

The "Authorization" configuration is done on collection level, which is was causes the X-API-Key header to be added to all requests. I saw that some requests also have the X-Api-Key header defined explicitly, which is incorrect, because it overrides the collection-level config.
I think authorization should be defined at collection level, not individually per request.
Similarly, the Content-Type header could be configured with a collection-level pre-request script.


Developer Tools is not in preview any longer

The screenshot still shows Developer Tools is in preview, however, it has already been GA, and the preview badge has been removed in Portal. Should update the screenshot to avoid confusion.

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

ID: 5430115a-6fb1-5bd6-14e1-448c146c843f
Version Independent ID: db8e8c2b-b784-4d8c-d073-71b88b647710
Content: Use VMware Tanzu Application Accelerator with the Azure Spring Apps Enterprise plan
Content Source: articles/spring-apps/how-to-use-accelerator.md
Service: spring-apps
GitHub Login: @KarlErickson
Microsoft Alias: caiqing

@Sneezry
Duplicate of #112052

Hi @SaibabaBalapur-MSFT please reopen this issue. It is for a different doc.
This issue is for Use VMware Tanzu Application Accelerator with the Azure Spring Apps Enterprise plan
While #112052 is for Use Application Live View with the Azure Spring Apps Enterprise plan

@Sneezry
Thanks for your feedback! We will investigate and update as appropriate.

@Sneezry this issues list is for customer feedback. Please use Azure DevOps to track required work internally. Thanks!


Git extension API gives repository remotes with aliases

From @ashb in https://github.com/microsoft/vscode-pull-request-github/issues/4551:
I have the following lines in my ~/.gitconfig:
[url "https://github.com/"]
  insteadOf = "github:"
  pushInsteadOf = "git@github.com:"
[url "git@github.com:"]
  insteadOf = "gh:"
  pushInsteadOf = "github:"
  pushInsteadOf = "git://github.com/"

(The effect is that I can do git clone github:user/public or git clone gh:user/private)
However I think the extension is getting confused about the gh: prefix and not reflecting my global git config.
For example, on such a private repo:
$ git config remote.origin.url
gh:user/private
$ git remote get-url origin
git@github.com:user/private

$ git remote show origin -n
* remote origin
  Fetch URL: git@github.com:user/private
  Push  URL: git@github.com:user/private

When using the git extension API to get information about a repo that's been set up like this, the repository's remote doesn't have a meaningful url:

I don't see a way to resolve this URL to something meaningful using the git extension API. I think ideally the git extension API would resolve the fetch and push URLs instead of using the aliases.

This irrevocably breaks any repo that was cloned with insteadOf. Even after I setting an upstream, vscode-pull-request-github was toast and kept trying to auth against my non-existent corporate repo


Copy track icon into language track repository

Right now all of the icons used for the language tracks (which can be seen at http://exercism.io/languages) are stored in the exercism/exercism.io repository in public/img/tracks/. It would make a lot more sense to keep these images along with all of the other language-specific stuff in each individual language track repository.
There's a pull request that is adding support for serving up the track icon from the x-api, which deals with language-specific stuff.
In order to support this change, each track will need to

create a directory named img/ at the root of this repository if it doesn't already exist, then
find the correct icon in https://github.com/exercism/exercism.io/tree/master/public/img/tracks, and
stick it in the img/ directory, and importantly
name the image icon.png

In other words, at the end of it you should have the following file:
./img/icon.png

See https://github.com/exercism/exercism.io/issues/2925 for more details.

Nice practice to learn git. Thanks!
Is everything right, or should I do something in a different way?

Nice git practice. Thanks!
I pushed two commits because I forgot to run configlet and update config.json. It is ok that way or should I make it again?

Nice! I would squash the two commits into one, since they really belong together.
http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request

Thanks!
Squashed and read to merge.


How to get the channel name of streamer and the length of channel is different.

Hi! I'm using pylsl tool to grab the EEG signal to do some realtime data processing and encountered some difficulties.
1, The device is a 128ch eeg device with 8 extra bipolar electrodes, but when i use inlet.pull_sample(), the length of the list is only 90.
2, I want to know how to get the channel name when I initialize the streamer so I can pick the right channel?
I am looking forward to your reply, which will be of great help to me, thank you! :)

What is the outlet that is sending the EEG data? Is it a custom application, an open source application, or does it come from a manufacturer-provided LSL integration?

Manufacturer-provided LSL integration, i turned it on in the software.

OK, well then you'll have to ask the manufacturer why there are only 90 channels in the stream.
As for finding the channel names, you need to parse the stream info which you get from the inlet.
Here's an example of how that can be done.
I'm closing this issue for tracking purposes because there's nothing to be done on our end to help. You may continue to ask questions here and I will be notified about them.

P.S., before you go too deep into creating your own real time processing framework, be sure to check out the already-existing BCI frameworks: NeuroPype, ezmsg, BRAND, OpenViBE, BCI2000, TimeFlux. I'm sure there's an MNE-based version too but I get a bit confused in the MNE ecosystem.


Add support for user defined overwrites

When tracking FOSS, we need to:
1.- Indicate which license we are using when the project is multi-license
2.- Be able to explain exceptions.
3.- Be able to indicate that a given project is only used internally.
Foss finder should look for a .foss file on the analyzing project, and if found, parse and use to overwrite or append information related to the open source dependencies.
I am open for suggestions for what file format to use, but .json is probably one good option (so file should probably be called .foss.json. The file content count then be something like:
{
    "overwrites": [
       {
          "project": "foo",
          "version": "2.1",
          "multiuse-license": "MIT"
       },
       {
          "project": "bar",
          "version": "2.1",
          "license": "GPL-2.0",
          "linkage": "Dynamic, we use it as an imported python module",
          "justification": "This is a 3rd party python package that is dynamically linked against in one of our python products.  We do not modify the 'chardet' source code and since we dynamically link against it, it does not infect the rest of our product."
       },
       {
          "project": "foobar",
          "version": "2.1",
          "usage": "internal"
       }
       ...
    ]
}

in the first example, we are simply specifying that for foo who has multiple licenses, we are using "MIT".
For the second, we are documenting a justification for why it is ok to use a GPL license.
For the third, I am just documenting that the project is only used for internal use
If "foo" or "bar" were not found, then foss-finder should report an error.
But we could also use this to add licenses that were not found by foss-finder but we know we are using. For that, we could also add an additional
{
    "overwrites": [],
    "additions": [
          {
               "project": "foobar",
               .... <whatever fields are needed>
          }
   ]

Ok, so we should definitely add new columns to the output csv file for this kind of usage. Maybe we should add a column for each possible field in .foss.json. So, based on your examples, the following columns would be added: multiuse-license, linkage, justification, usage. These columns would then be 'sparse', but I don't think it's a problem.
As I understand it, each object of the "overwrites" field should have at least the following attributes: "project" and "version". When a row of the csv corresponds to this project and version, the script fills the columns that are defined in .foss.json.
For instance (based on your first example), when NPM,foo,(BSD-2-Clause OR MIT OR Apache-2.0),2.1, is added, then the column multiuse-license gets filled with 'MIT'. But then, it doesn't overwrite anything (it just adds information) so I'm not sure I understood correctly.
The question would then be: should the additional columns be defined by the script or by the configuration .foss.json file? i.e. should we be able to define arbitrary columns in the .foss.json file? It seems it would make the file very flexible to add any kind of information. Then, it would make sense to have the user declare what the additional columns are at the beginning of the file, just like this:
{
    "columns": [
        "multiuse-license",
        "linkage",
        "justification",
        "usage",
    ],
    "overwrites": [
       {
          "project": "foo",
          "version": "2.1",
          "multiuse-license": "MIT"
       },
       ...
    ],
    "additions": [
        ...
    ]
}

(Or we could also parse the file a first time to find all the additional columns.)
As for the "additions" field, what I understand is: just add rows with these values. For instance, this object
{
    "project": "foobar",
    "registry": "NPM",
    "version": "4.2",
    "license": "MIT",
}

would add this row to the csv: NPM,foobar,MIT,4.2,.
Did I understand everything correctly? Let me know what you think about this.


Update from

[x] Do only one thing
[x] Non breaking API changes
[x] Tested

What did this pull request do?
To demonstrate that the changes in the following pull requests make sense:
https://github.com/go-gorm/sqlserver/pull/115, https://github.com/go-gorm/sqlite/pull/166, https://github.com/go-gorm/postgres/pull/213
Add a test to show that "update from" is possible without making changes to the code (by adding the clause.From manually).
This test will not work until the new versions of the dialectors are used. I don't know what flow you follow to make this update.
User Case Description
Add an EXISTS condition to an UPDATE in a simpler way:
UPDATE table_name_1
SET attribute = "value"
FROM table_name_2
WHERE table_name_2.table_1_id = table_name_1.id
This is equivalent to:
UPDATE table_name_1
SET attribute = "value"
WHERE EXISTS (select 1 FROM table_name_2 WHERE table_name_2.table_1_id = table_name_1.id)

Is it possible you can write some sample code how to translate this SQL sentence into GORM?

@haihanj As you can see in the added tests, the way is to add the From clause manually:
DB.Model(&User{}).Clauses(clause.From{Tables: []clause.Table{{Name: "accounts"}}}).Where("accounts.user_id = users.id AND accounts.number = ? AND accounts.deleted_at IS NULL", users[0].Account.Number).Update("name", "franco")
I hope this is helpful


IonCard

Check min-height and padding title when has icon actions. Add a case in stories with body.


Implementation guidance

Sorry for abusing the issues like this, but I'm interested in adapting this sample to use Android smartphones as macOS webcams, the app IP Webcam allows the device to stream a MJPEG stream of its camera via http://device_ip:port/video
Could you give me any pointers about what APIs to use to basically just open that stream and reuse it as the input for the plugin? Ideally with minimal input lag, I imagine that could be achieved by using a small buffer for the stream
Thanks in advance!

I haven't tried yet but maybe replacing here with kCMVideoCodecType_JPEG make it possible to send MJPEG as stream.
Then you could create samplebuffer with CMIOSampleBufferCreate from raw JPEG from IP webcam instead of CMIOSampleBufferCreateForImageBuffer.

Thanks for the help! I'll try from there


[Bug Report]  An error occurred when runs "make new" command

Element UI version
2.0.9
OS/Browsers version
win7
Vue version
2.5.2
Reproduction Link
https://jsfiddle.net/pj71jkyw/
Steps to reproduce
"make new xxxx"
What is Expected?
ok
What is actually happening?
e:\新建文件夹\element\build\bin\new.js:123
groups[groups.length - 1].list.push({
^
TypeError: Cannot read property 'length' of undefined
at Object.keys.forEach.lang (e:\新建文件夹\element\build\bin\new.js:123:16)
at Array.forEach (native)
at Object. (e:\新建文件夹\element\build\bin\new.js:121:28)
at Module._compile (module.js:566:14)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
----------------change this --------------
let groups = navConfigFile[lang][3].groups;
----->
let groups = navConfigFile[lang];
groups = groups[groups.length - 1].groups;

Fixed in https://github.com/ElemeFE/element/pull/9000


fix: remove resource request from step template

Signed-off-by: ankitm123<EMAIL_ADDRESS>

/approve

/retest


Umap feature analysis

Update umap feature analysis for ANOVA identified differential features

Feel free to add me as a reviewer to this pr @MikeLippincott


Bittrex fetchBalance() fails

Using a fresh API key pair:
const balance = await market.fetchBalance()

produces
bittrex https://bittrex.com/api/v1.1/account/getbalances?nonce=1501049737&apikey=[redacted] { method: 'GET',
  headers:
   { 'User-Agent': 'ccxt/1.1.83 (+https://github.com/kroitor/ccxt) Node.js/8.1.4 (JavaScript)',
     apisign: [redacted] },
  body: undefined }
(node:22773) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'length' of undefined
(node:22773) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Check if you forgot to load products prior to calling other methods. Here's a sample for testing:
"use strict";

let ccxt = require ('./ccxt')
let bittrex = ccxt.bittrex ({
	"apiKey": "60f38a5818934fc08308778f94d3d8c4",
	"secret": "9d294ddb5b944403b58e5298653720c1",
})

async function test () {
	// as stated in the manual, the next line of code is mandatory
	// load your products prior to all other calls, don't forget it
	await bittrex.loadProducts ()
	console.log (await bittrex.fetchBalance ())
}

test ()

Please report, if this solves your issue. Thanks!

This works. Odd that its required for Bittrex, but not Kraken. Thanks!

This works. Odd that its required for Bittrex, but not Kraken. Thanks!

Thanks for reporting! This is required for all markets, but may work without preloading products with some of them. The Manual clearly states, that you should load them prior to all other calls. Have a good day!

P.S. we will implement an auto-detection mechanism to preload products automatically, very soon, in one of the upcoming releases.

https://github.com/kroitor/ccxt/wiki/Manual#loading-products
The link is here for those who might encounter the same problem.

Is it true that
loadProducts( )

has been renamed to
loadMarkets( )

???
If so this is still not working.

"use strict";

require('babel-polyfill');

const ccxt = require ('ccxt');

(async function getBalances () {

  let bittrex = ccxt.bittrex ({
    'apikey' : 'foo',
    'apisecret' : 'bar'
  });

  let bittrexMarkets = await bittrex.loadMarkets ()

  try {

    let bittrexBalance = await bittrex.fetchBalance ()
    console.log('bittrexBalance', bittrexBalance);

  }
  catch(err) {

    console.log('bittrexBalance error__________________');
    console.log('err', err);

  }

}) ()

console error

bittrexBalance error__________________
err TypeError: Cannot read property 'sigBytes' of undefined
    at Object.init (/Users/Flavor/Documents/Projects/es6/node-seed/node_modules/crypto-js/hmac.js:53:21)
    at Object.HmacSHA512 (/Users/Flavor/Documents/Projects/es6/node-seed/node_modules/crypto-js/core.js:744:25)
    at Exchange.hmac (/Users/Flavor/Documents/Projects/es6/node-seed/node_modules/ccxt/ccxt.es5.js:16:603)
    at /Users/Flavor/Documents/Projects/es6/node-seed/node_modules/ccxt/ccxt.es5.js:60:7637
    at process._tickCallback (internal/process/next_tick.js:103:7)

Process finished with exit code 0

However, these all work fine :)
/**
 * Created by Flavor on 8/9/17.
 */
"use strict";

require('babel-polyfill');
require ('ansicolor').nice;

const ccxt      = require ('ccxt')
const asTable   = require ('as-table')
const log       = require ('ololog').configure ({ locate: false })
const _         = require('lodash')

(async function getBalances () {

  /** KRAKEN */
  let kraken = new ccxt.kraken ({
    'apiKey': 'foo',
    'secret': 'bar',
  })

  /** GDAX */
  let gdax = new ccxt.gdax  ({
    'apiKey': 'foo',
    'secret': 'bar',
    'password': 'balls', /** Required for gdax */
  })

  /** GEMINI */
  let gemini = new ccxt.gemini ({
    'apiKey': 'foo',
    'secret': 'bar',
  })

  /** BITFINEX */
  let bitfinex = new ccxt.bitfinex ({
    'apiKey': 'foo',
    'secret': 'bar',
  })

  try {

    // fetch balance
    let krakenBalance = await kraken.fetchBalance ()
    log (kraken.name.white, 'balance', krakenBalance)

    // fetch account balance from the exchange
    let gdaxBalance = await gdax.fetchBalance ()
    log (gdax.name.magenta, 'balance', gdaxBalance)

    // fetch balance
    let bitfinexBalance = await bitfinex.fetchBalance ()
    log (bitfinex.name.green, 'balance', bitfinexBalance)

    // fetch balance
    let geminiBalance = await gemini.fetchBalance ()
    log (gemini.name.blue, 'balance', geminiBalance)

  } catch (e) {

    if (e instanceof ccxt.DDoSProtection || e.message.includes ('ECONNRESET')) {
      log.bright.yellow ('[DDoS Protection] ' + e.message)
    } else if (e instanceof ccxt.RequestTimeout) {
      log.bright.yellow ('[Request Timeout] ' + e.message)
    } else if (e instanceof ccxt.AuthenticationError) {
      log.bright.yellow ('[Authentication Error] ' + e.message)
    } else if (e instanceof ccxt.ExchangeNotAvailable) {
      log.bright.yellow ('[Exchange Not Available Error] ' + e.message)
    } else if (e instanceof ccxt.ExchangeError) {
      log.bright.yellow ('[Exchange Error] ' + e.message)
    } else if (e instanceof ccxt.NetworkError) {
      log.bright.yellow ('[NetwBork Error] ' + e.message)
    } else {
      throw e;
    }
  }

}) ()

Awesome project BTW!

Is it true that loadProducts () has been renamed to loadMarkets () ?

Yes )
@flavioespinoza
In your first example, you named the credentials apikey and apisecret. Should be apiKey (uppercase K) and secret (without api). This one works:
"use strict";

let ccxt = require ('ccxt');

async function getBalances () {

  let bittrex = ccxt.bittrex ({
    'apiKey' : '60f38a5818934fc08308778f94d3d8c4',
    'secret' : '9d294ddb5b944403b58e5298653720c1',
    'nonce': function () { return this.milliseconds () },
  });

  let bittrexMarkets = await bittrex.loadMarkets ()

  try {

    let bittrexBalance = await bittrex.fetchBalance ()
    console.log('bittrexBalance', bittrexBalance);

  }
  catch(err) {

    console.log('bittrexBalance error__________________');
    console.log('err', err);

  }
}

getBalances ()

fetchBalance works for me.

@flavioespinoza does the above snipper solve your issue? )

Ugggg,  I'm an idiot!!! --- Thanks for getting back to me.
Again, Awesome project!

@flavioespinoza thx!
BTW, you don't have to loadMarkets () manually anymore, it is done automatically on your first call to fetchBalance (), so... It's all updated in the Manual ) If you have any questions, don't hesitate to ask, I know it can be frustrating sometimes, so we might help if you have difficulties )

@flavioespinoza I will add more readabable exceptions in cases if credentials are not set up right, and users will not have this problem anymore. Thanks for your feedback, it's very helpful!

Thanks, Igor!
BTW is there a way to refresh the order-book with the latest data. Like a
ticker?
On Fri, Aug 11, 2017 at 11:46 AM, Igor Kroitor<EMAIL_ADDRESS>wrote:

@flavioespinoza https://github.com/flavioespinoza I will add more
readabable exceptions in cases if credentials are not set up right, and
users will not have this problem anymore. Thanks for your feedback, it's
very helpful!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kroitor/ccxt/issues/57#issuecomment-321890391, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACHMAWU9DQVIq9WkBYocm9zrqapWDlkFks5sXKGhgaJpZM4OjemR
.

@flavioespinoza yep, you just fetch it again, and voila – you now have it refreshed ) If you mean streaming – it's not available yet, though we are working on it already. Will let you know when it's done. )

OMG i was gonna build an all exchange library, i cant believe someone made such an INSANE library, how long you been building this

@slidenerd it has been under active development for about a month up till now. It's all in our public commit history ;)

hello
i'm trying to access the balance on bittrex
i tried all the above but still having this error
Request header field apisign is not allowed by Access-Control-Allow-Headers in preflight response.

can anyone help plz

Hi, @koubeissy-ibrahim !
You should set a CORS proxy to avoid that issue:

Read more about it here:

https://github.com/ccxt-dev/ccxt/wiki
https://github.com/kroitor/ccxt/wiki/Install#cors-access-control-allow-origin
Issue #225

Quickfix:
When initializing bittrex, pass a CORS-proxy parameter to it, like so:
async function test () {

    let bittrex = new ccxt.bittrex ({

        'apiKey': 'YOUR_API_KEY',
        'secret': 'YOUR_SECRET',

        'proxy': 'https://cors-anywhere.herokuapp.com/', // mind the last slash!
        // or
        // 'proxy': 'https://crossorigin.me/', // mind the last slash!
    })

    console.log (await bittrex.fetchBalance ())
}

await test ()

thanks a lot
works like a charm

@koubeissy-ibrahim ok, but please note, that adding a proxy, is like putting and intermediary between you and the exchange, so instead of travelling directly back and forth, your data will have to move from you to your proxy, then to the exchange, then back to the proxy, and then to you. So it effectively doubles the round-trip time, lag and latency. If you have a time-critical application, like a large-scale trading operation, intermediaries are not desired. But if you just want to show recent prices or if you only trade with long timeframes and don't need to be very reactive – it's ok to use a proxy.

Yeh totally understand, for the time being all the functionalities of my app are read only and also I’ll be using the proxy for testing only


patches: next: Replace warning hiding patch with proper fix

The hack patch fails to apply as of next-20220302. Replace it with a
solution that can be accepted upstream.

Checks all passed. I am merging this without approval to try and keep the CI green for next-20220303. Please yell if there are objections after the fact!


Create a new release

The AUR (Arch Linux) package is based on versioned releases, so the changes made to improve installation, plus other changes made since v0.3, aren't available until a new release is made.

I have create new release, but i'm not the maintainer of AUR package. So, we will have to wait for the maintainer to update the AUR package.

Thank you.


Move .proto files into source tree

If we want the generated C++ from the .proto files to live in stan/proto (which would mirror the stan directory structure) then it looks like the .proto files need to live in a directory structure that mirrors the source structure. It seems like putting the .proto files in the place where the .pb.cc and .pb.h files will be generated solves this problem.
Closes #25

@sakrejda I'm going to merge this so I can build pystan-protostan. This really is a bugfix, I made a mistake of including "src/stan" (should be just "src") in the include paths in the Makefile so we never caught this problem.

Sounds good, I think that include was a kludge I added so things would
build where you put them... K
On Jan 8, 2016 8:07 AM, "Allen Riddell"<EMAIL_ADDRESS>wrote:

Merged #26 https://github.com/sakrejda/protostan/pull/26.
—
Reply to this email directly or view it on GitHub
https://github.com/sakrejda/protostan/pull/26#event-509385214.

Honestly I don't know where it's best to put the .proto files. It would
be great to find a small mature C++ project that's vaguely like Stan
that uses proto files heavily.
On 01/08, Krzysztof Sakrejda wrote:

Sounds good, I think that include was a kludge I added so things would
build where you put them... K
On Jan 8, 2016 8:07 AM, "Allen Riddell"<EMAIL_ADDRESS>wrote:

Merged #26 https://github.com/sakrejda/protostan/pull/26.
—
Reply to this email directly or view it on GitHub
https://github.com/sakrejda/protostan/pull/26#event-509385214.

Reply to this email directly or view it on GitHub:
https://github.com/sakrejda/protostan/pull/26#issuecomment-170007859


feat(Samples): move samples to package manager Samples~ directory

The Unity 2019.1 Package Manager allows for samples to be located in
a special Samples~ root directory which allows the samples to be
optionally included with the package at install time. As the Unity
Input System package requires at least 2019.1 then this functionality
can be used in this package.
The existing GenericXR sample has now been moved to this new
directory so it can be optionally added to the project if required.

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

npm package (@latest dist-tag)
v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Define all input as variables

Also add consistency for options: replace / with | in variable value option list

@SvenAelterman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@SvenAelterman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@roygara Done.

@SvenAelterman Great! It all looks good so I'll sign off.
And thanks for helping us improve the docs, we appreciate it! :)
#sign-off


Client-specific TrafficPolicy configuration support

(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)
Describe the feature request
TrafficPolicy can currently be configured in the DestinationRule and will take effect for all client sidecar. If some clients need to adjust the TrafficPolicy settings, such as ConnectionPoolSettings, how to support this feature?
There is a scenario where, for example, the default http1MaxPendingRequests is configured in the DestinationRule via ConnectionPoolSettings, and this default value is appropriate for most clients. But a small number of clients can tolerate more requests pending.
Describe alternatives you've considered
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

If you put the same DR in the client namespace, it should take precedence. or you can also use workloadSelector to scope further (only in newer Istioversion)

Thanks, I'll try it.

If you put the same DR in the client namespace, it should take precedence. or you can also use workloadSelector to scope further (only in newer Istioversion)

Thanks, I'll try it.

/close


Fixed a reference to BLS

What does this mean for the current master that doesn't have this fix?

What does this mean for the current master that doesn't have this fix?

Yes, but this is only for the bench mark binary, which is not released during builds, so current release is fine.


e2e: Allow testing custom cni and dp image

Let run-e2e-conformance-virtual-ocp.sh and
run-e2e-conformance-virtual-cluster.sh deploy clusters with specific SRIOV CNI and Device Plugin images. This will enable other projects to have full end-to-end test CI with the operator's suite.
Ref:

https://github.com/k8snetworkplumbingwg/sriov-cni/pull/282

cc @adrianchiris @e0ne

/hold
need to be tested with

https://github.com/k8snetworkplumbingwg/sriov-cni/pull/282

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.06%) to 24.955%

Files with Coverage Reduction
New Missed Lines
%

controllers/sriovnetwork_controller.go
2
69.77%

api/v1/helper.go
3
41.45%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
2216

Relevant Lines:
8880

💛  - Coveralls

This is now ready for review, it worked against sriov-cni wip PR:

https://github.com/k8snetworkplumbingwg/sriov-cni/pull/282

Two approvals gathered.
Rebasing to verify e2e tests are ok.

All CI checks green. Merging


No test artifacts built

Hi,
thanks for the rr-wrapper! This is very convenient :)
Unfortunately I get an error when trying to run a test: Error: cargo-rr: No test artifacts built.
Steps to reproduce:
cargo new --lib bla
cd bla
cargo rr test it_works

Thanks! Fixed in the latest version published.


downport data_serializer

append |...| is not supported at 7.31
build_asx_node is just a reordering

is there an open issue for this in the abaplint repo?

is there an open issue for this in the abaplint repo?

Nope, created this one: https://github.com/abaplint/abaplint/issues/1657

Nope, created this one: https://github.com/abaplint/abaplint/issues/1657


Update make logic for Windows dll check

Submisison Checklist

[x] Run tests: ./runCmdStanTests.py src/test
[x] Declare copyright holder and open-source license: see below

Summary:
Resolves #1027 by changing the detection logic to be substring-based rather than strict equality
Intended Effect:
Make tbb check more robust on Windows
How to Verify:
Run on a windows machine with two copies of tbb.dll in the PATH
Side Effects: None
Documentation: No change
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Simons Foundation
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Checks seem to be failing due to ongoing GitHub problems: https://www.githubstatus.com/

This should be ready for review now. My original attempt was wrong by a character (ifneq vs ifeq)


Have not receive my UST

Tx Hash
: 2DF36C6928FF69AFEA0517A19548373082F934BC6491FE19A9D55172D6FEEFDEfilter_none
Network
: columbus-5
Block
: 6935343
Transaction fee
: 0.013852 UST
Tax
: 0.000000 UST
Gas (Used/Requested)
63,619/92,344
Memo: 0x4098460bBF00198e46Da9Dca59194971bb323525
Please help, I was transferring $327 UST.
Thank you

I was transferring from Terra to Harmony. On the memo has my public address to receive my funds


nothing happens after server call (server side return is good)

Hi,
I try to use ajax typeahead with an ajax call.
Here's the code :
ajax: {                     url: "/myurl",                     triggerLength: 1,                     method: "post"                 }
I can catch the event on the server side (so the call is working), I return this (as a test) :
return "[{ id: 1, name: 'John'}, { id: 2, name: 'Alex'}, { id: 3, name: 'Terry'}]";
But nothing happens.
I try to use "preProcess" option, but the function is never call.
Any idea ?
Thanks

I had the same issue, but when I added 'displayField' the data now shows.


chrono's serde feature

First of all: thanks, I really like using your project!
I'm quite sure this is not a bug in whatfeatures, but I'm not entirely sure how this works:

chrono's docs say that if you want to use serde you need to enable the feature chrono = { version = "0.4", features = ["serde"] }
I ran cargo whatfeatures chrono and I don't see serde
chrono's Cargo.toml mentions the feature

Is this some sort of feature that is not being "exposed" and that's why whatfeatures can't pick it up? Or is there something it could do to pick that up? I'd be open to try a PR if you could point me in the right direction.

Its a known limitation (omission, technically), shortly I'll have a new version which'll handle those cases (and more).
The reason 'serde' doesn't show up is because its an optional dependency and not listed under a [features] section. Optional deps can be treated as features, but they aren't explicitly marked as such. serde is listed as a dep
Right now, the current version uses the crates.io api to get the feature data. Although I can handle the case of optional dependencies using this method, using the http API in this way is discouraged. So I've been (slowly) working on the next version which'll use the 'cargo metadata' aspect of cargo. This'll also allow using this subcommand on local crates.

I published a new version which redid how it gets the crate information. it should be version v0.7.1 (cargo install -f cargo-whatfeatures to override/update a previous installed one).
This will be the version that I'd recommend messing around with. The output can be improved a lot, this is just a quick transition from the old style.
I, think, 'optional' features at a top-level should be highlighted as features, but I'm not sure yet.

Wow, thanks for the detailed explanation and the quick turnaround. You're awesome! 👍

Implemented in the 576d74f11d17614cdbf7096bbf110afbadeef9e6


Vertical Stereo shows same eye.

Relate to #531
Scenario:
GVRVideoSceneObject video = new GVRVideoSceneObject(gvrContext, mesh, mPlayer, GVRVideoType.VERTICAL_STEREO);
Expected:
Using org.gearvrf:*:3.3.0

Actual:
Using org.gearvrf:*:4.0.0 or useLocalDependencies=true

@pnemonic78 The fix was merged. Planning to close in few days.


Investigate option : translate masked to+from NaN arrays in Iris

Accept:

existing Iris tests all work, with dask arrays for lazy cube data
a few tests may still be skipped, but essential ones have been adjusted to suit new data style

A 'faking' operation, which could be a useful stepping stone to a #2358 style "proper" reworking of Iris masking

Previous work looking into feasibility : https://github.com/SciTools/iris/pull/2323

This has now been implemented in #2365

We reverted this, and went with the dask masked array implementation in dask >= 0.16.


feat: export discovery functions for external use

Signed-off-by: Anthony Casagrande<EMAIL_ADDRESS>

@cloudxxx8 @weichou1229 Can you look at this PR and merge it? It is a requirement for some of the Discovery enhancements I have been looking at.


ValueError: 684830 exceeds max_map_len(32768)

Rasa NLU version: 0.13.8
Operating system (windows, osx, ...): Ubuntu
Content of model configuration file:
language: "en"

pipeline: spacy_sklearn

Issue:
This is the full stack trace below from trying to train
2018-12-03 06:45:39 INFO     rasa_nlu.utils.spacy_utils  - Trying to load spacy model with name 'en'
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.6/dist-packages/rasa_nlu/train.py", line 184, in
num_threads=cmdline_args.num_threads)
File "/usr/local/lib/python3.6/dist-packages/rasa_nlu/train.py", line 148, in do_train
trainer = Trainer(cfg, component_builder)
File "/usr/local/lib/python3.6/dist-packages/rasa_nlu/model.py", line 155, in init
self.pipeline = self._build_pipeline(cfg, component_builder)
File "/usr/local/lib/python3.6/dist-packages/rasa_nlu/model.py", line 166, in _build_pipeline
component_name, cfg)
File "/usr/local/lib/python3.6/dist-packages/rasa_nlu/components.py", line 441, in create_component
cfg)
File "/usr/local/lib/python3.6/dist-packages/rasa_nlu/registry.py", line 143, in create_component_by_name
return component_clz.create(config)
File "/usr/local/lib/python3.6/dist-packages/rasa_nlu/utils/spacy_utils.py", line 73, in create
nlp = spacy.load(spacy_model_name, parser=False)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/init.py", line 15, in load
return util.load_model(name, **overrides)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/util.py", line 112, in load_model
return load_model_from_link(name, **overrides)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/util.py", line 129, in load_model_from_link
return cls.load(**overrides)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/data/en/init.py", line 12, in load
return load_model_from_init_py(file, **overrides)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/util.py", line 173, in load_model_from_init_py
return load_model_from_path(data_path, meta, **overrides)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/util.py", line 156, in load_model_from_path
return nlp.from_disk(model_path)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/language.py", line 653, in from_disk
util.from_disk(path, deserializers, exclude)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/util.py", line 511, in from_disk
reader(path / key)
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/language.py", line 641, in
self.vocab.from_disk(p) and _fix_pretrained_vectors_name(self))),
File "vocab.pyx", line 380, in spacy.vocab.Vocab.from_disk
File "vectors.pyx", line 391, in spacy.vectors.Vectors.from_disk
File "/home/ampm/.local/lib/python3.6/site-packages/spacy/util.py", line 511, in from_disk
reader(path / key)
File "vectors.pyx", line 369, in spacy.vectors.Vectors.from_disk.load_key2row
File "vectors.pyx", line 370, in spacy.vectors.Vectors.from_disk.load_key2row
File "/home/ampm/.local/lib/python3.6/site-packages/msgpack_numpy.py", line 205, in unpack
return _unpack(stream, **kwargs)
File "/home/ampm/.local/lib/python3.6/site-packages/msgpack/init.py", line 57, in unpack
return unpackb(data, **kwargs)
File "/home/ampm/.local/lib/python3.6/site-packages/msgpack_numpy.py", line 214, in unpackb
return _unpackb(packed, **kwargs)
File "msgpack/_unpacker.pyx", line 187, in msgpack._cmsgpack.unpackb
ValueError: 684830 exceeds max_map_len(32768)

Workaround is to freeze msgpack at 0.5.6.

This fixed it for me python -m pip install "msgpack<0.6.0"

When building a docker image via Dockerfile, you can add below to the end of file.
RUN pip install --upgrade msgpack==0.5.6
Possibly, you are loadding the model with a different version of Rasa from which version you use for training the model.

Getting the below error after i downgraded the msgpack version to 0.5.6
Rasa NLU version: 0.12.3
msgpack-python==0.5.6
Operating system : Macos
Content of model configuration file:
language: "en"
pipeline: spacy_sklearn
Full stacktrace below:
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/training_data/training_data.py:194: UserWarning: Entity 'people' has only 1 training examples! minimum is 2, training may fail.
self.MIN_EXAMPLES_PER_ENTITY))
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/training_data/training_data.py:194: UserWarning: Entity 'price' has only 1 training examples! minimum is 2, training may fail.
self.MIN_EXAMPLES_PER_ENTITY))
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/utils/init.py:236: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return yaml.load(read_file(filename, "utf-8"))
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:521: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:522: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "nlu_model.py", line 21, in
train_nlu('./data/data.json', 'config_spacy.json', './models/nlu')
File "nlu_model.py", line 12, in train_nlu
trainer = Trainer(config.load(config_file), builder)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/model.py", line 149, in init
self.pipeline = self._build_pipeline(cfg, component_builder)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/model.py", line 160, in _build_pipeline
component_name, cfg)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/components.py", line 420, in create_component
cfg)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/registry.py", line 140, in create_component_by_name
return component_clz.create(config)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/rasa_nlu/utils/spacy_utils.py", line 73, in create
nlp = spacy.load(spacy_model_name, parser=False)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/init.py", line 15, in load
return util.load_model(name, **overrides)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/util.py", line 112, in load_model
return load_model_from_link(name, **overrides)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/util.py", line 129, in load_model_from_link
return cls.load(**overrides)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/data/en/init.py", line 12, in load
return load_model_from_init_py(file, **overrides)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/util.py", line 173, in load_model_from_init_py
return load_model_from_path(data_path, meta, **overrides)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/util.py", line 156, in load_model_from_path
return nlp.from_disk(model_path)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/language.py", line 653, in from_disk
util.from_disk(path, deserializers, exclude)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/util.py", line 511, in from_disk
reader(path / key)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/language.py", line 649, in
deserializers[name] = lambda p, proc=proc: proc.from_disk(p, vocab=False)
File "pipeline.pyx", line 643, in spacy.pipeline.Tagger.from_disk
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/spacy/util.py", line 511, in from_disk
reader(path / key)
File "pipeline.pyx", line 626, in spacy.pipeline.Tagger.from_disk.load_model
File "pipeline.pyx", line 627, in spacy.pipeline.Tagger.from_disk.load_model
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/thinc/neural/_classes/model.py", line 352, in from_bytes
copy_array(dest, param[b'value'])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/thinc/neural/util.py", line 48, in copy_array
dst[:] = src
ValueError: could not broadcast input array from shape (96) into shape (128)


Directory '/Users/kazuakiurayama/github/inspectus4katalon-gradle-plugin' does not contain a Gradle build

on 0.2.0, when I opend the inspectus4katalon-gradle-plugin project in IntelliJ IDEA, it showed a message
Directory '/Users/kazuakiurayama/github/inspectus4katalon-gradle-plugin' does not contain a Gradle build.

Yes, the project does not have build.gradle and settings.gradle file in the project root directory.
The subdirectory development contains those Gradle related files.
Now I have a question.
I wanted the root directory inspectus4katalon-gradle-plugin to be just a container of the subdirectories development and application.
I thought I do not need to make this a multi-project in Gradle's term.
But do I have to do so? Do I need to make it a multi-project?
If so, how can I make it.

superceded to #20


API: Add preset info as part of machine client

Using this patch, status api should now return the preset info
as part of starting/stopping/deleting state.
{
  CrcStatus: 'Stopping',
  OpenshiftStatus: 'Stopping',
  OpenshiftVersion: '',
  PodmanVersion: '',
  DiskUse: 0,
  DiskSize: 0,
  Error: '',
  Success: true,
  Preset: 'Openshift'
}

fixes: #2905

Preset: 'Openshift'

presets are case-insensitive, right?

Preset: 'Openshift'

presets are case-insensitive, right?

@gbraad it's in lower case.

Works as expected:

Note: the NaN% for division by zero is now obvious ;-)


Quieter console reporting for Gauge

Current behavior
The default console report output for e.g.
For example
> gauge init js_simple
> gauge run specs
# Specification Heading
  ## Vowel counts in single word	 ✔ ✔
  ## Vowel counts in multiple word	 ✔ ✔

Successfully generated html-report to => index.html
Specifications:	1 executed	1 passed	0 failed	0 skipped
Scenarios:	2 executed	2 passed	0 failed	0 skipped

is too verbose and difficult to use especially when run in a CI_CD server. When a test suite grows there is a lot of information of text to skim for information.
Solution 1
Add a --quiet flag to report only failures
> gauge init js_simple
> gauge run specs --quiet

# Specification Heading
  ## Vowel counts in single word	 ✔ ✘
        Failed Step: The word "gauge" has "3" vowels.
        Specification: specs/example.spec:16
        Error Message: AssertionError [ERR_ASSERTION]: 4 == 3
        Stacktrace:
        AssertionError [ERR_ASSERTION]: 4 == 3
            at Object.<anonymous> (tests/step_implementation.js:23:10)

Successfully generated html-report to => /Users/zabilcm/Projects/vowels/reports/html-report/index.html
Specifications:	1 executed	0 passed	1 failed	0 skipped
Scenarios:	2 executed	1 passed	1 failed	0 skipped

Solution 2
Add a dot reporter to easily identify the number of scenarios as a test runs
> gauge init js_simple
> gauge run specs --dot

.,!

# Specification Heading
  ## Vowel counts in single word	 ✔ ✘
        Failed Step: The word "gauge" has "3" vowels.
        Specification: specs/example.spec:16
        Error Message: AssertionError [ERR_ASSERTION]: 4 == 3
        Stacktrace:
        AssertionError [ERR_ASSERTION]: 4 == 3
            at Object.<anonymous> (tests/step_implementation.js:23:10)

Successfully generated html-report to => /Users/zabilcm/Projects/vowels/reports/html-report/index.html
Specifications:	1 executed	0 passed	1 failed	0 skipped
Scenarios:	2 executed	1 passed	1 failed	1 skipped

. - Passing scenario
, - Skipped scenario
! - Failing scenario

Closing this to focus on other higher priority items.


remove duplicate accounts in chain-spec.

as reported by https://github.com/paritytech/substrate/issues/7713, almost insubstantial.

I think it is reasonable for one to argue that balances does not care about this and in case of duplicate just overrides the previous value, but I can do as you recommend.

I also prefer having balance to care about overrides than having some check node/cli

I don't see any reason why someone should add an account twice, when not done by accident.
Ty for fixing this.

bot merge

You can force merge this to avoid having to rebuild everything

Not sure what the CI complain is about tbh.

bot force merge

bot merge force

bot merge

bot merge


Code Action: Improve get / set accessors generation based on field visibility & existing prefix

Hi Josh,
I would like to propose a small improvement for the generation of get / set accessors.
When I generate them for:
private var _myNumber:Number = 0;

I end up with an extra _ and the generated methods have a private scope:
private var __myNumber:Number = 0;

private function get _myNumber():Number
{
	return __myNumber;
}

private function set _myNumber(value:Number):void
{
	__myNumber = value;
}

But I'm actually expecting this result (as FlashDevelop does):
private var _myNumber:Number = 0;

public function get myNumber():Number
{
	return _myNumber;
}

public function set myNumber(value:Number):void
{
	_myNumber = value;
}

Could you detect if an _ is already present and don't add an extra one if then? Or add one only if the field is public.
Could you make the accessors public by default or add another action like: Generate public 'get' and 'set' accessors?

Thanks in advance,
Aurélien

You need to make the variable public. It keeps the same visibility as the original variable.
public var myNumber:Number = 0;

Thanks @joshtynjala! I'm looking forward to try & use it :)

Well done 👌 Thanks!


Fixed showing unknown info from UI issue #628 #651 Corrected requested code changes as well

Fixed showing unknown info from UI #628 #651
Changes:
fixed the issue in 3 views,

organizer_detail_layout.xml which shows organizer details
about_event_details.xml which shows event details
bottomsheet_attendee_check_in.xml which popup from bottom when an attendee is selected

Screenshots for the change:
Here is a screenshot before the fix

Here are the screenshots after fix

closing this pull requset as the older one is still there


New Build To Add To Your List

I'd recommend adding Mitzsch's mpv build to your list. This one incorporates a Dolby TrueHD update that fixes Atmos dropouts while bitstreaming.
https://github.com/mitzsch/mpv-winbuild/releases

I've added it, thanks.


Less syntax

Loop uses () to determine if you mean basic loop or array foreach style loop.
match doesn't use () as you must provide it an expression.
This is a bit confusing and results in stumbling when coding.
loop for each style doesn't need the (), if the following token isn't a { then it is a foreach style loop or it is invalid.
Document sample syntax for all our constructs and make them less cumbersome where possible, but mostly uniform in appearance.

Another case here is the inline dynamic and map creation. Using a : this is. It used anywhere else. = Would make it standard with regular assignment. Yes it means your. It doing chain assignments in the inline creation but would it be worth it, maybe.


Add ka.auth.openshift.decision and ka.auth.openshift.username as fiel…

…ds to allow processing of events in openshift clusters regarding authentication

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

/area registry

/area build

/area documentation

What this PR does / why we need it:
Allows handling of additaional annotations present on openshift clusters
Which issue(s) this PR fixes:

Fixes #488
Special notes for your reviewer:

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

a9d234e Add ka.auth.openshift.decision and ka.auth.openshift.username as fields to allow processing of events in openshift clusters regarding authentication

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Welcome @nenioscio! It looks like this is your first PR to falcosecurity/plugins 🎉

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: nenioscio
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign

LGTM label has been added.  Git tree hash: 4ce7857087b214bd6cef23645da00707664a3d95

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, nenioscio
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Amazon Games Library imports games without a name

Describe the bug
Amazon Games Library imports games without a name. This only affects new installs because older ones will have already imported the games with names correctly.
Some findings:

This issue is caused by the Amazon API used to obtain entitlements items product.title not being included in the response of certain games, therefore being null  on import. https://github.com/JosefNemec/PlayniteExtensions/blob/cd4ae8f1f7fe53ea6fd983a606ed58895db68929/source/Libraries/AmazonGamesLibrary/AmazonGamesLibrary.cs#L163-L169

The affected games are the older ones that use a Guid for their product.id, e.g. e3bc3283-5464-4946-80b8-8ac1401f7b16, 790f3b07-fc9c-4efe-bb66-32bd348a9d23, fe19ef5f-a1e0-4caf-96b4-590b2c022b15.

Newer titles that have the amzn1.adg.product prefix are not affected, e.g. amzn1.adg.product.1e783728-3de2-4114-ae25-2e4dc850d9ff. Their titles are correctly available in the response.

if I'm not wrong, the affected games were the ones given away from the twitch era, before the service was converted to Prime Gaming. This may indicate some conflict on their side that may or may not be resolved.

Updating the current request to updated values doesn't fix it, for example, adding missing parameters in the request or updating the UserAgent

Considering this, these are the options:

Wait and see if Amazon fixes this on their end
Look for a new API endpoint if there is one that gets the game data

To Reproduce

Update your library on a fresh install

Considering that this will affect a lot of people as seen on reddit, if there is no quick solution, as a temporary measure I may suggest using the sku cleaned up for the name.
public List<GameMetadata> GetLibraryGames()
{
    var games = new List<GameMetadata>();
    var client = new AmazonAccountClient(this);
    var entitlements = client.GetAccountEntitlements().GetAwaiter().GetResult();
    const string gameSuffix = "_game";
    const string gamePreffix = "CDG ";
    foreach (var item in entitlements)
    {
        if (item.product.productLine == "Twitch:FuelEntitlement")
        {
            continue;
        }

        var name = item.product.title;
        if (name.IsNullOrEmpty())
        {
            var newName = item.product.sku;
            if (newName.EndsWith(gameSuffix))
            {
                newName = newName.Remove(newName.LastIndexOf(gameSuffix));
            }

            if (newName.StartsWith(gamePreffix))
            {
                newName = newName.Substring(gamePreffix.Length -1);
            }

            name = newName.Replace("_", " ").ToTileCase();
        }

        var game = new GameMetadata()
        {
            Source = new MetadataNameProperty("Amazon"),
            GameId = item.product.id,
            Name = name.RemoveTrademarks(),
            Platforms = new HashSet<MetadataProperty> { new MetadataSpecProperty("pc_windows") }
        };

        games.Add(game);
    }

    return games;
}

This change makes most names correct and if if coupled with PR https://github.com/JosefNemec/PlayniteExtensions/pull/382, clicking install could help to know the correct name of the games that still have issues.

Not a fan of this workaround. Better check traffic from the plugin to see what new API endpoints they are now using.

I just checked and Amazon has fixed this issue in the response.

Closing issue.


Improvements to definitions of metrics.md

Summary
Few inaccuracies cleaned up, for instance NDCG is 0.00 to 1.00; was 0 to 100 previously and was changed in https://github.com/dotnet/machinelearning/pull/2697 (and discussed in https://github.com/dotnet/machinelearning/issues/2637). Expanded some guidelines, like when accuracy is non-useful.
Could still use an additional pass at some later point. Perhaps when we add in the missing definitions of ranking/clustering/etc metrics.
Also partially addresses: https://github.com/dotnet/machinelearning/issues/3671

Nice work, @justinormont!


Refine the label queries

The process of acquiring labels could be improved. Currently the first valid label in returned. I propose the following three step search:

Try to find a preferred label (like skos:prefLabel).
Try to find a label with the KB language.
Try to find any label.

@JanVana Can you please particularize what you propose? (on top of current approach?)

The current approach is to gather all the labels and then pick the first one.
What I am proposing is to create a simple algorithm, that would guess the best label from all the available labels.

OK, please propose the algo (in pseudocode or just couple of points) in grips first and put the link here. Decreasing prio.

But moving that to next iters

Solution: If there are multiple labels which satisfy the given constraint (e.g. language tag for the KB), then introduce a measure which selects the best candidate


Secret access key with /: invalid port ... after host

If there is a / character in the secret access key, the url parsing fails with an error like this:
General failure: parse<EMAIL_ADDRESS>invalid port ":B.../...A" after host
This can be worked around by double-urlencoding the secret access key in the sources file (apt seems to remove one layer of urlencoding).
However, the string does make it through to the transport binary (that error is coming from url.Parse) cleanly, so this could be handled entirely within the transport, such as by pre-processing the url before it is passed to url.Parse.

I'll take a look at this.


Pulse Effect

Description
Added code for a pulse effect made using simple CSS Animations.
Fixes #413
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Raise PR only after issue is assigned


docs - adding new widget

I guess conflict will occur here with my previous PR, I am not sure
Sir ,can you tell me what is conflict actually and how to solve it? 😅

Due to reason mentioned on PR review comment I am closing this PR.


HTML entities are limited

Hello @lee-dohm !
I stumbled upon your provider while looking for an autocomplete solution to help me author some text.
I would have liked for it to contain the entities found here.
It was very easy to modify the plugin code to add some that I needed and I thought that I may as well make a pull request to add them to the plugin repo. Would that be something you are interested in?
Cheers!

Yes, please feel free to submit a PR :grinning:


fix: Place strings properly on non-edges

Fixes Placeing strings on non-edges (Top/Bottom, Left/Right).
totalGap - split is actually the far side value (Right for horizontal, Bottom for vertical).
✅ Added tests to confirm behavior.

Before we get into this I just want to say that I absolutely love your handle.

Bump on this


Add SafeDebug trait derive macro

SafeDebug is really just a marker trait. The associated derive macro implements Debug in a way to reduce potentially leaking PII. Currently it just outputs the struct or enum name with the non-exhaustive finish e.g., MyModel { .. } but we will expand that later.
Relates to #1707

@JeffreyRichter @RickWinter this corresponds to the Rust guidelines I just merged upon Jeffrey's approval.


Autocomplete doesn't suggest any column names from identifier for wmi driver

Description
https://github.com/user-attachments/assets/a05f6074-9ab6-4905-8ec1-c7ff09a7a51f
DBeaver Version
Enterprise Edition 24.2.1-202409122322
Operating System
Windows 10
Database and driver
WMI
Steps to reproduce
No response
Additional context
No response

Thanks for reporting


Need to add calculation of sig_r_ua

Per Weixiong's instructions.

Also, add an property called 'sig_r' defined as:
sig_r[g]:=sig_t[g]-sig_s[g,g] per material.
Thanks


Does anyone know how canI fully remove the zsh???

I run theuninstall_oh_my_zsh but the terminal still in zsh ,and its no use to set chsh -s /bin/bash.Please help me!!!thx

Have you restarted the terminal? What platform are you using? What's the output of running the chsh command?


Async and queue

Can queue and async be used together in colly? I don't quite understand what queues are for.
other question, should i extract more categories from one site and i want to increase the speed, should i use more scrapers or change the number of parallels? I'm currently doing it like this:
var (
urls = []string{
"https://url/annunci-italia/vendita/telefonia/?ps=150",
"https://url/annunci-italia/vendita/informatica/?order=priceasc&ps=30",
"https://url/annunci-italia/vendita/fotografia/?order=priceasc&ps=30",
"https://url/annunci-italia/vendita/audio-video/?order=priceasc&ps=30",
"https://url/annunci-italia/vendita/videogiochi/?order=priceasc&ps=30",
"https://url/annunci-italia/vendita/arredamento-casalinghi/?order=priceasc&ps=50",
"https://url/annunci-italia/vendita/elettrodomestici/?order=priceasc&ps=50",
"https://url/annunci-italia/vendita/giardino-fai-da-te/?order=priceasc&ps=100",
}

)
func main() {
var wg sync.WaitGroup
for _, u := range urls {
wg.Add(1)
go Scraper.Crawler(true, u, &wg)
}
wg.Wait()
}
"Scraper Function":
`c := colly.NewCollector(
	colly.MaxDepth(30),
	colly.Async(true),
)
c.Limit(&colly.LimitRule{
	Parallelism: 100,
	RandomDelay: 6 * time.Second,
})
c.SetRequestTimeout(120 * time.Second)
c.WithTransport(&http.Transport{
	DisableKeepAlives: true,
})

c.OnHTML("a.SmallCard-module_link__9Ey4a.link", func(e *colly.HTMLElement) {

	l := e.Attr("href")

	if l != "" {
                 fmt.Println("Url", l)
	}

})

c.OnHTML(`a.index-module_link__PZ2VK.index-module_outline__2EfuB.index-module_medium__2lAkR.pagination_arrow-button__Y0iWq`, func(e *colly.HTMLElement) {

	e.Request.Visit(e.Attr("href"))

})

c.OnError(func(r *colly.Response, err error) {

		fmt.Println("Request URL:", r.Request.URL, "failed with response:", r, "\nError:", err)

})

c.Visit(url)
c.Wait()
 wg.Done()`

I can't tell if I'm doing it right, I'm not happy enough with the speed.
what do you advise me to do? I would like to make it performant and stable

Hi @billiboy, have you figured it out? care to share?
Happy New Year!

Don't use async mode with a queue, as it may cause your queue.Run to exit too early.
https://github.com/gocolly/colly/blob/bbf3f10c37205136e9d4f46fe8118205cc505a67/queue/queue.go#L150-L156
https://github.com/gocolly/colly/blob/bbf3f10c37205136e9d4f46fe8118205cc505a67/queue/queue.go#L179-L184
https://github.com/gocolly/colly/blob/bbf3f10c37205136e9d4f46fe8118205cc505a67/queue/queue.go#L190-L193
https://github.com/gocolly/colly/blob/bbf3f10c37205136e9d4f46fe8118205cc505a67/colly.go#L573-L577
Gotchas:

colly.Async(true) - no matter whether it is true or false, if you pass colly.Async(...) it will always set the async mode (this has been fixed in the master branch, but it has an impact on version 2.1.0).

https://github.com/gocolly/colly/blob/bbf3f10c37205136e9d4f46fe8118205cc505a67/colly.go#L368-L372


Two questions out here

1 First sorry for posting a lot ..I'm new to this
2 Can other players see my skins&stickers(etc) or only me?
3 I got this cooldown
Thanks

No, its clientsided

verify game files.

Close the issues once solved. And things that are not Osiris issues, should be opened in discussions section.


Admin console - assigning user roles

Currently roles are typed as comma separated array and you press enter to confirm. This should be changed to either a drop-down or a lookup for the roles to be in chip/pill/tag form. First a query needs to be created which finds all roles in the workspace

This is now a dropdown on the tabulator field.


Why not use ?

<button md-button></button>

It looks a little redundant.

You can use md-button on an anchor (e.g.)  That is a nice feature I guess.
That being said, I do like to know what the specific reason is.

@msegers
I think the reason may relate to that component can not replace itself with its content at Angular2.

Jup I believe I saw that as reason, but makes me wonder why that would be a
problem still.
On Tue, 2 Aug 2016 at 10:40 morning<EMAIL_ADDRESS>wrote:

@msegers https://github.com/msegers
I think the reason may relate to that component can not replace itself
with its content at Angular2.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/material2/issues/942#issuecomment-236841040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADp7bzro7xmsEVWmPIknNtIxNL1NJ3qEks5qbwJxgaJpZM4JaVlL
.

I found the reason at design documents.


Multiple terminals don't work correctly

Details

Browser and browser version: Chrome
OS version: Windows 7
xterm.js version: latest

Steps to reproduce
I use bootstrap tab to support multiple terminals in one page.
But the second terminal connects but cannot input anything.
The first terminal:

******   Welcome to the Cloud Lab   ******

root@ls2000:~#  口
The second terminal:

******   Welcome to the Cloud Lab   ******

口
Here's my code below:
function make_console_terminal(board_name) {
var term = new Terminal({
cols: 80,
rows: 26,
screenKeys: true
}),
url = 'ws://{{ bf_addr }}/ws?api_token=1111&board=' + board_name;
var socket = new WebSocket(url);
term.open(document.getElementById(board_name + '_container'));
term.on('data', function (data) {
socket.send(data);
});
socket.onmessage = function (e) {
	term.write(e.data);
};

return {
	terminal: term,
	socket: socket
}

}
var boards = ["LS1000", "LS2000"];;
var terminals = {};
for (var _index in boards) {
var board_name = boards[_index];
terminals[board_name] = make_console_terminal(board_name);
}

@jjuu can you put the code in the original issue into code blocks in order to be more readable?
In SourceLair we use xterm.js to create multiple terminals and everything works fine for us, so I am not sure what the problem might be here.
Can you dig a little bit deeper into that and let us know if the problem is in the socket or in input handling?


getting null vales

getting blan arrays in the data section i.e. http://horoscope-api.herokuapp.com/knowmore/libra

We're also seeing blank arrays for all paths. It was working fine till yesterday.


feat(core): generate index.ts file to export routes with required types

Additional

Fixed file edit url in docs

No problem @Julien-R44
Can you please just take a look at tests?

Looks perfect to me. Thanks a lot!