Components not recognized

Describe the bug:
VS2022 does not always recognize existing components.

After a restart the component is recognized. There where not code changes in this part of the code.

Version used:
VS2022 17.0.5
To reproduce:
This does not happen every time, I could not find what triggers it.
I noticed this after working a couple of hours and never after a fresh start of vs.
Expected behavior:
Should always work

@TDroogers I thinkkkk you may be running into this issue. Would you mind validating the following:

Do you happen to have a Release folder in your obj folder? If so, does deleting it fix your issue?
Does your issue reproduce in 17.1-PreviewX (can install here)? We fixed several issues that look similar to this in that release.

Yes I did have both debug and release in the obj folder. I have deleted the debug. And I will keep using the main version. If it occurs again I will download the preview version.

Yes I did have both debug and release in the obj folder. I have deleted the release. And I will keep using the main version. If it occurs again I will download the preview version.

Thank you @TDroogers! I'll close out this issue as a duplicate for now, feel free to reopen if you reencounter the issue


Graduating GRPCRoute to GA

What type of PR is this?
/kind documentation
/kind feature
What this PR does / why we need it:
This PR graduates GRPCRoute to GA. This means the following:

GRPCRoute has a new v1 API version that is identical to v1alpha2
Storage version is set to v1 in both standard and experimental channel - note that this makes it impossible to roll back to v1.0 CRDs, but since this is otherwise a no-op change, I think that's acceptable
v1alpha2 is served in experimental channel but is not served in standard channel. This is primarily to ease the migration for anyone upgrading from earlier usage of GRPCRoute while also avoiding any usage of alpha APIs in standard channel.

Does this PR introduce a user-facing change?:
GRPCRoute has graduated to GA. We recommend using the "v1" API version with this API now. The "v1alpha2" version of this API is deprecated and will be removed in the future.

/cc @gnossen

This is a big PR, adding a hold until we've got multiple LGTMs or approvals.
/hold

Looks good here!
/approve

v1alpha2 is served in experimental channel but is not served in standard channel. This is primarily to ease the migration for anyone upgrading from earlier usage of GRPCRoute while also avoiding any usage of alpha APIs in standard channel.

How does not serving v1alpha2 in standard channel help migrations?

@robscott, ultimately I think we're falling a bit into the how-before-what trap here -- I kind of feel like we're wrangling about how to do things without having a clear sense of exactly what we need to support. Could we back up a moment and lay out some use cases here?
A few that come immediately to my mind:

The experimental channel has GRPCRoute v1alpha2 which should be promoted to v1. Ana has been installing the experimental channel in her clusters, since she's developing against GRPCRoute; she would rather use the standard channel instead, though. What should she do?
Same situation as #1, but Ian has been managing the CRDs for Ana. How does the migration happen smoothly?
Ana has been using the experimental channel's support for the TeapotResponse stanza in HTTPRoute v1alpha7. TeapotResponse is being promoted to standard channel, and Ana wants to stop installing the experimental channel CRDs. How does TeapotResponse get moved to standard exactly? What does Ana need to do? (Assume that we currently have HTTPRoute v1 as standard.)
Same situation as #3, but again, Ian is managing the CRDs instead of Ana having control over this.
Shortly before TeapotResponse was proposed, the Bertrand Gateway controller wrote GEP-BERTRAND proposing RussellsTeapot with the semantics that eventually became TeapotResponse. GEP-BERTRAND was accepted into the experimental channel, but now that TeapotResponse is the accepted standard, the Bertrand folks need to cope with the fact that they have users of RussellsTeapot that need to be migrated to TeapotResponse. What should they do, exactly? Assume that they're catching this while TeapotResponse is still experimental, and that, again, we currently have HTTPRoute v1 as standard.
Same as #5, but suppose that the Bertrand folks wait until TeapotResponse has been promoted to standard.

#1 is, I think, what we've been discussing with GRPCRoute.
#3 is, I think, a hypothetical that @robscott proposed, with concrete names and versions so we can talk about concrete solutions.
#5 is a thing that happened to me recently with a Linkerd-specific CRD, and is likely about to happen to Envoy Gateway with TLS validation.
What other situations come to mind?

@robscott, ultimately I think we're falling a bit into the how-before-what trap here -- I kind of feel like we're wrangling about how to do things without having a clear sense of exactly what we need to support. Could we back up a moment and lay out some use cases here?

Agreed, in my opinion, we're trying to accomplish the following goals:

Optimize for stability in standard channel. This means avoiding exposure of alpha API versions in standard channel to avoid future painful deprecations or long term support of alpha.
Do what we can to enable users that have tried an experimental channel CRD to have an upgrade path to standard channel. As #2912 shows, this is actually rather difficult with our current model, but is mostly viable in the case of this specific GRPCRoute transition because of how stable the GRPCRoute API has been.

The experimental channel has GRPCRoute v1alpha2 which should be promoted to v1. Ana has been installing the experimental channel in her clusters, since she's developing against GRPCRoute; she would rather use the standard channel instead, though. What should she do?

A. Upgrade to experimental v1.1 CRDs that have both v1alpha2 and v1 API versions
B. Upgrade to controller that supports v1
C. Upgrade to standard channel CRDs

Same situation as (1), but Ian has been managing the CRDs for Ana. How does the migration happen smoothly?

Same as above, just need to make sure the above order of operations happen, doesn't matter how much time passes in between each step though.

Ana has been using the experimental channel's support for the TeapotResponse stanza in HTTPRoute v1alpha7. TeapotResponse is being promoted to standard channel, and Ana wants to stop installing the experimental channel CRDs. How does TeapotResponse get moved to standard exactly? What does Ana need to do? (Assume that we currently have HTTPRoute v1 as standard.)

This gets to the root of the problem I'm describing in #2912. There's probably no safe path from experimental to standard in this scenario. HTTPRoute in particular usually has several experimental things at once, and not all of them will graduate at the same time. If you were to upgrade from experimental to standard channel, you'd almost certainly end up losing fields and data from experimental channel with unpredictable outcomes.

Same situation as (3), but again, Ian is managing the CRDs instead of Ana having control over this.

Still awful unless we split CRDs as proposed in #2912. The current state is that there's no safe path from experimental to standard. GRPCRoute is the exception because the entire resource is graduating and it has been unchanged for many releases.

Shortly before TeapotResponse was proposed, the Bertrand Gateway controller wrote GEP-BERTRAND proposing RussellsTeapot with the semantics that eventually became TeapotResponse. GEP-BERTRAND was accepted into the experimental channel, but now that TeapotResponse is the accepted standard, the Bertrand folks need to cope with the fact that they have users of RussellsTeapot that need to be migrated to TeapotResponse. What should they do, exactly? Assume that they're catching this while TeapotResponse is still experimental, and that, again, we currently have HTTPRoute v1 as standard.

I think unfortunately you're stuck supporting both APIs for a long time, depending on the support guarantees of your implementation.

Same situation as (5), but suppose that the Bertrand folks wait until TeapotResponse has been promoted to standard.

I think the same largely applies.

@shaneutt, @kflynn, or anyone else, I think we've got enough approvals, can someone add the final LGTM to merge this in?
/hold cancel

/lgtm
🙂


Default to Not Pre-filling Filesystems in Fio

Don't automatically pre-fill filesystems. This restores the old
default behavior.

@stfeng @yuyantingzero Will you take a look?

Sounds good. Can we call the flag --prefill_device, and default to our semi-smart behavior, rather than --prefill_device_when_using_filesystem? I think it's obvious on reading it what --prefill_device=True or --prefill_device=False mean, but --prefill_device_when_using_filesystem is more complicated.

I just pushed a new commit adding a --prefill_device flag. Tony and I also talked about just not prefilling at all when using a filesystem, but I remembered after our conversation that that would take away a lot of the functionality of the --working_set_size flag, because fio will only write a file as large as our working set, but we might want to have a lot of cold data with a small working set.

LGTM


Choose Location to Save Images

Got a request from a couple users saying they would like to be able to save images in specific locations.

Closing due to inactivity.


Improve internationalization support for projects via gettext

Currently, the Godot editor uses .po files (gettext), and projects use CSV.
CSV has a few downsides compared to .po or other more common formats for localization:

it is not very VCS-friendly (having a large amount of different languages in a single file makes it worse),
it is not compatible with most localization platforms (like Transifex or Weblate)

Using a more advanced format could also bring support for advanced i18n features like plurals.

There is a problem with gettext translations for polysemy words.
For example the Project Manager can mean a person @akien-mga  or the tool to management the projects. But it is not allow to translate as diffrent text with gettext. Many of the languages can't translate them to the same text.
So I think it is required to keep the CSV support.

Well CSV should be kept, but PO should also be supported.

For example the Project Manager can mean a person @akien-mga or the tool to management the projects. But it is not allow to translate as diffrent text with gettext. Many of the languages can't translate them to the same text.

gettext covers this since it lets you define contexts for each string (which can also be displayed in translation platforms to ease the work of translators).

Well well well... Turns out we already support PO files for translations, even in Godot 2 :)
See e.g. https://github.com/KOBUGE-Games/minilens/commit/da068b27f1ad55adf72fa10ac1a8e10c8d918ce8
UX could be improved, but that's beyond the scope of this issue.

@akien-mga Hi. Is it possible to use .po files for project translation (Godot 3.0.5)?

I wonder if we can support Gettext specific features like plural forms, for example:

https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms

Is it possible to use .po files for project translation (Godot 3.0.5)?

Yes, just load a .po file in Project Settings > Localization.

I wonder if we can support Gettext specific features like plural forms

It should be possible, though I doubt the current implementation we have supports it (core/io/translation_loader_po.cpp).

@akien-mga it doesn't work for me, I don't understand why :(
I have es_ES.po file:
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: \n"
"Plural-Forms: nplurals=1; plural=0;\n"

msgid "New Game"
msgstr "Juego Nuevo"

But nothing happens after locale changed. I have broken file format?

If anyone stumbles upon this issue via a Web search, note that the process of localization using gettext is now documented here: https://docs.godotengine.org/en/latest/tutorials/i18n/localization_using_gettext.html


Add GHA workflow for running test suite

Yes, please.
(Was just thinking about this myself too.)
Django 4.2+


Can't browser schema with DBeaver

I can't see/browse the schema (tables, views and such) using DBeaver, but only on connections using this driver... the legacy driver works fine. Querying the data works just fine.
DBeaver version: <IP_ADDRESS>203060510
Clickhouse version: <IP_ADDRESS>

I'll take the blame of introducing weird table types in the new driver :p The purpose was to categorize database objects in more categories other than just TABLE and VIEW. I submitted feature request dbeaver/dbeaver#14773 hoping they can be better supported in SQL clients.
@enqueue also suggested to stay with TABLE and VIEW as nicely documented in #778. Apart from that, I noticed the change caused a few issues in other downstream projects like trino.
Anyway, this will be addressed in v0.3.3. Basically, non-standard table types will be move from clickhouse-jdbc to clickhouse-jdbc-ext, a new module for extended JDBC functions. New connection property might be added to enable more table types.

This is no longer an issue in main stream database clients.


Lorawan example throws 'ReaderThread' object has no attribute 'read'

Per Bob P.
We ordered a couple of LoSticks from Tindie and tried the example software from the repo, however we cannot get lorawan.py example to work:
python3 lorawan.py --joinmode otaa --appeui "xxxxxx" --appkey "xxxx" --deveui "xxxxx" /dev/tty.usbserial-14120

Running this on a MacOs with python3 and getting the following error:
Connection to LoStik established
mac get appeui
'ReaderThread' object has no attribute 'read'
Lost connection to serial device
Traceback (most recent call last):
File "lorawan.py", line 118, in <module>
with ReaderThread(ser, PrintLines) as protocol:
File "/anaconda3/lib/python3.6/site-packages/serial/threaded/__init__.py", line 250, in __enter__
raise RuntimeError('connection_lost already called')
RuntimeError: connection_lost already called

Do you know what I might be doing wrong? (application key supplied in the argument is changed a bit, but functions as example)
Thank you in advance.
Best Regards,
Bob

This should be fixed again in ffd36ecc15fc95545216bb15b1c78bc6cfa9063d waiting on access to a Gateway this afternoon to test and confirmation from Bob.

Ok, I've tested the latest commit to master and everything seems to be in order.


HADOOP-18300. Upgrade Gson dependency to version 2.9.0

Description of PR
Upgrade Gson dependency to version 2.9.0
How was this patch tested?
Presubmit/CI
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[x] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 50s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+0 :ok:
xmllint
0m  1s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
14m 40s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
27m 49s

trunk passed

+1 :green_heart:
compile
25m  2s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
21m 37s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
mvnsite
2m 41s

trunk passed

+1 :green_heart:
javadoc
2m 38s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
2m 33s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
shadedclient
120m 15s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 29s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
9m 10s

the patch passed

+1 :green_heart:
compile
24m 11s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
24m 11s

the patch passed

+1 :green_heart:
compile
21m 40s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
21m 40s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
2m 37s

the patch passed

+1 :green_heart:
javadoc
2m 32s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
2m 32s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
shadedclient
34m 10s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 50s

hadoop-project in the patch passed.

+1 :green_heart:
unit
0m 50s

hadoop-client-runtime in the patch passed.

+1 :green_heart:
unit
0m 51s

hadoop-client-minicluster in the patch passed.

+1 :green_heart:
asflicense
1m 16s

The patch does not generate ASF License warnings.

216m 41s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4454/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4454

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint

uname
Linux 2f6eaa030b7d 4.15.0-175-generic #184-Ubuntu SMP Thu Mar 24 17:48:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 9d857e061bdbdad4f18e9edef8fe813b022959b9

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4454/2/testReport/

Max. process+thread count
536 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-client-modules/hadoop-client-runtime hadoop-client-modules/hadoop-client-minicluster U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4454/2/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

+1
trunk, branch-3.3 and branch-3.2 are all currently on GSON 2.8.9 and can take a backward-compatible upgrade to 2.9.0. I'll plan on committing to those 3 branches.

Thanx @cnauroth for giving a check, just give a check to the Yarn test failure before merging, the other one I know isn't related.
In case interested Hive too uses Gson and if you folks are interested we can keep the version in sync there as well:
https://github.com/apache/hive/blob/master/pom.xml#L207
Hive is moving to hadoop 3.1.x line to 3.3.x line. :-)

@ayushtkn , I forgot to mention that test failures look unrelated to me, but I'll be clarifying with an independent test run before I commit.
Thanks for the tip on Hive. I'll check it out.

Thank you for the reviews and merging PR!


delete whole directory suddenly

i am using this plugin and it work fine but suddenly it deletes the whole directory
for example i have an image table the picture field is called photo so the directory will be image/photo/ids..
the users upload images and it is fine but suddenly it deletes all the directories in image/photo !
why is this happening. i am sure there is enough space in the host

Closing as there hasn't been movement on this in months. Please comment if you are still having this issue.


o365 shared mailbox - authorization woes

Hello - struggling to get shared mailbox on o365 authorized.  If I attempt to authorize account in local python window - it sits and spins after I submit creds to o365.  Suspect this is related to our tenant being fully federated.  O365 login should redirect to our on-prem IDP for credential challenge/authorization under normal circumstances.  This redirect never happens in the local python window.  If i use external window I can get a return code generated - but when I submit resulting URL to proxy I get an auth success followed by 400 errors:
2022-03-31 16:35:35,329: Authorisation request received for xxxx (interactive mode)
2022-03-31 16:36:29,137: Successfully authorised request for xxxx
2022-03-31 16:36:29,590: Caught exception while requesting OAuth 2.0 credentials: <HTTPError 400: 'Bad Request'>
2022-03-31 16:36:29,590: IMAP ('<IP_ADDRESS>', 52742) <-- b'aaab NO LOGIN Email OAuth 2.0 Proxy: Login failure - saved authentication data invalid for account xxxx\r\n'
2022-03-31 16:36:29,606: IMAP ('<IP_ADDRESS>', 52742) <-- b'* BYE Autologout; authentication failed\r\n'
Config file doesn't get updated with any token values.
Shared account is enabled such that it can login directly to o365 - so delegation should not be necessary to best of my knowledge.  This is how the account is used with IMAP today.
Thank you.

The first thing I'd try here would be to verify that the proxy is working. Can you set it up successfully with a non-delegate account? If that succeeds, what happens when you set up the delegate account but authenticate with an account that has been granted access rather than the delegate account itself? If that is also successful, does this situation apply?
I don't have a test delegate account where direct login is enabled, so I can't test this myself. If you are still unable to get it working, could you provide a test account?

In testing with a regular mailbox...
windows 2019 server
python 3.8.10
result when attempting to authorize account in native app (same result with 32bit or 64 bit python install):
Unhandled Exception: Python.Runtime.PythonException: MissingManifestResourceException : Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Microsoft.Toolkit.Win32.UI.Controls.DesignerUI.resources" was correctly embedded or linked into assembly "Microsoft.Toolkit.Forms.UI.Controls.WebView" at compile time, or that all the satellite assemblies required are loadable and fully signed.
at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
at Microsoft.Toolkit.Win32.UI.Controls.DesignerUI.get_E_NOTSUPPORTED_OS_RS4()
at Microsoft.Toolkit.Win32.UI.Controls.Interop.OSVersionHelper.ThrowIfBeforeWindows10April2018()
at Microsoft.Toolkit.Forms.UI.Controls.WebView.System.ComponentModel.ISupportInitialize.EndInit()
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at __System_Threading_ThreadStartDispatcher.Invoke()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
resulting in proxy crash.
result when attempting to authorize external (32bit python):
2022-04-01 10:58:01: Successfully authorised request for xxxx
2022-04-01 10:58:01: Caught exception while requesting OAuth 2.0 credentials: <HTTPError 401: 'Unauthorized'>
2022-04-01 10:58:01: IMAP ('<IP_ADDRESS>', 54915) <-- b'aaab NO LOGIN Email OAuth 2.0 Proxy: Login failure - saved authentication data invalid for account xxxx\r\n'
2022-04-01 10:58:01: IMAP ('<IP_ADDRESS>', 54915) --> [ Client disconnected ]
2022-04-01 10:58:01: IMAP ('<IP_ADDRESS>', 54915) <-- b'* BYE Autologout; authentication failed\r\n'
error: uncaptured python exception, closing channel <main.IMAPOAuth2ClientConnection <IP_ADDRESS>:54915 at 0x3b96a00> (<class 'OSError'>:[WinError 10038] An operation was attempted on something that is not a socket [C:\tools\Python\Python38-32\lib\asyncore.py|read|83] [C:\tools\Python\Python38-32\lib\asyncore.py|handle_read_event|420] [emailproxy.py|handle_read|555] [emailproxy.py|process_data|612] [emailproxy.py|authenticate_connection|650] [emailproxy.py|send|563] [C:\tools\Python\Python38-32\lib\asyncore.py|send|527] [C:\tools\Python\Python38-32\lib\asyncore.py|initiate_send|514] [C:\tools\Python\Python38-32\lib\asyncore.py|send|358])
2022-04-01 10:58:01: IMAP ('<IP_ADDRESS>', 54915) --> [ Client disconnected ]
result when attempting to authorize external (64bit python):
2022-04-01 11:13:34: Successfully authorised request for xxxx
2022-04-01 11:13:35: Caught exception while requesting OAuth 2.0 credentials: <HTTPError 400: 'Bad Request'>
2022-04-01 11:13:35: IMAP ('<IP_ADDRESS>', 54976) <-- b'aaab NO LOGIN Email OAuth 2.0 Proxy: Login failure - saved authentication data invalid for account xxxx\r\n'
2022-04-01 11:13:35: IMAP ('<IP_ADDRESS>', 54976) <-- b'* BYE Autologout; authentication failed\r\n'
Will attempt with newer release of python but had fits with pythonnet yesterday on newer releases.

Thanks for following up. The first log is I suspect related to pythonnet, which is required to show the popup window, but as you note can be a pain to install properly. I think we can ignore this for now.
It's strange that the second two logs are different – the version of python that you're using shouldn't make a difference here, and in particular the fact that you get a different HTTP error (401 vs. 400) is very odd. What happens if you try the --local-server-auth option?
If that still doesn't work, could you try, say, a Gmail account instead? This would help verify whether the issue is something particular to your authentication/authorisation setup, or a more general issue with the proxy.

With --local-server-auth - 64bit:
2022-04-01 11:41:48: Authorisation request received for xxxx (local server auth mode)
Exception in thread EmailOAuth2Proxy-auth-xxxx:
Traceback (most recent call last):
File "C:\tools\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\tools\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "emailproxy.py", line 344, in start_redirection_receiver_server
Log.debug('Local server auth mode (%s:%d): starting server to listen for authentication response' % (
TypeError: %d format: a number is required, not NoneType

Ok, this is an unrelated issue, caused because you haven't specified a port for redirect_uri. The default value for this attribute in the configuration file is http://localhost, but when using this mode you need to also specify a port number (or run via sudo) in order to allow the proxy to actually start a server. This is documented in the configuration file, but in 4563a5e I've made the error message clearer.
What happens if you change to redirect_uri = http://localhost:8080 ?

Thank you - unfortunately I get basically the same result.
2022-04-01 12:18:28: Please visit the following URL http://myo365url
2022-04-01 12:19:30: Local server auth mode (localhost:8080): received authentication response GET /?code=xxxxx HTTP/1.1 200 118
2022-04-01 12:19:30: Local server auth mode (localhost:8080): closing local server and returning response http://localhost:8080/?code=xxxxx
2022-04-01 12:19:30: Caught exception while requesting OAuth 2.0 credentials: <HTTPError 401: 'Unauthorized'>
2022-04-01 12:19:30: IMAP ('<IP_ADDRESS>', 55200) <-- b'aaab NO LOGIN Email OAuth 2.0 Proxy: Login failure - saved authentication data invalid for account xxxx\r\n'
2022-04-01 12:19:30: IMAP ('<IP_ADDRESS>', 55200) <-- b'* BYE Autologout; authentication failed\r\n'

Disregard - think I grabbed logs from an earlier test - will regroup and try again.

In that case I think the best thing to do is try a Gmail account to check the proxy is working with your setup.
The error you are getting suggests that for whatever reason, despite successfully authenticating, the token request is failing. Is there any configuration on your O365 setup that might cause this?

I'm not in a position to test with Gmail and ultimately that isn't my use case - but I understand the ask.  As far as our o365 the only thing I can think of that may be in play is the federation - but that seems to only be a concern for the native PY browser window.  I can use external authorization and make progress - but it breaks down on submitting the return code to the proxy.  I see the corresponding sign-ins for the application in Azure AD - so seemingly good up to that point.  I will see about creating a cloud-only mailbox account to try and eliminate that angle.

Are you using a client ID/secret that you have created yourself, or one from another client? Just wondering whether its scope is correct.
Could you provide a test account somehow, so that I can look into the issue?

Registered a new o365 app in Azure AD for the proxy with a redirect endpoint of http://localhost.  Created a client secret within the app.  Entered corresponding values for client_id and client_secret in proxy config.  If I view the corresponding Enterprise App in Azure AD - I see the following for permissions with my mailboxes as consented users.

What happens if you walk through the process of authenticating and retrieving a token manually using the values you're providing to the proxy? Microsoft has an interactive guide here.
You can see the parameters the proxy uses for the code request in the external auth link you've been successfully using, and the subsequent token request is here. Is there something missing that is required by your setup?

Getting there...
Opened the Postman sample from the MS link - updated 'token request - auth code' with my tenant/app specific values and code obtained from a separate browser session and here's resulting 401 error displayed in Postman:
{
"error": "invalid_client",
"error_description": "AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.\r\nTrace ID: acd7632c-7437-4dcd-b5af-4cd1db7c5500\r\nCorrelation ID: bbbcb06f-7774-49b3-a551-adc683e78cfd\r\nTimestamp: 2022-04-01 20:00:22Z",
"error_codes": [
700025
],
"timestamp": "2022-04-01 20:00:22Z",
"trace_id": "acd7632c-7437-4dcd-b5af-4cd1db7c5500",
"correlation_id": "bbbcb06f-7774-49b3-a551-adc683e78cfd"
}

That is intriguing (but encouraging). If you remove 'client_secret': client_secret, from this line of the proxy script, does it work?

Was able to get to a 200 status code and token issue in Postman after removing/adding the redirect URI.  The app honestly doesn't appear to be any different on surface than it was prior to making changes but will take the win either way.
Thank you for the Postman reference - getting to an actual error message was key.  Wrapping up for day but will revisit in proxy and post back results.
Thank you for this project!
I'm banking on it to prolong the life of the email automation app below as vendor indicated they were taking a 'wait and see' approach to the upcoming end of basic auth by MS.
https://www.glocksoft.com/email-processor/

Just to close this out - I was able to complete an authorization in the proxy after the app changes in Azure AD and run an end-to-end test with my imap client.  Thank you for all your help.

That's great - yes, setting up clients can be very error-prone as the configuration options are not well labelled or documented.
Still, it was harder than it needed to be to solve this issue, so in e4c5979 I've made sure the proxy outputs the actual error message to avoid having to manually trace the authentication steps. Hopefully this helps others solve this and similar issues more easily in future.


Docs for JDBC support are misleading for Spring boot 2.4.x

The current documentation for the JDBC support states:

For Spring Boot (Before version 2.3.0) you need to specify the driver manually spring.datasource.driver-class-name=org.testcontainers.jdbc.ContainerDatabaseDriver

It seems as if this also true for Spring Boot 2.4.x. I'm running my application on Spring Boot 2.4.1. Without specifying this driver I get the following exception when starting a test:
Driver org.mariadb.jdbc.Driver claims to not accept jdbcUrl, jdbc:tc:mariadb:10.4.16://localhost/mydb
Setting the driver to org.testcontainers.jdbc.ContainerDatabaseDriver works.

@straurob this sounds like a regression in Spring Boot. Consider reporting to them:
https://github.com/spring-projects/spring-boot/issues/new/choose


xml files in latentsvmdetector seem broken

All the xml files in folder latentsvmdetector are broken and cannot be used. Any help?

I have the same issue. Could you please help? :)

same for me, have the same issue too. Any Help ?

I have the same issue. Need Help?

@adamtau  @vladhondru25  @cpputra @swainshashwat  Hi! Have you guys found a solution? 🤣  If yes, reply, please 😄

we still don't have a solution? XD


rospack: 2.5.2-0 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rospack to 2.5.2-0:

upstream repository: https://github.com/ros/rospack.git
release repository: https://github.com/ros-gbp/rospack-release.git
distro file: melodic/distribution.yaml
bloom version: 0.6.6
previous version for package: 2.5.1-0

rospack
* add delete whitespace settings for backward compatibility, regression from 2.4.0 (#94 <https://github.com/ros/rospack/issues/94>)
* fix build issue on Windows (#90 <https://github.com/ros/rospack/issues/90>)
* use namespace to avoid name conflict between tinyxml2 and msxml (#89 <https://github.com/ros/rospack/issues/89>)

Were we holding these to let the build farm catch up or something like that?

@tfoote wants to sync Kinetic and Indigo therefore I didn't merge it to not block jobs on these distros with a Melodic rebuild. I will leave it up to the ROS bosses to merge whenever convenient.


Unable to find template in a Symfony Flex project

Unable to find template "IvoryCKEditorBundle:Form:ckeditor_widget.html.twig" (looked into: templates, vendor/symfony/twig-bridge/Resources/views/Form).
May be because the templates folder has been modified in symfony flex :/

You should probably open your issue on the Symfony recipes contrib repo instead since the bug should be there.

Btw, can you double check if FLex have well registered the bundle because this template is automatically registered by a compiler pass.

Or maybe the notation IvoryCKEditorBundle:Form:ckeditor_widget.html.twig is not supported anymore with Flex (don't know)... Anyway, open an issue on Flex, guys should know what's going on better than me...

I replaced IvoryCKEditorBundle:Form:ckeditor_widget.html.twig by @IvoryCKEditor/Form/ckeditor_widget.html.twig in DependencyInjection/Compiler/ResourceCompilerPass.php and it's work :/
http://symfony.com/doc/master/templating/namespaced_paths.html

OK but AFAIR, this notation is not deprecated and should still work (I'm OK to switch to naspacced templates but only if the lowest version supported by the bundle already supports namespaced templates...)


Valid post-coordinated SNOMED codes incorrectly marked as invalid

Description
SNOMED allows post-coordinated codes, i.e. composite codes (e.g. 416940007:363589002=8126600) that combine several SNOMED codes to convey a more detailed concept. However, such codes are always marked as invalid by the conformance checker when SNOMED is loaded locally.
How to reproduce

Start the conformance test, having configured it to load SNOMED
Let the loading of SNOMED and post-processing finish
Try to validate a resource using a valid SNOMED post-coordinated code (e.g. this Condition from the examples in the de.gecco package v. 1.0.4.
Outcome:

Expected: Codes does no cause a validation error
Actual: The code causes an "Unknown code" validation error

This bug is due to the underlying HAPI JPA terminology service not being able to validate post-coordinated SNOMED codes. A workaround that skips validation of such codes is introduced in PR #4 .


Feature/OperationHealth

Full-scale refactoring of existing code to match Java best practices.
Complete Javadoc documentation with consistent style.
Cleaner comments across the project.
Warnings cleanup.
Typos cleanup.
Performed requested changes.

Travis doesn't know how to count


fix: e-mail-addresses operativetv

The address of Lisa has an e too much:
cronjager not cronjaeger. UniBas and unil did not write it the same …


Writing Videos using Media Foundation (fixed memory leaks)

Added MP4 Video output window

Thanks a lot ❤


Simple UI Sample

This sample is to accompany the SharePoint + DevTest Labs blog series. The intention is to demonstrate the ease with which users of DevTest Labs can create a simplified user experience independent of the Azure portal.
It includes:

A .NET Core web application, which interacts with DevTest Labs using the C# SDK
A single-page React app

Screenshot of UI -- the intention is to keep it really simple so that anyone using the sample can easily modify it to fit their needs.


GOOGLE_APPLICATION_CREDENTIALS json-service-account-file cannot be found

The application cannot find the json-service-account-file per the given instructions and thus fails on a permission error.
The credential file needs to be copied into one of the directories that is copied into the container by the Dockerfile so it can be found by the app.
My suggestion is to copy the file into the data directory and then set the path accordingly
My suggestion is the following for the Vertex AI Section
Vertex AI
To use Vertex AI you need to set the following environment variables. More info here.
copy your json-service-account-file into the data directory and set the path accordingly
export LLM_TYPE=vertex
export VERTEX_PROJECT_ID=<gcp-project-id>
export VERTEX_REGION=<gcp-region> # Default is us-central1
export GOOGLE_APPLICATION_CREDENTIALS=/data/<json-service-account-file>

I think I prefer not to use the data directory for storing sensitive files. Would it be enough to add a note in the Docker section indicating that if Vertex AI is used the developer needs to add a COPY for the credentials file?


Improve pretty output

We improved the summary output dramatically in https://github.com/ipinfo/cli/issues/7 but the pretty output for IP and ASN is still super high contrast, and could be improved:

(oh, actually looks like the ASN output is always raw json)

Assuming this is good enough 👍


Warning embeds should show the number of admins online

As per title :wink:

Speaking with mark it is unclear what this was for, we suspect it was this:

Feature has been implemented in pr #207 and merged into dev branch. Closing issue.


type error:faild to featch

i got this error when try to connect
my flutter app with database(firebase ,mongodb)
type error :failed to featch error
how to fix it

@fuadwa
Your question is better suited for support channels like StackOverflow.
Closing from here, as this doesn't seem to be a framework bug.


Update NOTICE.txt to latest pipeline artifact

[x] Have you signed the Contributor License Agreement?
[ ] Are you working against an Issue?
No, but this will make the following winget-create build badge green from yellow :D

Downloaded the latest NOTICE.txt from the pipelines.
See https://dev.azure.com/ms/winget-create/_build/results?buildId=491179&view=logs&j=ca395085-040a-526b-2ce8-bdc85f692774&t=3c13d57a-86dd-53ec-7eca-ea3287e56a6e&l=195

Microsoft Reviewers: Open in CodeFlow

/azp run


test case failed ci/cd also run - [closed]

In GitLab by @guyingyan on Jun 11, 2018, 02:34
Merges dev-cicd -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:04
closed


🗺  Vision / multi-modal

GPT 4o introduces a new message type that contains images and coded as either URL or base64 encoded.
example:
from openai import OpenAI

client = OpenAI()

response = client.chat.completions.create(
  model="gpt-4o",
  messages=[
    {
      "role": "user",
      "content": [
        {"type": "text", "text": "What’s in this image?"},
        {
          "type": "image_url",
          "image_url": {
            "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
          },
        },
      ],
    }
  ],
  max_tokens=300,
)

print(response.choices[0])

https://platform.openai.com/docs/guides/vision
Milestone 1

Vision support in instrumentations python for llama-index, openai, gemini, and langchain
Eliminate performance degradations from base64 encoded payloads by allowing users to opt out
Preliminary set of config flags to mask input output that could be sensitive info
Create examples

Milestone N

image synthesis apis such as DALL-E

Tracing

[x] #522
[x] #523
[x] #539
[ ] #562
[x] #582
[x] #538
[ ] [vision] [javascript] langchain image messages parsing
[x] #557
[x] #560
[ ] #1081
[x] #567

Instrumenation
Testing

[x] #872

Image tracing

[x] #707
[x] #708
[x] #709
[x] #710
[ ] #711
[x] #631
[x] #712
[x] #713
[x] #714
[x] #715
[x] #716
[x] #717

Context Attributes

[x] #718
[x] #719
[x] #720
[x] #721
[x] #722
[x] #723
[x] #724
[x] #725
[x] #726
[x] #727
[x] #728
[x] #729

Config

[x] #730
[x] #731
[x] #733
[x] #732
[x] #734
[x] #633
[x] #737
[x] #632
[x] #736
[x] #634
[x] #635
[x] #735

Suppress Tracing

[x] #748
[x] #749

UI / Javascript

[x] #568
[x] #704
[x] #821
[x] #956
[ ] [vision] instrumentation for langchain-js

Testing

[ ] #558

Documentation

[x] #561
[x] #786
[x] #787
[ ] #788
[ ] #833

Evals

[ ] #574

Example vLLM client that should also support vision
class VLMClient:
    def __init__(self, vlm_model: str = VLM_MODEL, vllm_url: str = VLLM_URL):
        self._vlm_model = vlm_model
        self._vllm_client = httpx.AsyncClient(base_url=vllm_url)

        if VLLM_HEALTHCHECK:
            wait_for_ready(
                server_url=vllm_url,
                wait_seconds=VLLM_READY_TIMEOUT,
                health_endpoint="health",
            )

    @property
    def vlm_model(self) -> str:
        return self._vlm_model

    async def __call__(
        self,
        prompt: str,
        image_bytes: bytes | None = None,
        image_filetype: filetype.Type | None = None,
        max_tokens: int = 10,
    ) -> str:
        # Assemble the message content
        message_content: list[dict[str, str | dict]] = [
            {
                "type": "text",
                "text": prompt,
            }
        ]

        if image_bytes is not None:
            if image_filetype is None:
                image_filetype = filetype.guess(image_bytes)

            if image_filetype is None:
                raise ValueError("Could not determine image filetype")

            if image_filetype not in ALLOWED_IMAGE_TYPES:
                raise ValueError(
                    f"Image type {image_filetype} is not supported. Allowed types: {ALLOWED_IMAGE_TYPES}"
                )

            image_b64 = base64.b64encode(image_bytes).decode("utf-8")
            message_content.append(
                {
                    "type": "image_url",
                    "image_url": {
                        "url": f"data:{image_filetype.mime};base64,{image_b64}",
                    },
                }
            )

        # Put together the request payload
        payload = {
            "model": self.vlm_model,
            "messages": [{"role": "user", "content": message_content}],
            "max_tokens": max_tokens,
            # "logprobs": True,
            # "top_logprobs": 1,
        }

        response = await self._vllm_client.post("/v1/chat/completions", json=payload)
        response = response.json()
        response_text: str = (
            response.get("choices")[0].get("message", {}).get("content", "").strip()
        )

        return response_text

Closing as completed as images is complete. Audio will come as part of openAI realtime instrumentation


Chapter_6: example codes return different plots compared with those plots on the textbook.

Hi, I am trying to reproduce the plots from Chapter 6 on the textbook. I got everything pretty much the same as what presented on the textbook, however, there is only one plot reproduced in a different way.
That is when we train ARIMA model with additional features (exogenous variables). The example code does not return the expected plots.

This is reproduced one by running the example codes. The codes works perfect and do not report any errors. What is really strange is that even if I do not put exogenous variables in the model, the model returns the exactly the same thing.
In this case, I think that exogenous variable itself might not wokring.
Thanks

Hi! The best way to see if the external features were incorporated into the model is to print the summary of the fitted model. If the external regressors were used, you will see them there, together with their coefficients, etc. From what I can see, they are correctly incorporated. Please let me know if you have any more doubts!

Yes, I totally agree with what you said. I checked the summary of the fitted model, I found that the external regressors were not used by the model even if I set the exogenous variables. More importantly, I used the code that you provided on the Github, which returns me the same result.
The strangest thing is that I can see that are correctly incorporated but actually they are not. Can you just try to run the Chapter 6 codes on your computer please?

Hey @FrankManc, apologies for the late reply. When I inspect the outcome of step 3 in the There's more section of the last recipe, I see the following summary output:

Did you manage to solve the issue? Also, can you check explicitly before running that cell that the DataFrame actually contains the external regressors?


FFMPEG git patches for VVC decoding

https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=7922
Now that there are patches for VVC decoding coded by spin digital do you think you can implement them in your vvceasy to skip the vvcdec completely ?

Hello, @alexdns1! Thank you for replying with me.
Yes, I can implement some patches into my FFmpeg repository.
Before I do that, these patches were made from FFmpeg for 5.1+ version, because it may not work for FFmpeg outdated commits from my current repository, so I have to back up, delete, start over and commit new changes to my FFmpeg new refresh forked repository.
I can skip new vvdec patch from Spin Digital (Thomas Siedel) and keep old vvdec patch from tbiat. Only new vvdec patch did not work for bitstream files only, others were worked fine like mp4 mux after some tbiat's patches. I will test old vvdec patch soon...

Martin Eesmaa

Only my custom repository works with old FFmpeg version to play & encode VVC raw bitsreams only, but newest version of FFmpeg-VVC does not play or encode (.266,.vvc,.h266 file type) to raw VVC bitstreams only. Also, I tried test new vvenc patch into my current FFmpeg repository, but still works. I will release one patch to my custom FFmpeg repository.

Martin Eesmaa

The vvenc commit is now in my FFmpeg repository: https://github.com/MartinEesmaa/FFmpeg-FixVVC/commit/6622bf8e566a7656bbae306d336f2f89c3462381
Since, its new codes came in late 2022 from FFmpeg patchwork, I decided to release FFmpeg latest version for up to 5.1 version.
Here is Windows build of FFmpeg VVCEasy: https://github.com/MartinEesmaa/VVCEasy/commit/a45c38a73227d7428c865f80a4cf7982a49e8909
I leave your issue here until you close the issue after it's solved.

Martin Eesmaa

I'll close the issue after no responses for months. Feel free to reopen the issue, I'll try make new FFmpeg build.


Report non-existent Station

Same feature as in the Android App should be available in the Webapp: https://github.com/RailwayStations/RSAndroidApp/issues/104

Implemented with "Report problem" feature


fix a broken link

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

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

#sign-off

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

#sign-off


Models should be aware of table prefixes

    Column not found: 1054 Unknown column 'participants.last_read' in 'where clause'
(SQL: select `l5_threads`.* from `l5_threads` inner join `l5_participants` on
`l5_threads`.`id` = `l5_participants`.`thread_id` where `l5_threads`.`deleted_at`
is null and `l5_participants`.`user_id` = 9 and `l5_participants`.`deleted_at` is null
and (`l5_threads`.`updated_at` > participants.last_read
or `l5_participants`.`last_read` is null) order by `updated_at` desc)

Don't used table prefix.
/cmgmyr/messenger/src/Cmgmyr/Messenger/Models/Thread.php:
-120 $query->where('threads.updated_at', '>', $this->getConnection()->raw('participants.last_read'))
+120 $query->where('threads.updated_at', '>', $this->getConnection()->raw($this->getConnection()->getTablePrefix().'participants.last_read'))

Thank you for reporting this. I'll take a look shortly

This has been fixed in the latest release (2.2.1)


first go at fixing #1790 (lchown part)

TODO:

move platform-specfic code to the right place
test
doc

the existing chown and fchown functions "are not implemented on Windows":
http://docs.libuv.org/en/v1.x/fs.html#c.uv_fs_chown
so neither should be these ones I believe.
there's a TODO in the tests because I have though yet about how to check that lchown really does not change the linked-to file
also:
not ok 45 - fs_chown
# exit code 6
# Output from process `fs_chown`:
# Assertion failed in ../test/test-fs.c on line 1561: r == 0

the existing chown and fchown functions "are not implemented on Windows":

There are still stubs in the code - https://github.com/libuv/libuv/blob/ff167ea5db66903c1a2f65b29ea0147b1108f2c9/src/win/fs.c#L2258.

Now it seems to compile and generate the library fine on windows with VS 2015.
There's still the test failing and the missing test (see TODO in test/test-fs.c).
I wonder what user id -1 stands for, on my system:
grep UID /etc/login.defs
UID_MIN                  1000
UID_MAX                 60000
...

Hi what else can I do to get this PR into libuv ? Thanks

@bnoordhuis do you have the historical context on why these functions just return 0 on Windows instead of ENOSYS?

Sorry, "these functions" refers to the chown family of functions.

It's because there is no meaningful way to implement them, user/group/other isn't a thing on Windows.
I don't think it was a deliberate decision to quietly ignore instead of returning ENOSYS, just something that was deemed Good Enough at the time and made node's test suite pass. :-)

I don't think it was a deliberate decision to quietly ignore instead of returning ENOSYS, just something that was deemed Good Enough at the time and made node's test suite pass.

That's what I was looking for. Thanks!

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/868/

all CI failures seem unrelated to me:
https://ci.nodejs.org/job/libuv-test-commit-linux/910/nodes=debian7-docker-armv7/
ERROR: Error cloning remote repo 'origin'

https://ci.nodejs.org/job/libuv-test-commit-linux/910/nodes=alpine-last-latest-x64/
https://ci.nodejs.org/job/libuv-test-commit-linux/910/nodes=alpine-latest-x64/
not ok 20 - connect_unspecified
# exit code 134
# Output from process `connect_unspecified`:
# Assertion failed in test/test-connect-unspecified.c on line 56: uv_tcp_connect(&connect6, &socket6, (const struct sockaddr*) &addr6, connect_6) == 0

https://ci.nodejs.org/job/libuv-test-commit-linux/910/nodes=centos6-64/
https://ci.nodejs.org/job/libuv-test-commit-linux/910/nodes=centos6-64-gcc44/
https://ci.nodejs.org/job/libuv-test-commit-linux/910/nodes=ubuntu1404-gyp-64/
not ok 103 - getaddrinfo_fail_sync
# timeout
# Output from process `getaddrinfo_fail_sync`: (no output)

https://ci.nodejs.org/job/libuv-test-commit-aix/879/nodes=aix61-ppc64/
not ok 250 - tcp_ping_pong
# exit code 393222
# Output from process `tcp_ping_pong`: (no output)
Output from process `tcp_ping_pong`:
# Assertion failed in test/test-ping-pong.c on line 144: status == 0
...
not ok 256 - tcp_ref3
# exit code 393222
# Output from process `tcp_ref3`: (no output)
Output from process `tcp_ref3`:
# Assertion failed in test/test-ref.c on line 96: status == 0
...
not ok 262 - tcp_write_fail
# exit code 393222
# Output from process `tcp_write_fail`: (no output)
Output from process `tcp_write_fail`:
# Assertion failed in test/test-tcp-write-fail.c on line 77: status == 0

https://ci.nodejs.org/job/libuv-test-commit-zos/724/nodes=zos-s390x/
not ok 309 - udp_multicast_join6
# exit code 3
# Output from process `udp_multicast_join6`:
# Assertion failed in ../test/test-udp-multicast-join6.c on line 136: r == 0
# CEE5207E The signal SIGABRT was received.

Landed on master in https://github.com/libuv/libuv/commit/33b6db3909dca45fa543ab6405b934f1333fd213. Thanks!
I'm going to look into backporting this to v1.x as well.

Landed on v1.x in https://github.com/libuv/libuv/commit/aa28f7d5bf36b4df1e606ed47364d91d896b1f8b.


feat(intersection): cherry pick intersection (#6047 + #6134+ #6143 + #6201 + #6207)

Description
https://github.com/autowarefoundation/autoware.universe/pull/6047
https://github.com/autowarefoundation/autoware.universe/pull/6134
https://github.com/autowarefoundation/autoware.universe/pull/6143
https://github.com/autowarefoundation/autoware.universe/pull/6201
https://github.com/autowarefoundation/autoware.universe/pull/6207
Related links
https://github.com/tier4/autoware_launch.xx1/pull/758

Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@soblin
明日お台場手動走行するので、今日一旦マージするのはいかがでしょうか。

了解です！


Attempt to concatenate local 'software' (a nil value)

Hi Dieter,
I find an error with the plugin when I try to export from Lightroom.

PureRawExportFilterProvider.lua:37: attempt to concatenate local 'software' (a nil value)
Any idea why it can't define 'software' ?
Thank you, it sounds like a great plugin if I can make it work :)

Hi Eiwawar,
thanks for document this issue.
The latest release (<IP_ADDRESS>) should fix that problem.
Regards
Dieter

Hi Eiwawar,
just for info:
On my virtual Windows machine the LR import dialog opens correctly if my pictures folder is a local resource. I.e., if I do not use the pictures folder of my Mac as my Windows pictures folder.

Hi Dieter,
I use a normal Windows installation :)

Hi Eiwawar,
I just released <IP_ADDRESS>.
Please take a look at chapter Feature in readme.cmd.
Maybe you find something of interest.
Regards
Dieter

Hi Dieter,
Thanks for letting me know, it looks interesting indeed! I don't use PureRaw much these days, so I'll need to check if I want those new options later, but in any case it's great to see that you keep maintaining and developing the tool. Thank you :)


The index and length must refer to the position within the string.

It shows me every time I open the app
The index and length must refer to the position within the string.
Parameter name: length

Are there any entries in the log files (AutoVerLog.txt) which refer to this? I need more info to narrow down where it is coming from.


Lightbox closes when image clicked when backdropClosesModal = true

Steps to reproduce the behavior:
Set backdropClosesModal = true
Click on image in lightbox.
Expected behavior:
Lightbox shouldn't close.
Actual behavior:
Lightbox closes.
Further info
It appears that backdropClosesModal overrides onImageClick. Further, supplying a custom onImageClick function with event.preventDefault() and event.stopPropagation() allows onClickImage to function properly but disables backdropClosesModal.
This issue has been indirectly reported previously here: https://github.com/jossmac/react-images/issues/135

I tested this and overrriding of onClickImage doesn't seem to actually happen however the image is indeed closing when backdropClosesModal is set to true and you click on the image.  Adding event.stopPropagation(); in the onClickImage handler fixed this for me.  I will update the demo code.

That handler is optional though so it needs to be handled in cases where that prop is not supplied.

@benhowell i don't know if this is very important.  if the user doesn't want to pass in an onClickImage handler then clicking it will just close it.  if they don't want that to happen they can just pass in a handler that stops propagation.  otherwise i'll need to detect what was clicked from where and it seems unnecessary for this edge case.

let me know if that looks ok.  this also resolved #155.  seemed liked the cleanest/safest way to only target the backdrop click.

I haven't tested but the logic seems correct to me. Personally, the route I'd take would be to have a default prop for the onClickImage func containing a call to event.stopPropagation() to prevent the onClick func of Container being triggered. If one were to chose to provide their own onClickImage function, they would also need to provide event.stopPropagation() if they didn't want the backdrop to be closed. A third option would be to always call stopPropagation and if a custom onClickImage were provided to just call that prior to calling stopPropagation.
Anyway, whatever works, works. :+1:

@benhowell yes but then that wouldnt solve #155 or any other items the user might click on that is within the container.


Disable swipe when only one image ?

How to disable swipe when only one image , or any workaround?
I know I can use stopAutoCycle to disable auto scrolling, but that's different.
Thanks.

Hi! Is this issue resolved? Thank You!

@Klafe i think this library does not developing anymore

@Taifuru Noop, still in developing, but just too busy on works.

This issue is actively being discussed in https://github.com/daimajia/AndroidImageSlider/issues/82

try this, it will stop the swiping and auto Cycle in slider, it's work for me
if (imageCount < 2) {             sliderShow.stopAutoCycle();             sliderShow.setPagerTransformer(false, new BaseTransformer() {                 @Override                 protected void onTransform(View view, float v) {                 }             });            //TODO: disable indicator }

create a boolean variable and setter in SliderLayout.java
private boolean isDisableTouchEvent = true;
public void setDisableTouchEvent(boolean disableTouchEvent) {
    isDisableTouchEvent = disableTouchEvent;
}

and replace onInterceptTouchEvent function with below
@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
    if (isDisableTouchEvent)
        return true;
    else {
        int action = ev.getAction();
        switch (action) {
            case MotionEvent.ACTION_DOWN:
                pauseAutoCycle();
                break;
        }
        return false;
    }
}

after that you can disable swipe with this
slider.setDisableTouchEvent(true);


Add Felix Krause's post on scaling communities

This is a post about Felix Krause on how he scaled fastlane to become one of the most active projects on GitHub

✨✨


Can not find 'getSQL' in the library

Hi,
I am trying to integrate this library into one of my project and one of the requirement is to get the SQL out of it. I can see the below method in Jquery Library however not able to find any reference in the current angular library -
$('#builder-import_export').queryBuilder('getSQL', 'question_mark');
Am I missing anything here?
Thanks in advance.

You could see #74


RBucket does not support GetAndSet with a TTL for the set operation

I want to do a get and a set simultaneously but the getandset() method of the RBucket does not support setting a ttl for the key.
I have tried to use an RTransaction and obtaining the bucket from the transaction instead of the client, but calling get() on the bucket always returns the value.
Is there any way to perform a get and a set with ttl using the RTransaction for RBucket types?

getAndSet method with TTL support added. Thanks for suggestion.


Change scan so that compiler specialisation will be active

Minor fix of scan to address #82 . Also removed docstring for scan because being actively developed in response to #35 .
Closes #82

Also I assume you checked that it wasn't already specialising?

In light of discussion here and on #82 I changed scan implementation to take a where F <: AbstractEpiModel argument.
The reason for this change is to

avoid potential problems with specialisation on generic functions (flagged by @seabbs in #82).
Create safety for the code; the only context we want EpiAware.scan used is as part of the latent infection dynamics.

The behaviour of latent infs (e.g. model structure) is now determined by the type of EpiModel.
The fixed parameters (e.g. GI) are immutable fields of an EpiModel object.
Optionally, a callable/functor for the EpiModel can be defined which defines the dynamics and is used with EpiAware.scan.

Having said the above simple performance testing shows no change between doing this and scan(f::F,...) where {F} or even scan(f,...).
Therefore, point 1. should be considered fairly subjective/based on general principles at this point and point 2. is more persuasive.

Create safety for the code; the only context we want

This is really nice by the way

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.74%. Comparing base (8b9edf9) to head (d676612).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   97.74%   97.74%
=======================================
  Files           6        6
  Lines         133      133
=======================================
  Hits          130      130
  Misses          3        3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Having said the above simple performance testing

Its interesting it should make a difference but in practice doesn't really. I wonder if its due to julia docs being a little out of step with improvements that have been made or just this case. Shows I guess that its hard to reason on.


Make BuildEventArgsReader public

Now that binlog is shipped in-the-box and awareness is improving, it would be nice to be able to use the MSBuild APIs to playback binlog files. All the functionality is there in BuildEventArgsReader but it's internal. Would you be willing to take a PR changing BuildEventArgsReader to public?
cc @KirillOsenkov

I would, unless @KirillOsenkov has some objection.

Done!
FWIW, this was the only thing I found tricky about reading the binary log format from code.
Writing serialized binary log events was more difficult, and required copying over code from https://github.com/KirillOsenkov/MSBuildStructuredLog since there's a lot more involved with that and most of the supporting helpers are internal. I don't think it's necessary to make serialization support public though - my use case was pretty niche and I can't see many folks wanting to write binary logs themselves.

Yeah, I don't think I'm too interested in helping write arbitrary log files at the moment. But reading them makes total sense.
Removing up-for-grabs since the PR is out.


Locations fix

Locations Fix
The locations element on the home page likes to snap around browsers. This looks bad and we can work around it by putting the locations component on its own separate page and link to it.

related: https://github.com/GrantBirki/astrowind/pull/203

.deploy


Efficient way to read metadata in big files?

Hello,
I am trying to use  js-xlsx to extract some information about n excel ile, concretely the number and name of existing sheets in a workbook.
This code works fine for small excels, but I noticed that with big files of more than 100.000 rows it can take more than a half a minute to get the results:
`const wb: XLSX.WorkBook = XLSX.read(bstr, {type: 'binary'});
    let numberOfSheets: number = wb.SheetNames.length;

    for ( let i = 0; i < numberOfSheets; i++)
    {
      const wsname: string = wb.SheetNames[i];

      console.log(`Sheet name: ${wsname}`);
    }`

I guess this happens because the read XLSX.read instruction parses the whole excel file extracting information about its sheets columns, and also the content of those columns.
Given that I only need the names of the style sheets, there is a way to query the excel only for the metadata instead of parsing the whole file? Query only about the data structure and not the content of the file ?
Thanks.

If you just need the name of worksheets, pass the option bookSheets: true.  If you just need the first row, pass the option sheetRows: 1


Whisper Support for any ReadStream (any Readable)

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
Whenever using the Whisper model (audio.transcriptions), it is impossible to use any kind of readable that differs from a File System Readable.
The reason behind it seems to be the extension of Readable, FsReadSteam, which requires a path parameter.
It is not possible to use a dummy inside this parameter. I could not examine the source code thoroughly, but the path parameter does not seem to be used particularly in the code.
This disables any kind of streaming from a service external from the server into the Whisper API: the files must first be downloaded into the File System of the server, and once they are downloaded they can be streamed to the API.
This behaviour is totally possible using axios and form-data, bypassing the NodeJS library.
To Reproduce
(Example using Firebase Storage inside serverless Firebase Functions)

Create a file
Upload it to an external service (in example, Firebase Storage)
Try streamlining it to OpenAI API

const bucket = storage.bucket(bucketName);
const file = bucket.file(fileName);
const readStream = file.createReadStream();

const apiKey: string = openaiAPI.value();
const openai = new OpenAI({
    apiKey: apiKey,
});

const completion = await openai.audio.transcriptions.create({
    file: readStream,
    model: "whisper-1",
});

Code snippets
const bucket = storage.bucket(bucketName);
const file = bucket.file(fileName);
const readStream = file.createReadStream();

const apiKey: string = openaiAPI.value();
const openai = new OpenAI({
    apiKey: apiKey,
});

const completion = await openai.audio.transcriptions.create({
    file: readStream,
    model: "whisper-1",
});

OS
Linux (Google Cloud Functions)
Node version
18
Library version
4.11.1

@nicolopadovan you need to pass the file to the toFile() helper so that you can assign it a filename, which the API requires:
import {OpenAI, toFile} from 'openai'

const bucket = storage.bucket(bucketName);
const file = bucket.file(fileName);

const openai = new OpenAI({
    apiKey: apiKey,
});

const completion = await openai.audio.transcriptions.create({
    file: await toFile(file, "myfile.mp3"),
    model: "whisper-1",
});

toFile accepts Readable (and any NodeJS ReadableStream).
Note that we do plan to add support for a web ReadableStream to toFile() in the near future (NodeJS ReadableStream is different from a web ReadableStream). When we do, I'll try to make it more clear that toFile accepts a ReadableStream of either flavor.

@nicolopadovan you need to pass the file to the toFile() helper so that you can assign it a filename, which the API requires:
import {OpenAI, toFile} from 'openai'

const bucket = storage.bucket(bucketName);
const file = bucket.file(fileName);

const openai = new OpenAI({
    apiKey: apiKey,
});

const completion = await openai.audio.transcriptions.create({
    file: await toFile(file, "myfile.mp3"),
    model: "whisper-1",
});

toFile accepts Readable (and any NodeJS ReadableStream).
Note that we do plan to add support for a web ReadableStream to toFile() in the near future (NodeJS ReadableStream is different from a web ReadableStream). When we do, I'll try to make it more clear that toFile accepts a ReadableStream of either flavor.

Does it maintain the Stream capabilities?
Or does it instead download the full file and then send it as a new stream?

It currently does buffer the full file into memory before sending it. I can certainly understand why you'd want to stream directly.

It currently does buffer the full file into memory before sending it. I can certainly understand why you'd want to stream directly.

May I open this issue back or create a feature request for the direct streaming functionality?

A separate issue would be best, thank you!


[FLINK-18810][sdk] Golang remote functions SDK

Implements a remote Go SDK based on the latest invocation protocol. Tests can be executed by running go test ./... from within the statefun-go-sdk directory. There is also a greeter example you can reference.
Licensing
I'm not sure how licensing works for the go sdk. We will never release binaries, go dependencies pull directly from git repositories via tags, and build locally, so we are always only providing source releases. You can check the configured dependencies in the go.mod file and fully resolve transitive dependencies via go.sum lock file.
Documentation
There is go doc and a README but I'm holding off on full documentation for now. I'm assuming the API might change over the course of the review.
Releasing
This SDK is based on go modules, you can find full details on how to release a module here

cc @tzulitai @igalshilman

Concerning the licensing:
Since we won't be releasing artifacts for the Go SDK, I think ensuring compatibility for ASF 2.0 breaks down to:

Are there any copied source codes? If yes, the source license should be mentioned in a NOTICE file.
Are there any dependencies with a license not compatible with ASF 2.0?
Are there any dependencies that are modified in a way that violates its original license (e.g. shading).

I quickly skimmed through the dependencies:

github.com/golang/protobuf: BSD 3-clause
github.com/stretchr/testify: MIT
github.com/valyala/bytebufferpool: MIT
google.golang.org/protobuf: BSD 3-clause

Transitive dependencies are neither bundled or modified / copied in any way.
Therefore, I think we should good on the licensing side ✅

closing until the new protocol is in place

closing until the new protocol is in place


Multiple Select issue and Entity order issue

How Backpack will work with multiple select? I have integrate it will poplate list properly but when try to save it will create issue with array
Error preg_replace(): Parameter mismatch, pattern is a string while replacement is an array
One more thing regarding entity order by in select entiry with order by custom field? how we can achive it.
Please advise!

hi @gnkevadia would you be able to give an example of your construct to see how you're setting up your fields please?
Thanks

Hello @OwenMelbz,
Need to capture multiple author it is generating error. And need to populate name in alphabetical order not based on id.
Table architecture
CREATE TABLE textbooks (
id int(11) UNSIGNED NOT NULL,
name varchar(255) COLLATE utf8_unicode_ci NOT NULL,
author_id varchar(255) COLLATE utf8_unicode_ci NOT NULL,
publisher_id int(10) UNSIGNED NOT NULL,
icon varchar(255) COLLATE utf8_unicode_ci NOT NULL,
status tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Active,0=Inactive',
created_at timestamp NULL DEFAULT NULL,
updated_at timestamp NULL DEFAULT NULL,
deleted_at timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
I have specified in controller
$this->crud->addField([
'label' => "Author *",
'type' => 'select2_multiple',
'name' => 'author_id', // the db column for the foreign key
'entity' => 'author', // the method that defines the relationship in your Model
'attribute' => 'name', // foreign key attribute that is shown to user
'model' => "App\Models\Author", // foreign key model
'text' => "- Select -",
]);

And model Author.php
status == "1")
			$status = "Active";
		else
			$status = "InActive";
		return $status;
	}
	public function getIcon()
	{
		if(isset($this->icon) && !empty($this->icon))
			return "icon."' height='25'>";
		return '';
	}

	/*
	|--------------------------------------------------------------------------
	| RELATIONS
	|--------------------------------------------------------------------------
	*/

	/*
	|--------------------------------------------------------------------------
	| SCOPES
	|--------------------------------------------------------------------------
	*/

	/*
	|--------------------------------------------------------------------------
	| ACCESORS
	|--------------------------------------------------------------------------
	*/

	/*
	|--------------------------------------------------------------------------
	| MUTATORS
	|--------------------------------------------------------------------------
	*/
}

Please advise!

Thanks

Hello @OwenMelbz,
Need to capture multiple author it is generating error. And need to populate name in alphabetical order not based on id.
Table architecture
CREATE TABLE textbooks (
id int(11) UNSIGNED NOT NULL,
name varchar(255) COLLATE utf8_unicode_ci NOT NULL,
author_id varchar(255) COLLATE utf8_unicode_ci NOT NULL,
publisher_id int(10) UNSIGNED NOT NULL,
icon varchar(255) COLLATE utf8_unicode_ci NOT NULL,
status tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Active,0=Inactive',
created_at timestamp NULL DEFAULT NULL,
updated_at timestamp NULL DEFAULT NULL,
deleted_at timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
I have specified in controller
$this->crud->addField([
'label' => "Author *",
'type' => 'select2_multiple',
'name' => 'author_id', // the db column for the foreign key
'entity' => 'author', // the method that defines the relationship in your Model
'attribute' => 'name', // foreign key attribute that is shown to user
'model' => "App\Models\Author", // foreign key model
'text' => "- Select -",
]);
And model Author.php
status == "1")
        $status = "Active";
    else
        $status = "InActive";
    return $status;
}
public function getIcon()
{
    if(isset($this->icon) && !empty($this->icon))
        return "icon."' height='25'>";
    return '';
}

/*
|--------------------------------------------------------------------------
| RELATIONS
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| SCOPES
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| ACCESORS
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| MUTATORS
|--------------------------------------------------------------------------
*/

}

Please advise!

Thanks

Hi @gnkevadia ,

For your errors, I believe you haven't defined your Eloquent relationships on your models. You need to do that. Afterwards, please make sure your addField definition and your database is correct.

if a textbook can have multiple authors, you don't need an author_id column in Textbooks, but a different table to store the connections (say... textbook_author); then it's ok to use select2_multiple;
if a textbook can have only one author, it's not ok to use select2_multiple; you should use select2;
You can see an example of both type of relationships (1-n and n-n) in the NewsCRUD documentation. An article can have one category (1-n relationship, using select2 field), but an article can have multiple tags (n-n relationship, using select2_multiple field).

If you want to order the Authors by name every time you get them, I think you can do that with a global scope on your Author model:

/**
     * The "booting" method of the model.
     *
     * @return void
     */
    protected static function boot()
    {
        parent::boot();

        static::addGlobalScope('ordered', function(Builder $builder) {
            $builder->orderBy('name');
        });
    }

Cheers!

Hi @gnkevadia,
Still struggling with this? I'll go ahead and close this issue so we don't clog the section. Feel free to open it again if you encounter problems or comment if you have follow-ups.
Cheers!


runtime/pprof: found bad pointer in Go heap during TestGoroutineProfileConcurrency with TestMorestack

runtime: pointer 0x616e6966 to unallocated span span.base()=0x8f78000 span.limit=0x8f79ff8 span.state=0
runtime: found in object at *(0x8d3a420+0x0)
object=0x8d3a420 s.base()=0x8d3a000 s.limit=0x8d3c000 s.spanclass=5 s.elemsize=16 s.state=mSpanInUse
 *(object+0) = 0x616e6966 <==
 *(object+4) = 0x657a696c
 *(object+8) = 0x8114ed7
 *(object+12) = 0x0
fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?)

runtime stack:
runtime.throw({0x81d8da0, 0x3e})
	/workdir/go/src/runtime/panic.go:1047 +0x4d fp=0x8c53e2c sp=0x8c53e18 pc=0x807fbdd
runtime.badPointer(0xef804360, 0x616e6966, 0x8d3a420, 0x0)
	/workdir/go/src/runtime/mbitmap.go:316 +0xa2 fp=0x8c53e4c sp=0x8c53e2c pc=0x8058f12
runtime.findObject(0x616e6966, 0x8d3a420, 0x0)
	/workdir/go/src/runtime/mbitmap.go:359 +0x9e fp=0x8c53e64 sp=0x8c53e4c pc=0x805916e
runtime.scanobject(0x8d3a420, 0x8c2895c)
	/workdir/go/src/runtime/mgcmark.go:1341 +0x183 fp=0x8c53eb4 sp=0x8c53e64 pc=0x8065613
runtime.markrootSpans(0x8c2895c, 0x0)
	/workdir/go/src/runtime/mgcmark.go:390 +0x18e fp=0x8c53ef0 sp=0x8c53eb4 pc=0x80630fe
runtime.markroot(0x8c2895c, 0x4, 0x1)
	/workdir/go/src/runtime/mgcmark.go:192 +0xe9 fp=0x8c53f4c sp=0x8c53ef0 pc=0x80628c9
runtime.gcDrain(0x8c2895c, 0x3)
	/workdir/go/src/runtime/mgcmark.go:1069 +0x4ed fp=0x8c53fb0 sp=0x8c53f4c pc=0x8064ffd
runtime.gcBgMarkWorker.func2()
	/workdir/go/src/runtime/mgc.go:1307 +0xaa fp=0x8c53fdc sp=0x8c53fb0 pc=0x806060a
runtime.systemstack()
	/workdir/go/src/runtime/asm_386.s:370 +0x41 fp=0x8c53fe0 sp=0x8c53fdc pc=0x80af4e1

…

goroutine 72 [wait for GC cycle]:
runtime.gopark(0x81dccd8, 0x82ea18c, 0x17, 0x14, 0x1)
	/workdir/go/src/runtime/proc.go:363 +0x108 fp=0x8ca0f10 sp=0x8ca0efc pc=0x80829e8
runtime.goparkunlock(...)
	/workdir/go/src/runtime/proc.go:369
runtime.gcWaitOnMark(0x37)
	/workdir/go/src/runtime/mgc.go:505 +0x5f fp=0x8ca0f24 sp=0x8ca0f10 pc=0x805dbdf
runtime.GC()
	/workdir/go/src/runtime/mgc.go:448 +0x6e fp=0x8ca0f44 sp=0x8ca0f24 pc=0x805da4e
runtime/pprof.TestGoroutineProfileConcurrency.func5(0x8c830e0)
	/workdir/go/src/runtime/pprof/pprof_test.go:1465 +0x19e fp=0x8ca0f9c sp=0x8ca0f44 pc=0x818a15e
testing.tRunner(0x8c830e0, 0x8c100f0)
	/workdir/go/src/testing/testing.go:1446 +0x113 fp=0x8ca0fe4 sp=0x8ca0f9c pc=0x8114fb3
testing.(*T).Run.func1()
	/workdir/go/src/testing/testing.go:1493 +0x2e fp=0x8ca0ff0 sp=0x8ca0fe4 pc=0x8115dae
runtime.goexit()
	/workdir/go/src/runtime/asm_386.s:1326 +0x1 fp=0x8ca0ff4 sp=0x8ca0ff0 pc=0x80b0871
created by testing.(*T).Run
	/workdir/go/src/testing/testing.go:1493 +0x374

greplogs -l -e runtime\\.throw\(\?:.\*\\n\)\*FAIL\\s+runtime/pprof\\s --since=2022-07-01
2022-08-08T17:36:35-ebf182c/linux-386-longtest
attn @golang/runtime

I think it's likely this might be the same bug fixed by https://go.dev/425194, because the span in question being scanned is noscan. It would be even more evidence if this test was using cgo. Putting in WaitingForInfo in case it shows up again.

Actually, if there's no cgo then this is new, so I guess we should check that.

Also, although the failure is from August 8th, we did confirm in triage that this in the window where @randall77 first landed the bitmap changes, which would cause this issue. That was then reverted and landed again because of a different issue, but that issue could be related. I'll check that as well.

https://go.dev/cl/422435 was landed in between the revert and the re-land, which specifically mentions noscan objects being scanned. I think this is exactly that, and this issue should be closed. Keith also landed a more general fix for this kind of situation recently, so it should be less likely to happen anyway, but we'll reopen this issue if we see it again.


Rename Request to FetchRequest

What
According to some users this is causing conflicts with the name. For example with Alamofire. Check out this issue:
http://stackoverflow.com/questions/38316583/alamofire-conflict-with-sugarrecord
Context
Users try to use SugarRecord with Alamofire in the same project and it causes conflicts with the name if they don't specify the namespace.
Proposal
Rename Request by FetchRequest

Done


Azure CLI Example is incorrect

Corrected Version
az account set -s <your-subscriptionId>                                                   # Select your Azure Subscription
$tenantId=$(az account show --query tenantId)                                       # Get your tenantId
az keyvault update -n myvault --remove Properties.accessPolicies           # Remove the access policies
az keyvault update -n myvault --set Properties.tenantId=$tenantId         # Update the key vault tenantId

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

ID: dbe3afaa-c19a-65f3-f562-e9c698e4c6a3
Version Independent ID: 66556728-72ef-769a-d666-c1a67d7c39fe
Content: Change the key vault tenant ID after a subscription move - Azure Key Vault
Content Source: articles/key-vault/key-vault-subscription-move-fix.md
Service: key-vault
Sub-service: general
GitHub Login: @amitbapat
Microsoft Alias: ambapat

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

@tobimax The PR for the fix has been created and it will be merged soon. Thanks again for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with.


Versioning

How can I understand the versioning of this module?
I'm a little bit confused by that. You have some releases to 0.40.0 here on github, but there are also versions 1.0.0 and 2.0.0 in npm.
Can you clarify that a little bit?
Thanks in advance!
Greetings

npm releases are supposed to be the canonical ones, as they also have the latest release.
This project follows SemVer, vbb-client@2 queries the new API at vbb.transport.rest. vbb-client@1 still works but I don't maintain it anymore, and it queries the ols API at transport.rest wich I will turn off in the comning days.

Okay, thanks :)


Probably fixed 303, needs test with KB data

The mediatypes were loaded from the collectionconfig function. Now, it gets the correct mediatype from the props.data of the current searchHit, which in turn gets it from getResultSnippetData.
Updated configs from Dans and KB which didn't have this function yet.

fixed this directly in the master. KB items show the text icon and are all inaccessible. DANS items all show the video icon (and shows whether a video is accessible or not)
The unknown media type (question mark) was removed


feat: support passing context

Sometimes, we can run an operation that takes longer than the timeout of the incoming request. In this case, the whole request should be canceled along with all subtasks including the cache operations. But current implementation doesn't support passing context, so we can't cancel the cache operations even if the current context is expired.
So I added the passing context feature for all cache operations with this PR. It keeps the backward compatibility, thus does not affect existing code using gomemcache.
import (
    "github.com/bradfitz/gomemcache/memcache"
)
func main() {
    mc := memcache.New("<IP_ADDRESS>:11211", "<IP_ADDRESS>:11211", "<IP_ADDRESS>:11212")
    mc.Set(&memcache.Item{Key: "foo", Value: []byte("my value")})
    it, err := mc.Get("foo")

    // With context
    ctx, cancel := context.WithTimeout(2 * time.Second)
    doLongTimeJob(ctx)
    ...
    it, err = mc.GetWithContext(ctx, "bar")
    ...
}

I would appreciate it if you think about this feature in a good way.

upstream에도 일단 올려놨어요: https://github.com/bradfitz/gomemcache/pull/126


⚠ Bofrost.be has degraded performance

In 17000e9, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1391 ms

Resolved: Bofrost.be performance has improved in 2125140.


Fix object rest enumeration

[x] There is an associated issue that is labeled
'Bug' or 'help wanted' or is in the Community milestone
[x] Code is up-to-date with the master branch
[x] You've successfully run jake runtests locally
[x] You've signed the CLA
[x] There are new or updated unit tests validating the change

Fixes #29616
Adjusts the __rest function in destructuring.ts to check if property is enumerable.

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

As @ajafff mentioned above, you should also open a PR against https://github.com/Microsoft/tslib for the same change:

https://github.com/Microsoft/tslib/blob/master/tslib.js#L82
https://github.com/Microsoft/tslib/blob/master/tslib.es6.js#L46

It looks like you still have some failing tests.

Yep, sorry. Fixed!


Add de-reference operator overload for iterator class

[x] implement operator* overload for iterator class
function should return a reference to the data member of the node object

Implemented in commit 77bafd02584034356ff8f8bfcaddf60aa9c6f62f


build(deps): updated juno version

Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2/cosmos/stargate@b133580). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##             v2/cosmos/stargate     #336   +/-   ##
=====================================================
  Coverage                      ?   56.31%
=====================================================
  Files                         ?       18
  Lines                         ?     1339
  Branches                      ?        0
=====================================================
  Hits                          ?      754
  Misses                        ?      491
  Partials                      ?       94


Nginx Proxy Manager API tokens

After building according to the wiki, modify services.yaml, where Nginx Proxy Manager returns an error:
API error: Unknown error
URL: http://192.168.X.X:81/api/tokens
Original error:
{
"errno": -110,
"code": "ETIMEDOUT",
"syscall": "connect",
"address": "192.168.X.X",
"port": 81
}
After the test on the webpage, you can get relevant information by deleting tokens. What should I do now to get the relevant API in the homepage

My English is poor, please forgive me

Start with https://gethomepage.dev/en/more/troubleshooting/
also you can ask in discussions


Use different HDK parameters for different queries

Disabling lazy_fetch and columnar_output gives better performance in case of groupby queries, but in case of join queries, these options should be disabled.

What if query contains groupbys and joins?

Use defaults in this case.


Update GitHub for aesthetic gradients paper

I already added the code link. Thank you for your awesome paper and code !


Can't Interact With the World

Latest 2.1.0 for 1.21.1
Testing the mod on its own with its dependencies the mod leaves me unable to properly use the hotbar, nothing I scroll to shows up in my hand. I can mine, break, and pick up blocks but can't place anything.
https://github.com/user-attachments/assets/2cfd1d98-0f16-4459-a195-36008f4b39b4

Hi!
This is working as intended
One of this mods core features is a dedicated hand slot.
The hotbar can be accessed when the hand items are "sheathed", done via hotkey.

Ha! Now I feel silly for not finding this, thanks :D


Can't link external libraries

Scanning folders for symlinks in /Users/elliott/ueno/UenoDesign2/node_modules (14ms)
rnpm-install info Linking react-native-browser ios dependency
rnpm-install ERR! Something went wrong while linking. Error: Invalid target: E3AAD4501F573E3700B7831D
Please file an issue here: https://github.com/facebook/react-native/issues

Invalid target: E3AAD4501F573E3700B7831D

Manually linking doesn't work either - no native component found for FastImageView.

You need Podspec for ios modules, you can copy and modify one of the included file in ./scripts/patches and then add it to the postinstall script.
This is one of the things we need to document.
Reason why I do it this way is because it's not as fragile as react-native link

OK, good to know. I’ll try this out and add a section to the readme once I figure it out.

@elliottkember Do you plan to add this to the docs?

https://ueno-llc.github.io/react-native-starter/#/INSTALL_DEPENDENCIES


Allow toggle to accept parameters

Description:
This PR modifies the toggle service to accept parameters. Those parameters could be used to toggle a light and turn it on full brightness if it was dimmed before it was turned off.
See #4360 for a use case.
Basicly, it allows you to do this:
script:
  toggle_light:
    sequence:
    - service: light.toggle
      entity_id: light.links
      data:
        brightness: 255

instead of this workaround:
script:
  toggle_light:
    sequence:
    - service_template: script.toggle_light_{% if is_state('light.links', 'off') %}on{% else %}off{% endif %}
  toggle_light_on:
    sequence:
    - service: light.turn_on
      entity_id: light.links
      data:
        brightness: 255
  toggle_light_off:
    sequence:
    - service: light.turn_off
      entity_id: light.links

Related issue (if applicable): fixes #4360
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

This is going to affect every single component and platform that is using ToggleEntity and thus all their function parameters have to be updated.
It's also going to be very difficult to actually implement in every component because now you need to create service parameter attribute validation for every toggle platform that validates as both TURN_ON and TURN_OFF schemas.
Having a bunch of attributes be either used for turn on or turn off seems like a bad idea to me.

@balloob should all calls be modified? The tests are running fine. Currently, they are not passing parameters, so if I'm correctly, nothing has to change if the component doesn't want to pass parameters to toggle.
Before my change, there was a parameter transition that you could pass on to toggle, but a few weeks ago (https://github.com/home-assistant/home-assistant/commit/ee5f2283092c3ba0c5bb1292cff58883472059d7#diff-2f6e7e067d836cc94edba0d7d51d0241L316), the function signature was changed, and the parameters were dropped from toggle making the transition parameter acutally broken.

What about passing only the parameters to turn_on then, and leaving turn_off parameterless? I don't mind about the parameters for turn_off (although transition is a good example where you might need it for turn_on and turn_off).
Do note that ToggleEntity used to behave this way before Nov 4.

In your referenced commit I made sure that the signature was exactly the same as the signature from the method that it was overriding in ToggleEntity. The turn_on and turn_off methods expect the input to be processed by voluptuous and how the service handler processed it.
I think that the solution here is to make toggle filter the keywords that are routed to either the turn_on / turn_off commands making sure they only get their expected values and correctly formatted just as they would have been passed in by the service handler. So resolve color profiles, resolve color name to rgb color etc etc.
This will make it backwards compatible with the existing toggle and will make sure that platforms only have to expect 1 set of data in their platforms.

Hmm, sounds logical, but I'm afraid that's something I can't do without some help. Shouldn't voloptuous filter out wrong parameters automatically? Should the SCHEMA for toggle be dropped then, since it will be the one from toggle on or toggle off?

Once the toggle service gets called, we're inside the entity. Data validation happens before toggle gets called so we don't know if it is to turn on or off.

We could circumvent this by having toggle actually call a service to turn_on/turn_off the entity…

Yeah, I think also we should call the service for handle this case. But the challenge is to handle/filter params to right service...

I think it will mean that toggle is no longer handled on an entity but instead 100% handled inside a service.

Hmm, aren't "no newline at end of file" and "blank line at end of file" two conflicting remarks?

No, there is a difference between nothing, \n and \n\n. No new line means the last line is not terminated with a new line char – some editors do this. The blank line at end means there are two or more new line characters at the end.

This PR seems to have gone stale. Closing it. You can reopen it when you're ready to finish it.


stack version confusion

Hi,
First and foremost thank you very much for releasing this very useful stack :)
Meanwhile, I am trying to figure what value to pass to version argument when running the make stack command. make bucket=solutions-test-reference solution=aws-instance-scheduler version=1.2.1
So,

README.md shows version=1.2.1
CHANGELOG.md says version 0.0.1
source/code/version.txt has 1.3.0
And finally (AFAIK) the last commit message says Updated to v1.3 .

What version should I use as reference?
Will future releases rely on one reference to this value? Perhaps only on CHANGELOG.md?
Thank you.
Cheers,
Francisco

Hi Francisco, thanks for finding out this issue and apologies for the confusion. The correct version number is 1.3.0 I'll add a note in our backlog to fix the inconsistency. The version number in README is purely an example. So I wouldn't treat that as a reference for version number. However, I will note that both README and CHANGELOG to be updated.

Hi @mohsenari great! thank you very much! Meanwhile I managed to deploy it without issues :)


result.page & result.pages is undefined

i'm use mongoose-paginate, that result.page & result.pages is undefined

More details? Example?