Exclude middle-idx each loop, in Binary Search(in "param_find_internal" function)

Describe problem solved by this pull request
Hmm, basic binary-search algorithm. So maybe faster param_find function execution?
Describe your solution
Basically, I just excluded middle idx from the search-range, from each loop, because the parameter at the middle idx definitely isn't the param we are interested at, after getting non-zero value output from strcmp( ).
Describe possible alternatives
Not sure. This is a pretty minor modification.
Test data / coverage
Haven't tested. But according to binary-search algorithm online, this should work.
Additional context
My fist PR! Hope this helps px4.

Seems like it worked!

There are simple perf counters in place for parameters. Try running param status to see the output and compare with current master.

@dagar
Hmm, pretty unexpected result here. I have 3 samples from 'master' branch, and 4 samples from 'this pull request' branch. I checked the .px4 files just in case, and they were different.
So the Middle TWO are actually 'average' of each 3 and 4 samples. Which, will show the overall impact of this 'pull request code' against 'master'.
And, in every entry, this modified version is higher(time_delta). And I definitely didn't expect that. But maybe the integer addition / subtraction instructions take longer than '==' comparison?

I'm closing this as it doesn't seem to perform better - let me know if you want to take another stab at it.


isDragging className

the isDragging className (displayname-dragging) gets overwritten when adding a custom className (either directly to item or through childProps)

This create no bug at the moment, as this class is meant only for touch functionality. But thanks for pointing out, I will keep this in mind.


fix(chat): Dont stop profile fetching when one errors

What this PR does 📖

Makes it so when banner/profile errors during fetching the whole thing is not aborted. This MIGHT fix the linked issue where one person changes their profile picture, another tries to add them but only sees a blank profile picture.
I was only able to reproduce the linked issue once (might be due to some caching thing maybe?) so not really able to confirm this but it seemed to be a good point here.

Which issue(s) this PR fixes 🔨

Resolve #1934

can you post the logs during it?

sara@MBP-PRO-M1-Sara Uplink % cargo run
   Compiling uplink v1.0.2 (/Users/sara/Uplink/ui)
    Finished dev [unoptimized] target(s) in 14.49s
     Running `target/debug/uplink`
2024-04-17 18:26:55 | DEBUG | starting uplink
2024-04-17 18:26:55 | DEBUG | warp initialization
2024-04-17 18:26:55 | DEBUG | add_to_themes: /Users/sara/.uplink/themes
2024-04-17 18:26:55 | DEBUG | add_to_themes: ui/extra/themes
2024-04-17 18:26:55 | DEBUG | shuttle addresses: ["/ip4/<IP_ADDRESS>/tcp/8848/p2p/12D3KooWRF2bz3KDRPvBs1FASRDRk7BfdYc1RUcfwKsz7UBEu7mL"]
2024-04-17 18:26:55 | DEBUG | starting automute
2024-04-17 18:26:55 | DEBUG | starting automute helper
2024-04-17 18:26:55 | DEBUG | add_to_themes: /Users/sara/.uplink/themes
2024-04-17 18:26:55 | DEBUG | add_to_themes: ui/extra/themes
2024-04-17 18:26:55 | DEBUG | add_to_themes: /Users/sara/.uplink/themes
2024-04-17 18:26:55 | DEBUG | add_to_themes: ui/extra/themes
2024-04-17 18:26:55 | DEBUG | received warp cmd: Tesseract { AccountExists }
2024-04-17 18:26:55 | DEBUG | account_exists: true
2024-04-17 18:26:58 | DEBUG | received warp cmd: MultiPass { TryLogIn }
2024-04-17 18:26:58 | DEBUG | add_to_themes: /Users/sara/.uplink/themes
2024-04-17 18:26:58 | DEBUG | add_to_themes: ui/extra/themes
2024-04-17 18:26:58 | DEBUG | warp_runner::manager::run
2024-04-17 18:26:58 | DEBUG | state::mutate: SidebarHidden: true
2024-04-17 18:26:58 | DEBUG | add_to_themes: /Users/sara/.uplink/themes
2024-04-17 18:26:58 | DEBUG | add_to_themes: ui/extra/themes
2024-04-17 18:26:58 | DEBUG | state::mutate: RegisterExtensions
2024-04-17 18:26:58 | DEBUG | Loaded 0 extensions.
2024-04-17 18:26:58 | DEBUG | WARP CMD: RayGun { InitializeWarp }
2024-04-17 18:26:58 | DEBUG | WARP CMD: Constellation { GetItemsFromCurrentDirectory }
2024-04-17 18:26:58 | DEBUG | Updating directories opened to browse
2024-04-17 18:26:58 | INFO | Get items from current directory worked!
2024-04-17 18:26:58 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:26:58 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:26:58 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:26:58 | DEBUG | WARP CMD: RayGun { FetchMessages }
2024-04-17 18:26:58 | DEBUG | init_chat_data
2024-04-17 18:26:58 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:26:58 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:26:58 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:26:59 | DEBUG | use_effect for init_msg_scroll 9eaeed37-3c38-d90c-5abb-655680ebe018
2024-04-17 18:27:08 | DEBUG | received multipass event: IdentityOnline { did: did:key:z6Mku7poUPEPmD6eXBrodVMp7ESCRbg67mDbkZ4LAqBjYxfy }
2024-04-17 18:27:08 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:27:08 | DEBUG | process_warp_event: MultiPassEvent { FriendOnline }
2024-04-17 18:27:08 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:27:12 | DEBUG | received multipass event: IdentityUpdate { did: did:key:z6Mku7poUPEPmD6eXBrodVMp7ESCRbg67mDbkZ4LAqBjYxfy }
2024-04-17 18:27:12 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:27:12 | DEBUG | process_warp_event: MultiPassEvent { IdentityUpdate }
2024-04-17 18:27:12 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:27:16 | DEBUG | received multipass event: IdentityUpdate { did: did:key:z6Mku7poUPEPmD6eXBrodVMp7ESCRbg67mDbkZ4LAqBjYxfy }
2024-04-17 18:27:16 | DEBUG | process_warp_event: MultiPassEvent { IdentityUpdate }
2024-04-17 18:27:16 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:27:16 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:27:17 | DEBUG | received multipass event: IdentityUpdate { did: did:key:z6Mku7poUPEPmD6eXBrodVMp7ESCRbg67mDbkZ4LAqBjYxfy }
2024-04-17 18:27:17 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }
2024-04-17 18:27:17 | DEBUG | process_warp_event: MultiPassEvent { IdentityUpdate }
2024-04-17 18:27:17 | DEBUG | WARP CMD: MultiPass { UpdateProfilePicture }

you want any specific flag?

i think errors are on by default anyways right? if so no

i believe so yes


[stdlib] Improving Dictionary/Set tests to use fewer unsafeBitCasts

What's in this pull request?
@gribozavr @moiseev
Some stylistic improvements to the Set and Dictionary validation tests. Test-specific identity checking logic is encapsulated in an extension method, rather than being hundreds of unsafeBitCast()s scattered across the code. NFC.
This is part of an attempt to break out parts of #3046. As always, thank you for reviewing my PRs!

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

NFC

@swift-ci Please test and merge


Data issue: former collections are not displayed

Former location (collection name) should also be displayed in the record page. This is mapped separately from location/collection, but could be folded into the same facet if possible.

Sorry, can you please remind me how does this work between
P51_has_former_or_current_owner
and
P52_has_current_owner
Still open issue.

Sure thing--former or current owner means former owner; current owner is the current collection
Sent from my iPhone

On Dec 18, 2016, at 5:26 PM, Matt Miller<EMAIL_ADDRESS>wrote:
Sorry, can you please remind me how does this work between
P51_has_former_or_current_owner
and
P52_has_current_owner
Still open issue.
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I need to verify how it is mapping and make sure it is going to the correct fields in the index.

There was a bug where for example: 0002738-Berenson was not displaying the name (Oppenheimer Collection) if it was local. I fixed that. If you have other examples?


How i can get it to work with Home Assistant?

Good day,
Can I somehow connect this project with Home Assistant?
Do i need to configure rest api connect in homeassistant, relying on your documentation?
Thank you!

I would like to know the same.

i don't use Home Assistant, but this should be the one:
https://github.com/hassio-addons/addon-ledfx

Solution Here


uri.query('param') returns null

Sorry to rise this up, but I seem to stumble upon a bug.
We have a url https://example.com/level1/level2?param=value
In the TWIG I am trying to access the query by ID, ie:
{% set variable = uri.query('param') %}
The result will be null
If I then call the {% set variable = uri.query() %} , the result will be %5Cparam=value
I tried to dig that down to the URI calass and it seems to come from the public function query
I tried to dig down but it requiters way more understanding of the code structure and way more time I am able to spend. I have found a similar bug for an old version of Grav, but now the code is different and I can't figure out after an hour of digging why that happens.
I tried several things, including using params and queries in the same URL with no success.
My setup is Linux with NGINX and PHP 8.1. I hope you can help me narrow this down as it really annoying to filter each query I am going to use.

Ok, we can close that.
The issue was in NGINX configuration.
Instead of
try_files $uri $uri/ /index.php?\$query_string;
it should be
try_files $uri $uri/ /index.php?$query_string;


The documentation states that spidermultus will overwrite an existing multus CR with the same name

In the getting started documentation of spidermultus, we need to explain some special scenarios.
For example, spidermuluts will override multus cr of the same name. If you don't want to overwrite the existing multus CR, you can specify the name of the multus cr that Spidermultus automatically generates by commenting multus.spidernet.io/cr-name.

#2346


Take user as a parameter.

Dashboard widget should allow specifying the target twitter handle through configuration of the widget.

If I get chance I'll add this, but only if I can get configuration working at all. No matter how I tried before launch I could not get configuration working, even just for simple resizing of the widget. I could get the config option in hamburger appearing if I put caneditname:true in the manifest but the widget then failed to load. Right now I don't have time to pursue the cause.

I used to have the contributions graph setup to handle configuration.
scripts for

configuration
using the configuration
setting up the manifest to use the configuration

Only major difference would be in this case the twitter widget should return unconfigured b/c there isn't an obvious twitter handle to default to.
VSS.require("TFS/Dashboards/WidgetHelpers", function (WidgetHelpers) {

    //https://docs.microsoft.com/en-us/vsts/extend/develop/styles-from-widget-sdk?view=vsts
    WidgetHelpers.IncludeWidgetStyles();
    WidgetHelpers.IncludeWidgetConfigurationStyles();

    var registerWidget = function () {
        return {
            load: function (widgetSettings) {
                if (!widgetSettings || !widgetSettings.handle) {
                    return WidgetHelpers.WidgetStatusHelper.Unconfigured();
                }
                loadTwitterWidget(widgetSettings.handle);
                return WidgetHelpers.WidgetStatusHelper.Success();
            }
        }
    }

    VSS.register(vssRegisterName, registerWidget);

    VSS.notifyLoadSucceeded();
});

Thanks Otto, hopefully this will be of use when I get time to investigate. Cheers, Greg


SiteMapProvider - Fix to exclude non-indexed sites to avoid SEO ranking penalty

fixes #3901
Summary
Previous submission wasn't correct.  It seems the tab's "Indexed" property is referring to a ContentItem and not the tab's setting.  This submission is referencing the proper TabSetting "AllowIndex"

Superseded by #3903


Port guide changes

Removing old draft of performance recommendations
Updating MRTK/HoloLens 2 porting guide with content for train the trainer learnings
Adding smaller HoloLens2 icon from existing asset

Docs Build status updates of commit 9811cd4:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/mrtk-porting-guide.md
:warning:Warning
View
Details

mixed-reality-docs/ensure-optimal-user-experience.md
:warning:Warning
View
Details

mixed-reality-docs/advanced-performance-recommendations.md
:white_check_mark:Succeeded
View

mixed-reality-docs/images/HoloLens2_Icon.jpg
:white_check_mark:Succeeded
View

mixed-reality-docs/mrtk-porting-guide.md

[Warning] Author author:grbury cannot be recognized in GitHub.

mixed-reality-docs/ensure-optimal-user-experience.md

Line 27: [Warning] Invalid file link:(~/advanced-performance-recommendations.md).
Line 170: [Warning] Invalid file link:(~/advanced-performance-recommendations.md).
Line 17: [Suggestion] Illegal link: Frame rate -- missing bookmark. The file ensure-optimal-user-experience.md doesn't contain a bookmark named why-does-frame-rate-matter?.
Line 18: [Suggestion] Illegal link: Late-stage reprojection -- missing bookmark. The file ensure-optimal-user-experience.md doesn't contain a bookmark named late-stage-reprojection-immersive-(lsr).
Line 20: [Suggestion] Illegal link: Device calibration -- missing bookmark. The file ensure-optimal-user-experience.md doesn't contain a bookmark named device-calibration.

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

Docs Build status updates of commit 2847b84:
:warning: Validation status: warnings

File
Status
Preview URL
Details

mixed-reality-docs/mrtk-porting-guide.md
:warning:Warning
View
Details

mixed-reality-docs/advanced-performance-recommendations.md
:white_check_mark:Succeeded

mixed-reality-docs/ensure-optimal-user-experience.md
:white_check_mark:Succeeded

mixed-reality-docs/images/HoloLens2_Icon.jpg
:white_check_mark:Succeeded
View

mixed-reality-docs/mrtk-porting-guide.md

[Warning] Author author:grbury cannot be recognized in GitHub.

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


update function handlers to return a ParseNode

It was kind of weird having the function handlers return data which the parser would use to create ParseNodes from.  Everywhere else we just create a ParseNode.  This change makes things more consistent by having the function handlers also just create a ParseNode.

Since ParseNode is just a data class we should be able to get rid of it in the future once all of the data in the ParseNode lives at the same level.  Then it'll be easy to enforce what should appear in each node using flow obviating the need for ParseNode completely.

Thanks! This was definitely one of the necessary steps for the final refactor!

Will it be possible to remove either ParseNode.type or ParseNode.value.type? It seems duplicated.

@ylemkimon Yes, that's the eventual goal -- ParseNode would become a type union of objects, each of which would have a single type field. (Kevin already started some of the work in making sure all the value types have a .type field on them.) We want to eventually get to the state Kevin suggested here: https://github.com/Khan/KaTeX/issues/892


triple反压增加流控

triple反压增加流控，服务端读完数据后才更新流控窗口。
主要改动点：
1、TripleHttp2Protocol增加加载自定义流控，见130～132，180～182行。
2、TripleHttp2FrameServerHandler读完数据body后，更新流控窗口，见74～76行。
3、TriHttp2LocalFlowController在消费流量更新流控窗口时，判断处理是否从TripleHttp2FrameServerHandler发起，非TripleHttp2FrameServerHandler发起的不再更新流控窗口，见187～190行
尚余在stream关闭时，流控还未从triple侧生效，仍从netty原生处发起。
What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10672 (3dedaca) into 3.1 (eb0e25e) will decrease coverage by 0.12%.
The diff coverage is 54.71%.

@@             Coverage Diff              @@
##                3.1   #10672      +/-   ##
============================================
- Coverage     65.24%   65.11%   -0.13%
- Complexity      493      494       +1
============================================
  Files          1336     1338       +2
  Lines         56918    57401     +483
  Branches       8434     8501      +67
============================================
+ Hits          37134    37378     +244
- Misses        15813    15999     +186
- Partials       3971     4024      +53

Impacted Files
Coverage Δ

.../protocol/tri/call/AbstractServerCallListener.java
56.81% <0.00%> (-5.69%)
:arrow_down:

.../dubbo/rpc/protocol/tri/call/TripleClientCall.java
48.88% <ø> (+17.77%)
:arrow_up:

.../protocol/tri/call/BiStreamServerCallListener.java
54.54% <16.66%> (-20.46%)
:arrow_down:

...tocol/tri/call/ServerStreamServerCallListener.java
64.70% <50.00%> (-8.03%)
:arrow_down:

...rpc/protocol/tri/call/UnaryServerCallListener.java
77.77% <50.00%> (-13.89%)
:arrow_down:

...rpc/protocol/tri/TriHttp2RemoteFlowController.java
51.79% <51.79%> (ø)

.../rpc/protocol/tri/TriHttp2LocalFlowController.java
54.94% <54.94%> (ø)

...bo/rpc/protocol/tri/stream/TripleClientStream.java
55.69% <60.00%> (+1.89%)
:arrow_up:

...pache/dubbo/rpc/protocol/tri/frame/TriDecoder.java
83.33% <90.90%> (+1.97%)
:arrow_up:

...he/dubbo/rpc/protocol/tri/TripleHttp2Protocol.java
92.30% <100.00%> (+0.64%)
:arrow_up:

... and 49 more

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


docs: client setup troubleshooting for Ubuntu

I have faced a minor issue during client setup that I thought can save somebody (especially not that skilled in Docker yet - like me) fair amount of time. I couldn't start my container via ./start-https due to conficting ports. The solution was to turn off the default apache2 webserver on port 80 that is installed by default on Linux Ubuntu (18.04).

@MartinTuroci Thanks! This has been merged in 🎉


Short-circuit in starts_with

https://github.com/denoland/std/blob/10ee73dbbcf6e55fca62d1dccb7c086911030f28/bytes/starts_with.ts#L27
this can be written as
         if (prefix.length != source.length) {

since prefix can't be longer than the source.

It will return false if prefix is shorter than source, which is not the expected behavior.

Why it is not the expected behaviour? So "foobar" starts with "foobarbaz"?

This is what happens if you run the example from the documentation after applying this change.
$ deno run example.ts
error: Uncaught (in promise) AssertionError: Values are not equal.

    [Diff] Actual / Expected

-   false
+   true

  throw new AssertionError(message);
        ^
    at assertEquals (file://…/deno_std/assert/equals.ts:51:9)
    at file://…/example.ts:7:1

If you remove the check altogether it would work, but much slower than the original in case prefix is sometimes longer than source, because V8 deoptimizes the function when source[i] indexes out of bounds.


find gurobi if present, test on ci

this PR:

adds the gurobi_c.h header, allowing us to build against gurobi if the library is present (installation of that is still, at this point, left to the user)
moves the logic from config.h into setup.py: we no longer hard-code HAVE_GUROBI, it will be determined at buildtime
sets up CI to build the package and run tests
xfails the gurobi test if no license is present
removes requirements.txt files and puts them into setup.py dev extra (use pip install -e .[dev])

i'm going to optimistically merge this one to get the CI to run,  it doesn't touch the cor library (and the new tests won't run on CI unless it's in master)


make it working

updated to a steal-jsx repo that is today not official...
build should now working.
plase read the new readme at https://github.com/stealjs/steal-react-jsx/blob/improve-translate/README.md

Great thanks


adds support for utilization in the simulator output

Changes proposed in this PR

adds support for utilization in the simulator output

Why are we making these changes?
We want to better analyze the scaling algorithm in the presence of additional metrics.
Before:

After:

Documentation in this PR description or elsewhere?

@dposada added documentation


ci: Use already built nightly image to push to nightly

This change is

test-nightly NightlyExamples

Coverage increased (+0.003%) to 45.614% when pulling 5d12aec6314f4923b5e05fa5457b077258aba3da on pr/fix-nightly-image-build-again into f85d3142ab2b4cc8d86500f15b25ab6c79ab3ff0 on master.


[Loc] Property’s tooltip info in file "CMakePresets.json" is not localized

Brief Issue Summary
Environment:
VSCode 1.90.1+ CMake Tools v1.19.13(pre-release)
More info:
Repro Language: All loc languages
Repro steps:

Open VScode and change the display language to CHS
Download and unzip Version Validation
Open above project with VS Code.
Open CMakePresets.json file
Focus on the property and check the tooltip info status

Expected result:
Tooltip info localized (Tooltip info localized in VS and screenshot as below)

Actual result:
Tooltip info for all property are not localized

CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

Verified with CMake Tools v1.19.35 (pre-release), this issue has been fixed.

We verified the issue on CMake tools: v1.19.45 and it has been fixed.
ENV：
CMake Tools:v1.19.45
vscode: 1.92.2
Actual result:


[MINOR] a minor fix for the comments of a method in RPC Dispatcher

What changes were proposed in this pull request?
a minor fix for the comments of a method in RPC Dispatcher
How was this patch tested?
existing unit tests

@zsxwing mind having a look?

Test build #53213 has started for PR 11738 at commit 0382dd4.

ok to test

LGTM

Test build #53214 has started for PR 11738 at commit 0382dd4.

Test build #53213 has finished for PR 11738 at commit 0382dd4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53213/
Test PASSed.

Merging to master. Thanks!

Test build #53214 has finished for PR 11738 at commit 0382dd4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53214/
Test PASSed.


mamedev 0.161

Use sha256.
Fix homebrew environment compiling issue.
Drop LTO optimization to prevent linking error and speed up brew-bot's
compiling time.
rom-tools: the new build system can't build tools standalone.
Use ldplayer's profile to build the tools.

I tried to squash these pull requests into single one. Hope brew-bots isn't complain it.

Alright, I will split ume and rom-tools to another PR.


Insufficient contrast for links in the Markdown preview in dark mode

I noticed that the contrast of the link in the preview is not enough at all. The link color is very dark against the background. This is an accessibility issue.
To reproduce

Toggle Android system dark view.
Create a link in a Markdown file.
Toggle the Markdown preview.
Observe the text foreground against the background in the Markdown preview; it’s quite dark.

Screenshot

The https://example.com autolink in the above screenshot is very dark on the dark gray background. It’s difficult to see.
External links

Web Content Accessibility Guidelines (WCAG) 2.2
Android official documentation on accessibility

System information

Pixel 6
GrapheneOS
Android version 14 and security update 2024-06-01

Hi, thanks for letting me know about this important accessibility issue. I think I've solved it by specifying the color of the link to adapt to Material 3/You (just like the background, which is normally white).
I'd appreciate it if you'd try it out with the staging apk attached below and provide feedback. It can be installed alongside the production build as this one has a .debug prefix. Please note that this staging apk doesn't have the Typst libraries included to reduce file size, so it's expected that the app will crash upon opening Typst projects.
app-staging.zip

I think I've solved it by specifying the color of the link to adapt to Material 3/You (just like the background, which is normally white).
I'd appreciate it if you'd try it out with the staging apk attached below and provide feedback.

Yes, that went perfectly. Thank you! I opened up the same file and I saw the link as light green.
Screenshot

The above screenshot shows that the autolink is displayed in bright green, consistent with my Material 3/Material You theme.

Thanks for the feedback, I'll make a new release soon!


MSVC: Fix some warnings and add proper #defines required for string format specifiers

Sio_detect is not really used, it is a module used by OBattler to detect (new) SIO chips on mainboards. :P

so instead of letting me remove that commit or cherry-pick the other two, you just close the whole PR? :-P


Update default repository factory

Lately I realized that our implementation is a bit off compared to ORM's one so here are 2 bug-fixes (since they're touching the same class and even in same place I packed both into same PR). Once we merge this I'd add AbstractRepositoryFactory as writing own one is quite tedious (copy default one and add your instantiation logic, I think we could add something like AbstractPersistentCollectionFactory)

Also, if you want this to be in 1.1.6 you need to target 1.1.x branch

Ah, branched off locally from 1.1.x and then forgot to set the dropdown... I bet such things could be detected by GitGub


OHRI-2037: Connect the TB dashboard tiles with the mamba reports

Connect the TB dashboard tiles with the mamba report

@lucyjemutai u have a failing tests


LAST_SEEN is translated but not reflect on UI

HI,
I translated all the textMessages into another languages, UI show the other translation correctly. However, in the right chat panel top bar, the 'last seen 2020-11-28 22:45:01' still show the english. Is it a bug? thx.

I don't have this issue with :textMessages="{ LAST_SEEN: 'test' }"

hi,
it's my bad, the reason is 'last seen ' has a space after the word 'seen' , i miss the space, which cause the string cannot be found.


Boolean attributes unable to set to false

This was discovered via issue #7, but there are other boolean attributes that have the same issue, such as draggable. All current attributes should be checked to ensure that all allowed values perform as expected.

Closed by 7268c055b59e8ecd283f0704a3d7bb94a1f592da


Vapor 3.9.0 macOS ARM download doesn't contain an arm version

Describe the bug
the download https://github.com/NCAR/VAPOR/releases/download/v3.9.0/VAPOR3-3.9.0-DarwinARM64.dmg does not contain an ARM version - only another intel build

Impact

[x] Low - User productivity trivially degraded

To Reproduce
file [path/to/binary] > Mach-O 64-bit executable x86_64
Desktop

Ventura 13.5.2
Version: [e.g. Vapor 3.9.0]

Hi, you are correct.  We are currently working on getting Vapor's MacOS arm64 version codesigned, so users will still need to run Vapor through Rosetta.  The only difference between the arm64 and x86 versions is that Ospray is omitted from arm64 due to it crashing.

thanks for the fast answer!

@suschizu - PS, if you'd like a native M1 build, you can find one at this link.  Note that after you install it, Apple will report the application as damaged.  You will need to run the following command to get past Gatekeeper's safeguard:
sudo xattr -rds com.apple.quarantine /Applications/vapor.app


[SPARK-16714][SQL] Refactor type widening for consistency - WIP

What changes were proposed in this pull request?
This patch refactors type widening and makes the usage of them in expressions more consistent.
Before this patch, we have the following 6 functions for type widening. The names are inconsistent.
findTightestCommonTypeOfTwo (binary version)
findTightestCommonTypeToString (binary version)
findTightestCommonTypeAndPromoteToString (n-ary version)
findTightestCommonType (n-ary version)
findWiderTypeForTwo (binary version)
findWiderCommonType (n-ary version)

After this patch, we have the following 4 left:
widerType (binary version)
widerType (n-ary version)
widerTypeToString (binary version)
widerTypeToString (n-ary version)

This is another attempt at https://github.com/apache/spark/pull/14389
How was this patch tested?
WIP

Test build #63973 has started for PR 14696 at commit 9df4551.

Merged build finished. Test FAILed.

@cloud-fan  this actually broke decimal precision.
I'm starting to think that it would be better to push type coercion into each expression, and then the arithmetic can create special cases for decimal types before calling the functions provided here. It would be a much larger change though.

from the previous discussion(https://github.com/apache/spark/pull/14389#issuecomment-236591342):

We also need to add some checks before applying the type widen rules, to avoid conflicting with DecimalPrecision, which defines some special rules for binary arithmetic about decimal type.

Have you tried this?
push type coercion into each expression is also in my plan, but it would be a very large change, we should have a design doc first and discuss it with some people. So I'd like to do this small refactor first, what do you think?

Closing this for now until I revisit.


Editable was removed?

I'm trying to use editable and it's not working, this feature was removed?
Thanks for your attention

I found the solution in releases, I just need to use it inside textInputProps, my bad ><


Front_End: Conventions & Best Practices

I would like to write a Doc on Conventions & Best Practices while writing HTML code/scripts.

I would be mentioning best and bad practices.
an explanation with appropriate examples.

Please Assign this to me. Thanks
@2024-SANDHYA

I can work on this issue.. plz assign me

I would also like to contribute to this topic.

I would like to write a Doc on Conventions & Best Practices while writing HTML code/scripts.
* I would be mentioning best and bad practices.

* an explanation with appropriate examples.

Please Assign this to me. Thanks
@2024-SANDHYA

Sure assigned @ravireddy07

Hey @2024-SANDHYA , Added the Doc.
Review it once and let me know, if anything required to change.

I want to contribute to this issue : Front_End: Conventions & Best Practices
Name-Arya Gupta
Domain-Frontend with HTML CSS
Batch-16
Serial No-3172
Issue Number-220
Contribution Approaches-
Usage of best practices and proper convention increases code readability (proper document structure, mentioning the doctype, closing tags, avoiding the usage of inline CSS, using an alt attribute for images and the usage of proper semantic tags)

can i be assigned in this?
batch - 18 frontend
discord - STRAWHAT_LUFFY#8651

/assign

/assign

I would like to write a Doc on Conventions & Best Practices while writing HTML code/scripts.
I would be mentioning best and bad practices.
an explanation with appropriate examples.
Please Assign this to me. Thanks
@2024-SANDHYA

Merged(#550) and closing this Issue.


missing contour labels for large grids (disappear at high resolution)

Reported by andrew wittenberg on 14 Feb 2011 23:46 UTC
As we've moved to higher resolution, Ferret is no longer plotting contour labels at all -- even when the contours are smooth and widely separated, and even for small values of the "DSLAB" nominal spacing requested with PPL CONSET.  While this is not new to Ferret, it is new to our everyday experience with Ferret, now that we're working with high-res models.
        NOAA/PMEL TMAP
        FERRET v6.67
        Linux rh5 (gfortran) 2.6.18-238.1.1.el5P - 02/11/11
        14-Feb-11 17:49

yes? can mode verify; can v
yes? def sym c con/set/ti="n=\`n\`"/lev=(0,1,.1) x[ppl conset ,,,,,,,.02\; ppl contour
yes? can v
yes? let n = 20; set v ul; ($c)
yes? let n = 100; set v ur; ($c)
yes? let n = 400; set v ll; ($c)
yes? let n = 600; set v lr; ($c)

A workaround is to average the data onto a coarse grid before plotting the contours, but this is usually not a good solution.
With the present PlotPlus contour labeling algorithm, which seems to be based upon along-contour distances between labels, fixing this may be a tough problem -- perhaps analogous to computing http://en.wikipedia.org/wiki/Coastline_paradox the length of the coastline of Britain.  (Though I'm not clear on why Ferret's contours get less dense as resolution increases, instead of more dense.)
Can we investigate alternative contour-labeling schemes?
One alternative could be to measure inter-label distance not along the contour, but across the 2-d plot itself.  E.g. as we traverse the contour away from the previous label, place the next label as soon as the distance ((x2-x1)^2+(y2-y1)^2)^.5 from the previous label exceeds the user-specified value of dslab.
Another alternative would be to break up the 2d contour plot into a "label grid," with grid spacing (in inches) determined by dslab, and each "label box" having an aspect ratio of 1.  The algorithm would then assign a label to the contour that passed closest to the center of each gridbox.
Or the algorithm could sweep from left-to-right across the top of the plot, labeling contours every dslab inches.  Then scroll down by dslab inches, and sweep again from left to right, skipping any labels that are less than dslab inches away from a label placed on the previous sweep.  And so on, until the bottom of the plot is reached.
Perhaps these various alternatives could be selected via a contouring "mode".
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1799

Comment by steven.c.hankin on 14 Feb 2011 23:55 UTC
First step, of course, should be to look into the PLOT+ code and see if there's a clever way to improve the algorithm.  (I've never looked at it.)
That aside, we are planning to convert Ferret to using a Python-based "canvas" in the near future.  It sounds like we should accelerate that ... and include an item to incorporate line contour functionality from the new package.

Comment by ansley.b.manke on 16 Feb 2011 01:05 UTC
The code does lots of careful work to avoid drawing labels where they'll overlap a contour line. But it turns out that what's happening here is that the contour algorithm works on a section of the grid at time, in fact about an IxJ section of 50 by 50 grid points. It asks, is there room on this line segment for a label of this size?  And for that densest grid, the answer is no.
To see what the method is doing I made a version which changes the line color on each new segment, rotating through the colors. They're really small in the highest-resolution plot.  I'll attach an image just for fun.
Also as an experiment try setting the label size to a small value - there is more room on the curve to put a smaller label, and you'll see that labels are now on the contours for the fine grid.
So the answer is to just increase the size of the chunks that are being worked on.  I see where that would be done; there are several work arrays declared and so rather than doing the work to allocate memory for the full grid, I will just increase the size of the current arrays by a factor of 2 or 3.

Comment by steven.c.hankin on 16 Feb 2011 01:38 UTC
As it happens just yesterday Ansley and I were discussing whether the process of dividing the grid into small rectangles for contouring is even necessary any longer, with today's larger memory capacities.  It is, after all, only a 2D field being contoured (by definition).  We will look further into this.  Thanks for providing the key insight!

Comment by ansley.b.manke on 16 Feb 2011 21:27 UTC
This is fixed.  I upped the size of the sub-regions that the contour algorithm uses by a factor of 5 in each direction (57x57 --> 285x285) and the labels show up fine on the high-resolution grids, even 1000x1000.  We can always do this in a more elegant fashion by dynamically allocating work space of the size of the data, if need arises.
ppl/plotlib/contur.F
ppl/plotlib/conseg_section.F

Modified by ansley.b.manke on 16 Feb 2011 21:27 UTC

Comment by steven.c.hankin on 16 Feb 2011 22:45 UTC
How large was the increase in memory requirement? (how many variables and what other dimensions?)  Was it clear whether the algorithm kept only a single contour line in memory at a time?

Comment by ansley.b.manke on 16 Feb 2011 23:57 UTC
The work arrays are not large. There's one of size (w,w) with w being the work dimension, and then another that's (w,w/10) and a third that's (2+w/10,2+w/10)
It seems that the contour routine works on one level at a time - there's an outer loop that has the comment
c     main loop over all contour levels
	do 1100  lev=1,nlev

but inside that there's a computation over some other blocks, which are of size w/10.  The labeling is all done along the way as the plot locations are computed so it's a pretty complex routine.  To list out the coordinates of a contour we'd have to sort out when the pen should be picked up between one loop of a zero-contour and the next.
This is something I might experiment with though when I have a chance.

Attachment from andrew.wittenberg on 14 Feb 2011 23:47 UTC
plot of disappearing contours, as grid resolution increases
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1799_GIT_1071/contour.gif

Attachment from ansley.b.manke on 16 Feb 2011 01:06 UTC
with color for each new section of the grid.
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1799_GIT_1071/bug1799_color.gif


[Bug]: Dirty and Touched flags don't trigger in dev tools when registred with a nested object key.

Version Number
7.11.1
Codesandbox
https://gyazo.com/f8ab439071d6a8ea3268de7fdeb8bd43
Steps to reproduce
I couldn't get devtools (3.1) to work at all in codesandbox, but i added a GIF

Create a form with a nested object registration like patient.firstName. For example:

        <TextInput
          id = "firstName"
          label = "First Name"
          htmlName = "firstName"
          placeholder = "John"
          type = "text"
          required = {true}
          error={errors?.patient?.firstName?.message}
          inputProps = {{...register(`patient.firstName`)}}
        />

navigate to the input and make it dirty or touched

Expected behaviour
I'd expect RHF and dev tools to track it as dirty and touched, but dev tools does not.
What browsers are you seeing the problem on?
Firefox, Chrome, Edge
Relevant log output
-

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Can confirm, doesn't work for me either.
react-hook-form: 7.12.2,
hookform/devtools: 3.1.0


ProgramDetails link in Applicant's Ineligible page should point to the program's external link

Description
ProgramDetails link in Applicant's Ineligible page should point to the program's external link.
Release notes
ProgramDetails link in Applicant's Ineligible page should point to the program's external link.
Checklist
General

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[x] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

User visible changes

[ ] Wrote browser tests using the validateAccessibility method
[ ] Manually tested at 200% size
[ ] Manually evaluated tab order

New Features

[ ] Add new FeatureFlag env vars to server/conf/application.conf
[ ] Conditioned new functionality on a FeatureFlag
[ ] Wrote browser tests with the feature flag off and on, etc.

Issue(s) this completes
Fixes #4240

We can add the ignore for release label as well, since this is behind a feature flag. Sorry for not catching before.


Expose reportDir property in KoverHtmlReport interface

if there is a need to analyze the HTML report after it is generated, or if you need to improve the report (for example, by editing CSS styles), you need to know the directory of each report. Currently, it is not possible to easily link a specific report generation task and a directory.
Resolves #590

Why KoverHtmlTaskConfig.htmlDir is not suitable here?

because in this case, to add the doFirst action to the task, you first need to add the variantName property to KoverReport interfac (to match variant), and then redo kover.reports.variant(task.variantName) so that you can work with it as an object and call it during task execution - this method requires more effort and gives exactly the same result.


Access SharePoint 2016 Audit events remotely

Category

[X] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
Is there an (client.svc) API available to work with the SharePoint 2016 Audit data remotely? Or can this only be accessed using the server side object model?

Thanks for your feedback.  There is an existing UserVoice request to query audit using CSOM:
https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform/suggestions/8967484-microsoft-sharepoint-client-auditquery-in-csom
If you would like this feature added, please vote for the request on UserVoice, and based on community interest we may or may not take the change.


Apt-key is deprecated in 20.20

File: engine/install/ubuntu.md
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Should be replaced with something like
wget https://download.docker.com/linux/ubuntu/gpg -O /etc/apt/trusted.gpg.d/docker.gpg

See #11625


zeus doesn't reload under ruby2.0 on MacOS X 10.8

Darwin mac.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-darwin12.4.0]
zeus (0.13.3)
rb-fsevent is also installed
no custom plan

problem: zeus doesn't reload application after any change (either application class method, or gemified files)
there was no problem on 1.9.3

same here


Roll engine b0b19d6ce1d2..cdbe21466fb8 (4 commits)

https://github.com/flutter/engine/compare/b0b19d6ce1d2...cdbe21466fb8
git log b0b19d6ce1d2..cdbe21466fb8 --no-merges --oneline
cdbe21466 Update test .gitignore (flutter/engine#6272)
dbfa8276d [fuchsia] Fixes for the Fuchsia build (flutter/engine#6273)
dcbc8a820 Roll Dart to 050561fd82be5e775316223c9d2d9e7e5e596c8e (flutter/engine#6271)
ba7752917 Ensure that Layer::AutoSaveLayer objects are not immediately destructed (flutter/engine#6264)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://flutter-dashboard.appspot.com/build.html

Commit queue failed; closing this roll.


aap.spm can no longer be modified in user script

as of #205 aap.spm only appears in the aap struct in aa_doprocessing, which means users can't set custom SPM defaults in the user script without running afoul of aamod_checkparameters.
Is this something we want to keep supporting? We do check the current state of SPM defaults (see below), so perhaps better if users change their defaults in SPM instead?
https://github.com/automaticanalysis/automaticanalysis/blob/5d0db1760d13616f2dc644103a01f54a42d04392/aa_engine/aa_init.m#L77

I would prefer a central and controlled location for the SPM defaults. Otherwise, it is hard to keep track of the provenance.
Besides, I am not sure how easy it would be to submit/synchronise the SPM defaults with the jobs.


Submodules dont linked in subdirs

Gitea version (or commit ref):
Git version: 5332052
Operating system: debian 8 with docker
Database (use [x]):

[ ] PostgreSQL
[X] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[X] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
Submodules only linked in the root of the repo
reproduce on https://try.gitea.io
Submodules
https://try.gitea.io/tantetoni2/submodule
https://try.gitea.io/tantetoni2/private-submodule
In the root submodules are linked
https://try.gitea.io/tantetoni2/repo
but in subdirs they not linked
https://try.gitea.io/tantetoni2/repo/src/branch/master/submodules
...
Screenshots

when is the bugfix coming?

Nobody is currently working on this so if you can help to fix this that would be great

Can't visit https://try.gitea.io/tantetoni2/submodule and https://try.gitea.io/tantetoni2/private-submodule

Please fix this bug...
Links in root of projects are working:

But links in subdirs are dead:

It's a huge issue in my opinion, I'm sure it could be quickly fix.
I created a repo to validate the issue since other seems to doesn't work.
https://try.gitea.io/salco/SuperProject
Tell me if it's doesn't work.

From what I can find the issue is cause by the code inside repo.go , the function RedirectToRepo.
I've also find a commit that try to fix this issue: 237df2f33987073fdaa1d773faa4c9e87221f9ea .
Maybe it could help someone to fix it.

This looks to be fixed / working as expected based on https://try.gitea.io/salco/SuperProject right? Particularly the fact that https://try.gitea.io/salco/SuperProject/src/branch/master/folder shows the submodule linked as expected.

Closing per above comment. Please re-open if needed

Hi there.
I am still unable to link nested submodules. They work as intended if they're on the root directory, however.
I have the exact same setup as the try.gitea project.
.gitmodules file:
[submodule "steamlua"] 	path = steamlua 	url = https://gitea.yfrit.com:2053/yfrit/steamlua.git [submodule "src/Utils"] 	path = src/Utils 	url = https://gitea.yfrit.com:2053/yfrit/Utils.git 	branch = master
Root submodule works:

Nested one does not:

Not sure if I'm doing anything wrong.

Hi there.
I am still unable to link nested submodules. They work as intended if they're on the root directory, however.
I have the exact same setup as the try.gitea project.
.gitmodules file:
[submodule "steamlua"] 	path = steamlua 	url = <SENSTIVE>/steamlua.git [submodule "src/Utils"] 	path = src/Utils 	url = <SENSTIVE>/Utils.git 	branch = master
Root submodule works:

Nested one does not:

Not sure if I'm doing anything wrong.

If you look on the try gitea the version is 1.9.0... i'm not sure if it solve it the 1.8.0. On my setup it still doesnt work, I will wait the 1.9.0 to be sure this issue is still there.

is there any update on this?


Character constructor fires 10+ times per Entity

Summary
Character constructor is firing multiple times per Entity.
Steps to Reproduce
Set debug message in Character constructor, and login. Will fire more than 8 times on a new account with no Characters
Expected behavior
We should be generating Character once and passing that object around until it needs to be destroyed.

Marking this release blocker due to the performance hit when multiple users are online.


After add --log parameter to k3s server,  systemctl start k3s hangs forever

Environmental Info:
K3s Version:
1.17.3
Node(s) CPU architecture, OS, and Version:
X86-64, Centos 7.7.1908 64bit
Cluster Configuration:
1 master, 2 workers
Describe the bug:
I want to write the k3s server log to a file .not to /var/log/messages,   So I add --log=/var/log/k3s-server.log to k3s.service file, then I use systemctl daemon-reload and systemctl restart k3s to start it,   this command systemctl restart k3s hangs and occupies the terminal forever.   But the cluster has started successfully.
Steps To Reproduce:
add --log=/var/log/k3s-server.log to k3s.service file

Installed K3s:

Expected behavior:
It writes log to the file and restart successfully.
Actual behavior:
command systemctl restart k3s hangs and occupies the terminal forever.   But the cluster has started successfully.
Additional context / logs:
This is my k3s.service file:
[Unit]
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Wants=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
Type=notify
EnvironmentFile=/etc/systemd/system/k3s.service.env
KillMode=process
Delegate=yes
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
 When running with openrc, logs will be created at /var/log/k3s.log.
When running with systemd, logs will be created in /var/log/syslog and viewed using journalctl -u k3s

Have a nice day! 😄

Please consider removing redundant '=' from k3s args
--log /var/log/k3s-server.log

I want to write the k3s server log to a file .not to /var/log/messages

Note: Documentation says that default log path for systemd installation is /var/log/syslog

The installation script will auto-detect if your OS is using systemd or openrc and start the service. When running with openrc, logs will be created at /var/log/k3s.log.
When running with systemd, logs will be created in /var/log/syslog and viewed using journalctl -u k3s

Have a nice day! 😄

Hello,    I found the issue,   I use Cent OS 7 and Ubuntu 18/20  ,   all of them use systemd,   I checked the k3s server systemd unit file /etc/systemd/system/k3s.service:
 [Unit]
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Wants=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
Type=notify
EnvironmentFile=/etc/systemd/system/k3s.service.env
KillMode=process
Delegate=yes
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.

When I add the line "NotifyAccess=all",  In my opinion, systemd can receive the notify message anywhere, It resolved my problem.
the complete systemd unit file is :
 [Unit]
Description=Lightweight Kubernetes
Documentation=https://k3s.io
Wants=network-online.target

[Install]
WantedBy=multi-user.target

[Service]
Type=notify
NotifyAccess=all
EnvironmentFile=/etc/systemd/system/k3s.service.env
KillMode=process
Delegate=yes
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.

Please close the issue if the problem is solved
Have a nice day! 😄

NotifyAccess=all works because k3s silently re-execs itself to redirect log output to a file. Unfortunately in the default configuration, only the specific child process started by systemd is allowed to send a message to the systemd notification socket.

NotifyAccess=all works because k3s silently re-execs itself to redirect log output to a file. Unfortunately in the default configuration, only the specific child process started by systemd is allowed to send a message to the systemd notification socket, which means that the re-exec'd child process does not have access.

Tks, got it

:like:

Yes, see the PRs linked above.

Validated using k3s version v1.22.4-rc1+k3s1, passing --log parameter successfully logs into the file specified.
$ curl -fL https://get.k3s.io | INSTALL_K3S_VERSION=v1.22.4-rc1+k3s1 sh -s - server --log /var/log/k3s-server.log

$ tail -4 /etc/systemd/system/k3s.service
    server \
	'--log' \
	'/var/log/k3s-server.log' \

$ cat  /var/log/k3s-server.log |head
time="2021-11-23T00:11:16Z" level=info msg="Starting k3s v1.22.4-rc1+k3s1 (1a513bba)"
time="2021-11-23T00:11:16Z" level=info msg="Configuring sqlite3 database connection pooling: maxIdleConns=2, maxOpenConns=0, connMaxLifetime=0s"
time="2021-11-23T00:11:16Z" level=info msg="Configuring database table schema and indexes, this may take a moment..."
time="2021-11-23T00:11:16Z" level=info msg="Database tables and indexes are up to date"
time="2021-11-23T00:11:16Z" level=info msg="Kine available at unix://kine.sock"
time="2021-11-23T00:11:16Z" level=info msg="certificate CN=system:admin,O=system:masters signed by CN=k3s-client-ca@1637626276: notBefore=2021-11-23 00:11:16 +0000 UTC notAfter=2022-11-23 00:11:16 +0000 UTC"


Social Media: 26.09.22

Please add below any items you'd like to share on the OpenFeature social media channels (Linkedin, Twitter, YouTube) so I can schedule them for publishing this week.
Examples: project updates, new releases, blog posts, videos, future events, speaking engagements, etc.
Don't forget to add your social media handles if you want to be tagged!

Hello @Giulia-dipietro,
The JAVA Provider for go-feature-flag is in a final review and will be probably merged soon https://github.com/open-feature/java-sdk-contrib/pull/106.
It could be great to communicate about that.
You can mention @gofeatureflag on twitter if you wish, and link to https://gofeatureflag.org also.

Social media posts scheduled


Add consumer-only mode

Now since there's node:test available in the newest Node.JS releases, please add a mode for formatting its tap output, since node-tap seems to be the nicest TAP suite out there. I'd suggest something like node --test | tap --stdin to consume what node's own tap output produces and then format that as if node-tap itself produced it.

This is actually already supported!  Test files are just programs that output TAP, so it just works.
// t.mjs
import * as t from 'node:test'
import { ok } from 'node:assert'

t.test('ok', async () => {
  ok(true, 'this is fine')
})

$ tap t.mjs
 PASS  t.mjs 1 OK 391.898ms

  🌈 SUMMARY RESULTS 🌈

Suites:   1 passed, 1 of 1 completed
Asserts:  1 passed, of 1
Time:   447.52ms

You can also do this:
$ node --test | tap -

But of course then it won't be using node-tap's runner, it's just parsing stdin serially, so if you're relying on how it handles parallel tests, arguments, etc, then that's not going to be as powerful.


Improve copy and assign operation

__getitem__ method has some overhead. And, It finally calls elemntwise_copy.

OK, I will rewrite.

I checked copyto.  Basically, copying for out does not cause non-contiguous cases. So I think there is no problem with elementwise_copy.
What do you think?

/test mini

/test mini

/test mini


Feedback

@0xJem will your renaming conflict with what I did in this PR? https://github.com/GuardianUI/documentation/pull/3
If so, we should chose one and delete the other. Indifferent on my end. Can use yours.

Superseded by #5


First implementation of Metaheuristic.jl interface

First implementation of Metaheuristic.jl interface which is missing handling of equality and inequality constraints.

Manifest files should not be included in the repo.


[Key Vault] az keyvault: Revise --id argument help text

Description
For commands that use the --id argument to identify the vault/HSM, the
vault/HSM's full URI, like https://vault-name.vault.azure.net/, needs
to be passed, not the resource's ARM ID, like
/subscriptions/.../resourceGroups/.../providers/Microsoft.KeyVault/vaults/vault-name.
Refine the argument help text to use "Full URI" instead of "Id" to try
to minimize confusion.
Testing Guide
This only changes help text. No functionality should be affected.
Fixes https://github.com/Azure/azure-cli/issues/17399

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

The existing commands are not following the "-id should be a GUID" guideline. I did not change that.

[x] I adhere to the Error Handling Guidelines.

Help text only change.

Based on the discussion in issue #17399, "az keyvault certificate list --id", it appears that operations on the vault/HSM that have an --id parameter take the vault/HSM's full URI, not its ARM id. Let me know if any of the commands I've changed do not follow that pattern, and I can update.

Key Vault

/azp run


irpf: 2024-1.0 -> 2024-1.1

Description of changes

Added update script for passthru.updateScript
Moved derivation to the by-name path
changed from using the rec syntax to finalAttrs
updated from 2024-1.0 to 2024-1.1

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This has merge conflicts and should probably be rebased against master

Result of nixpkgs-review pr 300812 run on x86_64-linux 1

1 package built:

irpf


Restore cocoapods Cask as cocoapods-app

See #23971 (cocoapods: migrate to Homebrew)
Checklist

[x] The commit message includes the cask’s name and version. (version remains the same; not applicable for commit message)
[x] brew cask audit --download cocoapods-app is error-free.
[x] brew cask style --fix cocoapods-app left no offenses.

Additionally, when adding a new cask:

[x] Checked there are no open pull requests for the same cask.
[x] Checked there are no closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] brew cask install cocoapods-app worked successfully.
[x] brew cask uninstall cocoapods-app worked successfully.

Looks like the file is missing .rb ?

Whoops, that's been corrected!

Travis is slow/down at the moment, but 👍

cc @MikeMcQuaid, I'm happy to merge this.

Fine with me 👍


[5.0][CSSolver] Increment score when performing certain function conversions

Increase solution score when performing function conversions where only
one side has @autoclosure. That is going to help pick the best overload
when only difference lays in presence of such attribute.
e.g.
func foo(_: @autoclosure () -> Int) {}
func foo(_: () -> Int) {}

If the argument is itself @autoclosure it's preferable to use overload
with @autoclosure attribute, otherwise () -> Int should be used.
Resolves: rdar://problem/37160679
(cherry picked from commit 8316353e073352f484e57b9663c613acf5ccdfc9)

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge


Test Environment

I am not sure if this is a feature request, bug or user error.
issue:
issue: CassandraMigrations::Cassandra.create_keyspace!('test') does not create keyspace. Therefore, the test keyspace must be manually created with RAILS_ENV=test rake cassandra:drop cassandra:create cassandra:migrate. After manual creation, I can successfully run bundle exec rspec, which includes writing and reading from CassandraMigrations::Cassandra.
ideal solution: ability to run something like what cassandra:drop cassandra:create cassandra:migrate offers; however, within ./spec/rails_helper. This might be built but I don't think it is working properly, see setup below.

Using Rspec, I would like to create the keyspace, run migrations and drop the keyspace before and after the suite is run. After each test, I would like to clear out the data in all the tables. Below is my attempt at doing this:
./config/cassandra.yml
common: &common
  port: 9042
  replication:
    class: 'SimpleStrategy'
    replication_factor: 1

test:
  <<: *common
  keyspace: analytics_test
  hosts:
    - cassandra

./spec/rails_helper
require 'spec_helper'
require 'rspec/rails'
require 'shoulda/matchers'
require 'active_support/all'
require 'cql'
require 'cassandra_migrations'

RSpec.configure do |config|
  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
  config.fixture_path = "#{::Rails.root}/spec/fixtures"

  # If you're not using ActiveRecord, or you'd prefer not to run each of your
  # examples within a transaction, remove the following line or assign false
  # instead of true.
  config.use_transactional_fixtures = false

  # The different available types are documented in the features, such as in
  # https://relishapp.com/rspec/rspec-rails/docs
  config.infer_spec_type_from_file_location!

  config.before(:suite) do
    # create keyspace
    CassandraMigrations::Cassandra.create_keyspace!('test')
    # run migrations
    # ...
  end

  config.around(:each) do |example|
    # clear data from tables
    # ...
  end

  config.after(:suite) do
    # remove keyspace and all corresponding test data
    CassandraMigrations::Cassandra.drop_keyspace!('test')
  end
end

run: bundle exec rspec
Keyspace 'analytics_test' does not exist : Keyspace 'analytics_test' does not exist

An error occurred while loading ./spec/models/transfer_spec.rb.
Failure/Error: require File.expand_path('../../config/environment', __FILE__)

CassandraMigrations::Errors::UnexistingKeyspaceError:
  Keyspace analytics_test does not exist. Run rake cassandra:create.
# /usr/local/bundle/gems/cassandra_migrations-1.0.0/lib/cassandra_migrations/cassandra.rb:63:in `rescue in use'
# /usr/local/bundle/gems/cassandra_migrations-1.0.0/lib/cassandra_migrations/cassandra.rb:59:in `use'
# /usr/local/bundle/gems/cassandra_migrations-1.0.0/lib/cassandra_migrations/cassandra.rb:20:in `start!'
# /usr/local/bundle/gems/cassandra_migrations-1.0.0/lib/cassandra_migrations/railtie/initializer.rb:14:in `<module:CassandraMigrations>'
# /usr/local/bundle/gems/cassandra_migrations-1.0.0/lib/cassandra_migrations/railtie/initializer.rb:12:in `<top (required)>'
# /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `require'
# /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `block in require'
# /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:258:in `load_dependency'
# /usr/local/bundle/gems/activesupport-5.1.6/lib/active_support/dependencies.rb:292:in `require'
# /usr/local/bundle/gems/cassandra_migrations-1.0.0/lib/cassandra_migrations/railtie.rb:6:in `block in <class:Railtie>'
# /usr/local/bundle/gems/railties-5.1.6/lib/rails/initializable.rb:30:in `instance_exec'
# /usr/local/bundle/gems/railties-5.1.6/lib/rails/initializable.rb:30:in `run'
# /usr/local/bundle/gems/railties-5.1.6/lib/rails/initializable.rb:59:in `block in run_initializers'
# /usr/local/bundle/gems/railties-5.1.6/lib/rails/initializable.rb:58:in `run_initializers'
# /usr/local/bundle/gems/railties-5.1.6/lib/rails/application.rb:353:in `initialize!'
# ./config/environment.rb:5:in `<top (required)>'
# ./spec/rails_helper.rb:5:in `require'
# ./spec/rails_helper.rb:5:in `<top (required)>'
# ./spec/models/transfer_spec.rb:1:in `require'
# ./spec/models/transfer_spec.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# Cassandra::Errors::InvalidError:
#   Keyspace 'analytics_test' does not exist
#   /usr/local/bundle/gems/cassandra-driver-3.2.2/lib/cassandra/future.rb:637:in `get'
No examples found.

@LauraKirby Looking at https://github.com/hsgubert/cassandra_migrations/blob/master/lib/cassandra_migrations/railtie/tasks.rake it's using create_keyspace as such:
    begin
      CassandraMigrations::Cassandra.start!
      puts "Keyspace #{CassandraMigrations::Config.keyspace} already exists!"
    rescue CassandraMigrations::Errors::UnexistingKeyspaceError
      CassandraMigrations::Cassandra.create_keyspace!(Rails.env)
      puts "Created keyspace #{CassandraMigrations::Config.keyspace}"
    end

This might be by design but it looks like the call to  CassandraMigrations::Cassandra.start! which in turn calls use(Config.keyspace) and the first thing it does is connect_to_server so you might want to try:
  config.before(:suite) do
    # connect to c*
   CassandraMigrations::Cassandra.connect_to_server
    # create keyspace
    CassandraMigrations::Cassandra.create_keyspace!('test')
    # run migrations
    # ...
  end

That assumes that there is config for that env. Let me know if that works.

@bsbodden, thank you for noting the rake file.
I am able to successfully read and write to the database. In my tests I have things like CassandraMigrations::Cassandra.write!(table, transfer_attrs, ttl: 400).
After more testing,  CassandraMigrations::Cassandra.drop_keyspace!(Rails.env) is working perfectly fine in my config.before(:suite) do block; however,     CassandraMigrations::Cassandra.create_keyspace!(Rails.env)  returns CassandraMigrations::Errors::UnexistingKeyspaceError: Keyspace analytics_test does not exist. Run rake cassandra:create
config.before(:suite) do
    CassandraMigrations::Cassandra.drop_keyspace!(Rails.env)
    CassandraMigrations::Cassandra.create_keyspace!(Rails.env)
    CassandraMigrations::Cassandra.start!
    CassandraMigrations::Migrator.up_to_latest!

    puts "Created keyspace #{CassandraMigrations::Config.keyspace}"

    migrations_up_count = CassandraMigrations::Migrator.up_to_latest!

    if migrations_up_count == 0
      puts "Already up-to-date"
    else
      puts "Migrated #{migrations_up_count} version(s) up."
    end

  end

Here is my complete and working rails_helper
# This file is copied to spec/ when you run 'rails generate rspec:install'

require 'spec_helper'
require 'active_support/all'
ENV['RAILS_ENV'] = 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'cassandra_migrations'

# Prevent database truncation if the environment is production
abort('The Rails environment is running in production mode!') if Rails.env.production?
require 'rspec/rails'
require 'shoulda/matchers'
require 'mock_redis'
require 'webmock/rspec'

# Add additional requires below this line. Rails is not loaded until this point!

# Requires supporting ruby files with custom matchers and macros, etc, in
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
# run as spec files by default. This means that files in spec/support that end
# in _spec.rb will both be required and run as specs, causing the specs to be
# run twice. It is recommended that you do not name files matching this glob to
# end with _spec.rb. You can configure this pattern with the --pattern
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
#
# The following line is provided for convenience purposes. It has the downside
# of increasing the boot-up time by auto-requiring all files in the support
# directory. Alternatively, in the individual `*_spec.rb` files, manually
# require only the support files necessary.
#
# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }

# Checks for pending migrations and applies them before tests are run.
# If you are not using ActiveRecord, you can remove this line.
ActiveRecord::Migration.maintain_test_schema!

Shoulda::Matchers.configure do |config|
  config.integrate do |with|
    with.test_framework :rspec

    with.library :rails
  end
end

RSpec.configure do |config|
  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
  config.fixture_path = "#{::Rails.root}/spec/fixtures"

  # If you're not using ActiveRecord, or you'd prefer not to run each of your
  # examples within a transaction, remove the following line or assign false
  # instead of true.
  config.use_transactional_fixtures = false

  config.before(:suite) do
    CassandraMigrations::Cassandra.drop_keyspace!(Rails.env)
    CassandraMigrations::Cassandra.create_keyspace!(Rails.env)
    CassandraMigrations::Cassandra.start!
    CassandraMigrations::Migrator.up_to_latest!

    migrations_up_count = CassandraMigrations::Migrator.up_to_latest!
  end

  config.before(:each) do
    table_names = %w'transfer_metadata_by_file_name transfer_metadata_by_user_name transfer_metadata_by_workspace_name transfer_metadata_by_user_name'
    table_names.each do |table|
      CassandraMigrations::Cassandra.delete!(table, 'organization_id = 4')
    end
  end

  # RSpec Rails can automatically mix in different behaviours to your tests
  # based on their file location, for example enabling you to call `get` and
  # `post` in specs under `spec/controllers`.
  #
  # You can disable this behaviour by removing the line below, and instead
  # explicitly tag your specs with their type, e.g.:
  #
  #     RSpec.describe UsersController, :type => :controller do
  #       # ...
  #     end
  #
  # The different available types are documented in the features, such as in
  # https://relishapp.com/rspec/rspec-rails/docs
  config.infer_spec_type_from_file_location!

  # Filter lines from Rails gems in backtraces.
  config.filter_rails_from_backtrace!
  # arbitrary gems may also be filtered via:
  # config.filter_gems_from_backtrace("gem name")

  config.after(:suite) do
    CassandraMigrations::Cassandra.drop_keyspace!(Rails.env)
    CassandraMigrations::Cassandra.create_keyspace!(Rails.env)
  end
end

To run tests:
one time only do:
RAILS_ENV=test then rake cassandra:drop cassandra:create cassandra:migrate
(aka not after each time you run bundle exec rspec)
These methods seem to work when placed right after each
other.
CassandraMigrations::Cassandra.drop_keyspace!(Rails.env)
CassandraMigrations::Cassandra.create_keyspace!(Rails.env)
When CassandraMigrations::Cassandra.create_keyspace!(Rails.env) is placed first and the keyspace has not been created, an exception is raised.


Create Reversort.cpp

solution to the mentioned issue added

kindly check the above request and accept if possible

They are not considering dsa, co, algorithm repo :)
Thank you for your contribution

np problem
On Sun, 3 Oct 2021 at 09:47, Avinash Singh @.***> wrote:

They are not considering dsa, co, algorithm repo :)
Thank you for your contribution
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/avinash201199/DSA-Questions/pull/444#issuecomment-932859859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUCNQ4IBIBB4NJPW5DYGZ23UE7KLXANCNFSM5FG46V7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


get_stats

Please relaunch with 2.3.1 and see if this re-occurs.

Please relaunch with 2.3.1 and see if this re-occurs.

k let mc

Lo mismo @zayKenyon

fixed in 2.32

press enter


Heated Steering Wheel turns on every day and charge limit keeps getting set to 100%

Version of the custom_component
v2.3.0
Configuration
2022-06-03 13:10:16 WARNING (MainThread) [homeassistant.components.media_player] Updating samsungtv_smart media_player took longer than the scheduled update interval 0:00:15

Describe the bug
When i get in the car, the heated steering wheel turns on without me telling it to. It only does this when the custom integration is running. I have checked it against temperatures outside and it still does it on warm days regardless. When i disable the integration, it does not turn the heated steering wheel on by itself so seems to be linked. Also i have issues with the integration setting my charge limit to 100%. Sometimes i get in the car and it is fully charged without me changing the charge limit from either my phone or from the integration. I usually leave my charge limit at 85% but when the integration is running it will randomly set to 100%.
Debug log

Add your logs here.

The component does not do anything command-wise unless you set it. You should review your logbook to see what is being triggered and investigate. Your HA may have an automation or your HA installation may be compromised.

Hi. I have checked that I have no automations or anything to do with the integration other that some history graphs. I have noticed that the steering wheel heater is turning on when I get in the car to leave the house and also when the car arrives home. As soon as I disable the integration, this bevahiour stops. I have no links to the integration other than displaying charge rate etc.
Simeon Larrea
0412818676

From: Alan Tse @.>
Sent: Saturday, June 4, 2022 1:16:57 PM
To: alandtse/tesla @.>
Cc: Schmee323 @.>; Author @.>
Subject: Re: [alandtse/tesla] Heated Steering Wheel turns on every day and charge limit keeps getting set to 100% (Issue #223)
The component does not do anything command-wise unless you set it. You should review your logbook to see what is being triggered and investigate. Your HA may have an automation or your HA installation may be compromised.
—
Reply to this email directly, view it on GitHubhttps://github.com/alandtse/tesla/issues/223#issuecomment-1146513168, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARYHLJKOFTVYOPK7SRN7RXLVNLDCTANCNFSM5XXFL62A.
You are receiving this because you authored the thread.Message ID: @.***>

@Megabytemb @ehendrix23 any ideas about this one?

I tend to agree with @alandtse's comments about how the integration (particularly the heated steering wheel and charge limit settings) does not have any logic that would automatically turn on those components.
I would encourage you to look in the home assistant Logbook, and see what fires in Home Assistant. It might not even be related to the car, just when you notice it. The Logbook lets you filter by entity, so you can see what (if anything) is turning on the heated steering wheel switch
You may have an automation that is accidentally turning on All switches, for example.

This was happening to me too. I figured out that it was because I was using Node-Red and had set the "Device" option to my Tesla in the call service node. I thought it worked like a filter, but I guess it sends the command to every switch.

Thank you so much @magnevan : I was getting crazy with that erratic behavior

I hear you both, but I have never set up any automations linked to this integration, nor can I find any after extensive searching.
Here is a snapshot of the config and some of the logs from when I got home tonight at 6:41pm.
Looks like the max range switch is also turning on by itself which would explain the 100% charge target I mentioned. Is turning on at the same time.
For now I have disabled the integration as I cant have the charge level being reset every time I leave or arrive home. The heated steering wheel is an inconvenience but the charge limit has actual impact on battery health.
Happy to look further if you have any suggestions of where or how to debug this more.
Thanks,
Simeon
From: Michael Benz @.>
Sent: Sunday, 5 June 2022 1:21 PM
To: alandtse/tesla @.>
Cc: Schmee323 @.>; Author @.>
Subject: Re: [alandtse/tesla] Heated Steering Wheel turns on every day and charge limit keeps getting set to 100% (Issue #223)
I tend to agree with @alandtse https://github.com/alandtse 's comments about how the integration (particularly the heated steering wheel and charge limit settings) does not have any logic that would automatically turn on those components.
I would encourage you to look in the home assistant Logbook, and see what fires in Home Assistant. It might not even be related to the car, just when you notice it. The Logbook lets you filter by entity, so you can see what (if anything) is turning on the heated steering wheel switch
You may have an automation that is accidentally turning on All switches, for example.
—
Reply to this email directly, view it on GitHub https://github.com/alandtse/tesla/issues/223#issuecomment-1146732888 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ARYHLJPWENVX5ITQBLO4WADVNQMITANCNFSM5XXFL62A .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ARYHLJKDQVGOJE6EESS4XW3VNQMITA5CNFSM5XXFL62KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIRM4CWA.gif Message ID: @.*** @.***> >

Closing since we've basically rewritten the component. Please open a new issue if you see it on the 3.x branch.


Adding support for Amazon Linux 2015.09

I believe this giant array of platforms/versions is somewhat brittle, especially in the case of Amazon Linux since a major release arrives every six months.  Is it possible that handling this can be added to a routine check list for maintainers of the cookbook so the community doesn't catch this issue?  Alternatively, special handling for the versioning in Amazon Linux could be added so that the cookbook doesn't fail every six months.
Thanks!

@eric-tucker Thanks for posting to my chef-cookbooks/database issue. As a quick test, I took your commit changes and updated the helpers.rb file. However, on the Chef run using the AMZN AMI for 2015.09, it failed with:
https://gist.github.com/bmurtagh/1db9f88f182130b6fe5d
I don't know if anyone else has tried yet, but this was a use-case example I wanted to share

I totally agree. I served its purpose when it was first created, but it's definitely proving to be bothersome.

@someara until #383 is addressed, I think this should be merged to get folks working again on Amazon Linux 2015.09.

Thank you @someara!


verif: Make use of verification artifacts at code level

@cezarad, @konnov, @josef-widder started a discussion about how to make the best use of verification artifacts at code level. These are my meeting notes:
Artifacts we have

TLA+ specs (with temporal properties and invariants)
TLA+ traces as output from Apalache
invariants, pre- and postconditions from Stainless

From these artifacts we can generate executable code (monitor) that checks invariants at runtime we can detect when we run into an error
The general question is what to do from there. For instance, we could

instrument the code for a testbed
log undesired behavior in the production systems

Another question is what to monitor (do not expose too much detail)
TODO:

check with MongoDB

I guess @andrey-kuprianov will also have an opinion on these questions...

There is also MIRAI - see notes in #200


Let blink animation support style inheritance

With this change, blinking cursor will use the same font and background
color that set before, so that changing the style of cursor automatically applies to the animation.

Can you provide some repro steps illustrating the problem? Is this if you're using a custom foreground color?

Hi @Tyriar I've updated the repro steps.

Perfect, thanks for the contribution :smiley:


Site support request: abc.go.com

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.12.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl -o "C:/Video/test-a1" "http://abc.go.com/shows/this-week-with-george-stephanopoulos/episode-guide/2016-11/27-donald-trump-continues-transition-as-fidel-castro-passes" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-o', 'C:/Video/test-a1', 'http://abc.go.com/shows/t
his-week-with-george-stephanopoulos/episode-guide/2016-11/27-donald-trump-contin
ues-transition-as-fidel-castro-passes', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.12.01
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 27-donald-trump-continues-transition-as-fidel-castro-passes: Requestin
g header
WARNING: Falling back on generic information extractor.
[generic] 27-donald-trump-continues-transition-as-fidel-castro-passes: Downloadi
ng webpage
[generic] 27-donald-trump-continues-transition-as-fidel-castro-passes: Extractin
g information
ERROR: Unsupported URL: http://abc.go.com/shows/this-week-with-george-stephanopo
ulos/episode-guide/2016-11/27-donald-trump-continues-transition-as-fidel-castro-
passes
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\YoutubeDL.py", line 694, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\extractor\common.py", line 357, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6j6yd3lp\bu
ild\youtube_dl\extractor\generic.py", line 2433, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://abc.go.com/shows/this
-week-with-george-stephanopoulos/episode-guide/2016-11/27-donald-trump-continues
-transition-as-fidel-castro-passes

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included:

Single video: http://abc.go.com/shows/this-week-with-george-stephanopoulos/episode-guide/2016-11/27-donald-trump-continues-transition-as-fidel-castro-passes
More URLs and a new URL each week can be found at http://abc.go.com/shows/this-week-with-george-stephanopoulos

Description of your issue, suggested solution and other information
May require U.S. IP address and/or U.S. cable account credentials?

youtube-dl http://abc.go.com/shows/this-week-with-george-stephanopoulos/episode-guide/2016-11/27-donald-trump-continues-transition-as-fidel-castro-passes
[Go] 27-donald-trump-continues-transition-as-fidel-castro-passes: Downloading webpage
[Go] 3546928: Downloading JSON metadata
[Go] 3546928: Downloading JSON metadata
[Go] 3546928: Downloading m3u8 information
WARNING: ar subtitles not available for 3546928
WARNING: en subtitles not available for 3546928
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 730
[download] Destination: This Week 11_27_16 - Donald Trump Continues Transition as Fidel Castro Passes-3546928.mp4
[download]   0.0% of ~1.19GiB at 20.37KiB/s ETA 20:15:26


[Airbrake] [Staging] Curve must not be empty

Airbrake error: #4377
Airbrake project: ETMoses
Error type: RuntimeError
Error message: Curve must not be empty
Where: data#price_curve
Occurred at: Jul 04, 2016 11:15:17 UTC
First seen at: Jul 04, 2016 11:15:17 UTC
Occurrences: 1 (1 since last deploy on Jul 04, 2016 09:08:38 UTC)
URL: https://beta-moses.energytransitionmodel.com/testing_grounds/566/data/price_curve.csv
File: [PROJECT_ROOT]/app/models/network/curve.rb
Backtrace:
[PROJECT_ROOT]/app/models/network/curve.rb:20:in initialize
[PROJECT_ROOT]/app/models/network/curve.rb:14:in new
[PROJECT_ROOT]/app/models/network/curve.rb:14:in from
[PROJECT_ROOT]/app/models/market/merit_curve_builder.rb:27:in load_curve

Happened when trying to download the merit price curve for beta LES-566.


update ply_io and filter_branch.py

ply_io.py

.ply exported from CloudCompare has "scalar_" in property names, so add a if statement to remove "scalar_" and get expected names.
If there is NAN values in any of the properties, read_ply() fails. So add a step to remove NAN values when read data from ply files.

filter_branch.py

Currently, qrdar library reports some error when import it, so I change to import read_ply() and write_ply() from ply_io.py instead of qrdar.io
Add reflectance filtering [-20, 5] in case of RiEGL VZ400i records values down < -30dB.

The qrdar library still can't be imported now.


OAuth 1.0: support URL form encoded parameters

From<EMAIL_ADDRESS>on May 11, 2011 10:11:50
Copied from: https://code.google.com/p/google-api-java-client/issues/detail?id=95 Describe the problem.
Form encoded POST parameters are part of the signature base string and must be signed.  Looking at OAuthAuthorizationHeaderIntercepter it is clear that the interceptor does not do this: it simply passes request method and URL to the OAuthParameters object.  Consequently, the computed signature is wrong and the POST request fails.
This comes up when, e.g. tweeting using the Twitter API:  their API expects a form encoded "status" parameter. GET requests using the OAuthAuthorizationHeaderIntercepter work fine.
How would you expect it to be fixed?
One possible fix would be to provide a second OAuthParameters#computeSignature that accepts a collection of additional parameters that form part of the signature base string.  The OAuthAuthorizationHeaderIntercepter could then check the HttpRequest's method and in the case of a form encoded POST request pass the additional parameters to the #computeSignature method.
Comment 1 by project member<EMAIL_ADDRESS>Jan 8, 2011
Thanks for reporting this issue.  This is actually a known limitation: http://javadoc.google-api-java-client.googlecode.com/hg/1.2.2-alpha/com/google/api/client/auth/oauth/package-summary.html But thanks for bringing it to my attention.  We do want this OAuth library to work properly with the Twitter API.
Original issue: http://code.google.com/p/google-oauth-java-client/issues/detail?id=1

I've attached a quick hack to get OAuth1.0a working properly with POST method - some OAuth services use strict interpretation of spec and require oauth-signature to include POSTed parameters to be signed as well:
/google-oauth-java-client/google-oauth-client/src/main/java/com/google/api/client/auth/oauth/OAuthParameters.java
82,86d80
<   /**
<    * Parameters that will be POSTed
<    */
<   public TreeMap<String,String> postParameters = null;
<
170,184d163
<     }
<     if(postParameters!=null){
<         for (Map.Entry<String, String> entry : postParameters.entrySet()) {
<             Object value = entry.getValue();
<             if (value != null) {
<               String name = entry.getKey();
<               if (value instanceof Collection) {
<                 for (Object repeatedValue : (Collection) value) {
<                   putParameter(parameters, name, repeatedValue);
<                 }
<               } else {
<                 putParameter(parameters, name, value);
<               }
<             }
<         }
Happy to contribute if you'd prefer.
Cheers
F


Reporting of variables for different versions of technology not possible.

The IAMC format allows to report variables for different types of a technology, e.g. Capital Cost for Solar PV: Capital Cost|Electricity|Solar|PV|2, ... Capital|Cost|Electricity|Solar|PV|N
Currently these variables can't be reported using the openentrance package. While this can be acceptable for variables like Capacity, this potentially limits the comparability of data between models.
My suggestion to address this issue would be to add a definition like the below to definitions\variable\technology\technologies.yaml:
- Capital Cost|Electricity|{Electricity Input}|{Technology Type Tag}:
    description: Capital cost for {Electricity Input} for {Technology Type Tag}
    unit: [EUR_2020/kW, USD_2010/kW]
    skip-region-aggregation: true

For implementing this a file definitions\variable\tag_technology_type.yaml would need to be created. The type tags would consist of numbers.
An alternative route could be to create the possibility to expand and use for example the tags in tag_variable_renewable_power_type.yaml
I don't know if there has been already any discussion on this, therefore I'd be happy discuss what are the pros and cons for the different options.

I agree that adding these different technology types is useful, but I'd be hesitant to (re)introduce a generic numering, because this is not very useful and requires a separate mapping for the id to the actual technology type. Better to add the relevant technology types explicitly.

@FLomb, in your case we are talking about Solar PV. Would it help to have utility scale and rooftop? Or do you consider panels that adjust their angle to the sun and similar?

When thinking about adding different technology types, please follow the list at the common-definitions repository - or suggest changes to that list.
For context, the aim of the common-definitions repository is to have one list of variables that can be used across numerous projects, based on harmonized and cleaned versions of NAVIGATE, ENGAGE, openENTRANCE, etc.

Question on this, if we want to use a common definition, should we add it to the definitions in openentrance?

Yes, please - for the time being, we have to manually keep these repos consistent, because openentrance has too many variables and some non-smart choices were made. But once common-definitions is mature, we can implement some automated translation and merge them.


Document accessing Infinispan cache metrics via Spring Actuator

I am able to access cache metrics with the Caffeine cache backend but when I swap in Infinispan I get no cache metrics.  In searches I was unable to find any definitive information on how to make this work with Spring Boot 2.0 and Infinispan.  I am able to access the metrics directly via a bean that retrieves the stats from org.springframework.cache.CacheManager but would prefer to consume the metrics from Actuator.

Hi @galderz , well for me I was simply trying to view cache statistics via Spring Actuator.  When configuring my application w/ Caffeine, I was able to get these metrics out of the box.  When switching backends to Infinispan, I was not able to find any metrics.  I'm guessing it's a configuration issue but was unable to find any documentation that lead me to a solution.

@kgilmer hi, are you using this starter?

hi @karesti I am using this Infinispan dependency w/ Spring Boot 2.0.6:
compile group: 'org.infinispan', name: 'infinispan-spring-boot-starter-embedded', version: '2.0.0.Final'

@kgilmer Maybe something is missing from our side! I've created a ticket to handle this
https://issues.jboss.org/browse/ISPN-9668

@kgilmer the pr will be integrated soon and I will release 2.1 version of the starter

integrated

Thanks for the notice Katia!
On Thu, Nov 8, 2018 at 6:03 AM Katia Aresti<EMAIL_ADDRESS>wrote:

Closed #63
https://github.com/infinispan/infinispan-spring-boot/issues/63.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/infinispan/infinispan-spring-boot/issues/63#event-1954351870,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADCE4K_1Wse1cHS2dOzp8AbrorYUyXQks5utDmbgaJpZM4X7Pp9
.


Introduce rounding functions to Vector

Introduce rounding functions to Vector
This pull request will introduce rounding methods to Vector.

#round

With options :mode and :n_digits
:n_digits also can be specified with :multiple option in #round_to_multiple

ceil
floor
trunc

See Apache Arrow C++ document of rouonding functions for detail.

Comments on coding

Some option name is different with c++

:mode  is round_mode in c++
:n_digits is ndigits in c++

:multiple  must be an Arrow::Scalar of the same data type of self.


fix(create): fix generator install deps for Windows

fixes https://github.com/open-wc/open-wc/issues/324
Checked on Windows 10, MacOS Mojave, Linux Ubuntu 16.04.6 LTS, all works now 🎉

uh awesome thank you :)


file_ext

If you set "file_ext" to ".csv", the output file name will be
_.000.00.csv
As a result, an extra "." is entered before "000".
On the other hand, if you set "file_ext" to "csv", the output file name will be
_000.00csv
and the extension is no longer ".csv".

Hello, @E-Tanamachi
The default file format is <path_prefix><sequence_format><file_ext>.
If you set the file_ext as .csv, It will be <path_prefix><sequence_format>.csv
The <sequence_format> format is .%03d.%02d by default.
The first part(%03d) is the task index, and the second part(%02d) is the sequence number in a task.
Those will replace with specific numbers.
The file_ext doesn't contain . unlike embulk-output-s3. It is a historical reason. So You need to set . explicitly.

thank you very much.
With the following settings,
   file_ext: .csv
   sequence_format: "%03d.%02d"

Both s3 and azure storage gave the same result.

Cloud you close this issue when you resolve it?


fix(client): prevent unusual commas in iframe

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #44449

The reduce method was causing 2 of the 3 scripts that were required to be placed into the body rather than the head. By swapping it out for the join method, all 3 of the scripts now are in the head which has also fixed the erroneous commas in the output.
The reason this was only occurring on specific challenges was that only a limited number of challenges require external scripts in their meta.json files.

Hi @Canopius. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Accept any IntoIterator in choose_multiple

Accepting only Iterators needlessly constrains the API (case in point, the clunky example with vec![...].iter() where a simple array would suffice).
Shouldn't be a breaking change since all Iterators are no-op IntoIterators.

Isn't this a breaking change?

Only apparently, all iterators automatically implement IntoIterator.

@taiki-e My gut is telling me there is a subtlety here I'm missing, any insights here?

There is a possibility of ambiguity regarding type inference, but this is considered a minor change. See RFC1105 for more.


support for attributed string in tooltip

I have added support for displaying attributed string in the tooltips. Backwards compatible.

The Travis CI check failed, but it seems that it is out of my hands:
$ gem install xcpretty --no-rdoc --no-ri --no-document --quiet
602ERROR:  While executing gem ... (OptionParser::InvalidOption)
603    invalid option: --no-rdoc

Thanks for your contribution, sorry for the huge delay. The attributed text has been integrated here (547e4c6cffc5f6b213d84e21783afa6ab2502079) based on https://github.com/teodorpatras/EasyTipView/pull/185 and will be available in the next release.

Thanks for your contribution, sorry for the huge delay. The attributed text has been integrated here (547e4c6cffc5f6b213d84e21783afa6ab2502079) based on https://github.com/teodorpatras/EasyTipView/pull/185 and will be available in the next release.


procMon for macOS.

Hi, just interested to know if there are any plans to port this project to macOS as well?
I know from experience the apple doesn't willing to provide descent unified API to acquire all process contents (no /proc library), and wrapping it with such tool would be greatly welcomed.

Did you look at the code?
It uses eBPF under the hood, so you're out of luck for MacOS support. Closest thing you'll get on MacOS is dtrace.
@brendangregg might be able to work some magic however

Unfortunately at this point in time we do not have macOS on our roadmap for future support.


[feature] Assign programs to groups

Some programs use multiple instances, which need to be controlled seperatly.
For discord, there is already a workaround, but it would be nice to include that to others, for example users could create one group called games and control the volume of all games with the same fader, similar to the GoXLR (which is an expensive hardware solution)

This idea sounds perfect! Would love to see this feature asap

Literally just started using this and it's my only real complaint so far.
For reference, I can have winamp, dopamine, Napster, or Spotify open all at once, but they all require their own binding. Just dedicating a single slider to "music apps" would clean things up so much.