text elements of pure spaces are not parsed

I'm trying to parse a ooxml document, one of elements has 4 spaces:
<w:t xml:space="preserve">    </w:t>
When converting the JS, no text element is being generated. (trim is set to False).
Any way around it?

I'm trying to parse a ooxml document, one of elements has 4 spaces:
<w:t xml:space="preserve"> </w:t>
When converting the JS, no text element is being generated. (trim is set to False).
Any way around it?

Add captureSpacesBetweenElements: true to your option, the default is false.
eg. const xml_js = convert.xml2js(xml, { compact: false, captureSpacesBetweenElements: true }) as convert.Element;


SegFault with 0.4.8 after every call to .row()[]

Sorry, I can't reopen issue that I haven't closed.
Here is what's happening at runtime:
Traceback (most recent call last)
/home/nick/Projects/Code/xlstest/src/xlstest.nim(53) xlstest
/home/nick/Projects/Code/xlstest/src/xlstest.nim(41) main
/home/nick/.nimble/pkgs/excelin-0.4.8/excelin/internal_rows.nim(7) row
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

It's okay, lets this a new issue instead.
Now, regarding the issue itself, it's strange though, we ran the nimble test without crashing and also local development files normally. Tried running with WSL (Ubuntu 20.04) with Nim 1.6.6 and Devel, worked fine. With -d:danger and --mm:orc or --mm:arc also ran no problem.
Could you elaborate on what to do to reproduce it?

Ah, I just remembered, when you're fetching sheet, the sheet object could be nil when the excel object couldn't find the sheet. You can make sure which the sheet name available with name procs in order the object correctly fetched. You can refer the 2nd example in readme.

you are right, it was my blind mistake, I forgot to rename sheet in tested xlsx to that reffered in code, sorry. Thanks for fast resolving, it works as expected everytime now!


Reference another script inside the Fracture.cs

I am not able to add any reference to other scripts from Fracture.cs script. For example:
public class Fracture : MonoBehaviour
{
   public MyOtherScript otherScript;
   ///
}

I get the error The type or namespace name 'MyOtherScript' could not be found (are you missing a using directive or an assembly reference?)
This happens if the script to be referenced is placed in another folder. Is there a way to fix this?

the two classes are not in the same namespace, you may find  namespace {... at the top of your classes
try to do something like below:
assume MyOtherScript is under SomeOtherNamespace
using SomeOtherNamespace;
// ...
public class Fracture : MonoBehaviour
{
   public MyOtherScript otherScript;
   // this should be fine
}


audit: check for bottle do blocks in new formulae

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew tests with your changes locally?

New formulae should never have a bottle block. This is a reasonably common problem, especially with versioned formulae.
Hopefully this works better than the last bottle audit I added. 😆
https://github.com/Homebrew/brew/pull/4742

Hmm, @new_formula is noop for versioned formula and @strict will fail everything that is currently bottled.


Vulkan: Flood of GI errors when queue_free()ing a .tscn containing a OmniLight3D when SDFGI is enabled (!light_storage->owns_light_instance(light_instance))

Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.

Godot version
4.0 alpha 1
System information
Win10, GLES3, RTX 2070 mobile
Issue description
At runtime, when queue_free()'ing a tscn that contains a omnilight3D node, debugger gets spammed with this error:
pre_process_gi: Condition "!li" is true. Continuing. <C++ Source>   servers/rendering/renderer_rd/renderer_scene_gi_rd.cpp:1484 @ pre_process_gi().
The error doesn't show up when the light node is hidden right before it's freed.
Steps to reproduce

start a 3d scene
add a Omnilight3D node, leave it at default settings
add a Environment node, turn on SDFGI, volumetric fog, and glow (all at default settings)
attach a script to queue_free() the Omnilight3D node on keypress
run the game, press the key to queue_free() the Omnilight3D
watch above error flood the debug

Minimal reproduction project
not needed, just do the steps above

Hey there, thank you all for the hard work! <3
I just want to add that this issue is still happening in Godot 4.0 Alpha 7. Will this be fixed soon? :D

I got this error but i don't use queue_free to remove any lights. Even hiding them (so they shouldn't be accounted to lighting?) continues giving this error. This on a "complex" project, so there must be something conflicting, it's not queue_free in my case

On alpha9 this can happen when I call get_tree().quit() on a scene with a larger number of SpotLight3Ds (and SDFGI). Despite the game closing, the debugger hits around 100k errors and then stops.

I just want to mention that this only happens while trying to remove any light3D nodes with "bake mode" set to "dynamic".
The environment would still need to have SDFGI enabled to replicate this.
Not sure if this is related at all but I hope it sheds some light to the issue.

Quoting a workaround from https://github.com/godotengine/godot/issues/62852:

A workaround is to set the Node's visibility to false right before you call queue_free() on it.

Getting this in 4 alpha 14 as well

Not sure it's the same issue, but in my case using "queue_free()" when quitting my main scene generates a lot of errors.
I have a DirectionalLight in my scene, but the errors still happen if i hide it.
Here are the first ones :

This behaviour doesn't happen in Godot 3.5 RC1.

@Chlipouni This issue is unrelated.

I have also encountered this same problem with tens of thousands of gi errors with SDFGI enabled when deleting a scene that contains lights (spotlights in my case). They go away entirely if I disable SDFGI in the Environment node.

MRP can be found in #67380

Ran into this error reloading current scene, said scene having omnilights. Setting them all not visible before reloading works. Using 4.0 Beta 4.

We're also experiencing this issue on beta 9. Swapping to a scene with an omnilight in editor will spam this:

We're also experiencing this issue on beta 9. Swapping to a scene with an omnilight in editor will spam this:

We also have the issue when free'ing a scene either with queue_free() in the player or closing view in editor.
Tested with spot-lights and omni-lights. Scenes without lights all are fine.


Limit the number of images per class

Hello,
Is there any argument in the code that let us limit the number of images per class (training images and test images)? For example, when adding a new dataset with .txt files, we need each time to modify these files to vary the number of images.
Thank you for your help !!

Hi @andreadaou ,
currently there is no such argument to not over-complicate more the framework. However, you can easily define this on your main by reducing the loader size after creating the loaders. Iterate through them and do smth like:
trn_loader[t].dataset.images = trn_loader[t].dataset.images[:MAX_NUM]
trn_loader[t].dataset.labels = trn_loader[t].dataset.labels[:MAX_NUM]

It's not the most efficient or versatile, but it quickly solves the issue.

Thank you !


SSE2: not supported?

I encounter and panic on an amd64 virtual cpu under QEMU enviroment.
which support SSE/SSE2 only, is it running  with support SSE3 at least ?
panic: Unsupported CPU, maybe it's too old to run Sonic.

goroutine 1 [running]:
github.com/bytedance/sonic/internal/native.init.0()
        /go/pkg/mod/github.com/bytedance/sonic@v1.5.0/internal/native/dispatch_amd64.go:164 +0x30a
panic: Unsupported CPU, maybe it's too old to run Sonic.

cat /proc/cpuinfo
...
processor       : 15
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : QEMU Virtual CPU
stepping        : 3
microcode       : 0x1
cpu MHz         : 2194.916
cache size      : 4096 KB
physical id     : 15
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 15
initial apicid  : 15
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl eagerfpu pni cx16 x2apic popcnt hypervisor lahf_lm abm
bogomips        : 4389.83
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

I use cpuid 2.1.2 https://github.com/klauspost/cpuid/releases/tag/v2.1.2 to get the info
Name: QEMU Virtual CPU
Vendor String: GenuineIntel
Vendor ID: Intel
PhysicalCores: 0
Threads Per Core: 1
Logical Cores: 0
CPU Family 6 Model: 6 Stepping: 3
Features: CMOV,CMPXCHG8,CX16,FXSR,FXSROPT,HYPERVISOR,LAHF,LZCNT,MMX,NX,OSXSAVE,POPCNT,SSE,SSE2,SSE3,SYSCALL,SYSEE,X87,XSAVE
Microarchitecture level: 1
Cacheline bytes: 64
L1 Instruction Cache: 32768 bytes
L1 Data Cache: 32768 bytes
L2 Cache: 4194304 bytes
L3 Cache: 0 bytes

I can see the SSE is supported, so I suppose it maybe a bug
HasSSE
https://github.com/bytedance/sonic/blob/56e81a633e4c41efba9b475296a63369a5a0437d/internal/native/dispatch_amd64.go#L164

you can try the main branch, sonic has supported sse now. (https://github.com/bytedance/sonic/pull/305)

Thanks @liuq19 , I think it's exactly my issue faced. Let me try


Unresolved reference: PLACE_ORDER

the proplem in this code in file "CartActivity.kt"
private fun networkRequest() {
    progressLayout.show()

    val jsonParams = JSONObject()
    jsonParams.put("user_id", userId)
    jsonParams.put("restaurant_id", restaurantId)
    jsonParams.put("total_cost", totalCost.toString())
    val foodIdArray = JSONArray()
    for (item in cartList) {
        val foodId = JSONObject()
        foodId.put("food_item_id", item.id)
        foodIdArray.put(foodId)
    }
    jsonParams.put("food", foodIdArray)

    NetworkTask(networkTaskListener).makeNetworkRequest(
        this@CartActivity, Request.Method.POST, PLACE_ORDER, jsonParams
    )
}``

Can you please describe the problem ?

PLACE_ORDER is a constant defined in an untracked file. It is a sensitive API endpoint.  So, I am unable to disclose it.

const val NETWORK_IP = "API_URL_BASE"
const val REGISTER = "$NETWORK_IP/endpoint"
const val LOGIN = "$NETWORK_IP/endpoint"
const val FORGOT_PASSWORD = "$NETWORK_IP/endpoint"
const val RESET_PASSWORD = "$NETWORK_IP/endpoint"
const val FETCH_RESTAURANTS = "$NETWORK_IP/endpoint"
const val FETCH_RESTAURANT_DETAILS = "$NETWORK_IP/endpoint"
const val PLACE_ORDER = "$NETWORK_IP/endpoint"
const val FETCH_PREVIOUS_ORDERS = "$NETWORK_IP/endpoint"
const val TOKEN = "TOKEN_FOR_API_ACCESS"

So how can i use your project ?? Is there any another way to open this project ?

So how can i use your project ?? Is there any another way to open this project ?

You can check the code for network APIs and endpoints given below. You will have to make a file or place these variables in someplace so that they are accessible throughout the app. You also have to change the values assigned in the variables to your own API endpoints. Depending on the API you are using, you might need to modify the JSON parsers and params code too. Do not change the name of the variables. Change only the values. If you change the name of the variables, you will need to find and change all references to that variable. ✌🏼
const val NETWORK_IP = "API_URL_BASE"
const val REGISTER = "$NETWORK_IP/endpoint"
const val LOGIN = "$NETWORK_IP/endpoint"
const val FORGOT_PASSWORD = "$NETWORK_IP/endpoint"
const val RESET_PASSWORD = "$NETWORK_IP/endpoint"
const val FETCH_RESTAURANTS = "$NETWORK_IP/endpoint"
const val FETCH_RESTAURANT_DETAILS = "$NETWORK_IP/endpoint"
const val PLACE_ORDER = "$NETWORK_IP/endpoint"
const val FETCH_PREVIOUS_ORDERS = "$NETWORK_IP/endpoint"
const val TOKEN = "TOKEN_FOR_API_ACCESS"


TypeError: Cannot convert undefined or nul 1 to object at Function.keys () at WyzeLock.lockGetProperty

Error with Wyze lock and version V0.5.26 causing homebridge to repeatedly restart.
I have two wyze locks, one Bluetooth keypad version, the other is wifi model. The plug-in seems to have issues with the Bluetooth, instead of ignoring its lack communication it is complaining endlessly.
[29/03/2023, 21:31:40] Homebridge v1. 6.0 (
HAP v0.11.0) (Wyze) is running on port 372
71・
/usr/local/lib/node modules /homebridge-wyz e-smart-home/src/accessories/WyzeAccessory .js: 384
const prop_key = Object.keys (lockPrope
rties)
TypeError: Cannot convert undefined or nul
1 to object
at Function.keys ()
at WyzeLock.lockGetProperty (/usr/loca
1/lib/node modules/homebridge-wyze-smart-h ome/src/accessories/wyzeAccessory.js:384:2
9)
at processTicksAndRejections (node: int ernal/process/task queues:96:5)
[29/03/2023, 21:31:40] [Wyze] Child bridge process ended
[29/03/2023, 21:31:40] [Wyze] Process Ende
d. Code: 1, Signal: null
Plugin Config:
{
"bridge": {
"name": "Homebridge 7469",
"username": "0E:FC:FA:DB:C2:A2",
"port": 51478,
"pin": "530-05-629"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "none",
"theme": "auto",
"tempUnits": "f",
"lang": "auto",
"platform": "config"
},
{
"name": "Wyze",
"username": "",
"password": “",
"refreshInterval": 60000,
"mfaCode": "",
"_bridge": {
"username": "0E:5D:5C:82:12:B4",
"port": 37271
},
"platform": "WyzeSmartHome"
}
]
}

Can you put that lock into the ignore list?

I’m not able to add it to the ignore list via MAC, it is a bluetooth device and not sure it can distinguish that.  As well if I exclude by device type, of course it removes my wifi enabled Wyze lock.

On Apr 2, 2023, at 8:29 AM, jfarmer08 @.***> wrote:
Can you put that lock into the ignore list?
—
Reply to this email directly, view it on GitHub https://github.com/jfarmer08/homebridge-wyze-smart-home/issues/91#issuecomment-1493319270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNC5BTGIAMAM35BN3BPBG3W7FWLVANCNFSM6AAAAAAWMT7M6Y.
You are receiving this because you authored the thread.

Same error on the WyzeLock (wifi) Keypad, I don't own the optional keypad for wyze lock(wifi).  I have only the wyze lock (wifi).
The plugin keeps restarting infinitely, about every 5 seconds, status is red for about 5 seconds, then yellow, then green, then red again immediately.
[6/6/2023, 7:40:00 AM] Homebridge v1.6.1 (HAP v0.11.1) (Wyze) is running on port 46785.

/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422
    const prop_keypad = Object.keys(lockKeypadProperties)
                               ^
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at WyzeLock.lockGetProperty (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[6/6/2023, 7:40:01 AM] [Wyze] Child bridge process ended
[6/6/2023, 7:40:01 AM] [Wyze] Process Ended. Code: 1, Signal: null
[6/6/2023, 7:40:08 AM] [Wyze] Restarting Process...
[6/6/2023, 7:40:10 AM] [Wyze] Launched child bridge with PID 2874
[6/6/2023, 7:40:11 AM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[6/6/2023, 7:40:11 AM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.26 child bridge successfully
[6/6/2023, 7:40:11 AM] Loaded 15 cached accessories from cachedAccessories.0E69AE9E1C7C.
[6/6/2023, 7:40:11 AM] Homebridge v1.6.1 (HAP v0.11.1) (Wyze) is running on port 46785.

/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422
    const prop_keypad = Object.keys(lockKeypadProperties)
                               ^
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at WyzeLock.lockGetProperty (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[6/6/2023, 7:40:12 AM] [Wyze] Child bridge process ended
[6/6/2023, 7:40:12 AM] [Wyze] Process Ended. Code: 1, Signal: null
[6/6/2023, 7:40:19 AM] [Wyze] Restarting Process...
[6/6/2023, 7:40:21 AM] [Wyze] Launched child bridge with PID 2899
[6/6/2023, 7:40:21 AM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[6/6/2023, 7:40:21 AM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.26 child bridge successfully
[6/6/2023, 7:40:21 AM] Loaded 15 cached accessories from cachedAccessories.0E69AE9E1C7C.
[6/6/2023, 7:40:22 AM] Homebridge v1.6.1 (HAP v0.11.1) (Wyze) is running on port 46785.

/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422
    const prop_keypad = Object.keys(lockKeypadProperties)
                               ^

Any idea what's causing this infinitely looping crash and restart bug?


Switch from React.PropTypes to the separate 'prop-types' library

This prevents deprecation warnings when using react-touch with newer versions of React.
It adds the prop-types package to react-touch's dependencies, which is Facebook's recommended approach.
However, prop-types only works with React versions 0.14.9 or 15.3 an above, so I've also bumped the minimum version numbers in peerDependencies.
Fixes #6

Thanks! Sorry for taking so long to merge this.


WPF like designer for WinUI 3

Hi,
Can we please have a designer like there is for WPF in WinUI 3. It would make development a lot easier.
Unless I am mistaken and there is one comming
Thanks,
Ward

Duplicate of #5917. Please just go there and leave a thumbs-up. There is nothing more we can do about it.
If you have a simple app with a flat XAML tree, no attached properties and no ItemTemplateSelectors, XAML Hot Reload is actually quite usable!

Thanks for your feedback, I agree with @WelterDevelopment, let's centralize the discussion in the existing issue: #5917

It will be of interest to anyone searching for a Designer.... Hot Design from Uno Platform achieves this goal of being a WPF like designer for WinUI 3(and other targets)
https://github.com/unoplatform/uno/discussions/18833
.NET Conf 2024 Session on Hot design:
https://www.youtube.com/watch?v=sJPyieyt1Rc&list=PLdo4fOcmZ0oXeSG8BgCVru3zQtw_K4ANY&index=93


rgb border incomplete attribute bug

I think this is related with this closed issue
I have checked the current demo and the problem is still there.
To see the bug you only need to:

Select any element in the demo
Add 3px border width to it-> it's properties would be something like "3px" "rgb(255, 255, 255)"
Deselect the element and select it again.
Look again at the border color, it will be "rgb(255,"
Now the border property is broken for that element, try to remove the 3px width and add it again, it will not work.

The rgb sentence has missing elements, parenthesis, etc
This causes bigger problems when you export the CSS, since the stylesheet missing parenthesis will cause conflict with other attributes.
Here is a screencast showing you the issue in the current grapesjs demo:
https://screencast-o-matic.com/watch/cFf3DbbiN6

I got working a dirty workaround and this is my current best solution based on @tommedema suggestion.
Just remove the "border" property from the decoration tab and add border-top, bottom, right and left instead.
buildProps: ["opacity", "background-color", "border-radius", "box-shadow", "background", "border-top", "border-bottom", "border-left", "border-right"],
This will completely remove the bugged border property and add 4 new properties.
The bad part of this workaround is that you will need to customize the new border properties by hand:
5px solid rgb(220, 22, 22)
Something like that will appear in every border text field, so your users will not have a color picker.
Maybe I'll try to code my own color picker for the borders. I am afraid that if I use the default grapesjs one, it can be hard to achieve and that crazy bug may come back.


Health probe created doesn’t match backend settings for end-to-end TLS ingress

Describe the bug
Application gateway ingress controller fails to apply changes to application gateway because requested health probe doesn't match backend settings. When ingress definition copied below is deployed to Kubernetes application gateway controller reports following error messages:
I1103 22:18:01.779177       1 mutate_app_gateway.go:177] BEGIN AppGateway deployment
I1103 22:18:01.962354       1 mutate_app_gateway.go:183] END AppGateway deployment
E1103 22:18:01.962529       1 controller.go:141] network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayProbeProtocolMustMatchBackendHttpSettinsProtocol" Message="Probe /subscriptions/<subscription-id>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/probes/pb-default-iagw-nginx-ingress-controller-443-agw-to-nginx-ingress-https protocol (Http) does not match Backend Http Setting /subscriptions/<subscription-id>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/backendHttpSettingsCollection/bp-default-iagw-nginx-ingress-controller-443-443-agw-to-nginx-ingress-https protocol (Https)." Details=[]
E1103 22:18:01.963118       1 worker.go:62] Error processing event.network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayProbeProtocolMustMatchBackendHttpSettinsProtocol" Message="Probe /subscriptions/<subscription-id>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/probes/pb-default-iagw-nginx-ingress-controller-443-agw-to-nginx-ingress-https protocol (Http) does not match Backend Http Setting /subscriptions/<subscription-id>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/backendHttpSettingsCollection/bp-default-iagw-nginx-ingress-controller-443-443-agw-to-nginx-ingress-https protocol (Https)." Details=[]
I1103 22:18:01.963753       1 event.go:278] Event(v1.ObjectReference{Kind:"Pod", Namespace:"kube-system", Name:"agw-ingress-azure-5cc4dd6f9b-kj5fn", UID:"72ebb10b-5689-4391-ba22-9bbea0b12130", APIVersion:"v1", ResourceVersion:"62223255", FieldPath:""}): type: 'Warning' reason: 'FailedApplyingAppGwConfig' network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayProbeProtocolMustMatchBackendHttpSettinsProtocol" Message="Probe /subscriptions/<subscription-id>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/probes/pb-default-iagw-nginx-ingress-controller-443-agw-to-nginx-ingress-https protocol (Http) does not match Backend Http Setting /subscriptions/<subscription-id>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/backendHttpSettingsCollection/bp-default-iagw-nginx-ingress-controller-443-443-agw-to-nginx-ingress-https protocol (Https)." Details=[]

and fails to provision corresponding api gateway configuration. From detailed log it seems that it is trying to provision HTTP probe as oppose to HTTPS.
-- App Gwy config --        "probes": [
…

To Reproduce
Deploy ingress resource using end-to-end TLS.
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: agw-to-nginx-ingress-https
  annotations:
    kubernetes.io/ingress.class: azure/application-gateway
    appgw.ingress.kubernetes.io/request-timeout: "300"
    appgw.ingress.kubernetes.io/connection-draining: "true"
    appgw.ingress.kubernetes.io/connection-draining-timeout: "30"
    appgw.ingress.kubernetes.io/backend-protocol: https
spec:
  tls:
    - secretName: wildcard-certificate
  rules:
    - http:
        paths:
        - path: /
          backend:
            serviceName: iagw-nginx-ingress-controller
            servicePort: 443

Ingress Controller details
Name:         agw-ingress-azure-5cc4dd6f9b-kj5fn
Namespace:    kube-system
Priority:     0
Node:         <node name>/<node IP>
Start Time:   Tue, 03 Nov 2020 16:46:48 -0500
Labels:       app=ingress-azure
              pod-template-hash=5cc4dd6f9b
              release=agw
Annotations:  checksum/config: 522a326d9efb131121c534b9447c8083c3c1196194a2e7f5619a03936076d912
              prometheus.io/port: 8123
              prometheus.io/scrape: true
Status:       Running
IP:           <container IP>
IPs:
  IP:           <container IP>
Controlled By:  ReplicaSet/agw-ingress-azure-5cc4dd6f9b
Containers:
  ingress-azure:
    Container ID:   docker://f36840d781c16c0f6568109bafc05c54f8ebb23e2e41964a433110868683fc91
    Image:          mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.1
    Image ID:       docker-pullable://mcr.microsoft.com/azure-application-gateway/kubernetes-ingress@sha256:cf1df9645ded72127967c99bbf88b758b5b19b698ba18a9ed74c3a7ebf016ef1
    Port:           <none>
    Host Port:      <none>
    State:          Running
      Started:      Tue, 03 Nov 2020 16:46:50 -0500
    Ready:          True
    Restart Count:  0
    Liveness:       http-get http://:8123/health/alive delay=15s timeout=1s period=20s #success=1 #failure=3
    Readiness:      http-get http://:8123/health/ready delay=5s timeout=1s period=10s #success=1 #failure=3
    Environment Variables from:
      agw-cm-ingress-azure  ConfigMap  Optional: false
    Environment:
      AZURE_CLOUD_PROVIDER_LOCATION:  /etc/appgw/azure.json
      AGIC_POD_NAME:                  agw-ingress-azure-5cc4dd6f9b-kj5fn (v1:metadata.name)
      AGIC_POD_NAMESPACE:             kube-system (v1:metadata.namespace)
      AZURE_AUTH_LOCATION:            /etc/Azure/Networking-AppGW/auth/armAuth.json
      KUBERNETES_PORT_443_TCP_ADDR:   stjude-staging-75758f5e.hcp.eastus.azmk8s.io
      KUBERNETES_PORT:                tcp://stjude-staging-75758f5e.hcp.eastus.azmk8s.io:443
      KUBERNETES_PORT_443_TCP:        tcp://stjude-staging-75758f5e.hcp.eastus.azmk8s.io:443
      KUBERNETES_SERVICE_HOST:        stjude-staging-75758f5e.hcp.eastus.azmk8s.io
    Mounts:
      /etc/Azure/Networking-AppGW/auth from networking-appgw-k8s-azure-service-principal-mount (ro)
      /etc/appgw/azure.json from azure (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from agw-sa-ingress-azure-token-q8grt (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  azure:
    Type:          HostPath (bare host directory volume)
    Path:          /etc/kubernetes/azure.json
    HostPathType:  File
  networking-appgw-k8s-azure-service-principal-mount:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  networking-appgw-k8s-azure-service-principal
    Optional:    false
  agw-sa-ingress-azure-token-q8grt:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  agw-sa-ingress-azure-token-q8grt
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason                     Age                From                       Message
  ----     ------                     ----               ----                       -------
  Normal   Scheduled                  53m                default-scheduler          Successfully assigned kube-system/agw-ingress-azure-5cc4dd6f9b-kj5fn to aks-staging-11817093-vmss0000ll
  Normal   Pulling                    53m                kubelet                    Pulling image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.1"
  Normal   Pulled                     53m                kubelet                    Successfully pulled image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.1"
  Normal   Created                    53m                kubelet                    Created container ingress-azure
  Normal   Started                    53m                kubelet                    Started container ingress-azure
  Warning  FailedApplyingAppGwConfig  22m (x4 over 53m)  azure/application-gateway  network.ApplicationGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="ApplicationGatewayProbeProtocolMustMatchBackendHttpSettinsProtocol" Message="Probe /subscriptions/0dd230ae-d7aa-4c3f-a257-15b75fed908c/resourceGroups/MC_rgStagingEastus_stjude-staging_eastus/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/probes/pb-default-iagw-nginx-ingress-controller-443-agw-to-nginx-ingress-https protocol (Http) does not match Backend Http Setting /subscriptions/<subscription-id>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/applicationGateways/agw_aks_ingress/backendHttpSettingsCollection/bp-default-iagw-nginx-ingress-controller-443-443-agw-to-nginx-ingress-https protocol (Https)." Details=[]

Any Azure support tickets associated with this issue.
No

@polasekr I think that the protocol you specified might have been overwritten by the readiness probe since AGIC evaluates readiness probe after evaluating the annotation.
Annotation: https://github.com/Azure/application-gateway-kubernetes-ingress/blob/master/pkg/appgw/health_probes.go#L115
Readiness Probe: https://github.com/Azure/application-gateway-kubernetes-ingress/blob/master/pkg/appgw/health_probes.go#L137

@akshaysngupta You are 100% right. I debugged the code and container’s probe overwrites configuration of AGW health check probe resulting in deployment failure.
I personally see it as bug, since there are services which require communicate independently on both HTTP and HTTPS protocols at the same time. In such scenario using a containers probe configuration for AGW health check is insufficient (since it only covers one of the protocols) and it would result in AGW configuration that fails on submission.
My proposal of solution would be adding 3 new annotations (below). Those annotation would give user full control of health check probe settings in a case where default settings are not usable or need to be overridden. Due to fact that you cannot have mixed protocol between backend and health probe, protocol for the probe would be controlled by annotation appgw.ingress.kubernetes.io/backend-protocol.

appgw.ingress.kubernetes.io/"/healthcheck-hostname
appgw.ingress.kubernetes.io/"/healthcheck-port
appgw.ingress.kubernetes.io/"/healthcheck-path

If there was a general agreement on the proposal, I would be happy to submit PR for such change.

@polasekr Sounds good.
This would useful for other scenarios as well where a different container in the same POD is used for health probe.
Instead of healthcheck, maybe use health-probe to be closer App Gateway terminology.


adafruit-camera-esp32s3: make LCD work

Description of Change
There were several bits of code that needed to be revised so that the LCD display works on the adafruit-camera-esp32s3:

the backlight has to be turned on through the I/O expander, which is an AW9523 type
the VSCSAD register value was wrong, making the top part of the screen corrupt

This is tested on PyCam Rev C board.

per ladyada, a future rev of the camera board will ensure the LCD backlight is on without talking to the I/O expander so we may be able to back that code out in the future.

No problem, we can revert it when the hw is out


Add option to enable Real-time stream for for Enterprise customers

Enterprise customers in our SaaS platform should be able to enable Real-time functionality automatically from the dashboard.
TODO:

API should prevent enable_realtime_updates being set for non-enterprise plans
FE should expose this config option in the project settings

Added as part of #3915


adding surface based morphometry outputs (cortical thickness, sulcal depth, folding curvature) to CIFTI-output

Is your feature request related to a problem? Please describe.
Much of the neuroimaging community from infant neuroimaging to adults wants to measure surface based morphometrics and use cortical thickness/folding curvature/sulcal depth. However, the CIFTI options do not allow for the output of these metrics into derivatives.
Describe the solution you'd like
I would like cortical thickness/folding curvature/sulcal depth derived from the freesurfer component to be carried over to the final derivatives.
Describe alternatives you've considered
None.
Additional context
This is additionally critical for ensuring proper projection of BOLD data to cortical surfaces -- and would help eliminate aliasing issues identified by Guarav's group.

Did #325 address this?

Yes.


TypeError when running Step 1 of do_why_confounder_example.ipynb

Hello folks,
I just finished reading The Book of Why and was delighted to discover your library.
I was going through the jupyter notebooks when I got to the Confounding example.
Instead of generating a causal graph based on data inputs, it threw an exception instead.
The reason why seems to be that networkx.DiGraph.nodes is a method, whereas networkx.DiGraph.node is a dictionary.  Altering all calls from self._graph.nodes[...] to self._graph.node[...] in the file causal_graph.py seems to solve the problem.
I can send you folks a pull request, but I am not convinced that this is a robust solution, since according to the networkx 2.2 documentation,  you should be able to treat networkx.DiGraph.nodes like a dictionary even though it is really a method.
In any event, below is the error message before I modified the code in the CausalGraph class:
WARNING:dowhy.do_why:Causal Graph not provided. DoWhy will construct a graph based on data inputs.
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-5-b3b63f0ebad2> in <module>()
      4         outcome=data_dict["outcome_name"],
      5         common_causes=data_dict["common_causes_names"],
----> 6         instruments=data_dict["instrument_names"])
      7 model.view_model(layout="dot")

~/Projects/DL/dowhy/dowhy/do_why.py in __init__(self, data, treatment, outcome, graph, common_causes, instruments, estimand_type, **kwargs)
     76                     self._outcome,
     77                     common_cause_names=self._common_causes,
---> 78                     observed_node_names=self._data.columns.tolist()
     79                 )
     80             elif instruments is not None:

~/Projects/DL/dowhy/dowhy/causal_graph.py in __init__(self, treatment_name, outcome_name, graph, common_cause_names, instrument_names, observed_node_names)
     59             raise ValueError
     60
---> 61         self._graph = self.add_node_attributes(observed_node_names)
     62         self._graph = self.add_unobserved_common_cause(observed_node_names)
     63         self.logger = logging.getLogger(__name__)

~/Projects/DL/dowhy/dowhy/causal_graph.py in add_node_attributes(self, observed_node_names)
    101         for node_name in self._graph:
    102             if node_name in observed_node_names:
--> 103                 self._graph.nodes[node_name]["observed"] = "yes"
    104             else:
    105                 self._graph.nodes[node_name]["observed"] = "no"

TypeError: 'method' object is not subscriptable

This problem occurs whether I am using networkx 2.1 or 2.2

Nevermind, it appears I was using the Python2 kernel.  When I used the python 3 kernel it seemed to work fine to use self._graph.nodes[...]

Glad it worked out @djinnome ! :)


utils.nwd.resolve()

Check what happens when using utils.nwd.resolve()

nwd is of type string and does not implement .resolve()

The following works and thus resolve should not be required
class MyNode(Node):
    nwd: pathlib.Path = dvc.outs(utils.nwd)

    def run(self):
        assert self.nwd == pathlib.Paht("nodes/MyNode")


MATH-1573 - Redundant local variable

Coverage increased (+0.0007%) to 90.473% when pulling 8de9db8679f0efae600ce10cd99de741086c0693 on arturobernalg:feature/MATH-1573 into 771a21815b4329302fc174ef2ad80b46ed8247f0 on apache:master.


Figure out python packaging for fairing

I think fairing is imported as
import fairing

Should we instead make this a subpackage in "kubeflow"
e.g.
import kubeflow.fairing

@karthikv2k What is the plan for 0.6 ? Do you think we can/should change the import as part of 0.6?

@karthikv2k is thinking we will stick with import fairing for 0.6 because there are a lot of places that need to be updated.

@jlewi Agree with you, as logged https://github.com/kubeflow/kubeflow/issues/3683, we should have a unified kubeflow SDK, so sub-project will import as import kubeflow.fairing , import kubeflow.kfp and import kubeflow.lfmd etc ...

So should we change to kubeflow.fairing in 0.6?

Yeah, +1

@jlewi Guess you want to @ me? :-) I will take this.
/assign @jinchihe

hello @jlewi @animeshsingh
After thinking, there are two proposals:
Option 1:  Radical way

Rename the project name to kubeflow-sdk or kubeflowsdk (or better name?).
The pacakage name will be kubeflow (in Pypi), user will install by pip install kubeflow
Make new folder named kubeflow. And move all current fairing files to the create kubeflow as subpackage, we also can sync regularly from other components later to kubeflow (such as kubeflow.kfp and kubeflow.lfmd, kubeflow.kfserving)
Update the setup.py files and other python file (imports to relative import way).
Update the samples to import fairing as from kubeflow import fairing, includes other repo such as kubeflow examples.

Pros Radical way, we can build unified kubeflow sdk package.
Cons: Changes are big.
Option 2: Conservative way

Just update required file from fairing to kubelow.fairing such as in setup.py and init files, and import statements.
Update all samples by import kubeflow.fairing... and other repos.

Pros: changes is small.
Cons: seems so hack this way.
Personally I prefer to option 1, since the option 2 is so hack and Option 1 can let us build unified sdk package, user no need to install python package for each components that may let user confusing or unhappy.
Could you please let me know your viewpoints? Thanks a lot!
/cc @karthikv2k @abhi-g @gyliu513

I prefer the conservative way for now as we want to focus all resources on
1.0. given the amount of work involved in all of the major application
components.
Note that my suggestion is purely based on time and resource constraints
and not based on technical merit.
On Thu, Aug 29, 2019 at 3:12 AM Jin Chi He<EMAIL_ADDRESS>wrote:

hello @jlewi https://github.com/jlewi @animeshsingh
https://github.com/animeshsingh
After thinking, there are two proposals:
Option 1: Radical way

Rename the project name to kubeflow-sdk or kubeflowsdk (or better
name?).
The pacakage name will be kubeflow (in Pypi), user will install by pip
install kubeflow
Make new folder named kubeflow. And move all current fairing files
to the create kubeflow as subpackage, we also can sync regularly from
other components later to kubeflow (such as kubeflow.kfp and
kubeflow.lfmd, kubeflow.kfserving)
Update the setup.py files and other python file (imports to
relative import way).
Update the samples to import fairing as from kubeflow import fairing,
includes other repo such as kubeflow examples.

Pros Radical way, we can build unified kubeflow sdk package.
Cons: Changes are big.
Option 2: Conservative way

Just update required file from fairing to kubelow.fairing such as
in setup.py and init files, and import statements.
Update all samples by import kubeflow.fairing... and other repos.

Pros: changes is small.
Cons: seems so hack this way.
Personally I prefer to option 1, since the option 2 is so hack and Option
1 can let us build unified sdk package, user no need to install python
package for each components that may let user confusing or unhappy.
Could you please let me know your viewpoints? Thanks a lot!
/cc @karthikv2k https://github.com/karthikv2k @abhi-g
https://github.com/abhi-g @gyliu513 https://github.com/gyliu513
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubeflow/fairing/issues/234?email_source=notifications&email_token=ACZ2UZTYOBZRIIYHUEUAQJTQG6OHBA5CNFSM4HJQQLZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5N7MQQ#issuecomment-526120514,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACZ2UZWUTVBSPZMIR23X6H3QG6OHBANCNFSM4HJQQLZQ
.

Hello @abhi-g, Great thanks for your comments!
Discussed someones such as @gyliu513 and @hougangliu, we fully understand your concern about time and resource constraints, after careful consideration, we still suggest taking option 1 , there is a successful case in openstack, we can do a similar SDK. The option 2 is useless in fact.
For you concern, I can take more time to maintain Kubeflow Fairing, and if needed, I can introduce more resource from IBM to contribution this, to ensure we can finish that before 0.7.
I tried to created the PR #359 to do that , seems the effort is not as big as we thought :-) For the change, the earlier the better.

Do we need to need create a single unified repository in order to get to the world where users can do
from kubeflow import kfp
from kubeflow import fairing
from kubeflow import kfserving
etc....

Can we use namespace packaging to allow every project/repo/working group etc.. to define its own subpackages within the kubeflow python namespace?
So if every project follows option 2 then users would be able to do
pip install <{PKG1-name} | {GITHUB link}>

Where the pkg name is determined by how we publish to PyPi

If we want to create a unified pypi package to install all sub-packages; can we do that at release time? e.g. combine the subpackages from all the repos and then build and upload a single pip package?
If we create a single uber SDK repo and package, how do we scale that as the number of sub-packages grows? How do we mediate disagrements about what should be included in the SDK and what not?
The general approach in Kubeflow is to try to avoid that by emphasizing modularity and composability.
I think this is a major advantage of Option 2; users can decide which subpackages to install and at what versions.

@jlewi Really thanks for the great discussion. I got your concerns. I'm changing my mind...

If we want to create a unified pypi package to install all sub-packages; can we do that at release time? e.g. combine the subpackages from all the repos and then build and upload a single pip package?

I think that's not a problem for the resource to finish that, if cannot I can introduce more resource from IBM to finish that.

If we create a single uber SDK repo and package, how do we scale that as the number of sub-packages grows?

I think we can add new sub directory for new repo.

How do we mediate disagrements about what should be included in the SDK and what not?

Personally I think this is big challenge, in fact I'm worried about that too. Same repos owner may have different viewpoint for this since that's easy to maintain if sdk and core in same repo.
Yes, the namespace pacakging may be better way for us. if so, I perfer use the Native namespace packages which added from Python 3.3, Python 2 may not be support but I think that's OK since Python 2 will not be maintained soon.
I am now more inclined to namespace packaging. will update PR later. Thank you again!

How much more work is using using namespace packaging then Native namespace packaging?
I think its potentially reasonable to say that our python client library or specific python client libraries e.g. fairing might be only Python 3. But that seems like a decision that might be worth some broader discussion. So perhaps we should just use namespace packages to avoid blocking progress on SDK refactoring until we are ready to commit to Python 3.
I believe some of our python "packages" are already using namespace packaging
https://github.com/kubeflow/testing/blob/master/py/kubeflow/__init__.py

The effort should be small. Yes, if we want to also support Python 2, we can use pkgutil-style namespace packages as the kubeflow/testing used.
Will update that PR tomorrow. Thanks.

@jlewi @jinchihe I prefer that we take Python 2 as low priority, as Python 2 will come to an end in 2020, people may already start the migration process.
Please checkout https://www.codetd.com/en/article/7108696 and https://gestaltit.com/favorites/rich/saying-goodbye-to-python-2-7/ for detail.

@gyliu513 I don't think we need to take on extra work to support python2; but I think we want to make 1 change at a time.
The kubeflow python packages are currently using namespace packaging. So if we switch to native namespace packaging then we have to make changes across all our repositories. That could slow down doing the package renaming. I think getting the package renaming done sooner is more important because that is user facing.
So my vote is to get the package renaming done first and then after that do things like remove py2 support/features.

Already updated the PR, used pkgutil-style namespace packages which supports Python 2.


Searchbar - Blur Fixed

Closes #198
Changes proposed

The blur of search bar was over flowing w.r.t. x-axis and was clearly visible at many places in rectangular box, I fixed it and left
the blur for y-axis only.

Screenshots

IMO previous one was better, we could just use the same blur effect. what do you think @leewan-09 @RakeshSangem


Set up "production" stage in the Cloud

As a [role]
I need [function]
So that [benefit]
Details and Assumptions

[document what you know]

Acceptance Criteria
Given "test" stage has passed
Then the code should deploy to the Production environment

https://orders-prod.us-south.cf.appdomain.cloud/


Added Wordle Game

Issue #91
Added Wordle game
Functionalities added:

Showing previous wrong guesses of user

If guessed wrong, displaying which letters were:

Correct and at Correct Position
Correct but at Wrong Position
Incorrect

Option to opt in for HINTS in exchange of 1 reduced attempt

Option to RESTART a fresh the game after finishing current one

Added comments in code for better readability

I resolved all the merge conflicts. Canyou please merge this if all seems good

Closing this request since 5 days are passed and getting merge confilcts every day. Opening a fresh one.


Timeout settings seem not to be working?

I am running memgator with command: -V --arcs=/archives.json -t 3s -T 3s -r 3s server and when I run
time curl -I "localhost:1209/timenav/json/2007/http://google.com/"
real	0m15.244s

Seems like its still at the 15s default timeout?

I can reproduce it. Something is not behaving as expected. I will look at it over the weekend.

Any chance you could do it sooner? oldweb is experiencing heavy load and wanted to lower the timeout on the aggregator... I guess I could just look myself also..

Aggressively reducing the timeout will be dangerous as it will lose the recall. One quick solution would be to look at your logs and find out the archive that is hitting the timeout again and again. Just disable that archive for now and it should work fine. In the past I have seen an archive that performs OK on TimeMap requests, but takes forever on TimeGate.

I know why it is happening though. It is the response timeout that is holding the whole request this long, not the other two timeouts. When we make TimeMap request to individual archives, we expect 200 response code, so we use client.Do() call so that it handles any redirects internally and gives us the terminal response. In case of TimeGate, we expect a 302 (and optionally 200), which means we cannot let the default http client to follow redirects and would stick with the very first response we got. For this purpose we are using transport.RoundTrip() call. The client knows about all the three timeouts, but the transport only knows about two timeouts, not the response timeout. The fix would be to use a custom Dial function in the transport to pass the response timeout.

Are the command-line settings also not being set? I have all timeouts set to same value but it was still at 15s.. Trying hardcoding '5' instead of '15'.. Seems much easier then filtering list for each archive that may be slow..

Yeah, i can confirm that it does indeed work when i change the hardcoded default to '5'.. I did a build to netcapsule/memgator just with this change.. Assume that part is an easy fix.. Would be nice to be able to adjust timeout dynamically w/o restarting memgator in some way, but maybe for another time :)
Thanks for your help

Finally, I found the culprit. The values inside structs were assigned at the time of initialization and were not updated when the corresponding flag values (at pointers) were updated after parsing flags. Here is a code snippet to illustrate it.
I also, bumped up the default timeout values. @ikreymer, you should be fine using this, with appropriate flags, without hard coding. Please let me know if it still fails or breaks anything else.


693 zfs diff is too slow

Ready for review

Pipeline: https://gitlab.dotmesh.com/dotmesh/dotmesh/pipelines/19606

Pipeline: https://gitlab.dotmesh.com/dotmesh/dotmesh/pipelines/19607

Pipeline: https://gitlab.dotmesh.com/dotmesh/dotmesh/pipelines/19613

Pipeline: https://gitlab.dotmesh.com/dotmesh/dotmesh/pipelines/19631

Results from interactive testing:
yay this caching implementation is working really well now
when i start downloading a big file, it stops using the result cache because dirtyData != 0 each time it moves the snapshot forwards
when i stop the download, it notices that the fs stops changing and starts using the cache for every result
so it’s not having to iterate over all the files (or do any snaps, mounts etc) when the filesystem is quiet
and in all cases, it’s caching the file list from the latest dotmesh commit, so it’s only doing 50% of the work it was doing before

Should see slightly improved unzip performance as well, as there'll be less file I/O now hopefully.


add 'complete' event for download finished

What if we add back the download-finished event but call it something else, like 'complete'? Any better ideas?

5.11.0 has sync which is basically what you add here but using an internal index so it's more efficient (i.e. no need to look at all the data)

Great!!


fix sort bug, use integer replaces string to sort

the string sort result in app-component db directory number-led doesn't increase number correctly when bigger than 100, for
10-cuba-xxx
50-abc-xxx
....
90-efg-xxx
100-xyz-xxx

sorted by string type will always get last module name 90-efg-xxx and generate repeated 100-xxx-xxx name

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.drshiki seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Unable to paste text into PXT javascript on iPhone/Safari

microbit.org-ticket: 651
When using the Pxt editor in JavaScript mode on an iPhone using the Safari browser, it's not possible to paste text into the JavaScript editor window. This means it's impossible to import code from anywhere else unless you retype it by hand

Note: Is this a limitation of the Safari browser on iPhone (not allowing text to be pasted into a window), or is it due to how the editor surfaces the edit window in that browser. i.e. is this likely to be fixable by a code change in PXT, or is this a limitation of how the Safari browser works on the iPhone, I'm not sure?

Our rich editor does not officially support mobile coding yet. Authoring JavaScript on mobile is not generally supported. Even if it was, typing JavaScript on a softkeyboard is a terrible experience not suitable for beginners.

Some additional feedback from the customer, that they asked to be passed on to the dev team:
Thanks for the reply to my bug report regarding copy and paste not working properly on iOS devices.
I'm afraid that in my view this limitation is a significant drawback of the software and not a mere long-term feature request. It's also a problem easily fixed.
The issue:
I agree that typing on soft keyboards is not always fun. But that's missing the point.
The BBC micro:bit is targeted at children. Kids today live around mobile devices - phones and tablets. They view personal computers as antiquated office machines. Failing to support the expectations of this youthful audience is, in my view, an error.
Many people code on iPads with Bluetooth keyboards, and they should be fully supported as well. (They could use command-C and V but may not know this)
Resolving the problem:
If the custom popup (help, save, run, etc) were to be disabled on mobile devices, and its functions moved to an icon, copy and paste using the OS-supplied tools would be possible. This simple expedient would make Javascript editing possible on iOS devices.
Right now the infrastructure to code in JavaScript is there, but you just can't get code in or out easily.
Please reconsider this suggestion. Thank you!

This is fixed.


Support deploying protocol handlers for Pulsar

Motivation
This PR enables users to configure protocol handlers via an Ansible variable file. In addition, when I ran the current Ansible script on Red Hat Enterprise Linux 8.3 (HVM) of AWS, the docker installation failed:

FAILED! => {"changed": true, "cmd": "yum-config-manager --enable rhui-REGION-rhel-server-extras", "delta": "0:00:00.417930", "end": "2022-03-01 09:20:56.921433", "msg": "non-zero return code", "rc": 1, "start": "2022-03-01 09:20:56.503503", "stderr": "Error: No matching repo to modify: rhui-REGION-rhel-server-extras.", "stderr_lines": ["Error: No matching repo to modify: rhui-REGION-rhel-server-extras."], "stdout": "", "stdout_lines": []}

It's because rhui-REGION-rhel-server-extras doesn't work for RedHat 8 on AWS.
In addition, when I deployed benchmark on AWS CN, it spends too much time downloading binaries from network or just stuck. It would be better to support uploading binaries from local.
Modifications

Support deploying protocol handlers by customizing protocol_handlers variable.
Make disk device paths configurable for different instance types.
Fix the failure of docker installation in RedHat 8.
Support uploading all binaries from local files, including Pulsar, Prometheus, node exporter and protocol handlers.
Add an example Ansible variable file extras_var.yaml and the related documents in README.
Fix some warnings for Ansible deployment.

The new deployment script has been verified with following terraform.tfvars:
ami             = "ami-0c04ac6974e10f832"

instance_types = {
  "pulsar"     = "i3en.2xlarge"
  "zookeeper"  = "t2.small"
  "client"     = "m5.8xlarge"
  "prometheus" = "t2.large"
}

@dave2wave @codelipenghui @merlimat PTAL.

OOM happened in my test environment, it's because the default memory configs are too large, see: https://github.com/openmessaging/benchmark/blob/ddd4b900918451ad3caee46bf1fd490a1ba62b25/driver-pulsar/deploy/ssd/deploy_with_stats.yaml#L135-L136
We should make these variables configurable as well.


how do you train the instruc-tuned model?

Do you train the models in model zoo in whole model finetune manner or in LoRA manner?
What data do you use in training Hu, Dongshan, Hetian and Altay??

Thanks for your attention! We train all Hu, Dongshan, Hetian and Altay models in LoRA manner, with alpaca + https://huggingface.co/datasets/BelleGroup/train_0.5M_CN 😄 We are working on training better models with more datasets.


Sort by nestes objects/relations

Hey, I would like to sort my data by a value in contained in another entity.
So I have
model Product {
id
name: String
}
model Movement {
id
product: Product
}

and I would like to be able to do the following:
query movements(orderBy: { product: {name: asc } }) {
id
}

Hi,
Thanks for requesting this! It has already been requested before, so I am going to close this as a duplicate of https://github.com/prisma/photonjs/issues/249


fix: empty section at the end of a document

When adding the page metadata block a new, empty section is created. This results in an empty

 being rendered subsequently by the helix-html-pipeline. As section may have top and bottom paddings assigned that may be an issue for the page layout.
With this PR I removed the thematicBreak added in front of the metadata block.
See for example https://main--xwalk-example--buuhuu.hlx.page/index.md https://main--xwalk-example--buuhuu.hlx.page/

Not for these:
https://www.volvotrucks.us/index.md
https://www.moleculardevices.com/index.md
https://www.bamboohr.com/index.md
I may be able to find some more, but I guess its done differently per project.
I still think an empty section doesn't make much sense semantically if not added intentionally by the author, right?

I still think an empty section doesn't make much sense semantically if not added intentionally by the author, right?

ok. yes, I looked at the code in html-pipeline and it just removes the metadata block (which can be defined anywhere in the document). so NOT adding a
 is probably correct here.


Refactor move action server directories

Description
Regroup action-server modules under action-server/covidflow. This will allow better sharing of code between modules and having top level initialization/config/constants/etc.
Checklist

[X] PR title follows Conventional Commits guidelines
[X] All relevant PR sections are populated, irrelevant ones are removed

You're right for provincial_811 but phone_number_validation is used in persistence


Update submissions-admin.md

Updated guidance on when to use appear clean vs appear suspicious.

@chrisda could you please approve this?

@dhairyya, be sure to work out of the private version of the repo, not public.


Container.generateTexture Issue

I'm having a strange issue with container.generateTexture()
I'm loading several base64 images into the loader (which works fine). In the resource loader callback, I am able to render these to sprites no problem.
However, if I try and combine these sprites into a group and generate a texture from that group, It won't render unless I do so after some middleware code in the loader. The way I've been able to do this is by setting a timeout so that it skips it until after the middleware is done loading. How can I get around this? I imagine it will cause issues at some point.
   // Inside resource loader callback
   // loader.load(callback);

   // Create container, add sprites
    var container = new PIXI.Container();
    container.addChild(left);
    container.addChild(right);
    container.addChild(middle);

    // Create new sprite & texture
    var sprite = new PIXI.Sprite();
    window.setTimeout(function() {
      var texture = container.generateTexture(engine.renderer);
      sprite.texture = texture;
    }, 1);

Is there an event or method I could use to fire this code after everything is loaded and the middleware has finished?

I'm not sure I follow, the loader callback doesn't run until middleware has completed running.

@davearel Take a look at the following example https://jsfiddle.net/o6pgq628/1/ .
I think it wil help you solve your problem :).

@izar89 Thanks. This helped me realize my issue.
I believe the problem is that my base64 is an image/svg+xml type. When I run this through the loader, I'm not returned a texture.
Instead, I'm doing this:
var left = new PIXI.Sprite( PIXI.Texture.fromImage(resources.left.url ));

I'm essentially loading the resource twice. Shouldn't the loader return me a texture?
@englercj Is this a bug in resource-loader?

Could be, fork resource-loader and write a test that reproduces the problem. A PR with a failing test is really helpful for tracking down issues.

@englercj thanks for the info, that did it. I've submitted a pull request to https://github.com/englercj/resource-loader/pull/52
Thanks!

closing for now as not a pixi issue. thanks all!


vaughnlive.tv - 503 server error again

$ ./livestreamer http://vaughnlive.tv/lmshows_ngbbc
[cli][info] Found matching plugin vaughnlive for URL http://vaughnlive.tv/lmshows_ngbbc
error: Unable to open URL: http://vaughnlive.tv/lmshows_ngbbc (503 Server Error: Service Temporarily Unavailable)
I've been trying for 15 minutes with the same error result. :(

I just placed the command in a loop and it eventually worked. If anybody knows what's causing this to happen from time to time, I would love to know. Thanks.

I'm reopening the issue because it's happening much more frequently and only clears up after quite a while. So far, when I get this error, it takes up to half an hour to eventually work.

vaughnlive limits the number of free viewers on streams

Yes but this limit didn't seem to affect livestreamer until two days ago. The player on vaughnlive's site would give capacity exceeded messages while livestreamer would play with no issues, but something appears to have changed in the last two days.


Ensure bulk publish action picks up latest revisions

Fixes #7690.
Also tweak the confirmation pages to show the draft title (via get_admin_display_title), to match the rest of the admin (because failing to do that looks particularly wrong when confirming the publish action).

@kaedroho Done!

Thanks so much for the quick fix, @gasman and @kaedroho!


sim3 banner update

I had already made this changes and committed them directly to main as I'm naughty


Build_path is / in Shell plugin with multiple commands and not the real path

I try to use the Shell plugin to execute some commands. But I didn't get the base path
I place $this->phpci->log($command); in PHPCI/Plugin/Shell.php on line 77 to display the command.
To test it I used the next configuration with multiple commands
    shell:
        - "echo $PHPCI_BUILD_PATH"
        - "echo $BUILD_PATH"
        - "echo %BUILD_PATH%"
        - "echo %build_path%"

The result is:
echo $PHPCI_BUILD_PATH
/
echo $BUILD_PATH

echo /
/
echo %build_path%
EXCEPTION: Warning: sprintf(): Too few arguments in /path/to/phpci/PHPCI/Helper/BaseCommandExecutor.php line 68

If I remove the last line from the config, I get the same but without that error part of this result
It use / as the BUILD_PATH and not /path/to/phpci/PHPCI/build/projectx-buildy

+1
Running into exact the same issue.

I think this issue is actually not an issue at all. The build log (stored in the database) strips out the full build path to make all paths in the log relative.
For example:
/path/to/phpci/PHPCI/build/1929/Some/File.php will be converted to Some/File.php for display.
However, the paths that the plugins themselves use are the full paths.

@dancryer Although I understand the logic behind this replacement, this just seems to add confusion when you're trying to debug any plugin.


Can't drink water in lair of the mutants

Hi, I just beat shaligo in lair of the mutants, but I get the error Error: Cannot read property 'isInLocalContainer' of null when I try to drink the water.

Fixed. This was an issue whenever trying to eat or drink something that's not a "real" artifact.


Lots of errors in "Copy a managed disk" script

Please review the "Copy a managed disk" script. There are so many mistakes and inconsistencies.
Thanks

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

ID: 77b58ea9-fc39-64f0-111c-371c9176ed55
Version Independent ID: 54408794-9e81-79ed-32ff-1c05979ff0e8
Content: Upload a vhd to Azure using Azure CLI
Content Source: articles/virtual-machines/linux/disks-upload-vhd-to-managed-disk-cli.md
Service: virtual-machines-linux
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

Thanks for the feedback! We are currently investigating and will update you shortly.

@pbtrudel also, please provide examples of the errors you are getting. Ideally the output you got then running the script.

  Missing ‘$’ for variables. The script tries to execute the variables as commands.

  Some commands are missing the variables, ie: az disk grant-access -n <sourceDiskNameHere> -g $sourceRG -> az disk grant-access -n $sourceDiskName -g $sourceRG

  “az disk create -n $targetRG -n $targetDiskName” uses “-n” for resource group, should be –g

  “az disk grant-access -n <sourceDiskNameHere> -g $sourceRG --duration-in-seconds 86400 --query [acessSas] -o tsv)” has a typo for the –query option, ie: acessSas -> accessSas

Pascal Bouchard Trudel
System Administrator, IT Projects - Technical Operations
1<PHONE_NUMBER> ext. 4569 | +33 (0)1 72 81 35 97
[SherWeb]http://www.sherweb.com/  [Twitter] https://twitter.com/SherWeb  [Linkedin] http://www.linkedin.com/company/sherweb  [Facebook] https://www.facebook.com/Sherweb  [Google Plus] https://plus.google.com/+sherweb/posts  [Youtube Channel] https://www.youtube.com/user/SherWebOfficial
From: Micah<EMAIL_ADDRESS>Sent: October 18, 2019 3:24 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Pascal Bouchard Trudel<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Lots of errors in "Copy a managed disk" script (#41050)
@pbtrudelhttps://github.com/pbtrudel also, please provide examples of the errors you are getting. Ideally the output you got then running the script.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/41050?email_source=notifications&email_token=AKKWYVIYF4TLOKHTIJXXOCDQPIEMXA5CNFSM4JCLC2P2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVT3HQ#issuecomment-543899038, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKKWYVMPDJKMP3EP537T6O3QPIEMXANCNFSM4JCLC2PQ.

The information contained in this email is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material; unauthorized use of this information is prohibited. If you have received this in error, please notify the sender and delete the material immediately. Thank you.
L'information contenue dans ce courriel ne s'adresse qu’à la personne ou à l’entité à qui elle est dirigée; elle peut contenir des renseignements de nature privilégiée et/ou confidentielle. Toute utilisation non autorisée est interdite. Si vous avez reçu ce courriel par erreur, SVP en aviser l'expéditeur et le détruire immédiatement. Merci.

@roygara looks like you beat me to it :)
@pbtrudel Roy has submitted a PR for this. Once the PR merges the changes will go live after a few hours.


Consider fallback to xml2rfc archive if XML formatting fails with an error

In other words, this call:
https://github.com/ietf-ribose/bibxml-service/blob/f3a384056b4abfe59dc2571f98d1aa8ea0d5f1ee/xml2rfc_compat/urls.py#L261
should probably be wrapped in a try.
It’s important to ensure fallback outcomes are logged, as otherwise it’ll mask serialization issues, which if left unaddressed mean xml2rfc paths would resolve to archive snapshots and not benefit from update data in Relaton sources.

Fixed, failed serialization now falls back to archive source: https://github.com/ietf-ribose/bibxml-service/blob/61ed2be0a3175506a2d9e814800d96be4293965e/xml2rfc_compat/views.py#L248-L266


Add explanation of --ctor JSON string

Type of change

Documentation update

Description

Neither the documentation nor the source code of peer mention the exact format of --ctor JSON string. Beginners are likely to frown at that.
By looking at the source and asking questions online, I think I figured out the format of  --ctor JSON string.
In this PR, I add the format explanation on the docs of the peer command.
I am also a newbie. Please check if the explanation is correct and revise.

Actually, the build failed because this doc is auto-generated from other files and the generated command help. Specifically, the text being edited here needs to be updated in docs/wrappers/peer_chaincode_preamble.md, and then peerchaincode.md will get auto-generated from that in the build.
@gqqnbig Could you give that a try?

@denyeart I think I fixed it. Can you check?


Update README.md

spelling correction help -> Helm
Description
Grammatical error
N/A
How Has This Been Tested?
Not a code change, text change only.
Checklist:

[ ] I have updated the relevant Helm chart(s) version(s)
[ ] I have updated the relevant component changelog(s)
[X] This change does not affect any particular component (e.g. it's CI or docs change)

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


EnvironmentChangeEvent fires before config property values are updated on first event

I would like to execute code when a particular config value is modified in Consul. However, the very first time a config value is modified in Consul and the EventListener catches the EnvironmentChangeEvent, Spring seems to not have populated that config property value yet. Every time thereafter, the value is properly populated when the EnvironmentChangeEvent listener is invoked.
I have provided a sample application that replicates the behavior here:
https://github.com/joshfix/demo

See ConfigurationPropertiesRebinderAutoConfiguration.java#L75-L81

// After all beans are initialized send a pre-emptive EnvironmentChangeEvent
// so that anything that needs to rebind gets a chance now (especially for
// beans in the parent context)

Seems @dsyer is doing it on purpose.

I'm not sure that describes the issue I'm seeing.  My EventListener doesn't even seem to catch that initial empty event that you linked.  The issue I'm having happens after the first property value change in consul.  The very first time you change a value, the change event fires, but the property isn't updated yet.  I have to manually call RefreshEndpoint.refresh() for the updated value to be set.  Every change in consul thereafter works as expected -- the change event fires and the updated property value is set.

I am experiencing the same issue as mentioned #288
My scenario is as follows:

My application starts when consul is still empty
After application is started, a key is written in consul (manually for example)
The application cannot detect this first change until a new change is made again in consul (or refresh is called). When the second change happens, the event that arise, contains both updated keys.

Hope this helps.
Regards.

FWIW, @beeva-pablovaliente, I believe it is the same issue.  The only difference between your scenario and mine is I had an initial key/value set for the property I was fetching in my event listener.

See https://github.com/spring-cloud/spring-cloud-consul/pull/297

BTW, the updated test failed with version 0.7.2 of consul in CI. Updating to 0.7.5 let the test pass.


xmr-stak-amd clBuildProgram error on rx480

I am getting clBuildProgram error when running xmr-stak-amd (opencl monero miner).
The issue is reported also here: https://github.com/fireice-uk/xmr-stak-amd/issues/48
The error is
[2017-06-13 12:25:15] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
error: unable to execute command: Segmentation fault (core dumped)
error: clang frontend command failed due to signal (use -v to see invocation)

here is the full log
$ ./bin/xmr-stak-amd config.txt
[2017-06-13 12:25:12] : Compiling code and initializing GPUs. This will take a while...
Profiling is not available
[2017-06-13 12:25:12] : Device 0 work size 8 / 256.
clang version 4.0
Target: amdgcn-amd-amdhsa-opencl
Thread model: posix
InstalledDir: /opt/rocm/opencl/bin/x86_64
[2017-06-13 12:25:15] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
Build log:
warning: argument unused during compilation: '-I .'
error: unable to execute command: Segmentation fault (core dumped)
error: clang frontend command failed due to signal (use -v to see invocation)
note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
/opt/rocm/opencl/bin/x86_64/clang[0x217c00a]
/opt/rocm/opencl/bin/x86_64/clang[0x217a3be]
/opt/rocm/opencl/bin/x86_64/clang[0x217a510]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f19c6640390]
/opt/rocm/opencl/bin/x86_64/clang[0x13d53e4]
/opt/rocm/opencl/bin/x86_64/clang[0x13b88aa]
/opt/rocm/opencl/bin/x86_64/clang[0x1743007]
/opt/rocm/opencl/bin/x86_64/clang[0x20cbcea]
/opt/rocm/opencl/bin/x86_64/clang[0x20cbd83]
/opt/rocm/opencl/bin/x86_64/clang[0x20cc77f]
/opt/rocm/opencl/bin/x86_64/clang[0x598456]
/opt/rocm/opencl/bin/x86_64/clang[0x59a8a3]
/opt/rocm/opencl/bin/x86_64/clang[0x576ceb]
/opt/rocm/opencl/bin/x86_64/clang[0x8ed2ae]
/opt/rocm/opencl/bin/x86_64/clang[0x8c2ad5]
/opt/rocm/opencl/bin/x86_64/clang[0x5720bd]
/opt/rocm/opencl/bin/x86_64/clang[0x56f208]
/opt/rocm/opencl/bin/x86_64/clang[0x52326a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f19c6286830]
/opt/rocm/opencl/bin/x86_64/clang[0x5694c1]
Stack dump:
0.	Program arguments: /opt/rocm/opencl/bin/x86_64/clang -cc1 -triple amdgcn-amd-amdhsa-opencl -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name t_19803_47.bc -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu fiji -dwarf-column-info -debugger-tuning=gdb -resource-dir /opt/rocm/opencl/bin/lib/clang/4.0 -O3 -fdebug-compilation-dir /home/gsedej/git/xmr-stak-amd -ferror-limit 19 -fmessage-length 192 -cl-kernel-arg-info -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -mllvm -amdgpu-internalize-symbols -mllvm -amdgpu-early-inline-all -o /tmp/t_19803_47-8cf830.o -x ir /tmp/AMD_19803_32/t_19803_47.bc
1.	Code generation
2.	Running pass 'Function Pass Manager' on module '/tmp/AMD_19803_32/t_19803_47.bc'.
3.	Running pass 'SI Fix SGPR copies' on function '@cn0'
Error: Creating the executable failed: Compiling LLVM IRs to executable

Can I get more log/debug?

Thanks we look into it,.
On Jun 15, 2017, at 6:00 AM, gsedej <notifications<EMAIL_ADDRESS>wrote:
I am getting clBuildProgram error when running xmr-stak-amd (opencl monero miner).
The issue is reported also here: fireice-uk/xmr-stak-amd#48https://github.com/fireice-uk/xmr-stak-amd/issues/48
The error is
[2017-06-13 12:25:15] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
error: unable to execute command: Segmentation fault (core dumped)
error: clang frontend command failed due to signal (use -v to see invocation)
here is the full log
$ ./bin/xmr-stak-amd config.txt
[2017-06-13 12:25:12] : Compiling code and initializing GPUs. This will take a while...
Profiling is not available
[2017-06-13 12:25:12] : Device 0 work size 8 / 256.
clang version 4.0
Target: amdgcn-amd-amdhsa-opencl
Thread model: posix
InstalledDir: /opt/rocm/opencl/bin/x86_64
[2017-06-13 12:25:15] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
Build log:
warning: argument unused during compilation: '-I .'
error: unable to execute command: Segmentation fault (core dumped)
error: clang frontend command failed due to signal (use -v to see invocation)
note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
/opt/rocm/opencl/bin/x86_64/clang[0x217c00a]
/opt/rocm/opencl/bin/x86_64/clang[0x217a3be]
/opt/rocm/opencl/bin/x86_64/clang[0x217a510]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f19c6640390]
/opt/rocm/opencl/bin/x86_64/clang[0x13d53e4]
/opt/rocm/opencl/bin/x86_64/clang[0x13b88aa]
/opt/rocm/opencl/bin/x86_64/clang[0x1743007]
/opt/rocm/opencl/bin/x86_64/clang[0x20cbcea]
/opt/rocm/opencl/bin/x86_64/clang[0x20cbd83]
/opt/rocm/opencl/bin/x86_64/clang[0x20cc77f]
/opt/rocm/opencl/bin/x86_64/clang[0x598456]
/opt/rocm/opencl/bin/x86_64/clang[0x59a8a3]
/opt/rocm/opencl/bin/x86_64/clang[0x576ceb]
/opt/rocm/opencl/bin/x86_64/clang[0x8ed2ae]
/opt/rocm/opencl/bin/x86_64/clang[0x8c2ad5]
/opt/rocm/opencl/bin/x86_64/clang[0x5720bd]
/opt/rocm/opencl/bin/x86_64/clang[0x56f208]
/opt/rocm/opencl/bin/x86_64/clang[0x52326a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f19c6286830]
/opt/rocm/opencl/bin/x86_64/clang[0x5694c1]
Stack dump:
0.

 Running pass 'SI Fix SGPR copies' on function '@cn0'

Error: Creating the executable failed: Compiling LLVM IRs to executable
Can I get more log/debug?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/128, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DudpQKs9CZbg4xu9wS83maKjsezrcks5sEQ7igaJpZM4N7DVA.

Quick update.  CQE was able to reproduce.  It was observed a slight change in an array reference in a statement ( replace  st[i + 2] by st[i + 1]) will hide the compiler crash.   We are looking at the root cause.

We rolled out ROCm 1.6 on Thursday here are new install instructions https://rocm.github.io/ROCmInstall.html.  I need to see if this fix made into 1.6

The ROCm-1.6 does not fix. The error is now segmentatio fault.  (I did remove repo and re-pulled and rebuild)
btw: which line did you correct (st[i +2]) in which file?
the error output
$ ./xmr-stak-amd
[2017-07-03 13:29:43] : Compiling code and initializing GPUs. This will take a while...
Profiling is not available
/usr/share/libdrm/amdgpu.ids: No such file or directory
amdgpu_device_initialize: Cannot parse ASIC IDs, 0xffffffea.[2017-07-03 13:29:43] : Device 0 work size 8 / 256.
clang version 4.0
Target: amdgcn-amd-amdhsa-opencl
Thread model: posix
InstalledDir: /opt/rocm/opencl/bin/x86_64
[2017-07-03 13:29:49] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
Build log:
warning: argument unused during compilation: '-I .'
error: unable to execute command: Segmentation fault (core dumped)
error: clang frontend command failed due to signal (use -v to see invocation)
note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
/opt/rocm/opencl/bin/x86_64/clang[0x2241bfa]
/opt/rocm/opencl/bin/x86_64/clang[0x223ff8e]
/opt/rocm/opencl/bin/x86_64/clang[0x22400e0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fa746dd0390]
/opt/rocm/opencl/bin/x86_64/clang[0x1435fb4]
/opt/rocm/opencl/bin/x86_64/clang[0x1418179]
/opt/rocm/opencl/bin/x86_64/clang[0x17c3897]
/opt/rocm/opencl/bin/x86_64/clang[0x218aaaa]
/opt/rocm/opencl/bin/x86_64/clang[0x218ab43]
/opt/rocm/opencl/bin/x86_64/clang[0x218b53f]
/opt/rocm/opencl/bin/x86_64/clang[0x58fe76]
/opt/rocm/opencl/bin/x86_64/clang[0x592303]
/opt/rocm/opencl/bin/x86_64/clang[0x56e619]
/opt/rocm/opencl/bin/x86_64/clang[0x8fd75e]
/opt/rocm/opencl/bin/x86_64/clang[0x8d0495]
/opt/rocm/opencl/bin/x86_64/clang[0x5699fd]
/opt/rocm/opencl/bin/x86_64/clang[0x566968]
/opt/rocm/opencl/bin/x86_64/clang[0x51934a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fa746a15830]
/opt/rocm/opencl/bin/x86_64/clang[0x560c01]
Stack dump:
0.	Program arguments: /opt/rocm/opencl/bin/x86_64/clang -cc1 -triple amdgcn-amd-amdhsa-opencl -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name t_6269_43.bc -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu fiji -dwarf-column-info -debugger-tuning=gdb -resource-dir /opt/rocm/opencl/bin/lib/clang/4.0 -O3 -fdebug-compilation-dir /home/gsedej/git/xmr-stak-amd/bin -ferror-limit 19 -fmessage-length 153 -cl-kernel-arg-info -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -mllvm -amdgpu-internalize-symbols -mllvm -amdgpu-early-inline-all -o /tmp/t_6269_43-ebbdf3.o -x ir /tmp/AMD_6269_28/t_6269_43.bc
1.	Code generation
2.	Running pass 'Function Pass Manager' on module '/tmp/AMD_6269_28/t_6269_43.bc'.
3.	Running pass 'SI Fix SGPR copies' on function '@cn0'
Error: Creating the executable failed: Compiling LLVM IRs to executable

Thanks.  I will work with the team to get this into ROCm 1.6.1 patch.

I was getting this on Vega FE. Fixed for me in rocm on master and rocm-opencl on amd-master.

Thanks for reporting the issue. The reported issue has been fixed.  However, the test is launching though without pool login unable to progress.
Need to have wallet address for this mining app.
/*

pool_address   - Pool address should be in the form "pool.supportxmr.com:3333". Only stratum pools are supported.
wallet_address - Your wallet, or pool login.
pool_password  - Can be empty in most cases or "x".
*/

[2017-09-01 14:52:07] : Starting GPU thread, no affinity.
[2017-09-01 14:52:07] : Connecting to pool pool.supportxmr.com:3333 ...
[2017-09-01 14:52:08] : Connected. Logging in...
[2017-09-01 14:52:08] : SOCKET ERROR - No login/password specified
[2017-09-01 14:52:08] : SOCKET ERROR - RECEIVE error: socket closed
[2017-09-01 14:52:08] : Pool connection lost. Waiting 10 s before retry (attempt 1).
[2017-09-01 14:52:18] : Connecting to pool pool.supportxmr.com:3333 ...
[2017-09-01 14:52:18] : Connected. Logging in...
[2017-09-01 14:52:18] : SOCKET ERROR - No login/password specified
[2017-09-01 14:52:18] : SOCKET ERROR - RECEIVE error: socket closed
[2017-09-01 14:52:18] : Pool connection lost. Waiting 10 s before retry (attempt 2).
Please retry to see whether the test can run successfully or advise on how to proceed with the login credentials. Thanks.

@gstoner  So the "fix" allows it to compile, but breaks the cryptonight implemention.
diff -Naur cryptonight.cl.orig cryptonight.cl
--- cryptonight.cl.orig	2017-09-30 01:18:28.440919272 -0500
+++ cryptonight.cl	2017-09-29 23:43:10.774085196 -0500
@@ -278,7 +278,7 @@
ulong tmp1 = st[i], tmp2 = st[i + 1];
		st[i] = bitselect(st[i] ^ st[i + 2], st[i], st[i + 1]);

  	st[i + 1] = bitselect(st[i + 1] ^ st[i + 3], st[i + 1], st[i + 2]);

  	st[i + 1] = bitselect(st[i + 1] ^ st[i + 3], st[i + 1], st[i + 1]);
  	st[i + 2] = bitselect(st[i + 2] ^ st[i + 4], st[i + 2], st[i + 3]);
  	st[i + 3] = bitselect(st[i + 3] ^ tmp1, st[i + 3], st[i + 4]);
  	st[i + 4] = bitselect(st[i + 4] ^ tmp2, st[i + 4], tmp1);

HASHRATE REPORT
| ID |   10s |   60s |   15m |
|  0 | 759.7 | 764.2 | 763.1 |
Totals:   759.7 764.2 763.1 H/s
Highest:  770.5 H/s
RESULT REPORT
Difficulty       : 2000
Good results     : 0 / 551 (0.0 %)
Pool-side hashes : 0
Top 10 best results found:
|  0 |                0 |  1 |                0 |
|  2 |                0 |  3 |                0 |
|  4 |                0 |  5 |                0 |
|  6 |                0 |  7 |                0 |
|  8 |                0 |  9 |                0 |

This has been open for a while, and I think it is no longer valid. I downloaded the latest xmr-stak release and tested on  Polaris 10 GPU on ROCm 1.9.1. I was able to run tests for cryptonight_v7, monero7, and some others without any problems. Closing this issue -- if you believe the problem still exists, please open another and we can restart the debugging process.


RGB Image out of focus in xyz mode on D-Lite

Hello!
When running in xyz mode on an OAK D-Lite, the RGB image is out of focus, as it is set manually during initialization in https://github.com/geaxgx/depthai_blazepose/blob/main/BlazeposeDepthaiEdge.py#L238.
The comment mentions a calibration process - is this something I can replicate myself? I couldn't find any information on it in this repo.
Thank you, and sorry if I'm missing something obvious :)

Thanks for reporting.
It seems that using the constant focus value of 130 does not work well with the OAK-D lite. I have confirmed your issue with my own model. So I have modified the code to use instead of 130 the actual focus value used during calibration. It should work better.


Add Placeholder Text to a Text Field

Challenge Add Placeholder Text to a Text Field has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<input type="text">
<input type="text"placeholder= "cat photo app">

@DebFrench
Thanks for reporting this. But your code is incorrect.
GitHub Issues are for reporting bugs on the website only.
Please consult the Help Chat Room for any assistance to Coding.
Happy Coding!

Sorry ;^o
Thanks!
On Mon, May 9, 2016 at 3:00 PM, Lance<EMAIL_ADDRESS>wrote:

@DebFrench https://github.com/DebFrench
Thanks for reporting this. But your code is incorrect.
GitHub Issues are for reporting bugs on the website only.
Please consult the Help Chat Room https://gitter.im/FreeCodeCamp/Help
for any assistance to Coding.
Happy Coding!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8533#issuecomment-217956380


Evaluate rombodawg/Llama-3-8B-Instruct-Coder-v2

Eval complete, It's "ok", scores lower then baseline llama3 instruct.


Typo in chmod+x

Typo here, missing space in chmod+x :):
https://github.com/MiMillieuh/Photoshop-CC2022-Linux/blob/545dd1868f57b1d633fdd6fd7046392d00edb31c/scripts/photoshop2021install.sh#L69
fails with photoshop2021install.sh: line 69: chmod+x: command not found

Thanks for your report.
it's fixed now.


Number formatter support in all supported Plurimath conversions

This PR adds a new blog post explaining the support of Number formatter in all Plurimath language conversions that are currently supported.

@suleman-uzair is this ready to go?

@suleman-uzair is this ready to go?

@ronaldtse, Yes this is ready.
Also, Please review plurimath/plurimath#290 as it contains changes related to this PR.


Fix peep loading positions

This bit of code is not handling the peep loading positions correctly for rides with 16bit loading positions.
https://github.com/OpenRCT2/objects/blob/master/tools/objexport/PropertyExtractor.fs#L430-L440
Loading positions counts come in two different forms. 8 bit and 16 bit.
First you read the 8bit count.
If the 8 bit count is 255 then you load the 16 bit count.
Loading positions are then split into 3 different types: offsets, waypoints_1, waypoints_2.
Offsets are an array of sint8 of size count.
Waypoints_1/2 have an initial byte that indicates if it is type 1 (if its 0) or type 2 (anything else).
After this there is an array of 3 waypoints comprising of x, y coordinates as sint8's.
There is then a blank waypoint (16 bits).
The above is then repeated for (count - 1) / (2 * 4).

The count variable is already read by the object data library:
https://github.com/trigger-death/RCT2ObjectData/blob/master/RCT2ObjectData/Objects/Types/Attraction.cs#L161
This is just spitting out the raw byte arrays, so I think the issue is in OpenRCT2 rather than this.

Oh okay. Cam we fix it in json objects so the way point data is in arrays of two coordinates

@duncanspumpkin we can, do you think we should do that now or later?
Could you type some examples of what the new json would look like for the different formats?

Okay,
Will do that at lunch. Some more notes to myself.
Waypoints type 1 are for rides where peeps all enter the ride at the same point such as in crooked houses (check to make sure crooked houses are waypointed). Type 2 waypoints the peeps seating position is split into four+ segments (enterprise, Twister). Number of waypoints sets (3 xy coords) should be number of seats x 4 (entrance directions) x 4 (track directions). Enterprise is special and has double?? 8 segments?? Type 1 are special and have half the track directions?? Do some rides only have two orientations??

Offsets do not require any changes to json format can stick to:
"loadingPositions": [
            [1, 2],
            [3, 4]
        ]

They should really be linked to the car structure and not a separate entry. That would match how they are used. We should perhaps have a check to make sure that numSeats & 0x7F is equal to the length of each array.
For waypoints I suggest we add a new field loadingPositionType that has 3 values: offsets, waypoints_1, waypoints_2. Waypoints are indicated by vehicle flag 26. In theory different cars on a ride could switch between waypoints and offsets but i doubt that is actually done on any ride. This means we can get rid of the type value in the waypoints.
A waypoint would then be defined as:
"loadingWaypoints":[
    [
       [ [1, 2], [3, 4], [5, 6] ],
       [ [ 7, 8], [9, 10], [11, 12] ]
    ]
]

There will be quite a few waypoints for each car but there will only be one car as the waypoints are only used on flat rides (TBC). The enterprise ride has the most waypoints with numSeats * 4 * 8.
Its up for debate if the structure should be further split up into the 4 entrance directions and 4/8 track directions. I think it might be best to just keep it as is for that.

Another thing that is bugging me is that num_seats also encodes the bool is_used_in_pairs. I think we should split them out into two fields. Then it is much clearer. Unfortunately the loading code will have to recombine them for now as it is still a constraint of the rct_vehicle struct but its a start towards sanity.

Another thing that is bugging me is that num_seats also encodes the bool is_used_in_pairs. I think we should split them out into two fields.

Done, I managed to get it down to 24 occurrences by defaulting seatsInPairs to true and false iff numSeats is <= 1.

This has been addressed now, I think?


[8.0.0-beta.3] column.meta is always undefined

Describe the bug
When you set column meta type;
const table = createTable()
  .setRowType<User>()
  .setColumnMetaType<string>();

I would get the column meta via column.meta; and it would work before. But, for the moment, column.meta returns always undefined.
Is it possible to get back column.meta is available?
Your minimal, reproducible example
none
Steps to reproduce

set the meta type
set the meta info in the column definition
try to get column.meta from the instance

Expected behavior
As a user, I expected the column.meta is available like before
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macos
react-table version
beta.3
TypeScript version
4.7.2
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

它应该在 column.columnDef.meta 上可用
I've defined meta in columns, but I'm encountering a type error when using it. How should I resolve this?

Thank you for your time


Add current country and currency to request

Current coverage is 48.21%

Merging #452 into master will decrease coverage by -0.25% as of e9bdaa3

@@            master    #452   diff @@
======================================
  Files           87      87
  Stmts         3462    3511    +49
  Branches       310     323    +13
  Methods          0       0
======================================
+ Hit           1678    1693    +15
- Partial         18      22     +4
- Missed        1766    1796    +30

Review entire Coverage Diff as of e9bdaa3

Powered by Codecov. Updated on successful CI builds.


Adding column mapping to redshift copy task

I checked that current schemas in dd_utils matched the ones in Redshift. So this fix shouldn't introduce errors in other jobs.

:+1:


Update create_updated_flutter_deps.py to handle external GitHub mirrors

create_updated_flutter_deps.py does actually handle this case correctly if the dependency has the right format in the engine's DEPS file before being run.


(GH-1749) Add external contributions to changelog

This updates the generate_changelog script to add acknowledgements for
external contributors as part of the release note for the contribution.
Closes #1749
!no-release-note

CLA signed by all contributors.

With your net-ssh PR I realized it'd be helpful for the script to parse multiple release notes from a single commit... going to look at implementing that. :)

Worked for me:
# CHANGELOG.md
* **OpenSSH config option StrictHostKeyChecking now honored**
  Setting `StrictHostKeyChecking` in your ssh config will now be loaded
  and merged with config along with other OpenSSH settings

* **Support for ed25519 SSH keys**
  Key exchange algorithm curve25519sha256 is now supported


[BUG]RuntimeError on kaggle: Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings"

[x] I have checked that this bug exists on the latest stable version of AutoGluon
[x] and/or I have checked that this bug exists on the latest mainline of AutoGluon via source installation

Describe the bug
I'm using the TabularPredictor() function to train a classification model on the kaggle platform and I get a “too_many_pings” warning：
E0202 00:42:26.112165293     343 chttp2_transport.cc:1167]   Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings"

To Reproduce
My training code is：
predictor = TabularPredictor(label="quality",problem_type = 'multiclass',eval_metric='f1_macro',verbosity=0).fit(train_data,presets='best_quality',auto_stack=True,time_limit = 60*60*11,keep_only_best=True)

Installed Versions
I am using AutoGluon version V0.6.2

@ytzfhqs Please provide full logs of the entire process, plus ideally a reproducible notebook example.

I think this is a Ray library issue, have seen it before, here is an example.
https://github.com/ray-project/ray/issues/25012

@KirderfEmanThanks for your reply, I found out what the problem was. It seems to be caused by ray requesting too many CPU threads, when I limited num_cpus=4 the warning didn't appear anymore.
predictor = TabularPredictor(label=label,problem_type = problem_type,eval_metric=eval_metric,verbosity=0).fit(train_data,presets='best_quality',auto_stack=True,time_limit = 60*60*int(hour_limt),keep_only_best=True,num_cpus = 4)

Thank you again for your reply！

@Innixma Thank you for your answer, I think my problem has been solved, thanks！


add missing python substitution in test

This adds a missing %{python} substitution in a test file. Without this, the test will fail on systems where the default Python is Python 3, even when overriding the python version using CMake.
(ps: as this, plus some other upcoming PRs wrt building on python3 systems, only impact the build/test process, I think they would probably be fine to be included into 4.2. Should I make PRs against the swift-4.2-branch directly, or do the changes need to go into master first?)

Hm, those failures look unrelated to me

@swift-ci Please smoke test Linux

@swift-ci please smoke test Linux platform

⛵


[Question]: Is it possible to both output css as well as use this plugin?

❓ Question or Support Request
Describe your question or ask for support.

Currently when you add this plugin, the build process no longer outputs a css file. We need the css file for server side rendering. However if someone is only on the client, it would be nice if they did not have to include the css file (as this plugin would inject the code). Is there an option to allow the css file to still get built?

Just generate css file as well, as if we did not add the plugin. The linking can be left to the consumer
I might just make two different vite configs actually which should work

Is there a setting in the plugin to allow this? Would this work?
cssInjectedByJsPlugin({
cssAssetsFilterFunction: function customCssAssetsFilterFunction(outputAsset) {
return outputAsset.fileName === '*.css';
}
}),


Add ByteArray

Thanks, but could you explain why you want this added? And why as a module instead of a core type?
AFAIK we already have a ByteArray class, so why add a new one? https://github.com/godotengine/godot/search?utf8=✓&q=ByteArray

请问你是中国人么? 我英文实在是太差了,首先内部的"  typedef DVector<uint8_t> ByteArray;  "
Bytearray仅仅只是个DVector<uint8_t>的别名,由于我cpp太烂所以也不敢修改内部类型,才加了这个内部ByteArray功能太少.

Closing, as it can't be integrated in the main tree in this state. There are bogus commits and such changes should not be made as a module but directly in the core types (and should thus be discussed with @reduz beforehand, as there are likely reasons for the way ByteArray are defined at the moment).