Source recipe fails on subsequent converge if package based install used in between

Cookbook version
5.0.1
Chef-client version
12.10.24
Platform Details
CentOS 7.2 Bento Box
Scenario:
Converge fails due to error:

mkdir: cannot create directory ‘git-2.6.2’: File exists

Steps to Reproduce:
We're using the git::source recipe to install git 2.6.2 on CentOS 7.2. Initial converge works great, source based install succeeds, and we have git 2.6.2 on the PATH. I think what's happening is that something else in our converge is inadvertently doing a packaged based install of git, and then the next time git::source the guard passes since git --version returns <IP_ADDRESS>, so git::source thinks it needs to install it again. It fails to extract it because the extracted version already exists in Chef::Config['file_cache_path'].
So it's admittedly a bug in our converge that the package based install of git is happening, but it seems like something that this cookbook should be able to recover from.
Here's the relevant chunk from the converge output: https://gist.github.com/fletchowns/cdab5e1f58722fd4d9cd6f4492fa3e52
Expected Result:
It seems like the git::source recipe should be able to handle the output directory in Chef::Config['file_cache_path'] already existing by using a mkdir -p or something instead of just a mkdir.
Actual Result:
The converge fails because the cache directory already exists.

Actually, looks like the git::source recipe installs the gettext-devel package, which install the ancient version of git.
$ sudo yum install gettext-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: repos.lax.quadranet.com
 * epel: mirror.sjc02.svwh.net
 * extras: mirrors.xmission.com
 * updates: mirrors.ocf.berkeley.edu
Resolving Dependencies
--> Running transaction check
---> Package gettext-devel.x86_64 0:<IP_ADDRESS>-4.el7 will be installed
--> Processing Dependency: git for package: gettext-devel-<IP_ADDRESS>-4.el7.x86_64
--> Running transaction check
---> Package git.x86_64 0:<IP_ADDRESS>-6.el7_2.1 will be installed
--> Processing Dependency: perl-Git = <IP_ADDRESS>-6.el7_2.1 for package: git-<IP_ADDRESS>-6.el7_2.1.x86_64
--> Processing Dependency: perl(Git) for package: git-<IP_ADDRESS>-6.el7_2.1.x86_64
--> Running transaction check
---> Package perl-Git.noarch 0:<IP_ADDRESS>-6.el7_2.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================
 Package                                                     Arch                                                 Version                                                         Repository                                             Size
==============================================================================================================================================================================================================================================
Installing:
 gettext-devel                                               x86_64                                               <IP_ADDRESS>-4.el7                                                  base                                                  315 k
Installing for dependencies:
 git                                                         x86_64                                               <IP_ADDRESS>-6.el7_2.1                                               updates                                               4.4 M
 perl-Git                                                    noarch                                               <IP_ADDRESS>-6.el7_2.1                                               updates                                                53 k

Transaction Summary
==============================================================================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 4.7 M
Installed size: 24 M
Is this ok [y/d/N]:

I too am having this issue with CentOS 7.3. Does anyone know of a work-a-round? I need to be on at least version 2 but I am stuck with 1.8.3.

@jpSimkins I am working around the issue with a small wrapper cookbook:
# remove the default out of date package
package "git" do
	action :remove
end

# install tk package so gitk and git gui work
package "tk"

# temporary workaround for https://github.com/chef-cookbooks/git/issues/110
directory "#{Chef::Config['file_cache_path']}/git-#{node["git"]["version"]}" do
	recursive true
	action :delete
end

include_recipe "git::source"

I have tried your wrapper and still no luck. I am not able to get any other version other then 1.8.3 installed.
Thanks, at this point I'll have to find another solution.

@jpSimkins Sorry to hear it didn't work for you. Are you able to share the converge log?

Thanks for a quick response. This is the log: https://gist.github.com/jpSimkins/4ab6dd25215de0e886eaa60503f6c129
I don't mind assisting you with this if you want. Also, I am very new to chef so I wonder if maybe I am doing something wrong on my end... I am a little confused on how to use the source of this cookbook so I will show you my code. Perhaps it's just a noobie mistake.
Hopefully this will point something out:
attributes/default.rb
default['git']['version'] = '2.13.1'
default['git']['url'] = 'https://github.com/git/git/archive/v2.13.1.tar.gz'
default['git']['checksum'] = 'd3015a679aa2dc5ff2cc8839459cea15fb2644aaa6bb9cc18e835bba2087adab'

cookbook/git.rb
# remove the default out of date package
package "git" do
	action :remove
end

# temporary workaround for https://github.com/chef-cookbooks/git/issues/110
directory "#{Chef::Config['file_cache_path']}/git-#{node["git"]["version"]}" do
	recursive true
	action :delete
end

include_recipe "git::source"

# Is this needed?
git_client 'default' do
    provider Chef::Provider::GitClient::Source
    source_checksum node['git']['checksum']
    source_prefix node['git']['prefix']
    source_url format(node['git']['url'], version: node['git']['version'])
    source_use_pcre node['git']['use_pcre']
    source_version node['git']['version']
    action :install
end

Thanks

@jpSimkins I don't think the git_client is necessary. I don't have it, at least.
I also have default["git"]["prefix"] = "/usr" in the attributes that I set, can't remember why I added that though. May have something to do with getting the cookbook version to appear on the PATH though. How are you verifying the version of git that is installed after converge? What's the output of which git and echo $PATH ? Maybe /usr/local is not on there?


typo and updates

@ktpv Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@ktpv Thank you for signing the Contributor License Agreement!


⚠ TorrentLeech has degraded performance

In 49f278c, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 2394 ms

Resolved: TorrentLeech performance has improved in 5a42176 after 8 minutes.


Remove deprecated elements from all element relations

We need to remove the deprecated elements from all relations since
they are not included in the all_elements relation anymore.

Good catch... :)

Thanks to @pelargir

Good catch... :)

Thanks to @pelargir

Tested locally. This successfully fixes the problem we discussed @tvdeyen. Thanks! 👍

Tested locally. This successfully fixes the problem we discussed @tvdeyen. Thanks! 👍


ci: always drop git credentials

:tada: This PR is included in version 3.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


firebase Crash on KingfisherWrapper----Crash on iPhone X during TestFlight Release

version:
Kingfisher (7.10.0)
HeadTitle:
Fatal Exception: NSMallocException
Failed to grow buffer

Fatal Exception: NSMallocException
0  CoreFoundation                 0x940c __exceptionPreprocess
1  libobjc.A.dylib                0x15c10 objc_exception_throw
2  CoreFoundation                 0x19c5c8 -[NSInvocation retainArguments].cold.1
3  CoreFoundation                 0x194504 __CFReallocationFailed
4  CoreFoundation                 0x83160 __CFSafelyReallocate
5  Foundation                     0x5f428 _NSMutableDataGrowBytes
6  Foundation                     0x49de4 -[NSConcreteMutableData appendBytes:length:]
7  ImageIO                        0x2faf4 (缺少 UUID ae75c2c0e49e3058825402afc7a4b4ad)
8  ImageIO                        0x72e5c (缺少 UUID ae75c2c0e49e3058825402afc7a4b4ad)
9  AppleJPEG                      0x1a9fc aj_ostream_write
10 AppleJPEG                      0x38088 aj_block_encode_ac
11 AppleJPEG                      0xc51c aj_encode_buffers_baseline
12 AppleJPEG                      0x8178 aj_encode_row
13 AppleJPEG                      0x688c applejpeg_encode_image_row
14 AppleJPEG                      0x26160 recode_all
15 ImageIO                        0x1bdd3c (缺少 UUID ae75c2c0e49e3058825402afc7a4b4ad)
16 ImageIO                        0x1961dc (缺少 UUID ae75c2c0e49e3058825402afc7a4b4ad)
17 ImageIO                        0x31dac (缺少 UUID ae75c2c0e49e3058825402afc7a4b4ad)
18 ImageIO                        0x9a34 (缺少 UUID ae75c2c0e49e3058825402afc7a4b4ad)
19 UIKitCore                      0x3f485c _UIImageJPEGRepresentation
20 xxx               0x3dbb52c specialized closure #1 in KingfisherWrapper<A>.data(format:compressionQuality:) + 237 (Image.swift:237)
21 xxx               0x3dbaf60 DefaultCacheSerializer.data(with:original:) + 121 (CacheSerializer.swift:121)
22 xxx               0x3ddc2bc closure #2 in ImageCache.store(_:original:forKey:options:toDisk:completionHandler:) + 319 (ImageCache.swift:319)
23 xxx               0x3de4330 partial apply for closure #2 in ImageCache.store(_:original:forKey:options:toDisk:completionHandler:) (<compiler-generated>)
24 xxx               0x83478 thunk for @escaping @callee_guaranteed () -> () (<compiler-generated>)
25 libdispatch.dylib              0x637a8 _dispatch_call_block_and_release
26 libdispatch.dylib              0x64780 _dispatch_client_callout
27 libdispatch.dylib              0x3f6fc _dispatch_lane_serial_drain$VARIANT$armv81
28 libdispatch.dylib              0x401b0 _dispatch_lane_invoke$VARIANT$armv81
29 libdispatch.dylib              0x49f14 _dispatch_workloop_worker_thread
30 libsystem_pthread.dylib        0x1bd0 _pthread_wqthread
31 libsystem_pthread.dylib        0x1720 start_wqthread

Device Information:
Model: iPhone X
Screen Orientation: Portrait
Available RAM: 38.16 MB
Available Disk Space: 21.4 GB
Issue Description:
We are experiencing crashes on iPhone X, specifically during TestFlight release when the user base reaches around 200. It seems to be related to FOOM (Out of Memory). We are eager to reduce the crash rate and are seeking advice on potential solutions.
Question:
Do you have any recommendations or solutions to address this issue? We already invoke the following method during the app's cold launch:
func setupImageMemory() {
    ImageCache.default.memoryStorage.config.totalCostLimit = 100 * 1024 * 1024
    ImageCache.default.memoryStorage.config.countLimit = 100
    ImageCache.default.diskStorage.config.sizeLimit = 1000 * 1024 * 1024
    SDImageCache.shared().maxMemoryCost = 100 * 1024 * 1024
}

We appreciate any insights or suggestions you can provide to help resolve this crash. Thank you!

Me too. Attached crash stack file
7dab52fc837d4a2ca5a676044f48432b-symbolicated.crash.zip

From the crash log, it is an out-of-memory. As you set the memory limitation, Kingfisher will ensure the accumulated cache in memory not beyond the set value (here, 100MB as you set). However, it does not prevent the lack of memory from loading a single huge image. If you are loading images without your control (say, you are just accepting the user's submission without check or resize the image to a reasonable size), it is possible that you are trying to load a huge image and the image itself takes a lot of memory, in turn it causes a OOM.
If that is a possible case, I suggest you either limit the images which have a chance to be loaded (say, resize it on your server after received from the user); Or you can try to use the DownsamplingImageProcessor to load a thumbnail one instead of putting every pixel of the original image into the memory (https://github.com/onevcat/Kingfisher/wiki/Cheat-Sheet#using-downsamplingimageprocessor-for-high-resolution-images).


Load event does not fire at all.

Version 2.4.5
Vue.js version 2.6.12
 <!-- rest of code here -->
<infinite-loading :distance="1" @infinite="infiniteHandler"></infinite-loading>
</template>
<script>
import InfiniteLoading from 'vue-infinite-loading';
import axios from 'axios';

export default {
    name: "Index",
    components: {
        InfiniteLoading,
    },
    data() {
        return {
            list: [],
            page: 1,
        }
    },
    methods: {
        infiniteHandler($state) {
            console.log("DOES NOT WORK");
            axios.get('/api/products?page='+this.page)
                .then(response => {
                    return response.json();
                }).then(data => {
                    $.each(data.data, (key, value)=> {
                        this.list.push(value);
                    });
                $state.loaded();
                this.page = this.page + 1;
            });
        },
        formatCurrency(amount) {
            amount = (amount / 100);
            return amount.toLocaleString("ro-RO", {style: 'currency', currency: 'RON'});
        }
    },
    created() {
        axios.get('/api/products?page='+this.page)
            .then(data => {
            this.list = data.data.data;
            this.page = this.page + 1;
        });
    }
}
</script>

What is actually happening?
That console.log("DOES NOT WORK"); is not being called which means that the infiniteHandler() method is not being called at all, everything else works, the, the data is fetched when created() is fired up. No errors, nothing. Even if I remove the created() code, still does not work, the infiniteHandler() method is not being called at all.

@Catalinul95 Have you solved it. then how?
I'm facing the same problem


cairo version bump -> v0.10.0

[x] cairoWriter
[x] warplib static files
[x] warplib implementations
[x] cairoUtilFuncGens files
[x] compiler tests
[ ] behaviour tests
[x] github yml
[ ] semantic tests

Don't forget to update warp_venv.sh with the new cairo version

Don't forget to update warp_venv.sh with the new cairo version

I think I have already updated it


[DOCS] Django Integration for User Feedback

The docs for user feedback integration with Django state that it is as simple as dropping that into the 500.html template. However, this is incorrect.
Django's default server_error() view passes an empty context variable so the template renders and the {% if request.sentry.id %} line always results in False because there is no request object passed back (empty context dict).
The resolution is stated in the docs where it references a custom handler500() view that passes the context. I feel like that needs to be included down in the User Feedback section somewhere, and can submit a PR if you'd like.
The new documentation for User Feedback would look something like:
User Feedback
By default Django will render 500.html, so simply drop the following snippet into your template:

{% if request.sentry.id %}

{% endif %}

Then override the default 500 handler to include the context information. In your URL Conf (base urls.py) add:
handler500 = 'myapp.views.sentry_server_error'

Then define that view as:
from django import http
from django.template import Context, RequestContext, TemplateDoesNotExist, loader
from django.views.decorators.csrf import requires_csrf_token

@requires_csrf_token
def sentry_server_error(request, template_name='500.html'):
    try:
        template = loader.get_template(template_name)
    except TemplateDoesNotExist:
        return http.HttpResponseServerError('
Server Error (500)
', content_type='text/html')
    return http.HttpResponseServerError(template.render(RequestContext(request)))

Note
Because Django's default server_error() passes an empty context variable we need to create a custom 500 error handler to pass the request context.

I suppose we could do provide a built-in replacement to server_error which handles passing in the required context from Sentry. There's good reasons you don't want context in general to be available, but we can guarantee safety around things we provide.

In django >= 2.0
@requires_csrf_token
def sentry_server_error(request, template_name=ERROR_500_TEMPLATE_NAME):
"""
500 error handler.
Templates: :template:`500.html`
Context: None
"""
try:
    template = loader.get_template(template_name)
except TemplateDoesNotExist:
    if template_name != ERROR_500_TEMPLATE_NAME:
        # Reraise if it's a missing custom template.
        raise
    return HttpResponseServerError('
Server Error (500)
', content_type='text/html')
#return HttpResponseServerError(template.render(RequestContext(request))) # instead of to avoid TypeError
return HttpResponseServerError(template.render(context=None, request=request))

@dcramer,
FYI, I just ran into this as well. The docs don't mention using a custom 500 view right now either.

I guess It does say something in the Message Reference section, but I missed it because there wasn't anything in the User Feedback Section.
https://docs.sentry.io/clients/python/integrations/django/#message-references

Also as an FYI you might want to suggest a server error view like the following so you can dynamically insert the dsn.
from urllib.parse import urlparse

def server_error(request):

    # Use the 500 template for each program if it exists
    url_segment = request.path_info.strip("/").split("/")
    program_500_template = "%s/500.html" % url_segment[0]
    t = loader.select_template([program_500_template, '500.html'])

    sentry_dsn = None
    if hasattr(settings, 'RAVEN_CONFIG') is True and 'dsn' in settings.RAVEN_CONFIG and settings.RAVEN_CONFIG['dsn']:
        # strip out the password
        url_obj = urlparse(settings.RAVEN_CONFIG['dsn'])
        sentry_dsn = '{scheme}://{username}@{hostname}{path}'.format(scheme=url_obj.scheme, username=url_obj.username, hostname=url_obj.hostname, path=url_obj.path)

    context_dict = {'request': request, 'sentry_dsn': sentry_dsn}
    return HttpResponseServerError(t.render(context_dict))

I also came across this error today. I was following the docs [https://docs.sentry.io/platforms/python/guides/django/enriching-events/user-feedback/) and inconveniently it doesn't mention the step of overriding the 500 handler. If you follow that as shown in the top answer and then the rest of the code in the docs will help solve the problem.


HTML Reporting

utPLSQL V2 included an HTML reporter.

Folder Hierarchy

Schema (Actual Name)

TestRunner (Actual Name)

CodeCoverage
TestCase (Actual Name)

Navigation

Schema (multiple)

Test Runners (multiple)

Code Coverage (combined with Test Cases)

Missed Lines
All Lines

Test Cases (multiple)

Failed Assertions
All Assertions


[🐛 in esl-tooltip]: tooltip arrow disappearing

Open the tooltip through one activator and, without closing the tooltip, open it by clicking on another activator. As a result, the tooltip changes position but loses the arrow.
Expected behavior
The tooltip should change position and have an arrow.

:tada: This issue has been resolved in version 5.0.0-beta.40 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Footer should always be at the bottom of the page which is not the case here #811

Closes: #811
-Footer should always be at the bottom of the page which is not the case here #811

Tarun kumar
GSSOC 2024 ext and hacktoberfest

Describe the add-ons or changes you've made 📃
I have fixed the issue that the footer is not in the bottom of the page when the content is less on the page. i have provided the before and after screenshots.
Screenshots 📷
Before :-

After :-

This is for all the pages.
Type of change ☑

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[X] My code follows the Contributing Guidelines & Code of Conduct of this project.
[X] This PR does not contain plagiarized content.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly wherever it was hard to understand.
[X] My changes generate no new warnings.

Note to reviewers 📄
@Avdhesh-Varshney Check this PR and merge this and assign this to me and add relevent labels like gssoc 2024 ext, hacktoberfest and level.

Never commit your pr in main branch


How to use it for symlinking a plugin?

I have a plugin folder I want to symlink into the WP plugin folder local by flywheel is running on. Not sure what to enter in the HOST source and in the Container Destination?
For HOST source probably something like
/Users/michael-heuberger/code/my-plugin
but what to enter under Container Destination?? Maybe
a) /Users/michael-heuberger/Local Sites/mylocalsite/app/public/wp-content/plugins or
b) /app/public/wp-content/plugins ?
??

/app/public/wp-content/plugins/my-plugin

woho, thanks for your superfast response


AttributeError: 'NoneType' object has no attribute 'group'

Scraping Videos...
Starting Scraping
<instaloader.nodeiterator.NodeIterator object at 0x0000029E8B455F28>
Traceback (most recent call last):
File "main.py", line 145, in
attemptRoutine()
File "main.py", line 136, in attemptRoutine
routine()
File "main.py", line 93, in routine
days=1)
File "C:\Users\mrdho\Dropbox\automated_youtube_channel-master\scrape_videos.py", line 28, in scrapeVideos
looter = ProfileLooter(acc, videos_only=True, template="{id}-{username}-{width}-{height}")
File "C:\Python3\lib\site-packages\instalooter\looters.py", line 705, in init
super(ProfileLooter, self).init(**kwargs)
File "C:\Python3\lib\site-packages\instalooter\looters.py", line 287, in init
token = get_shared_data(res.text)['config']['csrf_token']
File "C:\Python3\lib\site-packages\instalooter_utils.py", line 94, in get_shared_data
return json.loads(match.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

does anyone have the same problem?

yes i have the same problem and not getting any solution in the internet  can anyone please tell me where i am making mistake??

same problem :(

Currently stuck with the same error. Does anyone know a solution?

No and it's starting to get annoying :(

Anyone got a solution!?
pleasee

It looks like you are trying to scrape videos from Instagram using Instalooter, and you are encountering an AttributeError with the message "'NoneType' object has no attribute 'group'. This error is raised because the "get_shared_data" function in Instalooter is unable to extract the shared data from the HTML page.
There could be a few reasons for this. One possibility is that the Instagram page you are trying to scrape has changed its structure, and the get_shared_data function can no longer find the shared data. Another possibility is an issue with the HTML page you are trying to scrape, such as a syntax error or a missing element.
To troubleshoot this issue, you can try the following steps:

Make sure that you are using the latest version of Instalooter.

Check the HTML page you are trying to scrape to see if there are any obvious issues, such as syntax errors or missing elements.

Try scraping a different Instagram page to see if the issue persists.

Check the Instalooter documentation or the source code for the get_shared_data function to see if there are any updates or changes that may have caused the issue.

I hope these suggestions help you resolve the issue with your Instagram video scraping.

Instagram probably updated something in their code making instalooter break

Help, I am stuck on the same problem


chore: Bump dependencies

Description
INFO:root:Updating 1 - Account Infrastructure Base
INFO:root:current version: v1.7.0
INFO:root:latest version: v1.10.2
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.5e2f1f48-776d-4dce-87f5-de2940fdc2e3-global
INFO:root:Updating 1 - Account Infrastructure Base to version v1.10.2
INFO:root:Updating 2a - Security Service - Key Management
INFO:root:current version: v4.13.0
INFO:root:latest version: v4.14.0
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.4a3affda-ffc6-4d14-a4f7-aeeb2b80908c-global
INFO:root:Updating 2a - Security Service - Key Management to version v4.14.0
INFO:root:Updating 2b - Security Service - Secret Manager
INFO:root:current version: v1.13.1
INFO:root:latest version: v1.15.0
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.62deff73-587f-4dc6-99cf-15854a2d9ba0-global
INFO:root:Updating 2b - Security Service - Secret Manager to version v1.15.0
INFO:root:Updating 2c - Security Service - Security Compliance Center
INFO:root:current version: v1.6.5
INFO:root:latest version: v1.12.1
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.f4dfbf7a-5bc6-4fc7-bfe8-e9bfb3dc145e-global
INFO:root:Updating 2c - Security Service - Security Compliance Center to version v1.12.1
INFO:root:Updating 3 - Observability - Logging Monitoring Activity Tracker
INFO:root:current version: v1.4.0
INFO:root:latest version: v1.9.1
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.2df9138c-f658-4d5a-b212-8c1445a5e6c8-global
INFO:root:Updating 3 - Observability - Logging Monitoring Activity Tracker to version v1.9.1
INFO:root:Updating 4 - WatsonX SaaS services
INFO:root:current version: v1.0.0
INFO:root:latest version: v1.3.2
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.0645267d-b8e9-42d9-8b4f-ea67dc713ff7-global
INFO:root:Updating 4 - WatsonX SaaS services to version v1.3.2
INFO:root:Updating 5 - Sample RAG app - Application Lifecycle Management
INFO:root:current version: 1.2.1
INFO:root:latest version: 1.8.0
INFO:root:latest version locator: 1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.cce4d1b1-c09a-4c23-8aba-92f6e9f38cda-global
INFO:root:Updating 5 - Sample RAG app - Application Lifecycle Management to version 1.8.0
INFO:root:Updating 6 - Sample RAG app configuration
INFO:root:current version: v1.9.1
INFO:root:latest version: v2.0.1
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.af19228a-3182-46da-b52a-b1d9f662609d-global
INFO:root:Updating 6 - Sample RAG app configuration to version v2.0.1
Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

INFO:root:Updating 1 - Account Infrastructure Base
INFO:root:current version: v1.10.2
INFO:root:latest version: v1.10.4
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.be107739-fdfc-4089-95e0-def4abac847d-global
INFO:root:Updating 1 - Account Infrastructure Base to version v1.10.4
INFO:root:Updating 2a - Security Service - Key Management
INFO:root:current version: v4.14.0
INFO:root:latest version: v4.14.0
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.4a3affda-ffc6-4d14-a4f7-aeeb2b80908c-global
INFO:root:2a - Security Service - Key Management is already up to date. No updates were made.
INFO:root:Updating 2b - Security Service - Secret Manager
INFO:root:current version: v1.15.0
INFO:root:latest version: v1.15.1
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.037f40f0-2575-40fe-a771-81ac437d5d60-global
INFO:root:Updating 2b - Security Service - Secret Manager to version v1.15.1
INFO:root:Updating 2c - Security Service - Security Compliance Center
INFO:root:current version: v1.12.1
INFO:root:latest version: v1.12.2
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.f91391b9-72c3-48c2-b40d-fb27cfc7d00c-global
INFO:root:Updating 2c - Security Service - Security Compliance Center to version v1.12.2
INFO:root:Updating 3 - Observability - Logging Monitoring Activity Tracker
INFO:root:current version: v1.9.1
INFO:root:latest version: v1.9.2
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.351cb33e-7037-4016-a38f-4e10c4a7ef68-global
INFO:root:Updating 3 - Observability - Logging Monitoring Activity Tracker to version v1.9.2
INFO:root:Updating 4 - WatsonX SaaS services
INFO:root:current version: v1.3.2
INFO:root:latest version: v1.3.4
INFO:root:latest version locator: 1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.c237751c-d3dd-4c23-b0b1-ba726d30c8e9-global
INFO:root:Updating 4 - WatsonX SaaS services to version v1.3.4
INFO:root:Updating 5 - Sample RAG app - Application Lifecycle Management
INFO:root:current version: 1.8.0
INFO:root:latest version: 1.8.0
INFO:root:latest version locator: 1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.cce4d1b1-c09a-4c23-8aba-92f6e9f38cda-global
INFO:root:5 - Sample RAG app - Application Lifecycle Management is already up to date. No updates were made.
INFO:root:Updating 6 - Sample RAG app configuration
INFO:root:current version: v2.0.1
INFO:root:latest version: v2.0.1
INFO:root:latest version locator: 7a4d68b4-cf8b-40cd-a3d1-f49aff526eb3.af19228a-3182-46da-b52a-b1d9f662609d-global
INFO:root:6 - Sample RAG app configuration is already up to date. No updates were made.

/run pipeline

/run pipeline

Tested manual deployment, which is working

/run pipeline

/run pipeline

/run pipeline

Tests should be unblocked again now that https://github.com/terraform-ibm-modules/stack-retrieval-augmented-generation/pull/144 is merged

/run pipeline

/run pipeline

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on:

GitHub release
v1.2.0

Your semantic-release bot :package::rocket:


Fix opsctl list routingrules

$ opsctl list routingrules
Error: Strconv.ParseInt: parsing "managed_apps_service_level": invalid syntax
        /home/runner/work/opsctl/opsctl/command/list/routingrules/command.go:120
        /home/runner/work/opsctl/opsctl/command/list/routingrules/command.go:77
        /home/runner/work/opsctl/opsctl/main.go:51

In https://github.com/giantswarm/opsctl/blob/master/service/opsgenie/opsgenie.go#L280 we do some filtering of all the routing rules in the alerts_router_team to filter out the rules that aren't managed by opsctl
The new routing rules we added to the alerts_router_team (for managed apps and ticket service level reasons) didn't match these patterns, which then broke the parsing later, as we assumed they were managed by opsctl and encoded certain information, see https://github.com/giantswarm/opsctl/blob/master/command/list/routingrules/command.go#L120
So, updated all the routing rules to match the naming patterns, and we're all good again.
$ opsctl list routingrules
ID                                    NAME                     TYPE                  CONDITION             END-TIME
9bbeab96-c781-49cf-9ce3-9cc798f31c9b  fer-upgrade-1624265575   match-all-conditions  message~=naap0        2021-06-21 09:52:55
2ba8319c-f8d2-4187-9cc7-73fd887f66d8  upgradedeu01-1623909768  match-all-conditions  message~=deu01        2021-06-17 07:02:48
97d78fbc-9eb7-4678-a95a-bbcefa373e70  vol-passage-1623778381   match-all-conditions  description~=passage  2021-06-15 18:33:01
$ opsctl create routingrule<EMAIL_ADDRESS>-n=joe-test -c=jabberwocky

Escalation `joe-test-1624375829` for user<EMAIL_ADDRESS>has been created.

Routing rule `joe-test-1624375829` for user<EMAIL_ADDRESS>has been created.

$ opsctl list routingrules
ID                                    NAME                     TYPE                  CONDITION             END-TIME
59108b74-4316-4a92-a439-21bb1aa07d25  joe-test-1624375829      match-all-conditions  message~=jabberwocky  2021-06-22 16:30:29
9bbeab96-c781-49cf-9ce3-9cc798f31c9b  fer-upgrade-1624265575   match-all-conditions  message~=naap0        2021-06-21 09:52:55
2ba8319c-f8d2-4187-9cc7-73fd887f66d8  upgradedeu01-1623909768  match-all-conditions  message~=deu01        2021-06-17 07:02:48
97d78fbc-9eb7-4678-a95a-bbcefa373e70  vol-passage-1623778381   match-all-conditions  description~=passage  2021-06-15 18:33:01
$ opsctl delete routingrule --id=59108b74-4316-4a92-a439-21bb1aa07d25

Routing rule '59108b74-4316-4a92-a439-21bb1aa07d25' has been deleted.

Escalation '41c69884-dccb-4323-b24e-d320f95d8fad' has been deleted.

$ opsctl list routingrules
ID                                    NAME                     TYPE                  CONDITION             END-TIME
9bbeab96-c781-49cf-9ce3-9cc798f31c9b  fer-upgrade-1624265575   match-all-conditions  message~=naap0        2021-06-21 09:52:55
2ba8319c-f8d2-4187-9cc7-73fd887f66d8  upgradedeu01-1623909768  match-all-conditions  message~=deu01        2021-06-17 07:02:48
97d78fbc-9eb7-4678-a95a-bbcefa373e70  vol-passage-1623778381   match-all-conditions  description~=passage  2021-06-15 18:33:01

@snizhana-dynnyk i'd say this is also something we should try to address when we get to improving routing (that we have both routing rules created by us, and routing rules created by opsctl in the same place), but closing this here as it's fixed


Avoiding sbrefs for the coregistration reference causes poor registration in low contrast multiband sequences

What happened?
Reported in https://neurostars.org/t/poor-func-anatomical-registration-with-fmriprep-21-0-2-on-multi-echo-data-set/26217, coregistration is poor. We currently use sbrefs for the initial boldref, but not for the final, which means that we have the benefit of high contrast for HMC, where it matters less, and not for coregistration, where it matters more.

Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
No response
Additional information / screenshots
No response

I'm not even sure SBRefs should be used at all. We probably want to dismiss them totally: for realignment (head-motion estimation, if you want to be precise) I have the impression that a monomodal cost function (with monomodal inputs, i.e., the time series and a reference extracted FROM the time series) should be generally way more reliable than a multimodal cost function (as mutual information) against the SBRef.
I'd advocate for using SBRefs only in fieldmap estimation by SDCFlows.
WDYT?

I agree that we should stop using sbref for head motion estimation and sbref for SDC. I think we want to use the fieldmap-corrected sbref for coregistration, as it should have better gray/white contrast for boundary-based registration.

Here's my current thinking (updated from #3058):
graph TB;
    bold.nii --> desc-hmc_boldref.nii;
    sbref.nii---->desc-intermediate_boldref.nii;
    desc-hmc_boldref.nii-->desc-intermediate_boldref.nii;
    desc-hmc_boldref.nii-->from-orig_to-boldref_xfm.txt;
    fmap.nii--->from-fmap_to-boldref_xfm.txt;
    desc-hmc_boldref.nii-->from-fmap_to-boldref_xfm.txt;
    fmap.nii---->space-boldref_fmap.nii;
    from-fmap_to-boldref_xfm.txt-->space-boldref_fmap.nii;
    space-boldref_fmap.nii-->desc-coreg_boldref.nii;
    desc-intermediate_boldref.nii-->desc-coreg_boldref.nii;
    desc-coreg_boldref.nii-->from-boldref_to-T1w_xfm.txt;

I would suggest something like:
graph TB;
    bold.nii --> desc-hmc_boldref.nii;
    bold.nii --> from-orig_to-boldref_xfm.txt;
    bold.nii--->desc-hmc+sdc_boldref.nii;
    sbref.nii --> fmap.nii;
    epi.nii --> fmap.nii;
    sbref.nii --> fmapref.nii;
    epi.nii --> fmapref.nii;
    desc-hmc_boldref.nii --> from-orig_to-boldref_xfm.txt;
    from-orig_to-boldref_xfm.txt--->desc-hmc+sdc_bold.nii;
    fmapref.nii--->from-fmap_to-boldref_xfm.txt;
    fmap.nii--->desc-hmc+sdc_bold.nii;
    desc-hmc_boldref.nii--->from-fmap_to-boldref_xfm.txt;
    from-fmap_to-boldref_xfm.txt--->desc-hmc+sdc_bold.nii;
    desc-hmc+sdc_bold.nii--->desc-hmc+sdc_boldref.nii;
    desc-hmc+sdc_boldref.nii--->from-boldref_to-T1w.xfm;

With the following variations, (1) if all PEs are encoded by EPIs under fmap/ then the sbref can be dismissed if present:
graph TB;
    bold.nii --> desc-hmc_boldref.nii;
    bold.nii --> from-orig_to-boldref_xfm.txt;
    bold.nii--->desc-hmc+sdc_boldref.nii;
    dir-AP_epi.nii --> fmap.nii;
    dir-PA_epi.nii --> fmap.nii;
    dir-AP_epi.nii --> fmapref.nii;
    dir-PA_epi.nii --> fmapref.nii;
    desc-hmc_boldref.nii --> from-orig_to-boldref_xfm.txt;
    from-orig_to-boldref_xfm.txt--->desc-hmc+sdc_bold.nii;
    fmapref.nii--->from-fmap_to-boldref_xfm.txt;
    fmap.nii--->desc-hmc+sdc_bold.nii;
    desc-hmc_boldref.nii--->from-fmap_to-boldref_xfm.txt;
    from-fmap_to-boldref_xfm.txt--->desc-hmc+sdc_bold.nii;
    desc-hmc+sdc_bold.nii--->desc-hmc+sdc_boldref.nii;
    desc-hmc+sdc_boldref.nii--->from-boldref_to-T1w.xfm;

If the fieldmap comes from a phasediff:
graph TB;
    bold.nii --> desc-hmc_boldref.nii;
    bold.nii --> from-orig_to-boldref_xfm.txt;
    bold.nii--->desc-hmc+sdc_boldref.nii;
    phasediff.nii --> fmap.nii;
    magnitude.nii --> fmapref.nii;
    desc-hmc_boldref.nii --> from-orig_to-boldref_xfm.txt;
    from-orig_to-boldref_xfm.txt--->desc-hmc+sdc_bold.nii;
    fmapref.nii--->from-fmap_to-boldref_xfm.txt;
    fmap.nii--->desc-hmc+sdc_bold.nii;
    desc-hmc_boldref.nii--->from-fmap_to-boldref_xfm.txt;
    from-fmap_to-boldref_xfm.txt--->desc-hmc+sdc_bold.nii;
    desc-hmc+sdc_bold.nii--->desc-hmc+sdc_boldref.nii;
    desc-hmc+sdc_boldref.nii--->from-boldref_to-T1w.xfm;

But why do we not want to use sbref for coregistration? That does not make any sense to me.

But why do we not want to use sbref for coregistration? That does not make any sense to me.

Fair point. I'll try to see if that automatically translates my proposal into yours.

Also, a lot of these details about pepolar/phasediff should be abstracted by sdcflows. But if we take fmapref and fmap as given, my graph becomes:
graph TB;
    bold.nii --> desc-hmc_boldref.nii;
    sbref.nii--->desc-intermediate_boldref.nii;
    desc-hmc_boldref.nii-->desc-intermediate_boldref.nii;
    bold.nii --> from-orig_to-boldref_xfm.txt;
    desc-hmc_boldref.nii-->from-orig_to-boldref_xfm.txt;
    fmapref.nii---->from-fmap_to-boldref_xfm.txt;
    desc-intermediate_boldref.nii-->from-fmap_to-boldref_xfm.txt;
    fmap.nii----->space-boldref_fmap.nii;
    from-fmap_to-boldref_xfm.txt-->space-boldref_fmap.nii;
    space-boldref_fmap.nii-->desc-coreg_boldref.nii;
    desc-intermediate_boldref.nii-->desc-coreg_boldref.nii;
    desc-coreg_boldref.nii-->from-boldref_to-T1w_xfm.txt;

Where the intermediate boldref is either the HMC boldref or the sbref, with preference to sbref.

Hi @effigies and @oesteban -- apologies if this should be a new issue, but I'd like to throw out one additional consideration with respect to sbrefs, coregistration, motion correction, and distortion correction.
This is probably an edge case -- and for context note there was some discussion of this issue on the heudiconv page (see https://github.com/nipy/heudiconv/issues/549#issuecomment-1573105116) -- but when users are collecting phase and magnitude images for their functionals (e.g., multi-echo sequences), it looks like fmriprep averages across the sbref images and then uses the average phase and magnitude image as sbref.nii in the graphs above. In my case, I have two sbref images for each functional run (part-phase_sbref and part-mag_sbref). I've ran fmriprep with both images in there and also after deleting the part-phase_sbref image and renaming the part-mag_sbref to remove the part-mag. Comparing these two scenarios, I can see that the carpet plots look very different (suggesting a different reference image). I think the "corrected" image in the distortion correction looks the same, but the "distorted" image (maybe the average of part-phase_sbref and part-mag_sbref?) looks very different to me. See below.
Running fmriprep with part-phase_sbref and part-mag_sbref:

Running fmriprep after deleting part-phase_sbref and renaming part-mag_sbref):

I know the fmriprep team is still working out how it handles sbref images (https://github.com/nipreps/fmriprep/issues/1511), but hopefully this isn't too much of an edge case to merit some attention sooner rather than later. I'd be happy to share some data if it's helpful.
Thanks!
David

Yes, we should update our queries to take part mag or None. That's a quick fix, and you can use it in a BIDS filter file (see FAQ).

Great, thanks! I'll create a config.json file to feed into the --bids-filter-file where I will change the suffix for the sbref image like I have below:
{
  "fmap": {"datatype": "fmap"},
  "bold": {"datatype": "func", "suffix": "bold"},
  "sbref": {"datatype": "func", "suffix": "part-mag_sbref"},
  "flair": {"datatype": "anat", "suffix": "FLAIR"},
  "t2w": {"datatype": "anat", "suffix": "T2w"},
  "t1w": {"datatype": "anat", "suffix": "T1w"},
  "roi": {"datatype": "anat", "suffix": "roi"}
}

This should be much better/easier than deleting and renaming various files.
Thanks again!
David

This won't work:
  "sbref": {"datatype": "func", "suffix": "part-mag_sbref"},

You'll need to specify the part entity:
  "sbref": {"datatype": "func", "suffix": "sbref", "part": [null, "mag"]},

That will accept files that either do not have a part entity, or part == "mag".

Wonderful! Thanks for the fix!

Hi @effigies @oesteban I just wanted to confirm that until this is changed, strategies like this one https://neurostars.org/t/fmriprep-coregistration-within-sessions/5891/6 won't work to align bold across sessions right?

@effigies sorry to bother you! but we want to implement something where we can ensure good cross-session registration of BOLD data in the same subject like here (https://neurostars.org/t/fmriprep-coregistration-within-sessions/5891/6). Ideally we'd like to use fmriprep since thats what we already use and I am hoping there is some way I can implement it. Do you have any suggestions?

Hi @zachladwig, I think that approach should still work, since you won't be depending on using the sbrefs for their contrast, just their position.

got it, so because it uses the sbref for HMC, it will align all of the runs (if I pass it in a fake mean sbref).
But, it will not use them for registration. So all of the runs will be aligned to each other (via HMC), but their registration  to T1 will be sub-optimal because I will not have the high contrast from the sbref. Right?

The registration will use a boldref created from each BOLD series aligned to your fake sbref. So the registration should be fine. The current problem is not with how realignment happens, just with using suboptimal contrasts.

ah okay i think I understand. thank you for your help

This is fixed in next.

great!


Bump version of Cloud Datastore Python package

Bumping the version in sdks/python/container/base_image_requirements.txt to match setup.py, and while we're at it, it probably makes sense to bump to the latest version without breaking changes (1.15.3).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @tvalentyn

Thanks!


Fix language server telemetry event name choice

#3003 cherry picked a change to forward language server telemetry, but it accessed the wrong member of the event, causing the default to always be used.
I didn't create a news entry for this (not sure it warrants one), but I can if you'd prefer.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] ~Has a news entry file (remember to thank yourself!)~
[x] ~Unit tests & system/integration tests are added/updated~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed)~

@jakebailey 	@MikhailArkhipov
I'm assuming this fix will need to go into the point release we're planning on releasing on Monday.
Please confirm.

I didn't create a news entry for this (not sure it warrants one), but I can if you'd prefer.

No need (we'll need news entries only for changes between releases).

Yes. Brett mentioned that he'd be able to cherry pick this for Monday.


Briansbranch

These are changes needed for windspeed plots (850mb, 250mb, 10m, max updraft (mup), and max downdraft (mdn)).

Here are some examples with their NCL counterparts.


bug: User is unable to pre-validate before biometric test creating a potential vulnerability

Bug Overview
Investigate if new requests include a notification that confirms the device user’s intent to biometrically authenticate.
Bug Details
Steps to replicate

@KingOfTac please update with details you discovered.


Failed to run in local

USE_LOCAL=1 MICROSCANNER_TOKEN=*** ./scan.sh bkimminich/juice-shop
which: no microscanner in (/sbin:/sbin:/bin:/usr/sbin:/usr/bin)
Sending build context to Docker daemon  2.095kB
Step 1/5 : FROM bkimminich/juice-shop
---> 343934d04e44
Step 2/5 : RUN if [ ! -d /etc/ssl/certs/ ] || { [ ! -f /etc/ssl/certs/ca-certificates.crt ] && [ ! -f /etc/ssl/certs/ca-bundle.crt ]; }; then   PACKAGE_MANAGER=$(basename     $({ command -v apk apt yum false 2>/dev/null || which apk apt yum false; }     | head -n1));   if [ "${PACKAGE_MANAGER}" = "apk" ]; then     apk --update add ca-certificates;   elif [ "${PACKAGE_MANAGER}" = "apt" ]; then     apt update       && apt install --no-install-recommends -y ca-certificates       && update-ca-certificates;   elif [ "${PACKAGE_MANAGER}" = "yum" ]; then     yum install -y ca-certificates;   else     echo 'ca-certificates not found and package manager not apk, apt, or yum. Aborting' >&2;     exit 1;   fi; fi;
---> Running in 32b797186633
ERROR: Unable to lock database: Permission denied
ERROR: Failed to open apk database: Permission denied
Removing intermediate container 32b797186633
The command '/bin/sh -c if [ ! -d /etc/ssl/certs/ ] || { [ ! -f /etc/ssl/certs/ca-certificates.crt ] && [ ! -f /etc/ssl/certs/ca-bundle.crt ]; }; then   PACKAGE_MANAGER=$(basename     $({ command -v apk apt yum false 2>/dev/null || which apk apt yum false; }     | head -n1));   if [ "${PACKAGE_MANAGER}" = "apk" ]; then     apk --update add ca-certificates;   elif [ "${PACKAGE_MANAGER}" = "apt" ]; then     apt update       && apt install --no-install-recommends -y ca-certificates       && update-ca-certificates;   elif [ "${PACKAGE_MANAGER}" = "yum" ]; then     yum install -y ca-certificates;   else     echo 'ca-certificates not found and package manager not apk, apt, or yum. Aborting' >&2;     exit 1;   fi; fi;' returned a non-zero code: 99

turns out it didn't support images that don't run as root and need the TLS certs :facepalm:


[doc] Update built-ins docs

The documentation on the variable built-in was out of date. This section has now been updated to show its current capabilities.
A sentence was added in the parameter built-in section indicating that the parameterized_test decorator will be deprecated.

The basic examples shown in the built-ins section are good enough to illustrate their capabilities, so there is no need to add another tutorial explaining these. Instead, a statement has been added in the introduction of the Writing reusable tests tutorial encouraging users to read the basic examples from the built-ins section of the ReFrame manual.
Closes #1935.
This also relates to #1899.

Codecov Report

Merging #1940 (54804a5) into master (45fbacb) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1940      +/-   ##
==========================================
- Coverage   87.90%   87.89%   -0.01%
==========================================
  Files          50       50
  Lines        8620     8627       +7
==========================================
+ Hits         7577     7583       +6
- Misses       1043     1044       +1

Impacted Files
Coverage Δ

reframe/utility/__init__.py
92.82% <ø> (ø)

reframe/core/runtime.py
88.95% <0.00%> (-0.21%)
:arrow_down:

reframe/frontend/cli.py
76.03% <0.00%> (+0.04%)
:arrow_up:

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 45fbacb...54804a5. Read the comment docs.

@jenkins-cscs retry dom

I was about to merge it, but the CI of the tutorials fails. I fixed a couple of typos, but @jjotero can you fix the rest?


pythonPackages.configshell: Add urwid to deps

Motivation for this change
It's required in
https://github.com/open-iscsi/configshell-fb/blob/master/configshell/node.py#L1062
and crashes when reaching the function with that import.
Reproduce with:

Open targetcli
Execute a plain cd without a path.

> nix-shell -p targetcli --run targetcli
targetcli shell version 2.1.fb49
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

You are not root, disabling privileged commands.

/> cd
Traceback (most recent call last):
  File "/nix/store/v8jymljdrangfpj03rs50a48ymmpmmqm-targetcli-2.1.fb49/bin/.targetcli-wrapped", line 123, in <module>
    main()
  File "/nix/store/v8jymljdrangfpj03rs50a48ymmpmmqm-targetcli-2.1.fb49/bin/.targetcli-wrapped", line 113, in main
    shell.run_interactive()
  File "/nix/store/h2306py2z6xs9gpfplm1vd25p1xirbvk-python2.7-configshell-1.1.fb25/lib/python2.7/site-packages/configshell_fb/shell.py", line 905, in run_interactive
    self._cli_loop()
  File "/nix/store/h2306py2z6xs9gpfplm1vd25p1xirbvk-python2.7-configshell-1.1.fb25/lib/python2.7/site-packages/configshell_fb/shell.py", line 734, in _cli_loop
    self.run_cmdline(cmdline)
  File "/nix/store/h2306py2z6xs9gpfplm1vd25p1xirbvk-python2.7-configshell-1.1.fb25/lib/python2.7/site-packages/configshell_fb/shell.py", line 848, in run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/nix/store/h2306py2z6xs9gpfplm1vd25p1xirbvk-python2.7-configshell-1.1.fb25/lib/python2.7/site-packages/configshell_fb/shell.py", line 823, in _execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/nix/store/h2306py2z6xs9gpfplm1vd25p1xirbvk-python2.7-configshell-1.1.fb25/lib/python2.7/site-packages/configshell_fb/node.py", line 1406, in execute_command
    return method(*pparams, **kparams)
  File "/nix/store/h2306py2z6xs9gpfplm1vd25p1xirbvk-python2.7-configshell-1.1.fb25/lib/python2.7/site-packages/configshell_fb/node.py", line 1028, in ui_command_cd
    selected = self._lines_walker(lines, start_pos=start_pos)
  File "/nix/store/h2306py2z6xs9gpfplm1vd25p1xirbvk-python2.7-configshell-1.1.fb25/lib/python2.7/site-packages/configshell_fb/node.py", line 1062, in _lines_walker
    import urwid
ImportError: No module named urwid

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)
[x] 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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@grahamcofborg build targetcli


3337 distribution request connection  rebased

Rebased version of #3438
Resolves #3337
@cielf will check to see whether this should replace her branch or be used in lieu of that PR.

I've checked that the automated tests (still) pass,  done a manual check,  and eyeballed the migration.   I'm good with this serving as the PR for this issue.   Will remove the "Resolves" on the original #3438 and close it.

@cielf anything blocking us from merging this?

Pretty sure we're ok.    I'm going to note, though,  that we've got quite a few things in the PR list that have migrations and we'll need to pay attention to the dates on the ones that don't make it into this release.

Noice!


feat: constant folding for arithmetic conversion operations

based on #769

Could you resolve the conflicts? (Seems to be quite a lot of overlap with the already-merged PR.)

Could you resolve the conflicts?

Yes, sorry, done


Helium (Hotspot) does not work,  but Hotspot Utility works fine

hey guys,
the main issue is that the Helium (Hotspot) app will not work. it did when i setup my Bobcat 300, but now it just asks me to "create an account/import existing account". if i go to import existing account and put in my 12 pass phrase nothing happens, the app just sits there. for a few days after i setup the Bobcat initially it would work and ask for my 6 digit pin. but now all i get is the  "create/import" options. last week it came back to asking me for my 6 digit pin and when i went in and went through all the prompts it told me my miner was owned by someone else. wtf? but now it's back to only offering me "create/import" options when i open the app.
HOWEVER, the hotspot utility app works fine and does it's diagnosis.
very weird.
i don't get it. any suggestions?

did you enter your 12 words correctly, in the exact order when you created your account? the utility app is just there for diagnosis. it's not a wallet.
it sounds like to me that you're having issues logging into your wallet with the 12 word seed phrase.
read through this and try again. https://docs.helium.com/wallets/app-wallet/twelve-words/ but this isn't a bug with the app so I'll have to close this issue.

whowa! thanks for the quick response cokes. ya i understand the diff between the two. that's y this is so important, i can't get into my wallet.
knowing about the correct spelling, yes, i've tried many, many, many, (keep counting) times. but like i said, i put in the 12 words and the app just sit's there. does nothing! nada, zip, zero. every time.
but let me go to your link and see what it says.
we'll chat again, thanks

just read your link. nope, i'm sure!

What app version are you using? What device? Second, find your bobcat on explorer and check the owner address and compare that with the address that you see in the app when logged into the 12 words. Do they match?

From: shivad108 @.>
Sent: Tuesday, December 28, 2021 12:22:50 PM
To: helium/hotspot-app @.>
Cc: Coco Tang @.>; State change @.>
Subject: Re: [helium/hotspot-app] Helium (Hotspot) does not work, but Hotspot Utility works fine (Issue #1183)
just read your link. nope, i'm sure!
—
Reply to this email directly, view it on GitHubhttps://github.com/helium/hotspot-app/issues/1183#issuecomment-1002268361, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AETPRSSMEZRLQCR2MXNSQNLUTIMBVANCNFSM5K4WHUQQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>

ahhhh... i just downloaded it again on my phone this morning (after doing a complete reset on my phone over weeks of doing this). so it should be the latest. (google play store doesn't have the version number but says it was last updated 12/07/2021). i am using a Motorola One 5G ace (it's like a google version of the orig Moto phone). but i don't think that's the problem cause my Hotspot Utility app connects right up and does it's diags thing. i can open the bobcat explorer and diagnoser, but i never wrote down the wallet address or anything about the wallet when i first set it up so have nothing to compare it with since I CANNOT OPEN HELIUM HOTSPOT except to get the create/import options.

On the helium app, press import account and enter your 12 words. What happens after that?

From: shivad108 @.>
Sent: Tuesday, December 28, 2021 12:38:43 PM
To: helium/hotspot-app @.>
Cc: Coco Tang @.>; State change @.>
Subject: Re: [helium/hotspot-app] Helium (Hotspot) does not work, but Hotspot Utility works fine (Issue #1183)
ahhhh... i just downloaded it again on my phone this morning (after doing a complete reset on my phone over weeks of doing this). so it should be the latest. (google play store doesn't have the version number but says it was last updated 12/07/2021). i am using a Motorola One 5G ace (it's like a google version of the orig Moto phone). but i don't think that's the problem cause my Hotspot Utility app connects right up and does it's diags thing. i can open the bobcat explorer and diagnoser, but i never wrote down the wallet address or anything about the wallet when i first set it up so have nothing to compare it with since I CANNOT OPEN HELIUM HOTSPOT except to get the create/import options.
—
Reply to this email directly, view it on GitHubhttps://github.com/helium/hotspot-app/issues/1183#issuecomment-1002273160, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AETPRSUHBGHGYASJL65LGNLUTIN5HANCNFSM5K4WHUQQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>

repeated twice abouve: NOTHING, NADA ZIP.  i put in the 12 words and the app just sits there doing nothing.

Then those 12 words do not generate a valid address on the helium network. You have a mistyped word somewhere.

From: shivad108 @.>
Sent: Tuesday, December 28, 2021 12:40:44 PM
To: helium/hotspot-app @.>
Cc: Coco Tang @.>; State change @.>
Subject: Re: [helium/hotspot-app] Helium (Hotspot) does not work, but Hotspot Utility works fine (Issue #1183)
repeated twice abouve: NOTHING, NADA ZIP. i put in the 12 words and the app just sits there doing nothing.
—
Reply to this email directly, view it on GitHubhttps://github.com/helium/hotspot-app/issues/1183#issuecomment-1002273711, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AETPRSVE4J3TXSEOAM32JA3UTIOEZANCNFSM5K4WHUQQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message ID: @.***>

btw, the diagnoser shows the public key (all it gives me) and the Hotspot explorer give's me the same pub key

WHOA, WHOA, WHOA!!!
while we've been doing this i got my mentor on all this on the phone. after a big discussion, he told me about putting in the 12 words AND THEN HITTING THE WORD THAT APPEARS BELOW THE INPUT LINE. never did that. so i did now and BAM opens right up (put in my 6 digits, etc.)
thanks so much for trying and putting up with this idiot.
u can close this now.


Get paid dividends

How can I get all the dividends I got during a period of time?

AFAIK you need the code that was added in this PR: https://github.com/lolokraus/DegiroAPI/pull/16
It adds the function account_overview which is the detailed activity report available in Degiro itself. In the returned object under the key "cashMovements" you'll get everything: buys, sells, dividends. You'll need to filter that for what you want based on the description of each entry.

Hi,
this library no longer seems to be maintained : the last code update was 10 months ago.
If you are looking for an alternative I made one :
https://github.com/Chavithra/degiro-connector
It has the method : get_account_overview.
It is documented and I plan to maintain it for a while.


As a user, I want Traveldiction to undergo user acceptance testing so that all features and modules meet my expectations and needs. Additionally, I want comprehensive documentation prepared for Traveldiction so that I can effectively use the platform and its features.

Working on the logo and ideas in designing the webpage.


follow duration - is it hours or minutes?

we have been using it as hours, but in extending a HIT psiturk seems to use it as a minute value. Which is the correct one?

Looking into this now...

Okay, so duration is specified in the configuration file for each demo. It only appears in a couple other places elsewhere in the code:

In PsiTurkRecruiter.open_recruitment, which calls PsiturkNetworkShell.hit_create, which specifies "duration": datetime.timedelta(hours=duration). Okay, so this one is hours.

In PsiturkRecruiter.recruit_participants, which contains the following:

            expiration_increment = self.config.get('HIT Configuration',
                                                   'duration')

            self.mtc.extend_hit(
                hit_id,
                expiration_increment=int(
                    float(expiration_increment or 0) * 3600))

So this multiplies duration by 3600 and then calls the extend_hit function in Boto, which contains:
        if expiration_increment:
            params['ExpirationIncrementInSeconds'] = expiration_increment

and thus expects seconds.
So everything looks okay to me.
@thomasmorgan, is the behavior incorrect?

Nope, looks good to me. Feel free to close.
--
Thomas J. H. Morgan
Assistant Professor of Evolutionary Anthropology
Arizona State University
www.eccolab.org
On 17 August 2016 at 15:10, Jordan Suchow<EMAIL_ADDRESS>wrote:

Okay, so duration is specified in the configuration file for each demo.
It only appears in a couple other places elsewhere in the code:

In PsiTurkRecruiter.open_recruitment, which calls
PsiturkNetworkShell.hit_create, which specifies "duration":
datetime.timedelta(hours=duration). Okay, so this one is hours.
2.
In PsiturkRecruiter.recruit_participants, which contains the following:
        expiration_increment = self.config.get('HIT Configuration',
                                               'duration')

        self.mtc.extend_hit(
            hit_id,
            expiration_increment=int(
                float(expiration_increment or 0) * 3600))

So this multiplies duration by 3600 and then calls the extend_hit
function in Boto, which contains:
    if expiration_increment:
        params['ExpirationIncrementInSeconds'] = expiration_increment

and thus expects seconds.
So everything looks okay to me.
@thomasmorgan https://github.com/thomasmorgan, is the behavior
incorrect?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/berkeley-cocosci/Wallace/issues/189#issuecomment-240564950,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIHR8QbMNm-36mYO73w7EyDnMraEAFSKks5qg4bbgaJpZM4FU3Ec
.


[UNDERTOW-2403] Fix race condition in read from buffer at ServletInpu…

…tStreamImpl: prevent a NPE from being thrown to invoker in case input stream is closed by another thread (which can happen typically in timeouts)
Jira: https://issues.redhat.com/browse/UNDERTOW-2403

Im going to trigger CI once more. Most likely this either needs to disable on mac or expect failure. Most likely we should have some sort of OS specific annotations or utility to make this kind of exclusion easier.


Swifter as proxy server

In my application, there are a lot of calls to the backend and using stubs for everyone is impossible. Therefore, I wanted to send most of the requests for a real backend and only get the necessary data from the swifter. So I wanted to use swifter as a proxy server. I found a recent discussion about this
https://github.com/httpswift/swifter/issues/376#issuecomment-481514351
Please share exapmle of code if you used swifter as a proxy server or you know how to do it easily. This code can be added to the documentation.

@venigreat I'm using it like this:

class LocalServer {
    enum LocalServerError: Error {
        // ...
    }

    struct Request {
        let path: String
    }

    typealias StreamCallback = (@escaping (Result<Data, Error>) throws -> Void) -> Void
    typealias HandlerCallback = (Request) -> (Result<StreamCallback, LocalServerError>)

    var routeHandler: HandlerCallback?

    init(port: Int = 0) {
        server.notFoundHandler = { [weak self] request in
            let onError: (LocalServerError) -> HttpResponse = {
                HttpResponse.badRequest(.json("{ \"error\": \"\($0.localizedDescription)\"}"))
            }
            guard let handler = self?.routeHandler?(LocalServer.Request.from(request)) else {
                return onError(.missingRouteHandler)
            }
            switch handler {
            case let .failure(error):
                return onError(error)
            case let .success(streamReader):
                return HttpResponse.raw(200, "OK", nil) { writer in
                    streamReader { result in
                        switch result {
                        case let .failure(error):
                            throw error
                        case let .success(data):
                            try writer.write(data)
                        }
                    }
                }
            }
        }
    }
}

I'm looking at this same issue, but I can't see how the suggested code actually calls out to another server.  Is there an implementation of routeHandler missing from the example?
Currently I'm thinking I'll need to wrap an implementation of URLSession and map it's response back into the matching Swifter response.


what if i deployed my parse server on heroku?

what if i deployed my parse server on heroku?
how to config it?
if it is not available i can contribute and make it available :smiley:

@adham90: you might be interested in my own Parse ORM.


DynamicLinkEditSymbolTable: Implement LinkEditData

Roundtripping of Mach objects which contain an indirect symbol table would fail because no corresponding MachLinkEditData object was created.
This commit implements DynamicLinkEditSymbolTable.LinkEditData and creates MachLinkEditData objects for all regions referenced from the dynamic link edit symbol table.
Because I don't know the size of entries in all regions other than the indirect symbol table, I added a Debug.Assert statement asserting that these regions are empty.

Because I don't know the size of entries in all regions other than the indirect symbol table, I added a Debug.Assert statement asserting that these regions are empty.

I will check it. If it's easy to fix I would prefer to do it within this PR.


Refactor Existing Codebase

Wherever Applicable:

Add comments
Refactor existing code

Commit 65f09c8 Update:
Existing files have been refactored:

index.js
generateMarkdown.js

New files have been created:

promptUser.js
writeFile.js


[CT-3188] [Bug] Referenc to a local repository not working

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
I am having a monorepository which contains an etl pipeline that extends over multiple databases.
System
(Third party source) --> Input data product --> Foundation Data product --> Insight data product
I looked into Should I have an organisation wide project (a monorepo) or should each work flow have their own? - In-Depth Discussions - dbt Community Forum (getdbt.com) and there where the repos
dbt Labs · GitHub
GitHub - dbt-labs/snowplow: Data models for snowplow analytics.
suggested.
If I set up a project accordingly
project

dbt

project_1

dbt_project.yaml

project_2

dbt_project.yaml

dbt_project.yaml
packages.yaml

packages:
    # https://github.com/dbt-labs/dbt-utils
  - local: dbt/project_1
  - local: dbt/project_2

I get the error
λ poetry run dbt deps
07:56:41  Running with dbt=1.5.1
07:56:41  Installing dbt/project_1
07:56:41  Encountered an error:
[WinError 1314] A required privilege is not held by the client: 'C:\devsbb\code\Test_multirepo\dbt\project_1' -> 'dbt_packages\project_1'
07:56:41  Traceback (most recent call last):
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\cli\requires.py", line 86, in wrapper
result, success = func(*args, **kwargs)
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\cli\requires.py", line 71, in wrapper
return func(*args, **kwargs)
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\cli\requires.py", line 125, in wrapper
return func(*args, **kwargs)
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\cli\requires.py", line 168, in wrapper
return func(*args, **kwargs)
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\cli\main.py", line 435, in deps
results = task.run()
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\task\deps.py", line 81, in run
package.install(self.project, renderer)
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\deps\local.py", line 64, in install
system.make_symlink(src_path, dest_path)
File "C:\Users\u231888\AppData\Local\pypoetry\Cache\virtualenvs\test-multirepo-6Va2XRNg-py3.8\lib\site-packages\dbt\clients\system.py", line 158, in make_symlink
os.symlink(source, link_path)
OSError: [WinError 1314] A required privilege is not held by the client: 'C:\devsbb\code\Test_multirepo\dbt\project_1' -> 'dbt_packages\project_1'
I also found an old post https://github.com/dbt-labs/dbt-core/issues/766
Expected Behavior
Flawless integration of other dbt_projects in form of packages
My main goal is to maintain multiple dbt_projects in one repo. The problems I challenge are

How do I provide one doc
How do I execute pre commit hooks
How do I make these dbt_projects accessable in the docker image

Steps To Reproduce

Create a new repository with multiple dbt_projects in poetry
Rund poetry run dbt deps

Relevant log output
No response
Environment
- OS:Windows
- Python:3.8.13
- dbt:1.5.1

Which database adapter are you using with dbt?
postgres, snowflake
Additional Context
No response

Sorry it was solved with an update to 1.6.4


"Re"implement code formatting

After some conversations on Slack, I saw there was some valid reasons to implement this... So here it is!
Right now it has exclusive support for clang-format, but it should be "easy enough™" to support more. Note that there's nothing stopping anyone from using it with a language other than C++, so we might want to add support for other languages down the line.
Tests should be coming up later. The PR is now up so I can be sure I didn't mess something real bad :)

This code is magically clean, would like to see a unittest that is with and without the formatter

Only missing thing are now the tests releated to not being able to test different POST payloads. Let me know if you can help with that


Parse straight from proc_macro::TokenStream

The input TokenStream already contains span information. The proc_macro2 copy of TokenStream exists because it is impossible to construct a proc_macro TokenStream outside of a procedural macro, and Syn supports some use cases that are not procedural macros.

Ok, I guess I misunderstood something when I read the proc-macro2 README. Could you explain a little more about this? When would you want to construct a TokenStream outside of a procedural macro? Why does the example in the proc-macro2 README convert to proc_macro2::TokenStream if it's only there for use outside of a procedural macro?

When would you want to construct a TokenStream outside of a procedural macro?

For example if you are implementing a source code formatter and it needs to be able to handle Macro nodes in which the macro body is represented as tokens.

Why does the example in the proc-macro2 README convert to proc_macro2::TokenStream if it's only there for use outside of a procedural macro?

The /* transform input */ is not shown but presumably it wants to be able to iterate over tokens of the input, which there is no stable way to do with proc_macro's TokenStream.

Here's a related question. In relm, which is currently using syn 0.11.x, if the user makes a syntax error somewhere in the macro, the error message shows up at the custom attribute, like this:
#[widget] // error message shows up here
impl Widget for MyWidget {
    // code with errors
}

I noticed that in wickerman, which uses 0.12.12,  if I make a syntax error in the definition of the struct that I apply #[wickerman] to, the error shows up where I make the error:
#[wickerman]
struct Bar<'a> {
    baz: i32,
    bees: String,
    qux: &'a str // leave off a comma here
    spam: &'a Foo, // error: expected `,`, or `{`, found spam
    eggs: &'a [u8],
}

Where does that difference come from with regards to where the error is reported? Is that a difference between 0.11 vs. 0.12, 0.12 taking advantage of something new in proc_macro, something else, or are those examples not comparable?

The source location is tracked per token by proc_macro::Span which is ignored in 0.11 and preserved when building with a nightly compiler in 0.12.


Post requirements for the TV Settings interface file.

Issue to update the post requirement in the TV settings interface file

merged to develop


Running FastTree on this data set results in awful metrics

I've followed the tutorial line by line using the sample data provided above.
The resulted metrics look like this:

  Model quality metrics evaluation

*------------------------------------------------

  RSquared Score:      -1.48

  Root Mean Squared Error:      15.1

Predicted fare: 0, actual fare: 15.5
Did anyone else encounter this issue while using the .csv train and test data?
I've tried both FastTree and FastTreeTweedie algorithm, both provide awful results.

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

ID: a30b3ff5-b5e6-ff02-6f60-b5cef6f34666
Version Independent ID: fdf962e2-620e-d9ad-5057-5f96f52dc60f
Content: Tutorial: Predict prices using regression - ML.NET
Content Source: docs/machine-learning/tutorials/predict-prices.md
Product: dotnet-ml
GitHub Login: @natke
Microsoft Alias: nakersha

Please disregard.
I've found the issue - I was missing the separatorChar from the:
_mlContext.Data.LoadFromTextFile<TaxiTrip>(_trainDataPath, hasHeader: true,  separatorChar: ',');
It was defaulting to \t and messed up model.
I suppose it would be useful to have the LoadFromTextFile method throw an exception if the column count doesn't match the schema.

Thank you for the suggestion @v3rt1go. I will pass it on to the dev team, or you are very welcome to raise the issue yourself at https://github.com/dotnet/machinelearning/issues


[Feature Request]: Add Follow Us section in Wildvine webpage

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
By connecting the charity to social media platforms, you can reach a wider audience beyond your website visitors, attracting more supporters and potential donors.
Use Case
Promote fundraising events, donation drives, and special campaigns to gather financial support.
Share tips on animal care, information about animal rights, and the importance of animal welfare.
Benefits
Expands the charity's reach by connecting with a broader audience on social media platforms.
Keeps supporters engaged with regular updates, stories, and calls to action, fostering a sense of community.
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@harsh02mishra u are assigned.


Fallback fonts

Description
Related to #208. Moving MinXft library and xmobar's fallback fonts logic to XMonad prompts, tabs labels, etc. So now, for example, prompts are able to display text and emoji. You can specify fonts to use through comma-separated list.  It also requires manual bindings from the Xft library, because https://hackage.haskell.org/package/X11-xft doesn't have binding for vital XftCharExists function.
Checklist

[X] I've read CONTRIBUTING.md

[ ] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: XXX

[ ] I updated the CHANGES.md file

@iliayar we now have the CI set up for the X11-xft repo, so could you PR that portion of this against https://github.com/xmonad/X11-xft?  Thanks!

Thanks!


poudriere testport -c does not use the correct ports tree.

Prerequisites

[X] Have you checked for an existing issue describing your problem?
[X] Are you running the latest version?
[X] Is your ports tree recent?
[X] Is your FreeBSD Host on a supported release?

Describe the bug
I always use poudriere testport -c to be able to review options, and today, I removed an option, and it was still showing up.
How to reproduce
Steps to reproduce the behavior:
Run poudriere testport -j 13amd64 -c sysutils/tmux
It ends up running
PORTSDIR=/home/mat/work/freebsd/ports __MAKE_CONF=/p/data/.m/13amd64-ports/ref/.p/tmp/poudriere-make.conf.ZWMGmFVT PORT_DBDIR=/p/data/.m/13amd64-ports/ref/var/db/ports TERM=screen-256color make -C /usr/ports/sysutils/tmux

Where /usr/ports is very wrong.
Expected behavior
It should either run inside the jail, or it should not use /usr/ports but the ports tree I am using.
Environment

Host OS 13.0 amd64
Jail OS 13.0 amd64
Poudriere Version poudriere-devel-<IP_ADDRESS>10303_1
Ports branch and revision: main 195f2e27fd72d

https://gist.github.com/bdrewery/6618d33d392b5f9ec1cd0bf10b81ae0c has a patch if you want to try it out.
It avoids running in the jail because of dialog4ports being ran from the host. Separate issue to deal with.

This gives me:
PORTSDIR=/p/data/.m/13amd64-ports/ref/home/mat/work/freebsd/ports __MAKE_CONF=/p/data/.m/13amd64-ports/ref/.p/tmp/poudriere-make.conf.boJt4qze PORT_DBDIR=/p/data/.m/13amd64-ports/ref/var/db/ports TERM=screen-256
color make -C /p/data/.m/13amd64-ports/ref/usr/ports/sysutils/tmux config
make: "/p/data/.m/13amd64-ports/ref/usr/share/mk/bsd.port.mk" line 32: Cannot open /p/data/.m/13amd64-ports/ref/home/mat/work/freebsd/ports/Mk/bsd.port.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /p/data/.m/13amd64-ports/ref/usr/ports/sysutils/tmux

PORTSDIR was correct before, though. so, with only:

 	    TERM=${SAVED_TERM} \
-	    make -C ${portdir} \
+	    make -C "${MASTERMNT}${portdir}" \
 	    ${FLAVOR:+FLAVOR=${FLAVOR}} \

It works, thanks.

Oh there is $portdir and $portsdir. Fun.

Though, it could just be ${MASTERMNT}/usr/ports.

@brooksdavis Can you test with this patch that your use case still works?

Looks like it was broken by: d8c832bb921274efa1a6be229feeca5036a48088

This gives me:
PORTSDIR=/p/data/.m/13amd64-ports/ref/home/mat/work/freebsd/ports __MAKE_CONF=/p/data/.m/13amd64-ports/ref/.p/tmp/poudriere-make.conf.boJt4qze PORT_DBDIR=/p/data/.m/13amd64-ports/ref/var/db/ports TERM=screen-256
color make -C /p/data/.m/13amd64-ports/ref/usr/ports/sysutils/tmux config
make: "/p/data/.m/13amd64-ports/ref/usr/share/mk/bsd.port.mk" line 32: Cannot open /p/data/.m/13amd64-ports/ref/home/mat/work/freebsd/ports/Mk/bsd.port.mk
make: Fatal errors encountered -- cannot continue
make: stopped in /p/data/.m/13amd64-ports/ref/usr/ports/sysutils/tmux

PORTSDIR was correct before, though. so, with only:

 	    TERM=${SAVED_TERM} \
-	    make -C ${portdir} \
+	    make -C "${MASTERMNT}${portdir}" \
 	    ${FLAVOR:+FLAVOR=${FLAVOR}} \

It works, thanks.

I confirm this one line change fix the issue


[docs] Use the getLayout on the material demo pages

It seems to speed up a bit the page transition.
I recoded the time between the click and the first frame with the new page content as follow

Result
The rendering time in ms

mui.com
 deploy-preview-41936--material-ui.netlify.app/

Alert
 400
 300

Backdrop
 200
 150

Dialog
 350
 300

@alexfauquette What are the two condition changes doing here? Might be useful to add a comment as well, or link to a comment on this PR 😄

@bharatkashyap I don't know why it was still visible. It comes from this PR #41908

Linking with https://github.com/mui/material-ui/issues/41117
Even beyond the improved performance, I appreciate the badge and search icon who do no longer flicker on each page transition.

We will see if there are more regressions.

Only if someone uses next.mui.com


[FEATURE] Filtering for tags and languages

I think it would be a great addition to the website if you could filter for tags and languages at the same time. Because at the moment you can only filter for one at the time. But let's say I want to find a JavaScript project that accepts contributions for hacktoberfest I have to either Filter for JavaScript and then try to find a repository with the hacktoberfest tag or I have to filter for the hacktoberfest tag and then try to find a project which is written in js.
I can work on this if you want.

Hey @SpatzlHD ,
Thank you for the proposal to implement idea to the project. I'm excited about the opportunity to contribute to the project and explore this idea further.
Before I confirm my ability to contribute effectively, I would like to take some time to thoroughly review the codebase and gain a deeper understanding of the project's structure and requirements. This will help me ensure that I can make a valuable contribution that aligns with the project's goals.

Hi @SpatzlHD, your idea is great but to implement it we need to redesign the UI of leftsidebar/navbar such that the user can select with which tag and language he/she wants to get the issues result. Something like dropdown we can implement what say?

@anand346 I don't quite understand what you want to achieve with a drop-down menu tbh. My idea would be to just not reset the selected filter every time the user clicks on a new one. And just show results based on all filters selected. Maybe even extend this concept so you can filter for multiple languages at the same time. And then maybe introduce a reset button in the nav bar that allows you to reset all filters at the same time.

Sounds interesting, that would be a great approach

Hi @SpatzlHD, I'm assigning this issue to you. Kindly raise a PR when you are done 👍

Hi @SpatzlHD, I'm assigning this issue to you. Kindly raise a PR when you are done 👍

Thanks! I will work on this on the weekend so in something like three days.

@anand346 after taking a closer look at this I noticed that I probably have to rewrite some of the logic of how the application handles routing and the difference between languages and tags... So I hope that this is ok for you

Yeah, there can be a change in the routing logic of the web app. Actually an issue might arise with this feature.. the Github API allows only 5000 requests per hour, and if a single user fetch issues by combining different tags and languages at the same time then the limit might get exhausted. Currently there are two PATs are being used in the web app to fetch issues and we are fetching only 30 issues of every language and tag in an interval of 10 minutes using that two PATs.

Actually an issue might arise with this feature.. the Github API allows only 5000 requests per hour, and if a single user fetch issues by combining different tags and languages at the same time then the limit might get exhausted.

That is true.

we may use Github Actions to fetch issues every 10 minutes and store in a json file.

That would actually simplify things significantly. Because then I would only need to filter the JSON file for the tags and languages and don't need to generate new request url's for all selected filters.

As I already mentioned here I think it would be a good idea to have your own backend for something like this but for now we can probably get away with GitHub actions but because I didn't work with vercel that much does vercel have to build a new version of the deployment every time the JSON file is updated or can we somehow fetch the data from a JSON file hosted on GitHub on the client? Is it possible to programmatically get the raw file view? Or is this somehow protected from accessing it?

That would actually simplify things significantly. Because then I would only need to filter the JSON file for the tags and languages and don't need to generate new request url's for all selected filters.

yeah, if you have some reference on how to generate data with github actions and store in a file then kindly send me the link it would be helpful to me. thanks

As I already mentioned here I think it would be a good idea to have your own backend for something like this but for now we can probably get away with GitHub actions but because I didn't work with vercel that much does vercel have to build a new version of the deployment every time the JSON file is updated or can we somehow fetch the data from a JSON file hosted on GitHub on the client? Is it possible to programmatically get the raw file view? Or is this somehow protected from accessing it?

The idea is we'll use Github Actions to fetch and store issues every 10 minutes in a json file and will render all the issues from that json file in the web app. Currently we are fetching issues every 10 minutes with the help of getStaticProps(). But after implementing Github Actions there will be no need of getStaticProps.
And for the active repo list we'll make another json file and every time the authenticated user on our web app submit a new repo url a new PR will be created from his/her account to the main repo and once everyday I'll review all the submitted url PRs and merge it so that the submitted repo url get stored in that json file
Both Active repo list functionality and storing issues with Github Actions functionality are separate from each other. Hope it is clear

The idea is we'll use Github Actions to fetch and store issues every 10 minutes in a json file and will render all the issues from that json file in the web app. Currently we are fetching issues every 10 minutes with the help of getStaticProps(). But after implementing Github Actions there will be no need of getStaticProps.

But then we still have the problem of having to re-deploy to vercel every 10 minutes when the JSON file updates... Or am I wrong?

@anand346 can you please verify my assumption about the JSON file?

Hi @SpatzlHD, we can apply configuration to vercel that if changes made to the json file then the project should not be rebuild.
Check it for example: https://stackoverflow.com/questions/70615014/how-to-prevent-vercel-from-deploying-master-branch-if-only-readme-md-is-changed

Hi @SpatzlHD, we can apply configuration to vercel that if changes made to the json file then the project should not be rebuild.
Check it for example: https://stackoverflow.com/questions/70615014/how-to-prevent-vercel-from-deploying-master-branch-if-only-readme-md-is-changed

So we would need to still fetch the file and not bundle it inside the code? But instead of fetching the GitHub API we just fetch the content of the file hosted on GitHub?

yeah, that's true

Hi @SpatzlHD, we can apply configuration to vercel that if changes made to the json file then the project should not be rebuild.
Check it for example: https://stackoverflow.com/questions/70615014/how-to-prevent-vercel-from-deploying-master-branch-if-only-readme-md-is-changed

So we would need to still fetch the file and not bundle it inside the code? But instead of fetching the GitHub API we just fetch the content of the file hosted on GitHub?

yeah that's true