Reduce Retries when sending emails and sms messages

notification_utils.recipients.py can cause retries on celery tasks that require human intervention. An update in notification_api.provider_tasks.py functions will prevent these retries.

User Story - Business Need

[ ] Ticket is understood, and QA has been contacted (if the ticket has a QA label).

User Story(ies)
As a platform owner
I want to not perform retries on celery tasks that requirement human intervention.
So that the system does not waste time trying to reprocess a notification that requires manual intervention to succeed.
Additional Info and Resources

We have listed all possible exceptions for these three celery tasks -- both in the notification_api and notification_utils.

deliver_email
deliver_sms
deliver_sms_with_rate_limiting

We would like the following exceptions to be added to the code responsible for raising technical failures so we do not retry them:

TypeError
InvalidEmailError <- this exception already exist for deliver_email (so adding it to the other 2 functions is only recommended but not required
InvalidPhoneError

Test cases can be modeled off of the following
def test_should_technical_error_and_not_retry_if_invalid_email(sample_notification, mocker):
    mocker.patch('app.delivery.send_to_providers.send_email_to_provider', side_effect=InvalidEmailError('bad email'))
    mocker.patch.dict(os.environ, {'NOTIFICATION_FAILURE_REASON_ENABLED': 'True'})

    with pytest.raises(Exception) as exc_info:
        deliver_email(sample_notification.id)

    assert exc_info.type is NotificationTechnicalFailureException
    assert sample_notification.status == 'technical-failure'
    assert sample_notification.status_reason == 'Email address is in invalid format'

Engineering Checklist

[ ] Add test cases that trigger the above mentioned exceptions
[ ] For each function, Add the above mentioned exceptions to the exception handling found under
except (NullValueForNonConditionalPlaceholderException, AttributeError, RuntimeError) as e:

Acceptance Criteria

[ ] Test case are created for checking for the above mentioned exceptions
[ ] The above mentioned exceptions have been added to the each function to prevent retries
[ ] Received NotificationTechnicalFailureException when running test with: test_send_one_off_notification_raises_if_invalid_recipient()
Note: This would normally trigger a "InvalidPhoneError", but will no longer do this because "_get_delivery_task()" will no longer raise that exception.

QA Considerations
Recommend Adding test cases to trigger the above mentioned exceptions. These exceptions should return NotificationTechnicalFailureException

Closing. Another ticket already in play.


[posix] set addr gen mode to none on linux

This PR sets the addr gen mode of wpan interface to NONE on linux.
This PR depends on https://github.com/openthread/ot-br-posix/pull/2410. #2410 needs to be merged first.

This kind of netlink messages requires specially NET_ADMIN CAPS I think, ot-daemon on Android doesn't have those CAPS so those configurations are delegated to Android system_server. You probably want to enable this in ot-br-posix for non-Android linux devices.

(You can try your code in Android see what error it will be like

Thanks! As discussed, let's add a macro for the entire netif module and not enable it on Android. On Android, we will use the specific implementation for netif. I'll add a seperate PR for it.


ENYO-493: Duration Picker (hour, minute, second)

updated the old duration picker
https://github.com/enyojs/moonstone/pull/1978/

Updated the Duration Picker

removed the setTimeout() function dependency and used the enyo core function enyo.startJob() to create the timer
removed the template property and used hour/minute/second hide/show properties

We closed the Jira because no app is planning to use this new control. Let's close the PR here.


Use Trampoline instead of Eval in the benchmarks

Current coverage is 79.56%

Merging #15 into master will decrease coverage by -0.44% as of 2c06a06

@@            master     #15   diff @@
======================================
  Files            8       8
  Stmts          455     455
  Branches        24      24
  Methods          0       0
======================================
- Hit            364     362     -2
  Partial          0       0
- Missed          91      93     +2

Review entire Coverage Diff as of 2c06a06

Powered by Codecov. Updated on successful CI builds.


Refactoring to fit new version of tf

LGTM and it should work for TensorFlow 1.0+ APIs now.
Thanks @crazy-catlady 👍


[Bug] test github repo

without Github token i créate a project :
"https://github.com/vinpel/php-Crypto"
empty private key
validate
when i try to test it i get :

Cloning into '/data/htdocs/php-censor/runtime/builds/13_78102'...
remote: Not Found
fatal: repository 'https://github.com/https://github.com/vinpel/php-Crypto.git/' not found

Failed to clone remote git repository.
Exception: Could not create a working copy.

BUILD FAILED
Exception: Warning: array_key_exists() expects parameter 2 to be array, null given in /data/htdocs/phpci/src/PHPCensor/Plugin/Util/Executor.php line 58

Removing Build.

maybe in case of clone error can you show the full command ?
here my path is duplicated multiple time
with "vinpel/php-Crypto" it work fine

I will plan to rework 'create project' page soon. I agree that it is strange behavior.

I will list all the things for the create project

Creating a projet is not set to  github field "Choose a GitHub repository:" still visible
All error message must be more visible (red maybe)
SSH key generated disappear if  get a validation error message
Maybe test if possible if the repositories/directory is accessible :

host respond to ping / DNS
repository exist
no authorization problem

add for Gogs and maybe other a basic auth method
yaml field is not validated  (something like http://symfony.com/doc/current/components/yaml.html maybe, not tested)
if no key generated, a guide with what package needed can help

today lot of test and error to have a valid config.
Maybe a button to fill the "PHP Censor build config for " with what a zero config do
a lot more example may be needed with basic case.
A default project to test against may be needed to validate the php-censor installation.
Ex : if you want to test the php-censor installation, simple add a project with this repo, this config and launch to test !

Thank you for cases, @vinpel!

Bug with repository reference from first message fixed. @vinpel Can you check it?

Bug is still present
i have HUP the worker, no change
My configuration (you can create the same project) :
(rest is empty)

Are you sure that use latest master branch? I can not reproduce your case.
When I insert something like https://github.com/<user>/<repository> the input change it to <user>/<repository> and git clone work normally:
Command: git clone --recursive  -b master https://github.com/<user>/<repository>.git "/"

oh i got it ...
i have the last commit, BUT during my test i have forget to made the "composer install"
... and codemirror asset was not installed => javascript not working fine on the page
so yes it work in the last commit, so it work fine !

Great, thank you)


add daq_home param

Hmm. I put the wrong ticket in the branch name....  I also have had another idea for how to implement this request.  I'll open another PR and we can decide which way to go.

Closed in favor of #4


Switch to OpenJDK

Feature Request
Desired behaviour
Switch to OpenJDK. Early indications are that Dockstore itself probably works  #932
But we need to test dependencies like our plugins and Cromwell/wdl4s
In communication with @geoffjentry it seems that they're more on the "haven't tried" than the "definitely will break" side of things.

Duplicates #561


Fix initial music bugs

Don't allow playing when already playing
Ensure that it can be stopped fully
(Maybe add some control UI in the status bar.)

All fixed! Music can now be started with PLAY MUSIC and stopped with STOP MUSIC, and the new control overlay can be used as well (which appears when PLAY MUSIC is run).


face_recognition_cli.py updated

Bro remember to read and understand code so that you are able to run it and also check all the comments and yes you have all the modules imported in this programme you will really like it please accept these changes in your repo will be a great feeling for me plz don't decline it OK, ENJOY!😀

I'm not sure what the intent is here, but this would break the library.

Idk it might be a small mistake i did sorry for that but please don't mark
my PR as invalid or spam
On 1 Oct 2020 10:28 p.m., "Adam Geitgey"<EMAIL_ADDRESS>wrote:

I'm not sure what the intent is here, but this would break the library.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ageitgey/face_recognition/pull/1220#issuecomment-702268756,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APEA57CHNJE4ABJBE7Q75YLSISYLDANCNFSM4R75TPIA
.

Just don't do anything let the PR be like this
On 2 Oct 2020 7:59 a.m., "Rohan Garg"<EMAIL_ADDRESS>wrote:

Idk it might be a small mistake i did sorry for that but please don't mark
my PR as invalid or spam
On 1 Oct 2020 10:28 p.m., "Adam Geitgey"<EMAIL_ADDRESS>wrote:

I'm not sure what the intent is here, but this would break the library.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ageitgey/face_recognition/pull/1220#issuecomment-702268756,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APEA57CHNJE4ABJBE7Q75YLSISYLDANCNFSM4R75TPIA
.


Search bar fix:  multiple search bars can be on one page

Summary of changes
No ticket.  Turns out our script to setup the algolia search bar did not sustain two search bars on the same page.

The last two test failures don't seem to be an issue with this branch 🤔

I'll go ahead and merge, will look into test failures elsewhere


chore(identify): Bump PHP version and Illuminate support version

Coverage remained the same at 81.25% when pulling 5bc7bccdca34c37b1ebb916d505c10213e161ec8 on support-laravel56 into 8f6dfcd0758d8f1eaaaf7d77da06956175da5f63 on master.


Extend far plane slightly to prevent clipping

Fixes https://github.com/CesiumGS/cesium/issues/9114
https://github.com/CesiumGS/cesium/pull/8850 made it so that the far plane only goes as far as the farthest object visible to the camera. The problem was geometry right on the far plane might get clipped at certain camera angles. This was somewhat hardware dependent since the problem didn't happen on my 2015 Macbook but happened on mostly everything else.
The fix was to extend the far plane a bit further than the farthest object:
// Extend the far plane slightly further to prevent geometry clipping against the far plane.
far *= 1.0 + CesiumMath.EPSILON2;

Here's a debug view showing the problem. The ground primitive's bounding volume lines up almost perfectly with the frustum which causes clipping.

Sandcastle for testing

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.
:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Looks good to me, the fix makes sense and it fixes the problem, Thanks @lilleyse


Can't add a new custom field

Description
When I try to add a new custom field, I get the following error that prevents me from saving.

Hello,
thank you for creating this issue.
I have opened a ticket on our Issue Tracker for you. See the ticket link: https://issues.shopware.com/issues/NEXT-5760
Please use this ticket to track the state of your issue.


Question :Microsoft.ui.xaml.dll is unable to load

I am getting an exception in my WinUI3 app that Microsoft.ui.xaml.dll is unable to load. I have included Microsoft.UI.Xaml and Microsoft.Graphics.Win2D in nuget.
System.DllNotFoundException
  HResult=0x80131524
  Message=Unable to load DLL 'Microsoft.ui.xaml.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)
  Source=TibraUI
  StackTrace:
   at TibraUI.Program.XamlCheckProcessRequirements()
   at TibraUI.Program.Main(String[] args) in C:\Users\Bryan\src\tibra\Tibra\TibraUI\obj\x64\Debug\net6.0-windows10.0.19041.0\win10-x64\App.g.i.cs:line 28

Windows Version 21H1 Build 19043.1348
My App.xaml
<Application
    x:Class="TibraUI.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:TibraUI">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
                <!-- Other merged dictionaries here -->
            </ResourceDictionary.MergedDictionaries>
            <!-- Other app resources here -->
        </ResourceDictionary>
    </Application.Resources>
</Application>

Are you possibly missing https://www.nuget.org/packages/Microsoft.VCRTForwarders.140/?

@sylveon Didn't work.

I am having the same trouble.

I faced same issue. In my case, root cause was launchSettings.json.
When I had faced this issue the file was:
{
  "profiles": {
    "Project Name": {
      "commandName": "Project"
    },
    "WSL": {
      "commandName": "WSL2",
      "environmentVariables": {},
      "distributionName": ""
    }
  }
}

I changed the file to fix this issue to:
{
  "profiles": {
    "Contoso.Expenses.WindowsAppSdk (Package)": {
      "commandName": "MsixPackage"
    },
    "Contoso.Expenses.WindowsAppSdk (Unpackaged)": {
      "commandName": "Project"
    }
  }
}

launchSettings.json was ignored by .gitignore. I cloned my WinUI 3.0 project from a git repository. Then Visual Studio generated default launchSettings.json. It didn't work for WinUI 3.0 project. So I had to change it myself to fix this error.

@evelynwu-msft FYI

{
  "profiles": {
    "Project Name (Package)": {
      "commandName": "MsixPackage"
    },
    "Project Name (Unpackaged)": {
      "commandName": "Project"
    }
  }
}

I face this issue

Project Name (Package) this is ok
Project Name (Unpackaged) this is fail

@heartacker If you select the included-by-default launch profile <Project Name> (Unpackaged then you are launching an unpackaged Windows App SDK app and there are additional steps required for that detailed here (specifically, the Windows App SDK runtime needs to be manually deployed first).

This is not solved.. don't close


[Feature] Use tailwind.css for styling

Motivation
With tailwind.css we can bootstrap new styled features faster. Also it can maintain a system that is more scalable in terms of styling.
Solution
Integrating tailwind to the current codebase is pretty easy since it is just importing it to index.scss.
Notes
Bundle size will not increase since Purge CSS will remove any unused CSS rule.

Hi @Jfelix61,
What advantage do you think this would bring to the TakeNote project? Since we're not using any library, there is no CSS code that is not used, and all of it is specifically tailored for the project. Furthermore, the classnames are semantic as opposed to utility classes, so each element only has a class that applies to what it actually is, vs. descriptors like bg-white and border-1, etc., which would lead to many classes on each element. Finally, all the end-to-end tests rely on the classes we've already created, so would have to be rewritten with new ways to account for this.

End-to-end tests do create a problem. Having classes or selectors for tests can lead to breaks on the long-term since these could change. So, I ponder if we could add test ids which lead to a cleaner solution which gives contexts to tests.
Regarding other styles, I believe using tailwind.css can lead us to have a more consistent design and since classes are reused bundle size would go down.

Tailwind seems like an interesting project, but it would be a lot of work to move to this component class-based approach and I haven't quite seen the benefits of it yet. It might be interesting to set up a project from scratch with Tailwind, but I don't think it will be on the road map for the current project.


python: pip_install deprecated

Title: pip_install deprecated.
Description:
I have started build on fresh Fedora 37 and can see error

DEBUG: /root/.cache/bazel/_bazel_root/221703495c2e97a5482194eda3ea2f8b/external/rules_python/python/pip.bzl:47:10: pip_install is deprecated. Please switch to pip_parse. pip_install will be removed in a future release.

there is a reason that it hasnt been removed - see https://github.com/bazelbuild/rules_python/issues/899
at this point the dev setup doesnt work anyway (arggh!) so we may as well convert it and/or remove the dep it exposes
@sergey-safarov if you want to tack either this or the rust issue (#24548) i would be happy to review

I think need to update bazel on my PC.
I may hours used build dates 3 months ago. This maybe already fixed.


virus in the "AI Playground for Desktop-dGPU (ACM)" file

Describe the bug
There is malware in the file "AI Playground for Desktop-dGPU (ACM)" and can affect the system.
Expected behavior
The download and installation should occur without any error, and when I download the file, I get an error from antivirus software installed in my system.
Screenshots

Environment (please complete the following information):

OS: Windows11
CPU: i7-13650HX

Feel like a false alarm. The flagged URL is from GitHub.

I had downloaded the file, and my antivirus software (McAfee) gave me the notification that a virus was found in this file.

I had downloaded the file, and my antivirus software (McAfee) gave me the notification that a virus was found in this file.

I tried downloading it and Windows Defender gave me a virus warning and stopped the download process. Virus named "Trojan:Script/Wacatac.B!ml". https://codeload.github.com/intel/AI-Playground/zip/refs/heads/main|pid:15952,ProcessStart:133785477033041453


view map in infolist

Is it possible to view the map in infolist?

After merging #21  and releasing the new version, you'll be able to use MapEntry in the infolists schema. for more details, please read the README.


Dell Precision 5550 - Windows 10 x64 download link incorrect

I'm using DAT v6.5.0
correct link is https://dl.dell.com/FOLDER06627346M/1/5550-win10-A02-KKX71.CAB

Seems to work correctly now, closinng issue


Add configurable announcement feature

Is your feature request related to a problem? Please describe.
We need a way to show a targeted announcement banner on the Flagsmith dashboard
Describe the solution you'd like.
As a Flagsmith team member I would like to configure an announcement banner via Flagsmith remote configuration
Describe alternatives you've considered
Add in code, but would rather use feature flags
Additional context
No response

Flagsmith feature linked: announcement

Environment
Enabled
Value
Last Updated (UTC)

Production
❌ Disabled

{
  "id": "cs-webinar-july24",
  "title": "Improve your release strategy with feature flags!",
  "description": "Join us for a webinar where we'll talk about 3 key use cases people use feature flags to improve their release strategy - feature gating, server side testing, and canary release!",
  "buttonText": "View the Event",
  "url": "https://us06web.zoom.us/webinar/register/WN_IG22GBJ8RBWrGIzMRMqnrg",
  "isClosable": true
}

2024-08-09 15:28:04

Staging
✅ Enabled

{
  "id": "announcement-1",
  "title": "Master Feature Flags & Progressive Delivery!",
  "description": "Join us in London for a hands-on workshop with Dynatrace on feature flags and observability-driven progressive delivery.",
  "buttonText": "Save My Seat!",
  "url": "https://info.dynatrace.com/emea-uk-dh-progressive-delivery-workshop-flagsmith-22371-registration.html",
  "isClosable": true
}

2024-06-24 16:11:00


Couldn't launch the script on old android

When I ran my appium script (npx ts-node tf1-info.ts), I got this error:
/Users/charlotte/Documents/Projects/node_modules/@perf-profiler/profiler/src/commands/atrace/pollFpsUsage.ts:48
    lines.forEach((line) => {
          ^
TypeError: Cannot read property 'includes' of undefined
    at /Users/charlotte/Documents/Projects/node_modules/@perf-profiler/profiler/src/commands/atrace/pollFpsUsage.ts:64:24
    at Array.forEach (<anonymous>)
    at FrameTimeParser.getFrameTimes (/Users/charlotte/Documents/Projects/node_modules/@perf-profiler/profiler/src/commands/atrace/pollFpsUsage.ts:48:11)
    at /Users/charlotte/Documents/Projects/node_modules/@perf-profiler/profiler/src/commands/pollPerformanceMeasures.ts:26:25
    at /Users/charlotte/Documents/Projects/node_modules/@perf-profiler/profiler/src/commands/cppProfiler.ts:104:7
    at /Users/charlotte/Documents/Projects/node_modules/@perf-profiler/profiler/src/commands/shell.ts:49:7
    at Array.forEach (<anonymous>)
    at Socket.<anonymous> (/Users/charlotte/Documents/Projects/node_modules/@perf-profiler/profiler/src/commands/shell.ts:48:29)
    at Socket.emit (node:events:365:28)
    at Socket.emit (node:domain:470:12)`

The script had just printed Running iteration 1/10
Here is my script:
import { AppiumDriver } from<EMAIL_ADDRESS>import { TestCase, measurePerformance } from "@perf-profiler/e2e";

const runTest = async () => {
  const driver = await AppiumDriver.create({
    // `npx @perf-profiler/profiler getCurrentApp` will display info for the current app
    appPackage: "com.smartnsoft.metro",
    appActivity: "com.mobilenews.MainActivity",
  });

  const testCase: TestCase = {
    beforeTest: async () => {
      driver.stopApp();
    },
    run: async () => {
      // run is where measuring will happen, insert e2e logic here
      driver.startApp();
      await driver.findElementByText("Bonjour");
    },
    // Duration is optional, but helps in getting consistent measures.
    // Measures will be taken for this duration, regardless of test duration
    duration: 10000,
  };

  const { writeResults } = await measurePerformance("com.smartnsoft.metro", testCase);
  writeResults();
};

runTest()

Android phone: Samsung A30
Android version: 10
FYI, it is the same script that I launched on another phone (pixel 6, android 13) where it worked

Should be fixed in<EMAIL_ADDRESS>🎈


Queries for the library metadata

It will be nice (and easy to include) little query functions with information about the version, release date, author... whatever in PR #58; currently this information is only available in the Python bindings.
It will be also a good idea to let handling things like updating the date info to a git pre-commit hook.

Leaving the issue for later, not PR #58 at last.

Not included in PR #63. Maybe a good idea for Calculate 1.1.2?

Already solved in the previous pull request. Closing...


Compare Event Topics and show a list of similar events in event details

For now, we can show the user a list of similar events in the event details section by showing events based on the event topic
As in eventbrite

Working on it :+1:

But the API does support in showing us a list of events under an event type

But not similar events

I saw that an example of an event was under the type ( Travel and Leisure ) in our API. So possibly if we show them the events under same topic, won't they be alike ?

Alright, go ahead

@iamareebjamal There seems to be a requirement for admin access for creating a event topic. Moreover when I try to update an event its showing me that co-organizer access is required ?

You have to create an event yourself for that

@iamareebjamal I can't create an event topic due to admin access. Actually not a single event topic exists in the server. What should I do?

Run a local instance of server and create an event topic

@iamareebjamal I am facing a peculiar error. I have run an instance of the server locally. When I create an event with a POST request, it is being created as the API endpoint of the event id shows the response of the event. Problem is that /v1/events API endpoint wont show any events at all. Is this a bug or am I going wrong somewhere?

Sounds like a bug

Should I create an issue in the server then?

@iamareebjamal Everything seems fine. I am able to fetch my locally created events, I am able to create event topics too. The thing is I am not sure about the process of linking the event with an event topic. I tried it by setting field event_topic_id while creating a new event, but it didn't work. Am I doing this wrong?

I created the event. After that using get request for the event ( included event topic )
Below is response
{
    "links": {
        "self": "/v1/events/13"
    },
    "jsonapi": {
        "version": "1.0"
    },
    "data": {
        "relationships": {
            "microlocations": {
                "links": {
                    "self": "/v1/events/13/relationships/microlocations",
                    "related": "/v1/events/13/microlocations"
                }
            },
            "ticket-tags": {
                "links": {
                    "self": "/v1/events/13/relationships/ticket-tags",
                    "related": "/v1/events/13/ticket-tags"
                }
            },
            "moderators": {
                "links": {
                    "self": "/v1/events/13/relationships/moderators",
                    "related": "/v1/users"
                }
            },
            "orders": {
                "links": {
                    "self": "/v1/events/13/relationships/orders",
                    "related": "/v1/events/13/orders"
                }
            },
            "attendees": {
                "links": {
                    "self": "/v1/events/13/relationships/attendees",
                    "related": "/v1/events/13/attendees"
                }
            },
            "registrars": {
                "links": {
                    "self": "/v1/events/13/relationships/registrars",
                    "related": "/v1/users"
                }
            },
            "faqs": {
                "links": {
                    "self": "/v1/events/13/relationships/faqs",
                    "related": "/v1/events/13/faqs"
                }
            },
            "event-type": {
                "links": {
                    "self": "/v1/events/13/relationships/event-type",
                    "related": "/v1/events/13/event-type"
                }
            },
            "faq-types": {
                "links": {
                    "self": "/v1/events/13/relationships/faq-types",
                    "related": "/v1/events/13/faq-types"
                }
            },
            "session-types": {
                "links": {
                    "self": "/v1/events/13/relationships/session-types",
                    "related": "/v1/events/13/session-types"
                }
            },
            "event-copyright": {
                "links": {
                    "self": "/v1/events/13/relationships/event-copyright",
                    "related": "/v1/events/13/event-copyright"
                }
            },
            "tickets": {
                "links": {
                    "self": "/v1/events/13/relationships/tickets",
                    "related": "/v1/events/13/tickets"
                }
            },
            "tax": {
                "links": {
                    "self": "/v1/events/13/relationships/tax",
                    "related": "/v1/events/13/tax"
                }
            },
            "role-invites": {
                "links": {
                    "self": "/v1/events/13/relationships/role-invites",
                    "related": "/v1/events/13/role-invites"
                }
            },
            "event-sub-topic": {
                "links": {
                    "self": "/v1/events/13/relationships/event-sub-topic",
                    "related": "/v1/events/13/event-sub-topic"
                }
            },
            "tracks": {
                "links": {
                    "self": "/v1/events/13/relationships/tracks",
                    "related": "/v1/events/13/tracks"
                }
            },
            "access-codes": {
                "links": {
                    "self": "/v1/events/13/relationships/access-codes",
                    "related": "/v1/events/13/access-codes"
                }
            },
            "coorganizers": {
                "links": {
                    "self": "/v1/events/13/relationships/coorganizers",
                    "related": "/v1/users"
                }
            },
            "event-topic": {
                "links": {
                    "self": "/v1/events/13/relationships/event-topic",
                    "related": "/v1/events/13/event-topic"
                },
                "data": null
            },
            "organizers": {
                "links": {
                    "self": "/v1/events/13/relationships/organizers",
                    "related": "/v1/users"
                }
            },
            "event-invoices": {
                "links": {
                    "self": "/v1/events/13/relationships/event-invoices",
                    "related": "/v1/events/13/event-invoices"
                }
            },
            "social-links": {
                "links": {
                    "self": "/v1/events/13/relationships/social-links",
                    "related": "/v1/events/13/social-links"
                }
            },
            "sponsors": {
                "links": {
                    "self": "/v1/events/13/relationships/sponsors",
                    "related": "/v1/events/13/sponsors"
                }
            },
            "speakers": {
                "links": {
                    "self": "/v1/events/13/relationships/speakers",
                    "related": "/v1/events/13/speakers"
                }
            },
            "sessions": {
                "links": {
                    "self": "/v1/events/13/relationships/sessions",
                    "related": "/v1/events/13/sessions"
                }
            },
            "speakers-call": {
                "links": {
                    "self": "/v1/events/13/relationships/speakers-call",
                    "related": "/v1/events/13/speakers-call"
                }
            },
            "custom-forms": {
                "links": {
                    "self": "/v1/events/13/relationships/custom-forms",
                    "related": "/v1/events/13/custom-forms"
                }
            },
            "track-organizers": {
                "links": {
                    "self": "/v1/events/13/relationships/track-organizers",
                    "related": "/v1/users"
                }
            },
            "discount-codes": {
                "links": {
                    "self": "/v1/events/13/relationships/discount-codes",
                    "related": "/v1/events/13/discount-codes"
                }
            },
            "feedbacks": {
                "links": {
                    "self": "/v1/events/13/relationships/feedbacks",
                    "related": "/v1/events/13/feedbacks"
                }
            }
        },
        "links": {
            "self": "/v1/events/13"
        },
        "id": "13",
        "attributes": {
            "ends-at": "2016-12-14T23:59:59.123456+00:00",
            "code-of-conduct": "example",
            "schedule-published-on": null,
            "icon-image-url": "http://<IP_ADDRESS>:5000/static/media/events/13/icon/WWd1MTlmT3/170b31ba-804c-4974-ac3c-89a3726e59ea.jpg",
            "can-pay-onsite": true,
            "can-pay-by-cheque": true,
            "ical-url": null,
            "bank-details": "example",
            "thumbnail-image-url": "http://<IP_ADDRESS>:5000/static/media/events/13/thumbnail/ZEdhQlVzR3/d8e9c946-17f9-4fd3-8eff-e58159b2e699.jpg",
            "external-event-url": "http://example.com",
            "can-pay-by-paypal": true,
            "is-sponsors-enabled": false,
            "organizer-description": "example",
            "created-at": "2018-06-21T15:02:11.931929+00:00",
            "latitude": 1.23456789,
            "is-tax-enabled": true,
            "name": "Great",
            "large-image-url": "http://<IP_ADDRESS>:5000/static/media/events/13/large/NWVtRGZOTE/2f3d78a1-ae55-4d6f-8503-1de629c6a563.jpg",
            "searchable-location-name": "example",
            "is-sessions-speakers-enabled": true,
            "can-pay-by-stripe": true,
            "deleted-at": null,
            "payment-currency": "USD",
            "identifier": "44767eb7",
            "payment-country": "US",
            "starts-at": "2016-12-13T23:59:59.123456+00:00",
            "organizer-name": "example",
            "has-organizer-info": false,
            "is-ticketing-enabled": true,
            "can-pay-by-bank": true,
            "original-image-url": "http://<IP_ADDRESS>:5000/static/media/events/13/original/dElkTUliM1/bf387293-4689-4c89-b7c3-15896f8d3a77.jpg",
            "paypal-email"<EMAIL_ADDRESS>            "description": "example",
            "location-name": "example",
            "cheque-details": "example",
            "ticket-url": "http://example.com",
            "is-map-shown": true,
            "longitude": 1.23456789,
            "privacy": "public",
            "logo-url": "http://example.com/example.png",
            "onsite-details": "example",
            "pentabarf-url": null,
            "xcal-url": null,
            "state": "draft"
        },
        "type": "event"
    }
}

data is clearly null

I got it to work by creating relationship with event topic. Seems like it was given wrong in the docs :+1:

Raise an issue about that on server


Roadmap / Contributing

If you are interrested in contributing to the project, please let me know ^^
Here are the current work-items in completion order

[x] Plugin API
[x] Pipeline API
[x] Basic frontend
[x] Decoder
[x] Multi issue dispatcher
[x] Execute
[X] Integer ALU / Shift
[X] Basic testbench
[x] Writeback
[x] Bypass
[x] Hazard
[X] Branch
[X] Multi issue
[x] RVLS integration
[x] Konata traces
[x] Regression framework
[x] Load / Store
[x] Basic CSR support
[x] mul / div / rem
[x] Passing riscv-test
[X] BTB + RAS predictor
[x] Passing riscv-arch-test
[x] Passing embench / coremark / dhrystone in dual issue
[x] GShare predictor
[x] Late ALU support
[ ] Multi issue fetch's aligner
[ ] I$
[ ] D$
[ ] MMU
[ ] Linux
[ ] SMT support

Decoupled todo :

[ ] Small iterative shift plugin
[ ] Small iterative mul/div plugin
[ ] bit manip extention
[ ] Adding bridges from ibus dbus toward bus standards (Wishbone, Tilelink, AXI, AHB, Avalon, ...)
[ ] ...

just to avoid duplicate work: iterative shift is on it's way, just like iterative mul

just to let you know - i'm working on a radix2 divider here:
https://github.com/bitpasta/VexiiRiscv/tree/dev_divradix2

lolololol
[Progress] Start VexiiRiscv test simulation with seed 2

OpenSBI v0.8
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name       : NaxRiscv
Platform Features   : timer,mfdeleg
Platform HART Count : 1
Boot HART ID        : 0
Boot HART ISA       : rv32imasu
BOOT HART Features  : scounteren,mcounteren
BOOT HART PMP Count : 0
Firmware Base       : 0x80000000
Firmware Size       : 64 KB
Runtime SBI Version : 0.2

MIDELEG : 0x00000222
MEDELEG : 0x0000b109
[    0.000000] Linux version 5.10.1 (rawrr@rawrr) (riscv32-buildroot-linux-gnu-gcc.br_real (Buildroot 2020.11-rc3-8-g9ef54b7d0b) 10.2.0, GNU ld (GNU Binutils) 2.34) #2 SMP Wed Jan 26 14:18:17 CET 2022
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
[    0.000000] Initial ramdisk at: 0x(ptrval) (8388608 bytes)
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080400000-0x000000008fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080400000-0x000000008fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080400000-0x000000008fffffff]
[    0.000000] SBI specification v0.2 detected
[    0.000000] SBI implementation ID=0x1 Version=0x8
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] riscv: ISA extensions aim
[    0.000000] riscv: ELF capabilities aim
[    0.000000] percpu: Embedded 10 pages/cpu s18700 r0 d22260 u40960
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64008
[    0.000000] Kernel command line: rootwait console=hvc0 earlycon=sbi root=/dev/ram0 init=/sbin/init
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 241280K/258048K available (4717K kernel code, 553K rwdata, 632K rodata, 166K init, 213K bss, 16768K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 32 local interrupts mapped
[    0.000000] random: get_random_bytes called from start_kernel+0x35c/0x4dc with crng_init=0
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns:<PHONE_NUMBER>15 ns
[    0.000053] sched_clock: 64 bits at 100MHz, resolution 10ns, wraps every<PHONE_NUMBER>100ns
[    0.001054] Console: colour dummy device 80x25
[    0.001405] printk: console [hvc0] enabled
[    0.001405] printk: console [hvc0] enabled
[    0.001949] printk: bootconsole [sbi0] disabled
[    0.001949] printk: bootconsole [sbi0] disabled
[    0.002617] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[    0.003334] pid_max: default: 32768 minimum: 301
[    0.004330] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.004931] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.011492] rcu: Hierarchical SRCU implementation.
[    0.013344] smp: Bringing up secondary CPUs ...
[    0.013686] smp: Brought up 1 node, 1 CPU
[    0.015071] devtmpfs: initialized
[    0.018177] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>100000 ns
[    0.018841] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.020091] NET: Registered protocol family 16
[    0.045047] clocksource: Switched to clocksource riscv_clocksource
[    0.076845] NET: Registered protocol family 2
[    0.079953] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.080635] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.081450] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.082188] TCP: Hash tables configured (established 2048 bind 2048)
[    0.082859] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.083429] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.085938] Unpacking initramfs...
[    0.226491] Initramfs unpacking failed: invalid magic at start of compressed archive
[    0.257373] Freeing initrd memory: 8192K
[    0.259617] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.298254] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.298755] io scheduler mq-deadline registered
[    0.299089] io scheduler kyber registered
[    0.496443] NET: Registered protocol family 10
[    0.499721] Segment Routing with IPv6
[    0.500313] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.503312] NET: Registered protocol family 17
[    0.505957] Freeing unused kernel memory: 164K
[    0.506284] Kernel memory protection not selected by kernel config.
[    0.506742] Run /init as init process
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving random seed: [    0.861828] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting network: OK

Welcome to Buildroot
buildroot login: root
root
           _  _                     ___      _
    o O O | \| |   __ _    __ __   | _ \    (_)     ___     __     __ __
   o      | .` |  / _` |   \ \ /   |   /    | |    (_-<    / _|    \ V /
  TS__[O] |_|\_|  \__,_|   /_\_\   |_|_\   _|_|_   /__/_   \__|_   _\_/_
 {======|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|
./o--000'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'

root@buildroot:~# cat /proc/cpuinfo
cat /proc/cpuinfo
processor	: 0
hart		: 0
isa		: rv32ima
mmu		: sv32

root@buildroot:~# echo 1+2+3*4 | bc
echo 1+2+3*4 | bc
15
root@buildroot:~# micropython
micropython
MicroPython v1.13 on 2022-01-26; linux version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> import math

>>> math.sin(math.pi/4)

0.7071067811865475
>>> from sys import exit

>>> exit()

root@buildroot:~# ls /
ls /
bin      init     linuxrc  opt      run      tmp
dev      lib      media    proc     sbin     usr
etc      lib32    mnt      root     sys      var
root@buildroot:~#

Wow nice! Congratulations!

Brawww
root@buildroot:~# cat /proc/cpuinfo
processor	: 0
hart		: 0
isa		: rv32ima
mmu		: sv32

processor	: 1
hart		: 1
isa		: rv32ima
mmu		: sv32
#################
chocolate-doom -1 -timedemo demo1.lmp &
...
timed 5026 gametics in 2724 realtics (64.577827 fps)
#################
chocolate-doom -1 -timedemo demo1.lmp &
chocolate-doom -1 -timedemo demo1.lmp &
...
timed 5026 gametics in 2897 realtics (60.721436 fps)
timed 5026 gametics in 2918 realtics (60.284443 fps)

Brawwwwwww

Nice! :) How does that compare to Vex and Nax?

It compare quite well also, not all option are turned on.
Vex   : timed 5026 gametics in 4866 realtics (36.150841 fps) ( no l2)
Vexii : timed 5026 gametics in 2724 realtics (64.577827 fps) (128KB-l2)
Nax  : timed 5026 gametics in 2375 realtics (74.067368 fps)  (128KB-l2)

Just tried now quad core and octo core works aswell.

root@nexys:~# cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@nexys:~# cat /proc/cpuinfo
processor	: 0
hart		: 0
isa		: rv64imafdc
mmu		: sv39
mvendorid	: 0x0
marchid		: 0x5
mimpid		: 0x0

processor	: 1
hart		: 1
isa		: rv64imafdc
mmu		: sv39
mvendorid	: 0x0
marchid		: 0x5
mimpid		: 0x0

root@nexys:~#

root@nexys:~# neofetch
       _,met$$$$$gg.          root@nexys
    ,g$$$$$$$$$$$$$$$P.       ----------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux trixie/sid riscv64
 ,$$P'              `$$$.     Kernel: 6.1.0-rc2+
',$$P       ,ggs.     `$$b:   Uptime: 17 hours, 47 mins
`d$$'     ,$P"'   .    $$$    Packages: 1698 (dpkg)
 $$P      d$'     ,    $$P    Shell: bash 5.2.15
 $$:      $$.   -    ,d$$'    Resolution: 800x600
 $$;      Y$b._   _,d$P'      WM: wmaker
 Y$$.    `.`"Y$$$$P"'         Theme: Adwaita [GTK3]
 `$$b      "-.__              Icons: Adwaita [GTK3]
  `Y$$                        Terminal: /dev/pts/2
   `Y$$.                      CPU: (2)
     `$$b.                    Memory: 97MiB / 472MiB
       `Y$$b.
          `"Y$b._
              `"""

Is CFU on the roadmap?

Hi,
Yes it is, a few people need it :)
Also, it shouldn't be a dififcult one to add.


Please add WeChat QR code login as a login option for users in China for this software.

Is there an existing issue for this feature?

[X] Yes, I have searched the existing issues and it doesn't exist.

Feature Description
Nowadays, there are many users of this software in China. In China, most software supports WeChat QR code login, and people are accustomed to using WeChat QR code login authentication to directly log in to the software. Therefore, we suggest adding WeChat QR code login as a login option in the software to facilitate Chinese users in logging in directly using WeChat.

This is a good suggestion for the Chinese user base. However I think this would best be done in a separate fork I wouldn't directly integrate something that most people won't be using.


Tupling issue?

Xcode 11.5 is generating a warning, though not an error, when trying to use a try catch block.
do {
  try myCommand.finish()
} catch CommandError.returnedErrorCode(let error) {
  print("Error while trying to finish: \(error).")
} catch {
  print("Caught unknown error.")
}
On the line } catch CommandError.returnedErrorCode(let error) {, Xcode generates the warning "Cannot match several associated values at once, implicitly tupling the associated values and trying to match that instead".
This line appears to be a direct copy of an example from the Reference API so I'm assuming this is a new warning with Xcode.
The project still builds successfully and I haven't observed any unexpected results but I also haven't generated any code that would trigger this purposefully.

Thank you, good catch. I have updated the README with the correct example code:
let someCommand = runAsync("cmd", "-n", 245)
// ...
do {
	try someCommand.finish()
} catch let CommandError.returnedErrorCode(command, errorcode) {
	print("Command '\(command)' finished with exit code \(errorcode).")
}


pull-request --no-edit uses the wrong commit message

i'm not sure how to reproduce this bug, but sometimes pull-request uses the wrong commit message. in one case i had two commits on a topic branch and instead of using the head commit, hub used the first commit. in other cases i think i'm switching branches and pull-request is using the last message from the previous branch and not the latest message from the current branch.
word-of-mouth seems to be that this is a known issue? but i haven't seen anything in the issues backlog here.
any known workarounds?

in one case i had two commits on a topic branch and instead of using the head commit, hub used the first commit.

The documentation states:
	--no-edit
		Use the message from the first commit on the branch as pull request title
		and description without opening a text editor.

in other cases i think i'm switching branches and pull-request is using the last message from the previous branch

Did the previous attempt of hub pull-request fail? In that case, hub preserves the pull request message and tries to re-use it on the next hub pull-request invocation. It is not aware that you have switched branches in the meantime.

generally, shouldn't the "first" commit just be the head? and is that the local head or the remote?

Did the previous attempt of hub pull-request fail? In that case, hub preserves the pull request message and tries to re-use it on the next hub pull-request invocation. It is not aware that you have switched branches in the meantime.

that sounds right-ish, i messed up the syntax on a message once and then ran into the wrong message in the pull request. so far though i haven't found the right way to break a message to get the wrong commit message.
also, there seems to be a related bug where a pull-request goes through even if you abandon the editor which is different than git itself which will bail if you don't write out changes.

generally, shouldn't the "first" commit just be the head?

I'm sorry, the docs are not clear about this.

I'm interested in what wasn't clear about that?

there seems to be a related bug where a pull-request goes through even if you abandon the editor

How do you abandon the text editor? Exit without saving any changes? Maybe this was already reported as https://github.com/github/hub/issues/1428, pending fix

yeah that's the one.
anyways, since i can't find the way that i broke no-edit i'm going to close this

Did the previous attempt of hub pull-request fail? In that case, hub preserves the pull request message and tries to re-use it on the next hub pull-request invocation. It is not aware that you have switched branches in the meantime.

How can I make it forget?  I keep getting an older commit message.


Add ability to report on keys / secrets

Report showing which values are encrypted, with which key and at what time
Report showing arn + context used to generate keys in keyring and when they were generated

Depends on https://github.com/mikesimons/envelope/issues/14 for secret encryption timestamp

Depends on https://github.com/mikesimons/envelope/issues/16 for ARN


HDX-10120 Additional update?

Not sure whether these changes have been merged

Yes, these changes have been merged. I'll close this PR


Duplicates in user-overrides.js

Any specific reason for keeping duplicates in file?

I removed it, but since I am not sure why you did that, I didn't open a PR.

no that will be a mistake ;D feel free to open a PR !


updates to prom, kubestatemetrics, grafana

All latest by today:
Prom 1.6.2
KSM 0.5.0
Grafana 4.2.0
RFR @webwurst (running on l8 cluster currently without problems)

upped prom to 1.6.3


use FiftyOneJSONEncoder if datetime type exists in info field

What changes are proposed in this pull request?
@benjaminpkane after running
import fiftyone as fo
import fiftyone.zoo as foz
from datetime import datetime

dataset = foz.load_zoo_dataset("quickstart")

field = dataset.get_field("ground_truth")
field.info = {"created_at": datetime.utcnow(), "sample": float("inf")}
field.save()

session = fo.launch_app(dataset)

does not throw the error anymore but I can't see the date when hovering over the ground_truth field so maybe it needs a FE handle too?
Error before fix
App launched. Point your web browser to http://localhost:5151

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/Brian/dev/fiftyone/fiftyone/core/session/client.py", line 98, in run_client
    raise e
  File "/Users/Brian/dev/fiftyone/fiftyone/core/session/client.py", line 95, in run_client
    subscribe()
  File "/Users/Brian/dev/fiftyone/fiftyone/core/session/client.py", line 65, in subscribe
    response = requests.post(
  File "/Users/Brian/dev/env/fo/lib/python3.9/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/Users/Brian/dev/env/fo/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Users/Brian/dev/env/fo/lib/python3.9/site-packages/requests/sessions.py", line 515, in request
    prep = self.prepare_request(req)
  File "/Users/Brian/dev/env/fo/lib/python3.9/site-packages/requests/sessions.py", line 443, in prepare_request
    p.prepare(
  File "/Users/Brian/dev/env/fo/lib/python3.9/site-packages/requests/models.py", line 321, in prepare
    self.prepare_body(data, files, json)
  File "/Users/Brian/dev/env/fo/lib/python3.9/site-packages/requests/models.py", line 473, in prepare_body
    body = complexjson.dumps(json, allow_nan=False)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 234, in dumps
    return cls(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type datetime is not JSON serializable

I would expect the UI to show the date when hovering over the field with new info data - but not seeing creation date

(Please fill in changes proposed in this fix)
How is this patch tested? If it is not, please explain why.
(Details)
Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[ ] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[ ] Other

closing in favor of https://github.com/voxel51/fiftyone/pull/2877/files


Extract issue name from branch and append to commit message

Feature Request: Extract Issue Name from Branch and Append to Commit Message
Overview
For developers who follow a naming convention for their branches that includes an issue name or identifier, it would be beneficial for the aicommits tool to automatically extract this issue name and append it to the generated commit message. This ensures that each commit is directly associated with the relevant issue, providing better traceability and context.
Current Behavior
Currently, when using the aicommits tool, the generated commit message is in the format:
<commit_msg>

Desired Behavior
Given a branch name that follows the convention feature/abc-576, bugfix/abc-577, etc., the tool should extract the issue name (e.g., abc-576) and append it to the commit message. The resulting commit message should be:
abc-576 <commit_msg>

Use Case
Consider a developer working on a feature branch named feature/abc-576. They make some changes and stage them. When they use the aicommits tool to generate a commit message, the tool should:

Detect the current branch name.
Extract the issue name from the branch name.
Append the issue name to the generated commit message.

For example, if the AI-generated commit message is "Added new login functionality", the final commit message should be:
abc-576 Added new login functionality

Implementation Suggestions

Use Git commands to detect the current branch name.
Use regular expressions or string manipulation to extract the issue name from the branch name.
Append the issue name to the AI-generated commit message.

Benefits

Traceability: By associating commits with specific issues, developers and teams can easily trace changes back to their originating requirements or bug reports.

Context: When reviewing commit histories, having the issue name directly in the commit message provides immediate context about the purpose of the change.

Integration with Other Tools: Many project management and CI/CD tools can utilize the issue name in the commit message for better automation and linking of code changes to tasks.

Alternatives
I am editing the commit message in this way right now,
git commit --amend

And I am pushing it.

Super good idea. I'll look into it 👍🏼

@aozmekik It's implemented.
Update aicommit
npm update -g @negoziator/ai-commit

Enable prepend-reference
aicommit config set prepend-reference=true

Thanks a lot!

@aozmekik No problem 👍🏼
Consider staring the repo, so you will get updates ⭐

I starred.


Allow pickers to provide an action to show in the pick list

This enables actions for those clients that use the picker API and not the heavy quick open handler API.
/cc @dbaeumer

Thanks !

Pick items can now have a property IAction and it will be rendererd as action next to it.


[CircleGraphCtrl] Adjust menu position

This will adjust menu position to show on bottom of button so that
button is not blocked.
ONE-vscode-DCO-1.0-Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

related https://github.com/Samsung/ONE-vscode/issues/962#issuecomment-1177376051


PowerApps Build Tools: [error]CanvasApp import: FAILURE: One or more errors occurred.

Hi,
I believe canvas app are also supported right?
I have followed your tutorial, the "export" pipeline works I can see the app in source control. However, the "build" pipeline fails with not a very helpful error at the PowerApps Import Solution task. Any hints will really be appreciated. Many thanks.

@francisco-ltech Can you let us know for what sample you are facing this issue.

Hi,
Same app as in the other ticket, also attached here.
deployme_20190926161705.zip

Can you point me to the tutorial you were following?

This one (the lab exercise)
https://github.com/microsoft/PowerApps-Samples/tree/master/azure/build-tools#powerapps_build-tools_labzip

Couple of questions: can you import the solution manually? (through solutions -> Import solution)? Can you also pls. share the detailed log (under 'variables' in the pipeline you can set debug = true
Thanks


ARRAY_AGG sql aggregator function

Description
This PR adds ARRAY_AGG to SQL, building it on top of the expression aggregator provided in #11104.

function
description

ARRAY_AGG(expr, [size])
Collects all values of expr into an ARRAY, including null values, with size in bytes limit on aggregation size (default of 1024 bytes). Use of ORDER BY within the ARRAY_AGG expression is not currently supported, and the ordering of results within the output array may vary depending on processing order.

ARRAY_AGG(DISTINCT expr, [size])
Collects all distinct values of expr into an ARRAY, including null values, with size in bytes limit on aggregation size (default of 1024 bytes) per aggregate. Use of ORDER BY within the ARRAY_AGG expression is not currently supported, and the ordering of results within the output array may vary depending on processing order.

Since this is an expression aggregator, it is unlikely to be the most optimal way to provide this functionality, But, it importantly makes it so that we can offer this functionality relatively easily, since arrays are more or less only supported in the expression system at this point, so it is still an improvement.
Until we update Apache Calcite to a newer version, we are unable to support the ORDER BY that some other databases which offer ARRAY_AGG have, due to https://issues.apache.org/jira/browse/CALCITE-4335. Upgrading Calcite to any newer version is tricky because of requirements of a newer Guava dependency.
We also will accept a non-standard 2 argument form of ARRAY_AGG as specified above, so that we can specify the maximum buffer aggregator size in bytes, which will be necessary until we have growable buffer aggregators.
I added a lot of SQL query tests to try and stress some areas of array handling in addition to testing this aggregator itself, including expected failure tests such as trying to group on the output of an array agg output of a subquery or join.
It was admittedly rather pleasing to see stuff like
SELECT dim2, COUNT(*)
FROM foo
WHERE ARRAY_CONTAINS((SELECT ARRAY_AGG(DISTINCT dim1) FROM foo WHERE dim1 is not null), dim1)
GROUP BY 1

able to just work out of the box after I added the aggregator function, so I consider array support overall to be progressing pretty smoothly.
This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

thanks for review @jihoonson


IPVS Fullstate Support for IPv6

In continuation to https://github.com/kubernetes-sigs/kpng/pull/417.
Passes e2e for ipv4, ipv6 and dual on Ubuntu 22.04.1 LTS.

/lgtm
/approve

/retest

/retest

/approve
/lgtm
/retest
/test-this-please

@jayunit100 all the tests (Security / govulncheck) pass now, we can merge this.

/lgtm
/approve


Define a pattern documentation template for the site

We need a reusable template that can be followed for providing usage guidance on all patterns.
This template will also need to be published and usable by any partners or satellite teams, so that we can start building consistency in pattern documentation regardless of the originating creator of that pattern.
Similar to #1085 (which was for components).
Should interact with domain leaders (e.g. MTK, Payments, etc) for consensus on this.

#1649 ongoing for this


add a new option for decimal separator

add a new option for decimal separator
add compiler option for cygwin gcc
fix a Segmentation fault in vsvtabColumn with long double

Please do not include several unrelated changes in a single PR. Better to leave only the changes related to the decimal separator option. And please delete the commented-out code.
Also, I don't see any valid reason to changing the original code:
long double dv, fp, ip;
dv = strtold(pCur->azVal[i], 0);
fp = modfl(dv, &ip);

Into this:
double dv, fp, ip;
char* end;
dv = strtod(pCur->azVal[i], &end);
fp = modf(dv, &ip);

Hallo,
yes i will separate it.
i think the crash (segmentation fault) have samething todo with this
https://sourceforge.net/p/mingw-w64/bugs/478/ or samething else in the gcc or/and libc
i go to a new perl 5.32 with gcc 8.5 and the problem i gone away
i your makefile you have a enviroment variables
$(SQLITE_RELEASE_YEAR), $(SQLITE_VERSION), $(SQLITE_BRANCH)
can give me the value of this or create same build.sh, build.bat where his varaiables have the correct values.
thanks

What segmentation fault are you talking about?
Environment variables values are in the build.yml

The First time i Compiler it i use an older compiler which has a bug in the function modfl in newer compilers the bug is fixes. Look in the sourceforge Link above.
oh i can see the envy in the Build.yml.
is anything wrong with my pull request. Let me know.

Please revert the changes unrelated to the PR. Namely, changes to Makefile in the commit 3b5c13d and the whole e965d92 commit.

Thanks!


Support AWS EventBridge

Currently, MassTransit combines Amazon SQS (Simple Queue Service) with SNS (Simple Notification Service) to provide both send and publish support. But this can be done on a much more elegant way with AWS EventBridge.

may I see any doc around? I suspect EventBridge is very limited, you can't have many EventBridges under single account

And there is no way the existing SQS and SNS transport is changing. It would break too many users applications.


Node binary not found

When trying to format a JS file with the formatter I get this alert:
Couldn't find Node.js. Make sure it's in your $PATH by running `node -v` in your command-line.

However:
⚡  node -v
v0.12.0
⚡  which node
/opt/local/bin/node
⚡  echo $PATH | grep /opt/local/bin
/opt/local/bin:/opt/local/sbin…

Any ideas?

The issue is due to it not being visible from the python environment path. There are some default paths set in the settings file. I would recommend changing it there and seeing if it works.
However, there is apparently a bug currently with modifying the settings files... See #11 for more information.

Thanks for the swift reply. I have seen #11 already, because trying to edit the settings was my first thought :smirk_cat:


[linkis.version]I recommend 0.9.4 version in branch0.9.4

I think it is reasonable to adujst linkis to version 0.9.4 in branch0.9.4

it is fixed in #413


How to force a header into the pch?

Is there a way to force include a header into the pch with a certain order? The problem I have is that I use OpenGL and GLEW. GLEW is compiled as part of my project so cotire will not add the GLEW header to the PCH.
However the OpenGL header does go in to the PCH, but if GL.h is included before GLEW.h then this explicitly fails with an #error directive - so I need a way to force glew.h in to the PCH before gl.h or exclude gl.h from the PCH?

You could use COTIRE_PREFIX_HEADER_IGNORE_PATH to exclude glew or gl from the prefix header - see MANUAL.md for more info.
You could also maintain the prefix header yourself and giving it to cotire with COTIRE_CXX_PREFIX_HEADER_INIT - this would give you better control over what ends up in the precompiled header and in what order.
As a side note I also think that if you have a project with 100 source files and only 2-3 of them are rendering-related and need opengl/glew - then those headers don't need to be in the precompiled header for all sources.

Will COTIRE_PREFIX_HEADER_IGNORE_PATH still work if the path is part of the "user source" since it seems to want to include that stuff by default?


Keb stores provider

Description
Changes proposed in this pull request:

the logic, which chooses the provider is only in one place - choosing an input creator which implements a method Provider()
the provider is stored in a database as a new field in the instances table
new field in the /runtimes endpoint with that provider

Related issue(s)

/unhold


Using applyDecorator with nestia

I am trying to use the nestjs applyDecorator method, to group nestjs and nestia decorators together.
it seems like the TypedException is not recognized. is that functionality not supported? is there an alternative ?
import {
  applyDecorators,
  ForbiddenException,
  HttpStatus,
  SetMetadata,
} from '@nestjs/common';
import { Role } from './role.enum';
import { TypedException } from '@nestia/core';

export const ROLE_KEY = 'role';
export const Roles = (role: Role) =>
  applyDecorators(
    SetMetadata(ROLE_KEY, role),
    TypedException<ForbiddenException>(HttpStatus.FORBIDDEN),
  );

  /**
   * Request something
   *
   * @security X-Auth-Token
   */
  @TypedRoute.Post('/request')
  @Roles(Role.ROLE_SUPER_ADMIN)
  public async request() {
    return true;
  }

it would also be nice to have an equivalent to the nestjs @ApiSecurity decorator that does not require a comment.
That way you could add it inside the applyDecorator to not have to specify security in the comment.

Not possible due to @nestia/core is based on transformation (AOT compilation).

would there be a way to make an aot version of applydecorators? allowing to mix nestjs ans nestia decorators?

Have considered the way, but could not get any idea yet. If you have, then suggest me please.


Improve CI setup

Makes CI checks run daily against OSS-Fuzz and Bazel's last_green releases.

@stefanbucur Let me know if you also want me to pin the Bazel version for this repository to Bazel 5. This would affect the version used for non-scheduled, per-PR CI runs, OSS-Fuzz CI Fuzz runs as well as local development.


Decide max size for uploaded files

Applicants can upload files, but we need to set some upper bound to make sure nobody tries to upload something gigantic. Shouldn't be too low, though, since most users have no idea how to resize things to fit under the requirements.
Even better, we could auto-resize images that are too big!

Superceded by #429


[experiment] Make Diagnostics be a huge literal

Includes #52201 for now because I'm impatient

@typescript-bot perf test this

Hm, disappointing. I didn't expect startup to get slower...


task: store authorizationID with task metadata

Add a new field, AuthorizationID, to StoreTaskMeta.
When a new task is created, take the AuthorizationID associated with the create request, and store it with the StoreTaskMeta.
Outgoing requests originated from a task -- particularly, such as requests to the query service -- should associate that AuthorizationID with that request's context.
If the authorization ID is invalid when the task executes, continue to run and fail; do not deactivate the task.

I have WIP at https://github.com/influxdata/influxdb/tree/feat/task-authorization which covers most of this issue and #11669, but I need some advice on the API specifics for updating authorizations.

When creating a new task, the intent is to associate that task with the authorization ID of the request to create the new task. Should we support an override during creation, or should we say you must create the task with your current token/authz and then update the task to use a different token/authz?
What should the API look like for updating the authorization ID on an existing task? The WIP adds a new key, authorizationID, to the task update request object (as of this moment it's a code-only update, the swagger hasn't been updated yet). We have the option of switching it to the user specifying a token instead -- I think that's probably a more natural experience. We would still store the authorization ID in the backend in that case.
When updating a task's authorization ID, I think we need to verify that the requester has write permission for the task and read permission for the token/authorization. Does that sound sufficient/correct?

/cc @desa @goller

... Should we support an override during creation, or should we say you must create the task with your current token/authz and then update the task to use a different token/authz?

I think supplying an optional override makes sense.

What should the API look like for updating the authorization ID on an existing task? The WIP adds a new key, authorizationID, to the task update request object (as of this moment it's a code-only update, the swagger hasn't been updated yet). We have the option of switching it to the user specifying a token instead -- I think that's probably a more natural experience. We would still store the authorization ID in the backend in that case.

I think specifying the token on update makes sense.

When updating a task's authorization ID, I think we need to verify that the requester has write permission for the task and read permission for the token/authorization. Does that sound sufficient/correct?

Sounds correct to me.

The only question I have is what if the task was created via the UI where there isn't an associated authorization. I think during that call, we had talked about making a special authorization that was the users maximal privilege and then having various sessions point at that authorization, but that has yet to be implemented. Thoughts @goller
An alternative would be to just require that a task always have an authorization specified, which kind of makes sense. Though, we'd need UI for that. cc @russorat

Thanks @desa, I'll move my branch forward  with an optional token override during creation, and with preferring token rather than authz ID during update.
I'm not completely up to speed on how authorizations tie in to UI sessions, so I'm not going to do anything special on my end to handle that at the moment.

I suppose we should require a token to set the authorization, but report back the authorization ID, so that the token isn't exposed on a read operation. Luckily the swagger already has a separate definition for TaskCreateRequest vs a Task.


macOS Safari Dark Mode Please

I'd be happy to help if you tell me what files should be altered. Essentially to add dark-mode flags for Safari to use, so the website's CSS can detect that macOS is in dark mode.
Thanks

Since the redesign we pretty much only have a dark mode now anyway


Created CONTRIBUTING.md

Issue #1
Hello @tamton-aquib , I have created the CONTRIBUTING.md file. Please review it as part of hacktoberfest.

looks good to me, thanks


Debugger fails to load DLLs

Describe the bug
When attempting to start a debug session, the debugger fails to import some DLLs and does not launch.
To Reproduce
Steps to reproduce the behavior:

Select Windows executable in the project, click "Open With" -> "Debugger"
Click "Debugger"->"Debug Executable.exe"-> "In dbgeng locally" (either option), then click "Connect"

Expected behavior
The target is launched and can be debugged.
Screenshots
The error output:

Environment (please complete the following information):

OS: [Windows 10]
Java Version: [JRE 1.8, JDK 15]
Ghidra Version: [10.0 BETA]
Ghidra Origin: [official]

Additional context
dbghelp.dll and ntdll.dll are present on the system.

@Vovix Hi and apologies for the delayed response.  Basically your issue is that system dlls can't be loaded on the fly, i.e. dlls in the Sytem32 folder.  Same issue as #2585.  The easy solution is to download the SDK or the debugging package.  If you prefer not to do that, I'd suggest copying the dbgXxx.dlls out to another location and modifying your path to pull those first.

I do have the windows SDK with windbg installed. Is there something special I need to do for Ghidra to use it?

I tried the "copy it out solution", even with the new location at the top of PATH, it's still trying to load the system32 version. Does Ghidra have its own search path I need to specify somewhere?

Hmmm, good questions.  There's some stuff involved here that honestly I don't completely understand.  The JDK loads it's own version of dbgeng.dll, and that has implication for the other dlls.  Try this - I think this "has to" work although it's certainly not a great solution - take the contents of the windbg/SDK bin directory (the one with dbgeng, dbgmodel, dbghelp, etc) including the subdirs and copy them into C:\Program Files\Amazon Corretto\jdk_11.0.4_10\bin (your path to the the JDK may differ).  Then give it another shot and let me know what happens!

Also, I should mention per comments by @jpoiret the jna.library.path and java.library.path are relevant and might provide a cleaner solution.  We just haven't quite worked out what it should be.

Moving the DLLs to the JDK folder seems to work.

Excellent - will keep you posted if we come up with a better embedded-path solution

Closing this as #3019 essentially covers the same ground.

NB: ping @Vovix if we ever find better resolution


Added coins is not appearing on the coin list after login once close the application.

Steps To Reproduce:

Open the application.
Click on 'Activate Coin' button.
Select a coin [KMD] and click on 'Activate Coin' button.
Enter the 'wallet seed', and click on 'Sign in' button.
Now, click on 'Activate Coin' button on top of the right.
Select another coin and click on 'Activate coin' button.
Logout from the app and then again login with the same seed.
Verify added coins is appearing on the coin list.
Repeat the steps 5, 6 and 7 and verify added wallets is appearing on the coin list.
Now, close the application and again login with the same seed.
Verify the result.

Expected Result:
Added coins should be appeared on the coin list.
Actual Result:
Added coins is not appearing on the coin list after login once close the application.
Please consider the screencast url:
http://www.screencast.com/t/cFgnfza4yV2Q

10.Now, close the application and again login with the same seed.

Totally expected behaviour. Not a bug.


Update MHA docstrings

Update the MHA docstrings to use 4-space indents.
No changes except for spaces and line breaks.

@qlzh727 Thanks! I will check that.

Just checked, the doc website generator can correctly parse 4 spaces. The generated page looks good.


Allow attributes entries to be a dictionary on store to netcdf

Allow an entry in the attrs attribute to be a dictionary when stored to netcdf.
I am not sure if it is not possible to store dicts in netcdf file, but perhaps something similar to a path separator could be used to create a hierarchy.

Sadly NetCDF does not support hierarchical attributes.
One option would be to convert your attributes into a string with repr and then evaluate them using ast.literal_eval. That would at least keep them human readable in the underlying files.
Or you could try pickle, but that won't be compatible across different platforms/netCDF readers.

Yes, or use JSON maybe?
In all cases I don't think that there is something to do on the xarray side...

Thank you, then I will close the suggestion.


feat: pin salesforce dependencies to avoid issue where pandas and numpy get out of sync

[ ] Issue for app:  (will file in the morning)

App pull request

[x] I am improving an existing app (redesigns/code "makeovers")

About

Playground deployment URL (new version): https://dash-playground.plotly.host/dash-salesforce-crm/
Current gallery app URL: https://dash-gallery.plotly.host/dash-salesforce-crm/

Workflow

[x] I have created a branch in the appropriate monorepo, and the
elements necessary for successful deployment are in place.
[x] If the app is a redesigned and/or restyled version of an
existing gallery app, I've summarized the changes requested in the
appropriate Streambed issue and confirm that they have been applied.
[x] If the app is on the Dash Gallery portal, I have added a link to
the GitHub repository for the source code in the portal description.
[x] If the app is a reimplementation of a Python gallery app for the
DashR gallery, the app in this PR mimics, as closely as possible,
the style and functionality of the existing app.=
[x] I have removed all Google Analytics code from the app's
assets/ folder.

The pre-review review
I have addressed all of the following questions:

[x] Does everything in my code serve some purpose? (I have removed
any dead and/or irrelevant code.)
[x] Does everything in my code have a clear purpose? (My code is
readable and, where it isn't, it has been commented appropriately.)]
[x] Am I reinventing the wheel? (I have used appropriate packages to
lessen the volume of code that needs to be maintained.)

Seems like the tests are failing. Is that normal?

This app needs new credentials to start :|
I'm working on fixing that, so I guess this PR can be ignored for now :(


When using v2.1.3 and v2.1.4, after editing a file and clicking save, the plugin gets stuck. About a 25% probability

Which API Provider are you using?
OpenAI Compatible
Which Model are you using?
Claude 3.5 Sonnet
What happened?

It won't happen when reverting to v2.1.1.
Steps to reproduce
Just wait for it to finish writing the file, then click save
After that, you can only restart VSCode or disable the plugin
Relevant API REQUEST output
No response
Additional context
No response

Saw similar issues #694 #644

After this problem recurs, it will be fine for a while after killing all processes of vscode and restarting

i'm having the same and need to resume it then prompting again

Yes I have the same problem, its ok to restart but to not be able to get back to the last task after restart is crazy


[rtl] Randomize dv_srate_value in AST RNG

This commit randomizes the dv_srate_value in
AST RNG model so that the randomness fetched from
AST is different for different simulation seeds.
Signed-off-by: Srikrishna Iyer<EMAIL_ADDRESS>

@tjaychen, @Jacob-Levy - please re-review this PR with the new changes.

@sriyerg Your last change disable the ability to control directly the dv_srate_value which sets the 'srate_value' for OS.
In the real AST the 'srate_value' is set by a register field.
When looking at your code the min=max=value will set the dv_srate_val to a specific value.
Any reason why the original dv_srate_val plusargs can not be set to random range outside? +dv_srate_val=?
This will mimik the real register setting..

This is not a DV file... Please revert to the original dv_srate_value plusearge code and do all the randomization outside. +rng_srate_value=<rand_range> I need to keep this file as close as posible to the real AST.

@Jacob-Levy , weren't you originally okay with the $urandom option? We could certainly keep that stuff under plusarg and ifdef's code.  But are you saying you would prefer this code outside in the TB that then forced a specific net instead of having it here?

@tjaychen I was OK with the change since it looked minor compare to the original code.
The new change force me to review the SRATE logic in the real rng.sv and it looks that we clearly off from what it is.
The minimum SRATE is 20 and when we force it to be much less the ast_pulse_sync fired the ASSERT. I asked @zi-v that we come-up with a min/max value for the OS that reflects the real ASR rng,sv,

@sriyerg Your last change disable the ability to control directly the dv_srate_value which sets the 'srate_value' for OS. In the real AST the 'srate_value' is set by a register field. When looking at your code the min=max=value will set the dv_srate_value to a specific value.
Any reason why the original dv_srate_value plusargs can not be set to random range outside? +dv_srate_value= This will mimik the real register setting..
@tjaychen It is better to randomize the seed_i of the prim_lfsr on each run to get different random values and by controling the dv_srate_value you control the rate of the random bits.
I suggest that the randomization will use the plusargs on the DV side and not in the rng.sv code. It need to stay as close as could be to the real AST.
@zi-v Can you comment about the range of the rng_srate_value? value at reset is: 12'd120.

It's a good idea to randomize seed_i input of prim_lfsr. I thought its initial seed was set via a module parameter. I will make an update for it in the next PR.

@sriyerg There is more to it that making changes to the rng.sv. As I mention before, the file in the OT/OS is not the source. In the OS, the RNG is using TLUL clock for the LFSR and the SRATE, Since it pulls the 4-bit random from the LFSR, the SRATE minimum must be > 4 else you will sample the same bits. For the real AST, the RANDOM generator works much slower and in order not to get the same data, the SRATE minimum must be >= 100. The bottom line, SRATE for the OS can range between 5 to 500 and for the real AST will range between 100 to 500. We need to go back to the original 'rng_srate_value' plusargs and override the value from outside per run. Also, I suggest we add a new plusargs, rng_seed_value, to set the prim_lfsr seed_i port. I attached the modified rng.sv file that you can incorporate in the PR. Also, following is the code I've changed:
///////////////////////////////////////
// RNG Bus using LFSR
///////////////////////////////////////
logic rst_n;
logic[EntropyStreams-1:0] lfsr_val;

assign rst_n = scan_mode_i ? rst_ni : rst_ni && rng_en_i;

// These LFSR parameters have been generated with
// $ ./util/design/gen-lfsr-seed.py --width 64 --seed 15513 --prefix "Rng"
localparam int RngLfsrWidth = 64;
typedef logic [RngLfsrWidth-1:0] rng_lfsr_seed_t;
typedef logic [RngLfsrWidth-1:0][$clog2(RngLfsrWidth)-1:0] rng_lfsr_perm_t;
localparam rng_lfsr_seed_t RndCnstRngLfsrSeedDefault = 64'h1d033d20eed3b14;
localparam rng_lfsr_perm_t RndCnstRngLfsrPermDefault = {
  128'h98c2c94ab5e40420ed73f6c7396cd9e1,
  256'h58c6d7435ddb2ed1f22400c53a5aaa796ef7785e120628fbabc87f0b3928550f
};

rng_lfsr_seed_t rng_lfsr_seed;

prim_lfsr #(
  .LfsrDw ( RngLfsrWidth ),
  .EntropyDw ( 1 ),
  .StateOutDw ( EntropyStreams ),
  .DefaultSeed ( RndCnstRngLfsrSeedDefault ),
  .StatePermEn ( 1'b1 ),
  .StatePerm ( RndCnstRngLfsrPermDefault ),
  .ExtSeedSVA ( 1'b1 )  // ext seed is used
) u_rng_lfsr (
  .clk_i ( clk_i ),
  .rst_ni ( rst_n ),
  .lfsr_en_i ( rng_en_i ),
  .seed_en_i ( 1'b1 ),
  .seed_i ( rng_lfsr_seed ),
  .entropy_i ( 1'b0 ),
  .state_o ( lfsr_val )
);

logic srate_rng_val;
logic [12-1:0] srate_cnt, srate_value;
logic [EntropyStreams-1:0] rng_b;

`ifndef SYNTHESIS
logic [RngLfsrWidth-1:0] dv_seed_value;
logic [12-1:0] dv_srate_value;
int srate_init;

initial begin
  if ( !$value$plusargs("rng_seed_value=%0h", dv_seed_value) ) begin
    dv_seed_value = {$urandom(), $urandom()};
  end
  if ( !$value$plusargs("rng_srate_value=%0d", dv_srate_value) ) begin
    srate_init = $urandom_range(12'd5, 12'd500);  // 4-bit rng_b requier minimum 5 LFSR clock to randomize
    dv_srate_value = srate_init[12-1:0];
  end
end

assign rng_lfsr_seed = dv_seed_value;
assign srate_value   = dv_srate_value;
`else
assign rng_lfsr_seed = RndCnstRngLfsrSeedDefault;
assign srate_value   = 12'd120;
`endif

rng.sv.gz

Thanks @Jacob-Levy. IMO for testing, it is useful to have a tighter range within which the dv_srate_value is randomized in the open source. I can add the following checks to ensure the plusarg is not set incorrectly.
  `ASSERT_I(RngSrateMinCheck, rng_srate_value_min >= 5)
  `ASSERT_I(RngSrateMaxCheck, rng_srate_value_max <= 500)
  `ASSERT_I(RngSrateBoundsCheck, rng_srate_value_max >= rng_srate_value_min)
  dv_srate_value = $urandom_range(rng_srate_value_min, rng_srate_value_max);

Does this satisfy your concern?

This is not a DV file... Please revert to the original dv_srate_value plusearge code and do all the randomization outside. +rng_srate_value=<rand_range> I need to keep this file as close as posible to the real AST.

Don't worry @Jacob-Levy :) I will not merge this PR until everyone is happy.

You don't need two pluseatgs for min and max. The value I wrote are the spec for the OS rng.sv.
Adding a check for the rng_srate_value is OK to make sure if it done externally, the value is within the range. I will add the check to the file.

@tjaychen @sriyerg
I've added the pluseargs 'dv_srate_value' back, cleaned VCS compatibility issues, and also resolved the VCS Lint warnings.
Sending the file on email and also attaching it to the PR.
The real RNG SRATE can not be randomized since its a register field. I need that some of the test will be dirtected by using the 'dv_srate_value' that way on the real RNG it will be replaced with register writes. The real RNG has much more options that need to be programed.

@Jacob-Levy, re-pushed to only have the srate randomization changes. Please review, thanks!

LGTM

Thanks!

Will rebase & update my PR to address only the USB calibrate test.


Share Button on User Profile Page [UI]

Need share button on user profile button. Using that share button a user can share the link to the profile with his/her friends.
The button should be positioned at the top-right (Adjacent to the user image).
You can get idea from Linktree
https://linktr.ee/siddhantdixit
https://project-linkedlist.herokuapp.com/siddhantdixit

can you assign this to me?

pls assign this issue to me


Bug 1795267: Support updating existing clusterrole/clusterrolebindings when install Metering.

When changes are made to the clusterrole and/or clusterrolebinding charts, existing Metering installs can break if existing clusterroles/clusterrolebindings don't have the sufficient permissions to access certain k8s resources that the newer charts do.

/bugzilla refresh

/retest

/lgtm


Allows release templates to store more enum info in ClassDB

Fixes #69532.
This feels like a pretty big change but maybe isn't that big?
It essentially makes release builds contain as much native enum information as debug builds: specifically, it makes it so ClassDB keeps track of native enum names, not just its values. This brings it in line with debug & tool exports.
As per the linked issue, it allows release exports to run the following code:
func navigate(direction: TileSet.CellNeighbor): # This fails in exports as enum names are not recognized.
  pass

func _ready():
  navigate(TileSet.CELL_NEIGHBOR_LEFT_SIDE)

I'd argue that if GDScript typing is meant to be relatively comprehensive and useful, it feels important for enum types to be recognized at runtime.
Possible alternatives
We could do static validation, e.g. in editor. When exporting, we could alter GDScript files so that every datatype which evaluates to enum gets automatically converted to int. But that's another layer for errors to show up in, and the exported code will be different than editor code, which might cause issues for people down the line.

This change doesn't appear to make any difference to stripped release export template binary sizes, which is unexpected.

This change doesn't appear to make any difference to stripped release export template binary sizes, which is unexpected (66,028,672 bytes before and after for x86_64 Linux with LTO).

I believe the difference will happen at runtime, since BIND_ENUM_CONSTANT populates ClassDB once classes get registered. So it's not so much the binary size as it is the memory footprint once it's running! :)

I believe I may have an idea for how to solve this that doesn't require more information stored in ClassDB on the release template, so I'm marking it as draft until I come up with a PR that tries it :)


Now negative and positives buttons text can be specified by props: ca…

Hi @cnjon,
First, let me say thank you for having published this package, it is great!
I would have loved to use it directly, but the Ok and Cancel text are in Chinese. This PR adds the possibility to specify both text passing the props:

cancelText (default: "Cancel")
okText (default: "Ok")

When you have some time could you please have a look to what I've added?
There is no need to say that I am opened to any comments or thoughts.
Thanks again!

@mgtitimoli Thanks!


fil-c2.env note suggestions in FCP deployment documentation

Today, when I deployed fcp on a machine without a GPU, I deployed it according to the documentation, but in the end the ubi task pod could not start normally. Later I found that the environment variables in fil-c2.env needed to be changed.
Since the deployed machine does not have a GPU, fil-c2.env needs to add BELLMAN_NO_GPU=1 instead of using the RUST_GPU_TOOLS_CUSTOM_GPU

Thanks for your feedback. We have fixed the issue in the releases branch, When you receive a CPU task, the BELLMAN_NO_GPU=1 will be set in the fil-c2 task.


moves repeated blog section into template

Addresses issue #551

add 'About Debezium' and 'Get involved' sections into the blog post template, underneath the author block
remove the repeated section from all of the blog post asciidocs

Tested locally, looks good. Just need to place it above the author card to match the current site.

In fact I had suggested to put it below the author card as right now there's no clear boundary between the actual post and that standard "footer". How does it look, perhaps you could attach a screenshot?

@gunnarmorling

sry, I missed reading the complete description of the Github issue. I see that it is something you actually asked for, you can go ahead and merge this @mdrillin

Thanks, so what do you which one is better? Perhaps the two footer paragraphs should be styled slightly different than the main text?

I think it's good to move it below the "About author" card as it's not part of the blog content. Yes, different styling will be great but for now, we can put some blog end marker/separator. wdyt?

Yes, good idea. 👍

Updated the commit to include separator - merging.


Add Platform.isWeb

The kIsWeb constant is the only way to check if the app is running on the web. It would be great if we could recommend something like Platform.isWeb (alongside isLinux, isIOS, etc.)
If it's not possible to achieve in the framework due to #39998 we could consider adding it to package:platform
Related issues:

https://github.com/flutter/flutter/issues/39998
https://github.com/flutter/flutter/issues/41311
https://github.com/google/platform.dart/issues/31

import 'dart:io';
import 'package:flutter/foundation.dart';

extension PlatformHelpers on Platform {
  static bool isWeb => kIsWeb;
}

Of course, if you make it not constant it won't tree shake

Maybe we could add a similar extension somewhere in the SDK? Maybe in https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/foundation/platform.dart?
extension PlatformHelpers on Platform {
  static const bool isWeb = kIsWeb;
}

I think @Hixie and @zanderso have some stronger thoughts than me on extension methods in the SDK.

Concerning kIsWeb, I feel like its implementation is a bit of a code smell.
/// This implementation takes advantage of the fact that JavaScript does not
/// support integers. In this environment, Dart's doubles and ints are
/// backed by the same kind of object. Thus a double `0.0` is identical
/// to an integer `0`. This is not true for Dart code running in AOT or on the
/// VM.
const bool kIsWeb = identical(0, 0.0);

Couldn't conditional imports provide a more robust solution?
It seems like Platform is already using this approach to provide different implementations between VM and Web.
import '_platform_io.dart'
  if (dart.library.html) '_platform_web.dart' as _platform;


Potentially interesting solution to high CPU on macOS, brining it down to 7% when not shown

OS:
macOS Sierra 10.12.2
Issue Descriptions:
The high CPU due to the rendering of the Google Music page is well documented in these bugs, but I have a method in which every time I do it, it solves the high CPU and brings it down to 7%. What I have found is that if I follow the reproduction steps below, it's like it finally realizes it doesn't need to render the window and CPU drops to 7%.
My annoyance is that just closing the Full Window (with the red X, or CMD+W) still consumes the same amount of (high) CPU as if I have the window open. Which in total is ~37% (which eats battery). Even the mini-player (while better) is still pretty bad. Switch to the mini-player via Window -> Mini reduces CPU to 22%. Closing the mini window only reduces it to 11%.
What I hope is that someone understands what goes on behind the scenes on macOS, and can trigger this same situation when we simply click the red X (or CMD+W), regardless of if it is in Full or Mini mode so we can achieve 7% CPU usage when the window is closed.
Steps to Reproduce:

Show GPMDP and put it in Mini Mode, using Window -> Mini
Close the GPMDP with the red x.
The menu should still be in the context of GPMDP, so go to Window -> Full
Then Window -> Mini

CPU will now be super low at 7% (for my Mid 2014 Macbook Pro)

Worked for me

What I hope is that someone understands what goes on behind the scenes on macOS, and can trigger this same situation when we simply click the red X (or CMD+W), regardless of if it is in Full or Mini mode so we can achieve 7% CPU usage when the window is closed.

This sounds like a peculiarity in the Chromium rendering engine (that has probably been fixed elsewhere).  Electron will have a Chromium 54 build shortly that I can generates betas for (I'll post them here for you to try).
Unfortunately the exact order of operations you did isn't doable in code (without the UI flashing all over the place as we simulate actions).  Just need to put some faith in Chromium 54's "efficiency improvements" 👍

Linux workaround: putting GPMDP in Mini mode (Window > Mini Player) then closing the mini window puts the player at 3-5% CPU.

This worked great for me 👍 thanks

Just reporting that I see the same high CPU usage on ubuntu-gnome 16.04.
The CPU goes down closing the GPMDP window (and leaving it playing in the tray/background).
It seems related to a bug (feature??) in displaying the small equalizer animation in the google player  (also web player in chrome has the same "feature")


Error compile OS X

Bug report, debug log and your config file (optional but could be very helpful)
error:
'toIndex' is a private member of 'ImageData'
return _d_ptr->toIndex(x, y);
Steps to reproduce
Im using the same instructions to compile Hyperionng downloading all dependencies with brew.
What is expected?
If I compile hyperiong it works when I try to compile HyperionHDR failed
What is actually happening?
error:
'toIndex' is a private member of 'ImageData'
return _d_ptr->toIndex(x, y);
System

Sorry, OSX is not supported. And there is no USB grabber support for that system anyway (in HyperHDR or Hyperion Ng).
As I don't have any Apple's Mac for developing I'm unable to provide that feature.

Ohh ok thank you


improves contributing.md for PT-BR

Checklist

[x] I ran npm test locally and it passed without errors.
[x] I acknowledge that all my contributions will be made under the project's license.

Description

This fixes #2634
Also fixes some typos
And Improve some translations

Related issues

This fixes #2634

Improving PT-BR translations in contributing.md. Waiting for manual review :smile:

Hi Guys! Any thoughts on this?

up!


Provide intelligence in JSDOC import statements

With TS 2.9 I now can write
/**
 * @typedef {import("./dir/file1").exportedType} typeAlias
 */

We should provide support for completing the file paths parameters for import the same way we do for require.

Thanks. Opened https://github.com/Microsoft/TypeScript/issues/25275 to track this upstream


Duplicate "view and manage work" paragraph

This paragraph:
> You can also view and manage work that you're following from Boards>Work Items and pivot to Following.
Is included twice, once above a screenshot, once below.

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

ID: 50fb5639-2338-9141-1129-682e46676f7f
Version Independent ID: 5002bb9e-5ec3-d773-2843-8b20468d6c69
Content: Track updates by getting notified of changes made to a user story, bug, or other work item or pull request - Azure Boards & Azure Repos
Content Source: docs/boards/work-items/follow-work-items.md
Product: devops
Technology: devops-collab
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@cschleiden - Thank you for the correction. The topic is being updated.


User folders not auto generated on initial install

When I installed the app, it took me a few minutes to figure out that I needed to create a folder inside /public and /private named "samschooler". These folders were not create on install.
Keybase GUI Version: 1.0.9-20160205170011+ce05b7a

Still present in new version. If you use the tray icon and click the folder name it creates the missing folders.
Keybase GUI Version: 1.0.10-20160208170011+01e1c79

This is by design.  The GUI will show the folders for you, but KBFS does not automatically show these folders for you, it is up to you to navigate into them, which "favorites" them and then you'll see them from your account on all your devices.  It's currently our policy not to favorite anything for you automatically.


EVP_DigestVerifyFinal validation is failing always

For me EVP_DigestVerifyFinal validation return 0 even if i validate a fresh license. Please advise on this

It's strange, maybe it's caused by some old version of the library still present on your pc. try to remove any globally installed lccgen version and checkout fresh. EG. check out examples in a clean subfolder.
Operating system and openssl version?
Are you issuing a license in windows and using it in Linux? (we don't have an test for interoperability, even if it should be possible to do this)

inactive for very long time. and no extra info provided. Closing it


Implement proper ratelimiting

Ratelimit the amount of

[ ] All actions (by IP)
[ ] Entry creations (by user)
[ ] Entry edits (by user)
[ ] User account creations (by IP)

Note that when I say "by IP", I mean by hashed (likely SHA256'd) IP address, not directly storing the IP.

I'm implementing this for #3, albeit only for that section. Making note to add this to the web app pages too.