Docs are missing complete API Reference

Problem
Currently, the sphinx documentation does not contain a full API Reference that can be searched and be used to debug the in-code doc strings.
Advantages
By adding a full API Reference, developers could...

...easily search the code from the docs,
...debug docstrings,
...link to the API Reference from other parts of the docs.

The plan is to use sphinx directives (autodoc, automodule etc.) which extract the API info from the correctly formatted docstring. I will close this issue once the docs and dosctrings are updated, and the docstring format is specified in the contributing.md file

The dosctring format is now specified in the contributing.md file, but the actual dosctrings still need to be written

To me it seems that even a partial API Reference would be beneficial at this point. So, I would propose to add those parts to the sphinx docs already but keep the issue open. I think the model checks parts already have the necessary docstrings. What do you think?

PR autosummary working for an API reference entry in the docs #26 scaffolds the solution. It is just a matter of writing and verifying docstrings now. While the API is not somewhat reliable, I'm leaving the issue open

PR #28  closes

solved some problems with the API reference, but docstrings still not updated

solved by PR #38


Imprint broken

Describe the Bug
The app cannot display the data from our imprint endpoint.
Steps to Reproduce

Open any imprint on malteapp.de

Fixed in the last release :)

Sadly there is still another problem.

https://cms.malteapp.de/barth/de/wp-json/extensions/v3/disclaimer is missing the path
https://malteser.tuerantuer.org/barth/de/wp-json/extensions/v3/disclaimer is missing the path


gpg cannot decrypt files encrypted on other platforms.

gpg -d --batch --passphrase asdf < stuff
gpg: can't mmap pool of 32768 bytes: EDC5128I No such device. - using malloc
gpg: Please note that you don't have secure memory on this system
token 50331735: pid   50331735, user      CCW, started Tue Sep 19 16:09:02 2023
gpg: AES256.CFB encrypted data
gpg: encrypted with 1 passphrase
gpg: uncompressing failed: Unknown compression algorithm

The last message is the problem.
stuff was created with echo hello world | gpg -c --batch --passphrase asdf > stuff on other platform.

Simpler test case:
echo hello world | gpg -c --batch --passphrase 123456 -o - 2>/dev/null | gpg -d --batch --passphrase 123456 2>/dev/null
The expected result is hello world

Simpler test case: echo hello world | gpg -c --batch --passphrase 123456 -o - 2>/dev/null | gpg -d --batch --passphrase 123456 2>/dev/null
The expected result is hello world
I have arrived at the cross platform issue fix. I am testing it. This should help me in testing , thank you for sharing.

Is it in the current meta? I am still getting

token 33556842: pid   33556842, user      CCW, started Sat Nov 18 10:08:21 2023
token 33556916: pid   33556916, user      CCW, started Sat Nov 18 09:50:37 2023
token 33557058: pid   33557058, user      CCW, started Sat Nov 18 10:08:21 2023
CCW@localhost [~]gpg --version
gpg: can't mmap pool of 32768 bytes: EDC5128I No such device. - using malloc
gpg: Please note that you don't have secure memory on this system
token 67109357: pid   67109357, user      CCW, started Sat Nov 18 10:08:01 2023
token 67110114: pid   67110114, user      CCW, started Sat Nov 18 10:08:01 2023
token 33555926: pid   33555926, user      CCW, started Sat Nov 18 09:50:37 2023
token 67110407: pid   67110407, user      CCW, started Sat Nov 18 10:06:44 2023
token 1977: pid       1977, user      CCW, started Fri Nov 17 16:45:27 2023
token 33556916: pid   33556916, user      CCW, started Sat Nov 18 09:50:37 2023
token 50334274: pid   50334274, user      CCW, started Sat Nov 18 10:08:43 2023
gpg (GnuPG) 2.4.0
libgcrypt 1.10.2
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/ccw/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB
CCW@localhost [~]echo hello world | gpg -c --batch --passphrase 123456 -o - 2>/dev/null | gpg -d --batch --passphrase 123456 2>/dev/null
token 50331682: pid   50331682, user      CCW, started Sat Nov 18 10:08:45 2023
token 67109357: pid   67109357, user      CCW, started Sat Nov 18 10:08:01 2023
token 50332685: pid   50332685, user      CCW, started Sat Nov 18 10:08:45 2023

@ccw-1 Hi, It is in latest gpg, please run upgrade on gpg.

I ran the latest build, but I am still seeing the same problem, could there be a build problem somewhere?
gpg --version
gpg: can't mmap pool of 32768 bytes: EDC5128I No such device. - using malloc
gpg: Please note that you don't have secure memory on this system
token 16777248: pid   16777248, user      CCW, started Fri Dec 15 19:40:52 2023
token 33: pid         33, user      CCW, started Fri Dec 15 19:40:52 2023
token 730: pid        730, user      CCW, started Tue Dec 19 08:47:01 2023
token 16778186: pid   16778186, user      CCW, started Tue Dec 19 08:47:01 2023
token 2469: pid       2469, user      CCW, started Tue Dec 19 08:55:44 2023
token 83888711: pid   83888711, user      CCW, started Tue Dec 19 08:55:44 2023
token 50334309: pid   50334309, user      CCW, started Tue Dec 19 08:55:45 2023
token 2774: pid       2774, user      CCW, started Tue Dec 19 08:55:45 2023
token 33557224: pid   33557224, user      CCW, started Tue Dec 19 08:57:27 2023
gpg (GnuPG) 2.4.3
libgcrypt 1.10.2
Copyright (C) 2023 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/ccw/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB
# echo hello world | gpg -c --batch --passphrase 123456 -o - 2>/dev/null | gpg -d --batch --passphrase 123456 2>/dev/null
token 16777248: pid   16777248, user      CCW, started Fri Dec 15 19:40:52 2023
token 33: pid         33, user      CCW, started Fri Dec 15 19:40:52 2023
token 730: pid        730, user      CCW, started Tue Dec 19 08:47:01 2023
token 16778186: pid   16778186, user      CCW, started Tue Dec 19 08:47:01 2023
token 2178: pid       2178, user      CCW, started Tue Dec 19 08:57:35 2023

@ccw-1 Hi CW, can you please try using the latest gpg. Please run "zopen upgrade gpg" and try running the command
echo hello world | gpg -c --batch --passphrase 123456 -o - 2>/dev/null | gpg -d --batch --passphrase 123456 2>/dev/null.

Today's build was ok!

Ok , thank you. So, is it ok to close this issue?

As per the discussion, the issue is fixed on latest build. Closing it.


[TRI-1125] @trigger.dev/cli init reports the wrong file name for app dir and javascript projects

I just ran @trigger.dev/cli init against a Next.js project using the App Dir and JavaScript and it output the following message:
✅ Created app route at src/app/api/trigger.ts

Even though the file was actually created at src/app/api/trigger/route.js
We should make sure that this output is correctly specified for different setups:

[ ] App Dir w/ JS
[ ] App Dir w/ TS
[ ] Pages Dir w/ JS
[ ] Pages Dir w/ TS

TRI-1125

I'll look into this


@mcp.resource with dynamic parameters example don't work

In the README, there is an example:
@mcp.resource("users://{user_id}/profile")
def get_user_profile(user_id: str) -> str:
    """Dynamic user data"""
    return f"Profile data for user {user_id}"

This don't work
I can't see any resources in the mcp inspector

Same for me, I copied the example server from README.md
from fastmcp import FastMCP

# Create an MCP server
mcp = FastMCP("Demo")

# Add an addition tool
@mcp.tool()
def add(a: int, b: int) -> int:
    """Add two numbers"""
    return a + b

# Add a dynamic greeting resource
@mcp.resource("greeting://{name}")
def get_greeting(name: str) -> str:
    """Get a personalized greeting"""
    return f"Hello, {name}!"

if __name__ == "__main__":
    mcp.run()

Then started the inspector with:
uv run fastmcp dev fastmcp.py

I can see the add tool but I get errors for the resource in Error output from MCP server
[12/10/24 17:30:03] INFO Processing request of type __init__.py:431 ListResourcesRequest

(btw it's a bit weird that the log is labelled as INFO in the error output, not sure if this is a bug or a feature :) )
In history I have:
resources/list▼
Request:

{
  "method": "resources/list",
  "params": {}
}

Response:

{
  "resources": []
}

@jlowin


Exclude javadoc jar from DistributionTest classpath

We didn't make them reproducible.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


504 Error page

I was assigned to design the 504 error page of our streaming platform.
https://www.figma.com/proto/tNI2fUodbSyrhaBGbOxiV9/Col-films-designs?node-id=2635%3A15532&scaling=scale-down&page-id=1%3A2

Marked closed by @Olamibennie


(mini.starter) Reset query after activation when evaluate_single is true

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

When evaluate_single == true, it makes sense to me to clear the query after an item is activated.
If I'm reading it correctly, the only benefit to keeping the query string is to add more onto it, but evaluate_single has already ensured that the query string is at a leaf---adding more to the query string will never match any more or less than it does already.
Resetting the query string after activating a single item brings mini.nvim more in line with startify and alpha. Start screen items are logically discrete, and after activating one the need to backspace out the current query feels like a "gotcha."

Thanks for suggestion!
If implemented as is, it feels a bit inconsistent with hitting <CR>, when item gets evaluated. In other words, if it is to be changed, it should be "reset query when item is evaluated". More so, it should be implemented to work when evaluation means "close this buffer and open another" (which is a most common use case). Quick test shows that it might cause hit-enter-prompt.
Initial motivation for keeping a query string was to help when user mistypes. And also it seems to me a bit more intuitive to not automatically change query without user requesting so.
At the moment I am hesitant to add this. Main reason is that the design of item evaluation in Starter buffer is that it leads to closing current buffer, so it should not really matter. To mitigate the inconvenience, there is <Esc> that clears all query at once: one extra keystroke seems to not be that inconvenient. Also, if you use custom items, you should be able to add query reset in actions themselves.
Would you mind sharing your use case in which not having this behavior causes you troubles?

Hrmmn, I hadn't considered that, and that's a good point.
I have multiple items in the Starter buffer that don't lead to closure. I have an options that run PackerSync, PackerCompile, and GoUpdateBinaries. I've been toying with items that open an nvim-tree window, reload my nvim config, etc. There are definitely creative things that could be good options for linkage from the Starter buffer. It's not unusual that I run PackerSync and then fire a Telescope file_browser, cancel it and browse a specfic dir, cancel it and open a blank buffer. Once an item is activated, my intent is always to run another; keeping the query string doesn't benefit me.
The behaviour that makes sense to me is for the query to be reset when an item is activated. If I activate an item and mini.starter is still open, I'm going to want to activate another item. Having the query retain the previous characters doesn't provide me any benefit.
You're absolutely right that <Esc> is a very minor inconvenience. My argument is that if it's not necessary, perhaps there's an opportunity to support that behaviour.
Perhaps there's an opportunity for a reset_query_after_action option that globally clears the query after activation of any item? In startify and alpha modes, setting that option makes sense as it matches their behaviour.

Having the query retain the previous characters doesn't provide me any benefit.

Yes, I understand that. My original thinking was that it might benefit if latest character was a typo (not having to type whole query is a plus here) while having <Esc> allows dealing when this is not a typo. While resetting after evaluation doesn't provide an easy way in case of a typo.

Perhaps there's an opportunity for a reset_query_after_action option that globally clears the query after activation of any item?

Not a fan of another option at the moment.
I'll think about this a little more.

Yes, I understand that. My original thinking was that it might benefit if latest character was a typo (not having to type whole query is a plus here) while having <Esc> allows dealing when this is not a typo. While resetting after evaluation doesn't provide an easy way in case of a typo.

I can’t dispute that; it would certainly negate the benefits of typo correction.
I will note that the startify/alpha paradigm commonly has single-character activators. In that modality, typo correction is not really a factor.

In the end I opted to adopting your suggestion. Should be available on latest main.
Thanks again fro constructive feedback!


fix broken urls in content

Fixing missing protocols and wrong href content.
Found with
grep -REo 'href=".{5}' content | grep -Ev '"http|"mail|"tel:|"fax:|"#|"/|"{{'

on the repo and  on the old (live) page:
wget -m https://codefor.de 2>&1 | grep '^--' | awk '{ print $3 }' | tee urls.txt
cat urls.txt | sort | grep -v 'http://' | grep -Ev '/en/|/js/|/css/|/fonts/|/img/' | grep -Ev '/blog/\d{1,2}/?' | uniq

TIL: githubs suggestion function and the ability to craft commits directly from these. Awesome 🥳


kongfig - diff against API and automatically delete what's not on config

When automating kong config deployments with kong, sometimes changes are made that remove elements from kong. I believe kongfig caters for this with the ensure: present|absent property on each object.
This however creates a great deal of technical debt. Cannot be removed until it's been deployed everywhere, which is difficult to keep track of.
It would be great if kongfig would compare the config file given to it against what's on kong's admin API, and proceed to delete anything on the API that's not on config.
This way we could fully automate deployments without littering our config files with @todos and technical debt.

We ran into a similar issue recently where we removed a value from config, deployed, and expected the entry to be deleted. After digging, we understood why, however, it would be more intuitive to remove the entry in kong.
If worried about accidental deletion we could add a second step/command for asking would you want to delete the following entries not present in the konfig.

I didn't want to thumbs-down you without an explanation. I felt just as odd about the ensure property at first, but we ended up using it to our advantage (or disadvantage from another viewpoint, I suppose). Rather than centrally manage our 'one true kongfig' for all of our apis, each microservice/repository has it's own. We like that model because it ensures a minimal deployment, less chance of conflicts as those services get released so often, and no dependent builds in jenkins.
I do like the suggestion by @kjsteuer to allow it to be an additional apply option, though. Something like:
kongfig apply --path kongfig.yml --host x --ensureoff

I like the ensure Property, if you want to add only 1 consumers through kongfig with a custom 1 entry yaml, I don't expect kongfig to delete all other consumers.

When are we expecting this feature ? - #107

@bparthu cannot give you a date but it is happening soon, not 100% settled yet.


Page flickers/jumps to top before navigating to new page

Version
v2.4.5
Reproduction link
https://codesandbox.io/s/rw2y50vzkp?fontsize=14&view=preview
Steps to reproduce

Open the reproduction link
Allow the project to finish building and then open the sandbox preview URL in a new window for maximum effect, e.g: https://rw2y50vzkp.sse.codesandbox.io/
Scroll down right to the bottom of the page and click any of the page links to go to a new page.
The page will be redirected and sent to the top of the new page.

What is expected ?

Navigating to a new page shouldn't cause content on page to flicker before navigating to the new page.
Page shouldn't "jump" / "flash" before directing as it is noticeable .

What is actually happening?

Navigating to new pages from links further down pages is causing the content to appear for a few ms after the page is sent to the top -> and then being redirected to the new page.
This doesn't happen all of the time, but most of the time it does. The problem isn't noticable when clicking navigation links in the header as you're already at the top of the page and a scroll-behaviour isn't needed.

Additional comments?
This behaviour has been noted previously, however, I seem to be facing the same problem and have tried all of the suggestions mentioned online, on Stack Overflow and on the Nuxt JS Github.

This bug report is available on Nuxt community (#c8913)

Any update on this

This issue can still be reproduced.

This issue can still be reproduced.

/cc @manniL Just commenting to find out what the status of this is and whether anyone has been able to implement a fix

This is not really a bug perse. The issue is that scrollBehaviour is a vue-router feature with fires synchronously by default while nuxt loads the new page component asynchronously through a transition.
scrollBehaviour can be asynchronous as well, if you change your scrollBehavior fn as follows so its called after the transition to the new page component finishes your issue doesnt show:
// nuxt.config.js
import Vue from 'vue'
...
  router: {
    scrollBehavior(to, from, savedPosition) {
      return new Promise(resolve => {
        Vue.nextTick(() => {
          setTimeout(() => resolve({ x: 0, y: 0 }), 0);
        });
      });
    }
  },


How do I use 'git' command and linux command like 'ls','mkdir','touch' on Windows version?

[x] I am on the latest Hyper.app version
How do I use 'git' command and linux command like 'ls','mkdir','touch' on Windows version?

You can't. Try cygwin or bash on ubuntu on windows.

I recommend using bash on Ubuntu on Windows

I do too.

Closing this as it's not an issue with Hyper itself,
If you need more help I suggest you to join the Zeit Community slack 👼

yeah, not sure a missing git command is Hyper's fault.


Pull

With the release of DownGit you can change Dark Mode on all browsers, I also improved the icons.
View the change DownGit


Explore potential @babel upgrade to 7.13

Potential solution to our dependency cascading issues?
Also:
"Weird! I noticed the yarn.lock seemed to update some of the webpack versions (omg dependency hell :sob:) so maybe some loader is not functioning the way it was before? Not too sure"

Going to pause this for now as it seems to require updating node to > 12.13.0 and right now we are using 12.1 for both ui-design-system and rails-server. So would require a bigger change to upgrade this atm, may do this along with the planned webpack upgrade on rails-server


Catch chunking errors and give useful feedback

We need to catch chunking errors and give the user a useful suggestion in how to fix it.

For the following scenarios these can be temporary solutions for users:

Sr
Scenario
Error Type
Solution

1
Files passed without chunks on   first run
Value Error : Inconsistent chunk   try using unify_chunks
Call   chunks={"time":100}

2
Files   passed with chunks on time dimension
Value   Error : Inconsistent chunk on dim: lat
Calling chunks across {"time":100, "lat":100,   "lon":100}

3
co2 files BSD   2015
Value Error :   Inconsistent chunk
Sort the files and supply   chunks={'time': 100, 'lat': 100, 'lon': 100}

Closing as we're not encountering these errors now. Any errors that do arise we want to know about so don't want to catch.


reference to file that doesn't exist

.travis.yml reference ./tools/travis/setup.sh
This file doesn't exist in the repo.
Try to split the work into setup.sh and build.sh, leaving .travis.yml very simple and small.

@tareqmamari take a look at this one

Actually, this file is from Openwhisk repo, the only script in ./tools/travis/ is the build.sh which is almost the same as in openwhisk repo (openwhisk/tools/travis/build.sh) except that it contains additional steps to activate access to credentials.json, setting up and executing the template test cases.
Should we really split it ?

My mistake
Maybe put a comment to be clear

Never mind I think it's very clear base on the line above my bad. No comment needed it

So , I will close it


Lean new things

@nhammai hello, what do you mean? Closing for now for lack of description. Please feel free to re-open when providing more info. Thanks!


[test/integration] Add API logging

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

/test all

/test pull-kueue-verify-main

/cc @alculquicondor @tenzen-y

/approve


Getting json data from url

I've done some troubleshooting and I've come to the conclusion that the issue I'm having is getting players public data from the url. I wrote a separate script for just getting json object data and it work completely fine with a local file but when i tried it with a url into which I put my api key and a steam player id and it wouldn't return anything. When I put the same url in the address bar it returned all the information in the json object format. What was returned from the url I put into a json file and then just went and got the data from the file just fine.
from local file (working):

via url (not working):

Thank you!

 If so, try getting a file from your own domain via file_get_contents(). If that works, try getting something like google.com with it.
Most free hosting providers and a couple of paid ones block file_get_contents() because it allows for easy mistakes. In this case you should be able to use cURL: http://php.net/manual/en/curl.examples-basic.php

Hi,
Thanks for the quick response.
I am using stablehost as my hosting service so I'll try your advice and see
where it gets me.
Also, are there any major security issues that I should beware of when
using file_get_contents or cURL?
Thank you
On 4 August 2017 at 10:58, BlackCetha<EMAIL_ADDRESS>wrote:

Are you using a hosting service (as opposed to an actual server)? If so,
try getting a file from your own domain via file_get_contents(). If that
works, try getting something like google.com with it.
Most free hosting providers and a couple of paid ones block
file_get_contents() because it allows for easy mistakes. In this case you
should be able to use cURL: http://php.net/manual/en/curl.
examples-basic.php
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SmItH197/SteamAuthentication/issues/182#issuecomment-320209632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AczSjAqTHXty6BA4LlkEwsNzIeeyVKTQks5sUutGgaJpZM4Os-6M
.

Thought I'd report back with good news.
The problem was that my host has url_fopen disabled by default but I was able to change it and now everything works fine.
So for anyone who wants to quickly troubleshoot their case for this issue there is a code that does it for you. Probably too much than required to test it but here it goes:
`

Test File

'.$url.'';

$jsonData = file_get_contents($url);

print var_dump($jsonData);

# Output information about allow_url_fopen:
if (ini_get('allow_url_fopen') == 1) {
    echo 'fopen is allowed on this host.';
} else {
    echo 'fopen is not allowed on this host.';
}

# Decide what to do based on return value:
if ($jsonData === FALSE) {
    echo "Failed to open the URL ", htmlspecialchars($url);
} elseif ($jsonData === NULL) {
    echo "Function is disabled.";
} else {
   echo $jsonData;
}

?>

`
source: https://stackoverflow.com/questions/6724467/why-doesnt-file-get-contents-work

But the code in triple accents. This will format it correctly.
By the way, reports of this come in quite often. Check: #90 #112
I would suggest you leave this open because people will see it more easily.

There seemed to be commas instead of full stops in the example code you posted which broke it,
Slightly modified version:

        <title>fopen test</title>

<?php

# Enable Error Reporting and Display:
error_reporting(~0);
ini_set('display_errors', 1);

$url = "http://ip.jsontest.com/";

$response = file_get_contents($url);

# Output information about allow_url_fopen:
if (ini_get('allow_url_fopen') == 1) {
    echo '
fopen is allowed on this host.
';
} else {
    echo '
fopen is not allowed on this host.
';
}

echo '
Url: ' . $url . '
';

# Decide what to do based on return value:
if ($response === false) {
    echo "Failed to open the URL " . htmlspecialchars($url);
} elseif ($response === null) {
    echo "Function is disabled.";
} else {
    echo '
Response: ' . $response . '
';
    echo '
PHP Variable: ';
        var_dump($response);
    echo '
';
}

?>


examples: Born approximation for TTI media

At this point @FabioLuporini might be asking: where is @ofmla? xD  well, I've been extra-busy with some other projects and preparing classes, but here is a small contribution. This PR adds new operators to the anisotropic solver. In the absence of Mathias @jkwashbourne could take a look.

Note: the perturbation is only in the velocity in the Born approx.

Note: the perturbation is only in the velocity in the Born approx.

Missing the "linearization test". For me the proof of correctness is passing the linearization and adjoint tests.
https://github.com/devitocodes/devito/blob/4a52d5b35e9ce148744bc60f4310e4d5b8225eae/tests/test_gradient.py#L147
I guess for completeness could ensure the operator replicates acoustic modeling when isotropic. Not sure if people feel that is important or now, but it is like that acoustic op is nailed down via the accuracy notebook, so we can test that other ops reproduce acoustic isotropic wavefields.

I added that test as suggested

Missing the "linearization test". For me the proof of correctness is passing the linearization and adjoint tests.
https://github.com/devitocodes/devito/blob/4a52d5b35e9ce148744bc60f4310e4d5b8225eae/tests/test_gradient.py#L147
I guess for completeness could ensure the operator replicates acoustic modeling when isotropic. Not sure if people feel that is important or now, but it is like that acoustic op is nailed down via the accuracy notebook, so we can test that other ops reproduce acoustic isotropic wavefields.

I added that test as suggested

Am I wrong, or it needs a rebase on latest master for easier review ?
Thanks Oscar! Hope you are doing well!

Hi George, all good, thx. You are correct, I made a mess.  I hope that everything is in order now.

Am I wrong, or it needs a rebase on latest master for easier review ?
Thanks Oscar! Hope you are doing well!

Hi George, all good, thx. You are correct, I made a mess.  I hope that everything is in order now.

Thanks, merged.


Offline SQL building

As far as I can tell, there is currently no way to initialize a SQL builder without creating a database instance.  Why is this, since I'd have thought the database connection is only necessary for querying after building?
My potential use case simply involves generating SQL strings, not necessarily querying them.

goqu.From() and then .ToSql()? That's how I'm using goqu...

I suspect that makes this a documentation enhancement issue, rather than a code enhancement issue.  I had no idea you could call From() statically like that.

I think it's pretty obvious on godoc, From() is the constructor of Dataset. Although the documentation of From() is a bit strange.

You could get the sql fairly easily. You should have ToSql, ToUpdateSql, ToDeleteSql, ToInsertSql, ToTruncateSql methods available on the dataset to generate the raw sql.
sql, _, err := db.From("my_table").Select("other_column").Where(goqu.Ex{"my_column": true}).ToSql()
fmt.Println(sql) // select other_column from my_table where my_column is true;

sql, _, err = db.From("my_table").Where(goqu.Ex{"my_column": true}).ToUpdateSql(goqu.Record{"another_column": false})
fmt.Println(sql) // update my_table set another_column = false where my_column is true;

@nd2s What do you think we can do to help improve the documentation?

@TechnotronicOz I found the Typically you would use Database#From. part a bit strange. Because as the README says in line 1 goqu is an expressive SQL builder. Its main purpose is to build SQL, not to execute it. The execution part is just a nice-to-have.
Also the examples in the README should probably begin with building SQL without executing it, and then showing the generated query. Currently it partly starts off like some generic ORM which is kind of underselling it. (goqu is the only usable package I found for dynamically building complex SQL expressions).

@nd2s I see what you are saying. Goqu came about b/c we didn't like having raw sql in our codebase and Goqu sort of mirrors our Node query builder lib Patio. If you'd like, feel free to open a PR with updates to the documentation.
We predominately use it to both the query building and execution, something like:
type CompanyRecord struct {
    Id uint64 `db:"id" goqu:"skipinsert,skipupdate"`
    Name string `db:"name"`
}

func CreateRecord(companyId uint64, name string) (*CompanyRecord, error) {
    record := goqu.Record{
        "id": companyId,
        "name": name,
    }
    newRecord := CompanyRecord{}
    if _, err := db.From("table").Returning(goqu.I("id"), goqu.I("name")).Insert(record).ScanStruct(&newRecord); err != nil {
        return newRecord, err
    }
    return newRecord, nil
}

In v7 I have added a new Dialect method to address this very problem. When creating this we always used it in tandem with a Db but it seems people are using it just for sql generation.
Here is an example creating using just the mysql dialect without a db.
import _ "github.com/doug-martin/goqu/v7/dialect/mysql"

dialect := goqu.Dialect("mysql")
ds := dialect.From("test").Where(goqu.Ex{
    "foo": "bar",
    "baz": []int64{1, 2, 3},
}).Limit(10)

sql, args, _ := ds.ToSQL()
fmt.Println(sql, args)

sql, args, _ = ds.Prepared(true).ToSQL()
fmt.Println(sql, args)

Output:
SELECT * FROM `test` WHERE ((`baz` IN (1, 2, 3)) AND (`foo` = 'bar')) LIMIT 10 []
SELECT * FROM `test` WHERE ((`baz` IN (?, ?, ?)) AND (`foo` = ?)) LIMIT ? [1 2 3 bar 10]


Recursive font & axis sliders should be updated to more-current versions of Recursive, due to changed axis names & defaults

The bottom font override that happens by default shows MONO=1, but doesn’t actually use monospace styles to override code on web pages.
This is because the default of that axis was changed in Recursive after we had already mostly wrapped up work on this extension. But, the slider probably has a value="0" attribute to start, so it shows one thing without applying it, and the font shows its default (MONO=0).
While this is being fixed, it would be worthwhile to also update to the latest version of Recursive:
https://github.com/arrowtype/recursive/releases/latest
And update the Italic axis label to Cursive, as it now is in Recursive.
Finally, the axes should be specifically ordered, rather than alphabetical:

MONO
CASL
wght
slnt
CRSV

Font has been updated. Addressing the ordering in: https://github.com/arrowtype/type-x/issues/91


Can't get service worker when offline

I'm generating the service worker using webpack 2. It's marked as registered and running in DevTools, works brilliantly on throttled connections, but fails to even get when fully offline. Just get a generic An unknown error occurred when fetching the script. failure.
I'm also working on localhost (not sure if that's relevant)
Not sure what other kind of information would be relevant here, but if I'm missing anything of importance let me know

Paste your SWPrecachWebpackConfig here. It sounds like you need to add your index.html file to the plugin, if its not emitted by webpack, it wont be picked up by default.
If thats the case (I can't tell without seeing your config) you can just add it to the staticFileGlobs config and set mergeStaticsConfig to true:
something like:
    new SWPrecacheWebpackPlugin(
      {
        staticFileGlobs: [
          'dist/index.html',
        ],
        mergeStaticsConfig: true,
      }
    ),

or just use a wildcard like dist/**/*.html to match any templates.

My html actually lives outside of the dist folder. So here's the config:
new SWPrecache({
  cacheId: "byron-houwens",
  staticFileGlobs: [
    '**.html',
    'dist/**.js',
    'dist/**.css',
    'dist/**.svg',
    'dist/**.woff',
    'dist/**.woff2'
  ],
  handleFetch: true
})

Not sure if having the html in the rest instead of dist makes a difference? I can see the html in the cache

The ./index.html shouldn't matter.
Are you testing in an incognito window?
Do you have an output.publicPath in your webpack settings?
If so, is it different than the url your testing in.

No incognito window.
I've set the publicPath to "/" only. It's no more explicit than that right now

The An unknown error occurred when fetching the script. error means that ServiceWorker file itself, e.g. service-worker.js, cannot be downloaded. Not your assets.
The ServiceWorker is being downloaded by the browser each time you load a page in its scope. I don't know what you expected, but you are offline browser of course cannot download it from your server. Hence you have the error.
Than doesn't affect your already cached files by any means because you already run a ServiceWorker which handles them. That request which fails is to check if ServiceWorker file has been changed, i.e. check for an update.
Of course, if you don't have ServiceWorker registered in your page then you cannot download and register one when you are offline. Because you are offline.

I'm less concerned about the service worker's download and more about the assets. The An unknown error occurred when fetching the script is the only feedback returned though, so it's relevant to the case (as useless a piece of feedback as it may be).
The cached files weren't returned though, despite the already registered worker, which is the main issue (even if I am offline, since that's the point of the worker's registration and the caching of assets in the first place).

@BHouwens well, if you really want that to be solved you may bring contents of generated SW here. The only reasons why it may not work:

It failed to register at all, which seems to not be the case since it works for you with throttled network;
some required files aren't cached, e.g. index.html on main.js if you render from JS;
Routes are cached wrong, e.g. it's misinterpreted by sw-precahe because you didn't specify stripPrefix: 'dist/' (or something like that). Maybe the plugin handles this automatically
You cached you index.html, i.e. /, but try to reload the page from /something which isn't cached and you didn't specify navigateFallback for it

Hmm well that does give some direction thanks. It seems to be a fetch issue that has since cropped up and prevented the assets from downloading via service worker.. I'm not sure why this is necessarily, but I suspect it's route-related and will dig further.
Thanks for the help, feel free to close this (it seems to be specific to my project config)


Fix emote replacement to render emotes correctly

if you had an emote, and a replacement, and in the replacement you used the emote in the first, or last place (with no character before, or after them respectively) they didnt render

close #26 with this

Works, thanks for the explanation :+1:


docs + feat + discussions: numactl or cpu issues?

Closing this issue, as not enough information. Please reopen once you can provide more context.


vendor: update resumable dependency

Updates resumable hash implementation to Go 1.8 equivalent. This should
be a major speedup, since it includes a number of optimizations from Go
1.7.
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>cc @dmcgowan @jlhawn @dmp42

Looks like this needs Go 1.8 to compile.

This can be rebased now and run on go 1.8

@dmcgowan Done.

LGTM

LGTM


"rule UCSC_GTF" not compatible with Ensembl GTF

I was trying proteomegenerator on my data, but the analysis was giving me an error at the level of "UCSC_GTF". Looking at the code in pgm
shell: "cat {GTF} | grep chr > {output.reference}; \
    cat {input} | grep chr > {output.merged} 2> {log}"
but GTF files don't necessarily have "chr" prefix in the chromosome name field (source: https://www.ensembl.org/info/website/upload/gff.html).
Is the purpose of USCS_GTF to just remove the first lines starting with an hash from the files, or also to remove scaffolds from the GTFs and keep only chromosomal positions? Both are easy fixes but quite different.

You are correct – the current version of ProteomeGenerator is not ALT aware but this would be a cool feature to add and we would be happy to test a pull request.
On Nov 15, 2019, at 9:55 AM, tmari <notifications<EMAIL_ADDRESS>wrote:
I was trying proteomegenerator on my data, but the analysis was giving me an error at the level of "UCSC_GTF". Looking at the code in pgm
shell: "cat {GTF} | grep chr > {output.reference};
cat {input} | grep chr > {output.merged} 2> {log}"
but GTF files don't necessarily have "chr" prefix in the chromosome name field (source: https://www.ensembl.org/info/website/upload/gff.htmlx-msg://64/url).
Is the purpose of USCS_GTF to just remove the first lines starting with an hash from the files, or also to remove also scaffolds from the GTFs and keep only chromosomal positions? Both are easy fixes but quite different.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jtpoirier_proteomegenerator_issues_7-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DABSNON6EZ5BSXA7PO53RKFTQT2Z57A5CNFSM4JN34J72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HZUG3FQ&d=DwMCaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=mDZyQneLgKnHONN2b0V0N3HlSeLNCA4tZf6bwo45-1w&m=8Dmvtb9VFg1m1khh62hmh8-4o6AeAs_DCG3FbTOfrU4&s=3sQh3BEp6iicpM_GboO5nDw9nxbSzT5Yur9sHWtVjGo&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABSNON75Z3IBVC4WDGN766TQT2Z57ANCNFSM4JN34J7Q&d=DwMCaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=mDZyQneLgKnHONN2b0V0N3HlSeLNCA4tZf6bwo45-1w&m=8Dmvtb9VFg1m1khh62hmh8-4o6AeAs_DCG3FbTOfrU4&s=zueKIwRgIzNOL7UAPzQG5W2bidCG78odl6862mKrJRo&e=.


nuxt build fails at generating pages in spa mode

Version
v2.10.0
Reproduction link
https://gitlab.com/alexkcollier/nuxt-build-repro
Steps to reproduce

Create nuxt project
Set mode to spa in nuxt.config.js
yarn build

What is expected ?
Build succeeds
What is actually happening?
FATAL  Cannot read property 'renderRoute' of undefined

Additional comments?
yarn generate works as expected, and so does building in universal mode.

This bug report is available on Nuxt community (#c9850)

I have the same issue on 2.10. There're no problems with 2.9.1.

It happens not only in SPA mode but also in Universal, with and without a --modern flag. Dev mode is working fine though

Can also confirm this happening with 2.10.0
2.9 and below works fine.

Same here

Same here

Guys, please, do not pollute the topic with the same messages. It's already clear that a lot of us have this issue

Looks like the breaking change happened in the<EMAIL_ADDRESS>update. Works fine using 2.9.1.

Build fails in Docker. Same here while generating pages in 'spa' mode.
TypeError: Cannot read property 'renderRoute' of undefined

Same happens to me!

@pi0 @manniL maybe you could provide some update on whether this issue is being addressed by the Nuxt team? Thank you

Same here. Went back to 2.9.1 until it's fixed.

I had this issue but I went back to 2.9.2 which also worked fine.

Same happens to me on 2.10.0 but I tried reverting to 2.9.1 without success - maybe it's cause a transient dependency?

Did you removed node_modules and package-lock?
https://nuxtjs.org/guide/upgrading#npm

I ran into this after removing package-lock.json and node_modules while working on something unrelated. A fresh npm i with package.json set to "2.9.2" fixed the issue.

Related issues: #6514 & #6513

I imagine that this error is solved in the next version

@riux it better be since now 2.10.0 is not usable for many people

I'm not very fond of these things, but while tweaking here and there think I was able to build my SPA using 'npm run generate' instead of 'npm run build' (that gave the error)...

Fixed via https://github.com/nuxt/nuxt.js/commit/136777de1d7924f052c803c6397530de80bdea50

I still have the error after changing to nuxt 2.9.2 (remove node_modules and yarn.lock from src / and from function /). This only happens when deploying in firebase hosting. The error occurs when I update the "f5" page in a different index path (domain.com/video/id_video). I clarify that this error does not occur in (yarn dev, nor in yarn start)

Waiting for a new version to be released.

this has been already fixed in #6525
#6529 is v2.10.1

<EMAIL_ADDRESS>has been released, fixing the issue

Well, I haven't updated to the new version yet. But I discovered that this error occurred for two reasons: 1) .Use the nuxt functions (asyncData, fetch) on a page with dynamic URL (search / _stringSearch.vue), then I had to change these functions to created () {. ..}.
2) I also found it necessary to attach the content of my page (search / _stringSearch.vue), with
Page content . My development environment is a universal application that uses the firebase and firebase hosting functions. As I mentioned, the error occurred at the time of the test in Firebase Hosting (Nuxt Build, Firebase Implement)

You may have better luck creating a new issue. What you're reporting
doesn't seem related.
On Fri., Oct. 11, 2019, 6:25 p.m. Riux<EMAIL_ADDRESS>wrote:

Well, I haven't updated to the new version yet. But I discovered that this
error occurred for two reasons: 1) .Use the nuxt functions (asyncData,
fetch) on a page with dynamic URL (search / _stringSearch.vue), then I had
to change these functions to created () {. ..}.
2) I also found it necessary to attach the content of my page (search /
_stringSearch.vue), with
Page content . My development environment is a universal application that
uses the firebase and firebase hosting functions. As I mentioned, the error
occurred at the time of the test in Firebase Hosting (Nuxt Build, Firebase
Implement)
[image: image]
https://user-images.githubusercontent.com/9002215/66688326-c72f9f00-ec4b-11e9-9dc9-d21e7b16b976.png
[image: image]
https://user-images.githubusercontent.com/9002215/66688359-e0d0e680-ec4b-11e9-8e3f-8366739e253f.png
[image: image]
https://user-images.githubusercontent.com/9002215/66688389-078f1d00-ec4c-11e9-966c-b78040180cc9.png
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt.js/issues/6500?email_source=notifications&email_token=AFOMXYD23Z3LCQUWXSTAD5TQOD4NVA5CNFSM4I4XHWD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBBLUZQ#issuecomment-541244006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFOMXYEFKK3MT72GGJLAFPTQOD4NVANCNFSM4I4XHWDQ
.


Add support for generate diagnostic service readonly / readwrite token

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Contribution checklist:

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

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

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

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

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

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

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

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

This is a resubmit of the original PR because the other one got merged(#11393) by accident and then reverted (#11662).


Something blocking Hermes from properly starting up and spinning up workers

Summary of Bug
Somehow Hermes fails to spin up workers (or rather is stuck spinning up workers), and apparently it's doing it sequentially, therefore if it fails to spin up workers on the first chain, other won't spin up so Hermes won't properly do anything.
Example: Here's my test config: https://gist.github.com/freak12techno/1a995d3822d5fee50e4c569298c6b8d6, and running Hermes with trace logging produces these results: https://gist.github.com/freak12techno/74f02dd94df0fd627312f0f62a90a37f. Seems like it's done spinning workers for bitsong-2b, cosmoshub-4, jackal-1, then it somehow is stuck on spinning workers for osmosis-1 (not sure why, that's another thing, likely the node not working properly) and all of the chains going after osmosis-1 in config (so sentinelhub-2 and neutron-1) are not loaded properly.
I also faced a case a few times where it's bitsong-2b which is faulty, so none of the chains are having their workers running and therefore Hermes effectively does nothing at that point for all of the chains.
I have a feeling that the workers spinning process is sequential, and the fix would be making it asynchronous, so failing to load 1 chain won't fail loading others.
@ljoss17 I remember you investigating the clearing packets routine blocking Hermes functioning, which should be somewhat similar, can you check this out?
Just to clarify: my main concern is not a failure of a single chain (like in my example, Hermes failing to spin up Osmosis worker), but rather a failure of a single chain blocking Hermes from doing anything else.

Version

1.10.1
Steps to Reproduce

Use my Hermes config
Start the relayer
Expect something like this in logs if Hermes somehow is stuck spinning up a worker.

Acceptance Criteria

Failing to spin up a worker for one chain should not fail Hermes from working properly on others.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Hey @freak12techno, could you run the Hermes instance with the flag --debug=rpc and share the full logs?

The scan is what can take a long time and/or fail, so we should indeed scan the chains in parallel, and gracefully handle any failures there. Once the scan is done, spawning the workers should be very fast and not a bottleneck at all.

@ljoss17 so I started Hermes with debug=rpc and ran it for like 10 minutes, here are the logs: https://gist.github.com/freak12techno/43d9b674388f35b000b7b22979424483. Apparently at least the wallet worker for cosmoshub-4 had never started, as I fail to see the metrics regarding cosmoshub-4 wallet balance (I see the metrics for balances of wallets on bitsong-2b, jackal-1, sentinel, same with osmosis-1 (these chains are the last in the config).
@romac agree. I also created another issue on scanning the chains in parallel as well, which should speed it up, but that goes out of the scope of this one.

@ljoss17 I seem to have the same issue again on 1.10.13 - after restarting, seems like all the chains are scanned, but somehow Hermes isn't doing anything at all.
Pretty sure it's because of one of the nodes misbehaving (likely the Osmosis one), but I have paths that I can relay that are not involving Osmosis (for example DVPN <=> ATOM), and it seems like it's not behaving correctly here as well.
Wonder if I should create another issue on that, or reopen this one.
Metrics (as you can see, after the restart it isn't submitting anything at all):

Using pretty much the same config as above, and here are my logs: https://gist.github.com/freak12techno/8ce404c507700d3ac73f483d5ca6d2db.
Can you check this out?

What happens if you comment out the osmosis chain and all channels tagged # Osmosis from your config?

It's weird that Hermes is scanning all channels on bitsong-2b, are you still using an allowlist for that chain?

@romac sorry, I forgot that I disabled the chain policy, here's the up-to-date config https://gist.github.com/freak12techno/3b8f3672521e77e0ff35e464a8dcdd21. let me know if that helps or you need something else.
My concern here is that it did finish scanning chains, but then something weird started to happen,


use $this->task() to call task within trait

First, thanks for this project, it was nice to find something that was already put together for this.
This change prevents newer versions of Robo from complaining with the following error:

ERROR: No logger set for Rb\Robo\Task\PhinxTask. Use $this->task(Foo::class) rather than new Foo() in loadTasks to ensure the builder can initialize task the task, or use $this->collectionBuilder()->taskFoo() if creating one task from within another.
in .../vendor/consolidation/robo/src/Common/TaskIO.php:42

I've also bumped up to a more current robo dependency, and adjusted the tests so that they still pass (tested on php 7.2.4).

@aripringle Thank you for your contribution. I have merged it and published a new tag (v1.2.0) so that you can use it.
Regards,
Rob


[@xstate/inspect] - Send expression breaks the viz

Description
Adding a send expression i.e. send(() => ({ type: "NULL_EVENT" })) breaks the inspector, although the machine works fine.
Expected Result
Send expressions should work in the inspector
Actual Result
The inspector shows An unexpected error has occurred.
Reproduction
Codesandbox forked from the Vue example
Removing the send expression on line 30 fixes the inspector
Love the new tools by the way!

This should be fixed - refresh soon!


OpenThread Border Router not able to join the thread network again after turning it off for around 5 minutes

Describe the bug
I have IoT gateway as OpenThread Border Router with Leader role and other 5-10 REED(nxp k32w module) connected on the same OpenThread network as Router or Child role.
When I turned off the IoT gateway for around 5 minutes then the one of the REED will become Leader as per OpenThread feature(Self-healing mesh networking, with no single point of failure).
After that again I turned on the IoT gateway then the state of the Border Router became Detached and the Border Router was not able to again join the thread network.

Git commit id: 495612f696947fc38dc71e8ee3378477378cf144

Expected behavior
OpenThread Border Router should join the existing thread network and should again work normally as Router or Leader.
What should I need to do to reconnect the OpenThread Border Router to the same thread network?
Let me know in case of more information is required.
Thanks in advance for any support.

@gokul-2000 , can you provide log output from OTBR?

Hi @jwhui
Thanks for the response.
I have attached one log attachment.
Note: This is the .txt file but you have to change the extension to .pcapng because in the attachment pcapng is not supported
We have registered some devices already.
We have tried below scenario:

Turned off the Leader device for ~2 minutes and wait for the REED device to become the leader
After one REED device becomes the leader we turned on the gateway with the RCP module and checked the ot-ctl state and the result is "detached"

Expected Result:

IoT Gateway RCP module will work as a leader or router

We have found some workaround as well and worked around it we have to reboot the system and run it again.
If you want to check sniffer logs you have to use the below configuration for Wireshark.
Please follow this wireshark configuration link
please use this Decryption key e765ecb8915a79aef31cd3a1ee5ffcb0 to decode the sniff data.
Please let me know if you need any other data.
ed_become_leader_try.txt

Thanks for the response @jwhui
Will you please explain why the "ot-ctl state" of the gateway become "detached" when the MLE Frame Counter being reinitialized after restart?
Do we need to implement any extra code in "otbr-agent" to save MLE Frame Counter in non-volatile storage?
Please let me know if you need more information.

Sorry for the late response from my side.
Thanks for the response @jwhui
After rechecking the code, I came to know that I had changed OPENTHREAD_CONFIG_MLE_MAX_ROUTERS macro value from 32 to 6 to decrease the network congestion.
The problem that I faced is as mentioned below:

I connect 15 REEDs with the Gateway[Border Router].
ot-ctl state of Gateway[Border Router]: Leader
ot-ctl state of max up to 6 REEDs: Router
ot-ctl state of other REEDs: Child
Now I power off the Gateway[Border Router] for around 5 minutes.
As I turned off the gateway for around 5 minutes then one of the REED will become Leader as per OpenThread feature(Self-healing mesh networking, with no single point of failure).
Let's assume that without gateway one of the REED is Leader, 6 REEDs are Router and others are Child.
Now I turned on the gateway but gateway is not able to rejoin the existing network as the value of OPENTHREAD_CONFIG_MLE_MAX_ROUTERS is 6 already.
So that ot-ctl state of Gateway[Border Router]: Detached
Should I change the value of OPENTHREAD_CONFIG_MLE_MAX_ROUTERS from 6 to 32?
Is there any method to rejoin the thread network as Leader?
Is there any method to rejoin the Border Router in the existing thread network?

Let me know in case of more information is required.
Thanks in advance for any help/support.

Thanks for the response @abtink

I strongly suggest keeping the OPENTHREAD_CONFIG_MLE_MAX_ROUTERS as is (32). Otherwise,you are not compliant with Thread spec and can see unexpected behaviour.

Okay, I will keep the OPENTHREAD_CONFIG_MLE_MAX_ROUTERS as is (32).
I have the below-mentioned situation, Please suggest possible solutions.

Gateway(Border Router) as Leader role formed openthread network.
I connect around 100 REED devices to this openthread network.
Let's assume 32 REED devices obtain Router role in this openthread network.
Now i turn off the Gateway(Border Router) for around 5 minutes.
So that one of the REED device will become Leader as per OpenThread feature(Self-healing mesh networking, with no single point of failure) and other 32 devices are as Router role and remaining devices as Child role.
Now i turn on the Gateway(Border Router), but it fails to rejoin the network as the network already has 1 Leader and max number of Routers(32).
Gateway got Detached from openthread network and not able to rejoin the network.
What should i need to do to rejoin the Gateway(Border Router) to the existing openthread network.

Let me know in case of more information is required.
Thanks in advance for any help/support.

Gateway got Detached from openthread network and not able to rejoin the network.

Even if there are already max number of routers, the new device (gateway in this case) should be able to attach as a REED to the network. An end-device (e.g., REED) can still act as a Border Router for the network, so gateway after attaching as a REED can still function as a Border Router.
If your gateway does not attach as a REED, you may want to invertigate this (check out the logs)?

Now i turn on the Gateway(Border Router), but it fails to rejoin the network as the network already has 1 Leader and max number of Routers(32). So that there are two situations occur, as mentioned below:

Gateway got Detached from openthread network and not able to rejoin the network.
Gateway shows Leader role but the other active openthread network with the same dataset credentials has 1 Leader and its Router and Child devices.

Gateway can join the mesh as an end-device (or REED) which is perfectly fine. Note that a gateway device can act as a Border Router while being a REED. A Border Router does not need to take a router  role within Thread mesh.
Generally every device first attaches as an end-device and then asks to be promoted to router role.

Thanks for the quick response, really appreciated! @abtink

Gateway can join the mesh as an end-device (or REED) which is perfectly fine. Note that a gateway device can act as a Border Router while being a REED. A Border Router does not need to take a router role within Thread mesh.

I got your point.

Gateway got Detached from openthread network and not able to rejoin the network.

Gateway shows Leader role but the other active openthread network with the same dataset credentials has 1 Leader and its Router and Child devices.

Any idea on scenario 1 and scenario 2.
Let me know in case of more information is required.
Thanks in advance for any help/support.

Scenario 1 should not be possible:

If an FTD device (Gateway in your case) has correct Operational Dataset, it cannot stay detached. It will first try to find other nodes and attach to mesh. If it cannot find any other node (after multiple attempts), it will start as leader itself (assuming it is the first/only node in mesh).

Scnario 2: If you see two leaders (for same Operational Dataset), it means the network is partitioned (devices are not within the RF range of each other).

@gokul-bhalodiya-7 , can you validate that the transmitted MAC / MLE Frame Counter values do not go backwards after the reset?

Thanks for the response @abtink, @jwhui

Gateway shows Leader role but the other active open-thread network with the same dataset credentials has 1 Leader and its Router and Child devices.

Gateway and REED have the same open-thread credentials and are in RF range(both kept at 2 feet distance) still both displayed as a Leader role. Logs attached syslog.txt.
Please check the Screenshot as well with the dataset and state.

I have attached the wireshark log as well to check sniffer logs.
If you want to check sniffer logs you have to use the below configuration for Wireshark.
Please follow this wireshark configuration link
please use this Decryption key e765ecb8915a79aef31cd3a1ee5ffcb0 to decode the sniff data.
Note: This is the .txt file but you have to change the extension to .pcapng because in the attachment pcapng is not supported
same_nw_two_leader.txt

Hi @abtink, @jwhui,
Do you guys have any updates on the issue?
Please let me know in case you need more information.
Thanks in advance for any help/support.

How do you start your gateway?
Do you maybe call state leader CLI command or the otThreadBecomeLeader() API from your application code? These are intended for testing and should not be used.
Here is filtered logs you posted (all Mle message).

Any device would try 6 attach attempts before assuming it is the only/first device and taking over leader role. This is not what we see in the logs.
We see in your logs that only one attach attempt (and we see device does indeed find a parent and even sends "Child ID Request" to it) but soon afterwards it show it its role being change to leader. This hints at use of the APIs above).

Sep 13 06:24:11 centauri-imx6ull bae-agent[419]: 00:00:00.545 [I] Mle-----------: AttachState Idle -> Start
Sep 13 06:24:14 centauri-imx6ull bae-agent[419]: 00:00:04.411 [N] Mle-----------: Attach attempt 1, AnyPartition reattaching
with Active Dataset
Sep 13 06:24:14 centauri-imx6ull bae-agent[419]: 00:00:04.411 [I] Mle-----------: AttachState Start -> ParentReq
Sep 13 06:24:14 centauri-imx6ull bae-agent[419]: 00:00:04.411 [I] Mle-----------: Send Parent Request to routers (ff02:0:0:0:
0:0:0:2)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.557 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:3021:9fbc:1c3c:3182,0x2400)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.567 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:605d:c4c6:1df:e96e,0x9800)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.591 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:14e8:e516:8d54:527e,0xe800)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.650 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:1426:1e9:4d6c:e3bd,0xc400)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.666 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:3436:9682:c580:8473,0xf400)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.695 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:d095:8517:4c7f:ca2d,0xa400)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.727 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:78bf:c390:8f40:6384,0x4800)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.735 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:78bf:c390:8f40:6384,0x4800)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.748 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:14ea:fb82:6020:de22,0x7000)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.755 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:14ea:fb82:6020:de22,0x7000)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.756 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:bc83:8f19:b66a:747a,0xc000)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.763 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:c89b:f96c:28a9:909f,0xdc00)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.804 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:fcbf:26b9:1a71:3b4f,0x2000)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.881 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:1057:3e31:30df:bf92,0xac00)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.900 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:4cdc:6748:698e:34c3,0xec00)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:04.999 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:985c:f6fc:9a81:a7a4,0x8000)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:05.025 [I] Mle-----------: Receive Parent Response (fe80:0:0:0:d819:6c8f:a64b:eb7d,0x3c00)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:05.163 [I] Mle-----------: Send Child ID Request (fe80:0:0:0:14e8:e516:8d54:527e)
Sep 13 06:24:15 centauri-imx6ull bae-agent[419]: 00:00:05.174 [I] Mle-----------: AttachState ParentReq -> ChildIdReq
Sep 13 06:24:16 centauri-imx6ull bae-agent[419]: 00:00:06.432 [I] Mle-----------: AttachState ChildIdReq -> Idle
Sep 13 06:24:16 centauri-imx6ull bae-agent[419]: 00:00:06.433 [N] Mle-----------: RLOC16 fffe -> 9c00
Sep 13 06:24:16 centauri-imx6ull bae-agent[419]: 00:00:06.445 [N] Mle-----------: Role detached -> leader

Another point that I noticed is cli output you posted, says Master key instead of Network key.
This indicates you are running a rather older commit  of OpenThread before https://github.com/openthread/openthread/pull/6721 (I highly suggest updating to newer version).

Thanks for the response @abtink

Do you maybe call state leader CLI command or the otThreadBecomeLeader() API from your application code? These are intended for testing and should not be used.

Yes, I used state leader CLI command for testing purpose for checking the gateway openthread state. What's the standard practice for knowing the openthread state of the gateway?

Another point/suggestion: I noticed from cli output you posted, it says Master key instead of Network key.
This indicates you are running a rather older commit of OpenThread before https://github.com/openthread/openthread/pull/6721 (I highly suggest updating to newer version).

The posted logs are of openthread end-device which has an older openthread version. On the gateway side, I have the latest openthread version.

Any device would try 6 attach attempts before assuming it is the only/first device and taking over leader role. This is not what we see in the logs.
We see in your logs that only one attach attempt (and we see device does indeed find a parent and even sends "Child ID Request" to it) but soon afterwards it show it its role being change to leader. This hints at use of the APIs above).

I got your point, I haven't changed anything related to the attach attempt process in openthread stack. Can you please guide me on how I can verify or make it to do 6 attach attempts?
Also sometimes the gateway gets Detached when we restart it as mentioned in the previous conversation
Please let me know in case you need more information.
Thanks in advance for any help/support.

Yes, I used state leader CLI command for testing purpose for checking the gateway openthread state. What's the standard practice for knowing the openthread state of the gateway?

This is likely the root of the issue you are seeing.
You can use state CLI command  (without any additional argument) to check the current state of the device.
If you use state leader CLI command, you are forcing device to become leader which explains the behavior you are seeing.  The state leader command is only intended for testing and for situation were user intentionally want to test certain behaviors  and know the consequence of calling this API. Calling this API makes your devcie non-coplicant with Thread spec (the API documentation)

Sorry for the typing mistake, I always use ot-ctl state command to check the openthread state of the gateway.
Please consider ot-ctl state CLI command instead of state leader CLI command in this reply and suggest some solution.
Thanks in advance for any help/support.

@gokul-bhalodiya-7 you want to collect logs and debug and understand the issue on your devices.
Here are some general suggestions.

Try to update all devices to later versions of OT.
Collect logs from "gateway" device that claim is not working correctly and check its logs.
Collect logs from other devices when you restart your gatway
Check your application layer code and command that you issue on the gateway and ensure that they are correct.

Thanks for the support @abtink and @jwhui
I will check the logs and do what is needed as you suggested and then I will get back to you after that.

Closing stale issue.


Show appointments with the same Start on the same line

Maybe possible with grouped list, with the group template being a horizontal stackpanel

https://stackoverflow.com/questions/44783636/vertical-listview-with-horizontal-groups

Due to an issue with the AdaptiveGridView (https://github.com/Microsoft/UWPCommunityToolkit/issues/1246) the styling of appointments doesn't work. I'm not sure how to workaround this, yet, as a StyleSelector is the only way I know of to access individual items to be styled.


Support bulk actions in repeater

Handling the addition of "bulk actions". Now when multiple items are selected returns all items with each items properties and the item itself.
Fixes issue #1408

Hold till multi select is complete

Fuel UX Repeater List - should handle selectable (multi) option correctly...ERROR is failing now.

@interactivellama yeah I was in the middle of merging. I dont know why it pushed that commit I wasnt ready to push the merge and my updates yet.


Unclear where validation fails and not automatically fixing encoding

Have reviewed #182; would like to request the ability to know where and why the validation fails; even when there is no schema provided.

Data: http://leowmjw.github.io/selangor_adun_2016/data/573ef1d66373766db400013b.html
Validation Failure: http://csvlint.io/validation/573ef4906373766db400013c
Output:

Schema problem: Inconsistent value in column 13

The data in column 13 is inconsistent with others values in the same column.

Schema problem: Inconsistent value in column 14

The data in column 14 is inconsistent with others values in the same column.

Context problem: Incorrect Encoding

Your CSV appears to be encoded in ASCII-8BIT. We recommend you use UTF-8.

Suggestion:

Should show which row(s) of data causing the validation failure (and the reason), even when no provided schema
When download the "Standardised CSV"; give option to automatically fix encoding to UTF-8

Hi @leowmjw - appreciate my reply is very cold coffee. I'm working with the ODI to support their Open Source Software and I'm going through the issues on the repositories. I think the issue you've flagged is better broken into two distinct tickets.
Suggestion 1 seems a better fit for the CSVlint library that powers the service, so Ill open an issue against that.
I think we can make suggestion 2 the body of this issue

This issue was moved to theodi/csvlint.rb#205


Execution failed for task ':@react-native-community_netinfo:verifyReleaseResources'.

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':@react-native-community_netinfo:verifyReleaseResources'.

501 exceptions were raised by workers:
com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.0-5326820-windows Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.

Versions

 Android: 3.1.4
"@react-native-community/netinfo": "^3.2.1",
"react-native": "0.59.9",
"react": "16.5.1",

:wave: Can you run ./gradlew clean inside the android directory and try the build again?

👋 Can you run ./gradlew clean inside the android directory and try the build again?

already done

Can you try running the Gradle command with --info and send over the full stack trace. It would also be useful to have the contents of your build.gradle, app/build.gradle, and Gradle.properties files.

I am getting the same issue
Android: 3.2.1
"@react-native-community/netinfo": "^4.1.1",
"react-native": "0.60.3",
"react": "16.6.3",

Can someone provide the full output when running ./gradlew assembleDebug --info? It's hard to look into this without more detail.

Can someone provide the full output when running ./gradlew assembleDebug --info? It's hard to look into this without more detail.

Execution failed for task ':app:processDebugResources'.
> Android resource linking failed
  [USER_PATH]/.gradle/caches/transforms-2/files-2.1/623d9f61456c1a1160b7b374b8b45590/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

  [PROJECT_PATH]/android/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-v28/values-v28.xml:11: AAPT: error: resource android:attr/dialogCornerRadius not found.

[USER_PATH].gradle/caches/transforms-2/files-2.1/092bd41dfd9a392fa137f2d7f709d28f/res/values/values.xml:3:5-141:23: AAPT: error: resource android:attr/fontVariationSettings not found.

  [USER_PATH]/.gradle/caches/transforms-2/files-2.1/092bd41dfd9a392fa137f2d7f709d28f/res/values/values.xml:3:5-141:23: AAPT: error: resource android:attr/ttcIndex not found.

 [USER_PATH].gradle/caches/transforms-2/files-2.1/623d9f61456c1a1160b7b374b8b45590/res/values/values.xml:2796:5-2864:25: AAPT: error: resource android:attr/textFontWeight not found.

  error: failed linking references.

I've set implementation 'androidx.appcompat:appcompat:1.1.0-rc01' in my app-level build.gradle and seems like android:attr/dialogCornerRadius not found. Also I have compileSdkVersion = 28 in my root build.gradle

Guys, finally found what's going wrong.
I have
afterEvaluate { project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 26
                buildToolsVersion '26.0.3'
            }
        }
    }

block in my root build.gradle. Make sure you bump all content to 28 version. So:
afterEvaluate { project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion 28
                buildToolsVersion '28.0.3'
            }
        }
    }

And
buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 16
        compileSdkVersion = 28
        targetSdkVersion = 26
        supportLibVersion = "28.1.1"
    }

in same file as I described below

Yes, you need to ensure that you are using the correct version of the Android build tools for your project.
It sounds like that might be the issue for everyone, so I'm going to close this issue. Please let me know if that's not the case and I will reopen it.

Hey @matt-oakes , that's not the case with me, it seems that the build.gradle have the correct versions as said required i.e. 28.
But still no luck, facing below error-
Execution failed for task ':app:mergeDebugResources'
com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.4.2-5326820-windows Daemon #0: Daemon startup failed
Please reopen this one and help us with the issue.   Thank you in advance.

Hi,
in my case i have the following error;
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':react-native-community-netinfo:generateDebugRFile'.

No non-density apk found

after gradle clean command it fixes bu i constantly repeats. i have to clean after each successfull run.

i change ext inside buildscript
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 19
compileSdkVersion = 28
targetSdkVersion = 28
RNNKotlinVersion = "1.3.71"
RNNKotlinStdlib = "kotlin-stdlib-jdk8"
}
}
to this
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 19
compileSdkVersion = 28
targetSdkVersion = 26
RNNKotlinVersion = "1.3.71"
RNNKotlinStdlib = "kotlin-stdlib-jdk8"
}
}
and use  gradlew clean
It worked for me

You'll need to bump that target up to 29 shortly per google play policy, they won't allow updates to apps after Oct 31 unless you have target 28

Hi,
in my case i have the following error;
FAILURE: Build failed with an exception.
* What went wrong:
  Execution failed for task ':react-native-community-netinfo:generateDebugRFile'.

No non-density apk found

after gradle clean command it fixes bu i constantly repeats. i have to clean after each successfull run.

Hi Sir @osmankoc
I faced the same problem with you, So did you solve this problem???

Hi,
in my case i have the following error;
FAILURE: Build failed with an exception.
* What went wrong:
  Execution failed for task ':react-native-community-netinfo:generateDebugRFile'.

No non-density apk found

after gradle clean command it fixes bu i constantly repeats. i have to clean after each successfull run.

Hi Sir @osmankoc I faced the same problem with you while i running "npm run android release" on my local machine , So did you solve this problem???

I am facing the same issue had you got any solution for it

Hii ,All I have the same issue on My applications while cleaning gradlew clean also and also i try above cases its not fixed. Anyone help me with this issue..
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':react-native-community_netinfo:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 13s
My System Versions:
System:
OS: Windows 10 10.0.19043
CPU: (12) x64 Intel(R) Core(TM) i7-10810U CPU @ 1.10GHz
Memory: 3.02 GB / 15.61 GB
Binaries:
Node: 16.13.0 - C:\Users\THIRUM~1.PAU\AppData\Local\Temp\yarn--1637666270789-0.555830949187911\node.CMD
Yarn: 1.22.17 - C:\Users\THIRUM~1.PAU\AppData\Local\Temp\yarn--1637666270789-0.555830949187911\yarn.CMD
npm: 8.1.3 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version     2<IP_ADDRESS> AI-203.7717.56.2031.7784292
npmPackages:
react: ~16.9.0 => 16.9.0
react-native: ~0.61.5 => 0.61.5


Added a new function to calculate nth fibonacci number using golden r…

…atio, Closes:#221

Hi @jlsneto I have added the requested changes, kindly review. Post this I will work on test case restructure!!


Create Joulay.html

A new friend

Your pull request looks good, and is ready for merging!
Thank you for being a part of Open Source, I hope you continue to help other repositories in the future!
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

6932a8d51a735c50d686a1e445ca2fec1c5b9d49


unmet deps conflicts

This layer errors with http://paste.ubuntu.com/23310783/

What version of Ubuntu?
On Tue, Oct 11, 2016, 8:34 PM jamesbeedy<EMAIL_ADDRESS>wrote:

This layer errors with http://paste.ubuntu.com/23310783/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/battlemidget/juju-layer-node/issues/9, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAET1ZTCqNRoZTef48lNCmTFP99o2D27ks5qzCsKgaJpZM4KUPxh
.

xenial

so we're installing both nodejs and nodejs-legacy but I think we want nodejs-legacy because of the executable issue? (/usr/bin/node being tied to another package?) do we need the 'nodejs' package as well?

looks like I forgot to specify the config values for 'install_sources' in my top layer ... they don't get puled through on build. I'm thinking I should be g2g with this latest rebuild, I'll reopen if issue persists.

@marcoceppi, @battlemidget, still getting the same error, even with the correct sources configured
Are you guys seeing the same thing?

@battlemidget I agree

I haven't hit this issue with my ghost charm, what about leaving the default sources?

@battlemidget do you mean this -> https://github.com/battlemidget/juju-layer-node/blob/master/config.yaml#L4 ?

Yea

@battlemidget yea, I am -> http://paste.ubuntu.com/23310826/, and still hitting the error