Missing leading underscores

Edit: I have now made a pull request that solves this issue and fixes the README file
I just started using this package so excuse me if I'm ever mistaken in any issues that I raise.
Using the package, I get a lot of errors about function names. Browsing through the files, I saw that the actual call names of those functions have a leading underscore. I made this issue yesterday with 1 line of code but now I'm editing it to reference more:
https://github.com/nlpaueb/dc/blob/211c9c70f145e71082a45376dd2cab846441023e/dc/data/downloads.py#L14
(_get_logger might not need the leading underscore in dc/configuration.py, since it doesn't seem like a 'private' function from what I saw, so this line of code may be correct actually. Note that if you delete the leading underscore in dc/configuration.py, you'll also have to delete it in lines 7 and 9 of dc/evaluation/evaluation.py)
https://github.com/nlpaueb/dc/blob/211c9c70f145e71082a45376dd2cab846441023e/dc/evaluation/evaluation.py#L59
https://github.com/nlpaueb/dc/blob/211c9c70f145e71082a45376dd2cab846441023e/dc/evaluation/evaluation.py#L102
https://github.com/nlpaueb/dc/blob/211c9c70f145e71082a45376dd2cab846441023e/dc/evaluation/evaluation.py#L63
https://github.com/nlpaueb/dc/blob/211c9c70f145e71082a45376dd2cab846441023e/dc/evaluation/evaluation.py#L64
https://github.com/nlpaueb/dc/blob/211c9c70f145e71082a45376dd2cab846441023e/dc/evaluation/evaluation.py#L106
https://github.com/nlpaueb/dc/blob/211c9c70f145e71082a45376dd2cab846441023e/dc/evaluation/evaluation.py#L107

Hi Vasili,
I'm sorry for replying so late. So you are saying the get_loggerd does not need to be private? Right?
I absolutely agree I refactored it already. It will be there in the new version
This way users can change the log level easier.

Hi Mary,
Yes, and I'm also referencing some lines of code that raised me errors. The problem is that the functions called there were probably edited into having a leading underscore on their name, that was not added to the corresponding function call of the lines I'm referencing. There's a big chance you also fixed this too for the new update, but in case you missed one line, I tried to proofread all the files for any wrong function calls caused by leading underscores.

Corrected, will be there in next release.


GPU training fails with - out of memory

I am running dlib Release build on Windows, made from the latest source using VS 2015. Trying to run the dnn_mmod_train_find_cars_ex.exe model on some custom data (around 200 jpegs), tagged properly and xml files formed as expected.
CPU training runs fine for days, but GPU build crashes right away. I get the exit:
code: 2, reason: out of memory
Log file is attached, as well as a printout of nvidia-smi taken during the process loading. I tried this on 2 machines, one has a GTX 1080, the other is a laptop with Nvidia 950M, both produce the same result.
log.txt
Any help much appreciated.

Change the code to use less RAM.  For instance, make the batch sizes
smaller or make the crops smaller.

I am struggling to find where these parameters are defined. Could you please point me in the right direction?

Read the introductory dnn example programs.  I've written detailed tutorials that explain all this stuff.  They explain everything you need to know.

@timnev  I had the same problem. and My computer memory 16GB. Not enough


Help testing on AKS (Azure)

I've installed via helm on AKS.
` kubectl get gatewayconfigs,gateways,udproutes.stunner.l7mp.io -n stunner
NAME                                                  REALM             DATAPLANE   AGE
gatewayconfig.stunner.l7mp.io/stunner-gatewayconfig stunner.l7mp.io   default     77m
NAME                                            CLASS                  ADDRESS        PROGRAMMED   AGE
gateway.gateway.networking.k8s.io/tcp-gateway   stunner-gatewayclass   <IP_ADDRESS>   True         77m
gateway.gateway.networking.k8s.io/udp-gateway   stunner-gatewayclass   <IP_ADDRESS>   True         77m
NAME                                    AGE
udproute.stunner.l7mp.io/iperf-server   77m`
When I run the simple iperf test I get a warning from turncat
10:24:20.117182 turncat.go:463: turncat WARNING: relay setup failed for client udp:<IP_ADDRESS>:60416: could not allocate new TURN relay transport for client udp:<IP_ADDRESS>:60416: all retransmissions failed for oOdUKvsSKaI75cf5
`------------------------------------------------------------
Client connecting to localhost, UDP port 5000
Sending 100 byte datagrams, IPG target: 1000.00 us (kalman adjust)
UDP buffer size:  208 KByte (default)
[  1] local <IP_ADDRESS> port 47810 connected with <IP_ADDRESS> port 5000
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-1.0000 sec  97.8 KBytes   801 Kbits/sec
[  1] 1.0000-2.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 2.0000-3.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 3.0000-4.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 4.0000-5.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 5.0000-6.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 6.0000-7.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 7.0000-8.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 8.0000-9.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 9.0000-10.0000 sec  97.7 KBytes   800 Kbits/sec
[  1] 0.0000-10.0011 sec   977 KBytes   800 Kbits/sec
[  1] Sent 10004 datagrams
[  3] WARNING: did not receive ack of last datagram after 10 tries.`
I do see that I have two LBs created in Azure for the tcp-gateway and the udp-gateway.
Logs from stunner-gateway-operator-controller-manager
output.txt

Nevermind, this was an issue on my end with an upstream network rule. I got it working.


Fix Persian Calendar

Hi, please fix the Persian Calendar.
Thanks.
Screenshot
https://github.com/anufrievroman/calcure/assets/23485114/f6e31c80-2482-4a0f-a8bd-a97a096ed2e0
Log
[WARNING] Couldn't load birthdays. File. C:\Users\Muhammadhussein/.abook/addressbook does not exist.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Muhammadhussein\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\calcure\__main__.py", line 1070, in <module>
    cli()
  File "C:\Users\Muhammadhussein\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\calcure\__main__.py", line 1064, in cli
    curses.wrapper(main)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\curses\__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Muhammadhussein\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\calcure\__main__.py", line 1012, in main
    monthly_screen_view.render()
  File "C:\Users\Muhammadhussein\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\calcure\__main__.py", line 803, in render
    day_number_view.render()
  File "C:\Users\Muhammadhussein\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\calcure\__main__.py", line 497, in render
    if self.screen.date == self.screen.today:
       ^^^^^^^^^^^^^^^^
  File "C:\Users\Muhammadhussein\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\calcure\screen.py", line 71, in date
    return jdatetime.date(self.year, self.month, self.day)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Muhammadhussein\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\jdatetime\__init__.py", line 252, in __init__
    raise ValueError("day is out of range for month")
ValueError: day is out of range for month

Hi, thank you for reporting. Did it occur only recently or you are not sure?
It looks like it's something about birthdays, so do you use a book integration or not really?

Okay, I was able to reproduce it, it seems to be related to some specific day in ORDIBEHESHT next year. Do you know if that might be a leap day or something like that?
Also, besides that, the Persian calendar works correctly, right?

Yes, the Persian calendar is displayed correctly.
In the Persian calendar, the first six months of the year always have 31 days and the next five months always have 30 days. The last month is always 30 days, except in the case of a leap year, which is 29 days.

Fixed. Updated the pypi version.
p.s. please be careful when providing information. In fact, last month has 29 days, except the leap year, in which case it is 30.

Fixed. Updated the pypi version.
p.s. please be careful when providing information. In fact, last month has 29 days, except the leap year, in which case it is 30.

Sorry, I should have checked the text before posting.

No problem :)
I'll close this issue then.


Add unit test for plugin

Signed-off-by: wllenyj<EMAIL_ADDRESS>

@wllenyj looks like linter is not happy:
Error: File is not `gofmt`-ed with `-s` (gofmt)
  Error: don't use underscores in Go names; var `expect_uri` should be `expectURI` (golint)
  Error: don't use underscores in Go names; func parameter expect_uri should be expectURI (golint)
  Error: don't use underscores in Go names; struct field expected_uri should be expectedURI (golint)

PTAL?

@wllenyj looks like linter is not happy:
Error: File is not `gofmt`-ed with `-s` (gofmt)
  Error: don't use underscores in Go names; var `expect_uri` should be `expectURI` (golint)
  Error: don't use underscores in Go names; func parameter expect_uri should be expectURI (golint)
  Error: don't use underscores in Go names; struct field expected_uri should be expectedURI (golint)

PTAL?

@mxpv fixed

Code looks good, can you use your real name on the sign off though rather than Github username

Code looks good, can you use your real name on the sign off though rather than Github username

Done :)

/retest
what's going on? Can anyone give me some suggestions?

/retest


Extend syscall tests to musl

[x] Required #606
[x] Investigate failing test under scope: x86_64/aarch64  ldscope /opt/test/ltp/testcases/kernel/syscalls/send/send02
[x] Investigate integration on CI

The root cause of failing test:

the msghdr structure implementation in musl is compatible with POSIX standard [1]
the msghdr structure implementation in glibc is not compatible with POSIX [2][3]:

      "According to POSIX.1, the msg_controllen field of the msghdr
      structure should be typed as socklen_t, and the msg_iovlen field
      should be typed as int, but glibc currently types both as size_t."

msghdr structure according to POSIX standard includes at least the following members [4]:

      void         *msg_name;
      socklen_t     msg_namelen;
      struct iovec *msg_iov;
      int           msg_iovlen;
      void         *msg_control;
      socklen_t     msg_controllen;
      int           msg_flags;

msghdr structure implementation on glibc:

      struct msghdr {
        void         *msg_name;
        socklen_t     msg_namelen;
        struct iovec *msg_iov;
        size_t        msg_iovlen;
        void         *msg_control;
        size_t        msg_controllen;
        int           msg_flags;
      };

msghdr structure implementation on musl (Little Endian):

      struct msghdr {
        void         *msg_name;
        socklen_t     msg_namelen;
        struct iovec *msg_iov;
        int           msg_iovlen;
        int           __pad1;
        void         *msg_control;
        socklen_t     msg_controllen;
        int           __pad2;
        int           msg_flags;
      };

The main differences between glibc and musl implementation are:

different type of fields msg_iovlen and msg_controllen
musl have additional members as int __pad1 and int __pad2 [5][6]

In the AppScope library we use glibc implementation so we need to adjust the
msg_iovlen and msg_controllen interpretation when scoping under musl.
Link: https://repo.or.cz/w/musl-tools.git/blob_plain/HEAD:/tab_posix.html [1]
Link: https://man7.org/linux/man-pages/man2/send.2.html [2]
Link: https://man7.org/linux/man-pages/man2/recvmsg.2.html [3]
Link: https://pubs.opengroup.org/onlinepubs/009695299/basedefs/sys/socket.h.html [4]
Link: https://git.musl-libc.org/cgit/musl/commit/?id=a0252bc75b8546008c6b87e58344c4340683d5eb [5]
Link: https://git.musl-libc.org/cgit/musl/commit/?id=7168790763cdeb794df52be6e3b39fbb021c5a64 [6]

I love that the new test found the issue with sendmsg() in musl, and that we were able to improve the run time of the syscall tests so dramatically too!  Thanks!
Merging.


compile error

Describe your problem here.
this is my error:
source/Main.hx:75: characters 61-65 : Float should be Int
source/Main.hx:75: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:75: characters 61-65 : ... For function argument 'child'
source/TitleState.hx:326: characters 58-61 : Float should be flixel.util.FlxAxes
source/TitleState.hx:326: characters 58-61 : ... For optional function argument 'repeatAxes'
source/GameExitState.hx:65: characters 70-73 : Float should be flixel.util.FlxAxes
source/GameExitState.hx:65: characters 70-73 : ... For optional function argument 'repeatAxes'
help?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

do a #if (flixel < "5.0.0")  and at the end of the code do #end

For the issue with Main.hx, replace it with this one https://github.com/ShadowMario/FNF-PsychEngine/blob/main/source/Main.hx
As for the TitleState and GameExitState issues, do a if flixel 5.0.0 (see Jonnycat's comment)


Warn on class name collision

Span errors in console, when multiple the same block name is used multiple times.

Implemented here: https://github.com/streamich/nano-css/pull/159


illegal message attack

BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

I constructed some illegal messages to send to Namesrv or Broker,
I assign wrong value to remark length, and serialize the messages with ROCKETMQ type.

What did you expect to see?

Namesrv or Broker can work normally.

What did you see instead?

But Namesrv or Broker does garbage collection frequently.

Please tell us about your environment:

All RocketMQ Version.

Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

I have fixed the issue,  please see PR https://github.com/apache/rocketmq/pull/3475


Add problem sensor and/or error messages

Hallo,
it is possible to add a problem sensor and/or a message sensor with the error message content if some messages are available?
I could use the status of the mower for a error detection, but maybe a dedicated problem sensor would be more convenient.

Hello @Thomas55555 ,
thanks for adding a sensor in the last version. However, I thought that the problem sensor is a binary_sensor with device class "problem". In addition, the binary_sensor could have a attribute like "content" or "failure" with shows the error message content like in the husqvarna app. The entity id of the sensor could be binary_sensor._failure.
Examples of what I thought are the overvoltage sensors of a shelly device or the failure sensor of the custom miele integration:

The current problem sensor implementation with the state "WEEK_SCHEDULE" shows me the current configured behaviour. So, I would see here:

"WEEK_SCHEDULE" -> Normal week scheduling active
"MANUALLY_SCHEDULE" -> Start the mower outside the scheduling for example with the service husqvarna_automower.park_and_start
"NO_SCHEDULE" -> No scheduling defined so far

What do you think?

No, thats not right.
Possible values for this sensor are:
[WEEK_SCHEDULE, PARK_OVERRIDE, SENSOR, DAILY_LIMIT, FOTA, FROST]
These are the restricted reasons from Husqvarna, why the mower can't mow.
Also possible are all the error messages, that can be found here: https://developer.husqvarnagroup.cloud/apis/Automower+Connect+API#/status description and error codes
If there is no "problem", then the sensor returns None

Ah okay, thank you for the information. I created the following template sensor for me:

binary_sensor:

name: "Husky Failure"
unique_id: gar_mower_husky_failure
state: "{{ not ( is_state('sensor.gar_mower_husky_problem', 'unknown') or is_state('sensor.gar_mower_husky_problem', 'WEEK_SCHEDULE') ) }}"
device_class: problem

It is possible to get the error codes as well as the corresponding texts (see https://developer.husqvarnagroup.cloud/apis/Automower+Connect+API#/status%20description%20and%20error%20codes)? So, if the state of the mower has "ERROR, FATAL_ERROR, ERROR_AT_POWER_UP - An error has occurred. Check errorCode. Mower requires manual action." then it would be great if we can get the error code (+ text) in Home Assistant.


AAC streams not working on Linux but works on Windows

Hello,
running the same code on Windows worked perfectly but running it on rasperry pi caused this error:
[lava-daemon-pool-playback-1-thread-1] ERROR com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor - Error in playback of http://<IP_ADDRESS>/DISCOPOLOVT
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:40)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:102)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:357)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsatisfiedLinkError: com.sedmelluq.discord.lavaplayer.natives.aac.AacDecoderLibrary.getStreamInfo(J)J
at com.sedmelluq.discord.lavaplayer.natives.aac.AacDecoderLibrary.getStreamInfo(Native Method)
at com.sedmelluq.discord.lavaplayer.natives.aac.AacDecoder.resolveStreamInfo(AacDecoder.java:199)
at com.sedmelluq.discord.lavaplayer.container.adts.AdtsStreamProvider.decodeAndSend(AdtsStreamProvider.java:79)
at com.sedmelluq.discord.lavaplayer.container.adts.AdtsStreamProvider.provideFrames(AdtsStreamProvider.java:67)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:248)
at com.sedmelluq.discord.lavaplayer.container.adts.AdtsAudioTrack.process(AdtsAudioTrack.java:36)
at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
at com.sedmelluq.discord.lavaplayer.source.http.HttpAudioTrack.process(HttpAudioTrack.java:51)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:90)
... 4 more
Exception in thread "lava-daemon-pool-playback-1-thread-1" java.lang.UnsatisfiedLinkError: com.sedmelluq.discord.lavaplayer.natives.aac.AacDecoderLibrary.getStreamInfo(J)J
at com.sedmelluq.discord.lavaplayer.natives.aac.AacDecoderLibrary.getStreamInfo(Native Method)
at com.sedmelluq.discord.lavaplayer.natives.aac.AacDecoder.resolveStreamInfo(AacDecoder.java:199)
at com.sedmelluq.discord.lavaplayer.container.adts.AdtsStreamProvider.decodeAndSend(AdtsStreamProvider.java:79)
at com.sedmelluq.discord.lavaplayer.container.adts.AdtsStreamProvider.provideFrames(AdtsStreamProvider.java:67)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.executeProcessingLoop(LocalAudioTrackExecutor.java:248)
at com.sedmelluq.discord.lavaplayer.container.adts.AdtsAudioTrack.process(AdtsAudioTrack.java:36)
at com.sedmelluq.discord.lavaplayer.track.DelegatedAudioTrack.processDelegate(DelegatedAudioTrack.java:27)
at com.sedmelluq.discord.lavaplayer.source.http.HttpAudioTrack.process(HttpAudioTrack.java:51)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:90)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:357)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Is lavaplayer causing it or am I missing some file in my jar file?

The binary required for lavaplayer to work on ARM is not bundled with lavaplayer as I maintain that myself. You have an outdated version of that binary due to changes I made some versions back. Napster built a new ARM binary for that update as well, you can find it by searching for in:lavaplayer arm has:file in JDA discord.

Ok thanks a lot. Got it working now.


Test ticket - New team: Multiorganism-working-group

Hello,
This is to check whether we get notifications for tickets that mention the new team @geneontology/multiorganism-working-group
Please reply is you get this!
Thanks, Pascale

yes

Yes


Invalidate type restriction in definition blocks w.r.t their signature

Currently when defining a definition block with a type variable, the result type can be restricted to a concrete type (or have additional type classes).
However, a result type should be at least as generic as the definition's signature.
A possible fix would be to check if the type feeding into the result anchor does not add restrictions to the signature's result type when unified.
Example of an offending type restriction:

Solved by #305.


Bump minio chart to latest release RELEASE.2017-12-28T01-21-00Z

Thank you for contributing to kubernetes/charts. Before you submit this PR we'd like to
make sure you are aware of our technical requirements and best practices:

https://github.com/kubernetes/charts/blob/master/CONTRIBUTING.md#technical-requirements
https://github.com/kubernetes/helm/tree/master/docs/chart_best_practices

For a quick overview across what we will look at reviewing your PR, please read
our review guidelines:

https://github.com/kubernetes/charts/blob/master/REVIEW_GUIDELINES.md

Following our best practices right from the start will accelerate the review process and
help get your PR merged quicker.
When updates to your PR are requested, please add new commits and do not squash the
history. This will make it easier to identify new changes. The PR will be squashed
anyways when it is merged. Thanks.

/ok-to-test

/lgtm


Bugfix/home page typo

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


Flaky e2e test: TestDeployAllInOneDBLESSGateway in GKE fails because LB IP not ready

Is there an existing issue for this?

[X] I have searched the existing issues

Problem Statement
The e2e test case TestDeployAllInOneDBLESSGateway in e2e nightly workflow running on GKE is likely to fail: https://github.com/Kong/kubernetes-ingress-controller/actions/runs/6154923827/job/16701097412#step:5:766.
The failure is caused by the TCP port 8888 is not ready (gets RST when trying to connect to the port):
 helpers_gateway_test.go:306: failed to connect to <IP_ADDRESS>:8888, error read tcp <IP_ADDRESS>:38008-><IP_ADDRESS>:8888: read: connection reset by peer

Proposed Solution

Add probe to check whether TCP port is ready before testing TCPRoute features.
Maybe limit the parallel number of tests running on GKE if there are limit on active LB IPs or ports.

Additional information
No response
Acceptance Criteria

[ ] TestDeployAllInOneDBLESSGateway is not failing because LB port could not be connected

Thanks for creating this issue. It seems that we might want to rethink the way we handle multiple Gateways' listener configuration.
The logs indicate that the listeners are not the same and this is in line with what the test does
https://github.com/Kong/kubernetes-ingress-controller/blob/04b18058f7606269863a01dc2ca8a3dfbb04194d/test/e2e/features_test.go#L352-L373
and when Gateway controller tries to get the listeners from the dataplane it gets an error from here.
time="2023-09-10T05:04:08Z" level=info msg="marking gateway as accepted" GatewayV1Beta1Gateway="{\"Namespace\":\"default\",\"Name\":\"kong\"}" logger=controllers.Gateway name=kong namespace=default
time="2023-09-10T05:04:08Z" level=error msg="Reconciler error" error="Operation cannot be fulfilled on httproutes.gateway.networking.k8s.io \"70796978-ecaa-4bb6-a452-9e8b4aeee836\": the object has been modified; please apply your changes to the latest version and try again" logger=controllers.HTTPRoute reconcileID="\"6abb33ef-f61d-4a84-8617-c2b47172e01b\""
time="2023-09-10T05:04:08Z" level=error msg="Reconciler error" error="Operation cannot be fulfilled on httproutes.gateway.networking.k8s.io \"70796978-ecaa-4bb6-a452-9e8b4aeee836\": the object has been modified; please apply your changes to the latest version and try again" logger=controllers.HTTPRoute reconcileID="\"920db5e5-37e4-488a-acc7-caf4bde0e7d6\""
time="2023-09-10T05:04:08Z" level=error msg="Reconciler error" error="Operation cannot be fulfilled on httproutes.gateway.networking.k8s.io \"70796978-ecaa-4bb6-a452-9e8b4aeee836\": the object has been modified; please apply your changes to the latest version and try again" logger=controllers.HTTPRoute reconcileID="\"c464bf80-c642-4abc-a4d0-35f9a67182db\""
time="2023-09-10T05:04:09Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:09Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"d9e45b15-e93c-482b-8086-c6ee55a08063\""
time="2023-09-10T05:04:09Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"c128c279-4d40-422a-8783-a684f50e6929\""
time="2023-09-10T05:04:09Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"e1aad290-2cc5-4d5f-aeb5-9198a2dfb145\""
time="2023-09-10T05:04:09Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"6ce98cf9-48cf-4eb7-8841-bddab5c9fe33\""
time="2023-09-10T05:04:09Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"d5f6d60b-6973-4157-ad46-72dc3e0d237a\""
time="2023-09-10T05:04:10Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"b100300a-675f-45d4-bec8-a6b182c6364b\""
time="2023-09-10T05:04:10Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"0631b33d-ecdf-40a2-bad8-0ef2788788dd\""
time="2023-09-10T05:04:10Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"fb0a4dcc-9150-4077-97d9-61a87e572152\""
time="2023-09-10T05:04:11Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: failed to get listeners from https://<IP_ADDRESS>:8444: couldn't get root JSON when trying to determine listeners: making HTTP request: Get \"https://<IP_ADDRESS>:8444/\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" logger=controllers.Gateway reconcileID="\"a04d68d2-d9c7-4f6c-b315-65c3ca904fa8\""
time="2023-09-10T05:04:11Z" level=error msg="failed parsing resource errors" error="could not unmarshal config error: unexpected end of JSON input" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:11Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:11Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:11Z" level=error msg="failed parsing resource errors" error="could not unmarshal config error: unexpected end of JSON input" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:11Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:11Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:11Z" level=error msg="could not update kong admin" error="performing update for https://<IP_ADDRESS>:8444 failed: failed posting new config to /config: making HTTP request: Post \"https://<IP_ADDRESS>:8444/config?check_hash=1&flatten_errors=1\": dial tcp <IP_ADDRESS>:8444: connect: connection refused\nperforming update for https://<IP_ADDRESS>:8444 failed: failed posting new config to /config: making HTTP request: Post \"https://<IP_ADDRESS>:8444/config?check_hash=1&flatten_errors=1\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" subsystem=dataplane-synchronizer
time="2023-09-10T05:04:12Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: not all stream listeners out of 3 are the same" logger=controllers.Gateway reconcileID="\"d88b9a3e-c6ea-4fdb-b3eb-47ed8b717367\""
time="2023-09-10T05:04:14Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:14Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:14Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:14Z" level=info msg="httproute has been configured on the data-plane" GatewayV1Beta1HTTPRoute="{\"Namespace\":\"default\",\"Name\":\"70796978-ecaa-4bb6-a452-9e8b4aeee836\"}" logger=controllers.HTTPRoute name=70796978-ecaa-4bb6-a452-9e8b4aeee836 namespace=default
time="2023-09-10T05:04:14Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: not all stream listeners out of 3 are the same" logger=controllers.Gateway reconcileID="\"28ed698d-b129-4755-bdd4-03dc14c9072b\""
time="2023-09-10T05:04:14Z" level=info msg="httproute has been configured on the data-plane" GatewayV1Beta1HTTPRoute="{\"Namespace\":\"default\",\"Name\":\"70796978-ecaa-4bb6-a452-9e8b4aeee836\"}" logger=controllers.HTTPRoute name=70796978-ecaa-4bb6-a452-9e8b4aeee836 namespace=default
time="2023-09-10T05:04:15Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: not all stream listeners out of 3 are the same" logger=controllers.Gateway reconcileID="\"6e375509-bfb6-4137-ae98-ace0b8533d73\""
time="2023-09-10T05:04:17Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:17Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:19Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:20Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:20Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:20Z" level=error msg="failed parsing resource errors" error="could not unmarshal config error: unexpected end of JSON input" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:20Z" level=error msg="failed parsing resource errors" error="could not unmarshal config error: unexpected end of JSON input" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:20Z" level=error msg="could not update kong admin" error="performing update for https://<IP_ADDRESS>:8444 failed: failed posting new config to /config: making HTTP request: Post \"https://<IP_ADDRESS>:8444/config?check_hash=1&flatten_errors=1\": dial tcp <IP_ADDRESS>:8444: connect: connection refused\nperforming update for https://<IP_ADDRESS>:8444 failed: failed posting new config to /config: making HTTP request: Post \"https://<IP_ADDRESS>:8444/config?check_hash=1&flatten_errors=1\": dial tcp <IP_ADDRESS>:8444: connect: connection refused" subsystem=dataplane-synchronizer
time="2023-09-10T05:04:23Z" level=info msg="successfully synced configuration to Kong" update_strategy=InMemory url="https://<IP_ADDRESS>:8444"
time="2023-09-10T05:04:25Z" level=error msg="Reconciler error" error="unable to retrieve listeners from the data-plane: not all stream listeners out of 3 are the same" logger=controllers.Gateway reconcileID="\"0ef5f50f-e3ff-4c0d-bb46-8f8b68b9f8be\""
time="2023-09-10T05:04:28Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:28Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:29Z" level=info msg="httproute has been configured on the data-plane" GatewayV1Beta1HTTPRoute="{\"Namespace\":\"default\",\"Name\":\"70796978-ecaa-4bb6-a452-9e8b4aeee836\"}" logger=controllers.HTTPRoute name=70796978-ecaa-4bb6-a452-9e8b4aeee836 namespace=default
time="2023-09-10T05:04:30Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:30Z" level=info msg="reconciling Admin API EndpointSlice" logger=controllers.KongAdminAPIService name=kong-admin-ccdpx namespace=kong
time="2023-09-10T05:04:45Z" level=info msg="httproute has been configured on the data-plane" GatewayV1Beta1HTTPRoute="{\"Namespace\":\"default\",\"Name\":\"70796978-ecaa-4bb6-a452-9e8b4aeee836\"}" logger=controllers.HTTPRoute name=70796978-ecaa-4bb6-a452-9e8b4aeee836 namespace=default


Fixed bug in gradients of loaded qiskit circuits

Context: By expliciting calling params.val, the VariableRef classes, which allow us to keep track of which operations are using which parameters so that the parameter shift rule can be applied, are being lost in the conversion.
Description of the changes:

The binding logic in the conversion functions has been modified --- now, a mapping is kept of the differentiable Qiskit parameters to the PennyLane variables. The PennyLane variables are then used for operation execution where needed.

An integration test has been added to ensure that the gradient computation works correctly on converted qiskit circuits.

Ready to merge @josh146?

I'm holding off, as I would like to revert VariableRef -> Variable in PennyLane master first, to avoid updating all the other plugins as well.


Build error

Defold 1.8.0
defold-box2d 1.0.2
Build error:
/box2d/native/ext.manifest
	lld-link: error: duplicate symbol: public: void __cdecl b2Body::SetFixedRotation(bool)
>>> defined at D:\a\defold\defold\tmp\dynamo_home\ext\include\Box2D\Dynamics\b2Body.h:674
>>>            libscript_box2d.lib(script_box2d_body.cpp.2.o)
>>> defined at box2d_69.lib(b2_body.cpp_2.o)

Update ext.manifest to support defold 1.8.0
Use new release of library
https://github.com/d954mas/defold-box2d/archive/refs/tags/1.0.3.zip


[Faculty] Programme level breakdown -  Average graduation times

For how to count times, see #3817


Enable large file tests on okhttp

OkHttp now supports bodies that are 2GB+. Enabling the tests.

/azp run java - storage - tests

API change check
API changes are not detected in this pull request.


Any reason for choosing ACTION_SIZE = 3? Extension for continuous action?

I cannot figure out why you chooses ACTION_SIZE = 3.
In your branch 'gym', I find that someone changes it to 6.
As I remember, in DQN paper (Nature), ACTION_SIZE is greater than 10, and I think for some cases, it can affect the performance.
Any reason?
Also, do you have plan to extend your work for continuous action domain?
p.s.
I think your code is awesome! :)

In old ALE version which I forked,
getMinimalActionSet()

function returns 3 actions.
Recent ALE version and OpenAI Gym's self.env.action_space returns 6 actions.
This is why I set these parameters in constants.py.
Please refer discussion around here
https://github.com/miyosuda/async_deep_reinforce/issues/1#issuecomment-216037766
In ALE, there are 18 action set, but I'm using minimal actions which are actually used in the game.

Also, do you have plan to extend your work for continuous action domain?

I have no plan to implement it now. Sorry.

Thank you for your comments! :)


Create a IntoFrameBody trait

Make some of the APIs more ergonomic by having them accept any kind of object that can be turned into a Vec. This should get rid of .as_slice()s and junk.

Added in v0.8.0.


Fix Slackware build

Add missing #include <limits>

Sorry to nitpick, but I believe this is where the include should be. Not sure why it works out this way.
Could you retry with the other file? I don't have a slackware machine currently.

Done.
I just slapped the include in where the build complained about missing it.
While we are nitpicking, cmake's feeling get hurt, when relative paths are used in MONERO_SOURCE_DIR and MONERO_BUILD_DIR. The ~/ might be an exception for some reason.
What works on Slackware:
monero-lws/build$ cmake -DMONERO_SOURCE_DIR="$(realpath ../../monero)" -DMONERO_BUILD_DIR="$(realpath ../../monero/build)" ..


fix encoding of CDXObject.java from ISO-8859-1 to UTF8

Otherwise mvn complains about the file.
$ iconv -f ISO-8859-1 -t UTF-8//TRANSLIT CDXObject.java -o CDXObject.java.UTF8
$ mv CDXObject.java.UTF8 CDXObject.java

We should always use UTF-8 wherever possible. Anything else,
including 8859-1 will bite us at some stage.
On Sun, Jan 5, 2020 at 2:41 AM Oliver Stueker<EMAIL_ADDRESS>wrote:

Assigned #2 https://github.com/BlueObelisk/chemdraw-converter/pull/2 to
@petermr https://github.com/petermr.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/BlueObelisk/chemdraw-converter/pull/2?email_source=notifications&email_token=AAFTCS3TBXJTVLYKUW7XZJ3Q4FCG3A5CNFSM4KCZB7R2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVYWLLMI#event-2922165681,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTCS4Z7H4BQWN4FVT2EWDQ4FCG3ANCNFSM4KCZB7RQ
.

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK


Upgrade hmpps orb to keep builds running after 11 Oct 2022

What does this pull request do?
Upgrade hmpps orb for new setup_remote_docker syntax.
CircleCI said "In order to avoid possible job failures, please update your config by Tuesday, Oct. 11"
What is the intent behind these changes?
From CircleCI:

To keep users as current as possible, CircleCI is in the process of
updating the underlying architecture for the setup_remote_docker
feature, as well as other benefits. Old versions of Docker when combined
with a newer Docker image in rare cases may have incompatibility issues
with a custom script in a run command.
In order to avoid possible job failures, please update your config by
Tuesday, Oct. 11 to use the default version of Docker in
setup_remote_docker jobs. This can be achieved by eliminating the
version flag specified in each job that uses setup_remote_docker.
The default Docker version in jobs that use setup_remote_docker was
updated to version 20.10.17. The default is now being updated regularly.

This commit brings it those changes from the ministryofjustice/hmpps@6 orb.
CircleCI config diff omitted as it contains huge Slack payload changes. I manually verified that the setup_remote_docker changes were in.

Related:
https://github.com/ministryofjustice/hmpps-interventions-service/pull/1229

 Update configuration of build pipeline (or risk all of it stopping)


concat() got an unexpected keyword argument 'join_axes'

US_Accidents_May19.csv from kaggle

TypeError                                 Traceback (most recent call last)
 in
1 import pandas_profiling as pp
----> 2 pp.ProfileReport(df.iloc[[0,10]])
E:\Anaconda3\lib\site-packages\pandas_profiling_init_.py in init(self, df, **kwargs)
64         sample = kwargs.get('sample', df.head())
65
---> 66         description_set = describe(df, **kwargs)
67
68         self.html = to_html(sample,
E:\Anaconda3\lib\site-packages\pandas_profiling\describe.py in describe(df, bins, check_correlation, correlation_threshold, correlation_overrides, check_recoded, pool_size, **kwargs)
390             if name not in names:
391                 names.append(name)
--> 392     variable_stats = pd.concat(ldesc, join_axes=pd.Index([names]), axis=1)
393     variable_stats.columns.names = df.columns.names
394
TypeError: concat() got an unexpected keyword argument 'join_axes'

Could you provide the minimal information to reproduce this error?

the minimal code you are using to generate the report
which environment you are using (jupyter notebook, console or IDE) and packages (pip freeze > packages.txt)
a sample or description of the dataset (df.head(), df.info())

Could you provide the minimal information to reproduce this error?

the minimal code you are using to generate the report
which environment you are using (jupyter notebook, console or IDE) and packages (pip freeze > packages.txt)
a sample or description of the dataset (df.head(), df.info())

Yeah, I just a few codes and I just want to check these package with jupyter notebook

Which versions of pandas as pandas-profiling do you have installed?

pandas                             1.0.3
pandas-profiling                   1.4.1

i think the pd.concat join_axes kwarg has been at least deprecated, if not removed... somewhere around pandas 0.25 or 1.0.0
see https://github.com/pandas-dev/pandas/issues/21951 and https://github.com/pandas-dev/pandas/pull/22318

I think update pandas-profiling will solve this problem.
Besides, this issue is same as #401

Updating pandas-profiling doesn't work. This problem still exists.

Updating pandas-profiling doesn't work. This problem still exists.

I fixed the same issue in the example bellow by changing "join_axes" operator to "keys" operator. It works.
Before:
dfsubmit = pd.concat([TestdataID['PassengerId'], dfPrediction['Survived']], axis = 1, join_axes=[TestdataID['PassengerId'].index])
dfsubmit = dfsubmit.reset_index(drop=True)
After:
dfsubmit = pd.concat([TestdataID['PassengerId'], dfPrediction['Survived']], axis = 1, keys=[TestdataID['PassengerId'].index])
dfsubmit = dfsubmit.reset_index(drop=True)


Database Modules

This PR implements a feature that allows for using a database table to manage your modules. Nicolas created an old branch with most of the progress done, I've picked it up today, with a fork.
Todo:

[ ] Modify the ModuleGenerator to respect the database table
[ ] Add command for migrating modules from .json to db

Fixes #1084
Co-Authored-By: Nicolas Widart<EMAIL_ADDRESS>

@nWidart Could give a helping hand? I really don't know why it's erroring...

Hello @FoksVHox
When I searched how to use a database table to manage modules and this came up.
I checked the PR but sorry the work is not done yet, maybe 70-80%, and UT too. That's why it failed.

Hello @FoksVHox
When I searched how to use a database table to manage modules and this came up.
I checked the PR but sorry the work is not done yet, maybe 70-80%, and UT too. That's why it failed.

I'm fully aware of it wasn't finished. And I'm trying to figure out why it fails, as it doesn't make sense to me why it does.

and UT too. That's why it failed.

What do you mean by that?

Hello @FoksVHox

and UT too. That's why it failed.

What do you mean by that?

I mean Unit Test is not correct. You can check it in here. We have 3 errors in Unit Test. The code should not find DisabledModule's module.json because it does not exist.
I forked your work and I will try to work on it because I need this feature too.

Closed in favor of #1163

Closed in favor of #1163


Add VkPhysicalDevicePortabilitySubsetFeaturesKHR:: shaderFragmentSamplerLod1DArrayShadow capability

Some CTS tests fail when the fragment shader samples shadows from 1D array textures.
This is likely fixable with effort within the implementations.
In the meantime, these use cases can be disabled in CTS and reported as Not Supported, by adding a VkPhysicalDevicePortabilitySubsetFeaturesKHR:: shaderFragmentSamplerLod1DArrayShadow capability.
This affects 2 CTS tests:
dEQP-VK.glsl.texture_functions.texturelod.sampler1darrayshadow_fragment
dEQP-VK.glsl.texture_functions.texturelodoffset.sampler1darrayshadow_fragment
  Fail (Image mismatch)

I believe this is, like shaderIntCubeSampler and one of the shaderGraphicsFuzzConformance failures, a shader compiler backend bug. The problem is that the sample_compare() method winds up sampling in this case 3 mip levels higher than it ought to be. Biasing the LoD passed by -3 makes the test work. I don't know if biasing by 3 will work in all cases. I suspect that the LoD is getting biased by the texture coordinate derivatives when it shouldn't be; perhaps using gradient2d will make it work right. But of course, that would only work with Apple Silicon GPUs and Intel GPUs; the AMD GPUs don't support anything beyond sampling explicitly from level 0, for some reason.
I honestly think this is a corner case that Apple isn't adequately testing--OpenGL, of course, has no overload of textureLod() that works on a sampler2DArrayShadow, and we're using 2D textures to work around shortcomings of 1D textures in Metal.

Thanks for providing such a complete description.
If we assume we have no control over Apple's bug fixing schedule, it sounds like we might need this flag then, but knowing that it might become true always once this bug is fixed?

I have a workaround for this.

The workaround is now in MoltenVK.


Fail timeout should only consider segment fetch

At the moment the timeout is not cleared after a successful segment fetch. This implies that the upload should also be finished within the given fail timeout.

Solved by https://github.com/Eyevinn/hls-pull-push/pull/9


Sorting time increases too quickly when sorting speed is increased during sorting

When the FPS slider is moved to decrease the FPS of a sorting algorithm being visualized, totalDelay and visualizationTime become out of sync (totalDelay > visualizationTime, which is not possible), leading to the value of Sorting Time being negative.  Quick sort isn't THAT fast :)
Related to this issue, when the delay is very high at the beginning of a sorting visualization (500ms delay), the sorting time starts out initially negative.

This seems to be caused by poor design... (by me ): )
Trying to determine the time of sorting algorithms where n is a small number  (<1000) is not only give a tiny number, but it will be very inaccurate since we are performing other actions in the sorting algorithm.
We can try to solve this by completely changing how the program works.

Stop using SwingWorker / Make the program no longer multi-threaded.
Complete the sorting algorithm first, while storing all of the swaps / arrays in a table, then drawing all of those swaps.

Storing these swaps can make the time inaccurate again...

I'm just going to remove the sorting time label in the performance label and just show Visualization Time  :)

This seems to be caused by poor design... (by me ): )
Trying to determine the time of sorting algorithms where n is a small number  (<1000) is not only give a tiny number, but it will be very inaccurate since we are performing other actions in the sorting algorithm.
We can try to solve this by completely changing how the program works.

Stop using SwingWorker / Make the program no longer multi-threaded.
Complete the sorting algorithm first, while storing all of the swaps / arrays in a table, then drawing all of those swaps.

Storing these swaps can make the time inaccurate again...

I'm just going to remove the sorting time label in the performance label and just show Visualization Time  :)


IrrigationSystemAccessory doesnt have action

Hello,
i added few sprinklers which implements IrrigationSystemAccessory.
I can see all of them it in Home application on iphone but pressing that "device" only shows configuration for that. No Action is made.
branch: master
JDK 8

IrrigationSystemAccessory requires valve services linked to it. irrigation is basically grouping several valves. the actual functionality is provided by vales.
however, linked services are not supported yet. Once this https://github.com/hap-java/HAP-Java/pull/110 is merged, you can add valves to irrigation.
until then you can use valve directly.

#110 was merged quite some time ago, and I've tested an irrigation system with linked valves. Closing this now.


Clicking component in the tree should scroll the window to it

Description
Clicking a component in the tree should scroll the window to it. Now it only highlights it; if in the viewport it is not visible it is needed to scroll it on our own unnecessarily
WebSight CMS version
1.0.0
Steps To Reproduce

Edit the homepage for Luna
Click on a component in Content Tree

Expected behavior
Window scrolls to the selected component
Screenshots

Desktop

OS: macOS
Browser: Chrome
Version: 105

Additional context

Reported by @pun-ky in https://github.com/websight-io/starter/discussions/11

Resolved in WebSight CMS version 1.4.0.


Doesn't work on macOS Ventura 13.0

Thank you for creating this! It might be exactly what I've been looking for, for a long while. But I doesn't seem to run on macOS 13. I'm assuming it's because they changed the layout of the System Preferences app.
Could you please update or give me patch to make it work on macOS Ventura!

I'm getting the error The action “Run AppleScript” encountered an error: “System Settings got an error: AppleEvent handler failed.
Is it the same for you?

I'm getting the error The action “Run AppleScript” encountered an error: “System Settings got an error: AppleEvent handler failed. Is it the same for you?

Yes, I'm getting the same error on Ventura 13.1

hey , I managed to make fn-toggle run on macos Ventura. The interface had a substantial change, so the script got a bit more complex.. I'm not used to write AppleScript, so suggestions are wellcomed
please check the PR out here: #13
to try it yourself, please clone the fork:
https://github.com/gabrielcipriano/macos-fn-toggle-ventura
the steps are pretty much the same:
make install
go to System Settings > Privacy & Security > Accessibility
allow fn-toggle

hey , I managed to make fn-toggle run on macos Ventura. The interface had a substantial change, so the script got a bit more complex.. I'm not used to write AppleScript, so suggestions are wellcomed
please check the PR out here: #13
to try it yourself, please clone the fork: https://github.com/gabrielcipriano/macos-fn-toggle-ventura the steps are pretty much the same: make install
go to System Settings > Privacy & Security > Accessibility
allow fn-toggle

Just tried your fork on 13.2.1 and got the following error:
The action “Run AppleScript” encountered an error: “System Settings got an error: AppleEvent handler failed.”

hey , I managed to make fn-toggle run on macos Ventura. The interface had a substantial change, so the script got a bit more complex.. I'm not used to write AppleScript, so suggestions are wellcomed
please check the PR out here: #13
to try it yourself, please clone the fork: https://github.com/gabrielcipriano/macos-fn-toggle-ventura the steps are pretty much the same: make install
go to System Settings > Privacy & Security > Accessibility
allow fn-toggle

Just tried your fork on 13.2.1 and got the following error: The action “Run AppleScript” encountered an error: “System Settings got an error: AppleEvent handler failed.”

I tried only on the latest version: 13.3.1 (a)

hey , I managed to make fn-toggle run on macos Ventura. The interface had a substantial change, so the script got a bit more complex.. I'm not used to write AppleScript, so suggestions are wellcomed
please check the PR out here: #13
to try it yourself, please clone the fork: https://github.com/gabrielcipriano/macos-fn-toggle-ventura the steps are pretty much the same: make install
go to System Settings > Privacy & Security > Accessibility
allow fn-toggle

Works perfectly on 13.3.1 (a). Thanks!

@gabrielcipriano’s fix is now in master, thanks!


Improve snap release cycle

I'm wondering, why the prebuild snap versions are so much mixed up.

I'm not very familiar with the release cycle of snaps, but regarding https://snapcraft.io/docs/channels#heading--risk-levels I would expect stable releases are pretested via candidate versions. But it seems like that channel is not in use at all. Additionally, the version of the beta channel is not the same as the one on stable (or even close), and the edge version ("for users wanting to closely track development") is very old, compared to the stable channel.
From my point of view, this situation leads to bugs like this one, which is kind of critical, especially in the stable version. And it happened earlier to me with lens, which is quite unfortunate if you use lens on a daily basis.
I don't want to blame anybody, but I was asking myself, how  it would be possible to improve that situation, especially regarding the snap versions? I'm not familiar with the other channels where you provide prebuild packages, but I am wondering if they have the same issues?
Meanwhile, I will build the project from the repository, which seems to be the "safest" method to receive reliable versions (e.g. one for testing/bugreports, and one for productive every-day usage).

Seems like other channels have kind of the of the same problems, at least https://downloads.k8slens.dev/apt/debian
I just installed the latest version from there, running into same issue mentioned before, like with the snap version.

The other issue is more about uses different versions of Ubuntu to build Lens Desktop. We are planning to fix this soon.
As to this issue. We use other means of testing releases instead of the channels built into the Snap store, given that we have the release channel built into the version itself.


Cleanup manager view

After refactoring of the manager views, lots of unused files need to be removed

Duplicate of entry in #165


Transpose Table

Can you please make this library work with a transpose table?  THANK YOU!!!

a link to "transpose table" would help

Click on "Construct", then "transpose". Now this seems kind of tricky to do so it'll be a challenge =)
https://vm-dev-030.misd.isi.edu/Chaise-Detail/detail.html#c=6&t=target&id=110

That link is on a university intranet, it cannot be accessed from outside.
Is transpose table a plugin that is on github?

Strange. I can access it from my home. Basically for the transpose table, the header is on the left (dark gray) and the user scrolls from left to right. So for every row, the first cell is the header
'

header1
cell1
cell2

heade2r
cell3
cell4

'

Ok now I understand. That is an entirely different problem than the one this plugin solves in terms of implementation. It would be easier to write a new plugin than to modify this one.
That is why I will not support that use case


Initialization of mutually recursive values can sometimes leave fields uninitialized

When initializing mutually recursive values, some fields may end up null (i.e. uninitialized). This does not depend on whether the values are not actually recursive or only declared as such.
No warnings are issued by the compiler, and no runtime errors are raised.
Repro steps
Here is a minimal repro:
type A = A of B
and B = B of A | C

// Case 1: non-recursive
let rec a1 = B (A b1)
and b1 = B (A c1)
and c1 = C

// Case 2: true recursive
let rec a2 = A b2
and b2 = B a2

Case 1: the values are not actually recursive, but are declared as such. The value a1 ends up under-initialized: a1 = B (A null). However, value b1 initializes correctly: b1 = B (A C).
Case 2: the values are actually recursive, and both end up invalid: a2 = A null, b2 = B (A null). Also, b2 itself seems to get initialized correctly as far as its own fields, that is: obj.ReferenceEquals( (fun (B a) -> a) b2, a2 ) = true

Expected behavior
a1 = B (A (B (A C)))
b1 = B (A C)
c1 = C

a2 = A (B a2)
b2 = B (A b2)

Looks like this problem only appears in modules, that is...
let rec a = A b
and b = B a ;;

does result in
val a : A = A null
val b : B = B (A null)

However, this non-recursive behavior can be avoided by using an inner expression:
let a, b =
  let rec a = A b
  and b = B a
  in a, b
;;

results in
val a : A = A (B ...)
val b : B = B (A ...)

Another occurrence of this caught in the wild: https://stackoverflow.com/questions/55907218/why-is-the-recursive-value-null/55909017

Moved to https://github.com/dotnet/fsharp/issues/6750


As a User I want to be able to hyperlink to any tournament in my organisation so that I can better bookmark and share the link

Using the unique /tournaments/:id URL, we can uniquely access a tournament. Currently this is only supported for tournaments within the user's organisation, not global tournaments.


(Master) Allow non-production builds

What kind of change does this PR introduce?
Fix
Did you add tests for your changes?
No
Summary
See #652
Closes #651
Does this PR introduce a breaking change?
No

Works for me!
fixes https://github.com/developit/preact-cli/issues/651

Thanks!


feat: MergeDir

MergeDir is a more performant version of consolidating ACH files together. It concurrently reads files rather than reading all files into memory.

Benchmark Results
$ gotest . -run BenchmarkMerge -bench BenchmarkMergeFiles/Merge
goos: darwin
goarch: amd64
pkg: github.com/moov-io/ach
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkMergeFiles/MergeFiles-16         	    1375	    888429 ns/op	   56891 B/op	     637 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeFiles-16
    merge_bench_test.go:193: 1 files merged into 1 files
    merge_bench_test.go:193: 100 files merged into 1 files
    merge_bench_test.go:193: 1375 files merged into 9 files
BenchmarkMergeFiles/MergeFiles_ValidateOpts-16         	    1413	    967463 ns/op	   56931 B/op	     637 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeFiles_ValidateOpts-16
    merge_bench_test.go:197: 1 files merged into 1 files
    merge_bench_test.go:197: 100 files merged into 1 files
    merge_bench_test.go:197: 1413 files merged into 9 files
BenchmarkMergeFiles/MergeDir-16                        	    3553	    300769 ns/op	   57383 B/op	     641 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeDir-16
    merge_bench_test.go:215: merged 1 files into 1 files
    merge_bench_test.go:215: merged 100 files into 1 files
    merge_bench_test.go:215: merged 3553 files into 22 files
BenchmarkMergeFiles/MergeDir_ValidateOpts-16           	    3328	    308202 ns/op	   57437 B/op	     641 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeDir_ValidateOpts-16
    merge_bench_test.go:233: merged 1 files into 1 files
    merge_bench_test.go:233: merged 100 files into 1 files
    merge_bench_test.go:233: merged 3328 files into 20 files
BenchmarkMergeFiles/MergeFiles_3Groups-16              	    1095	   1096058 ns/op	   62565 B/op	     697 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeFiles_3Groups-16
    merge_bench_test.go:237: 1 files merged into 1 files
    merge_bench_test.go:237: 100 files merged into 1 files
    merge_bench_test.go:237: 1095 files merged into 7 files
BenchmarkMergeFiles/MergeFiles_5Groups-16              	    1137	   1105231 ns/op	   62569 B/op	     697 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeFiles_5Groups-16
    merge_bench_test.go:240: 1 files merged into 1 files
    merge_bench_test.go:240: 100 files merged into 1 files
    merge_bench_test.go:240: 1137 files merged into 7 files
BenchmarkMergeFiles/MergeFiles_10Groups-16             	    1153	   1171076 ns/op	   62708 B/op	     697 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeFiles_10Groups-16
    merge_bench_test.go:243: 1 files merged into 1 files
    merge_bench_test.go:243: 100 files merged into 1 files
    merge_bench_test.go:243: 1153 files merged into 7 files
BenchmarkMergeFiles/MergeFiles_100Groups-16            	    1348	   1094977 ns/op	   62216 B/op	     699 allocs/op
--- BENCH: BenchmarkMergeFiles/MergeFiles_100Groups-16
    merge_bench_test.go:246: 1 files merged into 1 files
    merge_bench_test.go:246: 100 files merged into 1 files
    merge_bench_test.go:246: 1348 files merged into 9 files
PASS
ok  	github.com/moov-io/ach	23.374s

Codecov Report

Merging #1395 (5f98d2b) into master (14207d2) will decrease coverage by 0.66%.
The diff coverage is 20.68%.

:exclamation: Current head 5f98d2b differs from pull request most recent head 7dc3bbe. Consider uploading reports for the commit 7dc3bbe to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1395      +/-   ##
==========================================
- Coverage   84.69%   84.03%   -0.66%
==========================================
  Files          82       82
  Lines        8205     8275      +70
==========================================
+ Hits         6949     6954       +5
- Misses        891      955      +64
- Partials      365      366       +1


Now using keybase-chunk-stream!

Very simple changes - generalized StreamEncoder and StreamDecoder into a new npm package, keybase-chunk-stream. All that's changed here is we're now using that new API. Be sure to npm install!

👍


[BUG] mne.viz.Brain raises cryptic error when plotting 'seghead', works for mne.viz.plot_alignment

Here's some minimally reproducible code:
import os.path as op
from mne.datasets import sample
import mne

data_path = sample.data_path()
sample_dir = op.join(data_path, 'MEG', 'sample')
subjects_dir = op.join(data_path, 'subjects')
evoked = mne.read_evokeds(op.join(sample_dir, 'sample_audvis-ave.fif'))[0]
trans = mne.read_trans(op.join(sample_dir, 'sample_audvis_raw-trans.fif'))
mne.viz.plot_alignment(evoked.info, trans, subject='sample', subjects_dir=subjects_dir, surfaces=['seghead'])  # works
mne.viz.Brain('sample', 'lh', 'seghead', subjects_dir=subjects_dir)  # raises error

Stack trace
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/alexrockhill/projects/mne-python/mne/viz/_brain/_brain.py", line 523, in __init__
    mesh.add_overlay(
  File "/Users/alexrockhill/projects/mne-python/mne/viz/_brain/_brain.py", line 178, in add_overlay
    self._apply()
  File "/Users/alexrockhill/projects/mne-python/mne/viz/_brain/_brain.py", line 194, in _apply
    self._renderer._set_mesh_scalars(
  File "/Users/alexrockhill/projects/mne-python/mne/viz/backends/_pyvista.py", line 699, in _set_mesh_scalars
    mesh.point_arrays[name] = scalars
  File "/Users/alexrockhill/software/anaconda3/envs/mne/lib/python3.9/site-packages/pyvista/core/datasetattributes.py", line 57, in __setitem__
    self.append(narray=value, name=key)
  File "/Users/alexrockhill/software/anaconda3/envs/mne/lib/python3.9/site-packages/pyvista/core/datasetattributes.py", line 211, in append
    raise ValueError(f'narray length of ({narray.shape[0]}) != required length ({array_len})')
ValueError: narray length of (155407) != required length (267122)

seghead is not a valid brain surface, so I doubt baby folks will hit this. We should maybe just add a "add_head" function that can use a surface name or BEM

Ok so I guess it should raise a more informative error in this case? surf/lh.seghead is the same kind of surface as all the rest of the surfaces AFAIK so it might make sense to have this be plottable by the same API alternately

surf/lh.seghead is the same kind of surface as all the rest of the surfaces AFAIK so it might make sense to have this be plottable by the same API alternately

I think it's not the same actually. The file format is the same but it's not a left hemisphere surface (and does not share an identical triangulation, which all the other sphere/pial/white etc. surfaces do) so we should not treat it the same

I think it's not the same actually. The file format is the same but it's not a left hemisphere surface (and does not share an identical triangulation, which all the other sphere/pial/white etc. surfaces do) so we should not treat it the same

Ah okay good to know! I can write a quick PR to raise an error. Are there any other surfaces that are formatted as lh.? that also don't work?

+1 for a new head parameter. Maybe just head=True | False | str ?  do we need the str option?

I would really rather not add a new parameter to the Brain constructor, the signature is already too long. Plus there are options one might want to specify (which surface/density/filename, color, opacity) so a dedicated add_head method seems better to me

Are there any other surfaces that are formatted as lh.? that also don't work

I would raise an error for surface=seghead, I'm not sure if there are other surfaces that are incompatible

a dedicated add_head method seems better to me

I really like the add_XXX methods, they seem easy to use and understand and easy to maintain as they are a lot simpler. I think eventually they might all need a remove_XXX that will complicate things a bit but that is a +1 from me for style.

I think eventually they might all need a remove_XXX that will complicate things a bit but that is a +1 from me for style.

Can you open an issue for this and ping @GuillaumeFavelier to consider after the coreg class refactor is done at some point? One way to make this simple is to have each method return a list of VTK actors, and the Brain instance can keep track internally of a list of actors it has added. Then we can just have a brain.remove(actors) method that .pops each actor from the internal list and removes it from each plotter.


New version of Sengrid-PHP for Guzzle 6.x support

I have been working on a fork of the SendGrid-PHP library to support Guzzle 6.x. This fork only supports PHP 5.5+ and eventually PHP 7.0 as testing with the RC's for PHP 7.0 has started. The decesion to do this was also for my support of the Drupal Sendgrid module. Drupal 8.0 includes Guzzle 6.x making integration really easy for the Drupal CMF for 8.x and beyond. It also supports Drupal 7.x by using the another contrib module that provides Composer.
I made a grave mistake by commiting to master branch in my fork. I should have created a branch! But what is done is done. I updated all the classes and methods and have run Travis CI using my own account and the existing PHPUnit test adapted to exclude PHP 5.3 and 5.4.
I would love for Sendgrid to consider this contribution as a new version of Sendgrid-PHP. This would allow you to continue support for PHP 5.3 by creating a new version of the Sendgrid library.
This pull request isn't meant to be the final version. I know there are other changes that need to be made. This pull request could essentially be looked at as a request to make a new branch in SendGrid-PHP library - a 4.x.x branch.
Lastly, along with the testing. I am using this on a production website via custom composer.json's: https://www.swingsurgeon.com
Thoughts?

Any word on this? I am needing this for the Drupal module I am about to publish so I want to get this into packagist. I rather not register a fork of this library, but if SendGrid has no interest in taking this as a contribution I will happily register this as a fork and just assume maintenance of it.

First of all, thank you! We greatly appreciate the work you have done to move this library into the future.
Unfortunately, we can make these changes to our current officially supported library as there is still significant php 5.3 usage.
That said, when the time comes we will likely draw from your work. For now, I suggest you maintain this fork on your own repo as a contribution to the php community who would prefer to use the latest Guzzle and php 5.5 or greater.
I will be watching your fork in case there are any changes we can help with.
Also, I may add this support as part of the official library while maintaining backwards compatibility, but I'll need some time to determine if that's possible and how to proceed.

Thanks for the feedback. I plan on getting this into Packagist in some form under my namespace.
I will try and keep it update with the changes you guys make.

Awesome! Thanks again!

FYI, I have this fork in Packagist now. I have some work to catch up on changes you guys have made.
https://packagist.org/packages/fastglass/sendgrid
Please let me know if you see any problems with anything in the package. I attempted to make it completly clear that this is a fork and not the official library.

That is awesome @taz77!
Realistically, it will be some time before I can give it a proper review, but do please keep me in the loop.

No problem. I'm using it already in a few production websites. I been trying to go through your commits to see what I need to port over.

@taz77 Is the fork on Packagist ready for production? I mean, no obvious bugs or leftover work to do.
I noticed the Travis build widget shows "build failing" on /taz77/sendgrid-php/ but clicking it seems to redirect to a picture and not a real Travis build page, are you aware of that?
@thinkingserious How is the plan to upgrade /sendgrid/sendgrid-php/ to Guzzle 6.x as for now, as PHP 7 is now released, I don't think it's reasonable to continue supporting PHP 5.3 users anymore.
Moreover, most development and production environments I've seen in the last year have PHP 5.5.x and updates to PHP 7 are surely coming in the next few months.Anyone really using PHP 5.3 and doesn't wish to upgrade their PHP version should just stick to the sendgrid-php v4.0.x library and deal with it.

@achraf52 The fork works great. I am running on a production eCommerce site. I developed the fork because of a new release of the Drupal module for SendGrid: https://www.drupal.org/project/sendgrid_integration
And Drupal 8 ships with Guzzle in the core of the CMS.
The Travis builds are failing because I have not fixed the Travis YML. Just no time to do that with all of my other responsibilites at the moment.
I had the same arguments that you did so I went the route of forking the library and developed my own support for PHP 5.5 and greater. I do not believe in supporting deprecated software, it hurts everyone.

@taz77 Thank you for the great work you've put into this, I hope you find the time to fix the Travis YML so that future users will not be alarmed by the widget and proceed safely to adopt the library.

@achraf52 I fixed the build status. It was because I changed version numbers there was a test written to test the version number and it was failing. Now it shows green.


UX: need a start-time for things like 'get pods'

Docker's "started: about an hour ago" UX is pretty nice.  We are sorely lacking any indicator of age when we do things like "get pods"

Closing in favor or #8929


Add support for options.qs

Just a quick proof-of-concept implementation of #159.

Looks good.
@reqshark @gsf Any comments? I'd merge it into v3 as is.

@reqshark , i'm surprised you so strongly associate the word "stringify" with JSON. We don't have to use the term, but I think it is the best decision. I don't these other libs have made a mistake using it. Anything can be "stringified" – it's basically just a synonym for serializing, right?
Either way, I think using "as" as both the option you pass when building an xhr, and as the builder/stringifier, could potentially cause confusion. Users have to deal with learning that "the xhr.qs function accepts options.qs and returns it as string." Not as straightforward as it could be imo.
How would you feel about any of these alternatives:

buildQs
serializeQs

Thanks for the review, you too! Feel free to push directly to this branch; otherwise, I'll update based on your comment tomorrow.

Anything can be "stringified" – it's basically just a synonym for serializing, right?

I think using "qs" as both the option you pass when building an xhr, and as the builder/stringifier, could potentially cause confusion

ok fair points @jmeas, what about qsFn or just xhr.querystring?

Another verb you used was "encode," but this function is not encoding anything imo, so i don't think we should consider that option.

the qs lib's stringify method encodes by default, and accepts encode options for encoding.
when forming XHR requests browser's encodeURIComponent() is helpful per RFC3986
the fact that you don't think "this function is encoding anything" gets precisely to my point about JSON terminology confusing people

I'd support qsSerialize as my first choice.
naming things is hard. :)

I'll name it qsSerialize for now. Feel free to make changes in the v3 branch.
Would you like me to add tests in addition to these other changes you requested? Also, I made all of the suggested changes in the fixup PR (I think). Let me know if I missed anything.
I'll squash the commits when you give this PR your final :+1:

I'm merging this manually to v3development.

Closing as this is merged into v3development: https://github.com/naugtur/xhr/commit/807745f5654bdf6d49ca60c6427f5424a4759d8e

Sorry I'm late to the party. To align with Node, qs, query-string, and request, the function reference should be qsStringify. That's the nomenclature. And aside from some creative edge cases, options.qs should be an Object, as it is in request.
Looking at the bigger picture, do we want to keep extending the API surface on the createXhr object? That moves us further away from a guiding factor in the simplicity of request: all configuration goes in that options object.
In a comment on #159, @jmeas makes a point that it's "a hard sell to use this lib for universal code, as the Node code would absolutely use the qs option." It's worth considering how committed we are to the "subset of request" goal. We could stay fully within the request API by pulling in qs as a dependency, but that obviously adds bloat that many may not need.
The qsStringify function could instead be set on options, similar to qsStringifyOptions in request. To avoid including it in every xhr call, we could add the rather cool request.defaults method. And if we add the undocumented requester argument to request.defaults, that solves the multiple signatures issue, making it just a few lines of code for anyone to add their own qs option:
var req = xhr.defaults(function (options, callback) {
  options.uri = (options.uri || options.url) + '?' + qs.stringify(options.qs);
  return xhr(options, callback);
});

Valid points. Would you mind starting a new issue with this and tagging v3 milestone?
I think this also aligns with the goal of the most useful subset of request we can deliver on a tiny package.

@gsf, all of that sounds 👌 to me

Issue #163 created. And yes, in that example, the req function would be used for all future calls, just like a full wrapper.


boards: spresense: Add CONFIG_BOARD_LATE_INITIALIZE=y for SMP

Summary

I noticed that spresense:rndis_smp and spresense:wifi_smp
do not boot due to the recent change in nx_start.c
As the result of the discussion, I understand that we have to
add CONFIG_BOARD_LATE_INITIALIZE=y for SMP

Impact

spresense only

Testing

Tested with spresense:rndis_smp and spresense:wifi_smp

See https://github.com/apache/incubator-nuttx/pull/4026#issuecomment-872992722


Farcaster Client / Plugin

Parity with Twitter client, but on Farcaster
Reward: $1000 USD in $ai16z + $1000 USD in $degenai
As seen on https://ai16z.github.io/

Do you mean you want a Twitter clone or that you want Eliza to be able to have its existing Twitter bot functionality Farcaster?

I mean that we want the same functionality in Farcaster

We have created a 'social oracle' between Twitter and Steem/Farcaster, which already supports the Steem Blockchain, and we are planning to support Farcaster Hubs. Our idea is that Twitter serves as the operations dashboard for on-chain activities, while Steem/Farcaster acts as the Social DA. I wonder if you might be interested in this.
You can try it out here: tiptag.social. Tweet and add #TipTag #Slime, and the content will be sync to Slime Community（on-chain community）.


Add GHA build

I am not an expert of this .net stuff .. just following what I find at https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-net and cobbling something together
Or maybe https://github.com/microsoft/setup-msbuild
Also have to figure out https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry and https://github.com/NuGet/setup-nuget
Still very much a work in progress
Do we have to merge this so it even runs in the first place? At this stage I am flying blind .. going to get back to this after some feedback and time to look into it more.
Probably also have to figure out how install this stuff locally...

I am merging this to see what happens ;-)


Need to create PCAttachment to create a PCMessage with a link attachment

What?
Please allow us to create attachments to pass into PCMessage.  Currently I create PCMessages which we use to create a virtual room before we actually create one. However, for attachments, I need the ability to create an attachment. Please update Attachment.swift to the following code so we can create attachments:
import Foundation
import PusherPlatform
public struct PCAttachment {
public let link: String
public let type: String
public let name: String
public init(link: String, type: String, name: String) {
    self.link = link
    self.type = type
    self.name = name
}

}
Environment

PusherChatkit version:
Xcode version:
Swift version:
Platform(s) running PusherChatkit:

Demo Project (if you have one; it helps a lot!)

CC @hamchapman

Its looks as if this feature request was addressed last year but the issue was never closed.


Running 'fuck' successfully removes history entries made in that session

Reproduction:
open a new shell, click the up arrow to view the latest entry in bash_history ->
enter a few more commands -> enter a command that can be fixed with thefuck ->
run fuck (aliased to: 'eval $(thefuck $(fc -ln -1)); history -r') ->
click the up arrow -> all the commands entered in that shell are gone, the history is the same as if you just opened a new shell.
Is this expected, am I doing something wrong?

Same for me on bash 4.3.33.
Maybe history -r should be replaced with history -a; history -c; history -r? Append to the history file, then clear and re-read.

I'm on bash 4.3.11(1)-release BTW.
I changed the alias as you suggested and it seems to act correctly, so I'm going to leave it like that for now :)

While trying to programmatically fetch history (instead of using the alias) on #167 (relevant code is in get_command() in main.py) , I figured out that the following lines in your .bashrc will keep your .bash_history current with each command:
shopt -s histappend
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"

This executes PROMPT_COMMAND just before displaying each new command prompt, so it is actively updating your .bash_history with each command.
I'm not 100% certain that this'll solve the problem, but it could help.

 Or much simply as @dunn comment alias fuck='thefuck $(fc -ln -1) cause not is necessary make an eval.
And this alias only work in bash, cause in you sh cannot make the bash expansion $().
What is clear is that the history -r is a bad thing.

dunn's suggestion for history -a; history -c worked for me. I think underscorejho's suggestion will have some other side effects, like your history doesn't get stored for a single terminal session (since, usually, history is contained in memory and written to disk on exit of a shell, whereas the suggestion changes it to write to disk on every command).
Ideally this could be fixed within thefuck, instead of outside hacks like this. I've noticed that thefuck seems to duplicate the history, since I see double the entries in history after running fuck. It probably shouldn't be editing the history at all.

The way of handling history was changed in previous releases.


The ab capable to make about 3x times RPS than boom

The boom measures close 7k rps, while the ab close to 20k rps using equal settings.
#ab -c 250 -n 250000 http://<IP_ADDRESS>:3000/
#boom -c 250 -n 250000 -disable-keepalive http://<IP_ADDRESS>:3000/

Could it be because go uses single core by default? Can you try with more processors? boom by default uses the number reported by go runtime and has a "cpu" flag to define number of cores it uses.

W/o -cpus flag its ~7k. With -cpus 4 it jumps to 14k.
But - if I ran the 3x ab theirs combined rps is almost close to 40k.

Does your cpu have 4 cores or more (with SMT maybe?)
Can you run 3x boom and create more qps as well?

I think its 4x by SMT(?) - Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
3x boom -cpus 4, 2x boom -cpus 2, 3x boom -cpus 2 - all same ~14k.

Ok, looks like there is room for improvement on boom's side. What is the application you are testing?

@mdakin nothing special - in-house http server library + was about to check different strategy for short leaving sessions. That's why there is no keep-alive.
$ boom -c 100 -n 250000 -disable-keepalive -cpus 4 http://localhost:3000/
250000 / 250000 Boooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00 %

Summary:
  Total:	19.4971 secs.
  Slowest:	0.0763 secs.
  Fastest:	0.0002 secs.
  Average:	0.0078 secs.
  Requests/sec:	12822.4043

Status code distribution:
  [200]	250000 responses

Response time histogram:
  0.000 [1]	|
  0.008 [162780]	|∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.015 [77419]	|∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.023 [3297]	|
  0.031 [2477]	|
  0.038 [1515]	|
  0.046 [1131]	|
  0.053 [977]	|
  0.061 [345]	|
  0.069 [56]	|
  0.076 [2]	|

Latency distribution:
  10% in 0.0042 secs.
  25% in 0.0052 secs.
  50% in 0.0067 secs.
  75% in 0.0086 secs.
  90% in 0.0107 secs.
  95% in 0.0134 secs.
  99% in 0.0383 secs.

$ ab -c 100 -n 250000 http://localhost:3000/
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 25000 requests
Completed 50000 requests
Completed 75000 requests
Completed 100000 requests
Completed 125000 requests
Completed 150000 requests
Completed 175000 requests
Completed 200000 requests
Completed 225000 requests
Completed 250000 requests
Finished 250000 requests

Server Software:
Server Hostname:        localhost
Server Port:            3000

Document Path:          /
Document Length:        2 bytes

Concurrency Level:      100
Time taken for tests:   12.250 seconds
Complete requests:      250000
Failed requests:        0
Total transferred:      10000000 bytes
HTML transferred:       500000 bytes
Requests per second:    20408.07 [#/sec] (mean)
Time per request:       4.900 [ms] (mean)
Time per request:       0.049 [ms] (mean, across all concurrent requests)
Transfer rate:          797.19 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    2   0.6      2       9
Processing:     0    3   0.9      2      20
Waiting:        0    2   0.9      2      20
Total:          0    5   1.0      5      27
WARNING: The median and mean for the processing time are not within a normal deviation
        These results are probably not that reliable.

Percentage of the requests served within a certain time (ms)
  50%      5
  66%      5
  75%      5
  80%      5
  90%      6
  95%      6
  98%      8
  99%      8
 100%     27 (longest request)

I've looked at the straces :
$ strace ab -c 1 -n 2 http://localhost:3000/
.......
socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_IP) = 4
fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(4, {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = -1 EINPROGRESS (Operation now in progress)
epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLOUT, {u32=4168670256, u64=140157541473328}}) = 0
epoll_wait(3, {{EPOLLOUT, {u32=4168670256, u64=140157541473328}}}, 1, 30000) = 1
connect(4, {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
epoll_ctl(3, EPOLL_CTL_DEL, 4, {0, {u32=0, u64=0}}) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLIN, {u32=4168670256, u64=140157541473328}}) = 0
write(4, "", 0)                         = 0
write(4, "GET / HTTP/1.0\r\nHost: localhost:"..., 82) = 82
epoll_wait(3, {{EPOLLIN, {u32=4168670256, u64=140157541473328}}}, 1, 30000) = 1
read(4, "HTTP/1.0 200 OK\r\nConnection: clo"..., 8192) = 40
epoll_wait(3, {{EPOLLIN, {u32=4168670256, u64=140157541473328}}}, 1, 30000) = 1
read(4, "", 8192)                       = 0
epoll_ctl(3, EPOLL_CTL_DEL, 4, {0, {u32=0, u64=0}}) = 0
close(4)                                = 0

socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_IP) = 4
fcntl(4, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK)    = 0
connect(4, {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = -1 EINPROGRESS (Operation now in progress)
epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLOUT, {u32=4168670256, u64=140157541473328}}) = 0
epoll_wait(3, {{EPOLLOUT, {u32=4168670256, u64=140157541473328}}}, 1, 30000) = 1
connect(4, {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
epoll_ctl(3, EPOLL_CTL_DEL, 4, {0, {u32=0, u64=0}}) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLIN, {u32=4168670256, u64=140157541473328}}) = 0
write(4, "", 0)                         = 0
write(4, "GET / HTTP/1.0\r\nHost: localhost:"..., 82) = 82
epoll_wait(3, {{EPOLLIN, {u32=4168670256, u64=140157541473328}}}, 1, 30000) = 1
read(4, "HTTP/1.0 200 OK\r\nConnection: clo"..., 8192) = 40
epoll_wait(3, {{EPOLLIN, {u32=4168670256, u64=140157541473328}}}, 1, 30000) = 1
read(4, "", 8192)                       = 0
epoll_ctl(3, EPOLL_CTL_DEL, 4, {0, {u32=0, u64=0}}) = 0
close(4)                                = 0
write(1, "..done\n", 7..done
)                 = 7
.......

and same for boom:
[pid 23955] socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... socket resumed> )      = 3
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] setsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], 4 <unfinished ...>
[pid 23953] futex(0x85e2f8, FUTEX_WAIT, 0, {0, 199918140} <unfinished ...>
[pid 23955] <... setsockopt resumed> )  = 0
[pid 23955] connect(3, {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, 16 <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] <... connect resumed> )     = -1 EINPROGRESS (Operation now in progress)
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] epoll_create1(EPOLL_CLOEXEC) = 4
[pid 23955] epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=2181607592, u64=140430432317608}} <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... epoll_ctl resumed> )   = 0
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] epoll_wait(4, {{EPOLLOUT, {u32=2181607592, u64=140430432317608}}}, 128, 0) = 1
[pid 23955] getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 23955] getsockname(3,  <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(55088), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 0
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] getpeername(3, {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 0
[pid 23955] setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] read(3, 0xc208011000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] write(3, "GET / HTTP/1.1\r\nHost: localhost:"..., 121 <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... write resumed> )       = 121
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] epoll_wait(4, {{EPOLLIN|EPOLLOUT, {u32=2181607592, u64=140430432317608}}}, 128, 0) = 1
[pid 23955] read(3, "HTTP/1.0 200 OK\r\nConnection: clo"..., 4096) = 40
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] epoll_ctl(4, EPOLL_CTL_DEL, 3, {0, {u32=0, u64=0}}) = 0
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] close(3 <unfinished ...>
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] <... close resumed> )       = 0

[pid 23955] socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... socket resumed> )      = 3
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] setsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
[pid 23955] connect(3, {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, 16 <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... connect resumed> )     = -1 EINPROGRESS (Operation now in progress)
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] epoll_ctl(4, EPOLL_CTL_ADD, 3, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=2181607592, u64=140430432317608}}) = 0
[pid 23955] epoll_wait(4,  <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... epoll_wait resumed> {{EPOLLOUT, {u32=2181607592, u64=140430432317608}}}, 128, 0) = 1
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] getsockopt(3, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
[pid 23955] getsockname(3, {sa_family=AF_INET, sin_port=htons(55089), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 0
[pid 23955] getpeername(3,  <unfinished ...>
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] <... getpeername resumed> {sa_family=AF_INET, sin_port=htons(3000), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 0
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
[pid 23955] read(3, 0xc20808d000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] write(3, "GET / HTTP/1.1\r\nHost: localhost:"..., 121) = 121
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] epoll_wait(4,  <unfinished ...>
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] <... epoll_wait resumed> {{EPOLLIN|EPOLLOUT|EPOLLRDHUP, {u32=2181607592, u64=140430432317608}}}, 128, 0) = 1
[pid 23955] read(3, "HTTP/1.0 200 OK\r\nConnection: clo"..., 4096) = 40
[pid 23954] <... select resumed> )      = 0 (Timeout)
[pid 23955] epoll_ctl(4, EPOLL_CTL_DEL, 3, {0, {u32=0, u64=0}} <unfinished ...>
[pid 23954] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 23955] <... epoll_ctl resumed> )   = 0
[pid 23955] close(3)                    = 0

As you could the boom (or actually http.Client I would think) does more operations during connection time, and in general there is some side loop in go runtime(?) periodically interrupts the operations(?) (not sure is that for real as this is ran on multicore cpu, or that's the strace "contribution").
After increasing the document size to 88k I got by ab ~11krps and boom with -cpus 4 ~9rps. The ab limits at ~15k (checked with 2x ab and 3x ab). So the difference became not so big when document grows.
btw golang is 1.42

Thanks for the analysis. I will try to reproduce the results.
Maybe Burcu has more insight on why boom could be slower.

I don't have any insights and I am not sure achieving the ab-level performance has ever been a concern for us. boom uses Go's HTTP client and http.Client is doing all sort of magical optimization work that is not necessarily coherent for the boom's use case. Runtime scheduler and the gc pauses have been bottlenecks for me in some cases, so I'd consider them as possible trouble points as well. I wish I have time to reproduce this issue and take a closer look.

@egorse I tested current version of boom and could generate ~38K req/s on my machine (2KB response size, no gzip). Could you try again and see if there is any improvement?

@mdakin
no keepalive - ab 40k, boom 26k
keepalive - ab 40k, boom 58k
go version go1.6 linux/amd64
boom ran with -cpus 4
machine is different than originally.
noticed that running two ab doesnt scales up - still together about same 40k. didnt play with affinity.

@egorse, I think with keepalive your numbers are pretty good. Should we close this bug?

Closing. Thanks a lot!