CSS Modules?

NextJs comes with css module support but it doesn't seem to work in this boilerplate. Has it been overridden by the Styled components? How would I go about enabling css module support.

@baj84 Hi,
I don't know why it doesn't seem to work. Did you fix it?

Hi @baj84 Please see #123


Web - Hide modal instead of go back to previous page from Connect bank account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to Settings > Workspaces
Go to any policy > bank account
Copy the browser url
Close the modal
Paste url in browser
Click the back button

Expected Result:
User should navigates to Workspace page
Actual Result:
Hide modal instead of go back to previous page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:  1.3.42-9
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/000f5f5d-7cbe-46d8-b037-863b42aaf39f
https://github.com/Expensify/App/assets/93399543/c8c9be09-822e-4c23-a02d-9408cda0a70f
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689682669768289
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Modal hides instead of going back to previous page (Workspace page) when user opens Connect bank account via a URL.
What is the root cause of that problem?
We are not passing onBackButtonPress prop to the HeaderWithBackButton component here -
https://github.com/Expensify/App/blob/9508dfafb2c666893df65acc1289ff37839406cc/src/pages/ReimbursementAccount/ContinueBankAccountSetup.js#L42-L47
Due to this, when back button is clicked the default function for onBackButtonPress is used which uses default fallbackRoute - ROUTES.HOME and user returns to home screen -
https://github.com/Expensify/App/blob/9508dfafb2c666893df65acc1289ff37839406cc/src/components/HeaderWithBackButton/index.js#L25
https://github.com/Expensify/App/blob/9508dfafb2c666893df65acc1289ff37839406cc/src/libs/Navigation/Navigation.js#L99
What changes do you think we should make in order to solve the problem?
We need to pass the onBackButtonPress to HeaderWithBackButton in ContinueBankAccountSetup -
onBackButtonPress={() => Navigation.goBack(ROUTES.getWorkspaceInitialRoute(props.policyID))}

For this, we need to define a new prop policyID in ContinueBankAccountSetup of type PropTypes.string and pass policyID to ContinueBankAccountSetup from ReimbursementAccountPage.
What alternative solutions did you explore? (Optional)
NA

I don't think this is a bug.

posted to confirm here https://expensify.slack.com/archives/C049HHMV9SM/p1689844414221449?thread_ts=1689682669.768289&cid=C049HHMV9SM (public)

confirmed


Viewing the dashboard

How can I login so I can see the dashboard from the complet version of the product?

Username<EMAIL_ADDRESS>Password: 123456


Windows compatibility changes in conda--get-path-prefix

I noticed some problems with the recent changes under windows.
The paths needed to be quoted and conda-env-executables-dir needs to be used instead of "bin".
I've attempted to fix the problems, please review and merge.

@Shiandow sorry for the delay in getting to this, Having tested it out it looks like it doesn't cause any regressions on Linux so I'm happy to merge it -- thank you!
I'll do a little reformatting to the function for my own clarity after, and then tag it for melpa.


Deprecated use of iteritems in st_aggrid/init.py

I'm getting deprecation warnings because of the following line:
https://github.com/PablocFonseca/streamlit-aggrid/blob/ac4eba7d766050c4b456da31beff01d573730682/st_aggrid/__init__.py#L42
FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
  for c, d in dataframe.dtypes.iteritems():

This issue is still ongoing.
I see the merge has gone through, but st_aggrid 0.3.3 still shows the warning.
It may be time for the 0.3.4 release 😊

Is anyone working on this?  I can probably tackle it.  Did not want to duplicate work if a PR is already open


WIP: [nginx-ingress-controller] Release 0.8.3

fixes #1572

This change is

LGTM, im going to push this out and we can bump version up again for the other changes

@bprashanth please check you need to publish nginx-slim and merge https://github.com/kubernetes/contrib/pull/1574 before the publication of this PR

pushed


Calendar does not start at week 0

@vchelur97 I forget, did we (by that I mean you lol) already fix this in Cogs 9 repo? Also finals week is showing up as week 12 (not 11) because of this starting at 1 not 0 bug I suppose?  class website link

It's a bug... I'm pretty sure I had fixed it but it crawled back in. I'll take a look at it over the weekend

Fixed


Add Hindi to languages

Purpose of PR
Add Hindi language option.
Added Hindi to packages/constants/src/web/languages.ts
Added Indian flag for Hindi language option to packages/theme-chalk/src/google-translate-select.scss
PR Checklist

[y] I have read the relevant readme.md file(s)
[y] Tests are added/updated/not required
[y] Tests are passing
[y] Storybook stories are added/updated/not required
[y] Usage notes are added/updated/not required
[y] Doesn't contain any sensitive information

@gavbrown89 You can use the latest package:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

https://github.com/all-contributors please add @gavbrown89 for code


fix: Update selector for referral banner

Closes #3022

It's still div.referral-program for me... is YNAB testing something?
Let's keep both.

It's still div.referral-program for me... is YNAB testing something? Let's keep both.

Ah, yep, there's a referral-banner-experiment feature flag. Apologies @alexmidd, that's why I couldn't replicate it on my end.


textinputref.isfocused is not a function

I have encountered this error while usign useRef hook
can you please give an example how to use this with useRef hook or functional component.
Here is my code:
const [household, setHousehold] = useState('')
const householdRef = useRef(null)

return(
 <KeyboardAwareScrollView getTextInputRefs={() => { return [householdRef] }} style={styles.container}>
    <TextInput multiline={true} placeholderTextColor={inputPlaceholderTextColor} placeholder='write your answer here..' style={styles.input} />
    <TextInput multiline={true} placeholderTextColor={inputPlaceholderTextColor} placeholder='write your answer here..' style={styles.input} />
    <TextInput multiline={true} placeholderTextColor={inputPlaceholderTextColor} placeholder='write your answer here..' style={styles.input} />
    <TextInput multiline={true} placeholderTextColor={inputPlaceholderTextColor} placeholder='write your answer here..' style={styles.input} />
    <TextInput {...props} ref={householdRef} multiline={true} placeholderTextColor={inputPlaceholderTextColor} placeholder='write your answer here..' style={styles.input} />
 </KeyboardAwareScrollView>
)

This is just a test so i have set only one ref.
{
 "versions": {
           "react": "16.13.1",
           "react-native": "0.63.2",
           "react-native-keyboard-aware-scrollview": "^2.1.0",
 },
"device": "iPhoneX"
}

Try householdRef.current ?

Try householdRef.current ?

hi could you explain how to add this in the above code?

It depends on how you get the reference. If you set a function to the prop ref, you would get a instance and you would be able to use ref.isFocused(). But is a deprecated way, instead using a Ref object created with useRef is recommanded. Here is some sample code. You can checkout the documentation of useRef.
const ref = useRef(null);
<TextInput ref={ref} ... />
ref.current?.isFocused()

Try householdRef.current ?

hi could you explain how to add this in the above code?


[WalletConnect] App crashing when invalid message is signed (EIP-712)

Description
WC safe app is crashing when testing the EIP-712 & snapshot integration
Steps to reproduce
Using this EIP-712 snapshot proposal connect via WC app on mainnet and vote on it (any option will do).
Expected result
If there is something wrong with the proposal and voting will fail or not be possible because of that, handle the error so that the WC app does not crash.
Obtained result
App is crashing.
https://user-images.githubusercontent.com/92332710/191059764-2214414f-d68f-48fb-9f93-d106fe60a2f4.mp4

This is tracked in https://github.com/safe-global/safe-apps-sdk/issues/363


Active learning in roboflow pip

Jay and Charles have made progress on adding active learning utility scripts to the pip package. I believe these are an extension of techniques already used in field, via the active learning notebook

test comment


Create an MDK Offline App

Tutorial URL: https://developers.sap.com/tutorials/cp-mobile-dev-kit-offline-app.html
Please specify the step you are referring to:Step 5

After clicking the Open Link , it does not show a toast message to launch SAP Mobile Services Client.

Sometimes it shows the SAP Mobile Services for a second, but the app does not get launched in SAP Mobile Services Client.
Kindly check.

Thanks,
Jakes

Hello Jakes,
Please provide more details:

You are trying to on-board on iOS client or Android client?
If iOS, what is iOS version? can you also find "SAP Mobile Services client" version, go to settings and look for "Mobile Svcs" app and then application version

If it is Android, you switch to Android tab and follow the instructions (please dont use Lighting QR code scanner app, you can use Barcode scanner app from Google play).
We are in process of updating the tutorials.

Thank you Jithendra,
I am trying Android Client.
Will try with Barcode scanner app  and update here.
Thanks,
Jakes

Thanks again Jithendra, with the Barcode scanner, the application opened in SAP Mobile Service Client.
Many thanks for such wonderful end to end tutorials, Chill.
Kind Regards,
Jakes


Fix bad formatting of large annotation tables

I noticed this on a page with many phenotype annotations (PMID:23173672) when I expanded "sensitive to hydroxyurea".

Also a problem on some pages with lots of GO annotations:

Fixed for tomorrow.


popping routes will not remember the query parameters

Given the example project here: https://github.com/ened/routemaster_eval
Please run it on a mac or tablet to see the following behavior:

Scroll the list a bit and select a item
The detail screen will show (due to a route change to /?id=123)
Tap on "final  link" to see the final page, route changed to /detail/final?id=123
Tap back will return to /. Th expectation is to route back to /?id=123 on back press.

Good spot, thank you for the report and example.

That was quick! Thank you @tomgilder.

@tomgilder btw, please push the new version to pub :) Seems like it's already tagged in GitHub?

@ened done! :-)
Please note the breaking changes, especially the path one - https://github.com/tomgilder/routemaster#migration-from-060-to-070


Removing 14.04 references from 16.04 dockerfile

Description

The dockerfile in ibmcom/swift-ubuntu-xenial-runtime for the amd64 image still has references to 14.04 despite the base image being 16.04. This can cause unexpected behavior. These changes now point to the correct 16.04 swift files when building this image.
Motivation and Context

The motivation for the changes are to make sure this dockerfile is using the corresponding swift runtime files.
How Has This Been Tested?

Downloaded the dockerfile
Built the dockerfile: docker image build --build-arg VERSION=4.0.3 -t swift-runtime .
Clone the repo https://github.com/PerfectExamples/Perfect-WebSocketsServer
Created a multi-stage dockerfile inside the cloned repo:

# Use an official Swift runtime as a parent image
FROM swift:4.0.3 AS build

ADD . /Perfect-WebSocketsServer

WORKDIR /Perfect-WebSocketsServer

# Install related packages
RUN apt-get -q update && \
    apt-get -q install -y \
    uuid-dev \
    openssl \
    libssl-dev && swift build --configuration release

FROM swift-runtime:latest

COPY --from=build /Perfect-WebSocketsServer/.build/x86_64-unknown-linux/release/Perfect-WebSocketsServer /Perfect-WebSocketsServer
COPY --from=build /Perfect-WebSocketsServer/webroot/index.html /webroot/index.html

RUN apt-get -q update && apt-get -q install -y libxml2 libbsd0

EXPOSE 8181

ENTRYPOINT ["./Perfect-WebSocketsServer"]

Build the new dockerfile: docker image build -t perfect-websocketsserver .
Run the image: docker container run --rm -ti -p <IP_ADDRESS>:8181:8181 perfect-websocketsserver:latest

Checklist:

[ ] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

 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.

@csjones These changes look good - can you please sign the CLA before we merge it?

a practical example: https://github.com/IBM-Swift/swift-ubuntu-docker/issues/56

@csjones I will merge this as soon as the CLA is signed - simply use the link in here to sign: https://github.com/IBM-Swift/swift-ubuntu-docker/pull/55#issuecomment-397140998


Demo is down

http://demo.relayjs.com redirects to https://modulus.io/project-not-found?url=demo.relayjs.com

I've restarted the server and the demo should be running now.


flux-local failures: FileNotFoundError: [Errno 2] No such file or directory

Example run:
https://github.com/onedr0p/home-ops/actions/runs/5595213825/jobs/10230874135
Many users reporting failures, like:
INFO:flux_local.git_repo:Unknown cluster source for OCIRepository flux: ./
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.12/x64/bin/flux-local", line 8, in <module>
    sys.exit(main())
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/tool/flux_local.py", line 60, in main
    asyncio.run(action.run(**vars(args)))
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/tool/diff.py", line 337, in run
    await git_repo.build_manifest(
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/git_repo.py", line 580, in build_manifest
    clusters = await get_clusters(
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/git_repo.py", line 470, in get_clusters
    finished = await asyncio.gather(*tasks)
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/git_repo.py", line 375, in kustomization_traversal
    docs = await get_fluxtomizations(root_path_selector.root, path, build=build)
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/git_repo.py", line 326, in get_fluxtomizations
    docs = await cmd.objects()
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/kustomize.py", line 124, in objects
    return [doc async for doc in self._docs()]
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/kustomize.py", line 124, in <listcomp>
    return [doc async for doc in self._docs()]
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/kustomize.py", line 118, in _docs
    out = await self.run()
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/kustomize.py", line 114, in run
    return await run_piped(self._cmds)
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/command.py", line 104, in run_piped
    result = await _run_piped_with_sem(cmds)
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/command.py", line 96, in _run_piped_with_sem
    out = await asyncio.wait_for(cmd.run(stdin), _TIMEOUT)
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
    return fut.result()
  File "/home/runner/work/_actions/allenporter/flux-local/main/flux_local/command.py", line 69, in run
    proc = await asyncio.create_subprocess_shell(
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/subprocess.py", line 205, in create_subprocess_shell
    transport, protocol = await loop.subprocess_shell(
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/base_events.py", line 1648, in subprocess_shell
    transport = await self._make_subprocess_transport(
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/unix_events.py", line 207, in _make_subprocess_transport
    transp = _UnixSubprocessTransport(self, protocol, args, shell,
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/asyncio/unix_events.py", line 799, in _start
    self._proc = subprocess.Popen(
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: PosixPath('/home/runner/work/home-ops/home-ops/pr/deploy/controller')
Error: Process completed with exit code 1.
Error: Unable to process file command 'output' successfully.
Error: Invalid value. Matching delimiter not found '8b103dc866634c7a'

Last successful run: https://github.com/onedr0p/home-ops/actions/runs/5593429647/jobs/10227065727

Other example:
https://github.com/buroa/k8s-gitops/actions/runs/5604918250/jobs/10253453803
Started failing 5 days ago
https://github.com/0dragosh/homelab/actions/runs/5555970148/jobs/10147856888

In the first repo, seems like the problem is attempting to build this:
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
  name: cluster-apps-csi-addons-controller-manager
  namespace: flux-system
spec:
  path: ./deploy/controller
  prune: true
  sourceRef:
    kind: GitRepository
    name: kubernetes-csi-addons
  wait: false
  interval: 30m
  retryInterval: 1m
  timeout: 5m

onedr0p and buroa both deployed the same csi controller around the same time (with direct commit, not a PR). 0dragosh's repo is failing for a different release, coincidentally.

3.1.0 has been tagged for release which adds functionlity to --sources to restrict to just the right GitRepository.

https://github.com/szinn/k8s-homelab/pull/2135
I’m getting this error as well and likely have the same csi controller

https://github.com/szinn/k8s-homelab/pull/2135
I’m getting this error as well and likely have the same csi controller. Adding the sources: line and will see how that does it

As a fox, you can now specify 'sources' with the name of your flux GitRepository or OCIRepository. On mobile but let me know if that fixes it for you or not.

That appears to work fine -

Ok great. For context, the default behavior is to pull in all kustomizations and assume they point to the local repo. Now with sources you select which kustomizations from a specific source repository to include.

Closing since we now have --sources to limit GitRepository and OCIRepository objects to just those that are within cluster. https://github.com/allenporter/flux-local/issues/360 discusses some ideas for pulling remote repos, which may or may not happen.


Untangle static api dependencies - do not merge

The static API header files were not actually usable due to the fact they included the Lwm2m core headers, which are not "installed" by Cmake. I have rearranged things so that the core now includes <awa/static.h> and moved all the required object files to libawa_static.a

I'm experiencing segfaults in the google test framework after rebasing against the latest changes. If I comment out these tests then it all works fine, but there was a-lot of merge conflicts so more than likely I have broken something.


Highlight the breakpoint when stopping on a breakpoint with custom debugger

How can this be done, the debugging api does not seem to allow this. This is a very important feature of creating a debugger.
For example, when a StoppedEvent is emitted a line and file could be passed in to be highlighted by the UI.
An issue like this was closed in the past: 36094

@bvicinay with "Highlight the breakpoint" you mean select "the breakpoint in the BREAKPOINTS view"?

Yes, a breakpoint that was set by a user. When the debugger stops at the breakpoint.

Why is it important to select the breakpoint?
Isn't it sufficient to highlight the breakpoint in source?

I need to highlight the breakpoint in the source, in the editor. When the breakpoint is reached, the editor window of the file with the breakpoint should show and hightlight the line with the breakpoint that was reached. Nothing to do with the breakpoints view. This seems to not happen automatically when a StoppedEvent is sent. Sorry for the misunderstanding.

VS Code automatically reveals and highlights the source under these two conditions:

the target is running and
a stopped event is received.

It does not highlight the source if the target is not running.
So when you are emitting (artificial) stopped events, make sure that the VS Code is the running state by emitting a "continue" event first. See https://github.com/Microsoft/vscode-debugadapter-node/blob/7b97e42f1ed19777044850c5f18bfce8e21fc598/protocol/src/debugProtocol.ts#L107-L120

After emitting a ContinuedEvent, vscode does not highlight the source when a StoppedEvent is emitted. Are there other conditions necessary? Like breakPointId's, _currentLine, etc.. How does vscode know where to highlight the source?


Add examples

added examples generated from Go SDK

Hi Databricks Team, Certain functions aren't working as expected. e.g., Account.workspaces.list() throws an error quoting 'Databricks Sign-In'!! Attaching a snap as well. could you help.


Update Cilium CNI Popularity Chart Numbers

Update Cilium CNI Popularity Chart Numbers

@btat , I think this needs to be updated in the current (Docusaurus)docs? What's the corresponding page by the way in current docs?

@btat , I think this needs to be updated in the current (Docusaurus)docs? What's the corresponding page by the way in current docs?

I will port this over to the current (Docusaurus) docs and confirm the corresponding page as part of it. But we'll need to re-evaluate this table and modify it because the data we list constantly changes.

Replaced by https://github.com/rancher/rancher-docs/pull/992 on the current docs repo.


Add phpstan-drupal

Closing this and re-creating without fixing anything and just taking the baseline updates.


DarkModeAdded

Results:

I request you to do some changes, The in consistency tracker is not visible in dark mode, also if you are familiar with tailwind css themes, its better to use them. Thank you

All right, i will be working on it

@Saichandra2520 About the tailwind themes, do you want me to make the componenets have contrast with the background like this?

@LucioPalmucci  You some better color pallette, to make a better view in dark mode,
You can use figma file below to make necessary changes before writing actual code
https://www.figma.com/design/C9obXAjt5MQY6i8ZoYS4bo/DSA-Checklist?node-id=0-1&t=J4oq0mBHs1cBMlyd-1

Sorry for being very insistent, but are the colors good like this?


Ruby 3 compatibility

This PR updates the dependencies in the gemspec and makes some minor adjustments to the code and specs to allow utilizing tickeos_b2b in newer Ruby/Rails versions (esp. ruby >= 3).

I will do some testing and get back to you as soon as possible 👍


cmake: Don't use the environment variable CFLAGS

Some distros set the environment variable CFLAGS, this will
accidentally affect Zephyr builds.
To fix this we clear the environment variable from within the Zephyr
build system for the duration of the CMake execution.
Until now we have been instructing the user to clear it, but it is
easier for the user if we clear it for him.
The same applies to CXXFLAGS.
Signed-off-by: Sebastian Bøe<EMAIL_ADDRESS>

https://cmake.org/cmake/help/v3.10/envvar/CFLAGS.html says this btw:
For any configuration run (including the first), the environment variable (CFLAGS)
will be ignored if the CMAKE_C_FLAGS variable is defined.

Don't know if relevant here.

I'm not sure it's a good idea.

Some distros set the environment variable CFLAGS

but it is easier for the user if we clear it for him.

Some users set CFLAGS in the environment, what about them?

Some users set CFLAGS in the environment, what about them?

Those users will have to find some way to do without this feature. e.g.
cmake -DEXTRA_CFLAGS="-Werror -Wno-deprecated-declarations" ..
is supported.

Those users will have to find some way to do without this feature

So, you're going to add a warning when you unset an existing envvar, so users were aware of what happens?

So, you're going to add a warning when you unset an existing envvar, so users were aware of what happens?

I wasn't going to, but I guess that can't hurt. Done.

I wasn't going to, but I guess that can't hurt. Done.

Thanks! My concern with these was first of all potential usage in various scripts, e.g. integrated builds, CI, etc. I guess, with explicit warning, someone will have enough leads to figure out why it stopped working/won't work.

@SebastianBoe : Isn't this targeted for 1.13?

@pfalcon : This fixes a minor usability issue, so it is not important IMHO if it is merged before or after 1.13.

This fixes a minor usability issue, so it is not important IMHO if it is merged before or after 1.13.

How so? If it's minor, why was to fix it at all, and if it's done, let's make people enjoy it for this release, not suffer for until next ;-).

(I mean, given that this is mostly a trivial change.)

My position is: I'm sure there won't be shortage of stuff to make/merge in the next cycle, so if it's done and simple, why wait? But indeed, up to @nashif


Standard way to get UTF8 query parameters

When launching this:
import bottle, random, time
from bottle import request
app = bottle.Bottle()
@bottle.route('/')
def index():
    r = request.query["a"]
    print(r)
    return ''
bottle.run(port=80)

and calling http://<IP_ADDRESS>/?a=testé gives:
testÃ©

What is the standard way to get testé instead?
I already read https://github.com/bottlepy/bottle/issues/1085 but I wondered what should be the "standard way". Would it be request.query.decode()["a"]? (If so, why is an extra decode necessary here?)

Query parameters do not have an encoding. We can assume it is utf-8 nowadays, but there is no guarantee at all. For Python2, request.query["a"] returned the raw byte string and request.query.a a decoded unicode string. With python3, those raw strings are also unicode, but decoded with latin1, a reversible encoding. That's part of the WSGI spec. Attribute access (e.g. request.query.a) is still the preferred way to get a single properly decoded value. Or request.query.decode() to convert all parameters at once. https://bottlepy.org/docs/dev/tutorial.html#introducing-formsdict

Worked for me.
Replacing
    filename = request.params.get('filename')
    return static_file(filename)

to
    filename = request.params.filename
    return static_file(filename)

fixed the downloading of UTF-8 filename.

@defnull About query parameters, I see request.query has a special type bottle.FormsDict.
What is the benefit of using this over a standard dict? (Out of curiosity, in the history of Bottle development, what made you switch to a specific type?)
Can I safely convert it to a dict? For example, when, inside a route function, we need to call another function with all the query parameters. Or are there cases in which we shouldn't convert request.query.decode() to a dict?
Thanks again for your great lib!

Thanks @Marrin. I now see https://bottlepy.org/docs/dev/api.html#bottle.MultiDict.
For a request query, in which case is it needed to have multiple values per key? I don't see a use case example.

Both queries and forms can have multiple values per key, for example ?foo=bar&foo=baz. Think about a multi-select element in an HTML form. FormsDict is a MultiDict so you can access all values if needed, but it still behaves like a normal single-value dict if you do not care about multiple values. It then just returns the last value per key.
The other reason for FormsDict is already explained above (text vs. unicode). You can 'fix' all the encoding issues in one go with FormsDict.decode(). That returns a new FormsDict but with everything already re-encoded properly. It behaves like a normal dict, so you can just pass that to any libraries that expect dicts. Or you can make a copy (e.g. copy = dict(request.query.decode())).

Thanks @defnull! Oh I thought ?foo=bar&foo=baz was always equivalent to ?foo=baz (the latest only is kept if multiple definitions) in the HTTP URL schemes specifications, but now I discover it's not!
(I don't remember where it is defined "officially", maybe something like https://www.ietf.org/rfc/rfc1808.txt but I couldn't find)


Updating the engine on a work in progress isn't a smooth process

I suggest adding a .gitattributes with some merge driver lines so that
script.js index.html main.css main.js options.js
are excluded from merge, and maybe adding a "how to" in the readme/docs on updating the engine.
And perhaps a bit about gulp and the addons you're using too.

The main.css main.js can be excluded, however the script.js index.html options.js  files have changes that should be merged, I've never done this but I guess there is a way to add priority to some files over others, just not sure if that would work.
The documentation will be updated and I'll add the updating guide as well as the new features, gulp is mainly for the engine development but I'll add documentation of that as well.

After some thoughts, making it through git may not be exactly the best solution, neither through gulp, although they are good solutions, that leaves out many people, specially non-programmers, there probably is a need of a Builder, an application that allows you to create a new VN, handling the download of the files and everything, as well as the update of that VN, pretty much the way the Ren'py launcher works.

A builder seems like an entire project on it's own. I've never used Renpy to know how it works, but if this builder you're talking about lets non-programmers essentially drag and drop a VN (select and manipulate character, action, scenes and fill in speech all from a GUI) frame by frame, that's definitely going to be a fairly long running project.

Yeah, the problem would be the time to work on that. The issue with making the update smooth by git is that only people who use git would benefit from it, I wish it could be something more general.


add fireImmediately argument to WidgetRef.listen

While this argument is present in Ref.listen, somehow it is not available in WidgetRef.listen.
Because of the need to capture the first value, I am using WidgetRef.read in the initState.

I resorted to using
Function? removeListener;
@override
void initState(){
    super.initState()
    removeListener = ref.read(provider).addListener((state){print(state)}, fireImmediately:true);
}

@override
void dispose(){
    super.dispose()
    removeListener?.call()
}

Is this a valid workaround to listen without refreshing the widget while also firing immediately?

The parameter is not supported. You'll have to use initState yes


Use with mermaid.js

Is there a way to use Docute with Mermaid (UML diagrams)?

Hello, any progress on this?
i really need this feature

We ended up including mermaid.js in the index HTML and added this simple plugin (for single graph, but easy enough to render multiple):
docute.init({
  ...
  plugins: [
    function(context) {
      context.afterParse(function(html) {
        // https://stackoverflow.com/a/2575797/3349511
        return html.replace(
          /
([\s\S]*?)<\/div>/g,
          function(match, p1) {
            // https://github.com/knsv/mermaid/issues/506
            var hack = Math.random().toString(36).substring(7).replace(/\d/, "a")
            // https://github.com/knsv/mermaid/blob/a4992963b3873ec7a566ba91b92596d2a360e3b9/src/mermaidAPI.js#L443
            return mermaid.render(hack, p1, function(graph){ });
          }
        );
      });
    }
  ]
});

And then in the markdown we have this:

sequenceDiagram

Client ->> API: Call API
API ->> Client: Respond

its doesn't work for me on v4

Oh OK, we seem to be using v3.

It's available in 4.0.3 now.
Check out the updated docs: https://docute.org/#/guide/writing#using-mermaid

@egoist thanks but its not clear how to use plugins. can you give an example, please?

great. thank you

I published a standalone module for it: https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>

@egoist
graph are all dark
https://codesandbox.io/s/zl5z7o2ml4
https://github.com/knsv/mermaid/issues/736


initial workflow and mini test running

PR checklist

[x] This comment contains a description of changes (with reason)

[x] CHANGELOG.md is updated

[x] If you've fixed a bug or added code that should be tested, add tests!

[ ] Documentation in docs is updated

[ ] If necessary, also make a PR on the nf-core/pangenome branch on the nf-core/test-datasets repo

main.nf: Copied the DSL2 pggb workflow from https://github.com/pangenome/pggb/pull/20 into this one. Currently we are ignoring the nf-core way to handle input parameters, software versions, etc. This will change in the future.

nextflow.config: Set default container to ghcr.io/pangenome/pggb:latest

README.md: Describe how developers can test the current state of the pipeline.

test.config: Point to valid test data and update the default container.

I am opening this as a draft in order to compare with https://github.com/nf-core/pangenome/pull/2/files and to discuss a way forward with @heuermh .

Note pull requests should come from your fork of this repository against the dev branch, rather from branches on nf-core/pangenome itself

Note pull requests should come from your fork of this repository against the dev branch, rather from branches on nf-core/pangenome itself

Good to know. Can we still leave this or shall I redo the PR?

Can we still leave this or shall I redo the PR?

No, it is fine for now, I just went looking for the branch on your repo and couldn't find it 😉

I will do it properly next time :+1:

@Zethson This is ready from my side. Could you please take another look and merge if you are happy? Thanks!


Get last updated/created at from subpackage

you can use "List commits" via github api
https://docs.github.com/en/rest/reference/commits#list-commits
May use npm api for this, might makes more sense to get it here, especially on a monorepo

using npm api to read createdAt and updatedAt


Modal shows behind view in android

in example.
iOS work.

Fix by adding backgroudColor to view (not modal view)


Place navigation controls at the bottom

Issue description:  I have seen that it has been decided to put all control and navigation elements on top of the slider, due to accessibility (#4). This is totally fine, but in my case it is needed to have the navigation underneath. Since I could not find any option to place navigation controls at the bottom, I highly recommend to add an option for the position. This would make the slider more flexible without using the workaround with navContainer where one need to know how many elements are in the slider during markup generation. Also styling this additonal container causes more CSS code.
Demo link/slider setting:
slider = tns({
	container: '.container-class',
	controls: false,
	items: 1,
	nav: true,
	navPos: 'bottom' // not supported yet
});

Tiny-slider version:   2.8.7

added options: navPosition, controlsPosition and autoplayPosition in this commit.
I will update the document later

Document updated

@ganlanyuan 👋 when could we expect a release with this functionality?

released 2.8.8

Very useful. Thanks a lot!

Hi, very nice, is it possible to add the "both" value to have the navs dots twice (above and under) it could be very useful for slides with huge height. Thanks !


Moved the last details to a better place

So far 'Applies a WorkspaceEdit' and 'Execute a command' was located at the end. This commit aligns both with the other workspace details.

Merged by hand since outdated and moved some more parts as well.


Add missing extraEnv to modeling chart Activiti/Activiti#2426

merged https://github.com/Activiti/activiti-cloud-charts/commit/c6523fe20d9ce55170cc17243d9f3518c4408ae5


Issue when using 'address' type

Hello, There seems to be an issue when using 'address' as the type... maybe other types too, but I've experienced the issue only when using the address type.
Essentially, the call to getPlace returns the wrong place sometimes.
For example. If you search for 324 2nd St. Camino, CA the result comes back as something entirely different. The suggestion is correct, but the call to getPlace is off. I suspect that this happens when you enter an address that either google does not know exists, or an address that doesn't exist. I have my suspicions, but I've yet to confirm. I provided a code pen for you to review, and illustrated the response from getPlace. I'm not sure what the right call is here, but It may be nice to compare the place to getPlace() and if they are in a different city etc... handle that. If it is an invalid address, and someone has the time to confirm that this is indeed what's happening, then maybe fire a callback that we can use so that we can handle it how we see fit.
CodePen Example

Hi @charliemitchell,
Thanks for the report and for taking the time to do a research about it.  I am going to take a look this weekend.
Regards,
Daniel.

Hey @charliemitchell,
Sorry for the super super late response. I read it and I was sure I answered it, but not.
If you don't select the suggestion, the name that is going to be sent to google in order to get the full information is the one on the text field, not the one in the suggestion, you have to select the suggestion so the field changes its value and you get the full info.
I was thinking about selecting the first prediction and updating the field with its value, but, I didn't do it because some people needs the name to store 'custom places', like: 'REMOTE', 'IN HOUSE'.
I just update the addon to fix some small details and upgrade libraries, maybe what we can do is add an option like onlyPlacesInGoogle and default the value to the first prediction option when the value in the field doesn't return information from google.
Let me know if:

I correctly understood your problem
You have better options to fix it
If you want to fix it yourself and open a PR.

Best regards,
Daniel.


AiiDAlab launch sometimes fails to communicate with Docker client.

The problem appears with the latest versions of the Docker desktop.
To fix one should go to advanced settings and check the case: “Allow the default Docker socket to be used (requires password)”. This action will create a socket file at /var/run/docker.sock.
The actual function that raises the error is docker.from_env():
import docker
docker.from_env()

The problem should be fixed upstream, but I wanted to report it here.

Seems to be reported: https://github.com/docker/docker-py/issues/3219


Eclipse - Java attribute incorrect color

The color of the Eclipse attribute does not seem correct with what is shown in the preview.

Are there any color updates or something you don't know about?
By the way, in Visual Studio Code, it's a bit more beautiful and stylish.

Transferring to the https://github.com/dracula/eclipse repository.


Deprecate --temperature option

Random displacements at finite temperature will be documented at the next release v2.17. The option --temperature is replaced by --rd-temperature. It is made to display warning when --temperature option is invoked.

Codecov Report
Base: 50.02% // Head: 50.00% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (71a80a7) compared to base (54596b5).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #243      +/-   ##
===========================================
- Coverage    50.02%   50.00%   -0.02%
===========================================
  Files          115      115
  Lines        18308    18315       +7
===========================================
  Hits          9158     9158
- Misses        9150     9157       +7

Impacted Files
Coverage Δ

phonopy/cui/phonopy_argparse.py
0.00% <0.00%> (ø)

phonopy/cui/phonopy_script.py
0.00% <0.00%> (ø)

phonopy/cui/settings.py
9.65% <0.00%> (-0.03%)
:arrow_down:

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

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


Unable to toggle Alarm Enable

Sometime recently the alarm enable toggle stopped working in the Material Skin - it looks like it toggles but it doesn't stick, leave the player setting and come back and it's still on its previous setting. It works on the default skin. I think it stopped working at the same time the toggle UI element changed appearance.

I think this is still broken in 3.3.3. When using the toggle for all alarms, its state does not seem to be saved correctly and opening the player settings again, has the toggle back in its old position. Default skin still allows to toggle all alarms without problems.

This has already been noted in the LMS forums, and is fixed fore next release.

Sorry for the late reply - that sounds perfect and thank you for all your hard work!


Bigquery::QueryData#all is very slow

I tried to run a query on BigQuery using the ruby client (on ruby 2.4.2p198):
bigquery = Google::Cloud::Bigquery.new(project: project_id)

sql = "SELECT * FROM ..."
job = bigquery.query_job(sql, legacy_sql: false)
job.wait_until_done!

data = job.query_results
data.all do |row|
  # do stuff
end

A query with a resultset of 6.5M rows runs for 960 seconds. Performance of other client implementations doesn't seem to suffer that much:

python - 180 seconds
go - 140 seconds

Profiling the following line:
result = RubyProf.profile do
  job.query_results
end

(first 30 lines...)
 Is this the expected behaviour? Or can we somehow avoid the conversion and return the JSON response instead?

Just a bit of clarification:
Bigquery::QueryData#all can be found in the google-cloud-bigquery gem. I opened the ticket in this project because it ends up calling Google::Apis::BigqueryV2::BigqueryService#list_table_data in this project which does all the deserialization, hence causing the performance issue.

You might also want to take a look at https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/master/google-cloud-bigquery

@blowmage Assigning this to you for now. The BigQuery veneer does use this client under the hood, so it's relevant.

All google-cloud-bigquery versions 0.30.0 and later have changes that address this specific issue. The most performant approach using google-api-client is to set skip_deserialization when making RPC calls to return the raw JSON text.
require "google/apis/bigquery_v2"
require "json"

bigquery = Google::Apis::BigqueryV2::BigqueryService.new
json_text = bigquery.list_table_data "my_project_id",
                                     "my_dataset_id",
                                     "my_table_id",
                                     options: { skip_deserialization: true }
json_hash = JSON.parse json_text

We have some unfortunate timing for this issue, as googleapis/google-cloud-ruby#1779 was merged before this issue was opened, but not before version 0.30.0 was released. Because of this, I am inclined to close this issue as resolved. If you are experiencing a similar performance issue, please open a new issue against either googleapis/google-api-ruby-client or googleapis/google-cloud-ruby and reference this issue.


Gradle scripts clean up

In this PR we remove redundant Gradle configuration which is now automated by the bootstrap plugin and update the Gradle version to 5.6.

@armiol, PTAL.


use an api key for india cloudant

@gcapalbo buddy @dimagi/devops

@dannyroberts there's no need to coordinate this merge with any kind of deploy right (it's already been deployed)?

(offlined with danny about this)


Feature request: add onInteraction(swiper) callback

Maybe add onInteractionStart(swiper) and onInteractionEnd(swiper) instead.

How they should work?

Well, it is might related to my other feature request that I started to creating, but not yet posted:
Feature recommendation: add autoplayEnableOnIdle parameter
Autoplay

Parameter
Type
Default
Description

autoplayEnableOnIdle
boolean
true
Set to false and autoplay will not be enabled after user not interacted with swiper for some time (autoplayIdle).

autoplayIdle
number
60 * 1000
Delay (in ms) after the autoplay should enabled again if autoplayEnableOnIdle is set to true.

So maybe there is no need for the requested callback.

Thanks, good idea will think about including it in next releae

Thank you for finding the idea useful! I think I can help you with the implementation if you accepts contribution to the project.
Also I think this new feature can be supported by only one new parameter. Something like this:
Autoplay

Parameter
Type
Default
Description

autoplayReEnable
number
-
Delay (in ms) after auto play should enabled again. If this parameter is not specified, re-enabling auto play will be disabled. Any interaction with the slider re-sets the delay.

Sure, you may contribute the implementation. But please, make sure that you will take care about this feature in consideration with another autoplay parameters. Also, there shouldn't be too much code for this feature :)

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


D3 license

I read this LICENSE of d3.zip, I want to know wheter I can use d3.js in business ?

Here’s a FAQ on open source:
https://opensource.org/faq


errors while loading compiling tensorflow model

System information

Windows 10 64 bit:
tensorflow  (v2.3) installed via pip installer
Python v3.8.3 using Spyder4:
-CUDA: 10.1.:
GPU: Nvidia GeForce GTX 1060 3 GB

Hello,
i am trying to compile a code from YT. In the video it worked. I noticed there are some warnings, which are probably regarded to the cudnn64_7.dll file and also some other missing parts.
Link to the Video and Code: https://pythonprogramming.net/crypto-rnn-model-deep-learning-python-tensorflow-keras/?completed=/balancing-rnn-data-deep-learning-python-tensorflow-keras/
I donwloaded Cuddn and extracted the files, as well as made a PATH systemvariable to this file.
This is the error I get:
**2020-08-29 18:45:48.778870: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-29 18:45:52.432459: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
2020-08-29 18:45:52.566076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 1060 3GB computeCapability: 6.1
coreClock: 1.7085GHz coreCount: 9 deviceMemorySize: 3.00GiB deviceMemoryBandwidth: 178.99GiB/s
2020-08-29 18:45:52.568033: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-29 18:45:52.598770: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-29 18:45:52.635186: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-29 18:45:52.651335: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-29 18:45:52.693526: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-29 18:45:52.707974: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-29 18:45:52.708778: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found
2020-08-29 18:45:52.709174: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1753] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2020-08-29 18:45:52.711705: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-08-29 18:45:52.735435: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x15544f7c200 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-08-29 18:45:52.735933: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-08-29 18:45:52.737008: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-29 18:45:52.737368: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]
2020-08-29 18:45:53.679101: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:45:53.680145: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1391] Profiler found 1 GPUs
2020-08-29 18:45:53.682001: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found
2020-08-29 18:45:53.682796: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti.dll'; dlerror: cupti.dll not found
2020-08-29 18:45:53.683220: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2020-08-29 18:57:01.571888: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:57:01.572185: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
Epoch 1/10
1/1218 [..............................] - ETA: 0s - loss: 0.7607 - accuracy: 0.6094WARNING:tensorflow:From C:\Users\matej\anaconda3\lib\site-packages\tensorflow\python\ops\summary_ops_v2.py:1277: stop (from tensorflow.python.eager.profiler) is deprecated and will be removed after 2020-07-01.
Instructions for updating:
use tf.profiler.experimental.stop instead.
2020-08-29 18:45:48.778870: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-29 18:45:52.432459: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
2020-08-29 18:45:52.566076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 1060 3GB computeCapability: 6.1
coreClock: 1.7085GHz coreCount: 9 deviceMemorySize: 3.00GiB deviceMemoryBandwidth: 178.99GiB/s
2020-08-29 18:45:52.568033: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-29 18:45:52.598770: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-29 18:45:52.635186: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-29 18:45:52.651335: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-29 18:45:52.693526: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-29 18:45:52.707974: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-29 18:45:52.708778: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found
2020-08-29 18:45:52.709174: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1753] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2020-08-29 18:45:52.711705: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-08-29 18:45:52.735435: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x15544f7c200 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-08-29 18:45:52.735933: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-08-29 18:45:52.737008: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-29 18:45:52.737368: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]
2020-08-29 18:45:53.679101: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:45:53.680145: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1391] Profiler found 1 GPUs
2020-08-29 18:45:53.682001: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found
2020-08-29 18:45:53.682796: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti.dll'; dlerror: cupti.dll not found
2020-08-29 18:45:53.683220: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2020-08-29 18:57:01.571888: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:57:01.572185: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2020-08-29 18:57:07.812968: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:57:07.813318: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2/1218 [..............................] - ETA: 4:13 - loss: 0.8007 - accuracy: 0.5312WARNING:tensorflow:Callbacks method on_train_batch_end is slow compared to the batch time (batch time: 0.0698s vs on_train_batch_end time: 0.3459s). Check your callbacks.
15/1218 [..............................] - ETA: 1:22 - loss: 0.8180 - accuracy: 0.4938
2020-08-29 18:45:48.778870: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-29 18:45:52.432459: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
2020-08-29 18:45:52.566076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 1060 3GB computeCapability: 6.1
coreClock: 1.7085GHz coreCount: 9 deviceMemorySize: 3.00GiB deviceMemoryBandwidth: 178.99GiB/s
2020-08-29 18:45:52.568033: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-08-29 18:45:52.598770: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2020-08-29 18:45:52.635186: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2020-08-29 18:45:52.651335: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2020-08-29 18:45:52.693526: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2020-08-29 18:45:52.707974: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2020-08-29 18:45:52.708778: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cudnn64_7.dll'; dlerror: cudnn64_7.dll not found
2020-08-29 18:45:52.709174: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1753] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2020-08-29 18:45:52.711705: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-08-29 18:45:52.735435: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x15544f7c200 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-08-29 18:45:52.735933: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-08-29 18:45:52.737008: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-08-29 18:45:52.737368: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]
2020-08-29 18:45:53.679101: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:45:53.680145: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1391] Profiler found 1 GPUs
2020-08-29 18:45:53.682001: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found
2020-08-29 18:45:53.682796: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti.dll'; dlerror: cupti.dll not found
2020-08-29 18:45:53.683220: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2020-08-29 18:57:01.571888: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:57:01.572185: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2020-08-29 18:57:07.812968: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2020-08-29 18:57:07.813318: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
2020-08-29 18:57:07.943306: I tensorflow/core/profiler/internal/gpu/device_tracer.cc:223]  GpuTracer has collected 0 callback api events and 0 activity events.
2020-08-29 18:57:08.092651: I tensorflow/core/profiler/rpc/client/save_profile.cc:176] Creating directory: logs/.format(NAME)\train\plugins\profile\2020_08_29_16_57_07
2020-08-29 18:57:08.155731: I tensorflow/core/profiler/rpc/client/save_profile.cc:182] Dumped gzipped tool data for trace.json.gz to logs/.format(NAME)\train\plugins\profile\2020_08_29_16_57_07\DESKTOP-KSAFH0A.trace.json.gz
2020-08-29 18:57:08.201015: I tensorflow/core/profiler/rpc/client/save_profile.cc:176] Creating directory: logs/.format(NAME)\train\plugins\profile\2020_08_29_16_57_07
2020-08-29 18:57:08.206548: I tensorflow/core/profiler/rpc/client/save_profile.cc:182] Dumped gzipped tool data for memory_profile.json.gz to logs/.format(NAME)\train\plugins\profile\2020_08_29_16_57_07\DESKTOP-KSAFH0A.memory_profile.json.gz
2020-08-29 18:57:08.220482: I tensorflow/python/profiler/internal/profiler_wrapper.cc:111] Creating directory: logs/.format(NAME)\train\plugins\profile\2020_08_29_16_57_07Dumped tool data for xplane.pb to logs/.format(NAME)\train\plugins\profile\2020_08_29_16_57_07\DESKTOP-KSAFH0A.xplane.pb
Dumped tool data for overview_page.pb to logs/.format(NAME)\train\plugins\profile\2020_08_29_16_57_07\DESKTOP-KSAFH0A.overview_page.pb**
Can somebody help me please??
Thanks in advance and BR!

@matkaa94
Just to verify did you follow the instructions as mentioned in the website.
Please, see tested build configurations from here.Thanks!

@ravikyram
Thanks i had some issues with cupti and cuda, but somehow managed it.


Update test case to increase passrate

Update test case order to avoid scan on push fail
Add sleep time to avoid view scan results fail
Change keyword to wait unitl avoid delete operation fail
Change delete rule and repicate manual confirm to mouse down and up

Coverage remained the same at 64.531% when pulling 7e072aefdc2747e8e59851963748001d0007a23b on sigsbee:caseorder into 0d4aaccd13f20603fffe31583639aea81a0d9103 on vmware:master.


Header image does not display on mobile version of site

Which header image? Did you mean the background image?


Does not work with cluster

I use passport-google. It works fine if only one node process is used.  As soon as the cluster module is used with 2 or more worker processes, sometimes I receive the following error upon authentication:
Failed to verify assertion (message: Invalid association handle)
   at Strategy.authenticate.identifier (/app/node_modules/passport-google/node_modules/passport-openid/lib/passport-openid/strategy.js:143:36)
   at _verifyAssertionData (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:992:12)
   at _verifyAssertionAgainstProvider (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:1123:14)
   at _checkSignatureUsingAssociation (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:1170:14)
   at Object.openid.loadAssociation (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:111:5)
   at _checkSignatureUsingAssociation (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:1162:10)
   at _checkSignature (/app/node_modules/passport-google/node_modules/passport- openid/node_modules/openid/openid.js:1156:5)
   at _verifyAssertionAgainstProvider (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:1119:3)
   at _verifyDiscoveredInformation (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:1084:16)
   at openid.discover (/app/node_modules/passport-google/node_modules/passport-openid/node_modules/openid/openid.js:607:7)

I have tried different session store, including cookie and redis, but the problem persists.  Does anyone succeed in using passport-google in a setup involving multiple node processes?

Passport.js does not work with clusters because it stores the session in the server (bad and not scalable). You don't want to store any session data in the server (keeping it stateless) as then you may scale up your clusters and handle more requests.
Here is a tutorial I wrote on connecting to Google in a much better way.


Create2 json metadata – make metadata more flexible and cheaper for 721 editions

Make onchain metadata more flexible and cheaper for 721 editions

Closing due to inactivity. May re-open with find and replace features but without compression due to L2.


port useful infos from decino's vid

also i suggest you add https://submissions.decino.nl/ to the repository details website

also i suggest you add https://submissions.decino.nl/ to the repository details website

Not something i can, @decino will need to action that


Split voucher and Section 8 question

On the application in Doorway, we want to split the "Do you currently receive section 8 voucher or rental assistance" question in to two.  This will require a new field for the applications table in the backend since section 8 and vouchers are just one field.
https://app.zenhub.com/workspaces/bloom-5dc32d7144bd400001315dac/issues/gh/metrotranscom/doorway/399
Designs: https://www.figma.com/file/7EYcF5hl05GVVeqtkWGmvF/Dwy-Questions?type=design&node-id=2523-4946&mode=design&t=bou6FCndIy4roioA-0
Things to do:

new backend field
Application now has two questions with new language
Application summary
Paper application
CSV export

Question:

should we do this in core as well?

For now do it in doorway and we can pull it back to core in the future if need be

Question currently saved as a boolean value
Will need to make a new one for new question
Will need to backfill in Core
Can do the BE only in Core, or do both depending on the jurisdictions
Would need to consider the number of small FE changes that we'd come across, and csv exports, also be mindful of Detroit experience, paper app, translations

Will need designs, Sarah to submit a notion ticket with a due date to design

@slowbot can you link designs here if you have them?

I have a few questions:

Is there a term of art for the rental assistance portion of the split? Is calling it "rental assistance" correct, or is there some other term we should use for naming fields/page titles/URLs/etc.?
When will we have sign-off on the proposed title and description for each page?
I'm assuming we'll need to get new translations then?

Another question: for the CSV Export, is there any particular naming needed for the two columns? Is "Vouchers" & "Rental Assistance" OK?

@jaredcwhite  --

Rental assistance is the correct term!
We are waiting on that from Doorway now - hopefully very soon!
We will need updated translations -- but we're still in the process of figuring that out with Doorway.
Those titles sound great!

Based on recent comments on #457, we won't be moving forward on this feature.


(docs): Update plain bundle docs

Description

Removes docs/concepts/plain-bundle-spec.md in favor of moving its contents to docs/bundles/plain.md (IMO a more intuitive location to find information on plain bundles)
Replaces the Quickstart section from the old docs/concepts/plain-bundle-spec.md with a section title Building a plain bundle that includes information about how to build a plain bundle for use with all the various source types that rukpak supports

Motivation

Improve the documentation on how to build a plain bundle for use with rukpak

/lgtm


Save Response Examples

This feature was mentioned in Bruno Road map.
I would like to work on it.

The response examples for each request will be stored inside the .bru file itself
This should be possibly once the Bru Lang is live.
Here is how it would look like
http: {
  method: 'GET'
  url: 'https://www.usebruno.com/login'
  headers: {
    Accept: 'application/json'
  }
  body: {
    type: json
    data: '''
      {
        "username": "bruno",
        "password": "secret",
      }
    '''
  }

  @status(200)
  @description('Login successful')
  response: {
    headers: {
      Content-Type: 'application/json'
    }
    data: '''
      {
        "status": true
      }
    '''
  }

  @status(401)
  @description('Login failed')
  response: {
    headers: {
      Content-Type: 'application/json'
    }
    data: '''
      {
        "status": false
      }
    '''
  }
}

okay, I will be working on this feature

I think it should like this we need to have Id for each example and we need to also store request data sent at that time, later on it might change in future.
http: {
  method: 'GET'
  url: 'https://www.usebruno.com/login'
  headers: {
    Accept: 'application/json'
  }
  body: {
    type: json
    data: '''
      {
        "username": "bruno",
        "password": "secret",
      }
    '''
  }

  @id(1)
  @status(200)
  @description('Login successful')
  response: {
    headers: {
      Content-Type: 'application/json'
    }
    data: '''
      {
        "status": true
      }
    '''
  }
request: {
    headers: {
      Content-Type: 'application/json'
    }
    body: '''
      {
        "status": true
      }
    '''
... method, url,parama
  }

  @id(2)
  @status(401)
  @description('Login failed')
  response: {
    headers: {
      Content-Type: 'application/json'
    }
    data: '''
      {
        "status": false
      }
    '''
  }
}
request: {
    headers: {
      Content-Type: 'application/json'
    }
    body: '''
      {
        "status": true
      }
    '''
... method, url,parama
  }

Hi, will this feature might be released anytime soon? We're exploring postman alternatives at the moment and the feature to save examples is one of our top priorities.

+1. Response examples are a hygiene feature

Also, piggy backing off of this idea (using Docs tab for response examples), it would be great to allow including content from other files using markdown-it-include.
What the .bru would look like:
docs {
  Response examples:

  !!!include(example1.md)!!!

  !!!include(example2.md)!!!
}

This looks like a great workaround to have till we get the response examples feature

+1 for this feature. Saving response is handy, as you can't always hit API, especially for POST & PUT. Makes thing easy to debug.

@helloanoop Why does it need to have a different response for each status code stored? Shouldn't a call be reproducable, so that it should have only one possible response? I also think it would make more sense to simply redirect the output to a file with the same name in the same directory, that simply has a different extension.
test.bru could store the response in test.out or whatever.
This could be an opt-in feature, out files could be excluded from version control, for those who wish to inspect the output in a different editor, but not have it be part of the repo. On top of that it could work well for the issue linked by @tsriram if output could also be suppressed in Bruno itself.

@helloanoop @akshat-khosya, I'd like to pick this up if no one is already working on it.

This is a fairly complex feature considering that the bru lang would need updates.
We are considering to move to yaml as a standard to makes things easier.
This will take more time. We will revisit this and setout an approach once we release initial support for yaml storage in Bruno

Is it possible to script saveAs in the PostResponse so it saves the pdf file returned from my GET response locally?  Trying to automate a collection to download PDF files from a response automatically without having to click the download button.

This is a very important feature to implement, especially when managing costly APIs, keeping the examples of last requests in the tool is fundamental...


chore: disable building VHD for Windows 2019 with docker

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
disable building VHD for Windows 2019 with docker
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
2538

Relevant Lines:
4098

💛  - Coveralls


facebook - keyError(0,)

$ youtube-dl --verbose --proxy '' https://www.facebook.com/video.php?v=902380903182341
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--proxy', u'', u'https://www.facebook.com/video.php?v=902380903182341']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.10.18
[debug] Python version 2.7.10 - CYGWIN_NT-6.1-WOW-2.2.1-0.289-5-3-i686-32bit
[debug] exe versions: none
[debug] Proxy map: {}
[facebook]<PHONE_NUMBER>82341: Downloading webpage
ERROR: An extractor error has occured. (caused by KeyError(0,)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 291, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/facebook.py", line 145, in _real_extract
video_data = params['video_data'][0]
KeyError: 0
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 297, in extract
raise ExtractorError('An extractor error has occured.', cause=e)
ExtractorError: An extractor error has occured. (caused by KeyError(0,)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

It's a known issue and already fixed. Please wait for the next version of youtube-dl.


Lack of documentation

Every method and type needs clear documentation.
Each method should include

One sentence summary.
Example Usage

All other information should be clear from the method signature.

Each methods examples should be used for doc tests


[Bug]: Intermittently Seeing an error when we do a refresh or while opening the git connected app

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I open the git connected app or do an operation/refresh the page within the app, I see the Error "Cannot read properties of undefined" and "There was an unexpected error" Toasts
Steps To Reproduce

Open the git connected app on the promotion DP
Note the error toast pops up

Sometimes seeing this on Refreshing a page on this app also,
Issue is intermittently reproducible
Noticed while opening the application from the home page, and while refreshing the application from an edit ds page.

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Cloud

@btsgh does this happen for non-git-connected apps too?

@bharath31 - this was particular to that DP we were doing regression on. If I am able to see this issue again, will update with my observations

@btsgh closing this since there is no update here. feel free to re-open whenever you're able to reproduce this on production


Use OpenPype event system for 3dsMax Callback

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
Why isn't 3dsmax using the OpenPype event system like the other hosts? Let's create an issue to track that and fix that in a separate PR. Each host should try and emit the events in a DCC agnostic way so that global OpenPype tooling could hook into it, like scene saves, etc.
Originally posted by @BigRoy in https://github.com/ynput/OpenPype/pull/5499#discussion_r1315901738
Expected Behavior:

Using Openpype event system for the callbacks in 3dsmax.
Can take references from the Maya hosts.

Version
3.16.5
What platform you are running OpenPype on?
Windows
Steps To Reproduce:
n/a
Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
No response
[cuID:OP-6769]

For more details on Max's event system see these documentation pages:

General Event Callback Mechanism
Registering Python Callbacks
File Open Save Callbacks - File Notifications
File Reset ("new file"?) Callbacks - System Notification

As such it looks like that on host install we should be able to do this in OpenPype:
pseudocode
from functools import partial
from openpype.lib import (
    register_event_callback,
    emit_event
)

import pymxs
rt = pymxs.runtime

def emit_event_notification_param(event):
    notification = rt.callbacks.notificationParam()
    emit_event(event, {"notificationParam": notification})

def register_callbacks():

    id = rt.Name("openpype_callbacks")

    # init
    rt.callbacks.addScript(
        rt.Name('postSystemStartup'),
        partial(emit_event_notification_param, "init"),
        id=id
    )

    # open
    # todo: we might want filePreOpenProcess and filePostOpenProcess?
    rt.callbacks.addScript(
        rt.Name('filePreOpen'),
        partial(emit_event_notification_param, "before.open"),
        id=id
    )
    rt.callbacks.addScript(
        rt.Name('filePostOpen'),
        partial(emit_event_notification_param, "open"),
        id=id
    )

    # save
    # todo: we might want filePreSaveProcess and filePostSaveProcess?
    rt.callbacks.addScript(
        rt.Name('filePreSave'),
        partial(emit_event_notification_param, "save"),
        id=id
    )
    rt.callbacks.addScript(
        rt.Name('filePostSave'),
        partial(emit_event_notification_param, "after.save"),
        id=id
    )

    # new
    # todo: not entirely sure whether systemPostNew means "new file"
    rt.callbacks.addScript(
        rt.Name('systemPostNew'),
        partial(emit_event_notification_param, "new"),
        id=id
    )

Then that would roughly mimic what Maya does by emitting OpenPype events:

"init" dcc startup initialization finished
"save" workfile saved
"open" workfile opened
"new" new workfile started

Which is implemented in Maya here and then install also install callbacks to those here.


Babel 7 Cleanup

Response to #13 comments from after it was merged

Thanks man, really appreciate it!

Sure thing!

published in v2.1.0!


Regression with v14.1.0 regarding strikethrough text

Hi
Thank you for maintining markdown-it!
I discovered a minor regression with the latest published version:
$ node -v
v18.19.1

$ npm i<EMAIL_ADDRESS>
$ node -e 'console.log(require("markdown-it")().render("~~⚀~~one"))'

<s>⚀</s>one

$ npm i<EMAIL_ADDRESS>
$ node -e 'console.log(require("markdown-it")().render("~~⚀~~one"))'

~~⚀~~one

This bug only appears when using non-ASCII characters: it won't happen if ⚀ is replaced by 1 in the sample code above.

This is so much easier to test different versions with:
$ echo "import md from<EMAIL_ADDRESS>console.log(md().render('~~⚀~~one'));" | deno run -

Thanks for the report. But I think that it is not a bug, but intentional change in the spec: https://github.com/markdown-it/markdown-it/pull/1009 (see point 3)
⚀ is Other Symbol (So), and the entire S class is now treated as punctuation which it wasn't before (so now behavior is the same as with ~~&~~one for example).

Thank you for the explanation @rlidwka
This was annoying in my case, as it "broke" some PDF rendering that was based on ~~⚀~~ strings being converted to <s> HTML tags.
I'll find a workaround.
AFAIC, no problem to treat this as a non-bug.

@Lucas-C markdown does not allow express "anything user can imagine without restrictions".  Our point is - "You can tweak the parser to non-standard behavior, but we don't respond for that." IMHO, if you need old behaviour for ~~, it should be possible to pick old code, and substitute default ~~ rule.


I try to inspect problem with DjDT and i see that there are 5790 SQL Queries to load this page and from them 5780 duplicates. I know u cant use select_related or prefetch_related like in Django to eliminate this problem but i think its important to fix it cause DDS with many scrapers is unusable atm.

Hi @bezkos, what do you mean with "change one of them" respectively what are you changing/doing for the detail pages to load so slow?

In scrapers page, i have around 100 scrapers. I need to change xpath for example in 1 of them then it needs around 35 sec to load this page with 5790 SQL Queries and 5780 duplicates.
This is a part of the results from Debug toolbar:
SELECT "dynamic_scraper_scrapedobjclass"."id", "dynamic_scraper_scrapedobjclass"."name", "dynamic_scraper_scrapedobjclass"."scraper_scheduler_conf", "dynamic_scraper_scrapedobjclass"."checker_scheduler_conf", "dynamic_scraper_scrapedobjclass"."comments" FROM "dynamic_scraper_scrapedobjclass" WHERE "dynamic_scraper_scrapedobjclass"."id" = 104
Duplicated 5758 times.
Connection: default
C:\venv27\lib\site-packages\dynamic_scraper/models.py in str(203)
return self.name + " (" + self.scraped_obj_class.name + ")"
18 	{% trans 'Home' %}
19 	› {{ opts.app_config.verbose_name }}
20 	› {% if has_change_permission %}{{ opts.verbose_name_plural|capfirst }}{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %}
21 	› {% if add %}{% blocktrans with name=opts.verbose_name %}Add {{ name }}{% endblocktrans %}{% else %}{{ original|truncatewords:"18" }}{% endif %}
22
23 	{% endblock %}
24 	{% endif %}
25
C:\venv27\lib\site-packages\django\contrib\admin\templates\admin\change_form.html
SELECT "dynamic_scraper_scrapedobjclass"."id", "dynamic_scraper_scrapedobjclass"."name", "dynamic_scraper_scrapedobjclass"."scraper_scheduler_conf", "dynamic_scraper_scrapedobjclass"."checker_scheduler_conf", "dynamic_scraper_scrapedobjclass"."comments" FROM "dynamic_scraper_scrapedobjclass" WHERE "dynamic_scraper_scrapedobjclass"."id" = 89
Duplicated 5758 times.
Connection: default
C:\venv27\lib\site-packages\dynamic_scraper/models.py in str(55)
return self.name + " (" + str(self.obj_class) + ")"
SELECT "dynamic_scraper_scrapedobjclass"."id", "dynamic_scraper_scrapedobjclass"."name", "dynamic_scraper_scrapedobjclass"."scraper_scheduler_conf", "dynamic_scraper_scrapedobjclass"."checker_scheduler_conf", "dynamic_scraper_scrapedobjclass"."comments" FROM "dynamic_scraper_scrapedobjclass" WHERE "dynamic_scraper_scrapedobjclass"."id" = 27
Duplicated 5758 times.
Connection: default
C:\venv27\lib\site-packages\dynamic_scraper/models.py in str(55)
return self.name + " (" + str(self.obj_class) + ")"
There are 5758 duplicates for each id............

Ah, I thought you meant the detail pages of the websites you are going to scrape.
With detail page do you mean the edit form page of a scraper in the admin? or do you mean the overview site with all the scrapers?
Have you got one Scraped Obj Class for every scraper? And how many Scraped Obj Classes have you got?

Can you make a test and edit the C:\venv27\lib\site-packages\dynamic_scraper/models.py file and remove the part of the returned name being in parantheses, both in line 55 and line 203?
So just leave return self.name.

Yes i did the test and it fixes the problem.
Load time is 1.8 sec from 35sec.
Queries are 29(20 duplicates) from 5790.
SELECT "dynamic_scraper_scrapedobjattr"."id", "dynamic_scraper_scrapedobjattr"."name", "dynamic_scraper_scrapedobjattr"."order", "dynamic_scraper_scrapedobjattr"."obj_class_id", "dynamic_scraper_scrapedobjattr"."attr_type", "dynamic_scraper_scrapedobjattr"."id_field", "dynamic_scraper_scrapedobjattr"."save_to_db" FROM "dynamic_scraper_scrapedobjattr" ORDER BY "dynamic_scraper_scrapedobjattr"."order" ASC
Duplicated 11 times.
Connection: default
I have around 100 obj classes and 110 scrappers.

This was actually trickier than I though, experimented with 2-3 different things, all not completely satisfying (thought I could quickly fix this since I'm doing a minor release today anyhow).
I actually need the complete names otherwise users get confused when selecting the scraped object attributes for the scraper, so simplify the naming is not an option. I also experimented with simple caching of the name which also didn't work.
Limit the choices to only the attributes of the corresponding scraped object class is also trickier than one might think, since the object class is not determined yet when adding a new scraper or adding new scraper elems. I have now added such a limitation, but this works only for already saved scrapers for already added attributes.
Let me know if this improves the performance situation for you.
Greetings
Holger

Ok @holgerd77 i found a way to reduce 75% time and queries.
class ScraperElemInline(admin.TabularInline):
model = ScraperElem
extra = 3
def formfield_for_foreignkey(self, db_field, request=None, **kwargs):
    if db_field.name == 'scraped_obj_attr':
        kwargs['queryset'] = ScrapedObjAttr.objects.select_related('obj_class').all()
    return super(ScraperElemInline, self).formfield_for_foreignkey(db_field, request, **kwargs)

And my last update with no duplicates and <1 sec load (from 35secs)
In model.py
class WithObJClass(models.Manager):
def get_queryset(self):
return super(WithObJClass, self).get_queryset().select_related('obj_class')
@python_2_unicode_compatible
class ScrapedObjAttr(models.Model):
ATTR_TYPE_CHOICES = (
('S', 'STANDARD'),
('T', 'STANDARD (UPDATE)'),
('B', 'BASE'),
('U', 'DETAIL_PAGE_URL'),
('I', 'IMAGE'),
)
name = models.CharField(max_length=200)
order = models.IntegerField(default=100)
obj_class = models.ForeignKey(ScrapedObjClass)
attr_type = models.CharField(max_length=1, choices=ATTR_TYPE_CHOICES)
id_field = models.BooleanField(default=False)
save_to_db = models.BooleanField(default=True)
objects = WithObJClass()
def __str__(self):
    return self.name + " (" + str(self.obj_class.name) + ")"

class Meta(object):
    ordering = ['order',]


Negative fuzz counts if test fails

Failing test reports negative count of fuzz simplification runs:

To reproduce, simply raise ProtostarException from a hint in a fuzz test.

🤦


Fix the name of log dir in NNCF

Quantization config has no 'params'.

@AlexKoff88 @vshampor @ljaljushkin


can you add it to http://packagist.org ？

Then it will more easier.

Now,you can install it by composer,thank you for your suggestion


fix: changed duration_percentage to execution_duration_percentage

:tada: This PR is included in version 2.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Prevent Internet Explorer security settings from crashing FileSender

Internet Explorer may throw an exception when trying to use localStorage while it is forbidden for security reasons.  Returning false will keep FileSender running, just disabling features that Internet Explorer won't let us use.

wtf GitHub..


UI: Trivial Upload

This PR adds a ton of infrastructure and wiring-up of various things but not much functionality.

@jbeezley this is just UI.  I'm going to merge it, but if you'd like to start doing more formal reviews before merge in the future let me know.  I don't think it's necessary at this stage.


[Embeddingapi] Add tests for WebViewDatabase.clearFormData()

Impacted tests(approved): new 2, update 0, delete 0
Unit test platform: Crosswalk Project for Android 24.53.593.0
Unit test result summary: pass 2, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/CTS-1919

waiting for new build for UT

@Honry PTAL

LGTM


Gore doesn't report panics from other go routines

Starting a routine that panics immediately continues with no indication.
$ gore
gore version 0.2.5  :help for help
gore> go func(){panic("some panic")}()
gore>

Or indeed invoking the panic directly.
$ gore
gore version 0.2.5  :help for help
gore> go panic("some panic")
gore>

The playground (or a normal go program) will halt execution in this event example.
Exiting would clearly not be an ideal solution for a REPL, but some kind of notification to the user that a panic has occurred would be beneficial.

Your example is same as following code(test.go). go run test.go may not report anything because main go routine exits before another goroutine running.
package main

func main() {
        go panic("some panic")
}

gore report panic of other go routine if main go routine wait until other go routine panics.
% gore
gore version 0.2.5  :help for help
gore> :import time
gore> go panic("some panic"); time.Sleep(time.Second)
panic: some panic

goroutine 5 [running]:
panic(0x49f060, 0xc82000a2e0)
	/opt/go/src/runtime/panic.go:464 +0x3e6
created by main.main
	/tmp/037141220/gore_session.go:13 +0x7b
exit status 2
error: exit status 1
exit status 1


slide room in/out

duplicate of #112 and since there is more information in that issue I will close this one


introducing: days-to-publish

@hilmarf Please, could you let us know if this change is live already?

@hilmarf
Ok, thanks! Just to be sure, on https://svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/EUR/date I see the dates 2022-01-27 - 2022-02-06
So the last 11 days, without today. So are the last 11 days considered, or?
FYI @vaubaehn

good catch!
yeah, the HF was deployed with wrong environment setting :-(
now it has been corrected and https://svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/EUR/date shows only last 10 days

@hilmarf
Okay, nice, so only the last 10 days are taken into account now. Thank you!

good catch!
yeah, the HF was deployed with wrong environment setting :-(
now it has been corrected and https://svc90.main.px.t-online.de/version/v1/diagnosis-keys/country/EUR/date shows only last 10 days

confirmed :wink Thanks for the quick fix.


[Enhance] Add auto scale lr for maskformer_swin_l

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

@chhluo Please make sure all configurations are enabled or not.

@hhaAndroid All config files are added with auto_scale_lr which is disabled.


googlechat: add missing statds/dogstastd metrics

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area outputs
What this PR does / why we need it:
googlechat: add missing statds/dogstastd metrics
Which issue(s) this PR fixes:

Fixes partially https://github.com/falcosecurity/falcosidekick/issues/144
Special notes for your reviewer:
/assign @Issif

@cpanato: The label(s) area/outputs cannot be applied, because the repository doesn't have them

In response to this:

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area outputs
What this PR does / why we need it:
googlechat: add missing statds/dogstastd metrics
Which issue(s) this PR fixes:
Fixes partially https://github.com/falcosecurity/falcosidekick/issues/144
Special notes for your reviewer:
/assign @Issif

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Needs approval from an approver in each of these files:

OWNERS

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

LGTM label has been added.  Git tree hash: acb6318fc9e8fc6e173e82949282a7811dd378b0

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

Needs approval from an approver in each of these files:

OWNERS [nibalizer]

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