feat : graph agent is added

Payload for Restaurant Ordering System
{
    "agent_config": {
        "agent_name": "A Graph Agent",
        "agent_welcome_message": "Hey!",
        "tasks": [
            {
                "tools_config": {
                    "output": {
                        "provider": "twilio"
                    },
                    "input": {
                        "provider": "twilio"
                    },
                    "synthesizer": {
                        "provider": "deepgram",
                        "stream": true,
                        "caching": true,
                        "provider_config": {
                            "voice": "Asteria",
                            "model": "aura-asteria-en"
                        },
                        "buffer_size": 100.0
                    },
                    "llm_agent": {
                        "agent_flow_type": "streaming",
                        "agent_type": "graph_agent",
                        "llm_config": {
                            "provider": "openai",
                            "model": "gpt-4o-mini",
                            "agent_information": "restaurant ordering system",
                            "nodes": [
                                {
                                    "id": "root",
                                    "content": "Welcome to our restaurant!",
                                    "prompt": "You are an AI assistant for a high-end restaurant. Greet the customer warmly and ask if they're interested in placing an order or inquiring about our catering services for events.",
                                    "edges": [
                                        {"to_node_id": "ordering", "condition": "customer wants to place an order"},
                                        {"to_node_id": "catering", "condition": "customer is interested in catering or events"},
                                        {"to_node_id": "end", "condition": "customer is not interested"}
                                    ]
                                },
                                {
                                    "id": "ordering",
                                    "content": "Let's take your order.",
                                    "prompt": "You're now handling a customer's order. Ask if they want to dine in or take out. Be polite and professional.",
                                    "edges": [
                                        {"to_node_id": "dine_in", "condition": "customer wants to dine in"},
                                        {"to_node_id": "takeout", "condition": "customer wants takeout"},
                                        {"to_node_id": "end", "condition": "customer is not interested"}
                                    ]
                                },
                                {
                                    "id": "dine_in",
                                    "content": "Great, let's find you a table.",
                                    "prompt": "You're handling a dine-in order. Ask about the number of people, any seating preferences, and start taking their food and drink orders. After the user is done with it's order, ask if the order is complete or not",
                                    "edges": [
                                        {"to_node_id": "finalize_order", "condition": "order is complete"},
                                        {"to_node_id": "end", "condition": "customer is not interested"},
                                        {"to_node_id": "takeout", "condition": "customer wants takeout"}
                                    ]
                                },
                                {
                                    "id": "takeout",
                                    "content": "Certainly, let's prepare your takeout order.",
                                    "prompt": "You're handling a takeout order. Ask for the items they want to order, suggest any daily specials or popular takeout items. Inquire about any dietary restrictions or preferences.",
                                    "edges": [
                                        {"to_node_id": "finalize_order", "condition": "order is complete"},
                                        {"to_node_id": "end", "condition": "customer is not interested"}
                                    ]
                                },
                                {
                                    "id": "catering",
                                    "content": "Let's discuss our catering services.",
                                    "prompt": "You're now discussing catering services. Ask about the type of event, number of guests, any theme or dietary requirements. Suggest our popular catering packages and any seasonal specialties.",
                                    "edges": [
                                        {"to_node_id": "finalize_catering", "condition": "catering inquiry is complete"},
                                        {"to_node_id": "end", "condition": "customer is not interested"}
                                    ]
                                },
                                {
                                    "id": "finalize_order",
                                    "content": "Let's confirm your order.",
                                    "prompt": "Summarize the customer's order, confirm all details, and provide the total cost. Ask if they need anything else before finalizing.",
                                    "edges": [
                                        {"to_node_id": "order_confirmed", "condition": "order is confirmed"},
                                        {"to_node_id": "end", "condition": "customer is not interested"}
                                    ]
                                },
                                {
                                    "id": "finalize_catering",
                                    "content": "Let's review your catering request.",
                                    "prompt": "Summarize the catering request, including event details, menu choices, and any special requirements. Provide a cost estimate and ask if they want to proceed with a formal booking.",
                                    "edges": [
                                        {"to_node_id": "order_confirmed", "condition": "order is confirmed"},
                                        {"to_node_id": "end", "condition": "customer is not interested"}
                                    ]
                                },
                                {
                                    "id": "order_confirmed",
                                    "content": "Your order has been confirmed.",
                                    "prompt": "Thank the customer for their order and let them know the estimated time for preparation or delivery. Ask if they need any further assistance.",
                                    "edges": [
                                        {"to_node_id": "end", "condition": "customer is satisfied with the order and don't have anything to talk"},
                                        {"to_node_id": "end", "condition": "customer does not need further assistance"}
                                    ]
                                },
                                {
                                    "id": "end",
                                    "content": "Thank you for contacting us",
                                    "prompt": "Everytime a user wants to end the conversation or the order is completed after all the confirmations, we will send them to this node.",
                                    "edges": []
                                }
                            ],
                            "current_node_id": "root",
                            "context_data": {}
                        }
                    },
                    "transcriber": {
                        "endpointing": 123.0,
                        "stream": true,
                        "provider": "deepgram",
                        "model": "nova2",
                        "language": "en"
                    },
                    "api_tools": null
                },
                "task_config": {
                    "ambient_noise_track": "office-ambience",
                    "hangup_after_LLMCall": false,
                    "hangup_after_silence": 10.0,
                    "ambient_noise": false,
                    "interruption_backoff_period": 0.0,
                    "backchanneling": false,
                    "backchanneling_start_delay": 5.0,
                    "optimize_latency": true,
                    "incremental_delay": 100.0,
                    "call_cancellation_prompt": null,
                    "number_of_words_for_interruption": 3.0,
                    "backchanneling_message_gap": 5.0,
                    "use_fillers": false
                },
                "task_type": "conversation",
                "toolchain": {
                    "execution": "parallel",
                    "pipelines": [
                        [
                            "transcriber",
                            "llm",
                            "synthesizer"
                        ]
                    ]
                }
            }
        ],
        "agent_type": "Lead Qualification"
    },
    "agent_prompts": {
        "task_1": {
            "system_prompt": "You're a helpful assistant that books appointments for people."
        },
        "task_2": {
            "system_prompt": "Extract user's sentiment and get that as sentiment key in a JSON that you respond with."
        },
        "task_3": {
            "system_prompt": "Summarize the user component."
        }
    }
}

Can another person review this pr?

cc. https://github.com/orgs/bolna-ai/projects/2/views/1?pane=issue&itemId=81447223

@AlexM4H, this seems pretty cool! May I suggest adding a section to the README for everyone's benefit?

@vipul-maheshwari , this seems pretty cool! May I suggest adding a section to the README for everyone's benefit?

hey @AlexM4H & @dvillaume this is now merged. We'll be adding the README and bumping up the release versions this week itself.


Internal CV View Cards not taking up whole width of page.

Sample: Internal-CV
What Should Happen: CV "cards" should take up the full width of the page, set to 1200 px in the code.
What Actually Happens: CV "cards" are only showing up as if the cards are stuck into the "gallery" width for default SharePoint "gallery" views.
Is anyone having this problem? It has been working fine for me across a bunch of different lists, but when I opened SharePoint this morning it was not working on any lists nor when I copied my working code (saved in a txt file offline) to new views. The problem must have occurred since Monday, when I last opened the page. I have not changed the code since Monday - I did use the Internal-CV code as a template and edited what I need in, but I wasn't sure why the width of the view has changed since I never edited the general background of the "cards".
See image below:

There is a current issue regarding height and width in galleries, believe is related with your issue.
Link below about issue:
https://github.com/SharePoint/sp-dev-docs/issues/9987#issuecomment-2441053624

Understood - Thank you for your quick response! I'll look forward to the fix coming.


Company - POST - A client with valid token cannot create a company

A client cannot create a company. How to recreate:

log in as a client and get the token
Payload

{
  "firstName": "Client",
  "lastName": "test",
  "email"<EMAIL_ADDRESS>  "password": "**********",
  "role": "Client"
}

create a company:
Token  bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJhNjI0MGEyMi1hMWEwLTQ2NmItOGIxZS00ZmVmMTNlOWZiMGEiLCJlbWFpbCI6ImFiaW9kdW4uYWJ1ZHUrYWdlbmN5K2NsaWVudCt0ZXN0QG5vcm9mZi5ubyIsImlhdCI6MTcwNTMwODQ4MiwiZXhwIjoxNzA1Mzk0ODgyfQ.nbgJLwtvMDwKUbf8onC0SLftv6-sfspySjQSvsCq318
`
Payload

{
  "name": "Tech Agency Inc",
  "sector": "Web Development.",
  "phone":<PHONE_NUMBER>24,
  "logo": "www.tech-agency-inc.com/logo.jpg",
  "admin": "a6240a22-a1a0-466b-8b1e-4fef13e9fb0a"
}

Response from the server

{
    "message": "Invalid authorization token provided, please re-log."
}

Suggestion
I think something is wrong in verifyToken

@chrisbekk can you make this issue a top priority? Team Kolsås needs it sorted out to get started on their work.

@chalund Can confirm that this issue is assigned and prioritized

Actually made a company - needed to make the phonenumber a string:
{
"name": "Holmenkollen Devs",
"sector": "Listings.",
"phone": "+47 12345678",
"logo": "https://www.svgrepo.com/show/448058/logo.svg",
"admin": "1345d9c4-6ceb-40a7-b1d0-32ab3de7033e"
}
This worked.

{   "name": "Tech Agency Inc",   "sector": "Web Development.",   "phone": "+47 12345345",   "logo": "www.tech-agency-inc.com/logo.jpg",   "admin": "804513e4-f68a-4697-861c-15bf694eb4d9" }
Response:
{"message":"Only clients can create listings."}
In company/middleware/checkAuth.js (backend) it seems this code kicks in:
//Check user is allowed to create listings     if (verified.role === "Applicant") {       return res         .status(401)         .json({ message: "Only clients can create listings." });     }
How can we change role for the user?

Will get to work on this issue ASAP. Need to setup some dependencies first.

Also i got the Create new listing to work -- was my bad - used wrong id.

You can create a client user using your postman. See example below:
Url
https://agency-api.noroff.dev/users
Payload
{ "firstName": "Client", "lastName": "test", "email"<EMAIL_ADDRESS>"password": "Password123", "role": "Client" }

But this is logging in with Abi's user? How will a user who has signed up be able to create a company when they get the Applicant role as default?
The way this is structured in the backend it looks like companies are supposed to be created only by admin users.
In company/controllers/createCompany.js there is a check for Admin role:
if (admin !== user.id && user.role !== "Admin") {
    return res
      .status(400)
      .send({ message: "User's Id doesn't match request admin Id." });
  }

Is this error using the main branch or the dev branch which will be more up to date in terms of code?

I have been using only main today, but seems all is working now tho

You can use any mail address and any name - point is to set the role as "Client" to be able to do the company stuff at least - The admin is another matter - I havnt touched that yet. @kimrm

Ah. So when logging in, the frontend can decide the role for the user. That's a bit weird, but okay :)

I am only using postman - Have not been able to log in with a client account @kimrm

I am only using postman - Have not been able to log in with a client account @kimrm

Sorry, I misunderstood. My bad. I didn't know the role could be set when registering the user. This should be in the swagger docs.

@runeunhjem Can you share the working payload for Company POST?

{
  "name": "Holmenkollen Devs",
  "sector": "Listings.",
  "phone": "+47 12345678",
  "logo": "https://www.svgrepo.com/show/448058/logo.svg",
  "admin": "1345d9c4-6ceb-40a7-b1d0-32ab3de7033e"
}

admin is the Client ID
@sulenchy

What's the status here? Will this be kept as it is, or will there be some changes to how a company is created? We are waiting to make some changes to the registration form.
@NoroffFEU/grefsenkollen

I have had no problems creating a client user and company on the main or dev branches when trying to reproduce this error.

I also have a company setup currently running version of the API too.

Some thing to note while trying to reproduce this:

We should remove the admin requirement from the payload as we can get the user id ourselves with the verification token.
If you create a second company with the same user the old company remains and you are removed as admin, leaving companies without admins so a check for existing company is required, or an update to the schema to allow a client to have multiple companies.

There was another one on this and he asked for someone else to look at it, so i have assigned myself to it. Will give it a look now @kimrm @Anclagen
Based on the comments, it looks like something is working, but ofc needs adjustments.

As people are able to create companies I will close this issue as it has spawned various issue that appear to have caused the problem in the first place.


Add link to service files wiki page

Added Systemd section to README.md. Added Systemd to table of contents.

Thanks;

Glad I could help.


samples/pie-customTooltips.html throws a JS error

The sample file samples/pie-customTooltips.html throws a JS error
Uncaught ReferenceError: Chart is not defined
This is because your script include...
<script src="../Chart.js"></script>
Should be...
<script src="../dist/Chart.js"></script>
Screenshot Here

Fixed in commit adc430fc66c7856e048bc26cdedee3f2ced500e0


warpd works when launched from terminal but does not work when executed by sway

The default keybindings suggested in the README and my own keybindings in the sway config file (~/.config/sway/config) cause a mouse cursor to show and then disappear immediately when the keybinding is used.
bindsym $mod+Shift+f exec /usr/local/bin/warpd ‐‐hint
bindsym $mod+Shift+w exec /usr/local/bin/warpd ‐‐normal
bindsym $mod+g exec /usr/local/bin/warpd ‐‐grid
warpd works when run from the terminal and when --oneshot is added to the command in the keybindings
sway.log

New behavior: it runs but only a mouse cursor appears and is not controllable.

It blocks after wl_display_dispatch(wl.dpy); in src/platform/linux/wayland/screen.c

New behavior: getopt_long returns -1 even though argv and argc are set correctly, setting the correct mode_flag manually results in correct behavior.

Fixed: the -- characters in the config were utf-8, causing getopt_long to fail.


Alternatives to deprecated ClientGlobalContext are not (really) explained

Article explains that parent.Xrm won't work outside of a form container. Then what's the alternative for this?

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

ID: 31f2e23f-87e2-62be-f107-08c2e99b97e5
Version Independent ID: 03aa8ec3-a827-95cf-d7cf-f0a014c3484b
Content: GetGlobalContext function and ClientGlobalContext.js.aspx in model-driven apps - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/GetGlobalContext-ClientGlobalContext.js.aspx.md
Service: powerapps
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

@KimBon ClientGlobalContext is not deprecating until Oct 1, 2021, you can still use it. Alternative methods will be available before April 1, 2021. Closing the issue. If you need further help, please reopen the issue or open a new issue.


Add configs for testing environment

Already added here: https://github.com/short-d/short/pull/609


refactor get_appropriate_page_version into CFGOVPage

This is part of an ongoing effort to rid ourselves of global utility functions that should properly be instance methods. This PR refactors get_appropriate_page_version into the root CFGOVPage class and changes the usage of the function to correspond.
Changes

get_appropriate_page_version moved from util to CFGOVPage

Testing

Tests that previous mocked the page and called get_appropriate_page_version on the mock have been changed to use database fixtures. All tests pass.

Review

@rosskarchner @chosak @richaagarwal @willbarton @higs4281

Notes

While working on this, it occurred to me that it's quite weird to use the live and shared properties in the way that we do here. Specifically, we're examining the content_json, which varies between page revisions, but Wagtail's own docs indicate that live and shared are to be interpreted as per page rather than as per version. While this technically works, it results in some confusion because when you load a revision, those two properties are overwritten with the page's value, which means that you can't rely on just reading those values from the returned object, but rather have to parse out the content_json into a dict and then look those things up. This seems like a bit of an abuse of the framework, and we might want to think about adding properties that achieve the functionality we want without hijacking Wagtail terminology for something that it might not be well-suited for.

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍 Agree about the revisions stuff, perhaps a discussion for our next BEWD huddle?

Updated the code to use @chosak's middleware.

If there are no objections, can I merge this?

:shipit: 👍


Rename VersionAvailablity to VersionAvailability

we are missing the 2nd "i" in "Availability"
@deads2k thank you and sorry

after alpha please
/approve
/hold

/hold cancel


Update variables.tf

Description
I've completed a content review and made edits to the instancesvariables.tf file text as part of AHA Epic DAF-299.
This review is related to the following issues:
https://github.ibm.com/GoldenEye/issues/issues/7808
https://github.ibm.com/Bluemix/docs/issues/10671
I have some open questions about the following content before I can provide edits:

Line 91: "Receive platform logs in the provisioned IBM Cloud Logging instance."
Question: The meaning of this description is unclear. Does it mean to “Receive the platform log files from the provisioned IBM Cloud logging instance.” Or, does it mean to “Receive the platform log files that are contained in the provisioned IBM Cloud Logging instance.”?

Line 134: "Receive platform metrics in the provisioned IBM Cloud Monitoring instance."
Question: The meaning of this description is unclear. Does it mean to “Receive the platform metrics from the provisioned IBM Cloud Monitoring instance.”? Or, does it mean to “Receive the platform metrics that are contained in the provisioned IBM Cloud Monitoring instance.”?

Line 187: "Optional list of access tags to be added to the log archive COS bucket."
Question: Is this referring to the “log archive file in the Cloud Object Storage bucket”.? Or to the “log archive Cloud Object Storage bucket.”? Depending on the answer to that question, the edits will be either:
A list of optional access tags to add to the log archive file in the Cloud Object Storage bucket.

OR

A list of optional access tags to add to the log archive Cloud Object Storage bucket.

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

Checklist for reviewers

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

For mergers

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

Please find the response to your questions:

Line 91: "Receive platform logs in the provisioned IBM Cloud Logging instance."
Question: The meaning of this description is unclear. Does it mean to “Receive the platform log files from the provisioned IBM Cloud logging instance.” Or, does it mean to “Receive the platform log files that are contained in the provisioned IBM Cloud Logging instance.”?

It means that if this variable is set to true, then the platform logs will be collected by the provisioned IBM Cloud Logging instance.

Line 134: "Receive platform metrics in the provisioned IBM Cloud Monitoring instance."
Question: The meaning of this description is unclear. Does it mean to “Receive the platform metrics from the provisioned IBM Cloud Monitoring instance.”? Or, does it mean to “Receive the platform metrics that are contained in the provisioned IBM Cloud Monitoring instance.”?

Same as before. If this variable is set to true, then the platform metrics will be collected by the provisioned IBM Cloud Monitoring instance.

Line 187: "Optional list of access tags to be added to the log archive COS bucket."
Question: Is this referring to the “log archive file in the Cloud Object Storage bucket”.? Or to the “log archive Cloud Object Storage bucket.”? Depending on the answer to that question, the edits will be either:
A list of optional access tags to add to the log archive file in the Cloud Object Storage bucket.

OR

A list of optional access tags to add to the log archive Cloud Object Storage bucket.

It refers to the log archive Cloud Object Storage bucket. so your second suggestion is fine.

Please find the response to your questions:

Line 91: "Receive platform logs in the provisioned IBM Cloud Logging instance."
Question: The meaning of this description is unclear. Does it mean to “Receive the platform log files from the provisioned IBM Cloud logging instance.” Or, does it mean to “Receive the platform log files that are contained in the provisioned IBM Cloud Logging instance.”?

It means that if this variable is set to true, then the platform logs will be collected by the provisioned IBM Cloud Logging instance.

Line 134: "Receive platform metrics in the provisioned IBM Cloud Monitoring instance."
Question: The meaning of this description is unclear. Does it mean to “Receive the platform metrics from the provisioned IBM Cloud Monitoring instance.”? Or, does it mean to “Receive the platform metrics that are contained in the provisioned IBM Cloud Monitoring instance.”?

Same as before. If this variable is set to true, then the platform metrics will be collected by the provisioned IBM Cloud Monitoring instance.

Line 187: "Optional list of access tags to be added to the log archive COS bucket."
Question: Is this referring to the “log archive file in the Cloud Object Storage bucket”.? Or to the “log archive Cloud Object Storage bucket.”? Depending on the answer to that question, the edits will be either:
A list of optional access tags to add to the log archive file in the Cloud Object Storage bucket.

>    OR
>
A list of optional access tags to add to the log archive Cloud Object Storage bucket.

It refers to the log archive Cloud Object Storage bucket. so your second suggestion is fine.

Thanks, I've added the edits for this content to the file in this PR.

@SirSpidey , just added two minor suggestions. Rest all looks good to me. Thanks.

@maheshwarishikha updated at_cos_target_bucket_name. Can you review again and approve? Thanks.

/run pipeline

/run pipeline

@maheshwarishikha all set for final approval now?

@ocofaigh or @iamar7 ready to merge.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.8.2 :tada:
The release is available on:

GitHub release
v1.8.2

Your semantic-release bot :package::rocket:


Crashes on Server Startup

I tried adding this mod and crashes with a class not found exception for version 0.6 and 0.7.
Will link logs for both.
https://drive.google.com/open?id=13ieRMsrmL9B-8zhOtIt36DGo20OfU_vr
Thanks for the help

test 0.8 version and see whether this issue still exist

Ver 0.8 works on both server and client side thanks.
Next issue would be the a crash with optifine when that chunk is loaded.
The Crash-Log in the the initial google drive link.
Other than that I played it without shaders for a bit and loved the mod


Bluetooth Device Name may be null

Before filing an issue please check that the issue is not already addressed by the following:

Github Issues
Changelog

Please ensure that you are not sharing any
Personally Identifiable Information(PII)
or sensitive account information (API keys, credentials, etc.) when reporting an issue.

Describe the bug
The BluetoothDeviceWrapperImpl gets the name of the Bluetooth device by pulling it from the Android BluetoothDevice class by calling its getName() method. However, this method can possibly return null, causing an IllegalStateException to be thrown and a crash in the app using the library.
To Reproduce
Steps to reproduce the behavior:

Inside BluetoothDeviceWrapperImpl, device.name is called
There are three places in the Java method getName() where a null String could be returned
Replicate this behavior with the debugger by modifying the name variable of the getName() method in the Android BluetoothDevice class to be null
IllegalStateException is thrown

Expected behavior
This field should be nullable or given a default name value if it cannot be found.
Screenshots
If applicable, add screenshots to help explain your problem.
Android Device (please complete the following information):

Device: Pixel 3a
API Version: API 29

Version

Version: 0.1.2

Additional context
Add any other context about the problem here.

Hi @cyodrew . Thanks for filing this issue! We'll address this bug and respond here once it has been resolved.

@cyodrew Resolved this issue in pr #23 and cut a new pre release 0.1.3. Thanks again for reporting this issue!


Types inside of definitions not generated for nbformat jsonschema

Hi there @jimblackler ! This is a really cool project. I was trying to generate java types around Jupyter's nbformat.v4.schema.json. While generation succeeded, it seems that none of the types inside of definitions were generated, and the cell type which contains any of raw_cell, markdown_cell, or code_cell instead generated as generic JSONObjects.
Any idea why this might be? I've attached the generated java from your online sample

Hi, thanks a lot for the report. It seems at least that it gives up at 'cell', caused by oneOf that it doesn't attempt to handle.
    "cell": {
      "type": "object",
      "oneOf": [
        {"$ref": "#/definitions/raw_cell"},
        {"$ref": "#/definitions/markdown_cell"},
        {"$ref": "#/definitions/code_cell"}
      ]
    },

The reason I don't handle oneOf, anyOf and allOf is that these keywords cause a sudden huge leap in the complexity of translating from the validation spec to a formal language structure. They can describe potential data forms that don't have an obvious counterpart in languages like Java.
It's possible that something could be designed for case of a schema consisting of only oneOf. The problem is that a client would have to actually validate the object to understand which of the (in this case three) schemas defined the object.
I'll have a think about it, but I can't think of anything practical at the moment.

Hi Jim! Thanks for getting back to me. Your explanation makes sense. One compromise that still might make sense would be to not expand the oneOf but to still generate all the types inside of definitions. Then at least we could manually do checks and instantiate the types when we encounter a oneOf. What do you think?


[cli] Type Error on Drawer + Tabs template for React Navigation

Expected Behavior
No type errors
Current Behavior

Possible Solution
No idea
Steps to Reproduce

npx create-expo-stack@next my-app --react-navigation --drawer+tabs (can use any package manager)
Open newly generated project in code editor
Navigate to file ./src/navigation/drawer-navigator.tsx lines 27 and 28

Context (Environment)
Node v20.10.0
npm v10.2.3

@danstepanov Thank you for handling the rest of the tasks, much appreciated, Let me fix this one

@asapMaki for sure, also going to edit the commit adding drawer + tabs to be attributed to you, just way too tired atm, will do before release, thanks for your contributions!

First official open source commit 🚀  Thank you and your team for the welcoming experience


Name of window title bar is not updated after jumping to a different file via a local link

What is the problem
When I click on a link pointing to a local file, then the name of the title bar stays the same. It has still the name of the file which was opened at the start.
How to reproduce it
Folder setup
root.md
some_folder/other_file.md

Content of the root.md
# Root

[other](./some_folder/other_file.md)

Content of the file "other_file.md".
# Other file

Go into such a folder setup and then execute the following command
inlyne root.md

I see the following

When click on the "other" in blue as a local link.
Then I see the following

As can be seen here, the title bar still says "root.md". That is not right in my view.
Log output after clicking onto the local link "other"
2024-09-14T01:05:03.043501Z  INFO inlyne::file_watcher: Updating file watcher path: some_folder/other_file.md

Expected behavior
The title bar should show relative path in respect to the initially opened file. In this concrete example, that would be "some_folder/other_file.md".

I am willing to fix this by myself if that is okay.
If I can do it, should I do it after the release v0.5 ?

Id be more than happy if you want to give fixing it a go. No need to wait or anything, it just may be a bit before the change is released

Closing this as already addressed by #274


Setting value to DD/MM/YYYY does not work

My model returns data in dd/mm/yyyy format. Passing this value of ember-pikaday does not work and the input is blank.
{{#each parent.child_list as |child index|}}
  ...
  {{pikaday-input firstDay=0 format="DD/MM/YYYY" yearRange="2010,currentYear" name="child_dob[]" id=(concat 'child_dob-' index) value=child.dob placeholder="hh/bb/tttt"}}
  ...
{{/each}}

The child.dob value looks something like this 18/07/2017. I even try to put a static value in there and the result is the same. It works when i changed it into 07/18/2017 (mm/dd/yyyy).

Could you replicate this in https://ember-twiddle.com/?

This is definitely the case. It switches to american values

Ok, I figured out why.
You're passing 18/07/2017 as value, but the addon can't know that your date is already DD/MM/YYYY formated so the switch is applied.
If you pass 07/18/2017 (en) as value and the DD/MM/YYYY you'll get the date you were looking for.

if you do moment('18-07-2018').format('DD-MM-YYYY') you'll get 07-18-2018


Redirect 403's to login if not logged in

Closes #106

Maybe redirect with a next parameter so that after login in, the user is redirected?


Localdev doc

Thanks for the pull request Omendra it looks well structured and clear to me. The only things that are still missing are:

The setup for MacOS
Removing overlapping parts from other Readmes.

Thanks for the pull request Omendra it looks well structured and clear to me. The only things that are still missing are:

The setup for MacOS
Removing overlapping/redundant parts from other Readmes

Could you still add this?

Yes, I will add the parts and also remove the duplicate content in nested folders.

Structure of README should be improved: apply proper heading levels per section.

@RubenGeo I have made the changes according to the comments.


[MINOR][SQL] Remove out-of-dated comment in CollectLimitExec

What changes were proposed in this pull request?

This patch removes an out-of-dated code comment that was added by #35975.
Why are the changes needed?

Removed out-of-dated comment to reduce misunderstanding and confusion.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing test
Was this patch authored or co-authored using generative AI tooling?

No

Merged into master for Spark 4.0. Thanks @viirya @HyukjinKwon


Update NoirJS tutorial in docs

### Prerequisites
- [ ] https://github.com/noir-lang/tiny-noirjs-app/issues/4

Update the https://noir-lang.org/docs/tutorials/noirjs_app doc page per the changes in https://github.com/noir-lang/noir/pull/4769.

On second read:
@signorecello should we update the https://noir-lang.org/docs/tutorials/noirjs_app page without updating the example itself, or could we count on @noir-lang/developerrelations to update both in one go?

expected docs

Also verifyProof now takes in proof and verificationKey, instead of regenerating they verification key every time.
Adapted from the E2E test in the PR:
// Import
import { BarretenbergVerifier as Verifier } from '@noir-lang/backend_barretenberg';

// Generate vkey
const verificationKey = await backend.getVerificationKey();

// Verify proof
const verifier = new Verifier();
const isValid = await verifier.verifyProof(proof, verificationKey);


Add fee rate 10th percentile to blockinfo endpoint

Add fee_rate_percentile.fr_10th to blockinfo

Why only the 10th percentile? We could consider allowing all of them.
Just out of interest, what are you building with this?

Why only the 10th percentile? We could consider allowing all of them.
Just out of interest, what are you building with this?

I am looking for the lowest fee that was included in a block and min_fee_rate seems unreliable. I will be using the low fee rate to trigger a dynamic inscription.  I can add all 5 percentiles later today if you think it's worth doing all at once.

As part of the strict backwards compatibility requirements for recursive endpoints we can only add fields, never remove or change an existing one. So I think adding all of them into one field makes sense here.

@raphjaph ok I added feerate_percentiles, does this look correct to you?


Mod desires Java 21 and crashes on versions that were made for java 17

the mod page claims it's for 1.18 to 1.21 but only 1.21 uses java 21, whereass 1.20.1 uses java 17. Despite that, the mod wants the latest java and crashes the instance.

for now, the solution is to just use java 21. i can't seem to get a java 17 support without rewriting half the mods at the moment.


Removed queryParameters from Request extension

Address #86
I left in the URLQueryParameterEncoder and extensions because while they are no longer part of the request, I think they're still helpful when generating URLs.

Codecov Report

Merging #90 into master will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #90      +/-   ##
=========================================
+ Coverage   94.37%   94.5%   +0.12%
=========================================
  Files          46      46
  Lines        1512    1510       -2
=========================================
  Hits         1427    1427
+ Misses         85      83       -2

Impacted Files
Coverage Δ

Sources/Hyperspace/Request/Request.swift
88.23% <ø> (+2.52%)
:arrow_up:

Continue to review full report at Codecov.

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


Issue 290

Corrected text attribute in .gitattributes.  Unfortunately, adequate testing in Windows environment requires merging with master, so that local core.autocrlf rule is overridden.

I decided this needs further work before merging to master,


LSP missing tokens: pub struct entire block

Unable to access span information for pub struct entire block

Not 100% sure what happened here. When I run the above code I can see that we are in fact collecting all of the tokens.

I think we should be able to close this issue unless there is something i'm missing?

I've worked out what happened here. This struct definition is happening in the following test.
"test/src/e2e_vm_tests/test_programs/should_pass/language/dependencies" and is located with src/inner/bar.sw.
As this dependency is never imported into the project then this code never passes dead code analysis. As such, none of these tokens make it into the AST so we aren't able to collect them in the language server.
This is the same way rust-analyzer works so I don't think any changes need to happen. Closing this issue as solved.


Deal with Safari's inability to download multiple files

Safari has a known feature that doesn't allow it to download multiple files.
Possible solutions:

prepare a zip file containing multiple files
if Safari is detected, present some obvious warning about export not functioning
I've seen some reports suggesting that if the downloads are separated by ~ 1 sec, then things work (untested)
add a menu item for each individual file
??

In any case, it shouldn't be possible to build an entire schedule in Safari and then to noticed that you can't export.

What is the use case for a separate download of the non-teaching schedule?  Should we just stop doing that?
In any case, we should test this on Safari before we get chairs who cannot save their work.

Compressing to a zip would be best since the other ones are most hacky. Many websites go the zip approach. Hopefully, that can be down in the browser, or then we have to introduce a third-party service. Either a function we host somewhere, or a SaaS platform.

If we need multiple files, that could be a good way to go.  If we can get by with a single file, then just downloading it makes it easier to locate and reimport later.


This Mod crashed with OptiFine

This Mod crashed with OptiFine HD U G2 Pre-4 in Minecraft Java Edition

Should be fixed in 0.19


File format not supported! Error on Kali Linux

running the script I get the "File format not supported!" error with both File and Terminal options. The images are .JPG and/or .PNG
Anyone else getting this error?

.PNG requires a different implementation. Only .jpg, and .tiff are supported for the current script. I will update it to add .png, and .heic formats. But the current script is clear on the support.

I see, but then why would I still get the error with .JPG files?


Expose parameters to requests methods

This proposed change would resolve any issues similar to issue #17 .
Description: Include a dictionary of configuration for parameters to requests methods. This allows configuring HTTP requests for environments where the nominatum or overpass api requires 2-way SSL or basic authentication. More details on what keyword arguments are available and how they're configured is available in the requests documentation for advanced usage.
Example Usage:
import osmnx as ox
requests_config = {}
requests_config ['auth'] = ('username', 'password')
requests_config ['cert'] = '/path/to/cert'
requests_config ['verify'] = '/path/to/CA/'
osmnx.config(requests_config=requests_config )

I think request_kwargs makes a lot of sense.  I can make this change once I'm back from travel.  No access to dev environment until Sunday.


[GAPRINDASHVILI] Update translations for g update

Up-to-date translations for next Gaprindashvili update release.

@mzazrivec quick question...  available_languages.json lists 9 languages, but this only update only effects 5, were there no other changes for the other languages? (nl, ko, pt-PT, zh-TW)

@AllenBW TBH, I don't know if other languages were updated. This week I got a message from translators that those 5 languages that I'm adding here were updated to 100% -- hence this pull request (i.e. this PR will keep those 5 languages at 100% for next gaprindashvili update release).
I don't object to adding other languages to gaprindashvili update, though these languages probably won't be 100% translated.


Update transitive reference to Cryptography.Pkcs library

This is a fix to update the transitive reference of System.Security.Cryptography.Pkcs to 6.0.3 to mitigate CVE-2023-29331. By default, the version pulled in is 6.0.1 which contains this vulnerability and causes Aqua Trivy to scan the *.deps.json and raise this error.

Any update on this?

Hey @tonyqus , should there be a 2.6.3 version to address this security advisory?


Updated for materialize-css ^1.0.0

Any chance this is going to be merged? There is a bug in the current version of materialize-css v0.100.X that makes selects (and apparently datepickers) not work. That was fixed in v1.0.0.

Any chance this is going to be merged? There is a bug in the current version of materialize-css v0.100.X that makes selects (and apparently datepickers) not work. That was fixed in v1.0.0.

having that same problem over here, looks like this repo is abandoned, any other solutions for this?

@jelkinsiv @alex-bluetrain
I found a work around for the issue you're having cause I had it too.
Here is my custom fix. It won't work for you out of the box, but you should be able to read the code and understand what is happening. Then modify it or run it manually to fix the issue.
`/**

So Chrome-73 introduced a bug with materialize-css. It introduced a race-condition in which the date-picker would

open and immediately close - repeatedly with no way to fix it. The developers of materialize published a fix on

github, but have not published the fix to node package manager (npm). I find it unlikey they will do so since

v. 0.100.2 is soon to be deprecated. We are forced to stick with this version until angular2-materialize supports

the newest version of materialize-css. This function fixes the dependency with the chrome-73 bug
*/
(function () {
'use strict';
const gulpfile = require('../../server-src/node_modules/gulp');
const clean = require('../../server-src/node_modules/gulp-clean');
const execSync = require('child_process').execSync;
let silent = false;
for (let j = 0; j < process.argv.length; j++) {
if(process.argv[j] === '--silent')
silent = true;
}
if(!silent)
console.log('Starting task [Fix Dependencies - Materialize]');
execSync(
'git clone --quiet https://github.com/Dogfalo/materialize.git' + // clone the repo
' && ' +
'cd materialize' + // move into repo
// ' && ' +
// 'git checkout master' + // could checkout master, but no guarantee the source will work
' && ' +
'git checkout --quiet e3eb698a07fec1d3111c1786bf502f0225bdfbda' + // checkout latest working build for us
' && ' +
'npm install --silent -g grunt-cli' + // ensure grunt-cli is installed
' && ' +
'npm install --silent' + // install local packages
' && ' +
'grunt release' + // build materialize files
' && ' +
'cd ..' // move out of repo
);
// move css files
gulpfile
.src('./materialize/dist/css/**')
.pipe(gulpfile.dest('../../angular-src/node_modules/materialize-css/dist/css/'));
// move javascript files
gulpfile
.src('./materialize/dist/js/**')
.pipe(gulpfile.dest('../../angular-src/node_modules/materialize-css/dist/js/'));
// delete source
gulpfile
.src('./materialize', { read: false, allowEmpty: true })
.pipe(clean({ force: true }));
if(!silent)
console.log('Finished task [Fix Dependencies - Materialize]');
})();`

How it works:
git clone --quiet https://github.com/Dogfalo/materialize.git
Clones the materialize git
git checkout --quiet e3eb698a07fec1d3111c1786bf502f0225bdfbda
Checks out the commit that fixes the chrome bug
npm install --silent -g grunt-cli
Downloads the build process that builds materialize
npm install --silent
Installs the necessary packages to build
grunt release
Builds the materialize packages.
Then the gulp functions move the built code to the node_modules.
*** NOTE: This node application only works with Node version 8. It does not work with any Node version greater than 8. For some reason, doing a git clone using execSync in Node v10 and greater, causes an exception to be thrown.


Live 12/16/19

Docs Build status updates of commit a8c7b28:
:warning: Validation status: warnings

File
Status
Preview URL
Details

documentation/blog/MS-WININTBLOGLP/1c6d3013-6a8c-4f1a-ab50-b1fd1912212c.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/25276e5b-1a04-41cc-b117-1e5b796c8b06.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/291aa134-7719-489a-b5c7-7382bab44f89.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/35d3e0d4-caeb-4385-8f63-fdf9b6fc51cc.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/3b874ab2-3c7c-4df4-87ee-b406ea4a7523.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/3df5ff1f-7a73-45b5-afd8-d01ffd0b6954.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/53b99f95-5895-4a48-95a9-c050acfdf1d5.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/5cfec726-c7bd-4301-9390-247b42e303cd.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/6183f838-c21e-4c44-a5bb-1a84e1864c2e.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/6344e692-0783-4f0a-bb97-5a07b9167286.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/666a7dfe-d4a4-4598-9008-64fd4616a2fd.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/68ab5fe5-08a1-4426-af41-9a20380624a6.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/734a1e39-4616-4ed7-b2cd-766c25d382c4.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/73707139-6e59-4c86-b811-50156dda7b0f.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/740649c2-4844-4708-a8be-b99349cf7dc2.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/78cac927-9d24-479e-bec5-22730ddb8ec2.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/795d2018-0c7f-41f2-9ea2-1d486a612c1c.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/7fa9eb87-5b32-48aa-a7fb-450822b6724c.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/7fd3a492-31dd-4e3d-a3f4-d2828a479f1b.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/81cbb832-8bf1-4e68-b46a-7fdb371ddf6b.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/85b7a488-abe7-4c28-a5bf-62d8147b0dd1.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/886f2fa7-6648-4409-8785-f34e7057b832.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/8f3cb384-16a5-43e0-ac87-55333b6207c3.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/8f87919b-e389-4179-9a79-29a6dcd8c370.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/90071ec6-eba9-48f8-9b48-d249ab4d571a.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/91797b07-3a66-488c-9334-5023638c4c87.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/9cc8f4e4-a43f-4950-b8dc-1488d1e9c437.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/9d07f988-a5a3-4fe7-9a08-3c512a9c2702.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/a02d5abb-ca0d-4a95-ae5d-cb226d77bd51.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/ad7103c7-9155-4cd8-a835-f3ecccdd21db.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/ae5965ad-0b09-4cd3-b547-42eddc9487d9.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/b46eb6ad-96bd-4d3b-80ef-b4cac490e3b2.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/b63a48de-091f-488a-86a6-b9417f239438.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/bd8bc249-4851-4e41-a28b-df419ba03df1.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/bfd44192-3959-4399-93da-6743118fc460.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/c0ef7a9c-8b8f-4ffa-881a-cb13a8ed462e.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/cd4f7d76-4e2c-4bf1-b563-984254d4e294.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/dca7dea1-a862-4168-9a26-c912bde96b58.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/dd26f4ec-267d-48f9-813e-01bd6d091acb.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/dd98b93c-0a75-4eb0-b92e-e760c502394f.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/f1812ab3-d00a-41e1-9e60-b8a3da0cda9a.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/f31bc0ae-67bd-41de-8124-b27f78a68a54.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/f388589c-fcc0-4e88-a109-8b5783f8e431.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/f6bc5f7d-6b3f-441d-9de1-4994329aeff9.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/fec43e4c-01ce-4da2-9b28-8efa907e734e.md
:warning:Warning

Details

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image001.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image002.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image003.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image004.png
:white_check_mark:Succeeded

documentation/blog/MS-WININTBLOGLP/MS-WININTBLOGLP_files/image005.png
:white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request.

documentation/blog/MS-WININTBLOGLP/1c6d3013-6a8c-4f1a-ab50-b1fd1912212c.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/25276e5b-1a04-41cc-b117-1e5b796c8b06.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/291aa134-7719-489a-b5c7-7382bab44f89.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/35d3e0d4-caeb-4385-8f63-fdf9b6fc51cc.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/3b874ab2-3c7c-4df4-87ee-b406ea4a7523.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/3df5ff1f-7a73-45b5-afd8-d01ffd0b6954.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/53b99f95-5895-4a48-95a9-c050acfdf1d5.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/5cfec726-c7bd-4301-9390-247b42e303cd.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/6183f838-c21e-4c44-a5bb-1a84e1864c2e.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/6344e692-0783-4f0a-bb97-5a07b9167286.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/666a7dfe-d4a4-4598-9008-64fd4616a2fd.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/68ab5fe5-08a1-4426-af41-9a20380624a6.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/734a1e39-4616-4ed7-b2cd-766c25d382c4.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/73707139-6e59-4c86-b811-50156dda7b0f.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/740649c2-4844-4708-a8be-b99349cf7dc2.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/78cac927-9d24-479e-bec5-22730ddb8ec2.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/795d2018-0c7f-41f2-9ea2-1d486a612c1c.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/7fa9eb87-5b32-48aa-a7fb-450822b6724c.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/7fd3a492-31dd-4e3d-a3f4-d2828a479f1b.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/81cbb832-8bf1-4e68-b46a-7fdb371ddf6b.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/85b7a488-abe7-4c28-a5bf-62d8147b0dd1.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/886f2fa7-6648-4409-8785-f34e7057b832.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/8f3cb384-16a5-43e0-ac87-55333b6207c3.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/8f87919b-e389-4179-9a79-29a6dcd8c370.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/90071ec6-eba9-48f8-9b48-d249ab4d571a.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/91797b07-3a66-488c-9334-5023638c4c87.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/9cc8f4e4-a43f-4950-b8dc-1488d1e9c437.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/9d07f988-a5a3-4fe7-9a08-3c512a9c2702.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/a02d5abb-ca0d-4a95-ae5d-cb226d77bd51.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/ad7103c7-9155-4cd8-a835-f3ecccdd21db.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/ae5965ad-0b09-4cd3-b547-42eddc9487d9.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/b46eb6ad-96bd-4d3b-80ef-b4cac490e3b2.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/b63a48de-091f-488a-86a6-b9417f239438.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/bd8bc249-4851-4e41-a28b-df419ba03df1.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/bfd44192-3959-4399-93da-6743118fc460.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/c0ef7a9c-8b8f-4ffa-881a-cb13a8ed462e.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/cd4f7d76-4e2c-4bf1-b563-984254d4e294.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/dca7dea1-a862-4168-9a26-c912bde96b58.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/dd26f4ec-267d-48f9-813e-01bd6d091acb.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/dd98b93c-0a75-4eb0-b92e-e760c502394f.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/f1812ab3-d00a-41e1-9e60-b8a3da0cda9a.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/f31bc0ae-67bd-41de-8124-b27f78a68a54.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/f388589c-fcc0-4e88-a109-8b5783f8e431.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/f6bc5f7d-6b3f-441d-9de1-4994329aeff9.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

documentation/blog/MS-WININTBLOGLP/fec43e4c-01ce-4da2-9b28-8efa907e734e.md

[Warning] Author openspecs-office cannot be recognized in GitHub.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


When sending LTC received invalid address message

Prerequisites
Expected Behavior
When sending LTC valid address should be recognized.
Current Behavior
Attempted to send LTC and received message : address is invalid.
Used web wallet and transaction went through without issue.
Steps to Reproduce

Attempt to send LTC to :  LXhPifw9GmSd8EApLixzrvm8qJNSP9wRAd
should see red message saying address invalid

Possible Solution

Your Environment - Release Version (skip if not using a release version)

ASGARDEX desktop version:
0.3.3
Operating system and version:
windows 8

Your Environment - Development Version (skip if not using a development version)

Node version:

Yarn version:

Branch:

Operating system and version:

i also saw this when sending LTC in asgardex, had to use thorswap instead to send LTC only then did it work.

@mcbee08 Thanks for reporting this issue, it will be fixed in #1544 and published with next release v0.3.3


MSDKUI-2236: Update version number

Signed-off-by: Tadeusz Staszak<EMAIL_ADDRESS>

Codecov Report

Merging #172 into master will decrease coverage by 0.12%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #172      +/-   ##
============================================
- Coverage     73.73%   73.60%   -0.13%
+ Complexity     1626      985     -641
============================================
  Files           129       69      -60
  Lines          5711     3952    -1759
  Branches        820      442     -378
============================================
- Hits           4211     2909    -1302
+ Misses          912      798     -114
+ Partials        588      245     -343

Impacted Files
Coverage Δ
Complexity Δ

...ava/com/here/msdkui/routing/TruckOptionsPanel.java
75.89% <0.00%> (-1.79%)
33.00% <0.00%> (-1.00%)

...m/here/msdkuiapp/guidance/GuidanceDashBoardView.kt

...e/msdkuiapp/routing/RoutingInstructionsFragment.kt

.../main/java/com/here/msdkuiapp/base/BaseActivity.kt

...e/msdkuiapp/guidance/GuidanceSpeedLimitFragment.kt

...dkuiapp/guidance/GuidanceRouteSelectionActivity.kt

...m/here/msdkuiapp/guidance/GuidanceSpeedFragment.kt

...om/here/msdkuiapp/routing/RoutePlannerPresenter.kt

...p/common/mapselection/WaypointSelectionFragment.kt

...rc/main/java/com/here/msdkuiapp/common/Provider.kt

... and 51 more

Continue to review full report at Codecov.

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


Broken compatibility with pytest<7 (pytest.Parser type annotation)

The parser annotation in plugin.py introduced in 10.0 does not work with pytest 6. https://github.com/pytest-dev/pytest-testinfra/blob/dc48cd98f3b1970ecbad63f866a94f8283b79ce4/testinfra/plugin.py#L40
pytest.Parser is only available from pytest 7.0.0
>>> from testinfra import plugin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/testinfra/plugin.py", line 40, in <module>
    def pytest_addoption(parser: pytest.Parser) -> None:
AttributeError: module 'pytest' has no attribute 'Parser'

While specifying minimal pytest version would be a solution, I would rather recommend finding another solution, as RHEL-9/Alma Linux 9/CentOS Stream 9 are running pytest 6 (and Python 3.9).
I'd be happy to help with finding a solution, should you decide to keep pytest 6 compatibility.

It's possible to use the future annotations features Plus and conditional TYPE_CHECKING imports to sidestep this
Since those old pytest versions are unmaintained it's best if someone affected steps up for changing this
There's need for feedback form the primary maintainers as they are well within reason to just set requires-python

I think we should require pytest>=7 then and maybe document how to install testinfra within a virtualenv or with pipx.

Since those old pytest versions are unmaintained it's best if someone affected steps up for changing this

Well, pytest 6 is maintained in the enterprise linux world.
Allow me to explain the Fedora packaing as best I can:
pytest-testinfra is being packaged in Fedora, incl. EPEL(extra packagers for enterprise linux).
CentOS Stream 8 builds will end this year in May, allowing Fedora Python projects packagers to only focus on EPEL9, which generally do not require changes from the Fedora versions.
I'm looking into refactoring the rpm packaging with the latest testinfra version in mind now, which is how I found the issue in the first place. (I'm not the maintainer, just contributing). And I believe this one line with type annotation is preventing the el9 package from being built. It would be a shame if the rpm version would have to include patches instead of using upstream sources 'as is'.
I'd be happy to step-up! :) Unless there is a fundamental incompability with pytest 6.2. Will try to run some tests later on.

There's need for feedback form the primary maintainers as they are well within reason to just set requires-python

Required minimal python is already 3.9 here afaik.

So it was indeed only one future annotations import in the plugin.py.
[unrelated] I've also noticed flake8 check is broken on Python 3.12. Will take a look later. Hopefully there are no objections against using ruff :)

I'd like to make it abundantly clear that pytest 6 is upstream eol

Nobody says otherwise.

Open source projects in general can't be expected to pay the enterprise tax

I mean, there is no minimal pytest version set here currently, so what tax are you talking about? :)
That said, it makes perfect sense to require pytest>=7, I just thought it would be cool to have parity with EPEL9 rpm (and let people use pytest6 if they wish so for whatever reason)


Compress images with TinyPNG

Compresses the logo and application screenshot using TinyPNG, saving about 512KB in total.

I assume this is lossless compression? If so, seems good.

TinyPNG uses smart lossy compression techniques to reduce the file size of your WEBP, JPEG and PNG files. By selectively decreasing the number of colors in the image, fewer bytes are required to store the data. The effect is nearly invisible but it makes a very large difference in file size!


Can objects float in a world?

I noticed that density is a parameters and I want to make objects that float, however I cannot figure out how to assign a global density to the world - only to objects.
I noticed I could set reverse gravity, but I only want some objects to float, not all of them.

I've actually just worked on this problem. I kind of cheated, because I used a simple tween with setPostion to make floating items float to the top of the water plane. (The water plane is just an arbitrary Y value.) Here's what my code looks like:
let applyBouyancy = body => {
        let waterPlaneY = 100;
        let vy = body.position.y - waterPlaneY;
        let distanceBetweenBodyAndWaterPlane = Math.sqrt(vy * vy);
        let force = 0.000008;
        if (distanceBetweenBodyAndWaterPlane < 100) {
          body.timeScale = 1;
        } else {
         body.timeScale = 0.2;
       }
        MATTER.Body.applyForce(body, body.position, {
          x: 0,
          y: -distanceBetweenBodyAndWaterPlane * force //-0.0007//-0.00055
        });
      };

      if (this.bodiesInWater.length > 0) {
        this.bodiesInWater.forEach(body => {
          //Make the floating items float
          if (body.canFloat) {
            applyBouyancy(body);
          }
        });
      }

The other trick was that I used the body.timeScale property to slow the bodies down when they are in the water, to simulate viscosity.
It's not a perfect simulation, but it looks quite realistic and is good enough for my needs at the moment.

That's neat!
Since density is a simulation parameter, what is it used for? Just collisions with other bodies?
Have you tried changing the air resistance of the bodies for viscosity?

Air resistance might work too... I didn't think of that! 😄
Yes, changing density could work. I just ran into a complex situation where it was difficult to control floating/sinking of each body because their densities varied with their size. So large plastics that should float would sink, and small metals that should sink, would float. With a bit more time I'm sure I could fine-tune an accurate simulation, but I found just giving all the bodies the same mass, regardless of size, produces very consistent results. Not accurate, but easy and it works.

I modified your solution to simply apply a small force to each bubble that I tuned it so they're just a little buoyant. I also applied air resistance and it looks pretty convincing I think.
let circ = matter.Bodies.circle(
      this.box.position.x,
      this.box.position.y,
      40,
      { frictionAir: .05 }
    );
  matter.Events.on(this.engine, "beforeUpdate", ()=>{
      matter.Body.applyForce(circ, circ.position, { x: 0, y: -0.0015*4 });
    });


Source maps is missed in npm package

Sorry, looks like I just tried to import build/Release/native_metrics.map


Supersdes #639 - Handles action sequence update. Adds unit tests.

Added handler for action sequence update.
Add unit tests: creating sequence, adding parameters, changing sequence, changing kind.
PG 156.

Merged as https://github.com/openwhisk/openwhisk/compare/005a027b6e75...8ff36cd5dbcc.


Enterprise deployment

Description
This pull request includes a guide on how to have Chatterino migrated to an MSIX package, the more modern packaging standard for Microsoft Windows and it's mass deployment on an larger, automated, enterprise scale.

@Leppunen

I think this would fit better as a wiki page


Getting list of points without repetition

I see that there is no method to obtain the point cloud, i.e, all the vertices in the mesh without repetition. Currently I am doing this brute force, checking through all points. Is there an efficient way or am I missing a method?

I found the solution. After getting all the vertices like so
all_points=numpy.row_stack((my_mesh.v0,my_mesh.v1,my_mesh.v2))
use the unique function on the vertex tuples.
unique_points=np.unique(all_points,axis=0)

Good to hear :)


[request] ZeroConf/mdns networking - avahi

It'd be great to be able to visit http://stratux.local or something to reach the webui, rather than http://<IP_ADDRESS>. Could we add mdns support? I've done it on other raspberry pi units I've built before.
sudo apt-get update
sudo apt-get install libnss-mdns
sudo hostname stratux

We could, but we'd lose the ability to use cellular internet when connected to stratux.

Ah. Damn.
On Fri, Jan 29, 2016 at 12:05 cyoung<EMAIL_ADDRESS>wrote:

We could, but we'd lose the ability to use cellular internet when
connected to stratux.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/225#issuecomment-176947016.

Well, unless you can think of a way to have the DHCP clients configured with an internal DNS server and somehow switch between that and cell service DNS - forward packets, or setting a primary/secondary type setup. That's the challenge.

I'll poke around. Maybe I can finally contribute some actual code to the project. :) This sort of thing is vaguely in my wheelhouse.

Discussed on slack, but for the record: I set up avahi-daemon on my 0.5b5 build yesterday, changed hostname to stratux, and was able to both reach the internet and http://stratux.local from my iPhone.
Haven't tested on a cellular iPad as I don't have one. I'll be able to test Android monday morning.

Thanks for putting it on the record here. I got an invite to Slack but I find it hard enough to keep up with everything monitoring this and the reddit forum. I fear that, with three forums now, some things are bound to drop thru the cracks and not be reported/published in the more public/open forums.

It should help make it easier to selectively keep up with things - less chat here.

We may want to make this an option - it seems to flat-out not work with Android. I can do a little more investigation around how android devices support mdns, but for now it seems like the short answer is "they don't".

Still need better options here.


Remove the limit used to decided if a group canvas must be upscaled or not

It fixes issues #14982 and #14724.
The main problem of upscaling a canvas is that it can induces some pixelation (see issue #14724). So this patch is just removing the limit and as a side effect it fixes issue #14982.
As far as I can tell, in looking different profiles (especially some memory profile) in using the Firefox profiler, I don't see any noticeable difference in term of memory use.

/botio test

/botio-linux preview

/botio makeref


Implement cuDF

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
Use the cuDF Pandas implementation for doing Structured Data predictions
📝 Additional Context
No response
Acknowledgements

[X] My issue title is concise and descriptive.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

Hi @homanp ! I came across this issue due to the cudf.pandas reference (I work on this and other RAPIDS projects).
It would be very cool if cudf.pandas could improve the responsiveness of AI applications that use larger datasets with pandas. Happy to try to help answer any questions that might come up if you or anyone else explores this.

Hi @homanp ! I came across this issue due to the cudf.pandas reference (I work on this and other RAPIDS projects).
It would be very cool if cudf.pandas could improve the responsiveness of Superagent AI applications that use larger datasets with pandas. Happy to try to help answer any questions that might come up if you or anyone else explores this.

Amazing @beckernick! The question for me right now is How to run cuDF on our cloud platform. What is best practice for that?  We are currently running on Render.com and they don't support GPUs. Any ideas here?

@beckernick Any good ideas here would be wonderful!

I'm not well versed in Render, but cuDF will require a GPU at runtime. The nice thing about cudf.pandas is that you don't need to preemptively write your code for the GPU, though.
If users can run on a GPU at execution time, they'd be able to take advantage of cudf.pandas by creating an environment or using a container that includes cuDF and activating it from either the command line (python -m cudf.pandas script.py), in Ipython/Notebook (%load_ext cudf.pandas), or in their actual code if easier (import cudf.pandas; cudf.pandas.install()).
Would any of those fit with the Superagent user experience?

I'm not well versed in Render, but cuDF will require a GPU at runtime. The nice thing about cudf.pandas is that you don't need to preemptively write your code for the GPU, though.
If users can run on a GPU at execution time, they'd be able to take advantage of cudf.pandas by creating an environment or using a container that includes cuDF and activating it from either the command line (python -m cudf.pandas script.py), in Ipython/Notebook (%load_ext cudf.pandas), or in their actual code if easier (import cudf.pandas; cudf.pandas.install()).
Would any of those fit with the Superagent user experience?

Intas thinking of running a seperate micro service that will run outside of Render with a GPU connected. Just wondering if you have any recommendations on where that micro service should be ran?!

As long as the platform has an NVIDIA GPU, it should be possible to run anywhere.
If the microservice is going to run the pandas code generated from create_pandas_dataframe_agent in the StructuredDatasourceTool, having the microservice colocated with where the data generally exists may make sense.


Fix typo, improve punctuation, and enforce consistency.

Commas were added and removed where there was impact to readability.
Wording changes were made with the same intention.
Mutation inputs using id: ID! were converted to collectionId: ID! to conform with other inputs in examples.
Note - I tried to stick to edits impacting consistency and ease of understanding, and I tried to avoid making any stylistic changes. Please kick me good if I've failed.

Thank you 🎉


Retrieving a Descriptor Value - BluetoothGattDescriptor getValue() returns null object from test.js fff1 descriptor value

Hi Sandeep,
Excellent code / BLE implementation.  One issue that I have found is calling the Descriptor Value.  Using your test.js  programme the fff1 characteristic has a descriptor uudi set as "2901" and a value as "user description".  In my Android programme that communicates with the BLE device (running the test.js) I can access the UUID using the standard getUuid() method (from the BluetoothGattDescriptor class), however the value set in test.js is not accessible using the getValue() method (https://developer.android.com/reference/android/bluetooth/BluetoothGattDescriptor.html#getValue()).
I'm just wondering if this is an issue you have come across?
Many thanks
Graham

@GrahamHorne I haven't use the BLE API's on Android too much. Maybe @don has some tips.
I would suggest you try it with the "nRF Master Control" Android application, just to make sure it can read it.

I'm closing this due to lack of activity.


Test Stencil output React Components

Test the Stencil react output components to check if they are ready for use.

Duplicate of https://github.com/trimble-oss/modus/issues/299


Add support for exposing Prometheus metrics endpoint

This PR will add a /metrics endpoint to KubeClarity. It needs to be enabled with a config value, with a default of not being enabled.
In order to expose metrics from KubeClarity to Prometheus, you need to enable
the endpoint by setting the environment variable PROMETHEUS_REFRESH_INTERVAL_SECONDS
to value larger than zero, for instance 300 which means that the Prometheus endpoint will get updated values every 5 minutes.
KubeClarity uses healthz for readiness / liveness, and as the metrics is added with http.Handle("/metrics", promhttp.Handler()), this will make it live on port 8081.
I have added an Alertmanager example, and a Grafana dashboard.

This PR will close #63

Local trouble made me drop the fork. I'll get it recreated shortly.


When filtering, subcases below the specified one are skipped.

Description
If you filter for a subcase which contains subcases itself, these sub-subcases are not executed. Is this intended behavior and if so why? To me this seems unexpected, since if you run without any filtering the outer subcase is never run without its inner subcases (if there are any). I always found this reasonable to enable "value parameterized tests" by defining the values in subcases.
Thanks for the framework!
Steps to reproduce
TEST_CASE("foo") {
	SUBCASE("bar") {
		int i{};
		SUBCASE("baz") {
			i = 42;
		}
		CHECK(i == 42);
	}
}

test.exe -sc=bar
TEST CASE:  foo
  bar

C:\...\test.cpp:138: ERROR: CHECK( i == 42 ) is NOT correct!
  values: CHECK( 0 == 42 )

Extra information

doctest version: 2.4.6
Operating System: Windows/MSYS
Compiler+version: gcc 10.3.0, clang 12.0.0, visual 16.6.0

The way to execute the nested subcases as well is by using the --subcase-filter-levels=1 command line flag - meaning that filtering should not happen for anything deeper than 1 in this case.
This isn't optimal at all - the framework should indeed behave the way you said it but I didn't figure out how to make it so people can pass subcase paths for multiple levels of nesting - what should the delimiter & encoding be?
So consider this example:
TEST_CASE("foo") {
	SUBCASE("bar") {
		int i{};
		SUBCASE("baz") {
			i = 42;
			SUBCASE("inner") {
				MESSAGE("this should be printed!");
			}
		}
		SUBCASE("skipme") {
			MESSAGE("skipme");
		}
		CHECK(i == 42);
	}
}

The only way to enter both bar and baz and everything that's nested in baz but to skip the bottom subcase is this: -sc=bar,baz -scfl=2 - and that's not intuitive/easy at all...

I agree that this unexpected.
What I find even more surprising is that subcases mutate their parent scope. The nested subcase baz sets i = 42, which is then checked in the parent subcase bar, which then pass because i was mutated in the child subcase!
Not sure if this is the intended behavior, I think both these issues needs to be documented better.
Fix is probably non-trivial, and might even be breaking downstream consumers so it should be considered carefully.

What I find even more surprising is that subcases mutate their parent scope.

I think that specific part is fine - I mean maybe it's bad practice, but this is C++ anyway and we can shoot ourselves in the foot in so many ways! :D
But I agree that subcase filtering is non-intuitive and needs better documentation


Unable to expand services nodes for attached accounts with name and key using HTTP

Storage Explorer Version: 1.5.0
Platform/OS Version: Windows 10/ MacOS High Sierra/ Linux Ubuntu 16.04
Architecture: ia32
Build Number: 20181127.2
Commit: 71a17300
Regression From: Not a regression
Steps to Reproduce:

Choose one GPV2 account -> Attach it with key and name.
Key: raUzzv+OExzxlz0G6h7m4PvpETc3DZhVZicmZF2Zs9RfYHnp7Ggcs3H42PyK2L/qvupsX1K813iI8lyVSWY6Aw==
Account Name: lclyan
Check "Use HTTP" on 'Connect with Name and Key' dialog when adding the account info -> 'Connect'.
Expand 'Local & Attached' -> Storage Accounts -> The attached account -> Blob Containers node.

Expected Experience:
Blob Containers node expanded well.
Actual Experience:
Unable to expand the Blob Containers node and pop up an error dialog.

More Info:

This issue reproduces for File Shares/ Queues/Tables node under the same account.
This issue reproduces for StorageV1 & Premium & Blob storage account.
This issue doesn't reproduce for Classic account.

The error message is pretty actionable. I don't believe the ARM services support http connections.


YJIT-Metrics CI Benchmarking: Benchmark at 2022-01-06-191247 is significantly slower than the one before (2022-01-06-071016)!

Error running benchmark CI job on Linux ip-172-31-8-3 5.8.0-1038-aws #40~20.04.1-Ubuntu SMP Thu Jun 17 13:25:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux:

Latest failing benchmark: blog_speed_details_2022-01-06-191247.tripwires.json
Compared to previous benchmark: blog_speed_details_2022-01-06-071016.tripwires.json

Failing benchmark names: ["liquid-render"]

Failure details:

[
  {
    "benchmark": "liquid-render",
    "current_mean":<PHONE_NUMBER>1408873,
    "second_current_mean":<PHONE_NUMBER>837107,
    "current_stddev": 2.9417523647104153,
    "current_rsd_pct": 2.3164478983957855,
    "second_current_stddev": 2.8405257811237017,
    "second_current_rsd_pct": 2.425356498762286
  }
]

Looking into liquid-render now...


SPI bidirection mode support

When interfacing with single wire half-duplex SPI devices such as the TLE5012 magnetic sensor, we should enable bidirection mode as shown in "25.3.4 Configuring the SPI for half-duplex communication" of STM32F1 reference manual. Mainly, BIDIMODE bit of CR1 should be set high, and BIDIOE bit should be set according to transfer direction. Is it possible for the HAL to support this?

In f4xx-hal it is done using advanced BIDI generic marker. See https://github.com/stm32-rs/stm32f4xx-hal/blob/910163d4d0e2b64091e15a72667fb1273e49a1c2/src/spi.rs#L172
You could improve API making similar PR.


Sorting out #271

…ome reason we get some dublicate rows

Codecov Report

Merging #273 (ee5cf20) into main (54cb5f6) will decrease coverage by 8.02%.
The diff coverage is 50.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #273      +/-   ##
==========================================
- Coverage   83.61%   75.59%   -8.02%
==========================================
  Files          75       69       -6
  Lines        1745     1684      -61
==========================================
- Hits         1459     1273     -186
- Misses        286      411     +125

Files Changed
Coverage Δ

src/evaluation/evaluate.jl
76.92% <0.00%> (-0.44%)
:arrow_down:

src/evaluation/benchmark.jl
94.36% <100.00%> (-0.31%)
:arrow_down:

... and 35 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Install Data Viewer dependencies using the DebuggerEvaluator

From: #10638
After: #10640

Enable installing pandas on the DebuggerEvaluator version of the dataViewerDependencyService by using the code underneath %pip and %conda in iPython.

Completely remove the usage of the interpreter from the dataViewerDependencyService.
If pandas needs to be installed (either because it's not yet installed or because the version is inadequate), show a prompt message saying that You may need to restart the debugger after the installation is complete.

Closing this for now and leaving the main issue open,
Note: This falls in dependency installer


how to get events before subscription?

Hi, I really like the idea of this project and plan to use it in a small project. But how to handle the following scenario:
The app fetches user info on app starts. There's some component relies on the user info to render. But this component mounts after the fetch user info event fires. So far as I tried, I found the component only subscribes to future events but not the past.
Is there any way to solve this problem other than storing user info to some global store?

sorry i dont quite get what do you mean subscribes past event. if you want to control the display of a component, it sounds like a toggle state to me.
userinfo? :

or i could be wrong understanding you question. in that case can you make a example?

for example:
@connect((intent$)=>{
  return {
    add: () => ({type: 'add'})
  }
})
class Example extends React.Component {
  componentDidMount() {
    this.props.actions.add();
    this.props.actions.add();
    this.props.actions.add();
    setTimeout(() => this.setState({
      show: true
    }, () => {
      this.props.actions.add();
      this.props.actions.add();
      this.props.actions.add();
    }), 2000);
  }
  render() {
    return (

        <Count />
        {this.state.show ? <Count/> : null}

    )
  }
}

@connect((intent$) => {
  return {
    countSink$: intent$.filter(x => x.type === 'add').map(intent => state => ({
      count: state.count + 1;
    })
  }
})
class Count extends Component {
  render() {
    return
{this.props.count}

  }
}

These 2 Count components will render different count number. But I wonder if theres any way that two Count Components shows the same count number.
Or I put it in this way: Is there anything like the replay api in rxjs for react-most?

ah, I got what you mean here, replay maybe probably multicast in most(but probably won't work here). but the current behavior actually make sense to me, if the component if not mount yet, it means two components will subscribe the stream at different time, all the actions will not go though that component. this is why FRP should be descriptive programming, not imperative.
also the 2 Count are actually 2 different components with different states. if you really want to sync this two components, probably need to move the state outside of Count, pass the state as data to Count

I think this feature matters because it is common that app fetches user info on start, but many components mount after user info fetching have to use the user info.
The connect decorator is executed upon import and the view is independent of the data. Therefore, I think it's possible and maybe more reasonable that all the components decorated by connect subscribe the streams upon app start. Or maybe 2 streams, 1 since app start, the other after component mounts, so that we can use react-most to handle all the work of state management.

if you see a react component as a function, it won't be called until it's mount
if a function is not called, why it should subscribe to a stream and react to you actions?
map(intent => state => ({
      count: state.count + 1;
    }

the problem here is not subscribe, react-most map intent and state to new state, it's pure without any side effect, at this point if you want to sync the initial state with other Counter, that make things unreasonable to me though. instead it should be data, not state.
I'm still confusing about your use case, yes a lot of components will mount after user info is fetched, but why should those component react to the actions you made before fetching user info? should they only care what user do after your login?

Well, I'm thinking of using react-most only to manage of the states, which includes the initial state and other global information. I think it is capable of taking the place of redux. If components can't get information before they mount, we still need other mechanism like redux, or context to provide all the necessary data for components.
if we see a react component as a function, it won't be called until it's mount, but the connect function is called once imported. I fell it more intuitive that once connect function is called, it subscribes to the stream.

I fell it more intuitive that once connect function is called, it subscribes to the stream
no, all code here is descriptive,  you can see connect accepted a function, connect is call doesn't mean that function(which does the subscription) will be called immediately. connect means wrap you component definition to a HOC, not creating a Component, everthing happen lazily once you call it
like <Count />


Open neovim at the same cursor position as vscode

I love the simplicity of this extension. I tried two other that didn't work before finding yours. One simple quality of life improvement would be opening neovim at the same location in the file.

Thank you! I will check and post a new version of the plugin soon.
I also tried to find a way to write a command that would close the terminal and return to the file being edited in vs code, but I was unable to write such a command.


Add Save Changes feature on file close attempts

Closing a file that has not been saved already gives you a prompt to ignore map changes or to cancel the close attempt. It seems strange to me that direct Save functionality is not in this prompt as well.

I actually had a Save button here, but it was slightly more confusing to have 3 buttons instead of 2. I will give that another try :)

I went for a more straightforward prompt question. Works better imho:


Change default Offset to R::Offset

This lets users use the default more often.

Coverage remained the same at 86.53% when pulling 04bce750f3bbf81eb74a1b0ac10b65daf06f3059 on philipc:offsets into 2c7fcfee8035fe6787c166191fdd8d38bf1d9f35 on gimli-rs:master.


ESTIMATE .. ORDER BY is slow

On the satellites bdb:
http://probcomp.csail.mit.edu/bayesdb/analyses/satellites-2015-09-18-axch.bdb

The following command is very slow:
ESTIMATE Purpose, PREDICTIVE PROBABILITY OF Purpose AS pp FROM satellites_cc ORDER BY pp

This does not fix the problem:
SELECT * FROM (ESTIMATE Purpose, PREDICTIVE PROBABILITY OF Purpose AS pp FROM satellites_cc) ORDER BY pp

This is a workaround:
CREATE TEMP TABLE tt AS ESTIMATE Purpose, PREDICTIVE PROBABILITY OF Purpose AS pp FROM satellites_cc
SELECT * FROM tt ORDER BY pp
DROP TABLE tt

This is because sqlite3 inexplicably evaluates (the SQL expression to which bayeslite compiles) PREDICTIVE PROBABILITY OF purpose twice.  I briefly investigated and couldn't find an obvious reason or way to avoid this.  Maybe sqlite3 just assumes evaluating expressions is cheap, and evaluating queries is expensive, so prefers re-evaluating expressions over having more complex queries and intermediate results.  Maybe there's a way to tell it otherwise.
The sqlite3 library function sqlite3_create_function (and its friends) allows one to specify a flag SQLITE_DETERMINISTIC which the documentation says 'enables additional optimizations', with random as a canonical example of where this flag is inappropriate.  One might think that omitting this flag would prevent multiple evaluation -- but evidently not, because the Python sqlite3 module does not pass it for the Connection.create_function method (nor, indeed, does it appear in apsw).

The workaround you found, using CREATE TEMP TABLE, is the one we've been using, and should perhaps be suggested somewhere.

Where is a good place to suggest this? In fact, we should suggest it prominently, perhaps an info() log to the user when starting what might be a computation that would benefit from this?
Is there a way to automate splitting the query this way, and creating the temp table ourselves, or is that query-planning-complete?

I meant it should perhaps be suggested in the documentation somewhere.
In principle, it is not hard for the compiler to detect certain cases of this and transform it into a nested query.  Formalizing the transformation to identify and cover all relevant cases may take a little more work.
Logging a message about it is unlikely to be helpful because if we could automatically detect it and instruct the user to use a temporary table explicitly, then we might as well just do that automatically and not bother the user with a message.


Match default laravel config better. Main reason it to user using php…

Hi
I wanted to rather use phpredis over predis.
But there was no env variable to allow this.
So I've gone over what a default install database config looks like and added any of the missing settings.
Though I've left it so that predis is still the default. But you can now override it with.
REDIS_CLIENT

I've done the same for the app.php config.
I've also published trustedproxy.php and added an env variable to set this.
This is needed if you are running behind a proxy providing https and you are hitting http.

Added missing symlink from ./public/storage to ../storage/app/public
This fixed the missing files for links like this /storage/themes/February2018/mFajn4fwpGFXzI1UsNH6.png

@timhaak Thanks man! This is great! Doing a quick check now to make sure everything is still working with this PR. I'll do a check in the next 15 min. and get back to you.
Appreciate the PR 😉

Excellent!
Merging in. Thanks @timhaak


[Request]: Show iOS user known device model names

Plugin
device_info_plus
Use case
Currently on iOS plugin can't show user-known or commercial (not sure the correct word for it) device model. What I mean is that user of the plugin won't see something like iPhone 15 Pro Max or iPad Air 5th generation, etc.
There are 2 properties for device model name available:

https://pub.dev/documentation/device_info_plus/latest/device_info_plus/IosDeviceInfo/model.html
https://pub.dev/documentation/device_info_plus/latest/device_info_plus/IosUtsname/machine.html
However, both of these params can't return model name like those that users got used to see.

There was a related question last year: #2225
Proposal
Considering adding https://github.com/devicekit/DeviceKit as a dependency in iOS part of the plugin and add a new property called something like commercialModel (or whichever suits better to indicate which type of device model name it is.
DeviceKit has this code that should help us with getting the required property: https://stackoverflow.com/a/26962452/7339798
After looking more at that repo I feel like we even could use more of features available in DeviceKit for plugin's functionality.

Looks pretty straightforward and would make the world a better place for us humans :)


feat: Layerup Security integration

Description: adds integration with Layerup Security. Docs can be found here. Integrates directly with our TypeScript SDK.
Note: all methods for our product require a paid API key, so I only included 1 test which checks for an invalid API key response. I have tested extensively locally.
Twitter handle: @layerup_

Thanks, see comments and don't forget to run yarn format + yarn lint

Thanks for your patience! Small typing issue, I would fix but I can't make edits here.

Seems like you need to run yarn again to update the lockfile
I am happy to polish this up if you give me push access to the branch

Seems like you need to run yarn again to update the lockfile
I am happy to polish this up if you give me push access to the branch

I tried this but it didn't do anything. Added you to the repo!

I think there's something wrong with the SDK types:
Error: @langchain/community:build: ../../node_modules/@layerup/layerup-security/types.ts(1,44): error TS2307: Cannot find module 'openai/resources' or its corresponding type declarations.

@jacoblee93 Looks like some parts of the repo had the @layerup/layerup-security SDK on version 1.5.6, which had a types import bug for OpenAI. I just bumped the remaining imports from 1.5.6 to 1.5.9 which should fix the issue.

Still failing with:
Cannot find module 'openai/resources' or its corresponding type declarations.

You should also run yarn to update the lockfile if you update an SDK version

Thank you!


Test using end-to-end using simulators

Just want to get a small feedback on the setup. Is there any recommendation/suggestion to have the test run using virtualized  environment (replacing Over-The-Air setups with simulators).

Yes, it’s possible. You have to use the docker compose files which have zmq words in file name


N1QL/SQL++ Pretty Print / Format

SQL++ can get big need a why to understand the query better.
Check out this JS library to format SQL string to pretty print version.
PS. Already has support for N1QL
https://github.com/sql-formatter-org/sql-formatter

Hey, thanks, found this formatter to be pretty good, have updated it to use this.


Website down ?

Cant access the official .org Website. Is it down ?
THANKS !

Thanks for the heads-up. Technical glitch on the domain registrar's service. I will be looking into using a difference service when it's time to renew in a few months. Should be fixed now.


Gtk.ListBox  should be iterable

In GJS, it seems to be iterable. Might also be useful to know which other types are iterable.
See https://github.com/workbenchdev/demos/blob/3d05940216e007b4b3681d8a8d620d5aedcf73fb/src/Drag and Drop/main.js#L12

I asked which types are known to be iterable in the GNOME JavaScript channel on Matrix, and I got a response from ptomato:

the iterable types are ones that explicitly have a [Symbol.iterator] method added in modules/core/overrides/*.js. we try to use that sparingly because depending on the type, it can be deceptively more expensive than it looks.

From a quick look, I found the following iterable types:

Gio.ListStore
Gio.FileEnumerator (also has an [Symbol.asyncIterator])
Gtk.Widget

Relatedly, Gio.InputStream has createSyncIterator and createAsyncIterator: documentation

Hello @vixalien thanks for the issues, I am currently developing my own GNOME application in TypeScript in my limited free time to do the complete process to the finished application myself. As soon as I have a little more time or have finished the first release, I will concentrate more on ts-for-gir again