No connection on local device.

hey, thanks for the awesome tally server just having an issue with the GPO Listener.
I am running the GPO listener on the same raspberry pi 4 I'm running the Tally Arbiter server on. I am not currently able to get the two to connect. The terminal says it has connected when running the .py file (it says that for every IP, even dead ones) but no listener appears in the server.
I've tried the IP and hostname in the config file and nothing seems to be coming up. Is this due to them being on the same machine?
I have also tried running the GPOListener on a PiZero separately to the server to no avail either.
Any help on this matter would be great.

solved, used the blink(1) .py file instead and changed all the blink library stuff to use the gpiozero library instead and set it to <IP_ADDRESS> 4455. works a treat, and with multiple instances running at startup. Thanks again, this is a great project!

This seems like some problem with python socket.io library. Today I'm trying to use this and I'm getting Unable to connect to Tally Arbiter server: <IP_ADDRESS> 4455 error message, but in Wireshark I can see that it connects successfully (HTTP 200) to http://<IP_ADDRESS>:4455/socket.io/?transport=polling&EIO=4&t=1607777162.4440136, then Arbiter responds with 96:0{"sid":"WYvgVeaffIQXC2oCAACe","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":5000}2:40 and then GPOListener (socketio) disconnects.
Not sure the reason for this, going to dig deeper.


MacOS cannot find libadwaita

I am trying a simple window and trying to use Adwaita. The error I get when running "nim c..." is:
ld: library 'adwaita-1' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have GTK4 and libAdwaita installed via brew. The code for the app is simple:
import owlkettle
import owlkettle/adw

viewable App:
    text: string

method view(app: AppState): Widget =
    result = gui:
        Window:
            title = "Simple Window"

adw.brew(gui(App()))

If I use GTK4 itself by removing the "adw.brew..." and just using "brew...", and removing the adw import the code runs fine.
pkg-build shows the following output when running "pkg-config --libs libadwaita-1"
-L/opt/homebrew/Cellar/libadwaita/1.5.2/lib -L/opt/homebrew/Cellar/gtk4/4.14.4/lib
-L/opt/homebrew/Cellar/pango/1.54.0/lib -L/opt/homebrew/Cellar/harfbuzz/9.0.0/lib
-L/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/lib -L/opt/homebrew/Cellar/cairo/1.18.0/lib
-L/opt/homebrew/Cellar/graphene/1.10.8/lib -L/opt/homebrew/Cellar/glib/2.80.4/lib
-L/opt/homebrew/opt/gettext/lib
-ladwaita-1 -lgtk-4 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lgdk_pixbuf-2.0
-lcairo-gobject -lcairo -lgraphene-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl

Am I doing something wrong or is MacOS not supporting Adwaita, or any other clues?
Thanks in advance!

It seems like the shared library file is missing. From the pkg-config output I would assume that it is supposed to be in /opt/homebrew/Cellar/libadwaita/1.5.2/lib. Does this folder contain the shared library? Can you compile & link libadwaita applications written in C using gcc?

The dynlib is in that location, so I am assuming this is correct? (I am on Apple Silicon, so not sure if that's relevant or not here.)
Contents of /opt/homebrew/Cellar/libadwaita/1.5.2/lib
drwxr-xr-x   6 <.....>  <...>      192 Jul 23 09:47 .
drwxr-xr-x  13 <.....>  <...>      416 Jul 23 09:47 ..
drwxr-xr-x   3 <.....>  <...>       96 Jun 28 12:14 girepository-1.0
-r--r--r--   1 <.....>  <...>  1871184 Jul 23 09:47 libadwaita-1.0.dylib
lrwxr-xr-x   1 <.....>  <...>       20 Jun 28 12:14 libadwaita-1.dylib -> libadwaita-1.0.dylib
drwxr-xr-x   3 <.....>  <...>       96 Jul 23 09:47 pkgconfig

I have not tried using gcc to link anything as this is my first foray into GTK.

Alright, I tested with a sample Adwaita program (below) in plain C. The program compiled and ran fine with the following compile command:
gcc $(pkg-config --cflags libadwaita-1) -o libadwaitatest-0 libadwaitatest-0.c $(pkg-config --libs libadwaita-1)

However, the nim compiler uses clang. This may be the issue?
Here is the test program I compiled and ran (libadwaitatest-0.c):
#include <adwaita.h>

static void
activate_cb (GtkApplication *app)
{
  GtkWidget *window = gtk_application_window_new (app);
  GtkWidget *label = gtk_label_new ("Hello World");

  gtk_window_set_title (GTK_WINDOW (window), "Hello");
  gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);
  gtk_window_set_child (GTK_WINDOW (window), label);
  gtk_window_present (GTK_WINDOW (window));
}

int
main (int   argc,
      char *argv[])
{
  g_autoptr (AdwApplication) app = NULL;

  app = adw_application_new ("org.example.Hello", G_APPLICATION_FLAGS_NONE);

  g_signal_connect (app, "activate", G_CALLBACK (activate_cb), NULL);

  return g_application_run (G_APPLICATION (app), argc, argv);
}

OK, I found the problem! But I don't know the fix.
The issue is that the libadwaita library path is NOT included in the list of library paths when compiling. Here is a snippet that shows the library paths from the compilation using nim and Adwaita:
-L/opt/homebrew/Cellar/gtk4/4.14.4/lib
-L/opt/homebrew/Cellar/pango/1.54.0/lib
-L/opt/homebrew/Cellar/harfbuzz/9.0.0/lib
-L/opt/homebrew/Cellar/gdk-pixbuf/2.42.12/lib
-L/opt/homebrew/Cellar/cairo/1.18.0/lib
-L/opt/homebrew/Cellar/graphene/1.10.8/lib
-L/opt/homebrew/Cellar/glib/2.80.4/lib
-L/opt/homebrew/opt/gettext/lib
-lgtk-4
-lpangocairo-1.0
-lpango-1.0
-lharfbuzz
-lgdk_pixbuf-2.0
-lcairo-gobject
-lcairo
-lgraphene-1.0
-lgio-2.0
-lgobject-2.0
-lglib-2.0
-lintl
-L/opt/homebrew/Cellar/cairo/1.18.0/lib
-lcairo
-llibadwaita-1
-ldl

Notice that "-llibadwaita-1" is in the list of libraries, but the path is not.
Adding the following will result in a successful compilation:
-L/opt/homebrew/Cellar/libadwaita/1.5.2/lib

What I don't know is why nim isn't adding this.


apiListing not empty and no document to write

Hi,
i am facing to an issue, the ApiListing is correct but nothing to write why ? (with the SpringMvc reader, the ApiListing is wrong (only the first is take into account)
Any idea ?
Best regards
Bruno
[INFO] documentSource() : [ApiListing(v1,1.2,http://gcom/api,/sales bus,List(),List(),List(),List(),List(),None,Some(sales endpoint for internal use only),0), ApiListing(v1,1.2,http://g.com/api,/actor bus,List(),List(),List(),List(),List(),None,Some(Actor endpoint for internal use only),0), ApiListing(v1,1.2,http://gds.com/api,/actor,List(),List(),List(),List(),List(),None,Some(Actor endpoint),0)]
[INFO] prepareMustacheTemplate
for ApiListing doc
[INFO] outputTemplate.getApiDocuments().isEmpty()true
[WARNING] nothing to write.

it is my fault, the methods aren't public


[Feature Request] Party Members Only, Grow by party size

I'd love for the meter to show me all of my party members, and only my party members.
My ideal layout would be two boxes:

Party Bars

1 column, 1-12 rows
Party only, potentially with pets optional
A button to toggle between Default (DPS with Party Sort), DPS, HPS, and Enmity.

Other Allied PCs

4 columns, 4 rows (16 players)
used for alliance members in Alliance Raids and Frontlines, invisible outside such content.

No pets, no NPCs.

Any word on this? This should be standard!

I third this notion of sort by party only!


Dependencies Details

Dear Akara,
Awesome work you have here.
Having gone through all the posted issue, really appreciate if you can add the detail version of the following dependencies.
mne
matplotlib
scikit-learn
scipy
%%%%%%%
Ubuntu 16.04
CUDA toolkit 8.0 and CuDNN v5
Python 2.7
tensorflow-gpu (0.12.1)
numpy (1.11.1)
pandas (0.18.1)
I notice many report were mne-related issue (e.g., here, here)
Thanks in advance

I have committed the version from my virtual environment. Let me know if this does not work.

You can see from the README (I have updated it).


modem: gsm_ppp: Adding power key sequence for Quectel and possibly other modems

Is your enhancement proposal related to a problem? Please describe.
Some modems like Quectel has a power key pin that requires a special sequence to power on or off the modem. The current gsm_ppp doesn't take care of that. With this change the gsm_ppp driver could increase its coverage to at least the Quectel EC2X series.
Describe the solution you'd like
I'm suggesting that this power on sequence to be added to gsm_ppp_start & power off sequence to be added to gsm_ppp_stop such that the on or off of the driver can be controlled by the driver itself instead of application.
Describe alternatives you've considered
Creating another driver based on the current gsm_ppp but for device that requires power on/off sequence is also possible, but I'm not sure if this is the right way going forward as that might end up having different PPP drivers with only minimal differences.
Additional context
I tested ARM's mbed-os for a short while before I decided to move on to Zephyr. I'm using Quectel EC21 and in mbed-os the EC21 is basically plug and play, the EC2X driver only contains some AT commands and power on/off sequence.

All enhancements are welcome so if you have a solution for this issue, just send a PR. People can then review this and comment.

I'd love to try it, but how should I use the pin from dts without dts binding file?


ABOUT 3DHP

Hi, Great Job.  I want to ask why my 3DHP dataset doesn't have a valid_frame metric. Is it because I didn't process the dataset, or because my downloaded dataset has an error. Looking forward to your reply, thank you very much!
Finally, congratulations, your new job has been accepted by iccv2023, which I havenoticed long on. Great job!

As stated in the readme, if you want to get the PCK and AUC metrics on this dataset, you also need to download the original dataset from the official website. After downloading the dataset, you can place the TS1 to TS6 folders in the test set under the ./3dhp_test folder in this repo.  Because the valid_frame is provided in ./TS1~6/annot_dat.mat.

thanks


participate->home not required, fixes #2

@Osmose @pmclanahan r?
Note that the Schema page will pick this up by automatically reading this url.

r+


FIX - Add no-docker argument to build command

This PR changes the npm run build command to additionally build docker images. You can prevent docker-images from being built by using npm run build no-docker.

@treygriffith you can view it here: https://github.com/sparkswap/docs/pull/6


net: Dial with specified source address selects wrong scoped destination address

When running TestDialRoutingToBlackhole in golang.org/cl/12561, we see the following on various platforms:
# sudo GODEBUG=netdns=go go test -v -run=Blackhole
=== RUN   TestDialRoutingToBlackhole
installing [route add -host -inet6 2404:6800:4004:807::1011/128 ::1 -blackhole]
installing [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
installing [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
installing [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
installing [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
installing [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
uninstalling [route add -host -inet6 2404:6800:4004:807::1011/128 ::1 -blackhole]
uninstalling [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
uninstalling [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
uninstalling [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
uninstalling [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
uninstalling [route add -host <IP_ADDRESS>/32 <IP_ADDRESS> -blackhole]
--- FAIL: TestDialRoutingToBlackhole (9.25s)
	dial_unix_test.go:58: #0/0: elapsed 504.732193ms for {500ms 0001-01-01 00:00:00 +0000 UTC [240f:6d:1ced:1:815b:276a:fe81:7727]:0 false 0 0}
	dial_unix_test.go:58: #0/1: elapsed 504.187842ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:66: #0/1: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:58: #0/2: elapsed 505.047238ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:66: #0/2: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:58: #0/3: elapsed 502.103169ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:66: #0/3: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:58: #0/4: elapsed 503.668158ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:66: #0/4: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:58: #0/5: elapsed 502.566501ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:66: #0/5: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 false 0 0}
	dial_unix_test.go:58: #1/0: elapsed 502.806944ms for {500ms 0001-01-01 00:00:00 +0000 UTC [240f:6d:1ced:1:815b:276a:fe81:7727]:0 true 0 0}
	dial_unix_test.go:58: #1/1: elapsed 503.798456ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:66: #1/1: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:58: #1/2: elapsed 504.844686ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:66: #1/2: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:58: #1/3: elapsed 505.069618ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:66: #1/3: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:58: #1/4: elapsed 503.374228ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:66: #1/4: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:58: #1/5: elapsed 501.865917ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:66: #1/5: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 0 0}
	dial_unix_test.go:58: #2/0: elapsed 502.118066ms for {500ms 0001-01-01 00:00:00 +0000 UTC [240f:6d:1ced:1:815b:276a:fe81:7727]:0 true 1ns 0}
	dial_unix_test.go:58: #2/1: elapsed 502.060709ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:66: #2/1: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:58: #2/2: elapsed 501.901003ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:66: #2/2: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:58: #2/3: elapsed 504.841677ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:66: #2/3: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:58: #2/4: elapsed 504.515092ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:66: #2/4: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:58: #2/5: elapsed 500.103138ms for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
	dial_unix_test.go:66: #2/5: dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80: connect: no route to host for {500ms 0001-01-01 00:00:00 +0000 UTC <IP_ADDRESS>:0 true 1ns 0}
FAIL

"dial tcp <IP_ADDRESS>:0->[2404:6800:4004:807::1011]:80" looks clearly wrong.

/cc @pmarks-net

This issue would not be critical for go1.5 because it implements new Dial using connect-by-name method that tries each IP address until one succeeds.

Looks like there are two problems here:

LocalAddr is a single value, when it should be a mapping from destination prefix to source address.  But taking a step back, isn't source address selection supposed to be the kernel's job?
If you specify an IPv4 source but connect to an IPv6 destination (or vice versa), the failure requires a timeout to elapse.  Instead, Dial should either filter out incompatible destinations, or ignore LocalAddr when using an incompatible destination.

But taking a step back, isn't source address selection supposed to be the kernel's job?

I don't think so. If the net package abandons taking that responsibility, users could not implement an application which needs to be run on multi-homed nodes. I think that source and/or destination address selection is part of IP routing, and we've introduced the feature for fancy connect-by-name method in go1.5. Seems like we need to make the feature work correctly for both [dst:name, src:literal] and [dst:name, src:wildcard] cases.


Getting exception when enabling analytics in WSO2 APIM 4.0.0

I followed the documentation to enable analytics in APIM 4.0.0. After setting up and invoking api getting this error.

ERROR - ParallelQueueWorker Builder instance is not duly filled. Event building failed org.wso2.am.analytics.publisher.exception.MetricReportingException: keyType is missing in metric data. This metric event will not be processed further. 	at org.wso2.am.analytics.publisher.reporter.cloud.DefaultResponseMetricEventBuilder.validate(DefaultResponseMetricEventBuilder.java:61) ~[org.wso2.am.analytics.publisher.client_1.0.1.jar:?] 	at org.wso2.am.analytics.publisher.reporter.AbstractMetricEventBuilder.build(AbstractMetricEventBuilder.java:32) ~[org.wso2.am.analytics.publisher.client_1.0.1.jar:?] 	at org.wso2.am.analytics.publisher.reporter.cloud.ParallelQueueWorker.run(ParallelQueueWorker.java:56) [org.wso2.am.analytics.publisher.client_1.0.1.jar:?] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_292] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_292] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_292] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_292] 	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]

Closing Since the issue has been stale for a long time.


HtmlUnit caches javascript file?

I am updating the javascript on the remote system where I am running my java class which uses HtmlUnit to return the results from the javascript file.  I have modified the javascript with a simple text change and it is not being shown when I run the test.  Does HtmlUnit store a copy of the javascript anywhere or in /tmp directories?

As far as i know - no.
Maybe some infrastructure component in between?

As far as i know - no.
Maybe some infrastructure component in between?

Hope you found the reason. Will close this for now. Please open a new one if there is something i have to look at.

Hope you found the reason. Will close this for now. Please open a new one if there is something i have to look at.

Yes, OK to close.  For now I am restarting the entire subsystem when I make javascript changes.  Just restarting the one server in the subsystem did not clear things.  I found this statement but nothing more on any details on what this person saw for caching -
https://stackoverflow.com/questions/10691638/htmlunit-slower-than-gui-browser - “HTMLUnit does actually cache the pages”

Yes, OK to close.  For now I am restarting the entire subsystem when I make javascript changes.  Just restarting the one server in the subsystem did not clear things.  I found this statement but nothing more on any details on what this person saw for caching -
https://stackoverflow.com/questions/10691638/htmlunit-slower-than-gui-browser - “HTMLUnit does actually cache the pages”


Error compiling http example

I compiled some of the other examples and they compiled properly. But the http example does not compile. The js to c++ conversion works fine but the c++ compilation gives error. I have tried both on Ubuntu 18.04(g++ 7.5.0) and Windows(MingW) and error occurs on both.Please check if it compiles with the latest version of nectarjs on your computer.

Hi @bil-ash ,
Thank you for reporting the issue, we just finished a big refactoring that impacted the http example, i will update it soon,
Thx

Please fix the http example before adding new features (like thread)

Hi @bil-ash ,
Corrected in 3e7aa75 and v0.7.94, give me your feedback.
I will update this module soon to make it more performant

Even with the latest version of nectarjs, I am getting cpmpilation errors on both Ubuntu and Windows.Attaching underneath the error log on Ubuntu-
In file included from /mnt/d/spc/njs/.nectar/1bpyl/lib/njs-http.h:28:0,                  from /mnt/d/spc/njs/.nectar/1bpyl/srv.cpp:49: /mnt/d/spc/njs/.nectar/1bpyl/lib/httplib.h: In function ‘std::__cxx11::string httplib::detail::if2ip(const string&)’: /mnt/d/spc/njs/.nectar/1bpyl/lib/httplib.h:2079:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:      if (ifa->ifa_addr && ifn == ifa->ifa_name) {                                       ^~~~~~~~ In file included from /usr/include/c++/7/string:52:0,                  from /mnt/d/spc/njs/.nectar/1bpyl/srv.cpp:24: /usr/include/c++/7/bits/basic_string.h:6043:5: note: candidate 1: bool std::operator==(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]      operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,      ^~~~~~~~ In file included from /mnt/d/spc/njs/.nectar/1bpyl/njs.h:96:0,                  from /mnt/d/spc/njs/.nectar/1bpyl/srv.cpp:37: /mnt/d/spc/njs/.nectar/1bpyl/operator.h:517:10: note: candidate 2: NJS::VAR operator==(NJS::VAR, T) [with T = char*]  NJS::VAR operator== (NJS::VAR _left, T right)
The log for error on Windows is very long so I am not attaching here.

thank you for your feedback,
what is your gcc/clang version ?

As mentioned in the first comment of the issue,g++7.5.0

Could you try with gcc9 or gcc10 ?

I will see if it is possible to update gcc on my side. I shall inform you by tomorrow

For Windows you can find ready to use binaries here: http://winlibs.com/

I try on linux with gcc7, this is just a warning, compilation is fine
you can try to directly run the compiled file with --run flag

I am extremely sorry,I did not notice that on Ubuntu the executable was generated. Actually I first tried on Windows where it did not compile(most probably due to old MinGW).Then I tried on Ubuntu,but did not notice that the log was for warning and not error and also that the executable was actually generated.
Since the issue has been resolved,I am closing it.


Add improved scene support to input number integration

Description:
This adds improved scene support to the input_number integration.
This is my first PR to Home Assistant, any feedback is appreciated!
Related issue (if applicable): fixes #26969
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the [development checklist][dev-checklist]

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Hi @abstrakct,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Great, thanks for the welcome! I'll be submitting more pull requests soon. I've been using HA for about a year, it's an amazing piece of software, and it feels nice to finally contribute :)


feature: Add support for doublewidth Nerd Font icons

Did you check the docs?

[X] I have read all the todo-comments.nvim docs

Is your feature request related to a problem? Please describe.
Please read https://github.com/neovim/neovim/issues/29496 - it describes patch for Neovim which marks Nerd Font icons doublewidth and this result in breaking your plugin (described in details in https://github.com/neovim/neovim/issues/29496#issuecomment-2194662883).
Describe the solution you'd like
Not sure is mentioned in linked comment fix based on 'ambiwidth' vim option will works, but please consider some solution to the issue.
Describe alternatives you've considered
Manual copy&paste of default icons setup into own custom config and removing extra spaces after icons works. But it's not really convenient for new users who don't want to customize used icons.
Additional context
Sorry, I havn't read all the todo-comments.nvim docs - it's not relevant to the issue, but I had to check the box to submit.

I don't really understand any of this.

To make doublewidth Nerd Font icons work in Neovim we should mark their codepoints as doublewidth:
-- Fix icon width for Nerd Fonts v3.2.1.
vim.fn.setcellwidths {
    { 0x23fb, 0x23fe, 2 }, -- IEC Power Symbols
    { 0x2665, 0x2665, 2 }, -- Octicons
    { 0x2b58, 0x2b58, 2 }, -- IEC Power Symbols
    { 0xe000, 0xe00a, 2 }, -- Pomicons
    { 0xe0b8, 0xe0c8, 2 }, -- Powerline Extra
    { 0xe0ca, 0xe0ca, 2 }, -- Powerline Extra
    { 0xe0cc, 0xe0d7, 2 }, -- Powerline Extra
    { 0xe200, 0xe2a9, 2 }, -- Font Awesome Extension
    { 0xe300, 0xe3e3, 2 }, -- Weather Icons
    { 0xe5fa, 0xe6b5, 2 }, -- Seti-UI + Custom
    { 0xe700, 0xe7c5, 2 }, -- Devicons
    { 0xea60, 0xec1e, 2 }, -- Codicons
    { 0xed00, 0xefce, 2 }, -- Font Awesome
    { 0xf000, 0xf2ff, 2 }, -- Font Awesome
    { 0xf300, 0xf375, 2 }, -- Font Logos
    { 0xf400, 0xf533, 2 }, -- Octicons
    { 0xf0001, 0xf1af0, 2 }, -- Material Design
}

With this setup todo-comments (using it default config) show error on loading plugin:
Failed to run `config` for todo-comments.nvim

Vim:E239: Invalid sign text: 

# stacktrace:
  - /todo-comments.nvim/lua/todo-comments/config.lua:141 _in_ **signs**
  - /todo-comments.nvim/lua/todo-comments/config.lua:134 _in_ **_setup**
  - /todo-comments.nvim/lua/todo-comments/config.lua:95 _in_ **setup**

This happens because you define keywords elements with extra space after an icon. When icon itself became doublewidth that extra space makes sign value too long (3 cells instead of 2) - which result in above error.
I propose to add a check for actual icon width before defining keywords and add/remove that extra space after an icons depending on check result.

Here is example implementation:
local function fix_sign_width(keyword)
    local code = vim.fn.char2nr(keyword.icon, true)
    for _, value in ipairs(vim.fn.getcellwidths()) do
        if value[1] <= code and code <= value[2] and value[3] > 1 then
            return
        end
    end
    keyword.icon = keyword.icon .. ' '
end

---@param opts TodoOptions
local function fix_icons(opts)
    for _, keyword in pairs(opts.keywords) do
        fix_sign_width(keyword)
    end
end

--- Example:

-- Fix icon width for Nerd Fonts v3.2.1.
vim.fn.setcellwidths {
    { 0x23fb, 0x23fe, 2 }, -- IEC Power Symbols
    { 0x2665, 0x2665, 2 }, -- Octicons
    { 0x2b58, 0x2b58, 2 }, -- IEC Power Symbols
    { 0xe000, 0xe00a, 2 }, -- Pomicons
    { 0xe0b8, 0xe0c8, 2 }, -- Powerline Extra
    { 0xe0ca, 0xe0ca, 2 }, -- Powerline Extra
    { 0xe0cc, 0xe0d7, 2 }, -- Powerline Extra
    { 0xe200, 0xe2a9, 2 }, -- Font Awesome Extension
    { 0xe300, 0xe3e3, 2 }, -- Weather Icons
    { 0xe5fa, 0xe6b5, 2 }, -- Seti-UI + Custom
    { 0xe700, 0xe7c5, 2 }, -- Devicons
    { 0xea60, 0xec1e, 2 }, -- Codicons
    { 0xed00, 0xefce, 2 }, -- Font Awesome
    { 0xf000, 0xf2ff, 2 }, -- Font Awesome
    { 0xf300, 0xf375, 2 }, -- Font Logos
    { 0xf400, 0xf533, 2 }, -- Octicons
    { 0xf0001, 0xf1af0, 2 }, -- Material Design
}

---@type TodoOptions
local opts = {
    keywords = {
        FIX = { icon = '' },
        TODO = { icon = '' },
        HACK = { icon = '' },
        WARN = { icon = '' },
        PERF = { icon = '' },
        NOTE = { icon = '' },
        TEST = { icon = '󰝖' },
    },
}
fix_icons(opts)
vim.print(opts)

Can you give a repro that breaks todo-comments?

To repro just add that vim.fn.setcellwidths call before loading todo-comments.

bump

Related: https://github.com/neovim/neovim/pull/30014

bump

bump


feat: modify spacing and overflow in the DrawerDescription component

Overview
I've adjusted the DrawerDescription component to enhance its usability when content overflows. Specifically, I've made the component scrollable and refined the spacing by replacing y-axis paddings with margins for better visual separation during scrolling.
Changes

Made the DrawerDescription scrollable by setting height and overflow classes
Changed the y-axis paddings with margins
Added break-words and text-wrap for extremely long words

Screenshots or videos
https://github.com/Tascurator/tascurator-frontend/assets/124953279/5587a190-87db-461a-9a75-463781ef50cf
Assignee Checklist:

[x] The base branch is correct (no accidental merges)
[x] The branch name follows our branch naming rules
[x] The PR title follows our PR title rules
[x] My code follows our coding style
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings or errors in the console

Reviewer Checklist:

[ ] Code readability and simplicity
[ ] Follows best practices and coding standards
[ ] Understandable and maintainable code

@yuki-92c Thank you for the review.

Can I ask how to check the scroll feature? In my environment, I cannot check it. I use the code below.

That's because only the content wrapped in the DrawerDescription can be scrollable if it's overflowing.
Could you re-check the behavior with the code below and see if it's working for you?
      <Drawer>
        <DrawerTrigger asChild>
          <Button>Open Drawer</Button>
        </DrawerTrigger>
        <DrawerContent>
          <DrawerTitle>Login</DrawerTitle>
          <DrawerDescription>
            aaaa hausidfhauisdhfui uahsdfuiasshfuisudf huafihwuifhuih heruw
            hewur wheurhuwehurh wheur hwu rhwue iewufh nsjfhwuieru hsudfh
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
          </DrawerDescription>
          <DrawerFooter>
            <DrawerClose asChild>
              <Button>Close</Button>
            </DrawerClose>
            <Button>Save</Button>
          </DrawerFooter>
        </DrawerContent>
      </Drawer>

@yuki-92c Thank you for the review.

Can I ask how to check the scroll feature? In my environment, I cannot check it. I use the code below.

That's because only the content wrapped in the DrawerDescription can be scrollable if it's overflowing. Could you re-check the behavior with the code below and see if it's working for you?
      <Drawer>
        <DrawerTrigger asChild>
          <Button>Open Drawer</Button>
        </DrawerTrigger>
        <DrawerContent>
          <DrawerTitle>Login</DrawerTitle>
          <DrawerDescription>
            aaaa hausidfhauisdhfui uahsdfuiasshfuisudf huafihwuifhuih heruw
            hewur wheurhuwehurh wheur hwu rhwue iewufh nsjfhwuieru hsudfh
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
            <Input label="Email" />
          </DrawerDescription>
          <DrawerFooter>
            <DrawerClose asChild>
              <Button>Close</Button>
            </DrawerClose>
            <Button>Save</Button>
          </DrawerFooter>
        </DrawerContent>
      </Drawer>

Actually, I tried this as well but doesn’t work.


Add top_k Function for double and float Data Types

This pull request introduces the top_k function for double and float data types in the rindow-matlib library in form of rindow_matlib_s_top_k and rindow_matlib_d_top_k. The function is inspired by TensorFlow's tf.math.top_k and calculates the top K values and indices of the K largest entries. Just like the softmax, it typically works with 2-dimensional matrices
Key Features:

Top K Calculation: The function identifies the top K values and their corresponding indices in the last dimension of 2-dimensional matrices.
Support for double and float: Works with both double and float data types to accommodate a variety of use cases.
Parallel Processing: Utilizes OpenMP for parallel processing, optimizing performance for larger datasets.
Sorted Results: The function provides sorted results if requested, ensuring easy access to the top K values and indices.
Tests: Added new tests for the new functions.

Use Cases:

Commonly used in machine learning tasks, such as analyzing model outputs and selecting the top K predictions.
Helpful for data processing and feature engineering tasks that require ranking and selecting top entries.

I believe this function will be a valuable addition to the library, offering users a convenient and efficient way to calculate top K values and indices for their datasets. If this is merged, then I will go ahead and implement a similar functionality for the PHPMath class in rindow/rindow-math-matrix and subsequently the LinearAlgebra and  MatrixOperator classes.
Please review the implementation and let me know if there are any suggestions or improvements. Thank you!

Great job!
Please explicitly declare compare_float and compare_double as static functions. .
Other than that, I don't think malloc is a good method for OpenMP multithreading.
Is there a way to malloc outside of a multithreaded loop in OpenMP?
Ingenuity is required to use large amounts of data.
Also, if you understand OpenCL, I would appreciate it if you could implement it not only in PHPMath but also in OpenCLMath.
If you can't, I'll try.
If only one of these is implemented, the tests are common, so it is necessary to avoid testing one of them.
Thank you!

I was implementing the FFI binding to this, and while running the tests, I noticed a weird behavior. When sorted is false(0), there's no problem. However, when I set it to true(1), the results are weird. 80% of the time, it returns the correct result but 20% of the time, the first element is always a ridiculously large number. Do you have any idea where the bug could be coming from?

Hi @yuichiis , taking a second look at it, I realized that the second sorting is redundant, as the elements are placed in the top_values and top_indices in the descending order. Is it okay to remove the sorted argument entirely?
PS: Removing it actually solves the issue I complained of earlier, but I'm still curious what must have been the actual cause

Multithreading always confuses humans.
Please choose the safest method.
You can remove it if it makes it simpler.

Confusing indeed 😅.  I have removed the redundant sorting, and the tests are now consistent. Please review.

I'm seriously looking into top_k right now.
The purpose of this function seems to be to extract large values without performing a complete sort, since a complete sort would result in a high processing load.
I wrote an experimental program.
tst_top_k.zip
Please do not implement this as is.
One is to sort everything with qsort, and the other is to use a partial heap.
If you only want to select 10 out of 10000 items like in this sample, qsort will take 200 times longer.
Also, since qsort is a recursive function, it consumes a large amount of stack memory. Stack consumption is a fatal problem for multithreading.
What kind of data do you plan to use this top_k for?
Why don't you think about it calmly again?

I see your point about optimizing for selecting a few items out of many, especially when dealing with large datasets.
My use case usually involves picking a small subset of top logits from an ML model output (e.g., top 5 or 8 out of a large set of logits say, 52000). I understand the concerns about qsort and its impact on performance and stack memory usage, especially in a multithreaded environment.
Sorry for not considering these aspects in the initial implementation🤦🏽. I’ll take some time to come up with a more efficient approach. Your example scripts will definitely help guide me in refining the function.

So I switched the implementation from full sort + slice to a priority queue (min heap) approach, as you had suggested. Given the intended use case of top_k with k always significantly smaller than n, this method should provide better efficiency and performance. Also, it actually allows you to maintain the top k elements in a min-heap and then optionally sort them in descending order if needed, just as I originally intended, so I added the sorted argument back.
Please review the updated implementation and let me know if there are any other suggestions or improvements you'd like me to consider.
Thanks for being helpful so far!

I write the code for the top_k function myself.
After I make usability adjustments, I plan to publish it in the next release.
Thank you for letting me decide to implement top_k.

Alright, that's great. I would've loved if you continued the adjustments here, in this PR, since it's already trying to address the feature, and not throw my whole work to trash. But that's fine, I totally understand. Looking forward to the new implementation and subsequent release!


Changing Folder for Recent Downloads doesn't work

Setup info

Workflow name: Recent Downloads
Workflow version: v20.1
Alfred version: 4.0.8
macOS version: 10.15.3

Description of issue
I changed the default_dir variable to a Google Drive directory and it doesn't work. It just keeps opening my downloads folder. No apparent errors in debug mode either.
Debugger output
[20:04:44.183] RecentDownloads[Script Filter] Queuing argument '(null)'
[20:04:46.788] RecentDownloads[Script Filter] Queuing argument '(null)'
[20:04:46.967] RecentDownloads[Script Filter] Script with argv '(null)' finished
[20:04:46.970] RecentDownloads[Script Filter] {"items":[{items in downloads folder here, ...

Thank you for the report. It’s now fixed. Download the latest version.


relational category urls

@codelucas
Hi,
I'm trying to figure out why many articles in "http://haaretz.co.il" aren't found.
It seems almost all categories are eliminated on set_categories, due to "for >1 path chunks" and all of these urls are relative (no domain).
I'm wondering why are you looking for particularly only 1 path chunk?
For example, here is an article url the source mentioned above, with more than 1 path chunk: http://www.haaretz.co.il/news/world/middle-east/.premium-1.3011325

Got it. All categories under one "path chunk" are considered the same category.
Sorry for the trouble.


Improve separator naming

Addresses comments in https://github.com/rstudio/sparklyr/pull/618
Also reverts a revert of a fix from my previous PR (noob git mistake!)

Thanks!


Update Cross Platform Cryptography article for .NET 9

Type of issue
Outdated article
Description
As we get closer to .NET 9 RC, we should update the .NET cross platform cryptography article for changes introduced in .NET 9.
So far, that list entails:

Document KMAC
Document changes to SHAKE (Squeezing). SHAKE has no explicit documentation in this article yet, so we should probably add something.
[Tentatively] AES-GCM and ChaCha20Poly1305 for tvOS/iOS/Mac Catalyst. This is planned work, and not complete at time of writing.
[Maybe] Is there any part of the new X.509 loader in Microsoft.Bcl.Cryptography worth documenting?

Page URL
https://learn.microsoft.com/en-us/dotnet/standard/security/cross-platform-cryptography?source=docs
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/security/cross-platform-cryptography.md
Document Version Independent Id
95e31f6e-9a36-913e-6a02-7fb1606e5a52
Article author
@IEvangelist
Metadata

ID: 7dba5d39-737f-cfa3-b1e4-c997e55312a8
Service: dotnet
Sub-service: standard-library

Assigned to myself to take care of this sometime during the RC life of .NET 9, but figured I should open it now since I thought about it.
cc @dotnet/area-system-security for awareness.

Done in https://github.com/dotnet/docs/pull/42482.


fix(security): bump minimal version of probot

This should also include #36 which is another fix actual security for ansi-regex transitive dependency which was completely removed in #36

@gr2m I was wondering if probot org could use another maintainer? 😅


Revolver / Python changes.

About the PR

Closes #18274. Reverts #18197, though some of its' minor changes were made here (making the python louder & faster, cap gun sharing stats / sound, small uplink description tweaks).
.357 is removed. Revolvers now properly hold 6. New .45 Armor Piercing that does 32 damage and ignores armor. Uplink has .45 AP Speedloaders, the Python starts with it loaded. .45 High-Velocity was buffed to 45 damage. Zombie bundle now has a python. Python is 8TC and ammo is 2TC each.
This way we aren't making an ammo type for one gun, and instead have an ammo type that can be usable by other guns (though it isn't currently) while also making the python actually a threat. HV also gets a buff because it was pitiful before (4 extra damage? That amounts to less than one extra shot after you've used all 6). The price buff should've happened anyways so this is just making it happen now.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Lank

add: Added .45 AP, which does slightly less damage but ignores armor entirely.
remove: Removed .357 ammo and returned the Python and Mateba to .45 Magnum.
tweak: The Syndicate now supplies .45 AP rounds for the Python, and sells both the weapon and the ammo at a lower price.
tweak: .45 High-Velocity rounds are now significantly more lethal.

ill leave this one for sloth he has strong opinions on guns

I'd probably make the AP damage reduction 20% not 10% rest seemed okay.

I'd probably make the AP damage reduction 20% not 10% rest seemed okay.

it was to make it able to (reasonably) 3 shot people still since I think 4 would be too weak

It was to make it able to (reasonably) 3 shot people still since I think 4 would be too weak.

The reason to even reduce it by 20% is making AP vs non-AP a conscious trade-off instead of still having the same damage breakpoints.

The reason to even reduce it by 20% is making AP vs non-AP a conscious trade-off instead of still having the same damage breakpoints.

I mean, for syndies it isn't a conscious trade-off. I still think it'll be strong at 20% though, so I'll change it.

It may be a bit overpriced now, but we can always wait and see


UI enhancements

In lib/currency_box.dart :-

Change each box to have only an outline instead of a solid background
Move the text field to the upper half of the box
The lower half should contain a placeholder image of a graph (eg. https://media.istockphoto.com/photos/red-arrow-moving-up-over-graph-paper-background-picture-id1157569047?b=1&k=20&m=1157569047&s=170667a&w=0&h=WuWDeAI3g1y3Fvd5OdMukKhDZ8U03PnQ1DH0e6Gge1k=)

I would like to work on this.

I would like to work on this.

Sure, I'll assign it to you.
Make sure to send a screenshot and screen recording of the home screen when done.

@20RitikSingh I've noticed its been a while since you were assigned to this issue and no PR has been as of yet, could you please update me on your progress. Thanks.


Implement getStepCounter in Host and Device APIs

Closes #266

Accessible in all HOST api functions (Init, step, host, exit, exit condition)
Accessible in device api functions (agent functions, agent function conditions, RTC)
Tested

Changes had to be made to how RTC environment stuff works.
History could be squashed, though it does include a few useful standalone commits.

The ComputeCapability errors being reported in BruteForce don't make any sense to me as the getComputeCapability test doesn't appear to touch CUDAAgentModels at all. Probably worthy of it's own issue so we don't lose it in the PR.

I've created a PR which fixes it. It's because they were being thrown
without my macro which reports line number. So they were reporting line
number of previously thrown error.
On Sun, 17 May 2020 at 22:28, Peter Heywood<EMAIL_ADDRESS>wrote:

The ComputeCapability errors being reported in BruteForce don't make any
sense to me as the getComputeCapability test doesn't appear to touch
CUDAAgentModels at all. Probably worthy of it's own issue so we don't lose
it in the PR.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/FLAMEGPU/FLAMEGPU2_dev/pull/272#issuecomment-629863578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVGCQAAGLJVOMBC62WCJDRSBJIPANCNFSM4NBY3IUA
.


Use PsExecHost.ps1 in Bench CLI

The Bench CLI currently uses the DefaultExecutionHost which collects the process output in the background. For the Bench CLI it would be more appropriate to use PsExeHost.ps1 like the ConEmu version in the BenchDashboard. This way the output of external propcesses during setup task would be visible immediatly in the console.

The CLR 2.0 does not directly support named pipes, which are used to communicate with PsExecHost.ps1.

A possible alternative is .NET Remoting with IPC channels.

iplemented in 85a8aabafa9d81c57cd19ff5d9c37383c72f60a8


Ask for password before facial recognition

Hi there. I would like to change the order of the PAM modules. I would like my computer to ask for my password first, and only if that fails, to try use Howdy.
Hope someone knows if this is possible...

You could do this through PAM, check out this wiki article


brix11: fix incorrect variable splitting

Variable values containing an equal sign can't be used with the -D option due to incorrect splitting:
$ bin/brix11 -D A=B=C environment
export A=B

Output after applying the fix:
$ bin/brix11 -D A=B=C environment
export A=B=C

This fixes #122.

Thanks for the report and the fix!


Windows Update Last Installed

I'm looking into getting this one pushed out and i was getting a "not recognized" cmdlet from it.
When looking up Get-WULastInstallationDate it shows the source as WindowsUpdateProvider not PSWindowsUpdate.
Can anyone else confirm this?
PSWindowsUpdate on PowerShell Gallery doesn't show Get-WULastInstallationDate as one of the cmdlets.
Looking at what PSWindowsUpdate has to offer:
& '.\Install and Import Module.ps1' -ModuleName "PSWindowsUpdate"

$Results = Get-WULastResults
$RebootStatus = Get-WURebootStatus -Silent

[PSCustomObject]@{
    LastInstallationDate = [DateTime]($results.LastInstallationSuccessDate)
    LastScanSuccessDate  = [DateTime]($results.LastSearchSuccessDate)
    IsPendingReboot      = [Bool]($RebootStatus.RebootRequired)
}

Huh, fascinating! When I wrote this one I assumed that WindowsUpdateProvider was somehow related to PSWindowsUpdate. Thanks for the suggested fix!


Update sonar script to fix the sonarqube build error

Changes Unknown when pulling 520968cd455b86b2afa8c2753af672544ec35d2b on resolve-sonar-error into ** on master**.


Keep getting error: Uncaught TypeError: Constructor Float32Array requires 'new'

Hi,
In Chrome, whenever I build with webpack and import pts I am seeing this error:
Uncaught TypeError: Constructor Float32Array requires 'new'
I have read that I need to use babel-plugin-transform-builtin-extend in my .babelrc, however it doesn't seem to help. Can someone post their working .babelrc/webpack babel-loader config?
Thanks!

Hi @aksperiod - sorry to hear that. With the new babel-minify, it seems to work without the plugin. I have created a sample app repo to help you get started.

See if it works for you. Thanks!

https://github.com/williamngan/pts-starter-kit

Thanks a bunch! It works, and I was able to get my own project to work by downgrading to webpack 3 and wepback-dev-server 2.
By the way, I've been a fan of this library for years—but I had forgotten what it was called for the last year and kept trying to find it by looking up random letters. I finally found a minified version of it yesterday in a random old project. The file is minified and versionless, but it looks like there is a Point class instead of the current Pt. Thanks so much for making this! It's so awesome.

Awesome! Yes, the earlier version is called "Pt" (https://williamngan.github.io/pt).
Thanks for trying it out. I hope to add more features to this library. (slowly slowly!) If you have feature requests, please feel free to file an issue. :)

Starting with v0.6.1, you should be able to make an es5 build by using:
import {Pt} from 'pts/dist/es5.js'; // use this for es5 build

Alternatively, you can use a newer companion tools such as neutrino.js which should work out-of-box.
cc @aksperiod


Building for android discards changes in the project directory

Line 151 in scripts/android.sh does git checkout -- in the project directory. This caused some confusion for me ;) Is there a reason for this behavior?

When the android script creates a package, it adds a some files in your project (but I don't remember what and where). At the time, I thought that git checkout -- was a good idea to reset the project directory to a previous state, but now that you say it...
It's terrible, I'm sorry if I have deleted your code ! I'm going to remove this line asap, then I'll take a look to know how I can cleanly delete the android generated files.


esp8266 LED not working

Hi
I am new on github and with home assistant. I was trying your led example. I was not able to turn on led with the provided code. Esp8266 is working properly i checked serial monitor wifi and mqtt connection was successful. Just to ensure my esp8266 works properly i have tried some other examples from github with dht22 sensor that was successful.
I have checked mqtt log file in raspberry pi. I can see successful connections with esp6288.
Adding to that when i turn on led button from home-assistant screen it turns off by itself after 1 sec.
Am i missing something ?
Thanks

Hi,

Which sketch are you using?
What's your configuration in HA?
Can you show me your logs (ESP8266)?

Thanks,
Sam

Hi Sam
Thanks for you quick reply.
I am using following sketch for ESP6288.
[https://github.com/mertenats/Open-Home-Automation/blob/master/ha_mqtt_light/ha_mqtt_light.ino]
HA configuration.
homeassistant:
  # Name of the location where Home Assistant is running
  name: home
  # Location required to calculate the time the sun rises and sets
  latitude: 49.0997
  longitude: -122.6526
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 9
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/Vancouver

# Show links to resources in log and frontend
#introduction:

mqtt:
  broker: <IP_ADDRESS>
  port: 1883
  client_id: home-assistant-1
  username: xxx
  password: xxx

light:
  platform: mqtt
  name: Office light'
  state_topic: 'office/light1/status'
  command_topic: 'office/light1/switch'
  optimistic: false

# Enables the frontend
frontend:

http:
  # Uncomment this to add a password (recommended!)
   api_password: test123
  # Uncomment this if you are using SSL or running in Docker etc
  # base_url: example.duckdns.org:8123

# Checks for available updates
updater:

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time.
history:

# View all events in a logbook
logbook:

# Track the sun
sun:

# Weather Prediction

# Text to speech
tts:
  platform: google

ESP8266 log
INFO: Connecting to mywifi
INFO: wifi connected.
INFO: IP address <IP_ADDRESS>
INFO: Attempting MQTT Connection... INFO: connected
INFO: Attempting MQTT Connection... INFO: connected
INFO: Attempting MQTT Connection... INFO: connected
INFO: Attempting MQTT Connection... INFO: connected

Hi,
Your configuration seems to be ok, but your logs shows that something is going wrong because the connection to the MQTT broker is probably lost. Have some problems with your broker? I had this kind of problem with it in the past (Mosquitto, installed with the HA image).

Hi
My mqtt seems working fine, as i have tested some other examples with dht22 using same configuration for mosquitto.
I want to show to my esp sketch(mqtt section)
const PROGMEM char* MQTT_CLIENT_ID = "home-assistant-1";
const PROGMEM char* MQTT_SERVER_IP = "<IP_ADDRESS>";
const PROGMEM uint16_t MQTT_SERVER_PORT = 1883;
const PROGMEM char* MQTT_USER = "xxx";
const PROGMEM char* MQTT_PASSWORD = "xxx";
is that fine or do i need to modify some other section of sketch?
Thanks

Hi
I just figured out that i was putting wrong mqtt client id. I chnaged that now everything looks fine.
My problem is solved.
Thanks

Thanks


ZhipuAIEmbeddings  bug

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
import { ZhipuAIEmbeddings } from "@langchain/community/embeddings/zhipuai";
const model = new ZhipuAIEmbeddings({});
const res = await model.embedQuery(
"What would be a good company name a company that makes colorful socks?"
);
console.log({ res });
Error Message and Stack Trace (if applicable)
throw new Error(Error getting embeddings from ZhipuAI. ${JSON.stringify(await fetchResponse.json(), null, 2)}); ^ Error: Error getting embeddings from ZhipuAI. { "error": { "code": "1000", "message": "身份验证失败。" } }
Description
throw new Error(Error getting embeddings from ZhipuAI. ${JSON.stringify(await fetchResponse.json(), null, 2)}); ^ Error: Error getting embeddings from ZhipuAI. { "error": { "code": "1000", "message": "身份验证失败。" } }
System Info
"@langchain/community": "^0.0.41",
"@langchain/core": "^0.1.49",
"langchain": "^0.1.28",

@ychengke hi, I encountered same issue when using ChatZhipuAI. I found some information in the official document: https://open.bigmodel.cn/dev/api#nosdk
It seems that it's required to generate a jwt token before calling their api, if not using their official sdk in python/java.

To address this issue, JWT tokens can be generated dynamically when a request is made, and caching can be used to prevent re-generating tokens that are still valid. You can review the details in my pull request.


IE9 swiper not working

I'm having problem on swiper, IE 9...
Unable to get property 'add' of undefined or null reference

I would like to ask having problem on IE 10 & IE 9 not working the slider
https://jsfiddle.net/hy8818b2/

On IE 10,  landing direct load swiper ablt to swipe... but on bootstrap modal click swiper not init... how to re-init to run the swiper again...
Example Link below:
https://jsfiddle.net/hy8818b2/1/

Can't see any problems here, looks fine for me. As for IE 9 - it is not supported


Polar Coordinates for "Tiny Earth" effect

Hi,
Is there any filter i could use to achieve a "Tiny Earth" effect on a panorama please?
Example

Not in the current framework, no, but you could write your own distortion shader to do this.


Multiple Room connections for identical user

Describe the bug
Not a bug, rather than a question around identical participants.
Is there a way to create multiple Room clients that can connect with the same user, but provide complementary streams (one room instance to handle audio and one video)?
An example this case is needed is for a video/audio sharing app (like TeamViewer) built with Tauri and multiple windows.
As there is no shared JS runtime between the windows, every window would need a room instance like for example:
<LiveKitRoom token={token} serverUrl={serverURL} connect={true}>
      <ConsumerComponent />
</LiveKitRoom>

That means that the window that shares audio will disconnect as soon as the publishing video window is created.
Additional context
Added a fair amount of context in the description, but can provide more if needed.

@konsalex with LiveKit's connection model, each participant is uniquely represented by an identity. We are not able to "join" multiple WebRTC participants into a single one.
the best way to handle this case is to join as two separate participants. The subscribers will have no problems subscribing to all of the tracks that are incoming. In fact, Google Meet uses this approach for screen shares (they appear as new participants)


Include query parameters in Message headers for GCP cloud function

Currently, there is no way to access HTTP GET query parameters for GCP cloud function with Spring Cloud Function.
Ideally, we should include query parameters and possibly other available information like query path and URI available via https://javadoc.io/doc/com.google.cloud.functions/functions-framework-api/latest/com/google/cloud/functions/HttpRequest.html within Message headers
This would require changes for the GCP adapter
https://github.com/spring-cloud/spring-cloud-function/blob/4af7f603d3d7f62e72b0b88ddffbfd57c9398a07/spring-cloud-function-adapters/spring-cloud-function-adapter-gcp/src/main/java/org/springframework/cloud/function/adapter/gcp/FunctionInvoker.java#L97

This is actually not related to GCF, rather a generic issue and it has been addressed - https://github.com/spring-cloud/spring-cloud-function/issues/864

Hi @olegz
I believe the mentioned changes fixed with commit
are addressing only the issue when you use spring-cloud-function-web module. While it does not solve the issue if you run a function with spring-cloud-function-adapter-gcp


OTU radial - Observation matrix sector

When I select a taxon in Browse nomenclature, I can open OTU radial and should be able to quickly add OTU to a matrix. When OTU is already in the matrix, I can quickly navigate to the row coder or to the image matrix.
However, if the OTU is not in the matrix, I click on the matrix name and nothing happens. Expected behaviour is similar to the Matrix Dashboard interface. When I click on the matrix name, The OTU, if it is not in the matrix, should be added to the matrix (a warning modal is presented). After OTU is added to the matrix, the Row coder or image matrix interface is open in the next tab window. The behavior should replicate the Matrix dashboard interface.
Small addition, if the matrix is pinned to the pinboard, a pin should be present in the matrix selection sector.

It works, but with the Matrix row Coder redirect, If I have an Image matrix, then nothing happens.

In the Matrix Hub, I have both option depending on the matrix type.

You are using development?  This is not live yet.

Yes, development

Thanks


As a CIF user, I want to update Emissions Intensity Report fields, so that I don't have to go to the Amendments page

Description:
Broken out from 1158.
Allow users a shortcut to the fields below without following the "New Revision" workflow. In the backend, it would create a new revision of type 'general revision', apply the change and commit it. This will preserve change history while allowing quick edits to certain fields.
Acceptance Criteria:
Given I am on the Emissions Intensity Report view page
When I update any of the fields below
Then the changes are saved as a general revision and committed
Fields:

Status of TEIMP reporting
Report Received Date
General Comments
Post-Project Emission Intensity (PEI)
Total Project Lifetime Emissions Reductions
GHG Emission Intensity Performance (Adjusted)
Date Invoice Sent to CSNR

Development Checklist:

[ ] Update routinely updated fields to use the widget factory created in #1382
[ ] unit and e2e testing
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Hey team! Please add your planning poker estimate with Zenhub @BCerki @dleard @gurjmatharu @mikevespi @sam-warren @Sepehr-Sobhani @tmastrom

Backlog refinement (Feb 22, 2022): There are still a lot of outstanding questions to support moving forward with amendments and revisions. Taking a pause to do a more in-depth review/whiteboarding session before continuing with the implementation of this EPIC.

@LindsayMacfarlane  @Dianadec This is part of routinely updated fields and can be iceboxed/retired for now

Removed from current Amendment & Revisions EPIC.


Blog data (blog details) are not responsive on mobile

Detailed description
Blog details are not responsive can i eork on this?
Context
All text shows in the middle of screen and user will not read it properly from small devices
Possible implementation
No response
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Duplicate #143

Thanks for creating this issues, This blog issues is already got mentioned in issues and already has been assigned


Meeting conducting consuming alot of data for many users.

Can we do something about this?

You need to explain the scenario example like Server OS and it’s config, Server Resources, No of users,  Browser and its  version LastN config etc
with out any proper scenario no one can do something about this

LastN = 100
MobileLastN = 100
Server Config
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
Memory - 16gb
Browser Used - Chrome

https://github.com/edumeet/edumeet/issues/773

Decrease LastN under 20 and MobileLastN not above 4


Create helwan university

please add commerce.helwan.edu.eg ,  it's related to the Egyptian university

@Moudux1 lib/domains/eg/edu/helwan: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@Moudux1 I am sorry, the domain helwan.edu.eg is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Migrate to Godot 4

This is awesome and exactly what I was looking for when developing my XR game!
Could you please migrate it to Godot 4?

Done!
https://github.com/Cafezinhu/godot-vr-simulator/releases/tag/v1.0.1

Also I updated the input mapping a bit, you can read the updated mapping on the godot-4 branch
https://github.com/Cafezinhu/godot-vr-simulator/tree/godot-4

There was a problem that the controller wasn't activating if its pose wasn't set to "default". It should work with all poses now.
https://github.com/Cafezinhu/godot-vr-simulator/releases/tag/v1.0.2

Thx a lot, again! wasd is working now!
But I could not get the controller buttons working. In the XR Tools demo, jump is bound to the right controller's AX button.
Pressing 2 (or any other number) on the num pad has no effect.
Any hints?

Hold Q (or E) and press 2 (the one that is on top of the letter keys).
Pressing 2 while holding Q will press X on the left controller, and pressing 2 while holding E will press A on the right controller.
Holding Q or E makes the tool select the left or the right controller, respectfully, allowing you to move, rotate and press its buttons.


Coinbase Wallet on mobile apps

Hey,
I was wondering if there are any plans to include Coinbase Wallet connector for mobile apps on iOS and Android. I'm aware they only work on WebGL right now. However, I also saw there are official platform packages:
https://docs.cloud.coinbase.com/wallet-sdk/docs/ios-install
and
https://docs.cloud.coinbase.com/wallet-sdk/docs/android-install
Recently, we have observered a high interest in Base and Coinbase. In fact, we have many players who had to jump through hoops to connect an alternative wallet solution on their mobile app to play.
Thank you in advance,
CV

Have a couple things to get to first but native Coinbase support has definitely been on the todo list.
If by the time I reach that ticket they haven't integrated in .NET I might write up a mini .NET plugin on their behalf to communicate with their native libraries.
Can't give an exact ETA sadly as I'm going to be implementing some prioritized thirdweb features soon followed by work on Unity v5 and .NET SDK.
I'll try to fast track this and explore a quick path forward though, thanks for the feedback.


Breaking changes in Microsoft.Graph update to 5.x

https://stackoverflow.com/questions/76437758/im-getting-error-that-delegateauthenticationprovider-and-merequestbuilder-are-n

Still needed now that I have deleted?


Matrix config?

Hi just a question,how do i configure matrix orientation,like zigzag layout top left etc as my matrix doesent corospond correctly,when i tryed the dot example with processing the dot didnt look right,as i moved the mouse up the dot split in two to the edg of the matrix.does the code need to be rewriten to work on my matrix?thanks

Did you try setting the last argument ('zigzag') of the opc.ledGrid-function to another value?
opc.ledGrid(index, stripLength, numStrips, x, y, ledSpacing, stripSpacing, angle, zigzag)

zigzag: true = Every other strip is reversed, false = All strips are non-reversed
(via https://github.com/scanlime/fadecandy/blob/master/doc/processing_opc_client.md)


Migrate to Swift 3

Hey!
Since we need this framework working for our app, we wanted to help with migration to Swift 3.
What's in this PR?

[x] Migrated SkyFloatingLabelTextField framework and unit test target to Swift 3 syntax
[x] Migrated example target to Swift 3
[x] Verified that all unit tests pass
[x] Verified that example app functions properly
[x] Switched to Xcode 8 for running tests on Travis CI
[x] Added .swift-version file to allow properly linting podspec when you are ready to release

I did not do any Swift API design guidelines-related changes, i thought that as library authors, you would probably want to make those choices yourselves. I would be happy to help with other issues of Swift 3 transition, if they arise.
Thanks for awesome library, and hope this PR will be helpful.

Hi @DenHeadless, could you consider putting your pull request on a public repo? Then we'll be able to integrate it with cocoapods and use it a temporary solution at least. Thanks a lot!

@Tibb What do you mean by public repo? It is public, we are using it in CocoaPods, like so:
pod 'SkyFloatingLabelTextField', git: "https://github.com/MLSDev/SkyFloatingLabelTextField.git", branch: "swift3"

@DenHeadless Well, I might have made a mistake in the path in my podfile when I tried to use your branch... :/ Thanks for the tip, seems to work 👍

@gergelyorosz @intonarumori Guys, just pinging you in case you haven't seen this PR. I understand that's an open-source, and you don't owe us anything, but any hint on when this could be merged or not merged would be nice, since already 20 days have passed since PR was opened.
As i've said, we'll be happy to help if any other assistance is needed with Swift 3 migration.

@DenHeadless  Hello! Thanks for this. I haven't had time to look at this.
My plan is though: migrate first the 2.3 PR -> https://github.com/Skyscanner/SkyFloatingLabelTextField/pull/69
Then do a major version changes for this one.
Not sure I'll have time to do both today. But It's going to happen.
Thanks for your work and patience

@wolffan Thanks! No worries, take your time! 🍺

I've just used this lib for my application, so I really so interested in updating code to Swift 3.0.
@wolffan  you met an obstacle, didn't you? Let's know it, may everybody can help you. Thanks

+1

+1

Hey @DenHeadless can you rebase this on master?

@k0nserv Sure, rebased.

Travis failure seems completely unrelated to code changes in PR. Tests pass locally on my machine. iOS CI as always, incredibly stable =)

I'll run them locally too, restarted travis as well. Might be a fluke

Right tests, pass locally for me as well

@bogren might have fixed the travis issue in #76 if you wanna try and rebase again

Sure, let's give it a shot =) Rebased once more.

That did it, thanks @bogren 👍  Just gotta finish up the work on 2.3 then we can merge this

Awesome! 👏  No problem ☺

Merged 2.3!
Can we resolve conflicts :) ?

Rebased once more =)

Great thank you for all the help @DenHeadless

Sorry, you have to rebase again 😇

We can always rebase ourselves, no need to do it

Yep, edits from maintainers is on =) Please just let me know when you are ready to merge, and i can rebase one final time =)

Massive thanks for this PR @DenHeadless :)

Thank you guys! This is great news! Are you planning 2.0 release for CocoaPods?

Yeah, I'm working on that at the moment

See #81


cargo-i18n: init at 0.2.12

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@wegank, thanks for the review and update. I think this PR is ready to merge.

@wegank I also migrate some more packages to pkgs/by-name, please help me review and merge the PR https://github.com/NixOS/nixpkgs/pull/257958, if possible.
Thank you!


Model serialization broken in browser-version on Safari

I've added some tests for the browser version (https://github.com/louischatriot/nedb/pull/247) which target the use of localStorage.  I came across an issue in Safari that I believe is related to the serialization/deserialization process.  By modifying those functions in model.js so that we don't pass a callback as the second parameter to JSON.stringify and JSON.parse, the tests pass.

As mentioned in #247 I couldn't reproduce, so I closed the issues.


[V2] Pulls in a vulnerable version of protobufjs via google-gax

Environment details

@google-cloud/pubsub version: 2.19.4
any platform

Steps to reproduce
npm install @google-cloud/pubsub@2
npm list protobufjs

`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    +--<EMAIL_ADDRESS>    | `--<EMAIL_ADDRESS>deduped
    +--<EMAIL_ADDRESS>    | `--<EMAIL_ADDRESS>deduped
    `--<EMAIL_ADDRESS>
The latest @google-cloud/pubsub@2 is 2.19.4, which depends on exactly<EMAIL_ADDRESS>which depends on exactly<EMAIL_ADDRESS>which has CVE-2022-25878.
The CVE is resolved in<EMAIL_ADDRESS>and google-gax upgraded to<EMAIL_ADDRESS>with<EMAIL_ADDRESS>So, @google-cloud/pubsub@2 can upgrade to<EMAIL_ADDRESS>to fix this. I would open a PR to do this myself but I was unable to find your v2 branch.

Can I submit a PR with just updating a higher version(2.30.5) of gax?
and which branch should I submit my PR to?

@nakamuloud There isn't one currently, but I will make one... Go ahead and make PRs against this branch:
https://github.com/googleapis/nodejs-pubsub/tree/legacy-v2
I'll see about getting the branch-release machinery going.
Thanks!

Hi @feywind @nakamuloud, I can see a pull request was opened for this and then closed. Would it be ok if I made a pull request for the gax version to help get this done?

@samstefan Ah yeah, I see that now. I do appreciate the offer, but there is still some work pending to make it release V2 branch releases, unfortunately. That's over here:
https://github.com/googleapis/nodejs-pubsub/pull/1580
It's just gotten sidelined by some other tasks.

I spent a fairly substantial amount of time yesterday, doing my best to get the v2 branch up and going with CI and all, and I did get that working. But what I found is that several of the dependencies deep in the tree had moved on, and were requesting things that require a newer Node engine, in a minor. So I can no longer even npm i on these things.
I'm having a conversation with some people who are smarter about npm than me :) so I hope we can do something more sensible for legacy-v3 when it happens. I think there's a new tool in npm for overriding dependencies that might help, but it's not in Node 10/npm v6.


remove expandtab from ftplugin/python.vim

from README.txt:

The default filetype plugin files contain settings that 95% of the users will
want to use.  They do not contain personal preferences, like the value of
'shiftwidth'.

Yet in python.vim is:
setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=8
Even though I prefer spaces some projects I work with use tabs (don't ask). I use per project .vimrc file for these with set noexpandtab which is being overwritten by values set in python.vim.
Is it possible to remove this line and let user choose his preferable settings or is there any less intrusive solution (if I want to keep using filetype plugin)?

I really don't care either way, and I can understand your argument against this, but perhaps you don't know the reason these settings are there.
It's to comply with PEP8 guidelines for tabs vs. spaces. These guidelines are in place for several reasons, but in my opinion the most important is that Python itself sees tabs as 8 spaces, so if an individual sets tabstop to 4 or even 2, the code they see can have different meaning than the code Python actually executes.
In most languages indentation doesn't matter so people are free to use whatever they like, but in Python the amount of indent has semantic meaning. Mixing tabs and spaces in Python, with tabstop set to anything besides 8, is just asking for trouble. So, Vim's default settings prevent that.
It's pretty easy to override these settings in the .vimrc with a FileType autocmd, or using the after/ftplugin directory. Though, I'd certainly support an option baked into the filetype plugin.

@rkuska As @fritzophrenic correctly explained the settings are set to conform with what the vast majority of Python developers use and need. Changing that setting would affect too many people in a surprising way. You can set your personal preferences easily like this in your .vimrc:
" File type dependent options
if has("autocmd")
        " Enable file type detection, plugins, and indentation rules.
        filetype plugin indent on
        " ... other file types set here ...
        " Python indent.
        autocmd FileType python setl sw=4 sts=4 et
        " ... other file types set here ...
        " When editing a file, always jump to the last known cursor position.
        autocmd BufReadPost *
                \ if line("'\"") > 0 && line("'\"") <= line("$") |
                \       execute "normal g`\"" |
                \ endif
endif

You can put multiple file types on the same line if the settings are the same. For example:
        " C++, Groovy, Java, JavaScript, Perl, Python and Tcl indent.
        autocmd FileType cpp,groovy,java,javascript,perl,python,tcl
                \ setl sw=4 sts=4 et

Thank you both for your answers. I will try to use some of the proposed solutions. :-)

Hi @rkuska , add following line into your vimrc could disable the default setting.
let g:python_recommended_style = 0


feature: add 'help' target to Makefile and make it the default

Ⅰ. Describe what this PR did
feature: add 'help' target to Makefile and make it the default
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
make
make help
Ⅴ. Special notes for reviews

Codecov Report

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

@@            Coverage Diff             @@
##           master     #937      +/-   ##
==========================================
- Coverage   46.53%   46.52%   -0.02%
==========================================
  Files         114      114
  Lines        6728     6728
==========================================
- Hits         3131     3130       -1
  Misses       3343     3343
- Partials      254      255       +1

Impacted Files
Coverage Δ

supernode/daemon/mgr/scheduler/manager.go
21.91% <0%> (-0.69%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM

/assign @Starnop @yeya24

Well Done. And could you please rebase your code and push it again? THX.

@Starnop  Rebased!


Question: Test Saga with getFormValues()

I have a saga which using redux-form getFormValues() to select form  value from global state. I try to create mock store to pass mock state to saga and successfully to get the form value to do testing. But it stuck on race() and cannot move on to get the success response. Is there anyway to do the testing?
Here is the saga:
export function* watchLogin() {
  yield takeEvery(LOGIN, loadLogin);
}

export function* loadLogin(action) {
  var login = yield select(getFormValues('login'));
  const { response, error } = yield doAsync(login, loginRequest) || { }
  if (response) {
      yield put(onLoginSuccess(response))
    } else {
      yield put(onLoginFailure(error ? error : "TIMEOUT"));
    }
}

function* doAsync(func, ...args) {
    const { funcResponse, timeout } = race({
      funcResponse: call(func, ...args),
      timeout: call(delay, TIMEOUT)
    });

    return funcResponse || { }
}

And is the test code:
describe('When execute process', () => {
      it('Should export ON_LOGIN_SUCCESS response', ()=>{
           const props = {
              form: {
               login: {
               values: {
                 username: "foo",
                 password: "bar"
                       }
                      }
                    }
                  }};
           const sagaMiddleware = createSagaMiddleware();
           const mockStore = configureStore([sagaMiddleware]);
           const store = mockStore(props);
           sagaMiddleware.run(rootsaga);
           store.dispatch(loginAction);
           /...Do Test.../
    });
 });

Without working code (or rather not working) we cannot do much to help you. Could u prepare a repro?

Sorry, do you mean the remaining of test code? Due to the running of saga is stuck on doAsync(), so the remaining part of test code still not finish. But I expected saga will put onSuccess response.

I meant the complete working (runnable) code in a separate repository or on smth like codesandbox.io .

closed due to inactivity. fell free to reopen with a reproducible case


gstreamer fails on OS X

I went through a lot of trial and error getting audio to work (at all) on OS X. Since I had multiple failure points, can't post all errors, but seems like problem ultimately was that Gstreamer was failing to load audio files.
With Kivy.app, was never able to get audio working as I could not figure out how to stop Gstreamer from being the audio provider. (Should os.environ['KIVY_AUDIO'] setting be honored if set before importing kivy? Doesn't work for me.)
With manual install via pip, I was able to resolve my issues by doing brew uninstall gstreamer, which finally allowed SDL2 to be the provider.
I also had to do
brew install --with-vorbis --with-smpeg2 sdl2_mixer
This allows me to play OGG and MP3 files on OS X. Building for Android, can only use OGG files, presumably a known issue due to licensing, but worth a mention.
SInce I had lots of distinct errors, including a few here:
When trying to play OGG or MP3 using "default" setup, which always loads gstreamer if present, loading files works okay, but Sound.play() generates this:
** (:48978): WARNING **: Invalid channel positions
[ERROR  ] [AudioGstplayer] Internal data flow error.
[ERROR  ] [AudioGstplayer] The stream is in the wrong format.
Trying to load WAV files (including ones copied from kivy examples dir), I get tons of these errors:
(:48978): GStreamer-WARNING **: Failed to load plugin '/Applications/Kivy2.app/Contents/Resources/../Frameworks/GStreamer.framework/Versions/Current/lib/gstreamer-1.0/libgstlibav.so': dlopen(/Applications/Kivy2.app/Contents/Resources/../Frameworks/GStreamer.framework/Versions/Current/lib/gstreamer-1.0/libgstlibav.so, 2): Library not loaded: libbz2.1.0.dylib
Referenced from: /Applications/Kivy2.app/Contents/Frameworks/GStreamer.framework/Versions/1.0/lib/gstreamer-1.0/libgstlibav.so
Reason: image not found
Last point, unrelated probably, but no matter which audio provider I use, I see this popping up in logs:
2016-10-09 09:31:41.620 Python[46001:4097154] 09:31:41.620 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
I'm using OS X 10.11.6, have run both Python 2.7.12 (system install) and Python 2.7.10 (Kivy.app) with pretty much same results, and have installed Kivy.app (1.9.1dev0) and from zip file. Manual building of zip file failed and I gave up on that route. pip install kivy also. All versions of Kivy seem to have similar problem, only solution working for me was to get rid of gstreamer, which so far rules out Kivy.app as I don't know how to do that in that case.

+1 on this
Same Specs

hey there jayboyd!
I also went through lots of trial and error but currently i have an application i can build on windows and ios. I don't know for sure, but as far as i know, gst does not work on ios.
My application is using ffpyplayer for audio and video on ios and its working very well (as soon as everything was up and running). Open you xcode-project and go to sources/main.m and look at the putenv variables for audio and video. Mine are the following and are working:
putenv("KIVY_WINDOW=sdl2"); putenv("KIVY_IMAGE=imagio,tex"); putenv("KIVY_AUDIO=ffpyplayer"); putenv("KIVY_VIDEO=ffpyplayer");

The reinstalling with homebrew and pip, there may also be additional steps to follow to make gsreamer work, depending on your setup, links below.
https://kivy.org/docs/installation/installation-osx.html#using-homebrew-with-pip
https://kivy.org/docs/guide/packaging-osx.html#gstreamer
If you can still reproduce the bug after reinstalling, please open an issue with a step by step guide for reproducing it.

The important line in those error logs is "** (:48978): WARNING **: Invalid channel positions", Kivy.app bundled version of gstreamer won't play play mono sound files.  This took me longer to discern than I care to publicly admit.  Found this thread, with a woefully un-descriptive title, after the fact - https://groups.google.com/forum/#!topic/kivy-users/bSHhYWR1TEs.
For clarification, are you saying that a pip install does not have this issue?

@AllieCarver he is not saying that, but he is asking. So can you tell us, does it work with the pip method on OSX, I use Linux so I would not know.

Had the chance to try, reinstalling using homebrew and pip does solve this issue.

@AllieCarver good to hear, thanks for following up!


map recoloring and changes

About the PR

map changes
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added fun!
remove: Removed fun!
tweak: Changed fun!
fix: Fixed fun!

:clueless: ok it works now i guess


Investigate why some packages are not installed at the latest version

Looking at the logs, it looks like some packages are installed at an older version, for no obvious reason.
Example: Pluto was installed at 0.17.7, even though 0.19.11 is available
https://github.com/fonsp/package-loading-times/runs/8216006394?check_suite_focus=true#step:9:18590
Easy to reproduce:
Here, I first manually install all dependencies of Pluto (MsgPack URIs TOML FuzzyCompletions RelocatableFolders MIMEs Tables PrecompileSignatures Configurations HTTP HypertextLiteral), and then add Pluto. This should install the latest version of Pluto, right? The latest version of Pluto is compatible with the latest versions of all dependencies.
➜  ~ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.0 (2022-08-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.8) pkg> activate --temp
  Activating new project at `/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_btBXvO`

julia> # add all the dependencies

(jl_btBXvO) pkg> add MsgPack URIs TOML FuzzyCompletions RelocatableFolders MIMEs Tables PrecompileSignatures Configurations HTTP HypertextLiteral
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed TableTraits ───────────────── v1.0.1
   Installed LoggingExtras ─────────────── v0.4.9
   Installed SimpleBufferStream ────────── v1.1.0
   Installed Scratch ───────────────────── v1.1.1
   Installed Tricks ────────────────────── v0.1.6
   Installed DataAPI ───────────────────── v1.10.0
   Installed Tables ────────────────────── v1.7.0
   Installed RelocatableFolders ────────── v1.0.0
   Installed PrecompileSignatures ──────── v3.0.3
   Installed IteratorInterfaceExtensions ─ v1.0.0
   Installed IniFile ───────────────────── v0.5.1
   Installed DataValueInterfaces ───────── v1.0.0
   Installed ExproniconLite ────────────── v0.7.0
   Installed MsgPack ───────────────────── v1.1.0
   Installed URIs ──────────────────────── v1.4.0
   Installed OrderedCollections ────────── v1.4.1
   Installed TranscodingStreams ────────── v0.9.9
   Installed CodecZlib ─────────────────── v0.7.0
   Installed HypertextLiteral ──────────── v0.9.4
   Installed Configurations ────────────── v0.17.4
   Installed MbedTLS ───────────────────── v1.1.5
   Installed FuzzyCompletions ──────────── v0.5.1
   Installed MIMEs ─────────────────────── v0.1.4
   Installed HTTP ──────────────────────── v1.3.3
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_btBXvO/Project.toml`
  [5218b696] + Configurations v0.17.4
  [fb4132e2] + FuzzyCompletions v0.5.1
  [cd3eb016] + HTTP v1.3.3
  [ac1192a8] + HypertextLiteral v0.9.4
  [6c6e2e6c] + MIMEs v0.1.4
  [99f44e22] + MsgPack v1.1.0
  [91cefc8d] + PrecompileSignatures v3.0.3
  [05181044] + RelocatableFolders v1.0.0
  [bd369af6] + Tables v1.7.0
  [5c2747f8] + URIs v1.4.0
  [fa267f1f] + TOML v1.0.0
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_btBXvO/Manifest.toml`
  [944b1d66] + CodecZlib v0.7.0
  [5218b696] + Configurations v0.17.4
  [9a962f9c] + DataAPI v1.10.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [55351af7] + ExproniconLite v0.7.0
  [fb4132e2] + FuzzyCompletions v0.5.1
  [cd3eb016] + HTTP v1.3.3
  [ac1192a8] + HypertextLiteral v0.9.4
  [83e8ac13] + IniFile v0.5.1
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [e6f89c97] + LoggingExtras v0.4.9
  [6c6e2e6c] + MIMEs v0.1.4
  [739be429] + MbedTLS v1.1.5
  [99f44e22] + MsgPack v1.1.0
  [bac558e1] + OrderedCollections v1.4.1
  [91cefc8d] + PrecompileSignatures v3.0.3
  [05181044] + RelocatableFolders v1.0.0
  [6c6a2e73] + Scratch v1.1.1
  [777ac1f9] + SimpleBufferStream v1.1.0
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.7.0
  [3bb67fe8] + TranscodingStreams v0.9.9
  [410a4b4d] + Tricks v0.1.6
  [5c2747f8] + URIs v1.4.0
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [b77e0a4c] + InteractiveUtils
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.0
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.0+0
  [14a3606d] + MozillaCACerts_jll v2022.2.1
  [4536629a] + OpenBLAS_jll v0.3.20+0
  [83775a58] + Zlib_jll v1.2.12+3
  [8e850b90] + libblastrampoline_jll v5.1.1+0
Precompiling project...
  29 dependencies successfully precompiled in 6 seconds

(jl_btBXvO) pkg> precompile

(jl_btBXvO) pkg> add Pluto
   Resolving package versions...
   Installed FuzzyCompletions ─ v0.4.3
   Installed HTTP ───────────── v0.9.17
   Installed Pluto ──────────── v0.17.7
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_btBXvO/Project.toml`
⌅ [fb4132e2] ↓ FuzzyCompletions v0.5.1 ⇒ v0.4.3
⌅ [cd3eb016] ↓ HTTP v1.3.3 ⇒ v0.9.17
⌃ [c3e4b0f8] + Pluto v0.17.7
    Updating `/private/var/folders/v_/fhpj9jn151d4p9c2fdw2gv780000gn/T/jl_btBXvO/Manifest.toml`
  [944b1d66] - CodecZlib v0.7.0
⌅ [fb4132e2] ↓ FuzzyCompletions v0.5.1 ⇒ v0.4.3
⌅ [cd3eb016] ↓ HTTP v1.3.3 ⇒ v0.9.17
  [e6f89c97] - LoggingExtras v0.4.9
⌃ [c3e4b0f8] + Pluto v0.17.7
  [777ac1f9] - SimpleBufferStream v1.1.0
  [3bb67fe8] - TranscodingStreams v0.9.9
  [0dad84c5] + ArgTools v1.1.1
  [8ba89e20] + Distributed
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [44cfe95a] + Pkg v1.8.0
  [a4e569a6] + Tar v1.10.0
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ cannot be upgraded. To see why use `status --outdated -m`
Precompiling project...
  4 dependencies successfully precompiled in 4 seconds. 23 already precompiled.

(jl_btBXvO) pkg>

I ran the script again, and the problem was gone
I noticed that sometimes, the install time would include the install time of dependencies, but this happened when the latest version of a dependency was not supported. This was the case for each situation that I investigated:

https://github.com/tkf/ContextVariablesX.jl/pull/18
https://github.com/Moelf/JLFzf.jl/pull/18
https://github.com/JuliaGPU/CUDA.jl/pull/1597


Feature force-debug doesn't work

I have enabled the force-debug feature of sp-debug-derive but my runtime (moonbeam) does not compile:
  error[E0277]: `ChangesTrieSignal` doesn't implement `core::fmt::Debug`
    --> /home/elois/.cargo/git/checkouts/substrate-189071a041b0d328/a2395d5/primitives/runtime/src/generic/digest.rs:88:32
     |
  88 | #[derive(PartialEq, Eq, Clone, RuntimeDebug)]
     |                                ^^^^^^^^^^^^ `ChangesTrieSignal` cannot be formatted using `{:?}`
     |
     = help: the trait `core::fmt::Debug` is not implemented for `ChangesTrieSignal`
     = note: add `#[derive(Debug)]` to `ChangesTrieSignal` or manually `impl core::fmt::Debug for ChangesTrieSignal`
     = note: required for the cast to the object type `dyn core::fmt::Debug`
     = note: this error originates in the derive macro `RuntimeDebug` (in Nightly builds, run with -Z macro-backtrace for more info)

ChangesTrieSignal was removed in master, so this should be solved now.


Lint remaining specs in models

WHY:
Consistency & general housekeeping.
This is part two of PR #605
IN THIS PR:
Lint and refactor the following files in the spec/models folder:

-spec/models/organisation_spec.rb
spec/models/authorised_email_domain_spec.rb
spec/models/user_spec.rb

Any suggestions/feedback would be appreciated.

UPDATE: Need the verify the necessity of the test for updating the service email in organisation model spec file.


Custom Push-notification admin

Is there any way to give access to an admin to send custom notifications to custom users?

I'm not sure what you mean by "custom notifications" or "custom users".  This is a Django plugin, you add it to you existing setup.  Everything is custom, in that, you can configure your server to give access to anyone to send any message to any user


v1.7.5 and v2.0.0-beta.2 planning

Will release v1.7.5 and v2.0.0-beta.2 right after the release of containerd v1.7.14
cc @containerd/nerdctl-maintainers

https://github.com/containerd/nerdctl/releases/tag/v1.7.5
https://github.com/containerd/nerdctl/releases/tag/v2.0.0-beta.2


Obscure error message when trying to run an app that has a dash in its name

If you create an app with flutter create and a name that contains a dash (-), then you cannot run the app on Android
Steps to Reproduce

run flutter create my-test-app
open app in atom
pick lib/main.dart as the the entry point
hit run

Expected result: app runs
Actual result: obscure error:
Building APK...
android/AndroidManifest.xml:1: Tag <manifest> attribute package has invalid character '-'.
Error code 1 returned when attempting to run command: /Users/mit/Library/Android/sdk/build-tools/23.0.2/aapt package -M android/AndroidManifest.xml -A /var/folders/00/1sk40000h01000cxqpysvccm00768h/T/flutter_toolslaLVYD/assets -I /Users/mit/Library/Android/sdk/platforms/android-23/android.jar

Flutter Version
Flutter from https://github.com/flutter/flutter.git (on hackathon)
flutter revision: 758de5ed10ab4d7035ec03ca7bcc9f613ceecd6f (2 weeks ago)
engine revision : 006a702b30182b7622f54c30f538f70df4398614

Thanks for the report! Can you update your hackathon branch? I seem to think we fixed this...

Confirmed working in:
Framework: e1f0d8c974a58977e19ab685d2eb323d2d9becd4 (5 days ago)
Engine:    5e68565d713cbb89e0d60e4c635cf7a9e4b2b855


Nvidia 3090 +large*-gpu.cfg

Hello,
I am trying to load the model "microsoft/DialoGPT-large" with the GPU nvidia 3090 but I receive this msg all the time:
RuntimeError: CUDA out of memory. Tried to allocate 12.00 MiB (GPU 0; 24.00 GiB total capacity; 2.07 GiB already allocated; 0 bytes free; 2.07 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC
_CONF
I am trying to fix this error but I can't. Really I dont understand why if i have 24 GiB capacity, it only reserve 2.07 GiB for PyTorch.
Could you help me please?
PD: @MagiCsito in telegram.
Update:
Monitoring resources, it go out of memory when it load "Human_vs_machine_wight" model (even with DialoGPT-small). Is there a way to can made this works with a nvidia 3090 (24 gb VRAM) and 64 RAM?
BTW, in colab works with 16 gb VRAM Graphic Card.
Thank you

Solved!
The problem was the compatibility of Cuda 11.7 with the instalation of pytorch stable cuda 11.6! So I removed pytorch with pip and installed the preview version and now, it is managing the VRAM correctly.


Throttle Fix

Major changes
Fixes: https://github.com/OpenROV/openrov-software/issues/630

[x] Updates variables to use function returns
[x] Fixes listen() bug in rovpilot that did not fire correctly

@BrianAdams if you can look over this, that would be great. I don't know how idiomatic it is, but it works now and the previous way didn't. Is there a better way to do this?

Okay, I will make changes as per your recommendation.

This should work. The main problem was in the way the svg elements were getting drawn at startup. The elements weren't ready when they were being set so they just defaulted to the SVG declarations.


Adding support for dequantizing from int32 to float32.

Mxnet supports fully connected quantized layers that takes in quantized inputs and produces float32 outputs. To support this case we need to allow dequantizing directly from int32 to float32.
In this PR i am enabling this feature and also adding test case for int32 to float32 dequantization.

@yzhliu @zhiics @vinx13 @anijain2305 Can you take a look at this PR?

@yzhliu @zhiics @vinx13 can you take a look at this PR.