Issues with LDAP

Hello
I recently upgraded from an earlier version to v1.6.1, I was using the HTPASSWD method of authentication. After the upgrade when I try to create a link it says couldn't connect to LDAP server but I am not using LDAP at all and am still on HTPASSWD.
Any idea how I can fix this?
Side note:
Great app, love it and can't stop recommending it.

That's pretty strange, and shouldn't be happening. There were no changes from v1.6 to v1.6.1 that should have triggered such a bug.
Which version did you upgrade from? And how did you install Hauk? Manually by cloning the repo, using Docker, or from distro repositories/AUR?

I upgraded from I think 1.4, installed from git manually.

I got it working now, I think my memcached needed to be updated or recompiled, either way its working. Thank you.

I have been having this same issue for the past month. As far as I know, no updates to the server or the app have happened in that time. I am using docker-compose from the bilde2910/hauk image. I have pulled the latest image just in case but unfortunately it did not fix the issue. Any ideas?

Found the problem and fixed the error reporting in this pull request https://github.com/bilde2910/Hauk/pull/183 in case anyone else has the same problem. Essentially your htpasswd file is missing or cannot be read but the authentication function doesn't catch for this and tries LDAP instead


feat: set email_confirmed_at to null when autoconfirm is on

A long-standing bug has been that when autoconfirm is on (should have been named "allow sign up without verifying email") it would set the email_confirmed_at column to the timestamp of the sign-up call. With this change it will set it to null instead.
It is a backward compatible change because:

If you had autoconfirm on, then the values in email_confirmed_at are useless to you and you would not have relied on them anyway.
If you had autoconfirm off, then there's no change.

If you had autoconfirm on, then the values in email_confirmed_at are useless to you and you would not have relied on them anyway.

I agree in theory but in practice I worry that we might not be able to predict the full range of ways a developer might use the service.
Contrived example: What if a developer turned on Auto-confirm for an initial sign up or pre-registration phase of trusted users and later turned it off after a private alpha to allow less trusted users to hold. They might then depend  confirmed_at having a specific date time so they can track when the cohort signed up and also so that they don't have to re-verify.
If not already considered, could we perhaps emit a warning for two weeks and then incrementing the minor version thereafter as per the backward compatibility advisory ?

@hf thanks for looking into this and opening a PR to solve this problem. I have an interest in this PR going through. For context, I've posted about my use case in a discussion exploring an alternative solution to the problem: https://github.com/orgs/supabase/discussions/22363#discussioncomment-10033530
I'm leaving a link to the existing discussion here in case it's helpful in the conversation and deciding what the best solution is while minimizing impacts to users.


Broken python plotting for models that have no height

The plotting for some of our test models that are just a straight horizontal line looks pretty bad, for instance two_basin:

Maybe the easiest fix is to compute the bounding square and make that the axes range, and maybe add some padding for the legend.

I'd also be fine with just changing our test models to not be on a line, if that is easier.

It's not that hard to set bounds on the aspect ratio, or does that not fix it?

Haven't tried, that would be preferred if it does.


airgeddon: 11.01 -> 11.02

Description of changes
Tags comparison: https://github.com/v1s1t0r1sh3r3/airgeddon/compare/v11.01...v11.02
Changelog:

Fixed minor bug in minimum length setting while bruteforcing using hashcat
Improvement hashcat use, forcing it to use -m 22000 instead of old -m 2500 over handshakes cracking for hashcat modern versions
Extended compatibility to use lspci 3.8 not accepting 0x (not needed in nixpkgs right now, but still works with 3.7)
Fixed error showing connected clients in Evil Twin captive portal attack
Added more pins to the WPS database

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.


too many arguments

maybe need to install somthing i miss ..
./XssPy.py
from: too many arguments
./XssPy.py: line 8: syntax error near unexpected token (' ./XssPy.py: line 8: br = mechanize.Browser()	#initiating the browser'

What did you pass in to xsspy?

???


gcm_setup writes incorrect option name: CLDMICR_OPTION

The AGCM.rc file written by gcm_setup has the wrong name for the CLDMICR_OPTION (correct).
CLDMICRO (incorrect, current) ->CLDMICR_OPTION (correct, new))

Fixed


Request to be the Nightingale reviewer

Request to be the Nightingale reviewer
Hi, Nightingale-team.
@710leo @UlricQin. I have been keeping eyes on the nightingale project since it was published, for my current work stuff.
Thus I try to understand its design philosophy. During the source reading, I have sent more than 10 PRs to nightingale, which include code refactor, bug fix, docs perfect and typo fix.
PRs list as below.

#63
#75
#77
#78
#79
#80
#81
#89
#94
#96
#97
#99
#100

Nightingale is developed in open, hence I think it is possible that the developers who aren't working in DiDi could have an opportunity to be one of the team members that has permission to create new branches and merge PR, etc. That's why I file this issue for such a request.
In summary, I hope I can help your team to manage and perfect this project, making it better together.

@wbtiger

@UlricQin @710leo @wbtiger Thanks all you guys.


how i can set bot limit

hey sir , how i can add 100 bot ?

You can't. Agar was patched. Only 1 possible.

is not patched work fine with old version i have 100 bot

@firo22 It's patched 100% and you have 99 fake bots playing without your fb and only 1 is really logged in :P

Ahhh ok thx you , you can help me to find bot help fedder ?

@firo22 There is no solution and will never be available to get back the xp bots as they were.  You can have multiple FB accs. farming at same time...  just update and read the README.md

ok bro thx youuu :+1:


Separating Schema label from code identifier

Is your feature request related to a problem? Please describe.
Currently, in v3 we use the key of the plugins object for displaying to the user:
      type: {
        title: 'Type',
        type: 'string',
        widget: 'select',
        props: {
          options: Object.keys(propPanelRegistry).map((label) => ({ label, value: label })),
        },
      },

Describe the solution you'd like
I think these labels could be more user-friendly, e.g.:
Text
Image
QR Code
Barcode EAN8
Barcode EAN13

I think it would also make sense to have a separation between what we call a plugin in the schema JSON versus what we display to the user.  Ideally, we could then allow developers to rename the label used in certain scenarios. e.g. I want to add a new type of text plugin and call it Text Advanced and I would like to call the existing text plugin Text Simple, regardless of what they are referenced as within the JSON object.
It is my understanding that the key that we currently use comes from here:
      designer.current = new Designer({
        domContainer: designerRef.current,
        template: pdfmeTemplate,
        options: { font: fonts },
        plugins: {
          text,
          image,
          qrcode: barcodes.qrcode,
          ean8: barcodes.ean8,
          ean13: barcodes.ean13,
        },
      });

The default label should probably be defined within the plugin (and be translatable in future) but it would be ideal if you could also override it at the point of use above.
I may have misunderstood how this works though, I've only just started looking at writing a custom schema 👍
Describe alternatives you've considered

Additional context
No response

I'll check this.
I’d like to be include this to v3.0.0

I'm currently working on this. It might take 2-3 days as I need to make more extensive modifications to the entire library than I initially thought. Documentation updates will also be needed.
However, I've found a way to simplify not just the labels but also the internal implementation,
so I plan to include this in the V3 release.
Thank you for making this proposal.

We can use like this

https://pdfme.com/docs/custom-schemas


Time out while loading big heavy datasets to report

Hello I've been using this control for a while and sometimes depending on the workload of the server I'm receiving a blank result for a report visualization and if I check the same report in the SSRS web interface I can load it perfectly,  so I think this could be a time out or something like that which is  not handled properly can U give me some help on this? thnks in advance
Javier

Any updates on this as i am also experiencing same issue, My report is taking almost 30-40 seconds to load it on SSRS portal , but in MVC Webportal  the form submission is getting finished in 5-7 seconds without rendering anything on iframe . I tried to change the settings of aspx page  Buffer="false" , but still no  success. It would be really helpful if you share your thoughts on this issue and how you sorted this. Between the reports which is rendering quickly are showing in webportal very quickly

Add <asp:ScriptManager ID="ScriptManager" runat="server" AsyncPostBackTimeout="56000"> to MvcReportViewer.aspx
add     <httpRuntime targetFramework="x.x.x" maxRequestLength="6048576" executionTimeout="5000"/> to your web config


Gradle error

Hello. I'm trying to use the library, but I'm getting an error on build time:

Error:Could not GET 'https://jitpack.io/com/github/dorukkangal/analytics/analytics-plugin/1.0.0/analytics-plugin-1.0.0.pom'. Received status code 401 from server: Repo not found or no access token provided
Enable Gradle 'offline mode' and sync project

There is a way to handle this?

Update: the Readme file is not updated, we should update with the latest version in jCenter.

Hello. Sorry for the late reply, but I just saw your message now.
Can you give a little more details if the problem is still persists? Because I have not encountered a problem when I tried it.
In addition, I would be very glad if you want to contribute.


IndexError: list index out of range

Again, thanks for all the previous help I've gotten. This pipeline is doing a great job at what I'm trying to achieve. Now that I ran it on a new input, I got the following error.
Traceback (most recent call last):
  File "/home/ubuntu/whisper-diarization/diarize.py", line 224, in <module>
    wsm = get_realigned_ws_mapping_with_punctuation(wsm)
  File "/home/ubuntu/whisper-diarization/helpers.py", line 371, in get_realigned_ws_mapping_with_punctuation
    get_last_word_idx_of_sentence(
  File "/home/ubuntu/whisper-diarization/helpers.py", line 339, in get_last_word_idx_of_sentence
    if right_idx == len(word_list) - 1 or is_word_sentence_end(right_idx)
  File "/home/ubuntu/whisper-diarization/helpers.py", line 327, in <lambda>
    lambda x: x >= 0 and word_list[x][-1] in sentence_ending_punctuations
IndexError: list index out of range

Hi, can you upload the audio to reproduce the problem?

Sent you a link on LinkedIn. Also managed to work my way around the issue with some additional checks in the logic for the time being.

fixed in 2b15b3bcb04cb807ddd6f6e9533aa847df92b74c


limit and offset not working

Just was testing your API and noticed that the limit and offset parms are not working, however using the page headers work fine

+1 I too am facing the same issue.

Thank you 🙏   @an0nn30  and @AnanthaRajuC for your interaction.
I confirm the documentation is wrong. I have to fix it.
You can use pagination and size like this:
curl --location --request GET 'https://efficient-search-api.herokuapp.com/api/cars?country=USA&type=Small&sort=createDate,asc' \ --header 'Page-Number: 1' \ --header 'Page-Size: 5'
Please feel free, If you have any feedback, suggestions, or a pull request.😊


RISC-V Board

As a component of the stdlib, the cache, core, processor etc. inherit from various components already existing in the standard library, to model the HiFive Unmatched as closely as possible.

src/python/gem5/components/boards/se_binary_workload.py is a file we had Zhantong provide to us based on her work, how do I remove it from this PR?


FFImageLoading 2.2 changes - please give us your opinion

We want to release 2.2 soon, it's a good occasion to do some changes.

Is there any API refactoring necessary?
Are there any library defaults that should be changed?
Is there any feature you're missing?
etc.

Feel free to give us your opinion.

Some my ideas:

Transparency should be enabled by default for images loaded from application resources (Android specific) as this is a common usage scenario.
better Transformations XAML support (Xamarin.Forms specific) - we could use XAML constructor parameter as here: https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core/ListView.cs#L70
Windows transformations BitmapHolder optimization - it will force some modifications of existing custom transformations as BitmapHolder class will change.

Hi, thank you so much for your work. I am waiting for stable release so that I can use the preload method soon :) The only other thing I am wondering about is... I reuse grid cells for images and I notice that when the view loads, some of the old images appear briefly for a sec before the new images load. I am wondering, is the best situation to fix this issue is to add a placeholder image for LoadingPlaceholder? I am also thinking about clearing to cells by setting the images to null first before loading the new images. However, I am wondering if there's another way to do this.
This mostly happens with low/bad connectivity
What do you recommend? Thanks :)

+1

Is there a way to apply the transformations post aspect ratio fitting?
For example, I want to have 10pixel radius corners for my images, but since I've set AspectFill, the transformation gets aspect fitted as well.

is only partially related to this issue, but what i don't get.. how do we know which xamarin.forms version is this (or really any xamarin.forms pcl) build with/for?
i'm on forms <IP_ADDRESS> (latest stable at time of writing) and on android it just worked, installed via nuget -IncludePrerelease. on ios i get the exception "Could not load file or assembly 'FFImageLoading.Forms' or one of its dependencies".
from my earlier tinkering with your library i know i could probably get it to work by compiling the sources against forms <IP_ADDRESS> (though i haven't tried).
any help is greatly appreciated!

@patook Two ways:

Some of the transformations have alternative constructors which allow to set aspect ratio.
You can use multiple transformations, so you could add CropTransformation first (which lets you control size / aspect ratio), then another one, like CircleTransformation.

@krisrok
FFImageLoading 2.2 should work on any Xamarin.Forms version.

You must include CachedImageRenderer.Init() call in every platform specific project as stated here: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API#important
Are you sure all nuget packages installed successfully? You should have Xamarin.FFImageLoading and Xamarin.FFImageLoading.Forms in every project (shared and platform specific). Also please try to uninstall all packages and add them again (sometimes XS have some issues with packages)

@owlstack The solution is here:

https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-Advanced#usage-in-listview-with-listviewcachingstrategyrecycleelement-enabled
https://developer.xamarin.com/guides/xamarin-forms/user-interface/listview/performance/#RecycleElement

@daniel-luberda Since you're asking for our feedback, is there any chance FFImageLoading can resolve the longstanding animated GIF problem with Xamarin? I would like nothing better than just put a CachedImage with Source = GIF file and have it play automatically.

@patook I think it's possible but it's quite a lot of work.

Picasso and Glide loaders for Android support it
For iOS there's https://github.com/Flipboard/FLAnimatedImage

Maybe you could create an issue for that?

I upgraded from 2.0 to 2.1 and noticed that DownloadImageAndAddToDiskCacheAsync is missing. Is it possible to add it back for 2.2 or should I do something else?

We had to disable the fade animation as we load from cache. It was somewhat ugly to have that show up on every reload of the page for cached images.

@daniel-luberda I don't remember here: is @NVentimiglia 's feedback an issue or just a config parameter that we should most likely default to true?

@CliffCawley You should now use ImageService.Instance.xxx methods

@molinch I'm having an issue when I upgraded to 2.1.2, my images are cached loaded with a black background and some of the images are appearing in the wrong slots. This wasn't happening before with 2.1.0. So now the same images is loaded several times in a row even though it was not like so before. Did anything change?

@owlstack could you try the latest prerelase?

I can't use prelease for my project :( But I can try 2.1.3. waiting for a new stable release after PR. Btw, I forgot to mention, this only happens in a scrollview when swiping between pages.

it's not possible to give it a try? then bring back stable version?

ah ok, I will give it a try thanks :)

@molinch It actual seems to happen intermittantly. I will try the prelease :S

Thanks for your feedback @owlstack
I'm waiting for @highplains too.
If it's fine for both then we can release it.

One more thing... the time it takes  for images to be cached for future uses takes a a while. I have about 100 images I need to preload and I noticed if I have a fast internet, they all load in 2 mins or less. If I have a slow connection, it takes the images to preload in 8 mins or less. Is there something I can do to prove the performance for images to be preloaded?

How do you preload, can you show some code?
Please create a separate issue. Thanks!

One thing that I've noticed is ImageViews flashing on reload. Say I have a listview on android and lets say updated the backing model of the listview and i want to do a adapter.NotifyDataSetChanged(), all of my images loaded with FFImageLoading flash. It would be nice if somehow FFImageLoading could know that the image its about to load is the same image already in the ImageView. Therefore nothing needs to get loaded so no image flash.

@rusty21  There's a new prerelease of FFImageLoading (2.1.8-pre-150) which introduces some stability & performance improvements (eg. image is not cleared when image source is not changed), so there is no flashing.


Bumps security version to <IP_ADDRESS>

Description
Version bump and Fixes 1.3 CI
Category
Maintenance
Check List
~- [ ] New functionality includes testing~
~- [ ] New functionality has been documented~

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

CI will pass once https://github.com/opensearch-project/opensearch-build/pull/3263 is merged and security artifact is available.

Codecov Report

Merging #1356 (6619e7f) into 1.3 (0a2b86f) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##              1.3    #1356   +/-   ##
=======================================
  Coverage   72.33%   72.33%
=======================================
  Files          88       88
  Lines        1916     1916
  Branches      250      245    -5
=======================================
  Hits         1386     1386
  Misses        474      474
  Partials       56       56

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@DarshitChanpura another PR to increment to 1.3.9 has been merged: https://github.com/opensearch-project/security-dashboards-plugin/pull/1322
Can this be closed?


Scrolling issue on mobile

Two distinct scroll movements are required on mobile to reach the bottom of the page for an unknown reason.

:tada: This issue has been resolved in version 1.0.0-dev.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[GITHUB-1] Install and configure RabbitMQ

There is still a reference to ansible-city:
rm -rf tests/ansible-city.*

@fdupoux @lobsterdore fixed and cleaned up a bit

LGTM :+1:

Looks good to me


Unable to use Salesforce CLI commands via VS Code

Note
Before you submit your issue, make sure that:

You're using the latest version of Salesforce CLI.
You've searched both open and closed issues for related posts.
You've used the doctor command to diagnose common issues.
You understand that GitHub Issues don't adhere to any agreement or SLA.

If you require immediate assistance, use official channels such as Salesforce Customer Support.

Summary
Unable to run commands such as Authorize an Org or Create a Default Scratch Org from within VS Code - errors below
Steps To Reproduce

Open a new project in VS Code with the Salesforce Extension Pack installed
Use the command SFDX: Authorize an Org
Error occurs (see below)
Open a project in VS Code with the Salesforce Extension Pack installed
While connected to a Salesforce Dev Hub use command SFDX: Create a Default Scratch Org...
Populate settings (Scratch definition file, Scratch org alias, duration of scratch org. in days)
Error occurs (see below)

IMPORTANT
Provide a repository that's configured to reproduce the issue. If you are unable to provide a repo, please explain why not. The more info we have from the start, the faster we can resolve your issue.
We may close your issue if you don't include proper instructions.
No repo available as this is not repo / project specific.  These errors are occurring on ALL projects and ALL scratch org projects

Generate a project with sf project generate or fork dreamhouse-lwc.
Provide detailed step-by-step instructions on how to reproduce the issue.

Expected result
Either the web browser opens to authorize an org OR a new scratch org should be generated
Actual result
Error messages:
Authorize an org. error:
sfdx org:login:web --alias [REDACTED] --instance-url https://test.salesforce.com/ --set-default
/Users/[USERNAME]/.local/share/sfdx/client/bin/sfdx: line 16: /Users/[USERNAME]/.local/share/sfdx/client/bin/../7.209.6-8ba3197/bin/sfdx: No such file or directory
Create default scratch org error:
10:31:29.728 sfdx force:org:create -f config/project-scratch-def.json --setalias [SCRATCHORGNAME] --durationdays 7 --setdefaultusername --json --loglevel fatal
ended with exit code 1
System Information
Terminal = zsh

Unable to run either "SF" or "SFDX" commands from the terminal - This is part of the issue.

Additional information
I have tried removing the Salesforce Extension Pack and then uninstalling VS Code, then reinstalling VSCode and the Salesforce Extension pack, with no success.
This was working fine up until about two weeks ago - everything was working as expected, all CLI commands were working.  I have changed nothing in my setup but now CLI commands do not work.  I raised this originally under the VS Code repository but was told I had to log it here.
Please assist.

Hello @simonhyphen8 👋  This is a known bug, please see the workarounds on this pinned issue: https://github.com/forcedotcom/cli/issues/2447
Best solution is to completely uninstall sfdx and install the new sf CLI

Hi simonhyphen8, SFDX and it's packages are essentially "dead" as of this year. You better try installing sf using npm and debug all the "quickstart" packages by replacing SFDX commands with the equivalent sf commands.
We are able to install Salesforce B2B "scratch" org using sf


[Platform][Broader Feature Request Category if applicable] Title

What platform is your feature request related to? (Delete other platforms).

[ ] JavaScript

We use "botframework-directlinejs" (0.11.6) in our Angular 8 Web UI to render the direct line chat window. We use Adaptive Cards extensively, and it is important for us to somehow highlight the "clicked on" buttons on all adaptive cards permanently, so that the user can see what button he/she had clicked on during the whole conversion. Unfortunately, we could not find any possibility to do that.
One Idea is: If we could add an id to each Adaptive Card, or better each button, we could record each click action, correspond it to the correct card, and change the styling of the clicked button. This requires to override the default adaptive card renderer in the Angular app. We know one can override the "attachmentMiddleware" and manipulate the card json content before rendering. But how can we change the renderer or rendered element?
An alternative idea is to access the html element after it is rendered and displayed, but because there is no id, we cannot make sure we get the correct card.
Any better/other idea is much appreciated.

@dclaux - is there a way to get this scenario to work through native styling?

Closing due to lack of responses. If this is still an issue, please re-open and we'll engage. Thanks!

I just saw "Closed because of lack of response", well I did not get any question from you, or did I missed something?  Or does that mean you implemented something for this and I can test? Yours,

Apologies - each element in an adaptive card supports the id field, so you should be able to use the ID field to track which button was last clicked and apply CSS styles to that element. I hope this helps!

thank youfor yor response. That is right, problme is, the id is not in the rendered html element, the renderer simply igonres it. I do not know hot chnge this beaviour, or use my own rederer. Yours,

@sazarghani you might be using an old version of the SDK. Newer versions stamp the element Id on the generated DOM element.
If you render the cards yourself (I can't tell from your original posting) then you can also simply handle the card's onExecuteAction event, which will give you the action object that is being executed, and from there you can get its associated DOM element via the renderedElement property.

thank you very much i will test it


Add option to customize Air Conditioner setting

Ability to set some air conditioner values:

temperature step
max & min temperature

If someone has more option please comment this issue.

Hi,
If possible to add oscillation like swing ect.
Thanks for the good job

@KiraPC the temperature step and max & min temperature is added, can you try it? I already tested.

Released in stable version 1.0.0.; added new option to select HVAC modes


Job state field is missing

I am using 0.11.0, and I run a stress test where I cause my redis server to run our of memory (I am using redislab's Redis cloud with a small instant of 30MB). The test created jobs faster then the consumers were able to create them. When I reach almost 100% memory on the reds cloud instant the request to create a job start failing. After a while I stop the test, and just the consumers to consume to jobs, however about 400 jobs remain stuck.
The dashboard reported 0 jobs in active/compete/delayed/failed state.
I also run -
queue.inactiveCount( function( err, total ) { // others are activeCount, completeCount, failedCount, delayedCount
console.log( 'We found inactive jobs = ' + total );
});
queue.completeCount( function( err, total ) { // others are activeCount, completeCount, failedCount, delayedCount
console.log( 'We found complete jobs = ' + total );
});
queue.failedCount( function( err, total ) { // others are activeCount, completeCount, failedCount, delayedCount
console.log( 'We found failed jobs = ' + total );
});
queue.delayedCount( function( err, total ) { // others are activeCount, completeCount, failedCount, delayedCount
console.log( 'We found delayed jobs = ' + total );
});
And all report zero jobs. So I use a reds client to see what jobs get stuck.
I pick on of the job ids that got stuck and bellow is the payload -
Field	Value
max_attempts	1
type	test
created_at<PHONE_NUMBER>217
promote_at<PHONE_NUMBER>217
updated_at<PHONE_NUMBER>217
priority	0
data	{"index":17497}
So it seems that the field 'state' is missing, this is why the UI or the other methods did not report these jobs.
I also run #watchStuckJobs and it did not make a difference. I guess because it is looking for the state field.
So my questions-

How to recover from this case and restart the jobs, or delete them ?
How it possible that the job was create but the state field was never set ?

Please note that I use a non default prefix for the queue :
var queue = kue.createQueue({
prefix: '_test2',
redis: {
port: XXXX,
host: YYYY
}});
I noticed that when it happen I got the following error from Kue -
{ [ReplyError: OOM command not allowed when used memory > 'maxmemory'.]
command: 'SET',
args:
[ 'activeJobsTTL:lock',
'UIDCUdtJEea5OcPMSEs8pA==',
'PX',
2000,
'NX' ],
code: 'OOM' }

Can you run your tests against v1 branch @mmarshak ?


[gui error report] SyntaxError: Unexpected end of JSON input

Please describe what you were doing when this error happened.
Specifications

OS: darwin
IPFS Desktop Version: 0.20.0
Electron Version: 17.1.0
Chrome Version: 98.0.4758.102

Error
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:365:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Daemon.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:157:9)
    at async spawn (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:55:3)
    at async module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:143:31)
    at async startIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:46:17)
    at async module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:114:3)
    at async run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:83:5)

The error originates from https://github.com/ipfs/js-ipfsd-ctl/blob/66a947010b0dbc90074c29724fd64c5bbc9a8eed/src/ipfsd-daemon.js#L365 which suggests reading config via ipfs config show fails due to some error. @SgtPooki  will fill issue for improving error handling there.
@agrohs @realitymeetsdreams

are you able to run ipfs config show ?
is your $IPFS_PATH/config a valid JSON?

The error originates from<EMAIL_ADDRESS>which suggests reading config via ipfs config show fails due to some error – tracked in ipfs/js-ipfsd-ctl#721
@agrohs @realitymeetsdreams

are you able to run ipfs config show ?
is your $IPFS_PATH/config a valid JSON?

Same questions for you @goralbaris @avelguenin 😄

Thanks for your attention.
ipfs config show returns what seems like a valid JSON file.
I am not sure how to find "IPFS_PATH/config as which ipfs returns /snap/bin/ipfs, which is not a folder. /snap contains ipfs and ipfs-desktop, but I cannot find a .config in either folder's arborescence.

@marcin rataj & @henrique dias
Thanks for your response and helpful reply.
Yes I can run  ipfs config show
And I too cannot find the dir $ IPFS_PATH/config
It states: " # which IPFS_PATH/config
which: no config in (./IPFS_PATH)
whereis IPFS_PATH/config
config: "
Please advise how to proceed?
Will it help to remove the current IPFS desktop install and reinstall it?
Am currently running the V 0.17 AppImage file and Google extension, seems
to work fine, just needs restarting for updates to V 0.20~
Thanks for you help.
On Fri, Mar 11, 2022 at 4:52 AM Serval @.***> wrote:

Thanks for your attention.
ipfs config show returns what seems like a valid JSON file.
I am not sure how to find "IPFS_PATH/config as which ipfs returns
/snap/bin/ipfs, which is not a folder. /snap contains ipfs and
ipfs-desktop, but I cannot find a .config in either folder's arborescence.
—
Reply to this email directly, view it on GitHub
https://github.com/ipfs/ipfs-desktop/issues/2000#issuecomment-1065085784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR5I4SKH5IE47UL5NHBZF6TU7M6XPANCNFSM5PYCH6LA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Richard Macatiag Donovan - Artist
www.facebook.com/realitymeetsdreams
RMD - realitymeetsdreams
(Australia) ABN #: 68 789 581 435
Phone#: +63<PHONE_NUMBER>
realitymeetsdreams on ECWID:   http://www.realitymeetsdreams.company.site
Music:- Rechid Monk Diction: http://www.reverbnation.com/therechidmonk
https://soundcloud.com/the-rechid-one
Dj mixes/remixes - www.reverbnation.com/richid
Throwback to production, music, lyrics written and video produced by RMD.
Sweet Life original track written produced and performed by RMD: The Rechid
Monk
http://www.youtube.com/watch?v=fyApfs7geEA

@avelguenin  Snap confinement issues are separate topic. They could produce the same Unexpected end of JSON input error, but we have no bandwidth to investigate. Let's wait for  https://forum.snapcraft.io/t/ipfs-desktop-classic-review/28517 first.
@realitymeetsdreams  please download and manually install the latest DMG from IPFS-Desktop-0.20.1.dmg (override the old version in your Applications).
If you continue experiencing this problem, Quit IPFS Desktop, and  remove two files:

/Users/your-user/.ipfs/config
/Users/your-user/.ipfs/api

(you can find out your-user via whoami)
Then, start IPFS Desktop again. It will re-create config with default values, fixing any file corruption you might produce the Unexpected end of JSON input error.
Lmk if this helped

I did not remember Snap was community maintained. I'll reinstall through standard procedure. Thanks for your answer.

I'm closing this as a duplicate of https://github.com/ipfs/ipfs-desktop/issues/2050


refactor: improve pt_BR localization clarity and consistency

I revised several terms that sounded unusual in Portuguese. Since certain GIT commands are typically not translated by the developer community in Brazil, and some other terms have optional translations, I aimed for a more balanced approach. Additionally, I took the opportunity to translate features that hadn't been localized yet.
Please feel free to disregard this pull request if the translation approach doesn't align with your preferences.

We should not bind UI display language with commit message. These are two completely different things. Especially in some open source software projects (there may be developers from different countries involved)
Since we have added the ability to customize AI prompts, it is not difficult for users to achieve this goal by configuring it themselves.

For the above reasons, I have manually picked commit 63f75dc589e6c6effee498222b247d2616c5b7d0, and the commit c6d308be2c526d817f962c5545a2a423817cfd4f will not be merged into this repository

I must admit, I didn't quite understand your point. I assume SourgeGit is not exclusively for open-source projects, correct? In my case, I work on projects from various countries and need to generate commit messages in each local language. Setting up the prompt every time I generate a commit for a repository is not very practical, which is why I thought of a feature that would provide a language selection menu when generating commit messages.
In any case, I'll maintain this feature in a branch within my fork and prepare a custom version of SourceGit that includes it.

Sorry, I have too many things to do, so I didn't carefully review the code. I regard the new language option as the ui display language configuration. You can create a new pr for another commit.

No problem! It’s possible that the way I implemented this feature has made the UI a bit unclear. The goal is simply to have a quicker method to include an instruction for generating the commit message in the selected language, without needing to edit OpenAI prompts directly in the preferences window.
Ideally, this setting could be saved individually for each repository, although that would add complexity. I’m open to any suggestions you might have for improvement.

Ideally, this setting could be saved individually for each repository, although that would add complexity.

How about changing the way to configure OpenAI prompts & response language (OpenAI profiles) similar to the way we configure commit template and then shows all profiles when user click the User OpenAI to generate commit message button?

After the release of version 8.36, I will submit a new solution of integrating OpenAI services.


Vim movements (ctrl+d, ctrl+u, gg, G)

This pull request is meant to address some, but not all of the vim movements requested in #161 .
This pull request adds the following vim movements:

ctrl+d: moves half buffer size down.
ctrl+u: moved half buffer size up.
gg: moves to top of buffer.
G: moves to bot of buffer.

Testing
What is the testing story? I manually built the project and ran it and things seemed to work. Are there any tests I should also update?
Documentation
Documented keybindings. Did not pick config names as I am unsure whether these should be configured? Should they given that they are vim-specific?
Thanks!
Enoumy
(This section below gets added to the changelog and the release)
Release Notes
The Vim keybindings ctrl+d, ctrl+u, gg, and G have been implemented!

@all-contributors please add @Enoumy for coding

u should add j and k to scroll down.


Update anonymous-pipe-operations.md

It appears that overlapped operations work on anonymous pipes, and it makes not sense that they don't.  Is this true?  Overlapped operations on asynchronous pipes seems to work fine for me on Windows 10.

@cminyard : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@cminyard : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Well, it appears that the documentation is right and ti doesn't work. Bummer :(.

Well, it appears that the documentation is right and ti doesn't work. Bummer :(.


added dockerfile and docker-compose

fixes #161
added docker file for both frontend and backend also added docker compose file for entire project
please accept this pr under gssoc-ext minimum level 2

since today is the last day for gssoc-ext contributions i request the maintainers of this repo to accept this as soon as possible @sanjay-kv  @milansamuel609  @IkkiOcean  @akash70629


Run cluster exception safe

Tested by modifying the main function like this:
import           Cardano.Prelude

import           Hedgehog.Main (defaultMain)

import qualified Control.Concurrent as IO
import qualified Control.Exception as IO
import qualified System.IO as IO
import qualified Test.Cardano.Node.Chairman
import qualified Test.Cardano.Node.Json

main :: IO ()
main =
  flip IO.finally (IO.putStrLn "Done" >> IO.threadDelay 10000000) $
    defaultMain
      [ Test.Cardano.Node.Chairman.tests
      , Test.Cardano.Node.Json.tests
      ]

Then adding void H.failure to the end of the test.
The failure causes the test to fail.  This triggers the actions registered on ResourceT to be called, which closes all the process handles and terminates the process.
The main function would run the test, then print Done.  The test process remains waiting for another 10 seconds.  During this time, I can observe that all the node processes have exited the moment Done is printed.

In practise the previous iteration works just as well, but probably because the garbage collector kicks in quickly to terminate the process.
The change I guess makes the cleanup a guarantee rather than relying on something as temperamental as a garbage collector.
An added advantage is we no longer need to remember to clean up as clean up happens automatically at the end of scope.

bors merge


Give search term to url function

The URL for an ajax request can currently be specified with a string or a function.  However, the function doesn't appear to take parameters, so I'm not sure what it can do except return a constant.  I'd like to have it passed the search term so I could return a URL such as
return http:/something/search_term;
or even
if (search_term === 'today')
return http://clients_i_searched_for_today
else
return http://something/search_term
Thanks for your excellent work!

+1

The url function will now receive an options object with offset and term properties, just like the Selectivity query option method.
Cheers!

thanks a lot. :ok_hand: .


RuntimeError: offset output dims: (160, 160) - computed output dims: (80, 80)

🐛 Describe the bug
I run source build pytorch(torch==1.10.0) and torchvision(torchvision==0.12.0).
train code snippet:
                from torchvision.ops import DeformConv2d as ModulatedDeformConv
                conv_op = ModulatedDeformConv
                offset_channels = 27
                self.conv2_offset = nn.Conv2d(
                    planes, deformable_groups * offset_channels,
                    kernel_size=3,
                    padding=1)
                self.conv2 = conv_op(
                    planes, planes, kernel_size=3, padding=1, stride=stride,
                    groups=deformable_groups, bias=False)

                offset_mask = self.conv2_offset(out)
                offset = offset_mask[:, :18, :, :]
                mask = offset_mask[:, -9:, :, :].sigmoid()
                out = self.conv2(out, offset, mask)

tensor shape below:
(Pdb) offset_mask.shape
    torch.Size([16, 27, 160, 160])
(Pdb) offset.shape
    torch.Size([16, 18, 160, 160])
(Pdb) mask.shape
    torch.Size([16, 9, 160, 160])
(Pdb) self.conv2.__doc__
    '\n    See :func:`deform_conv2d`.\n    '
(Pdb) out.shape
    torch.Size([16, 128, 160, 160])

When training(run out = self.conv2(out, offset, mask) this line), issue the error below, pls help me, tks.
Traceback (most recent call last):
  File "/DB/train.py", line 89, in <module>
    main()
  File "/DB/train.py", line 86, in main
    trainer.train()
  File "/DB/trainer.py", line 115, in train
    epoch=epoch, step=self.steps)
  File "/DB/trainer.py", line 138, in train_step
    results = model.forward(batch, training=True)
  File "/DB/structure/model.py", line 56, in forward
    pred = self.model(data, training=self.training)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 150, in forward
    return self.module(*inputs, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/DB/structure/model.py", line 19, in forward
    return self.decoder(self.backbone(data), *args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/DB/backbones/resnet.py", line 242, in forward
    x3 = self.layer2(x2)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/container.py", line 141, in forward
    input = module(input)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/DB/backbones/resnet.py", line 161, in forward
    out = self.conv2(out, offset, mask)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/torchvision-0.12.0a0+031e129-py3.7-linux-x86_64.egg/torchvision/ops/deform_conv.py", line 177, in forward
    mask=mask,
  File "/opt/conda/lib/python3.7/site-packages/torchvision-0.12.0a0+031e129-py3.7-linux-x86_64.egg/torchvision/ops/deform_conv.py", line 106, in deform_conv2d
    use_mask,
RuntimeError: offset output dims: (160, 160) - computed output dims: (80, 80)

tks~
Versions
Collecting environment information...
PyTorch version: 1.10.0a0+git36449ea
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: Ubuntu 18.04.6 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: Could not collect
CMake version: version 3.21.4
Libc version: glibc-2.10
Python version: 3.7.6 (default, Jan  8 2020, 19:59:22)  [GCC 7.3.0] (64-bit runtime)
Python platform: Linux-5.4.0-86-generic-x86_64-with-debian-buster-sid
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] intel-extension-for-pytorch==1.10.0+cpu
[pip3] numpy==1.21.2
[pip3] torch==1.10.0a0+git36449ea
[pip3] torchvision==0.12.0a0+031e129
[conda] blas                      1.0                         mkl
[conda] intel-extension-for-pytorch 1.10.0+cpu               pypi_0    pypi
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-include               2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0            py37h7f8727e_0
[conda] mkl_fft                   1.3.1            py37hd3c417c_0
[conda] mkl_random                1.2.2            py37h51133e4_0
[conda] numpy                     1.21.2           py37h20f2e39_0
[conda] numpy-base                1.21.2           py37h79a1101_0
[conda] torch                     1.10.0a0+git36449ea          pypi_0    pypi
[conda] torchvision               0.12.0a0+031e129          pypi_0    pypi

Is anyone here?

@smartkiwi @kashif @ezyang @djsutherland Can you help me?

@wduo Thanks for raising this.
Unfortunately the information included on the bug report is not enough to reproduce the problem. If you submit a snippet that fully reproduces the problem, it would be easier for us to help.
Having said that, it seems to me that either he mask or the offset dimensions don't match the expected ones. Unfortunately it's not possible to tell which one fails because the error message is the same (I'll send a PR in a bit to fix this):
https://github.com/pytorch/vision/blob/ae87c1e46df6fb404654935c82e15013d56b7aa8/torchvision/csrc/ops/cpu/deform_conv2d_kernel.cpp#L950-L975
Your snippet doesn't contain information about all parameters (stride,  deformable_groups etc), so it's hard to point out what's wrong but my guess is that you use a stride of 2 which means the output dims are expected to be different to what you provide. The estimation of the dimensions can be seen here:
https://github.com/pytorch/vision/blob/ae87c1e46df6fb404654935c82e15013d56b7aa8/torchvision/csrc/ops/cpu/deform_conv2d_kernel.cpp#L907-L910

@datumbox When I was training, I called DB/backbones/resnet.py L298，and then replaced L55 and L126 with from torchvision.ops import DeformConv2d as ModulatedDeformConv。
Please help me take a look. If you need other relevant information, you can call me at any time. tks ha.

Because the original code in the DB uses the cuda version of dcn and I only have a CPU, I want to use the dcn operator in torchvision.

@wduo Unfortunately, it's hard to help without a minimal snippet with no external dependencies that reproduces the problem. If that's something you can't provide, I recommend ensuring that the offset and mask dimensions you provide to the layer match the expected values of the kernel listed. I posted the snippet that estimates them for the CPU kernel above but the same happens on GPU.

@wduo
I had the same problem when I was using DB++ and doing the same replaced(L55 and L126 with from torchvision.ops import DeformConv2d as ModulatedDeformConv)
ubuntu 20.04
pytorch 1.8.2
cuda 11.1
to solve, I modified L58 aand L129 (add stride=stride for self.conv2_offset=nn.Conv2d(...))
self.conv2_offset = nn.Conv2d(planes, deformable_groups * offset_channels, kernel_size=3, padding=1)
to
self.conv2_offset = nn.Conv2d(planes, deformable_groups * offset_channels, kernel_size=3, padding=1, stride=stride)
Then it works fine, the pretrained model loading is ok and model prediction result is also correct
But I don't know exactly what the reason is and whether this modification is completely correct


Use Google style conventions everywhere in C++ [phab:T96]

Created by zarko at 2016-02-05 21:01:53:
Our C++ code is a mix of LLVM and Google style. The historical reason for this is no longer relevant, so let's standardize on one.

zarko wrote at 2016-03-21 23:59:37:
Ongoing.

revision #967


oneplus-enchilada build fails

error: builder for '/nix/store/6aswplbfapsb4iqjwx1l21hbzy1s5wh0-gnupg-aarch64-unknown-linux-gnu-2.4.4.drv' failed with exit code 1;
       last 25 log lines:
       > checking whether readline via "-lreadline" is present and sane... no
       > checking whether readline via "-lreadline -ltermcap" is present and sane... no
       > checking whether readline via "-lreadline -lcurses" is present and sane... no
       > checking whether readline via "-lreadline -lncurses" is present and sane... no
       > checking for library containing TSS_Create... no
       > checking for library containing Esys_Initialize... no
       > configure: checking for cc features
       > checking if gcc ignores unknown -Wno-* options... yes
       > checking if gcc supports -Wpointer-arith... yes
       > checking whether to enable log_clock... no
       > checking whether "make check" shall run all tests... no
       > checking whether tests should be run... yes
       > configure:
       > ***
       > *** It is now required to build with support for the
       > *** New Portable Threads Library (nPth). Please install this
       > *** library first.  The library is for example available at
       > ***   https://gnupg.org/ftp/gcrypt/npth/
       > *** (at least version 1.2 (API 1) is required).
       > ***
       > configure: error:
       > ***
       > *** Required libraries not found. Please consult the above messages
       > *** and install them before running configure again.
       > ***
       For full logs, run 'nix log /nix/store/6aswplbfapsb4iqjwx1l21hbzy1s5wh0-gnupg-aarch64-unknown-linux-gnu-2.4.4.drv'.

logs.txt
the command i ran was  nix-build --argstr device oneplus-enchilada -A outputs.android-fastboot-images
on commit 655c8830d5fe2eae79c8fc0bab8033b34c8456eb

You can change in pkgs.nix the revision for nixpkgs to 5b130e5ecbd77314506313c7a65a7369dc5b5c82, thats the commit that fixed it upstream. Then nix-store --gc and updating the hash accordingly after trying to build

test it as below to check if has any issue.
nix-build examples/phosh/  --argstr device oneplus-enchilada -A outputs.android-fastboot-images

You can change in pkgs.nix the revision for nixpkgs to 6143fc5eeb9c4f00163267708e26191d1e918932, thats the commit that fixed it upstream, and updating the hash accordingly

I tried it, something else broke. Couldn't find any mention of this on nixpkgs
error: builder for '/nix/store/bsnm5mb2v3ny790ygs63yqbmj4h1pkmq-libgnt-aarch64-unknown-linux-gnu-2.14.1.drv' failed with exit code 1;
       last 25 log lines:
       > Target machine cpu family: aarch64
       > Target machine cpu: aarch64
       > Found pkg-config: YES (/nix/store/9sf0pipn71prr5sk6d4by3jwarwrln6i-aarch64-unknown-linux-gnu-pkg-config-wrapper-0.29.2/bin/aarch64-unknown-linux-gnu-pkg-config) 0.29.2
       > Run-time dependency glib-2.0 found: YES 2.78.4
       > Run-time dependency gobject-2.0 found: YES 2.78.4
       > Run-time dependency gmodule-2.0 found: YES 2.78.4
       > Run-time dependency libxml-2.0 found: YES 2.12.6
       > Library ncursesw found: YES
       > Library panelw found: YES
       > Library tinfow found: NO
       > Header "/nix/store/insr9r0vmmvz8rfgw5if6zd9h1z1vm4p-ncurses-aarch64-unknown-linux-gnu-6.4-dev/include/ncursesw/ncurses.h" has symbol "get_wch" : YES
       > Found CMake: NO
       > Run-time dependency python2 found: NO (tried pkgconfig and cmake)
       > Configuring gntconfig.h using configuration
       > Did not find pkg-config by name 'pkg-config'
       > Found pkg-config: NO
       > WARNING: Could not detect glib version, assuming 2.54. You may get build errors if your glib is older.
       > Did not find CMake 'cmake'
       > Found CMake: NO
       > Build-time dependency glib-2.0 found: NO (tried pkgconfig and cmake)
       > Program glib-genmarshal found: NO
       >
       > meson.build:206:19: ERROR: Program 'glib-genmarshal' not found or not executable
       >
       > A full log can be found at /build/libgnt-2.14.1/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/bsnm5mb2v3ny790ygs63yqbmj4h1pkmq-libgnt-aarch64-unknown-linux-gnu-2.14.1.drv'.```

The issue from my previous comment may be related to #751


Uniqueness constraint to find bugs faster.

I had a bug in my code and it manifested as a Salesforce uniqueness constraint violation. Working backwards I realized that it was really a problem of the same bundle being processed twice without going through any kind of reset/requeue code. So I wanted to add this constraint to help catch these kinds of bugs faster.
I checked prod to see if it would break anything and on prod, only one bundle would violate this unqiueness constraint and surprise, surprise, it has a mysterious error about a Salesforce constraint violation.
https://sfdoc.sfdc.sh/publish/bundles/158/
So I think that this constraint will reduce mysterious downstream bugs.
To deploy to prod we'd just need to delete bundle 158. Staging doesn't seem to have any duplicate articles in bundles.

I'll approve this once someone takes responsibility for removing the duplicate in production.

$ heroku psql -a sfdoc
sfdoc::DATABASE=> select url_name, bundle_id, count() from publish_article group by url_name, bundle_id having count()>1;
url_name | bundle_id | count
----------+-----------+-------
(0 rows)


Network colors from a scale

network-name independent
all colors are unique and separated enough
only 10 colors are available
contains red and green

Is this meant to fix #1592?

network-name independent

Does that mean the same network may be coloured differently, depending on context?

It's a hack that fixes #1592 for network counts <= 10.
The colouring depends on the order of which we see the networks for the first time. That means it's stable while you keep the browser window open. It may be different if you reload or visit scope at a later point.

I think its a good, safe solution for now, will work well for demos etc.
I'll give it a test.

network counts <= 10

what happens when you have more? Colours get re-used? Or does it explode?

Repeats. category20 gives us 20 tho...
http://jsbin.com/kedozadozu/edit?html,js,output

cat20 is not distinct enough. It's 10 hues, with 2 different shades each:
https://github.com/d3/d3/wiki/Ordinal-Scales#categorical-colors
We could brew our own color scale...

stick to cat10. merge it. move on to #783.


Question: Visual Studio Code Tasks: Signing

I am trying to automate the signing of the packages and therefore am using a task. However, the question is - how do I get the ".app" filename in a task? I know, it is publisher_name_version.app, but are those variables from the app.json available in the tasks? If not, can they be made available?

They are not available but you could parse the app.json file in your task. We will look into optimizing it in the future.

Thank you, good idea. eventually, this will probably wind up in our release process on TFS, but at least for now, while things are changing rather frequently, it doesn't make sense yet to finalize the new release process (e.g. having to replace alc every couple weeks or so), although ModernDev makes it a lot cleaner and easier

Maybe it will help someone.
We use task.json:
{
"version": "2.0.0",
"windows": {
"options": {
"shell": {
"executable": "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe",
"args": [
"-NoProfile",
"-ExecutionPolicy",
"Bypass",
"-Command"
]
}
}
},
"tasks": [
{
"label": "SignApp",
"type": "shell",
"command": "${cwd}/PSScripts/SignApp.ps1 -taskList SignApp",
"problemMatcher": []
}
]
}
that runs PSSCript:
$NAVXPath = Get-ChildItem *.app
$Cert = Get-PfxCertificate -FilePath "CodeSigning.pfx"
Set-AuthenticodeSignature -Certificate $Cert -FilePath $NAVXPath

Hi! Thank you for your suggestion. We are working on focusing the activity in this repository on addressing issues related to the AL development tools.
As mentioned it is possible to parse the app.json through any JSON parsing library and get these values.
If this is a feature that you would really like to have integrated, I recommend that you post this on our Ideas forum at aka.ms/BCIdeas, or vote up the idea if its already there.
We are constantly monitoring top ideas and will consider them for a future release.


How to handle code changes in Notification Classes

Hi everyone!
We're stumbling on alot of issues surrounding the unserialization of older notifications which have had their code changed.
We're using a postgres db, so the column is base64_encoded. How are you guys handling this scenario in your applications?
To be honest im starting to feel a little sceptical about serializing the whole notification as it seems php/laravel is unable to handle quite basic changes to the serialized Notification class. And since it's encoded it's a little difficult to query and migrate the failing notifications. It feels like we might be missing a piece of the puzzle though.
Kindly Fredrik

It's been a while since we wrote the serialisation logic for this, but my understanding it works pretty much the same way as laravel jobs.
Basically just make only backward compatible changes, ie if you add a property, make it nullable, etc. The serialisation is basically the properties and their values (try to stick to basic types, or models which are re-queried from the db).


Running inference

How can I run inference with dw-ll_ucoco_384.pth?
I could not find yml for that model

No, just opencv is fine. Please refer branch opencv_onnx.

No, just opencv is fine. Please refer branch opencv_onnx.

Thanks. I use top_with_mmdet.py with dw-ll_ucoco_384.pth. The Speed is slow. It costs about 100ms every pic. And it is right?

The config for dw-ll_ucoco_384.pth is this. You can find it in README. You can refer the Test a model in README to test it. If you want to inference for your own images, you can refer top_with_mmdet.py with a mmdet detector. Or you can just use the demo to inference your images. More examples can be seen in mmpose's README.

we must install mmpose?

which of models is the fastest?   tiny?

Refer this folder for inference.


Sketchers UI Clone created

🛠 Fixes Issue
Closes #517

👨💻 Changes proposed

Created UI Clone of Sketchers India
Add link to repo in README.md

✔ Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Nothing specific

📷 ScreenShot

eenshots

@gurjeetsinghvirdee Pls review this PR


symbols and labels

From<EMAIL_ADDRESS>on July 28, 2009 19:56:54
label has definition:
definition "A label is a symbol that is part of some other datum and is
used to either partially define  the denotation of that datum or to provide
a means for identifying the datum as a member of the set of data with the
same label"^^string
The genus refers to symbol but this is not asserted to be a subclass of symbol.
There is no def for symbol but there is:
editor note "a smallish, word-like datum..."^^string
but datum doesn't appear to be defined
Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=36

From<EMAIL_ADDRESS>on October 23, 2009 18:45:03
conversing with Michel and Melanie.
Distinction between symbol and 'larger' information entities like sentence is that symbols can't be decomposed
into smaller parts that are composed to make a larger meaning.
However, counterexample? grams/cc is a measurement unit label that has parts that are composed.


Support underlining spelling errors in Flutter inputs

I believe both iOS and Android support this as an option.  I saw this in a customer: mulligan mock just now.
Here is an example from iOS 11 messages app:

I think this can be closed now that @camsim99's spell check project was completed for both Android and iOS. There are other spell check related issues around for more specific features and bugs.


Added Dockerfile for running app in container

I've added a Dockerfile for running the app in a container and added instructions to README.md. Also, I've pushed the image to the docker hub. I'm not sure, that I'll maintain the repository actively, so feel free to republish it to your repo. Comment on this PR or email me if you want me to remove my repository on the docker hub

Thanks @vikmaksymenko !


Fix mzID SILAC issue

among others...

This PR appears to have solved a bug reported by a user where individual .mzid file results were not included in the output because of filename changes with silac labeling.


[style]: About page Learning and explore section

What's the style idea?
I can improve the color coding of about page and make it fit to all the screen types.
Add screenshots
This section can be better

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Sure, I'm assigning you this. Make sure you make it responsive for all viewport widths.


Improve $insertNodeToNearestRoot

Using $splitNodes allows insertion in the middle of the text with nodes tree being split up until nearest root:
https://user-images.githubusercontent.com/132642/200885233-6a0f0983-63fe-4be6-b12a-b1ef1a9c5946.mov

I think there are places in lists where we can use $splitNode too

This causes many issues when called on the RootNode.


Update TwentyFourHoursMode.jsx

Change line 80:
WAS:    pointerRotate && this.setState({ pointerRotate });
BECAME:     Number.isInteger(pointerRotate) && this.setState({ pointerRotate });
Description: In some situations pointerRotate is equal to 0. If value of pointerRotate is equal to 0, it returns false. So the function, which goes after &&, will not fire.
http://take.ms/zDyAE - initial state;
http://take.ms/Lajkm - after click on twelve or 0 hour;
As you can see: hour is changed, but the arrow position is in the previous state. My commit fixes this problem.

@ecmadao, hello!
Can you merge this pull request, please? I think it will help a lot of people, who use your package

@lubkooleskiv
THX! I'll merge it and publish new  version.

V3.1.8 published.


Charset converter

Hi,
from time to time I get an error about the iconv() in CharsetConverter.php
the error looks like:
PHP Fatal error:  Uncaught Exception: Error writing to storage ErrorException: [ERR] iconv(): Wrong charset, conversion from `UTF-8^M
 <!DOCTYPE HTML>' to `UTF-8//TRANSLIT//IGNORE' is not allowed in /app/smtpd.walla.co.il/vendor/zbateson/mail-mime-parser/src/Stream/Helper/CharsetConverter.php on line 335 in /app/smtpd.walla.co.il/app/bootstrap.php:29
Stack trace:
#0 [internal function]: errHandle(8, 'iconv(): Wrong ...', '/app/smtpd.wall...', 335, Array)
#1 /app/smtpd.walla.co.il/vendor/zbateson/mail-mime-parser/src/Stream/Helper/CharsetConverter.php(335): iconv('UTF-8\r\n <!DOCTY...', 'UTF-8//TRANSLIT...', '\r\n<html lang="h...')
#2 /app/smtpd.walla.co.il/vendor/zbateson/mail-mime-parser/src/Stream/CharsetStreamFilter.php(48): ZBateson\MailMimeParser\Stream\Helper\CharsetConverter->convert('\r\n<html lang="h...')
#3 [internal function]: ZBateson\MailMimeParser\Stream\CharsetStreamFilter->filter(Resource id #23210, Resource id #23211, NULL, false)
#4 /app/smtpd.walla.co.il/vendor/zbateson/mail-mime-parser/src/Message/Writer/Mim in /app/smtpd.walla.co.il/src/Worker/Store.php on line 45

this is probably because of parsing issues, what can I do to fix it?
I think that it will be the best to add a validation in the findSupportedCharset function to check if the string contains UTF-8 and if so to set the charset to that

Charset handling has evolved and been moved to zbateson/mb-wrapper.  Not sure if this is an issue in the latest version, feel free to reopen if this needs to be looked at more.


Dockerfiles and push packages to GitHub's "Releases" page

When a release is made a final step to push the packages to Github's Releases page.
This requires a review from people (currently @cjcobb23, @legleux @natenichols) in the "publishToRelease" environment. If that's too much, it can just do it automatically.
Added a Dockerfile that builds Clio, a Docker compose file that sets up a network with Clio, rippled and Cassandra running in concert.
Theses images are built and pushed to Docker Hub and ghcr.io on release also.

Publishing the release itself could also be automated, with the release notes gleaned from a RELEASE_NOTES.md file or something committed with the version bump.


FIX #4407

#4407

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #4408 (3b4f788) into master (1278156) will decrease coverage by 0.11%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4408      +/-   ##
============================================
- Coverage     68.09%   67.99%   -0.11%
+ Complexity     7483     7476       -7
============================================
  Files          1021     1021
  Lines         28913    28902      -11
  Branches       2584     2580       -4
============================================
- Hits          19688    19651      -37
- Misses         7681     7708      +27
+ Partials       1544     1543       -1

Impacted Files
Coverage Δ

.../client/server/consul/ShenyuConsulConfigWatch.java
57.44% <0.00%> (-29.79%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
21.27% <0.00%> (-6.39%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
52.12% <0.00%> (-4.26%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
85.71% <0.00%> (-4.09%)
:arrow_down:

...yu/common/dto/convert/rule/Resilience4JHandle.java
71.60% <0.00%> (-3.71%)
:arrow_down:

...he/shenyu/loadbalancer/spi/RandomLoadBalancer.java
87.87% <0.00%> (-3.04%)
:arrow_down:

...a/org/apache/shenyu/plugin/mock/util/MockUtil.java
77.55% <0.00%> (-2.05%)
:arrow_down:

...rg/apache/shenyu/plugin/hystrix/HystrixPlugin.java
75.86% <0.00%> (-0.81%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
66.09% <0.00%> (-0.58%)
:arrow_down:

...yu/admin/service/impl/PluginHandleServiceImpl.java
75.47% <0.00%> (-0.46%)
:arrow_down:

... and 10 more

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


Enable-AksHciArcConnection shows warning about GetServicePrincipals have insufficient privileges to enable custom locations

Describe the bug
Enable-AksHciArcConnection can connect AKS cluster to Azure but shows the warning below when the customer uses service principal for authentication:
WARNING: Error occurred while executing GetServicePrincipals
Code: Authorization_RequestDenied
Message: Insufficient privileges to complete the operation.
RequestId: <removed>
DateTimeStamp: Wed, 29 May 2024 08:04:07 GMT
HttpStatusCode: Forbidden
HttpStatusDescription: Forbidden
HttpResponseStatus: Completed
WARNING: Custom locations has not been enabled on the AKS-HCI cluster. To enable custom locations manually, visit aka.ms/enable-custom-location

Known Issue:
The current behavior of the Arc Onboarding is to, by default enable Custom Locations.  To be able to do this, the GetServicePrincipals action is performed in the context of the logged in Azure user.  And, if the user (or SPN) does not have sufficient permissions to be able to do this, this command throw Warning that these permissions don't exist and so the CL (Custom Locations) feature will not be enabled.
If the customer does not want CL to be enabled, they can safely ignore this warning, as this does not affect cluster onboarding to Arc.
On the other hand, if they do need CL to be enabled, they need to grant the necessary permission to the user (or SPN).

Thanks @dineshba for calling this out. This is a known issue as it depends on the access rights available to the SPN in use. The Custom Location requires higher privileges and the auto enabling is done on best case basis.


Is this project still being actively developed

Hello, I'm interested in using passport-google-one-tap for my project, but I noticed that the last commit was made over a two years ago. I was wondering if this project is still being actively developed and maintained, or if it has been abandoned.
Thank you for your time.

Hi @iatsiuk , yes the project is alive :) we are checking the PR... sorry for the delay


haskell.compiler: drop all ghcs without an stackage LTS snapshot

https://www.stackage.org/ lists the latest LTS snapshot for any GHC version which, on the flipside, lets us discover which versions don't have a corresponding LTS snapshot. There is really no reason to keep around GHCs that only appeared in some nightly snapshot way back.
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Oh, this is a smart way to go about removing some compilers that are unlikely to be used :-)


Why is SpringDecoder constructor marked as deprecated?

Is your feature request related to a problem? Please describe.
https://github.com/spring-cloud/spring-cloud-openfeign/blob/0828fff93f5c17d2416a2a187c2f34cd35198a3a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringDecoder.java#L52-L59
This simple constructor requiring only messageConverters has been deprecated since #543.
I don't have specific customizers, so SpringDecoder(messageConverters) still works fine with me.
There must be some reason on 6218eeb even if it has no explanation in the commit message body, so I'd like to hear it.
If not, please bring it back.
Describe the solution you'd like
Remove @Depcrecated annotation.
Describe alternatives you've considered
https://github.com/spring-cloud/spring-cloud-openfeign/blob/0828fff93f5c17d2416a2a187c2f34cd35198a3a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/EmptyObjectProvider.java#L27
Open EmptyObjectProvider public.
Additional context

https://github.com/spring-cloud/spring-cloud-openfeign/pull/543#discussion_r865728261
6218eeb

I support the question / request
At the moment I can only see two options for a workaround:

either use a deprecated constructor (and use of deprecated methods is highlighted as a potential vulnerability by some of the static code scanning tools)
or put a copy of EmptyObjectProvider into our own project and make use of it, which is also problematic as it is overrides @NonNullApi methods with a {return null;} implementation which is also an issue for code scanning tools
invent your own version of EmptyObjectProvider which would pass through all static code checks but that's a waste of effort as in the end we don't want any customizers..

I have just come across this problem. Removing @Deprecated annotation seems the most sensible approach here. I can submit a merge request for that, but giving this issue hasn't been triaged since March makes me wonder if the change wouldn't be equally "ignored".

One option we found is let Spring autowire the customizers by providing them in the Decoder constructing method, like
  @Bean(name = "feignDecoder")
  public Decoder myFeignDecoder(
      final @Qualifier("objectMapper") ObjectMapper objectMapper,
      final ObjectProvider<HttpMessageConverterCustomizer> customizers) {                                   // this
    final MappingJackson2HttpMessageConverter jacksonConverter =
        new MappingJackson2HttpMessageConverter(objectMapper);
    final ObjectFactory<HttpMessageConverters> objectFactory =
        () -> new HttpMessageConverters(jacksonConverter);
    return new ResponseEntityDecoder(new SpringDecoder(objectFactory, customizers));               // and then using those
  }

Unless there's something funny in your classpath Spring will autowire an empty list of customizers and this is what we were looking for in first place. This was a bit of a creative solution to avoid any static code scan tool issues raised.

Thanks @djkeh.  Makes sense. I think it was over-eager clean-up on our  side. Will revert it.

Fixed with 19d0b8188ad3b43af20156aeed86a8d526a66919.


Extension is grayed out and doesn't show the UI

Hello, I sent this message in a closed ticket so I wasn't sure if anyone was notified. I installed it by using the Load Unpackaged Extension button in Chrome but I don't see the full UI like in the screenshots. Mine looks like the picture above. What am I doing wrong?
My pluralsight access is expiring at the end of the month and would like to get this fixed so I can download a few courses. Any help would be much appreciated! Thank you!

I've even tried it in a completely new Chrome profile and the same thing happened.

@farmerpabs remove all previews loaded version and get the last one published.
I was having same issues like you and then I see last version published.
https://github.com/sahilsehwag/pluralsight-downloader-chrome-extension/releases/tag/v0.5beta
After load this one I think it will solve your problems.

@farmerpabs use as the latest release, as mentioned above by @chrispaivacwb , that will solve your problem, please let us know if you face any problem

@farmerpabs closing this issue, If you face any problem, you can reopen this issue, and comment here

Thank you that worked!

Hello I downloaded the latest version 0.6.0 but it's grayed as well, any suggestion? Thanks


debugger stops without breakpoints inside forEach loop

Dart SDK Version (dart --version)
Dart SDK version: 2.14.0-230.0.dev (dev) (Mon Jun 21 06:53:33 2021 -0700) on "macos_x64"
Whether you are using Windows, MacOSX, or Linux (if applicable)
Mac OS
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
N/A

The debugger stops inside every iteration of a call to forEach for some reason even though no breakpoint is set there.
Changing the code, as in:  https://github.com/dart-lang/dartdoc/pull/2695, eliminates the problem.
To reproduce:  Revert dartdoc #2695 if it has landed, and run bin/dartdoc.dart --sdk-docs --output /tmp/somewhere with the debugger.  Have a breakpoint set somewhere in the file -- in most places should work, but I suggest code that won't be hit, such as inside one of the if (doComparison) blocks in getMatchingLinkElement.  That code will not be executed without some debugging flags for dartdoc so you can be sure that whatever is happening is not related to that breakpoint.
When reproducing the problem, the debugger will stop with the following stack as viewed in IntelliJ:

I'll leave a TL;DR that attempting to debug code with generators seems to lead to inexplicable stopping without breakpoints or failure to stop at breakpoints.

/cc @bkonyi

Change dart-lang/dartdoc#2695 has landed, and other changes on top of it may make it hard to reproduce (I've started moving away from generators for now because I can't debug code around them).  So I recommend backing dartdoc up before that commit to reproduce.


Add instructions to build docs

This PR adds a section in the docs to explain how contributors can:

run the tests locally
build and preview the docs locally

https://mom6-regional--44.org.readthedocs.build/en/44/contributing.html

I admit I didn't try the pip version. But the conda version worked for me!

I'll fix it!


Stable parallel computation of moments

There probably exist parallel algorithms to compute moments like variance, skewness, etc..
Our current solution for variance is numerically unstable.  It would be nice to replace it with something.  If that something happened to also include general moments that would be really nice.  This task seems  intellectually challenging but somewhat simple from an implementation point of view.  It might be good for an ambitious new contributor.

To be clear, the problem with naive implementation of var
(x**2).sum() / n - x.sum()**2 / n

Is that we might be subtracting two fairly similar values.  This results in loss of precision


Allow controlling Tickish via a define

This allows us to set (in a module):
{ packages.plutus-tx-plugin.ghcOptions = [ "-DUBXT_PATCH" ]; }

for GHC compiler.
/cc @sevanspowell

Oh hm, we also need a solution that will work for people developing plutus with haskell.nix GHCs (like me). So we would need to have the setting on in that case too.
But in fact I think I've actually understood that the problem is backwards to what I expected: https://github.com/input-output-hk/plutus/pull/4323#issuecomment-1010888048
So I guess this is fine. I really wish we could get rid of this though, it's still 100% going to break if we ever upgrade to a GHC without a crazy patch level.

Closing in favour of https://github.com/input-output-hk/plutus/pull/4331.


Paste from Clipboard should be an option

By default anything in the clipboard is copied to a new note. Could this be a feature which can be toggled on an off?

Agreed. I've been annoying myself with that feature for months. Changed in https://github.com/drgrib/alfred-bear/commit/c89e0d46023f1bc425f9f07c5f72893a1662a173. New release can be downloaded here.


BIGTOP-4069: fix the phoenix smoketest bug in openeuler

The season is ${PHOENIX_HOME}/bin/psql.py need python.

[ ] Does the title or this PR starts with the corresponding JIRA issue id (BIGTOP-4069)
[ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

@guyuqi @iwasakims @sekikn
Please help review this code, thanks.

The successful log is:

@iwasakims please help review the code, thanks.

Smoktest ok in Fedora

Smoketest ok in openEuler:

@iwasakims
We verified the code in Fedora and openEuler, please help review the code, thanks.

@iwasakims
We modfied the code from your advice, and zookeeper & phoenix be verified in openEuler OS:
The phoenix smoketest log is:

The zookeeper smoketest log is:

@iwasakims
Thanks


Add PREEMPTIVE_OS_FLUSHFILEBUFFERS to ignore list in waits script

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


Handle crate names containing hyphens

Crates in rust are allowed to contain '-' in their names. But these dashes are all converted to '_' in the code to not confuse the name with subtraction. This commit adds this switch into the code, making it no longer confused for names containing '-'.
As an example, the bundler does not in its current state work for my small competetive Rust template (https://github.com/KvGeijer/comp-rust-template), but it does work after this fix.

I just realized that this is not enough, and does not properly expand use paths. I will look into it further and try to fix it tomorrow.

Thank you! I'm sorry that I'm too busy this week. When I have time, I'll have a look at it too.
Besides, can you add a LICENSE (MIT compatible) to https://github.com/KvGeijer/comp-rust-template? So I could include your template as a test case of rust-bundler-cp, and my further changes will be less likely to break your template.

Thank you for your help. I now added a test case to this pr, which has the same format as the old "simple" test, but now with a hyphen in the crate name to see that it is handled. Works with this commit, but not on the old one.
I also looked into the code a bit more and understood my problem a bit more from last time, and realized that it is unrelated to this pr. I'll try to fix that (it is not a bug, just a limitation that I think could be removed) in another pr, which you can see if you agree with.
Finally, I added an MIT license to my template repo, and if you want to use it, you are very welcome. However, it will still not work with the bundler due to the other thing I mentioned above.
No stress with the pr. Have a good week!

This change has been published on crates.io https://crates.io/crates/rust_bundler_cp/0.3.16
Thank you so much for your PR with a detailed and clear commit message :)

Thank you for your help, and the work maintaining this crate.


Update the example model to show Palisade supports ABAC

Currently the example only uses the user's role, which doesn't show the attribute based access control that Palisade can enforce. It may be worth adding a rule based on what training they have completed.

Blocked by gh-386

PR#407 addresses this issue as well, so once that is merged then this issue will be closed


Using FastImage as an ImageComponent in React Native Elements produces a TS compilation error

Describe the bug
I am using a ListItem from React Native Elements. The leftAvatar of that ListItem can use a default <Image/> for rendering, or a custom component. I want to use <FastImage/> as the custom component.
I actually got this to work in JavaScript but not in TypeScript!
TypeScript is giving me an error during compilation. I would like to resolve the compilation error so I can use TypeScript (and not just JavaScript) in this scenario.
I am relatively new to React Native and FastImage, so apologies if this is a newbie question, But I cannot find an answer after an extensive search.
To Reproduce
Look at the line that says ImageComponent: FastImage, in the following code. In JavaScript, this works. In TypeScript, I get a compilation error. The details of the error are immediately after the code example.
Code:
import React from 'react';
import { FlatList, ListRenderItemInfo } from 'react-native';
import { SearchBar, ListItem, ThemeProvider } from 'react-native-elements';
import TouchableScale from 'react-native-touchable-scale';
import LinearGradient from 'react-native-linear-gradient';
import FastImage from 'react-native-fast-image';

import { Styles, StyleElements } from "./Styling";
import { newPeopleType, newPeopleList, friendType, friendsList, } from './peopleLists';

export function NewPeople() {
    let renderListItem =
        ({ item }: ListRenderItemInfo<newPeopleType>) =>
            <ListItem /* uses ThemeProvider StyleElements */
                Component={TouchableScale}
                key={item.id}
                leftAvatar={{
                    source: { uri: item.avatar_url },
                    ImageComponent: FastImage, /* <<===== here is the issue */
                }}
                title={item.name}
                subtitle={item.subtitle}
                rightTitle={item.rightTitle}
                rightSubtitle={item.rightSubTitle ? item.rightSubTitle : ''}
                bottomDivider />;

    return <>
            <FlatList
                ListHeaderComponent={
                    <SearchBar placeholder='search...' value='hello' lightTheme round />
                }
                style={Styles.flatList}
                data={newPeopleList}
                renderItem={renderListItem}
                keyExtractor={item => item.id}
            />
    </>;
}

Error:
No overload matches this call.
  Overload 1 of 2, '(props: Readonly<ListItemProps>): ListItem', gave the following error.
    Type '(ComponentClass<FastImageProps, any> & FastImageStaticProperties) | (FunctionComponent<FastImageProps> & FastImageStaticProperties)' is not assignable to type 'ComponentClass<{}, any> | undefined'.
      Type 'ComponentClass<FastImageProps, any> & FastImageStaticProperties' is not assignable to type 'ComponentClass<{}, any> | undefined'.
        Type 'ComponentClass<FastImageProps, any> & FastImageStaticProperties' is not assignable to type 'ComponentClass<{}, any>'.
          Types of property 'getDerivedStateFromProps' are incompatible.
            Type 'GetDerivedStateFromProps<FastImageProps, any> | undefined' is not assignable to type 'GetDerivedStateFromProps<{}, any> | undefined'.
              Type 'GetDerivedStateFromProps<FastImageProps, any>' is not assignable to type 'GetDerivedStateFromProps<{}, any>'.
                Types of parameters 'nextProps' and 'nextProps' are incompatible.
                  Property 'source' is missing in type 'Readonly<{}>' but required in type 'Readonly<FastImageProps>'.
  Overload 2 of 2, '(props: ListItemProps, context?: any): ListItem', gave the following error.
    Type '(ComponentClass<FastImageProps, any> & FastImageStaticProperties) | (FunctionComponent<FastImageProps> & FastImageStaticProperties)' is not assignable to type 'ComponentClass<{}, any> | undefined'.
      Type 'ComponentClass<FastImageProps, any> & FastImageStaticProperties' is not assignable to type 'ComponentClass<{}, any> | undefined'.
        Type 'ComponentClass<FastImageProps, any> & FastImageStaticProperties' is not assignable to type 'ComponentClass<{}, any>'.ts(2769)
index.d.ts(57, 5): 'source' is declared here.

Expected behavior
I expect the above code to work (as it does in JavaScript) without a compilation error being produced by TypeScript. Alternatively, should I be writing the code differently?
Dependency versions

React Native version: 0.62.2
React version: 16.11.0
React Native Fast Image version: 8.1.5

Same issue here... Any thoughts on this @DylanVann ?


[e2e]: go schedule main config-ldflags-main slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6467906578
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Oct 10 10:23:59 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6481139212
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Oct 11 10:24:40 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6494324108
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Oct 12 10:25:25 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6506968481
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Oct 13 10:24:47 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6517043101
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Sat Oct 14 10:21:48 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6523452004
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Oct 15 10:22:58 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6532194714
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Mon Oct 16 10:25:18 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6545773899
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Tue Oct 17 10:23:11 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/6559451878
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.schedule.main.config-ldflags-main.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Oct 18 10:24:28 UTC 2023
Tests are passing now. Closing this issue.


Make conversion of Stellar DIA assets unique (bi-directionally)

Right now, the DiaOracleKeyConvertor does not take the issuer of stellar assets into account. We should think about changing that. We should find a way to translate between Stellar assets and DIA identifiers bi-directionally meaning that a Stellar asset (issuer + code) is uniquely defined by a DIA asset and vice versa.
For this to work, we might also have to touch the dia-batching-server implementation because this responds to the prices for DIA assets.

Differentiate wrt the price or other factors as well i.e. is the benefit of this disambiguation only to be able to assign separate price feeds or to differentiate between the two assets, in general?

Since this ticket is only about changes regarding the price oracle it's only in regard to separate price feeds.
Imagine that for some USDC we want to assign the FIAT price and for another, we want to assign some blockchain price (ie. the price of USDC on Ethereum). This is not possible right now but would be possible afterward.
Not saying that we want or should do this anytime soon or ever.

Hey team! Please add your planning poker estimate with Zenhub @b-yap @ebma @gianfra-t @TorstenStueber

Yes, it's not urgent right now.


fix: data race when reading/writing from tls engine

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (7d206c8) 77.54% compared to head (f1866a7) 77.53%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
- Coverage   77.54%   77.53%   -0.01%
==========================================
  Files          98       98
  Lines        7222     7221       -1
==========================================
- Hits         5600     5599       -1
  Misses       1622     1622

Files
Coverage Δ

util/tls/tls_engine.h
100.00% <ø> (ø)

util/tls/tls_engine.cc
63.47% <0.00%> (+0.54%)
:arrow_up:

... and 1 file with indirect coverage changes

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


[BUG] Imports not being properly deprefixed from npm:

I'm building a SvelteKit adapter and am trying to publish it on jsr.io, is uses two imports:

esbuild
@sveltejs/kit/node/polyfills

Both of those when uploaded to jsr.io get changed to:

<EMAIL_ADDRESS>npm<EMAIL_ADDRESS>
Only the esbuild one when pulled via pnpm dlx jsr add @hearchco/sveltekit-adapter-aws gets changed back to original:

This is causing my SvelteKit built to error out with,  and if I manually change it to original in the node_modules the build is successful:
> Using sveltekit-adapter-aws
✘ [ERROR] Could not resolve "npm<EMAIL_ADDRESS>
    .svelte-kit/sveltekit-adapter-aws/server/lambda-handler/index.js:5:33:
      5 │ import { installPolyfills } from 'npm<EMAIL_ADDRESS>        ╵                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "npm<EMAIL_ADDRESS>as external to exclude it from
  the bundle, which will remove this error and leave the unresolved path in the bundle.

error during build:
Error: Build failed with 1 error:
.svelte-kit/sveltekit-adapter-aws/server/lambda-handler/index.js:5:33: ERROR: Could not resolve "npm<EMAIL_ADDRESS>    at failureErrorWithLog (/var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:1472:15)
    at /var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:945:25
    at /var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:897:52
    at buildResponseToResult (/var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:943:7)
    at /var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:970:16
    at responseCallbacks.<computed> (/var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:622:9)
    at handleIncomingPacket (/var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:677:12)
    at Socket.readFromStdout (/var/home/aleksa/Documents/Projects/Personal/Hearchco/frontend/node_modules/.pnpm/esbuild@0.23.0/node_modules/esbuild/lib/main.js:600:7)
    at Socket.emit (node:events:518:28)
    at addChunk (node:internal/streams/readable:559:12)
 ELIFECYCLE  Command failed with exit code 1.

You can workaround this by specifying handler as one of the exports in your jsr.json.

Since "handler" is a adapter for SvelteKit it "imports" some files that don't exist in the repo but will exist after being copied into the SvelteKit build folder, and this breaks publishing on JSR: https://github.com/hearchco/sveltekit-adapter-aws/actions/runs/9910061704/job/27379574375#step:7:10

Ah I see - then for the moment, as a workaround, you can try renaming the file to handler/index.js.txt (no .js file extension). This will stop the rewriting from happening at all.
Definitely a bug during publishing on our side.

Hmm, but then I would need to rename it back to .js for SvelteKit to to use properly? I think it's better to wait for the fix instead of using workarounds :) If you point me in the right direction I would be happy to look at this codebase and try to find and fix the bug.

Any updates on this, any leads / discoveries?