Unable to run ops w/ containers if using docker 4 windows

expected:
ops run the same as any other OS & docker install
actual:
ops start but hang on container call

probably explains it: https://forums.docker.com/t/which-docker-host/8802

Disappointingly it appears to just be really poor performance. It does work.. if you wait long enough


Change the fileactivator status file path

Change the default path for the statuses file for the FileActivator to the app folder in the storage folder. This to keep the application's storage folder clean.
Point of discussion; maybe add modules folder in storage and include files like this in there? The files app folder get git ignored by default.

Thank you for the contribution! 👍


Cookware Quantity Bug

The cooklang spec states that quantity for cookware is supported. However, when running it, the output shows a warning.
Actual Output
$ cook recipe read << EOF
#test{1}
EOF
Warning: expected '}' but got 1
Ingredients:

Cookware:
    test

Steps:
     1. test1}
        [–]

Expected Output
$ cook recipe read << EOF
#test{1}
EOF
Cookware:
    test                          1

Steps:
     1. test
        [–]

EBNF
...
cookware             = one word cookware | multiword cookware ;
+one word cookware    = "#", ( word,                     [ "{", [ quantity ], "}" ] ) ;
multiword cookware   = "#", ( word, { text item - "{" }-, "{", [ quantity ], "}" ) ;
...

$ cook version
v0.1.4 – in food we trust

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:        22.04
Codename:       jammy

This was fixed after migration to Rust parser.


Support Array constructor using literal evaluation

Support Array constructor using literal evaluation.
Before this PR, SELECT ARRAY[1,2] doesn't work, we need to write it as SELECT ARRAY[1,2] FROM existTable, then query is always pushed down to server for processing.

Codecov Report
Attention: 77 lines in your changes are missing coverage. Please review.

Comparison is base (4ad36c3) 61.61% compared to head (84bcac6) 0.00%.

Files
Patch %
Lines

...e/pinot/common/function/scalar/ArrayFunctions.java
0.00%
39 Missing :warning:

...apache/pinot/common/function/FunctionRegistry.java
0.00%
20 Missing :warning:

...ery/runtime/operator/operands/FunctionOperand.java
0.00%
10 Missing :warning:

.../parsers/rewriter/CompileTimeFunctionsInvoker.java
0.00%
4 Missing :warning:

...gment/local/function/InbuiltFunctionEvaluator.java
0.00%
4 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12278       +/-   ##
=============================================
- Coverage     61.61%    0.00%   -61.62%
=============================================
  Files          2415     2339       -76
  Lines        131331   127642     -3689
  Branches      20266    19730      -536
=============================================
- Hits          80922        0    -80922
- Misses        44491   127642    +83151
+ Partials       5918        0     -5918

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.49%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.61%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <0.00%> (-61.62%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Configurable application logging to toggle PII on/off for testing

Add additional logging configurations that would allow PII to be displayed for testing purposes.
Context: https://github.com/ethyca/solon/pull/143#discussion_r734639625

@stevenbenjamin partially implemented this as part of the original query implementation. Some plugs in API are already there, but it's not wired all the way through to the config


Fixing wrong naming after rebuild

After rebuilding a native module, electron-rebuild names the new file after the dependeny and not like it was specified as the target-name in binding.gyp.
This fix copys the newly created .node-file and names it like it was specified in binding.gyp. This is necessary because node-bindings expects it like this.
(Closes #1)

Also added parameter in options to rebuild optional dependencies (because some native modules can't be installed on a specific OS and therefore must be in optionalDependencies)


added as participant

Hi @geoffrey-hill-tutamantic can you add a space between the fields?

will add.


V-Sekai UGC System with MissingResource and MissingNode

I am looking for help trying to define the godot wasm interface for MissingNode, and MissingResource.
Godot wasm needs to handle downstream nodes like Node3D, Control and Node2D.
My goal is to create a generic interface for handling incomplete data and providing a generic interface for behavior, ensuring that the UGC system remains flexible and adaptable to various types of content.
The V-Sekai UGC System is designed to provide a seamless experience for users to create, interact with, and share custom game objects and resources. By leveraging the power of Godot WebAssembly (godot-wasm), this system can efficiently process and manage user-generated content (UGC) within the virtual world.
MissingResource and MissingNode play crucial roles in handling incomplete data and providing a generic interface for behavior, ensuring that the UGC system remains flexible and adaptable to various types of content.
Security Note
Set a script will execute gdscript.
Sequence Diagram
sequenceDiagram
    title: V-Sekai UGC System with MissingResource and MissingNode
    participant User as User
    participant V-Sekai as V-Sekai
    participant godot-wasm as Godot WebAssembly
    participant UGC as User-Generated Content

    User->>V-Sekai: Create custom game objects and resources
    V-Sekai->>godot-wasm: Process custom content in engine
    godot-wasm->>UGC: Store custom content
    Note over UGC: MissingResource handles
incomplete data
    Note over UGC: MissingNode serves as a
generic interface for behavior

    User->>V-Sekai: Interact with custom content
    V-Sekai->>godot-wasm: Request custom content from engine
    godot-wasm->>UGC: Retrieve custom content
    godot-wasm-->>V-Sekai: Return custom content to V-Sekai
    V-Sekai-->>User: Display custom content in the virtual world

    User->>V-Sekai: Share custom content with others
    V-Sekai->>UGC: Distribute shared content to other players

Here's a mermaid.js diagram to represent the relationship between the scripts and their properties:
graph LR
A[PackedScene] --> B[MissingNode]
B --> C[Wasm Binary]
C -- Executed to read --> D[Custom Class Name]
C -- Executed to read --> E[Data inside (Embedded Script)]

Here's the updated mermaid.js diagram representing the relationship between PackedScene, MissingNode, Wasm Binary, and Embedded Script with the change that the Wasm Binary is executed to read:
sequenceDiagram
participant A as PackedScene
participant B as MissingNode
participant C as Wasm Binary
participant D as Executed to read
participant E as Custom Class Name
participant F as Data inside (Embedded Script)

A->>B: Passes MissingNode
B->>C: Passes Wasm Binary
C->>D: Executes to read
D->>E: Reads Custom Class Name
D->>F: Reads Data inside (Embedded Script)

Hey @fire I think that this is firmly outside of the scope of Godot Wasm issues and is probably a better fit for discussions. However, I'd love to try to understand your use case a little more and help you with your implementation as much as possible.
I think I'm missing some context for the graphs you've included. If you could help me understand how you're hoping to use Wasm modules, who owns them, etc., I'd be able to give better feedback. Are you interested in the security aspect as modules are to be uploaded by users? Are you more interested in using Wasm for heavy compute as an alternative to GDScript? Once loaded, what functions do the Wasm modules perform (high level)?

The ugc modules are uploaded by users to be ran bu everyone. The design here is that a wasm module is attached to a MissingNode as a script to provide property data and behaviour as data. The neat trick is resource are implemented as MissingResource and properties are a Dictionary containing Variants.

Behaviour in this design is inside the dictionary standard godot desigin is to use an “embedded” script property like set script. So wasm godot only needs to implement dependencies of MissingNode and MissingResource

Sorry if I’m repeating myself

Wasm in V-Sekai Proposal
V-Sekai utilizes WebAssembly (Wasm) to enhance performance, offering an alternative to GDScript.
Ownership

Core wasm modules: Owned by V-Sekai
Custom wasm modules: Owned by users

Security
User-uploaded Wasm modules undergo a two-step process for safety and unauthorized access prevention:

Validation: Ensure module structure and integrity adhere to security standards.
Sandboxing: Confine modules in a secure environment, restricting system resource access and mitigating potential harm.

Purpose
Wasm serves multiple purposes in V-Sekai:

Boosts complex calculations, graphics rendering, and algorithm execution
Enables users to have control over their own scripts

Functionality
Wasm modules facilitate advanced functions in virtual worlds and avatar-based social games, such as:

Efficient character animations
Interactive environments
Real-time multiplayer networking
Immersive gameplay experiences

AI Assistance
This article was assisted by AI.

I remade the article https://github.com/V-Sekai/manuals/blob/master/decisions/20230611-wasm-in-v-sekai.md.

Thanks for the info. I think I understand your use case a little clearer. Let's start with the simpler case of MissingNode. You still certainly have a better sense of what you need so let me know your thoughts on the following.

A PackedScene encounters a MissingNode and attempts to extract its class name and properties.
A GDScript (or C++) shim that's a universal wrapper around the Wasm module (and directly uses Godot Wasm) allows translation of some higher-level types e.g. strings, arrays, dictionaries. This is the type that should be instantiated by the PackedScene.
The wrapper node, when queried for its properties, should forward this query onto the Wasm module thus allowing UGC to define arbitrary node properties.

Does this sound roughly correct? If you have a clearer understanding, could you create a simple POC that uses this flow but simply defines properties in either GDScript/C++? With that, I could add the Wasm translation layer.

We need to create a simple Godot Engine PackdScene with one node, called MissingNode.
This node will be initialized by a GDScript script (representing Godot-WASM).

the custom node type will be "Node"
the properties will include a gdscript script property that contains gdscript to prints "Hello world!"

Awesome if you could draft up a POC Godot project with exactly that, that would be helpful!
In the actual implementation (post-POC), you'd replace hello_world.gd with logic contained in the UGC Wasm module, correct?

I think this is what I got.
[gd_scene load_steps=2 format=3 uid="uid://muen6x7gxbjo"]

[sub_resource type="GDScript" id="GDScript_wmpej"]
script/source = "extends Node

func _enter_tree():
    print(\"_enter_tree()\" % [])
"

[node name="Node3D" type="MissingNode"]
original_class = "Node3D"
script = SubResource("GDScript_wmpej")

It prints _enter_tree() when executed.

Here's another scene.
[gd_scene load_steps=2 format=3 uid="uid://bk1cybq0p5ekv"]

[sub_resource type="GDScript" id="GDScript_wmpej"]
script/source = "extends Marker3D

func _init():
	print(\"_enter_tree() %s\" % [get_class()])
	global_transform.origin = global_transform.origin + Vector3(0, 1, 0)
	print(global_transform.origin)
"

[node name="Marker3D" type="MissingNode"]
original_class = "Marker3D"
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
process_physics_priority = 0
process_thread_group = 0
editor_description = ""
script = SubResource("GDScript_wmpej")

tl;dr
MissingNode / MissingResource behaviour is a standard feature of Godot 4. It's been turned on and shipped in production.
I was using its property with the fact that wasm can be degraded to use only Node and Resource methods to limit the godot-wasm implementation surface area.

After discussion we ended up with this conclusion.

The proposed solution uses WebAssembly (Wasm) to enhance performance and functionality in V-Sekai through User-Generated Content (UGC) Wasm modules. These modules are attached to an existing base node as a script, enabling them to provide property data and behavior for nodes in the virtual world or game.


AttributeError when creating extension instance inside custom Bot class

When creating the extension as part of a custom bot class, you get an AttributeError.
I'm using Python 3.9.6, discord.py version 1.7.3 and discord-ui version 3.1.0.
Traceback (most recent call last):
  File "main.py", line 10, in <module>
    bot = CustomBot(command_prefix="!")
  File "main.py", line 8, in __init__
    self.ui = UI(self)
  File "discord_ui/client.py", line 1038, in __init__
    self.components = Components(client, auto_defer=auto_defer)
  File "discord_ui/client.py", line 810, in __init__
    elif discord.__version.startswith("1"):
AttributeError: module 'discord' has no attribute '_Components__version'

(I removed unnecessary parts of the paths)
Here's the code:
from discord.ext import commands
from discord_ui import *

class CustomBot(commands.Bot):
    def __init__(self, **options):
        super().__init__(**options)
        self.ui = UI(self)

bot = CustomBot(command_prefix="!")
bot.run("token here")

The documentation suggests that it has to be a commands.Bot, but I don't see how this would break it.
Additionally, this only started happening once I updated to 3.1.0.

thank you for reporting, it seems that this was a small typing issue, this should be fixed now

plz wait for the new pip package version to be uploaded together with the fix

ok so I uploaded the fix with version 3.2.4
pip install discord-ui==3.2.4


Keep track of token locations and improve error reporting

The exception report design was inspired by https://github.com/nunomaduro/collision:

The exception report design was inspired by https://github.com/nunomaduro/collision:

Should we be more explicit about how the compiler interprets the code? E.g., "You're trying to assign "invalid", which is a string, to the variable a, which is a number."

Added tips for all exceptions:


Can get vertical text but cannot get them as LTTextLineVertical elements?

I'm having no problem getting vertical text using one of the methods in the documentation (i.e., using TextConverter or the high-level extract_text). But I cannot seem to figure out how to get this vertical text as LTTextLineVertical elements. Anytime I use one of the methods for element extraction listed in the docs it'll get Horizontal text elements but not the Vertical ones. Hacking into the TextConverter object I can see that it understands the vertical text as the Vertical text objects I'm interested in, but I'd prefer to not have to hack into the class to get the objects I'm after.
What's the reason that code like:
with open('example.pdf', 'rb') as infi:
    parser = PDFParser(infi)
    doc = PDFDocument(parser)
    rsrcmgr = PDFResourceManager()
    device = PDFPageAggregator(rsrcmgr, laparams=LAParams(detect_vertical=True, all_texts=True))
    interpreter = PDFPageInterpreter(rsrcmgr, device)
    for page in PDFPage.create_pages(doc):
        interpreter.process_page(page)
        layout = device.get_result()
        for element in page_layout:
            print(element)

or
for page_layout in extract_pages('example.pdf', laparams=LAParams(detect_vertical=True, all_texts=True)):
    for element in page_layout:
         print(element)

seem to only capture the LTTextLineHorizontal elements?

After working on this for awhile, I came to the simple realization. LTTexts can be descendants of LTFigure objects. Didn't realize that.


Automated Package Upgrade

:tada: This PR is included in version 25.4.87 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improved File Handling System

Description
Rewrite of the file handling system.
The current file handling system starts to get slow for larger projects. This is noticeable to the user by the slow startup times of codeedit, slower file moving in larger projects, etc. A new file handling system is added which is more performant. It also makes more use of the capabilities of NSDocument, simplyfying things.
Related Issues

#1336

Checklist

[ ] I read and understood the contributing guide as well as the code of conduct
[ ] The issues this PR addresses are related to each other
[ ] My changes generate no new warnings
[ ] My code builds and runs on my machine
[ ] My changes are all related to the related issue above
[ ] I documented my code

Screenshots

Wowzer

What is the status of this PR?

What is the status of this PR?

It's 80% done, but I currently don't have the time to resume working on it

So close! That is okay, I totally understand. Do you have any idea when you might get the time in the future?

So close! That is okay, I totally understand. Do you have any idea when you might get the time in the future? Depending, it may be best to close this for the time being and reopen when that time comes. What do you think?

Maybe in September, but I can't promise anything 😅. It's fine for me to close this PR for now, but it's probably best that a linked issue is created so the work doesn't get lost. Also, branches are removed from time to time, so I'm hoping this one doesn't get deleted. I have a local copy though

In that case, we can keep this PR open. It may help to keep it updated from time to time though so you don't end up with major conflicts down the road.

Closing this as discussed with @Wouter01. This will be implemented but the current fork is too far behind CE to be merged without a lot of pain.


System to run Chef Infra target mode for multiple nodes

Target mode is part of a larger solution for managing infrastructure where you can't install a Chef Infra Client. For the complete solution to work as expected we still need these remote systems to execute Chef Infra on a schedule and send their data to Infra Server / Automate. In order to achieve this we need the ability for a node to proxy Chef Infra target node runs.
Basic Idea

Multiple client.rb files are stored in some new .d directory in /etc/chef
Mutliple client.pem files will exist for these nodes
When Chef Infra Client runs it loads all of the client.rb files and executes multiple target mode runs with standard Chef Infra Server checkins/ reporting.

Closing this in favor of https://chefio.atlassian.net/browse/INFC-38


chore: bump sysinfo for fix

Motivation
Builds break with new libc due to assumptions by sysinfo dep
Solution
Bump sysinfo to get fix https://github.com/GuillaumeGomez/sysinfo/issues/1392
PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

given https://github.com/GuillaumeGomez/sysinfo/issues/1392#issuecomment-2502137430, this can likely be closed


implement GAMMA and POWERLINE configuration

This patch implements the missing GAMMA and POWERLINE configuration options.
As a consequence the GUI has been also updated accordingly, also with a more compact layout.
Finally this patch also mutes a few of the more verbose warnings ...
I have am using your Framework in reacTIVision,
many thanks for bringing proper UVC camera configuration to the Mac.
https://github.com/mkalten/reacTIVision

hey, thanks a bunch for these fixes/additions- i appreciate the help!


Needs Update!

This tool is for older versions of IntelliJ and is not working properly, you need to update it!

any news on this?

+1


compiled against a different Node.js version using

node-version:10.17.0
node-gyp-version:6.0.1
electron--version:7.1.2
window10
errorMsg:
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 75. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func (electron/js2c/asar.js:140:31)
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:922:18)
at Object.func (electron/js2c/asar.js:140:31)
at Object.func [as .node] (electron/js2c/asar.js:140:31)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:775:19)
result:   It's been run electron-rebuild.cmd,But there were still errors

Thanks for filing an issue! In order to help you with your problem, we're going to need more information about it. In particular:

Console output when you run electron-rebuild with the environment variable DEBUG=electron-rebuild (instructions for Windows and non-Windows). Please include the stack trace if one exists.

What command line arguments are you passing?

Please provide either a failing minimal testcase (with code) or detailed steps to reproduce your
problem. Using electron-quick-start is a good starting point. This includes the name and version of the native module you are having problems with.

node-ffi @lastest and "electron": "^7.1.5", Is it incompatible?

Electron 7 is bundled with Node 12. As of this comment, the ffi module has not been updated for Node 12. I would suggest using ffi-napi instead, which has support for Node 12 and is also rebuilt in the electron-rebuild testsuite.


Additional label for ratelimit error cause

how does this come up? because i'm also facing this 429 errors, with 15s scrape, understandable. but I haven't found changes causing this now.
sorry for this little bit OT

@noerw It has been a while, but I have not checked in for some time as well...
Do you want to continue on this PR?

I'm sure I rebased this change, but looks like I didn't push it. I'll push this once I'm home again in 2 weeks


feat: support simpler loop signs by grid_direction

This PR may help to design approaches on the hashi problem. @zhuyaoyu

After latest commit, #25 is resolved now.


Standalone Watcher deployment

:clipboard: PLAN-226
As a user, I would like to easily deploy a standalone Watcher, so that I can validate transactions myself without relying on 3rd party.
Business Benefit for OmiseGO
less load on the OmiseGO watcher service
Business Benefit for Users
No need to trust Operator’s watcher
Business Risk
having too many Watcher maintaining multiple Child chain connections could crash our network, resulting in downtime
Design Description
a one-click installation or multi-step but concise guide to deploying your own local watcher on your infrastructure
Ideally a Docker container of some kind
This is for development/local deployment as opposed to production

This is possible now with our existing tooling. Would you like a demo some time?

@jbunce awesome! A demo would be great 😄 Do you have a PR/doc on how to do this?

That is great ! I did see that there is a Watcher specific Docker file now. Is the individual deployment process of that quite simple ? or is it still coupled with other services still

@Pongch Ignore that Dockerfile. It's for releases. We're always coupled with the Postgres (at least for the informational Watcher service) and the Ethereum connectivity client.
@achiurizo No documentation yet but you can derive it from the docker-compose:

Build the Dockerfile or grab it from the latest push.

docker run -d -p 7434:7434 --env MIX_ENV=prod --env ETHEREUM_NETWORK= RINKEBY --env RINKEBY_CONTRACT_ADDRESS=<snip> --env RINKEBY_TXHASH_CONTRACT=<snip> --env RINKEBY_AUTHORITY_ADDRESS=<snip> --env ELIXIR_SERVICE=WATCHER --env CHILD_CHAIN_URL=http://childchain.fqdn.net:80 --env DATABASE_URL=postgres://<snip> --env ETHEREUM_RPC_URL=http://geth:8545

If it makes life easier I can create a Watcher specific docker-compose that stands up a local Postgres instance too to synchronise with an already running Childchain?

I think a watcher specific docker-compose would be great for this story. Question RE: this setup, aside from the Postgres, do we also have to specify the Rootchain contract and Ethereum client endpoint ? would a remote RPC such as infura work fine for informational watcher ?

I think PR736 means we can close this now?

For completeness:

do we also have to specify the Rootchain contract and Ethereum client endpoint

@Pongch There isn't a way around this. Who knows which Childchain the user wants to connect with? Maybe they want to use a mainnet instance. Maybe they want to use a Rinkeby instance.

ah yes, my question was actually around how that was done. ie, is it put in as an optional flag ? or as a field inside YAML file. But that's alright, I just doubled checked and there's fields for RPC client and Childchain. We can close this 👍 great job !

taking the liberty to close, done in #736 with later fixes


Handle inner story

First of all, thanks for your library. I really enjoy working with that.
I have a question regarding to Story. I think it would be useful to handle inner story (like what IBM-Watson does) How can I handle inner story to support long conversation?

Thanks for your answer... Can you give me some hint to handle this? or could you please tell when you plan to add this feature?

You need to maintain some kind of state machine to handle inner stories/dialogue flows. The idea is to build the state machine as part of the training process ( A UI to define the state diagram). Then use NLU to trigger and jump between states.
Currently, I'm working on the same and hope to add this feature soon.

Hi, Can you tell inner stories and dialog flows are done it. I am exactly looking that one. either could you give me some hints for handle this code?

For handling inner stories you can follow above-mentioned method ,

You need to maintain some kind of state machine to handle inner stories/dialogue flows. The idea is to build the state machine as part of the training process ( A UI to define the state diagram). Then use NLU to trigger and jump between states.

Entities are avilable inside intents as parameters. You can link then using same name (for both entity and parameter).

Accessing states from other intents is being done in this branch

Thanks buddy... I am also tried something like that.. Let me check it and confirm you....


feat: allow nested YAML in profile templates

resolves #4462

Description

Allow YAML objects and arrays to be parsed from user input or passed directly from default values in order to fill the target profile.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change

I do like the flexibility that this would offer and it definitely resolves the issue you raised! Will leave a comment around making this more interactive on the issue.


'--force' from within Visual Studio

"When enabled, this setting allows you to push --force from within Visual Studio" - how???
I've enabled the setting in Global Settings, but I see nowhere in the Sync Page UI that's any different.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3c28e08d-10ad-65f0-7145-0dcc9c94d780
Version Independent ID: ca19fff9-06fa-6f95-a2fc-df12a7849112
Content: gitconfig files - Azure Repos
Content Source: docs/repos/git/git-config.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: sdanie

Any updates on this issue?
I'm confused like @yannduran.
When reading "enable" I expect to see a new option somewhere.

I would like to reopen, but I can't.
The issue is not stalled from user side but Microsoft side.

@lg2de
Is this still not exposed in VS 2019 16.8's "new Git experience"? I haven't looked yet?

I do not see any difference in the new git options.

@steved0x , can you take a look?


rename the http folder to a better name, than python

Changes

as per title

/kind

Fixes #

Release Note

Docs

I don't think this will quite work as intended.
I might be wrong, but this package is already published on PyPI as "func-python" (and imported as "func_python".  By changing this, we would need to duplicate all our work and publish two separate packages; one for each of "http" and "cloudevents".
Furthermore, it is my understanding the "Pythonic" idiom is to use files as modules, rather than directories whic is idiomatic in Go.  Thuse in Python one would expect an http.py and a cloudevent.py to implement the HTTP and CloudEvent modules, respectively.
This alignment 1:1 from published package name to import name is the reason the current codebase does not require "packages" be explicitly defined in the pyproject.toml.
Thus, I am fairly sure the current file hierarchy is correct, and the simplest option; our only  needing to add a "cloudevents.py" file right beside "http.py".
I am happy to entertain proof otherwise, because I am not a Python packaging expert!

/close
thanks for the insights. Agree not needed


[HIPIFY][perl] Wrong CUDA API identifier name in a warning

Occurs for CUDA API identifiers which are also the whole substrings in another CUDA API identifiers in the following arrays:

unsupported identifiers;
deprecated identifiers;
unsupported device functions;
counting supported device functions.

As a result, the reported/calculated identifier name is always the name of the shortest found appropriate name. It is incorrect if the actual identifier is not the shortest among all candidates.

Fixed with #168


test github actions release

Description
Simplify the release process with github actions and make it the same as the cli/webservice repos.
Noticed that the report module in this project was clashing with the other two repos, so will follow-up in cli
(actual github action was added in develop due to restriction that they be added to the default branch
https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#configuring-a-workflow-to-run-manually )
Review Instructions
Look at instructions for dockstore-support in https://wiki.oicr.on.ca/display/DOC/Dockstore+Releases#DockstoreReleases-RepositoriesthatuseFriendlyCIversionsandaGitHubAction
Browse https://artifacts.oicr.on.ca/artifactory/collab-release/io/dockstore/ for results
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-5424
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install in the project that you have modified (until https://ucsc-cgl.atlassian.net/browse/SEAB-5300 adds multi-module support properly)
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] If you are changing dependencies, check with dependabot to ensure you are not introducing new high/critical vulnerabilities
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

(going to wait for coverage update, seems bugged)

Yeah, there still seems to be something bugged with the way codecov interacts with this project The checks on the bottom say
codecov/patch — Coverage not affected when comparing 6671c22...47d5b36 and passes
codecov/project — 49.52% (+0.00%) compared to 6671c22 and passes
The comment says Patch coverage has no change and project coverage change: -22.50 warning and warns.
Clicking through to the branch for a third opinion, I get that 49% number which seems to match the bottom?
https://app.codecov.io/gh/dockstore/dockstore-support/tree/release%2F1.15.0-alpha.0


PullToRefresh but not auto-hide header.

Hello man,
Welcome your repo passed 100 watcher ^^
https://plus.google.com/103829716466878605055/posts/AiNauVQU2Ua
OK, I have a suggestion for you to improve your PullToRefresh listview.
At this moment, this is normal behavior of PullToRefresh listview:

Scroll down.
Release and listview will be refreshed.

But I want to customize its behavior like this:

Scroll down.
Release.
Listview header appears with a button "Click here to refresh".
If user clicks this button, OK it's time to refresh.
If user is wanting and do nothing, header will be auto-hidden after X seconds (3 seconds?)..

Is it possible to implement?
I'm waiting for your feedback. But please take a rest at New Year Eve.
Happy New Year man ;)
Thanks.

This could very easily be done but I'm not sure anyone else would use it.

This could very easily be done but I'm not sure anyone else would use it.

I'll add this when I get some time over the weekend.


Add character:  to font:

Character :
Font :

#225 "code for X is added"

Hey @amitkr7893, don't close issues yourself. Just link it to the PR with something like closes or 'resolves`; GitHub will handle the rest. It is not a big deal, but helps us keep track in case the PR is not merged for some reason.

It was a mistake, what should I do next ?

Don't worry you dont need to do anything now. Just take care from next time. 😊


[BUG] Harvester after upgrade to v1.4.0-rc2 fails to bring back mcc-harvester bundle, harvester-network-controller-manager pods stuck in error and crashloop backoff

Describe the bug
This likely will be encountered from v1.3.2 -> v1.4.0-rc2.
But has been only currently experienced from:

v1.4.0-rc1 -> v1.4.0-rc1
v1.4.0-rc2 -> v1.4.0-rc2

Something expereience with in #3059 -> @starbops also experienced.
To Reproduce
Steps to reproduce the behavior (pxe or baremetal):

have a 2 node or greater cluster at v1.4.0-rc2
upgrade to v1.4.0-rc2 (same version upgrade)
allow upgrade to complete
check bundles -> mcc-harvester isn't happy because harvester-network-controller-manager pods are stuck in error and backoff state

Expected behavior
Upgrade to not break:

mcc-harvester bundle
replicaset harvester-network-controller-manager-uuid
deployment harvester-network-controller-manager
Not see errors in pods of replicaset for deployment harvester-network-controller-manager :

harvester-network-controller-manager-67dc895674-jpr7w F1009 23:24:47.313805       1 vlan.go:148] disable net.bridge.bridge-nf-call-iptables failed, error: open /proc/sys/net/bridge/bridge-n
f-call-iptables: read-only file system
harvester-network-controller-manager-67dc895674-pbnqj F1009 23:23:29.728257       1 vlan.go:148] disable net.bridge.bridge-nf-call-iptables failed, error: open /proc/sys/net/bridge/bridge-n
f-call-iptables: read-only file system

Support bundle
supportbundle_4e913967-2061-4e17-8f4c-a8a1c7ca7ae7_2024-10-09T23-22-41Z.zip
Environment

Harvester ISO version: v1.4.0-rc2
Underlying Infrastructure: qemu\kvm or baremetal -> both replicatable

Additional context

This might relate to the change introduced in harvester/network-controller-harvester#83.

What's the output of sysctl net.bridge.bridge-nf-call-iptables?
How many times does the disable net.bridge.bridge-nf-call-iptables failed, error: open /proc/sys/net/bridge/bridge-n f-call-iptables: read-only file system show?

Normally, host-specific operations should be done by the agent pod, not the manager pod. So the error message appeared in the manager pods is just not right.

Note: Even in a newly provisioned v1.4.0-rc2 cluster, restarting the harvester-network-controller-manager deployment or simply killing off the pod causes the newly spawned pods to run into the CrashLoopBackOff state with the exact same error message.

Workaround: run sudo sysctl -w net.bridge.bridge-nf-call-iptables=0 on each node. The manager pods will be back in a short time.

You won't hit this issue for clusters upgrading from v1.3.2 and having at least one new cluster network created before the upgrade.

@mingshuoqiu thank you for the fix :smile: :+1:
Validated on  Version: v1.4-1856e9dc-head  w/ 2 nodes -> also upgrade to  Version: v1.4-1856e9dc-head  that there were no issues.  Restarting the network controller manager deployment also doesn't show any issues in the logs.  The bundles all look great after upgrade too :smile: .
This looks good :+1:
I'll go ahead and close this out :+1:


Feature Request: Extract dns_parser.rs as stand-alone crate.

I have a use-case for a tiny DNS client (service-discovery only) for some wasm targets. The problem is that the socket-related libraries (Socket2, if-addrs) used by this crate can't be compiled to those wasm targets yet. i.e Those libraries simply don't have the system call bindings for the targets. As a result of this, I'm just using the the DNS parser utility file from this crate.
I thought the dns parser utility is useful enough to stand alone as an independent crate.
An easier alternative would to just make this "mdns-sd" crate expose the dns_parser.rs file publicly, but again, other crates that depend on mdns-sd just for the dns parsing functionality would still need to be able to compile Socket2 and if-addrs.
So the request to extract dns_parser.rs as stand-alone crate. I'm also available to work on this if needed, but most importantly, I wanted to hear your opinion on it.

I didn't realize that the dns_parser file itself is useful for others. Thanks for raising this issue! Usually I'd like to have related things built together with less dependencies, but let me think a bit more about this. And for my curiosity, may I ask what socket/networking crate do you use for wasm targets? (or did you roll your own for sockets?)

I'm not using any crate. Yes, I'm writing my own unsafe ffi bindings for the socket system calls.

Cool! I thought about it and I think it's worth doing it.  I'll give it a shot this weekend and get back to you.

Thanks.

I posted the first version of a PR #284 for this.  I think there are quite a bit more details to iron out, but would you please give it a try (using the PR's branch) to see if it would work for your use case? Any comments are appreciated.

I have checked. It looks good to me. Just once nitpick comment.
I was also able to use the newly extracted mdns-parser, so the exposed public APIs are sufficient for my need.

Thanks! I've rebased this patch to the latest release 0.13.0 and addressed comments. I will get the diff ready for merging and publishing the new crate, and I plan to do it in a new release specific for this.

when is the release is likely going to be? i.e when the extracted crate will be available on crate.io.

When is the release is likely going to be? i.e when the extracted crate will be available on crate.io.

I plan to publish it this week.

Alright thanks.

The extracted crate is published :) at https://crates.io/crates/mdns-parser
Let me know if any issues, cheers!

I've tried the crate directly, all good. Thanks for prompt response.


Displaying wrong Dapr Control Plane version in Overview page intermittently

Expected Behavior

Expect to see accurate info.
Actual Behavior

The version displayed keeps changing from time to time.
Most time shows

But sometimes, it shows

Checked the controlplanestatus API call in both cases but got a similar response,
[
    {
        "service": "dapr-placement-server",
        "name": "dapr-placement-server-0",
        "namespace": "dapr-system",
        "healthy": "True",
        "status": "Running",
        "version": "1.3.0",
        "age": "18d",
        "created": "2021-08-25 11:59.09"
    },
    {
        "service": "dapr-operator",
        "name": "dapr-operator-696977d4fb-9g85k",
        "namespace": "dapr-system",
        "healthy": "True",
        "status": "Running",
        "version": "1.3.0",
        "age": "18d",
        "created": "2021-08-25 11:59.05"
    },
    {
        "service": "dapr-dashboard",
        "name": "dapr-dashboard-5dd8555b7b-t7mx9",
        "namespace": "dapr-system",
        "healthy": "True",
        "status": "Running",
        "version": "0.7.0",
        "age": "18d",
        "created": "2021-08-25 11:59.05"
    },
    {
        "service": "dapr-sidecar-injector",
        "name": "dapr-sidecar-injector-7b974549c6-hqgc9",
        "namespace": "dapr-system",
        "healthy": "True",
        "status": "Running",
        "version": "1.3.0",
        "age": "18d",
        "created": "2021-08-25 11:59.05"
    },
    {
        "service": "dapr-sentry",
        "name": "dapr-sentry-575465868f-gtbk5",
        "namespace": "dapr-system",
        "healthy": "True",
        "status": "Running",
        "version": "1.3.0",
        "age": "18d",
        "created": "2021-08-25 11:59.05"
    }
]

Steps to Reproduce the Problem

Just watch the dashboard for some time.
Release Note

RELEASE NOTE: FIX Dapr control plane version displayed in the overview.

Thanks. It is because the dashboard has a different version itself. Thanks for bringing this up.

I could fix this by modifying here.
But to do that, I need to know, which plan we can take ahead,
Plan A
Out of the number of services in the controlplanestatus API response, which service version we should consider as the Dapr control plane version in case of,

Kubernetes mode
Self-hosed mode

Plan B
Can we use something like semver package to figure out the latest version out of all services (eg. here)
Plan C (out of my scope)
Align the dashboard version with the rest of the dapr services.


[Question] Remove Cached account from signin list Android

Steps to Reproduce
Hi, first thanks for this nice library. I am here just to ask a question about cached account and how to reset it. My problem is the following, during my tests I point to different firebase account and it seems that once it is connected to a firebase account when I change to another firebase account and I click on google signin the list of account that appears stays the same (which isn't a problem) but when I try to connect with it I get "rejected" as nothing happens and I get back to the connection page like if nothing happened.
I was able to find a way to remove the accounts from iOS but on Android I couldn't find the way, even after removing the app access from my google account I am still getting the same output.
The question is the following how can I remove the cache from phone to be able to have a clear list when I google sign in and have to reconnect ?
I am talking about this page with the account selection:

Environment
    "react": "16.3.1",
    "react-native": "0.55.4",
    "react-native-google-signin": "~0.12.0",

    implementation "com.google.android.gms:play-services-base:16.0.1"
    implementation "com.google.android.gms:play-services-auth:16.0.1"

gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        google()
        jcenter()
        maven {
            url 'https://maven.fabric.io/public'
        }
    }
    dependencies {
        classpath 'com.google.gms:google-services:4.0.1'
        classpath 'com.android.tools.build:gradle:3.1.2'
        classpath 'io.fabric.tools:gradle:1.25.4'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        google()
        jcenter()
        maven {
            url 'https://maven.google.com'
        }
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
        maven { url "https://jitpack.io" }
    }
}

subprojects {
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && !details.requested.name.contains('multidex') ) {
                details.useVersion "27.0.1"
            }
        }
    }
    afterEvaluate {
        android {
            compileSdkVersion 27
            buildToolsVersion "27.0.1"

            defaultConfig {
                targetSdkVersion 27
            }
        }
    }
}

@ishigamii hi! what approaches have you tried that did not work? I personally never needed to do this, so I'm not sure I can help. This question is not specific to react-native-google-signin though, maybe you can ask on stackoverflow

@vonovak I actually found out what my problem was (google signing the app in prod) and also how to remove the account on the device you just need to disconnect the account from the account in Settings.
Thanks anyways 👍


Add CMake

@Yida-Lin you had some troubles with cmake a while ago. I have rebased onto the current master - could you please check if building with cmake now works for you? I think it would be great to have this option in addition to qmake.

@cbrnr Hi Clemens!
It works now! This is wonderful! Thank you so much for that.


Renew forestPlot function

The lastest version maftools(v0.9.30, version 2.8.0 in bioconductor) do not support color=c() paramter in forestPlot function which is not compatible with older versions(like version 2.4.0 in bioconductor)
re-Add color parameter which controls the color of the line depending on the location of the line (current OR threhold value is 1, will be 0 if using log(OR))
color=c('maroon','royalblue'): vector of colors or named vector of colors for each Variant_Classification (group)
makes it compatible with older version of maftools.

change the annotation columns order of the plot, makes it be accord with the group name order aprears on the left graphic.
eg. In the offical demo data, former graph produced was Group Relapse/Primary in the left graph and Primary, Relapse, OR, P-value in the right annotation.

After the change, the apprearance is  Relapse/Primary in the left graph and Relapse, Primary, OR, P-value in the right annotation with lines in the left graph full of colors 😃

(I have changed the geneFontSize=1.4,titleSize=2,lineWidth=2 under my display settings to make the graph look good.)

After the change, I think the graph is more intuitive to interpret, for if you see the line trend to left in the left graph, the in the right annotation, the left group shows more cases than the right one.
e.g. for the PML gene, in the left graph field, the red line trends to go left, and in the right annotation field, the left Relapse group has more patient than the right Primary group.

Hi,
Sorry for the delay. Just got back to work.
Thanks for the PR. Indeed the plot is more intuitive now :)

Thanks for the acception :)
In addition, if you set color=c('black'),  the lines in the graph returns to black just like what they look like at the latest version (v0.9.30).

Hi,
Sorry for the delay. Just got back to work.
Thanks for the PR. Indeed the plot is more intuitive now :)

Thanks for the acception :)
In addition, one can set color=('black') to make the color of the lines in the graph return to black as the appearance in the current version(v0.9.30)


Unable to init the FragmentTree without the UIManager

Describe the bug 📝
Hi,
I'm working on a custom implementation of the FragmentTree that would use external UI components to render a nested list. I have components.uiEnabled = false declared to not render the library UI, and would like to access the FragmentTree (hopefully) in an object format to render it myself using the .get() method.
I am running into an error where it is still trying to access the UIManager when running .init():

I have a feeling it is a bug, because in the source code I see that it should skip this part if the UI is disabled, but it doesn't seem to.
Any ideas?
Reproduction ▶
No response
Steps to reproduce 🔢
newComponents.uiEnabled = false;

...

const classifier = new OBC.FragmentClassifier(newComponents);
classifier.byStorey(model);
classifier.byEntity(model);

const modelTree = new OBC.FragmentTree(newComponents);
modelTree.init();
modelTree.update(['storeys', 'entities']);

System Info 💻
Binaries:
    Node: 20.3.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (120.0.2210.144)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    openbim-components: ^1.3.2 => 1.3.2

Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
[X] Check that this is a concrete bug. For Q&A join our Community.
[X] The provided reproduction is a minimal reproducible example of the bug.

I have the same issue

@HoyosJuan any updates on this particular issue? 🙂 it would be nice if we could build our own object tree separate from the library UI.

Hey @tb-viktor!
We're working on UIComponents 2.0. Basically, we will get rid of everything about UIComponents from this repo and going to create a dedicated one, using a much simpler approach than the one use here. That should make things easier.
My point is, we're focused on creating those new components and not so in solving existing UI problems, because all of them are going to be gone when UIComponents 2.0 launches. According to the roadmap, that's going to happen in may.
Is it ok for you? 🙏

Hey @tb-viktor!
We're working on UIComponents 2.0. Basically, we will get rid of everything about UIComponents from this repo and going to create a dedicated one, using a much simpler approach than the one use here. That should make things easier.
My point is, we're focused on creating those new components and not so in solving existing UI problems, because all of them are going to be gone when UIComponents 2.0 launches. According to the roadmap, that's going to happen in may.
Is it ok for you? 🙏

I think you are making the right decision by decoupling these two things 👍
For our use-case it would really help us if after the split this project had convenient functions to get resolved object properties (and sub-object via expressId) and an easy way to work with the object tree without having to traverse the IFC file ourself. This code already exists internally in the library since you use it for the pre-built UI, but it's quite an effort to get to the end result to plug it into our own UI.

@tb-viktor agree! We're always on making things easier to work. For example, we hope in the next release to decouple core logic with visual logic, so components can be used in backend 🙂
Do you mind opening a feature issue about the request you mentioned? In case it doesn't exist already, of course. I will close this!


Customize/improve user experience

Periodically check if tasks are overdue.
Implement custom fonts and icons.
Customize UI colors.

This feature has been added.


fix:(ox_target compatibility)

For the people getting an error when using ox_target when trying to use it

Approved! lol


Update Wookiee 2.x to standard OSS file headers per policy

Just realized we were removing the license headers for the old Webtrends, can you please make sure all file have the correct standard header applied per Oracle OSS policy.

/*

Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

@AlexanderNull @AdityaSharma-Malladi We'll need to do this in wookiee-akka-http and everywhere else too
Here are the changes for core and zookeeper:
https://github.com/oracle/wookiee-zookeeper/pull/50
https://github.com/oracle/wookiee/pull/154


setProviderMetadata method missing from OidcConfiguration

Trying to upgrade from play-pac4j 9.x -> 12.x and pac4j-oidc 4.x -> 6.x.
We use oidcConfiguration.setProviderMetadata(OIDCProviderMetadata.parse(providerMetadata)); in the current implementation.
The latest docs mention If you do not define the discoveryUri, you’ll need to provide the provider metadata via the setProviderMetadata method. but I don't see the method defined in  OidcConfiguration.java.
Am I missing something or is this a bug?
What can I use in the meanwhile to achieve the same functionality?
Thanks.

This is done on purpose. You cannot set the provider metadata at the configuration level without passing by a OidcOpMetadataResolver which is meant to provide a certain number of features.
In your case, you need to use the StaticOidcOpMetadataResolver.

Thanks for the response.
As I said,

The latest docs mention If you do not define the discoveryUri, you’ll need to provide the provider metadata via the setProviderMetadata method. but I don't see the method defined in OidcConfiguration.java.

So the current docs are incorrect since there is no setProviderMetadata method anymore and should be updated to mention the new way of doing things.
Thanks again 🙏

Sure. Will update doc.


do not expect usm event stream if unsupported

What does this PR do?
Fix config test when process event data stream is not supported
Motivation
Failing tests on main
Describe how to test/QA your changes
Fixed tests.
Possible Drawbacks / Trade-offs
Additional Notes
Added cmd/system-probe paths to trigger KMT. KMT tests did not run in #31420, which caused the original author to miss this.

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on


Fix some documents.

Hi Bram,
I fix some documents.
eval.txt

Adjusting the line feed position

usr_03.txt

Fix typo.  Not we.  Maybe 2e.

vim9.txt

s/Names/NAMES/
Converted indented whitespace to tabs.

please confirm.

I'll include it, thanks.

I'll include it, thanks.


Move more repeated functions and traits into burn-common crate

Feature description
The burn-common crate should contain all those functions and traits which are repedetely used within all the other burn crates. These functions can be used for tests and benchmarks contexts as well,
Feature motivation
To reduce boilerplates and avoid repetitions in the code. In addition, this crate can expose some of these methods and traits as public APIs such that other projects can use them as well.
(Optional) Suggest a Solution
Possible strategy to improve burn-common crate:

[ ] Find all repeated functions and traits definition scattered through burn crates
[ ] Move all of them in burn-common crate
[ ] Replace the repeated functions and traits call with the ones contained in the burn-common crate
[ ]  Optimize these functions with #[inline] and #[inline(always)] attributes

@Luni-4 We already have burn-common for stuff that is shared between crates. Utils are normally very dangerous, since everything can go there, everything will go there 😅

@nathanielsimard
Thank you for pointing me to the right directory! Yeah, we can use burn-common an apply the strategy described above. I agree!

Closing it as too open ended. We will do as we refactor one by one.

Yep, I agree, thanks @antimora!


[W4.4h][F10-2]Ng Tek In

Hi, apologies for the spam. After you read our comments you can close the PR at your end. Note that subsequent PR workflows will be the same.


cannot run this code with flutter 3.3.7

flutter run -d chrome
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
RenderFlex children have non-zero flex but incoming height constraints are unbounded.
When a column is in a parent that does not provide a finite height constraint, for example if it is
in a vertical scrollable, it will try to shrink-wrap its children along the vertical axis. Setting a
flex on a child (e.g. using Expanded) indicates that the child is to expand to fill the remaining
space in the vertical direction.
These two directives are mutually exclusive. If a parent is to shrink-wrap its child, the child
cannot simultaneously expand to fit its parent.
Consider setting mainAxisSize to MainAxisSize.min and using FlexFit.loose fits for the flexible
children (using Flexible rather than Expanded). This will allow the flexible children to size
themselves to less than the infinite remaining space they would otherwise be forced to take, and
then will cause the RenderFlex to shrink-wrap the children rather than expanding to fit the maximum
constraints provided by the parent.
If this message did not help you determine the problem, consider using debugDumpRenderTree():
https://flutter.dev/debugging/#rendering-layer
http://api.flutter.dev/flutter/rendering/debugDumpRenderTree.html
The affected RenderFlex is:
RenderFlex#815cd relayoutBoundary=up33 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE(creator: Column ←
RepaintBoundary ← CustomPaint-[GlobalKey#62255] ← MouseRegion ← Listener ← _GestureSemantics ← RawGestureDetector ←
RepaintBoundary ← NotificationListener ← NotificationListener ←
_MaterialScrollbar ← Scrollbar ← ⋯, parentData:  (can use size), constraints: BoxConstraints(w=582.3, 0.0<=h<=Infinity),
size: MISSING, direction: vertical, mainAxisAlignment: start, mainAxisSize: min, crossAxisAlignment: center,
verticalDirection: down)
The creator information is set to:
Column ← RepaintBoundary ← CustomPaint-[GlobalKey#62255] ← MouseRegion ← Listener ←
_GestureSemantics ← RawGestureDetector ← RepaintBoundary ←
NotificationListener ← NotificationListener ←
_MaterialScrollbar ← Scrollbar ← ⋯
The nearest ancestor providing an unbounded width constraint is: _RenderSingleChildViewport#7008e relayoutBoundary=up16
NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
needs compositing
creator: _SingleChildViewport ← IgnorePointer-[GlobalKey#9d247] ← Semantics ← Listener ←
_GestureSemantics ← RawGestureDetector-[LabeledGlobalKey#9c75f] ←
Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#975b4] ←
NotificationListener ← RepaintBoundary ← CustomPaint-[GlobalKey#81613]
← ⋯
parentData:  (can use size)
constraints: BoxConstraints(w=908.0, 0.0<=h<=953.0)
size: MISSING
offset: Offset(0.0, -0.0)

Have the same problem.

I also encountered the same problem and solved it using the following link：
https://github.com/abuanwar072/Flutter-Responsive-Admin-Panel-or-Dashboard/issues/53#issuecomment-1383208652


Feat/improve textfield story items

include a commit with the magic names that should trigger a build

:tada: This PR is included in version 3.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WIP - LiveShare functionality

What problem did you solve?
Closes #555
General functionality
Vscode-R functions related to the session watcher currently do not function in LiveShare sessions. This means that the workspace viewer, dataview, plots, etc., do not work for guests.
This PR implements a 'LiveSession Listener', which allows for the sharing of file content and the forwarding of commands from a guest session to the host terminal. Thus, dataview, plots, browsers, and the workspace viewer should now function for guest sessions.

Settings & controls
This PR also contributes a liveshare control view, for tweaking guest access to the R workspace. This involves the following controls:

command forwarding

Whether the host allows guests to forward commands to the host terminal. E.g. workspace viewer view, remove

workspace sharing

Allows guests access to the R environment and related files

share ports

Automatically share & close browser ports with the guest

Default state can be controlled through three contributed settings.
How can I check this pull request?

Have the LiveShare extension installed
Have session watcher enabled
Start an R LiveShare session, session watcher capabilities should be functional** for both host and guest

Features

[x] Attach terminal
[x] Send commands to terminal
[x] Plots (images)
[x] Dataview: file
[x] Dataview: table
[x] Dataview: list
[x] Browser
[x] Webview: I didn't change much but it seems to work regardless? Might need someone else to check this one
[x] Help Pages
[x] Control menu/view

**I've intentionally left addin functionality out of this PR, as it is either a bigger undertaking or does not function with guest sessions at all. When initially adding guest access to addins, there was significant desyncing between host and guest sessions, so I have decided to leave it out. Further complicating the issue, there is no way (at the moment) of distinguishing between a guest addin call and a host addin call.
Extra things to note

Adds vsls as a dependency
The window has to be reloaded if liveshare is not enabled prior to starting an R session
Both the host and the guest have to be running vscode-R with this PR
the guest does not need R installed

Sorry about the spammed commits above - I tried rebasing with the Github desktop application, and apparently I duplicated the commits in the process.

As this PR seems to be reaching ready for review stage, I'm going to recreate the pull to get rid of the messy commit history.


[WIP] KAFKA-6794: Incremental partition reassignment

This pull request replaces the current partition reassignment strategy with an incremental one.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@hachikuji wouldyou please have a look at this? I'd like to get an early feedback if the direction is good.

@hachikuji I've published a KIP about this as I think the conversation will get bigger, especially that folks now started to work on the interruptible partition reassignment.

Closing this as the discussions on the related kip resulted in delaying the related work.


turkish translation added

Hello @cpq :wave: ,
First of all, congratulations for creating such a useful guide. With the suggestion of @volkanunal, I translated the guide into Turkish because I thought it would be useful for the developer community to have such content in Turkish.
@volkanunal Please, if you have a suggestion about the translation, could you specify it below?

Merged with thanks!


release new version

[x] fix https://github.com/ebryn/backburner.js/pull/110
[ ] bump version
[ ] add changelog
[ ] release npm
[ ] release bower?

@stefanpenner I need backburner via npm, I can take this over the finish line. Is this list outdated or do we basically just need to create a CHANGELOG, bump the version, then release to npm/bower?

Is this list outdated

should be correct


app_name overwrites default app name value

Thanks for creating this library! It's very useful. I have one minor quarrel with it, however.
Using the "app_name" field for your library is somewhat dangerous. If other apps include your library and use "app_name" for their own strings, the string from this library might collide. This results in seeing "FlowLayout" on the launcher screen, which is not desired.
I'd strongly suggest either renaming the "app_name" string to something else, and consider prefixing your resources. (See https://medium.com/@maxirosson/how-to-improve-your-android-library-2e8b9fd6c090 for some additional context here)

I've prefixed attributes with "fl" and removed the app_name. Thanks for the great advice.


how to evaluate?

I found here do not exist a eval file, and I train this project in fern scene, and got PSNR 20~21, do not reach the result provided in the paper. Maybe something wrong happens?

Hey thanks for trying out our approach
We will release the LLFF checkpoints in the next two to three weeks
We will also provide the evaluation script and details at that point as well

@HaoyangHuang please note we updated the readme with details about the release cycle.
However, if you feel stuck have a look at the nerfmm repo.


Add E2E testing to validate the Encryption keys in KMS

Currently looks like we are not validating the creation and deletion of the Encryption keys in the KMS. we need to add an E2E to verify that the keys get created and deleted properly.
update: we have E2E for PVC not for restore from snapshot or PVC-PVC clone

https://github.com/ceph/ceph-csi/pull/2021 added E2E for snapshots, we need to do the same for PVC-PVC cloned images also.

Hey @Madhu-1 , if no one is working I can work on this issue?

closed by #2095


[4.0]Issue: select2_from_ajax with relationship don't save state for edit Operation.

I have this field on setupCreate method on my controller
$this->crud->addField([  // Select2
'label' => "Estado",
'type' => 'select2',
'name' => 'estado_id', // the db column for the foreign key
'entity' => 'processo_estado', // the method that defines the relationship in your Model
'attribute' => 'nome', // foreign key attribute that is shown to user
        'model' => "App\Models\Estados", // foreign key model,
        'wrapperAttributes' => [
            'class' => 'form-group col-md-2',
        ],

    ]);

$this->crud->addField([ // select2_from_ajax: 1-n relationship
'label'                => "Comarca", // Table column heading
'type'                 => 'select2_from_ajax',
'name'                 => 'comarca_id', // the column that contains the ID of that connected entity;
'entity'               => 'Comarcas', // the method that defines the relationship in your Model
'attribute'            => 'nome', // foreign key attribute that is shown to user
'data_source'          => url('api/comarcas'), // url to controller search function (with /{id} should return model)
'placeholder'          => 'Selecione uma comarca', // placeholder for the select
'minimum_input_length' => 0, // minimum characters to type before querying results
'dependencies'         => ['estado_id'],
'wrapperAttributes' => [
'class' => 'form-group col-md-2',
], // when a dependency changes, this select2 is reset to null
// ‘method'                    => ‘GET’, // optional - HTTP method to use for the AJAX call (GET, POST)
]);
but in fact everytime I click in EDIT(eg: article) it doesnt load the data that was saved into it.
in setupUpdate I'm adding the same field as the create method. Anyone have a clue?
Sometimes it loads but wrong table, the Comarcas is showing "nome" attribute from Estados
but when I hit save it save the correct ID of comarcas, so what is happening lol

It was bad relationship! My mistake!


readme_test's direct invocation of rustdoc --test is fragile

Debian's environment for packaging Rust crates uses a local crate registry and some other adaptations to ensure the builds are self-contained.  This is causing readme_test to fail because it doesn't find the transitive vte_generate_state_changes dependency.
The normal doctests work fine, because those still go through the cargo wrapper that Debian is using.
If/when it's reasonable to raise strip-ansi-escape's minimum Rust version to 1.54 (for the include_str! macro), the manual rustdoc invocation could be replaced as below which will also address the problem:
diff --git i/src/lib.rs w/src/lib.rs
index 915494e..53acb97 100644
--- i/src/lib.rs
+++ w/src/lib.rs
@@ -151,42 +151,14 @@ where
     }
 }

+#[doc = include_str!("../README.md")]
+#[cfg(doctest)]
+pub struct ReadmeDoctests;
+
 #[cfg(test)]
 mod tests {
     use super::*;

-    use std::env;
-    use std::env::consts::EXE_EXTENSION;
-    use std::path::Path;
-    use std::process::Command;
-
-    #[test]
-    fn readme_test() {
-        let rustdoc = Path::new("rustdoc").with_extension(EXE_EXTENSION);
-        let readme = Path::new(file!())
-            .parent()
-            .unwrap()
-            .parent()
-            .unwrap()
-            .join("README.md");
-        let exe = env::current_exe().unwrap();
-        let outdir = exe.parent().unwrap();
-        let mut cmd = Command::new(rustdoc);
-        cmd.args(&["--verbose", "--test", "-L"])
-            .arg(&outdir)
-            .arg(&readme);
-        println!("{:?}", cmd);
-        let result = cmd
-            .spawn()
-            .expect("Failed to spawn process")
-            .wait()
-            .expect("Failed to run process");
-        assert!(
-            result.success(),
-            "Failed to run rustdoc tests on README.md!"
-        );
-    }
-
     fn assert_parsed(input: &[u8], expected: &[u8]) {
         let bytes = strip(input).expect("Failed to strip escapes");
         assert_eq!(bytes, expected);

For now, I'm just skipping readme_test in our builds.

Yeah, I fumbled around looking for a better solution to this for a while once I stopped using the skeptic crate. In recent months I've started switching my Rust crates over to use the doc_comment crate, which is a much cleaner solution.
For example: https://github.com/luser/rust-test-assembler/blob/3a69aa2832f7aa991c62219f3f4b5ecc603084d9/src/lib.rs#L79
I'd merge that PR if someone wants to do the work, otherwise I'll get around to it eventually.


[nitro-protocol] Gas savings study

This PR includes:

new function that outputs a gitignored <testName>.gas.md file showing gas consumed for each test case that calls it
python script that generates a bar chart showing apples-to-apples comparison in gas consumption, with hard-coded values copy-pasted from these files on

master (base branch)
legacy-contracts (branch that uses legacy contracts with our latest testing infrastructure)

blog post around this chart, along with another image showing schematics of our gas optimization strategy

Approval / merge for this PR does not indicate that the blog post is in its final form.


Downgrade sphinx-autobuild and jupyterlab-myst

It seems that tox -e docnblive does not work anymore with the latest version of sphinx-autobuild - (3744522dd8319308612d71f71ee34968b4168613).
jupyterlab-myst also has some rendering problems for admonition blocks etc.

Solution for now would be to exclude the latest releases from pyproject.toml and let the upgrade job downgrade the constraint files.

@grayson-helmholz we can have a look at this later, assigning to you because it is a nice exercise to see dependency maintenance.


sendAction deprecation warning

When using the library I'm getting the following warnings
sendAction("onBeforeResponsiveChange")
sendAction("onAfterResponsiveChange")
Component#sendAction is deprecated. Please use closure actions instead. [deprecation id: ember-component.send-action]
I'm using
ember-light-table 1.13.2
ember-cli 3.4.1

@ajcobo a fix for this has been released in<EMAIL_ADDRESS>


support Symfony 2.7 Config and Yaml components

Prevents deprecation messages.
Tests pass

@henrikbjorn any feedback on this PR?

Thanks :)

@henrikbjorn you are welcome. Can you tag a new stable release?

Also, flint/flint could use the latest tagged version instead of ~0.4.
Should I open an issue and PR?

@relvinhas it cant as the 1.x branch requires 5.4 which is higher than flint. Was really hoping Silex 2.0 would soon come out and flint would be Brick instead.
Is it possible to port it to the 0.x branch ?


Add kscript to Homebrew

Homebrew is the most used package manager on macOS: https://brew.sh/

A big +1 to this, it seems like people opted in to homebrew don't have much option e.g. mylibrary -> kscript -> kotlin.  I can help set this up, it's just a trivial github repo
e.g. https://github.com/yschimke/homebrew-tap

A tap is good, even better to get it added upstream

For now https://github.com/yschimke/homebrew-tap/blob/master/kscript.rb
$ brew install yschimke/tap/kscript

Thanks, this looks easier than I thought. We could add this kscript.rb to the release branch of the kscript repo. Would brew be clever enough to update kscript when the files has changed, so can we do something like brew update --include-taps?

IIUC this work via
username/collection/project -> https://github.com/[username]/homebrew-[collection]/blob/master/[project].rb
So it's hard to have it in the same repo you use for development.  But you could certainly update the file on every release and then yes, brew will let people know updates are available.

I followed your suggestion. See https://github.com/holgerbrandl/kscript/blob/master/README.md#installation-with-homebrew
Feel welcome if there's any issue with my first tap

Worked fine for me!


Validate records using dnspython

This PR modifies the way records are validated before saving.
Up to now, only address records have been validated by checking if their value was a valid IPv4/IPv6 address. All other record types essentially were saved unchecked.
With this PR, validation of records was moved from forms to the model (which gives a a more thorough way of making sure only validated data go into the database and promptly broke one of the old tests that created an illegal SOA record), and all records that dnspython can validate are now validated to be compliant with the standards (at least as far as dnspython can check this).
In addition, the list of available record types is now generated from the record types dnspython knows, which adds some additional record types to the supported types and makes sure new types are included automatically.
fixes #174

Rebased to the current main branch.


Add install hook for snap installation.

Codecov Report

Merging #412 into develop will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #412      +/-   ##
===========================================
- Coverage    53.10%   53.10%   -0.01%
===========================================
  Files          256      256
  Lines        23625    23625
===========================================
- Hits         12547    12545       -2
- Misses        9594     9600       +6
+ Partials      1484     1480       -4

Impacted Files
Coverage Δ

bfe_websocket/server_conn.go
72.72% <0.00%> (-3.79%)
:arrow_down:

bfe_http2/server.go
71.50% <0.00%> (-0.17%)
:arrow_down:

bfe_spdy/server_conn.go
78.53% <0.00%> (ø)

bfe_spdy/frame_write.go
50.50% <0.00%> (+1.01%)
:arrow_up:

...e_modules/mod_trust_clientip/mod_trust_clientip.go
46.15% <0.00%> (+3.29%)
:arrow_up:

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 fb2a7c9...ce725fd. Read the comment docs.


Replace apt-get with apk in alpine images

This fixes the following error while building the alpine images:

apt-get: not found

Thanks @eduardomourar


[RELEASE-v1.10] add maistra annotation to generated gateways to disable IOR

Changes

add maistra annotation to generated gateways to disable IOR generation of OCP Routes

JIRA: https://issues.redhat.com/browse/SRVKS-1099
/assign @nak3 @skonto
I'll also cherry-pick this to 1.9 and main.

Umm...It seems Test / test / Unit Tests (pull_request) on 1.10 is failing do you want to fix it?

Seems networking is really broken at RH side :D

repository registry.access.redhat.com/ubi9/python-39 not found: name unknown: Repo not found

/retest

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-v1.10@9914eca). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@               Coverage Diff                @@
##             release-v1.10      #58   +/-   ##
================================================
  Coverage                 ?   81.98%
================================================
  Files                    ?       18
  Lines                    ?     1649
  Branches                 ?        0
================================================
  Hits                     ?     1352
  Misses                   ?      214
  Partials                 ?       83

/lgtm
/approve
Yeah, let's skip Security / analyze / Check Unicode CC (pull_request)  one as it passed yesterday... https://github.com/openshift-knative/net-istio/actions/runs/5611775314

/override "Security / analyze / Check Unicode CC"

/override "analyze / Check Unicode CC"


[bug] .env file creation causes confusion

Steps to reproduce:

Clone the bootstrap repository and install the necessary dependencies:

git clone https://github.com/Stedi-Demos/bootstrap.git
cd bootstrap
npm ci

Store your Stedi API key and webhook destination URL as environment variables:

export STEDI_API_KEY=<YOUR_STEDI_API_KEY>
export DESTINATION_WEBHOOK_URL=<YOUR_WEBHOOK_URL>

Run npm bootstrap
Bootstrap will deploy your Functions without the STEDI_API_KEY environment variable, and your local .env file will only have the following:

SFTP_BUCKET_NAME=<SFTP_BUCKET_NAME>
EXECUTIONS_BUCKET_NAME=<EXECUTIONS_BUCKET_NAME>
CORE_INGESTION_BUCKET_NAME=<INGESTION_BUCKET_NAME>

this is also an interesting one because STEDI_API_KEY shouldn't be needed in the functions themselves IIRC. cc: @OlafConijn who worked on those changes. are we missing something in the bootstrap repo for that to work?

We could add some validation to all Bootstrap CLI commands to verify that the .env file exists and it has at least STEDI_API_KEY defined?

We could add some validation to all Bootstrap CLI commands to verify that the .env file exists and it has at least STEDI_API_KEY defined?

Yes, I think that's a good idea.

this is also an interesting one because STEDI_API_KEY shouldn't be needed in the functions themselves IIRC. cc: @OlafConijn who worked on those changes. are we missing something in the bootstrap repo for that to work?

This was my recollection as well.

We discussed also ensuring that the value of STEDI_API_KEY in the .env matches the value in process.env.STEDI_API_KEY in case a user sets the env var manually in their shell (bash, etc) etc. If they do not match, we such block all commands from running.


Twitter Premium API did not work for a specific User handle

I was using twitter premium API for 30 days and full archive endpoints in Sandbox env. But both the endpoint is not working for a specific user handle(@WNBA). Though I am able to fetch the tweets for this handle using standard search API. I did not face any issue with other user handles.
Can anyone please advise me whats could be the reason for this? Thanks in advance.

Hello there. Are you still having issues with a handle-specific query? I am unable to reproduce this behavior, and there is nothing in the client code that is "query aware", other than receiving an error response with a query with bad syntax is requested.


Call a command from another command

How do you call a command from another command.
import click

@click.group()
def cli():
    pass

@cli.command('one')
def one():
    print 1

@cli.command('two')
def two():
    one()
    print 2

if __name__ == '__main__':
    cli()

$ python test.py two
Usage: test.py [OPTIONS]

Error: Got unexpected extra argument (two)

http://click.pocoo.org/5/advanced/#invoking-other-commands


f5.bigip.ManagementRoot adds handler to root logger

[~]> python
Python 3.7.0 (default, Oct  2 2018, 09:20:07)
[Clang 10.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> logging.getLogger().handlers
[]
>>> import f5.bigip
>>> logging.getLogger().handlers
[]
>>> mgmt = f5.bigip.ManagementRoot('REDACTED', 'REDACTED', 'REDACTED')
>>> logging.getLogger().handlers
[<StreamHandler <stderr> (NOTSET)>]
>>>

If I'm writing a framework that uses f5.bigip, all my log messages go to console whether I like it or not. It appears that every method call I make using f5.bigip attaches this handler to the root logger.

Hi @SneakyPanda7, pretty sure this issue belongs to the underlying icontrol rest library, but I'll investigate more closely on Monday.

@SneakyPanda7, try installing my pull request as your f5-icontrol-rest-python package and see if that fixes your issue.

@jasonrahm , yes that fixes it! Thanks. How soon can this get merged to master?

I merged it to the 1.0 release branch, but I won't release until at least Friday. There are a couple other outstanding issues I'd like to address if possible.

closing as merged in the icontrol-rest library


:%s/<myword>/subtitte/g does not work, have  set vimregex

I have
set vimregex
in my .xvimrc
but
:%s/\<myword\>/subtitte/g does not work

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9081274-s-myword-subtitte-g-does-not-work-have-set-vimregex?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

anybody, some help please!!!!!

try :%s/\bmyword\b/subtitle/g
XVim uses NSRegularExpression.
\< and \> is not implemented in XVim.


Provide a way to access Gitea API through external authentication source

Feature Description
I have the following use case: I have an authorization server running next to my Gitea instance. Gitea is not supposed to do anything related to authentication or authorization other than using session cookies or verifying tokens, i.e. through a public key from said authorization server.
Using the Web UI, this already (kind of) achieved. It is not perfect, as roles (admin role) and group memberships are still managed by Gitea. But I can live with that as long as Gitea does not work with passwords, OTPs, security keys or anything else related to authentication.
However, when using the Rest API or the container registry, things look different. I have to create an API token to get access. This in itself would be fine for me too --- although not perfect --- if there was a way to generate this token without Web UI and without sending password or TOTP.
The example in the docs (https://docs.gitea.io/en-us/api-usage/#generating-and-listing-api-tokens) suggest to either send password/TOTP via curl or use the Web UI. I think this is not enough in the long term.
I know that #13532 has been closed, but I feel the underlying issue is valid: Gitea should be functional without its own authentication capabilities, which should be optional.
It's great that Gitea provides its own, modern authentication features if no dedicated authorization server is used. However, in the long term it would be even greater if Gitea would integrate seamlessly in more complex, sophisticated security architectures.
Screenshots
No response

Was trying this again but with oauth2_client configured on gitea, which works well, but the 3rd party provider JWTs does not seem to be supported by gitea.
Only the JWTs from gitea when gitea "acts" as a oauth2 provider, do the tokens work with api.
Would be nice if the oauth2_client was extended on the api side

Same need here. What must be done do get this Feature in?

After doing some research on the same topic, I found out that there is a way to have an external authentication source for the API.
in the app.ini
[service]
ENABLE_REVERSE_PROXY_AUTHENTICATION_API = true

curl -s -H "X-WEBAUTH-USER: admin" http://localhost:3000/api/v1/user | jq ".id"
1

You can place an authentication reverse proxy in front of your Gitea installation and implement whatever authentication you like. The documentation on https://docs.gitea.com/usage/authentication#reverse-proxy is outdated. I will create a PR for this.

After doing some research on the same topic, I found out that there is a way to have an external authentication source for the API.
in the app.ini
[service]
ENABLE_REVERSE_PROXY_AUTHENTICATION_API = true

curl -s -H "X-WEBAUTH-USER: admin" http://localhost:3000/api/v1/user | jq ".id"
1

You can place an authentication reverse proxy in front of your Gitea installation and implement whatever authentication you like. The documentation on https://docs.gitea.com/usage/authentication#reverse-proxy is outdated. I will create a PR for this.

This worked great in my scenario - Thank you!
I was already using nginx as a reverse proxy and authelia to authenticate/authorize several apps behind nginx.  Gitea was set up a bit differently using authelia as an oauth2 provider.
I was able to use the nginx auth_request directive to authorize any api request that included an auth cookie and return headers that I could pass on to gitea (i.e. X-WEBAUTH-USER).
My custom web app can now access the Gitea API using the same authenticated session they logged into the web app with, without having to use the Gitea web UI to create a PAT, etc...


Add proxy support

Added optional support for using proxy.
Default is not to use proxy, most changes are in private functions while public functions get defaults and keep current logic of no proxy and code changes are needed.
Instead of just using implicit system in each api function - I added an implicit system to clients generation to get the needed config in there.

I'll change the names right away.
What do you suggest instead of
akka.http.client.useproxy
akka.http.client.proxyHost
akka.http.client.proxyPort
?
בתאריך יום ד׳, 26 בפבר' 2020, 17:43, מאת Greg Oledzki <
<EMAIL_ADDRESS>
@mccartney commented on this pull request.
In src/main/scala/slack/api/SlackApiClient.scala
https://github.com/slack-scala-client/slack-scala-client/pull/114#discussion_r384578069
:

-object SlackApiClient {
+import scala.concurrent.Future
+import scala.concurrent.duration._
+import scala.util.{Failure, Success, Try}
+
+
+object SlackApiClient extends StrictLogging {
+

private[this] val config   = ConfigFactory.load()
private[this] val useProxy = Try(config.getString("akka.http.client.useproxy")).fold(_ => false, _.toBoolean)

private[this] val maybeSettings: Option[ConnectionPoolSettings] = if (useProxy) {
val proxyHost = config.getString("akka.http.client.proxyHost")

Why are we using akka.http. in the parameter name?
It somehow suggests this configuration key is processed by Akka Http
library, while in fact it's not. It's processed by us (slack-scala-client)
and fed into Akka Http.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/slack-scala-client/slack-scala-client/pull/114?email_source=notifications&email_token=AMJH27E3IDG4KZJNWJZUONLRE2E23A5CNFSM4KZKWIVKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCXAZPOI#pullrequestreview-365008825,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMJH27HCSZOCPWYHUA7YG2DRE2E23ANCNFSM4KZKWIVA
.

How about:
http.useproxy
http.proxyHost
http.proxyPort

?
or something similar

What do you think about
scalaclient.useproxy
scalaclient.proxyHost
scalaclient.proxyPort
?

Ah. Good point. I understand now these would be defined either in application.conf or through env variables. So you are right some context for the names make sense. The application might have more configuration variables.
So I am fine with what you suggested or even slack-scala-client.http.useProxy, etc.
Pick whatever you feel the most appropriate.

Now there's some problem in Scala 2.11: https://travis-ci.com/slack-scala-client/slack-scala-client/jobs/291708618. I guess value fold is not a member of scala.util.Try[String] is the clue here.

Ready to merge?

Now it's ready to merge:)

Thanks for the contribution and your time to fix all the issues.


Support running functional test suite using spark-submit

Would ideally be able to run the functional-tests integration test suite on a spark cluster using spark-submit. The current issue with this lies in the resource files the connector uses and getting them to spark.

Currently, there is a capability to run various examples on the provided environment.


salazzle and salandit cant lern fake out (yet)

fake out is a egg move for salandit, But does not yet exist legally

Dupe of #2954


How to get the GUID？

How to get the GUID？
you'd like a setting to apply to the profiles.
i have no idea about The Unique identifier ,GUID.

You can make a new guid. They are optional if you make a new profile.
https://www.guidgenerator.com/online-guid-generator.aspx


Switch between existing sessions

On older versions of windows like Windows 7 Home Premium, rdpwrap succeeds in creating remote sessions, but there's no way to switch between multiple sessions that already exists. This can lead to the gradual accumulation of multiple sessions when multiple sign-ons occur.

What do you suggest? It isn't so easy to add tscon.exe to the installer package, because it is different between Windows builds.

I'm not sure of an immediate solution to this problem. I've tried moving tscon's around between different versions and they're pretty incompatible.
Do you know how tscon.exe actually accomplishes changing the session the display is attached to? It works from the console session, so it must be somewhat generic.
It might be necessary to have a separate tool that can perform session changing to solve this.

Do you know how tscon.exe actually accomplishes changing the session the display is attached to? It works from the console session, so it must be somewhat generic.

Yes, it uses WinStationConnect from winsta.dll. It's undocumented function though the headers can be found on the Internet.
http://www.remkoweijnen.nl/blog/2008/11/26/executing-a-fast-user-switch-programmatically-part-1/

It might be necessary to have a separate tool that can perform session changing to solve this.

Windows allows to choose the session on RDP connect. At least Windows Server editions does support that:

@alexchandel  - if you run the RDPConf.exe file, there's an option to limit single sign-on per user. I believe that's what you are asking for ..

@AXEBro No I want the possibility for multiple sessions. I just want to be able to switch between them like tscon.exe does.

@binarymaster How exactly does it call this? I tried to write a tool that does this, but it doesn't work.
After RDP'ing in, assuming my remote session's ID is 2, the desired session is 1, and both sessions have the same user, I'm effectively doing this:
char pword = "";
WinStationConnectA(NULL, 1, 2, pword, false);

However this fails, and GetLastError() returns "1", which is ERROR_INVALID_FUNCTION, which makes no sense.

@alexchandel The first argument isn't a pointer but a handle. Also you may try this:
#define WTS_CURRENT_SERVER_HANDLE 0

WinStationConnectW(WTS_CURRENT_SERVER_HANDLE, 1, 2, NULL, false);


Add GuildID to Message

The Discord API now provides a guild_id property so you don't have to get the channel first.
Edit: realized that a couple more events provide the guild_id, I'll be adding them in a moment

Looks like the guild_id field is included in all events from Guilds now:
https://github.com/discordapp/discord-api-docs/issues/582
I think the field could also be useful at the MessageReaction struct.

This is already merged in the develop branch.

Oops, my bad, I was confusing it with Channel struct, please make this PR into the develop branch. Thanks!

I'll re-open a complete pull request in a bit, just going to close this for now.


added owasp and free-software-foundation

added OWASP and the Free Software Foundation to the list

Hello @goobric , Thank you for contributing, There is a conflict, please resolve this.

hi @iriteshmishra how do I resolve this conflict?
how was 'write-access' enabled?

Hello @goobric ,
kindly remove the "<< == >>" arrows and remove opensource is written at line no. 293.
Add div in the middle also. Close the div at 297 and add one div at 298

hi @iriteshmishra ,
do I need to fork, and clone the original repo again, and then remove the arrows?
or do I start all over again, by deleting the forked repo from my github account, and removing the cloned repo from my local computer?
Do do I change the contents of the file on your main repo?
Sorry for so many questions!

hi @iriteshmishra I have updated the index file, within my forked repo, see attached image. Do I now create a new PR with this file?


[WIP] added HeiseBridge

The bridge expands the RSS-feed of the german news site www.heise.de
Running this on my server throws a PHP memory exception. I was too lazy to change the memory limit so I just did it in the code. (Commented out in this PR). Is there anything I should do to try to catch this exception or something like that?
I did this for personal use and I'm in no way a PHP-expert. So, if you have suggestions on how to improve the code please leave a comment and I will try to implement it.
TODO:

[x] remove more ads
[x] support multi-page articles
[ ] support reviews

Is there anything I should do to try to catch this exception or something like that?

Definitely yes. Currently the bridge throws an error on each request, which is not desirable. You can reduce the likelihood of it happening by adding a user limit for the number of articles to return (default should be a reasonable value like 3 or 5).
The way this needs to be done is a bit awkward (because you need to know the inner workings of RSS-Bridge):
1) Introduce a parameter to specify the optional user limit
'limit' => array(
	'name' => 'Limit',
	'type' => 'number',
	'required' => false,
	'title' => 'Specify number of full articles to return',
	'defaultValue' => 5
)

Notice: The limit is not required, so you should handle situations where it isn't set (use default value).
2) Check if enough items have been added (only add titles for the rest)
This is how your parseItem function could implement the user limit. In this example all titles get returned, but articles are only loaded until the limit is reached (at ... follows your remaining code)
protected function parseItem($feedItem) {
	$item = parent::parseItem($feedItem);

	$limit = $this->getInput('limit') ?: 5;

	if(count($this->items) >= $limit) {
		return $item;
	}
...

Notice: If the limit is not set, the default limit (5) is used. You could use a constant to make sure the same limits are used in the parameters and the code.
This is what I see for a limit of 1:

remove more ads
support reviews

Request: Support multi-page articles :grin:
Example: https://www.heise.de/developer/artikel/LaTeX3-Neue-Mechanismen-fuer-die-naechste-Generation-von-Dokumenten-4108699.html

You can load the print preview instead of the regular article to get rid of ads (and load multi-page articles in one go!). This should work on all articles:
https://www.heise.de/developer/artikel/LaTeX3-Neue-Mechanismen-fuer-die-naechste-Generation-von-Dokumenten-4108699.html
https://www.heise.de/developer/artikel/LaTeX3-Neue-Mechanismen-fuer-die-naechste-Generation-von-Dokumenten-4108699.html?view=print
Just add ?view=print when loading the contents

I rebased on master and made some necessary changes to receive contents (pagination and no-ads). This works for the most part. Instead of filtering the stuff that isn't needed, it now only takes elements that are of interest. There is of course a chance that something is still missing, but that can be added later anyway.

The current bridge is now part of the repository. If you are still interested in adding support for reviews, please open a new PR.


Concurrent access lock

sess.run() is called concurrently by multiple threads in word2vec. Set use_locking=True in GradientDescentOptimizer to prohibit concurrent parameter read and update.

Can one of the admins verify this patch?

That may be by design (locking makes things slower)

Yes, I agree that lock will make things slower. But the program without lock sometimes has behavior that is unrepeatable. IMHO, the lock is not needed when the sess.run is only called inside a single thread but for multithread program, it's better to add it.

Typical application of TensorFlow is non-deterministic even in single-threaded .run because of non-deterministic ops such as reduce_sum on GPU. But I've seen cases when locking was justified because it made training faster (ie, each iteration was slower, but bigger cost decrease)

We'll keep this as is, but you are free to add locking as you see fit into your own code.


Change Max number of Clusters per private cloud

[Enter feedback here]
Change Max number of Clusters per private cloud from  4 to 12 under section : Determine the number of clusters and hosts
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6a357413-6684-a708-3193-fa93e1cbe65c
Version Independent ID: 80dd58ee-7b7d-ad2d-0ec3-6f5981cadc38
Content: Plan the Azure VMware Solution deployment - Azure VMware Solution
Content Source: articles/azure-vmware/production-ready-deployment-steps.md
Service: azure-vmware
GitHub Login: @shortpatti
Microsoft Alias: v-patsho

Content has been updated and will be published later today.
#please-close

@shortpatti Thanks for the super quick response. :+1: