[CARBONDATA-4042]Launch same number of task as select query for insert into select and ctas cases when target table is of no_sort

Why is this PR needed?
At present, When we do insert into table select from or create table as select from, we lauch one single task per node. Whereas when we do a simple select * from table query, tasks launched are equal to number of carbondata files(CARBON_TASK_DISTRIBUTION default is CARBON_TASK_DISTRIBUTION_BLOCK).
 Thus, slows down the load performance of insert into select and ctas cases.
Refer [Community discussion regd. task lauch](http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/Discussion-Query-Regarding-Task-launch-mechanism-for-data-load-operations-tt98711.html)
What changes were proposed in this PR?

Lauch the same number of tasks as in select query for insert into select and ctas cases when the target table is of no-sort.
Replaced all checkAnswerWithoutSort with checkAnswer in TestSIWithSecondaryIndex to fix random UT failure issues in that file.

Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4339/

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2589/

retest this please

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2591/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4341/

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2603/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4353/

retest this please

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2604/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4354/

How about load data of no_sort?

retest this please

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2680/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4432/

retest this please

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2809/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4565/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4647/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2891/

please fix TestSIWithSecondaryIndex line 92:
checkAnswerWithoutSort(sql("select id, country from table1_index order by id"),       Seq(Row("1", "india"), Row("2", "china")))

@QiangCai , @VenuReddy2103 : Not just line 95, In this file TestSIWithSecondaryIndex, look for all checkAnswerWithoutSort and replace with checkAnswer as it can cause random failure based on which query task finishes first

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4655/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2899/

LGTM

LGTM

retest this please

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/4729/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/2970/

@VenuReddy2103 : If you have a performance benchmark with this change?
Once I tried sending no sort [1 node 1 task] to global sort flow [launch more task], I observed performance degrade for TPCH lineitem table 15GB insert. so, I suggest you to check the performance with this change.


[React.Native] How to run submit logic?

I see a source code, <form> has submit event and it run validation.
But how can I run the validation for the native form? (for empty form)
import { Form } from 'react-redux-form/lib/native';

<Form model="user">
  <button??? />
</Form>

Solution
const FormComponent = ({ onSubmit, submitProps, children, ...props }) => (
  <View {...props}>
    {children}
     <TouchableOpacity onPress={onSubmit} {...submitProps}>
       <Text>Submit</Text>
     </TouchableOpacity>
  </View>
);

<Form component={FormComponent} validators={validators} ...>
   ...
</Form>

@alexesDev That's a good solution! Since RRF is a library, and not a framework, more than one solution exists and you can use the one that best fits your needs. You can validate directly on the <Field>s, or you can dispatch actions that validate before submitting.

@davidkpiano Is an awesome library! Very gracefully :+1:


allow customizing gfx.show

In #376 we realized that gfx.show can massively simplify the examples and reduce boilerplate. Indeed, it reduces the current hello world example to:
import pygfx as gfx

cube = gfx.Mesh(
    gfx.box_geometry(200, 200, 200),
    gfx.MeshPhongMaterial(color=(1, 1, 0, 1))
)

gfx.show(cube)

Which is much more concise than the current example in the guide. (Although I must admit that this background doesn't feel very easy on the eyes.)
Thinking this a bit further, a nice addition here would be to be able to supply a custom animate function. The problem with that is that the animate function needs access to the renderer and potentially the controller to allow the scene to update correctly. To avoid this, I want to propose a before_render function that the default animate executes before rendering if present. With it, the rotating cube example could become:
import pygfx as gfx

cube = gfx.Mesh(
    gfx.box_geometry(200, 200, 200),
    gfx.MeshPhongMaterial(color=(1, 1, 0, 1))
)

def animate():
    rot = gfx.linalg.Quaternion().set_from_euler(
        gfx.linalg.Euler(0.005, 0.01)
    )
    cube.rotation.multiply(rot)

gfx.show(cube, before_render=animate)

That said, we could go all the way and allow customizing all parts of the pipeline by wrapping show into a dataclass and then only creating those elements that haven't been set explicitly. Picking up the name from #376 (Display), we could do:
import pygfx as gfx

cube = gfx.Mesh(
    gfx.box_geometry(200, 200, 200),
    gfx.MeshPhongMaterial(color=(1, 1, 0, 1))
)

def animate():
    rot = gfx.linalg.Quaternion().set_from_euler(
        gfx.linalg.Euler(0.005, 0.01)
    )
    cube.rotation.multiply(rot)

# run the application
display = gfx.Display()
display.on_before_render = animate
display.show(cube)

Where display could be customized further, e.g., by setting your own display.canvas = wgpu.gui.offscreen.WgpuCanvas(), etc. What do you think?

I agree that we need to make it easy to tweak show. Ideally it would be a smooth scale where you can use all defaults, or define all stuff yourself, and everything in between.
For the lights, it checks if lights are present in the scene, and only adds default lights if there are none. We could do something similar for the background. And also use a more subtle default background 😄
I like the before_render callback.
I think what's left is canvas, camera, and controller. These could simply be optional arguments to gfx.show().  E.g.
gfx.show(
    scene,
    before_render=animate,
    camera=gfx.OrthographicCamera(),
    canvas=mycanvas,
)

I think I'd prefer this over a Display object because it avoids introducing another class/concept. Unless I miss a case where having an object has an advantage.

If you target usage in a script then yes, keeping it a function is nice, because it will simply be the last function you call.
If you want to also allow usage in a function or library then we might want to have something like a Display object that can be passed around and modified by different parties. It's also useful in case you want to have multiple displays with different settings (not sure if that is relevant though).
I'm happy with either scenario, so I guess we go with additional kwargs and don't implement Display? (please confirm :) )

Let's stick with the function for now!

I agree. We're now looking for a way to make it easier to write examples. For people writing apps and libs on top of pygfx we expect them to use the lower level constructs, and implement high-level abstraction in that app/library itself.

Also, if you have ideas for an alternative nice background, they're welcome!

Maybe something simple such as white, like they used here: https://svelthree.dev/examples#orbitcontrols
Looks clean 👌

I would have gone for a shade of gray. Especially when working in the evening it would be nice to not be greeted by a bright white screen when writing code :)


Feature request: Support for "0" and "g_" motion

Since you already have ^ and $ support, it would definitely be nice to also have 0 and g_ support!
0 motion

To the first character of the line.  exclusive
motion.

g_ motion

To the last non-blank character of the line and
[count - 1] lines downward inclusive.

I need to think about multibyte characters and how they would display
0 is simple enough
But, with g_ how do you think it should display if the line end was directly under where the underscore would be placed
Additionally how would I make it clear it was a two character motion and not g and _ next to each other
I guess the answer is to apply different colours to the hints that could overlap
I'll give this some thought and would appreciate any input

Another option could be adding an additional virtual line for overlapping motions, but not sure it that would be better.

I think the best way to display multicharacter motions would be to just give them a new colour.
Choosing a new character to signify that the g and _ are together and not separate like quotes, parentheses or square brackets would be confusing since they're already used in motions in some other way.
Plus, $ and g_ usually take you to the same place, so if they would take you to the same place, you can just give $ priority over g_ and if $ would occupy the space where the _ of g_ would be then you could just give g_ priority (assuming that most people would prefer to jump to the last non-blank character instead of the white space just after).
I also do like the addition of another virtual line idea so that if there are multiple motions that take you to almost the same place but have some sort of overlap (which is really only the case in multicharacter motions),  you can see all of the options that are available to you.
And the new line might be beneficial if you ever wanted to add other multicharacter motions like ge for example.

0 is now supported
Multichar motions will come at a later date


Deployment of Web App - numberOfInstancesInProgress:0

After deployment of the infra I am seeing these 202 responses during the web app deployment. After 2 hours I aborted and was unable to resolve the issue.
Note numberOfInstancesInProgress": 0 - during the polling of the deployment this value never changes.

{
  "id": "/subscriptions/{subid}/resourceGroups/infoasst-cognitive-assistant-xvii/providers/Microsoft.Web/sites/infoasst-enrichmentweb-jdsfh/deploymentStatus/{subid}",
  "name": "{subid}",
  "type": "Microsoft.Web/sites/deploymentStatus",
  "location": "East US 2",
  "tags": {
    "BuildNumber": "local",
    "ProjectName": "Information Assistant"
  },
  "properties": {
    "deploymentId": "{deploymentid}",
    "status": "BuildInProgress",
    "numberOfInstancesInProgress": 0,
    "numberOfInstancesSuccessful": 0,
    "numberOfInstancesFailed": 0,
    "failedInstancesLogs": null,
    "errors": null
  }
}

Looking in the deployment center I am seeing this in the logs
Copying files to destination directory '/tmp/_preCompressedDestinationDir'...
Done in 18 sec(s).
Compressing content of directory '/tmp/_preCompressedDestinationDir'...
/tmp/BuildScriptGenerator/c5341db81b8748d3a2bb3cb918b6a9f6/build.sh: line 433:   381 Killed                  tar -zcf "$DESTINATION_DIR/output.tar.gz" .
/tmp/BuildScriptGenerator/c5341db81b8748d3a2bb3cb918b6a9f6/build.sh: line 433:   381 Killed                  tar -zcf "$DESTINATION_DIR/output.tar.gz" .\n/bin/bash -c "oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.10 -p virtualenv_name=antenv --log-file /tmp/build-debug.log  -i /tmp/8dcc2d3e79f76d8 --compress-destination-dir | tee /tmp/oryx-build.log ; exit $PIPESTATUS
``` "

Update: I was able to deploy but only after changing the app service sku all the way up to P3mv3.

That is unexpected. However this could be related to regional Azure capacity limitations. The errors above are occurring in the Oryx build that happens within the Azure App Service.
We will be moving away from these Oryx builds in our next release to avoid some of these inconsistencies and errors with letting the Azure App Service do the builds unattended.

Had this same issue using gpt4o in .env. After reading this and issue #744, just switched to 3.5 turbo (" " in .env) and it worked! It does take around 500 sec of retrys for the Standard App tier.

For gpt-40 there are code changes required along with config changes in the current release. We will be including OOTB gpt-4o support in the next release.

I too have had this issue: the deployment of the infra succeeds but the app services for web & web enhancements do not complete. It hangs until I cancel the deploy.
I did change the sku of the app pools to P3mv3, but that did not resolve the issue.

I attempted the deployment again today in East US 2. the infra deploy with no issues but the web app builds hangs for hours... /resourceGroups/infoasst-aoai808e4/providers/Microsoft.Web/sites/infoasst-enrichmentweb-xnxyp/deploymentStatus/6cca3015-9883-4bd5-b4fd-f52af7b4da5b","name":"6cca3015-9883-4bd5-b4fd-f52af7b4da5b","type":"Microsoft.Web/sites/deploymentStatus","location":"East US 2","tags":{"BuildNumber":"local","ProjectName":"Information Assistant"},"properties":{"deploymentId":"6cca3015-9883-4bd5-b4fd-f52af7b4da5b","status":"BuildInProgress","numberOfInstancesInProgress":0,"numberOfInstancesSuccessful":0,"numberOfInstancesFailed":0,"failedInstancesLogs":null,"errors":null}}
Status: Building the app... Time: 3343(s)

here are the trace logs from the web app start up..............
2024-09-05T18:02:35.200574235Z A P P   S E R V I C E   O N   L I N U X
2024-09-05T18:02:35.200579464Z
2024-09-05T18:02:35.200584343Z Documentation: http://aka.ms/webapp-linux
2024-09-05T18:02:35.200589363Z Python 3.10.14
2024-09-05T18:02:35.200594212Z Note: Any data outside '/home' is not persisted
2024-09-05T18:02:35.489663969Z Starting OpenBSD Secure Shell server: sshd.
2024-09-05T18:02:35.492220771Z WEBSITES_INCLUDE_CLOUD_CERTS is not set to true.
2024-09-05T18:02:35.505889428Z Site's appCommandLine: gunicorn --workers 2 --worker-class uvicorn.workers.UvicornWorker app:app --timeout 600
2024-09-05T18:02:35.506113971Z Launching oryx with: create-script -appPath /home/site/wwwroot -output /opt/startup/startup.sh -virtualEnvName antenv -defaultApp /opt/defaultsite -userStartupCommand 'gunicorn --workers 2 --worker-class uvicorn.workers.UvicornWorker app:app --timeout 600'
2024-09-05T18:02:35.517056853Z Could not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2024-09-05T18:02:35.517086027Z Could not find operation ID in manifest. Generating an operation id...
2024-09-05T18:02:35.517094493Z Build Operation ID: 2c99f912-e2a5-43ee-8dbe-141ce3fe47ce
2024-09-05T18:02:35.565719567Z Oryx Version: 0.2.20240619.2, Commit: cf006407a02b225f59dccd677986973c7889aa50, ReleaseTagName: 20240619.2
2024-09-05T18:02:35.573890771Z Writing output script to '/opt/startup/startup.sh'
2024-09-05T18:02:35.593139032Z WARNING: Could not find virtual environment directory /home/site/wwwroot/antenv.
2024-09-05T18:02:35.593165151Z WARNING: Could not find package directory /home/site/wwwroot/oryx_packages.
2024-09-05T18:02:35.730630553Z
2024-09-05T18:02:35.730666480Z Error: class uri 'uvicorn.workers.UvicornWorker' invalid or not found:
2024-09-05T18:02:35.730673704Z
2024-09-05T18:02:35.730678924Z [Traceback (most recent call last):
2024-09-05T18:02:35.730684394Z   File "/opt/python/3.10.14/lib/python3.10/site-packages/gunicorn/util.py", line 111, in load_class
2024-09-05T18:02:35.730689704Z     mod = importlib.import_module('.'.join(components))
2024-09-05T18:02:35.730694623Z   File "/opt/python/3.10.14/lib/python3.10/importlib/init.py", line 126, in import_module
2024-09-05T18:02:35.730699682Z     return _bootstrap._gcd_import(name[level:], package, level)
2024-09-05T18:02:35.730704601Z   File "", line 1050, in _gcd_import
2024-09-05T18:02:35.730711554Z   File "", line 1027, in _find_and_load
2024-09-05T18:02:35.730736601Z   File "", line 992, in _find_and_load_unlocked
2024-09-05T18:02:35.730745889Z   File "", line 241, in _call_with_frames_removed
2024-09-05T18:02:35.730751239Z   File "", line 1050, in _gcd_import
2024-09-05T18:02:35.730756208Z   File "", line 1027, in _find_and_load
2024-09-05T18:02:35.730762650Z   File "", line 1004, in _find_and_load_unlocked
2024-09-05T18:02:35.730771557Z ModuleNotFoundError: No module named 'uvicorn'
2024-09-05T18:02:35.730780193Z ]
2024-09-05T18:02:35.730787066Z
2024-09-05T18:02:35.309Z INFO  - Pulling image: mcr.microsoft.com/appsvc/middleware:stage5
2024-09-05T18:02:35.393Z INFO  - stage5 Pulling from appsvc/middleware
2024-09-05T18:02:35.398Z INFO  -  Digest: sha256:8e9607c570710da32f77ba51a39b1ee1ddf3da19ba49f081b7508d6827cfa10a
2024-09-05T18:02:35.401Z INFO  -  Status: Image is up to date for mcr.microsoft.com/appsvc/middleware:stage5
2024-09-05T18:02:35.405Z INFO  - Pull Image successful, Time taken: 0 Seconds
2024-09-05T18:02:35.425Z INFO  - Starting container for site
2024-09-05T18:02:35.426Z INFO  - docker run -d --expose=8181 --name infoasst-web-xnxyp_0_73d6d783_middleware -e WEBSITE_CORS_ALLOWED_ORIGINS=https://portal.azure.com,https://ms.portal.azure.com -e WEBSITE_CORS_SUPPORT_CREDENTIALS=False -e WEBSITE_SITE_NAME=infoasst-web-xnxyp -e WEBSITE_AUTH_ENABLED=True -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=infoasst-web-xnxyp.azurewebsites.net -e WEBSITE_INSTANCE_ID=eb4f0d80454269e4f9939b3b20419d3b71fd73c0f173f47195fd01a4c4897f31 -e HTTP_LOGGING_ENABLED=1 mcr.microsoft.com/appsvc/middleware:stage5 /Host.ListenUrl=http://<IP_ADDRESS>:8181 /Host.D2024-09-05T18:02:35.636Z INFO  - Initiating warmup request to container infoasst-web-xnxyp_0_73d6d783_msiProxy for site infoasst-web-xnxyp
2024-09-05T18:02:35.643Z INFO  - Container infoasst-web-xnxyp_0_73d6d783_msiProxy for site infoasst-web-xnxyp initialized successfully and is ready to serve requests.
2024-09-05T18:02:35.644Z INFO  - Initiating warmup request to container infoasst-web-xnxyp_0_73d6d783 for site infoasst-web-xnxyp
2024-09-05T18:02:36.653Z ERROR - Container infoasst-web-xnxyp_0_73d6d783 for site infoasst-web-xnxyp has exited, failing site start
2024-09-05T18:02:36.654Z INFO  - Initiating warmup request to container infoasst-web-xnxyp_0_73d6d783_middleware for site infoasst-web-xnxyp
2024-09-05T18:02:36.759Z INFO  - Container infoasst-web-xnxyp_0_73d6d783_middleware for site infoasst-web-xnxyp initialized successfully and is ready to serve requests.
2024-09-05T18:02:36.763Z ERROR - Container infoasst-web-xnxyp_0_73d6d783 didn't respond to HTTP pings on port: 8000, failing site start. See container logs for debugging.
2024-09-05T18:02:36.767Z INFO  - Stopping site infoasst-web-xnxyp because it failed during startup.


all: curl commands to avoid breakage in 1.2

Based on https://github.com/coreos/coreos-kubernetes/pull/319/files.

@aaronlevy

lgtm


Updated Readme & added photo

Updated dev roadmap on the readme & added another photo of Openlinks

adding more updates


Android USB Remote Debug Session not starting with Godot 4.3 stable

Tested versions

v4.3.stable.official [77dcf97d8]

System information
Godot v4.3.stable - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; <IP_ADDRESS>85) - 13th Gen Intel(R) Core(TM) i5-13400F (16 Threads)
Issue description
Hey, so Godot isn't starting up a remote debug session with the one click remote install. I have followed all the steps to create android APKs and set up remote debugging and that's all working. But when I click "Remote Debug" in the top-right, I choose my device and it'll build and install, but when it runs Godot won't do anything. It won't show to remote panel, or give me access to the game running on my device at all, so no std logs or anything either.
I have activated and deactivated "Debug -> Deploy with Remote Debug" and neither seems to make a difference.
I also followed steps spoke about in this issue: https://github.com/godotengine/godot/issues/91359 like closing the java process and running Godot as admin, but unfortunately nothing's worked yet. I've also revoked debugging permission on my device and re-given permission but still nothing.
It just seems to be Godot doesn't know the game is running on the device. This also doesn't seem anything to do with my project as I've attached just a tiny 1-scene project and it still doesn't debug correctly on my machine.
Ouput:
0 param: --remote-debug
1 param: tcp://localhost:6007
2 param: --xr_mode_regular
3 param: --use_immersive
Installing to device (please wait...): Google Pixel 6
--- Device API >= 21; debugging over USB ---
--- DEVICE API >= 21; DEBUGGING OVER USB ---
Reverse result: 0

Java version:
PS C:\Users\jacob> java --version
openjdk 17.0.11 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)

Steps to reproduce

dl test-remote project
connect android phone (make sure it's all set up correctly)
run "Remote Debug" in the top-right
See that Godot doesn't know it's running and not showing the Remote panel

Minimal reproduction project (MRP)
test-remote.zip

adb logcat > test.log
Please try adb logcat to redirect everything to a text file.  I couldn't reproduce it on MacOS, but maybe you can find similar error output?
09-05 02:04:10.489 18082 18186 E godot   : USER ERROR: Could not reload script 'res://main.gd': Can't open
09-05 02:04:10.489 18082 18186 E godot   :    at: poll_events (core/debugger/remote_debugger.cpp:606)

Thank @Alex2782 for that suggestion! Hmmmm so on my main project, I'm getting a bunch of those kinds of errors, PLUS extra errors about the script debugger failing to connect. Just copy+pasting from when the errors start.
09-05 15:08:33.733 17061 17067 I .fireworkfiesta: Compiler allocated 4666KB to compile void android.view.ViewRootImpl.performTraversals()
09-05 15:08:34.227 17061 17160 E godot   : USER ERROR: Cannot load shader: res://Assets/shaders/sky.gdshader
09-05 15:08:34.227 17061 17160 E godot   :    at: load (scene/resources/shader.cpp:277)
09-05 15:08:34.228 17061 17160 E godot   : USER ERROR: Failed loading resource: res://Assets/shaders/sky.gdshader. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.228 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.228 17061 17160 E godot   : USER ERROR: Cannot load shader: res://Assets/shaders/moon.gdshader
09-05 15:08:34.228 17061 17160 E godot   :    at: load (scene/resources/shader.cpp:277)
09-05 15:08:34.228 17061 17160 E godot   : USER ERROR: Failed loading resource: res://Assets/shaders/moon.gdshader. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.228 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.228 17061 17160 E godot   : USER ERROR: Cannot load shader: res://Assets/shaders/sun.gdshader
09-05 15:08:34.228 17061 17160 E godot   :    at: load (scene/resources/shader.cpp:277)
09-05 15:08:34.228 17061 17160 E godot   : USER ERROR: Failed loading resource: res://Assets/shaders/sun.gdshader. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.228 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.234 17061 17160 E godot   : USER ERROR: Cannot load shader: res://Assets/shaders/water.gdshader
09-05 15:08:34.234 17061 17160 E godot   :    at: load (scene/resources/shader.cpp:277)
09-05 15:08:34.234 17061 17160 E godot   : USER ERROR: Failed loading resource: res://Assets/shaders/water.gdshader. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.234 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.243 17061 17160 E godot   : USER ERROR: Cannot load shader: res://Assets/shaders/daynightcycle.gdshader
09-05 15:08:34.243 17061 17160 E godot   :    at: load (scene/resources/shader.cpp:277)
09-05 15:08:34.244 17061 17160 E godot   : USER ERROR: Failed loading resource: res://Assets/shaders/daynightcycle.gdshader. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.244 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.244 17061 17160 E godot   : USER ERROR: Can't load dependency: res://Assets/shaders/sky.gdshader.
09-05 15:08:34.244 17061 17160 E godot   :    at: parse_variant (core/io/resource_format_binary.cpp:461)
09-05 15:08:34.244 17061 17160 E godot   : USER ERROR: Failed loading resource: res://.godot/exported/133200997/export-8343a87e7c29bd5dd9e434883010347b-Background.scn. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.244 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.244 17061 17160 E godot   : USER ERROR: Attempt to open script 'res://gameobjects/MouseTrail/MouseTrail.gd' resulted in error 'Can't open'.
09-05 15:08:34.244 17061 17160 E godot   :    at: load_source_code (modules/gdscript/gdscript.cpp:1094)
09-05 15:08:34.245 17061 17160 E godot   : USER ERROR: Failed loading resource: res://gameobjects/MouseTrail/MouseTrail.gd. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.245 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.245 17061 17160 E godot   : USER ERROR: Can't load dependency: res://gameobjects/MouseTrail/MouseTrail.gd.
09-05 15:08:34.245 17061 17160 E godot   :    at: parse_variant (core/io/resource_format_binary.cpp:461)
09-05 15:08:34.245 17061 17160 E godot   : USER ERROR: Error when trying to parse Variant.
09-05 15:08:34.245 17061 17160 E godot   :    at: parse_variant (core/io/resource_format_binary.cpp:505)
09-05 15:08:34.245 17061 17160 E godot   : USER ERROR: Error when trying to parse Variant.
09-05 15:08:34.245 17061 17160 E godot   :    at: parse_variant (core/io/resource_format_binary.cpp:492)
09-05 15:08:34.245 17061 17160 E godot   : USER ERROR: Failed loading resource: res://.godot/exported/133200997/export-36b90ca23b1098f1db512440f8a68b24-MouseTrail.scn. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.245 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.248 17061 17160 E godot   : USER ERROR: Can't load dependency: res://GameObjects/Background/Background.tscn.
09-05 15:08:34.248 17061 17160 E godot   :    at: parse_variant (core/io/resource_format_binary.cpp:461)
09-05 15:08:34.248 17061 17160 E godot   : USER ERROR: Error when trying to parse Variant.
09-05 15:08:34.248 17061 17160 E godot   :    at: parse_variant (core/io/resource_format_binary.cpp:505)
09-05 15:08:34.248 17061 17160 E godot   : USER ERROR: Error when trying to parse Variant.
09-05 15:08:34.248 17061 17160 E godot   :    at: parse_variant (core/io/resource_format_binary.cpp:492)
09-05 15:08:34.248 17061 17160 E godot   : USER ERROR: Failed loading resource: res://.godot/exported/133200997/export-f3438fd6ed875e6e418580009676b7e8-Level.scn. Make sure resources have been imported by opening the project in the editor at least once.
09-05 15:08:34.248 17061 17160 E godot   :    at: _load (core/io/resource_loader.cpp:284)
09-05 15:08:34.474   955  1018 I WifiHAL : Creating message to get link statistics; iface = 47
09-05 15:08:34.527   955  1018 I WifiHAL : In GetLinkStatsCommand::handleResponse
09-05 15:08:34.576  1496  1895 D ConnectivityService: NetReassign [no changes] [c 2] [a 3] [i 7]
09-05 15:08:34.864 17061 17160 E godot   : USER SCRIPT ERROR: Parse Error: Could not preload resource file "res://Scenes/Level/Level.tscn".
09-05 15:08:34.865 17061 17160 E godot   :    at: GDScript::reload (res://Globals/SceneChanger.gd:9)
09-05 15:08:34.870 17061 17160 E godot   : ERROR: Failed to load script "res://Globals/SceneChanger.gd" with error "Parse error".
09-05 15:08:34.870 17061 17160 E godot   :    at: load (modules/gdscript/gdscript.cpp:2936)
09-05 15:08:34.870 17061 17160 E godot   : USER ERROR: Failed to instantiate an autoload, script 'res://Globals/SceneChanger.gd' does not inherit from 'Node'.
09-05 15:08:34.871 17061 17160 E godot   :    at: start (main/main.cpp:3678)
09-05 15:08:35.037 24713 24859 D TrafficStats: tagSocket(105) with statsTag=0xffffffff, statsUid=-1
09-05 15:08:35.190 17061 17160 V Godot   : OnGodotSetupCompleted
09-05 15:08:35.223 17061 17160 V Godot   : OnGodotMainLoopStarted
09-05 15:08:35.722  1496  1496 I RemoteContentProtectionService: Connection status for: ComponentInfo{com.google.android.odad/com.google.android.apps.miphone.odad.contentprotection.ContentProtectionService} changed to: disconnected
09-05 15:08:35.722 12397 12397 I ContentProtectionServic: CP service destroyed
09-05 15:08:35.833  3648  3648 I NfcDispatcher: no match
09-05 15:08:36.120  1496  1576 E AppOps  : Operation not found: uid=1041 pkg=audioserver(null) op=WAKE_LOCK
09-05 15:08:36.121  1496  3854 E AppOps  : Operation not found: uid=1041 pkg=audioserver(null) op=WAKE_LOCK
09-05 15:08:36.122  1496  4290 E AppOps  : Operation not found: uid=1041 pkg=audioserver(null) op=WAKE_LOCK
09-05 15:08:36.122  1496  4290 E AppOps  : Operation not found: uid=1041 pkg=audioserver(null) op=WAKE_LOCK
09-05 15:08:36.123  1496  1576 E AppOps  : Operation not found: uid=1041 pkg=audioserver(null) op=WAKE_LOCK
09-05 15:08:36.123  1496  3854 E AppOps  : Operation not found: uid=1041 pkg=audioserver(null) op=WAKE_LOCK
09-05 15:08:37.565   955  1018 I WifiHAL : Creating message to get link statistics; iface = 47
09-05 15:08:37.611   955  1018 I WifiHAL : In GetLinkStatsCommand::handleResponse
09-05 15:08:37.649  1496  1895 D ConnectivityService: NetReassign [no changes] [c 1] [a 2] [i 4]
09-05 15:08:37.741  1496  1576 W ProcessStats: Tracking association SourceState{38ff9bc com.google.android.gms.persistent/10127 BFgs #379284} whose proc state 4 is better than process ProcessState{db49229 com.google.android.gms/10127 pkg=com.google.android.gms} proc state 14 (1052 skipped)
09-05 15:08:37.934 23058 23058 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.home.interaction.START dat=chimera-action:/... cmp=com.google.android.gms/.chimera.GmsApiService }
09-05 15:08:38.334 17061 17224 D ProfileInstaller: Installing profile for com.example.fireworkfiesta
09-05 15:08:38.409  2094  2147 I deeptouch: I0000 00:00:1725545318.409065    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:38.589  2094  2147 I deeptouch: I0000 00:00:1725545318.589164    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:38.596 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:38.596 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:38.787  2094  2147 I deeptouch: I0000 00:00:1725545318.787064    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:38.831 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:38.831 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:38.931  2094  2147 I deeptouch: I0000 00:00:1725545318.931646    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:38.940 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:38.940 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:39.069 24713 24859 D TrafficStats: tagSocket(105) with statsTag=0xffffffff, statsUid=-1
09-05 15:08:39.173  2094  2147 I deeptouch: I0000 00:00:1725545319.173487    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:39.193 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:39.193 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:39.279  2094  2147 I deeptouch: I0000 00:00:1725545319.279141    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:39.283 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:39.283 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:39.419  2094  2147 I deeptouch: I0000 00:00:1725545319.419865    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:39.425 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:39.425 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:39.656  2094  2147 I deeptouch: I0000 00:00:1725545319.656106    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:39.666  1496  1829 D ActivityManager: freezing 17247 com.android.settings
09-05 15:08:39.670  1496  1829 D ActivityManager: freezing 18160 com.google.android.settings.intelligence
09-05 15:08:39.671 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:39.671 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:39.672  1496  1829 D ActivityManager: freezing 16268 com.android.DeviceAsWebcam
09-05 15:08:39.679  1496  1895 D InetDiagMessage: Destroyed 0 sockets, proto=IPPROTO_TCP, family=AF_INET, states=14
09-05 15:08:39.682  1496  1895 D InetDiagMessage: Destroyed 0 sockets, proto=IPPROTO_TCP, family=AF_INET6, states=14
09-05 15:08:39.682  1496  1895 D InetDiagMessage: Destroyed live tcp sockets for uids={10143} in 8ms
09-05 15:08:39.795  2094  2147 I deeptouch: I0000 00:00:1725545319.795730    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:39.803 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:39.803 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:39.866  2180  3160 D ImpulseConnection: timeout didn't happen: com.google.android.apps.turbo
09-05 15:08:39.881  1744  1744 I pixel-thermal: VIRTUAL-SKIN:36.1085 raw data: VIRTUAL-QI-GNSS:36108.5 VIRTUAL-QI-QUIET:29716.2 VIRTUAL-QUIET-BATT:26005.8 VIRTUAL-SKIN:36108.5 VIRTUAL-USB2-DISP:29088.3 battery:25400 disp_therm:27743 gnss_tcxo_therm:41135 qi_therm:39029 quiet_therm:26612 usb_pwr_therm2:26776
09-05 15:08:39.882  2180  3160 D TemperatureStateSource: getDeviceTemperatures: deviceTemperatureType=3 temperatureSource=0 temperatures=[36.1085]
09-05 15:08:39.882  2180  3160 D BusinessScope: Start running the #29555 block
09-05 15:08:39.883  1744  1744 I pixel-thermal: VIRTUAL-SKIN:36.1085 raw data: VIRTUAL-SKIN:36108.5
09-05 15:08:39.884  2180  3160 I TemperatureStateSource: temperature was set
09-05 15:08:39.884  2180  3160 D BusinessScope: Finish running the #29555 block
09-05 15:08:39.884  2180  3160 D BusinessScope: Start running the #29556 block
09-05 15:08:39.885  2180  3160 D BusinessScope: Finish running the #29556 block
09-05 15:08:39.965  2094  2147 I deeptouch: I0000 00:00:1725545319.965055    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:40.032 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:40.032 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:40.154  2094  2147 I deeptouch: I0000 00:00:1725545320.154291    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:40.166 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:40.166 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:40.373  2094  2147 I deeptouch: I0000 00:00:1725545320.373344    2147 tf_lite_classifier.cc:413] Event stream classified as kNone
09-05 15:08:40.389 17061 17160 E godot   : USER ERROR: Script Debugger failed to connect, but being used anyway.
09-05 15:08:40.389 17061 17160 E godot   :    at: debug (core/debugger/remote_debugger.cpp:407)
09-05 15:08:40.645   955  1018 I WifiHAL : Creating message to get link statistics; iface = 47
09-05 15:08:40.697   955  1018 I WifiHAL : In GetLinkStatsCommand::handleResponse
09-05 15:08:40.740  1496  1895 D ConnectivityService: NetReassign [no changes] [c 1] [a 2] [i 5]

But my game still loads on my phone, it doesn't crash or anything. I just can't inspect it in Godot or see console logs or anything.
So on the little test project I linked, when I get the logs for that, I don't see any errors about any scenes, scripts or the script debugger. But Godot still doesn't pick it up. So I'm really not sure what's happening.
test-2.log
And ngl these logs don't mean a whole ton to me, so I can't pick through the technical logs and see what's failing. But yeah definitely getting some errors on my main project, but not on the test project. But both still load up on the phone and seem to compile correctly.

netstat  -> TCP    <IP_ADDRESS>:6007 ?
On Windows I was able to check it via netstat (cmd or powershell). Port 6007 only appears there when Godot and the app for debugging are running. You could first check without Godot, is it perhaps already being used by another application? Then start Godot Editor and check again, what is the status? Waiting or connected?

Hmm, so forgive me, my first question is: does this still matter if trying to debug via usb? I'm trying all this via a usb connection, if that makes any difference here?
But I have just tried with wifi debugging turn on, still the same issue, nothing happens. My netstat shows both 6007 and 6008 are LISTENING, and I'm not sure why it's using my network address instead of <IP_ADDRESS>... Don't know if that's something??

It is possible to check which app has opened the connections
netstat -ano
  TCP    <IP_ADDRESS>:6005         <IP_ADDRESS>:0              ABHÖREN         9756
  TCP    <IP_ADDRESS>:6006         <IP_ADDRESS>:0              ABHÖREN         9756
  TCP    <IP_ADDRESS>:6009         <IP_ADDRESS>:0              ABHÖREN         9756
  TCP    <IP_ADDRESS>:6009         <IP_ADDRESS>:64245        HERGESTELLT     9756

PID = 9756
tasklist /fi "pid eq 9756"
Abbildname                     PID Sitzungsname       Sitz.-Nr. Speichernutzung
========================= ======== ================ =========== ===============
Godot_v4.3-stable_win64.e     9756 Console                    1       682.188 K

@Alex2782 ok, I've got it! After a lot of trial and error it's finally working!
So yeah the windows netstat stuff is weird because it says that ports 6005, 6006 and 6007 are open by a certain PID, except that PID doesn't exist on task manager OR with tasklist... So yeah I have no idea what's happening there but I assume they're all open by Godot. They only started listening when I opened Godot.
So then it says that port 6007 is listening on my network adapter, so <IP_ADDRESS>, instead of <IP_ADDRESS>. Then I realised that the remote host option is actually a dropdown and I can choose that IP instead. So after doing that, and changing my port to 6009 like you suggested, THEN it works 😂
Thank you so much for helping my out! +100000 kudos! It still would be nice if Godot gave some actual errors or some warnings or something if the remote debug didn't or couldn't connect so at least you'd have something. But yeah got there in the end!

Please try:

nslookup localhost
type C:\Windows\System32\drivers\etc\hosts

Maybe I'll find more time to optimize it in a few weeks.

On my Win11 PC
nslookup localhost
Name:    localhost
Addresses:  ::1
          <IP_ADDRESS>

type C:\Windows\System32\drivers\etc\hosts
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      <IP_ADDRESS>     rhino.acme.com          # source server
#       <IP_ADDRESS>     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#       <IP_ADDRESS>       localhost
#       ::1             localhost

Both look exactly the same as yours I think from what I can see


Adding test application for the API's

Signed-off-by: Rajakumaran1106<EMAIL_ADDRESS>

https://jenkins.code.rdkcentral.com/job/github-triggered/152/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/8953/ started.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix missing return statuses in requester, responder, and common library functions.

Partially addresses #75.
Adds missing return status checks to functions defined in:

include/library/spdm_common_lib.h
include/library/spdm_device_secret_lib.h (none missing)
include/library/spdm_requester_lib.h
include/library/spdm_responder_lib.h

Also changes libspdm_free_session_id and libspdm_write_uint24 to no longer have return values - as there wasn't any usage of them, and doesn't seem like the return value was necessary (free functions typically don't return anything, write_uint24 return isn't needed).

@taprinz, CI fail, because your signed-off is missing.
You may ask @steven-bellock for BKM.

Fixed - will be sure to handle for future requests, thanks

@taprinz, I approved. But branch has conflict. Would you please resolve the conflict, then I can merge?

Finally figured out the merge conflicts. Had to redo the rebase.


lsp-mode for tcp

You can use lsp-tcp-connection or what lsp-gdscript.el is doing if the server is not supposed to be started by Emacs.

For lsp-mode? Thanks for the heads up!

Yes


Removing a feature from an instance of Features ?

Hello Paul,
We are currently using Mapsui for a WPF desktop application, and we are trying to manage a list of features using Features (Mapsui.Providers).
To understand the Delete method and how work the PrimaryKey  property, we have checked FeaturesTests (Mapsui.Tests.Providers). But we don't understand the usefullness of all this complexity with the PrimaryKey and why there is not just a simple Remove method ?
We can make a pull request to add a simple Remove method if that's ok for you ?

The ID is used because in some of our scenarios we fetched new features (vehicles) from a service every 15 seconden. Fetching those feature and serializing them created new instances of objects even though they referred to the same feature. That is why code like this did not work:
public void Delete(IFeature feature)
{
    _features.Remove(feature);
}

I can understand this is easier for other scenarios though. Perhaps you could add something like the above. I think I prefer a Delete overload over a Remove method. Not sure if the correct overload is called if you pass an instance of Feature. I you could unit test this I would be even happier.
Btw, I am working in the 1.1 branch now.

@gklamm is this issue still relevant to you? If not I will pick it up myself, it is a relatively small change.
I also want to add an overload that takes a feature and a method to compare the features, so this can be used to implement value compare. This way you don't have to add the Key in the constructor, making the purpose more clear.

Added Features.Delete(IFeature feature, Func<IFeature, IFeature, bool> compare = null), available in this beta: https://www.nuget.org/packages/Mapsui/1.3.0-beta3

It seems this methd no longer exists. How to delete a feature from Features?

@JTrotta The entire Features class was removed. It was an extra layer that did not add much value. Instead of further developing it into a solid collection we now use the Microsoft collection classes.
In the MemoryLayer we now have an IEnumerable<Feature> Features field. You can assign that with a collection you manage from you own code. It should be a thread save collection.
You could also look at the WriteableLayer that is used in the editing samples. Or copy the code of the WriteableLayer into your own code and manage it yourself.


Behavior of short with value including equals

I found the behavior of -a=5 surprising (I was assuming it would simply be the value "5").
test('when combine string short with value including equals then parsed with equals in value', (t) => {
  const args = ['-a=5'];
  const options = { alpha: { short: 'a', type: 'string' } };
  const expected = { values: { __proto__: null, alpha: '=5' }, positionals: [] };

  const result = parseArgs({ args, options });

  t.deepEqual(result, expected);
  t.end();
});

Can someone refresh me on how we landed on this behavior?

See https://github.com/pkgjs/parseargs/issues/78. Most programs don't support = here; try, for example, grep -C=3 'foo'.
(That said, it might make sense for this to be an error, at least in strict: true, with a suggestion to do -C =3 if that's what you actually meant.)

(Or support both, per #78. Thanks for supplying the previous issue @bakkot.)


Problem with MoneyMaskedTextController cursor

Hi, I've got a problem below :

The cursor always seem to move to the start of the textfield. Is there any solution to this? Cause this happens to give user a bad experience when filling in the form.
My code that related to this :
final _priceController = MoneyMaskedTextController(
    precision: 0,
    decimalSeparator: '',
    thousandSeparator: ',',
  );

Awaiting your response, sir

same here, anyone resolve ?

Try this
 controller.afterChange = (_, __) {
      controller.selection = TextSelection.collapsed(
        offset: controller.text.length,
      );
    };

Same problem here using the MaskedTextController...

The same problem. @phungnc could you clarify how to use your code. I tried to add it but could not make it

@benhurott we need your help, sir

@azamatdev

create a MoneyMaskedTextController:

final myController = new MoneyMaskedTextController();

inside your initState,  set the afterChange hook like this

  @override
  void initState() {
    super.initState();
    myController.afterChange = (_, __) {
      myController.selection = TextSelection.collapsed(
        offset: myController.text.length,
      );
    };
  }

listening for changes to the text form field

 TextFormField(
     controller: myController,
...

@azamatdev

create a MoneyMaskedTextController:

final myController = new MoneyMaskedTextController();

inside your initState,  set the afterChange hook like this

  @override
  void initState() {
    super.initState();
    myController.afterChange = (_, __) {
      myController.selection = TextSelection.collapsed(
        offset: myController.text.length,
      );
    };
  }

listening for changes to the text form field

 TextFormField(
     controller: myController,
...

I have tried this solution, it's work but not perfectly. In iOS devices, this solution make backspace(delete) not working.

Any solution for this issue?

@azamatdev

create a MoneyMaskedTextController:

final myController = new MoneyMaskedTextController();

inside your initState,  set the afterChange hook like this

  @override
  void initState() {
    super.initState();
    myController.afterChange = (_, __) {
      myController.selection = TextSelection.collapsed(
        offset: myController.text.length,
      );
    };
  }

listening for changes to the text form field

 TextFormField(
     controller: myController,
...

I have tried this solution, it's work but not perfectly. In iOS devices, this solution make backspace(delete) not working.

myController.afterChange = (previous, next) {
if (previous.length < next.length) {
myController.moveCursorToEnd();
}
}

Anu update? I have the same issue

Anu update? I have the same issue

2021 year but this bug still work. any updates?

use another library is only the one solution


update conscrypt to 1.1.3

includes a shutdown NPE fix, and been a while since updates.

I don't think we have a rush on updating here generally, assuming semantic versioning but worth not getting too far behind.


chore: Rename variable

This updates some variable naming to be more accurate.

It looks like CI is broken on this repo now. Going to merge, but we should investigate this a bit further and figure out what a more robust solution is long-term.


[WIP] The app's user's home directory should be the same as the app home

Buildpacks sometimes place files in compile time $HOME, such as language package caches, and these must be in the app's runtime $HOME.

This turned out to not work as smoothly as I hope, and I managed to resolve this a little more reliably in https://github.com/benlangfeld/QueueFlex/commit/50c59c87b6c7b6bad4b0b01f5457453fa5aedbcd

Some apps expect their owner user to have a proper home directory, separate from the app home dir. This change would break that, so I'll reject it for now.


No more works with right-click button or CTRL + click

After v3.8.0 bump. Which makes it unusable, imo.
Chrome 43.0.2357.130, ArchLinux.

Thanks, I'll fix it tonight

CTRL + click is fixed in v.3.8.2, but right-click isn't anymore supported because of change from a static map list to a resolver api. For more details check out the release notes from v.3.8.0

@stefanbuck it seems it's not fixed.
Is there any way to use v3.7.x extension?

Damn. You can build the previous version by yourself https://github.com/github-linker/chrome-extension/commit/06b0d337ffd8a39231c6b5cfc98a0df2276d2a75. But I'm interested to fix it issue :wink:

Okey, i'll try :)

I found the problem and will release a fix this evening.
Cheers

Please check it if it is working in 3.8.3 :fingercrossed:

not released/published

It is

There's no github release and chrome didn't notify me that there have updates.

Notifications are only there for minor and major releases not for bugfixes. I will write release notes later this evening.

Oo, okey. Yea ctrl + click works.

@stefanbuck not work when reviewing some file.

Please send me the URL so I can take a look on it. Thanks

Firstly the extension worked as expect - when browsing github files and when looking READMEs. Now nothing. It's not specific file.

Strange, I will check it.

@tunnckoCore Did you build the previous version by yourself? If so, please make sure that there is only one GitHub-Linker extension installed / active in your browser.


About the decoding_layer function in the file Structural_feature_decoding.py

Hello, author! In this function, x_trn, x_val, y_trn, y_val doesn't seem to correspond. Looking forward to your reply.

Hi, x_trn and x_val refer to the fMRI data for the training set and validation set, respectively. The function fetch_ROI_voxel(trn_file_ex, ROIs) is used to retrieve the voxels for each Region of Interest (ROI). On the other hand, y_trn and y_val refer to the CLIP features for the training set and validation set, respectively. The function CLIP_feature_layer(trn_CLIP_feature_all_layer, layer_name) is used to extract the features from each layer of CLIP.

If there are any other questions, feel free to contact at any time

Hello, thank you for raising this issue. I'm sorry that there was a problem when I was reorganizing the code. According to the description in the paper, when searching for hyperparameters, we used the first 8000 data in the training set for training and the last 859 data in the training set for validation.
We have selected the optimal hyperparameters n and remain_rate, and you can directly use all 8859 training data to train.

Thank you for your reply. I understand.
I have two more questions about the file Structural_feature_selection.py.
1.When extracting features, the code seems to have filtered only Linear 1.
2./trn_stim_CLIP_zscore_{}.npy".format(i + 1)) for i in range(1,9)], axis=0).Whether this line of code represents combining the characteristic data of multiple subjects.
I don't know if my understanding is correct. Looking forward to your reply.
def feature_select(index_save_path, CLIP_feature_saved_path, x_trn, k_folder=5, layer_name = 'Linear-1',rate = 50):
index_save_path = index_save_path + '/{}/'.format(layer_name)
if not os.path.exists(model_save_path):
os.makedirs(model_save_path)
trn_CLIP_feature_all_layer = np.concatenate([fetch_CLIP_feature(CLIP_feature_saved_path + "/trn_stim_CLIP_zscore_{}.npy".format(i + 1)) for i in range(1,9)], axis=0)
y_trn_all = CLIP_feature_layer(trn_CLIP_feature_all_layer, layer_name)
cor_all = np.concatenate([feature_select_onefold(x_trn = x_trn, k_folder=k_folder, rate=rate, fold_id=i+1, y_trn_all=y_trn_all) for i in range(4)] , axis = 0)
bar = np.percentile(cor_all, rate)
selected_index = []
for i in range(cor_all.shape[0]):
    if cor_all[i] >= bar:
        selected_index.append(i)
np.save(index_save_path + 'Folder_5_{}.npy'.format(100 - rate), np.array(selected_index))
return
for layer in args.Layers:
    b = feature_select(index_save_path=args.index_save_path, CLIP_feature_saved_path=args.CLIP_feature_saved_path, x_trn=x_trn, k_folder=5, layer_name = 'Linear-1',rate = args.rate)

Reply：
1.Linear-1 is the initial assignment of the function. In fact, this code will perform feature selection for 'Linear-2', 'Linear-4', 'Linear-6', 'Linear-8', 'Linear-10', 'Linear-12'

2.Due to the different structural and functional topologies of different subjects, it is currently not possible to combine the data from all eight subjects for computation. Our article trains a model separately for each subject. The for i in range(8) here is because when I used CLIP to extract training features, there were 8,859 pictures, but the CUDA was out of memory, so I could only process 1,200 images at a time and saved eight copies.


node dropped over a parent should be appended in the end, not in the beginning

It is usually expected that on dropping over a parent the node will be appended in the end and not in the beginning. Kindly make this change. I need to use it for an important project.
Also parent should not be allowed to be moved over children. If someone tries to drag a node then it must be either collapsed while doing so or something else must be done to achieve this

That makes sense, although because of backwards compatibility I prefer not to make this change now. You can override actionMapping.mouse.drop and provide your own function
The tree prevents dropping a parent onto a child

yes i have overriden it for me. It was just a suggestion for a little betterment. Thanks


HTTPCLIENT-293 Fix proposal based on RFC 7578

I implemented the fix in two commits, because I believe that some refactoring was required in order to handle the part header field parameters (name, filename) properly in the Content-Disposition part header field. Also a unit test was implemented that fails on the first commit but succeeds on the second that includes the actual patch.
I did some research about the percent encoding, which as I can understand is quite loose concerning the characters that it should always encode depending on the context. The actual percent character encoding implementation was copied from the common-codecs' URLCodec but it could not be reused as it was implemented, because that class includes URL specific encoding (e.g. ' ' -> '+')

@sermojohn Do you mind making a few relatively minor changes to your patch?

Could you please keep MinimalField immutable and move all construction logic to FormBodyPartBuilder?
FormBodyPartBuildeencodeForHeader appears to be no longer needed. It should probably be removed.
Could you please avoid different formatting of imports? You might need to tweak your IDE settings for that.

@ok2c pushed the suggested changes. Thank you for the feedback.
Removed both FormBodyPartBuilder.encodeForHeader and the corresponding unit test, as I did not find anywhere in the spec this encoding rule.
Fyi, I could not build the 4.6.x branch with java 1.6 version, as it is reported by animal-sniffer-maven-plugin that undefined references are used (AuthSchemeRegistry.java:127, SchemeRegistry.java:151,  CookieSpecRegistry.java:139). It worked when I switched to java 1.8 source compilation and target.

@sermojohn Is there any reason why you encode parameters of the CONTENT_DISPOSITION field only? Why not all fields?

Only the filename parameter of the Content-Disposition field is currently encoded, because it is defined by the specification (RFC 7578) that should support non US-ASCII characters. The other parameters, "name" (in Content-Disposition) and "charset" (in Content-Type) should only contain US-ASCII characters.
I could modify the code that creates the "charset" parameter of Content-Type field, but I noticed that this field always appears without quotes around the value, which makes it a bit incompatible with the handling of the Content-Disposition parameters that always appear quoted. So, I believe I should avoid changing that code, as it also seems irrelevant with the current fix. Hope you agree.

@sermojohn
I committed your changes with some modifications. I fixed multiple style check violations, escaped non Latin chars in test cases, and redesigned your code to generate fewer intermediate objects / garbage on the heap.
Please review and close this PR. Feel free to raise another PR with follow-up changes.

@sermojohn Please close this PR.

@vlsi This change-set is present in the 5.x code line only.

Would you please adjust "fix version" in https://issues.apache.org/jira/browse/HTTPCLIENT-293 accordingly?


Feature layers with multiple symbols don't draw

Reproducible on devext with multiple services in multiple organizations.
Not reproducible on production
Not reproducible in the ArcGIS.com map viewer.
Open the application: http://localgovdev.mapsdevext.arcgis.com/apps/MapAndAppGallery/index.html?appid=b7e8bf0134134f638256c44c50798715&group=d0bd2e3c4e6249f9b88b93e4f7089801
Open the One Symbol service
Zoom in to the data. Note that the service draws
Open the TwoSymbols service
Zoom in to the data. Note that only features with one symbology - red triangles - draw. The blue circle features do not draw.

verified


Consider a transChoice if a count variable can be found in the context

The transChoice is deprecated from 4.2
https://symfony.com/blog/new-in-symfony-4-2-intlmessageformatter
Lastly, the new formatter also deprecates the transChoice() method, which is replaced by the trans() method with a parameter called %count%.
https://symfony.com/doc/current/translation/message_format.html


chore: switch to file-based registry by default

What this PR solves / how to test
Fixes #000.
Author has addressed the following

Tests

[ ] TODO (before merge)
[ ] Tests included
[ ] Tests not necessary because: covered

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[x] Required
[ ] Not required because:

Changeset (Changeset guidelines)

[ ] TODO (before merge)
[ ] Changeset included
[ ] Changeset not necessary because:

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s):
[ ] Documentation not necessary because: not user facing

I think it would be better to default the value of the --x-registry flag to true, so that users can still turn this off for the first week or so until we remove the non-file based code.

@penalosa agreed. This PR was not meant to be merged, it was just for testing in CI. This was just the first place I came across that would definitely remove the server-based registry from all code paths.


"=" in navigation bar url replaced with =

Issue Summary
Using a link in the navigation bar that includes a = is replaced with =
This is not a duplicate of issue #4627 as the url doesn't need to have double = and it is not translated to <marker>
Steps to Reproduce
In http://your-domain.com/ghost/settings/navigation/ add a link that includes a =.
Technical details:

Ghost Version: 0.11.3

also, & is being replaced with &amp

Thanks @kevingil, I've confirmed the issue. Working on a fix, should hopefully be resolved the next release 😄

closing. fixed via #7836


can not link ios simulator or ios device

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

vs code with flutter plugin
debug with a app with a new app
the app can install in simulator or ios device,but it can not lauch app,and the error is Error connecting to the service protocol: failed to connect to http://xxxxxxx:xxxxxx/xxxxxx/

Expected results
the app can install in simulator or ios device,but it can not lauch app,and the error is Error connecting to the service protocol: failed to connect to http://xxxxxxx:xxxxxx/xxxxxx/
Actual results
the app can install in simulator or ios device,but it can not lauch app,and the error is Error connecting to the service protocol: failed to connect to http://xxxxxxx:xxxxxx/xxxxxx/
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
Waiting for xxxx iPhone to connect...
Launching lib/main.dart on xxxx iPhone in debug mode...
main.dart:1
Automatically signing iOS for device deployment using specified development team in Xcode project: xxxx
Xcode build done.                                           39.7s
(lldb) 2023-06-20 14:53:28.778252+0800 Runner[82154:7937086] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(35)] Using the Impeller rendering backend.
Warning: Unable to create restoration in progress marker file
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
Error connecting to the service protocol: failed to connect to http://<IP_ADDRESS>:59656/JH7yFYj4Sv4=/
Exited

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.4, on macOS 13.4 22F66 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.79.0)
[!] Proxy Configuration
    ! NO_PROXY is not set
[✓] Connected device (4 available)
    ! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be
      restarted and unlocked. (code 1)
[✓] Network resources

Hi @yeniugo
You should narrow down the issue by checking if it's caused by 3rd party plugins/packages or your implementation. In case you have a clue and can reproduce this issue consistently, please provide a sample code along with output of flutter run -v so we can verify this issue properly. Thanks!


Create a Code of Conduct

Create a Code of Conduct file

@Sloth-Panda I have made this issue, as requested earlier.

I would love to work on it. Kindly assign it to me as a part of Cross-Woc

@muthuannamalai12 you can work on this issue.


Client Crash while resizing

Describe the bug
While resizing the client window, the game window crashed. The game window appeared half drawn and no sounds played. As an application, Runelite did not - I still received a prompt asking if I wanted to exit before closing the game.
I use a tiling window manager which forces Runelite into a very small window size while repositioning windows ~(960 x 270).
I encountered this issue twice while repositioning windows; but, could not reproduce it on demand with a fresh client
Expected behavior
Game window should not crash
Screenshots
This screenshot is not of the crash but has a similar layout to when it occurs

Environment (please complete the following information):

OS: Ubuntu 18.04 bionic
RuneLite version: 1.5.26
Launcher version: 1.6.2

I have been using the RuneLite.AppImage
java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)

Additional context
The following snippet was taken directly from the console output
2019-06-15 09:21:13 [Client] ERROR net.runelite.client.RuneLite - Game crash: null
java.lang.ArrayIndexOutOfBoundsException: 201199
	at net.runelite.client.callback.Hooks.clearColorBuffer(Hooks.java:498)
	at ad.gf(ad.java:4899)
	at az.ir(az.java:9676)
	at az.ir(az.java:9707)
	at bv.iz(bv.java:9565)
	at client.jh(client.java:4587)
	at client.ab(client.java:1690)
	at ba.p(ba.java:419)
	at ba.run(ba.java:373)
	at java.lang.Thread.run(Thread.java:748)
error_game_crash

client log: https://pastebin.com/axxyumAB

I started facing the same issue on my system running Windows 10 today, specifically after I had changed RuneLite's DPI settings from the Windows default "System" to "Application" (under the Windows program compatibility settings, to be clear). With that compatibility flag set, RuneLite no longer enforced the minimum 765x503 size for the client applet. And, like clockwork, I can easily get the client to crash by resizing below that normal minimum size. Reverting the DPI settings and the minimum applet size works as intended and no crashes.


Add 1/4/22 action to homepage and State response page

Kalin Kipling at CalEPA asked that we add link to Water Conservation Emergency Regulations to the drought site.

[x] Determine placement
[x] Draft copy for homepage and State response page
[x] Get approval through Kalin
[x] Stage
[x] Check
[x] Publish
[x] Check

In the course of doing this, I took care of some housekeeping items.

[ ] Logged all action posts into a draft document
[ ] Noted that post titles differed from titles they were given on State response, and updated posts to align
[ ] Noted that post titles don't appear on homepage, and asked if they could for scannability

Published 1/27/22 at 2PM.


Write a Scala program to convert days to seconds

Description
Write a Scala program to convert days to seconds
1 day = 24 hours = 1440 minutes = 86400 seconds
Input  : 5
Output : 432000

How to contribute

Save the solution in convertDaysToSeconds.scala file
Add convertDaysToSeconds.scala file in convert-days-to-seconds folder

!assign

Hey @Chirag8023,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


Credentials dialog isn't modal

When it appears, user can switch back to VS without closing the dialog and interact with UI

IVsUIShell.EnableModeless is your friend

No, it is actually _coreShell.AppConstants.ApplicationWindowHandle is invalid.
We call AppConstants.Initialize too early.

Ah. then it can go to CheckVsStarted and to the shell started notification callback


How to do LIME interpretation in pySpark Model?

How to get Explainer and Interpretation in pySpark model?
from pyspark.ml import Pipeline, PipelineModel
from pyspark.ml.classification import RandomForestClassifier
from pyspark.sql import SparkSession
spark = SparkSession.builder.appName('my_app').getOrCreate()
df = spark.read.csv('data.csv', header = True, inferSchema = True)
###Cleaning...…######
from pyspark.ml import Pipeline
pipeline = Pipeline(stages = stages)
pipelineModel = pipeline.fit(df)
df = pipelineModel.transform(df)
selectedCols = ['label', 'features'] + cols
df = df.select(selectedCols)
train, test = df.randomSplit([0.8, 0.2], seed = 13266)
rf = RandomForestClassifier(featuresCol = 'features', labelCol = 'label')
rfModel = rf.fit(train)
predictions = rfModel.transform(test)

Found this for duplicate https://github.com/marcotcr/lime/issues/115
Thanks


chore(release): 0.13.1

Version bump in package.json and package-lock.json for release 0.13.1

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ConnectionRefusedError: [Errno 111] Connection refused

I am getting this error when try to run the notebook in colab
https://colab.research.google.com/drive/1RqLyHiADYV6EE-fdnkH07eUdEKiKcq32?usp=sharing

I think the following calls from Linux terminal should be documented:
curl -fsSL https://ollama.com/install.sh | sh
ollama serve & ollama pull llama3

I am getting this error when try to run the notebook in colab https://colab.research.google.com/drive/1RqLyHiADYV6EE-fdnkH07eUdEKiKcq32?usp=sharing

don't have access to your colab notebook, if the issue still persist paste your issue here with all the details


Does it work with PJRT plugins?

Hi,
I can see this project does link dynamically to xla_extension.so , but OpenXLA is supporting plugin mechanism via PJRT (https://github.com/openxla/openxla-pjrt-plugin) . Does this project supports working with OpenXLA plugins (dynamically loaded shared objects that are implementing PJRT API) ?
Thanks for developing this very interesting project!

I don't know much about pjrt plugins and didn't give this a try so no real clue I'm afraid.

Ok, thanks for answer


Create a Health Check API

This component does not have a health checking API.

This component is no longer used.


Fix/mask auth passwords

Not all password/secret fields have the mask option assigned, causing them to be plaintext and easily readable from a distance. API key authentication does this already, but many other authentication types such as Basic auth does not do this. Password was always plaintext.
With this PR this has been resolved. I've added the "mask" option to AuthInputRow password/secret fields. This also ties into the "Reveal passwords" setting. If turned off, password/secret fields are hidden and can be revealed with the Eye icon/button.
Closes #8106

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Note I'm not so fluent in Typescript/Javascript and writing Tests for this. I simply noticed the discrepancy around Mask usage and fixed it.

@filfreire I updated the PR with the latest code from develop. It seems it needs approval from (I guess) you. Thanks in advance!

Isn't the "Reveal password" setting the solution to this?

I think you're correct, the global setting showPasswords should be respected by all inputs I hadn't even noticed it until now.


I confused about ARM pl-330 dma controller and dma ip in pl？whats relationship between them？

The ARM PL-330 is simply a different DMA controller from the Xilinx AXI DMA. It uses a similar but different hardware protocol for performing the DMA transfers. The ARM PL-330 should be a hard IP block, as opposed to AXI DMA which is syntehsized with the FPGA design. I would imagine (but this would have to be confirmed) that the AXI DMA design likely is capable of getting higher overall DRAM throughput.
Generally speaking, the AXI DMA IP seems to be better supported in Xilinx scenarios than the PL-330. I was able to find some Xilinx pages on this, such as here, but I think the preferred IP is AXI DMA. This driver doesn't explicitly support using the PL-330, but it may be possible to get it working.


Create missing subject trials and training tables

Make sure we have these tables for all BWM subjects

For later: use Graphing or else (make new item)


EIA860 2001-2003

Added a DBF reader to GenericExtractor to handle the early years of EIA data.

I was able to run the full ETL process on the 2001-2019 EIA years. I originally received a harvesting "inconsistent" error for plants.service_area. Upon further analysis of the field, I decided to move it to the annual table. While it rarely changes for plant entities, I found some instances of plants service areas changing due to utility rebrands or acquisitions.
@zaneselvans, what additional steps are needed to close out this issue and merge the PR? #1069 and running the data validation checks?

Oh @bendnorman it looks like you need to merge dev in again before the merge. There's at least one conflict, in the eia_test.py module...


Store adjacency lists as RaggedTensors in StellarGraph

This issue is to re-write the stellargraph adjacency lists as RaggedTensors,  and  re-write necessary functions to handle the new RaggedTensor format.

As of #1296, we now store these as a manual/custom ragged tensor built on NumPy. Note the timing in https://github.com/stellargraph/stellargraph/pull/1296#issuecomment-616960234 : ragged tensors are significantly slower than numpy arrays. Related Tensorflow issues:

https://github.com/tensorflow/tensorflow/issues/38263
https://github.com/tensorflow/tensorflow/issues/39750

The value of this change would likely be having more things TF end-to-end (e.g. #1206), and thus potentially more complied/jitted. #1228 is related too.


Support WECHATY_HOSTIE_PORT environment variable

to replace the hardcoded 8788 in our IoClient.

This feature has already implemented.


Electron.isFullScreen() in browser throws error

client/index.js attemps to stub out Electron methods that could be inappropriately called from the browser by assigning _.noop to them. Unfortunately, Meteor apparently uses an old version of underscore that does not support that function, so Electron.isFullScreen & similar are undefined, and if you try to call them in the browser, you will get Uncaught TypeError: Electron.isFullScreen is not a function(…).

Thanks @rdickert !


feat: Add option to avoid broadcasting inputs

Hello! :wave:
While looking at the example project, I noticed that the _process function was using the input attribute to animate other players which made me realize that this is probably not something that should be done in most cases as it leaks what the intend of the other players might be.
and also because those information can usually be extrapolated from other data already replicated and that allows us to save some bandwidth!
Some example:

Input Movement => Velocity
Input Aim => Rotation
This Merge Request adds a simple toggle to only send the RPC to the server (turning Broadcast Input to Off).

Here are some data using the the example project as a reference in LAN mode with:
1 Listen Server + 2 Clients

Download
Upload

Server (Broadcast)
~16.3 KiB/s
~66.2 KiB/s

Server (No Broadcast)
~8.0 KiB/s
~47.8 KiB/s

Client 1 (Broadcast)
~32.6 KiB/s
~8.1 KiB/s

Client 1 (No Broadcast)
~23.3 KiB/s
~4.0 KiB/s

Obviously I am totally new to this project (and to Godot) and might need an implementation rework. I set the default broadcast value to true to avoid creating BC break as it is more a minor change here.
I also updated the demo project to use velocity instead of the input, it "works" but is probably not as good as the input implementation, I haven't looked too much into the code logic for it to be honest.
Let me know what you think!

Just realized that having this enabled causes some issues between remote clients so it can't be merge at it is.
I still think the point stands though on being to not replicate inputs but let me know!

Oh dang, now that you mention this @nicobatty, this would make a lot of sense to have. Let me play around with it in the next few days and get back to you with a review.

There seems to be some sync issues between the different clients. Though the server itself seems to be doing fine so other clients might be relying on the input itself.
I also discovered while trying to debug what was going on that by not submitting any inputs, the server stops running the rollback tick which is an issue since the physics like falling for example runs in this tick so the character will essentially stop falling.
In this case I think the general strategy for the server is to just keep using the same inputs for the next tick. Not sure if related to this or a separate issue though.

I also discovered while trying to debug what was going on that by not submitting any inputs, the server stops running the rollback tick which is an issue since the physics like falling for example runs in this tick so the character will essentially stop falling.

@nicobatty yeah that's the intentional behavior currently - if the server doesn't know the player's input for a given tick, it doesn't simulate it. Instead, it will wait for the input to arrive, so we know on the server side what's the player doing.
However, the client should always be submitting inputs for each tick, to the server. Is there a case where that does not happen?

@nicobatty added some commits. Thank you for the catch and the PR, much appreciated!


Legal Exercises - Stat Con Change

Following a change in process some JAC Fee-Paid Legal Exercises no longer require Statutory Consultation to be completed.
As a user I can select "Legal", then "yes" to Stat Con waived in the vacancy information side but when I leave the date blank in the timeline I am able to press save and continue to bypass the warning but then unable to publish the exercise live on the website. The "Done" box is not shown in the task last and buttons below greyed out.
As a user when I select Legal,  yes to stat con waived, enter the reason why and then leave the data blank in the timeline but press save and continue I should be allowed to submit and publish my exercise for approval.
To mitigate any legal exercises missing the date when stat con is taking place a pop up should warn the user and ask them to verify it is a legal exercise, stat con is waived, why and that no date will be displayed. to the candidate.

There's a ticket (Legal Exercises - Stat Con Change#1712) for this issue already. This one is duplicate and I will close it.


Correcciones segunda entrega

Reworked everything from changes guidelines in "Correcciones parte 2"

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

221 of 222 (99.55%)  changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 99.379%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

repository/IngSoft2-Model/TrenchRunGame.class.st
43
44
97.73%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
480

Relevant Lines:
483

💛  - Coveralls


feat: Try to add AEC3 for rust-core.

yeah, assert is only triggered in debug mode.
Théo Monnom @.***>于2024年9月23日 周一07:08写道：

@.**** commented on this pull request.
In webrtc-sys/src/audio_track.cpp
https://github.com/livekit/rust-sdks/pull/439#discussion_r1770654330:

@@ -163,15 +163,15 @@ AudioTrackSource::InternalSource::InternalSource(

     if (buffer_.size() >= samples10ms) {
       for (auto sink : sinks_)

       sink->OnData(buffer_.data(), sizeof(int16_t), sample_rate_,

       sink->OnData(buffer_.data(), sizeof(int16_t) * 8, sample_rate_,

funny that it works without it
—
Reply to this email directly, view it on GitHub
https://github.com/livekit/rust-sdks/pull/439#discussion_r1770654330,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHJQ4XXJWZHRMUXJJIPVUTZX5EWHAVCNFSM6AAAAABOURY3D6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMRQHE2DAMRZGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Variable substitution now working when replace kvp in xml

When using VSTS on a hosted vs 2017 agent, the variable will not replace values successfully when referencing attribute names.
Replaces Variable Successfully:
"Parent/Child": "$(VariableName)
Does not replace variable:
"Parent/Child/add[@key='keyName']/@value": "$(VariableName)"

Did you ever resolve this? I'm having the same issue.


ion-input random scroll android

Ionic version:  (check one with "x")
[ ] 1.x
[X ] 2.x
I'm submitting a ...  (check one with "x")
[X ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
iOS: Works fine.. Ion item does not cause an automatic scroll. The pointer is cursor.

Android: The pointer turns into hand. On click, it automatically scrolls down the page. On manual scroll, the item is repeated twice for a moment and then gets corrected. All because of input-cover div. How to get rid of this?

Expected behavior:
No random scroll in Android when using an ion-input.
Steps to reproduce:
Just a create a page with ion-input which has a scroll already. Upon click to input into the box, the page will jump around.
Related code:
    <ion-input type="text" placeholder="Address 1"></ion-input>

I figured out this is because of a "Scroll Assit" feature for android. Is there a way to disable it so as to prevent this abnormal behaviour?

Maybe related to my issue? #9642

Hello @sudharsanmit ! Thanks for posting an issue with us. You can turn off scroll-assist in your config by setting scrollAssist: false. We will look into this issue.


docs: update installation instructions

In the documentation, one step before running npm start should be running npm install, because otherwise the user receives an error such as the following

If you wish, I can contribute by making a better README for the project.

@SrNightmare09 , I would love your participation. The steps in readme are wrong. Please correct them and also add images (view count, stars of repo etc etc ) to make it look better.

All the best @SrNightmare09 . Do star the repo as well. It would really help!

Thank you @SrNightmare09 . I really appreciate your contribution.


Update grunt-electron-installer to latest version

This gets us the latest version of Squirrel updater with many Windows fixes.

:+1:


Retain cursor position when clicking to bring editor to foreground

When VSCode is in the background and I click on an editor to bring it to the foreground, I'd like the cursor to stay where it was before.  Typically, I'm typing something and need to switch back to another app to look something up.  Then I click whatever visible part of VS Code there is to bring it back to the foreground.  However, the cursor moves and I lose where I was at.
This is somewhat like #130147 except that one expects the cursor to move.

hi, @ssigwart u can use alt + tab if on windows. i suppose keyb shortcuts for this action exist in other os-es too.

Hi, @yashpalgoyal1304.  Yes, on Mac, it's Cmd+Tab.  The  problem is that it's inconsistent because you may have to use it once or multiple times if it's not the last window.

amh, this might be obvious, but i thought to say it. ~'cz in all the softwares the cursor position changes on clicking on them. so, if this suggestion was imple.....~ but yeah, after this suggestion, it would have become double click to move cursor. yeah, it makes sense then.

At least on Mac, I'm fairly certain that most applications do not change the cursor position when the window is in the background.  I've tested this with Word, Excel, Chrome, Safari, Mail, Finder, iTunes, and TextEdit.  They all behave that way.  I did find that Calendar changes state when you click to restore it from the background, but in general, not much seems to behave the way VS Code does.
For those that are also annoyed by this, I created an extension (https://marketplace.visualstudio.com/items?itemName=ssigwart.retain-cursor-after-background) to fix it.


Dynamic shortable asset list

Feature Proposal
Generate shortable asset list for each network.
Rationale
Currently the shortable synth asset list is hardcoded.
https://github.com/Kwenta/kwenta/blob/e84be821ca0db2ecaaf4a53221eb380b4752ea06/sections/shorting/constants.ts#L3-L4
Implementation

Look at the current list of synths and check if each asset is short-able with CollateralManager.shortableSynthsByKey(CURRENCY_KEY) which returns non-zero if the asset is shortable.
Completely replace SYNTHS_TO_SHORT and SYNTHS_TO_SHORT_L1
Use multicall to batch the calls.

Rewards
150 SNX

Assigned to @kethcode

CollateralManager.shortableSynthsByKey isn't available on the L1 contract. I'm going to leave the L1 list hardcoded, since L1 shorts are deprecated anyway.

Ok, I've got an alternate approach for the L1 that will handle replacing it fine.

Here's you're hook.  I can't seem to navigate the async, so I'm done.  Give it to someone else.
import { CurrencyKey, Synths } from 'constants/currency';

import Connector from 'containers/Connector';
import { ethers } from 'ethers';
export const getSynthShortList = async () => {
const { synthetixjs } = Connector.useContainer();
let SYNTHS_TO_SHORT_L1 = [Synths.sBTC, Synths.sETH, Synths.sLINK];
let SYNTHS_TO_SHORT: CurrencyKey[] = [];
for(var synth in Synths) {
	var retval = parseInt(await synthetixjs!.contracts.CollateralManager.shortableSynthsByKey(ethers.utils.formatBytes32String(synth)))
	if(retval > 0)
	{
		SYNTHS_TO_SHORT.push(synth as CurrencyKey)
	}
}

console.log("SYNTHS_TO_SHORT:", SYNTHS_TO_SHORT)

return { SYNTHS_TO_SHORT_L1, SYNTHS_TO_SHORT };

};


Differences between Hosted2017 agent and private agent

I am testing the differences between using the Hosted2017 agents and using my own private agent.  However, I'm seeing some differences between them and I'm wondering why.
I am running the same Release deployment on each agent and am seeing the following:
Hosted Agent
Time to complete: 12 minutes 5 seconds
2018-04-30T07:54:59.6024079Z ##[section]Starting: AzureBlob File Copy
2018-04-30T07:54:59.6030890Z ==============================================================================
2018-04-30T07:54:59.6031191Z Task         : Azure File Copy
2018-04-30T07:54:59.6031605Z Description  : Copy files to Azure blob or VM(s)
2018-04-30T07:54:59.6031911Z Version      : 1.0.113
2018-04-30T07:54:59.6032148Z Author       : Microsoft Corporation
2018-04-30T07:54:59.6032489Z Help         : [More Information](https://aka.ms/azurefilecopyreadme)
2018-04-30T07:54:59.6032796Z ==============================================================================
2018-04-30T07:55:02.3941789Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM\2.1.0\AzureRM.psd1 -Global
2018-04-30T07:55:23.1329012Z ##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2018-04-30T07:55:23.1387167Z ##[warning]The names of some imported commands from the module 'AzureRM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2018-04-30T07:55:23.1744219Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM.Profile\2.1.0\AzureRM.Profile.psm1 -Global
2018-04-30T07:55:23.2698889Z ##[command]Add-AzureRMAccount -ServicePrincipal -Tenant ******** -Credential System.Management.Automation.PSCredential -EnvironmentName AzureCloud
2018-04-30T07:55:25.2215351Z ##[command] Select-AzureRMSubscription -SubscriptionId c629991b-869a-43aa-aa02-acfe4cda7627 -TenantId ********
2018-04-30T07:55:34.1760503Z Uploading files from source path: 'D:\a\r1\a\Staged' to storage account: 'xxx' in container: 'xxx' with blob prefix: 'xxx'
2018-04-30T08:07:04.2055191Z Uploaded files successfully from source path: 'D:\a\r1\a\Staged' to storage account: 'xxx' in container: 'xxx' with blob prefix: 'xxx'
2018-04-30T08:07:04.2526366Z ##[section]Finishing: AzureBlob File Copy

Private Agent
Time to complete: 01 minute 48 seconds
2018-04-30T08:14:23.3441233Z ##[section]Starting: AzureBlob File Copy
2018-04-30T08:14:23.3471235Z ==============================================================================
2018-04-30T08:14:23.3471235Z Task         : Azure File Copy
2018-04-30T08:14:23.3471235Z Description  : Copy files to Azure blob or VM(s)
2018-04-30T08:14:23.3481236Z Version      : 1.0.113
2018-04-30T08:14:23.3481236Z Author       : Microsoft Corporation
2018-04-30T08:14:23.3481236Z Help         : [More Information](https://aka.ms/azurefilecopyreadme)
2018-04-30T08:14:23.3481236Z ==============================================================================
2018-04-30T08:14:25.3242366Z Added TLS 1.2 in session.
2018-04-30T08:14:26.8353230Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM\4.1.0\AzureRM.psd1 -Global
2018-04-30T08:14:40.1420841Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM.Profile\3.1.0\AzureRM.Profile.psm1 -Global
2018-04-30T08:14:40.7431185Z ##[command]Add-AzureRMAccount -ServicePrincipal -Tenant ******** -Credential System.Management.Automation.PSCredential -Environment AzureCloud
2018-04-30T08:14:41.9971902Z ##[command] Select-AzureRMSubscription -SubscriptionId c629991b-869a-43aa-aa02-acfe4cda7627 -TenantId ********
2018-04-30T08:14:47.6425131Z Uploading files from source path: 'D:\Agents\vsts-agent-master\_work\r1\a\Staged' to storage account: 'updatesystemstorage' in container: 'xxx' with blob prefix: 'xxx'
2018-04-30T08:16:11.0402832Z Uploaded files successfully from source path: 'D:\Agents\vsts-agent-master\_work\r1\a\Staged' to storage account: 'xxx' in container: 'xxx' with blob prefix: 'xxx'
2018-04-30T08:16:11.0912861Z ##[section]Finishing: AzureBlob File Copy

Why is the hosted agent using AzureRM 2.1.0 and the private agent using 4.1.0?
Is this normal?

This task uses the AzureRm Modules that are present on the system running the agent. Your private agent uses 4.1.0 because someone/something installed the modules in that version on the machine and the hosted agent is not that up to date. That difference is normal.

Thanks - Is there a way to force this on the hosted agents?  Is there a task to force install the lastest AzureRM PS module?

Please add a Powershell script to your release definition before the azure file copy task:
Install-Module -Name AzureRM -AllowClobber -Force
It will install 5.7.0 (which is latest).
If you want to use 4.1.0
Install-Module -Name AzureRM -RequiredVersion 5.5.0 -AllowClobber -Force
use this script in your Powershell task .
Feel free to contact us If you still face any issue.


Support .NET 8 scheduled for Nov 14

Depends on [add a reference link here]

[ ] Open a PR
[ ] Create a release
[ ] Update templates (if necessary)
[ ] Update https://github.com/devcontainers/images/issues/90
[ ] Update Microsoft Artifact Registry docs

So there is no build with RC 2?

So there is no build with RC 2?

@marinasundstrom, unfortunately, we don't. We only add support for production ready frameworks.

Would it be out-of-bounds to create a PR to add .NET 8 support to the universal image as it's now the new LTS?

Would it be out-of-bounds to create a PR to add .NET 8 support to the universal image as it's now the new LTS?

For the universal image, we have the following rules defined :

Only include LTS (or latest) releases of tools used for key scenarios
When several LTS versions are in support, include only the latest two

Hence, updating universal image to support .NET versions 8 and 6 makes sense to me.
I can help review Update universal image to .NET 8 #855 when it's ready.

Sounds good, I removed .NET 7 from the pull request and it's ready for review now.
Thanks!

Closing as .Net 8 images are now released 🎉


[WIP] Migrate from ethers to viem

ℹ What is the context for these changes?

I'm exploring what the migration from ethers to viem looks like.
viem is a slimmer package that gives us all of the same functionality that Ethers did with a much more compact size and better test utilities + test coverage.
Additional --
When removing Ethers and @wagmi/core references inside of the connect-wallet package it presented the issue we've been aware of but been putting off for a while which is a circular dependency issue.
However, after some quick inspection it looks like this can be resolved pretty easily by adding support for absolute path resolution. The only caveat to this is that we cannot use absolute path resolution for the shared package since it does not get bundled. If we use absolute paths here we end up with errors for an inability to resolve paths for exported components and hooks.
This does make the pull request significantly larger, however, you can see the majority of the migration to viem within the first commit. The work that addresses circular dependencies and other ESLint violations is included in the second commit.
🕹 Demonstration

Bundle sizes:

Before (using Ethers)
After (using viem)

🎩 How can this be tophatted?

...
✅ Checklist

[ ] Tested on mobile
[ ] Tested on multiple browsers
[ ] Tested for accessibility
[ ] Includes unit tests
[ ] Updated relevant documentation for the changes (if necessary)

/snapit

/snapit

Accidentally force pushed after undoing a commit 😅
Re-opened with changes resurfaced 👍

/snapit

/snapit

🎩 ed successfully on Desktop using Metamask and on Android using Metamask, Rainbow, Coinbase and Generic WalletConnect. Had some issues with my Ledger so I skipped that, but initial step worked to open the Ledger app with my currently connected account, I just couldn't sign the message because of issue on my end.


Make server host configurable with a cli argument

The failed checks seem to be because of errors in the build environment and not because of the code :-?


FR: copy as grpcurl command

Hi @felangga,
Thanks for this great tool!
Would be nice to have a "copy as grpcurl" command, which copy the appropriate grpcurl text to the clipboard

Hi @segevd-opti,
Thank you for your feedback, that actually a great idea!
Maybe I will add an import and export feature, to import from grpcurl and export to grpcurl command.
I will add this to the TODO section for now.
Thank you!


Fix cpu_freq() call on M1 -- fixes #9

Since a fix is in progress in psutil, and that info is not important we can catch and ignore it

oops unrelated make lint fixes. I guess it's fine to land like this given the project maturity


[WIP] Staking UI

Description

[x] Add kwenta value icon component
[x] Add epoch label
[ ] Update dark/light theme
[x] Update en.json
[x] Add escrow table row
[x]  Add escrow table row select and show the total amount of select
[ ] Add epoch switcher
[x] Integrate the mock data
[x] Integrate the contract
[X] Calculate APY
[X] Add vesting entries
[x] Add Claimable rewards
[x] Add Vestable Qty
[x] Add Fee/Immediate Vestable Qty
[x] Add Stake/Unstake function
[x] Add Redeem function
[ ] Update mobile

Related issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Trading Rewards

Remove Estimated rewards and Estimated fee share (calc takes too long)
Remove Claimable rewards: Epoch 1 and just show "Total Claimable Rewards"
Remove Claim Epoch 1 button and just show "Claim all"
After claiming my trading rewards, the 'Claim all' button did not disable, so I was able to do a second transaction (which failed)

Escrow

Escrow: Rename eKWENTA to escrowed Kwenta

General

remove the word Current from Current Balance (in Stake/Unstake boxes)