How to prevent conversion of datetime string to JS Date object?

When getting results from a query, datetime strings such as 2018-05-26 21:34:00.000 are automatically converted to JS Date objects.
Is there a way to get the results back as a raw string, they way it is saved in the DB, without any conversion?
Thanks

If the data type in the result set is a SQL_DATETIME or SQL_TIMESTAMP then it will go through the conversion to a Date object. There is no way around this other than hacking the source of the node-odbc project.
However, you might be able to change your query so that it is a string data type in the result set:
select convert(varchar(100), MyDateField) as date from MyTable

Not sure what database you are using, so that query may need to be different.

Using select convert(varchar(100), MyDateField) did the trick (Sybase IQ), though I was hoping there was a way to configure the module to not convert such fields.
Thanks


Add support for SSH "checkPeriod" option

Hello,
After submitting this issue you made a first implementation very quickly, props for that.
The only thing holding back security in our organisation has been the missing SSH "checkPeriod" option as logging in every time you get disconnected from a server is a no-go for us.
Are you still planning to add the implementation for this feature? If so, do you have an ETA?
Thank you again for creating this project, it has already been very useful for us.
Cheers,
Max

Hi @MaxwellSchmidt97
Thanks for the feedback.
The "checkPeriod" is indeed not yet supported.
It is still something I would like to add, but I won't be able to work on it anytime soon, so I won't commit to any ETA.

added with PR #21


Bug: Search Form Trigger in Regressed State (on Windows)

Describe the bug
The Search Form Trigger displays poorly on the navbar, this is due to the newly implemented repository search which brought about the following changes, causing regression in the stated parts.
This happens when the keyboard shortcut in display is CTRL+K on windows ✋

Search Trigger - addition of Repositories text to the SearchTrigger placeholder leading to the placeholder text pushing to the next line increasing the height of the header and visually deforming the search trigger

Search Info - introduction of flex-col className to the SearchResult (inorder to position the Repository Search Result under the User Search) cause the items-center to position Search Info text to position itself central horizontally leaving an empty space on the left

Steps to reproduce
screencast-app.opensauced.pizza-2024.04.17-20_11_12.webm
Proposed Steps to Fix
Fix Search Trigger:
I expect that after following this laid out steps, the Placeholder text in the Search Trigger should be contained in one line with overflowing text replaced with a ... in there

Add overflow-hidden to the className here
https://github.com/open-sauced/app/blob/69f8d67cfff5c77a95b3cf84b7ecf75e56c4683f/components/organisms/SearchDialog/search-dialog.tsx#L206
Add truncate to the className here
https://github.com/open-sauced/app/blob/69f8d67cfff5c77a95b3cf84b7ecf75e56c4683f/components/organisms/SearchDialog/search-dialog.tsx#L208

Fix Search Info:
Following the steps, i expect the SearchInfo to return to the left position, clearing out the empty space on there

Remove items-center from the className here
https://github.com/open-sauced/app/blob/69f8d67cfff5c77a95b3cf84b7ecf75e56c4683f/components/organisms/SearchDialog/search-dialog.tsx#L169

Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

.take


Expand a compressed file as a folder

This is a feature request.
Is it possible to expand a compressed file (zip tar.gz 7z, etc) as a folder in the directory tree? If there's other more compressed file in upper file, then we could move cursor on it and enter to expand the file recursively.
If this has already been implemented, could you update to let me know? Thanks in advance.

+1 It's a useful function.
Official vim's zip.vim is just usable. I hope I can view files in a zip archive in new tabs.

+1

Vim already contains a plugin, zip.vim, for exploring Zip files.  Other than that, you could easily author a NERDTree plugin to add the desired functionality.  This is not something that needs to be added to the NERDTree core.  See the documentation for information on how to do this.


add custom sound config to an alarm

new feature: an alarm can have custom sound option

Please resolve the issues in travis and codeclimate.
Other than that it is a nice contribution, only the tts integration needs to go, because it is not dynamic.

I fixed the issues.


Constructor is not called on mocked trait.

trait MyTrait
{
    public function __construct(array $x) {}
}

Phony::mock(MyTrait::class, [[1, 2, 3]]);

Error:
Eloquent\Asplode\Error\ErrorException: Argument 1 passed to PhonyMock_MyTrait_0::__construct() must be of the type array, none given in <filename> : eval()'d code on line 12

Traits with constructors can now be mocked. Rules:

If any non-trait class has a constructor, it takes precedence.
If there are multiple traits being mocked, and multiple trait constructors, the last trait will take precedence. This matches the precedence used when resolving other trait method conflicts.
Private trait constructors can be mocked if closure binding is supported.


Experiment: Allow saving requests in alternate file formats

This experiment is to try out saving files in alternative formats.
Spun off from this discussion: https://github.com/usebruno/bruno/discussions/360#discussioncomment-7203844
Currently Bruno saves all requests in .bru files. Because .bru files get serialized into JSON-compatible objects in memory, we should be able to interchange .bru and JSON-compatible formats like JSON and YAML.
Goals:

Read request configuration from any of .bru, .yaml, or .json files
Save request configuration to any of .bru, .yaml, or .json files if they already exist
Implement default file format Preferences panel option to determine format used for newly created requests
Save new requests in the format specified by the default file format preference

Stretch goals:

A button or something to convert all existing files to the currently selected default file format?
JSON Schema that can be used with JSON and YAML $schema fields for intellisense-style tooling

@helloanoop I've started looking into this and think I can have something functional over the weekend :crossed_fingers:

Hey @keawade
I have added this issue to our v2 roadmap. We can consider it moving to v1 if we are able to support this (even experimentally)
I find this experiment exciting. If it succeeds, then Bruno can offer flexibility and freedom of choice.
Users should never feel constrained and compelled to use only the bru lang
Here are some initial suggestions as we explore this idea further:

Let's start with JSON support, and then consider YAML.
Initially, we can focus on the environment file since they are relatively simple. Once it works for the environment file, we can expand to request files.

In the bruno.json example below, we can specify the language that will be used to write to filesystem
{
  "version": "1",
  "name": "bruno-testbench",
  "type": "collection",
  "lang": "json"
}

These are the 3 files (I have also included the line ranges) that you need to likely need to make changes

The File Watcher - Responsible for watching files, serializing data to App DSL and emitting them
Serializer and Deserializer - Reponsible for Bru<->Json(App DSL) serialization and deserialization
IPC Watcher - Responsible for listening to renderer ipc calls and writing requests to files

Good luck @keawade !


Can you use HTTPS? I can't connect if I open HTTPS dapp

Same problem,I can't connect if I open HTTPS dapp. @tyGavinZJU

The problem has already been solved.
Certificate expiration causes...

Sorry guys, I just stopped maintaining this project long ago. The mainstream method connecting scatter with mobile webview is injecting js. But after my study in scatter source code i found the you can build a websocket server in mobile end and it is faster and more stable than the "inject" way. I will update the scatter android & IOS documentation in few weeks. Thank you guys!


Tests didn't run on a PR

Tests didn't run on https://github.com/water111/jak-project/pull/21
There's a merge conflict, but that didn't seem to prevent tests from running on other PRs.
@xTVaser - any ideas? I'm not sure what's different about this PR.

Looks like another github actions limitation unfortunately.
The way it creates the branch for the pull_request event cannot be done if there are conflicts - https://github.community/t/run-actions-on-pull-requests-with-merge-conflicts/17104/9

:+1:


Updated files on branch - test

Describe your change:

[ ] Add an algorithm?
[ ] Fix a bug or typo in an existing algorithm?
[ ] Documentation change?

References

Checklist:

[ ] I have read CONTRIBUTING.md.
[ ] This pull request is all my own work -- I have not plagiarized.
[ ] I know that pull requests will not be merged if they fail the automated tests.
[ ] This PR only changes one algorithm file.  To ease review, please open separate PRs for separate algorithms.
[ ] All new Java files are placed inside an existing directory.
[ ] All filenames are in all uppercase characters with no spaces or dashes.
[ ] All functions and variable names follow Java naming conventions.
[ ] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
[ ] If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

CodeScene PR Check

Warnings
Degrades in Code HealthSinglyLinkedList.java degrades from a Code Health of 9.66 -> 8.0RootPrecision.java degrades from a Code Health of 10.0 -> 8.66BinarySearch.java degrades from a Code Health of 10.0 -> 8.66BubbleSort.java degrades from a Code Health of 10.0 -> 8.0

Code Health Delta Descriptions
SinglyLinkedList.java Improvements: Primitive Obsession - no longer an issue Degradations: Lines of Code in a Single File(total of 2882, recommended next goal: 1000 lines of code) - new issueLarge Method (ServerMetrics: Lines of Code = 118, grows with 92 lines of code, threshold = 70 lines) - new issueNumber of Functions in a Single Module - new issueLines of Declarations in a Single File - new issueRootPrecision.java Degradations: Lines of Code in a Single File(total of 1020, recommended next goal: 1000 lines of code) - new issueNumber of Functions in a Single Module - new issuePrimitive Obsession - new issueBinarySearch.java Degradations: Lines of Code in a Single File(total of 1140, recommended next goal: 1000 lines of code) - new issueNumber of Functions in a Single Module - new issuePrimitive Obsession - new issueBubbleSort.java Degradations: Lines of Code in a Single File(total of 2620, recommended next goal: 1000 lines of code) - new issueLarge Method (ServerMetrics: Lines of Code = 118, grows with 103 lines of code, threshold = 70 lines) - new issueNumber of Functions in a Single Module - new issueLines of Declarations in a Single File - new issue


Imports of optional dependencies should happen at runtime

Across terra, there are several imports of optional dependencies (packages other than those in requirements.txt), which happen at top-level (not within another function definition.) When a user hits an error message about a missing optional dependency, just running pip install foo won't be sufficient to use the package, they'll need to restart their kernel. With a runtime, import, the package would be available in their current session.
e.g. from dag_visualization.py
try:
    from PIL import Image
    HAS_PIL = True
except ImportError:
    HAS_PIL = False

def draw(...):
   ...
        if not HAS_PIL:
            raise ImportError(
                "dag_drawer requires pillow for drawing in jupyter directly. "
                "Run 'pip install pillow'.")

Searching for except ImportError and narrowing down to cases that happen at top-level is probably the best way to find occurrences.

Hello! I am looking to contribute as I have some free time during this holiday season, any starting points on where to begin on this issue?

Hi @AsavGandhi , great! A good starting point would be searching over terra for except ImportError to find cases like the example above (where we try to import a package that's not in requirements.txt while not inside a function definition). Once we have that list, we can move toward finding where those imports are used, and making them at runtime.

Thanks! @kdk, I will look into it shortly and will keep you updated!

Great! So the goal is to add these imports at runtime? Does that mean the file needs to probably import pip as well so that it can automatically install the package?

Warning users with instructions on how to install any needed packages should be sufficient. Auto-installing could be confusing in some cases (e.g. if the install fails).

That sounds good. In qiskit/tools/jupyter/backend_monitor.py, there's a comment that says #pylint:  disable=import-error.
Does that mean this shouldn't read as an error?

also this isn't exactly the place to ask about this, but I saw in qiskit/visualization/matplotlib.py, there's a note about removing self.__style.field after deprecation. Should this be made an issue?

That sounds good. In qiskit/tools/jupyter/backend_monitor.py, there's a comment that says #pylint: disable=import-error.
Does that mean this shouldn't read as an error?

That's right. Pylint will normally raise an error when checking code that tries to import a module that doesn't exist (unless you're doing so within a try block). This is a bit of a special case because this code is only loaded by our jupyter magics in qiskit/tools/jupyter/__init__.py where there's already a matplotlib and ipython check, so we don't need pylint to run this check here.

If this issue is fixed, could this be closed? If not, I'd like to try a hand at it.


Add-on apiserver doesn't have admission control plugin

I look through the code, looks like we don't have admission controllers like namespacelifecycle https://kubernetes.io/docs/admin/admission-controllers/#namespacelifecycle supported in add-on apiserver for now.
I wonder if it is possible to add it?

Admission-controller plugins, like many other things, are specific to kube-apiserver. That's where you should hook your customized plugins.

ref #266


Task/s3nopublic

Which issue is resolved by this Pull Request:
Resolves #
Description of your changes:
Configure "block public access" by default for the S3 artifact bucket, when deployed both via terraform and manifests.
Testing:

[x ] Unit tests pass
[x ] e2e tests pass
Details about new tests (If this PR adds a new feature)
Details about any manual tests performed

Deployed using both methods and verified things worked as expected.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks for the contribution!

@rddefauw Can you resolve the conflict then I can merge this in for you :)

Done - was just a simple documentation change.


Remove not-marching ants from clicked tabs

v annoying

this is caused by the editor - it doesnt appear until you open the configuration widget - css for the editor i guess


Fixed documentation rendering (OpenAPI) bug where AnyUrl types are sh…

Description
Fixing formating of AnyUrl types in the documentation (openapi and swagger).
closes #3192 and inmanta/inmanta-lsm#451

(I've only reviewed the change entry file.)

Processing this pull request

Pull request rejected by merge tool. This pull request has not been approved yet by some of the requested reviewers. Still awaiting approval from wouterdb

Processing this pull request


About the 'Why' of lite-server

Hello John,
I have browser-sync already running before I saw your lite-server on the angular 2 hero sample.
You say: "When creating a SPA there are routes that are only known to the browser. For example, /customer/21 may be a client side route for an Angular app. If this route is entered manually or linked to directly as the entry point of the Angular app (aka a deep link) the static server will receive the request, because Angular is not loaded yet. The server will not find a match for the route and thus return a 404."
But is this not the job of the e.g. asp.net backend to handle the 404 from the pushstate route and return the index.html?
It seems to me from your description that you do the same as this guy:
http://www.eriklieben.com/enabling-pushstate-in-asp-net-vnext/
Is this correct that you do the same because then I do not try the lite-server?!

You can use whatever webserver you'd like that has route fallback or rewrite capability. Lite server is meant as a no-hassle development server for the angular 2 quickstart. We want users to focus on the angular code, rather than having to mess around and configure various servers. For production use, we leave the choice of server up to you.
I am not familar with ASP.Net Vnext, but if it works for you, great! Use it instead.


Cannot include

whenever i try to compile i get this error :
Cannot open include file: 'numbers': no such file or directory

You need compile osiris in empty folder for best results

#2250


Fixing github address

Thanks for pointing this out and providing a fix! I'd like to get this merged ASAP but we need to go through the CLA signing first to allow you to contribute to this project. If you can't do that quickly, I could always make this update myself. Let me know. Thanks!

I signed it!


Add php7-mbstring extension to fix composer installation

Without this extension, running build.rb on OS-X fails with:
Step 2 : RUN curl -sS https://getcomposer.org/installer | php
---> Running in b918100ad154
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The iconv OR mbstring extension is required and both are missing.
Install either of them or recompile php without --disable-iconv

Perhaps this type of pull request makes no sense for the actual usage of iron/php? I was looking at it as a general minimal php setup.

Is that required only on the build image or typically used in production?

It seems to be required by composer. I guess you could install it temporarily, install composer temporarily, use composer to install all your php code and create autoload files, and then remove both the extension and composer itself?
Obviously that would not work for such a generic image. I am not sure how exactly this php image is used within iron worker. For our own purposes we are building something much more customized anyway.


2024-10-22_01-34-59_master-next_aws-sdk-cpp

Automatically created.

Successfully created backport PR for kirkstone-next:

#10095

Successfully created backport PR for scarthgap-next:

#10096

Successfully created backport PR for styhead-next:

#10097


Updating dependencies (guava and what brought in older guava) to get rid of the guava-related CVE-2018-10237 and CVE-2020-8908

Updating dependencies (guava and what brought in older guava) to get rid of the guava-related CVE-2018-10237 and CVE-2020-8908
pulsar-io/canal is excluded (no fix available and guava is bundled into
fatjar), tracked at https://github.com/alibaba/canal/issues/4010
Motivation
mvn clean install verify -Powasp-dependency-check -DskipTests found various CVEs
Modifications
Upgraded guava, dependencies that were forcing (ir bundling in a fatjar) older guava.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is already covered by existing tests
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): YES
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation
Check the box below or label this PR directly (if you have committer privilege).
Need to update docs?

[ ] doc-required
(If you need help on updating docs, create a doc issue)

[x] no-need-doc
(Please explain why)

[ ] doc
(If this PR contains doc changes)

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

@codelipenghui I am sorry, I misread your comments.
I have merged the patch.
@dlg99 would you mind following up according to @codelipenghui 's comments ?

@codelipenghui @eolivelli There are quite a few connectors that have versions of their dependencies set in the connector's pom. I always assumed this is on purpose. SOme of them may override what's set in the root pom's.  I'll finish up with other changes and do a check if any versions can be moved to the root pom safely.


merging with dev_tara

Thanks, @Tara-Lakshmipathy for the changes and enhancements regarding node color and edge width. They make the visual appearance of our visual programming gui very nice, and I have merged them into the main branch. A few suggestions/ideas:

Could you please make a pull request for your pyiron_workflow dev_tara branch? It would be good to have the gui_color extension in the main branch, so that the main branch of gui and pyiron_workflow are compatible.
It looks like the border width is introduced as a magic parameter in the widget.js file. It would be nice to be able to set it from the Python side when calling the widget.
I also merged your dev_tara branch in pyiron_nodes into my development branch. Since I did not install the fenics ufl packages, I could not test your nodes.

Hi @JNmpi, I have created a pull request in pyiron_workflow for updating gui colors. But I don't think a pull request was created here in xyflow to merge into the main branch. Created one now.

Hi @JNmpi, I have created a pull request in pyiron_workflow for updating gui colors.

Thanks, @Tara-Lakshmipathy


Rewrite network protocol/service to use channels

Fix #1326
Here is a work in progress/proof of concept for a slightly different approach to concurrency involving running components in their own threads, based on their own "event-loop", mainly consisting of receiving and handling messages sequentially.
The main benefit is that, since components are running in their own dedicated thread, there is no need for locking of any kind. Also, you're essentially building your own "runtime", and can enable components to run independently of each other, logically "in parallel".

Some examples:

Protocol is now running in a thread, handling ProtocolMsg, including periodics Tick and ProgagateExtrinsincs. Protocol itself isn't shared, or has it's methods called, outside of it's own thread. The result is this:

The network Service now contains senders to both Protocol and NetworkService(libp2p), and instead of calling methods on those, it sends messages to be handled on their respective event-loops.

The libp2p Service is still polled by the tokio runtime. However it isn't shared with other components via the SyncIo anymore. Instead, it receives messages from Protocol(and others) via a channel, and messages are handled inside poll. So while this still seems to require locking Service before doing a poll, that seems to be the only case left(previously it would be locked at each call to SyncIo). The handling of ServiceEvent, enqueud on a stream by the network service, is still done on the tokio runtime as well, however it now only consists of sending messages to Protocol, and, in the case of reporting a peer, back to the network service. This could be seen as a "bridge" between the tokio runtime/libp2p and the protocol.

Note that net_sync above is essentially a wrapper around the network service itself. So previously not only was protocol "running" on the same thread as the network service, but the network service was then also shared with protocol through net_sync(implementingSyncIo). Now, the network service and protocol both run independently of each other. Protocol can send messages to the network service, and the network services communicates back via incoming NetworkServiceEvent. The handling of NetworkServiceEvent, still on the tokio runtime, then acts as a thin layer of glue between the two(which prevents the need for the network service to depend on anything from the protocol).

The NetworkLink, shared with the import queue, is now also just a wrapper around a network and protocol sender. So instead of calling methods, which required locking, it now sends messages, to be handled on the respective event-loops of protocol or the network service.

Note that the two send are non-blocking, meaning the the import_queue can go back to work right after(which would be especially relevant if the import queue were to be an independently running component, as is done in https://github.com/paritytech/substrate/pull/1327), and both the network and protocol will handle these messages independently.

As a general note, this not only removes  locks(which make the logic of Protocol really just single-threaded sequential stuff), it also removes dependencies on the various "components" in your system, in various ways:

A the level of the "generic" signature of structs:

Service itself has nothing to do with Specialization or ExHashT, these are related to Protocol, yet because service contained a protocol, these needed to be included in the signature.

At the level of the "parallelism" of the various components.

remove_reserved_peer previously required to lock the network service(meaning it couldn't be polled in the meantime), and the method call on protocol also required various locks, some of which could block the import-queue, and others would block the network service(each method call on SyncIo would lock the network service, meaning it couldn't be polled in the meantime).
When is on_peer_disconnected called now, Since it's not done in remove_reserved_peer anymore?
When the network service receives the RemoveReservedPeer message, it will enqueue a new DisconnectNode event containing info about nodes to be disconnected.

This event will later be handled, and result in a message send to protocol

This results in protocol removing nodes from it's own state, and network removing reserved peers, to happen completely in non-blocking fashion of each other. This setup could also  further free-up the import-queue, since the shared dependency/lock on ChainSync is be removed.

Finally, if you absolutely must block one component, while waiting for an "answer" from another one, this can be implemented like this:

The tests are going to have to be rewritten for them to pass, however I first wanted to get your point of view on this approach.
Note that when I mention "parallelism", I'm less thinking in terms of performance, and more in terms of logic(obviously, the actual parallelism will be limited by the physical reality of the machine the code is running on). So it's less about boosting performance, more about ensuring components are executing independently. It might bring some performance bonus as well, but that's not the goal.
cc @andresilva  @tomusdrw This is a concrete example of some of the stuff I mentioned in relation to "actors"...

Network seems to be working ok now - shall we consider this for merge @tomaka ?

Sure! If it works, let's merge.

Looking into sync on charred-cherry, so far it seems stuck on block 0...

Can confirm CC doesn't work with master anyway. Not sure what happened there; but there was no breaking change in networking scheduled, so it would be good if that could be fixed before 1.0 @tomaka any ideas here??

Ok - tracking it here: https://github.com/paritytech/substrate/issues/1672

OK, I'll check this with polkadot as described at https://github.com/paritytech/substrate/pull/1340#issuecomment-460186380

Ok so I had previously not noted the use by polkadot of of some of the methods I removed, mainly with_spec, which shares the NetworkSpecialization and a Context back with the user of Substrate.
I'm trying to think of a way to implement with_spec in a way that would fit in with the other changes of this PR...  I think I'll try boxing the closure, sending it to protocol in a message, and execute it on the protocol thread. The result of the closure can be sent back in an reply channel whose sender is passed into the message as well(similar to https://github.com/paritytech/substrate/pull/1340/files#diff-a045635f3eec17c06b3c7ac7944acceaR228)
So the API should actually remain the same.
Then there is also the use of stuff like
https://github.com/paritytech/polkadot/blob/98203aabb34835a616f5d79beb2279af3e713d08/network/src/router.rs#L173
and in this case I think the API should change into https://github.com/paritytech/substrate/pull/1340/files#diff-a045635f3eec17c06b3c7ac7944acceaR211
so that the user of Substrate doesn't have to know about the underlying communication mechanism(wheter it's a lock of a channel), and just calls a gossip_consensus_message method.

By the way, on master there is already a gossip_consensus_message method, so it's not something this PR introduces.
However the use case in polkadot is actually slightly different, see:
let mut gossip = network.consensus_gossip().write();

				// propagate the statement.
				// consider something more targeted than gossip in the future.
				let signed = table.sign_and_import(produced.validity);
				network.with_spec(|_, ctx|
					gossip.multicast(ctx, attestation_topic, signed.encode(), false)
);

at https://github.com/paritytech/polkadot/blob/98203aabb34835a616f5d79beb2279af3e713d08/network/src/router.rs#L173
Sot it's actually the signing that happens in between, however I think the above could be replaced with the below(using the current master, not this PR)
let signed = table.sign_and_import(produced.validity);
network. gossip_consensus_message(attestation_topic, signed.encode(), false);

So it would appear there is no need, at least in this case, to make the entire RwLock<ConsensusGossip<B>> available in the API.
Perhaps other use cases, if there are any, could be dealt with through dedicated methods on network as opposed to making the ConsensusGossip itself generally available(which is a bit like leaking an implementation detail of substrate over it's api).

Perhaps other use cases, if there are any, could be dealt with through dedicated methods on network as opposed to making the ConsensusGossip itself generally available(which is a bit like leaking an implementation detail of substrate over it's api).

Generally the changes to Polkadot that you mentioned make sense.
ConsensusGossip was originally a component that wasn't part of the general network service.
In the future we are going to have much more intricate methods for managing topics and a lot of this is going to have to be context-aware -- the way that we handle Polkadot messages might not be expressable only in "substrate" terms. We have to be careful to avoid bloating the substrate::Network API.

The use of messages_for in polkadot here could also be replaced with https://github.com/paritytech/substrate/pull/1340/files#diff-a045635f3eec17c06b3c7ac7944acceaR220
which is an API change...

Ok @rphmeier I think I have found an acceptable API, there are some changes, but those are good in my opinion. Here is how it looks:

I have re-added with_spec, although the closure doesn't return a value anymore.
I have added a companion to that called with_gossip.
I have removed the custom gossip methods that I had added previously, since those can be done using with_gossip now.

The reason those closure don't return values are twofold:

It really complicates the generic stuff(requires another param added to Service, which basically requires changes everywhere).
It's not necessary, because a "result" from the closure can be simulated using channels(see the polkadot changes I made).

You can see this in action on polkadot over at https://github.com/paritytech/polkadot/commit/5666c1b7a62789a074bd7a3cdbee085e69e3bbb0
I haven't tested this on Alexander just yet, but polkadot at least builds, and the tests here are passing...
Let me know what you think, I'll do some more testing in the meantime...

@rphmeier Thanks for the review, I think all your comments have been addressed...

FWIW I tested this on polkadot by syncing the alexander chain from scratch, worked fine. :+1:

@andresilva thank you!


Add basic test

Using webDriverWait explicit wait
Only one test case

Hi,
Your homework 16 has been reviewed, thank you for your effort.
Great! Keep up the good work!
Best wishes from Automation Test Pro,
Khanh


Add ScrollView in About activity.

Description
Fixes #1177
A ScrollView is added so that content does not get cut-off for mobile phones with small screen size.
Screenshots showing what changed

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1178   +/-   ##
======================================
  Coverage    3.85%   3.85%
======================================
  Files         125     125
  Lines        5757    5757
  Branches      567     567
======================================
  Hits          222     222
  Misses       5520    5520
  Partials       15      15

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 45aab1c...00405d1. Read the comment docs.


Change GROOVY-9962 test to be compatible with Java 8

Instead of skipping the GROOVY-9962 test (as introduced in #1995), we can use a different annotation that accepts a value in Java 8.

Codecov Report

Merging #2000 (253a186) into GROOVY_4_0_X (d1f9d93) will increase coverage by 0.0018%.
The diff coverage is n/a.

Additional details and impacted files

@@                  Coverage Diff                   @@
##             GROOVY_4_0_X      #2000        +/-   ##
======================================================
+ Coverage         68.0557%   68.0575%   +0.0018%
  Complexity          28429      28429
======================================================
  Files                1425       1425
  Lines              112643     112643
  Branches            19334      19334
======================================================
+ Hits                76660      76662         +2
+ Misses              29442      29440         -2
  Partials             6541       6541

see 3 files with indirect coverage changes


[AVM Module Issue]: Support AVNM IPAM

Check for previous/existing GitHub issues

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

Issue Type?
Feature Request
(Optional) Module Version
No response
(Optional) Correlation Id
No response
Description
As an AVMN IPAM user I would like to be able to dynamically assign vnet and subnet address ranges.

PR in progress: #176


[stable/k8s-spot-termination-handler] Add hostNetwork option

Signed-off-by: Gauthier Loutsch<EMAIL_ADDRESS>
What this PR does / why we need it:
add hostNetwork option on daemonSet (when you are short on allocatable IP)
Which issue this PR fixes
none
Special notes for your reviewer:
cc @kierranm for review
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/ok-to-test
please fix conficts.

done in cd2f373d61d1a8627586d9a44a1c0f4fcd926f54


Combined Fixes from PR #644, #640, and #618

This pull request combines changes from several individual pull requests to avoid merge conflicts. The included pull requests are as follows:

PR #644
PR #640
PR #618

feel free to merge this incase all is good

Great update, it happens to be related to double-clicking. Can I take the liberty of asking a question? I want to customize the double-click function and use double-click to pause playback. Can I only modify the source code?

Great update, it happens to be related to double-clicking. Can I take the liberty of asking a question? I want to customize the double-click function and use double-click to pause playback. Can I only modify the source code?

sadly for this you will need to implement your own controls

Great update, it happens to be related to double-clicking. Can I take the liberty of asking a question? I want to customize the double-click function and use double-click to pause playback. Can I only modify the source code?

sadly for this you will need to implement your own controls

thank you for your reply,this is a good idea

since i am using this branch on my own app i added the tap to pause and play using the https://github.com/media-kit/media-kit/pull/742 which is showing in the commits
and the padding under bottom: 16.0 + subtitleVerticalShiftOffset, to be able to use the slider since it was overlayed


stdenv/generic: allowAliases should default to true if unset

Since the deprecation is fairly recent, we should warn by default.
Also fix the wording of the comment: stdenv.lib will be removed for the 21.11
release, not just deprecated (as it already is deprecated).

Motivation for this change
Things done

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

[ ] NixOS
[ ] 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 nixpkgs-review --run "nixpkgs-review wip"
[ ] 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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Slowly, but surely, we're getting there...


Get Json from Google-Drive work on Windows but not on Mac

Hi,
The follow script returns Status-Code 301 on Mac (macOS Catalina).
On Windows it works fine.
Can you resolve it?
Greetings Peter
I use Excel Version 16.16.27 (201012) on Mac.
I use Excl Version 16.0.15629.20152 on Windows 10.
Sub web()
Dim Client As New WebClient
Dim Url As String
Url = "http://drive.google.com/uc?export=download&id=14xMSYLPMZNxCslpzbzUiiRbkmiG7nCeS"
Dim Response As WebResponse
Client.FollowRedirects = True
Set Response = Client.GetJson(Url)
Debug.Print Response.Data("letzte_esra_version")
End Sub

Having the same issue here, the actual content is in Response.Body in my case, it is not correctly parsed to 200 OK and data


logging: log_output: Use \r\n instead of \n\r for printk

Replace order to be compatible with printk and other logging outputs.
Signed-off-by: Krzysztof Chruscinski<EMAIL_ADDRESS>

Mentioned by https://github.com/zephyrproject-rtos/zephyr/issues/49659#issuecomment-1236384726


Repack Navigation From Mini App To Main APP

Ask your Question

I am wondering how navigation works in repack. I am certain the back button navigation takes me back to the previous route on the stack but i am wondering how i can take a user from the mini page for example to the main page directly without using the back button.
In my use case, i want to go back to the main app because the navigations of the main app are not in the mini app when the mini app launches and i want them to be able to move back to the main app because of how my app is designed

Hi @Nazehs,
if your NavigationContainer is in the host app and the mini-app is rendered within the component tree, then you could just do navigation.navigate() to any screen in the app that you want. Not much changes in that respect when using MF.


Add Chakra Tag component

It would be nice to be able to use the Chakra tag component in pynecone. This would mean wrapping Tag, TagLabel, TagLeftIcon, TagRightIcon and TagCloseButton. Should be an easy addition.

Hi, could please you assign this to me, i would like to do it


Preserve newline in formatting

The settings panel of the latest Rider does not reflect all options of the latest fantomas build.

It does not have support for PreserveEndOfLine.
If you can explain how I can add the setting, I'm willing to pick this up.
First guess is extending settings in ReformatCode but how can I do that?

@nojaf Thank you for taking care of this. The new options can be added to the settings key here https://github.com/JetBrains/fsharp-support/blob/ecac866084a8492d4f80a5116ca6c47c70239dd1/ReSharper.FSharp/src/FSharp.Psi.Features/src/Formatter/FSharpCodeStylePage.fs#L18-L23
To add it to the settings page it should be added to the schema below in the same file: https://github.com/JetBrains/fsharp-support/blob/ecac866084a8492d4f80a5116ca6c47c70239dd1/ReSharper.FSharp/src/FSharp.Psi.Features/src/Formatter/FSharpCodeStylePage.fs#L84-L87
Adding options to these two places should be enough to use in the formatter code.

Fixed in be1b20e955bb535da4b5af3fd1b9b7456db8e82b.


hashchange event not firing

The hashchange event isn't firing for me in the modal css which in turn causes the cssmodal: events to fail.  Currently working around by using the data-cssmodal-nohash property, but ideally I would like to remove that.

Any ideas on this one?

Are you using any iframes, such as to youtube? Having an issue where modal.js is trying to listen for hashchange within the youtube iframe and breaking as a result.

@jgadbois Thanks for reporting. I could not find any bugs with the hashchange event. As @chilblane points out this might be some other script blocking the hashchange event.

I believe I was using youtube iframe embeds.

Thank you for the quick feedback. I will close this issue. If you run into this behavior again, please let me know :)


chore: decrease e2e resource usage

As the number of e2e tests grow it also grows the amount of resources
required to run them successfully. This commit forces the e2e to run
in series. This brings us a couple of advantages and one disadvantage:
Pros:

Make possible to estimate the necessary amount of resources
Remove flakes related to lack of cluster resources
2.1 We require too much resources
2.2 Pods tend to remain in "Pending" for longer
2.3 With pods in "Pending" the tests tend to fail due to timeout

Cons:

Tests take longer to run

around how much longer do tests take to run with this change?

Max 500 seconds per test


Add command to run all AWS conformance tests from a release PR.

Add command to run all AWS conformance tests from a release PR.

Blocked until @paurosello comes back from vacation.

I guess we can do this already?

yeah  we should be able to do it at some point

I don't even remember the main issue with this now :( but the PR should still be around

we are going to sounnoboy(WHATEVER)  so there is no need for this issue.


Framework7 Toolbar Tabs Click Jumping

Hello,
Today I found issue when we applied toolbar tabs. a href tag seems to be jumping/bounce when clicked. Tab toolbar goes down then up again. Caused by CSS classes .md .ripple-wave on position: absolute !important
When you add framework7.css is not problem. But I want to get rid those unimportant style because I just need my own style. So, that's happened.
Maybe it'd be best to consider !important style to other ways?
Thank you.

You can disable that ripple effect in app parameters touch.materialRipple: false http://framework7.io/docs/app.html#app-parameters


Playing indicator

Purpose

Feature #9 Implementation

What

Added visual feedback for currently playing song

How to Test

...

What to Check
Verify that the following are valid

Playing a song now displays an icon indicator.

A sample demo of what was implemented.

This is really nice work. Thanks Nuel!

You can add the .env file since it does not contain any secrets, so your build can pass

There's a .env file already in the project root directory, should i overwrite it?
I was thinking linting/formatting issues caused the failing build.

Thanks Noah


Users not added to the server: I still have this exact issue, running the latest version of Wizarr (docker).

          I still have this exact issue, running the latest version of Wizarr (docker).

Originally posted by @gerryflux in https://github.com/wizarrrr/wizarr/issues/281#issuecomment-1901815666

If you have a trailing / in your server url for the media server address, this failure occurs. Remove the trailing slash and suddenly everything works flawlessly. It would be a good idea to check and correct this issue seamlessly behind the scenes when validating.

I can confirm that's not the issue
The connection to Plex works fine, it can scan and identify the libraries.

With the trailing slash I was able to connect Wizarr to Plex, scan the libraries, etc. Everything appeared to work, but invites would consistently fail. Removing the trailing slash solved that issue for me.

I'm also having this issue. Did you manage to get it sorted?

If you're having this issue then you must have an issue with your Plex Token. Please ensure you're grabbing the correct Plex Token and not a temporary one. This is a very small case issue which can be rectified by yourself.
Like mentioned, check you don't have a trailing slash, this issue has been fixed on the beta branch. Any other issues caused by inviting is most likely an incorrect Plex Token.
Please read the official Plex documenation: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
They also detail "Getting a New Token" which occurs for some users, not most.

I use jellyfin not plex and don't have a trailing slash

I use jellyfin not plex and don't have a trailing slash

Then this issue does not apply to you. Reach out on Discord and i'll assist.

Will do


Clean up Gen 1 "KAT" implementation, and update README

Remove the generation 1 KAT runtime, now that Tokens is delivered and functional parity is there in Gen 2
Make a bunch of updates to the README (work in progress - hence PR in draft)

Codecov Report

Merging #243 (242623d) into main (c894700) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 242623d differs from pull request most recent head 5e45475. Consider uploading reports for the commit 5e45475 to get more accurate results

@@            Coverage Diff            @@
##              main      #243   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          214       214
  Lines        11820     11820
=========================================
  Hits         11820     11820

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 17bd391...5e45475. Read the comment docs.


Line chart: only half of the dot is displayed if it is close to the horizontal axis

Steps to reproduce:

Open SPGI table
Add a line chart with 2-3 columns on Y
Set categorical column with not too many values as X (e.g. Chemist521 in SPGI dataset)
See how the dots closest to the horizontal axis are displayed

Expected results: Each dot on the plot is displayed completely.
Actual results: Some dots are cut in half:

Case 2:
X=Chemist521
Y=Competition assay
Split: Core, Series

DG 1.17.0


Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code

index.js:1 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state

Please update the following components: InfiniteScroll.
What's causing this?

https://github.com/ankeetmaini/react-infinite-scroll-component/issues/203


Groupby shift

I'd like to be able to use shift on groupby Series and DataFrame objects to create per-group lag or lead columns. Today, I can do this in pandas but not Dask.
import pandas as pd
import dask.dataframe as dd

pdf = pd.DataFrame({
    "a": [0,1,0,1,1,0],
    "b": range(6),
    "c": ["a","b","c","d","e","f"]
})
ddf = dd.from_pandas(pdf, 2)

print(pdf.groupby("a").b.shift(1))
ddf.groupby("a").b.shift(1)
0    NaN
1    NaN
2    0.0
3    1.0
4    3.0
5    2.0
Name: b, dtype: float64
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-17-f89d506bbdcd> in <module>
     11
     12 print(pdf.groupby("a").b.shift(1))
---> 13 ddf.groupby("a").b.shift(1)

AttributeError: 'SeriesGroupBy' object has no attribute 'shift'

conda list | grep "pandas\|dask"
dask                      2021.1.0           pyhd8ed1ab_0    conda-forge
pandas                    1.1.5            py37hdc94413_0    conda-forge

That seems like a reasonable feature request. Are you interested in working on it? In the meantime I wonder if map_overlap could suit your needs.

That seems like a reasonable feature request. Are you interested in working on it? In the meantime I wonder if map_overlap could suit your needs.

Thanks for the suggestion! I'll take a look at map_overlap.
I don't have the bandwidth to work on the implementation at the moment, but may in the future.

Thanks for the suggestion! I'll take a look at map_overlap.
I don't have the bandwidth to work on the implementation at the moment, but may in the future.

Hi, I'd like to do the same thing with map_overlap, and I did the following to compute groupby+shift
ddf.groupby(['a']).map_overlap(lambda x: x.shift(1), 1, 1).compute()
However, I got:
AttributeError: 'Column not found: map_overlap'
I wonder if there is a way for groupby + (other operation like shift)
@beckernick @quasiben

You should take a look at https://docs.dask.org/en/latest/dataframe-groupby.html#aggregate for tips on how to write custom aggregations. Or feel free to open a PR to add shift :)

I would love to work on this issue.
This seems  similar to how transform or apply methods are implemented. My initial approach is to write a _groupby_slice_shift function and calling shift in it instead of apply or transform. I think we can then use it inside map_partitions.


Matrix GH Actions

Close #60

Codecov Report

Merging #61 (cc15c7e) into main (ee1431e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #61   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           92        92
=========================================
  Hits            92        92

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 ee1431e...cc15c7e. Read the comment docs.


Update linux/how-to-download-files-with-wget/index.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


no negative votes and better scrolling in forms with number inputs (c…

…loses #3739)

@normanjaeckel Please review later.

Ok.


Tachometer says mph but shows kmh

The app doesn't correctly switch between mph and km/h

Correctly displays mph now instead of kmh. We can add the ability to switch between the two in the future


Update Composer dependencies (2023-04-03-00-10)

Visual regression test passed!
View the visual regression test report


[Todoist] Menu Bar Tasks fails periodically

Extension
https://www.raycast.com/thomaslombart/todoist
Description

Error:
Error: Toast API is not available when command is launched in background

Steps To Reproduce

Add Todoist token to extension configuration
Enable Menu Bar Tasks
Wait for the error icon to appear in the menu bar

Current Behaviour
No response
Expected Behaviour
No response

This looks like a dupe of #4008


Small improvements on installation - future 3

I just installed from future3/development on a RPi 3B.
A few thoughts:

Use some line breaks for the configuration questions so you know when the new question starts
Provide an option to set the hostname as well
make it more clear or ask for the static IP directly (I used the static IP, but kept the suggested IP)
some kind of progress bar; "Updating Raspberry Pi OS" stays there for quite some time
Is there an option to show the outputs of the installation like -verbose?
a lot of npm packages seem to be deprecated
27 npm vulnerabilities, 16 moderate, 9 high, 2 critical mentioned
I got this error in the install log, relevant?

Created symlink /etc/systemd/system/multi-user.target.wants/mpd.service -> /lib/systemd/system/mpd.service.
Created symlink /etc/systemd/system/sockets.target.wants/mpd.socket -> /lib/systemd/system/mpd.socket.
Job failed. See "journalctl -xe" for details

Thanks Simon.. some thoughts inline

Use some line breaks for the configuration questions so you know when the new question starts
some kind of progress bar; "Updating Raspberry Pi OS" stays there for quite some time

Yes, this should be done. I did start a revamp of the installation process, but it takes time :-)

Provide an option to set the hostname as well

I was researching this already, and it should be part of the installation process!

make it more clear or ask for the static IP directly (I used the static IP, but kept the suggested IP)

Same here!

Is there an option to show the outputs of the installation like -verbose?

Yes. Everything is logged onto the INSTALL-XXX.log file, you must have found it already. You can watch this file in a separate SSH session with tail -f INSTALL-XXX.log

27 npm vulnerabilities, 16 moderate, 9 high, 2 critical mentioned

The webapp depends on a lot of downstream dependencies we don't control. I have run an audit and provided a fix (#1714), so we are now at 8 moderate severity vulnerabilities, which is a lot better.

I got this error in the install log, relevant?

@ChisSoc, @ThomasRausU
I think there was some discussion about this going on here -> #1703

I think there was some discussion about this going on here -> #1703

Yes, I am on it.

was fixed


reminders: Add privacy and cleaner empty reminder response

Based on unofficial suggestion here https://discord.com/channels/166207328570441728/525535451839463424/1132563547864440922 This pr changes some reminder commands to give ephemeral responses when used with the slash command. reminders, creminders, and delreminder are now ephemeral to respect user privacy. The remindme command was intentionally left out, hopefully to remind users that their reminders can not, and will not be ephemeral. I considered adding an additional notice to the reminders command illustrating this, would love to hear thoughts on the matter.
Additionally, it adds a response to reminders and creminders for when no reminders are found, as opposed to the current version which sends the prefixed and affixed messages with empty space in between.
Draft because I cannot test w/ my self host for a few days, want to double check for any unintended consequences.

Okay cool, thank you for the thorough explanation, that makes sense.


Incorrect highlighting of leading whitespace (indentation)

(Original issue 1078 created by MestreLion on 2015-01-23T10:24:30.624461+00:00)
I guess I've found a bug in HTML Formatter, Bash lexer, as used by http://sprunge.us.
if a given line ends with a keyword, the following line keeps the keyword formatting (bold) until the first non-whitespace character. That means the indentation whitespace is displayed in bold, and thus much wider than it should, ruining indentation alignment.
Example: http://sprunge.us/Pdbe?bash
This is mostly visible in line 26, the one that starts with tempfile=, and in lines 14 and 18. Surprisingly this is not visible in Chrome/IE, but in my FireFox it is very apparent, so I uploaded a screenshot:
https://dl.dropboxusercontent.com/u/50766444/Screenshot from 2015-01-23 072056.png
A snippet from the generated HTML source is:
26                 tmpfile

Pygments is indeed marking the indentation leading whitespace with class "k" when it shouldn't.
(as a side note, the class nv is missing from the CSS list. Is this another bug?)
Server code for sprunge, if needed, can be found at https://github.com/rupa/sprunge/blob/master/sprunge.py
Relevant snippet is:
from pygments import highlight
from pygments.formatters import HtmlFormatter
import pygments.lexers

# ...

def get(self, resource):

    # ...

    try:
        lexer = pygments.lexers.get_lexer_by_name(syntax)
    except:
        lexer = pygments.lexers.TextLexer()
    self.response.headers['Content-Type'] = 'text/html; charset=UTF-8'
    self.response.out.write(highlight(
        data,
        lexer,
        HtmlFormatter(
            full=True,
            style='borland',
            lineanchors='n',
            linenos='inline',
            encoding='latin-1' # weird, but this works and utf-8 does not.
        )
    ))

# ...

I don't know which version of pygments sprunge uses, nor I have the means to test this issue against latest version, but any feedback on this is highly appreciated

(Original issue 1078 last updated on 2015-01-23T11:36:24.203419+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by birkenfeld on 2015-01-23T11:36:19.988521+00:00)
Thanks for the report! I can reproduce this with Pygments 1.6, but not 2.0. So it was already fixed and sprunge should consider updating.
(In any case, the spacing issues you see in Firefox are weird. I don't get that, but it might be dependent on the used font.)
As for your other question, the "nv" class will only be in the CSS if the style chooses to style the "Name.Variable" token, which the borland style doesn't.


tests fail at tip on Linux/amd64 with gcc: unrecognized option '-no-pie'

Probably because I am using an older version of gcc?
[rjammalamadaka@localhost src]$ uname -a
Linux localhost.localdomain 2.6.32-573.12.1.el6.x86_64 #1 SMP Tue Dec 15 21:19:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[rjammalamadaka@localhost src]$ gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[rjammalamadaka@localhost src]$ go version
go version devel +f3ce054 Wed Jan 13 15:14:04 2016 +0000 linux/amd64
../misc/cgo/stdio
go run run.go -- chain.go
incorrect output
_/home/rjammalamadaka/go/misc/cgo/stdio
gcc: unrecognized option '-no-pie'
0
1
2
3
4
5
6
7
8
9
10
0
1
2
3
4
5
6
7
8
9
10
0
1
2
3
4
5
6
7
8
9
10
0
1
2
3
4
5
6
7
8
9
10
0
1
2
3
4
5
6
7
8
9
10
FAIL	chain.go	1.015s
go run run.go -- fib.go
incorrect output
_/home/rjammalamadaka/go/misc/cgo/stdio
gcc: unrecognized option '-no-pie'
0
1
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765
10946
17711
28657
46368
75025
121393
196418
317811
514229
832040
1346269
2178309
3524578
5702887
9227465
14930352
24157817
39088169
63245986
102334155
165580141
267914296
433494437
701408733
1134903170
1836311903
2971215073
4807526976
7778742049
12586269025
20365011074
32951280099
53316291173
86267571272
139583862445
225851433717
365435296162
591286729879
956722026041
1548008755920
2504730781961
4052739537881
6557470319842
10610209857723
17167680177565
27777890035288
44945570212853
72723460248141
117669030460994
190392490709135
308061521170129
498454011879264
806515533049393
1304969544928657
2111485077978050
3416454622906707
5527939700884757
8944394323791464
14472334024676221
23416728348467685
37889062373143906
61305790721611591
99194853094755497
160500643816367088
259695496911122585
420196140727489673
679891637638612258
1100087778366101931
1779979416004714189
2880067194370816120
FAIL	fib.go	0.995s
go run run.go -- hello.go
incorrect output
_/home/rjammalamadaka/go/misc/cgo/stdio
gcc: unrecognized option '-no-pie'
hello, world
FAIL	hello.go	1.031s
exit status 1
2016/01/13 10:49:14 Failed: exit status 1
../misc/cgo/life
go run run.go -- main.go
incorrect output
_/home/rjammalamadaka/go/misc/cgo/life
gcc: unrecognized option '-no-pie'
XXX     XXX
XXX     XXX
FAIL	main.go	1.130s
exit status 1
2016/01/13 10:49:14 Failed: exit status 1
../misc/cgo/test
_/home/rjammalamadaka/go/misc/cgo/test/issue9026
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/gcc68255
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/issue8828
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/issue9510a
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/issue9510b
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test
gcc: unrecognized option '-no-pie'
PASS
ok  	_/home/rjammalamadaka/go/misc/cgo/test	1.669s
_/home/rjammalamadaka/go/misc/cgo/test/issue9026
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/issue8828
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/issue9510a
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/gcc68255
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test/issue9510b
gcc: unrecognized option '-no-pie'
_/home/rjammalamadaka/go/misc/cgo/test
gcc: unrecognized option '-no-pie'
PASS
ok  	_/home/rjammalamadaka/go/misc/cgo/test	1.650s
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
Testing race detector
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
../misc/cgo/testgodefs
skipped due to earlier error
2016/01/13 10:49:20 FAILED

/cc @ianlancetaylor

CC @mwhudson

cmd/go tests whether GCC supports the -no-pie option, but the test assumes that GCC will exit non-zero for the unrecognized option.  I just checked GCC 4.5.1, and it reports an error and then exits 0.

Can you try https://golang.org/cl/18597?  Thanks.

Thanks for the fix Ian. It works for me.


[AIRFLOW-892] prevent AttributeError on HiveMetastoreHook calls

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:
https://issues.apache.org/jira/browse/AIRFLOW-892
Testing Done: 2 tests added in tests/operators/sensors.py

bugfixes needed in tests


Backports 0.17 pr18

Linter added in this PR fails, will take a look tomorrow

Tried to fix linter errors and ended up with this https://github.com/UdjinM6/dash/commits/pr3636 so far. Was able to run it on mac with 0 linter errors, tests pass locally too but I'm not 100% sure about shellcheck fixes yet, waiting for travis/gitlab.

Cherry-picked, the commits looks good overall, however lint-all.sh is still failing for me locally
./test/lint/lint-all.sh

In ci/build_src.sh line 41:
test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
                     ^-- SC2015: Note that A && B || C is not if-then-else. C may run when A is true.

In ci/test_integrationtests.sh line 9:
PASS_ARGS="$@"
          ^--^ SC2124: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.

In ci/test_integrationtests.sh line 45:
  for d in $(ls testdatadirs/$BASEDIR | grep -v '^cache$'); do
             ^-- SC2010: Don't use ls | grep. Use a glob or a for loop with a condition to allow non-alphanumeric filenames.

In contrib/macdeploy/detached-sig-create.sh line 17:
if [ ! -n "$1" ]; then
     ^-- SC2236: Use -z instead of ! -n.

In contrib/qos/tc.sh line 34:
if [ ! -z "${LOCALNET_V6}" ] ; then
     ^-- SC2236: Use -n instead of ! -z.

In contrib/qos/tc.sh line 57:
if [ ! -z "${LOCALNET_V6}" ] ; then
     ^-- SC2236: Use -n instead of ! -z.

In contrib/verify-commits/verify-commits.sh line 101:
				HASH=$(git cat-file blob "$CURRENT_COMMIT":"$FILE" | shasum -a 512 | { read FIRST OTHER; echo $FIRST; } )
                                                                                ^---^ SC2034: OTHER appears unused. Verify use (or export if used externally).

In contrib/windeploy/detached-sig-create.sh line 11:
if [ ! -n "$1" ]; then
     ^-- SC2236: Use -z instead of ! -n.

In docker/build-docker.sh line 6:
cd $DIR/..
^--------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.

Did you mean:
cd $DIR/.. || exit

In docker/push-docker.sh line 6:
cd $DIR/..
^--------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.

Did you mean:
cd $DIR/.. || exit

In test/lint/git-subtree-check.sh line 22:
	while read a b junk; do
                       ^--^ SC2034: junk appears unused. Verify use (or export if used externally).

In test/lint/git-subtree-check.sh line 52:
old=$1
^-^ SC2034: old appears unused. Verify use (or export if used externally).

For more information:
  https://www.shellcheck.net/wiki/SC2010 -- Don't use ls | grep. Use a glob o...
  https://www.shellcheck.net/wiki/SC2034 -- OTHER appears unused. Verify use ...
  https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A...
^---- failure generated from ./test/lint/lint-shell.sh

You missed the last one - 682c6b843e85fe0b524b22b504d4c122966207e5

Yeah... That helps, looks good

I'm not sure why CI isn't happy... Tests are passing, yet it's coming back red

Pls see d394166d4963ffcca578e3a9384aae6dc447599d

Cherry-picked


Support for Openstack Liberty version

Made code changes to support Openstack liberty version.

Changes made:

Replaced ‘from oslo.log import log’ with ‘from oslo_log import log’ ==> core.py, controllers.py, validator.py, routers.py, auth/plugin/oauth2.py
In core.py removed annotations @notification.updated() & @notification.deleted(). Notification needs to be added, currently this is missing in this build.
Replaced ‘from oslo.utils import timeutils’ with ‘from oslo_utils import timeutils’ ==> validator.py, backend/sql.py
Replaced @dependency.optional(‘oauth2_api’) with @dependency.requires(‘oauth2_api’) ==> auth/plugin/oauth2.py
Added line in core.py
Class Manager(manager.Manager):
Driver_namespace = ‘keystone.oauth2’    # Added this line
_CONSUMER = 'consumer_oauth2'

Hi @karunchennuri,
We are not currently supporting this repository, so we recommend that you create your one fork of ours, and keep on developing. We will consider merging your code if we eventually catch up with the extension.
Thank you anyway!


Error on Posted Sales Invoice While Using Send Document Functionality for Multiple Records With Filter

Step1: Create Table Extension For “Sales Invoice Header” table  and add 1 Field to it.
.
Step 2: Create Page Extension For "Posted Sales Invoices" Page and add the extension field to it.

Step 3 : Now Publish the Package.
Step 4: Go to Posted Sales Invoice Page ,add filter from global filter Pane , select multiple records from Posted Sales Invoice and the click ‘send’ button under ‘Print/Send’ Group as Shown in screenshot.
.
Step5 : Pop up Window will open by clicking on the send button ,set below values to field and click on ‘OK’.

Step 6: By Clicking on OK button system will throw below error

So this only happens if that field is added? Does it happen with all field types? Does it happen if the field is in the table but now shown on the page? etc.
Anyway, you should check the Event Log of that service, and it might indicate the problem in there.

it happens with all field type and it only happens when field is added to page. Event log doesn't show anything.

Hi, this issue is out of scope of for this repository. You should do one of the following:

Open a support request to CSS through the PartnerSource portal
Open a bug in Collaborate
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL. This issue specifically needs to go to a team that handles the server runtime.


FR: Add XCFrameworks in tag release

I'd like to if you can add the product xcframework in a zip onto tagged version assets
Thanks

Hi @jesusmateos1234 I'll check this if this possible and get back to you

Hi @dianaafanador3 thanks for you support.
With the purpose to download only xcframeworks needed you can follow the Appboy assets -> https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.33.0
Thanks for all

Hi @jesusmateos1234 I'm sorry i haven't been able to answer before. You can find xcframework product for realm and realmSwift in our releases page https://github.com/realm/realm-cocoa/releases, within the realm-objc-{version}.zip and realm-swift-{version}.zip respectively.

Hi @dianaafanador3, thanks for the support but it contains a lot of data not necessary for CI. Other organizations keep that you have on release. But create a zip with the last xcode build and no examples on tag

@tgoyne  @tonyarnold  @marcboquet

Hello @jesusmateos1234, we've been discussing about this, considering xcframeworks zips are now consumable by SPM and this is something we will like to support, but we're still deciding the approach given that we distribute xcframeworks for different versions of xcode

@dianaafanador3 I'm not using SPM, it's other kind of dependency manager nor Carthage nor Cocoapods. I think, thats it's not very complicated to split the zip in more zips. @tgoyne @tonyarnold @marcboquet

@tgoyne @dianaafanador3 @tonyarnold @marcboquet We could move this topic please? It took us 5 minutes to pass 5 unit test cause the rebuild in our CI server ... Download 280 MB is not a good solution at all. We launch test on our CI every 3 minuts.
Please, we'll in love if you could support it (it's only a split of zip and added the xcframeworks to assets like other repositories have done)

Hi @jesusmateos1234 I'm working on this, I'm so sorry is taking so much but we do have some other issue with higher priority, but definitely we are taking care of it.

Thanks for all @dianaafanador3 !!! 😋

Hi @jesusmateos1234, we have this pull request https://github.com/realm/realm-cocoa/pull/7195 on waiting for a next release, this will create a Carthage.xcframework product onto our tagged release version assets. Would this be useful for your use case?

@dianaafanador3 this approach is not fine for us. Please review the assets tagged on https://github.com/Appboy/appboy-ios-sdk/releases. This repo follows that i describe on this request.
Thanks for it.


Custom presets

I have a small request.
Every time the extension is updated, my custom presets are overwritten. I was wondering if you could somehow make a separate folder for custom presets and the one you add to be the "build-in" ones.
Thank you.

Thanks I will try to add that

In the new latest version I m using a new strategy. I move it to the root of ComfyUI you need to download the folder IF_AI from the repo here and move it inside the input I:\ComfyUI\input\IF_AI that way it will never overwrite again unless you do it on purpose. Hope it helps

Yeah, I like how this works now. Thank you, sir.


Doctest fixes

Fixed existing doctests so that
nosetests -v -w pvlib --with-coverage --cover-package=pvlib --with-doctest
runs without failure.
Not sure if this work for all versions, as the string representation of pandas objects changed in recent versions (doctest compares the output, so older versions may fail).

Great, looking forward to more of this.


Any issue i can working on?

I'm not sure where to start. Could i get any instruction?

All issues will and posted in this issues page like any other github project https://github.com/hellowin/kanca/issues


Internalize generated templates

Adding a program using the addprogram command generates a bunch of files including a templates directory with an include.html and a <program_name>/<program_name>.html file.
These files are actually static and djelm can internalize them instead of adding files to someones djelm app.
By internalizing it would mean any future changes to how we create the templates would be hidden from the user.

Released in 0.9.0


Fix hard-coded v16 in remove-junk

This bug fell through the holes as there were no tests for remove-junk --suo --testStore
VS version 16 was hard coded, now it's a regex

This is weird, I thought I had added tests


expand list of public header file extensions for cpp-library

26828
Context

This is a fix for C++ users of gradle.  There are many 3rd party libraries that contain public header files with extensions beyond ".h" and ".hpp".

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

Unsure how to retroactively perform "sign off".  Would appreciate thoughts.

Closing this PR.  It is replaced by 26844 which has commit with signoff.  This branch did not have signoff.


Fix CHANGELOG of v0.27.0

I fixed following things in CHANGELOG of v0.27.0.

Remove 'Your contribution here.'.
Fix release year(2014 -> 2017).

Coverage increased (+2.5%) to 100.0% when pulling 875c352a9b9819071cb86ba32d5edd910c0b0012 on ryu39:fix_changelog into 46dffa3d287d736a723db86f1bdefeee6bbb70eb on ruby-grape:master.

Coverage increased (+2.5%) to 100.0% when pulling 875c352a9b9819071cb86ba32d5edd910c0b0012 on ryu39:fix_changelog into 46dffa3d287d736a723db86f1bdefeee6bbb70eb on ruby-grape:master.

Coverage increased (+2.5%) to 100.0% when pulling 875c352a9b9819071cb86ba32d5edd910c0b0012 on ryu39:fix_changelog into 46dffa3d287d736a723db86f1bdefeee6bbb70eb on ruby-grape:master.

Coverage increased (+2.5%) to 100.0% when pulling 875c352a9b9819071cb86ba32d5edd910c0b0012 on ryu39:fix_changelog into 46dffa3d287d736a723db86f1bdefeee6bbb70eb on ruby-grape:master.

Coverage increased (+2.5%) to 100.0% when pulling 875c352a9b9819071cb86ba32d5edd910c0b0012 on ryu39:fix_changelog into 46dffa3d287d736a723db86f1bdefeee6bbb70eb on ruby-grape:master.

Coverage increased (+2.5%) to 100.0% when pulling 875c352a9b9819071cb86ba32d5edd910c0b0012 on ryu39:fix_changelog into 46dffa3d287d736a723db86f1bdefeee6bbb70eb on ruby-grape:master.

Coverage increased (+2.5%) to 100.0% when pulling 875c352a9b9819071cb86ba32d5edd910c0b0012 on ryu39:fix_changelog into 46dffa3d287d736a723db86f1bdefeee6bbb70eb on ruby-grape:master.

thanks @ryu39

Thanks.


Flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value #94412

Hi @waleedtarbosh
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?

@waleedtarbosh
When you open an issue, please use new issue template and fill out requested details so that we'll have enough info to work with. Currently there's not enough details to make this actionable. Also please don't post screenshots that shows the error which isn't much helpful for us.
Closing as not enough details provided to proceed further. Please use new issue template to make the issue actionable.


Fix [Wordpress] rating examples

Closes #3433.

Warnings

:warning:
This PR modified service code for wordpress but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @PyvesB!

  Generated by :no_entry_sign: dangerJS against d8a1745f53e5f3011de5a8987d26f05b34f765f9

Seems to be fixed, as you can observe on the review app. 😉


Probe component

A debug component that displays a value (constant, variable, parameter value, result of an SQL function, e.g.). Usefull to validate data flow or function behaviour. Each value (except NULL value) is surrounded by double quotes and followed by datatype (number, string, boolean, e.g.).

Is there something that you don't like in the existing debug component?

Yes, it may be necessary to modify the documentation for the debug component. The first sentence is too restrictive: "Display all the parameters passed to the component".


Added web-sys dom example withot npm and webpack

Solves #1034. The same example as in dom folder, but using vanillajs.

Does not it show the same as the no_modules example?

@afdw mostly yes
May be it's better to put more examples in a separate repo, i don't know

Sorry for the delay, and thanks for the PR! I wonder if this could be included in the existing no_modules example perhaps? I think the Rust code here is the exact same, right, it's just the surrounding setup?

@alexcrichton yes, the Rust part is the same, and the JS part is slightly different. A made a separate commit, so you can check the diff

Ok cool! Perhaps this could be folded in with the existing no_modules example then? (as that's just showing off how DOM things still work in --no-modules mode)

@alexcrichton great idea, updated the pr

👍


[WIP] Adding virtual switch implementation

To get virtual switch displayed on the screen, go to Compute > infrastructure > Hosts >  / Network:

This code only works for the full inventory that is performed every 24 hours.
You'll need to add support for targeted refresh and event-driven targeted refresh, so that when a new virtual switch is created or deleted it can be reflected in MIQ without having to wait for the next full refresh,
For this, you'll want to look at these files:
Add "VirtualSwitch" here:
https://github.com/ManageIQ/manageiq-providers-ibm_power_hmc/blob/fd8e4144930830ba0cd04102a248b06bc322073f/app/models/manageiq/providers/ibm_power_hmc/infra_manager/event_parser.rb#L18
and here:
https://github.com/ManageIQ/manageiq-providers-ibm_power_hmc/blob/fd8e4144930830ba0cd04102a248b06bc322073f/app/models/manageiq/providers/ibm_power_hmc/infra_manager/event_target_parser.rb#L22
Override the vswitches method here:
https://github.com/ManageIQ/manageiq-providers-ibm_power_hmc/blob/fd8e4144930830ba0cd04102a248b06bc322073f/app/models/manageiq/providers/ibm_power_hmc/inventory/collector/target_collection.rb#L47
This can be handled in a separate PR if you prefer.

Also, you need to add virtual switch here:
https://github.com/ManageIQ/manageiq-providers-ibm_power_hmc/blob/fd8e4144930830ba0cd04102a248b06bc322073f/app/models/manageiq/providers/ibm_power_hmc/inventory/collector/target_collection.rb#L54

@dberg1 do I have to add a VirtualSwitch class ? I can see in this file that Vios and Lpar are described in vios.rb and lpar.rb files. However, there is no definition for VirtualSwitch.
Thank you for the indications brought on the other subjects 😄

Why is spec/vcr_cassettes/manageiq/providers/ibm_power_hmc/infra_manager/refresher.yml being deleted in this PR?

Hi @chessbyte , I deleted it because I wanted to record a new vcr cassette (I think the new vcr cassette will generate a new refresher.yml) ?

@CallisteH if you want to re-record the cassette you have to remove the spec/vcr_cassettes/manageiq/providers/ibm_power_hmc/infra_manager/refresher.yml file then re-run the specs while pointing at the live system with proper config/secrets.yml set.

Thanks @agrare, I finally finished the virtual switch implementation.
I started to work on Virtualnetwork (vlan) implementation which is pretty close to v_switch.

I have one problem : on ManageIQ interface, I see a dropdown menu next to the vSwitches (I think we are supposed to see the virtualNetworks at the bottom) but when I click on the arrow, the arrow turns into exclamation mark like this :

It's as if there was no link between the vswitch and the vlan. The method in charge of calling the persister to insert vlans is this one : https://github.com/ManageIQ/manageiq-providers-ibm_power_hmc/blob/795c20bde505e48ca23340671a49ba9980e70d19/app/models/manageiq/providers/ibm_power_hmc/inventory/parser/infra_manager.rb#L115
Do you know if there is a table in the database that is in charge of establish a link between the switches table and lans table ?

Do you know if there is a table in the database that is in charge of establish a link between the switches table and lans table ?

LANs are a direct belongs_to :switch so there is just a switch_id column

Thanks @agrare for your reply.
For the moment I've not detected a bad id in the database.
For lans table :
 id  | switch_id |   name    | tag |         created_on         |         updated_on         |               uid_ems                | allow_promiscuous | forged_transmits | mac_changes
| computed_allow_promiscuous | computed_forged_transmits | computed_mac_changes | parent_id |               ems_ref
-----+-----------+-----------+-----+----------------------------+----------------------------+--------------------------------------+-------------------+------------------+-------------
+----------------------------+---------------------------+----------------------+-----------+--------------------------------------
 130 |        10 | vnCalTest | 1   | 2021-11-12 18:34:22.464818 | 2021-11-12 18:34:22.464818 | 2ce4de8e-db93-3f83-9d8c-e77cf4f9450d |                   |                  |
|                            |                           |                      |           | c9a896cf-e239-37cc-b764-3d5d4891dcb6

For switches table :
 id | name  | ports |         created_on         |         updated_on         |               uid_ems                | allow_promiscuous | forged_transmits | mac_changes | switch_uuid |
 shared | mtu | ems_id | type | health_state | power_state | host_id
----+-------+-------+----------------------------+----------------------------+--------------------------------------+-------------------+------------------+-------------+-------------+
--------+-----+--------+------+--------------+-------------+---------
 10 | vsCal |       | 2021-11-12 16:42:12.128985 | 2021-11-12 16:42:12.128985 | 3918489b-cb3d-343c-8c98-4710901d0d63 |                   |                  |             |             |
        |     |        |      |              |             |       4

I think the lazy_find function has retrieved the correct switch.
In the element inspection from the browser, when I click on the arrow, I get the following error :
throw "error";

            sendDataWithRx({
              serverError: {
                data: 'undefined local variable or method \`features\' for #<HostController:0x00007fff7d34d670>\nDid you mean?  features?\n               feature [host/tree_autoload]',
                url: 'http://<IP_ADDRESS>:3000/host/tree_autoload',
              },
              source: 'server',
            });

            miqSparkle(false);

if (miqDomElementExists('adv_searchbox_div')) $('#adv_searchbox_div').hide();

This error is more detailed inside log/development.log :
[----] F, [2021-11-12T21:09:52.523391 #2982475:b3948] FATAL -- development: Error caught: [NameError] undefined local variable or method `features' for #<HostController:0x00007fff7b48d4b0>
Did you mean?  features?
               feature
/home/padmin/.rvm/gems/ruby-2.7.2/bundler/gems/manageiq-ui-classic-70f9415205c3/app/controllers/application_controller.rb:1984:in `assert_accordion_and_tree_privileges'
/home/padmin/.rvm/gems/ruby-2.7.2/bundler/gems/manageiq-ui-classic-70f9415205c3/app/controllers/application_controller/tree_support.rb:5:in `tree_autoload'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/base.rb:195:in `process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rendering.rb:30:in `process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:135:in `run_callbacks'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/callbacks.rb:41:in `process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/rescue.rb:22:in `process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:180:in `block in instrument'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/notifications.rb:180:in `instrument'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/activerecord-<IP_ADDRESS>/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/abstract_controller/base.rb:136:in `process'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionview-<IP_ADDRESS>/lib/action_view/rendering.rb:39:in `process'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal.rb:190:in `dispatch'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_controller/metal.rb:254:in `dispatch'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:33:in `serve'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:49:in `block in serve'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:32:in `each'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/journey/router.rb:32:in `serve'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/routing/route_set.rb:834:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/routes_lazy_routes-0.4.2/lib/routes_lazy_routes/lazy_routes_middleware.rb:16:in `call'
/home/padmin/manageiq/lib/request_started_on_middleware.rb:12:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/cookies.rb:654:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/callbacks.rb:101:in `run_callbacks'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/executor.rb:14:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:37:in `call_app'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/railties-<IP_ADDRESS>/lib/rails/rack/logger.rb:28:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/sprockets-rails-3.3.0/lib/sprockets/rails/quiet_assets.rb:13:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/activesupport-<IP_ADDRESS>/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/executor.rb:14:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/static.rb:126:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/actionpack-<IP_ADDRESS>/lib/action_dispatch/middleware/host_authorization.rb:82:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/secure_headers-3.9.0/lib/secure_headers/middleware.rb:12:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:527:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/puma-4.3.10/lib/puma/configuration.rb:228:in `call'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/puma-4.3.10/lib/puma/server.rb:718:in `handle_request'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/puma-4.3.10/lib/puma/server.rb:472:in `process_client'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/puma-4.3.10/lib/puma/server.rb:328:in `block in run'
/home/padmin/.rvm/gems/ruby-2.7.2/gems/puma-4.3.10/lib/puma/thread_pool.rb:134:in `block in spawn_thread'

On this same file, I see correct requests to lans table :
SELECT 1 AS one FROM "lans" WHERE "lans"."switch_id" = $1 LIMIT $2  [["switch_id", 9],["LIMIT", 1]]
[----] D, [2021-11-12T21:35:35.961811 #2984132:b3948] DEBUG -- development:   Lan Load (0.2ms)  SELECT "lans".*   FROM "lans" WHERE "lans"."switch_id" = $1  [["switch_id", 11]]

Thanks @CallisteH !  That looks like a UI bug, can you post that exact error and the screenshot in a new bug on the UI repo?  https://github.com/ManageIQ/manageiq-ui-classic/issues/new

Good idea @agrare, I just created the issue : https://github.com/ManageIQ/manageiq-ui-classic/issues/7961
Don't hesitate to come back to it if you think the description of the error deserves more information.

@agrare @jaywcarman

I think we can merge this code, if it's okay for you

Overall looks good to me @CallisteH take it out of WIP whenever you're ready for this to be merged


Updates use of element.xml notation

Category

[x] Content fix
[ ] New article

Related issues

fixes #8601

What's in this Pull Request?
Updates the use of element.xml to elements.xml (plural)

@microsoft-github-policy-service agree [company=""]

Learn Build status updates of commit 9f441a0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/sp-add-ins/add-a-custom-content-type-to-a-sharepoint-hosted-sharepoint-add-in.md
:white_check_mark:Succeeded
View

docs/sp-add-ins/programmatically-deploy-a-custom-button-in-the-provider-hosted-add-in.md
:white_check_mark:Succeeded
View

docs/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api.md
:white_check_mark:Succeeded
View

docs/spfx/extensions/get-started/building-simple-field-customizer.md
:white_check_mark:Succeeded
View

docs/spfx/extensions/get-started/serving-your-extension-from-sharepoint.md
:white_check_mark:Succeeded
View

docs/spfx/web-parts/get-started/provision-sp-assets-from-package.md
:white_check_mark:Succeeded
View

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

Learn Build status updates of commit 49f8d8e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/sp-add-ins/add-a-custom-content-type-to-a-sharepoint-hosted-sharepoint-add-in.md
:white_check_mark:Succeeded
View

docs/sp-add-ins/programmatically-deploy-a-custom-button-in-the-provider-hosted-add-in.md
:white_check_mark:Succeeded
View

docs/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api.md
:white_check_mark:Succeeded
View

docs/spfx/extensions/get-started/building-simple-field-customizer.md
:white_check_mark:Succeeded
View

docs/spfx/extensions/get-started/serving-your-extension-from-sharepoint.md
:white_check_mark:Succeeded
View

docs/spfx/web-parts/get-started/provision-sp-assets-from-package.md
:white_check_mark:Succeeded
View

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


fix: 存储过程删除或者切换后，执行结果清空&新建存储过程之后默认右侧选中，出现一个新的存储过程tab

fix: 存储过程删除或者切换后，执行结果清空&新建存储过程之后默认右侧选中，出现一个新的存储过程tab

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.qmy01212463 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Larger Layout Size For Menu Tiles

As my Hubley dashboard grows I am starting to accumulate more & more links to certain apps. Once I reach ~10+ Tiles in a Menu I can no longer see/click the Tiles that are at the end of the list.
It looks like the default Menu layout is an infinite length of 2 columns.
Would it be possible to make the menu size customizable? Either allow users to specify the number of columns, include some sort of scroll bar, or see if there is a way the Menu can autofill the screen size once opened? (similar to how the dashboard layout works)
Example Of Having 'Too Many' Tiles within A Single Menu:

I've never thought about menus becoming so large ^^
Please have a try with docker pull ghcr.io/knrdl/hubleys-dashboard:edge (edge tag)

@knrdl awesome, update is great!
Circling back to rebuilding my homelab and its gotten quite large lol
still trying to figure out the issue I'm having with getting my OAuth setup to work well with Hubleys, no luck yet

@K-J-VV I've published a new release

https://github.com/knrdl/hubleys-dashboard/issues/259#issuecomment-2094869658, no luck yet

You can try this reflecting server https://github.com/traefik/whoami for debugging purposes


Fixed issue with performance values for SR models

The documentation was reporting wrong reference performance values.

@snosov1 Please, review

Jenkins please retry a build


Feature/debug mode info

@astagi can you please restart the build task? it failed for the usual reason (searching for sdk methods that are not on develop branch yet) but now that https://github.com/ministero-salute/it-dgc-verificac19-sdk-android/pull/81 is merged it should pass
thank you


Add support for labels, annotations and priority class

Related Issue:
#274
Changes:

Add support for specifying additional labels on OpenSearch nodes and dashboard pods
Add support for PriorityClass on OpenSearch nodes

Sample Config:
apiVersion: opensearch.opster.io/v1
kind: OpenSearchCluster
metadata:
  name: my-first-cluster
  namespace: default
spec:
  general:
    serviceName: my-first-cluster
    version: 1.3.1
  dashboards:
    enable: true
    version: 1.3.1
    replicas: 1
    labels:
      someLabelKey: someLabelValue
    annotations:
      someAnnotationKey: someAnnotationValue
    resources:
      requests:
         memory: "512Mi"
         cpu: "200m"
      limits:
         memory: "512Mi"
         cpu: "200m"
  nodePools:
    - component: masters
      replicas: 3
      diskSize: "5Gi"
      labels:
        someLabelKey: someLabelValue
      annotations:
        someAnnotationKey: someAnnotationValue
      priorityClassName: somePriorityClassName
      NodeSelector:
      resources:
         requests:
            memory: "2Gi"
            cpu: "500m"
         limits:
            memory: "2Gi"
            cpu: "500m"
      roles:
        - "data"
        - "master"

My local environment can't run env test since I am on M1 silicon.  Sorry for so many updated commits, I was able to run the tests through my forked repo and they should pass now.