Not initiating

I am trying to use this plugin (installed via npm) alongside the contrib-ads plugin but am getting an initialization error on it: Uncaught ReferenceError: videojs is not defined - this is coming from the last two lines of videojs.ima.js:
  videojs.plugin('ima', imaPlugin);
}(window.videojs));

I am trying to use this in an ES module, importing as:
import videojs from 'video.js';
import ads from 'videojs-contrib-ads';
import ima from 'videojs-ima';

videojs and ads both load properly (I am getting expected behavior from them) but this plugin errors out. That is, when I comment out the import on videojs-ima, I do not get the error.
By comparison, the last two ads of videojs.ads.js (from contrib-ads) looks like this
  videojs.plugin('ads', adFramework);
})(window, videojs);

so I can tell videojs is available to contrib script, but for some reason, not this one
I hope that this bug report is clear enough to be actionable. If you need more information, please ask. Thanks for your help!

If you change the videojs-ima source final line from }(window.videojs)); to }(window, videojs)); does it work? That's the only difference I'm seeing between the ads contrib code and ours.

I ended up just binding videojs to the window rather than importing it to the module and it was fine-- thanks @shawnbuso

@jlieb10 - can you expand a bit on how you got this to work?  I'm facing the same issue and can't seem to get things going.  Using browserify, it seems it pushes the imports above my code, so doing something like the following doesn't work:
import videojs from 'video.js';
window.videojs = videojs;
import ads from 'videojs-contrib-ads';
import ima from 'videojs-ima';

Also, simply changing the final line to }(window, videojs)); doesn't seem to work either.  I'll keep poking but I'd be curious to hear how @jlieb10 got things going.

So, I was never really able to get this running completely when importing it, but I did code up something to show one way the library could be made compatible for importation.  This method is similar but not exactly the same as what videojs.ads.js uses.  The difference is they seem to run the process before a release, where as this runs as a postinstall script.
https://github.com/vusemedia/videojs-ima/tree/fix/missing-video-js


Actions must be plain objects. Use custom middleware for async actions.

I try run action that sends a request to the server and return should run "dispatch" and displays an error "Actions must be plain objects. Use custom middleware for async actions."
stores/index.js

import {
createStore,
applyMiddleware
} from 'redux';
import reducers from '../reducers/index';
import logger from 'redux-logger';
import thunk from 'redux-thunk';
module.exports = function(initialState) {
const middleware = process.env.NODE_ENV === 'production' ?
[ thunk ] :
[ thunk, logger() ];
const store = applyMiddleware(...middleware)(createStore)(reducers, initialState);
if (module.hot) {
// Enable Webpack hot module replacement for reducers
module.hot.accept('../reducers', () => {
const nextReducer = require('../reducers');
store.replaceReducer(nextReducer)
})
}
return store
};

action.js

export function Advertiser(dispatch) {
return () => {
//dispatch({ type: LOAD_START });
return fetch.get('/api/advertisers/list.json').then(
result => {
dispatch(requestAdvertisers(result));
//dispatch({ type: LOAD_END, payload: result });
return result;
},
throwAjaxError
);
};
}

Yeah, I currently do not have anything in place for async actions. You could use promises, or take a look in the docs where a couple of middleware options are listed.

Closing this down for lack of activity. Feel free to reopen.


Issue741 reports

Fixes #741 --> If statements to skip the report generation for parts 2, 4, 5 and visualreport if there is no milestone data available.

Checklist before merging:

[x] Existing tests still work (check by running the test suite, e.g. from RStudio).
[ ] Added tests (if you added functionality) or fixed existing test (if you fixed a bug).
[ ] Updated or expanded the documentation.
[x] Updated release notes in inst/NEWS.Rd with a user-readable summary. Please, include references to relevant issues or PR discussions.
[ ] Added your name to the contributors lists in the DESCRIPTION and CITATION.cff files.

Codecov Report

Merging #754 (dcfe3c8) into master (ecb001a) will increase coverage by 0.02%.
The diff coverage is 82.35%.

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

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #754      +/-   ##
==========================================
+ Coverage   73.73%   73.75%   +0.02%
==========================================
  Files          88       88
  Lines       10868    10872       +4
==========================================
+ Hits         8013     8019       +6
+ Misses       2855     2853       -2

Impacted Files
Coverage Δ

R/GGIR.R
81.02% <82.35%> (+1.44%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Make License of Generated Code Clearer

OK, complex class files now include an MIT license.  This will likely be available in the 1.1.3 release.  This is something we'll need to keep in mind going forward on each module command.  There's some files -- blank controllers, for example -- that don't seem to rise to level of "software" as per most open source licenses, while others (the specific upgrade script implementation in Pulsestorm\Helloworld\Setup\Scripts does and needs a license to make clear what can/can't be done with it.  Figuring out where that line is will need to be done on a case by case basis.


symlink(): No such file or directory

Laravel Version: 5.5
Voyager Version: 1.1
PHP Version: 7.2
Database Driver & Version: MySQL

I have uploaded my application to a shared hosting, the laravel files are in the root: /home/creatipp/laravel and the public folder is found in /home/creatipp/public_html/creatipcenter.com
I hope you can help me.

The same for me...


Remote write compliance: TestRemoteWrite/otelcollector/Invalid

The OpenTelemetry collector is not passing https://github.com/prometheus/compliance/tree/main/remote_write TestRemoteWrite/otelcollector/Invalid.
=== CONT  TestRemoteWrite/otelcollector/Invalid
    up.go:39:
        	Error Trace:	up.go:39
        	            				main_test.go:101
        	            				main_test.go:65
        	Error:      	Should be true
        	Test:       	TestRemoteWrite/otelcollector/Invalid
        	Messages:   	found zero samples for up{job="test"}

Related to https://github.com/open-telemetry/wg-prometheus/issues/41.

This test is still failing since the Up metric changes are not merged yet. (#3116)

#3116 is now merged. So this conformance test should pass.
@Aneurysm9 can you please confirm this test is passing?


Testing code lens do not appear on initial activation of testing support

If you flip on testing discovery in your settings.json the code lenses won't be picked up until you restart the extension.

Fixed by #16769, we don't have code lenses  anymore:

Configuring tests when tests are not enabled also discovers tests correctly and displays icons in the gutter.


Resolves a leak when creating timestamps for responses

Each response we send back we're leaking memory from the timestamp we generate. This fixes it by deallocating the memory we allocate for building the timestamp. I ran Vapor through the Leaks instrument before the fix and after with ab hitting it, and this fixes it. No other leaks we're found. 👍
@LoganWright This was the leak I mentioned yesterday to you.

Great find! Thank you @ketzusaka


Craft shell experience

Launches wash daemon in the background. Waits for filesystem to mount. Puts you in mounted directory with wash-specific tools available.

What if we had something like:
$ wash
<starts server in the background, logging to a file>
wash$ help|ls|find|exec

If you start multiple wash instances, they should share a single running server. The last one to exit could shut it down.


roadmap

What is the question:
Have any plans to do the following 2 abilities? like sdk-java
Generate workflow diagram (SVG)
Set of utilities to help runtimes interpret the Serverless Workflow object model

Hi @hongliang5316, thanks for the question.
For:

Generate workflow diagram (SVG)
Yes, it is in the roadmap, but there is no ETA yet, please take a look here: https://github.com/serverlessworkflow/sdk-go

About the second question, can you please elaborate? What kind of help utilities are you looking for in specific?
Thanks.


[API Inconsistency] GeneratorEnqueuer(random_seed)

Paramater to GeneratorEnqueuer is called 'random_seed', while everywhere else throughout Keras, it's called 'seed'. I can rename it, but should I provide backward compatibility or not?
https://github.com/fchollet/keras/blob/master/keras/utils/data_utils.py#L556

BTW, random_seed parameter is not actually used in Keras codebase. Maybe better remove it altogether?

random_seed was introduced in PR https://github.com/fchollet/keras/pull/6891 4 months ago. It's clear that backward compatibility is not needed.


Create button is seen moved to the left

On 2.5-head - commit id: db350a63bc

"Create" is seen moved to the left. Seen for all "Create"s

On 2.5-head - commit id: 395b4fe77

Closing the issue as the Create button is seen on the right


Fees selector options not ordered

Options on fees selector are in strange order in all places except simple transfer form when putting address:
Current result:

Expected result:
No fee, Slowest, Slow, Average, Fast

Now it's ordered but there is a lack of consistency comparing to situation when fees amounts are calculated.

@cryptoBeliever would you check that branch? should be ordered correctly there

@cryptoBeliever Should be consisting now on branch gh1503-QRCode-scan-issue

@bassemmagdy now it's ok :+1:

Fixed in integration branch.


Performance question - loading large(ish) dataset

(Not sure if there is a mailing list or if you take questions here on GitHub as issues. Lemme know if I should move this somewhere else! --billy)
I have a dataset with about 300K records, and I'd like to use Nano-SQL to do some SQL magic on it, inside a browser app. Inserting the records is taking forever; I let it run for 15 minutes and it still wasn't complete. Surely I'm doing something wrong.
What's the best way to quickly import a few hundred thousand rows of data, and how long should I expect that to take?

The data is an array of objects, each with about ten properties/columns. Just simple text and float fields, nothing fancy
I tried creating the model with each column specified, and added a uuid auto-generated PK, as well as a few IDX columns.
That took forever, so I tried removing all the IDX'es as a test
That took forever, so I also tried {key: '*', type:'*'}, with no better luck
I tried using query('upsert') on each row, as well as .loadJS() on the entire array
Testing on latest Chrome and Firefox, using a very recent ultrabook with Win10.

Is my dataset simply too large for nano-sql, or have I just missed something really dumb?

Hello Billy,
That is a lot of data!  What's the size of the JSON file?  You might be running against memory limits in the browser.
When you use .loadJS the rows are deep copied and frozen, so whatever memory the JSON is taking up double it.  There's also tons of validation for each insert that occur to make sure it's safe and valid.
With this data size your best option is probably going to be using the .rawImport() method documented here.
The .rawImport() skips the data validation and writes the data directly into the database table.  This can be dangerous but if your data is already cleaned up and valid then it's fine.
If you're still having issues the next thing to try would be turning on IndexedDB Web Workers like this:
...data models and stuff
nSQL().config({
    mode: "IDB_WW"
}).connect()...

Using this in combination with .rawImport() should get it working.
You'll get persistent data between page reloads but more importantly you'll have the data loaded into IndexedDB instead of into javascript memory.
Hope that helps!

Awesome!!! Using rawImport() takes <5 seconds instead of 20 minutes!  BUT... I'd really like to index one or or two of the columns now that the data is in there. Is there any way to build/add an index after import?

To clarify -- the docs for rawImport() specify that indexes will not be created correctly when using rawImport(). Is there a way for me to.... um... create them correctly? LOL ;-)

The secondary indexes are actually very simple, each index is it's own table named using this format:
_parentTable_idx_columnName.  So a secondary index on the "email" column of the "users" table would generate a table named _users_idx_email.
Each row of the secondary index table has two columns: the id which is a stringified value of the secondary index column value and rows which is an array of row primary keys that have that value.
For example if there was a user who's primary key was 2 and their email was<EMAIL_ADDRESS>the secondary index row for that record would look like this: {id<EMAIL_ADDRESS>rows: [2]}.
A good way to see this with your data is to enable the secondary indexes and do a .loadJS() on a small sample like a thousand rows, then do .rawDump() to see what the secondary index tables look like.
Hope that helps!

Thanks so much for the info! I'll give it a whirl.

YUP -- that works!  :-)

A good way to see this with your data is to enable the secondary indexes and do a .loadJS() on a small sample like a thousand rows, then do .rawDump() to see what the secondary index tables look like.

Does this mean that doing a .rawDump() on the server, sending the dump over to the client and doing a .rawImport() will load the secondary indexes as well? That is, we don't have to build the secondary indexes manually ourselves?
And if that's not the case, then is there a way we can do a .rawImport() then have a function like .reindexAll() that builds all the indexes necessary? I am afraid building secondary indexes manually myself might be duplicating some functionality best left to the library.
(btw -- thank you for this awesome library!)

Hello Atif,
Thanks for the kind words, happy you're finding it useful!

Does this mean that doing a .rawDump() on the server, sending the dump over to the client and doing a .rawImport() will load the secondary indexes as well?

Yes, exactly.  Even if you have ORM columns, history, etc it will all be copied over 1 to 1.  Just have to make sure the data models are identical on the server and client.

And if that's not the case, then is there a way we can do a .rawImport() then have a function like .reindexAll() that builds all the indexes necessary?

It is the case, but the library also includes a way to rebuild indexes for you, using .extend("rebuild_idx").
If you call .extend("rebuild_idx") all tables will get rebuilt.  If you pass in a table name as the second argument only that table will be rebuilt, like this: .extend("rebuild_idx", "myTable").then...
The promise that's returned resolves once the index rebuild is completed.

Closing this issue since there's been no further comments or questions related to this.


Fix typo in YAML 1.1 bool spec

Fixes a type that was causing a missing case and also resulted in a duplicate test case.

Thanks!
merged and updated gh-pages

btw, congratulations to YamlDotNet! Now on https://matrix.yaml.io/

btw, congratulations to YamlDotNet! Now on https://matrix.yaml.io/

That's very cool! Credits should go to @am11 who did all the work of integrating the test suite and fixing the bugs that were identified 👍

Btw, I have integrated these tests into my ongoing work on schemas and it has been very helpful. I even discovered an unrelated bug thanks to the additional test cases. Thanks for putting the effort to build this!


Overlap at status bar

Getting overlap at status bar.

This is setting which i set.

Thanks for reporting this issue!
I believe this is related to SafeArea offsets. Are you using a SafeArea in your layout?

Yes I have use SafeArea in my layout. once it fixed then this library gonna be rock..
Please Resolve asap. i already used in my current running app if this will not fixed then I have to move with  other library :(

I'll likely have some time in 2 weeks.

So will solve it?

Yes, it's on the roadmap!

Thanks

what is status?

I don't think I have to go with this plugin. you wasted my time.
Thanks

I don't think I have to go with this plugin. you wasted my time.
Thanks

You know you can submit a PR. Say thanks, people like @searchy2 make plugins open source for the flutter community.

I can't get any reply regarding overlap issue from your side since many days. so that.
If you give me duration when it will be done then its good for me and then i will use it in new project.
Thanks

I apologize for the delay and need to be clearer in communicating whether I'm actively developing this project.
The good news is that the Responsive Framework is open source so you have the ability to look at the source code and contribute changes!

I'll be updating the Reponsive Framework this week for the new Pub.dev so I'll be able to tackle some open issues.

Thanks for your reply. i hope i will get solution very soon.
Thanks

I've restarted work towards a stable v0.1.0 release. Targeting 100% test coverage and documentation this week!

Thanks man.

Hi,
I have tried your new code from github. but can't get any solution still its looking like same.
i am attaching source code as well as screen shots for 2 different different device. you can see still overlap issue.

you can see attached source code below. please guide me if i made any mistake.
flutter_demo1 22-7-2020(1).zip
Thanks

Haven't released a new version yet. There's progress each day.

Thanks for providing a demo.

Once it done let me know.

Hi,
Have you resolved issue regarding overlap in new version 0.08?
Thanks

Not yet, but this is the next issue I'm tackling!

when it will be resolved?

@theantiqa you annoy me. You are not some client at some bar here. Open-sourced projects are built by people who are willing to give their time for the community.  So if you want it so badly and so quickly, just do it yourself (and don't forget to send a PR 😉 ).

@sorasful I hide your comment because personal attacks are not allowed.
Open source is a wonderful thing and software wouldn't work without people giving their time and energy to create useful libraries.
@theantiqa, you are always welcome to contribute and I can even help point you in the right direction as to what needs to be done to fix this issue. Please realize that open source contributors try to be as helpful as time and resource constraints allow.

Thanks you @TusharDcs for the sample project.
The status bar overlap is fixed in v0.0.10.


Add arith.select Pattern to --secret-to-bgv

This adds the following rewrite pattern:
%res = arith.select %c, %t, %f
// turns into
%ct = bgv.mul %c, %t
%nc = bgv.negate %c  // EDIT: actually a bug, this should be logical negation, i.e., bgv.sub %one, %c
%ncf = bgv.mul %nc, %f
%sum = bgv.add %nc, %ncf
%res = bgv.relinearize %sum

However, as-is, this pattern actually produces invalid IR: %c has (element/self) type i1 while %t and %f can have any IntegerLike type, e.g., i32. In the current TypeConverter, this means that the condition is mapped to a ciphertext with encoding #lwe.polynomial_evaluation_encoding<cleartext_start = 1, cleartext_bitwidth = 1> while the other values are mapped to ciphertexts with encoding #lwe.polynomial_evaluation_encoding<cleartext_start = 32, cleartext_bitwidth = 32>.  Since bgv.mul requires the types of its operands to match, this is invalid IR.
In the current draft, I've simply hardcoded the typeconverter to map everything to 32 bits (that's why this is a Draft PR only for now), but we'll need to think about how to handle such cases. I think this is a special case of "what is the plaintext-FHE semantics mapping" (Step 1 in #785).

@asraa In today's meeting, I said this only needed a small bugfix, because I only remembered that I still need to swap bgv.negate %c to bgv.sub_plain %one, %c, but I forgot about the real blocker here, which is the typing issue, so this does indeed hang on the attribute/type rework (though probably not even the LWE one, but a future one for cleartext<>plaintext semantics cleanup)


Enable the import/no-commonjs ESLint plugin rule

Given the amount of work put into removing require-calls from the code-base, let's ensure that new ones aren't accidentally added in the future.
Note that we still have a couple of files where require is being used, in particular:

The Node.js examples, however those will be updated to use import in PR #17081.
The Webpack examples, and related support files, however I unfortunately don't know enough about Webpack to be able to update those. (Hopefully users of that code will help out here, once version 4 is released.)
The statcmp-tool, since some of those require-calls cannot be converted to import without other code changes (and that file is only used during benchmarking).

Please find additional details at https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-commonjs.md

/botio lint

Good idea, and thanks for all the work to remove require usage!


[IR] Improvements to CTALayout.

[IR] Improvements to CTALayout.

Ensure all layouts have a nonempty CTALayout.  (Previously, you could
have an empty CTALayout on an op, which would lead to "fun" crashes
inside the compiler.)

Make CTALayout optional in textual IR.
If a module has only one CTA per CGA, then none of the CTALayout
layout options matter, and we can avoid printing them.

Add documentation for CTALayout, mostly written by @qliu93.

PR chain

👉 #3050 👈 YOU ARE HERE

Thank you for the reviews!


Migrations being applied to the wrong repo with multiple repos

Precheck
Wasn't able to find this reported anywhere else.
Environment

Elixir version (elixir -v):  1.5.2
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.):  PostgreSQL 9.5
Ecto version (mix deps): 2.2.9
Database adapter and version (mix deps): postgrex 0.13.5
Operating system: mac OS 10.13.4

Current behavior
I have an app with two repos:  MyApp.Repo for the application itself, and MyAppTest.Repo for testing.  In config.exs, I only configure MyApp.Repo.  In test.exs, I configure both.
I can create/drop/etc the test repo by running commands with MIX_ENV=test - e.g., MIX_ENV=test mix ecto.create creates both test repos.  mix ecto.create creates only the dev repo.   This is what I expected :+1:.
The weirdness comes with migrations.  I can create a migration for MyAppTest.Repo using MIX_ENV=testd mix ecto.gen.migration some_migration -r MyAppTest.Repo and it creates a file in priv/repo/migrations that defines MyAppTest.Repo.Migrations.SomeMigration.  When I run mix ecto.migrate the migration is applied to MyApp.Repo.  When I run MIX_ENV=test mix ecto.migrate, it applies the migration to BOTH repositories.
Another slightly odd thing that happens is that I get warnings that the migration modules are being redefined (current version defined in memory) when I run MIX_ENV=test mix ecto.migrate.
Expected behavior
I expected that the migrations would be applied to the appropriate repos.  It's not clear from the documentation how ecto chooses which migrations to apply to which repos.  I assumed this was "automatic" based on comparing the repo name and the module name - I.e., MyApp.Repo.Migrations.* vs MyAppTest.Repo.Migrations.*.  Perhaps there should be an explicit way to specify this.
I might be able to extract my set up to a simplified dummy repository for reproduction if that would help.

We use last part of your repository name for figure out the path. The module names do not matter. You can configure it by setting the priv key in your repository configuration. More info in the ecto.migrate command docs.

In any case, thanks for opening up the issue @dantswain! I have also pushed improved docs to master!

Thanks, @josevalim!  Knowing how ecto finds/selects migrations is a big help.
I think there may still be a bug here.  When I create a migration with the -r option, it does not put the migration in a repo-specific subdirectory - it just puts it in /priv/repo/migrations.
Also, I just tried adding the :priv key to the repo config, and it generates the migration in the directory named there and not a subdirectory of priv (which is how I read the docs) - i.e.,
config :my_app, MyTestRepo,
  priv: "test_repo"

puts generated migrations in test_repo/ not priv/test_repo.

I think there may still be a bug here. When I create a migration with the -r option, it does not put the migration in a repo-specific subdirectory - it just puts it in /priv/repo/migrations.

In your case they share the same directory, that's why it always ends up there.

Also, I just tried adding the :priv key to the repo config, and it generates the migration in the directory named there and not a subdirectory of priv (which is how I read the docs) - i.e.,

Yeah, I agree the previous docs were lacking examples. This is how they look like now: https://github.com/elixir-ecto/ecto/blob/5c2cde986cd038d698b2cedcf2ca76536e0d86b1/lib/mix/tasks/ecto.migrate.ex#L10
Does it make it clear?

Migrations are expected at “priv/YOUR_REPO/migrations” directory of the current application but it can be configured to be any subdirectory of priv by specifying the :priv key under the repository configuration.

For sure this could just be me, but I read this to say migrations will be at priv/YOUR_REPO/migrations by default - i.e., without declaring an override, MyApp.Repo1 would look in priv/repo1 and MyApp.Repo2 would look in priv/repo2.  It's not super prescriptive, so I am definitely making some assumptions.
I also read "can be configured to be any subdirectory of priv by specifying the :priv key" to mean that that value would specify the subdirectory of priv.
I'd be glad to try to put together some proposed improvements if you'd like.  I think it's just a matter of being precise and verbose.

@dantswain the new documentation link I pointed to above does not use that phrasing anymore. In any case, PRs to further improve this are definitely welcome!

Oh cool, when you first posted that snippet I don't think github had become "eventually consistent" so I was seeing the old language still.  The new language is much better :+1:.  I may take a look at gen.migration as well to see if anything there might have helped me stay on track.  Thanks again!


[FEAT] - Starr Path conversion

Convert Starr paths from nix to windows and vice versa

https://github.com/austinwbest/random/blob/main/sqlite/osSwap.php


New-SSHSession (1.7.2) not honoring Active Directory domain in $cred

I'm running 1.6 and 1.7.2 and am seeing that New-SSHSession is not passing the Active Directory domain credentials properly, looks like it's stripping out anything in front of the username:
PS E:> $cred.username
mydomain\myuser
$session = New-SSHSession -computer $computer -Credential $cred -AcceptKey:$true
New-SSHSession : Sequence contains more than one elementAt line:1 char:12

$session = New-SSHSession -computer $computer -Credential $cred -AcceptKey:$true

       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [New-SSHSession], InvalidOperationException
FullyQualifiedErrorId : System.InvalidOperationException,SSH.NewSshSession

On the Linux server (running Power Broker Identity Services) I see the login without the domain prepended.  when I perform a manual login with Putty I see the domain listed:
Oct  8 23:03:49 xxxxxxxxxx sshd[6137]: input_userauth_request: invalid user myuser

myuser should be mydomain\myuser.

Any thoughts on this?
Ben

It should work, just in case I reviewed the code again and pushed a pinch of fixes in to master branch, can you download the latest build from master and test again? I know Kerberos is not supported but simple keyboard interactive method should pass the proprer username.

On Oct 8, 2015, at 11:10 PM, Ben-Conrad<EMAIL_ADDRESS>wrote:
I'm running 1.6 and 1.7.2 and am seeing that New-SSHSession is not passing the Active Directory domain credentials properly, looks like it's stripping out anything in front of the username:
PS E:> $cred.username
mydomain\myuser
$session = New-SSHSession -computer $computer -Credential $cred -AcceptKey:$true
New-SSHSession : Sequence contains more than one elementAt line:1 char:12
$session = New-SSHSession -computer $computer -Credential $cred -AcceptKey:$true
CategoryInfo : NotSpecified: (:) [New-SSHSession], InvalidOperationException
FullyQualifiedErrorId : System.InvalidOperationException,SSH.NewSshSession
On the Linux server (running Power Broker Identity Services) I see the login without the domain prepended. when I perform a manual login with Putty I see the domain listed:

Oct 8 23:03:49 xxxxxxxxxx sshd[6137]: input_userauth_request: invalid user myuser

myuser should be mydomain\myuser.

Any thoughts on this?

Ben

—
Reply to this email directly or view it on GitHub <https://github.com/darkoperator/Posh-SSH/issues/70>.

Yup your changes fixed the issue.  I confirmed the current 1.7.2 still did not work, then replaced it with the one from Main.  It works!
Thanks,
Ben

Cool will update version and push a new version to the gallery
Sent from my iPhone

On Oct 9, 2015, at 12:31 PM, Ben-Conrad<EMAIL_ADDRESS>wrote:
Yup your changes fixed the issue. I confirmed the current 1.7.2 still did not work, then replaced it with the one from Main. It works!
Thanks,
Ben
—
Reply to this email directly or view it on GitHub.


Updated validations.py python script.

Updated the validations.py script, fixed username behaviour to show False if first character of username is not alphanumeric.
Closes: #1
Fixes #287

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!

@googlebot I signed it!

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

Googlers: Go here for more info.

@googlebot I signed it!


Pass symbol under inspection into checkIndexConstraints

Rather than relying on finding on the type we pass in, which may not have a symbol it it's, eg, an intersection.
Fixes #46223

Cheers, thank you very much for fixing the

https://github.com/huan/clone-class/issues/58

When could I expected this PR to be published to typescript@next?


The base map png is outdated

I'd commit an updated map myself but I can't find where the base image is in this repo
It should include Varlamore, DT2 sites, and some others

I started working on le new update again recently (I swear it's ready this time, again, just gotta test it) and it includes the rough draft version of Varlamore but I have to wait for Explv to update his full world map image generator or figure out another way to get an updated world map with the correct resolution (the world map image hosted by jagex is 3 pixels per tile but the full map image I have is 4 pixels per tile) before I can properly put Varlamore and stuff in the image output
the rough draft version:

Nevermind I figured it out and varlamore will be on the map in the upcoming update


Improve retry policy for requests

Motivation
From February 1st, 2020 Delivery API will start enforcing rate limits to ensure fair usage by as many clients as possible. These rate limits should be high enough to work for most clients by default. However, in particular cases Delivery API might respond with 429 Too many requests. These responses will also contain the Retry-After header indicating how long the client should wait before making a follow-up request.
Proposed solution
Implement a retry policy that handles 429 Too many requests and retries the HTTP call using information from an optional Retry-After header. It can contain a date after which to retry or the seconds to delay after the response is received. We recommend a retry policy with exponential backoff and a jitter strategy to overcome peaks of similar retries coming from many clients. The retry policy should handle the following status codes:

408 Request Timeout
429 Too many requests
500 Internal Server Error
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout

Please note that both 429 Too many requests and 503 Service Unavailable responses might contain an optional Retry-After header.
Additional context

https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
https://github.com/Kentico/kontent-delivery-sdk-net/blob/master/Kentico.Kontent.Delivery/RetryPolicy/DefaultRetryPolicy.cs

Retry policy was implemented in @kentico/kontent-core package according to this description and this library was updated accrodingly in https://github.com/Kentico/kontent-delivery-sdk-js/commit/e2abd02a233f78f9c9152397f5eb915d73ba1189


Update default WORKING_DIRECTORY for ament_add_gtest()

See https://github.com/ament/ament_cmake/issues/406 for details.
Just logging the issue, I'll open a PR for the fix soon.

@icolwell-as can we close this since https://github.com/ros2/ros2_documentation/pull/3117 is merged?

Yeah, I'm going to go ahead and do that.  Thanks for bringing up the issue and opening the PRs!


Task output disappearing from integrated-terminal

VSCode Version: 2.0.0
OS Version: Linux

Steps to Reproduce:

Create a helloWorld.c file in its own directory.  Code is as follows.

# include <stdio.h>

int main(){
    printf("\n hello world \n");
    return 0;
}

In the same directory as the helloWorld.c create the task.json file by going to the top ribbon and selecting Tasks -> Configure Tasks and pasting the code below.

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "taskName": "Compile hello world",
            "type": "shell",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "focus": true,
                "panel": "shared"
            },
            "command": "gcc",
            "args": [
                "helloWorld.c"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "problemMatcher": [
                "$gcc"
            ]
        },
        {
            "taskName": "Run compiled file",
            "command": "./a.out",
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "panel": "new",
                "reveal": "always",
                "focus": true
            },
            "problemMatcher": [
                "$gcc"
            ]
        }
    ]
}

Save the tasks.json file and press Ctrl+Shift+B.
Select Compile hello world
press Ctrl+Shift+B
Select Run compiled file
Observe that hello world is briefly displayed in the integrated terminal and then disappears

Extensions:
C/C++
Code Runner
Python
vscode-icons

Reproduces without extensions: Yes

I can't reproduce this. Here is what I see under Linux (Fedora & Gnome)

Any additional information you can provide on how to reproduce this. Anything special about the shell you are using.

Hi dbaeumer,
I do not believe there is anything special with the shell (I'm kinda new to Linux). I just recently did a dual boot with Linux mint 17.1 cinnamon and Windows 10. Perhaps this is a problem specific to the distribution of Linux. Is there any specific command I could run in the terminal to provide you with more information?
@dbaeumer

I have the same problem as @seanybaggins, Archlinux, vscode version 1.5.1
In 1.16.0-1504156726_amd64.tar.gz it works and terminal waits for pressing a key.

I tested this with the latest inside as well. @seanybaggins could you try this on the latest insider. Or wait for the new stable coming out soon.

... interesting. It appears this is not an issue in vs code insiders. My plan is to test this functionality again in vs code when the update comes out. Thanks for your help @dbaeumer.

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T17:16:27.618Z)
OS Version: Linux x64 4.10.0-33-generic
Extensions:

Extension
Author (truncated)
Version

cpptools
ms-
0.12.3

rust
rus
0.2.2

I'm running into this issue and solved it by putting in a delay.
Steps to Reproduce:

{
"version": "2.0.0",
"tasks": [
    {
        "taskName": "compile",
        "type": "shell",
        "command": "time ${workspaceRoot}/build.sh",
        "group": {
            "kind": "build",
            "isDefault": true
        }
    }
]

}

Make a build.sh file that sleeps for some time, test at 0.10s and 0.25s.
#!/bin/bash
sleep 0.13

If the total time is less than .13s - .15s, the "Task - compile" terminal is destroyed immediately. When the bash script is compiling c code with clang, immediately destroyed when total time under .18s - .20s.

Reproduces without extensions: Yes

@nukiebaba thanks. Now it rings a bell. This is a dup of a issue that is in the terminal and got fixed for the next release.

Dups https://github.com/Microsoft/vscode/issues/32276


Kafka's RequestHandlerAvgIdlePercent MBean should be reported as gauge and not a rate

At the moment, the example kafka integration configuration is reporting the RequestHandlerAvgIdlePercent as follows:
    - include:
        domain: 'kafka.server'
        bean: 'kafka.server:type=KafkaRequestHandlerPool,name=RequestHandlerAvgIdlePercent'
        attribute:
          Count:
            metric_type: rate
            alias: kafka.request.handler.avg.idle.pct.rate

I believe this is incorrect for two reasons:

this metric is already a rate, so transforming it as a rate as part of DataDog is not necessary
this metric indicates a percentage, its Count is not really interesting, whereas its MeanRate makes more senses.

As configured above, the metric displays as follows in a dashboard:

Which does not really represent the Request Handler Average Idle Percent.
If we change the config as follows:
    - include:
        domain: 'kafka.server'
        bean: 'kafka.server:type=KafkaRequestHandlerPool,name=RequestHandlerAvgIdlePercent'                                                                           attribute:
          MeanRate:
            metric_type: gauge
            alias: kafka.request.handler.avg.idle.pct.rate

We then obtain the desired percentage value:

For more background, here is the description of that MBean according to the "Kafka, the definitive guide, chapter 10" (which can be obtained for free on Confluent's web site, so I hope they do not mind the copy/paste) :

The request handler idle ratio metric indicates the percentage of time the request handlers are not in use. The lower this number, the more loaded the broker is. Experience tells us that idle ratios lower than 20% indicate a potential problem, and lower than 10% is usually an active performance problem. Besides the cluster being undersized, there are two reasons you will see for high thread utilization in this pool. The first is that there are not enough threads in the pool. In general, you should set the number of request handler threads equal to the number of processors in the system (including hyperthreaded processors).

I'll submit a minor PR shortly.

Thanks a lot for the PR @svendx4f.
The fix should be available in the agent 5.15


guile-ssh: 0.16.3 -> 0.17.0-unstable-2024-10-15

Fixes the build failure seen at https://hydra.nixos.org/build/273797767/nixlog/1
cc @ethancedwards8 @foo-dogsquared

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[x] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4686

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 348857

x86_64-linux

:white_check_mark: 2 packages built:

guile-ssh
guix

aarch64-linux

:white_check_mark: 2 packages built:

guile-ssh
guix

x86_64-darwin

:white_check_mark: 1 package built:

guile-ssh

aarch64-darwin

:white_check_mark: 1 package built:

guile-ssh


Docs and minor code fixes

I made the changes suggested in #1696 that I was comfortable with.
I left out changes that would modify the structure of the documents.

Looks good apart from minor comments above; thanks!

Looks great!  I haven't checked what the effects of the minor changes made to the code were, but the docs look ready to merge after the above tiny fixes.  Thanks!

@jbednar If you agree that all your comments have been addressed, I'm happy to merge!

Hold off a little more: I am currently on 14_LargeData

Sure. Just shout when you think it is ready!

I won't add anything further for a few days. Just do what is most convenient for you...

In that case I think we should merge if @jbednar signs off on the latest changes.

Looks great, thanks!


resolve: allow use of predeclared name prior to a global def (if AllowGlobalReassign)

This change causes the AllowGlobalReassign flag (used for legacy Bazel
semantics) to also allow use of predeclared names prior to a global
binding of the same name, as in:
print(len); len=1; print(len)
This effectively reverses github.com/google/skylark/pull/123 behind an option.
See github.com/google/skylark/issues/116 for discussion.

the Bazel implementation lags behind the spec

This should be fixed with my commit from yesterday: https://github.com/bazelbuild/bazel/commit/3a979f72ea96ff4b66ba61b651b7dd8c244ad3a3
To be released in Bazel 0.21 (end of December).

@laurentlb: Consistent though the Skylark spec may be in its treatment of globals and locals, disallowing the first print(len) in the example above creates a problem no smaller than the one it solves, and gratuitously different from Python. The restriction was motivated by the idea that a reader shouldn't have to remember where they are in the file to know which version of len they are referring to---in particular, they don't have to look up.  But now they have to look down to see whether a redeclaration follows.
I think we should revert the spec to follow Python. Happily this would require no code change to Bazel.

In addition to being more consistent (same mechanism for local variables and global variables), it is important to be able to resolve symbols statically. For example, we need that for renaming symbols, code completion, jump to definition in an IDE, Kythe, linters and other static analyzers. This can also enable compiler optimizations.
The only place when the reassignment is useful is in the REPL.

@laurentlb, no-one disputes the value of static name resolution; that's not the issue here.  The REPL is also irrelevant because each gob of input is actually a new file evaluated in an old environment.
The issue is that we can statically resolve the first len in print(len); len=1; print(len) in two different ways: the Python way, which resolves to the definition "above", that is, the predeclared one, or the Skylark-spec way, which resolves the definition "below".
The Python way is clearly useful. For example, you might want to define a local variant of a built-in (print, say), using the same name:
builtin_print = print
def print(x): ....builtin_print(x)...
...
print(...) # calls the user-defined one

There are plenty of other examples in BUILD files.
But the Skylark-spec way is literally never useful. It's a guaranteed dynamic error.
The Python way is static, inconsistent but familiar, and useful. The Skylark-spec way is static, consistent but surprising, and not useful. How is that better?

This means that it's not possible to do renaming, code completion, etc. on len.

No, it doesn't; it means that static analysis tools have to implement the same static semantics as the language.

The spec-way tells you to avoid reusing the same name with multiple meanings.

But sometimes that is exactly what the user wants to do, and now they cannot. I gave you one realistic example already, and I have encountered several others since we changed the spec.
What problem do the spec semantics actually solve?

An error is often better than something that silently does the wrong thing.

True, but an error is often worse than a program that silently does the right thing. Let's be specific.

To take a more precise example: I have a tool that can rename global symbols. It finds all references and renames them.
With the Python semantics, that means that it's not possible to rename the def len from the example above, because the reference above sometimes refers to the builtin len instead.
Being able to find the cross-references is an important feature.

I have a tool that can rename global symbols. It finds all references and renames them. With the Python semantics, that means that it's not possible to rename the def len from the example above, because the reference above sometimes refers to the builtin len instead.

No, it would mean the tool had a bug. If we implemented the Python semantics, the correct behavior of the tool would be to resolve all the identifiers then rename only those that refer to the global symbol. The first len would not be one of them, so the tool would leave it alone.

Being able to find the cross-references is an important feature.

I agree, but that's irrelevant.

Ah, I forgot that unlike Skylark-in-Go, Python doesn't statically discriminate global and predeclared symbols---they compile to the same operation, and it dynamically tries one then the other. This does indeed violate the property you care about for tooling.
The fully static semantics I was alluding to, which we have established are not those of Python, would cause the len in foo to be resolved as a reference to the predeclared len function. Every time foo is called, that's what you get, regardless of any later global definition of the name len.


feat<login,register>: move login to sdk

Codecov Report

Merging #138 (85336e8) into dev (f29a8a1) will increase coverage by 0.23%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##               dev    #138      +/-   ##
==========================================
+ Coverage     5.35%   5.59%   +0.23%
  Complexity      35      35
==========================================
  Files           26      22       -4
  Lines         2167    2075      -92
  Branches       266     264       -2
==========================================
  Hits           116     116
+ Misses        2028    1936      -92
  Partials        23      23

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/webank/wecross/console/rpc/RPCImpl.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

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


fix!: copy contents of directory instead of the directory if store is used for directories

Closes #2227

Before this gets merged we have to have a PR ready to go for all major kurtosis packages, and all CI jobs have to be tested with this new version, as I expect it to break a lot of things!


chore: release v0.3.1

🤖 New release

daktilo: 0.3.0 -> 0.3.1

Changelog

[0.3.1] - 2023-10-08
📚 Documentation

(readme) Add MacPorts install info (#37) - (33ed3fd)

This PR was generated with release-plz.

Codecov Report
All modified lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:loudspeaker: Thoughts on this report? Let us know!.


added downloading osgi jar file

osgi jar file is used by CDSAdaptorTest
Related to Runtimes/Backlog 394

Signed-off-by: Longyu Zhang<EMAIL_ADDRESS>

test links:
openj9:
xlinux, aix, zlinux, plinux, windows, mac: Grinder_TKG 836-841
ibm:
zos, xlinux, plinux, aix, windows, zlinux: Grinder_TKG 846-851

@llxia @renfeiw Could you review it? Thanks.


Add ability to specify individual test targets via a regex

This lets you use regular expression matching to choose a particular set of tests to run. I've often wished for this functionality when testing a particular feature.
Example use:
$ python tests/lax_numpy_test.py --test_targets="testPad"
Running tests under Python 3.8.2: /Users/vanderplas/.local/share/virtualenvs/jax-LBbfM5ix/bin/python
[ RUN      ] LaxBackedNumpyTests.testPad_shape=bfloat16_mode=constant_rpadwidth=2_rconstantvalues=2
[       OK ] LaxBackedNumpyTests.testPad_shape=bfloat16_mode=constant_rpadwidth=2_rconstantvalues=2
[ RUN      ] LaxBackedNumpyTests.testPad_shape=bfloat16_mode=reflect_rpadwidth=2_rconstantvalues=None
[       OK ] LaxBackedNumpyTests.testPad_shape=bfloat16_mode=reflect_rpadwidth=2_rconstantvalues=None
[ RUN      ] LaxBackedNumpyTests.testPad_shape=bool[1,4]_mode=wrap_rpadwidth=2_rconstantvalues=None
[       OK ] LaxBackedNumpyTests.testPad_shape=bool[1,4]_mode=wrap_rpadwidth=2_rconstantvalues=None
[ RUN      ] LaxBackedNumpyTests.testPad_shape=bool[4]_mode=symmetric_rpadwidth=1_rconstantvalues=None
[       OK ] LaxBackedNumpyTests.testPad_shape=bool[4]_mode=symmetric_rpadwidth=1_rconstantvalues=None
[ RUN      ] LaxBackedNumpyTests.testPad_shape=float16[]_mode=constant_rpadwidth=1_rconstantvalues=1
[       OK ] LaxBackedNumpyTests.testPad_shape=float16[]_mode=constant_rpadwidth=1_rconstantvalues=1
[ RUN      ] LaxBackedNumpyTests.testPad_shape=float32_mode=wrap_rpadwidth=2_rconstantvalues=None
[       OK ] LaxBackedNumpyTests.testPad_shape=float32_mode=wrap_rpadwidth=2_rconstantvalues=None
[ RUN      ] LaxBackedNumpyTests.testPad_shape=float64[0]_mode=constant_rpadwidth=2_rconstantvalues=0
[       OK ] LaxBackedNumpyTests.testPad_shape=float64[0]_mode=constant_rpadwidth=2_rconstantvalues=0
[ RUN      ] LaxBackedNumpyTests.testPad_shape=float64[3,4]_mode=constant_rpadwidth=0_rconstantvalues=2
[       OK ] LaxBackedNumpyTests.testPad_shape=float64[3,4]_mode=constant_rpadwidth=0_rconstantvalues=2
[ RUN      ] LaxBackedNumpyTests.testPad_shape=float64_mode=wrap_rpadwidth=1_rconstantvalues=None
[       OK ] LaxBackedNumpyTests.testPad_shape=float64_mode=wrap_rpadwidth=1_rconstantvalues=None
[ RUN      ] LaxBackedNumpyTests.testPad_shape=int32[2,1,4]_mode=constant_rpadwidth=0_rconstantvalues=2
[       OK ] LaxBackedNumpyTests.testPad_shape=int32[2,1,4]_mode=constant_rpadwidth=0_rconstantvalues=2
----------------------------------------------------------------------
Ran 10 tests in 0.286s

OK

How is this different from using pytest tests/lax_numpy_test.py -k testPad?

It's quite similar, but it works directly in absl rather than requiring pytest.

I don't have a real objection, though I'm not sure we need to support directly tests with absltest. I guess this is useful for running our internal tests?

One reason I like testing with absl instead of pytest is that arguments like jax_enable_x64 are specified as argument that error if you have a typo. For pytest, if you type something like
JAX_ENABEL_X64=1 pytest tests/lax_numpy_test.py

it will happily execute the wrong thing.

I think this is fine, but I will likely continue to use "-k" because at times I have found its support for boolean expressions useful.

Ah this is so awesome! I use absl directly all the time e.g. to printf debug tests, and have often wished for this! I didn't know it was possible :)

Any volunteers to review? :grin:


Internal Error: "Permission denied. Double check that the access policy..." when sending request to authorization provider gateway.

[Enter feedback here]
I followed all the steps, but got an error in the last step when testing the API. When I tried to send request to my API, I got a 500 internal error and the traced information is this:
Inbound
(79.331 ms)

api-inspector (0.561 ms)
{
    "request": {
        "method": "GET",
        "url": "https://apim-franktest.azure-api.net/msgraph/me",
        "headers": [
            {
                "name": "sec-ch-ua",
                "value": "\"Not_A Brand\";v=\"8\",\"Chromium\";v=\"120\",\"Microsoft Edge\";v=\"120\""
            },
            {
                "name": "sec-ch-ua-mobile",
                "value": "?0"
            },
            {
                "name": "ocp-apim-subscription-key",
                "value": "7f04debc3c5d4cad8f3bd352a9c4823e"
            },
            {
                "name": "X-Forwarded-For",
                "value": "<IP_ADDRESS>"
            },
            {
                "name": "sec-ch-ua-platform",
                "value": "\"Windows\""
            },
            {
                "name": "Sec-Fetch-Site",
                "value": "cross-site"
            },
            {
                "name": "Sec-Fetch-Mode",
                "value": "cors"
            },
            {
                "name": "Sec-Fetch-Dest",
                "value": "empty"
            },
            {
                "name": "Cache-Control",
                "value": "no-cache, no-store"
            },
            {
                "name": "Accept",
                "value": "*/*"
            },
            {
                "name": "Accept-Encoding",
                "value": "gzip,deflate,br"
            },
            {
                "name": "Accept-Language",
                "value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
            },
            {
                "name": "Host",
                "value": "apim-franktest.azure-api.net"
            },
            {
                "name": "Referer",
                "value": "https://apimanagement.hosting.portal.azure.net/"
            }
        ]
    }
}

api-inspector (0.038 ms)
{
    "configuration": {
        "api": {
            "from": "/msgraph",
            "to": {
                "scheme": "https",
                "host": "graph.microsoft.com",
                "port": 443,
                "path": "/v1.0",
                "queryString": "",
                "query": {},
                "isDefaultPort": true
            },
            "version": null,
            "revision": "1"
        },
        "operation": {
            "method": "GET",
            "uriTemplate": "/me"
        },
        "user": "-",
        "product": "-"
    }
}

cors (0.568 ms)
"Origin header was missing or empty and the request was classified as not cross-domain. CORS policy was not applied."

get-authorization-context (0.023 ms)
"Using cache 'internal'."

get-authorization-context (0.425 ms)
{
    "message": "Obtaining managed identity token using clientId:b70f4975-2708-4bd6-9779-51e14cb4f0e1 AAD Authority:https://login.windows.net/2f1e9fa5-d40a-476c-ac84-5744d601ca90 for https://apihub.azure.com audience succeeded.",
    "errorResponse": null
}

get-authorization-context (0.160 ms)
{
    "message": "Sending request to authorization provider gateway.",
    "request": {
        "apimServiceName": "apim-franktest",
        "providerId": "microsoftgraph-01",
        "authorizationId": "connection-02",
        "identityType": "jwt",
        "identityMetadata": "{ objectId: eadcddd5-4210-4c8b-a32d-2adeacb24316, tenantId: 2f1e9fa5-d40a-476c-ac84-5744d601ca90 }",
        "correlationId": "fb4c5128-6180-4efc-b750-f5080736c18e"
    }
}

get-authorization-context (77.555 ms)
{
    "messages": [
        null,
        "Permission denied. Double check that the access policy for { objectId: eadcddd5-4210-4c8b-a32d-2adeacb24316, tenantId: 2f1e9fa5-d40a-476c-ac84-5744d601ca90 } has been created properly."
    ]
}

Outbound
(0.209 ms)[↑ Back to top](https://apimanagement.hosting.portal.azure.net/apimanagement/Content/1.803.0.0/apimap//apimap-apis/index.html?clientOptimizations=undefined&l=en.en-us&trustedAuthority=https%3A%2f%2fportal.azure.com&shellVersion=undefined#httpResponse)

transfer-response (0.209 ms)
{
    "message": "Response has been sent to the caller in full"
}

I checked my auth provider and connection, confirmed that I had added myself in the access policies as user type:

So I don't know why I still got the access permission denied error.
PS. I used a personal @outlook.com account, wondering if the account type matters.

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

ID: a62d36f5-198a-2d0f-eca5-6e6daac76502
Version Independent ID: dc6ceea4-5f82-42c7-8332-e22b1e696766
Content: Manage connections for end users - Azure API Management
Content Source: articles/api-management/credentials-how-to-user-delegated.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

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

@frankqianms Can you validate if the connection still shows as Connected? Also, validate if JWT token has expected audience claim https://azure-api.net/authorization-manager as described in doc: https://learn.microsoft.com/en-us/azure/api-management/get-authorization-context-policy#attributes.

@frankqianms I would like to let you know that this repo is mainly for doc related feedback. If you still face issues or need help, please reach out to azure support team or post your technical question via Microsoft QnA forum.
The experts can assist you in resolving the issue. We will now proceed to close this issue.


Need to create a master-2.x branch

@neo-project/core @neo-project/developers can we please clean the master branch with only Neo|N3 compatible smart contract examples? Either update the code or remove them if there are not necessary anymore. It will cause compulsion with outdated examples for developers.


Fix NewRoomPage visibility dropdown

No idea how this got past review but the value prop for the dropdown in the WorkspaceNewRoomPage was being hard-coded to CONST.REPORT.VISIBILITY.RESTRICTED preventing the dropdown from updating with the selected value.
Fixed Issues
$ https://github.com/Expensify/App/issues/6757
Tests/QA

Select "New Room" from the global create menu.
Attempt to change the Visibility dropdown (it should start with "Restricted"). Verify it works correctly.

Screenshots

Web

Mobile Web

Desktop

iOS

Android

I know the screenshots won't work here but can you post a mini video of the tests steps showing it's working now?

Lol good find 🤦🏾

: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.

🚀 Deployed to staging by @TomatoToaster in version: 1.1.21-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@jasperhuangg Don't forget to add that mini video as proof of testing.

🚀 Deployed to production by @sketchydroide in version: 1.1.22-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Increase volume size from 1Gi to 5Gi

A customer has a 1.9GB database they'd like to import to a persistent volume. It looks like the GCE virtual disk volumes are only $0.04/month/GiB so we're going to increase from 1GiB to 5GiB.
Support thread (internal) https://uffizzi-internal.slack.com/archives/CN4255W79/p1665633562421119?thread_ts=1665501099.686279&cid=CN4255W79

Merged and released


Move utility scripts to a separate repo

Some of the utility scripts are not a core part of bcbio but may have dependencies that are difficult to install due to conflicts with the core dependencies:

https://github.com/bcbio/bcbio-nextgen/tree/v1.2.0/scripts/utils
https://github.com/chapmanb/cloudbiolinux/pull/339#issuecomment-589708378

If these scripts are moved to a separate repo (e.g., bcbio-utils) then they could be combined into a PyPI package for easy installation along with their dependencies.

Thanks, Ilya-- I added you to the bcbio group so you should be able to make a new repository under the group.

Thanks for adding me to the org :) Do you have a preference for a name of the new repo? Some examples: bcbio-utils, bcbio-scripts, bcbio-tools.

Great-- whatever makes sense, bcbio-utils sounds good to me.

On the same note,
shouldn't cloudbiolinux also be moved under the bcbio organisation since it's directly linked to the dependencies and resources for bcbio?
Cheers
M

Simply adding the Conda package YAML file to the bcbio-nextgen repo would work too.

Thanks for these suggestions!
Ilya:
Besides being a conda yaml provider,
cloudbiolinux is a collection of many data installation recipes:
https://github.com/chapmanb/cloudbiolinux/tree/master/ggd-recipes
Having it as a separate entity is very useful to debug recipes in the first place.
Matthias:
I think historically cloudbiolinux's scope was much wider than just being a component of bcbio installer. And it still holds this potential - Brad or somebody else might develop it further. Some users don't run bcbio pipelines, they just need to maintain their installation of conda packages + data files for the lab.  Moving cloudbiolinux under bcbio won't solve any issues, but may disrupt installation/updates for some users (i.e. we may create some minor issues this way). So I'd propose to leave it for now as is, since we have a lot of more pressing issues, even ones related to cloudbiolinux: R3.6, python environments, miRNA for Drosophila etc.

Thanks Sergey. Curious, how does having the data installation recipes in a separate project help with debugging?

Moving is complete: https://github.com/bcbio/bcbio-utils


feature-gate: add mixedCPUs to feature gate

Adding a feature gate to mixedCPUs feature.
The full enhancement proposal can be found here: https://github.com/openshift/enhancements/commit/76ea48a88bca15ef6157aacf90b8544a763e6075

/lgtm

@deads2k @JoelSpeed ptal

/approve

/test e2e-aws-serial-techpreview

/test e2e-aws-serial-techpreview

/test e2e-aws-serial-techpreview

PR needed a rebase hence re-pushed

/lgtm


Update sbt to 1.3.11

Updates org.scala-sbt:sbt from 1.3.10 to 1.3.11.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Codecov Report

Merging #553 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #553      +/-   ##
==========================================
- Coverage   78.84%   78.82%   -0.03%
==========================================
  Files         122      122
  Lines        4004     4004
  Branches       89       89
==========================================
- Hits         3157     3156       -1
- Misses        847      848       +1

Impacted Files
Coverage Δ

.../akka/actor/process_instance/ProcessInstance.scala
85.81% <0.00%> (-0.68%)
:arrow_down:

Continue to review full report at Codecov.

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


Update spine-base and spine-time dependencies

In this PR I have bumped the base and time dependencies to their up-to-date versions (v1.5.19).
As a side change, I have backported the behavior of the publishing script (same as in https://github.com/SpineEventEngine/config/pull/124) that allows us to fail the build in case of an issue with the publishing.

@armiol, PTAL.


How to disable the past dates from current day?

Have you found any workaround for this problem?

Have you found any workaround for this problem?(3)

Have you found any workaround for this problem?(4)

Have you found any workaround for this problem?(5)

Have you found any workaround for this problem?(6)

private fun disablePastCalendarDays(){
    val c = Calendar.getInstance()

    val disabledDaysSet: MutableSet<Long> = HashSet()
    for (day in c.get(Calendar.DAY_OF_MONTH) downTo 1){
        c.add(Calendar.DATE, -1)
        disabledDaysSet.add(c.timeInMillis)
    }

    schedule_calendar_view.disabledDays = disabledDaysSet
}

private fun disablePastCalendarDays(){
    val c = Calendar.getInstance()

    val disabledDaysSet: MutableSet<Long> = HashSet()
    for (day in c.get(Calendar.DAY_OF_MONTH) downTo 1){
        c.add(Calendar.DATE, -1)
        disabledDaysSet.add(c.timeInMillis)
    }

    schedule_calendar_view.disabledDays = disabledDaysSet
}

It works :)

private fun disablePastCalendarDays(){
    val c = Calendar.getInstance()

    val disabledDaysSet: MutableSet<Long> = HashSet()
    for (day in c.get(Calendar.DAY_OF_MONTH) downTo 1){
        c.add(Calendar.DATE, -1)
        disabledDaysSet.add(c.timeInMillis)
    }

    schedule_calendar_view.disabledDays = disabledDaysSet
}

It works :)

아이엔님을 여기서보네요 ㅎㅎ 오픈카톡방에서 뵜었는데


[WIP] add issue templates and action to reduce support requests in issues

See https://discourse.gohugo.io/t/github-issue-template-to-reduce-support-issues/20873
The bug and proposal issue templates were not modified from the defaults provided by the Github template builder. Support requests that make it through with the support template will be given the label "Support" and automatically closed weekly by https://github.com/bdougie/close-issues-based-on-label

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Invalid SSML Request - Please Help!

Thank you so much for your help with aws-tts!
I keep getting the following ERROR - Response code 400 (Bad Request): Invalid SSML request

What is the exact command you are running? For your security, please "X" out any AWS access keys and secrets.  aws-tts tlsaeaudio1.txt tlsaeaudioc.mp3 --voice Matthew --type ssml --access-key XXXXXXXXXX --secret-key XXXXXXXXXX

What result are you seeing in the console? Copy & paste the exact output you get, with debugging turned on (see the Troubleshooting section for how to enable debugging).
C:\Users\Matt>aws-tts tlsaeaudio1.txt tlsaeaudioc.mp3 --voice Matthew --type ssml --access-key XXXXXXXXXX --secret-key XXXXXXXXXX
aws-tts called with arguments {"":["tlsaeaudio1.txt","tlsaeaudioc.mp3"],"voice":"Matthew","type":"ssml","access-key":"XXXXXXXX","secret-key":"XXXXXXXX"} +0ms  aws-tts input: tlsaeaudio1.txt +4ms
aws-tts output: tlsaeaudioc.mp3 +1ms
Reading text
readText Reading from tlsaeaudio1.txt +0ms
readText Finished reading (10222 bytes) +0ms
Splitting text
chunkXml Started SAX XML parser +0ms
chunkXml Found tag: {"name":"speak","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Section 1... +0ms
chunkXml Adding chunk: Section 1... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Introduction... +0ms
chunkXml Adding chunk: Introduction... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Course Overview and Objectives... +0ms
chunkXml Adding chunk: Course Overview and Objectives</p... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Welcome to... +0ms
chunkXml Adding chunk: Welcome to... +0ms
chunkXml Found tag: {"name":"emphasis","attributes":{"level":"moderate"},"isSelfClosing":false} +0ms
chunkXml Found text: Wise... +0ms
chunkXml Adding chunk: Wise</emphasi... +0ms
chunkXml Found closing tag: "emphasis" +0ms
chunkXml Adding "emphasis" to extra tags and popping the stack +0ms
chunkXml Found text: Traffic... +0ms
chunkXml Adding chunk: Tr... +0ms
chunkXml Found tag: {"name":"prosody","attributes":{"pitch":"-10%"},"isSelfClosing":false} +0ms
chunkXml Found text: School’s... +0ms
chunkXml Adding chunk: School’s... +0ms
chunkXml Found closing tag: "prosody" +0ms
chunkXml Adding "prosody" to extra tags and popping the stack +0ms
chunkXml Found text: Traffic Law and Substance Abuse Education Course. ... +0ms
chunkXml Adding chunk: Traffic ... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Why does the State of Florida require a person who... +0ms
chunkXml Adding chunk: Why does the State of Florida req... +0ms
chunkXml Found tag: {"name":"phoneme","attributes":{"alphabet":"ipa","ph":"laɪvz"},"isSelfClosing":false} +0ms
chunkXml Found text: lives... +0ms
chunkXml Adding chunk: lives... +0ms
chunkXml Found closing tag: "phoneme" +0ms
chunkXml Adding "phoneme" to extra tags and popping the stack +0ms
chunkXml Found text: on our highways, and our state is particularly con... +0ms
chunkXml Adding chunk: </pho... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: This course has the following objectives: First, t... +0ms
chunkXml Adding chunk: This course has the following obj... +0ms
chunkXml Found tag: {"name":"emphasis","attributes":{"level":"moderate"},"isSelfClosing":false} +0ms
chunkXml Found text: our... +0ms
chunkXml Adding chunk: our</emphasis... +0ms
chunkXml Found closing tag: "emphasis" +0ms
chunkXml Adding "emphasis" to extra tags and popping the stack +0ms
chunkXml Found text: country, impaired driving is one of the leading ca... +0ms
chunkXml Adding chunk: co... +0ms
chunkXml Adding chunk: Third, to encourage students to make a c... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: When a person is killed in a traffic crash, the pe... +0ms
chunkXml Adding chunk: When a person is killed in a traf... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: In... +0ms
chunkXml Adding chunk: In... +0ms
chunkXml Found tag: {"name":"emphasis","attributes":{"level":"moderate"},"isSelfClosing":false} +0ms
chunkXml Found text: our... +0ms
chunkXml Adding chunk: our</emphasis... +0ms
chunkXml Found closing tag: "emphasis" +0ms
chunkXml Adding "emphasis" to extra tags and popping the stack +0ms
chunkXml Found text: state, there have been many examples of young, und... +0ms
chunkXml Adding chunk: st... +0ms
chunkXml Adding chunk: In this tragic crash, it was reported th... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Numerous laws and safe driving practices were viol... +0ms
chunkXml Adding chunk: Numerous laws and safe driving pr... +0ms
chunkXml Found tag: {"name":"emphasis","attributes":{"level":"moderate"},"isSelfClosing":false} +0ms
chunkXml Found text: our... +0ms
chunkXml Adding chunk: our</emphasis... +0ms
chunkXml Found closing tag: "emphasis" +0ms
chunkXml Adding "emphasis" to extra tags and popping the stack +0ms
chunkXml Found text: state, a driver is presumed to be impaired with a ... +0ms
chunkXml Adding chunk: st... +0ms
chunkXml Adding chunk: The combination of alcohol and speed res... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Of the many causative factors in this crash, drink... +0ms
chunkXml Adding chunk: Of the many causative factors in ... +0ms
chunkXml Adding chunk: It is sobering to realize that poor judg... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: This course will address the following subjects: P... +0ms
chunkXml Adding chunk: This course will address the foll... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Before we begin our discussion of the physiologica... +0ms
chunkXml Adding chunk: Before we begin our discussion of... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Alcohol... +0ms
chunkXml Adding chunk: Alcohol... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: According to the 2011 National Survey on Drug Use ... +0ms
chunkXml Adding chunk: According to the 2011 National Su... +0ms
chunkXml Found tag: {"name":"break","attributes":{"time":"5s"},"isSelfClosing":true} +0ms
chunkXml Found closing tag: "break" +0ms
chunkXml Adding "break" to extra tags and popping the stack +0ms
chunkXml Found text: Alcohol is used by about half of those in the 18 t... +0ms
chunkXml Adding chunk: Alcohol is used... +0ms
chunkXml Adding chunk: This is about 14 times the 5% of young p... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Tobacco... +0ms
chunkXml Adding chunk: Tobacco... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: The National Survey on Drug Use and Health also ga... +0ms
chunkXml Adding chunk: The National Survey on Drug Use a... +0ms
chunkXml Found tag: {"name":"break","attributes":{"time":"2s"},"isSelfClosing":true} +0ms
chunkXml Found closing tag: "break" +0ms
chunkXml Adding "break" to extra tags and popping the stack +0ms
chunkXml Found text: As with young alcohol users, use of tobacco produc... +0ms
chunkXml Adding chunk: As with young a... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: Illicit Drugs... +0ms
chunkXml Adding chunk: Illicit Drugs... +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found text: The National Survey on Drug Use and Health lists t... +0ms
chunkXml Adding chunk: The National Survey on Drug Use a... +0ms
chunkXml Adding chunk: According to this survey the following a... +0ms
chunkXml Found tag: {"name":"break","attributes":{"time":"5s"},"isSelfClosing":true} +0ms
chunkXml Found closing tag: "break" +0ms
chunkXml Adding "break" to extra tags and popping the stack +0ms
chunkXml Found text: Alcohol, tobacco and drug use among young people c... +0ms
chunkXml Adding chunk: Alcohol, tobacc... +0ms
chunkXml Adding chunk: Also, 95% or more are not using other il... +0ms
chunkXml Found tag: {"name":"p","attributes":{},"isSelfClosing":false} +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found closing tag: "p" +0ms
chunkXml Adding "p" to extra tags and popping the stack +0ms
chunkXml Found closing tag: "speak" +0ms
chunkXml Adding "speak" to extra tags and popping the stack +0ms
chunkXml Reached end of XML +0ms
splitText Stripping whitespace +0ms
generateSpeech Options: {"access-key":"XXXXXXXX","ffmpeg":"ffmpeg","format":"mp3","limit":5,"region":"us-east-1","secret-key":"XXXXXXXX","type":"ssml","voice":"Matthew","":["tlsaeaudio1.txt","tlsaeaudioc.mp3"]} +0ms
createPolly Creating Polly instance in us-east-1 +0ms
Convert to audio (0/40)
generateAll Requesting 40 audio segments, 5 at a time +0ms
callAws Opening output stream to C:\Users\Matt\AppData\Local\Temp\56ccf6e0-57b5-4661-b517-fd3d1b83828b.mp3 +0ms
callAws Making request to https://polly.us-east-1.amazonaws.com/v1/speech?OutputFormat=mp3&Text=<speak%3...&TextType=ssml&VoiceId=Matthew&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=20180412T021421Z&X-Amz-Expires=1800&X-Amz-Signature=8...&X-Amz-SignedHeaders=host +0ms
callAws Opening output stream to C:\Users\Matt\AppData\Local\Temp\a27b5ceb-f9b2-405a-a192-d77cf177dcee.mp3 +0ms
callAws Making request to https://polly.us-east-1.amazonaws.com/v1/speech?OutputFormat=mp3&Text=<speak%3...&TextType=ssml&VoiceId=Matthew&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=20180412T021421Z&X-Amz-Expires=1800&X-Amz-Signature=1...&X-Amz-SignedHeaders=host +0ms
callAws Opening output stream to C:\Users\Matt\AppData\Local\Temp\224a2fc9-aae3-4287-8044-ccde2e996e45.mp3 +0ms
callAws Making request to https://polly.us-east-1.amazonaws.com/v1/speech?OutputFormat=mp3&Text=<speak%3...&TextType=ssml&VoiceId=Matthew&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=20180412T021421Z&X-Amz-Expires=1800&X-Amz-Signature=4...&X-Amz-SignedHeaders=host +0ms
callAws Opening output stream to C:\Users\Matt\AppData\Local\Temp\55c713aa-5d24-4930-bf0d-6369c5cfc30b.mp3 +0ms
callAws Making request to https://polly.us-east-1.amazonaws.com/v1/speech?OutputFormat=mp3&Text=<speak%3...&TextType=ssml&VoiceId=Matthew&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=20180412T021421Z&X-Amz-Expires=1800&X-Amz-Signature=e...&X-Amz-SignedHeaders=host +0ms
callAws Opening output stream to C:\Users\Matt\AppData\Local\Temp\08cc789b-d7fa-4f66-a308-f543645faf1b.mp3 +0ms
callAws Making request to https://polly.us-east-1.amazonaws.com/v1/speech?OutputFormat=mp3&Text=<speak%3...&TextType=ssml&VoiceId=Matthew&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=...&X-Amz-Date=20180412T021421Z&X-Amz-Expires=1800&X-Amz-Signature=b...&X-Amz-SignedHeaders=host +0ms
callAws Closing output stream +0ms
generateAll Requested all parts, with error HTTPError: Response code 400 (Bad Request) +0ms
callAws Error during request: Response code 400 (Bad Request) +0ms
callAws Amazon responded with {"message":"Invalid SSML request"} +0ms
Response code 400 (Bad Request): Invalid SSML request
callAws Closing output stream +0ms
callAws Error during request: Response code 400 (Bad Request) +0ms
callAws Amazon responded with {"message":"Invalid SSML request"} +0ms
callAws Closing output stream +0ms
callAws Error during request: Response code 400 (Bad Request) +0ms
callAws Amazon responded with {"message":"Invalid SSML request"} +0ms
callAws Closing output stream +0ms
callAws Closing output stream +0ms

If copyright allows, please upload your input file somewhere (e.g. pastebin) and put a link to it here.

What OS are you using (Windows, OSX, Linux) and what version?
Windows

What version of Node.js is being used? (Run node -v in the console to find out.)
v8.9.4

What version of ffmpeg is being used? (Run ffmpeg -version in the console to find out.)
ffmpeg version N-90094-ga877d22d9a

Thank you so much for your help!
Matt

Thanks, I'll look into this.
Can you post the SSML you are using? The actual text can be replaced with anything; I mainly need the SSML tags. So something like <speak>
x

x
</speak>.

Sure thing.  Thanks so much for your quick response.

 I'll see if I can come up with a quick fix, but the parsing in general needs to be fixed up.

Thanks so much, Eric. I appreciate any help you can give me. tts works great for plain text, but unfortunately Amazon Polly is mispronouncing a word and emphasizing the wrong word in a few places.  Thanks again.

From: Eric Heikes<EMAIL_ADDRESS>Sent: Friday, April 13, 2018 2:41 AM
To: eheikes/aws-tts
Cc: newcodermatt; Author
Subject: Re: [eheikes/aws-tts] Invalid SSML Request - Please Help! (#30)
Ok, there is a bug in the SSML parser that is causing this. I'll see if I can come up with a quick fix, but the parsing in general needs to be fixed up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/eheikes/aws-tts/issues/30#issuecomment-381039399, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Akh7zws3Y8a_V-8E-I9qfYzonjMweQ_Jks5toEicgaJpZM4TRCnX.

I think I have this fixed. Can you upgrade to v1.4.1 and try again?
npm i -g<EMAIL_ADDRESS>
aws-tts tlsaeaudio1.txt tlsaeaudioc.mp3 --voice Matthew --type ssml --access-key XXXXXXXXXX --secret-key XXXXXXXXXX

Thanks so much, Eric!  Problem solved!
One more question for you.  Is the version of Amazon Polly used by tts different from the version used on the Amazon Polly console?  In my generated mp3 files, the speech slows down considerably before any of my ssml tags like emphasis and prosody, and this doesn't happen when I paste short segments of my ssml file directly into the console.


Consensus hotfix breaking API change

Should fix https://github.com/RGB-WG/rgb-core/pull/176#pullrequestreview-1665031060

At least for me it compiles now


Origin for web extension is too hard to specify

In the remote server situation (from the web), the user must start Jupyter like so:
jupyter notebook --NotebookApp.allow_origin=<base url>
Ideally, they'd set it like so:
jupyter notebook --NotebookApp.allow_origin=https://vscode-dev
However this doesn't work.
That's because the webworker has something like so set as the origin:
https://v--0q1i8c2u150mcq90o85f64ukgjbssr515pashf0hfb9o28bfkbqo.vscode-cdn.net//
And we get a CORS error when connecting.

It was suggested to try this instead:
jupyter notebook --NotebookApp.allow_origin=https://*.vscode-cdn.net
That doesn't work either because jupyter itself doesn't parse the *.
See the code here:
https://github.com/jupyter-server/jupyter_server/blob/25ec3ed0dad617a4388db865e9c1a585e54c0b7c/jupyter_server/base/handlers.py

There's another setting that might work:
--NotebookApp.allow_origin_pat=<Unicode>
    Use a regular expression for the Access-Control-Allow-Origin header
            Requests from an origin matching the expression will get replies
    with:
                Access-Control-Allow-Origin: origin
            where `origin` is the origin of the request.
            Ignored if allow_origin is set.
    Default: ''

Yes that does work, but still leaves the server open to url spoofing from other locations. Maybe it's good enough though.

We think the allow_origin_pat will be sufficient for now. Isn't really a security issue.


Broken and buggy Autoplay

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/swiper-autoplay-bug-u5xqci?file=/src/App.jsx
Bug description
Hello everyone, I'm on my first project using Swiper, so please forgive me if I'm missing something, but I don't believe I am. I am trying to have an autoplaying swiper controlled by mousewheel and drag but disableOnInteraction: false does not seem to be working and autoplay in general seems to be pretty buggy.
Expected Behavior
Issue 1: In the example above, I should be able to drag the Swiper and have the momentum of the autoplay keep going
Issue 2: I should be able to scroll with mousewheel: true and have the autoplay continue
Actual Behavior
Issue 1: Dragging changes the speed of the autoplay. I can drag the swiper to a stop, and then a second or so later, it begins again
Issue 2: Autoplay stops and then either starts over or resumes a second later.
Both issues: Dragging to a stop will sometimes completely start the swiper over. It looks as if the component is maybe unmounting
Swiper version
8.4.2
Platform/Target and Browser Versions
All
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Swiper v9 comes with fully reworked autoplay module. If you have similar issues in Swiper 9, open a new issue with a CodeSandbox showing the issue.


Error invalid_token - The audience is invalid

Issue
The front authentication is well but when I request the backend I have a 401 response with :

www-authenticate
Bearer error="invalid_token", error_description="The audience 'xxxxxxx' is invalid"

This issue is for the sample

    - [ ] 1-1) Sign-in with Azure AD
    - [ ] 1-2) Sign-in with Azure AD B2C
    - [ ] 2-1) Acquire a Token and call Microsoft Graph
    - [x ] 3-1) Protect and call a web API on Azure AD
    - [ ] 3-2) Protect and call a web API on Azure AD B2C
    - [ ]   4) Deploy to Azure Storage and App Service
    - [ ] 5-1) Call a web API using App Roles
    - [ ] 5-2) Call a web API using Security Groups
    - [ ] 6-1) Call a multi-tenant web API
    - [ ] 7-1) Call Microsoft Graph using on-behalf-of flow
    - [ ] 7-2) Call a web API using Proof of Possession tokens

This issue is for a

    - [ ] bug report -> please search issues before submitting
    - [ x] question
    - [ ] feature request
    - [ ] documentation issue or request

Minimal steps to reproduce

I just followed the steps. The only modification is that I updated azure/msal-angular (2.0.0-beta.6) and @azure/msal-browser (2.14.2)

Any log messages given by the failure

Here is my token
{
"aud": "xxxxxxxxx",
"iss": "https://login.microsoftonline.com/98731832-xxxxxxxx-f68390800051/v2.0",
"iat":<PHONE_NUMBER>,
"nbf":<PHONE_NUMBER>,
"exp":<PHONE_NUMBER>,
"aio": "AVQAq/8TAAAApcE99DC5d8+fiGXeX+4YQiGQk2LRAkoW0/2ef6TjiO9eFSxeWuF4+GL4awP6FUtCGFN89WltByAUrmjhuOASSNT9TXUU+wzhGN0siQXU5pc=",
"azp": "c8919a3e-aaaa-42c0-b573-533e717bacb8",
"azpacr": "0",
"name": "LOUANDRE Gwenael",
"oid": "d7bbb0e4-2dd3-4c76-9160-uuuuuu",
"preferred_username"<EMAIL_ADDRESS>"rh": "0.AQUAMhhzmNpARkWSA_aDkIAAUT6akciqqsBCtXNTPnF7rLgFAHY.",
"scp": "access_as_user",
"sub": "BomEbk_RNwYiVRKpjPfANmUhtFzkj3kCef1qMH0iatU",
"tid": "98731832-40da-4546-9203-f68390800051",
"uti": "MqVE0aYsTEautUNWTdMhAQ",
"ver": "2.0"
}

Browser and version

Chrome, Firefox

I found several posts on stackoverflow about that problem but no one corrects the problem. What am I doing wrong?
Thanks! We'll be in touch soon.

@gwenael-louandre can you share your configuration file for the SPA and API? Also any logs in the browser console would be useful.
The audience in the token should be the same with the Client Id of your backend. Basically these values should be equal:

aud claim in your token (does it look like api://xxxxx or just xxxxx)
ClientId in API/appsettings.json
protectedResources.todoListApi.scopes in SPA/src/app/auth-config.ts (the part before the scope name)

Btw, msal-angular is out of beta now -please update your package to the latest.

Hello,
Thanks for your answer.
Here is my auth-config.ts :

Here is the appsettings.json :

Here is the Azure SPA configuration :

Here is the Azure API configuration :

The aud claim in token is just xxxxx :

So about your question, the three points seem to be the same.
localhost-1622552382083.log
I attached the log from the browser.
I just checked the release (https://github.com/AzureAD/microsoft-authentication-library-for-js/releases) and the last version I see is @azure/msal-angular v2.0.0-beta.6 What is the last version?

@gwenael-louandre it looks like ClientId in API/appsettings.json doesn't match the Application (client) Id on Azure portal (screenshot for Azure API configuration). Can you double check that?

Thanks! That was my problem. I mixed two projects I worked at the same time.
On the other hand, I have a question about one step in demo. In the Register the client app (msal-angular-spa) paragraph after creating the client app, I added a single page application platform in the 'Authentication' Azure menu. I think if we don't declare this kind of platform the msal-angular doesn't work. Am I wrong?

@gwenael-louandre that's right, msal-angular is using auth code flow with PKCE for getting tokens, which Azure AD handles via setting the platform to "Single-page application".

Closing, let us know if you need further help


i cant compile psych 0.5.2h :(

Describe your problem here.
it gives me this warning :
C:/HaxeToolkit/haxe/lib/discord_rpc/1,0,0/discord_rpc/DiscordRpc.hx:213: characters 1-7 : Warning : (WDeprecatedEnumAbstract) @:enum abstract is deprecated in favor of enum abstract
source/Alphabet.hx:200: characters 20-28 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/ChartingState.hx:143: characters 13-21 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/Main.hx:78: characters 61-65 : Float should be Int
source/Main.hx:78: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:78: characters 61-65 : ... For function argument 'child'
export/release/windows/haxe/ApplicationMain.hx:153: characters 5-36 : ... Called from macro here
source/PlayState.hx:84: characters 40-48 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PlayState.hx:122: characters 20-28 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PlayState.hx:200: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FreeplayState.hx:242: characters 28-36 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PauseSubState.hx:27: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PlayState.hx:84: characters 68-76 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FunkinLua.hx:1370: characters 18-26 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FunkinLua.hx:1404: characters 18-26 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PauseSubState.hx:64: characters 20-28 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FreeplayState.hx:339: characters 19-27 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FreeplayState.hx:341: characters 19-27 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PlayState.hx:498: characters 22-30 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PlayState.hx:1787: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PlayState.hx:1789: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/PlayState.hx:1792: characters 27-35 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/ChartingState.hx:1275: characters 16-24 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/EditorPlayState.hx:39: characters 13-21 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/EditorPlayState.hx:109: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/editors/EditorPlayState.hx:111: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/TitleState.hx:653: characters 15-23 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

0.5.2h isnt support no more

0.5.2h is way too old and isn't supported since july 2023

i'll compile 0.6.3 then


Please have meson options to enable each individual plugin type

For example, Qt4 is EOLed and discontinued for many, it should be easy to disable. Qt5/Gtk2/Gtk3/etc should be easy to disable too.

Why exactly do you need a meson option for those ?
The plugin wrappers for Qt4/5, Gtk2/3 are optional in the first place (e.g. disabled by default) and only built if libraries/headers are present. Isn't this what you want ?

I still have Qt4 and Gtk2 installed, but don't want them to be used by synthpod. Auto-detection isn't what is desired. There are also port options that need to be able to set which backends to use.

fixed in 38afb1c99b333
to disable use:
meson build -Duse-qt4=false


x/build/cmd/release: add checkbox to Go installers to delete previous GOENV configuration file

I had a problem recently (#45174) where after reinstalling golang the go env file would remain unchanged and this caused multiple issues since all tools and binaries were compiled for 386 arch and not for amd64 arch (as I expected).
I understand that many people want to preserve the old configuration after an update or reinstallation... but sometimes a "true" clean install might be useful.
What I suggest is to add a checkbox in the golang installation program that, if set to true, will wipe out all previous config (either all or some selectable folders) (%GOENV%, %GOPATH%, %GOCACHE% ... etc).
thanks

This doesn't have to be a proposal.  This can be decided by the maintainers of the installation program.  That said, I'm not sure what installation program you mean.  Is this Windows-specific?

This can be decided by the maintainers of the installation program

oh ok I didn't know about a specific group of maintainers of the the installation program... how can I propose this to them?
Yep I'm referring to windows golang installation program (the .msi executables here)

CC @golang/osp-team

/cc @golang/release as well as the osp-team.

Sorry I don't understand... Is this issue ok or should I open an other? If yes, where?

This issue is okay.
If we consider this to be about resetting configuration in the go env GOENV file, then this can apply to the Windows installer and also the macOS installer.

resetting configuration in the go env GOENV file

yep my specific problem arose because of the go env GOENV file not being reset after the installation...
and while suggesting this feature I thought that this problem might arise again because of other user configs (I am thinking about %GOPATH% folder, which remains the same after re-installing golang)
I am not a professional thought and probably deleting only go env GOENV file is enough to accomplish a "true" fresh golang installation...

this can apply to the Windows installer and also the macOS installer.

yes indeed, I forgot to mention the macOS installer but absolutely... (and all other OS that require an installer)

Deleting the go env GOENV file seems feasible because it's a file at a well-known location, controlled by Go itself.
It wouldn't be feasible for the Go installer to try to find or delete configuration in places that aren't well known (e.g., custom user .bash_profile or similar files), so I suspect there's not much more can be done in those cases. I'm not sure where the Windows registry entries fall, but that can be considered as part of this.

delete configuration in places that aren't well known (e.g., custom user .bash_profile or similar files), so I suspect there's not much more can be done in those cases.

oh yea... sure you are completely right...
ad what about the possibility to delete for example the folder %GOPATH%/src or %GOPATH%/pkg? would that be feasible? (I think that %GOPATH% directory is known during installation right?)
to me the possibility of completely removing old packages while reinstalling golang seems a cool little feature...

not sure where the Windows registry entries fall

yep I think reading windows registry entries it's a pain... especially if the installer needs to run on different windows versions... (and it would add a layer of complexity when working with different OS)

sorry, are there any news about this project?


Hashmap in Jedis

How to handle hashmap in jedis with following structure:
###HashMap<String,List<RoleDetailsDTO>> ###

Please ask in mailing list