tool local-ingest misclassifies FDs as directories

quickwith 0.8.0.
quickwit tool local-ingest --index benaco_server_logs --input-path <(echo '{"message": "abc1234"}')

errors with:
 ✖ _ingest-cli-source
storage error(kind=NotFound, source=file `11` is actually a directory)

But this error is wrong. It's not "actually a directory". Process substitution creates a file descriptor pointing to a pipe, e.g.
# ls -l <(echo '{"message": "abc1234"}')
lr-x------ 1 root root 64 Apr  3 21:54 /proc/self/fd/11 -> 'pipe:[304371985]'

so it's certainly not a directory.
Most likely the error should be that that pipe is not seekable, because ingestion likely uses seeking because it stores an offset in the metadata, for resumption.
The syscall made, as shown by strace -fy, is:
statx(AT_FDCWD</root/tmp/quickwit-test-position>, "/proc/self/fd/11", AT_STATX_SYNC_AS_STAT, STATX_ALL, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFIFO|0600, stx_size=0, ...}) = 0

I suspect that some wrong code does something like
if is_regular_file:
   ...
else:
  error("is actually a directory")

so the second branch triggers on stx_mode=S_IFIFO. If that is the case, the error should say instead that its "not a regular file".

Hello @nh2,
Would you be interested in contributing the fixes you suggested to your recently opened issues? Unfortunately, I don't think we have the bandwidth to fix them right now :/

@guilload Looks like I guessed right, PR: #4835


[BUG] OpenSearch should clean up temporary files created during segment merge incase segment merge fails

Describe the bug
Currently, during segment merge (both during auto merge and force merge), OpenSearch creates multiple temporary files while merging individual segment components. Once individual components of the segments are merged, IndexWriter creates a Compound file (*.cfs) containing all the Lucene components for a segment. At the end, OpenSearch deletes these temporary files.
Now, in case these temporary files consume all the space on the node (because enough amount of space is unavailable for segment merge to go through), segment merge will fail. Also, the files which got created during segment merge do not get cleaned up and it continues to occupy space on the node. This can cause FSHealthService checks to fail for this node, ultimately causing these nodes to be removed from cluster.
Expected behavior
In case Force segment merge fails, OpenSearch should remove the temporary files created during segment merge.

Hi @RS146BIJAY, this Seems to be an important bug, are you actively working on it?

@RS146BIJAY Any plan to fix again?

Yeah. We are analysing where this fix should go in. We started observing few race condtion scenario with above change therefore had to revert the change. Will send the fix for this issue in few weeks time.

Created a github issue in Lucene as this issue seems to be introduced in this Lucene commit.

Created a RFC document listing possible approaches to gain feedback: https://github.com/opensearch-project/OpenSearch/issues/8024


Identity Service Release

PR's to be merged before release:
APPROVED
Backend:
https://github.com/Real-Dev-Squad/website-backend/pull/526
My-Site:
https://github.com/Real-Dev-Squad/website-my/pull/224
Dashboard Site:
https://github.com/Real-Dev-Squad/website-dashboard/pull/142
Pending for Re-review:
Backend:
https://github.com/Real-Dev-Squad/website-backend/pull/525
https://github.com/Real-Dev-Squad/website-backend/pull/554
Pending for Review:
Backend:
https://github.com/Real-Dev-Squad/website-backend/pull/555
https://github.com/Real-Dev-Squad/website-backend/pull/547

[x] Necessary Firestore Indexes
https://github.com/Real-Dev-Squad/identity-service/issues/64

[x] Put the Firestore Credentials in Package Manager SSM with the name firestoreCred.

[x] Give the roles, we are using in Lambda function, SSM access.

[x] Set the environment variable named IDENTITY_SERVICE_URL in Heroku to the identity service URL.

All steps are completed. Thank you for creating this ticket!


Fixed NPE

Class loaders can be null.
In my case context class loader was null.

@fkorotkov wow, that is crazy! Now I need to check a bunch of other places where I relied on the presence of Thread.currentThread().getContextClassLoader() :D
Thanks for pinpointing the issue and contributing a fix! 💯


Allow 'Keep Open' to work when selecting Trains/Stations

When selecting Trains or Stations from the LTN Manager GUI, it closes the GUI and doesn't re-open after closing the train GUI or for Stations exiting Map mode.
Is it possible to automatically re-open the GUI after closing those actions?

If you have keep-open enabled (the pin icon next to the refresh button) the GUI will stay open. If you don't it will close.
There are many ways the map could be closed again, which means many edge cases. I don't have plans to change the behavior.


Edited files to include mmlu-pro

The code changes are correct, but the pull request is misnamed (this is the pull request for adding Pythia 70M).


Game.h: move common Game pointers/structs to single header

Moved some of the more common pointers & game-related structs to a Game.h header, and made them accessible through getter-only GlobalPtr() PlayerPtr() etc funcs.
Also added structs like GLOBALS etc from my IDB here, so we can access the fields normally instead of needing to use ugly pointer offsets, these structs are really barebones atm, but lets us get rid of most of those pointer accesses at least.
(just hope those structs all match between different game versions, seems like most things get stored at the same offset at least, so don't think they'd differ too much)
If you think anything else should be moved there too let me know, wasn't really sure how much to put in there.

Very nice. Can't think of anything else to include there ATM, but I'll do so if something comes to mind later.
Thank you!


PHP errors

Hi,
I'm getting the following php errors when trying to run this:

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Notice: Undefined index: default in /var/TwitchAutomator-master/src/TwitchConfig.php on line 171

Warning: copy(/var/TwitchAutomator-master/src/../config/config.json): failed to open stream: No such file or directory in /var/TwitchAutomator-master/src/TwitchConfig.php on line 155

Warning: file_put_contents(/var/TwitchAutomator-master/src/../config/config.json): failed to open stream: No such file or directory in /var/TwitchAutomator-master/src/TwitchConfig.php on line 157

Warning: file_get_contents(/var/TwitchAutomator-master/src/../config/config.json): failed to open stream: No such file or directory in /var/TwitchAutomator-master/src/TwitchConfig.php on line 120

Fatal error: Uncaught TypeError: json_decode() expects parameter 1 to be string, bool given in /var/TwitchAutomator-master/src/TwitchConfig.php:120 Stack trace: #0 /var/TwitchAutomator-master/src/TwitchConfig.php(120): json_decode() #1 /var/TwitchAutomator-master/src/TwitchConfig.php(208): App\TwitchConfig::loadConfig() #2 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(444): include('/var/TwitchAuto...') #3 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #4 [internal function]: Composer\Autoload\ClassLoader->loadClass() #5 /var/TwitchAutomator-master/src/TwitchHelper.php(867): spl_autoload_call() #6 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(444): include('/var/TwitchAuto...') #7 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #8 [internal function]: Composer\Autoload\ClassLoader->loadClass() #9 /var/TwitchAutomator-master/public/index.php(30): spl_autoload_call() #10 {main} thrown in /var/TwitchAutomator-master/src/TwitchConfig.php on line 120

Any help would be appreciated, thanks.

a bit weird, it should be able to write the config, permissions issue?

I already changed the ownership and permissions of /var/TwitchAutomator-master/
sudo chown -R www-data:www-data /var/TwitchAutomator-master/
sudo chmod -R 755 /var/TwitchAutomator-master/

I also tried to set the permsissions to 777, same result.

did you update? i removed my config and it generated it again

I just installed everything from scratch, now I'm getting:
Warning: file_put_contents(/var/TwitchAutomator-master/src/../config/config.json): failed to open stream: No such file or directory in /var/TwitchAutomator-master/src/TwitchConfig.php on line 165

Fatal error: Uncaught Exception: Could not generate config, please check your permissions in /var/TwitchAutomator-master/src/TwitchConfig.php:122 Stack trace: #0 /var/TwitchAutomator-master/src/TwitchConfig.php(216): App\TwitchConfig::loadConfig() #1 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(444): include('/var/TwitchAuto...') #2 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #3 [internal function]: Composer\Autoload\ClassLoader->loadClass() #4 /var/TwitchAutomator-master/src/TwitchHelper.php(867): spl_autoload_call() #5 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(444): include('/var/TwitchAuto...') #6 /var/TwitchAutomator-master/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #7 [internal function]: Composer\Autoload\ClassLoader->loadClass() #8 /var/TwitchAutomator-master/public/index.php(29): spl_autoload_call() #9 {main} thrown in /var/TwitchAutomator-master/src/TwitchConfig.php on line 122

does the config directory actually exist?

no, config directory does not exist

yeah i must have gitted it out recently, it should create it now, and it's included with gitkeep

OK I created the config directory manually, now I'm getting
Hello, World! Visit /dashboard to continue.
Slim 4 doesn't seem to support relative redirects.

yes, it should work from then on

there is no dashboard directory

all url requests are handled via a router, your webserver should be pointing to the /public directory as the root, and depending on which one you use, it might need to redirect all queries to index.php

https://www.slimframework.com/docs/v4/start/web-servers.html

Got it working now, thank you.
But I ran into some new issues and questions:
Under /about it does not show Streamlink and youtube-dl I installed through pip. It does however show both when I install them through apt install and entering /usr/bin as python binary directory. But then they seem to be outdated (Streamlink 1.0.0 and youtube-dl 2019.01.17).
The dashboard says that I only have 1.61GB free space which is not true.
Does the script only record when a streamer goes live and not after they got added while they are live already?
When I click on force record, after a while I'm getting PHP error

Fatal error: Uncaught Exception: Too many tries in /var/TwitchAutomator-master/src/TwitchAutomator.php:353 Stack trace: #0 /var/TwitchAutomator-master/src/TwitchAutomator.php(171): App\TwitchAutomator->download() #1 /var/TwitchAutomator-master/src/Routes/routes.php(89): App\TwitchAutomator->handle() #2 /var/TwitchAutomator-master/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(43): Closure->{closure}() #3 /var/TwitchAutomator-master/vendor/slim/slim/Slim/Routing/Route.php(381): Slim\Handlers\Strategies\RequestResponse->__invoke() #4 /var/TwitchAutomator-master/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\Routing\Route->handle() #5 /var/TwitchAutomator-master/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Slim\MiddlewareDispatcher->handle() #6 /var/TwitchAutomator-master/vendor/slim/slim/Slim/Routing/Route.php(341): Slim\MiddlewareDispatcher->handle() #7 /var/TwitchAutomator-master/vendor/slim/slim/Slim/Routing/RouteRunner.php(84): Slim\Routing\Route->run() #8 /var/TwitchAutomator-master/vend in /var/TwitchAutomator-master/src/TwitchAutomator.php on line 353

and this shows up in the log:

2020-11-19 14:35:54.560  Create VOD JSON: Bonjwa_2020-11-19T10_30_17Z_40045569884.json
2020-11-19 14:35:54.571  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 with no chapters!!
2020-11-19 14:35:54.582  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 (create json)
2020-11-19 14:35:54.593  JSON has been changed since loading of Bonjwa_2020-11-19T10_30_17Z_40045569884
2020-11-19 14:35:54.658  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 with no chapters!!
2020-11-19 14:35:54.666  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 (stream download)
2020-11-19 14:35:54.674  Refreshing JSON on Bonjwa_2020-11-19T10_30_17Z_40045569884!
2020-11-19 14:35:54.681  No chapters on Bonjwa_2020-11-19T10_30_17Z_40045569884!
2020-11-19 14:35:54.692  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 with no chapters!!
2020-11-19 14:35:54.700  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 (is_capturing set)
2020-11-19 14:35:54.708  Update game for Bonjwa_2020-11-19T10_30_17Z_40045569884
2020-11-19 14:35:54.715  Refreshing JSON on Bonjwa_2020-11-19T10_30_17Z_40045569884!
2020-11-19 14:35:54.727  No chapters on Bonjwa_2020-11-19T10_30_17Z_40045569884!
2020-11-19 14:35:54.734  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 (game update)
2020-11-19 14:35:54.741  Game updated on Bonjwa to Minecraft (Mohin genau. Honor hier. Ab 16 Uhr They Are Billions !Lava)
2020-11-19 14:35:54.747  Refreshing JSON on Bonjwa_2020-11-19T10_30_17Z_40045569884!
2020-11-19 14:35:54.759  Saving JSON of Bonjwa_2020-11-19T10_30_17Z_40045569884 (dt_capture_started set)
2020-11-19 14:35:54.766  Starting capture with filename Bonjwa_2020-11-19T10_30_17Z_40045569884.ts
2020-11-19 14:36:52.485  Finished capture with filename Bonjwa_2020-11-19T10_30_17Z_40045569884.ts
2020-11-19 14:36:52.496  410 error for Bonjwa_2020-11-19T10_30_17Z_40045569884
2020-11-19 14:36:58.767  File Bonjwa_2020-11-19T10_30_17Z_40045569884.ts never got created.
2020-11-19 14:36:58.779  Panic handler for Bonjwa_2020-11-19T10_30_17Z_40045569884, no captured file!
2020-11-19 14:36:58.790  No such config variable 'download_retries'.
2020-11-19 14:36:58.801  Giving up on downloading, too many tries for Bonjwa_2020-11-19T10_30_17Z_40045569884

Could this be due to outdated Streamlink version?

Does pip install them into /usr/bin?
The /var/ partition might be just that small, depends on your setup.
It's very possible that it breaks with that old software, yes.
It only records when they go live, not when you add them.
Force record should work, as long as the utilities work.

The logs/software/ folder contains logs for the utilities, you can check those too, but I'd recommend trying to update streamlink and such first.

pip installs them to ~/.local/lib/python3.7/site-packages/
But when I enter that path they do not show up under /about

Those are probably the python source files. What happens if you run whereis streamlink or whereis youtube-dl

streamlink: /usr/bin/streamlink /usr/share/streamlink /home/pi/.local/bin/streamlink /usr/share/man/man1/streamlink.1.gz
youtube-dl: /usr/bin/youtube-dl /home/pi/.local/bin/youtube-dl /usr/share/man/man1/youtube-dl.1.gz

you should probably set it to ~/.local/bin/ then if you're running the webserver on the pi user

the webserver is run by the user www-data.
I installed the packages now through sudo pip instead of pip, entering /usr/local/bin as Python binary directory and now recording seems to work fine. Thank you for your efforts!
"Free space" in /dasboard still bothers me a bit though. I'm running Raspbian that only has two partitions and on the main partition there are about 60GB of free space.

It will fill up the ~2gb of space then. You'll need to expand the /var/ partition or place the app directory somewhere else where it has more space, and point your webserver to it. I guess you could mount a drive or something to the vods folder too

Maybe I'm overlooking something but /var/ does not seem to be on a separate partition
Disk /dev/mmcblk0: 59.5 GiB,<PHONE_NUMBER>6 bytes, 124735488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x80bca99e

Device         Boot  Start       End   Sectors  Size Id Type
/dev/mmcblk0p1        8192    532479    524288  256M  c W95 FAT32 (LBA)
/dev/mmcblk0p2<PHONE_NUMBER>35487 124203008 59.2G 83 Linux

pi@raspberrypi:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        59G  2.5G   54G   5% /
devtmpfs        430M     0  430M   0% /dev
tmpfs           463M     0  463M   0% /dev/shm
tmpfs           463M  6.5M  456M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           463M     0  463M   0% /sys/fs/cgroup
/dev/mmcblk0p1  253M   54M  199M  22% /boot
tmpfs            93M     0   93M   0% /run/user/1000

that's very strange then, maybe some limit for www-data?

I'm running this on a VPS now and free space is displayed correctly.
Automatic recording when a streamer goes live does not work for me, only force record works so far.
Visting /sub seems to work fine, but when visiting /subs I'm getting array(3) { ["total"]=> int(0) ["data"]=> array(0) { } ["pagination"]=> array(0) { } }
Chat dumping also does not work for me. When activated, I'm getting <ERROR> TTY not supported in the log.

It doesn't seem to sub properly then, is the app_url set properly, and can /hook be accessed?
TTY not supported is fine. That feature seems pretty broken anyway, php seems to mess with multithreading.

I'm using the calculated app URL from the settings page which is the same as my server's IP.
When visiting /hook I'm getting "No data supplied"

i just pushed a new update, apply it and run sub again, then check the app logs

<INFO> Calling subscribe for streamerName
<INFO> Sub response code: 202
<INFO> Sent subscribe request for streamerName (ID)

No <INFO> Received hub challenge for userid ID ? Seems like either the app_url is wrong or twitch somehow can't access your server

I added a sanity check for the app_url variable. You could try setting it again, but i'm not sure if that's the issue here.

OK seems it was my fault, I had added basic auth in /public via .htaccess
When I disable it, I'm getting the hub challenge in the log and automatic recording works.

alright! you can set basic auth via the password field in settings


AE49_180825_122738.226

Add MIT (https://github.com/System-IO-Abstractions/System.IO.Abstractions/blob/master/LICENSE)

The license file stated MS-PL when this NuGet package version was published. If it states MIT somewhere else, please point me to it so I can take a look.

The license link is broken on the NuGet page and the project site is under MIT which we discussed is not applicable after I submitted this entry. It can be declined.


Added tsc command for Windows machines

Added an npm command tsc-win for contributors using Windows machines to use.

@joshcomley thanks


Remove Judgment class from EUI

The functionality of this class is now moved to the API library, which means that EUI should be using that instead (so we have fewer places to maintain the functionality).

Codecov Report

Merging #877 (d179e33) into main (6536a01) will decrease coverage by 1.37%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #877      +/-   ##
==========================================
- Coverage   89.30%   87.94%   -1.37%
==========================================
  Files          37       35       -2
  Lines        1674     1377     -297
  Branches       56       49       -7
==========================================
- Hits         1495     1211     -284
+ Misses        164      151      -13
  Partials       15       15

Impacted Files
Coverage Δ

judgments/templatetags/status_tag_css.py
100.00% <100.00%> (ø)

judgments/tests/factories.py
100.00% <100.00%> (ø)

judgments/tests/test_judgments.py
100.00% <100.00%> (ø)

judgments/tests/test_templatetags.py
100.00% <100.00%> (ø)

judgments/tests/test_unlock.py
100.00% <100.00%> (ø)

judgments/tests/tests.py
100.00% <100.00%> (ø)

judgments/views/full_text.py
76.56% <100.00%> (-0.37%)
:arrow_down:

judgments/views/judgment_edit.py
80.80% <100.00%> (-0.20%)
:arrow_down:

judgments/views/judgment_hold.py
100.00% <100.00%> (ø)

judgments/views/judgment_publish.py
100.00% <100.00%> (ø)

... and 1 more

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


Shitmed Update 2 - bottom text

About the PR

Honey wake up, another shitmed PR with 5 features and a trillion bugs! I love bloat. Port of https://github.com/Simple-Station/Einstein-Engines/pull/1271
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Changelog
:cl: Mocho

add: Added different step durations to each surgery step.
add: Added a T2 research for advanced surgical tools
add: Added a T3 research for an omnitool for surgery.
add: Added Surgical and Advanced Surgical modules for Mediborgs
add: Mediborgs can now perform surgery!
add: Added lobotomies as an operation.  DEATH TO TOPICALS, LEAVE THOSE TO TIDERS.
tweak: Beheading an entity now doesnt let it move, speak, and forces it to the ground immediately (literally 1984!!11!!)
tweak: Changed sprites on most surgical tools to now use /tg/ sprites.

Summary by CodeRabbit

New Features

Introduced targeting functions for left and right hands and feet, enhancing gameplay interactions.
Added new surgery options, including lobotomy and brain tissue repair procedures.
Implemented new cybernetic components and enhancements, expanding character customization.
New recipes for advanced medical tools and cybernetic enhancements added to crafting systems.
Enhanced body part management with new event subscriptions and refined logic for damage handling.

Bug Fixes

Improved error handling and validation for surgery conditions and body part interactions.

Documentation

Updated documentation for new features and components, including surgery steps and targeting mechanics.

heisentests it seems

Industrial felinid lobotomies

are changeling heads vestigial yet?

@gluesniffler you can no longer strip peoples shoes or gloves, cyber legs don't let you wear shoes, and cyber arms don't let you wear gloves.

rimworld parity, shoe and glove mods stop letting you wear gloves or shoes when you install 2 bionic legs/arms


Rasa X response doesn't get added to domain file properly

Rasa version: 2.2.7
Rasa X version (if used & relevant): 0.35.0
Python version: 3.7
Operating system (windows, osx, ...): Windows 10 (Docker)
Issue:
I am using the CE of Rasa X setup with a manual, slightly modified docker-compose file (volume mapping is slightly adjusted according to my needs, nginx lies on port 81 instead of 80).
If I open the Community Edition of Rasa X which is connected to a GitLab repository, and I want to add a new response, this actually works.

If I open the domain-section of Rasa X, however the newly added response is not shown.

If I inspect the request to the URL http://localhost/api/projects/default/domains actually the response is contained there.

If I train a new model, knowing that it might only be a visual bug, this works and the conversation goes as expected.
If I push the changes to the repository however, the response doesn't get pushed there which leads to problems during training, because the action/stories/rules exist - but the response doesnt.
The POST request from responses, when adding the new response, actually works and returns 201 with a proper response JSON.
Any ideas?

Hi guys,
fortunately I was able to figure out the problem - I had a nasty typo in my docker-compose file which didn't lead to a warning from docker but caused trouble with a rasax service.
After setting up everything properly, it works perfectly fine!
Kind regards
Julian


MeetKai Functionary GGUF models - chat template format unknown

LocalAI version:

quay.io/go-skynet/local-ai:master-cublas-cuda12-ffmpeg
Using the Jan 21,2024 build
Environment, CPU architecture, OS, and Version:

Docker Ubuntu, AMD, 4060 dual GPU
Describe the bug

not a bug, except cannot run the gguf model using standard chat templates
When use the standard chat and chat-block tmpls as shown here, this error results for a querry
anto@ubuntu-cyberpc:~/MyAI/Auto79_Localai/docker/models$ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
     "model": "functionary7bq8",
     "messages": [{"role": "user", "content": "How are you?"}],
     "temperature": 0.9
   }'
{"created":1705952676,"object":"chat.completion","id":"3b96e0cd-646d-4a40-b689-0b6f891fa638","model":"functionary7bq8","choices":[{"index":0,"finish_reason":"stop","message":{"role":"assistant","content":""}}],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0}}

The devs over at MeetKai say here that this model uses a jinja template in tokenizer_config.json:
https://huggingface.co/meetkai/functionary-medium-v2.2/blob/main/tokenizer_config.json#L69
and it would have to be converted to the format of LocalAI
any suggestions how to do this conversion? thanks

i just realized this is more of a discussion topic rather than an issue...will move it there. thanks!


Do not recalculate faces when video was not changed , it will save time

I noticed that when i swapped video and generated - it generated new output immediately sometimes, i think there are way to make this faster and prevent it from analyzing the same video over and over when it wasnt changed to new video.

Yeah that's something I want to do, separate the cropping / detection portion and make this more modular. Will need some time though.


[WIP] Make right hand toc scrollable.

See #173 .
This is a WIP (am editing on mobile so need to see it rendered by circleci. :smile:
Test at https://989-137292803-gh.circle-artifacts.com/0/html/intro.html - You'll have to make your window really short for this demo webpage.
Todo:

[X] Make right-hand TOC scrollable
[ ] Get rid of scroll-bar when full TOC is already displayed.

woot! thanks so much :-)
two quick thoughts:

We might be able to get the scroll-bar-overlap stuff fixed by changing the z-order of the "on this page" group
Could you add an example that has lots and lots of headings so that we can demo what this looks like on a page w/ tons of headings? (or link to an example that already has lots of headings)

Sure. I'm just trying to work out why my netlify deploy preview for the-turing-way-book isn't using this jupyter-book branch even though I am telling it to. That's the easiest example I think :)

hey @alexmorley - let us know if we can help out with this one!

If you could have a look at the next build a LMK what you think that'd be great.

For sure, good catch! I think I set it to scroll to debug something then forgot to change it back.

Giving this a merge so that this bug gets squashed and the Turing Way folks no longer have problems because of their really long pages :-)


python27Packages.ijson: 2.6.1 -> 3.0.3

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python2.7-ijson/versions.
meta.description for python27Packages.ijson is: "Iterative JSON parser with a standard Python iterator interface"
meta.homepage for python27Packages.ijson is: "https://github.com/ICRAR/ijson"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.0.3 with grep in /nix/store/ahzvwdm6w3sw1nyaxp24q0sjglqv4khh-python2.7-ijson-3.0.3

directory tree listing: https://gist.github.com/38f702fc2213cdc98dc4ab02bcddecac

du listing: https://gist.github.com/815cdecb4bdd043ec991fa7b00c8b18d

Rebuild report (if merged into master) (click to expand)

40 total rebuild path(s)

10 package rebuild(s)

10 x86_64-linux rebuild(s)
10 i686-linux rebuild(s)
10 x86_64-darwin rebuild(s)
10 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python27Packages.ijson
python27Packages.pysnow
python37Packages.ijson
python37Packages.pysnow
python37Packages.snowflake-connector-python
python37Packages.snowflake-sqlalchemy
python38Packages.ijson
python38Packages.pysnow
python38Packages.snowflake-connector-python
python38Packages.snowflake-sqlalchemy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ahzvwdm6w3sw1nyaxp24q0sjglqv4khh-python2.7-ijson-3.0.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python27Packages.ijson https://github.com/r-ryantm/nixpkgs/archive/a1c9b7fe2f2ea72f1a944804074a2f6e0d9d9216.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ahzvwdm6w3sw1nyaxp24q0sjglqv4khh-python2.7-ijson-3.0.3
ls -la /nix/store/ahzvwdm6w3sw1nyaxp24q0sjglqv4khh-python2.7-ijson-3.0.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

2 packages marked as broken and skipped:
- python27Packages.image-match
- python27Packages.imagecorruptions

7 packages failed to build:
- python27Packages.pysnow
- python37Packages.pysnow
- python37Packages.snowflake-connector-python
- python37Packages.snowflake-sqlalchemy
- python38Packages.pysnow
- python38Packages.snowflake-connector-python
- python38Packages.snowflake-sqlalchemy

3 packages built:
- python27Packages.ijson
- python37Packages.ijson
- python38Packages.ijson

Maintainer pings
cc @rvl for testing.

addressed by https://github.com/NixOS/nixpkgs/commit/7d8783339b6


Bug in create_package_def

When one wants to create a package definition from a component, an error is raised as no bounding box can be passed while it is required to create the package by default.

Closed by #563


created city model and router/ seeded city table for testing/ updated city table with new inputs

Pin Saving Trello Card
Location:
-cityModel.js
-cityRouter.js
-create-profile.js
-app.js
Details:

Created the model and routes for city information in order to make API calls. tested and all up and working.

Committed Features:
1 | Create Read Update and Delete abilities for cities
Note: auth is still removed for my ability to test locally without Okta token

Looks good! Thanks for updating the readme with the postman documentation, this definitely helps!


Theme changes to light when clicking 'Save' in the settings windows

Theme changes to light whenever you click on Save in the settings windows
To Reproduce
Steps to reproduce the behavior:

Go to Altair web or desktop.'
Click on 'Settings.'
Click 'Save'
The theme will switch to light

Expected behavior
The theme should stay untouched
Screenshots

Desktop (please complete the following information):

OS: Windows/Ubuntu
Browser: Chrome
Version: 4.1.0

Aditional Context
If you set "theme": dark and "theme of dark mode": dark the issue stops happening, but if you set "theme": light and leave the "theme for dark mode" option untouched it will not change to light mode, I don't know what the expected behaviour of this two options combined should be, but I would assume that "theme for dark mode" should only take effect if "theme" is set to dark

Thanks for reporting this! I'd look into it as soon as I can.


[ZEPPELIN-3539] Add jceks stored password support for LDAP

What is this PR for?
This is to add support for storing password in jceks for LDAP (realm).
If the hadoopSecurityCredentialPath path is present and not empty in the shiro.ini, then the password is read from the keystore file and it need not be stored inside the shiro.ini file.
What type of PR is it?
[Improvement | Feature]
Todos

[x] - Add documentation

What is the Jira issue?

ZEPPELIN-3539

How should this be tested?
Create a keystore file using the hadoop credential command line
hadoop credential create ldapRealm.systemPassword -provider jceks://file/user/zeppelin/conf/zeppelin.jceks

Change the following values in the Shiro.ini file, and uncomment the line:
ldapRealm.hadoopSecurityCredentialPath = jceks://file/user/zeppelin/conf/zeppelin.jceks

Questions:

Does the licenses files need update? N/A
Is there breaking changes for older versions? N/A
Does this needs documentation? N/A

LGTM


No space before style attribute

Hi! I put this code into my template:
{% fontawesome_icon 'user' color='gray' %}
Here's the output:
<i title="" class="fa fa-user"style="color:gray;">
As you can see there's no space between class and style attributes.
I'm using Django 1.9.6  for my project.
Anyway, thanks for the package, it really helpful.

fixed in latest master / pypi, thanks.


Add utility to extract and represent emoji ordering information.

This parses either a .csv file or emojiOrdering.txt file that contain
information about grouping and ordering of emoji in categories and
subcategories.  It defines a class that provides access to this
data.

ping

LGTM


fix inital alpha version of  ServiceTopology

fix inital alpha version of  ServiceTopology

Please add a short description of the gate as we do for others.

Thanks.
/lgtm
/approve


fix(ios): pod install --project-directory=ios fails

Summary
Running pod install from outside the ios folder fails because the
path to React-Codegen is wrong:
% pod install --project-directory=ios
[Codegen] Generating ios/build/generated/ios/React-Codegen.podspec.json
Auto-linking React Native module for target `ReactTestApp`: ReactTestApp-DevSupport
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[!] No podspec found for `React-Codegen` in `ios/build/generated/ios`

Changelog

[iOS] [Fixed] - pod install --project-directory=ios fails due to wrong path to React-Codegen
Test Plan

Verify that pod install still works in /packages/rn-tester
Verify that pod install --project-directory=ios also works:git clone https://github.com/microsoft/react-native-test-app.git
cd react-native-test-app
npm run set-react-version main
yarn
cd example
pod install --project-directory=ios

Thanks for fixing this, @tido64! Will merge this shortly.


[8.x] Enable dot access in TestResponse@viewData

The benefit to devs is that in tests, sometimes you want to access a nested array and this makes it easier to access rather than having to pull it outside of the class.
Normal array access still works as it did before so it shouldn't break anything existing.

Breaking change.


another snyk issue - Uninitialized Memory Exposure

Vulnerable module: bl
Introduced through<EMAIL_ADDRESS>Detailed paths and remediation
Introduced through<EMAIL_ADDRESS>› response@git://github.com/mikeal/response.git#v0.18.1 ›<EMAIL_ADDRESS>Overview
bl is a storage object for collections of Node Buffers.
A possible memory disclosure vulnerability exists when a value of type number is provided to the append() method and results in concatenation of uninitialized memory to the buffer collection.
This is a result of unobstructed use of the Buffer constructor, whose insecure default constructor increases the odds of memory leakage.

?

@eran10 no longer using response. thanks for the report.


Dockerfile and docker compose updates

Dockerfile now has all docker flavors (ubi8 (default), centos7 and alpine)
Unnecessary Dockerfiles have been removed
docker compose files have been updated to support single emissary server and cluster option
To test:
Run through the docker steps in DEVELOPING.md starting at line 596
Make sure you can build a docker
Run emissary docker and process a file
Run docker compose for single emissary server and process file
Run docker compose for emissary cluster and process file

I'm having trouble with the UID:GID entries in the compose files. If I remove them everything starts up like I would expect. I'm not sure if I built something wrong or if I have an env issue, but if that's not hindering others then I won't hold this up to figure out why.

The only way I got it to work was to add the UID:GID.  It was not there originally.  I am on linux, I think the issue was OS based.


Have channel opens unnanounced by default

Raspiblitz should default to new channel opens being unannounced. Public channels should be opt in as they are primarily for routing node operators which the majority of lightning users are not.
When opening channels unannounced as default it would be handy to have a tool tip that pointed users who do want to be a routing node towards enabling a public channel open. Users who are looking to be routers would probably know the difference between public and unannounced though but this is a little extra life improvement. This is important because a channel needs to be closed and re-opened to change it's public status.
What benefits does this have?

More reliable network wide payments as you wouldn't have inefficiently allocated capital acting as de-facto routing nodes (I'd assume many Raspiblitz users are opening nodes to make payments and doing zero channel management).  These channels also generally have low fees (the default) so get selected for routes more often than not which as the liquidity is not managed results in more payment failures for all users on lightning.

Users who open channels to just make payments (I'd assume most) wouldn't have to deal with all the UX implications of routing payments.

Some added privacy for users, they can still be revealed through probing but it makes it that little bit harder.

Some marginal reduction in gossip on the network limiting bandwidth requirements for node operators. This is likely going to become problematic with onion messages coming to lightning so limiting this as much as possible is a minor + to me.

We recently implemented this in Zeus: https://github.com/ZeusLN/zeus/pull/1002

Mostly agree, but noting that we only have power to change the SSH menu (and maybe the WebUI) defaults, but most users are (anecdotally) using interfaces like RTL, Thunderhub and of course Zeus to open channels.
Also this is somewhat similar to the default fee question discussed here: https://github.com/rootzoll/raspiblitz/issues/1980
I don't think that any of these tools are meant to be too opinionated and should rely mostly on the underlying config option for LND / CLN. Maybe it would be the best place to configure unannounced channel by default on the lnd.conf / CLN config file - but so far that is option is not available.

There is no action to be taken for the CLI. Also on an always-on node people probably expect to be able to route on their channels by default. Closing for now.


Cannot reply to or save drafts of HTML emails.

RainLoop version, browser, OS:
1.16.0, CentOS7
Expected behavior and actual behavior:
I can save to drafts and send emails without any problems.
Steps to reproduce the problem:

In the Rainloop settings, the email format is set to "HTML".
Receive HTML mail.
Press the Reply button.
Press the Send or Save button.

After I click the reply button on a received HTML email, I can send or save the email by deleting the entire body of the email or changing to text mode.

This problem may or may not occur depending on the mail server. I have a high incidence of this problem when I use a shared server mail server.


Developing Themes on Extension Development Host. Have to change Theme everytime you switch files with 1.0.0 release

VSCode Version: 1.0.0
OS Version: Mac OS X

Steps to Reproduce:

Develop a theme
Ctrl + F5
Switch to dev Theme
Change Files
Have to switch to dev Theme again

Example Repo: https://github.com/EWhite613/vscode-ember-colorizer

@EWhite613 Can you explain more? In step 4, do you make changes to the theme?
Why do you have to switch to the dev Theme again? To refresh it?
I recommend to keep the Extension Host window open and press Ctrl + r to refresh.
Does that help?

Step 4 I'm in the Extension Host window on a file like config.js. I switch files to default.js (Still in the same window), theme switches to back to my non-dev theme (Ex. Dark+). So now I have to open up Theme preferences again and switch back to my dev theme

Hm, strange, I can't reproduce this. It's not that you just look at the new theme in the preview mode (with the theme picker window open, but don't press enter)?
How do switch between the file? Clicking in the explorer?

@aeschli I press enter on the theme. Ya just clicking in the explorer

Can you, in the Extension Host window, open the dev tools (F1 > Toggle Developer Tools)?
In the dev tools, go to Console and see if there is anything interesting there?

@aeschli
I get this:

Sorry, I still have no clue what could cause the theme switch.
Can you try again with the 1.0.1 release?
http://code.visualstudio.com/download?insiders=true

@aeschli Works fine with 1.0.1


Multiple Response Path SimpleREST ContainerMode

The problem
we're working with RASA framework, and i faced two problems, during handling response from the bot, the response comes with 2 different types:
1- without a database query:
{
"recipient_id": "1",
"text": "bot response"
}
2- with a database query:
[
{
"recipient_id": "1",
"text": "query output"
},
{
"recipient_id": "1",
"text": "bot response"
}
]
the first problem is that i want to define 2 different paths for extracting the text, the second is that i want to know how to parse the json output if given as a list of objects (with the database query)
Solution
if there is a solution on how to get the 2 problems done, or i suggest extending the "SIMPLEREST_RESPONSE_JSONPATH" to accept a list of paths

I think Botium can do what you want out of the box.
The capability SIMPLEREST_RESPONSE_JSONPATH can be used multiple times, with suffix added
  "SIMPLEREST_RESPONSE_JSONPATH": "$.text",
  "SIMPLEREST_RESPONSE_JSONPATH_1": "$.anotherselector",

The JSONPaths will be evaluated one after the other against the JSON response. In case a JSONpath resolves to an array, every single array element is treated as a bot response.
see https://github.com/codeforequity-at/botium-core/wiki/operation-mode-simplerest

can i add a customized path using a .js file,
ex: in case of array response
[
  {
     "recipient_id": "1",
     "text": "query output"
  },
  {
    "recipient_id": "1",
    "text": "bot response"
  }
]

i want to test over the text on the second object, is it doable?

yes.
$.[1:2].text
you can try it online here: https://jsonpath.com/


feat(components): add theming hooks

Please read and mark the following check list before creating a pull request:

[x] I read and followed the CONTRIBUTING.md guide.
[x] I read and followed the New Feature Checklist guide.

Short description of what this resolves:

Adds useTheme hook:
Returns the theme from nearest ThemeProvider
(#676, #752)

Adds useStyleSheet hook:
Takes a theme provided by ApplicationProvider or ThemeProvider and applies it to style.

Adds documentation examples for new hooks and styled and withStyles HOCs.

Improves performance of mapping theme by doing this once ThemeProvider is rendered instead of doing it each time cunsuming components are rendered.

Resolves accessing theme values from theme prop provided by withStyles (issue comment)

Closes #752

hi @artyorsh. Could you explain your motivation why you decide do not use useStylesSheet directly inside the function component?
const styles = StyleSheet.create(); looks a little bit udnersable becouse you dont use use prefix from hooks convetion.
Thanks.

Hi @vomchik 👋
Before I start to explain the motivation, let me describe the goals of this function:

It should be able to work with eva theme variables (e.g color-primary-default)
It should use an actual theme and map transform these variables to an actual theme values
It also should be compatible with other styles that we can use in StyleSheet.

My motivation is to create an API similar that we have out of the box in React Native (I mean similar to StyleSheet.create), since the way of declaring styles outside of the component is a common practice. Also since this function uses theme context, I see it being a hook so it should have use prefix.
I understand that this might be a little confusing to use use functions outside of the component, but currently, this feature is under internal testing, so if you have any better suggestions we're able to discuss.
Thanks for the review 👍

Happy New Year!
I see, thanks for the answer.
i have a few suggestions:

Let's rename useStyleSheet to StyleSheetCreator or StyleSheetFactory  which returns a new hook, then we can use this hook inside a component as is.
Let's continue to use StyleSheet API from RN and create a useStyle hook, in which we can pass RN style number or function with theme variables

const styles = StyleSheet.create({
  button: {
    flex: 1
  }
});

const Button = () => {
  const style = useStyle([
    styles.button,
    theme => ({
      color: theme["color-primary-default"]
    }),
    theme => ({
      borderRadius: theme["border-radius"]
    })
  ]);

  return <View style={style}></View>
};

Currently, I use own style hook with next API
const Picker = () => {
  const text = useStyle(theme => ({
    color: theme["system-color-control-default"]
  }));

  return <Text style={[styles.button, text]}>Done</Text>;
};

I really like this new useStyleSheet hook, but I agree with @vomchik that the naming needs a bit more thought, after all the useStyleSheet isn't exactly a hook (it returns an object with a create function that is the actual hook). This is confusing since this "hook" can be used outside the component, and the real hook (the create function) cannot.
Also, if you use the react-hooks eslint plugin, it's going to complain about the use of the useStyleSheet "hook" outside of a component, which is annoying.
For now I've followed @vomchik idea and created a function to turn this API into something a bit less confusing for me, I'll leave it here for inspiration:
// In a utils.ts file
import { StyleSheet } from 'react-native';
import { useStyleSheet } from '@ui-kitten/components';

export function makeUseStyles<T>(
  styles: StyleSheet.NamedStyles<T>,
): () => StyleSheet.NamedStyles<T> {
  // eslint-disable-next-line react-hooks/rules-of-hooks
  const UIKStyleSheet = useStyleSheet(styles);
  const useStyles = () => UIKStyleSheet.create();
  return useStyles;
}

// In a component's file

import { makeUseStyles } from '@app/utils';

const useStyles = makeUseStyles({
  text: {
    color: 'text-hint-color',
  },
});

function Label({children}) {
  const styles = useStyles();

  return (
    <Text style={styles.text}>
      {children}
    </Text>
  );
}


Fix handling of '-r' option in 'clone' and removed '-c' option

The '-r' option was not handled correctly in 'clone'.
Also the '-c' option in 'clone' is not implemented, so I removed it from the documentation.

Thanks for cleaning out the lint here!

Going through the code, this PR probably needs to reverted and documentation added. Looking at the code, `-r

Going through the code, this PR probably needs to reverted and documentation added. Looking at the code, -r replicates and while -c is not referenced I think it implies the action is to clone. The difference being `-r

Did you get sorted out @EpiJunkie ?

Yea, sorry. I was mistaken and did not intend to send the message. I think it was sent twice accidently. I was having a helluva time with my keyboard that night.


fix(module): handle theme HMR on dev

Resolves #35

@antfu Thanks for the PR! I thought it didn't work because some classes were missing but as the theme was no longer written, Tailwind CSS had now way to parse classes written like: https://github.com/benjamincanac/ui3/blob/dev/src/theme/button.ts#L82
So I did this commit https://github.com/benjamincanac/ui3/pull/84/commits/1feec0a11f7c915707ed05a9d3147bd6912e266a to write the base theme but commented.


MockRobot Failed lookup: fiducial_10, from base_footprint

Hi,
i am able to run the turtelbot and getting docked without any error. but when i run the mockbot i am getting the below mentioned error eventhough the Markers are detected. Am i missing anything here?
INFO] [1680685721.064356, 44.498000]: Will attempt with 2 retry
[WARN] [1680685721.065865, 44.500000]:  State: [PREDOCK] | start docking
[WARN] [1680685721.451993, 45.000000]: Failed lookup: fiducial_10, from base_footprint
[WARN] [1680685721.842108, 45.450000]:  State: [PREDOCK] | Try single marker yaw adjustment
[WARN] [1680685722.068391, 45.952000]: Failed lookup: fiducial_10, from base_footprint
[WARN] [1680685722.470830, 46.452000]: Failed lookup: fiducial_11, from base_footprint
[ERROR] [1680685722.472098, 46.452000]: Not detecting two side markers, exit state
[WARN] [1680685722.472879, 46.452000]: Failed to Dock attempt
[WARN] [1680685722.473596, 46.452000]: Attemping retry: 1/2
[INFO] [1680685722.474667, 46.452000]: State is not retry-able
[WARN] [1680685722.475783, 46.452000]: Not able to retry
[WARN] [1680685722.477316, 46.452000]:  State: [IDLE] | Failed execute Dock Action

When you run rosrun tf tf_echo fiducial_10 base_footprint, what do you see?
Random guess, for your case try to increase the tf_expiry param in autodock config, maybe the node can't get the tf because expiry is too stringent.


style button and copy that leads into "add a feed"

Right now we have a placeholder button at the bottom of http://dev.transit.land/feed-registry/
Let's replace "If you would like to add a feed (or if you notice an error in an existing entry) please email us at<EMAIL_ADDRESS>with the button.
@souperneon thoughts on styling?

:+1: I had that line scratched out in my notes.

mock for styling: https://github.com/transitland/feed-registry/issues/105


HTTP error

I've been starting to see these errors when making a Scoreboard API call:
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://stats.nba.com/stats/scoreboard/?LeagueID=00&GameDate=02%2F01%2F2016&DayOffset=0
I can add an exception for this, but I don't know why these calls stopped working. When I actually go to the URL, it works just fine. Kind of annoying.

Not sure if you're not aware of this by now - NBA changed their API policy so you would need to provide HTTP headers with the request in order for this to work.
You will always be able to hit the endpoint from your browser on the other hand.

Could you show me an example of how to provide the HTTP header in the request?

This may or may not be related, so my apologies if this is off-topic, but it looks like the stats.nba.com/stats/scoreboard endpoint was recently changed. There's some discussion of it on this reddit thread, and it appears the problem is specific to the scoreboard endpoint, or at least doesn't affect every endpoint.
When making calls to the Scoreboard endpoint, I started receiving the following 403 Forbidden error: Referral Denied: You don't have permission to access "http://stats.nba.com/stats/scoreboard/?" on this server. Reference #24.1647f8a2.1456323795.220ea02f. Same thing when trying in the browser.
It looks like you can get around this by setting the Referer header to http://stats.nba.com/scores/.

Hi folks, sorry for the delay. This should be resolved in v2.0. However, it seems NBA has removed two endpoints (playerDashPtShotLog and playerDashPtReboundLogs), so those are removed and therefore it's a semver major version bump.
I used the headers from https://github.com/seemethere/nba_py/blob/79b764ec86a4740b0460ab8c75483f41247e940f/nba_py/init.py#L14


Updated communication siprouting tests to use randomised domains.

Description
This PR aims to fix failing live tests for communication-phone-numbers-siprouting on one of the pipelines.
The problem is with the test data, because tests use hardcoded domain names and with those we're seeing "Domain name collision" error, meaning the domain is already used on another resource.
The validation rules on BE don't allow to register fqdns with same domain on multiple ACS resources, thus returning error.
To counter this issue, our tests have been modified to use each time a randomly generated domain name (UUID in hex format).
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


@prefresh/vite (@prefresh/core) memory leak bug - "this.forceUpdate on an unmounted component"

Fast and easy reproduce on - https://stackblitz.com/edit/vitejs-vite-xwsarc?file=src%2Fapp.tsx&terminal=dev
Steps to reproduce:

Open DevTools console
Click on "counter" button 3 times (need that component <Test /> unmount and then mount again)
edit content of  component at line 37, for example:
return
asd
; => return
asd2
;

Result:
Can't call "this.forceUpdate" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
Error in replaceComponent function on @prefresh/core

This is biting me pretty badly too. I'm getting the can't call ... error 10s or 100s of times per hmr refresh on a larger project.


Auto Label Added

#991
Description
[Please include a brief description of the changes or features added]
Related Issues
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]

Closes #991

Type of PR

[ ] Bug fix
[ ] Feature enhancement
[X] Documentation update
[ ] Other (specify): _______________

Checklist

[X] I have gone through the contributing guide
[X] I have updated my branch and synced it with project main branch before making this PR
[X] I have performed a self-review of my code
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
"Settings" > "Actions" > "General" and under "Workflow permissions", select "Read and write permissions".
Make sure to do the above after PR merging.

@varshith257 please review the PR.

@Anjaliavv51 See its workflow is failing

@Anjaliavv51 See its workflow is failing

As it's options are changed.

"Settings" > "Actions" > "General" and under "Workflow permissions", select "Read and write permissions".
Should be made

ok! let's do it later with @Anishkagupta04

@varshith257 can u please revert the it , i have to change code in yml

Submit another PR instead reverting it aginy

Okay


[🐛] Cannot launchCamera

Description
Call ImagePicker.launchCamera({ mediaType: 'photo'}, cb).
You'll see error:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference         at com.imagepicker.Options.(Options.java:29)
How to repeat issue and example
Install 3.3.2
Call launchCamera without passing an option for cameraType.
Error appears and cannot use camera.
Solution
Options.java, line 29:
       if (options.getString("cameraType").equals("front")) {             useFrontCamera = true;         }
Needs to have a null check.
Additional Information

Image Picker version: 3.3.2
React Native version: 0.63.4
Platform: Android
Development Operating System: Windows
Dev tools: Android Studio 4.1

Why is that I am unable to reproduce this issue, can some one enlighten. If you don't send cameraType, the default back is sent from JS. You can check the JS part of lib.
Also not everyone has this issue only very few.

Huh, yea I see that now. will have to take a look later at why that doesn't seem to be getting added as the default. Cause when I add it on the react native side, it works fine.

Only probable cause could be, you'r upgrading to latest version and the metro bundler uses the cache version of JS library. So just clear metro cache and restart packager. It should work.
If you can reproduce, just ping here I am happy to fix.


F12 GoToDefinition Provider

Objective
Add the ability to use the 'native' VSCode Go To Definition / F12 features from our extension. This has a preference to use open files and PRJ references whenever possible, but it will fallback to use the entirety of the workspace documents if not found in the preferred references.
Abstraction/Implementation

Conceptually the document management portion of the extension has now evolved to pre-load the workspace ReadonlyDocuments and stop setting them to null. On 10MB of LSP's, it is only a few seconds to read all the data and create the basic representation. In addition to this overhead, I am also pre-loading the atomsForest. Which has significantly more overhead than the base document represenentations, but this was done in every way I know how to mitigate the impacts. As it stands, until the workspace is fully loaded, the PRJ palette is in a 'busy' state. My stress testing scenarios represented extremely unrealistic circumstances and should be very reasonable to the vast majority of users. All of this was done because it would now requires enough load time (at the first F12) to make users question if VSCode is crashing.
No language localization's were required for F12 because VSCode natively reports a tool tip when no results are found. There is one added, but unrelated "workspace finished loading" information message I will go localize just before it looks like this is approved; keeping the noise down for now.
This was hooked up for Defun & Defun-Q functions. I am on the fence if it makes any sense at all to extend this to locate the declaration or Setq locations of a variable name. I would think the only utility for that would be actual declaration headers and global (top level) setq variable setters.
fixed a bug in the ReadonlyDocument.getMemoryDocument() method. Was missing the fileName property setter.
Expanded the functionality of the Sexpression class with new functions and relocated an Sexpression specific method (DOM Selector like function) out of the ReadonlyDocument into Sexpression because it was more likely to get used as a dot function than just knowing it exists in the ReadonlyDocument somewhere.
The executeCommand('editor.action.addSelectionToNextFindMatch') trick to find the below symbol would in fact find the symbol, but somehow blocked the UI from immediately performing the GoTo  command. I had to figure out a different way to get this information (without regex) that didn't upset the UI.
Created providers folder for these small 1-off's. The F2 renaming provider is expected to go in there next. I can move it out of there if you want, but let me know where please.

Tests Passed

Tests were performed on 10mb of *.LSP's in workspace. Memory implications were documented in code comments.
The complete workspace load (with atomsForest) on 10mb of *.LSP files was about 20-30 seconds, but the only noticeable blocking that occurred while performing this was a "busy" PRJ palette.
verified Opened & PRJ references get preference
wrote test suite cases for a number of the integral functions backing this feature up.
Added a more complex sample LSP and threw a bunch of collection scenarios at it. Infinitely more than I have permanent tests for. There is an entire class not part of this PR designed to blueprint every defun, variable and function reference in an LSP. I am generally happy with it, but decided to extract just things that made it work and expand existing classes instead.

Screenshots
Didn't bother because we all know what F12 does

I just added the ability to F12 a variable. Which included some additional Sexpression enhancements (and tests) for stepping upward through an Sexpression tree.  The concept was:

first check to see if it is used like a function, if it was then don't treat it like a variable and only look for function definitions

may need to add something that checks to see if its contained in a variable header, but I'll have to take care of that later tonight.

else find closest declaration. This could have been a Foreach, Vlax-For, Lambda or Defun. If there are nested scenarios or (for example) a foreach used a variable name and it was also localized by the defun, it would first jump to the foreach and from the foreach it would jump up to the defun

If none of that pans out it throws a hail marry and gets the first 1st teir Setq statements from the ReadonlyDocuments atomsForest nodes and will attempt to locate global/shared defintions of that variable.

The last commit (eeb8a7a) added another Sexpression navigation helper function and a test for that function. Removed the largely unnecessary interface, I think it was put there because of a different plan that didn't unfold. Also handled a number of edge cases. I think what I have is fine for symbol definitions, but the atomsForest returning String|Sexpression is going to pose real complications for the F2 renaming I may head for next now that the tools are in place to better understand scope. Other than a single reference in formatter.ts formatGut() I am the primary user of this. Anyone know of a reason why the formatGut() function couldn't use a LispAtom|Sexpression instead?

Hi Josh,
Thank you for your patience on this long reviewing! I want to take more time on this to address the performance issue, because the DocumentManager is the infrastructure codes, some advanced feature will depends on it, for example F12 you did, find all references, Rename, and so on.
thanks

One of the best things you could do to increase performance in opened documents is split 8000 line LSP's into several documents. I went and looked at my largest files and they are all less than 2500 lines and I'd honestly say anything that gets up around 1000 starts to become unmanageable. I say that because the current arrangement does a very speedy pre-check that should help it not evaluate a good chunk of them. You put 8000 lines in a single (opened) document and its always going to be relevant and always need to be regenerated.

I know that to have 8000 lines codes in one file is rare, but it is a real world cases in my hand.
For some small project it works very well, for example I tried this open source poject: https://github.com/jdsandifer/AutoLISp

Okay, I think I did everything in this that was discussed, except what is expected to be handle in a different PR that updates the DocumentManager.
providerShared.ts is a new file I made it to offload stuff that will be used by multiple (F2, F12 & References) providers into a common place; IE, just too confusing to have pointers to static methods within completely different providers. So, they were moved out to a common file and I suspect more will get populated as the other two providers are built out.

Thank you very much for implementing a so cool feature!


New macro @bindname to display variable name before bond

This PR makes a macro @bindname available when you do using PlutoUI. It's like @bind, but it will also show the name of the bound variable before the widget (height = ).

This solves a common pattern: writing the variable name by hand in markdown, and then interpolating the @bind call. See e.g. https://discourse.julialang.org/t/current-maintained-interactive-julia-gui-system-mid-2024/118318/11?u=fonsp
Details
The styling matches exactly that of a variable declaration.
This will also still work in a standalone file without Pluto:

Any plan to change the default to show_value=true. Showing especially the variable name without value is never something I wanted, only the other way.

Hey @roflmaostc !
Yes that is the plan! But a bit tricky to change the default, I am afraid to break things...

It would break a bit of layout, you mean?
As a user it would display two numbers instead of one. So at least it would not disappear (if the default would be true)


Service Fabric DNS behavior when service replica is unhealthy

Service Fabric DNS service returns IP address of nodes where service replica is unhealthy.
1.1. Steps to reproduce:
1.1.1. Add a service DNS name to WordCount service.
1.1.2. Deploy the WordCount application package.
1.1.3. Put one of the service replicas in an unhealthy state (Warning or Error) by using https://docs.microsoft.com/en-us/rest/api/servicefabric/sfclient-api-reportreplicahealth.
1.1.4. Run  nslookup <Service DNS name>.
1.1.5. The IP address of the node with the unhealthy service replica is returned in the IP list.

Service Fabric DNS service returns IP address of nodes where the Guest Executable service replica deployment has failed.
2.1. Steps to reproduce with nonexisting service exe:
2.1.1. Create a Guest Executable application package with a service and give it a DNS name.
2.1.2. Deploy the Guest Executable application package with instance count -1 or > 1.
2.1.3. Kill the service process on of the nodes and rename the service exe file, so Service Fabric is unable to spawn the service process.
2.1.4. Run nslookup <Service DNS name>.
2.1.5. The IP address of the node with the renamed service exe file is returned in the IP list.
2.1.6. The service replica deployment is in Error health state

(Get-ServiceFabricDeployedApplicationHealth -ApplicationName $applicationName -NodeName $nodeName).AggregatedHealthState
Error

, but the replica health state is OK
(Get-ServiceFabricReplicaHealth -PartitionId $partitionId -ReplicaOrInstanceId $replicaId).AggregatedHealthState
Ok

, and the replica status is Ready.
(Get-ServiceFabricDeployedReplica -NodeName $nodeName -ApplicationName $applicationName -PartitionId $partitionId).ReplicaStatus
Ready

2.2. Steps to reproduce with nonexisting setup exe:
2.2.1. Create a Guest Executable application package with a service that has a Setup Entry Point and give it a DNS name.
2.2.2. Deploy the Guest Executable application package with instance count -1 or > 1.
2.2.3. Rename the program file provided in the Setup Entry Point.
2.2.4. Kill the service process so Service Fabric will execute the program file provided in the Setup Entry Point.
2.2.5. Run  nslookup <Service DNS name>.
2.2.6 The IP address of the node with the renamed program file in the Setup Entry Point is returned in the IP list.
2.2.7. Same as 2.1.6
2.3. Steps to reproduce with crashing service exe:
2.3.1. Create a Guest Executable application package with a service and give it a DNS name.
2.3.2. Deploy the Guest Executable application package with instance count -1 or > 1.
2.3.3. Change the service exe config file, so the service crashes.
2.3.4. Kill the service process so Service Fabric will spawn a new service process.
2.3.5. Run  nslookup <Service DNS name>.
2.3.6. The IP address of the node with the crashing service is returned in the IP list.
2.3.7. Same as 2.1.6
2.4. Steps to reproduce with crashing setup exe:
2.4.1. Create a Guest Executable application package with a service that has a Setup Entry Point and give it a DNS name.
2.4.2. Deploy the Guest Executable application package with instance count -1 or > 1.
2.4.3. Change the setup exe config file, so the setup crashes.
2.4.4. Kill the service process.
2.4.5. Run nslookup <Service DNS name>.
2.4.6. The IP address of the node with the crashing setup is returned in the IP list.
2.4.7. Same as 2.1.6
The behavior is reproducible in Service Fabric version 6.4.622,
6.5.664, and 7.0.457 and causes clients that are using DNS to try and access unhealthy and undeployed replicas.
If you restart the Service Fabric node after the renaming and configuration change, the replica status will change to InBuild:
(Get-ServiceFabricDeployedReplica -NodeName $nodeName -ApplicationName $applicationName -PartitionId $partitionId).ReplicaStatus
InBuild

and the IP address of the node is not returned.
Are the described behaviors intentional?
If yes, can we avoid clients that are using DNS to try and access unhealthy and undeployed replicas without implementing a service endpoint for health probing and place a load balancer in front of the services?
Thanks.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d273a891-b7f9-81db-bfc5-044e6755541f
Version Independent ID: dc9f17bb-64af-d4b5-186f-7647c0a0c511
Content: Azure Service Fabric DNS service
Content Source: articles/service-fabric/service-fabric-dnsservice.md
Service: service-fabric
GitHub Login: @athinanthny
Microsoft Alias: atsenthi

Thanks for the question. We are currently investigating and will update you shortly.

@jesperilsoenielsen Thanks for the detailed question.
I am reaching out to the internal teams and i will update you once i have some information.

@jakaruna-MSFT Thanks for the update.

@jesperilsoenielsen Got some information from the Product team.

health doesn't influence the addresses returned from naming (when service replica is unhealthy).
The other cases should be covered as the addresses should change as the service 's address should change.

I am yet to get the time required for the dns info to propagate.

@jakaruna-MSFT  Thank you for your answer.
Does it mean that

the behavior described in case 1.1 is as intended, but the behavior described in the other cases (2.2, 2.3, and 2.4) is not?
the IP address of the nodes where the Guest Executable service replica deployment has failed, i.e., case 2.2, 2.3, and 2.4, will not be included in the IP list returned by the DNS service in a future release of Service Fabric?

Thanks.

I will close this out for now. Please send an email like mentioned in the above comment.

@jakaruna-MSFT Thank you for getting back to me. I have acted on your advice and sent an email to<EMAIL_ADDRESS>

@jakaruna-MSFT  I have not received a reply to my email. Have you added the product team?
Thanks.

@jesperilsoenielsen Sorry. i missed your email.  I added you to the email thread with the Product team.

@jakaruna-MSFT Thanks. I have answered the email, so let us continue the discussion via email.


Update specs2-core to 4.10.0

Updates org.specs2:specs2-core from 4.9.4 to 4.10.0.
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!

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

labels: test-library-update, semver-minor

Codecov Report

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

@@           Coverage Diff           @@
##           master      #92   +/-   ##
=======================================
  Coverage   71.42%   71.42%
=======================================
  Files          11       11
  Lines         420      420
  Branches       16       23    +7
=======================================
  Hits          300      300
  Misses        120      120

Continue to review full report at Codecov.

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


bug([mat-date-picker]): [Horizontal scroll bar during resize, Touch UI]

Reproduction
Steps to reproduce:

Enable touch UI
Resize the screen

Expected Behavior
What behaviour were you expecting to see?
A responsive behaviour of the mat date picker where there does not show an (un-needed) scrollbar.
Actual Behavior
What behavior did you actually see?
A scrollbar upon resizing when there is plenty of room to show the date picker without a horizontal scroll bar.
Environment

Angular: 9
CDK/Material: 9.2.0
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

I can reproduce this on the docs site. There's a certain viewport size range in which resizing gives the calendar scrollbars.


ValueError: Requested RearrangeDataset config paths 'data/datasets/replica_cad/rearrange/v2/train/rearrange_easy.json.gz' or 'data/replica_cad/' are not downloaded locally. Aborting.

following the readme instruction as it is described to setup, install and run example.py and ended up with this error. retried several times by removed data directory but no luck:
(habitat) yashwant@octopus:~/Downloads/habitat-lab$ python examples/example.py
pybullet build time: Nov  2 2024 11:43:58
PluginManager::Manager: duplicate static plugin StbImageImporter, ignoring
PluginManager::Manager: duplicate static plugin GltfImporter, ignoring
PluginManager::Manager: duplicate static plugin BasisImporter, ignoring
PluginManager::Manager: duplicate static plugin AssimpImporter, ignoring
PluginManager::Manager: duplicate static plugin AnySceneImporter, ignoring
PluginManager::Manager: duplicate static plugin AnyImageImporter, ignoring
2024-11-02 11:51:19,396 Initializing dataset RearrangeDataset-v0
Traceback (most recent call last):
  File "/home/yashwant/Downloads/habitat-lab/examples/example.py", line 31, in <module>
    example()
  File "/home/yashwant/Downloads/habitat-lab/examples/example.py", line 15, in example
    with gym.make("HabitatRenderPick-v0") as env:
  File "/home/yashwant/anaconda3/envs/habitat/lib/python3.9/site-packages/gym/envs/registration.py", line 676, in make
    return registry.make(id, **kwargs)
  File "/home/yashwant/anaconda3/envs/habitat/lib/python3.9/site-packages/gym/envs/registration.py", line 520, in make
    return spec.make(**kwargs)
  File "/home/yashwant/anaconda3/envs/habitat/lib/python3.9/site-packages/gym/envs/registration.py", line 140, in make
    env = cls(**_kwargs)
  File "/home/yashwant/Downloads/habitat-lab/habitat-lab/habitat/gym/gym_definitions.py", line 91, in _make_habitat_gym_env
    env = make_gym_from_config(config)
  File "/home/yashwant/Downloads/habitat-lab/habitat-lab/habitat/gym/gym_definitions.py", line 60, in make_gym_from_config
    return make_env_fn(env_class=env_class, config=config, dataset=dataset)
  File "/home/yashwant/Downloads/habitat-lab/habitat-lab/habitat/utils/env_utils.py", line 36, in make_env_fn
    dataset = make_dataset(config.dataset.type, config=config.dataset)
  File "/home/yashwant/Downloads/habitat-lab/habitat-lab/habitat/datasets/registration.py", line 22, in make_dataset
    return _dataset(**kwargs)  # type: ignore
  File "/home/yashwant/Downloads/habitat-lab/habitat-lab/habitat/datasets/rearrange/rearrange_dataset.py", line 59, in __init__
    raise ValueError(
ValueError: Requested RearrangeDataset config paths 'data/datasets/replica_cad/rearrange/v2/train/rearrange_easy.json.gz' or 'data/replica_cad/' are not downloaded locally. Aborting.
(habitat) yashwant@octopus:~/Downloads/habitat-lab$ ls

Same for me

same for me,  I installed the habitat-lab completely according to the official tutorial. Sincerely hope to get help

Hey folks, how did step 1 of Testing go here?
Part of installation is getting the data (assets and episodes) from the downloader tool:
python -m habitat_sim.utils.datasets_download --uids habitat_test_scenes --data-path data/
python -m habitat_sim.utils.datasets_download --uids habitat_test_pointnav_dataset --data-path data/

In the above code snippet we're downloading the data to ./data/ so it should be run within the habitat-lab directory. If you put the data elsewhere you'll need to modify configs to correct the paths.

same for me. I installed on linux server(Ubuntu 24.04) last week and it works perfectly fine. But this week, I met this problem when doing the same thing on my MacBook. Now I find this error also appears when I try to install another one on the linux server.

Is anyone else getting this error now?
Data download failed, no datasource named rearrange_dataset_v2
The example.py script is still failing with the same error

Update: changing "v2" to "v1" in habitat/config/benchmark/rearrange/skills/pick.yaml got it pretty much working:
  dataset:
    data_path: data/datasets/replica_cad/rearrange/v1/{split}/rearrange_easy.json.gz

"Pretty much" because there were a lot of warnings:
PluginManager::Manager: duplicate static plugin StbImageImporter, ignoring
PluginManager::Manager: duplicate static plugin GltfImporter, ignoring
PluginManager::Manager: duplicate static plugin BasisImporter, ignoring
PluginManager::Manager: duplicate static plugin AssimpImporter, ignoring
PluginManager::Manager: duplicate static plugin AnySceneImporter, ignoring
PluginManager::Manager: duplicate static plugin AnyImageImporter, ignoring
2024-11-25 17:19:30,369 Initializing dataset RearrangeDataset-v0
2024-11-25 17:19:47,577 initializing sim RearrangeSim-v0
[00:15:18:239737]:[Warning]:[Metadata] AttributesManagerBase.h(457)::buildAttrSrcPathsFromJSONAndLoad : <Articulated Object> : No Glob path result found for `data/hab_fetch_1.0/robots/fetch_no_base.urdf` so unable to load templates from that path.
[00:15:18:296524]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_00.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296565]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_01.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296588]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_02.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296823]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_03.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296862]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_04.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296884]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_05.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296906]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_06.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296925]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_07.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296947]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_08.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296967]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_09.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:296986]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_10.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297008]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_11.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297034]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_12.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297056]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_13.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297076]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_14.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297096]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_15.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297116]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_16.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297135]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_17.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297156]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_18.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297175]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_19.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
[00:15:18:297195]:[Error]:[Metadata] SceneDatasetAttributesManager.cpp(304)::validateMap : `navmesh_instances` Value : `navmeshes/v3_sc4_staging_20.navmesh` not found on disk as absolute path or relative to `data/replica_cad`
PluginManager::Manager: duplicate static plugin StbImageImporter, ignoring
PluginManager::Manager: duplicate static plugin GltfImporter, ignoring
PluginManager::Manager: duplicate static plugin BasisImporter, ignoring
PluginManager::Manager: duplicate static plugin AssimpImporter, ignoring
PluginManager::Manager: duplicate static plugin AnySceneImporter, ignoring
PluginManager::Manager: duplicate static plugin AnyImageImporter, ignoring
Renderer: AMD Radeon Pro 5300M OpenGL Engine by ATI Technologies Inc.
OpenGL version: 4.1 ATI-6.1.13
Using optional features:
    GL_ARB_vertex_array_object
    GL_ARB_ES2_compatibility
    GL_ARB_separate_shader_objects
    GL_ARB_texture_storage
    GL_EXT_texture_filter_anisotropic
    GL_EXT_debug_label
    GL_EXT_debug_marker
Using driver workarounds:
    no-layout-qualifiers-on-old-glsl
    apple-buffer-texture-unbind-on-buffer-modify
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its binding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
[00:15:19:299558]:[Warning]:[Sim] Simulator.cpp(594)::instanceStageForSceneAttributes : The active scene does not contain semantic annotations : activeSemanticSceneID_ = 0
2024-11-25 17:19:51,294 Initializing task RearrangePickTask-v0
/opt/anaconda3/envs/habitat/lib/python3.9/site-packages/gym/spaces/box.py:84: UserWarning: WARN: Box bound precision lowered by casting to float32
  logger.warn(f"Box bound precision lowered by casting to {self.dtype}")
Environment creation successful
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Tbl1_Top1_frl_apartment_table_01, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_counter_left_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_sink_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_sink_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_drawer_right_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_TvStnd1_Top1_frl_apartment_tvstand, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_TvStnd1_Top1_frl_apartment_tvstand, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_drawer_right_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Tbl2_Top1_frl_apartment_table_02, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Chr1_Top1_frl_apartment_chair_01, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Tbl2_Top1_frl_apartment_table_02, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_drawer_middle_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Tbl1_Top1_frl_apartment_table_01, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_counter_right_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Chr1_Top1_frl_apartment_chair_01, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Tbl1_Top1_frl_apartment_table_01, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_drawer_right_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_drawer_middle_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_drawer_left_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_counter_left_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,716 Cannot find active receptacle receptacle_aabb_Sofa_frl_apartment_sofa, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_drawer_middle_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_counter_left_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_drawer_right_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_TvStnd1_Top1_frl_apartment_tvstand, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_drawer_middle_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_middle_topfrl_apartment_refrigerator, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_TvStnd1_Top1_frl_apartment_tvstand, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_drawer_right_top_frl_apartment_kitchen_counter, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
2024-11-25 17:19:54,717 Cannot find active receptacle receptacle_aabb_TvStnd1_Top1_frl_apartment_tvstand, so cannot create a parent relationship. Skipping. Note that episode is likely invalid.
Agent acting inside environment.
Episode finished after 300 steps.

I encountered the same problem as you. May I ask if you have resolved it?

I encountered the same problem as you. May I ask if you have resolved it?

As i mentioned i have pretty much resolved it in that i was able to continue with the instructions, including the interactive testing, but it was with v1 of the rearrange env. I don't know how different v2 is.

Could you please let me know which document you are referring to for this operation? It appears that I do not have the document you mentioned.

Could you please let me know which document you are referring to for this operation? It appears that I do not have the document you mentioned.

What i wrote above:

Update: changing "v2" to "v1" in habitat/config/benchmark/rearrange/skills/pick.yaml got it pretty much working:

  dataset:
    data_path: data/datasets/replica_cad/rearrange/v1/{split}/rearrange_easy.json.gz

I also made the following additional changes:
In habitat/config/benchmark/rearrange/play/play.yaml change "v2" to "v1:
  dataset:
    data_path: data/datasets/replica_cad/rearrange/v1/{split}/rearrange_easy.json.gz

In habitat/examples/example.py change line 14 (the gym.make call) to:
    config = habitat.get_config(
    "benchmark/rearrange/skills/pick.yaml",
    overrides=["habitat.environment.max_episode_steps=20"]
    )

    # with gym.make("HabitatRenderPick-v0") as env:
    with gym.make_gym_from_config(config) as env:


feat: add tree-crasher implementation for python

Adds support for the Python programming language in tree-crasher
Adds script to generate seed corpus scripts/corpora/python.sh

@Rog3rSm1th Thanks for the contribution! Can you also add this to the Github Actions workflows?

Done!

Ah, it looks like the Python parser doesn't play nicely with static linking. Can you remove it from the executable builds, but keep it in the crates.io uploads? If that doesn't make sense, just let me know and I'm happy to do it.

I removed it from the executable builds, it should now pass the CI.


Update virtualboxes to reflect current configuration targets

In particular:

14.04 - Postgresql 9.5, postgis 2.2

@Merfoo was it you that did the 16.04 VB?

Instructions updated and new VMs provided. Support for Ubuntu 12.04 LTS has been dropped.


Exception running app on iOS

Hi Marc,
I've tried running your project on iOS but I get the this Exception every time: http://imgur.com/a/f5I04.
I'm not sure what's going wrong. Any ideas?

Hi Jonny, i've fixed the issue. The constructor of the viewcontroller want to load a nib called "MonkeyView" but the nib name is "MonkeysView". Thanks for letting me know


Add component augmentation

WIP
Fixes #403.  This PR will add component augmentation.

Current coverage is 95.15% (diff: 100%)

Merging #414 into master will not change coverage

@@             master       #414   diff @@
==========================================
  Files            91         91
  Lines          1177       1177
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1120       1120
  Misses           57         57
  Partials          0          0

Powered by Codecov. Last update aa27468...6d26845

👻

Released in v0.37.0


Build issue

Hi there,
I created two projects (sender/receiver) and I hit play in both (with background on in the player settings) and it works fine. When I built the projects and tried to do run the builds, they didn't work. Any idea why?

KlakSpout doesn't support 32-bit (x86) target. Could you make sure that the target architecture is set to x86_64?

yep, that fixed the problem. Thanks 😄


Try out GHC 8.10.2 in CI

LGTM. The stack build fails, but I suggest we just remove it unless anyone wants to volunteer to maintain the stack build for their own purposes.

Addressed by https://github.com/input-output-hk/cardano-prelude/pull/136, closing.


Add "Receiver" Column to the Receive Screen

To help clarify how the stealth address mechanism works to our users, we want to expose a bit more of what's going on underneath the hood. One idea is to actually show the automatically generated stealth address that has received the funds (or holds the ability to withdraw them from the contract) on the receive screen.
Below is a rough mockup of what this can look like. (Please ignore fonts and spacings in the mockup).

Requirements:

[ ] Change the name of the "From" column to "Sender"
[ ] Add a column on the receive screen named "Receiver"
[ ] Add an info icon next to "Receiver", when the user hovers/taps on the icon, they should see small modal with a short explanation (text below)

The stealth address which received these funds. It looks like an empty address, and it can't be tied to your account, but only you have the ability to generate its private key.

[ ] Show the truncated address of the receiver, which can be sourced from the announcements

@mds1
4. There's already an etherscan link in the date column, perhaps, I should add copying as in sender's?

Your screenshot shows the same address for all Receivers, but in reality each address in that column will be different (just wanted to make sure that was clear, let me know if I misunderstood)

Correct! Just a mockup.

I'm not sold on the column name "Receiver", since my definition of the Receiver would be "the logged in user that received all transactions shown in the screenshot". I know the tooltip is intended to clear that up, but something like "Stealth Address" or "Stealth Address Recipient" would be more clear, though perhaps a bit wordy.

Yeah I was on the fence about this as well. I also considered "Stealth Receiver" Or "Stealth Address" but was worried it would be too long and look odd wrapped. Let's try it out and see what they look like.

Should the tooltip also say "Learn More." as the last sentence with a link to https://app.umbra.cash/faq#receiving-funds ?

Great idea, let's include this @radchukd.

Ah, you're right that'd be inconsistent with how the sender column behaves, so I like your suggestion of copying the stealth address when clicked

Good call @radchukd, I like this idea as well. Let's do it!