fix(autoware_ekf_localizer): publish processing time detail

Description
There are several tools for visualizing processing_time in autoware_tools.

processing_time_visualizer
system_performance_plotter

However, autoware_ekf_localizer currently does not publish the required topic. To use the above tools, a node needs to publish a topic with the type autoware::universe_utils::ProcessingTimeDetail (link1, link2).
Therefore, this pull request adds a processing_time publisher to autoware_ekf_localizer
How was this PR tested?

[x] planning_simulator with sample_map
[x] logging_simulator with sample_rosbag
[x] logging_simulator with awsim_gt_data(TIER IV INTERNAL)
[x] e2e_simulator with AWSIM v1.3.0

(1) processing_time_visualizer
ros2 run autoware_debug_tools processing_time_visualizer

(2) system_performance_plotter
ros2 bag record -o /path/to/result_rosbag --use-sim-time -e '.*processing_time.*'

and
ros2 run autoware_debug_tools processing_time_plotter /path/to/result_rosbag -c localization -s --skip_plt_show

The result directory is generated at current directory.

Notes for reviewers
None.
Interface changes
Topic changes
Additions and removals

Change type
Topic Type
Topic Name
Message Type
Description

Added
Pub
~/debug/processing_time_ms
tier4_debug_msgs::msg::ProcessingTimeTree
The processing time

Under default settings, this is /localization/pose_twist_fusion_filter/ekf_localizer/debug/processing_time_ms.
Effects on system behavior
None.

I misunderstood. processing_time_plotter.py is currently only for Float64Stamped and does not seem to support ProcessingTimeDetail. I will consider what to do next.
https://github.com/autowarefoundation/autoware_tools/blob/3c33924534c5b3a2c7b997ff04b232adc87853a8/common/autoware_debug_tools/autoware_debug_tools/system_performance_plotter/processing_time_plotter.py#L32-L33

Since the following pull request has been merged, this pull request is no longer needed.
https://github.com/autowarefoundation/autoware.universe/pull/9443


Fix oslc missing a write error on function parameter

Fixes #1416
In OSL, function parameters must be marked as output or they are not
supposed to be writable. In issuing errors when a write is performed on
something not writable, we missed an interesting case:
void g(output float b) {
    b = 1;  // ok, since b is marked as output
}

void f(float a) {
    g(a);  // <--- should be disallowed, g is writing to f's non-output param
}

float x;
f(x);

This patch catches cases like these. The new error looks like this:
test.osl:22: error: cannot write to non-output parameter "a", as passed to function g() as arg 1 (output parameter "b")
Signed-off-by: Larry Gritz<EMAIL_ADDRESS>

@lkerley or others, does this seem ok? Is the form of that error message helpful?


feature: add new containers and support package registry docker_arch

Lgtm. Please merge.
We should add a wiki page about containers and how to use them.
We should add a wiki page about pantavisor-remix where we document how to change the default containers.


Issue with Bartender4

Does not work with Bartender4 for some reasons

I'm first now addressing this issue since I've seen an increase in requests relating to the Bartender AddOn.
This is definitely something that I would like to do, but I've not been able to fit this into my daily life. I would gladly accept an PR that fixes this issue, but in absence of such a PR, I'd have to ask you to wait until I've got time to fix this in my spare time..
Thanks for your understanding

I'm no coder but with the tiniest amount of insight and being extremely stubborn, ChatGPT and I managed to cook up a version that works with Bartender4. I have not bothered attempting to make it work with the default actionbars simultaneously. Feel free to contact me if you want to peek the code and clean it up to make a more "proper" version for actual release. @bodify on discord

Upcoming release 2.0 will include Bartender4 support. Thanks to @Bodify for supplying a working example 🤗


Remove srcWebp and srcSetWebp from GatsbyPrismicImage

This is not a big deal but including srcWebp and srcSetWebp generated useless html markup and increase page-data size. As imgix auto format webp, would it be possible to remove them and keep it only on _withWebp ?
Thanks a lot !

Yes, you're right, those fields should be left out of the non-_withWebp fragments.
That brings up the point that if someone were to remove auto=format, the WebP fragments wouldn't actually return a WebP URL. The *Webp fields in PrismicImageFixedType and PrismicImageFluidType are just aliases for the non-Webp fields. Instead, those fields should forcibly apply auto=format. I'll open an issue on gatsby-plugin-imgix to track that, but it shouldn't affect most cases.

Awesome thanks ! I’m fighting against lighthouse, every byte counts 😅
Le jeu. 4 juin 2020 à 21:21, Angelo Ashmore<EMAIL_ADDRESS>a
écrit :

Yes, you're right, those fields should be left out of the non-_withWebp
fragments.
That brings up the point that if someone were to remove auto=format, the
WebP fragments wouldn't actually return a WebP URL. The *Webp fields in
PrismicImageFixedType and PrismicImageFluidType are just aliases for the
non-Webp fields. Instead, those fields should forcibly apply auto=format.
I'll open an issue on gatsby-plugin-imgix to track that, but it shouldn't
affect most cases.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angeloashmore/gatsby-source-prismic/issues/237#issuecomment-639065719,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACR6YNHQM6HVICW5KG2KVTRU7X3ZANCNFSM4NRRBPKA
.


Can I manage vim versions with everyenv?

Hey,
can I use everyenv to manage vim versions on my system?
For example, on OSX there's a system vim in /usr/bin/vim. I also wanna install latest stable release via brew and the latest version from HEAD.
Now I'd like to be able to see which versions I have installed and easily switch from one to another for the purpose of playing and debugging. Having a .ruby-version file equivalent is not important at all.
Would this be possible? And how?
Thanks a lot!

Good question! You should be able to manage multiple versions of anything with this project, including vim. Here's how I would try it:

PROGRAM_NAME=vimenv PROGRAM_EXECUTABLE=vim make
Move vimenv into PATH
Follow the instruction in vimenv init to add initialization call into your shell profile
Install or symlink vim versions into ~/.vimenv/versions/*
Open another shell window
MAGIC! :tada: vimenv versions should show available versions. Switch between them with vimenv global <version>. Or, use vimenv shell <version> to change the version temporarily only in the currently active shell instance.

Thanks Mislav, I'll give it a try.


Beam Sync: Uncle Validation

What is wrong?
Importing a block requires validating that its uncles haven't been included as uncles in the last 6 blocks. The current beam sync, #641, only gets the headers, so the uncles aren't available yet. So any block with uncles won't be a valid beam sync target.
How can it be fixed
Download block bodies for the previous six blocks before switching to beam sync.

Closed by https://github.com/ethereum/trinity/pull/803


Bundle naming fixes

This PR:

Closes #1200. Makes bundle names stable, by computing the hash based on the names of the modules going inside the bundle (instead of the items)
Fixes #1157. By adding a disambiguator when names clash, instead of modifying the last string in the path (which fails for impls that don't have a string at the en of their paths)

libcrux CI job: https://github.com/cryspen/libcrux/actions/runs/12480998112/job/34832756469

Generally looks good, but two comments, since we are touching this code anyway.
First, can we rename "Rec_bundle" to "Cyclic_bundle"? This would be more precise. Second, could we list the files that are part of the bundle in the top of the file somehow?
I can imagine the second ask to be harder.

Done for the first one. The list of files (or maybe modules) is a good idea, but let's leave it for later. I think trying to name the bundle with a name containing the names of the modules it contains (which is part of the naming refactor) would already help.


OpenLayers Example - Interactive Layers

There seems to be a lack of documentation on how to use openlayers with Wax. All of the examples in the manual are for ModestMaps or Google Maps. I looked back at the /examples directory that used to be part of Wax, but it focused on Records based maps. Are there some simple examples out there of how to put together a Wax based OpenLayers map?
I am using a base layer and then an interactivity overlay on top of that. It looks like I need to use OpenLayers for that because ModestMaps only support a single layer. I have built the docs using Docco, but they don't provide too much insight.
Thanks for any pointers you can offer!

I'd like to use OpenLayers with Wax because I want to
a) use a Google baselayer
b) use a transparency control on an overlaid tile layer
3) use Wax to display UTFgrid tooltips for that overlaid layer.
I've gotten the ol-connector example working, I'm having a tough time figure out how to then load multiple layers, and how to load a mb-util exported mbtiles tms layer without using TileJSON. Any guidance would be much appreciated!


feat: add ES5 build target support

Resolves #26.
Resolves #29.
Add babel to build dynamically to a es5 target using browserslist.
I moved the source directory to src and made the build target directory as lib. All tests pass successfully with 100% coverage.

I also removed node v4 from Travis as Node 4 is no longer supported by Node.js Foundation. Babel 7 requires a minimum of Node 6 to build. This is why the build is failing.

@jhnns If this gets approved, could you please cut a new release after merge, our project depends on this library, but we really need ES5 support for IE 10+.
Awesome job on this great library by the way 😄 .

Awsome, thanks, I'll take a look the next days 👍

Thank you ❤. I just had to add some changes.
This shipped with v2.1.5 🚀. I decided to to a patch version since the output will be transpiled down to ES5 which should be compatible with Node.js 4 again.


fixed history stack when internally redirecting

Using router.push instead of NavigateTo to prevent the redirect getting added to the browser history stack

@egauzens This pull request was tested with a merged pull request that failed testing and without review. from our team. Sorry about that. @ddjnw1yu has updated the test and hopefully that will correct some of the errors your pull request has encountered.


Pale Moon browser compatibility

Thanks for your helpful tool! Your website seems to adopt user agent sniffing and thus it does not work with the Pale Moon browser (login window pop-up does not appear).
Problem goes away if the browser's "Firefox compatibility mode" is enabled (it just changes its user agent string to a more Firefox-compatible one) but hopefully the website can be made to work natively (I assume this affects other browsers, too). Examples:
Pale Moon 26 strings (current version)
Native (Releaser does not work):
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:2.2) Gecko/20100101 Goanna/20160923 PaleMoon/26.5.0
Firefox mode (works):
Mozilla/5.0` (Windows NT 10.0; WOW64; rv:38.9) Gecko/20100101 Goanna/2.2 Firefox/38.9 PaleMoon/26.5.0
Pale Moon 27 (new version, currently in beta)
Native (does not work):
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:3.0) Goanna/20161025 PaleMoon/27.0.0b3
Gecko mode (does not work):
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:3.0) Gecko/20100101 Goanna/20161025 PaleMoon/27.0.0b3
Firefox mode (works):
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.9) Gecko/20100101 Goanna/3.0 Firefox/45.9 PaleMoon/27.0.0b3

Hi, thanks for your interrest in my app!
Unfortunatly the bug you are reffering to is a problem in Angularfire2 or Firebase, and have to be fixed there.


Upgrade Linux Kernel for main from 6.6.12 to 6.6.15

Subject says it all.

Closing in favor of https://github.com/flatcar/scripts/pull/1627


Window size not correctly applied

Describe the bug
When specifiying the Window size via AppWindow.Resize(new SizeInt32(800, 450)) the actual window size appears to be little bit smaller than what is requested:

One Idea of @dotMorten was (https://github.com/dotMorten/WinUIEx/issues/200) that setting the window dimension is "taking the drop shadow into account". Is that true? If so how to get a window of exactly the size specified?
https://github.com/dotMorten/WinUIEx/issues/200
Steps to reproduce the bug

Create WinUI3 app
Specifiy window dimensions
Measure real results

Expected behavior
The window size to be exact to the requested size minus border
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
Windows 11 (24H2): Build 26100
Additional context
No response

It is because of DWM
On Windows 10, If I add the difference from GetWindowRect - (DwmGetWindowAttribute and DWMWA_EXTENDED_FRAME_BOUNDS), I get the right size (got after the window has been displayed, not at beginning)
(I get 786 * 443 :
104-904 vs 111-897 => 2 * 7
104-554 vs  104-547 => 7
=> 786 + 14, 443 + 7 => 800, 450

If you want the client area to be set to the size specified, remember that AppWindow has the ResizeClient member. This will set the client area to the size specified by taking the styles into account.
Since the screenshot of your code shows that you are using ExtendContentIntoTitleBar, then what you are measuring there is the client area. Resize sets the window size and ResizeClient sets the window size to give a specified client size.

Oh i didn't know about ResizeClient. It works as expected just one thing to note: When using ExtendContentIntoTitleBar = true the client area will become a little bit bigger then what is requested 800, 450 -> 800, 480. Is there a way to programmatically get the title bar height so i can account for the extra size when using ExtendContentIntoTitleBar?

The implementation of the title bar customisation functionality is shared with AppWindow in current versions. This means that you should be able to go through AppWindow to get an AppWindowTitleBar instance. AppWindowTitleBar has a Height property which reports the height of the title bar.

Thank you. Using AppWindow.TitleBar.Height together with ResizeClient when using ExtendContentIntoTitleBar = true does the job


kubelet: Move pod infra container image setting to dockertools.

Currently, when kubelet starts, it uses the pod infra container image flag to determine which image to use for the pod infra container, and store it in kubelet:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/kubelet/kubelet.go#L212
The default value is also defined in kubelet.go: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/kubelet/kubelet.go#L212
Since pod infra container is docker specific, so here I moved the default value and the setting to dockertools.
@vmarmol @yujuhong

LGTM, thanks @yifan-gu!


Remove "mutable" from LSPTypechecker GlobalState pointer

This removes the mutable qualifier from the GlobalState pointer in LSPTypechecker. In order to do this, we have to change GlobalState::replaceFile so that it doesn't "borrow" a unique_ptr to the GlobalState.
Motivation
Just seems nice to drop mutable in cases where we don't actually need it.
Test plan
Existing CI.

[ ] TODO: Some manual smoke testing against Stripe codebase with LSP

Have you tested this on Stripe's codebase with vscode at all, just to make sure LSP isn't going to blow up somehow in real-world usage?

Nope! Will be doing that before merge.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_L06oXDIPJWGrSr
→ https://go/builds/bui_L06oqTwTwPs6gN


restart all threads on eval

When a thread keeps a lock, and REPL runs a code which needs the
lock, other threads should make a progress to release the lock.
fix https://github.com/ruby/debug/issues/877

This is amazing! Thank you for the fix 🙏


Move build to rollup

Codecov Report

Merging #57 (eed1562) into master (e1bd44d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #57   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           67        67
  Lines         1036      1036
  Branches        57        38   -19
=========================================
  Hits          1036      1036

Continue to review full report at Codecov.

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


Feature/optional shlink visits import

Codecov Report

Merging #28 (1c50939) into main (174e352) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main      #28      +/-   ##
============================================
+ Coverage     97.89%   97.91%   +0.02%
- Complexity      131      133       +2
============================================
  Files            24       24
  Lines           427      432       +5
============================================
+ Hits            418      423       +5
  Misses            9        9

Impacted Files
Coverage Δ
Complexity Δ

src/Sources/Csv/CsvParamsConsoleHelper.php
100.00% <ø> (ø)
4.00 <0.00> (ø)

src/Command/ImportCommand.php
100.00% <100.00%> (ø)
12.00 <0.00> (ø)

src/Sources/ShlinkApi/ShlinkApiImporter.php
98.41% <100.00%> (ø)
12.00 <0.00> (+1.00)

src/Sources/ShlinkApi/ShlinkApiParams.php
100.00% <100.00%> (ø)
4.00 <1.00> (+1.00)

...Sources/ShlinkApi/ShlinkApiParamsConsoleHelper.php
100.00% <100.00%> (ø)
1.00 <0.00> (ø)

Continue to review full report at Codecov.

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


Example code and video for gesture responder system

I've created this code to test out touch responder system. It would be so much easier if that would be already in place done by someone else. I think it will help others like me to learn React faster.

Thanks @liesislukas! Can you rebase this against master so tests pass? It looks like a showcase commit snuck in there as well :)

Can you also split it up for two PRs? One for the showcase and one for the docs?

@brentvatne would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

@liesislukas if you could, please rebase and split into 2 prs as requested above

This pull request hasn't seen activity in a while. If you still want to merge this, please open a new pull request.


Timesheet - 04/05/2021 - Mr. K

Task 1
Worked on Download Wallet Page Hifi design. Added release note, how to use buttons, created a new section of release notes. Updated the download modals of all operating systems. Shared the file for review.
Proof of Work

https://www.figma.com/file/dniKTujBGiZmRha4OrtCOT/Download-Wallet?node-id=1%3A10

Time Spent
5.0 hours

Task 2
Setup new task and started exploring about ‘Rules & Guideline’ page for new projects.
Proof of Work

https://www.figma.com/file/ei4V944GJrWz78Kyr7IW9f/Project-Rules-and-Guidelines?node-id=1%3A9

Time Spent
1.0 hours

Total Time Spent
6.0 hours
Account Number
c93ee24b89991a1438b45444cf06e5bb167ed1796d54a800174def4480f98ed0

Approved

Approved


OneAgent CrashLoopBackOff

$ kubectl -n dynatrace get pods
NAME                                                READY   STATUS             RESTARTS        AGE
dynatrace-oneagent-csi-driver-r94dn                 4/4     Running            0               16m
dynatrace-operator-b68686f5d-nd96z                  1/1     Running            0               16m
dynatrace-webhook-7fdc689bb4-rz4vr                  1/1     Running            0               16m
predictive-kubernetes-scaling-demo-activegate-0     1/1     Running            0               15m
predictive-kubernetes-scaling-demo-oneagent-m7jsk   0/1     CrashLoopBackOff   7 (3m22s ago)   15m

Logs
04:44:34 Error: Initialization procedure failed

I believe OneAgent needs to be in applicationMonitoring mode as here.

#21  fixes this


Generate features for another dataset

Hello, I was wondering if you could describe how you generated the pre-computed features provided in this repository so that i can  reproduce the same thing using a different dataset.
Thank you

Hello, I believe you can find instructions in the readme https://github.com/binli123/dsmil-wsi?tab=readme-ov-file#processing-raw-wsi-data

Hi,
Sorry for reopening this thread, but I had a few questions about training my own dataset.
Step 2: Crop patches
once we crop our WSI files into patches, do we need to manually separate them into training and testing datasets?
Step 3: Train an embedder
Is the embedder only trained on the training dataset? Would we need to train another embedder for the test dataset or do we just use the original trained embedder?
If the tissue/classification problem is different, should I train my own embedder, or could I still use the one you provided? For example, using the Camelyon16 embedder from breast cancer lymph node tissue to identify epilepsy in brain tissue (different tissue and classification problem)
Lastly, for cross-validation, would we have to train a separate embedder for each cross-validation fold since the training dataset is different?
Sorry if these questions are basic, I am new to these MIL techniques.
Thank you for your time!


Add EnabledWithoutIVR SpamFilteringEnabledType value

Add EnabledWithoutIVR SpamFilteringEnabledType value for Set-CsTeamsCallingPolicy cmdlet

Docs Build status updates of commit b7af0f1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsCallingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 17b97ab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/Set-CsTeamsCallingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Can you also make the addition for the New- version of the article? Thanks

Can you also make the addition for the New- version of the article? Thanks

Could you please, point me to that specific file? Thanks!

Can you also make the addition for the New- version of the article? Thanks

Could you please, point me to that specific file? Thanks!

I am sorry, my mistake, the cmdlet's article is not present yet, that will be added later probably. I am ok with the addition.

Can you also make the addition for the New- version of the article? Thanks

Could you please, point me to that specific file? Thanks!

I am sorry, my mistake, the cmdlet's article is not present yet, that will be added later probably. I am ok with the addition.

Can I have this PR merged, as @tseward approved it, please?

Can I have this PR merged, as @tseward approved it, please?
@Kateyanne

@Kateyanne Please merge this PR. Thanks


Words split by "/" should wrap

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Keywords: word wrap, line wrap, line break, word break
Is your feature request related to a problem? Please describe.
I always expect words/lines to split when they are separated by a slash ("/") in the same way that they do when separated by any sort of dash or hyphen ("-/–/–"). Presently, the only way to do this is to add a space after the slash which is easily forgotten when resizing things.
Describe the solution you'd like
For word wrap, words separated by a slash should behave the same as those separated by a dash.

Reproduced in Chrome Version 91.0.4472.124 and diagrams.net 14.9.3

This is built-in browser functionality, we're not going to implement an override.


Salary and Tech Stack Trends with Plotly: An In-Depth Analysis of the Stack Overflow Developer Survey 2023

Engaging Plotly tree maps and tools used to provide a comprehensive analysis of the 2024 Stack Overflow Developer Survey focused on salary trends and preferred tech stacks among developers.

Can i see the issue link for the same.

This is different file dev is not we looking forward.


DEA Mangroves doesn't have an intro notebook

There isn't an intro notebook for new users of mangroves that can be linked from the website.

Duplicate of #1090


Modify package.json

I've created a temporary fix for #4 by making lib/nmr.js the main script
Also, npm start will now run test.js
Issue: #4

This is a minor change - should not impact too much

All checks have passed - merging

Commit:
Title: Merge pull request #5 from Gum-Joe/master
Message:
Modify package.json
# INFO
# Fix author: Gum-Joe
# Message from author:
## "I've created a temporary fix for #4 by making lib/nmr.js the main script
## Also, npm start will now run test.js"
# Files changed:
## package.json
# Merged at 16:56 on the 17/02/16


Queuing all the time-consuming tasks. Possible?

Thanks for the great package.
I want to know if is it possible to queue all the time-consuming tasks like inserting in DB as they are increasing the response time for every request.

Queues in fact uses DB queries.

Queues can also be cached in Redis.

We're planning to use the package, but our concern is the added request time, we're planning to put every insert/update to be under a specific queue server.
Any plan on this?


Import each scss file only once

Is there a way to enforce that each scss file is imported only once? For example, can the import-once plugin be used with meteor-scss?

+1. Has become urgent mostly because of Meteor 1.3 imports.

@s7dhansh
What's the exact error you see?
Can you copy-paste the import statements you use in main.scss?

@sebakerckhof
On digging further I realized that the problem is something else. The files in "imports" are getting compiled (unless they are prefixed with _) and hence the errors are thrown.
Reproduction: https://github.com/s7dhansh/meteor-scss-problem - problem branch contains style.scss while master contains _style.scss

@s7dhansh okay, I thought Meteor-tool would automatically recognize files in the imports directory as imports, but I had to specify this manually for 1.3.
It should be fixed but I'll need to wait for @fourseven to update to Atmosphere.
You could run a local version in the meanwhile.

Just finishing the publish-for-arch now. @sebakerckhof, you're doing an amazing job here, I've just added you as an admin to this package, so releases aren't tied to me.

Thank you! Kudos @sebakerckhof and @fourseven . Good decision too ! :+1:

@stuhlmueller should we close this? you can structure your app in a meteor 1.3 way to avoid import-once.

thanks @fourseven.
@stuhlmueller To answer the original question, there's currently no such way. fourseven:scss is based on node-sass/libsass and the import-once plugin is for the (less and less used) ruby version of sass.
Basically, like @s7dhansh says, a good directory structure can enforce this.

@s7dhansh : Just a heads up. After this discussion: https://github.com/meteor/meteor/commit/cd8bc10b1d7be519d43ec92c612e738ca091a311 I'm going to undo the change. The rationale can be found in the discussion. Basically, in Meteor 1.3.2 you will not get errors anymore and you will be able to include scss from javascript if you put them in the imports directory.

Oh that would be awesome! Scss from js. Perfect.
On Fri, Apr 15, 2016, 9:32 PM Seba Kerckhof<EMAIL_ADDRESS>wrote:

@s7dhansh https://github.com/s7dhansh : Just a heads up. After this
discussion: meteor/meteor@cd8bc10
https://github.com/meteor/meteor/commit/cd8bc10b1d7be519d43ec92c612e738ca091a311
I'm going to undo the change. The rationale can be found in the discussion.
Basically, in Meteor 1.3.2 you will not get errors anymore and you will be
able to include scss from javascript if you put them in the imports
directory.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/fourseven/meteor-scss/issues/168#issuecomment-210521464

--
Sudhanshu


Writing from Mike

I emailed with Mike about what he wants on the front page, and he said he will think about it and get back to me but will let you know when I have that stuff from him.

Thanks Emma!


Creating a service including private registry credentials

I am trying to use the docker.createService to create a service based on an image located in a private registry. The service tasks will be started on a worker (where root has access to the private registry for that matters).
When I start the service on the CLI, with the --with-registry-auth flag it works fine (since the credentials are passed from the manager), but I can't get it working via Dockerode...
There is an X-Registry-Auth header that can be passed according to the Docker docs but I am not even sure if that's what should be done, and if dockerode is able to pass it through. I successfully pulled images via dockerode using the authConfig option, but didn't find an equivalent for creating services.
I don't think there's support for this feature on Dockerode but I'd be happy to be proven wrong :)

Same issue here ! could you fix this please ?

Some issue here

Same issue here, any update?

Same issue here, any update?

I was checking the docker.createService prototype and it is:
/**
 * Creates a new service
 * @param {Object}   auth
 * @param {Object}   opts     Create options
 * @param {Function} callback Callback
 */
Docker.prototype.createService = function(auth, opts, callback)

So, I'm trying something like this:
var auth = {
  username: 'username',
  password: 'dockerhub-token',
};

await docker.createService(auth, {...service-config...});

I'll post my results later.

I was checking the docker.createService prototype and it is:
/**
 * Creates a new service
 * @param {Object}   auth
 * @param {Object}   opts     Create options
 * @param {Function} callback Callback
 */
Docker.prototype.createService = function(auth, opts, callback)

So, I'm trying something like this:
var auth = {
  username: 'username',
  password: 'dockerhub-token',
};

await docker.createService(auth, {...service-config...});

I'll post my results later.

Hey @paulo-digital,
great! Cool that you figured that out.
I created a pull request on DefinitelyTyped. Would one of you like to have a look at it?
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/50486
I tested it locally and it looks like it actually worked fine.

Hey @paulo-digital,
great! Cool that you figured that out.
I created a pull request on DefinitelyTyped. Would one of you like to have a look at it?
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/50486
I tested it locally and it looks like it actually worked fine.

Hey @marcschroeder, glad it works. It works nice for me too in a project that I'm working in. I looked the DefinitelyTyped and is Ok for me.

Hey @marcschroeder, glad it works. It works nice for me too in a project that I'm working in. I looked the DefinitelyTyped and is Ok for me.


The alert view shows up for 0.1s and disappear

Touch every row of the cell in the demo project but the view shows up for only a very shot time.  Xcode version:6.4

I will look into this. Did you use the latest version 1.2.1 ?


[BUG] LOG file type has incorrect lines

Which Glance version and IDEA version?
1.5.9
PyCharm 2022.3.1 Build #PY-223.8214.51, built on December 20, 2022

Could you show Glance config picture and minimap picture?

What steps will reproduce the issue?
Open a .log file (pytest log file in my case)
It must be detected as log file type by pycharm. Plain text is ok.
test.log

Expected
When file is text type then it looks ok

look likes soft wrap error

The soft wrap was disabled.
Enabling and disabling soft wrap does not fix it. Minimap looks slightly different when the soft wrap is enabled for log files.
Enabling soft wrap on text-type files works ok.

i see,let me debug this

which type is you selected?

i download ideolog jetbrains plugin.and it see ok

i know.This is the ideolog plugin bugs. because the LogHighlightingIterator doesnt give me the \n text

CodeGlance Pro-1.6.0-SNAPSHOT.zip
try this

This worked, thx.
Now it looks like this:

Is it suppose to have green background? It is green only for log files.

Ah, got it. It is coming from the IDE itself, b/c scrollbar is green too.

Ah, got it. It is coming from the IDE itself, b/c scrollbar is green too.

yes,this green error line comes from idealog, and there is a configuration to control its switch, from Advanced error stripe (heat map)

Ok, thx, this can be closed.


Claims translated to WIF for JWT access tokens

When using JWT access tokens, any claim with a WIF equivalent is translated into a WIF claim on the ClaimsPrincipal. However, when using reference access tokens, the claims are set on the ClaimsPrincipal with their OIDC names.
For example:

Reference access token: OIDC sub claim
JWT access token: WIF NameIdentifier claim

You should call JstSecurityTokenHandler.InboundClaimTypeMap.Clear() to normalize them.


Transferring items?

I know in the config that there is a way to transfer items when you have too many, but when I saw this the items available were Pokeballs, Revives, Potions, Super Potions, Hyper potions, and Razz Berries. When I got great balls I ended up amassing 170 of them because it wasn't in the config. Could I have some help with this?

    {
        "type": "RecycleItems",
        "config": {
            "item_filter": {
                "Pokeball": {
                    "keep": 10
                },
                "Potion": {
                    "keep": 10
                },
                "Super Potion": {
                    "keep": 30
                },
                "Hyper Potion": {
                    "keep": 0
                },
                "Revive": {
                    "keep": 0
                },
                "Razz Berry": {
                    "keep": 5
                }
            }
        }
    },

@doggo42 code above replace in your config.json file 😜🤓🤓

Thanks for that, but how do I set it to transfer great balls as well?

@doggo42 (pokeballs) sets them all i believe as ive never had my items full ever when using this bot

If you want, you can use mine.
    {
        "type": "RecycleItems",
        "config": {
            "item_filter": {
                "Pokeball": {
                    "keep": 0
                },
                "Greatball": {
                    "keep": 0
                },
                "Ultraball": {
                    "keep": 100
                },
                "Potion": {
                    "keep": 0
                },
                "Super Potion": {
                    "keep": 0
                },
                "Hyper Potion": {
                    "keep": 0
                },
                "Max Potion": {
                    "keep": 50
                },
                "Revive": {
                    "keep": 0
                },
                "Razz Berry": {
                    "keep": 50
                }
            }
        }
    },

Uncaught Exception:SyntaxError: Unexpected token “ in JSON at position 1143    at Object.parse (native)    at startPython (/Users/ishaanbabani/Documents/PoGo bot/PikaBot.app/Contents/Resources/app/main.js:198:23)    at EventEmitter. (/Users/ishaanbabani/Documents/PoGo bot/PikaBot.app/Contents/Resources/app/main.js:118:5)    at emitMany (events.js:127:13)    at EventEmitter.emit (events.js:201:7)    at WebContents. (/Users/ishaanbabani/Documents/PoGo bot/PikaBot.app/Contents/Resources/electron.asar/browser/api/web-contents.js:209:13)    at emitTwo (events.js:106:13)    at WebContents.emit (events.js:191:7)
...could you attach your config.json file please?


Publish package on PyPi

Here is the version how it can be installed from pypi and used as a library.
I already published it under https://pypi.org/manage/project/fritz-switch-profiles as I thought you would not respond to my issue.
I can add you as an owner on the project or delete it so you can create your own project.
Just tell me what you prefer.
Maintainer email address(s) and name(s) would have to be adapted in both cases.

Ah, I see that you've already adapted the Travis config ;)


Linear Regression using Normal Equation | Python

Title -

[x] Adding Linear Regression Using Normal Equations
what will change -
[x] Adding new code

Type of Issue -

[x] Python Algorithm
Please add/delete options that are not relevant.

[x] Adding New Code

[x] Improving Code

[x] Improving Documentation

[x] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[ ] Python
[ ] C++
[ ] Java
[ ] C
[ ] Go
[x] Other language

Self Check

Ask for issue assignment before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Happy Coding,

I would be happy if assigned this to me


Emulate Drafts quick add feature on mobile & web test

A key feature in the drafts app that enables fast note-taking. Use remote config to adjust the time and do AB tests to compare with and without.
For phone: always open new note if the last time they opened the app was > 60 seconds
For browser ext / web, keep the current note open IF the note is the same URL AND it has been less than 60 seconds since they last opened the app. If > 60 seconds OR different URL, always start a fresh note.

I don't think I'm going to do this. Focus on #391 first


Reduced available SRAM in linker script to be compatible to STM32F103C6

This addresses issue #91. Only the SRAM was reduced to the 10k of the C6 variant, FLASH was left as-is. This is usually not a problem, since the linker fills the FLASH image from the start, but if the SRAM is too short, the stack is not in the memory.
Tested on STM32F103C6, very confident that it will work on STM32F103C8.

LGTM, thanks for taking care of this issue!


Added support for using actual sunrise and -set times

Using backend client to fetch sun info from openweathermap.org
Removed fixed props: sunRise, setSet
Added new prop: city for getting the local sun info
Added sun info in info fields

The provided info could be now utilized to create additional widgets, but it's a worth of separate PRs.

Unfortunately I could not run the tests due the issue with Jest and Node 0.12: https://github.com/facebook/jest/issues/243

@plouc I tried running the tests within Docker where I have node 0.10.x available, and I'm now getting the same error as Travis shows (and even if mozaik/browser should be mocked). Then again: https://github.com/facebook/jest/issues/230
I took the mocking example from mozaik-ext-jenkins - does it run tests successfully for you?

Closed due to inactivity about the PR.


Fix missing semicolon

Added a semicolon after var once = require('once') in the express module code.

@m-mdy-m Thanks, but we do not accept changes in the coding style without a good reason.


invalid verified claim (option) should throw 401 instead of 403

When we enable JWT plugin and optional verified claims to check expiry of JWT token, Kong throws 403 error with message token expired. This should be 401 error.
Follow: https://getkong.org/plugins/jwt/

Optional verified claims.

Looks like this got resolved!


Remove XML validation from NSArray/NSDictionary tests

Calling XML validation results in hitting the Apple web servers
to load a DTD for plists http://www.apple.com/DTDs/PropertyList-1.0.dtd
to correctly validate the XML file.
Given that this test is not about whether it is possible to read
or write property lists, but they're just being used to validate
that they can read and write arrays from them, remove this part
of the test. The property list gets parsed from the subsequent
PropertyListSerialization call anyway, which will do the same error
checking as if the document is valid (but probably with a hard-coded
DTD instead of a network accessible one)
Issue: SR-2793

@swift-ci please test and merge


Error in working with page instance after removing it's child pages: AttributeError: 'NoneType' object has no attribute '_inc_path'

Issue Summary
error created after performing delete() operation on page children and adding new pages..
AttributeError: 'NoneType' object has no attribute '_inc_path'

Steps to Reproduce

get an instance of Page.
Remove it's children.
add new Page instances as children to the Page instance in step 1.

home = Page.objects.get(url_path="/home/")
home.get_children().delete()

# main pages
blog = BlogIndexPage(title="Blog")
home.add_child(instance=blog)

error happens in add_child() function.
It's not a tree structure error and running Page.fix_tree(destructive=False, fix_paths=True) after delete doesn't fix it. I expect that it's only related to "Page instance variable" not being updated after delete() function, since running home = Page.objects.get(url_path="/home/") again after delete() to get the update parent page again solves the issue.

This is a documented caveat of the django-treebeard library (https://django-treebeard.readthedocs.io/en/latest/caveats.html#raw-queries):

django-treebeard uses Django raw SQL queries for some write operations, and raw queries don’t update the objects in the ORM since it’s being bypassed.

Because of this, if you have a node in memory and plan to use it after a tree modification (adding/removing/moving nodes), you need to reload it.


[DOCFIX] Improve docker file

Improve Docker file
pr-link: https://github.com/Alluxio/alluxio/pull/15385
change-id: cid-09d1dd1d67ce77dbcf82c682cb00551b7b08bc13

Already auto cherry-picked. Close this RP.


Adding primary to ui in nuxt.config.ts provokes a type error

Environment

Operating System: Linux
Node Version:     v18.17.1
Nuxt Version:     3.8.2
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Version
2.11.0
Reproduction
https://stackblitz.com/edit/nuxt-ui-esgypw?file=nuxt.config.ts
Description
Got type error when theming nuxt/ui.
This happens out of the box when following the tutorial. I've been able to reproduce this error in the playground.

Type '{ primary: string; gray: string; }' is not assignable to type 'Partial<ModuleOptions>'.
  Object literal may only specify known properties, and 'primary' does not exist in type 'Partial<ModuleOptions>'.(2322)
types.d.ts(5, 26): The expected type comes from property 'ui' which is declared here on type 'InputConfig<NuxtConfig, ConfigLayerMeta>'

Additional context
No response
Logs
No response

This should be used in app.config not nuxt.config

Indeed, thank you very much


Importing style from .scss

Hi,
I have noticed that CSS from the .scss file are imported into styles and then styles.app or styles.helloWorld is used. Is there any particular reason for that?
Isnt importing "myStylesheet.scss" enough at the start?
Cheers

Hi, there are several ways to import style files in React, as it is by default by modules, this guarantees that I can use the same class names in many modules and will not affect in any way another style, there are several ways to use them:

Modules

import styles from "./HelloWorld.scss";

// JSX

Hello World!

Global

import "./HelloWorld.global.scss";

// JSX

Hello World!

Inline styling

const helloWorld= {
  margin: '40px',
  border: '5px solid pink'
};

// JSX

    hello

Styled-component

npm install styled-components --save

import styled from 'styled-components';

const HelloWorld= styled.div`
  margin: 40px;
  border: 5px outset pink;
  &:hover {
   background-color: yellow;
 }
`;

// JSX
 <HelloWorld>
    hello
 </HelloWorld>

There is an issue with when using SCSS as global as you mentioned in point 2.
Steps to reproduce
HelloWorld.js
import "./Home.scss";

        Test 1

        Test 2

HelloWorld.scss
.test_1 {
  font-size: 2rem;
}

.test_2 {
  font-size: 3rem;
}

Style is not being rendered when using npm start. Default CSS from body is used for rendering above div tag. While inspecting in the Inspect tab, SCSS is converted into

Remember to add ".global.scss", since it will be used globally, in your case:
HelloWorld.global.scss


Latest release

Problem/Motivation

Latest release broke dashboard vieuw on Ipad with safari and chrome browser, showing only empty widgets.

Expected behavior

That dashboard on the ipad on safari and chrome works as before.

Actual behavior

dashboard vieuw on Ipad with safari and chrome browser, showing only empty widgets. When a snapshot from the addon is restored with the previous release, everything works as before.

Steps to reproduce

Proposed changes

Likely duplicate of #146


The repo doesn't support function calls

Hi There,
I am not seeing any function call support, they aren't included in the handler and testing with functions results in no activity. Basically, there is no ...
if delta.type == "function":
... and code to handle that output in the handler.
Is there any plan to include the pretty important feature please?
Thanks!

I tried applying OpenAI's approach here, and trying to use Async counterparts got this ...
"TypeError: 'AsyncAssistantStreamManager' object does not support the context manager protocol"
In the end, the only way I could this to work was to use the non-async code in an async on_event method. I suspect there are more elegant ways, but here is a snippet of code to add ...
from openai import AssistantEventHandler, OpenAI
from typing_extensions import override

Then in the event handler class ...
    @override
    async def on_event(self, event):
        # Retrieve events that are denoted with 'requires_action'
        # since these will have our tool_calls
        if event.event == 'thread.run.requires_action':
            run_id = event.data.id  # Retrieve the run ID from the event data
            for tool in event.data.required_action.submit_tool_outputs.tool_calls:
                if tool.function.name == "execute_query_action_localhost":
                    with sync_openai_client.beta.threads.runs.submit_tool_outputs_stream(
                        thread_id=self.current_run.thread_id,
                        run_id=self.current_run.id,
                        tool_outputs=[{"tool_call_id": tool.id, "output": "The price of rice is 203.5, beans is 400"}],
                        event_handler=AssistantEventHandler(),
                    ) as stream:
                        msg = await cl.Message(author=self.assistant_name, content="").send()
                        for text in stream.text_deltas:
                            print(text, end="", flush=True)
                            await msg.stream_token(text)
                        await msg.update()

You'd need to handle the function call, the above just provides dummy data to test.

In the end, I implemented a synchronous event handler because I just couldn't seem to get the async handling to work with streaming and tool outputs. I could cludge it using run_sync, but on submitting tool outputs, the process would complete.
I don't propose the below is a long-term solution at all, hopefully the maintainers can figure out the issue, but in case it's useful, this seems to work ...
Using chainlit utilities for running sync functions ...
from chainlit import make_async, run_sync
The (synchronous) handler ...
class EventHandler(AssistantEventHandler):

    def __init__(self, assistant_name: str) -> None:
        """
        Initializes a new instance of the ChatChainlitAssistant class.

        Args:
            assistant_name (str): The name of the assistant.

        Returns:
            None
        """
        super().__init__()
        self.current_message: cl.Message = None
        self.current_step: cl.Step = None
        self.current_tool_call = None
        self.current_message_text = ""
        self.assistant_name = assistant_name

    @override
    def on_event(self, event):
        """
        Handles the incoming event and performs the necessary actions based on the event type.

        Args:
            event: The event object containing information about the event.

        Returns:
            None
        """
        print(event.event)
        run_id = event.data.id
        if event.event == "thread.message.created":
            self.current_message = run_sync(cl.Message(content="").send())
            self.current_message_text = ""
            print("Run started")
        if event.event == "thread.message.completed":
            self.handle_message_completed(event.data, run_id)
        elif event.event == "thread.run.requires_action":
            self.handle_requires_action(event.data, run_id)
        elif event.event == "thread.message.delta":
            self.handle_message_delta(event.data)
        else:
            print(json.dumps(str(event.data), indent=4))
            print(f"Unhandled event: {event.event}")

    def handle_message_delta(self, data):
        """
        Handles the message delta data.

        Args:
            data: The message delta data.

        Returns:
            None
        """
        for content in data.delta.content:
            if content.type == "text":
                content = content.text.value
                self.current_message_text += content
                run_sync(self.current_message.stream_token(content))
            elif content.type == "image_file":
                file_id = content.image_file.file_id
                image_data = sync_openai_client.files.content(file_id)
                image_data_bytes = image_data.read()
                png_file = f"{images_loc}{file_id}.png"
                print(f"Writing image to {png_file}")
                with open(png_file, "wb") as file:
                    file.write(image_data_bytes)
                    image = cl.Image(path=png_file, display="inline", size="large")
                    print(f"Image: {png_file}")
                    if not self.current_message.elements:
                        self.current_message.elements = []
                        self.current_message.elements.append(image)
                        run_sync(self.current_message.update())
            else:
                print(f"Unhandled delta type: {content.type}")

    def handle_message_completed(self, data, run_id):
        """
        Handles the completion of a message.

        Args:
            data: The data associated with the completed message.
            run_id: The ID of the message run.

        Returns:
            None
        """
        # Add footer to self message. We have to start a new message so it's in right order
        # TODO combine streaming with image and footer
        run_sync(self.current_message.update())
        self.current_message = run_sync(cl.Message(content="").send())

        word_count = len(self.current_message_text.split())
        if word_count > 10:
            run_sync(self.current_message.stream_token(llm_footer))
        run_sync(self.current_message.update())

    def handle_requires_action(self, data, run_id):
        """
        Handles the required action by executing the specified tools and submitting the tool outputs.

        Args:
            data: The data containing the required action information.
            run_id: The ID of the current run.

        Returns:
            None
        """
        tool_outputs = []

        for tool in data.required_action.submit_tool_outputs.tool_calls:
            print(tool)

            function_name = tool.function.name
            function_args = tool.function.arguments

            function_output = run_function(function_name, function_args)

            tool_outputs.append({"tool_call_id": tool.id, "output": function_output})

        print("TOOL OUTPUTS: ")

        print(tool_outputs)

        # Submit all tool_outputs at the same time
        self.submit_tool_outputs(tool_outputs, run_id)

    def submit_tool_outputs(self, tool_outputs, run_id):
        """
        Submits the tool outputs to the current run.

        Args:
            tool_outputs (list): A list of tool outputs to be submitted.
            run_id (str): The ID of the current run.

        Returns:
            None
        """
        with sync_openai_client.beta.threads.runs.submit_tool_outputs_stream(
            thread_id=self.current_run.thread_id,
            run_id=self.current_run.id,
            tool_outputs=tool_outputs,
            event_handler=EventHandler(assistant_name=self.assistant_name),
        ) as stream:
            # Needs this line, or it doesn't work! :)
            for text in stream.text_deltas:
                print(text, end="", flush=True)

def run_function(function_name, function_args):
    """
    Run a function with the given name and arguments.

    Args:
        function_name (str): The name of the function to run.
        function_args (dict): The arguments to pass to the function.

    Returns:
        Any: The output of the function
    """
    if not hasattr(sys.modules[__name__], function_name):
        raise Exception(f"Function {function_name} not found")

    try:
        eval_str = f"{function_name}(**{function_args})"
        print(f"Running function: {eval_str}")
        output = eval(eval_str)

        if isinstance(output, bytes):
            output = output.decode("utf-8")
        print(output)

    except Exception as e:
        print(f"Error running function {function_name}: {e}")
        output = f"{e}"

    return output

This is then called with (note the sync client) ...
 with sync_openai_client.beta.threads.runs.stream(
        thread_id=thread_id,
        assistant_id=assistant.id,
        event_handler=EventHandler(assistant_name=assistant.name),
    ) as stream:
        stream.until_done()

NOT an elegant solution. :)

Unfortunately the suggested code didn't work for me. I changed the function submit_tool_outputs as follows, and it worked:
async def submit_tool_outputs(self, tool_outputs, run_id):
        """
        Submits the tool outputs to the current run.

        Args:
            tool_outputs (list): A list of tool outputs to be submitted.
            run_id (str): The ID of the current run.

        Returns:
            None
        """
        async with async_openai_client.beta.threads.runs.submit_tool_outputs_stream(
            thread_id=self.current_run.thread_id,
            run_id=self.current_run.id,
            tool_outputs=tool_outputs,
            event_handler=EventHandler(assistant_name=self.assistant_name),
        ) as stream:
            await stream.until_done()


Support David's path query parameter

Hi,
David now supports package.json files which aren't in the root of the GitHub repository through a path query parameter.
That's how
![devDependency Status](https://david-dm.org/algolia/algoliasearch-zendesk/dev-status.svg?path=app)

renders like this:  , based on the package.json in the app/ directory of this project instead of the root. I'd like to see shield.io also support it.
I'm not really sure of how it could be handled at the URL level, maybe just passing along the query parameter? Or maybe just adding it after the repo name?
https://img.shields.io/david/<type>/<repo owner>/<repo name><path to the package.json>.svg
https://img.shields.io/david/dev/algolia/algoliasearch-zendesk/app.svg

Would that make sense for you?

Does David DM have the guarantee that there is always a repo owner and a repo name?

According to the mainpage of david-dm there is always a owner (user) and name (repo).
https://david-dm.org/

They have a slightly different green color than on our badges, I just can't live with this :) Sorry for asking, but is there any plans to implement this?

Would you like to make a pull request?


[Feature/Idea]: Support for REST sources

What would you like to see changed/added?
This may need a lot of work but I'm planning to add support for WinGet REST sources. I'm going to look at +1s and if it gains some importance, I would plan to do so.

@jedieaston I don't know if it would be a good decision but I'm planning to transform this into a GitHub Action so that users who are using their own source for winget, they can use this action to keep packages up-to-date in their GitHub repository.
I'm planning to take the following inputs:
repo: <in the format of owner/repo>
in-place-upgrade: true or false (if user doesn't want to keep old manifests)
packages: * (for all), <array> (if a user wants to upgrade selected packages)

You'll need write access to their repositories, I don't know if this is feasible. Most of them will be sitting behind corporate firewalls or whatever.
They can just git fetch winget-pkgs, right?

Well, I'll try to keep most of the things as customizable as I can. I can make the bot commit the new manifests directly or instead, open PRs as we do for community repo. The limitation would be that the source will have to follow the same PackageIdentifier as of the community repo.

Most REST sources will not have a Git repository at all, since they don't need one (I mean, yes, they should be putting manifests in version control but they probably won't). You add manifests to rest sources via POST and PUT requests to the endpoints. I don't know if that makes sense for this project or not.

Most REST sources will not have a Git repository at all

If that's so, it doesn't make sense to convert into a GitHub action just for the community repo. Even, if there would be one or two sources hosted on GitHub, they would most probably be managed and automated by themselves.

You add manifests to rest sources via POST and PUT requests to the endpoints

Is that what Publish Pipeline does on the community repo and is it the reason why multiple manifests/changes aren't supported in one PR?

No, the community repo doesn't use a REST source, it uses a pre-indexed source (which is a SQLite file). The publishing pipeline converts the YAML files in the community repo into a SQLite file with the proper schema, packages it as an appx, signs it, and publishes it to somewhere in Azure. Then when you run winget source update you get the latest appx file and all of the updates to the community repo.


[utils] random_user_agent: update with past stable release versions

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

Replace the current list of random_user_agent CHROME_VERSIONS with the same amount of entries of the past stable versions.
Fixes #
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[ ] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

The last time we updated the list, it caused so many issues. I'd rather keep it as-is for now unless there is any practical advantage

As of Chrome 101, chrome user agents don't include minor versions (see https://www.chromium.org/updates/ua-reduction/#sample-ua-strings-phase-4). As such, the user agents in this PR are inaccurate. The list of user agents could be replaced with a random number generator between 106 and 116, which would achieve the same effect as this PR, but tbh if yt-dlp's user-agents ever do get updated, I think yt-dlp should just use one user agent, because it's much less of a fingerprinting surface than it used to be. If a site requests Sec-CH-UA-Full-Version-List, then yt-dlp should use a random user agent from that specific Chrome version
These are just my thoughts though, and as usual Pukkandan has the final say. This PR is unlikely to be merged any time soon though, and I kinda agree with Pukkandan that it's not a good idea to merge this until it becomes necessary

As of Chrome 101, chrome user agents don't include minor versions (see https://www.chromium.org/updates/ua-reduction/#sample-ua-strings-phase-4). As such, the user agents in this PR are inaccurate.

Thanks for the hint, I've at least updated the listed versions to be not incorrect. For the rest I completely agree, I just didn't want to abandon the MR and at least keep it updated for the time beeing until there might be a need. But of course also feel free to just close it.

I'll close. We should revisit this problem when the need for new UAs is pressing


MODINREACH-184 - Add API to Update an INN-Reach Transaction Record

MODINREACH-184 - Add API to Update an INN-Reach Transaction Record
Purpose
Provide an API to modify an existing INN-Reach transaction record.
Approach
API implemented
Tests added
Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.

Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] Were any API paths or methods changed, added or removed?
[ ] Were there any schema changes?
[ ] Did any of the interface versions change?
[ ] Were permissions changed, added, or removed?
[ ] Are there new interface dependencies?
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

I haven't found changes in ModuleDescriptor-template.json. New endpoint should be described there

I haven't found changes in ModuleDescriptor-template.json. New endpoint should be described there

Added


add dns suffix in board - [closed]

In GitLab by @tmon546596046 on Dec 13, 2018, 01:48
Merges dns -> dev

In GitLab by @wknet123 on Nov 13, 2019, 11:33
The test coverage for backend is 23.0%  %  , check  console log

In GitLab by @wknet123 on Nov 13, 2019, 11:33
closed


Do you think this project needs vagrant for development.

Hello,
You know it is possible to create and manage virtual machines with vagrant and an emulator software. What do you think about a vagrant file with provisioning? It could set up all packages, settings etc. and could give developer a good development environment.
I've made one at
https://github.com/tanaydin/hackathon-starter/blob/master/Vagrantfile
I can make it better if you found it useful...

Hi, don't think this is necessary as the only dependencies are Node (manage node versions withnvm) & Mongo, all the rest are installed via npm.


unit mapping

should include unit conversions (e.g. kWh to Joules etc)
Depending on what units entso comes in. Exiobase comes in TJ.

we will need a correspondence between units used in exiobase to (which are very few) to something here
e.g. Terajoule : http://www.ontology-of-units-of-measure.org/resource/om-2/terajoule

The file is here.


push new code

Joe was having issues with git status in his vs code. This merge is no longer being worked on


Revert es5-ext downgrade by bumping escope to 4.0.0

Changelog of this version: https://github.com/SAP/ui5-logger/blob/v3.0.0-next.0/CHANGELOG.md

Coverage remained the same at 94.51% when pulling 9a03580ed386e98a6eff38d703bb3ccc40f8d79e on escope-4.0.0-next into 2b71707683480b26aab9957c09e5d22bce8a6450 on next.


feature: Snippet completions

currently, rls supports presenting completions for associated functions as snippets where you can jump through the various args.

rust-analyzer does not yet have this feature. Instead it will insert a pair of parens, and place the cursor between them if the function has 1 or more args, and after if the function has no args.

We should add support for snippets and do our best to at least support all the features that rls does with snippets and function completions.

More comments from @matklad on zulip
I can't give a super-thorogh mentoring instructions right now, but (besides dec docs in the repo) what you want to look at are:

entry point for completion
code that translates internal completion items to lsp
code that inserts parens

@yaahc see https://github.com/rust-analyzer/rust-analyzer/pull/1715 which implements feature flags. In particular, "completion.insertion.add-call-parenthesis" controls "auto insert ()" behavior.

Hello, I'm a maintainer of a client that doesn't support snippets. Currently rust-analyzer doesn't work because it always returns snippets on completion. I wanted to try completion.insertion.add-call-parenthesis and pretend that rust-analyzer isn't completing snippets, just to see how it works.
Sending {"completion.insertion.add-call-parenthesis":false} in initializationOptions didn't work, the () still got inserted. So how is this option supposed to be used?

@bstaletic at the moment, rust-analyzer doesn't support non-snippet based completion. Strictly speaking, this is a violation of the LSP protocol, which requires to consult the corresponding client capability before sending completion. However, at the moment we deliberately target "the latest" version of the protocol (more discussion here). I've opened https://github.com/rust-analyzer/rust-analyzer/issues/2518 to add proper support here.
What completion.insertion.add-call-parenthesis feature does is removing a specific snippet some users find annoying, it does not disable all snippets. However, looking at the code, it seems like it should fall back to plain completion in this snippet.
I think the problem is that you need to nest insertion into featureFlags key. See sublime example here: https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/README.md#sublime-text-3. I would argue that this featureFlags nesting makes sense from the implementation point of view, but, UI-wise, you are not the first person confused with it... We should remove this nesting on the surface some day.

@matklad Thanks for opening #2518, I did leave my thoughts regarding snippets there.

I guess no one wants to implement this yet; I'll bite the bullet and attempt to implement this as my first issue, anything I should know?

I believe https://github.com/rust-analyzer/rust-analyzer/issues/1705#issuecomment-522732758 still lists the most relevant things.

I see, thank you.

See snippet syntax here: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_completion

Having https://github.com/rust-analyzer/rust-analyzer/pull/3432 merged, what is left to fully support snippets?

Hmm I beleive RLS supports a derive snippet and other things of the same kind, which would be useful to add as well :)

Yeah, I belive the original issue is fixed. For code snippets, which is a different feature from completion, my general stance is that they are often (but not always) a work-around for a missing feature in and IDE.
For derive specifically, see https://github.com/rust-analyzer/rust-analyzer/pull/4015


Unwanted text is inserted when using A on multiple selections

After making a few selections, if I press A to append while still in visual mode, the following text is inserted after each selection:
:call 28_apply_user_input_next('i')
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 21 2015 18:49:28)
All other plugins are disabled.

I've encountered the same issue after pressing A or I. :call <SNR>34_apply_user_input_next('i').
It happens in both Vim 7.4 1-580 and current version of Neovim.

Seeing this bug as well, reproduced identically to what mbohuslavek mentioned. I'm on 7.4 1-488 Vim.

@smably @mibk @joehanchoi Does this help: https://github.com/terryma/vim-multiple-cursors/issues/95#issuecomment-71774374?

@balta2ar I think this case is a bit different, in that A and I do work properly in visual block mode (which I see as the closest native Vim analogue of multiple selections).

@balta2ar When I hit v before A, it works fine, though as @smably said I would expect that A and I work as well because they work in visual block, which is effectively a one-column multiple cursor.

@smably @aquach Right, I got your point now. Agree, that would be nice to have. Even though I'm not using that combination myself, now I'd love to give it a try. I'm not sure, but maybe we should consider dealing with #111 first as it might be related.

Sounds good. Here's a little more motivation from playing around with the plugin in the last few minutes:
Let's say I've freshly made a bunch of cursors with Ctrl-N. I now need to remember that if I want to c or d, I can just press that button, but if I want to i, I, a, or A, I need to v first to head to normal mode. If I'm in the wrong mode, I get an error or garbage text all over my buffer. This is in contrast to visual mode, where I can c, d, i, I, a, and A without thought (though i and a are no-ops).
Secondly, if I A or I from visual mode, it drops me at the beginning or end at the selection, but A or I in multiple-cursor visual mode inserts garbage text, and A or I in multiple-cursor normal mode jumps me to the beginning or end of the line. Implementing A and I in multiple-cursor visual mode would also solve this asymmetry.

@faceleg This one looks like a duplicate of #55 (also #60). People happen to stumble on that problem often, probably it should be mentioned in the README that I and A do not work in Visual mode yet.

Duplicate of #55 and #60

@balta2ar yeah good idea - do you have an idea for some suitable text to add?

@faceleg Maybe something like this will do (cursive is old content, regular is new):

Single key command to switch to Insert mode such as c or s from Visual mode or i, a, I, A in Normal mode should work without any issues. NOTE: vim's Visual block mode also supports I and A commands, however they do not work in this plugin's Visual mode at the moment. Stay tuned.

I think that'd be a great interim solution. I know I almost got turned off of this plugin entirely after seeing that unexpected behavior. How about:

Single key command to switch to Insert mode such as c or s from Visual mode or i, a, I, A in Normal mode should work without any issues. _NOTE: vim's Visual block mode also supports I and A commands, however they do not work in this plugin's Visual mode at the moment. For now, to use I and A, switch to normal mode by pressing v first. _

Once I got the hang of it of using v before I and A, it was a lot easier.

Done thanks team!


Update help text for create, update, extract

The --help text could be improved for create, update, and extract:
Recommendations from @TonyB9000 :
For create: --hpss HPSS        path to HPSS storage -> --hpss HPSS        path to HPSS storage, or '--hpss=none' for local archiving.
For the following 3 cases, “CACHE” is described as “path to store files”, but with --hpss=none, would a better description be “path to local destination archive” or “path to local source archive”?
For Create:  (selected lines of interest only)
positional arguments:
  path               root directory to archive
optional named arguments:
  --keep             keep tar files in local cache (default off)
  --cache CACHE      path to store files

For Update:  (selected lines of interest only)
  --hpss HPSS        path to HPSS storage
  --keep             keep tar files in local cache (default off)
  --cache CACHE      path to store files

For Extract:  (selected lines of interest only)
optional named arguments:
  --hpss HPSS        path to HPSS storage
  --workers WORKERS  num of multiprocess workers
  --keep             keep tar files in local cache (default off)
  --cache CACHE      path to store files

Other help-text updates are #72, #65.

Other help-text updates are #72, #65.


Enhance Side bar

I can enhance the CSS of side bar and make it look more attractive

Hello @Nandini80 ,
Thanks for creating an issue on this. ⭐
Here's my concern,

As per the SWOC rules, we (Project Admins) can assign the tasks to the Contributors from 1st of Jan.
But you can work on this now and keep me update your output through images/videos in the comment section.
And one more thing, don't make any PR now, you can do it when the program begins (On 1st Jan).

So don't worry, I'll assign this task to you with the tag on 1st of Jan.
Hope you got my points!
Thanks For Understanding! ✌

Feel free to ask any questions for further clarification.
#Good Luck!✌

Join Discord Channel for discussion/doubts/questions. ✌

Hello @Nandini80,
Thank you for your recent contributions to the project. I appreciate your efforts in enhancing Sidebar.
Just a friendly reminder, it would be great if you could keep me updated on your changes through images/videos in the comment section.
This will help us ensure a thorough review and make the integration process smoother.

Feel free to ask any questions for further clarification.
#Good Luck!✌

I can work on this issue ?can it be assigned?


DialogParticipation.Register="{Binding}" Memory leak

I am using MahApps.Metro, v1.6.5.
MetroWindow with mah:DialogParticipation.Register="{Binding}" doesn't get disposed after the ShowDialog() call.
Example usage: I have two windows - MainWindow and MyDialogView. Each has it's own view model - MainWindowViewModel and MyDialogViewModel.
MainWindowViewModel contains a OpenDialogCommand, which opens the dialog view.
MyDialogViewModel contains a CloseCommand, which raises an OnClose event. The MainWindowViewModel handles the OnClose event and closes the dialog window.
For easier debugging I instantiate a large byte array in the MyDialogViewModel constructor. If I open and close the dialog window multiple times the memory usage only increases (by 1GB). But if I remove the DialogParticipation.Register parameter, then the memory usage gets decreased when the garbage collector runs.
I prepared an example here

@kmetic You're correct with this memory leak. I must apologize that the hint for this is not easier to find. I'll put this on a better place.
https://github.com/MahApps/MahApps.Metro/blob/94fee344eb91f977a7289d5c8c7b89861605a198/src/MahApps.Metro.Samples/MahApps.Metro.Demo/MainWindow.xaml#L26-L32

@punker76 thanks, I tested it and it works.
One question - I tried to unregister even if I didn't register before and it looks OK. Is it wrong to unregister all MetroWindows by default, event I you don't use DialogParticipation at all?


Android platform. in ReactRootView Animated.timing is wrong.

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Please provide a clear and concise description of what the bug is. Include screenshots if needed.
Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html
React Native version:
Run react-native info in your terminal and copy the results here.
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
1.Android platform use ReactRootView in popupWindow display an animate by Animated.timing.
2.The Animated.timing doesn't work , but if i use reactActivity, it works very well.
Expected Results
Describe what you expected to happen.
Snack, code example, screenshot, or link to a repository:
Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

System:
OS: macOS 11.2.3
CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Memory: 59.96 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.6.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 22, 26, 27, 28, 29, 30
Build Tools: 26.0.2, 27.0.3, 28.0.0, 28.0.2, 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.1
System Images: android-30 | Google APIs Intel x86 Atom
Android NDK: 20.0.5594570
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_171 - /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/bin/javac
Python: 2.7.11 - /Library/Frameworks/Python.framework/Versions/2.7/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: ^0.63.2 => 0.63.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found


Feature/js mustache

Relavent ticket: PPL-8502
Now a module can reference a partial in 3 ways

path-to-module
path/to/module  (this is new)
Custom partial mapping at registration

Things still left to do:

Doing the same for esm.js (I want to do this first before rolling it out to everywhere)
Unit tests

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:


Many of the doc pages have broken links

For example, http://supernova.readthedocs.org/en/latest/gettingstarted/usage.md is linked to from http://supernova.readthedocs.org/en/latest/gettingstarted/.  It would appear this should go to http://supernova.readthedocs.org/en/latest/usingsupernova/ instead.
Confusingly, the search also lets you find broken pages. For example, if you search for 'group' you will get one result:
http://supernova.readthedocs.org/en/latest/usingsupernova.html?highlight=group
The result summary shows text that appears appropriate, but clicking the link takes you to a page with some ascii art I don't understand and the message 'sorry this page does not exist yet.'

Thanks for opening the issue, @rillip3.  That's on my list of things to fix.  I did a migration from RST -> MD a while back and I knew there would be some straggler content. :(

@rillip3 I fixed up the broken links, but the search functionality in RTD still seems broken.  I have no idea why the user is redirected to a page ending in .html when that directory won't exist.  Can you see something I'm missing?

The search seems to be working now.

The one result returned links to http://supernova.readthedocs.io/en/latest/usingsupernova/?highlight=group which is a valid page.


Modularize the parsing module

This is the first part of a series of more substantial changes to the parsing module.
Main idea here is (i) no change in the functionality (ii) reorganize the one big module into several

Ok, this is as complete as it gets. Let's close/accept this PR so I can create another PR with a backport of the functional improvements

Merged. Thanks!


black windows in dotnet applications

try using the visual studio installer (or the reshade installer) with wine 7.4, it renders fine with wined3d and it doesn't render fine with dxvk, with dxvk, the window is black unless you move you mouse in which case the portion of ui element you are hovering over reveals itself and turns the rest of the window black.

the easy solution to this would be add some env variable that disables dxvk or the tougher one, which is patching dxvk

Needs more info, especially log files.

ReShade_Setup_5.0.2_d3d9.log
this is the dxvk log, dosen't seem like anything special is in there

this bug is also easily reproduceable, so you can go download reshade and get extra info if needed

Similar issue with Warhammer Online Return of Reckoning Launcher. dotnet40
works with wined3d, but doesn't with DXVK.

log: RoRLauncher_d3d9.log
Launcher can be downloaded from here: http://launcher.returnofreckoning.com/RoRLauncher.exe
no account needed, but it will start to download files, be aware

It seems to be the exact case of #2278 as indeed it seems to be a partial present.
For Tarkov the workaround was to force wined3d for DX9 since it's what launcher uses and the actual game uses DX11.

VRCX also seems to suffer from partial present issue.
Not a massive handicap, but what makes partial so stubborn to address?

You could try this: https://github.com/doitsujin/dxvk/issues/2568#issuecomment-1085832406
Works with Warhammer: Return of Reckoning launcher. Might work with other dotnet launchers as well

can confirm that this fix works

that looks a bit better

Why are you running the Visual Studio installer with DXVK?

Why are you running the Visual Studio installer with DXVK?

because i have it installed in my main wine prefix...


Forced sleep interval after long pause

After not using Noto for a long time* I almost always have to wait slightly more than one minute until I can fully use the app. This minute is divided into several phases, depending on use case: Opening the first text takes around 40 seconds, 20 of these without anything happening, then the surrounding shape of the tapped note changes its colour and remains like that for another 20 secs until it opens. Opening the second note still takes around 20 plus 10 secs.
Only then the app is fully usable. Libraries can be opened without problem, btw.
This is not reproducible at will, i.e. can not be triggered by quitting or force quitting Noto, so I could not test for further hints. For possible pointers see the log excerpt below.
Noto v1.6.2 & ~.3 (from F-Droid)
Android 6.0.1 (with GMS upd. to 21.18.16, cn=M sdk=23)
Webview 95.0.4638.74
Motorola Moto G4
device not rooted
*(e.g. several days, but can also happen after intervals shorter than that)
<<< log_count = 20 >>>
[11-15 08:26:39.226 1810:4497 I/ActivityManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.noto/.app.AppActivity bnds=[553,427][785,683]} from uid 10678 on display 0

[11-15 08:26:39.272 1810:5891 I/ActivityManager]
Start proc 22636:com.noto/u0a1518 for activity com.noto/.app.AppActivity

[11-15 08:26:39.343 22636:22636 W/System]
ClassLoader referenced unknown path: /data/app/com.noto-2/lib/arm

[11-15 08:26:40.304 1810:1903 I/LaunchCheckinHandler]
Displayed com.noto/.app.AppActivity,cp,ca,1048

[11-15 08:26:40.304 1810:1903 I/ActivityManager]
Displayed com.noto/.app.AppActivity: +1s48ms

[11-15 08:26:40.384 14565:14565 I/EditorInstance]
startInput() - info=android.view.inputmethod.EditorInfo
imeOptions: IME_NULL
initialCapsMode: flags=(none)
initialSelStart: -1
initialSelEnd: -1
inputType: TYPE_NULL
packageName: com.noto

[11-15 08:26:42.541 22636:22636 E/chromium]
[ERROR:network_service_instance_impl.cc(179)] Failed to grant sandbox access to network context data for /data/user/0/com.noto/app_webview/Default with result 7: No such file or directory (2)

[11-15 08:26:42.661 14565:14565 I/EditorInstance]
startInput() - info=android.view.inputmethod.EditorInfo
imeOptions: IME_NULL
initialCapsMode: flags=(none)
initialSelStart: -1
initialSelEnd: -1
inputType: TYPE_NULL
packageName: com.noto

[11-15 08:26:43.731 483:483 D/SFPerfTracer]
       layers: (3:13) (FocusedStackFrame (0xb8b68628): 0:3541)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77880) (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2134)* (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* (com.teslacoilsw.launcher/com.teslacoilsw.launcher.NovaLauncher (0xb8b9d070): 0:319)- ( (0xb8b8e350): 0:3)* (NavigationBar (0xb8b9f138): 0:18) (Starting com.noto (0xb8ba05e0): 0:36)- (com.noto/com.noto.app.AppActivity (0xb8b92520): 0:2)- (com.noto/com.noto.app.AppActivity (0xb8b8f618): 61:84)

[11-15 08:28:04.019 483:483 D/SFPerfTracer]
       layers: (3:10) (FocusedStackFrame (0xb8b68628): 0:3541)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77891) (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2134)* (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* ( (0xb8b8e350): 0:3)* (NavigationBar (0xb8b9f138): 0:18) (com.noto/com.noto.app.AppActivity (0xb8b8f618): 28:199)

[11-15 08:28:10.669 483:483 D/SFPerfTracer]
       layers: (3:10) (FocusedStackFrame (0xb8b68628): 0:3541)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77891) (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2134)* (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* ( (0xb8b8e350): 0:3)* (NavigationBar (0xb8b9f138): 0:18) (com.noto/com.noto.app.AppActivity (0xb8b8f618): 50:320)

[11-15 08:29:13.622 483:483 D/SFPerfTracer]
       layers: (1:11) (FocusedStackFrame (0xb8b68628): 0:3541)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77898)* (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2134)* (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* ( (0xb8b8e350): 0:3)* (NavigationBar (0xb8b9f138): 0:18)* (com.noto/com.noto.app.AppActivity (0xb8b8f618): 0:411)* (ColorFade (0xb8ba05e0): 28:29)

[11-15 08:29:18.609 20318:22753 V/...silio.android.waveup]
WaveUpWorldState: Most recently run package according to UsageStats (>= LOLLIPOP): com.noto

[11-15 08:29:18.946 20318:22757 V/...silio.android.waveup]
WaveUpWorldState: Most recently run package according to UsageStats (>= LOLLIPOP): com.noto

[11-15 08:29:19.389 20318:22760 V/...silio.android.waveup]
WaveUpWorldState: Most recently run package according to UsageStats (>= LOLLIPOP): com.noto

[11-15 08:29:19.393 20318:22760 V/...silio.android.waveup]
WaveUpWorldState: Most recently run package according to UsageStats (>= LOLLIPOP): com.noto

[11-15 08:29:24.090 483:483 D/SFPerfTracer]
       layers: (3:13) (FocusedStackFrame (0xb8b68628): 0:3541)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77899) (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2134)* (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* ( (0xb8b8e350): 0:3)- (NavigationBar (0xb8b9f138): 0:19) (com.noto/com.noto.app.AppActivity (0xb8b8f618): 71:558) (ColorFade (0xb8ba05e0): 0:30)- (AOD (0xb8bae9d0): 0:4)- ( (0xb8bae9d0): 0:3)*

[11-15 08:29:31.609 483:483 D/SFPerfTracer]
       layers: (3:10) (FocusedStackFrame (0xb8b68628): 0:3541)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77902) (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2134)* (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* (NavigationBar (0xb8b9f138): 0:19) (com.noto/com.noto.app.AppActivity (0xb8b8f618): 17:666) ( (0xb8bae9d0): 0:3)*

[11-15 08:29:33.998 483:483 D/SFPerfTracer]
       layers: (3:10) (FocusedStackFrame (0xb8b68628): 0:3541)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77902) (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2134)* (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* (NavigationBar (0xb8b9f138): 0:19) (com.noto/com.noto.app.AppActivity (0xb8b8f618): 69:782) ( (0xb8bae9d0): 0:3)*

[11-15 08:29:44.685 483:483 D/SFPerfTracer]
       layers: (4:11) (FocusedStackFrame (0xb8b68628): 0:3543)* (DimLayer (0xb8b6add0): 0:64)* (StatusBar (0xb8b71328): 0:77903) (com.android.systemui.ImageWallpaper (0xb8b813f8): 0:2135) (DimLayer (0xb8b95758): 0:4329)* (DimLayer (0xb8b85850): 0:504)* (NavigationBar (0xb8b9f138): 0:56) (com.noto/com.noto.app.AppActivity (0xb8b8f618): 0:839)- ( (0xb8bae9d0): 0:3)* (com.teslacoilsw.launcher/com.teslacoilsw.launcher.NovaLauncher (0xb8bb8940): 30:35)

Unfortunately, without a reproducer, there isn't really much to do, and the log isn't saying anything beneficial. I'm going to keep this issue open, though, hoping more information appear.

I checked the log, and I'm working on a fix. Thank you.

For me this is gone, be it by any fix, by changing the device or by the slightly more advanced Android version I'm using there. I'll close as I was the only one experiencing this, obviously.


Upgrade to pay-as-you-go

Hi,
I'm just trying to upgrade my free tier to a pay-as-you-go.
It says I made it and even received an email saying so, but I still can't create the resources I need. What should I do?

The options appeared after cleaning the browser data. Weird bug.

@luiztauffer I am glad that you were able to resolve this issue.


Handle existing files while downloading ourselves.

Seems more robust than relying on Downloads.jl not to redownload, and helps in the case that we can't even HEAD the URL (as, e.g., with NVIDIA's secure server; I just SCP the archives to the download server manually for those JLLs).

CI failures unrelated, and happen locally on master too (i.e, without these changes).

Yeah https://github.com/JuliaPackaging/BinaryBuilderBase.jl/pull/54#issuecomment-711940197

I think this is done by #59.  Here you are deleting the file, but I don't think it's really necessary and we can just happily overwrite it?

https://github.com/JuliaPackaging/BinaryBuilderBase.jl/pull/59...

It turns out curl doesn't overwrite existing files, so we need to explicitly delete them


Docs for Continuous cache invalidation

…when mill / metals target different JVMs #3057
Hopefully it can help someone else to0...

Thank you! I'll reformat a bit, when I find time for it.

I merged this change with PR #3096.


Lifecycle Validators

Is your feature request related to a problem? Please describe.
We want to be able to add custom validation for nodes/DAGs
Describe the solution you'd like
Two hooks:

validate_node
validate_graph

That can raise an exception.
Describe alternatives you've considered
Sticking it in a method/hook.
Additional context
Thinking about more enterprise-level concerns.

@elijahbenizzy this is done, right?


Parent does not layout correctly if children are rotated

Describe the bug
if you rotate a control it is not measured in its rotated state and the parent is not laid out in the expected size so it could contain the complete child.
To Reproduce
use the snippet
    <Grid
        ShowGridLines="True"
        RowDefinitions="* *"
        ColumnDefinitions="* *">

        <Panel
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Background="Aqua">

            <TextBlock Text="{Binding Greeting}">
                <TextBlock.RenderTransform>
                    <RotateTransform Angle="45" />
                </TextBlock.RenderTransform>
            </TextBlock>
        </Panel>

        <Panel
            Grid.Row="0"
            Grid.Column="1"
            HorizontalAlignment="Left"
            VerticalAlignment="Bottom"
            Background="Aqua">

            <TextBlock Text="{Binding Greeting}">
                <TextBlock.RenderTransform>
                    <RotateTransform Angle="-45" />
                </TextBlock.RenderTransform>
            </TextBlock>
        </Panel>

        <!-- clipping -->
        <Panel
            Grid.Row="1"
            Grid.Column="0"
            HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Background="Aqua"
            ClipToBounds="True">

            <TextBlock Text="{Binding Greeting}">
                <TextBlock.RenderTransform>
                    <RotateTransform Angle="-45" />
                </TextBlock.RenderTransform>
            </TextBlock>
        </Panel>

        <StackPanel
            Grid.Row="1"
            Grid.Column="1"
            Orientation="Horizontal"
            Background="Cyan"
            VerticalAlignment="Center"
            HorizontalAlignment="Center">

            <TextBlock
                HorizontalAlignment="Right"
                VerticalAlignment="Center"
                Text="{Binding Greeting}">

                <TextBlock.RenderTransform>
                    <RotateTransform Angle="-90" />
                </TextBlock.RenderTransform>
            </TextBlock>

            <Border
                BorderBrush="Black"
                BorderThickness="1">
                <StackPanel
                    VerticalAlignment="Stretch">

                    <TextBlock Text="some control" />
                    <TextBlock Text="a vertical text" />
                    <TextBlock Text="needed to be set" />
                    <TextBlock Text="next to its left side" />
                </StackPanel>
            </Border>

        </StackPanel>

    </Grid>

Expected behavior
the parent of a control should be sized depending on its content even if it is rotated.
how would you lay out a vertical text next to a control without using too much space horizontally otherwise?
in the screenshot below you see some examples. i would always expect the cyan control to contain the text completely.
in the top left, you see that the parent does not size depending on the rotation. it is just sized to the content as if it were not rotated.
in the bottom left, you see that it gets even clipped if clip to bounds is activated.
in the top right, i wanted to place the text to the bottom left so it starts from the corner but it even exceeds the grid there
in the bottom right you see an example for my actual problem in my current product, where i want to place a vertical text next to a control to name it. but since it is measured as if it were not rotated it does not take the correct space in its layout container and positioning can't be done by alignments anymore
Screenshots

Environment

OS: Windows 10
Avalonia-Version: 11.0.6

i missed the Avalonia.Controls.LayoutTransformControl. i think with this control i would get the expected behavior


NN-702 Ensure that the correct security headers are set

Includes strict-transport-security

At the moment this changeset causes a 403


[Bug]

🐛 Bug
The Move Prover generates Boogie ensures conditions that use "==" instead of "IsEqual" when comparing a vector reference to a slice of a vector.  This causes the assertion to fail when it should not.
When I looked at the translation code, it seems to consistently generate IsEqual, so I'm not sure where "==" is getting generated.
To reproduce
Code snippet to reproduce
// dep: tests/sources/stdlib/modules/vector.move
module TestVector {
    use 0x0::Vector;

    fun sl<Element>(v: &mut vector<Element>): Element {
        Vector::pop_back(v) // inlining the built-in Boogie procedure
    }
    spec fun sl {
        ensures v == v[0..len(v)];  // gets an error, even t hough it's an identity.
	ensures v[0..len(v)] == old(v[0..(len(v)-1)]); // no error
    }
}

Stack trace/error message
cargo run  tests/sources/stdlib/modules/vector.move tests/sources/test-slice.move
    Finished dev [unoptimized + debuginfo] target(s) in 0.45s
     Running `/Users/dill/Work/CODE/junkil-libra/libra/target/debug/move-prover tests/sources/stdlib/modules/vector.move tests/sources/test-slice.move`
error:  A postcondition might not hold on this return path.

    ┌── tests/sources/test-slice.move:10:9 ───
    │
 10 │         ensures v == v[0..len(v)];
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^
    │
    =     at tests/sources/test-slice.move:6:5: sl (entry)
    =     at tests/sources/test-slice.move:7:17: sl
    =         v =
    =           &vector{
    =             152: <generic>,
    =             5751: <generic>,
    =             <generic>,
    =             else: <generic>},
    =         v =
    =           &vector{
    =             152: <generic>,
    =             5751: <undef>,
    =             <generic>,
    =             else: <generic>}
    =     at tests/sources/test-slice.move:6:5: sl (exit)

Error: exiting with boogie verification errors

Expected Behavior
The ensures condition should hold.
System information
Please complete the following information:

Additional context
Here is the Boogie spec for the offending function with ** around the == and IsEqual
procedure {:inline 1} $TestVector_sl ($tv0: TypeValue, v: Reference) returns ($ret0: Value)
requires $ExistsTxnSenderAccount($m, $txn);
ensures !$abort_flag ==> (b#Boolean(Boolean(($Dereference($m, v)) == ($slice_vector($Dereference($m, v), $Range(Integer(0), $vlen_value($Dereference($m, v))))))));
ensures !$abort_flag ==> (b#Boolean(Boolean(IsEqual($slice_vector($Dereference($m, v), $Range(Integer(0), $vlen_value($Dereference($m, v)))), old($slice_vector($Dereference($m, v), $Range(Integer(0), Integer(i#Integer($vlen_value($Dereference($m, v))) - i#Integer(Integer(1))))))))));
Add any other context about the problem here.

The bug fix for this issue is included in https://github.com/libra/libra/pull/3054.


How many records will this plugin support ?

Hi There,
I was using similar angular js multi select but I am having issues with records more than 1000 items. It is pretty slow.
I want to know how many items will this plugin support before I start integrating with my application ? That would help a lot.

Hi,
I don't have the exact number, but indeed some users mentioned performance degradation on thousands of records.
If you want, you can get the first release, which doesn't have much of the v4.0.0 features but should be faster.
If it still doesn't help, I'm afraid you should try to find other multi-select alternatives.


Add turbolinks:before-render event

The turbolinks:before-render event fires just after Turbolinks creates the new body element but before it imports permanent elements. The new body is exposed as event.data.newBody.
This gives the application and third-party libraries a chance to query or manipulate the current and new body elements just before the new body is installed.

Really nice. And cheers for tests! :+1: