feat(canDeploy): resolve with output on success

Closes #180

Hi @TimothyJones,
I wasn't sure what the best behavior is here. It makes sense that if the user specifies --output=json that we should resolve with the json object, however if the command fails then it rejects with an Error object whose string message is the json result which would be inconsistent with the successful output since the user would have to parse the error message in that case.
In order to maintain consistency in the output of canDeploy whether it succeeds or fails, we could reject with the output object|string directly instead of an Error object on failure.
I've updated my change with the proposed behavior. Let me know what you think. Thanks!

The class is intended to be a wrapper for programatically calling the binaries, so I don't think that it makes sense for the user to specify the output type (especially as any parsing of the human-readable output might be brittle). Can you see a use case for someone programatically wanting the human readable output?
It's a common pattern to resolve with some data structure on success, and an Error on failure - but I see your point. I think it's worth distinguishing between failures because the check said no, and failures because something else went wrong with the binary. Maybe we can resolve with an object or an Error, depending on whether the check failed or something else went wrong.

@TimothyJones
One reason that a user might want the human readable output is to directly display this output since it is pre-formatted. Apart from that I only attempted to follow the current documented behavior.  If it's deemed that the output should always be json when calling canDeploy programmatically then I can deprecate the output option and update the documentation appropriately if that is the direction we want to go?
As for distinguishing between an actual error and a failed deployment check, I'm not sure how to determine this? From my understanding, the binary exits with a non-zero code both when the deployment check fails and if the binary call fails unexpectedly unless there's a distinct exit code for a deployment check failure. (it also seems like the original if block on line 103 would crash attempting to parse and access properties on the output for the binary error scenario)
@bethesque do you have any thoughts or advice here?

I don't understand why there is any wrapper code at all to be honest. What is the use case?

Just found Tim's comment about programmatically calling the interface. If it's programmatic, then only JSON really makes sense, yes.
There is no distinct exit code for a "no you can't deploy" response. We could potentially add it if that would be helpful though.

@kuangp I thought I'd get this moving again by making the changes I suggested - let me know what you think.
(Also, apologies for muddying the diff-  I made a mistake merging master in)

Thanks @TimothyJones, your updates look good to me. Sorry, this got put on the back burner for me as I got busy with other work


App has errors in app_localizations.dart after very_good create

Description
A clear and concise description of what the bug is.
Steps To Reproduce

Run this command in your terminal : very_good create flutter_app foo

Go to the folder foo/

Run the command : flutter run --flavor development -t lib/main_development.dart

I see the error :

Error (Xcode): lib/l10n/l10n.dart:2:8: Error: Error when reading '../../../../../../../.pub-cache/hosted/pub.dev/flutter_gen-5.5.0+1/lib/gen_l10n/app_localizations.dart': No such file or directory

Expected Behavior
The code should compile after very_good create flutter_app foo
Screenshots

Additional Context
FYI, the error only occurs for common names. If I use a unique ID as the name of the app, it will work (ex : very_good create flutter_app xyz_abk_ojp)
I am on macOS M2, Sonoma 14.5
very_good version : 0.22.0
Flutter version : 3.22.2

Thanks @icodeyou for opening this issue. Can you include a sample of how does your pubspec.yaml look like? Does it have flutter_gen: any, if so, if you remove it and try again does it work?

Hi @icodeyou 👋 Given there isn't any new information on this and there is a proposed fix environment wise from @SamC-Apadmi I'm going to close this out as there isn't a code change that were going to make for this. If your still having issues feel free to reopen this ticket with more details.


Increase point size when view has low data occupancy

It would be nice to have an option to boost the data point size when the overall view occupancy is low.  A quick look at an example like this makes me feel like there could be some fixed ratios that could be used to 2x, 3x, 4x the marker area as overall pixel occupancy drops.  This may not be feasible when there are overlapping data categories with different markers or colors, if I'm understanding Datashader's pipeline which I believe leads to a rasterized (rather than vector) image, but if it were optional then the choice to use this could be left to the developer.

Right, that's how dynspread works.  In recent HoloViews versions, just import dynspread and datashade from holoviews.operation.datashader, then do dynspread(datashade(...)).  Outside of holoviews, you can apply dynspread to the resulting RGB array.  It takes some arguments that can make it work better in certain cases, but it roughly does what you described (measures the fraction of pixels that touch other active pixels, and increase size until that fraction reaches some threshold or a maximum size is reached.

An alternative that's faster and a bit easier to reason about is to provide a minimum x_sampling and y_sampling width to datashader in data coordinates.  E.g. for geographic data, you can say that sampling should never be finer than 1 meter or 10 meters, and so when you zoom in enough the pixel size will eventually be stuck at that size, making it be visible. But this approach won't ever reveal any data points spaced more closely than that, the appropriate value depends strongly on the dataset properties, and it will always give you square pixels.  So use whichever approach you prefer!

The screenshot above comes from the datashader example census.ipynb:
https://github.com/bokeh/datashader/blob/master/examples/census.ipynb
I've read the docs which seem to suggest that dynspread is the default transfer function, and I've tried to add some settings based on the examples on this page but I'm not seeing any impact.  Unfortunately the "compare these two outputs" examples aren't looking any different for me as I zoom in:

Any advice on how to properly harness dynspread with the census data would be appreciated.  If you want to see the exact area I'm looking at you can go to Syracuse New York and zoom in (census.ipynb).

That's odd; what docs suggest a default transfer function?  There is no default transformation like that, apart from shade() itself turning data into images.
The "Large_Data" example you show there will work fine on a live server, but there's no Python server behind that web page, and so dynspread isn't actually being used unless you run that page yourself on your local machine.
Not sure what you're seeing for your live coding, but if you post that it should be easy to debug, because dynspread is very obvious usually.

The documentation here on datashader.Pipeline with the parameter spread_fn:
http://datashader.readthedocs.io/en/latest/api.html#datashader.Pipeline
For the issue with the docs, I've reported that separately in #484.
If you don't mind I'm going to leave this open until I find the right way to apply dynspread to the census.ipynb example so I can see an effect.  But if you want to close this (or if it looks stale), I won't mind.

Ah!  That's the default for Pipeline, but you aren't using Pipeline, and in general I think we should deprecate Pipeline now that HoloViews is a much more useful interface.  Thanks for the reminder!  I'll rename this issue so I don't lose track of it.


Transparency is not reflected in the object I created in blender.

I modeled it in blender.
Only the diamond object has no material applied.
I have installed glTF shader.
I set the blend mode to alpha blend.
The relevant images can be found on the page where I posted the question.
https://teratail.com/questions/cn0k9u9atobcpn
If I had a texture of the diamond, I could test it, but with the texture created by blender's UV map, the shape of the diamond was lost.
Therefore, it would be helpful if you could solve this problem without connecting the texture to the alpha.

I used glTF TOOL and solved the problem.
I used glTF TOOL to import the GLB file and check the contents.
It was not there at first.
But in blender, I modified the alpha value in the base color section and exported it, and was able to find the correct spot to modify it.
I was able to find the baseColorFactor entry in the Materials section.
I noticed that these values are the RGB and alpha values.
If I set the initial value of 1 to 0, I get an error.
So I set it to 0.5 and was able to set the transparency.

Hello,
as requested in bug report template, please share a simple .blend file that show the issue.
Thanks!


@MainActor class is not protocol Actor

Description
protocol P: Actor { // This doesn't work for @MainActor
    func hello()
}

// ERROR: Non-actor type 'Main' cannot conform to the 'Actor' protocol
@MainActor class Main: P {
    func hello() {}
}

or more shortly:
// ERROR: Non-actor type 'Main' cannot conform to the 'Actor' protocol
@MainActor class Main: Actor {}

Expected behavior
@MainActor class (or any global-actor-ed class) should be treated as Actor.
Side note: Although we can use async-ed protocol version as below, we still want to allow protocol P: Actor style too.
protocol P { // This works as alternative for now
    func hello() async
}

@MainActor class Main: P {
    func hello() {}
}

Environment

Swift compiler version info: swift-driver version: 1.62.15 Apple Swift version 5.7.2 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>) Target: arm64-apple-macosx13.0
Xcode version info: Xcode 14.2 Build version 14C18

Additional context
https://twitter.com/inamiy/status/1603652396294410240

To share some more context, I wanted to abstract @MainActor class MyService with protocol Service: Actor so that caller can only reference any Service without knowing its impl is running on MainActor or just a plain actor.
Of course this problem can be solved by having a different protocol without conforming to Actor and instead let all methods turn into async, but I personally find this a bit too abstract.
For example:
protocol Service: Actor {
    var state: State { get }
    func fetch() async // this async comes from network
}

will be turned into async methods if not conforming to Actor:
protocol Service {
    var state: State { get async } // this async comes from actor
    func fetch() async // this async comes from both network & actor
}

So, asynchrony from both network & (local) actor are merged as a single async in the latter, which makes readability a bit obscure and too abstract (which can also be used for non-actors as well).
@ktoso
If I understand correctly, a class with @globalActor can be considered as referencing globalActor's executor?
@MainActor class MyService { ... }

// We can assume this is synthesized
extension MyService: Actor {
    nonisolated var unownedExecutor: UnownedSerialExecutor {
        MainActor.shared.unownedExecutor
    }
}


fix https://github.com/inmagik/ionic-modal-select/issues/63

Tested and search is working.

Merged, I ran gulp to make dist files in the next commit.
Thanks!

No problem


Can you add GPU mode, sir?

Can you add GPU mode, sir? There is currently GPU open source, but Jito cannot be removed. Can you take a look and make optimizations?
https://github.com/tonyke-bot/ore-miner

working on it

See beta branch for working GPU support for v1.  However, with v1 mining stopped, this won't be usable for ORE until v2 comes out and the hashing code is updated per v2 requirements.


VoiceIntro not showing on TranslateWiki.net

Three weeks ago the VoiceIntro project was added to TsIntuition in [1], but it's not showing on TranslateWiki.net . What needs to happen to 'make it so'?
[1] https://github.com/Krinkle/TsIntuition/commit/ff3191c01eb469214c025404c26f0d090d18005d

I see Voiceintro at translatewiki.net now.


3.1.x environment vault configuration does not check for spring.cloud prefix by default 842

This closes https://github.com/spring-projects/spring-vault/issues/842 and allows to search the properties for both the root path "", as well as ones prefixed by "spring.cloud." automatically.

As per #842, we do not want to introduce cloud prefixes.


Strict validation of string-backed fields

Many resource fields are represented in JSON as strings, which must then be converted to the actual underlying system data type.  For example, dateTime values are represented like "2023-05-17T13:58:00-07:00" and binary data is encoded as base64 (e.g. "SGVsbG8sIHdvcmxkCg==").  The FHIR specification includes regular expressions that can be used to validate these strings to ensure they are formatted correctly, with two primary caveats:

These regexes are explicitly considered non-normative, and informational only; they do not guarantee that all values they match are valid, nor that they match all valid values
The raw regular expressions from the specification are unbounded: they can match at any point in the string.  This means that a value like "1/(2022-12-10) = 0.0005" would be accepted as a valid date, when it isn't

These are described in the specification in specific detail:

Issues with the specified regexes:
The regexes are provided to assist with tooling, but are informative, not normative. There are several issues with the regexes.
The string regex has problems with Unicode - specifically, it might or might not allow Unicode whitespace to some degree depending on Unicode support in the regex engine being used. The regexes [\r\n\t\x{0020}-\x{FFFF}]* or [\r\n\t\u0020-\uFFFF]* are better expressions of the constraints on string, but poorly supported (see Regex Tutorial icon for details). The string regex also applies to markdown as well. The regex does not enforce the length limit
The Unicode issues also apply to the regex for code.
The regexes should be qualified with start of string and end of string anchors based on the regex implementation used (e.g. caret '^' and dollar-sign '$' for JavaScript, POSIX, XML and XPath; '\A' and '\Z' for .NET, Java, Python and others; please verify these definitions with the regex implementation used).
The regexes may allow a broader set of values than are actually valid (e.g. leap years) so additional validation is always needed.

The validateString() function in @medplum/core should always bound any regex drawn from the spec: new RegExp('^' + regex + '$')) to ensure that the entire field matches the regex.
Additionally, we should consider adding specific validation for datetime types, since the regular expressions for them are known to be insufficient.  We could at least try calling Date.parse() on the value to ensure that it is not an invalid date like "2023-02-30".  Similarly, we could try parsing numeric types to catch potential issues related to overflow.
NOTE: This may be a breaking change, since it introduces more strict validation. We should try to estimate or mitigate the potential impact this might have.

This would require more strict date parsing than provided by JS Date.parse(), which likely requires identifying a small but correct library to use


blockhash: doesn't build on darwin

Issue description
haskellPackages.blockhash fails to build on darwin.
Steps to reproduce
nix-env -iA nixos.haskellPackages.blockhash

yields:

Configuring blockhash-<IP_ADDRESS>...
Setup: Encountered missing dependencies:
optparse-applicative ==0.12., vector ==0.11.
builder for ‘/nix/store/4al8n274lx860a7jzx4aq8f2w3j2lfd4-blockhash-<IP_ADDRESS>.drv’ failed with exit code 1

nix-env -iA nixpkgs.haskellPackages.blockhash

yields:

Configuring blockhash-<IP_ADDRESS>...
CallStack (from HasCallStack):
die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:958:20 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:462:12 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-<IP_ADDRESS>:Distribution.Simple
confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-<IP_ADDRESS>:Distribution.Simple.UserHooks
configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-<IP_ADDRESS>:Distribution.Simple
defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-<IP_ADDRESS>:Distribution.Simple
defaultMain, called at Setup.hs:2:8 in main:Main
Setup: Encountered missing dependencies:
optparse-applicative ==0.12., vector ==0.11.

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-darwin"
host os: Darwin 16.7.0, macOS 10.12.6
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.16
channels(andersriutta): "nixos-17.09.3263.9e1d8b74706, nixpkgs-18.09pre146471.d7d31fea7e7"
channels(root): "nixpkgs-18.03pre122585.b212125b541"
nixpkgs: /Users/andersriutta/.nix-defexpr/channels/nixpkgs

This should probably be opened as an issue in the blockhash repo.


ACA-Py running as AWS ECS Fargate task can't connect to either Sovrin BuilderNet/a local von-network in an VM

Hello, I'm running ACA-Py on my AWS ECS Fargate as a task container that tries to connect to both the Sovrin BuilderNet and my own von-network running as containers in my Azure VM, but it keeps getting error and shut down by itself. The errors look similar in both situation.
Below shows the details:
Environment:

AWS ECS Fargate, Platform version 1.4.0
Task memory (MiB)8192
Task CPU (unit)2048
ACA-Py Docker Image version: bcgovimages/aries-cloudagent:py36-1.16-0_0.6.0

Error Message when connecting to Sovrin BuilderNet:
2021-10-27 10:23:38,924 aries_cloudagent.config.ledger INFO Fetching genesis transactions from: https://raw.githubusercontent.com/sovrin-foundation/sovrin/stable/sovrin/pool_transactions_builder_genesis
--
2021-10-27 10:23:39,107 aries_cloudagent.core.profile INFO Create profile manager: indy
2021-10-27 10:23:39,112 indy.libindy.native.command_executor INFO 	src/commands/mod.rs:127 \| Worker thread started
2021-10-27 10:23:39,113 indy.libindy WARNING _indy_loop_callback: Function returned error
2021-10-27 10:23:41,919 aries_cloudagent.indy.sdk.wallet_setup INFO Creating master secret...
2021-10-27 10:24:41,961 indy.libindy.native.indy.commands.pool INFO 	src/commands/pool.rs:75 \| OpenAck handle 4, pool_id 4, result Err(IndyError { inner:
Pool timeout
Pool timeout })
2021-10-27 10:24:41,962 indy.libindy WARNING _indy_loop_callback: Function returned error
2021-10-27 10:24:41,963 aries_cloudagent.commands.start ERROR Exception during startup:
Traceback (most recent call last):
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 170, in open
self.handle = await indy.pool.open_pool_ledger(self.name, "{}")
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/indy/pool.py", line 88, in open_pool_ledger
open_pool_ledger.cb)
indy.error.PoolLedgerTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/commands/start.py", line 72, in init
await startup
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/commands/start.py", line 28, in start_app
await conductor.setup()
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/core/conductor.py", line 96, in setup
self.root_profile, self.setup_public_did and self.setup_public_did.did
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/config/ledger.py", line 71, in ledger_config
async with ledger:
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 272, in __aenter__
await self.pool.context_open()
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 205, in context_open
await self.open()
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 170, in open
self.handle = await indy.pool.open_pool_ledger(self.name, "{}")
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/indy/sdk/error.py", line 27, in __exit__
) from err_value
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 170, in open
self.handle = await indy.pool.open_pool_ledger(self.name, "{}")
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/indy/pool.py", line 88, in open_pool_ledger
open_pool_ledger.cb)
aries_cloudagent.ledger.error.LedgerConfigError: Exception opening pool ledger default: Error: Pool timeout
Caused by: Pool timeout
Shutting down

Error Message when connecting to my local Von-network in my Azure VM:
2021-10-27 10:40:40,566 aries_cloudagent.config.ledger INFO Fetching genesis transactions from: http://{my von network ip}/genesis
--
2021-10-27 10:40:40,604 aries_cloudagent.core.profile INFO Create profile manager: indy
2021-10-27 10:40:40,610 indy.libindy.native.command_executor INFO 	src/commands/mod.rs:127 \| Worker thread started
2021-10-27 10:40:40,611 indy.libindy WARNING _indy_loop_callback: Function returned error
2021-10-27 10:40:43,239 aries_cloudagent.indy.sdk.wallet_setup INFO Creating master secret...
2021-10-27 10:41:43,270 indy.libindy.native.indy.commands.pool INFO 	src/commands/pool.rs:75 \| OpenAck handle 4, pool_id 4, result Err(IndyError { inner:
Pool timeout
Pool timeout })
2021-10-27 10:41:43,271 indy.libindy WARNING _indy_loop_callback: Function returned error
2021-10-27 10:41:43,272 aries_cloudagent.commands.start ERROR Exception during startup:
Traceback (most recent call last):
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 170, in open
self.handle = await indy.pool.open_pool_ledger(self.name, "{}")
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/indy/pool.py", line 88, in open_pool_ledger
open_pool_ledger.cb)
indy.error.PoolLedgerTimeout
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/commands/start.py", line 72, in init
await startup
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/commands/start.py", line 28, in start_app
await conductor.setup()
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/core/conductor.py", line 96, in setup
self.root_profile, self.setup_public_did and self.setup_public_did.did
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/config/ledger.py", line 71, in ledger_config
async with ledger:
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 272, in __aenter__
await self.pool.context_open()
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 205, in context_open
await self.open()
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 170, in open
self.handle = await indy.pool.open_pool_ledger(self.name, "{}")
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/indy/sdk/error.py", line 27, in __exit__
) from err_value
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/aries_cloudagent/ledger/indy.py", line 170, in open
self.handle = await indy.pool.open_pool_ledger(self.name, "{}")
File "/home/indy/.pyenv/versions/3.6.13/lib/python3.6/site-packages/indy/pool.py", line 88, in open_pool_ledger
open_pool_ledger.cb)
aries_cloudagent.ledger.error.LedgerConfigError: Exception opening pool ledger default: Error: Pool timeout
Caused by: Pool timeout
Shutting down

Could anyone help me here? Thanks!

Thanks for the response @ianco  and @swcurran. I've got questions on opening the IP and port numbers.
So far, when I run my VON-network in my Azure VM1, I've never opened the port range 9701-9708 to the Internet (i.e. specify them in the inbound rules of VM1), but ACA-Py agents running other Azure VMs can always connect to my VON-network. So,
Q1.When you mentioned opening this port range 9701-9708, do you mean by specifying them in the inbound rules of VM1 to allow traffic to be in or specifying outbound rules of other VMs to send traffic out?
Q2.If an answer to Q1 is yes, why could opening port range 9701-9708 (by specifying them in the inbound rules of VM1) help to resolve the connection issue?
Q3. The IP address within the genesis file is a private IP - <IP_ADDRESS>. Since the VON-network works for my ACA-Py agents on other Azure VMs, how could this impact the traffic from my AWS ECS containers? I see a message given in the VON-network: The Indy nodes are configured to talk to each other via their "public" address not the Virtual Private Cloud address of the EC2 node.
Q4. Does Sovrin networks (i.e. BuilderNet, Staging and Main networks) use port range 9701-9708 as well?
Q5. If changing the IP of my VON-network could help, is the below command the one I should look for?
$0 start <ip_proxy_1>,<ip_proxy_2>,<ip_proxy_3>,<ip_proxy_4> &

Hello @ianco  and @swcurran, could you provide answers to my questions above? Thanks!

Hello @ianco  and @swcurran , could you provide answers to my questions above? In addition, are you aware of any other port numbers that will be used when an ACA-Py agent tries to connect to either a remote VON-network or Sovrin BuilderNet?

Hi @yunxi-zhang I'm not an expert on indy node or the required ports or network settings, I suggest you can open ports until you can get a successful connection, or ask the question on the indy-node channel in Hyperledger Rocketchat

Apologies to keep asking you, @ianco, thought you knew the details. Thanks for the guidance, i've raise this in the indy-node channel.

aca-py agents are clients, they connect to the client IPs and ports of the nodes on an indy network.  Only node-to-node communication is performed over the node IPs and ports.

Thanks for your answer @WadeBarnes, appreciate it.
Got another question on whether the IPs listed in the BuilderNet's genesis file will be updated constantly?

The IPs and ports listed in a genesis do not change very often, however that does not really matter since your aca-py agent uses the genesis file to establish an initial connection with the network whenever it starts, once the connection is established your agent will get the full list of all of the nodes on the network directly from the network's pool configuration.  To clarify, the genesis file typically does not contain a full list of nodes on the network and nodes on a given network can come and go over time.  The nodes listed in the genesis file form the root of the network.

To provide an answer to your question in rocket.chat about which IPs and ports need to be open for your agent to connect to a given ledger:
Outgoing Requests Only - A node will never try to establish a connection with your agent:

Open to all external IPs, your not going to know the IPs of all of the nodes on the network (other than the few listed in the genesis file) ahead of time, and nodes can come and go over time.
Ports 9700-9799; which is the valid port range for Hyperledger Indy-Node.  Again you will not know what ports all of the nodes on the network are using ahead of time, and nodes can come and go over time.

Thanks for answers @WadeBarnes. What impacts will be on the ACA-Py agents if they can't connect to the rest of the nodes whose IPs are not listed in the genesis file?

You could run into performance and availability (leger pool timeout) issues.

thanks for your answers @WadeBarnes :-).


⚠ Bofrost.fr has degraded performance

In f4cac4f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1584 ms

Resolved: Bofrost.fr performance has improved in 2333e87 after 6 minutes.


Archive links

Add archive links to artefacts

Could be as simple as prefixing url with https://web.archive.org


When the data for 2023 will be made available?

Just wanted to know when the update happens for a year?

No fixed schedule, I'm not actively utilising this so it's as-and-when I get around to it.
However feel free to make a PR!

I would like to take this up


SVG Image on Pixi.js renders very blurry

I tested pixi.js with an SVG image and it turns out that rendering is not very good. I created a showcase jsfiddle here:
http://jsfiddle.net/confile/w84y9k7c/
Is there a way to get better SVG rendering with Pixi.js?

+1

Reopening this since people obviously want it, but not putting it on a milestone yet.

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

:+1:

If anyone wants to write a v3 plugin for this, I'd be happy to help out with it. We have some other awesome plugins we will be making first, so this may be a while unless the community takes it up to do it!

+1

+1

We are using this https://github.com/gabelerner/canvg for SVG usage and it does the job very well.
You have
scaleWidth: int => scales horizontally to width
scaleHeight: int => scales vertically to height
that help you define the size of the canvas and using toDataURL() you will get the base64 image.

+1 for real SVG on WebGL

+1 for real SVG support on WebGL

1

I've been working on an SVG to PIXI.Graphics conversion thingy for the past couple of hours and it works pretty well:
https://github.com/saschagehlich/pixi-svg-graphics
You can see a demo here:
http://filshmedia.net/lab/pixi-svg/
(The PIXI.Container is scaled up to 10x (original SVG is like 80x80), and it's still crispy)
It's not fully implemented yet, but I tried it with a couple of SVG files and I think this is a good start. Unfortunately complex geometry does not work right now, but I'll look into that within the next couple of days.
If anyone wants to help out - feel free to contribute. :)

+1
loads of assets in games don't really fit then notion of everything is a raster

+1

+1

My PIXI-SVG-Graphics project now supports complex paths, making it useable. Also, I published it as a module on npm: https://www.npmjs.com/package/pixi-svg-graphics

I would prefer a solution that leverages the browsers SVG render engine instead of implementing a new render engine.
My idea would be to create a subclass of Sprite (and/or BaseTexture) "SVGSprite".  If the webGL renderer is used, the svg must be rendered to a texture in the displayed size so it does not get blurry.
The idea:

create a 2d canvas in the exact size that is needed for the webgl renderer
use .drawImage(svg_file,0, 0); on the 2d canvas
use the 2d canvas as texture for the webGL renderer

The size must be determined using the global transformation matrix so the scale is correct computed even when the SVGSprite is insied a scaled container.  The SVGSprite must have an update function so the calculation and source canvas is redone.
This way all SVG features the browser supports work in pixi and the result is non-blurry.

@FlorianLudwig so something like https://gist.github.com/biovisualize/8187844 used with PIXI.Texture.fromCanvas with some way of of updating the canvas version of the image if an attribute of the SVG changed like mySVG.setAttribute("transform", "scale(50 50)");?

+1

@saschagehlich

My PIXI-SVG-Graphics project now supports complex paths, making it useable.

it looks like basic things are still missing?

This kind of code
	var canvas = document.createElement ('canvas');
	canvas.width = ...; canvas.height = ...;
	canvas.getContext ('2d').drawImage (svgImage, 0, 0, canvas.width, canvas.height);

	var sprite = new PIXI.Sprite (new PIXI.Texture (new PIXI.BaseTexture (canvas)));

allows to create the sprite with required resolution without altering svg (except if you want to stretch it, then you must add preserveAspectRatio="none" to svg tag).

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1

If you wish to "+1" this issue, please use GitHub Reactions to +1 the original post. I will start deleting the +1s in this thread as it is just noise and makes it impossible to read conversation here.

on the other hand, if github reactions do not "bump" the thread or email annoying notifications to the team, what's the point of using them :) could as well write "like" on the piece of paper and flush it down the toilet

I modified the Texture code to support this, the 4th parameter takes a scale for the svg, like this:
new PIXI.Texture.fromImage('bunny.svg', undefined, undefined, 2.0);

I forked the bunnymark and you can play with the scale by changing line 66 from JS here:
http://codepen.io/anon/pen/pyXMzR.
@englercj, I can create a PR if this looks ok: https://github.com/RanzQ/pixi.js/commit/07522e6dddcdb4741e196ad5f20bb8e534fbb59e

PR: https://github.com/pixijs/pixi.js/pull/2614

PR merged, closing this!

@englercj That PR only scales the texture, it doesn't really add real SVG support (as in a Graphics hierarchy representation of the SVG), which would be super nice! This would be similar to @saschagehlich's idea, but he didn't PR that as a feature to add in Pixi.
Can you re-open this as wishing to have real SVG support?

It works good in Chrome und FF, but doesn't work in IE11. I got SecurityError with this line of code
let tiger = new Sprite(new PIXI.Texture.fromImage('images/tiger.svg', true, PIXI.SCALE_MODES.LINEAR, 8.0));

Ah the good ol' SecurityError. That's a bug in IE11 that has been fixed in Edge, but not in IE11:
https://github.com/pixijs/pixi.js/issues/2928
There's nothing you can do, except converting your SVG to PNG

Good to know. Thanks for hint.
Am 14.12.2017 08:10 schrieb "Sascha Gehlich"<EMAIL_ADDRESS>
Ah the good ol' SecurityError. That's a bug in IE11 that has been fixed in
Edge, but not in IE11:
#2928 https://github.com/pixijs/pixi.js/issues/2928
There's nothing you can do, except converting your SVG to PNG
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi.js/issues/936#issuecomment-351627238, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAu1ZuPEIl_MUskNn1grboYcBl6Vxdxlks5tAMnfgaJpZM4CaLFV
.


source code

Look forward to you making the code public.

Hello, thank you for your interest in our PCP-MAE. We plan to release the code and corresponding checkpoints before November 2024, with an expected release by October 21.


Add generator option for standalone projects

Add a new option to the app, lib, and test generators to build standalone project.json files instead of placing all configuration in workspace.json. Update the local workspace to use the new standalone project configurations.
Resolves #70

@bcallaghan-et  Looking into failing tests, to fix nx-ghpages:test you need to add the following:
import * as fs from 'fs';

jest.mock('fs', () => ({
  ...(jest.requireActual('fs') as typeof fs),
  stat: (path: string, cb: (err: unknown, stats: unknown) => void) =>
    cb(null, {}),
}));

@AgentEnder The e2e tests fail locally as well. Do you have any guidance why yarn would fail, or why @nx-dotnet/core/package.json can't be found?

Hey, yeah. Make sure to run the e2e with npm run e2e or yarn e2e instead of through Nx.

I tried yarn e2e and that produced the same errors.


fixed overlapping text in popular destination's card

Related Issue
fixes:  #1534
Description
The texts in the popular destination's card are overlapping and hence are not clear to read. Removing 'per night' text from the card fixes the issue and makes rest of the card consistent with Dubai's card.
Type of PR

[x] Bug fix

Screenshots / videos (if applicable)
Before :
https://github.com/user-attachments/assets/12125a76-3b14-4a59-a145-702f35df0219
After :
https://github.com/user-attachments/assets/7863a8d9-80ff-4ff6-9b68-aeab4b91eb34
Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@Irtesaam
Great contribution ! 🎉


[proposal] add vendor pkgs into the repo

Though it's convenient to use glide to do package management,  fetching vendor packages may be a problem due to various reasons such as the GFW alike in some countries where network accessing has some restrictions.
If the repo could add the vendor packages, it will reduce some burden of making contributions to helm for developers:

the project could be built without network connectivity for the first time
developers could focus on the project itself without installing glide and knowing how to use glide

@technosophos This may be an interesting one to discuss in the dev call. What do you think?

We are using a package manager to not do this. It's generally considered bad practice to vendor in your dependencies. have a look at the mess that kubernetes is in because they vendor in k8s.io/apimachinery and other packages, and see what helm has to do to fix that. I'm very against this idea.

@bacongobbler, I don't think of it as a huge problem. Mostly because dep now uses vendor directory pruning leaving only used packages in it. It takes a lot of time to fetch all dependencies over the network. Also if one wants to go-get helm they will end up with unlocked dependencies.

By the way, setup-apimachinery.sh is gone now (https://github.com/kubernetes/helm/pull/3446).
Total size of dep vendor directory I got is 43M.


Redis section in Directive.yaml in is not read/used

Only the default in-memory cache is used, even if the redis connection is declared:
identifier: com.suborbital.services
appVersion: v0.1.0
atmoVersion: v0.4.4

connections:
  redis:
    serverAddress: redis-server:6379

handlers:
  - type: request
    resource: /create
    method: POST
    steps:
      - fn: create
  - type: request
    resource: /read/:key
    method: GET
    steps:
       - fn: read

The create function adds a key/value to the cache, and the read function reads the value associated with the key. But when I run this:
redis-cli
keys *

I get nothing. The cache methods are ok, but nothing is stored in the Redis database

I tried with a username and password, but same problem (an no error message):
connections:
  redis:
    serverAddress: redis-server:6379
    username: default
    password: ""

I wonder if this is related to #166. Seems like maybe connections isn't being parsed correctly

I tried with this image suborbital/atmo:v0.4.2 and it's ok, after, it's ko

👋 @k33g I used Docker compose (it worked before)
services:
  redis-server:
    image: redis:latest
    container_name: redis-server
    ports:
      - 6379:6379

  atmo-server:
    image: suborbital/atmo:latest
    container_name: atmo-server
    entrypoint: atmo
    environment:
      - ATMO_HTTP_PORT=8080
    ports:
      - 8080:8080
    volumes:
      - /workspace/atmo-redis-workspace/services:/home/atmo

Okay, that's useful! Let me test

Right, interesting. I can confirm that with 0.4.6 it doesn't work with the given docker compose file. With 0.4.7, which was released yesterday, it seems to work.
Here's what I've done to test it:

created a project with subo create project <name>
create two runnables named create and read in typescript using subo create runnable create --lang=ts.
The create gets a json by the structure of {"key": "somekey", "value": "somevalue"}, and will store the value at key with a ttl being null at whatever cache the runnable has access to.
read will parse the url param and fetch the value from the cache by that key
I copied the connections part into the directive.yaml file.
Built the project with subo build .
created a folder named intodocker, and copied the runnables.wasm.zip file into that folder
copied your docker compose file. The only change I did was the volume path so the local points to the intodocker folder where the only file is the runnables wasm zip
brought up that with docker compose up
in a separate terminal I listed the docker containers with docker ps, and execced into the redis with docker exec -it <sha of running redis> redis-cli
listed all the keys with keys *, came back with an empty array
using postman, I sent a POST request to http://localhost:8080/create with a following payload: {"key": "something", "value": "somevalue"}
The response is 200, and I can read it back out using the GET endpoint
However the redis changes whether the version in the docker compose is latest (currently 0.4.7), 0.4.6, or 0.4.7 explicitly
When it's 0.4.6, after sending the POST request, a keys * does not return the newly inserted entry
When it's either latest, or 0.4.7, the keys * does return the newly inserted entry

I'm investigating what change between the two versions is responsible for fixing this, but so far nothing obvious is standing out. The few changes between them have to do with env var parsing, more options for atmo startup, and a change to the database connections parsing, but not the redis one.
Once we find the source, I'll add what the issue was and the solution, but for now the latest and 0.4.7 should restore functionality.
Can you double check on your end as well? 🙂

I'm at the airport right now, but I will test this weekend (I've an idea of blog post about Atmo, and if the Redis cx is ok, it will help me a lot)

Sweet, thank you! Safe flight, and talk next week 🙂

@javorszky I did the test with the latest version of the image, and it works perfectly 👍 👏

Awesome, thank you for double checking it. I'll close this one as solved.
For the folks running into the same issue with version 0.4.6: the solution is to update to 0.4.7 (valid at the time). If the issue appears in a version later than that, open a new issue 🙂

@javorszky I have the impression that we can only use the default port of Redis (6379 : 6379). If I try with another one (6380 : 6379) nothing is stored in Redis

@k33g Yep, reproduced the issue. Would you like to create a new Github issue for it, or do you want me to do that? 🙂

Moving the solution to running redis on a different port over from Discord for future folks who ran into the same issue:
here's the docker compose file fragment:
redis-server:
    image: redis:latest
    command: "/usr/local/etc/redis/redis.conf"
    container_name: redis-server
    ports:
      - 7777:17221
    volumes:
      - ./redis:/usr/local/etc/redis

I created a file in ./redis/redis.conf with the following content:
port 17221

The idea behind it is that without any extra configuration of the redis server in the docker image, it will always start up on port 6379. That port is always exposed (it's baked into their Dockerfiles (https://github.com/docker-library/redis/blob/master/Dockerfile-alpine.template#L103)).
To add configuration, I had to change the command passed to the docker image to take advantage of what the docker-entrypoint.sh does for us. One of the shorthands is that if I provide the path of a configuration file mounted into the image, it will execute redis-server /path/to/conf/file instead, see  https://github.com/docker-library/redis/blob/master/docker-entrypoint.sh#L5-L8
More documentation for redis.conf options here: https://redis.io/docs/manual/config/


Create Bitrix Framework .gitignore

http://www.bitrixsoft.com/
Ignored core files which shouldn't be under vcs

Thanks, but could you provide some documentation to explain the specific rules you're proposing here?

@mmjurov apologies for the delay in replying to this.
I had a lot of these templates requested, but I couldn't quite figure out the right place for them. I ended up settling on #2857, and you'll see the Bitrix template can now be found at community/PHP/Bitrix.gitignore.
Feel free to submit any future improvements to that template, and thanks again for the contribution!


Use caret notation for mkdirp

Closes #5

Ping, this is blocking security updates for projects.

thanks, this is released on 1.0.3


earpieceOrSpeakersToggle is missing in the new version of the audioplayers

Checklist

[X] I made sure that the feature I am proposing doesn't already exist
[X] I've tried the forceSpeaker and respectSilence configuration (AudioContextConfig) with no success

Use case / Problem

In the version 0.20 there was an earpieceOrSpeakersToggle method.
I use this method for an audio guide, when you can decide if listed the audio with earpiece or if there are not many people around you use the speaker.
Proposal / Solution
Add the routing capabilities to the new AudioContextConfig if it's possible or reintroduce the earpieceOrSpeakersToggle method

I think you have to set AudioContext for each platform for yourself.
See example: https://github.com/bluefireteam/audioplayers/blob/2cb51b3071676cdb0d2211bec201fc5b05314691/packages/audioplayers/example/lib/tabs/audio_context.dart#L104

Speaker

I think you have to set AudioContext for each platform for yourself.
See example:
https://github.com/bluefireteam/audioplayers/blob/2cb51b3071676cdb0d2211bec201fc5b05314691/packages/audioplayers/example/lib/tabs/audio_context.dart#L104

force to speaker, is not success .
just run the latest example, also no success

Setting to earpiece will be available with #1388 like so:
AudioContextAndroid(
  isSpeakerphoneOn: false,
  usageType: AndroidUsageType.voiceCommunication,
  audioMode: AndroidAudioMode.inCommunication
)


Added ohmMinted metric to protocolMetric

Changes

Added ohmMinted metric to protocolMetric

ohmMinted tracks total ohmMinted including ohm minted to DAO

Added ohmMintedDao metric to protocolMetric

ohmMintedDao tracks only ohm minted to DAO (from DAI bonds and OHMDAILP bonds)

Changed index metric from BigInt to BigDecimal for readability
Removed unused imports

note: ohm means exod. I used ohm just to be uniform with other variable names

Great work!


corrent codegen params

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

Hi @njuCZ , I corrected the JS output folder @sudhirap mentioned in commit https://github.com/Azure/azure-rest-api-specs/pull/10199/commits/131e378c7ab0494ea96068f58fe34721a3c98f77.
Would you help to merge this PR? Thank you!


nixos/user-groups: fixup of 5666a378

Description of changes
This should fix the problem introduced by #254080.
I tested with nix build -f. nixosTests.shadow, after applying this patch:
diff --git a/nixos/tests/shadow.nix b/nixos/tests/shadow.nix
index c9a04088e870..7dc5dacb255f 100644
--- a/nixos/tests/shadow.nix
+++ b/nixos/tests/shadow.nix
@@ -32,12 +32,12 @@ in import ./make-test-python.nix ({ pkgs, ... }: {
       };
       users.berta = {
         isNormalUser = true;
-        hashedPassword = hashed_bcrypt;
+        passwordFile = (pkgs.writeText "hashed_bcrypt" hashed_bcrypt).outPath;
         shell = pkgs.bash;
       };
       users.yesim = {
         isNormalUser = true;
-        hashedPassword = hashed_yeshash;
+        passwordFile = (pkgs.writeText "hashed_yeshash" hashed_yeshash).outPath;
         shell = pkgs.bash;
       };
       users.leo = {

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested with nixosTests.shadow, see above
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc: @dunxen @1sixth

Thanks! I can confirm on my side that the changes in the PR fix the issue I encountered with my config (https://github.com/NixOS/nixpkgs/pull/254080#issuecomment-1717228411)

Thank you!

@pennae: Done.


⚠ Bofrost.lu has degraded performance

In f2c4ccd, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1371 ms

Resolved: Bofrost.lu performance has improved in 4f26da6 after 41 minutes.


Rework transaction endpoints to handle pending status

A submitted transaction that is still in the pending should, it should be returned from eth_getTransactionByHash, with the block fields being null. See: https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionbyhash

Related #586

Apply logic described in https://github.com/onflow/flow-evm-gateway/issues/654#issuecomment-2514748180, and investigate the proper place to publish pending transaction event to subscribed filters.


can this tool predict genes for a fungi assembly?

it contains 29 contigs, and the size is of 40 mb approximately. Thanks in advance, and sorry if this is a stupid question and sorry also if this part of your github is not for this kind of questions.
Greetings from Chile!

Should be able too. Use the fraggenescan setting with the ko eukaryotes. Should have 1.3 update soon. It will have more databases.

omg thank you!!!!!!!!!! may the universe bless you

wait, it will probably predict more genes of the assembly if you add it fungal databases, right?

ok, i will keep you informed, thanks again!!! :D

Very welcome!
Let us know how it worked out for you!
If you want us to include custom or other databases or tools related to your work - please let us know?
Closing for now.
We will let you know when 1.3 is completed.

Hi! it worked!!!!

Did you get 1.3 installed? You send the contigs over correct? Do you still want us to annotate for you?
Also, have you run our tool metaome stats?
https://github.com/raw-lab/metaome_stats
It will evaluate your assemblies for you.
Let us know?
We have tested on diatoms, bats, dogs, mouse. Haven't tested on plants. But, should work for fungi. Let us know?

hi!, yes, i sent the contigs. I used the 1.2 version...the 1.3 includes databases related to fungi? in that case i will update it, but it seems fine for now. I'll have to read the paper in order to better understand the output files haha, but it worked, so i dont think it's necessary that you analyze the assembly, thanks for asking!. I used metaomes, i think it's the default in version 1.2, this is the output, it also seems ok:

thanks for the feedback, you are so kind!

Install MetaCerberus 1.3 version. That is best version. There is a bioconda bug that is taking forever to fix.

Thanks!


Support images in the info sheet

The Markdown processor doesn't currently have any way of bringing in provided images.
Probably best to copy any referenced files and then add them to the "generated" file list.

The camptown builder has no concept of "referenced files" though. Maybe there should be a file_callback that is given a source and destination filename?


TypeError in dev mode

When I run the develop script, everything works fine, until I edit a .md file. After the livereload triggers, I see the following error indefinitely until I restart the whole app:

It's possible you are hitting some errors because either the data in the .md files is malformed or some element is required in the missing.  It's very easy to create invalid the YML in the frontmatter data.  I am open to ideas on how to make parts of the starter more durable, especially in the area of the GraphQL queries.

The thing is that when I restart the whole dev server manually everything works as expected with the changes I made in the md file. When I change something and wait for the livereload, the error appears, and this happens over and over.

@steebchen I was just editing on OSX and on Linux and I am not having any issues with the live loading, at least not with Chrome.  What OS and browser are you using?  Could you try running the Gatsby Advanced Starter and/or the Gatsby Material Starter and see if you have any issues with those projects?


Need a way to add pod annotations to the operator created statefulset

In order to use things like the datadog integration for aerospike, we need to be able to put (and keep) annotations on the aerospike statefulset pods. With the operator managing the pods, it would be optimal to be able to add pod annotations to the AerospikeCluster spec which get applied to the pods of the statefulset that gets created by the kubernetes operator.

This will be part of the next Operator release.

https://github.com/aerospike/aerospike-kubernetes-operator/releases/tag/2.0.0


Fixed path and added recursive option

See this issue: https://github.com/espocrm/ext-template/issues/28

Interesting why it worked for me just recently. Maybe because I run it on Windows.

After this change, because of missing slash, it didn't build for me. It created a wrong directory outside the project directory.
Fix: https://github.com/espocrm/extension-tools/commit/9be5d4f0973d7f064210677903fd8f41e59c0a3f

Sorry about that. The path behaves differently in OSX, so it didn't fail for me.


forget: group-by-tags-only

This is not complete - what if "restic forget --group-by-tags --group-by-tags-only" is given?

Travis fails because the manpage is not up-to-date in the PR. In your branch, could you please call restic manpage --output-dir doc/man and add this to the PR? Thanks!

And it needs a rebase, just like the other PR. Let us know if you need help with the rebase.

Can I suggest to resolve this in a different way? Instead of adding --group-by-tags-only and possibly --group-by-path-ony or --group-by-host-only, make a flag specifying what your ordering needs to be --group-by=[host,path,tags]. Default to "host,path,tags" to keep functionality the same.

@middelink that is an excellent idea, thank you very much! We can just fill the JSON key according to what's present in --group-by.
@mungomat Do you think you can tackle this? Or shall I do that?

The CI test fail because cmd_forget.go is not properly formatted. May I suggest installing the script
fmt-check from https://github.com/edsrzf/gofmt-git-hook locally as a
pre-commit hook? It checks formatting before committing automatically, just copy
this script to .git/hooks/pre-commit.

Codecov Report

Merging #1196 into master will decrease coverage by 5.78%.
The diff coverage is 22%.

@@            Coverage Diff             @@
##           master    #1196      +/-   ##
==========================================
- Coverage    52.9%   47.12%   -5.79%
==========================================
  Files         123      126       +3
  Lines       12170    12230      +60
==========================================
- Hits         6439     5763     -676
- Misses       4975     5765     +790
+ Partials      756      702      -54

Impacted Files
Coverage Δ

cmd/restic/cmd_forget.go
33.33% <22%> (-3.47%)
:arrow_down:

internal/backend/b2/b2.go
0% <0%> (-79.32%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-73.9%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-61.93%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-59.85%)
:arrow_down:

internal/backend/swift/config.go
34.37% <0%> (-56.25%)
:arrow_down:

internal/restic/progress_unix_with_siginfo.go
55.55% <0%> (ø)

cmd/restic/background.go
0% <0%> (ø)

internal/restic/node_darwin.go
100% <0%> (ø)

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 5c75a98...ed30bd7. Read the comment docs.

Good work, thanks!


rust_dicord::#meta i was bored and wanted to help?

Here's my attempt at making Leah's changes to your beautiful dice bot that should definitely be added to the rust discord server.
apparently char::to_digit('2') returns a u32, which is why I cast to i32.

I was very confused about rust letting you do '0' ... '9' but i guess it makes sense since that's just basically an integer range in ASCII


aglet

aglet is going to be the new OpenGL backend for rapid. My ideas for this engine's graphics APIs have changed quite a bit since 2019, and the creation of aglet is one of them.
The plan:

remove the RGfxContext state machine
support multiple windows
remove all global variables to enable usage via std/dynlib-loaded procs
remove R prefixes, they don't do much good
ECS?

The rapid/gfx API is going to change quite a bit. Here's an example:
old
import rapid/gfx

var
  win = initRWindow()
    .size(800, 600)
    .title("old example")
    .open()
  gfx = win.openGfx()

gfx.loop:
  draw ctx, step:
    ctx.clear(gray(0))
    ctx.begin()
    ctx.rect(32, 32, 32, 32)
    ctx.draw()
  update:
    discard

new
import aglet
import aglet/window/glfw
import rapid/gfx

var
  win = newWindowGlfw(800, 600, "new example")
  rd = win.rapid()
  prog = rd.program  # default program if no parameters are provided
  shape = win.newShape(smDynamic)

gameLoop(win):
  draw(target, step):
    target.clearColor(vec4f(0, 0, 0, 0))
    shape.clear()
    shape.rect(32, 32, 32, 32, color = vec4f(1.0, 1.0, 1.0, 1.0))
    target.draw(shape, prog, uniforms {...rd.uniforms})
  update(frequency = 60):
    discard

why?
The second API might look more convoluted. After all, it has more lines of code, so… why?
The thing is, the second API is stateless. Apart from that, there's one small optimization we can do if the rect doesn't move around:
var shape = win.newShape(smStatic)
shape.rect(32, 32, 32, 32)

If we want to move the rect around, but don't need to change its vertices we can still pass a position as a matrix to uniforms and customize the vertex shader, but for simple games this level of complexity usually isn't needed.
var progTransform = rd.program(vertex = """
  #version 330 core
  in vec2 position;
  in vec4 color;
  in vec2 uv;
  uniform mat4 transform;
  uniform mat4 rdView;
  void main(void) {
    gl_Position = transform * rdView * vec4(position, 0.0, 1.0);
  }
""")

var shape = newShape(smStatic)
shape.rect(-0.5, -0.5, 1.0, 1.0)

# in gameLoop(win) → draw(target, step)
target.draw(shape, progTransform, uniforms {
  transform: mat4().scale(32, 32, 0).translate(64, 64, 0),
  ...rd.uniforms,
})

I do understand that this API is a lot more verbose than the old one, but this API is ultimately so much better without any hidden uniforms or headers in your shader programs. Not only that, but the API will run much faster than the old one, as aglet optimizes away unnecessary draw calls.

I've given some thought about this, and I think I am able to finally get to implementing it.
I decided to ditch the much verbose Shape API in favor of a different API: Canvas. This API will be more akin to the one in rapid 2019. It is primarily built for things like drawing UIs, where an immediate mode-style API is much better suited and using raw aglet Meshes would prove inconvenient.
The idea is to still get rid of the state machine that is RGfxContext, but at the same time replace it with an API that is much simpler to use for small games and UI rendering. For larger games the optimal solution is to use either a shared Mesh pool (eg. for sprites) or one Mesh per object (eg. for levels), depending on the need.
Here's the Canvas API:
import aglet
import aglet/window/glfw
import rapid/gfx

var
  win = newWindowGlfw(800, 600, "newer example")
  rd = win.rapid
  canvas = rd.newCanvas()

gameLoop(win):
  draw(frame, step):  # `frame` is an aglet `Frame`
    frame.clearColor(rgba32f(0, 0, 0, 1))
    canvas.begin()  # begin writing to the shape buffer
    canvas.rect(32, 32, 32, 32, color = colWhite)
    canvas.draw(frame)  # an extra shader program and aglet `DrawParams` is accepted
                        # to modify blending, etc.
  update(frequency = 60):
    discard

This new Canvas will also feature a built-in sprite atlas with a texture packer, so drawing sprites (like text) will be very efficient and batchable, but at the same time will avoid the drawbacks of using the existing RTexPacker (like having to store meaningless rects instead of proper texture handles).
This change probably raises some confusion, because the existing RCanvas is a completely different thing (a framebuffer). The name of the new API, Canvas, refers to the painter method commonly used when drawing 2D graphics. A painter paints on a canvas, hence Canvas. It is somewhat inspired by the name of the HTML5 canvas, but refers directly to the drawing state, and not the commonly called "graphics context". If you have any better name ideas, please suggest them in the comments.

Decided to rename the Canvas to Vectorial. After all, it is designed primarily for 2D vector graphics, and efficient sprite support comes as an extra bonus.

Progress for this is reported in #22.


Listing Ranger Handle or Incident Type dropdown populates field with first character of first entry in list

Citizen sez:
Version 0.9
To replicate, select Range Handle or Incident Type field and enter ? to list entries. Start typing an entry. The first character of the first entry in the dropdown opened by ? is retained.
For instance, I enter ? to open the Incident Type list, see Echelon and start typing 'ech' but the 'a' from Admin is retained at the beginning of the field so I don't get the entry from the list I was aiming for.

Totally rewritten

Please verify with [Incidents 3.0a1] (https://github.com/burningmantech/ranger-ims-mac/releases/tag/v3.0a1).


Move to Cerana

 Issue by pjnorton
Fri Apr  1 14:29:41 2016
Originally opened as https://github.com/mistifyio/mistify/issues/80

Issue Description
Stand up the mistify site on cerana as is with the name change
Point mistify.io to cerana.org instead
Put some stuff in the mistifyio github talking about the move
Acceptance Criteria (How do we know when this is done?)
mistify site is on cerana and mistify.io points to cerana.org
Related Tickets
Additional Info

 Comment by nshalman
Fri Apr  1 17:25:24 2016

http://mistify.io redirects after 3 seconds to http://cerana.org

 Comment by nshalman
Fri Apr  1 16:28:07 2016

http://cerana.org/ is now up.
Next is to set up the redirects from mistify.io

@nshalman is this closable?

Done. Closing


Added special paths.

Added the special paths stuff, not sure if the VectorAsArray stuff in the special_paths_mac.cpp file, changed it to match what I found in the stl utils file, but still needs testing.
Perhaps you can compile on mac and tell me what's still missing?

I think we should remove the enum and just access the directories directly.
FilePath tempPath;
if (nu::SpecialPaths::getTempPath(&tempPath)) ...

We should also remove the android specific stuff for now.  The most important paths that make sense for now:

getExecutablePath
getSourceRootPath
getUserDataPath
getTempPath

Ok, I've removed the enum and the special get function ... this leaves us with an empty special_paths.cpp file - which I'll remove. Just need a bit more time to deal with the other changes you've mentioned later.


Custom cluster domain support for other values than cluster.local

Report
Keda doesn't seem to properly support custom cluster domains other than cluster.local (e.g. mycompany.local`).
The chart has a configuration setting for this, but a Github search learns me that this is hardcoded in the code base in a few places, e.g.:

https://github.com/kedacore/keda/blob/ee81112c9fa47b3bee0907d56365aac1ed291e5d/cmd/adapter/main.go#L140
https://github.com/kedacore/keda/blob/ee81112c9fa47b3bee0907d56365aac1ed291e5d/pkg/certificates/certificate_manager.go#L106

Using CertManager for certs seems to be a workaround for this, but hardcoding cluster.local is simply not valid.
Additionally, validate if the cluster domain is actually needed in every place.
Kubernetes does not depend on FQDNs to resolve services and pods to IP addresses as it will inject custom search domains in /etc/resolv.conf : https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#namespaces-of-services
Expected Behavior
Setting the clusterDomain in the chart leads to correctly auto generated certs.
Actual Behavior
Certificate which is only valid for cluster.local.
Steps to Reproduce the Problem

Deploy a Kubernetes cluster with a custom cluster domain.
Deploy Keda through the Helm chart with default settings except the clusterDomain.
Observe misconfigured certificates being generated.

Logs from KEDA operator
keda-operator-metrics-apiserver-5c57dfdbc4-qhj6w keda-operator-metrics-apiserver 2023-08-03T17:02:34.665892547+02:00 W0803 15:02:34.665790       1 logging.go:59] [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {Addr: "keda-operator.keda.svc.mycompany.local:9666", ServerName: "keda-operator.keda.svc.mycompany.local:9666", }. Err: connection error: desc = "transport: authentication handshake failed: tls: failed to verify certificate: x509: certificate is valid for keda-operator, keda-operator, keda-operator.keda, keda-operator.keda.svc, keda-operator.keda.svc.local, keda-operator.keda.svc.cluster.local, keda-admission-webhooks, keda-admission-webhooks.keda, keda-admission-webhooks.keda.svc, keda-admission-webhooks.keda.svc.local, keda-admission-webhooks.keda.svc.cluster.local, keda-operator-metrics-apiserver, keda-operator-metrics-apiserver.keda, keda-operator-metrics-apiserver.keda.svc, keda-operator-metrics-apiserver.keda.svc.local, keda-operator-metrics-apiserver.keda.svc.cluster.local, not keda-operator.keda.svc.mycompany.local"

KEDA Version
2.11.2
Kubernetes Version
1.25
Platform
Google Cloud
Scaler Details
N/A
Anything else?
No response

Yeah, let's fix this - Are you willing to contribute this?

Up! With the same issue.. It seems an overkill to deploy the certificate manager only to allow this.. It seems that there is a script inside the operator that creates a certificate (when the certificate manager is disabled) that is simply not considering the clusterDomain value

Beautiful! I ran into this problem when operating KEDA in a cluster with a custom domain. I had to reinstall the Helm chart using the clusterDomain value, and delete the keda/kedaorg-certs secret to force a regeneration of the certs. (I'd get "cert invalid for this domain" type of errors in keda-operator-metrics-apiserver otherwise, even after a fresh uninstall and reinstall -- secret was left behind from prior installation).
All works now! Thanks for pointing me in the right direction :)


Separate Lambda Function for Single API

Hi.. I want to create separate Lambda function for my each file. but need to create only 1 API in AWS. so, each Lambda Function can be connected with "Resource" in API.
i.e.
{url}/file1
{url}/file2
{url}/file3
I don't want new url and new api_id for each lambda function. I want something like above example.
Is it possible using Claudia???

hi,
please use the gitter chat channel for chat, we use github issues only for bugs


Pellet numbering is broken

It looks like you broke the name numbering in case you have multiple peX here https://github.com/dominikamann/oekofen-pellematic-compact/commit/ac6ec872f3257304906708844238fdc6fb76ed81#diff-07cd336911bfa0d50dcf13474bf76fb9aeda3a6ea9d1b08b1448da322e94ed6dR161
>>> "foo".format(" " + str(2))
'foo'

It should look like Heater Modulation PE 1
It should look like Heater Modulation PE 2
You did not like the previous syntax, where it was working?

May it happened by accident. I will double check it. Thanks


some types don't have a factory function

Since interface definitions are wholly useless for JavaScript users, please consider providing concrete Object Models or namespaces that can be constructed and serialized properly to JSON for those who do not wish to use TypeScript. This would allow JS users to take better advantage of type based intellisense and autocompletion, cmd+click capabilities and typed doc block annotations.
The change is trivial:
 export interface Hover {
  //...
}

Would become:
export class Hover {
// ...
}

This would allow a JS developer to import the Hover class and use it directly.
const {Hover} = require('vscode-languageserver-types');

async onHover(event) {
    const {position, textDocument} = event;
    const {uri} = textDocument;
    const document = this.openDocuments[uri];
    return await getHoverInfo(position, document);
  }

async getHoverInfo(position, document) {
  // Do stuff, then
  const hover = new Hover(); 🚀
  hover.contents = 'Provides support for non TypeScript users');
  return hover;
}

The use of interfaces for the APIs is on purpose.
Any object that has the required properties is qualified to represent the object. The use of classes force you to build class hierarchies, instantiate the specific object, forcing a runtime dependency to vscode-languageserver-node.
To have more convenience creating an object: We have already factory functions, e.g. for Position: https://github.com/Microsoft/vscode-languageserver-node/blob/ce3483119b72a751c28da4c5d578a0149011e130/types/src/main.ts#L48:
I see we miss one for Hover, we should add that.

Still no good for JS developers since the shape of the Position object in not known nor can it be inferred by most IDEs without a prototype.
For example, a typical JS editor other than VSCode will produce something similar to this:
const {Position} = require('vscode-languageserver-types');

const pos = Position.create(); // <--- unknown method 'create' - Collision with interface definition
pos.line <--- unknown property "line"
pos.character <--- unknown property "character"

const position = new Position(); // <--- error Position is not a constructor
Object.getPrototypeOf(Position) // {} <--- empty object with no properties
Object.keys(Object.getPrototypeOf(Position)) // [] <--- empty array - Should be ["line", "character"] for the editor to pick up the properties
Object.keys(Position) // ["create", "is"] <---- all statics but no "line" or "character"

/**
* A doc block example
* @return {Position} <--- unknown type "Position"
*/
function getPositionOfSomething() { // <--- Function never returns Position
  //...
  return {line:3, character:12};
}

Without classes that define the shape of these objects within their prototype, JS users are completely left in the dark. No intellisense, no autocomplete, errors and warnings everywhere. The experience is similar to casting absolutely everything as {} or any in typescript.
Something like
class Position {
  constructor(line, character) {
    this.line = line;
    this.character = character;
  }
}

is enough to provide JS users with a clearly defined object shape while still allowing developers to opt-in to using classes in TypeScript

Isn't this a limitation of the editor? Also from return {line:3, character:12}; you can infer type information and e.g. the JavaScript support in VSCode is able to do that. In addition to that, the JavaScript support is also able to use the d.ts files.

Yes it is. VSCode and VS are likely the only editors that will work since it looks for .d.ts files (and even complains when they do not exist for JS only projects). Broader editor support would require the notion that no TS plugins will be available.
I suppose this system is great if the assumption is that all developers consuming this library will be using VSCode and TypeScript. Probably a safe assumption since indeed this is a tooling library for creating extensions on the platform and most MS heroes will have a strong preference for TS.  I suppose I'm looking out for the Atom and Notepad++ Jedi Knights out there 😄 On the other hand, Jedis have no need for code completion and intellisense 😆

The method we used for years to hint properties of objects to editors - before classes even existed - was JSDoc. I would be surprised if the editors you are talking about supported classes but not JSDoc. JSDoc had ways to define interfaces that could be used in @return annotations iirc. That would probably solve your problem.

@aeschli is this still something you consider. Otherwise please close as out of scope.


Support for fetching Store Specific Data via GQL

Provision to collect store-specific data via GQL. For this store ID needs to be passed via header

This is implemented and available via PR: #89


Release v1.25.0

Release summary
Version number: v1.25.0
Release details
AEA:

Fixes the mechanism to convert the json path the environment variable string
Updates the process of agent subprocess termination to make sure we properly terminate agents across the various operating systems
Introduces reraise_as_click_exception to re-raise exceptions as click.ClickExceptions on command definitions
Extends CliRunner to allow usage of capfd to capture test output
Introduce generate_env_vars_recursively method to auto generate the environment variable names for component overrides
Extends aea generate-key to support creating multiple keys
Extends the package manager API to

Update the hashes for third party packages with a warning
Update the dependency hashes when locking packages
Verifying the dependency hashes when verifying packages

Adds deprecation warning for aea hash all command

Tests:

Updates libp2p tests to use capsys to read stdout instead of patching sys.stdout
Re enables tests skipped with # need remote registry comment
Adds tests for package manager API

Chores:

Updates the tox environment setting for unit tests to report duration of tests
Deprecates the usage of aea hash all command from the workflow

Checklist
Put an x in the boxes that apply.

[ ] I have read the CONTRIBUTING doc
[ ] I am making a pull request against the main branch (left side), from develop
[ ] Lint and unit tests pass locally and in CI
[ ] I have checked the fingerprint hashes are correct by running (aea hash all and aea packages lock --check)
[ ] I have regenerated the latest API docs
[ ] I built the documentation and updated it with the latest changes
[ ] I have added an item in HISTORY.md for this release
[ ] I bumped the version number in the aea/__version__.py file.
[ ] I bumped the version number in every Docker image of the repo and published it. Also, I built and published them with tag latest
(check the READMEs of aea-develop
and aea-user)
[ ] I have pushed the latest packages to the registry.
[ ] I have uploaded the latest aea to PyPI.
[ ] I have uploaded the latest plugins to PyPI.

Codecov Report
Base: 97.19% // Head: 97.19% // No change to project coverage :thumbsup:

Coverage data is based on head (5fe38da) compared to base (37fa7fd).
Patch coverage: 100.00% of modified lines in pull request are covered.

:exclamation: Current head 5fe38da differs from pull request most recent head 0905f93. Consider uploading reports for the commit 0905f93 to get more accurate results

Additional details and impacted files
@@                 Coverage Diff                  @@
##           tests/pm-extend-dep     #466   +/-   ##
====================================================
  Coverage                97.19%   97.19%
====================================================
  Files                      208      208
  Lines                    19062    19062
====================================================
  Hits                     18527    18527
  Misses                     535      535

Flag
Coverage Δ

unittests
97.19% <100.00%> (ø)

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

Impacted Files
Coverage Δ

aea/__version__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

failures:

ubuntu 3.8 - byte stream capture (not using capfd here)        result = self.runner.invoke(
            cli,
            [*CLI_LOG_OPTION, "config", "get", "skills.dummy.behaviours"],
            standalone_mode=False,
        )
        assert result.exit_code == 0

        >       actual_object = json.loads(result.output)
        ...
        >           raise JSONDecodeError("Expecting value", s, err.value) from None
E           json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

windows 3.7INTERNALERROR> MemoryError

Ubuntu 3.8 Failure - stdout capture issue
Windows failure - memory error (We already have a prioritised issue for this)


grpc: Service for triggering indexer pruning

Closes #1258

PR checklist

[x] Tests written/updated
[x] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

Superseded by #1327


Release 0.4.40

@JuliaRegistrator register(branch=release)

Registration pull request created: JuliaRegistries/General/17497
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.40 -m "<description of version>" 05a47bcdfc9ff6f86e0b9a87c3a613f1f6af0435
git push origin v0.4.40


beta8: web.config exception when deploying to IIS

Hello. i'm beginner with asp.net vNext.
I have VS2015, and I installed the new beta8. I created new API project, and make to changes:

I added "Microsoft.AspNet.Server.IIS": "1.0.0-beta7" dependency.
I changed "solution DNX SDK version" to beta8.

The project can running locally without any problem.
Now, I published the project to local file system, and copied the output to remote IIS server[2012].
On the iis, I created a new site, and set the physical path to wwwroot directory.
Now, in IE I test the site, but I get an error: "HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Thanks for any help.

Can you make a new project and try using that and seeing if it works?

David, I used VS template as is, with two changes have detailed above.
UPDATE:
After reading this post, I realized that I have to install HttpPlatformHandler on the target IIS.
I did it and installed HttpPlatformHandler  x64 version.
Now, I get another error:
HTTP Error 502.3 - Bad Gateway
Most likely causes:
•The CGI application did not return a valid set of HTTP errors.
•A server acting as a proxy or gateway was unable to process the request due to an error in a parent gateway.
Detailed Error Information:
Module
httpPlatformHandler
Notification
ExecuteRequestHandler
Handler
httpplatformhandler
Error Code
0x8007053d
Thanks again for any help.

@YehudahA Try reading this post http://blogs.msdn.com/b/webdev/archive/2015/10/15/announcing-availability-of-asp-net-5-beta8.aspx

Devid, I've read that article and also this https://docs.asp.net/..servers.htmlhighlight=commands#servers-and-commands and more.
But I did not understand what I need to do and how configure the project.json.
I tried also using the Empty template provided by VS, the same problem occurs.
I googled and read a lot of articles, but it's hard to know which is updated.

@YehudahA Check this list of steps against what you've done thus far: https://github.com/aspnet/Hosting/issues/364#issuecomment-148567294

@GuardRex, I am in total despair. I did EXCACTLY those steps. nothing help.
This is my project.json content:
{
  "webroot": "wwwroot",
  "version": "1.0.0-*",

  "dependencies": {
    "Microsoft.AspNet.IISPlatformHandler": "1.0.0-beta8",
    "Microsoft.AspNet.Mvc": "6.0.0-beta8",
    "Microsoft.AspNet.Server.Kestrel": "1.0.0-beta8",
    "Microsoft.AspNet.StaticFiles": "1.0.0-beta8",
    "Microsoft.Framework.Logging": "1.0.0-beta8",
    "Microsoft.Framework.Logging.Console": "1.0.0-beta8",
    "Microsoft.Framework.Logging.Debug": "1.0.0-beta8",
    "Microsoft.AspNet.Hosting": "1.0.0-beta8"
  },

  "commands": {
    "web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel"
  },

  "frameworks": {
    "dnx451": { },
    "dnxcore50": { }
  },

  "exclude": [
    "wwwroot",
    "node_modules"
  ],
  "publishExclude": [
    "**.user",
    "**.vspscc"
  ]
}

This is global.json content:
{
  "projects": [ "src", "test" ],
  "sdk": {
    "version": "1.0.0-beta8"
  }
}

This is Startup.cs content
    public class Startup
    {
        public Startup(IHostingEnvironment env)
        {
        }

        public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc();
        }

        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            loggerFactory.MinimumLevel = LogLevel.Information;
            loggerFactory.AddConsole();
            loggerFactory.AddDebug();

            app.UseIISPlatformHandler();
            app.UseStaticFiles();
            app.UseMvc();
        }
    }

And this is the pubxml content:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <WebPublishMethod>FileSystem</WebPublishMethod>
    <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
    <LastUsedPlatform>Any CPU</LastUsedPlatform>
    <SiteUrlToLaunchAfterPublish />
    <LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
    <ExcludeApp_Data>False</ExcludeApp_Data>
    <CompileSource>False</CompileSource>
    <UsePowerShell>True</UsePowerShell>
    <IISCommand>web</IISCommand>
    <WebRoot>wwwroot</WebRoot>
    <WwwRootOut>wwwroot</WwwRootOut>
    <IncludeSymbols>False</IncludeSymbols>
    <Native>False</Native>
    <IgnoreDNXRuntime>False</IgnoreDNXRuntime>
    <publishUrl>..\..\artifacts\bin\Api100\Release\PublishOutput</publishUrl>
    <DeleteExistingFiles>False</DeleteExistingFiles>
    <PublishDNXVersion>dnx-clr-win-x<IP_ADDRESS>-beta8</PublishDNXVersion>
  </PropertyGroup>
</Project>

@YehudahA You've done a server restart since the installation, correct? Did you turn on the HttpPlatformHander log in web.config?
<httpPlatform
  processPath="%DNX_PATH%"
  arguments="%DNX_ARGS%"
  stdoutLogEnabled="true"
  stdoutLogFile="..\logs\httpplatform-stdout"
  startupTimeLimit="3600"/>

... and check for the presence of the log and its contents if it is there. Note that I have a logs folder in my project to receive logs; but if you leave out the stdoutLogFile, it will write the log files to your wwwroot. Because I use that path, my logs end up way down in a package folder ...
F:\<app_folder>\approot\packages\<app_name>\1.0.0\root\logs

Without supplying a path, the logs on the server are written to a logs folder created for you in the project physical directory (same place as your approot and wwwroot folders). Then, of course, check Event Viewer and see if anything is popping up there. btw -- Post your full web.config.
If the log isn't even appearing, check the IIS Modules and make sure you see httpPlatformHandler in the list. Check IIS Handler Mappings for the app and make sure it appears there and is "Enabled."
The only diff between what you've posted thus far and my test app is that I'm dnxcore50 only, so my Global.json calls out for the x64 coreclr SDK explicitly and there is no dnx451 framework in my project.json, but this diff shouldn't be a problem.
If you don't get much further with it, put up a repo of the project, and I'll put it on my VM and see if I can get it to run here. But keep in mind that this is The Walking Dead night, so I'll be half-drunk :beers: and yelling at the TV screen in a few hours. I can test your project here later this evening.

Get the same error HTTP Error 502.3 - Bad Gateway with following event log.  The ..\logs\stdout.log is created but always empty.  This happens even with DNXCore50 beta 8.  Windows Server 2012 R2 and IIS 8.5.  HttpPlatformHandler is installed and enabled in the IIS Handler Mapping.

1000
2
0
0x80000000000000

21095
Application
*****

Process '0' failed to start. Port = 1145, Error Code = '-2147024894'.

@luchen1021 Check out:
https://github.com/aspnet/Hosting/issues/364#issuecomment-142517221
https://github.com/aspnet/Hosting/issues/364#issuecomment-144003845
... feels like the wrong version of HttpPlatformHandler. Look at Control Panel > Programs and see if v1.2 shows up as the one installed on the server. If not, get rid of whatever is there and go with:
x64 version: http://go.microsoft.com/fwlink/?LinkId=690721

@luchen1021 Thank you! You've solved my problem!
Please note that there links to the old version, you might want to fix them. https://azure.microsoft.com/en-us/blog/announcing-the-release-of-the-httpplatformhandler-module-for-iis-8/
I thank you very much and I hope that from now on things will go easily and not difficulty.
Thanks also to the rest of the members who helped and contributed.

@YehudahA Yes, both the Microsoft Download Center at http://www.iis.net/downloads/microsoft/httpplatformhandler and WebPI still have v1.0.

I have the exact same issue as luchen1021:
Windows Server 2012R2/IIS 8.5
When browsing to the site:
HTTP Error 502.3 - Bad Gateway
There was a connection error while trying to route the request.
Application Event Log:
Process '0' failed to start. Port = 20313, Error Code = '-2147024894'.
I followed the instruction here:
https://github.com/aspnet/Hosting/issues/364#issuecomment-148567294
I have v1.2 of the HttpPlatformHandler installed.
My web.config:

Any thoughts on what to try?

@pragmat1c That's most likely caused by having the wrong version of the HttpPlatformHandler installed on your server. Go to Control Panels > Programs > Programs and Features and see what version you have installed. It should say v1.2.

@GuardRex, Yes I've check (and double and triple checked) the version. it is v1.2.
<configuration>
  <system.webServer>
    <handlers>
      <add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler"

resourceType="Unspecified" />
    </handlers>
    <httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="true"

stdoutLogFile="..\logs\stdout.log" startupTimeLimit="3600"

forwardWindowsAuthToken="false"></httpPlatform>
  </system.webServer>
</configuration>

I changed my web.config back to the "deployed" version above and now I get a 404 when browsing to my app.
In my log I get:
warning : [Microsoft.Framework.DependencyInjection.DataProtectionServices] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
warning : [Microsoft.AspNet.DataProtection.Repositories.EphemeralXmlRepository] Using an in-memory repository. Keys will not be persisted to storage.
Hosting environment: Production
Now listening on: http://localhost:24750
Application started. Press Ctrl+C to shut down.
The contents of my ..\approot\web.cmd file:

@echo off
SET DNX_FOLDER=dnx-clr-win-x<IP_ADDRESS>-beta8
SET "LOCAL_DNX=%~dp0runtimes\%DNX_FOLDER%\bin\dnx.exe"

IF EXIST %LOCAL_DNX% (
  SET "DNX_PATH=%LOCAL_DNX%"
)

for %%a in (%DNX_HOME%) do (
    IF EXIST %%a\runtimes\%DNX_FOLDER%\bin\dnx.exe (
        SET "HOME_DNX=%%a\runtimes\%DNX_FOLDER%\bin\dnx.exe"
        goto :continue
    )
)

:continue

IF "%HOME_DNX%" NEQ "" (
  SET "DNX_PATH=%HOME_DNX%"
)

IF "%DNX_PATH%" == "" (
  SET "DNX_PATH=dnx.exe"
)

@"%DNX_PATH%" --project "%~dp0packages\WebTotal\1.0.0\root" --configuration Release web %*

@pragmat1c Check this out: https://github.com/aspnet/Hosting/issues/412

@GuardRex, I'm sorry, but I don't see how that issue is relevant to mine?

@pragmat1c My bad ... I was confused on who was on Azure Web Apps. They were having an issue with the processPath. Since it seems it is finding the command, I don't think it matters that I'm using processPath="%DNX_PATH%" and arguments="%DNX_ARGS%". Try with my settings just to make sure.
I also have a different "web" command ...
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel"

... but I've seen other posters using the one you have and haven't heard issues on it. I'd try that, too, just to make sure. You have the Microsoft.AspNet.Hosting package, correct?
How is the 404 being thrown? ... Is a view of your's, or is it an empty response body with a status code of 404?
Since you have the log enabled, dump any log files in that folder on the server, make a request to the app and get your 404. Check to see if a log was generated and has a proper looking entry ... e.g.,...
Process Id: 14428
Waiting for the debugger to attach...
Debugger attached.
Hosting environment: Development
Now listening on: http://localhost:2949
Application started. Press Ctrl+C to shut down.

Do a static file test: Put a test.htm file in your wwwroot folder (of course, you need "Microsoft.AspNet.StaticFiles": "1.0.0-beta8", and app.UseStaticFiles();) and make sure that the module can at least return a static html file to the browser. If it can, then it feels like an MVC issue. If it can't, it feels like a module config issue.

@GuardRex any static file also returns a 404 with an empty response body. (For instance any request for a css or js file in my app).
I've also tried:
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.Kestrel"

No luck.
If i browse directly to http://localhost:24750 (the url in the logs) the site is loaded.
My hunch is the httpPlatformHandler is not working properly.  But again, see my previous answer where I have version 1.2 installed.

@pragmat1c That's a good sign that you can hit it at localhost. How are your bindings setup for the app? Can you delete whatever binding you have for the app and re-add it? I'd look in the logs, too, to make sure IIS is seeing the requests: C:\inetpub\logs\LogFiles

@GuardRex,
Could you elaborate on the "bindings"? I'm not quite following you.
Thanks!

@pragmat1c

@GuardRex,
This is an application running under the "Default Web Site". The Bindings are fine, I can get to the default web site.
Yes, IIS is logging the requests.
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2015-10-21 18:58:18
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2015-10-21 18:58:18 <IP_ADDRESS> GET /MyApp/css/site.css - 80 - <IP_ADDRESS> Mozilla/5.0+(Windows+NT+10.0;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/46.0.2490.71+Safari/537.36 - 404 0 0 3016

@GuardRex,
Turnds out it was this issue:
https://github.com/aspnet/Hosting/issues/416#issuecomment-149046552
I had to do that app.Map fix in the Startup.cs Configure method.
app.Map("/MyApp", (app1) => this.Configure1(app1, env, loggerFactory));

My app is now working.

I was receiving the bad web.config and the bad gateway error when try trying to deploy to IIS prior to installing the correct* http platform handler.
However, I am still getting a related issue when deploying to Azure with beta 8.  The deployment succeeds, but when the page opens all i get is a 500 error and the message:
The specified CGI application encountered an error and the server terminated the process.

@pragmat1c Cool. I added that reference to my guidance.
@Sharpiro That one has mostly been associated with the DNX_PATH. See https://github.com/aspnet/Hosting/issues/412

I get this error in beta8 when I try to get entities with circular dependencies (oops) using EF7. For example if I want a student with all enrolledcourses, and student specifies a collection of courses and enrollments specifies a studentId, I get the bad gateway error. Totally my fault but it seems like a weird error to get.

@cda-1 Was the app working before? The bad gateway exception is most often linked to having the wrong version of the HttpPlatformHandler installed. You're right ... that's not the correct exception to expect for an EF problem AFAIK.

I have 1.2 installed. Is HttpPlatformHandler relevant for IIS Express? I get the error in both IISExpress and IIS proper on Windows 10.
If I do a GET against my API that returns an entity without a circular dependency, it comes right up. If I GET one with a circular dependency, I see:
HTTP Error 502.3 - Bad Gateway
The specified CGI application encountered an error and the server terminated the process.
But then I can go right back to requesting the good entity and it's fine. There's no lag whatsoever, so it's not restarting the process or anything.

Yes, it's relevant. Ah ... so it is an app/EF issue. If you're getting a response (even a static file), the HttpPlatformHandler is doing its thing.
Have you tried to configure the app with the exception page:
"Microsoft.AspNet.Diagnostics": "1.0.0-rc1-final",

and
app.UseDeveloperExceptionPage();

Mine only goes up to beta8 -- is rc1 released? I do use UseDeveloperExceptionPage though. That page works very well (and is beautiful, by the way) for every other error I have encountered.

Yes, it's released. Perhaps, try the upgrade first, then see if it clears with all of the new bits they put into RC1. You'll need the installer here: https://get.asp.net/OtherDownloads

options.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore in Startup.cs fixes the issue, but I will go ahead and un-fix it  and try RC1

Wow. Good catch. Maybe the EF cats know more. Post here to see what they say: https://github.com/aspnet/EntityFramework/issues

Updated to rc1 and the same error happens. I reported it to the EntityFramework repo as you suggested.

@cda-1 issue moved to https://github.com/aspnet/EntityFramework/issues/3818

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


feat: thorchain lp deposit jit halted checks

Description

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

High Risk PRs Require 2 approvals

What protocols, transaction types or contract interactions might be affected by this PR?

Testing

Engineering

Operations

Screenshots (if applicable)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

develop

PR #6138

PR #6139

PR #6146   👈

This stack of pull requests is managed by Graphite.

and gm for the brilliant testing information, @gomesalexandre!


Feature/views

Description:
In this pull request, I'm submitting the implementation of the Views for the Blog App. The Views correspond to the Models and Controllers that have already been created. I have ensured that all requirements have been met as per the project specifications.
General Requirements:

Checked for linter errors and ensured there were none.
Followed proper Gitflow practices.
Documented the work professionally.

Ruby Requirements:
I have adhered to the best practices for Ruby throughout this implementation.
Project Requirements:

Implemented the design based on the provided wireframes.
Focused on functionality first, with styling as a secondary concern.
Analyzed the wireframes in detail to identify all necessary elements and user navigation paths.

Wireframes:

All Users page wireframe
Single User page wireframe
All Posts by a given User page wireframe
Single Post page wireframe

Implementation Details:
I have used the methods previously created in the Blog App to process data in the models, ensuring that the Views are populated with the required information. Additionally, I have added sample data to the database as described in the project requirements.
Files Modified:

app/views/users/index.html.erb: Created the view for the All Users page.
app/views/users/show.html.erb: Created the view for the Single User page.
app/views/posts/index.html.erb: Implemented the view for the All Posts by a given User page.
app/views/posts/show.html.erb: Developed the view for the Single Post page.

Changes Explained:

Added HTML and ERB code to each of the above files to render the necessary content.
Integrated the methods from the Blog App models to fetch and display relevant data.
Ensured that the wireframe design was closely followed in terms of layout and elements.
Verified that user navigation from one page to another functions correctly.

Please review the changes thoroughly and merge them into the develop branch when ready. If there are any specific concerns or questions, feel free to give me feedback to improve my app.
Thank you in advance,
Greetings,
@ClaudiaRojasSoto

Thank you @ichala!


Add URL validations and catch errors when creating a new Release Plan for Data Plane

This is a continuation of https://github.com/Azure/azure-sdk-tools/issues/5977

@JonathanCrd Is this still applicable?

No, we don't longer ask for these URLs when creating a release plan, and we have validations implemented in the onboarding questionnaire.