Enter Full Screen mode without a keyboard

I'd love to be able to test certain items on my phone, but I can't enter full screen without the keyboard. I know I can test most items by just resizing the window, but I'd also like to test how certain items look with a keyboard taking up 1/3 of the screen etc.
Thoughts?

Yeah I know. This is a pain. We will need to implement a mobile UI.

cc @mnmtanish

Do you want me to repost in storybook-ui? After some digging, I realize now that is the repo where this change would happen. I don't think the problem is getting into fullscreen (make the icon in the popup a button) but then getting back out

@aray12 Good question. May be we need to support the shake event or a long press event on the screen.

After some thought, it might be a good idea to completely rethink the approach for mobile. Responsive development is only becoming more important and in a perfect world I would see my components in both desktop and mobile (using something like browser-sync) simultaneously as I build for the basic visual testing. I noticed in #378 that you use storybook to match design which is exactly how we use it as well. But the mobile experience is lacking in storybook

the use of shortcuts means that browser-sync cannot keep them in sync (it syncs clicks)
the iframe has broken some of my css in mobile (banging my head over a bug that was gone as soon as I used the component in the actual app)
UI just wasn't built for mobile

I love using storybook and it has tremendously improved productivity and transparency, but I have found myself considering building a custom implementation. But that would take a bit of work to be as useful. One idea I had was, what if you guys extracted the logic that pulls together all of the stories into its own package so that people could build their own UI on top of that.
Pros

People could have their own branded version
No need for iframes

Con

Not as plug and play as the current setup

This is obviously not fully thought through. The point is rethinking approach for mobile. Any thoughts? Also how do you guys dev for mobile?

Iframe certainly is problematic with Storybook. To me it would make more sense to

have general page with navigation column where React components are rendered to some container (main column)
have component specific page (pure component -> i.e. what currently is shown inside iframe).
-> addon related info etc. should be showed on off-screen canvas.

It could be solved by adding this #867 feature.
At the moment I'm working on moving https://github.com/storybooks/storybook-ui/issues/69 into a monorepo


docs: Fix incorrect code line in angular motion tutorial

Summary
In the angular motion tutorial, the code snippet explaining the params struct lists the default value for max speed as 120, when it should be 127.
Motivation
N/A
Test Plan
N/A
Additional Notes
N/A

Download the template for this pull request:

[!NOTE]
This is auto generated from Add Template to Pull Request

via manual download<EMAIL_ADDRESS>via PROS Integrated Terminal:

curl -o<EMAIL_ADDRESS>https://nightly.link/LemLib/LemLib/actions/artifacts/2362118912.zip;
pros c fetch<EMAIL_ADDRESS>pros c apply<EMAIL_ADDRESS>rm<EMAIL_ADDRESS>

LGTM


Report contributions

Report individual contributions made by each team member

UO264207's contributions

Miguel Rodriguez Huerta - UO258629 contributions

Violeta Ruiz Martínez - UO258454 contributions

Clara Miranda García - UO264958 contributions

Andrés García Celis - UO264345 contributions

My contributions: fernandossmm #219

My contributions: Alejandro


📱🍎 feat: PWA on iOS

Summary
close #1600

Change Type

[x] New feature (non-breaking change which adds functionality)

Testing
Tested on iPadOS 16.7.2
Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] My changes do not introduce new warnings

Awesome, thank you!


Conda install

Hi,
Are you able to provide directions on how to use conda to install?  I have multiple virtual environments (with diff python versions than base/root..), so pip a bit dicey to use.  But I'm not really sure how to use conda to do it...
Thanks!

Check the conda docs for how to build a conda package if you don't want to use a wheel. I seem to recall the recommendation for using wheels with conda is to use "pip install --no-deps " when the dependencies are already installed using conda. For this project the only dependency you need to install is jupyter.


Iterable interface for IOperation

Add an iterable interface for IOperation. Iterators provide a convenient way to process results using for await .. of loop.
Two new methods are offered:

IOperation.iterateChunks() - allows to process results like the one would previously do using hasMoreRows + fetchChunk in a loop;
IOperation.iterateRows() - allows to enumerate individual rows.

Both methods take the same options as IOperation.fetchChunk. In addition, setting autoClose: true will close the operation when iterator is finished. By default this option is false (do not close operation after enumerating).
Due to its nature, IOperation can only supply chunks of records. It means that iterateChunks is more efficient than iterateRows, because the latter internally also takes chunks and uses nested loop to walk over the rows. But iterating over rows seems to be quite a common use case for the library, therefore iterateRows was also added for convenience.
Important. Since query results can be only retrieved sequentialy from beginning to the end, attempt to use multiple iterators on the same operation may result in unpredictable behavior. Stick with a straightforward use case, when a single for await .. of loop is used to walk through all results from beginning to end. It is allowed to use a break statement within the loop, but after that don't attempt to use iterators for that operation again.

Codecov Report
Attention: Patch coverage is 9.37500% with 29 lines in your changes are missing coverage. Please review.

Project coverage is 91.45%. Comparing base (c00f72e) to head (7f5ebaf).

Files
Patch %
Lines

lib/utils/OperationIterator.ts
6.89%
27 Missing :warning:

lib/DBSQLOperation.ts
33.33%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
- Coverage   93.18%   91.45%   -1.73%
==========================================
  Files          63       64       +1
  Lines        1525     1557      +32
  Branches      266      271       +5
==========================================
+ Hits         1421     1424       +3
- Misses         41       70      +29
  Partials       63       63

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.32%. Comparing base (c00f72e) to head (777a9d1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
+ Coverage   93.18%   93.32%   +0.14%
==========================================
  Files          63       64       +1
  Lines        1525     1558      +33
  Branches      266      271       +5
==========================================
+ Hits         1421     1454      +33
  Misses         41       41
  Partials       63       63

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.83%. Comparing base (1fd9e1e) to head (884fdf7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
+ Coverage   92.68%   92.83%   +0.15%
==========================================
  Files          64       65       +1
  Lines        1545     1578      +33
  Branches      273      278       +5
==========================================
+ Hits         1432     1465      +33
  Misses         47       47
  Partials       66       66

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

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.06%. Comparing base (c239fca) to head (5e8744e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
+ Coverage   92.91%   93.06%   +0.14%
==========================================
  Files          64       65       +1
  Lines        1553     1586      +33
  Branches      275      280       +5
==========================================
+ Hits         1443     1476      +33
  Misses         46       46
  Partials       64       64

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


Moderation cog cleanup

This is not extensively tested. I am hoping for others (i.e. the reviewers) to help out in this regard considering the importance of these cogs.
This aims to reduce redundancy and code density in the moderation cog.
The moderation cog was split in two: Infractions in infractions.py and ModManagement in management.py (contains infraction search and edit commands). They were then moved to a moderation sub-package along with ModLog and Superstarify. The sub-package now acts as the extension for all four of these cogs. utils/moderation.py was also moved inside the sub-package as moderation.utils.py.
To facilitate this move, custom category support was added to the help command. This allows the Infractions and ModManagement cogs to appear under the Moderation category in the help command's output.
Behaviour
Just to define some terms:

confirmation message - A message sent to the invocation context of the command. It shows if the command was successful.
appyling infractions - Doing a ban, a mute, a kick, or a warning and any shadow/temporary variations.
pardoning infractions - Doing an unmute or unban.

Error Handling

When applying infractions, most errors are deferred to the regular error handler
The Forbidden exception is currently the only caught exception when applying infractions
When pardoning infractions, the errors will be displayed in the confirmation message and the mod log

Displaying them in the mod log allows for errors which occur during automatic expiration to also be seen easily in Discord

If multiple active infractions exist when pardoning and an error occurs when trying to remove them, the error will simply say to check the bot's logs (i.e. stdout in the console)
If an automatic expiration fails, the moderator role will be mentioned in the mod log. Failures for not finding the user or the ban on Discord are excluded as the intention of the mention is to prevent infractions from being stuck.

Confirmation Messages

A message is sent to the invoking context specifying if the action failed or suceeded
For applying infractions, the failure message will be generic
When pardoning, the error messages will be appended to the confirmation message
Expiration date is shown in the confirmation

If the infraction is permanent, "permnanetly" is shown instead
No expiration is shown if the infraction fails to apply

DM Notifications

A mail emoji is shown in the confirmation message when DM is sent
The mod log shows a DM status (sent/failed)
The actor is mentioned in the mod log when a DM fails to send
If it's a shadow infraction, no emoji is shown and the DM status is absent from the mod log

Mod Log

A mod log is always sent for applying and pardoning infractions, even when done automatically for expired infractions
The events are always ignored in the mod log to prevent the default messages from showing
The title will show the infraction type and whether it failed or succeeded
Manual pardons and automatic expirations are distinguished in the title
Automatic expirations will show the bot as the actor

Miscellaneous

Pardoning/expiring infractions will now have reasons in the audit log which mention the infraction ID
When pardoning/expiring an infraction, if one step fails, the others will still be executed. This means that if, for example, the mute role fails to be removed, the PATCH request will still be sent to the API and the expiration task will still be cancelled.

Todo

[x] Find a nice way to generalise pardoning infractions (unmute and unban)
[x] Move extensions to a moderation subpackage.

[x] Moderation cog will be in infractions.py and Infractions cog will be in management.py
[x ] Create a new group attribute for cogs so that the help command shows all grouped modules under a single name

[x] ~Consider how this affects the reload command. Should they even be separate extensions or part of a single moderation extension?~ Part of a single moderation extension.

[x] Possibly move other extensions here (~watchchannels~, superstarify, and modlog)
[x] Move utils/moderation.py to cogs/moderation/utils.py

Should only contain utility functions that are used by several modules or that could be in the future. Module-specific utilities should remain in their corresponding modules.

~Write unit tests?~ May be better to save for a future PR.

Manual tests for apply_infraction()

[x] DM not sending

[x] Confirmation message doesn't have mail emoji
[x] Actor is mentioned in mod log
[x] DM status shows as failed in mod log

[x] DM sending

[x] Confirmation message has mail emoji
[x] Actor is not mentioned in mod log
[x] DM status shows as sent in mod log
[x] User recieves DM

[x] Expiry correctly formatted
[x] Icon correctly corresponds to the infraction type

[x] Shadow infractions

[x] No DM status in mod log
[x] User does not recieve a DM

[x] Mod log

[x] Mod log is sent
[x] Title appropriately indicates when the infraction failed to apply
[x] Icon correctly corresponds to the infraction type
[x] Mentions the actor when applying the infraction fails

[x] Confirmation message

[x] Success

[x] Shows OK hand emoji and a message of affirmation
[x] Mentions the user
[x] Shows "permanently" for expiry if duration unspecified

[x] Failure

[x] Shows X emoji and an appropriate message
[x] Does not show expiry

[x] Test temporary infractions

[x] Expiry is shown in mod log w/ correct format
[x] Infraction is scheduled and does indeed expire
[x] Expiry is shown in confirmation message w/ correct format

The infraction search and edit commands should be separated from the moderation cog and put into a new cog. Should both the moderation and the new cog be moved into a moderation-related subpackage (moglog could go in there too)? If so, what would the package be named and what would the modules (yes, I mean the modules, not the cog classes) be named? Would the contents of utils/moderation.py be moved to the subpackages __init__?

I can understand the logic behind splitting the moderation cog up to make it more manageable in the files, but having to put infr search and edit into an entirely different command category (user-facing) doesn't make much sense to me. Infraction management fits perfectly under the category of "Moderation", so I'm not sure I'm a fan.

OK, that's fine. I don't really care for splitting the cogs. Really I just want to split the code - the modules. It could be implemented in such a way that it's one cog but two modules.

This was discussed further in-server and it was decided splitting the cogs is fine under the condition that we support setting a category for a cog explicitly for help output, which should be a simple thing to support.

Great job, thanks!

I'm working on resolving the conflict caused by #486. I want to just replace all the redundant infraction deactivation code it brings with a call to self.deactivate_infraction(). However, using this method has two problems, both caused by the role failing to be removed (which could be solved by re-adding the role before calling the method but that seems redundant):

The mod log will show as "failed". There is already an parameter to disable sending the mod log. However, some mod log probably should be sent and writing separate code for that is easy but just feels redundant and thus not ideal.
Because the DM is sent after the role is removed, the role removal failing means there won't be an attempt to send a DM. Generally, I think this is desirable behaviour. However, this specific case would be an exception.

Does anyone have ideas for clean and non-redundant way to handle deactivating the infraction?

I'm working on resolving the conflict caused by #486. I want to just replace all the redundant infraction deactivation code it brings with a call to self.deactivate_infraction(). However, using this method has two problems, both caused by the role failing to be removed (which could be solved by re-adding the role before calling the method but that seems redundant):
1. The mod log will show as "failed". There is already an parameter to disable sending the mod log. However, some mod log probably should be sent and writing separate code for that is easy but just feels redundant and thus not ideal.

2. Because the DM is sent after the role is removed, the role removal failing means there won't be an attempt to send a DM. Generally, I think this is desirable behaviour. However, this specific case would be an exception.

Does anyone have ideas for clean and non-redundant way to handle deactivating the infraction?

One option is to split this method that does two things, removing the role from the member and requesting the API to mark it as inactive, into two methods that do one thing, optionally having the remove_role method call the mark_inactive (just filler names; I'd say you're activity is just fine), if we think that's a combination we always want to have. Another option would be to add a parameter for remove_role and an if check, but that feels messier to me and achieves basically the same (but with a greater cyclomatic complexity).
We would get the most flexibility if we were to add a third, wrapper, method and don't have the remove_role call the mark_inactive, but I honestly don't see a case in which we want to attempt to remove a role/ban, but not make sure it's also marked as inactive in the database.

@SebastiaanZ

One option is to split this method that does two things, removing the role from the member and requesting the API to mark an entry in the database as inactive, into two methods that do one thing, optionally having the remove_role method call the mark_inactive (just filler names; I'd say you're activity is just fine) if we think that's a combination we always want to have.

If the mute was split, it'd be something like this:
async def pardon_mute(self, ctx: Context, user: Member):
    self.mod_log.ignore(Event.member_update, user.id)
    await user.remove_roles(self._muted_role, reason=reason)

    # DM the user about the expiration.
    notified = await utils.notify_pardon(
        user=user,
        title="You have been unmuted.",
        content="You may now send messages in the server.",
        icon_url=utils.INFRACTION_ICONS["mute"][1]
    )

    return notified

However, splitting the function won't solve the issue of the DM not being sent on failure. As I said, normally we'd want the DM to not send if removing the role failed. Therefore, in this case, a try-except would need to be around the remove_roles call. How would it know when to ignore the exception and when to propagate it? Well, it'd need a parameter for that or a separate function definition which always exhibits such behaviour (this is redundant and not ideal).

Another option would be to add a parameter for remove_role and an if check, but that feels messier to me and achieves basically the same (but with a greater cyclomatic complexity).

I would prefer to not have such a parameter but it seems like it may be the better option given how convoluted and inter-connected this function already is.

I don't think I understand what you mean. From the fix you were referencing, I was under the impression we were talking about calling deactivate_infraction in the on_member_join event after finding an active mute infraction for the user in the database that has since expired.
If so, that means the user does not have the mute role, since they just joined the server. By splitting up the deactivate_infraction method into two methods, remove_role (related to the user's state on Discord) and mark_inactive (related to the infraction state in the database), we could then call mark_inactive and skip the remove_role function entirely. That way, we don't have to worry about a role and/or a DM, since they are not relevant for people (re)joining the server without any infractions that should be active.

So you don't think in that situation a user should be DM'd about being unmuted?

I don't really think it's relevant. The mute expired while the user was a member, so they don't get a DM of that.

I think you mean was not a member, but that make sense so I agree. Now I am wondering if we even want to show the expiration as failed in the mod log when the user already doesn't have the muted role or they don't have an active ban. Thinking about it now, it's actually technically still a success in the sense that they indeed are no longer affected by the infraction, which was the goal of the function.

I'm just going to go ahead and do that. It makes sense.

Turns out remove_roles does not fail if the user already doesn't have the role...


class_map when running train_inat.sh

Thanks for your great work! When I run train_inat.sh, I find class_map missing. Could you please help?

Hi @Jiejiegary
Please uncomment Line 383 to Line 389 in datasets.py which calculates the class_map for INAT-2018.
The same has been updated in the latest commit.
Thanks for your interest in our work!


get check-ebcdic test running after merge

it is now failing but hand-testing is all good

@IgorTodorovskiIBM i could use some help...
If I run the following:
#!/bin/sh
# Check of ICONV_EBCDIC_ZOS_UNIX environment variable.
set -e
set -x
host_os="$1"
iconv=../src/iconv_no_i18n

# This test is only meaningful when the EBCDIC encodings are included.
if true ; then

  if test "${host_os}" = 'openedition' ; then
    rm -f tmp-ok-lf tmp-ok-nel tmp-ok-x15 tmp-ok-x25
  fi

  sh -c "printf '\150\145\154\154\157\012' > tmp-ok-lf"
  sh -c "printf '\150\145\154\154\157\302\205' > tmp-ok-nel"

  sh -c "printf '\210\205\223\223\226\025' > tmp-ok-x15"
  sh -c "printf '\210\205\223\223\226\045' > tmp-ok-x25"

  if test "${host_os}" = 'openedition' ; then
    # On z/OS, make all the files 'untagged'
    chtag -r tmp-ok-lf
    chtag -r tmp-ok-nel
    chtag -r tmp-ok-x15
    chtag -r tmp-ok-x25
  fi

  # Check that by default, EBCDIC 0x15 maps to U+0085.
  export ICONV_EBCDIC_ZOS_UNIX=JUNK
  unset ICONV_EBCDIC_ZOS_UNIX

  $iconv -f UTF-8 -t IBM-1047 < tmp-ok-nel > tmp-out1
  $iconv -f ASCII -t IBM-1047 < tmp-ok-lf > tmp-out2
  /bin/cmp tmp-out1 tmp-ok-x15
  /bin/cmp tmp-out2 tmp-ok-x25

  $iconv -f IBM-1047 -t UTF-8 < tmp-ok-x15 > tmp-out1
  $iconv -f IBM-1047 -t ASCII < tmp-ok-x25 > tmp-out2
  /bin/cmp tmp-out1 tmp-ok-nel
  /bin/cmp tmp-out2 tmp-ok-lf

  # Check that with the ZOS_UNIX surface, EBCDIC 0x15 maps to U+000A.

  $iconv -f ASCII -t IBM-1047/ZOS_UNIX < tmp-ok-lf > tmp-out1
  $iconv -f UTF-8 -t IBM-1047/ZOS_UNIX < tmp-ok-nel > tmp-out2
  /bin/cmp tmp-out1 tmp-ok-x15
  /bin/cmp tmp-out2 tmp-ok-x25

  $iconv -f IBM-1047/ZOS_UNIX -t ASCII < tmp-ok-x15 > tmp-out1
  $iconv -f IBM-1047/ZOS_UNIX -t UTF-8 < tmp-ok-x25 > tmp-out2
  /bin/cmp tmp-out1 tmp-ok-lf
  /bin/cmp tmp-out2 tmp-ok-nel

  # Check that the ZOS_UNIX surface can be used with //TRANSLIT and //IGNORE.

  sh -c "printf '\357\275\210\342\204\257\360\235\232\225\360\235\232\225\342\200\242\012'" \
    | $iconv -f UTF-8 -t IBM-1047/ZOS_UNIX/TRANSLIT > tmp-out1
  /bin/cmp tmp-out1 tmp-ok-x15

  sh -c "printf '\150\145\154\154\157\342\202\254\012'" \
    | $iconv -f UTF-8 -t IBM-1047/ZOS_UNIX/IGNORE > tmp-out1
  /bin/cmp tmp-out1 tmp-ok-x15

  # Check that with a specific environment variable, EBCDIC 0x15 maps to U+000A.
  ICONV_EBCDIC_ZOS_UNIX=1
  export ICONV_EBCDIC_ZOS_UNIX

  $iconv -f ASCII -t IBM-1047 < tmp-ok-lf > tmp-out1
  $iconv -f UTF-8 -t IBM-1047 < tmp-ok-nel > tmp-out2
  /bin/cmp tmp-out1 tmp-ok-x15
  /bin/cmp tmp-out2 tmp-ok-x25

  $iconv -f IBM-1047 -t ASCII < tmp-ok-x15 > tmp-out1
  $iconv -f IBM-1047 -t UTF-8 < tmp-ok-x25 > tmp-out2
  /bin/cmp tmp-out1 tmp-ok-lf
  /bin/cmp tmp-out2 tmp-ok-nel

  rm -f tmp-in* tmp-out* tmp-ok*
fi

exit 0

under 'sh' as:
./check-ebcdic_EBCDIC openedition

then it runs clean.
Trying to run this under bash when the file is encoded in ASCII is causing me grief.
It would be good to see if there is a way to a) generate files from hex or octal bytes where no translation occurs and b) prevent all tagging.
Open to ideas of the best way to fix this up. This came originally from: check-ebcdic in the tests directory


Can't hide window header controls by changing window style to None

Describe the bug
In normal WPF window, you can hide title bar and disable (Minimize, Maximize and Close) buttons.
But in UiWindow, changing window style to none doesn't affect anything.
Actually, I want a fixed-size window, so I need to disable Maximize button, but there is no way to do that.
To Reproduce
Just change window style to None!
Expected behavior
It should hide title bar controls when you choose None as window style.
Screenshots
No response
OS version
Windows 11
.NET version
.NET 7.0
WPF-UI NuGet version
2.0.3
Additional context
No response

ShowMaximize

Where is it?

ShowMaximize is a property on ui:TitleBar, not ui:FluentWindow. If you don't already have a title bar, you will need to add one first.

Thank you. It works like a charm!


Add support for SameSite cookies.

This PR adds support for SameSite cookies.
The SameSite cookie attribute can have three states:

Not set at all
Set to Strict by SameSite=Strict or just SameSite
Set to Lax by SameSite=Lax

This should allow you to call set_cookie with samesite="Lax" or samesite="Strict".

This is a duplicate.


Uploaded Documentation and sample file for Garmin data upload

Secure Code Review Notes (OWASP review):
Credentials are being passed to 'garminconnect' library - please ensure this library securely stores and utilises credentials.
This script relies on the 'garminconnect' library to manage access control, please ensure this library properly enforces access control and sensitive operations are protected.
Please ensure that sufficient logging and monitoring is implemented if this code is utilised.
Approved and merged as this appears to be only sample code.


Windows property page shows old product version 1.11.0 and file version <IP_ADDRESS> for pugixml 1.11.1

because /scripts/pugixml_dll.rc was not updated to 1.11.1.

These versions are equivalent except for CMake target name, the patch only applies to build system infrastructure and doesn’t affect the build output.


[Feature Request] More Unescape Support

Description

Can you add new feature for unescape non-ascii chars
Like this; 0xc8, \u3010, \x72, ![]

Input
The code looked like this before beautification:
var x = {
    'leaderboardNick': {
        'Player': '\x72\x67\x62\x61\x28\x32\x32\x32\x2c\x20\x32\x33\x2c\x20\x38\x38\x2c\x20\x31\x29',
        '\u3010\u20B1\u20AC\u3011':  # FFF,
    },
    'emoticons': {},
    'indicator': ![],
    'indicatorMaxSize': 0xc8
};

Expected Output
The code should have looked like this after beautification:
var x = {
    'leaderboardNick': {
        'Player': 'rgba(222, 23, 88, 1)',
        '【₱€】': #FFF,
    },
    'emoticons': {},
    'indicator': false,
    'indicatorMaxSize': 200
};

Actual Output
The  code actually looked like this after beautification:
var x = {
    'leaderboardNick': {
        'Player': 'rgba(222, 23, 88, 1)',
        '【₱€】': #FFF,
    },
    'emoticons': {},
    'indicator': ![],
    'indicatorMaxSize': 0xc8
};

Steps to Reproduce
used http://jsbeautifier.org/
Environment
OS: Windows 10
Settings

The unescape parts of this already work (from the output your provided).  The other two elements (0xc8 and  ![]) aren't unescaping but rather some kind of deobfuscation rules.  These may be implemented eventually, but are a low priority.


Plot rowGeometries

It can be part of plotSpatialFeature and plotLocalResult, with one argument for which row geometry and another for which genes to plot. Then burning question: what palette to use to color the genes? I suppose I'll use point shape (and possibly line type since I can't predict how row geometries are used) and throw an error when there're more genes specified than there are shapes.
I also feel like plotSpatialFeature has too many arguments. While it's acceptable in R (see pheatmap and Seurat's plotting functions), I get it that it's a code smell in other languages. At present which geometry goes on which layer is also pretty inflexible. I think I can introduce a syntax like in ggplot2, plotly, or tmap, to build the plot layer by layer. Something like
plotSpatialFeature(sfe) +
    lyr_colGeometry(aes(fill = Myh2), data = cellSeg) +
    lyr_annotGeometry(data = tissueBoundary, fill = NA, color = "black", linewidth = 0.3) +
    lyr_rowGeometry(data = txSpots, aes(shape = gene), subset = c("Myh2", "Myh7"))

This way it's less confusing to customize the plot to those already familiar with ggplot2 and it's easier to arrange the layers. I think I'll also use tidyeval to be consistent with ggplot2, to reduce confusion. ggplot2 is based on the tidy data philosophy. While there is tidyomics, SFE is more complicated than tidy data, so maybe I need to think more carefully about the philosophy behind the data structure. Sounds like a lot of work, so I'm not sure if I can get it done for Bioc 3.18.

Or maybe just another ggplot method for SFE, no separate functions for plotSpatialFeature and plotLocalResult. Those are just different fields of the SFE data, like glorified data frame columns. But meanwhile, I can't really do something like geom_polygon because any type of geometries can be used in SFE. Maybe geom_sfe, kind of like geom_sf, which works for different types of geometries? Then within geom_sfe I can get gene expression, colData, geometries, and etc. Like
ggplot(sfe) +
    geom_sfe(data = colGeometry, aes(fill = Myh2, geometry = cellSeg)) +
    geom_sfe(data = annotGeometry, aes(geometry = tissueBoundary)) +
    geom_sfe(data = rowGeometry, aes(geometry = txSpots, shape = gene), subset = c("Myh2", "Myh7"))

If I can add, probably the best to keep all withinplotSpatialFeature(), code smell probably, however Seurat::ImageFeaturePlot also has lot's of args, for gene and molecule plots.
I think going with ggplot2 is better, since many users are familiar with it, plotly would be great for interactive plots, I use sometimes plotly::ggplotly()
Additionally, to customize plots, it would be useful to return the ggplot object or list of plots (if multiple). Eg, adding an arg combine = FALSE to plotSpatialFeature() or similar, if TRUE patchwork is used to combine plots, else ggplot object with $data etc.. is returned.

Do you like Seurat's design with lots of arguments? Or do you find it confusing? I'd like to do better than Seurat. My problem here is the potential confusion when coloring colGeometry with one variable, and coloring annotGeometry with another variable. Adding rowGeometry makes the problem worse.
For transcript spots, I think another thing that can be done is to plot a kernel smoothed density heatmap for spots of one gene at a time. That should probably be a separate function.

Do you like Seurat's design with lots of arguments? Or do you find it confusing? I'd like to do better than Seurat. My problem here is the potential confusion when coloring colGeometry with one variable, and coloring annotGeometry with another variable. Adding rowGeometry makes the problem worse.
For transcript spots, I think another thing that can be done is to plot a kernel smoothed density heatmap for spots of one gene at a time. That should probably be a separate function.

Once one is familiar with Seurat's design, then it's not that difficult, but yeah it can be confusing or annoying for users look up for many args.
Gaussian smoothing kernel or similar would work well, giving some kind of hotspots of molecules for one gene.
By separate function, you mean it will return ggplot object that can be overlayed with plotSpatialFeature()?
Eg: plotSpatialFeature() & plotMolecules()

Maybe something like plotSpatialFeature() + plotMolecules(). Or maybe the kernel density heatmap can go into imgData, which SpatialExperiment authors probably didn't foresee. I can have it both ways, with both Seurat style and ggplot/Tidyomics style.

Maybe something like plotSpatialFeature() + plotMolecules(). Or maybe the kernel density heatmap can go into imgData, which SpatialExperiment authors probably didn't foresee. I can have it both ways, with both Seurat style and ggplot/Tidyomics style.
sound good 👍

kernel density heatmap into imgData, then having it as an overlay as well?

for future plotMolecules() function, the extent or bbox of transcripts in rowGeomentry is larger than that of colGeometry and of imgData. Something to consider when overlaying them for plots.

Already done in https://github.com/pachterlab/voyager/commit/06990b26eb4416814e298300a4004efa1e0d4a96, though not the KDE part yet

consider fast KDE using hexDensity


ERROR: extra arguments to rustc ...

Environment:

OS: OSX 10.11 El captain
Rust: rustc 1.10.0-nightly (8da2bcac5 2016-04-28)

cargo clippy --release -- -Dclippy -Wclippy_pedantic --verbose                                    [ruby-2.2.1]
error: extra arguments to `rustc` can only be passed to one target, consider filtering
the package by passing e.g. `--lib` or `--bin NAME` to specify a single target
error: third party subcommand `cargo-clippy` exited unsuccessfully

To learn more, run the command again with --verbose.

Does it work if you pass the flags it asks for? (before the --)

Hey @arcnmx
Thanks for answering so fast :)
Which option should I pass through it?

Depending on which part of your source you want to run the lint over, cargo clippy --lib or cargo clippy --bin BINARY_NAME_HERE. It can't do all at the same time for a multi-crate project, basically.

Even using it. :(
 cargo clippy --lib                                                                                [ruby-2.2.1]
error: extra arguments to `rustc` can only be passed to one target, consider filtering
the package by passing e.g. `--lib` or `--bin NAME` to specify a single target
error: third party subcommand `cargo-clippy` exited unsuccessfully

To learn more, run the command again with --verbose.

Do you have some practical example? I mean, some project that use it currently and the command that I should use.

That's correct. How did you install cargo-clippy?

I've downloaded this repo, compiled it and created a symbolic link to /usr/local/bin/cargo-clippy

Can you point to a specific codebase / github repo where you're encountering this problem? Also does which cargo-clippy point to /usr/local/bin/cargo-clippy?

The code I am trying to run it is this one:
git clone git@github.com:cristianoliveira/funzzy.git
Where cargo-clippy are installed:
crosa@cristianoliveira ~/others/rust-clippy (master)$
which cargo-clippy
/usr/local/bin/cargo-clippy

works fine here on Linux... both:
cargo clippy --release --lib -- -Dclippy -Wclippy_pedantic --verbose
cargo clippy --release --bin funzzy -- -Dclippy -Wclippy_pedantic --verbose

However, you may just be better off checking out the new cargo-clippy: http://llogiq.github.io/2016/05/11/clippy.html

I've updated the nightly version of Rust to rustc 1.10.0-nightly (e0fd34bba 2016-05-09) and it worked


LoginAsync hangs in admin mode

Issue Report
If you are reporting a bug, please fill the sections below (if they are applicable), otherwise feel free to delete those that don't apply. Thank you! 🙏🏼
Description
Hi ,
I am using native winform application from here to login to my web page . Auth0 WPF / Winforms SDK Quickstarts: Login.
If I run the application normally everything works fine and I am getting token from my web server. but if I run the application in admin mode , it hangs after this call forever,
await client.LoginAsync(extraParameters: extraParameters).
Can anyone please help me with this.
Expected behaviour
It should login and return token.
Actual behaviour
It hangs forever.
Steps to reproduce the problem
Create exe out of winform application with required credentials for login. run the exe in normal mode . It will work fine . Run the exe in admin mode "Run as Administrator" it hangs forever.
Language / Framework Versions
1 .Net version 4.6.2
Testing environment

windows 10

Filling this, you're helping yourself and repo maintainers in solving your issues quicker! Teamwork makes the dreamwork 🤜🏼🤛🏻

Thanks for reaching out and sorry for the late reply.
There is a thread on community.auth0.com that explains what's happening and how you can work around it, see: https://community.auth0.com/t/howto-use-the-auth0-oidcclient-winforms-sdk-with-edge-chromium-webview2/57746
Let me know if that doesn't work.


Add tSNE to the dimensionality-reduction methods

http://lvdmaaten.github.io/tsne/

Say we have three different dimension reduction techniques.. PCA, MDS, tSNE. The database schema should have a field for each sample that's set out like this:
dimension_reduced: {
    pca: [0, 0],
    mds: [0, 0],
    tsne: [0, 0]
}

Then if a user so wishes, they can change how they'd like the data to appear in an options menu somewhere.
If anything, having this functionality would be useful for development.. as we add more datasets we can easily see how different dimension reduction techniques perform.

I would add further components, not just the first two. Then a user can try to plot the 1st and 3rd component, for example. Or, there can be a toggle to use opacity, size, colour, etc, to plot the third dimension. And so forth.
Also, remember that MDS with Euclidean distances is equivalent to PCA! =P
Other than that, your schema looks good!

@starcalibre I'm working on the tSNE now. (As you can see on our gitter.) My current schema is flat, pca_vector, tsne_vector, etc. Since this requires a corresponding change in microscopium/microscopium-ui, we should definitely coordinate carefully. I think flat is better, because it translates more easily to e.g. CSV, or other DBs.
In other news, here's a very nice procedural summary of the steps in tSNE. It might actually be easy enough to roll our own Barnes-Hut version if we don't worry too much about optimisation... Something to think about.

The upside to the nested/non-flat setup I proposed is each screen can have a different number of dimensionality techniques applied to it and have the UI adapt easily, as it'll just need to traverse the dimension_reduced object to find all the different embeddings.

Ah, you're right of course. I guess it's straightforward enough to "unroll" nested fields anyway.


Stats

Updates!
Used better datasets this time (I hope...)

resolves #109
resolves #79
resolves #110

Resolves #107


fix: Snapshot permissions issue for Karpenter submodule

Description
This commit 2648
Motivation and Context

With current permissions we are unable to use SnapshotID with Karpenter provisioner

https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2648
Breaking Changes

No

How Has This Been Tested?
Manually, by using local module with fixed permissions

How has this been tested and validated?

This PR is included in version 19.15.3 :tada:


Include MultiState import in PySBFlatExporter

Coverage remained the same at 78.583% when pulling 22ca517c2ef9efca5102d1c592513af248ab95aa on alubbock:fix_pysbexport into 4f9f4a18cacf8bfaaa990640afe8ce3a1527c1bb on pysb:master.


Adding vue-image-crop-upload

vue-image-crop-upload

Yes please add English documentation. See https://github.com/brillout/awesome-vue-refactor/issues/5 for a discussion whether we should accept non-English documented libraries or not.
(Closing this for now. Feel free to re-open. @kazupon Is it ok to close it?)


Check that array has head before calling it

CluProcessor has no more cases like this and in the meantime I remember checking.  However, most of the other processors do the same thing.  (This seems like copied code.)  That they don't have problems may be because some preprocessor of tokenizer happens to take care of the situation.  This seems more like luck than design, so I'd like to add the guard anyway.  It will be one less thing to worry about.

That kind of check for proper pipeline execution is sprinkled throughout the processors.  Rather than double check sentence length everywhere, I propose having Processors.annotate(text) just not annotate(doc) when there are no sentences.  (That's the change in the most recent push.)  Since most methods are public, someone could still get around this and call something directly that results in an exception, but they have to try.  If all the checks need to be guarded, I think that a more formal pipeline check needs to be implemented.  If this small change passes Travis, I'm OK with leaving it at this minor adjustment.


Can't install requirements

# pip3 install json
ERROR: Could not find a version that satisfies the requirement json (from versions: none)
ERROR: No matching distribution found for json

# pip3 install re
ERROR: Could not find a version that satisfies the requirement re (from versions: none)
ERROR: No matching distribution found for re

Also the -y flag doesn't seem to work

Seems like that json is a default package of Python and doesn't need to be installed externally.

Same for re?


GetDiffAction allows for flaky tests and bugs to enter

Bug Report
GetDiffAction allows for flaky tests and bugs to enter
Setup
CI
Config
CI
How to reproduce it
In a few years in cosmos, I've noticed that the use of tecnote/GetDiffAction -- which is popular -- allows bugs and the like to enter by excluding tests from test runs when the relevant code hasn't been changed.  This doesn't properly account for the fact that there are interactions between the code, and the usage of this action is best avoided.
CI can be optimized in other ways.

the way it is used in comet is probably fine


Update .eslintrc.js

This is a setting I have seen many projects use. However I am not sure what it does exactly lol. I just set it in case someone in the team does

The best PRs are ones that we... have no idea what they do?  :sweat_smile:
I'm going to defer to @delucis here. We very recently had some issues in this area and recently added a fix, so I would want to make sure this doesn't interfere with the intentional work Chris recently did!


MCS-1154 TopDownPlotter driver

Created an easier way to read in a scene and visualize a plot by making a driver main in the plotter module. This could go in the machine_common_sense/scripts folder along with the runner approach but seemed excessive for what this is trying to do.

... document this in the dev.rst doc?

That is a good idea.


old_old_fval = fk + np.linalg.norm(gk) / 2?

Hi,
I feel  confused about the code
old_old_fval = fk + np.linalg.norm(gk) / 2 (line 96 in https://github.com/jiangyi15/tf-pwa/blob/dev/tf_pwa/fit_improve.py)
Could you explain what's the principle behind it? Thank you!

The code is just copied from scipy.

OK, Thanks!


Idea

Apologies for submitting this as an issue, it just seemed like the most direct way to open the discussion.
I was thinking about your description of this shader as being able to treat incoming pixels as having two dimensional area instead of being point samples.
I was wondering if a parameter could be added that controls the "size" (in percent) of the pixels, leaving space in between. The idea being that this would allow for grid-shader-like effects that are resolution independent. I've have some success using your shader after grid shaders that normally only work at integer multiples of the source, but I wondered if this idea might achieve even better results.
Even better, separate X and Y controls might allow for decent looking non-integer scanlines.
I had a look but the maths at work is a bit beyond me.

That sounds very intriguing, I will try implementing it. I doubt it will look good on the extreme low-resolution screens (<2x native) my original shader was designed for, but it may work nicely on higher resolution screens.

Commit 6bb351c adds the gridline shader you proposed, with gridline thickness/opacity configurable separately for x and y axes.
I also added curvature version. Test it out and please share your impression!

Amazing, I'll try it ASAP.

Ah, the grid idea didn't work out as well as I was hoping. I was hoping that the clever method that gave you relatively even pixels when scaling up less than 2x would also help get even grid/scanlines on screens greater than 2x the source but they're still quite uneven.
Ironically, I'm having better results using the sharp-shimmerless-gridline at 2x and then following it with sharp-shimmerless set at default, which is what I was doing before with a different grid shader. However the fact you have thickness and opacity for both X and Y separately actually means this is already better than other grid shaders I've used!
So it didn't work out exactly as I'd hoped, but your work was definitely not wasted as you've made a really good grid shader. I just have to follow it with another pass of the original sharp-shimmerless.

I just went into the shader and increased the grid/scanline parameter resolution to 0.01 and this allows you to fine tune the thickness and opacity to find the setting with the least artifacts. I've just been testing it with GBA games on a 640x480 screen and I've been able to achieve good results using just the gridline version of the shader with no follow-up pass. I don't really know how to use github properly and since it's such a small change, rather than creating a fork I'll just upload the modified version here:
sharp-shimmerless-gridlines.glsl.removethis.json

Thank you for creating awesome shader.
I actually don't know the shader, but after testing it , I think there is something wrong with it.
sharp-shimmerless-curvature-gridlines seem to make the left curve less even compared to the right one.
Maybe I'm mistaken, but I'd be interested to hear what others think. I tested this at 640x480 resolution.
Also, is it possible to make a scanline version besides the gridline? I know it would be bothersome, but your quality is so great that I would like to ask.

Thanks for the feedback!
I updated the code to your feedback in 4cff949
The curvature+gridlines version bug was a silly mistake, implemented the out the out-of-bound pixels masking in the curvature shader and then forgot to add it to curvature+grid version.
As for the scanline version you want, you can modify the shader's parameters (available at RetroArch's quick menu > shaders > shader parameters) to disable the vertical lines. I guess I should add a scanline-only version to avoid such confusion.

I just went into the shader and increased the grid/scanline parameter resolution to 0.01 and this allows you to fine tune the thickness and opacity to find the setting with the least artifacts. I've just been testing it with GBA games on a 640x480 screen and I've been able to achieve good results using just the gridline version of the shader with no follow-up pass. I don't really know how to use github properly and since it's such a small change, rather than creating a fork I'll just upload the modified version here:
sharp-shimmerless-gridlines.glsl.removethis.json
!
Thanks for the feedback! Commit 4cff949 updates the parameter resolutions per your suggestion!

Thank you!
Do you have a patreon or something similar? I think a lot of people would like to support, including me.

Thank you! Do you have a patreon or something similar? I think a lot of people would like to support, including me.

Thank you, I don't have a Patreon, but as a fellow retro handheld fan, I would really appreciate if you supported other retro handheld-related projects!


Crash when opening the terminal

Launcher says: "The game crashed whilst ticking screen
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_342.method_1882()" because "this.searchField" is null"
Crash report: crash-2021-09-23_15.09.17-client.txt

Duplicate of #62


Add query selector config

Context: https://sourcegraph.slack.com/archives/C04MSD3DP5L/p1721935489008949
A customer wants to return context items from their provider if the user's query matches some keywords. They wish to bypass the whole mentions process and return context items for queries on submission time.
This makes sense and is useful.
This PR adds meta.items.querySelectors which will be used at query evaluation time to match with query and then call provider.items for the matching providers to collect context items.

The skip-typescript optional ci checks seem broken. Everything else was green so merged.


Enhancement

Description
Various enhancements:

improved assert news file
modified copyright pattern

Test Coverage

[x]  This change is covered by existing or additional automated tests.
[ ]  Manual testing has been performed (and evidence provided) as automated testing was not feasible.
[x]  Additional tests are not required for this change (e.g. documentation update).

Codecov Report

Merging #12 (916f66c) into main (1ce6fd4) will increase coverage by 1.46%.
The diff coverage is 72.44%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   68.41%   69.87%   +1.46%
==========================================
  Files          41       42       +1
  Lines        2096     2148      +52
==========================================
+ Hits         1434     1501      +67
+ Misses        662      647      -15

Impacted Files
Coverage Δ

continuous_delivery_scripts/assert_news.py
57.50% <14.28%> (-14.17%)
:arrow_down:

continuous_delivery_scripts/create_news_file.py
48.00% <50.00%> (-27.48%)
:arrow_down:

continuous_delivery_scripts/license_files.py
77.19% <66.66%> (+35.37%)
:arrow_up:

continuous_delivery_scripts/tag_and_release.py
34.06% <66.66%> (ø)

continuous_delivery_scripts/utils/git_helpers.py
79.74% <79.16%> (+0.21%)
:arrow_up:

continuous_delivery_scripts/utils/configuration.py
84.84% <100.00%> (+0.97%)
:arrow_up:

..._delivery_scripts/utils/language_specifics_base.py
76.19% <100.00%> (+7.14%)
:arrow_up:

continuous_delivery_scripts/utils/news_file.py
100.00% <100.00%> (ø)

... and 7 more


[SPARK-8185] [SPARK-8194] [SPARK-8198] [WIP] [SQL] udf datediff months_between add_months

I'll add unit test/function registry/codegen after #6782 get in.

Merged build triggered.

Merged build started.

Test build #35680 has started for   PR 6987 at commit 7499adf.

Test build #35680 has finished for   PR 6987 at commit 7499adf.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class AddMonths(startDate: Expression, months: Expression) extends Expression
case class MonthsBetween(date1: Expression, date2: Expression) extends Expression
case class DateDiff(endDate: Expression, startDate: Expression) extends Expression

Merged build finished. Test FAILed.

Close it because https://github.com/apache/spark/pull/6782#issuecomment-116888516 for now


Tiny QoL update:suppress CS0649 on Unity reference

Unity 2019.4.0:
This will suppress CS0649: Field 'StudioListener.attenuationObject' is never assigned to, and will always have its default value null

will otherwise prevent successful compilation when project is compiled w/ -warnaserror ('warnings as errors')

I have passed this on to the Dev team to look into adding in a future release, thanks for the suggestion!


Update README to refer to user, not username

The docs seem to conflict themselves on this [1], but I believe the correct
key here is actually user, not `username.
[1] See https://orator-orm.com/docs/0.8/basic_usage.html for examples of
both user and username as a key.

@dougblack the better fix is probably to have a add a keys_fix for username -> user in mysql_connector.py


Not shows the suggest

i just update my arch to v 6.9.4 and i update also all plugin using lazy, and when i opened again neovim it not show any error and also didint show the suggestion, i try :Codeium Auth and i paste the key after that it still not show the suggestion, idk where the problem
OS: Arch 6.9.4
Nvim: 0.10.0
checkhealth
`
lazy: require("lazy.health").check()
lazy.nvim ~

OK Git installed
OK no existing packages found by other package managers
OK packer_compiled.lua not found

==============================================================================
lspsaga: require("lspsaga.health").check()
Lspsaga.nvim report ~

WARNING tree-sitter executable not found
OK tree-sitter markdown parser found
OK tree-sitter markdown_inline parser found

==============================================================================
null-ls: require("null-ls.health").check()

OK prettier: the command "prettier" is executable.
OK stylua: the command "stylua" is executable.

==============================================================================
nvim: require("nvim.health").check()
Configuration ~

OK no issues found

Runtime ~

OK $VIMRUNTIME: /usr/share/nvim/runtime

Performance ~

OK Build type: Release

Remote Plugins ~

OK Up to date

terminal ~

key_backspace (kbs) terminfo entry: key_backspace=\177
key_dc (kdch1) terminfo entry: key_dc=\E[3~
$TERM_PROGRAM="tmux"
$COLORTERM="truecolor"

tmux ~

OK escape-time: 7
WARNING focus-events is not enabled. |'autoread'| may not work.

ADVICE:

(tmux 1.9+ only) Set focus-events in ~/.tmux.conf:
set-option -g focus-events on

$TERM: screen-256color

External Tools ~

OK ripgrep 14.1.0 (/usr/bin/rg)

==============================================================================
nvim-treesitter: require("nvim-treesitter.health").check()
Installation ~

WARNING tree-sitter executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
OK node found v20.14.0 (only needed for :TSInstallFromGrammar)
OK git executable found.
OK cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
Version: cc (GCC) 14.1.1 20240522
OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

 Invalid node type "string_content":
(string_content) @injection.content))))
^
php(injections) is concatenated from the following files:
| [ERROR]:"/home/zedd/.local/share/nvim/lazy/nvim-treesitter/queries/php_only/injections.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 23:10. Invalid node type "string_content":
(string_content) @injection.content))))
^
|    [OK]:"/home/zedd/.local/share/nvim/lazy/nvim-treesitter/queries/php/injections.scm"

ERROR vimdoc(highlights): /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 2:4. Invalid node type "delimiter":
(delimiter) @markup.heading.1
^
vimdoc(highlights) is concatenated from the following files:
| [ERROR]:"/home/zedd/.local/share/nvim/lazy/nvim-treesitter/queries/vimdoc/highlights.scm", failed to load: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 2:4. Invalid node type "delimiter":
(delimiter) @markup.heading.1
^

==============================================================================
provider.clipboard: require("provider.clipboard.health").check()
Clipboard (optional) ~

OK Clipboard tool found: xclip

==============================================================================
provider.node: require("provider.node.health").check()
Node.js provider (optional) ~

Node.js: v20.14.0

WARNING Missing "neovim" npm (or yarn, pnpm) package.

ADVICE:

Run in shell: npm install -g neovim
Run in shell (if you use yarn): yarn global add neovim
Run in shell (if you use pnpm): pnpm install -g neovim
You may disable this provider (and warning) by adding let g:loaded_node_provider = 0 to your init.vim

==============================================================================
provider.perl: require("provider.perl.health").check()
Perl provider (optional) ~

WARNING "Neovim::Ext" cpan module is not installed

ADVICE:

See :help |provider-perl| for more information.
You may disable this provider (and warning) by adding let g:loaded_perl_provider = 0 to your init.vim

WARNING No usable perl executable found

==============================================================================
provider.python: require("provider.python.health").check()
Python 3 provider (optional) ~

WARNING No Python executable found that can import neovim. Using the first available executable for diagnostics.
WARNING Could not load Python :
/usr/bin/python3 does not have the "neovim" module.
/usr/bin/python3.12 does not have the "neovim" module.
python3.11 not found in search path or not executable.
python3.10 not found in search path or not executable.
python3.9 not found in search path or not executable.
python3.8 not found in search path or not executable.
python3.7 not found in search path or not executable.
/usr/bin/python does not have the "neovim" module.

ADVICE:

See :help |provider-python| for more information.
You may disable this provider (and warning) by adding let g:loaded_python3_provider = 0 to your init.vim

Executable: Not found

Python virtualenv ~

OK no $VIRTUAL_ENV

==============================================================================
provider.ruby: require("provider.ruby.health").check()
Ruby provider (optional) ~

WARNING ruby and gem must be in $PATH.

ADVICE:

Install Ruby and verify that ruby and gem commands work.

==============================================================================
telescope: health#telescope#check
Checking for required plugins ~

OK plenary installed.
OK nvim-treesitter installed.

Checking external dependencies ~

OK rg: found ripgrep 14.1.0
OK fd: found fd 10.1.0

===== Installed extensions ===== ~
==============================================================================
vim.lsp: require("vim.lsp.health").check()

LSP log level : WARN
Log path: /home/zedd/.local/state/nvim/lsp.log
Log size: 3541 KB

vim.lsp: Active Clients ~

tsserver (id=1, root_dir=~/Zedd/ZComp, attached_to=[1])
null-ls (id=2, root_dir=~/Zedd/ZComp, attached_to=[1])

vim.lsp: File watcher ~

file watching "(workspace/didChangeWatchedFiles)" disabled on all clients

==============================================================================
vim.treesitter: require("vim.treesitter.health").check()

Nvim runtime ABI version: 14
OK Parser: bash                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/bash.so
OK Parser: c                    ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/c.so
OK Parser: comment              ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/comment.so
OK Parser: cpp                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/cpp.so
OK Parser: css                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/css.so
OK Parser: dockerfile           ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/dockerfile.so
OK Parser: fish                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/fish.so
OK Parser: git_config           ABI: 13, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/git_config.so
OK Parser: gitignore            ABI: 13, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/gitignore.so
OK Parser: html                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/html.so
OK Parser: http                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/http.so
OK Parser: ini                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/ini.so
OK Parser: java                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/java.so
OK Parser: javascript           ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/javascript.so
OK Parser: json                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/json.so
OK Parser: jsonc                ABI: 13, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/jsonc.so
OK Parser: lua                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/lua.so
OK Parser: markdown             ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/markdown.so
OK Parser: markdown_inline      ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/markdown_inline.so
OK Parser: php                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/php.so
OK Parser: python               ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/python.so
OK Parser: scss                 ABI: 13, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/scss.so
OK Parser: ssh_config           ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/ssh_config.so
OK Parser: tmux                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/tmux.so
OK Parser: toml                 ABI: 13, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/toml.so
OK Parser: tsx                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/tsx.so
OK Parser: typescript           ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/typescript.so
OK Parser: vim                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/vim.so
OK Parser: vimdoc               ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/vimdoc.so
OK Parser: xml                  ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/xml.so
OK Parser: yaml                 ABI: 14, path: /home/zedd/.local/share/nvim/lazy/nvim-treesitter/parser/yaml.so
OK Parser: bash                 ABI: 14, path: /usr/share/nvim/runtime/parser/bash.so
OK Parser: c                    ABI: 14, path: /usr/share/nvim/runtime/parser/c.so
OK Parser: lua                  ABI: 14, path: /usr/share/nvim/runtime/parser/lua.so
OK Parser: markdown             ABI: 14, path: /usr/share/nvim/runtime/parser/markdown.so
OK Parser: markdown_inline      ABI: 14, path: /usr/share/nvim/runtime/parser/markdown_inline.so
OK Parser: python               ABI: 14, path: /usr/share/nvim/runtime/parser/python.so
OK Parser: query                ABI: 14, path: /usr/share/nvim/runtime/parser/query.so
OK Parser: vimdoc               ABI: 14, path: /usr/share/nvim/runtime/parser/vimdoc.so

==============================================================================
which-key: require("which-key.health").check()
WhichKey: checking conflicting keymaps ~

WARNING conflicting keymap exists for mode "n", lhs: "cr"
rhs: vat :s/\(.*\)/{\/* \1 *\/}<CR>:noh<CR>
WARNING conflicting keymap exists for mode "n", lhs: "gc"
rhs:
WARNING conflicting keymap exists for mode "n", lhs: " l"
rhs: <C-W>l<CR>

`
plugin
	{ 		"Exafunction/codeium.vim", 		event = "VeryLazy", 		config = function() 			vim.keymap.set("i", "<A-g>", function() 				return vim.fn["codeium#Accept"]() 			end, { expr = true }) 			vim.keymap.set("i", "<c-c>", function() 				return vim.fn["codeium#Clear"]() 			end, { expr = true }) 		end, 	},

i already enable

just downgraded
	{ 		"Exafunction/codeium.vim", 		event = "InsertEnter", 		version = "1.8.37", 		config = function() 			vim.keymap.set("i", "<A-g>", function() 				return vim.fn["codeium#Accept"]() 			end, { expr = true, silent = true }) 			vim.keymap.set("i", "<c-c>", function() 				return vim.fn["codeium#Clear"]() 			end, { expr = true }) 		end, 	},


Requesting Support for GPIO Pin Access on Konstakang AOSP for Raspberry Pi

I am currently developing an Android application that runs on the Konstakang AOSP for Raspberry Pi. One of the critical functionalities I need for my app is the ability to access the GPIO (General Purpose Input/Output) pins on the Raspberry Pi board directly from the Android app.
I am aware that accessing GPIO pins directly from an Android app might require root privileges and involve low-level hardware interactions. I'm a experienced full stack developer, but working with a raspberry pi is very new to me. So I don't have a clue how GPIO pins work behind the scenes, I seek guidance and insights from the community to understand if this use case is even feasible.
The problem I'm currently stuck with is that the .so files are not compatible with Android i guess:
Cause: pi4j-library-pigpio-2.3.0 extracted from path C:\Users\David Bieregger\.gradle\caches\transforms-3\7a8e860f66fe14b2e2add8fde4eee6f6\transformed\pi4j-library-pigpio-2.3.0\aarch64\libpi4j-pigpio.so is not an ABI

Any news ? did you success doing it ?

Yes, those .so are specific to the Pi ARM architecture. I am not familiar with   Konstakang AOSP.  The Pi4j would let you use java to access the GPIOs.       In the pi4 the following site documents the code used to actually touch the hardware :  https://abyz.me.uk/rpi/pigpio/python.html   That web site documents support for C and python if they are usable in your development.                 As far as Pi5 that GPIO support is under development.


Add new PRs to the new project Repo

A new repo has been created and need some contributions in that repo
Kindly start contributing Here

Hey @Ishaan28malik can you provide some insight regarding what kind of contributions you need in the new repo?

Hey @Ishaan28malik can you provide some insight regarding what kind of contributions you need in the new repo?

yes please

Hey @Ishaan28malik can you please accept my PR by merging it,adding the "hacktoberfest-accepted" label to it, or approving it.

This repo is completely excluded from Hacktoberfest 2020. This is the second year in a row that it happens. The mantainer just will delete this message as he did yesterday with a couple of contributors that warned about this.
None of your contributions will count towards Hacktoberfest. It is not a matter of the Hacktoberfest tag, but a repo-ban from the organization. This is a repo where there are no objectives and a clear focus. This is the main problem of this repo.
Also, the name is misleading (the same as a year ago) because it makes you think that your contributions will count when they wont. The mantainer constantly deletes this kind of messages / issues as he does not want to accept the reality and just worries about stars and forks. As simple as this. I'm sure this message will be deleted.


Question about burn-in steps

Hi! It's exciting to see such work with remarkable improvements.
However, I have a question about the setting of the burn-in steps. In the paper, you mentioned that different step values are set for different data settings (e.g. 20k for COCO@10%). But it seems like that you set steps to 2000 in all configs, what is the reason?

Besides, what is the value of burn-in steps that you used in VOC experiments?

Hi @Chrisfsj2051,

We found out using 20k or 2k iterations for burn-in could converge to a similar mAP at the end of the training.
For the burn-in steps, we use 30k iterations.

Thanks!


chore: python-dw to 0.0.2

chore: Promote python-dw to version 0.0.2

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Stattrack Inventory Changer

Is it possible to get a stattrack skin without opening cases?

Actually yes. But you need to your Osiris config file and find the weapon you want Stattrack on it. The you just add "Stattrak" : 0 (or any number) then comma and that's it. I'm not sure if is "Stattrak" or "stattrak". Hope I helped you!

You didn't specify enough. You need to put "Stattrak" : 21 for example below "Paint Kit".

Is it possible to get a stattrack skin without opening cases?

yes! go to your config, and if you've already opened some cases and opened a stattrak(doesnt need to be any specifc skin), copy the text from that stattrak, and paste it right below in the same spot for the other skin. if you need help please contact me at savvy#6792, i'd be happy to help!


Very nice!

Hi @phanen,
Very nice work :-)
My reccomendation, fzf v0.49 added a new option to have both --separator and --inline-right at the same time, you can now use default-title as your "base" setup profile and thus have this nice cool look:

Notice the fzf info at the top right, separator below and all prompt texts have moved to the window title instead for a cleaner look and feel

My config can be found at:
https://github.com/ibhagwan/nvim-lua/blob/main/lua/plugins/fzf-lua/setup.lua

Thanks! I've tried this new feature in latest commits!
https://github.com/phanen/fzf-lua-overlay/assets/91544758/88de3607-74f6-40cd-b69e-e0445e2672cf
BTW, your highlight group looks pretty well. I'll definitly look into your config (:


proxy: Fix Tap ID generation

The proxy's tap server assigns a sequential numeric ID to each inbound
Tap request to assist tap lifecycle management.
The server implementation keeps a local counter to keep track of tap
IDs. However, this implementation is cloned for each individual tap
requests, so 0 the only tap ID ever used.
This change moves the Tap ID to be stored in a shared atomic integer.
In a followup, we might consider removing tap IDs entirely.

@olix0r

In a followup, we might consider removing tap IDs entirely.

What purpose do the tap IDs currently serve?

@hawkw

What purpose do the tap IDs currently serve?

The response stream holds the ID so that it can eagerly drop tap matcher. Otherwise, I suspect that we'd hold the match around indefinitely, until a matching event is found and sending on the channel failed.


Implement collections

Collections are quite repetitive:

Alvin

Alvin

Alvin

Alvin

And come in different variants which even look different:

  Alvin
  Alvin
  Alvin
  Alvin

A hover style is only implemented with the second variant.
If a collection has a header, you'll need two more classes:

First Names

Alvin

Alvin

Alvin

Alvin

I'd like to experiment with some attributes/elements before I decide what would be a good usage (attribute vs element).

I'm still unsure of this. Especially when it comes to the more interesting content..

So, this is actually the last remaining component which is not "really" implemented in contrast to the others which are implemented but have bugs. I will use a set of custom elements with some additional features I've managed to implement elsewhere and want to port over (Google Inbox style selection handling).
I'm wondering if this should be md-list because it is much shorter.

Selection is implemented. Still missing headers.


Bad Timings Report

Dear William278 sorry that i need to contact you,
For the first thank your for your PAPIProxyBridge it make so mutch easer for us to switch to Velocity.
But i need you to inform that your BukkitEntityScheduler increase our TPS lose, i do an oldschool Timings report but since your PAPIProxyBridge is used the Server runs somethimes in wierd workload situations.
Did i have the option on my PaperServer to enhance the Performance a bit by reducing the TickSpeed of the Runnable or can you give me some other instructions to do?
Here is my super duper Timings Report https://timings.aikar.co/dev/?id=4ad1b912ea44456e80ab1dc4c741ef18

Fixed in #141


Does mrv2 support windows 7 ?

Hi, I tried mrv2 on windows 10 works well, but on another windows 7 machine is not work.
It pop up a window shows

I tried this solution. copy api-ms-win-core-path-l1-1-0.dll and install the VC_redist.x64.exe but still not work.
https://www.youtube.com/watch?v=TQ2XAmGDLmU&ab_channel=STSTutorial

mrv2 works only in Windows 8.1 or higher.  If you need a viewer that works on Windows 7, I believe both mrViewer, djv_view and DJV2 should work.

I see, thanks


Improve bare faker services declaration

Should be calls, not call.
http://symfony.com/doc/current/book/service_container.html#optional-dependencies-setter-injection

Would be great to check if I haven't done this mistake somewhere else too...
But prefer the other annotation but I guess it's a matter of personal test. Still, can you add spaces between brackets? I don't do that for PHP arrays but in YAML it's more readable this way.

Well, I strictly followed Symfony docs.
But yes, I can add spaces. :+1:

Spaces added.


pretty-bytes dependency shouldn't be bundled

Describe the bug
This package has a pretty-bytes dependency, but it's incorrectly bundled into the published files of this module. This is an anti-pattern for a bunch of reasons, but the main one is that if the same dependency is used anywhere else in your app the code is duplicated in an app bundle or for the runtime to process, instead of being a shared dependency.
To Reproduce
Look at the published module and notice the pretty-bytes isn't imported, but it's source code has been included directly in the module:
<EMAIL_ADDRESS>Expected behavior
Dependencies of published packages should be imported and never bundled.
Screenshots
N/A.
Desktop (please complete the following information):
N/A.
Smartphone (please complete the following information):
N/A.
Additional context
N/A.

Open for a PR ;)


Access to the vision algorithm

Hi, the vision algorithm used in openpilot is not open. Is it possible to make it open for PC version or at least provide a similar but simpler algorithm to mimic the actual visiond in PC? Thanks.

Visiond is closed source for business model reasons.

I understand. Is it possible to know what is the frame rate of the visiond. I know the rate of main control loop is 100. But the vision should be slower than this. Thanks

That being said we cannot use anything other than Motorola One plus to Run open Pilot?

OpenPilot only runs on the OnePlus 3/3t. It is made by OnePlus

Vanilla guerilla
Understood! Thank you for replying.
The motorola one plus family has evolved a bit since One plus 3. Can we use
the one plus 5 or moto Z?
Thanks in advance
Eric H
On Fri, Mar 30, 2018, 8:36 AM vanillagorillaa<EMAIL_ADDRESS>wrote:

OpenPilot only runs on the OnePlus 3/3t. It is made by OnePlus
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/issues/227#issuecomment-377551419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae6HOho4W3NYW6nXa_INZMgn6uQdZQXDks5tjlEDgaJpZM4S8BOH
.

@geohot please close


SslHandler does not work with little endian buffers

Expected behavior
SslHandler to work regardless of LE or BE buffers
Actual behavior
SslHandler uses SslUtils#getEncryptedPacketLength which does not work with little endian buffers.
Looks like the issue was fixed in 16750ff but the change was not carried forward. I suspect there is an alternative then?
From the doc in the fix:

Reads a big-endian short integer from the buffer.  Please note that we do not use
{@link ChannelBuffer#getShort(int)} because it might be a little-endian buffer.

Minimal yet complete reproducer code (or URL to code)
Code to reproduce the issue is here: 8b415c1. This bootstraps the chat server and client with a little endian bytebuf allocator, and adds details to console output.
To reproduce the failure (handshake timeout), start server using this command (in root directory):

./run-example.sh -Dlebba=true securechat-server

And then the client, using this command:

./run-example.sh -Dlebba=true securechat-client

To fix the use, apply a modified version of 16750ff which is here: f7da006.
Netty version
4.1
JVM version (e.g. java -version)
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

@sudheeshkatkam will check... thanks!

@sudheeshkatkam PTAL https://github.com/netty/netty/pull/6713

LGTM!

Fixed by https://github.com/netty/netty/pull/6713


Create templates for release messaging: updates and breaking changes

As a GC Design System team member, I need a more efficient way to send release messages that are clear and consistent.
Templates to include:

A content structure for main types of messaging
Options to choose from reusable text
Basic guidelines for release communications

Started an outline for a release message using the React with SSR canary release as a model (second part of document): https://docs.google.com/document/d/19DVkjZrTg-qoBEgaw-u1woi_mlPQZK1TrCWsfj4pWNU/edit#heading=h.s3vz6ryynczy


ClickHouse prefers aliases to column names

From https://github.com/PRQL/prql/pull/2826#issuecomment-1588871068 and ClickHouse/ClickHouse#50921
In the following SQL, a DB other than ClickHouse (which are used in the tests in this repository) will interpret x in WHERE x == 1 as column x created by the CTE.
But ClickHouse interpret x is -x AS x.
WITH _tab AS (
  select 1 AS x
)

SELECT -x AS x
FROM _tab
WHERE x == 1

The behavior can be changed by adding a SETTING clause.
WITH _tab AS (
  select 1 AS x
)

SELECT -x AS x
FROM _tab
WHERE x == 1
SETTINGS prefer_column_name_to_alias = 1

...or exec SET prefer_column_name_to_alias = 1; before querying.
I am wondering if prql-compiler can address this issue.
For example, this problem occurs when compiling the following query:
https://github.com/PRQL/prql/blob/3c2860b7756f030841ce74c9960820b61920b919/prql-compiler/tests/integration/queries/genre_counts.prql#L2-L9

I think we could consider just adding that to every clickhouse query. It's less elegant than changing the SQL generation to avoid the problem — it means it's on every query.
But until it's more widely used, I would prioritize fixing bugs before adding these sorts of features by dialect (to the extent there's any tradeoff between those — if someone wants to do this then they're ofc welcome...)


Can't migrate or add resources. Select subscription dropdown doesn't list any subscriptions

While trying to add an Azure resource, or migrate my Luis apps, I can't perform the steps after selecting the tenant name. I have created a new Azure Resource in the Azure portal with both the authoring and runtime, but nothing shows up in the Subscription name dropdown box.

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

ID: fd1b7924-7392-c538-9961-40c92e8a38c1
Version Independent ID: 9b1991ad-d980-83db-4de8-aa5de13da335
Content: Migrate to an Azure authoring resource - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-migration-authoring-steps.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @diberry
Microsoft Alias: diberry

I agree, it cannot migrated and no dropdown after selecting the tenant id
is this related on what type of subscription we have?

I think it's an issue with the website. In my case, I have 5 tenants, but only one subscription in one of the tenants. If I immediately select the correct tenant, the dropdown shows my subscription. If I first select one of the other tenants, I can no longer get it. The only way is to refresh the page, and select the correct tenant.
The same goes for the luis resource. First make sure it is created in the correct Azure directory, then reload the page -> select tenant -> select subscription -> select resource.

I also noticed that the subscription must be listed under "My Subscriptions" in the Cost and Billing blade in the Azure portal. The subscriptions listed under "Other Subscriptions" (i.e. subscriptions you only have  RBAC access to) do not show up in the dropdown menu.

@CodecsHub @Rufus1123 Thank you for letting us know about this issue. This has been reported to the service team.

@Rufus1123 Please help me understand your issue correctly.

You logged in to LUIS
You then went and created an authoring resource from the Azure Portal
You returned back to LUIS
You did not immediately find the key, instead, you had to refresh first

I am understanding this correctly?

@omarsourour
That is correct, but the order doesn't really matter
If I have a LUIS resource in azure (both runtime and authoring), and a LUIS app, migrating nor adding a resource work properly.
I think there are two problems.
1 The website doesn't show you your subscription name if you don't choose the correct tenant immediately after loading the page. If you select a tenant that doesn't have a subscription, you need to reload the page before selecting the correct tenant.
2 Tenants that have subscriptions listed as "Other Subscriptions" (this means you only have RBAC access to this subscription in this tenant) don't show up at all.

please try again, this issue should now be resolved

After migration i only have "F0 (Free)" as pricing tier in the new Azure resource. However, we need "S0 (Standard)", but it is not visible. Any suggestions?

@cahann @omarsourour Any ideas?

we dont support S0 in authoring

@cahann, okay, so i just added another S0 subscription beside the F0 subscription for authoring for all of my Luis.ai apps.

This appears to be resolved. #please-close


Update link to json-schema specification

OpenAPI specifications link to json-schema specification in e.g.
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#data-types
https://github.com/OAI/OpenAPI-Specification/blob/v3.2.0-dev/versions/3.1.0.md#data-types
The links point to an expired IETF draft https://tools.ietf.org/html/draft-bhutton-json-schema-00#section-4.2.1
which has an update to -01 which is also expired.
https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-01
Maybe update OpenAPI specs to link to https://github.com/json-schema-org/json-schema-spec/tree/2020-12 ?
Maybe update to a newer version of json-schema?
I saw that @handrews is a contributor to https://github.com/json-schema-org/json-schema-spec/tree/draft-07 and runs https://modern-json-schema.com/
I assume you have a recommendation to which link to change the link in OpenAPI spec?
I am willing to create a PR if a better link is proposed. To which OpenAPI version should that PR go?

@AxelNennker I think this is mostly a dup of #3934.
I have not been involved with JSON Schema since the end of 2022.

In 3.2 we'll update to the more recent expired draft, as it is like a patch release - no functional changes.  Any other change would have to be done in Moonwalk, but there have not been any further publications from the JSON Schema team to date and they are no longer using the IETF process (you'll have to check with them about the current state of their new process).

Sorry, I did not find https://github.com/OAI/OpenAPI-Specification/issues/3934
Github search was not working for me yesterday "You hit some secondary rate limit".
I think this issue is not really the same though.
I wished that json-schema.org would publish the different versions on json-schema.org or github pages so we could link to that.
I do not intent to demand anything or tell people how they run their project.
I wished json-schema.org did something like https://github.com/ietf-tools/xml2rfc/blob/main/.github/workflows/docs-publish.yml . That is, use github actions to run xml2rfc and then publish the result(s). Either on github pages, or on json-schema.org or as a github release.
Then there would be a file (txt, html, ...) for each version of the "standard" and could link to the version OpenAPI needs.
There seems to be something similar https://github.com/json-schema-org/json-schema-spec/actions in ci.yml but the artififacts are not "published".
If those "standards" are then published as IETF RFC, then all the better. But  that is extra work.

@AxelNennker you'll need to take those requests to JSON Schema's repo - it doesn't sound like there is anything in your list that we can do so I'm going to close this in favor of #3934, although please comment if I have misunderstood and I can re-open.


Compilation error on Debian 8, Release builds

I have installed all required dependencies. Operating system is Debian 8 (testing/jessie) 64-bit, Torque3D Git is up-to-date. This is a Release build by the way. Debug builds properly.
This is the output of make (using CMake):
[  1%] Built target convexDecomp
[  1%] Built target libogg
[  2%] Built target libvorbis
[  2%] Built target tinyxml
[  4%] Built target zlib
[  6%] Built target libtheora
[  8%] Built target lmng
[ 17%] Built target SDL2
[ 19%] Built target recast
[ 19%] Built target lungif
[ 22%] Built target ljpeg
[ 23%] Built target lpng
[ 24%] Built target squish
[ 27%] Built target opcode
[ 42%] Built target collada
[ 43%] Built target pcre
Linking CXX executable ../../../../game/Full
CMakeFiles/Full.dir/__/__/Engine/source/T3D/accumulationVolume.cpp.o: In function `AccumulationVolume::initPersistFields()':
accumulationVolume.cpp:(.text+0x1831): undefined reference to `ScenePolyhedralObject<SceneSpace, PolyhedronImpl<PolyhedronVectorData> >::initPersistFields()'
CMakeFiles/Full.dir/__/__/Engine/source/T3D/accumulationVolume.cpp.o: In function `ConcreteClassRep<AccumulationVolume>::init()':
accumulationVolume.cpp:(.text._ZN16ConcreteClassRepI18AccumulationVolumeE4initEv[_ZN16ConcreteClassRepI18AccumulationVolumeE4initEv]+0x4d): undefined reference to `ScenePolyhedralObject<SceneSpace, PolyhedronImpl<PolyhedronVectorData> >::initPersistFields()'
CMakeFiles/Full.dir/__/__/Engine/source/T3D/occlusionVolume.cpp.o: In function `ConcreteClassRep<OcclusionVolume>::init()':
occlusionVolume.cpp:(.text._ZN16ConcreteClassRepI15OcclusionVolumeE4initEv[_ZN16ConcreteClassRepI15OcclusionVolumeE4initEv]+0x1f): undefined reference to `ScenePolyhedralObject<SceneSpace, PolyhedronImpl<PolyhedronVectorData> >::initPersistFields()'
collect2: error: ld returned 1 exit status
Tools/CMake/CMakeFiles/Full.dir/build.make:20201: recipe for target '../../game/Full' failed
make[2]: *** [../../game/Full] Error 1
CMakeFiles/Makefile2:122: recipe for target 'Tools/CMake/CMakeFiles/Full.dir/all' failed
make[1]: *** [Tools/CMake/CMakeFiles/Full.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

Weird error. Even weirder that it's fine in debug. Wonder if there's a screwy #define somewhere.

The splitting of the scenePolyhedralObject template into two headers is problematic for some compilers - I've run into link errors like this when building with clang-cl.
You might try adding #include "scene/mixin/scenePolyhedralObject.impl.h" to the offending cpp files, which helped fix errors for me. We should probably just merge the two headers, unless there is some compelling reason not to.

Do seem to recall at one point accumulationVolume was spitting compiler warnings out related to the template. Doesn't seem present this end with a draw-down of a fresh devhead though for confirmation that that would be an additional indicator of the underlying flaw...

We should probably just merge the two headers, unless there is some compelling reason not to.

:+1:


[SIS-024] Home and Libary Header

Description
Implemented Home and Library Headers.
Ticket #24
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My PR title is formatted as [SIS-<issue number>] <issue name> (eg. [SIS-010] Create UI button)
[ ] I have linked my issue/ticket on the project board to this PR
[ ] I have sent my PR to #team-sistema-prs on Slack and requested two people to review
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if required)
[x] My changes generate no new warnings
[x] I have tested that my feature works as expected on Android and iOS. If you are a Windows dev, please request a Mac dev to run your branch. If it's a front-end change, I have attached screenshots of what the result looks like on both platforms.

Heyo, please change your open PR to use new SVG package. See documentation on how to use it in our repo here.


Add rev multiply upgrade to v2.12.0 release notes

Summary:
We should call attention to the fact that reverse mode multiply(matrix, matrix), multiply(matrix, vector), and multiply(vector, vector) received significant speedups in 2.12.
Description:
Change RELEASE-NOTES.txt
Current Version:
v2.12.0

Indeed!
To make the release notes, I just go through the
pull requests in reverse chronological order back
to the last release.  Looking at commits is too
confusing.

Bob

I tend to look at the titles of the issues and closed pull requests for the milestone. I look into the details when it's unclear from the titles. (I've looked at almost every issue and PR, so I tend to remember enough details for a summary based on title.)
For anyone following along, please tag issues with milestones and labels if possible.


Implement custom metric for Flux

As an operator, I want to create custom metrics that will help monitor the health of my GitOps components, such as Flux.

[x] Investigate how to import Flux metrics to Prometheus
[x] Research (if possible) how to use the default Flux metrics for monitoring to configure alerting in Prometheus for determining the state of Flux
[x] Understand source code for Flux to define new metric(s) that will reflect the state of Flux in operation

[x] Create a dummy Prometheus Metric and verify that it collects data.  I have started working on a metrics.go that I've created and added to my dev branch: https://github.com/yradsmikham/flux/blob/new-flux-metric/cluster/kubernetes/metrics.go. I think a good start would be to use Prometheus Constant metrics as a simple test.
[x] Investigate where in source code that performs kubectl apply to integrate a counter metric. This should reside in the cluster/kubernetes/sync.go.

[x] Code refactoring to get the new metric collecting data for general sync errors.

The code changes can be found in this branch, with documentation to reproduce here


Rp example vsys voltage vbus edge

Example how to

get the voltage applied to vsys
detect edge on vbus
do all this while still retaining the ability to use the wifi chip

After this proved more tricky than anticipated on a Pi Pico W because of the wifi chip i decided to hand in an example with mutex and asome explanation around all this - in the hope it may help others.

convert to draft -> more testing in my project revelas that a mutex around the wifi peripherals cannot be released due to the tasks required for wifi and net.
Will see if i find a way around that.

this is leading nowhere -> out of the things i learned i made #3216


How to handle HTTP/2 upgrade request?

I need to build a server that supports both HTTP/1.1 and HTTP/2.  My hope is to leverage Beast and nghttp2 for this purpose, where Beast is HTTP/1.1 only and nghttp2 is HTTP/2 only, and use the Beast message classes in either case.
Where I need some guidance is on how to best handle upgrade to HTTP/2.  My understanding is that upgrade is negotiated with the HTTP upgrade header on an unsecured connection, and TLS ALPN on a secured connection.  Beast documentation on WebSocket upgrade here...
https://www.boost.org/doc/libs/1_69_0/libs/beast/doc/html/beast/using_websocket/handshaking_servers.html
...would seem to suggest an unsecured HTTP/2 upgrade request could be handled similarly.  What about the secured upgrade case?

What about the secured upgrade case?

Hmm... my understanding is that TLS ALPN puts the upgrade request into the ClientHello, which is the first "message" sent on a TLS connection. When using Boost.Asio it is OpenSSL which processes this message (via the asio::ssl::stream). This happens in the function ssl::stream::async_handshake. By the time Asio or Beast get back control from OpenSSL, the message is already processed.
Therefore, you would have to either inspect the ClientHello yourself to see if an upgrade request is tucked away inside, or use some OpenSSL interface which lets you get at it (I am unfamiliar with OpenSSL, so this interface may or may not actually exist).
The beast detect_ssl algorithm does limited parsing of this ClientHello message so you could use that code as a starting point if you want to parse it yourself:
https://github.com/boostorg/beast/blob/5154233350d13a08d70f0a3a46c73bb1093225dd/include/boost/beast/core/detect_ssl.hpp#L96

You should set up nginx as a reverse proxy that forwards requests to your Beast backend, something like this:
server <IP_ADDRESS>:8080;

keepalive 16;
}

server {
listen 443 ssl http2;

location /https/ {
proxy_pass https://https_backend;
proxy_http_version 1.1;
}
}```

Note: I haven't tested this so I'm not sure if it works, might need some tweaking. Also, make sure you have OpenSSL 1.0.2 or higher and that the nginx build you use supports HTTP/2.

NOICE!!!

Dropping in a proxy is, unfortunately, not practical for my application.  We have the option to defer upgrade, and used fixed HTTP/1.1 or HTTP/2 on a given port for now.  However, it would be nice if Beast were to support an upgrade hooks in the secured case if possible.

Surely you can't expect Beast to do any OpenSSL heavy lifting...

I can't argue with preserving the clean separation of session and transport, but the HTTP/2 working group thought otherwise for some reason.

Well you can still use Beast to parse the HTTP Upgrade request, but you would be responsible for extracting the serialized HTTP message from the TLS ClientHello record.

is this issue actionable?

In the regular upgrade request case, we can follow the websocket example to handle HTTP/2.0.  It's just the SSL/ALPN upgrade request case that is problematic, but there's nothing actionable by Beast.
nghttp2 provides client and server side examples of the ALPN negotiation, so I think we abstract that process and switch to Beast or nghttp2 accordingly...
https://nghttp2.org/documentation/tutorial-client.html
https://nghttp2.org/documentation/tutorial-server.html


Template elements are no more mandatory in final name.

Closed #344

Ok man, let me do it

I'm done @lukaarma

@lukaarma when this meets your quality bar just merge it, don't wait for me.

@snobu there is a minor linting error, should I revert it or its not worth for such a small fix?

@lukaarma Thank you, keep up the good work.

@snobu there is a minor linting error, should I revert it or its not worth for such a small fix?

Where?

destreamer/destreamer/src/CommandLineParser.ts
Error:   177:9  error  'finalTemplate' is never reassigned. Use 'const' instead  prefer-const

I'm gonna fix it right now.


Exiting Pause Menu activates ingame action

Whenever i leave the pause menu using A or B, i do the corresponding ingame action the next frame essentially, even if i'm not wanting to. The only way to close the pause menu without causing that is to hit the inventory button, as for some reason it doesn't open it like you'd think since opening inventory is it's ingame action.

Fixed in https://github.com/MrCrayfish/Controllable/commit/fd077f5eece1b8a0e800dfa7c420f7fd67ccd763

it's not fixed entirely, hitting B when it's bound to drop still drops the item when you close the pause menu.


Incremental consent experience broken with MSAL update

I've noticed since the update to MSAL 1.1.0-preview that the incremental consent experience doesn't work optimally. I've also noticed this when I updated to the latest MSAL in this branch of another sample.
When I click on the "send mail" tab, I go through the incremental consent experience, but then redirect to a page with this error:

When I click on "send mail" a second time, I go through the consent experience again, and then end up on a page that tells me that I've consented to the additional permissions.
After that second attempt I can send a mail successfully.
I didn't see this with an earlier version of this sample that used the -alpha version of MSAL, and I didn't see this problem in the aspnet-snippets-sample (linked above) until after I updated it to the latest MSAL.

Hi,
In the ValidateState method of the OAuth2RequestManager class, change the following line:
var stateBits = Convert.FromBase64String(state);
to:
// State was Url.Encoded so we need to decode it before Convert.FromBase64String
var stateBits = Convert.FromBase64String(HttpUtility.UrlDecode(state));

This should fix the issue and take you straight to the SendMail page.

This is now fixed.


Definitions for Ammo.js

Pretty self-explanatory. I followed instructions on https://help.github.com/articles/using-pull-requests and ran tests via "npm test" and they pass.

close the PR because this is too old.


change webpack UglifyJsPlugin's config to fix #2054

Fix https://github.com/reactjs/redux/issues/2054

change webpack UglifyJsPlugin's config, which newest version do not enable IE8 support by default

see
https://github.com/mishoo/UglifyJS2/commit/02c638209ee22816b1324ff0c0f47b27db1336af

Thanks!


Feature request: Autosave support

Currently Save Actions will trigger when the user saves the file.
What I would love to see, if that is possible, is that Save Actions will trigger before / after IntelliJ auto saves the file.
This way everything is automated and no user action is required

Hello. This is the whole point of this plugin: it is triggered on autosave, no user action is required. Intellij saves the file when:

the IDE loses focus (this is called frame deactivation)
the IDE reaches a timeout of inactivity (this is disabled by default)

If you want to try it for yourself: edit a file that is not formated, alt-tab to another window, come back to IDE, you'll find your file formated.