Add pointer writing to Poke.

Get memory size and write pointer block to target on Poke.
Currently not implemented.

Next version, on issue close:
-Added Poke for known, managed pointers. This will write the whole memory block as specified into another memory address. This will currently not work with externally allocated pointers.


Blank space in the generated URL

Hello,
From this line:
https://github.com/Shopify/ruby-lsp/blob/3242bf714ae4a52d9c1da00d3dbc85772ad94d4f/vscode/src/ruby.ts#L200
The generated error has an additional blankspace, hence the URL is not working

Failed to activate none environment: The Ruby LSP requires Ruby 3.0 or newer to run. This project is using 2.6.10. [See alternatives](https://github.com/Shopify/ruby-lsp/blob/main/vscode/README.md ?tab=readme-ov-file#ruby-version-requirement)

md ?tab
 `The Ruby LSP requires Ruby 3.0 or newer to run. This project is using ${this.rubyVersion}. \
        [See alternatives](https://github.com/Shopify/ruby-lsp/blob/main/vscode/README.md\
        ?tab=readme-ov-file#ruby-version-requirement)`,

Thank you for the bug report.


webpack/babel issue with npm module disposables:  Using removed Babel 5 option

BUG:
I'm using Webpack 3.x and Babel 5 to compile my react project for production. The build process fails as long as I'm using react-sortable-tree because of one of its dependencies called "disposables". That NPM package also has a issue raised: https://github.com/gaearon/disposables/issues/6
I think react-sortable-tree should replace that dependency as it is not even actively maintained.
Thrown error:
./node_modules/disposables/modules/index.js
Module build failed: ReferenceError: [BABEL] /project/node_modules/disposables/modules/index.js: Using removed Babel 5 option: /project/node_modules/disposables/.babelrc.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets

I had this same issue and found that it was my webpack configuration. I added the following into my webpack configuration file:
exclude: /(node_modules|bower_components)/,

My babel is configured to exclude all node modules except "uid-generator", which is in es6 and need to be transpiled to es5:
  {
    test: [/\.js$/],
    include: paths.appNodeModules,
    exclude: /node_modules\/(?![uid-generator])/,
    loader: 'babel-loader',
    options: {
      presets: ["env"]
    }
  },

@gaearon Thanks! I'm going to mark this as resolved


Expand support for Legend

Clear and concise description of the problem
👋
Looks like Legend is not fully supported yet. Props like layout or styles do not seem to work properly, maybe because this component renders a ul element?
Reproduction: https://stackblitz.com/edit/react-pdf-charts-starter-7rlqyq?file=src%2FApp.tsx
Suggested solution
The ideal solution would be to support the most common legend props layout, align, etc.
Additional context
No response

Adding support for layout="vertical" turns out to be surprisingly difficult. This is because recharts injects those styles as inline styles. If it was a class name instead, this would be a lot easier.
Unfortunately, <Legend> also doesn't provide any way to pass in a custom class, so the only way I think of working around this is via the chartStyle prop in react-pdf-charts.
So adding this would work:
const chartStyle = {
  'recharts-default-legend': {
    flexDirection: 'column',
    margin: 'auto',
  },
};

<ReactPDFChart chartStyle={chartStyle}>...</ReactPDFChart>

Like so: https://stackblitz.com/edit/react-pdf-charts-starter-emae4v?file=src%2FApp.tsx
Yes -- this is not ideal, but hopefully this gets you unblocked on your project.


Added try/catch to aid pip install

https://github.com/EliotBerriot/django-dynamic-preferences/issues/3

Thanks for the PR :)

It took some times, but I've published a new release to PyPi including your changes.

Great! Thanks!


Integrate melody-* packages into this project directly

This project depends on several melody-* packages that hasn't been updated for awhile. I don't think that forking and re-publishing those packages is not an ideal solution. Let's just import it directly into this project.

From dependencies graph above, we need to pull this packages:

melody-code-frame
melody-parser
melody-extension-core
melody-types
melody-traverse

I have to ask, is the purpose of this repo to have a continued development on a prettier plugin for melody? or was the original project an "almost there" solution for formatting twig templates and you want to use it as a starting point?
If it's the latter option, and you're looking to create a prettier plugin specifically for twig, and melody support isn't really critical, I have some thoughts.
I would have to say that the most salvageable parts of the original project would have to be the printer and the tests.
I do wonder if a project such as Twig lexer could potentially be a more suitable starting point for returning AST.
Not having worked within the melody framework I am just speculating, but it seems like each template is designed to have a .melody.twig file sitting alongside a .js file. The reason I believe that this is an important point is that the .melody.twig templates aren't supposed to have any kind of data manipulation going on, hence the absence of arrow functions in the parser.
Happy to move this to a discussion or discuss further on discord, but personally what I am looking for is a prettier plugin for twig files that makes no assumptions about the "flavor" of twig that your project is running, would  you be happy for this project to go in that direction?

To be honest, I don't even know how this project even works. All I want is a tool that would reformat twig in a consistent and sensible way. Unfortunately this is the only tools I found so far that fulfill my need.

I have to ask, is the purpose of this repo to have a continued development on a prettier plugin for melody? or was the original project an "almost there" solution for formatting twig templates and you want to use it as a starting point?

Personally I want to drop all melody stuff from this project and focus only on twig template. But at the same time I don't want to discredit the original project/author.

I would have to say that the most salvageable parts of the original project would have to be the printer and the tests.
I do wonder if a project such as Twig lexer could potentially be a more suitable starting point for returning AST.

parser, lexer, AST and such is a foreign concept to me. I have no idea how they work together. That's why there's not much activity on this project since I'm still learning.
By the way, are you interested to become maintainer of this project? Seems like you are more familiar on this topic than I do. Your contribution is greatly appreciated.

Happy to move this to a discussion or discuss further on discord, but personally what I am looking for is a prettier plugin for twig files that makes no assumptions about the "flavor" of twig that your project is running, would you be happy for this project to go in that direction?

I prefer discussing in the open forum like this, so everyone can participate or atleast see what has been discussed without creating yet another account.

Don't get too carried away this is all pretty foreign to me too. I have had about 3 shots at building a robust formatter for twig so far, but each time it's been too much to do on my own so happy to work through it with you. If you'd like me to help maintain the project I would be happy to, otherwise also happy to submit some PRs where I can.

Of couse I'm gonna stick around to make sure that this tool work properly since I'm use it daily. For now I've invite you as collaborator.
Don't feel burdened by this role. I just want to make sure that when I'm busy with other thing, there's someone who can takeover managing PR.

Thanks mate. If we are going down the path of targeting this directly at twig rather than melody. How do you feel about renaming the package to avoid confusion.
I would propose keeping some attribution in the README regarding the origins of a lot of the code so that the original author is still attributed.

Agree with package renaming, which means we need to publish as separate package. AFAIK we can't rename published package on npm. I'm not sure if we should publish the new package name as-is right now or wait until release 1.0.
I've setup milestone and enable discussion. But I'm not sure if it would be any different that using github issue. Maybe I'm not aware of different use case, never use it.


Reduce amount of information in player message?

The current message:
"Hi wegwe.
Last round you produced 0 and sold 0 baguettes. The demand was 75 baguettes. Your price was 10,17 kr. and the market average price was 10,17 kr. Your profit was 0,00 kr. Your current balance is 9,59 kr."
Perhaps all of this data is not necessary in the message as some of the data displayed elsewhere on the player page.

Når der kunne sælges flere produkter:
"Hi wegwe.
Last round you sold 78 of the 78 baguettes you produced. You could have sold 98 baguettes.
Your price was 0,00 kr. and the market average price was 10,17 kr."
Nårr der demand er mindre end antallet af baguetter der blev produceret:
"Hi wegwe.
Last round you sold 74 of the 78 baguettes you produced.
Your price was 0,00 kr. and the market average price was 10,17 kr."


autoclass worked for one module but not other modules

Details
the auto-documentation worked for one module but not other modules.  In the following project, I was trying to build documentation from dev branch. The autoclass worked nicely for the retinotopic_mapping.MonitorSetup module. But failed for retinotopic_mapping.StimulusRoutines and retinotopic_mapping.DisplayStimulus module with exact same structure.

Project URL: https://github.com/zhuangjun1981/retinotopic_mapping
Build URL (if applicable): https://readthedocs.org/projects/retinotopic-mapping/
Read the Docs username (if applicable): zhuangjun1981

Expected Result
auto class works for all three modules.
Actual Result
autoclass only works for one module but not the other two.

I can see that the only module having troubles is DisplayStimulus and there is a warning in the build process
WARNING: autodoc: failed to import class u'DisplaySequence' from module u'retinotopic_mapping.DisplayStimulus'; the following exception was raised:
No module named psychopy


Endless loop trying to create container

From Master latest:
INFO[0000] Authentication Credentials:
authurl: https://identity.api.rackspacecloud.com/v2.0/ (from default value)
username: <redacted> (from config file (profile: DEFAULT))
apikey: <redacted> (from config file (profile: DEFAULT))
region: IAD (from config file (profile: DEFAULT))

INFO[0000] Using token from cache: <redacted>

INFO[0000] Request URL: https://storage101.iad3.clouddrive.com/v1/MossoCloudFS_<redacted>/jpg

INFO[0000] Request URL: https://identity.api.rackspacecloud.com/v2.0/tokens

INFO[0001] Request URL: https://storage101.iad3.clouddrive.com/v1/MossoCloudFS_<redacted>/jpg

INFO[0001] Request URL: https://identity.api.rackspacecloud.com/v2.0/tokens

INFO[0002] Request URL: https://storage101.iad3.clouddrive.com/v1/MossoCloudFS_<redacted>/jpg

INFO[0002] Request URL: https://identity.api.rackspacecloud.com/v2.0/tokens

INFO[0003] Request URL: https://storage101.iad3.clouddrive.com/v1/MossoCloudFS_<redacted>/jpg

INFO[0003] Request URL: https://identity.api.rackspacecloud.com/v2.0/tokens

INFO[0004] Request URL: https://storage101.iad3.clouddrive.com/v1/MossoCloudFS_<redacted>/jpg

INFO[0004] Request URL: https://identity.api.rackspacecloud.com/v2.0/tokens

INFO[0005] Request URL: https://storage101.iad3.clouddrive.com/v1/MossoCloudFS_<redacted>/jpg

INFO[0006] Request URL: https://identity.api.rackspacecloud.com/v2.0/tokens

I ran the same command with Debug and it was getting a 401 unauthorized from the call to Cloud Files.

10 minutes later, and it appears to be transient. We should probably have a limit on number of attempts before giving up.

Updated to include the command I was executing.


Exams

Files 'except.js' and 'intersection.js' refactored.

forEach have very limited usage in clean code, you can safely use it just without outer structures mutations, for examle: connection.forEach((connection) => connection.close());


⚠ Samsung has degraded performance

In d6807a8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2412 ms

Resolved: Samsung performance has improved in aec0267.


Edit disk form components

closes #999

Coverage remained the same at 86.396% when pulling 17b0d2f30d47330d9426a45652034d67f536fdd5 on abemassry:edit-disk-form-components into 230f20868f167faa7d87f58e328eb49a4dec1b17 on linode:master.

Also closes #1057?

Not a bad PR, although I feel it could use an assembler, perhaps made in Haskell and nowhere near complete, if only we knew where to find something like that...

@eatonphil yes it closes that one as well

Coverage remained the same at 86.396% when pulling 88deb7a72d2da61bd6c7e22e91924b74437a5e07 on abemassry:edit-disk-form-components into 230f20868f167faa7d87f58e328eb49a4dec1b17 on linode:master.


Make the @yamada-ui/loading component headless

script: make-component-headless
package: @yamada-ui/loading
Description
Currently, the @yamada-ui/loading component has minimal styles set within the component's source code.
We want to make this style transferable to the theme and make the component headless, enabling more flexible UI customization.
Problem Statement/Justification
By making the @yamada-ui/loading component headless, we can achieve more flexible styling tailored to the project.
Proposed Solution or API
The styles within the component are mostly defined by css: CSSUIObject and set to a prop named __css. We will transfer these styles to the packages/theme/src/components.
The code below is just an example and not the actual code.
packages/components/input/src/input-group.tsx
const css: CSSUIObject = {
- width: "100%",
- display: "flex",
- position: "relative",
  ...styles.container,
}

packages/theme/src/components/input.ts
baseStyle: {
  container: {
+   width: "100%",
+   display: "flex",
+   position: "relative",
  },
  field: {
    width: "100%",
    minWidth: 0,
    outline: 0,
    position: "relative",
    appearance: "none",
    transitionProperty: "common",
    transitionDuration: "normal",
    _disabled: {
      opacity: 0.4,
      cursor: "not-allowed",
    },
  },
  element: {
    color: ["blackAlpha.600", "whiteAlpha.700"],
  },
},

[!TIP]
In cases where the styles within the component are dynamically changed, there may be instances where it is not possible to transfer the styles to the theme.
In such cases, it needs to be discussed in this issue. Please feel free to send comments to this issue.

Additional Information
The @yamada-ui/loading component exists in packages/components/loading/src. You need to check all the components in this folder and if they contain styles internally, you need to modify them.
This change could have a significant impact on projects using Yamada UI, so we will work on it within the scope of v2.0.
Please create the branch for working on this issue from the remote branch v2.0, and direct your pull requests to the v2.0 branch as well.
Please select major for the changeset and create a pull request.

@108yen
Can I try this issue?

Can I try this issue?

@yamada-ui/loading has no style internally.


Cannot use WebSocket Client due to constant disconnects (TZ-1191)

Checklist

[X] Checked the issue tracker for similar issues to ensure this is not a duplicate
[X] Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
[X] Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?
always
Expected behavior
WebSocket client's connection stays open for multiple minutes and is reused for sending multiple WebSocket messages
Actual behavior (suspected bug)
Every few seconds the client connection disconnects with this error:
E (83821) websocket_client: esp_transport_connect() failed with -1, transport_error=ESP_OK, tls_error_code=0, tls_flags=0, esp_ws_handshake_status_code=101, errno=119
I (83831) esp_ot_br: WEBSOCKET_EVENT_ERROR
E (83831) esp_ot_br: Last error HTTP status code: 0x65
E (83831) esp_ot_br: Last error reported from tls stack: 0xb33fffff
I (83841) websocket_client: Reconnect after 10000 ms
I (83841) esp_ot_br: WEBSOCKET_EVENT_DISCONNECTED
E (83841) esp_ot_br: Last error HTTP status code: 0x65

Error logs or terminal output
Detecting chip type... ESP32-S3
Running idf_monitor in directory **redacted**/esp/esp-thread-br/examples/basic_thread_border_router
Executing "**redacted**/.espressif/python_env/idf5.4_py3.12_env/bin/python **redacted**/esp/esp-idf/tools/idf_monitor.py -p /dev/cu.usbmodem**redacted** -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 **redacted**/esp/esp-thread-br/examples/basic_thread_border_router/build/esp_ot_br.elf -m '**redacted**/.espressif/python_env/idf5.4_py3.12_env/bin/python' '**redacted**/esp/esp-idf/tools/idf.py'"...
--- esp-idf-monitor 1.5.0 on /dev/cu.usbmodem**redacted** 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x40048de8
--- 0x40048de8: uart_rx_readbuff in ROM

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1874
load:0x403c8700,len:0x4
load:0x403c8704,len:0xc80
load:0x403cb700,len:0x2eb0
entry 0x403c8914
I (26) boot: ESP-IDF v5.4-dev-3201-g46acfdce96 2nd stage bootloader
I (27) boot: compile time Sep 29 2024 10:50:35
I (27) boot: Multicore bootloader
I (27) boot: chip revision: v0.2
I (27) boot: efuse block revision: v1.3
I (28) boot.esp32s3: Boot SPI Speed : 80MHz
I (28) boot.esp32s3: SPI Mode       : DIO
I (28) boot.esp32s3: SPI Flash Size : 4MB
I (28) boot: Enabling RNG early entropy source...
I (28) boot: Partition Table:
I (29) boot: ## Label            Usage          Type ST Offset   Length
I (29) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (29) boot:  1 otadata          OTA data         01 00 0000f000 00002000
I (30) boot:  2 phy_init         RF data          01 01 00011000 00001000
I (30) boot:  3 ota_0            OTA app          00 10 00020000 00190000
I (31) boot:  4 ota_1            OTA app          00 11 001b0000 00190000
I (31) boot:  5 web_storage      Unknown data     01 82 00340000 00019000
I (32) boot:  6 rcp_fw           Unknown data     01 82 00359000 000a0000
I (32) boot: End of partition table
I (32) esp_image: segment 0: paddr=00020020 vaddr=3c0d0020 size=4c638h (312888) map
I (88) esp_image: segment 1: paddr=0006c660 vaddr=3fc95800 size=0330ch ( 13068) load
I (91) esp_image: segment 2: paddr=0006f974 vaddr=40374000 size=006a4h (  1700) load
I (92) esp_image: segment 3: paddr=00070020 vaddr=42000020 size=c0764h (788324) map
I (231) esp_image: segment 4: paddr=0013078c vaddr=403746a4 size=110dch ( 69852) load
I (247) esp_image: segment 5: paddr=00141870 vaddr=600fe100 size=00018h (    24) load
I (254) boot: Loaded app from partition at offset 0x20000
I (254) boot: Disabling RNG early entropy source...
I (255) cpu_start: Multicore app
I (264) cpu_start: Pro cpu start user code
I (264) cpu_start: cpu freq: 160000000 Hz
I (264) app_init: Application information:
I (265) app_init: Project name:     esp_ot_br
I (265) app_init: App version:      v1.0-88-g34812fe-dirty
I (265) app_init: Compile time:     Sep 29 2024 11:19:10
I (266) app_init: ELF file SHA256:  cdde91be4...
I (266) app_init: ESP-IDF:          v5.4-dev-3201-g46acfdce96
I (266) efuse_init: Min chip rev:     v0.0
I (266) efuse_init: Max chip rev:     v0.99
I (266) efuse_init: Chip rev:         v0.2
I (267) heap_init: Initializing. RAM available for dynamic allocation:
I (267) heap_init: At 3FCA63A8 len 00043368 (268 KiB): RAM
I (267) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (268) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (268) heap_init: At 600FE118 len 00001ED0 (7 KiB): RTCRAM
I (269) spi_flash: detected chip: gd
I (269) spi_flash: flash io: dio
W (269) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (270) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (271) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (271) main_task: Started on CPU0
I (281) main_task: Calling app_main()
I (331) RCP_UPDATE: RCP: using update sequence 0
I (331) uart: ESP_INTR_FLAG_IRAM flag not set while CONFIG_UART_ISR_IN_IRAM is enabled, flag updated
I (331) OPENTHREAD: spinel UART interface initialization completed
I (331) main_task: Returned from app_main()
I(341) OPENTHREAD:[I] P-SpinelDrive-: co-processor reset: RESET_POWER_ON
E(341) OPENTHREAD:[C] P-SpinelDrive-: Software reset co-processor successfully
I(381) OPENTHREAD:[I] ChildSupervsn-: Timeout: 0 -> 190
I(391) OPENTHREAD:[I] Settings------: Read NetworkInfo {rloc:0xa800, extaddr:92fd023a0467599b, role:leader, mode:0x0f, version:5, keyseq:0x0, ...
I(401) OPENTHREAD:[I] Settings------: ... pid:0x52639581, mlecntr:0x7d8, maccntr:0x7d0, mliid:bf9006afdc475e59}
I (411) esp_ot_br: Internal RCP Version: openthread-esp32/8e4454b285-f32c18bc0; esp32h2;  2024-08-09 14:34:53 UTC
I (411) esp_ot_br: Running  RCP Version: openthread-esp32/8e4454b285-f32c18bc0; esp32h2;  2024-08-09 14:34:53 UTC
I (411) OPENTHREAD: OpenThread attached to netif
> I (441) esp_eth.netif.netif_glue: 48:ca:43:06:de:d3
I (441) esp_eth.netif.netif_glue: ethernet attached to netif
I (451) ethernet_connect: Waiting for IP(s).
> I (2451) ethernet_connect: Ethernet Link Up
I (3451) esp_netif_handlers: example_netif_eth ip: **redacted**, mask: <IP_ADDRESS>, gw: **redacted**
I (3451) ethernet_connect: Got IPv4 event: Interface "example_netif_eth" address: **redacted**
I (4331) ethernet_connect: Got IPv6 event: Interface "example_netif_eth" address: fe80:0000:0000:0000:4aca:43ff:fe06:ded3, type: ESP_IP6_ADDR_IS_LINK_LOCAL
I(4331) OPENTHREAD:[N] RoutingManager: BR ULA prefix: fd65:a53:7c64::/48 (loaded)
I(4341) OPENTHREAD:[N] RoutingManager: Local on-link prefix: fdde:ad00:beef:cafe::/64
I (4351) OPENTHREAD: Platform UDP bound to port 49153
I(4351) OPENTHREAD:[N] Mle-----------: Role disabled -> detached
I (4371) OT_STATE: netif up
I (4371) OPENTHREAD: NAT64 ready
I (4381) esp_ot_br: Network interface name: en2
I (4381) esp_ot_br: Connecting to wss://echo.websocket.events...
W (4381) websocket_client: `reconnect_timeout_ms` is not set, or it is less than or equal to zero, using default time out 10000 (milliseconds)
W (4391) websocket_client: `network_timeout_ms` is not set, or it is less than or equal to zero, using default time out 10000 (milliseconds)
E (4391) OT_DNS64: Cannot find NAT64 prefix
E (4391) esp-tls: couldn't get hostname for :echo.websocket.events: getaddrinfo() returns 202, addrinfo=0
E (4391) esp-tls: Failed to open new connection
E (4391) transport_base: Failed to open a new connection
E (4391) transport_ws: Error connecting to host echo.websocket.events:443
E (4401) websocket_client: esp_transport_connect() failed with -1, transport_error=ESP_ERR_ESP_TLS_CANNOT_RESOLVE_HOSTNAME, tls_error_code=0, tls_flags=0, esp_ws_handshake_status_code=0, errno=0
I (4401) esp_ot_br: WEBSOCKET_EVENT_ERROR
I (4401) websocket_client: Reconnect after 10000 ms
I (4401) esp_ot_br: WEBSOCKET_EVENT_DISCONNECTED
E (4401) esp_ot_br: Last error reported from esp-tls: 0x8001
E (4401) esp_ot_br: Last error reported from tls stack: 0x3fcb6564
I (5331) OPENTHREAD: Received RIO
I (5331) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

I (5441) OPENTHREAD: Received RIO
I (5441) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (5451) OPENTHREAD: Multicast listener add: FF05::2
I (5521) OPENTHREAD: Received RIO
I (5521) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (5551) OPENTHREAD: Received RIO
I (5551) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (5641) OPENTHREAD: Received RIO
I (5641) OPENTHREAD: prefix FD33:2DFB:12CA:1:: lifetime 1800

I (5751) OPENTHREAD: Received RIO
I (5751) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (5751) OPENTHREAD: Multicast listener add: FF05::2
I (6651) OPENTHREAD: Multicast listener add: FF05::2
I (7331) ethernet_connect: Got IPv6 event: Interface "example_netif_eth" address: fd69:d7d7:61ad:eaad:4aca:43ff:fe06:ded3, type: ESP_IP6_ADDR_IS_UNIQUE_LOCAL
I (9471) OPENTHREAD: Received RIO
I (9471) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

I (13811) OPENTHREAD: Received RIO
I (13811) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

E (14411) OT_DNS64: Cannot find NAT64 prefix
E (14411) esp-tls: couldn't get hostname for :echo.websocket.events: getaddrinfo() returns 202, addrinfo=0
E (14411) esp-tls: Failed to open new connection
E (14411) transport_base: Failed to open a new connection
E (14411) transport_ws: Error connecting to host echo.websocket.events:443
E (14411) websocket_client: esp_transport_connect() failed with -1, transport_error=ESP_ERR_ESP_TLS_CANNOT_RESOLVE_HOSTNAME, tls_error_code=0, tls_flags=0, esp_ws_handshake_status_code=0, errno=0
I (14421) esp_ot_br: WEBSOCKET_EVENT_ERROR
E (14421) esp_ot_br: Last error reported from esp-tls: 0x8001
E (14421) esp_ot_br: Last error reported from tls stack: 0x3fcbb550
I (14421) websocket_client: Reconnect after 10000 ms
I (14421) esp_ot_br: WEBSOCKET_EVENT_DISCONNECTED
E (14421) esp_ot_br: Last error reported from tls stack: 0x3fcb6564
I (18081) OPENTHREAD: Received RIO
I (18081) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

E (29421) OT_DNS64: Cannot find NAT64 prefix
E (29421) esp-tls: couldn't get hostname for :echo.websocket.events: getaddrinfo() returns 202, addrinfo=0
E (29421) esp-tls: Failed to open new connection
E (29421) transport_base: Failed to open a new connection
E (29421) transport_ws: Error connecting to host echo.websocket.events:443
E (29421) websocket_client: esp_transport_connect() failed with -1, transport_error=ESP_ERR_ESP_TLS_CANNOT_RESOLVE_HOSTNAME, tls_error_code=0, tls_flags=0, esp_ws_handshake_status_code=0, errno=0
I (29431) esp_ot_br: WEBSOCKET_EVENT_ERROR
E (29431) esp_ot_br: Last error reported from esp-tls: 0x8001
E (29431) esp_ot_br: Last error reported from tls stack: 0x3fcbb550
I (29431) websocket_client: Reconnect after 10000 ms
I (29431) esp_ot_br: WEBSOCKET_EVENT_DISCONNECTED
E (29431) esp_ot_br: Last error reported from tls stack: 0x3fcb6564
I(30651) OPENTHREAD:[N] Mle-----------: RLOC16 a800 -> fffe
I(30961) OPENTHREAD:[N] Mle-----------: Attach attempt 1, AnyPartition reattaching with Active Dataset
I(37521) OPENTHREAD:[N] RouterTable---: Allocate router id 42
I(37521) OPENTHREAD:[N] Mle-----------: RLOC16 fffe -> a800
I(37521) OPENTHREAD:[N] Mle-----------: Role detached -> leader
I(37531) OPENTHREAD:[N] Mle-----------: Partition ID 0x6cdb7184
I (37541) OPENTHREAD: Platform UDP bound to port 49154
I (38131) OPENTHREAD: Received RIO
I (38131) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

I (38311) OPENTHREAD: Received RIO
I (38321) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (38321) OPENTHREAD: Multicast listener add: FF05::2
I (38411) OPENTHREAD: Received RIO
I (38411) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (38431) OPENTHREAD: Received RIO
I (38431) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (38651) OPENTHREAD: Received RIO
I (38651) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (38701) OPENTHREAD: Received RIO
I (38701) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (38701) OPENTHREAD: Multicast listener add: FF05::2
I (39361) OPENTHREAD: Multicast listener add: FF05::2
I (40201) OPENTHREAD: Platform UDP bound to port 53536
I (40201) OPENTHREAD: Platform UDP bound to port 49155
I (41681) OT_STATE: Set dns server address: FD65:A53:7C64:2::101:101
I (42221) OPENTHREAD: Received RIO
I (42221) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (42231) OPENTHREAD: Multicast listener add: FF05::2
I (42261) OPENTHREAD: Received RIO
I (42271) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (42271) OPENTHREAD: Received RIO
I (42271) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

I (42491) OPENTHREAD: Received RIO
I (42491) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (42611) OPENTHREAD: Received RIO
I (42611) OPENTHREAD: prefix FD32:C77E:51A7:1:: lifetime 1800

I (42631) OPENTHREAD: Received RIO
I (42631) OPENTHREAD: prefix FD33:2DFB:12CA:1:: lifetime 1800

I (43011) OPENTHREAD: Multicast listener add: FF05::2
I (44771) esp-x509-crt-bundle: Certificate validated
I (46161) esp_ot_br: WEBSOCKET_EVENT_CONNECTED
I (47191) OPENTHREAD: Received RIO
I (47191) OPENTHREAD: prefix FD33:2DFB:12CA:1:: lifetime 1800

I (50261) esp_ot_br: WEBSOCKET_EVENT_DATA
I (50261) esp_ot_br: Received opcode=1
W (50261) esp_ot_br: Received=echo.websocket.events sponsored by Lob.com
W (50271) esp_ot_br: Total payload length=42, data_len=42, current payload offset=0

I (50271) esp_ot_br: WEBSOCKET_EVENT_DATA
I (50271) esp_ot_br: Received opcode=10
W (50271) esp_ot_br: Received=
W (50281) esp_ot_br: Total payload length=0, data_len=0, current payload offset=0

I (51451) OPENTHREAD: Received RIO
I (51451) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

I (54401) esp_ot_br: Successfully sent message
I (55151) esp_ot_br: WEBSOCKET_EVENT_DATA
I (55151) esp_ot_br: Received opcode=2
W (55161) esp_ot_br: Received=
W (55161) esp_ot_br: Total payload length=50, data_len=50, current payload offset=0

E (62721) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 54
E (62721) websocket_client: esp_transport_poll_read() returned -1, transport_error=ESP_OK, tls_error_code=0, tls_flags=0, errno=119
I (62721) esp_ot_br: WEBSOCKET_EVENT_ERROR
I (62731) websocket_client: Reconnect after 10000 ms
I (62731) esp_ot_br: WEBSOCKET_EVENT_DISCONNECTED
E (62731) esp_ot_br: Last error reported from tls stack: 0xb33fffff
E (62741) esp_ot_br: Last error captured as transport's socket errno: 0x71
I (73051) esp-x509-crt-bundle: Certificate validated
E (83821) transport_ws: Error read response for Upgrade header GET / HTTP/1.1
Connection: Upgrade
Host: echo.websocket.events:443
User-Agent: ESP32 Websocket Client
Upgrade: websocket
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: **redacted**

E (83821) websocket_client: esp_transport_connect() failed with -1, transport_error=ESP_OK, tls_error_code=0, tls_flags=0, esp_ws_handshake_status_code=101, errno=119
I (83831) esp_ot_br: WEBSOCKET_EVENT_ERROR
E (83831) esp_ot_br: Last error HTTP status code: 0x65
E (83831) esp_ot_br: Last error reported from tls stack: 0xb33fffff
I (83841) websocket_client: Reconnect after 10000 ms
I (83841) esp_ot_br: WEBSOCKET_EVENT_DISCONNECTED
E (83841) esp_ot_br: Last error HTTP status code: 0x65
I (94231) esp-x509-crt-bundle: Certificate validated
I (95641) esp_ot_br: WEBSOCKET_EVENT_CONNECTED
I (95671) esp_ot_br: WEBSOCKET_EVENT_DATA
I (95671) esp_ot_br: Received opcode=1
W (95671) esp_ot_br: Received=echo.websocket.events sponsored by Lob.com
W (95671) esp_ot_br: Total payload length=42, data_len=42, current payload offset=0

**redacted**@**redacted** ~/e/e/e/basic_thread_border_router (websocket-client-disconnects)>

Steps to reproduce the behavior
See https://github.com/espressif/esp-thread-br/pull/104 which replicates the issue.  I have also reproduced the issue in a normal codebase (not the Thread Boarded Route codebase) and confirmed the issue does not occur there
Project release version
unreleased master
System architecture
ARM 64-bit (Apple M1/M2, Raspberry Pi 4/5)
Operating system
MacOS
Operating system version
Sonoma
Shell
Fish
Additional context
No response

@simondean Could you remove this line: https://github.com/espressif/esp-thread-br/blob/main/examples/common/thread_border_router/src/border_router_launch.c#L171, and try again? The issue seems caused by the default netif configuration.

Hi.  I've just checked and it still happens if I remove this line:
    ESP_ERROR_CHECK(esp_netif_set_default_netif(openthread_netif));

Log output with line removed (same output as with line in place):
I (218429) esp_ot_br: WEBSOCKET_EVENT_CONNECTED
I (222289) esp_ot_br: WEBSOCKET_EVENT_DATA
I (222289) esp_ot_br: Received opcode=1
W (222289) esp_ot_br: Received=echo.websocket.events sponsored by Lob.com
W (222289) esp_ot_br: Total payload length=42, data_len=42, current payload offset=0

I (222309) esp_ot_br: WEBSOCKET_EVENT_DATA
I (222309) esp_ot_br: Received opcode=10
W (222309) esp_ot_br: Received=
W (222309) esp_ot_br: Total payload length=0, data_len=0, current payload offset=0

I (224439) esp_ot_br: Successfully sent message
I (234469) esp_ot_br: Successfully sent message
E (235299) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 54
E (235299) websocket_client: esp_transport_poll_read() returned -1, transport_error=ESP_OK, tls_error_code=0, tls_flags=0, errno=119
I (235299) esp_ot_br: WEBSOCKET_EVENT_ERROR
E (235299) esp_ot_br: Last error HTTP status code: 0x65
I (235299) websocket_client: Reconnect after 10000 ms
I (235309) esp_ot_br: WEBSOCKET_EVENT_DISCONNECTED
E (235309) esp_ot_br: Last error HTTP status code: 0x65
E (235309) esp_ot_br: Last error captured as transport's socket errno: 0x71
I (240319) OPENTHREAD: Received RIO
I (240319) OPENTHREAD: prefix FD84:C890:3B8C:: lifetime 1800

@simondean Do you have any update on the issue?
The logs didn't indicate any issue related to the BR feature, but some websocket issue, you can double check it using a Wi-Fi only device.


Render placeholder icons + metadata for file attachments in posts list

Summary
Render placeholder icons + metadata for file attachments in posts list
Ticket Link
https://github.com/mattermost/mattermost-mobile/issues/119
Checklist

[x] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to the drivers
[x] Has UI changes
[ ] Includes text changes and localization file updates

@hmhealey I think I've addressed all of your comments. Let me know if I need to handle those legacy posts (that lack file_ids).


Sports tracker

Hello, I don't know if there is any sports api to get info, but I think would be nice to have the option to set sports events marked as watch, or adding to the watchlist, etc. For example, mark as watched a F1 race, or one football match. I think it has sense to have tracking of those events since they are similar to TV Shows.

While there are many sports API, i feel like sports events tracker would be too complicated to include it in MediaTracker, and deserves dedicated application. There are a lot of different sports, from many countries, it would require using a lot of different APIs. There are also challenges, like you may wont to add to watchlist only football matches with specific player or only World Cup, or a league, and it would be to complex to maintain it all.
However, I think there is a good compromise: custom source from RSS or iCalendar with Regex matches.
For example https://www.f1calendar.com/ offers iCalendar with F1 races, and there are many websites with Football calendars and other sports.
YouTube also provides RSS feed with videos from a channel.

There is thesportsdb tho.
Not too sure how to navigate tracking sporting events from that but I guess using the apps that has the sports you like on there will do


Update backend and rework rendering pipeline

[x] Update QEMU to v7.1.0
[x] Workaround https://gitlab.com/qemu-project/qemu/-/issues/1391
[x] Update ANGLE and virglrenderer
[x] Fix deadlock caused by gstosxaudio
[x] Fix crash from GL_DRAW_COOKIE_INVALID error
[x] Fix memory leak with ANGLE Metal backend
[x] Workaround https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20380 and https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1006
[x] Disable GL error check in virglrenderer to prevent lockups due to unsupported features
[x] Rework CSRenderer to sync up better with GL texture from the QEMU process. This will make graphics feel more smooth.

Fixes #3053
Fixes #3060
Fixes #3519
Fixes #4449
Fixes #4722

Validation testing by running SuperTuxKart for 2 hours without crashing:

[ ] Intel Mac with OpenGL ANGLE
[ ] Intel Mac with Metal ANGLE
[ ] M1 Mac with OpenGL ANGLE
[ ] M1 Mac with Metal ANGLE
[ ] iPhone (emulation) with Metal ANGLE
[ ] M1 iPad Pro (virtualization) with Metal ANGLE

Is there OpenGL 3.2 or whatever is needed by SuperTuxKart available? Or is it just running with broken rendering?

It’s definitely not fully rendering (like I don’t think shadow maps are working). But I’m more interested in not crashing the VM then all 3D graphics are working.

iPad ran overnight without crashing or going out of memory :)

@osy & @ktprograms, I was able to get SuperTuxKart also working on my M1 iPad Pro.
SuperTuxKart warned that OpenGL 3.x was not available and may have decreased performance but seemed to allow running on OpenGL 2.x and did not crash.
However, I'd still be concerned there might be a memory leak with the metal backend. I tried to run glxgears using the same setup, and it would run for a second or two and then UTM would crash. While glxgears did run, it ran very smoothly. Perhaps glxgears is using some OpenGL calls that SuperTuxKart is not. Yet, if UTM crashes with GL-acceleration on glxgears, I'd be concerned that it might crash on some other basic GL-accelerated programs not yet tested.
Can anyone else confirm whether they can run glxgears on UTM without it crashing? I apologize but for some reason my UTM won't produce a debug file after the crash for me to export for review.
The system I tested it on was:
M1 iPad Pro
UTM v.4.1.3 pre-release
ARM64
3G ram allocated to VM
Debian 11 LDXE from the UTM gallery
Display: virtio-gpu-gl-pci and virtio-ramfb-gl both similarly crash
(Of note, I also tested glxgears on two other debian-based distributions x86-64 distros [Sparkylinux & antiX], and they similarly crashed with glxgears)
glxgears is available in Debian 11 by the mesa-utils pkg in the Debian repository
Fyi


Bug in History request for Tick data of Future

Expected Behavior
This 3 History requests for Tick data should return same number of Tick data for Future

History(Symbol, start, end, Resolution.Tick)
History[Tick](Symbol, start, end, Resolution.Tick)
History(Tick, Symbol, start, end, Resolution.Tick)

Actual Behavior
When requesting Tick data for Future, only the first History request History(Symbol, start, end, Resolution.Tick) returns data
The second and third History request returns empty or a few unrelated data point.
Reproducing the Problem
Run below code on research environment in Algorithm Lab:
qb.SetStartDate(2020, 6, 4)
future = qb.AddFuture(Futures.Currencies.EUR, Resolution.Minute)
contract_symbols = sorted(qb.FutureChainProvider.GetFutureContractList(future.Symbol, qb.Time), key=lambda symbol: symbol.ID.Date)
contract = contract_symbols[0]
qb.AddFutureContract(contract_symbols[0])

end_time = datetime(2020, 6, 3, 11, 0, 0)
start_time = end_time - timedelta(days=1)
ticks_df_tick_in_first_argument = qb.History(Tick, contract, start_time, end_time, Resolution.Tick)
ticks_obj = qb.History[Tick](contract, start_time, end_time, Resolution.Tick)
ticks_df = qb.History(contract, start_time, end_time, Resolution.Tick)

print('length of tick dataframe:' + str(len(ticks_df)))
print('length of tick dataframe with Tick in first argument:' + str(len(ticks_df_tick_in_first_argument)))
print('length of tick object list:' + str(len([t for t in ticks_obj])))

// The output is:
// length of tick dataframe:856834
// length of tick dataframe with Tick in first argument:3
// length of tick object list:3

The History request History(Symbol, start, end, Resolution.Tick) returns 856834 data points. The other returns 3 data points, which are all Open Interest instead of Trade or Quote, see image below:

Also tried different future like Futures.Indices.SP500EMini, as well as different time range 2024-03-06 11:00:00 - 2024-03-07 11:00:00. The issue consists for multiple Futures and multiple time range:

To make the second and third History request return more data, the future should be added at Tick resolution qb.AddFutureContract(contract_symbols[0], Resolution.Tick)
However, even after that the number of tick data still mismatch:

This issue not exist in Equity, take SPY for example. SPY are added at Minute resolution and 3 History call returns same amount Tick data:

System Information
Algorithm Lab
Checklist

[ x] I have completely filled out this template
[ x] I have confirmed that this issue exists on the current master branch
[ x] I have confirmed that this is not a duplicate issue by searching issues

[ x] I have provided detailed steps to reproduce the issue

Tested Crypto. Looks like Crypto also don't have this issue:

Looks like issue only happens to Future.

Hey @scloudyy! Thank you for the detail report, we will check it out when we have a chance


Show hidden folder if yazi was opened in a subdirectory

Is your feature request related to a problem? Please describe
I opened yazi within a .config subdirectory (using stow so e.g. progam/.config/program) and of course since hidden files weren't being shown, trying to navigate backwards had an empty column where the .config directory would be.
This is very minor and I will personally just keep hidden files shown all the time, but for a minute there I was confused when first using the program.
Will you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
Would it be possible to show a hidden directory, if yazi was opened in a subdirectory? This would allow navigating away and back to the original cwd, even if it is a subdirectory of a hidden folder, and avoid having an empty column.
Describe alternatives you've considered
No response
Additional context
No response

Can't you just hit "." to show hidden files or does it not work in subdirectories?

Yeah probably (I just have it show hidden files by default now), I only opened this cause I was confused the first time I used Yazi but it's by no means necessary

I do think it would be nice to see the current directory in the left pane even if it is a hidden one (and hidden files are turned off). I've also occasionally been a bit confused briefly by this, especially when I've wanted to go to the parent directory for a moment to check something and then back again.


stm32: RTC fix DoW range off-by-one error

Unsure if this is true for other chips, but for the stm32f2 RTC, the weekday units field is between 0b001 and 0b111.
Always fun to find a bug that only happens on a Sunday :upside_down_face:.

Nice catch. Same on stm32wl


 We need to make sure these failures were not caused by these changes.

@tokers there is no code changes....


Use python3 to run tests

Move the conditional checks to @pytest.mark.skipif to avoid duplicating codes to skip certain tests.

Moving to python3 to run tests. plus some few changes to how we conditionally disable test.

I like this PR but it is mixed with the work on containerd 1.3.

I will close this one and send a new pr without the containerd changes.


Special case for tuples in Draft

Fixes #215
Tuples need to be wrapped with DraftObject instead of DraftArray. Otherwise, I cannot assign a Draft<T> to a function expecting a T.
edit: This also fixes Draft<ReadonlyArray<any>> not resolving to DraftArray<any>

In Typescript 3.1, we can replace all the Draft types with just:
export type Draft<T> = {-readonly [P in keyof T]: Draft<T[P]>}; since they added mapped types for tuples and arrays .

The typescript version that Immer depends on has been incorrect since the Draft type was added, because -readonly is not supported in TypeScript v2.7 and under.
It's probably best to not use typesVersions and just upgrade the typescript dependency to the minimum version that fits Immer's needs.

The final solution:

turns Draft<[1]> into [1]
fixes using Draft<T> with functions, RegExp objects, dates, and boxed primitives
has no need for typesVersions 🎉

We'll simplify IsFinite out in Immer v2.


Configure nightly-core env

The nightly-core env will use the bravo realm of the https://openam-sapig-nightly.forgeblocks.com/ tenant.
Platform config tasks:

Update sapig-overlay/core to move realm specific config to the bravo realm
Configure fr-config-manager to create the following objects in the bravo realm

users
OAuth2 agents

k8s config tasks:

Create core-deployment-config for nightly

Set AM_REALM to bravo
Set USER_OBJECT to bravo_user

nightly specific ingress configuration specifying the bravo realm in AM URLs

All of the above has been completed throughout various tickets throughout the week
Once the oauth2-agents.json issue is sorted (not a blocker but nice to have) we can spin up a nightly-core and see what is what


fix unstable test case test_pending_peers

Signed-off-by: qupeng<EMAIL_ADDRESS>What problem does this PR solve?
fix unstable test case test_pending_peers.
Close #10512 .
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

No code

Side effects
Release note
None

/merge


[C++][Parquet] Upgrade default Thrift in thirdparty toolchain to 0.9.3 or 0.10

Thrift 0.9.3 and higher supports CMake, so this may simplify the external project setup
Reporter: Wes McKinney / @wesm
Assignee: Julien Lafaye](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jlafaye)
Note: This issue was originally created as PARQUET-849. Please see the migration documentation for further details.

Wes McKinney / @wesm:
Issue resolved by pull request 255
https://github.com/apache/parquet-cpp/pull/255


add rkyv support

Should be good to merge now... Wish I could run the workflows to make sure though :)

I've been using nightly this whole time to test! So that's why it kept erroring...
Doing some more testing with an older version of rust (1.42). I'm getting edition conflicts (hashbrown updated in v0.12 to edition 2021) so I don't think this PR will be possible if num-complex stays at edition 2018.
On that note: Is it really necessary to continue to support such an old edition of rust? It seems like the supermajority of popular crates don't continue to support before 1.56 (https://lib.rs/stats) due to either edition 2021, or like in rkyv's case, a broken dependency.

MSRV is a hot topic that I don't really want to dig into here... For now, I just want to make sure that the existing features continue to work. I don't mind if an optional dependency (like rkyv) carries a greater Rust requirement, because that moves the conversation to rkyv and its users.
For example, the CI matrix includes 1.36 for rand base support, and ci/test_full.sh filters on that to enable the feature.

I don't think this PR will be possible if num-complex stays at edition 2018.

Note that mixed editions are fine between crates -- num-complex can be on 2018 while other crates are on 2021, as long as the toolchain is new enough for all those that are activated in the build.

Wait nvm, hashbrown is an optional dependency, so I should be able to disable that when compiling dev-dependencies.
MSRV for rkyv (after some testing effort) is 1.54, so I will add that to the CI files. Hopefully it works this time!


Error when starting demo challenge

I am trying to start the demo pwn challenge but I am getting this error.
The push refers to repository [eu.gcr.io/ctf-infra-test/demo-pwn-chal-challenge] Get "https://eu.gcr.io/v2/": dial tcp [2607:f8b0:400c:c02::52]:443: connect: cannot assign requested address [E] command returned 1
Sometimes I do not get the error, and it seems like it worked, but I still cannot connect to the challenge.
Not sure what it means, or if it is related to not being able to connect to it.
I have been following the kCTF Infrastructure Walkthrough.
Thanks for any help.

Hmm, that is weird. It sounds like you might have run out of local ports?
Does the problem persist after a reboot?

Hmm, that is weird. It sounds like you might have run out of local ports?
Does the problem persist after a reboot?

I was doing this on the Google Cloud Shell

hmm so the DNS is not working?

When i do not get that error, I am able to connect using the IP but I get that error sometimes and the challenge fails to start.

I do believe that the "cannot assign requested address" is a problem with the VM itself. I.e. man connect says:
EADDRNOTAVAIL
              (Internet domain sockets) The socket referred to by sockfd
              had not previously been bound to an address and, upon
              attempting to bind it to an ephemeral port, it was
              determined that all port numbers in the ephemeral port
              range are currently in use.  See the discussion of
              /proc/sys/net/ipv4/ip_local_port_range in [ip(7)](https://man7.org/linux/man-pages/man7/ip.7.html).

That being said, I don't know why the connection doesn't work in the cases where you don't get an error. Can you check kctf chal status to see if the challenge is running properly?

Here is the output of kctf chal status
cscexec_wpi@cloudshell:~/kctf-test/demo-pwn-chal (ctf-infra-test)$ kCTF[ctf=kctf-test,config=remote-cluster,chal=demo-pwn-chal] > kctf chal status
= CHALLENGE RESOURCE =

NAME            HEALTH     STATUS    DEPLOYED   PUBLIC
demo-pwn-chal   disabled   Running   true       true

= INSTANCES / PODs =

Challenge execution status
This shows you how many instances of the challenges are running.

NAME                             READY   STATUS       RESTARTS   AGE   IP          NODE                                          NOMINATED NODE   READINESS GATES
demo-pwn-chal-7c87559d56-njp2b   1/1     Running      0          18h   <IP_ADDRESS>   gke-kctf-cluster-default-pool-cfe86287-1pbq   <none>           <none>
demo-pwn-chal-7c87559d56-zttpb   0/1     Terminated   0          42h   <none>      gke-kctf-cluster-default-pool-cfe86287-sfzh   <none>           <none>

= DEPLOYMENTS =

Challenge deployment status
This shows you if the challenge was deployed to the cluster.

NAME            READY   UP-TO-DATE   AVAILABLE   AGE   CONTAINERS   IMAGES                                                                                SELECTOR
demo-pwn-chal   1/1     1            1           42h   challenge    eu.gcr.io/ctf-infra-test/demo-pwn-chal-challenge:cf81a5092f8dea7694ea2dd23770a238c841230f9d90e33bba260bddaad817e3   app=demo-pwn-chal

= EXTERNAL SERVICES =

Challenge external status
This shows you if the challenge is exposed externally.

SERVICES:
NAME                       TYPE           EXTERNAL-IP    PORT   DNS
demo-pwn-chal              NodePort       <none>         1337   <none>
demo-pwn-chal-lb-service   LoadBalancer   <IP_ADDRESS>   1337   demo-pwn-chal.wpictf-codelab.kctf.cloud

Ingresses:
No resources found in default namespace.

I don't see anything weird with that.
Here is me trying to connect to it:
cscexec_wpi@cloudshell:~/kctf-test/demo-pwn-chal (ctf-infra-test)$ kCTF[ctf=kctf-test,config=remote-cluster,chal=demo-pwn-chal] > nc demo-pwn-chal.wpictf-codelab.kctf.cloud 1337
nc: getaddrinfo for host "demo-pwn-chal.wpictf-codelab.kctf.cloud" port 1337: Name or service not known

cscexec_wpi@cloudshell:~/kctf-test/demo-pwn-chal (ctf-infra-test)$ kCTF[ctf=kctf-test,config=remote-cluster,chal=demo-pwn-chal] > nc <IP_ADDRESS> 1337
== proof-of-work: disabled ==
CTF{TestFlag}

Is there anything else I should try?

So I have been testing and rebuilding the cluster and challenges and the error I originally posted about has not been showing up.
I am still having DNS issues though, and I am not sure how to further debug it. I have just been following the tutorial, so I set the public field in the yaml file to true and it says it provisioned a DNS record, but I cannot connect using it.
On the DNS console, I see the wpictf-codelab.kctf.cloud record, but I do not see any challenge records. Is there any other options that I need to enable?
Thanks

can you find the DNS daemonset on console.cloud.google.com? it should be under GKE -> Workloads and see its logs

So i see that it the external-dns workload is not working. When I check the logs I see this error:
"pkg/mod/k8s.io/client-go@v0.22.2/tools/cache/reflector.go:167: Failed to watch *v1.Ingress: failed to list *v1.Ingress: ingresses.networking.k8s.io is forbidden: User "system:serviceaccount:kctf-system:external-dns-sa" cannot list resource "ingresses" in API group "networking.k8s.io" at the cluster scope"

that should be fixed with https://github.com/google/kctf/commit/9d1f2a5f86e9a7c66805b090829c330b0abf71d1

https://github.com/google/kctf/releases/tag/v1.5.2

the problem is DNS in there. which kCTF version are you using?

Message ID: @.***>


feat: add support for TIMESTAMP and DATE primary keys

Was blocking on the following, now resolved, issue:
https://github.com/googleapis/google-cloud-go/issues/3548

Codecov Report

Merging #32 (d420639) into master (7437bb1) will increase coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage   60.33%   60.45%   +0.11%
==========================================
  Files          16       16
  Lines        1674     1674
==========================================
+ Hits         1010     1012       +2
+ Misses        616      615       -1
+ Partials       48       47       -1

Impacted Files
Coverage Δ

internal/codegen/databasecodegen/key.go
97.14% <0.00%> (+2.85%)
:arrow_up:

Codecov Report

Merging #32 (d420639) into master (7437bb1) will increase coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage   60.33%   60.45%   +0.11%
==========================================
  Files          16       16
  Lines        1674     1674
==========================================
+ Hits         1010     1012       +2
+ Misses        616      615       -1
+ Partials       48       47       -1

Impacted Files
Coverage Δ

internal/codegen/databasecodegen/key.go
97.14% <0.00%> (+2.85%)
:arrow_up:


Adjust overlapping elements at top of item page

I'm not sure how the "Edit or Deposit" button should be behaving on this page for non-admins, but it's now overlapping with the admin box.

@astridu can you propose a solution for this?

@astridu what if the title is even longer (more than one line)?  What if it's very short? Can you mock those scenarios up also?

Can we truncate it at ~140 characters so that it doesn't wrap to a 3rd line?

@astridu @jcoyne When sometimes get multiple items with fairly long titles where the only distinguishing bit is a year at the end. Truncating the title in the breadcrumbs and at the top of the page is fine with me, but we are going to need to display the full-length title somewhere on the page so people can verify they are on the right item.
If the long titles are complicating the display at the top, perhaps we could add the title as the first entry in the Details box on this page?

Is there a character limit to the titles? It would be ok to display the full title as long as it didn't wrap to more than 5 lines (~1000 characters).

We do not impose any limits on the titles.

@amyehodge You may have already seen an example like this, but this is what it looks like with a 1000 character title.

Example where the title's last line takes up the full line. The pencil and 'New version in draft' appears on the next line.


Servicebus Track2 Consistency review

Perform consistency review with broader SDK family.  Make any changes as needed.
as of 8/12 consistency review was performed, summarized outcome:
Design topics:

[x] Create a roadmap for if post-GA "change property on deadletter" was implemented, to ensure it will fit nicely in our current plan. (no backcompat issues, etc.)
[ ] create_queue_receiver vs get_queue_receiver
[x] Message vs ServiceBusMessage (for BatchMessage as well)
[ ] Should get/set session state unify with taking +returning bytes or strings?
[ ] Remove object-as-name for e.g. createrule, contemplate naming implications (topic_name was proposed but I worry that codes us into a corner)

Requiring Investigation:

[ ] Can EventHubsSharedKeyCredential be shared for mgmt + core client; and be safely yanked pre-GA?
[ ] What is NamespaceProperties.alias? It does not appear to show up in the portal.
[ ] Why do .net and js not appear to have an isomorphism of entity_availablility_status (QueueProperties), or for created_at in RuleProperties.  Same question for is_anonymous_accessible and support_ordering and status in creation methods.
[x] Should enable_express be removed? Speak with Harsha. (may not be supported) (Conclusion: Is needed, already present)
[ ] What does enable_partitioning at subscription level mean?
[ ] Confirm size_in_bytes settable/meaningful for creating a topic

Changes needed:

[x] reason -> dead_letter_reason; description -> dead_letter_error_description
[x] renew_lock should return locked_until_utc value.
[x] entity_name should not be a parameter of ServiceBusClient init
[x] ReceiveSettleMode -> ReceiveMode, mode -> receive_mode
[x] prefetch -> prefetch_count
[x] Remove overrideable retry parameters from all but top-level client init.
[x] peek message_count -> max_message_count
[x] PeekMessage -> PeekedMessage
[x] receive_deferred_messages signature should mirror cancel_scheduled, in terms of union single/many.
[x] receive_messages max_batch_size -> max_message_count (set default to 1 assuming same semantic meaning as None)
[x] Normalize session method/property naming. (e.g. get_session_state -> get_state).  session_id vs Id may merit some discussion however.
[x] Fix set_session_state type-string "    def set_session_state(self, state: Union[str, bytes, bytearray         admonitio]) -> None"
[x] "created_time"/"modified_time" -> created_at
[x] Remove namespace_type from NamespaceProperties
[x] Remove requires_preprocessing from SqlRuleAction and SqlRuleFilter.
[x] Make rights parameter take the AccessRights enum to be clear.

Review completed for top-level functions, will continue in this next milestone for client and message alignment.

Consistency review complete.  Comments present in SDK api-view.  Many changes will need to be made, and potentially sub-issues created.  Have re-estimated this issue as time needed to do a first pass, to avoid further issue noise.

Two more points:

The "rights" in the "authorization_rules" is an enum in .Net meaning it has a restricted set of values. We currently have it as a string, meaning we let any value go to the service
In SqlRuleFilter and SqlRuleAction, I see a requires_preprocessing which is not present in the .Net API which makes me wonder if this is a documented property or not. Please check

Few more points from the review that got missed above

In ServiceBusSession,  should id be session_id?
receive_deferred_messages should take union of int & list[int] just like cancel_scheduled_messages

Confirmation on things that we can remove in the ManagementClient

create_queue and QueueProperties

is_anonymous_accessible
support_ordering

create_topic and TopicProperties

is_anonymous_accessible
enable_subscription_partitioning

enable_express stays
Pending clarifications on

size_in_bytes for create_topic
entity_availability_status for topics and queues

Update on entity_availablility_status:

the property name should be availability_status
it should support a restricted set of values
it is applicable to queues, topics and subscriptions
it is not settable in both create and update operations, it is a readonly property

See https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.entityavailabilitystatus?view=azure-dotnet for more details


Latest commit breaks Windows build

# github.com/gosuri/uilive
..\..\..\go\pkg\mod\github.com\gosuri\uilive@v0.0.2\terminal_size.go:34:27: not enough arguments in call to syscall.Syscall
..\..\..\go\pkg\mod\github.com\gosuri\uilive@v0.0.2\terminal_size.go:34:28: undefined: syscall.SYS_IOCTL
..\..\..\go\pkg\mod\github.com\gosuri\uilive@v0.0.2\terminal_size.go:35:21: undefined: syscall.TIOCGWINSZ
..\..\..\go\pkg\mod\github.com\gosuri\uilive@v0.0.2\writer_windows.go:49:12: undefined: isatty
..\..\..\go\pkg\mod\github.com\gosuri\uilive@v0.0.2\writer_windows.go:53:28: undefined: strings

It looks like you have not installed isatty package. Try this:
go get github.com/mattn/go-isatty
Let me know how it goes

the windows related code was buggy, see the referenced commits above this post.


Issue43/jupyter notebook examples

Fix: https://github.com/krzysztofarendt/building3d/issues/43

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.837%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5490

Relevant Lines:
5978

💛  - Coveralls


Go 1.7 context support

Hello !
Is there a plan for Go 1.7 context support?

There is no current plan.

OK thank you.
I'll do it myself.

That's not to say it can't happen in this repo. But Go 1.7 isn't even out yet, so it seems premature to add here as a requirement.
We can use golang.org/x/net/context in the meantime and keep compatibility back a few versions.


fix: better linting

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
a8300e6305cf3804bce633f06607ab4dced2b3c4
link
/retest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

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

@jstrachan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
adfd658b45f9d2c68987721d9fbfc96239f68753
link
/retest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Your Jobs tab page to show model name

It seems the "Your Jobs" tab page currently does not show the model name. So users can not know what model it is
This happens on current V2 (tag 2.1) branch, not sure if this is a regression issue.

I added the model name to the "Your Jobs" tab. Let me know if this looks okay https://github.com/cybergis/cybergis-compute-python-sdk/pull/44.


'cli' is not found in my library

@app.cli.command('initdb')
def initdb_command():
"""Creates the database tables."""
init_db()
print('Initialized the database.')

#1048


Short solution needed: "How to update forked repository from master" (git)

Please help us write most modern and shortest code solution for this issue:
How to update forked repository from master (technology: git)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to update forked repository from master


Storage Track 2 ongoing issues

Core

[ ] eTag property has quotes after deserialization

AutoRest

[ ] AutoRest still generates withers in some models

Storage sdk

[ ] sync upload has incorrect ByteBuffer handling (fix drafted)

ErrorCode:
There is no CONTAINER_ALREADY_EXISTS
ContainerClient:
Can not redefine the httpPipeline

One feedback:
I cannot check response status from create and delete API.

One feedback:
I cannot check response status from create and delete API.

This is known and for now we skip those checks.


Add Missing ModSecurity Module

Currently this Docker image is not being built with the ModSecurity module available. This will need to be built from source during the Docker image build.

https://openlitespeed.org/kb/openlitespeed-modsecurity-module/#Method_3_Build_from_source

It turns out this is actually a bug since the README indicates it should have been built along with the OLS build however, the manual build is also failing which is an indicator that there is a problem. Going to need to check the build requirements as mentioned here to see if there is a required package missing.

Some related issues:

https://github.com/SpiderLabs/ModSecurity/issues/2245
https://github.com/SpiderLabs/ModSecurity/issues/2869
https://github.com/lloyd/yajl/issues/245

YAJL can be manually downloaded, built, and installed on arm64, using the tagged release source tarball. However, when the OLS build tries to build the ModSecurity module it fails to find YAJL and still attempts to download the tarball of the source code to be built however it can't because of the branch/tag conflict in the YAJL repository that prevents ModSecurity from properly downloading the tarball from the Git repository.


Cleanup, refactor and fix tests for an initial GEM release

The current state was not working and broken against the newest state_machines changes. As we are depending on state_machines and Mongoid integration I fixed all broken tests and on the way restructured the files according to the state_machines-activerecord project.

bumped version to 0.1.0
added simple readme
extracted all test classes in separate files
extracted helper methods to test_helper
removed Observer support as it is no longer supported by Rails/Mongoid
added default locales in locale.rb
fixed inclusion of state_machines-activemodel module
fixed tests (tests are mostly the same as before, some smaller fixes have been required and I removed a couple of tests after I didn't find them covered in state_machines-activerecord)

Would be happy if you can merge the changes and publish a GEM based on the new code. Or if changes are required please let me know. Thanks a lot.

This is awesome. Thank you :green_heart: :heart:

I will merge and do some changes. (eq : AR 3.2, 4.0 is unsupported)

released , could you try it ?

Wow, awesome! The gem works for me. And the failing test is my fault, didn't catch my last minute change:
IntegrationTest
  test_should_have_defaults                                       FAIL (0.00s)
Minitest::Assertion:         --- expected
        +++ actual
        @@ -1 +1 @@
        -{:action=>:save}
        +{:action=>:save, :use_transactions=>false}
        /home/travis/build/state-machines/state_machines-mongoid/test/integration_test.rb:17:in `test_should_have_defaults'

{:action=>:save, :use_transactions=>false} is correct.
Thanks a lot for your quick merge, really appreciate it!


[bug]When airline analyze is passed arg like "08", it handles as wildcard.

In this code, analyze initializer handle "08" as [0-9][0-9] because "08" is not int type. But actually, the "08" means August, so analyze initializer should handle as 8.
https://github.com/MacSnowDaddy/airline_operation_watcher/blob/e05278aa46b7997b1ef622c8d0c884879422ce91/data_collector/ana_analyze.py#L23-L26

a8847af


Deploy Checklist: New Expensify 2023-03-09

Release Version: 1.2.81-1
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

[x] https://github.com/Expensify/App/pull/9279
[x] https://github.com/Expensify/App/pull/15210
[x] https://github.com/Expensify/App/pull/15339
[ ] https://github.com/Expensify/App/pull/15507
[x] https://github.com/Expensify/App/pull/15522
[x] https://github.com/Expensify/App/pull/15656
[ ] https://github.com/Expensify/App/pull/15677
[x] https://github.com/Expensify/App/pull/15718
[x] https://github.com/Expensify/App/pull/15721
[x] https://github.com/Expensify/App/pull/15722
[x] https://github.com/Expensify/App/pull/15726
[x] https://github.com/Expensify/App/pull/15727
[x] https://github.com/Expensify/App/pull/15750
[x] https://github.com/Expensify/App/pull/15761
[x] https://github.com/Expensify/App/pull/15771

Internal QA:

[x] https://github.com/Expensify/App/pull/15743 - @justinpersaud

Deploy Blockers:

[x] https://github.com/Expensify/App/issues/15770

Deployer verifications:

[ ] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[ ] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found here.

cc @Expensify/applauseleads

Checking off the deploy blocker, as I have reverted the PR.

:clap: Heads up @Expensify/applauseleads :clap:
A new pull request has been :cherries: cherry-picked :cherries: to staging, and will be deployed to staging in version 1.2.81-1 :rocket:

:tada: All set?…You bet! @Expensify/applauseleads https://github.com/Expensify/App/releases/tag/1.2.81-1 has been deployed to staging :tada:

@roryabraham Regression is completed
PR https://github.com/Expensify/App/pull/15210 is failing https://github.com/Expensify/App/issues/15790. Not repro in Prod
PR https://github.com/Expensify/App/pull/15507 is failing https://github.com/Expensify/App/issues/15633

Not treating https://github.com/Expensify/App/issues/15786 as a deploy blocker, checking off https://github.com/Expensify/App/pull/15210

:shipit:


pip install on windows is installing old torchao version

ERROR: Could not find a version that satisfies the requirement torchao==0.5.0 (from versions: 0.0.1, 0.0.3, 0.1)
I looked into the https://download.pytorch.org/whl/torchao/ and it seems there is no version for widows, need help

This should get fixed by #1101

Closing this issue as the fixing PR is merged. If the issue persists, please re-open.

I directly git cloned it from the repo and used it in the package, worked for me.


command-line tool - how to display user-defined facts?

I've added some user-defined node facts for debugging; when I try to display them, only the fact name is displayed; for Kythe schema nodes, the value is also displayed.
I know that the value is non-empty because the verifier tool can display the value (using the "?" notation).
How can I add user-defined facts that display with the command-line tool?
Here's an example output. /kythe/node/kind displays the value variable but /pykythe/type doesn't display the value.
$ ../kythe/bazel-bin/kythe/go/serving/tools/kythe/kythe -api http://localhost:8080 nodes 'kythe://test-corpus?lang=python?root=test-root#.tmp.pykythe_test.SUBST.home.peter.src.pykythe.test_data.t8.III'

kythe://test-corpus?lang=python?root=test-root#.tmp.pykythe_test.SUBST.home.peter.src.pykythe.test_data.t8.III
  /kythe/node/kind	variable
  /pykythe/type

It seems that there's a -max_fact_size flag, except it doesn't seem to be activated.
Also, the program behaviour when max_fact_size is exceeded isn't very friendly ... I would suggest changing it to display the first part of the value followed by <truncated> or similar.

The -max_fact_size is active, but needs to be after the nodes subcommand. And it does work as advertised.
I suggest the following change:
$ git diff
git diff
diff --git a/kythe/go/services/cli/command_nodes.go b/kythe/go/services/cli/command_nodes.go
index 6161bea1..2e741793 100644
--- a/kythe/go/services/cli/command_nodes.go
+++ b/kythe/go/services/cli/command_nodes.go
@@ -73,7 +73,7 @@ func (c *nodesCommand) displayNodes(nodes map[string]*cpb.NodeInfo) error {
 					return err
 				}
 			} else {
-				if _, err := fmt.Fprintf(out, "  %s\n", name); err != nil {
+				if _, err := fmt.Fprintf(out, "  %s\t%s<truncated>\n", name, value[:c.factSizeThreshold]); err != nil {
 					return err
 				}
 			}


Contribution flow amount button disappears on mobile

Describe the bug
pressing any amount button will make donate 20 disappear
To Reproduce
Steps to reproduce the behavior:

Go to Embeded contribution flow iframe
Click on donate 5 or donate other
button donate 20 is set to display:none

Expected behavior
pressing donate buttons should not hide other amount buttons
Screen

shots
Desktop (please complete the following information):

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

Smartphone (please complete the following information):

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

Additional context
Add any other context about the problem here.

Triage Template (core team only)
This template is for members of the team to triage for prioritisation. For more guidance see https://www.loom.com/share/369ab467fbc64dec848085d38ff57ca0:
P1 high frequency, high impact
P2 low frequency, high impact
P3 high frequency, low impact
P4 low frequency, low impact
Examples of high impact - a problem affects users during an essential process (expenses and payments > onboarding and registration > contributing) with no workaround.
High frequency - >10% of users affected (measured as a proportion of total potential users for this case).

I can reproduce on the non-embed version as well, by going directly to https://opencollective.com/babel/donate?interval=oneTime&amount=10&contributeAs=betree with a smaller window (mobile or tablet).
For these devices we show less contribute options to simplify the interface: https://github.com/opencollective/opencollective-frontend/blob/096e0fb92b89a2384703cdcf2d5da4ac7aa49798/components/StyledAmountPicker.js#L12.
Somehow the styles returned there doesn't seem to apply until there's an update in the interface (either the amount, the interval, the tip, etc).

There seems to be a bug in the way we handle it, 1st and last buttons should always be displayed


How can we add custom validation in the new data creation dialog box ?

I'm having one drop down, by default it is mandatory and enable. But I have to check with end date. if the end date is less than current date dropdown should be  disable  otherwise it should be enable  and perform validation too. how can i implement that ?

https://github.com/volkanceylan/Serenity/issues/576

May be you can try :
constructor(container: JQuery) {
this.form.EndDateName.element.on("change", () => {
if (enddate< curdate)
Serenity.EditorUtils.setReadOnly(this.form.YourDropdownname, true);
});
}


Add new Realm sdk roles

The @realm/react package and JS Web SDK both have new standalone reference docs. This PR adds roles for those references docs to make linking to them easier in the Realm docs.
Duplicate of #496, but based on latest branch.

I have no idea why checks are failing. I re-ran them with the same result. Anything I need to do here?

I have no idea why checks are failing. I re-ran them with the same result. Anything I need to do here?

Don't worry about it - this branch is a bit of an odd one, but you should be good.


Added flappy bird game

🛠 Fixes Issue #646

👨💻 Changes proposed
Added a Flappy Bird game in HTML CSS and JS

✅ Check List (Check all the applicable boxes)

[X] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[X] This PR does not contain plagiarized content.
[X] My Addition/Changes works properly and matches the overall repo pattern.
[X] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@Astrodevil please review my PR

@Astrodevil please review and merge my PR

@sreelakshmig009 @Astrodevil can anyone of project maintainer please review my PR so that I can proceed with other issues.


not able to get sender email

When I am copying the mail from sent folder, I am not able to get the sender email in the parsed data. Any help?

can anyone please help? It is very urgent.

Hi,
Do you have any example with this issue?

Hi, 'sender email' (fileData.senderEmail) is not getting defined if the .msg mail body text format is of HTML. Working properly only if the outlook email text is formatted as 'Plain Text'.
Issue Screenshot


Enhance readme

[ ] describe in a few words, when it's better to use structured and string-based. i suggest we put a simple page describing the use-cases to https://github.com/Kentico/delivery-sdk-net/wiki and just link it from generators' readme (in the parameter description)

Filed under https://github.com/Kentico/delivery-sdk-net/issues/122


Fixed small typo

I noticed this small typo while checking out this package in npm, and I thought you'd like it fixed =)

Thanks.


[T4A6][W10-B2] Tjong Anthony

Ready for review.

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.


Apply a style to the map : Hue, Visibility, etc....

Hello
I could succeed to make the plugin work. It is a much better solution than the web version.
But there are less options, or maybe I simply don't find them. For example, how can I style the map?
Web Version :
var styles = [{stylers: [{"hue": "#ff0000"}, {"visibility": "simplified"}]}];
map.setOptions({styles: styles});
In your plugin, where can I do that?
Thanks for everything !
S.L.

Since this plugin uses Google Maps API Android v2 and Google Maps SDK for iOS, they are not implemented the styledMapTyle feature. So it's not possible technically.


Update bigtable protos

Hi,
I was wondering if someone could point me in the right direction as to how to regenerate protos? I recently updated the Bigtable protos which are now available on googleapis:
https://github.com/googleapis/googleapis/commit/546d3a
But am unsure how to trigger an "update from googleapis" in this repo.
Thanks!

I think I figured it out: #47


linuxManualConfig: Use a pure-Nix readConfig

Description of changes
Use a pure-Nix implementation to parse the configfile so that IFD can be
avoided in many cases.
The original decade-old readConfig function uses a bash script and requires an
IFD even when readFile would suffice. This is really unnecessary for many uses
of linuxManualConfig.
I'm not sure whether this is a good way to do it. Please advise on code organization and whether the interface should work like this.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Ideally this is 0 rebuild (disregarding docs)... If it isn't I messed something up

I also checked a random config I had and this yielded exactly the same derivation as the original code.

I've shipped an implementation here for about a year and not had any problems, but never quite got around to submitting it upstream.
I think there is some additional subtlety around combining with kernel patch options and string options.

I do handle strings. These are everywhere and it wouldn't work without.
I think configfile is supposed to come after patches have been applied and in fact completely override patch options? You just give it a .config file instead of extraConfig in the format expected by nixpkgs. At least the old one didn't bother.
You're right about the last point, we should probably just ignore allowImportFromDerivation flag altogether, but idk if that would be good, or if we should just delete it altogether.

I was just commenting that one of the uncertainties I had about my changes is whether or not it handled all varieties of string quoting (if multiple are even supported) in all circumstances, etc. It hasn't been tested or examined very thoroughly.
It does look like in the normal case extraConfig in patches is handled by the generic configuration stuff. I had to add it separately because my stuff doesn't use that (though it should in the future).
It's unclear if the config passed by the generic builder is even right?
I think this PR is okay, it's just not as much as I'd like. It's a step in the right direction though. I need to double check that it works properly with my stuff in that repo.

ah, yes, i almost forgot. i just delegated string parsing to builtins.fromJSON which may or may not be a bad idea.... i think the string extraction regex should be correct, but the parsing may need some more care for people who have say quotes in cflags or something.

I'm trying to look if there's a defined syntax for that, I don't know what the possibilities are. My code just strips quotes.


Version 2.1.2 title layout:title-pattern problem

After upgrading to thymeleaf 3.0.2 and thymeleaf-layout-dialect 2.1.2,
layout:title-pattern doen't work with expression.
This
[[${@environment.getProperty('spring.application.name')}]]
works with spring boot 1.4.2 thymeleaf 2.x and layout-dialiect 1.x, not complicated with latest version, I also tried $LAYOUT_TITLE but doen't work either.
Would anyone please help me with this?

What are you getting instead of your expected result?  I just tried it out and it ended-up not substituting the inlined expression, which I guess is what you expected?
Looks like this might be a bug with the 2.x branch as I don't have a test for inlined expressions in titles.
Since the problem is with inlined expressions, a workaround is to put the inline expression into a th:text one, eg:
<title layout:title-pattern="$CONTENT_TITLE - $LAYOUT_TITLE" th:text="${@environment.getProperty('spring.application.name')}"></title>

FYI, you might be able to get rid of th:inline="text" expressions in your templates when upgrading to Thymeleaf 3.  The migration guide mentions that inlining is available everywhere without the need for the th:inline processor any more.  See https://github.com/thymeleaf/thymeleaf/issues/394 for details.

Yes, this is exactly what I wanted, thank you very much!
I know th:inline should be got rid of and I have tried but it didn't work properly so I post the original code here.
Thanks again for your help.

I've uploaded a 2.2.0-SNAPSHOT version with the fix to this bug.  I've also uploaded some new tests to cover this, but if you could give that version a try with your projects, see if it works for you, then that'd be helpful too.


Not able to parse a excel file

I am getting the below exception in line no xls.js at 4022 line no.
Uncaught Unrecognized Formula Token: PtgAreaErr3d,1,0.
Can anyone help me on this?

@SolaiappanRajendran would it be possible to share a file that shows the error?  Ideally, if you can strip confidential information, we can add it to the test suite.
That error should show up if the formula in question contains an invalid 3d reference (e.g. the range B2:C3 in every worksheet), but for some reason Excel 2013 was not generating that specific token when I made the error test case.  The short-term solution is just to break in that case (like how PtgRefErr3d is ignored in https://github.com/SheetJS/js-xls/blob/master/xls.js#L4024)


Function nmap not working for Telescope key bindings

Describe the bug
No telescope key bindings that have been set using nmap function are working for me.
Sorry I don't know much about lua or vim to understand much, but from my basic google searches the syntax seems to be fine, but via testing every key bind defined in init.lua, I came to the realization that exactly this code block is not working (line 292 to line 333):
local on_attach = function(_, bufnr)
  -- NOTE: Remember that lua is a real programming language, and as such it is possible
  -- to define small helper and utility functions so you don't have to repeat yourself
  -- many times.
  --
  -- In this case, we create a function that lets us more easily define mappings specific
  -- for LSP related items. It sets the mode, buffer and description for us each time.
  local nmap = function(keys, func, desc)
    if desc then
      desc = 'LSP: ' .. desc
    end

    vim.keymap.set('n', keys, func, { buffer = bufnr, desc = desc })
  end

  nmap('<leader>rn', vim.lsp.buf.rename, '[R]e[n]ame')
  nmap('<leader>ca', vim.lsp.buf.code_action, '[C]ode [A]ction')

  nmap('gd', vim.lsp.buf.definition, '[G]oto [D]efinition')
  nmap('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences')
  nmap('gI', vim.lsp.buf.implementation, '[G]oto [I]mplementation')
  nmap('<leader>D', vim.lsp.buf.type_definition, 'Type [D]efinition')
  nmap('<leader>ds', require('telescope.builtin').lsp_document_symbols, '[D]ocument [S]ymbols')
  nmap('<leader>ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols')

  -- See `:help K` for why this keymap
  nmap('K', vim.lsp.buf.hover, 'Hover Documentation')
  nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation')

  -- Lesser used LSP functionality
  nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration')
  nmap('<leader>wa', vim.lsp.buf.add_workspace_folder, '[W]orkspace [A]dd Folder')
  nmap('<leader>wr', vim.lsp.buf.remove_workspace_folder, '[W]orkspace [R]emove Folder')
  nmap('<leader>wl', function()
    print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
  end, '[W]orkspace [L]ist Folders')

  -- Create a command `:Format` local to the LSP buffer
  vim.api.nvim_buf_create_user_command(bufnr, 'Format', function(_)
    vim.lsp.buf.format()
  end, { desc = 'Format current buffer with LSP' })
end

To Reproduce
Steps to reproduce the behavior:

This is out of the box setup, I have not changed anything.

Desktop (please complete the following information):

OS: Ubuntu 22.04, i3 window manager
Terminal: alacritty 0.10.1

Neovim Version

Output of running :version from inside of neovim:

NVIM v0.8.2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdo
uble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_H
AS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/adhiraj/neovim/build/cmake.config -I/home/adhiraj/neovim/src -I/home/adhiraj/neovim/.deps/usr/include -I/usr/include -I/home/adhiraj/neovim/build/src/nvim/auto -I/home/adhiraj
/neovim/build/include
Compiled by root@adhiraj-pc

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Is there a reason vim.keymap.set wouldn't do the job here? I'd love to link you to the help doc but until I can figure that out I'd just like to suggest that you type: :help vim.keymap.set from inside Neovim 0.7 or later :)

These will only work for files that have an LSP attached (they don't make sense otherwise). So if you don't have an LSP, then that won't work. I'm unable to reproduce otherwise (so let me know if it's missing something)

Had same problem, the error came from treesitter, and this was odd. But the error spoke for itself, it missed treesitter parser for markdown, I assume hover doc is in markdown.
:TSInstall markdown solved the problem.
Hope it help somebody


[5.6] Separate the unauthenticated redirect URL out into an easily overridable method

See https://github.com/laravel/ideas/issues/800
I've elected to implement this as an easily overridable method. The alternative would be to do it with multiple properties like in FormRequest, but that feels like a more complex and awkward way.

Though I feel it's fine as-is, I understand the sentiment.
However, with this approach, you're still having to override a method in the exception handler, which was the initial complaint in the ideas repo issue.

I'm working on an approach more consistent with other areas of the framework.

Will be easier in Laravel 5.7... couldn't implement it without a breaking change.
https://github.com/laravel/laravel/blob/develop/app/Http/Middleware/Authenticate.php

@taylorotwell I've commented on the commit about that approach not solving the issue. I believe this PR does solve the issue and does so without a breaking change.
@devcircus The point is that here you only have to override a method that returns the URL, i.e. the bit you want to customise. As it is, you have to override a method and duplicate a chunk of core code (see this comment on that ticket), which obviously does not make for good coding practice or future proof code if the method changes in the core framework.


qtcurve: init at 1.9

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build qtcurve

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: qtcurve
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: qtcurve
Partial log (click to expand)
shrinking /nix/store/21dv04dj2hxs2hf8vn36rn2f7xjwdg90-qtcurve-1.9/lib/libqtcurve-utils.so.2.0
shrinking /nix/store/21dv04dj2hxs2hf8vn36rn2f7xjwdg90-qtcurve-1.9/lib/qt-5.11/plugins/styles/qtcurve.so
shrinking /nix/store/21dv04dj2hxs2hf8vn36rn2f7xjwdg90-qtcurve-1.9/lib/qt-5.11/plugins/kstyle_qtcurve5_config.so
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/21dv04dj2hxs2hf8vn36rn2f7xjwdg90-qtcurve-1.9/lib
patching script interpreter paths in /nix/store/21dv04dj2hxs2hf8vn36rn2f7xjwdg90-qtcurve-1.9
/nix/store/21dv04dj2hxs2hf8vn36rn2f7xjwdg90-qtcurve-1.9/share/themes/QtCurve/gtk-2.0/map_kde_icons.pl: interpreter directive changed from "/usr/bin/env perl" to "/nix/store/0ingn8cwwnl84i374hcl6nafsm2c5m2p-perl-5.28.0/bin/perl"
checking for references to /build in /nix/store/21dv04dj2hxs2hf8vn36rn2f7xjwdg90-qtcurve-1.9...
postPatchMkspecs
postPatchMkspecs

Success on aarch64-linux (full log)
Attempted: qtcurve
Partial log (click to expand)
shrinking /nix/store/h76yxfravfzi6v2g95x6xajrrxqny04j-qtcurve-1.9/lib/libqtcurve-cairo.so.1.0
shrinking /nix/store/h76yxfravfzi6v2g95x6xajrrxqny04j-qtcurve-1.9/lib/libqtcurve-utils.so.2.0
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/h76yxfravfzi6v2g95x6xajrrxqny04j-qtcurve-1.9/lib
patching script interpreter paths in /nix/store/h76yxfravfzi6v2g95x6xajrrxqny04j-qtcurve-1.9
/nix/store/h76yxfravfzi6v2g95x6xajrrxqny04j-qtcurve-1.9/share/themes/QtCurve/gtk-2.0/map_kde_icons.pl: interpreter directive changed from "/usr/bin/env perl" to "/nix/store/bzgcpj9fijmlxgjaa72fjys7m3ycijy8-perl-5.28.0/bin/perl"
checking for references to /build in /nix/store/h76yxfravfzi6v2g95x6xajrrxqny04j-qtcurve-1.9...
postPatchMkspecs
postPatchMkspecs
/nix/store/h76yxfravfzi6v2g95x6xajrrxqny04j-qtcurve-1.9

@samueldr Thanks!


Where do I find examples?

Probably a dumb question, but where can I go to see the source code for the examples: https://sortablejs.github.io/react-sortablejs/

I found some here https://github.com/SortableJS/react-sortablejs/tree/e136cdcc6bd6f4c5e9a2df6980ef5a2db11ed607/examples

I wonder who would be able to get the rest...

is still mantine ?

All the examples were removed in this commit:<PHONE_NUMBER>02124819a244b4c9c297eb09342b4d but I guess they never got around to actually making a StoryBook...
You can browse them at the parent commit: https://github.com/SortableJS/react-sortablejs/tree/e5a6eb7b1577945b1d76d36854abf7619188bba2/examples

here
https://codesandbox.io/p/sandbox/react-sortablejs-shili-8tjrh?file=%2Fsrc%2Findex.js


[WIP] Custom upload action

Renamed RegisterTemplate.vue to RegisterOrUploadTemplate.vue
Handled upload of local template

@Pearl1594 I've implemented custom progress bar feature while uploading, please replicate that and some error handling etc. for template and volume.


Add mapping/htseq_count

mapping/htseq_count: Quantify gene expression for subsequent testing for differential expression.

@DriesSchaumont I added a info: [ orig_arg: ... ] to each argument to make the argument processing a little bit simpler.
Maybe something we should keep in mind when dealing with other tools with convoluted argument parsing.


Integrate new view PhptalRenderer

Hello. I have just finished first version of PhptalRenderer:
https://github.com/xorock/zend-expressive-phptalrenderer
Working example: https://github.com/xorock/zend-expressive-phptalrenderer-example
(is based on Twig skeleton, used components are Zend Router, Zend Servicemanager and Whoops).
Todo:

I would like to use some of the expression modifiers from ZF1 / Ztal project
Integrate Twitter Bootstrap and Zend form
Add tests
After reading some issues of Plates / Twig renderer I'm not sure if I should create public getTemplate() method for direct access to PHPTAL engine. When it can come in handy? With PHPTAL You can not only parse template files but also string sources. PHPTAL is also great when working with XML documents (current implementation of Zend Diactoros does not have XMLResponse) and allows us to set different output modes (setOutputMode: HTML5, XML, XHTML). It is very hard now to change engine settings and putting everything in PhptalRendererFactory is not a good way.

When/if you complete the renderer, please open an issue or pull request against the zend-expressive-skeleton repository, as that's where the installer logic for selecting renderers exists.
Thanks!


fix: make Transaction.from_raw() able to parse unsigned segwit tx

Although Transaction.from_raw() is able to parse a signed or unsigned legacy tx, it is only able to correctly parse signed segwit txs because it assumes the presence of witnesses in the tx payload.
But unsigned segwit tx payloads do not have any witness field.
This PR proposes to fix that by checking the number of remaining bytes between the end of the last output and the end of the tx payload and by skipping the witnesses parsing if that number is not greater than 4 (i.e. last tx field i.e. locktime length).

Hi @hcleonis ! Looks good. Can you add a test (in tests) with the example you used to test it? I will then review and merge.
Thank you

Hi @hcleonis ! Looks good. Can you add a test (in tests) with the example you used to test it? I will then review and merge.
Thank you

Great! I'm on something else right now but I'll do that as soon as I can.


version 1

I would like to ask if my version of the Sign in approach is correct according industry standarts. Thanks.
"When I sign in using<EMAIL_ADDRESS>as a login and "ABC123" as a password"

Please work on your test set.


Unable to see the Environment option under Pipeline

Hi
I cannot see the Environment option under Pipeline. I am the Org and Project owner

Thanks

@johnkelleher Thanks for your feedback; we appreciate it. To make sure we have all the information needed to triage your issue, please let us know which topic you’re referencing, or provide more context around the general task.
Meanwhile, you may find answers here:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot


Ergonomic entry followup

User-facing changes

Initialize the time entry with the 'All' button checked.
Previously, the radio buttons became un-checked after a refresh. If it button is checked before a refresh it should stay checked.

Test changes
Added unit tests for absolute and relative time entry, covering:

Input from the model (e.g. console)
Input from the datetime pickers
Input from each of the radio buttons

Implementation changes

Connect to QRadioButton's toggled signal rather than clicked, as recommended by docs. (This makes it easier to test against as well.)
Use QObject.blockSignals to ensure that we never get circular loops where the model updates the view which updates the model which updates the view. Employ a custom context manager to ensure that we never forget to UN-block the signals.
Refactor to use datetime.now() instead of time.time() so that we are always handling datetime or timedelta, not a mix of datetime and floating point timestamp.
Define Ada Lovelace's birthday (which we cheekily use as the lower bound on "All" times) as an absolute datetime rather than a timedelta.

Excellent changes Dan. I made some comments about my failing pytest and the weird "All" date display.
I'd suggest to put the refresh button a bit further to the catalog display or rename it to "Refresh catalogs" as I intuitively always expect the datetime to refresh when clicking that. But if I am the only, I am happy leave it.

Confusion with datetime, QDateTime, and time zones stymied me for awhile but I finally got this working as expected. The initial state looks right. Both the model (shown in IPython) and the GUI agree on the date, and there is no unexpected offset in the time fields.

Updating the model from the console or the GUI synchronizes as expected.