TypeError at exception_handler

_action() missing 1 required positional argument: 'client_id'
First appearance 5/4/2020, 3:38:00 PM PST
TypeError:
   at exception_handler (UnknownUnknown: /usr/local/lib/python3.7/site-packages/applicationinsights/flask/ext.pyUnknown: 177)
   at full_dispatch_request (UnknownUnknown: /usr/local/lib/python3.7/site-packages/flask/app.pyUnknown: 1950)
   at dispatch_request (UnknownUnknown: /usr/local/lib/python3.7/site-packages/flask/app.pyUnknown: 1936)
   at wrapper (UnknownUnknown: /usr/local/lib/python3.7/site-packages/connexion/decorators/decorator.pyUnknown: 48)
   at wrapper (UnknownUnknown: /usr/local/lib/python3.7/site-packages/connexion/decorators/uri_parsing.pyUnknown: 144)
   at wrapper (UnknownUnknown: /usr/local/lib/python3.7/site-packages/connexion/decorators/validation.pyUnknown: 384)
   at wrapper (UnknownUnknown: /usr/local/lib/python3.7/site-packages/connexion/decorators/parameter.pyUnknown: 121)
   at __call__ (UnknownUnknown: /app/opwen_email_server/actions.pyUnknown: 43)
   at log_exception (UnknownUnknown: /app/opwen_email_server/utils/log.pyUnknown: 87)
   at __call__ (UnknownUnknown: /app/opwen_email_server/actions.pyUnknown: 40)

I would assume this is caused by https://github.com/ascoderu/lokole/pull/324 where a second route was added to email-receive.yaml:
https://github.com/ascoderu/lokole/blob/af6f8f2a5d445c576d56243160a734274280440a/opwen_email_server/swagger/email-receive.yaml#L39-L64
My hypothesis is that this route is never executed and instead we're executing the first route with missing client_id.
@adamsclafani Could you open a PR to change the route for the service email to something that doesn't clash with the existing route and also add an integration test to verify the end to end flow of the feature? Thanks!

Good catch. Could you make the parameter optional (client_id=None) in the action and add an integration test?


setting-up changes for Sass install instructions

I may be mistaken here, but going through a clean install of NPM, Gulp, and then Sass led me to not have Sass available (this was on Mac OSX Mavericks), Feb 2 2015.
The existing doc seems to imply that Sass will magically appear somehow when you set up npm and gulp, but no such thing happened and I got a lot of CSS-less websites when I ran gulp serve.
I tried to get it via npm (found a few sass related things) but they didn't cut it.
Eventually I got it the official way via Ruby: gem install sass
Feel free to edit the wording of the edit.

I'm a googler, ldap is same as my github username, no need for CLA.


false daily reward and answer

🐛 Bug Report
https://gyazo.com/e493e7a8ace787cf718d7223e426bf11
so i typed daily,and i got this question wich i instantly answered coz it was easy one,and it said that its incorrect answer lol

You need 32 quest points or more.

uggh i always was thinking its 33 coz all f2p quests complited":{ my bad


Moved verdaccio Todos in code into issue #33

🧩 cli-e2e: TODO: import plugins using NPM package names using local registry: #33

Closed as we keep comments in code


[SPIKE] GCP Recommendations API

Context
Overview
With our ultimate aim of helping organizations to reduce their carbon impact from the cloud, we would like to begin exploring the different resources available for generating recommendations. This card explores the GCP api.
Out of Scope:
Related issues/Dependencies:
Checklist

[x] Test out GCP recommendation api with internal data
[x] What options do we have - can we run it for specific accounts? specific services? regions?
[x] What categories of recommendations will it give us?
[x] Document on how we can use this recommendations API
[x] Test out the GCP recommendations API with a broader set of projects
[ ] How can we calculate the carbon impact and cost savings?
[ ] Are there other GCP related recommendations options?

Tech Notes
Review Tasks

[ ] eg. specific QA details, update methodology, or update microsite

Documentation:
Please create a new doc in the Spikes folder (or add on to the AWS existing doc)

https://docs.google.com/document/d/1cnbuk0SZJ6mTdagienWkt5bv1G3BbULqzmhRvh0BazE/edit

Documentation for this spike has been moved here: https://drive.google.com/file/d/14sncJ9aYzvnK9CCN6WNRKQ9_RJDrakL7/view?usp=sharing
The NodeJs script to get recommendations is here:
https://github.com/ThoughtWorks-Cleantech/green-spike/blob/trunk/gcp/recommender-api.js
Next steps:

We should try with a service account (from a GCP account with more active services) to get more recommendations from API and see what can we do with them. We have been talked with Mark Richter to get this new service account for testing proposes.

I have updated the spike code with a WIP implementation that supports all GCP projects, Zones and Recommendations Ids. There is some serious performance tweaking to be done - currently the script takes way to long to load all projects given the rate limits for the recommendations API, but there are few ways we can improve this with throttling, etc. When it goes to implementing this in the main application however, we should consider alternative approaches, like Cloud Tasks.


Add an actual data-touch="false" example in the carousel docs

this can also make it easier to actually check/debug any issues we may have with this data attribute

So it means the issue can not be reproduced in the main branch? (I can see that touch events are not working when data-bs-touch is set to false in the example)

So it means the issue can not be reproduced in the main branch? (I can see that touch events are not working when data-bs-touch is set to false in the example)

correct, I edited/added this to the other issue about the supposed bug itself. still would like this as an addition to the docs regardless, as it makes it nice and obvious


Switch to libc crate. Move towards stable

r? @ned14
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Coverage remained the same at 75.08% when pulling 76134bc805ee5dcca67dfa2db3440f2bcebc13e2 on dirvine:libc into fdf3912d08c49a8f11c7f7f0a93369420c007e78 on maidsafe:master.

r? dirvine

Review status: 0 of 3 files reviewed, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io

Review status: :shipit: all files reviewed, all discussions resolved, all commit checks successful.
Reviewed files:

Cargo.toml @ r1
src/lib.rs @ r1
src/transport.rs @ r1

Comments from the review on Reviewable.io


Pass collections to support bulk processing

When a number of records are returned currently multiple instances of a flow, process builder etc. are created. It would be ideal to have an option to instead pass collections and sobject collections to the process for example if a report returns 20 lines currently it would launch a flow 20 times. It would be good to have an alternative to just pass in a collection of 20 elements to a single flow to allow it to optimize the processing vs letting salesforce attempt the bulkification.

Interesting idea, thanks @datapharmer

I'm resurrecting this thread as (being greedy) I expected to see the option to do this on the Field Mapping page.
Our use case is as follows:

We have Asset records that we wish to send to an external system.
We can include these in a report with filters
Then we'd be looking to pass in all of the data within the report as a Collection to a Flow rather than process row by row

Without this we'll have to revert to the SOQL method.
Just to add, MAS is awesome and opens up so many possibilities for us, so thank you!


Reland "Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible.  (#56413)", reverted in #64091

This reverts commit bd6252eb3a49be1b1480a6336af444aa6c13c8a4.
The scuba failure we saw the other day should be fixed in https://github.com/flutter/flutter/pull/64295
Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change. If you're changing visual properties, consider including before/after screenshots (and runnable code snippets to reproduce them).
Related Issues
Replace this paragraph with a list of issues related to this PR from our issue database. Indicate, which of these issues are resolved or fixed by this PR. There should be at least one issue listed here.

[x] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

Didn't resolve some merge conflicts correctly. Fixing.

Doing a global run on frob. Automerging if there's no unexpected failure.


chore: release 2.1.0

:robot: I have created a release *beep* *boop*
2.1.0 (2021-11-08)
Features

add version command (5b0f84b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/shivjm/dockerfile-image-tags/releases/tag/v2.1.0 :sunflower:


Promise finally error when disableUnhandledPromiseRejectionReporting: false setting enabled in Apollo Client networking code.

There is an error on latest<EMAIL_ADDRESS>with enabled hermes engine on iOS and installed<EMAIL_ADDRESS>according to docs.
Also I use<EMAIL_ADDRESS>for networking.
When option to catch unhandled promise rekection disableUnhandledPromiseRejectionReporting: false is enabled Apollo Client code throws errors:
js engine: hermes
 WARN  0 [TypeError: undefined is not a function]
 WARN  1 [TypeError: undefined is not a function]
 WARN  2 [TypeError: undefined is not a function]
 WARN  [TypeError: undefined is not a function]
 WARN  3 [TypeError: undefined is not a function]
 WARN  4 [TypeError: undefined is not a function]
 WARN  5 [TypeError: undefined is not a function]
 WARN  6 [TypeError: undefined is not a function]
 WARN  7 [TypeError: undefined is not a function]
 WARN  8 [TypeError: undefined is not a function]
 WARN  9 [TypeError: undefined is not a function]
 WARN  10 [TypeError: undefined is not a function]
 WARN  11 [TypeError: undefined is not a function]
 WARN  12 [TypeError: undefined is not a function]
 WARN  13 [TypeError: undefined is not a function]
 WARN  14 [TypeError: undefined is not a function]
 WARN  15 [TypeError: undefined is not a function]
 WARN  16 [TypeError: undefined is not a function]
 WARN  17 [TypeError: undefined is not a function]
 WARN  18 [TypeError: undefined is not a function]
 WARN  19 [TypeError: undefined is not a function]
 WARN  20 [TypeError: undefined is not a function]
 WARN  21 [TypeError: undefined is not a function]
 WARN  22 [TypeError: undefined is not a function]
 WARN  23 [TypeError: undefined is not a function]
 WARN  24 [TypeError: undefined is not a function]
 WARN  25 [TypeError: undefined is not a function]
 WARN  26 [TypeError: undefined is not a function]
 WARN  27 [TypeError: undefined is not a function]
 WARN  28 [TypeError: undefined is not a function]

When I set disableUnhandledPromiseRejectionReporting: true everything is OK.
Setup:
RaygunClient.init({
    apiKey: 'API_KEY',
    version: '2.0.0',
    enableCrashReporting: true,
    disableNativeCrashReporting: false,
    disableUnhandledPromiseRejectionReporting: false,
    enableRealUserMonitoring: true,
    disableNetworkMonitoring: true,
  });

RaygunClient.setUser({ identifier: 'test', isAnonymous: true });
RaygunClient.sendError(new Error('Test Error'));

@MindscapeBot Please check

Take a look, please. I faced the same issue.

@MindscapeBot
Looks like issue in disableUnhandledPromiseRejectionReporting: false setting.
If I disable it with disableUnhandledPromiseRejectionReporting: true - everuything works fine on all platforms, engines.
So I just noticed that Apollo client for GraphQL calls throws this error.
Looks like JS Promises finally function is not available with disableUnhandledPromiseRejectionReporting: false.
Apollo Client uses finally callback in it's API.
Will rename issue.

Hi @oleksandr-dziuban
This issue may now be resolved with the release of v1.1.3 of the raygun4reactnative SDK. Please try updating and let us know if this issue continues.
Thank you,
Mitchell

I believe this issue has been resolved in v1.1.3 of the SDK, so I will close this issue for now.
Please comment on this thread if you are able to reproduce the issue after updating to v1.1.3+.

Reopening as we've been able to reproduce this issue on the latest release.


Pandas threading crash

The following code crashes Pandas 0.18.1 with SIGSEGV:
#!/usr/bin/env python3

import threading
import pandas as pd
import numpy as np

def lets_crash():
    t = 0.02 * np.arange(100000)
    data = pd.DataFrame({'t': t})
    data['t'] * 1.5

threads = []
for i in range(100):
    t = threading.Thread(target=let_crash)
    t.daemon = True
    t.start()
    threads.append(t)

for t in threads:
    t.join()

(from http://stackoverflow.com/questions/25782912/pandas-and-numpy-thread-safety)
Note that the threads run independently from each other, so I don't know how to avoid this short of serialising all access to Pandas.
I tried to get a stack trace, but it seems to crash in several different places.
Expected Output
None, but gives SIGSEGV instead
output of pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-31-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: de_DE.UTF-8
pandas: 0.18.1
nose: None
pip: None
setuptools: None
Cython: None
numpy: 1.11.0
scipy: 0.17.0
statsmodels: None
xarray: None
IPython: 2.4.1
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2014.10
blosc: None
bottleneck: None
tables: 3.2.2
numexpr: 2.4.3
matplotlib: 1.5.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.4.1
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: 1.0.11
pymysql: None
psycopg2: 2.6.1 (dt dec pq3 ext lo64)
jinja2: None
boto: None
pandas_datareader: None
I can also reproduce the bug with python 2.7.12, and also with pandas 0.17.

http://pandas.pydata.org/pandas-docs/stable/whatsnew.html#v0-18-0-march-13-2016
try a different version of numexpr; 2.4.4 is known buggy for threading, its possible 2.4.3 is as well.

actually that's a different bug; numexpr is not threadsafe < 2.5 (and that's what's causing the crash).

Thanks for the quick response! I can confirm that upgrading numexpr (using pip install numexpr --upgrade, which installed numexpr 2.6.1 and numpy 1.11.1) resolved the bug.

great!


Support mapping deno project source

Currently source maps can only be source from npm/src.
I would like to be able to map to the source code of the deno project, which would be a great help for debugging.

It would be nice, but unfortunately I believe it would be technically infeasible.

你是对的，这在技术上确实不可行。因此我找了一个折中的方法：
因为dnt的转换原理并不复杂，不会对源码做太多的改动，因此我直接将npm/src替换成我的源代码，它大部分情况下是能正常工作的：
/// before build
await Deno.remove("./electron/src").catch(() => {}); /// if is symlink, will be remove

await build({
  // ... build config
  postBuild() {
    Deno.removeSync("./electron/src", { recursive: true }); /// remove nodejs ts-source
    Deno.symlinkSync("./src", "./electron/src"); /// create symlink
  }
});


1.9.1 release can't be open.

The more we know about your system and use case, the more easily and likely we can help.
Environment info

OS: macOS Catalina 10.15.5
App Version (Command/Ctrl + ,): 1.9.1

Description of the problem / feature request / question:
application that inside the zip and dmg cannot be opened.
If possible, provide a sample gist or screenshot:
If possible, provide the log files
For Lepton after v1.9.0, the path of the log file can be found at Command/Ctrl + ,

Mac: ~/Library/Application Support/Lepton/logs
Windows: C:\Users\<username>\AppData\Roaming\Lepton\logs
Linux: ~/.cached/Lepton/logs

The debug mode is recommended when producing the logs.
You can send your log file to<EMAIL_ADDRESS>if don't want to post it here.

https://github.com/hackjutsu/Lepton/issues/401

Not sure if this the same as OP but I am having this issue that is not resolved with #401. For me the message displayed is -1
I am on Big Sur, searched for issues and didn't find any.

I just ran into this... I note though that I downloaded the ZIP Lepton-1.9.1-mac.zip and I was unable to get this to run, my Mac just told me that I did not have permission - and never prompted for allowing it:

However on installing from the DMG download Lepton-1.9.1.dmg I was correctly prompted (on right click and opening the app) to allow this app from an unidentified developer to run.
So if you have no luck with the zip file, try the DMG... worked for me.


PyInstaller error: mgrs.core.MGRSError: Unable to load libmgrs.cp37-win_amd64.pyd

I see other people are using windows and pyinstaller but I have not been able to resolve this issue. I installed mgrs into my venv and I'm trying to use pyinstaller to create an .exe. When I run the exe I get the following error:
mgrs.core.MGRSError: Unable to load libmgrs.cp37-win_amd64.pyd
I am using mgrs v1.4.2 and pyinstaller v4.2. I'm hoping someone has a solution for me. I tried the solution @uetacog proposed in issue #32 with no luck.

I am using python 3.12 on windows and I got the same error using pyinstaller when trying to launch the executable: "mgrs.core.MGRSError: Unable to load libmgrs.cp312-win_amd64.pyd."
I resolved it by adding this flag to the pyinstaller build command: "--add-binary venv\Lib\site-packages\libmgrs.cp312-win_amd64.pyd:."

mgrs 1.5.0 was just released that should include new wheels. please test and open a new ticket if there are any issues.


Fix UX on iOS

This PR aims to solve issue #3

Thank you so much for the help @aMediocreDad
I'm merging now 🚀


'AddMatch' request only working after creating proxy object/interface

I have a slightly odd situation where I'm subscribing to signals using AddMatch rather than the on_signal_name from the interface.
Basically, I connect to the bus and send an AddMatch request with the appropriate rule and then attach a handler for the messages. However, I don't receive any messages unless I've created a proxy_object and interface. I don't think these are necessary so I'm not sure what's going on.
My code is:
from dbus_next.aio import MessageBus
from dbus_next import Message
from dbus_next.constants import MessageType, BusType
import asyncio

loop = asyncio.get_event_loop()

def msghandler(msg):
    print(msg.body)

async def main():
    bus = await MessageBus(bus_type=BusType.SESSION).connect()

    # I only get messages if these two lines are uncommented.
    intro = await bus.introspect("org.freedesktop.DBus", "/org/freedesktop/DBus")
    obj = bus.get_proxy_object("org.freedesktop.DBus", "/org/freedesktop/DBus", intro).get_interface("org.freedesktop.DBus")

    # Sending the message makes no reference to the object/interface above
    msg = await bus.call(
                 Message(message_type=MessageType.METHOD_CALL,
                 destination="org.freedesktop.DBus",
                 interface="org.freedesktop.DBus",
                 path="/org/freedesktop/DBus",
                 member="AddMatch",
                 signature="s",
                 body=["type='signal',member='NameAcquired']))
    bus.add_message_handler(msghandler)

    while True:
        await asyncio.sleep(1)

loop.run_until_complete(main())

Am I being stupid?

Actually - I don't think that "AddMatch" message is doing anything at all. If I delete that line, I still get the same messages which, on closer inspection, are "NameOwnerChanged" signals. So, I guess by creating the interface object, I subscribe to every signal on that interface and so the generic message handler displays everything.
So the real question is still why my AddMatch message doesn't work.

One tip is that when using the low level interface, always check if the call was successful.
assert msg.message_type is MessageType.METHOD_RETURN

Thanks. The call is successful.
I changed the rule to just being
type=`signal`

and I did get responses with NameOwnerChanged but no NameAcquired signal.
This feels like those signals are being blocked somehow as they are visible if I use dbus-monitor --profile.

OK - we can close this.
From my testing, it looks like NameAcquired is only available via the BecomeMonitor method. Once that's set up, it behaves as expected.
    msg = await bus.call(
                 Message(message_type=MessageType.METHOD_CALL,
                 destination="org.freedesktop.DBus",
                 interface="org.freedesktop.DBus.Monitoring",
                 path="/org/freedesktop/DBus",
                 member="BecomeMonitor",
                 signature="asu",
                 body=[["type='signal',member='NameAcquired'"],0]))


Issue on Vercel after each new deployement

Hello,
I'm experiencing a recurring issue with my React application using Vite PWA after each new deployment. The following error appears:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
This error surfaces in the Google Chrome Developer Tools. If I click on "Skip Waiting" or "Unregister" for the service worker and then refresh the page, everything starts working again.
Could this be a bug, or am I missing something in my configuration?
my package.json
"dependencies": {
    "@crossfox/react-animated-number": "^1.0.18",
    "@emotion/react": "^11.11.4",
    "@emotion/styled": "^11.11.5",
    "@fontsource/hanken-grotesk": "^5.0.20",
    "@fontsource/material-icons": "^5.0.18",
    "@fontsource/reenie-beanie": "^5.0.19",
    "@fontsource/roboto": "^5.0.13",
    "@hookform/resolvers": "^3.3.4",
    "@loadable/component": "^5.16.4",
    "@mui/icons-material": "^5.15.16",
    "@mui/lab": "5.0.0-alpha.170",
    "@mui/material": "^5.15.16",
    "@mui/x-data-grid": "^7.3.1",
    "@reduxjs/toolkit": "^2.2.3",
    "@rtk-query/codegen-openapi": "^1.2.0",
    "@sentry/integrations": "^7.112.2",
    "@sentry/react": "^7.112.2",
    "@sentry/vite-plugin": "^2.16.1",
    "ahooks": "^3.7.11",
    "clsx": "^2.1.1",
    "date-fns": "^3.6.0",
    "deep-equal": "^2.2.3",
    "esbuild": "^0.20.2",
    "esbuild-runner": "^2.2.2",
    "framer-motion": "^11.1.7",
    "js-confetti": "^0.12.0",
    "localforage": "^1.10.0",
    "lottie-react": "^2.4.0",
    "material-ui-popup-state": "^5.1.0",
    "openapi-typescript-codegen": "^0.29.0",
    "papaparse": "^5.4.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-hook-form": "^7.51.3",
    "react-redux": "^9.1.1",
    "react-router-dom": "^6.23.0",
    "react-toastify": "^10.0.5",
    "ts-node": "^10.9.2",
    "vite-plugin-pwa": "^0.20.0",
    "vite-tsconfig-paths": "^4.3.2",
    "workbox-window": "^7.1.0",
    "yup": "^1.4.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.3.0",
    "@commitlint/config-conventional": "^19.2.2",
    "@jest/globals": "^29.7.0",
    "@testing-library/jest-dom": "^6.4.2",
    "@testing-library/react": "^15.0.6",
    "@testing-library/user-event": "^14.5.2",
    "@types/deep-equal": "^1.0.4",
    "@types/jest": "^29.5.12",
    "@types/loadable__component": "^5.13.9",
    "@types/node": "^20.12.8",
    "@types/papaparse": "^5.3.14",
    "@types/react": "^18.3.1",
    "@types/react-dom": "^18.3.0",
    "@typescript-eslint/eslint-plugin": "^7.8.0",
    "@vite-pwa/assets-generator": "^0.2.4",
    "@vitejs/plugin-react-swc": "^3.6.0",
    "cypress": "^13.8.1",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-config-standard-with-typescript": "^43.0.1",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-n": "^17.3.0",
    "eslint-plugin-promise": "^6.1.1",
    "eslint-plugin-react": "^7.34.1",
    "eslint-plugin-storybook": "^0.8.0",
    "gh-pages": "^6.1.1",
    "globals": "^15.1.0",
    "husky": "^9.0.11",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "jsdom": "^24.0.0",
    "path-browserify": "^1.0.1",
    "prettier": "3.2.5",
    "ts-jest": "^29.1.2",
    "tsx": "^4.8.2",
    "typescript": "^5.4.5",
    "vite": "^5.2.10",
    "vitest": "^1.5.3"
  }

Here is the configuration of my plugin in Vite:
VitePWA({
        registerType: "prompt",
        includeAssets: ["favicon.ico", "apple-touch-icon.png", "mask-icon.svg"],
        manifest: {
          name: "Lorem",
          short_name: "Lorem",
          description:
            "Lorem ipsum",
          theme_color: "#ffffff",
          icons: [
            {
              src: "pwa-64x64.png",
              sizes: "64x64",
              type: "image/png",
            },
            {
              src: "pwa-192x192.png",
              sizes: "192x192",
              type: "image/png",
            },
            {
              src: "pwa-512x512.png",
              sizes: "512x512",
              type: "image/png",
              purpose: "any",
            },
            {
              src: "maskable-icon-512x512.png",
              sizes: "512x512",
              type: "image/png",
              purpose: "maskable",
            },
          ],
        },
      })

My usage
import { LbButton } from "@components/feedback/LbButton/LbButton"
import { useAppDispatch } from "@hooks/useAppDispatch"
import { useAppSelector } from "@hooks/useAppSelector"
import { useAuth } from "@hooks/useAuth"
import { Box, List, ListItem, ListItemText, Typography } from "@mui/material"
import { selectAuthState } from "@redux/authSlice"
import { setDeferredPrompt } from "@redux/commonsSlice"
import { AppRoutes } from "@routes/AppRoutes"
import { useAsyncEffect } from "ahooks"
import { useEffect, useLayoutEffect } from "react"
import { useNavigate } from "react-router-dom"
import { toast } from "react-toastify"
import { DashboardRoutes } from "routes/DashboardRoutes"
import { noIndexDev } from "utils/noIndexDev"
import { useRegisterSW } from "virtual:pwa-register/react"
import { ROOT_ROUTE } from "./constants"
import { type BeforeInstallPromptEvent, type ReleaseInfo } from "./typing"

export const App = () => {
  const dispatch = useAppDispatch()

  const { appLoading } = useAuth()

  const navigate = useNavigate()

  const { user } = useAppSelector(selectAuthState)

  const userCanLogin = user && user.verified

  const {
    // eslint-disable-next-line @typescript-eslint/no-unused-vars
    offlineReady: [offlineReady, setOfflineReady],
    needRefresh: [needRefresh, setNeedRefresh],
    updateServiceWorker,
  } = useRegisterSW({
    onRegistered(r) {
      console.log("SW Registered: " + r)
    },
    onRegisterError(error) {
      console.log("SW registration error", error)
    },
  })

  useLayoutEffect(() => {
    window.addEventListener("beforeinstallprompt", (e: Event) => {
      e.preventDefault()

      dispatch(setDeferredPrompt(e as BeforeInstallPromptEvent))
    })
  }, [])

  const close = () => {
    setOfflineReady(false)
    setNeedRefresh(false)
  }

  const handleClick = async () => {
    if (needRefresh) await updateServiceWorker(true)

    close()
  }

  useEffect(() => {
    if (needRefresh) {
      const updateInfo = JSON.parse(
        import.meta.env.VITE_APP_RELEASE_NOTES,
      ) as ReleaseInfo

      toast(
        <Box sx={{ width: "100%", display: "flex", flexDirection: "column" }}>
          <Typography variant="body1" fontWeight="bold" sx={{ ml: 2 }}>
            New version {updateInfo.version} available !
          </Typography>

          <Typography variant="subtitle2" fontWeight="bold" sx={{ ml: 2 }}>
            {updateInfo.date}
          </Typography>

          {updateInfo.details.map((detail) => (
            <List sx={{ width: "100%", my: 1 }} key={detail.title}>
              <ListItem alignItems="flex-start" sx={{ my: 0, py: 0 }}>
                <ListItemText
                  primary={detail.title}
                  secondary={detail.description}
                  sx={{ my: 0, py: 0 }}
                />
              </ListItem>
            </List>
          ))}

          <LbButton
            size="small"
            variant="text"
            sx={{ color: "white", mx: "auto" }}
          >
            Launch software upgrade
          </LbButton>
        </Box>,
        {
          onClick: handleClick,
          autoClose: false,
          closeButton: false,
        },
      )
    }
  }, [needRefresh])

  useAsyncEffect(async () => {
    noIndexDev()

    if (userCanLogin) navigate(ROOT_ROUTE)
  }, [])

  return appLoading ? null : userCanLogin ? <DashboardRoutes /> : <AppRoutes />
}

I've noticed that each time we release a new version of our PWA, it initially tries to load the old index.html along with the addresses of the old scripts. When I manually click on "SkipWaiting" in Chrome DevTools, everything gets sorted out and the new content loads correctly.
Is this behavior a bug, or is there something I need to configure differently to ensure that the new index.html is loaded automatically after a release? Any guidance or advice on how to handle this would be greatly appreciated.

Review the cache headers, rebuilding the app will remove old assets: check https://vite-pwa-org.netlify.app/deployment/#cache-control

I also encounter this issue on localhost when I rebuild my PWA and run the vite preview script:
Failed to load resource: the server responded with a status of 404 (Not Found).
This occurs because the old index.html remains until I click on 'skipWaiting'.

After each release I'm blocked like this

This caching issue on Vercel has been resolved by implementing the following configuration in the vercel.json file :
{
  "headers": [
    {
      "source": "/(.*).html",
      "headers": [
        {
          "key": "Cache-Control",
          "value": "no-store"
        }
      ]
    },
    {
      "source": "/sw.js",
      "headers": [
        {
          "key": "Cache-Control",
          "value": "public, max-age=0, must-revalidate"
        }
      ]
    },
    {
      "source": "/manifest.webmanifest",
      "headers": [
        {
          "key": "Content-Type",
          "value": "application/manifest+json"
        }
      ]
    },
    {
      "source": "/assets/(.*)",
      "headers": [
        {
          "key": "Cache-Control",
          "value": "max-age=31536000, immutable"
        }
      ]
    },
    {
      "source": "/(.*)",
      "headers": [
        {
          "key": "X-Content-Type-Options",
          "value": "nosniff"
        },
        {
          "key": "X-Frame-Options",
          "value": "DENY"
        },
        {
          "key": "X-XSS-Protection",
          "value": "1; mode=block"
        }
      ]
    }
  ],
  "rewrites": [
    {
      "source": "/(.*)",
      "destination": "/index.html"
    }
  ]
}

and click to purge data cache in Vercel dashboard

@jb-thery can you send a PR to the docs repo for Vercel entry in the deploy section? I have no idea about Vervel (I don't use it)
This is the file https://github.com/vite-pwa/docs/blob/main/deployment/vercel.md
You can fork this repo to your local and visit the page, then click on edit this page at the bottom.

@userquin of course


feat: add azure ad workload identity support

Description
Add support for Azure AD Workload Identity. https://learn.microsoft.com/en-us/azure/aks/workload-identity-overview
Fixes: <! -- link to issue -->
Checklist
Please make sure that your PR fulfills the following requirements:

[x] Reviewed the guidelines for contributing to this repository
[x] The commit message follows the Conventional Commits Guidelines.
[ ] Tests for the changes have been updated
[x] Are you adding dependencies? If so, please run go mod tidy -compat=1.17 to ensure only the minimum is pulled in.
[x] Docs have been added / updated
[ ] Optional. My organization is added to USERS.md.

Type of Change

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

Other information
First time writing Golang, but I'm gonna figure it out.
A couple of things to note

I don't often code and I wouldn't know how to test an authentication callback so that is not implemented. Any advice would be appreciated.
Further work will be needed as the current sdk being used is unsupported as of march of 2023. For now, having the functionality work at all is very helpful.
I haven't figured out how to pass environment variables from config.go to a callback in another file, and I figure the callback should be in another file. Comments welcome, but for now I am getting the environment variables in the authentication callback. Of note the environment variables are added to any pod configured to work with workload identity.

 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.

Closing in favor of https://github.com/argoproj-labs/argocd-vault-plugin/pull/548


Crash with Forge 2314

It actually doesn't get as far as a crash log here. Forge 2309 still works so I'm reverting to that.
Minecraft log: https://pastebin.com/WXf5xqru
FML-client-latest.log: https://pastebin.com/ftBi1Dgc

Ah, that's... surprising.
A forge pull request that I made broke it.


SDF usage research

Wh, What & Why
I'm as a developer understand SDF usage use-cases in order to provide better and more effective implementation
Additional info
Restrictions
Acceptance criteria
Definition of done

[x] Explore 5G specifications
[x] Explore Internet articles
[x] Find out SDF usage scenario
[x] Document at least 1 scenario

SDF has been implemented in #133


[CSE-244] Cherry pick

of PR #1764 into cardano-sl-1.0.
How to test:

Build and run Explorer locally.
Run scripts/launch/explorer-with-nodes.sh in a tmux session.
Open http://localhost:3100/ in your browser
In root folder of cardano-sl you will find following *.log files of Explorer:

explorer-node.log
explorer.log
socket-io.log

Resolved conflicts and merged via the CLI (but github doesn't notice).

Hmm, getting windows CI failure due to OpenSSL download 404 failure.

Hmm, getting windows CI failure due to OpenSSL download 404 failure.

I have restarted CI - if it doesn't fix the problem (maybe the server was down for some reason) I will ping @iohk-devops to check it out

See #1865 probably.


Code indented after label statement

Input
The code looked like this before beautification:
loop:
for (int i = 0; i < val< i++) {
    ...
}

Expected Output
The code should have looked like this after beautification:
loop:
for (int i = 0; i < val< i++) {
    ...
}

Actual Output
The  code actually looked like this after beautification:
loop:
   for (int i = 0; i < val< i++) {
       ...
   }

Steps to Reproduce
Write a statement preceded by a label and then run the beautifier.
Environment
OS: windows 10
Settings
Example:
{
    "indent_size": 4,
    "indent_char": " ",
    "indent_level": 0,
    "indent_with_tabs": true,
    "preserve_newlines": true,
    "max_preserve_newlines": 10,
    "jslint_happy": false,
    "space_after_anon_function": false,
    "brace_style": "collapse,preserve-inline",
    "keep_array_indentation": false,
    "keep_function_indentation": false,
    "space_before_conditional": true,
    "break_chained_methods": false,
    "eval_code": false,
    "unescape_strings": false,
    "wrap_line_length": 0
}

Sorry if this has been posted before. I couldn't find anything related to this.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label


Release cleanup

Use RST in repo root LICENSE and README;
Use RST in the backend LICENSE and README for PiPy release;
Keep MD in the backend LICENSE and README for npm release;
Small fixes and cleanup on setup.cfg and package.json.

can you add .tox to .gitignore with this PR?

Absolutely!

can you add .tox to .gitignore with this PR?

Absolutely!

@thirtytwobits done!


News on the rewrite / next version?

Hi @lhorie, a fiew times earlier this year you said you had a major update/rewrite of mithril in the works.
Now it's been almost 7 months since the last release (0.2.0) so I'm curious whether there is anything still happening? (And if so when?)
Or has mithril entered a "LTS" phase, of sorts?

I second @maranomynet 's request - my company has been considering whether to use React or Mithril for our front-end and if there will be a major re-write with breaking changes, we may not be able to move forward with this framework anymore. Would be great to know now rather than later after we've already invested resources in moving over to Mithril if there will need to be another set of sweeping changes.
Thanks!

The best way to keep track of progress is to watch the Github repo to stay abreast of PRs.
Mithril is currently having its codebase modularised — the source code has always been very terse and highly hand-optimised. The idea is that a modularised code base will make future development easier.
There is a wish list of Mithril features over here which @impinball is keeping up to date as and when new requests are deemed desirable and features are merged in.
I've been working with Mithril and keeping a close watch on it for a year and a half. Based on my insight, I'd say breaking changes are unlikely any time soon. The only place a breaking change might happen lies in component initialisation logic — currently a component's persistence of internal state across redraws is directly linked to the identity of the element. This is what every other virtual DOM framework does, but over the months some people have found this contract to be undesirable in certain scenarios. Changing this behaviour would subtly change the operation of lifecycle hooks in ways we can't fully map out at the moment. Having said this, this possible change is

unlikely to manifest itself in the near future without a lot more debate
will not fundamentally change the Mithril core API
would not prevent long-term support and backwards-compatible maintenance for people using Mithril according to the current API

I wouldn't be concerned about Mithril being abandoned. It is still much smaller, faster and simpler to work with than React, and the core community is active and engaged. Pop by the Gitter chatroom if you have more questions!

FYI, there is one planned breaking change - the promise API will be changed to match the ES6 promise API. But this shouldn't be a big impact, since it mostly only affects calls to m.deferred and m.sync.
Component initialization logic is not really a breaking change. I think it falls more under the category of supporting an use case that is currently not supported.
@maranomynet I got a bit sidetracked by some yak shaving but I am still working on it, albeit at a somewhat slow pace because kids are eating all my time -.-

@lhorie :tada:
Let me know if there's anything I can do to help!

Thanks for the info guys.
For someone who doesn't closely follow the PR discussions and the various Issue threads, and only looks quickly through the recent commit-history for the master/next branches, not much seems to be happening on the surface.
It's good to know that things are still brewing.
Oh, and btw @lhorie, congrats on the kids! :-)

FYI, there is one planned breaking change - the promise API will be changed to match the ES6 promise API.

Oh good, I came here to think about complaining about that.

It seems like there will be a lot of breaking changes in 1.x now. Certainly a departure from the 0.2.x API: https://github.com/lhorie/mithril.js/blob/rewrite/docs/change-log.md#migrating-from-v02x
Will there be any kind of LTS for 0.2.x, or do you expect 0.2.5 to be the last release, @lhorie? Imagine that's optimistic... as I assume 0.x is being used to denote versions that are liable to change radically.
Must say, I've found early releases to be exceptionally stable, and exquisitely simple. Does well on high-performance problems, and also at integrating with third-party libraries i.e. using config(). I'm a little reluctant to rewrite existing apps in the new form.


Sync HPE and Crowbar Cloud 8 flavor repos

I think, we should not have the HPE and Helion names in these pathes... how about Ardana?


⚠ TorrentLeech has degraded performance

In 907eb70, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 4574 ms

Resolved: TorrentLeech performance has improved in dc7e2f3 after 7 minutes.


Add mcp-server-home-assistant which exposes LLM Voice intents as an MCP server

Amazing contribution. Thank you!


Added About page with routing and a gallery slider for issue #33

I added an About Us page with routing, and also added a gallery slider using React Slick for issue #33 . Here are some screenshots:

Please assign me the the tags before merging and let me know of any issues @skmirajulislam !

Thank You! Please add the gssoc and hacktoberfest tags as well.


add phpext_ice to PHP 7 installers

[ ] add phpext_ice to PHP 7 installers

[x] update installers
[ ] add to installer registries

Shit. There is no 70 x86 release.


Statically register host WASM functions

This PR changes how we register the host WASM functions exposed to the runtime. Currently we register them dynamically  with wasmtime::Func::new, while this PR makes it so that we statically register them with wasmtime::Func::wrap.
Why? Let me quote wasmtime docs:

This function [Func::wrap] will create a new Func which, when called, will execute the given Rust closure. Unlike Func::new the target function being called is known statically so the type signature can be inferred. [...] Note that when using this API, the intention is to create as thin of a layer as possible for when WebAssembly calls the function provided. With sufficient inlining and optimization the WebAssembly will call straight into func provided, with no extra fluff entailed.

And indeed, using Func::wrap is significantly more efficient than using Func::new. Granted, we probably don't make enough calls from the WASM runtime for this to make a significant difference when those functions are called, however where it makes a huge difference is when we're instantiating new WASM instances.
When using Func::new every time a host function is registered wasmtime has to JIT a new trampoline for it, and this is extremely slow; when using Func::wrap it doesn't, and from what I can see this cuts down the instantiation time by over 90%.
Of course this also doesn't make a huge difference in practice right now since we're using our own instance reuse mechanism, however this is absolutely necessary if we'd ever want to switch to wasmtime's native instance pooling. (Without this PR even with wasmtimes instance pooling enabled the cost of JITing those trampolines completely dominates the execution time.)
EDIT(pep): Closes #8959

FWIW, this will require polkadot companion

bot merge

bot merge


Can't set a property of type Windows.Foundation.Size in XAML

See this repro app.  It crashes on startup when we try to assign a value of type Size to a property.

@Stevenbrix any input on this?

I'll take a look now

WinUIDesktopCsPreview1.zip
I created a repro app based off the Preview1, and am running into a compiler error:

WMC0026    Cannot add 'CustomType' into the dictionary property 'Resources', type must be 'Object'

We'll need to address the issue with the compiler first

@stevenbrix - is this our issue?

I don't know, it would be worth keeping this open so that we can test/validate once we update our bits to be on the latest cswinrt and .net.

@stevenbrix - can you confirm if this still repos?

I couldn't build the repro app that @llongley attached as it was quite old. But I was able to build this:
        <local:UserControl1 MySize="30,30" x:Name="bar"/>
        <TextBlock Text="{x:Bind bar.MySize}"/>

Where UserControl is defined like this:
    public sealed partial class UserControl1 : UserControl
    {
        public UserControl1()
        {
            this.InitializeComponent();
        }

        public Size MySize
        {
            get;
            set;
        }
    }

And it worked fine. @llongley do you know if this is what your repro was testing?

I believe that that was what I was testing here, yes - assigning a value to a property of type Size caused a crash.


Rust: Lane Separator Colour by Locale

We now have a problem, 2 crates about countries...
I think locale-codes does more of what we want, but it also isn't perfect :(.

I think this might be a good time to rename rust.ignore_warnings to expect_warnings or something similar in tests.yml.
I don't have an opinion in the country crate.


[entropy_src] Fix 1-clk timing error in Bucket Test output

Fixes #10226.  See that issue for motivation.
Signed-off-by: Martin Lueker-Boden<EMAIL_ADDRESS>

btw, just a question. Other than generating an error, was the only purpose of test_cnt used to supply the test_cnt_o, which isn't even needed anymore now? This fix definitely makes sense to me.
@martin-lueker one unrelated question Martin, the comparator tree, is it meant to just show the max value? Or which counter went haywire? I was trying to imagine which one software would find more useful.

btw, just a question. Other than generating an error, was the only purpose of test_cnt used to supply the test_cnt_o, which isn't even needed anymore now? This fix definitely makes sense to me.

It was originally there to count the number of histogram bins that crossed the threshold.  And the test was supposed to fail if that number crossed one.   This had two problems:
-The test output score (number of bins over threshold) depended on the threshold, and so the output diagnostics said less about the underlying threshold and more about the threshold itself

By the definition of min-entropy, the number of failing bins doesn't tell you anything about the entropy-per-bit.   Assuming that bin-to-bin correlations are the only statistic defect in the data stream. The entropy score is entirely based on the probability of the finding samples in the most-likely bin.  Thus the new score of the number of samples in the most probable bin is a better estimator of min-entropy.

Once we changed the scoring metric for this test most of these counters were unneeded.

@martin-lueker one unrelated question Martin, the comparator tree, is it meant to just show the max value? Or which counter went haywire? I was trying to imagine which one software would find more useful.

Yes, the comparator tree just shows the max value.


add community ViewPager peer

Could not get this to work without adding @react-native-community/viewpager as a peer dependency. Any help with why would be appreciated.
-Cheers

Thanks a lot for the contribution @makedirectory!
I wonder if we can get this working without ViewPager at all and just using FlatList horizontal? Horizontal was not supported on android by the time I implemented this but it's supported now.
Could you also try making that work and let me know?

@halilb Could use a once over forsure... https://github.com/halilb/react-native-photo-browser/pull/100

@halilb Could use a once over forsure... #100

I'll admit this is not clean in terms of commits... Do you want me to redo?


New package: Samsung.EasySupportCenter version 1.2.33

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/111995&drop=dogfoodAlpha

On vacation


More robust options/defaults extend method

I'd like something that does a deep extend vs. my more simple spread approach:
https://github.com/mhulse/parallel-image-downloader/blob/38858d8f2744fb2e08b4459454c3db92f6f316bd/index.js#L122-L127

I think I can keep the options flat. So, no need for deep merge. Closing.


go tools are not getting installed

The new golang installation has been changed to go install pkg@version because of which the tools are not getting installed.
More details on go install are here https://go.dev/doc/go-get-install-deprecation

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0


Merge pull request #8 from ShivangiPatel1/main

merging main to react-slider

merging react-slider


Missing RTL support

when the container of the switch is set to be displayed RTL,
the button become unclickable.
Example:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script type="text/javascript" src="jquery-2.0.3.min.js"></script>
    <link rel="stylesheet" type="text/css" href="bootstrap.min.css" />
    <script type="text/javascript" src="bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="bootstrap-switch.min.css" />
    <script type="text/javascript" src="bootstrap-switch.js"></script>
</head>
<body style="direction: rtl;">
    <input type="checkbox" id="check1" />
    <script type="text/javascript">
        $(document).ready(function () {
            $("[type='checkbox']").bootstrapSwitch();
        });
    </script>
</body>
</html>

Thanks for your work,
Have fun.
Tomer Weinberg

well, bootstrap rtl is a little bit more complicated than your test case, you could at least add bootstrap-rtl to your snippet to get it right. the real fix is you have to rtl every element inside the .bootstraop-switch


Update shflags 1.0.3 to 1.2.3

Also update the path from which it's installed, as it has changed
between releases.
Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

This breaks things and needs special attention, see https://github.com/submariner-io/shipyard/pull/741.

Redone with an additional required fix in #854.


Datetime Picker Doesn't Open in Jquery UI Popup

Your Datetime picker doesn't open the widget when you put datetime picker in popup. Working great on other pages.

this is a bootstrap dp ya know :). It's likely something jui is overwriting. Please post a jsfiddle of your issue


Invalid HAVING clause generated for COUNT DISTINCT metric (Impala backend)

When applying a Filter to a count distinct metric (COUNT(DISTINCT mycolumn)), the HAVING clause generated in the Custom SQL tab of the Filter popover is invalid syntax for Impala.
The generated query is:
SELECT category AS category,
       count(DISTINCT id) AS `COUNT_DISTINCT(id)`
FROM mytable
WHERE to_timestamp(cast(created_dts as string), 'yyyyMMddHH') >= '2020-05-22 00:00:00.000000'
  AND to_timestamp(cast(created_dts as string), 'yyyyMMddHH') < '2020-05-29 00:00:00.000000'
GROUP BY category
HAVING ((COUNT_DISTINCT(id) > 0))
ORDER BY `COUNT_DISTINCT(id)` DESC

And the query fails on the HAVING clause because COUNT_DISTINCT is not valid for Impala.
Expected results
HAVING COUNT(distinct id) > 0
or
HAVING `COUNT_DISTINCT(id)` > 0
Actual results
HAVING ((COUNT_DISTINCT(id) > 0))
Which causes this Impala exception:
impala error: IllegalStateException: Failed analysis after expr substitution. CAUSED BY: AnalysisException: mydatabase.count_distinct() unknown

Screenshots
Screenshot
How to reproduce the bug

Create a new chart using the Table viz
Group by a column
Add a metric for COUNT DISTINCT on some other column
Click the Filter dropdown, add filter for the metric added in step 3
Note the invalid SQL autopopulated in the Custom SQL tab
Hit Run Query Button

Environment
$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"

Version Info

superset version: superset version

$ superset version
Loaded your LOCAL configuration at [/home/superset/ssconfig/superset_config.py]
logging was configured successfully
INFO:superset.utils.logging_configurator:logging was configured successfully
/home/superset/super/lib64/python3.6/site-packages/flask_caching/__init__.py:189: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.
  "Flask-Caching: CACHE_TYPE is set to null, "
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Superset None
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Checking pip...
apache-superset (0.36.0)
  INSTALLED: 0.36.0 (latest)

superset --version
Python 3.6.8
Flask 1.1.2
Werkzeug 1.0.1

node.js version: node -v
(not installed)

npm version: npm -v
(not installed)

Impyla

>>> import impala
>>> impala.__version__
'v0.16.2'

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.

ERROR:superset.connectors.sqla.models:Query SELECT category AS category,
       count(DISTINCT id) AS `COUNT_DISTINCT(id)`
FROM mytable
WHERE to_timestamp(cast(created_dts as string), 'yyyyMMddHH') >= '2020-05-22 00:00:00.000000'
  AND to_timestamp(cast(created_dts as string), 'yyyyMMddHH') < '2020-05-29 00:00:00.000000'
GROUP BY category
HAVING ((COUNT_DISTINCT(id) > 0))
ORDER BY `COUNT_DISTINCT(id)` DESC
LIMIT 10000 on schema None failed
Traceback (most recent call last):
  File "/home/superset/super/lib64/python3.6/site-packages/superset/connectors/sqla/models.py", line 1059, in query
    df = self.database.get_df(sql, self.schema, mutator)
  File "/home/superset/super/lib64/python3.6/site-packages/superset/models/core.py", line 362, in get_df
    self.db_engine_spec.execute(cursor, sqls[-1])
  File "/home/superset/super/lib64/python3.6/site-packages/superset/db_engine_specs/base.py", line 841, in execute
    cursor.execute(query)
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 329, in execute
    configuration=configuration)
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 375, in execute_async
    self._execute_async(op)
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 394, in _execute_async
    operation_fn()
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 372, in op
    run_async=True)
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 1096, in execute
    return self._operation('ExecuteStatement', req)
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 1026, in _operation
    resp = self._rpc(kind, request)
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 994, in _rpc
    err_if_rpc_not_ok(response)
  File "/home/superset/super/lib64/python3.6/site-packages/impala/hiveserver2.py", line 748, in err_if_rpc_not_ok
    raise HiveServer2Error(resp.status.errorMessage)
impala.error.HiveServer2Error: IllegalStateException: Failed analysis after expr substitution.
CAUSED BY: AnalysisException: mfglogs_ficore.count_distinct() unknown

[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

@villebro am I right that fixing this would require updating the relevant db_engine_spec?


Paint editor calibration not working on some tablets

In the paint editor the element being drawn is offset from the location of your finger.  It's up to the left. It has been reported several times, often on Samsung devices, but we haven't seen it on any of our devices.

Reported on
Samsung Tab A: T580 running Android 7.0 (1200 x 1920 pixels (~224 ppi pixel density))
Samsung Tab A: SM-P580 with S Pen, Android version 6.0.1 (1200 x 1920 pixels (~224 ppi pixel density)
Galaxy Tab S2, Android 5.0.2 (1536 x 2048 pixels (~320 ppi pixel density))
ASUS ZenPad 3s 10 (Z500M), Android 6.0.1 (1536 x 2048 pixels (~264 ppi pixel density))

Same behavior on
Lenovo TAB2 A10-30 (TB2-X30F), Android 6.0.1, 1280x800

@fortuik Thanks for the info, every data point helps.

Potential workaround from a user:

Here's an update on the problem. If I pinch in on the screen suddenly it is calibrated correctly and I can draw where my finger is.

Same behavior on Pixel C, 2560 x 1800 (~308)

I can confirm that zooming out at maximum allows for correct painting, zoom in breaks it.

Same issue here with an old Nexus 10. Depending on the zoom level the offset is larger or smaller. Unfortunately the paint tool is not usable like this.

If this is still open after the 30th I'll happily take this issue and file a PR for it, I've got a hunch as to why this might be happening but need to dig further in order to articulate it properly.

@ryanwarsaw it's definitely a problem with the scaling calculation. The offset gets bigger the further you are from the top left (0,0) point. I'm probably not going to get to it before Oct 30th unless other things go faster than expected. Let us know if you do start looking into it.

Diving into this in the next couple of days, anything I should be aware of?

@ryanwarsaw One thing to be aware of is the unfortunately named https://github.com/LLK/scratchjr/blob/develop/src/iPad/iOS.js
The name is a relic from the time before ScratchJr was ported to Android and only ran on iPads. The src/iPad directory has files that handle the interface between javascript and the native tablet.
Since the calibration is only an issue on Android, it may only need changes in the native java code, but I thought I'd still point out this as it can be very confusing.

Confirming reproduction of this issue across 18 units of the Samsung Galaxy Tab A 8.0 (Model SM-T350)
The pinch out to zoom workaround works and as /u/fortuik said, zooming back in reproduces the issue.
Been poking through Paint.js and Events.js searching for suspects, may open PR if I find something!

Hi quick update, it took me a while to Scratch JR to run, I was having issues with running the scripts in the /bin folder, I've figured it out though and its working now. I dove into trying to replicate the problem, and tried with emulated versions of all the devices here.
I wasn't able to replicate the issue, it seems to work as intended for me. I attempted using a few different versions of Android, to no resolve. There is certainly an issue here though, it's just a matter of being able to replicate it.
I'm going to try using this tool I found (http://tools.android.com/tips/hardware-emulation) tomorrow, so I can control the emulator with a physical touch event and see if maybe the emulator is treating things differently than an actual device, unfortunately that's all I can think of.
I tried to view that gif you posted of the bug in action, but it appears to be a dead link. I also couldn't replicate it on my Nexus 5X as my only physical Android device currently.

@ryanwarsaw thanks for the update - is there something we should document about the scripts in the /bin folder to help others? Here's the gif again. If it still doesn't show up here's the link on dropbox

Yes, it's definitely hardware related as it only seems to happen on some Android devices.

@chrisgarrity The webpack one assumes path to node, for me as an nvm user it's located in a totally different place. The python one I'm not sure, it would error the first time then run without error every time after that, maybe a race condition between directory creation and work?
I tried the hardware emulation tool, unfortunately it looks like they got rid of it a few versions ago when they implemented multi-touch gestures for the emulator. I'm not really sure what to do at this point, I don't have any of the devices listed above so unfortunately I don't think I can do anything.

@ryanwarsaw good to know about the nvm problem as that will probably be an issue for more people. Are you on Windows or OSX? We don't have many developers on Windows, so we tend to miss those problems.
Thanks for taking a look at this - I agree, there's not much you can do if you don't have a device that exhibits the problem.

@chrisgarrity macOS, ideal solution would be to just use PATH defined node. I'm not sure if it's even possible to run scratch jr on Windows currently, maybe inside a sandboxed ubuntu environment or something.

@Raincloud7 i don't understand how to do that, may i have the edited version of scratch for android?

@nomnomnomyes i was hoping to help fixing this in the official version. To do it yourself you would have to setup the development environment which takes some time and knoledge. I am still hoping for a fix from the devs.

@ryanwarsaw “Hi quick update, it took me a while to Scratch JR to run, I was having issues with running the scripts in the /bin folder, I've figured it out though and its working now”
How do you solve this problem？

I think the problems I was dealing with were because the project was using an absolute path to node (/some/etc/node) when it was else where because I was using NVM.

On May 2, 2018, at 4:37 AM, liyashuang<EMAIL_ADDRESS>wrote:
@ryanwarsaw “Hi quick update, it took me a while to Scratch JR to run, I was having issues with running the scripts in the /bin folder, I've figured it out though and its working now”
How do you solve this problem？
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ryanwarsaw @chrisgarrity
Now I am running the Android project under the windows environment. I have reported the following mistake. Can anyone provide a solution?

@liyashuang I'm not sure that it's possible to build ScratchJr on windows currently. It would be great to hear if anyone has managed it.

Reopening this issue - it appears to be an interaction between zoom level and the pixel density of the android device.

Fixed in https://github.com/LLK/scratchjr/pull/234


bug: ion-alert click handler not removed during forceUpdate

Bug Report
Ionic version:

[x] 4.x
Current behavior:

when used with Bugsnag integration, ion-select (tested with multiple choice) using default ion-alert accepts only first change, no reaction for subsequent clicks on option checkboxes.
Expected behavior:

Able to make multiple changes.
Steps to reproduce:

was trying to reproduce the issue but without success. I believe this may be related to change detection or sth, as new click handlers are added during ion-alert component update
What I found is that this is combination of BugSnag which I use and ion-select implementation:

ion-alert (used to display ion-select) click handler triggers HostElement.forceUpdate and during the update click listeners are removed and re-added. @ionic/angular click handler removal code fragment:

function (elm, eventName, cb, opts) {
  elm.removeEventListener(eventName, cb, opts);
}

Bugsnag intercepts addEventListener and removeEventListener methods and for some reason removeEventListener calls (at least for click handlers) has no effect. Bugsnag beginning of eventListener handling interception code (just for reference, I believe the conflict is in other place and the method is long):

   function __traceOriginalScript(fn, callbackAccessor) {
      return function () {
        var args = Array.prototype.slice.call(arguments);
        var cba = callbackAccessor(args);
        var cb = cba.get();
        if (typeof cb !== 'function') return fn.apply(this, args);

in consequence after each click there new duplicated click handler are added to each button and checkbox click handles are not working correctly (i.e. it is not possible to do more than one change)

I believe there is some conflict in the handlers registering/deregistering code yet not sure how to proceed - possibly some fix is required in either Ionic or Bugsnag.

I was not able to reproduce the issue using this Ionic Angular StackBlitz (using test Bugsnag account): https://stackblitz.com/edit/ionic-v4-m21b3k - I believe this may be related to the change detection strategy or some similar setting...
Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 5.4.2
   Ionic Framework               : @ionic/angular 4.11.1
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   Cordova CLI       : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms : android 7.1.4, browser 5.0.4, ios 4.5.4
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.0, (and 16 other plugins)

Utility:

   cordova-res : 0.6.0 (update available: 0.8.1)
   native-run  : 0.2.8 (update available: 0.2.9)

System:

   Android SDK Tools : 26.1.1 (/usr/local/share/android-sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.1
   NodeJS            : v11.15.0 (/Users/szymon/.nvm/versions/node/v11.15.0/bin/node)
   npm               : 6.9.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.2.1 Build version 10E1001

  ───────────────────────────────────────────────

     Ionic CLI update available: 5.4.2 → 5.4.5
           Run npm i -g ionic to update

  ───────────────────────────────────────────────

also my related SO question https://stackoverflow.com/questions/58937524/event-listeners-not-removed-as-ionic-4-angular-conflicts-with-bugsnag-addevent

Just found that updating @bugsnag/js to version 6.4.3 solved the issue.


Multi-module framework assembly compilation

Enable compiling all framework / SDK assemblies in multi-module library
mode
Add a work-around to compile System.Console as a library in PInvokeILEmitter.cs
System.Console has a p/invoke to GetLargestConsoleWindowSize which
returns a COORD struct containing two 16 byte ints.  The struct return
type prevents the JIT from emitting an inline p/invoke in the IL stub we
generate and instead it treats the external p/invoke target as a managed
call and tries to compile it.  This work-around alters the return type
marshalling to be a 32bit int and allows the JIT to generate a proper
unmanaged call.
Fix bug in TypeSystemThrowingILEmitter where a null message argument
caused the jit to fail creating a string literal
Address library module compilation failures due to unsuccessful type
loads by checking on EEType creation whether the type can be loaded
sufficiently to write out the EETypeNode. Code for this stolen from one of Michal's previous PRs :)
Eagerly create EETypeNodes in ReadyToRunHelperNode so the failure point
happens during the referencing method compilation, not later on when
emitting the graph
Check method signatures on library compilation method rooting
Methods whose signatures contain types that cannot be loaded (they are
in a separate, non-existent assembly for example) should be skipped
since we cannot even replace their IL body with a throw helper. The JIT
will fail trying to getClassAttribs on the argument types.
This check is done when rooting methods instead of in MethodCodeNode's
constructor because MethodCodeNodes are created during graph sweeping
for things like virtual method combined dependencies.
Add a test that verifies we can compile all framework assemblies to their own separate object files successfully.

The struct return type prevents the JIT from emitting an inline p/invoke

This sounds like a JIT bug - we should get a bug on it. The JIT should be able to inline p/invoke with struct return just fine.

Do we want checks in ExternEETypeSymbolNode and ExternMethodSymbolNode too?

Done. Fixed up the Unix failure, too.


gl function was not loaded

When running cargo run --release on nightly 1.24.0, my application (based on Piston-Window, so Gfx with OpenGL) crashes with the following error: gl function was not loaded. Possibly related to https://github.com/brendanzab/gl-rs/issues/443.

Does not occur on the stable toolchain
Does not occur on non release builds on nightly

Only tested on Windows 10.

Could you check with the examples in the latest pre-ll branch?
We encountered this issue already earlier (and hopefully fixed it!): https://github.com/brendanzab/gl-rs/issues/438

Considering this fixed in gl-rs


Templating options

Great project!
Would it be possible to enable templating in JSX? The upside is potentially easier integration into JavaScript modules and I also find the code simpler to view.

I'm not sure what you mean?

It's very likely outside the scope of the project. But I'd find it interesting if it's possible to use JavaScript XML for writing templates, like Jinja2 for Django/Flask.
So instead of
       c.Page(  # Page provides a basic container for components             components=[                 c.Heading(text='Users', level=2),  # rendersUsers                 c.Table[User](  # c.Table is a generic component parameterized with the model used for rows                     data=users,                     # define two columns for the table                     columns=[                         # the first is the users, name rendered as a link to their profile                         DisplayLookup(field='name', on_click=GoToEvent(url='/user/{id}/')),                         # the second is the date of birth, rendered as a date                         DisplayLookup(field='dob', mode=DisplayMode.date),                     ],                 ),             ]         ),
Maybe one could use the following syntax (of course as long as data can be forwarded from FastAPI to the React part).
`

Users

`
It's likely not a simple solution, as I guess one would have to ideally hook into react-router-dom to map FastAPI routes to UI routes.

ye, I think that's beyond the bounds of what FastUI is trying to do right now.

@claesnn As far as I know, reactive-python/reactpy: It's React, but in Python does something similar to what you want.


Flask app

Hi.
I'm trying to use this in a Flask APP but i got this:
Creating a client session outside of coroutine
client_session: <aiohttp.client.ClientSession object at 0x7fc51630b588>
Traceback (most recent call last):
  File "run.py", line 33, in <module>
    loop.run_until_complete(main())
  File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
    return future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "run.py", line 23, in main
    result = await eureka.register()
  File "/home/joaokleiber/Documents/api-env/lib/python3.5/site-packages/wasp_eureka/client.py", line 158, in register
    return await self._do_req(url, method='POST', data=json.dumps(payload))
  File "/home/joaokleiber/Documents/api-env/lib/python3.5/site-packages/wasp_eureka/client.py", line 249, in _do_req
    await resp.text())
wasp_eureka.exc.EurekaException

Do you know how can i resolve this? Is this work for a Flask APP?
Thanks to advance.

Hi, this is written for an asyncio based application - meaning that WSGI based apps don't really fit that.


[270] Return original.url if sizes is missing

Sometimes, the REST API can return media with no sizes, like this:
{
    id: 3733,
    ...
    media_details: {
        wp_kraken: "Compressed (saved 6943 bytes)",
        sizes: { },
    },
    source_url: "https://domain.com/wp-content/uploads/collar-electrico.jpg",
    },
}

Right now, if there's no width, height and filename in media_details and sizes is empty, it doesn't return the url.
https://github.com/frontity/wp-org-connection/blob/dev-stable/src/pwa/stores/connection/entity.js#L205
We should at least return the url before returning the originalShape.
Affected urls:
https://docs.google.com/spreadsheets/d/1FWcvX7KiLAppGW2qOICxs8ATWqV1uEsCVdTnq5mK7q8/edit#gid=0&range=A18
(images 3730 and 3733)
Also, if any of this fields fails, the image shouldn't be returned because it will generate invalid AMP html. This can happen when no media is retrieved and the values are taken from the media shape.

https://frontity.pipedrive.com/deal/54
Pageviews: (0.18)
Environment: production (x10)
Range: low (x1)
Behaviour: no frontity without it (x10)
Mass: everyone (x5)
Referrer: yes (x3)
PRIORITY: [270]

#notify


Fix part of #8

@AvetisG It'd be awesome if this got merged soon. :)

Thank you for the quick fix. I now have more time and will be contributing back to this project, stay tuned for more awesome things to come :)


Fix some of bugs discovered in the KubeOne 1.9 testing phase

What this PR does / why we need it:

Properly handle AppArmor policies for Cilium

The latest Cilium manifests and Helm chart are using the appArmorProfile field in securityContext to set the needed AppArmor profile. However, this field is only available starting with Kubernetes v1.30. Prior versions shall still use annotations, which is ensured by this change

Initially deploy CSI Snapshotter webhook with failurePolicy: Ignore

This is a tricky one. First of all, it's recommended by the CSI Snapshotter maintainers to do it that way, i.e. deploy with failurePolicy: Ignore then change to failurePolicy: Fail. Second, we have a problem in our flow, because we first deploy this webhook, then we deploy the built-in addons (including default-storage-class), and then at the end we deploy user-provided addons. This is a problem when using an external CNI. That's because KubeOne will deploy the CSI Snapshotter webhook, which will wait for CNI. When trying to deploy default-storage-class addon, it would fail to do so, because the webhook is not running. CNI is not yet deployed, it's supposed to be deployed at the very end. To avoid this situation, we allow the webhook to run in the Ignore mode, and then change it to the Fail mode on subsequent kubeone apply run

Fix GCP Ubuntu 24.04 image
Increase context timeout in tests to 120m

This was the cause of flakes we were observing recently. The context had a timeout out 1 hour - 5 minutes, but tests have timeout of 2 hours by default. Because the context would timeout, we weren't able to continue running tests, even though the test itself wasn't supposed to timeout.

What type of PR is this?
/kind bug
Special notes for your reviewer:
All these changes are already thoroughly tested within testing PRs.
There still some bugs affecting the example Terraform configs for Azure, those are yet to be fixed in a follow up PR.
Does this PR introduce a user-facing change? Then add your Release Note here:
NONE

Documentation:
NONE

/assign @kron4eg

/approve
/lgtm

@kron4eg There was a failing test because I forgot to run update-codegen, should be good now.

/lgtm


New developers can create a Simple .NET App from the command line

Summary
Describe a specific user story experience. Use the format:
As a [new users], I want to [create my first app that is just source code] so that [I can focus on code and not be overwhelmed by the notion of project files].

Related: dotnet/sdk#12328.

Bulk closing .NET 6 epics and user stories. If you think this issue was closed in error, please reopen the issue and update it accordingly.


Add styling to horizontal-button-stack

Hi I see you added new styling but not sure how to use it for the horizontal-button-stack. I'd just like to add a grey color when the light is off so that way the background isn't just blank/empty.
type: custom:bubble-card
card_type: horizontal-buttons-stack
1_name: Davids Room
1_icon: hue:downstairs
1_entity: light.basement_lights
1_link: '#basement'
2_name: V/E Room
2_icon: hue:upstairs
2_link: '#vallyesther'
2_entity: light.vally_esthers_room
3_icon: mdi:music
3_link: '#media'
4_icon: mdi:weather-partly-cloudy
4_link: '#weather'
5_icon: mdi:home-automation
5_link: '#automation'
6_icon: mdi:account-cog
6_link: /profile
style: |
  ha-card {
    margin-bottom: 65px !important;
  .horizontal-buttons-stack::before {
    display: none !important;
  }

Hi and thanks again for your feedbacks! In the new v1.0.1 you can now select the class of each buttons, like .vallyesther in your custom style:
https://github.com/Clooos/Bubble-Card/releases/tag/v1.0.1

Not sure why this isn't working:

type: custom:bubble-card
card_type: horizontal-buttons-stack
1_name: Davids Room
1_icon: hue:downstairs
1_entity: light.basement_lights
1_link: '#basement'
2_name: V/E Room
2_icon: hue:upstairs
2_link: '#vallyesther'
2_entity: light.vally_esthers_room
3_icon: mdi:music
3_link: '#media'
4_icon: mdi:weather-partly-cloudy
4_link: '#weather'
5_icon: mdi:home-automation
5_link: '#automation'
6_icon: mdi:account-cog
6_link: /profile
style: |
  ha-card {
    margin-bottom: 65px !important;
  .horizontal-buttons-stack::before {
    display: none !important;
  }
  .basement {
    background-color: ${state === 'off' ? 'darkblue'} !important;
  }
  .vallyesther {
    background-color: ${state === 'off' ? 'pink'} !important;
  }

You forgot a } at ha-card.

It doesn't seem to agree unfortunately...  code has been working fine "style" this whole time but changing it to "styles" and adding the "}" breaks it..

type: custom:bubble-card
card_type: horizontal-buttons-stack
1_name: Davids Room
1_icon: hue:downstairs
1_entity: light.basement_lights
1_link: '#basement'
2_name: V/E Room
2_icon: hue:upstairs
2_link: '#vallyesther'
2_entity: light.vally_esthers_room
3_icon: mdi:music
3_link: '#media'
4_icon: mdi:weather-partly-cloudy
4_link: '#weather'
5_icon: mdi:home-automation
5_link: '#automation'
6_icon: mdi:account-cog
6_link: /profile
styles: |
  ha-card {
    margin-bottom: 65px !important;
  }
  .horizontal-buttons-stack::before {
    display: none !important;
  }
  .basement {
    background-color: ${state === 'off' ? 'darkblue'} !important;
  }
  .vallyesther {
    background-color: ${state === 'off' ? 'pink'} !important;
  }

This is weird, you must have an integration that conflicts and breaks it, but I can confirm that it's styles like in my documentation to have the JS templates, style is for card-mod, this is why it's partially working without the "s".
If you find what the conflict was can you reply back so I can document that?

Oh I was hoping to just do one condition because I only want the fixed color when the light is off, when the light is on I want it to be the normal same color as the light in the room and not fixed, I guess that's not gonna work with JS templates like card_mod, unless maybe there is a variable I can use that will make it follow the light color when on, just like button_card has a light variable?

In that case, this should work :
background-color: ${hass.states['light.cuisine'].state === 'off' ? 'darkblue' : ''} !important;

Confirmed! This works, thanks.

You're welcome! 😀

Thank you so much! This helpt me a lot. I to have now the buttons with the style and love it!
So for the buttons I have added this code under styles (I have used the same example):
ha-card {
margin-bottom: 65px !important;
}
.horizontal-buttons-stack::before {
display: none !important;
}
.basement {
babackground-color: ${hass.states['light.cuisine'].state === 'off' ? 'darkblue' : ''} !important;
}
But once I create a bubble card, for example, to switch my lamps in de living room (the pop-up card) How can I change that collar as well? I'm a noob in home assistant by the way. But I tries the same code, like this:
type: vertical-stack
cards:

type: custom:bubble-card
card_type: pop-up
hash: '#Boven'
button_type: name
name: Boven
icon: mdi:bed
card_layout: large
styles: |
ha-card {
margin-bottom: 65px !important;
}
.horizontal-buttons-stack::before {
display: none !important;
}
.Boven {
background-color: ${hass.states['light.gang_boven_groep'].state === 'off' ? 'lightblue' : ''} !important;
}

But this is nog working. And I have changed horizontal-buttons-stack into vertical-stack


Handle stash and osdf URLs with 2 slashes

Some users get tripped up by requiring 3 slashes after the schema (stash:/// instead of stash://) and it's hard to figure out the problem is from the resulting error (403 forbiddens with the first part of the path chopped off).
If the URL.Host component of a stash or osdf URL is non-empty, prepend it and a leading slash to the path (so osdf://foo/bar is treated the same as osdf:///foo/bar).

I could have sworn we accounted for this here: https://github.com/htcondor/osdf-client/blob/a8d598e4cb15977376f4f6fc7d73a259d56972d2/main.go#L274-L276
Ah, maybe this is for destination files?


[Feature] Add option to add custom item to searchview and setOnNavigationClickListener

It will be great if you could add option to add custom item to searchview like filter for example. Also setOnNavigationClickListener will be great.

Hi, Listener for what? You have probably listeners for everything you need. Library is exact copy of what you can see in Play Store so adding more things is not on my priority list now. Maybe in future after I will have more time for developing.

Hi, I mean listener for up button in menu item SearchView, I want to override the method to close activity/fragment instead for closing the SearchView. I tried to use open/close listener but the close listener kick in only after animation is finished.

OnMenuClickListener does that


pkg/trace/obfuscate: add test for problematic SQL

Adds a test case to verify the agent can handle Java tracer obfuscated SQL

@richardstartin This PR should target 7.29 milestone or get into the codebase asap as we have entered the freeze period for the release.


feat(providers): use generics to allow for typed providers for more than 5 provider arguments

I've updated the code to allow the methods toClass and toSelf to have strict types for providers even if there's more than 5 of them.
This update made it possible to remove all the Newable0, Newable1, Newable2, Newable3, Newable4 and Newable5 types.
I've also added a type ProviderWrap that wraps IProvider around each type in an array. I'm not 100% sure where to put it. So I ended with putting it in _provider.ts.
Update: I forgot about the transformer filling the parameters on compile time. So I changed ProviderWrap to make the values optional instead.

Thanks for this. I'd prefer to not have the optional mapping in the second commit - so that toClass will error if you don't pass valid providers for the constructor signature). This is also the reason why toSelf's implementation does a (toClass as any)() hack - perhaps we can just remove the typing from toSelf implementation:  ... (ctor: T, ...providers: any[]) ...  as its purely used for the compiled-in providers.
The problem is toSelf doesn't work in a "transpile-only" builds (vue+webpack, rollup+ts-plugin, etc...) as you can't resolve the referenced node to a symbol type, and so I've been using toClass heavily to manually define the providers in my Vue project.

I merged and tweaked toSelf and toClass. Thanks for the contribution. Feel free to branch within this repo - you have full access. :)


change metadata key from finetuned_from to base_model

related to:

https://github.com/huggingface/hub-docs/pull/1084
https://github.com/huggingface/moon-landing/issues/7584
https://github.com/huggingface/moon-landing/pull/7350
https://github.com/huggingface/moon-landing/pull/7989

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

(context: https://github.com/huggingface/transformers/pull/24528#issuecomment-1613022119)

cc @muellerzr on aligning on this between the two libraries eventually

For diffusers, it's weird that they don't use a base_model, they're supposed to output it in their model card no? cc @patrickvonplaten maybe

If it can help, I was mentioning this part of the code: https://github.com/huggingface/diffusers/blob/64603389da01082055a901f2883c4810d1144edb/src/diffusers/utils/hub_utils.py#L125.

maybe raise this question in a diffusers slack channel

(link to -internal- thread)


Is processing the arguments (quoting them) a behavioral change in packcheck-safe.sh

If it is considered a behavioral change, we need to add an entry to the changelog.

It is a bug fix.


Video call experience in Communication ui library - CallComposite sample

Describe the bug; what happened?
It is not always possible to see remote participants videos.
It is not always possible to share local video.
When using the Call Composite sample, https://azure.github.io/communication-ui-library/?path=/docs/composites-call-joinexistingcall--join-existing-call
What are the steps to reproduce the issue?
Preview https://azure.github.io/communication-ui-library/?path=/docs/composites-call-joinexistingcall--join-existing-call

Enter needed values to join a call
Join call with a few participants, using unique join values
Share video/voice.

If a person starts sharing video, a set of random events seem to occur.
Person A shares video with B og C
B also starts video sharing, then B’s remote participants view stops showing video from A.
B stops video, but can still not able to see any remote videos.
B needs to rejoin the call to see the video of A and never start video sharing…
A seems to be in the same “situation” and there not able to see video from B…
Sometimes the moon and stars align perfect and magically both A and B are able to see video … but it seems totally random...
Many other, seemingly, random scenarios occur as part of starting and stopping video. Also the “console.log” is very chatty with warnings and errors with respect to local video already started etc.
I guess this is not the intended behaviour… but what am I doing wrong?
What behavior did you expect?
Video and voice should be visible to all participants, behave like a Microsoft Teams call.
If applicable, provide screenshots:
n/a
In what environment did you see the issue?

OS & Device: MacOS, iOS, Windows, Android
Browser: Microsoft Edge, Google Chrome, Apple Safari
Version: latest version of browser and os on all devices.

Is there any additional information?

I am having the exact same issue - compiled the latest call composite. Can only see my own video and none of the other participants video.
Clicking on Show Participants in Mobile Form Factor crashes the component and the browser.
Tested in both Chrome and Edge
btn.onclick=async ()=>{
var dvParams = document.getElementById("dvParmaters");
        dvParams.style.display = 'none';
        const endpointUrl = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx';
        const user = txtUser.value;
        const displayName = txtDisplay.value;
        const token = txtToken.value;
        const groupId = txtGroupId.value;

        callAdapter = await callComposite.loadCallComposite(
          {
            groupId, // Provide any GUID to join a group
            displayName: displayName,
            userId: user,
            token: token
          },
          document.getElementById('video-call-container'),
          {
              formFactor:'mobile'
          }
        );

    };

Hi @mgamis-msft
Thanks for following up on the issue. Let me try and clarify and be more precise in the description.
I used the sample code to join a group call/group id (a self picked guid) I did not join a Team's Call.
https://azure.github.io/communication-ui-library/?path=/docs/composites-call-joinexistingcall--join-existing-call.
To clarify 1)
I joined a group call (not a Teams call) with 4 participants all with a unique: token, user id  and display name and a shared group id value (allowing the participants to join the same call)
For simplicity, let's call the participants P1, P2, P3, P4.
To clarify 2)
After joining the call with P1...P4.
Case 1:
If P1 starts to share video not all (if any) participants in the call can see the shared video feed. P2...P4 do not get any indication of video being shared. (Again this happens from time to time, seems very random/unpredictable)
Case 2:
P1 has successfully shared video with at least 1 other participant (let's say P2). All other participants do not share video.
P2 can see video from P1. If P2 decides to also share video, then the video feed from P1 on P2's "screen" stops/disappears as if P1 stopped sharing video. (Again this happens from time to time, seems very random/unpredictable)
Case 3:
No access to video/microphone. A participant can also be meet with the error message that video and/or microphone access has not been granted to the web application. Checking browser settings (video icon to the right on the address bar reveals that the access is granted.)
I P1 turns on and off video a few times, rapidly and continuously then at some point this error message and appear.
Other error messages can also show-up in the debug console log (F12 dev tools). These warning messages are mostly "can not stop local video stream as it is already stooped".
To clarify 3)
All cases have been observed on all devices (iOS, Android, Mac, Windows, Edge, Chrome, Safari) but not consistently, they have a tendency too pop-up randomly.
As an example, I tested on on an iPhone (latest os version) and everything was working perfect, no issues... half an hour later nothing worked and all the above cases could be reproduced.
The same for Mac, PC.
I hope the above helps to better understand the behaviour.

Hi @mgamis-msft
I have managed to replicate the exact same issue using the single HTML file below. You can access the site using the link below.
https://bicsolxmediaxstxdev001.blob.core.windows.net/testvoip/TestCall.html
Below is what it looks like after both has joined to call from two different machines and enabled their cameras.

The full source for the site below.

I hope this helps.

Thanks @martinesmann for the details. We are seeing the video streams not rendering with our samples when participants join in quick succession.
Thanks @willieburger34 for providing a sample for us. We are also seeing similar behavior here.
We are investigating the cause of this issue more deeply.

Hi @mgamis-msft thank you so much. I will follow this thread :) Have a good day!

Thanks @mgamis-msft for looking into the issue. Please keep us updated on any progress :) Have a great day!

@mgamis-msft Is there any update og other information to share on the issue?
My client has moved into production with ACS service and use this ui framework and the users are starting to experience the issues and and reporting them to the clients customer support team.

@martinesmann I apologize for the delay on this issue. We currently are not able to work around the calling infrastructure issue on the client side in the meantime before March 25.

@mgamis-msft Thanks for the update and looking very much forward to the update on the 25th.
Will the fix include an update to the current ui library? I'm trying to prepare for any updates that may need to be done on my end.

@martinesmann Sorry for the slow response but there would be no update to the current ui library required,

The issue has been fixed and expected behaviour can be seen for the video calling. Feel free to open another issue if you face any other challenges.

The issue has been fixed and expected behaviour can be seen for the video calling. Feel free to open another issue if you face any other challenges.