Removed Unwanted Comments

Please check the PR.
Thanks.

Hope that you have followed the contribution guidelines :-)
(Powered by GitMate.io)

@arpit3018  : squash your commits into a single one. Give it a relevant commit message. It will then be ready to merge ⚡

dq.sqlite3 should not be deleted

squash 3 commits into a single one

I am facing some issues while squashing. And db.sqlit3 is not deleted the chances includes me as a super user. It is been deleted. Would you please let me know about squash?

Didn't get the first part @arpit3018

In db.sqlite3 I added me as a super to remove this Change I have deleted that commit. And would You help me with squash coz I haven't done any yet?

That won't be a problem. Revert back the dq.sqlite3 file. For squashing look here

Hey. Due to some issues I am re-forking this repo and will regenerate the PR.


Updates for ULINUX build on Ubuntu.

Makefile - Add SHELL=/bin/bash.
This is required for debian/ubuntu and other distributions that default to /bin/sh.
@Microsoft/ostc-devs

For some reason, I didn't got notified of this change. I wonder if you can send to teams like that since you're not a member of the team. When you typed @Microsoft/ostc-devs did GitHub auto-complete for that? Perhaps it's better if you sent to individuals rather than teams that you don't have access to?
In any case, let's talk about your change a bit more. I'm not sure it belongs here in it's current form.
I'm also not 100% what other repos I should go looking at. On Monday, let's do this together. Other platforms (i.e. OMS) might be okay since that's a Linux-specific product.


[Bug]: No way to remove printed messages

Guidelines

[X] I agree to follow this project's Contributing Guidelines.

What happened?
When looping with our functions there are messages that get printed to the console e.g. with the match_spec function. It would be nice to be able to turn off those messages.
Expected behavior
A setting which allows turning on and off of printed messages would be helpful.

How are they in the way? I guess, people looping our functions are already quite experienced in R. They could always use suppressMessages() to mute them. Therefore, I wouldn't consider this high prio ...

Agreed that it's low priority.
On Tue, Dec 13, 2022, 1:48 PM Zacharias Steinmetz @.***>
wrote:

How are they in the way? I guess, people looping our functions are already
quite experienced in R. They could always use suppressMessages() to mute
them. Therefore, I wouldn't consider this high prio ...
—
Reply to this email directly, view it on GitHub
https://github.com/wincowgerDEV/OpenSpecy-package/issues/120#issuecomment-1348485036,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGMUJU6XFNUYB62T2FIET6LWNBV77ANCNFSM6AAAAAAR72XEFM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Navigation Schema

Should a library like react-router-dom be used, or should routing be handled by ID's in the URL? Or a different way?
If a single page, which types of sections and sections will there be, and should this list of ApiItems be virtualized to cut down on how much there is to render?

Since we'll want to change the url on scroll, we may want to use the html ID attribute and update the url accordingly, rather than implementing react-router-dom. But still want to do this efficiently, perhaps a virtualized render of all of the list items, or using react suspense.


add merge of additionalOptions object from the scope into modal instance options

Enable the setting of additional options to the modal instance.
These options should be property additionalOptions, of the scope, which gets merged into the default modal options object in the directive.
Without a change like this one, it is not possible to set modal options other than the default from the directive..

Set $scope.additionalOptions in the controller and these will become options for the modal
$scope.additionalOptions = {
        onShow: function() {
            console.log('scope options sent in scope.additionalOptions.onShow');
        },
        closable  : false,
        onDeny    : function(){
            console.log('Denied');
            return false;
        },
        onApprove : function() {
            alert('Approved!');
        }
    };


Ability to return superset of requested values from router.

If the user asks falcor for [ 'users', '123', 'avatar' ], my router calls GET /api/users/123 which returns avatar, username, and lots of other data, which is then discarded. If the user asks falcor for [ 'users', '123', 'username' ] a few seconds later, the router calls the endpoint again.
It would be nice if the router could return all that data to the client pre-emptively in the json graph, and have it find its way into the model cache (as long as it isn't brimming full). That way getting [ 'users', '123', 'avatar' ], waiting a few ticks, then getting [ 'users', '123', 'username' ] wouldn't cause the router to spam the REST api.
Is that possible? I think it would make it more feasible to wrap Falcor around legacy REST APIs.
(@nicovalencia)

@jhusain @michaelbpaulson Related to Falcor-Router pr-128

Its not related to https://github.com/Netflix/falcor-router/pull/128.  What you are asking for is a service layer.  One where when someone asks for a piece of data, the resource itself is cached.  This is not the concerned of the router.
A simple solution (though wont work in all items) is a falcor model!  I chose to use Rx because it makes things simple.  I hope you are familiar.
var serviceModel = new Model();
var getUser = require('getUser');
var router = new Router([{
... other handlers
}, {
    route: 'users[{integers:ids}]["username", "avatar"]',
    get: function getUser(aliasMap) {
        return Rx.Observable.
            from(aliasMap.ids).
            flatMap(function(id) {
                return toObservable(serviceModel.
                    get(['users', id])).
                    concat(getUser.bind(id)).
                    take(1);
            }).
            flatMap(function(user) {
                return Observable.
                    from(aliasMap[2]).
                    map(function(prop) {
                        return {path: ['user', user.id, prop], value: user[prop]};
                    });
            });
    }

Now this is a naive service layer implementation that will cache users.  Does this answer your question?

Thanks for the reply. I've actually already started using Falcor Models as caching layers on the server side and it's working fairly well so far! It's client-side caching I'm wondering about here. (Not browser caching, but the Falcor Model in browser JS memory) Using an HTTP datasource to talk to a server-side router, I do this:
// in the browser
model.get('users[1].username');

The HTTP datasource makes a network call to /model.json?paths=['users',1,'username']. But suppose the router returns even more:
// router sends this to browser
{
  users: {
    1: {
      username: 'foo', // <-- client only asked for this
      email<EMAIL_ADDRESS>      avatar: { $type: 'ref', value: ['media','2'] }
    }
  },
  media: {
    2: {
      src: 'http://media.example.com/foo.jpg'
    }
  },
}

In my experiments, that extra data isn't being cached in the Falcor Model. So if I get() that data immediately after it results in another network call to the server.

Correct.  Falcor will only transfer the data requested.  The big problem with allowing supersets to be transferred is we are just back to REST with the flaws we don't like, non controllable message sizing.  By having an efficient service layer you are only hitting middleware / load balancers.  At Netflix, which is obviously not true of others, that the aforementioned is ok.  If the case is that prop A and prop B are always requested, then request them both in one request.

Thanks for the reply. I do actually see the unrequested data being physically sent over the network, but yeah it doesn't get cached in the model afterward. I understand what you're saying; I was mainly coming the POV of easing the transition from REST to Falcor. Especially since sending extra data over the wire is opt-in. If you follow the given formulas, only requested data gets sent.

The primary reason why un-opted-in extra data is a bad idea is simply you wont know what data you are getting.  You could only need the title for 100 movies, but get the entire movie object for all 100 when only 1 to 2 actual entire movie objects are needed.  So, for Netflix, it has always been better to have fine grain control over what data is being requested.


fix(types): add clear to QueryResultBase

Adds type for clear() on QueryResultBase
closes #692

@all-contributors Please add @MarceloAlves for code

This should be added to the docs too

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@MichaelDeBoey Ah yes! Will open another PR for that 👍


Add a ->after() method to manipulate the response returned

The default response is a simple StdObject, this PR adds a overwritable ->after() method that can manipulate the response before returning it.

Just updated this to rename ->after() to ->parse() as it makes more sense.

@kevdotbadger thank you for the MR :)


Fix Paella Player 7 for single stream videos

Currently if we open the Paella Player 7 for an event that has only one track (careful: captions count as tracks!), we get an error "s.some is not a track". This was broken by the isLive check from #5420 and happens because a single track is not wrapped in an array when the episode is returned by the search service. This fixes that by doing that first. It won't win any awards for being pretty, but it works. ;)

Tested. It works. Thanks!


Web interface suggestion: Restrict image upload on filetype attribute instead of frustrating user AFTER they have uploaded.

Info

Which version of Pi are you using: Raspberry Pi 4 4GB Model B
Which github revision of software: 524f1c7
Which board version: 2.3 FULLSPEC
Which computer is the RaSCSI connected to: Quadra 700 and PowerMac 8500

Describe the issue
If you want to restrict the filetype of the images being uploaded, please use the accept attribute of input type = "file" so that file selection dialog boxes won't allow it.
Something along the lines of:
input type="file" accept=".iso,.hda" /
It is a bad UX to wait on an upload of an image and then get the womp-womp "sorry, not possible" note at the end.  Alternately, you could suggest to rename it as frequently .toast images can endure a simple suffix rename and be perfectly fine with mounting.

As of develop 62f6c8d rascsi is actually able to attach a broad range of image files, not restricted to iso or hda line endings.  For instance, img, cdr, or toast files are interpreted correctly and mounted as CD-ROM images now (if they are in a valid format otherwise.)
In general, I don't think it's a good idea to define a finite allow-list for file types for files that you use with RaSCSI, since it's deeply flexible at its core and potentially can be used with a with a broad range of media such as magneto-optical or zip disks for a dozen different computer platforms that support SCSI.

@kraptv This has been resolved in the latest develop code now. Please try again when you have the chance.


drawterm: enable strict deps and parallel builds

Description of changes
Turn on strictDeps and enableParallelBuilding. This ends up being quite a large speedup for building drawterm specifically.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

nix run github:Artturin/diffing -- --pr 242524 "drawterm" no significant diff


[Mac] Discrete graphics waken during usage

Just asking, do we really need to switch to discrete graphics when using img2latex? I'd prefer integrated graphics if possible, as it uses lower power and makes less fan noise.
P.S. I am using 2018 15 inch macbook pro

Will implement this proposal according to this post in next release. But not sure if the solution will work.

Will implement this proposal according to this post in next release. But not sure if the solution will work.

Sounds great! Thanks a lot!

Will implement this proposal according to this post in next release. But not sure if the solution will work.

Sounds great! Thanks a lot!

Hi, sorry for the late reply, I am quite busy with my job recently. The solution to fix this issue doesn't apply to this app as there is no plist.info in the project. As stated in the FQA section, the native self-contained executable application will be released after the GA release of Java 14 in 2020. At that time, I will try to fix this issue by this solution.

Hi, sorry for the late reply, I am quite busy with my job recently. The solution to fix this issue doesn't apply to this app as there is no plist.info in the project. As stated in the FQA section, the native self-contained executable application will be released after the GA release of Java 14 in 2020. At that time, I will try to fix this issue by this solution.

As of 0.3.1 release, macOS app bundle is provided. However, after testing with gfxCardStatus and above hypothetical solution, this issue will not be fixed. Set the NSSupportsAutomaticGraphicsSwitching=true does not work for this case. Hope that later Java versions can fix this issue.


Replace license with Apache 2.0 in cplex_conif.py

This was accidentally introduced with the addition of cplex_conif.py
(a new file from pull request #506).

Coverage remained the same at 79.644% when pulling 2b2b5cccf089e4792f39b67c62b25e1f1cfad605 on rkersh:fix_cplex_conif_lic into 51c6a3becf9456aab8be8798e9128a57219a756f on cvxgrp:master.


JS Debugger tries to run src file instead of build file

VSCode Version: 1.47.2-1
OS Version: Arch with kernel 5.7.8-arch1-1

So I have this project that uses Babel to transpile JS to JS and I'm getting the following
Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/home/inaba/Programming/Lewd/packages/main-site/src/index.js:1
import express from "express";

with the following launch.json
{
  "type": "node",
  "request": "launch",
  "name": "Launch Main App",
  "preLaunchTask": "npm: build",
  "program": "src/index.js",
  "sourceMaps": true,
  "outFiles": [
    "dist/**/*.js"
  ],
  "envFile": "${workspaceFolder}/../../.env",
  "runtimeArgs": [
    "--require=dotenv/config"
  ]
}

Which (I hope) can be reproduced by cloning this repo, going to packages/main-site, npm install and then running the debugger.
Now I'm not sure if it's a bug or I just misunderstood something, but I have asked on Reddit and Stackoverflow with little luck

It looks like your program is set to the source file
  "program": "src/index.js",

Did you mean to set this to dist/index.js?

Dude, conner, marry me!
So yeah I was under the impression I needed it to be assigned to src/index.js because as that's what is seen here (but with typescript). And I thought it would be the case too since pointing it to dist would mean debugging didn't work. But you're right, the sourcemap urls were borked!
And to the person from Google in 5 years what I needed to do was to add "--public-url ." to the build flags!


end2end tests fail for close trustline

1 ~/trustlines/clientlib (git)-[develop] % mocha --timeout 30000 --require isomorphic-fetch -r ts-node/register tests/e2e/Trustline.test.ts -g prepareClose
Random numbers will not be cryptographically secure

  e2e
    Trustline
      #prepareClose()
        ✓ should be possible to prepare a close in the correct direction. (116ms)
        1) should sign and relay prepared close transaction

  1 passing (14s)
  1 failing

  1) e2e
       Trustline
         #prepareClose()
           should sign and relay prepared close transaction:

      AssertionError: expected '-100' to equal '0'
      + expected - actual

      --100
      +0

      at Object.<anonymous> (tests/e2e/Trustline.test.ts:480:48)
      at step (tests/e2e/Trustline.test.ts:32:23)
      at Object.next (tests/e2e/Trustline.test.ts:13:53)
      at fulfilled (tests/e2e/Trustline.test.ts:4:58)
      at process._tickCallback (internal/process/next_tick.js:68:7)

that's fixed in d47d287a39cab7b264fdefc4248fd9c91886b1f6 (currently only part of PR #224)


AMD IPU activation causes TDP increase?

Today I updated the bios of my AyaNeo Kun computer with Ryzen 7 7840U and discovered a new AMD IPU device.
Since then, the minimum TDP of the console has increased significantly and even if the processor is doing nothing, it consumes 7-8 TDP, whereas before it was 1-3TDP.
Maybe the reason is that AMD IPU has been activated?
Comparison of processors with and without IPU.

Maybe these TDPs are used for a Trojan to spy on users?

@Dragomir-Ivanov you can find it. It says IPU and in device manager it's IPU too. And since its appearance, the minimum TDP has increased by 5-7 and the minimum temperature has increased by 2-5 degrees. The processor, even if it's not doing anything, is warming up around 50 degrees. It used to be 45.

Looks like I now have some backdoor in my CPU constantly running and consuming TDP.

@uday610 @gguasti  What will AMD say?

Running extra hardware circuitry at CPU increases cpus power consumption. Even if you are not running a calculation on it, if you are feeding power to that circuitry, it consumes power... It's perfectly normal.
For my guess, the real problem is here that there are no power save code deployed yet to shut down integrated NPU when not in use.

@EUA If that "power save code" isn't deployed, I wouldn't want to have an IPU right now. And we need official comments

@uday610 @gguasti After playing a game, my CPU does nothing, but consumes at least 8TDP and warms up at least 50 degrees. At the same time, the CPU is running at less than 2GHz and only 6 cores of 16 are working. Obviously this is some kind of problem with AMD IPU. This started after activating the IPU.
https://github.com/amd/RyzenAI-SW/assets/5380115/c4f9769e-bd1f-402d-8d26-6cf6533edbc6

have you tried going into device manager and disabling the IPU to see if it makes any difference? Device Manager -> System devices -> AMD IPU Device, then right click and "disable device".
Curious to see if that makes a difference for you, I haven't noticed any reduced battery life on my system (Flow X13).

@stisa Tried it. It doesn't help. I think they made 5TDP the minimum instead of 0TDP. That's why it's more TDP now. But that still doesn't explain why no one from AMD is commenting on this popular topic.


Pingometer shows downtime blips every night

Synchronized downtime on two separate systems suggests Pingometer artifacts. Ideas @pingometer?

@lippytak It looks like there were no events (confirmed downtime) that were synchronized for the monitors during this period. The only recent down event was on 5/23 for LEADER. This is associated with checks that fail, but not enough to meet the threshold to trigger an actual event. Both monitors use the same locations, hence a similar pattern on the chart.
We examined traceroutes from the check nodes to both monitors; there is a similar series of hops through NTT (*.us.bb.gin.ntt.net). If any of these hops have an issue (dropped packets, etc.), it impacts the checks for both monitors. But, with the sensitivity setting, we require multiple confirmed failures before triggering an alert so this is usually not a concern.
To fix this, we could implement a "double-check". If a monitor is up and a check fails (or vice-versa), it is immediately rechecked from another location before being recorded as failed. This means checks will have the same level of fidelity as events (which always require confirmation). The downside is uptime could be artificially high - minor blips that don't persist long enough to be confirmed by the re-check would never get factored into the uptime calculation. Thoughts?


Vickel: Watch +1(470)469-9769

Vickel requests the watch of the watch_number +1(470)469-9769. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by cigien in Charcoal HQ


Pass variables to replace tokens in query

This PR fixes #679. It comprises the following changes:

the patch in https://github.com/CartoDB/node-mapnik/pull/5/commits/5182b7168f3c460cf19b94d98e9cfb9f9a4512f2 cherry-picked on master
an end-to-end test for it
the dependency mapnik-vector-tile updated to current master commit (to be changed).

Some remarks:

As the change is built on https://github.com/mapbox/mapnik-vector-tile/pull/248 and takes advantage of the optional second argument of the vector tile processor constructor, updating to a newer version of mapnik-vector-tile is required, otherwise it will fail at build time. @springmeyer do you plan to release a 1.4.1 or 1.5.0 version anytime soon?
The test depends on having postgres+postgis installed. Otherwise it is skipped. I'd like to add it to CI builds, if possible.

Comments & suggestions welcomed.

Noticed this is failing currently due to unrelated regression to ndoe v0.10.x support. Please rebase from master once https://github.com/mapnik/node-mapnik/pull/810 is merged.

@springmeyer do you plan to release a 1.4.1 or 1.5.0 version anytime soon?

<EMAIL_ADDRESS>is now published.

The test depends on having postgres+postgis installed. Otherwise it is skipped. I'd like to add it to CI builds, if possible.

👍  And ideally on OSX as well as Travis. As you know postgres/postgis is a challenging install. I would prefer not to depend on third-party launchpad PPAs that change over time and may break unpredictably. For this reason I would prefer postgres/postgis is installed from mason, which I can update if needed to keep node-mapnik tests passing against different versions. Want to have a look at https://github.com/springmeyer/postgis-mason-install for an example of how to install this on travis? Or provide an alternative strategy?

I rebased from master, updated<EMAIL_ADDRESS>(thanks for the prompt release BTW), added the scripts to install postgis from mason and integrated them with travis build. Hope this is now ready to go. Thanks!

@rafatower thanks for putting together the testing quickly. Looks great. I am headed on vacation for a week, but I will plan to test this myself and merge when back.

I will plan to test this myself and merge when back.

Sorry I've not gotten to this. I've become too busy with other responsibitilies to dive into this code with the attention I feel is needed. This is a very cool feature, but needs testing to ensure it does not break anything in an unintended way. Is there anyone else reading this could provide:

a second set of eyes?
test the feature in their downstream application to ensure it works?
help ensure all the tests are passing on travis with this PR?

Going to merge this into master without testing further. This is a rare exception for me, but the change is primarily tests so this should be safe. Please ping here if any hits any problems due to this change and we'll investigate.


Verifying Python installer's GPG signature

I'm trying to use PSPGP to verify the signature of the Python installer, but I'm getting the following error:

Test-PGP -FilePathPublic $python_installer_win_public_key_path -FilePath $python_installer_pgp_signature_path WARNING: Test-PGP - Can't test file C:\Temp\python_test\python-3.10.5-amd64.exe.asc: Exception calling "VerifyFile" with "1" argument(s): "Object reference not set to an instance of an object."

It could be unrelated to PSPGP and due to something silly that I'm doing, since PS is not my native tongue - but I haven't been able to figure it out.

Here's the code that produces the error:
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name PSPGP

$download_directory = "C:\Temp\python_test"
$python_installer_url = "https://www.python.org/ftp/python/3.10.5/python-3.10.5-amd64.exe"
$python_installer_pgp_signature_url = "https://www.python.org/ftp/python/3.10.5/python-3.10.5-amd64.exe.asc"
$python_installer_win_public_key_url = "https://keybase.io/stevedower/pgp_keys.asc?fingerprint=7ed10b6531d7c8e1bc296021fc624643487034e5"

$python_installer_path = $download_directory + "\" + [System.IO.Path]::GetFileName($python_installer_url)
$python_installer_pgp_signature_path = $download_directory + "\" + [System.IO.Path]::GetFileName($python_installer_pgp_signature_url)
$python_installer_win_public_key_path = $download_directory + "\" + "python_pgp_public_key.asc"

If(!(test-path -PathType container $download_directory)) {
    New-Item -ItemType Directory -Path $download_directory | Out-Null
}

Invoke-WebRequest $python_installer_url -OutFile $python_installer_path
Invoke-WebRequest $python_installer_pgp_signature_url -OutFile $python_installer_pgp_signature_path
Invoke-WebRequest $python_installer_win_public_key_url -OutFile $python_installer_win_public_key_path

Test-PGP -FilePathPublic $python_installer_win_public_key_path -FilePath $python_installer_pgp_signature_path

I can get the desired result by gpg.exe, but I'd prefer not having to include a separate step to install GPG4Win in order to verify the signature.

Maybe the problem is that I'm trying to verify a detached signature (as described here) - and I'm not sure if PSPGP has the capabilities to handle these?
Anyway, do you have any suggestions for me? :)

Can you try newest version?

@PrzemyslawKlys, thank you for reaching out.
However, since the use case is no longer relevant to me, I'm not going to be able to verify whether the problem is fixed in the newest version or not.


[SPARK-40809] [CONNECT] [FOLLOW] Support alias() in Python client

What changes were proposed in this pull request?
This extends the implementation of column aliases in Spark Connect with supporting lists of column names and providing the appropriate implementation for the Python side.
Why are the changes needed?
Compatibility
Does this PR introduce any user-facing change?
No
How was this patch tested?
UT in Python and Scala

@amaliujia @cloud-fan @HyukjinKwon @hvanhovell

Can one of the admins verify this patch?

@HyukjinKwon can you review the python side?

Merged to master.


cannot playback widevine/playready drm link by web app on Tizen

Have you read the FAQ and checked for duplicate open issues?:
yes
What version of Shaka Player are you using?:
v2.5.0 COMPILED_DEBUG_JS
Can you reproduce the issue with our latest release version?:
yes
Can you reproduce the issue with the latest code from master?:
yes
Are you using the demo app or your own custom app?:
demo app
If custom app, can you reproduce the issue using our demo app?:
What browser and OS are you using?:
I make shaka player into  a web app on Tizen
What are the manifest and license server URIs?:

What did you do?
I select all the widevine/playready drm link in the default list, such as Tears of Steel (widevine), and click load button. no video or audio is output.
What did you expect to happen?
playback normally
What actually happened?
cannot playback, and no error happened.
Tears of Steel (clear) play well.

Tears of Steel (widevine) cannot play

I'm a bit confused. Your first image appears to show Tears of Steel playing. So, does it play?
Have you checked the debugger for any output to the console?

hi, chrisfillmore
thanks for your response.
the first image appears Tears of Steel (clear) playing well.
the second image appears Tears of Steel (widevine) cannot play.
there is nothing in the log output to console.
Shaka declare to support wedevine and playready on Tizen. does it include web app on Tizen ?

@kevinbol, I can see the same or similar issue on our 2017 Tizen TV.  I'm not sure what is causing it, but our automated playback tests for those assets fail inconsistently on our Tizen device.  I see MediaSource failures, so I expect either a bug in Tizen's media stack or some incompatibility between Tizen's decoders and the media content itself.  This is similar in spirit to #1610, but it's very difficult to debug these things.
If we can figure out the trigger, we may be able to produce a workaround.  But it might not be feasible, and we might have to rely on Samsung to fix the platform in some way.
I'll update this issue once we have something more concrete to go on.

It looks like the issue is not related with the codec or DRM key system.
Audio stream has negative PTS and DTS which affects buffering ranges and is not supported correctly on  2017 Tizen TVs.
Audio content dumped from Tears of Steel is attached: https://user-images.githubusercontent.com/60613759/143867759-8450c3c5-748a-4932-a17c-abbd78bd4048.mp4
Please check the results from ffprobe.
$ ffprobe -show_packets audio.mp4 | grep "dts\|pts" | head

pts=-2048
pts_time=-0.042667
dts=-2048
dts_time=-0.042667
pts=-1024
pts_time=-0.021333
dts=-1024
dts_time=-0.021333
pts=0
pts_time=0.000000

The only workaround for this issue is not to use content with negative PTS/DTS for legacy Tizen TVs.


MTA Deployment is not working

Description
We are trying to deploy MTA application but got an error :- com.sap.cloud.lm.sl.common.SLException: Error detecting deployed MTA: Controller operation failed: 400 Bad Request: CF-BadQueryParameter(10005): The query parameter is invalid: Unknown query parameter(s): 'label_selector'
Your environment

      MultiApps Controller version -  Built from master branch of MultiApp Controller date 3rd June

        which CF vendor is used - We have deployed open source cf in Azure.

        which backing services are used  - PostgreSQL

Steps to reproduce
Tell us how to reproduce this issue.
We are trying to deploy our first hello world MTA Application on our cf environment.
Additional information
Operation log is here in below link.
https://gist.github.com/rbhuva/75452b34e51980fed4df5bae33f9b0ca

Hello @rbhuva ,
As I can see, the issue is similar to this one https://cloudfoundry.slack.com/archives/C9V0Z8ZPF/p1590689601000300 . It looks like your CF Controller is too old and doesn't support CF metadata in v3 of controller. You have to update your CF Controller to the latest version of you want to use our latest version of Deploy Service.


implement own tabbar, proptypes fixes

fixes #385
fixes #364
Reviewers:
@blukai
@blukai maybe you could help me style this better?

Sure. 🦄 Can I push commits right here?

Yeah go ahead
On Nov 3, 2016 11:39 AM, "blukai"<EMAIL_ADDRESS>wrote:

Sure. 🦄 Can I push commits right here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/odota/ui/pull/396#issuecomment-258235873, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC_UOJUtdaKURsDlm9XvF9iiiDTpICtVks5q6ipkgaJpZM4KoVQf
.


error message for vectorization

everything is fine in the tutorial up to this step , creating embeddeding vectors
df_bills['ada_v2'] = df_bills["text"].apply(lambda x : get_embedding(x, engine = 'text-embedding-ada-002'))
Error message is the following

InvalidRequestError                       Traceback (most recent call last)
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\tenacity_init_.py:382, in Retrying.call(self, fn, *args, **kwargs)
381 try:
--> 382     result = fn(*args, **kwargs)
383 except BaseException:  # noqa: B902
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\embeddings_utils.py:23, in get_embedding(text, engine, **kwargs)
21 text = text.replace("\n", " ")
---> 23 return openai.Embedding.create(input=[text], engine=engine, **kwargs)["data"][0]["embedding"]
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\embedding.py:33, in Embedding.create(cls, *args, **kwargs)
32 try:
---> 33     response = super().create(*args, **kwargs)
35     # If a user specifies base64, we'll just return the encoded string.
36     # This is only for the default case.
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py:153, in EngineAPIResource.create(cls, api_key, api_base, api_type, request_id, api_version, organization, **params)
138 (
139     deployment_id,
140     engine,
(...)
150     api_key, api_base, api_type, api_version, organization, **params
151 )
--> 153 response, _, api_key = requestor.request(
154     "post",
155     url,
156     params=params,
157     headers=headers,
158     stream=stream,
159     request_id=request_id,
160     request_timeout=request_timeout,
161 )
163 if stream:
164     # must be an iterator
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py:298, in APIRequestor.request(self, method, url, params, headers, files, stream, request_id, request_timeout)
288 result = self.request_raw(
289     method.lower(),
290     url,
(...)
296     request_timeout=request_timeout,
297 )
--> 298 resp, got_stream = self._interpret_response(result, stream)
299 return resp, got_stream, self.api_key
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py:700, in APIRequestor._interpret_response(self, result, stream)
698 else:
699     return (
--> 700         self._interpret_response_line(
701             result.content.decode("utf-8"),
702             result.status_code,
703             result.headers,
704             stream=False,
705         ),
706         False,
707     )
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py:763, in APIRequestor._interpret_response_line(self, rbody, rcode, rheaders, stream)
762 if stream_error or not 200 <= rcode < 300:
--> 763     raise self.handle_error_response(
764         rbody, rcode, resp.data, rheaders, stream_error=stream_error
765     )
766 return resp
InvalidRequestError: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
The above exception was the direct cause of the following exception:
RetryError                                Traceback (most recent call last)
Cell In[55], line 1
----> 1 df_bills['ada_v2'] = df_bills["text"].apply(lambda x : get_embedding(x, engine = 'text-embedding-ada-002')) # engine should be set to the deployment name you chose when you deployed the text-embedding-ada-002 (Version 2) model
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\core\series.py:4630, in Series.apply(self, func, convert_dtype, args, **kwargs)
4520 def apply(
4521     self,
4522     func: AggFuncType,
(...)
4525     **kwargs,
4526 ) -> DataFrame | Series:
4527     """
4528     Invoke function on values of Series.
4529
(...)
4628     dtype: float64
4629     """
-> 4630     return SeriesApply(self, func, convert_dtype, args, kwargs).apply()
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\core\apply.py:1025, in SeriesApply.apply(self)
1022     return self.apply_str()
1024 # self.f is Callable
-> 1025 return self.apply_standard()
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\core\apply.py:1076, in SeriesApply.apply_standard(self)
1074     else:
1075         values = obj.astype(object)._values
-> 1076         mapped = lib.map_infer(
1077             values,
1078             f,
1079             convert=self.convert_dtype,
1080         )
1082 if len(mapped) and isinstance(mapped[0], ABCSeries):
1083     # GH#43986 Need to do list(mapped) in order to get treated as nested
1084     #  See also GH#25959 regarding EA support
1085     return obj._constructor_expanddim(list(mapped), index=obj.index)
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas_libs\lib.pyx:2834, in pandas._libs.lib.map_infer()
Cell In[55], line 1, in (x)
----> 1 df_bills['ada_v2'] = df_bills["text"].apply(lambda x : get_embedding(x, engine = 'text-embedding-ada-002')) # engine should be set to the deployment name you chose when you deployed the text-embedding-ada-002 (Version 2) model
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\tenacity_init_.py:289, in BaseRetrying.wraps..wrapped_f(*args, **kw)
287 @functools.wraps(f)
288 def wrapped_f(*args: t.Any, **kw: t.Any) -> t.Any:
--> 289     return self(f, *args, **kw)
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\tenacity_init_.py:379, in Retrying.call(self, fn, *args, **kwargs)
377 retry_state = RetryCallState(retry_object=self, fn=fn, args=args, kwargs=kwargs)
378 while True:
--> 379     do = self.iter(retry_state=retry_state)
380     if isinstance(do, DoAttempt):
381         try:
File ~\AppData\Local\Programs\Python\Python311\Lib\site-packages\tenacity_init_.py:326, in BaseRetrying.iter(self, retry_state)
324     if self.reraise:
325         raise retry_exc.reraise()
--> 326     raise retry_exc from fut.exception()
328 if self.wait:
329     sleep = self.wait(retry_state)
RetryError: RetryError[<Future at 0x23b85786fd0 state=finished raised InvalidRequestError>]

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

ID: 9c542f1c-f19a-5eea-9e98-1543a7352038
Version Independent ID: f190ef2f-fe21-7610-6893-a4d9149435ff
Content: Azure OpenAI Service embeddings tutorial - Azure OpenAI
Content Source: articles/cognitive-services/openai/tutorials/embeddings.md
Service: cognitive-services
Sub-service: openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@chmagitt typically I see this error if there is a mismatch between the deployment name and the underlying model name. This is unique to Azure OpenAI, if you are used to using OpenAI outside of Azure you won't have ever run into this issue.
This tutorial assumes that when you deployed the text-embedding-ada-002 model that you also named the deployment "text-embedding-ada-002"
However, if your deployment name doesn't match the model name then you would need to provide the associated deployment name.
For example if when I deployed the model I instead named my deployment: "ada-embeddings"

I would need to change any code that has engine = 'text-embedding-ada-002' to instead to say engine = 'ada-embeddings'
df_bills['ada_v2'] = df_bills["text"].apply(lambda x : get_embedding(x, engine = 'ada-embeddings'))

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

Thank you, it works by renaming the deployment name in my AI Studio.
Have a great day
From: Michael @.>
Sent: Friday, June 16, 2023 8:24 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Christophe Magitteri @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] error message for vectorization (Issue #111005)
@chmagitthttps://github.com/chmagitt typically I see this error if there is a mismatch between the deployment name and the underlying model name. This is unique to Azure OpenAI, if you are used to using OpenAI outside of Azure you won't have ever run into this issue.
This tutorial assumes that when you deployed the text-embedding-ada-002 model that you also named the deployment "text-embedding-ada-002"
However, if your deployment name doesn't match the model name then you would need to provide the associated deployment name.
For example if when I deployed the model I instead named my deployment: "ada-embeddings"
[image]https://user-images.githubusercontent.com/31510320/246497556-38ed8c22-2dc4-46f9-bb1d-bc29bd9360a3.png
I would need to change any code that has engine = 'text-embedding-ada-002' to instead to say engine = 'ada-embeddings'
df_bills['ada_v2'] = df_bills["text"].apply(lambda x : get_embedding(x, engine = 'ada-embeddings'))

Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/111005#issuecomment-1595111679, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGM3TGVBJKZHT7LGWJVCYXTXLSQDVANCNFSM6AAAAAAZJQ36RQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@mrbullwinkle
Thank you for response.

@chmagitt
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#please-close


Port ComputedBalanceController

We should port the existing computed balance controller to GABA.

computed balances controller isn't used in the extension, we switched to account-tracker and cached-balances-controller


OSSL_SIGNATURE_PARAM_ALGORITHM_ID insufficiently documented and hard to use by provider authors

When applications, including the OpenSSL apps, use the convenient function ASN1_item_sign{,_ex()} and friends for signing ASN.1 data, ASN1_item_sign_ctx() defined in crypto/asn1/a_sign.c is called, which may also be called directly.
These three functions have two parameters X509_ALGOR *algor1 and X509_ALGOR *algor2, which are just very vaguely documented as:

The ASN1_item_sign_ex() function will write the correct X509_ALGOR
to the structs based on the algorithms and parameters that have been set up. If one of
algor1 or algor2 points to the X509_ALGOR of the data to be signed, then that X509_ALGOR
will first be written before the signature is generated.

It remains unclear why two such arguments can be given. At first I thought this is because signing usually involves an asymmetric signature alg and a digest (hash) alg, but if both are present, they get combined in a single X509_ALGOR.
So I guess the reason is to cater for potential future hybrid signatures for post-quantum transition?
When a crypto provider with signature capabilities is involved, ASN1_item_sign_ctx() queries it and processes the result like this:
        params[0] =
            OSSL_PARAM_construct_octet_string(OSSL_SIGNATURE_PARAM_ALGORITHM_ID,
                                              aid, sizeof(aid));
        params[1] = OSSL_PARAM_construct_end();

        if (EVP_PKEY_CTX_get_params(pctx, params) <= 0)
            goto err;

        if ((aid_len = params[0].return_size) == 0) {
            ERR_raise(ERR_LIB_ASN1, ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED);
            goto err;
        }

        if (algor1 != NULL) {
            const unsigned char *pp = aid;

            if (d2i_X509_ALGOR(&algor1, &pp, aid_len) == NULL) {
                ERR_raise(ERR_LIB_ASN1, ERR_R_INTERNAL_ERROR);
                goto err;
            }
        }

        if (algor2 != NULL) {
            const unsigned char *pp = aid;

            if (d2i_X509_ALGOR(&algor2, &pp, aid_len) == NULL) {
                ERR_raise(ERR_LIB_ASN1, ERR_R_INTERNAL_ERROR);
                goto err;
            }
        }

There are multiple issues with this.

Provider authors need to be aware of the requirement to provide a response to the OSSL_SIGNATURE_PARAM_ALGORITHM_ID query when ASN1_item_sign_ex() is involved - this is not documented. provider-signatures.pod just says:

Gets the DER encoded AlgorithmIdentifier that corresponds to the combination of
signature algorithm and digest algorithm for the signature operation

This does not mention that potentially two such encodings can be given, which then need to be concatenated.

It is misleading that provider-signatures.pod says:

OSSL_FUNC_signature_set_ctx_params and OSSL_FUNC_signature_settable_ctx_params are optional,
but if one of them is present then the other one must also be present. The same applies to
OSSL_FUNC_signature_get_ctx_params and OSSL_FUNC_signature_gettable_ctx_params, as well as
the "md_params" functions. The OSSL_FUNC_signature_dupctx function is optional.

because at least when ASN1_item_sign_ex() is involved, OSSL_FUNC_signature_get_ctx_params and OSSL_FUNC_signature_gettable_ctx_params must be present - otherwise, more or less obscure/misleading errors are thrown (if at all) about algorithms not being supported.

Once a provider author has found out that (s)he has to implement those functions and the OSSL_SIGNATURE_PARAM_ALGORITHM_ID query, (s)he faces the challenge to produce that DER-encoded ASN.1 AlgorithmIdentifier, which can be painful. Some even hand-craft ASN.1 encodings (rather than using i2d_X509_ALGOR()) - here is a deterring example: the stretch https://github.com/latchset/pkcs11-provider/blob/main/src/signature.c#L204 to https://github.com/latchset/pkcs11-provider/blob/main/src/signature.c#L363 and some further code below there.
This ASN.1 encoding appears pretty needless because ASN1_item_sign_ctx() and the two other consumers within OpenSSL (all in crypto/) immediately parse and discard it. Yet it looks like there is a fundamental design decision/requirement that parameters need to be serialized in a universally parseable form - quoting from OSSL_PARAM.pod:

B<OSSL_PARAM> is a type that allows passing arbitrary data for some
object between two parties that have no or very little shared
knowledge about their respective internal structures for that object.

Solution options that I see:

Provide the providers of providers ;-) with a helper function that produces the wanted DER-encoded AlgorithmIdentifier ASN.1 structure from the signature and optional digest algorithm names. This could be done at least for the vast majority of use cases, possibly not supporting less common options (such as RSA-PKCS1-PSS).
Rather than asking the provider via OSSL_SIGNATURE_PARAM_ALGORITHM_ID to do so, change the consuming functions ASN1_item_sign_ctx() etc. to directly construct the wanted X509_ALGOR structure(s) itself from the chosen signature and (optional) digest algorithms, at least for the most common use cases.
rsa_item_sign() and rsa_cms_sign() already do so for the typical RSA-PKCS1 case.
ASN1_item_sign_ctx() does not, but can do as it already knows about these algorithms (and in case any other consuming functions do not, they could query the provider for the algorithm names, I suppose), at least for the most common RSA and EC cases.
Add an alternative parameter interface that does not use ASN.1, which could be queried as a fallback in case the provider does not give an answer to OSSL_SIGNATURE_PARAM_ALGORITHM_ID.
For instance, it could directly involve one or two pointers to X509_ALGOR structures - yet it looks like the OSSL_PARAM design does not allow this straightforward approach.

Some even hand-craft ASN.1 encodings

We do this too...well the code to do it is auto-generated. See the various code files here:
https://github.com/openssl/openssl/tree/master/providers/common/der
The reason being is that the i2d_X509_ALGOR() function is deliberately not available in the FIPS provider (none of the ASN.1 code is).
There isn't really a big problem with doing this, since the encodings are basically static for any given algorithm.

This does not mention that potentially two such encodings can be given, which then need to be concatenated.

I don't see any concatenation in the above code? It just looks to me like the aid buffer is processed from the beginning twice. Once for algor1 and once for algor2.

Oh, right - yet then what is the sense of parsing the same piece of ASN.1 encoding twice?
I'm pretty sure the result will not become any better for algor2 ;-)

This issue is just a specific instance of the pretty fundamental issue #22940.

Yes, algor1 and algor2 are output parameters, which is not immediately visible, and this is why I added a comment pointing this out, e.g., at https://github.com/openssl/openssl/blob/master/crypto/cmp/cmp_protect.c#L124

The best I can figure out is that it's completely up to the backend (engine) how those are actually used, the idea being, however, that one of them represents the pkey algo while the other represents the digets algo.

If so, ASN1_item_sign_ctx() does not implement this idea.

The reason for there being both algor1 and algor2 is just because an X.509 certificate has two copies of the signature algorithm, one inside the TBSCertificate and one outside. And then, even though they're required to match, OpenSSL's in-memory representation just preserves the fact that there are two of them. I guess someone, a long time ago, thought it'd be convenient to have the function output twice and that got carried over.

Meanwhile I've tried out several ways of adding to a given provider implementation some code implementing a response for OSSL_SIGNATURE_PARAM_ALGORITHM_ID, without spending many days of developing a solution from scratch, but all of them are complicated, partly ugly, and for the most part not working.

The horrible hand-coded ASN1.structure approach was at least not too hard to take over as a PoC, and it works.
Then I tried copying over rsa_generate_signature_aid() etc. from providers/implementations/signature/*sig.c but due to the use of many further internal functions and other definitions I had to give up on this.
Then I tried copying over tpm2_sig_scheme_to_x509_alg(), which is part of the tpm2-openssl provider. It was not too hard to make it compile, but for some reason it fails/crashes in my context.

So please, do provide a public default/helper implementation for OSSL_SIGNATURE_PARAM_ALGORITHM_ID, for instance as a wrapper combining the respective functions in providers/implementations/signature/*sig.c.
This issue really is also a feature request.


Update pipeline

@dcbroad3 does it need this step to auto-detect
* script: npm i chromedriver --detect_chromedriver_version
  displayName: 'Install chromedriver'

@derekendres In this case the Angular e2e command automatically installs the correct chrome webdriver. We used to explicitly tell it not to do that and explicitly installed a certain version. I'm not sure what the reason works, but at the moment, it looks like the built in auto-detect does the job.


[TIKI-90] custom podmonitor labels

test: support decoding CRDs from Helm charts
This commit adds support for arbitrary CRDs in the helm.TemplateChart
function, returning them as unstructured.Unstructured resources. This
way, we can at least do some checks against CRDs, and not just error out
on them.
feat: support separate podMonitor labels
This commit adds support for separate podMonitor labels, so that users
of the Helm chart can add arbitrary labels to their podMonitor.
test: additional labels for podMonitor
This commit adds a small test for the podMonitor in the Helm chart,
making sure that we can actually pass in some labels.
I added this test because working on the Helm chart I got it wrong at
first, and the test made it easier to be sure that it works...
The "downside" of this is that we now not test not creating the
podMonitor (that's probably not that bad) and not test not adding labels
(sorry for the many nots)...
I think with labels is the most complicated use-case, so probably the
thing worth testing, but I also tested no labels manually...

:tada: This PR is included in version 0.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Custom component is not a valid Carbon component

I'm trying to develop a new component in AutoComplete fork. It works fine in the docs project, but when I try to use it in examples  (ex: sapper) the following error is raised:
[carbon:optimizeImports] AutoComplete is not a valid Carbon component
[carbon:optimizeImports] AutoComplete is not a valid Carbon component
• server
src/routes/index.svelte
'AutoComplete' is not defined
4: </script>
5:
6: <AutoComplete
   ^
7:   titleText="Contact"
8:   selectedId="0"
• client
src/routes/index.svelte
'AutoComplete' is not defined
4: </script>
5:
6: <AutoComplete
   ^
7:   titleText="Contact"
8:   selectedId="0"

If I change the import as below it works properly.
<script>
  import { AutoComplete } from "carbon-components-svelte/src";
</script>

<AutoComplete
  titleText="Contact"
  selectedId="0"
  items="{[
    { id: '0', text: 'Slack' },
    { id: '11', text: 'Email1' },
    { id: '12', text: 'Email2' },
    { id: '2', text: 'Fax' },
  ]}"
/>

The compoenent has been added to index.js file.

The component index for optimizeImports from carbon-preprocess-svelte is generated ahead-of-time. The preprocessor won't pick up newly added components until it's rebuilt.
You can either:

remove the optimizeImports preprocessor
fork https://github.com/carbon-design-system/carbon-preprocess-svelte and generate the map for the components


detach will become a no-op.

https://dom.spec.whatwg.org/#dom-range-detach

Sorry for the late response. Fast forward almost a year: we actually can big time. Thanks for that.


No connection to Travis

Your project should be connected with Travis and your README file should have the badge that exhibits the passing/failure status

Done


Add lexbor as an alternative backend

Just wanted to say thank you for the 0.2.14 update :) I'm currently checking the code changed and looks nice! Do you think it is worth to change from css to select() instead?
Also I know im too fast... but will those new features be added into your documentation? :D
Once again, Thank you very much for the awesome update!

Do you think it is worth to change from css to select() instead?

It's better to use it only when you need extra features.

Also I know im too fast... but will those new features be added into your documentation?

I've added a few examples https://github.com/rushter/selectolax/blob/master/examples/walkthrough.ipynb
The API is also documented: https://selectolax.readthedocs.io/en/latest/parser.html#selector

@rushter, hi! Is XPath support planned for the future?

@rushter, hi! Is XPath support planned for the future?

I don't think so, because XPath is a pretty complex query language. It's basically a programming language.
If you need some of the features from XPath, let me know.  Some of them can be implemented using the new selector feature.

If you need some of the features from XPath, let me know. Some of them can be implemented using the new selector feature.

In new data extraction projects I decided to experimentally try to replace LXML module with your module, because I liked the performance. But it really lacked contains() analogue for text and had to do a separate filtering by text in the list of selected items. With select().text_contains() it definitely became more convenient, thank you very much!
Is there any way to do selection by the content of a certain text in the attributes? In XPath it looks something like this: //div[contains(@data-source, "img-big")] , //table/tr[not(contains(@class, "title"))]
And is there an analogue of normalize-space() for text nodes (normalize-space(//div[@class="offers-form"]/div/text()))? To end up with a single space between words, and to cut off the special line feed characters, tabs, etc. at both ends.

If you need some of the features from XPath, let me know. Some of them can be implemented using the new selector feature.

In new data extraction projects I decided to experimentally try to replace LXML module with your module, because I liked the performance. But it really lacked contains() analogue for text and had to do a separate filtering by text in the list of selected items. With select().text_contains() it definitely became more convenient, thank you very much!
Is there any way to do selection by the content of a certain text in the attributes? In XPath it looks something like this: //div[contains(@data-source, "img-big")] , //table/tr[not(contains(@class, "title"))]

Yes, you can do that. div[data-source*="img-big"] and table tr :not(.title) (not sure about the second one, but you can definitely do that).

And is there an analogue of normalize-space() for text nodes (normalize-space(//div[@class="offers-form"]/div/text()))? To end up with a single space between words, and to cut off the special line feed characters, tabs, etc. at both ends.

No

Yes, you can do that. div[data-source*="img-big"] and table tr :not(.title) or table :not(tr[class*="title"]) (not sure about the correctness of the second one, but you can definitely do that).

Great! Thank you so much!

I know this issue is closed, but maybe it's possible to use something like https://github.com/sissaschool/elementpath
They support the standard ElementTree library and the lxml.etree. If the API is compatible, it would be easy to add selectolax into elementpath.


When the size of a customChild changes, the extents of the pan/zoom are not updated

I expected this:
  setState(() {
    List<Size> size = [Size(960, 540), Size(541, 960)];
    Image image = new Image(image: AssetImage("assets/image$count.jpg"));
    photoview = PhotoView.customChild(
      child: image,
      childSize: size[count],
      minScale: PhotoViewComputedScale.covered
    );
  });

to behave like this:
    photoview = PhotoView(
      imageProvider: AssetImage("assets/image$count.jpg")
    );

(please ignore the hack of using the hardcoded sizes. I'm using CustomPaint widgets, I just wanted to give you an example with more standard children)
When switching from one image to the other, the extents of the pan/zoom are not updated, which means that I can drag the image outside of what's expected to be allowed by minScale.
It turns out that the logic in PhotoView.initState() is not called again when the child is updated, and therefore _childsize is not updated either.
I tried a very dirty hack by adding
        _childSize = widget.childSize;
in PhotoView._buildCustomChild and that somewhat fixed the issue, but the pan/zoom still has to be reset to the center and I haven't found out how to do that yet.
Anyway, I thought giving you the information above might help you enough to fix this properly. Gotta say this is a fantastic widget!

Quick follow-up on this one, since I just tried the new Controller class.
This works much better than before, but there's still a slight issue.
I have :
PhotoView.customChild(
  child: new CustomPaint(...),
  childSize: canvas.size,
  minScale: PhotoViewComputedScale.covered,
  initialScale: PhotoViewComputedScale.covered)

When change the size of the canvas, the PhotoView.customChild does scale to adapt to the new size, which is a dramatic improvement.
But that only works if I haven't panned or zoomed manually. If I have, then the widget does not adapt anymore when the child size changes. If I switch to a smaller child, then it's just displayed in the center of the widget and the minScale constraint is not respected anymore. Interestingly, as soon as I touch the Photoview widget, it applies the minScale again.
On a side note, I have tried to call Controller.reset() when I change the child, but it did not help. Neither did forcing values, neither for position not scale (even by setting scaleState to zooming). Besides, there's no way to set the scale to the covered or contained values, only double values are accepted, but maybe I'm missing something. In any case, I believe that since the resizing works when I don't pan/zoom, I don't have to use the controller at all for that.
Anyway, thanks for your work, it's greatly appreciated !

This might be related to the fact that the photo_view widget was used in a non-constrained parent (it was allowed to extend to infinity). I noticed other "odd" behaviors have been fixed since I set up those constraints. I don't think it's a bug in your widget anymore.


Fixed year in the footer to 2022

Fix to close issue #780
Changed year in the footer from 2021 to 2022

@zoghlami-khalil would be possible to open again? I think it was correct! :)


Add the explanation on how to add a Python action

Closes-Bug: #376

@ioana-blue Could you help @houshengbo to review this PR for the python docs?

We should mention if the action will be executed with python 2 or python 3.

A couple of comments:

See Philippe's comment above about sys
We should explain how the parameters are encapsulated in the dictionary received as parameter in the main function. We should include an example that shows this.

When you're done with the above comments, please rebase, squash and ping me.

@houshengbo Can you take a look at comment from @ioana-blue https://github.com/openwhisk/openwhisk/pull/494#issuecomment-223018182 when you have a chance?

@ioana-blue, and @csantanapr, it is not necessary to add the "import sys".
However, for the explaination how the parameters are encapsulated in the dictionary, I do not think there is too much about it. The beauty of Python is that we do not define the type for any parameters. We can simply name it and use it as the type we like. There can be no key, one key, multiple keys for a dict. We just take it by dict.get('key') or dict['key'] without any declaration. I can add this sort of explanation into the documents, but I do not expect there is more about the parameter encapsulation.

I think the level of parameter related exposition here matches the other language runtimes. I'm inclined to keep it that simple.

I know this was merged but I think we should address the new comments above. I didn't get a chance to review the recent additions before merging - sorry.

@rabbah that's OK nothing is written in stone :-)
Do you mind sending a PR with the required changes you would like to see?


Add missing #pragma once's in ReactCommon

Summary:
Changelog:
[Internal] -
Was writing some unit tests, accidentally included ImageProps.h twice (once directly and once transitively) and realized that we have a handful of files without #pragma once.
This fixes it for header files inside ReactCommon.
Differential Revision: D54258058

50c9a47f55000dbfbf5e8acafa749da2aff78cd5


Parsing TLC output when traces are of length 1

Fix for the issue #55

Will it work for the case that both

the initial state is a violation
it is run using -continue

are simultaneously true?

Will it work for the case that both

the initial state is a violation
it is run using -continue

are simultaneously true?

Thanks for that! Now it works (didn't before).

Overall, thanks for your review, @danwt, it is extremely helpful that you are catching corner cases and pushing for doing things properly . You managed to make this PR much better :)


CCP-637 - use html helpers from pwa-common

Pull Request Test Coverage Report for Build 804

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 37.259%

Totals

Change from base Build 799:
0.0%

Covered Lines:
1385

Relevant Lines:
3668

💛  - Coveralls


Handling Protobuf payload with ContentType handler

Hi,
I'm looking for a little advice, perhaps what I'd like to do isn't possible in the current implementation of Sneakers.
I need to decode a Protobuf payload coming via RabbitMQ message.
I have a working implementation using work_with_params however I'd dearly love to move my marshalling code into a ContentType handler.
Because Protobuf is not self-describing, additional metadata must be provided to unserialize to the correct object type. The system I am interfacing with uses AMQP params metadata to provide this data.
However, I don't appear to be able to access anything other than payload when using a ContentType handler.
Is there a way to standardise marshalling when headers or params are also required?
Thanks in advance.

Your findings are correct, this interface considers that the payload is all that's necessary.
You are welcome to contribute a PR for 2.13.0 (2.12.0 is the current development cycle). Thank you.


Are there rate limits on how often a release annotation can be written?

I have a DevOps task group with a release annotation in it. Sometimes it fails with 401 unauthorized, even though all release pipelines are using the same key.
I'm wondering whether it's rate limited. Could you put some documentation in around how to trace failures beyond 401 unauthorized returns?
(just to clarify further - it's highly probable that it's the code at fault, but are there backend ways of tracing the failed request)

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

ID: ee1eec15-6783-f8a2-81c0-ffa9d1b40dc2
Version Independent ID: ab875981-7b0d-95be-dc5b-91f87acbe477
Content: Release annotations for Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/annotations.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@autodomme Thanks for the question! We're investigating this and will get back to you shortly.

@autodomme I have assigned the issue to the content author to evaluate and update as appropriate.

On the API key side that release annotations use it does have rate limits which we describe here: https://dev.applicationinsights.io/documentation/Authorization/Rate-limits. I can add that info to the doc, but if you were hitting an API key rate limit we would expect to see a status code of 429.
I will ping the API team to see if they have any recommendations on tracking down the cause of the intermittent 401.

Updates to the docs to link to the rate limit info are merged internally and will go-live in the docs on Monday. Unfortunately, the engineering team did not have any additional troubleshooting guidance for this particular scenario.

#please-close


Cannot create network-rule for storage account Values for request parameters are invalid: networkAcls.ipRule[*].value

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

az storage account network-rule add command fails with error below :
Values for request parameters are invalid: networkAcls.ipRule[*].value. For more information, see - https://aka.ms/storagenetworkruleset
To Reproduce

AUTHORIZED_IP_RANGE="<IP_ADDRESS>/24"
az storage account update --name $blob_str_name --default-action deny
az storage account network-rule list --account-name $blob_str_name
az storage account network-rule add --action allow --account-name $blob_str_name --subnet $bastion_subnet_id -g $rg_name # --ip-address $AUTHORIZED_IP_RANGE
az storage account network-rule add --action allow --account-name $blob_str_name --ip-address $AUTHORIZED_IP_RANGE -g $rg_name

Expected behavior

az storage account network-rule add command should run successfully
Environment summary

WSL
{
"azure-cli": "2.5.1",
"azure-cli-command-modules-nspkg": "2.0.3",
"azure-cli-core": "2.5.1",
"azure-cli-nspkg": "3.0.4",
"azure-cli-telemetry": "1.0.4",
"extensions": {}
}
Additional context

See also https://github.com/Azure/azure-cli/issues/7417

add to S172

Hi@ezYakaEagle442, it is because the ip address you provided is not valid. Only public internet IP addresses is allowed here.

For more information, please see https://docs.microsoft.com/en-us/azure/storage/common/storage-network-security#grant-access-from-an-internet-ip-range.


Builder: Petition for shrinking instances to GF specs

Catch 22 situation every time:
Font has several variable axes, say wght and slnt.
Either I need to generate instances that aren't supported by GF (Regular Slant Left) in order for the Slant axis to even be included at all (correct STAT table), but then the instances aren't supported in the end, or I deactivate the instances and then the axis isn't getting included and I have to manually create a STAT table.
It should be trivial to shrink the instances to the ones supported by Google Fonts (when using the appropriate GF flag).
Please consider to include this. It's a very common problem.

I don't know, I'm asking. Very well possible

Isn’t this what Marc is working on with the axis registry stuff?

It is. However, we already have a function which will do what you want. It'll only include Thin-Black + Italics (if they exist). To use it, include includeSourceFixes in your builder config file.

The only downside to the current implementation is that it doesn't allow you to specify what the other other axis values should be for each instance. It will simply use the default fvar axes values. This is problematic because if you have an opsz axis, you may want the default to be 72pt but the default origin is at the min value of say 12pt.

includeSourceFixes: true didn't change anything

what's the repo url?

Also, source fixes sounds like it won't do what I want, because I don't want to change the source. I can do that manually. I want the unsupported instances to be purged in a post-processing stage so that the STAT table can be generated in full from the unsupported instances before they get deleted

https://github.com/yanone/Cairo
Build script in build.sh
I've included the includeSourceFixes into sources/caro.yaml.

Thanks. I'll see what's up.

Look at the first half of the build script only, the "Normal"

I'm not asking to remove the ability to generate a STAT table manually. I'm asking to purge unsupported fvar instances in post-processing (automatically when the GF profile is used, not through an extra setting that I forget), because it enables me to not have to think about a STAT table at all for fonts where I don't need to

Automatically purging unsupported fvar instances is a complete no-brainer because it’s just enforcing GF specs regardless of what’s there. Me having to not think about a STAT table here is a welcome and intended side-effect.


Update Generic Pages “contact”

Automatically generated by Netlify CMS

👷 Deploy Preview for shimmering-marigold-4f5b4a processing.

Name
Link

🔨 Latest commit
403cb58343c4534c1c52924c3526b2b3c36e821e

🔍 Latest deploy log
https://app.netlify.com/sites/shimmering-marigold-4f5b4a/deploys/633816d791b80e0008a0a294


Run Heapster on a Kubernetes cluster with InfluxDB: Only 2-3 records of a metric for a container

We setup an environment for K8S and use Heapster monitoring the cluster. We wan to use API to retrieve performance metrics. It's no problem to get values for a metric at node level. For example, with URL /api/v1/model/nodes/{nodeip}/metrics/cpu-usage/, we got about 60 records,it's last one hour data. But when try to get value for a metrics at container level,It always return 2 records only.
For example, with URL /api/v1/model/namespaces/kube-system/pods/{pod-name}/metrics/cpu-usage/, we got response as below.
{
"metrics": [
{
"timestamp": "2016-01-18T11:32:00+08:00",
"value": 9
},
{
"timestamp": "2016-01-18T11:31:00+08:00",
"value": 30
}
],
"latestTimestamp": "2016-01-18T11:32:00+08:00"
}
Is this a bug? How to get last one hour data for a metric at container level?

I'm also getting the same output

@bryk

We are about to release new version of heapster (0.20) which will solve this problem.


Nan loss when training llama2

I’m trying to train llama2 on 400000 steps when the training reaches 23000 steps the loss is 0.0 in train and nan in eval
My hardware :
4 16Gp v100

hi @ahmedkotb98
what is the training precision? Can you try with bf16?

hi @ahmedkotb98 what is the training precision? Can you try with bf16?

My gpu is v100 not supported for bf16


Compatibility with Traveler's Backpack

Hello, I'd like to add compatibility with You're in Grave Danger from my end, if it's possible of course and if it's better solution.
I see you've implemented compat from your end and I'd like to ask first.
Is it better to add compat from my side or yours?

I assume the question is to move the compatibility from my end to your end?
As I have compatibility already provided with a few other mods that can extend the player inventory in some regards, I feel like it's probably easiest for that kind of compat on my end. Although since it already exists, is there anything you would like to change in the compat implementation? (Just curious why you asked if there already is a working compatibility between the two mods). Is there something you feel like it's not working, or you want some extra compat features, you can let me know.
If you have some arguments to why the compat should be on your end, it'd be great for me to know about any potential upsides to that.

So basically, I have no problem with compat on your end, I'm just curious if everything is done properly. I mean, I just added compat for few gravestone mods on Forge. And since TB has feature that places backpack after death, I was able to cancel those methods if any gravestone mod was detected. Don't know if it happens with your compat implementation though.
Also is compat added on every version (1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.4 and 1.20.1)?

Only problem I encountered is that your backpacks will be on drop rule destroy in trinkets when trinket integration is enabled.
Yeah that's what I was talking about
That I can easily do it from my end. But if everything is working fine, without any bugs etc. we can keep compat on your end, althrough I have no problem to move it to my mod too.
But since I support all versions, I'd be glad if you checked if all versions work without problems

I was just coming to check and see if anyone posted about compatibility with this Grave mod, Travelers backpacks, and trinkets. There is an issue of the grave not keeping the backpack after death in a trinkets slot, but I solved it with the Grave config line "keepALLTrinkets" and changing it to true, so I just spawn with all my trinkets including the backpack, but I would like them to be compatible completely because keeping all of those items after death feels a bit cheaty.

Hi again. Sorry for completely ignoring that request for literally half a year. I've checked now and it should be good for all versions from 1.16 up to 1.19. (It works on 1.16.5 - 1.18.1 just because I didn't have the trinket drop rule check implemented yet lol, but 1.18.2 - 1.19.4 are handled with a mixin).
Anyway, I have not yet implemented the trinket integration drop rule compatibility for my 1.20 branch yet. I was checking how it could be fixed, and I think all that is needed is to include YiGD in the isAnyGraveModInstalled() method. Either doing it with a mixin on my end or just straight up on your end would work. The only slight problem would be that if in my mod someone disabled the trinket compatibility or graves as a whole through my configs, the backpack would drop as an item instead of being placed on the ground.
I haven't fully elaborated on this idea yet and what could be done (I could probably fix this potential issue on my end), but I wanted to get your thoughts if you had any first.
Let me know what you think if you have any ideas or preferations

Sorry, I'm not able to discuss on the issue right now, my schedule is really busy and I'm not able to work on Traveler's Backpack for at least upcoming 2 weeks. But I think I'll just add the deleted method that causes recent crashes and release update with this method. It won't do anything but will be there just for the sake of compatibility and prevent the crash. And if you would decide to fix the issue on your side, it'll work too without any changes necessary on my side.

I've added the trinket integration check myself to the 1.20 version now. I believe that would be the best case as the graves are configurable as to them being enabled or disabled in general. I think that should be compatibility on every version now.
Sorry again for the long delay in responses.


fix: modal disappears and then reappears after the receipt is deleted

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/50159
PROPOSAL:
Tests

Submit an expense with receipt to any user
Go to transaction thread
Click on the receipt
Click 3-dot menu > Delete receipt
Delete the receipt
Verify that: Add receipt modal will not disappear and reappear after the receipt is deleted

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Submit an expense with receipt to any user
Go to transaction thread
Click on the receipt
Click 3-dot menu > Delete receipt
Delete the receipt
Verify that: Add receipt modal will not disappear and reappear after the receipt is deleted

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/a0525a5a-1e33-4a5f-a8cb-cc9d48dfad9a

Android: mWeb Chrome

https://github.com/user-attachments/assets/12b59b42-afdd-495a-a82a-42a12b912691

iOS: Native

https://github.com/user-attachments/assets/99e3b793-c492-44bb-846e-6f2491533b77

iOS: mWeb Safari

https://github.com/user-attachments/assets/756c2df5-3e03-4641-8016-f1b94ed22e4d

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/16dab840-73d6-475b-a4c1-c93da4108e16

MacOS: Desktop

https://github.com/user-attachments/assets/607996f4-cb52-4fd1-9c8f-9f20453045b9

@dukenv0307 Because the DELETE pending action will hide the child component of OfflineWithFeedback.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


Exception when having Julie manage principles with Confluent Cloud and existing serviceAccount

Hi
This is related to #438
When having Julie manage principals with Confluent Cloud, we get an message error
java.io.IOException: Translation of principal User:dev_myAccount failed, please review your system configuration
This serviceAccount dev_myAccount (sa-xxxx) exists on our confluent cloud
To Reproduce
Steps to reproduce the behavior:
projects:
  context: dev
  - name: eda
    topics:
      - name: testing_acl
        config:
          replication.factor: 3
          num.partitions: 1
        consumers:
          - principal: "User:dev_myAccount"
        producers:
          - principal: "User:dev_myAccount"

Include the following ccloud config in the connection properties file:
bootstrap.servers="xxxxxxx.confluent.cloud:9092"
security.protocol=SASL_SSL
sasl.jaas.config="org.apache.kafka.common.security.plain.PlainLoginModule required username=\"xxxxx\" password=\"xxxxxx\";"
ssl.endpoint.identification.algorithm=https
sasl.mechanism=PLAIN
topology.topic.prefix.separator=_
# Confluent Cloud Schema Registry
schema.registry.basic.auth.user.info="xxxxx:xxxxx"
schema.registry.url="https://xxxxx.confluent.cloud"
basic.auth.credentials.source=USER_INFO
ccloud.environment=env-xxxxx
ccloud.cluster.api.key=xxxxx
ccloud.cluster.api.secret="xxxxx"
ccloud.cloud.api.key=xxxxx
ccloud.cloud.api.secret=xxxxx
topology.builder.ccloud.kafka.cluster.id=lkc-xxxxx
ccloud.cluster.url="https://xxxxx.confluent.cloud:443"
topology.builder.access.control.class = com.purbon.kafka.topology.roles.CCloudAclsProvider
julie.enable.principal.management=false

Run Julie with the above topology file.
Version
Julie : 4.1.2
Java : 17,0
Expected behavior
The expected behavior is for the ACL to be created for the resource id associated with the dev_myAccount account and for the service account name to be  dev_myAccount.
a/
Regarding request #438 it should work, may be i am doing something wrong ? I tried to set directly the dev_myAccount whithout the User: but raise an exception too
java.lang.IllegalArgumentException: No enum constant com.purbon.kafka.topology.model.users.ConfluentCloudPrincipal.PrincipalType.dev_myAccount
b/
I take a look on code and build a specific version trying to understand what was the problem. In file CCloudUtils.java we search for the specified service account but unfortunatly the service account we are searching for is User:dev_myAccount against a list of service account without User:
   /** CCloudUtils.java - line 40 */
    long numericServiceAccountId = serviceAccountIdByNameMap.getOrDefault(binding.getPrincipal(), SERVICE_ACCOUNT_NOT_FOUND);

I try with "updating" list with User: in key as follow (nota bene : i am not a skilled java developer)
   /** CCloudUtils.java */
    Map<String, Long> newMap = new HashMap<String, Long>();
    for (Map.Entry<String, Long> entry : serviceAccountIdByNameMap.entrySet()) {
      if (entry.getKey().contains("User:")) newMap.put(entry.getKey(), entry.getValue());
      else newMap.put("User:" + entry.getKey(), entry.getValue());
    }
    ConfluentCloudPrincipal principal = ConfluentCloudPrincipal.fromString(binding.getPrincipal());
    long numericServiceAccountId = newMap.getOrDefault(binding.getPrincipal(), SERVICE_ACCOUNT_NOT_FOUND);

Then after building this specific version, it succeed in creating what i expected to and acl are ok
With the old cclou cli (ccloud kafka acl list)
User:359475 | sa-xxxxxx | ALLOW | WRITE | TOPIC | dev_eda_testing_acl | LITERAL
User:359475 | sa-xxxxxx | ALLOW | DESCRIBE | TOPIC | dev_eda_testing_acl | LITERAL
User:359475 | sa-xxxxxx | ALLOW | READ | TOPIC | dev_eda_testing_acl | LITERAL

With the new confluent cli (confluent kafka acl list)
User:sa-xxxxxx | ALLOW | WRITE | TOPIC | dev_eda_testing_acl | LITERAL
User:sa-xxxxxx | ALLOW | DESCRIBE | TOPIC | dev_eda_testing_acl | LITERAL
User:sa-xxxxxx | ALLOW | READ | TOPIC | dev_eda_testing_acl | LITERAL

Thank you

Hi,
thanks for reporting this situation, I think the core situation here is that:

Per convention JulieOps expects users to be in the form of User:XXXX or Group:XXX. This is because with JulieOps these principals are going to be later used for Acls, outside of Confluent Cloud, this pattern is important in order to define things by group.

Hi @purbon,
I noticed a different behaviour between CCloudAclsProvider.java#L84 and CCloudUtils.java#L39 inside translateIfNecessary method.
In fact, in CCloudAclsProvider.java#L84 we have a String[] fields = principal.split(":") before lookupServiceAccountId.get(fields[1]) contrary to CCloudUtils.java#L39 where we have juste serviceAccountIdByNameMap.getOrDefault(binding.getPrincipal(), ...) without split(":")
On the other hand, at line CCloudUtils.java#L38, we have ConfluentCloudPrincipal principal = ConfluentCloudPrincipal.fromString(binding.getPrincipal());. This method return a POJO contains a value of principalType and serviceAccountName after applying a principalString.split(COLON_AS_SEPARATOR) inside fromString method.
So I think, instead of using serviceAccountIdByNameMap.getOrDefault(**binding.getPrincipal()**, ...) we have to use serviceAccountIdByNameMap.getOrDefault(**principal.getServiceAccountName()**, ...)
I think this can fix issue reported by @pjalbert27.
Thanks.

Hi,
thanks both for reporting this, I have created #485 that would amend this problem, so hopefully will not come back.


Is there a workaround to use this model with Ignition Gazebo Fortress?

Hi,
as far as i know Ignition Gazebo Fortress does not support mimic joints currently. Is there a workaround  to use this model with Ignition?

This open Pull request is required https://github.com/ros-controls/gz_ros2_control/pull/86

Linking this to upstream issue: gazebosim/gz-sim#1684

Closing as this is a gz-sim issue.


KMSI KeepAliveInDays

The KeepAliveInDays attribute under the SingleSignOn has no maximum value indicated, yet the documentation it references says "The range for the value is from 1 to 90 days". Also doesn't mention the 0 value to disable the feature.

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

ID: 1e3ce49f-746e-9326-9846-32d569558b65
Version Independent ID: 4978d164-555d-b3cc-2989-5246b0f44313
Content: RelyingParty - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/relyingparty.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@R0st0s
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Dear @R0st0s, thanks for the feedback. I'm updating the article with the relevant information. A new version will publish later today or tomorrow, and this GitHub issue will be closed automatically (before the doc is published). If you have any questions or need further information, please open new GitHub issue.


dependabot: Ignore frequenz-api-microgrid >=0.16.0

The upgrade to frequenz-api-microgrid >=0.16.0 needs a lot of changes in the code. We are not ready to do that yet, so we should ignore this dependency for now.
See:

https://github.com/frequenz-floss/frequenz-sdk-python/issues/844

We need to ignore one more to get useful dependabot updates.

Still sybil, so force-merging.


Supports cookies CRUD

Related to #156 , I think it's reasonable to have APIs for manage cookies

[x] IOS CRUD
[ ] Android CRUD  (#220)
[ ] Test cases
[ ] Documentation

Any update on this @wkh237?

Close this one as #388 is better solution 👍


Display in a colum.

When both scrips are enable, images display in a column like so https://screenshots.firefox.com/5gshC9UY18zAp0u7/gelbooru.com
If either one is enabled individually, their functionalities seem intact.

I have both enabled all the time, 2cdd130 should fix the issue(s), since I'm trying to release new version whenever I notice something breaking.


Validation problems because of the incorrect FHIR version

Problem: When validating in GitHub strange errors are returned because the resources are validated with R4 instead of STU3.
Fix?:  Firely terminal should automatically validate with the proper FHIR version -or- a setting parameter should be exposed.

The issue should be fixed in version v0.3.3-alpha2. Could you give this a try and report back if this works? I’ll create a proper release version afterwards.
Firely Terminal will try to detect the fhirVersion based on the package.json and configure itself automatically.

Fix confirmed


Hidden pwd button if auth_mode is not db_auth

Hidden pwd button if auth_mode is not db_auth

Please fix the  typo in commit message and add more details, such as what button should be hidden and why.


Cannot delete edge in StrictMode

I am using version 2.1.2. Due to a variety of security related concerns, our schema is defined in the strict mode = true. There's a specific case where I cannot delete edges. Here's how to repro:
create class V1 extends V
create class V2 extends V
alter class V1 strictmode true
alter class V2 strictmode true
create class V1ToV2 extends E
alter class V1ToV2 strictmode true
create property V1ToV2.out LINK V1
create property V1ToV2.in LINK V2
create property V1.out_V1ToV2 LINKLIST V1ToV2
create property V2.in_V1ToV2 LINKLIST V1ToV2
create vertex V1
create vertex V2
create edge V1ToV2 from (select from V1) to (select from V2)
create vertex V1
create edge V1ToV2 from #42:1 to (select from V2)
delete edge V1ToV2  from #42:1 to (select from V2)
Error: com.orientechnologies.orient.core.exception.OValidationException: The field 'V2.in_V1ToV2' has been declared as LINKLIST but an incompatible type is used. Value: [V1ToV2#44:0{out:#42:0,in:#43:0} v1]
I believe this repros if two vertices have an outgoing edge to a third vertex, and if you try to delete one of those edges.
I have been struggling with this for a bit, and see a related issue #3534, which was closed as invalid. But it's clearly the case for me. Any help in fixing this is greatly appreciated!

Found the problem: on edge removal the setting graph.isAutoScaleEdgeType() is not considered, and a collection is transformed on single value. Fixed in 2.1.3.


Cannot retrieve power usage

await connection.getDevicePowerUsage('<device id>');

Throws an error for connections via the combination of api key and access token and the combination of email and password too. Please find screenshot attached for behavior.

Figured what the issue was. In the long term can we use typescript or include types?
So, I used the value of _id for deviceid instead of deviceid from the list of devices


Modal overlay doesn't change the whole background's opacity

As you can see there is a line(blue line) where the opacity is not set by the modal. The css of the dragbar is
#side-dragbar {
    position: absolute;
    background-color: #377CE4;
    min-height: 100%;
    width: 3px;
    cursor: col-resize;
    z-index: 1;
}

Do you have any ideas what can be the problem?

@thellimist I think the cause is the z-index: 1; line in your CSS: the overlay has a z-index of 0, so your CSS lifts the dragbar above the overlay.
You can fix this by specifying a higher z-index for the overlay either in CSS:
.ReactModal__Overlay {
  ...
  z-index: 1000; /* Must be greater than #side-dragbar:z-index */
}

...or in the inline styles:
<Modal ... style={{overlay: {zIndex: 1000}}}>
  ...
</Modal>

@liwp yes that was the problem. Forgot to close the issue.


SAKUROMAOG BE GRAYED OUT!!!

OG Sakuroma is greyed out even though she's in the list of characters to default unlock.

Also game crashes when exiting song.

Also game crashes when exiting song.

never mind on this one (another mod just breaks it.)

 OG Sakuroma is greyed out even though she's in the list of characters to default unlock.

Save data probably needs a bit of a reset, you can do that by just forcing it here

 OG Sakuroma is greyed out even though she's in the list of characters to default unlock.

Save data probably needs a bit of a reset, you can do that by just forcing it here

thank


envoy: Use mutex to protect field accesses in Cilium xDS server

Use mutex to protect field accesses in Cilium xDS server.
Fixes: #3329
Signed-off-by: Romain Lenglet<EMAIL_ADDRESS>

test-me-please

test-me-please

test-me-please


[SPARK-35999][SQL] Make from_csv/to_csv to handle day-time intervals properly

What changes were proposed in this pull request?

This PR fixes an issue that from_csv/to_csv doesn't handle day-time intervals properly.
from_csv throws exception if day-time interval types are given.
spark-sql> select from_csv("interval '1 2:3:4' day to second", "a interval day to second");
21/07/03 04:39:13 ERROR SparkSQLDriver: Failed in [select from_csv("interval '1 2:3:4' day to second", "a interval day to second")]
java.lang.Exception: Unsupported type: interval day to second
 at org.apache.spark.sql.errors.QueryExecutionErrors$.unsupportedTypeError(QueryExecutionErrors.scala:775)
 at org.apache.spark.sql.catalyst.csv.UnivocityParser.makeConverter(UnivocityParser.scala:224)
 at org.apache.spark.sql.catalyst.csv.UnivocityParser.$anonfun$valueConverters$1(UnivocityParser.scala:134)

Also, to_csv doesn't handle day-time interval types properly though any exception is thrown.
The result of to_csv for day-time interval types is not ANSI interval compliant form.
spark-sql> select to_csv(named_struct("a", interval '1 2:3:4' day to second));
93784000000

The result above should be INTERVAL '1 02:03:04' DAY TO SECOND.
Why are the changes needed?

Bug fix.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

New tests.

cc: @MaxGekk
I think #33225 and this resolve the issue pointed out here.

Test build #140686 has started for PR 33226 at commit a93d963.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45196/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45196/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45196/

thanks, merging to master/3.2!

Test build #140686 has finished for PR 33226 at commit a93d963.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140686/


Update Hub.php

formatting.

What?
Can you explain why this is needed? Clearly has nothing to do with formatting.
Please do not deliberately do a breaking change like this and do not give a proper description of why.

@jmarcher In the entity class Hub, when the variable $pipeline is false, the default variable $pipeline is the default, and the parameter 2 is type string|null. I think the ternary operation is more than one. Can directly let parameter 2 be string
Before
   /**
     * Send an object through one of the available pipelines.
     *
     * @param  mixed  $object
     * @param  string|null  $pipeline
     * @return mixed
     */
    public function pipe($object, $pipeline = null)
    {
        $pipeline = $pipeline ?: 'default';
        return call_user_func(
            $this->pipelines[$pipeline], new Pipeline($this->container), $object
        );
    }

After
   /**
     * Send an object through one of the available pipelines.
     *
     * @param  mixed  $object
     * @param  string $pipeline
     * @return mixed
     */
    public function pipe($object, string $pipeline = 'default')
    {
        return call_user_func(
            $this->pipelines[$pipeline], new Pipeline($this->container), $object
        );
    }

You changed a contract but did not change the implementation, this will break if I
$hub->pipe($object, null) because the interface is expecrting a string.
I do not see this as a win, introducing a breaking change just for the sake of type hinting.

Of course, this is just a representation of my personal point of view. Officials can keep their own mode! I think that the separation of responsibilities can reduce some unnecessary overhead of the program.

I personally prefer the simple style,That's it!