Backport "terraform-provider-elasticsearch: init at 0.6.0" to release-19.03

Motivation for this change
This backports https://github.com/NixOS/nixpkgs/pull/62122.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build terraform-providers.elasticsearch


[Question] Are Firefox Tabs Supported with EasyClick like in Chrome?

Are Firefox Tabs Supported with EasyClick like Chrome?
The tabs in chrome have the text popup when you do FF in Normal GUI mode. Firefox however, doesn't appear to show the hotkeys for the tabs when doing FF

@aus10code
Sorry for my late reply.
In my environment, EasyClick shows hints on the Firefox Tab.
However, some differences exist.
In Firefox, it shows hints on the tab button, enabling us to select the tab.
In Chrome or Edge, it shows hints on the tab button, enabling us to close tab.
This difference is dependent on the UI framework, so we must recognize the GUI framework or specific applications to integrate into either one.
Thanks.


NULL dereference crash in pack_streams()

Running wavpack with the attached file raises a segmentation fault error as follow. The bug seems to be a NULL dereference bug in pack_streams function.
jason@debian-amd64-stretch:~/report/source-latest/wavpack$ gdb WavPack/cli/wavpack -q
Reading symbols from WavPack/cli/wavpack...done.
(gdb) run poc-null-pack.wav
Starting program: /home/jason/report/source-latest/wavpack/WavPack/cli/wavpack poc-null-pack.wav

 WAVPACK  Hybrid Lossless Audio Compressor  Linux Version 5.1.0
 Copyright (c) 1998 - 2018 David Bryant.  All Rights Reserved.

warning: DSF file has partial-byte leftover samples!
warning: DSF file has non-integer bytes/second!
   0% done...
Program received signal SIGSEGV, Segmentation fault.
0x000000000041c8c9 in pack_streams (wpc=<optimized out>, block_samples=<optimized out>) at pack_utils.c:915
915         max_blocksize = block_samples * max_chans * ((wpc->streams [0]->wphdr.flags & BYTES_STORED) + 1);
(gdb) where
#0  0x000000000041c8c9 in pack_streams (wpc=<optimized out>, block_samples=<optimized out>) at pack_utils.c:915
#1  0x000000000041c4d3 in WavpackPackSamples (wpc=<optimized out>, sample_buffer=<optimized out>, sample_count=<optimized out>) at pack_utils.c:677
#2  0x00000000004082ad in pack_dsd_audio (wpc=<optimized out>, infile=<optimized out>, qmode=<optimized out>, new_order=<optimized out>, md5_digest_source=<optimized out>)
    at wavpack.c:2515
#3  pack_file (infilename=<optimized out>, outfilename=<optimized out>, out2filename=<optimized out>, config=<optimized out>) at wavpack.c:1890
#4  0x0000000000403cf0 in main (argc=<optimized out>, argv=<optimized out>) at wavpack.c:1273
(gdb) x/i $rip
=> 0x41c8c9 <pack_streams+89>:  mov    (%rbx),%rcx
(gdb) info reg rbx
rbx            0x0      0

poc-null-pack.zip
Thank you.

Thanks for find and posting this...should be fixed in master


[VC] Fix an enqueobject bug

The object added to mccontroller fairqueue cannot be a pointer. Otherwise, the dws will break.
This change also removes ingress from default registry list.

/lgtm
/approve


Fix deprecated list function

Thanks for your contribution, if you could change the [] into [""] it's good to merge. This way it always has output, even when var.create is false.

@maartenvanderhoef Will do. Thanks!

@maartenvanderhoef Change suggested applied. 🙂


jobs dont get out the waiting room

some jobs get queued in the waiting room (dont know why BTW), then they never get pulled out...

It appears there's nothing in this plugin that requeues jobs in the waiting_room by default. You'll need to implement something yourself.
I used the following job on a 5 minute schedule:
# Works through contents of :waiting_room queue and requeues them in their original queue.
class RequeueWaitingRoomJobs
    @queue = :urgent

    def self.perform
        # Only process jobs currently in queue, in case we end up requeueing some of them.
        queue_length = Resque.size(:waiting_room)
        queue_length.times do
            job = Resque.reserve(:waiting_room)

            # If the job is not ready to leave the waiting room, Job#reserve will requeue it to waiting_room and return nil.
            next if job.nil?

            # Requeue to original queue.
            Resque.enqueue(job.payload_class, *job.args)
        end
    end
end


handleconfig: deprecate 'timer.use.config.checkpoint' usage

The default behavior is to fetch saved config if its modification time does not exceed some stale config time (timer.use.config.checkpoint). This leads to the following problem observed by the customer:

EVE node and an app are up running.
Connection to the controller is lost for time > timer.use.config.checkpoint, so that last saved config modification time has not been updated.
Node is rebooted, connection to the controller is still missing.
Config is being fetched from a file, but modification time has not been updated for a while, thus config is rejected and applications do not show up.

Although the default setting for the timer is 7 days, it is not enough for the node which constantly has problems with the internet and which up-time is minimum, so it is not uncommon to have a last saved config with the modification time dated several weeks from now.
This is not safe and having outdated config (basically this is always the case, because there is always a time gap between actual config on controller and config on EVE) is better, than to have no config at all.
This patch deprecates the 'timer.use.config.checkpoint' and config is being always read from the file regardless of the modification time.
Kudos to Siddharth and Daniel for debugging this.

Difference to the previous version:

Remove 'StaleConfigTime' from config maps (second commit)

@milan-zededa @eriknordmark Can we restart eden tests here?

@milan-zededa @eriknordmark Can we restart eden tests here?

Sure, but all 4 seem to be failing 100% of the time lately.
I've been manually running the new eden test workflow on master periodically to get some coverage.


Consider link to "view source on GitHub"

Feature description
The previous textbook had a link on each page to the source notebook on GitHub. This was a nice feature we should consider re-implementing.
Additional context
Related #1288.

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


Custom - Single Value Fails

When configuring an input to have a fixed 'custom' Single Value for a field, the value is lost and the following error is given in the console:
Uncaught TypeError: Cannot create property 'FIELDNAME' on string ''
(where FIELDNAME is the name of the field on the resource you are importing)
This can be fixed by editing line 228 on resources/js/pages/Configure.js
this.values = "";
to
this.values = {};

Could you create a PR?

I have - I actually put a small other fix in there on the Review screen (incorrect reference to map instead of mappings). I explained in the PR I hope

Linking to PR #51


Error when loading a page in List view

Steps to reproduce:

Go to https://ayudaparamanualidades.com/?pwa=true
Click on PUBLICA TUS PROPIAS MANUALIDADES in the nav bar.

Don't seem to be solved yet.

It was a problem with the deploy. Closed now.


Add logging to all classes

Now that we have a logger (example usage shown in ExpressHttpLogger), we should at some logging to all the classes that we have. I would suggest the following:

logger.info calls in all of the "main" functions of the class containing the name of the class, the name of the function and potentially some of the input it received if it can be accessed cheaply (e.g. ResourceIdentifier.path). With main functions I think of the canHandle/handle functions of an AsyncHandler, or one of the five core functions of a ResourceStore.
logger.warn calls when something goes wrong due to user input. For example when trying to access a file that doesn't exist (in a situation where it's not supposed to exist yet)
logger.error when something goes wrong internally. This would be most cases where we throw a 500 error. E.g., writing a file fails.

Good idea, but probably no need to get too rigorous. In particular:

some logging to all the classes that we have

Perhaps only the most crucial ones?
And those that exhibit complex behavior, like composite patterns.

* `logger.info` calls in all of the "main" functions of the class

containing the name of the class

That is not needed, give that the logger is initialized with the class, so it has this information.

the name of the function

That could also be done via tracing, so probably not needed either (@rubensworks?)

one of the five core functions of a ResourceStore.

Note that we could also have a LoggingResourceStore whose only job it is to log which of the methods were accessed and with which parameters.

Perhaps only the most crucial ones?
And those that exhibit complex behavior, like composite patterns.

The idea behind this was to have some sort of view on the path travelled through the code for debugging reasons when needed. Or perhaps use logger.verbose for this (which is the one below info I think)?

That could also be done via tracing, so probably not needed either (@rubensworks?)

Would be useful if that is possible.

Note that we could also have a LoggingResourceStore whose only job it is to log which of the methods were accessed and with which parameters.

Not sure yet how exactly this would fit. Do you mean adding a new store in our stack of stores that simply logs when one of its methods is accessed? Question would then be where to add it since we have multiple stores and for example the patching store calls multiple methods of another store. Would also be slightly more complicated since it would then have to be added to the dependency injection configs.

Do you mean adding a new store in our stack of stores that simply logs when one of its methods is accessed?

I mean in the first place writing such a store, such that devs can plug it in whenever and wherever they need it.
We could also add it to the stack at the top and/or bottom level.

Question would then be where to add it since we have multiple stores and for example the patching store calls multiple methods of another store. Would also be slightly more complicated since it would then have to be added to the dependency injection configs.

Agreed, that's the trade-off I'm proposing indeed. Can still be used in conjunction with the rest.

That could also be done via tracing, so probably not needed either (@rubensworks?)

Should be possible by inspecting the stack trace indeed.
We don't do this yet though, so this would require some (small changes).

FYI https://medium.com/@stieg/winston-3-and-logging-error-stacks-cf70b2111289

FYI https://medium.com/@stieg/winston-3-and-logging-error-stacks-cf70b2111289

Ah nice, even better then :-)


Prisma shouldn't just drop and re-create postgres schema to fix migration issues

Bug description
When attempting prisma migrations in dev,
and prisma detects a drift or a hard to reconcile change between the prisma.schema and the schema of the database, prisma migrate simply asks for a prompt to reset the database and apply all the migrations from scratch.
This reset of the database is achieved by dropping the existing public schema  and creating them from scratch, which messes up the permissions of the db users and roles.
Why is this a problem ?
The recommended Postgres way to provision users and roles for the Postgres Docker is via initialization scripts that is mounted into the container.
The initialization script is run only the first time a pgdata volume is mounted. When stopping and starting the container or after changes are done (like the schema dropping and re-creating via prisma migrate dev) , the initalization script is NOT RUN , because the volume is already existing.
This means that the existing users ARE NOT granted the same permissions they had on the previous schema, causing code to fail in mysterious ways due to permission issues.
In projects with a large number of devs and frequent commits, it becomes a big problem when we have to keep resetting our local environments and running grant xxx permissions  manually.
How to reproduce
To confirm this, I ran prisma migrate reset (which seems to be using the same code as when running prisma migrate dev and it detects an irreconcilable migration drift)
output:
my_db=# select oid from pg_namespace where nspname='public';
  oid
-------
 17717
(1 row)

Run npx prisma migrate reset
my_db=# select oid from pg_namespace where nspname='public';
  oid
-------
 17990
(1 row)

Expected behavior

Do not prompt users to reset the state of the database during dev migrate scenarios when detecting schema drifts. IMO, the right way to handle schema drifts is to fail early and ask users to fix up the schema changes (either using prisma migrate dif ... --script)
(OR)
provide a way to provision users and roles via prisma schema (OR)
Do not fix schema drifts by dropping and re-creating postgres schemas.

Prisma information
Irrelevant here.
Environment & setup

OS: macOS
Database: Postgres16
Node.js version: v20.6.1

Prisma Version
prisma                  : 5.11.0
@prisma/client          : 5.11.0
Computed binaryTarget   : darwin-arm64
Operating System        : darwin
Architecture            : arm64
Node.js                 : v20.6.1
Query Engine (Node-API) : libquery-engine efd2449663b3d73d637ea1fd226bafbcf45b3102 (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli efd2449663b3d73d637ea1fd226bafbcf45b3102 (at node_modules/@prisma/engines/schema-engine-darwin-arm64)
Schema Wasm             : @prisma/prisma-schema-wasm 5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102
Default Engines Hash    : efd2449663b3d73d637ea1fd226bafbcf45b3102
Studio                  : 0.499.0

You don't have to accept this prompt if that's not what you want to do - that's why it is a prompt after all.
Also, while we don't have a way of defining roles in the schema file yet, you can edit your migration files before applying and add necessary GRANT statements in SQL in there. See our documentation here.
Regardless, current behaviour is not a bug, so i am converting the issue to improvement request.
Thank you!

How about having an option to update the schema instead ?
If there's no fundamental issues with this, I would be interested in helping build this


Getting Invalid hook call on Barebones project

Using
"moti": "^0.10.1",
"react-native": "0.63.4",
and this is the code (or any other code I use moti components)

import {View} from 'moti';

const Profile = (props) => {
  return <View />;
};

Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.

This error is located at:
    in ForwardRef(Moti) (at Profile/index.js:16)
    in RCTSafeAreaView (at SafeAreaView.js:51)
    in ForwardRef(SafeAreaView) (at Profile/index.js:14)
    in Profile (at SceneView.tsx:122)
    in StaticContainer
    in StaticContainer (at SceneView.tsx:115)
    in EnsureSingleNavigator (at SceneView.tsx:114)
    in SceneView (at useDescriptors.tsx:153)
    in RCTView (at View.js:34)
    in View (at ResourceSavingScene.tsx:68)
    in RCTView (at View.js:34)
    in View (at ResourceSavingScene.tsx:63)
    in ResourceSavingScene (at DrawerView.tsx:183)
    in RCTView (at View.js:34)
    in View (at src/index.native.tsx:145)
    in ScreenContainer (at DrawerView.tsx:162)
    in RCTView (at View.js:34)
    in View (at Drawer.tsx:645)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:441)
    in AnimatedComponent(View) (at createAnimatedComponent.js:452)
    in ForwardRef(AnimatedComponentWrapper) (at Drawer.tsx:638)
    in RCTView (at View.js:34)
    in View (at createAnimatedComponent.js:441)
    in AnimatedComponent(View) (at createAnimatedComponent.js:452)
    in ForwardRef(AnimatedComponentWrapper) (at Drawer.tsx:628)
    in PanGestureHandler (at GestureHandlerNative.tsx:13)
    in PanGestureHandler (at Drawer.tsx:619)
    in DrawerView (at DrawerView.tsx:215)
    in RNCSafeAreaProvider (at SafeAreaContext.tsx:76)
    in SafeAreaProvider (at SafeAreaProviderCompat.tsx:42)
    in SafeAreaProviderCompat (at DrawerView.tsx:213)
    in RCTView (at View.js:34)
    in View (at DrawerView.tsx:212)
    in DrawerView (at createDrawerNavigator.tsx:47)
    in DrawerNavigator (at navigation/index.js:52)
    in MainNavigator (at navigation/index.js:28)
    in Unknown (at App.js:24)
    in EnsureSingleNavigator (at BaseNavigationContainer.tsx:409)
    in ForwardRef(BaseNavigationContainer) (at NavigationContainer.tsx:91)
    in ThemeProvider (at NavigationContainer.tsx:90)
    in ForwardRef(NavigationContainer) (at App.js:22)
    in App (at CodePush.js:585)
    in CodePushComponent (at renderApplication.js:45)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:106)
    in RCTView (at View.js:34)
    in View (at AppContainer.js:132)
    in AppContainer (at renderApplication.js:39)

I can look if you can create a minimal reproduction in a repository.

+1 for me
react-native: 0.64.2
moti: 0.11.0
const state = useAnimationState({     from: {       ...     },     to: {       ...     },   });
call inside a functional component throw the error


[stable/external-dns] Add option to install the CRD

Signed-off-by: Manuel Zapf<EMAIL_ADDRESS>What this PR does / why we need it:
This PR adds the option, to automatically install the DNSEndpoint CRD provided by external-dns as well. This is required if third-party applications want to connect with external-dns easily.
Which issue this PR fixes
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/test pull-charts-e2e

/assign @maorfr

Hey @maorfr,
all done. I also added some feature for the deployment :)

/lgtm
Thanks!

Seems to be breaking for me:


Added BST.cpp

Binary Search Tree implementation
Implemented a Binary Search Tree in C++ with all operations like traversals, update, deletion, insertion, and searching of data.
Fixes # 77
Added in C++ folder
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generates no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

#77 issue fixed, PR accepted for merge. :)

Thanks !


Bazel always rebuild all code even I just modify single cpp file when config=cuda is used

System information

TensorFlow version (you are using): master branch
Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.
When I change any file in tensorflow/compiler, bazel always rebuild all code when config=cuda is used, I did not hit the bug after remove config=cuda.
Will this change the current api? How?
No.
Who will benefit with this feature?
Anyone who follow https://www.tensorflow.org/install/source
Any Other info.

Please fill the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Along with the template, please provide as many details as possible to find the root cause of the issue. Thanks!

Unfortunately, that is the artifact of how TF code and build rules are organized.
Many files are included in many targets, and it will trigger almost a full rebuild.
Modular tensorflow will help with this, but until that lands, I am afraid I cannot really offer a solution to this.

Would it make sense to delete config=cuda from the docs here? Looks like it's not needed?
https://www.tensorflow.org/install/source#gpu_support

No, you can't get rid of that. Bazel is meant to be distributed. If you have some old PCs you can make a small farm or grid to help speed it up. They have clusters and grids and can compile it in minutes.

@perfinion for recommendations here.
I have some internal hacks I use so I may not be as familiar as him with this issue.

@ttyio Could you try to explore using Bazel's manual --noincompatible_action_toolchain flag. This can help Bazel reuse certain build artifacts if they haven't truly changed.
Please have a look at this doc reference. Kindly raise a new ticket if you still have any concern using latest TF version?
Thank you!

Thank you, I have not build TF a a while, closing


Lazy-load images

Consider implementing some sort of easy-to-use (and easy to not use, when preferred) lazy-loading technique for images. Lean on this, and similar methods, when thinking about it / doing the work / etc.

Things to consider:

srcset, sizes, etc.
<picture>
Might be nice if they loaded-in shortly before the bottom of the viewport (to trigger reflow and get that wrapped up), then faded in quickly?

This is a great solution that we can pull-in when needed: https://github.com/aFarkas/lazysizes/blob/gh-pages/lazysizes.min.js

…and this one seems to be half the size (likely a few less features): https://github.com/malchata/yall.js/blob/master/dist/yall-2.1.0.min.js


update deps

Update dependencies to fix security vulnerabilities.
Everything's still working after the updates, on my end. Let me know if I'm missing something!

I'm pretty sure the page change on index.html is just the fork count being incremented.

@jistjoalal Thanks! Sorry we took so long to check this out. :)

No problem, just learning how to collaborate on github. And I updated the dependencies only because I was working on fixing a style bug I had on the jdsb site. That PR is here: https://github.com/junior-dev-struggle-bus/juniordevstrugglebus/pull/18
Hope I can make it to a meetup soon, love what you guys are doing.


How to add publications to website

I am working off these instructions and want to be able to pull this off...
https://sourcethemes.com/academic/docs/page-builder/#pages

I’m not understanding the workflow very well from these instructions, and I can’t find good documentation on it. I’ve “view page source” and “inspect page” on these where other's have successfully managed to add publications on this theme, and can’t figure out how they are doing it.
This is what I can gather:
I need to make an index.html file for each publication I want to include on my website and then I link those pages in the publications.md widget for my website?
Does anyone have some skeleton code for how to include these (And what I should change to my personal information)? I can’t tell how to add the buttons with links either - does that code go in the .html file for each publication or does that code go in the .md widget section of content/home folder? Any hints are much appreciated for this novice programmer!

@bikegirl You should check out this part of the docs: https://sourcethemes.com/academic/docs/managing-content/#manually

Please use the forums or chat for questions/troubleshooting. Also refer to the Academic and Hugo Documentation.


Better alternative to Antigen

Antigen seems to be abandoned.
I switched to Antibody for those looking for an alternative.

@steinybot Good point I didn't know.
Only Linux, BSD, OSX available

Zinit is great. I've been using it for a while now. It took me a while to get a hang of the configuration though. The documentation has gotten a lot better.

This link (removed) in your comment seems to redirect to something that at a minimum, ublock doesn't like.
Posting the github URL here for reference: https://github.com/zdharma/zinit
The documentation seems to be hosted on github.io now, here: zdharma.github.io/zinit/wiki/
Possibly related to the comment I'm replying to: https://github.com/zdharma/zinit/issues/494

For anyone else that stumbles upon this thread, it seems Zinit may also be deprecated now, at least based on https://github.com/zdharma/zinit

Zinit Legacy. Use ZI instead

https://z-shell.pages.dev/ refers to https://github.com/z-shell/ on GitHub, and seems to refer to these 3 repos as being the main places to look:

https://github.com/z-shell/community

Seems to be source/related for https://z-shell.github.io/community

https://github.com/z-shell/zw

Seems to be related to a zsh wiki

https://github.com/z-shell/zi

Seems like it may be the actual replacement for zinit
"A Swiss Army Knife for Zsh"

I haven't deeply explored/used any of this yet, so do your own research.

Now zinit is living here: https://github.com/zdharma-continuum/zinit

Since I keep stumbling my way back to this thread, here is an awesome-list of other zsh frameworks/plugin managers if the above don't suit peoples needs:

https://github.com/unixorn/awesome-zsh-plugins#frameworks


what's the version of Eigen and ceres ?

hello!I want to ask a question!what's the version of Eigen and ceres ?thank u.

Hi, the code was successfully tested under Eigen 3.4 and Ceres 2.0. Earlier versions of Eigen also probably work, but I have not tested Ceres 2.1.


Keeping track of sessions notes

I agree with @bfranceschiello that taking notes about sessions should be easy.
With that goal in mind, I think the spreadsheet is suitable.
Feel free to debate other options here.
If the team agrees, then we need to prepare the barebone of this spreadsheet.

Do you think we could make use of the _scan.tsv files (see here) and _session.tsv files (see here) from the BIDS specification ?
Let's say we have _scan.tsv templates ready to be filled for each session, then, if there's an issue, the operator can add a comment for the specific scan that went wrong. Then we may report any unusual stuff in the _session.tsv to have an overview.

@oesteban I would go with Option1. We already have a lot on our plate, let's keep it simple.
One element I was worried about spreadsheet: What if someone accidentally erases comments for a previous session?
To avoid this mistake, I suggest we should lock cells when we finish a session.
Then, to bridge with your comment @acionca, David Kennedy from the ReproNim team suggested that once you have the spreadsheet you can automatize the recording of that information into the BIDS dataset using ReproSchema. That's a lead we can maybe investigate.

The CNeuroMod team have a nice scanning issues template. I think we should also prepare a checklist of possible issues in our spreadsheet.


Access Drives properties by right clicking widgets

We should be able to access Drives properties by right clicking their widgets, just like we can currently do with drives in the sidebar.
App Version: v0.19.0
Windows Version: Windows 10 20H2

@SOI7 This feature was implemented with #3285.

@SOI7 This feature was implemented with #3285.


Automatically add new line to scripts

As stated in #27476:
"For better compliance and ease of use with editorconfig and git, i would like it if godot automatically added a new empty line to the end of any script that does not have it."
"Insert Final Newline On Save" must be set to true in Editor->Editor Settings->Text Editor->Files
Other than that, I also added a missing "if" before trimming whitespaces when choosing "Save File as" (editor/plugins/script_editor_plugin.cpp, line 1055).

While this is a good idea, I'm not sure if we need an editor setting for this; it should probably just be enabled by default. It shouldn't cause any practical issues (and the change will be documented in the changelog anyway).

@Calinou If one of the objectives of the commit is compliance to the EditorConfig, I think it should be an option.

I also think it might not necessarily need to be optional. I don't see much use case for not wanting a newline at the end of the file if that's something that the editor handles seamlessly (so you'll never see newlines added in your diffs since they will already have been there in the first place - unless you use an external editor on non-Unix which does not add final newlines).
And not making optional would greatly reduce the amount of code needed for this change, as it the newline insertion would only need to be called upon save for text-based scripts.
If we do see use cases for turning it off, I'm ok with having it as an option but I would make it opt-out (so true by default).

I personally prefer to make it opt-out. Even through it's a small detail, I feel like the developer should have  the option to turn it off if he desires; I don't see any reason why we shouldn't allow him to disable it (unless I am missing how important it is to reduce the code amount as stated by @akien-mga).

Newlines should probably always be enforced. I don't see any use case for not having them.

What bothers me is that I don't see any reason why newlines should be enforced while trimming the whitespaces should not, either both should be or neither. Even Travis fails if you leave trailing whitespaces, so why not enforce them?
That aside, since that's what the majority want, I will remove the setting.

@DarknessCatt The reason we don't make everything configurable is that we'd like to keep the Editor Settings easy to browse (and avoid "choice paralysis" that's incurred by having too many niche settings).

Done, now it always add a new line (on save) when necessary.

Literally NONE of my scripts have a newline at the end, so this will impact my projects a lot. Am I alone? :<

@KoBeWi You can fix all line endings with a single commit and be done with it :slightly_smiling_face:

You should just be able to open each file and save it to give it a newline. But if you don't update, projects should still run fine without the newline, it only ensures files have it if they're saved.

Thanks!


P0356 Simplified partial function application

Add implementations of bind_front/bind_back
Replace some uses of bind by bind_front/bind_back

See http://open-std.org/JTC1/SC22/WG21/docs/papers/2017/p0356r2.html

This something that shouldn't hold back this PR, but I'd like to see similar facilities usable with actions.


Constructor changes

I think that having separate methods to define record types and transform functions are unnecessary and that they should be defined up front in the constructor. This makes setup more declarative, removes possible user error of redefining types and transforms, and also allows the adapter connect method to be automatically called upon instantiation.
The new constructor could look like this:
fortune({
  adapter: { ... },
  serializers: [ ... ],
  types: {
    user: { ... } // record type definition
  },
  transforms: {
    user: { input, output }
  },
  settings: { ... }
})
.then(instance => { ... })

This makes connect to be called automatically, removes defineType, transform, transformInput, transformOutput, and would require a new major version. I would also like to remove the deprecated create method as well.
I'd also like to change the return value of the default export, it should return a Promise which resolves to the instance when connection is done.
Overall these changes would reduce unnecessary complexity in instantiating Fortune.js.

Refer to #166.


Add FormModel.fieldDefaults config

There are not that many config options on FormField that can be set, but it might still be useful (and consistent with other areas in the code) to support a fieldDefaults config object in the FormModel ctor.
An example use case I've encountered is where we want all but one field in the model to be readonly. We can't set readonly:true at the model level since that would not allow for our one exception, so we must set for each field except the one that needs to change.

We already have a fieldDefaults for contained FormFields on the Form.
Do you mean you want a fieldDefaults for the FieldModels in the FormModel?
Overuse of the word field definitely hurting us here.

Closing as not a high-value change, and would add some net confusion given existence of Form.fieldDefaults prop


Update export.md

Changed title
Revision needed
This section could be more specific.
Export to youtube, Export to Postproduction, Compressor, etc.

Thanks!


terraform: remove broken tests

Motivation for this change
Followup after #24505
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Any idea why they're broken? Does upstream know?

This worked for me fwiw

It's related to sandboxing. The vsphere tests assume that there is a /tmp
available and the other one networking.
On Tue, 4 Apr 2017, 04:08 Daniel Peebles<EMAIL_ADDRESS>wrote:

Any idea why they're broken? Does upstream know?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/24609#issuecomment-291381648, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAMsKXwA6HJqfimSvE5ttHmQn9HWyq_ks5rsbRCgaJpZM4MyL88
.


Comparision to softmoth/zsh-vim-mode

Can you please say how this plugin compares to softmoth/zsh-vim-mode?
Why did you create this plugin given a similar one already existed?
Which features are added/missing in this plugin?  What about meta-features like quality, speed, etc?
[Not following the template as this is a meta-issue, bit I did read the README]

As my personal experience after using both of these plugins for couple of days. I think the plugin here is better than softmoth's one. softmoth's vi mode plugin is a bit laggy on my machine. But jeffreytse's one work smoothly out of the box, even when running in termux on my Android phone.

Hi @HaleTom, thank you for your issue, and this issue is the same as #98 : )

Hi @SirZenith thanks for sharing your experience on using this plugin. Hope you have a good day! : )


DateTimeConverter parses a string containing a timestamp with a timezone even if the TargetType is string

Description
Context:
In a Cosmos DB triggered function, Azure function receives an IReadOnlyList<Poco>,
Poco is defined as:
public record Poco
{
    public string Id { get; set; }

    public string DateAsString { get; set; }
}

Although property DateAsString is of type string and, as I understand, should not be converted by DateTimeConverter since the target property is not DateTime or DateTimeOffset, it still gets parsed and consequently its timezone info is converted to the local timezone.
Steps to reproduce

Create a new Cosmos DB triggered Azure function, e.g.:

using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Logging;

namespace AzureFunctionTest;

public class MyCosmosDbTrigger
{
    private readonly ILogger _logger;

    public MyCosmosDbTrigger(ILoggerFactory loggerFactory)
    {
        _logger = loggerFactory.CreateLogger<MyCosmosDbTrigger>();
    }

    [Function("MyCosmosDbTrigger")]
    public void Run([CosmosDBTrigger(
            databaseName: "MyDatabase",
            containerName: "MyContainer",
            Connection = "CosmosDbConnectionString",
            LeaseContainerName = "leases",
            CreateLeaseContainerIfNotExists = true)]
        IReadOnlyList<Poco> input,
        FunctionContext context)
    {
        foreach (var document in input)
        {
            this._logger.LogInformation(document.ToString());
        }
    }
}

Define Poco as:

public record Poco
{
    public string Id { get; set; }

    public string DateAsString { get; set; }
}

Create a document in container MyDatabase.MyContainer:

{
    "id": "1",
    "dateAsString": "2024-04-29T11:46:02+08:00",
    "_rid": "NNRYAJ5akvwDAAAAAAAAAA==",
    "_self": "dbs/NNRYAA==/colls/NNRYAJ5akvw=/docs/NNRYAJ5akvwDAAAAAAAAAA==/",
    "_etag": "\"00000000-0000-0000-0e7c-920b07b101db\"",
    "_attachments": "attachments/",
    "_ts":<PHONE_NUMBER>
}

Observe the output of the function:
Poco { Id = 1, DateAsString = 2024-04-29T06:46:00+03:00 }
and notice that the timezone has been converted.

Closing as duplicate https://github.com/Azure/azure-functions-dotnet-worker/issues/2442


Point cloud rendering

Towards better point cloud management, add ponca kdtree

The screen shots seems to show kdtree split is always on the same axis.
On common heuristic is to choose longest dimension to split, or simply round robin on x y z


Add logo

This PR adds a logo to the project. Also found a typo in the readme 💯

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #17   +/-   ##
=======================================
  Coverage   82.81%   82.81%
=======================================
  Files           6        6
  Lines         227      227
=======================================
  Hits          188      188
  Misses         39       39

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 72c5d99...5734745. Read the comment docs.


New language: custom log

Hi,
This issue is rather - nice to have - type, probably important to more ...
There are many application logs which use keywords like: OK, Passed, Error, Warning, Failed, Info, Debug, Missing, True, False
Would be nice to have such "system language" which highlighted:

in red: Error, Failed, Missing, False
in yellow: Warning
in green: OK, Passed, True
in blue: Info, Debug

Best regards, Robert

The core team doesn't have a plan for ongoing development of new syntaxes (typically it's all we can do to keep up with support, issues, PRs, etc) - building support for new languages is mostly up to the larger community.  If you'd really like to see this language, perhaps you know a developer who'd be willing to put in the time to develop and maintain a grammar for it?
Because of this fact we close issues like this (preferring a single wish list) rather than have these linger potentially forever on the issue list.
Pretty sure someone was already working on this idea though:

If you'd like to add this to the wishlist, please do:
https://github.com/highlightjs/highlight.js/wiki/Grammar-Requests


Set warnings : Unify epoch numbers to be zero-based : #675

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[x] Did you read the contributor guideline?
[x] Did you make sure to update the docs?

What does this PR do?
Fixes #675 .
Others
Zero-based unification will be done in v0.8.0.

what is the difference to past #785?

what is the difference to past #785?

I'm sorry, I closed #785 by mistake, so, and then opened a new PR #786.

well, next time rather reopen the issue then create its twin... ;)

Thank you, I'll do next time...


IOS - The text overlaps with "Name, email, or phone number" header

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Copy an email address to your clipboard (iPhone)
Open New Expensify App
Tap magnifying glass icon in top right (search)
Paste the email address
This is hard to reproduce consistently but I caught it on video

Expected Result:
The pasted text should not overlap with the header text.
Actual Result:
The pasted text overlaps with the header text (sometimes).
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native iPhone (13 mini)
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @michaelhaxhiu
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695902391067959
View all open jobs on GitHub

I cannot reproduce it but @michaelhaxhiu. Any nuance on how you did reproduce it? Because if not - I am not sure how we would fix it or show we fixed it.

FWIW, I tried repro'ing this on an iPhone 13 Mini on browserstack and couldn't. Using a variation of email addresses with numbers and letters, uppercase, lowercase etc.

I think we pop this on needs reproduction, close, and Hax can retest on his device when he's back.


Implement MsgCollStats for Tigris

Description
This PR closes #770.
In this PR:

the necessary functionality;
a bit of refactoring: fetchParam and fetchStats are moved to tigrisdb to make tigrisdb a bit more similar to pgdb;
more test cases for DBStats (not only DocumentsStrings but also DocumentsDocuments and Doubles).

Readiness checklist

[x] I added tests for new functionality or bugfixes.
[x] I ran task all, and it passed.
[ ] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

And run task fmt lint


Accept mesos task status update

We need this to be able to write proper integration test against mesos (and hello world framework).
JIRA: MARATHON-8580

@alenkacz marking this as WIP since there's the pending test

Just a nit. You don't need to label it as WIP since Github has Draft Pull Requests now. See https://github.com/mesosphere/usi/pull/51.

I am not sure I'll be able to finish this until Thursday, when I am out of maintenance so if you have spare cycles, feel free to pick it up...

@alenkacz i worked on this today to push this forward to unblock the integration tests.
@timcharper this PR addresses a very small part of DCOS-48846, i will follow up with another PR for the remainder of it and add more test cases as well.
PTAL


SDS integration?

In the presentation it was mentioned that the documentation would be updated by the end of last week to include SDS integration.  It's still not here.  Any ETA?

Is there any news on implementing microsoft-teams-apps-classroom-dropin with SVS (v2.0)?

Is there any news on implementing microsoft-teams-apps-classroom-dropin with SVS (v2.0)?

I am also looking for this information.

Is including integration with SDS on the roadmap?


revert keycloak version

https://ricardo-ch.slack.com/archives/C01RF2YDHGR/p1650551751460809
not everything is ready to do the upgrade to this version. therefore i revert the changes to not block community from deploying.

@michaelkuechler  that is a good idea


NSwag produces invalid OpenAPI Specification

Describe the bug
when copying the swagger.json (in NSwag test project) into editor.swagger.io, it is noted that the swagger.json file is not correct.
To Reproduce
Steps to reproduce the behavior:

Go to https://editor.swagger.io (use new editor)
Copy and paste the swagger.json from Microsoft.AspNetCore.Datasync.NSwag.Tests into editor.
Note errors.

Expected behavior
The swagger.json that is generated should be free of validation errors.

Corrected in 562afbe


req.raw.cf types broken in 3.12.4

What version of Hono are you using?
3.12.4
What runtime/platform is your app running on?
Cloudflare Workers
What steps can reproduce the bug?
import { Hono } from 'hono';

const app = new Hono();

type Variables = { userConfig: DataSchema }

app.use('*', async (c, next) => {
        const userConfig = { userCountry: c.req.raw.cf.country };
	c.set('userConfig', userCountry);
        await next();
});

export default app;

What is the expected behavior?
To get user country without type errors
What do you see instead?
In version 3.12.4, the following TypeScript error is thrown:
Property 'cf' does not exist on type 'Request'.     ts(2339)
Additional information
This was mentioned before on 3.7.4, but it was fixed.

Hi @berzanskaite
I can't reproduce it. It's not a bug.

Maybe your project setting is wronge. Try to make your project with npm create hono@latest.

I have the same issue in my project, also create hono seems to fail on codesandbox:
✔ Which template do you want to use? › cloudflare-workers
/usr/local/share/.config/yarn/global/node_modules/create-hono/bin:10787
          throw new DegitError(`could not find commit hash for ${repo.ref}`, {

No I mean I have the same issue as @berzanskaite, the create hono thing was just a sidenote as I wanted to try it on a fresh installation.

Sorry! The tsconfig.json is right? Should include "@cloudflare/workers-types" to types.
{
  "compilerOptions": {
    "target": "ESNext",
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "strict": true,
    "lib": [
      "ESNext"
    ],
    "types": [
      "@cloudflare/workers-types"
    ],
    "jsx": "react-jsx",
    "jsxImportSource": "hono/jsx"
  },
}

Yes, the tsconfig is fine, I've also installed the "@cloudflare/workers-types": "4.20240129.0",  package and using hono 3.12.12.

@Zerebokep
Hmm. Weird. I will let you know if I find out.

@yusukebe problem exists if you have webworker in lib


Missing excel file extension in excel export

SQL Operations Studio Version: sqlops 0.26.7 (723c7cb3bfd80d87fc8a1141632089cd4808495c, 2018-02-16T21:34:47.034Z)
OS Version: Windows_NT x64 10.0.16299
Extensions: none

Steps to Reproduce:

Create a SELECT statement
Click "Save as Excel"
Write a name in dialogue
Hit "Save"

The excel file will now be saved without the proper file extension.
The same goes for JSON and CSV file exports.

I can confirm this one still repros. We need to add a check for file path and append the default value if none exists.

This looks related to #615.  The default export file does contain the proper extension, but if the file is renamed we don't auto-append it.

This doesn't appear to repro on the latest release.  Please let us know if you are still impacted by this bug.


Correctly setup CORS for the webui

The WebUI currently misconfigures CORS if --http-enable-cors is enabled, as it will only accept 'external' requests from localhost.
Look into providing a cleaner method of allowing users to define acceptable hosts (defaulting to localhost if none are defined).

This is implemented in 2398593 - Scheduled for release in 0.10.0

Does this issue still need work? I would be willing to try this out if needed.

Yea, this is still needed (you can't load profiles in the UIs Dev mode when bind address is set), so I'd appreciate any help :)

Sounds good, if you have any ideas on where to start looking for this too I would appreciate that. Feel free to assign this to me for now

You'll need to start in cli.rs to add a new command line parameter which allows for a list of strings (might be best to check the clap documentation to see if there's a native way to handle that), then in main.rs, similar to the bind address, have defaults if cors is enabled but that CLI value is not set. Pass it into the HttpSettings struct, then inside the web server code adjust the CORs settings based on the values.

Thanks for the tips, I will start reading up the codebase, also wondering if there were any particular guidelines on branches/branch names or anything I should keep in mind before I start writing anything?

Nothing overt at the moment, the main key is that you'll want to make sure you're working off the latest Dev branch (dev-1.0.0 currently) and send your PR into that branch, once 1.0 is released I may tighten that up a bit, but for now it's sufficient.


Values are updating after too long time

Hello,
in my HA Multimatic integration I have set up 2 minutes for scan. But unfortunately many times happend, that the values are updating after many hours /5-8/ and I can´t find the reason. The problem concers maily energy consuption sensors and control sensors. F.e. the outside temperature and the another temperature sensors are showing correct values just in time... If I make manual new update in the setting of the integration, I get immediately new mainly correct values which are the same as I can see in the Vaillant App and on the VR700/6 unit of my heating pump.
Thank you for help.
LK

Hello,
could you try to call the multimatic.request_hvac_update. This service is used to request "data refresh" from vaillant server.
I have an automation which is calling this service every hour.
Do you have any error in the logs ?

Hello,
I tried to call the service but no visible changes - f.e. the circulation sensor last update before 3 hours. But if I make restart of HA, or new update of the Multimatic integration I have on each sensor new values.  I log no errors related to Multimatic integration.
LK

I see the same in my integration as @lklimt. I defined an automation, which successfully triggers multimatic.request_hvac_update_212221002026096509xxxxxxxxn9 service every 5 minutes. But it doesn't resolve the issue: still I see not refreshed data with no errors/warnings in the log.

I think every 5min is too frequent. This service is called when you open your mobile app, this is why there are some delay before you can see correct data in the mobile app.
There is no doc about it, but I'm pretty sure it is not aimed to be called so often?
@Krzysztonek @lklimt are you using sensoAPP or multimatic ?

multimatic

are you using sensoAPP or multimatic ?

Yes, I'm using multiMATIC app only.
And I've just changed this update frequency parameter to 60 min.

in the log I found more lines with:   Unexpected error fetching multimatic_emf_reports data: Unable to authenticate at https://smart.vaillant.com/mobile/api/v4/account/authentication/v1/authenticate, status: 401, response: {"errorCode":"NOT_AUTHORIZED"},payload: None
Looks llike, there are some problems with authorization on the Vaillant server - but not all time, most time I can get fresh datas...


Version bump smithy-rs

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I don't understand why @awslabs/rust-sdk-owners is still required as an approver after https://github.com/awslabs/smithy-rs/pull/1618.
I'm going to try closing and reopening the PR.

No luck. I've created https://github.com/david-perez/testing-codeowners to debug CODEOWNERS behavior. We can cut an issue to https://github.com/github/docs/issues if it turns out the documented semantics are incorrect.

We could create a third group that includes the members of both groups and assign that group to the gradle.properties file in CODEOWNERS.

Oh never mind, it appears that it worked once CI finished. This is what I'm now seeing in my GitHub UI: it says @awslabs/rust-sdk-owners is a pending reviewer, but the "Squash and merge" button is now not greyed out.


Analysis server doesn't run macros correctly when they're provided through an "export"

Hello!
It appears that using export 'macro.dart' breaks the "Go to augmentation" codelenses.
You could define any macro:
// macro.dart
macro class Example {
...
}

Then re-export it in a different file:
// foo.dart
export 'macro.dart';

And finally import the macro through the export:
import 'foo.dart';

@Example()
// No "Go to augmentation" shows up here
class MyClass {}

cc @DanTup

@rrousselGit are you sure the macro is running? While I can reproduce the CodeLens not appearing, it also seems like the macro is not running (because here, "hello" becomes an error):
https://github.com/dart-lang/sdk/assets/1078012/f099ae02-db25-42f0-bf91-55f1af9cf3e0
The behaviour I'm seeing doesn't seem like just a CodeLens issue, but I don't know if it's the same as what you're seeing.

This is more than a codelense issue yes.
But if you run the code, it works:
You can dart --enable-experiment macros lib/foo.dart just fine. So the error is purely on the analyzer side

Ah, gotcha. I've updated the title then - seems to be something wrong with the analysis server running the macro and not as I first suspected with the generation of LSP CodeLenses.
(cc @scheglov)

I can reproduce it.

https://dart-review.googlesource.com/c/sdk/+/366901


I cant pair my move controller,

I read up that its the version of windows im on but i cant roll back because i need this version so i can use xbox gamepass. Is there anything I can do?

I have the same problem, before it connects very well but now it does not connect for anything. I tested on windows 8 and connects first and super fast

I have the same problem, before it connects very well but now it does not connect for anything. I tested on windows 8 and connects first and super fast

I managed to fix mine the other day by pairing my controllers using two separate USB hubs

liamd16  how were you able to fix the controller issua again?

liamd16 how were you able to fix the controller issua again?

I have 2 USB hubs on my pc one at the back one at the front, I connected 1 controller in the back one and one in the front and it started working for me.


Managed cluster is unreachable from primary cluster

Environment
fedmaster: k8s v1.23.6
fedworker: k8s v1.19.13
Describe the bug
The following error occurred when I added from the remote cluster to the host cluster：
Failed to join: Managed cluster is unreachable from primary cluster
To Reproduce
kubectl logs neuvector-controller-pod-fdc9b855c-hqt4x -n neuvector | grep ERRO
2023-01-16T02:08:01.593|ERRO|CTL|rest.handlerJoinFed: - data={"code":40,"error":"Managed cluster is unreachable from primary cluster","message":"Managed cluster is unreachable from primary cluster"} localPort=11445 localServer=<IP_ADDRESS> proxyUsed=false statusCode=503
2023-01-16T02:08:22.993|ERRO|CTL|rest.sendReqToMasterCluster: Request failed - proxy={proxyUsed:false enabled:false url:} status=503 Service Unavailable timeout=50s url=https://<IP_ADDRESS>:11445/v1/fed/join_internal
2023-01-16T02:08:22.993|ERRO|CTL|rest.handlerJoinFed: - data={"code":40,"error":"Managed cluster is unreachable from primary cluster","message":"Managed cluster is unreachable from primary cluster"} localPort=11445 localServer=<IP_ADDRESS> proxyUsed=false statusCode=503
2023-01-16T02:08:47.634|ERRO|CTL|rest.sendReqToMasterCluster: Request failed - proxy={proxyUsed:false enabled:false url:} status=503 Service Unavailable timeout=50s url=https://<IP_ADDRESS>:11445/v1/fed/join_internal
2023-01-16T02:08:47.634|ERRO|CTL|rest.handlerJoinFed: - data={"code":40,"error":"Managed cluster is unreachable from primary cluster","message":"Managed cluster is unreachable from primary cluster"} localPort=11445 localServer=<IP_ADDRESS> proxyUsed=false statusCode=503
2023-01-16T02:09:15.854|ERRO|CTL|rest.sendReqToMasterCluster: Request failed - proxy={proxyUsed:false enabled:false url:} status=503 Service Unavailable timeout=50s url=https://<IP_ADDRESS>:11445/v1/fed/join_internal
2023-01-16T02:09:15.854|ERRO|CTL|rest.handlerJoinFed: - data={"code":40,"error":"Managed cluster is unreachable from primary cluster","message":"Managed cluster is unreachable from primary cluster"} localPort=11445 localServer=<IP_ADDRESS> proxyUsed=false statusCode=503

This is my yaml file for remote cluster：
apiVersion: v1
kind: Service
metadata:
  name: neuvector-service-controller-fed-master
  namespace: neuvector
spec:
  ports:
  - port: 31443
    name: fed
    protocol: TCP
    targetPort: 31443
    nodePort: 31445
  type: NodePort
  selector:
    app: neuvector-controller-pod

---

apiVersion: v1
kind: Service
metadata:
  name: neuvector-service-controller-fed-worker
  namespace: neuvector
spec:
  ports:
  - port: 30443
    name: fed
    protocol: TCP
    targetPort: 30443
    nodePort: 30445
  type: NodePort
  selector:
    app: neuvector-controller-pod

This is my yaml file for primary cluster：
apiVersion: v1
kind: Service
metadata:
  name: neuvector-service-controller-fed-master
  namespace: neuvector
spec:
  ports:
  - port: 11443
    name: fed
    protocol: TCP
    targetPort: 11443
    nodePort: 11445
  type: NodePort
  selector:
    app: neuvector-controller-pod

---

apiVersion: v1
kind: Service
metadata:
  name: neuvector-service-controller-fed-worker
  namespace: neuvector
spec:
  ports:
  - port: 10443
    name: fed
    protocol: TCP
    targetPort: 10443
    nodePort: 10445
  type: NodePort
  selector:
    app: neuvector-controller-pod

I make sure the system time has been synchronized
I can ensure that the primary cluster and remote cluster network are interconnected and the corresponding ports are open
We look forward to your reply

NeuVector fed master server listens on port 11443 & controller REST server listens on port 10443 inside the pod.
Your service configuration is incorrect.
For managed cluster:
"neuvector-service-controller-fed-master" is no need because it's not primary cluster
"neuvector-service-controller-fed-worker" is for controller REST server which listens on port 10443, not 30443
Please refer to https://open-docs.neuvector.com/navigation/multicluster


map

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
Please provide a clear and concise description of what the bug is. Include screenshots if needed.
Please test using the latest React Native release to make sure your issue has not already been fixed: https://reactnative.dev/docs/upgrading.html
React Native version:
Run react-native info in your terminal and copy the results here.
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Expected Results
Describe what you expected to happen.
Snack, code example, screenshot, or link to a repository:
Please provide a Snack (https://snack.expo.io/), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

This looks like an issue template that hasn't been filled out at all. Can this be closed, please? (Or filled in with some details?) Thanks!


Proper rule for subversion commits regarding white space changes

Modified by dietmarw on 4 Nov 2008 10:35 UTC
Today when applying some changes to the [browser:trunk trunk] I came across a problem which I think really needs be resolved.
Example:
I did some changes in a5c57127932c375db51ed99f3866c107e9cedabb to [browser:trunk /trunk] which I then wanted to merge into the [browser:maintenance/3.0 maintenance/3.0] branch. The problem now was that in commit a5c57127932c375db51ed99f3866c107e9cedabb all trailing white spaces where removed (as it should be) which where still present in Rotational.mo.
Now when I tried to apply a5c57127932c375db51ed99f3866c107e9cedabb to [browser:maintenance/3.0 maintenance/3.0] also previous changes fb633ff97c8bb675bbd9749862bbfa873ebf8754 where included in the merge (because in a5c57127932c375db51ed99f3866c107e9cedabb almost all lines of Rotational.mo were changed) and SVN has no way to tell the difference excluding white space changes. To make future merges possible I had to reintroduce the trailing white spaces ( :( ) in 9a3fb94871ce1233d8b5c2b229793229080def5e again.
So we need a proper rule of how to handle white space changes. The optimal solution would be to only allow commits where no trailing white spaces are present.
Mind the MSL contains a wild mixture of files with and without trailing white spaces. Unfortunately I haven't really found a server side solution which will simply ignore such changes. If somebody knows of such a solution (possibly by applying pre-commit hooks) I'm happy to hear about them and apply them.
The optimum of course would be if the Modelica tools would not introduce trailing white-spaces to start with (unfortunately Dymola does this randomly :(, I don't know about the other tools).

Modified by dietmarw on 11 Sep 2008 08:04 UTC
Today when applying some changes to the [browser:trunk trunk] I came across a problem which I think really needs be resolved.
Example:
I did some changes in a5c57127932c375db51ed99f3866c107e9cedabb to [browser:trunk /trunk] which I then wanted to merge into the [browser:maintenance/3.0 maintenance/3.0] branch. The problem now was that in commit a5c57127932c375db51ed99f3866c107e9cedabb all trailing white spaces where removed (as it should be) which where still present in Rotational.mo.
Now when I tried to apply a5c57127932c375db51ed99f3866c107e9cedabb to [browser:maintenance/3.0 maintenance/3.0] also previous changes fb633ff97c8bb675bbd9749862bbfa873ebf8754 where included in the merge (because in a5c57127932c375db51ed99f3866c107e9cedabb almost all lines of Rotational.mo were changed) and SVN has no way to tell the difference excluding white space changes. To make future merges possible I had to reintroduce the trailing white spaces ( :( ) in 9a3fb94871ce1233d8b5c2b229793229080def5e again.
So we need a proper rule of how to handle white space changes. The optimal solution would be to only allow commits where no trailing white spaces are present.
Mind the MSL contains a wild mixture of files with and without trailing white spaces. Unfortunately I haven't really found a server side solution which will simply ignore such changes. If somebody knows of such a solution (possibly by applying pre-commit hooks) I'm happy to hear about them and apply them.
However there does exist a client side solution which is provided as a python script (direct source link) by the Subversion project. This script would remove all trailing white spaces and would have to be run manually by any developer before he commits to the subversion repository.
Attention: Please don't use this as of now because the first one of you to try it and commit will introduce changes to all files with trailing white spaces still present!!!
The optimum of course would be if the Modelica tools would not introduce trailing white-spaces to start with (unfortunately Dymola does this randomly :(, I don't know about the other tools).

Reported by dietmarw on 10 Sep 2008 14:54 UTC
Today when applying some changes to the [browser:trunk trunk] I came across a problem which I think really needs be resolved.
Example:
I did some changes in a5c57127932c375db51ed99f3866c107e9cedabb to [browser:trunk /trunk] which I then wanted to merge into the [browser:maintenance/3.0 maintenance/3.0] branch. The problem now was that in commit a5c57127932c375db51ed99f3866c107e9cedabb all trailing white spaces where removed (as it should be) which where still present in Rotational.mo.
Now when I tried to apply a5c57127932c375db51ed99f3866c107e9cedabb to [browser:maintenance/3.0 maintenance/3.0] also previous changes fb633ff97c8bb675bbd9749862bbfa873ebf8754 where included in the merge (because in a5c57127932c375db51ed99f3866c107e9cedabb almost all lines of Rotational.mo were changed) and SVN has no way to tell the difference excluding white space changes. To make future merges possible I had to reintroduce the trailing white spaces ( :( ) in 9a3fb94871ce1233d8b5c2b229793229080def5e again.
So we need a proper rule of how to handle white space changes. The optimal solution would be to only allow commits where no trailing white spaces are present.
Mind the MSL contains a wild mixture of files with and without trailing white spaces. Unfortunately I haven't really found a server side solution which will simply ignore such changes. If somebody knows of such a solution (possibly by applying pre-commit hooks) I'm happy to hear about them and apply them.

Migrated-From: https://trac.modelica.org/Modelica/ticket/105

Modified by dietmarw on 11 Sep 2008 08:04 UTC

Comment by dietmarw on 12 Sep 2008 09:26 UTC
My colleague Henrik Isernhagen played a bit with the python script and found out that it's does not have the wanted effect of also removing the trailing white spaces in addition to updating the properties. We might provide a custom version of that script which actually does strip the trailing white spaces (using rstrip function).

Comment by dietmarw on 22 Sep 2008 10:10 UTC
I've attached a simple [attachment:trimAllWhitespace.py Python script] (kindly provided by a friend) that will recursively get rid of all trailing white spaces in a given directory. Hereby it excludes directories which only server for version control (currently .svn and .git directories).
Now as some people might not have python installed on their Windows machines it would be nice to have a Windows executable of that script available. But as I have no experiences in this field perhaps somebody else could help out and attach it here.

Comment by dietmarw on 22 Sep 2008 16:11 UTC
I deleted the attached python script as, in the current state, might corrupt all binary files. We are working on a fix for that. The current development stage can be monitored here.

Comment by HansOlsson on 23 Sep 2008 09:55 UTC
Please note that trailing white space is not always semantically meaningless in Modelica - it is only true outside of strings and quoted names, and in contrast to many other computer languages strings can span multiple lines.
I find it unlikely that someone has used trailing white spaces in strings, but I cannot rule it out entirely.

Comment by dietmarw on 23 Sep 2008 10:23 UTC
Replying to [comment:5 HansOlsson]:

Please note that trailing white space is not always semantically meaningless in Modelica - it is only true outside of strings and quoted names, and in contrast to many other computer languages strings can span multiple lines.
I find it unlikely that someone has used trailing white spaces in strings, but I cannot rule it out entirely.

Good point, I'll try to include this / test the impact of this. Perhaps Dymola could also be improved with respect to trailing white spaces.

Comment by dietmarw on 29 Sep 2008 15:17 UTC
Hans, I looked into this a bit and can't think of any case where a striped white space from a multi-line string would do any harm. So depending on  how hard the implementation for an don't- strip trailing white spaces within strings-exception is, I'm going to ignore this for now.

Modified by dietmarw on 2 Oct 2008 09:26 UTC

Comment by dietmarw on 4 Nov 2008 09:19 UTC
OK I now successfully finalised the python script which will removed safely all trailing white spaces from all text files. It uses libmagic for the detection of file types.
Now as libmagic is normally not installed on Windows machines (there exist a Windows-port though), the script automatically falls back to only remove files with the following extensions: ".mo,.mos,.c,.h,.cpp,.txt" (as of Version v0.1).
Download
The python source can be obtained as zip-file or as tar-ball.
I've also created a Windows binary which is attached as [attachment:TrimTrailingWhitespaces-0.1.zip zip-archive] or [attachment:TrimTrailingWhitespaces-0.1.exe installer] (just extracts the content to a customisable directory).
Installation
Simply extract the content of the source or executable to a directory of your choice (putting that directory into your PATH variable might be a good idea to make the call easier) and your are done.
Usage
Simply call either ttws.exe or ttws.py from the install directory (or on its own if you added the directory to the PATH) which will display further information:
Usage: ttws.[exe|py] [OPTIONS]
 This script will recursively remove all trailing white spaces in all
 text files in a given directory. Binary files and files residing in
 '.svn' or '.git' directories are skipped.

Note for Windows users:
 If you have not libmagic installed the script will fallback to only
 trim files with the following extensions:  ".mo,.mos,.c,.h,.cpp,.txt"

Options:
	-h, --help
		displays this help message

Extensions
If you like to add some extensions to the script, I would be happy to accept and incorporate those into the source. Especially if Windows users like to have this script to act on other text files than the current types given in the fallback version but don't like to use python then just send those requests to me. Also if you think you found a bug...reports and patches are warmly welcome :).
For those familiar with the version control system Git can pull the source from here using:
git clone git://github.com/dietmarw/trimtrailingwhitespaces.git
Disclaimer
As quite usual for open source project use the code at your own risk and it comes under the terms of the WTFPL-License.

Modified by dietmarw on 4 Nov 2008 10:35 UTC

Comment by mtiller on 4 Nov 2008 19:41 UTC
Dietmar,
In your original description you say "SVN has no way to tell the difference excluding white space changes."  I'm not sure exactly what you mean, but is this not sufficient?  Presumably there is something more insidious going on but I just wanted to make sure.

Comment by dietmarw on 6 Nov 2008 10:23 UTC
Mike,
you are right, I've overlooked this option. Strangely enough the option does not work with the current TortoiseSVN version (or I'm just not doing it right, no matter if the check box "Ignore all whitespaces" is set or not it still will merge a trailing white space). Doing it via subversion command line works though:
svn merge -x -w uri://to/branch/to/be/merged /path/to/working/copy

Still the python script might be useful for people who get really annoyed by Dymola's "feature" to introduce random trailing whitespaces (add(I know there are quite a few out there) if they got there own code under version control and only want to check in their real changes.

Comment by dietmarw on 10 Nov 2008 11:46 UTC
Although I would still like to see white spaces changes being baned I have to acknowledge that whitespace changes are not really a show stopper when it comes to merging. So it's more a question of style and thus I will close this issue as "worksforme"
(I wish there would be something like "worksforyou" really ;) )

Comment by dietmarw on 20 Apr 2010 09:56 UTC
Latest versions of the TrimTrailingWhitespace tool are now available on the ModelicaDevTools page.


Determine detector tilt angles

Description
2-D detectors are never perfectly perpendicular to the incident beam (call it z).  In order to compute pixel positions, the detector rotation about the x- and y- directions need to be taken into account.
Problems to be solved

[ ] Determine if code exists to compute detector tilt angles from a calibration standard
[ ] Wrap that code if possible

Otherwise:

[ ] Figure out what calibration standards are required
[ ] Write code to compute detector tilt angles from the required calibration standards

See Also
#41

A more thorough description of this issue is in #119. Head over there to follow progress.


grafana-loki: 2.9.1 -> 2.9.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/grafana-loki/versions.
meta.description for grafana-loki is: Like Prometheus, but for logs
meta.homepage for grafana-loki is: https://grafana.com/oss/loki/
meta.changelog for grafana-loki is: https://github.com/grafana/loki/releases/tag/v2.9.2
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.9.2 with grep in /nix/store/sixrmv0dbdd01x2vj0qnzxx72a6rbi77-grafana-loki-2.9.2
found 2.9.2 in filename of file in /nix/store/sixrmv0dbdd01x2vj0qnzxx72a6rbi77-grafana-loki-2.9.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
grafana-loki
promtail

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sixrmv0dbdd01x2vj0qnzxx72a6rbi77-grafana-loki-2.9.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A grafana-loki https://github.com/r-ryantm/nixpkgs/archive/26e4c27cd6ad36a2408e557bfcb213e7bf1b1df9.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/26e4c27cd6ad36a2408e557bfcb213e7bf1b1df9#grafana-loki

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sixrmv0dbdd01x2vj0qnzxx72a6rbi77-grafana-loki-2.9.2
ls -la /nix/store/sixrmv0dbdd01x2vj0qnzxx72a6rbi77-grafana-loki-2.9.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

grafana-loki
promtail

Maintainer pings
cc @WilliButz @globin @mmahut @emilylange @ajs124 for testing.

release-23.05 is still on 2.8.x, which still seems supported but hasn't had a release for these issues yet

release-23.05 is still on 2.8.x, which still seems supported but hasn't had a release for these issues yet

@ajs124^
https://github.com/grafana/loki/releases/tag/v2.8.6 just got released :)
(I skipped 2.8.5 as it only contained a docker image fix)
Do you want to create a PR or should I? :)

Feel free. I'm kind of busy this week.

#261891


FLINK-4417 Checkpoints should be subsumed by CheckpointID not, by timestamp (Ram)

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

The Checkpointcoordinator#dropSubsumedCheckpoints() now works with the Checkpoint id. Since we have changed to checkpoint id the condition is changed from '<=' to '<'.
In JobManager.scala - the DeclineCheckpoint case was checking for true condition - ideally it should be checking for false condition.
Feedback/review welcome. @StephanEwen- were you thinking some bigger change than this?

Looks good to me, merging this.


series is in option

In echarts‘s API, series is part of option.
Why configure them individually? Why not configure them only in option?

In my opinion, line chart and bar chart are different react components.
So they should be separated, and they can be freely combined.

Why not be consistent with Baidu echarts?

I can make it be compatible with echarts.
But in react, components should not be defined in the property.

In my next version，I will be compatible with the echarts's option.


Difficult to navigate to the required files

I am updating the readme file with hyperlinks for easy navigation.

I have created a pull request https://github.com/udacity/DSND_Term2/pull/54/commits


Merge constitution-data into this repository and its GitHub Actions

Done with subdirectory data-fetcher.

The pipeline deploying to staging will use Docker container to freshly fetch data from Google Sheets.
Contributors can fetch data in the same way as pipeline, using ./populate-data.sh.

Further Improvement

./populate-data.sh works only on sh.


[Task] Add hostname entry for the podman VM to the hosts table

We add records to the hosts table to allow the lookup of the VM by the hostname.
We do not add records for the Podman preset. This makes the console commands dependent of the crc ip command or #2895.

https://github.com/code-ready/tray-electron/blob/668ddc234cd9963177350e00676bd5acbb816a2c/main.js#L486
const podmanHost = "podman.crc.testing";

Something similar to this is needed for podman https://github.com/code-ready/crc/blob/acbaf2bf1b412d640d354db0f084930196d16255/pkg/crc/services/dns/dns.go#L136

Part of https://github.com/code-ready/crc/pull/2899 one


Suggested rewording for "Connecting to Tessel..."

When running a cli command, there is a displayed message that says "Connecting to Tessel...", however this doesn't accurately describe the operation that's taking place at that moment. Tessel.get(...) must first "locate" or "look for" a Tessel to connect to.
Suggested rewordings:

"Locating a Tessel..."
"Locating your Tessel..."
"Looking for a Tessel..."
"Looking for your Tessel..."

I'm in favor of option 4: "Looking for your Tessel".

+1 to option 4

I like #4 too, it's got something of a personal touch it :)

"Looking for your Tessel..." sounds good :+1:

Fixed by @chrisbodhi!


Crash on startup with version 1.5.38

Describe the bug (Required)
Starting Minecraft with updated VT version 1.5.38 installed crashes on startup
To Reproduce (Required unless not known)
Steps to reproduce the behavior:

install VT 1.5.38

Crash report (via. Hastebin)
https://gist.github.com/remplerus/206f8e9751c8f0a36ff43bbb62332ef7
Expected behavior (Required)
Starting of client like it should
Versions:(check log if you don't know)

Forge Version: 35.1.37
MC Version: 1.16.4
Mod Version: 1.5.38
JEI Version (if present) : <IP_ADDRESS>

version 1.5.39 fixes the crash.

version 1.5.39 fixes the crash.


TACKLE-566: Case-insensitive sorting in 'manage imports' table

Resolves https://issues.redhat.com/projects/TACKLE/issues/TACKLE-566.
Sorting was actually working properly in this view except that useSortState uses a straight < / > comparison on the strings which is sorting by unicode character id order rather than alphabetical order. This means all uppercase letters are considered to come before all lowercase letters.
Calling .toLowerCase() on the values being compared fixes this, but it might be worth revisiting this to see if localeCompare should be used inside useSortState to prevent this problem in the future. This is something I was considering in https://github.com/konveyor/lib-ui/pull/73#issuecomment-894476380 which I'll try to return to.

Yeah, I'm realizing this means this bug is probably present in most places we're using useSortState in multiple apps. It's just that most of the text fields we're sorting on are k8s resource names which can't have uppercase letters 😆


Maui support?

Hi all,
just to know if there will be support also for .net MAUI.
thanks

I'm using this now in a Maui app and its working fine great. This is what I'm seeing to date:

Macos: Works on the iOS Simulator
Macos: Works on the Android emulator
Windows 11: Android emulator does not seem to support multicast here, so it is not working, but I don't think its a package issue

hi,
thanks for your answer.
are you using version 4.0.4?
I'm not able to install it in the maui project.

Yes, 4.0.4, and using .NET 8.0.100
Here are my packages (not all of them, but these are the Maui ones):

hi,
my errors here:
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.unix.System.Net.Primitives 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Diagnostics.Debug (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Text.Encoding.Extensions from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.unix.System.Net.Sockets 4.3.0 -> System.IO.FileSystem 4.3.0 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Text.Encoding.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Text.Encoding.Extensions (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives 4.0.11 -> runtime.win.System.Net.Primitives 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Collections from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Collections (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Collections (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Diagnostics.Debug (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Diagnostics.Debug (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Net.Primitives from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Net.Primitives (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Net.Primitives (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Resources.ResourceManager from 4.3.0 to 4.0.1. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Resources.ResourceManager (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Resources.ResourceManager (>= 4.0.1)
NU1605: Warning As Error: Detected package downgrade: System.Runtime.Extensions from 4.3.0 to 4.1.0. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Runtime.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Runtime.Extensions (>= 4.1.0)
NU1605: Warning As Error: Detected package downgrade: System.Threading from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.Threading (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Threading (>= 4.0.11)
NU1605: Warning As Error: Detected package downgrade: System.Text.Encoding.Extensions from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.
MyApp -> Rssdp 4.0.4 -> System.Net.Sockets 4.1.0 -> runtime.win.System.Net.Sockets 4.3.0 -> System.IO.FileSystem 4.3.0 -> runtime.win.System.IO.FileSystem 4.3.0 -> System.Text.Encoding.Extensions (>= 4.3.0)
MyApp -> Rssdp 4.0.4 -> System.Text.Encoding.Extensions (>= 4.0.11)
Package restore failed. Rolling back package changes for 'MyApp'.

hi all,
Someone can help me?
thanks

Can you post all your PackageReferences from your csproj?

Hi,
thanks for your answer.
here the list
<ItemGroup>
	<PackageReference Include="AWSSDK.CognitoIdentityProvider" Version="3.7.402.1" />
	<PackageReference Include="ColorPicker.Maui" Version="1.0.0" />
	<PackageReference Include="CommunityToolkit.Maui" Version="9.0.2" />
	<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
	<PackageReference Include="CsvHelper" Version="33.0.1" />
	<PackageReference Include="FirebaseDatabase.net" Version="4.2.0" />
	<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.80" />
	<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.80" />
	<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
	<PackageReference Include="Microsoft.Maui.Controls.Core" Version="8.0.80" />
	<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
	<PackageReference Include="plist-cil" Version="2.2.0" />
	<PackageReference Include="Plugin.InAppBilling" Version="7.1.3" />
	<PackageReference Include="Plugin.LocalNotification" Version="11.1.4" />
	<PackageReference Include="Plugin.NFC" Version="0.1.26" />
	<PackageReference Include="Plugin.StoreReview" Version="6.2.0" />
	<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
	<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.9" />
	<PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.9" />
	<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.0.1" />
	<PackageReference Include="TimeZoneConverter" Version="6.1.0" />
	<PackageReference Include="VideoLAN.LibVLC.Android" Version="3.5.3" />
	<PackageReference Include="VideoLAN.LibVLC.iOS" Version="3.3.18" />
	<PackageReference Include="Xamarin.Build.Download" Version="0.11.4" />
	<PackageReference Include="Xamarin.Firebase.iOS.Analytics" Version="<IP_ADDRESS>" />
	<PackageReference Include="Xamarin.Firebase.iOS.CloudMessaging" Version="<IP_ADDRESS>" />
	<PackageReference Include="Xamarin.Firebase.iOS.RemoteConfig" Version="<IP_ADDRESS>" />
</ItemGroup>

Hi all,
any news on this topic?
thanks a lot!

Hi all,
any news on this topic?
thanks a lot!


Remove graphs from main dashboard

Multiple reason to stop here with this feature. At least with its current implementation.

The main dashboard contains metrics that are not pertinent for all users
It cost too much resource
Take time to maintain
It's not generic

Done and merged in dev branch


Code generated by bpf2c should permit viewing local variables when debugging

Code generated by bpf2c permits source-level debugging of BPF programs but doesn't easily permit viewing local variables.
bpf2c should parse the dwarfv5 data and use data to do register -> local variable mapping for the debugger.

When i compiler the source code, i get this error:
can't find any maps locations in file memory [c:\users\administrator\desktop\ebpf-for-windows\tools\bpf2c\templates\kernel_mode_bpf2c.vcxproj] sample c:\users\administrator\desktop\ebpf-for-windows\tests\sample\exec 1
Windows 10 19041.685
How to solver this ?

@sun363587351 can you please file a separate issue to track this?


[Bug] Twitter UserId should be bigInt

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
In model stg_twitter_organic__tweet - the user_id column is type casted to int. Our twitter user ID is bigint - which means that the model creation fails with "int out of range".
Should keep the user_id as a bigint - it will solve the issue:
So instead of
        cast(user_id as {{ dbt_utils.type_int() }}) as user_id,
do:
 user_id,
Relevant error log or model output
int out of range

Expected behavior
Model build should pass successfully.
dbt Project configurations
Not relevant
Package versions
latest
What database are you using dbt with?
postgres
dbt Version
1.0
Additional Context
No response
Are you willing to open a PR to help address this issue?

[ ] Yes.
[X] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Hi @hourone-bi! Thanks so much for opening this issue.
That is interesting that you are experiencing this issue as I wouldn't have imagined this field to be a bigint value. Unfortunately, we do still want to cast this field to ensure consistency across the various data warehouses. I wonder if leveraging the bigint macro (seen below) will correct this issue.
https://github.com/dbt-labs/dbt-utils/blob/ae6e1b43e6c57ec8afbd550236a1d59ec668df4e/macros/cross_db_utils/datatypes.sql#L73-L85
I see you would be open to creating a PR. If you would like to make the adjustment within the model to use {{ dbt_utils.type_bigint() }} instead of the standard int.
https://github.com/fivetran/dbt_twitter_organic_source/blob/8f84f7533aa78b94ef8a0be9b59209a088a64154/models/stg_twitter_organic__tweet.sql#L54
Let me know if you would like to tackle this PR!

Hey Joe,
Thank you for handling this so quickly. I've did a quick check.
When you replace:
cast(user_id as {{ dbt_utils.type_int() }}) as user_id,
With this line:
cast(user_id as {{ dbt_utils.type_bigint() }}) as user_id,
It will work perfectly.
I'd appreciate it if you can handle the pull request.
Please let me know once an updated version is released - so I can add
twitter back.
Best,
Lior Ash
On Tue, Jun 21, 2022 at 6:47 PM Joe Markiewicz @.***>
wrote:

Hi @hourone-bi https://github.com/hourone-bi! Thanks so much for
opening this issue.
That is interesting that you are experiencing this issue as I wouldn't
have imagined this field to be a bigint value. Unfortunately, we do still
want to cast this field to ensure consistency across the various data
warehouses. I wonder if leveraging the bigint macro (seen below) will
correct this issue.
https://github.com/dbt-labs/dbt-utils/blob/ae6e1b43e6c57ec8afbd550236a1d59ec668df4e/macros/cross_db_utils/datatypes.sql#L73-L85
I see you would be open to creating a PR. If you would like to make the
adjustment within the model to use {{ dbt_utils.type_bigint() }} instead
of the standard int.
https://github.com/fivetran/dbt_twitter_organic_source/blob/8f84f7533aa78b94ef8a0be9b59209a088a64154/models/stg_twitter_organic__tweet.sql#L54
Let me know if you would like to tackle this PR!
—
Reply to this email directly, view it on GitHub
https://github.com/fivetran/dbt_twitter_organic_source/issues/5#issuecomment-1161937551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZF35DN2SPEOAVNUEZJULN3VQHPXNANCNFSM5ZIY43FA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey. Any updates? would be great if this change can be committed...
Best.

Hey @hourone-bi, I apologize for the delay. The PR above is open and we are planning to get it merged by the end of the day!

Hi @hourone-bi the latest release of the package addresses this issue. You should be good to go now!

Amazing - Thank you so much for the quick response and fix!
You're the best.
Lior


Rancher 2.0 GUI not reporting CPU or Memory Usage on nodes

Rancher versions:
rancher/server or rancher/rancher: 2.0.2
rancher/agent or rancher/rancher-agent: 2.0.2
Infrastructure Stack versions:
kubernetes (if applicable): 1.10.1
Docker version: (docker version,docker info preferred)
Server Version: 17.03.2-ce
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Linux version 4.14.32-rancher2 (gcc version 7.3.0 (GCC)) #1 SMP Fri May 11 11:30:31 UTC 2018
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
AWS
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA rancher 3 nodes using m5.xlarge ec2 instances
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:
setup cluster, deploy a bunch of services
Results:
Rancher Stats are not accurate, only showing 9% cpu usage, and 0% memory usage for 243 pods

When looking at aws cpu metrics and top it clearly shows different metrics

Expiriencing same issue, and thats lead to orchestration problem as one node is overload while other is underload

The dashboard is an average across the entire cluster.

the next ones who fell for it...
#13583

I have this problem too. There is only a few pods, but still it shows same cpu and memory values. I tried restart host, cluster, recreate, nothing worked.

The values reported are the Kubernetes "resource requests" not the expected 'combined live values' across nodes from within the cluster.
See: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container

Is anyone delving into this at Rancher?

This is being changed to show reserved instead of used. Is there an issue with showing the reserved metrics?

Got it... have you any feature planned to show live usage without deploying something like prometheus/grapana?

UI has been changed to reserved. It will be in v2.0.7.
For the live usage feature, it will be tracked in https://github.com/rancher/rancher/issues/14230.


Adapt to API changes in LSP 1.28.0

Adapt to changes (https://github.com/sublimelsp/LSP/pull/2393) in (yet to be released at the time of writing this) LSP 1.28.0.
Mainly updates the code that applies text edits plus some minor import changes to avoid "private" exports.

[!WARNING]
The changes need to be released at the same time as the new version of LSP

Resolves #46 (Haven't verified behavior before and after. Not sure if there are some minor behavior changes)

I would wait for @LDAP to see this PR

Just a small heads up I will soon create a LSP release and also a release for LSP-jdtls.