nsjail process consuming 100% CPU after running the AOSP 'lunch' command

Describe the bug
Attempting to compile AOSP source code, after executing the 'lunch' command, the process gets stuck, and upon checking with the 'top' command, it's observed that an nsjail process is consuming 100% CPU. It's uncertain whether this is causing the subsequent operations to be unresponsive.
To Reproduce
No response
Expected behavior
No response
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.5.0
Commit: afc6a0a9a22761c33329835c75a3b42a4ceb29b8 (v1.5.0)
System info:
macOS: 14.4.1 (23E224)
CPU: arm64, 16 cores
CPU model: Apple M3 Max
Model: Mac15,9
Memory: 64 GiB
Diagnostic report failed: Put "https://orbstack-diag.46b92b876b97ec1d51081cf9af4132b9.r2.cloudflarestorage.com/orbstack-diagreport_2024-04-01T15-39-32.209708Z.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=b2b21c0f188ee60657b1bc068beea420%2F20240401%2F%2Fs3%2Faws4_request&X-Amz-Date=20240401T153933Z&X-Amz-Expires=600&X-Amz-SignedHeaders=content-length%3Bhost&x-id=PutObject&X-Amz-Signature=0e39c9a86d0e0893820973d017ec9520d8356b8925e0d41bef0ffbaad3e19b85": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Screenshots and additional context (optional)

mv prebuilts/build-tools/linux-x86/bin/nsjail prebuilts/build-tools/linux-x86/bin/nsjail.old


Fix a typo in using square trick

fixed a typo

Please make the required changes in 1 commit. We would like to resolve 1 issue per commit. Closing this PR for now.


Migrate base image to BCI image

Related issue
https://github.com/harvester/harvester/issues/1868

Note that the image size increases from 48MiB to 200MiB.

That's mostly caused by the dependency of package util-linux-systemd, in alpine world it's more simpler.

FWIW, using dive to inspect image layers:
original (alpine):

new (BCI):

The zstd-compressed tarball is 16M vs 63M.

Wondering if bci-base is need for the NDM or using the bci-minimal is sufficient enough?

@guangbochen  zypper is only available in the bci-base image. If we want a managed way to install dependent packages (like lsblk), the bci-base image is still preferred.


@sweetascherri@gmail com,## Step 1: Assign yourself

Step 1: Assign yourself
Unassigned issues don't have owners to look after them. When you’re assigned to an issue or pull request, it tells repository visitors and contributors that you'll be facilitating the conversation or task :muscle:.
:keyboard: Activity

On the right side of the screen, under the "Assignees" section, click the gear icon and select yourself

For a printable version of the steps in this course, check out the Quick Reference Guide.
 kerysgang @gmail.com keRtstrInkets nthings
I'll respond when I detect you've assigned yourself to this issue.

Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps.

Originally posted by @github-learning-lab[bo piglet t t pt] in https://github.com/sweetascherri/github-slideshow/issues/1#issuecomment-634519028

@sweetascherri

@sweetascherri


Crash upon startup

https://paste.dimdev.org/zifuganolo.mccrash
At first I thought it was related to my script, turns out it fires without it.

What's your Lang file in the contenttweaker folder look like

The only lang file I have is in resources, since I'm trying to set up the textures + localization externally, via ResourceLoader, since my pack is meant for curse distribution. However, I do not have a lang file, just a folder for it.

https://pastebin.com/573Ti2Mc
Tried changing the script, still running into an issue.
As for my lang file, it's just this one line at the moment.
tile.contenttweaker.compitum_magia.name=Moldavite Block

Contenttweaker should automatically generate files in /resources/Contenttweaker/Lang (it loads its own stuff and doesn't require Resource Loader)

https://pastebin.com/Hr99RuVJ


Mini V 2 with ESP32 is not working with this adapter

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Connect Mini with ESP. Only name is snyced, but no values.

See  MQTT log:
{"system":{"time":"1597589284","unit":"C","rssi":-54,"online":2},"channel":[{"number":1,"name":"Pitmaster","typ":0,"temp":999.00,"min":79.00,"max":88.00,"alarm":0,"color":"#0000FF","fixed":false,"connected":false},{"number":2,"name":"Roastbeef","typ":0,"temp":999.00,"min":10.00,"max":56.00,"alarm":0,"color":"#22B14C","fixed":false,"connected":false},{"number":3,"name":"Kanal 3","typ":0,"temp":999.00,"min":90.00,"max":110.00,"alarm":0,"color":"#EF562D","fixed":false,"connected":false},{"number":4,"name":"Kanal4","typ":0,"temp":999.00,"min":10.00,"max":350.00,"alarm":0,"color":"#FFC100","fixed":false,"connected":false},{"number":5,"name":"Kanal 5","typ":0,"temp":999.00,"min":77.00,"max":90.00,"alarm":0,"color":"#A349A4","fixed":false,"connected":false},{"number":6,"name":"Kanal5","typ":0,"temp":999.00,"min":105.00,"max":115.00,"alarm":0,"color":"#804000","fixed":false,"connected":false},{"number":7,"name":"Kanal 7","typ":0,"temp":999.00,"min":10.00,"max":35.00,"alarm":0,"color":"#5587A2","fixed":false,"connected":false},{"number":8,"name":"Kanal8","typ":0,"temp":999.00,"min":10.00,"max":53.00,"alarm":0,"color":"#FF9B69","fixed":false,"connected":false},{"number":9,"name":"Kanal 9","typ":15,"temp":999.00,"min":10.00,"max":35.00,"alarm":0,"color":"#5C7148","fixed":true,"connected":false},{"number":10,"name":"Kanal 10","typ":15,"temp":999.00,"min":10.00,"max":35.00,"alarm":0,"color":"#5C7148","fixed":true,"connected":false},{"number":11,"name":"Kanal 11","typ":17,"temp":999.00,"min":10.00,"max":35.00,"alarm":0,"color":"#5C7148","fixed":true,"connected":false},{"number":12,"name":"Kanal 12","typ":17,"temp":999.00,"min":10.00,"max":54.00,"alarm":0,"color":"#5C7148","fixed":true,"connected":false}],"pitmaster":{"type":["off","manual","auto"],"pm":[{"id":0,"channel":5,"pid":2,"value":100,"set":88.00,"typ":"manual","set_color":"#ff0000","value_color":"#000000"},{"id":1,"channel":2,"pid":2,"value":0,"set":50.00,"typ":"off","set_color":"#FE2EF7","value_color":"#848484"}]}}

Expected behavior
Mini with ESP32 is also working

thank you, just received the new device allowing me to adjust the adapter expect to be able spending some effort in it during september

Hi,
Any update ?

Hi,
Any update ?

Hi,
Any update ?
if you need support to test something, please feel free to contact me.

will be updated within the next 2weeks

solved 60e3ee8f76b9735dc713f456cd164b7c964e5cb2


Add an example on particle filtering  / particle Gibbs

It would be good to have a simple example of particle filtering. The previous version depends on AdvancedPS; we could remove that dependency to keep this minimal.
https://github.com/TuringLang/SSMProblems.jl/tree/8a458bd2941d38e75932683f9dc994d5dd80c47c/examples/smc

I don't think it depends on AdvancedPS but happy to rewrite it with the new interface

Just a heads up about Metal.jl. I ran a few benchmarks with it on my M1 Mac and found that even for easily parallelisable functions such as sum(), it ran the same speed as on the CPU.
Still an interesting experiment but don't be surprised if it feels slow.


State Layers

I selected "Turn on State Layers" within settings. Using a component from the Material Design Kit when I swap from my orange theme to  blue theme the hover & focus states of the component remain orange. is there something I am missing?

Hi! Could you provide steps to reproduce?
Sometimes the selection size is too large for the plugin to swap everything, especially with the size of the design kit.

Certainly, and thanks so much for the response.

Copy an instance of a Material 3 Design Kit component (in this case, a Chip) from the Assets Panel into my work. It has a color theme which we'll call Orange.
Open the Material Theme Builder plugin and select a new theme which we'll call Blue. Generate State Layers has been selected in the settings
Select the Chip and click the Swap button in Material Theme Builder. The visible state (outlined, label only, enabled) changes colour.
When I run the prototype and interact with the Chip, the hover and selected states remain Orange (the previous theme)

Thank you for providing the steps!
If the state-layers are generated and updated they should be swappable. The component states are different variants, so it sounds like some of the state variants didn't get swapped.


[AUTOPATCHER-CORE] Upgrade mariadb to 10.11.8 Fix CVE-2024-21096

[AUTOPATCHER-CORE] Upgrade mariadb to 10.11.8 Fix CVE-2024-21096
Upgrade pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=658511&view=results
buddy build -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=658515&view=results

Auto Upgrade failed


Exit from inline elements pressing enter key

Using TinyMCE pressing enter key inside an inline element like code, the caret must be moved outside the element

Just be aware of the use of code within the pre element. In this case, pressing the enter key must result in a normal carriage return.

So, every inline elements are "completed" by clicking a second time the right button? E.g. pressing inline code add the code element inside a p, pressing the button again, the caret shift after the code element.

Using text nodes this issue is complete.
e.g.
Pressing enter on inline_code, the cursor is moved at the start of the next text node.


Supervisor marks succeeded replicas as failed too aggressively

Affected Version
All versions since 0.9.1.
Description
The seekableSupervisor does the below when a replica is succeeded.

Check the status of all other replicas from taskStorage.
Stop all replicas if they are not finished yet.

For the tasks of unknown status, the supervisor kills them.
If the stop request fails for some tasks, the supervisor kills them.

However, there's some race in this algorithm because task status is not updated in real time. Instead, the supervisor updates it per runNotice. As a result, the supervisor can kill some already finished tasks successfully if their status is not updated yet. This would lead to mark them as failed even though they are finished as succeeded in the task logs, which seems very confused.
One way to workaround this problem is to check task status more eagerly. However, this would just mitigate this issue happening less. I think we eventually need the following changes in the future.

Updating task status immediately when the status change is notified to the overlord.
Add a new task status for canceled tasks.

I'm seeing this problem happening very frequently in our cluster and so marking as a release blocker fo 0.15.0.

Did something change recently to make this more frequent? I'm asking because it seems strange to me that "all versions since 0.9.1" could be affected, yet it is now happening so often that it should be a release blocker. This didn't happen incredibly often in the past, AFAIK.

I have the same feeling, but not 100% sure what made this more frequent. Maybe https://github.com/apache/incubator-druid/pull/7234 is a bit related. And unannouncePropagationDelay is the thing that makes this always happening.

I have been looking at more deeply and noticed that this is what's happening.

The task was finished and unregistered its chatHandler.
But the process which was running the task was not terminated immediately. For example, unannouncePropagationDelay can block the process from being terminated for a while.
The task status is updated only after the task process terminates (ForkingTaskRunner).
So, while the task process was waiting to be terminated, the task status in the metadata store was still RUNNING even though the task itself was already finished.
The supervisor killed the task because it returned an error of Can't find chatHandler for the shutdown request.

I'm removing this from 0.15.0 since this issue has been a while which means it's not a regression. Instead, I will mention this problem in the release notes.


Gallery Update

This is a pull request for changes to the AppInventor Gallery. A working version can be found at the following URL.
https://1-dot-aigallerythomas.appspot.com/#5769015641243648
Things Changed:
-A better layout for profile pages in the gallery has been added to where the user can see a preview of apps then click to see more
-Fixed a bug where double clicking on an app in the gallery would open duplicate apps on the right of the app view page
-Added the tutorial tab and the ability to make apps tutorial apps in the same way apps are featured
The changes were organized by Thomas Oropeza<EMAIL_ADDRESS>and David Wolber.

@toropeza You need to address the line comments above. Also merge in master and deal with the conflicts.

@wolberd @jisqyv Thanks, i'll let you know when i'm finished.

Added new commits. Working version can now be found at
https://1-dot-aigallerythomas.appspot.com/#5769015641243648
@jisqyv @wolberd

@toropeza @wolberd LGTM, On Gerrit.

MERGED


HHH-18107 fixed package name in 2 classes

HHH-18107 fixed package name in 2 classes

Renaming the package name is breaking change, move them to corresponding directory instead.

Too many noisy commits here. I will continue here https://github.com/hibernate/hibernate-orm/pull/8385

Too many noisy commits here. I will continue here https://github.com/hibernate/hibernate-orm/pull/8385


Tranquilizer rounds need balance

Description

Now that tranquilizer rounds are working again, it was quickly discovered that they can be devastating with the right chemicals.
One or two shots can crit/kill someone, regardless of armor.
There needs to be a way to counter them.

Piercing resistance in armor could add a chance to avoid injection.
Items like hardsuits and shields could block them
The ammo could be made slower/less accurate

Reproduction

Load up a tranquilizer round with 15u of a toxin like lexorin and shoot some dummies
https://www.youtube.com/watch?v=fe-XFt-qxkw
Additional context

maybe just nerf from 15u -> 5u

the thing is 'tranquilizing' was already impossible at 15u, since chloral hydrate (sleeping chems) is only effective at 20u to begin with. The only 'non-lethal' chem that was even worth using in 15u was the new PAX. Now they will just go completely unused since no effective chem can be used in them at 5u. It would take an entire loaded kammerer and every shot hit with sleep chems just to work effectively now.

Might be a good idea to leave that on #11465 too.

is the intent to even to be a tranquilizer? It's available in security techfab for crying out loud. Maybe it'd be better if it was like the emergency medipen, where the solution is predefined.

I like that idea better, at least to keep them viable. Although it is a neat idea to fill them with whatever chems you want, I'm surprised we haven't seen alternating potassium/water shots to inject explosions

tbqh, having a set solution is good. Ideas for syringe guns have been rejected in the past. Why are we allowing it now in the form of these bullets? It's the same concept.

like the pnumatic cannon shooting pills for instance

tbqh, having a set solution is good. Ideas for syringe guns have been rejected in the past. Why are we allowing it now in the form of these bullets? It's the same concept.

I agree that having a set solution is for the best. I'll see about opening a PR for it.


React Project Setup

We have set up a GitHub project board for our The Space Travelers Hub project and assigned tasks to our team members. You can find the project board at the following link: Kanban
Our team consists of two members, and we have assigned tasks to ensure fair time estimate distribution.
Team members:

@skabeo
@MussieTeka

Please review our project board set up to ensure that everything is in order and that we have correctly followed the instructions provided in the curriculum.
Thank you for your time and feedback.

Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights

good job including all the cards

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Remove workspace as a parameter when not required

@jordeu, as far as I understand we wish to remove the following global options and make them local (as per command) right?
https://github.com/seqeralabs/tower-cli/blob/510a77f39e8a330bf9f2cb353f0e51044d19382f/src/main/java/io/seqera/tower/cli/Tower.java#L68-L72
In addition, we will need to refactor this as well:
https://github.com/seqeralabs/tower-cli/blob/a09788662d21d0c5d11d1d5b5f41489642a0acdb/src/main/java/io/seqera/tower/cli/commands/AbstractApiCmd.java#L98-L120


Camera editing

Hi
Just getting started with nerfstudio- loving it so far & thank you.
Apologies if these are obvious Q&As- I've looked through the documentation & can't see anything

Is there any way I can edit the camera rotation in the GUI i.e pitch, yaw, roll or camera tilt ?
Same applies to to the camera target. Looking at the camera path json- I'm guessing it would be possible to edit the matrix coordinates, although not easy

Is there any way to return to the position of an exisiting camera in the 'viewport' view, and then edit/update the camera
The eye icon in the render view takes you to that camera view, but 'add camera' adds the new cam in the position of the 'viewport' view

thanks again for the great work
Andrew

https://user-images.githubusercontent.com/3310961/220264055-d2a4df63-cd2b-41cd-8a37-fa2eff438a78.mov
For more fine grain camera control, I recommend using the blender plugin to make camera paths.

thanks for the quick reply- I completely miseed the rotate button in the top right of the viewport window- that answers my point 1.
Yes, I'm planning to try out the Blender plugin- wondering if there is any plan to make it available on Linux ??
I'm thinking the best workflow is to create a rough camera path in nerfstudio, export & fine tune in Blender & bring back into nerfstudio
Andrew

I'll double check, but I think the blender plugin should work in linux.

thanks @tancik
Yes, I confirm the plugin works on Linux (the doc indicates just Mac & Windows)

Blender has obviously got sophisticated camera controls- so I'd recommend this to anyone
I did notice some strangeness with the FOV/focal length setting in nerfstudio

If I import the camera path from Blender and don't mess with anything, it works fine, but says the camera focal length is 38mm
My Blender camera is 28mm

So for example- in this animation- the left is from Blender (28mm camera) and the right is nerfstudio (38mm camera)
It's not a big deal for me- but might matter to someone compostiting
https://user-images.githubusercontent.com/25944617/220784324-a8145714-0896-45cb-8e27-3ddbfdacbd33.mp4
Andrew

I think it has to do with horizontal vs vertical focal length.
@cvachha

thanks @tancik
I don't understand it very well- except to know it is complicated & FOV--<>focal length is not a simple thing
I did have a look in the camera path exported from JSON- which didn't really help
My 28mm Blender lens shows a FOV of 39 (should be more like 75degrees HFOV)
I thought it might be half of HFOV, but yes VFOV might make sense

Hello,
The FOV written in the Nerfstudio camera path json is the vertical FOV of the Nerfstudio camera. Blender handles FOV differently and doesn't have a direct way to enter vertical FOV comparable to the Nerfstudio FOV.
The focal length, FOV, and aspect ratio from Blender camera are used to calculate the Nerfstudio camera FOV.
Is there an issue with the alignment with FOV in Blender or Nerfstudio?

thanks @cvachha
No it aligns perfectly.
I'd assumed that the focal length in the nerfstudio gui would be the same as in Blender
So just to confirm- the FOV shown in nerfstudio GUI is VFOV ?
thanks
Andrew

Yes, I think the nerfstudio GUI shows Vertical FOV


"Unable to resolve action" 404 error for third-party actions when use-enterprise enabled

Describe the bug
The extension marks a uses: line as an "Unable to resolve action" error when the Use-enterprise setting is enabled.
To Reproduce
Steps to reproduce the behaviour:

Log into a GitHub Enterprise server in VSCode.
Create a workflow that uses a third-party action hosted on github.com, for example:

name: test workflow
on:
  workflow_dispatch:
jobs:
  docker-login:
    - name: Log into docker registry
      uses: docker/login-action@v3
      with:
        username: ${{ secrets.DOCKER_USERNAME }}
        password: ${{ secrets.DOCKER_PASSWORD }}

Expected behaviour
There should be no errors displayed by the vscode-github-actions extension in the workflow file.
Actual behaviour

An error is displayed on the uses line: "Unable to resolve action docker/login-action@v3, repository or version not found.
An error is displayed in the GitHub Actions Language Server output: [Error - 1:45:06 PM] Failed to fetch action metadata for docker/login-action/v3: 'Not Found'

Screenshots

Extension Version
v0.26.2
Additional context
This is likely because the docker/login-action@v3 is not physically present on our GitHub Enterprise Server. GHES has a feature called GitHub Connect, which allows "access to additional features and workflows that rely on the power of GitHub.com". This includes the ability for a GHES instance to fetch third-party workflow actions from github.com – e.g. my GHES installation will see that there is no repository at docker/login-action and attempt to fetch it from https://github.com/docker/login-action.
Suggested fix
When the extension encounters a 404 for a uses: action, and if use-enterprise is enabled, the extension should check for the action on github.com. This could, of course, lead to a false-negative if one's GHES did not have GitHub Connect enabled, and did not have the target action on the local GHES. Perhaps a setting along the lines of github-actions.enterprise-github-connect-enabled: true|false could control this behaviour; if true, it would check against github.com after a 404 from GHES.

GHES is unfortunately not officially supported, and pending https://github.com/github/vscode-github-actions/issues/12 it probably won't be for quite some time. Wish I had a better/less annoying answer for you.


Support for Redis sentinel (Cache, LRU)

After searching for notes for how to utilize a containerized Redis sentinel with little to no success on docker-registry, I found some hint of it in https://github.com/docker/docker-registry/pull/416, https://github.com/docker/docker-registry/issues/528 and http://redis.io/topics/sentinel. My team recently tried utilizing it, but we kept encountering WARNING: LRU: Redis connection error: Error 111 connecting <IP_ADDRESS>:6379. Connection refused. We also changed to utilizing port 26379, but it did not appear to work. It was only when we utilized the containerized Redis master that no more issues were popping up when we did docker logs on the registry container. Is there existing support for sentinels? Kind of curious since discussion on the matter is fairly sparse.

I know this an old issue. But does recent versions of Docker Registry started supporting Redis with Sentinel?


Fix "pretty" mode tests

Adjust to Rust command line changes related to "pretty" mode tests.
Fixes #111

Thanks! I noticed the AppVeyor build doesn't actually run the cargo test in the test-project (I need to fix that), so I ran it myself. Nightly works fine (as I expected), but running cargo test --features stable doesn't work because the -Z option is not allowed on stable.
Does this break using compiletest on stable? Or is it just not possible to use "pretty" mode on stable? I would be OK with the latter, but the former would bother some users.

Hmm, I think I answered my own question: One of the removed lines is
-            .arg("-Zunstable-options")

which already shouldn't work on stable, so I think "pretty" works on nightly only (but the other modes are fine).
Do you agree? If so, I'll merge this and release a new version.

Beautiful, thanks!

0.3.11 is out


Caching mechanisms do not track the php.ini values

Have made a little check of your caching mechanisms.
When you have static php.ini and working generating docs - everything works well.
After the first run of the phpdoc for an exact directory, there generating the cache for the more fast next operation under the project.
So if after this I change 'mbstring.func_overload' in php.ini and run again the cache will be damaged.
More funny that if after the failure I change back the value of 'mbstring.func_overload' on the original one - the problem won't be solved until you remove the damaged cache from the directory of the project and regenerate from the top docs.
I experimenting with:
mbstring.func_overload = 2
&
mbstring.func_overload = 0
Experimenting under x64 Arch Linux:
Linux ***** 4.3.3-2-ARCH #1 SMP PREEMPT Wed Dec 23 20:09:18 CET 2015 x86_64 GNU/Linux
phpDocumentor version 2.8.5
Hope it helps.
Best wishes
The error of Zend unserialization() method:

By the way, who has faced such a problem for workaround clear the directory with the cache of the docs.
If you don't understand what is this - just remove all content from the directory output (where the docs are being generated). and the problem will be solved.


Running curl from readme produces weird error

Sorry for skipping bug requirements, reporting as prompted
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15916  100 15916    0     0   112k      0 --:--:-- --:--:-- --:--:--  117k
=> Downloading nvm from git to '/Users/div/.nvm'
=> xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Failed to clone nvm repo. Please report this!

Hmm, have you installed the Xcode command line tools? (that’s how you get curl, usually)

You're right, thanks.


Add example of how R.type treats undefined

I find myself looking at the source for this one (e.g. "is undefined an "Object" or "Null" or something else?"). Perhaps controversial since we never really do assignments of undefined

:cow2:
thanks


Build error  'sqlite3.c' file not found

thanas-mac-mini:sqlite2 thana$ make
rm -rf lib libs
ndk-build
Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
make[1]: Entering directory /Users/thana/Desktop/sqlite2' [armeabi-v7a] Compile thumb  : sqlc-native-driver <= sqlc_all.c jni/../native/sqlc_all.c:4:10: fatal error: 'sqlite3.c' file not found #include "sqlite3.c"          ^~~~~~~~~~~ 1 error generated. make[1]: *** [obj/local/armeabi-v7a/objs/sqlc-native-driver/__/native/sqlc_all.o] Error 1 make[1]: Leaving directory /Users/thana/Desktop/sqlite2'
make: *** [ndkbuild] Error 2
thanas-mac-mini:sqlite2 thana$

FYI this native-driver version is no longer supported. I would highly recommend building from https://github.com/brodybits/Android-sqlite-ext-native-driver, which supports REGEXP using builtin regex.h, has SQLite 3.26.0 (still needs SQLite 3.28.0 update), and should be more consistent with iOS platform.

thank you for the suggestion


Hostname does not appear in describe vmi when its not provided in specification

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
When creating a vmi with no hostname defined under spec, the hostname  should receives the vm name.
kubectl describe vmi <vm_name>   will not display  Hostname:  in output.
What you expected to happen:
kubectl describe vmi <vm_name>  should display  Hostname:  in output since the hostname receives the vm name.
How to reproduce it (as minimally and precisely as possible):
Create a vmi without a hostname specified in spec and use kubectl describe vmi <vm_name>
Anything else we need to know?:
More info about hostname and vm name (for DNS) :
https://kubevirt.io/user-guide/#/workloads/virtual-machines/dns?id=creating-unique-dns-entries-per-virtualmachineinstance

@rmohr  Im trying to think if this is really a bug.
kubectl gets the vmi resource for description , and if the user didn't define the hostname then it shouldn't exists there. But, hostname gets the vm name in some areas.
Do we want to update the vmi resource with hostname ?  or is  this wrong by design?
If kubectl describe vmi <vm_name> takes the resource as it is then it will need a hack to display the hostname.

@yanirq @rmohr I'm trying to understand why we would not want to always set a hostName (default to name)?  This sort of matches the behavior of Docker for example, if you don't provide the --hostname then the Container name is used by default.  This seems like a good expected behavior to follow no?
Or are we considering the different stage of VMI vs VM?  If that's the case then the field should probably not be available in the VMI at all.

closed - NOT A BUG.


Table.AddRow (string value) throws an exception if one row is too long.

Information

OS: Windows10
Version: latest
Terminal: VisualStudio DebugConsole

Describe the bug
Table.AddRow (string value) throws an exception if one row is too long.
System.ArgumentOutOfRangeException:'Index and length must refer to a location within the string. Arg_ParamName_Name'
To Reproduce
Table table = new Table();
            table.AddColumn("Japanese Text");
            table.AddRow(@"ここ良かった！街、クラブ、個室とかなりよく作り込まれてる。ゲームコーナーやシューティングレンジもあって、UdonChipsも使われてた。銃が気持ちいい。全体的に音周りの調整が凄いので参考にさせてもらいたいワールド。
                           #VRChat_world紹介
                           The AfterDark Arcade https://t.co/wjrc8HJc1W");
            AnsiConsole.Render(table);

Expected behavior
Surrogate characters were not included, which is most likely a problem with character length.
Screenshots

I love this library, thank you always. Hope it will be fixed

I suspect this has been resolved in #501.
Could you reference version 0.41.1-preview.0.12 and see if you're still seeing this error?

I was able to confirm that it was fixed in 0.41.1-preview.0.12.
thank you


Have a short explainer regarding what it means to start a tutorial

That it's a serious thing.
You need to be active - if you have more than X days of inactivity, you're out.
Don't waste our time.
PS: if you're not ready to start it yet, have a look at our Instagram page or YouTube channel

This is part two of: https://github.com/FrontEnd-ro/frontend.ro/issues/640


chore: move cache dir to node_modules/.cache/remix

Signed-off-by: Logan McAnsh<EMAIL_ADDRESS>
Closes: #

[ ] Docs
[ ] Tests

Testing Strategy:

@mcansh I think this is ready for review & can be merged?
Or do we still need some other things first that I'm not thinking about?


Easily switch between multiple backends

Currently, all Playwrights mocks are bound to oasisscan. Switching app backend should be more flexible.
Options:

build  app with oasisscan backend when running e2e (or any that we thing is primary)
each backend can provide its own api mocks and we can run playwright with the same env used to build the app
remove api-transaction-methods.cy.ts ? Unhandled txs are rendered as Unrecognized after all, v2 does not provide types for tx methods

I would modify it in runtime in playwright, and incrementally add some tests with mocks for nexus
either addInitScript
in test use https://playwright.dev/docs/api/class-page#page-add-init-script
await page.addInitScript(() => window.REACT_APP_BACKEND = 'nexus')
await page.goto('/')

in code
export const backend = () => window.REACT_APP_BACKEND || process.env.REACT_APP_BACKEND || BackendAPIs.OasisMonitor

or localStorage
in test do what we do for addPersistedStorageV1 (open non-javascripty page, set storage, open javascripty)
await page.goto('/app.webmanifest')
await page.evaluate(() => window.localStorage.REACT_APP_BACKEND = 'nexus');
await page.goto('/')

in code
export const backend = () => window.localStorage.REACT_APP_BACKEND || process.env.REACT_APP_BACKEND || BackendAPIs.OasisMonitor

maybe these should just be part of mockApi, and rename it to mockApiOasisscan :shrug:

Doesn't api-transaction-methods.cy.ts help us if v2 doesn't provide types for tx methods?

cypress test is not a blooker atm. moved it to https://github.com/oasisprotocol/wallet/issues/2086


Pod::Block::Code lacks the .allowed method descibed in its docs.

The documentation for Pod::Block::Code states that it has the allowed method.  However, it does not.  Indeed, the source code for Pod::Block::Code does nothing more than inherit from Pod::Block.
Does anyone know if Pod::Block::Code is supposed to have an allowed method that hasn't yet been implemented?  If so, I can open a Rakudo bug to that effect.  Either way, however, it seems that the documentation should not indicate the presence of a non-existent method.  Depending on responses to this issue, I'm happy to submit a PR that either describes the allowed method as "not-yet-implemented" or removes reference to it entirely.

The documentation for Pod::Block::Code states that it has the allowed method. However, it does not. Indeed, the source code for Pod::Block::Code does nothing more than inherit from Pod::Block.

Right.
Pod::Block::Code.^methods
(BUILDALL contents gist config BUILD BUILDALL)

Does anyone know if Pod::Block::Code is supposed to have an allowed method that hasn't yet been implemented? If so, I can open a Rakudo bug to that effect. Either way, however, it seems that the documentation should not indicate the presence of a non-existent method. Depending on responses to this issue, I'm happy to submit a PR that either describes the allowed method as "not-yet-implemented" or removes reference to it entirely.

A NYI would have the method implemented, but would throw X::NYI. Anything you do would be fine.

Unsurprisingly, that part of the file is 8 years old:
https://github.com/Raku/doc/blame/master/doc/Type/Pod/Block/Code.pod6#L13-L19
If we had the time, we should routinely revise everything that's older than the Christmas release...


Calamares Installer: desktop choice missing in summary

Describe the bug

Steps To Reproduce
Steps to reproduce the behavior:

...
...
...

Expected behavior
see desktop choice
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@vlinkz
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Seems status isn't set by the packagechooser module upstream (see: PackageChooserViewStep.cpp vs PackageChooserQmlViewStep.cpp). I'll test a fix and make an upstream pr so that it will work in the next release of calamares


[4.0.0] Error handling

Continues the work of #774 , make SwiftyJSON's error handling moving from NSError to Swift.Error.
This PR introudces a new SwiftyJSONError type and deprecated those old NSError types.
Here is the migration guide:

Old 3.X
New 4.X

ErrorDomain
SwiftyJSONError.errorDomain

ErrorUnsupportedType
SwiftyJSONError.unsupportedType

ErrorIndexOutOfBounds
SwiftyJSONError.indexOutOfBounds

ErrorWrongType
SwiftyJSONError.wrongType

ErrorNotExist
SwiftyJSONError.notExist

ErrorInvalidJSON
SwiftyJSONError.invalidJSON

Checklist - While not every PR needs it, new features should consider this list:

[x] Does this have tests?
[ ] Does this have documentation?
[x] Does this break the public API (Requires major version bump)?
[x] Is this a new feature (Requires minor version bump)?

@zhigang1992

Looks great to me 👍
Well done. 🎆

Added documentations about API breaking change.


The example no longer works after the last Arduino IDE update

I had the working HID HOST Example, then Arduino IDE updated to the latest Arduino-esp32 (the 3.0.0) and now nothing compiles anymore.
The first error is Compilation error: 'gpio_config_t' does not name a type; did you mean 'uart_config_t'? that is fixed adding the include for gpio, but then it rises another one that is Compilation error: invalid conversion from 'void*' to 'TaskHandle_t' {aka 'tskTaskControlBlock*'} [-fpermissive] and is where I am stuck now.
I also saw that on ESP32 forum they are talking about implementing the USB HUB on the ESP32 IDF, so I was wondering if this project will follow and add it also for the Arduino-Ide.
Thanks a lot for this project.

The following fixes the compile errors but I can't find my esp32 box so I have not test the change yet.
@@ -2,10 +2,11 @@
  * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
  *
  * SPDX-License-Identifier: Unlicense OR CC0-1.0
  */

+#include "driver/gpio.h"
 #include "usb/usb_host.h"

 #include "hid_host.h"
 #include "hid_usage_keyboard.h"
 #include "hid_usage_mouse.h"
@@ -506,11 +507,11 @@ static void usb_lib_task(void *arg) {
       .skip_phy_setup = false,
       .intr_flags = ESP_INTR_FLAG_LEVEL1,
   };

   ESP_ERROR_CHECK(usb_host_install(&host_config));
-  xTaskNotifyGive(arg);
+  xTaskNotifyGive((TaskHandle_t)arg);

   while (gpio_get_level(APP_QUIT_PIN) != 0) {
     uint32_t event_flags;
     usb_host_lib_handle_events(portMAX_DELAY, &event_flags);

Thanks, this fix works perfectly.


Some phones don't allow access to /sdcard

I'm a new user of RaceCapture which is user of Kivy.  I've encountered this error on my Huawei phone which throws an exception:
10-12 09:05:43.501 10388 10428 I python  : [CRITICAL] [Traceback (most recent call last)]
10-12 09:05:43.501 10388 10428 I python  :   File "/home/brent/git-projects/RaceCapture_App/.buildozer/android/app/main.py", line 608, in
10-12 09:05:43.501 10388 10428 I python  :   File "/home/brent/git-projects/RaceCapture_App/.buildozer/android/app/main.py", line 168, in init
10-12 09:05:43.501 10388 10428 I python  :   File "/home/brent/git-projects/RaceCapture_App/.buildozer/android/platform/build/dists/racecapture/private/lib/python2.7/site-packages/kivy/app.py", line 780, in user_data_dir
10-12 09:05:43.501 10388 10428 I python  : OSError: [Errno 2] No such file or directory: '/sdcard/racecapture'
I've noticed 2 related bug reports here:
https://github.com/kivy/kivy/issues/2990
https://github.com/kivy/kivy/issues/5259
The code in kivy/app.py (around line 771)
data_dir = join('/sdcard', self.name)
should be replaced using the android api requests something like:
from jnius import autoclass
env = autoclass('android.os.Environment')
data_dir = join(env.getExternalStorageDirectory().getPath(), self.name )

ref #5237, probably missed that part. I'll include it soon and hopefully even merge. :)

Thanks for the quick and positive response KeyWee.  My read of #5237, is it refers to the /sdcard reference in the get_application_config function.  The one I'm referring to is in the user_data_dir function (in the same file).  Perhaps this issue should be merged with 5237 and both references could be changed at the same time.
Thanks.

/move p4a

sorry, my mistake, that does seem more at home in kivy.


Node config no longer used in Webpack 5?

It appears that the plugin for Webpack 5 no longer accessed the nodeConfig. Should it be dropped from this file?
https://github.com/awesome-webextension/webpack-target-webextension/blob/master/lib/webpack5/index.js

You're right


Fixed renamed options in gem install

good for me

Sources :
https://stackoverflow.com/a/7662245
https://guides.rubygems.org/command-reference/#gem-install


Show folder labels

Hi
Question, how can I make visible all the folder labels permanently (now they are displayed only on mouseover).
thx

You'll have to learn some d3.js and hack the code.


[Release-1.6] Add TCP MX Alpn in UpstreamTlsContext for clusters that specify http2_protocol_options too

[Release-1.6] Add TCP MX Alpn in UpstreamTlsContext for clusters that specify http2_protocol_options too  (#23929)

Add TCP MX Alpn in UpstreamTlsContext for clusters that specify http2_protocol_options too
Ref: https://github.com/istio/istio/issues/23907

Signed-off-by: gargnupur<EMAIL_ADDRESS>Updated based on feedback
Signed-off-by: gargnupur<EMAIL_ADDRESS>Updated based on feedback
Signed-off-by: gargnupur<EMAIL_ADDRESS>
fix lint error after rebase

Signed-off-by: gargnupur<EMAIL_ADDRESS>

@gargnupur: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.6
2ae71537c887484bbf901843db6cae13229855dd
link
/test lint_istio_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@gargnupur: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.6
2ae71537c887484bbf901843db6cae13229855dd
link
/test lint_istio_release-1.6

gencheck_istio_release-1.6
2ae71537c887484bbf901843db6cae13229855dd
link
/test gencheck_istio_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Updating the "Extend Webpack" example to correspond to the edits to the documentation.

What's in this Pull Request?
This PR updates the "extend webpack" example to follow new guidelines.

Thx Ian, appreciated.


Added loadMediaStream method

Please do not update the README or Change Log, we will do this when we merge your PR.
This PR (delete as applicable)

Adds a new feature

Describe the changes below:

Added a new method loadMediaStream which takes parameter stream, loadEvent, and noAudio. Here, the stream is the MediaStream Object.
This will allow us to load the video directly from the MediaStream object instead of using a URL (like loadURL method) thus will be helpful to load a video being streamed from a webcam.
As, window.URL.createObjectURL() has been deprecated, so, instead of using video.src = window.URL.createObjectURL(stream), this method uses video.srcObject = stream.

👍


Compatible with 7.3+?

Hello Matt,
Thanks so much for this simple yet useful plugin. I was wondering if it's compatible with Umbraco 7.3.x?
Thanks!

Yes, it is.
Many thanks
Matt


minor: duplicated functionality for invoking cli commands on BaseAEATestCase

There are two different methods for running cli commands on the BaseAEATestCase, we may opt to deprecate one.
https://github.com/valory-xyz/open-aea/blob/a5816bf013d6630bb5aa2d8188f66b777f29b63b/aea/test_tools/test_cases.py#L183-L211
https://github.com/valory-xyz/open-aea/blob/a5816bf013d6630bb5aa2d8188f66b777f29b63b/aea/test_tools/test_cases.py#L932-L939

Would be good to understand which one is used more and which one we "prefer".


FreeBSD: Add support to battery

This commit aims to propose a FreeBSD to gain battery support using sysctl on hw.acpi.battery.*
Discharging

Plugged

cc @jbeich

Can you fix build errors, c.f. github action?
Thx :)

Thanks!


Update azure-stack-app-service-before-you-get-started.md

dos code was not showing as 'code' that could be copied.  Maybe because it was indented?  If you tried to copy and paste from browser the code would all be on one line - including DOS and would not run. (from SI Hackathon customer input)

@TolliLF : Thanks for your contribution! The author, @apwestgarth, has been notified to review your proposed change.

#sign-off

@ktoliver : Thanks for your contribution! The author, @apwestgarth, has been notified to review your proposed change.


{"code":550,"msg":"create partition err: create gamma table has err:[4294967294] "}

hello, i have problem when i'm trying to create space.
below shows how i create space:
curl -XPUT -H "content-type: application/json" -d'
{
"name": "test",
"partition_num": 1,
"replica_num": 1,
"engine": {
"name": "gamma",
"nprobe":200,
"ncentroids":512,
"metric_type":"L2",
"nsubvector":64
}
,
"properties": {
"field1":{
"type":"vector",
"index":true,
"dimension":128}
}
}
' http://<IP_ADDRESS>:443/space/test/_create

but i got the error response below:
{"code":550,"msg":"create partition err: create gamma table has err:[4294967294] "}

i noticed max_size was mentioned in issue 34
so i changed the max_size to 10000 and even smaller, this error was still there

below is the gamma.log:
INFO 2020-08-25 19:51:51,669 gamma_api.cc:285 Version []
INFO 2020-08-25 19:51:51,678 profile.cc:48 Profile created success!
INFO 2020-08-25 19:51:51,678 gamma_engine.cc:346 GammaEngine setup successed!
INFO 2020-08-25 19:51:51,678 gamma_api.cc:297 Engine init successed!
ERROR 2020-08-25 19:51:51,678 vector_manager.cc:75 NO support for retrieval type
INFO 2020-08-25 19:51:51,678 profile.cc:170 Add field name [_id], type [4], index [0]
INFO 2020-08-25 19:51:51,691 profile.cc:237 Create table 1 success!
ERROR 2020-08-25 19:51:51,691 gamma_engine.cc:642 Cannot create table!

lost of retrieval_type , such as :
{
"name": "test",
"partition_num": 1,
"replica_num": 1,
"engine": {
"name": "gamma",
"retrieval_type":"IVFPQ",
"retrieval_param": {"nprobe" : 200, "metric_type" : "L2", "ncentroids" : 512,"nsubvector" : 64}
}
,
"properties": {
"field1":{
"type":"vector",
"index":true,
"dimension":128}
}
}
Please refer to the doc:
https://github.com/vearch/vearch/blob/master/docs/APILowLevel.md

thank you very much, i notice i use the vearch 3.1.0 but refer to the https://www.bookstack.cn/read/vearch-zh/755979bdad55f339.md, i will have a try using the corresponding api.
by the way, https://www.bookstack.cn/books/vearch-zh is your official doc?

after i insert data to space, should i explicitly use the curl -XPOST {{ROUTER}}/test_vector_db/vector_space/_forcemerge to create index?


Allow use of sendable members in recover expressions

This implements @sylvanc's idea for fields in #728. I also added function access, which is allowed if the receiver capability of the function isn't mutable and if the return value is sendable. I think I got the requirements right but I'm not entirely sure.

Do not merge, I'm not handling tuples here. I'll fix that.

Regarding the function calls, it seems to me that requiring a non-mutable receiver capability is unnecessary and that having sendable parameters and return value is sufficient. Am I right here ?

@Praetonus can you fix the merge conflicts so this will be merge-able?

This can be merged once the CI checks pass.

Since the CI was stalling, I've added the modifications discussed at the sync call (allowing mutable receivers for function calls) instead of opening another PR.

The AppVeyor failure is unrelated. Merging.


Integrate CodeIntepreter

Features

Planning ability for general Role through _plan_and_act function
A CodeInterpreter(Role) that could solve problems through coding. This role inherits the planning ability and can also use tools.
A MLEngineer(Role) that tailored for machine learning and data analysis
Both roles above can interact with human for plan confirmation or modification
A Planner and a data structure Plan were the support for role's planning capability.
Multiple Actions reusable across roles, incluing WriteCodeByGenerate, WriteCodeWithTools, ExecuteCode, etc. These enable a real-time code generation and display.

Feature Docs
TODO
Result
TODO

This is a huge pr, provide the tests result and some example execution log to help a easier review.
There are lots of if/else judgments, make sure that the unittests have cover them.
To have a format update like type annotation, PROMPT_TEMPLATE position and its format, tool schema definition position and so on.
Add more param description/example especially for the param has Union type.
Make the usage clear like ml_enginner vs ml_enginner_simple, execute_code vs run_code and so on.
Uniform usage like working_memory, make sure it can cover the further usage. And update Action with ActionNode later.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (code_interpreter@16e3f94). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                 Coverage Diff                 @@
##             code_interpreter     #736   +/-   ##
===================================================
  Coverage                    ?   36.97%
===================================================
  Files                       ?      193
  Lines                       ?    10878
  Branches                    ?        0
===================================================
  Hits                        ?     4022
  Misses                      ?     6856
  Partials                    ?        0

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

https://github.com/geekan/MetaGPT/actions/runs/7735868125/job/21092824632
Test coverage at 87%, higher than target branch (dev), all tests passed (5 failures at dev not related to this PR)


Add build strategy to skip events that trigger a build if HEAD commit matches some rules

This PR add a new trait based on  jenkinsci/bitbucket-branch-source-plugin#145 to skip events (from webhook) that could trigger a build (PR branch job or not) if the HEAD commit matches message or author wildcard pattern. This avoid trigger new builds when in pipeline code there are git push operations (for example in case release action).

It's easy add also a trait based on regular expression instead of wildcards

There are two example of use of commit information:

a trait that discard branch where the head commit (date) is older than selected days (for example discard and free space on slaves if branch has not new commit since 1 year)
a build strategy that do not trigger a build if the head commit of a branch (from webhook or indexing) matches the author or message

The build strategy does not discard (and remove) the branch job like the previous Trait

Hi @nfalco79
The date related trait is covered on a different repo: https://github.com/jenkinsci/scm-filter-aged-refs-plugin. It is lacking filtering at branch branch level (only covers pull requests), but thats the place where the filtering must be done.

I have a question: do you want make a plugin for each trait?

Scope oriented: yes
This one is focused on commit messages, the other, on age

Scope oriented: yes
This one is focused on commit messages, the other, on age

But both of them are based on commit information

Implemented isApplicable to make sure this branch strategy is applied only to source of kind bitbucket

Scope oriented: yes
This one is focused on commit messages, the other, on age

But both of them are based on commit information.

Every filtering is performed on information related to a commit, be it source reference (branch, tag, PR title)
Four comments:

Could you include the same feature for the github plugin. In fact, having the common logic extending BranchBuildStrategy (which seems even nicer than extending SCMSourceTrait) on the scm-trait-commit-skip-common module would be preferred, with implementations on each github/bitbucket module
I would prefer spreading the changes on a new filter (for the commit author) and changing the current one, to replace the defaults [ci skip] and [skip ci] tokens with a regexp
As there are already traits filtering commits from pull requests and branches, I will expect this new feature to follow the same schema
Expecting a Pattern, I would erase the logic to replace a '' with a '.', as it complicates unnecesarily the code

@nfalco79 I need this for github, do you mind if I give a shot at the changes requested by @witokondoria in a separate PR ?

Feel free to change and submit a new PR

Let's continue the discussion in this new PR : #13


Compute output shapes for some kernels

@tensorflow/micro
Update the output tensor shape during prepare phase when the computed shape does not match the shape in the flatbuffer.
Kernels:

BATCH_TO_SPACE_ND
SPACE_TO_BATCH_ND
CONV
RESHAPE
EXPAND_DIMS
DEPTHWISE_CONV

Update CMSIS_NN and ARC_MLI optimized kernels.
Add additional tests from TfLite for BATCH_TO_SPACE_ND and SPACE_TO_BATCH_ND.
Update existing tests.
Add tests for Keras model using convolution with dilation > 1.
Update memory_arena_threshold_test to increase total, tail, and persistent allocation sizes:

Add 20 bytes for CONV output shape
Add 15 bytes for arena allocation alignment
x2 convolution layers

Update micro_speech_test arena size as per description in C++ code.
See #2319 for additional details.
Resolves b/317362237
bug=fixes #2368 #1646 #1629 #1231 #2338 #2319

This LGTM, just one tiny nit. We should probably file follow-up issues for supporting this with CEVA & Xtensa optimized kernels.

The CEVA and Xtensa code calls the reference Prepare method.  So no additional support work is required.


How do I use pymediasoup to get audio data from the mediasoup server?

mediasoup.py
The example can use "record-to" command to save media file when get get media data from the mediasoup server , but can i get the raw audio/video callback data for for further use? not to record or playback by the system directly.
Thanks!

You can handle the track manually MediaStreamTrack

class MyAudioTrack(MediaStreamTrack):
def init(self, track):
super().init()  # don't forget this!
self.track = track
async def recv(self):
    if isinstance(self.track, AudioStreamTrack):
        frame = await self.track.recv()
        ......

async def consume(self, id, producerId, kind, rtpParameters):
    if self._recvTransport == None:
        await self.createRecvTransport()
    consumer: Consumer = await self._recvTransport.consume(
        id=id,
        producerId=producerId,
        kind=kind,
        rtpParameters=rtpParameters
    )
    if consumer.track.kind == "audio":
        self._track = MyAudioTrack(consumer.track)

Can I customize MyAudioTrack to obtain audio data from the callback of the consumer's track?
class MyAudioTrack(MediaStreamTrack):
def init(self, track):
super().init()
self.track = track
async def recv(self):
    if isinstance(self.track, AudioStreamTrack):
        frame = await self.track.recv()
        ......

 async def consume(self, id, producerId, kind, rtpParameters):
    if self._recvTransport == None:
        await self.createRecvTransport()
    consumer: Consumer = await self._recvTransport.consume(
        id=id,
        producerId=producerId,
        kind=kind,
        rtpParameters=rtpParameters
    )
    if consumer.track.kind == "audio":
        self._track = MyAudioTrack(consumer.track)

You can implement a media processing class MediaRecorder , then use an instance of your class here demo


We need to handle missing requests in buildDeferredFunction

(n.b. the following is copied from this mailing list thread).
We ran across an issue where S.req returns a Req without a HTTPRequest inside. Ergo, when we call HttpRequest.snapshot in Req.snapshot, we get a NPE. The basic question is what to do with Req when you're in a comet context.
To fix this, we modified currentReq in both definitions of buildDeferredFunction so that they filter out null requests:
val currentReq = S.request.filter(_.request != null).map(_.snapshot)
The situation is basically:

Someone sends a message to a comet.
We try to create a deferred function (in this case, it's for the future-with-session
helpers that Piotr created) for lazy-loading.
The deferred function builder tries to snapshot the current HTTPRequest.
That object is null (due to being in a comet context), and things go boom.

@arigoldx Any chance you can put in a PR for this? 😇

https://github.com/lift/framework/pull/1844?

Is there some action I should take here? Not really sure what the assignment is for..

I think this was just Matt updating the issue to reflect the fact that you've been working on it.


[V3] Random onPress handle in FlatList items while swiping tabs

Current behavior
Random onPress handle in FlatList items while swiping tabs after V3 update
Especially noticeable on low-end android devices and in apps with many heavy components
Related issue: https://github.com/callstack/react-native-pager-view/issues/424
Example:
There is a function in demo that imitate CPU intensive operation
in order for the issue to be stably reproduced in simple demo on high-end devices
<EMAIL_ADDRESS>https://user-images.githubusercontent.com/764967/128614536-3259f49a-0d80-480c-b12a-24b9e4d708c1.mp4
More real world example with react navigation V6:
<EMAIL_ADDRESS>https://user-images.githubusercontent.com/764967/128614696-d46d2737-f801-4749-897a-5cc5e80798db.mp4
Expected behavior
No random onPress handle like in V2
https://user-images.githubusercontent.com/764967/128614762-807a60f5-06c7-4d59-9929-8eb36ff5c438.mp4
<EMAIL_ADDRESS>Reproduction
<EMAIL_ADDRESS>Platform

[X] Android
[X] iOS
[ ] Web
[ ] Windows
[ ] MacOS

Environment

package
version

react-native
0.64.2

react-native-tab-view
3.1.1

react-native-pager-view
5.4.0

expo
42.0.3

I am getting the same behaviour. When I have a <TouchableOpacity /> inside a view that is contained in react-native-tab-view, an onPress is triggered as I swipe through the three views in the tab view container.

Facing the same issue on iOS and Android after upgrading to V3. Button inside flat list get pressed while swiping.

Got the same issue. Have you fixed it?

same issue...

Any update?

Found a solution! Replace <TouchableHighlight with <FixedTouchableHighlight in your FlatList

Thanks, worked perfectly. In my case I wrapped TouchableOpacity and TouchableWithoutFeedback in the same way.

Found a solution! Replace <TouchableHighlight with <FixedTouchableHighlight in your FlatList
// FixedTouchableHighlight.js
import React, { useRef } from 'react';
import { TouchableHighlight } from 'react-native';

export default function FixedTouchableHighlight({
  onPress,
  onPressIn,
  ...props
}) {
  const _touchActivatePositionRef = useRef(null);

  function _onPressIn(e) {
    const { pageX, pageY } = e.nativeEvent;

    _touchActivatePositionRef.current = {
      pageX,
      pageY,
    };

    onPressIn?.(e);
  }

  function _onPress(e) {
    const { pageX, pageY } = e.nativeEvent;

    const absX = Math.abs(_touchActivatePositionRef.current.pageX - pageX);
    const absY = Math.abs(_touchActivatePositionRef.current.pageY - pageY);

    const dragged = absX > 2 || absY > 2;
    if (!dragged) {
      onPress?.(e);
    }
  }

  return (
    <TouchableHighlight onPressIn={_onPressIn} onPress={_onPress} {...props}>
      {props.children}
    </TouchableHighlight>
  );
}

Thanks!!


Rewrite stashcache tests to work with xcache >= 1.0.2

Auth cache/origin tests don't work yet; also, to simplify the code, I dropped support for previous versions of xcache.
Tested this out on Fermicloud; need to do a VMU run too.

Also, don't run this at the same time as the xrootd tests; they both use the same /etc/xrootd/config.d dir and would conflict hilariously with each other.

Successful VMU run: http://vdt.cs.wisc.edu/tests/20190315-1436/packages.html

New test run. http://vdt.cs.wisc.edu/tests/20190326-1706/packages.html

Just so that it's noted somewhere, we plan to merge this after xcache is released

In that case, can I add something to the VMU tests to use this branch to test the new stashcache?

Never mind, we already have an xcache-1.0.2 branch.


V2 - Get CLA Group Endpoint - Repositories count is returned as 0 even if repositories are enabled for the project

Observed that repositories count is returned as 0 even if repositories are enabled for the project
_https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/foundation/a0941000002wBymAAE/cla-groups_

_https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/project/a092M00001IV4KCQA1/github/organizations_

Repositories count is now displayed and hence moving the ticket to QA Done


Extension Activation failed

VS Code version
1.62.3
Extension version
v2021.11.1422169775
OS type
Windows
OS version
21H1
Python distribution
python.org
Python version
3.10
Language server
Pylance
Expected behaviour
No error displayed when the interpreter is selected.
Able to execute the programs successfully.
Actual behaviour
Two errors display when selecting python interpreter:

" Extension activation failed, run the 'developer: Toggle Developer Tools' command for more information.
( I'm not sure how to do that,  I tried to input this in the terminal. However,  I got an error. )

" Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details."

And when I try running any python code, I get:
"Couldn't start client Java Language Server"

The python extension keeps loading as well.
Steps to reproduce

Open any python code in VSC.
Try to run the code.
You will the errors above.

Logs
I don't see any option for python output.
Blank -- No output --
Code of Conduct

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

Looks like you might have a bad update. Do the following to remove stale versions of the extension:

Uninstall Python extension (if you have pylance uninstall it first). Uninstall any other extension that is failing.
Close all instances of VS Code.
Go to, %USERPROFILE%/.vscode/extensions (on windows) or ~/.vscode/extensions on Linux/Mac.
Delete any folder with the name starting with ms-python.python*
Start VS Code, and install Python extension (also pylance if you uninstalled it in step 1).

Looks like you might have a bad update. Do the following to remove stale versions of the extension:

Uninstall Python extension (if you have pylance uninstall it first). Uninstall any other extension that is failing.
Close all instances of VS Code.
Go to, %USERPROFILE%/.vscode/extensions (on windows) or ~/.vscode/extensions on Linux/Mac.
Delete any folder with the name starting with ms-python.python*
Start VS Code, and install Python extension (also pylance if you uninstalled it in step 1).

I tried the above steps but it only worked after I deleted all the extensions in the folder (%USERPROFILE%/.vscode/extensions).
Thank you!


Increase Unit Test coverage for Go

Although during development Unit Test cases were implemented (e.g. go test or make test), this issue is to expand Unit Testcases to increase the test coverage.
To test coverage for Go, the following commands:
go test -covermode=atomic -coverprofile=coverage.out
go tool cover -func=coverage.out

shows the coverage.
Example:
$ go tool cover -func=coverage.out
github.com/senzing-garage/g2-sdk-go-base/main.go:59:	baseDirectoryPath	100.0%
github.com/senzing-garage/g2-sdk-go-base/main.go:63:	dbTemplatePath		100.0%
github.com/senzing-garage/g2-sdk-go-base/main.go:67:	setupDB			77.3%
github.com/senzing-garage/g2-sdk-go-base/main.go:118:	setupIniParams		80.0%
github.com/senzing-garage/g2-sdk-go-base/main.go:130:	getIniParams		71.4%
github.com/senzing-garage/g2-sdk-go-base/main.go:142:	getG2config		87.5%
github.com/senzing-garage/g2-sdk-go-base/main.go:154:	getG2configmgr		87.5%
github.com/senzing-garage/g2-sdk-go-base/main.go:166:	getG2diagnostic		87.5%
github.com/senzing-garage/g2-sdk-go-base/main.go:178:	getG2engine		87.5%
github.com/senzing-garage/g2-sdk-go-base/main.go:190:	getG2product		87.5%
github.com/senzing-garage/g2-sdk-go-base/main.go:202:	getLogger		75.0%
github.com/senzing-garage/g2-sdk-go-base/main.go:212:	demonstrateConfigFunctions	73.7%
github.com/senzing-garage/g2-sdk-go-base/main.go:256:	demonstrateAddRecord	88.9%
github.com/senzing-garage/g2-sdk-go-base/main.go:276:	demonstrateAdditionalFunctions	73.7%
github.com/senzing-garage/g2-sdk-go-base/main.go:318:	destroyObjects		68.8%
github.com/senzing-garage/g2-sdk-go-base/main.go:348:	failOnError		0.0%
github.com/senzing-garage/g2-sdk-go-base/main.go:357:	main			68.3%
total:							(statements)		74.4%

For a visual inspection in an HTML browser:
go tool cover -html=coverage.out

References

https://github.com/senzing-garage/garage-roadmap/issues/8
Coverage Gutter

Pull requests:

https://github.com/senzing-garage/sz-sdk-go-core/pull/198
https://github.com/senzing-garage/sz-sdk-go-core/pull/199


[stable/tomcat] add me as maintainer

Based on this list, tomcat needs some maintainers.
related to: #13869

/assign @scottrigby

bump

Just closing this as nobody seems to be interested in merging it.


Overloads returning type predicate types are always incompatible with implementation

Version 1.6.0-dev.20150805
function f(x: string): x is string;
function f(x: number): x is number;
function f(x: any): boolean {
    return true;
}

Currently yields
blah.ts(1,10): error TS2394: Overload signature is not compatible with function implementa
tion.

I think this should be fixed in time for 1.6; being able to do this would enable some useful patterns.

Specific use case found with @roganov here.
namespace ActionType {
    export type Foo = string & { _fooTag: any };
    export const Foo = <Foo>"Foo";

    export type Bar = string & { _barTag: any };
    export const Bar = <Bar>"Bar";
}

type ActionType = ActionType.Foo |
                  ActionType.Bar;

interface BaseAction {
    type: ActionType;
}

interface FooAction extends BaseAction {
    type: ActionType.Foo;
    foo: number;
}

interface BarAction extends BaseAction {
    type: ActionType.Bar;
    bar: string;
}

function isActionType(action: BaseAction, type: ActionType.Foo): action is FooAction;
function isActionType(action: BaseAction, type: ActionType.Bar): action is BarAction;
function isActionType(action: BaseAction, type: ActionType): boolean {
    return action.type === type;
}

let handleAction = (action: BaseAction) => {
    if (isActionType(action, ActionType.Foo)) {
        let foo = action.foo; // OK
        let bar = action.bar; // type error
    }
    else if (isActionType(action, ActionType.Bar)) {
        let bar = action.bar; // OK
    }
}

See https://github.com/Microsoft/TypeScript/pull/3262#issuecomment-108991303.

Gotcha - but there was no formal issue filed for that, correct?

Correct, at least non that I knew of.

@JsonFreeman in the comment that @tinganho linked to, you mentioned that this is a problem that "we've known about". What problem were you referring to specifically?

I was referring to #943.

Right, I was sure we had an issue referring to that. Glad I'm not going nuts :smile:. @mhegazy.

This should be fixed for TypeScript 1.8.


chore(Dependencies) : update sbt-dependency-updates from 1.2.2 to 1.2.5

Updates org.jmotor.sbt:sbt-dependency-updates from 1.2.2 to 1.2.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.2.2).
You might want to review and update them manually.
modules/scalcite-ui/yarn.lock

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.jmotor.sbt", artifactId = "sbt-dependency-updates" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.jmotor.sbt", artifactId = "sbt-dependency-updates" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #494.


Path resolution on first lunch

Hello, I've just copied the project files using cookiecutter for testing, I've trouble lunching the server: how am I supposed to serve the project using poetry?
.env:
PYTHON_ENV=
ROOT_PATH=

the command  poetry run python api/server.py return the error:
Traceback (most recent call last):
  File "/Users/mac/document-ocr/api/api/server.py", line 9, in <module>
    from api.config import settings
ModuleNotFoundError: No module named 'api'

any help is welcome.

Which version of Python and Poetry you're using?

@lqmanh python 3.9.1, poetry 1.1.5

@sid3r That's weird. I use nearly the same version for both of them and it works fine. I use Linux, but I doubt there's any difference on MacOS though.
It looks like you generated the app inside a bigger project or something? Could you please try to generate another app to another place?

@lqmanh Indeed I'm on MacOS, Just did that, I reinstalled the package in a fresh folder, the same error is still showing :/


Update example request for container update in docs.

According to my experimentation with 1.10.0-rc2, this is the format currently expected by the endpoint.

Oh, can you also update the v1.23 docs?
ping @vdemeester :smile:

:+1:  Updated 1.23 docs as well!

Thanks!

oh that's right..
LGTM :+1:

LGTM! Thanks!


Possible error in autopilot.js with checking income to see if casino.js needs to be run

While looking through my log file for autopilot.js, I came across the following entry.
[12-08-2024] INFO: Skipping running casino.js this augmentation, since our income ($88.720k/min) >= 5b/min
Since 88.720k/min is not more than 5b/min, it appears there is either an error with the income reported to the log or the formula checking if we're making more than 5b/min.
Thank you for these scripts.  They have been very helpful to me.

Sorry - good news is this is just a display error. $88.720k was your computed income per millisecond since the start of the bitnode. If it had been correctly been displayed as "income per minute" it would be 5.32b / min.
I'll fix the code to display it correctly. Thanks for reporting!


Metric name configuration

fixes #1

Coverage remained the same at 98.78% when pulling d4153df49174571420c664eedb597a9dc68727fb on metric_name_configuration into ad02fa02ab1283271c03ceec8785f9a2bc4b4bfd on master.

Coverage remained the same at 98.78% when pulling 4bb4f53616669e7e5e6dce5b0e97cc72f09d5f01 on metric_name_configuration into ad02fa02ab1283271c03ceec8785f9a2bc4b4bfd on master.

Coverage remained the same at 98.78% when pulling 6462aed9ad60d49880ff9812a11c640a8e48751f on metric_name_configuration into ad02fa02ab1283271c03ceec8785f9a2bc4b4bfd on master.

Coverage remained the same at 98.78% when pulling d28b656d3d87885f11e134c39eca40e25ad8df20 on metric_name_configuration into ad02fa02ab1283271c03ceec8785f9a2bc4b4bfd on master.

Coverage remained the same at 98.78% when pulling 5e75c5693bb378c35e902977edb16b798bf089a7 on metric_name_configuration into ad02fa02ab1283271c03ceec8785f9a2bc4b4bfd on master.

Coverage remained the same at 100.0% when pulling d480227a1d5880bca37bfaccc4cb15cc95962346 on metric_name_configuration into 5f270df0431c76055877bdd71dac7c627bca6205 on master.

All fine with me. Good job!

not yet...

Coverage remained the same at 100.0% when pulling edc23564ebc82cf624bd11cacae5902c10ca04d4 on metric_name_configuration into 5f270df0431c76055877bdd71dac7c627bca6205 on master.

Coverage remained the same at 100.0% when pulling 4c81bb52325c0b7642feef8768638f1488ef9cd0 on metric_name_configuration into 5f270df0431c76055877bdd71dac7c627bca6205 on master.


[FINE] Bz1336485 eap container linking fix fine

Back-porting this PR https://github.com/ManageIQ/manageiq-providers-hawkular/pull/16 because it can't be done in a simple way because of a refactoring.
BZ - https://bugzilla.redhat.com/show_bug.cgi?id=1446485
@miq-bot add_label fine/yes, bug, blocker, providers/hawkular
cc @pilhuhn @israel-hdez

cc @simaishi


XQuery running: no error reporting

In case of error only an empty file is created, without the error information

exception message returned by BaseX is now returned in newly opened editor, enclosed in  tag


Rewrite Travis Build

This has run several times here without issue:
https://app.travis-ci.com/github/konveyor/travis-multiarch-test/builds
The failures seem to come down to two issues causing the failures:

The alternate architectures run using LXD for the most part. The output for the LXD containers seems to get buffered. If enough output is not generated within a ten minute period that the console output needs to be written out the job will fail on a 10m00s timeout Travis watches for to detect hung tasks. There is a travis_wait script that will write a line every minute to prevent jobs from failing from timeouts, but as this is run in the LXD container it's not nearly enough to force the buffer to be written out. But using -v for dependency download and build produces plenty of output to circumvent the issue.
The second issue is that there appear to be pretty frequent network connection errors downloading dependencies within the container, so I run go mod vendor, add the folder to the container, and adjust the build accordingly. I haven't seen any network issues since doing this.


[with-typescript] Remove obsolete TypeScript plugin and updated readme

The @zeit/next-typescript plugin is no longer necessary with out-of-the-box
Next.js support, so we should remove this from the dependencies.
I've also updated the readme to better explain how to enable TypeScript
with the new out-of-the-box flow.

@timneutkens Alright, I've fixed the guides as well. 👍


Please put this on hackage :)

It seems the link is broken: https://hackage.haskell.org/package/typed-websockets Can you publish this on Hackage?

Haven't made a release yet, we probably should since it works well :)


Constraints not displaying in Scenario Editor

Numerical constraints on dates are not appearing at all in the scenario editor when they do appear as numbers in the test editor.

There was a problem in how the scenario editor was detecting the presence of variables in constraints that prevented it from "seeing" variables at the start of the string. Resolving that in v1.6.12-alpha.


Why is a new instance of our class inheriting LabelStudioMLBase created on every predict ?

when trying to label all tasks this causes an out of memory exception, as for each task it seems to create a new instance

Hi @ozayr
Do you use active learning?

Hi @KonstantinKorotaev,
Only labelling

Could you please check you Webhook settings?
If you have enabled webhook it can lead to generating new models.

Could you please add ML backend logs?


Port tests in timestamp.rs to sqllogictest

Is your feature request related to a problem or challenge?
Part of https://github.com/apache/arrow-datafusion/issues/6195. We are trying to

keep the DataFusion code base clean and easy to contribute to and modify
Understand what features are covered and what are not

Part of doing so is having a single location for most test coverage so new tests can be added easily and people can follow the existing patterns easily
Describe the solution you'd like
Port the tests in https://github.com/apache/arrow-datafusion/blob/main/datafusion/core/tests/sql/timestamp.rs to
timestamp.slt in https://github.com/apache/arrow-datafusion/tree/main/datafusion/sqllogictest/test_files
Note you can create catalogs and schema via SQL now
Catalogs: https://arrow.apache.org/datafusion/user-guide/sql/ddl.html#create-database
Schema: https://arrow.apache.org/datafusion/user-guide/sql/ddl.html#create-schema
Notes:

Instructions for running sqllogitest are here: https://github.com/apache/arrow-datafusion/tree/main/datafusion/sqllogictest

Describe alternatives you've considered
No response
Additional context
I think these are good first issues as they teach the contributor about the DataFusion codebase and tests, as well as see the end user apis in practice.

Thank you @caicancai

@alamb Hello, all tests are added to https://github.com/apache/arrow-datafusion/tree/main/datafusion/sqllogictest/test_files？

The number of tests seems to be quite large

@alamb Hello, all tests are added to https://github.com/apache/arrow-datafusion/tree/main/datafusion/sqllogictest/test_files ?

Yes perhaps in timestamp.slt or something similar
I think part of the reason there are many old tests is that the tests predate  arrow_cast so the setup of the data took quite a lot more code. Using arrow_cast(col, Timestamp(Nanosecond, None)) type calls should reduce the code significatnly

The number of tests seems to be quite large

Indeed -- perhaps you could pick one or two tests to port over initially rather than trying to it all in a single PR. That would let us provide incremental feedback along the way as well and make reviewing the PRs easier as well

Thanks @caicancai

@alamb Hello, all tests are added to https://github.com/apache/arrow-datafusion/tree/main/datafusion/sqllogictest/test_files ?

Yes perhaps in timestamp.slt or something similar
I think part of the reason there are many old tests is that the tests predate arrow_cast so the setup of the data took quite a lot more code. Using arrow_cast(col, Timestamp(Nanosecond, None)) type calls should reduce the code significatnly

The number of tests seems to be quite large

Indeed -- perhaps you could pick one or two tests to port over initially rather than trying to it all in a single PR. That would let us provide incremental feedback along the way as well and make reviewing the PRs easier as well

Thanks for the reply, I will try it

Thanks for the reply, I will try it

Thank you very much @caicancai  ❤

Thanks for the reply, I will try it

Thank you very much @caicancai ❤

I prefer to understand the code before developing it, so this takes a certain amount of time. This is a good project.

I prefer to understand the code before developing it, so this takes a certain amount of time.

Indeed -- I think this is a mark of a good software engineer

Sorry, I didn't start this part of the work some time ago because I was busy with other things.  I want to know how I test the results locally, cargo test timestamps.slt?

@alamb Hello, excuse me, please allow me to ask a stupid question. I want to know how I test the results locally, cargo test timestamps.slt?

Hi @caicancai  -- no worry at all!
To run sqllogictests tests locally, you need to run a command like
cargo test --test sqllogictests -- timestamps.slt

There is more information on how to run the tests is here:  https://github.com/apache/arrow-datafusion/tree/main/datafusion/sqllogictest#running-tests-tldr-examples

cargo test timestamps.slt doesn't show the correct result to me if the result is an error result I am a rust beginner I am a beginner in rust, and I am not very clear about some operations in rust engineering. Sorry.

No problem at all -- welcome to the community! The datafusion sqllogictest testing framework is not a standard rust test, which makes the bar higher


Hovering Advanced Tank Crash

I am playing Nameless 1.10 pack.
I have a advanced tank full of Liquid Coralium(AbyssalCraft). When i hovering the item game crashes. (Crash file name is crash-2017-03-07_21.31.49-client)
Crash Log: http://pastebin.com/ukcbsKXp

This crash always happening when i set item mode control to "<" key. After resetted this control this crash never happened.

Fixed, thanks


--no-self-encrypt is not doing what I would expect

Hi there,
Maybe I'm missing something but I have the feeling that the --no-self-encrypt flag is doing nothing:
┌─[john]
└─▪ keybase encrypt --no-self-encrypt -i fixtures/hello.txt -o /tmp/hello.txt.enc chris
┌─[john]
└─▪ keybase decrypt -i /tmp/hello.txt.enc
Message authored by johnraz
Hey! Hello!!
┌─[john]
└─▪ keybase encrypt -i fixtures/hello.txt -o /tmp/hello.txt.enc chris
┌─[john]
└─▪ keybase decrypt -i /tmp/hello.txt.enc
Message authored by johnraz
Hey! Hello!!

I'm going to give the code a look but figured I would still post that here too.

Hi! Thanks for reporting this... I can reproduce it, and it is not the expected behavior.
The bug was probably introduced in the latest version, we are in a transition phase with respect to which keys are used to encrypt saltpack messages.
Will put in a fix for the next release.

Fixed! Thanks again for letting us know!

Splendid!


Flush in FileDestination

Fixes #163.

Thanks @itamarst
This seems fine.
I spotted a typo and made a comment about possibly testing using a real file object rather than patching a BytesIO.
Merge when you've addressed or answered those and when you're happy with the build results.


I need "keyboardVerticalOffset" prop

I need "keyboardVerticalOffset" prop
I need to set keyboardVerticalOffset={-34} When iPhone X keyboard pop up.

👋 @maxrisk , there are no plans to expose this props for now, mind submitting a PR for it?


feat(mgmt-ui): Add per-object overrides to mgmt UI

Tested locally

will play around with it
for the UI: can you nest/indent or add a different colored background to the parent element around all of the "object overrides" elements?


Jenkins integration

Preliminary Jenkins Integration for this multibranch
Right now Jenkins won't build this, so we'll need to check this in, then follow-up with changes to make things work.

I didn't realize I was in the original repo when I made the above changes.  Closing this out.


chore: barretenberg in the monorepo (WIP, do not merge)

Description
This has a good deal of buy-in at this point. If we want outward facing
repos, we can do it programmatically without breaking atomicity.
Our ideal mindset until closer to launch is to have everyone thinking
what brings the most value incrementing the system,
which implicitly means moves that cross the most dimensions
inherently go farther. A real and frequent example is changing a concept
on our whole stack at once, e.g a new builtin, different proving system
iteration having a different ideal interface etc.
Currently getting feedback.
Checklist:

[Sorry, no] I have reviewed my diff in github, line by line.
[+] Every change is related to the PR description.
[-] I have linked this pull request to the issue(s) that it resolves.
[+] There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
[+] The branch has been merged or rebased against the head of its merge target.
[Not yet!] I'm happy for the PR to be merged at the reviewer's next convenience.

If you're tagged for review, it's for the concept for now. This isn't done.

Definitely, even in favour of programmatic mirroring so that the moment we make that decision, the repo is just there.

@dbanks12 @spalladino @charlielye @codygunton This is now a viable base that I think can be merged. I have some followup fixes but given that I want every commit to go into master here, I don't want to add too much more to this one

Can you explain how  you made this PR? If you just delete the submodule definition, I guess all of Bb shows up as new files. but then there's no history for those files, right? But we see the full history. What was the workflow?

We will have full history now, this I checked. This is the process
set -xue
# Clone both repositories
git clone https://github.com/AztecProtocol/barretenberg.git
git clone https://github.com/AztecProtocol/aztec-packages.git

# Enter barretenberg repository and filter it
cd barretenberg
git filter-repo --to-subdirectory-filter barretenberg
git filter-repo --message-callback """
  import re

  def replace_hash_with_url(text):
       url_format = 'https://github.com/AztecProtocol/barretenberg/issues/{}'
       # the regular expression pattern r'#(\d+)' matches a '#' followed by one or more digits (\d+)
       return re.sub(r'#(\d+)', lambda match: url_format.format(match.group(1)), text)
  message = message.decode('utf-8') # Decode from bytes to string
  message = message.replace('(#', '(https://github.com/AztecProtocol/barretenberg/pull/')
  message = message.replace('Merge pull request #', 'Merge pull request https://github.com/AztecProtocol/barretenberg/pull/')
  return replace_hash_with_url(message).encode('utf-8') # Encode back into bytes
"""

# Enter aztec-packages repository
cd ../aztec-packages

# Create a new branch for the combined history
git checkout -b combined_history

# Add barretenberg as a remote and fetch it
git remote add barretenberg ../barretenberg
git fetch barretenberg

# Merge the histories, preserving the directory structure
git merge --no-commit --allow-unrelated-histories barretenberg/master

# Commit the changes
git commit -m "chore: barretenberg in the monorepo" -m "See #1126 for motivation."

I tried out continuing work on my branch cg/simulate-spike in the new monorepo. Workflow: clone fresh, open barretenberg.code-workspace in the embedded copy of Bb, check out my branch. Result: VS code restarts; no more files the embedded barretenberg folder. What's the intended workflow to continue existing work?

As I mentioned privately,

you need to try ad/bb-monorepo/github-action to try this out as that PR adds .gitrepo info
open workspace as you did
./scripts/git_subrepo.sh pull circuits/cpp/barretenberg --branch=cg/simulate-spike
there's a merge conflict with instructions how to fix (avoidable if you first pull master in your bb branch?)

OK, looks like a reasonable workflow after your followup. I checked out cg/example and see that we lose the PR branch history, but I think that's acceptable, especially if you accept the temporary role of git tech support for a week or so :sweat_smile:


Include threshold for significant trend to auto generated title or legend

Enhancement. Trend map allows user to update thresholds for significance (i.e., change p values), but this information is not displayed on the figure. If in legend then maybe something like "Significant Decrease (p<0.05)", Possible Decrease (0.05<p<0.25) where 0.05 and 0.25 are tied to what is entered in the screen.

Consider available space when making edit
dialogue box
Threshold (p-value) for 'possible' trend:
Threshold (p-value) for 'significant' trend:
Type of trend
Significant Decrease (p<x.xx)
Possible Decrease (x.xx<p<x.xx)

Adding text as a caption (ggplot2::labs(caption = "foo")).
Not enough space to add to the legend.

any thoughts on including in autogenerated title?

Same text in title and caption.
Caption is always shown.  Title is only when user selects it.

Tested. Both options are good with me. Leave both in and let client pick.


feat: add react-native example

This cleans up the build for react-native
Updates the Readme.md with instructions on how to run the RN example.

Could you move the minichart code out of this PR? easier to review them as two seperate ones, also for tracking later


minor dev security audit warning

in devDependencies, which should not affect any users
due to prettierx subdependency of prettier-standard in devDependencies
In short, I need to update prettierx to resolve this warning.

prettier-standard is now updated, and yarn audit shows zero warnings at this point


prevent sending partial multi-frame transfers

check that we have sufficient blocks available in the allocator before we start a multi-frame transfer to ensure we don't send a corrupt message by sending a subset of the frames. This can prevent a bus overload condition where the sender retries on a failed transfer, but the failed transfer consumes bus traffic and reduces the number of blocks available for the next transfer

Slight modification is probably required for CANFD to be taken into account I think

frame_max_data_len is a local which is 64 on CANFD, 8 on bCAN, so I think this properly handles CANFD already


Merge code from detours 3.0 build 343

Detours 4.0.1 looks like it's Detours 3.0 build_339 changed its name by comparing the code and looking at git commit logs, so the code in follow version need to be merged.

@bgianfo, I have rebased to only include this commit.


GazeSelection can be more efficient when using SphereCast

The SphereCast is currently using GazeDistance as the radius for the sphere to cast. This defaults to a sphere that has a 30m radius.
Fix: Calculate the sphere's size at GazeDistance based on GazeSpreadDegrees and cast that instead.

Closed by pull request #15


Consolidate FakeService

Summary
Closes #606.
Details and comments
Still in progress.

Please don't merge yet. I want to address @gadial's comments first.

Merging now (review comments have been fully addressed)


Handle NON falsy values

Might need it for others, not sure. booleans behave strange with inputs.

no need to be so complicated

I had false from inputs, and it still ran it.

Is that gonna be a dry run or not a dry run?


how to add gaussian noise?

That is a great work! Now I want to study the robustness to noise of the model. I need to add some Gaussian noise to the ground truth of the 2D joint points on Human3.6M. How should I do this? THANK YOU！！！

It might be appropriate to add code in this function in motion_dataset.py？

Thanks @SJM0018
MotionBERT (That we used their code and modified it) already have done it. You can check it from their repository here


Make the /spotify/current information more accurate

After some time not listening to Spotify, your current track isn't returned anymore (around 15 mins). This is intentional, but the Spotify API has an endpoint for that.
With this, the image quality may be improved:

I think this could be worked on together with #1.

Done.


Minimize duplicate tsconfig contents for build and test

Since both tsconfig.json files only differ in include and compilerOptions, would it be advisable for tsconfig.eslint.json to just extends from tsconfig.json? Any pitfalls as to why this was not considered?

You can opt-in to just tsconfig. The reason for separation was because of tsconfig.eslint.json targets the entire directory while tsconfig only targets the src directory.


A suggestion for f/t

In the case of using the default configuration, when using f to find characters,
For example, if you look for the character a, you will be in wait mode for 1 second and highlight all the a's after the first a found in this 1 second, during this 1 second, the cursor is at the bottom of the screen and not on top of the first a found, which will give a sense the delay when you use it. So I avoid this by letting exit_after_idle_msecs.unlabeled = 0, but at this point all the a after the first a found will not be highlighted, is it possible to set the two functions to wait for input to be highlighted separately?
I also think the highlighting is not simply highlighted, but displayed as a number is not more intuitive, so that after the cursor jumps to the first a, if you want to jump to the back of the other a, you only need to enter the number plus a semicolon can be
Translated with www.DeepL.com/Translator (free version)

Reference in new issue

When exit_after_idle_msecs.unlabeled = nil is set, the plugin will never exit. What I mean is that after I type f<char>, I want the cursor to be displayed immediately above the first , not above the cmdline at the bottom of the screen, which I can achieve by exit_after_idle_msecs.unlabeled = 0, but then the char after the first <char> will not are highlighted, I want them to be highlighted

I want the cursor to be displayed immediately above the first char

A cursor should be displayed above the first char. (If you don't see it, then check #17. See also https://github.com/ggandor/lightspeed.nvim#notes.)

...not above the cmdline at the bottom of the screen

This is a technical limitation. We should wait for the next input with vim.fn.getchar, and that will move the cursor to the command line, we cannot avoid that.


Add R.xor (Exclusive OR)

Exclusive OR, or exclusive disjunction is a logical operation that returns true if only one the arguments is true and the other is false.
It can be easily implemented with other logical operations like and, or and not, but I guess it would be nice to have it in Ramda to improve the code readability.
Since it's my first pull request here, please let me know if I'm missing something.
Kind regards

Welcome!
This looks fine to me.  I think it makes sense so long as we have and and or to also have xor.  But you should know that there is a real argument for removing many such functions after 1.0, as they are trivial to implement with lambdas and arrow functions.
What do others think, @ramda/core?
There is one addition I would suggest: the See Also docs for or and and should be updated to point to this.

@davidchambers

It's too complex given Ramda's loose semantics.

By that logic, which Ramda functions should we keep?  :wink:

I'm happy with this as it is.  Any other suggestions, comments?

If we are going to convert the output to a Boolean, should we add a test for that, or should we leave it as undefined behavior subject to change in the future?

@Bradcomp: I see no reason to call it out in a test.  That's the signature.
But if you think it's a good idea, I certainly don't object.  We could use the example from @davidchambers to show that it always returns a Boolean.

Yes, you're right.  My answer was over-hasty.
@rferromoreno: Could you add a few tests that demonstrate this.  We can leave property-based testing for later.

As I see it, we could either restrict the domain to bool -> bool, in which case the tests are fine and we can get by with the old implementation

I'll throw a vote for that :smile:
If we give xor the type Any -> Any -> Any then what's holding us back from replacing every Boolean in every type declaration with Any?

Hi all,
Sorry for the delay. I added some more tests for checking the signature.
If you think that more tests are needed, please let me know.
Thanks!

I'm happy with this.  @Bradcomp?  Anyone else?


[9.x] Make the foreign id column type changeable

If you are not using convention just call a specific migration column type explicitly.

@taylorotwell But I want to call foreignId method for column type with INT not BIGINT like old way


Issue with the output

**Jon
Isssue with the code generate by the AI engine. There is hard coding, it is one of the bad practise in programming and should be discouraged by any religion, programmer or automated tools....
Here is an example of the code generated by Python AI engine.
This is first warning to avoid this type of output that the program is generating, going forward.
Please take care of this in future**

import matplotlib.pyplot as plt
Parcel attributes
length = 10
breadth = 5
depth = 3
weight = 2
Plotting the parcel at City X
plt.text(0, 0, 'City X\nParcel\nL:{} B:{} D:{} W:{}'.format(length, breadth, depth, weight), fontsize=12, ha='center')
plt.plot(0, 0, marker='s', markersize=20, label='City X')
Plotting the movement to City Y
plt.text(10, 0, 'City Y\nParcel\nL:{} B:{} D:{} W:{}'.format(length, breadth, depth, weight), fontsize=12, ha='center')
plt.plot(10, 0, marker='s', markersize=20, label='City Y')
plt.legend()
plt.axis('off')
plt.show()

Hello @sabina1122 ,
Thank you for reporting, but we do not control what the AI generates. We can surely give some hints about what to create, but they must be global enough. Many examples require a few hard coding steps to make them simpler.
Surely, it should not be found in your program, but you can ask for it when creating your prompt.
Best Regards,
Jon


[BUG] Export as PDF webapp dates showing weird symbols

Describe the bug
When trying to export resume as PDF using the IBM Plex Sans font (I tried a couple of mono fonts) the dates are showing up as strange symbols.
Product Flavor

[x] Managed (https://rxresu.me)
[ ] Self Hosted

To Reproduce

Add work experience
Add whatever start date
Leave the end date blank
Add
Set the font to "IBM Plex Sans"
Export as PDF

Expected behavior

I expected - (Month, Day, Year - Present).
Screenshots

Desktop (please complete the following information):

OS: Windows 11 Pro
Browser Firefox Nightly 64-bit / Chrome 64-bit
Version 105.0a1 / 103.0.5060.134

Additional context
N/A

What language do you have selected?

English

When i swapped from a random language and back to english, the PDF export looked good. So I was able to workaround. It only affected the (start - end dates). I tried to recreate but was unable to.

There must have been a mismatch in the language on your local copy and the one on the database. I was just going to suggest change the language to something else and change it back to your own and it would be synced. Glad it worked out :)