images can't display

Hello, thank you very much for your RSS software.
During use, I discovered an issue:
Subscribed to this RSS feed: https://manateelazycat.github.io/feed.xml，This website has articles such as https://manateelazycat.github.io/2023/08/06/tourism-daxinganling/ Unable to display images inside.
Thank you for your selfless efforts. Thank you!

I believe this feed got wrong URLs for img tags, they should start with http[s]://

I believe this feed got wrong URLs for img tags, they should start with http[s]://

Yes，the address of these images start with "//",  do you have plan to fix id ?

// is a pretty common convention on the web, it sends requests over whatever protocol the page is currently using. So if I visit https://example.org/index.html and it embeds //example.org/image.png, it will load image.png using https as well. If I use http, so does the image. Browsers get cranky when you mix and match, so this is the solution to that.

I hadn’t realized that // was common for this — I know about / of course for server-relative URLs, but I hadn’t realized that // was a synonym


Will Simpleaichat support embedding?

According to here: https://github.com/minimaxir/simpleaichat/issues/25#issuecomment-1600048436

(and to be clear nothing in simpleaichat is working with embeddings)

So, Will Simpleaichat support embedding?

Embeddings are a broad topic in the AI ecosystem, but simpleaichat will not be natively supporting anything involving embeddings.
There may be demos involving vector stores but nothing native to the library itself, since there's no reason to make it inherent to the library.


Design and Build Pricing Service

We need to build a backend price supplier API.
Here are some requirements:

It should include IP-based rate limiting.
It should include CORS-based limiting, same origin.
It uses CoinGecko's Free Tier API key, which has a limit of 30 requests per minute.
Service is stateless with regards to Safes, it doesn't know anything about Safe addresses.
Service accepts a list of token addresses (and/or ETH), and responds back with USD value for each token address (and/or ETH).

I see the hard part being satisfying these three things at the same time. As long as number 3 is a should, not a must, we'll be gucci:

Service must always respond to a request in a timely manner (no slower than however much longer a CoinGecko request takes, plus some time for our service to build a response).
Service must, globally, never hit the CoinGecko API more than 30 times in a 1 minute window.
Service should not return stale price data ("staleness" to be tweaked later, lets call it 30 mins for now).

Closing in favor of #1362


Create Async-Convertible AuthorizationGenerator interface

We need an AuthorizationGenerator interface which acts on extenders of WebContextBase. The advantage of this is that those generators which use only non-blocking sync WebContext methods can be automatically converted to async versions at no cost.

Required for issue #99 to be resolved


Updates for Tears of Amaterasu

I've updated the Pack.json and tears-of-amaterasu.json with the release data and img/illustrator/flavor respectively.

Thank you! I didn't think we'd get the images before CGDB. I actually tried to find them on the CDN server, but I guess I fumbled the url.


fix: use spec without action generate flowkey

Codecov Report

Merging #270 (f8b8b90) into main (5f54c51) will decrease coverage by 0.83%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #270      +/-   ##
==========================================
- Coverage   64.09%   63.26%   -0.84%
==========================================
  Files          41       41
  Lines        6907     6933      +26
==========================================
- Hits         4427     4386      -41
- Misses       2100     2169      +69
+ Partials      380      378       -2

Impacted Files
Coverage Δ

pkg/controller/policy/cache/rule.go
89.40% <100.00%> (-5.08%)
:arrow_down:

pkg/controller/policy/global_policy_controller.go
78.94% <100.00%> (ø)

pkg/agent/datapath/localBridge.go
27.19% <0.00%> (-12.77%)
:arrow_down:

pkg/agent/datapath/uplinkBridge.go
49.25% <0.00%> (-1.52%)
:arrow_down:

pkg/controller/group/group_controller.go
73.33% <0.00%> (-1.30%)
:arrow_down:

pkg/agent/datapath/multiBridgeDatapath.go
61.92% <0.00%> (-0.95%)
:arrow_down:

pkg/monitor/agent.go
67.76% <0.00%> (-0.94%)
:arrow_down:

pkg/agent/datapath/clsBridge.go
57.08% <0.00%> (-0.50%)
:arrow_down:

pkg/agent/datapath/policyBridge.go
61.78% <0.00%> (+0.08%)
:arrow_up:

... and 2 more


Next button does not work

Start here: https://newsite.com/packages
Then next button >> links to
https://newsite.com/packages?page=0

expected
https://newsite.com/packages?page=2

When you navigate to https://newsite.com/packages?page=0 the next button keeps linking to page=0

Should be fixed by #04e3330c308aff07db6598c4d0332139d8f7ff18


chore(master): release 1.22.0

:robot: I have created a release beep boop
1.22.0 (2024-12-17)
Features

add more encounter prog choices for FRU (527d9b2)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.22.0
:sunflower:


Annoncer une commande avec un mot clef pour des commandes sensibles

Description
Amazon have some problem with alexia with an ad which tell alexia to order some toys.
Perhaps it will be good to think about a simple security for specials  commands.
For example:
me: Could you activate the alarm ?
Jarvis: password is needed for this action.
me: bluesky
jarvis: Alarm activated
Not a bad idea ?

Already possible with nested commands:
*ACTIVAT*ALARM*==say "password is needed for this action."
>(*)==[ "(1)" == "bluesky" ] && say "Alarm activated" || say "wrong password"


Add Bollinger Bands Indicator

I think that Bollinger Bands Indicator would be a nice to have feature.
I see implementation on this indicator as:

struct that will extend moving average struct by using it as part of self data struct,
will share common project trait,
next function will return tuple of (moving average: i32, upper_bound: i32, lower_bound: i32 ) or corresponding data struct,
new function will take (n: i32, k: i32) where n is buffer size and k is standard deviation multiplier that multiply itself by standard deviation to indicate upper and lower bound according to Bollinger Band formula,

Hi! Thanks for your proposal. Now I see what was the reason for standard deviation :)

struct that will extend moving average struct by using it as part of self data struct,
It's probably obvious, but could you name the indicator BollingerBands ?
Would you like to use Simple Moving Average or Exponential Moving Average? (it looks like there are different invariant of BollingerBands). I usually tend to use EMA but don't have strong arguments and preferences.

next function will return tuple of (moving average: i32, upper_bound: i32, lower_bound: i32 ) or corresponding data struct,

Returning data struct is a good idea, because it makes things more clear. What would be a good name for such data struct? BollingerBandValue (or ...Values) ? (it is important to pick a good name here, I'd like to extend your idea, and apply the same naming pattern to MACD, because returning tuple is confusing).
What would be the field names?

new function will take (n: i32, k: i32) where n is buffer size and k is standard deviation multiplier that multiply itself by standard deviation to indicate upper and lower bound according to Bollinger Band formula,

You mean that BollingerBands::new would take (n: i32, k: i32) ? If so, then it looks good to me.
Regarding standard deviation: I would suggest implementing as a separate function that can be tested in isolation and then using this function within next function. Or alternatively finding a small crate that could provide this function (if you decide to go this way, please let me validate the crate first).
Again thanks for your initiative. Please don't take every my comment as a final decision. If you see that something here does not make sense or you see a better approach to do something (e.g. better names, etc.) I would be happy to discuss such things! =)
Thank you.

Ah, important comment. Usually I verify my implementation and test data against indicators at investing.com.
Could you please do the same?
https://www.investing.com/equities/amazon-com-inc-chart
Here are screenshot instructions:

Hi, Thanks for quick replay and all suggestions. I don't have any objections and I think this is very nice design pattern to follow. I will implement returning type for next as struct of suggested name. I am not good at naming things, and sometimes I fall in to a trap of enigmatic names that works only for me, so fell free to point it out, and by the way; thanks for descriptions. First I will bring some code as a brief prototype to discuss, but have only one request, which is that I do not always have systematic time for contribution, so if something would go few days without response please 'forgive' :). But most of the time I stay very connected to the world. To be consistent in this project, please if you have any rules for example branch naming, please let me know. Thanks for all. In touch. I hope weather in Berlin is nice, in Gdansk We are hosting Scandinavian wind.

Regarding to field names, I will be back with proposal asap.

What do you think to use enum for example:
enum AverageType {
    SMA,
    EMA,
}

as flexible setup of which calculation of average library user would be happy to use?

I would rather use a generic for this purpose... But let's leave it for the future.
Currently we can go with one simple option.
P.S.
In Berlin we have rain...
I was few times in Gdansk, really beautiful city! Sometimes I have to travel through it (I have relatives in Kaliningrad :) )
P.S.2
I may not respond for few days.. But usually I try to keep things on track ;)

Lets go with EMA than.
P.S. I have heard that Kaliningrad is a beautiful city, I have got a friend there, but now lives in Murmansk.

Proposal:
use std::fmt;

use crate::errors::*;
use crate::{Close, Next, Reset};
use crate::indicators::ExponentialMovingAverage;

/// A Bollinger Bands (BB).
/// (BB).
/// It is a type of infinite impulse response filter that calculates Bollinger Bands using Simple Moving Average or Exponential Moving Average depends on settings.
/// The Bollinger Badns are represented by Average (EMA or EWMA) and standard deviaton that is moved 'k' times away in both directions of calculated average value.
///
/// # Formula
///
/// Bollinger Bands are calculated based on EWMA or SMA combined with Standard Deviaiation(SD).
/// See EWMA and SMA doumentation.
///
/// ![SD formula](https://wikimedia.org/api/rest_v1/media/math/render/svg/8715d659116bec91d48762b9e1f3d9aed36fc028)
///
/// Where:
///
/// * _SDs_ - is value of standard deviation for N given probes.
/// * _SDٍ-_  - is the mean value of observation.
/// * _SDN_ - is number of probes in observation.
/// * _SD<sud>xi_ - is i-th observed value from N elements observation.
///
/// and then BB is composed as:
///
///    Middle Band = N simple moving average (SMA) or Exponential Moving Average (EWMA).
///    Upper Band = N * ((SMA or EWMA) + SD of observation * multipler (usually 2.0))
///    Lower Band = N * ((SMA or EWMA) - SD of observation * multipler (usually 2.0))
///
/// # Example
///
///```
/// use ta::indicators::{BollingerBands, BandsType, BandsPayload};
/// use ta::Next;
///
/// let mut bb = BollingerBands::new(BandsType::SMA, 20, 2.0_f64).unwrap();
///
///
/// assert_eq!(bb.next(2.0), BandsPayload {
///     average: 2.0_f64,
///     upper: 2.0_f64,
///     lower: 2.0_f64,
/// });
///
/// assert_eq!(bb.next(4.0), BandsPayload {
///     average: 3.0_f64,
///     upper: 0.0_f64,
///     lower: 4.0_f64,
/// });
/// ```
///
/// # Links
///
/// * [Bollinger Bands, Wikipedia](https://en.wikipedia.org/wiki/Bollinger_Bands)
///

@Bartoshko
It looks like the proposal does not count our latest discussion:

BandsType - we agreed to use EMA instead (for now at least)
BandsPayload - I am not comfortable with this name. In my mind it resonate a lot with HTTP communication. BollingerBandsValue may sound also strange.. But I'd like to develop some common convention for such structs. I think something like <indicator name><some word>. I see Value as <some word> at the moment. But could be something else: Values, Data, Output, etc ? I am open for some flexibility but I'd like to ensure that we pick some option that would be suitable for other indicators (like MACD), so we can be consistent.
As I write it.. I realize that I like Output more than Value, because it would kind of reference Output associated type of the Next<T> trait.
So what do you think about BollingerBandsOutput ?:)

There are also some typos in the doc. But general idea looks good :+1:

Ok, than. All set:

EMA for average,
BollingerBandsValue is returned type from BoolingerBand indicator struct.

Looks like a lot talk but as has been said better to resolve all unknowns from beginning.
Thanks for all tips. :+1:

BollingerBandsValue is returned type from BoolingerBand indicator struct.

Sorry, I probably should not write a novel in my comments.
I would prefer BollingerBandsOutput instead of BollingerBandsValue.

Sorry, I wasn't referring to Your comment, more to my questions and preparation phase proposal. Respect for all your suggestion, and thx.

Bollinger Bands are released in version 0.1.2 https://docs.rs/ta/0.1.2/ta/indicators/struct.BollingerBands.html


Looking forward to the first release.

No issue here, just want to drop a note that I'm very much looking forward to the first release. If it's half as good as the mirage-firewall it will be great. A small, purpose built VM for openVPN will be wonderful.
I'd like to point out one of the most significant reasons I still use openvpn rather than wireguard is because of remote-random, so please be sure to include that.
I wish I was a programmer because this is the project I would contribute to.
This will be especially important in the future when somebody gets qubes to work on a librem 5 or a pinephone.
Good luck guys, I'm sure I'm not the only one looking forward to this.

Thanks for your issue. We have this planned, as part of #95. The Remote_random is already implemented. We expect a release sometime this year :)


Update/Improve the Virtual Terminal Sequences page

We should expand this table to be more comprehensive, by far.

This should probably just be cross-referenced against the Microsoft/Terminal repo.

The page was misleading me quite a bit because it advertizes ESC D for "move cursor left" but Windows terminal implements it as "line feed without return", see discussion in https://github.com/microsoft/terminal/issues/11005.


The picture is compressed vertically

Description
The picture is compressed vertically
(Optional:) Please add any files, screenshots, or other information here.
No response
(Required) What is this issue most closely related to? Select one.
Formula
Internal issue ID
f6405e9a-3482-4ec3-a5b6-a723b7aa0831
Paper URL
https://services.arxiv.org/html/submission/5320629/view
Browser
Chrome/<IP_ADDRESS>
Device Type
Desktop

Figure 4 .


ResizeObserver initialisation throws error

Currently get the following console error thrown when rendering ReactSlider.  It is getting upset when initialising the imported ResizeObserver (https://github.com/whoisandy/react-rangeslider/blob/master/src/Rangeslider.js#L67).
I'm using a standard webpack setup and don't have issues around the import of any other ES6 modules.
Uncaught TypeError: _resizeObserverPolyfill2.default is not a constructor
    at Slider.componentDidMount (eval at <anonymous> (app-0b7999a813.js:4444), <anonymous>:203:28)
    at eval (eval at <anonymous> (app-0b7999a813.js:4038), <anonymous>:264:25)
    at measureLifeCyclePerf (eval at <anonymous> (app-0b7999a813.js:4038), <anonymous>:75:12)
    at eval (eval at <anonymous> (app-0b7999a813.js:4038), <anonymous>:263:11)
    at CallbackQueue.notifyAll (eval at <anonymous> (app-0b7999a813.js:2063), <anonymous>:76:22)
    at ReactReconcileTransaction.close (eval at <anonymous> (app-0b7999a813.js:4241), <anonymous>:80:26)
    at ReactReconcileTransaction.closeAll (eval at <anonymous> (app-0b7999a813.js:691), <anonymous>:209:25)
    at ReactReconcileTransaction.perform (eval at <anonymous> (app-0b7999a813.js:691), <anonymous>:156:16)
    at ReactUpdatesFlushTransaction.perform (eval at <anonymous> (app-0b7999a813.js:691), <anonymous>:143:20)
    at ReactUpdatesFlushTransaction.perform (eval at <anonymous> (app-0b7999a813.js:311), <anonymous>:89:32)
    at Object.flushBatchedUpdates (eval at <anonymous> (app-0b7999a813.js:311), <anonymous>:172:19)
    at ReactDefaultBatchingStrategyTransaction.closeAll (eval at <anonymous> (app-0b7999a813.js:691), <anonymous>:209:25)
    at ReactDefaultBatchingStrategyTransaction.perform (eval at <anonymous> (app-0b7999a813.js:691), <anonymous>:156:16)
    at Object.batchedUpdates (eval at <anonymous> (app-0b7999a813.js:4157), <anonymous>:62:26)
    at Object.enqueueUpdate (eval at <anonymous> (app-0b7999a813.js:311), <anonymous>:200:22)
    at enqueueUpdate (eval at <anonymous> (app-0b7999a813.js:1669), <anonymous>:24:16)
    at Object.enqueueSetState (eval at <anonymous> (app-0b7999a813.js:1669), <anonymous>:218:5)
    at Stack.ReactComponent.setState (eval at <anonymous> (app-0b7999a813.js:2238), <anonymous>:64:16)
    at eval (eval at <anonymous> (app-0b7999a813.js:733), <anonymous>:170:18)
    at d (raven.js:386)

+1


Feature request: multiple blocks

In the small Ruby-esque language "Fancy", due to the existence of named keywords, it is possible to pass more than one block to a method. See https://github.com/fancy-lang/infancy/blob/master/Chapter01.md#122-control-structures.
I feel that this would be a very nice addition to Crystal, possibly in conjunction with a previously-mentioned feature request, namely the ability to mark specific method arguments as named, disallowing the calling of the method without naming the variables. For example:
def fn(a, named b)
end

fn(1, 2)           # error
fn(1, b: 2)   # correct

Of course it would make a bit more sense to use some kind of punctuation instead of the keyword named, but the principle is the same.

I think I'd prefer to see better type inference for Proc (->) literals, so that you can just
def foo a, b
  a.call("foo")
  b.call(1)
end

foo ->(e) { puts e }, ->(e) { e * 3 }

But procs incur a performance hit.

Multiple blocks can't be done because yield always refers to the only block given. For multiple "blocks" you can use multiple procs. If the proc literal syntax is long one can use macros to clean up things a bit, as in here.


Bump dcos-test-utils

https://jira.mesosphere.com/browse/DCOS-51632
Fixes this ^
We added a change in dcos-test-utils to ignore failed tasks on marathon and retry. This PR bumps dcos-test-utils to get that change. However, one test on enterprise was asserting a failure, so that test needed to be modified to specify ignore_failed_tasks=False.

@mesosphere-mergebot label  ready for review

@mesosphere-mergebot sync

@mesosphere-mergebot label ship it


mvn compile failed for missed jar

Describe the bug
[ERROR] Failed to execute goal on project lookout-common: Could not resolve dependencies for project com.alipay.sofa.lookout:lookout-common:jar:1.6.2-SNAPSHOT: Could not find artifact com.alipay.sofa.lookout:lookout-api:jar:1.6.1 in nexus (http://maven.aliyun.com/nexus/content/groups/public/) -> [Help 1]
Expected behavior
Actual behavior
Steps to reproduce
Minimal yet complete reproducer code (or GitHub URL to code)
Environment

SOFALookout version:
JVM version (e.g. java -version):
OS version (e.g. uname -a):
Maven version:
IDE version:

@superheizai v1.6.1 has been released to the maven repository and you will see it tomorrow

1.6.1


看不到config切换按钮

Description
istoreos安装ddnsgo，看下图，看不到config切换按钮,不同浏览器也换过

DNS Provider
No response
Did you search for similar issues before submitting this one?
No, I didn't
Operating System
Linux
Architecture
x86_64
Version
1224
How are you running ddns-go?
Other
Any other information
No response

问下istoreos
应该是一个很久以前的老版本


Map & trip details accordion with total itinerary times

Summary of changes
Asana Ticket: 🎫 Style update | Map & trip details accordion and 🎫 Style update | Add total itinerary time to summary section
Updated itinerary styles to accommodate the upcoming fares display!

Before getting review, please check the following:

[ ] Does frontend functionality render and work correctly in IE?
[x] Have we load-tested any new pages or internal API endpoints that will receive significant traffic?
[ ] Are interactive elements accessible to screen readers?
[ ] Have you checked for tech debt you can address in the area you're working in?
[x] If this change involves routes, does it work correctly with pertinent "unusual" routes such as the combined Green Line, Silver Line, Foxboro commuter rail, and single-direction bus routes like the 170?
[x] Are the changes organized into self-contained commits with descriptive and well-formatted commit messages?

I don't know if there something screwed up with my machine, but when I try to run the branch and get trip plans I'm seeing a messed up page layout.

Ahh I was getting that page layout at the end of yesterday too and decided to sleep on it, was hoping it was just a fluke! I can't for the life of me figure out what could be causing it - maybe we can figure it out together @arkadyan

The map in the accordion is rendering a bit strangely. Cleared cache, tried different trips and I seem to always see the map looking like this:

Thanks for flagging that; I was able to identify the issue (needed to trigger an extra render) and have pushed a fix for the map.

@thecristen looks great! 👍


Feature request: adding aspect-ratio constraints

EasyPeasy currently has Width() and Height() attributes that let us add constant constraints, but to write aspect-ratio constraints we have to write something like
view <- [Width(...).like(view, .Height(...))]

Is it feasible to add a special syntax for aspect-ratio constraints? Something like
view <- [AspectRatio(1, 1)] // square view

Hi again @JohnEstropia 👋
Thanks for the feature request! You're right, in order to do that right now you would need to create an attribute like Width().like(view, .Height). It makes a lot of sense but we'd need to think about a solution aligned with the base Attribute interface. Let me think about it and please don't hesitate to share your thoughts :)

Thanks! I'll try to get used with the other APIs and share ideas that may fit the overall syntax :)

Same question, How to make like this:
view <- [AspectRatio(1, 1)] // square view

How can i do this....

any update about this? i would like to know how to create aspect ratio like 2:3 or any aspect ratio that's not 1:1


Make this proof an exercise

https://github.com/OpenLogicProject/OpenLogic/blob/89c647423489cf2ac3c4e23b546b7be6a85e4a5c/content/first-order-logic/axiomatic-deduction/provability-consistency.tex#L74

Fixed in commit 0cda459


Clarify: handleFetch also applies to fetch requests from actions

Documentation update only, no code changes.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thanks!


Where is the dashboard JSON of freeboard.io saved dashboard?

I am hosting a dashboard I made on freeboard.io itself, from the UI. I just cloned the GitHub repo and would really like to just grab the dashboard's json from your guys' UI and throw it into the dev version (with some minor UI tweaks, which is why im not just staying hosting with you guys).
Looked through all the issues and online as well but could not find where you guys keep my board's JSON. Help, please.

@mingraham
Since you opened this issues, we've added 'export' functionality to freeboard.io.  Hope that works for you!


Remove version2

We are gonna rename version2 and make it the default

@h0lyalg0rithm It seems you need to rebase this before merging. Can you do this?

Coverage increased (+10.8%) to 74.38% when pulling 132cd4a5dc42d9136af796aaf74fc11854f17409 on remove_version2 into 2215aa2ca3e4d2faaf72d68e4b6405b1bf70a618 on master.


Already Created autoload.php for this lib to include in PHP

Hi Team,
Most of the projects on github have autoload.php created, so no need to use Composer.
I dont use Composer in my project. But i love to use this library, it looks really great lib.

Is there any way to just use PHP include to use this lib?

Thank you.

I think it is possible, but I never tried to user Intervention Image without Composer. Since Composer is written in PHP, you have to figure out what Composer does and do the same thing manually with PHP.

Thank you @olivervogel, if someone can generate and ship the autolaod.php with every release that would be great.

Shipping the autoload.php with a release makes no sense. It depends on your local project and includes all your required composer dependencies.


swaglog: enable type-checked against format string.

enable type-check & fix wrong format.
added a macro SWAG_LOG_CHECK_FMT to causes the compiler to check the arguments in calls to cloudlog for consistency with the printf style format string argument:

system/ubloxd/ublox_msg.cc:393:57: error: format specifies type 'int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat]
      LOGE("SV_ID != SLOT_NUMBER: %d %d", msg->sv_id(), data->n());
                                     ~~                 ^~~~~~~~~
                                     %lu

failed to pass the checks. the sub modules have wrong format string.

can you open the matching rednose PR?

opened at : https://github.com/commaai/rednose/pull/31


chore: mark generated files as such

using .gitattributes so they appear as collapsed in GitHub PRs. See docs.

Checks

[x] I've made sure the tests are passing.
Testing Strategy

[x] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

cc @kevin85421


fix: clear previous data on swipe refresh

fixes #299

@iamareebjamal please review

@iamareebjamal please review


New theme: Flex-BP hugo CV

Theme submission
Link to my theme repository: https://github.com/spech66/flex-bp-hugo-cv
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md => MIT
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] in case I'm using a customized demo via the exampleSite folder that

[x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[x] I tested that my theme's demo works with the content directory of gohugoio/HugoBasicExample

[x] I tested my theme against the gohugoio/HugoBasicExample

[x] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

N.B. By submitting a theme to the Hugo Themes Showcase you understand that you need to maintain your theme. If a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning. If you no longer wish to maintain a theme please let us know.
New themes will usually be promoted on Hugo's official Twitter account. If you would like to be mentioned in the tweet please add your Twitter username to this submission.
Link to my Twitter account (optional): https://twitter.com/spech84

Theme is based on my other themes. e.g. bootstrap-bp-hugo-theme.

As always: Thank you for maintaining all these nice themes! :)

Hello Sebastian,
thank you for sharing another theme with the Hugo community.  Next, I'll promote your theme on Hugo's official Twitter account.
Also, thanks to @davidsneighbour for the inital review. Happy New Year everyone.


Feature/preserve xml namespaces

Related to #168
Add option to preserve Xml namespaces in element names when serializing to Xml, e.g. keep namespace:ElementName instead of transforming it to _namespace3a_ElementName.
This is controlled by setting OptionPreserveXmlNamespaces on the document to true.

I did also wrap the commands that target $(SolutionDir) in the build scripts to be quoted. I've got the projects under a path with spaces and hence the commands failed.

Hello @GeorgDangl ,
Thank a lot for your contribution.
My developer will look at it tomorrow.
Best Regards,
Jonathan

Hello @GeorgDangl ,
The v1.8.0 has been released with your pull.
Thank again for your contribution.
Best Regards,
Jonathan


Extract relation metrics for toast tables

What does this PR do?
We currently only pull relation metrics from pg_stat_user_tables and pg_stat_user_indexes. However, those tables don't  include toast tables so we're missing metrics on toast tables.
Motivation
Since data bigger than 2KB will be split in chunk of 2KB and moved in the toast table, an update of a table with toast data can generate hundred of tuple updates behind the hood that will not appear on the user table's stats.
We need to fetch them explicitly to get relations metrics like number of live rows/dead rows in the toast table and number of returned rows.
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Hey @bonnefoa 👋 Just a heads up that we will freeze the repo on Friday for Agent 7.47. Let us know if you want to include this in the next release!

I need to rework this PR, it won't be ready for the next freeze. Thanks for the headsup :)

Hey @bonnefoa,  very friendly reminder this PR is still pending. Let us know if you need a hand

Closing this PR since it's still a draft, feel free to re-open it if needed 🙂


lazy load pack icons and theme logos

make image icons in the packs and themes selectors not load until the user opens the selector this will result in a very small performance gain

Could we potentially lazy load item and head textures?

@nstringham I don't think adding loading="lazy" would work, its not really a magic attribute. It only starts lazy loading if the image is off screen in the sense of being up or down and afaik doesn't really consider whether if it is hidden or being hidden behind something. It will just start loading and won't make a difference.
Again, idk for sure.

@nstringham I don't think adding loading="lazy" would work, its not really a magic attribute. It only starts lazy loading if the image is off screen in the sense of being up or down and afaik doesn't really consider whether if it is hidden or being hidden behind something. It will just start loading and won't make a difference.
Again, idk for sure.

I tested in chrome it works
do you really think I would submit a PR without testing?

@nstringham
I mean like I barely know you and haven't worked with you so how should I know?
My message wasn't really sent with any rudeness considering the moments in which I pointed out it was just afaik and I didn't know for sure.
On a side note: How exactly did you test a performance increase like this?

Could we potentially lazy-load item and head textures?

this method only works with the <img> tag and itesm are using background-image
I do however plan to refactor the way items and heads work once I am done with the themes refactor (#379) and I will definitely include some sort of lazy loading.

@nstringham
I mean like I barely know you and haven't worked with you so how should I know?
My message wasn't really sent with any rudeness considering the moments in which I pointed out it was just afaik and I didn't know for sure.
On a side note: How exactly did you test a performance increase like this?

sorry I guess I was kinda aggressive
for this I used the network tab in chrome to observe that the images are not loaded until the selector is opened

@nstringham Can you share a screenshot of the performance tab? I am interested in seeing the exact performance gains

@shadowtime2000 currently the Chrome performance tab crashes on SkyCrypt I used the network tab to validate that the images are being deferred

@nstringham Oh sorry, I meant the network tab.

Can you share a screenshot of the performance network tab? I am interested in seeing the exact performance gains

sure.

as you can see the performance gains are very small because the images are very small
you can also clone the repo if you want to test things out for yourself

I'll go ahead and merge it so it's on for the next server restart.


Desktop overlay on windows stops updating

The Spotify desktop overlay stops updating when playing on my rpi, on other devices it works fine

Forgot to update it, but im pretty sure its fixed.


Test: Fix logger testName

Fix #3367
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

test-me-please

Merging, this is just a string change, and has no bearing on whether tests pass or fail.


Feature/multiconfig

Adds support for multiple webpack config files. See issue #14

Stefano, thank you so much for this! I'll go over it today and test it locally. Looks like it should mostly work. Once it is ready for merging, I'll have to ask you for 2 things. First is to rebase -i on master to squash all your commits into a single feature commit (you can use any method to squash) and second is to see if you can figure out which new lines the test cases don't cover any more and cover them. (coerage has fallen to 94% from 100%).
Again, thanks a lot for this. I think a lot of people will benefit from this PR.

Thanks for your review.
I'm happy to contribute to this project! I think it's a great way to deal with webpack from django.
I've squashed commits together and restored the 100% coverage for django 1.8 and 1.7.
Unfortunately I couldn't get the same coverage for django 1.6 due to the missing System check framework...

Hello @owais. Any news for this PR?

@cybercase I'm buried right now. I'll merge this and release a new version before EOW.

Thanks for this Stefano! I made some minor changes to a few things you did after the merge. Hope you don't mind :)

Not at all... great changes!
Thanks for merging

great.. didn't know this feature existed.. good!


Configure button not work in angular 11

action buttons not working in angular 11 not able to rotate, zoom in, zoom out, etc. please help regarding this

@hallysonh


Add git index section

This adds a git index subsection to the git status section. Markers are added to the prompt if any files in the repo have been marked as --assume-unchanged or --skip-worktree (a file that is both --assume-unchanged and --skip-worktree turns on both prompt markers).
This protects the user against forgetting about having marked a file or files --assume-unchanged or --skip-worktree. Those aren't things you want to forget you've done!
The subsection follows the git status subsection. By default it uses the same colors as the branch info. This helps distinguish it from the git status while showing that it's information about the repo.
The default symbols fit with the default git status symbols, and they roughly approximate what the flags do: --assume-unchanged won't upload any changes - ⤒ has a wall blocking off the upstream from upward pushes; --skip-worktree blocks won't upload changes but in some circumstances can allow pulling changes - ↧ has a wall blocking off the upstream but a clear path for downward pulls

So adding this to the git_status? Sounds good to me, I can make that change if that's what you mean

I understand your reason to choose the symbols, But they look similar to ahead/behind symbols in small displays.
If we're adding this to git_status, This will be better suited with v3.0 ( #148 )

@salmanulfarzy I hear what you're saying about the arrows. What symbols would you suggest?
I personally find all of the symbols opaque, and happily use custom values like "ahead" and "behind"… and "skipworktree" and "assumeun∆d".  So on the one hand I'm not at all tied to these particular arrows, but on the other I didn't find any arrow glyphs that seemed better. Have there been discussions in the past about when it's reasonable to say "the symbol might not be clear to some users but they can always change it"?
Not clear about why you see it fitting in v3 but not v2?

Yes, I agree that users could change symbols.

Not clear about why you see it fitting in v3 but not v2?

We've re-written git_status section in #147 to drop OMZ dependency, It has been merged to #148. Thought it might be better to add new git indicators with it.

@salmanulfarzy gotcha, I can rework this to fit better with #147

I'm removing this PR from 3.0 milestone.
@olets please, rewrite this one to be compatible with 3.0 branch.

Sorry, misused the button 😬


[WIP] Remove runtime type-checking from enumerable types

Motivation
This removes runtime type-checking for collections from Sorbet.
This type-checking is a frequent source of slowness, especially in surprising situations, and as per offline conversation we've decided to remove it.
Test plan

See included automated tests.

One question I have: is it worth capturing the existing behavior of runtime type-checking for an enumerable in a helper method somewhere? I'm thinking that someone might want to have something like
sig {params(xs: T::Array[Integer]).void}
def foo(xs)
  T.deep_type_assert!(xs, T::Array[Integer])
  # foo
end

which does the same thing as the current runtime verification, if people want to opt-in to that extra type-checking in some situations, but that it won't happen by default.

(Ah, I was lulled into a false sense of security by just seeing the LSP test failing in CI—I thought that meant it was the only one.)
I've just removed all those tests, since they were testing invariants we no longer expect to hold after this.
N.B. we should do internal comms when this lands, since it'll change expected runtime behavior.

I recently uncovered this problem as well. Here's some performance metrics https://github.com/bbuchalter/sorbet_sig_performance
tl;dr
When large hashes are fetched and type-checked at runtime, Sorbet has to run checks on every member in hash- which is more expensive than expected.
We have observed a linear degradation in performance when comparing the time it takes to read a hash with a sig vs. a hash with .checked(:never) (doesn't run runtime checks) specified.
For a Hash[String, String]:

# of keys
Avg Method Calls/5 seconds (with sig)
Avg Method calls/5 seconds (sig never checked)
Order of Magnitude of diff

5
454,777
2,308,000
1

50
643,000
86,662,000
2

5000
7,020
96,780,000
4

@aisamanra It sounds like you were going to do some communications on Slack to announce this change.
Would you also mind updating the (fragment of a) page at https://sorbet.org/docs/stdlib-generics to mention maybe in a sentence or two that the type argument is only a hint to the static system, and is never checked at runtime (and maybe also why / the history?)

I went ahead and added the docs to in this PR. (I also added an extra sentence as long as I was already modifying those docs about the use of bare Array and the like: I was already there, after all!)
I'll also draft an internal email really quickly to do comms about this; we can discuss that offline.


:sparkles: add optional kube

Is your feature request related to a problem? Please describe. 🐛
I would like this project to be able to be used on Docker swarm or Nomad to get SBOM analysis from multiple providers.
Describe the solution you'd like ✨
In the code, a lot of things are related to Kubernetes, I want the code related to it need to be wrap inside a if (that's already the case).


Crawl additional sitemap elements

Hi,
I am using V2.4.0 currently. I have checked earlier about sitemap crawling and it crawls the urls fine. But, if I want to fetch some additional elements present there in the sitemap what specific config to be included. Here is a sample section of the sitemap below,
<url>
<loc>http://xyz.com</loc>
<lastmod>2015-10-19T06:32:00Z</lastmod>
<priority>1.0</priority>
</url>
So, the requirement is if I want to fetch elements <lastmod> or <priority> along with the urls present in <loc>.
Please suggest.
Thanks.

Are you saying you would like those supported in general, or extracted and added as metadata fields to the document?
<lastmod> support will be made available in next feature release (see #127).  Adding them as metadata fields seems a good idea and we can make this a feature request.

Thanks. Yes, idea is to add them as metadata fields in the document. Please let me know once that is implemented.

After looking into this, it turns out those fields are already stored as metadata fields with each documents.  The field names are:

collector.sitemap-priority
collector.sitemap-lastmod
collector.sitemap-changefreq

Can you confirm you can get them with these names?

@searchquest: Can you confirm you are able to get those values?  Can we close this ticket?

Please close the ticket. Thanks for the help.


Do not fail if app has already been copied [run-systemtest]

Yeah, you are right, needs to be solved another way.

Yeah, you are right, needs to be solved another way.


panels.sql.tracking.wrap_cursor: pass through arguments to original cursor.

Fixes https://github.com/freelancersunion/django-salesforce/issues/23

Let's just do it with a comment saying it's gross....

OK. I merged https://github.com/jazzband/django-debug-toolbar/pull/896 and added a short explanation.


SOLR-16463: Workaround for serious crash on JDK17+

https://issues.apache.org/jira/browse/SOLR-16463
Hardcode the JVM flag in bin/solr[.cmd] from Solr 9.1, to workaround https://bugs.openjdk.org/browse/JDK-8285835

Have not tested these changes other than seeing that bin/solr on macos runs without crashing :) So I'll rely on static review for Windows, hoping there are no typos anywhere.
I also hope that the -XX:CompileCommand=exclude is supported even on JDK11 (I can validate this of course).

I also hope that the -XX:CompileCommand=exclude is supported even on JDK11 (I can validate this of course). EDIT Started bin/solr on both JDK11 and JDK17.

Yes, that there since ages. We used it already in 2011 when Eclipse crashed on JDK 7 GA.

Could we maybe make this only be applied after Java 17? I think we have Java version checks before, so it should be a simple if statement.
This would be a good exercise for JDK 19 and MMapDirectory, where we need --enable-preview to use it (only on that version).

I made the workaround conditional on java version. Tested bin/solr but did not get a chance to test bin\solr.cmd, perhaps you can test it Uwe?
Start Solr on JDK11 and JDK17 and see that the start script prints "...Enabled workaround for SOLR-16463" on v17, and that you find the -XX:CompileCommand flag in the args list http://localhost:8983/solr/admin/info/system

Hi Jan,

I made the workaround conditional on java version. Tested bin/solr but did not get a chance to test bin\solr.cmd, perhaps you can test it Uwe?
Start Solr on JDK11 and JDK17 and see that the start script prints "...Enabled workaround for SOLR-16463" on v17, and that you find the -XX:CompileCommand flag in the args list http://localhost:8983/solr/admin/info/system

Hi, your code works, but Solr does not start for me because there is one escaping missing for the GC LOG. So there's another bug in the startup script. If you like please fix it now, it was introduced by @elyograg recently (SOLR-8803, 0a334bda7ea40d5c11195fa5ce33d16c21d0504e). The log fdirectory needs to be escaped, otherwise whitespace in it breaks the whole startup script. I will commit a fix in main branch (and 9.x, also checking 9.1).

If you like please fix it now,

Let's do that in a separate commit on the reopened JIRA...

I fixed it a minute ago.

Does this fix still applies?

The caffeine upgrade only adds loop timeout detection + crash log as far as I remember?
But according to https://bugs.openjdk.org/browse/JDK-8285835 the JDK fix is now backported to 17.0.7 and 19.0.2, so if we assume users keep their JDK up to date it should be safe to remove all Solr-level workarounds.

Does this fix still applies?

The caffeine upgrade only adds loop timeout detection + crash log as far as I remember? But according to https://bugs.openjdk.org/browse/JDK-8285835 the JDK fix is now backported to 17.0.7 and 19.0.2, so if we assume users keep their JDK up to date it should be safe to remove all Solr-level workarounds.

Thanks for the feedback. I was not sure anymore if both fixes relate to each other.
In my opinion, the command line parameter does not hurt, so we should just keep it on the list to remove it at a later stage (not for Solr 9.3). We should maybe wait a bit, but +1 to remove it.


Draw on a 3D surface

Hi Nick,
I am trying to add some features to the StereoKit Paint App. One of the features I struggle to implement is drawing on a 3D surface. Rather than drawing on arbitrary space, I want to confine the drawing to only a 3D model surface (e.g. drawing on a cube surface only).
But I am kinda clueless about how to confine my drawing only on a 3D model surface. If you have any ideas that would be really helpful.
Thanks

For a flat plane, that's not too hard, you can just intersect/raycast against the plane when your fingers are close to it! For a Model/Mesh, you might be able to get away with something similar, but I expect in practice that'll have all sorts of pitfalls to it, like following the contour of the model properly. For a cube, it'd be quite tricky going around significant corners.
You're definitely tackling a tricky bit of functionality there, so if that snippet of info is not helpful for you, you may want to try re-framing your project to take on an easier problem?

I guess I need to find easier problems. Thanks


Add APP_KEY env variable to allow multiple nginx-proxy containers on one host

With the changes in this PR you can run multiple nginx-proxy containers on a single Docker host and pin selected backend containers to specific proxies.
This would be useful in cases where you might deploy 1 nginx and 4 api containers as a "deployable unit" where you might use a build number, a git short commit, git tag or other "APP_KEY" to assign backends to different proxies for example, in blue-green style deployment scenarios.
If there is an APP_KEY, the nginx-proxy will add an "X-App-Key" header that can be utilised in deployment scripts or for building simple dashboards showing what version or what "side" (blue or green) of an app you are on.
I don't think there is a pull request to offer this or any issues regarding it.
Thanks,
Tim

Thanks @pysysops.  This is an interesting idea, but I don't think it's a good fit for this project.  This kind of functionality is supported by allowing custom templates to be used.


[Docs][Lightweight Styling] Fix XAML/Screenshot sample

The XAML does not fully match with the screenshot of the buttons, we should show the xaml for the Default button as well and have an example of the Overridden button without the pointer over state so we can see all lightweight styling resource overrides at work

@kazo0 where does the screenshot comes from? From the uno.theme sample?

No its just custom xaml from a random app, you can use the sample app to just paste some xaml and grab a screenshot of just the relevant controls

this?

Yes but try and get it with the pointer visible over the red button, to show that you are hovering over it, or fake it with a picture of a pointer :)

Updated image

@carlh98

Let's split the xaml into three separate Buttons, one Default, one Overridden like the Green one, and then a separate one that has the PointerOver resources overridden
You can just provide the code block of the XAML here instead of a screenshot, that way I can copy paste it into the docs and the release blog post

we can create the PR with those changes instead :p

created PR @kazo0

Something like this:
<StackPanel>
	<Button Content="Default Button Style"
			Style="{StaticResource FilledButtonStyle}" />

	<Button Content="Overridden Button Style"
			Style="{StaticResource FilledButtonStyle}">
		<Button.Resources>
			<SolidColorBrush x:Key="FilledButtonForeground" Color="DarkGreen" />
			<SolidColorBrush x:Key="FilledButtonBackground" Color="LightGreen" />
			<SolidColorBrush x:Key="FilledButtonBorderBrush" Color="DarkGreen" />
		</Button.Resources>
	</Button>

	<Button Content="Overridden Button Style (PointerOver)"
			Style="{StaticResource FilledButtonStyle}">
		<Button.Resources>
			<Thickness x:Key="ButtonBorderThickness">2</Thickness>
			<SolidColorBrush x:Key="FilledButtonForegroundPointerOver" Color="DarkRed" />
			<SolidColorBrush x:Key="FilledButtonBackgroundPointerOver" Color="LightPink" />
			<SolidColorBrush x:Key="FilledButtonBorderBrushPointerOver" Color="DarkRed" />
		</Button.Resources>
	</Button>
</StackPanel>

done @kazo0


feat: update node to 16 and fix deprecations

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Added new game Emoji slot machine #3845

PR Description 📜
Added new game EMOJI SLOT MACHINE
Fixes #3845

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for website preview in assets/images
[ ] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[ ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @suhanigupta23 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @suhanigupta23 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Hey @suhanigupta23,
You can't work on a closed issue 👀!
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗


Revert "Implement backward and forward navigation options to iframed window"

Reverts sveltejs/learn.svelte.dev#181. Apologies, I should have been more on top of this

I opened #193 as an alternative. It keeps the navigation feature while fixing its flaws (and the navigation history pollution problem in general)


Performer: jnp.max used in nonnegative_softmax_kernel_feature_creator

Hi! Thanks for the amazing works!
I have one question in  nonnegative_softmax_kernel_feature_creator.
I don't understand why jnp.max terms are used in nonnegative_softmax_kernel_feature_creator as below. I cannot find the corresponding equations in the original paper. Is it just for normalization? Is there a mathematical background?
Thank you!
https://github.com/google-research/google-research/blob/c249ee982c9ca3bb0cca4788758435c87c71fc7d/performer/fast_attention/jax/fast_attention.py#L101-L109

I think it is for numerical stability, as query and key features can overflow with exp().
Line 102 (applied for queries) is equivalent to dividing each element of normalizer (Q'((K')T1)) and query (Q') with a same scalar.
Line 106 (applied for keys, which will be normalized) is an often-used trick for stable normalized exp (see this).

Hi Jinwoo! Thanks for the clear explanations!
Applied to Q: Line 102 makes Q', but when calculating attention later, Q' is also in the denominator, so it doesn't affect the result.
BTW, I think line 106 also not affecting the results. We are using the maximum value of all elements(specifically, along axis=last_dims_t + attention_dims_t) in the data_dash tensor.  And K' is also in the denominator(Q'((K')T1)) when calculating attention later. Am I mistaken?


[SPARK-11962] Added getAsOptT methods to enable getting values optionally.

Adds methods to get values from a row object optionally. I personally have an implicit class which does this and which I use a lot. I think this feature would be immensely beneficial for everyone. Please let me know if these need changes.

Can one of the admins verify this patch?

Jenkins, test this please.

Sorry, I am new to this. Does what you wrote trigger a Jenkins build? If yes, that's really cool!

Yes - except there is a bug that somehow Jenkins is ignoring me...!

Test build #2114 has started for PR 9943 at commit 114bc39.

Test build #2114 has finished for PR 9943 at commit 114bc39.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Sorry. I ran the tests and I thought they passed on my machine. A few tests
couldn't be run (like docker) but these looked good. I'll take another look
into it.
Thanks,
Arun
On Wed, Nov 25, 2015 at 1:38 PM, Apache Spark QA<EMAIL_ADDRESS>wrote:

Test build #2114 has finished
https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2114/consoleFull
for PR 9943 at commit 114bc39
https://github.com/apache/spark/commit/114bc390d8342a4814129d622dc61190485a65de
.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

—
Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/9943#issuecomment-159725670.

Looks like this PR is now broken by a bad merge with master. Would you mind closing for now and re-opening once things are fixed? Thanks!

@aa8y looks like the diff is screwed up because you accidentally merged in changes from other branches. Would you mind closing this PR or restoring the original diff?

Sure. This is an old PR anyway. I did not know the PRs update themselves with new commits.  #10247 is the PR I am working on now. I'll make the recommended changes and push a new commit. Thanks!


Fix shape inference

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

Project coverage is 73.38%. Comparing base (0aeea7a) to head (144b377).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   73.14%   73.38%   +0.24%
==========================================
  Files         143      144       +1
  Lines       20770    20949     +179
==========================================
+ Hits        15192    15374     +182
+ Misses       5578     5575       -3

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


[BEAM-10540] Note that argument to Object#equals is always nullable; port all instances to checker annotations

This PR includes independent commits that:

excludes generated AutoValue classes
port the codebase to checker annotations so that types can be annotated properly and move annotations adjacent to the types that they are annotating (before Java 8 this was not possible but now it results in a warning if we do not do it)
annotate overrides of equals to note that the argument is nullable

I did not try to fix nullability errors in equals methods because the PR is big enough as it is, and stands alone.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)

Lang
SDK
Dataflow
Flink
Samza
Spark
Twister2

Go

---

---

---

Java

Python

---

---

XLang

---

---

---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@robinyqiu just let me know if these reviews bore you :-)

I should add that this PR is a noop for executable code.

Automated mass refactor did not catch use of nullable for arrays, which is somewhat wacky looking. @Nullable Foo [] is an array of nullable Foo while Foo @Nullable [] is an array of Foo where the whole array can be null.

Also uncovered a limitation and what could be called a bug that the limitation was masking

https://issues.apache.org/jira/browse/BEAM-10547 schema inference doesn't notice annotations on return types
https://issues.apache.org/jira/browse/BEAM-10548 schema inference only works for javax.annotation.Nullable when it is actually one of the more limited annotations available

And it seems IntelliJ's "optimize imports" got a bit too aggressive.

Oh wow. It seems that switching to proper Nullable type annotations on the types has re-enabled spotbugs catching null issues. We don't actually want that, for modules that have gotten really bad in the meantime...

run java postcommit

run java postcommit


undefined method

undefined object.orders, modified to @user.orders and works ok
UsersController.class_eval do
before_filter :find_orders_with_store_credit, :only => :show
private
def find_orders_with_store_credit
@orders_with_store_credit = object.orders.joins(:adjustments).where(:adjustments => {:source_type => 'StoreCredit'})
end
end

Closing, see pull request.


Add pre-commit hooks

See https://github.com/nasa-gcn/gcn-classic-to-json/pull/21.

It looks good, the only thing that failed was 1 line that it says isn't covered


HADOOP-18088. Replace log4j 1.x with reload4j.

https://issues.apache.org/jira/browse/HADOOP-18088
This is backport to branch-2.10 of HADOOP-18088.

$ mvn clean install -DskipTests -Pnative -Pdist
$ find hadoop-dist/target/hadoop-2.10.2-SNAPSHOT -name '*log4j*.jar'
$ find hadoop-dist/target/hadoop-2.10.2-SNAPSHOT -name '*reload4j*.jar'
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/common/lib/reload4j-<IP_ADDRESS>.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/hdfs/lib/reload4j-<IP_ADDRESS>.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/httpfs/tomcat/webapps/webhdfs/WEB-INF/lib/reload4j-<IP_ADDRESS>.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/httpfs/tomcat/webapps/webhdfs/WEB-INF/lib/slf4j-reload4j-1.7.36.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/kms/tomcat/webapps/kms/WEB-INF/lib/reload4j-<IP_ADDRESS>.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/kms/tomcat/webapps/kms/WEB-INF/lib/slf4j-reload4j-1.7.36.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/yarn/lib/reload4j-<IP_ADDRESS>.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/mapreduce/lib/reload4j-<IP_ADDRESS>.jar
hadoop-dist/target/hadoop-2.10.2-SNAPSHOT/share/hadoop/tools/lib/reload4j-<IP_ADDRESS>.jar

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
8m 17s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-2.10 Compile Tests _

+0 :ok:
mvndep
3m 52s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
13m 48s

branch-2.10 passed

+1 :green_heart:
compile
13m 18s

branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
compile
10m 45s

branch-2.10 passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
checkstyle
2m  6s

branch-2.10 passed

+1 :green_heart:
mvnsite
10m 46s

branch-2.10 passed

-1 :x:
javadoc
0m 45s
/branch-javadoc-root-jdkAzulSystems,Inc.-1.7.0_262-b10.txt
root in branch-2.10 failed with JDK Azul Systems, Inc.-1.7.0_262-b10.

+1 :green_heart:
javadoc
5m 12s

branch-2.10 passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+0 :ok:
spotbugs
0m 39s

branch/hadoop-project no spotbugs output file (spotbugsXml.xml)

+0 :ok:
spotbugs
0m 18s

branch/hadoop-assemblies no spotbugs output file (spotbugsXml.xml)

-1 :x:
spotbugs
22m 32s
/branch-spotbugs-root-warnings.html
root in branch-2.10 has 4 extant spotbugs warnings.

-1 :x:
spotbugs
1m 38s
/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html
hadoop-common-project/hadoop-common in branch-2.10 has 2 extant spotbugs warnings.

-1 :x:
spotbugs
2m  4s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html
hadoop-hdfs-project/hadoop-hdfs in branch-2.10 has 1 extant spotbugs warnings.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 29s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
23m  4s

the patch passed

+1 :green_heart:
compile
13m 19s

the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javac
13m 19s

the patch passed

+1 :green_heart:
compile
11m  0s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
javac
11m  0s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
2m  2s

the patch passed

+1 :green_heart:
mvnsite
10m 54s

the patch passed

+1 :green_heart:
xml
0m 31s

The patch has no ill-formed XML file.

-1 :x:
javadoc
0m 26s
/patch-javadoc-root-jdkAzulSystems,Inc.-1.7.0_262-b10.txt
root in the patch failed with JDK Azul Systems, Inc.-1.7.0_262-b10.

+1 :green_heart:
javadoc
5m 17s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+0 :ok:
spotbugs
0m 16s

hadoop-project has no data from spotbugs

+0 :ok:
spotbugs
0m 17s

hadoop-assemblies has no data from spotbugs

_ Other Tests _

-1 :x:
unit
432m 56s
/patch-unit-root.txt
root in the patch passed.

-1 :x:
asflicense
1m 20s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

667m 10s

Reason
Tests

Failed junit tests
hadoop.io.compress.TestCompressorDecompressor

hadoop.util.TestClassUtil

hadoop.io.compress.snappy.TestSnappyCompressorDecompressor

hadoop.fs.sftp.TestSFTPFileSystem

hadoop.contrib.bkjournal.TestBookKeeperHACheckpoints

hadoop.yarn.sls.appmaster.TestAMSimulator

hadoop.fs.azure.TestBlobMetadata

hadoop.fs.azure.TestNativeAzureFileSystemConcurrency

hadoop.fs.azure.TestNativeAzureFileSystemFileNameCheck

hadoop.fs.azure.TestWasbFsck

hadoop.fs.azure.TestNativeAzureFileSystemOperationsMocked

hadoop.fs.azure.TestOutOfBandAzureBlobOperations

hadoop.fs.azure.TestNativeAzureFileSystemContractMocked

hadoop.fs.azure.TestNativeAzureFileSystemMocked

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4151/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4151

Optional Tests
dupname asflicense codespell compile javac javadoc mvninstall mvnsite unit shadedclient xml spotbugs checkstyle

uname
Linux fb7c007a87de 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-2.10 / f241a09c30a7091f182217b6346a540e4330551a

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Multi-JDK versions
/usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_262-b10 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4151/1/testReport/

Max. process+thread count
3935 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-assemblies hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-mapreduce-project hadoop-tools/hadoop-azure . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4151/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

The failure of TestClassUtil is relevant. I missed to include the change on backporting.

Test failures related to wasb are reproducible even without the patch. I could not reproduce other failures on my local.

I got no issue on manual testing on my local security-enabled-pseudo-distributed cluster including kms and httpfs.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 40s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ branch-2.10 Compile Tests _

+0 :ok:
mvndep
3m 55s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
14m 30s

branch-2.10 passed

+1 :green_heart:
compile
13m 57s

branch-2.10 passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
compile
11m 46s

branch-2.10 passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
checkstyle
2m 15s

branch-2.10 passed

+1 :green_heart:
mvnsite
12m 35s

branch-2.10 passed

-1 :x:
javadoc
0m 47s
/branch-javadoc-root-jdkAzulSystems,Inc.-1.7.0_262-b10.txt
root in branch-2.10 failed with JDK Azul Systems, Inc.-1.7.0_262-b10.

+1 :green_heart:
javadoc
5m 49s

branch-2.10 passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+0 :ok:
spotbugs
0m 39s

branch/hadoop-project no spotbugs output file (spotbugsXml.xml)

+0 :ok:
spotbugs
0m 18s

branch/hadoop-assemblies no spotbugs output file (spotbugsXml.xml)

-1 :x:
spotbugs
27m 28s
/branch-spotbugs-root-warnings.html
root in branch-2.10 has 4 extant spotbugs warnings.

-1 :x:
spotbugs
1m 58s
/branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html
hadoop-common-project/hadoop-common in branch-2.10 has 2 extant spotbugs warnings.

-1 :x:
spotbugs
2m 20s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html
hadoop-hdfs-project/hadoop-hdfs in branch-2.10 has 1 extant spotbugs warnings.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 30s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
21m  3s

the patch passed

+1 :green_heart:
compile
13m  5s

the patch passed with JDK Azul Systems, Inc.-1.7.0_262-b10

+1 :green_heart:
javac
13m  5s

the patch passed

+1 :green_heart:
compile
10m 59s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+1 :green_heart:
javac
10m 59s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
2m  5s

the patch passed

+1 :green_heart:
mvnsite
10m 54s

the patch passed

+1 :green_heart:
xml
0m 32s

The patch has no ill-formed XML file.

-1 :x:
javadoc
0m 26s
/patch-javadoc-root-jdkAzulSystems,Inc.-1.7.0_262-b10.txt
root in the patch failed with JDK Azul Systems, Inc.-1.7.0_262-b10.

+1 :green_heart:
javadoc
5m 24s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

+0 :ok:
spotbugs
0m 14s

hadoop-project has no data from spotbugs

+0 :ok:
spotbugs
0m 14s

hadoop-assemblies has no data from spotbugs

_ Other Tests _

-1 :x:
unit
435m 36s
/patch-unit-root.txt
root in the patch passed.

-1 :x:
asflicense
1m 20s
/results-asflicense.txt
The patch generated 2 ASF License warnings.

671m 20s

Reason
Tests

Failed junit tests
hadoop.io.compress.TestCompressorDecompressor

hadoop.io.compress.snappy.TestSnappyCompressorDecompressor

hadoop.fs.sftp.TestSFTPFileSystem

hadoop.contrib.bkjournal.TestBookKeeperHACheckpoints

hadoop.fs.azure.TestBlobMetadata

hadoop.fs.azure.TestNativeAzureFileSystemConcurrency

hadoop.fs.azure.TestNativeAzureFileSystemFileNameCheck

hadoop.fs.azure.TestWasbFsck

hadoop.fs.azure.TestNativeAzureFileSystemOperationsMocked

hadoop.fs.azure.TestOutOfBandAzureBlobOperations

hadoop.fs.azure.TestNativeAzureFileSystemContractMocked

hadoop.fs.azure.TestNativeAzureFileSystemMocked

hadoop.yarn.client.api.impl.TestAMRMProxy

hadoop.mapreduce.v2.app.rm.TestRMContainerAllocator

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4151/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4151

Optional Tests
dupname asflicense codespell compile javac javadoc mvninstall mvnsite unit shadedclient xml spotbugs checkstyle

uname
Linux a370bd1143fa 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-2.10 / 4ead943c6037027811d2b8816e23743c3190671d

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Multi-JDK versions
/usr/lib/jvm/zulu-7-amd64:Azul Systems, Inc.-1.7.0_262-b10 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~18.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4151/2/testReport/

Max. process+thread count
3937 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-assemblies hadoop-common-project/hadoop-minikdc hadoop-common-project/hadoop-auth hadoop-common-project/hadoop-auth-examples hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-common-project/hadoop-kms hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-httpfs hadoop-hdfs-project/hadoop-hdfs-nfs hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase-tests hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-mapreduce-project/hadoop-mapreduce-client hadoop-mapreduce-project hadoop-tools/hadoop-azure . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4151/2/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Warnings about javadoc, spotbugs and asflicense are not related (as expected since this is backport of #4084). I will merge this shortly.


Messy function lists printed in recent version.

🐛 Bug
When using the latest master of torchvision, we got a lot of "lists of functions" printed out everywhere.
Another version we used, from days to weeks earlier, was just fine.
Here you can see a simple import torchvision will print out a lot of them.
# python3 -c 'import torchvision'
[('__call__', <function LevelMapper.__call__ at 0x7f8853f21950>), ('__init__', <function LevelMapper.__init__ at 0x7f8853f218c8>)]
[('__call__', <function BalancedPositiveNegativeSampler.__call__ at 0x7f8853e4a620>), ('__init__', <function BalancedPositiveNegativeSampler.__init__ at 0x7f8853e4a598>)]
[('__init__', <function BoxCoder.__init__ at 0x7f8853e5fa60>), ('decode', <function BoxCoder.decode at 0x7f8853e5fbf8>), ('decode_single', <function BoxCoder.decode_single at 0x7f8853e5fc80>), ('encode', <function BoxCoder.encode at 0x7f8853e5fae8>), ('encode_single', <function BoxCoder.encode_single at 0x7f8853e5fb70>)]
[('__call__', <function Matcher.__call__ at 0x7f8853e5f950>), ('__init__', <function Matcher.__init__ at 0x7f8853e5fd90>), ('set_low_quality_matches_', <function Matcher.set_low_quality_matches_ at 0x7f8853e5f9d8>)]
[('__init__', <function ImageList.__init__ at 0x7f8853e5fea0>), ('to', <function ImageList.to at 0x7f8853e5ff28>)]
[('__init__', <function Timebase.__init__ at 0x7f8852b8c8c8>)]
[('__init__', <function VideoMetaData.__init__ at 0x7f8852b8ca60>)]

When used with Detectron2 (which calls torchvision internally), it gets even worse:

Environment
# python3 ./collect_env.py
Collecting environment information...
PyTorch version: 1.6.0a0+ea42a37
Is debug build: No
CUDA used to build PyTorch: 10.2

OS: Ubuntu 18.04.4 LTS
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
CMake version: version 3.17.2

Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: 10.2.89
GPU models and configuration:
GPU 0: Tesla V100-SXM2-32GB
GPU 1: Tesla V100-SXM2-32GB
GPU 2: Tesla V100-SXM2-32GB
GPU 3: Tesla V100-SXM2-32GB
GPU 4: Tesla V100-SXM2-32GB
GPU 5: Tesla V100-SXM2-32GB
GPU 6: Tesla V100-SXM2-32GB
GPU 7: Tesla V100-SXM2-32GB

Nvidia driver version: 440.33.01
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.5

Versions of relevant libraries:
[pip3] numpy==1.18.4
[pip3] torch==1.6.0a0+ea42a37
[pip3] torchvision==0.7.0a0+a6073f0
[conda] Could not collect

PyTorch / torchvision Version (e.g., 1.0 / 0.4.0): master/master
OS (e.g., Linux): Ubuntu 18.04
How you installed PyTorch / torchvision (conda, pip, source): source/source
Build command you used (if compiling from source): cmake+ninja
Python version: 3.6.9 (distro stock version)
CUDA/cuDNN version: 10.2/7.6.5
GPU models and configuration: V100

Hi,
Thanks for the report! This will be fixed when https://github.com/pytorch/vision/pull/2210 gets merged.

Confirmed the PR works.


Tokyo/mars gigapixel too large, process killed

Hi,
I've tried setting up the ACRON environment to train the Tokyo gigapixel ("tokyo.tif") but I cannot get the process to train after the data loader finished 50%. Even I changed the PIL.Image.MAX_IMAGE_PIXELS = none , the process still gets killed due to large memory use. I wonder if you have ever encountered this issue and would like to know how you deal with such a large image without exceeding the memory.
Thanks in advance.

It seems it's because the 'res' in the 'config_tokyo.ini' is too high. I adjust it to 8k and it starts training. However, are there some methods that can train using the original resolution in the file? I believe you trained the tokyo image using that resolution.

In the current code we load the entire image into memory, so unfortunately these large images do require a lot of memory.
One simple solution could be to reduce the number of workers since each worker keeps its own copy of the data. Otherwise, it's probably required to load parts of the image from disk at each training iteration, which may be very slow and would require a rewrite of the data loader.
Can you try decreasing the number of workers?

Hi David,
Thanks for the reply. I expressed the wrong memory. It should be the GPU memory, which I believed the [19456, 51200] tokyo took around 28GB that exceed 24GB (RTX3090). In the paper, RTX6000 is used so I think there might be some issue as RTX6000 has 24GB memory. I did send the same experiment to Compute Canada using a v100 (32GB), 125G memory for debugging purposes. I found out it trained super slow and cannot finish in ~12hrs as the paper mentioned. I used the default config with the tokyo.tif downloaded as instructed in the 'README.MD' .

I will definitely try to reduce the number of workers to see if it helps but it would be nice if I can replicate the experiment you did in the paper. ACORN is the state-of-the-art method that we used as one of our baselines.

I see, thanks for the clarification. We actually used an RTX 8000 for the gigapixel fitting (details in the paper supp.), and this has 48 GB of VRAM. I don't think this config will work with 24 GB of VRAM. It should be possible to lower the VRAM usage by decreasing the patch size (but the patch size 19 is not divisible by 2 in this case, so it would require a different image resolution). Otherwise using a smaller max number of patches should also work.

Thanks for the explanation!


Coverage report does not get generated if srcDir in nuxt.config.js is modified.

Environment
Working directory: /home/projects/github-h9agvz
Nuxt project info:

Operating System: Linux
Node Version:     v18.20.3
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, srcDir
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-h9agvz?file=vitest.config.ts,nuxt.config.ts
Describe the bug
The coverage report (by either v8 or istanbul) does not get generated if I change the srcDir configuration in nuxt.config.js. It seems it works well if I use the default setting. You can reproduce the issue with the link I provided.
If I click on the Coverage icon button on vitest-ui web page, It shows the error text: Cannot GET /coverage/index.html.
If I run vitest with --ui and coverage.enabled option to true then the coverage report's html files should be generated in /coverage directory, but what I get is only tmp directory with coverage.json files included. It seems the .html files are not generated properly so that the output directory get empty.
I even tried to change reportsDirectory or root in vitest.config.js but nothing changes.
Additional context
Sometimes if I run vitest --ui then after the preparation is ready, the open browser should show the Vitest UI, but it shows Cannot GET /. After that if I click the URL printed on the console (UI started at http://localhost:51204/vitest/), then it goes to the UI page. Also, if I click the Coverage icon on that page, it shows the error text of Cannot GET /coverage/index.html as well.
Logs
No response

The guide provided by Dosu unfortunately does not fix the issue. Hope the maintainers see this and look into it.

FYI @danielroe

@Audrey-Costa Thank you for the guide, I think I didn't read the document enough. I solved the issue.
Also for those whose project's v8 does not generate coverage report properly, because the root directory changed in the vitest.config.js and you want to restrict the list of files included in a report, you should put allowExternal option to true.
As you changed the root directory, you should put paths in include option like below:
// vitest.config.js
export default defineVitestConfig({
...
    test: {
        root: path.resolve(__dirname, '.vitest'),
        ...
        coverage: {
            enabled: true,
            reportsDirectory: './coverage',
            reportOnFailure: true,
            allowExternal: true,
            include: [
                // path list to include in coverage report
                '**/src/components/**',
                '**/src/composables/**',
                '**/src/server/**'
            ],
            clean: true
        }
    }
});


LANG-1659 - Method to check if an object it's an array

The idea it's have a method that determine whether the given object is an array. Change all the reference of .getClass().isArray() in favor of ObjectUtils.isArray(value)

Coverage increased (+0.0003%) to 94.927% when pulling ea1eb5e3ecd3e689334050d890b8bbc5739c4445 on arturobernalg:feature/LANG-1659 into 950ab130d616a67c39921b1d8c2c5b877ee8ad55 on apache:master.

HI @garydgregory
I have made all the changes
TY


Padding for page titles is wacky. Needs to be less wacky.

On MXNet.io the padding is currently strange. The page titles, e.g. "Tutorials" appears to close to the top of the page. This should have padding-top: 40px; Also they are not aligned with the TOC. Please make the TOC line up with the section titles (currently padding-top is 20px, should also be 40px).  Can you please fix this @kevinthesun? Thanks!

Can we close this?

@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage.
For general "how-to" questions, our user forum (and Chinese version) is a good place to get help.

Proposed labels: Doc, Feature Request
Potentially close this issue.


Error with exporting library to Bibtex

Public ID for this issue: http://is.gd/a2Vnjp
I have an issue when I try to export my library to Better Bibtex/BibLaTex (works fine for individual items). The popup error message is "An error occurred while trying to export the selected file".
I turned on debugging right before trying to export and the output is here: http://pastebin.com/edmTcXcS
I am using the latest release of Better Bibtex on Firefox.

Was this the main library or a group library?

Can you try generating a debug log using the version at http://zotplus.github.io/better-bibtex/#debug ?

It was a group library. I'll Install the version you linked to and get back to you.

Here's the log: http://pastebin.com/84smy3Wn

This group library has items? And you've restarted after installing the debug version?

My sincerest apologies. I've found the source of the error - I was trying to export to .bib via the actions menu (cog symbol), which I now realise looks at "My Library" for files (and is empty). Right click -> export group works just fine. Your last comment made me think of this possibility, so thank you for solving the issue!

Still, an empty library export should not yield an error. Does it also error out if you use another exporter, or is this just BBT?

As in, export to some non-BBT file format? Yes it does.

Yes, that's what I needed to know. I saw the same thing, but I'd like to get confirmation of such things :) This would appear to be an edge case in Zotero, I just tested without BBT. Oh and BTW, while the problem you reported might not be in BBT, it made me inspect the code for group export and find an edge case of my own -- so thanks for reporting in any case :+1:


can't run active file

VSCode Version: 1.28.1
OS Version:  win10 1803

Steps to Reproduce:

I open a html file and click "Run Active File",
the editor alerts that "Cannot read property 'indexOf' of undefined" and nothing happened,
while in the last version it would open the html file in the browser correctly.
and I have uninstall vscode and delete the dir '.vscode/' and 'appdata/roaming/code/", then reinstall vscode, but it still not works.

Does this issue occur when all extensions are disabled?: Yes

VS Code provides no command ´Run Active File´ so this must come from an extension. Try to find out which extension is causing this and then file an issue against this extension.

VS Code provides no command ´Run Active File´ so this must come from an extension. Try to find out which extension is causing this and then file an issue against this extension.
in menu "terminal" - Run Active File, and there is a native command "workbench.action.terminal.runActiveFile"

VS Code provides no command ´Run Active File´ so this must come from an extension. Try to find out which extension is causing this and then file an issue against this extension.

in menu "terminal" - Run Active File, and there is a native command "workbench.action.terminal.runActiveFile"

I'm sure about that, and I back to 1.27.2, it works perfectly, no error occurred, it must be a bug in 1.28 version.

Sorry about that. Reopening the issue.

Hmm, the action just doesn't seem to work for me anymore.
/cc @alexr00

@RottenPi could you mouse over the file tab for the HTML file and take a screenshot of the tooltip?

Ping @RottenPi

I was having the same problem, and (thanks to info in this issue) was able to add a space to my path as a workaround. Not sure about @RottenPi, but fixing the path issue with "Run Active File" would definitely be helpful to me.

I'm going to assume this is fixed in https://github.com/Microsoft/vscode/commit/08cefacac57a9b5da8e53548c9fd36260f7256fc


Stash to Cloudant - manual steps

Re: Issue https://github.com/ibm-cds-labs/pixiedust/issues/108 and
https://github.com/ibm-cds-labs/pixiedust/issues/171 doc one-time steps
to manually setup clouding spark with pixiedust.

@DTAIEB sent new commit a21cd1b ^^


Inline .length getter

Coverage decreased (-0.02%) to 98.684% when pulling f5dbdb4f3fdb4d710d668adb10e7e4c56e51d6f1 on jhermsmeier:inline-get into cd84e69bc4a351ca4f3e613351dcd305c290f0ea on Salakar:master.

Thanks!

Oh, sorry, I missed something, and updated it just now to not screw up the coverage and remove code duplication in .size() and .length – want me to open another PR?

Yes please


Neovim hangs when opening zig files with treesitter-textobjects installed

When loading zig files with textobject keybindings configured, neovim hangs and uses 100% cpu. Neovim doesn't even get to a point where it displays a status line when loading a file passed on the command line.
To Reproduce
Load a zig file with the provided vimrc.
Expected behavior
Neovim should load, and display the file.
Output of :checkhealth nvim_treesitter

nvim_treesitter: health#nvim_treesitter#check
========================================================================
## Installation
  - WARNING: `tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
  - WARNING: `node` executable not found (only needed for :TSInstallFromGrammar, not required for :TSInstall)
  - OK: `git` executable found.
  - OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
    Version: cc (Alpine 11.2.1_git20211128) 11.2.1 20211128
  - OK: Neovim was compiled with tree-sitter runtime ABI version 13 (required >=13). Parsers must be compatible with runtime ABI.

## Parser/Features H L F I J
  - zig            _ . _ _ _

  Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
         +) multiple parsers found, only one will be used
         x) errors found in the query, try to run :TSUpdate {lang}

Output of nvim --version
NVIM v0.6.0
Build type: MinSizeRel
LuaJIT 2.1.0-beta3
Compiled by buildozer@build-edge-x86_64

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Additional context
I had this issue on an arch linux system, and was able to reproduce it in a alpine (edge) container. All the outputs I've provided are from the container.
The minimal vimrc I was able to reproduce this with:

call plug#begin('~/.config/nvim/plugged')
  Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
  Plug 'nvim-treesitter/nvim-treesitter-textobjects'
call plug#end()

lua << EOS
require'nvim-treesitter.configs'.setup {
  ensure_installed = { "zig" },
  highlight = { enable = true },
  textobjects = {
    select = {
      enable = true,

      keymaps = {
         -- Any of these will cause neovim to hang
         ["af"] =<EMAIL_ADDRESS>         ["if"] =<EMAIL_ADDRESS>         ["ac"] =<EMAIL_ADDRESS>         ["ic"] =<EMAIL_ADDRESS>
        -- But this doesn't cause neovim to hang
        ["iF"] = {
          c = "(function_definition) @function",
        },
      },
    },
  },
}
EOS

Did you try the newest nightly? A fix for this problem has landed in tree-sitter. You can also build 0.6 release with newest tree-sitter master.

As usual, When the tree-sitter patch will in the neovim built?

@nanozuki it's already there, but you need to use nightly or wait for a new release of neovim if you wan to use stable neovim.

I just built neovim-git from the aur, and it still has this issue. I also tested the last nightly appimage, and it loaded the file eventually, but hung for a few seconds in the process. It didn't hang when I removed the problematic lines indicated in my minimal vimrc.
This is the output from nvim nvim --version with the aur build.

NVIM v0.7.0-dev+761-g0d7a97224
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/aren/.cache/paru/clone/neovim-git/src/build/config -I/home/aren/.cache/paru/clone/neovim-git/src/neovim-git/src -I/usr/include -I/home/aren/.cache/paru/clone/neovim-git/src/build/src/nvim/auto -I/home/aren/.cache/paru/clone/neovim-git/src/build/include
Compiled by aren@xeez

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

And from the nightly image I tested.

NVIM v0.7.0-dev+761-g0d7a97224
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az32-596

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

@ArenM make sure to also install treesitter-git, or whatever the package name is to install the latest version of treesitter.

It had to be tree-sitter master as the fix is not yet in a release.

Building tresitter seems to have made things better, but it seems like there's still something strange going on.
Neovim still hangs, but only for a few seconds now. It doesn't hang when I comment out the lines I pointed out in my initial report.
I also tested the nightly appimage, and it did the same thing. That should include a good version of treesitter right?

I'm closing the issue as it seems to be fixed, but feel free to re-open if you still have issues!


feat: add chronicle to oracles list

Description
Adding Chronicle to the Oracles list
docs: https://docs.chroniclelabs.org/
website:  https://chroniclelabs.org/

@biancabuzea200 you just need to update title of PR to i.e. "feat: add chronicle to oracles list"

Thank you so much, @zk-Lumi. It should be fixed now.


Serialize message handling for the same aggregate instance.

This PR adds some coordination around the handling of messages that are routed to the same aggregate instance.
This is intended not only to reduce the likelihood of OCC conflicts and stalls when an aggregate instance receives a bursts of messages, but also to provide the necessary locking around an in-memory snapshot cache to be added in #185.

This one's a bit like that RWMutex, the more eyes the better.


Doesn't work

the extension does not work at all

Does not work to me neither

Could you provide steps to reproduce? Thanks.
## Current Behavior
<!--- Tell me what happens instead of the expected behavior -->

## Steps to Reproduce
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
<!--- reproduce this bug. Include code to reproduce, if relevant -->
1.
2.
3.
4.

## Context (Environment)
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

<!--- Provide a general summary of the issue in the Title above -->

## Detailed Description
<!--- Provide a detailed description of the change or addition you are proposing -->


Changed lodash version for tracking pixel

Changed lodash version for @shopify/react-tracking-pixel to match lodash version used in Web.

I'm not sure I understand this change - both semver ranges may resolve to the same version, no?

react-apollo has a hard dependency on<EMAIL_ADDRESS> To avoid pulling in two versions of lodash in web, we're relaxing the constraint here.


NSNumber: More Darwin compatibility fixes

When comparing signed/unsigned integers, always compare both
as SInt128.

Add special handling for comparing values with Float.nan and
Double.nan.

@ianpartridge If you want to commit https://github.com/apple/swift-corelibs-foundation/pull/1204 first, I can always rebase this on top and fix up those test cases you commented out.

@swift-ci please test

@swift-ci please test

I confirm this fixes the NSNumber issues that my extra tests in #1204 exposed. I think it would be best to merge this one first, then my PR?

Ah yes, I forgot you tested #1204 on top of this

CC: @norio-nomura

@swift-ci please test and merge