Log output files brought back by rose-task-hook2 need to have world-read

keyword_rose-bush_file_permission_rose_task-hook_task-hook2 resolution_fixed   |    by<EMAIL_ADDRESS>
With the upgrade to Rose 2015.04.1 it appears some log files brought back to accessdev by rose-task-hook2 do not to have correct permission so that rose-bush is unable to display log files correctly. The log files need to have the world-read permission to allow rose-bush to display them on a browser. It appears this problem occurs for log files which were produced by failed tasks. Log files from successful tasks have the world-read permission.

Issue migrated from trac:195 at 2024-01-31 18:13:43 +1100

<EMAIL_ADDRESS>commented

I don't see this problem in my tests. Does your suite set the handler for both failure and success?
E.g.,
     [[[event hooks]]]
     succeeded handler = "rose task-hook2"
     failed handler = "rose task-hook2"

<EMAIL_ADDRESS>commented

rose task-hook2 did
chmod -R a+r "$HOME/cylc-run/$SUITE/log/job/$CYCLE/$TASK/NN"

which fixes the permission of the most recent run (01, 02 or whatever). However if the task reruns (automatically or manually), all the directories are brought back from raijin again, overwriting the changed permissions from the earlier cases.
Fix is to do
chmod -R a+r "$HOME/cylc-run/$SUITE/log/job/$CYCLE/$TASK"

<EMAIL_ADDRESS>commented

The suite has the handlers set as per your example. Both are set; succeeded and failed. Although failed also calls for mail notification.

<EMAIL_ADDRESS>changed _comment0 which not transferred by tractive

<EMAIL_ADDRESS>changed status from new to closed

<EMAIL_ADDRESS>changed resolution from `` to fixed

<EMAIL_ADDRESS>commented

Actually need
chmod a+rx $HOME/cylc-run/$SUITE/log/job/$CYCLE/$TASK/??
chmod -R a+r $HOME/cylc-run/$SUITE/log/job/$CYCLE/$TASK

Fixed https://accessdev.nci.org.au/trac/changeset/c447f5e3ff3bdcdad42210d795abddbda207a60c/puppet


Dataclass configuration

Question

OS: Windows 10
Python version import sys; print(sys.version): 3.6.6
Pydantic version import pydantic; print(pydantic.VERSION): 0.14

How to pass the pydantic configuration to classes annotated by @dataclass  in the correct way?

Right now you can't. Happy to accept a pr.


Fix homepage to use SSL in Consul Cask

The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.

Looks good, thanks! :+1:


Testing Rest: Using 'set' with 'xml' = read('request.xml')

Problem Description:
Using the 'set' command with a defined 'xml' does not preserve the integrity of the xml.
Note I am seeing whereas the request ends up like this (after  using a set):
<ProcessRequest "_"> vs the required <ProcessRequest xmlns="http://someservice.com/someProcess">
I can fix this by using a bogus 'replace' option after the set.
A Rest Service Request
Example
Scenario Outline:  Example

xml xmlRequest = read('request.xml')
set xmlRequest/ProcessRequest/statusCode = 'shipped'
replace xmlRequest.ThisLineDoesNothing = 'AWorkaround'  #  If I do not put this fake line in then my xmlns line get's stripped out and I can't make the request.

Given url URL
And request xmlRequest
And header Content-Type = 'application/xml'
When method post
Then status 200
Again, Note I am seeing whereas the request ends up like this:
<ProcessRequest "_"> vs the required <ProcessRequest xmlns="http://someservice.com/someProcess">
Example xml request format:
<ProcessRequest xmlns="http://someservice.com/someProcess">
                <statusCode>shipped</statusCode>
                <remarks1>Leave on porch</remarks1>

I think you are over complicating things, stick to the def unless you really need to do type-conversion, refer: https://github.com/intuit/karate#type-conversion
* def test =
"""
<ProcessRequest xmlns="http://someservice.com/someProcess">
    <statusCode>changeme</statusCode>
    <remarks1>Leave on porch</remarks1>
</ProcessRequest>
"""
* set test /ProcessRequest/statusCode = 'shipped'
* print test

which prints:
[print] <ProcessRequest xmlns="http://someservice.com/someProcess">
  <statusCode>shipped</statusCode>
  <remarks1>Leave on porch</remarks1>
</ProcessRequest>

Do refer to this for more examples / ideas: https://github.com/intuit/karate/blob/master/karate-junit4/src/test/java/com/intuit/karate/junit4/xml/xml.feature

Doesn't seem to work for me as I have to read in a very large file for a major airline.
It ends up resulting in this:
ProcessRequest":{"_"
Thanks anyways.

@bkstiff unfortunately I can't replicate your issue, which I'm sure you understand.
Just a hunch, can you try setting the encoding in maven/surefire as mentioned here: https://github.com/intuit/karate/issues/144#issuecomment-326723371
There could be this issue with large files where this is the fix. If you can confirm, I'll add it to the docs / faq.

reopening to investigate if there is something we can do to handle very large file payloads by default

I attempted with #144 using the  -Dfile.encoding=UTF-8 but it still failed.
I wonder on my existing code why simply using a 'replace' statement that does nothing; fixes it on my end.
I am fine with the workaround.  I am glad there is a workaround as I've spent 30 hours on this and went as far as to write a method to make it work; before the workaround was found.

@bkstiff thanks for the update.
any way you can help us replicate this would be greatly appreciated. can you send a zip with any sensitive information replaced with 'xxx' or something. or let me know the size of the xml we are talking about.
info on the environment (if windows) and how you are invoking the test (via junit / maven command line / ide) would be also good.

I investigated this with a test case that creates a 20 MB xml file and everything works fine: https://github.com/intuit/karate/blob/develop/karate-junit4/src/test/java/com/intuit/karate/junit4/large/LargePayloadRunner.java
I strongly urge you to read the doc on type-conversion (and the examples) if you haven't already, it would explain why the replace ends up working for you and where the "_" comes from. Also, if your XML is doing something funky with schemas, I can't tell because you haven't provided the exact xml.
I'm closing this. All the best !


[New Feature]: Provide code completions for client declarations

Description
Tooling support for https://github.com/ballerina-platform/ballerina-lang/issues/37459
Describe your problem(s)
No response
Describe your solution(s)
No response
Labels
LanguageServer
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Subtask of https://github.com/ballerina-platform/ballerina-lang/issues/37459

Blocked by https://github.com/ballerina-platform/ballerina-lang/issues/37734


Add ViewReuseGroup

Possible solution for https://github.com/linkedin/LayoutKit/issues/164

@nicksnyder @jingwei-huang1 I would love your feedback on this.

@spekke @nicksnyder @jingwei-huang1 I have rebased this pull request on current master in the fork at https://github.com/lachlan351/LayoutKit


⚠ Bofrost.lu has degraded performance

In ab50fe4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2421 ms

Resolved: Bofrost.lu performance has improved in b553316 after 7 minutes.


goquorum Multihost setup

Hi team,
I am trying to multihost setup using this quorum-dev-quickstart using docker extra host. 2 quorum/tessera node on host 1 and 1 quorum/tessara on second host.
But quourm/tessera nodes are not started in healthy status.
can any one try multhost set up.Please help me out here asap.
Regards!!

Hello @Shweta-hlf this belongs in the discord channels and not here. I'd also recommend you put a diagram or something similar of what you are trying to do so that other folk can help you out ie which client, which options you've selected etc. You can use something along these lines for multiple hosts https://consensys.net/docs/goquorum/en/latest/tutorials/private-network/create-qbft-network/ Bear in mind you need to change the IP's to the host's IP and make sure that both hosts can communicate with each other


Ensured DynamicOperation uses the set of keys when converting HoloMap

Fixes issue raised in #882

Ready to merge when tests pass.

Are there any tests for DynamicOperation?
Otherwise, I'm happy to merge.

Yes there are a few.

Ok, there is one test failure but it is only a transient. Merging.


TypeError: argument of type 'function' is not iterable

Description
I am trying to login to a website using twill  commands
code:
from twill.commands import *
go(url)
showforms()
fv("1", un_id, un)
fv("1", ps_id, ps)
submit('0')
error
File "C:\log\lab\login.py", line 31, in
go(url)
File "C:\log\Lib\site-packages\twill\commands.py", line 69, in go
browser.go(url)
File "C:\log\Lib\site-packages\twill\browser.py", line 110, in go
if '://' in url:
^^^^^^^^^^^^
TypeError: argument of type 'function' is not iterable

Versions
Twill version:  3.1

Hi @AhmedGHDev I think you're looking for https://github.com/twill-tools/twill.


Error inflating class com.google.android.exoplayer2.ui.PlayerView

android.view.InflateException: Binary XML file line #30: Binary XML file line #30: Error inflating class com.google.android.exoplayer2.ui.PlayerView
Caused by: android.view.InflateException: Binary XML file line #30: Error inflating class com.google.android.exoplayer2.ui.PlayerView
Caused by: java.lang.reflect.InvocationTargetException
Getting this issue while trying to open videos with android studio 3.6.1

@imdineshsingh We are unable to reproduce this issue, need more following information

Java version using in your code.
Panel player layout.
Exoplayer library version using in your code.

I'm closing this issue due to a lack of information. Feel free to open another one if the error persists for you.


Rename currentFreight to lastPromotedFreight

"Current freight" is misleading since Kargo does not assess what stage is running. We should rename "Current freight" to "last promoted" to resolve the confusion.

Hey @alexmt , I wanted to pick this issue

@TheSwarnim I'd like us to hold off on this please...
#631 is underway and it's a pretty significant refactor of the back-end.
I want to wait and do this after that is taken care of in order to avoid some really heinous merge conflicts.
After #631 is all set, this is all yours.

Thanks @krancour, I was going through the source code and set up the local project setup. Meanwhile I'll check if is their any good first issue I can start working on it!

This issue would just be a rename of the existing field. But agree it should be held off until FreightCRD is implemented
Related to the issue is: https://github.com/akuity/kargo/issues/751
I will leave #751 open as whether or not we need observedFreight. IMO, it is not a priority to implement robust, out-of-band drift detection. But at least with the rename of currentFreight to lastPromotedFreight, the implications of what the field means is clearer.

@krancour Based on our discussion yesterday, it sounds like the currentFreight field is being deprecated and ultimately removed, as it's redundant.
Given that, going to close this issue... feel free to reopen if I misunderstood this
(see https://github.com/akuity/kargo/pull/2206)

Good catch @rbreeze. This issue definitely is moot now.


Round Robin is in

main.cpp has Round Robin as a function, and I've also cleaned up some of the stuff in the class and extra files that weren't needed.

Nice work @Kablamz. Merging!


Requirement 5b: Visualize KEGG pathway

Function to visualize KEGG pathways
Use significant pathway(s) as input

Pseudo-code:

Filter data set (logFC & FDR)
Get pathway(s) per gene with KEGGREST
Return genes with match to pyruvate metabolism
Gather specific data for visualization of pathway


[bugfix] Refactor afring mock sources to simplify use and avoid race conditions

Refactor of the two "modes" for the afring mock source, now they are two distinct types in their own right (with the one wrapping the other under the hood). This should mitigate existing data races and simplify their use at the same time.
@els0r Please approve at your earliest convenience so I can wrap up https://github.com/els0r/goProbe/issues/117 . TY!
Closes #41

So sorry for the delay. Just got to it.
Thanks!!!

No worries, man, thanks a lot!


Print task durations

#676  👈
main

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

Join @alanvardy and the rest of your teammates on  Graphite


char.js overlapping bar columns when using type: 'time'

It seems chart.js is overlapping columns whenever I use the type: "time" in the xAxes:
        scales: {
            yAxes: [{
                ticks: {
                    beginAtZero:true
                }
            }],
             xAxes : [{
                 type: 'time'
             }],
        },

Reproduction online
Am I doing anything wrong?

This is a known issue. Closing as a duplicate of #2323


sample sap.f.tutorial.fiori2 possible issue

OpenUI5 version: All
Browser/version (+device/version): ALL
URL (minimal example if possible):
https://openui5.hana.ondemand.com/#/sample/sap.f.tutorial.fiori2.13/preview
The Detail and DetailDetail controller try to detach method onExit like this
onExit: function () {
	this.oRouter.getRoute("master").detachPatternMatched(this._onProductMatched, this);
	this.oRouter.getRoute("detail").detachPatternMatched(this._onProductMatched, this);
}

but Component destroy is called prior to destroy Views and therfore oRouter will also destroyed before used here.
I never detach such things, because i thought they will be autodestroyed?!?
I think the sample approach will throw issues if used inside FLP where apps will be destroyed after usage and in the upper approach an error like
Cannot read property 'getRoute' of undefined

will be thrown instead.
If i am wrong please point me to the correct usage of destroying such event listeners (if really needed).
Regards Holger

My colleagues will check the question with #1880578900
BR

Hi Holger @hschaefer123 ,
it's not wrong to detach the "matched" event handler from the route once the view is destroyed because the view may be destroyed independently from the router.
The Javascript Error is thrown because the order of destroying the dependencies in sap.ui.core.UIComponent is wrong. And this is fixed by https://github.com/SAP/openui5/commit/58e7f5098c50e476712a72cb2aeaaaa93abde04d
Please retest.
Best regards,
Jiawei


Client can not be authenticated, got HTTP status 400

I test with my local was authenticated
but my server is receive : Client can not be authenticated, got HTTP status 400
my config
{
"appKey": process.env.ECHO_KEY,
"authHost": "https://local.dev:9090",
"authEndpoint": "/broadcasting/auth",
"database": "redis",
"databaseConfig": {
"redis": {
"port": 6379,
"host": "localhost"
},
"sqlite": {
"databasePath": process.env.ECHO_SQLITE_PATH
}
},
"devMode": true,
"host": "",
"protocol": "https",
"port": 6001,
"referrers": [],
"socketio": {},
"sslCertPath": process.env.ECHO_SSL_CERT_PATH,
"sslKeyPath": process.env.ECHO_SSL_KEY_PATH,
"verifyAuthPath": true,
"verifyAuthServer": true
};

please show me the console error message

Hey there, this issue was opened a while ago. I'm going to close this issue, if this issue still exists, please open a new issue or open a Pull Request.


Updated How to set-up CI server

This commit is to update how to set-up CI server and CI software.
Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>
[Template] PR Description
In general, github system automatically copies your commit message for your convenience.
Please remove unused part of the template after writing your own PR description with this template.
$ git commit -s filename1 filename2 ... [enter]

Summarize changes in around 50 characters or less

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. In some contexts, the first line is treated as the
subject of the commit and the rest of the text as the body. The
blank line separating the summary from the body is critical;
various tools like `log`, `shortlog` and `rebase` can get confused
if you run the two together.

Further paragraphs come after blank lines.

**Changes proposed in this PR:**
- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded
  by a single space, with blank lines in between, but conventions vary here.

Resolves: #123
See also: #456, #789

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [* ]Skipped

**How to evaluate:**
1. Describe how to evaluate in order to be reproduced by reviewer(s).

Add signed-off message automatically by running **$git commit -s ...** command.

$ git push origin <your_branch_name>

:memo: Version: 1.20180811. Thank you for submitting PR #17. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.


cmd/compile: statictmps can prevent heap objects from being collected

package main

import (
	"fmt"
	"runtime"
)

var x = [][]int{[]int{1}}

func main() {
	s := make([]int, 1e8)
	runtime.SetFinalizer(&s[0], func(p *int) { fmt.Println("finalized") })
	x[0] = s
	x = nil
	runtime.GC()
	runtime.GC()
	runtime.GC()
}

When I run this program, the finalizer never executes. The big slice will live in the heap forever.
The original state of the program has x pointing to a compiler-allocated global variable statictmp1. That variable has one []int slot in it, which in turn points to a second statictmp2 variable holding a single 1.
When we do x[0]=s, we set statictmp1 to point to the heap instead.  Then when we do x = nil, statictmp1 is now unreachable. But statictmp1 now points to an object in the heap, and we still scan statictmp1 at every garbage collection, because it is a global.
If instead we allocated statictmp1 on the heap, this problem would go away. There's a tradeoff here which I'm not sure how to resolve. The current situation prioritizes fast startup and preferring global data over heap data, but it can result in imprecise retention of objects.
A better fix would be to include a global "object" in the GC marking phase for each global variable. (This is similar to how stack objects work.) Named globals would be in the root set, but unnamed ones like the statictmps would only be live if a heap object or other live global pointed to it.
I'm not sure it is worth fixing this problem. I sort of stumbled on it while working on #29013 but I haven't seen any instances in the wild. Thought it would be worth documenting it here in case someone had a better idea or someone found an actual real-world instance.
Note that a similar situation also applies to statictmp2.  Afterx[0]=s, statictmp2 is dead. We can't collect statictmp2 because it is allocated in the globals area. We could collect it if it was allocated on the heap. But because it doesn't hold a pointer to heap objects, it isn't a big deal either way. (This also has a parallel to stack objects, which we can't collect directly - we can only ignore their contents.)
@aclements @rlh

@cherrymui and I were just discussing this and came up with some interesting ideas:
First, and somewhat obviously, we'd split up the "true" globals that are always roots from the coincidental globals that might become unreachable. True globals we could continue to scan exactly as we do today.
For coincidental globals, the GC would need to be able to find object boundaries and pointer/scalar information, and keep mark bits to avoid infinite scan loops (though we wouldn't need to use the mark bits for sweeping).
@cherrymui suggested that we could structure this global space literally the same way we do heap spans. The linker already sorts globals by size; it would just have to round them up to size classes and arrange them in pages appropriately. Then we can find object boundaries in the same way we do for regular heap spans. We could also lay out pointer/scalar information exactly as the heap does, either embedding it at the end of these spans, or as allocation headers. Finally, the linker could write out some minimal description of these spans, which the runtime could realize into literal mspan objects at startup. This would let us reuse a lot of code paths around object finding, pointer/scalar bitmaps, and mark bits. It would also naturally help with a lot of weird corner cases, like what happens if the program attaches a finalizer to one of these objects.


Working freeze system (Hopefully)

I updated the freeze system I PRed yesterday. Now it works with metadatas, and players are completely freezed from actions (Moving, Sprinting, Jumping, Flying and so on)

Maybe block stuff like Item switching or potions not really important but yeah

you mean in the main?

Alright, updated it. Should I remove the PlayerMoveEvent since the Player inherits from Entity if I remember correctly (will go to check later, just asking now to know)


update website url and processing forum link

I updated the website url from py5.ixora.io to py5coding.org. I also changed the Processing forum link to https://discourse.processing.org/c/28 because there is now a py5 category.
Thanks!

@tabreturn , I see you unpinned the py5 version. Thanks!
I sat down today to go through the code and learn how this works. I made a few small changes for links and other things to get it up to date. I see I have merge rights, but I'll let you merge this one since today is my first day studying this code.

Thank you, @tabreturn !


Order sessions by date descending

Sessions should be ordered by date, the most recent at top.
Currently the oldest is at top.

Pushed a fix


Update Key rotation part for MySQL TDE doc

Original file does not cover the topic on key rotation while this has been asked by some customers. Update the document and add introduction on this.

@sr-msft
@mksuni
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

@dimadhus can you review this PR please for CMK

#please-close


redirect_uri with cordova app

When I build the hybrid app with Cordova, I have an issue with redirect_uri: window.location.href.
the real URL of window.location.href after build android app is : file:///android_asset/www/index.html.
It's not allowed from oidc.
Help me please !

If you building a native app, you should use appauth-js instead of this library:
https://github.com/openid/appauth-js

Are you using ionic with cordova?


Does .WithDependencyInjectionAdapter() really return a new container?

The documentation of .WithDependencyInjectionAdapter() claims that it adapts the passed container to Microsoft.DependencyInjection conventions, registers DryIoc implementations of IServiceProvider and IServiceScopeFactory, and returns NEW container.
But consider this code:
var container = tempContainer.WithDependencyInjectionAdapter(services, registerDescriptor);
tempContainer.Dispose();
container.Resolve<IFoo>();

Resolving IFoo ends up in an exception:

DryIoc.ContainerException: 'Container is disposed and should not be used: "Container without Scope
with Rules with {TrackingDisposableTransients, SelectLastRegisteredFactory} and without {ThrowOnRegisteringDisposableTransient}
with FactorySelector=SelectLastRegisteredFactory
with Made={FactoryMethod=ConstructorWithResolvableArguments} has been DISPOSED!
You may include Dispose stack-trace into the message via:
container.With(rules => rules.WithCaptureContainerDisposeStackTrace())"'

This would mean tempContainer is still in use inside the (adapted) container...
But in my scenario, tempContainer is only used up to this point and must not be used further, hence the Dispose(). So I really need a new container. Is there a way to copy the registrations from tempContainer to another one? Resulting my code in something like this:
var container = new Container().CopyFrom(tempContainer).WithDependencyInjectionAdapter(services, registerDescriptor);
tempContainer.Dispose();
container.Resolve<IFoo>();

You can use .WithRegistrationsCopy() or the underlying .With(...) method.

Oh nice, didn't notice the method. So I wrote it like this:
var container = new Container().WithRegistrationsCopy(tempContainer).WithDependencyInjectionAdapter(services, registerDescriptor);
tempContainer.Dispose();
container.Resolve<IFoo>();

But it still throws the same exception.

Strange, will check.

Thanks, it looks like it works 👍

Sorry to resurrecting the issue. May I ask where did you get the .CopyFrom(tempContainer) method? I need to merge two Container instances or at least copy service registrations from one to another. Is there a known or suggested way of accomplishing this?

@Coskun Depending on your case you may use WithRegistrationsCopy(...) or just the more powerful With(...) method.

@dadhi Thank you for the quick response.
My use case is multi-tenancy.
Imagine that I have two containers, containerParent and containerNew. containerParent contains already registered and resolved services. containerNew is just registrations and nothing has been resolved from it yet. I am trying to create a final container containerChild from those two previously mentioned.
Something like containerChild = containerParent + containerNew.
I guess one way of accomplishing this is to create the containerChild from containerParent using something like CreateChild before the new registrations start, make the registrations directly on the containerChild (skipping containerNew) then finalize it with WithNoMoreRegistrationAllowed in the end but I was just wondering if there is an easier way, or a better way.

@CoskunSunali Your plan looks fine to me.
There is no predefined CopyRegistrations method yet.. but you may open a new issue with the feature request and the case description.

Your plan looks fine to me.

Thank you @dadhi, since creating a new container using CreateChild is "cheap" based on what you wrote on the related documentation, I will go ahead with the mentioned approach instead of trying to merge two containers. There will not be many of these contains anyway, only a few, probably.

@dadhi, I realize you wrote There is no predefined CopyRegistrations method yet, however, I need one it seems. I will create the feature request as per your request but I would still like to make sure, is there a way to manually do it at the moment without getting you involved? If there is one, I will not need the feature request, if there is none, I will create one. Just wanted to make sure first.

P.S. I am looking for something similar to the Populate method that gets an IServiceCollection but it will get an IRegistrator, the complete IContainer or the IResolverContext, either one works for me. Just looking for a way.

@CoskunSunali  Mmm, currently there is a GetServiceRegistrations method. So you need to get all registrations (containing type, key, and factory) and register them in another containet. There is a basic IRegistrator.Register method wich accepts the factory. All other Register overloads just a sugar on top of it.

@CoskunSunali Here is the example
using System;
using DryIoc;

public class Program
{
	public static void Main()
	{
		var c = new Container();
		c.Register<A>();

		var c2 = new Container();
		foreach (var r in c.GetServiceRegistrations())
		{
			c2.Register(r.Factory, r.ServiceType, r.OptionalServiceKey, IfAlreadyRegistered.AppendNotKeyed, true);
		}

		var a = c2.Resolve<A>();

		Console.WriteLine(a);
	}

	class A {}
}

@dadhi Thanks for the example! I will migrate the example to my code tomorrow and will test the functionality. It looks like it will solve my problem.


Add time management in libf3d

There is no way to set a specific time in libf3d in case we want to stream the result to something like ffmpeg through an f3d::image.
Related discussion on Discord: https://discord.com/channels/1046005690809978911/1046005690809978914/1098264101572071504
Related issue #46

Fixed in #836


let mozilla release officially with your help

@srevinsaju can you please upstream your work and let mozilla release it officially by discussing or submitting patches at 1249971

We have been working with MZLA Technologies to release Mozilla Thunderbird AppImage, first. Once Thunderbird AppImage becomes official, we can replicate the same technology for Firefox too.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1703867

@srevinsaju thank you. its good news.
i am closing this.


➕ add freezegun dev dependency

Generated summary (powered by Graphite)

Pull Request Description
TL;DR
This pull request introduces the freezegun package into the project, updates the python-dateutil and six packages, and makes the strict_optional setting in mypy true.
What changed

Added freezegun package version 1.4.0 to poetry.lock and pyproject.toml
Updated python-dateutil package to version 2.9.0.post0 in poetry.lock
Updated six package to version 1.16.0 in poetry.lock
Changed strict_optional setting in mypy from false to true in pyproject.toml

How to test

Pull down the changes from this branch.
Run poetry install to update the dependencies.
Run your test suite to ensure that the new freezegun package and updated packages do not break anything.
Run mypy to ensure that the strict_optional setting change does not introduce any new type errors.

Why make this change

The freezegun package allows tests to manipulate time, which can be useful for testing time-dependent code.
The python-dateutil and six packages were updated to their latest versions for improved functionality and bug fixes.
The strict_optional setting in mypy was made true to enforce stricter type checking, which can help catch potential bugs in the code.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#106
#105
#104  👈
#103
main

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

Join @mingi3314 and the rest of your teammates on  Graphite

Merge activity

Mar 17, 11:23 AM EDT: @mingi3314 started a stack merge that includes this pull request via Graphite.


Update readme to demonstrate new context implementation

The new context changes make the old api documentation irrelevant, these changes should help users migrate to the new version.

No longer relevant


ImageReprocess using Image->image instead of Image->att

Anytime I tried to run php artisan image:reprocess, I always received an error "Call to a member function url() on null". ImageReprocess.php is loading Image::all() and then trying to reference 'image' on each one, but it looks like Image.php refers to its attachment as 'att'. Changing all $i->image references to $i->att in ImageReprocess.php fixed the problem for me.

Fixed in master


Device addressing: is it fixed?

The MCP4728 datasheet states that you can optionally set a three bit address on each device, to make it possible to use two or more MCP4728 on the same bus. But here the I2C device address is stored in a constant private field, making it impossible to go beyond the single-chip default-address setup.
Why is that? Is it intended for some reason? The library that inspired your work is more cryptic, but it looks to have this option. Are there other differences in the functionalities of these two implementations?
Thanks!

You can select IDs and I2C address is changed depending on the ID. I2C_ADDR is NOT used to specify the address, but addr_ is used. Please check the code again. Thanks!

Completely missed that, thanks!


[android] Add support for x86_64 arch

I was able to cross-compile the stdlib, corelibs, and SPM using this pull and a tweaked #33724. I have kicked off a full toolchain build and ~will~no further update to this pull ~if~was needed, termux/termux-packages#6014.
@compnerd and @vgorloff, looks like you two have been building this before.

Updated only to fix the build-script --help text.

@swift-ci please smoke test

Windows test failure is unrelated.

@swift-ci please test Windows platform

⛵

Thanks for the quick turnaround.


EventHubs tracing: error logging happens outside of diagnostic scope and cannot be correlated

Describe the bug
In the ProcessError callback, DiagnosticScope is already gone. So this is impossible to correlate error and telemetry reported from error callback to  the message processing.

Expected behavior
ProcessError is called while Diagnostic scope (Activity) is still active.
Actual behavior (include Exception or Stack Trace)
DiagnosticScope is gone.
To Reproduce
0. create an app similar to https://github.com/pakrym/LineCounter/blob/master/LineCounter.Worker/LineCounterWorker.cs

throw exception in the ProcessEvent callback
put breakpoint inside ProcessError.
Check if Activity is available (it's not)

You can also configure ApplicationInsights Logger + OpenTelemetry and check that exception tracked in AppInsights is not correlated to message processing. Here is the code snippets
                .ConfigureServices(s =>
                    s.Configure<TelemetryConfiguration>(tc => {
                        tc.TelemetryInitializers.Add(new OperationCorrelationTelemetryInitializer());
                    });

                    s.AddOpenTelemetry(b => b
                          .SetResource(Resources.CreateServiceResource("line-counter-worker"))
                          .UseApplicationInsights(o => o.InstrumentationKey = "ikey")
                          .AddDependencyCollector()
                         .AddRequestCollector());)
                .ConfigureLogging(b => b.AddApplicationInsights("ikey"))

Environment:

Name and version of the Library package used: Azure.Messaging.EventHubs 5.0.0.
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): N/A
IDE and version : N/A

Hi @lmolkova, thanks for continuing to help us build our tracing story.  As I'm looking at this issue more closely, I'm not sure that I understand what the expectation is, is related to this request.   I was hoping that you may be able to help provide more context.
The processor's event handler is not used for surfacing issues with developer code where events are being processed; instead it is used to surface processor-based errors, such as trying and failing to assert ownership over a partition during load balancing.   (see: troubleshooting)
Currently, the only diagnostic scope that exists within the processor is one that wraps events being read and dispatched for processing  (see: code snippet).   Because the error handler is explicitly not called from this block by design, there wouldn't be an active scope to associate with calls.   Since that scope is associated with receiving events only, there is no scope currently in use that would be applicable to the error handler.
Moving forward, I'm not sure if the request is due to a misunderstanding of the responsibility of the error handler or if you're advocating for use of additional scopes that would represent the inner workings of the processor itself for key activities, such as load balancing.   Any insight that you can provide would be appreciated.
//cc: @pakrym

@jsquire
Here is the scenario I want to enable

User processes the message
during the processing, unhanded exception is raised from ProcessEventAsync
It raises ProcessErrorAsync where user logs error
It is possible to correlate error to message processing

It seems this is not a valid scenario according to your comment and troubleshooting page you referred to.

surfacing issues with developer code where events are being processed; instead it is used to surface processor-based errors, such as trying and failing to assert ownership over a partition during load balancing

However, ProcessErrorAsync is still raised when exception is thrown from ProcessEventAsync. Is it a bug? Is it going to change? I would guess that since it's possible, users will use Error callback to handle/log exceptions and will have hard time correlating log/errors to the particular message processing.
Am I missing something?

@jsquire
Here is the scenario I want to enable

User processes the message
during the processing, unhanded exception is raised from ProcessEventAsync
It raises ProcessErrorAsync where user logs error

Correct, the scenario isn't the processor's behaivor;  we explicitly do not handle errors that occur in the user-provided code of ProcessEventAsync.   An exception there is not caught and surfaced by ProcessErrorAsync - it is left unhandled and will propagate as dictated by the runtime and host environment.
Depending on the type/severity of exception and the host, it may be severe enough to trigger the background task processing the partition to fault, which would result in the processor seeing an internal error with the partition,  trigger the handler, and then surrender ownership of the partition.    However, that's not a guaranteed behavior nor is it a pattern that we recommend for developers using the library.
Our intention is that developers explicitly own the responsibility for error handling within their processing implementation and should try/catch as appropriate, including any logs.   That would occur within the active diagnostic scope, as it is maintained until the handler call has completed.

Thanks for the explanation @jsquire, it makes sense now.


[ABI headerdoc] Fix -Wdocumentation warning

'\return' is only allowed on functions/methods.

@swift-ci please smoke test and merge

@swift-ci please smoke test macos


BadgeApp: Require URLs in many human-entered fields (to point to justification)

I think we should require URLs in many of the fields that are entered by humans, with an error message something like "Please include one or more URLs that justify this claim."
Criteria may have an automatically-determined value when we have code that can determine it, but in many cases there's no way to automatically determine it, or the automated system can't figure it out.  Thus, for most criteria we'll need to let people enter text to justify that they meet the criteria.  Find, but we need to make it easy for other people to independently verify that the claim is true.  If we require that there be a URL, then we can tell people they have to POINT to the justification.
BTW, I suspect the text entry might be easiest if we used markdown.  It's widely known by software developers, and easier to enter than raw HTML (for example).

A tweak: Let people enter data without URLs (so don't make URLs a data validation criteria).  Instead, don't count the criteria as being met until the text has a URL (and make it clear when that happens).  That way, projects can enter what they do, then go modify their projects to document it, and then add the URL.  It's not unusual for projects to not document what they do; letting them enter the information would make it easier for them to do things in stages.

I'm going to reject this for now.  Dan Kohn is very concerned about "shopping cart abandonment" - i.e., that by asking for too much, people may just drop out instead.  We can revisit this later.


fix: 修复判空问题

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[ ] commit message follows commit guidelines

Description of change

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 93.233%

Files with Coverage Reduction
New Missed Lines
%

src/geometry/label/layout/pie/spider.ts
5
88.69%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
11612

Relevant Lines:
12075

💛  - Coveralls


[BUG] Archives

Archive page is bugged. Guaranteed worked before.
Used git bisect to find that the bugged commit is 191be0c.
❯ git bisect bad
191be0c1e24a826a7edbbd99ad50d3fdea7f7b53 is the first bad commit
commit 191be0c1e24a826a7edbbd99ad50d3fdea7f7b53
Author: Jesse Wei<EMAIL_ADDRESS>Date:   Thu May 11 16:10:06 2023 -0400

    First draft, all things should be here

eca6288


mode index of the quai-TE/TM modes of photonic crystal slabs

In the section ”How do I incorporate symmetry?“, the author gives the mode index of the quai-TE/TM modes of photonic crystal slabs.  Which plane is the reference plane for this classification?

The plane for quasi-TE/quasi-TM specification is the xy plane bisecting the slab. However as noted there this is not exact classification as generally the modes are mixed. Low-frequency modes however are usually predominantly TE or prerdominantly TM w.r.t. that plane.

The plane for quasi-TE/quasi-TM specification is the xy plane bisecting the slab. However as noted there this is not exact classification as generally the modes are mixed. Low-frequency modes however are usually predominantly TE or prerdominantly TM w.r.t. that plane.

Thank you! I note  the mode index of the quai-TE/TM modes of photonic crystal slabs is different to that of the homogeneous slab, how to determine the mode index of quasi-TE/TM mode?

Yeah, for the slab, the TE/TM classification can be defined w.r.t. the kz plane, and the modes alternate between (true) TE and TM in that definition. For a PhC, the quasi-TE/quasi-TM classification is w.r.t. the xy plane bisecting the slab (e.g. z=0), and is more correctly a sigma_xy = -1/+1 classification, where sigma_xy is the reflection operator at that xy plane. For example a mode with sigma_xy = -1 has strictly 0 in-plane E-field but only on that plane. The in-plane E field can and will be nonzero at other z-s. The sigma -1/+1 values alternate as described in the FAQ on the docs, -1 modes are [0, 3, 4, 7, 8, ...] and +1 modes are [1, 2, 5, 6, ...].


Zig Console not printing "Hello Torizon" message on debug console when trying to debug it on the board

When trying to debug a zigConsole application on the board (Torizon ARMv8 debug command), the Hello Torizon message is not being printed on VSCode's Debug Console.

However, when using stdout.print() instead of log.info it works.

P.S. Local debugging (Local AMD64 debug command) works on both cases.

@kassane, do you have any ideas on what may be happening?

@kassane when you have some time, can you take a look on what may be the issue here, please?

Hi,
Firstly, stdout.print works because it obviously uses stdout (w/ buffer.flush). But std.debug.print and std.log.|info|debug|err uses stderr.
// works on release mode
pub const std_options = struct {
    pub const log_level = .info;
};

Remove this line, because pub const log_level = .debug is default.
// The default log level is based on build mode. pub const default_level: Level =     switch (builtin.mode) {
.Debug => .debug,
.ReleaseSafe => .info,
.ReleaseFast, .ReleaseSmall => .err,
};

I had forked an unofficial tutorial on how std.log works, mentioned in the PR.

(How works std.log - whats is the global log level](https://gist.github.com/kassane/a81d1ae2fa2e8c656b91afee8b949426#but-what-is-the-global-log-level]

Got it. I added on this commit the configuration on lauch.json to print also the stderr. Now it is possible to see the output message. Thanks

Amazing!!


Implicit operator not called with interface implementations

Steps To Reproduce
https://deck.net/82c05d267049e5ead57d293cfca06817
public class Program
{
    public static void Main()
    {
        // This should generate JavaScript that calls the implicit Optional<T> operator but it doesn't -
        // the "new Demo.GenericError()" is passed directly into the UpdateAction constructor
        // Note: If the UpdateAction constructor takes an Optional of GenericError instead of an
        //       Optional of IApiErrorDetails then the implicit cast call is correctly emitted
        var shouldUseImplicitCast = new UpdateAction(new GenericError());
    }
}

public sealed class UpdateAction
{
    public UpdateAction(Optional<IApiErrorDetails> errorIfFailed) { }
}

public interface IApiErrorDetails { }

public sealed class GenericError : IApiErrorDetails { }

public struct Optional<T>
{
    public Optional(T value)
    {
        Value = value;
    }

    public T Value { get; }

    public static implicit operator Optional<T>(T source)
    {
        return new Optional<T>(source);
    }
}

Expected Result
var shouldUseImplicitCast = new Demo.UpdateAction(Demo.Optional$1(Demo.IApiErrorDetails).op_Implicit(new Demo.GenericError()));

Actual Result
var shouldUseImplicitCast = new Demo.UpdateAction(new Demo.GenericError());

See Also
https://forums.bridge.net/forum/bridge-net-pro/bugs/5019-implicit-operator-not-called-with-interface-implementations

Fixed in NRefactory https://github.com/bridgedotnet/NRefactory/commit/9ed69f89968ade53c92a7b195d8610db4aec5f58

Can't seem to find a good way to evaluate whether this works or is broken (in the end result), while trying to come up with a usable unit test.
https://deck.net/02d5c17ca01019092947aaacaca8b421

NRefactory v5.5.9 published. The pull request here adds a test case for the issue, thanks @vladsch for the nice suggestion of unit test! It also makes it so Bridge references to NRefactory 5.5.9, which effectively addresses the issue.


Feature/add unit tests

Merging the new unit tests (using mockito) with develop. Building etc. works, E2E-testing pending.


implementation of sendPilotingMoveBy method

Goal:
The objective of this modification is to allow a Bepop library user to move a drone to a relative position directly
Implementation
The implementation is based on the parrot sdk method sendPilotingMoveBy
Usage:
For using this implementation: send a geomtry_msgs/Twist like this:

msg variables
attribution
action

linear.x
dx
displacement along the front axis

linear.y
dy
displacement along the right axis

linear.z
dz
displacement along the down axis

angular.x
nothing
nothing

angular.y
nothing
nothing

angular.z
dpsi
rotation of heading

at the topic /bebop/goto
Test:
Compilation and tests have been done on this config:

ros version: kinectic
parrot_arsdk version: 3.12.6p1 (also work on 3.14.1)

Example:
A video is available on Youtube at this adress: https://youtu.be/8RcVpDUoFJc

Do I have to run the generation script to make new autogenerated msgs?
I got multiple error msgs like this one when launching the bebop driver
[ERROR] [1678744215.031232470]: [ARCONTROLLER_Device] 21:50:15:031 | ARCONTROLLER_Device_StopNetwork:7282 - Error occured durring unregistering ARCommands to the feature ARCONTROLLER_DICTIONARY_KEY_ARDRO


choose tangle header

Allow choosing tangle header (e.g. :tangle init.el)

So, you want to export your configuration to init.el which is not the default output file, using org-babel-tangle Emacs Lisp function? You also want to parse the configuration in Nix?
This Nix library can generate an Emacs Lisp file, as written in the readme:

tangleOrgBabelFile
Similar to tangleOrgBabel, but this function takes a file as an argument and writes the output to a file.

Is there any reason you don't want to load the Nix-generated init.el at Emacs startup? Alternatively, you could tangle your Org file using Emacs and then source its output to Nix. You can choose either of them, and this PR probably won't be necessary.
Although the change you suggested is technically trivial, I would like to hear your use case.

I have an init.org that generates both an early-init.el and an init.el. So they use :tangle filename. I then used tangleOrgBabelFile with this PR to only generate the init.el.


build(deps): Update storybook to 6.2.x

Summary
Dependabot + Kodiak were unable to update this dependency automagically due to Happo timing out on comparisons for this storybook version, so this PR serves to make the required changes to get passed the hiccups.
Related Issues or PRs
closes: https://github.com/trussworks/react-uswds/issues/1109
How To Test
The main bug here was Happo not running diffs for this updated version of storybook. Since this is a change to storybook, it is also important to make sure storybook is still working.

[x] test storybook locally
[ ] test storybook CI deployment
[ ] verify Happo diff does not time out and generally looks good.

Warnings

:warning:
This PR does not include changes to tests, even though it affects source code.

  Generated by :no_entry_sign: dangerJS against b195f396c65899b9fd61b69ee50c194590d6843a


BUG: df.join(df2, how='right') TypeError

Issue #11519
Somehow right joins had been forgotten in a previous bugfix. There were tests already written that should have seen the problem, but they had been commented out because the expected results were wrong, because of a subtlety in the way non-unique index are handled.
Thanks for the labels "difficulty novice" and "effort low": I'm using pandas every day, and I'm glad I could contribute that easily.

Ok, the commented test is redundant with what is just before, so I'm removing it.

pls add a whatsnew comment & squash

Done

can you add all of the examples from the issue as well. (in tests/tools/test_merge.py) would be a good location

I've put them in what I thought was the most appropriate test method, I hope that's all right.

merged via https://github.com/pydata/pandas/commit/d78266eb396143438d187eb8d5a8cb750c2ba737
thanks!

@nbonnotte @jreback
Thanks for closing this out! :+1:


Requests with include should always return included

When requesting results with included data, the response should always have the included top-level key. The response structure should not change depending on the data sourced to generate the response.
e.g. GET /todos?include=comments
The expectation is that the response should have a list of todo items under data and any included data under included, but depending on whether there comments or not will determine whether included as a top-level key exists or not.
As a client trying to use this data I have to first check that the array exists then try find my result.

The idea is that you would use come kind of client library to take care of that on the client side. If you do not want to commit to a full-fledged client library because you feel your use-case is too simple for that, you can simply define a helper function that does the checking for you.

I do use a client library to facilitate these requests and I could have posted this issue there. However, aside from the fact that the client library author would turn to the spec for guidance -- to which he would receive none -- the issue is about returning a consistent message format.
When my request has specifically asked for included data to be returned, I expect that the included top-level member to be there regardless of whether there are any results. Exactly the same as data -- we don't optionally include that depending on result set.

👍

I would be open to a PR mandating that, if the include parameter is in use, included must be present in the response document (even if empty). Please feel free to submit.

I’ve merged #1236 to address this. If anyone objects, we can discuss further.


shadow socks V2Ray not working from Iran.

I deployed a server on Vultr and used the shadow socks v2ray instructions. I can verify my config works, using devices outside of Iran. However when friends in Iran use the config they cannot connect. I followed the instructions and have verified my settings match that on the guide (I assume that this would be some config error with Arvancloud), and everything seems to be correct (see attached image).

Any idea on how to start troubleshooting this or what might be the cause of this malfunction?

take a look at container logs.
docker-compose logs ss-server
docker-compose logs nginx

Cheers, maybe you can help me find what to look for - here are some parts of the log:
ss-server_1  |  2022-10-27 07:19:33 INFO: enable TCP no-delay ss-server_1  |  2022-10-27 07:19:33 INFO: plugin "v2ray-plugin" enabled ss-server_1  |  2022-10-27 07:19:33 INFO: UDP relay enabled ss-server_1  |  2022-10-27 07:19:33 INFO: enable TCP no-delay ss-server_1  |  2022-10-27 07:19:33 INFO: initializing ciphers... aes-256-gcm ss-server_1  |  2022-10-27 07:19:33 INFO: using nameserver: <IP_ADDRESS>,<IP_ADDRESS>,2606:4700:4700::1111,2606:4700:4700::1001 ss-server_1  |  2022-10-27 07:19:33 INFO: tcp server listening at <IP_ADDRESS>:51517 ss-server_1  |  2022-10-27 07:19:33 INFO: tcp port reuse enabled ss-server_1  |  2022-10-27 07:19:33 INFO: udp server listening at <IP_ADDRESS>:8080 ss-server_1  |  2022-10-27 07:19:33 INFO: udp port reuse enabled ss-server_1  | 2022/10/27 07:19:33 V2Ray 4.44.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.17.9 linux/amd64) ss-server_1  | 2022/10/27 07:19:33 A unified platform for anti-censorship. ss-server_1  | 2022/10/27 07:19:33 [Warning] V2Ray 4.44.0 started ss-server_1  | 2022/10/27 07:39:23 tcp:<IP_ADDRESS>:0 accepted tcp:<IP_ADDRESS>:0
there are several repeats of the following:
ss-server_1  |  2022-10-27 21:18:11 ERROR: remote recv: Connection reset by peer
and
ss-server_1  |  2022-10-27 21:21:41 ERROR: unable to resolve appsupport.abc-prod.net.au
ss-server_1  |  2022-10-27 21:23:56 ERROR: getpeername: Socket not connected ss-server_1  | 2022/10/27 21:23:57 tcp:<IP_ADDRESS>:43092 accepted tcp:<IP_ADDRESS>:0
ss-server_1  | 2022/10/27 22:17:12 [Warning] transport/internet/websocket: failed to serve http for WebSocket > accept tcp [::]:8080: use of closed network connection
For nginx I get many repeats of the following
ss-nginx-frontend | Waiting for certificate /etc/nginx/cert/limooamani.online.cer before starting nginx... ss-nginx-frontend | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration ss-nginx-frontend | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ ss-nginx-frontend | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh ss-nginx-frontend | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf ss-nginx-frontend | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf ss-nginx-frontend | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh ss-nginx-frontend | 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf ss-nginx-frontend | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh ss-nginx-frontend | /docker-entrypoint.sh: Configuration complete; ready for start up ss-nginx-frontend | 2022/10/27 07:19:43 [emerg] 1#1: cannot load certificate "/etc/nginx/cert/limooamani.online.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE) ss-nginx-frontend | nginx: [emerg] cannot load certificate "/etc/nginx/cert/limooamani.online.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE) ss-nginx-frontend | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration ss-nginx-frontend | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ ss-nginx-frontend | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh ss-nginx-frontend | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf ss-nginx-frontend | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version ss-nginx-frontend | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh ss-nginx-frontend | 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf ss-nginx-frontend | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh ss-nginx-frontend | /docker-entrypoint.sh: Configuration complete; ready for start up
Then a lot like this:
`2022/10/27 07:26:42 [notice] 1#1: using the "epoll" event method
ss-nginx-frontend | 2022/10/27 07:26:42 [notice] 1#1: nginx/1.23.1
ss-nginx-frontend | 2022/10/27 07:26:42 [notice] 1#1: built by gcc 10.2.1 20210110 (Debian 10.2.1-6)
ss-nginx-frontend | 2022/10/27 07:26:42 [notice] 1#1: OS: Linux 5.15.0-52-generic
ss-nginx-frontend | 2022/10/27 07:26:42 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 65535:65535
ss-nginx-frontend | 2022/10/27 07:26:42 [notice] 1#1: start worker processes
ss-nginx-frontend | 2022/10/27 07:26:42 [notice] 1#1: start worker process 35
ss-nginx-frontend | .187.187.59 - - [27/Oct/2022:07:37:19 +0000] "GET / HTTP/1.1" 404 0 "-" "python-requests/2.25.1" ".45.90.36"
`
and then
ss-nginx-frontend | 2022/10/31 06:03:09 [crit] 35#35: *3165 SSL_do_handshake() failed (SSL: error:14201044:SSL routines:tls_choose_sigalg:internal error) while SSL handshaking, client: ***.241.218.246, server: <IP_ADDRESS>:443
"
`

Arvancloud is not reliable method anymore. They found out and are throttling to extreme extent.

What is a reliable way?


[CI] Enable verbose logs for publishing to PyPi

Drafting this PR in order to trigger the CI to attempt publishing the package in order to debug the publishing issue.

Managed to reproduce issue: it is due to the PyPi account not having 2FA enabled:
INFO

           <title>400 User 'interuss' does not have two-factor authentication
         enabled. Please enable two-factor authentication before attempting to
         upload to PyPI. See
         https://test.pypi.org/help/#two-factor-authentication for more
         information.</title>

400 User 'interuss' does not have two-factor authentication
         enabled. Please enable two-factor authentication before attempting to
         upload to PyPI. See
         https://test.pypi.org/help/#two-factor-authentication for more
         information.

           The server could not comply with the request since it is either
         malformed or otherwise incorrect.

         User 'interuss' does not have two-factor authentication
         enabled. Please enable two-factor authentication before attempting to
         upload to PyPI. See
         https://test.pypi.org/help/#two-factor-authentication for more
         information.


UMAP Resistance to Scale Changes, Data Drift

Hi, apologies if this is obvious, but I wanted to ask how resistant UMAP was to differences in scale and offset. Ex, if our train and test datasets are slightly differently positioned(due to some slight data drift), how will that affect UMAP.
I conducted a simple experiment where I check UMAP's projections after drifting the data slightly in order to see how it is changed. I used sklearn's make_blobs function to create three clusters with 3 features(3d space). I then used UMAP to compress them into 2 components. I ran the transform function for both training and testing data as a baseline, and the results were expected. however, after shifting the test data by an offset, i found that, while there were still 3 clusters, the classes in each cluster were different:
No offset of test data:

UMAP projections:

Offset of 1(adding 1 to the test data):

UMAP projections:

Offset of 2(adding 2 to the test data):

UMAP Projections:

While the relative distances between classes are the same, and there are still 3 clusters in similar positions, it seems like the data in each cluster changes. This is a little surprising to me and I thought that UMAP would be a little more resistant to scale changes(keep in mind though that i am only showing the first two features when there are three, however the point still stands) -- doesn't umap utilize graph-based methods to learn the manifold? Shouldn't it pay attention to the distribution of the test data rather than making static thresholds? Let me know if i am understanding this correctly.
The use-case for this is during cases with slight train-test drift(ex data is highly variable and while the distribution of clusters is similar it can shift from time to time)
Here is a colab: https://colab.research.google.com/drive/1NyBNSxa81skCMDkOGfpVeHt5Nj3awkjH?usp=sharing

Shouldn't it pay attention to the distribution of the test data

Transforming new data only uses the embedded training data. So even if you pass a large batch of test data in one call, UMAP does not make use of the distribution of that data, each test data instance is treated independently of the other.

@jlmelville Got it. Is there any way, though, to make UMAP robust against these distribution changes(besides, say, normalization)?

The fundamental issue is that the data has shifted sufficiently so the resulting k-nearest neighbor graph that is being embedded is now different enough from the original data to give a visually different result.
So I think ultimately if this is a concern the raw knn graph isn't the right graph to be embedding. Maybe processing the knn graph would help here -- the sort of things discussed in Clustering with UMAP: Why and How Connectivity Matters
 would be a place to start, but that technique itself probably isn't exactly what you need, so I don't think there is an out of the box solution. What happens if you use a larger values for n_neighbors? That might help, but may also slow things down and give a layout that is not what you want. Sorry I don't have any better ideas.

Could you elaborate on what "the resulting k-nearest neighbor graph that is being embedded is now different enough from the original data to give a visually different result." means? Do you mean that the KNN graph kind of deals in an absolute space, and when we shift the data it kind of goes over the boundaries set by the KNN(not sure if that's how the algorithm works). I'm a little confused about this because the KNN is based on the distances between points, however not sure if that applies to the test data

For the test data, the knn graph that generates the layout uses nearest neighbors in the training data only. When you shift the test data, which training data points are considered near neighbors could (probably does) change.
Also yes because the distances between the test and training data points has changed, that would also affect the layout even if the identity of the nearest neighbors stayed the same for the unshifted and shifted test set cases. The effect would be subtle, but the distances are used to generate the resulting similarities which in turn determines how often some edges are sampled. However, I don't think this has a large effect usually.
I may be misunderstanding your question so apologies if this isn't what you are asking about.

Okay got it, that makes sense. This was just an example to reproduce this issue, however in practice, this wasn't too big an issue for me either.
Just to summarize what I think you are saying - we "train" a nearest-neighbors graph-based model on our training data that is based on the distances/distribution between the points. And when we apply the test data, we use the same knn model(so in essence we "compare" the test points to the train distribution). If the test distribution changes, the distances between the test points and the train points in the KNN change, which affects the resulting graph structure.
Thanks again, will check the paper and ask any questions as needed(will close this issue if resolved). I think a solution that could work would be to construct a graph for the test dataset, then try to "match" it with the training graph before applying a transformation, if that makes sense. Basically want to know if there's any good way to "match" testing and training distributions somehow (kind of like a calibration)

Basically want to know if there's any good way to "match" testing and training distributions somehow (kind of like a calibration)

If the cluster identities could be used as labels consistently for both training and test data, then you could use supervised UMAP to ameliorate the effect of the drift? Maybe?


feat: add S3 import functionality which is supported for MySQL instances

Description

add S3 import functionality which is supported for MySQL instances
add new example for demonstrating and verifying S3 import functionality

this closely mirrors what was implemented at https://github.com/terraform-aws-modules/terraform-aws-rds/pull/289
Closes #126
Motivation and Context

adds functionality to import Percona Xtrabackup from S3

Breaking Changes

No

How Has This Been Tested?

Tested using examples/s3_import module that was added

Thanks @bryantbiggs !
The only thing is that I am not sure we really need 3,4MB zip in this repo which everyone should download now even if they don't use this feature. If people will complain about it we probably need to reduce this file size to the minimum required for example.
v3.7.0 has been just released.

ya, I'm not a MySQL expert so I wasn't sure if there were things that could be trimmed from the database dump


connection pgadmin to server

I'm trying to follow the instruction to connect pgadmin to the server
https://www.youtube.com/watch?v=zujeb8VWncI
https://www.mozmorris.com/2011/11/15/configure-postgresql-to-accept-tcpip-connections.html
-In  /etc/postgresql/9.5/main, I edited the file pg_hba.conf to have my computer IP address, by adding the following line at the end of the file (with my computer IP address):
"host  all  all  <IP_ADDRESS>/32   trust"
-In the file  postgresql.conf, I uncommented the line to listen_addresses, and change "localhost" to "*"
-restarted posgresql (service postgresql restart)
I got this message from pgadmin

I also tried https://www.digitalocean.com/community/questions/remote-access-to-postgresql-with-pgadmin
ufw allow 5432/tcp
According to
https://www.digitalocean.com/community/tutorials/how-to-use-nmap-to-scan-for-open-ports-on-your-vps
I checked the open ports
sudo netstat -plunt
It shows 1130/postgres, I therefore put 1130 in pgadmin and gave the same error
During everything, I had deconnected the local host from pgadmin.

You're trying to connect to a PostgreSQL 9.5 with a pgAdmin 4 which is not compatible. You should have installed Postgres 10 on the server. For the pg_hba, I'd need to have a look.
To install PostgreSQL 10 see https://gist.github.com/alistairewj/8aaea0261fe4015333ddf8bed5fe91f8

done


10898

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
Python release (python3 --version):
Component/platform:
Description of problem:
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Provide details....ff it was opened by mistake, please close the issue.


Translated - Sinhala.

Translated percentage - 83%

Thank you for your contribution to the translations of Ray Optics Simulation.
The translation workflow of this project has been moved to Weblate, which is an online platform for collaborated translation. If you are still interested in translating this project, please see https://hosted.weblate.org/engage/ray-optics-simulation/ for more information and to register as a translator.
If you are currently working on translating the old JSON file, please send me the current partially-completely file as soon as possible so I can use an automated script to convert it to the new format. After that, new translations will only be accepted using the new workflow.


renovatebot(deps): update dependency com.twilio.sdk:twilio to v7.43.0

This PR contains the following updates:

Package
Update
Change

com.twilio.sdk:twilio (source)
minor
7.42.0 -> 7.43.0

Release Notes

twilio/twilio-java
v7.43.0
Compare Source
Numbers

Add v2 of the Identites API

Preview

Changed authentication method for SDK Trusted Comms endpoints: /CPS, /CurrentCall, and /Devices. Please use Authorization: Bearer <xCNAM JWT> (breaking change)

Voice

Add Recordings endpoints

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

PR has been edited
:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.


< and > on Mac to control octaves

60 and 62 are, supposedly, the keycodes for < and > - could those be mapped to control octaves on Mac?

Can you check if this works now?

works, closing


Freescroll

Just a quick one, best slider I have used to date. However, I've been asked for one last request from my boss.
Is there a way to freescroll on a slider? without it bouncing back on to the current slide? This would be awesome for mobile, I'm using this as a navigation for another slider.
Heres my code for the slider
$('.slider-nav').slick({
slidesToShow: 1,
slidesToScroll: -1,
infinite: false,
autoplay:false,
variableWidth: true,
touchMove: true,
centerMode: true,
focusOnSelect: true,
touchThreshold: 0,
mobileFirst: true,
slide: '.slider-nav li',
swipeToSlide: false,
asNavFor: '.super-product-inner',
useTransform: true,
arrows: false,
});

Hey @ghosydneyben I think this is what you're looking for
Hope that helps.


Issue 7562 - DMD crashes by using TemplateThisParameter

http://d.puremagic.com/issues/show_bug.cgi?id=7562
Uninitialized pointer dereference crashes compiler.
This issue blocks ProxyOf.
And maybe this is the cause of auto-tester breaking in some posix system.

Please add test case.

OK. added test.


SMP code for MIPS CPU not found

The THREADX official documentation shows that threadx could support MIPS cpu， but there is no MIPS cpu source code in ports and smp directories at all. So the threadx could really support MIPS cpu and it`s SMP？ where could I get support？

Hello @bigfeng12 - we are still working on getting all of the ThreadX ports up on github. We do have MIPS and MIPS SMP, just not on github yet. Can you send us a message here https://rtos.com/contact/ with your request?


Tree.walk() or foreach()

However the C binding is defined there is no Tree method to use it.

Probably just hasn't been bound yet! PRs are of course always welcome :)

I'm not that experienced with Rust yet, but I might take a try.

Looks like this has since been implemented, so closing!


Role of shuffle in point cloud reconstruction via depth

Hi, it is hard to intuitively understand the roll of mask & shuffle operation in the following snippet. What are these codes work for?
https://github.com/vlmaps/vlmaps/blob/d394bff70c57823c6dfd20827f7f73696fcd5d78/vlmaps/map/vlmap_builder.py#L273-L279

Also, is it OK to set focal length to a half of width? I think is heuristic to compute camera parameter. What's the main reason of computing like this?
https://github.com/vlmaps/vlmaps/blob/d394bff70c57823c6dfd20827f7f73696fcd5d78/vlmaps/utils/mapping_utils.py#L583-L588

Hi, it is hard to intuitively understand the roll of mask & shuffle operation in the following snippet. What are these codes work for?
https://github.com/vlmaps/vlmaps/blob/d394bff70c57823c6dfd20827f7f73696fcd5d78/vlmaps/map/vlmap_builder.py#L273-L279

The major reason for shuffling the depth point cloud is to downsample the point cloud randomly. As you can see in Line 276, we take every depth_sample_rate point in the depth point cloud as the subsampled point cloud. If there is no shuffling, the subsampled point cloud might follow a certain pattern. However, the way I implemented it is a bit confusing. Here is a short explanation:
line 273: Get the point cloud backprojected from the depth image (a list of point) and the mask of valid points (a list of Trues and Falses. Points with distance within a certain range are True, else False)
line 274: Get the indices of all points ([0, 1, 2, ..., N])
line 275: Shuffle the indices ([3, 28, 1, ..., ])
line 276: Get the downsampled indices (returned total index number: N / depth_sample_rate)
line 277: Since the point cloud will be downsampled, the valid mask obtained from line 273 is also downsampled.
line 278: Downsample the point cloud.
line 279: Mask the point cloud.
Feel free to ask further questions if you still find it confusing.

Also, is it OK to set focal length to a half of width? I think is heuristic to compute camera parameter. What's the main reason of computing like this?
https://github.com/vlmaps/vlmaps/blob/d394bff70c57823c6dfd20827f7f73696fcd5d78/vlmaps/utils/mapping_utils.py#L583-L588

You are right! Actually, this is only valid when the horizontal field of view of the image is 90 degrees. That's why we also provide a version of code that computes the intrinsic matrix considering the fov here. In our collected data in habitat sim, we used a camera with fov=90deg, that's why it is still valid in sim. For other camera setups, you should specify a correct intrinsic matrix. You can specify the camera intrinsic matrix in the config file at this line.

Thanks for your replies. I resolved Q2 clearly. In Q1, then, what is the physical meaning of the emergence of a pattern in downsampled point clouds? why does it matter?

The pattern I mean is something like the following image. For example, if we have a depth image with size 3-by-6. We call depth2pc to compute the point cloud. If you take a closer look at how depth2pc is implemented, you will find out that the resulting point cloud is ordered as is shown in the image. The number in each pixel refers to the index of the corresponding point in the resulting point cloud. Now if we downsample the point cloud with a depth_sample_rate of 6, 7, 8, we will find that the subsampled point cloud corresponds to the pixels in grey which is not random but follows a certain pattern.

Now I could clearly understand! Thanks for ur kindness!


Remove typing dependency. typing should be only used from python <3.5

According to pypi typing is supported only for older python versions:
Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.5

Reference: https://pypi.org/project/typing

Good catch - holdover from the old days.


chore: update wrappers for bulk import plugins

Description
Update wrappers for bulk import plugins that have been migrated to https://github.com/redhat-developer/rhdh-plugins
Fixes: https://issues.redhat.com/browse/RHIDP-3293
PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@christoph-jerolimov @debsmita1 could you confirm if the bulk-import plugins are being loaded as expected?

Ah yes, thanks for bringing that up @rm3l , just created an issue here: https://issues.redhat.com/browse/RHIDP-4853
Not sure if any other doc updates besides the ones mentioned in the issue are needed as well


Just Placeholder text - Understanding PlayFab Party endpoint data transmission

Linked by Asynchronous PlayFab Party operations and notification as "later topic".
Page has only placeholder contents.

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

ID: 3df4d859-c491-26e7-6744-e1fde6537a9a
Version Independent ID: 2ee050aa-f2c0-37ef-184c-9e3d2df32cbe
Content: Understanding PlayFab Party endpoint data transmission - PlayFab
Content Source: playfab-docs/features/multiplayer/networking/concepts-endpoint-transmission.md
Product: playfab
GitHub Login: @joannaleecy
Microsoft Alias: joanlee

We have updated the content already. Thanks for your patience.


[DOC] Restic support on OpenShift

On OpenShift, the restic containers should be running in a privileged mode to be able to mount the correct hostpath to pods volumes.

This PR is related to https://github.com/heptio/velero/issues/267 and https://github.com/heptio/velero/issues/406 issues.

@abessifi in the mean time, please amend your commit with a sign-on.

@carlisia it should be ok now !

@carlisia any update on this ?

Hey @abessifi, unfortunately we'll need to you rebase this PR as we've moved docs around in the past few days. You'll now find them under site/docs - you'll want to make this change to both site/docs/master/restic.md and site/docs/v1.0.0/restic.md.

Looks like you'll need one more rebase here. I think the conflicting changes were largely just whitespace modifications.

I think this happened because of my Atomic editor. Seems it removes all the leading/extra whitepaces automatically.


Support knife attribute filters with dots

Description
Some node attribute keys have dots in them, i.e. our current windows
package resolves to packages.Chef Client v12.12.15. Currently, when
parsing our --attribute flags we simply split on a . to indicate
nesting, which would result in the data not coming back to the user as
expected. This change adds support for quoted attributes in the filter
flags, so that you can specify keys that include special characters like
dots.
knife node show NODE --attribute 'packages."Chef Client v12.12.15"'
knife node show NODE --attribute "packages.'Chef Client v12.12.15'"

Because the shell processes the strings before we even get the chance to
see it, the user will need to make sure they escape or use a combination
of single or double quotes to preserve the quoting as appropriate.
Issues Resolved

Internal ticket COOL-599

Check List

[ ] New functionality includes tests
[ ] All tests pass
[ ] RELEASE_NOTES.md, has been updated if required (not required for bugfixes, required for API changes)
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

:-1: on the quoting unless we actually update the RFC first and agree on some standard. The sprawl of different attribute processing styles is already way out of hand.

https://github.com/chef/chef-rfc/blob/master/rfc018-attribute-syntax.md#command-line-access-knife for those that don't want to go find it. The fix we approved back then was to add a -F option to specify the split character. It's cool if the community wants to change that, but for now this is out of spec.

Ah, I totally missed that RFC. Thanks @coderanger!


sesman fails to connect to X server and timeouts but X server starts correctly (later?)

xrdp 0.9.12
Vanilla install and configuration in Ubuntu 20 (I only changed rdp port from 3389 to 3390 in xrdp.ini)
I can connect to xrdp and I see the login form then, if I try to login, all I get is a black screen with mouse pointer.
By the logs (below) it seems that sesman gives up to connecting to Xserver (line 11), in fact no command in startwm.sh is run (I put a touch /var/tmp/myfile.txt as first command and no file is created).
But then Xserver starts correctly (line 21), in fact the black screen is a fully functional Xserver session: I can even start a wm session manually from command line with DISPLAY=:10 startxfce4 and go on working from remote via rdp...
[20200820-17:44:57] [INFO ] A connection received from ::1 port 53108
[20200820-17:44:57] [INFO ] ++ created session (access granted): username paolo, ip ::1:53107 - socket: 11
[20200820-17:44:57] [INFO ] starting Xorg session...
[20200820-17:44:57] [DEBUG] Closed socket 8 (AF_INET6 :: port 5910)
[20200820-17:44:57] [DEBUG] Closed socket 8 (AF_INET6 :: port 6010)
[20200820-17:44:57] [DEBUG] Closed socket 8 (AF_INET6 :: port 6210)
[20200820-17:44:57] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20200820-17:44:57] [INFO ] calling auth_start_session from pid 17605
[20200820-17:44:57] [DEBUG] Closed socket 6 (AF_INET6 ::1 port 3350)
[20200820-17:44:57] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20200820-17:44:57] [ERROR] X server for display 10 startup timeout
[20200820-17:44:57] [ERROR] another Xserver might already be active on display 10 - see log
[20200820-17:44:57] [DEBUG] aborting connection...
[20200820-17:44:57] [ERROR] X server for display 10 startup timeout
[20200820-17:44:57] [CORE ] waiting for window manager (pid 17606) to exit
[20200820-17:44:57] [CORE ] window manager (pid 17606) did exit, cleaning up session
[20200820-17:44:57] [INFO ] calling auth_stop_session and auth_end from pid 17605
[20200820-17:44:57] [INFO ] shutting down sesman 1
[20200820-17:44:57] [DEBUG] cleanup_sockets:
[20200820-17:44:57] [INFO ] ++ terminated session:  username paolo, display :10.0, session_pid 17605, ip ::1:53107 - socket: 11
[20200820-17:44:58] [INFO ] /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
config/udev: failed to bind the udev monitor
[config] failed to pre-init udev

X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-184-generic x86_64 Ubuntu
Current Operating System: Linux PC-BERNINI 4.4.0-19041-Microsoft #1-Microsoft Fri Dec 06 14:06:00 PST 2019 x86_64
Kernel command line: BOOT_IMAGE=/kernel init=/init
Build Date: 24 June 2020  06:00:21AM
xorg-server 2:1.20.8-2ubuntu2.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.38.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.10.log", Time: Thu Aug 20 17:44:58 2020
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
rdpProbe: found DRI3 xorg.conf value [1]
rdpPreInit:
rdpPreInit: /dev/dri/renderD128 open failed
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x7fa58b860010
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000906ea bx 0x08100800 cx 0xfefaf387 dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpXvInit: depth 24
rdpScreenInit: out
rdpCreateScreenResources:
rdpmousePreInit: drv 0x7fffbd4080b0 info 0x7fffbd57b230, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x7fa58ba51430
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x7fffbd409580 info 0x7fffbd6eca00, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x7fa58ba418e0
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
  screen resized to 1024x768
  RRScreenSizeSet ok 1
rdpResizeSession: width 1920 height 1080
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1920 height 1080 mmWidth 508 mmHeight 286
rdpRRGetInfo:
  screen resized to 1920x1080
  RRScreenSizeSet ok 1
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 7
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x7fffbd700730
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1920 height 1080 bpp 32
rdpClientConProcessScreenSizeMsg: shmemid 0 shmemptr 0x7fa51e007000
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 1080
KbdSync: toggling num lock
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpClientConProcessMsgClientInfo:
  got client info bytes 5752
  jpeg support 0
  offscreen support 1
  offscreen size 10485760
  offscreen entries 100
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1920 height 1080
rdpLoadLayout: keylayout 0x00000410 variant  display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
KbdSync: toggling num lock
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpClientConRecv: g_sck_recv failed(returned 0)
rdpClientConRecvMsg: error
rdpClientConCheck: rdpClientConGotData failed
rdpClientConDisconnect:
rdpRemoveClientConFromDev: removing clientCon 0x7fffbd700730
^C[20200820-17:45:54] [INFO ] shutting down sesman 1

Am I missing something?

I can't see what's immediately wrong here, but I can perhaps correct a misperception which may help.
sesman doesn't connect to the X server. It simply looks for evidence that it's running.
The code to do this is in sesman/session.c in the function x_server_running(). sesman looks for either /tmp/.X11-unix/X$DISPLAY or /tmp/.X$DISPLAY-lock

Sorry - finger trouble. Comment above updated.

Well that would explain the timings on the log!
I'll close this now - feel free to re-open it if you've got more issues in this area.


Modbus TCP client over Wifi for Raspberry Pi Pico W (RP2040)

Scope
The aim of this project is to implement the missing functionality needed to interact with a Modbus TCP Linux server using a Modbus TCP client via Wifi on the Raspberry Pi Pico W's on board CYW43439 wifi/bluetooth chip.
The way this is to be done is by implementing (as explained in the README.md of the original repository) a port of read_fd_pico, write_fd_pico and connect_tcp for this specific microcontroller.
Background
The development target is the RP2040 microcontroller using the C programming language that comes in the Pico W board package.
The work done so far in this branch has been achieved by implementing some lwIP functions using pico-examples as reference: lwIP WIFI source exaples.
Any help for getting a successful connection would be greatly appreciated.

Since you are on linux a good start would be checking out the linux code in the examples folder. Is there something in particular you'd like to know?

Hi @debevv, thank you for your answer. Yes, I checked them and I'm in the process of making a port of this file and this file for rp2040. I was wondering if you could help me.
I explained in detail above the situation. The idea is to have a linux server running this program and to have the rp2040 writing modbus tcp registers as a client so the server can read them.
I would appreciate any help you can give me making this port, I started the work here.

Hi, I've just pushed a Modbus RTU port for the RP2040 (Pico). Check it out if you are interested.

Merged in 7e4ef3e97e39664759e14bf993ff60d51dc8d850. Thank you


feat: Better handle multiline method definitions

Codecov Report

Merging #7 (9686084) into main (c633a97) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main       #7      +/-   ##
============================================
+ Coverage     82.02%   82.04%   +0.02%
- Complexity      910      912       +2
============================================
  Files            44       44
  Lines          2292     2295       +3
============================================
+ Hits           1880     1883       +3
  Misses          412      412

Impacted Files
Coverage Δ

src/DefinitionResolver.php
88.39% <100.00%> (+0.05%)
:arrow_up:


isort within sections

Relevant changes to look at (apart from the actual re-ordered imports):

workflow/main.yml
setup.py/cfg
views.py
changes.rst


Authentication with Google not working

Authentication with Google is not working anymore. It opens a blank page, even in the official demo.

How are you authenticating? Please show your provider config settings.


Relase 1.6.0

Connected to https://github.com/vaadin/components-team-tasks/issues/240

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Feature/add actions

Hey @all-contributors please add @LopezMDidac  for code, content, doc, design, ideas, maintenance, test, example, review


Cannot start service jslave: Mounts denied:  The path /etc/localtime

trying to run JACReference on local machine,
Mac
Docker version 17.12.0-ce, build c97c6d6
ERROR: for dockerizeit_jslave_1  Cannot start service jslave: Mounts denied:
The path /etc/localtime
is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
Creating dockerizeit_registry-web_1 ... error
.

Maybe similar issue with /etc/localtime but on another host
Running WSL (Windows 10 + Ubuntu setup)


capability to add item to swipe selector

the capability to add items to swipe selector at run time! for example when some body chooses some thing from a list, it could be added to swipe selector!

https://github.com/roughike/SwipeSelector/issues/5
this issue was already closed, see this example loading from a DB.


Responsive Iframe Video Content

a vanilla JS solution - removed intrinsic-container css

closing - creating new pr under new branch fix/robert-fixes


Added tests, support node module system, fixed issue 5

Hi @richorama , I just now reviewed this pull request. Looks good to me.

Awesome, thanks! I'd forgotten all about it :-)


smooth-leather-armor-texture not working

I can't disable smooth-leather-armor-texture and this option not using in code. I think mistake here.

facepalm
And that's what I get for copy pasting code I really shouldn't.
Thank you for letting me know, will fix it in the latest release. For now, you could open up the jar and empty the armor's zip file contents.


Fix readme blog post url

This pr fixes the "Rethinking reactivity" blog post url in the readme.

Thanks!


Make the script so it will remove your reactions from messages too

I like the script very much and it seems that you've done a pretty good job.
The only problem I found was that after deleting my messages, my reactions on his messages (the red heart) still remains on their messages, so then I have to manually go and remove them.
It would be really cool if you could add this on your next update!.
Thanks a lot.

As the script is currently made for deleting your own messages, not anything else,
Still I will research and plan on developing your request of deleting the reactions on the other party messages.
Thanks for suggestion.


[Support] Incorrect login details were provided

Expected Behavior
npm start would execute as expected.
Actual Behavior
I am getting an Incorrect login details were provided error after running npm start. I verified my Facebook login by copying and pasting email and password from the json into the brower and was able to log in. I also tried cycling the Discord bot token several times just in case. Reinstalling git and node didn't help. Deleting and re-cloning another instance of miscord didn't help.
I'm hoping you can help me identify the silly thing I'm missing since plenty of people have your project up and running quite well.
C:\Users\me\pgo>git clone https://www.github.com/Bjornskjald/miscord
Cloning into 'miscord'...
warning: redirecting to https://github.com/Bjornskjald/miscord.git/
remote: Counting objects: 759, done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 759 (delta 65), reused 77 (delta 31), pack-reused 636
Receiving objects: 100% (759/759), 605.65 KiB | 12.89 MiB/s, done.
Resolving deltas: 100% (415/415), done.

C:\Users\me\pgo>cd miscord

C:\Users\me\pgo\miscord>copy config.example.json config.json
        1 file(s) copied.

C:\Users\me\pgo\miscord>npm install
added 102 packages from 87 contributors in 6.708s

C:\Users\me\pgo\miscord>npm start

><EMAIL_ADDRESS>start C:\Users\me\pgo\miscord
> node index.js

Error:
Error: Incorrect login details were provided.
    at WebSocketConnection.client.ws.connection.once.event (C:\Users\me\pgo\miscord\node_modules\discord.js\src\client\ClientManager.js:47:41)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at WebSocketConnection.emit (events.js:211:7)
    at WebSocketConnection.onClose (C:\Users\me\pgo\miscord\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:387:10)
    at WebSocket.onClose (C:\Users\me\pgo\miscord\node_modules\ws\lib\event-target.js:124:16)
    at emitTwo (events.js:126:13)
    at WebSocket.emit (events.js:214:7)
    at WebSocket.emitClose (C:\Users\me\pgo\miscord\node_modules\ws\lib\websocket.js:219:10)
    at _receiver.cleanup (C:\Users\me\pgo\miscord\node_modules\ws\lib\websocket.js:207:39)
    at Receiver.cleanup (C:\Users\me\pgo\miscord\node_modules\ws\lib\receiver.js:572:15)
    at WebSocket.finalize (C:\Users\me\pgo\miscord\node_modules\ws\lib\websocket.js:207:20)
    at emitNone (events.js:111:20)
    at TLSSocket.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\me\AppData\Roaming\npm-cache\_logs\2018-03-15T15_25_29_118Z-debug.log

Steps to Reproduce the Problem

Verified that Facebook username and password was correct by copying/pasting credentials into Facebook via web browser. Verified that Facebook user was part of an existing Facebook Messenger group.
Uninstalled both git and node. Restarted Win10. Installed git and node. Restarted.
Cloned miscord instance
Via cmd, copy config.example.json config.json
Using Notepad++, filled config.json with Facebook email, Facebook password, and discord token with bot Client Secret
ran npm install
ran npm start

Specifications

Platform: Windows 10 build 1709
Version (can be found in package.json): 2.5.2
Node.js version (node -v): 8.10.0

Can you post an image with blacked out info? it's possible that you have entered your info in a wrong format

The JSON format appears to be valid, according to https://jsonlint.com.

wait, it's a discord error. can you check the token if it's correct?

I cycled the bot token again:

Ran npm install just in case, then npm start. Still got the incorrect login.

i think you're getting the wrong string as token. it should literally say "token" on the discord page

Sunuva ... that was it.  Thanks!
C:\Users\me\pgo\miscord>npm start

><EMAIL_ADDRESS>start C:\Users\me\pgo\miscord
> node index.js

info login Logging in...
info login Logged in
info login Request to reconnect
info login Request to pull 1
info login Request to pull 2
info login Request to thread_sync
info login Done logging in.
info listen Got answer in 1042
info listen Got answer in 582

@Bjornskjald Thank you again. Feel free to close this ticket (or you can leave it up just in case someone else runs into the same issue.)


Invalid Number error when parsing correct currency number text

final formatter = NumberFormat.currency(locale: 'de', symbol: '€', customPattern: '#,##0.00 \u00A4');
const expectedString = '463,00 €';
const expectedNumber = 463.00;
print(formatter.format(463.00) == expectedString); // prints true
print(formatter.parse(expectedString) == expectedNumber); // ERROR

Invalid Number: 463,00 €

When the exception was thrown, this was the stack:
#0      NumberParser.invalidNumber (package:intl/src/intl/number_parser.dart:217:7)
#1      NumberParser.parse (package:intl/src/intl/number_parser.dart:210:25)

Similar to #442. the NumberFormat.parse functionality does not work as expected. Here, the error is thrown as the '€' symbol is not expected, only number characters are. In particular, the parser seems to have only a distant relationship with the NumberFormat which was input in the constructor.


bug: Vault bootstrap has no facts about etcd when first inventory_hostname is master

Vault bootstrap role in the beginning has no facts about etcd, and when first inventory_hostname in iteration is master (or any other than etcd) execution fails.
Following import_task will be skipped:
https://github.com/kubernetes-incubator/kubespray/blob/master/roles/vault/tasks/bootstrap/main.yml#L15
And then this import_task will fail with 'vault_etcd_ca_cert_needed' is undefined error:
https://github.com/kubernetes-incubator/kubespray/blob/master/roles/vault/tasks/bootstrap/main.yml#L25
Probably entire logic in Vault role is incorrect, etcd and vault certificates should be processed separately from each other.

guys, could you please add additional test with cert_management: vault into CI?

vault has been removed