How to run angular with meteor 1.3?

I was asked this question at StackOverflow some weeks ago but still no correct answer.
I've copy code from angular-meteor tutorial, update meteor to 1.3 and install angular-meteor from npm, import angular and angular-meteor to the js file. Then i run meteor and got error:
(function(Npm,Assets){(function(){import angular from 'angular';
W20160328-21:13:36.915(3)? (STDERR)                                   ^^^^^^
W20160328-21:13:36.915(3)? (STDERR) SyntaxError: Unexpected reserved word

Is angular-meteor working with<EMAIL_ADDRESS>now? If yes, can someone explain how to do it?

Try to use 1.3.9 release. It should be fully compatible with<EMAIL_ADDRESS>:)

@kamilkisiela i used 1.3.9 in the message above and got the error. I've also tried install it from Atmosphere but got another error:
Unable to resolve some modules:

  "underscore" in /C/Users/Deadly/AppData/Local/.meteor/packages/angular-meteor-data/1.3.9/web.browser/.npm/package/node_modules/angular-meteor/dist/angular-meteor.js (web.browser)
  "jsondiffpatch" in /C/Users/Deadly/AppData/Local/.meteor/packages/angular-meteor-data/1.3.9/web.browser/.npm/package/node_modules/angular-meteor/dist/angular-meteor.js (web.browser)

Consider running: meteor npm install --save underscore jsondiffpatch

Maybe some problems with ecmascript/angular-babel?
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

You should try latest version of angular-babel which is 1.3.1. There was one issue with Meteor 1.3 it's related to your problem :)

I've update angular-babel to 1.3.1 and now have following errors:
Unable to resolve some modules:

  "underscore" in /C/Users/Deadly/AppData/Local/.meteor/packages/angular-meteor-data/1.3.9/web.browser/.npm/package/node_modules/angular-meteor/dist/angular-meteor.js (web.browser)
  "jsondiffpatch" in /C/Users/Deadly/AppData/Local/.meteor/packages/angular-meteor-data/1.3.9/web.browser/.npm/package/node_modules/angular-meteor/dist/angular-meteor.js (web.browser)
  "angular" in /C/Projects/my/meteor1.3-angular/app.js (web.browser)
  "angular-meteor" in /C/Projects/my/meteor1.3-angular/app.js (web.browser)

Consider running: meteor npm install --save underscore jsondiffpatch angular angular-meteor

Unable to resolve some modules:

  "angular" in /C/Projects/my/meteor1.3-angular/app.js (os.windows.x86_32)
  "angular-meteor" in /C/Projects/my/meteor1.3-angular/app.js (os.windows.x86_32)

Consider running: meteor npm install --save angular angular-meteor

W20160329-00:31:29.533(3)? (STDERR)
W20160329-00:31:29.533(3)? (STDERR) C:\Users\Deadly\AppData\Local\.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
W20160329-00:31:29.533(3)? (STDERR)                                             throw(ex);
W20160329-00:31:29.533(3)? (STDERR)                                                   ^
W20160329-00:31:29.533(3)? (STDERR) Error: Can't find npm module 'angular'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
W20160329-00:31:29.533(3)? (STDERR)     at Object.Npm.require (C:\Projects\my\meteor1.3-angular\.meteor\local\build\programs\server\boot.js:195:17)
W20160329-00:31:29.534(3)? (STDERR)     at options.fallback (packages\modules-runtime.js:413:18)
W20160329-00:31:29.534(3)? (STDERR)     at require (packages\modules-runtime.js:98:16)
W20160329-00:31:29.534(3)? (STDERR)     at meteorInstall.app.js (app\app.js:9:1)
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.
W20160329-00:31:29.534(3)? (STDERR)     at fileEvaluate (packages\modules-runtime.js:158:9)
W20160329-00:31:29.534(3)? (STDERR)     at require (packages\modules-runtime.js:92:16)
W20160329-00:31:29.534(3)? (STDERR)     at app\app.js:20:1
W20160329-00:31:29.534(3)? (STDERR)     at C:\Projects\my\meteor1.3-angular\.meteor\local\build\programs\server\boot.js:283:10
W20160329-00:31:29.534(3)? (STDERR)     at Array.forEach (native)
W20160329-00:31:29.535(3)? (STDERR)     at Function._.each._.forEach (C:\Users\Deadly\AppData\Local\.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)

Ok, i've moved angular code to client folder. All my code is:
import angular from 'angular';
import 'angular-meteor';

angular.module('socially', ['angular-meteor']);

Errors in browser console:
modules-runtime.js?hash=939c79d…:95 Uncaught Error: Cannot find module 'angular'require @ modules-runtime.js?hash=939c79d…:95meteorInstall.client.app.js @ app.js:4fileEvaluate @ modules-runtime.js?hash=939c79d…:158require @ modules-runtime.js?hash=939c79d…:92(anonymous function) @ app.js:4
angular_angular.js?hash=c17a5a9…:83 Uncaught Error: [$injector:modulerr] Failed to instantiate module socially due to:
Error: [$injector:nomod] Module 'socially' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.4.8/$injector/nomod?p0=socially
    at http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:83:12
    at http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:2020:17
    at ensure (http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:1944:38)
    at module (http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:2018:14)
    at http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:4450:22
    at forEach (http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:355:20)
    at loadModules (http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:4434:5)
    at createInjector (http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:4359:11)
    at doBootstrap (http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:1691:20)
    at bootstrap (http://localhost:3000/packages/angular_angular.js?hash=c17a5a9bc4ab8702438c39d764efe4d6334a23e2:1712:12)
http://errors.angularjs.org/1.4.8/$injector/modulerr?p0=socially&p1=Error%3…r_angular.js%3Fhash%3Dc17a5a9bc4ab8702438c39d764efe4d6334a23e2%3A1712%3A12)

I tried to use and follow the tutorial with meteor 1.3 that was just released but am getting errors. Would be great if someone could confirm when we are likely to get 1.3 support for both client and server modes.
angular_angular.js?hash=c17a5a9…:83 Uncaught Error: [$injector:modulerr] Failed to instantiate module socially due to:
Error: [$injector:modulerr] Failed to instantiate module angular-meteor due to:
Error: [$injector:nomod] Module 'angular-meteor' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.4.8/$injector/nomod?p0=angular-meteor

this version has a bug in angular-meteor :/ dont update for now, use the previous version.

Please try 1.3.9_1 and let me know if that works for you

@Urigo i've updated to 1.3.9_1 from Atmosphere and looks like it works. But i still need to install pbastowski:angular-babel manually becouse<EMAIL_ADDRESS>not working with<EMAIL_ADDRESS>Also when i install angular-meteor from npm i just see blank screen without any errors on server or client.

@pbastowski maybe we can publish<EMAIL_ADDRESS>that set the dependency below 1.3 and not just 1.2 and above?

@Urigo
How would I do that, Uri? Specifically, do I need to add something to package.js? Or, perhaps, do I need to publish different package versions with different versions of Meteor?

@Deadly0 about installing from Npm, if you do that, you will need to use the new setup, as described in the new tutorial (soon also in Socially) - https://www.meteor.com/tutorials/angular/creating-an-app
@pbastowski maybe in the versionsFrom option.
I'm not sure if you can specify there "higher than" "lower than" thing, but if you can't, maybe you can do the same in terms of the api.use for specific packages

@Urigo
versionsFrom only applies to Meteor's own internal packages, so, can't use that. And, there is no "lower than" parameter unfortunately.
I will research a bit into into other ways to restrict a package to a specific version.

Is there an example repository showing typescript, angular and Meteor 1.3?  (Ideally with package/ examples.) I've been struggling all day...

Thanks @pbastowski for helping me with this example repository https://github.com/kokokenada/tstest2


Clean up orphaned data source and device settings

We should also clean up orphaned privacy images if possible.


ZigZag indicator possible look ahed bias error

Dear,
my relative ZigZag feauters created as foolow:
def calculate_zigzag_features(df):
# Converti il DataFrame in una lista di istanze Quote utilizzando l'indice datetime
quotes_list = [
Quote(d, o, h, l, c, v)
for d, o, h, l, c, v
in zip(df.index, df['open'], df['high'], df['low'], df['close'], df['volume'])
]
# Calcola l'indicatore ZigZag per ogni finestra di interesse e aggiungi le relative features al DataFrame
for window in [3,5, 10]:
    # Calcola l'indicatore ZigZag
    zigzag = indicators.get_zig_zag(quotes_list, EndType.CLOSE, window)

    # Crea un DataFrame a partire dai risultati dell'indicatore Zig Zag
    zigzag_df = pd.DataFrame([(z.date, z.zig_zag) for z in zigzag], columns=['Date', f'ZigZagValue_{window}'])
    zigzag_df['Date'] = pd.to_datetime(zigzag_df['Date'])
    zigzag_df.set_index('Date', inplace=True)

    # Unisci i DataFrames
    df = df.join(zigzag_df, how='left')

    # Assicurati che i valori ZigZag siano in formato float
    df[f'ZigZagValue_{window}'] = df[f'ZigZagValue_{window}'].apply(lambda x: float(x) if x is not None else None)

    # Calcola la direzione del Zig Zag e convertila in valori interi
    direction_map = {'Up': 1, 'Down': -1, 'Flat': 0}
    df[f'ZigZagDirection_{window}'] = df[f'ZigZagValue_{window}'].fillna(0).diff().apply(lambda x: 'Up' if x > 0 else ('Down' if x < 0 else 'Flat')).map(direction_map)

    # Calcola l'indicatore Zig Zag relativo
    df[f'ZigZagRelative_{window}'] = ((df[f'ZigZagValue_{window}'].fillna(0) - df['close']) / df['close']) * 100

return df

return a very high importance from my classificator model searcher!
Could be a look ahed bias problem in the indicator!?!?
Thanks in advance and waiting Your kindly reply.
luigi

There's certainly a known amount of historical value repainting with the Zig Zag indicator.  I suspect my term "repainting" is mostly the same idea as a look-ahead bias.  This happens in several indicators in the library.  It's not a bug, it's just how the indicator was written by the original author -- I don't invent these things.
To help users identify indicators that repaint (or have convergence related initialization errors), we've put these warnings in our documentation, like this one for Zig Zag:

I’d call this one more of a price overlay than an actual indicator of future performance.

Dear Dave, thanks a lot for reply, that's very kind of You.
Yes repaint=lookahed bias; it's not good proprieties of financial indicator.....when used in machine learning prediction model discover it's a big problem; must avoid.
I will study more about; it's no easy.
Please let us know, when you have time, no urgent, how to collect Your most important indicators, NO repaint, in order to use to create features <- this is the most important use in AI era.
thanks in any case, sorry for my bad english and wish You the best!.
luigi

I don't have a pre-determined list of the most important indicators since I've not done a full analysis of all possibilities.  Some of my personal favorites recently are ATR Trailing Stop, Elder Ray Index, Schaff Trend Cycle.  I'd started a discussion on the topic:

https://github.com/DaveSkender/Stock.Indicators/discussions/708

My personal philosophy to developing a trading strategy is much more broad than just finding that one perfect indicator, but rather it follows this this logic:

Do not rely on one indicator for a trade signal.  Consider that you may have one triggering signal event, but that it is also confirmed with one or more other indicators that depict favorable conditions.
Use backtesting on multiple securities to confirm your hypothesis, but understand that changing market conditions may make backtesting an invalid test of your strategy looking forward.  Be careful of curve-fitting and reverse-engineering where your strategy works perfectly for a single security, but fails everywhere else.
The industry standard settings for indicators may not be the best settings and that many or most indicators are terrible.  Don't believe everything you read in blogs and be cautious around charting sites that share unverified user-defined indicators.
Strategies often do not transfer across asset classes.  For example, a strategy that works with equities might not work with currencies.
Finding your own strategy is a journey of personal preferences, homework, testing, and continuous improvement.

It should be noted, that my approach to developing a strategy is constantly evolving and is still a work in progress and probably will be for a very long time.
Originally posted by @DaveSkender in https://github.com/DaveSkender/Stock.Indicators/discussions/277#discussioncomment-287215

Thanks a lot Dear Dave,
You are a good guy.....i wish you the very best.
Luigi
Il Gio 4 Apr 2024, 16:36 Dave Skender @.***> ha scritto:

I don't have a pre-determined list of the most important indicators
since I've not done a full analysis of all possibilities. Some of my
personal favorites recently are ATR Trailing Stop, Elder Ray Index, Schaff
Trend Cycle. I'd started a discussion on the topic:

DaveSkender/Stock.Indicators#708
https://github.com/DaveSkender/Stock.Indicators/discussions/708

My personal philosophy to developing a trading strategy is much more broad
than just finding that one perfect indicator, but rather it follows this
this logic:

Do not rely on one indicator for a trade signal. Consider that
you may have one triggering signal event, but that it is also confirmed
with one or more other indicators that depict favorable conditions.
Use backtesting on multiple securities to confirm your
hypothesis, but understand that changing market conditions may make
backtesting an invalid test of your strategy looking forward. Be careful of
curve-fitting and reverse-engineering where your strategy works perfectly
for a single security, but fails everywhere else.
The industry standard settings for indicators may not be the best
settings and that many or most indicators are terrible. Don't believe
everything you read in blogs and be cautious around charting sites that
share unverified user-defined indicators.
Strategies often do not transfer across asset classes. For
example, a strategy that works with equities might not work with currencies.
Finding your own strategy is a journey of personal preferences,
homework, testing, and continuous improvement.

It should be noted, that my approach to developing a strategy is
constantly evolving and is still a work in progress and probably will be
for a very long time.
Originally posted by @DaveSkender https://github.com/DaveSkender in
DaveSkender/Stock.Indicators#277 (reply in thread)
https://github.com/DaveSkender/Stock.Indicators/discussions/277#discussioncomment-287215
—
Reply to this email directly, view it on GitHub
https://github.com/DaveSkender/Stock.Indicators.Python/issues/363#issuecomment-2037390973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNWP4LBNBMRQE6KDY3CFMLY3VQN3AVCNFSM6AAAAABFVLDAHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZXGM4TAOJXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Take into consideration the chess variant

There are some tools that maybe assume the game is Standard, like Show Opening, Explorer Eval and Explorer Gambits, etc.

There have been no complaints about this. I will fix issues when they pop up, since I never play any variants.


Make the istio-cni daemonset optional

Hi folks!
Describe the feature request
At Wikimedia we have several on premise Kubernetes clusters, and one of them is dedicated to host the Kserve stack for Machine Learning (that includes istio and knative-serving). We are currently using only the ingress gateway, but we'd like to enable the use of the istio-proxy sidecars via the CNI component provided by Istio. We are currently managing/deploying Istio via istioctl, version 1.9.5.
We also use Calico to manage several networking aspects of our pods, and we use their CNI component, deployed via a special Debian package to the Kubernetes nodes, and configured via Puppet (we use it in all our production infrastructure). As far as I can see in Istio the CNI component can be deployed only via the related Daemonset, that requires high privileges (like the hostPath volumes capability) to deploy binaries and injecting configurations on the Kubernetes nodes, and we'd prefer to avoid it if possible. I am opening this issue to ask if it is possible to add an extra feature to the istioctl specs to allow a minimal configuration for Values.istio_cni.enabled, to offload the deployment of binaries and config to the user, tuning only the k8s annotations to be injected in various pods. Not sure if this is possible, so I am asking guidance from your side :)
Describe alternatives you've considered
We have tried to deploy the istio-cni and istio-iptables binaries + /etc configurations (chained plugin config with calico) manually, but pods are not created with the istio-proxy sidecar due to missing annotations.
Affected product area (please put an X in all that apply)
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

Is it possible to just set Values.istio_cni.enabled=true but not deploy the cni helm chart?

I think you can just do ^. If not, PRs to make that work would be appreciated


Support for Font Awesome v6

Hello,
I was wondering if you plan to support Font Awesome v6 in the near future? I know it's still in BETA but our designers will start to use it in the near future and for our RN apps, we most probably will need it as well.
That's why I just wanted to ask about your plans for it as part of react-native-vector-icons.
Thanks a lot for this library, it's amazing and very well maintained :)

This has now been added


Unify the Cue configuration approach

Flesh out the approach of using Cue for configuration using the Schema/Policy/Data hierarchy when the package is spread across multiple directory levels. e.g. Schema at the root, Policy in the intermediates sub-directories and Data in the leaf directories.
All of the stuff in cue.mod/gen/... is generated from the cue get go ... command importing go modules and converting them to cue. These can then be imported and used to verify the structure of things such as ConfigMap's. ssf.cue imports several of these and creates base structures based on these imported go structs.

Overall LGTM - just had the one minor question in here.


Support for Spring Webflux

We need support for Spring webflux.
Currently springfox 3.0.0 have not been released. IMO we should just release a temporary version of sprinfox 3.0.0 for now.

@adhikasp we should wait for springfox 3.0.0


Incorrect results with K-Caching in the GtCpp backends

The fv3core implementation in gt4py has exposed an issue with the k-caching implementation in the GTCpp code generation of the GTC toolchain. Here is an example of a stencil that reproduces this issue:
def set_initial_vals(gam: Field[IJK, float], delp: Field[IJK, float]):
    with computation(FORWARD):
        with interval(0, 1):
            grid_ratio = delp[0, 0, -1] / delp
            gam = 0.5 * grid_ratio
        with interval(1, -1):
            grid_ratio = delp[0, 0, -2] / delp[0, 0, -1]
            bet = 2.0 + grid_ratio - gam[0, 0, -1]
            gam = grid_ratio / bet
        with interval(-1, None):
            gam = 1.0

The KCacheDetection pass identifies gam and delp as candidates for k-caching. The generated code appears to be correct, with the possible exception of the last stage, that writes delp0 even though delp is not used there,
    eval(delp0()) = eval(delp());
    eval(gam0()) = static_cast<double>(1.0);
    eval(gam()) = eval(gam0());

Perhaps this is required for proper flushing?
The concerning issue is that  at k-level 2 (the second iteration of the second interval), the gam field contains NaN values.
CPUStorage([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
            [ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
            [ 0.,  0., nan, nan, nan, nan,  0.,  0.],
            [ 0.,  0., nan, nan, nan, nan,  0.,  0.],
            [ 0.,  0., nan, nan, nan, nan,  0.,  0.],
            [ 0.,  0., nan, nan, nan, nan,  0.,  0.],
            [ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
            [ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.]])

The same stencil with k-caching disabled produces valid data.
The attached tar file contains the following files using the gtc:gt:cpu_ifirst backend:
set_initial_vals-kcaching-reproducer.tar.gz

This file is a reproducer script in python (set_initial_vals.py)
The generated code with k-caching enabled (set_initial_vals-wkcache-computation.hpp)
And finally, the generated code without k-caching (set_initial_vals-nokcache-computation.hpp)

Thank you, and please let me know if you require additional information.

Is the example code correct? I could not really reproduce the issue, things fail independently of k-caches. And the reason is that there is an out-of-bounds access on the first and second levels. That is, delp[0, 0, -1] in grid_ratio = delp[0, 0, -1] / delp and delp[0, 0, -2] in grid_ratio = delp[0, 0, -2] / delp[0, 0, -1] are out of bounds on the first and second level respectively. If I shift the delp indices by one, it seems to work here.

Thank you @fthaler for the excellent observations. I believe this issue can be closed.

Perfect. Please note that issue #570 still was a problem for me on the fixed code. Hopefully we can fix that one soon.


Implement setseed function

From what I understand, all std's predefined random number generators generate unsigned integer values and their seed methods also expect values of unsigned integral type. In some local experiments with the current PR I see that e.g. all seed values between 0.1-0.9 generate the same sequence of "random" numbers, making the random() function a bit useless if used with that range of inputs. Instead, it's working fine if we provide different unsigned integers as seeds.
I'm mentioning the above because Postgres' setseed function supports only seed values between -1.0 and 1.0, inclusive. I'd like your input about how DuckDB should handle random/setseed:

Leave it as it is in this PR and expect integers as seeds
Follow Postgres (-1.0 <= seed value <= 1.0) + use a std predefined random generator (e.g. the one in this PR) + manipulate the seed value so that we end-up with a large int. For example, we could multiply the seed with a large number so that seeds 0.123 & 0.124 become 123000 & 124000 respectively and generate different sequences (in the current PR 0.123 & 0.124 produce the same sequences).
Follow Postgres (-1.0 <= seed value <= 1.0) + use whatever random engine is used by Postgres (erand48 from stdlib?)

Something else I'm not sure how to handle is the return type of setseed. In Postgres, its return type is void. I'm not sure how to achieve that in DuckDB. Whatever I tried was failing with conversion errors. For the time being, updated it to just return the seed value itself. Any thoughts on how to implement that in DuckDB or if we even care about it?

Follow Postgres (-1.0 <= seed value <= 1.0) + use a std predefined random generator (e.g. the one in this PR) + manipulate the seed value so that we end-up with a large int. For example, we could multiply the seed with a large number so that seeds 0.123 & 0.124 become 123000 & 124000 respectively and generate different sequences (in the current PR 0.123 & 0.124 produce the same sequences).

I would use this approach, and indeed just multiply to change the range. -1.0=0, 1.0=2^32. An approach to do this would be something along the lines of (seed + 1.0) * std::numeric_limits<uint32_t>::max()/2 (after checking that seed is within the proper bounds, of course).

Something else I'm not sure how to handle is the return type of setseed. In Postgres, its return type is void. I'm not sure how to achieve that in DuckDB. Whatever I tried was failing with conversion errors. For the time being, updated it to just return the seed value itself. Any thoughts on how to implement that in DuckDB or if we even care about it?

It could return SQLNULL, and then return a constant NULL value.

Thanks @Mytherin. I followed your suggestions. Please have another look.

Thanks for the changes, it looks good. One more thing: what happens if you input a column into the setseed function that could potentially have multiple values, e.g.:
SELECT setseed(a) FROM table
I suppose it should just repeatedly call setseed for each value in the table and the resulting seed should be the last value of the table. Could you create a testcase including that as well? After that I think it can be merged. Thanks!

SELECT setseed(a) FROM table
I suppose it should just repeatedly call setseed for each value in the table and the resulting seed should be the last value of the table. Could you create a testcase including that as well? After that I think it can be merged. Thanks!

Assuming setseed has no other side-effects than changing the seed, would you really want to call it many times? It makes equal sense to just apply it to any value from the table (could even be a random one, but first or last would make intuitive sense even if relations have no order :-)).

Assuming setseed has no other side-effects than changing the seed, would you really want to call it many times? It makes equal sense to just apply it to any value from the table (could even be a random one, but first or last would make intuitive sense even if relations have no order :-)).

Indeed it is not required, but as you said since calling setseed with a large column as input does nothing except set the seed value to the latest one there is also no point for the user to call it with a large column as input, hence I think optimizing this use case is not necessary. Especially since calling it only with the last value is not very trivial in a chunk-wise streaming engine, which I would argue is the expected behavior.
Note also that the setseed function still needs to return a single value per row in the input as well, i.e. if the function is called as follows:
SELECT setseed(a), a FROM table

The setseed function needs to return a value for each row in the table as not to violate relational semantics.

@Mytherin Pushed another update to address your feedback.
Still not sure the previous behavior was wrong. In case of multiple inputs, setseed would pick only the first value (similar to what @arjenpdevries suggested) and would still return a single value (NULL) per input row.

Thanks, it looks good now. Apologies for the delay.

Still not sure the previous behavior was wrong. In case of multiple inputs, setseed would pick only the first value (similar to what @arjenpdevries suggested) and would still return a single value (NULL) per input row.

It would pick only the first value of each vector in the input. I would not say it is wrong but it might be unexpected compared to Postgres' implementation.


Suggestions to improve the style guide

From @pkulikov on dotnet/docs#4358:
I think there are several minor improvements for the current style guide:

Metadata section can mention when ms.date should be or shouldn't be updated.
Links section should describe how to reference https://docs.microsoft.com/en-us/ pages that don't belong to dotnet/docs repo. It's docs.microsoft specific feature, though.
Links to APIs section. Examples of using * after UID can be given in the same way as examples for System.String at the same section (raw file contains https links, not xref).
Code section. The rendering of the list with parameters of '[!code...] construct is broken: only two levels instead of intended three.
Includes section. The example is broken: no sampleinclude.md file in the repo. Also, what should be put between the square brackets at the [!INCLUDE[what goes here?](relative link to the file)] construct?
At last, we can add the link to the MIcrosoft Writing Style Guide or Top 10 tips from there.

@BillWagner @mairaw @rpetrusha what do you think?
See dotnet/docs#4358 for discussion on this issue.

@BillWagner is this important enough to keep, or to backlog forever?


Etale Map

Please forgive me this waterfall, I have another question!  Here is the idea that we use undefined for infinitesimal constructions without proofs and try to reason with them.

You have the ImNaturality Path the wrong way around. If I do:
  h: T2 = \(a : A) -> <i> ImNaturality A B f a @ -i

it works. I would suggest you write:
ImNaturality (A B: U) (f: A -> B): (a: A)
  -> Path (Im B) ((ImApp A B f) (ImUnit A a)) ((ImUnit B) (f a))
  = undefined

I wonder if all of these undefined are necessary? Aren't Im definable as a HIT? You would have one constructor for the unit and a higher constructor for the fact that it's an equivalence. If you do that this would be more interesting as everything will compute.

I will try!

I'll close this issue now as it was just a Path being defined the wrong way, but feel free to keep discussing in this thread.

I discussed this with Felix now and it's more complicated than I thought. The HIT will be some form localization, but you will need to either postulate or construct something to localize at... I know very little about this stuff, but maybe you know more and can figure it out


ID deserialization hook

Uses RelayOptions as a hook to BYO deserializer func.
Addresses #2662

Hey @michaelstaib , do you think we could make this work? It's not 100% done as I'm not sure how to get the RelayOptions outside of a standard middleware (in my case in a descriptor), but if you've got an idea there then this is quite a simple PR in the end. Much better than what I was trying to do before.


ModuleNotFoundError: No module named 'tortoise.api'

root@afdb675d1c33:/tts-generation-webui-main# python server.py
Traceback (most recent call last):
File "/tts-generation-webui-main/server.py", line 40, in
from src.tortoise.generation_tab_tortoise import generation_tab_tortoise
File "/tts-generation-webui-main/src/tortoise/generation_tab_tortoise.py", line 7, in
from src.tortoise.gen_tortoise import (
File "/tts-generation-webui-main/src/tortoise/gen_tortoise.py", line 7, in
from tortoise.api import TextToSpeech, MODELS_DIR
ModuleNotFoundError: No module named 'tortoise.api'
pip install tortoise.api
success
But still ModuleNotFoundError: No module named 'tortoise.api'
pip install ./tortoise_api-0.3.0-py3-none-any.whl
ERROR: Package 'tortoise-api' requires a different Python: 3.10.12 not in '>=3.11'
Doing my head in, unsure what to do. Anyone know a fix?

Hi, that generally indicates an installation failure. However, it's unusual
that it failed midway. Could you share any other logs or errors with me
please? If you still have the window open, could you copy the output of
installation?
On Fri, Sep 8, 2023, 10:37 AM 1tporridge @.***> wrote:

@.***:/tts-generation-webui-main# python server.py
Traceback (most recent call last):
File "/tts-generation-webui-main/server.py", line 40, in
from src.tortoise.generation_tab_tortoise import generation_tab_tortoise
File "/tts-generation-webui-main/src/tortoise/generation_tab_tortoise.py",
line 7, in
from src.tortoise.gen_tortoise import (
File "/tts-generation-webui-main/src/tortoise/gen_tortoise.py", line 7, in
from tortoise.api import TextToSpeech, MODELS_DIR
ModuleNotFoundError: No module named 'tortoise.api'
pip install tortoise.api
success
But still ModuleNotFoundError: No module named 'tortoise.api'
pip install ./tortoise_api-0.3.0-py3-none-any.whl
ERROR: Package 'tortoise-api' requires a different Python: 3.10.12 not in
'>=3.11'
Doing my head in, unsure what to do. Anyone know a fix?
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/164, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI4VGUYIQK6DA7YYT63XZLDJ5ANCNFSM6AAAAAA4P7CQUI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Installing collected packages: tortoise-api
Successfully installed tortoise-api-0.2.8
root@afdb675d1c30:/tts-generation-webui-main# python server.py
Traceback (most recent call last):
File "/tts-generation-webui-main/server.py", line 40, in
from src.tortoise.generation_tab_tortoise import generation_tab_tortoise
File "/tts-generation-webui-main/src/tortoise/generation_tab_tortoise.py", line 7, in
from src.tortoise.gen_tortoise import (
File "/tts-generation-webui-main/src/tortoise/gen_tortoise.py", line 7, in
from tortoise.api import TextToSpeech, MODELS_DIR
ModuleNotFoundError: No module named 'tortoise.api'
root@afdb675d1c30:/tts-generation-webui-main# pip list | grep api
fastapi                   0.103.1
tortoise-api              0.2.8
tortoise-api-model        0.2.8
root@afdb675d1c30:/tts-generation-webui-main# python
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tortoise.api
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'tortoise.api'
import tortoise_api
from  tortoise_api import TextToSpeech, MODELS_DIR
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'TextToSpeech' from 'tortoise_api' (/venv/lib/python3.10/site-packages/tortoise_api/init.py)
exit()

I tried using Python 11 but still the same error....
root@afdb675d1c30:/tts-generation-webui-main# python3.11 -m pip install ./tortoise_api-0.3.0-py3-none-any.whl
Processing ./tortoise_api-0.3.0-py3-none-any.whl
Requirement already satisfied: tortoise-api-model>=0.2.7 in /usr/local/lib/python3.11/dist-packages (from tortoise-api==0.3.0) (0.2.8)
Requirement already satisfied: asyncpg in /usr/local/lib/python3.11/dist-packages (from tortoise-api==0.3.0) (0.28.0)
Requirement already satisfied: uvicorn in /usr/local/lib/python3.11/dist-packages (from tortoise-api==0.3.0) (0.23.2)
Requirement already satisfied: python-dotenv in /usr/local/lib/python3.11/dist-packages (from tortoise-api==0.3.0) (1.0.0)
Requirement already satisfied: starlette in /usr/local/lib/python3.11/dist-packages (from tortoise-api==0.3.0) (0.27.0)
Requirement already satisfied: tortoise-orm[asyncpg] in /usr/local/lib/python3.11/dist-packages (from tortoise-api-model>=0.2.7->tortoise-api==0.3.0) (0.20.0)
Requirement already satisfied: anyio<5,>=3.4.0 in /usr/local/lib/python3.11/dist-packages (from starlette->tortoise-api==0.3.0) (3.7.1)
Requirement already satisfied: h11>=0.8 in /usr/local/lib/python3.11/dist-packages (from uvicorn->tortoise-api==0.3.0) (0.14.0)
Requirement already satisfied: click>=7.0 in /usr/local/lib/python3.11/dist-packages (from uvicorn->tortoise-api==0.3.0) (8.1.7)
Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.11/dist-packages (from anyio<5,>=3.4.0->starlette->tortoise-api==0.3.0) (3.4)
Requirement already satisfied: sniffio>=1.1 in /usr/local/lib/python3.11/dist-packages (from anyio<5,>=3.4.0->starlette->tortoise-api==0.3.0) (1.3.0)
Requirement already satisfied: pytz in /usr/local/lib/python3.11/dist-packages (from tortoise-orm[asyncpg]->tortoise-api-model>=0.2.7->tortoise-api==0.3.0) (2023.3.post1)
Requirement already satisfied: pypika-tortoise<0.2.0,>=0.1.6 in /usr/local/lib/python3.11/dist-packages (from tortoise-orm[asyncpg]->tortoise-api-model>=0.2.7->tortoise-api==0.3.0) (0.1.6)
Requirement already satisfied: iso8601<2.0.0,>=1.0.2 in /usr/local/lib/python3.11/dist-packages (from tortoise-orm[asyncpg]->tortoise-api-model>=0.2.7->tortoise-api==0.3.0) (1.1.0)
Requirement already satisfied: aiosqlite<0.18.0,>=0.16.0 in /usr/local/lib/python3.11/dist-packages (from tortoise-orm[asyncpg]->tortoise-api-model>=0.2.7->tortoise-api==0.3.0) (0.17.0)
Requirement already satisfied: typing_extensions>=3.7.2 in /usr/local/lib/python3.11/dist-packages (from aiosqlite<0.18.0,>=0.16.0->tortoise-orm[asyncpg]->tortoise-api-model>=0.2.7->tortoise-api==0.3.0) (4.7.1)
tortoise-api is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
root@afdb675d1c30:/tts-generation-webui-main# python3.11 -m pip list
tortoise                  0.1.1
tortoise-api              0.3.0
tortoise-api-model        0.2.8
tortoise-orm              0.20.0
root@afdb675d1c30:/tts-generation-webui-main# python3.11 server.py
Traceback (most recent call last):
File "/data/zhouyitong/tts-generation-webui-main/server.py", line 40, in
from src.tortoise.generation_tab_tortoise import generation_tab_tortoise
File "/data/zhouyitong/tts-generation-webui-main/src/tortoise/generation_tab_tortoise.py", line 7, in
from src.tortoise.gen_tortoise import (
File "/data/zhouyitong/tts-generation-webui-main/src/tortoise/gen_tortoise.py", line 7, in
from tortoise.api import TextToSpeech, MODELS_DIR
ModuleNotFoundError: No module named 'tortoise.api'

I highly recommend using conda for an easy setup unless you are specifically trying to set it up as "raw" as you can. I personally use conda to develop this.
If you want to have a semi-manual approach, you can take a look at the one-click installer and take note of the:
python and torch* versions
virtual environment
pip install commands

Assuming the issue is resolved, if not, please reopen.


Re-configuration fails when Lucene index directory can't be deleted

When posting a configuration XML to Diffa, it can return an error message similar to the following:
java.io.IOException: Unable to delete file:
/opt/diffa/data/diffaIndex/diffa/Pair-Name-Here/.nfs00000000000594830000085a

If Diffa is the only process that has the Lucene index open, this suggests that Diffa isn't closing the index properly before attempting to delete it (hence the presence of the .nfs file).
Firstly, it's not immediately clear that just closing the writer is enough. We're not currently closing the Directory instance associated with the index.
Secondly, Diffa currently uses MMapDirectory, which falls foul of a JVM bug such that the directory might not be deleted until the garbage collector next runs.
Possible fixes:

Close the Directory instance in LuceneVersionCorrelationStore.close()
Change the deleteDirectory() call in LuceneVersionCorrelationStoreFactory.remove() to deleteQuietly(). This could cause problems if another index with the same name is added later.
Attempt to force a GC
Use something other than MMapDirectory

I have a test case for it, but unfortunately it always passes - I've not yet managed to test this against an NFS-mounted index dir.
I don't think it'd be too awful to check for Windows in LuceneVersionCorrelationStoreFactory, removing the directoryClass parameter entirely and adding a little method, something like this:
def getDirectoryClass = {
  val os = System.getProperty("os.name")
  if (os != null && os.toLowerCase.indexOf("win") >= 0)
    classOf[SimpleFSDirectory]
  else
    classOf[NIOFSDirectory]
}

Also: yes, I did get a GH notification mail.

The plot thickens: I'm also seeing a different type of NFS-related error:
java.io.FileNotFoundException: File does not exist: /opt/apache-tomcat/data/diffaIndex/diffa/Pair-Name-Here/_z.prx
        at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1386) ~[commons-io-1.4.jar:1.4]
        at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) ~[commons-io-1.4.jar:1.4]
        at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) ~[commons-io-1.4.jar:1.4]
        at net.lshift.diffa.kernel.indexing.LuceneVersionCorrelationStoreFactory.remove(LuceneVersionCorrelationStoreFactory.scala:53) ~[diffa-kernel-1.1.2.jar:na]

This time around, it looks like a race condition in FileUtils.cleanDirectory, which lists files before deleting them one by one!
Maybe we need a safer approach to getting rid of indexes, e.g. renaming like <pair name>-archive-<random>?

Yes, well we mustn't fail when deleting that directory. I'm not quite getting your renaming strategy though - how will this achieve a reliable rm -rf ?

BTW I think there is some mileage in the rename approach to re-configuration. For example, if you want to change the name of a pair or tweak non-endpoint parameters, it is a shame to throw away all of the collected data and then re-collect. However, this is also an advanced topic. I think we need to fix the Lucene bug first, then make the re-configuration as atomic as possible and then consider cheaper renames.


论文中公式（1）中loss的代码实现

请问论文中公式（1）中loss的实现具体在哪个文件中?仅在Reranking函数中计算了sentence embedding和triple embedding的一阶范数。

Yes you are right. We tested multiple loss functions during experiments. The released code used l1 norm between the sentence embedding and triple embedding indeed. It is not hard to modify it to the NCE-like loss form. We could supplement it in case it is required.

Thanks for your apply. I would appreciate it if you could add NCE loss and the relevant training process.

Thanks for your apply. I would appreciate it if you could add NCE loss and the relevant training process.

Hi! After checking it again, it is worth noting that the code in the Ranking function is used for inference only. It actually does not matter too much what exact function is used for computing inference score as long as the order is maintained.
Our training code uses the loss described in Equation (1). We are still organizing the training scripts and they will be released soon.

Thanks for your apply. I look forward to your release of the training scripts.

The training scripts will be released soon. I'll close this issue and we will pin you once the scripts are released.

Thank you for great work. Where can I find the training scripts?


[CLEANUP] Move SSH Connection Method to Data class

Moving and Deprecating the OpenConnection method to allow for easier unit testing of the Meta class in external plugins

Build completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands:

ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local
ant -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f ui/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands:
rm -r ~/.ivy2/local || echo no publish local to remove
Changed files:
engine/src/org/pentaho/di/trans/steps/ssh/SSH.java
engine/src/org/pentaho/di/trans/steps/ssh/SSHData.java
engine/src/org/pentaho/di/trans/steps/ssh/SSHMeta.java
ui/src/org/pentaho/di/ui/trans/steps/ssh/SSHDialog.java
Unit test coverage change:
org.pentaho.di.job.entries.getpop.MailConnectionMeta:

Branch Change :  + 1.00%
Complexity Change :  + 1.41%
Instruction Change :  + .30%

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper:

Branch Change :  + 1.64%
Complexity Change :  + .69%
Instruction Change :  + 2.43%
Line Change :  + 3.70%

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction:

Branch Change :  + 8.70%
Complexity Change :  + 3.08%
Instruction Change :  + .75%
Line Change :  + .90%

org.pentaho.di.trans.steps.checksum.CheckSumMeta:

Branch Change :  + 1.32%
Complexity Change :  + 1.43%
Instruction Change :  + .33%
Line Change :  + .54%

org.pentaho.di.trans.steps.combinationlookup.CombinationLookupMeta:

Instruction Change : -.04%

org.pentaho.di.trans.steps.datagrid.DataGridMeta:

Instruction Change : -.09%

org.pentaho.di.trans.steps.dbproc.DBProcMeta:

Instruction Change :  + .11%

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta:

Branch Change :  + .66%
Complexity Change :  + .41%
Instruction Change :  + .50%
Line Change :  + .24%

org.pentaho.di.trans.steps.groupby.GroupByMeta:

Branch Change : -1.04%
Complexity Change : -1.05%

org.pentaho.di.trans.steps.ifnull.IfNullMeta:

Branch Change :  + 2.00%
Complexity Change :  + 1.89%
Instruction Change :  + .17%

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta:

Instruction Change : -.06%

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta:

Branch Change :  + 1.18%
Complexity Change :  + 1.35%

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta:

Instruction Change :  + .08%

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta:

Instruction Change : -.14%

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta:

Instruction Change :  + .08%

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta:

Instruction Change : -.18%

org.pentaho.di.trans.steps.ssh.SSHMeta:

Complexity Change :  + 10.05%
Instruction Change :  + 7.42%
Line Change :  + 7.25%

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta:

Instruction Change : -.04%

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta:

Instruction Change : -.18%

org.pentaho.di.trans.steps.webservices.WebServiceMeta:

Branch Change :  + 1.79%
Complexity Change :  + 1.19%
Instruction Change :  + .07%

org.pentaho.di.trans.Trans:

Branch Change : -.10%
Complexity Change : -.14%
Instruction Change : -.09%
Line Change : -.11%


[Feature Request] Make use of new API for including last heartbeat details when failing activity tasks

Is your feature request related to a problem? Please describe.
Server now supports this. Using it can simplify internal logic. Of course we still have to support the old path for backwards compat... So maybe not worth doing this until it's been released long enough that we don't have to.
Describe the solution you'd like

Additional context

One wonders if we can add a server capability that you can check. Otherwise, one does wonder how old of a server version we are expected to support.


Default Supported(UI)Cultures should be all Cultures available

The default vaule for SupportedCultures and SupportedUICultures should be all Cultures available and not only the current one. I use a different approach for localization because I develop Intranet sites and I like to give administrators the possibility to translate the page on the fly. But with this concept you provide here it's way to complicated to add new languages.
SupportedCultures and SupportedUICultures should only be there to restrict the cultures if set and not to ignore all cultures than current if not set.

@NCC1701M this is back to an old discussion here issue #111

FYI I already added an issue today #351 to think about the possibility to add a localization culture dynamically at runtime
Also there's another issue still open to support custom cultures #237, hope you follow those


 Like, in the attached video, when I'm stuttering left, I had been holding right for like 15 seconds. This mainly happens as a xeno, but I also experience it (less frequently) as a marine.
Reproduction
I genuinely have no idea.
Screenshots
Video was too big for git.
https://streamable.com/b898dl
(apologies for the shitty audio, had to compress it a bit)
Additional context
It might be related to a large amount of bullets or particles on screen? Queen was moving with a lot of crushers and we all stomped at once, plus the shitload of grenades, but again it occurring during combat may just be a coincidence because I was almost always in combat.

Does this happen to other people at the same time? If so it could be grenades hitting many (like 50+) things at once, if not it would be something else. Next time it happens ask in LOOC if it just happened to someone else, or watch if anyone else says something about it at the same time.
Not sure how to begin diagnosing this but one thing would be to check the console (tilde) for any error spam happening.
What are your PC's specs? CPU, GPU, memory, OS, etc

I'm also experiencing this issue every 30 minutes or so. It's unclear if it's related to CM14 or my ISP, as I experience packet loss (100% for a few seconds) in other games like Valorant.

I get very similar lag spikes every 15-30 minutes in bursts of 2. I have a good system and it doesn't happen to me on any other ss14 server. It feels less like lag and more like being disconnected (rubber banding to the same position for like 2-5 seconds with inputs like pointing only handled after the 'spike' stops).

Next time it happens ask in LOOC if it just happened to someone else, or watch if anyone else says something about it at the same time.

Every time it happens I say something in LOOC and nobody else does, so it seems to be just me.

What are your PC's specs? CPU, GPU, memory, OS, etc

CPU: Intel Core i5-0400F
GPU: Nvidia RTX 2070 Super
Mem: 16gb total
OS: Windows 10

i don't know what changed but my lag spikes went away like two updates ago

Yeah, this is no longer reoccurring it seems.


CircleCI config overhaul, instrumentation tests & screenshot automation (EXPOSUREAPP-4480,DEV)

@mtwalli, @AlexanderAlferov and me overhauled the CircleCI config, added instrumentation testing and automatic screenshots.
Highlights:

Refactored the config (yes you can refactor YAML :dizzy_face:) to make use more use of re-usable functions
Use larger instances for faster test execution
Adjusted gradle/JVM options to improve performance and use larger instances better
Run instrumentation tests via macOS CircleCI executor
Run automated screenshot routine via fastlane when a new release candidate is build
Improved caching behavior
Split works for better job restart and improved dependencies between tasks
Renamed tasks and work flows to be easier to understand

We tried Firebase Testlab, but it was not working out, due to lack of control over the whole process (more of a black box) and inability to use fastlane with it. There were also issues with our mocking library which could fail on newer API emulators if not run on x86_64 architecture emulators, and firebase testlab doesn't allow us to enforce it.
Because we previously didn't run instrumentation tests via CI, a few tests fell into disarray and will need fixing. The current config setup is already a huge improvement over the previous config and I think should merge it despite the failing instrumentation tests. Until we enforce the check to pass for branches, there should be no issue. A follow up PR can then be made stress free to fix the failing tests.
This was initially targeted for 1.12, but as this will require adjusting the branch restrictions, it would make sense to merge this into 1.11, we share the same branch restrictions between all branches. Then the only problematic branch would be 1.10.x which will soon be superseeded by 1.11.x.
Once the config is merged I will change the restrictions and all open PRs will have to pull the new config to run the correct tests.

Example screenshot execution from another run:
https://43049-268027139-gh.circle-artifacts.com/0/screenshots/screenshots.html

Example screenshot execution from another run:
https://43049-268027139-gh.circle-artifacts.com/0/screenshots/screenshots.html

The screenshot job takes quite long ~50-100 minutes, only executed on releases though.
Instrumentation test take around 17min. Normal tests are around 10 min. So this adds 7 min to our test pipeline time, but I think that is just the price to pay and will be well worth it. Maybe someone has a good idea on how we can further speed this up? The alternative would be to either live with it, or make the test result non-blocking... :thinking:

The screenshot job takes quite long ~50-100 minutes, only executed on releases though.
Instrumentation test take around 17min. Normal tests are around 10 min. So this adds 7 min to our test pipeline time, but I think that is just the price to pay and will be well worth it. Maybe someone has a good idea on how we can further speed this up? The alternative would be to either live with it, or make the test result non-blocking... :thinking:

Could you also Zip the ScreenShots? So I could just donwload the zip. The idea is, to add this zip later also to the release notes.

Could you also Zip the ScreenShots? So I could just donwload the zip. The idea is, to add this zip later also to the release notes.

This would be merged after we have finished the statistics stuff so there is no delay due to pipeline issues.

This would be merged after we have finished the statistics stuff so there is no delay due to pipeline issues.

Could you also Zip the ScreenShots? So I could just donwload the zip. The idea is, to add this zip later also to the release notes.

I think so. Will check. We could also link the artifacts on CircleCI directy, though the link will probably break after a few weeks? CircleCI artifact storage times out at some time.

The same would make sense to the test results I guess.

What do you mean by that?

Could you also Zip the ScreenShots? So I could just donwload the zip. The idea is, to add this zip later also to the release notes.

I think so. Will check. We could also link the artifacts on CircleCI directy, though the link will probably break after a few weeks? CircleCI artifact storage times out at some time.

The same would make sense to the test results I guess.

What do you mean by that?

The same would make sense to the test results I guess.

What do you mean by that?

https://app.circleci.com/pipelines/github/corona-warn-app/cwa-app-android/8541/workflows/2a8cd323-f037-4369-818a-eaf96ad45373/jobs/43183/artifacts
There are also a lot of artifacts, which you maybe could zip? I could use these results for our internal reporting, but it would be easier to just download a zip.

The same would make sense to the test results I guess.

What do you mean by that?

https://app.circleci.com/pipelines/github/corona-warn-app/cwa-app-android/8541/workflows/2a8cd323-f037-4369-818a-eaf96ad45373/jobs/43183/artifacts
There are also a lot of artifacts, which you maybe could zip? I could use these results for our internal reporting, but it would be easier to just download a zip.

Screenshots, Instrumentation tests (release), unit tests (release) are now uploaded as .zip too.

Screenshots, Instrumentation tests (release), unit tests (release) are now uploaded as .zip too.


Backport HSEARCH-4239 to branch 6.0 - Credentials error while mass indexing on AWS ES with static credentials: "The request signature we calculated does not match the signature you provided."

https://hibernate.atlassian.net/browse/HSEARCH-4239
Backport of #2603 .

Build including tests against AWS Elasticsearch service: https://ci.hibernate.org/job/hibernate-search/job/PR-2604/2/


parse data_only false not working

Cannot get the parser to work when data_only is set to false:
workbook = RubyXL::Parser.parse("public/Sampleformslist.xlsx",false)
Get error:
undefined method `content' for nil:NilClass
Using this sample xlsx:
http://archive.msdn.microsoft.com/mss2008sdksamples/Release/ProjectReleases.aspx?ReleaseId=523
Otherwise, when data only=true everything seems to work great:)

I will take a look.

Hello, the bug was from the 1.2 release missing a nil case I have fixed the problem in the 1.2.3 release.  Thanks for the help.

Thank you - super quick response:)
This seems to have raised another bug though-the write seems to fail with data_only = false
this works fine:
workbook = RubyXL::Parser.parse("public/xxx.xlsx",true)
workbook.write("public/xxx.xlsx")
but this
workbook = RubyXL::Parser.parse("public/xxx.xlsx",false)
workbook.write("public/xxx.xlsx")
write creates this error:
can't convert Symbol into Integer
On Jan 15, 2012, at 8:42 AM, Rob wrote:

Hello, the bug was from the 1.2 release missing a nil case I have fixed the problem in the 1.2.3 release.  Thanks for the help.

Reply to this email directly or view it on GitHub:
https://github.com/gilt/rubyXL/issues/14#issuecomment-3498942


Replay comment box visible

#12 Hide the replay comment box when a video has no comments. But don't affect its config for other videos, like when toggling the view and a video has comments.

i'm not sure why but this stops fetching comments for videos i access through recommendations. more specifically, if I go from one video to another, the comments don’t load for the second one (i have to refresh to make them load)
if i remember correctly, i faced a similar issue when i tried to implement this in the past – i can take a deeper look soon!

Huh, good catch :) That's strange.

Does that have anything to do with this error? It's shown up before I've made any changes:
Error handling response: TypeError: chrome.tabs.executeScript is not a function at chrome-extension://llbkbaagafolhbpceejpbcgmkniaifkm/background.js:160:19
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.


Mediator Logging

Ship logs to loki
Add message transit timestamp (received, forwarded) so that we are able to correlated with wallet messages

EA team might implement in the future, we can talk to them if we need anything.


FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':Application'.

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 5m 28s

@cloned2k16
I came across the same issue, had fixed it by upgrading the gradle tool version as below:
classpath 'com.android.tools.build:gradle:3.2.1'

This sample has been deprecated/archived (check README for more information on newer samples related to this technology).
As recommended by GitHub, we are closing all issues and pull requests.


Merge changed from adaptation-of-parallax-view-to-korge-fleks branch into main

Rewrite ParallaxDataView for Korge-fleks to be backwards compatible to the normal version. After that merge branch into main.

[ ] Make updater of views switchable, per default (normal case) they are added. But for Korge-fleks integration their functionality is implemented in Fleks hook initialization functions (Family hooks)
[ ] Identify other changes which are needed for Korge-fleks and check if they are compatible with normal version of ParallaxDataView

This issue was solved lately in v0.2.0 of Korge-parallax. The solution is that Korge-fleks does not use the ParallaxDataView any more to render the parallax effect. Instead Korge-fleks has its own ParallaxRenderView implemented which takes care to draw all parallax layers independently from the view system of Korge.


c3.large instance does support 32bit but shown as Arch=64bit only here

c3.large instance does allow to run 32bit AMI also. But in Arch column it does not show up as 32/64bit but only 64bit.
Info about that fact is written at least as text here:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
Platform. All Amazon EC2 instance types support 64-bit AMIs, but only the following instance types support 32-bit AMIs: t2.nano, t2.micro, t2.small, t2.medium, c3.large, t1.micro, m1.small, m1.medium, and c1.medium.
And confirmed by testing. But not sure if the in the main pages you are scraping

This seems to provide conflicting information:
https://aws.amazon.com/ec2/previous-generation/


Where is the Jira Key link stored?

When I click on my Jira ticket under the Jira Key column I want it to take me to my Jira ticket. Where would I store my Jira ticket link in order to achieve this?
Link for the screenshot:
https://user-images.githubusercontent.com/76787646/225252177-7053c774-e0cb-4b48-9544-0d139e01fe9f.png
I would appreciate your assistance. Thank you.

please try to specify a formatter for the Jira Key column:
https://github.com/cenfun/monocart-reporter/blob/main/tests/playwright.config.js#L92-L94
{
    id: 'jira',
    name: 'JIRA Key',
    width: 100,
    searchable: true,
    styleMap: 'font-weight:normal;',
    formatter: (valueFormatted, rowItem, columnItem) => {
        const key = rowItem[columnItem.id];
        return `<a href="https://your-jira-link.com/${key}" target="_blank">${valueFormatted}</a>`;
    }
}

Thanks a lot, that worked.

Thanks a lot, that worked.


py: Add more tests

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>more towards #17

Codecov Report

Merging #133 (25b23eb) into main (e83c38c) will increase coverage by 4.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   38.97%   43.06%   +4.08%
==========================================
  Files          78       86       +8
  Lines        2191     2329     +138
==========================================
+ Hits          854     1003     +149
+ Misses       1337     1326      -11

Impacted Files
Coverage Δ

playground/control/request.py
82.35% <ø> (ø)

playground/control/api/__init__.py
100.00% <100.00%> (ø)

playground/control/connectors/docker/client.py
70.00% <100.00%> (+7.50%)
:arrow_up:

tests/py/api_handler.py
100.00% <100.00%> (ø)

tests/py/command.py
100.00% <100.00%> (ø)

tests/py/connectors/docker/base.py
100.00% <100.00%> (ø)

tests/py/connectors/docker/test_client.py
100.00% <100.00%> (ø)

tests/py/event.py
100.00% <100.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

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


[AVM Module Issue]: cannot set ipTags for network/public-ip-address

Check for previous/existing GitHub issues

[x] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/network/public-ip-address
(Optional) Module Version
0.6.0
Description
I'm unable to configure ipTags: [ { ipTagType: 'RoutingPreference', tag: 'Internet' } ]
which is needed to set the routing preference to internet, instead of the normal azure network routing
https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/routing-preference-portal?tabs=azurepowershell
this is useful for certain cost savings when integrating with other cdn services
(Optional) Correlation Id
No response

@KLuuKer thanks for reporting the issue, a module update is coming.


Trigger tx catchup when needed

In the case where a node receives a tx set with at least one unknown tx.
Now also includes the signature catchup from PR https://github.com/bosagora/agora/pull/2957.

🟢

Now included in https://github.com/bosagora/agora/pull/3000


System.InvalidCastException: Specified cast is not valid.

System.InvalidCastException: Specified cast is not valid.
at lambda_method(Closure , ValueBuffer )
at Microsoft.Data.Entity.Query.EntityLoadInfo.Materialize()
at Microsoft.Data.Entity.Query.Internal.QueryBuffer.GetEntity(IKeyValue keyValue, EntityLoadInfo entityLoadInfo, Boolean queryStateManager)
at Microsoft.Data.Entity.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitor.CreateEntity[TEntity](IQuerySource querySource, ValueBuffer valueBuffer, Int32 valueBufferOffset, QueryContext queryContext, IEntityType entityType, Boolean trackingQuery, KeyValueFactory keyValueFactory, Func2 materializer, Boolean allowNullResult, Boolean useQueryBuffer)    at lambda_method(Closure , ValueBuffer )    at System.Linq.Enumerable.<>c__DisplayClass7_03.b__0(TSource x)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()    at Microsoft.Data.Entity.EnumerableExtensions.<Finally>d__01.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()    at Microsoft.Data.Entity.Query.Internal.LinqOperatorProvider.ExceptionInterceptor1.EnumeratorExceptionInterceptor.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)    at InvalidCastException.Controllers.HomeController.Index() in C:\Users\HIMADRI\documents\visual studio 2015\Projects\InvalidCastException\src\InvalidCastException\Controllers\HomeController.cs:line 20 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNet.Mvc.Controllers.ControllerActionExecutor.ExecuteAsync(MethodInfo actionMethodInfo, Object instance, Object[] orderedActionArguments)    at Microsoft.AspNet.Mvc.Controllers.ControllerActionInvoker.<InvokeActionAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at Microsoft.AspNet.Mvc.Controllers.FilterActionInvoker.d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNet.Mvc.Controllers.FilterActionInvoker.d__44.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Mvc.Infrastructure.MvcRouteHandler.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Routing.Template.TemplateRoute.d__27.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Routing.RouteCollection.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.<Invoke>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.<Invoke>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.<Invoke>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.<Invoke>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNet.Authentication.AuthenticationMiddleware1.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.ApplicationInsights.AspNet.ExceptionTrackingMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.IISPlatformHandler.IISPlatformHandlerMiddleware.d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNet.Diagnostics.DeveloperExceptionPageMiddleware.d__7.MoveNext()
project link
http://1drv.ms/1n7RPl6

I am having this problem as well on my Mac. Did you do anything special to fix it?

can you be a little more specific. where its happening and in which model and which query getting this error.


Whitelist alternative to appsExcluded

Basically an appsIncluded option.
I plan to use this on a testing server, where most of the apps will be restarted a lot of times and I only want to monitor the status of a single worker which shouldn't restart

flag added in 1.6.5


OpenFaaS ASPNET Functions

Hi @Daniel15,
May I suggest having a look at OpenFaaS ASPNET Template? It uses ASPNET 5 and provides a recognizable environment, including dependency injection, configuration, authorization. Contains C# and F# templates.
Cheers!

@goncalo-oliveira  - Where does the HttpFunction class come from?

@goncalo-oliveira  - Where does the HttpFunction class come from?

@Daniel15 from OpenFaaS.Functions library. It's used by both C# and F# templates. You can find the source here. It adds a few helper methods, though, it's not required, one can inherit from the IHttpFunction interface directly instead.

@Daniel15 from OpenFaaS.Functions library. It's used by both C# and F# templates. You can find the source here. It adds a few helper methods, though, it's not required, one can inherit from the IHttpFunction interface directly instead.


Add shims for file handling

This adds the bare minimum to be able to do File::open and File::read. I also need some feedback about how to handle certain things

:umbrella: The latest upstream changes (presumably #957) made this pull request unmergeable. Please resolve the merge conflicts.

@bors r+

:pushpin: Commit d0509d719c27d95b5d0f8379d66f13b99b60c42e has been approved by oli-obk

:hourglass: Testing commit d0509d719c27d95b5d0f8379d66f13b99b60c42e with merge 1037f69bf6dcf73dfbe06453336eeae61ba7c51f...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: oli-obk
Pushing 1037f69bf6dcf73dfbe06453336eeae61ba7c51f to master...


⚠ Bofrost.be has degraded performance

In d7a9df8, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2779 ms

Resolved: Bofrost.be performance has improved in 180ac79.


Limit subscribers

This PR looks bigger than it is because it depends on the not-yet-merged https://github.com/input-output-hk/cardano-sl/pull/1286 .

@dcoutts @avieth this is work in progress, but one thing I noticed while I was working on this: for P2P node we had
topologySubscriberNodeType :: Topology kademlia -> Maybe NodeType
topologySubscriberNodeType TopologyP2P{}         = Just NodeRelay
...

That's wrong, isn't it? Relays don't subscribe. Other P2P nodes may subscribe to P2P nodes, but we assume that they must be edge nodes, no? I've changed it to
topologySubscribers :: Topology kademlia -> Maybe (NodeType, OQ.MaxBucketSize)
topologySubscribers TopologyP2P{..}         = Just (NodeEdge, topologyMaxSubscrs)
...

I will continue with this probably tomorrow or later today, but will rebase it once https://github.com/input-output-hk/cardano-sl/pull/1347 has been merged.

RE p2p subscriber type: I'm not sure. I can never remember, because both of them make sense. But I'd imagine NodeRelay is the right choice, since every p2p member is responsible for relaying throughout the kademlia network.

RE p2p subscriber type: I'm not sure. I can never remember, because both of them make sense. But I'd imagine NodeRelay is the right choice, since every p2p member is responsible for relaying throughout the kademlia network.

P2P nodes are assumed to be edge nodes, so I suspect NodeEdge is the correct one :)

@dcoutts ready for review. Most of this is just a bit of code cleanup; important changes:

Added maxSubscrs fields to the various relevant topology .yaml formats
In the subscription listener, check if the bucket size got exceeded and if so, close the conversation immediately, effectively indicating to the subscriber that subscription failed
In the worker we already assumed that if the conversation got closed the subscription failed and we already would attempt a different one, so that didn't need to change.

We do still need to deal with valency and fallbacks; I'll do that in a separate PR.

Rebased on master.

@dcoutts did you consider my earlier question (https://github.com/input-output-hk/cardano-sl/pull/1354#issuecomment-322772039)? If you agree with me, there's nothing to do, but if not, we should fix it :)

AFAICT max bucket size isn't mutable and SIGHUP doesn't actually change it. Planning to implement that in this PR, or later?

Correct. Discussed that with @dcoutts and decided to leave it for now. Later PR.

@dcoutts did you consider my earlier question (#1354 (comment))? If you agree with me, there's nothing to do, but if not, we should fix it :)

Thanks for the reminder on this detail.

Other P2P nodes may subscribe to P2P nodes, but we assume that they must be edge nodes, no?

So of course we've not completely finished the p2p case, but we're assuming that when we do that p2p nodes will subscribe to each other. So what should p2p nodes believe the the node type of their peers to be? Recall that in our current policy edge nodes only talk to relay nodes and not to other edge nodes! So currently the answer must in fact be relay, and if we wanted to change that then we'd have to extend the policy to allow edge nodes to talk to edge nodes.
But if we look at the edge -> relay policy, it should actually fit the p2p case just fine:
Enqueing:
 * header announce : to Relay, P1, 3 route list, max ahead 0, fallback drop
 * header request  : to Relay, P2, 3 route list, max ahead 1, fallback drop
 * block  request  : to Relay, P2, one of,       max ahead 1, fallback TODO
 * transaction     : to Relay, P4, 3 route list, max ahead 3, fallback drop
 * mpc             : to Relay not sent!

So we'll send everything including block headers and transactions, but not MPC.
As an alternative we could say that p2p edge nodes believe their peers to be edge nodes but then they'd still need to have the above as their policy for edge -> edge nodes.
I don't mind either way, perhaps it's less confusing to say they're all edge and adjust the policy for p2p nodes so that they never talk to relays and only to what they believe to be edge nodes. If they discover an actual relay node via kademlia, they'd consider it the same as any other "real" p2p edge node.
topologySubscribers :: Topology kademlia -> Maybe (NodeType, OQ.MaxBucketSize)
topologySubscribers TopologyP2P{..}         = Just (NodeEdge, topologyMaxSubscrs)

So for the moment we should switch it back to NodeRelay, but we can do the conversion above to switch it consistently over to edge as a later PR.

I took the liberty of rebasing to fix those conflicts and I'm going to force push @edsko beware!

Recall that in our current policy edge nodes only talk to relay nodes and not to other edge nodes! So currently the answer must in fact be relay,

Ah, yes, quite right. This is confusing :) But ok, makes sense. Apologies for doubting you @avieth :)


Chore/3

:tada: This PR is included in version 2.152.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


x/net/html: html.Parse chomps too much leading newline in

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.11rc2 linux/amd64
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
What did you do?
https://play.golang.org/p/_79yZsnUz4j
package main

import (
	"fmt"
	"golang.org/x/net/html"
	"strings"
)

func parseAndPrint(s string) {
	root, _ := html.Parse(strings.NewReader(s))
	var out strings.Builder
	html.Render(&out, root)
	fmt.Printf("%q", out.String())
}

func main() {
	// Only this one produces unexpected output.
	parseAndPrint("

crlf
")
	fmt.Println()

	// All these remaining lines are to show that only the first newline, either CR or LF is stripped.
	parseAndPrint("

lfcr
")
	fmt.Println()
	parseAndPrint("

crcr
")
	fmt.Println()
	parseAndPrint("

lflf
")
	fmt.Println()
}

What did you expect to see?
The spec says that a leading newline character immediately following the
 element start tag is stripped. https://html.spec.whatwg.org/#the-pre-element
Don't even get me started on how this makes parse and print non-idempotent.
But I would expect only the FIRST newline to be stripped.

crlf

lfcr

crcr

\n\nlflf

What did you see instead?

\ncrlf

lfcr

crcr

\n\nlflf

This bit of code strips the exact sequence of CR followed immediately by LF, so it's effectively stripping two instead of one.
Happy to submit a patch. I think the correct logic should be:
// Ignore a newline at the start of a
 block.
if d != "" && (d[0] == '\r' || d[0]== '\n') {
	d = d[1:]
}

Nevermind. The spec says CR followed by NL is treated as a newline.
https://html.spec.whatwg.org/#syntax-newlines


Compilation error

Hi!
I'm using hls_m3u8 and as of recently I'm getting a compilation error:
error[E0759]: `input` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement
   --> /Users/wouter.de.bie/.cargo/registry/src/github.com-1ecc6299db9ec823/hls_m3u8-0.4.0/src/media_playlist.rs:730:12
    |
729 |     fn from_str(input: &str) -> Result<Self, Self::Err> {
    |                        ---- this data with an anonymous lifetime `'_`...
730 |         Ok(parse_media_playlist(input, &mut Self::builder())?.into_owned())
    |            ^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^-------------^^^
    |                                 |           |
    |                                 |           ...and is required to live as long as `'static` here
    |                                 ...is captured here...

My environment:
stable-x86_64-apple-darwin (default)
rustc 1.54.0 (a178d0322 2021-07-26)

Any idea?

@sile could you publish a new version of the crate?

@Luro02 Sure. Thank you for fixing this error.

Published: https://crates.io/crates/hls_m3u8/0.4.1


Update stable version in repo from 1.2.1 to 1.3.3

Think about update stable version to 1.3.3
Version: stable=1.2.1 (344 days old) => latest=1.3.3 (15 days old)
Installs: stable=1161 (73.53%), latest=130 (8.23%), total=1579
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.3.3 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

https://github.com/ioBroker/ioBroker.repositories/pull/4164


Update Knative dependencies to v1.1

Changes

:broom: Update Knative dependencies to v1.1

/cc @lance

/lgtm

/lgtm as well

/unhold


Localizations do not have same master

I noticed this behaviour, that in light of the recent discussions on localization #7352 we may want to change. I am writing it here in case we actually want to change this behaviour.
This is the scenario:

In a tenant enable 3+ cultures. In my example I have en-US, it-IT, fr-FR, de-DE.
Pick an en-US content item (I use the "Welcome to Orchard!" page) that I'll call enItem. Call its ID enID.
From enItem, create a new translation to the it-IT culture. Call the content item itItem, and its ID itID. In the localization records, you will see that the MasterContentItemId for itItem is enID.
From itItem, create a new translation to the fr-FR culture. Call the content item frItem, and its ID frID. In the localization records, you will see that the MasterContentItemID for frItem is itID.

The behaviour I would have expected was to have the MasterContentItemID for frItem to be enID, since that is the master for itItem.
As things stand, I could then create an en-US localization of frItem, because the localization part ignores the fact that itItem is already the translation of enItem.
On top of that, If I were to delete itItem I would lose all relations between enItem and frItem (I realize that the record would still be in the LocaliationPartRecord table).
I would suggest that the MasterContentItem is the same for all ContentItems in a translation set.

This totally looks wrong. I think it would be logical to always use the same master id, but maybe it's by design,.
Let's ask @Jetski5822 what he thinks.


Improve the "Introduction" Content

So that users who come to Calico understand the value proposition that Calico offers and the use-cases it tries to solve.
It is important that people who are new to Calico understand why someone would want to use it, as well as how it works.  This probably serves twofold:

Make more people realize that they actually do want Calico to meet their use-case.
Filters out users for whom Calico is not actually a good fit for their use-case.

Note that this may be a global document and/or individual documents per-orchestrator, to advertise the features that Calico brings to each environment.

Sounds like what the Introduction page is trying to accomplish. But could use more content to achieve the function you have described

Related to #25

@matthewdupre suggested:

We should review the intro slide deck and put any useful diagrams into the docs: this should be pitched at someone about the level of "someone told me Calico was cool: what is it?".


Option to disable (or customize) className

I style with Tailwind and would prefer to not have other classNames on my elements.

Looks like I can override the className by passing it. Normally I would expect this to combine the className I provide with the built-in one. If I want to completely override it I can simply specify my own className prop after the object spread.

Great idea!
// append
<input {...getInputAttrs({ className: "foo bar" })} />

// replace
<input {...getInputAttrs()} className={"foo bar"} />

Should be available in<EMAIL_ADDRESS>👍
Were you also suggesting a global flag to turn them off, via the FormContext maybe?  I can't thin of a great use case for that at the moment though so I held off for now

Thanks!
Agreed. I don't think I personally need it disabled globally.


Fix incremental compilation failing if a jar on classpath doesn't exist

Fixes: gradle/gradle#1457

Should we target 3.4.1 or 3.5 for this one?

I'd include it in 3.4.1

Merged into release instead.


Honor some env var on startup

Allow environmental variables to override Nanokube startup. For
example, to use Kubernetes v1.4.7, you can invoke:
KUBERNETES_VERSION=v1.4.7 ./nanokube -s
The following will now accept environmental values from the
command line:
KUBERNETES_VERSION
ETCD_VERSION
FLANNEL_VERSION
PRIVATE_MASTER_IF
Reasoning and Use-case:
I am using Nanokube for a custom dev vm. For various reasons, we cannot use Minkube, so we are baking Nanokube along with other tools into a Vagrant box. Since we are using Ubuntu 16, we
don't have network interfaces such as eth1. Being able to pass the interface to look at is
helpful.
I also want to specify the Kubernetes version. I can keep sending updates or maintain our own fork, but being able to change component versions through parameterization is probably a better idea.

Thank you for the PR! 👍


Update requirements.txt for a newer streamlit version

in the old version, currently it have installation errors "ModuleNotFoundError: No module named 'altair.vegalite.v4'"

Update requirements.txt for a newer streamlit version


Function to test path validity

Add a function maybe path.valid() to test whether or not a path is a valid path string.  Empty string, NULL, a sentence, garbage, etc. should come out as false.  Also special characters.  Also bad permissions.  I think we have to try creating the file if it doesn't exist.

is.path()


Signout should cancel existing service explorer load operation

User signs in and the respective mobileservices and virtual machines gets loaded in service explorer.
While loading the virtual machines if user signs out then existing virtual machine load operation should also be cancelled.

This issue still exist in plugin version 0.1.240

This issue still exist , Services are still loading even after subscription has been logged out .
But it is not a major issue as you cannot access those services or VM or Storage containers until manage subscription dialog box is open and if we close the dialog box it will unload the Vm , Storage container , etc .


Design ShopCart Schema

As a developer,
I need to design the ShopCart Schema
So that we can store shopcart data in database.
Detail and Assumptions
Store in a relation database.
Accept Criteria

Suggested schema:
shop cart table :

id - auto increment
customer id - unique for each customer
product id ; unique key constraint (2 + 3)
quantity

eg usage with table
id | cid | pid | qu
1   | A1 |  Q1 |  5
2  | A2 |  Q3 |  4
3   | A1 |  Q4 |  5

I think this design is good. And we can add one more field
5. price: price when added to cart.

We were avoiding doing that because the product team is already handling the meta data of each item and we wanted to keep it as decoupled as possible

Got it

This looks good...can consider this done.


Ship ArcCommander application as dotnet tool

Test, pack and upload application

This might be closed, only thing missing is actually publishing the package


[WIP] Remove hardcoded role privileges

We currently hardcode admin? in a number of code paths
These code paths are being moved over to rbac

move disallowed_roles determination back to rbac/filterer

https://bugzilla.redhat.com/show_bug.cgi?id=1090627

deferring to #17444


NIFI-12896: Add Endpoint Override URL property for PutSNS processor

Summary
NIFI-12896 Adds endpoint override URL property to PutSNS processor. Updated ITPutSNS to include endpoint override property (modeled after AbstractSQSIT).
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

PR has been rebased on latest main branch

@exceptionfactory Thank you so much for merging this. If possible can this change be also cherry picked to the 1.x branch?

@dan-s1 You're welcome! The main branch includes a number of changes to the AWS tests, so it isn't a clean cherry-pick from the main branch. If you would like to submit a PR to the support branch, I can review it.

@exceptionfactory Thanks so much! I have submitted a PR to the support branch.


Fixed #34015 -- Allowed filtering by transforms on relation fields.

ticket-34015

Should we also add tested coverage for nested relational fields transforms/lookups?

Good catch :dart: I added an extra tests.

Thanks for checking :tada: