PayPal in WebView

General information

SDK version: 3.11.1
Environment: production
Browser and OS: android Facebook app

I thought 3.10.0 introduced webview support for PayPal, but braintree.paypal.create is still throwing the following error:
name: BrainreeError
code: PAYPAL_BROWSER_NOT_SUPPORTED
message: Browser is not supported
type: CUSTOMER

3.10.0 added a helper method to detect in advance if a browser is supported: http://braintree.github.io/braintree-web/current/module-braintree-web_paypal.html#.isSupported
if (braintree.paypal.isSupported()) {
  // set up PayPal
} else {
  // skip setting up PayPal
}

3.11.0 added support for webviews to the PayPal Checkout component, which is a separate component that is used in conjunction with PayPal's checkout.js library.


Catch test panic

Motivation
解决以下问题：
集成测试时，当后续指令有错误时，程序直接崩溃，publish 指令或者 package 指令下的 module 的编译错误不会被输出，不利于调试。
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)

可以个 move upstream 也提交一下

好的


Crash report Samsung Galaxy S4

Steps to Reproduce
When launching app in release mode only, the app crashes when loading (see logcat traces).
The same app in debug mode is working well.
Logs

flutter run --release

Built android/app/build/outputs/apk/app-debug.apk (15.4MB).
Installing android/app/build/outputs/apk/app-debug.apk... 24507ms
Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.xxxx.app/.MainActivity (has extras) }
Error type 3
Error: Activity class {com.xxxx.app/com.xxxx.app.MainActivity} does not exist.
Error running application on GT I9505.

After manual installation of the apk, see following logcat traces.

adb logcat logs

I/DEBUG   (  299): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  299): Build fingerprint: 'samsung/jfltexx/jflte:5.0.1/LRX22C/I9505XXUPPI1:user/release-keys'
I/DEBUG   (  299): Revision: '11'
I/DEBUG   (  299): ABI: 'arm'
I/DEBUG   (  299): pid: 17865, tid: 17896, name: ui_thread  >>> com.xxxx.app.local <<<
I/DEBUG   (  299): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG   (  299): Abort message: '[FATAL:../../flutter/runtime/dart_init.cc(467)] Check failed: !aot_snapshot_path.empty().
I/DEBUG   (  299): '
I/DEBUG   (  299):     r0 00000000  r1 000045e8  r2 00000006  r3 00000000
I/DEBUG   (  299):     r4 98304db8  r5 00000006  r6 00000016  r7 0000010c
I/DEBUG   (  299):     r8 983048f8  r9 992ef108  sl b4e4ec40  fp c0c0c0c1
I/DEBUG   (  299):     ip 000045e8  sp 98304688  lr b6f03fbd  pc b6f2755c  cpsr 600f0010
I/DEBUG   (  299):
I/DEBUG   (  299): backtrace:
I/DEBUG   (  299):     #00 pc 0003755c  /system/lib/libc.so (tgkill+12)
I/DEBUG   (  299):     #01 pc 00013fb9  /system/lib/libc.so (pthread_kill+52)
I/DEBUG   (  299):     #02 pc 00014bd7  /system/lib/libc.so (raise+10)
I/DEBUG   (  299):     #03 pc 00011519  /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG   (  299):     #04 pc 0000fca4  /system/lib/libc.so (abort+4)
I/DEBUG   (  299):     #05 pc 001ff4fd  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #06 pc 003ecf43  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #07 pc 00090a6d  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #08 pc 00090ef9  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #09 pc 0009249b  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #10 pc 002186db  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #11 pc 002186c5  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #12 pc 0020a7b9  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #13 pc 0006ac63  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #14 pc 0006afbd  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #15 pc 0006bc05  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #16 pc 0006d839  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #17 pc 0006a947  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #18 pc 00074af3  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #19 pc 000743e7  /data/app/com.xxxx.app.local-2/lib/arm/libsky_shell.so
I/DEBUG   (  299):     #20 pc 000137a3  /system/lib/libc.so (_ZL15__pthread_startPv+30)
I/DEBUG   (  299):     #21 pc 00011883  /system/lib/libc.so (__start_thread+6)

Flutter Doctor
✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/sestegra/reyer/tools/flutter
    • Framework revision 06f879b57e (10 hours ago), 2017-02-06 22:15:36
    • Engine revision cbf49d0652
    • Tools Dart version 1.22.0-dev.10.3

[✓] Android toolchain - develop for Android devices (Android SDK 24.0.0)
    • Android SDK at /Users/sestegra/Library/Android/sdk
    • Platform android-25, build-tools 24.0.0
    • Java(TM) SE Runtime Environment (build 1.8.0_102-b14)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002
    • ios-deploy 1.9.1

[✓] IntelliJ IDEA Community Edition (version 2016.3.3)
    • Dart plugin version 163.11306
    • Flutter plugin version <IP_ADDRESS>

[✓] Connected devices
    • GT I9505 • 93a12a55 • android-arm • Android 5.0.1 (API 21)

https://github.com/flutter/engine/wiki/Symbolicating-production-crash-stacks would tell us where it's crashing.

Actually, that's probably not even necessary:
I/DEBUG   (  299): Abort message: '[FATAL:../../flutter/runtime/dart_init.cc(467)] Check failed: !aot_snapshot_path.empty().
Seems to suggest that this .apk doesn't have a snapshot in it.  Running flutter build apk do you see an error?

Same error on LG-H340n, no error with flutter build apk
flutter doctor
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/lejard_h/flutter
    • Framework revision 82f887de07 (34 hours ago), 2017-02-05 22:58:49
    • Engine revision cd34b0ef39
    • Tools Dart version 1.22.0-dev.10.3

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.0)
    • Android SDK at /Users/lejard_h/Library/Android/sdk
    • Platform android-25, build-tools 25.0.0
    • Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002
    • ios-deploy 1.9.0

[✓] IntelliJ IDEA Ultimate Edition (version 2016.3.4)
    • Dart plugin version 163.13137
    • Flutter plugin version <IP_ADDRESS>

[✓] Connected devices
    • LG H340n • LGH340nad9c90b7 • android-arm • Android 6.0 (API 23)

APK contains snapshot
$ unzip -l app-debug.apk |grep snap
  5989616  02-07-2017 18:31   assets/snapshot_aot_instr
  2080788  02-07-2017 18:31   assets/snapshot_aot_isolate
  1806272  02-07-2017 18:31   assets/snapshot_aot_rodata
   114332  02-07-2017 18:31   assets/snapshot_aot_vmisolate

The "snapshot_aot" files are the names that would be expected for a release mode APK built with an older version of flutter_tools from at least 2 weeks ago.
I'm not sure

why a release build is generating an output named "app-debug.apk"
why the snapshot files in the APK have the old filenames

@jakobr-google Does this mean that the project is still using V1 of the Gradle plugin?  and/or that the plugin is finding an older build of flutter_tools?  If so, how can the project be updated?

This does look like the old V1 Gradle build. In a V2 build, it should build app-release.apk for a release build (and have assets/{isolate,vm}snapshot{data,instr} instead of what's listed above).
@sestgra have you updated the Gradle build scripts (including android/buildSrc) recently? (As in, after I merged #7606 about a week ago?) Does (cd android; ./gradlew clean) help?

@jakobr-google We updated a version from December to latest version.
The issue is fixed with ./gradlew clean now.
I have an issue with release signature now, I see work in progress on other issues.

Sounds like this can be closed?
If you have additional issues, please file!  @jakobr-google and others are actively working on improving the gradel side of our workflow.


fix(ins): when pumvisible() returns true, cannot start snatching normally

When pumvisible() returns 1, cannot leave Insert Mode.
What I tried to fix this problem:

call feedkeys("\<C-e>") or execute "normal! \<C-e>" in snatch#common#prepare(), and the same with <C-y>, <C-c> and <Esc>.
stopinsert without noautocmd.

When pumvisible() returns 1, both <C-y> and <C-e> should behave, at least in default mappings, as you can read in :h popupmenu-keys.

[ ] Modify default mappings using <expr>.
[ ] Modify README.md to notify this workaround.


Community skin's dark overlay affects video colours

Current Behaviour:
Hello, I recently started using the latest version of Vidstack and noticed that the new community skin has a dark overlay applied to the video. Removing this overlay makes the controls less visible on white backgrounds. On the other hand, keeping the overlay changes the video colours, making them appear darker than expected.
You can see an example here:
Screenshot 1 (default dark overlay - colours appear darker):

Screenshot 2 (overlay removed - controls less visible on white backgrounds):

Expected Behaviour:
The expected behaviour is to have a community skin that maintains the original colours of the video while ensuring that the player controls remain visible and clear, even on white backgrounds.
Steps To Reproduce:

Use the latest version of vidstack.
Apply the community skin with the dark overlay.
Observe the impact on video colours and control visibility.
Remove the dark overlay by commenting out the following line:
https://github.com/vidstack/player/blob/b57db0be1768a6f8c852c068df42b6fc32fda375/packages/vidstack/src/player/skins/community/video.css#L54  and observe the changes in video colours and control visibility again.

@ewenmic, @mihar-22 Thank you for pointing me in the right direction, that works perfectly!
I'm excited to see the upcoming changes. In the meantime, I'll follow your advice and customise the scrim based on #873.

This issue is outdated now and should be resolved since our new 1.0@next release. If the issue persits after upgrading, feel free to let me know here and we can reopen. If the issue has changed then please open a new one.


Custom binarystore.xml is not installed in correct directory and not read by Artifactory

Is this a request for help?: no

BUG REPORT

Which installer: ansible collection 1.1.2
Which product and version (eg: ansible & collection version - 1.1.2): version 1.1.2
Which operating system and version(eg: ubuntu & version - 20.4): 18.4 kernel 4.15.0-140-generic
What happened:
A custom binarystore.xml file (variable binary_store_file points to a file) is available and it's copied to $ARTIFACTORYHOME/var/etc/binarystore.xml
However Artifactory ignores that.
When I copied that file into $ARTIFACTORYHOME/var/etc/artifactory/binarystore.xml
Then it got picked up, however Artifactory did not create the directory structure in the correct path.
What you expected to happen:
I expect it this file to be placed in correct path, so when Artifactory is initialized, it creates the directory structure in the place I want it to.
How to reproduce it (as minimally and precisely as possible):
Create a custom binarystore.xml file and provide it via the variable.
Then run the playbook
Anything else we need to know:
This forces me to use the default installation file-store which is not what I require.

@woyteck1  Now  with this  platform collection , you can change your binarystore.xml contents in https://github.com/jfrog/JFrog-Cloud-Installers/blob/master/Ansible/ansible_collections/jfrog/platform/roles/artifactory/templates/binarystore.xml.j2

This is a hardcoded template in the galaxy collection.
Can you please make the location (source) of the template a variable?
That would make the life easy to be able to point to a file that is in my ansible dir structure and not to edit a collection, that can be overwritten...
For me this is still a bug.

@woyteck1 ok, Does it makes sense to add content of binarystore.xml as a variable and you can pass your XML content in that variable  ?
Can you  opening an new (same) issue for jfrog.platform collection as version 1.1.2 is deprecated

Works fine now! Thanks!


common generate scripts to the repo

I personally think the deploy.sh script should be included.
We'd need to update the deploy.sh to execute the commons scripts and then call deploy-unique.sh at the end, in which each subsequent github action we create would have a deploy-unique.sh named script that would then execute any additional specialized logic followed by the startup command (which will change between GHAs)

the tricky part, i think, will be the passing of user-provided environment variables to the docker run scripts.
what about instead just having the deploy script as-is, but instead call an entrypoint generator script in the commons?
that way, we maintain flexibility for the user and the docker run script env vars and also allow for minimal code duplication.
something like:
bash /path/to/commons/run_generators.sh
docker run \
-e MY_CUSTOM_VAR=foo \
...

then you could run your custom generator stuff like:
bash /path/to/commons/run_generators.sh
bash /path/to/action_code/operations/_scripts/generators/run_generators.sh
docker run \
-e MY_CUSTOM_VAR=foo \
...

Some thoughts on next steps;

Locally test this and a separate GHA
Add an action.yaml file (Become a composite action)

Test the composite in a composite (GHA-deploy-docker-to-ec2 should pull the commons then run as normal)

Certainly some miles to go but this is an excellent start.


Simulation block trickling filter/rotating disk

Dear all,
thanks for your work.
I am looking for means to simulate a trickling filter / rotating disk for example as per DWA T4/2016. Has it been undertaken using OpenWasteWater library? Ifso please kindly share an example.
Best regards
Sebastian

Dear Sebastian,
thanks for looking to OpenWasteWater. At the moment there are only actived sludge base models developed.
Best regards
Joachim


Implement thread-safe references

This pull request is mostly finished, but there is no Swift 2 implementation and the test coverage could probably be improved. I'm handing this over to you, @jpsim 😝

Thanks for your continued work on this @JadenGeller. Hope school is going well!

I've thought a bit more about potential convenience APIs, and the gains don't seem to justify the constraints at this point.
For example, here's a sample use case with the current full/flexible ("inconvenient") API:
let ref = ThreadSafeReference(to: obj)
Dispatch.main.async {
    let realm = try! Realm()
    guard let obj = realm.resolve(ref) else { return }
    try! realm.write {
        // do something with obj
    }
}

Let's look at the advantages of this API, from a usage and cognitive load standpoint:

This is ready for review @austinzheng @bdash @tgoyne!
A few noteworthy design choices you should be aware of:

I've opted to never return invalid accessors, but rather return nil instead.
There might be cases in which it would be safe to recover from a failed attempt to resolve a reference, but std::move-ing the object store reference prevents this. Given that TSRs should be deallocated shortly after their use, I don't think avoiding the move would be harmful in any way, unless there's a valid reason to want to discourage error handling.
This PR won't include a convenience API. Design discussions are under way in #4477.

Is there a object store PR still associated with this PR? If not, perhaps it should be pointing at latest master.

There was an object store PR, which was merged in realm/realm-object-store#157. This branch now points to almost the tip of master, minus 4 commits: https://github.com/realm/realm-object-store/compare/1cb5d3e...master
Those 4 commits are breaking changes that I haven't adopted this branch to support in order to minimize the surface area of this PR.

Thanks for the great feedback @tgoyne! I've addressed all your points here.


Paste bug with path contains space character

In yazi, When I use sudo.yazi paste with /home/xxx/Downloads/Telegram\ Desktop/somfile
It returns with error:
cp: cannot stat '/home/xxx/Downloads/Telegram': No such file or directory
cp: cannot stat 'Desktop/somfile': No such file or directory

Seems the plugin should recognize Telegram Desktop and replace with Telegram\ Desktop with regex.

Fix in https://github.com/TD-Sky/sudo.yazi/commit/198d471f4d0ad609a4d87c5931e802d4c4a5dd8f


Method instrumentation

@istreeter @AlexBenny - following our discussion, I have made some changes here: https://github.com/snowplow-incubator/snowplow-react-native-tracker/pull/68/commits/49b94007884588abdcfd9cac0f177d7e2737450f
I think I prefer this pattern for two reasons:

Specifically handling a problem for a given platform puts the solution next to the problem (eg where iOS doesn't like a null, that's handled in iOS).
Instead of setting things as null or undefined, we're not including the builder argument to set that thing - IMO this is preferable as it's more like what you'd do if implementing the tracker in a native app.

Any thoughts let me know!

I like this new pattern, for exactly the same two reasons.


Launching recent stops via force touch crashes app

Expected behavior
Force touch access of recent stops works
Actual behavior
Crashes app
Steps to reproduce the behavior
Screenshot of the issue (if applicable)
App Version/Hardware

https://fabric.io/structlab/ios/apps/org.onebusaway.iphone/issues/5aafcc858cb3c2fa636b343a?time=last-thirty-days


moment({minutes: 90}).format('H:mm') is Invalid date

Description of the Issue and Steps to Reproduce:
Parse an integer value (e.g. 90) in minutes to H:mm (e.g. 1:30) like so:
moment({minutes: 90}).format('H:mm')

Apparently this worked in version 2.2.1 (see https://jsfiddle.net/L5cpovk9/) but doesn't seem to work anymore in the latest version (https://jsfiddle.net/bo6xqct1/). I'm always getting Invalid date unless my minutes value is below 60. I get why this is "invalid" cause there can't be more than 59 minutes in an hour, but i assumed "minutes" is for letting moment do the conversion (90 -> hour:1 minute:30) and "minute" is for the actual minute value (0-59). I'm not sure if this is a bug or by design, but de docs could be clearer in the difference between minute and minutes.
Also looking at the minute(s) setter it does mention if you exceed the 0-59 range, it will bubble up to the hour: https://momentjs.com/docs/#/get-set/minute/

Yeah, that's not expected to work and only worked before by happenstance. The part that isn't true is this:

i assumed "minutes" is for letting moment do the conversion (90 -> hour:1 minute:30)

You're constructing a datetime, not a duration; "minutes" is just an alias for "minute". The code is basically abusing the fact that at today at 1:30 in the morning will format to "1:30" as a way of making up for Moment not having a duration formatter. The same hack done right is:
moment.utc().startOf('day').add({ minutes: 90 }).format('H:mm');

Here, the 90 minutes really is creating a duration and so it will do what you want.


Help for smooth motion

Hey there! I'm trying to make simple movements with the motor, having it just move at a constant speed. I'm facing an issue where the motor makes a stuttering sound, sorta sounds like a locomotive. The motion is not smooth at all, it's very interrupted.
Running this with a TMC2209 V2.0 and ESP32-WROOM-32.
I'm using the code from the example:
#include "FastAccelStepper.h"

// As in StepperDemo for Motor 1 on ESP32
#define dirPinStepper 18
#define enablePinStepper 26
#define stepPinStepper 14

FastAccelStepperEngine engine = FastAccelStepperEngine();
FastAccelStepper *stepper = NULL;

void setup() {
  engine.init();
  stepper = engine.stepperConnectToPin(stepPinStepper);
  if (stepper) {
    stepper->setDirectionPin(dirPinStepper);
    stepper->setEnablePin(enablePinStepper);
    stepper->setAutoEnable(true);

    // If auto enable/disable need delays, just add (one or both):
    // stepper->setDelayToEnable(50);
    // stepper->setDelayToDisable(1000);

    stepper->setSpeedInUs(1000);  // the parameter is us/step !!!
    stepper->setAcceleration(100);
    stepper->move(1000);
  }
}

void loop() {}

I would assume, this is not a sw issue. Could you please check the cable ? Especially ground connections are often cause of unexpected behaviors.

Very well might be. Do I need to add any capacitors, resistors, etc. to my circuit?

I do not know your set up. Do you have an oscilloscope or similar to check, that the steps are generated properly ? Or just start without FastAccelStepper and control the stepper with a loop, which contains just a toggle of step pin and a delay ?

I don't have an oscilloscope, no. Could you provide an example snippet for that?

Something like:
// As in StepperDemo for Motor 1 on ESP32
#define dirPinStepper 18
#define enablePinStepper 26
#define stepPinStepper 14

void setup() {
   pinMode(dirPinStepper, OUTPUT);
   pinMode(stepPinStepper, OUTPUT);
   pinMode(enablePinStepper, OUTPUT);

   digitalWrite(dirPinStepper, LOW);
   digitalWrite(stepPinStepper, LOW);
   digitalWrite(enablePinStepper, LOW);
}

void loop() {
   digitalWrite(stepPinStepper, digitalRead(stepPinStepper) == LOW ? HIGH:LOW);
   delay(50); // => one step in 2*50ms, so 10 steps/s
}

I tried your code with a delay of 1ms  which is closer to the speed I need, and it's very noisy.
https://github.com/user-attachments/assets/1ffbf29e-eb48-4f73-a4be-34a9379bf9a6

Thanks for sharing the video. If this low level code does not work, then something is wrong with the hardware.: Ground connection, assignment of dir/step/enable to the gpio, cable from stepper to stepper controller - especially the pin assignment, is the power supply strong enough, are the cables not too long, is the uC constantly rebooting….? Good luck in your endeavor

any updates ?


Can this be used with Laravel 5.x?

Can you provide an example for how to use it with Laravel 5.x?

Hi, I'm using it with Laravel 5.4. You should simply place it into a lib folder, and then you can use it normally from within  your code:
Ex.
root

app
bootstrap
config
database
libs                      (Create this folder)

api-ai-php       (Place here the library)

public
resources
...

Am I wrong here but if you are using Laravel you can simply install it with composer install iboldurev/dialogflow and use it with simple use statements like use DialogFlow\Client as DialogFlowClient;


[VS Code] Device not configured

Error:
Device not configured
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.504

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.25.1

platformName
MacOS

platformVersion
17.7.0

I'm getting this too. But my network connection is solid.

I am also running into this issue. My logs are below.
I am on my personal home network with a strong connection.
I believe it has something to do with proxy settings but I am not 100%.
I have found that if I connect to my work VPN then it throws the "unable to connect to remote server"
Hope this sheds some light on the issue.
20180821_204546_Launcher.log
20180822_004546_15348987460880_VSCode.log
20180822_004558_15348987589040_VSLSAudio.log
20180822_004559_Agent.log

Closing this as it's likely a known proxy-related issue. See https://docs.microsoft.com/en-us/visualstudio/liveshare/troubleshooting#connectivity for workarounds.

Some feedback on the closing of this issue:

I was getting this error and to my knowledge do not have a proxy configured anywhere.
The error itself provides no troubleshooting tips. In good UI practice, good errors will give the user some possible path forward so that they aren't just stuck.
The referenced troubleshooting page does not refer to the error, making finding that page via a web search near impossible.

@BergQuester Feedback taken! Does this still repro for you?

@cait1inhennessy
Thank you.
To be honest, I haven’t had an opportunity to reproduce in several months due to workflow changes.
At the very least, I would expect the error to provide a helpful message on how to resolve the issue, rather than leaving the user scratching their head. Perhaps a more info button that shows:

A proxy could be causing this issue. Proxy settings can be tricky. Try setting the HTTP_PROXY and HTTPS_PROXY environment variables globally and then restarting your tool. See proxy settings(link) for more details. There are likely some configurations we do not yet support, so let us know if this does not work for you(link).

While typical users should be smart enough to find this GitHub issue and eventually the linked troubleshooting page, applications should save users time in troubleshooting so that users can work on their work, not a broken app.

@BergQuester True, aside from fixing the issue itself we should show a more informative error message. I've created an internal bug to track this. In the meantime, please update us here if it happens again.

@BergQuester This message should no longer show up in the UI, it would display as Cannot connect to the internet, which is an accurate interpretation of this error on MacOS. If you still repro this issue, then reopen the issue.


Switched order of JS for loop and while loop courses

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #11231

Description

See issue #11231

@recurza Thank you for fixing this. I just realized, with your username "recurza" you are uniquely qualified to update our recursion-focused challenges 😄

It came from a running joke in my old CS class, where you'd say "Fix it with recursion!" as the solution to any arbitrary problem ("Oh no, my pencil broke"), because it was indistinguishable from magic 😂

@recurza awesome! Thank you for filling me in on the origin of your GitHub handle. Yes - recursion is magical ✨


Verify email

solution for #8 - Verifiy email
not sure if this was the right way of going about it but it worked correctly during testing
only TODO is make sure we check the b_acct_disabled flag during login

Will review tonight. Thanks Kyle!
Fyi, when you branch out for your feature or bug, is always a good idea to rebase to the tip of master instead of merging master into your branch (if possible), that creates a much easier to follow commit line. git rebase origin master

Followup:

Disallow login for disabled accounts.
When trying to sign in, leave the option to trigger a verify email.


Xcode 8 GM Swift 3.0

I saw that you have a branch for this but it does not compile on Xcode 8 GM

@tdouglas1313
Finally it has been supported Xcode 8 GM Swift 3.0.

@tdouglas1313
Finally it has been supported Swift 3.0.


More strict PluginTests expected data verifier

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues

#4612

Codecov Report

Merging #4713 into master will decrease coverage by 50.56%.
The diff coverage is n/a.

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


Examples on How to Use

Howdy,
Would you mind posting some example code on how to use this module? I see configuration instructions in the README, but no information on how to actually use it. Even a cut/paste from a past project would be good. Once @thomasquintana and I have a good understanding of it, I will post a Pull Request with an update to the README if needed.

As I mentioned in the other issue, I haven't run FS for nearly 2 years, so I don't remember. Glancing at the code it looks like there are two variables that get set: {{amd_result}} and {{amd_cause}} indiciating if a machine or human or otherwise was detected. So you would just need the "dialplan" (or whatever it is called in FS) to invoke the amd app on an outbound call and then when it returns it will have set those 2 variables.

OK. I understand that you have not used it in a while, but I was hoping you had some old code around where you had used it in the past. Currently the module does not seem to supply an amd command at all that you could even "invoke". We will continue playing with it.

I do not have old code around. Looking at the code is creates an "app" called "amd." Is there a command to get a list of registered apps? Based on my best guess, you would need something like this:
<action application="amd"/>

Just reporting back that we have this working and its working rather well so far!


Relationships between resources controlled by different APIs

This proposal is for post 1.0. I don't think anything in it would require pre-1.0 changes, though let me know if I'm missing anything.
Sooner or later, we're probably going to want standard JSON API relationships to be able to connect together JSON API resources that are controlled by different APIs/organizations. This is a pretty big part of the web/hypermedia, and its presumably part of the reason the "relationships" bag was originally called "links".
I don't think enabling this functionality will be too hard (see my proposal below), nor do I think it will lead us back to the idea of merging relationships and links into one (which would be an annoying reversion). After all, a relationship will remain a specific kind of link, namely: one that points to a set of JSON API resources and that has a relationship endpoint. By contrast, an item in the generic "links" bag may not point to a JSON API endpoint (consider the profile links we're likely to add there) or may point to multiple distinct collections of resources (e.g. if we added a collection key that could take an array of entries). And, of course, none of the items in "links" will have relationship endpoints.
Ok, onto the proposal, which has three parts:

We define a mapping from the "type" value used within an API to a URI, which can identify the type globally between APIs. This mapping might be: {scheme and authority of the API that owns the resource} + "/.well-known/jsonapi-types/" + {a percent-encoded version of the type string}. So, for example, if an API at example.com controls a resource that it serves with a "type" of "posts", the URI for that type is "http://example.com/.well-known/jsonapi-types/posts". (The /.well-known/ part comes from RFC 5785.)
We define an optional "external" key at the top level of both resource objects and resource identifier objects. If present, the only valid value for this key is true. It denotes that the resource being represented or identified is external to (i.e. not controlled by) the API serving/recieving the resource object/identifier object.
We add an optional "href" key to the resource identifier object. This key can be present regardless of whether the resource being identified is controlled by the API serving/receiving the resource identifier object. This will address @hhware's desire for a "target URI" but will also help with handling external resources, as discussed below.

The above parts all fit together as follows:

When an external resource is added or removed from a relationship (at a relationship endpoint or in a standard PATCH/POST/DELETE), the resource identifier object facilitating this MUST contain "external": true, and the value of its "type" key must be the global, URI version of the external resource's type. When the relationship's data is later fetched (at a relationship endpoint or as part of a larger document), the (global) "type" and the "id" provided when the resource was added to the relationship, as well as the external boolean must be returned to the client in the resource identifier object.
The optional "href" property SHOULD also be provided when adding the external resource to the relationship. If provided, this value SHOULD be stored and returned back to the client whenever the relationship's data is returned. This removes the client from needing to know how to construct a URI for the resource from its global type/id in order to read its contents.
If an external resource is to be included in the response document via the include parameter, the server can simply return a resource object with three mandatory keys: the global type URI under the "type" key, the id in the "id" key, and the "external" key set to true. It can also, optionally, return a "self" link in the resource object that matches the href from the resource identifier object.
For now, I'm imagining that, when external resources are included in a document as in (3), their resource objects don't contain any attributes or relationships. Likewise, any other resources that might be included based on the values of the relationships of the external resources would be ignored. That is, if the primary data has a users relationship that contains an some external resources, and the client asks for ?include=users.employer, the (potential) employer resources related to the external users would simply be ignored. However, in the future, this could be extended to allow the server to return a cached copy of the external resource's data, and perhaps use that data to compute nested includes, if it feels confident in the data's freshness.

Thoughts?

Aside: if people think the above is a good idea, it might make sense to add something like the below to 1.0:

The value of the "type" member SHOULD only contain characters that are unreserved in URIs.
Note: A future version of this specification may define a mapping between "type" values and URIs, in order to allow JSON API resources controlled by different APIs to define relationships between one another. Type names that avoid characters that are reserved in URIs are less likely to require percent-encoding under such a mapping.

@ethanresnick, IMHO, an interesting beginning of what will hopefully be a great development!

Is there any news on this topic?  Has a solution been decided on?


Resolve pylint issues in image ops

There were 4 line too long errors reported in pylint check of image_ops_impl.py.  Changed the format to not exceed 80 characters based on indentation examples in style guide.  Reran pylint against the file and verified errors no longer listed for image_ops_impl.py.

This PR and PR 16563 a small subset of changes since addressed in PR 16647.

Sorry for missing your PRs.
Would you mind if I merge the larger PR, and close the two you sent?
I can still merge your changes and then merge mine, too.

That sounds great @gunan and @yifeif - thank you both!


Adding a fabform.io contact form to the template

Adding a fabform.io contact form to the template
Hello
Since this a static hugo template and has no contact form or database hooked up.
I was wondering if you could add a contact form to the template to use with https://fabform.io the google forms alternative
It's just a few lines of code
I can update your template or you can if you like and push the changes to your repository
what you think?
Geoff

Sorry but I don't plan to do that.


CI: Bump actions

Purpose:
Node.js 12 actions are deprecated. The versions of the actions involved have been updated in this PR.
Details:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Thanks @MareMare! This wasn't on my radar but I'm glad you mentioned it 👍


Why is keras trying to squeeze my batch_dot? How to do the standard matrix multiplication?

I have a simple code trying to multiply two matrices, using tensorflow backend. (Keras 2.0.8 / Tensorflow 1.3.0)
This is a well known mathematical operation, and it fails because it is trying to squeeze my resulting matrix.
Basically, I have a matrix shaped as (batch, 13, 1) and I want to multiply it by a (batch, 1, 7) matrix, resulting in a (batch, 13,7)  matrix.
This is my code:
import keras.backend as K

def repeat(x):

    stepMatrix = K.ones_like(x[0][:,:,0]) #matrix with ones, shaped as (batch, steps, 1)
    latentMatrix = K.expand_dims(x[1],axis=1) #latent vars, shaped as (batch, 1, latent_dim)

    #here all these options fail, being the option 4 the one I'd expect to work.

    option 1: return K.dot(latentMatrix,stepMatrix)
              #works when creating the model, but causes error in tensorflow (see error 1)

    option 2: return K.dot(stepMatrix,latentMatrix) #incompatible shapes: see error 2

    option 3: return K.batch_dot(latentMatrix, stepMatrix) #incompatible shapes: see error 3

    option 4: return K.batch_dot(stepMatrix,latentMatrix)
              #this does sound like the right one,
              # but why is this trying to squeeze the result???? (see error 4)

    option 5: why not a K.matmul doing a standard multiplication taking the two last axes,
              no squeezing, no trying to gather two different operations in the same method?

inp = Input((13,25))
inp2 = Input((7,))

repeated = Lambda(repeat,output_shape=(None,7))([inp,inp2])

model = Model([inp,inp2], repeated)

#print(model.predict([np.ones((19,13,25)),np.asarray([i for i in range(19*7)]).reshape((19,7))]))

Errors
Error 1:
Occurs at prediction time:

InvalidArgumentError (see above for traceback): Matrix size-incompatible: In[0]: [19,7], In[1]: [19,13]
[[Node: lambda_14/MatMul = MatMul[T=DT_FLOAT, transpose_a=false, transpose_b=false, _device="/job:localhost/replica:0/task:0/cpu:0"](lambda_14/Reshape, lambda_14/Reshape_1)]]

Error 2:
Occurs when calling the Lambda layer:

ValueError: Dimensions must be equal, but are 13 and 1 for 'lambda_16/MatMul' (op: 'MatMul') with input shapes: [?,13], [1,?].

Error 3:
Occurs when calling the Lambda layer:

ValueError: Dimensions must be equal, but are 7 and 13 for 'lambda_17/MatMul' (op: 'BatchMatMul') with input shapes: [?,1,7], [?,13,1].

Error 4:
Occurs when calling the Lambda layer:

ValueError: Can not squeeze dim[1], expected a dimension of 1, got 13 for 'lambda_18/Squeeze' (op: 'Squeeze') with input shapes: [?,13,7].

Solved this issue using this at the first line inside the repeat method:
stepMatrix = K.ones_like(x[0][:,:,:1])

For some reason, this is considered to have all 3 dimensoins, while the other option had only 2, even if error messages were showing 3.

from keras.layers import *

a = Input(batch_shape=(None, 13, 1))
b = Input((batch_shape=(None, 1, 7))
dot = Lambda(lambda x: K.batch_dot(*x, axes=(2, 1)), output_shape=lambda s: s[0][:2] + s[1][2:])
c = dot([a, b])

print(K.int_shape(c))  # >>> (None, 13, 7)


UnrecognizedArgumentError in Azure Cloud Shell while parsing wildcard argument

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

Providing wildcard character as argument throws a strange error in Azure Cloud Shell (both powershell and bash shells).
This only happens in Cloud Shell. I'm not sure which CLI version introduced this regression, but we had a customer report this error recently in this github issue.
To Reproduce

az appconfig kv list -n test-appconfig-00 --key *
UnrecognizedArgumentError: unrecognized arguments: test.json
Try this: 'az appconfig kv list --label <test,prod,\0> --name '
Still stuck? Run 'az --help' to view all commands or go to 'https://aka.ms/cli_ref' to learn more
Commands that still parse wildcard as expected:
az appconfig kv list -n test-appconfig-00 --key *abc
[]
az appconfig kv list -n test-appconfig-00 --key abc*
[]
Workaround for parsing wildcard:
az appconfig kv list -n test-appconfig-00 --key "*"
[]
Expected behavior

Many AppConfig commands accept wildcard characters as input arguments. Parsing * without quotes should not throw any error.
Environment summary

az --version
azure-cli                         2.18.0 *
core                              2.18.0 *
telemetry                          1.0.6
Extensions:
ai-examples                        0.2.5
azure-cli-ml                      1.20.0
Python location '/opt/az/bin/python3'
Extensions directory '/home/avani/.azure/cliextensions'
Extensions system directory '/opt/az/lib/python3.6/site-packages/azure-cli-extensions'
Python (Linux) 3.6.10 (default, Jan 15 2021, 09:54:35)
[GCC 8.3.0]
Additional context

appconfig

This issue is not confined to AppConfig module. Other commands also fail on Cloud Shell with the same error when * is supplied as an argument. This error is thrown before any argument validation logic of the command module is invoked:
az keyvault secret list --id *
UnrecognizedArgumentError: unrecognized arguments: test.json
Try this: 'az keyvault secret list --maxresults <{maxresults}> --vault-name '
Still stuck? Run 'az --help' to view all commands or go to 'https://aka.ms/cli_ref' to learn more
az storage account list -g *
UnrecognizedArgumentError: unrecognized arguments: test.json
Try this: 'az storage account list --resource-group '
Still stuck? Run 'az --help' to view all commands or go to 'https://aka.ms/cli_ref' to learn more


Update Wiki for Jenkins

Please update your wiki to help me get started with Jenkins and testing your code

Hello Team,
Can you also provide credentials to access Jenkins?

Hi, we have updated the wiki and have sent you an email with the credentials. Thank you for your patience.


fix(core): swizzle --eject js should not copy theme .d.ts files

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation
Swizzle --eject of JS components (ie not using the --typescript option) should not emit any TS file (in particular the .d.ts files which are now published alongside the JS transpiled files)
Test Plan
Unit tests
Before:
yarn workspace website swizzle @docusaurus/theme-classic CodeBlock --eject
yarn workspace v1.22.17
yarn run v1.22.17
$ docusaurus swizzle @docusaurus/theme-classic CodeBlock --eject
[SUCCESS]
Ejected CodeBlock from @docusaurus/theme-classic to
- "/Users/sebastienlorber/Desktop/projects/docusaurus/website/src/theme/CodeBlock/index.d.ts"
- "/Users/sebastienlorber/Desktop/projects/docusaurus/website/src/theme/CodeBlock/index.js"

After:
yarn workspace website swizzle @docusaurus/theme-classic CodeBlock --eject
yarn workspace v1.22.17
yarn run v1.22.17
$ docusaurus swizzle @docusaurus/theme-classic CodeBlock --eject
[SUCCESS]
Ejected CodeBlock from @docusaurus/theme-classic to
- "/Users/sebastienlorber/Desktop/projects/docusaurus/website/src/theme/CodeBlock/index.js"

Not very satisfied with our swizzle tests atm
We'll likely want to create different fixtures for JS/TS as our current mixed JS/TS fixture does not really match the reality, ends up with ejecting only CSS files without components for example.
This will be good enough for now but we can do better


"Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!"

Good morning,
The plugin is working fine in practically every aspect. However, I noticed a message appearing in the console every time I start my server:

Steps to replicate:

Have 2FA installed on your Paper server
Start the server
Look at the console
The message should appear every time you start your server

I'm using 2FA version 1.1.8
Here is my config.yml: https://pastebin.com/uD9jPpAu
I'm running my server on Paper 1.16.5 (build 468)
My plugin list:

The plugin is developed for versions before 1.13. I don't specify an api-version to support multiple.
This warning shouldn't be a problem at all! :)


[QUESTION] Why do the Track 2 SDKs not support targeting .NET Core 2.0?

Describe the bug
Please provide the description of issue you're seeing.
When I open HDInsight service's solution via VS2017, I can't build this solution, I get the bellow error
Severity	Code	Description	Project	File	Line	Suppression State
Error		The current .NET SDK does not support targeting .NET Core 2.0.  Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.0.	Microsoft.Azure.Management.HDInsight.Tests	C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets	112

Expected behavior
What is the expected behavior?
The expected behavior is that there is not error when I open HDInsight service's solution
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
There is error when I open HDInsight's solution.
The current .NET SDK does not support targeting .NET Core 2.0.  Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.0.
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)

Check the latest source code
Open HDInsight service's solution with VS2017

Environment:

Name and version of the Library package used: [e.g. Azure.Storage.Blobs 12.2.0]

Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]

dotnet --info

.NET Core SDK (reflecting any global.json):
 Version:   3.1.403
 Commit:    9e895200cd

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.403\

Host (useful for support):
  Version: 3.1.9
  Commit:  774fc3d6a9

.NET Core SDKs installed:
  1.0.1 [C:\Program Files\dotnet\sdk]
  1.0.4 [C:\Program Files\dotnet\sdk]
  1.1.14 [C:\Program Files\dotnet\sdk]
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.508 [C:\Program Files\dotnet\sdk]
  2.1.512 [C:\Program Files\dotnet\sdk]
  2.1.519 [C:\Program Files\dotnet\sdk]
  2.1.801 [C:\Program Files\dotnet\sdk]
  2.2.108 [C:\Program Files\dotnet\sdk]
  2.2.401 [C:\Program Files\dotnet\sdk]
  3.1.403 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

IDE and version : [e.g. Visual Studio 16.3]

Every service's solution has the same issue.

If I use VC2019, then there is not this error.

I'll defer to @tg-msft and @KrzysztofCwalina for discussion of why these specific target frameworks were chosen.
If you're interested in working with Visual Studio 2017 or targeting earlier versions of the language, this sample may be helpful.

Some of our tooling requires 2019 and we document that requirement at https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md#prerequisites.  @chidozieononiwu might remember why?
All of our libraries are .NET Standard 2.0 which works fine for customers running .NET Core 2.0.

This issue seems to be a result of us pinning an SDK version in global.json. To get past this just go ahead an remove the sdk section of the global.json file and the correct SDK compatible with VS 2017 will be selected. @weshaggard Do you see any other issues with this?

There are number of features in the later .NET Core SDK that aren't supported in VS 2017. In particular the minimal LTS version of .NET Core is 2.1 and requires VS 2019. To work on our libraries you should please update to VS2019 and follow the other prerequisites listed at https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md#prerequisites.

It would seem the discussion has tapered off and there's an authoritative answer.   I'm going to close this out;  please feel free to reopen if you would like to discuss further.


K3s with CRI-O: ...can't initialize iptables table filter: Permission denied... starting ServiceLB — NET_ADMIN is not enough, NET_RAW needed

Environmental Info:
K3s Version:
# k3s -v
k3s version v1.29.0+k3s1 (3190a5fa)
go version go1.21.5

Node(s) CPU architecture, OS, and Version: Linux devenv 6.5.13-orbstack-00121-ge428743e4e98 #1 SMP Wed Dec 27 10:22:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration: singe-node cluster.
Describe the bug:
ServiceLB does not start with error ...can't initialize iptables table filter: Permission denied... when running K3s with CRI-O by providing --container-runtime-endpoint /var/run/crio/crio.sock.
Steps To Reproduce:
Set up K3s with CRI-O by manually installing CRI-O, CNI-plugins, and running K3s with --container-runtime-endpoint /var/run/crio/crio.sock.
Fix considerations
I found that providing NET_RAW to the SystemLB DeamonSet among with existing NET_ADMIN fixes the issue. Unfortunately I could not find how to configure K3s to do so. Looks like NET_ADMIN simply hardcoded in the K3s source and there is no way to tune ServiceLB deployment, i. e. DaemonSet. So the only way to workaround this for the moment is to k3s kubectl -n kube-system edit svclb-traefik-... and manually add NET_RAW.

Why does cri-o require different capabilities to create iptables rules than other runtimes? This works correctly with both containerd and cri-dockerd. Have you opened an issue with crio-o?

@brandond, no, I didn't. Honestly, I am not that expert in the area to properly understand whose issue it is.

You might open an issue at https://github.com/cri-o/cri-o/issues/ - although https://github.com/cri-o/cri-o/issues/7657 does mention some changes around CAP_NET_RAW?


@jit method return two-dimentional array with wrong shape

This is my problem:
version: numba==0.54.1
@numba.jit
def average(times,  names, ods,  sizes,  numbers, locations, ops, dds):
# all arguments are numpy array(float64, 1d, C) with same length, just as 20000
times_,  names_, ods_,  sizes_,  numbers_, locations_, ops_, dds_ = [], [], [], [], [], [], [], []
.......
# need to return a list with 8 sublists with length 20000.
return [times_,  names_, ods_,  sizes_,  numbers_, locations_, ops_, dds_]
The return is nested list with type float64. The question is, it return with a nested list just as blow:
[[1.1,1.1,1.1,1.1,...], [0], [nan], [nan], [8.2], [8.2], [8.2], [8.2]] ,
the length of first sub-list is 20000 while other 7 sublists lengths are all 1.
And I don't get any warnning. I want to know how this happens?

Can you post some code that can be executed to reproduce the problem please? My best guess at something like this based on your example was:
from numba import njit
import numpy as np

@njit
def average(times, names, ods, sizes, numbers, locations, ops, dds):
    # all arguments are numpy array(float64, 1d, C) with same length, just as 20000
    times_, names_, ods_, sizes_, numbers_, locations_, ops_, dds_ = [], [], [], [], [], [], [], []
    # need to return a list with 8 sublists with length 20000.
    return [times_, names_, ods_, sizes_, numbers_, locations_, ops_, dds_]

times = np.arange(20000).astype(np.float64)
names = times.copy()
ods = times.copy()
sizes = times.copy()
numbers = times.copy()
locations = times.copy()
ops = times.copy()
dds = times.copy()

print(average(times, names, ods, sizes, numbers, locations, ops, dds))

but this isn't executable. Note that you can format code in Github Issues using Markdown so it's easier to read: https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks

Closing as the original issue cannot be reproduced and no further information has been received.


Consume DevOps Logging

Consume DevOps Logging from eng\common\scripts\logging.ps1

/check-enforcer override


problem prepareVideo

Hi pedro ,i have error do you can help me ?
when i call rtmpBuilder.prepareVideo(160, 120, 25, 270 * 1024, false, 90)
i get this exception :Camera1Base: Streaming or preview stopped, ignored

the streaming is start and stop but camera is not display please help what should i do. and i am having one log message Camera1Base: Streaming or preview stopped, ignored dont know what to do please help

Hello,
First of all, please, avoid comment on issues closed.
That means that you are calling stopPreview while you are streaming or when you have preview already stopped. Basically the method is ignored becuase you can't disable the preview (because you are streaming) or your preview is already stopped.
If you dont need a preview you can totally ignore the log but if you are no able to start the preview let me know:
Are you using app examples?  which one?
If you are not using app examples, can you share code used?


Change default encoding on request

I see that request encoding is defaulted to ParameterEncoding.URL. Would be great to be able to change the default on the Manager.sharedInstance instead of on each request. Is there a way to change the default encoding type for request?

Thank you for your feedback @roymckenzie!
There is not currently a way to set the ParameterEncoding type for all requests, nor do we think it's in the community's best interest to add one. The most common case is certainly to use .URL encoding for GET requests. Adding an override into the Manager would not only complicate the implementation, but could (most likely would) lead to confusion.
Thanks again.

Thanks for your consideration


Bluetooth: TBS: Added missing callState notifications

The changes of the call state done in terminate_call(), tbs_hold_call() and retrieve_call() were not notified to clients. This was fixed by calling notify_calls() before returning from these functions.

The 'Telephone Bearer Service' specification states in 3.11.1: "When the state of the call changes, the server shall update the Call State characteristic with the state." and "If the value of the Client Characteristic Configuration descriptor is configured for notification, then the server shall send a notification to the client when there is a change in the characteristic value."
Therefore I think this PR is needed to be compliant with the specification.

Thanks for the fix @lukas-fwdev

@lukas-fwdev I think there are still some CI issue in Zephyr, so your PR may fail, even if your changes are unrelated to the failure. In that case, I'll try to keep this PR in mind and restart the CI checks once the CI issues in Zephyr have been fixed.

Ok, sounds good. Thank you @Thalley !

Ok, sounds good. Thank you @Thalley !

Retriggered the CI and it passes :) This should get merged soon


proposal: output bacalhau jobId when debug option is on

[ ] Feat: "LILYPAD_DEBUG" environment variable to control
[ ] Output bacalhau jobId when LILYPAD_DEBUG="true"

Its come to my notice that developers are facing difficulties debugging errors in scenarios like : "Lilypad job succeeds, but bacalhau job fails", in the light of this situation i think we should output the bacalhau jobId so that they can check what went wrong in defining the bacalhau job
https://bacalhauproject.slack.com/archives/C052BAZJVEU/p1700306624603129

@binocarlos can u help me with the related code for this task?

@binocarlos can u help me with the related code for this task?


⚠ universalis has degraded performance

In 1e94199, universalis (https://universalis.app/) experienced degraded performance:

HTTP code: 200
Response time: 11373 ms

Resolved: universalis performance has improved in 88d1907.


Remove overflowX condition

#136

Why is overflow X ignored? Seems like https://github.com/jasonslyvia/react-lazyload/pull/167 should resolve this issue perhaps cleaner


enable C++ compiler warnings

Public-Facing Changes
None
Description

Enables compiler warnings
Fixes warnings identified by @jhurliman (requires -Winconsistent-missing-destructor-override and -Wextra-semi-stmt)

I like how in order to fix the C++ lint warnings we also had to fix a TypeScript lint warning.

Oops, that change was accidentally committed. Will remove that commit again, was merged in #655 already. Wondering why Github does not mark it as conflicting changes :thinking:


Option to define startingSize on ResizableChild

Hello!
Thanks for making this package, Im building a side panel view with it.
Would it be possible to add the option of defining a startingSize on ResizableChild that can be used instead of a starting ratio? It would be great if the other ResizableChild could be set to expand to take up all available space if no ratio is used. I would've submitted a PR but just learning to code hehe.

I like this idea - I have something in the works and will try to include it in a v1 release (coming soon)

Nice!! Looking forward to use it.
I'd like to add then that in my case I'd like to be able to set starting size as a pixel value on two out of 3 resizables. As I also will have a right panel later on. So left and right: pixel value, middle: expands.

I have this feature published as a pre-release on pub.dev. Check out version 2.0.0-beta.2

Just gave it a go! Nice. Is it possible to make the ResizableChild stick to its size while resizing the window as well? I'd like for it to stay in the defined size or the size a user sets it to, whilst changing overall window size.

If I understand you correctly, instead of scaling the children uniformly as the window size increases, only scale the "expanding" middle section (with the null startingSize)?

Yes Exactly!

A bonus / nice to have would be that the widget remembers the previous size of the !hidden ResizableChild when unhiding it.

I'm nearing completion on your "expand" idea and I think it works really nicely.
As for the "remember previous size," I think this would be something you could accomplish by using the controller in your own program. You could extract the current sizes, hide the widget, then display the widget and set the sizes back - or something along those lines.
I don't think it's something that needs to be supported internally.

Sweeeet! You're quick. I'm looking forward to give it a spin. :)
Yea fair enough, I can make it work that way 👍

Ok, check out beta.3 (https://pub.dev/packages/flutter_resizable_container/versions/2.0.0-beta.3).
I think I like this setup and will likely make a full release soon. Thanks for all your input!

Nice work. It works perfectly! Thanks for being receptive!


Is there a hotkey to invoke search bar?

... and is there any plan to add this feature? 😆

ctrl+K or cmd+K depending on your operating system!


File picker not showing

File picker is missing on Brave, but works on Safari see: https://jam.dev/c/3e1aa6c8-99fb-4916-8e3a-9d7c6ae8c01c

Just wanted to confirm this is still an issue, perhaps you were looking at this before #204 was merged?
i just wanted to confirm it is displaying (for me) on Brave

+1
@sahilc0, you may need to force reload

OK so it was STILL not working on Brave (adblocker, VPN off)
But I updated Brave, and now it works. Might have just been some cache related thing? who knows
Feel free to close!


Bug: Implement Multi Select on Gas Type code dropdown

Steps to Reproduce

Log in to ECMPS
Select a config
Select Linearity Summary as a test type
View a protocol gas record

The following issues are present In Modal view:
Gas Type Code field is showing "-- Select a value --". Global logged out View.

Notes from refinement on 12/28: Gas type code shows select a value when there are multiple gas types. Will need to have further discussion with the EPA on making gas type code a multi select drop down

RATA - Global-view for Glen Lyn:

RATA - Workspace for Glen Lyn:

RATA - Workspace for Glen Lyn - Add Protocol Gas Data:


chore(i18n): add font sizes and noscript information to de.toml

chore(i18n): add font sizes and noscript information to de.toml

Thank you.


Create Server shutdown RPC service

Crearte Server shutdown RPC service:

Add ServerControl related RPC to proto.
Wire in ServerControl to scala server code.
Wire ServerControl into typescript client code with stopServerGraceful and stopServerImmediate.

Closes #553

The way a graceful shutdown should work is that we want to support single use cases where we start a server, create a session, then send the server a graceful shutdown.  What this does is that we've created a private server.  No new sessions can started and when the application is done and destroys it's session, the server shuts down automatically.

@scholarsmate Isn't that what is done on graceful shutdown? First it destroys all the actors (sessions) and then stops the server is this not the desired operation or do you want the client destroying the session before telling the server to shutdown or something different?

@arosien I have a question for you. So this seems to be working well but I had to add this to each subscribe function
.on('error', (err) => {
    // Call cancelled thrown when server is shutdown
    if (!err.message.includes('Call cancelled')) {
        throw err
    }
})

I believe this is caused by openstreams, however over on the daffodil-vscode side this can cause yarn test to hang. So using making this
.on('error', (err) => {
    // Call cancelled thrown when server is shutdown
    if (!err.message.includes('Call cancelled')) {
        throw err
    } else {
        process.exitCode = 0
    }
})

makes the yarn test command work but will cause an issue in the actual extension. Do you know what I could possibly do on the server side to avoid using .on('error') thing altogether?

@scholarsmate Isn't that what is done on graceful shutdown? First it destroys all the actors (sessions) and then stops the server is this not the desired operation or do you want the client destroying the session before telling the server to shutdown or something different?

Having the server destroying open sessions is not graceful.  What is graceful is not allowing new sessions and when all the sessions are destroyed (by the client(s)), then the server is shut down.

Gotcha so I shouldn't be having the server destroySessions? So would the server just keep waiting till the number of sessions is 0 and then stop, where immediate just does it right away?

@arosien Any comments on what is being done here?


chore: Generate Package.swift with protocol tests included

Issue #

Description of changes
Use the SDK CLI to generate Package.swift with protocol tests included.
New/existing dependencies impact assessment, if applicable
No new dependencies were added to this change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test

/test

/test


Javascript colorization defining multiple var

When defining multiple var in JavaScript the colorization is not working properly after the first defined variable if they are on separate lines.

var wm1 = new WeakMap(), 	wm2 = new WeakMap(),     wm3 = new WeakMap();
On the same line they are correctly colorized

Expected: wm2 and wm3 should be the same color as wm1 regardless of the line they are on.
Version 0.10.12-alpha
Commit e8d5a7932b99f6b7559d48536bfc84732bfc8582
Date 2016-03-09T09:53:18.387Z
Shell 0.35.6
Renderer 45.0.2454.85
Node 4.1.1

This issue was moved to Microsoft/TypeScript-TmLanguage#121


Bootstrap\Nav::isItemActive() does not recognize URLs that are not using plain routes.

Note: I only tested with prettyURL/hidescriptname enabled.
isItemActive() only works if your URLs are all using the basic '<controller>/<view>' => '<controller>/<view>' route. It will not work in the instance of routes like two blog-related examples in the URL Management docs, or in the instance of relatively simple rules like '<controller>s' => '<controller>/list' or '<controller>s/<id:\d+>' => '<controller>/list'.
The function appears to rely on the parsed route, rather than the URL used. So if I have rules as above, the URL "/posts" in the menu will not match as active when the user is on the page, because it is trying to match against "post/list" rather than the "posts".
I was able to work around this for now by using 'active' => $this->context->module->request->pathInfo == 'posts' in my layout file (many..many..times), but it seems to me that the Nav widget should recognize the URL in use along with the route. ->pathInfo was the only place I could find the matched portion of the URL, there might be a better place.

This can be solved by overriding run  like this:
    public function run()
    {
        $this->route = Yii::$app->request->pathInfo;
        parent::run();
    }


Completions missing for pytest

No completion is seen after pytest.mark.pa. Shows partial completion after the '.'

What is expected?

Appears to work in new LS


Getting Bad quality

[*] I have read the FAQ.
[*] I have searched in existing issues.

Environment

OS: Windows7
scrcpy version: 1.17
installation method: Windows Release
device model: Samsung A10s
Android version: 10

Describe the bug
I am using it for reading manga with tachiyomi but I am getting bad quality.
On errors, please provide the output of the console (and adb logcat if relevant).
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.
Its quality without any command only scrcpy

with --render-driver=opengl

with --render-driver=opengl and alt+g

Could you please post a screenshot of the device directly?
adb exec-out screencap -p > screenshot.png

Could you please post a screenshot of the device directly?
adb exec-out screencap -p > screenshot.png

here is another screenshot with that command

here is another screenshot with that command

Also what is the output of:

scrcpy -Vdebug --render-driver=opengl

On your screenshot, it seems there is no mipmapping at all.
It's difficult to see if the black in your first screenshot is on your device screen or if it's additional black borders (it's probably both).
With Alt+g, it should not add black borders at all, but it seems the content is still resized (instead of cropped) if the requested window size is bigger than your screen (it may happen on some systems).

Also what is the output of:

scrcpy -Vdebug --render-driver=opengl

On your screenshot, it seems there is no mipmapping at all.
It's difficult to see if the black in your first screenshot is on your device screen or if it's additional black borders (it's probably both).
With Alt+g, it should not add black borders at all, but it seems the content is still resized (instead of cropped) if the requested window size is bigger than your screen (it may happen on some systems).

[server] INFO: Device: samsung SM-A107F (Android 10)
DEBUG: Starting stream thread
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
INFO: Renderer: opengl
INFO: OpenGL version: 4.4.13283 Compatibility Profile Context 14.501.1003.0
INFO: Trilinear filtering enabled
INFO: Initial texture: 720x1520
[server] DEBUG: Using encoder: 'OMX.MTK.VIDEO.ENCODER.AVC'

Also tried alt+g and here its screenshot too

[server] INFO: Device: samsung SM-A107F (Android 10)
DEBUG: Starting stream thread
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
INFO: Renderer: opengl
INFO: OpenGL version: 4.4.13283 Compatibility Profile Context 14.501.1003.0
INFO: Trilinear filtering enabled
INFO: Initial texture: 720x1520
[server] DEBUG: Using encoder: 'OMX.MTK.VIDEO.ENCODER.AVC'

Also tried alt+g and here its screenshot too

Thanks.

Thanks.


fix: links and colour

fix: removed bold
fix: use classic blue links

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


Add an Example for IFeatureSet.RemoveShapeAt Method

Please add an example for IFeatureSet.RemoveShapeAt Method.
TODO (optional): Describe a specific scenario you would like to see addressed.
Help Topic: ms-its:E:\FGIS\DotSpatial.chm::/html/47b5adfd-cf27-a5d2-610a-d33cc03e7264.htm

您的邮件我已经收到了，我会尽快回复的


MultiSend transactions require the action name in some cases

For multiSend transactions, when the action count is 1 the mocks require for the UI to display the method name.
Currently, Custom transactions return only the methodName (which is multiSend in this case) and actionCount with the value 1. There are 2 proposals, in order to avoid having to include the entire dataDecoded in the TransactionInfo::Custom :

We agree to always show action #, even if it is 1, with no additional methodName information.
We change actionCount to actionInfo and include a list of the nested method names (I would suggest to only include a single level of nesting to reduce complexity)

Additional info: inVision mock

I would go with version 1 or as a third version say we look into the multisend when it is a single action and get it out. But I prefer to not add more special handling so my preference would be to display in the client "1 action" ... actually the web interface should optimize this not use multisend when it is only 1 tx ... would safe some gas.

I would go with version 1 or as a third version say we look into the multisend when it is a single action and get it out. But I prefer to not add more special handling so my preference would be to display in the client "1 action" ... actually the web interface should optimize this not use multisend when it is only 1 tx ... would safe some gas.

We will go with uniform behaviour for a single action for the list.

We will go with uniform behaviour for a single action for the list.


added admin view'

added admin view'
added admin view'

#13  👈
main

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

Join @leonchike and the rest of your teammates on  Graphite


Request for tag/release

Hiya :) Myself and @SherifNagy are working on packaging steck for Fedora, and noticed there has not been a release in some time. Due to how it is being packaged (i.e., with the python macros in RPM), it is detected as a "legacy" package due to the most recent version on PyPi being 0.7.0, which still has a setup.py instead of the pyproject.toml/PEP-517 format.
I'm happy to help out with anything you need!
Best,
Neil

I'll tag and upload a release over the weekend.

Done with 0.8.0.


Change EntityManager in MenuManager.php

Hi !
First, great bundle, it's very useful !
You may change the service called in the construct of the class Manager/MenuManager.php to avoid issue with recents versions of Symfony :
public function __construct(EntityManager $em)
to
public function __construct(EntityManagerInterface $em)
Thanks

Hi,
thanks for your recommendation, does It looks good for you ?
https://github.com/nan-guo/Sonata-Menu-Bundle/pull/18

Hi,
Perfect, thanks !


ci: Add python wheel workflow

This PR fix #432

Thanks for this!
The action is failing with this cryptic message:
AttributeError: module 'PyImath' has no attribute 'dynamic_metadata'
I think this is from the step that dynamically computes the version string. You're missing the sci-kit script that computes the version. Try making a local copy of this: https://github.com/AcademySoftwareFoundation/openexr/blob/main/src/wrappers/python/openexr_skbuild_plugin.py
This runs cmake to determine the version, rather than hard-coding the version into the pyproject.toml. It's invoked via the line in pyproject.toml that says dynamic = ["version"]
I'm not 100% sure that Imath's CMake currently returns the right string to extract the version, so it might need some further tweaking.

@lekaf974, this looks close and we'd like to have the contribution, will you be able to finish it off? Thanks!

@cary-ilm was in a rush, I will take a look this weekend and let you know

@lekaf974, checking up on this again, would you be able to finish this off soon? Thanks!

@cary-ilm sorry for delay, so I am facing the following issue
 *** scikit-build-core 0.8.1 (sdist)
Traceback (most recent call last):
  File "/opt/pipx/.cache/e34bb0d426333a3/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
  File "/opt/pipx/.cache/e34bb0d426333a3/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
  File "/opt/pipx/.cache/e34bb0d426333a3/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in build_sdist
    return backend.build_sdist(sdist_directory, config_settings)
  File "/tmp/build-env-v5qizh2g/lib/python3.10/site-packages/scikit_build_core/build/__init__.py", line 96, in build_sdist
    return skbuild_build_sdist(sdist_directory, config_settings)
  File "/tmp/build-env-v5qizh2g/lib/python3.10/site-packages/scikit_build_core/build/sdist.py", line 114, in build_sdist
    metadata = get_standard_metadata(pyproject, settings)
  File "/tmp/build-env-v5qizh2g/lib/python3.10/site-packages/scikit_build_core/settings/metadata.py", line 39, in get_standard_metadata
    metadata = StandardMetadata.from_pyproject(new_pyproject_dict)
  File "/tmp/build-env-v5qizh2g/lib/python3.10/site-packages/pyproject_metadata/__init__.py", line 257, in from_pyproject
    raise ConfigurationError(msg)
pyproject_metadata.ConfigurationError: Field "project.version" missing and "version" not specified in "project.dynamic"
ERROR Backend subprocess exited when trying to invoke build_sdist

any device how I can found version dynamically ?

Not able to fix the errors, closing the PR


Decouple Settings

Do not overwrite old settings unless the settings version is incompatible with the new one.

Done in dev. New settings are always merged with existing settings. Setting corruption leads to default settings being initialised.


[feat] add support for Yarn + inheriting exec process

hello there 👋,
really cool template @emin93, easy to follow + simple and efficient idea!
while using it during this week, I found myself tweaking setup.js before running node setup.js to use yarn,
in this PR, I'm adding support for yarn and also inheriting the parent process in execSync, so you can see the stdio from yarn add or npm i in the process (not only warnings/errors)
like:

thanks! 🤗

I did some slight changes as you were only checking if the method isYarnAvailable was defined and not really executing it to check the result. That's why your code was always trying to use yarn. Besides that I did some minor adjustments. You can check it out it in the following commit: https://github.com/emin93/react-native-template-typescript/commit/302409b2aa143a257024723e97b50b3de015f690

🤙, maybe adding prettier would help with the small things!

That's true, I'll add this to the issues.

FYI: Version 2.1.0 has been released.


Move external hooks definition

I verified manually that ExternalHooks were still applied by default but
that I could set the incOptions in the Test and Compile configs so that
they weren't used.
Fixes #4624

[x] I've read the CONTRIBUTING guidelines

The appveyor failure is network related and not related to my change (one of the builds did in fact pass).

To clarify, is https://github.com/lampepfl/dotty/blob/2e5462483a9f0628e9c59ae31c165c04a45c9d96/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala#L111-L136 and https://github.com/lampepfl/dotty/blob/2e5462483a9f0628e9c59ae31c165c04a45c9d96/sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala#L162-L168 still the correct way to add an additional external hook on top of the existing ones ? I'm OK with changing this code in a way that only works in sbt 1.3+, I just want something that works.

@smarter I think that prior to this change, your dotty external hooks changes would have been blown away by sbt. I haven't verified the dotty plugin myself after these changes, but it looks correct to me.


compose: Focus on topic when narrowed to a stream+topic.

When narrowed to a stream+topic and clicking the "new topic" button, focus in on topic and the text remains selected.
Fixes #3888.

Automated message from Dropbox CLA bot
@jajodiaraghav, it looks like you've already signed the Dropbox CLA. Thanks!

@jajodiaraghav thanks for working on this!  Check out the test failures; I bet some tests need updating.
Also, your patch looks like it changes the behavior unconditionally; we only want to change the "New topic" button, not the other code paths that use compose.start() (e.g. the c hotkey, etc.).

@timabbott I tested for all other cases and couldn't find any change in behavior. Do you still want me to modify the patch?
I will fix the tests. :)

OK I found a case that this breaks -- the @ hotkey now does the wrong thing with focus.  Not sure if there are others; one will need to try every code path using compose.start() or compose.respond_to_messages to be sure.

Updated

Added if/else block! :)

Nice, merged, thanks @jajodiaraghav!


Remove openshiftManagedClusters

openshiftManagedClusters refers to the OpenShift v3 offering of Azure Red Hat OpenShift which is a retired service.

@bennerv - thank you for your contribution.
#sign-off


ENYO-1188: Accessibility: Apply "aria-label" to all enyo control which h...

...ave a content
When content of control is set or chagned, aria-label should be also set
and changed. So I added the code of setting aria-label in contentChanged
function.
In addition, it needs the tabindex attribute to be focusable because
screen reader can read aria-label when dom is focused. And if dom has
tabindex attribute default outline is shown when it focused, so remove
the outline in case dom has tabindex attribute.
https://jira2.lgsvl.com/browse/ENYO-1188
Enyo-DCO-1.1-Signed-off-by: Jaewon Jang<EMAIL_ADDRESS>

This PR has dependency on https://github.com/enyojs/enyo/pull/1067

Looks good to me

I'll make another PR, so close this.


Goats/581 infinity modal

Description
New PR for getting started modal.

Related Ticket

Resolves #581

Checklist

[x] Building the site with npm run build-site works without errors
[x] Building the app with npm run build-app works without errors
[x] I formatted JS and TS files with running npm run format-all

@theprofessora
What do you think of this mockup?
I feel like we can better utilise the space. Whereas the 'unsure' link looks better left or center aligned imo.

This works for me. I was evenly split with having the green link aligned with the images or aligned with the other text on the modal.

Awesome one @goatsOnDrugs, this is starting to shape up great 🎉
A few comments on things that I noticed:

Can we optimise the images to reduce how much data we send to our users? We can use online tools to compress(https://tinypng.com/) and resize(https://www.reduceimages.com/) images, especially if the rendered elements aren't large on our site :)

I think we need to add a bit more height to the button links to match the designs
It looks like we're missing a black overlay over the images too
Something like

  .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.2);
  }

Overlay added, good catch
images were compressed with tiny url but now they are resized. size reduced to 80%.
I used a smaller height on the buttons to avoid scrolling on screens with smaller heights. Professor approved the new height.

What do you think of this mockup? I feel like we can better utilise the space. Whereas the 'unsure' link looks better left or center aligned imo.

Link is left aligned on desktop and center aligned on mobile now with no padding-left on desktop.


Version 0.5.2

Changes:

Scopes for Google (#281)
Gradle build fix (#272)
README colorization for code snippets

@puf please review.

A few comments. Aside from that lgtm.

@puf clarified XML setup


Add a PowerToys Run shortcut to the Taskbar

Instead of the normal search, open PowerToys Run when clicking on the icon on the taskbar.
If you'd like to see this feature implemented, add a 👍 reaction to this post.

You mean this? #6655

yes like this

sorry, no plans to currently do that.  duplicate request of #6655

If u are on MacOS u have on left side of Network search icon What hop u onto MacOS Run (like PowerToys Run) and if it be on taskbar where is battery, network, sound etc. u have on these Avake, PowerToys Quick Settings. If little search button it be on taskbar if there was somthing new inform me on<EMAIL_ADDRESS>Thank you

like this

I am definitely for this one! PowerToys Run is extremely cumbersome to launch without a hardware keyboard on hybrid devices such as Surface Pro 8. I just need one tap solution to launch it from the task bar. No need to technically replace the Windows search. Any kind of workaround for creating the shortcut would help tremendously (using a command line, batch file or something similar).

(This comment is writed in slovak because I deceted that this is Kind of What language I speak) Áno chápem ťa je to ťažké aj pre mňa zapnúť klávesovú skratku. Rád by som to aj ja tak mal.


Creating Snippets from Templado\Html Objects

It seems like it would be a good idea to have a way to instantiate a Snippet from a Templado\Html. This could be a convenient way to create pre-rendered code blocks, and add them to a given page.

Took a while, but should be implemented now.


Update backup-azure-microsoft-azure-backup.md

The following changes are necessary for correct meaning of the product. I missed those changes during review of the original file

Hi @SamirMehta, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (sammehta). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


#727: Normalize readme entry path prior to extraction

Readme node path is now linux ready.

Used PathUtility to prepare the path to a readme to be linux compatible

Fixing issue: https://github.com/loic-sharma/BaGet/issues/727

Is there any progress?
Due to this issue, the package cannot be restored

I'm running into this issue using BaGet as a NuGet mirror.


eliminate the use of the "look ahead parser" in the parser

I was discussing this with @blickly and @Dominator008, and one possibility is that the parse could create a intermediate object that is "corrected" by the IRFactory (ie a ParentizedExpressionOrArgumentList, ObjectLiteralOrDestructuring or similiar).  Alternately, the "pseudo node" could be rewritten as the parser bubbles up (it hits the "->" token and converts the parenthesized comma expression to a parameter list, etc).
This would avoid the patholigical cases such as #1049 that we are experiencing with the current design.  If necessary the IRFactory could report any inconsistencies that would otherwise be missed with this approach.

For reference, the Traceur parser:
https://github.com/google/traceur-compiler/blob/master/src/syntax/Parser.js#L2807


Walkthrough's scroll exercise is lacking instructions

Having trained clicking each left/right mouse buttons 5 times in the Welcome step, it is peculiar that the first exercise of Navigation just says "drag the map". Shouldn't the procedure be explained in painstaking detail for the total newbie?
Something like;
"Scroll the visible part of the map by pressing and holding the left mouse button while moving the mouse around. The map can also be scrolled by using the arrow keys on you keyboard."

Sounds good - we should probably not assume that the user has any familiarity with web maps.
By the way, the clicking task is mostly to make sure the user can right-click, even if they don't have a real mouse with a right button.  There are so many different ways to right-click that it made sense for that to be its own step!


[FEATURE] Implement footer

Description:
The footer should have the following specifications:

It should have a transparent burred background with a white top border.
Contains the text "Built using NextJS" in the middle of the component.
It should stay at the bottom of the page.

Attachments:

Figma file

Hello, kindly assign me this issue.

sir i'm good at FrontEnd web development i can do this can you please assign this to me?

@sagarxjadhav this one is already assigned

@eduardconstantin, I'm new to Web and Nextjs. This is one of my first contributions to open-source.
I'm having a challenge. This is what I see when I start the development server.
How can I resolve it?

That is the default template for nextjs.
You have to add your code in layout.tsx

Noted.

It's working. Almost through 👍


#4982 - replaced listing block summary template view  tags with  tags

As mentioned here I have updated the html tags for the listing items when using the Summary variation for the Listing block and updated the styling to match the previous  styling. I have also added a changelog entry due to this being a breaking change.

@hazigabriel you need to sign the Plone Contributor Agreement to merge this pull request.
Learn about the Plone Contributor Agreement: https://plone.org/foundation/contributors-agreement

try not to force push, it's a smell if you have to do it
solve conflicts

Nice. If possible, let's go one step further. The state colors are defined here
https://github.com/plone/volto/blob/03cd36dfa82de3a03b2f88a6b59ceeea1bc99292/src/config/Workflows.js#L2-L9
available as config.settings.workflowMapping. Each item in the listing may have a review_state field. Then you can use that to set a style prop.

Following discussions with Victor, we should take inspiration from his other PR https://github.com/plone/volto/pull/4848 and use unstyled classnames instead of hardcoded colors