Will it be possible to access ethers.providers.Web3Provider of the connected wallet ? (V2)

We use other libraries which work with ethers.providers.Web3Provider and not ethers.providers.JsonRpcSigner of useSigner()
It would be great if the Web3Provider of the connected wallet can be exposed.
Similar to the useProvider() hook in web3-react.

Yep, working on this. Should be available as a hook in next release that will go up either today or on Monday.

useProvider and useWebsocketProvider were added in alpha.5
https://github.com/WalletConnect/web3modal/tree/V2/packages/react#useprovider-example
https://github.com/WalletConnect/web3modal/tree/V2/packages/react#usewebsocketprovider-example
Make sure to look over readme as there are some changes in implementation

Thank you @IljaDaderko .
Is there a way to use ethers.providers.Web3Provider though ? (https://docs.ethers.io/v5/api/providers/other/#Web3Provider) or only ethers.providers.JsonRpcSigner is available from useSigner() for signing a tx ?
useProvider is returning ethers.providers.BaseProvider & { chains?: Chain[] }

@paouvrard I see, I will explore useWeb3Modal hook for next alpha, either by collaborating with guys from wagmi or we'll expose it as custom one 👍

Try passing useSigner({chainId: 5}) maybe. I made some changes locally where it is no longer needed, so shouldn't be an issue in next alpha.

Got it, yea that worked, but the dApp is handling multiple chains so the same signer is used after switchNetwork. I'll wait for the next alpha.
Not sure if it's expected, but the signer data (const { data, refetch } = useSigner()) only becomes available after refetch is called on load.

@paouvrard Could you try alpha.6. Updated wagmi dependency and useSigner no longer requires { chainId: 5 }, I tested this use case await provider.getNetwork() and got expected result.
As for const { data, refetch } = useSigner() issue with data being available only after refetch, I haven't ran into this issue. data will be undefined initially while it is being fetched, but will resolve to signer eventually. You could add isLoading and error to return of this hook and wait until everything gets resolved before accessing data.

@paouvrard ah I see what you mean, just replicated this. I think it's basically difference in web3modal and wagmi (we use undefined for initial values, they use null) hence you see those diff values. But you still don't need to call re-fetch, you could just use something like
  const onGetNetwork = useCallback(async () => {
    const network = await data?.provider?.getNetwork()
    console.log('network', network)
  }, [data])

  useEffect(() => {
    if (data) onGetNetwork()
  }, [data])

But I'll add a check for null value in next alpha, to ensure it only renders 2 times (undefined -> fetchedData)

@IljaDaderko In my case, data will always remain null unless refetch() is called. Looks similar to this issue: https://github.com/WalletConnect/web3modal/issues/604

@IljaDaderko There is a similar issue with useSigner when connecting a wallet for the 1st time, the data remains undefined and isLoading is always true before and after the wallet is connected.
const { data, isLoading, error, refetch } = useSigner()
After switching accounts in MetaMask or reloading the page (with refetch) the data will become JsonRpcSigner and isLoading remains true.
Calling refetch after a wallet is newly connected didn't get the data.
I'd expect the new signer data to become available right after the wallet is connected.

Hey @paouvrard so first things first, latest beta should solve the issue with null we discussed before. As for refetch related one, I'm unable to replicate it. Here is a usage example for useSigner
https://github.com/WalletConnect/web3modal/blob/V2/examples/react/src/sections/UseSigner.tsx
That's used in online example https://web3modal.pages.dev/
Is there anything you can see about example implementation that is different from how you are doing things that I could try to replicate?

Thank you @IljaDaderko, null is resolved.
I think the difference comes from using useSigner inside a react context provider.
I've added this check in several components:
const { data, isLoading, error } = useSigner()
useEffect(() => {
  console.log(data, isLoading, error)
}, [data, isLoading, error])

This is the app structure.
export default function App() {
  return (
    <>
      <ContextProvider1>
        <ContextProvider2>
           {...}
        </ContextProvider2>
      </ContextProvider1>
      <Web3Modal config={modalConfig} />
    </>
  )
}

When used from ContextProvider1: data loaded correctly but isLoading remains true.
When used from ContextProvider2 the data remains undefined as described above.

@paouvrard found the issue with loading never updating, will be fixed in next alpha.

Hi @IljaDaderko, checking in regarding the signer issues.
I’m continuing to investigate the network switching with beta.3 and running the example locally, but wasn’t able to reproduce fully. We are on React 17.0.2 and Next 12.1.0, is there a min version for web3Modal ?
In the example I did confirm that after switching network, the signer is not updated unless refetch is called after the network changed.
Using the signer after a network change throws this error:
Error: underlying network changed (event="changed", network={"name":"matic","chainId":137,"ensAddress":null}, detectedNetwork={"chainId":1313161555,"name":"unknown"}, code=NETWORK_ERROR, version=providers/5.7.2)

Thank you @IljaDaderko all above issues are resolved with Beta.5 👍

Hi @kwebster2  yea the issue was resolved in Beta.5, I tested again with Beta.9 and that's working well.
Make sure to fix the dependency versions like here (I had similar issues with wagmi on the wrong version).


Adam branch

Types of changes

[ ] Bugfix (change which fixes an issue)
[ ] New feature (change which adds functionality)
[ ] Refactor (change which changes the codebase without affecting its external behavior)
[ ] Non-breaking change (fix or feature that would causes existing functionality to work as expected)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Purpose

Approach

Resources

Screenshot(s)

Updated styling and Code Mirror 2 options and basic error handling.


[REQ] Arrow heads for connection lines

The standard followed in diagrams published by AWS over the years, shows the connection lines with arrowheads. Is this something that will be potentially supported in the future? The arrowheads really add context and meaning to the diagrams by indicating the direction of the flow.
thanks!

Thank you for your feedback!
Yes! I'm working now so please wait for a while.

We have added #27 following two arrow types, three widths, and custom length options. Doc and example should help. We believe these additions will meet most of your requirements, but if you have any other requests, please feel free to create an issue and let us know!

Thank you! This looks awesome!


Share button not working in Firefox

Throws TypeError with navigator.canShare is not a function which is true since this API is not supported in Firefox
https://github.com/Xe/site/blob/a8f9a3c19d3b2f5121efeb7802bd33bf00ea11d7/lume/src/_includes/blog.njk#L44

fixed in #726

fixed in #733


Roll Engine from 07abec24db38 to dac31e3a50fb (1 revision)

https://github.com/flutter/engine/compare/07abec24db38...dac31e3a50fb
2021-05-20<EMAIL_ADDRESS>Roll Skia from 8988cb464391 to 9c7e04cd6f37 (4 revisions) (flutter/engine#26274)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


fix: Allow interface_type to be specified in network_interfaces

Description
Support for "interface_type" in network_interfaces.
Motivation and Context
This is needed to use Amazon EFA interfaces and is restoring functionality added in v17.21.0+ (#1439 ) which is missing from both EKS managed and self managed node groups. Note, the aws API does not support passing security groups from both network_interfaces and vpc_security_group_ids at the same time.
Breaking Changes
N/A
How Has This Been Tested?

[ ] I have tested and validated these changes using one or more of the provided examples/* projects

This change is currently being used to deploy JarviceXE (https://github.com/nimbix/jarvice-helm/tree/tf-aws-eks-module-18-eks-managed) to enable support for workloads that utilize Amazon EFA interface. JarviceXE was previously deployed using v17.20.0 which included interface_type support from #1439

Closes #1880

This issue has been resolved in version 18.18.0 :tada:


Commit adding validation in SignInform

goods. Standby muna to para maincorporate ko yung iba pang kailangang merged files dito


Added components styles to docusaurus

To produce the CSS in the components, just run,
npx tailwindcss -o build.css --minify

Now not necessary


feat: Enable proxy: Pipeliner

Closes #
Testing
GET
URL: localhost:4444/v2/some-api-call
Postman screenshot (must show the request URL, the response status code & body clearly)
POST
URL: localhost:4444/v2/some-api-call
Postman screenshot (must show the request URL, the response status code & body clearly)
<Please add the same information for all other methods available - PUT, PATCH, DELETE, etc>
Invalid requests
Wrong verb applied, invalid path.
Pagination
Please add screenshots that show successful pagination using the connector.
Successful console operation (operation & events)
Failed console operation (operation & events)
Raw token response

#803
#802  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Cobalt0s and the rest of your teammates on  Graphite


[Model Request] TinyLlama

⚙  Request for TinyLlama-1.1B

https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0
Uses the same architecture and tokenizer as Llama2

Additional context
This would be extremely fast and open the opportunity for deployment on devices with constrained compute resources

Tinyllama is supported already, you could compile it as what you do as llama-2


Extra entries

Hello,
I am using
{'extra':[{'title': 'Service Manager', 'link': 'https://<IP_ADDRESS>:34023/', 'icon': 'asterisk', 'level': '0,1,2,3,4'}, {'title': 'HMI', 'link': 'http://<IP_ADDRESS>/', 'icon': 'server',  'level': '0,1,2,3,4'}]} in extra entries. Is same way to open in right part webmin ? This configuration open new tab in browser ?

Hello,
You cannot open anything in the right content window, unless it's a Webmin module/page.
That said, if <IP_ADDRESS>:34023 is a standalone app, then it's expected to have it opened in the new tab.

No, there is no real "right side". It isn't a frame. You cannot open anything in it. Only Webmin modules. However, technically (and theoretically) speaking you could probably open other programs using Webmin UI lib in the "right side", but I don't think you should try to do it.

ok, thx.


Unable to open the Missions menu

Describe the Bug

Reproduction Steps
1.Open the Missions menu
Expected Result
No response
Additional Context, Mod version and loader
Forge 47.3.5
missions-forge-0.3.6

can you send latest.log

latest.log

can you send latest.log


Issue #92 Using Exception around each call to determine success

This uses try/catch to handle issues from the requests made. AggregateException needs to be handle to pick the known ones  which complicate the codebase, as this is required by the async pattern if not using the result messages.

@anjannath do you have 'time' to have a quick glance at this? I only tested a quick start, delete and status. It should be OK, but when you run in debug, you HAVE to disable the 'unhandled exceptions' else you will be flooded with CrcApiException and AggregateExceptions in the getResponse. This can't be easily solved as this the .Result being read from the task.

FYI, already had Start throw a TaskCancelledException once by timing out. This means that the AggregateException in the case of start also needs to check and handle the TaskCancelled/Timeout by 'ignoring' it. Or we set the timeout value of this request extremely long? :-/ Would rather detect this Started state by the StatusChanged event, but that would also mean that none of the request should actually provide their own notifications as you do not want to see duplicates.

Set and Unset config still use an Error to determine if the settings were applied or not. This needs a backend change

One question, why is there an AggregateException only in some cases and not all?

Some refactoring can be done to get rid of the try/catch pattern:
            try
            {
                await Task.Run(Func<T>);
                TrayIcon.NotifyInfo(@"Task ended successfully");
            }
            catch (AggregateException ae)
            {
                ae.Handle((x) =>
                {
                    if (x is APIException) // This we know how to handle.
                    {
                        TrayIcon.NotifyError(
$@"Error returned.
{x.Message}");
                        return true;
                    }

                    if (x is TaskCanceledException)
                    {
                        TrayIcon.NotifyInfo(@"Task canceled");
                        return true;
                    }

                    return false;

                });
            }

One question, why is there an AggregateException only in some cases and not all?

Since not in all case this works yet... Some of the return values are interpreted, while others rely on the 500 status. In a refactoring procesd for this.

Added a big refactor, but unable to test properly now. I do not get any notifications at the moment ... feels like a glitch in the OS.

I get an unhandled exception at the end of Start, this is the release build.
An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Exception has been thrown by the target of an invocation.

Will check ... not checking for nulls anymore, but perhaps this is actually caused by the timeout/canceled call (which explains the HttpOverStream)


ArrayDistinct does not correctly handle varchar/varbinary

Bug description
Currently, ArrayDistinct UDF is registered to support varchar/varbinary as input types.
However, ArrayDistinct filters unique values by employing a F14FastSet, which cannot correctly hash "deep" values such as varchar/varbinary, it can only handle POD values.
System information
n/a
Relevant logs
No response

cc @mbasmanova who originally implemented this function.

@shiyu-bytedance F14FastSet should work fine with StringViews. Do you have a repro that illustrates the problem?


iOS - setUserProperty promise always resolved, even in Airplane mode

In Ionic 3 with Angular 5 I do the following:
this.firebase.setUserProperty(property, value)
  .then(_ => alert('resolved'))
  .catch(err => alert(err))

It shows alert with error in Chrome when there is no connection to Firebase.
It resolves promise and shows 'resolved' alert in iOS when there is no connection to Firebase (Airplane mode).
Should reject promise if no connection.

and when it resolves it always resolves to null so there is no way to understand if user was subscribed or not

@romanovma Since there are no full time developers on the project, the project relies on the community to submit code changes to fix/add functionality.  If you would like to see this issue fixed, please check out the Contribution Guidelines to find out how easy it is to submit a fix.


Twitter share character limit issue, Unable to post tweet.

Steps to reproduce

Use appinio_social_share: ^0.3.1
Pass some text to appinioSocialShare.iOS.shareToTwitter().
Post icon is disabled and twitter character limit is showing in negative.

Expected results
I should be able to post tweet as my character limit is under 280 characters.
Actual results
I am not able to post tweet.
Code sample
Code sample
Future<void> shareToTwitter({
  required String message,
  String imageUrl = '',
}) async {
  AppinioSocialShare appinioSocialShare = AppinioSocialShare();

  if (imageUrl.isNotEmpty) {
    var rng = Random();
    Directory tempDir = await getTemporaryDirectory();
    String tempPath = tempDir.path;
    File file = File('$tempPath${rng.nextInt(100)}.png');

    http.Response response = await http.get(Uri.parse(imageUrl));
    await file.writeAsBytes(response.bodyBytes);

    await appinioSocialShare.iOS.shareToTwitter(
      message,
      file.path,
    );
  } else {
    await appinioSocialShare.iOS.shareToTwitter(message, '');
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
N/A

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.4.1 23E224 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.89.0)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

appinio_social_share is a 3rd package, you should file an issue to its developers for better support. Closing as this is not a Flutter framework bug.


Workspace - not working in most Android browsers - Galaxy Note 10.1

Editor and LO both work adequately in all browsers below but Workspace doesnt load which is a deal breaker since you can't then get to the editor easily.
Chrome - All works fine
Firefox

Dolphin

Android/Samsung default browser

Opera - seems to work fine

Opera Mini

This is also a problem in Safari on my iPad 3. I think Ron was having the same problems too although I think it was possibly working on newer iPads (it was discussed on Trello). Editor & LO work fine but you have to manually enter the URL to them as Workspace project list is blank.
Does the create button work for you in these browsers @JohnSmith-LT ? It doesn't do anything on my iPad.

Ignore my comment... just seen you've also opened an issue about the iPad stuff

These also seem to now be resolved for me... Do you still have a problem on your iPad @FayCross ?

It still doesn't work on my iPad.

I tested it on my android phone and the iPad.
On my android phone the only browser that didn't work was Opera mini (of John's list). The others work well.
On the iPad it works on Safari, Puffin, Chrome, Dolphin, Opera mini

Is this still an issue and even if it is perhaps it's not an issue that should delay version 3 release?

No, this should not delay the release: Ron and Inge have both reported that it works mostly fine.

This is resolved for me now in all but one of those browsers (can't remember which). AKAIK the only browser still having a problem is Safari or iPad3, iPad 2 and 4 work fine. I don't have an iPad3 to test on but I think Fay has opened another issue for this so i'm just gonna close this...


Negative Transfer amount should raise exception

The Stripe API only allows Stripe::Transfer.create to succeed if the amount passed in is a positive integer, passing in anything else raises an exception. The mock currently let's a negative transfer value slide by.  I'm happy to submit a PR if people would like to see this implemented.

@mwgalloway please, check attached commit. Looks like the mock doesn't allow negative amount.


Generate dummy ServiceWorker in development mode to avoid misleading errors

Steps to Reproduce
Hello. I want to add web support to my existing project. To do this I executed flutter create . which created web dir. Then I just executed flutter run -d chrome and error occured.
Expected results: Flutter Web work
Actual results: Flutter Web doesn't work with error in browser console:
Uncaught (in promise) TypeError: Failed to register a ServiceWorker for scope with script flutter_service_worker.js: A bad HTTP response code (404) was received when fetching the script.

Logs
flutter run -d chrome --verbose
[  +24 ms] executing: [/Users/sanekyy/Programs/flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +33 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 5e1000cd8540a6305df5a999d4dcb0b59fe3c66a
[        ] executing: [/Users/sanekyy/Programs/flutter/] git describe --match v*.*.*
--first-parent --long --tags
[  +10 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.4-0-g5e1000cd8
[   +6 ms] executing: [/Users/sanekyy/Programs/flutter/] git rev-parse --abbrev-ref --symbolic
@{u}
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/dev
[        ] executing: [/Users/sanekyy/Programs/flutter/] git ls-remote --get-url origin
[   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +42 ms] executing: [/Users/sanekyy/Programs/flutter/] git rev-parse --abbrev-ref HEAD
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] dev
[   +4 ms] executing: sw_vers -productName
[  +12 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +13 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.2
[        ] executing: sw_vers -buildVersion
[  +14 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19C57
[  +25 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +26 ms] executing: /Users/sanekyy/Library/Android/sdk/platform-tools/adb devices -l
[   +6 ms] Exit code 0 from: /Users/sanekyy/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
[  +13 ms] executing:
/Users/sanekyy/Programs/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +45 ms] executing: /usr/bin/xcode-select --print-path
[   +5 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[        ] executing: /usr/bin/xcodebuild -version
[  +86 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 11.3.1
           Build version 11C504
[   +3 ms] /usr/bin/xcrun simctl list --json devices
[  +96 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +58 ms] Found plugin amplitude_flutter at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/amplitude_flutter-1.1.3/
[   +7 ms] Found plugin apple_sign_in at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/apple_sign_in-0.1.0/
[  +26 ms] Found plugin device_info at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/device_info-0.4.1+1/
[   +1 ms] Found plugin esys_flutter_share at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/esys_flutter_share-1.0.2/
[   +2 ms] Found plugin firebase_analytics at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.9/
[   +2 ms] Found plugin firebase_core at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+2/
[   +2 ms] Found plugin firebase_core_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[   +1 ms] Found plugin firebase_crashlytics at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-0.1.2+4/
[   +1 ms] Found plugin firebase_dynamic_links at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-0.5.0+9/
[   +1 ms] Found plugin firebase_performance at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_performance-0.3.1+5/
[   +1 ms] Found plugin firebase_remote_config at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.3.0+1/
[  +13 ms] Found plugin google_maps_flutter at
/Users/sanekyy/.pub-cache/git/plugins-a6424b19e2b2b31b6c69afb9b99b8326ba9962e8/packages/google_m
aps_flutter/
[   +1 ms] Found plugin google_sign_in at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.1.1/
[   +1 ms] Found plugin google_sign_in_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2+1/
[  +10 ms] Found plugin package_info at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/package_info-0.4.0+10/
[   +3 ms] Found plugin path_provider at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/path_provider-1.5.1/
[   +6 ms] Found plugin sensors at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/sensors-0.4.0+1/
[   +1 ms] Found plugin shared_preferences at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.4+5/
[   +3 ms] Found plugin sqflite at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.6+5/
[   +4 ms] Found plugin url_launcher at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.1/
[        ] Found plugin url_launcher_macos at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+2/
[   +1 ms] Found plugin url_launcher_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.0+2/
[   +1 ms] Found plugin video_player at
/Users/sanekyy/.pub-cache/git/plugins-a3a36cadffa5d8caa4aa89f93a12e7378b9070f3/packages/video_pl
ayer/video_player/
[   +1 ms] Found plugin video_player_web at
/Users/sanekyy/.pub-cache/git/plugins-a3a36cadffa5d8caa4aa89f93a12e7378b9070f3/packages/video_pl
ayer/video_player_web/
[  +24 ms] Found plugin amplitude_flutter at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/amplitude_flutter-1.1.3/
[   +1 ms] Found plugin apple_sign_in at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/apple_sign_in-0.1.0/
[  +10 ms] Found plugin device_info at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/device_info-0.4.1+1/
[   +1 ms] Found plugin esys_flutter_share at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/esys_flutter_share-1.0.2/
[   +1 ms] Found plugin firebase_analytics at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.9/
[        ] Found plugin firebase_core at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+2/
[   +1 ms] Found plugin firebase_core_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[        ] Found plugin firebase_crashlytics at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-0.1.2+4/
[        ] Found plugin firebase_dynamic_links at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-0.5.0+9/
[        ] Found plugin firebase_performance at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_performance-0.3.1+5/
[        ] Found plugin firebase_remote_config at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.3.0+1/
[   +6 ms] Found plugin google_maps_flutter at
/Users/sanekyy/.pub-cache/git/plugins-a6424b19e2b2b31b6c69afb9b99b8326ba9962e8/packages/google_m
aps_flutter/
[        ] Found plugin google_sign_in at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.1.1/
[   +1 ms] Found plugin google_sign_in_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2+1/
[   +6 ms] Found plugin package_info at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/package_info-0.4.0+10/
[   +1 ms] Found plugin path_provider at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/path_provider-1.5.1/
[   +5 ms] Found plugin sensors at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/sensors-0.4.0+1/
[   +1 ms] Found plugin shared_preferences at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.4+5/
[   +2 ms] Found plugin sqflite at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.6+5/
[   +3 ms] Found plugin url_launcher at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.1/
[        ] Found plugin url_launcher_macos at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+2/
[        ] Found plugin url_launcher_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.0+2/
[   +1 ms] Found plugin video_player at
/Users/sanekyy/.pub-cache/git/plugins-a3a36cadffa5d8caa4aa89f93a12e7378b9070f3/packages/video_pl
ayer/video_player/
[        ] Found plugin video_player_web at
/Users/sanekyy/.pub-cache/git/plugins-a3a36cadffa5d8caa4aa89f93a12e7378b9070f3/packages/video_pl
ayer/video_player_web/
[  +45 ms] Generating
/Users/sanekyy/Projects/optimist.dev/gohere/gohere/android/app/src/main/java/io/flutter/plugins/
GeneratedPluginRegistrant.java
[ +106 ms] Launching lib/main.dart on Chrome in debug mode...
[        ] Building application for the web...
[ +162 ms] Found plugin amplitude_flutter at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/amplitude_flutter-1.1.3/
[   +1 ms] Found plugin apple_sign_in at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/apple_sign_in-0.1.0/
[   +8 ms] Found plugin device_info at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/device_info-0.4.1+1/
[        ] Found plugin esys_flutter_share at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/esys_flutter_share-1.0.2/
[        ] Found plugin firebase_analytics at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-5.0.9/
[        ] Found plugin firebase_core at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+2/
[        ] Found plugin firebase_core_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[        ] Found plugin firebase_crashlytics at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-0.1.2+4/
[        ] Found plugin firebase_dynamic_links at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-0.5.0+9/
[        ] Found plugin firebase_performance at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_performance-0.3.1+5/
[        ] Found plugin firebase_remote_config at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.3.0+1/
[   +4 ms] Found plugin google_maps_flutter at
/Users/sanekyy/.pub-cache/git/plugins-a6424b19e2b2b31b6c69afb9b99b8326ba9962e8/packages/google_m
aps_flutter/
[        ] Found plugin google_sign_in at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.1.1/
[        ] Found plugin google_sign_in_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2+1/
[   +4 ms] Found plugin package_info at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/package_info-0.4.0+10/
[   +1 ms] Found plugin path_provider at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/path_provider-1.5.1/
[   +3 ms] Found plugin sensors at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/sensors-0.4.0+1/
[        ] Found plugin shared_preferences at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.4+5/
[   +1 ms] Found plugin sqflite at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.6+5/
[   +2 ms] Found plugin url_launcher at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.1/
[        ] Found plugin url_launcher_macos at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+2/
[        ] Found plugin url_launcher_web at
/Users/sanekyy/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.0+2/
[        ] Found plugin video_player at
/Users/sanekyy/.pub-cache/git/plugins-a3a36cadffa5d8caa4aa89f93a12e7378b9070f3/packages/video_pl
ayer/video_player/
[        ] Found plugin video_player_web at
/Users/sanekyy/.pub-cache/git/plugins-a3a36cadffa5d8caa4aa89f93a12e7378b9070f3/packages/video_pl
ayer/video_player_web/
[+5303 ms] Starting daemon...
[ +172 ms] Initializing inputs
[  +11 ms] Reading cached asset graph...
[ +211 ms] Reading cached asset graph completed, took 209ms

[ +221 ms] Checking for updates since last build...
[ +896 ms] Checking for updates since last build completed, took 896ms

[  +14 ms] Initializing inputs
[   +2 ms] Reading cached asset graph...
[        ] Reading cached asset graph completed, took 209ms
[        ] Checking for updates since last build...
[        ] Checking for updates since last build completed, took 896ms
[+1224 ms] About to build [web]...
[   +3 ms] Running build...
[ +231 ms] Running build completed, took 107ms

[        ] Caching finalized dependency graph...
[   +6 ms] Caching finalized dependency graph completed, took 148ms

[   +4 ms] Succeeded after 262ms with 0 outputs (0 actions)

[   +7 ms] Building application for the web... (completed in 8.5s)
[        ] Attempting to connect to browser instance..
[+3177 ms] Debug service listening on ws://<IP_ADDRESS>:55804/y-op7PSxIGw=

[ +351 ms]       Failed to load asset at path:
packages/build_web_compilers/src/dev_compiler/dart_sdk.js.

                          Status code: 404

                          Headers:
                          {
                      "date": "Sat, 25 Jan 2020 12:13:32 GMT",
                      "content-length": "9",
                      "x-frame-options": "SAMEORIGIN",
                      "content-type": "text/plain; charset=utf-8",
                      "x-xss-protection": "1; mode=block",
                      "x-content-type-options": "nosniff",
                      "server": "dart:io with Shelf",
                      "via": "1.1 shelf_proxy"
                    }

                          Content:
                          Not Found}

[  +35 ms] Attempting to connect to browser instance.. (completed in 3.6s)
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r". To hot restart (and refresh the
browser),
           press "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[   +8 ms] Debug service listening on ws://<IP_ADDRESS>:55804/y-op7PSxIGw=

flutter analyze
Analyzing gohere...

   info • Unused import: 'package:built_value/built_value.dart' •
          lib/data/model/db/place.dart:1:8 • unused_import
   info • The declaration '_tag' isn't referenced • lib/domain/place_bloc.dart:7:7 •
          unused_element
   info • The value of the field '_preferencesService' isn't used •
          lib/domain/sign_in_bloc.dart:12:28 • unused_field
   info • Unused import: 'package:gohere/service/analytics/analytics_service.dart' •
          lib/ui/bottom_sheet/feedback_bottom_sheet.dart:5:8 • unused_import
   info • The value of the local variable 'success' isn't used •
          lib/ui/bottom_sheet/sign_in_bottom_sheet.dart:103:11 • unused_local_variable

5 issues found. (ran in 6.4s)

 flutter doctor -v
[✓] Flutter (Channel dev, v1.14.4, on Mac OS X 10.15.2 19C57, locale en-RU)
    • Flutter version 1.14.4 at /Users/sanekyy/Programs/flutter
    • Framework revision 5e1000cd85 (2 days ago), 2020-01-23 13:27:01 -0800
    • Engine revision 83a64b7233
    • Dart version 2.8.0 (build 2.8.0-dev.3.0 ef0c7f16e6)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/sanekyy/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/sanekyy/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.6010548/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Ultimate Edition (version 2019.3.1)
    • IntelliJ at /Users/sanekyy/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.2 19C57
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.130
    • Web Server • web-server • web-javascript • Flutter Tools

! Doctor found issues in 2 categories.

error still present


Scanner goes infinitely / doesn't stop after reading a barcode

The scanner is really good and is of high quality but it doesn't stop even after it detects a barcode.
can there be a way for the scanner to stop after scanning a barcode ?

Could you please provide a minimal working example that demonstrates this behavior?
I am asking this because the polyfill does not behave like that in the unit tests and in the examples.

I attempted to write a minimal working example of you code  and it didn't really work
but my attempt was that
function detect(source){
return detector
.detect(source)
.then(symbols => {
/*
rest of code
*/
detectVideo(false)
// my assumption is it would have worked the same way the camera disappears when you trigger detectImg
})

I assume that you are referring to the code in barcode-detector-polyfill/example-bundled/main.js
In order to stop scanning as soon as a symbol has been detected, I would suggest to do something like this:
function detect(source) {
    return detector
        .detect(source)
        .then(symbols => {
           // ...
           // Add this after the code block:
           if (symbols.length > 0) {
               detectVideo(false)
           }
        })
}

To start scanning the video that is playing in the <video> element, call detectVideo() without arguments (as in the videoBtn click listener) . This will clear the previous bounding box.

Thank you! it worked


JWT Login - Initialize app

I am looking for code design pattern guidelines here. I call this code on every page which requires Auth, basically for JWT login check and Server Side rendering
static async getInitialProps({
    req,
    store,
    isServer,
    pathname,
    query
}) {
    let token = null;
    let slug = null;
    if (isServer) {
        token = req.cookies['x-access-token'];
        subdomain = req.headers.host.split('.')[0];
    } else {
        subdomain = window.location.host.split('.')[0];
        token = window.localstorage.get('token')
    }
    const state = store.getState().AuthReducer;
    if (!state.token) await store.dispatch(initApp(token, slug));
    if (!state.isCompanyDataFetched) await store.dispatch(initAppCompany(subdomain));
    return {};

}

Are there any alternates to wrap this around some parent container maybe?  Or creating a HOC? Or somehow putting this in _document? What do you guys suggest?

Thanks, @JustasPolis, Is it fine to have pages wrapped with HOC's? Because we don't get access to "getInitialProps" in components?

 You can see an example here: https://github.com/zeit/next.js/tree/master/examples/with-higher-order-component


add hmr support

This pr try to define how hmr will work in jsx of Vue3. I learned a lot from react fast refresh and vite jsx plugin.
Main feature:

Only reload component that changed
Support multi component in one file
Bundler independent(not sure now if other platform other then webpack will work)
If module not only export component, reload all

We still need a webpack plugin or loader to provide some info.
$HotMoudleId$ mostly file relative path that is unique in one project
$isVueHMRAcceptable a function test if this module export only components, return true if it does.
var $VueHMRHashMap$ = (window.$VueHMRHashMap$ = window.$VueHMRHashMap$ || {}); it store every component and it's code hash, make it possible to diff if one component updated when hmr.
@Amour1688 please review the code.

Any response?

Any response?

Thanks for your PR. This repo is about how to compile JSX to JavaScript code. Vite provides JSX support via this plugin, so I think you should PR to vue-jsx-hot-loader. And it would be even better if you add some unit tests.

Thanks for your PR. This repo is about how to compile JSX to JavaScript code. Vite provides JSX support via this plugin, so I think you should PR to vue-jsx-hot-loader. And it would be even better if you add some unit tests.


Create dependabot.yml

dependabot will create a new PR when a used github action is not up to date
Detailed description
Add dependabot configuration file to keep the used github actions up to date

Thanks!


Fixing VSO build script

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Unwanted resources at the output folder

Describe the bug
I have not used resources in the entire ecosystem of my applications. But when I build my API app, which uses some other libraries of Microsoft and our company's base libraries, I see a couple of country-specific resources being copied to the output directly.
And when I go inside them I see these two files:
Microsoft.CodeAnalysis.CSharp.resources.dll
 Microsoft.CodeAnalysis.resources.dll
How should I get rid of them? How should I know why are they produced at all?
To Reproduce
It doesn't happen for a single isolated app as I tested. Thus I can't reproduce its steps for my ecosystem. I just know that we do not use Microsoft's way of resource files for globalization. In fact, we are a mono-lingual mono-cultural app.
Expected behavior
I want the output folder to be clean of French or German or other resources that are not related to us.
Screenshots

Additional context
dotnet --info results:

Thanks for contacting us. You get these because you use transitively reference Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis packages likely through the runtime compilation package. You can either remove runtime compilation (if you don't need it), or simply delete the files.
Alternatively, you can reference the runtime compilation package conditionally for Debug configuration only. That way your Release folder will not have these.


snc.sh fails due to connection timeout

while executing ./snc.sh on a Ubuntu machine, the script fails with the following error
ERROR
ERROR Error: Unassigned variable
ERROR
ERROR The input variable "libvirt_master_ips" has not been assigned a value. This is
ERROR a bug in Terraform; please report it in a GitHub issue.
ERROR
ERROR
ERROR Error: Unassigned variable
ERROR
ERROR The input variable "libvirt_uri" has not been assigned a value. This is a bug
ERROR in Terraform; please report it in a GitHub issue.
ERROR
ERROR
ERROR Error: Unassigned variable
ERROR
ERROR The input variable "libvirt_bootstrap_ip" has not been assigned a value. This
ERROR is a bug in Terraform; please report it in a GitHub issue.
ERROR
ERROR
ERROR Error: Unassigned variable
ERROR
ERROR The input variable "libvirt_network_if" has not been assigned a value. This is
ERROR a bug in Terraform; please report it in a GitHub issue.
ERROR
ERROR
ERROR Error: Unassigned variable
ERROR
ERROR The input variable "os_image" has not been assigned a value. This is a bug in
ERROR Terraform; please report it in a GitHub issue.
ERROR
ERROR Failed to read tfstate: open /tmp/openshift-install-103064960/terraform.tfstate: no such file or directory
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform
This is known to fail with:
'pool master is not ready - timed out waiting for the condition'
see https://github.com/openshift/machine-config-operator/issues/579
ssh: Could not resolve hostname api.crc.testing: Name or service not known
ssh: Could not resolve hostname api.crc.testing: Name or service not known
ssh: Could not resolve hostname api.crc.testing: Name or service not known
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
error: unable to recognize "STDIN": Get https://api.crc.testing:6443/api?timeout=32s: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host
Unable to connect to the server: dial tcp: lookup api.crc.testing on <IP_ADDRESS>:53: no such host

I don't think snc.sh has been tested at all on ubuntu, so I'd expect it not to work. However the initial errors seem to happen in openshift-install, so I don't know if it's snc.sh or openshift-install which are at fault here.

This looks like dns issue, on Ubuntu this script is not tested at all.

@akhilerm we made lot of changes from the date you filled this issue, can you give it another go and see if that works?

Closing this since there is no response from reporter after 22 days.


Create plugin-apprenda.yml

Description
I am uploading the permissions to request upload permissions for a brand new plugin to be hosted for the apprenda cloud platform.
GitHub repo: https://github.com/jenkinsci/apprenda-plugin
Hosting Request: https://issues.jenkins-ci.org/browse/HOSTING-481
I was not 100% i did the following item correctly. i would appreciate a spot check.

[X ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)

Submitter checklist for changing permissions

Always

[X ] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ X] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ X] Make sure the file is created in permissions/ directory
[X] artifactId (pom.xml) is used for name (permissions YAML file).
[X ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[X ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ X] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[X ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ X] All newly added users have logged in to Artifactory at least once

@daniel-beck  i made changes to the POM to match the yml file. thank you!


Manifest file not loading from the application entry point in production build

I deployed a website on the server with the plugin installed and configured in the vite.config.js file and a link element point to "/manifest.webmanifest" in the index.html .
When I open the website. I noticed the manifest file doesn't seems to be loaded (resolved in 404), but the file exist in the project root folder as shown in the screen shot below.

[As the official doc said](https://vite-pwa-org.netlify.app/guide/)
"If you build your application, the Web App Manifest will be generated and configured on the application entry point, the service worker will be also generated and the script/module to register it in the browser added."
The file do loaded in development mode though, that means the config do the works right?
VitePWA({                  registerType : 'autoUpdate',                 includeAssets: ['**/*.{png}'],                 manifest     : {                      name      : 'vite-vue-pwa',                      short_name: 'vite-vue-pwa',                      icons     : [                         {                              src  : '/assets/favicon/android-chrome-96x96.png',                              sizes: '96x96',                              type : 'image/png'                          },                         {                              src  : '/assets/favicon/android-chrome-192x192.png',                              sizes: '192x192',                              type : 'image/png'                          },                         {                              src    : '/assets/favicon/android-chrome-512x512.png',                              sizes  : '512x512',                              type   : 'image/png',                             purpose: 'any'                         },                     ],                      theme_color     : '#000000',                      background_color: '#000000',                      display         : 'standalone'                  },                  devOptions: { enabled: true },                  workbox   : {                      cleanupOutdatedCaches: true,                      globPatterns         : ['**/*.{js,css,html,ico,jpg,json,png,txt,svg}'],                     runtimeCaching       : [                          {                              urlPattern: ({ url }) => url.pathname.startsWith('/api'),                              handler   : 'NetworkFirst',                              options   : {                                  cacheName        : 'api-cache',                                 cacheableResponse: {                                     statuses: [0, 200]                                 }                             }                          }                     ]
Are there anythings I missed in the configuration?

In the end, it was cause by the server not having the MIME type setting to serve .webmanifest file.


Reduce flickering on jupyter output updates

After cell execution completes, the DOM nodes are replaced causing a flicker. Replacement is fast and this could be addressed in ccs using an animated height with delay.

CSS transitions will not work for height with height: auto, I don't think there is a CCS based approach that can animate the height of the container when it's actual height value changes under auto.


ImportError: cannot import name 'get_dataset'

i tried to train the model but got this error
from mmdet.datasets import get_dataset
ImportError: cannot import name 'get_dataset'
i also run sh compile.sh  and pip3 install setup.py  but error still

run pip list to see whether mmdet is installed.
I suggest to install this repo with:
bash compile.sh && python setup.py develop

Thanks but i got
bash compile.sh
Building roi align op... compile.sh: line 6: cd: mmdet/ops/roi_align: No such file or directory Traceback (most recent call last):   File "setup.py", line 83, in <module>     write_version_py()   File "setup.py", line 72, in write_version_py     with open(version_file, 'w') as f: IOError: [Errno 2] No such file or directory: 'mmdet/version.py' Building roi pool op... compile.sh: line 13: cd: ../roi_pool: No such file or directory Traceback (most recent call last):   File "setup.py", line 83, in <module>     write_version_py()

Please make sure your current dir is: some_path/ReDet/

Thanks for replying .. now i got the problem with cuda as i have 11.0 and searched for a solution.
i need to change AT_Check to TORCH_CHECK but in which files i should ?

Please search all .cu and .cpp in mmdet/ops

I did it but got
from .bbox import bbox_overlaps_cython I importError: Path/ReDet/mmdet/core/bbox/bbox.so: undefined symbol: _Py_ZeroStruct
And stuck in this error above
The version I'm using is python3

Try to delete previous build

Appreciate your reply.  But how can I delete it ?

You can try to delete bbox/build and bbox/*.so

i tried it but got
from .bbox import bbox_overlaps_cython ModuleNotFoundError: No module named 'mmdet.core.bbox.bbox'
i tried also to install setup.py again but error exists .. appreciate your time for help .. Thanks

i got
f'{obj_type} is not in the {registry.name} registry') KeyError: 'ReDet is not in the models registry'

excuse me does this error from the mmcv ? or i missed something ?
Thanks in advance


dio支持mac的网络请求吗

报错
SocketException: Connection failed (OS Error: Operation not permitted, errno = 1), address = bop189.jvtd.cn, port = 443
doctor
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.26.0-8.0.pre, on macOS 11.2 20D64 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.45.1)

你是怎么解决的呀


Refactor smoke tests

This refactors the smoke tests to allow them to work for both PaaS and AKS deployments. I've simplified the smoke test action itself to require only what is needed to run the smoke tests, and then extracted the credentials according to the logic of AKS or PaaS, automatically calling the smoke tests after each deployment.

 Apply for QTS: Allow review apps to be deployed to AKS


Issue with \ in Token

Hi,
I have a following grammar:
start: statement+
statement: _STRING
%import common.ESCAPED_STRING -> _STRING
%import common.WS -> WS
%import common.WS_INLINE
%import common.NEWLINE -> NEWLINE
%ignore WS
%ignore WS_INLINE
When I test it with e.g.:
"a" "b"
it works fine showing the tree:
start
statement
statement
However when one of the string has \ inside it gives me error.
So when I try to parse: "\\"  "a"
I get:
"\\"  "a"
^
Expecting: {Terminal('_STRING')}
Any help how to parse such strings?
Regards,
Artur

But it throws:
ValueError: ("Dynamic Earley doesn't allow zero-width regexps", TerminalDef('_STRING_INNER', '.*?'))


Investigate using the universal_html packages

In preparation for server-side rendering, we need some mechanism to generate components that don't depend on dart:html. This will likely be a build option, but we can make the transition easier by already using universal_html under the hood. universal_html is an alias for dart:html when compiling to the web, but defines compatible APIs for use on the Dart VM too.
With universal_html, we can also make it easier to debug and test zap component logic outside of a browser. It would be interesting to know how much currently breaks when using universal_html, so a investigation would be really helpful.

We can probably replace dart:html imports in the zap package.
In the zap_dev generator package, we can use the import rewriting mechanism to rewrite dart:html imports in <script> tags with universal html imports.

Some things that would be interesting to know:

How many of the current zap components (in this repo) break when using universal_html? Will be a lot of effort to fix them?
Can we reliably run tests for some components in the Dart VM when using universal_html?

I would love to work on this issue.

Awesome, thanks for your help! If you run into any problems, please let me know :)


Fixes bug in R2RML parser

Hi folks,
this PR request fixes an issue in the R2RML parser, in particular in the R2RMLToSQLPPTriplesMapConverter class:
Using just toString() on the Common RDF RDFTerm is to vague. For example, I use Ontop with Apache Jena as the R2RML graph provider, and their toString() implementation does return an N-Triples rendered String, i.e. <http://foo.bar/ex> - clearly, this String will lead to an invalid IRI resolver result: http://example.org/base/<http://foo.bar/ex>. I changed the code to explicitly call the method that does return the IRI string. Note, I didn't check for the type before casting, hope this is fine - at least I assume that the IriTermMapFactory does only get IRI constants. If not, will free to adapt and check for the type before casting to avoid a ClassCastException.
You can also see another change I made: you call computeIfAbsent on a Guava ImmutableMap - I understand you did this for convenience, but given that the Map is immutable, later Guava versions (>21.0) will deprecate this method and will always throw an UnsupportedOperationException [1]
Feel free to undo this change if you want, but keep in mind that whenever you're willing to upgrade your Guava dependency, this will be an issue.
Cheers.
[1] https://guava.dev/releases/21.0/api/docs/com/google/common/collect/ImmutableMap.html#computeIfAbsent-K-java.util.function.Function-

Thanks Lorenz!
Sorry for the delay, we forgot about it.
It is now merged and will take part of 4.1.0.
Best,
Benjamin


some questions about the data

Hi. It's a very nice website. But I have some questions about the data.
On the website,
"read 1000,000 bytes sequentially from memory is 3us", so the memory bandwidth should be 1MB/3us = 333GB/s.
"read 1000,000 bytes sequentially from SSD is 49us", so the SSD bandwidth should be 1MB/49us = 20GB/s.
"read 1000,000 bytes sequentially from disk is 825us", so the disk bandwidth should be 1MB/815us = 1.2GB/s.
From my point of view, these data are much bigger than the real products' performance.

It looks like the numbers are currently projections from 2012???
Here are some reasonable bandwidth numbers:
https://www.forrestthewoods.com/blog/memory-bandwidth-napkin-math/

That's correct, I created this in 2012 ;-)
Happy to accept pull requests for updated models


Problems with changing admin URL after update to 12.1.2

I updated from 12.0.0 to 12.1.2 today I am fairly new to this software although I had this working before in 12.0.0. I was able to go into the protected files and search for admin123 under all. The admin123 folder would appear with another admin folder to the right that would have number after the admin123. According to documentation you are suppose to rename the admin123 folder to what you want for security purposes. After this is changed you have to go into protected files /YOURS_PROTECTED_FOLDER/app/configs/constants.php and change the define ('PH7_ADMIN_MOD', ' admin123 '); I tried this 7 times. Of course you have to rename the folder to what you want then go into your hosting panel and search in the _protected/app/configs/constants.php and change it there after you change the folder. What seems to be happening is if I do not get the error it works how ever I am getting a error message is stating your _protected file is not there when I try to go into the page modules.tpl   I found this really strange I have been pulling my hair all day.

Hiya!
No sure why you really want to move to 12.1.2 since the changes for you aren't big.
Anyway, this might help you.

Please run the following through your phpmyadmin on pH7CMS database.
Also, replace 'ph7_' by your prefix set in "~/_protected/app/configs/config.ini" [database] prefix

INSERT INTO ph7_settings (settingName, settingValue, description, settingGroup) VALUES
('backgroundColor', '', 'Overwrite background color', 'design'),
('textColor', '', 'Overwrite text color', 'design'),
('footerLinkColor', '', 'Overwrite footer links color', 'design'),
('linkColor', '', 'Overwrite links color', 'design'),
('linkHoverColor', '', 'Overwrite links hover color', 'design');

UPDATE ph7_modules SET version = '1.4.3' WHERE vendorName = 'pH7CMS';

Secondly, please remove all subfolder in _protected/data/cache/

P.S. And make sure all files are replaced by the new ones.
P.S.2 pH7CMS 12.1 caches all dynamic URLs generated from pH7Framework's router. Maybe... that's why you had some issues there...

I am not sure if this is the problem I did a complete new install using
Softaculous I delete the old account off the server prior to backing up I
have a complete admin backup from the server of 12.0.0 I updated because I
want new features I should not have to do anything to the database and a
maybe could lead into another problem.
On Fri, Mar 30, 2018 at 5:05 AM, ♚ PH⑦ Soria ♛<EMAIL_ADDRESS>wrote:

Hiya!
No sure why you really want to move to 12.1.2 since the changes for you
aren't big.
Anyway, this might help you.

Please run the following through your phpmyadmin on pH7CMS database.
Also, replace 'ph7_' by your prefix set in "~/_protected/app/configs/config.ini"
[database] prefix

INSERT INTO ph7_settings (settingName, settingValue, description, settingGroup) VALUES
('backgroundColor', '', 'Overwrite background color', 'design'),
('textColor', '', 'Overwrite text color', 'design'),
('footerLinkColor', '', 'Overwrite footer links color', 'design'),
('linkColor', '', 'Overwrite links color', 'design'),
('linkHoverColor', '', 'Overwrite links hover color', 'design');
UPDATE ph7_modules SET version = '1.4.3' WHERE vendorName = 'pH7CMS';

Secondly, please remove all subfolder in _protected/data/cache/

P.S. And make sure all files are replaced by the new ones.
P.S.2 pH7CMS 12.1 caches all dynamic URLs generated from pH7Framework's
router. Maybe... that's why you had some issues there...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/191#issuecomment-377483557,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdMNfVdKykx7DkBtAPdMy8zrvlkezdBaks5tjfV2gaJpZM4TBMbt
.

If you are trying to use the database without rebuilding by the installation script but only upgrading the files. Then you'll need to run the script @pH-7 gave you.
You should try clearing the cache like indicated in the docs by removing files from some of the cache folder.
This comment may apply https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/154#issuecomment-351591753
And the documentation (clearing the cache)
http://ph7cms.com/doc/
Good luck !
PS: Your question is a bit hard to follow in the way you describe. Maybe you should make it more concise in the details you give so we could help you better. Also I'd recommend installing directly the software and not by using a script like "Softaculous" as we never know how does this system drive the installation and it gives us one more possibility of problem (and options in differential diagnosis).
As you don't seem to have a live system installed maybe I could suggest that you start over with the latest release and don't bother trying to go through the upgrade procedures.

I did not go through the upgrade process at all as I said I terminated the
account off my server completely and created a new account I then installed
PH7CMS. I see allot of issues and I do not believe its related to
Softaculous I can not change the admin123 folder as I was able to in
version 12.0.0 installed on march 17th this month all was working well. I
also noticed this web site color changer is not working proper also I
tested this software on two separate domains and its doing the same thing
on both. At the footer you have five menu links correct. I have noticed
that on both installs of this PH7CMS the about us link is red and the help
link is red by default on hover very strange. All other links are pink on
hover
When I tried to change the link color for the footer it only change the
(newsletter) (invite) (sitemap) the links coming off the about us menu did
change although the link stayed the same color about us will not change.
Regards Vinny
On Fri, Mar 30, 2018 at 6:27 AM, Polyna-Maude R.-Summerside <
<EMAIL_ADDRESS>wrote:

If you are trying to use the database without rebuilding by the
installation script but only upgrading the files. Then you'll need to run
the script @pH-7 https://github.com/pH-7 gave you.
You should try clearing the cache like indicated in the docs by removing
files from some of the cache folder.
This comment may apply #154 (comment)
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/154#issuecomment-351591753
And the documentation (clearing the cache)
http://ph7cms.com/doc/
Good luck !
PS: Your question is a bit hard to follow in the way you describe. Maybe
you should make it more concise in the details you give so we could help
you better. Also I'd recommend installing directly the software and not by
using a script like "Softaculous" as we never know how does this system
drive the installation and it gives us one more possibility of problem (and
options in differential diagnosis).
As you don't seem to have a live system installed maybe I could suggest
that you start over with the latest release and don't bother trying to go
through the upgrade procedures.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/191#issuecomment-377497517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdMNfSl1SDkHs0PioC1wapinnbo53w5hks5tjgiDgaJpZM4TBMbt
.

I understand nearly nothing from your messages, so I'll simply quote what you said and ask questions.
I did not go through the upgrade process at all (OK) as I said I terminated the account off my server completely
What account kind of account or you talking about ?? To install a web application you simply create a folder, make it visible on your webserver and point to it in your browser to start the process
and created a new account I then installed PH7CMS.
Created what type of account ? A new shell user ? A new hosting account with a provider ?
I can not change the admin123 folder as I was able to in version 12.0.0 installed on march 17th this month all was working well.
Everything was working well ? Would have been nice to say thanks to the helpings hands.
How do you proceed to change the folder ?  You open a shell, go to the folder using cd and after you change the name of the admin123 folder to what you want for example
cd protected
cd app
cd system
cd modules
mv admin123 mysecretadmin
after you modify the constant.php file :
( from your last acions )
cd ..
cd ..
cd configs
nano constants.php
I tested this software on two separate domains and its doing the same thing on both
Your affirmation about trying to install on two different domains doesn't have any link or use of understanding. You could install a software of thousands of domain and always end up having the same problems if you have a configuration problem that you repeat. There's no link between a domain name having something to do with software configuration. Many CMS (like this one) can easily be changed of domain name by reconfiguration if needed throughout the cycle of operation.
When I tried to change the link color for the footer it only change the (newsletter) (invite) (sitemap) the links coming off the about us menu did change although the link stayed the same color about us will not change.
How did you act to change the links ? You hand edited the .tpl file ? You used the included file editor ? Used your hosting provider interface to do edition ? Maybe to describe the actions you did in a simple way could help out !
We're now into many issue so I suggest simply we start by solving one at a time. If you do consider that you problem is not softaculous - related then what would it cost you to follow the instruction given in the installation instructions ? You're not the only user of this software but as you're having problem it would be a wise move to do as recommended. It also means to follow advice that we give you when suggesting to try something out and giving feedback.
Professional software manager won't do upgrade on live system and always test them on a testbed before implanting as we never know what situation you may encounter. I'll also suggest you give some information about what you're actually using (Apache version, list of modules activated).
I'll be quite honest here, I think you're more busy arguing that you know where the problem is and push it onto our side than to do the manipulations we suggest to help out. No one has the obligation to give you technical support so the least you can do is collaborate kindly with people who give there time helping out. As it is going on, I'll make this probably my last intervention for your case as not only you don't seem to follow suggestions but at the same time I'm getting doubt about the knowledge you got to do command line based manipulation or in-depth understanding of web application further than being limited to "point-click-next".
Helping is a participative action that require oneself involvement of the person making the request.
Good luck !

I do not know what you do not understand. I terminated the account from a
cPanel hosting server that version 12.0.0 was on the domain matchudate.com
that account was terminated leaving no more data no more anything. I
created a new cPanel account and I did the install of PH7CMS 12.1.2 . This
is the link to the documentation I have used for the admin123 change to
rename the admin folder.  https://ph7cms.com/doc/ It is number 21 down the
list renaming the admin folder. This worked for me on the version 12.0.0
although when I did the version 12.1.2 there was problems with the renaming
the admin folder I was getting errors that stated your _protected file no
longer exist when I went to the page modules links such as aboutus.tpl and
so on.
Sincerely Yours
Vinny
On Fri, Mar 30, 2018 at 12:52 PM, Polyna-Maude R.-Summerside <
<EMAIL_ADDRESS>wrote:

I understand nearly nothing from your messages, so I'll simply quote what
you said and ask questions.
I did not go through the upgrade process at all (OK) as I said I
terminated the account off my server completely
What account kind of account or you talking about ?? To install a web
application you simply create a folder, make it visible on your webserver
and point to it in your browser to start the process
and created a new account I then installed PH7CMS.
Created what type of account ? A new shell user ? A new hosting account
with a provider ?
I can not change the admin123 folder as I was able to in version 12.0.0
installed on march 17th this month all was working well.
Everything was working well ? Would have been nice to say thanks to the
helpings hands.
How do you proceed to change the folder ?  You open a shell, go to the folder using cd
and after you change the name of the admin123 folder to what you want for
example
cd protected cd app cd system cd modules mv admin123 mysecretadmin
after you modify the constant.php file :
( from your last acions )
cd .. cd .. cd configs nano constants.php
I tested this software on two separate domains and its doing the same
thing on both
Your affirmation about trying to install on two different domains doesn't
have any link or use of understanding. You could install a software of
thousands of domain and always end up having the same problems if you have
a configuration problem that you repeat. There's no link between a domain
name having something to do with software configuration. Many CMS (like
this one) can easily be changed of domain name by reconfiguration if needed
throughout the cycle of operation.
When I tried to change the link color for the footer it only change the
(newsletter) (invite) (sitemap) the links coming off the about us menu did
change although the link stayed the same color about us will not change.
How did you act to change the links ? You hand edited the .tpl file ? You
used the included file editor ? Used your hosting provider interface to do
edition ? Maybe to describe the actions you did in a simple way could help
out !
We're now into many issue so I suggest simply we start by solving one at a
time. If you do consider that you problem is not softaculous - related then
what would it cost you to follow the instruction given in the installation
instructions ? You're not the only user of this software but as you're
having problem it would be a wise move to do as recommended. It also means
to follow advice that we give you when suggesting to try something out and
giving feedback.
Professional software manager won't do upgrade on live system and always
test them on a testbed before implanting as we never know what situation
you may encounter. I'll also suggest you give some information about what
you're actually using (Apache version, list of modules activated).
I'll be quite honest here, I think you're more busy arguing that you know
where the problem is and push it onto our side than to do the manipulations
we suggest to help out. No one has the obligation to give you technical
support so the least you can do is collaborate kindly with people who give
there time helping out. As it is going on, I'll make this probably my last
intervention for your case as not only you don't seem to follow suggestions
but at the same time I'm getting doubt about the knowledge you got to do
command line based manipulation or in-depth understanding of web
application further than being limited to "point-click-next".
Helping is a participative action that require oneself involvement of the
person making the request.
Good luck !
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/191#issuecomment-377568694,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdMNfURcqRVgUsjlSvGGha4iXoY2Qifrks5tjmLQgaJpZM4TBMbt
.

Got that right about where you've got your information but you're not telling me which way you did for renaming your folder ?
I won't repeat myself again saying to send screenshot, logs or other explanation of what's going on.
Good luck ! I'm gone

I wasn't aware you are running it through Softaculous! Then, things are different (same for the custom admin123 folder. Softaculous doesn't know the change there and that might be the problem!).
It might have an issue from they side with the update process. Like I said to you by email, it would be wiser to wait until a next release (or install it from Sourceforge without using Softaculous if you still get an issue with it).
There is no hurry to update from 12.0 to 12.1 for the moment. Just wait and enjoy with what you already have :smiley:
Update from Softaculous won't work if you renamed a folder

@polynamaude You can rename the admin folder (so, people won't be able to see the admin login page).  https://ph7cms.com/doc/en/rename-the-admin-folder

@vinny1962 I couldn't replicate your issue with renamed admin folder. Please follow our advice. And maybe ditch Softaculous for the moment... We cannot do more for the moment unfortunately. If you get another problem, please just reopen a new issue.
Have a great weekend! 🎉

@pH-7 I'm not sure why you're saying that to me here ? I certainly know that it's possible to rename the folder and if you look through the messages I wrote, I've explained to him how to do so using the command line shell and using nano to modify the constants.php file.
And I gave the same suggestion as you as to install using plain gitHub / Sourceforge as it's always hard to know if the problem is coming from softaculous or if it's on the CMS side. The simpler you go with a solution, the easier it is to find out where the problem reside. One step at a time.
I've read to the documentation and found that the idea was really nice to point out. You can also do the same with other CMS like changing the "administrator" in Joomla but it does require some more work and it's not described in the documentation.


Bower installation error

When library is installed by Bower, it breaks the process with an error because there is a dependency that does not exist ("Package btoa not found").

I found a library (based on this one) that does work!

Yeah, we can probably just remove atob and btoa from the dependencies in the bower.json file, since they are only required for node. Could you prepare a pull request?

Sorry, I do not know deeply your library. It is only occurs to me to blank dependencies in Bower file.

Nice! Thanks.
Now it is necessary upgrade version for Bower detects this change.


Error while retagging an existing image

Steps i follow:
$ TOKEN="$(curl -sSL -u user:pass "https://auth.docker.io/token?service=registry.docker.io&scope=repository:$REPO::pull,push" | jq --raw-output .token)"

$ curl -i -H "Authorization: Bearer $TOKEN" -H "Accept: application/vnd.docker.distribution.manifest.v2+json"  https://registry-1.docker.io/v2/$REPO/manifests/latest > manifest.json

$ curl -i -XPUT -H "Authorization: Bearer $TOKEN" -H "Content-type: application/vnd.docker.distribution.manifest.v2+json"  https://registry-1.docker.io/v2/$REPO/manifests/latest --data @manifest.json

And response of the last curl request is:
{"errors":[{"code":"MANIFEST_INVALID","message":"manifest invalid","detail":{"Offset":1}}]}

In the docs says if you put a manifest under a new tag then it will create a new tag for image. But it just doesn't work for me.

@pasali Looks like the manifest is invalid. What is in manifest.json?

@stevvooe i thought i was using the same manifest that i downloaded, but it wasn't. I shouldn't have redirect curl output to a file and use it later. :)


fix(PyPI): improve multi-platform support

:tada: This PR is included in version 5.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


development_tools: allow Symbols to be located

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

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

Fixes error seen in Homebrew/homebrew-core#138452 (formula). DevelopmentTools.default_compiler can return a Symbol like :clang. Make sure its result can be fed to DevelopmentTools.locate.

I wonder if it's better to just fix the callers for this one.

@carlocab IMO we should just fix up signatures for now.
Thanks again @ZhongRuoyu!


Support for local images with webpack

In order to load local images with webpack I needed to add the following in webpack config under loaders section:
        loader: 'url-loader?limit=200000',
        // loader: 'file-loader?name=images/[name].[ext]',
        include: PATHS.images
      }```

And also load images the following way:
```<img src={require('file?emitFile=false!./images/office.jpg')} />```

Note the ```file?emitFile=false!```
Without this a 404 for the image would be returned

Fixed while developing the basic portfolio


Strengthening Passwords

It would be nice if an admin can set the mininmal lenght for user passwords. Also RainLoop could check for the strenght of a password. As far as I can see RainLoop currently only accepts password with  characters regardless how safe the password is.
btw: thanks for this great software!

Admin does not create users in the RainLoop? Rainloop uses IMAP to check user authentication. So you should check password strength when you create your users on mail server.

You're right. But wha about the password changing plugins?

You're right. But wha about the password changing plugins?

RainLoop check password weakness in this case.
https://github.com/RainLoop/rainloop-webmail/blob/master/rainloop/v/0.0.0/app/libraries/RainLoop/Providers/ChangePassword.php#L72
https://github.com/RainLoop/rainloop-webmail/blob/master/rainloop/v/0.0.0/app/libraries/MailSo/Base/Utils.php#L2511

Thank's for the hint. It would be nice to have the possibility to change this (lenght, strenght defined by a combination of letters and numbers etc.) by the config file.

Maybe you're right, but I don't like alot of configuration parameters. :)

:)
I don't know if all backends (mysql, ldap,..,) support setting the password strenght. If so the backend should check for it else this configuration in RainLoop would make sense.
Feel free to close this report...


Update to 8x8-provisioning-tutorial

8x8 Product team submitting for minor tweaks to tutorial doc including some new screenshots

@hdavie : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@twimmers
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@hdavie @twimmers - in a follow-up PR, can you remove the image files that are no longer being used because of these replacement images? thanks.


Branch is created, but PR is not

This issue was closed in 2017: https://github.com/greenkeeperio/greenkeeper/issues/342
As per my comment at the bottom, it is still an issue.
Greekeeper created 5 branches: https://circleci.com/gh/ohjames/rxjs-websockets
Not a single PR though (beyond the initial PR to enable greekeeper): https://github.com/ohjames/rxjs-websockets/pulls?utf8=✓&q=is%3Apr

I just stumbled upon this behavior myself and went looking for answers, but based on what I found out I don't think this is really an issue. It's just confusion about how Greenkeeper works and why PRs aren't actually warranted in these cases.
Basically, Greenkeeper doesn't open PRs for in-range dependency updates with passing tests as described in their docs.
For example, you had "sinon": "^7.2.2" in your package.json and Greenkeeper tested 7.3.0. The test passed, which means the update wouldn't break your build. And since 7.3.0 falls in the range specified by ^7.2.2 there's no change that requires a PR. That's because anyone who tried to npm install would get the highest version satisfying the ^7.2.2 range which would have been 7.3.0 at the time and Greenkeeper just confirmed the build passes with that version.
You would see a PR if an out of range update happened like if sinon released a 8.0.0 version, because that implies breaking changes from 7.x.x versions according to SemVer. You would also see a PR if 7.3.0 didn't pass your tests. That would be an issue requiring a PR, because that's the version people would get when installing according to ^7.2.2 and not passing tests means it's a breaking change.
If you wanted PRs for every single minor version bump then you need to define stricter ranges. So instead of ^7.2.2 specify ~7.2.2 which would make 7.3.0 out of range. Or you can pin to the exact version by not using a caret or tilde and just specifying 7.2.2. In your project when you switched to using Renovate it did that and pinned all your dependencies for you.

@devilsek in that case, why did greenkeeper create the branch and trigger CI? You'd expect it to either create the branch and open the PR, or do neither, but not one or the other.

A new branch is created so that it can bump your dependency to the new version and trigger CI to run tests to make sure your project still builds with that new version. If the tests pass there's no need for a PR because no changes need to be made.

Cool thanks for the info!


Old version test

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/test pull-api-gateway-integration-test

/test pull-api-gateway-integration-test

/test pull-api-gateway-integration-test

/test pull-api-gateway-integration-test

/test pull-api-gateway-integration-test


Input of hopping gate only accepts lists

Write now the hopping gate only accepts list, this is slightly awkward for a single global hopping parameter. Right now one has to write:
qc.hop_fermions([theta_j], list(range(0, 4)))
It would be more natural to be able to write:
qc.hop_fermions(theta_j, list(range(0, 4)))

I see what you mean. The hopping gate is built up from a generator that takes a list of different J_i as the hopping strength between tweezers i and i+1. In the case of two tweezers that might look a bit awkward.
I'm not a huge fan of interpreting a single parameter not within a list as a global hopping strength to avoid confusion.
Do you think it would make sense to rather have a dedicated gate for global hopping such as class GlobalHopping(FermionicGate) which only takes one parameter as input?


fix: #1735 Unable to use models with a StreamField inside Inline Panels

Please see #1735 for more discussion about this.

Any idea why the build fail?
$ git fetch --no-tags --depth=50 origin +refs/pull/2659/merge:
fatal: Couldn't find remote ref refs/pull/2659/merge
[info] build failed (exit code 1)

Looks like it was trying to get a "merged" copy of the PR which doesn't exist as this PR isn't mergable.
rebasing or merging master (resolving the conflict) should solve the error

Indeed, there was a commit one minute after I created the PR :sweat_smile: . Thanks :+1: .

There is a regression with this PR. Some media are missing when they are needed in the FieldPanel but not in the InlinePanel.
Uncaught ReferenceError: makeHalloRichTextEditable is not defined

Fixed

Hi @Gagaro!
Issue with InlinePanel was fixed in #2673. Thanks!

Nice, I updated the pull request to only include the things specific to StreamField.

Merged in 16c279d705dfd944078a1c6e0e13c610d547e5e2. Thanks!


ExportReportObjects.cs Error on line 155 (Connections)

While my folder path and file name are correct, I get the following error when I try to run the script:

It's just a simple file I created for test purposes and saved locally. Report elements and the data model are in one PBIX file.

This is fixed in v1.1.2. The issue occurred if there was no 'Connections' file within the .pbix file. Thanks for reporting.


error when make tutorial remult for Nextjs: ReferenceError: hideCompleted is not defined

Unhandled Runtime Error
ReferenceError: hideCompleted is not defined
Source
pages/index.tsx (10:24) @ fetchTasks
8 |   limit: 20,
9 |   orderBy: { completed: "asc" },

10 |   where: { completed: hideCompleted ? false : undefined }
|                      ^
11 | });
12 | }
13 |
Call Stack
eval
pages/index.tsx (19:4)
Show collapsed frames

Hu @quangtynu ,
Can you please verify that you've added the hideCompleted argument to the fetchTasks method at:
https://remult.dev/tutorials/react-next/sorting-filtering.html#toggle-display-of-completed-tasks

Let me know

Oh, Thank you. I forgot to add argument. Now it ok.


Output video longer than preview

I am creating a deepfake video using your code through Google Colab. Everything works fine until the download step. I am really happy with the results I get and everything looks normal on the preview, the original png shows up, beside it the 'driver' video and the final output on the right hand side, all in sync and all at proper speed. The video I am working on lasts 21 seconds, but when I download it, the resultant video is 34 seconds long. Any idea why it doubles in length?

Yes, it saves it with fixed fps. Check the fps of your video, and save it with fps that you want. Et. imageio.mimsave(..., fps=30)

Thank you so much. Will do that.

Thank you so much. Will do that. Sorry, commented under the wrong account :)

Hi I have a similarly problem the "driver" has fps = 20 but the preview and DL video has only fps = 20.
I tried to change
fps = reader.get_meta_data()['fps']
to
fps = 30

But with no success how can I produce a video with same FPS as original (30)?


Windows nodes fail to come up in the cluster

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):
On 2.4-head - commit id: c0b1c4389

Deploy a windows 1903 cluster with prefix path in cluster.yml as

prefix_path: /opt/custom_path/
win_prefix_path: 'c:\host\opt\'

Windows nodes register. But the agent logs show error. time="2020-08-18T18:09:45Z" level=error msg="Remotedialer proxy error" error="Error response from daemon: invalid volume specification: 'c:\\host\\opt\\/opt:c:/host/opt'"

Expected Result:
Nodes should register and come up successfully
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.4-head - commit id: c0b1c4389
Installation option (single install/HA): Single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom windows
Kubernetes version (use kubectl version):

1.18

Verified on 2.4-head - commit id: 5de5e73ae
Scenario#1

Deploy a windows 1903 cluster with prefix path in cluster.yml as

prefix_path: /opt/custom_path/
win_prefix_path: 'c:\host\opt\'

Cluster comes up successfully
docker inspect kubelet shows "RKE_NODE_PREFIX_PATH=c:\\host\\opt",

Scenario#2

Deploy a windows 1903 cluster with prefix path in cluster.yml as

prefix_path: /opt/custom_path
win_prefix_path: 'c:\host\opt'

Cluster comes up successfully
docker inspect kubelet shows "RKE_NODE_PREFIX_PATH=c:\\host\\opt",

Scenario#3

Deploy a windows 1903 cluster with NO prefix path
Cluster comes up successfully
docker inspect kubelet shows "RKE_NODE_PREFIX_PATH=c:/",

Reopening for a fix in master.