Retrieving a list of links from an ObservationCollection object.

Hi,
Related to these two PRs i'd like to retrieve a list of linkDefinitions from an observation collection. Below is an example of how I  currently do it.
https://github.com/tudat-team/tudatpy-examples/pull/28
https://github.com/tudat-team/tudatpy/pull/110
# Transform the MPC observations into a tudat compatible format.
observation_collection, links = batch.to_tudat(bodies=bodies)

# set create angular_position settings for each link in the list.
observation_settings_list = list()
for link in list(links.values()):
    observation_settings_list.append(observation.angular_position(link))

Functionality has been added with latest commit to develop:
https://github.com/tudat-team/tudatpy/commit/c967acb83f43dc8b19c5bb44bdf338659d4e94a5
and associated commit to tudat develop branch.
The new ObservationCollection.get_link_definitions_for_observables function (with observable type as input) returns a list of LinkDefinition objects used for that observable


Enhancement: Add .editorconfig

This PR

[x] adds an .editorconfig to the project

💁♂ For reference, see http://editorconfig.org.
The primary reason for adding is inconsistent indentation in .travis.yml, which then would be a good idea to adjust. What do you think?
diff --git a/.travis.yml b/.travis.yml
index 5f5fb1a..6161398 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,12 @@
 language: php

 php:
-    - 5.4
-    - 5.5
-    - 5.6
-    - 7.0
-    - nightly
-    - hhvm
+  - 5.4
+  - 5.5
+  - 5.6
+  - 7.0
+  - nightly
+  - hhvm

 matrix:
   allow_failures:

We should fix the identation then. I'll do it during the weekend.


git push -u doesn't work after git remote add origin .git

VSCode Version:1.30.2
OS Version: OEL 7.5, Windows 10

Steps to Reproduce:
Per steps noted here: https://code.visualstudio.com/docs/editor/versioncontrol#_i-initialized-my-repo-but-the-actions-in-the-menu-are-all-grayed-out

run > git remote add origin https://github.com//.git in integrated terminal
run > git push -u origin master
failure text
you also cannot stage, commit, or push to your code, an origin does not show up
restart VSCode after the stage, commit, and push attempt
run git push -u origin master  works
stage, commit, and push to, an origin shows up and is able to run as well as the cloud icon in the bottom left is now showing up.

Isn't that an issue with Git instead of Code?

I would have expected Code to be able to pick up a new origin from the terminal without having to reload the app. Even the terminal does not seem to be able use the new origin until after Code is reloaded. As shown in my screen shot, it can see it, just cannot use it. This extra step is a hassle and makes one consider not using Code if they are not aware of this additional step.
Running those Git commands outside of Code does not have this issue. i am able to immediately do a push after adding an origin.

Running those Git commands outside of Code does not have this issue. i am able to immediately do a push after adding an origin.

I am absolutely sure this reproduces without VS Code.
I just understood what's happening here. After git init, there is no master branch until you do your first commit. So git is right to complain: src refspec master does not match any. The master branch doesn't exist at that point.


build puppy deb on arm and arm64

What does this PR do?
Builds the puppy deb package for ARM7 (ARM) and ARM8 (ARM64).
https://github.com/golang/go/wiki/GoArm

Can we get some movement here? ARM64 is the future of the datacenter. AWS even has A1 instances now.

@danieljimenez We are now working on supporting the full agent on ARM64 & A1s
Closing this PR as it's now obsolete


GLTF Import >Settings > Root Type does not change

Godot version
v4.0.rc2.official [d2699dc7a]
System information
Windows 10, GLES3, Nvidia RTX 3070
Issue description
In GLTF file Import Settings, when I try to change Root Node type from "Node" to "Node3d" nothing happened
Steps to reproduce

Create Cube in blender
Export as *.glb file to godot
Try to change RootType from Node3d -> Node -> ..(similar or parent types?) And press Reimport button
Conversion does not happen every time.

Minimal reproduction project
importIssue.zip

By the way, Root Type should not be allowed to select classes that don't inherit from Node (this is allowed right now).

I also stumbled upon this issue as well
I made a video showing that in another issue.
Changing from Node3D to MeshInstance3D works. But it doesn't work the other way around.
https://user-images.githubusercontent.com/3624853/221559924-b2c01be4-ac53-4344-a431-57306888032e.mp4

Can't reproduce in Godot 4.3-stable. Probably a duplicate of #78140, fixed by #79907. Closing as fixed and adding archived because it's a duplicate.


Update index.md for spelling errors and grammatical change.

Spelling corrections (builded to built) and a grammatical change to one line that read like a bad translation to English. No offense intended! :)
I have only read a few pages of the documentation and this section stuck out because of the spelling and the last sentence of the paragraph.
If you would like I could look for other errors of this kind in the rest of the pages, it might even prompt me to install Flax and give it a play with! ;)

Haha, yep, the documentation definitely could use some spelling fixes and tweaks to make it sound more idiomatic. Yes please, submit more PRs! Improvements are always appreciated


Fix some  Accessibility & SEO issues

Added lang="en" to the Html tag in _document.tsx file Learn more.
Added alt attribute to some images (I can't add alt to all images in the app because some of them need to be dynamic like articles images in that case the the value of alt should come from markdown files).
Added aria-label to links that is just icons (like github/codepen.. icons) Learn more.
Fix rel attribute value.

before rel="noopenner norefferer"
now rel="noreferrer noopener"

Unuse useRouter because there is no need to use it in static pages.
Remove unused imports.

Hey there Imad.
Thanks for the heads-up.
I just merged this into master. Thanks a lot


use python3 pwntools

Looks like they now support python3
https://github.com/Gallopsled/pwntools

do we really want this? python3 with bytes/strings makes writing exploits super annoying

will be fixed by #66


Code signing for official Bicep releases

Official Bicep releases should include bits signed with Microsoft signatures. (Authenticode for Windows binaries and equivalent for OS X and Linux)

@majastrz - can we close this or should we leave it open for linux and macOS?

@majastrz - can we close this or should we leave it open for linux and macOS?

Yeah we can close it.

Yeah we can close it.


Random text in output file

I am trying a basic test run with this package. But when I try to run the code, the output is just long line of string.
source: test.docx
ouutput file (generated): output.docx
Code:
const fs = require("fs");
const path = require("path");

const { TemplateHandler } = require("easy-template-x");

const templateFile = fs.readFileSync(path.join(__dirname, "test.docx"));

// 2. process the template
const data = {
  name: "sha",
  bio: "bla"
};

const handler = new TemplateHandler();
const gendoc = async () => {
  const doc = await handler.process(templateFile, data);
  fs.writeFileSync("myTemplate - output.docx", doc);
};

// 3. save output
gendoc();

Node version: 16.15.1

Not sure what happened but it got fixed now.
I restarted VS Code and its working now... (I dont think the IDE was the problem)


Run dvc repro in main without bertmesh

Description
dvc repro was broken in main and this fixes it. Note that dvc repro dvc.yaml still fails because of generate_validation_data_xlinear.py which requires datascience installed. I wonder whether that should be off the dvc pipeline.
Checklist

[ ] Linked to Notion or GitHub issue
[ ] Added tests
[ ] Updated README
[ ] DVC up to date

Release checklist

[ ] DVC repro up to date
[ ] Models synced in S3
[ ] Version updated
[ ] CHANGELOG.md updated
[ ] Model and package version aligned

To release:

make build
make deploy

Testing it now, doing a dvc pull and dvc status. It should fail on generate_validation_data_xlinear.py because it hasn't changed since then

100% agree with separating get_grants in a different dvc file at least.. In the mean time, dvc pull and dvc status looks fine.

Issue for breaking down pipeline https://github.com/wellcometrust/grants_tagger/issues/207


Fix issues with parenthesis

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

Project coverage is 97.49%. Comparing base (d7ba0c2) to head (3b54d75).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   97.72%   97.49%   -0.23%
==========================================
  Files           8        8
  Lines        3913     3556     -357
==========================================
- Hits         3824     3467     -357
  Misses         89       89

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


Bump dcos-diagnostics

High-level description
Backports: https://github.com/dcos/dcos/pull/5704
Bump dcos-diagnostics
In https://github.com/dcos/dcos-diagnostics/commit/43298bfb1c5af73a07f233bcd8cac757d7bd7514#diff-0ee9de7b9d9927cce9fb53251662d72aR102 we removed job_ended, duration, errors fields from bundle status when they are empty. This commit removes checking if bundle status contains that fields.
Corresponding DC/OS tickets (required)

DCOS_OSS-5254
DCOS_OSS-5256
DCOS_OSS-5241
DCOS_OSS-5261
DCOS_OSS-5255

Related tickets (optional)

DCOS-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot request-review @drewvanstone @br-lewis @makkes


feat: Removal of /config/bridge/ endpoint

Closes #4589
This PR removes the GET and POST endpoint to configure bridge credentials. The endpoint were removed from the api module as well as from the swagger spec:

keptn configure bridge ... command is still there, however it just outputs hints how to read or edit these credentials using kubectl.
Further, the keptn status command was extended to also output the URL of the Keptn bridge.

integration tests from this branch still needs to be triggered.


Synchronous mode.

Is there any way of preventing the library to use a Pool of threads to get the news? It's a cool feature when you rely on speed and that kind of things, but for example, you can't combine this feature with an already asynchronous library like Celery, when, after a several hours of downloading articles, the thread pool is not cleaned (because Celery is already a thread and will not wait for any thread you create inside one of the tasks) and you end getting an Threading library error telling you that you can't create any new Thread. When I inspect the process tree in my computer, I see near 500 alive threads linked to Celery tasks but never ending them.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/celery/app/trace.py", line 437, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/revuelta/web/piar/web/gui/tasks.py", line 654, in newspaper_extractor_task
    extractor.newspaper_extraction()
  File "/home/revuelta/web/piar/web/libraries/NewsExtractor.py", line 172, in newspaper_extraction
    news_source = newspaper.build(self.base_url, config = self.config)
  File "/usr/local/lib/python2.7/dist-packages/newspaper/api.py", line 31, in build
    s.build()
  File "/usr/local/lib/python2.7/dist-packages/newspaper/source.py", line 96, in build
    self.download_categories()  # mthread
  File "/usr/local/lib/python2.7/dist-packages/newspaper/source.py", line 155, in download_categories
    requests = network.multithread_request(category_urls, self.config)
  File "/usr/local/lib/python2.7/dist-packages/newspaper/network.py", line 97, in multithread_request
    pool = ThreadPool(num_threads)
  File "/usr/local/lib/python2.7/dist-packages/newspaper/mthreading.py", line 49, in __init__
    Worker(self.tasks)
  File "/usr/local/lib/python2.7/dist-packages/newspaper/mthreading.py", line 25, in __init__
    self.start()
  File "/usr/lib/python2.7/threading.py", line 495, in start
    _start_new_thread(self.__bootstrap, ())
error: can't start new thread

In retrospect it was never a good idea to force multithreading in this library, should have left that to the user. I think having a config option to make everything single-threaded would be fair. Will add that to the priorities list.

I think the library is flexible enough that you can manually repeat the steps of newspaper.build. This is a similar example showing you can just use the article.set_html() method of article.download() and replace newspaper's downloading framework with your own - in this case asyncio with aiohttp.
urls = [
    'http://www.baltimorenews.net/index.php/sid/234363921',
    'http://www.baltimorenews.net/index.php/sid/234323971',
    'http://www.atlantanews.net/index.php/sid/234323891',
    'http://www.wpbf.com/news/funeral-held-for-gabby-desouza/33874572',
    'http://www.tennessean.com/story/news/politics/2015/06/30/obama-focus-future-health-care-burwell-says/29540753/',
    'http://www.atlantanews.net/index.php/sid/234323901',
    'http://www.baltimorenews.net/index.php/sid/234323975',
    'http://www.utsandiego.com/news/2015/jun/30/backcountry-lilac-development-opposition-general/',
    'http://www.newsnet5.com/newsy/apples-ebook-pricing-scandal-a-long-road-to-a-small-fine',
    'http://www.baltimorenews.net/index.php/sid/234323977',
    'http://www.wsmv.com/story/29447077/trying-to-make-hitting-skid-disappear-maddon-hires-magician',
    'http://www.atlantanews.net/index.php/sid/234323913',
    'http://www.baltimorenews.net/index.php/sid/234323979',
    'http://www.newsleader.com/story/sports/2015/06/30/virginia-baseball-fan-happy-proven-wrong/29540965/',
    'http://www.baltimorenews.net/index.php/sid/234323981',
    'http://www.baltimorenews.net/index.php/sid/234323987',
    'http://www.mcall.com/entertainment/dining/mc-fratzolas-pizzeria-bethlehem-review-20150630-story.html',
    'http://www.atlantanews.net/index.php/sid/234323911',
    'http://www.baltimorenews.net/index.php/sid/234323985',
    'http://www.atlantanews.net/index.php/sid/234323887',
    'http://wtvr.com/2015/06/30/man-who-vandalized-confederate-statue-deeply-regrets-actions/',
    'http://www.baltimorenews.net/index.php/sid/234323923',
    'http://www.witn.com/home/headlines/Goldsboro-teens-charged-with-shooting-into-home-311067541.html',
    'http://www.atlantanews.net/index.php/sid/234323995'
]

# ---------------------------------------------------------------- #

print("Synchronous")

import time, newspaper, hashlib

start_time = time.time()

for url in urls[0:25]:
    print(url)
    article = newspaper.Article(url)
    try:
        article.download()
        article.parse()
    except newspaper.article.ArticleException:
        continue

    with open(hashlib.md5(url.encode('utf-8')).hexdigest() + ".txt", "w") as f:
        f.write(article.text)

print("sync", time.time() - start_time, "\n")

# ---------------------------------------------------------------- #

print("Aynchronous")

import time, asyncio, aiohttp, newspaper, hashlib

start_time = time.time()

async def get_article(url):
    print(url)

    async with aiohttp.get(url) as response:
        content = await response.read()
        article = newspaper.Article(url)
        article.set_html(content)
        try:
            article.parse()
        except newspaper.article.ArticleException:
            return

        with open(hashlib.md5(url.encode('utf-8')).hexdigest() + ".txt", "w") as f:
            f.write(article.text)

async def main(urls):
    tasks = []
    for url in urls[0:25]:
        task = asyncio.ensure_future(get_article(url))
        tasks.append(task)
    await asyncio.wait(tasks)

loop = asyncio.get_event_loop()
loop.run_until_complete(main(urls))
loop.close()

print("async", time.time() - start_time, "\n")

@AlJohri I tried to implement the asynchronous portion of the code for a list of more than 1K urls. I am using Article from newspaper library to extract important information such as title, text, keywords and summary from news articles. Code worked fine for around 50 urls. But when more urls were passed,  I am not getting response for most of the urls. I tried to return 'html' to see if aiohttp.session.get was generating response in the first place, which it was. I believe it has do something to do with Article from newspaper library and asyncio. However, I can't find the solution as asyncio is very new to me.
`class ContentExtractor():
def __init__(self,urls):
    self.urls = urls

def content_to_dataframe(self):
    results=[]

    async def check_url_get_content(session,url):
        result = {}
        try:
            async with session.get(url) as resp:
                if resp.status==200:
                    html = await resp.read()
                else:
                    html = 'none'
        except:
            html = 'none'
        article = Article(url)
        article.set_html(html)
        try:
            article.parse()
            #article.nlp()

            title = article.title
            text = article.text
            #keywords = article.keywords
            #summary = article.summary

        except:
            title = 'none'
            text = 'none'
            #keywords = 'none'
            #summary = 'none'

        result['Title'] = title
        result['Text'] = text
        #result['Keywords'] = keywords
        #result['Summary'] = summary

        return result

    async def main():
        urls = self.urls
        tasks = []
        async with aiohttp.ClientSession() as session:
            for url in urls:
                task = asyncio.ensure_future(get_content(session,url))
                tasks.append(task)

            responses = await asyncio.gather(*tasks)

        return responses

    loop = asyncio.new_event_loop()
    results = loop.run_until_complete(main())
    loop.close()
    df = pd.DataFrame(results)

    return df`


Make UFALLicenseStep use proper localised messages

fixed in pull request #165

will be properly tested during localisation milestone


Add and test the 3 level menu modifications desribed in

https://github.com/bootscore/bootscore/discussions/347

Thank you! But please do not change the nav-walker, because 3 or more levels depth is not supportet by Bootstrap and we follow straight the Bootstrap's way. Changing the nav-walker is something what you can do in your child.

Thanks, got it. And I will keep in  mind your reasonable position


Links aren't shown in captcha message and in the welcome message

Probably similar to https://github.com/backmeupplz/shieldy/issues/76
Now there's no wrong highlighting, just not shown

Just checked it — everything works. Please, provide a way to reproduce the issue or at least the content of /viewConfig. Thank you.

Hm, welcome message works, but captcha doesn't use markdown. Worth investigating then.

added support for formatted messages to the custom captcha messages, thank you for the suggestion :)


⚠ Bofrost.lu has degraded performance

In 6205753, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1049 ms

Resolved: Bofrost.lu performance has improved in 3b928a8.


Mark flaky tests as flaky

LFTM

Looks...err... flaky to you? 😉

I took it as "looks flawless to me"


pipelines with py3.11 on 3.1.1 branch

update the pipelines and various docs on the 3.11 branch to add support for python 3.11

I think there is something that prevents the actions from starting since the destination branch is not master but 3.1.1
not sure if there is something in the setting to change this (I don't have access to them)
on my fork the pipeline now passes https://github.com/CaselIT/falcon/actions/runs/2959520819


cataclysm experimental install fails

Regular install works fine: brew install homebrew/games/cataclysm --with-tiles
Experimental build install fails: brew install homebrew/games/cataclysm --with-tiles --HEAD
Error message in terminal:
make[1]: *** [obj/map_iterator_test.o] Error 1
make[1]: *** [obj/creature_test.o] Error 1
1 error generated.
make[1]: *** [obj/npc_test.o] Error 1
1 error generated.
make[1]: *** [obj/monster_test.o] Error 1
1 error generated.
make[1]: *** [obj/line_test.o] Error 1
player_test.cpp:3:10: fatal error: 'morale.h' file not found
#include "morale.h"
^
1 error generated.
make[1]: *** [obj/player_test.o] Error 1
make: *** [tests] Error 2
make: *** Waiting for unfinished jobs....

Can you post brew gist-logs cataclysm, please? Thanks!
HEAD builds aren't always stable, so this might not be specific to Homebrew.  Can you try compiling outside of Homebrew and see if you get the same failure?

I can repro building outside of Homebrew.

Looks like this is a makefile bug. From the tests makefile:
# Allow use of any header files from cataclysm.
# Catch sections throw unused variable warnings.
CXXFLAGS += -I../src -Wno-unused-variable

We're passing our own CXXFLAGS and our value isn't being appended to, so it's missing the include path it needs to build.

Thanks mistydemeo. Guessing I don't need to include the logs now you've confirmed that? I can if needed.

@mistydemeo so is there workaround or some kind of dirty hack to make it build? I've fiddled some time with CXXFLAGS but got nothing.

Suddenly it builded fine yesterday.

I'm having a similar issue:
https://gist.github.com/8c069d13f9a84f65963e

Pushed a fix for this and #482; --HEAD works for me now.


Persistent cache with RocksDB

Available for code review, check out the unit tests in test-cache.cpp for an overview of the functionality.
Integration tests:

Set up datasource with static GeoJSON tiles as described in the pull request to Polylines.
Run mapget with cache options, for example:

mapget serve --cache-type rocksdb --cache-dir "custom-cache-dir" --cache-max-tiles 30 --clear-cache 1

and jump to the tiles in erdblick. Debug logs contain output about cache hits and misses. Log level needs to be set via environment variable, I will investigate why the CLI flag doesn't work in the scope of the next ticket.
Closes #36

I have now further investigated and found some issues:

sometimes the LOCK file stays when I stop the source (with SIGTERM), either we avoid this kind of locking behavior or we ensure that it gets properly reset on-demand at ever
when keeping the cache from one session to another, there seems to be issues with restoring the field cfg - I recognized this by always using the same style and getting different results, the property I have used in the property was no longer available when the layer has been restored from the cache - have a look at the following screenshots, the first one is the intial one, the show how it looks like when using the persistent cache:


As an unverified user, I want to verify all my claims together on the profile page so that I only need to verify my details once with IDEM

Context
Users need to verify their claims before using IDEM for different exchanges.
AC
Fill in personal details on the profile page

Given I have entered the profile page

When I fill in my personal details

Then I hit the save button

And the details are saved on the system

Verify mobile and email separately #245  #285 #246

Given I am entering my details on the profile page

When I enter the mobile number on the profile page

And I hit the verify button on the mobile page

Then I receive the verification code SMS

And put in the code for verification

Given I am entering my details on the profile page

When I enter an email address

And hit the verify button

Then I receive a verification email

And I click the link for email verification

Verify all the user details with GreenID

When I have filled in all the required personal information on the profile page

And verified the mobile number and email address

Then the greyed verify button becomes active

Test steps

Awaiting greenID signup


A possible idea towards fixing useSelector tearing in Concurrent Mode

This is partly for #1351.
This tries to take the same approach as use-subscription by React team.
It's not exactly the same, because in react-redux, a selector doesn't have to be stable.
(Also noticed, equalityFn in callback is read from the closure.)
I don't fully understand #1455, but the approach is probably different.
There are three test cases failing. two of them I know why. the last one I'm not sure.
I've tested it with my tool, but ideally we should add a test like the one in use-subscription.
Do we take it seriously?
Those who might be interested: @markerikson @MrWolfZ @eddyw @salvoravida

https://gist.github.com/bvaughn/054b82781bec875345bd85a5b1344698
Oookay, we should probably wait for the new one.

proud to see that finally my ideas were right
https://github.com/reduxjs/react-redux/pull/1455#discussion_r344973322
useSubscription also read values while render, and re-enque a setState,
while instead we need ONLY to "stream" the mutable Source  (like redux subscription)
to React states ...
https://github.com/reduxjs/react-redux/pull/1455#discussion_r345138425
useStateRef + batched update on redux-listeners callbacks!

I'm going to close this PR, because it's no longer intended to merge in. We will be discussing a new implementation with useMutableSource in #1351.
However, the implementation in this PR is interesting and worth learning.
Basically, using useRef is a bad sign. For example, #1536 is a real problem.
This implementation doesn't depend on useRef. This technique could be applied to other use cases.


uhh scale factor > 8 seems generally broken in img2img/in/outpainting

try to do an in/outpaint at like 16, i think my canvas monitor workarounds are a Bad Plan™

fixed in https://github.com/zero01101/openOutpaint/commit/5ac1da7ce3180871c4703c0065f6e564ba5fec4c


Cxf 8710

The change is that queryConfigEnabled will automatically switch after calling either getConfigParameters or isQueryConfigEnabled, which is what SwaggerUiService will do.
It'd probably be cleanest if SwaggerUiConfig had to be constructed with a builder (so it could set  queryConfigEnabled if necessary in the final build() method, rather than relying on external calls) but that would be an API change.

Hi @reta, I updated the pull request after the code review.

Thanks a lot, @awrb !


Host key verification failed.

I got key auth issues when use this plugins:
+ git add --all --force
0s
2
+ git commit -m '[skip ci] Commit dirty state'
0s
3
+ git remote add deploy git@git.coding.net:yangxuan8282/test_droneci.git
0s
4
+ git push deploy HEAD:master
0s
5
Host key verification failed.
1s
6
fatal: Could not read from remote repository.
1s
8
Please make sure you have the correct access rights
1s
9
and the repository exists.
1s
10
exit status 128

I have add the ssh key with:
drone secret add --image=plugins/git-push yangxuan8282/gitblog-bkend GIT_PUSH_SSH_KEY ~/.ssh/coding

and the same key works on hosts, the permissions of ssh key is 600

drone secret add --image=plugins/git-push yangxuan8282/gitblog-bkend GIT_PUSH_SSH_KEY @~/.ssh/coding

Missing @

thanks for reply, but I still encounter the same issues
should I delete previous added ssh_key? but I haven't found commands in usage or documents
and the ~ not works after add the @, so I try to replace it with absolute path:
drone secret add --image=plugins/git-push yangxuan8282/gitblog-bkend GIT_PUSH_SSH_KEY @/root/.ssh/coding

I also have tried use ${HOME} to replace ~
drone secret add --image=plugins/git-push yangxuan8282/gitblog-bkend GIT_PUSH_SSH_KEY @${HOME}/.ssh/coding

ok, there are some progress
first I delete repo from drone:
drone repo rm yangxuan8282/gitblog-bkend

then re-add it in drone web ui
and add the key with:
drone secret add --image=plugins/git-push yangxuan8282/gitblog-bkend GIT_PUSH_SSH_KEY @/root/.ssh/coding

sign the YAML file :
drone sign yangxuan8282/gitblog-bkend

this time I got:
+ git add --all --force
+ git commit -m '[skip ci] Commit dirty state'
+ git remote add deploy git@git.coding.net:yangxuan8282/test_droneci.git
+ git push deploy HEAD:master
Warning: Permanently added 'git.coding.net,<IP_ADDRESS>' (RSA) to the list of known hosts.
To git@git.coding.net:yangxuan8282/test_droneci.git
 ! [rejected]        HEAD -> master (fetch first)
error: failed to push some refs to 'git@git.coding.net:yangxuan8282/test_droneci.git'
hint: Updates were rejected because the remote contains work that you do
 hint: not have locally. This is usually caused by another repository pushing
 hint: to the same ref. You may want to first integrate the remote changes
 hint: (e.g., 'git pull ...') before pushing again.
 hint: See the 'Note about fast-forwards' in 'git push --help' for details.
 exit status 1

seems I misunderstand the usage of this plugins, should I pull the repo first with  plugins/git, then push it? I'm trying compile a go program, then push to another repos ( git@git.coding.net:yangxuan8282/test_droneci.git )
anybody will share a working .drone.yml about use this plugins?

You local version is outdated compared to the remote repo. Maybe you want to force push the changes.

Was unable to make this work too, sadly :-(
Did
drone secret add --image=appleboy/drone-git-push  PLUGIN_SSH_KEY @`
Signed .drone.yml, committed it, pushed to trigger build:
git remote add deploy dokku@<host>.com:project
git push deploy HEAD:master
ssh: connect to host <host>.com port 22: Connection refused
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
exit status 128

Any ideas on how to troubleshoot this?

@jfornoff
Please make sure you can access the ssh host with ssh key on the terminal.


abbaye-des-morts: init at 2.0.1

Motivation for this change
A fun game I discovered and wanted to play. Packaged it BTW.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@grahamcofborg build abbaye-des-morts

I don't know how to solve this mac problem...

How can I test with clang ?

I don't know how to solve this mac problem...

If you are not able to solve this for darwin, you need to specify the platforms as per https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes

I've corrected the problem with mac

@GrahamcOfBorg build abbaye-des-morts

it doesn't appear to be a problem coming from me

Since the mac building the package seems to have been our of resources:
@GrahamcOfBorg build abbaye-des-morts


LanceDB support

While Qdrant has local support and provides a docker image, LanceDB, another Rust vector database, runs serverless and in process, similar to Sqlite.
Qdrant has no GPU support yet when building the index, LanceDB does.
https://lancedb.github.io/lancedb/ann_indexes/#creating-an-ivf_pq-index
Query wise LanceDB appears to be as fast or faster then other vector databases and has lower memory requirements due to it being serverless.
https://blog.lancedb.com/benchmarking-lancedb-92b01032874a/
https://github.com/prrao87/lancedb-study
These can potentially speed up RAG pipelines compared to using Qdrant
https://blog.lancedb.com/accelerating-deep-learning-workflows-with-lance/
Rust API pointers:
https://docs.rs/lancedb/latest/lancedb/
https://lancedb.github.io/lancedb/reranking/
https://towardsdatascience.com/scale-up-your-rag-a-rust-powered-indexing-pipeline-with-lancedb-and-candle-cc681c6162e8

Absolutely! I was actually investigating it yesterday to set it up.

Embedding wise LanceDB only supports OpenAI.... while Qdrant appears to support everything.
https://qdrant.tech/documentation/embeddings/
I wonder could Ollama provide embeddings to LanceDB through an OpenAI compatible api?
https://ollama.com/blog/embedding-models
https://github.com/ollama/ollama/issues/2416

It looks like you can define a schema and store the vectors. I think we outperform the embedding speed of lancedb if we do it ourselves 👯


Mark commented tests as pending

Commented code is gross! Ideally I'd just write the code for these
tests, but I guess the intent here was to make 'em pass somehow. Marking
them as pending is a nice alternative way to remind us that these tests
are broken (but important to get working!)

Just doing a little inbox cleanup 😄


[FEATURE REQ] ServiceBus receiver spans should be correlated to producer

Library name
Azure.Messaging.ServiceBus
Please describe the feature.
ServiceBus Receiver client does not correlate receive/settle activities to message context.
We should do it in the following way:

Batch receive: add links to contexts of received messages. Links could only be added at the start time, so we should create receive span after messages are received, but set the correct start time
Async iterator: create receive span per message and add single link to the received context
Settle:  create span per message  and add a single link to the context in the message

Related issue: https://github.com/microsoft/ApplicationInsights-dotnet/issues/2656

related issue: https://github.com/microsoft/ApplicationInsights-dotnet/issues/2656

We are correlating the receive span with the individual messages spans - https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/src/Receiver/ServiceBusReceiver.cs#L333
I think what is missing is the correlation for the settlement methods.

As @lmolkova mentioned, there is an issue with the receive spans for OpenTelemetry as links need to be added before the span is started. We can consider branching on whether Activity source is enabled, and if so, start the span after the receive is completed and backdate the time as suggested.

Settlement spans have been added. The receiver spans part is waiting on guidance from @lmolkova.

Thank you @JoshLove-msft!!
Regarding receiver: or better or for worse AI SDK ignores links created after activity starts: https://github.com/microsoft/ApplicationInsights-dotnet/blob/main/WEB/Src/DependencyCollector/DependencyCollector/Implementation/AzureSdk/AzureSdkDiagnosticsEventHandler.cs#L73, i.e. this does not work for old DiagnsoticSource path either

Regarding receiver: or better or for worse AI SDK ignores links created after activity starts: https://github.com/microsoft/ApplicationInsights-dotnet/blob/main/WEB/Src/DependencyCollector/DependencyCollector/Implementation/AzureSdk/AzureSdkDiagnosticsEventHandler.cs#L73, i.e. this does not work for old DiagnsoticSource path either

Yep, that matches what I was seeing with how the Links property is set in the DiagnosticActivity.


Smart Data Archiving (Big Objects Opportunities)

0 - Script Writing

@Billflorio  can you find the docs for this? I'm not seeing them. The UK superstars (Louise et al) reviewed the Data Best Mgmt doc and decided it already had lots of SFDO videos and didn't need new ones. Was this in there?  https://help.salesforce.com/s/articleView?id=sfdo.NPSP_Data_Mgmt_BP.htm&type=5

I'm totally confused about how big objects and data best practices are related.

OK, I won't pull this in for now.


DNS not working on Ubuntu 18.04

Hi,
I'm using Hetzner, VPS with Ubuntu 18.04 and ran your tool, default settings with the exception of ipv6 which is disabled.
The client is still a Lubuntu 18.04 running inside VirtualBox, the host system is again Ubuntu 18.04.
The ping works for IPs, but not for domains, so clearly a DNS issue.
Any help is appreciated. Thanks!

PS: If I stop the openvpn service
service openvpn stop
and run it like
openvpn --client --config /etc/openvpn/client.conf
the DNS works again.

Hello,
Can you run cat /etc/openvpn/server.conf on the server and dig on the client and post both outputs here?

Of course :)
From the server:
port 1194 proto udp dev tun user nobody group nogroup persist-key persist-tun keepalive 10 120 topology subnet server <IP_ADDRESS> <IP_ADDRESS> ifconfig-pool-persist ipp.txt push "dhcp-option DNS <IP_ADDRESS>" push "dhcp-option DNS <IP_ADDRESS>" push "redirect-gateway def1 bypass-dhcp"  dh none ecdh-curve prime256v1 tls-crypt tls-crypt.key 0 crl-verify crl.pem ca ca.crt cert server_oVZW607kNoDbLhVS.crt key server_oVZW607kNoDbLhVS.key  auth SHA256 cipher AES-128-GCM ncp-ciphers AES-128-GCM tls-server tls-version-min 1.2 tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256 status /var/log/openvpn/status.log verb 3
and from the client:
; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> ;; global options: +cmd ;; connection timed out; no servers could be reached

From the client, can you do ping <IP_ADDRESS> then dig @<IP_ADDRESS>?

ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=56 time=69.0 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=56 time=70.4 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=56 time=70.7 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=56 time=69.2 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=56 time=69.8 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=56 time=68.8 ms
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=56 time=69.1 ms
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=56 time=71.3 ms
64 bytes from <IP_ADDRESS>: icmp_seq=12 ttl=56 time=70.7 ms
64 bytes from <IP_ADDRESS>: icmp_seq=13 ttl=56 time=69.1 ms
64 bytes from <IP_ADDRESS>: icmp_seq=14 ttl=56 time=70.3 ms
^C
--- <IP_ADDRESS> ping statistics ---
14 packets transmitted, 11 received, 21% packet loss, time 13072ms
rtt min/avg/max/mdev = 68.842/69.880/71.320/0.890 ms

and
dig @<IP_ADDRESS>

; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> @<IP_ADDRESS>
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23710
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;.				IN	NS

;; ANSWER SECTION:
.			9606	IN	NS	k.root-servers.net.
.			9606	IN	NS	l.root-servers.net.
.			9606	IN	NS	m.root-servers.net.
.			9606	IN	NS	a.root-servers.net.
.			9606	IN	NS	b.root-servers.net.
.			9606	IN	NS	c.root-servers.net.
.			9606	IN	NS	d.root-servers.net.
.			9606	IN	NS	e.root-servers.net.
.			9606	IN	NS	f.root-servers.net.
.			9606	IN	NS	g.root-servers.net.
.			9606	IN	NS	h.root-servers.net.
.			9606	IN	NS	i.root-servers.net.
.			9606	IN	NS	j.root-servers.net.

;; Query time: 69 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Oct 05 19:58:52 +03 2018
;; MSG SIZE  rcvd: 431

Ok so nothing wrong here.
Can you post the output of cat /etc/resolv.conf and systemd-resolve --status --no-pager?

From the client:
cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "systemd-resolve --status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver <IP_ADDRESS>

and
systemd-resolve --status --no-pager
Global
          DNSSEC NTA: 10.in-addr.arpa
                      16.172.in-addr.arpa
                      168.192.in-addr.arpa
                      17.172.in-addr.arpa
                      18.172.in-addr.arpa
                      19.172.in-addr.arpa
                      20.172.in-addr.arpa
                      21.172.in-addr.arpa
                      22.172.in-addr.arpa
                      23.172.in-addr.arpa
                      24.172.in-addr.arpa
                      25.172.in-addr.arpa
                      26.172.in-addr.arpa
                      27.172.in-addr.arpa
                      28.172.in-addr.arpa
                      29.172.in-addr.arpa
                      30.172.in-addr.arpa
                      31.172.in-addr.arpa
                      corp
                      d.f.ip6.arpa
                      home
                      internal
                      intranet
                      lan
                      local
                      private
                      test

Link 9 (tun0)
      Current Scopes: none
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no

Link 2 (enp0s3)
      Current Scopes: DNS
       LLMNR setting: yes
MulticastDNS setting: no
      DNSSEC setting: no
    DNSSEC supported: no
         DNS Servers: <IP_ADDRESS>

Here is the issue, <IP_ADDRESS> can't work.

Hmm .. if I disable the openvpn service it works. How can I make it work through the VPN?
Thanks!

It's definitely a bug on the client-side. I assume you're using Network Manager, so try to set the DNS servers manually

After some more debugging it seems the fix was by installing "resolvconf" package :) Maybe your script can install that automatically?
Thanks for the help.

On the client

So you can't do it but you can add a note in the install section.

I added it in the FAQ in the wiki.


Email notification

Need some help please, after I modify the settings.json file to reflect the smtp server, sender and receiver, WACS crashes and won't start anymore.
Ho do I go about modifying the settings.jason so I can receive notifications?
I'm on version <IP_ADDRESS>8

Sounds like your settings.json is not valid JSON anymore, probably you forgot some quote or closing tag. If you run the program from the command line you should be able to see an error message hinting at where the syntax error is. If you can't figure it out you can always delete settings.json and it will be replaced with a fresh copy of settings_default.json.

Thank you very much WouterTinus, running wacs fro the command prompt pointed me to the error, nifty little program.
One other question, does wacs need to be running (open in the command prompt) or can I quit it at the menu and still receive notifications?

One other question, does wacs need to be running (open in the command prompt) or can I quit it at the menu and still receive notifications?

You can quit the console window, it works using a scheduled task. In the next release the window won't close if there is an error like this, so the error is easier to spot.

The window doesn't autoclose anymore on this and other startup errors since version 2.1.10.


I want all my types as devDependencies. How do I do this?

Right now your extnesion copies them to "dependencies". I think we dont need them there, right?

You can use the types-autoinstaller.saveAsDevDependency setting to do this.

Thank you so much!


fix wildcard handling in RefSpec matching

The guard logic here was inverted, resulting in an always-false
branch, which meant that the suffix after the wildcard was
incorrectly ignored.
Wildcards were treated as 1-or-more matches, but git treats them as
0-or-more. This change aligns go-git with git, but represents a bit
of a breaking change for go-git.

I believe that windows tests are failing because a network problem. @mcuadros can you restart the test?


Lines starting from 0

Hi,
would it be possible to add an option to start lines from 0 instead of 1 ?
I am working on a chip emulator in assembly which has offsets into tags starting from 0.
Thanks :)

@markusmoenig Sorry, but I'm not sure I understand the feature that you need. Do you need the first line to have a line number, which is labeled "0", or do you need the internal line count (in the line map) to start at 0?
Changing the line number that is printed to the left of each line would instead require a change, but a very simple one.
Internally, the line map already starts from 0 and the API allows to use both 0-based or 1-based line numbers when creating a position value.

I would need the line numbers to count up from 0. Is that already in the API ? Did not see it.
Thankd

@mchakravarty  While I have your attention, how do get the current CURSOR position when it changes ? I seem to only be able to access selections and scroll positions ?
I would need to get the current line position to show help information about the assembly instruction on that line.
Thanks

I would need the line numbers to count up from 0. Is that already in the API ? Did not see it.

No, that's not yet supported, but easy to add. I'll try to have a look at it this or next week. (Or feel free to have a go yourself and send a PR.)

While I have your attention, how do I get the current CURSOR position when it changes ? I seem to only be able to access selections and scroll positions ?

You can do this with the setInfo argument, which I added recently — see https://github.com/mchakravarty/CodeEditorView/blob/31c87f788bf948f158e9e22f0e537796b0566dd9/Sources/CodeEditorView/CodeEditor.swift#L209


Feature idea: ability to edit saved boards

Ramsey, this is such a cool tool!  Thank you.  I've been using it for note taking when I want to cut and paste from my screen.  I'd love to be able to continue work on a board though.  Would want to be able to drag a saved .html Board file back onto the Electron app and pick up where I left off.
:)

Yeah! This is not terribly hard to implement, either. I will give it a shot.


TypeError when running webcrawler

Here is the error:
Any idea why I'm getting this. I have callback defined.
TypeError: undefined is not a function
at Object.Crawler.callback (/Users/integral/Documents/github/DevDoodles/DevDoodles/webcrawler/js/main.js:14:9)
at Crawler._onContent (/Users/integral/Documents/github/DevDoodles/DevDoodles/webcrawler/node_modules/crawler/lib/crawler.js:462:17)
at Request._callback (/Users/integral/Documents/github/DevDoodles/DevDoodles/webcrawler/node_modules/crawler/lib/crawler.js:352:18)
at Request.self.callback (/Users/integral/Documents/github/DevDoodles/DevDoodles/webcrawler/node_modules/crawler/node_modules/request/request.js:236:22)
at Request.emit (events.js:98:17)
at Request. (/Users/integral/Documents/github/DevDoodles/DevDoodles/webcrawler/node_modules/crawler/node_modules/request/request.js:1142:14)
at Request.emit (events.js:117:20)
at IncomingMessage. (/Users/integral/Documents/github/DevDoodles/DevDoodles/webcrawler/node_modules/crawler/node_modules/request/request.js:1096:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
Here is my simple implementation:
var Crawler = require("crawler");
var c = new Crawler({
maxConnections : 10,
// This will be called for each crawled page
callback : function (error, result, $) {
    if (error){
        // Handle error
    }

    // $ is Cheerio by default
    //a lean implementation of core jQuery designed specifically for the server
    $('a').each(function(index, a) {
        var toQueueUrl = $(a).attr('href');
        //show urls in console
        console.log(toQueueUrl);
        c.queue(toQueueUrl);
    });
},

// This will be called when crawler has empty queue
onDrain : function(){
    console.log('nothing more to crawl');
}

});
// Queue just one URL, with default callback, start at cnn
c.queue('http://cnn.com');

Ok, this may be due to the fact that the crawler reaches a page that has no  tags.

Actually it seems that jQuery might be failing to be injected or something among those lines, I still get the error - even after implementing a check for pages with no 'a' tags

you lost jQuery: true?


sync draft6 updates

excluding those to optional

seeing some of the same issues preventing sync of optional in work done on draft7 support

Codecov Report

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

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   91.76%   91.76%
=======================================
  Files           7        7
  Lines        1130     1130
=======================================
  Hits         1037     1037
  Misses         65       65
  Partials       28       28

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 91ff43d...76be2a9. Read the comment docs.

thanks for the updates

FYI, draft07 support added


[Feature Request] Support standalone mobile web app

Is your feature request related to a problem? Please describe.
It would be nice for Mango to support the standalone web app system in iOS and Android. This allows it to act like an app on its own, rather than only being accessible in a browser tab.
Describe the solution you'd like
This can be enabled trivially by serving a few meta tags in the Web page output.
Describe a small use-case for this feature request
The use case is to run Mango as a standalone app rather than a browser tab.
Additional context
Note that this is related to, but distinct from, #185. Support for offline reading is common among standalone web apps in this general category, but not required.

We do have #262. Is that what you are looking for?

We do have #262. Is that what you are looking for?

Without background workers that really just ends up being a multi-window-moded browser experience rather than something that feels self-contained and more like an app.
Yes it's not clogging up your tabs, but it's a very subpar experience and not really a web app.

@GlassedSilver Yeah I totally understand, and in fact we do have plans for an official React Native app (it's in a private repository at the moment). I was just replying to what @alethiophile said as I think we already have what they were requesting

This can be enabled trivially by serving a few meta tags in the Web page output.

I am going to close the issue because

The requested feature seems to exist already. If I misunderstand what you said, please let me know, and we can reopen the issue.
I think a dedicated React Native app will offer a better mobile experience. I would rather not go down the progressive web app rabbit hole.


Is there a way to train on custom data?

hi, I admire your skills!
Is there an easier way to train custom data?
Or does it already exist?
Thx 👍

Hello, @byunsunghun, I hope you find the repository useful!
This is somewhat duplicate of https://github.com/Deci-AI/super-gradients/issues/929. Please go over the issue.
Also, you have a great snippet with a usage of custom dataset ("US Coins") in our YOLO-NAS starter notebook!
Good luck!


"Exception at Activate" error for "Gather" extension, not sure how to resolve?

Environment data

VS Code version: 1.60.0
Jupyter Extension version (available under the Extensions sidebar): v2021.8.2031190714
Python Extension version (available under the Extensions sidebar): v2021.9.1191016588
OS (Windows | Mac | Linux distro) and version: macOS 11.5.2
Python and/or Anaconda version: 3.9.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv (via Poetry)
Jupyter server running: N/A? (I'm not sure, more details below)

Problem statement
I'm opening this issue here because that's where the error I encountered pointed me to
When launching a Python project that is using Poetry to manage dependencies (honestly not sure if this is applicable, but I only use Poetry projects these days), I get an error at the bottom left that says Gather: Exception at Activate Please reload VS Voce:

I reload VS Code, restart, etc., and it doesn't seem to make this error go away. Is there a way to look at more detail about the error that's being encountered? I don't really understand what "Gather" is, and there's no direction in the pop-up to let the user (me) look for additional logging about what's wrong.
I can reproduce this reliably even when I disable all extensions and just enable this Gather extension manually (after enabling Python/Jupyter - Python/Jupyter seem to enable fine though).

Hi @macintacos, if you're not familiar with what the Gather extension provides, then it would be safe to just uninstall it. :) It's an experimental extension designed to help you extract Python code from a notebook or Python script that generates a specific result (plot, value, table, etc). See https://marketplace.visualstudio.com/items?itemName=ms-python.gather.


Sidekiq is not running on the QA & prod server, it only running on staging

QA is the more urgent.
I hand modified the configuration to :inline on the two servers to allow for the demo planned on 2/9
Please do not fix this until after the demo....
sudo service tiger-data-workers status
× tiger-data-workers.service - tiger-data-workers
     Loaded: loaded (/etc/systemd/system/tiger-data-workers.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-02-07 18:19:49 UTC; 1 day 3h ago
    Process: 384369 ExecStart=/bin/bash --login -c /usr/local/bin/bundle exec sidekiq -c 4 -q high -q default -q low -q super_low -e qa (code=exited, status=127)
   Main PID: 384369 (code=exited, status=127)
        CPU: 145ms

Feb 07 18:19:49 tigerdata-qa1 systemd[1]: tiger-data-workers.service: Scheduled restart job, restart counter is at 4.
Feb 07 18:19:49 tigerdata-qa1 systemd[1]: Stopped tiger-data-workers.
Feb 07 18:19:49 tigerdata-qa1 systemd[1]: tiger-data-workers.service: Start request repeated too quickly.
Feb 07 18:19:49 tigerdata-qa1 systemd[1]: tiger-data-workers.service: Failed with result 'exit-code'.
Feb 07 18:19:49 tigerdata-qa1 systemd[1]: Failed to start tiger-data-workers.

Turns out on production the workers just needed a restart.  I'm going to look into why they are not being restarted on a deployment...


TestsetGenerator() not producing the "response" field

Hi! I am trying to generate a test set using the following code:
Ragas version: 0.2.3
Python version: 3.11.9
from ragas.llms import LangchainLLMWrapper
from ragas.embeddings import LangchainEmbeddingsWrapper
from ragas.testset import TestsetGenerator

def generate_test_set(llm,
                      embedder,
                      documents
                    ):

    generator_embeddings =  LangchainEmbeddingsWrapper(embedder)

    generator_llm = LangchainLLMWrapper(llm)

    generator = TestsetGenerator(llm=generator_llm,
                                 embedding_model=generator_embeddings)

    test_dataset = generator.generate_with_langchain_docs(documents, testset_size=1)

    return test_dataset

test_dataset = generate_test_set(llm=llm, embedder=embedder, documents=documents)

My documents variable is a list of langchain_core.documents.base.Document. each of them containing a page_content and a metadata={'title'} keys.
However I only obtain the following output columns:
user_input | reference_contexts | reference | synthesizer_name

I suppose "reference_contexts" is the "retrieved_contexts" needed by the metrics later on (so I changed the column name), but I don't get the "response" field, needed for example for FactualCorrectness and SemanticSimilarity metrics calculation.
Is there a way to get "response" and not just "reference"?  Otherwise I will get a semantic similarity of 100% by duplicating "reference" as "response".
Best regards,
Rubén.

"response" is the generated from your model not the test generator, same for "retrieved_contexts". Your evaluation dataset should have both the fields from test generator user_input | reference_contexts | reference and added to them values returned from your model: response | retrieved_contexts


Same reward thought the training in DDPG

agent = DRLAgent(env = env_train)
DDPG_PARAMS = {
    "batch_size": 4096,
    "buffer_size": 1000000,
    "learning_rate": 0.0003,
    "learning_starts": 100,
    "tau":0.02,
}

model_ddpg = agent.get_model("ddpg",model_kwargs = DDPG_PARAMS)

#training DDPG Agent
trained_ddpg = agent.train_model(model=model_ddpg,
                             tb_log_name='ddpg',
                             total_timesteps=50000)

----------------------------------
| time/              |           |
|    episodes        | 4         |
|    fps             | 29        |
|    time_elapsed    | 189       |
|    total_timesteps | 5608      |
| train/             |           |
|    actor_loss      | -11.6     |
|    critic_loss     | 0.0618    |
|    learning_rate   | 0.0003    |
|    n_updates       | 5507      |
|    reward          | 0.5398047 |
----------------------------------
day: 1401, episode: 10
begin_total_asset: 100000.00
end_total_asset: 259256.35
total_reward: 159256.35
total_cost: 138.56
total_trades: 72857
Sharpe: 0.778
=================================
----------------------------------
| time/              |           |
|    episodes        | 8         |
|    fps             | 29        |
|    time_elapsed    | 386       |
|    total_timesteps | 11216     |
| train/             |           |
|    actor_loss      | -3.94     |
|    critic_loss     | 0.0111    |
|    learning_rate   | 0.0003    |
|    n_updates       | 11115     |
|    reward          | 0.5398047 |
----------------------------------
----------------------------------
| time/              |           |
|    episodes        | 12        |
|    fps             | 28        |
|    time_elapsed    | 584       |
|    total_timesteps | 16824     |
| train/             |           |
|    actor_loss      | -1.22     |
|    critic_loss     | 0.0419    |
|    learning_rate   | 0.0003    |
|    n_updates       | 16723     |
|    reward          | 0.5398047 |
----------------------------------

I am trying to use DDPG for my StockTradingEnv provided by FINRL. The rewards is same for all over the episodes and also when plotting out the buys sells and holds of the stocks
df_account_value, df_actions = DRLAgent.DRL_prediction(
    model=trained_ddpg,
    environment = e_trade_gym)

The entire table is just 0s starting form the first row onwards the performance is way wayy worse than SAC and training the DDPG for 1000 time steps is giving same result as of training 10k time steps
Am i missing something is it with the hyper parameters ?
@ndronen @lcavalie @dubodog @kruzel

Did you get a grip on this? Got the same problem and for TD3 as well. Same environment and using the DRLAgent wrapper works fine for PPO and A2C.

Looks like you just need to set param "action_noise": "normal", fixed it for me. That isn't the suggestion in the tutorial.


Create Reverse Integer1.java

Pull Request Template
What have you Changed(must)
Write here what you have changed in the codebase
Issue no.(must) -
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will be marked as spam.
[ ] My file is in the proper folder
[ ] I am following clean code and Documentation.
[ ] I have added the title and what program will do first in the file
[ ] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

Add new File Reverse Integer1.java

@Skub123 you have to mention the Issue number you've been assigned to in the PR Body.


Remove unused ID encoding functions from SwiftLookupTable

These functions were unused in the original commit that added them (f8a76d10c0f2c4f52a39c164d654ecbf5ccd7140), and no usages have been added since.

@swift-ci please test


Story/2347 3.0 improvements

@monty0157 already updated the CognigyClient so it can work properly with COGNIGY.AI version ^3.0.0.
So this branch just removes not needed interfaces, functions and variables.

We should add proper linting and typescript should compile into a /build folder :)

LGTM.


feat: OPTIC-277: Move LSE to Monorepo frontend

PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[x] Tests for the changes have been added/updated (for bug fixes/features)
[x] Docs have been added/updated (for bug fixes/features)
[x] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[ ] Backend (Database)
[ ] Backend (API)
[x] Frontend
[x] CI/CD

Describe the reason for change
To better support continued development, all open source frontend repositories have been moved to being libraries within LabelStudio. All usages of these are going to be pointed here and CI jobs reflected to support this. This allows for a much improved workflow which alleviates having to move around repositories just to identify and make a frontend change. This not only complicates core team development, but makes the task of externally contributing very daunting. This step moves the codebase in the right direction of reduced cognitive burden, and cohesive tooling.
What libraries were added/updated?
Nearly everything is updated in some facet to support the Monorepo within LabelStudio. Versions of dependencies stay roughly the same for most, with some minor updates for compatibility with NX tooling.
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[X] No
[ ] Not sure (briefly explain the situation below)

What level of testing was included in the change?
(check all that apply)

[X] e2e
[X] integration
[X] unit

Which logical domain(s) does this change affect?
All

/docker build


Writing outside the event loop generates multiple writability change notifications

It has been observed that writing outside the event loop can generate multiple writibaility change notifications even when only a single notification would be expected [1]. We should investigate if there are race conditions or sequencing issues.
https://github.com/netty/netty/pull/7041#discussion_r130725503

@Scottmitch thanks ? 🤣  Joking aside will look into it once I have some cycles.

https://github.com/netty/netty/pull/7041#discussion_r131238579

please do and assign to me.

You asked for it :)

@Scottmitch hehe damn it 👍

I'm starting to understand some of issues here:
AbstractChannelHandlerContext immediately increments the pending bytes when a AbstractWriteTask is initialized [1] (out side the EventLoop), and then it decrements the bytes when the Runnable is executed before a write is done [2].  When the write is done this will add the message the AbstractChannel will add the message to the ChannelOutboundBuffer [3]. The ChannelOutboundBuffer will again increment the pending bytes count [4], and when the write completes the pending bytes will be decremented [5].
Questions:

If we are incrementing outside the EventLoop should we wait until the write completes before we decrement? The goal here being we don't "double increment" and "double decrement" for each write outside the EventLoop which may lead to questionable channelWritabilityChanged notifications (and more overhead in general). We would still increment outside the EventLoop, but we wouldn't decrement (for that write) until ChannelOutboundBuffer#remove. This may require unifying how we calculate overheads for pending elements. Here are the different overhead calculations:
A. AbstractChannelHandlerContext uses the MessageSizeEstimator.Handle and an overhead (based upon the size of AbstractWriteTask). [6]
B. AbstractChannel again uses the MessageSizeEstimator.Handle [7] and gives this to the ChannelOutboundBuffer.
C. ChannelOutboundBuffer adds an overhead based upon the size of ChannelOutboundBuffer$Entry.
I understand the "pending bytes" mechanism is designed to prevent OOME, and the objects allocated to facilitate the writes consume memory, but the user doesn't have much visibly into this overhead. This may create writability change notifications before expected (like in this unit test) and lead to "less data pending" than desired. Is it worth enhancing the MessageSizeEstimator$Handle API so that we can pass in the overhead and the estimator can decide how to apply this overhead?

@deprecated
interface Handle {
...
}

interface ExtendedHandle extends Handle {
  int size(Object msg, int overhead);
}

[1] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java#L1057
[2] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java#L1068
[3] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/AbstractChannel.java#L826
[4] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java#L126
[5] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java#L258
[6] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java#L1056
[7] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/AbstractChannel.java#L816
[8] https://github.com/netty/netty/blob/4.1/transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java#L785


Feature/num to roman

Issue #88

Added Numbers to Roman Numerals conversion

Update README.md file

Update menu options on each of the pages with a new page option

@Natalia504 This PR is against the contributing guidelines of this repository. As it is clearly stated that contributors don't have to make changes to index.html,contributors.html and the files that are contributed by others. Unfortunately we won't be accepting this PR.
But you can make a new PR with only your changes. and following the guidelines.


No longer recognizes GTX 1060 6gb

As of today 1060 can no longer open the OTM - Updated the drivers and now better after restart. Tried beta version as well.
Looks like it cant see or read the .hex I can see it and have full permission on the file and folder.
1/06/17 20:19:02.790585 [INFO] Error reading keyfile: open C:\Users\sfrank\AppData\Roaming\vertcoin-ocm\keyfile.hex: The system cannot find the file specified.
2021/06/17 20:19:06.816289 [INFO] Checking wallet..
2021/06/17 20:19:06.822304 [INFO] Initializing wallet Veh2W9sM3sv6whEaiY6n2vx2jKEuqzSUUc
2021/06/17 20:19:06.823295 [INFO] Wallet initialized: 1
2021/06/17 20:19:14.510351 [INFO] Stopping mining process...
2021/06/17 20:19:31.564213 [INFO] Setting closed source to [%!b(bool=false)]
2021/06/17 20:19:31.569214 [INFO] Setting debugging to [%!b(bool=false)]
2021/06/17 20:19:31.749478 [INFO] Stopping mining process...
2021/06/17 20:19:33.639953 [INFO] Stopping mining process...
2021/06/17 20:19:36.190356 OCM v2.0-218788a Started up
2021/06/17 20:19:36.394785 [INFO] User IETF is en-US
2021/06/17 20:19:36.394785 [INFO] Matched tag is en-u-rg-uszzzz
2021/06/17 20:19:36.394785 [INFO] Returning locale en
2021/06/17 20:19:36.464848 [INFO] Checking wallet..
2021/06/17 20:19:36.464848 [INFO] Initializing wallet Veh2W9sM3sv6whEaiY6n2vx2jKEuqzSUUc
2021/06/17 20:19:36.465850 [INFO] Wallet initialized: 1
2021/06/17 20:19:39.961151 [INFO] Stopping mining process...
-->

This must have to do with an update to your antivirus / Windows Defender.  I would check your exclusions again.  You may have to add verthash-ocm.exe and possibly even %appdata%\verthash-ocm to exclusions.

Closing due to inactivity.


Not delete the older unit from database

Hi,
I would like to delete an older unit from database but the system isn't delete this unit from database.
I use V3.11. This problem was not in 3.10.
Can You help me?
Zoltan

Now is correct. If I fill all field and renew the database the system is enabled this file deleted.
Thanks, and sorry.

The issue is already fixed in https://github.com/tananaev/traccar-web/issues/471.


Update SPHERE.IO client to 1.0.0-M12.

@lauraluiz please merge if okay
But this will introduce this bug: https://github.com/sphereio/sphere-sunrise/issues/75

@lauraluiz Is it okay?

Yes. I left this trying to analyze the output, and it seems I never came back, sorry :)


Separate out secret/nonsecret bits for gce-production-1

What is the problem that this PR is trying to fix?
All of the configuration is kept in a secret place, and duplicated for org and com.  I much prefer the way stuff is implemented in the AWS infrastructures.  This is a step.
What approach did you choose and why?
Separate out the nonsecret bits into a locally-tracked file as with the AWS infras.
How can you test this?
Terraform plan + apply :boom:
What feedback would you like, if any?
Anybody against this?

[ ] secret PR for com is ready
[ ] secret PR for org is ready

not-boom 🎉
Apply complete! Resources: 8 added, 24 changed, 4 destroyed.


Buttons format

There is a way to format the buttons as actual normal buttons?

?

@brusacco You can use your own button instead of icon. Thanks!


Add trafficgen-test CI workflow

This is Github actions self-hosted runner CI workflow for the RFC2544 performance test tool.

This is a functional test; can this testbed provide a consistent bit per second throughput result?

Do you mean - define pass/fail criteria, say less than line rate = fail?

This is a functional test; can this testbed provide a consistent bit per second throughput result?

Do you mean - define pass/fail criteria, say less than line rate = fail?

Yes; but you will need to have a confidence on the passing number first

or break out this test into two pieces: 1) functionally check the container build and test 2) take the test result from 1) and compare it with a predefined number (or even better, this number is an parameter that can be changed via the CI GUI

@jianzzha, @dkosteck Please take another look.


.ssh bind public key to github account

It would be great if you could automatically link the public key to the github account

Just leaving this here... https://serverfault.com/questions/587139/automatically-send-public-key-to-github-account


[3.2] C#: Rewrite GodotTools messaging protocol

Backport of 3ce09246d10a267bf00ae8bf37068ec458c69287 to the 3.2 branch.

Thanks!


Add filename and directive content to directive error messages

Quick addition to add a little context to directive error messages. Helps find the problem on a page with a lot of them.

Thanks


Always show delete option

Hi!
Would it be an idea to always show a delete cross in top right / left of an event?
The mouse down approach for showing the delete button is cute but not obvious if you ask me.
Cheers!!

Hi @MidnightP,
This is something you can do with a CSS rule.
When events are editable, the delete button is in the event HTML, with some style applied.
If you want to reposition it, just remove the default transform: translateY(-110%) property.
The delete button will still be clickable.
Hope it helps.


App Configuration Provider - Beta Release

Description
Updating Change Log for release

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


Update readme, index.html and lipsum.txt files from example branch

Updates
I have updated these files:

Readme
index.html
lipsum.txt

Please review and accept.

I probably should not. +1


Finish the Policy Trait and implement a basic policy

Wire policy through the server so that it is used to accept/reject publishes
Implement a basic policy that uses an allow list of keys/package names
Allow the basic policy to be deserialized from a config file

#121 implements configuring a server for rejecting any content that isn't WebAssembly (likely one we'd use for the dogfooding implementation).

#130 implements a record policy trait for rejecting published records by policy; a simple "authorized key" policy was also implement as part of it.


Add FXComponents library

I'll fix it. Thanks.
Say, after filing the PR I saw that it seems jfxcentral supports adding videos as well as images. Is that correct? Are there specific requirements to these videos?
I'm thinking that a video of the controls working, would look nicer than still images...

We are not supporting video links in the info.json file. I think I should remove those to make it clear that we do not expect you to link videos this way. If you want to add a video then register it inside the videos.json file and add the video IDs to the library json entry. Once done those videos will be listed below the readme section of your library. We only support videos that are listed on YouTube.

I see... Makes sense, videos could be a bit demanding on the server. I have the videos locally on a file so I'll just keep it as is then (with images only)...


Not able to get thumbnail URL for video in option type mixed.[🐛]

Description
I am not able to show the thumbnail in place of the Video.
How to repeat issue and example
const options = {
      thumbnail: true,
      mediaType: 'mixed',
      includeBase64: false, maxHeight: 500, maxWidth: 500,
    };

...

Solution
What needs to be done to address this issue?
Additional Information

Image Picker version: "react-native-image-picker": "^4.7.3"
React Native version: "react-native": "0.67.2"
Platform:  both
Development Operating System:  MacOS
Dev tools:  Xcode and visual studio.

any update on this issue?
@biplovappservinc  Did you figure it out how can we get a thumbnail from a video?


Fix path to tar on Mac OSX

Fixes: https://github.com/burtlo/ark/issues/88

+1
Mac 10.10.3:
$ which tar
/usr/bin/tar

Any chance of getting this included any time soon? :)

So what will it take to get this merged?

Is anyone actually maintaining this cookbook still or is it dead?

I'd like to offer some assistance, but I'm still coming up to speed on how best to do that. See #118 for an example of my immediate impediments.

Well I've actually decided to abandon any hope of these pull request being merged, and will retain my own fork with it's release branch.

@burtlo made me a collaborator, so I can merge pull requests! However, I'm not going to merge anything until the Travis builds are passing. If you know anything about how to move that along, I'm sure all the users of the cookbook would be grateful.

@Sauraus If you want to rebase this and remove the version bump I'd love to get it merged in

I made this same change here so I can get it out as part of 0.10 https://github.com/burtlo/ark/commit/e5561bb0c96e771237ce49cb994fcf08c1b56d77


Fixed random playlist bug and no registration bug

Description
This PR fixes the random playlist bug where a random song played from music.
It also fixes other bugs such as no registration of music when game is started using "continue".

Uh oh, something went wrong with the build. Need to check on that

Uh oh, something went wrong with the build. Need to check on that

Uh oh, something went wrong with the build. Need to check on that

Uh oh, something went wrong with the build. Need to check on that

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!


Feature request: improve sRGB parsing

Howdy all, a new beta version of Gaffer is out and it uses a newer version of OIIO. A number of us ran into a problem when the Gaffer launcher couldn't find an sRGB color space.
In my case I traced the problem to using a custom OCIO config and OIIO being unable to find the keywords it's looking for.  My config's sRGB texture section originally read as follows:
name: sRGB texture
aliases: [srgb_tx, Utility - sRGB texture, srgb_texture, Input - Generic - sRGB texture]

OIIO couldn't parse this. I was able to fix the problem by either changing the name to sRGB - Texture or adding a new srgb alias. I should note that my config is based on the official ASWF CG config which also does not have an srgb alias.
It seems like one solution might be to add some more aliases from the ASWF config to OIIO's search: maybe srgb_tx and srgb_texture. Thank you!

I think the relevant details on the Gaffer side are :

We're calling ImageBufAlgo::colorconvert() to convert from sRGB to linear.
This worked OK with OIIO <IP_ADDRESS> and OCIO 2.2.1.
It is broken with OIIO <IP_ADDRESS> and OCIO 2.2.1.
The error is Color space 'sRGB' could not be found.
Relevant Gaffer issue is here : https://github.com/GafferHQ/gaffer/issues/5695.

I had hoped that setting OIIO_DISABLE_OCIO would get us back to using OIIO's built-in sRGB->linear transform, but that doesn't seem to help.

Sounds like something is broken.
Do you have a way to trigger a symptomatic behavior using just OIIO? Like, given a particular OCIO config, is there a straight-up oiiotool command or short python script that will do something clearly wrong that I can use to track this down?

Yep, over on the Gaffer issue there's a config that shows the problem when used with this : OCIO=bhgc_v2.ocio oiiotool test.png --colorconvert sRGB linear -o test.exr. I don't think you need anything special in test.png- any old file will do I think.
Unless the problem is on the Gaffer side after all, I'd expect that to fail with OIIO <IP_ADDRESS> and OCIO 2.2.1.

I already patched that config to work with OIIO. Here's the old one that showcases the issue:
ocio_profile_version: 2.1

environment:
  {}
search_path: ""
strictparsing: true
luma: [0.2126, 0.7152, 0.0722]
name: bhgc_v2
description: |
  Version 2024.2.2, February 26, 2024.

  Simplified OCIO config for CG by Brian Hanke (brianrhanke@outlook.com). Based on the new ASWF CG config.

  To use, copy this file to a location of your choice and point your OCIO environment variable to it.

  This work is licensed under CC BY 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

roles:
  aces_interchange: ACES2065-1
  cie_xyz_d65_interchange: CIE-XYZ-D65

  color_picking: sRGB texture
  texture_paint: sRGB texture

  color_timing: ACEScct
  compositing_log: ACEScct
  matte_paint: ACEScct

  data: Raw

  rendering: ACEScg
  scene_linear: ACEScg

file_rules:
  - !<Rule> {name: Default, colorspace: ACES2065-1}

displays:
  ACES:
    - !<View> {name: sRGB, view_transform: ACES 1.0 - SDR Video, display_colorspace: sRGB - Display}
    - !<View> {name: Rec.709, view_transform: ACES 1.0 - SDR Video, display_colorspace: Rec.1886 Rec.709 - Display}
    - !<View> {name: Raw, display_colorspace: Raw}

inactive_colorspaces: [CIE-XYZ-D65, sRGB - Display, Rec.1886 Rec.709 - Display]

view_transforms:
  - !<ViewTransform>
    name: ACES 1.0 - SDR Video
    description: |
      Component of ACES Output Transforms for SDR D65 video

      ACEStransformID: urn:ampas:aces:transformId:v1.5:ODT.Academy.RGBmonitor_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:ODT.Academy.Rec709_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:ODT.Academy.Rec2020_100nits_dim.a1.0.3

      AMF Components
      --------------
      ACEStransformID: urn:ampas:aces:transformId:v1.5:InvODT.Academy.RGBmonitor_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:InvODT.Academy.Rec709_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:InvODT.Academy.Rec2020_100nits_dim.a1.0.3
    from_scene_reference: !<BuiltinTransform> {style: ACES-OUTPUT - ACES2065-1_to_CIE-XYZ-D65 - SDR-VIDEO_1.0}

display_colorspaces:
  - !<ColorSpace>
    name: CIE-XYZ-D65
    aliases: [cie_xyz_d65]
    family: ""
    equalitygroup: ""
    bitdepth: 32f
    description: The CIE XYZ (D65) display connection colorspace
    isdata: false
    allocation: uniform

  - !<ColorSpace>
    name: sRGB - Display
    aliases: [srgb_display]
    family: Display
    equalitygroup: ""
    bitdepth: 32f
    description: |
      Convert CIE XYZ (D65 white) to sRGB (piecewise EOTF)

      AMF Components
      --------------
      ACEStransformID: urn:ampas:aces:transformId:v1.5:ODT.Academy.RGBmonitor_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:InvODT.Academy.RGBmonitor_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:ODT.Academy.RGBmonitor_D60sim_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:InvODT.Academy.RGBmonitor_D60sim_100nits_dim.a1.0.3
    isdata: false
    categories: [file-io]
    encoding: sdr-video
    allocation: uniform
    from_display_reference: !<BuiltinTransform> {style: DISPLAY - CIE-XYZ-D65_to_sRGB}

  - !<ColorSpace>
    name: Rec.1886 Rec.709 - Display
    aliases: [rec1886_rec709_display]
    family: Display
    equalitygroup: ""
    bitdepth: 32f
    description: |
      Convert CIE XYZ (D65 white) to Rec.1886/Rec.709 (HD video)

      AMF Components
      --------------
      ACEStransformID: urn:ampas:aces:transformId:v1.5:ODT.Academy.Rec709_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:InvODT.Academy.Rec709_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:ODT.Academy.Rec709_D60sim_100nits_dim.a1.0.3
      ACEStransformID: urn:ampas:aces:transformId:v1.5:InvODT.Academy.Rec709_D60sim_100nits_dim.a1.0.3
    isdata: false
    categories: [file-io]
    encoding: sdr-video
    allocation: uniform
    from_display_reference: !<BuiltinTransform> {style: DISPLAY - CIE-XYZ-D65_to_REC.1886-REC.709}

colorspaces:
  - !<ColorSpace>
    name: ACES2065-1
    aliases: [aces2065_1, ACES - ACES2065-1, lin_ap0]
    family: ACES
    equalitygroup: ""
    bitdepth: 32f
    description: The "Academy Color Encoding System" reference colorspace.
    isdata: false
    categories: [file-io]
    encoding: scene-linear
    allocation: uniform

  - !<ColorSpace>
    name: ACEScc
    aliases: [ACES - ACEScc, acescc_ap1]
    family: ACES
    equalitygroup: ""
    bitdepth: 32f
    description: |
      Convert ACEScc to ACES2065-1

      ACEStransformID: urn:ampas:aces:transformId:v1.5:ACEScsc.Academy.ACEScc_to_ACES.a1.0.3
    isdata: false
    categories: [file-io]
    encoding: log
    allocation: uniform
    to_scene_reference: !<BuiltinTransform> {style: ACEScc_to_ACES2065-1}

  - !<ColorSpace>
    name: ACEScct
    aliases: [ACES - ACEScct, acescct_ap1]
    family: ACES
    equalitygroup: ""
    bitdepth: 32f
    description: |
      Convert ACEScct to ACES2065-1

      ACEStransformID: urn:ampas:aces:transformId:v1.5:ACEScsc.Academy.ACEScct_to_ACES.a1.0.3
    isdata: false
    categories: [file-io, working-space]
    encoding: log
    allocation: uniform
    to_scene_reference: !<BuiltinTransform> {style: ACEScct_to_ACES2065-1}

  - !<ColorSpace>
    name: ACEScg
    aliases: [ACES - ACEScg, lin_ap1]
    family: ACES
    equalitygroup: ""
    bitdepth: 32f
    description: |
      Convert ACEScg to ACES2065-1

      ACEStransformID: urn:ampas:aces:transformId:v1.5:ACEScsc.Academy.ACEScg_to_ACES.a1.0.3
    isdata: false
    categories: [file-io, working-space]
    encoding: scene-linear
    allocation: uniform
    to_scene_reference: !<BuiltinTransform> {style: ACEScg_to_ACES2065-1}

  - !<ColorSpace>
    name: sRGB linear
    aliases: [lin_rec709_srgb, Utility - Linear - Rec.709, lin_rec709, lin_srgb, Utility - Linear - sRGB]
    family: Utility
    equalitygroup: ""
    bitdepth: 32f
    description: |
      Convert ACES2065-1 to linear Rec.709 primaries, D65 white point

      CLFtransformID: urn:aswf:ocio:transformId:1.0:OCIO:Utility:AP0_to_Linear_Rec709:1.0
    isdata: false
    categories: [file-io, working-space]
    encoding: scene-linear
    allocation: uniform
    from_scene_reference: !<GroupTransform>
      name: AP0 to Linear Rec.709 (sRGB)
      children:
        - !<MatrixTransform> {matrix: [2.52168618674388, -1.13413098823972, -0.387555198504164, 0, -0.276479914229922, 1.37271908766826, -0.096239173438334, 0, -0.0153780649660342, -0.152975335867399, 1.16835340083343, 0, 0, 0, 0, 1]}

  - !<ColorSpace>
    name: sRGB texture
    aliases: [srgb_tx, Utility - sRGB texture, srgb_texture, Input - Generic - sRGB texture]
    family: Utility
    equalitygroup: ""
    bitdepth: 32f
    description: |
      Convert ACES2065-1 to sRGB

      CLFtransformID: urn:aswf:ocio:transformId:1.0:OCIO:Utility:AP0_to_sRGB-Texture:1.0
    isdata: false
    categories: [file-io]
    allocation: uniform
    from_scene_reference: !<GroupTransform>
      name: AP0 to sRGB Rec.709
      children:
        - !<MatrixTransform> {matrix: [2.52168618674388, -1.13413098823972, -0.387555198504164, 0, -0.276479914229922, 1.37271908766826, -0.096239173438334, 0, -0.0153780649660342, -0.152975335867399, 1.16835340083343, 0, 0, 0, 0, 1]}
        - !<ExponentWithLinearTransform> {gamma: 2.4, offset: 0.055, direction: inverse}

  - !<ColorSpace>
    name: Raw
    aliases: [Utility - Raw]
    family: Utility
    equalitygroup: ""
    bitdepth: 32f
    description: The utility "Raw" colorspace.
    isdata: true
    categories: [file-io]
    allocation: uniform

  - !<ColorSpace>
    name: sRGB neutral
    family: Utility
    equalitygroup: ""
    bitdepth: 32f
    description: For neutral input and output of images on sRGB - Display ACES 1.0 - SDR Video displays
    isdata: false
    categories: [file-io]
    encoding: sdr-video
    allocation: uniform
    from_reference: !<GroupTransform>
      children:
        - !<DisplayViewTransform> {src: ACES2065-1, display: ACES, view: sRGB}
        - !<RangeTransform> {min_in_value: 0., min_out_value: 0., max_in_value: 1., max_out_value: 1.}

  - !<ColorSpace>
    name: Rec.709 neutral
    aliases: [Gamma2.2]
    family: Utility
    equalitygroup: ""
    bitdepth: 32f
    description: For neutral input and output of images on Rec.1886 Rec.709 - Display ACES 1.0 - SDR Video displays
    isdata: false
    categories: [file-io]
    encoding: sdr-video
    allocation: uniform
    from_reference: !<GroupTransform>
      children:
        - !<DisplayViewTransform> {src: ACES2065-1, display: ACES, view: Rec.709}
        - !<RangeTransform> {min_in_value: 0., min_out_value: 0., max_in_value: 1., max_out_value: 1.}

I can repro. Working toward a fix.

Thanks Larry! That's great news!

Proposed fix here: #4166


Orandombox Tests fail during build

Is there currently any way to build this project? All the tests fail when I try to build.

Opps, nevermind...Java 6...I was using 7.

I installed java 6 and used it and the tests still fail...can I get some help please?

No longer the case, over a year old; wow.

 Lol! Thanks.
--- MCTyler commented on Jan 20, 2015

:)


apko images don't ensure /root exists

root's home directory is in etc/passwd as:
tar xf foo.tar -O etc/passwd
root:x:0:0:root:/root:/bin/ash

However, there isn't a /root in the resulting image.

We should ensure that each of the users in /etc/passwd have a home directory configured with the appropriate permissions (see also https://github.com/chainguard-dev/apko/issues/180)


Zlib 2022 05 17

PR Checklist

[ ] No API changes were made (or the changes have been approved)
[ ] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[ ] Updated API documentation (or API not changed)
[ ] Added license to new files (if any)
[ ] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[ ] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

Oh, nevermind, I see someone else updated zlib very recently...


Add mock-ups to ADAM/GATK pipelines

@hannes-ucsc and I discussed this after scrum today.
In mock-up mode, the steps of the pipeline should do the following, given a small fastq and associated bam file (<20mb):
BWA alignment: Downloads input fastq and pre-computed mock.bam file. Renames bam file and writes to the appropriate s3 bucket.
ADAM preprocessing: Runs as usual, but using tiny instances. Produces a preprocessed bam file which is then replaced with an empty bam that is written to s3.
GATK preprocessing: Downloads the input BAM file, writes dummy intermediate files to the jobstore, and writes a blank preprocessed bam file with the appropriate name to s3.
Haplotype caller: Downloads the input preprocessed BAM file, and writes a blank vcf file with the appropriate name to s3.
In addition we will add assertions after the completion of each pipeline step that check that all necessary files are present. These checks will run in both mock-up mode and production mode.
@fnothaft what are your thoughts? I can get started on this today if you think it seems reasonable.

Use this BAM: http://www.cs.berkeley.edu/~massie/bams/mouse_chrM.bam

We will be adding an outputs= kwarg to docker_call() that is a dictionary whose keys are names of expected output files and whose values are either None (a zero length file will be created in mock mode) or a URL (the file will be downloaded and used as the output in mock mode). In production mode, the dictionary will be use to assert the existence of the outputs.
@fnothaft suggested to add an inputs= kwarg that specifies the expected inputs. Presence of inputs should be asserted in both mock mode and production mode.

@fnothaft it looks like the file you provided is truncated. I tried to view it with samtools and I'm getting:
[main_samview] truncated file.

@almussel interesting! I just took a look at this, and it seems to be OK:
fnothaft$ samtools view http://www.cs.berkeley.edu/~massie/bams/mouse_chrM.bam | wc
[knet_seek] SEEK_END is not supported for HTTP. Offset is unchanged.
<PHONE_NUMBER>273 59942304

Can you send me the command you are running?

I downloaded the file to my laptop before running samtools view. When I view it directly it works fine...

Seems OK yonder over here as well:
fnothaft$ wget http://www.cs.berkeley.edu/~massie/bams/mouse_chrM.bam; samtools view mouse_chrM.bam | wc
--2016-03-31 12:18:50--  http://www.cs.berkeley.edu/~massie/bams/mouse_chrM.bam
Resolving www.cs.berkeley.edu... <IP_ADDRESS>
Connecting to www.cs.berkeley.edu|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12712625 (12M) [application/octet-stream]
Saving to: 'mouse_chrM.bam'

mouse_chrM.bam                                      100%[====================================================================================================================>]  12.12M  17.1MB/s   in 0.7s

2016-03-31 12:18:51 (17.1 MB/s) - 'mouse_chrM.bam' saved [12712625/12712625]

<PHONE_NUMBER>273 59942304

Weird... In any case, I can create the fastq I need so it's fine?

Okay I tried it with curl and it's fine. For some reason clicking on the link to download messes it up.

Hah! Good ol' UC Berkeley IT at work there... Glad to hear that this seems to be resolved now.


Make sure to import the vendored attrs

The issue
The attrs module is vendored in pipenv, but when the package is installed on the system, the system version is imported first, and fails if the version is different.
We found this issue in Fedora, where we have python-attrs-19.1.0, which causes a failure because version 19.3.0 is expected (and vendored):
>   @attr.s(slots=True, eq=True, hash=True)
    class SetupInfo(object):
E   TypeError: attrs() got an unexpected keyword argument 'eq'
pipenv/vendor/requirementslib/models/setup_info.py:1341: TypeError

The fix
I've implemented a patch in Fedora that instead of import attr uses from pipenv.vendor import attr. I think it be useful upstream too, so I opened this PR.
News fragment is probably not necessary, but I can provide one if prompted.

Thanks for the PR! I went ahead and added a news entry + a patch so this gets updated when we revendor. Will merge after CI completes


Remove the graphql support from the core

What is the motivation for adding / enhancing this feature?

The current graphql support is pretty buggy and un-flexible. We've reworked the whole graphql support on the backend with https://github.com/DivanteLtd/storefront-api. But the current searchAdapter is not compatible with this. I tried fo fix it in the https://github.com/DivanteLtd/vue-storefront/tree/feature/storefront-api-graphql-support but only to get even more frustrated :-)
GraphQL support will be added in the vsf-next for Magento2 I guess and for now the searchAdapter for graphql: https://github.com/DivanteLtd/vue-storefront/tree/develop/core/lib/search/adapter/graphql should be moved to an optional module within the src/search (this path is officially supported) or pm package

@kkdg we need to update the docs regarding this change. With graphql support in the src/search as optional module it will be still available - however unsupported/deprecated

@pkarw all right! It was the heavily updated part in the meantime. I will edit them accordingly, thanks.


:bug: Fix whole_doc_chunker missing from client list

closes: #228
Changes

Add whole_doc_chunker client as default client for chunkers

Thanks Dan. I renamed the chunker model id to DEFAULT_CHUNKER_ID.. For moving the functions out, I am not sure yet, since while they are not part of the client, they are providing similar functionality that this client provide 🤔
We can discuss and address that later.


Do nothing when mgr module is in good state

Check whether a mgr module is supposed to be disabled before disabling
it and whether it is already enabled before enabling it.

Thanks @mvollman for the follow-up.

Added sign off


Cannot submit Governance Action

Context & versions

sanchogov.tools (staging)
Steps to reproduce

Try to submit Governance Action

Actual behavior

Insufficient balance error occurs

Expected behavior

GA should submit (if only meets the balance criteria)

Is your wallet on the correct network?

Working for me within an Info action on staging environment using demos wallet

I don't have that issue either - I've reported that based on a slack thread

Although metadata doesnt seem to get picked up: https://staging.govtool.byron.network/connected/governance_actions/ab9d706d480845946e571f0c37d8d5d046ed3ddf8360f644d5422a3cb6de77b4#0

I'll reorganise the services responsibility under this issue - to have that fixed. I am aware of the issues around the metadatas

Error log for treasury action:
instrument.ts:129 (400)
failed:
c55c2c133d9adb1c15424ad8fb7cd8048a2a3c506ab8a327a9652ca6b77e7cda
The provided constitution guardrails hash doesn't match the expected on defined in the constitution. Some governance actions such as treasury withdrawals or protocol parameters updates must correctly refer to the constitution guardrails hash digest. The latter can be 'null'. The field 'data.providedHash' indicates the hash provided in the proposal, and the field 'data.expectedHash' the one specified in the constitution
Data: {"providedHash":null,"expectedHash":"edcd84c10e36ae810dc50847477083069db796219b39ccde790484e0"}

This is the same as
https://github.com/IntersectMBO/govtool/issues/1565

Closing as per the previous comment.


Add polling feature

Is it possible to add a polling feature, a way to poll a repo and then automatically perform git pull on changes.

@Wintermute1 Pull already works this way: if there are no changes, it does nothing.


add unit tests

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.64%. Comparing base (a5d78e5) to head (2cc3fde).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   63.95%   69.64%   +5.69%
==========================================
  Files           3       11       +8
  Lines          86      369     +283
==========================================
+ Hits           55      257     +202
- Misses         31      112      +81

Files with missing lines
Coverage Δ

lib/widgets/otp_card.dart
79.01% <100.00%> (ø)

lib/widgets/service_icon.dart
100.00% <100.00%> (ø)

... and 7 files with indirect coverage changes

Continue to review full report in Codecov by Sentry.

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


Tooltips replaces colors with alternates.

Usually the mod should just make the text italic or create a new line for either bold or normal text, But for some reason it affects colors and causes them to change when the window size does not have enough room to fit.
Expected behavior:

Actual behavior:

Can confirm. Italic and purple is the default style for item lores, so it looks like it resets the style when wrapping.

Fun fact: if you style the tooltip text inside of the translation using §5§o, it breaks even worse! The text loses its color when it breaks down to another line.

ToolTipFix has never properly handled styles correctly. Currently it just copies the style of the previous line when making a new line. Not sure how it's ending up purple/italic though.
I do plan on fixing this eventually

This is still an issue and it's quite annoying. The issue here are ChatFormatting codes. ToolTipFix prefers the Component's Style over those, but for Minecraft it's the other way around: If a String contains ChatFormatting codes, the set Style is (mostly?) ignored in favor of the custom formatting.
In the attached screenshot from a mod of mine (feel free to use it for testing a fix, the mod allows for using formatting codes directly in the anvil text field) you can see how formatting codes are properly applied in the first line, and then as mentioned in another comment, the Component's Style is used instead for the following lines.
This is not an issue in the native fix Forge has, so maybe it's worth checking that out.

Been a while, I apologize for the delay.
TooltTipFix 1.1.0 is almost a complete rewrite of the wrapping logic significantly improving it. I believe this issue is fixed.