LinkedList solutions in java

Hey, I'd love to work on this one. Could you assign this to me

I will do LinkedList problems with their solution and explanations. Please assign this issue to me.

Java Linked List Practice Problem with explaination and solution @bhumikatewary Check it out.


Update Kotlin logo in the documentation samples

Expected Behavior
Gradle documentation should use the current Kotlin logo:

Current Behavior
Gradle uses an old logo:

Context
https://blog.jetbrains.com/kotlin/2021/07/adding-volume-to-the-kotlin-identity/
See the download new logo link in the article: https://resources.jetbrains.com/storage/products/kotlin/docs/kotlin_logos.zip

Fixed by #21295


scene receives movement keys even when not "focused"

when the console is deployed over top of the scene view, the scene should not receive the keys typed into the console

probably all inputs should pass through the ui widgets. we should keep a key map of the desired action buttons and respond to both key down and key up events in the SceneView by setting/unsetting the relevant keys in the map

resolved by 9186033b69731dba8ab00a835433ab050be88060


Adding source information to AST nodes

Codecov Report

Merging #69 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   93.92%   93.97%   +0.04%
==========================================
  Files          93       93
  Lines         741      747       +6
==========================================
+ Hits          696      702       +6
  Misses         45       45

Impacted Files
Coverage Δ

lib/org/chromium/webidl/ast/Definition.js
100% <ø> (ø)
:arrow_up:

lib/org/chromium/webidl/BaseParser.js
100% <100%> (ø)
:arrow_up:

lib/org/chromium/webidl/ast/ExtendedAttribute.js
100% <100%> (ø)
:arrow_up:

lib/org/chromium/webidl/ast/Attribute.js
100% <100%> (ø)
:arrow_up:

lib/org/chromium/webidl/ast/Member.js
100% <100%> (ø)
:arrow_up:

lib/org/chromium/webidl/ParserRunner.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2903a9e...ed6b9c0. Read the comment docs.

@mdittmer PTAL, I have rewritten the code to use validate to trigger the factory

Added extra test to verify that an assertion error is thrown by validate when source is not injected


Implemented SetupPremake.py to Download 5.0.0-beta1

Describe the issue (if no issue has been made)
Closes #545
PR impact
List of related issues/PRs this will solve:

Impact
Issue/PR

Issues this solves
Closes #545

Other PRs this solves
None

Proposed fix
Implemented SetupPremake.py to download 5.0.0-beta1 instead of using 5.0.0-alpha16. In addition to being more stable, the beta adds support for Visual Studio 2022 should people wish to use it. This allows me to natively build projects for VS2022 by manually editing Win-GenProjects.bat. I have not edited Win-GenProjects.bat to avoid breaking the build for other devs who are not using VS22, but downloading the beta rather than the alpha gives everyone the option to use VS22 natively, and also generally adds stability over using the alpha.
Additional context
I tested this solution on Windows 10 Home 64-bit, it appears to download premake correctly and I was able to build and run the engine.
Premake 5.0.0-beta1 Release and Changelog

https://github.com/TheCherno/Hazel/blob/b46de4f0f258aa1d0a7e79717c974c43fcc3f785/scripts/SetupPremake.py#L8
Instead of defining constant version, I think we should get the latest version of premake automatically. This is the GetLatestPremakeVersion function I made
import requests
...
@classmethod
def GetLatestPremakeVersion(self):
    LATEST_ENTRY = 0
    TAG_FIELD = "tag_name"
    url = "https://api.github.com/repos/premake/premake-core/releases"
    headers = {
        'Accept': 'application/vnd.github.v3+json'
    }
    response = requests.request("GET", url, headers = headers)
    if (response.status_code != 200) :
        return "5.0.0-beta1"
    return response.json()[LATEST_ENTRY][TAG_FIELD][1:] # Strip 'v' character out of tag name. Ex: v5.0.0-beta1 -> 5.0.0-beta1

@nhathuy13598 did you want to submit your own pull request or have me update mine?

tag_name

You can update your pull request

@nhathuy13598 I updated the pull request with your function. See the commit msg for details:
Add Premake version auto lookup

Update the SetupPremake.py to download the latest available Premake
release by doing a GET request for release metadata in JSON format
and getting the first tag name. It strips out the leading v from the
semantic versioning. If the request fails it will default to the
5.0.0-beta1.

Credit for the GET request function goes to @nhathuy13598. I modified
their code by adding a comment and removing the classmethod directive,
as the GetLatestPremakeVersion function needed to be declared before
the class variables. I elected to define this function outside the
PremakeConfiguration class to keep the class variables at the top of
the file.

Closes https://github.com/TheCherno/Hazel#545


Texture: Serialize the noMipmap property

See https://forum.babylonjs.com/t/particle-editor-texture-props-spritesheet-order-particles/44837

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14419/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14419/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14419/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14419/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14419/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14419/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14419/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14419/merge#BCU1XR#0


make page indexing more efficient

Code has been reviewed and script has been tested in qa; going to call this good for now and close the issue.


Common module isn't usable

The common artifact isn't usable outside of Arch Loom Multiloader setups.
Vanilla Gradle or ModDevGradle can't remap the Yarn Intermediary mappings, would it be possible to ship a version with the official Mojang Mappings?

Hmm interesting issue, will investigate such possiblity


How to setup crt_cpm and crt_size key values with Google Ad Manager

I have already setup Ad server. I have followed all the required steps mention in the document. But Criteo team is saying that there are no key values in the GAM calls after the bid response, here is their response:
“Looks like there are no Criteo key values in the GAM calls after the bid responses. Charles log is attached. It seems something doesn't work properly and we are not able to see bid keywords in the ad requests.”
Criteo team has also confirmed that Ad Server is setup correctly. Then why they don't see these key values, do I need to send custom targeting (crt_cpm and crt_size) programmatically? If yes, then how to get values for crt_cpm?

I get price from Publisher Bid and set these values for crt_cpm. let me know if i missed anything. Here is my code:
public void onResponse(@Nullable Bid bid) {
    ...

    final Context context = getContext();
    int width = adView.getAdSize().getWidthInPixels(context);
    int height = adView.getAdSize().getHeightInPixels(context);

    adRequestBuilder.addCustomTargeting("crt_size", width + "x" + height);
    adRequestBuilder.addCustomTargeting("crt_cpm", bid.getPrice() + "");

    ...
}

Hello, you do not have to send custom targeting programmatically, enrichAdObjectWithBid() will. Make sure you have called enrichAdObjectWithBid() in your code.
As per documentation:
// load Criteo bids
Criteo.getInstance().loadBid(bannerAdUnit, new BidResponseListener() {
    @Override
    public void onResponse(@Nullable Bid bid) {
        // Your existing Ad manager request builder
        PublisherAdRequest.Builder builder = new PublisherAdRequest.Builder();

        if (bid != null) {
            Criteo.getInstance().enrichAdObjectWithBid(builder, bid);
        }

        // load Banner ad after Criteo bid is loaded
        PublisherAdRequest request = builder.build();
        mPublisherAdView.loadAd(request);
    }
});

For me bid is always null.

Criteo doesn't always respond with a bid, depending on different factors. You may want to test using test ad unit IDs that will always return test bids. https://publisherdocs.criteotilt.com/app/android/testing/#test-ad-unit-ids

@shukerullah are you able to finally get key values and complete the integration?

Yes, @irwansetiawan thank you


Preserve file permissions in zap_download.py

This is a workaround for this very old Python bug: https://github.com/python/cpython/issues/59999
Without this fix, zap-cli (and zap) don't end up executable after unpacking.

Actually the zap app on Mac is still borked even with this fix because symlinks aren't extracted correctly either... But at least zap-cli works.


allow examples.json as input to the compiler

RESTler should be able to have examples be provided/maintained separately from the API specification, similar to annotations and the dictionary.
Currently, when 'DiscoverExamples' is specified, an 'examples' directory is created with discovered examples, and a corresponding examples.json is written.  However, a missing piece is that only existing examples from the API specification can be discovered/modified.
The RESTler compiler should be able to take 'examples.json' as input, and use it as follows:

ignored when DiscoverExamples is true - new examples.json is written
if both the API specification and the example file provide examples, the example file examples take precedence (i.e. the default payload body will be the one from the external examples), and are merged with the specification examples (i.e., all values will be used by the payload body checker).

As part of this implementation, the format of the examples.json should be updated/improved.

This has been implemented - closing.


JuiceSSH 3.1.0 broke support for plugin library

Starting from version 3.1.0 of the JuiceSSH app, the support for the plugin library appears to be broken.
More specifically, the plugin permissions no longer seem to be recognized by the system, therefore are automatically denied.

Fixed in either 3.1.1 or 3.1.2.


How to know if the result obtained from get() method is from cache, or fresh from network?

Hello, i've been using the offline-first example using:
myStore.get(barcode).concatWith(myStore.fetch(barcode)).distinct();
I have one question about this feature.
I did exactly the same scenario with this, but i have a problem that each GET operation is also being used as analytic data.
My problem is when calling get() then fetch() for the first time (no cache at all)
as said from this issue: #34
it will hit the network, then hit the same network again causing 2 api calls sequentially.
That causes a problem in my server side which counts as double analytic data on the backend.
is there any way to skip calling fetch() when get() hits network?
or any method to know the result was obtained from cache/network.
thank you

Wow! i just knew the *WithResult method and it's exactly what i needed!
i'm still using java, so my solution is to do it like this:
`store.getWithResult(barcode).toFlowable()
.switchMap(fResult -> {
if (fResult.isFromCache())
return Single.just(fResult.value())
.concatWith(store.fetch(barcode).onErrorResumeNext(throwable -> store.get(barcode)))
.distinct();
else
return Flowable.just(fResult.value());
            });`

i'm closing this issue, thank you for the solution @pavlospt !


Map does not longer work on Android

Hello,
My code that used to work on both web and android doesn't work anymore on android.
In the android debug console, I have a resize event that produces an error. I don't know if this is related:
native CapacitorGoogleMaps.onResize (#6561217)
{callbackId: '6561217', pluginId: 'CapacitorGoogleMaps', methodName: 'onResize', options: {…}}
tab2꞉5:32:306
callbackId:
'6561217'
methodName:
'onResize'
options:
{id: 'my-cool-map', mapBounds: {…}}
pluginId:
'CapacitorGoogleMaps'
[[Prototype]]:
Object

and the error :
result CapacitorGoogleMaps.onResize (#6561217)
{message: 'Map not found for provided id.', code: '2'}
tab2꞉5:32:281
Unhandled Promise rejection: Map not found for provided id. ; Zone: <root> ; Task: Promise.then ; Value: Error: Map not found for provided id.
    at returnResult (:857:32)
    at win.androidBridge.onmessage (http://<IP_ADDRESS>:8100/tabs/tab2:832:21) {code: '2', data: undefined, stack: 'Error: Map not found for provided id.
    at … (http://<IP_ADDRESS>:8100/tabs/tab2:832:21)', message: 'Map not found for provided id.'} Error: Map not found for provided id.
    at returnResult (:857:32)
    at win.androidBridge.onmessage (:832:21)

Anyway, the page is displayed, with the map location but not the map displayed.
On web :

On Android :

I'm using Ionic 7 and the latest version of the plugin, my APIKey is also in the AndroidManifest, and i have restriction on my ApiKey. Here is the fragment of code of the map page :
async createMap() {
    const apiKey = "_...removed for evident reason..._";
    const mapRef = document.getElementById('map')!

    this.newMap = await GoogleMap.create({
      id: 'my-cool-map',
      element: mapRef,
      apiKey: apiKey,
      config: {
        center: {
          lat: 46.513605,
          lng: -1.7696065,
        },
        zoom: 12.30,
      }
    });

Sorry, I just noticed a bit late that I'm not in the right repo because I'm using @capacitor/google-maps and not capacitor-community.


RFE: try-merge -x

Promoting this tweet to a proper RFE. This is a little handwavey, and if it's too far out of scope or seems like it should be fixed some other way feel free to ignore it.
One feature I really like about git rebase is the -x option, which lets me run a script between each commit and halt the rebase at that point if it fails. This is great for verifying that the result builds at every step, or as an alternative to git bisect run for finding where my changes introduce a test failure.
try-merge looks like it only verifies that the merge succeeded in a textual sense. It would be nice if it had a similar -x feature to allow you to verify the tree's integrity in terms of being buildable or test-clean at every step. This would obviously be quite a lot slower, but in some cases that can be a price I'm willing to pay.
For instance, one project I have is reviving an old 3d driver in the Mesa project. It was deleted long long ago, so many of the project's internal APIs have changed over time. Merging the old driver's code back to current devel tip is trivial enough, but figuring out which of the resulting build failures to fix first is prohibitive; it makes more sense to pretend it was never deleted, and to work my way through internal API changes "as they happened". I had a hacky solution for this that just applied the old driver code to top-of-tree as a new commit, and then iteratively git-rebase my way forward from the old tree state just before it was deleted and cherry-pick the revival commit, try to build it, if it does decommit it and step forward in the rebase by one, etc... which needed a bunch of hand holding every time the build did fail.

-x itself sounds totally doable.
Just one detail to be sure we understand each other: do you know that try-merge starts merging from the top (most recent) and then only go back in the history to try to find the first not conflicting commit?

I... did not! My apologies, I haven't tried using it in combat yet. I was thinking it walked the history forward from old to new.
I'm wondering now if suitably clever git hooks can get me what I want. Will investigate.

It sounds very useful so I want to do it.
That would be the heuristic, correct me if I'm wrong:

find the highest mergeable commit possible without conflict (just like git try-merge)
merge it temporarily
run the -x command
if it failed, "automatic bisect" until the command pass

That sounds perfect.

(I did not forget about you. I was enjoying holiday :) I will do it at some point in a near future)

(I did not forget about you. I was enjoying holiday :) I will do it at some point in a near future)

(I still have not forget)

I want to refactor/cleanup the code. That's like my second or third attempt. It's a huge time eater. So it will be for next time again :grin: sorry!


Build failed

I am new to Gradle and I have no idea what's going on here. I just downloaded Gradle (2.2.1) and ran gradle build. This is what I got:
        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
        at org.gradle.launcher.Main.doAction(Main.java:33)
        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
Caused by: java.lang.IllegalArgumentException: invalid source release: 1.8
        at com.sun.tools.javac.main.RecognizedOptions$GrumpyHelper.error(RecognizedOptions.java:88)
        at com.sun.tools.javac.main.RecognizedOptions$9.process(RecognizedOptions.java:348)
        at com.sun.tools.javac.api.JavacTool.processOptions(JavacTool.java:242)
        at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:199)
        at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:68)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.createCompileTask(JdkJavaCompiler.java:59)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:41)
        at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:97)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50)
        at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34)
        at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)
        at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:158)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:138)
        at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:92)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222)
        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
        ... 44 more

BUILD FAILED

Total time: 4.179 secs

On 15 Jan 2015, at 19:37, Dan Zeman<EMAIL_ADDRESS>wrote:

Caused by: java.lang.IllegalArgumentException: invalid source release: 1.8

This seems to suggest that you are using a version of Java prior to JDK 8. Can you check the output of “java -version”?
M

It is 1.7:
java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
I thought I saw somewhere that 1.6 was required but perhaps it was Gradle's own requirement.

I suspect that this version has been installed with the last year's Ubuntu. So the scorer will not run with older Java?

On 15 Jan 2015, at 22:16, Dan Zeman<EMAIL_ADDRESS>wrote:

I suspect that this version has been installed with the last year's Ubuntu. So the scorer will not run with older Java?

It might work; I do not remember using any of the new language features. Try changing 1.8 to 1.7 in build.gradle and keep your fingers crossed. (It’s hard for me to try because I do not have the old JDK around anymore.)
M

Hmm, it does not:
:compileJava
/ha/work/people/zeman/sdp-toolkit/src/main/java/se/liu/ida/nlp/sdp/toolkit/io/GraphReader2015.java:10: error: cannot find symbol
import java.io.UncheckedIOException;
              ^
  symbol:   class UncheckedIOException
  location: package java.io

Confirmed that the code needs Java 1.8. The sdp.jar file (attached as a "release" to this repository) works when run under the new Java. Closing the issue, thanks.


Failing to load on bpf-next: calipso_skbuff_delattr: opening perf event: cannot assign requested address

Opening kprobe calipso_skbuff_delattr: creating perf_kprobe PMU (arch-specific fallback for "calipso_skbuff_delattr"): token calipso_skbuff_delattr: opening perf event: cannot assign requested address

From https://github.com/cilium/pwru/actions/runs/6719026297/job/18259892769?pr=283

@lmb suggested that https://elixir.bootlin.com/linux/v6.6/source/kernel/trace/trace_kprobe.c#L884 this might be the case. Indeed, we are using symbols instead of addrs - https://github.com/cilium/pwru/blob/v1.0.4/main.go#L314.

This is the new behavior introduced in 6.6 -<EMAIL_ADDRESS>

For now you could skip attaching if EADDRNOTAVAIL is generated and log a warning or something like that?

if EADDRNOTAVAIL is generated and log a warning or something like that

Yep, but we try to attach the same kprobe to multiple functions in a single go. We would need to figure out which function name is causing us troubles. I think we need to switch to addrs instead of syms.

I patched my vm and now I'm facing the same issue:
./pwru
2023/12/20 09:49:21 Attaching kprobes (via kprobe)...
712 / 2208 [------------------------>__________________________________________________] 32.25% ? p/s2023/12/20 09:49:21 Opening kprobe esp_input_restore_header: creating perf_kprobe PMU (arch-specific fallback for "esp_input_restore_header"): token esp_input_restore_header: opening perf event: cannot assign requested address
ubuntu# uname -a
Linux ubuntu 6.5.13-orbstack-00116-gb64875927ef8 #1 SMP Wed Dec  6 22:19:46 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

@darox We have released v1.0.5 which should have the tmp fix for the loading problem.

I just rebased and it works. Thx!


Suggestion: Change default font

In the armstrong prototypes I've been using the following as my $primary-font
$primary-font: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica, helvetica neue, Ubuntu, segoe ui, arial, sans-serif;
Whilst it looks like a piece of sh*t, it basically pulls the default system font for the OS the user is using, which I think is a nice starting point for a boilerplate and framework. Also having to change it from Averta every time is not idea. For more info including an expanded list of system fonts using this method see: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/

The issue I have with this is that it's not the same cross browser/platform. If it's going to look poor, we may as well make it look the same across everything. Otherwise if the default font isn't changed for any reason, you'll get different experiences in different browsers/platforms.

Not fussed, anything but Averta and Caveat!


Remove gitter-related artifacts

Since our Gitter account is no more, also removing all Gitter-related artifacts from the docs repo.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6b5a3e44ed853e11cb66e1c4af085fa0527fcbcb/

lgtm


ISRemoveGlass Error Line 70

ISRemoveGlass.lua line # 70 | Vanilla.
[17-06-23 23:35:42.151] ERROR: General     ,<PHONE_NUMBER>151> 354,968,969> ExceptionLogger.logException> Exception thrown java.lang.IllegalArgumentException at NativeMethodAccessorImpl.invoke0 (Native Method)..
Was removing glass with suture holders in close proximity inside. Action was cancelled on completion.

could be just connection issue

unable to reproduce


[Req]: Add a command to download resume

Contact Details
<EMAIL_ADDRESS>Explain the proposed feature
Add a new command that will download the resume in pdf format.
Explain the possible use cases for the feature
No response
Any other details you would like to provide?
No response

would want to work on it under hacktoberfest

Go for it 👍

can i do it under hacktober fest

Sure @ankitrout2903

Hey @TechSpiritSS Can I work on this also tell me further what to do next.

You can add sample PDF Link in JSON File and create a Download or Resume Command to download the Resume PDF File upon typing the command in the terminal

@TechSpiritSS In the html file where should I add the button to link to the resume?

There should be no buttons all commands line interface, you have to set a command instead of buttons.

@TechSpiritSS sure.

There should be no buttons all commands line interface, you have to set a command instead of buttons.

@TechSpiritSS Can I still work on this if I have not selected this project in SWOC?

Yes, but it won't be counted for SWOC if you haven't selected it

I have selected it already. Creating a PR.

Currently it is assigned to @SattyamSamania, you can ping him on discord and ask if he's having difficulties in implementing this I can re-assign this to you.

Currently it is assigned to @SattyamSamania, you can ping him on discord and ask if he's having difficulties in implementing this I can re-assign this to you.

@TechSpiritSS you can unassign me as I am having my exams so cannot give time. Thank you 😊

Sure, good luck for your exams 👍

Sure, good luck for your exams 👍

@TechSpiritSS Thank you 😊


defer elements on page load completely or on DOM ready

Hi guys,
I see issues regarding componentDidMount and so on, but I did not found anything anything about the possibility to defer element load not only on presence into viewport, but also after DOM is ready or page is fully loaded.
Is there anything I miss?
Into https://jasonslyvia.github.io/react-lazyload/examples/#/fadein it seems to defer images, but I can't understand how.
It should be very useful for us, since our page has an image on the top part of the screen
Thanks!!

I believe this is somehow beyond the responsibility of react-lazyload, it is up to you to make sure your app is rendered after DOM ready or page load.

I do not agree completely, because one of the scope of react-lazyload is (tell me if I'm wrong) to prevent application to load images all at once and reduce page load time. Isn't it?
Do you use this package in combination with others to solve the issue eventually ?

By saying lazy load, in frontend development context we mean to load stuff only if they appear in viewport in order to improve page performance and reduce unwanted networking expense.
What's your specific usage that might render a React App before DOM ready?

We have a SSR application and we focus on page speed.
We just want to serve important content as soon as possible and images after that.

To be clear we would like to load images after blue line (or red even better)

If you're using SSR, there is even no such DOM event (DOMContentLoaded or load) and react-lazyload will just render its children, so that will be your issue in this case?

Even with a Ssr rendering there are elements that should be rendered only
on client and only when dom is ready.
My problem is exactly what you see in the screenshot, I would like to load
assets later when page is ready
On Oct 17, 2017 03:28, "Sen Yang"<EMAIL_ADDRESS>wrote:

If you're using SSR, there is even no such DOM event (DOMContentLoaded or
load) and react-lazyload will just render its children, so that will be
your issue in this case?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jasonslyvia/react-lazyload/issues/127#issuecomment-337090385,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATHGjXSlItyVfW3gM7_qcwHaYxk6TnTFks5stALSgaJpZM4P2_jQ
.

Sounds like what you're asking for is a new feature - I use this library in a SSR webapp as well, but we prefer our images (if they're in the viewport) to be loaded ASAP so the user doesn't see it come in later and make pagespeed (aka perceived page load time) worse. This does sound implementable, but I'm not sure it's the right thing to do.

I agree, sure we can add some kind of document.readyState === 'complete' check, but is that necessary? will this behavior make others confused?

It should be an option so it does not change the default behaviour anyway.
On Oct 18, 2017 05:12, "Sen Yang"<EMAIL_ADDRESS>wrote:

I agree, sure we can add some kind of document.readyState === 'complete'
check, but is that necessary? will this behavior make others confused?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jasonslyvia/react-lazyload/issues/127#issuecomment-337448031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATHGjQd6JEmQ-wmKnZeySu99u_3LsIh3ks5stWyOgaJpZM4P2_jQ
.


Research analytics

Do analytics need to be included on every page?
What do some of these analytics terms mean?

Duplicate of #18.


Selection history when creating a new layer with Alt + [ should restore the selection to the previous layer

Closes #2137
Now selection history only updates after the Node creation transaction is finished.

I don't think this works as expected.
If I draw two rectangles and then press the alt + [, then the first rectangle should be selected again. In this implementation, nothing is selected.

!build

I don't think this works as expected.
If I draw two rectangles and then press the alt + [, then the first rectangle should be selected again. In this implementation, nothing is selected.

ah I see, I missed that while testing, this seems to be happening because I implemented a transaction check before updating the history.
Moroever I noticed that #2136 tries to fix a similar, that fix seems to have fixed this issue as well

As I thought, #2136 has fixed this issue as well, but while testing I found that, when we add 2 rectangles, we need to press alt + [ twice to get the selection back to the previous rectangle, same for going ahead in selection history.
But when selection tool is used to select them this issue does not occur.
I can propose a fix to this issue after #2136 is merged if you'd like.

@Keavon @0HyperCube I think the fix is complete, I did some testing and it now works as intended, please review the changes.

!build

I am unable to even select a layer.

It works locally but seems to be breaking during build.. I will look into this and report back.

@Keavon would you mind producing a build to test the latest changes ^^

!build

!build


Problem in install

Hi sir, it is great app but i can't install it in my local machine
when i run npm install it show me npm WARN deprecated is there is help with this problem please ?

npm outdated --depth=3
This command will analyze installed NPM-packages and their versions. The report will contain:
package name
latest version
current version
dependency path (down to depth level)
Hope, this information could help you to gather info about outdated packages.
Next step - get in touch with maintainers of the appropriate package, and ask them to update the package (maybe, you would like to send a pull request).
npm-check
There is a great npm package: npm-check, that allows checking outdated dependencies. Probably
My favorite feature: Interactive Update — run npm-check -u in the project folder. An interactive menu shows all required information about dependencies in the current folder and allows to update all dependencies in 3 seconds.
npm la <package-name>
also works, and will give you the most details about the dependency graph of a dependency.
npm ls <package-name>, does something similar but gives you less details

the probem is solved but when i run it it show me like this in cmd and white page in the app
./src/hooks/use-auth-listener.js
Line 20:6:  React Hook useEffect has a missing dependency: 'firebase'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
./src/hooks/use-content.js
Line 24:6:  React Hook useEffect has missing dependencies: 'firebase' and 'target'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
./src/components/player/index.js
Line 36:11:  'showPlayer' is assigned a value but never used  no-unused-vars
./src/containers/browse.js
Line 39:6:  React Hook useEffect has missing dependencies: 'category', 'slideRows', and 'slides'. Either include them or remove the dependency array. If 'setSlideRows' needs the current value of 'slides', you can also switch to useReducer instead of useState and read 'slides' in the reducer  react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

i install it using Yarn yarn install and run it using yarn start

Those are fine, just fill out the dependencies if need be and the app will work with or without them. I should have added them in, but it works still without them 👍

Those are fine, just fill out the dependencies if need be and the app will work with or without them. I should have added them in, but it works still without them 👍

it show me white blank page :(

In the console show me this error
`Uncaught t
index.js:1 Uncaught Error: The error you provided does not contain a stack trace.
at S (index.js:1)
at V (index.js:1)
at index.js:1
at index.js:1
at u (index.js:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
at invokeGuardedCallback (react-dom.development.js:292)
at flushPassiveEffectsImpl (react-dom.development.js:22853)
at unstable_runWithPriority (scheduler.development.js:653)
at runWithPriority$1 (react-dom.development.js:11039)
at flushPassiveEffects (react-dom.development.js:22820)
at react-dom.development.js:22699
at workLoop (scheduler.development.js:597)
at flushWork (scheduler.development.js:552)
at MessagePort.performWorkUntilDeadline (scheduler.development.js:164)
index.js:1 The above error occurred in the  component:
in App (at src/index.js:13)
in StrictMode (at src/index.js:10)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
console. @ index.js:1
scheduler.development.js:178 Uncaught t
index.js:1 Uncaught Error: The error you provided does not contain a stack trace.
at S (index.js:1)
at V (index.js:1)
at index.js:1
at index.js:1
at u (index.js:1)`

Have you setup Firebase?

Have you setup Firebase?

how i can do that ?

Have you setup Firebase?

Great it work fine now :) Thank you 🥇

I'm still facing the issue, could explain me how to fix it @aouniradouan ?


click/touchstart/tap events are not working on side menu on Android 4.1.2

I've tested my app on few android versions (4.2.2, 5.0.1), even on blackberry 10 and it's working fine.
But on Android 4.1.2 when I want to click on list at side menu nothing happens.
I think that it's something similar to this issue.

I have the same issue on Android 4.0.4. I've tested on Android 4.4.4, 5.0 and iOS and it's working fine. So, seems like it is a <= 4.1.2 issue.

I've been able to fix this by adding the 'overflow-scroll' class in the menu content div:
    {{#ionSideMenu side="right"}}

Menu

             Home

          ....

This works as long as the menu content does not overflow the screen size, otherwise the click event is not fired.
The same happens for the main content and the modal content, the click events are not fired if the content overflows the screen size. This is fixed when a transition is executed over the content, so if you are using {{#ionNavView}} for your content your events will work. For the modal content, I am showing the content with a VelocityJS effect so that the transition will make my events work.
As we mentioned before, this only happens on Android <= 4.1.2.


F# server is  crashing when the project is loaded

Describe the bug
F# server is crashing a soon a solution is loaded
System.AggregateException: One or more errors occurred. (Required property 'source' not found in JSON. Path 'context.diagnostics[0]'.)
 ---> Newtonsoft.Json.JsonSerializationException: Required property 'source' not found in JSON. Path 'context.diagnostics[0]'.
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EndProcessProperty(Object newObject, JsonReader reader, JsonObjectContract contract, Int32 initialDepth, JsonProperty property, PropertyPresence presence, Boolean setDefaultValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
   at StreamJsonRpc.JsonMessageFormatter.JsonRpcRequest.TryGetTypedArguments(ReadOnlySpan`1 parameters, Span`1 typedArguments)
   at StreamJsonRpc.TargetMethod.TryGetArguments(JsonRpcRequest request, MethodSignature method, Span`1 arguments)
   at StreamJsonRpc.TargetMethod..ctor(JsonRpcRequest request, List`1 candidateMethodTargets, SynchronizationContext fallbackSynchronizationContext)
   at StreamJsonRpc.Reflection.RpcTargetInfo.TryGetTargetMethod(JsonRpcRequest request, TargetMethod& targetMethod)
   at StreamJsonRpc.JsonRpc.DispatchIncomingRequestAsync(JsonRpcRequest request)
   at StreamJsonRpc.JsonRpc.DispatchIncomingRequestAsync(JsonRpcRequest request)
   at StreamJsonRpc.JsonRpc.HandleRpcAsync(JsonRpcMessage rpc)
   --- End of inner exception stack trace ---
   at Ionide.LanguageServerProtocol.Server.startWithSetup[client](FSharpFunc`2 setupRequestHandlings, Stream input, Stream output, FSharpFunc`2 clientCreator, FSharpFunc`2 customizeRpc) in /_//src/LanguageServerProtocol.fs:line 179
   at Ionide.LanguageServerProtocol.Server.start@268-2.Invoke(FSharpFunc`2 customizeRpc) in /_//src/LanguageServerProtocol.fs:line 268
   at FsAutoComplete.Lsp.startCore(ToolsPath toolsPath, DirectoryInfo stateStorageDir, FSharpFunc`2 workspaceLoaderFactory) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/FsAutoComplete.Lsp.fs:line 2950
   at FsAutoComplete.Lsp.start(ToolsPath toolsPath, DirectoryInfo stateStorageDir, FSharpFunc`2 workspaceLoaderFactory) in /home/runner/work/FsAutoComplete/FsAutoComplete/src/FsAutoComplete/FsAutoComplete.Lsp.fs:line 2962
[Error - 10:23:51] The F# server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

Machine info

OS: Windows 11
.NET SDK version: 6.0.401
Ionide version: v7.2.1

I got the same issue.

@rzlink Is the code highlighting and auto complete working for you? In my case I can't work with VS Code because none of those are working.

@JohnnyFasching code highlighting works for me, but auto complete not working.

I also get output from F# language server
starting
Logging started
./logs/debugLog-9-30_11;10-53s--.log
logger created
[11:10:53 INF] info log
[11:10:53 WRN] warn log
[11:10:53 ERR] erroor log
fist log should have happened
[11:10:53 INF] created new Project Manager
[11:10:53 WRN] Couldn't find FSharp.Core.dll in C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.9
[11:10:53 WRN] Couldn't find System.ComponentModel.Composition.dll in C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.9
[11:10:53 WRN] Couldn't find System.Runtime.InteropServices.WindowsRuntime.dll in C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.9
[11:10:54 INF] Add workspace root d:\github\dummy
[11:10:54 INF] returning capabilities
[11:10:54 INF] Running inititialization

@baronfel  here is the log.
fsharp_lsp_crashing.txt

Thanks @rzlink - it looks like we regressed some of the type definitions for the LSP library - I'll work on getting those updated and rolled out through FSAC and Ionide.

Thanks @baronfel  for the quick fix.
One question, do you know the warning which dlls not found?
I fount the missing dlls (FSharp.Core.dll, System.ComponentModel.Composition.dll)  are under C:\Program Files\dotnet\sdk\6.0.401\FSharp, why it search folder "C:\Program Files\dotnet\shared\Microsoft.NETCore.App"?

The DLLs in the FSharp folder are the runtime dependencies for the F# compiler, they're not intended to be used by other F# applications directly.
The DLLs in the FrameworkReferences folders like the second path are meant to be those runtime dependencies. These directories are usually located by the MSBuild logic that is part of building your projects, and the error you're alluding to is because we're having problems replicating that logic in the ionide/proj-info repo for every possible combinations of .NET SDKs. We're working on it, though!


[AAP-12147] Add clipboard copy to the git hash field in the rulebook activation details page

Add clipboard copy to the git hash field in the rulebook activation details page.

Hi @lgalis, is this using the same component as the UI library is? I made a similar comment on this issue: https://issues.redhat.com/browse/AAP-11826
But it looks like in the UI library, the field does not wrap causing the copy icon to be on the next line. Please advise. Thanks!


define multiple roles for a user with oacc

In the feature list of OACC I find the following text "... OACC supports full RBAC ...".
My question is: How I can define users with multiple roles?
Following I will describe my current scenario:

there are multiple hospitals
different specialist (Radiodiagnosis, Nuclear medicine, Surgery, Pathologic anatomy, Radiation therapy, Oncology, Physical rehabilitation, Psychology, Genetic) are in every hospital (thats are the users; requesting objects)
a user may have several specializations
different patient are in every hospital (thats are my controlled objects)
a patient have some data or documents (some of them are also controlled objects)

The following permissions we must define:

specialists of a hospital can see the full patient data from their hospital
specialists from other hospitals can see only some patient data or anonymised data
some specialist (Radiodiagnosis, Pathologic anatomy) can process image analysis functions on images from patients
other specialist can only see the result of the image analysis

Can anybody help me? Thank you!

Oh, I found the answer her:
https://groups.google.com/forum/#!topic/oacc-users/Y9n7VH6KI2w
https://groups.google.com/forum/#!topic/oacc-users/Q4Es5UGltXc

Thanks for your interest in OACC, Stefan!
I'm glad you found what you were looking for before I even saw your question.
Please feel free to let us know if you have any other questions.
Regards,
-Fabian

@Fabian: Thanks for your response!
Now I understand, how I can use *inherit. But now I have the following challange.
Is there the possibility to define the following?

I can't use the functionality of domains, because a specialist can belong to several groups. The same applies to patients.
I tryed the example shown above in my implementation. But I can't checked the permissions like
Has S1 the permission read for P1
with the function AccessControlContext.hasResourcePermissions, because the permission read isn't define for the class patient.

Hi Stefan -- nice work on your progress in understanding OACC capabiilties! Interestingly, the scenario you are trying to model is in a domain we are familiar with. I have a question, and a solution to your problem.
I notice that [group P1] inherits from the patients [P1] and [P2], do you really need this? Typically, a group would have specific (i.e. non *inherit) permission to the objects that it has access to.
So instead of:
[group P1] ==(*inherit)==> [P1]
[group P2] ==(*inherit)==> [P2]
It would look more like the following:
[group P1] ==(read/write)==> [P1]
[group P2] ==(read/write)==> [P2]
Next, it looks like you want [group S1] to inherit the permission of [group P1], you currently have:
[group S1] ==(read/write)==> [group P1]
Instead, it should look like:
[group S1] ==(*inherit)==> [group P1]
Hope this helps, please let us know if you have more questions.
Regards,
Adi

Stefan,
One of the points Adi was trying to make is that resources typically will not inherit from secured objects directly, but from resources that actually have concrete permissions on the secured objects. Similarly, you normally would not inherit from other authenticatable resources (users) directly, but inherit from a shared role.
I've taken the liberty to draw up a simplified example scenario, to further illustrate OACC's concepts when it comes to modeling RBAC, but please keep in mind that this might not necessarily be a solution to your specific domain.

In this example, we have two practicioners: Alice and Bob. To access patient charts, they don't have direct permission on charts, and they don't inherit any permissions from patients. In fact, a patient is supposed to have less permissions (READ only) on his/her individual chart, whereas Alice or Bob need to be able to WRITE to each chart, as well.
Because both Alice and Bob work at Hospital_A, they inherit READ and WRITE permissions on any patient charts of Hospital_A through global permissions on the ResourceClass-Domain tupel (PatientChart, Hospital_A) from the Practitioners user role. Think of this role as bundling all shared permissions between the different specialties. The global permission here helps with preventing an explosion of permissions for each new patient. In general, it's a good idea to try and find opportunities to employ global permissions when modeling your resources, because then you are unleashing the full power of RBAC.
As you can see, Alice's specialty is RadioDiagnosis, whereas Bob is both a Surgery and Oncology specialist. The RadioDiagnosis specialty acts like a role that grants the additional ANALYSE_IMAGE permission on patient charts.
So if you asked oacc.hasResourcePermission(accessor, chartOfPaul, analyseImagePermission) it would return true only when Alice is the accessor resource, and false when it's Bob.
For simplicity, the example diagram doesn't illustrate additional permissions for specialty roles other than RadioDiagnosis, and doesn't show any detail in the other domain.
In summary, the best practices here are as follows:

resources should never *INHERIT from secured objects, but only from resources that represent roles
conversely, resources should never have concrete permissions (=permissions other than *INHERIT) on other roles

@Adi & @Fabian: Thanks for your responses and I wish you a happy new year!
I will show, if a can use global permissions. But with this solution I have an other problem (see example from Fabian above): Bob, Alice, Paul and Peter can be only in one hospital. What can I do If Bob works on Hospital_A and Hospital_B or Peter will transferred to another hospital?
If I use the solution from Adi, I have the following problem: If I have a change on the permissions for a group of specialist (e.g. group S1), I must update many relations.
I am afraid that I probably can not solve all my requirements with OACC. Maybe I will have a look for other approaches, for example neo4j.

Stefan,
Doctors working at multiple hospitals and patients being admitted to more than one hospital are of course valid use cases and I didn't mean to suggest that OACC does not support these. A resource can be part of permission relationships with any other resource, regardless of which domain it belongs to. I've illustrated another model that takes those use cases into account, below:

As you can see, I've moved the practitioners and patients into a separate domain. Bob is now a practictioner in both Hospital_A and Hospital_B, simply because he *INHERITs from the respective Practitioners role of each hospital. Similarly to Peter, who now has patient charts in both hospitals, Bob can access both of Peter's charts, whereas Alice is only authorized for the charts from Hospital_A.
The beauty of OACC is that you can model your security graph to fit your needs, and then don't have to worry about implementing the queries that traverse the graph when you are performing an authorization check.
Let me know if you have more questions, Stefan!
I'm confident that you can make OACC work for your project, because I've used it in a similar healthcare setting before (;


L10s Prime (r2232b) - Sweeping mode missing

Hi Tasshack,
I just bought L10s Prime (r2232b) & used Dreame account login.
Today, I would like to sweep only, but I cannot find sweeping option in cleaning mode.

It is available in Dreame app.

Thank you for taking the time to look into this problem. 🙂

Integration thinks that this is a model without mop pad lifting feature and disables sweeping while the mop pads attached. I will fix that.

I have a similar problem with dreame.vacuum.r2210, I created a separate question but it might be more logical to add a request to this thread.


tabular_learner get_emb_sz is called on emb_szs if given

in tabular/learner.py:tabular_learner function we have embedings size calculation
25:  emb_szs = get_emb_sz(dls.train_ds, {} if emb_szs is None else emb_szs)
which is calling get_emb_sz(emb_szs) if emb_szs is provided
this will produce Error if provided emb_szs  was product of get_emb_sz(to) :

'list' object has no attribute 'get'

looks like its a typo, suggested fix: move the ")":
emb_szs = get_emb_sz(dls.train_ds, {}) if emb_szs is None else emb_szs

No, emv_szs is supposed to be a dictionary key to size (so you can choose the sizes of some, but still use the default for others).


Vertica running (in cluster) on GKE failed to install Vertica Extension packages

Facing an issue installing vertica packages
Running:
admintools -t install_package -d **** -p **** --package default
Receiving some errors:
Checking whether package VFunctions is already installed...
Package VFunctions is already installed
Checking whether package flextable is already installed...
Installing package flextable...
Failed to install package flextable
Checking whether package DelimitedExport is already installed...
Package DelimitedExport is already installed
Checking whether package JsonExport is already installed...
Package JsonExport is already installed
Checking whether package kafka is already installed...
Installing package kafka...
Failed to install package kafka
Checking whether package approximate is already installed...
Package approximate is already installed
Checking whether package ComplexTypes is already installed...
Package ComplexTypes is already installed
Checking whether package OrcExport is already installed...
Installing package OrcExport...
Failed to install package OrcExport
Checking whether package place is already installed...
Installing package place...
Failed to install package place
Checking whether package txtindex is already installed...
Package txtindex is already installed
Checking whether package voltagesecure is already installed...
Installing package voltagesecure...
Failed to install package voltagesecure
Checking whether package ParquetExport is already installed...
Installing package ParquetExport...
Failed to install package ParquetExport
Checking whether package MachineLearning is already installed...
Installing package MachineLearning...
Failed to install package MachineLearning
Checking whether package logsearch is already installed...
Installing package logsearch...
Failed to install package logsearch
I opened all these ports:
TCP/SSH 22
TCP/UDP 4803
TCP/UDP 5433
UDP 4804
TCP 5434
UDP 6543
as mentioned here:
https://knowledge.broadcom.com/external/article/94764/dr-installation-failed-to-install-vertic.html
Any ideas?
Thanks

What image are you using? Is there a particular package that you are looking for?

vertica/vertica-k8s:12.0.2-0
flextable is one of the packages i need.

I just saw this that some of the commands with admintools don't support GCP.

We support the operator on GCP...
flextable should already be installed. You don't need to install that package manually. It would have been installed when you created the database. Do you still have the operator logs from when create db was done?
kubectl logs --selector control-plane=controller-manager --container manager
If you do have these logs, you should see from the create db command the packages that were installed, and flextable should be one of them.

Please reopen if you have the operator logs showing the create database didn't install flextable.


Fix some missing docs and Clippy lints

I was looking at another making a different PR and Clippy was warning me about a bunch of things. Figured it would be better in a separate PR then combining them with unrelated changes.

Great, thank you!


Fix compilation error when compiling on MinGW G++ 8.3.0

Fixes #152 on 2.7.x branch
Fix is also in #153 for master branch

Coverage remained the same at 100.0% when pulling a2c7e9c1eab56af9d7dd507a3ed79dbe64b49102 on pleroux0:fix_compile_mingw_830 into d57aad7c96653f3bf609c21884a13377f79cd3ab on taocpp:2.7.x.


Interactivity does not work in MudBlazor WASM template for Visual Studio for .NET 8

Bug type
Component
Component name
TextField, Button
What happened?
Simply start installed MudBlazor WASM template in Visual Studio 2022 for .NET8 without any coding and it will not work. When going to Counter page and clicking the button, event is not fired. All other controls do not show interactivity like drawer, TextField etc. As I can see mode is set to IntractiveWebAssembly in routes and Head outlet, so, I don't know what is missing there sine that template is provided by MudBlazor people I suppose...
Expected behavior
Expected behavior is that interactivity will work on MudBlazor components. For example button click would be fired and counter would increase on the counter page.
Reproduction link
https://try.mudblazor.com/snippet/GaGoaSuKrbIzrfHH
Reproduction steps

Install MudBlazor templates for Visual studio
Create new project by selecting MudBlazor Web Assembly template
Run the project
Navigate to Counter page
Click Counter button
Nothing happens and counter should increase (method in the razor page is not called)
...

Relevant log output
No response
Version (bug)
.NET 8
Version (working)
No response
What browsers are you seeing the problem on?
Edge
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi.
Can you upload your project in zip or as git repository?


Adding support to install features and fixes

Summary

Add support to install Liberty features and Liberty fixes.
Use Cases

Most liberty profiles have a subset of all available features.   This PR will give the user a method to install liberty features they want to use with a smaller footprint profile.   Features are specified in a space delimited list in the environment variable BP_LIBERTY_FEATURES.
iFixes are interim fixes that can be applied to a liberty installation  Typically, these are security or vulnerability fixes that require immediate remediation and can not wait until the next Liberty release.   This PR provides a method to install iFixes using an external configuration package.
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Closing in favor of https://github.com/paketo-buildpacks/liberty/pull/123/


ModuleNotFoundError: No module named 'gradio'  | Even though it is installed

Hey, I created an anaconda environment for this, using python 3.10.
I ran pip install -r requirements.txt, I see it successfully installed Gradio, no errors there.
But when I run main.py, I have the following errors:
(base) F:\Dossiers\Stable-Diffusion-Depth-Standalone>python main.py DepthMap v0.4.3 (<none>) running in standalone mode! Traceback (most recent call last):   File "F:\Dossiers\Stable-Diffusion-Depth-Standalone\main.py", line 39, in <module>     import src.common_ui   File "F:\Dossiers\Stable-Diffusion-Depth-Standalone\src\common_ui.py", line 3, in <module>     import gradio as gr ModuleNotFoundError: No module named 'gradio'
I'm using Windows 10, I have no idea why this might be happening. Running gradio from the environment works, so gradio is well installed.
Any ideas what might be causing this ?
Thanks !


Intellisense showing invalid argument for az group name: --rg-name

From @aws-scripting-guy on January 30, 2019 23:19
Using latest Azure CLI tools for VS Code 0.4.2
Steps to reproduce the issue:

Typing in .azcli file
az group create
Intellisense suggesting --rg-name as required argument for group name.  There is also missing help (stuck in Loading)

Right-click and Run line in the terminal
az group create --rg-name myGroup2 \
--location westeurope --tags 'Environment=Test'

Output
az group show: error: argument --name/-n/--resource-group/-g is required

Solution:
pass argument -n or --name for resource group name
Copied from original issue: Microsoft/vscode-azurecli#44

@tjprescott I've moved this issue from the VS Code extension's repository because it seems to be caused by a similar discrepancy as #8179.

@chrmarti our online docs and az interactive are all displaying correctly in 2.0.56.

@tjprescott I'm using cli_ctx.invocation.commands_loader.load_arguments(command.name) to get at the arguments. Is there a new way for doing this?

@chrmarti recommend you get in touch with @adewaleo. He's familiar with what changes were made to fix docs and that would likely be what you need. Additionally, he's spearheading efforts to clarify our public signature and the functionality you guys need should be  key part of that discussion. I'd recommend reaching out to him via email.


Plan for unit tests

@FedericoGarza and team
I am curious to understand the plan to add unit tests for the Nixtla libraries (hierarchicalforecast, statsforecast, etc). I see that the development is done using some sort of notebook exports, but I do not see any corresponding unit tests or regression tests in the repo. Is there a plan to add such tests?
Thanks!
Note: The question came to mind after filing #158  and #159.

I might have been mistaken. It looks like the tests are embedded at the bottom of the notebook itself. Please ignore this issue if they are sufficient to test the library.

I might have been mistaken. It looks like the tests are embedded at the bottom of the notebook itself. Please ignore this issue if they are sufficient to test the library.

yep, the all the notebooks that we export to the library have embedded unit tests.


Why remark-parse used without commonmark option?

It seams that react-markdown staring from 3.0.0 isn't commonmark compliant any more because commonmark option is disabled by default in remark-parse. It's more breaking than public api changes and there is no notes about it. This was done on purpose?

Yes. I got so many requests for tables and other non-commonmark features that I decided to switch. I could enable the commonmark option, but I'd have to make sure documentation clearly stated that certain features simply won't work in that mode.

I understand. And want to clarify that Commonmark spec allow adding any extensions we want (like tables). It's main goal is to make parsing more deterministic by strict syntax.
There is even list with proposed extensions.
Also github made there flavors upon commonmark spec. So I think it's a good idea to continue using commonmark ;)

At least we should have ability to pass commonmark option to remark-parse. I'd say it should be turned on by default but that would breaking change to v3 and backward compatible to v2 🤔

I'd be open for adding the option. I don't want to enable it by default - I think that will lead to more support issues rather than less (though I appreciate a stricter format on a personal level).

Not going to argue 👍
But please mention in Readme that react-markdown@3 isn't commonmark compliant by default. This could be a big surprise for v2 users.

Also it would be good to point that remark-parse has some inconsistency with commonmark spec.

This is now (kind of) possible by using the  parserOptions feature in v4.1.0:
<ReactMarkdown source="# yer markdown" parserOptions={{commonmark: true}} />


Cursor won't move when a long text is pasted

I have question related to jQuery Terminal
I am pasting a long text to the demo, and when I use left and right arrow to move around, it's unmovable, and the page is hang. Do you have any suggestions to make it work with long text?

Do you have link to that demo?

You mean demo on the website? What text did you've pasted?

Yes. It's a lorem text:

Phasellus augue lectus, accumsan pellentesque ultrices sit amet, eleifend vitae tellus. Phasellus cursus elit nec lorem rutrum condimentum. Ut auctor nulla id facilisis vehicula. Cras laoreet velit vitae convallis eleifend. Suspendisse potenti. Morbi maximus sapien id risus sodales dapibus. Suspendisse vulputate hendrerit ex, a vulputate augue vulputate et. Donec sit amet finibus eros, ut eleifend ligula. Quisque tincidunt, neque eget porta tempor, nibh leo suscipit diam, in scelerisque arcu sapien non sem. Pellentesque faucibus velit ut nunc imperdiet lobortis. Suspendisse bibendum nunc eget laoreet fermentum. Ut purus tortor, varius ut ipsum id, convallis dapibus ligula. Sed ac dui commodo est ultrices vulputate. Integer in luctus quam, vitae rutrum elit. Phasellus fermentum quam id justo ultricies, ac pulvinar nisl blandit. Maecenas non venenatis sapien, sit amet blandit ex.

For me it's just slow, it unhang after a while (couple of miliseconds). The problem is that on each cursor change the whole command line is re-rendered. I need to figure out how to not render whole command. Maybe update only single line were cursor is located.
This can be improved. Thanks for this report.

I've made some improvements, there is still issue with render, reflow happen 2 times one because of getPropertyValue in function fix_cursor related to cursor animation. Maybe I will be able to remove that function and put responsibility to the user, to call some function after change of --animataion css prop. Or add api to change cursor animation in JS (that will update --animation css prop).

You can check devel branch. I works much better now.

Thanks. It works great!


Plugin not working anymore

The plugin doesn't work anymore; here's the error message:
This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
Logs:
This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[Xiaomi Mi Air Purifier 3H] Connected to "Xiaomi Mi Air Purifier 3H" @ IP ADDRESS
[homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Life Level': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info.
[04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Change Indication': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info.
[04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Life Level': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info.
[04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Change Indication': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info.
[04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'PM2.5 Density': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info.
[04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Current Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of null (reading 'value'). See https://git.io/JtMGR for more info.
Plugin Config:
{
        "name": "Xiaomi Mi Air Purifier 3H",
        "address": "x.x.x.x",
        "token": "token",
        "enableAirQuality": true,
        "enableTemperature": true,
        "enableHumidity": true,
        "filterChangeThreshold": 5,
        "enableFanSpeedControl": false,
        "enableChildLockControl": false,
        "accessory": "XiaomiMiAirPurifier",
        "_bridge": {
            "username": "bridge",
            "port": 34473

Environment:

Plugin Version:
Homebridge Version: 1.4.0
Node.js Version: 16.13.2
NPM Version: 8.3.1
Operating System: Raspbian

No idea if there is a solution?

Same problem.

New install. model=zhimi.airpurifier.mb4 aka Mi Air Purifier 3C. I have all the optional parameters set to false. logs show it is connected however the accessory doesn't update in the home app based on the device state, nor can the home app control it.

Any update? Is there a fix in the works, or is there an alternative plugin to move to?

Same issue. https://github.com/merdok/homebridge-miot seems to work fine as an alternative.


AK map is not scaling properly

https://github.com/deldersveld/topojson/blob/master/countries/us-states/AK-02-alaska-counties.json
In Alaska map, its few west Iceland showing at the rightmost location on the world map, resulting AK counties map displaying in very small size. can you please correct it?

Did anyone got the solution for this .If so can you please share how to increase the scale of Alaska


python3Packages.pyzerproc: 0.4.9 -> 0.4.10

Motivation for this change
Update to latest upstream release 0.4.10
Change log: https://github.com/emlove/pyzerproc#0410-2021-11-23
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 147200 run on x86_64-linux 1

2 packages built:

python38Packages.pyzerproc
python39Packages.pyzerproc


Enforce virgilio only to accept named module functions

Virgilio now accepts modules without a named function constructor, this can lead to unexpected behaviour, I enforced the loadModule$ function only to accept named functions. Added a test scenario also.

I also don't see the problem with allowing anonymous functions as modules. If I see a use case we can reconsider. Until that point, I'm closing this.


[FEATURE]: Add Search Icon in Search Input Field in Contributors Page

Is your feature request related to a problem? Please describe.

Add Search Icon in Search Input Field in Contributors Page.
It gives advancing Rich UI Experience

Describe the solution you'd like

Go to "https://product-3-d.vercel.app/contact"
Observe Search Input Field . I want to add Search Icon in Right End Side.

Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@NarendraKoya999 What about search functionality?


Make APK with patches?

Hello. If the xposed module patches the app, couldn't I just backup the app with titanium and update to nougat, keeping the background playback?

No.
Xposed module doesn't patch the app. It hooks at runtime and changes its
behavior on the fly.
You are speaking about the other way to achieve background playback. You
can "patch" the Youtube app using the application named Lucky Patcher using
my custom patch, which is indeed based on the module. You can patch it when
installed if rooted and this is the ONLY recommended way. Also, you can
rebuild a patched apk even if not rooted, but you won't be able to install
it over built-in Youtube app and even if, signing into your account won't
work, all of the above due to signature mismatch.
And yes, Lucky Patcher DOES work on rooted Nougat... for some, but does not
for others ;)
But if you're on rooted 7.x and can't live without background playback, you
may want to try it.
pzdr
es
24 sty 2017 18:37 "BeastMode6"<EMAIL_ADDRESS>napisał(a):
Hello. If the xposed module patches the app, couldn't I just backup the app
with titanium and update to nougat, keeping the background playback?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pylerSM/YouTubeBackgroundPlayback/issues/298, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGisqJNwBvT5SRIchJDsTiCIPN1u73CPks5rVjb0gaJpZM4LskBm
.

Well right now I am on Marshmallow, but I really want to upgrade to Nougat. I absolutely cannot live without background playback :P. Couldn't you patch GPlay Services to allow for sign in on mismatched signatures?

Well right now I am on Marshmallow, but I really want to upgrade to Nougat. I absolutely cannot live without background playback :P. Couldn't you patch GPlay Services to allow for sign in on mismatched signatures?

As @esgie said - just use Lucky Patcher - I am myself on 7.1.1 and it's working fine - just like the module. It plays videos in background and displays notification. You just need to be rooted :P

I got it, using the lucky patcher method. I was even able to stay signed in.

Works fine with custom patch and lucky patcher here. Did you guys also found a way to remove these annoying ads ?


[Uploadable] UploadableFileName is not correct when used with appendNumber: true

Hi,
in my yaml file I use Uploadable like this:
gedmo:
    uploadable:
      allowOverwrite: false
      appendNumber: true
      pathMethod: path
      filenameGenerator: ALPHANUMERIC

fields:
    name:
      type: string
      gedmo:
        - uploadableFileName

When I upload file test.jpg for the first time I have in path specified by pathMethod file called test.jpg. But when I try to upload same file again, path is correctly set  as "path/to/file/test-2.jpg" but name stored in database by uploadableFileName is still "test.jpg". Shouldnt it be "test-2.jpg"?
I think problem is in Gedmo\Uploadable\UploadableListener in moveFile method when  generated filename is set to $info['fileName'] but before $appendNumber logic is used.
When used like this I cant predict correct filename because i have different filename in file system and in database.
If I use uploadableFilePath instead of uploadableFileName everything is ok, as in $info['filePath'] the filename is generated correctly.

+1
i have the same problem.
and it became a VERY BIG problem in my devellopment.

I am working on it. I will hopefully send PR by end of this week.

that would be great @vrbata since the original maintainer of uploadable is not reachable ;)

@l3pp4rd PR #1540 sent as promised

great, thanks, was merged a possible BC break will be mentioned in readme, but it is a good timing since the 2.5.0 release is going to be the next, with some BC breaks.

the 2.5.0 release is going to be the next, with some BC breaks.

Might I suggest adhering to Semantic Versioning and making the next release 3.0.0 if the release contains BC breaks? That would prevent lots of people using this library some headache. For example: The StofDoctrineExtensionsBundle (which I assume many people using this library in a Symfony project use) specifies the requirement as ^2.3.1, which makes a 2.5 release eligible when running composer update. Since it contains BC breaks, people might be upgrading and finding their projects broken, which is exactly what SemVer is trying to solve.

A 3.0.0-alpha would propably be the most appropriate. Add a few alpha releases, allowing peope to break BC for a month or two...


Adding user_metadata

Hi guys,
I'm looking at a way to add user_metadata to a given user, currently I have:
function my_auth0_update_user($user_id, $attrs) {

    $domain     = WP_Auth0_Options::Instance()->get('domain');
    $client_id  = WP_Auth0_Options::Instance()->get('client_id');
    $api_token  = WP_Auth0_Options::Instance()->get('auth0_app_token');

    return WP_Auth0_Api_Client::update_user($domain, $api_token, $user_id, $attrs);
}

function my_auth0_update_current_user($attrs) {

    $current_user = get_currentauth0user();
    $user_profile = $current_user->auth0_obj;

    return my_auth0_update_user($current_user->auth0_obj->user_id, $attrs);

}

my_auth0_update_current_user(array(
'user_metadata' => array('k' => 'v')
));

This works, however, the user_metadata only refreshes when a user logs out and logs back in.
Secondly, I can't find a way to find the Auth0 user ID based from the WordPress user ID. So we have to use the current user each time, which could become problematic if you're trying to update someone else's profile.
I've tried using the Auth0 Edit Profile Widget, however it seems to throw a React error and I'm not sure what the user_token would be.
Thirdly, the get_auth0currentuserinfo() func always returns false. Not sure why this is, as get_auth0currentuser() seems to work fine.
So TL;DR

Is there a way to update the user_metadata and have it refresh automatically?
Is there a way to find the Auth0 user id via the WordPress user ID?
The get_auth0currentuserinfo() function always returns false, however get_auth0currentuser works.

Is there a way to update the user_metadata and have it refresh automatically?

The user profile is only updated on logins, You might need to refresh it after updating the user profile.
This is the way the plugin stores the user info in the user_meta, https://github.com/auth0/wp-auth0/blob/master/lib/WP_Auth0_UsersRepo.php#L165-L170 you should do the same with the new profile

Is there a way to find the Auth0 user id via the WordPress user ID?

Yes, check the user meta for that user,
https://github.com/auth0/wp-auth0/blob/master/lib/WP_Auth0_UsersRepo.php#L165-L170

The get_auth0currentuserinfo() function always returns false, however get_auth0currentuser works.

ok I will check

Hi Glena,
Thanks for getting back.
The only way I can see how to get user_metadata from Auth0 is to save the users access_token at login, then use that to request the user_metadata from Auth0 on subsequent requests. Is this the right way to go about it?
My desired setup would be:

User logs in to both website 1 and website 2 using Auth0 SSO.
User updates arbitrary information on website 1.
User refreshes page on website 2 and the information from website 1 is there.

Yes you are right, but not the access_token, the id_token.
about your setup, this will only happen if the user is not logged into website 2 so when the user accesses there it will update the user profile. If the user is already logged in site 2, the profile will not be updated. In this case, you will need to build some api to call in the other site each time you change something on the profile to get it synchronised.

Can data not be stored globally for the user rather than an individual login?

sorry didnt understand what you meant

Maybe I'm thinking about it wrong, but if a user stores something transient such as a shopping list to their user_metadata, how can that shopping list be shown on other applications without the user needing to re-authenticate?
Is there a way to invalidate a JWT and force other applications to refresh on load?

No. It is not an issue related to auth0 but how to synchronise your data between your apps. In this scenario Auth0 is just a data store and you will need to define how do you want to deal with this.
Posible approaches:

Create a webhook on each or your apps and each time you change something on the metadata, you will call this webhook to notify them to update certain user.
Manually call the Auth0 API to fetch the user profile and update the info of the logged user
Use refresh tokens so each time the token expires, you use it to fetch a new one.

For the latest, I will need to do a couple of changes to give you the refresh token in to the user login action (https://github.com/auth0/wp-auth0#user-login-action) so you can do the rest (check if the token expires, fetch a new one and update the user profile).

Thanks Glena.
I think I've found a solution to this, but would like your input on one thing:

User logs in at client1.com.
Client1.com performs a callback to master.client.com with responseType: code. Master creates a WP user account and is the source of truth for extended profile information (including shopping lists etc)
Client1.com can now send a JWT header in each request to access the profile information on master.

Where I'm getting confused, is how do I send the profile back to client1.com from master? Is it safe to redirect to client1.com with the access token obtained from master? e.g.:
wp_redirect('client1.com/#access_token=...');
Is this a typical scenario?

Sounds like a little bit over-engineered (very complex scenario to maintain and very error prune).
I would go by finding a way to notify other apps that the user profile had changed as I said before (first proposal) or avoid storing the profile and fetch it from auth0 (second proposal, you can cache this to avoid calling on every page request)

I think you're right in terms of over-engineered.
Do you think the following solution would work better in your mind?

User logs in to client1.com
Auth0 triggers rule and creates / updates the user account on master
Account is also created on client1.com
User can now make authenticated requests to retrieve extended profile information (using a delegation token from master)

This way all of our data is in sync. We just make API calls to the master if we want to store / retrieve user data that needs to be globally available (across apps, other websites etc)
So just to clarify, what should actually go in auth0 user_metadata? Do you think it's best to avoid this field at all costs?
I should be able to achieve this setup using the WP REST API (to create the user account) and the Auth0 WP plugin.

Yes, this might be better

@drewsymo did you ever get this working?


Merge Triplets to Form Target Triplet

File(s) Modified: 1899-Merge-Triplets-to-Form-Target-Triplet.swift
Language(s) Used: swift
Submission URL: _https://leetcode.com/submissions/detail/813657341/_

Thanks for contributing!


VSCode doesn't do a hot reload after code being saved.

Issue Type: Bug
VSCode doesn't do a hot reload after code being saved.
I had both flutter and vscode upgraded.
VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:18:50.054Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz (8 x 2000)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.09GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

dart-code
Dar
3.12.2

flutter
Dar
3.12.2

anaconda-extension-pack
ms-
1.0.1

python
ms-
2020.7.94776

vscode-yaml
red
0.9.1

This would be an issue with flutter or whatever you are using to do hot reloading.


[Feature] Support System.Guid

Add support for System.Guid as a data member in DTO's
It should ToString() when marshalling and perform Guid.Parse(...) when unmarshalling.

Will be supported in #63


New Custodian Filters

Created default-vpc filter for ec2, elb, rds, and redshift, along with the associated tests.
Created kms-alias filter for ebs and rds to allow checking to see if ebs and rds are encrypted with aws managed keys or customer managed keys.
Created key-rotation-status filter for kms to check to see if a kms-key's rotation status
Created an subnets filter for vpcs to check a vpcs subnets (for an evident policy which checks to see if a vcp is empty)

in general, looks good, thanks! a couple of cleanups wrt to querying and conditionals, and one issue at the moment, there's seems to be a test failure around the helper function for filtering rds instances eligible for backup.

looking good, one minor on the kms alias match, and then clean up the commented out bits, and i think its good to merge.


Adding glob for liblttng-ust* and xz-utils

This change is to support dotnet 7.0 preview tags on Debian 11 and Ubuntu 22.04

Thanks for opening @pauldotyu!
As a heads up, our team has been actively focused on an updated plan for community contributions and this repo moving forward, which we've now outlined in this issue: https://github.com/microsoft/vscode-dev-containers/issues/1589. This includes moving to a couple new repos for images (https://github.com/devcontainers/images) and Features (https://github.com/devcontainers/features).
We anticipate to have a similar repo and distribution process for templates/definitions. We'll keep everyone updated (likely via another issue in this repo or comment on https://github.com/microsoft/vscode-dev-containers/issues/1589) when our new templates repo is available and the process is defined.
Please let me know if you have any questions, thank you!


Remove FileKind from ParserOptions

Razor adds several hacks to configure its parser and code generation options to identify the current document being parsed. This is unneeded because that information is available on the CodeDocument. Not only is it unneeded but it's not fully glued together today; primarily because in several places we don't know the current document when attempting to create the parser options.

cc @mkArtakMSFT @rynowak to triage and assign it to a specific milestone.

never?

never?

We should talk offline. Don't want to ship public API for something that we don't feel 100% about, sooo we'll need to do the work to remove it.

Lets talk about this then. IMO the whole thing needs to be redone - our assumptions were broken as soon as we added components.

Closing as there doesn't seem to be much value here.


[WIP] RDBMS: Optimize Search for const conditions

All like expressions were translated to when (true) ... else .... end. To avoid when (true) and when (false), such cases are now handled independently in the planner proper.

Won't the DB's planner optimize this out?

@edmundnoble I believe so. However, this makes queries shorter and easier to read/debug, while it doesn't seem to increase complexity too much.


Add prerequisites installs

Hi! I've found your example very interesting! But I encountered some missing dependencies in a notebook, I just added the necessary prerequisites so anyone can run your notebook smoothly! Thank you!

@googlebot I signed it!
On Fri, Jun 18, 2021 at 1:36 PM google-cla[bot] @.***>
wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot
I signed it! and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fkeras-team%2Fkeras-io%2Fpull%2F511
for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras-io/pull/511#issuecomment-863795328,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLKMLVEMVDTJQWMCHTCI6TTTLSP7ANCNFSM465BNM7Q
.

Thanks for the PR. If any dependency isn't included as part of the default Colab runtime, we should simply specify in the introduction, "This example requires [package], which can be installed via [command]". Please only edit the .py file at first, and only edit the other 2 files after approval.

Thanks for the PR. If any dependency isn't included as part of the default Colab runtime, we should simply specify in the introduction, "This example requires [package], which can be installed via [command]". Please only edit the .py file at first, and only edit the other 2 files after approval.

Thank you for reply! Fixed https://github.com/keras-team/keras-io/pull/519#issue-675915974