feat: Add authorized_url_validation_policy to application resource

closes https://github.com/gpsinsight/terraform-provider-fusionauth/issues/180

@robotdan anything missing from this PR?

@tobilen
When I run the linter, I see this error:
fusionauth/resource_fusionauth_application.go:569: File is not `gofmt`-ed with `-s` (gofmt)
			    Type:     schema.TypeString,
                Optional: true,
                Default:  "ExactMatch",
                ValidateFunc: validation.StringInSlice([]string{
                    "ExactMatch",
                    "AllowWildcards",
                }, false),
                Description: "Determines whether wildcard expressions will be allowed in the authorized_redirect_urls and authorized_origin_urls.",

Can you please gofmt this file: fusionauth/resource_fusionauth_application.go

I can also try to fix it as well.

changed it, thanks


Fix issue 3242 for package config

Fix #3242 for package config and fix test report when yaml marshal returns unexpected results.

@jlevesy
Don't merge this PR yet; let's wait until #3285 is merged into dev-2.0, then I will rebase this PR to use the new testutil.NotOk introduced there.

We've merged dev-2.0 into master already. So this branch's merge base should also be master.

@fabxc rebased to master.


Make a simpler example to introduce DSC

The poster presented at MSE data science meeting has a complex example that is a big hard for audience to get. We may want to replace it with a simpler example.

I think #42 may be a conceptually simple example compared to the RNA-seq example I gave at the MSE meeting, yet is more interesting to statisticians. I hope that could be our next DSC presentation case. Closing this ticket as we have #42 to discuss it now.


BRAM initialization function did not work well

I found that BRAM initialization function did not work well from the behavioral result top_synth.premap.v, when I tried to implement a Verilog design through symbiflow based on the bram_init_test_18.
Here shows the debug process.
I initialized the bram data-width to 16-bit, (difined by reg [15:0] ram[0:1023];), the initial data of RAMB18E1 in top_synth.premap.v is someting like .INIT_00(256'bx000000000001111x000000000001110x000000000001101x000000000001100x000000000001011x000000000001010x000000000001001x000000000001000x000000000000111x000000000000110x000000000000101x000000000000100x000000000000011x000000000000010x000000000000001x000000000000000),. However I guess it should be someting like .INIT_00(256'b0000000000001111000000000000111000000000000011010000000000001100000000000000101100000000000010100000000000001001000000000000100000000000000001110000000000000110000000000000010100000000000001000000000000000011000000000000001000000000000000010000000000000000),.
How could I overcame the above issue?

There is no bug here — yosys simply maps one of the 16 source bitlanes to one of the parity bits of the hardware primitive, so the remaining initialization bits you're looking for are in INITP_*.


Question

How can i get the connection key for the client? For example for ShadowSocks inbound. Can u give any examples?

Там достаточно поменять uuid клиента в линке на подключение

@MISQZY,
Here's a code reference on how you can create a link.
def get_connection_string(inbound: Inbound, user_uuid: str, telegram_id: int) -> str:
    public_key = inbound.stream_settings.reality_settings.get("settings").get("publicKey")
    website_name = inbound.stream_settings.reality_settings.get("serverNames")[0]
    short_id = inbound.stream_settings.reality_settings.get("shortIds")[0]

    connection_string = (
        f"vless://{user_uuid}@{XUI_EXTERNAL_IP}:{SERVER_PORT}"
        f"?type=tcp&security=reality&pbk={public_key}&fp=firefox&sni={website_name}&sid={short_id}&spx=%2F#{MAIN_REMARK}-{telegram_id}"
    )

    logger.debug(
        "Connection string for telegram_id %s and user_uuid %s: was generated.",
        telegram_id,
        user_uuid,
    )

    return connection_string
    ```

 Please, next time use discussions for questions like this.

Thank you
Best Regards


Write an SSH config file to the run temp directory

All VMs have names as of #265.
This change makes it simpler to SSH into VMs by name, to aid debugging.
Two aliases are provided for each VM: the VM name, and vm, where
 is a unique number for each VM. The config file sets the same
SSH options used on the command line.
Example usage:
ssh -F /tmp/perfkitbenchmarker/run_ea2f81a3/ssh_config perfkit-ea2f81a3-0

or (equivalent):
ssh -F /tmp/perfkitbenchmarker/run_ea2f81a3/ssh_config vm0

test this please.

LGTM

License added. Thanks, @yuyantingzero.


feat: support import maps in functions serve and deploy

What kind of change does this PR introduce?
This adds support for import maps in function serve and function deploy.
What are Import Maps?
<EMAIL_ADDRESS>For deployed functions, import_map.json should always be placed in function's top-level directory.

Can we make the import_map.json path non-configurable? It's a bit odd that it can be set for serve but not deploy

Can we make the import_map.json path non-configurable? It's a bit odd that it can be set for serve but not deploy

Yup, I had the same thought after making the PR :) let's do that. So a --import-map flag on serve would look for the file on default location.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 12 (58.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 57.767%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/functions.go
1
2
50.0%

internal/functions/serve/serve.go
6
10
60.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
3239

Relevant Lines:
5607

💛  - Coveralls

@soedirgo I've updated the PR to make the import_map.json path to be non-configurable in serve command.

Added a commit to:

remove the option altogether and just omit the option if there's no import_map.json
fix import map path to always use Unix path separator, since the container image is always assumed to be Linux

@sweatybridge @soedirgo Just merge this PR yet. Noticed an issue with Deno Deploy config (which would affect older functions), we probably need to do a small change before releasing this.

@soedirgo @sweatybridge I had to add another commit to the PR to send import_map param to the API when creating or updating a function. https://github.com/supabase/cli/pull/662/commits/f8279b71cc7ae0961bfbbb483a09fc44f99d4ea5
This ensures we don't break old functions without an import map.


Add "!editorHasSelection" condition to agda-mode.lookup-symbol

All commands that start with Ctrl-C or Ctrl-X have the condition !editorHasSelection, except for this one:
https://github.com/banacorn/agda-mode-vscode/blob/905ec6189976b98f6806d73c735c9602c0f39bda/package.json#L767
This is annoying since it blocks Ctrl-X from being used for cutting text. Adding the condition fixes the problem.

Actually this is a duplicate of https://github.com/banacorn/agda-mode-vscode/issues/47


Phantomjs stall on webpack build

When PhantomJS uses webpack to build before running any tests, when it fails to find a file it stalls. This is causing issues on my build server which is hanging until I manually kill it.
12:02:23.598 Module not found: Error: Cannot resolve 'file' or 'directory' ...
Is there any solution to this? I already have bail: true in my webpack config for karma.

@track0x1 - Check #66 there are a couple of resolutions there for the bail issue.


Request descriptor's payload/meta functions not passed the parsed action

It looks like the request type descriptors' payload and meta functions are being passed the raw, top-level RSAA as the action argument, instead of an action with parsed values.
For instance, if we take the example from the README:
// Input RSAA
{
  [RSAA]: {
    endpoint: 'http://www.example.com/api/users',
    method: 'GET',
    types: [
      {
        type: 'REQUEST',
        payload: (action, state) => ({ endpoint: action.endpoint })
      },
      'SUCCESS',
      'FAILURE'
    ]
  }
}

The documentation implies that the above RSAA action should result in the following FSA request action being dispatched:
// expected…
{
  type: 'REQUEST',
  payload: { endpoint: 'http://www.example.com/api/users' },
}

Instead, the dispatched FSA request action has an empty object as it's payload:
// actual…
{
  type: 'REQUEST',
  payload: {  },
}

Cause
This is because the payload function is being passed the unparsed, top-level RSAA action here:
// We can now dispatch the request FSA
if (
  typeof requestType.payload === 'function' ||
  typeof requestType.meta === 'function'
) {
  //          top-level [RSAA] action ⌄⌄⌄⌄⌄⌄
  next(await actionWith(requestType, [action, getState()]));
} else {
  next(requestType);
}

Based on the docs, I was expecting the following:
// We can now dispatch the request FSA
if (
  typeof requestType.payload === 'function' ||
  typeof requestType.meta === 'function'
) {
  const parsedAction = {
    ...action[RSAA],
    method,
    body,
    headers,
  };
  next(await actionWith(requestType, [parsedAction, getState()]));
} else {
  next(requestType);
}

This behavior appears in both the master and next branches.
I'd be happy to submit a PR, if this is indeed a bug.

Nice catch @mattlubner -- thanks for the detailed issue 🖖
You're right it is getting the entire RSAA now, so something like this should work:
payload: action => ({ endpoint: action[RSAA].endpoint })

I'm not sure it's a bug, unless there is a different action that makes more sense here. Either way, we should update the docs / that example!

No problem, happy to help! I do think the best thing to do would be to adjust the action that those request type descriptor functions are called with.
If we have an endpoint that needs data from the store, we have to do something like this:
{
  [RSAA]: {
    endpoint: state => `https://example.com/api/users/${state.user.id}`,
    method: 'GET',
    types: [
      {
        type: 'REQUEST',
        payload: (action, state) => ({ endpoint: action[RSAA].endpoint(state) })
      },
      'SUCCESS',
      'FAILURE'
    ]
  }
}

I think it would be better if those descriptor functions were passed the pre-parsed values for a given action, so that the developer doesn't have to know internal details of how the RSAA middleware invokes these other functions (such as action.endpoint).
Just my 2¢! 🙂

If that change would be welcome, I'd be happy to submit a PR for it.

@mattlubner thanks for the clarification! Ah I see -- the meta properties on a REQUEST_TYPE action should be the resolved values, not the functions passed to this middleware to generate them. Is that the same page you're on? Makes sense to me!
I think v3 is going to ship without this change, but I'm open to this change in a future release


Fix building with Stack

I was previously getting the following error when trying to stack install
± |main ✓| → stack install

Error: [S-4804]
       Stack failed to construct a build plan.

       While constructing the build plan, Stack encountered the following errors:

       In the dependencies for cabal2stack-0:
           HsYAML-aeson must match ^>=<IP_ADDRESS>, but the Stack configuration has no specified version (latest matching version is <IP_ADDRESS>)
       needed since cabal2stack is a build target.

Ah, good catch, I think we introduced HsYAML-aeson as part of #7, but we didn't update the stack.yaml accordingly.
Slightly related to that, I think our CI is configured to build only with cabal, but perhaps having at least a step that calls stack build --dry-run might be beneficial to catch these regressions sooner?


Update installation.rst documentation

To build frontassets is only with build script

Thus is not right, build-assets is what compiles them.

Yes, you are right sorry. Somehow I cloned an older version....


Added flag to serve VIP and/or artifactory.war

Added flag '-s' to configure jetty's serving mode
'-s vip' serves the resources in the webapp directory
'-s artifactory' deploys the artifactory.war in the webapp directory
'-s both' does both of the above
if the flag is not supplied it defaults to only serve the
artifactory.war
if the flag parameter is invalid the SshdSettingsBuilder exits with
an exception.

:+1:


Python Support Update

removes support for python3.5 (EOL)
adds support for python3.10

closes #12

Reminder: Add Test ({ubuntu, windows}-latest, 3.10)  to required checks in branch protection rules for main after merging.


Deploying to private network

I attempted to deploy the GSN contracts to a private network that is similar to Kovan. I currently have deployed the RelayHub Contracts, however when I call:
npx oz-gsn register-relayer --ethereumNodeURL http://localhost:8550
where the ethereumNodeURL is a node with a funded and unlocked account, I receive the following error:
Funding GSN relay at http://localhost:8090
(node:2046) UnhandledPromiseRejectionWarning: Error: Failed to fund relay: 'Error: Transaction has been reverted by the EVM:
{
  "blockHash": "0xb22a0a909b55dd9c37705f8a7fad2fab2b3acb09b59a416739339a9bf40efcfa",
  "blockNumber": 3892945,
  "contractAddress": null,
  "cumulativeGasUsed": 1600000,
  "from": "0xab59a1ea1ac9af9f77518b9b4ad80942ade35088",
  "gasUsed": 1600000,
  "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
  "root": null,
  "status": false,
  "to": "0xd216153c06e857cd7f72665e0af1d7d82172f494",
  "transactionHash": "0xf690d5ecfbed8b403637a0ec46df38969ac87521c9b22ef7b29c97f599f281c9",
  "transactionIndex": 0,
  "events": {}
}'
    at registerRelay (/home/james/Bloxberg/gsn-dapp/node_modules/@openzeppelin/gsn-helpers/src/register.js:48:11)
(node:2046) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:2046) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I can verify that the RelayHub contract is deployed at the usual address 0xd216153c06e857cd7f72665e0af1d7d82172f494. Please let me know if this is possible with this library to deploy or stake a private network GSN RelayHub
Thanks

Hi @crossoveranx,
There are some instructions on how you should be able to set up GSN on a public network in the OpenZeppelin Community Forum: https://forum.openzeppelin.com/t/running-relayer-on-custom-network/1663/8
Feel free to ask questions in the forum.
Also to share your setup steps, as you are the third community member who has been looking to set up on a different network.

This might be either the staking or the funding of the relayer that fails: sadly, with the current code it is not possible to deduce from the logs alone. Could you check if the stake function was called on RelayHub (and a Staked event emitted)? Also, can you verify that account 0xab59a1ea1ac9af9f77518b9b4ad80942ade35088 on your node has enough balance? Keep in mind staking requires a minimum deposit of 1 Eth.

I can confirm the node has enough balance.
It seems that any of the functions result in a thrown error. I have also tried calling functions while importing the deployed contract from an IDE like remix and it throws an error as well. For instance, when interacting with IRelayHub and calling the getRelay Function, it throws an error of:
"message" must be a nonempty string.
As background I used the tabookey-gasless repository to conduct the initial deployment, specifically these scripts:
Run: scripts/singleton/compute.sh to generate deployment artifacts
And then scripts/singleton/deploy.js to deploy it.

Again, when utilizing your instructions in your link @abcoathup, I get to the point where I have to register relayer which throws the previously mentioned errors. I would be happy to help troubleshoot and document my steps if successful for future use if you have any ideas of what to try.

Those scripts should be equivalent to running deploy-relay-hub - if you verified that the contract exists at the canonical address, deployment succeeded.

"message" must be a nonempty string.

This is very strange, there's no message variable anywhere on RelayHub, and getRelay is a very simple function. Are you sure you're setting up Remix correctly to call it?

@nventuro The contract is deployed here at the typical address: https://blockexplorer.bloxberg.org/address/0xd216153c06e857cd7f72665e0af1d7d82172f494/transactions, so I can confirm it exists.
I use remixd in order to connect my local contracts to remix. As a test, I connect to another network via Metamask, for instance Ropsten or Rinkeby, and try calling the IRelayHub functions. I can confirm that these work as intended. When I switch Metamask to my private network with the deployed contract, it returns the above error "message" must be a nonempty string.
Having trouble figuring out exactly why the RelayHub deployed to our network is returning these errors. Is there an initialize function I have to call beforehand or any other dependency? For reference, I deployed the contracts from the tabookey repository

There is no initialization that you need to run, and the fact that the address where it is deployed is the same one verifies that the bytecode is exactly the same one.
From your description, it looks like there might be an issue with Metamask itself in your private network, since the contracts you're interacting with are the same. Have you tried using Metamask with other contracts there?

Yes, metamask works fine with other contracts. I don't believe it's a problem with metamask as I have also tried registering the relay via code using this library and I receive a reverted transaction.
One thing to note is that I'm using parity instead of geth. Not sure if this is entirely relevant, but if you have any further troubleshooting suggestions I would be happy to try.

Can you share more information on the "message" must be a nonempty string error? Who is emitting it? Is there any additional contextual information?

Okay, now I switched from Metamask to another wallet extension. Now I am getting the error 'Internal JSON-RPC error'. Just to be clear, I should be calling the functions from the IRelayHub contract as opposed to RelayHub?
status 	0x0 Transaction mined but execution failed

 transaction hash 	0x19e88ac02752648b54b120c0a0eed69e4ff415f1a38fc93674891a8312b69d32

 from 	0xaa84378fa41da83a9b6523ba46e45a664fbebfc8

 to 	0xd216153c06e857cd7f72665e0af1d7d82172f494

0xd216153c06e857cd7f72665e0af1d7d82172f494

 gas 	6000000 gas

 transaction cost 	6000000 gas

 hash 	0x19e88ac02752648b54b120c0a0eed69e4ff415f1a38fc93674891a8312b69d32

 input 	0xadc9772e000000000000000000000000f8c95e2edf9a4443117f5f514043f284feae5acb0000000000000000000000000000000000000000000000000000000000093a80

 decoded input 	 -

 decoded output 	 -

 value<PHONE_NUMBER>000000000 wei

Here is the associated transaction

Hm, you're calling the method correctly (0xadc9772e is the selector for stake), but it is very strange that the transaction cost is the same as the gas limit. There are no throw statements in the code, so the contract shouldn't fail in that way.
How similar is your private VM to the Ethereum VM? Is it possible its running based on an older version, and we're hitting invalid opcodes?

Yes, that's certainly possible. We are currently running Byzantium and perhaps we need to upgrade to Istanbul at this point to utilize new features. Is there a way I can check whether the transaction is failing because of the invalid op codes? Normally, I get an error message stating as such.

To be frank I have no idea where that bizarre 'message must not be empty' error comes from. However, I'd say that the transaction failing and consuming all allocated gas is a pretty strong sign of invalid opcode behaviour.

Okay - thanks for your help. Since I deployed the initial contracts with the latest EVM, the methods would consistently fail. What ended up working is compiling and redeploying with Byzantium and I could stake the contract - hopefully this is helpful for others that run into a similar issue while using a private chain

It's great that you got it sorted out! Keep in mind that since you're recompiling the code with a different target EVM, the resulting bytecode will be different from the canonical one, which will in turn result in the RelayHub contract not being located at the same address.
Our tools are designed to receive an arbitrary RelayHub address though, so you should still be able to use them by making sure you don't rely on the default RelayHub.


Add directional measures

This is possibly not appropriate for dit. It would be nice to somehow support the transentropy, transfer entropy, and directed information.

i'm going to go ahead and mark this as wontfix. time series stuff should be an a different package which would presumably use dit for its infotheory.


Suggestion: UI commands displayed for mouse clicks

Hey, I think it would be cool to be able to step in, step out, finish, start etc .. Using the mouse and easily like in remedybg or visual studio. I don't know if it's already possible sorry if it is.

Done in 9f4aade2e1c7783a3695725bf2c05f716d10013e. This is available on dev and will be in the next release.


Chrome blocks HNT's attempts at opening a local file

Chrome: Version 118.0.5993.70 (Official Build) (64-bit) [Linux Debian]
Underlying OS: Kubuntu 22.04.3
Humble Newtab version: 1.26
Description:
When clicking a bookmark that points to a local file on my drive, nothing occurs. Right-clicking and selecting either "Open link in new tab" or "Open link in new window" instead opens about:blank#blocked, whereas selecting "copy link" and then manually posting it into a new tab or window works fine. I'm not sure if this is due to a change in Chrome's security, but it wasn't happening before.
I love HNT and have been using it for a long time, but this is an essential part of my workflow with it, so I'd love some direction on the source of the issue to find a fix!

Hmm, so this has always been blocked for normal links (context menu: open in new tab/window), but I had been using the chrome.tabs.create api to get around the limitation for file:/// and chrome:// urls. I can confirm this no longer works as of Chrome 118.
A related bug discussion is here: https://bugs.chromium.org/p/chromium/issues/detail?id=1418820
Unfortunately I don't think there's much I can do about it.
They do mention an enterprise extension policy file_url_navigation_allowed.
Documentation: https://chromeenterprise.google/policies/?policy=ExtensionSettings and https://support.google.com/chrome/a/answer/7517525
I don't know if this works, but try creating a file at /etc/opt/chrome/policies/managed/settings.json with the following contents:
{
  "ExtensionSettings": {
    "mfgdmpfihlmdekaclngibpjhdebndhdj": {
      "file_url_navigation_allowed": true
    }
  }
}

I'll have to try out these workarounds once I'm back at my laptop; I'll edit this comment with the results.
In the meantime, do you know if this functionality still exists (and is likely to continue to exist) on FireFox? I've been meaning to make the switch anyways and this would be a huge push to make that happen sooner rather than later.

Firefox blocks it by default but there is a workaround:
(from https://github.com/fastaddons/GroupSpeedDial/issues/36#issuecomment-788283828)
Add these 3 string values to your "about:config" page:
capability.policy.policynames = "localfilelinks"
capability.policy.localfilelinks.checkloaduri.enabled = "allAccess"
capability.policy.localfilelinks.sites = "moz-extension://UNIQUE_ID_OF_MY_ADDON_ON_YOUR_PC"

The last value should be the addon link - this is however different on every PC. You can get the correct link by opening the new tab page, press F12 to bring up the browser console, and type location.href then press enter.


xTickCount option for line chart

Why do we need this option?
We are not able to customize x axis tick number of line chart. When there are too many data points to render, the x axis looks bad
Describe the solution you'd like
xTickCount option for line chart
<!--
  To support us for adding this feature, please consider either
    - be a patron of timqian: patreon.com/timqian
    - fund this issue on issuehunt after you create it: issuehunt.io/r/timqian/chart.xkcd?tab=idle
>

xTickCount not work?


Feature/update to polkadot v0 9 27

Ignored lib.rs as the code is Polkadot specific
Ignored node/service.rs as  the code is Polkadot specific, no same updates in Substrate
Ignored node/client as the code is Polkadot specific
Ignored ./cli as the code is Polkadot specific
cli/src/command.rs: BenchmarkCmd::Overhead and BenchmarkCmd::Extrinsic are not supported as it’s time-consuming to migrate all relevant code from Substrate and Polkadot. We can do it later when we need it not to block runtime upgrades. I've created a page with the tech debt.

Ignored lib.rs as the code is Polkadot specific
Ignored node/service.rs as  the code is Polkadot specific, no same updates in Substrate
Ignored node/client as the code is Polkadot specific
Ignored ./cli as the code is Polkadot specific
cli/src/command.rs: BenchmarkCmd::Overhead and BenchmarkCmd::Extrinsic are not supported as it’s time-consuming to migrate all relevant code from Substrate and Polkadot. We can do it later when we need it not to block runtime upgrades. I've created a page with the tech debt.


Inactive Town Members

So it has kind of turned into a meme at this point about how my town (Galactic) has so many inactive players, but they enabled me to have all my claims and such so I never bothered kicking them. Now the problem is my town has no outposts so many of my active players do not have safe homes. I had used about 200 claims and had about 400 total, and 3 outposts. I had 46 members before the wipe. The chances of me getting all the members that had once been in my town before to all rejoin is very slim as I have no way of contacting some of them. Please restore my claims, thanks. :D

If they were that inactive, how much would you actually need? Sounds like I can restore about 250 and it should be fine, but let me know how much you need with your friends.

250 should be fine. Yes I know the shame of having that many inactive players but hey, They allowed me to build up many structures. We also need 4 outposts please.

I think you should be able to add outposts on your own already, but correct me if I am wrong. I've added your 250 claims aleady though.

Loki is busy at the moment so I will update what is going on, we seem to only have one outpost that we can claim Loki requested 4 and we can only create 1

Closing since refunded.


Cannot get this work !

Challenge Waypoint: Target the same element with multiple jQuery Selectors has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
<script>
$(document).ready(function() {
    $("button").addClass("animated");
    $(".btn").addClass("shake");
    $("#target1").addClass("btn-primary animated shake");

  });
</script>

When I submit the code, it gives me error saying: Your #target1 element should have the classes animated‚ shake and btn-primary.
am confused !

All the HTML code that constructs the page is missing from your editor, so there is no #target1 anywhere on the page. If you press the restart button you can get the HTML back.
Closing as not an issue with the tests.
Thanks and happy coding!

It seems that the 5th check point as shown below has a conflict with the instruction above.
"Your #target1 element should have the classes animated‚ shake and btn-primary."
Also "the restart button" mentioned above by Itegman Collaborator is not well understood. I don't figure out where that button is.
Blessings,
(a debtor)<><

Sorry, I meant the reset button. It's right below the run tests button on the left. The point of this lesson is to illustrate how multiple different kinds of jquery selectors can all effect the same element. Since #target1 is also a button and has a class of .btn adding one class per selector will result in #target1 having all three classes that you added.

Wow! I am impressed how fast you responded! You are running a super web site!
I understand that #target1 has three classes in result even though you specified only btn-primary literally. Then the following code pass the 5th check point, right? But it does not pass the test.  That is the problem that many people are experiencing.
$("button").addClass(animated);
$(".btn").addClass(shake);
$("#target1").addClass(btn-primary);
Once again, I really appreciate your prompt response, great WORK and Services. I am going to recommend this freecodecamp to my students.
Blessings,
(a debtor)<><

Glad you're enjoying using FreeCodeCamp! The code you have is correct and will work if you add quotes around the argument you're passing into addClass. You need to be passing in a string value :smile:

Oops!
Thank you again. There must be many people like me who are really appreciating your work here. ^^
Blessings,
(a debtor)<><

I just added button#target1 element to the body and worked perfectly.  Thanks folks for the amazing work.


Support @MVC features being added via library

If a library (e.g. spring-cloud-config-server) adds @Bean with @MVC annotations (e.g. @RestController) I'm not sure we register those classes as resources, and the native image won't be able to look up the annotation metadata. Maybe errors like this:
Attribute 'value' in annotation [org.springframework.web.bind.annotation.RestController] is declared as an @AliasFor nonexistent attribute 'value' in annotation [org.springframework.stereotype.Controller].

The problem here is we have a lovely system for analyzing mvc annotations. However, we don't currently run all that for things coming in from random jars on the classpath (separate to the main project that is being built). It's a known limitation and had to be addressed at some point, i guess this is the bug where we do it.

Fixed, I actually think this particular case came down to a missing hint rather than the analysis logic not working.


Tilemanager tweaks

Cancel download of tiles that are 3 or more zoom-level above the current
when a tile becomes available that can be used as proxy, update proxy tiles of pending tiles
give higher priority to tiles from lower zoom-levels as they cover a larger visible area

rfc - seems to be an unpopular label :)
The question is at which level pending tiles from higher zoom-level should be canceled - It doesnt make sense to keep loading and processing tiles from z15 while having zoomed out to z0. I think max 3 levels above the current is a reasonable limit.

Nice! This makes a noticeable improvement when changing scale rapidly. Cancelling at 3 zoom levels away sounds like a reasonable to me.
Will merge if there's no more to discuss here.

I think we could cancel even more aggressively then 3 levels (I think I am
canceling more than 1 away in JS), but this can easily be tuned later.
On Thu, Nov 5, 2015 at 1:25 PM, Matt Blair<EMAIL_ADDRESS>wrote:

Nice! This makes a noticeable improvement when changing scale rapidly.
Cancelling at 3 zoom levels away sounds like a reasonable to me.
Will merge if there's no more to discuss here.
—
Reply to this email directly or view it on GitHub
https://github.com/tangrams/tangram-es/pull/371#issuecomment-154144889.


LANG-1530 another method like formatDurationWords with

added new method 'formatDurationWordsWithMs' for format duration:
0 days 0 hours 0 minutes 0 seconds 0 milliseconds
still exists old method 'formatDurationWords' which format as below:
0 days 0 hours 0 minutes 0 seconds

Coverage increased (+0.007%) to 95.101% when pulling dc6c6360f86c4bbd8a7a5d330bc4b852a6be3e4a on mikolajmitura:master into 8c1153d371d4498677605b847f8bfb0e0e743fd5 on apache:master.

Hi All,
Before we make this class heavier, let's step back and consider what Java 8's own Duration and Period classes have to offer and how this class should interact/interface with these.

Hi All,
Before we make this class heavier, let's step back and consider what Java 8's own Duration and Period classes have to offer and how this class should interact/interface with these.

+1
I had a quick look at the code, but didn't want to prepare a review before checking if we run the risk of needing one more test to display time zone with micro seconds, and yet more methods for other things.
Good idea on looking at the SDK classes first.


(e2e, CI) Namespace in termination state indefinitely

NAME              STATUS        AGE
default           Active        20d
kube-node-lease   Active        20d
kube-public       Active        20d
kube-system       Active        20d
osm-system        Terminating   20m

osm-system namespace in termination state indefinitely. From the CI failures I'm seeing, it could have some relation with the recently added Cert-Manager test, I'm seeing multiple issues on some community threads where custom remaining webhooks could prevent a clean namespace deletion (can't confirm though):
            "status": {
                "conditions": [
                    {
                        "lastTransitionTime": "2020-10-21T01:42:24Z",
                        "message": "All resources successfully discovered",
                        "reason": "ResourcesDiscovered",
                        "status": "False",
                        "type": "NamespaceDeletionDiscoveryFailure"
                    },
                    {
                        "lastTransitionTime": "2020-10-21T01:42:24Z",
                        "message": "All legacy kube types successfully parsed",
                        "reason": "ParsedGroupVersions",
                        "status": "False",
                        "type": "NamespaceDeletionGroupVersionParsingFailure"
                    },
                    {
                        "lastTransitionTime": "2020-10-21T01:42:24Z",
                        "message": "Failed to delete all resource types, 1 remaining: conversion webhook for cert-manager.io/v1alpha2, Kind=Issuer failed: Post https://certmanager-cert-manager-webhook.osm-system.svc:443/convert?timeout=30s: service \"certmanager-cert-manager-webhook\" not found",
                        "reason": "ContentDeletionFailed",
                        "status": "True",
                        "type": "NamespaceDeletionContentFailure"
                    },
                    {
                        "lastTransitionTime": "2020-10-21T01:42:27Z",
                        "message": "All content successfully removed",
                        "reason": "ContentRemoved",
                        "status": "False",
                        "type": "NamespaceContentRemaining"
                    },
                    {
                        "lastTransitionTime": "2020-10-21T01:42:24Z",
                        "message": "All content-preserving finalizers finished",
                        "reason": "ContentHasNoFinalizers",
                        "status": "False",
                        "type": "NamespaceFinalizersRemaining"
                    }
                ],
                "phase": "Terminating"
            }
        }
    ],

Bug description:
Affected area (please mark with X where applicable):

Tests                      [X]
CI System                  [X]

Expected behavior:
Deletion should go through.
Steps to reproduce the bug (as precisely as possible):
Run cert-manager test. I do not always hit it, but I do see it every so often.
How was OSM installed?:
CLI
Environment:

OSM version (use osm version): ToT
Kubernetes version (use kubectl version): 1.18
Size of cluster (number of worker nodes in the cluster): 3

from  https://github.com/kubernetes/kubernetes/issues/77086#issuecomment-559844228
kubectl api-resources --verbs=list --namespaced -o name   | xargs -n 1 kubectl get --show-kind --ignore-not-found -n osm-system
Error from server: conversion webhook for cert-manager.io/v1alpha2, Kind=Issuer failed: Post https://certmanager-cert-manager-webhook.osm-system.svc:443/convert?timeout=30s: service "certmanager-cert-manager-webhook" not found

Ok this worked, but this is terrible https://nasermirzaei89.net/2019/01/27/delete-namespace-stuck-at-terminating-state/
Other people have crossed similar issues out there. https://github.com/jetstack/cert-manager/issues/1514

@eduser25 we should get to the bottom of why the cleanup fails. Are we cleaning up the webhook? Why is this only related to cert-manager tests? There could be cert-manager associated resources that are not being cleaned up.

@eduser25 we should get to the bottom of why the cleanup fails. Are we cleaning up the webhook? Why is this only related to cert-manager tests? There could be cert-manager associated resources that are not being cleaned up.

Absolutely we should. Might be an ordering issue on deletion, not sure. Will talk to @nojnhuh to see how do we take it.

I wonder if this could be because we're using Helm in the test to install cert-manager but just deleting the osm-system namespace. I'll try adding an explicit helm delete in the cleanup which would take care of the webhook.


Reuse cargo-purse in Casper

Currently every time CSPR is passed to the contract new purse is created. It should be just one both for users and contracts.

Already implemented.


[cli][dispatcher] New CLI commands 'watch', 'unwatch' to watch nodes.

The watch command becomes mostly useful with log-level set to 'info' or 'debug'. Methods in OTNS.py are also added such that the Python unit test can try these commands.
To make 'watch' useful (avoid an overload of warnings), the log-level of typical watch messages is set to 'info'.

Codecov Report

Merging #348 (64e66a6) into main (1bdaadd) will decrease coverage by 0.28%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #348      +/-   ##
==========================================
- Coverage   49.93%   49.65%   -0.29%
==========================================
  Files          38       38
  Lines        4604     4634      +30
==========================================
+ Hits         2299     2301       +2
- Misses       2123     2151      +28
  Partials      182      182

Impacted Files
Coverage Δ

cli/CmdRunner.go
22.03% <0.00%> (-1.10%)
:arrow_down:

cli/ast.go
66.66% <ø> (ø)

dispatcher/dispatcher.go
56.60% <0.00%> (-0.50%)
:arrow_down:

web/web.go
47.61% <0.00%> (-3.18%)
:arrow_down:

web/site/bindata.go
99.00% <0.00%> (+<0.01%)
:arrow_up:


Filtered albums by active/inactive status. Fixes #361

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


The GD extension of PHP older than 7.4 cannot be compiled on Ubuntu 19.04

$ phpbrew --debug install 7.3.7 +neutral +gd                                             9.4s
===> phpbrew will now build 7.3.7
---> Parsing variants from command arguments '+neutral +gd'
===> Loading and resolving variants...
Checking distribution checksum...
Checksum matched: c3608fa7114642725854119ccffe722f42fc7c31e5e4c00d5cb4cb1a0d16bf18
===> Distribution file was successfully extracted, skipping...
Source Directory: /home/morozov/.phpbrew/build/php-7.3.7
Found existing Makefile, running make clean to ensure everything will be rebuilt.
You can append --no-clean option after the install command if you don't want to rebuild.
===> Running make clean: /usr/bin/make -C '/home/morozov/.phpbrew/build/php-7.3.7' --quiet 'clean'
Running Command:/usr/bin/make -C '/home/morozov/.phpbrew/build/php-7.3.7' --quiet 'clean'
Writing variant info to /home/morozov/.phpbrew/php/php-7.3.7/phpbrew.variants
===> Checking patches...
Checking patch for replace apache php module name with custom version name
Enabled variants: [gd, xml, opcache]
Disabled variants: []
===> Configuring 7.3.7...

Use tail command to see what's going on:
   $ tail -F /home/morozov/.phpbrew/build/php-7.3.7/build.log

./configure '--cache-file=/home/morozov/.phpbrew/cache/config.cache' '--prefix=/home/morozov/.phpbrew/php/php-7.3.7' '--with-config-file-path=/home/morozov/.phpbrew/php/php-7.3.7/etc' '--with-config-file-scan-dir=/home/morozov/.phpbrew/php/php-7.3.7/var/db' '--with-gd=shared' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-freetype-dir=/usr' '--enable-dom' '--enable-libxml' '--enable-simplexml' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' '--with-libxml-dir=/usr' '--enable-opcache' >> /home/morozov/.phpbrew/build/php-7.3.7/build.log 2>&1
Error: Configure failed:
The last 5 lines in the log file:
If configure fails try --with-webp-dir=<DIR>

checking for jpeg_read_header in -ljpeg... yes

checking for png_write_image in -lpng... yes

If configure fails try --with-xpm-dir=<DIR>

configure: error: freetype-config not found.

Please checkout the build log file for more details:
	 tail /home/morozov/.phpbrew/build/php-7.3.7/build.log

The reason is Debian Bug #871470:

The `freetype-config' script is no longer installed by default
(Closes: #871470, #886461). All packages depending on libfreetype6-dev should use pkg-config to find the relevant CFLAGS and libraries.

This problem is fixed in PHP 7.4 (https://github.com/php/php-src/pull/3632) but the older versions need to be patched (see freetype.patch from Archlinux).
Also, there's a file named 0047-Use-pkg-config-for-FreeType2-detection.patch in Ondřej Surý's builds for PHP which would probably solve the problem as well (not sure how to reference it).

One way to do this:
$ curl https://git.archlinux.org/svntogit/packages.git/plain/trunk/freetype.patch?h=packages/php -o freetype-php.patch
$ phpbrew install --patch freetype-php.patch 7.3.7 +neutral
$ phpbrew use php-7.3.7
$ phpbrew ext install gd

@rjocoleman that worked, thank you. I'll keep this issue open so that we could incorporate this patch into PhpBrew itself similarly to the others in the PhpBrew\Patches namespace.

BTW do you know of an existing patch for #1034?

I think the same patch should have done that too? Try ‘phpbrew ext install intl’

I can compile GD by the following command:
phpbrew install 7.3.9 +default +gd=/usr/lib/x86_64-linux-gnu +openssl=/usr/local -- --with-openssl --with-gd --with-webp-dir --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --enable-gd-native-ttf --with-freetype-dir=no


Crashing on iPhone 5C without cell network

I was going to dedicate an old iPhone 5C to this project. However, the camera crashes the app if "Detect road signs" is on.
I've tested by turning it off an on. Every time it's on, the app crashes. Doesn't do it on my iPhone 6.

Uploaded the app to iTunes. I will close this.


How to change fonts?

Good Morning/Afternoon/Night, I come here asking for a small question and possibly request that  I have.
I'd like to ask specifically how to change fonts. There's a config file that makes me think that this editor loads .ttf manually (instead of using the system-wide ones) and I tried to point to a directory containing fonts but all those efforts were futile. I am rather confused as there is no documentation whatsoever on the Wiki or any third-party sites about how to properly change fonts for this particular editor. So any pointers about how to do this would be welcome.
The request part comes from a small snippet of an article detailing the user how to change the font inside the Wiki on this github project. As there is only documentation for changing themes and adding plugins (Something I understood how to use immediately)
I'm on Linux, Debian 10 if that helps.
Cheers!
MetalMaxMX

I'd like to ask specifically how to change fonts. There's a config file that
makes me think that this editor loads .ttf manually (instead of using the
system-wide ones) and I tried to point to a directory containing fonts but all
those efforts were futile. I am rather confused as there is no documentation
whatsoever on the Wiki or any third-party sites about how to properly change
fonts for this particular editor. So any pointers about how to do this would
be welcome.

Hi,
there is no arguing that font selection is a little bit primitive and rough
for both lite and lite-xl. The documentation also is quite incomplete for the moment.
I will try to add something in the Wiki or it can be you if you
succeed to make it work and you feel inspired.
To use some font the principle is simple, the function renderer.font.load(filename, size)
requires two arguments, the full pathname to the font's ttf file and the size
you want to use.
For the font's pathname you can use some global variables like USERDIR, the
lite-xl user's configuration directory and DATADIR the lite-xl application's
data directory. They points respectively to $HOME/.config/lite-xl and to
$PREFIX/share/lite-xl where $PREFIX is the install directory.
For the second argument just choose the size in pixel that you prefer and leave the
multiplication by SCALE. It is a global variable used to automatically adjust for
High-DPI displays.
So, going back to the font's path, you may place your favourite fonts in $HOME/.config/lite-xl/fonts and
use something like:
style.font = renderer.font.load(USERDIR .. "/fonts/FiraCode-Regular.ttf", 14 * SCALE)

If you want to use some font file that is already installed on you system you just need to provide
the file's full pathname to renderer.font.load.
Personally I install them in $HOME/.fonts and I use this code to load them:
local home_dir = os.getenv("HOME")
local sans_font= "FiraSans-Regular"
local code_font="FiraCode-Medium"
style.font = renderer.font.load(string.format("%s/.fonts/%s.ttf", home_dir, sans_font), 14 * SCALE)
style.font = renderer.font.load(string.format("%s/.fonts/%s.ttf", home_dir, code_font), 14 * SCALE)

getting advantage of the Lua function os.getenv to find out the path of the home directory.
It is up to you now to find your way!

Ah, thank you very much! I was finally able to find a way to load manually those fonts! Yeah I agree that font management could be done a little better but so far and thanks to you it is working as intended, once again, thanks!
I'll close this issue as this was all that I wanted. However, I agree that writing a snippet or something that tells the user how to do this should be done. Quite honestly though, in my opinion, your comment already told me everything that I needed to do so maybe is just a matter of copy-pasting what is here and taking it onto the Wiki with a bit more detail? Up to you though, I'm willing to do a little writeup if needed.
Cheers!
MetalMaxMX


NAN returning for cost and optimizer for tensorflow.train.GradientDescentOptimizer (updated code)

Been working on this all day now and totally at a loss...  I keep getting Nan values for my cost function right away and i cannot tell why.  Any help much appreciated at this point....
I am running the following code with tensorflow GradientDescentOptmizer...
#!/usr/bin/env python

import tensorflow as tf
import numpy as np
import os
from   os.path import isfile, join
import argparse
import sys
import glob
import pandas as pd
import csv
import re
import tempfile
import urllib
import matplotlib.pyplot as plt

# Start basic regression
tf.reset_default_graph()

rng = np.random

# Parameters
learning_rate = 0.0001
training_epochs = 1000
display_step = 50

logs_path = '/tmp/tensorflow_logs/example'

# Bad Training Data
train_Y = np.asarray([  59.8000,   60.5000,   60.9000,   61.0000,   61.5000,   64.0000,   64.5000,
                        64.8000,   67.8000,   71.2000,   72.0000,   78.9000,   79.2000,   81.0000,
                        82.6000,   84.0000,   84.0000])
train_X = np.asarray([600., 760., 802., 568., 679., 865., 1103., 865., 896., 1068.,
                        769., 1062., 1123., 1081., 1137., 1137., 1137.])
# Good Training Data
#train_X = np.asarray([3.3,4.4,5.5,6.71,6.93,4.168,9.779,6.182,7.59,2.167,
#                     7.042,10.791,5.313,7.997,5.654,9.27,3.1])
#train_Y = np.asarray([1.7,2.76,2.09,3.19,1.694,1.573,3.366,2.596,2.53,1.221,
#                     2.827,3.465,1.65,2.904,2.42,2.94,1.3])

print(train_X.dtype)
print(train_Y.dtype)
print(str(train_X))
print(str(train_Y))

n_samples = train_X.shape[0]

print("Samples = %d" % n_samples)

# tf Graph Input
X = tf.placeholder("float")
Y = tf.placeholder("float")

# Set model weights
W = tf.Variable(1.0, name="weight")
b = tf.Variable(1.0, name="bias")

# Construct a linear model
with tf.name_scope('Model'):
    pred = tf.add(tf.multiply(X, W), b)

# Mean squared error
with tf.name_scope('Loss'):
    cost = tf.reduce_sum(tf.pow(pred-Y, 2))/(2*n_samples)
# Gradient descent
with tf.name_scope('SGD'):
    optimizer = tf.train.GradientDescentOptimizer(learning_rate).minimize(cost)

# Initializing the variables
init = tf.global_variables_initializer()

# summaries
tf.summary.scalar("loss",cost)
merged_summary_op = tf.summary.merge_all()

# Launch the graph
with tf.Session() as sess:
    sess.run(init)
    # op to write logs to Tensorboard
    summary_writer = tf.summary.FileWriter(logs_path, graph=tf.get_default_graph())

    # Fit all training data
    for epoch in range(training_epochs):
        for (x, y) in zip(train_X, train_Y):
            #print("x=%f y=%f" % (x,y))
            op, c, summary = sess.run([optimizer, cost, merged_summary_op], feed_dict={X: x, Y: y})

            summary_writer.add_summary(summary, epoch)

            # Display logs per epoch step
        if (epoch+1) % display_step == 0:
            c, summmary = sess.run([cost, merged_summary_op], feed_dict={X: train_X, Y:train_Y})
            summary_writer.add_summary(summary, epoch)

            print("Epoch:", '%04d' % (epoch+1), "cost=", "{:.9f}".format(c), \
            "W=", sess.run(W), "b=", sess.run(b))

    print("Optimization Finished!")
    training_cost = sess.run(cost, feed_dict={X: train_X, Y: train_Y})
    print("Training cost=", training_cost, "W=", sess.run(W), "b=", sess.run(b), '\n')

    # Graphic display
    plt.plot(train_X, train_Y, 'ro', label='Original data')
    plt.plot(train_X, sess.run(W) * train_X + sess.run(b), label='Fitted line')
    plt.legend()
    plt.show()

    # Bad Test Data
    test_Y = np.asarray([ 48.2000,  56.5000,  57.0000,  59.5000,  15.0000,  17.8000,  43.5000,  50.2000])
    test_X = np.asarray([ 549.,  710.,  568.,  825., 414.,  439.,  460.,  614. ])

    # Good Test Data
    #test_X = np.asarray([6.83, 4.668, 8.9, 7.91, 5.7, 8.7, 3.1, 2.1])
    #test_Y = np.asarray([1.84, 2.273, 3.2, 2.831, 2.92, 3.24, 1.35, 1.03])

    print("Testing... (Mean square loss Comparison)")
    testing_cost = sess.run(
        tf.reduce_sum(tf.pow(pred - Y, 2)) / (2 * test_X.shape[0]),
        feed_dict={X: test_X, Y: test_Y})  # same function as cost above
    print("Testing cost=", testing_cost)
    print("Absolute mean square loss difference:", abs(
        training_cost - testing_cost))

    plt.plot(test_X, test_Y, 'bo', label='Testing data')
    plt.plot(train_X, sess.run(W) * train_X + sess.run(b), label='Fitted line')
    plt.legend()
    plt.show()`

And get the following result...

float64
float64
[  600.   760.   802.   568.   679.   865.  1103.   865.   896.  1068.
769.  1062.  1123.  1081.  1137.  1137.  1137.]
[ 59.8  60.5  60.9  61.   61.5  64.   64.5  64.8  67.8  71.2  72.   78.9
79.2  81.   82.6  84.   84. ]
Samples = 17
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.

Training cost= nan W= nan b= nan
Testing... (Mean square loss Comparison)
Testing cost= nan
Absolute mean square loss difference: nan
And get the following output...

if I uncomment out the alternate array values for X amd Y everything works fine...

float64
float64
[  3.3     4.4     5.5     6.71    6.93    4.168   9.779   6.182   7.59
2.167   7.042  10.791   5.313   7.997   5.654   9.27    3.1  ]
[ 1.7    2.76   2.09   3.19   1.694  1.573  3.366  2.596  2.53   1.221
2.827  3.465  1.65   2.904  2.42   2.94   1.3  ]
Samples = 17
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.

Training cost= 0.0790478 W= 0.246872 b= 0.892606
Testing... (Mean square loss Comparison)
Testing cost= 0.0796623
Absolute mean square loss difference: 0.000614464

I am using tensorflow 1.01 libraries, and running on a mac OS Sierra...
Banging my head against the wall trying to figure this out. As you can see I tried to setup tensorboad to help, but seems I have limited success, get a graph but so far has not been any help debugging this...

Have you tried TensorFlow Debugger (tfdbg)?

Not yet, but I will try that now...

Also changing to AtomOptimizer works fine as well... Guess the answer is it is what it is....

As far as I can tell, it seems like you just have a badly conditioned problem. It is entirely possible in TensorFlow (or any other numerical system) to construct problems with poor numerical conditioning. It is a generally difficult and unsolved problem to handle arbitrarily ill-conditioned problems with floating point numbers. Given that your problem is your custom model, there may be a better way to pose your problem. As you saw, other optimizers do better on some types of problems, but nothing is 100% foolproof. If you want more advice in this vein, StackOverflow is where usage problems with TensorFlow should be directed.

It happens generally due to learning rate having high values. Please refer to: https://stackoverflow.com/questions/45770603/tensorflow-session-returns-nan

Try transforming your variables. I.e. natural log.

It happens generally due to learning rate having high values. Please refer to: https://stackoverflow.com/questions/45770603/tensorflow-session-returns-nan

yes it worked for me thank you  !!!!!!!!!


Feature request: Add 230 VAC inverter circuit controlled by ESP32

@AngeloCasi Adding a 230 VAC/10 kW single-phase inverter circuit controlled by the ESP32 would make this device an All-In-One-solution to power a household. :-)

Right now I'm putting together a circuit like this. an additional external PSU with a floating output voltage regulated by ESP32 for mixing power from the grid, and a final DC-AC inverter assembled on a ready-made solution EGS002.
I think it will turn out to be a full-fledged hybrid MPPT inverter.
I will definitely show the result .. where in September.

Can we have a version that also produces ice cubes?


No .exe file found in the win-11-virtual-desktop-enhancer-master folder

My system is windows 11, 22H2.
I unzipped the "win-11-virtual-desktop-enhancer-master" file and there is no .exe file in it. There is only a "
virtual-desktop-enhancer.ahk".
When I run it, I get this message:

Is there an .exe file missing from the program file provided for download?

No, you need Auto hotkey to start the AHK -file.
https://www.autohotkey.com/
18.02.2024 05:49:01 dsfa4adswf48 @.***>:

My system is windows 11, 22H2.
I unzipped the "win-11-virtual-desktop-enhancer-master" file and there is no .exe file in it. There is only a "
virtual-desktop-enhancer.ahk".
When I run it, I get this message:
image.png (view on web)[https://github.com/mogya/win-11-virtual-desktop-enhancer/assets/55836815/70c27fc8-77ac-4e6d-a735-28cc483df2dc]
Is there an .exe file missing from the program file provided for download?
—
Reply to this email directly, view it on GitHub[https://github.com/mogya/win-11-virtual-desktop-enhancer/issues/7], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AB26K6JF3GRM7NEM2XOSPCDYUGB3VAVCNFSM6AAAAABDN3IONSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DANZUGQYTGMI].
You are receiving this because you are subscribed to this thread.[Verfolgungsbild][https://github.com/notifications/beacon/AB26K6J2D5OA7ZUN4PIW2DLYUGB3VA5CNFSM6AAAAABDN3IONSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHH7GJJYM.gif]


Add offchain enlistment data

Adds more fields about the enlistment.
Properly excludes offerAuthors array from responses.

Accidentally used wrong base for merge. Ignore this PR.


Bump sigs.k8s.io/jobset from 0.6.0 to 0.7.0.

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Bump sigs.k8s.io/jobset from 0.6.0 to 0.7.0.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Fix for https://github.com/kubernetes-sigs/kueue/pull/3336.
Does this PR introduce a user-facing change?

NONE

/cc @mimowo

Thank you @mbobrovskyi!
/lgtm
/assign @mimowo @tenzen-y

/approve


Hangout on Air not embedding properly in lobby

When an admin uses the Create HOA button from the admin controls in the lobby, they are able to create a hangout on air, but the video does not embed in the lobby.

@kitsandkats did you experience this problem recently? If not, I am going to close this for now.

I haven't had any reports of this recently and also haven't experienced it
myself. Seems fine to close it!
On Tue, May 24, 2016 at 2:57 PM SrishAkaTux<EMAIL_ADDRESS>wrote:

@kitsandkats https://github.com/kitsandkats did you experience this
problem recently? If not, I am going to close this for now.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/unhangout/unhangout/issues/381#issuecomment-221364608


Split the cache function

Your cache functions has become very big. It's very hard to maintain.
Create a lib folder and split the functionality for many, single, inversed in separate files and functions. Because this way you do the check every time for type on every after update hook.
And if they re-use thing among them modularize those functions too.

Yeah I was thinking of doing this, but I just got lazy.

The laziest thing a coder can do is work decoupled and good from the beginning, because he knows later he will have to do it either way.

On 30 Aug 2017, at 10:23, Simon Herteby<EMAIL_ADDRESS>wrote:
Yeah I was thinking of doing this, but I just got lazy.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Herteby/denormalize/issues/2#issuecomment-325905729, or mute the thread https://github.com/notifications/unsubscribe-auth/ABuxTxdMbiaj4Z5T8IT3AeXKyvVLCQApks5sdQ31gaJpZM4PG6UT.

I've done the first part of the refactoring now. Instead of having 5 collection hooks with 4 if(type) in each, it is now 4 if(type) with 5 collection hooks in each. They still depend on the scope of cache() at the moment though, so it's a bit messy to split them into separate files.

I think it's pretty readable now :)


Support multiple studies in the same app

API Design
Each app on the CloudMine backend designed to work with CMHealth would have an
application level object CMHStudyList:
{
  "__class__" : "CMHStudyList",
  "studies"   : [
    {
      "__class__" : "CMHStudy",
      "identifier": "CMExampleAsthmaStudy",
      "startDate" :<PHONE_NUMBER>,
      "endDate"   :<PHONE_NUMBER>
    },
    {
      "__class__" : "CMHStudy",
      "identifier": "CMHExampleGlucoseStudy",
      "startDate" :<PHONE_NUMBER>,
      "endDate"   :<PHONE_NUMBER>
    }
  ]
}

This object would have to be configured before attempting to use the CMHealthSDK.
Participants can "sign up" with only a username and password:
[CMHUser signupWithEmail<EMAIL_ADDRESS>andPassword:@"password1"];

Question: Do we require providing a given and family name?
Participants can be added to studies by submitting a valid consent result:
[CMHUser registerForStudyWithIdentifier:@"CMExampleAsthmaStudy"
                                consent:(ORKTaskResult *)consentResult];

A convenience method could be added that rolled signup and registration for a
given study into one step.
Question: Family and given name will be collected with each consent. Do we
require these be equal to ones already on file? Or do we update what is on file
if the user provides something different? Or do we ignore the name users provide
during signup?
Studies for which participants have consented will be stored on the user record:
{
  "__id__": "8ef196sddccd43bdb70d0cdd9cc334b3",
  "services": null,
  "__class__": "CMHInternalUser",
  "email"<EMAIL_ADDRESS>  "familyName": "Smith",
  "givenName": "Jane",
  "__type__": "user",
  "__account__": {
    "email"<EMAIL_ADDRESS>  },
  "consentedStudies" : ["CMExampleAsthmaStudy"]
}

Submitting a result would require including a study identifier:
// `surveyResult` could be any subclass of `ORKResult`

[surveyResult cmh_saveToStudyWithIdentifier:@"CMExampleAsthmaStudy"
                                 completion:^(NSString * _Nullable uploadStatus, NSError * _Nullable error) {
  // Saving to a study when the user does not have a valid consent on file for
  // that study would result in an error in the callback
}];

Fetching would similarly require an identifier:
[ORKTaskResult cmh_fetchUserResultsForStudyWithIdentifier:@"CMExampleAsthmaStudy"
                                               completion:^(NSArray * _Nullable results, NSError * _Nullable error) {
  // This call would also result in a callback error if the user is not registered
  // for the study provided
}];

Convenience methods without an identifier could also exist. In this case, the
SDK user would have to set a global identifier via a method call. This could be
done in the app delegate, for example:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [CMHealth setAppIdentifier:CMExampleAppIdentifier appSecret:CMExampleAppSecret];
  [CMHealth setGlobalStudyIdentifier:@"CMExampleAsthmaStudy"];
}

Internal Implementation Details
Before any study level request could be made, the study identifier has to be
validated: does it exist and is it active but, this data is not
available to the SDK until it has been fetched from the CloudMine backend
Options:

Implement some checking using backend code on CloudMine- this would have to
be "installed" for every app (yuck)
Wrap every internal network request in a callback that fetches the study
data and subsequently retains it for future calls. This is a bit of a pain
for our internals but probably the best experience for the SDK user

One side effect is that the data is now cached until the app restarts.
Updates on the backend would be missed. This could be mitigated by
providing the SDK consumer with a method that manually refreshes the
data, and/or automatically refreshing it internally if it reaches some
level of staleness (last fetched an hour ago, or a day ago, for example)

Closing in favor of #18


Recursive types

Any plans or ideas on how to get this to work with recursive types? I get an error when attempting to use it, Maximum call stack size exceeded I guess for now the alternative is to flatten my data for validation purposes

Do you get that error at runtime or at compile time?
I would guess if the error happens at compile time it's probably an issue with typescript-json-schema, which is one of our dependencies. An actual small example that fails would be really helpful for debugging this.
If it happens at runtime, I wonder if your data structure is actually recursive in the sense of referencing itself, which is not the same as a recursive type. i.e. the following should be fine
interface Leaf {
  value: string;
}
interface Branch {
  left: Leaf | Branch;
  right: Leaf | Branch;
}

{"left": {"value": "hello"}, "right": {"left": {"value": "beautiful"}, "right": {"value": "world"}}}

but not if you pass it:
const tree = {left: {value: 'hello'}};
tree.right = tree;
validate(tree);

it is at compile time.
Here's an example:
type Question = {
  name: string;
  options?: Option[];
};

export type Form = {
  questions: Question[];
};

type Option = {
  name: string;
  questions: Question[];
};

npx typescript-json-validator Example.ts Form
In my case I have a schema that has questions, which can have options. Each option can have more questions inside if that option is selected.

Just checking in to say this issue still occurs, here is a stack trace:
/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:39425
                    chain = ts.Debug.checkDefined(getSymbolChain(symbol, meaning, /*endOfChain*/ true));
                                                  ^

RangeError: Maximum call stack size exceeded
    at lookupSymbolChainWorker (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:39425:51)
    at lookupSymbolChain (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:39418:24)
    at symbolToTypeNode (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:39590:29)
    at typeToTypeNodeHelper (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:38764:28)
    at /home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:38585:106
    at withContext (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:38635:37)
    at Object.typeToTypeNode (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:38585:28)
    at typeToString (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:38552:40)
    at Object.typeToString (/home/ntr/synth-library/node_modules/typescript-json-schema/node_modules/typescript/lib/typescript.js:35213:24)
    at JsonSchemaGenerator.getClassDefinition (/home/ntr/synth-library/node_modules/typescript-json-schema/dist/typescript-json-schema.js:578:32)

and the offending type:
import GeoJSON from 'geojson';

type Uuid = string;

export type Scene = {
    id: Uuid,
    name: string,
    parent: Uuid | null,
    children: Scene[],
    features: GeoJSON.Feature[],
}


Ingredient crashed(Charm)

When hovering over any charm from the mod in jei, it pops up “This ingredient crashed when getting its tooltip. Please see the client logs for detailed information”.
Latest log:
latest.log

When you disable the ars nouveau mod, nothing changes
latest.log

try removing apothic curios it's still not compatible with latest version to my knowledge and it's throwing a lot of exceptions in your log

I think it's the opposite here they are using apotheosis 7.3.5. I have not tested but Apothic Curios had a version stating they updated to support 7.4.0 so in this case they need to either downgrade apothic curios or upgrade apotheosis

I think it's the opposite here they are using apotheosis 7.3.5. I have not tested but Apothic Curios had a version stating they updated to support 7.4.0 so in this case they need to either downgrade apothic curios or upgrade apotheosis

It worked! Thank you


Improve test "getRows()" for RESTv2 test=

What this PR does:
Adds more checking for RestApiv2Test.getRows() to reduce likelihood of false passing.
Which issue(s) this PR fixes:
No issue filed, minor test improvement.
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
[ ] Documentation added/updated

Adding this test based on my experiences working on SGv2 issue #1422 and getting test to pass by just calling "getAllRows()". Nothing major but seems like a good idea to make test bit stricter, even in SGv1.


COM-471 scope picker basis

COM-471
COM-472

Screenshots/screencasts

The labels in the dropdown don't seem right, they should be Main, Secondary instead of the values. Also, could you please add German, so that there are two options per section?

Please provide more information what and why you're changing something. This would ease the review

@fichtnerma Please change the base to next. It's part of the v7 UI changes

Superseded by #2119.


iOS: Feeds list - use 32 x 32 pts icon for feeds

Use the feed icon, instead of the favicon, when available. This way the icons on the feeds list and timeline match.
This is also fixes a problem where we have a 16 x 16 pixels favicon, which looks blurry on retina screens, but we have a feed icon, which will look great.
(This doesn’t fix the problem where all we have is a 16 x 16 pixels favicon. Not much we can do there.)

It’s possible that, after seeing this, we’ll want to bump it down to 28 x 28 or 24 x 24. If so, we might want to exactly match that on the timeline, too.

32x32 looks big to me for the regular font size.

Here is 24x24.

Let’s stick with 24 x 24 for now. We’ll try it, and adjust later if it feels wrong.


Update Meta “tags”

Automatically generated by Netlify CMS

👷 Deploy Preview for uaid-direct processing.

Name
Link

🔨 Latest commit
2ef91a534f71e30c4a1460f381233b0a83f20a8e

🔍 Latest deploy log
https://app.netlify.com/sites/uaid-direct/deploys/6288978f18b129000839411c

👷 Deploy Preview for uaid-direct processing.

Name
Link

🔨 Latest commit
07661eefc4886f07ee62280701caeadf0e7bc909

🔍 Latest deploy log
https://app.netlify.com/sites/uaid-direct/deploys/628897af0214e2000879b1f1


Integration tests for writing (Layer 2)

Feature Request
After implementing the write information on a Layer 2 feature, it will be necessary to create some integration tests. The tests will be responsibly to ensure that the flow of interaction between each part of the project is working properly and test bad scenarios to see how the code handles it.
Describe Preferred Solution
To complete this issue, it is be necessary the following tests:

[ ] Main flow of writing information on the Layer 2 as specified in the image at the additional context;
[ ] Contract's address not exist;
[ ] Wrong calls in the resolver contract;

Additional Context
The right expected flow of interactions is the following one:

blocked by #83


develop TPP issue campaign text for Nov 24

Tuesday 11/24 AM
TPP email; petition, capture email and country
will draft something based on
https://creativecommons.org/weblog/entry/46455
https://creativecommons.org/campaigns/trans-pacific-partnership-would-harm-user-rights-and-the-commons

@mattl we need the signup form for the TPP campaign tomorrow. I put the draft text onto a page here https://creativecommons.org/campaigns/stop-the-tpp

And we want to collect Name, City, Country and a comment, right?

@mattl email too

Sorry yeah. Email too. And their MySpace profile.

good to go for tomorrow AM?

@rebeccalendl almost

@mattl can you made it so the text for the comment question does not break into 2 lines?

@tvol -- done. If you change the template to "Video Grid" in the WordPress editing interface, you can get rid of the sidebar too.

@mattl looks the same to me

@mattl @rebeccalendl  we need those unique links to get trackback information for email/facebook/twitter, right? can we just make them up based on what we did beforehand? https://docs.google.com/spreadsheets/d/1PfiMfQbUw6l69lELBJE1Bem77kFy5OpciikMCgbX_Lw/edit#gid=1200001469&vpid=A1

@tvol looks like you saved over my change :P one sec.

@mattl i'll go back to perusing myspace

good idea. fixed.

Updated the DNE email list.  Fixed both.

@mattl do you know how to generate the unique URLs for email/fb/tw tracking?

done https://creativecommons.org/campaigns/stop-the-tpp


Remove duplicate pages from recent edits

Fixes #11323
this issue exist : if create new page or edit any page  then copy it  or copy any page in recent edit or any page has revisions.
but this issue may not exist  : if copy a page not in recent edit or not have revisions  because copy_page only copy page
one time and not copy it ,s revisions so it work as expected.
this issue because when the user copy a page and  this page  has revisions , when you copy it you copy it in the time of create the page  and copy its revision in the time this revision created ,  and the duplicate of date of create the page and revision cause this issue later in recent edits so the copied page has two dates(one date like the original page and another of it ,s creation time) and this cause the issue as show below in Screenshot copied page has two dates
Before

one another solution to this issue to  to make time of page and it s revision equal or  update the revision created at in the copy_page but this cause an error because this revision created at assume to be like the date of the revision of original page . and this also cause error in the unit tests because unit tests also assume that.
so simple solution to make recent edits unique not have duplicate element, and this what I did.
and now recent edits not have duplicate pages as shown below in the Screenshot
After

Please check the following:

✅ Do the tests still pass?[^1]
✅ Does the code comply with the style guide?

✅ Run make lint from the Wagtail root.

[ ] For Python changes: Have you added tests to cover the new/fixed behaviour?
[ ] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[ ] Please list the exact browser and operating system versions you tested:
[ ] Please list which assistive technologies [^3] you tested:

[ ] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Thanks @elhussienalmasri! I've put my thoughts about an alternative approach on https://github.com/wagtail/wagtail/issues/11323#issuecomment-1889520913, but I'll leave this open until we have a replacement PR.

Closing in favour of #11453.


Add "autogenerated by" comment

Add a comment on top of the autogenerated files—something like
// This file was autogenerated by esc (https://github.com/mjibson/esc), do not edit.

Sorry, didn't notice it was already added in 71c0c11d27793859520c4e98164d13f3a46fb6fe.


Adding Trapping Rainwater Problem in Arrays

I would like to add this problem in arrays folder in C++
Problem:
Given n integers representing an elevation map where the width of each bar is 1, find how much water it can trap after raining.
Example:
                                   _____
               ____               |    |____      ____
     ____     |    |____      ____|    |    |____|    |____
____|____|____|____|____|____|____|____|____|____|____|____|

Please assign me this issue for hacktoberfest 2021

please assign this problem to me .Because I solved 200+ problems on leetcode and other coding platforms
It also help me in contributing in your good intiatives .
Please Assign this to me.

please assign this problem to me .Because I solved 200+ problems on leetcode and other coding platforms It also help me in contributing in your good intiatives . Please Assign this to me.

create your own issue will assign you.

I would like to add this problem in arrays folder in C++
Problem:
Given n integers representing an elevation map where the width of each bar is 1, find how much water it can trap after raining.
Example:
                                   _____
               ____               |    |____      ____
     ____     |    |____      ____|    |    |____|    |____
____|____|____|____|____|____|____|____|____|____|____|____|

Please assign me this issue for hacktoberfest 2021

will assign you once you complete the first 2 one .

bro i am facing some problems while making pull request please help me
On Sat, 2 Oct 2021 at 03:21, Avinash Singh @.***> wrote:

I would like to add this problem in arrays folder in C++
Problem:
Given n integers representing an elevation map where the width of each bar
is 1, find how much water it can trap after raining.
Example:
                               _____
           ____               |    |____      ____
 ____     |    |____      ____|    |    |____|    |____

||||||||||||
Please assign me this issue for hacktoberfest 2021
will assign you once you complete the first 2 one .
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/avinash201199/DSA-Questions/issues/273#issuecomment-932597180,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ7S3BEFLFAIEYANZBJLAJ3UEYUMRANCNFSM5FE4I4MA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bro i am facing some problems while making pull request please help me
…
On Sat, 2 Oct 2021 at 03:21, Avinash Singh @.***> wrote: I would like to add this problem in arrays folder in C++ Problem: Given n integers representing an elevation map where the width of each bar is 1, find how much water it can trap after raining. Example: _____ ____ | |____ ____ ____ | |____ | | || |____ |||||||||||| Please assign me this issue for hacktoberfest 2021 will assign you once you complete the first 2 one . — You are receiving this because you were assigned. Reply to this email directly, view it on GitHub <#273 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ7S3BEFLFAIEYANZBJLAJ3UEYUMRANCNFSM5FE4I4MA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

create new issue , will assign you

Could you please assign me this problem

Hi can I work on this issue. I can submit a C++ solution for this

They are not considering dsa,cp,algorithm repository :(
all the pr will not be considered in hacktoberfest but your contribution will be for lifetime, this will help many students to practice dsa .
Thank you for your contribution :)
you can contribute to other repo


Discard depedency on hexo prism plugin for code highlighting

Involve native highlighting in the theme directly.

https://github.com/hexojs/hexo/pull/2901
Hexo team is working on it.


Extra padding in React project UI

There is a sizeable gap/padding when editing the sample React app in the Site's Editor:

When viewing in Preview or published mode the padding disappears:

I believe this issue originates from the inclusion of a locked responsive grid at the root of the application: http://localhost:4502/content/mysamplespa/en.model.json
{
":items": {
"root": {
"gridClassNames": "aem-Grid aem-Grid--12 aem-Grid--default--12",
"columnCount": 12,
"columnClassNames": {},
":items": {},
":itemsOrder": [],
":type": "wcm/foundation/components/responsivegrid"
}
},
":itemsOrder": [
"root"
],
":children": {},
":hierarchyType": "page",
":path": "/content/mysamplespa/en",
"title": "Root Page My Sample SPA App",
":type": "mysamplespa/components/app"
}

I think* just removing the responsivegrid in the app template structure would avoid this issue. But perhaps there is another way?

A "root" container is expected by both the template and page editor. We will probably have to find a fix using the stylesheet

I ran into this issue too as I noticed my app had a big space at page top in AEM compared to webpack, and the only option was to delete the  node in CRX/DE.
If we have to keep the root node, we should check if we can avoid dumping it into the component hierarchy when rendering through AEM. Either way, rendering should be the same between AEM and the webpack proxy.

We will probably have to find a fix using the stylesheet

Indeed!
This issue is not specific to SPA, but a Page editor CSS issue.
Issue and fix are tracked internally in AEM via CQ-4259401
cc @pfauchere @samuelmeuli


Expand AuthorizationClient with frequently-used types

Adds a couple of frequently-used and sensible types to the AuthorizationClient interface. An optional isAuthorized property used to determine if a token is present and not expired, and an optional onAccessTokenChanged BeEvent.
The types are optional for backwards compatibility.

@aruniverse thoughts on this? Requested by studio: https://github.com/iTwin/create-itwin-studio-app/pull/115#discussion_r1338811982

@aruniverse thoughts on this? Requested by studio: iTwin/create-itwin-studio-app#115 (comment)

@calebmshafer thoughts?

closing in favor of https://github.com/iTwin/itwinjs-core/pull/6122


Fix :bunnyhop command not executing more than once

The bunnyScript is supposed to be renamed AFTER the clone, however in this current case it renames BEFORE the clone, thus editing the first script causing the further executions to fail. This commit should fix this issue to it's intended function.

Yes


cspy 1.0.3

cspy 1.0.3 :snowflake:
Destination channel: Snowflake
Links

PKG-4873
dev_url (pypi): https://github.com/torressa/cspy/tree/v1.0.3
conda-forge:
pypi: https://pypi.org/project/cspy/1.0.3
pypi inspector: https://inspector.pypi.io/project/cspy/1.0.3

Explanation of changes:

new feedstock, recipe
un-vendor lemon, spdlog

Depends on

AnacondaRecipes/lemon-feedstock#1

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_94p_kwspa_/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:27: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:25: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:26: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:1: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
clone/recipe/meta.yaml:23: patch_must_be_in_build: patch must be in build when source/patches is set.
clone/recipe/meta.yaml:0: missing_tests: No tests were found.
===== Final Report: =====
3 Errors and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_91r7f6f1dv/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:25: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:26: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:27: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:1: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
clone/recipe/meta.yaml:23: patch_must_be_in_build: patch must be in build when source/patches is set.
clone/recipe/meta.yaml:0: missing_tests: No tests were found.
===== Final Report: =====
3 Errors and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_a4n5_wse7t/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:27: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:26: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:25: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:23: patch_must_be_in_build: patch must be in build when source/patches is set.
clone/recipe/meta.yaml:0: missing_tests: No tests were found.
clone/recipe/meta.yaml:1: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
===== Final Report: =====
3 Errors and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_8e10uw7upg/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:29: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:27: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:28: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:25: patch_must_be_in_build: patch must be in build when source/patches is set.
clone/recipe/meta.yaml:0: missing_tests: No tests were found.
clone/recipe/meta.yaml:1: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
===== Final Report: =====
3 Errors and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_56zxo18w_s/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:34: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:32: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_4cqdfqv1mc/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:32: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:34: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:57: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
===== Final Report: =====
1 Error and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_60_6k6oikg/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:35: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:34: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_e3fa5wxyd7/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:35: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:34: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 3 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_e54fp6sngk/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:34: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:35: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:32: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 4 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_ce20cmsl3t/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:34: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:32: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:35: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 4 Warnings were found

The test_time_limit test failed. As we previously discussed, you should probably disable it since it's racy by nature and will hence be flaky.


iOS App runs in debug and release mode locally but crashes on startup when loaded from TestFlight

Steps to Reproduce

flutter run --release -t lib/main_prod.dart --flavor prod will load the app locally and app runs fine
flutter build ipa -t lib/main_prod.dart --flavor prod  and pushed to the App Store crashes on start up

The app was working fine for the last 4 months. Now it crashes on startup when downloaded from test flight. I am unsure how to see the logs of what is going wrong since it runs fine locally. I have tried re-adding the GoogleService-info.plist a few times and deleted the project from my Mac and reloaded from GitHub. Nothing seems to work
Tested on beta and stable branches

pubspec.yaml
name: divvy
description: A new Flutter project.
publish_to: none

version: 2.2.0+0

environment:
  sdk: ">=2.6.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  equatable: ^1.2.5
  intl: ^0.16.1
  font_awesome_flutter: ^8.4.0
  flutter_bloc: ^6.1.0
  bloc: ^6.1.0
  provider: ^4.3.2+2
  formz: ^0.2.0
  meta: ^1.1.8
  pedantic: ^1.9.0
  cloud_firestore: ^0.12.10+2
  firebase_auth: ^0.16.1
  firebase_storage: ^3.1.5
  webview_flutter: ^1.0.3
  url_launcher: ^5.7.5
  flutter_masked_text: ^0.8.0
  jiffy: ^3.0.1
  toast: ^0.1.5
  #SHA-3 Hashing library
  web3dart: ^1.2.3
  bip39: ^1.0.3
  bip32: ^1.0.5
  cryptography: ^1.4.1
  google_fonts: ^1.1.1
  camera: ^0.5.8+17
  video_player: ^1.0.1
  path_provider: ^1.6.24
  path: ^1.7.0
  image_picker: ^0.6.7+15
  dropdown_date_picker: ^0.1.1+2
  marquee: ^1.6.1
  authentication_repository:
    path: packages/authentication_repository

flutter_icons:
  image_path: "assets/divvy_icon.png"
  image_path_android: "assets/divvy_icon.png"
  android: true
  ios: true

dev_dependencies:
 flutter_launcher_icons: "^0.8.0"

flutter_test:
  sdk: flutter
  bloc_test: ^7.0.0
  mockito: ^4.0.0

flutter:
  uses-material-design: true
  assets:
    - assets/

flutter doctor -v
`[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2.3 20D91 darwin-x64, locale en-US)
    • Flutter version 2.0.5 at /Users/joshuashewmaker/Development/flutter
    • Framework revision adc687823a (13 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/joshuashewmaker/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93

• No issues found!`

Hi @Jshewmaker
Thanks for filing the issue, I tried to reproduce using my app that has some plugin examples in test flight, added flavors similar to what you have, and published a build on the test flight on the stable channel.
Command
flutter build ipa -t lib/main_prod.dart --flavor prod
Preview (downloaded test flight )

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.3 20E232 darwin-x64, locale
    en-GB)
    • Flutter version 2.0.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision adc687823a (2 weeks ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 (mobile) • ABF92D13-8EC5-4C28-B825-EEA9197A69A0 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64
      • macOS 11.3 20E232 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript
      • Google Chrome 90.0.4430.93

• No issues found!

If you're using Firebase, make sure it is not causing the issue, review changes you've made to the app.
To better address please provide details and crash logs, a minimal complete reproducible code sample without firebase and flutter run  --release--verbose logs running the minimal code sample?
Thank you

Hello @TahaTesser I ran flutter run --release --verbose -t lib/main_prod.dart --flavor prod and here is the output https://pastebin.com/q7LzakWD,  I put it in pastbin to keep the conversation cleaner. The app did launch as expected since I ran it locally. The issue only appears when uploading to TestFlight. Any way I can get you logs from a TestFlight build?

@Jshewmaker
Yes, please any crash logs would be helpful from testflight, Are you able to see the firsts screen or it crashes on the launch itself.
Make sure you've correct figuration  and anything is blocking, you can put simple code in test flight like i did, try to isolate the csause

@Jshewmaker
Please try Sentry on flutter and gather crash logs

@TahaTesser I ended up getting it working. Im not sure what was wrong but I deleted my iOS file from my flutter directory, and then rebuilt everything from scratch and re-added my flavor files from there. Everything has been fine since then. Im not sure what went wrong in my iOS files but its working