[Tensorflow lite] iOS build for any archs fails : error: no matching member function for call to 'Verify'

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS X 10.13.3
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.9.0
Python version: 2.7 / 3.6
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): 4.2.1
== compiler =====================================================
Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
CUDA/cuDNN version: NA
GPU model and memory: NA
Exact command to reproduce: tensorflow/contrib/lite/build_ios_universal_lib.sh

Describe the problem
iOS build for any architecture will fail.
I checked 'verifier' exist and defined in tensorflow/contrib/lite/tools/ and Verify is in there.
If i am right I guess it is related to the feature 'template deduction' which is c++11 or gcc version
I am not sure if this failure comes from the bug of the code or my environmental setups but I think I throughly read the build documentation and followed the guidelines.
Here is my practice.

I installed xcode from the app store, (success)

run xcode-select --install

install homebrew (success)
brew install automake libtool (success)
git cloned tensorflow, (no issue)
download_install_dependencies (success)

Source code / logs
...
clang++ -fPIC -DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK -pthread  -std=c++11 -fPIC -O3 -DNDEBUG -miphoneos-version-min=9.0 -DGEMMLOWP_ALLOW
_SLOW_SCALAR_FALLBACK -DTFLITE_USE_APPLE_ACCELERATE_FOR_CONV -fembed-bitcode -Wno-c++11-narrowing -mno-thumb -fno-exceptions -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk -arch arm64 -O3 -I. -I/Users/con
tinuumai/tensorflow/tensorflow/contrib/lite/../../../ -I/Users/june/tensorflow/tensorflow/contrib/lite/downloads/ -I/Users/conti
nuumai/tensorflow/tensorflow/contrib/lite/downloads/eigen -I/Users/june/tensorflow/tensorflow/contrib/lite/downloads/gemmlowp -I
/Users/june/tensorflow/tensorflow/contrib/lite/downloads/neon_2_sse -I/Users/june/tensorflow/tensorflow/contrib/lite/down
loads/farmhash/src -I/Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include -I/Users/june/tensorflo
w/tensorflow/contrib/lite/gen/obj/ -I/usr/local/include -c tensorflow/contrib/lite/kernels/lsh_projection.cc -o /Users/june/tens
orflow/tensorflow/contrib/lite/gen/obj/ios_arm64/tensorflow/contrib/lite/kernels/lsh_projection.o                                      clang: warning: argument unused during compilation: '-mno-thumb' [-Wunused-command-line-argument]                                      5 warnings generated.                                                                                In file ```
**included from tensorflow/contrib/lite/interpreter.cc:33:
./tensorflow/contrib/lite/schema/schema_generated.h:1730:21: error: no matching member function for call to 'Verify'
verifier.Verify(min()) &&
~~~~~^~ **
/Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include/flatbuffers/flatbuffers.h:1775:29: note: candidate
template ignored: couldn't infer template argument 'T'
template bool Verify(uoffset_t elem) const {
^                                                                                /Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include/flatbuffers/flatbuffers.h:1784:29: note: candidate
function template not viable: requires 2 arguments, but 1 was provided
template bool Verify(const uint8_t *base, voffset_t elem_off)
^
/Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include/flatbuffers/flatbuffers.h:1763:8: note: candidate
function not viable: requires 2 arguments, but 1 was provided
bool Verify(uoffset_t elem, size_t elem_len) const {
^
/Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include/flatbuffers/flatbuffers.h:1780:8: note: candidate
function not viable: requires 3 arguments, but 1 was provided
bool Verify(const uint8_t *base, voffset_t elem_off, size_t elem_len) const {
^
In file included from tensorflow/contrib/lite/interpreter.cc:33:
./tensorflow/contrib/lite/schema/schema_generated.h:1732:21: error: no matching member function for call to 'Verify'
verifier.Verify(max()) &&
~~~~~^~
/Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include/flatbuffers/flatbuffers.h:1775:29: note: candidate
template ignored: couldn't infer template argument 'T'
template bool Verify(uoffset_t elem) const {
^
/Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include/flatbuffers/flatbuffers.h:1784:29: note: candidate
function template not viable: requires 2 arguments, but 1 was provided
template bool Verify(const uint8_t *base, voffset_t elem_off)
^
/Users/june/tensorflow/tensorflow/contrib/lite/downloads/flatbuffers/include/flatbuffers/flatbuffers.h:1763:8: note: candidate
function not viable: requires 2 arguments, but 1 was provided
[log.txt](https://github.com/tensorflow/tensorflow/files/2203945/log.txt)

I had the same problem！！！！！

I have the same problem.!

Try replacing the downloaded version of flatbuffers with an older one.

Are flatbuffers the only one needed to be replaced? I have tried doing this, but it did not work.

I am stuck at a later point but this particular issues is fixed for me.

I find that it will still download the latest version of flatbuffers if I simply checkout to r1.8 branch of the tensorflow repository. To download the 1.8 version of flatbuffers, I should go to [https://github.com/google/flatbuffers/tree/v1.8.0](the flatbuffers repository). Then, I can build without error. Thanks @davlhd .

@wiseosho : Thank you for the report, looks like a lot of people are hitting this, I am looking into it. @davlhd what other error are you seeing after replacing flatbuffers?

I get error: invalid argument '--std=c++11' not allowed with 'C'
because of CCFLAGS := ${CXXFLAGS} inside tensorflow/contrib/lite/Makefile. I need to change it to
CCFLAGS := ${CXXFLAGS} -O3 -DNDEBUG
CXXFLAGS += --std=c++11 -O3 -DNDEBUG

to make sure the c++11 argument is only put into CCFLAGS. After that I got
tensorflow/contrib/lite/downloads/eigen/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h:326:5: error: thread-local storage is not supported for the current
      target
    EIGEN_THREAD_LOCAL PerThread per_thread_;
    ^
tensorflow/contrib/lite/downloads/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h:15:35: note: expanded from macro 'EIGEN_THREAD_LOCAL'
#define EIGEN_THREAD_LOCAL static __thread

and thats where I left it for the moment.
But all of this could be due to some setup error on my side.

@davlhd Thankyou! I changed the flatbuffers version from master.zip to v1.8.0.zip and it works.
I can compile arm64 architecture only with this fallback, but I get the same error as @davlhd reported.
It seems this error pop up for x86_64 architecture( i386 I didn't try) . If I build only for arm64 architecture (which I need). It builds with no more issues.

Looks like this is a problem with Xcode 9.3, it make take a few days to fix it. I will suggest to use Xcode 9.2 for now, while we fix it.

@shashishekhar Do you mean Xcode 9.3 or later, including Xcode 9.4.1?

I have a fix, currently under review should be merged by end of tomorrow.
essentially: change MIN_SDK_VERSION := 10.0 which has C++ thread_local support and pass
-D__thread=thread_local

Change from
FLATBUFFERS_URL="https://github.com/google/flatbuffers/archive/master.zip"
to
FLATBUFFERS_URL="https://github.com/google/flatbuffers/archive/v1.8.0.zip"

indownload_dependencies.sh

I think we should also add the concrete revisions for each dependency in the download_dependecies.sh rather depend on master for example. Otherwise this issue can happen in the future when any "dependency" updates its master.
For example, I also see that NEON_2_SSE_URL has also the dependency on master rather than on concrete revision.

I git pulled the repository and checked all architectures build.
Thanks for @shashishekhar, @davlhd and others for the support.

Patch: https://github.com/tensorflow/tensorflow/commit/474b40bc7cb33d25f9bdc187d021e94a807bf1bd is merged, closing.

I have the Same issue 。。。。 I have user master branch

Against tensorflow v1.10.0: flatbuffers 1.9.0 also worked for me. 1.10.0 did not work.


force.jpg source is not present

Describe the bug
force.jpg required for force section in classical mechanics section is missing from images folder
To Reproduce
Steps to reproduce the behavior:

yarn start

Expected behavior
The site should have loaded with the image force.jpg
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@ashish-patwal it is present.

@ashish-patwal it is already present

you literally did it right now  🤣 !

@ashish-patwal how would I know people r so eager to contribute to my project that they are finding out bugs. 😅😅
I am pleased with it and from now on after merging any issue or if I find any bug, I will not solve it.

No it's cool . I was just doing the daily pull from the upstream and then the code crashed . Then i saw that the jpg was missing and just created the issue 😄 .

@ashish-patwal if u want u can add the logo to the navbar. The logo image is present in the repo , u just need to add it to the website

ok , let me make the changes then .

There is already an issue opened .Check it out

ok , i will see to it .


feat(authService): signal the token expires

use BindingSignaler to signal when the token expires
preview

I like this... We could thing about the key a bit more but the concept is cool. How would I use this?

https://www.danyow.net/aurelia-binding-behaviors/
${postDateTime | timeAgo & signal:'my-signal'}
and hopefully like
if.bind.myPara | signal:'token-expired'
aka the bind will be checked when token-expired is signalled

Oooooh that's cool. :D

ps: i'm open to change to a better signal name :smile:

I think I can live with this for now.


Resolve CI failures related to ConstAddr and Aarch64

@alexcrichton, initially I am going to try this out as unimplemented! but it wouldn't be difficult to implement: it's a single LEA in x86. @cfallin, is there a quick fix for this? Where do you legalize HeapAddr and TableAddr?

Thanks for the fix! To answer the question: we have a custom set of legalizations we run in simple_legalize(), but we also avoid using the existing constant-pool functionality (there were some complexities around arm64 PC-relative addressing range and large functions, so we embed constants in the code section), so we'll have to think a bit more about this. The unimplemented!() is good for now, I suppose.


RxUI-7 : NavigateAndReset not working

Been trying out the new rxui7 bits from myget on an existing 6.5 code base
Everything seems to be executing except when I call HostScreen.Router.NavigateAndReset.Execute (new viewmodel()).  The viewmodel gets created but then the app just sits there
I've checked and the HostScreen.Router.NavigationStack only has the one new viewmodel.

Which platform? Xamarin.Forms?

Hi @kiwipiet
Since RxUI 7, command execution is lazy. You need to subscribe to the return value of Execute in order for the command to actually execute.

@kentcb, I saw that in the tests and was going to give it a try today.
Works perfectly now, thank you.

np @kiwipiet. I realised later that I explained incorrectly. The command execution has always been lazy, but in RxUI6 the ICommand interface was implemented implicitly and its Execute method was eager (because it returns void). The ExecuteAsync method was lazy.
In RxUI7 we made ICommand an explicit implementation to encourage people to use the Rx implementation. This allowed us to rename it as well since there was no clash. Hence, it's now called Execute and is still lazy.

Also, there is comprehensive docs on commands here.


Issue with Fedora 39

What type of installation are you running?
Desktop
Which Linux OS are you using?
Fedora 39
Which version of LNXLink has the issue?
2023.11.0
The problem
After upgrading to Fedora 39, I had this issue, probably because of Python 3.12:
Traceback (most recent call last):
  File "/home/user/.local/bin/lnxlink", line 5, in <module>
    from lnxlink.__main__ import main
  File "/home/user/.local/lib/python3.12/site-packages/lnxlink/__main__.py", line 20, in <module>
    from .system_monitor import MonitorSuspend, GracefulKiller
  File "/home/user/.local/lib/python3.12/site-packages/lnxlink/system_monitor.py", line 11, in <module>
    from gi.repository import GLib
ImportError: cannot import name 'GLib' from 'pgi.repository' (/home/user/.local/lib/python3.12/site-packages/pgi/repository/__init__.py)

However, after digging a bit, I found that this changes in system_monitor.py did the trick:
#import pgi
import gi

#pgi.install_as_gi()

I don't have the full understanding of what's going on under the hood nor the time to make a PR but feel free to adapt if needed :)
Logs
No response

Awesome! Will test on the next release (or before if I have time) and let you know. Thanks

Still having the same issue and traceback on Fedora 39 after trying out the master branch. I'll post here if I figure it out.

This patch makes things work on F39. Seems the pgi package is no longer maintained and gi is the recommended one:
https://stackoverflow.com/questions/44213921/python-3-installing-gi-package-with-pip
https://pygobject.readthedocs.io/en/latest/
diff --git a/lnxlink/system_monitor.py b/lnxlink/system_monitor.py
index e41cb79..60617ce 100644
--- a/lnxlink/system_monitor.py
+++ b/lnxlink/system_monitor.py
@@ -10,13 +10,6 @@ from dbus.mainloop.glib import DBusGMainLoop

 logger = logging.getLogger("lnxlink")

-try:
-    import pgi
-
-    pgi.install_as_gi()
-except ImportError:
-    logger.error("Can't use PGI: %s", traceback.format_exc())
-
 from gi.repository import GLib

Hi @bkbilly . I confirm @pcsrule words, it's unfortunately not working with the patch 5c597a7.
Reverting back to gi  works again

@pcsrule said that this patch works for him.
It will show up the traceback as an error on boot, but other than I believe that you won't have any issues, so @aqwserf what is the problem?
Could you send me some more information about it?

I'm happy that it worked for both of you!

@bkbilly I hadn't had the time and wanted to test it a little longer but the fix you proposed in fact doesn't work for me.
But this one does the job:
try:
    #import pgi
    import gi

    #pgi.install_as_gi()
except ImportError:
    logger.error("Can't use PGI, so GI is used instead...")

I don't have the skills to tell why gi works while pgi doesn't but if you need some help or if I can help you debug this one, feel free to reach out!
Thanks

Based on your logging, it seems like you are running an older version of LNXlink. When the app starts, it tells you about it's version.

Could you try installing the latest version to test it again?
Does the app stop after this error or does it continue as normal?

Thanks for the prompt response @bkbilly.
For some reason, if I use your code, the version indeed doesn't show up, even if I'm on the latest version. But with my modification, it does. Here's what I have:

with your code

$ head -20 /home/user/.local/lib/python3.12/site-packages/lnxlink/system_monitor.py
"""Monitors for shutdown/sleep events"""

import threading
import signal
import logging

import dbus
from dbus.mainloop.glib import DBusGMainLoop

logger = logging.getLogger("lnxlink")

try:
    import pgi
    #import gi

    pgi.install_as_gi()
except ImportError:
    logger.error("Can't use PGI, so GI is used instead...")

from gi.repository import GLib                                                                                /0.0s

$ /home/user/.local/bin/lnxlink -c /home/guik/.config/lnxlink/config.yaml
Traceback (most recent call last):
  File "/home/user/.local/bin/lnxlink", line 5, in <module>
    from lnxlink.__main__ import main
  File "/home/user/.local/lib/python3.12/site-packages/lnxlink/__main__.py", line 22, in <module>
    from .system_monitor import MonitorSuspend, GracefulKiller
  File "/home/user/.local/lib/python3.12/site-packages/lnxlink/system_monitor.py", line 20, in <module>
    from gi.repository import GLib
ImportError: cannot import name 'GLib' from 'pgi.repository' (/home/user/.local/lib/python3.12/site-packages/pgi/repository/__init__.py)                                                 /0.3s

with mine

$ head -20 /home/user/.local/lib/python3.12/site-packages/lnxlink/system_monitor.py
"""Monitors for shutdown/sleep events"""

import threading
import signal
import logging

import dbus
from dbus.mainloop.glib import DBusGMainLoop

logger = logging.getLogger("lnxlink")

try:
    #import pgi
    import gi

    #pgi.install_as_gi()
except ImportError:
    logger.error("Can't use PGI, so GI is used instead...")

from gi.repository import GLib                                                                                /0.0s

$ /home/user/.local/bin/lnxlink -c /home/user/.config/lnxlink/config.yaml
INFO:lnxlink:LNXlink 2023.12.1, Python 3.12.0
INFO:lnxlink:Loaded addons: audio_select, idle, media, microphone_used, notify, update, keep_presence_lnxlink
INFO:lnxlink:Connected to MQTT with code 0
^CINFO:lnxlink:stopped gracefully
INFO:lnxlink:Power Down detected.
INFO:lnxlink:Disconnected from MQTT.

Hope this helps!

It seems that the latest versions of python, the PGI package is not needed, but I'll have to look into it.
I'll make some tests and I might remove it on the future version of the app from the dependencies and from the system_monitor file.

I've released the 2023.12.2 which fixes this issue.

Confirm this is working. Thanks @bkbilly!


RunetimeWarning raised by Raster.astype when data contains Nans

Raster.astype raises a warning when the input data contains NaNs (even if hidden by the mask) when the cast type is not compatible with NaNs.
This is rather annoying as there is no other solution to silent this warning than to modify self.data.data to replace NaNs to another value. Using Raster.set_mask or Raster.set_nodata does not update self.data.data.
Example to reproduce:
import geoutils as gu
import numpy as np
raster = gu.Raster(gu.examples.get_path("exploradores_aster_dem"))
raster.data.data[raster.data.data == -9999] = np.nan
test = raster.astype("uint16")

raises "RuntimeWarning: invalid value encountered in cast".

I'm not sure if this is really an issue... NumPy will warn the same thing if you modify your masked array that has NaNs to another masked array with type not supporting NaNs using its astype, no? And so we should also keep it to stay consistent with NumPy?

Just tested this, NumPy indeed raises the error the same:
raster.data.astype("uint16")

RuntimeWarning: invalid value encountered in cast

So we're simply consistent with NumPy behaviour.
And if you mask the nodata values instead of setting NaN (same behaviour for all other operations):
import geoutils as gu
import numpy as np
raster = gu.Raster(gu.examples.get_path("exploradores_aster_dem"))
raster.data[raster.data.data == -9999] = np.ma.masked
raster.astype("uint16")

Then we convert fine and raise a warning about loss of information:
/home/atom/code/devel/libs/geoutils/geoutils/raster/raster.py:1548: UserWarning: dtype conversion will result in a loss of information. float32 is the minimum type to represent the data.
  f"{rio.dtypes.get_minimum_dtype(self.data)} is the minimum type to represent the data."

So that behaviour is consistent, we can close!


Size of icons in combobox component are wrongly defined

https://github.com/vmware/clarity/blob/3281f777e84b7efce3e7697e82f6c85df802b3b5/packages/angular/projects/clr-angular/src/forms/combobox/combobox.html#L45

Can you clarify what you mean by wrongly defined or provide a stackblitz demo replicating the issue? https://stackblitz.com/@clr-team


MassTransit receive endpoint fails to reconnect after loss of connection to Azure ServiceBus

Contact Details
No response
Version
8.x
On which operating system(s) are you experiencing the issue?
No response
Using which broker(s) did you encounter the issue?
Azure Service Bus
What are the steps required to reproduce the issue?
1. Connect MT to an AzureServiceBus instance
2. Configure a receive endpoint with PrefetchCount = 1
3. Disconnect from the internet
4. Wait until the exceptions are logged (in debug level)
5. Reconnect again

What is the expected behavior?
The receive endpoint should reconnect to AzureServiceBus and consume messages as soon as the connection is available again
What actually happened?
The receive endpoint did not reconnect. The health state is healthy all over the time
Related log output, including any exceptions
D:/xxx/mt.reconnect.v8/bin/Debug/net6.0/mt.reconnect.v8.exe
03:17:54 dbug: Microsoft.Extensions.Hosting.Internal.Host[1]
      Hosting starting
03:17:55 dbug: MassTransit.Transports.BusDepot[0]
      Starting bus instances: IBus
03:17:55 dbug: MassTransit[0]
      Starting bus: sb://no-host-configured/
03:17:55 info: Microsoft.Hosting.Lifetime[0]
      Application started.  ErrorCode: HostNotFound (ServiceCommunicationProblem). For troubleshooting information, see https://aka.ms/azsdk/net/servicebus/exceptions/trouble
shoot.
       ---> System.Net.Sockets.SocketException (11001): No such host is known.
         at Microsoft.Azure.Amqp.ExceptionDispatcher.Throw(Exception exception)
         at Microsoft.Azure.Amqp.AsyncResult.End[TAsyncResult](IAsyncResult result)
         at Microsoft.Azure.Amqp.Transport.AmqpTransportInitiator.ConnectAsyncResult.End(IAsyncResult result)
         at Microsoft.Azure.Amqp.Transport.AmqpTransportInitiator.<>c.<ConnectAsync>b__17_1(IAsyncResult r)
         at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
      --- End of stack trace from previous location ---
         at Azure.Messaging.ServiceBus.Amqp.AmqpConnectionScope.CreateAndOpenConnectionAsync(Version amqpVersion, Uri serviceEndpoint, Uri connectionEndpoint, ServiceBusTransportType transportType, IWebProxy proxy, String s
copeIdentifier, TimeSpan timeout)
         at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.OnCreateAsync(TimeSpan timeout, CancellationToken cancellationToken)
         at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout, CancellationToken cancellationToken)
         at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout, CancellationToken cancellationToken)
         at Azure.Messaging.ServiceBus.Amqp.AmqpConnectionScope.OpenReceiverLinkAsync(String identifier, String entityPath, TimeSpan timeout, UInt32 prefetchCount, ServiceBusReceiveMode receiveMode, String sessionId, Boolea
n isSessionReceiver, CancellationToken cancellationToken)
         at Azure.Messaging.ServiceBus.Amqp.AmqpReceiver.OpenReceiverLinkAsync(TimeSpan timeout, UInt32 prefetchCount, ServiceBusReceiveMode receiveMode, String identifier, CancellationToken cancellationToken)
         at Microsoft.Azure.Amqp.FaultTolerantAmqpObject`1.OnCreateAsync(TimeSpan timeout, CancellationToken cancellationToken)
         at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout, CancellationToken cancellationToken)
         at Microsoft.Azure.Amqp.Singleton`1.GetOrCreateAsync(TimeSpan timeout, CancellationToken cancellationToken)
         at Azure.Messaging.ServiceBus.Amqp.AmqpReceiver.ReceiveMessagesAsyncInternal(Int32 maxMessages, Nullable`1 maxWaitTime, TimeSpan timeout, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at Azure.Messaging.ServiceBus.Amqp.AmqpReceiver.ReceiveMessagesAsyncInternal(Int32 maxMessages, Nullable`1 maxWaitTime, TimeSpan timeout, CancellationToken cancellationToken)
         at Azure.Messaging.ServiceBus.Amqp.AmqpReceiver.<>c.<<ReceiveMessagesAsync>b__45_0>d.MoveNext()
      --- End of stack trace from previous location ---
         at Azure.Messaging.ServiceBus.ServiceBusRetryPolicy.RunOperation[T1,TResult](Func`4 operation, T1 t1, TransportConnectionScope scope, CancellationToken cancellationToken, Boolean logTimeoutRetriesAsVerbose)
         at Azure.Messaging.ServiceBus.ServiceBusRetryPolicy.RunOperation[T1,TResult](Func`4 operation, T1 t1, TransportConnectionScope scope, CancellationToken cancellationToken, Boolean logTimeoutRetriesAsVerbose)
         at Azure.Messaging.ServiceBus.Amqp.AmqpReceiver.ReceiveMessagesAsync(Int32 maxMessages, Nullable`1 maxWaitTime, CancellationToken cancellationToken)
         at Azure.Messaging.ServiceBus.ServiceBusReceiver.ReceiveMessagesAsync(Int32 maxMessages, Nullable`1 maxWaitTime, Boolean isProcessor, CancellationToken cancellationToken)
         at Azure.Messaging.ServiceBus.ReceiverManager.ReceiveAndProcessMessagesAsync(CancellationToken cancellationToken)
03:18:44 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:18:49 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:18:54 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:18:59 warn: Program[0]
      sb://no-host-configured/order-service Healthy

      --- Reconnected here ---

03:19:04 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:09 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:14 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:19 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:24 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:29 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:34 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:39 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:44 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:49 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:54 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:19:59 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:20:04 warn: Program[0]
      sb://no-host-configured/order-service Healthy
03:20:09 warn: Program[0]
      sb://no-host-configured/order-service Healthy

Link to repository that demonstrates/reproduces the issue
https://github.com/Willi-P/mt.reconnection

So the problem only occurs when PrefetchCount = 1 -- is that true?

Yes, only in case when PrefetchCount = 1. And it is always reproducible.
Thanks for the quick fix. It is working now.


Set/Remove MaxCacheTtl for dnscache

When os_dns_caching is true: Remove MaxCacheTtl property
When os_dns_caching is false: set MaxCacheTtl property to 0

Always set MaxNegativeCacheTtl property to 0
Deploys with both windows2012R2 and windows2016, tested with os caching on and migrating to off and vice versa.

Addresses some of the concerns in the comments here: https://github.com/cloudfoundry/bosh-dns-release/issues/6


Columns with null data should not be searchable and sortable by default

In this example you use data: null for buttons column. I think such columns should by default not be searchable and sortable.

I see the point, however, I don't want to introduce conditional defaults at this time - the default should be only one value. I might revise that in future, but it is value to have such columns (with data generated using the render function) as orderable and searchable.


[Feature] one area to present all new data (ic,oi,op,mp,rc,ad,de,s,f,p)

Description
Find a proper way to present all data below in one area on GitHub repo page

ic: issue comment count
oi: open issue count
op: open pull count
mp: merge pull count
rc: review comment count
ad: merged additions code lines
de: merged deletions code lines
s: stars
f: forks
p: participants count

{
	"id": "7691631",
	"n": "moby/moby",
	"ic": {
		"20151": 5681,
		"20152": 5417,
		"20153": 6493,
		"20154": 7416,
		"20155": 6403,
		"20156": 5764,
		...
	},
	"oi": {
		"20151": 278,
		"20152": 255,
		"20153": 367,
		"20154": 403,
		"20155": 284,
		"20156": 342,
		...
	},
	"op": {
		"20151": 338,
		"20152": 339,
		"20153": 514,
		"20154": 537,
		"20155": 422,
		"20156": 341,
		...
	},
	"pm": {
		"20151": 245,
		"20152": 237,
		"20153": 406,
		"20154": 403,
		"20155": 330,
		"20156": 255,
		...
	},
	"rc": {
		"20151": 935,
		"20152": 1027,
		"20153": 1384,
		"20154": 2054,
		"20155": 1755,
		"20156": 913,
		...
	},
	"ad": {
		"20151": 21750,
		"20152": 19467,
		"20153": 42833,
		"20154": 47983,
		"20155": 69026,
		"20156": 76092,
		 ...
	},
	"de": {
		"20151": 6519,
		"20152": 71321,
		"20153": 20958,
		"20154": 27393,
		"20155": 20630,
		"20156": 64424,
		...
	},
	"s": {
		"20151": 763,
		"20152": 743,
		"20153": 870,
		"20154": 901,
		"20155": 824,
		"20156": 918,
		...
	},
	"f": {
		"20151": 899,
		"20152": 743,
		"20153": 1089,
		"20154": 963,
		"20155": 875,
		"20156": 985,
		...
	},
	"p": {
		"20151": 279,
		"20152": 217,
		"20153": 606,
		"20154": 426,
		"20155": 375,
		"20156": 442,
		...
	}
}

Some thoughts about the data:

The data should be organized into different charts by logic rather than fit into a single chart. Like issue related, pull request related or code change.
The data item is increase value of each month so you may not need to calculate the increase value yourself.
Hypercrx should have a extendable mechanism since with more and more CHAOSS metrics implemented in OpenDigger, we will add more fields into the data.


[Search-183] Add cleanup time test

Testing & Verification

[x] This PR adds tests that were used to verify all changes:

[x] Added new C++ Unit tests

Tests blue except unrelated failures https://jenkins.arangodb.biz:3456/job/arangodb-matrix-pr/18684/


JSON formatter specification

Do we have a document anywhere that documents what we would like cucumber implementations to export in the JSON formatter?
In cucumber-js we were mainly following cucumber-ruby and I made a few changes in 2.0 (removing the "type" from scenarios as that is the only thing exported and converting the duration from nanoseconds to milliseconds) that I have received a few issues on
If we would like this behavior to be shared between the different cucumber implementations I would prefer we have a JSON schema somewhere that the implementations can test themselves against.
I'm happy to lead this and create an initial schema that is based off of the current output of the different projects.
@aslakhellesoy @jbpros @mattwynne

Briefly: see #172
He idea is to move away from the big blog of JSON that combines AST with test results, and use a series of smaller events instead. I'd like to deprecate then remove the JSON formatter from Cucumber Ruby ASAP.
If we can standardise around one protocol, we can build a single set of renderers / formatters that consume the protocol and produce human-readable output.
I'm glad to have you in the loop on this @charlierudolph.

I think the new style of the JSON formatter (which creates one JSON file - as opposed to the set of JSON event in the event protocol), should be base the (list of) pickles emitted by the compiler. This data need to be augmented with the data of the step definitions, hooks and results.
That being said, since there are tools parsing the current output of the JSON formatter, that option needs still to be available (for some time), but deprecated.

IMO the JSON formatter will be replaced by the event protocol, and we shouldn't need both in the end. I don't think there's any need to write a new JSON formatter.

That being said, since there are tools parsing the current output of the JSON formatter, that option needs still to be available (for some time), but deprecated.

We could write a small utility that builds the legacy JSON report from events

We could write a small utility that builds the legacy JSON report from events

Yes, a formatter, because that is what a formatter is - a utility that build a report from events.

IMO the JSON formatter will be replaced by the event protocol

One thing that always made me a bit uneasy related to the discussion of "the event protocol" is the suspicion that we mix up concept/data/events belonging in different bounded context in the same bucket.
AFAIK "protocol" includes the concept of allowed sequence of things. Mentally I imagine massive parallel execution of pickles on a grid of executors. In such situation there could be 528 unmatched testStepStarting events when a testStepFinished event arrives, I'm not sure that it is reasonable to demand that every utility the receives events can handle such interleaving of events coming from parallel execution. That could be a use of a test case result json (with a corresponding event), so that the protocol for an executor is simple, pickle events are received and testCaseResult events are sent. The underlying primitive events could the be recreated, but serialized to some utilities can work with the illusion of single threaded execution.

@brasmusson interesting feedback. Would we be better having that discussion in #172?

Closing this since the JSON format is being phased out


add Promise\wrap

Hm, we had quite a similar function in Amp v1: \Amp\pipe: https://github.com/amphp/amp/blob/1.x/lib/functions.php#L597-L639
We removed it in v2 in favor of generators; i.e.:
\Amp\call(function() use ($promise) {
    return doSomeTransformation(yield $promise);
});

So I guess we won't accept this either, for the same reason.

@bwoebi thanks, i like your suggestion even more

@bwoebi This is different from pipe, as it also gets executed on errors. I'd probably merge it.

@kelunik Sure, but you can easily try/catch that in a coroutine, if you wish error handling - hence "similar".


Get user functionality

Okay so it's great what this API allows you to do, but one of the main useful things that doesn't seem to be included is actually having a way to convert channel and user IDs back to actual names...? Using DS935739 as a name is not particularly helpful? Is there a way of actually fixing this so I can get users names when they send a message?

Hi there, I had the same thought when I had a deeper look under the hood I figured out that we already have all these informations in the self property.
For example I'm doing this:
var PlannerBot = function Constructor(settings) {
.........
    this.slack.members = new Array();
.........
};

PlannerBot.prototype._onStart = function () {
    var self = this;
    self._loadBotUser();

    // I retrieve all the users part of the team
    var users = self.getUsers();
    if(typeof users !== "undefined" &&
       typeof users._value !== "undefined" &&
       typeof users._value.members !== "undefined") {
       users._value.members.forEach(function(user, index) {

        var first_name = "";
        if(typeof user.profile.first_name !== "undefined") {
          first_name = user.profile.first_name;
        }
        self.slack.members[user.id] = {"username" : user.name, "first_name": first_name};
        console.log(user.name.white.bold + " [" + first_name.yellow + "]");
        if(user.name === self.settings.name) {
          self.botID = user.id;
        }
       });
    }
};

This is partial code from my application. If you need further help, I'll try to be more explicit.
If it helps, I have used this approach to use this library, which I think it's really a great way!

Actually, you can get all users data from a users field or by calling getUsers method:
bot.on('message', function() {
    var users = bot.users
})
// or

var users = bot.getUsers().then(function(users) { console.log(users) })

There is no special method for converting, I will think about it

Here is my solution:
var name;
bot.getUsers().then(function(users) {
  for (var eachuser in users.members) {
    if (users.members[eachuser].id == data.user) {
      name = users.members[eachuser].name;
      bot.postMessageToUser(name, 'Hi ' + name, params);
    }
  }
});

Could not agree more. It looks useful until you realise how much is missing. Either the documentation needs to reflect this or we need methods to add the functionality. For instance, getChannels does not even contain 1-2-1 messages between bot and user. I've experimented with adding getUserById in my fork.
https://github.com/mishk0/slack-bot-api/compare/master...alexellis:master


Please invite me to the GitHub Community Organization

Name
Hiiruki
Discord Username (if applicable)
hiiruki#3324
Additional Context
I want to contribute to open-source projects

It's great having you contribute to this project
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord Server and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

Invitation sent for the GitHub Organisation. Welcome to the community 🎉#
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/jaidevstudio/people
Like this

Tips for practising:
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Please check your email or organisation page 🙏


central undefined

hello
with go 1.10 and when i build server.go i have this message
"undefined: central"
any help please !!?

Yes - it is a Windows issue. I went to Ubuntu and it just worked.

So i am sorry because i have lessons so i can't answer
On Wed, Dec 5, 2018, 17:51 Bruno Terkaly<EMAIL_ADDRESS>wrote:

Yes - it is a Windows issue. I went to Ubuntu and it just worked.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paypal/gatt/issues/99#issuecomment-444557880, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ammvu3TqCzlWd6_bJSbVgE5OX-b9qPXeks5u1_mggaJpZM4V1nOv
.

I'm good - I cross-compiled on Linux for Raspberry PI arch and I hope it wall works.

Good luck
On Wed, Dec 5, 2018, 18:45 Bruno Terkaly<EMAIL_ADDRESS>wrote:

I'm good - I cross-compiled on Linux for Raspberry PI arch and I hope it
wall works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paypal/gatt/issues/99#issuecomment-444576970, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ammvu2CIu4OCVpr110wsQk8NXI-gTs7cks5u2AYqgaJpZM4V1nOv
.

What causes this, though?


Issue: /bin/sh: 1: ar: not found

I am running into this error code
x@x:~$ pyzule -i '/media/x/Seagate Desktop Drive/Sideload Stuff/IPAs/Apps/Apollo/Decrypted/com.christianselig.Apollo-1.15.11-Decrypted.ipa' -f '/media/x/Seagate Desktop Drive/Sideload Stuff/IPAs/Apps/Apollo/Deb/ca.jeffrey.apollo-improvedcustomapi_1.1.1_iphoneos-arm.deb' -o "Test"
[?] file extension not specified, creating ipa
[*] extracting ipa..
[*] extracted ipa
/bin/sh: 1: ar: not found
Traceback (most recent call last):
  File "/usr/local/bin/pyzule", line 384, in <module>
    run(f"ar -x '{deb}' --output={output}", shell=True, check=True)
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'ar -x '/media/x/Seagate Desktop Drive/Sideload Stuff/IPAs/Apps/Apollo/Deb/ca.jeffrey.apollo-improvedcustomapi_1.1.1_iphoneos-arm.deb' --output=.pyzule-1724461507.3673189/0' returned non-zero exit status 127.
[*] deleting temporary directory..

I am unsure of how to resolve this issue.

.. this is only being realized now? wtf lmao it's been preinstalled on like every system i've ever used and nobody has reported this before
does it work after a sudo apt install binutils ?


Undeterministic segmentation on with different instances of model

I try to create cellpose plugin to my tool https://github.com/4DNucleome/PartSeg_cellpose I found that In some scenario different instances of cellpose model returns different predictions. I try to prepare code which deterministic reproduce this, but not always next instance of model fail. I need to recreate it again in third cell to got this result.

But in my plug-in this happens always.
It is possible to fix it?
img02.png is from your example notebook.

Sorry, I'm not sure I understand. There should not be any randomness in that function call (right @carsen-stringer ?).

As I expect there should be no randomness. But I found that I got different result in notebook and in gui (my one). Then in test I found that I can reproduce this in notebook.

Any information?

In the notebook you are running with diameter=None so it is estimating the diameter for you. In the GUI are you also using the "calibration" button to get the diameter?
I don't understand how it could be different in the same notebook with the same code, can you provide more information if you are still having this issue?

I don't understand how it could be different in the same notebook with the same code, can you provide more information if you are still having this issue?

I also do not understand this. But I notice that problematic runs take much longer time (9 seconds against 90-160 seconds).
Now it happens time to time when using multiple instances of model from notebook. It does not depend if I set diameter to None or 0 or set positive value 30.
I do not have any idea how debug this. But maybe You have idea why wrong calculation in current version takes longer time?

I check this on second computer (both ubuntu) and same problem (different segmentation form different instance of model for same file)  shows.

I have seen similar non-determinism in some unit tests I have, which makes them flaky.  It's often on just small, isolated groups of pixels near segment boundaries.  From https://github.com/apache/incubator-mxnet/issues/13829#issuecomment-466819818, it seems that mxnet autotuning can be non-deterministic.
Setting the following during my tests has fixed my problem:
MXNET_CUDNN_AUTOTUNE_DEFAULT=0

thanks @chrisroat , closing this for now, perhaps the torch version doesn't have this problem


feat(docs): move algolia data ingestion to docs-tools

Modify this title
Related Issue/Asana ticket: _
Short description: _

Test scenarios

description of the (manually) executed test scenarios

Reminders (if applicable)

[ ] I ran pnpm install and pnpm test in the root of the monorepo
(optionally with --filter=...package... to exclude non-affected
projects)
[ ] I ran pnpm changeset in the root of the monorepo
[ ] Test coverage has not decreased
[ ] Docs have been updated to reflect changes in PR (don't forget
docs.kadena.io)

Not relevant anymore


disabling a user

Hi guys, exists a way to disable a user after create and validate the connection?
my first thought is about recreate the lighthouse cert

I believe the certificate blocklist can be used for this. Depending on how extensive you need the block to be, you might be able to get away with just blocking the certificate of the offender at the lighthouse.
From the sample config at https://github.com/slackhq/nebula/blob/master/examples/config.yml:
# PKI defines the location of credentials for this node. Each of these can also be inlined by using the yaml ": |" syntax.
pki:
  # The CAs that are accepted by this node. Must contain one or more certificates created by 'nebula-cert ca'
  ca: /etc/nebula/ca.crt
  cert: /etc/nebula/host.crt
  key: /etc/nebula/host.key
  #blocklist is a list of certificate fingerprints that we will refuse to talk to
  #blocklist:
  #  - c99d4e650533b92061b09918e838a5a0a6aaee21eed1d12fd937682865936c72

You can get the fingerprint using nebula-cert. Example below is Windows, but Linux should work the same:
C:\nebula>nebula-cert print -path jplaptop.crt
NebulaCertificate {
        Details {
                Name: jplaptop
                Ips: [
                        <IP_ADDRESS>/24
                ]
                Subnets: []
                Groups: []
                Not before: 2021-02-08 14:53:43 +0800 AWST
                Not After: 2022-02-01 16:27:16 +0800 AWST
                Is CA: false
                Issuer: ed119ff9415f3de48f65f7132670e52f8d4572043462d863d009ba38526fc13d
                Public key: 612ee48e835b1cdea6cc0d75f46dbc92311ff2e08e408f7a8c3a71bd2c767378
        }
        Fingerprint: d88333586a536bf2e9f59adacf1c24874d4d31a2aacbdea235c59051ced59fcc
        Signature: 6e223f5302b9d27c7ca40ad10c2746e794bc03e00d76cd0ce1b703e20499ff10e86730f45e1d0baf938ed68567b1dd1dda13439c631a6995f7170f7f8929930d
}

C:\nebula>

If the offender can't connect to the lighthouse, then it will be hard for them to locate the correct IP:PORT of the other nodes in the network to connect to in the first place (difficulty depends largely on your network layout).
If you need a 100% block then I guess you would need to block the offending certificate in the config of every single host, and / or adjust the Nebula firewall rules on every single VPN host so that they don't talk to the VPN IP of the offender (since each certificate is only valid for a specified IP). If you need to go this far then it might be easier to regenerate the CA and generate new certificates for all the valid hosts.

thank you ! is sufficent for me with the fingerprint


Address comments in #28

VSCODE-1050: PAT auth for hosted BitBucket(like for hosted Jira)

Like the API of Jira and Bitbucket, the API of Bitbucket supports Bearer Auth using PAT instead of Basic Auth:
https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html
A number of other customers have expressed a need for this feature, not just us (Cloud Software Group): We disallow the use of HTTP Basic Auth for security reasons for the Confluence, Jira and Bitbucket APIs of our self-hosted services. Instead, we require the use of Bearer Auth using a PAT by the users.
A background information for this is that, that your security policy requires 2FA or alternatively tokens, password authentication without a 2nd factor as implemented in HTTP Basic Authentication is prohibited by company security policy, and therefore HTTP Basic Authentication is prohibited.
Also, by security policy, passwords have to be changed frequently, so even without that prohibition, password authentication would be very cumbersome as frequent changes result in frequent breakdown of the Atlascode login in VS Code.
Right now, the Atlascloud plugin supports authenticating to Jira using PAT because of a requirement by a customer, but the same has not been extended to Bitbucket, it only supports using username/password (Basic Authentication).
curl -v --oauth2-bearer $PAT https:///rest/api/1.0/users/userslug?avatarSize=48
Bearer Authorization is already available in atlascode, but not yet enabled for Bitbucket, it just was requested for Jira and not for Bitbucket:
https://bitbucket.org/atlassianlabs/atlascode/issues/237/allow-saml-sso-as-authentication-method
All that remains for Atlascode is to allow Bearer Authorization for Bitbucket as well.
This is what this PR does. It adds the same option to alternatively use PAT auth for self-hosted Bitbucket like the Jira client of Atlascode already implements.

Update clientManager.ts

Proof of the UI working


Ability to work with upstream access_token in federated scenario

In relation to https://github.com/spring-projects/spring-authorization-server/issues/700

Closing due to another approach being available. See this comment.


ignoredObjects doesn't appear to work

This may be just through a lack of documentation but my understanding of ignoredObjects is a list of strings of class objects to ignore for generating tables.
Not sure if this is class.simpleName or class.canonicalName but either way its still producing changesets for the classes i want to ignore.

@olliefreeman Not sure exactly when this changed, but it's actually called grails.plugin.databasemigration.excludeObjects now.  You can pass in a list of strings to excludeObjects just like you used to be able to for ignoredObjects.


Nothing displayed - black rectangle

SWF: c8c95623837e32efcab2067e8d5070a7ba19dbd7014ffd6612d7b21e10e07008 (Direct Link)

I get the blue background, text and the center dot of the Wind turbine, but I'm missing the mast and blades.

The problem with this SWF is that it is ridiculously far away from what's
supposed to be a valid SWF. The Flash player rendering this invalidates
much of what the SWF spec says about, oh, everything. Hence, we have to
figure out little details about how and why this works piece by piece. I
invested some time into that a while ago but stopped because it's not
currently on the critical path for our initial use-cases.


crypto/internal/nistec: remove ppc64le assembly

In https://github.com/golang/go/issues/52182#issuecomment-1099583629, @laboger reports that the fiat-crypto (https://github.com/golang/go/issues/40171) code with @pmur's compiler improvements (https://go.dev/cl/393656) is within range of the assembly performance!
This is extremely impressive considering the fiat-crypto code also uses safer but slower complete formulas and a somewhat naive 4-bit scalar multiplication window.
ScalarBaseMult/P256                    237µs ± 0%      52µs ± 0%   -78.22%  (p=1.000 n=1+1)
ScalarMult/P256                        239µs ± 0%     213µs ± 0%   -10.95%  (p=1.000 n=1+1)

The ScalarBaseMult benchmark is still significantly slower, because the assembly uses a large precomputed table, while the fiat-crypto code just runs ScalarMult. This is very much fixable.
I will land the ScalarBaseMult optimization in the fiat-crypto code, and then we can remove the ppc64le assembly entirely!

https://go.dev/cl/404174 is the promised ScalarBaseMult optimization, so it's possible that the assembly is now slower than the fiat-crypto code!

Here are comparisons using noasm vs. asm using latest:
crypto/internal/nistec:
ScalarMult/P256         153µs ± 0%     145µs ± 0%   -5.84%  (p=1.000 n=1+1)
ScalarBaseMult/P256    45.2µs ± 0%    23.5µs ± 0%  -48.14%  (p=1.000 n=1+1)

crypto/elltipic:
ScalarBaseMult/P256                   52.3µs ± 0%    38.3µs ± 0%  -26.78%  (p=1.000 n=1+1)
ScalarMult/P256                        161µs ± 0%     160µs ± 0%   -1.02%  (p=1.000 n=1+1)

crypto/ecdsa:
Sign/P256           96.2µs ± 0%    87.8µs ± 0%   -8.71%  (p=1.000 n=1+1)
Verify/P256          212µs ± 0%     196µs ± 0%   -7.43%  (p=1.000 n=1+1)
GenerateKey/P256    53.8µs ± 0%    40.0µs ± 0%  -25.63%  (p=1.000 n=1+1)

No meaningful difference in the crypto/tls benchmarks.
Looks like the assembler version is still significantly faster than the native Go version for some.


FIX: Support pandas.tseries and pandas.offsets

modin.pandas doesn't have these submodules at all.

A user requested this feature on the Modin slack here: https://modin-project.slack.com/archives/C02MY316DFF/p1667407627477999


Fushigi crash upon selecting any actor from within level with missing actors

Describe the bug
I deleted many elements in 1-1, so I can't determine what specifically is inducing the crash, but the level file attached will cause Fushigi to outright crash when any element is selected.
To Reproduce
Steps to reproduce the behavior:

Download the attached level and load it with Fushigi
Select any actors within the main area
See error

Expected behavior
Fushigi not to crash
Screenshots

Operating System:
Microsoft Windows 11 Home 10.0.22621 Build 22621
Attached Files:
Crashing Level.zip
Additional Information:
The level in question will load in-game properly

fixed with 5659cd4


Update Dapr libraries to v1.5

1.5.1 https://docs.dapr.io/operations/support/support-release-policy/

branch 1.5


log info about dropped tweets

When the volume on the Twitter filter stream gets too high they cannot deliver all tweets. We should log this information when Twitter provides it.

Current release seems much better than previous releases. I'm now archiving live a streams of a special events, for sure it will be the biggest event of the country.
Just curious about results and statistics to share.

I monitored live an event hashtags with nearly reaching 97.464 TW with ~400k RT (~3hour event).
Ridiculous, but huge numbers here. I got only 238 "No JSON object could be decoded".
imho My opinion is that it's not really all related with timeout/load: I was close to the "firehouse", at favorite time and most were not lost during load interactions.

That's great to hear. I still think it would be good to log any information that Twitter provides about tweets it couldn't fit down the wire. I've heard they send it I just need to find out where it is.

Now the bad news, I'm thinking this getting issue #59.
I ran many --stream and if it takes only a few hours it gets only a few dropped connection. Past weeks I twarced only events for 3 hours and all run smoothly.
But using it over 24h it became a mess. Same stopping and restarting it. I noticed that if I restart it waiting more hours, next morning, it runs smoothly again.
Are Twitter testing new kind of API limits?

A dropped connection doesn't necessarily mean dropped tweets. It just means the connection between you and twitter was disrupted. It should re-establish a connection?

Yes, it reestablish connections.
I added previous comments because doing many hydrate (issue #59) my idea is that it's not kind disrupted connection but kinda new moderations. Not disruptions.
How can it be disrupted at every iteration at same 5 ids for 3 times in a raw, waiting too 2h each before iteration ?
imho best time spent in getting a clear error msg than tuning twarc for this.

@remagio this issue is more about how to capture information that Twitter provides about dropped tweets during high volume of activity on the filter stream.


Added files to support PlatformIO.

This lets you upload through a USB Serial adapter to
a bluepill board without fussing with STMCube or an ST-Link.

This looks amazing, thank you!
(I'll try to play a bit with it as well as soon as I can find some time — perhaps even add a cool badge in the future)


generate-cask-api: fall back to previous URL if network fails

If casks have a url stanza with a block (like transmission@nightly), brew generate-cask-api needs to go to that URL in order to determine the correct download URL for the cask. It's very common for this to fail when generating the API (especially with transmission@nightly), so this PR adds a fallback mechanism. If generate-cask-api is unable to reach the URL specified in the block, it will simply fall back to whatever URL value existed previously in the API. This should hopefully reduce the number of generation failures we see in Homebrew/formulae.brew.sh.

This is OK but IMO we should ban url do in Homebrew/cask. We did before we imported Homebrew/cask-versions but we never checked the imported casks.
There is only 4 casks that use it so seems like that wouldn't be too difficult to ask for.

This is OK but IMO we should ban url do in Homebrew/cask. We did before we imported Homebrew/cask-versions but we never checked the imported casks.

I agree. Note that https://github.com/Homebrew/brew/pull/18388 will be landing soon so now is a good change to get any deprecations straight into master if @Bo98 or @Rylan12 are tempted to do so.

There are only 4 casks that use it so feels weird to have workarounds for such a small number.

This workaround feels good for unflaking things sooner rather than later, agreed it'd be nicer to remove the need for it soon though.

Use livechecks instead (unless it will ping several times a day)

This would be for the formulae.brew.sh generation which happens every 15 minutes

Find a redirecting URL and use version :latest

I'll look and see what I can find

For nightlies etc, this sometimes didn't work because they were usually well hidden and for experienced users only. Not sure if that applies to any of the remaining 4 or not.

Yes, all of these are nightly or nightly-adjacent:

dolphin@dev
vlc@nightly
transmission@nightly
keepassxc@snapshot

This would be for the formulae.brew.sh generation which happens every 15 minutes

I mean instead of making the cask determine the URL dynamically: we should have livecheck do it so that it opens PRs with checksums that are checked properly.
It's the more secure option if possible.

I opened a PR to remove these from homebrew/cask: https://github.com/Homebrew/homebrew-cask/pull/186501
I'll work on adding a rubocop to make sure we don't use any of these in official taps anymore.


Pls add typescript support)

Hi! So far it didn't use typescript, but I'll try to add its support!

Hi! So far it didn't use typescript, but I'll try to add its support!

I'll wait for updates. Thanks a lot!

Hi! Can you send me how you define bot() in typescript? I think I may have found something but I'm not sure.

Hi! Can you send me how you define bot() in typescript? I think I may have found something but I'm not sure.

Yeah, sure. You can check out my index.ts in repo - GodSounds.
There you can see how I created custom Session data and added it to Context. In Context.ts I defined all necessary interfaces and used it to create instance of Telegraf Bot class, so I won't have any problems with types whenever I'll try to get my session data in handlers and etc.

I reviewed and I think the best solution in my opinion would be to add a small example to the documentation to extend Context.
Maybe like that?
import { Context, Telegraf } from 'telegraf';
import PostgresSession from 'telegraf-postgres-session';

interface SessionContext extends Context {
 session: any;
};

const bot: Telegraf<SessionContext> = new Telegraf(process.env.BOT_TOKEN as string);// Your Bot token here

bot.use((new PostgresSession({
	connectionString: process.env.DATABASE_URL,
		ssl: {
			rejectUnauthorized: false
		}
})).middleware());

bot.on('message', ctx => {
    ctx.session.counter = ctx.session.counter ? ctx.session.counter : 0
    ctx.session.counter++
    ctx.reply(ctx.session.counter)
})

bot.launch()

I reviewed and I think the best solution in my opinion would be to add a small example to the documentation to extend Context.
Maybe like that?

import { Context, Telegraf } from 'telegraf';

import PostgresSession from 'telegraf-postgres-session';

interface SessionContext extends Context {

 session: any;

};

const bot: Telegraf<SessionContext> = new Telegraf(process.env.BOT_TOKEN as string);// Your Bot token here

bot.use((new PostgresSession({

	connectionString: process.env.DATABASE_URL,

		ssl: {

			rejectUnauthorized: false

		}

})).middleware());

bot.on('message', ctx => {

    ctx.session.counter = ctx.session.counter ? ctx.session.counter : 0

    ctx.session.counter++

    ctx.reply(ctx.session.counter)

})

bot.launch()

Yes, I guess that's right but you need to specify the context type in handler. Something like:
bot.on('message', async(ctx: SessionContext)=>{...});

I reviewed and I think the best solution in my opinion would be to add a small example to the documentation to extend Context.
Maybe like that?

import { Context, Telegraf } from 'telegraf';

import PostgresSession from 'telegraf-postgres-session';

interface SessionContext extends Context {

 session: any;

};

const bot: Telegraf<SessionContext> = new Telegraf(process.env.BOT_TOKEN as string);// Your Bot token here

bot.use((new PostgresSession({

	connectionString: process.env.DATABASE_URL,

		ssl: {

			rejectUnauthorized: false

		}

})).middleware());

bot.on('message', ctx => {

    ctx.session.counter = ctx.session.counter ? ctx.session.counter : 0

    ctx.session.counter++

    ctx.reply(ctx.session.counter)

})

bot.launch()

I hope that's will work

Done!

I reviewed and I think the best solution in my opinion would be to add a small example to the documentation to extend Context.
Maybe like that?

import { Context, Telegraf } from 'telegraf';

import PostgresSession from 'telegraf-postgres-session';

interface SessionContext extends Context {

 session: any;

};

const bot: Telegraf<SessionContext> = new Telegraf(process.env.BOT_TOKEN as string);// Your Bot token here

bot.use((new PostgresSession({

	connectionString: process.env.DATABASE_URL,

		ssl: {

			rejectUnauthorized: false

		}

})).middleware());

bot.on('message', ctx => {

    ctx.session.counter = ctx.session.counter ? ctx.session.counter : 0

    ctx.session.counter++

    ctx.reply(ctx.session.counter)

})

bot.launch()

But that's still didn't solve my problem hahahah I'm sorry. I still can't import it and use it in typescript because your library doesn't have the type declaration or not using typescript. Maybe I'll fork it and rewrite it on typescript)


fix: Add permissions to operator to delete ResourceQuota object on namespace

What type of PR is this?

/kind bug

What does this PR do / why we need it:
This PR ports the changes #223 into master branch.
Test acceptance criteria:
NA
How to test changes / Special notes to the reviewer:
Upgrade the operator from v1.2 to v1.3 and see that the resourcequota on openshift-gitops namespace is not deleted.
After this change it should be deleted.

/lgtm


Have you tried running these examples with Docker Compose?

Fig is now Docker Compose
Do you happen to know if you need to make any changes to adjust?
Cheers
Ajar

@Ajar-Ajar Good call, hadn't had this on my radar yet 😉 The transition went smoothly.


2.0什么时间能完成?

作者你好，helios2.0什么时间能够推出来？我们非常期待。A developer from China！

I was engaged in project development bank payment systems and Internet payment development team leader, we have to realize the payment evaluated by helios important part. For example: high reliability and long time keeplive concurrent requests notification and response network reliability. Including docking with c ++ core transaction module, so we hope to soon get realse version. The translation from google

Hello, I have version 2.1 can be used in a production environment yet?

Yessir! But I haven't documented the new APIs yet - take a look at https://github.com/helios-io/helios/blob/dev/benchmark/Helios.HorizontalScaling.Performance/Channels/TcpServerSocketChannelHorizontalScaleSpec.cs as an example

Great, we are ready to use “helios ” in key communications positions of payment systems , hoping it excellent performance.。translated from google!

Any tcp / tls example ip do? I hope to get your help!

Any tcp/ip tls example ? I hope to get your help!


Allow Cmd+ and Cmd- to change font size?

In MacOS gvim, Cmd+ and Cmd- increase or decrease the font size, while keeping the same font in other respects.  (Would this be easy to implement in Goneovim?)  I don't know whether there are analogous keymappings that would make sense in other OSes.  Thanks-

@mars0i
Hi :)
This functionality can be configured via vimscript or lua. The following is an example of lua configuration.
Note that the keynotation to be mapped needs to be adjusted depending on the keyboard language setting and the keyboard layout.
For example, on my PC (Cmd, +) is conveniently mapped as <D-;>. This is because on my PC I need to press [shift]+[;] for +.
Also, the following settings are quite appropriately conceived, so there is a lot of room for improvement :P
vim.keymap.set("n", "<D-+>", [[:lua guifontscale(1)<CR>]], { noremap = true })
vim.keymap.set("n", "<D-->", [[:lua guifontscale(-1)<CR>]], { noremap = true })
function guifontscale(n)
    if type(n) ~= "number" then
	return
    end

    local gfa = {}
    for c in vim.gsplit(vim.o.guifont, ":") do
        table.insert(gfa, c)
    end
    local buildnewgf = ""
    for k, v in ipairs(gfa) do
	if v:find("h", 1, true) == 1 then
	    fweight = ""
	    for w in vim.gsplit(v, "h") do
		if tonumber(w) == nil then
		    goto continue
		end
		wn = tonumber(w)
		wn = wn + n
		fweight = fweight .. tostring(wn)
		::continue::
	    end

	    buildnewgf = buildnewgf .. "h" .. fweight .. ":"
	else
	    buildnewgf = buildnewgf ..  v .. ":"

	end
    end

    local setcmd = "set guifont=" .. buildnewgf
    vim.cmd(setcmd)
end

Thank you!  I had no idea about how to do this.
This was the main thing that was still missing from Goneovim for me, so I'm very happy to have it working.
It turns out that on my Mac laptop Cmd-+ has to be entered as <D-=>. That makes sense since + is on the = key as the shift option.  That's actually the key that I have been pressing in MacOS gvim: Cmd-= , but it's easier to think of it as Cmd-+ .

@mars0i
Glad to see that it worked well for you.
I have also integrated the wiki page you previously created into the following tips.
https://github.com/akiyosi/goneovim/wiki/Tips#how-to-make-goneovim-closer-to-macvim

Ah, excellent.  Thanks!

I realized that I should add a point.  What your Lua script does is not identical to what Cmd+ and Cmd- do in MacVim.  In MacVim, when Cmd+ increases the font size, the window size is increased as well.  And Cmd- also decreases the window size.  So the number of lines and columns stays the same as one uses Cmd+ and Cmd- (unless border hits the edge of the screen, and then that border doesn't expand any more).
I didn't mention that earlier because I think that what your Lua script does might be better.  I think it depends on the situation.
But in Wiki section about emulating MacVim, maybe it would be worth mentioning that the Lua script does something a little bit different from MacVim--maybe something better, in fact.  (I could add that text if you wanted it.)

@mars0i
Thanks for pointing that out.
Perhaps an improvement to the lua script that more closely resembles the behavior of MavVim, or perhaps adding a note to the Wiki about the difference between the current lua script behavior and MacVim behavior would be a good idea.
Also, the Wiki is currently editable by any person, and I respect the ideas and contributions of those who edit the Wiki.
Perhaps a more straightforward implementation to achieve closer behavior would be to get the number of rows and columns in Neovim before the font size change and then perform set lines, set colums after the font size change?

Yes, that all makes sense.
Learning a tiny bit of nvim Lua so I can try that out ....

Thanks @akiyosi.  I've been using a font with no spaces in the name, so I wouldn't have noticed yet.


Docker image prom/alertmanager:v0.27.0 fails to parse webhook_url_file from msteams_config

What did you do?
I tried to use the latest Docker Image prom/alertmanager:v0.27.0 with a webhook_url_file in https://prometheus.io/docs/alerting/latest/configuration/#msteams_config, because the feature should be supported for 0.27.0 according to the Changelog.
What did you expect to see?
Prometheus should be able to read the URL from webhook_url_file.
What did you see instead? Under which circumstances?
The docker container displays the error and keeps restarting:
ts=2024-06-23T20:09:11.319Z caller=coordinator.go:118 level=error component=configuration msg="Loading configuration file failed" file=/etc/alertmanager/alertmanager.yml err="no msteams webhook URL provided"
This issue does not occur with prom/alertmanager:main, then the webhook_url_file is read successfully.
Environment

Alertmanager version:

alertmanager, version 0.27.0 (branch: HEAD, revision: 0aa3c2aad14cff039931923ab16b26b7481783b5)
  build user:       root@22cd11f671e9
  build date:       20240228-11:51:20
  go version:       go1.21.7
  platform:         linux/amd64
  tags:             netgo

Alertmanager configuration file:

...
receivers:
  # https://prometheus.io/docs/alerting/latest/configuration/#msteams_config
  - name: 'MicrosoftTeamsTEST'
    msteams_configs:
      - webhook_url_file: "/etc/alertmanager/secrets/webhook_test"
        send_resolved: true
...

I think there was a bug in 0.27.1 which prevents this from working (see https://github.com/prometheus/alertmanager/pull/3728). The fix should be in the next release. However, I'm not sure when that will be, so you might need to keep using the main image until 0.27.1 is released.

Funny enough, webhook_url_file also fails for the discord_config.


[feature] "generate getter/setter" source action for VS Code

This issue is a sibling of #5944 and #5946.
VS Code provides a "generate getter/setter" source action for Java.

This flow seems like it could translate quite well to Rust: just like Java we don't have a get or set keyword, but instead expose methods to access fields. Typing these out by hand, however, is not a great experience, and we could probably benefit a lot from being able to automatically generate getters and setters.
Which methods should be generated?
One difference with Java is that we track borrows, and that there's a difference between field_name, field_name_mut and set_field_name. For builders, variants that return self exist as well -- however I think builders are a code action category onto themselves.
Given a translation of the earlier Java code:
struct Person {
    name: String,
    address: String,
}

impl Person {
    pub fn name(&self) -> &String {
        &self.name
    }
}

The following suggestions should be shown:
[ ] Select the fields to generate getters and setters. (1 selected) [ OK ]
---------------------------------------------------------------------------
[x] name mut getter, setter
[ ] address getter, mut getter, setter

And if the name options is selected, the following code should be generated:
struct Person {
    name: String,
    address: String,
}

impl Person {
    pub fn name(&self) -> &String {
        &self.name
    }

    pub fn name_mut(&mut self) -> &mut String {
        &mut self.name
    }

    pub fn set_name(&mut self, name: String) {
        self.name = name;
    }
}

Even though it's unlikely anyone would want to expose all getter/setter methods for any given field, it's far easier to have them be generated by the IDE and delete the unused methods, than it is to write the methods by hand.

&String type is useless because it doesn't have more methods than &str. Same for &Vec<T>, where having Vec<T> I wouldn't even like the getter to return &[T], but better impl Iterator<Item = T> to constrain it more. I wonder if we can somehow make a special case for these.
Related: getset

IntelliJ Rust recently added support for this too. Though the flow seems slightly different than VS Code Java:

We actually have this now, thanks @yoshuawuyts !


DocumentSemanticTokensRequest always fail

Requesting semanic tokens does not work, however it used to work
Sending DocumentSemanticTokensRequest to the sourcekit-lsp ends up with unknown request: source.request.semantic_tokens (which is silenced in tests) with XCTSkip("semantic tokens request not supported by sourcekitd"). That is today's state.
In the past, probably before the https://github.com/apple/sourcekit-lsp/pull/912 server send WorkspaceSemanticTokensRefreshRequest with tokens, but also sending DocumentSemanticTokensRequest worked with tokens.
It seems something is missing that it no longer works (or what am I missing?)
I confirmed it works with sourcekit-lsp shipped with Xcode 15.1 (15C65), so that looks like regression to me.

Tracked in Apple’s issue tracker as rdar://120124113

DocumentSemanticTokensRequest requires a new sourcekitd that has the source.request.semantic_tokens request, which would require using a recent development snapshot from https://www.swift.org/download/#trunk-development-main and setting the SOURCEKIT_TOOLCHAIN_DIR environment variable to the downloaded toolchain.
We could maybe fallback the tokens from the syntax tree in this case though.

yes, wonder whether we can fallback to whatever was used pre-swift 9.10?

yes, wonder whether we can fallback to whatever was used pre-swift 9.10?

Not easily, there's a lot of back and forth that needs to happen for the old way of retrieving token. It would also mean we couldn't send syntactic_only in the open request, which in turn wouldn't allow us to cancel building the AST on a change.

Do you think we should close as wontfix?
The problem is that sourcekit-lsp requires toolchain 5.10 or newer and will fail when used with an earlier version of the toolchain.
Now, I'd like to know if there's any reasonable action to remove semantic tokens when an incompatible toolchain is detected. In that scenario server should not report semantic tokens capability available to the client. wdyt?

We should keep open. In the worst case we can fallback to tokens from the syntax tree. Or as you said, not report semantic tokens capability.

What’s your use case of using a newer sourcekit-lsp than sourcekitd? Generally, sourcekit-lsp is expected to be used with the sourcekitd it comes bundled with. Rename, for example, will also only work if sourcekit-lsp is used with a sourcekitd that supports it.

What’s your use case of using a newer sourcekit-lsp than sourcekit

I use forked sourcekit-lsp binary

So, just to make sure I understand correctly: You fork sourcekit-lsp from main, build it and use that version with sourcekitd from the latest Swift release?

Hi, after a bit of fiddling I got the semantic tokens to work in Neovim. I built sourcekit-lsp from source and ran it with the latest development toolchain (i. e. with environment variable SOURCEKIT_TOOLCHAIN_PATH="/Library/Developer/Toolchains/swift-latest.xctoolchain").
However, sourcekit-lsp currently does not announce that it supports semantic tokens so I had to add semanticTokensProvider to SourceKitServer (simply copy-pasted from SwiftLanguageServer).
I am not sure why there are multiple definitions for the server capabilities, could someone please explain?

sourcekit-lsp dynamically registers the semanticTokens capability here
https://github.com/apple/sourcekit-lsp/blob/d5b06c88ed1848ef65d8457ea2be0e9bef129659/Sources/SourceKitLSP/SourceKitServer.swift#L1215-L1219
The problem is that neovim doesn’t support dynamic capability registration. Fixing that by declaring all capabilities statically is something that’s on by mind already.

Wow I'm surprised neovim doesn't support this! I know of at least one other language server, gopls (Go), that works exactly the same way.


Crash

I found the following in my crash reporting service:

However, I'm using an old version (1.3.4) so maybe this is an issue that's already been fixed.  I'll update to 1.16.0.

Yes, this issue has been fixed in a recent version. I forget exactly when it was fixed, but you can see that the latest code handles this:
https://github.com/nolanlawson/emoji-picker-element/blob/69b2f81e551a74da52dc0030e2db8880cd4ff766/src/picker/utils/resetScrollTopIfPossible.js#L1-L10


Add Polish Documentation

Hi. First of all, really great idea & project!
Here is Polish version 🔥
https://github.com/mbiesiad/gulp/tree/pl_PL/docs
Changes here
Best wishes,

My pleasure! 🎉

@mbiesiad we are moving away from linking to translations because we've had to remove multiple from our docs when the author abandoned them. Would you rather submit them directly in a PR?

@phated good point. OK, sure. Stay in touch

I agree with you, but could you send to me some link about recommendations for this? I created this in this way, because of current readme & how it looks for 'Simplified Chinese documentation' / 'Korean documentation'.
https://github.com/gulpjs/gulp/tree/master/docs
Do I should create ie. readme-pl.md, 1-quick-start-pl.md etc? Or just to create new folder for pl-PL?
Best wishes,

@mbiesiad keeping everything in a pl_PL directory sounds good. Eventually our website will display the translations but docusaurus v2 doesn't have the new translation support working yet.

@phated thank you for your reply & suggestions. I changed this a little bit, is it OK now?

@mbiesiad this looks great! Are you planning to translate the rest of the documentation into Polish? How should we proceed?

Thanks a lot! Yup, I hope so. Please, keep in touch

@jakubrpawlowski My pleasure. Thank you! Good points. Fixed, improved. 🔥

Thank you both for this awesome work! I'm going to merge the other one since it includes these changes as well.


support add this repo as component (IDFGH-7672)

Split this repo into a component and an example which includes it as a submodule.
That way I don't have to copy/paste the code into my project, I can easily add this to my project as a submodule in /components.

Thanks for the great tips!

This tip from @igrr worked great.  I recommend adding this to the readme in this example.  I can do it with a PR if you want.
BTW, igrr's instructions said "adding an idf_component.yml file to one of your project's components", which I found to be slightly ambiguous.  I just added the idf_component.yml to my project's /main/ folder and then ran idf reconfigure and it worked.

The managed_component approach is working OK except there is this annoying thing that happens occasionally.  I never touched any of the files in /home/pabbott/repos/esp32-idf4/esp-eth-libesphttpd/managed_components/idf-flash-vendor-patches
And git does not report any changes (this folder is not in my version control).
But sometimes after a clean and rebuild I get this error:
-- Building ESP-IDF components for target esp32
Processing 1 dependencies:
[1/1] idf-flash-vendor-patches (d30546dc9903a40d0275f748185bd5a41be620da)
CMake Error at /home/pabbott/repos/esp32-idf4/tools/esp-idf/tools/cmake/build.cmake:432 (message):
  ERROR:
          Some components (idf-flash-vendor-patches) in the "managed_components" directory were modified         on the disk since the last run of the CMake. Content of this directory is managed automatically.
          If you want to keep the changes, you can move the directory with the component to the "components"         directory of your project.
          I.E. for "idf-flash-vendor-patches" run:
          mv /home/pabbott/repos/esp32-idf4/esp-eth-libesphttpd/managed_components/idf-flash-vendor-patches /home/pabbott/repos/esp32-idf4/esp-eth-libesphttpd/components/idf-flash-vendor-patches
          Or, if you want to discard the changes remove the ".component_hash" file from the component's directory.
          I.E. for "idf-flash-vendor-patches" run:
          rm /home/pabbott/repos/esp32-idf4/esp-eth-libesphttpd/managed_components/idf-flash-vendor-patches/.component_hash

Call Stack (most recent call first):
  /home/pabbott/repos/esp32-idf4/tools/esp-idf/tools/cmake/project.cmake:371 (idf_build_process)
  CMakeLists.txt:21 (project)

-- Configuring incomplete, errors occurred!
See also "/home/pabbott/repos/esp32-idf4/esp-eth-libesphttpd/build/CMakeFiles/CMakeOutput.log".
FAILED: build.ninja
/usr/bin/cmake -S/home/pabbott/repos/esp32-idf4/esp-eth-libesphttpd -B/home/pabbott/repos/esp32-idf4/esp-eth-libesphttpd/build
ninja: error: rebuilding 'build.ninja': subcommand failed
ninja failed with exit code 1

The error message is helpful and it's easy to fix.  But why is this happening?

Hi @phatpaul
So far, I wasn't able to reproduce your problem. When it will happen next time, could you please try running these commands and share the output:
ls -latR managed_components/idf-flash-vendor-patches
cat managed_components/idf-flash-vendor-patches/.component_hash
rm cat managed_components/idf-flash-vendor-patches/.component_hash
idf.py reconfigure
ls -latR managed_components/idf-flash-vendor-patches
cat managed_components/idf-flash-vendor-patches/.component_hash
python -m idf_component_manager --help

To check if there are any modified files and the version of the component manager.

@phatpaul Thank you for the details!
An interesting detail that your hash sum for commit d30546dc9903a40d0275f748185bd5a41be620da is different.
I've tried on a few systems and always got
9b3a0cc532241e93adb5c1f74ebaf84b4895c6c9c8e448c7065897d0494f0a3f
Could you provide more details about your system?
Linux distro, kernel (maybe uname -a output), what kind of filesystem are you using? Maybe some software that can hijack file system access?

Just a normal Ubuntu linux AFAIK.  xubuntu 20.04.  fs is ext4
$ uname -a
Linux lumilab01 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I'm running vscode.  I tried the same steps while vscode is not running, but the same issue happens.
Btw I have esp-idf as a git submodule in my project.  Here's a partial tree view (note /tools/esp-idf/)
$ tree -L 2
.
├── doc
├── esp-eth-libesphttpd
│   ├── build
│   ├── CMakeLists.txt
│   ├── components
│   ├── dependencies.lock
│   ├── main
│   ├── managed_components
│   │   └── idf-flash-vendor-patches
│   │       ├── CMakeLists.txt
│   │       ├── linker.lf
│   │       ├── xmc_lock_sr.c
│   │       └── xmc_lock_sr.h
│   ├── partitions.csv
│   ├── sdkconfig
│   ├── sourceme_IDF_ENV.sh
│   └── _START_IDF_ENV.cmd
├── readme.md
└── tools
    ├── check_submodules.py
    ├── esp-idf
    └── remote-capture.cmd

I'm doing a update for the documentation. After it's merged, this issue will be closed.
The issue above seems to be a IDF component manager issue, please find another please to discuss it, thanks! @phatpaul @kumekay


Title Valid Anagram

Description
Description An Anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once.
Domain
Data Structure
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

yes i have followed

/assign


add github.lancex.top

github mirror

It looks like it's already down. I'll keep an eye on it the next few days.

Looks like it disappeared soon after I opened the PR, after being up for at least a few weeks. Even better 👍
Will close this for now and re-open if I find it to be back up again.


Dead link on Getting started

Expected behavior
Shows Deploying guide
Actual behavior
404 Not Found
Steps to reproduce
Go open the getting started page and click the link for Deploying a Pulsar instance guide.

System configuration
N/A

Fix confirmed, thanks.


Update autocaler RBAC to accomodate machinepools support added upstream

This is needed to let the autoscaler to operate https://github.com/openshift/kubernetes-autoscaler/pull/256#issuecomment-1582621901 https://github.com/kubernetes/autoscaler/pull/4676

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

rebased to pick Red Hat Trusted App Pipeline  fix

/lgtm


MySQLContainer Random Port

Hi,
I write because, while trying to set up an Integration test with MySQLContainer, I noticed the port used is always random instead of the standard 3306. I attach a screenshot, in this case the random port assigned is 55040, here is the link to the code:
https://github.com/benkio/myTelegramBot/blob/ca5ee6db33455b65d3a49ebc70ab10ebbbd64d7f/botDB/src/it/scala/com/benkio/botDB/ITSpec.scala
Thanks in advance

I've just found a workaround by dynamically setting the DB Port via Environment Variable:
https://github.com/benkio/myTelegramBot/commit/67b57585c136a303b9d12511e0f1ad2a1ce177d8

@benkio it's not a bug, it's an intended behavior: https://www.testcontainers.org/features/networking/
From the host's perspective Testcontainers actually exposes this on a random free port. This is by design, to avoid port collisions that may arise with locally running software or in between parallel test runs.

Then I guess my solution is not actually a workaround, but rather the way to go.
I Close the issue


Added functionality for setLength method

'Fixing issue #32  set magnitude length'

Hi @mackv42, it seems that this repository is not currently maintained, so I started a fork and added your functionality there.
So now it's possible to run npm install @a-robu/victor --save and get the Victor.setLength function.


make failed

i'm trying to make the master branch, and then got following
$ make
test -d deps || ./rebar get-deps
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,[]},
                                 {rebar,main,1,[]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,757}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]},
                                 {init,do_boot,3,[]}]}}
Makefile:10: recipe for target 'deps' failed
make: *** [deps] Error 1

That failure suggests your Erlang installation does not support crypto and/or is not available from the paths in your shell environment.

Make sure your distribution has not defeated the point of the Erlang standard library and split Erlang into several packages. Check if there's an erlang-crypto (or something) package available, and install that as well.

Any further update on this issue?

OK, I am going to close this issue - please open a new one if you still need help. Thanks.


Update fluent search version to <IP_ADDRESS>

According to Fluent Search blog post, by the time PR #8362 created it is version <IP_ADDRESS>.
Relates to #8362

[x] I have read the Contributing Guide.

Please update hash and checkver too

What about checkver


chore: dw-lisbon-go to 0.0.1

chore: Promote dw-lisbon-go to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


One-click Login Not Working? Virus?

My one-click login doesn't seem to work, it did show as a false positive on windows defender which I tried to restore, would this causing it not to work?
I'm using the default au3

Windows Defender is giving a false positive for one click login. Not sure why it is triggering tho.
https://www.virustotal.com/#/url/50e70f6b777d2192d789f2efcc2d1dc73fc6fc0850a4be8a7a2e31ae6b8a9256/detection
By chance, are you the guy I helped with the same issue via Discord?


GH-2716: Fix minor typo in Handling Exceptions docs section

This PR fixes a minor typo in the docs: https://docs.spring.io/spring-kafka/docs/3.0.8/reference/html/#eh-summary.

Fixes #2716

Thanks!


Use question

I have the following test file:
<!DOCTYPE html>

  <link href="http://www.jsviews.com/samples/samples.css" rel="stylesheet" />

I was hoping that my test for (nickname == "Sue") would have produced:
Name: Robert (Goes by Bob)
Name: Susan (Hello Sue)
Instead I get
Name: Robert (Goes by Bob)
Name: Susan (Hello [object Object])
I tested in both Safari and Chrome with the same results.  Note: I did appended the 'http:' to the script tags' src for it to work locally.

You have
(Hello {{:nickname"}})

(extra ") instead of
(Hello {{:nickname}})

I assume that is the problem.

Wow, not my day.  Sorry.  It works great now!  Thanks for all hard work on jsrender.


feat(#110): object-does-not-match-filename lint

In this pull I've implemented new lint: object-does-not-match-filename, that issues warning defect in case top object name is different from the filename.
closes #110
History:

feat(#110): bad/good test cases
feat(#110): object-does-not-match-filename
feat(#110): move
feat(#110): passes
feat(#110): stronger XPaths
feat(#110): passes with children
feat(#110): allows good name with chidren
feat(#110): ignore in tests
feat(#110): program name

@maxonfjvipon please check

@maxonfjvipon updated. Take a look, please

@yegor256 take a look, please

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here.

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 6min).


sideEffects should be supported by default

https://webpack.js.org/guides/tree-shaking/#clarifying-tree-shaking-and-sideeffects

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


pod2text

I have just been made aware that scripts, at least shell scripts, can have their manpage built-in. See https://github.com/roehling/git-archive-all/blob/master/git-archive-all#L58-L60 pod2text path/to/git-archive-all.
our scripts could follow the same pattern

note2self: pod2text is part of perl, which we might or not have available
either take it as it is, or consider another solution


How to add Annotations to a Repositories in Harbor 2.0.2 ?

Now I have a project name "google_containers" in Harbor 2.0.2 , the "google_containers" project contain a repositories name "spartakus-amd64" . Now I want to add Annotations to "spartakus-amd64" .
How to add Annotations to "spartakus-amd64" ？
Can Annotations be added to the command "docker push" when using the "docker push" command to push a repository to Harbor?

Harbor and Docker aren't really related to the OCI image-spec. You should contact Harbor with support requests.


Update Studio settings section checkbox copy

Notes from call:
Reverse the setting call it offline mode
Studio Settings - show settings (link to docs)/open config (opens user config) buttons


[Query][sbi4onnx][Batch size]modification INPUT batch size will change OUTPUT batch size

Issue Type
Feature Request
Model Name
Fast-BEV onnx model :https://github.com/Sense-GVT/Fast-BEV
ONNX URL
https://github.com/Sense-GVT/Fast-BEV
Description
Hi PINTO0309,
Thanks for your work, first.
I have two question to query
1.I found if we change the INPUT BATCH size as 8, the OUTPUT BATCH size also will change to 8
the command as below
(base) joyoki@joyoki:~/fast-bev$ sbi4onnx -if fast-bev_orig.onnx -of fast-bev_orig_bat ch8.onnx -ics 8
i think this is not right, could you help double check, if we could change INPUT batch size and OUTPUT batch size Separated by need, such as
sbi4onnx -if fast-bev_simply.onnx -ics 8 -of fast-bev_simply_batch6.onnx -ics 1
2.I had checked some document, they both said:Modifying the batch size does not affect accuracy, only affects training speed and efficiency, is right?
orig model:https://drive.google.com/file/d/1gteHTEEJTwwMVYgJxO7zYrnHClL7lkTG/view?usp=share_link

Modified Model:https://drive.google.com/file/d/1x2Z_2psE-oQiqGuFK3OzXwrb0sitMMBE/view?usp=share_link

Thanks
Relevant Log Output
INFO: Finish!,
no error
URL or source code for simple inference testing code
Model link:https://drive.google.com/drive/folders/1NH0BFnBKD7xo6tbWHewSz8frZnxS_7cc?usp=sharing

All Google Drive links are private.

Sorry, please try this link,:https://drive.google.com/drive/folders/1NH0BFnBKD7xo6tbWHewSz8frZnxS_7cc?usp=sharing
i  will also will update the above link
Thanks

Since the zero dimensionality is destroyed in the middle of the model, the zero dimensionality after this Reshape has no batch size significance.

2.I had checked some document, they both said:Modifying the batch size does not affect accuracy, only affects training speed and efficiency, is right?

Accuracy degradation would occur if the model had no concept of batch size, as this model does, or if the model actively destroys batch size. You should understand the structure of the model before asking questions. And I am not really interested in topics that have nothing to do with this repository.


additional unified inbox?

Hi there,
I used (Outlook-)Mail in my Windows Phone, where I had the possibility to group several inboxes of different private mail-accounts into one nameable 'parent'-account. With the possibility to add a corresponding private-email-icon to the startup-screen.
After switching to an android-phone, I found this ability to be realized in k-9 by looking at the unified inbox :-)
But in my Windows-Phone-App I also had the possibility to group several additional inboxes of different business-mail-accounts into another nameable 'parent'-account. With the possibility to add a second corresponding business-mail-icon to the startup-screen.
Unfortunately I can not find this ability in k-9?!
It would be great to have the possibility to group the installed mail-accounts, not only in one single unified inbox, but in several individual inboxes - with the option for an account to be listed in parent-account-1, ~-2, or ~-3...
And with the possibility to add different icons to android's homescreen providing the ability to startup k-9 by opening a predefined sub- or parent-mailaccount.
Will this option perhaps be realized in future versions?
Yours
André

There are no plans to add such a feature in the near future.


Messaging updates and format

Messaging updates, format, some minor code changes that should not effect functionality.

hello, there's an error on one of the things :/

Yeah, fixing that this morning. I updated the command with the misspelling
but some reason it is still stuck on it.
Shawn Melton | Microsoft PowerShell MVP
https://mvp.microsoft.com/en-us/PublicProfile/5002856?fullName=Shawn  Melton
twitter https://twitter.com/wsmelton | LinkedIn
https://www.linkedin.com/in/wshawnmelton
On Tue, Feb 20, 2018 at 10:49 AM, Chrissy LeMaire<EMAIL_ADDRESS>wrote:

hello, there's an error on one of the things :/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/pull/3269#issuecomment-367041029,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKr2m13pOaZ3TYs0Amk8ZoXXIPOaXlUaks5tWvd_gaJpZM4SKI1I
.


The connection to the terminal's pty host process is unresponsive, the terminals may stop working.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.70.2 (user setup)
OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:

Install VS Code
Try to install an extension. For example "Svelte for VS Code"

I tried to clean remove VS Code with no results. It's inusable

/duplicate https://github.com/microsoft/vscode/issues/130320

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Change import "RCTBridgeModule.h" to <React/RCTBridgeModule.h>

This change has been necessary for me. Happens to something else?

Thanks for the report, @leandro-a-silva. What version of react native are you using, and how did you install the library?

I had the same issue using:

React Native 0.44.0
React 16.0.0-alpha.6
bugsnag-react-native 1.3.0

Changing the import fixed the issue for me as well.

@tysoncadenhead bugsnag-react-native@1 supports React Native v0.39 and below. Use bugsnag-react-native@2 for newer versions (though we may have a new major version for RN v0.46, pending https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8). There was a breaking change in React Native v0.40 which required all modules to make a breaking change. This was resolved in https://github.com/bugsnag/bugsnag-react-native/pull/60/commits/f0e2dd86af82ce450b16700ce4afc1f377eefbaf


Retrieve token usage from LLMs requests

🚀 The feature
Retrieve the token usage from LLMs requests like prompt, completion, and total number of tokens. Currently embedchain only returns the raw message from LLMs.
Motivation, pitch
Since many paid LLMs charge by token usage, it is hard to predict and calculate the costs of using embedchain with a LLM like OpenAI. We might need to calculate costs per customer, for example, and better control the usage of product.

Up

hey @jrobertogram thanks for highlighting this. We will get back shortly here.