Following the Security provider documentation does not lead to working code

By following the code snippets and the explanation on
https://github.com/silexphp/Silex/blob/master/doc/providers/security.rst
I could not get to a basic code that allows me to

log in
check the role
logout

I got to the following code:
https://github.com/aoloe/php-silex-demo-security-path
Currently, I can log in but the status is not kept.
My current supposition is that the session information does not get stored and the Security module has no way to detect that I successfully logged in.
I've asked for help on Stackoverflow but got no answer:
http://stackoverflow.com/questions/38460658/authenticate-with-the-silex-security-examples
If somebody can point me to the wrong / missing bits, I'm willing to check the documentation file and make a pull request that make it easy(ier) to grasp the workings of the utilisation of the Security module.

I've found out that when I comment out is_granted() from the twig template, then everything works correctly...
https://github.com/aoloe/php-silex-demo-security-path/blob/master/resources/template/admin.twig#L12
why?

The error I get is:
[2016-07-22 21:49:36] app.INFO: Matched route "{route}". {"route":"GET_admin","route_parameters":{"_controller":"[object] (Closure: {})","_route":"GET_admin"},"request_uri":"http://ww.reclaimyourtools.org/demo-security-path/admin","method":"GET"} []
[2016-07-22 21:49:36] app.DEBUG: Read existing security token from the session. {"key":"_security_admin"} []
[2016-07-22 21:49:36] app.DEBUG: User was reloaded from a user provider. {"username":"admin","provider":"Symfony\\Component\\Security\\Core\\User\\InMemoryUserProvider"} []
[2016-07-22 21:49:36] app.DEBUG: > GET /demo-security-path/admin [] []
[2016-07-22 21:49:36] app.INFO: An AuthenticationException was thrown; redirecting to authentication entry point. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\CredentialsExpiredException(code: 0): User credentials have expired. at /home/ale/docs/src/php-silex-demo-security-path/vendor/symfony/security/Core/User/UserChecker.php:64)"} []
[2016-07-22 21:49:36] app.DEBUG: Calling Authentication entry point. [] []
[2016-07-22 21:49:36] app.INFO: The security token was removed due to an AccountStatusException. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\CredentialsExpiredException(code: 0): User credentials have expired. at /home/ale/docs/src/php-silex-demo-security-path/vendor/symfony/security/Core/User/UserChecker.php:64)"} []
[2016-07-22 21:49:36] app.DEBUG: < 302 http://ww.reclaimyourtools.org/demo-security-path/login [] []
[2016-07-22 21:49:37] app.INFO: Matched route "{route}". {"route":"login","route_parameters":{"_controller":"[object] (Closure: {})","_route":"login"},"request_uri":"http://ww.reclaimyourtools.org/demo-security-path/login","method":"GET"} []
[2016-07-22 21:49:37] app.DEBUG: > GET /demo-security-path/login [] []
[2016-07-22 21:49:37] app.DEBUG: < 200 [] []

@aoloe Do you still experience that with the latest Silex version?

Closing as this is quite old.


Support knex 0.15+

I assume that main reason why bookshelf is locked to <0.15.x version is Node 4 support? Any particular reason why it was decided to keep it?

Checkout #1872 and #1879, but yes, that's the gist of it. The last version with Node 4 support (0.14.0) was supposed to be released a few months ago, when Node 4 was still being maintained but that hasn't happened yet.
I'd like to get that release out soon, but there are still a few open issues. The one that required more work is almost done (new documentation) so I think this could be achieved really soon and then we'll get to work on version 1.0.
I'll keep this issue open as a reminder.

Can knex 0.15+ be used with bookshelf 0.14+ or not?

If you intend to use Bookshelf on Node.js 6 or newer, probably yes.

@ricardogama Isn't it going to explode on Yarn at least due to hardcoded incompatibility in bookshelf? Maybe newer versions should be unlocked already, even if not explicitly supported?

@kibertoad You got the username wrong :wink:
I think Bookshelf is now compatible with Knex 0.15+ with the recent 0.14.2 release. It's not reflected in the package's peerDependencies yet, because I would like to test it some more to be sure.


Hardhat packages upgrade

If you made a contract change, make sure to complete the checklist below before merging it in master.
Refer to our documentation for more details about contract security best practices.
Contract change checklist:

[ ] Code reviewed by 2 reviewers. See template and example.
[ ] Unit tests pass
[ ] Slither tests pass with no warning
[ ] Echidna tests pass if PR includes changes to OUSD contract (not automated, run manually on local)

Couple of tests are failing... not sure why. Needs to be investigated before this gets merged in...

I've debugged the failing tests. Hardhat slightly changed the format that it uses in reporting exceptions. I've updated the two tests to just match the actual revert message from the contract, rather than also looking at the hardhat added error message as well.


[macOS] Hardcode PyPy 7.3.1 for macOS-10.13

Description
The recently released PyPy 7.3.2 for High Sierra is broken and is already fixed in the main PyPy branch but not yet released https://foss.heptapod.net/pypy/pypy/-/issues/3311
To avoid build failures 7.3.1 can be installed for HS.
As an additional change — workaround for 7.3.1 removed from 10.14 & 10.15 PyPy installations.
Related issue:
https://github.com/actions/virtual-environments-internal/issues/1217
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos1013, macos1014, macos1015, macos110

@EwoutH , this hardcode is only for High Sierra - pretty old image that is not available publicly anymore. Mojave and Catalina images should always install the latest PyPy


Better error messages (python sdk)

Feature Request
Motivation
It's difficult to debug error messages using the python sdk
ex:
>>> endpoint_out = await svix.endpoint.create(appid,EndpointIn(**svix_endpoint_args,secret=secret))
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 58, in runcode
    return future.result()
  File<EMAIL_ADDRESS>line 458, in result
    return self.__get_result()
  File<EMAIL_ADDRESS>line 403, in __get_result
    raise self._exception
  File "<console>", line 1, in <module>
  File "/Users/blakewillmarth/faraday/fdy/workers/model_train/.venv/lib/python3.10/site-packages/svix/api.py", line 464, in create
    return await v1_endpoint_create.request_asyncio(
  File "/Users/blakewillmarth/faraday/fdy/workers/model_train/.venv/lib/python3.10/site-packages/svix/internal/openapi_client/api/endpoint/v1_endpoint_create.py", line 240, in request_asyncio
    await request_asyncio_detailed(
  File "/Users/blakewillmarth/faraday/fdy/workers/model_train/.venv/lib/python3.10/site-packages/svix/internal/openapi_client/api/endpoint/v1_endpoint_create.py", line 210, in request_asyncio_detailed
    return _build_response(client=client, response=response)
  File "/Users/blakewillmarth/faraday/fdy/workers/model_train/.venv/lib/python3.10/site-packages/svix/internal/openapi_client/api/endpoint/v1_endpoint_create.py", line 73, in _build_response
    parsed=_parse_response(client=client, response=response),
  File "/Users/blakewillmarth/faraday/fdy/workers/model_train/.venv/lib/python3.10/site-packages/svix/internal/openapi_client/api/endpoint/v1_endpoint_create.py", line 62, in _parse_response
    raise HTTPValidationError.init_exception(response.json(), response.status_code)
svix.internal.openapi_client.models.http_validation_error.HTTPValidationError

Proposal
It would be nice to get detail about the validation error in the error message.
Alternatives

I'm with you, thanks for reporting!


Use miniconda for python install

would make it easier to add additional packages if needed

Also would address #14


Angular2: Rendering an element and appending the canvas to the body?

Hi,
I am trying to use html2canvas in my angular2 project, I would create an element and append the canvas to the body as described below:

let newDiv = document.createElement("div");
let newContent = document.createTextNode("Hi there and greetings!");
newDiv.appendChild(newContent);
html2canvas(newDiv).then(function(canvas) {
    document.body.appendChild(canvas);
});

but I got the below error:
EXCEPTION: Uncaught (in promise): TypeError: Cannot read property 'removeAttribute' of null TypeError: Cannot read property 'removeAttribute' of null
Any idea please to fix this error ?
thanks,

I think you will need to append the element to body.
set z-index to -1 > append to body > render > remove from body.

Hey Guys, I have the same problem, Do I have to create a body element first, then append the div to the body and the content to the div, right?

@citerio Yes, whatever element you are trying to capture with html2canvas must be a descendant of your webpage's body element. To other readers, this requirement has nothing to do with Angular2 specifically.


[Hydrogen docs]: Add context about Strict Mode

This PR:

Adds a new section in the Hydrogen framework docs about strict mode
Fixes https://github.com/Shopify/hydrogen/issues/793
Relates to https://github.com/Shopify/hydrogen/pull/763 and https://github.com/Shopify/shopify-dev/pull/17109

Tophatted

Thanks, @frehner! Do you know what might be going on with those E2E CI errors? I don't think I've touched anything related to that in this PR, but maybe they're just flaky tests?


clipboard.copyText() opens the keyboard on IOS

Hi
My problem is that when I run clipboard.copyText(someEmailAddresses); on IOS the screen keyboard is opened instead of copying the emailaddresses to the clipboard.
Its the same problem in both Safari and Chrome on IOS, but it works perfectly in windows.
Thanks for help

textarea (in angular-clipboard) should be "readonly".... could use https://www.npmjs.com/package/clipboard instead


Anti VM ???

Problem description
Is the Build anti vm ?
if yes make a button to turn it on and off
if not maybe add a anti vm Funktion
( AnyRun , VM Box , ... )
Proposal
Thanks :)))
<3
Additional context
No response

and should i use my IPv4 or just this ip on https://www.whatsmyip.org ?


UX: Visual indication for acquiring type definition file

While testing #14328
When opening a JS project in VSCode, the types are acquired in the background silently.
To users who know this feature: After typing var fs = require('fs'), should they wait for VSCode to download the typings? When would they know VSCode is done and they can enjoy intelliSense?
To users who don't know this feature: intelliSense wouldn't work first but start to work later. Might make them think it's unreliable.
I suggest a visual indication on status bar.

Closing in favor of #15209


Commonmark doesn't seem to work

I am trying to pass a custom markdownit prop with the commonmark param like so:
const content = `This should mean that the following:
Hello World
results in the same output as:
**Hello World**
`;

<Markdown markdownit={MarkdownIt('commonmark')}>{ content }</Markdown>

I am getting the following error:
html_block renderRule not defined example: <Markdown rules={renderRules}>

What am I missing?

@alixedi did you resolve this issue? can you share the solution?


[Communication] Add variable groups necessary for using new azure subscription

We are using the new subscription for our testing.
The new subscription id is added to the keyvault and this PR changes the tests.yml to access that subscriptionId.
This PR will be updated in case new variables needed to be able to use the new subscription.

/azp run python - communication - tests

/azp run python - communication - tests

/azp run python - communication - tests


Try alternate approaches to raw Turkish data.

The backtick forces the previous character to be treated literally. In this case, it means that "a. 3" will match as "verse 3", but "a 3" won't. I wasn't sure if that was appropriate. If you do want "a 3" to match, just remove the backtick, and it will treat the period as optional.

Aaa, got it. In that case you're probably right that it's best to use the forced period there.


Tried Qi, could not install dexador (cl+ssl), removed local-projects/qi/* and works again

Hi, I figured I'd leave a note. I experienced a problem: I tried Qi. I ran qi:install once and I was unable to quickload another project, in another Slime session. I got the error from dexador.backend:usocket that

;     The symbol "MAKE-CONTEXT" is not external in the CL+SSL package.

and indeed, it wasn't. This was added in Dexador in february, 2017.
Qi was trying to load cl+ssl from qi's dependencies. I deleted quicklisp/local-projects/qi/* and it worked again.

What manifest were you trying to install?  Did the error occur during installation, or when trying to load the new libraries?

I noticed this again. Happened after a QL-dist update. I was trying to quickload a system of mine, I got an error about a library (osicat, cffi) and noticed that QL was getting cffi from Qi's dependencies directory. I deleted Qi's directory (it was not in a asdf or QL-aware directory) but I have another error so I can't say yet if this action fixed the pb…
This might come from a trailing misconfiguration of mine.

I fixed this second error (unrelated, about a cache putting in a cl21error message) and I'm back on tracks.


How to auto update the content update time ?

is it  possible update automatically? thx

by markdown modified time

@zfk513 , i made an update, and added lastmod frontmatter. please pull the latest code.

@zfk513 , i made an update, and added lastmod frontmatter. please pull the latest code.

ths  but last mod could be confusing ,it is possible using the GitInfo inside the page? I try several time ,if I put the GitInfo in the index is works fine, butwhen i  put it into the content folder ,It just end up with null and I don't know what to do

Check this discussion https://discourse.gohugo.io/t/configure-how-lastmod-date-is-assigned/14190
it might help you


Script stops after the first blob

Hi,
im using the script and I have also tried the app.
The prints starts normally but in the middle of extruding the first blobb the printer stops. No error, just no movement at all.
Im using a normal marlin based printer. Any ideas what could cause this?
Cheers.
F-

ok nevermind. it doesnt stop, its just really slow.
looked at the g1 command ob the first blob its "G1 Z10.5 E200 F2.49 ; Extrude" which would be 0.04mm/sec isnt that too slow?

i did some further experiments and it seems indeed that the "blob" moves are too slow. I first thought that the relative extrusion command was somehow misinterpreted but that doesnt seem to be the case.
also when i calculate the volume of the extrusion moves manually they come out too little by factors of 20-100.
the priming move however seems fine.


simtk.openmm.OpenMMException: Particle coordinate is nan

Has anybody encountered this problem while running the prediction with some mutation of some protein?
I0224 14:20:05.917235<PHONE_NUMBER>94784 run_docker.py:247] Traceback (most recent call last):
I0224 14:20:05.917589<PHONE_NUMBER>94784 run_docker.py:247] File "/app/alphafold/run_alphafold.py", line 445, in <module>
I0224 14:20:05.917792<PHONE_NUMBER>94784 run_docker.py:247] app.run(main)
I0224 14:20:05.917975<PHONE_NUMBER>94784 run_docker.py:247] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 312, in run
I0224 14:20:05.918150<PHONE_NUMBER>94784 run_docker.py:247] _run_main(main, args)
I0224 14:20:05.918317<PHONE_NUMBER>94784 run_docker.py:247] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
I0224 14:20:05.918479<PHONE_NUMBER>94784 run_docker.py:247] sys.exit(main(argv))
I0224 14:20:05.918641<PHONE_NUMBER>94784 run_docker.py:247] File "/app/alphafold/run_alphafold.py", line 429, in main
I0224 14:20:05.918804<PHONE_NUMBER>94784 run_docker.py:247] is_prokaryote=is_prokaryote)
I0224 14:20:05.918967<PHONE_NUMBER>94784 run_docker.py:247] File "/app/alphafold/run_alphafold.py", line 250, in predict_structure
I0224 14:20:05.919129<PHONE_NUMBER>94784 run_docker.py:247] relaxed_pdb_str, _, _ = amber_relaxer.process(prot=unrelaxed_protein)
I0224 14:20:05.919293<PHONE_NUMBER>94784 run_docker.py:247] File "/app/alphafold/alphafold/relax/relax.py", line 66, in process
I0224 14:20:05.919457<PHONE_NUMBER>94784 run_docker.py:247] use_gpu=self._use_gpu)
I0224 14:20:05.919620<PHONE_NUMBER>94784 run_docker.py:247] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 467, in run_pipeline
I0224 14:20:05.919822<PHONE_NUMBER>94784 run_docker.py:247] pdb_string = clean_protein(prot, checks=checks)
I0224 14:20:05.919986<PHONE_NUMBER>94784 run_docker.py:247] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 172, in clean_protein
I0224 14:20:05.920177<PHONE_NUMBER>94784 run_docker.py:247] fixed_pdb = cleanup.fix_pdb(pdb_file, alterations_info)
I0224 14:20:05.920340<PHONE_NUMBER>94784 run_docker.py:247] File "/app/alphafold/alphafold/relax/cleanup.py", line 55, in fix_pdb
I0224 14:20:05.920501<PHONE_NUMBER>94784 run_docker.py:247] fixer.addMissingAtoms(seed=0)
I0224 14:20:05.920661<PHONE_NUMBER>94784 run_docker.py:247] File "/opt/conda/lib/python3.7/site-packages/pdbfixer/pdbfixer.py", line 954, in addMissingAtoms
I0224 14:20:05.920826<PHONE_NUMBER>94784 run_docker.py:247] mm.LocalEnergyMinimizer.minimize(context)
I0224 14:20:05.920989<PHONE_NUMBER>94784 run_docker.py:247] File "/opt/conda/lib/python3.7/site-packages/simtk/openmm/openmm.py", line 4110, in minimize
I0224 14:20:05.921152<PHONE_NUMBER>94784 run_docker.py:247] return _openmm.LocalEnergyMinimizer_minimize(context, tolerance, maxIterations)
I0224 14:20:05.921315<PHONE_NUMBER>94784 run_docker.py:247] simtk.openmm.OpenMMException: Particle coordinate is nan

If anyone knows how to solve it, please let me know.
Thank you so much.

Hi, that's not something I've seen. Is this something you're still seeing, and if so are you able to share the inputs and how you are running AlphaFold? Thanks!
Duplicate of: #120

Duplicate of #120

Hi, I encountered a similar issue with the latest version 2.2.2:
Total JAX model model_1_multimer_v2_pred_0 on AFL1_tetramer predict time (includes compilation time, see --benchmark): 91712.4s
Traceback (most recent call last):
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/bin/alphafold", line 459, in <module>
    app.run(main)
  File "/apps/gent/RHEL8/cascadelake-ib/software/jax/0.3.9-foss-2021a/lib/python3.9/site-packages/absl/app.py", line 312, in run
    _run_main(main, args)
  File "/apps/gent/RHEL8/cascadelake-ib/software/jax/0.3.9-foss-2021a/lib/python3.9/site-packages/absl/app.py", line 258, in _run_main
    sys.exit(main(argv))
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/bin/alphafold", line 441, in main
    predict_structure(
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/bin/alphafold", line 282, in predict_structure
    relaxed_pdb_str, _, _ = amber_relaxer.process(prot=unrelaxed_protein)
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/lib/python3.9/site-packages/alphafold/relax/relax.py", line 61, in process
    out = amber_minimize.run_pipeline(
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/lib/python3.9/site-packages/alphafold/relax/amber_minimize.py", line 467, in run_pipeline
    pdb_string = clean_protein(prot, checks=checks)
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/lib/python3.9/site-packages/alphafold/relax/amber_minimize.py", line 172, in clean_protein
    fixed_pdb = cleanup.fix_pdb(pdb_file, alterations_info)
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/lib/python3.9/site-packages/alphafold/relax/cleanup.py", line 55, in fix_pdb
    fixer.addMissingAtoms(seed=0)
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/lib/python3.9/site-packages/pdbfixer/pdbfixer.py", line 954, in addMissingAtoms
    mm.LocalEnergyMinimizer.minimize(context)
  File "/apps/gent/RHEL8/cascadelake-ib/software/AlphaFold/2.2.2-foss-2021a/lib/python3.9/site-packages/simtk/openmm/openmm.py", line 14895, in minimize
    return _openmm.LocalEnergyMinimizer_minimize(context, tolerance, maxIterations)
simtk.openmm.OpenMMException: Particle coordinate is nan

I have the same issue


[Bug]: Remove social account.

The settings controller was moved under settings directory, so I removed the duplicate controller.
There is a bug with removing social accounts due to the undefined "params" on the request.  This is changed to use "query".  While debugging this, I noticed if there are no params passed, the request just times out due to there being no response.  I added some exception handling to throw 401 for unauthenticated user and 400 for no params.

need someone with more angular experience to review this

@lirantal LGTM. The file that is deleted was just left as a remnant when @amoshaviv split it up into smaller chunks in a folder called settings.

thanks @ilanbiala, merged.


Turn on CSPM for GCP in Azure while CloudGuard is turned down\off

Describe the Issue
Turn on CSPM for GCP in Azure while CloudGuard is turned down\off
Additional Context

CSPM in Azure is enabled and requires only the AWS & GCP data streams to be turned on to analyze these two other CSP's as well. We can do this while CloudGuard is turned down\off in AWS for cost saving for now and still have CSPM functionality in the meantime

Acceptance Criteria

Research the connection\enablement process\procedure
Review with Warren\Max for the GCP context and review any procedural difficulty
Turn on Azure CSPM for GCP
Test this functionality and troubleshoot
Create further tickets to investigate further for understanding its operation

.
.
.
.
.
.
.
.
.
.
.
Extra Template Info
Definition of Ready
These set of conditions will need to be met in order to bring a ticket into the sprint and start work. Protects the team from unclear requirements.
Issues (Task/Story/Spike) aligned to an EPIC and linked appropriately.
Assigned to the appropriate CPF MEMBER (and is not left blank in ZenHub) at the start of sprint (1st day of the sprint)
Acceptance has been defined for the issue and has been reviewed with CPF team and approved by the necessary approver.
Has been sized and estimated by the delivery team.
Detailed breakdown of the steps required to complete the story in the additional context
Any additional specifications have been documented, reviewed with CPF and approved by the necessary approver.
Acceptance Criteria
A set of pre-defined requirement that need to be met in order to mark the user story as “done”.
It should be testable with no room for interpretation
It should be either “pass” or “fail”
It should be clear enough for business stake holders to understand
As part of the user story, it should be written from the user perspective
A well written acceptance criteria is great for

managing expectations
defining scope
reducing ambiguity
establishing testing criteria for QA
Given (Pre-condition)
When (Action)
Then (Outcome)

Definition of Done
These set of conditions are met for work to be considered as complete on an issue.
All acceptance criteria(s) have been validated.
All the necessary documentation for the issue has been uploaded to Teams.
Functionality has been tested when applicable.
Functionality has been demonstrated to the relevant stakeholders (where applicable).
Story has been scheduled for a Sprint Demo/community update and impacted teams invited to the Demo.
Stories accepted by PO and documented for potential sharing with impacted users.

Documented = Captured in Community Update (CU) deck
Release notes = aspirational goal of providing a bulleted list of features and changes that our users can touch. Was going to store them in our Cloud Pathfinder repo. Can also display to users in the CU

Duplicate of #2110


Calls to DirectLine repeatably return "Internal Server Error" when sending a message in rapid succession

If I create an HttpClient in C# using code similar to:
// configure the httpclient with baseaddress and auth headers
var client = new HttpClient {BaseAddress = new Uri("https://directline.botframework.com")};
client.DefaultRequestHeaders.Accept.Clear();
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("BotConnector", MyDirectLineSecret);

// make an initial request to ensure auth worked
var response = await client.GetAsync("/api/tokens/", HttpCompletionOption.ResponseHeadersRead).ConfigureAwait(false);
response.EnsureSuccessStatusCode();

// create a conversation
response = await client.PostAsJsonAsync("/api/conversations/", new object()).ConfigureAwait(false);
response.EnsureSuccessStatusCode();

// read the conversation and auth token data
var convoInfo = await response.Content.ReadAsAsync<JObject>();
var convoId = (string)convoInfo["conversationId"];
var scopedToken = (string)convoInfo["token"];

// set auth header to new token
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("BotConnector", scopedToken);

If I then have a method which sends a new message:
// create new message
var newMessage = new
{
    id = Guid.NewGuid().ToString(),
    created = DateTime.UtcNow,
    from = "MyTestBot",
    text = "some test text",
    eTag = "*"
};

// post message to conversation - this is the line that returns the HTTP 500
var response = await client.PostAsJsonAsync($"/api/conversations/{convoId}/messages", newMessage).ConfigureAwait(false);
response.EnsureSuccessStatusCode();

It will work (returning HTTP 200) if I call it patiently, but calling it twice in rapid succession causes an HTTP 500 Internal Server Error with the content
{
  "message": "failed to send message"
}

Application Insights for Bot Connector just shows HTTP 500/Internal Server Error.
What is the underlying error? What can I do to mitigate this? Am I sending invalid data (given that it works if I make the requests sslloowwllyy, I doubt that's the cause)?

Example conversation ID in which this error occurred: J1QN4LyLcq6 (~ 10:14AM 06 Sept BST)

Hi @rposbo, looking at the logs for your conversation, your bot is throwing an error when we try to contact it.
Do you have AppInsights configured for your bot, or do you have any internal tracing?
Direct Line is the only channel that communicates bot errors back to the client, so this is somewhat expected. You may actually be hitting this error in other channels but the messages are being dropped.

Hi @dandriscoll - yep, we have App Insights set up:
"POST to the bot's endpoint failed with HTTP status 500"
[{"parsedStack":[{"assembly":"Microsoft.Bot.ChannelConnector, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null","method":"Microsoft.Bot.ChannelConnector.BotAPI+<PostMessageToAppAsync>d__14.MoveNext","level":0,"line":227,"fileName":"C:\\a\\1\\s\\Microsoft.Bot.ChannelConnector\\API\\BotAPI.cs"}],"outerId":"0","message":"POST to the bot's endpoint failed with HTTP status 500","type":"System.Exception","id":"46050481"}]

:'(

I'm surprised you're not getting a response body in that trace. I can post a more detailed stack if you're interested.

its getting because you have pass extra slash in emulator url, pls check it

Hi @vikanti - I'm not using the emulator in this example; which URL are you referring to? AFAIK they're all correct. Especially since they work when requested slowly and only fail when called in rapid succession.

Followed up offline. This is an error generated within the bot.


Missing API for stopping capsule

@andersjohnsen - We are missing a frontend api for allowing us to stop a capsule within a given environment.

Implemented in latest


Version ABI of libiwasm.so

Feature
Can you please start versioning ABI of libiwasm.so – set SONAME and track ABI compatibility with releases?
Benefit
Distributions will be able to dynamically link programs (that depend on iwasm) against system-wide libiwasm.so.

https://github.com/bytecodealliance/wasm-micro-runtime/pull/3933


[WIP] Transitive Support

See: docs/transitive-dependencies.rst for details.
https://github.com/nexB/scancode.io/assets/7457065/a0bb68f4-9ca5-4126-94ba-565d26eee218
Fixes:

https://github.com/nexB/scancode.io/issues/885
https://github.com/nexB/scancode.io/issues/886

We had several recent discussions on the topic of dependencies  #885 the latest details are now in #1066
The direction is going to be slightly different and I am adding the details in https://github.com/nexB/scancode.io/issues/1066#issuecomment-1964238435
Let's keep the branch around as there is valuable documentation that would need to be carried forward
So I ma closing this now for the design in https://github.com/nexB/scancode.io/issues/1066 , but let's keep the branch around.

This was closed by mistake. This is exactly the same as the design we discussed https://github.com/nexB/scancode.io/issues/1066#issuecomment-1964238435

Dependency tree implemented in https://github.com/nexB/scancode.io/pull/1240 and https://github.com/nexB/scancode.io/pull/1252


[MRG] Deprecate extended-infomax method

Picard has a new extended argument (which will hopefully be on PyPI soon), but MNE currently does not allow this argument in the fit_params dict. I have removed this check.
On a related note, is there a specific reason why some Picard arguments are explicitly set although they are identical to the defaults (ortho and fun)? Also, why does MNE set tol to 1e-5 instead of using the default of 1e-7?
@pierreablin WDYT?

This is getting inconsistent. We have separate methods for infomax and extended-infomax, but only one picard method. I think it would be more consistent to drop the extended-infomax method and allow extended=True for infomax (which is what happens internally anyway). Since Picard can also have ortho=True, there would be four distinct Picard methods if we wanted to add separate methods instead (I wouldn't).

-I thought it was a good idea to fix the default parameters of picard in MNE in case they change in the original picard package, but maybe its a bad idea. If they change in the original package, its likely to be for a good reason.
-I agree with you about the difference between infomax and extended-infomax. To me ICA(method='infomax', fit_params={'extended': True}) makes more sense. For instance, you can argue that the same disambiguation exists for fastica since it can be run in deflation or parralel, but this choice is handled through fit_params right now.
So +1 for allowing extended as a param in fit_params.

I'm fine with deprecating extended-infomax

can you add a what's new update?

Ready

you also need to update this page:
http://martinos.org/mne/stable/auto_tutorials/plot_artifacts_correction_ica.html

All green, ready to merge.

@pierreablin and/or @larsoner do you have time to look?

LGTM :+1:

Looked at commit and checked for flake violation locally, going to merge. Thanks @cbrnr


Vsf to odoo api requests giving error

Hello,
I am trying to install vsf-odoo. I installed and i see the module on odoo.
From vsf i entered localhost:8069 and all routes to api seems to work.
Issue is all api requests turned with 500 internal server error on odoo side.
web_1  | 2019-10-27 09:13:32,879 1 INFO odoo werkzeug: <IP_ADDRESS> - - [27/Oct/2019 09:13:32] "GET /api/catalog/vue_storefront_catalog/product/_search?_source_exclude=description%2Csgn%2C%2A.sgn%2Cmsrp_display_actual_price_type%2C%2A.msrp_display_actual_price_type%2Crequired_options&_source_include=type_id%2Csku%2Cname%2Ctax_class_id%2Cspecial_price%2Cspecial_to_date%2Cspecial_from_date%2Cprice%2CpriceInclTax%2CoriginalPriceInclTax%2CoriginalPrice%2CspecialPriceInclTax%2Cid%2Cimage%2Csale%2Cnew%2Cconfigurable_children.image%2Cconfigurable_children.sku%2Cconfigurable_children.price%2Cconfigurable_children.special_price%2Cconfigurable_children.priceInclTax%2Cconfigurable_children.specialPriceInclTax%2Cconfigurable_children.originalPrice%2Cconfigurable_children.originalPriceInclTax%2Cconfigurable_children.color%2Cconfigurable_children.size%2Cconfigurable_children.id%2Cconfigurable_children.tier_prices%2Cproduct_links%2Curl_path%2Curl_key%2Cstatus%2Ctier_prices&from=0&size=50&sort=updated_at%3Adesc HTTP/1.1" 500 - 1 0.000 0.003 web_1  | 2019-10-27 09:13:32,883 1 ERROR odoo werkzeug: Error on request: web_1  | Traceback (most recent call last): web_1  |   File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 205, in run_wsgi web_1  |     execute(self.server.app) web_1  |   File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 193, in execute web_1  |     application_iter = app(environ, start_response) web_1  |   File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 409, in app web_1  |     return self.app(e, s) web_1  |   File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 128, in application web_1  |     return application_unproxied(environ, start_response) web_1  |   File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 117, in application_unproxied web_1  |     result = odoo.http.root(environ, start_response) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 1320, in __call__ web_1  |     return self.dispatch(environ, start_response) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 1293, in __call__ web_1  |     return self.app(environ, start_wrapped) web_1  |   File "/usr/lib/python3/dist-packages/werkzeug/wsgi.py", line 599, in __call__ web_1  |     return self.app(environ, start_response) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 1488, in dispatch web_1  |     result = ir_http._dispatch() web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/models/ir_http.py", line 15, in _dispatch web_1  |     return super(IrHttp, cls)._dispatch() web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch web_1  |     return super(Http, cls)._dispatch() web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 22, in _dispatch web_1  |     return super(IrHttp, cls)._dispatch() web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 397, in _dispatch web_1  |     result = super(IrHttp, cls)._dispatch() web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 26, in _dispatch web_1  |     response = super(IrHttp, cls)._dispatch() web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 207, in _dispatch web_1  |     return cls._handle_exception(e) web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 195, in _handle_exception web_1  |     return super(Http, cls)._handle_exception(exception) web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/utm/models/ir_http.py", line 31, in _handle_exception web_1  |     response = super(IrHttp, cls)._handle_exception(exc) web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 177, in _handle_exception web_1  |     return request._handle_exception(exception) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 776, in _handle_exception web_1  |     return super(HttpRequest, self)._handle_exception(exception) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 314, in _handle_exception web_1  |     raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) web_1  |   File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise web_1  |     raise value web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 203, in _dispatch web_1  |     result = request.dispatch() web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 835, in dispatch web_1  |     r = self._call_function(**self.params) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 346, in _call_function web_1  |     return checked_call(self.db, *args, **kwargs) web_1  |   File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper web_1  |     return f(dbname, *args, **kwargs) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in checked_call web_1  |     result = self.endpoint(*a, **kw) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 941, in __call__ web_1  |     return self.method(*args, **kw) web_1  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 519, in response_wrap web_1  |     response = f(*args, **kw) web_1  |   File "/var/lib/odoo/.local/share/Odoo/addons/12.0/vue_storefront/controllers/public.py", line 26, in products web_1  |     applied_filters = json.loads(payload.get('request')).get('_appliedFilters') web_1  |   File "/usr/lib/python3.5/json/__init__.py", line 312, in loads web_1  |     s.__class__.__name__)) web_1  | TypeError: the JSON object must be str, not 'NoneType' - - -
and i tried : http://localhost:8069/api/user/refresh
ended with {     "message": "missing access token in request header",     "type": "access_token_not_found" }
I think i am doing something wrong but i am not sure can you please help me?

I am having same issue, did you ever figure it out @creativefurniture ?


Add a lenient query parser

#5
Question: Is there some way of consolidating the special chars with no spaces and one without?
If a query cannot be passed all the special characters are removed from the query string. If that fails to be compiled into an AST then an empty query (which should return no results) will be returned.
Add unicode-perl as a feature flag to regex due to---- query_grammar::test::test_field_name_re stdout ----
thread 'query_grammar::test::test_field_name_re' panicked at 'called `Result::unwrap()` on an `Err` value: Syntax(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regex parse error:
    \\(\+|\^|`|:|\{|\}|"|\[|\]|\(|\)|\~|!|\\|\*|\s)
                                                ^^
error: Unicode-aware Perl class not found (make sure the unicode-perl feature is enabled)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
)', query-grammar/src/query_grammar.rs:573:82

Just realised that this PR is in the wrong bit of the code, moving it into the QueryParser bit

Is this waiting for changes? Happy to help if I can to get this across the line

@zoonage the issue #5 was reassigned to @trinity-1686a who is currently working on it.


How can i align horizontally to my Label and input box in my code, What CSS should I use to design it like the attached one using HTML and CSS?

Before opening an issue:

Search for duplicate or closed issues
Validate and lint any HTML to avoid common problems
Prepare a reduced test case for any bugs
Read the contributing guidelines

When asking general "how to" questions:

Please do not open an issue here
Instead, ask for help on StackOverflow, IRC, or Slack

When reporting a bug, include:

Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
Reduced test cases and potential fixes using JS Bin

When suggesting a feature, include:

As much detail as possible for what we should add and why it's important to Bootstrap
Relevant links to prior art, screenshots, or live demos whenever possible

Sorry, but we cannot help with how-to or general troubleshooting issues here; only bug reports and feature requests. You'll want to ask around in the official Slack team or Stack Overflow. See our readme for more details.


Parse url from the event instead of an invalid link

Hello,
Currently the calendar events points to an invalid internal url (/lovelace/undefined) in case of ical(ics) at the title.
As the Ical has the opportunity to include url for each event, please parse the URL property from the calendar (if it has).
Expected behavior
The event title should point to the url which is provided with the event
Current behavior
Currently the title link opens an invalid internal url /lovelace/undefined, and the calendar URL property is ignored.
Screenshot

Possible solutions
Try to handle a standardized element: https://icalendar.org/New-Properties-for-iCalendar-RFC-7986/5-5-url-property.html
Here you can find a simple calendar
Context and reason
Checklist

[ x ] I searched the current issues and the feature is not known.
[ x ] I am mostly sure that the feature will bring more good than bad.

I have looked into this, Unfortunately this is a limitation of the HomeAssistant CalDav integration.
As you can see here the sensor attributes don't include the URL property.
I have requested for this to be added via https://community.home-assistant.io/t/include-caldav-url-property/273150

I have looked into this, Unfortunately this is a limitation of the HomeAssistant CalDav integration.
As you can see here the sensor attributes don't include the URL property.
I have requested for this to be added via https://community.home-assistant.io/t/include-caldav-url-property/273150

Thank you for the clarification. in the meantime I've upvoted on ha site for this feature request.

Thank you for the clarification. in the meantime I've upvoted on ha site for this feature request.

I have also found that nextcloud only supports up to RFC 5545 so it sounds like there would potentially be a lot of issues with other calendars integrating with this.

I have also found that nextcloud only supports up to RFC 5545 so it sounds like there would potentially be a lot of issues with other calendars integrating with this.


KOGITO-9580: cli run is not opening browser window with dev ui

On this PR:

This PR fixes the issue introduced recently, where the dev UI was not automatically launched. This happened because suppressBrowserWindow was not correctly defined.

What needed to be added was the correct bindings on Makefile. The process to bind a variable like that is similar to changes if you search for 'devModeImage' in our codebase.
The feature to 'Don't automatically open a browser window in dev UI' is now done via a run parameter ( run --open-dev-ui=false), because it makes sense for some use cases.
I've also:

added to git ignore it-tests/temp-tests/, to avoid side effects if we stop a test execution in the middle
Added a README of how to run it tests
Removed testPrintCmdOutput as bound variable (to avoid pollute makefile) and transformed to a test property. To see full output now, you set testPrintCmdOutput = true. We can evolve this process later.

Also, I've had to temporarily disable some it tests that are not working on OSX. Https://issues.redhat.com/browse/KOGITO-9585 follows those and needs to be fixed before TP2.

/cc @AjayJagan @zdrapela

@domhanak I'm merging this because it blocks other PRs. If you want to suggest any change just let me know and I'll address it in a new PR.


[Question] How can i make focusedDataPointLabelComponent above everything?

Hi, i have this focusedDataPointLabelComponent
focusedDataPointLabelComponent: () => (
        <Box
          style={{ zIndex: 999 }}
          px={4}
          py={1}
          bottom={10}
          right={10}
          bg="white"
          borderWidth={2}
          borderColor="primary.500"
          borderRadius="full"
        >
          <CurrencyText
            value={item[viewing] as number}
            prefix
            decimalScale={2}
            fontFamily="montserrat"
            color="primary.500"
            style={{ fontWeight: "800" }}
          />
        </Box>
      ),

And this dataPointLabelComponent
dataPointLabelComponent: () => {
        if (hasIncreased() == null) {
          return <></>;
        }
        return (
          <Box right={2}>
            {hasIncreased() ? (
              <Icon as={AntDesign} name="arrowup" color="green.500" size="lg" />
            ) : (
              <Icon as={AntDesign} name="arrowdown" color="red.400" size="lg" />
            )}
          </Box>
        );
      },

The only problem is that the Icon is above the rendered tooltip. I tried passing zIndex to it, but it didn't work. Is there a way to make it always above everything?
This is how it looks like

Hi @JosephKorel 👋
Thanks for bringing this up.

Hi @JosephKorel 👋
This has been fixed in version 1.3.9🎉
Please update.


Add Cesium ion geocoder to CesiumIonClient::Connection

As described in #974, we want to make it easier for users to find the coordinates of locations of interest in our integrations, as an alternative to looking up the coordinates through some other service and entering them manually. The first step of this is completing #70, an implementation of the Cesium ion geocoder API, which is what this PR is for. It adds a geocode method to CesiumIonClient::Connection modeled on the CesiumJS geocoder API. This isn't a complete geocoder implementation supporting multiple services, but it will allow us to implement CesiumGS/cesium-unreal#99 to improve Cesium for Unreal's ease of use.

Request to get this finished from the forums: https://community.cesium.com/t/geocoder-for-unity/37435


[SPARK-25299] Simpler scheduler integration

This is a much simpler, less invasive version of of https://github.com/palantir/spark/pull/548, but with limited functionality (and I'm not entirely sure it works... see below for reasoning)
To better support async and individual file server implementations, it would be helpful to be able to retrigger map tasks when a fetch failure happens (if we do not support retriggering map tasks, a fetch failure will always result in the entire job failing). This change allows retriggering on the simplest level: it only invalidates the mapper associated with the FetchFailure, and doesn't attempt to remove other MapStatuses on the same host or execId.
In this scenario, we'd expect other MapStatuses on the same hosts/execIds will be removed by other FetchFailed exceptions from other reducers. However, I'm not entirely sure it currently works like this. I noticed that the FetchFailed exception is ignored if the current stage's attemptId is not the one returned by the FetchFailed exception (https://github.com/palantir/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L1519). Based on some of the code here in submitMissingTasks() (https://github.com/palantir/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L1110), I think it takes whatever MapStatuses are missing in the MapOutputTracker and only resubmits those. If we're waiting on other executors to report back FetchFailed from the same source, and the FetchFailed errors don't return quickly enough, then a resubmission of missing tasks between every FetchFailure could resulting in maximizing the attemptId before we've marked all the MapStatuses for the same host/execId as needing a retry.
Hopefully that made sense? At least, I think that's how it works, in which case we'd probably need another type of solution...
@squito @mccheah for comments?

yes, I think you're description of the problem is correct -- but I just commented on your google doc that I think you have the same problem in the use of unregisterOtherMapStatusesOnFetchFailure in the async case.
I'm wondering if really the driver needs to handle a new message UpdatedShuffleBlockLocation which would allow async replicas, rebalancers etc. to tell the driver.  (But I'm not sure we need to do that now either.)
I'm still a little stuck, on this and https://github.com/palantir/spark/pull/548, on why we need to allow each shuffle block to go to a different location, instead of sending the entire output of one map task to the same destination.  Obviously that would be more flexible, but not doing that still seems to allow a lot of the designs we've been considering, while reducing the complexity a lot, so seems like the right step for incremental improvement.


Problems deploying somewhere besides a domain root

I tried to set up privatesquare at a path on an existing domain, such as www.example.com/privatesquare/, using:
Alias /privatesquare /home/markpasc/privatesquare/www

but this made the api/ endpoint return 404 responses. The Apache error page reads:
The requested URL /home/markpasc/privatesquare/www/api_rest.php was not found on this server.

and the error log gets a:
File does not exist: /var/www/home

so seems like the relevant RewriteRule in www/.htaccess makes Apache misinterpret the rewritten aliased file path /home/markpasc/privatesquare/www/api_rest.php as the URL www.example.com/home/markpasc/privatesquare/www/api_rest.php for some undoubtedly silly reason.
I also noticed the forms in the sign-up and sign-in pages use root-relative URLs instead of the abs_root_url, so the forms only submit to the correct location when deployed to the root of a domain. Additionally I wasn't able to get privatesquare to authorize against Foursquare properly until I switched it to be at the root of a domain.
Is it a boondoggle trying to run privatesquare somewhere besides / yet? I was only trying as I already have a domain with a few other apps like that, but can run it at a domain root for now. (The README mentions it should be possible but seems to me that statement could be boilerplate about Flamework.)

No, although I've not tried it with Aliases.
It works fine running it out of a ~ directory for example:
http://example.com/~asc/privatesquare/www/
I can look at this in the morning. As for the relative URLs for signin/out that's just a hangover from old Flamework code; it should be updated (in both places, if necessary).


Can't find androit tv when searching for accesories in Home app

Hello everyone
I am pretty new to homebridge and since I succesfully paired my Philipss TV with homekit, now I want to go further by integrating my nvidia shield wich is my main device for media consumption. I followed the step and I think all the config are good since I have my nvidia shield in my homebridge dashboard. My issue is when I try to add my shield as accesory in home app, there is nothing to add.
Any idea ? Thanks in advance

Hello, it looks like it should be working.
Have you tried to restart your homebridge server and see if it will appeared after that.

Yeah I have tried to reboot my homebridge, and after restart I have these :

Log spamming message that device can't be found, so I have to run adb connect again everytime I restart my homebridge

But still nothing when adding accessory

You can disable the debug log via Homebridge Config UI X and uncheck the "display more debug message" or add "debug: false" in your Config file, if you don't want to see the logs.
That screenshot means that homebridge-adb can't connect to your device, either because of wrong ip, device is turned off, network trouble, or adb not properly authorized. So it won't create the HomeKit accessories until it can successfully connect.
One possible solution: make sure you turn on your Shield, open terminal via Homebridge Config UI X, then type "adb devices". You can also restart Homebridge just to make sure. If your device listed there, then the plugin should work, theoretically. If not, then you need to authorized your adb connection, please refer to readme on how to do that.
Side note: You don't have to reconnect ADB every time you restart Homebridge. The plug-ins will reconnect to ADB, provided it with correct IP address.

so here what I did

Shield TV ON
Restarted my homebridge server
type adb devices -> result nothing my nvidia shield was disconnected after reboot .... and log spamming"SHIELD - Device disconnected? Trying to reconnect"
I have to type adb connect <IP_ADDRESS>:55 to reconnect my shield tv...
Shield TV still ON
Trying to add accessory in the home app, nothing in the home app but Nvidia shield is present in my homebridge dashboard

So I have 2 issues:

device disconnecting from adb devices list after homebrige reboot.
And Shield is not showing in Home App

Resolved my issue about Home app not discovering nvidia shield TV
For unknown reason when my accessory has the name "SHIELD" it doesn't work, but renamed to SHIELDTV, now I can find it in home app
But the 2nd persist, my nvidia shield keep disconnecting from homebridge when I restart my server. Where I can find the config/startup.sh please ? I'am running homebridge img on a raspberry

Resolved my issue about Home app not discovering nvidia shield TV
For unknown reason when my accessory has the name "SHIELD" it doesn't work, but renamed to SHIELDTV, now I can find it in home app
But the 2nd persist, my nvidia shield keep disconnecting from homebridge when I restart my server. Where I can find the config/startup.sh please ? I'am running homebridge img on a raspberry

Reminder, this is not ideal solution:
Yes, you can run "adb connect ..." on OS startup, to make sure ADB properly connecting to your device.
If you're running docker image in your rpi. Only then you can accessed  startup.sh from three dots menu in Homebridge Config UI X

You can add your "adb connect ..." over there.
If you're running homebridge image and flash it to SD card, there is no startup.sh, but instead you can use regular linux startup methods like crontab to execute a command on startup.


Suddenly Unable to Conect to Nox

I've been using this for a few days now, but for some reason while the Daemon can still start successfully it is now unable to connect to Nox.
I tried restarting my computer and updating Fate-Grand-Order_Lua and neither worked.
Not sure what the problem is?
Maybe Nox updated itself, but normally I'd at least be notified before an update was made.
So I'm not sure how the problem developed or how to fix it.

This is what it looks like

Hi, I faced this problem while using Nox initially, and if I remembered correctly, I copied the adb from nox folder to replace the one in deamon folder. Remember to make a copy of the original one, or just add the .ori extension to it.

I'm just about to experiment, first I'm not sure where the ADB in Nox is, but I should find it before long.
Once I find it I'll copy paste it, but do I replace the ADB file in tools or the Nox_ADB?
Both?
Since you'll probably not see this right away, I'll try both methods through copy pasting.

Alright I found the ADB of Nox in the bin folder
I then tried both methods to see if either of them would work.
First I tried changing the ADB file in tools and while the message changed it didn't work.
I reverted back to the original and changed the Nox_ADB and it still didn't work.
Here is the new message I got

It seems to be implying that USB Debugging is off for some reason, but I double checked and it's still on.  I'm not sure what the problem is exactly.
Especially since just yesterday it was working fine in it's original form.

I'm doing some research on it, but my guess is that the new text is coming because it isn't killing the service first.
It's going straight to connecting, with the original it killed something first and then made sure Daemon was working successfully and then it connected.
It failed at the third step.
When I replace the ADB it seems like it is failing on the first step.
Still going to keep looking to see if I can figure out a solution.

I never did find out how to fix it, anything on your end?

The new message implies that Deamon is installed. Have you tried to run Ankulua?

I just tried again and it turned out that did make it work.
Huh looks like I should have at least tried Ankulua rather than assume it didn't work based off the dialogue.
I assumed it would say connected to the device successfully like it used to.


Update dependencies

Codecov Report
Patch and project coverage have no change.

Comparison is base (f3bd2a3) 100.00% compared to head (1809b53) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #43   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          255       255
  Branches        55        55
=========================================
  Hits           255       255

Impacted Files
Coverage Δ

src/objectory/abstract_factory.py
100.00% <ø> (ø)

src/objectory/errors.py
100.00% <ø> (ø)

src/objectory/registry.py
100.00% <ø> (ø)

src/objectory/utils/name_resolution.py
100.00% <ø> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Move component loading into components-contrib

The logic to load components is in daprd, but now we have conformance tests that also need to load components but run on components-contrib instead. It causes duplicate logic for loading components, leaving the production code to load components outside the coverage for conformance tests.

/cc @yaron2  We had a discussion about this. Should we close this as will not fix?


fix relevant variables for x and y axes selection

right now the x and y axes selection only allow continuous variables but it'd be nice to have, for example, histograms that allow character and factor variables

@ktoddbrown what's the status on this? are you thinking you'll include other variable types as well?

@lkuiucsb do you want to take this over? i think it pertains to the issue we talked about today at the meeting (i.e., that we current can't plot some types of variables).

Sure. I can work on this one. I think once we fix the other issue, hopefully this will be fixed too.

@lkuiucsb what's the status on this? let me know if you need help.

I am on a week-long meeting this week. Probably don’t have time to get to it until later next week. If you have time, go ahead and edit it. I will check in with you later once I have time. @sheilasaia

@ktoddbrown do you want to work on this instead?

This seems to be no problem in the Kui-development branch. So I am going to close this one unless you see more issues later.


adds documentation to insight and adds it to chainslist

Problem solved
BLOCK-325

Short description of the bug fixed or feature added

PR-Codex overview
This PR introduces the Insight feature into the application, enhancing blockchain data querying capabilities. It includes new components, routes, and metadata to support the functionality, along with the addition of icons and documentation for better user guidance.
Detailed summary

Added Insight link in Header.tsx.
Updated chain.ts and metadata.ts to include Insight.
Implemented InsightSection in page.tsx.
Created sidebar for Insight in sidebar.tsx.
Developed Layout for Insight in layout.tsx.
Added InfraInsightIcon in index.ts.
Created InsightIcon in icons directory.
Introduced Insight pages in page.mdx, blueprints/page.mdx, get-started/page.mdx, and use-cases/page.mdx.
Added SVG for Insight icon in public/og/icons.
Enhanced documentation for Insight with use cases and blueprints.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5376  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @iuwqyir and the rest of your teammates on  Graphite

Deferring the dashboard review to @jnsdls here


Enforce order of emissions submissions

While researching the issues documented in #6476, I noticed that the application is currently allowing later emissions quarters to be submitted before prior emissions quarters are submitted.
Example: 2023 Q1 and 2023 Q2 both had open submission windows. I was able to submit the 2023 Q2 emissions data before the 2023 Q1 emissions data. This should not be allowed.
In ECMPS 1.0, users would need to either submit the earliest quarter first or both quarters at the same time.
The same is true in 1.0 even if different calendar years are involved. A user cannot submit a 2024 Q1 file before a 2023 Q4 file.
ECMPS 1.0 enforces this by limiting what can be selected on the screen.

This may already work (if there is logic in place for what can be selected on the Submit screen), but #6476 needs to be corrected first to know for sure.
Adding this ticket as a placeholder to recheck this behavior once #6476 is corrected. If it's an issue, we can turn this into a development ticket.

This ticket should be updated with required changes from #6476.

Developer needs to document what needs to be updated.


0.8.1 build success on Visual Studio 2022 Community but getting ANSI Error when installing the plugin

Issue description
0.8.1 build success on Visual Studio 2022 Community but getting ANSI Error when installing the plugin
Following up on this:
https://github.com/nea/MarkdownViewerPlusPlus/issues/70

I managed to get it work for the 0.8.1 branch with the following steps:

@monoblaine I was able to build version 0.8.1 in Visual Studio 2022 for x86 using PDFSharp 1.50.4000-beta3b as suggested by @DimitrijeK
Other packages:
HtmlRenderer.Core -> 1.5.1-beta1
HtmlRenderer.PdfSharp -> 1.5.1-beta1
HtmlRenderer.WinForms -> 1.5.1-beta1
When copying the plugin files to Notepad++ 8.6.8 (x86) plugins folder I still get the same error "This ANSI plugin is not compatible with your Unicode Notepad++"
https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/issues/52
This mentions running "makerelease.ps1" for NotepadPlusPlusPluginPack.Net：0.94.00 but it seems like all the files in v0.8.1 are already UTF-8.
Also, on this Npp community thread, "C# Plugin Development and Error: This ANSI plugin is not compatible with your Unicode Notepad++"  Paul Baker suggested changing the post-build tasks but I am lot at this.
Has anyone tried to build it recently? Any luck?
Environment

Notepad++ 8.6.8  (x86)
MarkdownViewer++ 0.8.1
Windows 10 (x64)

Version 0.8.2 build fine for Debug - Any CPU but getting following errors when building for x86 or x64
Rebuild started at 6:15 AM...
1>------ Rebuild All started: Project: MarkdownViewerPlusPlus, Configuration: Debug x64 ------
1>  Transitive merge
1>  Merged assemblies: C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\MarkdownViewerPlusPlus\obj\x64\Debug\MarkdownViewerPlusPlus.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\HtmlRenderer.Core.1.5.1-beta1\lib\net40-client\HtmlRenderer.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\HtmlRenderer.PdfSharp.1.5.1-beta1\lib\net40-client\HtmlRenderer.PdfSharp.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\HtmlRenderer.WinForms.1.5.1-beta1\lib\net40-client\HtmlRenderer.WinForms.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\Markdig.0.15.0\lib\net40\Markdig.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.Charting.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.dll;C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\packages\Svg.2.3.0\lib\net35\Svg.dll;
1>C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\MarkdownViewerPlusPlus\MarkdownViewerPlusPlus.csproj(278,5): error MSB4062: The "NppPlugin.DllExport.MSBuild.DllExportTask" task could not be loaded from the assembly C:\Users\dell\Desktop\MarkdownViewerPlusPlus-0.8.2\MarkdownViewerPlusPlus\PluginInfrastructure\DllExport\NppPlugin.DllExport.MSBuild.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the  declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
========== Rebuild completed at 6:15 AM and took 02.521 seconds ==========

If anyone wants to try building MarkdownViewerPlusPlus on Visual Studio 2022 Community check this out:
Open Legacy Projects (4.5 Framework) In Visual Studio 2022
https://www.c-sharpcorner.com/article/open-legacy-projects-4-5-framework-in-visual-studio-2022/

Another recommendation for ANSI issue:
NotePad++ Plugin - ANSI vs UNICODE
https://www.reddit.com/r/programminghelp/comments/1254kdv/notepad_plugin_ansi_vs_unicode/
From the reddit post:

Moments after posting this, I was able to find a hint from the internet (even though what seems like 100s of previous searches were dead ends...). The dll that I was using took a string as an input. If I convert that string to UTF8, then it no longer is upset about UNICODE vs. ANSI. I do have other problems, but this issue seems to be resolved.

byte[] bytes = Encoding.Default.GetBytes(myString);
myString = Encoding.UTF8.GetString(bytes);

I was able to build 0.8.2 as well on Debug - Any CPU and Debug - x86 with the following settings:

SdkPath: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools

Installing .Net Framework 3.5 https://github.com/kbilsted/NotepadPlusPlusPluginPack.Net/issues/31#issuecomment-473773499

Figured out the issue, needed to install .net 3.5 (including 2.0) because the NppPlugin.DllExport.MSBuild.dll is referencing msbuild v <IP_ADDRESS> instead of msbuild v <IP_ADDRESS>

The ANSI error is gone and the the build is successful. I tested installing the plugin and it works!


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for koyomi processing.

Name
Link

🔨 Latest commit
40b387f0b78633307fa25b60b4000630aac6325c

🔍 Latest deploy log
https://app.netlify.com/sites/koyomi/deploys/62d56f0c145ab800081c56c6


feat: add Appearance to FluentProgressRing

🙋 Feature Request
The ability to configure the Appearance similar to other Fluent components.
🤔 Expected Behavior
<FluentProgressRing Appearance=Appearence />
😯 Current Behavior
<FluentProgressRing Color=GetRingColourFromButtonAndAppearenceConfigAsync() />

  @code {
      [Parameter]
      public Appearance? Appearance { get; set; }
      private async Task<string> GetRingColourFromButtonAndAppearenceConfigAsync()
      {
           var swatch = await GetSwatchForConfiguredAppearence();
           return $"#{((int)(swatch.R * 255)):X2}{((int)(swatch.G * 255)):X2}{((int)(swatch.B * 255)):X2}";
      }

      private async Task<Swatch?> GetSwatchForConfiguredAppearence()
      {
            return Appearance switch
            {
                Appearance.Neutral => neutralForegroundColour.GetValueFor(_fluentButtonRef!.Element),
                Appearance.Accent => accentForegroundColour.GetValueFor(_fluentButtonRef!.Element),
                _ => null
            };
      }
  }

💁 Possible Solution
An implementation of Appearance on the FluentProgressRing to allow per-component theming changes between the built-in colour sets. (Neutral, Accent, Lightweight, Stealth, etc)
Where this isn't available (possibly due to the wrapped framework also not supporting it). A nicer way to get a Colour HexString from a Swatch, or advice where this extension method exists already.
🔦 Context
As part of componentising some functionality, a FluentProgressRing appears on top of a FluentButton.
The FluentButton can be configured with the Appearance property to (normally dramatically) change the Colour of the button. Either to make it pop out more in contrast to other buttons, or to indicate some preference, etc. The same Appearance configuration cannot be provided to the FluentProgressRing So given contrasts between Accent and Neutral colour configurations, sometimes an Accent Background is displayed along or behind a Neutral foreground. these colours are often not complimentary. (For example, Accent background may be black instead of white, where a Neutral is white background black foreground). With these 2 combined it makes it impossible to see.
A workaround we have introduced is to inject the NeutralForegroundActive and AccentForegroundActive design tokens and read the value off of the FluentButton depending on the value of Appearance. This lead us to another issue that you can only provide a Hex colour string to FluentProgressRing and there appears to be no "ToHexColor" or similar extension method for Swatches. If you feel this would be a useful feature request in itself (I certainly think so) then I will raise it separately. Or I'd love to be told where this extension method lives, so that I can use a similar method without having to put frameworky code in my solution.
💻 Examples
Provided in Current Behavior and Expected Behavior

Hi,
I don't think Appearance is a correct term/way to style the ProgressRing. At tleast, that is not how the Fluent Design is using that. What would happen if you set a ProgressRing to stealth appearance? Does it only display when the mouse moves over it?
Users (both developers and end-users excpect a certain commonality in the terms used and the effects of using it produce. We feel the Color parameter offers enough customization for this specific elelment/component. And by providing that option, we are already strechtching the limits a bit

As part of componentising some functionality, a FluentProgressRing appears on top of a FluentButton.
The FluentButton can be configured with the Appearance property to (normally dramatically) change the Colour of the button. Either to make it pop out more in contrast to other buttons, or to indicate some preference, etc. The same Appearance configuration cannot be provided to the FluentProgressRing

We do that by design. The system determines the color of the ProgressRing then, just as it determimes the text color (mostly to guard contrast is sufficient)

So given contrasts between Accent and Neutral colour configurations, sometimes an Accent Background is displayed along or behind a Neutral foreground. these colours are often not complimentary. (For example, Accent background may be black instead of white, where a Neutral is white background black foreground). With these 2 combined it makes it impossible to see.

There is no notion of an Accent background in the design system. It is just a fill color. Setting accent to black would mean an Acen button would be black, the Tabs indicator would be black, a 'on' switch would be black, etc.
Turning this into a discussion item so others can chime in.


Testimonial button added to profile page

Fixes Issue
fixes #2443

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

LGTM

Thank you 👍

i saw you have one test failing. I'm not sure what is wrong from looking though

oops, I will take a look

just a reminder to check mobile view if you have not to make sure the length of the submit button is not blocking anything important in the UI

Oh yes let me double check

I think for mobile, it will be over some items but not blocking them completely

Is this something that should be only displayed in the testimonials tab in the profile?

I thought of this idea also, but then realised if the person has no testimonials the tab is not displayed and then the button would not be reachable - I think there are definitely improvements we can make to this button though 👍


Add a try_add method for request headers

Preparation work for: https://github.com/microsoft/kiota/pull/3401

Thanks for the work here @samwelkanda for release
Also this made me realize the Python implementation is not aligned with other languages so I created this issue.
https://github.com/microsoft/kiota/issues/3430

If we can get this one merged I can proceed with the final implementation in Kiota without risk of breaking 🙏


gtk3: 3.24.7 -> 3.24.8

http://ftp.acc.umu.se/pub/gnome/sources/gtk+/3.24/gtk+-3.24.8.news

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

:eyes: #59408
looks like hedning was quicker than dtzWill-update :smile:

Haha indeed, sorry for the duplicate!


Manufacturing line validation with ESP-EYE

This is a lab that shows a prototype setup for using vision based AI to validate the output of a manufacturing line, running on an ESP-EYE.
This lab will use C++ on the ESP-EYE, and Python on a Raspberry Pi
Hardware used

ESP-EYE
Raspberry Pi 4
Grove Pi+ - hat, LEDs, button

Lab parts
The parts to this lab are:

Setting up the ESP-EYE development environment using PlatformIO
Building a 'hello world' app on the ESP-EYE to prove the setup works in C++
Constructing an assembly line (example using Lego)
Add a camera control web server to the ESP-EYE to capture source images of valid and broken parts on the assembly line
Use the images to train a Custom Vision model
Add calls to the Custom Vision model to the ESP-EYE code so it validates images after capturing them
Connect the ESP-EYE to IoT Hub for control
Connect the Raspberry Pi to IoT Hub to control the ESP-EYE via a button and show the Custom Vision results using LEDs
Run the Custom Vision model on the Pi using IoT Edge

All labs should follow the lab contribution guidelines.

This has been implemented

This has been implemented


IGNITE-17107 [Native Persistence 3.0] End-to-end test for persistent PageMemory

https://issues.apache.org/jira/browse/IGNITE-17107

LGTM!

Merged to the main branch https://github.com/apache/ignite-3/commit/02d795cefabae3e713bd3ba2accd25a090d2a10c


search: remove remote searching

Option A: Algolia
Option B (this PR): remove remote searching entirely
Given the use of our own JSON API, the need for remote searching has largely diminished as you can no longer "untap" Homebrew/cask.
However with both options we do lose the ability to search cask-versions/drivers/fonts when they are untapped, which was the reason the Algolia pull request was rejected so this PR is perhaps not enough of an improvement over the original proposal (though the current functionality is now broken without API tokens). If any ever get added to formulae.brew.sh (even if just as HTML with no JSON), then Algolia could cover them.
Option C is to use the GitHub files API which I could look at, though will require a number of API requests (per repository and perhaps pagination but I haven't checked).
Fixes https://github.com/Homebrew/brew/issues/15208

Option B (this PR): remove remote searching entirely

I agree this is the best fit.

However with both options we do lose the ability to search cask-versions/drivers/fonts when they are untapped, which was the reason the Algolia pull request was rejected so this PR is perhaps not enough of an improvement over the original proposal (though the current functionality is now broken without API tokens).

IMO this is yet another good reason to combine these taps. I still think we should be combining cask-fonts too, at least for those that are clearly used through analytics CC @Homebrew/cask.

I still think we should be combining cask-fonts too, at least for those that are clearly used through analytics CC @Homebrew/cask.

It's possible we could have formulae.brew.sh support for cask-fonts, I wouldn't say that's completely out of the question. Focus on the others first though.

It's possible we could have formulae.brew.sh support for cask-fonts, I wouldn't say that's completely out of the question. Focus on the others first though.

I don't think it's worth it for a single tap. I think there's a host of issues with us having multiple official cask taps in the Homebrew organisation.

We're talking about 2000 packages here though rather than a couple, which would increase the size of homebrew-cask by 50%.

I think using analytics can slim this down a bit but, post-sharding: I think this is still worthwhile.

There's maintainability questions that would be best to discuss with the people who maintain it on a day-to-day basis.

I think maintainability is important but: so is user/contributor experience and the current level of discoverability makes both of those harder.

formulae.brew.sh integration isn't really that tough of a task

Yeh, probably but but: we've got a host of other API-related issues affecting users that seem much higher priority to me: https://github.com/Homebrew/brew/issues?q=is%3Aissue+is%3Aopen+label%3A"install+from+api"
These are blocking our ability to say in https://github.com/Homebrew/brew/pull/14592 "hey, try enabling API support again".

There's maintainability questions that would be best to discuss with the people who maintain it on a day-to-day basis.

I only maintain the main cask repo because the others have increasingly hand-wavy rules so for me keeping them all in the same repo with the same rules would be a big improvement. Also note that https://github.com/Homebrew/homebrew-cask/issues/112102 has existed for 1,5 years at this point. Clearly nobody objects significantly.

Let's keep that separate for now given we'd ideally look at those in the short term and cask-fonts in the medium term (sharding needs to happen before adding another 2000 casks, and versions & drivers should be tackled first).

My point was intended to be: I think all of those issues are much more important than fixing search for taps.

Users don't really care as much about taps so maintainability is always going to be an important factor.

Users indirectly care about taps when they don't discover things because they don't know about non-default taps.

I don't agree it's impossible to make a good user experience with separate taps

I don't think this either. I just think it requires a bunch of work that would be unnecessary for maintainers, contributors and users when you subdivide things into taps. This is why we stopped doing this (very) long ago for formulae.

Thanks again @Bo98!


Will it include the base attribute?

Ran into this issue when using the note path module:
https://stackoverflow.com/questions/59605333/not-using-the-base-attribute-when-making-domsanitizer-api-calls
The path created ends up prefixing the path from the application base attribute, and this is undesired.
Just curious whether this module will duplicate that behavior?

I'm not sure what that question is about exactly. If you pass URLs to path you will get bad behaviour because the path module only works with file paths, so it doesn't take into account the scheme:// and other URL-specific things.


PHP warnings After update

Hi, this is continuation of thread https://github.com/budgetneon/v2pagecache/issues/18
After changing to new file, There are many PHP warnings:

2016-10-18 21:28:40 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:28:40 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:28:42 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32
2016-10-18 21:34:15 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:34:15 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:34:16 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32
2016-10-18 21:39:51 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:39:51 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:39:51 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/response.php on line 12
2016-10-18 21:43:56 -
2016-10-18 21:43:56 -
2016-10-18 21:45:27 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:45:27 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:45:28 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:45:28 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:45:29 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32
2016-10-18 21:45:32 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:45:32 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:51:02 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/index.php on line 240
2016-10-18 21:51:02 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:51:04 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:64) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32

Not sure what that is.   What is the code on line 64 of system/library/v2pagecache.php ?

Also, did you clear the cache and restart apache or whatever your webserver is?

And, also, you did uninstall the old module, and reinstall the new module, right?  You didn't just copy/replace a single file, right?

Clean install helped....

It is again here.. Now on line 62
Line says
if (array_key_exists('language',$svar)) {

What's the error?  You're showing me code, but not the associated error.

2016-10-18 21:28:40 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:62) in /home/abc/public_html/index.php on line 240
2016-10-18 21:28:40 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:62) in /home/abc/public_html/system/library/currency.php on line 45
2016-10-18 21:28:42 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/abc/public_html/system/library/v2pagecache.php:62) in /home/abc/public_html/vqmod/vqcache/vq2-catalog_controller_module_lastviewed.php on line 32

I can't reproduce that on my machine, so there's not much I can do about it.

Since the error doesn't really relate to the code, it seems like an unclean install or similar.  Something where you would want to clear the cache, uninstall, reinstall, restart the web server, restart fastcgi, etc.

but i am getting it very often.. i have cleared all cache and uninstalled and then installed.. What else i supposed to do?

i can't restart Webserver as i am on shared hosting

Sorry, I have no idea.  I cannot reproduce that here.  What else would I do?

What about these errors?
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/divyabac/public_html/system/library/v2pagecache.php on line 63
Warning: array_key_exists() expects parameter 2 to be array, null given in /home/divyabac/public_html/system/library/v2pagecache.php on line 70

I think you need to change the block like as below

$svar=$this->GetSessionVar();
if(isset($svar)){
if (array_key_exists('language',$svar)) {
// only accept specific strings for $_SESSION['language']
// (two small letters, optionally followed by - and more letters)
if (preg_match('/^[a-z]{2}-[a-zA-Z]$/',$svar['language'])) {
$this->lang=$svar['language'];
}
}
if (array_key_exists('currency',$svar)) {
// only accept 3 consecutive A-Z for $_SESSION['language']
if (preg_match('/^[A-Z]{3}$/',$svar['currency'])) {
$this->currency=$svar['currency'];
}
}
}

Try editing it and change to:
if (is_array($svar) && array_key_exists('language',$svar)) {
and
if (is_array($svar) && array_key_exists('currency',$svar)) {
If that works for you, I'll create a new version with a similar fix.  Probably not today though.

I uploaded a new version with those fixes.


Fix logback config for pre-prod & prod

Thanks: will this have broader effects on logging detail in the pre-prod and prod environments? Beyond the seedLogger?
If I understand correctly this is turning on the:
NOPAppender and
ConsoleAppender
in those environments? And that this will provide the output we need in Spring Boot:
    <logger name="org.springframework.boot" additivity="false" level="INFO">
        <appender-ref ref="logAppender"/>
        <appender-ref ref="consoleAppender"/>
    </logger>

But that's just my guess. It would be good for this to be detailed in the commit.
My concern is that we don't expose PII by increasing logging levels in areas other than seeding in pre-prod and prod...

@edavey that's correct - this will turn on logging


Clarify where full list of subcommands can be found

r? @wycats
cc @samphippen
(Full fix would be to fix https://github.com/rust-lang/cargo/issues/2789)

I'd prefer "see all commands with --list" but otherwise this looks good :)

Done

@bors: r+

:pushpin: Commit 350223e has been approved by alexcrichton

:hourglass: Testing commit 350223e with merge 5361fa9...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


Send user id when signing in to AppMap server

Closes https://github.com/getappmap/appmap-intellij-plugin/issues/250

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

v0.32.1
GitHub release

Your semantic-release bot :package::rocket:


Clarify platform behavior when dashboard url is not returned

while polling on update.
Have not expressed an opinion on how the broker can clear out an existing dashboard url, but clarified current behaviour in a way that its backwards compatible.

One minor nit - there's a misspelling in the commit message ('clarify')

rebase needed

SGTM just waiting for the rebase

@tinygrasshopper We discussed this on today's call and are happy to start reviewing, but it needs a rebase first!

@mattmcneeney rebased

LGTM


Create  Linked list Node cpp

Pull Request Template
What have you Changed(must)
Write here what you have changed in the codebase
Issue no.(must) -
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will be marked as spam.
[ ] My file is in the proper folder
[ ] I am following clean code and Documentation.
[ ] I have added the title and what program will do first in the file
[ ] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

@surajsharma14 you have to mention the issue number in the PR Body.


Update cat namespace descriptions

Updates all cat namespace descriptions to add automation.
Must be reviewed by @natebower before merging.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Checked the style annotations and errors. Several are for different files, and the majority of errors pertaining to this are either misidentified, for example, theopensearch it calls out appears in a hyperlink; or seem questionable, such as adding a space after the . for the hyperlink. Let me know how I should proceed with those.

Checked the style annotations and errors. Several are for different files, and the majority of errors pertaining to this are either misidentified, for example, theopensearch it calls out appears in a hyperlink; or seem questionable, such as adding a space after the . for the hyperlink. Let me know how I should proceed with those.

Looks like a bug in the linter that should be ignoring links. Can you open an issue please? We ignore that for now.

Hello! Please rebase your PR onto the main branch. I've already prepared PR #753.

@Tokesh: Done. All tests are passing, besides the Changelog test, which I believe isn't required for description updates.

@Tokesh You good with this? Re-review/merge pls? (I added a skip-changelog label.)


Use release 1.2.0 of the govuk-elements-sass package

Use release 1.2.0 of the govuk-elements-sass package.

very nice!


Fix worker crash when transaction.on_commit() callback fails

The exception was raised when exiting the @transaction.atomic, which was
outside of our exception handler. This meant the worker crashed and
stopped processing tasks.
Downstreamed from django-postgres-queue. Thanks @gavinwahl!

👁 👄 👁


Fix truncated byte (issue #35)

This should do the job to solve issue #35
Tested with file sizes / threads from #35 , and with more than 10000 size/thread configuration.

Nice catch. Let me inspect it and I'll merge it soon.

So, few notes:

The rounding issue is from the python2 ages. Thanks for that. Please also implement the rounding on the loop before that (line 682)

I wonder regarding the fix of the filesize-1.
Since this issue seems to be an off-by-one issue, it might be the solution. However I'm quite baffled:
since the bytes count goes from 0 to filesize-1 (inclusive), we cannot request byte filesize.
For example, if we're downloading a 5 bytes file, we would request bytes 0 to 4. Requesting byte would be an error.

What do you think?

Yes you are totally right, the filesize-1 to filesize won't fix anything !
I will push a correction  :)

Done
And I also round the filesize/threads in the while (threads number verification) like you said before editing yourpost, I think it is indeed good to check with the chunck size we will have just after with the same round


Run tests in CI with char as unsigned char

Add CI test with -funsigned-char

I may want to add something to ensure that char is really unsigned here and really signed otherwise so I can be certain that the test is doing what it is supposed to do.


Implement shipping logic

Current implementation includes only changing the status of a delivery group to shipped and it lacks any logic related to the actual shipping.

This is already implemented.


New version: DownloadHelper.VdhCoApp version 2.0.19

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 876.)

Same hash E1AF498F95432A4F2F666A8CBEC7BD6AB9DEB4D1695C6E7CDE7ACB9BD408E600 in

#147476


Github action and Requirement.txt

Description
Please explain the changes you've made

Adding for requirements.txt file
Github action for packaging

Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
#9 #10

 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.:x: rajibmitra sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@rajibmitra Any updates on this pr ?

@rmitr any updates on this PR?

@rmitr  closing it for now due to lack of response. Please feel free to reopen when you are working on it.


fix(bindings): Types and Visitor for TsSatisfiesExpression

Description: This pull request support the new feature of typescript satisfies, it's been supported by swc, but not supported by the bindings and visitor yet.

BREAKING CHANGE:

Related issue (if exists):

 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.


Upgrade to Zulip-Server-1-6 fails - DJango and Tornado not starting?

When restarting the server after the upgrade with su zulip -c /home/zulip/deployments/current/scripts/restart-server
we are seeing
zulip-tornado: ERROR (spawn error)
zulip-django: ERROR (no such file)
and
Zulip isn't feeling too good.
Internal server error.
I inherited this server from the person who set it up so not sure where to start looking.
(We are testing this in a VMWare clone with different IP and hostname)
Old Zulip version  - 1.3
OS - uBuntu Server 14.04 LTS
From tornado.log:
File "/usr/lib/python2.7/dist-packages/pika/connection.py", line 1265, in _on_connection_error
self.params.connection_attempts)
pika.exceptions.AMQPConnectionError: Connection to <IP_ADDRESS>:5672 failed: [Errno 111] Connection refused
From upgrade.log:
ERROR: puppet-el is broken - called emacs-package-remove as a new-style add-on, but has no compat file.
Remove puppet-el for emacs23
remove/puppet-el: Purging byte-compiled files for emacs23
ERROR: puppet-el is broken - called emacs-package-install as a new-style add-on, but has no compat file.
Unpacking puppet-el (3.4.3-1ubuntu1.2) over (3.4.3-1ubuntu1.1) ...
Preparing to unpack .../puppet_3.4.3-1ubuntu1.2_all.deb ...

Stopping puppet agent
...done.

and
[1;31mError: /Stage[main]/Zulip::Postgres_appdb_tuned/Exec[pg_ctlcluster 9.3 main restart]: Failed to call refresh: pg_ctlcluster 9.3 main restart returned 1 instead of one of [0]
Error: /Stage[main]/Zulip::Postgres_appdb_tuned/Exec[pg_ctlcluster 9.3 main restart]: pg_ctlcluster 9.3 main restart returned 1 instead of one of [0]
and
File "./lib/upgrade-zulip", line 53, in
subprocess.check_call(["./scripts/lib/upgrade-zulip-stage-2", deploy_path])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./scripts/lib/upgrade-zulip-stage-2', '/home/zulip/deployments/2017-09-07-10-43-58']' returned non-zero exit status 1
From rabbitmq/startup_err:
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k
Thanks for any direction.
HB-IT

From output of supervisorctl status:
can't find command '/home/zulip/deployments/current/zulip-current-venv/bin/uwsgi'
That path does not exist on the server.

Welcome @hb-it! The best place to ask such questions is chat.zulip.org, in the "production help" stream, where we can debug it live. Closing!