React not initialized in next@8 in index page

Bug report
Describe the bug
In development mode, the entire application works fine, but in the production assembly, the main page is not initialized. I get html, index.js, but the react is not initialized
There are no errors in the console.
The problem is only on next@8, on next@7 there are no problems.
To Reproduce
I don't think I can repeat this case.
This problem appears on my computer and on the host machine.
Expected behavior
I expect that react will make hydration and start working.
Screenshots
On index page
On other pages

The screenshot shows that all the necessary scripts are connected to the page.
System information

OS: macOs/linux
Browser: chrome, safari, firefox
Version of Next.js: 8.01

I don't think I can repeat this case.
This problem appears on my computer and on the host machine.

We won't be able to help with your issue without a reproduction.
We have tests that cover nearly all features of Next.js.
Please provide a reproduction 👍

@teleginzhenya i found where a problem. If i put index.js into /pages/index/ dir.
https://github.com/dimensi/next-bug

my issue is duplicate https://github.com/zeit/next.js/issues/6285


Remove stack an appveyor

Coverage remained the same at 89.809% when pulling 47c2af84869757cf28197ec73a9d88a69f5b9aaa on no-stack into 874ed9f4d0c859895635439263963fc8cd6c6c2c on master.

Coverage remained the same at 89.809% when pulling 47c2af84869757cf28197ec73a9d88a69f5b9aaa on no-stack into 874ed9f4d0c859895635439263963fc8cd6c6c2c on master.


Concurrent contract calls cause WS connections to break.

If a CTL client calls multiple contracts at once, it causes existing WebSockets to break. Any subsequent calls will fail.  I can provide more details and a way to replicate the bug after the next weekend. ( meanwhile @klntsky can add some conjectures )
[ERROR] 2022-07-06T23:04:20.138Z First connection to Ogmios WebSocket failed. Terminating. Error: [object Event]
output.js?ee2e:2295 Uncaught Error: [object Event]
    at Object.exports.error (output.js?ee2e:2295:1)
    at __do (output.js?ee2e:24655:1)
    at listener (output.js?ee2e:16144:1)
    at ReconnectingWebSocket._callEventListener (reconnecting-websocket-mjs.js?37ac:555:1)
    at eval (reconnecting-websocket-mjs.js?37ac:183:66)
    at Array.forEach (<anonymous>)
    at WebSocket.ReconnectingWebSocket._handleError (reconnecting-websocket-mjs.js?37ac:183:1)
    ...

So the problem is that we don't close our websockets after execution. We need to support both websocket reuse and parallel execution, so there should be an option to not close the websockets after a runContract call, but by default we should do that.

The quick-and-dirty solution would be to add these to runQueryM, but it will make impossible to reuse the websockets:
  liftEffect $ _wsClose $ underlyingWebSocket cfg.ogmiosWs
  liftEffect $ _wsClose $ underlyingWebSocket cfg.datumCacheWs

I'm working on QueryM reorganization.


Expose IJavaScriptExecutor.ExecuteAsyncScript

Just like we have Boss.Script that calls into IJavaScriptExecutor.ExecuteScript, it seems natural to have a member that exposes IJavaScriptExecutor.ExecuteAsyncScript.
I need this for executing a script using XHR asynchronously in the browser. I can certainly go over IWebDriver but if you're happy to entertain this addition then I can submit a PR.

Sure, that would be great!


add_numericality_constraint fails with operator does not exist: integer

This is the migration I am trying to use...
class CreateContacts < ActiveRecord::Migration[6.0]
  def change
    create_table :contacts do |t|
      t.integer :phone_number, null: :false, length: { minimum: 10, maximum: 10 }

      t.timestamps
    end

    add_numericality_constraint :contacts, :phone_number
    add_match_constraint :contacts, :phone_number, accepts: '[1-9]{1}[\d]{9}'
  end
end

This is the PG error that comes back...
Caused by:
PG::UndefinedFunction: ERROR:  operator does not exist: integer ~ unknown
HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.
...db/migrate/20200330011140_create_contacts.rb:10:in `change'
...rbenv/versions/2.7.0/bin/bundle:23:in `load'
...rbenv/versions/2.7.0/bin/bundle:23:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Does anyone have thoughts on this?

I ended up using a string for this instead of a bigint...
  def change
    create_table :contacts do |t|
      t.string :phone_number, null: false

      t.timestamps
    end

    add_match_constraint :contacts, :phone_number, accepts: '[1-9]{1}[\d]{9}'
    add_length_constraint :contacts, :phone_number, equal_to: 10
  end


Fix re-running program in GDB

Progame can't run again correctly for setting stop_and_exit_handler as gdb exit event handler
To fix it:

Add is_running to Class Server to indicate if a server is running
Modify cont_handler to create a new server if server is None or not running

Not sure when this got broken. Thanks again.


Add Firefox support

Tried the demo on Firefox 40.0 Ubuntu 14.04, and the effect doesn't work.

Same in 42.0a2

Seems like some FF problem. The final div, that "make" whole table to have scroll have strange top value 2e+7px.

Thanks for sharing the link! Have this working in FF with https://github.com/cmpolis/smart-table-scroll/commit/69b45e959bd5e57743fb4937fc9130cba0fa70b7 - also had to make the rows slightly shorter to have the demo work w/ 1 million rows in FF because of the max height value(see SO post).

@cmpolis it's would be nice to post warning about FF behaviour somewhere

Put a note in the Readme: https://github.com/cmpolis/smart-table-scroll#known-limitations


Plugin errors out when enabled in Godot 3.3

The used Godot version: 3.3
OS including version: Windows 10 Home
Describe the bug
When enabling the plugin, an error message appears: Unable to load addon script from path: 'res://addons/gdUnit3/plugin.gd' There seems to be an error in the code, please check the syntax.
Steps to Reproduce

Create a new Godot project
Go to AssetLib and search for GDUnit
Download and install the plugin
Go to Project > Project Settings > Plugins, and check the "Enable" checkbox for gdUnit3

The error message appears.
Strangely enough, enabling the plugin a second time, succeeds

thanks for reporting, i will investigate

merged in master
v 0.9.3 - beta


util, server: remove unnecessary serde implementation

The ordermap has renamed to indexmap, and it has a serde implementation.

Good job. LGTM

Any tests to ensure they are compatible?

@hicqu Existing config integration tests should be enough.

LGTM.

/run-integration-tests


register after v0.1.5

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/98757
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.15 -m "<description of version>" a576e2549a9e6dfe7b5c4c21ae2d894f09b9d2b7
git push origin v0.1.15


Regression on stack traces in DDC

These tests started failing recently:
Chrome 59.0.3071 (Mac OS X 10.12.5)  language/stacktrace_rethrow_error_test_withtraceparameter_multi FAILED
	Expected: bb3 actual:     at Object.stacktrace_rethrow_error_test_withtraceparameter_multi.gg3 (gen/codegen_output/language/stacktrace_rethrow_error_test_withtraceparameter_multi.js:168:22)
	Error: Expected: bb3 actual:     at Object.stacktrace_rethrow_error_test_withtraceparameter_multi.gg3 (gen/codegen_output/language/stacktrace_rethrow_error_test_withtraceparameter_multi.js:168:22)
	    at finish (test/browser/language_tests.js:809:59)
	    at Context.<anonymous> (test/browser/language_tests.js:833:11)
Chrome 59.0.3071 (Mac OS X 10.12.5)  language/stacktrace_rethrow_nonerror_test FAILED
	Expected: bb3 actual:     at Object.stacktrace_rethrow_nonerror_test.gg3 (gen/codegen_output/language/stacktrace_rethrow_nonerror_test.js:164:22)
	Error: Expected: bb3 actual:     at Object.stacktrace_rethrow_nonerror_test.gg3 (gen/codegen_output/language/stacktrace_rethrow_nonerror_test.js:164:22)
	    at finish (test/browser/language_tests.js:809:59)

These tests are passing for me on my machine ... I'm going to try gclient sync -f and rebuilding the SDK & see if that causes a failure.

Might be flaky? I'm seeing this every test run now:
Chrome 59.0.3071 (Mac OS X 10.12.5)  language/stacktrace_rethrow_error_test_withtraceparameter_multi FAILED
	Error: test marked as 'fail' but passed
	    at finish (test/browser/language_tests.js:801:23)
	    at Context.<anonymous> (test/browser/language_tests.js:848:13)
Chrome 59.0.3071 (Mac OS X 10.12.5)  language/stacktrace_rethrow_nonerror_test FAILED
	Error: test marked as 'fail' but passed
	    at finish (test/browser/language_tests.js:801:23)
	    at Context.<anonymous> (test/browser/language_tests.js:848:13)

I'm seeing that too - locally and travis.  Reverted the status failures:
https://codereview.chromium.org/2971193002/

I think we can close this out


Encoding problem

Executing the script for the first time, the following error occurred:
Traceback (most recent call last):
  File "./otxv2-bro.py", line 155, in <module>
    firstRun()
  File "./otxv2-bro.py", line 81, in firstRun
    content = pulseToBRO(p)
  File "./otxv2-bro.py", line 30, in pulseToBRO
    source = "Alienvault OTX - %s - %s" % (pulse["name"].encode('utf-8').replace("\t", ""), pulse["id"])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 40: ordinal not in range(128)

Moving the encode('utf-8') to line 42 worked for me.

@J-Gras I can't reproduce. Do you have the title or Pulse id if the one that is causing the exception?

@jaimeblasco: I think the Pulse id was "55dccc2f67db8c7bb8cb7cdd".

@J-Gras  Can you try again?. I'm not getting the exception with the encode there

@jaimeblasco: Still the same message:
./otxv2-bro.py first_run
Installing files...
Downloading data from Alienvault OTX...
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/55e6bfb14637f22cb605746e.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/55e557fa4637f21c54c1bb0d.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/55e4266b4637f21c54c1afe5.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/55dfc68967db8c7bb9cb72b9.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/55dfc30067db8c7bb8cb9865.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/553468d3b45ff5362e3ffd3e.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/5580cbd1b45ff57c3925e6fa.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/55df3d1167db8c7bb8cb8da8.intel saved
/home/jgrashof/devel//OTX-Apps-Bro-IDS/pulses/55df30f04637f21c54c1a2b2.intel saved
Traceback (most recent call last):
  File "./otxv2-bro.py", line 155, in <module>
    firstRun()
  File "./otxv2-bro.py", line 81, in firstRun
    content = pulseToBRO(p)
  File "./otxv2-bro.py", line 30, in pulseToBRO
    source = "Alienvault OTX - %s - %s" % (pulse["name"].encode("utf-8").replace("\t", ""), pulse["id"])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 40: ordinal not in range(128)

Executing the script for the first time, the following error occurred:
Traceback (most recent call last):
  File "./otxv2-bro.py", line 155, in <module>
    firstRun()
  File "./otxv2-bro.py", line 81, in firstRun
    content = pulseToBRO(p)
  File "./otxv2-bro.py", line 30, in pulseToBRO
    source = "Alienvault OTX - %s - %s" % (pulse["name"].encode('utf-8').replace("\t", ""), pulse["id"])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 40: ordinal not in range(128)

Moving the encode('utf-8') to line 42 worked for me


Fix memory mapped data offset

I think the virtual address maybe like this: ctx.data = mapping_start + offset - aligned_offset;

Hi @MambaWong, thank you for the PR! You're right, this was a silly oversight on my part. Thanks for fixing!

Is this making use of memory map wrong in some way?

@privefl Not any more, thankfully. But it was a serious bug in that if the caller specified an offset larger than the page size, the returned pointer would point to the wrong place... I guess I never really used the offset based approach and thus never noticed this, but I'm still baffled I let this slip in. Sorry!
I will add tests that test mapping at offsets that are larger than the system page size.


Install Docker using CentOS yum repositories

Replace the manual Docker binary install with a yum based install.
This requires adding the CentOS 7 repositories so that the Docker repository package deps can be satisfied, and is the part I’m least confident in relying on 😬
I’ve tested these steps on a t3.large and t4g.large to cover both x86_64 and aarch64 and had it work in both places.
Fixes https://github.com/buildkite/elastic-ci-stack-for-aws/issues/765

Tests are showing subsequent yum install commands are failing with these repos added. Looking into that now.

Looks like a can of worms, sorry!

It sadly does 😢 it would have been a preferable way to land updates plus having upstream package requirements codified too but alas, not yet! 🙁

now we know!


No audio response / media_player audio playback

Flavor
MicroWakeWord
Checklist

[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..
[X] I am able to consult debug logging for my ESPHome instance.

Describe the issue
After update done in PR #39 I noticed that no audio response and no media_player output works. Looking in the logs following error is common for both issues: esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7780. Based on the search looks like it is related to the certificates (esp-idf/8375) or shortage of RAM (HTTPS connection fail). Yes, I have already tried #13.
Sometimes I get issues like esp-tls: couldn't get hostname for :ha.domain.com: getaddrinfo() returns 202, addrinfo=0x0. Would it e possible esphome to use mDNS or private IP of my HA?
Related issues: #34, #13, esphome/2179 (feature request ignored for over a year).
Reproduction steps

Invoke wake word and say something to the mic.

Debug logs
Audio response:
[15:21:58][D][voice_assistant:439]: State changed from STOPPING_MICROPHONE to AWAITING_RESPONSE
[15:22:05][D][voice_assistant:563]: Event Type: 4
[15:22:05][D][voice_assistant:591]: Speech recognised as: " Cześć, cześć, cześć, cześć, cześć!"
[15:22:05][D][voice_assistant:563]: Event Type: 5
[15:22:05][D][voice_assistant:596]: Intent started
[15:22:06][D][voice_assistant:563]: Event Type: 6
[15:22:06][D][voice_assistant:563]: Event Type: 7
[15:22:06][D][voice_assistant:619]: Response: "Wybacz, niestety nie mogę tego zrozumieć"
[15:22:06][D][voice_assistant:563]: Event Type: 8
[15:22:06][D][voice_assistant:639]: Response URL: "https://ha.domain.com/api/tts_proxy/x_tts.piper.mp3"
[15:22:06][D][voice_assistant:439]: State changed from AWAITING_RESPONSE to STREAMING_RESPONSE
[15:22:06][D][voice_assistant:445]: Desired state set to STREAMING_RESPONSE
[15:22:06][D][media_player:059]: 'None' - Setting
[15:22:06][D][media_player:066]:   Media URL: https://ha.domain.com/api/tts_proxy/x_tts.piper.mp3
[15:22:06][D][adf_media_player:030]: Got control call in state 1
[15:22:06][D][esp_adf_pipeline:050]: Starting request, current state STOPPED
[15:22:06][D][esp_adf_pipeline:302]: State changed from STOPPED to PREPARING
[15:22:06][I][adf_media_player:135]: got new pipeline state: 1
[15:22:06][D][adf_i2s_out:127]: Set final i2s settings: 16000
[15:22:06][D][esp_audio_processors:079]: New settings: SRC: rate: 16000, ch: 2 DST: rate: 16000, ch: 2
[15:22:06][D][light:036]: 'top_led' Setting:
[15:22:06][D][light:059]:   Red: 20%, Green: 100%, Blue: 0%
[15:22:06][D][light:109]:   Effect: 'speaking'
[15:22:06][D][voice_assistant:563]: Event Type: 2
[15:22:06][D][voice_assistant:653]: Assist Pipeline ended
[15:22:06][D][esp-idf:000]: I (256993) AUDIO_ELEMENT: [http] AEL_MSG_CMD_RESUME,state:1

[15:22:06][D][esp-idf:000]: I (256996) AUDIO_ELEMENT: [decoder] AEL_MSG_CMD_RESUME,state:1

[15:22:06][D][esp_audio_sources:097]: Streamer status: 2
[15:22:06][D][esp_audio_sources:098]: decoder status: 2
[15:22:06][D][esp-idf:000]: E (257039) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7780

[15:22:06][D][esp-idf:000]: E (257043) esp-tls: Failed to open new connection

[15:22:06][D][esp-idf:000]: E (257047) TRANSPORT_BASE: Failed to open a new connection

[15:22:06][D][esp-idf:000]: E (257055) HTTP_CLIENT: Connection failed, sock < 0

[15:22:06][D][esp-idf:000]: E (257058) HTTP_STREAM: Failed to open http stream

[15:22:06][D][esp-idf:000]: E (257063) AUDIO_ELEMENT: [http] AEL_STATUS_ERROR_OPEN,28674

[15:22:06][D][esp-idf:000]: W (257067) AUDIO_ELEMENT: [http] audio_element_on_cmd_error,7

[15:22:06][D][esp-idf:000]: W (257072) AUDIO_ELEMENT: IN-[decoder] AEL_IO_ABORT

[15:22:06][D][esp-idf:000]: E (257075) MP3_DECODER: failed to read audio data (line 117)

[15:22:06][D][esp-idf:000]: W (257079) AUDIO_ELEMENT: [decoder] AEL_IO_ABORT, -3

[15:22:06][D][esp-idf:000]: I (257083) MP3_DECODER: Closed

[15:22:16][I][esp_adf_pipeline:185]: Pipeline preparation timeout!
[15:22:16][D][esp-idf:000]: W (266967) AUDIO_PIPELINE: Without stop, st:1

[15:22:16][D][esp_adf_pipeline:302]: State changed from PREPARING to STOPPING
[15:22:16][I][adf_media_player:135]: got new pipeline state: 4
[15:22:16][D][esp_adf_pipeline:302]: State changed from STOPPING to STOPPED
[15:22:16][I][adf_media_player:135]: got new pipeline state: 5

Media player:
[15:10:00][D][media_player:059]: 'None' - Setting
[15:10:00][D][media_player:066]:   Media URL: https://ha.domain.com/media/local/file.mp3?authSig=xxx
[15:10:00][D][adf_media_player:030]: Got control call in state 1
[15:10:00][D][esp_adf_pipeline:050]: Starting request, current state STOPPED
[15:10:00][D][esp_adf_pipeline:302]: State changed from STOPPED to PREPARING
[15:10:00][I][adf_media_player:135]: got new pipeline state: 1
[15:10:00][D][adf_i2s_out:127]: Set final i2s settings: 16000
[15:10:00][D][esp_audio_processors:079]: New settings: SRC: rate: 16000, ch: 2 DST: rate: 16000, ch: 2
[15:10:00][D][esp-idf:000]: I (2336207) AUDIO_ELEMENT: [http] AEL_MSG_CMD_RESUME,state:1

[15:10:00][D][esp-idf:000]: I (2336210) AUDIO_ELEMENT: [decoder] AEL_MSG_CMD_RESUME,state:1

[15:10:00][D][esp_audio_sources:097]: Streamer status: 2
[15:10:00][D][esp_audio_sources:098]: decoder status: 2
[15:10:00][D][esp-idf:000]: E (2336255) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7780

[15:10:00][D][esp-idf:000]: E (2336257) esp-tls: Failed to open new connection

[15:10:00][D][esp-idf:000]: E (2336260) TRANSPORT_BASE: Failed to open a new connection

[15:10:00][D][esp-idf:000]: E (2336266) HTTP_CLIENT: Connection failed, sock < 0

[15:10:00][D][esp-idf:000]: E (2336268) HTTP_STREAM: Failed to open http stream

[15:10:00][D][esp-idf:000]: E (2336271) AUDIO_ELEMENT: [http] AEL_STATUS_ERROR_OPEN,28674

[15:10:00][D][esp-idf:000]: W (2336274) AUDIO_ELEMENT: [http] audio_element_on_cmd_error,7

[15:10:00][D][esp-idf:000]: W (2336277) AUDIO_ELEMENT: IN-[decoder] AEL_IO_ABORT

[15:10:00][D][esp-idf:000]: E (2336281) MP3_DECODER: failed to read audio data (line 117)

[15:10:00][D][esp-idf:000]: W (2336284) AUDIO_ELEMENT: [decoder] AEL_IO_ABORT, -3

[15:10:00][D][esp-idf:000]: I (2336287) MP3_DECODER: Closed

[15:10:10][I][esp_adf_pipeline:185]: Pipeline preparation timeout!
[15:10:10][D][esp-idf:000]: W (2346201) AUDIO_PIPELINE: Without stop, st:1

[15:10:10][D][esp_adf_pipeline:302]: State changed from PREPARING to STOPPING
[15:10:10][I][adf_media_player:135]: got new pipeline state: 4
[15:10:10][D][esp_adf_pipeline:302]: State changed from STOPPING to STOPPED
[15:10:10][I][adf_media_player:135]: got new pipeline state: 5

After few tries of use of the media_player to play some mp3:
ERROR Fatal error: protocol.data_received() call failed.
protocol: <aioesphomeapi._frame_helper.noise.APINoiseFrameHelper object at 0x7f95f74040>
transport: <_SelectorSocketTransport fd=6 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
  File "/usr/lib/python3.11/asyncio/selector_events.py", line 1009, in _read_ready__data_received
    self._protocol.data_received(data)
  File "aioesphomeapi/_frame_helper/noise.py", line 136, in aioesphomeapi._frame_helper.noise.APINoiseFrameHelper.data_received
  File "aioesphomeapi/_frame_helper/noise.py", line 163, in aioesphomeapi._frame_helper.noise.APINoiseFrameHelper.data_received
  File "aioesphomeapi/_frame_helper/noise.py", line 319, in aioesphomeapi._frame_helper.noise.APINoiseFrameHelper._handle_frame
  File "/usr/local/lib/python3.11/dist-packages/noise/state.py", line 74, in decrypt_with_ad
    plaintext = self.cipher.decrypt(self.k, self.n, ad, ciphertext)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/noise/backends/default/ciphers.py", line 13, in decrypt
    return self.cipher.decrypt(nonce=self.format_nonce(n), data=ciphertext, associated_data=ad)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "src/chacha20poly1305_reuseable/__init__.py", line 127, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt
  File "src/chacha20poly1305_reuseable/__init__.py", line 147, in chacha20poly1305_reuseable.ChaCha20Poly1305Reusable.decrypt
  File "src/chacha20poly1305_reuseable/__init__.py", line 263, in chacha20poly1305_reuseable._decrypt_with_fixed_nonce_len
  File "src/chacha20poly1305_reuseable/__init__.py", line 273, in chacha20poly1305_reuseable._decrypt_data
cryptography.exceptions.InvalidTag
WARNING office-voice-assistant @ <IP_ADDRESS>: Connection error occurred: office-voice-assistant @ <IP_ADDRESS>: Invalid encryption key: received_name=office-voice-assistant
INFO Processing unexpected disconnect from ESPHome API for office-voice-assistant @ <IP_ADDRESS>
WARNING Disconnected from API
INFO Successfully connected to office-voice-assistant @ <IP_ADDRESS> in 0.004s
INFO Successful handshake with office-voice-assistant @ <IP_ADDRESS> in 0.076s

I think it's something strongly related to esp-idf handling https connection because my ESP32-C3 based eBUS Adapter by john30 also returned the "0x7780" error after update to the newest 20240518 firmware:
11:32:57 | Warning | host: errors: protocol
11:35:38 | Error | esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7780
11:35:38 | Error | esp_https_server: esp_tls_create_server_session failed, 0x7780
11:35:38 | Error | httpd: httpd_accept_conn: session creation failed
11:35:38 | Warning | httpd: httpd_server: error accepting new connection
11:35:46 | Error | esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x7780
11:35:46 | Error | esp_https_server: esp_tls_create_server_session failed, 0x7780
11:35:46 | Error | httpd: httpd_accept_conn: session creation failed
11:35:46 | Warning | httpd: httpd_server: error accepting new connection

Why don't you set the internal HA URL to the IP and http? https://github.com/tetele/onju-voice-satellite/issues/48 Had the same issue and now all is fine.

@dreimer1986, could you please point me in the right direction on how to set HA internal IP address to be used by ESPHome media_player component? Checked docs of API Native component and media_player and can't find it there. The only place I can set local HA address is Network tab in HA. But for the reason I have ssl I can't use http and can provide IP. Just can use https://homeassistant.local:8123.

Network tab is right. The internal url is what I had to fix. As I never needed it before it was incorrectly set to https and non existing cert. I set it to http and all is fine here now. I use a reverse proxy anyways for external access and as such internal unencrypted communication is no problem.


cannot use Play command

Please tick all applicable boxes.

[ ] I am using Python 3.5.3 or higher (run python --version on the command line)
[ ] I have followed the official guides to install the bot for my system
[ ] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[ ] The latest master version (release-260419)
[ ] The latest review version

What type of issue are you creating?

[V ] Bug
[ ] Feature request
[ ] Question

Description of issue
I set up a MusicBot on Raspberry Pi. when i run the Bot , its still ok until i use Play command, nothing happen and the bot disconnnect the channel and said that the bot is not in the channel , i need to use !summon. then i do it again but still got that problem
Steps to reproduce

Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.

log?

log?


Display the schema of a pattern within a created solution

Would be handy to see the properties and elements/collection possibilities to understand what needs completing on a solution (while editing it).
Without familiarity of the pattern, it is hard to know what needs configuring.
We can use validation to give us hints, but there should be a better way to see what has not been configured, and where in the pattern it is.
Perhaps there is a sensible representation (similar to edit view-pattern) that can give similar info.

the command: automate view solution yields this kind of result today (taken from prototype walkthrough):
{
    "id": "xxxxxxxx",
    "name": "Orders",
    "resource_name": "Order",
    "service_operation": {
        "id": "xxxxxxxx",
        "items": [
            {
                "id": "xxxxxxxx",
                "name": "CreateOrder",
                "verb": "Post",
                "route": "/orders",
                "is_authorized": "true",
                "request": {
                    "id": "xxxxxxxx",
                    "field": {
                        "id": "xxxxxxxx",
                        "items": [
                            {
                                "id": "xxxxxxxx",
                                "name": "ProductId",
                                "data_type": "string",
                                "is_optional": "false"
                            }
                        ]
                    }
                },
                "response": {
                    "id": "xxxxxxxx",
                    "field": {
                        "id": "xxxxxxxx",
                        "items": [
                            {
                                "id": "xxxxxxxx",
                                "name": "Id"
                                "data_type": "string"
                            }
                        ]
                    }
                }
            }
        ]
    }
}

So how would this output look different to visualize the schema of various attributes/elements/collections?
What kind of limited info is needed?:
For an attribute: its name, its datatype, its default value(if any), its choices (if any), are all useful info at this stage,
For an element/collection, its name and cardinality is probably all we need to know.
For launchpoints: its name, and on which element/collection it is on

we could use the command automate view solution --whats-missing to display what we need.
Displays: the solution (as it is), and then a list of validation errors, and then a list of properties/elements/collections that could be added, that don't have values yet.


Approximation of regressor guidance

Hi Clement, In sec 5 of the paper, you mentioned "p_η cannot be evaluated for all possible values of $G_{t-1}$". Is this referring to the fact that $G_{t-1}$ is a probabilistic graph, but p_η was trained on one-hot graphs?
Are there any other method (alternative to your proposed 1st-order approximation) to do classifier-guided discrete diffusion that you are aware of? Is straight-through estimation a viable option? Thank you!

Hello,
the brackets denote an inner product, yes. If you want to check the probability of one particular graph $G^{t-1}$, you need to compute this inner product (the probability is just a scalar). However, in the code we don't look at one particular $G^{t-1}$, but consider the probability tensor $p_eta_x * prob_X$.
For the first question, you need to observe that there is no reason to believe that $p_\eta$ factorizes as a product over nodes and edges. It means that you need to estimate it separately for any possible graph. In contrast, the first order approximation factorizes as a product, which makes it efficient to compute. I don't know if there are other efficient mechanisms, but it's an interesting thing to look at.


Do not use lower tag names to find releases/tags

Fix #26090, see https://github.com/go-gitea/gitea/issues/26090#issuecomment-1952013206
Since TagName stores the original tag name and LowerTagName stores the lower tag name, it doesn't make sense to use lowercase tags as TagNames in FindReleasesOptions.
https://github.com/go-gitea/gitea/blob/5e72526da4e915791f03af056890e16821bde052/services/repository/push.go#L396-L397
While the only other usage looks correct:
https://github.com/go-gitea/gitea/blob/5e72526da4e915791f03af056890e16821bde052/routers/web/repo/repo.go#L416

I was unable to create a backport for 1.21. @wolfogre, please send one manually. :tea:
go run ./contrib/backport 29261
...  // fix git conflicts if any
go run ./contrib/backport --continue


Fix some non-gamepad devices opened as gamepads on Linux

Fixes #94775 where some non-gamepad devices pass as gamepad devices. This commit brings an additional check to prevent this from happening

This was supposed to be fixed by #93352 in 4.3.rc1 already. CC @Calinou
Can you check what name is returned for your device by this code further down in the function?
if (ioctl(fd, EVIOCGNAME(sizeof(namebuf)), namebuf) >= 0) {
	name = namebuf;
}

If it has "touchpad" it should already be filtered out.
That being said, if this BTN_GAMEPAD works, that's a better option than filtering by name, but how reliable is it? What is even BTN_GAMEPAD?

The name of the device is ELAN06FA:00 04F3:3214 Touchpad.
BTN_GAMEPAD should reliably detect gamepads, but unfortunately, I don't own a controller, so I cannot verify if this. According to the Linux gamepad spec:
4.3. Detection
All gamepads that follow the protocol described here map BTN_GAMEPAD.
This is an alias for BTN_SOUTH/BTN_A.
It can be used to identify a gamepad as such.
However, not all gamepads provide all features, so you need to test for all features that you need, first.
...

I don't have that many devices, so I'm not sure whether the OS distinguishes between gamepad and joystick. But BTN_JOYSTICK also exists. Godot doesn't seem to distinguish between these two types of devices.

In the linux-input mailing list archives, this reply explains joystick limitations and ranges.
the joystick button mapping space is from BTN_JOYSTICK~BTN_DEAD and BTN_TRIGGER_HAPPY~KEY_MAX.
And BTN_GAMEPAD is not in that range. If this is to be believed, then joysticks are different from gamepads.

Sorry for the late response, but my issue has seemingly been fixed, probably by a system update. Closing this, thanks for your time.


SyncQueue busy with react-native-webview sharedCookies

Description
Hey 👋
I did not want to create a bug report for this as I am maybe using it wrong. At least I am unable to find a solution for my problem.
I am getting stuck with
The app is busy with the following tasks:
• There are 2 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
• Run loop "Main Run Loop" is awake.

I tried hundreds of things already, but I cannot debug the underlying issue for a specific use-case. Additionally I cannot turn off synchronization for this (it simply does not do anything).
Testing the following code:
const authenticate = async () => {
  await device.openURL({ url: 'https://www.example.com/login' });

  // type in user and password and hit signup

  // some magic happens now that calls our api which sits on api.example.com
  // and sets a cookie which is stored in our application
  // this cookie is later important for the login inside the webview

  // await some element after login is successful
};

describe('Test Suite', () => {
  beforeAll(async () => {
    // start without data
    await device.launchApp({
      delete: true,
    });
  });

  beforeEach(async () => {
    await device.reloadReactNative();
  });

  it('Should show private url', async () => {
    await authenticate();

    // it does not matter if I use launchApp, openUrl or navigate manually to my webview
    await device.launchApp({
      newInstance: true,
      url: 'https://www.example.com/some/route/that/needs/authorization',
    });

    console.log("You will never be able to read this :(");
  });
});

Right after opening the Webview the sync dies and enters an infinite loop. With Proxyman, Charles, Safari Inspector, I cannot see ANY pending requests or recurring timers. Also I overwrote setTimeout and setInterval to see if there is some native events going on.
import WebView from 'react-native-webview';

const App = () => (<WebView sharedCookiesEnabled source={{uri: "URL_HERE" }} />)

As our api is on a subdomain (api.example.com), it is important that the sharedCookiesEnabled is set to true. All webviews (no matter which urls are visible) stop working and are being blocked by a busy sync queue.
Do you have any idea how I can find out which event is put onto the queue?
I read this: https://wix.github.io/Detox/docs/troubleshooting/synchronization/
I already tried everything mentioned there and further added log level trace, but I cannot seem to find anything useful.
 Your app can't handle this URL itself (since it isn't on its URL scheme), this results in Detox losing control of your app. Could you please share a recording / screenshots of the run to verify that?

React Native's Linking guide may help here.

If you encounter main run-loop synchronization issues despite what I've mentioned, you can try passing this experimental and unofficial launch-arg in your launchApp arguments: DTXDisableMainRunLoopSync=true.

If you encounter main run-loop synchronization issues despite what I've mentioned, you can try passing this experimental and unofficial launch-arg in your launchApp arguments: DTXDisableMainRunLoopSync=true.

That is a good to know - Will try that if nothing works.

@dazlious, I suspect the issue stems from the fact that you're not actually opening an react-native-webview but rather the iOS's webview (i.e. Safari). Your app can't handle this URL itself (since it isn't on its URL scheme), this results in Detox losing control of your app to the iOS browser.

I would tend to agree, IF there was not the issue that it does work without that sharedCookies flag.
Let's say I visit https://www.example.com/imprint which is a publicly available React SPA that does fetch the user/cart by a cookie on that subdomain (https://api.example.com). It does not work with that cookie, but without it.
To me that is proof that Detox is not loosing track, as with and without cookie behaves different

So to me it seems like you have two issues here:

You open the iOS webview and not the App's webview.
Your main run-loop is busy due to the sharedCookies

url: 'https://www.example.com/some/route/that/needs/authorization',

I get that point - but I not only tried the launchAppArgs url, and the device.openUrl, but also tapping through manually to the Component that is rendering  from react-native-webview.
Is there any debugging I can do to see what is being added to the main run-loop in native code? I would be super curious to why it adds something. Furthermore on mounting it adds something to that main loop, when I unmount that webview, the item stays on that queue and blocks it further - which is the main part why I want to fix it


Kubernetes Dashboard addon - error when enabling addon

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks enable-addons
Errors:
argument of type 'NoneType' is not iterable
Traceback (most recent call last):
Temp\pip-install-p8t_6awn\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 603, in execute
azure\cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 654, in _run_job
Local\Temp\pip-install-p8t_6awn\six\six.py, ln 693, in reraise
azure\cli\core\commands\__init__.py, ln 631, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 485, in default_command_handler
azure\cli\command_modules\acs\custom.py, ln 1844, in aks_enable_addons
azure\cli\command_modules\acs\custom.py, ln 2426, in _ensure_container_insights_for_monitoring
TypeError: argument of type 'NoneType' is not iterable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks enable-addons --addons {} -g {} -n {}

Expected Behavior
Environment Summary
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.75 *

Additional Context

@rvarunikaa , thanks for reporting, we are looking at it.

We believe a fix has been made, please reference this issue for the latest tracking. I am going to close this to consolidate info to one thread. If you still hit issues after the S166 milestone release, feel free to recomment.
https://github.com/Azure/azure-cli/issues/11456


Detect deprecated methods from the interface as well. Fix #48

Hi, this ought to be rather fixed in https://github.com/phpstan/phpstan-src/blob/eb074fdc9a70542c9d227b26a89031aeeeca7943/src/PhpDoc/ResolvedPhpDocBlock.php#L193 - it should be merged from parent docblocks as well, see for example how the throwsTag is handled above.
Can be tested for example in ClassReflectionTest by getting $this->createReflectionProvider(), and getting the class method in question to see if PHPStan considers it deprecated as well.

Sounds even better. Created here: https://github.com/phpstan/phpstan-src/pull/792


Parallel test execution fails since version 1.17.1

It looks like parallel test execution has been broken since 1.17.1 was released.  I get the following output when executing bundle exec onceover run spec --parallel on every version after 1.17.0:
Error while running: #<NoMethodError: undefined method `cooked!' for #<IO:<STDERR>>>

Fixed in #280
Can you work around by adding require 'io/console' to the end of your Gemfile?

Confirmed that adding require 'io/console' worked.  Thanks!  I'm guessing this will be officially fixed with the next release, since #280 has already been merged.

Just posting as I have also been testing this and adding require 'io/console to my Gemfile.
After whacking the Gemfile.lock and running bundle install the once over--parallel execution started working.
I'm also curious if you think it would be a good idea to test for the #coooked! method prior to using it?
For example this line: https://github.com/dylanratcliffe/onceover/blob/v3.18.1/lib/onceover/runner.rb#L133
Could also be this
STDERR.cooked! if STDERR.isatty && STDERR.respond_to?(:cooked!)

Or perhaps we could even do this incase there is no TTY and the #cooked! isn't available either.
      begin
        STDERR.raw! if STDERR.isatty
        result = Backticks::Runner.new(interactive: true).run(args.flatten).join
      ensure
        begin
          STDERR.cooked! if STDERR.isatty
        rescue NoMethodError
          STDERR.write("My custom error message...")
        end
     end


Added How To section to Batch page

Thank you @smarinskaya for the documentation :tada:
These are great example for anyone to build their own jobs from.


Keep README code samples updated

Investigate possible options to keep code samples in README functional. Changes to code may result in code samples in README getting outdated and there's no mechanism today to verify the validity of the samples.
Explore options to inject sample code into README from *Sample.java which can be executable.

/cc: @mitchdenny @JimSuplizio

Enabled in https://github.com/Azure/azure-sdk-for-java/pull/6609 and https://github.com/Azure/azure-sdk-for-java/pull/6625


Add gstreamer plugin usage demo for kinesis webrtc (gst-launch pipeline)

Although we have usage samples on how to integrate the gstreams libs into a program, another common pattern is run directly as a gst-launch-1.0 pipeline.
Sending a mkv file directly to a video stream channel: (works)
gst-launch-1.0 -v \
filesrc location=/path/Jellyfish_1080_10s_2MB.mkv \
! matroskademux name=demux  demux.video_0\
! decodebin \
! videoconvert \
! x264enc bframes=0 key-int-max=45 bitrate=500 ! video/x-h264,stream-format=avc,alignment=au,profile=baseline \
! kvssink stream-name="stream_name" storage-size=512 aws-region="us-west-2" \
iot-certificate="iot-certificate,endpoint=xxxx.credentials.iot.us-west-2.amazonaws.com,cert-path=/path/aws-iot-cert.pem.crt,key-path=/path/aws-iot-cert.pem.key,ca-path=/home/path/aws-iot-cert-rootca.pem,role-aliases=IoTRoleAlias,iot-thing-name=thing_name"

What is the equivalent pipeline allowing a mkv video to be sent to a signaling channel?
(based on kvsplugin -- for webrtc)
I've read many samples in the official docs or across the web but am having a hard time making it to work with gst-launch-1.0 directly. (and found many others also struggling).
Having a couple more samples based on gst-launch would be really nice.
I can test and prepare a PR with more cases (ex: webcam->webrtc, other sources, etc), but need help figuring out one initial working case of how to get kvsplugin to send a file to webrtc.

Additional debug info:
/host/temp/amazon-kinesis-video-streams-demos/gst/gst-kvs-plugin/src/GstPlugin.c(1296): gst_kvs_plugin_change_state (): /GstPipeline:pipeline0/GstKvsPlugin:kvsplugin0:
Failed to initialize with 0x16000001
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...

I tested the certificates and auth endpoint and they work fine (token is generated successfully):
curl -H "x-amzn-iot-thingname:xxx" \
--cert /xxx/aws-iot-cert.pem.crt \
--key /xxx/aws-iot-cert.pem.key \
https://xxx.credentials.iot.us-west-2.amazonaws.com/role-aliases/KvsCameraIoTRoleAlias/credentials \
--cacert /xxx/aws-iot-cert-rootca.pem

{"credentials":{"accessKeyId":"ASIAxxxx","secretAccessKey":"feKtIxxxxx","sessionToken":"IQoJb3Jxxxxx","expiration":"2023-03-27T04:32:42Z"}}

What is wrong in that pipeline?

Could someone please confirm if the kvsplugin (kvs webrtc/signaling gstreamer plugin) provided by AWS is functional in the latest releases?

kvsplugin appears to both send video to a signaling channel, and a video stream (multiple places). If you're looking for webrtc only, you can check this out.

My problem with kvsplugin was that I couldn't get it working as is, from the samples. Specially when trying certificate based auth.
I'll retry latest version and confirm if this issue is still valid or got fixed.
Thanks for sharing gst-plugins-rs, that's gold! :star_struck:
Definitely going to try to contribute with them.


Add Armournum

To reduce damage(Not Percentage)
if the armournum is 1,the damage can  reduce 1.

let EvalDamage expression:damage - 1


Meeting notes/minutes in HackMD

NF has been using Google Docs for its minute's note-taking obviously for several reasons - collaborative and can be saved in Google Drive (hehe :smile_cat: )
HackMD provides better features and most importantly it is for MARKDOWN
we can

add new notes
invite people
download as markdown/HTML
export to Dropbox/Google Drive/ Gist
also can Publish the notes (with which, we don't have to add the meeting notes into the repository for records, else we can refer to the published link simply)

The Free Plan is itself reliable and sufficient for our purpose but also they have recently introduced  an Enterprise Plan that provides private SaaS

They don't have an API as of now!
We(admin) has to manually create a note and later on publish it
Dont feel it is hard for the meeting chairrperson

Tha platform seems really nice and feature-rich. I'd go for switching, if it wasn't for the lack of automation API. As @mhdawson said, it would feel like a regression.
But I must say, the ease it would put into creating the notes PR makes me hesitate. So I'm not all for it, but not all against either.
(That was the useful contribution of the day, kindly provided by your servant.)

This is the first I've learned that we've been using the API to create minutes docs. 😅 No big deal, since I don't PR minutes very often, and I didn't feel put upon.

@chowdhurian The problem of using an API is not with PRing the minutes, but to automatically create the minutes doc which we use during the meetings.
The current tool created by @mhdawson uses GDoc API to create a document and populate it with a template, gets the link to that doc, and puts it into the issue it creates automatically for each meeting.
That's the automation we would be losing.
And while it may not seem the heaviest load in the world for us, I think manually creating the doc on an external platform for every meeting must indeed become a real hassle for the chair/secretary real quick.
So again, I quite like this platform, I tested it a bit and it works damn well, but I won't say a definitive yes/no for now.

We could make the tool have an option not to create the google doc, but for any of the meetings, I chair I would not move over as I don't find getting the completed doc over to markdown to be enough of a problem to be worth having to manually create the doc in the first place.

@mhdawson
perhaps this could help https://github.com/hackmdio/hackmd/pull/673

Any update on this issue?

I don't have any cycles to push this forward and I don't find the current approach an issue for the meetings I'm helping to moderate.
The net is that I won't get to this any time in the foreseeable future, if somebody wants to add an option to https://github.com/mhdawson/create-node-meeting-artifacts so that based on the config you can have it create the minutes using hackmdio instead of a google doc I'd be happy to take a PR.

Going to close this for now. Feel free to re-open if you feel it's needed 👍


Install tox venv separately to get timinging

See some discussion in #4672
Description
We run tox --notest in a separate step, this should allow us to get the installation step timing separately from running the tests, and this test caching strategies and their effects on install time.

It does seem to split the time, in https://github.com/napari/napari/runs/6905352240?check_suite_focus=true the total tox time is 11:41 in this one it's 2:18+8:28, so I do seem to see the split.

@Carreau I think tests are running a bit quicker now - can we close this or would you still like to pursue?


Support for beginning a transaction inside boiler generated package

This is only a proposal, maybe it needs some discussion.
The idea is that if we use boiler.SetDB(db) method in order to be able to use the G variants of the models, and avoid having to pass around a sql.DB instance, then there's no way to create a transaction inside a function of a struct that does not have the db instance in scope.
It might be nice to have a method in the models package func Begin() (*sql.Tx, errors) that uses the db instance passed into the SetDB method for creating a transaction and returning it, this way we can use transactions (for example when working with relationships) but still avoid having our structs have the need of the DB instance.

Nevermind, I've just found that there is indeed a Begin() method that returns a Transactor... I don't know how I missed it before...

Will document better.

That's awesome @aarondl, much clearer now haha
Thanks!


expensify-common hash update

@AndrewGable will you please review this?
Hash update of expensify-common
Creation of html -> markdown conversion of inlineCodeBlock
Fixed Issues
#4185
Tests
https://user-images.githubusercontent.com/56851391/127725738-bd0a424d-5c45-4fc3-941e-014479e2383c.mp4
Unit test were added to tests/ExpensiMark-Markdown-test.js
QA

Enter a message with inline code block
Try to edit it
Verify it will keep the inline code block markdown

I have read the CLA Document and I hereby sign the CLA

Oops, looks like there is conflicts. Can you resolve them? Additionally, I think the commit should be https://github.com/Expensify/expensify-common/commit/4016a786d66ff38ed76a191edef31ebd737a0190

@AndrewGable  I got some trouble solving the conflicts but I think now its ok and updated hash is ready for merging! 😅

I will merge once e2e tests pass (probably tomorrow morning!)

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging         in version: 1.0.82-8🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @francoisl in version: 1.0.83-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


fix: properties and methods from superclasses are not rendered

Fixes #586

I think this is the better experience for customers, since it's not currently obvious that e.g. Bucket extends from BucketBase and thus has access to all of the same methods. And even if we did explicitly linked to superclasses within generate docs, IMO listing all of available methods / properties for each class is still a better UX.
This does significantly increase the size of docs (noting from the increased size of snapshots in this PR), but I don't think the time to generate docs increased comparatively as much, so I don't expect it to cause downstream issues on Construct Hub for example. But we'll see.

It'd be nice to also mark those methods as inherited in the markdown...

Good suggestion! I create an issue as to leave that as an enhancement for now :)


Fixed newsletter includes when adding or editing

refs https://github.com/TryGhost/Team/issues/1571

Makes sure the includes are always included
Moved read to the newsletter service
Added tests
Required for https://github.com/TryGhost/Admin/pull/2365

Still needs unit tests fixed


Set deployment job environment and resource name as variable

I would like suggest to implement deployment job environment properties as variable (for virtual machine resources).
The prefer way of use should be like this
- deployment: deploy_lifelink     displayName: 'Deploy LifeLink'     dependsOn: initialize_variables     variables:       environmentName: $[dependencies.initialize_variables.outputs['initialize_variables.environmentName']]       virtualMachineName: $[dependencies.initialize_variables.outputs['initialize_variables.virtualMachineName']]     environment:       name: $(environmentName)       resourceName: $(virtualMachineName)

+1 - I'd love to see this functionality.


[MM-24322] replace string len check with idiomatic way

Summary
Replace all occurrences of  len(str) > 0 with  str != ""
Ticket Link
https://mattermost.atlassian.net/browse/MM-24322

@srkgupta - Just one round of smoke test is sufficient. Thanks.


Disable "Find definition" mouse keybinding

The "Find Definition" (CTRL+Click) is interfering with root functionality.
I use CTRL+DoubleClick to multi-select multiple words to change them all at once with the multi-cursor system. The CTRL+Click from this plugin interferes and breaks that functionality.
Is there a way to disable just this part, or if not then disable all keybindings in this package?

For a quick fix you can goto .atom/packages/atom-ternjs/lib/atom-ternjs-manager.js.
Uncomment line 348 this.client.definition();, then restart atom.
As this breaks core functionality on windows, what alternative key should be used?
Greetings

I appreciate the quick fix!
As for what works on windows, i think your best bet will be to allow it to be configurable (as annoying as that is).
The fact that there are over 50,000 installs and it looks like i'm the first person to really have this issues means it's obviously not breaking it for many people.

Yep, strange. But it breaks core functionality and needs to be fixed.

I will try to fix this as soon as possible.
Thanks for the report.

So i checked it on a windows machine. alt-click seems to be fine with core functionality.
If i am wrong, please reopen the issue.

I use alt-click for multiple cursors (as IntelliJ uses). This needs to be a config option.


Update episode 4 to switch to the terra package as needed

Went through the code and made the updates: https://github.com/UCSBCarpentry/geospatialRUCSBAtlas/pull/24
Not sure if we want to add the code to write the raster or leave it to the participants to do it

juliens pr merged. Seeing theres a question about writing the raster or leaving it, I'll leave this issue open for now.

decided to add writing the raster to the disk

Working on this I realized the resolution and extent of bathy and DEM were not matching. I updated the episode 3 projection to use DEM as reference 023c54a.
It seems sea level is at 5m in the DEM not 4. need to talk to @jonjab about this.

The merge of the dem and bathy has been done. Note: we might have to revisit how to best handle the lower part of the DEM (for now has been set to NA to help with the overlap merging along the coast)


JP translations

Description
#12013 was meant to have some translations for the dropdown labels but I wasn't clear about that in the PR. Translations provided by @Mizuki0522
Testing plan

Test the labels show up as shown in the Sandcastle. Code already confirmed in #12013

Author checklist

[x] I have submitted a Contributor License Agreement
[x] I have added my name to CONTRIBUTORS.md
[ ] I have updated CHANGES.md with a short summary of my change
[ ] I have added or updated unit tests to ensure consistent code coverage
[ ] I have update the inline documentation, and included code examples where relevant
[x] I have performed a self-review of my code

Thanks @jjspace, sorry I missed this in the previous PR


Fix crash parsing document tree dump as markdown content

Bug/issue #, if applicable: rdar://108281578
Summary
Fix a crash (String index range is out of bounds) when parsing a document tree dump followed by a one-line directive as markdown content. See test
Dependencies
None.
Testing
See the added test.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
~[ ] Updated documentation if necessary~

@swift-ci please test


[CWS] Creating separate threat score ruleset

What does this PR do?
We're separating the threat score rules into a separate ruleset so that they don't affect the approver and discarder calculating process.
TODO:

Add tests for evaluation set

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I a bit afraid of the complexity added by this new evaluation set and it can creates many side effects. Did you consider using 2 different rulesets ?

I a bit afraid of the complexity added by this new evaluation set and it can creates many side effects. Did you consider using 2 different rulesets ?

So the thinking behind creating the Evaluation Set rather than an anonymous slice of 2+ rulesets is that it'll be easier to handle one struct rather than a potentially growing slice of rulesets.


The output of (t1 + t2) / t3 isn't flattened

Either a 🐞 Bug or Unclear Documentation
https://lf1-io.github.io/padl/latest/usage/combining_transforms.html#grouping-transforms says

By default, Pipelines, such as rollouts and parallels, are flattened. This means that even if you use parentheses to group them, the output will be a flat tuple.

I provide a code example (used with padl 0.2.5) where I expect the output to be a flat tuple but instead it's a tuple with a tuple inside
import padl
pipeline = (padl.Identity() + padl.transform(lambda x: x**2)) / padl.transform(lambda y: y + 100)
print(pipeline((2, 5)))  # prints namedtuple(out_0=namedtuple(out_0=2, out_1=4), out_1=105)
(pipeline >> padl.Identity() / padl.Identity() / padl.Identity())((2, 5))  # raises IndexError: tuple index out of range

@philip-bl
Thanks for pointing out the confusion in the documentation. It is indeed unclear documentation.
The output is a flat tuple only for cases when you are using a single operation: either parallel or rollout to create a pipeline.
As shown in the example on the documentation:
(t1 + (t2 + t3))(x) == ((t1 + t2) + t3)(x) == (t1 + t2 + t3)(x)  == (t1(x), t2(x), t2(x))
True

But if you mix the operations (parallel, rollout and compose), pipeline will be created using the python operator precedence
That is why first there is a rollout created below, and then a parallel on top of rollout.
import padl
pipeline = (padl.Identity() + padl.transform(lambda x: x**2)) / padl.transform(lambda y: y + 100)

pipeline
Parallel - "pipeline":

   │└─▶ 0: Identity() + lambda x: x**2
   │  /
   └──▶ 1: lambda y: y + 100

Similarly, in your second example, parallels are created first as / takes precedence over >>.  And in the end the created parallel is composed with the pipeline as pipeline >> new-parallel-with-three-identity
(pipeline >> padl.Identity() / padl.Identity() / padl.Identity())
Compose:

      │└───────────┐
      │            │
      ▼ args       ▼ y
   0: [..+..] / lambda y: y + 100
      ││└──────────────────────────────┐
      │└───────────┐                   │
      │            │                   │
      ▼ args       ▼ args              ▼ args
   1: Identity() / Identity()        / Identity()

I understand that the arrows above might not be helpful but image it as:
Compose:

      │
      │
      ▼ args
   0: Pipeline
      ││└──────────────────────────────┐
      │└───────────┐                   │
      │            │                   │
      ▼ args       ▼ args              ▼ args
   1: Identity() / Identity()        / Identity()

If you replace >> with another / in your example, then things are fine again:
(pipeline / padl.Identity() / padl.Identity() / padl.Identity())
Out[35]:
Parallel:

   ││││└─▶ 0: Identity() + lambda x: x**2
   ││││  /
   │││└──▶ 1: lambda y: y + 100
   │││   /
   ││└───▶ 2: Identity()
   ││    /
   │└────▶ 3: Identity()
   │     /
   └─────▶ 4: Identity()

In : (pipeline / padl.Identity() / padl.Identity() / padl.Identity())((0, 1, 2, 3, 4))
Out: namedtuple(out_0=namedtuple(out_0=0, out_1=0), out_1=101, out_2=2, out_3=3, out_4=4)

In that case, maybe you shouldn't flatten it automatically at all. Or come up with a way to flatten any combinations of parallel and rollout. Idk.

Thanks for your suggestion. We will think about flattening in general.


Support for custom plist

Greetings,
I notice with today's latest PR (b43d46eb547782f7bd4d01ee1b9df9980d88e15c) that the support for custom plist was silently dropped. Is there any reason why that feature was removed?
We have build a set of tool for our developers that rely on custom plist to be able to run two different versions of MySQL at once. The plist provided by homebrew are in conflict with one another and the only way to make them both run is to provide custom plist with different datadir, socket and port.
Would it be possible to revert this change and bring back custom plist support?
Thank you!

It was never documented anywhere so I did not consider it supported. It also made the code much more complex. But if people want to add it back and actually document it I would gladly review a PR.

@SMillerDev I wasn't aware when I was reviewing that the support was being dropped so reverting based in number of 👍🏻s in here in https://github.com/Homebrew/homebrew-services/pull/352.
@pgrenaud or others: after the revert would love to have some documentation added for this to the manpage/README and some tests. Shout if I can help with that.

Unfortunately, I won't be able to help with the tests since my knowledge of ruby is very limited.
For the documentation, do you mean the usage_banner in cmd/services.rb?

For the documentation, do you mean the usage_banner in cmd/services.rb?

Yes please! That and the README would be great.

Unfortunately, I won't be able to help with the tests since my knowledge of ruby is very limited.

No worries!

https://github.com/Homebrew/homebrew-services/pull/353 will actually take care of that


⚠ Jenkins Plugins Artifactory has degraded performance

In c184d4d, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1491 ms

Resolved: Jenkins Plugins Artifactory performance has improved in b331c4e after 12 minutes.


%1 is not a valid Win32 application

Issue without proper information won't be answered
Expected Behavior
Logging in and botting
Actual Behavior
The app went back to login screen
Information

Windows 8.1 x64
App's logs
Starting Python process...
Bot path: C:\Users\wvjgsuhp\PokemonGo-Bot-Desktop\build\gofbot
python ./pokecli.py
[2016-08-13T18:01:07.043Z] [electron-connect] [server] client (window_id: 1) closed.
Python: Traceback (most recent call last):
File "./pokecli.py", line 39, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
File "packages\pgoapi_init_.py", line 50, in
from pgoapi.pgoapi import PGoApi
File "packages\pgoapi\pgoapi.py", line 34, in
from pgoapi.rpc_api import RpcApi
File "packages\pgoapi\rpc_api.py", line 47, in
from pgoapi.utilities import to_camel_case, get_time, get_format_time_diff, Rand48, long_to_bytes, generateLocation1, generateLocation2, generateRequestHash, f2i
File "packages\pgoapi\utilities.py", line 30, in
import xxhash
ImportError: DLL load failed: %1 is not a valid Win32 application.

Did you selected the encrypt.dll with the button on the login screen?

i place the file in gofbot folder

pip install -r requirements.txt
#138


how to pull nested relationship through shared pivot table?

This is not really a problem with the library I don't think. I just cannot seem how to connect the pieces for what I'm trying to do.
I have a relationship currently for appointment->service using an appointment_services pivot table that has the appointment id and the service id. This part is no problem, easily achieved with a many to many. My problem arises when I want to pull in the pet associated with the appointment service (the fields in the pivot table also include the pet_id.
pivot table fields: appointment_id, service_id, pet_id
I can't figure out how to get to `appointment->service->pet. I am sorry for the very limited information provided here, but I just don't know what information you would need to be able to assist me. I've tried lots of googling but have come up empty handed with this specific issue. Thank for your time to read.

I dont plan on creating a model for the appointment_service but that seems to be the only logical way to achieve this as I have attempted to add a pet relation on the service model, but since the service model doesnt really know how to relate to the appointment_id, it just gives me all pets in the appointments_services table matching this service id

I thought of something to make my question more clear (hopefully)
an appointment has services assigned to it that links an Appointment model to a Service model through appointments_services
An appointments_services row also links to a Pet model with pet_id on the pivot table, but appointment->service->pet is not achievable because that would require the service->pet to know about the appointment_id too


How to run the demo?

I use
    yarn install
    yarn run serve

but in opened browser, it's empty and in console a log says
vue.runtime.common.js:556 [Vue warn]: Cannot find element: #app

Its a module.
You need create vue project and past example code.


tour: Output is always "My favorite number is 1"

Hi,
I am a newbie to GO.
Context: https://tour.golang.org/basics/1
When I try executing the sample code the output is always My favorite number is 1, shouldn't it randomize the number?
Confirmed the same by executing the tour in another machine locally (go tools tour).

Have a look at the note on description
Note: the environment in which these programs are executed is deterministic, so each time you run the example program rand.Intn will return the same number. (To see a different number, seed the number generator; see rand.Seed.)


Convert compose and provide k8s yaml deployment assets

We need to create the relevant k8s yaml assets that will enable the service to be deployed to k8s, currently we're using the docker-compose.yml file to deploy locally.

You could always do something like: https://github.com/kelseyhightower/hello-universe where you let the binary help deploy itself to k8s? That was pretty neat.

Ye we talked a little about this, but I think we want to try and get a balance between "not too much effort" and "not too much magic". This is cool (+ stuff like metaparticle) but imho falls under "too much magic".

Hi @johnharris85, we should also finalize a discussion on this.

This is no longer necessary.


How to access Fill value

Hi,
I would like to access the Fill value of a layer and just can't find the correct attribute. Can somebody please point me in the right direction? Thanks in advance for any code samples!

Try the following
from psd_tools.constants import Tag
layer.tagged_blocks.get(Tag.BLEND_FILL_OPACITY)

Thanks, works like a charm!


US-2055 Relay Wallet based on EOA Wallet

Tests I tried:

[x] Wallet Deploy
[x] Send RIF, RBTC
[x] Receive RIF, RBTC
[x] Import Wallet
[x] Create Wallet

One thing needs to be done:

[x]  I see _signTypedData popup when sending, need to figure out why @jessgusclark  I need your help.

When sending a transaction, in Testnet, the fee is displayed incorrectly. It should be about 2.x RIF, instead iI get this:

Also, after clickingon 'submit' for the transaction nothing happens. There is a console log but the TX is not sent to the relayer.

Well, that's new... I will investigate

When sending a transaction, in Testnet, the fee is displayed incorrectly. It should be about 2.x RIF, instead iI get this:

Also, after clickingon 'submit' for the transaction nothing happens. There is a console log but the TX is not sent to the relayer.

Reimported the wallet, clean install, it's the same on develop branch @jessgusclark it's urgent!!! I will try again fully deleting everything.

When sending a transaction, in Testnet, the fee is displayed incorrectly. It should be about 2.x RIF, instead iI get this:

Also, after clickingon 'submit' for the transaction nothing happens. There is a console log but the TX is not sent to the relayer.

Well, that's new... I will investigate

Apparently it was something on the backend, now it works for me here
https://github.com/rsksmart/rif-wallet/assets/47615361/9fee57f4-b5ac-436f-90d1-f0dc5fd94190

As Jesse mentioned, I couldn't submit any tokens either; When I pressed the send button nothing happened.

You can try again, apparently there was something happening outside the app

rDOC issue should be fixed but I would like @jormelCoin to test it out again and confirm. I also noticed that the fee is being displayed incorrectly in the Transaction Confirm Screen:

Looking at the network Flipper request it should be around 2.2706 RIF and here it shows 0.2706 RIF. Is it subtracting 2? I'll let you decide if that should be handled in this PR or if you want to create a new ticket for it and handle it in a different one.

rDOC issue should be fixed but I would like @jormelCoin to test it out again and confirm. I also noticed that the fee is being displayed incorrectly in the Transaction Confirm Screen:

Looking at the network Flipper request it should be around 2.2706 RIF and here it shows 0.2706 RIF. Is it subtracting 2? I'll let you decide if that should be handled in this PR or if you want to create a new ticket for it and handle it in a different one.

Identified and fixed the issue.


infra: automated deployments

Use github actions an run yarn deploy if build passes

Looks like there's some existing solutions for this:

https://github.com/peaceiris/actions-gh-pages
https://github.com/JamesIves/github-pages-deploy-action
https://github.com/crazy-max/ghaction-github-pages

I saw something for this on a tutorial on how to make a portfolio in React.js.
I never looked into it because I wanted to learn how to do the deployments manually so I could really understand the process, but I can take a look into whether we can try the approach mentioned in the article if you think it's viable.

So travis is actually somewhat of an outdated CI. Its probably going out of business because github actions is so much better. GH actions adds a lot of features that travis could never implement.

I tried writing this out myself using the "Actions" tab under this repository.
This is what I came up with after modifying the template.
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2

    # Runs a single command using the runners shell
    - name: Run yarn deploy, which should build a deployable webpage, and then deploy it
      run: yarn deploy

This gave me an error, though.

Nice work! So that's happening because we're not running yarn install. See our other config for example:
https://github.com/amilajack/freesound-player/blob/master/.github/workflows/test.yml#L34-L35

Oh, interesting. How do we configure it so that it only runs if the build
passes?
On Mon, 17 Aug 2020 at 08:23, Amila Welihinda<EMAIL_ADDRESS>wrote:

Nice work! So that's happening because we're not running yarn install.
See our other config for example:
https://github.com/amilajack/freesound-player/blob/master/.github/workflows/test.yml#L34-L35
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amilajack/freesound-player/issues/13#issuecomment-674946308,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKLKAFGFB5HJZCYIFP3NWMLSBFDQFANCNFSM4P3RDA2A
.

Oh, interesting! I'll take a look at this when I make time.

Fixed when we added netlify


[tauri] check for updated version

look up heyamica.com/releases.json and compare version with json, show some indicator (maybe with system tray?) which prompts users to download -> links to download page.

Arbius has a $100 AIUS bounty for this issue!
Brief: Fix/Complete Issue.
Please read carefully:
To begin work on a bounty, reply by saying “I claim this bounty” - you will have 48 hours to submit your PR before someone else may attempt to claim this bounty.
To complete the bounty, within 48 hours of claiming, reply with a link to your PR referencing this issue and an Ethereum address. You must comply with reviewers comments and have the PR merged to receive the bounty reward. Please be sure to focus on quality submissions to minimize the amount of time reviewers must take.

This bounty has been paused for now.


Coordinates of selection in IE8

Steps to reproduce in Internet Explorer 8:
Goto: http://rangy.googlecode.com/svn-history/r459/trunk/demos/coordinates.html
Set the caret after "leagues and in the English FA Cup." - right before the newline.
Click "Get selection range"
Result: The yellow markers are in the top-left corner.

I haven't done any work on that module for ages and abandoned it on the grounds that making it work in the general case for all browsers was just too difficult. I may look into resurrecting it for the next version it with big warnings about it not being guaranteed too work.


Set time after inverter start to fix total increase when blocking cloud access

The total yield is not reset when blocking the cloud (and we all should block these inverters from reaching the cloud as this is not secure):

I found an interesting hint here:

Note that with internet access blocked, the inverter never receives any time information. This breaks the Yield today counter as it will never properly reset unless you manually set the time on each boot using modbus register 22, 23 and 24.

The question now is how to set these registers and if this could be integrated into this addon?

I had a similar problem where the inverter's time drifted after a few weeks, causing the daily counters from the inverter to only reset at ex 12:02am
My workaround is to use an automation that runs every 6 hours, which sets the time on the inverter using home assistant's time, using python scripts
This works on my deye hybrid, may need to adjust for other inverters.
Python:
def write_values(register, value):
    service_data = {
        "register": register,
        "values": value,
    }
    hass.services.call("solarman", "write_multiple_holding_registers", service_data, blocking=True)

def int16(high, low):
    return (high << 8) + low

now = datetime.datetime.now()
values = [
    now.year - 2000,
    now.month,
    now.day,
    now.hour,
    now.minute,
    now.second,
]
i16 = [
    int16(values[0], values[1]),
    int16(values[2], values[3]),
    int16(values[4], values[5]),
]

write_values(22, i16[0])
write_values(23, i16[1])
write_values(24, i16[2])

automation:
alias: "cron: set inverter time"
description: ""
trigger:
  - platform: time_pattern
    hours: /6
    minutes: "58"
condition: []
action:
  - service: python_script.update_solarman_datetime
    metadata: {}
    data: {}
mode: single

the Python code was reversed from https://github.com/kellerza/sunsynk/blob/main/src/sunsynk/rwsensors.py#L142


Adding the TENSORFLOW_ROOT to the target tool chain path for cortex_m_generic

adding toolchain root so that the generated project can be set to the downloaded toolchain.

make -f tensorflow/lite/micro/tools/make/Makefile generate_hello_world_make_project TARGET=cortex_m_generic TARGET_ARCH=cortex-m4+fp  TENSORFLOW_ROOT=/path/to/tflite-micro
the generated makefile will now have the correct path for the compiler
in tools/make/gen/cortexm4_cortex-m4_micro/prj/xxxx/Makefile

  TARGET_TOOLCHAIN_ROOT := <path-to-tflite-micro>/tensorflow/lite/micro/tools/make/downloads/gcc_embedded/bin/
  TARGET_TOOLCHAIN_PREFIX := arm-none-eabi-

  # These are microcontroller-specific rules for converting the ELF output
  # of the linker into a binary image that can be loaded directly.
  CXX             := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)g++'
  CC              := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)gcc'
  AS              := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)as'
  AR              := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)ar'
  LD              := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)ld'
  NM              := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)nm'
  OBJDUMP         := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)objdump'
  OBJCOPY         := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)objcopy'
  SIZE            := '$(TARGET_TOOLCHAIN_ROOT)$(TARGET_TOOLCHAIN_PREFIX)size'

@googlebot I consent.

Once the CLA is signed, we can merge this change.
I would like to point out that we are going to be removing support for makefile based project generation in the near future.
Here is documentation on how to use the Python project generation script instead: https://github.com/tensorflow/tflite-micro/blob/main/tensorflow/lite/micro/docs/new_platform_support.md
And a couple of related issues:

https://github.com/tensorflow/tflite-micro/issues/407
https://github.com/tensorflow/tflite-micro/issues/445

@advaitjain thanks for that info on the new build system. I just started the process of migrating our build system to use the tflite-micro repo instead of the tensorflow repo. So far only a couple of minor changes that I needed to make on our side to make things work.

@advaitjain  Is there anything else I need to do for the CLA. I know I have signed them already for past merges.

@advaitjain thanks for that info on the new build system. I just started the process of migrating our build system to use the tflite-micro repo instead of the tensorflow repo. So far only a couple of minor changes that I needed to make on our side to make things work.

I think my comment about the CLA needing to be singed had a race condition with your comment with @googlebot I consent.. Since the cla:yes label is on this PR, we are good to go.

Also, please note that since your're sending a PR from a Github organization account, TFLM maintainers do not have the ability to update the PR. So there may be a bit of trial and error in order to get your PR to be up to date and first in the merge queue.
See other users facing the same issue:

https://github.com/tensorflow/tflite-micro/pull/227#issuecomment-880757254
https://github.com/tensorflow/tflite-micro/pull/303#issuecomment-883731060

Approved. The only bit that remains is for you to merge main into your branch. I can not do this since the PR is coming from a github orgranization account.

@advaitjain  ok, went ahead and rebased onto main.


build: use cc to build openslide from source

Codecov Report
Base: 82.27% // Head: 81.70% // Decreases project coverage by -0.57% :warning:

Coverage data is based on head (78878f8) compared to base (79a6168).
Patch coverage: 83.33% of modified lines in pull request are covered.

:exclamation: Current head 78878f8 differs from pull request most recent head f6b4a61. Consider uploading reports for the commit f6b4a61 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   82.27%   81.70%   -0.58%
==========================================
  Files          10       12       +2
  Lines         756      787      +31
==========================================
+ Hits          622      643      +21
- Misses        134      144      +10

Impacted Files
Coverage Δ

openslide-sys/src/bindings.rs
47.36% <47.36%> (ø)

openslide-sys/src/lib.rs
100.00% <100.00%> (ø)

src/bindings.rs
86.97% <100.00%> (+0.70%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix: sass task was looping on windows, gen files ignored

@bmds fixed issue that is described in the title

Appveyor has had a moment, i've cancelled all it's builds & am going through them slowly restarting them so as not to overwhelm it

No I didn't end up adding one, probably needs one to check no generated file goes into the watch task. Could do with some help doing that if anyone can assist.

@bmds can we merge this into master? its causing issues with Chester Zoo development


When will you implement handler?

When will you implement handler?
we are waiting for this

I am still planning about doing that. You can make the process faster by submitting a pull request! You can take the projects mentioned in README.md as a reference and reimplement that in Kyros.


Platform IO error - Warning! Could not find the package with 'h2zero/NimBLE-Arduino @ 1.3.4' requirements for your system 'darwin_x86_64'

Hi,
I get the following error:
Library Manager: Installing h2zero/NimBLE-Arduino @ 1.3.4
Warning! Could not find the package with 'h2zero/NimBLE-Arduino @ 1.3.4' requirements for your system 'darwin_x86_64'

I have a m1 Mac running macOS 12.0.1 with PlatformIO 5.2.4

Hey there -- I think this is the issue I was encountering which prompted me to open PR #330 as if you look at Platformio's library page for NimBLE-Arduino it shows v1.3.1 which matched the version in library.properties. No idea if that's actually the fix, though, as I'm not familiar with how platformio's library finder triggers updates.

I’ll pull that into my fork and try it out. Thanks!

I’ll pull that into my fork and try it out. Thanks!

I don't think this will have any impact on your fork, unfortunately, as from taking a quick glance at the platformio docs it seems the change only impacts when @h2zero next republishes the library using the pio package publish command. (Even then though, that's based on my rudimentary understanding which comes with exactly 0 seconds of experience, in this case!)
If you need v1.3.4, for now you can get it by replacing h2zero/NimBLE-Arduino @ 1.3.4 with https://github.com/h2zero/NimBLE-Arduino.git#1.3.4 in your platformio.ini file.

I've tried to look into this but I don't understand how the platformio registry discovers the releases. I've never had to publish manually before, it's just been picked up automatically. I think something has changed in their library registry, possibly it only reads from the default branch now?
I see arduino has picked it up correctly https://www.arduino.cc/reference/en/libraries/nimble-arduino/

@thorrak I'm reluctant to merge your PR until I have a better understanding of the process the pio registry uses, I don't want it pulling in the master branch or some other unexpected outcome.
On the plus side, it looks like this repo is in the top 100 now, so that's cool 😄

@thorrak I'm reluctant to merge your PR until I have a better understanding of the process the pio registry uses, I don't want it pulling in the master branch or some other unexpected outcome.
On the plus side, it looks like this repo is in the top 100 now, so that's cool 😄

Considering my PR is based on a wild guess as to how Platformio operates, I would be too. :)
Congrats on the popularity - it’s well deserved! I have at least two projects that would not exist if this hadn’t been released. (The default libraries were far too big for 4MB of flash!)

Maybe @ivankravets could offer a clue as to how to proceed?

Hi all,
Thanks for pinging me. Glad to help.

s but I don't understand how the platformio registry discovers the releases. I've never had to publish manually before, it's just been picked up automatically.

Yes, the previous version of PlatformIO Registry had a crawler that monitored the library's manifest every 24 hours for the version changes. That was a trigger to auto-publish a new version if manifest's version field matches with the release tag.
Currently, this crawler works in legacy mode and was disabled in 2020 for the new libraries. So, new libraries are published by their owners and they maintain updates.
In the case of this library, the legacy crawler still monitors its manifest https://github.com/h2zero/NimBLE-Arduino/blob/master/library.properties from the default branch. The latest version is version=1.3.1 which corresponds to https://registry.platformio.org/libraries/h2zero/NimBLE-Arduino

There are two options to resolve this issue:
a) Easiest, just update version in https://github.com/h2zero/NimBLE-Arduino/blob/master/library.properties and legacy crawler will pick a new version
b) as @thorrak mentioned, you can publish the version manually using pio package publish command. Please note, once you published a new version manually, the legacy crawler will be disabled for this library. You later will need to publish new versions each time.
P.S: Thanks for the great library! 🙏

Awesome, thanks for the quick response @ivankravets ! Nice to have clarity on the issue, looks like @thorrak 's PR will do the trick then 😄

This appears to be fixed now, thanks everyone!


fix(reaction_analyzer): fix include hierarchy of tf2_eigen (#8663)

Fixed include hierarchy of tf2_eigen. Hotfix into main
Description
Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@Owen-Liuyuxuan
Sorry, as I understand, it is not the practice to directly apply a hotfix to the tier4/main branch.
Could you explain the reason for needing this hotfix?
@rej55
Please feel free to correct me if I am mistaken.

tier4/main will be synced with stable pilot-auto version.
The latest version v0.34.0, which includes this change, will be released soon.
@Owen-Liuyuxuan Could you wait for release v0.34.0?


[SERVER] Evaluate alternatives for AWS ALB, RDS, ElastiCache

Summary
I just realized the AWS Free Tier for these services is limited to 12 months. After this time, they cost the following amounts:

ALB: $16.43/mo
RDS: $11.68/mo
ElastiCache: $12.41/mo

We can find cheaper alternatives for the staging environment. These will remain free until September 2023, so there's no rush on this issue.
Note: Our usage of ECS, EC2, S3, CloudFront, KMS, and SSM Parameter Store are not subject to Free Tier expiration. They're either always free, or cost mitigation work has already been done. These will continue to total $6/mo.

For staging, EC2 Spot instance are a suitable replacement for RDS and ElastiCache.
AWS API Gateway may be a suitable ALB replacement for both staging and production, with costs under $2/mo.

More thoughts on this:

The simplest first pass here is moving Redis from ElastiCache to ECS. This will effectively cost $0.92/mo (half of a t4g.micro instance), but we'd benefit from the added instance anyway for things like graceful deployments. This will add about $9 in new costs over the next 10 months (when Free Tier expires), but will start saving nearly $11/mo after that point.
The above may require some API Gateway or CloudMap usage, which is free. If it does, we can roll some of the other work into this to get rid of the ALB early.
Postgres can go either way, really: stay on RDS, or move to ECS with persistent storage. Will enumerate advantages of each approach below.

Postgres via RDS advantages:

Less maintenance burden, easy upgrades, etc.

Postgres via ECS advantages:

Lower monthly cost: $1.96/mo vs $10.15/mo. Assumes ECS Spot instances, RDS reserved instances, 8GB of storage, and 1 snapshot.
Can use Spot instances for a 70% discount on compute.
Storage is $0.08/GB/mo instead of $0.115/GB/mo.
Snapshots are $0.05/GB/mo instead of $0.095/GB/mo.

Once a long-term plan for Postgres is in place, we can declare a "stable" environment with no data loss, e.g. promoting staging.duelyst.org to play.duelyst.org for a more general launch.

We moved from ElastiCache to Redis on ECS in #225.

Example using the rexray/ebs Docker plugin in ECS services: https://aws.amazon.com/blogs/compute/amazon-ecs-and-docker-volume-drivers-amazon-ebs/

The ECS + EBS stuff is outdated and generally does not work. For example, the rexray/ebs plugin hasn't been updated since 2019, and it fails on EC2 instances as a result of a change to the instance metadata API (see multiple open issues regarding rexray.sock connection failures). Going to stick with RDS instead.

Postgres can also run on regular EC2 without ECS:

On-demand t4g.micro is $6.13/mo
Spot t4g.micro is $1.84/mo
20GB EBS volume is $1.60/mo
20GB EBS snapshot is $1.00/mo

An on-demand DB with one backup would cost $8.73/mo.
A spot DB with one backup would cost $4.44/mo.
We could start with spot, and increase to on-demand if needed?


BUG: concatenate epochs almost equal times

I get an error when concatenating two epochs objects that have been decimated:
e.g.
epochs1 = mne.Epochs(raw1, events, tmin=-0.1, tmax=0.8, decim=15, preload=True)
epochs2 = mne.Epochs(raw2, events2, tmin=-0.1, tmax=0.8, decim=15, preload=True)
mne.concatenate_epochs((epochs1, epochs2))

raises
/home/jrking/mne-python/mne/epochs.pyc in _concatenate_epochs(epochs_list, with_data)
   2883         _compare_epochs_infos(epochs.info, info, ii)
   2884         if not np.array_equal(epochs.times, epochs_list[0].times):
-> 2885             raise ValueError('Epochs must have same times')
   2886
   2887         if epochs.baseline != baseline:

ValueError: Epochs must have same times

When checking the times they minimally differ:
ipdb> epochs.times[0]
-0.19500000000000001
ipdb> epochs_list[0].times[0]
-0.19499999999999998

I don't manage to replicate the error with the example, despite specifying the sfreq and times params.
I think the raise should be thrown on failed almost equal instead of an exact equal, WDYT?

yes replace with
np.allclose(epochs.times, epochs_list[0].times)
if this works for you. Open a PR


Uncaught TypeError: Cannot read property 'options' of undefined bootstrap-select.js:582

+1 I have this issue after updating from rails 4.1.8 to 4.2.0.

same issue.

See guidelines for contributing. Any chance you can link me to a demo or jsfiddle? Have you been able to reproduce this with a reduced test case?

I had this problem and found the source of it in my case: all my third-party libs were loaded twice (yes, that's awkward). Such a way bootstrap-select was "inited" twice and this broke it up

1.12.1 and error is still present

+1 same problem

number of the version ?
1.12.4 same problem

1.12.2 and error is still present


Optimize imports for extremely large history sizes for #168

Do you have any updates on this PR?*
Kind regards,
JM


Cherry pick thermomachine fix

We got the commit that introduced this bug but missed its fix.

What are the commits in question?

We only have the bottom commit, which introduced a bug the top one fixed

This overwrote a3968dbe9fd9dbee22a2059911287cd7658b1733. I will fix it.

Original commit re-picked in #1709


Cannot DELETE using custom route

GET and POST work fine with /api/electronics but DELETE /api/electronics/201 does not work even though DELETE /electronics/201 works fine.  Is this a version-dependent issue?

Could you please post more details!

I apologize for the ill-posed question. I have a simple sales.json like so:
{
"electronics": []
}
I setup r.json like so:
{
"/api/:resource/": "/:resource/"
}
and started json-server as such:
json-server sales.json -r r.json
I could POST and GET data pertaining to electronics with sales.json using the route /api/electronics successfully.
[
{
"product": "iPhone",
"Promotion": "Black Monday",
"id": 1
},
{
"product": "Fitbit",
"Promotion": "Black Friday",
"id": 2
},
{
"product": "Oculus",
"Promotion": "Year End Sales",
"id": 3
}
]
Json-server log shows when using DELETE to to try to delete a record, say /api/electronics/2
DELETE /api/electronics/2 404 2.916 ms - 2
However, using DELETE to delete the record, say /electronics/2 was successful with json-server log showing
DELETE /electronics/2 200 2.785 ms - 2
Any thoughts that I could try to make DELETE to work with custom route?

Hi @pmmaia
Now the problem is crystal clear.
all you need to do is add one more mapping rule to your r.json
{
"/api/:resource/": "/:resource/",
"/api/:resource/:id": "/:resource/:id"
}

Enjoy ;)

Of course, it works. Much appreciated!

Looks like this issue can be closed now, no @atgrid ?


Unsupported browser during OAuth flow

I am attempting to devlop a custom connector to retreive data from a web API.  My connector is using OAuth2 authentication.
During Visual Studio debugging I am prompted for credentials.  At this point I attempt to login to the API and complete the OAuth2 exchange.
The API is returning a page advising that my browser is unsupported.  Is there any way to specify an alternative browser for use during Visual Studio debugging sessions to work around this issue?

Ah, the joys of embedding Internet Explorer :/.
Unfortunately, the only way to control which version of IE is "embedded" is by modifying the registry and adding a key that affects the entire Visual Studio process. Doing so my well break other code inside VS which also embeds IE. Nevertheless, if you want to experiment with it you can search online for something like "control version of embedded Internet Explorer" and you will find what needs to be updated.
We know that we have an IE problem for OAuth which needs to be solved and that it's already causing us problems inside Excel (where we similarly can't just change the embedded version). We just haven't figured out yet exactly how we're going to do it.


bin/install-prereqs.sh does not install all required binaries

The https://github.com/istio/pilot/blob/master/bin/install-prereqs.sh does not install all required binaries, this caused the make lint failed even after I run bin/install-prereqs.sh.
We should enable bin/install-prereqs.sh install all required binaries.
root@pc002:~/go/src/istio.io/pilot# make lint
INFO: Analysed 55 targets (0 packages loaded).
INFO: Found 55 targets...

WARNING: exec: "lll": executable file not found in $PATH
WARNING: exec: "goconst": executable file not found in $PATH
WARNING: exec: "gotype": executable file not found in $PATH
WARNING: exec: "aligncheck": executable file not found in $PATH
WARNING: exec: "misspell": executable file not found in $PATH
WARNING: exec: "deadcode": executable file not found in $PATH
WARNING: exec: "ineffassign": executable file not found in $PATH
WARNING: exec: "megacheck": executable file not found in $PATH
WARNING: exec: "structcheck": executable file not found in $PATH
WARNING: exec: "unconvert": executable file not found in $PATH
WARNING: exec: "gas": executable file not found in $PATH
WARNING: exec: "varcheck": executable file not found in $PATH
Makefile:35: recipe for target 'lint' failed

it does but you need GOPATH/bin in your path and probably the lint target should add it

Thanks @ldemailly , it is working now. The GOPATH/bin was always in my PATH, but not clear why it failed at first time...
root@pc002:~/go/src/istio.io/pilot# make lint
INFO: Analysed 55 targets (0 packages loaded).
INFO: Found 55 targets...
INFO: Elapsed time: 16.102s, Critical Path: 3.63s
INFO: Build completed successfully, 5 total actions
++ find . -type f '(' -name BUILD -or -name WORKSPACE -or -wholename '.*bazel' -or -wholename '.*bzl' ')' -print
+ buildifier -showlog -mode=check ./proxy/envoy/BUILD ./proxy/BUILD ./tools/version/BUILD ./docker/BUILD ./adapter/config/ingress/BUILD ./adapter/config/memory/BUILD ./adapter/config/crd/BUILD ./adapter/config/aggregate/BUILD ./platform/eureka/BUILD ./platform/consul/BUILD ./platform/kube/inject/BUILD ./platform/kube/BUILD ./test/client/BUILD ./test/util/BUILD ./test/server/BUILD ./test/grpcecho/BUILD ./test/integration/BUILD ./test/mock/BUILD ./WORKSPACE ./model/test/BUILD ./model/BUILD ./BUILD ./cmd/pilot-agent/BUILD ./cmd/istioctl/BUILD ./cmd/pilot-discovery/BUILD ./cmd/BUILD ./cmd/sidecar-initializer/BUILD
./WORKSPACE # reformat callsort
++ getconf _NPROCESSORS_ONLN
+ NUM_CPU=2
+ gometalinter --concurrency=2 --enable-gc --deadline=300s --disable-all --enable=aligncheck --enable=deadcode --enable=errcheck --enable=gas --enable=goconst --enable=gofmt --enable=goimports --enable=golint --exclude=.pb.go --exclude=gen_test.go --enable=gotype --enable=ineffassign --enable=interfacer --enable=lll --line-length=120 --enable=megacheck --enable=misspell --enable=structcheck --enable=unconvert --enable=varcheck --enable=vet --enable=vetshadow ./...


Update 09-css-helpers.stories.mdx

Just a small typo "Shodow" -> "Shadow"
Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

:rocket: Welcome to Baloise ChatOps based GitOps Bot :tada:
- If you want to enable preview environments for this PullRequest, comment with `/preview`.
- If you want to disable the preview environment for this PR, comment with `/undeploy`.
- If you need help or want to see the docs, comment with `/help`.

Make sure to refresh this page after submitting a command.
Preview environments can be redeployed automatically if you enable the webhook for updates to the source branch. :new:

Have fun building awesome apps! :hammer:  :whale2:  :truck:  :ship:

@whvneo thank you for fixing that typo :-)


Update async clipboard api

What's changed, or what was fixed?

Added /web introducing the Asynchronous Clipboard API

Depends On: GoogleChrome/samples#571
Target Live Date: 2018-03-15

[ ] This has been reviewed and approved by (NAME)
[x] I have run gulp test locally and all tests pass.
[ ] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele @ebidel @garykac

@ebidel - sorry about that. I've gone through and made sure all the changes sync'd up.

@ebidel - once you're happy, please 'Squash and merge'

:tada: This has been pushed live to https://developers.google.com/web/