While-loops freeze the program?

When I switch from extending LinearOpMode to VisionOpMode my control loops for driving the robot get stuck. Is there a way I can call the vision processing from a program in LinearOpMode or is there a way I can control the robot from VisionOpMode?
Thank you!

Hi @DanielArnett,
We are currently working on a LinearVisionOpMode extension that allows you to extend the linear OpMode class and use vision without having it block your program's execution. Since a typical set of vision code takes about 20-200ms to analyze a frame and return data and the LinearOpMode class expects your loop to complete in about 10ms, using vision will block a linear-style loop.
We strongly recommend migrating your code to a regular OpMode-like syntax - make sure your class extends VisionOpMode and move everything within your while() loop into the loop() function and everything before this into an init() function. You can then access vision in your loop() method via objects such as beaconColor and fps. We have a few examples in ftc-robotcontroller/src/main/java/com/qualcomm/ftcrobotcontroller/opmodes for you to look at - BasicVisionSample would be where to start.

Thank you for the feedback, we've made great progress thanks to your help.
If anyone encounters a similar issue, I highly recommend using a State
Machine structure like the one described in this beginner tutorial.
https://youtu.be/cPgJ8bbBj_o
On Fri, Jan 8, 2016 at 9:46 AM, Arthur Pachachura<EMAIL_ADDRESS>wrote:

Hi @DanielArnett https://github.com/DanielArnett,
We are currently working on a LinearVisionOpMode extension that allows
you to extend the linear OpMode class and use vision without having it
block your program's execution. Since a typical set of vision code takes
about 20-200ms to analyze a frame and return data and the LinearOpMode
class expects your loop to complete in about 10ms, using vision will block
a linear-style loop.
We strongly recommend migrating your code to a regular OpMode-like syntax

make sure your class extends VisionOpMode and move everything within
your while() loop into the loop() function and everything before this
into an init() function. You can then access vision in your loop()
method via objects such as beaconColor and fps. We have a few examples
in
ftc-robotcontroller/src/main/java/com/qualcomm/ftcrobotcontroller/opmodes
for you to look at - BasicVisionSample would be where to start.

—
Reply to this email directly or view it on GitHub
https://github.com/lasarobotics/FTCVision/issues/54#issuecomment-170021644
.

@DanielArnett We just implemented linear opmode support!
The LinearVisionOpMode adds vision support to a LinearOpMode. All you have to do is extend LinearVisionOpMode, add a waitForVisionStart() at the beginning of your runOpMode() as well any any vision-related initialization instructions, and you're done! See the LinearVisionSample for more details and functionality.
Glad to hear the state machine structure worked out for your team. For many others, a linear op mode is the simplest route.
Closes #54.


What Configuration Settings?

The overloads that take a configuration section says it needs "the necessary settings", but it doesn't tell you what those necessary settings are. I thought it might be the settings in JwtBearerOptions and MicrosoftIdentityOptions, but that can't be right because when I use the ASP.NET Core template in Visual Studio it includes an option that is not in either of these classes (CallbackPath). So can we please say what configuration settings are required?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6abd74e1-f841-f4c3-6201-3192c7329ac9
Version Independent ID: de87694b-b1ac-bcb5-fb5e-9cc67dcf2590
Content: MicrosoftIdentityWebApiAuthenticationBuilderExtensions.AddMicrosoftIdentityWebApi Method (Microsoft.Identity.Web) - Azure for .NET Developers
Content Source: xml/Microsoft.Identity.Web/MicrosoftIdentityWebApiAuthenticationBuilderExtensions.xml
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Closing;  this issue has been transferred to the repository where the Microsoft.Identity.Web package is maintained as #1441.


Add support for common peripheral patching

I just remembered svdtools support using common patch files for peripherals or other patches that might be shared across SVDs. This addition supports the /patch/peripheral directory for storing peripheral patches The device-level patch file uses the following format for peripherals:
_svd: "{svd_path}"

_derive:
  TIMER0: WTIMER0
  TIMER1: WTIMER0
  WTIMER1: WTIMER0
  ACMP1: ACMP0
  USART1: USART0
  USART2: USART0
  USART3: USART0
  UART0: USART0
  I2C1: I2C0

_include:
  - "{peripheral_dir}/ldma.yaml"
  - "{peripheral_dir}/timer.yaml"

Thank you!
Added in 939f305c7225422a57757268a6c3d1225f429355.


[WINDOWS] Moving up to VisualStudio 2022

@mhughesacn Looks like we have a hanging process again :-) License down :rofl:

Thanks Pierre.  This check is between the CLA checker and github and is sometimes flakey.  I just moved it along.


Waiting for the code of BEIT-3

Hi,
The paper 'Image as a Foreign Language: BEIT Pretraining for All Vision and Vision-Language Tasks' is very interesting!
But I cannot find the code in this project yet.
Could you please release the code as soon as possible or just tell me what is the time?
Many thanks!

The v2 code has been available at https://github.com/microsoft/unilm/tree/master/beit2 . We will work on v3 too.

The code and pre-trained models of BEiT-3 can be found at aka.ms/beit3.


problem with dual gps, or GPS2 port

my hardware is pixhawk2 cube, and i'm trying the newly merged dual gps  function #9765
when i connected 2 gps on both gps ports, it seems not working properly
i logged it and can see there's no vehicle_gps_position_1 or 2 in it, only 0
so i doubted the one on GPS2 port not working
when i'm only connecting ONE GPS on GPS2 port, QGC report "primary compass not found",and no gps position
so i think maybe i miss something when configuring the GPS2 port, can anyone help?
thanks

https://logs.px4.io/plot_app?log=d777c91c-4fdd-4da2-8a08-26aceaad6c44
here's my log

i reviewed the changed file and find the ekf_gps_position message and the selected variety. it is 0 in my log. is it the switcher key? and how to modify it?

By default PX4 does not look for a second GPS.
You will need to modify the ROMFS/px4fmu_common/init.d/rcS file so that the following start command is used to start the GPS:
gps start -d /dev/ttyS3 -e /dev/ttyS
I don't know what serial port GPS2 connects to with your hardware.

@priseborough thanks a lot. i've tried successfully.

Can you let us know what serial device numbers you ended up using? TXS

@bkueng I've assigned you to this - can we please add an enum in QGC to configure? Thanks!

Requires https://github.com/PX4/Firmware/pull/9615

@priseborough i'm referrring to this page http://ardupilot.org/copter/docs/common-pixhawk-serial-names.html


How to run a query on mutation cache data

Question
First make a call mutation with input unique id and saving the response to cache(sqlite)
Next do a query on cached data with its unique id
Expected it should return the data referenced with id but it returns error with Object 'QUERY_ROOT' has no field named x
Also extended the mutation and query unique keyFields id in extra.graphql
Second scenario
When I run the same mutation with unique id with FetchCacheOnly, but it always makes a Network call and returns the result.
Either Query should be working or Mutation cache should be working neither is working here.
Every time calling the api is not a good way.
Correct me if i'm doing any thing incorrect.

Hi! I believe it is probably expected that the first scenario doesn't work because the result of a query cannot be inferred if wasn't executed at least once - but it's hard to know for sure without seeing your code.
I recommend calling println(NormalizedCache.prettifyDump(apolloClient.apolloStore.dump())) to see the contents of your cache after the first mutation, this is often very useful to debug such issues.
For the second scenario: the network call is expected because a mutation with cache-only doesn't really make sense (you can't mutate if you don't reach the server) - so the fetch policy is essentially ignored for mutations. If your aim is to modify the cache locally, you could use the ApolloStore APIs instead.

@BoD  - You are right, I had a code to insert the mutation response writeToCacheAsynchronously(true) which caused the other query to run parllel'ly before insertion of response.
with println i'm able to figure out the issue.
Now I am able to query the mutation response data saved in cache.
@BoD Thanks!


Dropdown menu ascends to space

Windows Terminal version
1.20.11781.0
Windows build number
10.0.26100.1882
Other Software
No response
Steps to reproduce

Open a dropdown menu
Scroll down or up on the main window

https://github.com/user-attachments/assets/803c4b2e-073d-432f-8bc8-2fa5f7c36b1a
Expected Behavior
There are 3 different behaviours on Windows 11 when a dropdown menu is open

You can't scroll
It closes the dropdown menu if you scroll
It goes to space, this one has been patched in most WinUI3 apps

Actual Behavior

It goes to space, this is a regression as this bug was already present and then fixed in previous Terminal versions.

Thanks! This is actually a /dup of #9320 (which links to a WinUI bug).


HBASE-28453 FixedIntervalRateLimiter support for a shorter refill interval

See https://issues.apache.org/jira/browse/HBASE-28453
The AverageIntervalRateLimiter causes tiny wait intervals which can result in DDOS at worst, or poor UX at best. See below where we implemented a 10k request/second/machine quota at 10:43 and saw requests fall into immediate retry loops and inundate the cluster:

The FixedIntervalRateLimiter causes large wait intervals which make it difficult to fully utilize a quota. See below where we were stuck only utilizing ~20% of our quota consistently. After restarting the cluster to use a FIRL with a 100ms refill interval we were able to achieve much better utilization:

As suggested above, this PR introduces support for a refill interval that is <= the TimeUnit of a FixedIntervalRateLimiter. This means that you can define a quota in a straightforward way, like 100MB/sec, while also acknowledging, for example, that you're willing to refill it every 100ms — suggesting that your retries for small/normal requests will often be ~100ms.
Simply set hbase.quota.rate.limiter.refill.interval.ms to your desired refill interval, and restart your RegionServers, to make use of this feature. By default the refill interval will just equal the TimeUnit, so this is a no-op without explicit configuration.
@hgromer @eab148 @bozzkar @bbeaudreault

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 43s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 59s
master passed

+1 :green_heart:
compile
2m 31s
master passed

+1 :green_heart:
checkstyle
0m 35s
master passed

+1 :green_heart:
spotless
0m 44s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 32s
master passed

_ Patch Compile Tests _

-1 :x:
mvninstall
1m 40s
root in the patch failed.

-1 :x:
compile
0m 20s
hbase-server in the patch failed.

-0 :warning:
javac
0m 20s
hbase-server in the patch failed.

-0 :warning:
checkstyle
0m 42s
hbase-server: The patch generated 2 new + 1 unchanged - 0 fixed = 3 total (was 1)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

-1 :x:
hadoopcheck
2m  4s
The patch causes 10 errors with Hadoop v3.3.6.

+1 :green_heart:
spotless
0m 53s
patch has no errors when running spotless:check.

-1 :x:
spotbugs
0m 16s
hbase-server in the patch failed.

I believe the test failures here are unrelated


Pandas lints

(On top of previous commit regarding inplace.)
Most of these changes are simply replacing .values with either .array or .to_numpy().
The reason .values is discouraged, is because it behaves somewhat inconsistently.

I believe DataFrame.values always results a numpy array.
Series.values may return other types of pandas array, such as pyarrow arrays.

I've tried to be more explicit, and use .to_numpy() whenever the object really needs to be numpy type.
P.S. You can probably ignore these changes if you don't feel comfortable with them, I believe they mostly have no functional impact. The only real useful change is adding axis=0 to some instances of np.var() in the tests. They're going to change the default to axis=None in some future version of numpy, which make break those tests.

I like this PR! thanks a lot. The library is heavily reliant on pandas and hence it makes sense to follow best practices there!


Changed Index to use Debruijn graphs

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/RNAdam-prb/100/
Test PASSed.


linspace signatures for native op

linspace signatures for native op as discussed here: https://github.com/deeplearning4j/nd4j/issues/1479

Build triggered. sha1 is merged.

Build finished. No test results found.

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/441/


Add typespecs to backend "context" modules

Is your feature request related to a problem? Please describe.
We want to start getting better about including typespecs for our Elixir code. A lot of our backend logic lives in Phoenix "contexts" (e.g. lib/chat_api/messages.ex), so this will be a great place to add more typespecs.
Describe the solution you'd like
Add typespecs to all the modules in the lib/chat_api directory. Don't worry about any of the subdirectories for now -- just focus on e.g. lib/chat_api/accounts.ex, lib/chat_api/messages.ex, lib/chat_api/conversations.ex.
For more info on typespecs, see https://hexdocs.pm/elixir/typespecs.html
Questions, or need help getting started?
Feel free to ask below, or ping us on Slack :)
(You can also check out our CONTRIBUTING.md)

Submitted PR according to this issue

closing, thanks @m1ome!


Move existing path variables into template for cuda.sh

Because of conflicts closing this and adding outside this pr.


Update dependencies

TaskRunnerTest > cancelReturnsTruePreventsNextExecution() FAILED
    java.lang.AssertionError:
    Expecting actual:
      ["FINE: Q10001 finished run in 506 ms: MockWebServer /<IP_ADDRESS>:50750",
        "FINE: Q10000 scheduled after 100 µs: task",
        "FINE: Q10000 canceled              : task"]
    to contain exactly (and in same order):
      ["FINE: Q10000 scheduled after 100 µs: task",
        "FINE: Q10000 canceled              : task"]
    but some elements were not expected:
      ["FINE: Q10001 finished run in 506 ms: MockWebServer /<IP_ADDRESS>:50750"]
        at okhttp3.internal.concurrent.TaskRunnerTest.cancelReturnsTruePreventsNextExecution(TaskRunnerTest.kt:184)

@yschimke Should add graal label aslo.

TaskRunnerTest > cancelReturnsTruePreventsNextExecution() FAILED

This test hooks into the JUL logging framework (which is awkwardly a JVM singleton) and it seems like an existing test is overrunning, producing overlapping events.  Seems unrelated to your change.

TaskRunnerTest > cancelReturnsTruePreventsNextExecution() FAILED

This test hooks into the JUL logging framework (which is awkwardly a JVM singleton) and it seems like an existing test is overrunning, producing overlapping events. Seems unrelated to your change.

Ok.

The following dependencies have later milestone versions:

org.apache.httpcomponents.client5:httpclient5 [5.0 -> 5.1]
https://hc.apache.org/httpcomponents-client-5.0.x/
org.jetbrains.dokka:dokka-gradle-plugin [0.10.1 -> 1.5.0]
https://github.com/Kotlin/dokka
org.jsoup:jsoup [1.13.1 -> 1.14.1]
https://jsoup.org/

May I'll bump them in separated PRs.

And maven repos declared in settings.gradle.kts could be removed as they also appear in buildscript and allprojects.

The following dependencies have later milestone versions:
* org.apache.httpcomponents.client5:httpclient5 [5.0 -> 5.1]
  https://hc.apache.org/httpcomponents-client-5.0.x/

* org.jetbrains.dokka:dokka-gradle-plugin [0.10.1 -> 1.5.0]
  https://github.com/Kotlin/dokka

* org.jsoup:jsoup [1.13.1 -> 1.14.1]
  https://jsoup.org/

May I'll bump them in separated PRs.

Dokka is problematic, and the other two are not something we require.  We don't need to take every minor bump of these peripheral libraries. Generally we'd take most version of something like Kotlin or Gradle.  We would definitely take every bump of okio.  But please don't start pushing every minor bump as an upgrade, it takes effort for reviewers and churn of PRs.

openjdk8 build is failing with
> Task :samples:compare:test

JettyHttpClientTest > initializationError FAILED
    java.lang.UnsupportedClassVersionError: org/eclipse/jetty/client/HttpClient has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

https://webtide.com/jetty-10-and-11-have-arrived/

The minimum required Java version for Jetty 10 is now Java 11.

This is an issue as we run tests with JDK 8 to ensure compatibility.

https://webtide.com/jetty-10-and-11-have-arrived/

The minimum required Java version for Jetty 10 is now Java 11.

This is an issue as we run tests with JDK 8 to ensure compatibility.

Gotcha, reverted jetty-client version.

Can you bump to okio 3.0.0-alpha.9 in this PR?

Can you bump to okio 3.0.0-alpha.9 in this PR?

Done.

Sorry, not sure why it's not showing up yet. https://github.com/square/okio/releases

Sorry, not sure why it's not showing up yet. https://github.com/square/okio/releases

It seems like 3.0.0-alpha.9 have not been available in MavenCentral ?


HMR stop working after changind JsonSerializerSettings

This breakes the HMR: JsonConvert.DefaultSettings = () => new JsonSerializerSettings { ContractResolver = new CamelCasePropertyNamesContractResolver() };.
Any chance to make this settings to work woth HMR?
ta

Yep, we know about this issue :) It's being tracked as #688.


Unity 2020 Unity Loader Error Handler

Describe the bug
In Unity 2017 to 2019, the Unity Loader generated by Unity used to expose a hook which would invoke when any kind of error was thrown from the Unity Loader or Unity Player itself. Even error during the Runtime of your application. This hook has been removed in Unity 2020.
The removal has not been documented, and I cannot seem the find any clue of where the event handler has good. It is hard to believe they haven't added any other kind of error handler.
To Reproduce
Steps to reproduce the behavior:

Make a Unity WebGL build with an intensional runtime error
Open the html file generated by Unity
Try to catch the runtime error using a hook

Screenshots
The code in 7.x.x with the Unity 2019 error handler
The interface based on the Unity Loader showing the error handler
Additional context
If anyone happens to know how to handle error events in Unity 2020, especially Runtime errors. Please feel free to reply on this thread.

If I spotted this correctly, this code is used to handle any kind of errors:
  function errorHandler(message, filename, lineno) {
    if (Module.startupErrorHandler) {
      Module.startupErrorHandler(message, filename, lineno);
      return;
    }
    if (Module.errorHandler && Module.errorHandler(message, filename, lineno))
      return;
    console.log("Invoking error handler due to\n" + message);
    if (typeof dump == "function")
      dump("Invoking error handler due to\n" + message);
    // Firefox has a bug where it's IndexedDB implementation will throw UnknownErrors, which are harmless, and should not be shown.
    if (message.indexOf("UnknownError") != -1)
      return;
    // Ignore error when application terminated with return code 0
    if (message.indexOf("Program terminated with exit(0)") != -1)
      return;
    if (errorHandler.didShowErrorMessage)
      return;
    var message = "An error occurred running the Unity content on this page. See your browser JavaScript console for more info. The error was:\n" + message;
    if (message.indexOf("DISABLE_EXCEPTION_CATCHING") != -1) {
      message = "An exception has occurred, but exception handling has been disabled in this build. If you are the developer of this content, enable exceptions in your project WebGL player settings to be able to catch the exception or see the stack trace.";
    } else if (message.indexOf("Cannot enlarge memory arrays") != -1) {
      message = "Out of memory. If you are the developer of this content, try allocating more memory to your WebGL build in the WebGL player settings.";
    } else if (message.indexOf("Invalid array buffer length") != -1  || message.indexOf("Invalid typed array length") != -1 || message.indexOf("out of memory") != -1 || message.indexOf("could not allocate memory") != -1) {
      message = "The browser could not allocate enough memory for the WebGL content. If you are the developer of this content, try allocating less memory to your WebGL build in the WebGL player settings.";
    }
    alert(message);
    errorHandler.didShowErrorMessage = true;
  }

This is part of the .loader.js file generated in 2020. The mentioned Module variable becomes attached to the unityInstance.
The startUpErrorHandler becomes overridden automatically during the startup process here:
  return new Promise(function (resolve, reject) {
    if (!Module.SystemInfo.hasWebGL) {
      reject("Your browser does not support WebGL.");
    } else if (!Module.SystemInfo.hasWasm) {
      reject("Your browser does not support WebAssembly.");
    } else {
      Module.startupErrorHandler = reject;
      onProgress(0);
      Module.postRun.push(function () {
        onProgress(1);
        delete Module.startupErrorHandler;
        resolve(unityInstance);
      });
      loadBuild();
    }
  });

If no errorHandler is registered, an Alert is triggered.
It seems that the errorHandler can only be registered after the init phase, i.e. startup errors still cause a hard rejection on the init phase.
Unluckily, the code also registers two event handlers on global level:
window.addEventListener("error", errorListener);
window.addEventListener("unhandledrejection", errorListener);

Results from both are forwarded to the error handler (in case there is any) even if the particular errors are not caused by Unity.
I'm not entirely sure about errors triggered from the compiled WASM code, though.


feat: add moonbit http component

Feature or Problem
This PR adds a moonbit http hello world component as per the instructions in https://www.moonbitlang.com/blog/component-model. Since the example still requires a wit-bindgen fork for the time being and I just started playing around with the language, I felt it fit here well!
It also updates the top level README to indicate the different projects we have in this repository 😄
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

❤  for the repo readme


documentation for route method

the documentation for setting a route looks like you simply have to insert the name of your foxx-service without a leading "/". In fact this "/" seems to be obligatory. If missing you get a "database not found" error.

The route method behaves as described now.


Reine branch ui

Changes made to landing page (index.html) (incomplete) and aboutus.html page (incomplete).
Can go to maps.html page by clicking ticket icon (on the landing page).
Screenshots are added below.

When the more info button is pressed (on the bottom right corner)

When the more info button is pressed (on the bottom right corner)

Could we make the default font something other than Times New Roman?

When the more info button is pressed (on the bottom right corner)

Could we make the default font something other than Times New Roman?

yeapp will do so, I'll also be changing colours layouts etc, right now im trying to do up a rough frontend ui quickly for the prototype :)

Ready to merge for prototype

MoreInfo Button enlarged.

Hi @jiangyue12392 @Meg1456, please add in your roles here (edit in index.html page - no need to change css):


Support for OpenZipkin

We can introduce distributed tracing in AxonFramework via Zipkin, thoughts ?

I have done this for an Axon2 project, with a few hiccups here and there managed to trace across a jgroups commandbus. Not sure if any of it still applies to Axon3, I thought it had a metrics interface somewhere ?
Similarly, a prometheus exporter would also be nice :-)

We have implemented an extension which provides an OpenTracing implementation. See https://github.com/AxonFramework/extension-tracing


fixed data issue for special channels

@bendichter @MRScheid This should fix that reported issue on those special channels.
Two things went wrong,

The first draft of code would add a special electrode time series to acquisition if its name was in the set of special channel names (tautological)

and

this would not report any error because the data it was pulling from in the dset was always channel zero (since the first draft indexing tested if the entire channel labels object was equal to the name of the electrode, not finding the index of that electrode, if it existed).

Thanks, @CodyCBakerPhD !
fyi @dsleiter

Awesome, thanks for the fix @CodyCBakerPhD and @bendichter. Thanks for sharing the dataset, and looking forward to the final version!


Is it possible to set ignoreVary: true when using precacheAndRoute?

Library Affected:
workbox-precaching
Browser & Platform:
all browsers
Issue or Feature Request Description:
I might be missing a reason for why this isn't possible but I want to use precacheAndRoute but be able to pass a matchOptions property in the options so that I can include ignoreVary: true. I am currently seeing console warnings about it but can see that there is no way to do this with precacheAndRoute the only option is a lower level option consisting of constructing the cache and setting a strategy. Maybe I am missing something in the documentation as I feel this should be possible but can't see how.

Just wanted to add I'm having the same issue at the moment.
However I've tried updating the PrecacheController:
    import { getOrCreatePrecacheController } from 'workbox-precaching/utils/getOrCreatePrecacheController';
    getOrCreatePrecacheController().strategy.matchOptions = {
        ignoreVary: true,
    };
    precacheAndRoute(self.__WB_MANIFEST);

& I've also tried constructing the precache controller instead
    const PreCacheController = new PrecacheController({
        cacheName: 'workbox-precache',
    });
    PreCacheController.addToCacheList(self.__WB_MANIFEST
    sw.addEventListener('install', event => PreCacheController.install(event));

In both instances the precaching behaviour works, however I'm seeing the following warning
workbox The response for /c/demo/manifest.json?__WB_REVISION__=eb19e6c3a26b676cb7c4d223c197cda4 has a 'Vary: Accept-Encoding' header. Consider setting the {ignoreVary: true} option on your strategy to ensure cache matching and deletion works as expected.
The articles at:
https://developer.chrome.com/docs/workbox/modules/workbox-precaching/)
https://developer.chrome.com/docs/workbox/reference/workbox-precaching/#type-PrecacheStrategy
Don't cover this use case.
Is there any way to pass CacheQueryOptions to the Precache behaviour?

Adding this works for me! Thanks!
import { getOrCreatePrecacheController } from 'workbox-precaching/utils/getOrCreatePrecacheController';
getOrCreatePrecacheController().strategy.matchOptions = {
  ignoreVary: true,
};

Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

For PRs, we closed everything that doesn't target the current v7 branch.
For Issues, we closed everything that was created before 2024.

Thanks, and we hope for your understanding!
The Workbox team


Cordova doesn't find environment variables

vagrant@vagrant-ubuntu-trusty-64:/vagrant/apps$ sudo forcedroid create
Enter your application type (native, react_native, hybrid_local, hybrid_remote): hybrid_remote
Enter your application name: TrailheadHybridTest
Enter the package name for your app (com.mycompany.myapp): com.lfbvr.trailheadhybridtest
Enter your organization name (Acme, Inc.): LFBVR, Inc.
Enter the start page for your app: /apex/HybridPage
Enter output directory for your app (leave empty for the current directory):

********************************************************************************
*
*   Creating android hybrid_remote application using Salesforce Mobile SDK
*     with app name:        TrailheadHybridTest
*          package name:    com.lfbvr.trailheadhybridtest
*          organization:    LFBVR, Inc.
*
*     in:                   TrailheadHybridTest
*
*     from template repo:   https://github.com/forcedotcom/SalesforceMobileSDK-Templates#v5.0.0
*          template path:   HybridRemoteTemplate
*          start page:      /apex/HybridPage
*          plugin repo:     https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v5.0.0
*
********************************************************************************

Using detached cordova-create
Creating a new cordova project.
/vagrant/apps/TrailheadHybridTest /vagrant/apps
/vagrant/apps/TrailheadHybridTest
└─┬<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ ├─┬<EMAIL_ADDRESS>  │ │ └──<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ ├─┬<EMAIL_ADDRESS>  │ │ └─┬<EMAIL_ADDRESS>  │ │   ├──<EMAIL_ADDRESS>  │ │   └──<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
/vagrant/apps
/vagrant/apps/TrailheadHybridTest /vagrant/apps
Adding android project...
Creating Cordova project for the Android platform:
        Path: platforms/android
        Package: com.lfbvr.trailheadhybridtest
        Name: TrailheadHybridTest
        Activity: MainActivity
        Android target: android-25
Subproject Path: CordovaLib
Android project created with<EMAIL_ADDRESS>Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for android
Failed to install 'cordova-plugin-whitelist':Error
    at /vagrant/apps/TrailheadHybridTest/platforms/android/cordova/lib/check_reqs.js:222:19
    at _fulfilled (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:796:13)
    at /vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:857:14
    at runSingle (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:137:13)
    at flush (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You might need to try adding it again. Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.
/vagrant/apps
/vagrant/apps/TrailheadHybridTest /vagrant/apps
support for subdirectories is deprecated and will be removed in Cordova@7
Fetching plugin "https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin" via git clone
Repository "https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin" checked out to git ref "v5.0.0".
Installing "com.salesforce" for android
Installing "cordova-plugin-whitelist" for android
Failed to install 'cordova-plugin-whitelist':Error
    at /vagrant/apps/TrailheadHybridTest/platforms/android/cordova/lib/check_reqs.js:222:19
    at _fulfilled (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:796:13)
    at /vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:857:14
    at runSingle (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:137:13)
    at flush (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
Failed to install 'com.salesforce':Error
    at /vagrant/apps/TrailheadHybridTest/platforms/android/cordova/lib/check_reqs.js:222:19
    at _fulfilled (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:796:13)
    at /vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:857:14
    at runSingle (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:137:13)
    at flush (/vagrant/apps/TrailheadHybridTest/platforms/android/cordova/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
/vagrant/apps
forcedroid create failed

Command failed: cordova plugin add https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin#v5.0.0 --force
Error: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.
Failed to find 'android' command in your 'PATH'. Try update your 'PATH' to include path to valid SDK directory.

And yet
vagrant@vagrant-ubuntu-trusty-64:/vagrant/apps$ echo $ANDROID_HOME
/opt/android/android-sdk-linux
vagrant@vagrant-ubuntu-trusty-64:/vagrant/apps$ which android
/opt/android/android-sdk-linux/tools/android

This is because of sudo forcedroid create and env_reset, secure_path entries in sudoers file.
Looking into puppet-sudo


Side panel stopped showing,

Hello!
Ive been using the plugin with great fun but it seems that it suddenly stopped showing in the side panel about a week ago.
We have been using the plugin unedited with the sheet for a few months now and i really dont know what made it change.
There are no errors, the sidepanel menus are now just empty below the refresh button. Not even the big red error https messages.

We recently updated the plugin to fetch data from google sheets in a different way. No idea what could be wrong but if you want I can try and debug it with you. discord: sumaris#1256


x/pkgsite:

What is the URL of the page with the issue?
Run pkgsite locally http://localhost:9999
export GOPROXY='https://proxy.golang.org'
pkgsite -proxy -http localhost:9999 -list=false

What is your user agent?
Any
Screenshot

What did you do?

Run pkgsite locally
Navigate to package documentation, for example, http://localhost:9999/golang.org/x/pkgsite
Scroll down until the header components change (from "blue" to "black")

What did you expect to see?
The link to the homepage points to https://go.dev instead of localhost:9999

I can work on a fix :)


surprisingly small CPUE values for DFO-QCS

Noticed surprisingly low CPUE values for DFO-QCS

Found issue in cleaning code where wgt/m^2 is divided by 1000000 m^2/km^2 instead of multiplied, fixed

Same changes for Hectate Strait, Strait of Georgia, West Coast Haida Gwaii and West Coast Vancouver Island cleaning codes. Made all changes, but unfortunately can't get
get_dfo-sog.R to run:
`> ######### Apply trimming per survey_unit method 2

dat_new_method2 <- apply_trimming_per_survey_unit_method2(clean_sog)
summarise() has grouped output by 'survey_unit'. You can override using the .groups argument.
Error in if (ext@xmin > -360.01 & ext@xmax < 360.01 & ext@ymin > -90.01 & :
missing value where TRUE/FALSE needed`

I have no error messages on my side when I run the flag functions, maybe it's an R package version thing?

@zoekitchel, I found out why you encountered issues:

for DFO-SOG, the minimum criteria to apply trimming require for each survey unit to include at least two year of survey (works for DFO-SOG), and a minimum duration of 10 years (for DFO-SOG, min year is 2012, and max year is 2015, so the duration is 4 years), therefore we end up with an empty data frame and an error in the function. I've modified the function to add a print message and remove the warnings. The survey summary was also missing for DFO-SOG, since it's only 2 years, the graphs are not all interesting, but now it's there.
https://github.com/AquaAuma/FishGlob_data/blob/8337fb7088e6ead057ac6267efd158959186b602/functions/apply_trimming_method2.R#L47
https://github.com/AquaAuma/FishGlob_data/blob/8337fb7088e6ead057ac6267efd158959186b602/functions/apply_trimming_method2.R#L289
for DFO-WCHG, there was a problem with the full_join() function so I fixed the code to add a join that does not create duplicates.
https://github.com/AquaAuma/FishGlob_data/blob/8337fb7088e6ead057ac6267efd158959186b602/functions/apply_trimming_method2.R#L203
I've also found unwanted duplicates in the hauls.removed files, that I fixed in the function here https://github.com/AquaAuma/FishGlob_data/blob/8337fb7088e6ead057ac6267efd158959186b602/functions/apply_trimming_method2.R#L220 and I'll re-run all trimming functions for all surveys to fix the files


Clearing old lines to avoid overloading of browser

I have question related to jQuery Terminal
Sometimes the output into jQuery Terminal may contain a lot of log data. After a while this overwhelms the browser and freezes it.
I was wondering if there was a way to clear old lines (eg 500 inputs old) to avoid this?

You can limit the output lines with outputLimit option.


chore(ccip): add 2020 sponsor/staff templates for CCIP

[ ] Bugfix
[x] New feature
[ ] Refactoring
[ ] Breaking change (any change that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Other (please describe)

Description
Copy the 2019 CCIP templates to 2020 folder.
Steps to Test This Pull Request
Go to following URLs:

<host>/ccip/staff/
<host>/ccip/sponsors/

Expected behavior
Should see the content-only view (no header, nav, or footer) for staff & sponsor page
Related Issue
#877
More Information
2019 version as reference:

https://tw.pycon.org/2019/ccip/staff/
https://tw.pycon.org/2019/ccip/sponsors/

Codecov Report

Merging #880 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #880   +/-   ##
=======================================
  Coverage   75.98%   75.98%
=======================================
  Files          70       70
  Lines        2727     2727
=======================================
  Hits         2072     2072
  Misses        655      655

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 9065d7f...4035036. Read the comment docs.


Bluetooth support

Hi,
have you had luck with getting bluetooth to work on kernel 4.x?
Is the btbcm module working or do we need to fall back to backporting the bcm_bt_lpm?
Thank you

Last time I checked it just works, see #9 under https://github.com/htot/meta-intel-edison/wiki/Current-state-of-Edison-Morty.

So before running btattach you get the device listed when you run "rfkill list"?

Hmm, something is wrong now that worked before. When I do:
root@edison:~# /usr/bin/btattach  -B /dev/ttyS0 -P bcm -S 3000000
Attaching Primary controller to /dev/ttyS0
Switched line discipline from 0 to 15
Failed to set protocol: Protocol not supported
No controller attached

Looks like the bt device does not get power. Maybe @andy-shev knows what is wrong (this is on linux 4.14 bluez 5.43)

(@floion no, before, when it  worked, first you run btattach then rfkill)

If I remember correctly it worked with linux 4.12, possibly with 4.13. You can easily go back to one of these by changing this file: poky-edison.conf. Let me know if that helps.

Can you revert commit 276c87054751 ("x86/platform/intel-mid: Make 'bt_sfi_data' const") and check if it works again?

Fixed with c788c20abbb3c8f9e30265e206780befcf9915a5. Thanks for reporting.


Function for Download Button

Fixes #381 #514
Describe the changes you have made in this pr -
I have added a download button to the Boolean Logic Table Div , So when User clicks on the Download Button the Table will be saved as a PDF .
Screenshots of the changes (If any) -

Coverage remained the same at 83.902% when pulling 5d56d5e27128406e284fd57a670ccb51305d04ca on Shivansh2407:patch-15 into 998678fe3d0b376c9c895075dbfcb82ad742fa45 on CircuitVerse:master.

@tachyons Please review this and let me know how can I fix the codeclimate issues here.

Fixed the Code Climate Issues . 👍 Let me know your views about the Download Button @satu0king and @tachyons Sir

@satu0king and @tachyons  what is your opinion on this?

Not bad! @tachyons, have a look.

@satu0king , @tachyons Please review this 👍

Good Job, The aesthetics can be improved. I would like to see copy table to clipboard option and an option to paste from clipboard as well. @Shivansh2407

I have merge this PR by pushing into master branch directly (had to make some changed)

Thank you @satu0king. Should I implement the Copy and Paste feature in a separate PR then ? Also I will make the look and feel more interactive and better 👍🏻


Fix getMediaConstraints

Description
To allow for renogotiations we should consider only the remoteSDP options parameter. Also in case a callee whants to renegotiate we need to change the connection type to offer.
Type of change

[x] Internal refactoring
[x] Bug fix (bugfix - non-breaking)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Code snippets
In case of new feature or breaking changes, please include code snippets.

I believe this also deprecates: https://github.com/signalwire/signalwire-js/pull/1125

The renegotiation part, including the e2e, is in another PR. This only fixes a regression.

I believe this also deprecates: #1125

I am not sure; my idea was to stop the negotiation from the callee side based on the remoteSDP. I stopped working on that PR because I wanted to verify what the SDP includes in response to the video and negotiateVideo params.

I believe this also deprecates: #1125

I am not sure; my idea was to stop the negotiation from the callee side based on the remoteSDP. I stopped working on that PR because I wanted to verify what the SDP includes in response to the video and negotiateVideo params.

Yes, I have the same idea on this one.


WhatsApp web Message UI Blank After Installing Chrome Extension (v3.3.1)

Issue Description:
After installing the Chrome extension version 3.3.1 ( 3.3.0), I encountered a critical issue with the WhatsApp web interface. The issue causes the WhatsApp message user interface to go completely blank, rendering it unusable.
Steps to Reproduce:

Install the Chrome extension version 3.3.1.
Open WhatsApp Web in your browser (tested on both Chrome and Brave).
Observe that the WhatsApp message UI becomes blank, with no chat threads or messages visible.

Expected Behavior:
After installing the extension, the WhatsApp web interface should function normally,
Actual Behavior:
The WhatsApp web interface becomes entirely blank, preventing users from accessing their chat threads.
https://recordit.co/puUoHqNDJc

Seems a bug from our library: https://github.com/wppconnect-team/wa-js/issues/1322
I will keep watching it and see if there is any update.
Seems to be related only to the WA business.


[feat] Support transparent webviews on mobile

Describe the problem
wry supports creating transparent webviews on both mobile and desktop, but AFAICT the tauri method is only enabled on desktop. I've only used v2 but from looking at the docs this might have been possible in v1?
Describe the solution you'd like
Enable calling WebviewWindowBuilder::transparent on mobile
Alternatives considered
No response
Additional context
No response

Current WebviewWindowBuilder::transparent seems bound to Tao's window transparent and Wry's webview transparent, but tao's is not compatible with mobile. I think we should find a way to configure it separately (split window transparent and webview transparent).
And I think the transparent should work with setting transparent: true in tauri.conf.json 🤔

Yes, the static config seems to work.
For my use case(rendering a transparent webview on top of a window) it would be enough to add this code:
#[cfg(any(target_os = "ios", target_os = "android"))]
impl<'a, R: Runtime, M: Manager<R>> WebviewWindowBuilder<'a, R, M> {
  pub fn transparent(mut self, transparent: bool) -> Self {
    self.webview_builder = self.webview_builder.transparent(transparent);
    self
  }
}


frontend: Move partition prunning/location logic to meta crate.

The partition pruning/localtion logic is also useful in lookup join executor, which lives in batch crate. To avoid circular dependency of frontend and batch crates, we should move it to meta crate.
The partition pruning logic:
https://github.com/singularity-data/risingwave/blob/b6189745e2ee9f863a6e17b65fc134f409f65442/src/frontend/src/utils/scan_range.rs#L65
The partition location logic:
https://github.com/singularity-data/risingwave/blob/b6189745e2ee9f863a6e17b65fc134f409f65442/src/frontend/src/scheduler/worker_node_manager.rs#L84

Would it be better to place these in the common crate instead since the common crate is already a dependency of the batch and frontend crates?


Fallback to initial content if RTE field is empty

Description

The way we handle RTE fields with no content have changed and as a result my changes related to WS-2659 stopped working.
The root cause is that empty RTE field rendered empty p tag in the past but now empty string is rendered.
Due to this, I need to adjust the logic, so falling back to initial content is going to work again.
Justification: https://teamds.atlassian.net/browse/WOS-191
Motivation and Context

Screenshots (if appropriate)
Upgrade notes (if appropriate)

Types of changes

[x] Bug fix (non-breaking change which fixes an issue) labeled with bug
[ ] New feature (non-breaking change which adds functionality) labeled with enhancement
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code standards of this project.
[ ] My change requires updating the documentation. I have updated the documentation accordingly.

Codecov Report

Merging #574 (b9d62f5) into main (cd8d6c4) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##               main     #574   +/-   ##
=========================================
  Coverage     63.78%   63.78%
  Complexity      147      147
=========================================
  Files            28       28
  Lines           359      359
  Branches         29       29
=========================================
  Hits            229      229
  Misses          111      111
  Partials         19       19

Impacted Files
Coverage Δ

...l/ds/howlite/components/models/QuoteComponent.java
88.23% <0.00%> (ø)

...s/howlite/components/models/RichTextComponent.java
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Scope support

Support for cutsom scopes
Support for scopes other than singleton & "new instance everytime"

Scopes are usually framework/application specific. Some good example (on top of Flask for example) would be more useful.

In the end, I'm adding it. While it isn't really hard to add, especially with an example in the documentation. It still requires some understanding of how Antidote works underneath and something like 30 lines of code. Both of them being too much to ask when just needing the request scope for a Flask application.

In the end, I'm adding it. While it isn't really hard to add, especially with an example in the documentation. It still requires some understanding of how Antidote works underneath and something like 30 lines of code. Both of them being too much to ask when just needing the request scope for a Flask application.


Fix Lenovo lookup and catch errors

It's currently necessary to make requests to a URL of the form:
…/Laptops-and-netbooks/ThinkPad-T-Series-laptops/ThinkPad-T430si/2353/9KU

rather than
…/Laptops-and-netbooks/ThinkPad-T-Series-laptops/ThinkPad-T430si/2353

The former is provided under the Id key in the response to the previous request.
Also, it's possible that the result will be null, rather than valid JSON. (This is currently the case when using the ParentId value instead of the Id value). To deal with this (and other potential related errors), a try/catch block around the json.loads() block is required.

Thanks @algorythmic, did you have any problems to get information with Parent ID url, but in the same case get info with ID url ?

Outdated


Utilize parallization for grid cell processing

Add functionality to utilize cluster computing to enable bias adjustment of finer grids at reasonable speeds.

Major updates on this on parallelization branch. Takes advantage of joblib's embarassingly parallel functionality (delayed),  and has multiple implentations, either by grid cell, or using chunks. Testing so far has suggested better performance from running by individual grid cell on a local machine. Still undergoing improvements.

This has been implemented using joblibs Parallel / delayed functions which are used for embarrassingly parallel programs (which ours is an example of).
It would be worth the time to investigate critical points / limiting functions / heavily used and slow functions that could be sped up still, or utilizing some alternative parallelization method.


Daniel mark logs resolved [FE] #135

[FE] Mark Logs As Resolved
Issue Number(s): #135
What does this PR change and why?
adds frontend functionality to each pages/dog/[id]. Mainly chaning Log component and Tabs, do display red dot, Resolved/Resolve icons, adding ResolveLogModal and ResolvedLogModal, and integrating acess levels for different user roles (fetching user by userid instead of using NextAuth).
Checklist

[ Yes ] Requirements have been implemented
[ Yes ] Acceptance criteria is met
[ Yes ] Database schema docs have been updated or are not necessary
[ Yes ] Relevant reviewers (EM) have been assigned to this PR

Critical Changes

Database change / migration to run
Environment config change
Breaking API change

Related PRs
PR Number(s): N/A
How To Test
Set role in website to either admin or manager, and test the functionality by doing to an individual dog (who has a log already) and resolving, editing, or deleting. Also, make your own logs and verify that access levels and functionalities are correct. Please let me know if there are any FE tweaks or bugs I should patch up! :)

Looks great! I just have two minor changes: the red dot also needs to be shown on the dashboard page and the red dot changes to 6 little dots once it is resolved. Can we remove that? Other than that it looks great!

Awesome work daniel!
All that remains is the dog table update from the requirements of #135:   (Hemadri referred to this above)

If the current user is a Manager, show red dots next to dogs with unresolved logs on the Dog Table page
Add a Resolved Status dropdown to the Dog Table filter bar (for Managers only)
Show unresolved AND resolved logs by default (both boxes checked)
For this, you will need to add a filter field showResolved to api/dogs/search and refactor the request made by the frontend

The implementation on the individual dogs page logs is amazing, so excited to see this feature implemented 💅

#194


Baseline - Purpose relationship with other key concepts - feedback

Problem description
Suggested text edits and question on Baseline #13 Purpose relationship with other key concepts
Expected action

We need to make it clear to readers that an API may have multiple paths (operations) providing access to different Personal Info resources.  Thus, consent may need to be collected at API/path level in order to avoid any bypass / unintentional leakage of PI resources.
“A purpose has associated a set of personal information scopes…” -- we can remove ‘a’
With the API roaming and consent exchange between operators in mind:

Should there be a categories of PI scopes defined or is that going to be more up to local regulations?
Should there be suggestion to commonalities group, to suggest/require each API family to map the Personal resources each API/path enable to, if such categories of PI scopes (previous bullet) is available?

“Scopes are assigned to an application, granting access to APIs and other resources” -- relationship diagram doesn’t show this.  It does support it via the next bullet that is “Purposes are assigned to applications” and given the previous statement “A purpose has associated set of personal information scopes.”
“APIs or resources covered by the assigned scopes” -- doesn’t seem to be necessary as scopes can’t be associated with Apps without a specific purpose.  Next bullet cover that

Additional context
n/a

We need to make it clear to readers that an API may have multiple paths (operations) providing access to different Personal Info resources. Thus, consent may need to be collected at API/path level in order to avoid any bypass / unintentional leakage of PI resources.

Each API operation could be protected with a different scope (if required). This way you can actually control which scopes are allowed for a particular purpose, and eventually have enough granularity to control access for each API operation. This is something that needs to be included in the API definition for each API operation, and should be analysed on a case-by-case basis.

A purpose has associated a set of personal information scopes

Why? It is correct, isn't it? we may say "A purpose is associated with a set of personal information scopes..."... in any case please, feel free to add this simple suggestion directly in the PR itself.

With the API roaming and consent exchange between operators in mind:
Should there be a categories of PI scopes defined or is that going to be more up to local regulations?
Should there be suggestion to commonalities group, to suggest/require each API family to map the Personal resources each >API/path enable to, if such categories of PI scopes (previous bullet) is available?

As far as we can see, the HTTP API access to CAMARA API is not affected by the network roaming status. In the sense that the API request is always sent to the "home" operator (i.e. the operator to which the user belongs). And the "home" operator could validate the consent and forward the request to the API server and so on... If that is what you mean.

“Scopes are assigned to an application, granting access to APIs and other resources” -- relationship diagram doesn’t show this. It does support it via the next bullet that is “Purposes are assigned to applications” and given the previous statement “A purpose has associated set of personal information scopes.”
“APIs or resources covered by the assigned scopes” -- doesn’t seem to be necessary as scopes can’t be associated with Apps without a specific purpose. Next bullet cover that

Yep, you are right. We can remove those bullets for now. It was inherited from another earlier document that was discussed before the creation of this WG...

Each API operation could be protected with a different scope (if required). This way you can actually control which scopes are allowed for a particular purpose, and eventually have enough granularity to control access for each API operation. This is something that needs to be included in the API definition for each API operation, and should be analysed on a case-by-case basis.

In the case of API Roaming, a single Capability Consumer can have a relationship with one operator, which may have federation with other operators, thus can serve the subscribers of both networks.  The behavior (i.e. access to APIs) for a Developer may differ from one network to another.

Fixed in https://github.com/camaraproject/IdentityAndConsentManagement/pull/13 commit https://github.com/camaraproject/IdentityAndConsentManagement/pull/13/commits/4b761353f33ee263e98e8309c8fb698908401206
@gmuratk Please take a look.


boards: stm: nucleo_h723zg: added flash partition to work with mcuboot

Closes #75425
Add a partition for flash memory as follows:

boot_partition: 128k
slot0_partition: 384k
slot1_partition: 384k
storage_partition: 128k

Hi @thomasbouston You don't have to open a new PR every time you want to make changes, just amend your commit & then force push on the same branch & changes will appear in the PR.

@thomasbouston Also, I don't know why you have a merge commit in your PR, & changes should be done in the 1st commit. You can correct things by rebasing in interactive mode git rebase -i HEAD~3,a file will open in ure default editor, replace pick that precedes each commit in the file with: edit for the 1st one, drop for the 2nd & 3rd. Save the file & close it, make your changes, git add *, git commit - -amend, git rebase --continue, & finally git push [ure_zephyr_fork_remote_name] -f

Hi, I have to admit I'm pretty new to using git, so thank you very much for your advice.
I did what you suggested but there always seems to be a problem and I don't really understand why the tests fail. Could you please help me again?

I did what you suggested but there always seems to be a problem and I don't really understand why the tests fail. Could you please help me again?

Not sure what is going on, but as I said using branch name "main" can lead to strange issues.
I suggest to open a new PR using another branch name (unless you can change directly in this PR).


[Bug]: Add version to user callbacks for latest paho-mqtt 2.0.0 version else tests fail.

Severity
Medium
What release version, tag or commit-hash did you use?
v0.1.1
Current Behavior
After recent update of paho-mqtt to 2.0.0, my integration tests are failing when it is trying to connect client to broker. This results in failure of my integration tests with below error.

In older 1x version of paho-mqtt I am not seeing this issue.
Steps to Reproduce

Update paho-mqtt package to latest 2x version
Try running tests which involves create and connect mqtt client.
Test fails with above error.

Expected Behavior
Tests should work irrespective paho-mqtt versions.
Possible Solution
Need to add version to user callbacks: add mqtt.CallbackAPIVersion.VERSION1 as first argument to [Client()]
Tests work fine after enhancing mqtt_util.py in SDK by adding versions explicitly to callbacks.

This issue was expected and solution was provided by paho-mqtt please refer below link.
https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html
Additional Information
No response
Code of Conduct

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

This is related to:
https://github.com/eclipse-velocitas/vehicle-app-python-sdk/issues/118

@manjukiranhc7
We decided to go with version 1.x of the Paho client for now, since we now this is working and we never had issues with it. I added a constraint in the SDK and update the template to use the new SDK with #226.

@MP91 Thank you


Allow lattice cases without pu

Simple change to avoid error in lattice physics for problems without pu

I think I actually had no heavy metal rather than no pu in this case and fooled myself into thinking this non-fix was a fix. I'm going to abandon this pr.


Invalid buffer id-errors

Hi,
From time to time I experience 'Invalid buffer id' errors. So far, it is unclear why and how these are deterministically being triggered, and therefore I'm also unsure how to provide a path to replicate the error.
Below you can find a screenshot of error.

As a suggestion, I'm experimenting with the following change in my code locally (creating branches is forbidden):
--- a/lua/alpha.lua
+++ b/lua/alpha.lua
@@ -618,6 +618,12 @@ function alpha.draw(conf, state)
     -- when the screen is cleared and then redrawn
     -- so we save the index before that happens
     local ix = cursor_ix
+
+    -- Check if the buffer is valid before proceeding
+    if not vim.api.nvim_buf_is_valid(state.buffer) then
+        return
+    end
+
     vim.api.nvim_buf_set_option(state.buffer, "modifiable", true)
     vim.api.nvim_buf_clear_namespace(state.buffer, -1, 0, -1)
     vim.api.nvim_buf_set_lines(state.buffer, 0, -1, false, {})

@@ -630,7 +630,10 @@ function alpha.draw(conf, state)
     layout(conf, state)
     vim.api.nvim_buf_set_option(state.buffer, "modifiable", false)
     local active_win = active_window(state)
-    if vim.api.nvim_get_current_win() == active_win then
+    local active_win_is_valid = active_win and vim.api.nvim_win_is_valid(active_win)
+    local active_win_is_current = active_win == vim.api.nvim_get_current_win()
+
+    if active_win_is_valid and active_win_is_current then
         if #cursor_jumps ~= 0 then
             -- TODO: this is pcalled because a bunch of window events
             -- like WinEnter will say 'alpha' is the current open buffer

In file: https://github.com/goolord/alpha-nvim/blob/main/lua/alpha.lua
I'm happy to hear any suggestions!

Did you use :source to load a session file?
That won't trigger the Unload event which is the alpha use to close its instance.

hmm i wonder if there's another event i should be using to close alpha

fixed in https://github.com/goolord/alpha-nvim/pull/267

Did you use :source to load a session file?

Nope.
Thanks for the update any way! I'll let you know if the issue appears again.

I'm in the most recent version of the package and the issue continues happening (ts files)

Any solution?
I copied the of @LiveNL and that worked in part, the error stop happening everytime, and only happens now when I save the file.


update CODEOWNERS with OWNERS.md reference

add @tinkerbell/site-eng to https://github.com/tinkerbell/hegel/pull/29 and link to the OWNERS.md file that will be introduced by https://github.com/tinkerbell/.github/pull/4

I think we should not do it
https://github.com/tinkerbell/hegel/pull/29#issuecomment-682399413

After the discussion in the community meeting, @gianarb, Is this acceptable?

tinkerbell/.github/OWNERS.md is a description of responsibilities (with no usernames)
hegel/CODEOWNERS is a list of users and groups (with a link and comment to read ^ for more information)

@gianarb would you rather see the OWNERS.md file in https://github.com/tinkerbell/org ?


Installing an earlier version of stable-baselines3-contrib (version 1.0) results in endless backtracking of some dependencies

Installing an earlier version of stable-baselines3-contrib (version 1.0) results in endless backtracking of some dependencies. SB3 1.0 was previously installed before running this operation.
Tried it on google colab, with GPU (but previously got this error on a linux server as well)
!pip install sb3-contrib==1.0
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
Collecting coverage>=5.2.1
  Using cached coverage-5.4-cp37-cp37m-manylinux2010_x86_64.whl (242 kB)
  Using cached coverage-5.3.1-cp37-cp37m-manylinux2010_x86_64.whl (242 kB)
  Using cached coverage-5.3-cp37-cp37m-manylinux1_x86_64.whl (229 kB)
  Using cached coverage-5.2.1-cp37-cp37m-manylinux1_x86_64.whl (229 kB)
INFO: pip is looking at multiple versions of pytest-cov to determine which version is compatible with other requirements. This could take a while.
Collecting pytest-cov
  Using cached pytest_cov-2.12.0-py2.py3-none-any.whl (20 kB)
INFO: pip is looking at multiple versions of coverage[toml] to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
  Using cached pytest_cov-2.11.1-py2.py3-none-any.whl (20 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
  Downloading pytest_cov-2.11.0-py2.py3-none-any.whl (20 kB)

Hello,
thanks for spotting this issue, this is due to SB3 contrib trying to install stable-baselines3[docs,tests,extra] (I removed that full dep in https://github.com/Stable-Baselines-Team/stable-baselines3-contrib/commit/61bfdbc00a6d5e09b401e29b2190aa7a2079d8e8 so the issue is not present with sb3-contrib>=1.1.0).
The first solution is to install !pip install stable-baselines3[docs,tests,extra]==1.0 first (takes a while though because of the backtracking).
If you want to make things faster, you can use --use-deprecated=legacy-resolver or --no-deps (if SB3 is already installed, this is the recommended way) as suggested in stack overflow.

Thanks @araffin , I can use the workaround.


Dataset blended with random backgrounds

All the datasert has been blended with the backgrounds available in the "Green" repo (https://gitlab.inria.fr/dh-projects/green).

Thanks you!


index.html is not reliably loaded from a plugin

Lots of detail in https://github.com/simonw/datasette-search-all/issues/2 - short version is that I have a plugin with its own index.html template and Datasette intermittently fails to load it and uses the default index.html that ships with Datasette instead.
Related:

#689: "Templates considered" comment broken in >=0.35
#693: Variables from extra_template_vars() not exposed in _context=1 (may as well fix this while I'm in there)

I think the bug is in this code:
https://github.com/simonw/datasette/blob/7508477a96492caa1893c52411405656c50d30f9/datasette/app.py#L612-L623
I added some debug logging to it and found that the bit that returns the plugin["templates_path"] list is producing this:
plugin_template_paths: [
  '/Users/simonw/Dropbox/Development/datasette/datasette/templates',
  '/Users/simonw/Dropbox/Development/datasette/datasette/templates',
  '/Users/simonw/Dropbox/Development/datasette-search-all/datasette_search_all/templates'
]

More debugging code shows this:
[
    (
        {
            "name": "datasette.facets",
            "static_path": "/Users/simonw/Dropbox/Development/datasette/datasette/static",
            "templates_path": "/Users/simonw/Dropbox/Development/datasette/datasette/templates",
        },
        "/Users/simonw/Dropbox/Development/datasette/datasette/templates",
    ),
    (
        {
            "name": "datasette.sql_functions",
            "static_path": "/Users/simonw/Dropbox/Development/datasette/datasette/static",
            "templates_path": "/Users/simonw/Dropbox/Development/datasette/datasette/templates",
        },
        "/Users/simonw/Dropbox/Development/datasette/datasette/templates",
    ),
    (
        {
            "name": "datasette-search-all",
            "static_path": None,
            "templates_path": "/Users/simonw/Dropbox/Development/datasette-search-all/datasette_search_all/templates",
            "version": "0.1",
        },
        "/Users/simonw/Dropbox/Development/datasette-search-all/datasette_search_all/templates",
    ),
]

So the problem is that the default plugins that ship with Datasette are adding a template path to the lookup list!

I think the bug is in this code:
https://github.com/simonw/datasette/blob/7508477a96492caa1893c52411405656c50d30f9/datasette/utils/__init__.py#L619-L645

I need that code to set static_path and templates_path to None for plugins that ship as part of Datasette.

I'm going to release this as 0.37.2.
This is the first time I've released a version NOT from master (since I don't want to ship the --memory feature for Cloud Run until 0.38 - #694). So I've cut a v0.37.2 release branch instead.

Cancel that plan: I'm pretty sure the Travis configuration that publishes a demo to Zeit Now and builds a Docker image isn't designed to handle releases that don't correspond to current master. I guess I'll release 0.38 instead.

Shipped in Datasette 0.38.


add support for parcel

import seems to fail when using parcel

Could that be the problem:
https://github.com/edge-ml/javascript/blob/f95bdccce5f7dd21d93fb7e0c08b77ecf5dc06be/index.js#L196
?

Could that be the problem:
https://github.com/edge-ml/javascript/blob/f95bdccce5f7dd21d93fb7e0c08b77ecf5dc06be/index.js#L196
?

This is the issue.

Rewrote the library to fix the issue.


Added ability to stack timer buttons

the current implementation wasn't too responsive with all the buttons laid out in a row. i added an option in settings so that users can choose to stack their buttons. when buttons are stacked, they are more responsive and friendly to smaller screens
https://github.com/Raboro/obsidian-timer-plugin/assets/4106884/0c71bf47-6455-4cb1-ad66-c5fefeb90a00

Thanks for your contribution :)


updated /content/plugins/module-concatenation-plugin.md(#377)

describe your changes...

[x] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[x] Make sure your PR complies with the writer's guide.
[x] Review the diff carefully as sometimes this can reveal issues.
Remove these instructions from your PR as they are for your eyes only.

有冲突，你的合并下上游的更新

@dear-lizhihua 好了

@Aladdin-ADD fixed


feat: Opt out scrolling upon a hash change

Discussion as a feature in https://github.com/TanStack/router/discussions/1155
Adds ability to opt out of behavior where the router (specifically, the DOM/UI library implementation) handles scrolling to hash element matching the current hash history.
I am driven to add this new router option because I am currently working with an existing code-base which controls the current router hash location based on the browser's current scroll position.
A minimum reproduction case where the scrollIntoView behavior conflicts with the desired behavior to control the router location externally is located at:
https://stackblitz.com/edit/tanstack-router-cyyfgk?file=src%2Fmain.tsx

Hi! Can we also add a similar configuration flag to your PR that allows you to scroll to the hash smoothly? And can you tell me why your PR hasn't been reviewed yet?

Been going through our open PRs, and regarding this one, I've got a question about why this feature is required.
This functionality can be achieved using the getKey callback function that you can pass into the <ScrollRestoration> component.
It has the added benefit of being customizable by the end user to suit their exact scroll restoration requirements.
In this case, you could use to opt-out of a hash change triggering the scroll restoration.
<ScrollRestoration
  getKey={location => {
    return [location.pathname, location.search].join(",")
  }}
/>

Perhaps, we can include a section in the Scroll Restoration documentation on some popular recipes for using the getKey callback to get this behaviour and others.

Thanks for the thoughtful consideration!

Been going through our open PRs, and regarding this one, I've got a question about why this implementation is required.

It looks like in your comment you are proposing a way to use the ScrollRestoration API in order to mimic the behavior of scrolling on hash router change?
Thanks for pointing me towards the Scroll Restoration capabilities documentation, as this revealed a new thought to perhaps approach this issue as an 'opt in' capability.
I.e., using the useElementScrollRestoration hook and while removing the existing scrollIntoView behavior:
useElementScrollRestoration(
  getElement() { return document.getElementById(router.location.hash) }
  getKey(location) { return [location.pathname, location.search, location.hash].join(",") }
)

However, this would present the following difficulties vs. adding a new router configuration option:

This would opt users out of a likely 'sensible default' behavior to scroll users to the hash on route changes, especially after transitions complete.
This would probably be considered a breaking change, whereas adding the proposed scrollOnHashChange option would be considered a minor, additive change to the RouterOptions API.
I agree that requiring opting in would require improved patterns documentation for situations like this; if this part of documentation continues to become enhanced, perhaps removing the hash-based scrollIntoView functionality from the RouterProvider would indeed be more consistent with the TanStack's broader behavior for leaving the complexities of scroll state management to the user. I am certainly willing to assist in this as part of the feature development.
It is perhaps worth looking into the broader resliency of the useElementScrollRestoration API in general before encouraging user's to further leverage it for advanced use-cases; I wonder if there are any potential gotchas with exposing this functionality to router users, such as whether it's possible to easily create conflicting scroll handlers. The spirit of the hook makes a lot of sense, but it's potential to fragment rather than co-locate side-effects on an important piece global state like scroll position perhaps lends itself to being located in a more centralized location (e.g. as a more customizable, albeit more complex RouterOptions property).

I believe I'm understanding what you are going for.
But I'm a bit hesitant about widening our API surface unless we absolutely need to and as such I want to make sure we've covered the alternates before moving to adding a new piece of configuration to the Router as well as how it'd play along with the existing implementation and ScrollRestoration component.
Especially since something like scroll restoration behaviour could/would eventually need to become a per-route based configuration option as people start exploring this avenue.
With that in mind:

Is any of this possible using the ScrollRestoration component? or does this have to be a Router configuration option?
Are you still basing your need for this configuration based on the original example? Or is it tied to something broader? (if so what is it)
What are the impacts of using it with existing navigate and ScrollRestoration?

I've tweaked the main.tsx file from your original example, to use the navigate calls we'd see in a normal TSR app, and it does seem to cause some wonky behaviour scroll behaviours.
I hope the tweaked example helps you understand my hesitancy here.

But I'm a bit hesitant about widening our API surface unless we absolutely need to and as such I want to make sure we've covered the alternates before moving to adding a new piece of configuration to the Router as well as how it'd play along with the existing implementation and ScrollRestoration component.

AH, now I understand your motivations. I'm certainly motivated by an edge case where the code performing external hash changes is completely outside my own codebase, so I definitely own that that's an edge case that TS router shouldn't design around.
Others are liking and thumbs upping this idea still, so I'm wondering the other use-cases that are motivating folks.
I'll play around with the Scroll restoration API as is if there's any way for it to override the "hard coded" hash scrolling behavior. What I suspect is that the way the opinion is so hard coded into the Provider, that there will be scroll conflicts.
Perhaps then, an alternative is to have the Provider defer to the location key as a source of truth vs the hash 🤔. Will play around, and work on top of assumption that the user desires the "update history" behavior and has it in their control, vs my current assumption of it being externally controlled and rigid.

I have followed up in the related issue with a call for more concrete use cases where the current default scroll behavior is problematic
https://github.com/TanStack/router/discussions/1155#discussioncomment-8966186

@elliottgrieco-toast pinging for a checkup.
Checking the original discussion thread, discussions, and Discord questions, I haven't seen any movement on the need for this.
For navigation controlled outside of React, the people seem to be fine with consuming the router using its created instance or by using the useRouter hook.

Agreed -- an attempt was made; I'm ready to close this issue at your discretion.

Closing this for now because of the discussion above.
Thanks for the contribution, @elliottgrieco-toast!
Appreciate your understanding on this.


Ensure process is defined in version check

To allow for user agents which contain "electron" within their name but do not run within a node.js context, draw.io needs to check if the process object is defined at all before accessing its properties.
In particular, this is required to run diagrams.net within a Visual Studio Code webview extension which I am currently developing. For instance, on my machine, within a Visual Studio Code webview under MacOs, navigator.userAgent contains"Mozilla/5.0 (MacIntosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.45.0-Insider Chrome/78.0.3904.130 Electron/7.2.2 Safari/537.36". Still, the process object is not defined.

Sorry, yes, we already fixed this once...


Missing LoaderView.m/h

Tried to test out your sample and I think you missed checking in the two files --  LoaderView.m/h. From an initial look though, this looks like a great project. Playing around with KMS now and was looking for something just like this.

Thanks for reporting. I fixed sample, also add video/mic switch features.


SCR generator classloading issue

For fields defined in services, for instance:
@Service(PostsService::class)
@Component(
        immediate = true,
        metatype = true
)
class PostsService {

    internal var stat = QueryStatImpl()

}

SCR generator has a problem with classloading in case of reflection at this line:
https://github.com/apache/felix/blob/trunk/tools/org.apache.felix.scr.generator/src/main/java/org/apache/felix/scrplugin/helper/ClassScanner.java#L261
following error is shown in log:
[ant:null] NoClassDefFoundError: org/apache/jackrabbit/api/stats/QueryStat

to fix that, buildscript classpath (on which plugin is working) must be extended:
https://github.com/Cognifide/gradle-aem-example/blob/master/gradle/buildscript.gradle#L28
by adding line with dependency which contains class that cannot be loaded:
classpath 'org.apache.jackrabbit:jackrabbit-api:2.7.4'

Seems that Ant Task classloader configured here: https://github.com/Cognifide/gradle-aem-plugin/blob/master/src/main/kotlin/com/cognifide/gradle/aem/jar/AbstractClassesTask.kt#L63
is not respected in reflection called in ClassScanner mentioned earlier.  Workaround is done by the same reason as in Maven, see: http://felix.apache.org/documentation/faqs/apache-felix-scr-plugin-faq.html#noclassdeffounderror-during-build .
Does somebody have an idea how  to fix that instead of using workaround above? I'd like to do not force AEM plugin users to extend buildscript (redeclaring dependencies twice)...

I tried with TCCL switch with no effect,  switching parentFirst also with no effect.
/**
 * Utility class for running operations on an explicitly specified class loader.
 *
 * @see <https://www.javacodegeeks.com/2016/08/remembering-reset-thread-context-class-loader.html>
 */
object TcclSwitch {

    fun <T> execute(classLoader: ClassLoader, action: () -> T): T {
        val originalClassLoader = Thread.currentThread().contextClassLoader
        try {
            Thread.currentThread().contextClassLoader = classLoader
            return action()
        } finally {
            Thread.currentThread().contextClassLoader = originalClassLoader
        }
    }
}

        val antClassPath = Path(antProject, sourceSet.runtimeClasspath.asPath)
        TcclSwitch.execute(AntClassLoader.newAntClassLoader(javaClass.classLoader, antProject, antClassPath, true), {
            antTask.execute()
        })

@pun-ky perhaps it would be prudent to give up using the SCR annotations?
Starting from AEM 6.2, there's another way to describe OSGi services and, when using Maven, all you need is the bundle plugin. Perhaps supporting this would be a better investment than retro-fitting the SCR annotations.
http://www.nateyolles.com/blog/2017/05/osgi-declarative-services-annotations-in-aem
http://blogs.adobe.com/experiencedelivers/experience-management/osgi/using-osgi-annotations-aem6-2/

Agree. Time to move on. I will try to introduce support and examples for new annotations.

SCR support will be discontinued due to https://github.com/Cognifide/gradle-aem-plugin/pull/19


Simplify StreamSerializationModelTemplate

Cleans up a lot of code in StreamSerializationModelTemplate by using an instance class to generate code. This removes the need to pass many parameters all over the place.
There is also a fix to generating fields in ModelTemplate by having the overload of getFieldProperties check if fromJsonShared can be used to determine whether the subclass should shade fields of a super class. The only time shading shouldn't happen with polymorphic types is when fromJsonShared can be used as those properties will be deserialized by the super type's fromJsonShared method, meaning the subtype doesn't need to shade.

test https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4067144&view=results
https://github.com/Azure/azure-sdk-for-java/pull/41571

Hi @alzimmermsft, I merged your pr with main branch in a feature branch, and tried to regenerate for TypeSpec SDKs based on the branch. I found API view diff like below, @override is removed from getKind() in subclass. I suppose after setting share-jsonserializable-code to false, there shoud be no diff. It seems a bug. Could u please check?

PR: https://github.com/Azure/azure-sdk-for-java/pull/41617
diff example: https://github.com/Azure/azure-sdk-for-java/pull/41617/files#diff-90b30f05da823f3aaaf96caa3a6234d229c84b3e93c10224183857a36a9c3b02L63
Thanks.


Sir I have a question about  advertisement

If I play YouTube using the package you developed, will the ad revenue be reflected?

Hi @yongbeomkwak,
this question does not fall in the context of the YouTubePlayerKit.
For more information about ads and especially ad revenue take a look at the YouTube Terms of Services.
https://developers.google.com/youtube/terms/api-services-terms-of-service


Adds ability to parse repeated query parameters

Currently, if a query string contains a repeated URL parameter (e.g., ?id=1&id=2&id=3), UrlParser will only let you extract a single value for that parameter, namely the last one that occurs in the string. [Here's a working example].
This PR adds the additional functions:
stringParamValues : String -> QueryParser (List String -> a) a
intParamValues : String -> QueryParser (List Int -> a) a
customParamValues : String -> (List String -> a) -> QueryParser (a -> b) b

... to allow the user to extract all of the values.

The next version of this package will make this possible in a different way, along with some API changes.


commit counts are inconsistent

AppVeyor and Travis can sometimes yield different commit counts since last tag. This has caused issues both with Janus and with Bintray deploys.
I think this is related:
The number of commits alone can't tell you anything if there are any merges in your history.
[...]
but if you have even a single active side branch at the time of your tag then this may not work.

If you need reliable release numbers, you should stick to explicit tags.

https://stackoverflow.com/questions/8595391/how-to-show-git-commit-using-number-of-commits-since-a-tag

Yeah, I thought about it, that's a problem


Add stuartleeks/dev-container-features

A very useful Feature, thanks @stuartleeks  🔥

Thanks @joshspicer. I think this will be great for individual dev containers as well as setting in my "always installed features" config 😄


dbt seed --select {model_name} and dbt run --models {model_name} error out when other model dependencies are missing

Describe the bug
I am collaborating on the same project with my team and working on a specific model. Under the models/ directory there're other model sql which contains seed data that cannot be shared.
Steps To Reproduce
When I run dbt seed --select  {model_name} or dbt run --models {model_name} which only contains my own model, it will error out with:
Encountered an error:
Compilation Error in model {other_model} (models/{other_model}.sql)
  Model '{other_model}' (models/{other_model}.sql) depends on a node named '{other_model_seed}' which was not found

The way i get around it is to move the sql in question out of the place temporarily
Expected behavior
Can we only check dependencies of specified models when using --select or --models and disregard other independent ones
System information
Which database are you using dbt with?

[ ] postgres
[x] redshift
[ ] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
installed version: 0.18.0-a1
   latest version: 0.16.1

Your version of dbt is ahead of the latest release!

Plugins:
  - bigquery: 0.18.0a1
  - snowflake: 0.18.0a1
  - redshift: 0.18.0a1
  - postgres: 0.18.0a1

The operating system you're using:
macOS Catalina
version 10.15.4
The output of python --version:
Python 3.6.10

dbt needs to construct and verify the entire DAG before it can run any part of it. I don't think we plan to build a version of compile, seed, or run that will work if there are missing references.

other model sql which contains seed data that cannot be shared.

This is fair! You may want to make this a source instead of a seed file, if its contents need to be kept hidden from some dbt users.
I'm also surprised to see you're using an 0.18.0-a1 version of dbt, given that haven't released 0.17.0 yet.


Add extended operations endpoints to the Swagger/OpenAPI

Similar to #823 except for the swagger/openapi definition.
We generate the OpenAPI definition up-front, so we won't have access to the FHIRRegistry / OperationRegistry.  I think it would be acceptable just to hard-code the logic for generating these endpoint definitions for now.
There is also some work in the community to generate Swagger/OpenAPI from an OperationDefinition which would be interesting to look at.

Pointed to assume the simplest-possible-approach to write the support directly in the java model


Replacing all pngs with the svgs 👾

You need to replace all png to svgs using flutter_svg plugin present in dart. If you are using any other method do mention that in comments before making a PR.

I was trying to add the flutter_svg dependency in my fork but it shows
The current Flutter SDK version is 1.22.4.

Because doclense depends on flutter_svg >=0.19.2 which requires Flutter SDK version >=1.24.0-6.0.pre, version solving failed.
pub get failed (1; Because doclense depends on flutter_svg >=0.19.2 which requires Flutter SDK version >=1.24.0-6.0.pre, version solving failed.)
Process finished with exit code 1

I ran flutter upgrade after fixing some issues with flutter sdk on my device and it shows that flutter is already up to date. I guess the latest version of the plugin is only available on the beta channel of flutter.
I found a way around by using a previous version of flutter_svg. I hope that this won't be a problem for the app?

No that won't be an issue will look through this and let you know the changes if any


Update ToExpression to show float and decimal in compact/noncompact mode

Fix issue: https://github.com/microsoft/Power-Fx/issues/1314

✅ No public API change.


Tabbychat can't load big user dictionnary files

All is in the title, but for more details, the game freezes when trying to load too big user dictionnary files (for example on of these http://sourceforge.net/projects/jazzydicts/files/jazzydicts/Dictionaries 1.0/)

Firstly, wrong repo. You want http://github.com/killjoy1221/tabbychat
Secondly, The user dictionary isn't meant for things that size. It's meant for custom words that you use a lot, not entire languages. I can't help you if you want to use another language.


Create a dashboard for each advisor organization that owns an effort

The requirements owners would like a dashboard for each advisor organization that owns at least one effort.

I believe this already covered in #1430.  The customer wants to be able to create various customized dashboards.


does lazy-load only works on first slide?

Yes, otherwise you need to use the virtualization.

Hi, I tried using the virtualize HOC as explained in this demo:
const VirtualizedSwipeableViews = virtualize(SwipeableViews);

const slideRenderer = ({ index }) => (
  {
    0: <Dash/>,
    1: <Meetings/>,
    2: <LeadStatus/>
  }[index]
);

class HomeComponent extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      screen: 0
    };
  }

  handleSwipe = value => {
    this.setState({ screen: value });
  };

  handleBottomTabSelect = (event, value) => {
    this.setState({ screen: value });
  };

  render() {
    const { screen } = this.state;

    return (
      <StyledHomeComponent>
        <AppBar />
        <VirtualizedSwipeableViews
          index={screen}
          onChangeIndex={this.handleSwipe}
          className="content-wrapper"
          overscanSlideAfter={0}
          slideRenderer={slideRenderer}
        />
        <BottomTabs value={screen} onChange={this.handleBottomTabSelect} />
      </StyledHomeComponent>
    );
  }
}

The second and third screens are lazy-loaded only once the user swipes left to them, so that works great. However the swipe animation goes back and forth once every time I swipe to a new screen. Here's a screencap. Thanks in advance!

I fixed this by adding a key prop to every element in slideRender (as clearly mentioned in the demo), like so:
const slideRenderer = ({ index, key }) => {
  return(
    {
      0: <Dash key={key} />,
      1: <Meetings key={key} />,
      2: <LeadStatus key={key} />
    }[index]

  );
};

However I still get a warning on my console saying Warning: react-swipeable-view: one of the children provided is invalid: null. We are expecting a valid React Element. Also, swiping right from slide 0 tries to render slide -1, then slide -2, and so on. This is also the case in the demo:

@platonish Please don't comment on closed issue for a new one;

However I still get a warning on my console saying Warning: react-swipeable-view: one of the children provided is invalid: null. We are expecting a valid React Element.

This mean one of your children is null.

Also, swiping right from slide 0 tries to render slide -1, then slide -2, and so on. This is also the case in the demo:

Yes, the virtualize HOC doesn't bound the index. You have a slideCount property for this.


Update RoadRunner http lib

Description
Fixes #125
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I wrote unit tests for my code (if tests is required for my changes)
[ ] I have made changes in CHANGELOG.md file

Codecov Report
Patch coverage has no change and project coverage change: -3.09% :warning:

Comparison is base (7d2ad36) 75.05% compared to head (41b1636) 71.97%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #126      +/-   ##
============================================
- Coverage     75.05%   71.97%   -3.09%
  Complexity      335      335
============================================
  Files            68       68
  Lines           946      867      -79
============================================
- Hits            710      624      -86
- Misses          236      243       +7

Files Changed
Coverage Δ

src/Worker.php
0.00% <0.00%> (ø)

... and 6 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bridge.getType for number types (e.g. int, long)

Hi all! Thank you for all the hard work on this super cool project!
I understand this is somewhat a compatibility issue 'cause JavaScript only has a Number type. Though I wonder if there are any plans or idea suggestions to support this scenario?
Expected
True
Actual
False
Steps To Reproduce
public class App
{
    [Ready]
    public static void Main()
    {
        int x = 1;
        Console.WriteLine(x.GetType() == typeof(int));
    }
}

Hi @sluu99. Very interesting question.
We will discuss this scenario and get back to you.
I made a simple live sample to test with:
http://live.bridge.net/#afa4a56c0ff6325bfe23898be76a2ca1

Hi @sluu99,
We discussed this issue and figured out what was going wrong.
We came up with a plan to fix. The fix has not been implemented yet, but we're gong to try and get this done right away. I feel this is a pretty serious defect, so I'd like to see it fixed asap.
Once the fix has been implemented, the following scenario should return the correct expected results.
public class App
{
    [Ready]
    public static void Main()
    {
        int x = 1;
        Console.WriteLine(x.GetType());
        Console.WriteLine(x.GetType() == typeof(int));

        var person = new Person();
        Console.WriteLine(person.GetType() == typeof(Person));
    }
}

public class Person{}```

Thanks for bringing this issue to our attention, and for providing the concise code sample demonstrating how to reproduce the issue.

Looks like Bridge 1.12.1 is working well now. Public release should be Monday or Tuesday of the coming week.
You can test with latest master branch.
Recompile in Release mode and a new .nupkg added to /bin/Release folder.

We also added support for the .GetType().FullName property.
Example
using Bridge.Html5;

namespace Demo
{
    public class App
    {
        [Ready]
        public static void Main()
        {
            int x = 1;
            Console.WriteLine(x.GetType().FullName);
            Console.WriteLine(x.GetType() == typeof(int));

            var person = new Person();
            Console.WriteLine(person.GetType().FullName);
            Console.WriteLine(person.GetType() == typeof(Person));
        }
    }

    public class Person { }
}

Writes the following to the Console:
true
Demo.Person
true```

Wow! Really impressed with the quick turn around. I looked through the change set to understand the fix a little, please correct me if I'm wrong (I have not had a chance tried out the fix yet).
From the looks of it, we are only differentiation between integers (Int32) and real numbers (Double)? So what does it mean for long (Int64) and float (Single)?

Hi @sluu99,
At the moment, there may be differences between the native C# compiler experience and Bridge. A long type check will return the correct result when compiled to JavaScript, although a float will return as int.
At the moment, only creating matching custom types on the client to mirror the C# native types would solve this issue, although that would mean wrapping object that are currently handled as native types in custom objects. There would certainly be a serious performance hit.
We haven't forgotten about this thread, but there's just not a great answer, at least at the moment. We will continue to think about the problem and try to come up with an acceptable solution.

A similar/same problem has been reported in #1248.

Related to #1248, #1292, #1293 and #1294.

Hi friend!
Have you  ever seen something like that? That is something really new and awesome, more information here http://believe.mnkites.com/lnptu
Faithfully, calcock


Streaming responses for ollama aren't working

This is not resolved for me, using version 2.11.7-241.1 in PyCharm 2024.2.1 (Professional Edition).
ollama version is 0.3.13
It is still using /api/chat
Adding more to this, /api/chat streams just fine by default, tested with:
curl http://localhost:11434/api/chat -d '{
  "model": "llama3.1",
  "messages": [
    {
      "role": "user",
      "content": "why is the sky blue?"
    }
  ]
}'

Originally posted by @lingfish in https://github.com/carlrobertoh/CodeGPT/issues/646#issuecomment-2423597539

Thanks for reporting! This issue will be fixed in the next release.


How to install?

I have gone through HACS and have downloaded this integration, however I don't see it on my Integrations page, even after restarting HA. Is this only a "Code based" integration? How do I add devices to it? I see the code in my custom_compnents/dreo folder, but no GUI to set it up.
I am sure I am missing something obvious since I don't see any other posts asking this, so it may be user error, but I am truly stumped.

Nevermind, for some reason I missed the "Initial Configuration" section just below the Install section that says how to get the integration to show up.