PRO-168: dev command

What do you thing of generating a docker-compose config ? It would allow to use nginx as the reverse proxy, and to be able to monitor the logs of all of the launched micros.

What do you thing of generating a docker-compose config, and having space dev be an alias for docker-compose up ? It would allow to use nginx as the reverse proxy, and to be able to monitor the logs of all of the launched micros. The env could also be passed from an .env file, and there would not be any port collision possible.

This would require devs to have docker/docker-compose installed though right? Ideally no additional setup is required apart from installing the Space CLI to be able to use space dev. We want the experience to be as simple as possible.
What you are talking about might make more sense as a community maintained project/add-on.

I feel like this will hardly be true in practice. For example running python micros will require to have unicorn or another asgi runner installed.

I feel like this will hardly be true in practice. For example running python micros will require to have unicorn or another asgi runner installed, and some micros might event install some additional requirements in the command array.

But you will likely already have them installed if you are building an app with a Python micro. The command is more intended for devs to be able to easily develop their own Space app by automatically generating the right keys so they can use Base and Drive and partially emulating the Space environment to some extent.
Allowing others to run the app locally to be able to contribute is a separate issue which could be solved by a combination of using Docker and the Space CLI. The CLI could handle the keys while docker handles running the application for example.

I feel like these two issues are linked, but I get that docker might introduce some frictions for developpers.
Btw is there a way to generate a project key from the UI ?

Btw is there a way to generate a project key from the deta.space website ?

Project keys no longer exist, you need to use data keys instead. To generate a data key for a project go to the "Develop" page and then the "Data" tab. We are aware that keys are confusing at the moment and are working on simplifying it as well as updating the documentation of the SDKs.

Make senses, I was actually mostly confused by the deta.space doc: https://deta.space/docs/en/basics/data#developing-with-base-and-drive

i feel we could provide both options. a lightweight space dev and a docker-backed space dev full...

I agree that their should be an options to run the project locally. However I don't think that grouping all of the micros in a single command is the right way to go.
What do you think of autogenerating tasks files for common ides (ex: vscode, intellij, neovim) ? It would allow to have the output of each micros in a separate terminal.

What do you think of autogenerating tasks files for common ides (ex: vscode tasks) ? It would allow to have the output of each micros in a separate terminal, and a good dev experience.

Again this could be useful, but I don't think it makes sense for this to be the default space dev experience. The command should be fully independent of the dev's IDE and other dependencies.

However I don't think that grouping all of the micros in a single command is the right way to go.

Why not? Is the main concern combining the logs?

Yes, at least you should have a way to discriminate beetween the logs of multiple micros.

I feel like the user should be able to launch each micros separately, or even just launch the reverse proxy.

I like the idea of launching Micros separately as the pieces for it are already there and I could see it being useful when integrating with other workflows.
What would be a use case of running the reverse proxy separately?

Basically it would allow the user reproduce the space dev command, but better integrate it with it's workflow.
If I take the vscode tasks example:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "micro 1",
            "command": "space micro start <micro-1>"
        },
        {
            "label": "micro 2",
            "command": "space micro start <micro-2>"
        },
        {
            "label": "Space Dev",
            "command": "space rproxy",
            "dependsOn": [
                "micro 1",
                "micro 2"
            ]
        }
    ]
}

I have experimented a bit with deta-dev, and I'm quite close to a working solution (see: https://github.com/pomdtr/space-dev).
However my proxy is too simplistic, so it does not work for application that reference their own assets (ex: next apps).


Fonts broken in storybook mode

Both icons and our typefaces

Kinda brings me back to an issue I brought up a few days ago....how do people feel about keeping this repo as strictly client-side components (instead of trying to export apps from here as well).

I think we should talk about that in a retrospective once we've shipped the first loyalty pages.

This got fixed in #97.


Swift support?

Any chance we can get Swift support in this library?

RestKit already supports swift, as long as you use ObjC classes and dynamic properties.


Provide an nginx config for reverse proxy setup

Add an nginx config to http://rethinkdb.com/docs/security/.

I think we have this by now on the "securing a cluster" page.


Feature request: add --external-chat switch to allow Aider to receive individual messages written in a custom text editor

Issue
Description
The --external-chat <text_editor_path> switch would allow Aider to receive individual message written in a custom text editor.

The --external-chat switch alone would imply reading the path to the text editor from the AIDER_CHAT_EDITOR environment variable.
When typing /architect, /ask or /code without any message attached to it, Aider opens a temporary text file in the message editor that the user has selected as their preferred message editor.
Once this is done, Aider waits for the user to type a custom message in the message editor, save it to the aforementioned temporary text file, and finally close the editor. When Aider detects that the user has closed the editor process, it reads the content of the temporary text file and uses it to send the chat message content.
Aider will try to perform all necessary cleanup steps, such as deleting the temporary text file.
The only requirement for the program to work properly is that the chosen message editor must open the temporary file in a blocking mode, which allows us to detect when the process of the editor that opened the temporary file is closed.

Small python example. Set AIDER_CHAT_EDITOR environment variable to the chosen text editor:
import os
import subprocess
import tempfile
import shlex
import shutil
from pathlib import Path

def get_editor_input():
    msg_editor = os.environ.get('AIDER_CHAT_EDITOR')
    if not msg_editor:
        print("No message editor set to AIDER_CHAT_EDITOR.")
        return None

    msg_editor_cmd = shlex.split(msg_editor)
    editor_executable = shutil.which(msg_editor_cmd[0])
    if not editor_executable:
        print(f"Error: {msg_editor_cmd[0]} executable not found.")
        return None

    try:
        with tempfile.NamedTemporaryFile(mode='w+', suffix=".txt", delete=False, encoding='utf-8') as temp_file:
            temp_filename = temp_file.name

        temp_path = Path(temp_filename)
        result = subprocess.run(msg_editor_cmd + [str(temp_path)], check=True)

        if result.returncode == 0:
            return temp_path.read_text().strip()
        else:
            print(f"Error: {editor_executable} exited with a non-zero status.")
            return None

    except subprocess.CalledProcessError as e:
        print(f"Error: {editor_executable} exited with a non-zero status. {e}")
    except FileNotFoundError:
        print(f"Error: {editor_executable} executable not found.")
    except Exception as e:
        print(f"An unexpected error occurred: {e}")
    except KeyboardInterrupt:
        print("Operation cancelled by user.")
    finally:
        if temp_path.exists():
            temp_path.unlink(missing_ok=True)

    return None

if __name__ == "__main__":
    commit_message = get_editor_input()

    if commit_message:
        print(f"Your custom message: {commit_message}")
    else:
        print("No custom message provided or an error occurred.")

Use case
While Aider's terminal interface is certainly nice, it might be beneficial to consider allowing users to type chat messages in their external text editors of choice.
Version and model info
No response

Related or duplicate of #1315

Thank you for filing this issue.
This seems to be related or duplicate feature request of #1315. Since I cannot see a major difference to the /editor approach from #1315 I tend to close this issue as a duplicate.
Please respond if you have a different opinion and/or I have missed something.

Yes, I will close it.


Make telemetry info table a little bit narrower and aligned

The current table in defaultSettings.json was formatted using variables from the telemetryService.ts which are longer than the variables' content itself.
Fixes: https://github.com/microsoft/vscode/issues/233959
Before:
	// |       | Crash Reports | Error Telemetry | Usage Data |
	// |:------|:---------------------:|:---------------:|:--------------:|
	// | all   |            ✓          |        ✓        |        ✓       |
	// | error |            ✓          |        ✓        |        -       |
	// | crash |            ✓          |        -        |        -       |
	// | off   |            -          |        -        |        -       |

After:
	// |       | Crash Reports | Error Telemetry | Usage Data |
	// |:------|:-------------:|:---------------:|:----------:|
	// | all   |       ✓       |        ✓        |     ✓      |
	// | error |       ✓       |        ✓        |     -      |
	// | crash |       ✓       |        -        |     -      |
	// | off   |       -       |        -        |     -      |

Can you attach a photo of what the table now looks like in the settings UI? As it appears aligned already there and that was the case we were optimizing for as that is where most people edit their settings.

Here it is how it looks by default:

...and how it looks like this after my fix:

The alignment is present but only for the defaultSettings.json generator. Look that the variables that hold column titles are longer that the titles itself, eg. ${crashReportsHeader} is longer than the Crash Reports title:

I mean in the settings UI

In Settings UI it looks perfectly as above. It was kinda misleading because I keep to manage my configuration from .json mostly rather than UI. But if it would be possible to keep Settings UI aligned and defaultSettings.json also it would be great. However I suppose that defaultSettings.json is somehow used for rendering UI. Am I right?

However I suppose that defaultSettings.json is somehow used for rendering UI. Am I right?

That's right, they're the same

Perfectly as above - without my changes currently. I will switch enviro and write down the status cause I made a quick check on my second station. I thought that you mean if there is a UI bug by default on my instance. Sorry for the potential confusion.

I can confirm that the change does not regress the Settings UI table so we can proceed.

@mattmaniak Is there anyways we can make the | aligned as well? I see in the default.json they're now

I will report such when found in a separate Issue/PR because I am not sure where to locate every generated table in the editor.

I just meant for the telemetry table, not all of them. If we're fixing the alignment in this PR. We might as well fix the alignment completely and ensure the column separators are properly aligned.

Oh, I see. I don't see a solution for aligning the "text" column fully in json as the checkmark sign (✓) seems to be a little wider than the rest of monospace characters.


Fix some C++ warnings found by clang

While packaging bpftrace-0.21.0 for Gentoo I did a test build with clang-18 and was greeted by a wall of warnings. The commits in this PR cut down the noise significantly.
There are more warnings (mostly the terrible LIBBPF_OPTS), some of which are already being addressed (e.g. here), so this is just a quick fix for low-hanging fruit.
No functional or user-visible changes.
The resulting binary also still works. :smile:
Checklist

[X] Language changes are updated in man/adoc/bpftrace.adoc
[X] User-visible and non-trivial changes updated in CHANGELOG.md
[X] The new behaviour is covered by tests

man.. clang-format :sob:

Finally! :zany_face:


[THORN-2388] fix MP OpenTracing integration with MP RestClient

[x] Have you followed the guidelines in our Contributing document?
[x] [v2] Have you created a JIRA and used it in the commit message?
[ ] [v4] Have you created a GitHub Issue and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[ ] Have you built the project locally prior to submission with mvn clean install?

retest this please


BUG: Curvebot TWAP CORS Error when attempting Cure TWAP.JsonRpcProvider failed to detect network and cannot start up

NOTE: These CORS error do not occur on Palomabot.ai TWAP bot for Curve.
_app-637794b937182ed5.js:1068 JsonRpcProvider failed to detect network and cannot start up; retry in 1s (perhaps the URL is wrong or the node is not started)
curve-twap/:1 Access to fetch at 'https://virginia.rpc.blxrbdn.com/' from origin 'https://www.curvebot.fi' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
_app-637794b937182ed5.js:1068
And another CORS bug:
bot/:1 Access to fetch at 'https://nest-service.palomachain.com/tokens/market-data?network=1&token=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' from origin 'https://www.curvebot.fi' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
nest-service.palomachain.com/tokens/market-data?network=1&token=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2:1
   Failed to load resource: net::ERR_FAILED

curve-twap-dd2b6faa00b2f1a2.js:1 Uncaught (in promise) Object
_app-637794b937182ed5.js:1068
   POST https://www.curvebot.fi/monitoring/?p=4505354828185600&o=1200162 429 (Too Many Requests)

Noting that this is isolated to Jason so far.

@verabehr this was my error on my console.

Closing as most likely WalletGuard behaving badly.

Still getting this error after selecting Dola -> DBR as input and output tokens:
Access to fetch at 'https://virginia.rpc.blxrbdn.com/' from origin 'https://www.curvebot.fi' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

@jamie088 the https://virginia.rpc.blxrbdn.com/ url is outdated, please use the new endpoint listed here for ALL bots https://docs.bloxroute.com/introduction/protect-rpcs

Moved to new feature story: https://github.com/VolumeFi/paloma/issues/1073


Create unfari.txt

Universitas Al-Ghifari
https://www.unfari.ac.id/

@ayulatifahdr I have to close this request without merging, because you requested to add a non-existent domain to this repository: ;; connection timed out; no servers could be reached Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


New HTC demo notebook

To do:

[ ] remove changes to the notebooks from week 1 and 2 - they shouldn't be here
[ ] Remove unused code from the helper function file

I broke the git branch...


Fixed #20189 -- Allowed customizing staticfiles ignored_patterns list

https://code.djangoproject.com/ticket/20189

I also bumped the django-developers thread to make sure there aren't any concerns with this pattern.

In case in matters, this was one of the features that got added to the standalone version of django-staticfiles years ago (when contrib's staticfiles wasn't adopted much yet): https://github.com/jezdez-archive/django-staticfiles/commit/0a9159875a91a5277b176351363848674a9e0eb4 This is useful and the PR implements it much nicer than the code at the time.


Fixing typos and making a sentence clearer

The sentence used to say "One difference with Try is that you can choose another type than Throwable to represent the exception," which makes it sound like you can choose types other than Throwable with Try when it is really talking about Either.

Thanks, @CaileenD -- we'll be reviewing all the examples/docs for lang and grammar in the near future! I know they need it. :)


Fixed link to B-Tree in README.md

@kelvinlauKL Sorry, I've forgotten to include this in pull request #151.

Thanks @ViktorSimko

Hi friend!
I  just wanted to  share some interesting  thoughts  about amazing people I met  yesterday, please read  more here http://three.getrealprogram.org/e4cpkhah
Yours, jp

Hey!
I found some old  photos of us, these are really precious memories for me, just take a  look  http://spot.xtothey.com/e4zgiyqy
Best, jp


Completion does not work with String.trim

Racer will respond with truncate but not trim.
https://www.dropbox.com/s/tk6j15yrjshkd2p/Screenshot 2016-01-19 21.57.05.png?dl=0

How does this example compile? String constructor does not have any parameters.

Interesting.  I'm pretty new to this so I could be doing something wrong.
Anyway, Racer didn't show 'trim' as a completion option when writing this introductory program.
LOC here
    let guess: u32 = guess.trim().parse()
        .expect("Please type a number!");

I've encountered a handful of other places where Racer didn't show certain completion options that "The Book" wanted me to use in these introductory programs.  Would it be helpful to submit more tickets, or list them here?

@doubleagent You're welcome to file issues for specific cases or list them here. If you choose to list them here, maybe update the title accordingly. This will make it easy for us to add tests for the cases that don't currently work and make them work :). By the way, if you're trying to get completions on a separate line (eg .expect in your last snippet) and not seeing anything, that is a known issue.

@jwilm Isn't trim() string slice function? I mean that racer is looking from string.rs file, but there's only functions for String. String slice functions that apply to String also is in str.rs file.
If it is so, then maybe related issue is https://github.com/phildawes/racer/issues/443

Racer can't complete any &str functions at the moment it seems. The following doesn't work
    let s: &str;
    s.trim();

There's a hack in there to convert &str to &Str, which I guess shows racer's age. I'll open a new issue and have a go at fixing this up

I added #489 and then pushed a patch to fix. I think this should work now, thanks @doubleagent for the issue


Support forceful termination on 2nd signal

Support forceful termination using 2xCtrl+c.
Relates to #179
Split from PR #166

@derekbit this is also ready for review.


Objectives 3.0

This lists more or less global objectives. Bugs can be listed here if small, if they need discussions, please add them as separate issues with the milestone 3.0

Various things

[ ] Close all issues with milestone 3.0 (or remove their milestone)

Process refactoring
Design the new medProcessLayer (ie, new abstractions) and port all the existing plugins to the new plugins system

[x] filtering processes

[x] arithmetical operations | merged https://github.com/medInria/medInria-public/pull/263
[x] morphological operations | merged https://github.com/medInria/medInria-public/pull/267
[x] gaussian blur
[x] update filtering workspace to use new processes.

[ ] segmentation processes
[x] diffusion processes
[ ] Parameters have not all been translated to the new split (parameter plus its presenter): would be cool to have, especially for a diffusion plugin where I would need the medBoolGroupParameter and its presenter
[ ] Adapt all concerned workspaces to use the new processes and discard legacy ones for workspaces where we can

CMake 3

[x] get rid of the warnings | merged https://github.com/medInria/medInria-public/pull/265
[x] improve management of  output directories, using target properties instead of global variables | merged https://github.com/medInria/medInria-public/pull/265
[x] simplify dll symbol exports management, using the target property DEFINE_SYMBOL | merged https://github.com/medInria/medInria-public/pull/268

Jenkins

[ ] update jenkins (rebuild from the ground up I guess) to fit the new medinria repos (no more superproject, plugins in two folders or not...)

VTK 7 support

[x] Switch superproject to VTK 7
[x] Make everything compile with the new VTK
[ ] Display annotations correctly on views (looks fine on Mac with VTK7, check on other platforms)
[ ] Ensure visualization is as fast as in the previous release (window/leveling, with multiple views linked...)
[ ] Make sure tensors and other glyphs are correctly displayed in all situations, without an awful lot of console warnings

Composer partial support

[ ] Use our own widget, with only the toolboxes / sub-widgets we need
[ ] Implement nodes for all our abstractions (only the non legacy processes, which means no registration)
[ ] For a node, be able to select the process falling in that category, and have a toolbox (coming from the presenter) with its parameters shown somewhere in our area
[ ] Save compositions (may be not process selection and process specific parameters but at least the nodes and how they are plugged)
[ ] Update stylesheet

Qt5

[ ] Switch private projects to Qt5 and new superproject (partially started with the diffusion branches)

Application (may be)

[ ] Make use of the dtkApplication class, (simplify log, local and cmd line arg management)

Log (may be)

[ ] Use the dtk log system everywhere and properly

Clean up

[ ] Get rid of all the unused medFooLegacy things.
[ ] Clean up the dev branch, use correct names for classes, avoid redundant code if we can

See #290 and #335


Typo in the Example value for x-ms-authorization-auxiliary header

Instead of Bearer <auxiliary-token1>; EncryptedBearer <auxiliary-token2>; Bearer <auxiliary-token3>
should be Bearer <auxiliary-token1>; Bearer <auxiliary-token2>; Bearer <auxiliary-token3>

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

ID: 68bcb53f-654b-f42e-c6bc-5e8075430adf
Version Independent ID: 49b2369e-49d9-fb80-f28b-05557b575715
Content: Authenticate across tenants - Azure Resource Manager
Content Source: articles/azure-resource-manager/authenticate-multi-tenant.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@VladimirKhvostov Thanks for sharing your feedback! We have assigned this issue to the content owner to review further and update as appropriate.

@VladimirKhvostov a PR has been successfully raised to fix the typo. The fix will be live in 24-48 hrs.
Thanks again for catching this.
We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

It seems that the issue is still not fixed, coudl you help fix it?
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant
ms-authorization-auxiliary | Auxiliary tokens | Bearer <auxiliary-token1>, EncryptedBearer <auxiliary-token2>, Bearer <auxiliary-token3>


Unexpected behavior while merging 2 objects into an empty object

Hi ,
Was trying to merge two deeply nested objects into another empty object.
I get the unexpected behavior as follows. Any inputs as to why?
https://repl.it/repls/GloriousRepentantUnix
The reason i want to merge to an empty object is i don't want to mutate the original objects.
Thanks.

The merge function only takes two objects, not three: https://github.com/KyleAMathews/deepmerge#mergex-y-options
In your first example the third target argument is interpreted as the options object.
Like the docs say, "Merging creates a new object, so that neither x or y are be modified."
If you wanted deepmerge to mutate the target object, you would have to pass in the clone: false option.  (That option is deprecated.)
If you want to pass in more than two objects to be merged, you should call merge.all.


[Wyscout V3] Adding substitution events

In Wyscout V3 data substitutions are not listed in the event stream, but defined separately in the raw event file. What is the best way to handle them in the deserializer?
I can create them after that we iterated through all the raw events, but how do I should I best go about adding them into the records? Do we already have a method that allows us to order a list of events based on period & timestamp? Or should I create this?

Inserting substitutions into the event stream is more complex than simple sorting because Wyscout only provides the minute in which a substitution occurred, not the precise timestamp.
You would need to:

Identify game interruptions within the substitution minute's window.
Use the interruption duration as a tiebreaker if multiple interruptions occur in that window.
Insert the substitution event just before the corresponding game restart.

Thanks for the input, Pieter!
What would happen if we mark that the substitutions happen exactly at the minute provider by Wyscout. I know we can then be off for X, no more than 60, seconds. Would this result into issues other than that the substitution time information is just slightly off?
The reason I'm asking, is because I don't really care about seconds as a level of detail for substitutions and would suggest that I first create a PR which introduces substitutions using the naive approach. And if someone later needs seconds as a level of detail, he could enhance the logic with identifying game interruptions to improve the level of detail of setting substitutions.
I just don't want the desire for a perfect solution to stand in the way of already implementing the main goal, getting the substitution information (albeit with a lower level of detail) in the dataset.
What do you think?

You will get substitution events when the ball is in play and logical event sequences will get interrupted (e.g., you could get a substitution between a player's carry and pass). It just doesn't make sense at all.
Also, it will break code that derives things from subsequent events. For example, I have some logic that determines whether the ball is in play. This will break.
It's really not that hard to implement it correctly.

Okay, if it results into interrupted event sequences and can break downstream logic, it should indeed be done correctly directly. I'll share a PR soon. Thanks for thinking this through together!

@probberechts when reviewing the substitutions in the events v3 file of Wyscout, it looks like it is not expressed in minute granularity but rather the exact seconds.
I assume we thus do not need to identify game interruptions and just insert this into the records between the events happening before and after the substitution?
"substitutions": {
        "3159": {
            "2H": {
                "1278": {
                    "in": [
                        {
                            "playerId": 20395
                        }
                    ],
                    "out": [
                        {
                            "playerId": 489124
                        }
                    ]
                },
                "1951": {
                    "in": [
                        {
                            "playerId": 361807
                        }
                    ],
                    "out": [
                        {
                            "playerId": 20751
                        }
                    ]
                },
                "2192": {
                    "in": [
                        {
                            "playerId": 105334
                        },
                        {
                            "playerId": 345695
                        }
                    ],
                    "out": [
                        {
                            "playerId": 472363
                        },
                        {
                            "playerId": 20461
                        }
                    ]
                }
            }
        },
        "3164": {
            "2H": {
                "4": {
                    "in": [
                        {
                            "playerId": 703
                        },
                        {
                            "playerId": 20479
                        },
                        {
                            "playerId": 20689
                        }
                    ],
                    "out": [
                        {
                            "playerId": 415809
                        },
                        {
                            "playerId": 449978
                        },
                        {
                            "playerId": 21006
                        }
                    ]
                },
                "1461": {
                    "in": [
                        {
                            "playerId": 449472
                        },
                        {
                            "playerId": 20446
                        }
                    ],
                    "out": [
                        {
                            "playerId": 239298
                        },
                        {
                            "playerId": 237057
                        }
                    ]
                }
            }
        }
    }

Oh yes, substitutions seem to be encoded twice in the event stream. I was looking at this encoding:
"substitutions": [
        {
            "minute": 29,
            "playerIn": 680331,
            "playerOut": 38426,
            "assists": "0"
        }, ...
]

Then it probably works to insert this based on timing.


templates/dashboard: filter worker dashboard on arch

Add the ability to filter the build job types by architecture using the arch
dropdown. This depends on: https://github.com/osbuild/osbuild-composer/pull/2845
Test dashboard:
https://grafana.stage.devshift.net/d/image-builder-worker-arch/image-builder-worker-arch-test?orgId=1
This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

This file is not tested by our, it's fine to admin-merge.


Port patch to Hive-sync to enable stats on Hive tables

#249  could also be related

trying to repro on hive1.1.0-cdh5.8.3

Without this aggregation queries could be incorrect with default settings of Hive.
https://community.hortonworks.com/content/supportkb/150059/how-to-set-hive-select-count-to-return-results-wit.html
@bvaradar this is one more thing to test.

First thing to try : disable stats and ensure count(*), avg, groupBy, projection, filtering, self join.  - these things are correct.

Moved to https://issues.apache.org/jira/browse/HUDI-29


ImportError: cannot import name 'Post'

Please solve my problem, im facing so many problems ,but im sloving it by seeing all sources but seriously i dont have so much time , so im requesting u to help me to complete your microblog project , thank you sir
so this is my code from models.py
from datetime import datetime
from app import db

class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(64), index=True, unique=True)
    email = db.Column(db.String(120), index=True, unique=True)
    password_hash = db.Column(db.String(128))
    posts = db.relationship('Post', backref='author', lazy='dynamic')

    def __repr__(self):
        return '<User {}>'.format(self.username)

class Post(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    body = db.Column(db.String(140))
    timestamp = db.Column(db.DateTime, index=True, default=datetime.utcnow)
    user_id = db.Column(db.Integer, db.ForeignKey('user.id'))

    def __repr__(self):
        return '<Post {}>'.format(self.body)

>>> **from app import db**
>>> **from app.models import User, Post**
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'Post'

If im not mistaken, this could be caused by circular import
check inside /app/init.py that from app import models appears as the last line, not at the top

@tosaiprakash I suggest you compare your files against mine to find the problem, it's really hard for me to figure out what's wrong with just the one file that you shared. You can use the link at the top of the article to download the files that correspond to the chapter you are reading, that should help you figure out the problem.

thank you miguelgrinberg , really happy for getting replay from u ,


Don't submit a url that is incorrect

Define incorrect?  Not a valid URI?

right.

here - see for yourself


fix(localpv): expose Kubernetes client QPS and Burst as flags

Why is this PR required? What issue does it fix?:
While running some performance tests, I noticed that there seems to be a bottleneck that is significantly delaying volumes creation. Here are the results when trying to create 5 volumes per second (see the test scenario at the end of this comment):

After some investigation, I noticed that the bottleneck was the Kubernetes client throttling requests.
What this PR does?:
This PR allows the user to set the QPS and Burst value for the K8S client. Running the same performance test as above with a qps of 50 and a burst of 100 leads to the following result:

Does this PR require any upgrade changes?:
No, if no --kube-api-qps or --kube-api-burst are provided, then the behavior is exactly the same as today.
If the changes in this PR are manually verified, list down the scenarios covered::
Here is ClusterLoader2 scenario used for the performance test presented above:
## Default expected number of PVC is 300
{{$PVCS := DefaultParam .PVCS 300}}

## Set a default timeout of 30 minutes
{{$TIMEOUT := DefaultParam .TIMEOUT "1800s"}}

name: openebs-stress

namespace:
  number: 1

tuningSets:
  - name: UniformQPS
    qpsLoad:
      qps: 5

steps:
  - name: Create PVCs
    phases:
      - namespaceRange:
          min: 1
          max: 1
        replicasPerNamespace: {{$PVCS}}
        tuningSet: UniformQPS
        objectBundle:
          - basename: volume-test
            objectTemplatePath: "pvc.yaml"
  - name: Waiting for PVs to be bound
    measurements:
      - Identifier: WaitForPVCsToBeBound
        Method: WaitForBoundPVCs
        Params:
          desiredPVCCount: {{$PVCS}}
          apiVersion: v1
          labelSelector: group = volume-test
          timeout: {{$TIMEOUT}}

With pvc.yaml:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: {{.Name}}
  labels:
    group: volume-test
spec:
  storageClassName: "openebs-immediate" ## Update to reflect you cs
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi

Checklist:

[ ] Fixes #
[ ] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Has the change log section been updated?
[ ] Commit has unit tests
[ ] Commit has integration tests
[ ] (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
[ ] (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

Thanks you for your contribution! This change has been taken up as a part of PR #234, closing this PR.


Incorrect GraphQL tooltip when filtering cables by site

Environment

Python version: 3.8.5
Nautobot version: v1.0.0b5

This bug was introduced with the fix from PR #360.  When querying for cables and filtering by site, the tooltip should say something like:
site: [String] [Slug]

However the tooltip actually says
site: [String] [invalid name]

Steps to Reproduce

In the latest develop branch, open GraphQL in the UI
Run a query on cables, like below, and hover over "site"

{
    cables(site: "<site-slug>") {
        id
    }
}

Expected Behavior
The tooltip for "site" should state that the slug is needed

Observed Behavior
The tooltip for "site" shows an "invalid name"

So we did a little digging and it turns out that for any filterset field that is a method field (such as CableFilterSet.site) a label must also be set, or the text will come back as [invalid name].
Fortunately it appears there aren't a huge amount of them:
$ egrep -r '= .*Filter\(method' nautobot | grep -v label                                      <<<
nautobot/dcim/filters.py:    device_id = MultiValueCharFilter(method="filter_device")
nautobot/dcim/filters.py:    device = MultiValueCharFilter(method="filter_device", field_name="device__name")
nautobot/dcim/filters.py:    rack_id = MultiValueCharFilter(method="filter_device", field_name="device__rack_id")
nautobot/dcim/filters.py:    rack = MultiValueCharFilter(method="filter_device", field_name="device__rack__name")
nautobot/dcim/filters.py:    site_id = MultiValueCharFilter(method="filter_device", field_name="device__site_id")
nautobot/dcim/filters.py:    site = MultiValueCharFilter(method="filter_device", field_name="device__site__slug")
nautobot/dcim/filters.py:    tenant_id = MultiValueCharFilter(method="filter_device", field_name="device__tenant_id")
nautobot/dcim/filters.py:    tenant = MultiValueCharFilter(method="filter_device", field_name="device__tenant__slug")
nautobot/dcim/filters.py:    device_id = MultiValueCharFilter(method="filter_device")
nautobot/dcim/filters.py:    device = MultiValueCharFilter(method="filter_device", field_name="device__name")
nautobot/dcim/filters.py:    device_id = MultiValueCharFilter(method="filter_device")
nautobot/dcim/filters.py:    device = MultiValueCharFilter(method="filter_device", field_name="device__name")
nautobot/dcim/filters.py:    device_id = MultiValueCharFilter(method="filter_device")
nautobot/dcim/filters.py:    device = MultiValueCharFilter(method="filter_device", field_name="device__name")


Add new max_devices alternative

Opening based on conversation here https://github.com/Koenkk/Z-Stack-firmware/issues/10#issuecomment-423723585

Thanks for the PR!
I just updated the instructions for the optimized firmware which also includes the XDATA change. https://github.com/Koenkk/Z-Stack-firmware/tree/optimize/coordinator/CC2531.
I think all the instructions are the same except the Defined symbols. Could you post the complete list that you used for this firmware?

@Koenkk , perfect. Since you added XDATA to the original instructions, I've changed the readme here to be more concise. For context, I used exactly the same symbols as you had in your original version except changing the two related to devices + routers.

Great, thanks!

Did you change anything else? With XDATA set to 0x300 and the following symbols:
CC2531ZNP
ASSERT_RESET
FAKE_CRC_SHDW
TC_LINKKEY_JOIN
SECURE=1
NWK_MAX_DEVICE_LIST=44
MAXMEMHEAP=3199
INTER_PAN
INCLUDE_REVISION_INFORMATION
CONCENTRATOR_ENABLE=1
CONCENTRATOR_DISCOVERY_TIME=120
MAX_RTG_SRC_ENTRIES=12
SRC_RTG_EXPIRY_TIME=2
CONCENTRATOR_ROUTE_CACHE=1
MTO_RREQ_LIMIT_TIME=5000
LINK_DOWN_TRIGGER=5
NWK_ROUTE_AGE_LIMIT=10
BCAST_DELIVERY_TIME=100
DEF_NWK_RADIUS=5
NWK_ROUTE_AGE_LIMIT=15
DEFAULT_ROUTE_REQUEST_RADIUS=15
ROUTE_DISCOVERY_TIME=10
ZDNWKMGR_MIN_TRANSMISSIONS=0
NWK_LINK_STATUS_PERIOD=23
MAX_NEIGHBOR_ENTRIES=1

I can't compile it, error:
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment XDATA_N. Unable to place 2 block(s) (0x200 byte(s) total) in 0x1f7 byte(s) of memory. The
problem occurred while processing the segment placement command "-P(XDATA)XDATA_N=_XDATA_START-_XDATA_END", where at the moment of placement the available
memory ranges were "XDATA:1d09-1eff"

Ohhh, I just realized I'm missing the MAXMEMHEAP=3199 line in my build as well as the other CONCENTRATOR_ENABLE downwards. I built my version before your revamped instructions 2 days ago. Also my timed trial ran out so I unfortunately can no longer rebuild the project to test the new settings.
With MAXMEMHEAP=3199 what is the max number of devices you can get to build?

I used the following defines for now:
+  #define CC2531ZNP
+  #define ASSERT_RESET
+  #define FAKE_CRC_SHDW
+  #define TC_LINKKEY_JOIN
+  #define SECURE 1
+  #define NWK_MAX_DEVICE_LIST 43
+  #define MAXMEMHEAP 3199
+  #define INTER_PAN 1
+  #define INCLUDE_REVISION_INFORMATION
+  #define MAX_NEIGHBOR_ENTRIES 1

Cool! 43 devices is still great

maybe another option could be interresting, like ~30 devices and ~5 routers supported ?


[Code health] Simplify how UI determines whether surveys are available offline

Can we simplify this by moving the check for local vs remote into the repository layer?
https://github.com/google/ground-android/blob/80719cb06cf0233d4f247cf75b8f433d2e0d841c/ground/src/main/java/com/google/android/ground/ui/surveyselector/SurveySelectorViewModel.kt#L46-L57
For idea is introduce a SurveySummary model object (as we had originally planned), which contains a Boolean isAvailableOffline. This could get set by the data layer based on whether the survey is in the local or remote db. The same class could later be used to only return the minimal info needed for the survey list; name, description, and isAvailableOffline.
@shobhitagarwal1612 Would you like to take this one?

This code was already refactored. Marking obsolete.


Add gazebo_ros2_control repo to repos file

Description
In Ubuntu 24.04, Gazebo classic is no longer supported or available from binaries. Due to the ros2_kortex repo still using this as a dependency, CI has been failing.
See: https://github.com/Kinovarobotics/ros2_kortex/issues/217
So, to have this work, we (and all consumers of this package on Jazzy onwards) have to include it from source.
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] While waiting for someone to review your request, please consider reviewing another open pull request to support the maintainers

@henningkayser where do these dependencies come from? I added to the .repos file and it still is failing to be picked up. Does it come from the moveit2 repo? If so, it's weird to have to add the dependencies there...

Ugh, no, this then has even more transitive dependencies on gazebo_ros and gazebo_dev which are not available on Ubuntu 24.04. This will not be a viable option, and instead it's preferable to fix the ros2_kortex repo.
I tried doing that, but the maintainers seem reluctant: https://github.com/Kinovarobotics/ros2_kortex/pull/228

This is now failing because the version of ros2_control from binaries doesn't match the latest gz_ros2_control ... I give up for now, too many breakages.

Thank you for your effort! I started a similar thing already here #913. Unfortunately, there is currently just not enough capacity to properly tackle the tutorial issues. I'll still pin this as high priority until we can assign someone to get this fixed.

For what it's worth, I tried adding ros2_control as a source-built dependency on top of your branch, but it looks like robotiq_driver is not compatible with the latest ros2_control: https://github.com/stephanie-eng/moveit2_tutorials/actions/runs/9884753382/job/27301653148
I'm also waving the white flag on this for now, so I figured I'd share my findings to whomever tries this again.

I actually also fixed the robotiq package...
https://github.com/PickNikRobotics/ros2_robotiq_gripper/pull/54
We basically need that landed, a new ros2_control sync or source build, and the same fix for moveit_resources:
https://github.com/moveit/moveit_resources/pull/200
Believe me, I tried...

Well, the rolling sync is done, so we shouldn't need a ros2_control source build... That's one thing out of the way.

We failed again due to an invalid parameter (sim_ignition). I think it's due to a stray sim_ignition passed into the gripper xacro (this guy), where you have since been renamed it to sim_gazebo (here).

We failed again due to an invalid parameter (sim_ignition). I think it's due to a stray sim_ignition in ros2_kortex passed into the gripper xacro (this guy), where you have since been renamed it to sim_gazebo (here).
@sea-bass it's your fork, so you get to be the arbiter if the above is correct or not.

You got it!
When I first put up the ros2_kortex PR I told myself I wouldn't mess with any other repos in the process, but then I found I had to for the numerous reasons in this thread... so I ended up changing the Robotiq repo after all!

So the next issue is that the old bringup test is trying to launch RViz that that node is crashing on the CI runner... is this a new thing?

IT PASSED!!!!!!!!!!


[don't merge] Test hfh v0.27.0.rc0

Reference Issues/PRs

What does this implement/fix? Explain your changes.
Any other comments?

@hanouticelina There has been a big refactor of the CI recently in #451. That's why this PR can't be run.
@adrinjalali do you think it's still necessary to check skops against HFH?

@adrinjalali do you think it's still necessary to check skops against HFH?

I don't think so. They're not maintained and we've removed some functionalities and deprecated some (to be removed in the coming release).
I was actually debating whether to keep them or not, since we haven't really had any usage of the hub front, and removing the dependency (or making it optional) would make the package significantly lighter. WDYT?

Then I lean towards removing the dependency. For most dependencies, I might have told users: We have tested until version x.y.z, there is no support for newer versions. But given the nature of the HFH package, it's probably a better idea to remove the support completely.

thanks @BenjaminBossan, noted! I will close this PR then


Add docs/script for Alluxio-Spark on EMR

Changes to the docs and added script logic for Alluxio-Spark integration.

@bf8086 PTAL

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3690/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3698/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3700/
Test PASSed.

alluxio-bot, merge this please


Configurable LTP version from LISA Runbook

The below variable can be added to runbook to
override default LTP version used for LTP tests

name: ltp_tests_git_tag
value: 20230127
is_case_visible: true

@adityagesh make sure old distro works well with this tag, hope it doesn't have any compile issue

@squirrelsc @LiliDeng can you please check if this is the correct approach


Under Centos, how did one Avalonia project call the executable file generated by the other Avalonia project? For example, Thread.start ("xxx.exe") under Windows.

Under Centos, how did one Avalonia project call the executable file generated by the other Avalonia project? For example, Thread.start ("xxx.exe") under Windows.

Process.Start("xxx") without exe.

Process.Start("/full/path/to/xxx") without exe.

thank you,you are right.


How can I make my animation to not loop forever?

I have this animation on some text.
Anime.js:
`var textWrapper = document.querySelector('.q60-h1');
textWrapper.innerHTML = textWrapper.textContent.replace(/\S/g, "$&");
anime.timeline({loop: true})
.add({
targets: '.q60-h1 .letter',
scale: [4,1],
opacity: [0,1],
translateZ: 0,
easing: "easeOutExpo",
duration: 950,
delay: (el, i) => 70*i
}).add({
targets: '.ml2',
opacity: 0,
duration: 1000,
easing: "easeOutExpo",
delay: 1000
});
`
CSS:
.q60-text {     width: 50%;     margin: 0 auto;     text-align: center; }
If I put "loop: false", the animation doesn't even show. What can I do to not make the animation keep repeating forever?

use: anime.timeline({loop: number}) where number is the number of times you want the loop to be executed

That doesn't seem to be working I don't know why

I think then the problem might be in the logic of the animation you want to implement not in the loop.

Create a codepen to show your problem, it will be easier for others to help you that way.


PulseDesigner submodule

Inspired on Pulseq we need to add a submodule with common pulse sequence blocks.
General

[x] Read Pulseq.
[ ] #152

PulseDesigner
:information_source: IMPORTANT
The main difference between these functions and the constructors is the use of the Scanner object. Examples: If $G_\max$ is too low it will make the block longer, Add a delay after the RF blocks to satisfy the ring-down time, etc.
RF

[ ] makeBlockPulse (Hard pulse, partially implemented)
[ ] makeSincPulse
[ ] makeGaussPulse (for fat-sat)
[ ] makeSLRPulse
[ ] makeArbitraryRf

Grad

[ ] makeTrapezoid
[ ] makeArbitraryGrad
[ ] makeExtendedTrapezoid
[ ] makeSpiral?

ADC

[ ] makeAdc

The submodule could be the same as the one for gradient optimization.

The functions to be implemented should be: Pulseq aux functions

I think in particular I think it is very important to allow the use of

#139

As a reminder of what we talked in an internal Koma meeting

The  idea would be to have an equivalent of
seq.addBlock(rf,gx,gy,adc,delay)

but in a more Julian way
seq += [rf,gx,gy,adc,delay]

where rf::RF<:MRIEvent, g::Matrix{Grad}<:MRIEvent, adc::<:MRIEvent, and delay::Delay<:MRIEvent.
A simple example that could be helpful for this:
julia> struct MyType
           a
       end

julia> struct MyType2
           a
       end

julia> import Base.+

julia> x::MyType + ys::AbstractVector{MyType2} = MyType(x.a + sum([y.a for y in ys]))

julia> MyType(1) + [MyType2(1) for i = 1:3]


defect prediction task error

Hi, I try to run the defect prediction source code, there is an error: numpy.AxisError: axis 1 is out of bounds for array of dimension 1. How to fix it?

Can you please paste the entire error log? We are unable to reproduce the error.


Rewrite test_filepost.py to be pytest-style

Related to #1160.

Hmm. Another failure in test_socketlevel.py. Looking in the AppVeyor output, it’s leaking quite a few FDs. Maybe fixing those would help?

Certainly wouldn't hurt. In the meantime, I'll kick it again.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1206   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          21      21
  Lines        1975    1975
======================================
  Hits         1975    1975

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 75359d7...27a83b4. Read the comment docs.


python311Packages.hatch-jupyter-builder: 0.8.3 -> 0.9.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.hatch-jupyter-builder is: hatch plugin to help build Jupyter packages
meta.homepage for python311Packages.hatch-jupyter-builder is: https://github.com/jupyterlab/hatch-jupyter-builder
meta.changelog for python311Packages.hatch-jupyter-builder is: https://github.com/jupyterlab/hatch-jupyter-builder/releases/tag/v0.9.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.9.1 with grep in /nix/store/ll26xdlnsdc8h43awyk75nsk20cggm3p-python3.11-hatch-jupyter-builder-0.9.1
found 0.9.1 in filename of file in /nix/store/ll26xdlnsdc8h43awyk75nsk20cggm3p-python3.11-hatch-jupyter-builder-0.9.1

Rebuild report (if merged into master) (click to expand)

189 total rebuild path(s)

189 package rebuild(s)

First fifty rebuilds by attrpath
cantor
ihaskell
jupyter
jupyter-all
labplot
libsForQt5.cantor
manim
nbqa
nitrokey-app2
opsdroid
plasma5Packages.cantor
pynitrokey
python311Packages.altair
python311Packages.ansible-kernel
python311Packages.anywidget
python311Packages.arviz
python311Packages.augmax
python311Packages.bambi
python311Packages.batchspawner
python311Packages.bqplot
python311Packages.bqscales
python311Packages.cirq
python311Packages.cirq-ft
python311Packages.dalle-mini
python311Packages.datashader
python311Packages.distrax
python311Packages.dm-haiku
python311Packages.dockerspawner
python311Packages.einops
python311Packages.elegy
python311Packages.encodec
python311Packages.experiment-utilities
python311Packages.fastai
python311Packages.flax
python311Packages.folium
python311Packages.gradio
python311Packages.gradio-client
python311Packages.gradio-pdf
python311Packages.hatch-jupyter-builder
python311Packages.ipyniivue
python311Packages.ipytablewidgets
python311Packages.ipyvuetify
python311Packages.jupyter
python311Packages.jupyter-collaboration
python311Packages.jupyter-contrib-core
python311Packages.jupyter-contrib-nbextensions
python311Packages.jupyter-lsp
python311Packages.jupyter-nbextensions-configurator
python311Packages.jupyter-server
python311Packages.jupyter-server-fileid

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ll26xdlnsdc8h43awyk75nsk20cggm3p-python3.11-hatch-jupyter-builder-0.9.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.hatch-jupyter-builder https://github.com/r-ryantm/nixpkgs/archive/2ac5daeba4e52b1d50eb87a855f8d2e10665645e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/2ac5daeba4e52b1d50eb87a855f8d2e10665645e#python311Packages.hatch-jupyter-builder

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ll26xdlnsdc8h43awyk75nsk20cggm3p-python3.11-hatch-jupyter-builder-0.9.1
ls -la /nix/store/ll26xdlnsdc8h43awyk75nsk20cggm3p-python3.11-hatch-jupyter-builder-0.9.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 120m and timed out

Maintainer pings

included in https://github.com/NixOS/nixpkgs/pull/297752


Animate Header Height

Current Behavior
I'm trying to update the Header Height inside my screen when my Keyboard is visible.
To do this, I'm passing a parameter
static navigationOptions = ({ navigation, screenProps }) => ({
    title: 'Create an account',
    headerTintColor: 'white',
    headerStyle: {
      backgroundColor: '#59A6F9',
      borderBottomWidth: 0,
      height: navigation.state.params.heightSize
    },
  });

I've created a listener to my Keyboard and set a Callback in which i do :
this.props.navigation.setParams({heightSize: 300});

Result
My height is changing. But it takes easily 1 to 2 seconds on my iOS simulator.
On my Android, its a bit quicker, and i think it waits for my Keyboard animation to end before triggering the Height's header update.
I've plan to add some animation to change that Height later.
Is there a better way to update this styling ?

Hi @LouisJS ! It looks like this is not a bug of the library nor a feature request, so I'll close it: I suggest next time you use Stack Overflow which is better suited for answering these types of questions. I also encourage you to join the Reactiflux community on Discord. There are React Native and React Navigation channels with helpful people who might be able to answer your question. I would also like to mention that there is a collection of helpful links and tutorials for React Navigation in the README which might be helpful for you.
That said, the fact that it's slow it's probably because you are trying to "overload" the app to handle both the keyboard moving and the setParam of the header at the same time. If you see a difference in time required between when you have the remote debugger on and off, then it means that it's your code (most likely) that is "heavy loading" the performances.
And

i think it waits for my Keyboard animation to end before triggering the Height's header update.

It may be, depending on how you wrote the code to catch the keyboard interaction.
If you believe that you are experiencing a bug or have a feature request, please open a new Issue following the dedicated template or submit a PR.

@LouisJS what event names have you used when subscribing? Have you tried keyboardWillShow?


docs: s/godoc.org/pkg.go.dev/g

Description of the change: godoc.org -> pkg.go.dev
Motivation for the change: fix broken links and migrate away from godoc.org, which is recommended by the Go team.
/kind documentation
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

All links are fixed but https://goreportcard.com/ is down, so I'll force merge this one.


ref(lobby): Use hooks for lobby [WIP]

This is just a WIP atm, wanted to get feedback before I got this working.
I'm proposing a refactor of lobby to use React hooks (this would require a new minimum version of React, I think 16.8, however).
This would allow better encapsulation of lobby data. You could then expose the hook for consumers downstream as well as provide a Lobby component like you have currently. This would let users that are using 16.8, but have not adopted hooks, to still use it with the render function API.
Thoughts?
Checklist

[ ] Use a separate branch in your local repo (not master).
[ ] Test coverage is 100% (or you have a story for why it's ok).

/cc @flamecoals 	and @jasonharrison

/cc @francoijs

@billyvg I like the direction where this is going!  If there are no objections from the the others, I'm in favor of going ahead with this PR.
Do you think it makes sense to also deprecate the props based custom renderer?  I think it's reasonable to ask the end user to use the provided component or use the hook if they want their own custom component.  We could also allow some CSS customizations on the provided component if they just want some cosmetics changes.

@nicolodavis Sounds good!

@nicolodavis 	was playing around with this and having troubles getting the examples to work because of: https://reactjs.org/warnings/invalid-hook-call-warning.html#mismatching-versions-of-react-and-react-dom
Any ideas here? I tried making react a peer dep, but there are dependencies in the core lib that require react (e.g. react-dragtastic). I'm not sure of any solutions that don't involve a mono repo.

Couple of things:

react-dragtastic is probably going away in the future (I am planning to rework that code).
React itself isn't an actual direct dependency of the project (source).  Does moving react-dragtastic to peer deps fix the problem?

I'm going to close this in favor of our current plan to move all the UI components to Svelte #432


Date profile field saving bugs

Seen in the dev environment when editing the "Birthday" custom profile field:

When manually editing the birthday custom profile field without using the date picker, a message saying that the save failed because format is invalid flashes briefly. This happens when the date is actually valid, and it seems that the value actually does get saved.

Weirdly, if you then try to save an invalid value, the value gets reset to the last value picked from the date picker, even if that value has been replaced by a (valid) manually entered value.

Hi @alya I have taken up this issue as it is easier on a beginner Outreachy applicant. Do you mind guiding me through it?

Hi @alya I have managed to solve the second issue, still figuring out the first one. Kindly review.

https://user-images.githubusercontent.com/79210550/137259443-26a7aca5-c169-48e7-98fd-7fe0ef550efe.mp4

@alya Is this what should be happening?

I manually entered an invalid date and the error popped. But let me try
again.
On Thu, 14 Oct 2021, 09:22 Alya Abbott, @.***> wrote:

@hunterachieng https://github.com/hunterachieng I don't see (2) being
addressed. The scenario is:

Use the date picker to select a date.
Manually enter a different valid date.
Manually enter an invalid date.

Expected: Date gets reset to the date manually entered in step (2).
Actual: Date gets reset to the date picked in (1).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/19936#issuecomment-943005406, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AS4KQNRBZY6JOGKK7TAPBFTUGZZIVANCNFSM5FSTIRLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@alya so even the third issue has not been solved? For entering an invalid date?

@hunterachieng There is no third issue... My comment above gave a more detailed reproducer for the second issue I described.

@alya Oh okay. I am looking into it again.

https://user-images.githubusercontent.com/79210550/137362102-00e9dee8-4b25-4345-8af8-697ca04d48b8.mp4

@alya Hi, did you get a chance to look at my PR and screen cast?

Ah, thanks for the bump! Why is there a red error popping down from the top in your screencast? Certainly, that should never happen for a user.
There is a lot going on in your screencast. Please share two short screencasts addressing precisely the issues described above when you think you have solved them, and we can go from there.

Screencast 1:
When manually editing the birthday custom profile field without using the date picker, a message saying that the save failed because format is invalid flashes briefly. This happens when the date is actually valid, and it seems that the value actually does get saved.
The video should show that no "invalid" message flashes when a valid date is manually entered.

Screencast 2:

Use the date picker to select a date.
Manually enter a different valid date.
Manually enter an invalid date. (totally invalid, e.g. "bananas")

Expected: Date gets reset to the date manually entered in step (2).
Actual: Date gets reset to the date picked in (1).

Thanks!

@zulipbot I am still working on it.
On Thu, 4 Nov 2021, 10:47 zulipbot, @.***> wrote:

Hello @hunterachieng https://github.com/hunterachieng, you claimed this
issue to work on it, but this issue and any referenced pull requests
haven't been updated for 10 days. Are you still working on this issue?
If so, please update this issue by leaving a comment on this issue to let
me know that you're still working on it. Otherwise, I'll automatically
remove you from this issue in 4 days.
If you've decided to work on something else, simply comment @zulipbot
abandon so that someone else can claim it and continue from where you
left off.
Thank you for your valuable contributions to Zulip!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/19936#issuecomment-960524518, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AS4KQNS4B5D4FO3DMCSTOLTUKJCCFANCNFSM5FSTIRLQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@alya Sorry for not reaching out in the past few days, I was working on my final exams. I have been looking into the code, and I am still getting the red dropdown box when I input the wrong date. Basically, this happens when I remove the altInput from the flatpickr configurations. When I return it, a wrong date gets reset to the previous one. I cannot find where I can disable the error pop-up, is there another code snippet I could look at that is connected to the datepicker function or I have to only debut that one function?

@zulipbot abandon

@alya Hi, I was unable to get rid of the red dropdown box although I managed to solve the other issues. I am taking issue #20209. If I manage to make the changes and figure out how to get rid of the red dropdown, I will retake this issue.

Sure, thanks for giving it a try!

@zulipbot claim

@zulipbot claim

@zulipbot abandon


Please replace with a clear and descriptive title

arthur@Arthur:~/Desktop/project_chat_application-master/client$ netlify login Already logged in via netlify config on your machine
Run netlify status for account details
To see all available commands run: netlify help
arthur@Arthur:~/Desktop/project_chat_application-master/client$ netlify deploy › Error: Unauthorized arthur@Arthur:~/Desktop/project_chat_application-master/client$ sudo netlify deploy [sudo] password for arthur: Logging into your Netlify account... Opening https://app.netlify.com/authorize?response_type=ticket&ticket=9fbf4c6e0b3fa4f2a309388c98093a22 FetchError: request to https://api.netlify.com/api/v1/oauth/tickets/9fbf4c6e0b3fa4f2a309388c98093a22 failed, reason: socket hang up Code: ECONNRESET arthur@Arthur:~/Desktop/project_chat_application-master/client$ sudo netlify deploy Logging into your Netlify account... Opening https://app.netlify.com/authorize?response_type=ticket&ticket=ab5dd6a6f6d269592fa98743ab32228a FetchError: request to https://api.netlify.com/api/v1/oauth/tickets/ab5dd6a6f6d269592fa98743ab32228a failed, reason: Client network socket disconnected before secure TLS connection was established Code: ECONNRESET arthur@Arthur:~/Desktop/project_chat_application-master/client$ netlify deploy --auth=swWF-o8-tps0FS4CC2XpZiMeC8iOp0edU33GBRLR6iM › Error: Unauthorized arthur@Arthur:~/Desktop/project_chat_application-master/client$ sudo netlify deploy --auth=swWF-o8-tps0FS4CC2XpZiMeC8iOp0edU33GBRLR6iM › Error: Unauthorized arthur@Arthur:~/Desktop/project_chat_application-master/client$ sudo netlify deploy Logging into your Netlify account... Opening https://app.netlify.com/authorize?response_type=ticket&ticket=43a32066e757b23b7d8e606a93899572 › Error: Timed out waiting for authorization. If you do not have a Netlify account, please create one at https://app.netlify.com/signup, then run netlify login again. arthur@Arthur:~/Desktop/project_chat_application-master/client$ netlify status ──────────────────────┐ Current Netlify User │ ──────────────────────┘ Name: Arthur Email<EMAIL_ADDRESS>Teams: Arthur's team: Collaborator arthur@Arthur:~/Desktop/project_chat_application-master/client$ netlify help

netlify CLI deployment error: error Unauthorized

Hi @linuxandroid-xyz, can you update the title of the issue to describe the problem you're experiencing?
Also can you try ntl logout, then ntl login?


UIA: 	fix HwndWrapper.set_focus, small cleanups

This PR should fix issue #240, I added a special unit test (test_issue_240) reproducing the problem. Hopefully the fix can also help with AttachThreadInput problem reported in #209

Current coverage is 94.64% (diff: 100%)

Merging #241 into UIA will increase coverage by 0.01%

@@                UIA       #241   diff @@
==========================================
  Files            47         47
  Lines         19058      19066     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          18034      18045    +11
+ Misses         1024       1021     -3
  Partials          0          0

Powered by Codecov. Last update 4a7ac80...b2998c9


make sample compatable with spring boot 2.4.x

com.microsoft.azure:azure-media;0.9.8 uses com.microsoft.azure:adal4j;1.2.0 which has version conflicts with Spring Boot 2.4.x.
To make the sample compatable with Spring Boot 2.3.x, this pr rollbacks the version of the conflicted library com.nimbusds:oauth2-oidc-sdk to 5.64.4.

/override check - enforcer

/check-enforcer override


Colon-contained completion glitches

When I type a text that contains colon(:) and push tab to complete result glitches like this.
$ yarn test # push tab key
$ yarn test:e2e # ok, this is expected

$ yarn test: # push tab key
$ yarn test:test:e2e # completed text comes after colon

macOS 10.14.3
bash 5.0.3

My laptop is running the same OS and bash version as you list and I don't have this issue. Could be an issue with your bash initialization and/or shell options. Hard to know for sure.

Thank you for your hint! I found the solution here.
https://gist.github.com/stecman/6cc2769b135f272b673a#file-bash_completion_fill-sh-L194


fix: wagmi smart account excessive network requests

Description
When switching to smart account the wagmi adapter causes excessive network requests that's not needed. This results into getting 429 errors.
Type of change

[ ] Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues
For Linear issues: Closes APKT-1302
Showcase (Optional)

Checklist

[x] Code in this PR is covered by automated tests (Unit tests, E2E tests)
[x] My changes generate no new warnings
[x] I have reviewed my own code
[x] I have filled out all required sections
[x] I have tested my changes on the preview link
[ ] Approver of this PR confirms that the changes are tested on the preview link

We went from having 74 requests to 14 requests. These 14 requests are not spam requests and can be reduced from secure site if needed.


cli: handling of ctrl-c does not consider singularity containers

Now that #537 has been merged, we need to extend its behavior so that it also takes into account singularity containers

In Singularity , the container are not persistent. They automatically get removed after the execution stops. They are automatically instantiated and automatically destroyed.


Use recall but not redirect for not confirmed users

Hi!
I've found that behaviour differs when signing-in with invalid params or with locked account and when account is waiting to be confirmed. In first to cases it uses :recall strategy for warden and renders page immediately. But in last one it performs redirect.
I've tried to change activatable hook and pass recall to throw, but it seems to try authorize user again when rendering new.
Why does not Models::Confirmable define #valid_for_authentication? same way Lockable does it? Should it be fixed?

Hello @printercu, thanks for your report.
Can you provide us a sample application that reproduces the issue in isolation?
That would help us find the issue.
Thank you!


icon font family property not working : family="font-awesome"

Expected Behavior

I was expecting the Icon.js module to be able to use the family property with the " "family: 'font-awesome' " not  " family: 'material-icons' "
Current Behavior for material-tailwind-dashboard-react-main > Component > Setting.js

it always uses the default setting for material-icons
Icon.defaultProps = {
family: 'material-icons',
size: 'base'
};
Possible Solution
to make it work I had to modify
Icon.defaultProps = {
family: 'font-awesome',
size: 'base'
};
in
node_modules > @material-tailwind > react >Icon.js line 81 otherwise I can not use fontawesome
then I restarted the app for it to be effective
Your Environment

yes my public > index.html includes these lines
<link
  rel="stylesheet"
  href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
  integrity="sha512-HK5fgLBL+xu6dm/Ii3z4xhlSUyZgTT9tuc/hSrtw6uzJOvgRr2a9jyxxT1ely+B+xFAmJKVSTbpM/CuL7qxO8w=="
  crossorigin="anonymous"
/>

Version used: 14
Browser Name and version: Chrome
Operating System and version (desktop or mobile): Linux
Link to your project: localhost only... sorry

Hi @lemarcgagnon
I've updated @material-tailwind/react and now you can use any type of icon fonts you want.
All the best,
Sajad


How to configure proxy

Can you add an example to showcase how to add proxy settings for external http or https?

Refer to the Microservice SDK guide in the subsection for Proxy variables.


Darn – that slash command didn't work (error message: 500_service_error).

I'm getting this error: Darn – that slash command didn't work (error message: 500_service_error)when i try to use slash command in slack.
Expected Behavior
it should return some values upon entering slash command.

Can you provide the SDK language and version that you are using? Can you also provide your code and what you are typing when you receive this error?

Script is in Ruby
i'm using /jiraget issue key when i get this error

require 'json'
require 'sinatra'
Dir["#{dir}/lib/*.rb"].each { |file| load file }
not_found do
status 404
'Seems like you are lost'
end
get '/' do
status 200
'Running OK'
end
post '/jira' do
content_type 'application/json'
return 401 unless request[:token] == ENV['SLACK_TOKEN']
status 200
text = request[:text].strip
channel = request[:channel_name]
if text.empty?
{text: 'Please provide jira ID'}
else
jira = get_jira_details(text)
data = build_slack_message('in_channel', 'jirabot', "##{channel}", nil, ':robot_face:', '')
data['attachments'] = [{
color: '#36a64f',
fallback: 'Oops!, something went wrong',
title: jira[:summary],
title_link: "#{ENV['JIRA_URL']}/browse/#{text}",
fields: [
{
title: 'DefectID',
value: jira[:id],
short: true
},
{
title: 'Reporter',
value: jira[:creator_name],
short: true
},
{
title: 'Priority',
value: jira[:priority],
short: true
},
{
title: 'Status',
value: jira[:status],
short: true
},
{
title: 'Platform',
value: jira[:platform],
short: true
},
{
title: 'Found In Build',
value: jira[:found_in],
short: true
},
{
title: 'Device Affected',
value: jira[:device_affected],
short: true
},
{
title: 'Fixed In Build',
value: jira[:fixed_in],
short: true
},
{
title: 'Operating System',
value: jira[:operating_system],
short: true
},
{
title: 'Assignee',
value: jira[:assignee],
short: true
},
]
}]
data
end.to_json
end

i'm using this for Slack-Jira integration so fetch issue details upon request

@Priyanka4 This forum is for support questions about the BotBuilder SDK for .NET or Node.js -- Ruby is not currently a supported language.


Website Status Checker

Is your feature request related to a problem? Please describe.
I often check the status of my site and don't want to go to the site
Describe the solution you'd like
A quick little script that checks the status of a website
Describe alternatives you've considered
You can go to the website yourself but the script is more fun!
Additional context

Also happy to work on this if assigned to me


A database error occurred whilst loading permissions data.

Description
Hello! I have my own SMP MineCraft modded server and I'm having some problems at creating it.
Well, basically, the lug-in "Luck-Perms" is the things that's making no player get into the server. Me and the people who are creating the MineCraft server, we're trying to enter it, but it always appears a crash on the console
https://pastebin.com/0ya4tK0n
Reproduction Steps
I put the mods and plugins and luckperms start the server didn't show crash, so I went to enter the server and there was error
Expected Behaviour
I thought that with working mods and plugins I would be able to get onto the server, but that wasn't the case.
Server Details
1.18.2
LuckPerms Version
5.4.119
Logs and Configs
No response
Extra Details
No response

https://pastebin.com/0ya4tK0n

While hybrid software are not supported, the root cause of the issue appears to be related to a locked file:

Caused by: org.h2.mvstore.MVStoreException: The file is locked: /home/container/plugins/LuckPerms/luckperms-h2-v2.mv.db [2.2.224/7]

Without further details about your server environment and setup, it's challenging to pinpoint the exact cause.


default size of OS disk

Would you please add about default size of OS disk to "Operating system disk"?
I found the following description in the following link, and I couldn't find the information in any other pages as far as I checked.
"When you create a new virtual machine (VM) in a Resource Group by deploying an image from Azure Marketplace, the default OS drive is often 127 GB (some images have smaller OS disk sizes by default)."
Expand the OS drive of a Windows VM in an Azure - Azure Windows Virtual Machines | Microsoft Docs
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/expand-os-disk

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

ID: 0b304db6-375e-863e-2260-64cde160404c
Version Independent ID: b5571acc-5870-cf3f-e9bf-47363ac3899a
Content: Tutorial - Manage Azure disks with Azure PowerShell - Azure Windows Virtual Machines
Content Source: articles/virtual-machines/windows/tutorial-manage-data-disk.md
Service: virtual-machines-windows
Sub-service: disks
GitHub Login: @cynthn
Microsoft Alias: cynthn

@kazshi , Thanks for raising the issue. We will investigate and update you.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


Hide button - line to the left?

The items in the bar have a line separation, but not the hide button. I think it should. Else it almost looks like it's a part of logout.
The line to the left should only be there when the menu is shown, not when hidden.

Can you post a screenshot?
I seem to have all of them:

Ahh sorry, just after commenting I realized that you don't mean the visible/invisible switch, but the x-btn

Yes, I mean the X-button. Looking forward to it.

Also solved on the dev branch.


xbacklight reports "No outputs have backlight property"

Issue description
The xbacklight utility errors out on 19.03 with:
 $ xbacklight -set 800
No outputs have backlight property

And if I specifically define the Monitor following error happens:
xbacklight -d eDP-1 -set 800
RANDR Query Version returned error -1

I noticed that after upgrading to 19.03 my monitor device names changed from eDP1 to eDP-1 and so on. It probably has something to do with that.
I used the 5.0 Kernel and the 4.19.35-hardened Kernel both had the same issue.
On Debian there is anopen issue on that from 2016:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833508
Technical details

system: "x86_64-linux"
host os: Linux 5.0.8, NixOS, 19.03.172286.8ea36d73256 (Koi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2.2
channels(root): "nixos-19.03.172286.8ea36d73256, nixos-unstable-19.09pre175916.1fc591f9a5b"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I fixed it. The solution is to use acpilight which has a binary with the same name called xbacklight so the old xorg.xbacklight has to be removed. On top of that   hardware.brightnessctl.enable = true; has to be enabled and your user has to be added to the "video" group. After that xbacklight -list should return all controllable displays

A much faster alternative to the acpilight package is light.

For future searchers... @Luis-Hebendanz 's comment above got me 90% there, but I initially received the error:
/run/current-system/sw/bin/xbacklight: [Errno 13] Permission denied: '/sys/class/backlight/intel_backlight/brightness'

It was easy enough to chown the file to root:video and chmod it to 0664. This, combined with the above, solved the problem for me.


maps/lbmap: protect service cache refcount with concurrent access

As updating services can modify the lbmapCache the mutex to access the
same bpf map should be held before modifying the cache. Without it we
can risk to have the bpf map out of sync with the lbmap cache.
Fixes: 2766bc127368 ("daemon,lbmap: Do not update legacy svc if they are disabled")
Signed-off-by: André Martins<EMAIL_ADDRESS>Fix possible out-of-sync service backends from user space to bpf map

This change is

test-me-please

Coverage increased (+0.01%) to 44.578% when pulling 6344b60933afa904192ef76d32e6359d53a91540 on pr/fix-out-of-sync-lb-map into d0db460d55f89f33f740b725c8f1a696c2347e51 on master.

This seems to be unnecessary, as lbmapCache has its own lock, and both cache.addBackendIDs() and cache.prepareUpdate() take that lock.

@aanm Adding needs-backporting/1.4, as in v1.4 cache.prepareUpdate() is being called before taking the lock.


Can I set multiple node_modules paths in CJS?

I'm working on a small project, and I create multiple projects in the app and each has an independent node_modules folder.
But, I only need one global node_modules, not node_modules, for each project.
But in graaljs
Only one js.commonjs-require-cwd can be configured. Can I specify more than one of these options?

Hi @archethic. You can only specify one path for js.commonjs-require-cwd  per context.


TypeScript definitions

We manually created d.ts files for bitbox, saved in the "typings" folder.
A postbuild npm script was updated so that these files are copied to lib for distribution.
I linked this branch locally via npm link bitbox-cli with the latest chainbet TypeScript project and dice.js example and everything compiles to JS and ran for me.
These type definitions should have no impact on your current code base.  They simply provide TS support for anyone interested.  Setting up a new ts project adds a little bit of overhead and getting used to, let me know if you want some help checking out the dice.js example.

@gitcash tip 702040 satoshis to @jcramer

Hey jcramer, user cgcardona tipped you 7020 bits in Bitcoin Cash ( ~ $4.9213 ).
Click here to claim it!
You can also add the :-1: reaction to cgcardona's comment above to prevent future tips.


screenshotFolder paramter

Solves #36
Removed the dependence of the screenshotFolder parameter in the config file.

@Kartikeya99  fix conflicts here, please


Add support for Raspberry Pi Pico RP2040 board

Sorry for closing and reopening this PR. I was cleaning up my fork to be forked from this repo.

This PR provides the files to run apollo on the Raspberry Pi Pico.
Compile with
make APOLLO_BOARD=raspberry_pi_pico

Pin Map
	TMS_GPIO = 5,
	TDI_GPIO = 3, // MOSI
	TDO_GPIO = 4, // MISO
	TCK_GPIO = 6, // SCK

I also got code for other RP2040 boards, but they aren't supported yet in the upstream tinyusb.

I can't reproduce the failed build on my machine.

The copyright and license notice are currently still very inconsistent. Do you have a preference on what to set them to?

Thank you so much for the contribution!


only firefox takes browser. all the others take chrome

tested with various browsers

Hello Alan!
Thank you for your pull requests!
You're absolutely right, since SAML tracer is being converted to a Web Extension it's a great opportunity to make this tool available to browsers, too. I had this in mind as well, but not yet.
Let me explain why: Right now I'm still converting the existing extension (see my pull request to the original repo). There are still some features missing (which might be implemented with subsequent pull requests), but even worse, there are also some fundamental things not yet in place (see Thijs' comment and below).
I think it'd be a good idea to first finish the actual conversion and add additional features afterwards. I wouldn't mix these two topics (which I'd do if I merged your pull request into mine). Despite the code changes are really minimalistic, I think it's still a big deal to support multiple browsers, and for clarity's sake this should come in it's own pull request back to the Uninett repo.
I hope I have expressed myself in a reasonably understandable way :-)

yes, okay - we can keep a separate branch for the 'working on multiple
browser' - the good news is that right now (with those minimal changes)
the current stuff does indeed work the same on Chrome and Opera....which is
great. just need to be aware of the Firefox oddities.
first priority is that the extension works in Firefox as it used to
second is that it works, using Web Ext API on all the browsers...no more
different plugins needed, just the one resource
alan

Hi Alan!
Sorry, I'm afraid I accidentally deleted the branch associated to your pull request. Could you please submit it again?

Hi Alan!
Sorry, I'm afraid I accidentally deleted the branch associated to your pull request. Could you please submit it again?

@alanbuxey may I ping you again? ;-)

ping received - sorry for the delay - I've been busy with other things.
sure, I'll get a commit over to you again - I believe this is just the
basic things required to get
SAML-tracer working under other browsers - it was only a few lines here and
there.
alan

Never mind :) sorry for the delay that I put in this.

hi,
had some spare time so made some new commits and sent a pull request to
your repo.
cheers
alan


engine: convert Envoy exceptions to crashes

Description: More than once we've been bitten by a complete failure to start up manifesting as a simple log statement and then broken software that simply continues to run without networking. There's maybe an argument to be made for making this configurable, but for now, making exceptions fatal seems like a saner default.
Risk Level: Moderate
Testing: Local & CI
Signed-off-by: Mike Schore<EMAIL_ADDRESS>

This will generally allow broken integration tests to fail faster as well, as opposed to them often waiting out the timeout.

thanks @rebello95!


writeData fails if table schema is not default

I filed an issue here and here.
Reading works fine from any table. Writing only works if the table schema is the DB default. I've been working on it with Joe and Jeff. We've been using RODBC's sqlSave as a workaround.

Issue moved to HealthCatalyst/healthcareai-r #492 via ZenHub

This issue belongs to the R repo


Feature Request: ESP32 calls the ESP-IDF TWAI driver implementation

Hi @sandeepmistry,
I was just wondering if any thought has been given to updating the ESP32 support to call the ESP-IDF TWAI driver API instead. Calling the ESP-IDF driver will allow the ESP32 Arduino users to get support for the new HW features (in the ESP32-S2) and the HW errata workarounds. We can create a PR for this update if that is OK with you.

This would also be useful for the ESP32-C3 which also uses the TWAI driver.

@Dazza0 - If you have code for a pull request that would work, I'd love to be able to use it. I'm not affiliated with arduino-CAN, but we're trying to use an ESP32-S3 with CAN, and would love to stay in Arduino land. Can you post a repo?
Thanks!

this is the idf TWAI implantation
Try This one i try it with S3
https://github.com/Sheimy/TWAI_S3_LISEN

@Sheimy How do I use the TWAI library with the Arduino IDE? I have tried to use a project by Morcibacsi called PSAWIFI but it does not work on the current ESP32 Devkit V4. Nothing appears at the CanTX pin. I think the board is not compatible with the older CAN library by Sandeep Mistry.


No matching version found for<EMAIL_ADDRESS>

For initial install, it keeps expecting No matching version found for<EMAIL_ADDRESS>even thou it does not exist.  Looks like it's hardcoded somewhere.
Environment

npm version: 6.9.0
node version: 11.13.0
yarn version: 1.15.2
Steps to reproduce
Reproduce

npx create-react-app sample
It will then post

it will default to select 7.6.3
cd sample
yarn install

Expected behavior
Expect it not to display the message again or not display it in the first place.
Actual behavior
Since 7.6.3 was selected, I expect for this message not to appear again.  Even if you select any other version it defaults to always displays
Couldn't find any versions for "@babel/generator" that matches "^7.6.4"

The problem is that when i try to initial a storybook via
npx -p @storybook/cli sb init

it complains:

I'm not seeing this on a fresh install. You're running npx create-react-app my-app? We don't reference @babel/parser.

Have a similar problem.
No matching version found for<EMAIL_ADDRESS>Can't even create a project...


Automatic install of v0.60.1 doesn't run

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
When v0.60.1 is downloaded and ready to install, click 'Install now'.
✔ Expected Behavior
Update should begin.
❌ Actual Behavior
PowerToys UI closes after 1s but nothing else happens. The app doesn't stop, so I can open it again from the tray, click 'Install now', then the UI disappears again. PT and Win was restarted - no luck.
Other Software
Windows 11 Pro 21H2 22000.795.

To me it doesn't close the UI. It just displays this error:

Same here. Failed to update from v0.57.2

Got a similar problem as well, and you might want to try to fix it with what I came up with in this post:
https://github.com/microsoft/PowerToys/issues/19588#issuecomment-1197404945

/bugreport

@hellsing71, I ended up posting another issue on this with a video. Could you confirm if it's the same issue you are having?
#19876


Kotlin Recipe DSL

At ING we have been talking about implementing a Kotlin DSL for Baker. I want to use this “issue” to centralize our discussions so anyone in the OSS community can partake.
Rationale
When using Baker in a Kotlin project, you define your recipes via the javadsl. Since Kotlin inter-operates with Java, this works perfectly fine. Thus, a Kotlin DSL isn’t a must-have feature. However, having a Kotlin DSL would enable us to provide a better user experience when using Baker in a Kotlin project.
Some advantages that come to mind are:

Being able to use Kotlin language features like reified type parameters means we can get rid of all the ::class.java noise.
By using the Kotlin reflect library we could get rid of the need to use annotations like  @FiresEvent, @FiresOneOfEvent, and @RequiresIngredient.
A more idiomatic look and feel.

Challenges
When talking about this feature we identified two main challenges.

We would like the Kotlin DSL to be part of the Baker OSS codebase, meaning we need a way to build Kotlin code with sbt. After some investigation we found this plugin, but it did not work for tests. @wilmveel has been looking into this and made some fixes for this issue. We need to determine who/where/how we want to maintain this plugin.

Though the actual implementation of a DSL is not complex, designing a DSL that is intuitive to use might prove difficult. It will probably take a couple of iterations before we have something that looks good. To help us we can use existing projects like Compose Multiplatform  as guidance.

Rough Draft
This draft is by no means feature complete, and just serves as a starting point for further discussions. I'll add more details later.
recipe("ExampleRecipe") {
    sensoryEvents {
        event<SomeEvent>()
        eventWithoutFiringLimit<AnotherEvent>()
    }
    interactions {
        interaction(Interactions.One::apply)
	interaction(Interactions.Two::apply)
	interaction(Interactions.Three::apply) {
	    requiredEvents {
	        event<Boolean>()
		eventWithName("Banana")
	    }
	    failureStrategy = RetryWithIncrementalBackoff(
	        initialDelay = 100.millis
		deadline = 10.minutes
		maxTimeBetweenRetries = 10.seconds
	    )
        }
    }
}

Sensory Events Proposal
In the Java DSL there are 5 different methods available related to sensory events:

withSensoryEvents(vararg class<T>)
withSensoryEvent(class<T>, maxFiringLimit)
withSensoryEvent(class<T>)
withSensoryEventNoFiringLimit(class<T>)
withSensoryEventsNoFiringLimit(vararg class<T>)

For the user this boils down to two options: you can either define events with a firing limit, or without firing limit.
The sensory events DSL could look like this:
sensoryEvents {
    event<SomeEvent>()
    event<MyEvent>(firingLimit = 4)
    eventWithoutFiringLimit<YourEvent>()
}

One of the advantages that is also that in a DSL like this, since it is method based instead of a method chain like the Java DSL, is that you can more easily combine it with code. For example, if some parts are conditional, you can combine it with an if / when expression. Or if you have some parts in your recipe that are partially duplicate, you can extract it into a method.

for things that have only one value in an interaction it might be better to use a val property instead of a method. To express it more clearly that it can be assigned only once
interaction(ReserveItems::apply) {     name = "reserveItems"     maximumInteractionCount = 10     failureStrategy =  	retryWithDeadline( 	    ... 	    ... 	)


Rest spread in constructor causes abort

I tried this:
class Foo {
  constructor ({ ...bar }) {}
}

I expected to see this happen:
The constructor would be compiled like a normal function with rest params
Instead, this happened:
fatal runtime error: failed to initiate panic, error 5
[1]    69697 abort      npx swc test.js

I'm using 1.0.20

Fixed with<EMAIL_ADDRESS>


feat(*): init word add-in

@irmerk

assets/icon-16.png
assets/icon-32.png
assets/icon-80.png

I tried removing them but currently the schema forces us to have 16x16, 32x32 and 80x80 images for icon. It is written here. https://docs.microsoft.com/en-us/office/dev/add-ins/develop/add-in-manifests?tabs=tabid-1#manifest-v11-xml-file-examples-and-schemas

@irmerk I suppose now only the README has to be edited.


Removed side effect from typeid call (ref #236)

Can build it now with -Werror=potentially-evaluated-expression

Why const std::type_info& type_info() const; instead of const char* type_name() const;

@thepowersgang indeed

Seems to be missing the deref - You used typeid(m_ptr) instead of typeid(*m_ptr)

@thepowersgang this way it fails like:
src/ast/expr_ptr.hpp:46:44: error: 'typeid' of incomplete type 'AST::ExprNode'
    const char* type_name() const { return typeid(*m_ptr).name(); }

The implementation needs to be in expr_ptr.cpp (or wherever the destructor implementation is)

@thepowersgang thanks!

Have you tested that the debug output is still good/useful?

@thepowersgang all => nope, some => yes; but as you pointed with *m_ptr I defently did miss something.

@thepowersgang I've tested it via https://github.com/thepowersgang/mrustc/pull/279 and it produces good/useful debug output.


added bitonic sort

I added the bitonic sort.
I had to change the image width to a power of 2 to keep the code pretty.
My editor removes trailing whitespace from lines so there are more differences than you may wish, but the file is now cleaner.

Thank you for the contribution!
Don't worry for the whitespace, my code was just a mess

Thank you for the contribution!
Don't worry for the whitespace, my code was just a mess


Vaulted items

there are new unvaulted items/relics

Items are automatically updated, it takes a while for them to go through.