[Tabs] Scrollable tabs in Firefox auto move to selected tab

Current Behavior
When using the scrollable tabs in Firefox, when I select the first tab, and then click on the arrow to move to the right, it automatically returns to the first (selected) tab.
Expected Behavior
I can't select tab eight, without clicking the fourth tab first, and then clicking the arrow to move to tab eight.
Steps to Reproduce (for bugs)
Using Firefox (I used v59), go to scrollable tabs and click the arrow on the right.
Environment

Tech
Version

Material-UI
1.0.0-beta.38

React
16.2.0

Firefox
59.0.1

@Jordy-A I can't reproduce the issue on Firefox 59.0.2. Do you have another reproduction example?

@oliviertassinari I'm experiencing this issue in IE11 as you can see using the "Forced Scroll Buttons" demo:
https://codesandbox.io/s/xvzln258rq

actually also happens for me in Firefox 59.0.2 using the same demo.
I'm on Windows 10

@novascreen Thanks for the reproduction. I can reproduce it on MacOS + Chrome 65.

@oliviertassinari i've been playing around with a codepen to see where the issue might be. It looks like the first run of updateIndicatorState retrieves meta data via getTabsMeta and gets a different width after you press any other tab or scroll. In my own project i've created a modded version of this file rounding the width to an integer, but that's probably not the best way forward. I also noticed that when i wrap the first updateIndicatorState in a rAF it gets the width value it also gets in any subsequent calls, at least if rounded to 3 decimal places. Otherwise the width is slightly different on scroll (testing in Edge). In FF it only scrolls back once.
No idea what causes these slight changes. I'd be happy to do a PR, but could use some support on finding the actual issue or an OK from you to just do the rounding.
https://codesandbox.io/s/zx861k8mmx
Here is sample of the tab width after scrolling to the right multiple times:
87.05999755859375
87.31999206542969
87.31999969482422
87.31999206542969
87.31999969482422
87.31999206542969
87.31999969482422
87.31999206542969
87.31999969482422
87.31999206542969

@novascreen Thanks for the investigation. I have spent an hour too on the issue. I can confirm your suggestion. I think that we can fix the issue with the following diff:
  updateIndicatorState(props) {
    const { theme, value } = props;

    const { tabsMeta, tabMeta } = this.getTabsMeta(value, theme.direction);
    let left = 0;

    if (tabMeta && tabsMeta) {
      const correction =
        theme.direction === 'rtl'
          ? tabsMeta.scrollLeftNormalized + tabsMeta.clientWidth - tabsMeta.scrollWidth
          : tabsMeta.scrollLeft;
-     left = tabMeta.left - tabsMeta.left + correction;
+     left = Math.round(tabMeta.left - tabsMeta.left + correction);
    }

It would also fix #11624.
Do you want to work on it? :)

👍 sure, will create a PR in the next days

This seems to have resurfaced somehow on 4.0.0. I can reproduce it with this demo (on Windows 10 @ 200% DPI, at least) on the Firefox 67 and 68: https://codesandbox.io/s/quizzical-ramanujan-sivhb
The zoom needs to be exactly 100%.
In the DOM (both actual and virtual), I see the TabIndicator flash with the left: 1 (probably when the scroll goes to the right edge) and then immediately reverting back to left: 0 (probably when it comes back to the left edge).
Shall I create a new issue?

@synchronos-t Thank you for the report, I can reproduce the problem. What do you think of this fix?
diff --git a/packages/material-ui/src/Tabs/Tabs.js b/packages/material-ui/src/Tabs/Tabs.js
index 9dfd56a71..5a419cd66 100644
--- a/packages/material-ui/src/Tabs/Tabs.js
+++ b/packages/material-ui/src/Tabs/Tabs.js
@@ -285,21 +285,24 @@ class Tabs extends React.Component {
         theme.direction === 'rtl'
           ? tabsMeta.scrollLeftNormalized + tabsMeta.clientWidth - tabsMeta.scrollWidth
           : tabsMeta.scrollLeft;
-      left = Math.round(tabMeta.left - tabsMeta.left + correction);
+      left = tabMeta.left - tabsMeta.left + correction;
     }

     const indicatorStyle = {
       left,
       // May be wrong until the font is loaded.
-      width: tabMeta ? Math.round(tabMeta.width) : 0,
+      width: tabMeta ? tabMeta.width : 0,
     };

-    if (
-      (indicatorStyle.left !== this.state.indicatorStyle.left ||
-        indicatorStyle.width !== this.state.indicatorStyle.width) &&
-      !isNaN(indicatorStyle.left) &&
-      !isNaN(indicatorStyle.width)
-    ) {
+    // Seed the initial state
+    if (isNaN(this.state.indicatorStyle.left) || isNaN(this.state.indicatorStyle.width)) {
+      this.setState({ indicatorStyle });
+    }
+
+    const dLeft = Math.abs(indicatorStyle.left - this.state.indicatorStyle.left);
+    const dWidth = Math.abs(indicatorStyle.width - this.state.indicatorStyle.width);
+
+    if (dLeft >= 1 || dWidth >= 1) {
       this.setState({ indicatorStyle });
     }
   }

Do you want to submit a pull request? :)

Hey guys I have a similar issue but it's so weird one.
My issue is when i set a scrollable tabs on RTL mode the scroll stops working on chrome and on any chromium core browsers
the weird thing is on some windows devices it works just fine and on others it doesnt work
i have tested it on 5 devices 3 of them the tabs scroll worked fine and on my device and on another one it didnt
on mac it worked on all devices but the issue is just on windows 10 devices
this is my example i used mui v5 and next js but it's the same with all material versions
https://mui-v5-rtl-tabs.vercel.app
https://user-images.githubusercontent.com/63562308/147792710-b9a4244b-3270-4a89-985f-6c9070d20dbb.mp4
and here is its codesandbox example code
https://codesandbox.io/s/stupefied-borg-7u66f
does anyone have any thoughts about that

Hey again guys I have noticed that if i sat my portview to 110% and then refresh the page the tabs work fine on RTL mode
like this video
https://user-images.githubusercontent.com/63562308/147794721-14aa0d89-fc32-4ba0-8f80-4803607c5a50.mp4


Slow training process

Hi @chrischoy  Thanks for your sharing. I tried your code on 3DMatch dataset using the default configuration and found the training  process is very slow.  Specifically it took about one and a half hour for one epoch. (as you mentioned in the paper, you trained FCGF for 100 epochs, which means more than one week in my configuration). The GPU memory it took is only less than 5000 MB and GPU utility is less than 10% but CPU utility is high. I wonder is it normal situation and what's the most time-consuming part ?  I use RTX 2080Ti to train the model.
Thanks a lot.

The MinkowskiEngine was significantly updated recently which speeds up the inference quite a bit. The update caches some data on the GPU which also improves the GPU utilization.
Could you try the latest version of the MinkowskiEngine?

Hi @chrischoy Thanks for your sharing. I tried your code on 3DMatch dataset using the default configuration and found the training process is very slow. Specifically it took about one and a half hour for one epoch. (as you mentioned in the paper, you trained FCGF for 100 epochs, which means more than one week in my configuration). The GPU memory it took is only less than 5000 MB and GPU utility is less than 10% but CPU utility is high. I wonder is it normal situation and what's the most time-consuming part ? I use RTX 2080Ti to train the model.
Thanks a lot.

Hi @XuyangBai  Have you solved the efficiency issue? I adopted MinkowskiEngine v0.4.2, but the training is still quite slow.

@tangbohu Sorry I haven't solved it, the training is still slow.

I have updated the ME to v0.5 but met merge_sort CUDA error issue#67.


https://github.com/Ullaakut/cameradar/blob/212ac2f0d592266f45347d682522f0932017aaee/summary_test.go#L1

https://github.com/Ullaakut/cameradar/blob/212ac2f0d592266f45347d682522f0932017aaee/summary_test.go#L1

#295

``


Queijo supports a --check option now, in order to run strict mode typechecking.

Followup work:

Requires - we need to write the appropriate require resolver to run the typecheck
Flesh out the queijo apis a bit more

Can we not use the require resolver from Require.cpp? the same one we're using for the dynamic implementation?

Can we not use the require resolver from Require.cpp? the same one we're using for the dynamic implementation?

We can. That was next up on my list :)


resultsSize missing from some simulation runs

resultsSize is missing from this simulation run even though results were saved. The simulations table is using that attribute to determine whether visualization and export buttons should be displayed.
https://run.api.biosimulations.dev/run/6037ee3b6e279f120495462c
If this has already been fixed and this example was run before the fix, this can be closed.

I see am seeing the issue. it seems to be happening intermittently. I'll investigate it and check the logs. I didn't write this part of the code, so not sure what could be happening.


Add jsx-use-translation-function docs to README

It would be nice if you publish this.

@adidahiya can you release this?

Thanks @mohsen1, good call on adding it to the README.

Just published v2.4.0 for you with this new rule


Tiered metrics support

Support tiering metrics by priority to allow for different push intervals (the relatively fewer critical metrics are published at a shorter interval than less critical metrics).

In a moment of exceptional clarity, @nebhale tied this conceptually to reactive backpressure. Some metrics backends may be capable of exerting backpressure on the exporter (e.g. via a property, response headers).

Spectator has a Placeholders concept that basically splits metrics into either detailed or not. Then something like a property can flip off detailed dimension publishing.


🐛 [cloud_firestore] Still not fixed: (#4305 - now closed) Streambuilder very slow to update from Cloud Firestore when Android app resumes after long period of inactivity

The issue described in Bug Report #4305 (from Dec 2020) still exists in the following package versions, despite an apparent fix being merged into the Android SDK:
firebase_core: 1.10.6
cloud_firestore: 3.1.5
Issue #4305 is now closed so I am opening a new issue. The bug still manifests itself in exactly the same way as described in #4305 and can be reproduced using the exact same steps.
I am not an Android developer so I have not tried to reproduce the issue by directly using the Android SDK as described in:
https://github.com/firebase/firebase-android-sdk/issues/2637
Hoping someone from the Flutterfire or Firebase teams can root cause this and, once a new fix is available for testing, leave this bug report open for comments until the community can validate the fix. Thank you.

@ratherNotB
What's the com.google.firebase:firebase-bom version you have as dependency in your gradle file ?
The latest Firebase Android SDK version was bumped was https://github.com/FirebaseExtended/flutterfire/pull/6847 which ideally should have the fix as mentioned here https://github.com/FirebaseExtended/flutterfire/issues/4305#issuecomment-873098289

Thanks for the reply @darshankawar.
I've actually removed the line that I previously used to specify the firebase-bom version in my app/build.gradle file as I thought it was no longer necessary, according to the following:
https://firebase.flutter.dev/docs/overview
Am I wrong? Should I continue to include the firebase-bom version in my app/build.gradle file?
Thanks

@ratherNotB
I am not complete sure, but this document probably indicates it:
https://firebase.flutter.dev/docs/migration#plugin-changes
You may try to use com.google.firebase:firebase-bom: 29.0.0 and see if it works.

Hi @darshankawar,
Unfortunately that didn't solve it for me.
I'm using the following version of firebase_core:
firebase_core: 1.11.0
and I added the following to my app/build.gradle:
implementation platform('com.google.firebase:firebase-bom:29.0.3')
When I lock my phone with my app in the foreground and then unlock it after ~30 mins or so, new data can take 90s or 120s to appear.
Can you please try to reproduce?
Thanks!


Saving new file takes a few seconds

Open a new window
Create a new files
Save it to the Desktop

🐛 File only gets saved after 2-3 seconds.
Note that I have "files.autoSave": "afterDelay", might be relevant.

Just found another basic feature which has a similar delay and shouldn't:

New window
File > Open File...
Pick a .txt file from the Desktop

🐛 Same delay happens before the trust dialog pops up

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

It does seem extension related! Will bisect and update.

And?

Can't repro today. 😢


Corporate Console - CLA Manager request status is updated for all other projects when action is performed only on 1 project

Background
Prerequisite
CLA manager should have been accepted as CLA Manager for a company
CLA Manager should not have requested access for the projects of the company as shown below

Steps to Follow

Launch Corporate Console
Login as CLA Manager who has been accepted to the company
Click on the Company
Click REQUEST ACCESS for only one project
Refresh the page
Issue1
Observed that status Pending is updated for all projects

Similarly status is changed to CLA Manager when request is accepted and also Approved List link is displayed as MANAGE APPROVED LIST. However when data inside Manage Approved List is read only for other projects which is as expected

Issue2

Now Sign CLA for another project for same company by another CLA Manager
Observed that CLA Manager status for newly signed project(by other CLA Manager) is also changed to CLA Manager and also Approved List link is displayed as MANAGE APPROVED LIST. However when data inside Manage Approved List is read only for other projects which is as expected

Verified that the issue is fixed. Keeping the ticket open as I need to test more

Verified the issue is fixed

Issue already verified as per above comments


Fix numel()=0

Bypass numel()==0; otherwise _scaled_mm will throw out an error.
Allow L4 to quantize using _scaled_mm.

cc @mgoin

In order to enable support for scaled_mm on CUDA compute capability 8.9, we should require torch>=2.3


ESP32 D1 mini, CB38M2J(IB)-1 combination

Hi, all,
I have the CB38M2J(IB)-1, with two keypad RJ45 ports. I stripped standard Ethernet cable and used the following scheme:

ESP32
Name
HS13A-1
T568B

GND
GND
Green
White-blue

GPIO16
RX
Purple
White-Green

GPIO17
TX
Red
Blue

GPIO23
PIN20
White
Orange

VIN
+5V (VDD)
Black
Green

The following issues I have. The VCC from CB38M2J(IB)-1, seems not +5V, but used at the beginning external power. And the ESP32 does not see any activity.
Esphome config used for ESP32 D1 mini:
substitutions:
  device_name: desk-guestroom
  name: desk-guestroom
  min_height: "73.6" # Min height + 0.1
  max_height: "122.9" # Max height - 0.1

esphome:
  name: ${name}
  comment: ${device_name}
  platform: ESP32
  board: mhetesp32minikit
  includes:
    - desk_height_sensor.h

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "${device_name} Fallback Hotspot"
    password: !secret ap_fallback_password

captive_portal:

# Enable logging
logger:
  #level: DEBUG
  baud_rate: 0

# Enable Home Assistant API
api:
  password: !secret api_password

ota:
  password: !secret ota_password

uart:
  id: desk_uart
  baud_rate: 9600
  tx_pin: GPIO17
  rx_pin: GPIO16

sensor:
  - platform: wifi_signal
    name: "WiFi Signal"
    update_interval: 60s

  - platform: uptime
    name: Uptime

  - platform: custom
    lambda: |-
      auto desk_height_sensor = new DeskHeightSensor(id(desk_uart));
      App.register_component(desk_height_sensor);
      return {desk_height_sensor};
    sensors:
      id: "desk_height"
      name: Desk Height
      unit_of_measurement: cm
      accuracy_decimals: 1
      icon: "mdi:counter"

switch:
  - platform: gpio
    name: "Virtual Screen"
    pin:
      number: GPIO23
      mode: OUTPUT
    restore_mode: ALWAYS_OFF
    internal: true

  - platform: uart
    name: "Preset 1"
    id: switch_preset1
    icon: mdi:numeric-1-box
    data: [0x9b, 0x06, 0x02, 0x04, 0x00, 0xac, 0xa3, 0x9d]
    uart_id: desk_uart

  - platform: uart
    name: "Preset 2"
    id: switch_preset2
    icon: mdi:numeric-2-box
    data: [0x9b, 0x06, 0x02, 0x08, 0x00, 0xac, 0xa6, 0x9d]
    uart_id: desk_uart

  - platform: uart
    name: "Sit" # Preset 3 on some control panels
    id: switch_sit
    icon: mdi:chair-rolling
    data: [0x9b, 0x06, 0x02, 0x00, 0x01, 0xac, 0x60, 0x9d]
    uart_id: desk_uart

  - platform: uart
    name: "Stand" # Not available for all control panels
    id: switch_stand
    icon: mdi:human-handsup
    data: [0x9b, 0x06, 0x02, 0x10, 0x00, 0xac, 0xac, 0x9d]
    uart_id: desk_uart

  - platform: uart
    name: "Up"
    id: switch_up
    icon: mdi:arrow-up-bold
    data: [0x9b, 0x06, 0x02, 0x01, 0x00, 0xfc, 0xa0, 0x9d]
    uart_id: desk_uart
    internal: true

  - platform: uart
    name: "Down"
    id: switch_down
    icon: mdi:arrow-down-bold
    data: [0x9b, 0x06, 0x02, 0x02, 0x00, 0x0c, 0xa0, 0x9d]
    uart_id: desk_uart
    internal: true

  - platform: uart
    name: "M"
    id: switch_m
    icon: mdi:alpha-m-circle
    data: [0x9b, 0x06, 0x02, 0x20, 0x00, 0xac, 0xb8, 0x9d]
    uart_id: desk_uart

  - platform: uart
    name: "(wake up)" # Not available on all control panels
    id: switch_wake_up
    icon: mdi:gesture-tap-button
    data: [0x9b, 0x06, 0x02, 0x00, 0x00, 0x6c, 0xa1, 0x9d]
    uart_id: desk_uart

cover:
  - platform: template
    # icon: mdi:table-chair
    # icon: mdi-human-male-height-variant
    name: "Desk"
    assumed_state: true

    # Move desk up
    open_action:
      - while:
          condition:
            sensor.in_range:
              id: desk_height
              below: ${max_height}
          then:
          - logger.log: "Executing up command"
          - switch.turn_on: switch_up
          - delay: 10ms

    # Move desk down
    close_action:
      - while:
          condition:
            sensor.in_range:
              id: desk_height
              above: ${min_height}
          then:
          - logger.log: "Executing down command"
          - switch.turn_on: switch_down
          - delay: 10ms
    optimistic: true

Would be good to add a pictures of your PCB (of the desk keypad). And do you own a multimeter? You should be able to check if your wiring is correct. In the past I have seen mistakes / issues with just using the color of the RJ45 wires.
You could uncomment https://github.com/iMicknl/LoctekMotion_IoT/blob/a0137cb3ea0a13f324fde7bc63f444deea071357/packages/esphome/desk_height_sensor.h#L85 so that you will see all incoming bytes. This will also help to spot if you are using the right TX/RX.

The keypad is H13A-01.

I will uncomment the line and let you know.

Could you also add a picture of the PCB? (so screw open your desk keypad).

The PCB is cabled as documented H13A-1.

The uncomment, helped, I got continious incoming bytes, which default 000000 and changing values by hitting the height buttons of the keypad. Home assistant, see the sensor, but value is Unavailable.

Changing height logging:

Did you try this one already? #12 (comment) I think this could be the correct wiring.

??

OK, I will try other wiring as #12 commented.

Seems now to work with other cable color scheme. Tx. The home assistant integration only show the height as soon you hit the keypad and will not update the height after (after unpressing the button). Is there any fix for that?

Great to hear! We need to update the docs soon, great to have this confirmed.
Can you share the YAML you use now? And does the height update when you execute a command (like sit/stand) from your ESPHome? Current behavior is that the height only updates when something has been executed.
That is why in my other example, we call the 'M' button quickly on startup.

Im updating the YAML file now. Because I have more esphome integrations I will change the sensor and switches with desk_<> to seperate them more easily in home assistant. Will send you as soon everything is functioning. Tx for now.

My personal dongle. The nonused wires are protected (thin shrink tubes) and all fixed by using one big heat shrink tube.

Thanks for the help

The esp integration is working:when use keypad the initial height is recorded to HA. When also the up/down is working. But as soon as the keypad is in sleeping mode, no commands from HA/ESP are working. Should the wake up call should trigger to light on the key pad?

I've ordered the flexispot E8 and E7, both have the CB38M2J (IB)-1 control box as well. I've used the https://github.com/iMicknl/LoctekMotion_IoT/issues/12#issuecomment-1003183711 wiring (without connecting RESET, SWIM , empty) and all functions work as @hofvanta mentioned as well. The only problem I have as well is once the display goes off it is not possible to control the desk anymore. The wakup call doesn't work. I've also tried to only connect the esp32 and disconnect the remote, but it still doesn't work. @hofvanta did you find a way to solve the sleeping mode issue?

I've ordered the flexispot E8 and E7, both have the CB38M2J (IB)-1 control box as well. I've used the #12 (comment) wiring (without connecting RESET, SWIM , empty) and all functions work as @hofvanta mentioned as well. The only problem I have as well is once the display goes off it is not possible to control the desk anymore. The wakup call doesn't work. I've also tried to only connect the esp32 and disconnect the remote, but it still doesn't work. @hofvanta did you find a way to solve the sleeping mode issue?

How did you connect your ESP32? RJ45 Splitter into HS Port? Because the second RJ45 Port doesn’t work. Can you confirm?

Stefan,
I didnt use any splitter. I used the second port.
I use PIN 16&17 on a Wemos D1 mini esp32, board: mhetesp32minikit
uart:
id: desk_uart
baud_rate: 9600
tx_pin: GPIO17
rx_pin: GPIO16
switch:

platform: gpio
name: "Virtual Screen"
pin:
number: GPIO23
mode: OUTPUT
restore_mode: ALWAYS_ON
internal: true

I hope that it helps to get it work.
Arjan

Van: Stefan Kienzle @.>
Verzonden: maandag 21 februari 2022 21:16
Aan: iMicknl/LoctekMotion_IoT @.>
CC: hofvanta @.>; Mention @.>
Onderwerp: Re: [iMicknl/LoctekMotion_IoT] ESP32 D1 mini, CB38M2J(IB)-1 combination (Issue #23)
I've ordered the flexispot E8 and E7, both have the CB38M2J (IB)-1 control box as well. I've used the #12 (comment)https://github.com/iMicknl/LoctekMotion_IoT/issues/12#issuecomment-1003183711 wiring (without connecting RESET, SWIM , empty) and all functions work as @hofvantahttps://github.com/hofvanta mentioned as well. The only problem I have as well is once the display goes off it is not possible to control the desk anymore. The wakup call doesn't work. I've also tried to only connect the esp32 and disconnect the remote, but it still doesn't work. @hofvantahttps://github.com/hofvanta did you find a way to solve the sleeping mode issue?
How did you connect your ESP32? RJ45 Splitter into HS Port? Because the second RJ45 Port doesn’t work. Can you confirm?
—
Reply to this email directly, view it on GitHubhttps://github.com/iMicknl/LoctekMotion_IoT/issues/23#issuecomment-1047201205, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABUQDLHDQIQ2HNSGABJH4GDU4KMQPANCNFSM5MU4NVSA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

@hofvanta Thanks. Did your control panel work on the 2nd serial port? Mine only works on the first (upper) port. If it’s connect to 2nd port pressing a button only lights up the display but nothing happens. All buttons the same. Did someone have this issue too?

@Kienz For the Flexispot E7 and E8 both control ports work. I did have some issues though with the control panel while fixing this and cutting off power to the desk for a while and reconnecting fixed it, never had the issue again.
@hofvanta Thanks. For me it turns out a slight edit of the flexispot_e5b_esp32.yaml code seems to work perfectly for the E7 and E8. I'm waiting for an utp splitter so I can also connect the control panel directly so I would know the current state of the desk if only the control panel is used.

No, both ports are working without any issues.

Van: Stefan Kienzle @.>
Verzonden: maandag 21 februari 2022 22:30
Aan: iMicknl/LoctekMotion_IoT @.>
CC: hofvanta @.>; Mention @.>
Onderwerp: Re: [iMicknl/LoctekMotion_IoT] ESP32 D1 mini, CB38M2J(IB)-1 combination (Issue #23)
@hofvantahttps://github.com/hofvanta Thanks. Did your control panel work on the 2nd serial port? Mine only works on the first (upper) port. If it’s connect to 2nd port pressing a button only lights up the display but nothing happens. All buttons the same. Did someone have this issue too?
—
Reply to this email directly, view it on GitHubhttps://github.com/iMicknl/LoctekMotion_IoT/issues/23#issuecomment-1047242054, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABUQDLG75ZE2IETR2TMX3CLU4KVF5ANCNFSM5MU4NVSA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

@hofvanta Strange. I contacted the Flexipot support. Let's see what they say.
Other question: Should it work if I only connect the eg ESP8266 to first port? (Display is disconnected) Can someone test this. Kind regards.

@Sander51  did the UTP splitter work out as expected? Does the ESP32 now always output the correct position even when the desk was operated via the panel?


FB get user location with nodeJs

Hi all! I have a question regarding how to handle when a user sends a location. I'm working with NodeJS
I used to do the following and it worked perfectly:
if (session.message.entities.length > 0) {
    var type = session.message.entities[0].type;
    if (type.toLowerCase() == "place") {
        session.userData.location = session.message.entities[0].geo;
        doSomethingWithUserLocation();
    }
}

A few days ago it stopped working and when I debugged it I saw that the entities were empty and nothing in attachments either. So I was wondering if Facebook changed something? I have the same bot in Telegram and it still works.
Does someone have any idea about this? It's so strange!
Thanks!!

Yes I have come across the same problem. Latitude and Longitude are no longer showing up in the Entity.

Hi @gviddy and @clari182, this appears to be a Facebook problem. We stopped receiving lat/lon data but confirmed this morning that it's back.

Can you see if it's working for you?

@dandriscoll
I just tried now on both the Messenger app on my phone and in the desktop browser. I am still getting an empty Entity list when the user clicks on Location. Hence no location information.
Also I have no idea if Skyscanner uses your framework or not but they also try to use facebook messenger location and when conversing with their bot it does nothing too.

@dandriscoll Just tried it and still not working :(

@gviddy I think it's working fine again 👍
I just tried several times with my bot and it was receiving it well. I hope it works fine for you too!
@dandriscoll Thank you for your help!!

Closing as it appears this issue is resolved. We received reports that this was affecting non-Bot Framework bots running on Facebook so we're going to treat this as an FB issue.

Nor can I get the longitude and latitude. Someone knows another way to get that data. Thank

@gviddy Hi. Can you share your class where you choose latitude / longitude in Bot Framework. Please

@gviddy We too are running with same problem, we need location from Facebook's messenger but at bot's end we are getting nothing. Would you please help with code snippet for this?

@Yudner and @clari182 If you have hit the target , please help me as well here. Your help would be highly appreciated

@dandriscoll  Hi, Is this issue going to be closed or will be reopened? We were not able to discover stand methods to accept location from FB messenger at Bot's (Microsoft) end. If you know a way, it would be helpful.

@dandriscoll  I only have one code in c #

@dandriscoll here you have the class: https://github.com/Yudner/Bot-Framework-Code/blob/master/LocationFacebookControl/FacebookLocationControlDialog.cs
you just call him in a context.Call().

Thanks for your reply @Yudner


Removing child content view controller from its parent

Prevents from potential memory leaks if a new content view controller is created each time you navigate.

Nice catch! Thank you for the contribution. Hope you are able to put this library to good use!


K.dot: use integer shape if available

Fixed an error when PR https://github.com/fchollet/keras/pull/4632 was rewritten. @fchollet
s (symbolic shape) is never None. Use integer shape if available, and use symbolic shape otherwise.

That's correct, thanks.


support for persisten connection and connection pool

Hello the project is very nice but I don't see support for persistent connections (send multiple requests over the same connection) and also support for a connection pool.

This is a good idea. I think in it's current state it depends on https://github.com/mrtazz/restclient-cpp/issues/27 as libcurl achieves persistent connections and pooling via request done with the same handle (http://curl.haxx.se/docs/faq.html#What_about_Keep_Alive_or_persist). So once I find some time to fix #27 this should be possible. I'll definitely keep this issue in mind when working on the usability improvements.

implemented with https://github.com/mrtazz/restclient-cpp/pull/39


[SPARK-25565][BUILD] Add scalastyle rule to check add Locale.ROOT to .toLowerCase and .toUpperCase for internal calls

What changes were proposed in this pull request?
This PR adds a rule to force .toLowerCase(Locale.ROOT) or toUpperCase(Locale.ROOT).
It produces an error as below:
[error]       Are you sure that you want to use toUpperCase or toLowerCase without the root locale? In most cases, you
[error]       should use toUpperCase(Locale.ROOT) or toLowerCase(Locale.ROOT) instead.
[error]       If you must use toUpperCase or toLowerCase without the root locale, wrap the code block with
[error]       // scalastyle:off caselocale
[error]       .toUpperCase
[error]       .toLowerCase
[error]       // scalastyle:on caselocale

This PR excludes the cases above for SQL code path for external calls like table name, column name and etc.
For test suites, or when it's clear there's no locale problem like Turkish locale problem, it uses Locale.ROOT.
One minor problem is, UTF8String has both methods, toLowerCase and toUpperCase, and the new rule detects them as well. They are ignored.
How was this patch tested?
Manually tested, and Jenkins tests.

Test build #96748 has finished for PR 22581 at commit adda54f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96748/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3572/
Test PASSed.

Test build #96763 has started for PR 22581 at commit adda54f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3575/
Test PASSed.

Test build #96770 has started for PR 22581 at commit e011d5f.

Test build #96763 has finished for PR 22581 at commit adda54f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96763/
Test FAILed.

Test build #96770 has finished for PR 22581 at commit e011d5f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96770/
Test FAILed.

Test build #96785 has started for PR 22581 at commit d48825d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3586/
Test PASSed.

Test build #96785 has finished for PR 22581 at commit d48825d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96785/
Test FAILed.

retest this please

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3591/
Test PASSed.

Merged build finished. Test PASSed.

Test build #96791 has started for PR 22581 at commit d48825d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3595/
Test PASSed.

Test build #96798 has finished for PR 22581 at commit d48825d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96798/
Test PASSed.

Merged build finished. Test PASSed.

rebased to reflect the latest change.

just rebased to run the test to reflect the latest changes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3597/
Test PASSed.

Merged to master.

Thanks for reviewing this @srowen and @wangyum


update gauge_report_dir from cmd line

Is your feature request related to a problem? Please describe.
Is there a way I can update gauge_report_dir from cmd line during start of execution ?
Describe the solution you'd like
NA
Describe alternatives you've considered
NA
Additional context
NA

@zabil Can you please check ?

How to do this with project having maven java

@zabil, using a bat file is what you mean?

You can pass environment variables to maven too. There's an example mentioned at
https://stackoverflow.com/questions/5510690/environment-variable-with-maven


Variable length record parsing

Background [Optional]
I have multi layout file with certain order.
I group each layout and last layout is repeated multiple times.
each layout is fixed length file(200 bytes).
Example:
1.FH
2.LH
3.BH1
4.DE1
5.AD
:
:
10.DE2
11.AD
:
13.BH2
14.DE1
15.AD
:
:
I rearrange layouts like
FH,LH,BH1,DE1,{4 bytes count of AD}Array[AD]
FH,LH,BH1,DE2,{4 bytes  count of AD}Array[AD]
FH,LH,BH2,DE1,{4 bytes  count of AD}Array[AD]
FH,LH,BH2,DE2,{4 bytes  count of AD}Array[AD]
Question
How do I parse RDD[Array[Bytes]] using framework?
‘’’
import za.co.absa.cobrix.spark.cobol.Cobrix
val rdd = ???
val df = Cobrix.fromRdd
.copybookContents(copybook)
.option("encoding", "ebcdic") // any supported option
.load(rdd)
‘’’

Sorry, I'm not sure I understand your question.

The segment re-arrangement is quite a common pattern. We have even a feature request to support it directly in Cobrix (https://github.com/AbsaOSS/cobrix/issues/369). But for now, usually we use segment id to segment field mapping to read all segments, and then use Spark's windowing functions to re-arrange segments. But as I understand you've already doe this step.
Parsing an RDD[Array[Byte]] is done exactly as you specified in your question.


Null value ternary check with value_if_true expression having multiple function calls

Hello,
I believe I have found a bug.
If you have a possibly null value and check its value with a ternary, then the first call to a function property of the value will pass, but the second call will fail. It's a little hard to describe all the circumstances so I've written up some examples below.
 1  /* @flow */
 2  class Abc {
 3      prop: ?{
 4          a: Array<Abc>,
 5          b: Array<Abc>
 6      };
 7
 8      // Passes
 9      a(): ?{a:Array<Abc>,b:Array<Abc>} {
10          return this.prop ? {
11              a: this.prop.a,
12              b: this.prop.b
13          } : null;
14      }
15
16      // Passes
17      b(): ?{a:number,b:number} {
18          return this.prop ? {
19              a: this.prop.a.length,
20              b: this.prop.b.length
21          } : null;
22      }
23
24      // Fails
25      c(): ?{a:number,b:number} {
26          return this.prop ? {
27              a: this.prop.a.indexOf(new Abc),  // <-- This passes
28              b: this.prop.b.indexOf(new Abc)   // <-- This fails
29                                                //     test.js:28:16,26: property b
30                                                //     Property cannot be accessed on possibly null value
31                                                //     test.js:3:12,6:5: null
32          } : null;
33      }
34
35      // Fails
36      d(): ?{a:number,b:number} {
37          return this.prop ? {
38              a: this.prop.a.indexOf(new Abc), // <-- This passes
39              b: this.prop.b.length            // <-- This Fails
40                                               //     test.js:39:16,26: property b
41                                               //     Property cannot be accessed on possibly null value
42                                               //     test.js:3:12,6:5: null
43          } : null;
44      }
45
46      // Passes
47      e(): ?{a:number,b:number} {
48          return this.prop ? {
49              a: this.prop.a.length,
50              b: this.prop.b.indexOf(new Abc)
51          } : null;
52      }
53  }

Here is the full error output:
test.js:28:16,26: property b
Property cannot be accessed on possibly null value
test.js:3:12,6:5: null
Error path:
test.js:3:12,6:5: NullT [null]
test.js:28:16,26: ~> GetT [property b] comes from
test.js:3:12,6:5: . MaybeT [?object type]
test.js:28:16,26: . ~> GetT [property b] comes from
test.js:28:16,19: . . InstanceT [Abc]
test.js:28:16,24: . . ~> GetT [property prop]

test.js:28:16,26: property b
Property cannot be accessed on possibly undefined value
test.js:3:12,6:5: undefined
Error path:
test.js:3:12,6:5: VoidT [undefined]
test.js:28:16,26: ~> GetT [property b] comes from
test.js:3:12,6:5: . MaybeT [?object type]
test.js:28:16,26: . ~> GetT [property b] comes from
test.js:28:16,19: . . InstanceT [Abc]
test.js:28:16,24: . . ~> GetT [property prop]

test.js:39:16,26: property b
Property cannot be accessed on possibly null value
test.js:3:12,6:5: null
Error path:
test.js:3:12,6:5: NullT [null]
test.js:39:16,26: ~> GetT [property b] comes from
test.js:3:12,6:5: . MaybeT [?object type]
test.js:39:16,26: . ~> GetT [property b] comes from
test.js:39:16,19: . . InstanceT [Abc]
test.js:39:16,24: . . ~> GetT [property prop]

test.js:39:16,26: property b
Property cannot be accessed on possibly undefined value
test.js:3:12,6:5: undefined
Error path:
test.js:3:12,6:5: VoidT [undefined]
test.js:39:16,26: ~> GetT [property b] comes from
test.js:3:12,6:5: . MaybeT [?object type]
test.js:39:16,26: . ~> GetT [property b] comes from
test.js:39:16,19: . . InstanceT [Abc]
test.js:39:16,24: . . ~> GetT [property prop]

And finally the code without line numbers:
/* @flow */
class Abc {
    prop: ?{
        a: Array<Abc>,
        b: Array<Abc>
    };

    // Passes
    a(): ?{a:Array<Abc>,b:Array<Abc>} {
        return this.prop ? {
            a: this.prop.a,
            b: this.prop.b
        } : null;
    }

    // Passes
    b(): ?{a:number,b:number} {
        return this.prop ? {
            a: this.prop.a.length,
            b: this.prop.b.length
        } : null;
    }

    // Fails
    c(): ?{a:number,b:number} {
        return this.prop ? {
            a: this.prop.a.indexOf(new Abc),  // <-- This passes
            b: this.prop.b.indexOf(new Abc)   // <-- This fails
                                              //     test.js:28:16,26: property b
                                              //     Property cannot be accessed on possibly null value
                                              //     test.js:3:12,6:5: null
        } : null;
    }

    // Fails
    d(): ?{a:number,b:number} {
        return this.prop ? {
            a: this.prop.a.indexOf(new Abc), // <-- This passes
            b: this.prop.b.length            // <-- This Fails
                                             //     test.js:39:16,26: property b
                                             //     Property cannot be accessed on possibly null value
                                             //     test.js:3:12,6:5: null
        } : null;
    }

    // Passes
    e(): ?{a:number,b:number} {
        return this.prop ? {
            a: this.prop.a.length,
            b: this.prop.b.indexOf(new Abc)
        } : null;
    }
}

Hi @kkirby. Thank you for writing up this very detailed issue report! Your details make it easy to see what is going on. I believe you are running into a documented shortcoming in dynamic type tests.
Hopefully the documentation will explain why Flow behaves as it does, and the provided workaround will help you push through. I want to be clear that Flow's errors in this case don't necessarily indicate a type error in your code, but allowing this code requires some analysis that Flow doesn't currently perform, so Flow is pessimistic.
As far as the workaround, what you need to do is pull off this.prop into a local variable, so Flow can know for sure that the function calls (indexOf in this case) don't change the value of property.
Please let me know if the documentation is unclear and feel free to reopen if you run into further complications. Thanks again!

Ah, yeah, that'll do it. I appear to be having issues like this a lot. At any rate, thanks for your response, and sorry for filing a bug on a documented issue.

Don't worry about opening an issue. I'm sorry that we have to close this without a better resolution. We are definitely interested in the mutation analysis that would help Flow accept this code, and we're already tracking that. Please continue to file issues—your feedback is appreciated!


Add WebsocketProxy.Director optional function to forward additional headers

Useful in situations where a WebSocket HTTP server that is being proxied to
requires custom headers, and also should fix issues like https://github.com/koding/websocketproxy/issues/9

It looks like this project is built with a (very) old version of Go on CI, which doesn't have sync.Pool, hence the error:
../../gorilla/websocket/compression.go:95: undefined: sync.Pool

You can update the version here

Thanks! I've added a commit to fix Travis directly to this PR. It looks like Go 1.5 is the minimum required version, because of tls.Config.GetCertificate being in use.

Thanks @slimsag!


Send Welcome / Double Opt-in doesn't work

This doesn't really have anything to do with thus plugin directly but using the jsonp interface has anyone been able to get the double_optin or send_welcome options to work?
I can get a subscription to be added fine but it doesn't honor a double_optin: false.

@danethomas if you are hitting lists that are backed by mailchimp forms, they will always be double opt-in. Single opt-in is only available via your own forms or 3rd party like wufoo.
http://kb.mailchimp.com/lists/signup-forms/the-double-opt-in-process

Please let me know, can double option work with jquery ajax? I tried but it does not any result.
Actually I want add user without confirmation using Jquery and Ajax except PHP code.


Adding x-axis scroll handlers to frost-scroll

This project uses semver, please check the scope of this pr:

[ ] #none# - documentation fixes and/or test additions
[x] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

CHANGELOG

Added x-axis scroll event handlers to frost-scroll
Added tests for new scroll events

Changes Unknown when pulling b5ee0ec8a5f597555cc665b09bd1fc4fbe1fc4f2 on rox163:master into ** on ciena-frost:master**.


Fixed README

I'm wondering should this line be updated ?
// https://twitter.com/statuses/2

perhaps .. I think it works on desktop, but not on mobile. Something like that

Ok I will test it ASAP


You use the project docker/docker that redirects to moby/moby

https://github.com/wagoodman/dive/blob/master/image/docker_image.go#L14

That is intended. I've tried updating the dependencies to moby/moby with no success. It also appears that it is not working yet for everyone: https://github.com/moby/moby/issues/33245#issuecomment-488552216

So dive is broken. I can't update the FreeBSD port because docker/docker doesn't exist any more.

@yurivict, you should be able to fork and just edit go.mod to use moby/moby (or any other) through replace. That's the main point of go modules.

I'm a package maintainer. I can't make edits to upstream projects and maintain their forks.

In that case, you can export the fixes to go.mod as a patch, which is a standard procedure. Do you know which specific dependecies need to be modified to work on freebsd?


Unmounting removable disk-like devices from inside the chroot

Whenever I connect a removable disk-like device, the chroot shows a window telling I don't have the permission -- that's a little annoying but not a problem.
But when I want to unmount the device, I have to switch back to chromeos, open the file manager and click -- and I find that a problem, since that's the only thing I use chromeos for (apart from starting the chroot!)...
So is there a way to unmount those from inside the chroot ?
Thanks!

@SnarkBoojum,
Which way you've used to do mount/unmount with (i.e. mount, udiskctl, gvfs-mount, nautilus, thunar, and so much more...)? I think this issue depends on your desktop environments as well since your method might be based on some backends related to desktop framework. And one more thing, policykit also lies behind the frontend of mount actions strongly... So did you tweak such policykit rules to fit your usage of mount/unmount?
As my experiences, once we've unmount (something like sudo umount ...) the external storages at the early stage of kicking chroot, after all we could mount/unmount anytime we want via file-manager if we properly prepared for some policykit rules before we've done things.
Regards.

I tried in PCManFM, and in a terminal with umount (no sudo), and I have no tweak anywhere : I innocently thought it could just-work(tm) :-P

Devices should be mounted/unmounted in Chromium OS.


Select2 single dropdown list doesn't work in firefox 35 or firefox 34.0.5

See stackoverflow question for details.
http://stackoverflow.com/questions/27932134/select2-js-for-single-dropdown-broken-in-firefox

Does it work here?
https://select2.github.io/examples.html
Otherwise it doesn't appear to be a bug, it's a usage question.

it does work there, so I'll post about it in usage. thanks.


Very little Docker daemon logging in swarmmode swarms

BUG REPORT
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Swarmmode
What happened:
Swarmmode is based on Ubuntu Xenial. https://success.docker.com/KBase/Where_are_the_Docker_daemon_logs%3F suggests /var/log/upstart/docker.log, but that file is not present. Minimal daemon logging is present in /var/log/syslog.
Are logs aggregated somewhere else?
Repro steps
1 - Create a swarmmode swarm via https://github.com/Azure/azure-quickstart-templates/tree/master/101-acsengine-swarmmode
2 - ssh to a master node
3 - docker run hello-world
4 - cat /var/log/syslog | grep docker
Observed
Very minimal logging:
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95788.866420] aufs au_opts_verify:1597:dockerd[1419]: dirperm1 breaks the protection by the permission bits on the lower branch
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95788.999546] aufs au_opts_verify:1597:dockerd[1419]: dirperm1 breaks the protection by the permission bits on the lower branch
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95789.111759] aufs au_opts_verify:1597:dockerd[1251]: dirperm1 breaks the protection by the permission bits on the lower branch
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95789.113368] docker0: port 1(veth8adaf75) entered forwarding state
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95789.113372] docker0: port 1(veth8adaf75) entered forwarding state
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95789.114397] docker0: port 1(veth8adaf75) entered disabled state
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95789.640328] docker0: port 1(veth8adaf75) entered forwarding state
Jun  4 22:45:48 swarmm-master-13957614-0 kernel: [95789.640334] docker0: port 1(veth8adaf75) entered forwarding state
Jun  4 22:45:49 swarmm-master-13957614-0 kernel: [95789.826485] docker0: port 1(veth8adaf75) entered disabled state
Jun  4 22:45:49 swarmm-master-13957614-0 kernel: [95789.919501] docker0: port 1(veth8adaf75) entered disabled state
Jun  4 22:45:49 swarmm-master-13957614-0 kernel: [95789.921390] docker0: port 1(veth8adaf75) entered disabled state

What you expected to happen:
docker daemon logging related to running hello-world container
As a reference, see the logging available in a Docker EE Basic for Azure swarm: /var/log/docker.log contains lots of runtime info
How to reproduce it (as minimally and precisely as possible):
Above
Anything else we need to know:

Could be related to https://github.com/Azure/acs-engine/issues/689 ?

@ams0 json-file is the configured logging method, so not sure #689 is relevant
`[swarmacs] ~ $ docker info
Containers: 3
Running: 1
Paused: 0
Stopped: 2
Images: 4
Server Version: 17.03.1-ce
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 17
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log:
Swarm: active
NodeID: xgujzxv1bb7n3d5ih5zl7um69
Is Manager: true
ClusterID: vd58o0p532y9qpbijvm4i1581
Managers: 1
Nodes: 3
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 3
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Force Rotate: 0
Root Rotation In Progress: false
Node Address: <IP_ADDRESS>
Manager Addresses:
<IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-66-generic
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 6.804GiB
Name: swarmm-master-13957614-0
ID: W4QP:VM2B:4LPC:3WBL:5C6H:IBT3:S3YK:7TKV:IN5L:DDGS:VU25:YSFX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
WARNING: No swap limit support`

Creating /etc/docker/daemon.json with
{
     "debug": true
}

allows the expected level of logging to be available via journalctl -u docker.service
Setting this by default (as is the case in other Docker Editions) will enable usable dockerd logs without requiring configuration.


API versioning - best practices & built-in support

When a product evolves, the API often does as well. Not allowing breaking changes can make life harder than necessary and lead to errors due to use of "deprecated" fields or endpoints.
Introducing more and more endpoints like suggested here can lead to a convoluted interface where it may not be instantly clear which endpoints are "currently recommended".
For that reason endpoints are often "versioned" and return something "completely" different for different versions.
I encountered a few different strategies for this over the past years:

"root" versioning (api.example.com/v1/foo/bar) - changing one endpoints signature increases the version for all endpoints
"per endpoint" versioning which is similar to root versioning, but changing one endpoint only increases its version the rest remains the same
"queryParam" versioning (api.example.com/foo/bar?v=1) (sometimes also done with header parameters) - basically the same as above but does not use the path for versioning.

Current state
Since Serverpod generates the endpoints for us we can currently use "per endpoint" versioning by copying the Endpoint/ Method in the Endpoint and changing the copy. Downside is that would still have access to all "old" endpoints/methods in the most current version of the client - we could probably try annotating with @deprecated, but it looks to me like we have no way to enforce that new functionality does not try to use old endpoints?
Other options
In other projects we have been using an http interceptor to add a version parameter to all requests - maybe something similar could be achieved by adding versioning into the "Endpoint" class?
Another idea could be to generate different (frontend) clients for each "version" and in the server code have a "builder/factory" which builds the endpoints for different versions (functional switch) - the builder would get a "config" object and return a suitable endpoint which we as devs write. A versioning mechanism would be necessary (e.g. pubspec.yaml if used with a registry or git tags if used in a mono repo?)
Conclusion
For now I think adding a few lines to the docs could be enough, but when targeting "enterprise" customers it would be great to have a versioning solution (or at least a recommended best practice) at hand.

I must have overlooked https://github.com/serverpod/serverpod/issues/1711 - we both discuss something very similar here

I'll close this issue in favor of #1711 since the feature request is around the same topic.
Will mention this issue there for more thoughts on the subject.
Please reopen if you don't agree with the decision with a motivation why :)


Livestream sorting

Steps to reproduce
Part of the process concerned
youtube_req.sort_livestreams(YOUTUBE_OAUTH, playlists_lives, prog_bar=PROG_BAR)

Expected behavior
The livestream playist should be sorted by concurrent viewers without generating any errors.
Actual behavior
Issue reported in logs during Livestream playlist sorting.
2024-06-03 15:21:09+0000 [WARNING] - (IvuwTft-0cM) - [{'message': 'Request contains an invalid argument.', 'domain': 'global', 'reason': 'badRequest'}]

Sorting isn't working since May 23rd, 2024.
Operating system
Unix (GitHub Actions)
Package-management system and Python version
Python 3.10
Dependencies
No response
Other details
Might be related to a change in YouTube API.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have filled out all of the requested information in this form.

Issue fixed today. ✅
Sorting will be enable tomorrow.


Piping not working for question options

When I pipe the answer to a list question I need to quote the "{{ placeholder }}" but this is causing the question options to be individual characters of the string "{{ placeholder }}":
https://www.expectedparrot.com/content/f04114db-18b0-443a-bd31-96e42b64a61e

@johnjosephhorton I am still having piping issues with question options: https://www.expectedparrot.com/content/b7cf5eb3-9e2e-4a7b-bd96-8ea436066412

@johnjosephhorton see updated notebook


Project Maintainer Dead?

Last commit in master was over a year ago and PRs are piling up, could we please get someone to take over ownership or add another owner?
I'm joking, of course about being dead, but how likely will it be for me to get a PR merged that adds headers for HTTP inputs on secure buckets? I just completed the work and going to submit a PR tonight.

If you don't have time or lost interest, could you please a few maintainers?

See https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/755.


TabView not rendering if sibling components are present or it has a parent

Current behaviour
TabView is not getting rendered when there are sibling components or if it's rendered like this - .
Currently, I have a component that's like this HelloWorld.

TabView is not getting rendered. Only Hello & World are getting rendered.
Expected behaviour
The following must be the rendered components - Hello  World

I expect the TabView to render with sibling components.
Code sample
import React from "react";

import { View, StyleSheet, Dimensions, Text } from 'react-native';
import { TabView, SceneMap } from 'react-native-tab-view';

const FirstRoute = () => (
  <View style={styles.scene}><Text>First</Text></View>
);
const SecondRoute = () => (
  <View style={styles.scene}><Text>Second</Text></View>
);
const ThirdRoute = () => (
  <View style={styles.scene}><Text>Third</Text></View>
);

export default class TabViewExample extends React.Component {
  state = {
    index: 0,
    routes: [
      { key: 'first', title: 'First' },
      { key: 'second', title: 'Second' },
      { key: 'third', title: 'Third' },
    ],
  };

  render() {
    return (
      <View>
        <Text>Hello</Text>
        <TabView
            navigationState={this.state}
            renderScene={SceneMap({
                first: FirstRoute,
                second: SecondRoute,
                third: ThirdRoute,
            })}
            onIndexChange={index => this.setState({ index })}
            initialLayout={{ width: Dimensions.get('window').width }}
          />
        <Text>World</Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  scene: {
    flex: 1,
    justifyContent: "center",
    alignItems: "center"
  },
});

Screenshots (if applicable)

What have you tried

I wrapped TabComponent inside another component called TabWrapper. Tried HelloWorld. Didn't work.
Your Environment

software
version

android
9.0.4 OxygenOS on OnePlus 5

react-native
0.57.2

react-native-tab-view
2.0.3

react-native-gesture-handler
1.1.0

react-native-reanimated
1.0.0-alpha.12

node
8.12.0

npm or yarn
yarn

Add style={{ flex: 1 }} to your wrapper view

Thank you, @satya164.


[Maybe a feature request] warn deprecated items in completion

During completion, I want to recognize which items are deprecated at a glance.  Maybe showing ⚠ before item names in the completion list would be nice.
The problem is that I am not quite sure this issue should be filed in this repository.  Is it rather a problem of LSP client?  Anyway, let me submit this so that I won't at least forget my new idea...  Sorry if it bothers you.

We mark them as deprecated and they show up in Code like this:

Alright, so this is coc.nvim issue, which is what I use.  Sorry for the noise.


Prepare v0.13.10

@SlimRunner I added some extra instructions in clean-css.mjs here with regards to generating the css overrides. Downloading the css isn't yet automated in the same way that setup-unit.js automatically downloads the JS.

Ah, good thing we have the feed in Discord. Should I make a branch to add this?
builtin-settings-opt-showIDs-name = Mostrar IDs
# Unchanged
builtin-settings-opt-showIDs-desc = {""}

I goes below line 139 in es.ftl.
Or you could do it since it is so small.

Ack, I just submitted to Chrome. It'll have to go in the next release. I can take care of it.

No problem. I will do push the PR later tomorrow.


password reset

Hi, Do you look at google password reset ever? i configured the myaccount sub domain and the problem is when it verify password for second time you can't get back to your domain and will redirect to their website.
In other word can we see myaccount.google.com as myaccount.fake.com and it show our username and we see that we are login.
I want after authorize see the myaccount page that say i am login. (on the fake domain.)
Regards

That would require a lot of work to successfully proxy the whole website and make it functional.
You are free to try though.

Hard work ;). Thank you


Minor Improvement:

Add final variable.try to make the code read-only
inline Variable. Simplify code

Coverage decreased (-0.0006%) to 94.981% when pulling 4c2deba6db9e6b40becf5ddc0a235b58e165972c on arturobernalg:feature/minor_improvement_3 into 0b135af5a0553d9882efef13e60a464986e6af36 on apache:master.

Coverage decreased (-0.0006%) to 94.981% when pulling 4c2deba6db9e6b40becf5ddc0a235b58e165972c on arturobernalg:feature/minor_improvement_3 into 0b135af5a0553d9882efef13e60a464986e6af36 on apache:master.


When I search word with number, return a lot of irrelevant results

Hi! For example I search foo 1.
In the search_indexes.py, in the ProductIndex clas, the text field is CharField.
Why is this?
Thanks!

in the ProductIndex class, the text field is CharField.

What would you want it to be instead?

Closing due to lack of feedback - please feel free to reopen if you can clarify the issue.


Oauth2 Authentification

Since micronaut support oauth2, it will be fine to have this support on KafkaHQ

I've got a question.
Currently, to set the oauth2 config in micronaut, it's required to use
micronaut:
  security:
    oauth2:
      ...

To be more consistent, I thought we could set the oauth2 settings under
kafkahq:
  security:
    oauth2:
      ...

I've discussed a bit with the community about this. To do that, we just need to @Replace the oauth configuration bean, to make sure it take config from the key we want.
Do you want to do this or to let the default micronaut key ?

to be honest, I just can't think you could change the micronaut.securty.oauth by a custom one.
I imagine It can be done with an extends to the base config class, just change the configuration prefix, and add @Replaces. no ?
To be honest, I'm not really sur to change this one. (not really sure, just first impression).
The advantage with keep micronaut one,  just drop a link in kafkahq docs to micronaut docs and documentation is done and up to date.
In the others case, you will need to keep sync the documentation, and since it not my preferred flavor :smile: , I'm not really sure to want that.
seems to be simpler like that, no ?

Yes, exactly how you have to do it apparently, but I haven't tried it yet.
I understand the sync documentation argument, and, I rather agree with that. It's not my preferred flavor either 😆.
However, this are the two points I had in mind when asking this :

link to the micronaut documentation will lead for the user to think he has something to do with
an implementation of OauthUserDetailsMapper, because it's one of the pre-requisites in the documentation.
However, to avoid this, we could just add a little bit of informations in an oauth2 section in the documentation.

Speaking of OauthUserDetailsMapper impl, we will provide some, compatible with the different oauth2 providers (keycloak, google, amazon..).
We'll have to create one per provider, or try to be generic, I guess, because the detail of the users can be different from provider to provider. (I am not 100% sure about this, I have to check the result of getUserDetail from at least 2 providers)

The workflow , as I understand it, is the following:

Redirect to provider login page
Login
Callback to kafkaHQ with an access token
Call the provider api to get user details using the access token.
Convert user details from the provider to UserDetails of micronaut.

4 and 5 are the userDetailsMapper's job.
The userDetailsMapper class used is dependent of the name set for the oauth2 client.
(Ex: if the user sets the client name "toto", then the impl has to be called TotoUserDetailsMapper.)
For this, I wanted to create a field, based on an enum that could control which mapper can be called. (the implemented ones).

Oh my god !
You're right, micronaut don't provider standard (like google, ...) oauth flow ...
I don't have think they will not provide it !
Also, seen the micronaut docs, really too complicated for a standard user, so we clearly need to add configuration on README in order to just extract relevant information.
(you catch me, I don't read the doc for a long time :smile:)
Here is a complex challenge, defined if you want to be generic or not.
As I know, all provider with give you at least a login (or email depending on provider).
This can be sufficient to allow user to log and provide an internal mapping of user in KafkaHQ and login like that :
kafkahq:
  security:
    google:
      domain: # Allow domain
      - mycompany.com
      default-roles: # Default roles when log through oauth
      - topic/read
      users:
        user: # Oauth Login Username
            roles:
            - topic/read
            - topic/insert
            - topic/delete
            attributes:
              topics-filter-regexp: "test.*"

WIll work for basic usage, but people will want to have some king of group.
But I think you can see this later for now.
I don't think it will be easy to have group of users from oauth simply not on google for example.
So my opinion, If you can go generic and only extract login & potentially email (depending on providers), just go, I'll work for most use case and good first win.
Just let the possibility later to have specific OauthUserDetailsMapper for later maybe ?
This example https://github.com/micronaut-guides/micronaut-oauth2-oidc-google don't seems to have a specific OauthUserDetailsMapper (but have a HostedDomainClaimValidator that seems to be specific for google for claims.get part).
Sorry to be very large on this response, but I never play with the micronaut implementation and my previous oauth2 flow provider implementation by providers.
To recap :

if generic is possible

go for it
maybe later we will add specific call

if generic is not possible

we need to start with a standard one (google I think)

Tell me if it make sense for you ?


Wrong modal width in medium screens

As shown in the following image, in small screens the modal component has a lot of space around

I've improved the max-width on smaller screens and added a wide prop for Modals


How to modify the number of rounds for blake3?

Hello. Our current requirement is to reduce the number of rounds for Blake3 because our requirement is quite special. We may not need such a secure hash algorithm. The simplest way may be to reduce its number of rounds. How can I reduce the number of rounds in the code?

If you just wanted to see what the hash output would be with a reduced number of rounds, you could remove some rounds from the reference implementation here. But making the same change in the high-performance implementation is a lot of sensitive work, because that number is hardcoded in many different places. There are separate implementation files for AVX-512, AVX2, SSE4.1, SSE2, NEON, and portable code. Most of those are assembly code, which comes in three different flavors (Unix, Windows MSVC, and Windows GNU). For example, to change the number of rounds in just the Unix AVX-512 implementation, you'd need to delete unrolled rounds here and here, and you'd need to change loop bounds in five different places that look like this.

@oconnor663 Thank you very much. I will try to make the modifications you pointed out. But actually, I have a doubt now. I am not familiar with the Rust language. Yesterday, I tried to comment out the code for the reference implementation, and then I recompiled the project. I see that the hash value obtained using b3sum has not changed, why is this? I am certain that I deleted the target folders under Blake3 and b3sum and rerun "cargo build -- release". And perform hash calculations on the same file using the regenerated b3sum.


Added a new category called Framework Guides

Pull request related to issue #4638

Summary
This modification creates a new category called "Framework Guides" whose intent is to group all guides related to testing web frameworks with Jest.

As mentioned in the issue #4638, this modification minimize the feeling that React is "the framework" and everything else is branded as "other".
Test plan
Set up:

Clone the repo
run: yarn install
cd into the website folder
run: npm ./server/generate.js
run: yarn start

Check:

[ ] That "Framework Guides" section appears on the left menu before the "Guides" section.

[ ] That "Framework Guides" section contains only the following 3 links:

Testing React Apps

Testing React Native Apps

Testing Web Frameworks

The menu content before this change is as follows:

The menu content after this change:

Nice, thank you!

You're welcome.

Hi @jcfausto we just changed the file structure around docs. Let me work to get this in.


UWP Game project set up page - New Project dialog screenshot is out of date

The screenshot after Step 4 in the "Use DirectX template to create a project" procedure doesn't reflect what Visual Studio's New Project dialog looks like in either VS 2017 or VS 2019.
It might also be worth mentioning after "The template used for this tutorial is titled DirectX 11 App (Universal Windows)" that the template is only available if you've installed the "Universal Windows Platform development" workload. Or, at least mention the requirement somewhere in the prerequisites in the previous Simple UWP Game article.
(I'm relaying customer comments from elsewhere. Thanks!)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0aa02bcc-0841-3108-8f7e-47abbe6850a1
Version Independent ID: 91c62675-45a3-5cc6-7d4a-55fbf511ad8e
Content: Set up the game project - UWP applications
Content Source: windows-apps-src/gaming/tutorial--setting-up-the-games-infrastructure.md
Product: uwp
Technology: games
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @corob-msft, thanks for the heads up. I'll take a look, and update this comment when I have more info.
Thanks again!
Steve

Hi, Colin! So, I have a work item lined up to go through this whole series of topics and update the code to use C++/WinRT instead of C++/CX. I have the sample app already ported, I'm just awaiting code review before taking the next step. So I'll do something about the images while I'm doing that work.
Feel free to ping me internally if you like. For here, I'll go ahead and close the GitHub issue since I'm tracking it already with my internal work item.
Thanks again!
Steve


plugin behavior works on flush instead of event

I have one plugin which wants to override the originalTimestamp
Suppose I will fire the three events:
// change timestamp = 100 in plugin
segment.track

// change timestamp = 101 in plugin
segment.group

// change timestamp = 102 in plugin
segment.screen

segment.flush

The final result would be all of events are using the latest timestamp = 102 after flush.
But the expect result from my requirement that I want to set each event has its timestamp which can be modified by plugin.
Is that possible?

please reach out to<EMAIL_ADDRESS>with a copy of this report for futher assistance. they can better support for this type of questions


Add Aptos OmniSwap.

Thank you for making this list awesome! Please make sure that your addition follows the format [project_name](link) - Description. and other contribution requirements such as the Add project_name commit format.

https://github.com/MystenLabs/awesome-move/pull/50,
Because the whole omniswap code contains a lot of solidity code, and our awesome-move only shows the Move code. So I took out the cross-chain one-click swap part related to Aptos Move and submitted PR separately.

@gguoss Perfect, thank you! In fact, I was about to ask about this in #50, but you already fixed this :+1: Going to merge this, and close #50 (because this PR does the same thing, right?).

@gguoss Perfect, thank you! In fact, I was about to ask about this in #50, but you already fixed this 👍 Going to merge this, and close #50 (because this PR does the same thing, right?).

thank you, that's great


Error with Anki 2.1.56

This add-on worked with 2.1.54, but after upgrading to 2.1.56 it fails. After downgrading to 2.1.54 it's working again.

Thanks for reporting! I'll check it out this weekend.
On Tue, Jan 10, 2023, 10:43 PM James Kraus @.***> wrote:

This add-on worked with 2.1.54, but after upgrading to 2.1.56 it fails.
After downgrading to 2.1.54 it's working again.
—
Reply to this email directly, view it on GitHub
https://github.com/JASchilz/AnkiSyncDuolingo/issues/63, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABO2Q4FAXJB337UVMI6BT4DWRZI7HANCNFSM6AAAAAATXVIHJM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Just wanted to check in and say that I haven't been able to look at this
yet, but it's still on my radar.
On Wed, Jan 11, 2023 at 7:08 AM Joseph Schilz @.***>
wrote:

Thanks for reporting! I'll check it out this weekend.
On Tue, Jan 10, 2023, 10:43 PM James Kraus @.***>
wrote:

This add-on worked with 2.1.54, but after upgrading to 2.1.56 it fails.
After downgrading to 2.1.54 it's working again.
—
Reply to this email directly, view it on GitHub
https://github.com/JASchilz/AnkiSyncDuolingo/issues/63, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABO2Q4FAXJB337UVMI6BT4DWRZI7HANCNFSM6AAAAAATXVIHJM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi @jameskraus . I've tested the release candidate based on your PR under Anki 2.1.60 using both QT5 and QT6 and am unable to reproduce the issue.
Perhaps your changes address the issue? Could you let me know if the issue persists for you using that release candidate with Anki 2.1.60?


Concurrency problem

@brockallen We have an app with 1 widget using the client (v1.6.1), no problem. But, if we have 2 widgets in the same app (or different apps, but same window) I can see the CPU and memory spinning and just 1 of them works properly.
Have you faced this before? Do you have some hint about it?

Some of the features of the UserManager aren't really designed to run several instances on the same page. I don't know why you see CPU or memory issues.

@brockallen I am debugging the website, where I try to run 2 widgets, each one with the UserManager.
The first time in a new incognito window (no session/site data), the app "A" is OK, while "B" throws:
Uncaught (in promise) Error: No matching state found in storage
    at oidc-client.min.js:1

Do you think could be possible in createSigninRequest  check if there is an ongoing query and resolve to same value? (or something similar).

Uncaught (in promise) Error: No matching state found in storage

this error is due to the response not finding the correlation data it needs to complete the response processing. that's normally because the redirect is to a different scheme, or the storage is lost across the request/response. also i've seen storage not work when in an incognito window.

@brockallen It is not related to incognito window, in a normal one but starting with no site data in cache, it happens too. Just the first widget (A) load properly, while the second throws the error. If after the error I refresh the window, then both are working.
I have created a small repro, but with almost no extra code, but it relays in some internal non-published packages, then I can not share it.
Do you have some idea what could cause this effect? I mean, once "something" stored, works but it is not when we start without cache.

Have a look at this thread... it might have some info: https://github.com/IdentityModel/oidc-client-js/issues/832#issuecomment-485910301

Closing. If you still have issues, feel free to reopen.

@brockallen Could you please re-open this issue to follow up?
As you stated above, when we have more than 1 instance of OIDC, for example 2 widgets at the same time, there is some problem to keep the storage in sync with request/response.
It is because the first instance is "deleting" the storage entry, then the second instance get stuck there and dropping "No matching state found in storage".
https://github.com/IdentityModel/oidc-client-js/blob/53c0bcc7264fc5f80b0748f32f589bf54a65ef28/src/OidcClient.js#L115
The trigger is the param removeState with true in this call:
https://github.com/IdentityModel/oidc-client-js/blob/53c0bcc7264fc5f80b0748f32f589bf54a65ef28/src/OidcClient.js#L131
If we just keep the entry, passing false, then both instances can work without problem.
No error and no visible side-effect, except kept entry in store.
Then, from my point view, removing the entries becomes dangerous as long as we do not know how many instances are depending on this.
Can you figure out a better solution or something wrong in my approach? ... Could be possible address it in the library like a patch?

We are also seeing this error message when running two applications in a single page.

If we just keep the entry, passing false, then both instances can work without problem.
No error and no visible side-effect, except kept entry in store.

Then, from my point view, removing the entries becomes dangerous as long as we do not know how many instances are depending on this.

But the design is that only one should. So on a single callback page you're invoking the processing method twice. That seems to be the issue, right?

But the design is that only one should. So on a single callback page you're invoking the processing method twice. That seems to be the issue, right?

Yes, if we have several widgets, all of them will trigger the processing method.
In general, some methods like getUser are not a problem at all. If we can not do it, then we are forced to delegate all the auth.
Imagine something like:
if (getUser()) {
  renderLogoutButton();
} else {
  renderLoginButton();
}

Yes, if we have several widgets, all of them will trigger the processing method.

If they are distinct client_ids then you will have several. If you share client_id, then you need to build something on your side to coordinate that.


Rationalise use of children/members on groups

To clarify, we'd like to call the membership array children, to fit with methods like addChild().
It also seems like a good idea to make it read-only. There are use cases for reading this array, but it must only be accessed in very specific ways, to preserve scene integrity. Keeping it open can lead to mistakes like trying to add entities directly to members.
This will only happen in v2.0 or later, of course.


Stop Camera from scrolling past a certain point

What is your question?
I was wondering if there was a way to stop the camera from scrolling past a certain pint because when the camera points towards BF you can see the black void.

On the stage .lua script:
function onMoveCamera(focus)
	if focus == 'boyfriend' then
		setProperty('camFollow.x', getProperty('camFollow.x') - 100); -- go a bit more to left
		setProperty('camFollow.y', getProperty('camFollow.y') - 50); --go a bit more up
	end
end

On Haxe, just keep searching for "limo" and you will end up finding your answer (on PlayState.hx)


New version: B3log.SiYuan version 3.1.2

Created by 🥟 Dumplings in workflow run #6964.

Log
Updated: 3.1.1 → 3.1.2
No ReleaseNotes (zh-CN) for version 3.1.2
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run


[Suggestion] Search Suggestions in QuickSearch if Contains Field is selected

Is there any possibility to do Search suggestions based on options {name: 'FieldName', title: 'Field Name', searchSuggestions: true} for Quick Search getQuickSearchFields() when Contains field is selected?

Quick filter is already shows all suggestions as grid results.

if we want to have multiple fields in quick search drop down, It looks very bad to add multiple Quick filters.

If you need search multiple field on grid. Just add QuickSearch attribute on your row.

protected getQuickSearchFields(): Serenity.QuickSearchField[] {
            let fld = MovieRow.Fields;
            let txt = (s) => Q.text("Db." +
                MovieRow.localTextPrefix + "." + s).toLowerCase();
            return [
                { name: "", title: "all" },
                { name: fld.Description, title: txt(fld.Description) },
                { name: fld.Storyline, title: txt(fld.Storyline) },
                { name: fld.Year, title: txt(fld.Year) }
            ];
        }

You can edit or write your own quicksearch editor if you want. Also PR's are allowed if you have done some of improvements.


Optimize stock availability filter in 3.0

I want to merge this change because coping changes from #8809 to 3.0.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-5133 Slow stockAvailability filter in RT


bug in textInput, which cause line feed when insert char every time.

Versions

Python: 2.7.12
OS: all platform
Kivy: 1.10.0
Kivy installation method: all method

Description

for example when you typed many 'a', but not over one line. then insert 'b' before these 'a', it willcause line feed every time when you insert 'b'.
Code and Logs

Does this problem still occur in Kivy 2.2.1? Looks like it may have been fixed.


Pytest improvements

Refactoring of Pytest test so we can consider environments, and we can make a consistent testing environment.
This is a requirement for #1238

Discontinued because #1238 has been abandoned.


Train Config

Excuse me, I'm sorry to bother you
https://github.com/hustvl/ViTMatte/blob/63ed4175a7fb9341e43b6c5e460a641b71f07874/configs/common/dataloader.py#L13，Does 'path/to/bg' here refer to the merged folder after compositing, or the directory of the COCO files?

It's the path to COCO train2014 files.

这是 COCO train2014 文件的路径。
I see.Thank you for your reply .


Verify TAF tests to be put against Snaps

• Snap tests need to be migrated
• Might be some tests cases not covered by TAF yet

@cloudxxx8 - I am working on getting the TAF tests to run with snaps. Has any work been done on this? What tests were you planning to migrate? This issue could be assigned to me and I can create a PR with the support for TAF testing and snaps once I've finished.

@siggiskulason thanks for taking care of this.  we haven't done anything so far.


Readme

It's not ready I'm afraid
On 30 Jul 2017 8:21 p.m., "Samuel L"<EMAIL_ADDRESS>wrote:

@1DC requested changes on this pull request.
Excessive blank lines, not needed.
In README.md
https://github.com/alphagov/govwifi/pull/85#discussion_r130250412:

+- generating reports for Performance Platform.

+AAA
+---
+The main functionality of the service is the authentication of users by their unique username / password pair. The
+backend API sits behind a set of FreeRADIUS servers, making user of the
+REST module to make the API calls.
+
+The entry point for the API calls the /api/api.php. The appropriate requests are routed to this entry point by Apache
+configuration rules. The supported request types are:
+- authorize
+- accounting
+- post-auth
+
+
Excessive blank lines
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alphagov/govwifi/pull/85#pullrequestreview-53104274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVvkz7LA8vCtda-N1uIKxCl1Pvy1Zkpsks5sTNewgaJpZM4Ob1dJ
.

This is now at about v1.0 - PTAL


[doc] add explaination on how to disable persisted queries

@CoreFloDev: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

Thanks a lot ❤ !


Helm operator sample fails during 'make deploy' with 'no matches for kind "ServiceMonitor"'

I found that in the Go sample operator, I had to install cert-manager into the cluster before deploying (see #149). For the Helm operator, I'm getting a similar error but concerning a ServiceManager:
error: unable to recognize "STDIN": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
make: *** [deploy] Error 1

I was reading through the Helm operator sample README and didn't see anywhere a mention of extra software or configuration I'd have to deploy to my cluster to be able to deploy the sample operator, but it seems like something is missing (maybe there's a ServiceMonitor set up by default in some types of clusters, like OpenShift, that aren't available in vanilla Kubernetes?).
Related: https://github.com/geerlingguy/operator-sdk-performance-testing/issues/1

It looks like I might need to deploy Prometheus Operator into the cluster? See: https://coreos.com/operators/prometheus/docs/latest/user-guides/getting-started.html

PR #152 documents the requirement.

hi @geerlingguy,
Also, see that the idea is to deprecate this one. More info: https://github.com/operator-framework/operator-sdk-samples/pull/163.
I am closing this one. However, please feel free to raise issues against the SDK repo if you need. hi @geerlingguy,
Also, see that the idea is to deprecate this one. More info: https://github.com/operator-framework/operator-sdk-samples/pull/163.
I am closing this one. However, please feel free to raise issues against the SDK repo if you need.


UART sleep wakeup isn't working (IDFGH-11020)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v4.4
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
ESP32S3 Custom board
Power Supply used.
External 3.3V
What is the expected behavior?
The MCU should wakeup by uart data recieved
What is the actual behavior?
The UART wakeup works on Arduino sketch but NOT on IDF
Steps to reproduce.
This is the fw that doesn't work:
My UART0 is at RX: 36
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_sleep.h"
#include "esp_log.h"
#include "driver/uart.h"
#include "driver/gpio.h"

#define RX_PIN 36 //UART_PIN_NO_CHANGE

void app_main() {
    // Configure UART
    uart_config_t uart_config = {
        .baud_rate = 115200,
        .data_bits = UART_DATA_8_BITS,
        .parity = UART_PARITY_DISABLE,
        .stop_bits = UART_STOP_BITS_1,
        .flow_ctrl = UART_HW_FLOWCTRL_DISABLE
    };

    // init uart 0
    uart_param_config(UART_NUM_0, &uart_config);
    uart_set_pin(UART_NUM_0, UART_PIN_NO_CHANGE, RX_PIN, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE);
    uart_driver_install(UART_NUM_0, 256, 0, 0, NULL, 0);

    esp_sleep_disable_wakeup_source(ESP_SLEEP_WAKEUP_ALL);
    esp_sleep_enable_timer_wakeup(30 * 1000 * 1000);
    uart_set_wakeup_threshold(UART_NUM_0, 3);
    esp_sleep_enable_uart_wakeup(UART_NUM_0);

    while(1){
        // Enter light sleep mode
        ESP_LOGI("TAG", "Before sleep");
        vTaskDelay(pdMS_TO_TICKS(1000));
        esp_light_sleep_start();

        ESP_LOGI("TAG", "After wakeup");
        vTaskDelay(pdMS_TO_TICKS(1000));
    }
}

The Arduino sketch that works:
#include <esp_sleep.h>
#include <driver/uart.h>

int variable = 0;

void setup() {
    Serial.begin(115200);

    while(!Serial){delay(500);}

    delay(1000);

    Serial.println();
    Serial.println("LIGHT SLEEP ENABLED");
    delay(100);

    uart_set_wakeup_threshold(UART_NUM_0, 3);
    esp_sleep_enable_uart_wakeup(UART_NUM_0);

    esp_light_sleep_start();

    Serial.begin(115200);
    while(!Serial){delay(500);}
    // Clean Serial from wake up message
    Serial.flush();
    Serial.readString();

    Serial.println();
    Serial.println("LIGHT SLEEP WAKE UP");
}

void loop() {
    while (Serial.available()>0){
        Serial.write(Serial.read());
    }
}

Debug Logs.
No response
More Information.
No response

Any response please?

Hi @AAl-Hadi, please check our UART wakeup example code (https://github.com/espressif/esp-idf/blob/master/examples/system/light_sleep/main/uart_wakeup.c). I think you are missing configuration for the IO at sleep.

Hello
Thank you @songruo . Yes, the example works. I'll try to test the differences between the example and mine.


香不香

https://www.npmjs.com/package/scaffold-generator。这个香不香

take the essence and discard the dross


The Future of Kirki (READ BEFORE YOU POST)

Hey everyone,
David here with Kirki.
I'm happy to let you know that we just got started working on Kirki v4 🎉
I encourage everyone that is using Kirki to sign up for our email list.
This will help us to reach out to all of you and let you know when Kirki 4 is ready for testing.
You can sign up for our mailing list here - (form in the footer or sidebar) https://kirki.org/blog/the-current-state-of-kirki/.
While you are on there, make sure to also read the article if you haven't already :)
Please keep in mind that support for Kirki 3 (GitHub & WordPress forum) is still currently on hold.
New tickets & issues are ignored until we enter the testing phase for Kirki 4. This will help us to maintain focus and minimize distraction.
Once Kirki 4 is ready to be tested, we will send out an email newsletter to all of you.
There will be a 1-month testing & fixing phase after we believe Kirki 4 is ready to be released to make sure everything is running smoothly for everyone. The time period might be extended of course if we run into any issues during public testing.
Thank you.
Best,
David

Here's a blog post with a few more details :)
https://kirki.org/blog/kirki-4-is-in-the-works/

Hi @MapSteps 🙂
Would it be possible to provide a built package zip in the archive for 4.0 beta's and RC's, so we don't have to build it ourselves?

Kirki 4 is now in Beta!
Please read the blog post below, test Kirki 4 with your theme and join the discussion in our Facebook group.
https://kirki.org/blog/kirki-4-beta/

1 to 2 more weeks before we release Kirki 4 to the wild! You can download & test the latest Beta here - https://kirki.org/kirki4-beta3.zip

MUST READ - Breaking change in Kirki 4 - https://kirki.org/blog/breaking-change-kirki-4/
Kirki 4 will be released next week (between Nov 29th - December 5th)


Editor without settings json

Hello, I found a small problem in the editor when there isn't the editor settings file. In 'Editor::Setup' 'GetDesktopResolution' is called before 'RequireSDL(SDL_INIT_VIDEO)', also setting EP_WINDOW_MAXIMIZE = true will call 'graphics->Maximize' in 'Engine::Initialize', this will immediately spawn a resize event which calls 'Engine::RunFrame' when the flag 'initialized_' is still false, this will fire an assert.

Thanks for detailed bug report 👍


alpha version lib has bug

Version
@vueup/vue-quill 1.0.0-alpha.1
Describe the bug

QuillEditor ts declare non-existent
The reporting component does not exist, and the style does not exist

Browser (please complete the following information):

Browser [chrome]
Version [97.0.4692.99]

Additional context
<template>
  <quill-editor
    v-model:content="richContent"
    content-type="html"
    theme="snow"
    toolbar="full"
    placeholder="请输入..."
    v-bind="{ ...attrs }" />
  <el-divider content-position="left">Render Html</el-divider>
  <el-input
    v-model="richContent"
    :rows="10"
    :autosize="{ minRows: 10, maxRows: 10 }"
    type="textarea"
    :readonly="true"
    placeholder="html" />
</template>
<script lang="ts" setup>
import { QuillEditor } from '@vueup/vue-quill';
import<EMAIL_ADDRESS>import { ref, useAttrs } from 'vue';

const richContent = ref('');
const attrs = useAttrs();
</script>

@vueup/vue-quill 1.0.0-beta.10 is work good

Then use @vueup/vue-quill 1.0.0-beta.11 and you can close this issue 😅
Alpha.1 is the oldest release it's been superseeded by more than 50 versions, so opening issues about old releases is unnecessary


Cache Race condition

Hi
I use your Client with a cache like described here:
https://github.com/googleapis/google-api-php-client#caching
I got problems with this implementation:
My application makes 2 calls at the same time and I got an error:
{
    "statusCode": 500,
    "error": {
        "type": "SERVER_ERROR",
        "description": "ERROR: unlink(\/home\/<server_name>\/domains\/<domain>\/app\/..\/cache\/federated_signon_certs_v3): No such file or directory on line 26a in file \/home\/<server_name>\/domains\/<domain>\/vendor\/league\/flysystem\/src\/Adapter\/Local.php."
    }
}

So the first request is deleting the file before it got the content and the second one comes in and it throws this error.
The Google Auth keys are updated every 24h. There is a specific header telling when they will expire but the file is updated every 2h or so anyway. So the headers are ignored and it uses some default refresh value. If you know what should I add to this setup to use the headers expiry date so the first request after the expiry date will trigger the update of cache would be great.
So my question is:
Can you provide other recommended implementation of cache that will not create a cache file before it expires at liest? Code examples would be great cause I'm not a backend developer.
It would be also nice to be prepared to not hit race condition cause I got answers like this on this issue:
https://github.com/thephpleague/flysystem/issues/1279#issuecomment-786482608
Which is not comforting at all.
Thanks for your help
Regards
Peter

Hi, any update on this one?

Hi.
There will be some answer to this topic or not realy?
Cause I would like to code something on top of this? I know I do not have a premium support but it's almost 3 weeks now.
Regards
Peter

Hi
So, it's 4 weeks now. And no answer or interest in this issue.
Can you at least replay to it where this help can be found? If your not interested in replaying for it.
Regards
Peter

Since we do not maintain a caching library, the simple answer here would be to use a PSR-6 complaint caching library which does prevent race conditions (as there's nothing we can do in this library to prevent a race condition in a dependent library).
As to your request to be smarter about when to bust the cache (depending on the cache control), that is definitely something we can look into. This wouldn't prevent the race condition, but it would at least make a collision less likely due to the cache refreshing less frequently.


the mAP score of one epoch was 0

Dear author,
When I was training the model, the mAP score of one epoch was 0. Among the 80 epochs, do only the last 10 epochs evaluate the mAP score?

None