Vexiiriscv instructions

Could you provide some instructions on how to install and use this new version.
Is it similar to VexRiscv?
Thx

Hi,
So, currently, the only SoC i got using Vexii is ported to Litex.
It can run linux in single core config, i'm now working on memory coherency  / multi core, which works in sim, but i need to test on hardware + cleaning.
It is still WIP. What would you be interrested into (exactly) ?

Is it similar to VexRiscv?

Yes, but better <3, but i'm still working on reaching feature parity.

So far, you can generate VexiiRiscv that way :
https://spinalhdl.github.io/VexiiRiscv-RTD/master/VexiiRiscv/HowToUse/index.html#generate-verilog
There is a lot of arguments possible.
The interface generated will be the native one. Currently the only bridge implemented are toward tilelink (but not available there as an option yet, WIP)
Ultimately, bridge toward popular memory bus (wishbone axi ... ) should be added (WIP)

VexRiscv is perfect for what I was using for, but I would like to upgrade from VexRiscv for performance

That is one of the main goal of VexiiRiscv.
I'm realy looking forward for the software / hardware D$ prefetcher, that could reaaaaly help a lot in memory intensive cases.

Note that for now, the dual issue do a bit too much in the decode / dispatch stage (all together in one cycle), there is some work there planned to split things in two stages.


fix "take" command not honouring user option

"take" was simply a partial on "assign", but accidentally used the value
of $USER from the environment rather than opts["user"], preventing the
user from overriding this value in config.yml or as a command-line
argument.

Nice, thanks!
It sounds like your USER environment variable does not match the your user for jira?  You can change the default "USER" in your ~/.jira.d/config.yml so you wont have to use the --user option much.
user: coryb
editor: emacs -nw
endpoint: https://jira.company.com


Update to Ventura v13.2

Now that Ventura is out of beta this updates the workflows to the latest Ventura 13.2.
I have also removed the reference to Monterey Beta v12.5 in the DMG and ZIP workflows which didn't appear to do anything.

Sorry for the late reply I just saw this and I did not get any notification about this PR. I had this on my to-do list since before this and I'm working on it. Thanks anyway! I have other versions to update than Ventura also.

I'll ad some commits to

No worries, I made this change myself for my own actions pipeline just thought it might be good to share it upstream!


🐛 [firebase_crashlytics] Crashes not registered in Firebase Console

Bug report
Describe the bug
The Firebase console doesn't register a crash i.e. it says 'We'll be listening for your app to communicate with our servers' even though the app appears to have no Firebase exceptions, issues or error codes (such as 403s) and says 'Crashlytics completed exception processing'. We have waited several hours for the entry to appear.
Steps to reproduce
Steps to reproduce the behavior:

Add the package to an app for the first time.
Force a crash.
No entry will appear in the console.

Expected behavior
Entry to appear in console on crash.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.22.1, on Linux, locale en_GB.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Android Studio (version 4.0)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.10.1
Flutter SDK 1.22.1
app_name 0.0.0

dependencies:
- cupertino_icons 0.1.3
- device_info 0.4.2+8 [flutter device_info_platform_interface]
- firebase_admob 0.10.0+2 [meta flutter firebase_core]
- firebase_analytics 6.0.2 [meta flutter firebase_core firebase_analytics_web firebase_analytics_platform_interface]
- firebase_crashlytics 0.2.1+1 [flutter stack_trace firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface]
- fluro 1.6.3 [flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_redux 0.5.2 [meta redux flutter]
- flutter_staggered_grid_view 0.2.7 [flutter]
- http 0.11.3+17 [async collection http_parser path]
- intl 0.15.7 [path]
- package_info 0.3.2+1 [flutter]
- path_provider 0.4.1 [flutter]
- shared_preferences 0.4.3 [meta flutter]
- spritewidget 0.9.24 [flutter]
- sqflite 0.12.2+1 [flutter synchronized path]
- url_launcher 4.0.1 [flutter]
- uuid 1.0.3 [crypto convert]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- collection 1.15.0-nullsafety.3
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- device_info_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- firebase 7.3.0 [http http_parser js]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_core 0.5.0+1 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_crashlytics_platform_interface 1.1.1 [flutter meta collection firebase_core plugin_platform_interface]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- js 0.6.2
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- path 1.8.0-nullsafety.1
- plugin_platform_interface 1.0.3 [meta]
- quiver 2.1.3 [matcher meta]
- redux 3.0.0
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.3 [collection]
- vector_math 2.1.0-nullsafety.3

I noticed in the debug:
Scheduling upload for context TransportContext(cct, HIGHEST, [ID_REDACTED]=) with jobId=-1069337291 in 1000ms(Backend next call timestamp<PHONE_NUMBER>326)
As of now that timestamp is a number of hours away. I moved the system clock past the timestamp, reopened the app and the Crashlytics console immediately said 'installation successful'. So it looks like this issue could be caused by a long wait time and perhaps compounded by devs reinstalling the app before the report has a change to send. So perhaps not a bug but if the above is correct it could be useful to say in the guide that sending a report could take a very long time.

Actually looking closer that timestamp seems to be 02/11/52748 @ 4:52pm (UTC) so perhaps that's not the exact cause unless it just looks at the time or something and not the date? I move the system clock after 5pm (UTC). Either way moving the system clock seemed to have sent the report.

Ah it's in milliseconds so it's actually Sun Oct 11 2020 07:47:34

I've had the exact same problem.
I fixed it by re-coding everything so that the initialisation of Crashlytics and the crash were separated by at least 5 seconds. I just kept opening and crashing the app, the console responded after the second crash.
I agree that the issue is likely because the flutter workflow causes the previous crash log to be deleted when reinstalling.
The solution would be to reopen the app without using flutter after crashing it the first time and also ensuring there is enough time between initialisation and the actual crash so that the previous crashlog can be uploaded.

I had to setup the iOS version of my app with crashlytics, observed the same problem and had the same solution.

@RoganKnox
There's similar open issue describing your case, 3683.
Please follow-up there for updates and any questions.
Closing this as duplicate.


SSL channel error with every URL

Some Errors from the Partyline log:
SSL channel "sock55d421723a10": error: tlsv1 alert protocol version
[22:00:12] Connection to https://google.com failed
[22:00:12] Error: connect failed broken pipe
SSL channel "sock55d4217ab1e0": error: wrong version number
[22:00:08] Connection to http://www.wikipedia.com failed
[22:00:08] Error: failed to use socket
SSL channel "sock55d421723a10": error: tlsv1 alert protocol version
[22:00:12] Connection to https://google.de failed
[22:00:12] Error: connect failed broken pipe
Some System Background:
[root@server ~]# uname -a
Linux server 5.17.9-300.fc36.x86_64 #1 SMP PREEMPT Wed May 18 15:08:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Package tdom-0.8.2-32.fc36.x86_64 is already installed.
Package tcltls-1.7.22-5.fc36.x86_64 is already installed.
htmlparse.tcl -> /usr/share/tcl8.6/tcllib-1.20/htmlparse/htmlparse.tcl

That's strange, I have tcl-tls:amd64                        1.7.20-1 and do not have problems with old tlsv1.
You're sure the machine doesn't pass through some kind of proxy for https traffic?

It was working before i updated from Fedora 35 to Fedora 36. Did some traceroutes and checked with regular curl wget and the likes. Dont think it is a proxy or transparent proxy. Also rebooted the machine .. disabled selinux. Not sure whats going on, but i suspect that updated package versions like tcltls tdom or htmlparse broke something.

Must have been something with my setup. Resolved.


Warning: Aspiration of more than volume in a well

As a user I'd like to know when i'm trying to aspirate liquid that isn't there
Acceptance criteria

Warning to alert user they are trying to aspirate more than current contents from well(s) in their action

Designs

Title: Not enough liquid in well
Body: You are trying to aspirate more than the current volume of one of your well(s). If you intended to add air to your tip please use the airgap advanced setting.

Duplicate of 1089

Duplicate of 1089


added stateless flag

Fixes #6469 .
Added stateless mode flag that accepts a boolean value to enforce remote_write config when set to true.

Umm, I don't think this fixed the issue. The issue actually wants to support remote write while enabling the stateful TSDB at the same time.

Umm, I don't think this fixed the issue. The issue actually wants to support remote write while enabling the stateful TSDB at the same time.

@yeya24 I figured that. However I'm not sure how to implement the latter. I could really use some help.

This is the stateful mode (tsdb mode) https://github.com/thanos-io/thanos/blob/main/cmd/thanos/rule.go#L403.

@yeya24 I realize now that I completely misunderstood the issue, thank you for the help here. I think the condition len(rwCfgYAML) > 0 is what caused remote-write-config flag to enable stateless mode every time. I think replacing len(rwCfgYAML) > 0 with just if (stateless) else {...} would be the right thing to do here. I still am not 100% sure so please correct me if I'm wrong, and I'll also remove the if condition from
if isStateless {
		rwCfgYAML, err = conf.rwConfig.Content()
		if err != nil {
			return err
		}

I don't think it's necessary here.

another question, the only time when length of rwCfgYAML would be 0 when user doesn't provide the remote-write-config flag right?

I think replacing len(rwCfgYAML) > 0 with just if (stateless) else {...} would be the right thing to do here. I still am not 100% sure so please correct me if I'm wrong, and I'll also remove the if condition from

As I said, it is not as easy as it looks. We need to enable both remote write and tsdb which I am not sure we are able to do without major code changes.

I think replacing len(rwCfgYAML) > 0 with just if (stateless) else {...} would be the right thing to do here. I still am not 100% sure so please correct me if I'm wrong, and I'll also remove the if condition from

As I said, it is not as easy as it looks. We need to enable both remote write (the agent mode) and tsdb which I am not sure we are able to do without major code changes. I am not 100% sure but in theory we cannot enable both. It would be good if you can try to test and see if it works as expected

Not sure if I'll be able to do that but I'll give this a good thought and a try!


Introduce New Observability - Remaining events

Close #1059

@cryptoAtwill thank you very much for the review. I have addressed the comments.


Account Experience Registration Crash

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[ ] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Ory Network Project
No response
Describe the bug
some times ui flow returns null

Reproducing the bug

Create Project
Go To Account Experience
Click Registration

Observe error

Relevant log output
No response
Relevant configuration
No response
Version
WEBSITE
On which operating system are you observing this issue?
None
In which environment are you deploying?
Other
Additional Context
https://console.ory.sh

Hey @ahmedrowaihi
I am not able to reproduce this on a fresh project.
Do you maybe have some browser plugins / VPN running or something along those lines?

Hey @ahmedrowaihi I am not able to reproduce this on a fresh project.
Do you maybe have some browser plugins / VPN running or something along those lines?

no, it appeared once, in some cases ui.nodes are null
we need to handle that

I see. Can you share more details in what cases this happens? Definitely need some way to reproduce this.

Thanks for the video, that makes it clear!
That should not happen. I guess its a "misconfiguration" if you remove all authentication methods, but still should not result in a crash.


selectCallback Removed?

I'm following this tutorial to add color swatches but it looks like the selectCallback function was removed?
https://help.shopify.com/themes/customization/showcase-products/add-color-swatches
Is there an updated tutorial on how to add swatches?

@yangkennyk Slate isn't using the globally hosted option_selection.js script which that tutorial requires in order to work.  It's not made clear in that tutorial, but you'd pass selectCallback to a property of a new Shopify.OptionSelectors instance.  You can find a bit more information about that file here: https://help.shopify.com/themes/customization/products/use-products-with-multiple-options
You can achieve a fair amount of this tutorial with HTML and the product.options_with_values drop to get the swatches without JavaScript.  For the JS interactions, you'll need to write your own function for your theme in a file likeproduct.js (Slate example) - could be any file you'd want, though.

Is there an updated tutorial on how to add swatches?

There are no plans to update the existing public tutorials with examples of using Slate at this point.  Writing functionality like swatches is something that would be written into your theme's /src files as opposed to in the product templates.

thanks for the response! I ended up getting it to work after trial and error.
for the select callback portion I added it to the _onSelectChange method in variants.js
`		/**
* Event handler for when a variant input changes.
*/
_onSelectChange: function() {
var variant = this._getVariantFromOptions();
this.$container.trigger({
type: 'variantChange',
variant: variant
});
		if (!variant) {
			return;
		}

		this._updateMasterSelect(variant);
		this._updateImages(variant);
		this._updatePrice(variant);
		this.currentVariant = variant;

		if (this.enableHistoryState) {
			this._updateHistoryState(variant);
		}
		// BEGIN SWATCHES
		var selector = this.originalSelectorId;
		if (variant) {
			var form = $(selector).closest('form');
			for (var i=0,length=variant.options.length; i<length; i++) {
				var radioButton = form.find('.swatch[data-option-index="' + i + '"] :radio[value="' + variant.options[i] +'"]');
				if (radioButton.size()) {
					radioButton.get(0).checked = true;
				}
			}
		}
		// END SWATCHES
	},`

Nice! Glad to hear it's working. 👍
Going to close this issue now.

Hey @yangkennyk! Nice job on getting this working in the new framework. Would you mind sharing the modifications you made to get it working? I'm having trouble figuring out how to attach the swatches to the _onSelectChange event.  I'm assuming (perhaps naively) that getting that hooked up will then take care of updating the price, image, and Add to Cart buttons.

@yangkennyk Same as @cobblehillmachine I'm having trouble making this work. Did you follow all other steps from the Shopify's tutorial at this link or did you change anything else?
I get radio buttons to show, but no value is updated by selecting one radio button. Thanks!

@cobblehillmachine @sebastijandumancic
I can't remember the modifications I made. I just remember it was a lot of trial and error. I'm also using it in combination with the AJAX cart from https://shopify.github.io/Timber/ as well.
you can check out the source code and when I have time I can isolate out what I did. (swamped at the moment!)
https://boxedwaterisbetter.com/products/500ml-boxed-water

Thanks, I'll look into this 👍

@yangkennyk I am trying to get this working as well with no luck.
I've followed https://help.shopify.com/themes/customization/showcase-products/add-color-swatches
added the following to variants.js
// BEGIN SWATCHES
			var selector = this.originalSelectorId;
			if (variant) {
				var form = $(selector).closest('form');
				for (var i=0,length=variant.options.length; i<length; i++) {
					var radioButton = form.find('.swatch[data-option-index="' + i + '"] :radio[value="' + variant.options[i] +'"]');
					if (radioButton.size()) {
						radioButton.get(0).checked = true;
					}
				}
			}
			// END SWATCHES

added the following to theme.liquid
jQuery(function() {
  jQuery('.swatch :radio').change(function() {
    var optionIndex = jQuery(this).closest('.swatch').attr('data-option-index');
    var optionValue = jQuery(this).val();
    jQuery(this)
      .closest('form')
      .find('.single-option-selector')
      .eq(optionIndex)
      .val(optionValue)
      .trigger('change');
  });
});

and this is the form I have in product.liquid
<form action="/cart/add" method="post" enctype="multipart/form-data">
      {% unless product.has_only_default_variant %}

        {% for option in product.options %}
          {% include 'swatch' with option %}
        {% endfor %}

      {% endunless %}

      <select name="id" class="no-js" data-product-select>
        {% for variant in product.variants %}
          <option
            {% if variant == current_variant %} selected="selected"{% endif %}
            {% unless variant.available %} disabled="disabled"{% endunless %}
            value="{{ variant.id }}">
              {{ variant.title }}
          </option>
        {% endfor %}
      </select>

      {{ 'products.product.quantity' | t }}
      <input type="number" id="Quantity" name="quantity" value="1" min="1">

      <button
        type="submit"
        name="add"
        data-add-to-cart
        {% unless current_variant.available %}disabled="disabled"{% endunless %}>

            {% if current_variant.available %}
              {{ 'products.product.add_to_cart' | t }}
            {% else %}
              {{ 'products.product.sold_out' | t }}
            {% endif %}

      </button>
    </form>

Any idea what Im missing?

@sebastijandumancic @yangkennyk @cobblehillmachine Did you all figure this out? I'm trying to determine if adding the Timber Ajax cart is necessary to get the radio buttons jiving with variant.js.  Working on isolating the timber ajax cart files at the moment, would appreciate the help, and I'm happy to make a Slate fork with Timber Ajax Cart, or otherwise document the drop down to radio button conversion since this I've seen lots of questions but no solutions as of yet.

I was able to make this work by fusing the existing slate loop for , and the one from the product-options
look like so:

<form action="/cart/add" method="post" enctype="multipart/form-data">
  {% unless product.has_only_default_variant %}
    {% for option in product.options_with_values %}

        {%- assign i = forloop.index0 -%}

          {{ option.name }}

        (i)
        {% for value in option.values %}
          <input class="swatch-element" id="SingleOptionSelector-{{ i }}-{{ value | handle }}" data-single-option-selector data-index="option{{ option.position }}" type="radio" name="SingleOptionSelector-{{ i }}" value="{{ value | escape }}"{% if forloop.first %} checked{% endif %}  {% unless current_variant.available %}disabled="disabled"{% endunless %} >
          {{ value }}
        {% endfor %}

    {% endfor %}
  {% endunless %}

  <select name="id" class="no-js" data-product-select>
    {% for variant in product.variants %}
      <option
        {% if variant == current_variant %}selected="selected"{% endif %}
        {% unless variant.available %}disabled="disabled"{% endunless %}
        value="{{ variant.id }}">
          {{ variant.title }}
      </option>
    {% endfor %}
  </select>

      {{ current_variant.price | money }}

    {% if product.compare_at_price_max > product.price %}
      {{ 'products.product.regular_price' | t }}
      <s data-compare-price>
        {% if current_variant.compare_at_price > current_variant.price %}
          {{ current_variant.compare_at_price | money }}
        {% endif %}
      </s>
    {% endif %}

  <button
    type="submit"
    name="add"
    data-add-to-cart
    {% unless current_variant.available %}disabled="disabled"{% endunless %}>

        {% if current_variant.available %}
          {{ 'products.product.add_to_cart' | t }}
        {% else %}
          {{ 'products.product.sold_out' | t }}
        {% endif %}

  </button>
</form>

AND
adding the swatches code to _onSelectChange function in variant.js [like @yangkennyk]
👍

@dirad just tried the following but the variants don't seem to be changing the state correctly. Any ideas? Kind of hitting my head against the wall with this one.

Note: it doesn't even look like my _onSelectChange is firing for variant. I put a debugger there in the function is never called.

Figured it out my product.liquid file wasnt including this in the container div so events weren't being attached. Seems to be working now.
    {% unless product == empty %}

    {% endunless %}

@joshbedo

my product.liquid file wasnt including this

did you remove it? i am guessing we are both using Slate and should have similar product.liquid files...

Has anybody gotten this working with variant history functioning as well?
Using the snippet @dirad posted along with the change to the variants.js from @yangkennyk has the swatches mostly working for me. However 2 issues still remain:

Having the first variant out of stock doesn't show on page load. I believe this is because the if (variant.available) isn't running until _onSelectChange is triggered. Still digging on this though. If you select another variant, then select the first again the out of stock will show though.
Second issue I'm seeing is with the variant history. Despite it being enabled in the product form data-enable-history-state="true" it's not working correctly, whenever you refresh the page after selecting a variant, it defaults the swatches back to the first variant (even if it's out of stock) regardless of the variant parameter that's set in the page url. I'm thinking it has something to do with the dom structure of the swatches, because the history works fine with the stock slate or debut variant dropdowns.

I'm still debugging this, but if anybody has suggestions they would be most welcome. If this feature is fully functional on slate that would be awesome! It still amazes me that swatches and sub-categories are not native to Shopify..

@curiouscrusher
In my case the swatches do update according to the URI [even without the change trigger] , and if i add the loaded variant to the cart, it shows up correctly.
However the checked options are not displaying correctly.  They always show the first option as checked.
Furthermore, if i look at the DOM and change an option, the checked value doesnt change from one input to the other but the CSS i wrote for it shows as if it did!

I made a quick view on the collection pages. The _onSelectChange is not firing. I got this working on the individual product pages but cant make it work on the collection page. Does anybody knows how?

I got the swatches to work correctly except for when the page is reloaded. If you refresh the page is just selects the first swatch. Any way to go around this?

@dirad Thanks so much for your help with this.
Has anyone figured out how to get the swatches to select the radio button after a refresh? @adrianocr example isn't working for me.

@dirad Thanks so much for your help with this.
I've figured out how to get the refresh to work using @dirad's fix.
Just replace this line within the input:
{% if forloop.first %} checked{% endif %}
With the follow:
{% if option.selected_value == value %} checked{% endif %}


How to connect to private registry via SSL?

Since Boot2Docker is now deprecated and you are encouraged to use docker-machine instead, I ask myself how to add a certificate from my private docker registry. My usual way of doing it was to add the cert to /etc/certs.d//ca.crt and exit, boot2docker save , down and up.
Since boot2docker save is no more: How is this meant to be accomplished now?
Cheers,
Christian

cc @tianon @SvenDowideit @ehazlett for discussion and recommendations

+1 waiting for a solution or a workaround..

Here is a hack to make it work until a better solution arrives. Note that the cert should be base64 encoded.
docker-machine.exe scp ca.crt default:.
docker-machine.exe ssh default
sudo mkdir -p /etc/docker/certs.d/<fully-qualified-host-name>
sudo mv ca.crt /etc/docker/certs.d/<fully-qualified-host-name>/ca.crt

Isn't /var/lib/boot2docker/certs set up in the VM on the persistent storage specifically for this right now?  ie, https://github.com/boot2docker/boot2docker/blob/30800b21799f3aedba2150c729aeafc13baad8d9/rootfs/rootfs/etc/rc.d/install-ca-certs, which runs at boot

yup.

@tianon Sorry, don't get you?

Note to self: Add this to docs.

@christianhuening specifically, something like this seemed to work for me:
host$ docker-machine scp my-private-ca.pem my-machine-name:/tmp
host$ docker-machine ssh my-machine-name

docker$ sudo mkdir /var/lib/boot2docker/certs
docker$ sudo cp /tmp/my-private-ca.pem /var/lib/boot2docker/certs
docker$ exit

host$ docker-machine restart my-machine-name

@shepmaster Thanks! much appreciated!

@nathanleclaire maybe this issue could be repurposed as a note to add the info to the docs as appropriate?

Yeah, I think I will add one.


Grid links on landing page are incorrect

Description
A clear description of the bug is:
Both links are redirecting to a 404 page.
https://www.threefold.io/build/
https://www.threefold.io/grid/

Must include any relevant identifiers, like:

Network: testnet

Version: 2.3.0-rc3

Work Completed:

Remove Use the grid button
Update learn about the grid link to manual

Blocked on https://github.com/threefoldtech/tfgrid-sdk-ts/pull/2376#issuecomment-1987174096

The links after logging in are fixed.

But the ones before logins aren't.

Work Completed

Update Learn about the grid button with manual link.
Remove Use the grid button.

Verified, Devnet d965ce4.
The links now direct to the manual page, before and after the login.

TC2319 - welcome page in dashboard

Verified

Devnet
c98400f


Add missing test of release task of setting fee claimer address

Fixes #1447
Overview
Add missing test of release task of setting fee claimer address
Testing
OMG.ChildChain.ReleaseTasks.SetFeeClaimerAddressTest
  * test when configured properly correct address is set (6.4ms)
  * test env var has always to be set or task will fail (0.03ms)
  * test address has to have a proper lenght of 20-bytes (0.03ms)
  * test chars casing or leading 0x does not affect the value (0.04ms)
  * test zero address is not accepted value (0.03ms)

Coverage remained the same at ?% when pulling abacfd8b7ec2eeee4cd105aa53551c8be7f98ea3 on papa/1447-add-missing-release-task-test into 14cd9c7f67d165595af8fdc418d57cc39c7a51ad on master.


widget/widget: Added 'In' that will check 'Rect' and 'mask'

This check is used to know if the action happened inside of the widget boundaries or not
Closes #224

This is fine for now, but we should look to move the transparent stuff to widget in the future.


Webhooks setup using CLI don't show in Amplify Console

AWS Cloudformation does not yet have the functionality to produce webhooks for incoming events. (In this case a headless CMS). Therefore after a successful Amplify stack is created, a webhook is created using the following command.
aws amplify create-webhook --app-id XXXXXXXXX --branch-name XXXXXX
And returns the the following:
 "webhook": {
        "webhookArn": "arn:aws:amplify:eu-west-2:xxxxxxxx:apps/xxxxxx/webhooks/xxxxxx",
        "webhookId": "xxxx-xxxxx-xxxx-xxxx-xxxxx",
        "webhookUrl": "https://webhooks.amplify.eu-west-2.amazonaws.com/prod/webhooks?id=xxxxx",
        "branchName": "master",
        "createTime":<PHONE_NUMBER>.156,
        "updateTime":<PHONE_NUMBER>.156
    }

However this does not appear in the AWS Amplify Console UI.

Is this expected or is there an alternative CLI call?

@poolieweb, can you try refreshing the page?

@poolieweb , did refreshing the page work for you?

No, refreshing the page did not work.

Hi @poolieweb I was not able to reproduce the issue. Can you try deleting the webhook and then re-adding it.
Also check that your aws cli is configured with the same aws account as your Amplify app is associated with (aws sts get-caller-identity)


Introduce object metadata to app and route

Goal: Extend Fn resources to support attached key/value metadata set by API users or set and controlled by extensions.
(@zootalures's edits)
Use cases:

Simple fn user attributes/labels
Upstream plaform metadata : Set referential information on objects
Extensions: Allow passing data from user input to extensions (confguration of extensions)
Extensions: Allow indicating internally derrived/set values to user (API extension sets metadata, prevents user from changing it)

Examples
example : user attaches local metadata
PUT /v1/apps/foo

{
  app: {
   ...
    "metadata": {
         "mylabel": "super-cool-fn",
         "myMetaData": {
           "k1": "foo",
           "number": 5000
           "array" : [1,2,3]
         }
     }
  ...
  }
}

User sets extension-specific metadata:
PUT /v1/apps/foo
{
   ...
    "metadata": {
        "example.extension.com/v1/myval" : "val"
    }
  ...
}

Key syntax &  namespaces
A key is any UTF-8 string
The maximum (byte) size of a key is  128 bytes.
Keys are stored as free text with the object however normatively,  extensions must use a namespace prefix based on an identified domain and followed by at least one '/' character .
Extensions should not interact with metadata keys  that are not prefixed with their relative domain.
Value syntax
Values may contain any valid JSON value (object/array/string/number) except the empty string and null
The serialized JSON representation (rendered without whitespace) of a given value must not exceed a 512 bytes.
Modifying and deleting metadata keys
A key can be modified by a PATCH operation containing a partial metadata map indicating the keys to update (or delete)
A key can be deleted by a PATCH operation by setting its value to an empty string.
Maximum number of keys
A user may not add keys in a PATCH or PUT operation  such that the total number of keys exceeds 100 keys.
Fn may return a larger number of keys
Extension interaction with resource modification
An extension  may prevent a PUT,PATCH or POST operation on a domain object based on the value of a metadata key passed in by a user,  in this case this should result in an HTTP  400 error with an informational message indicating that an error was present in the medata and containing the exact key  or keys which caused the error.
Datastore impact
Type: text
Nullable by default
The maximum stored size for a given object (when stored serialized as a single JSON object) is :
2 + (max_internal_keys  * (6 + max_key_length  + max_value_length))
or about 74k.

General Questions for me:

Naming:  is "metadata" deifinitely right
Values:  using JSON objects as values - this seems convenient but might be a pain in SDKs

A key can be deleted by a PATCH operation by setting its value to an empty string.

for any type, correct? number/object/list/string ?

Values: using JSON objects as values - this seems convenient but might be a pain in SDKs

only concern here is if we want querying based on metadata it isn't easy to do this (afaik) on many datastores if it's a json blob in there. I suppose this could be used as a general tagging system as well and users may want tag-based querying. if tags are orthogonal and something else, tell me to go away. other than that, it LGTM

Will clarify PATCH behaviour -  I think empty string for all is what I had in mind  (!?!)  which does seem a bit odd - any ideas?
Also will make it clear that PATCH only applies to top-level values. (not modifying content of metadata objects)
Re querying : Yeah - good point :  was assuming no extra features here (no querying on tags)
For the service use case where metadata might be identifying I think I can work around that elsewhere
Thinking about options for querying in general, seems like a useful feature, but I think it would have to be opt-in on specific metadata tags based on extension (i.e. for a given install, some tags are queryable and others arent)
i.e. Tagomatic extension indexes x.tagomatic.com/tags/*
then query model tolerates an option like  : metadata:{"x.tagomatic.com/tags": ["foo","bar"]} and tagomatic does something to make that filter work against that index.

Trying to understand the context of this requirement (not the implementation). If this is not relevant to the discussion, please ignore.

What is a real-life example of where object metadata should be used?
Is it for configuration settings? For example if my function needs to talk to a backend DB instance (host name, user, encrypted pwd, etc.), or my function needs to talk to OAuth (domain, secret key, URLs, etc.), or some other backend service settings, etc.?
Is it for passing in environment-specific settings to my function so it can behave/be configured differently in different environments (dev, test, prod)?
It for cloud provider-specific information that OSS Fn won't directly have knowledge of (different for Oracle Cloud vs Google Cloud vs AWS)?
What else?

On Mon, Mar 12, 2018 at 7:50 AM Sachin Pikle<EMAIL_ADDRESS>wrote:

Trying to understand the context of this requirement (not the
implementation). If this is not relevant to the discussion, please ignore.

What is a real-life example of where object metadata should be used?

Extension may use the metadata as the simplest way to store
extensions-specific configurations. Consider that someone wants to
implement Kafka event-based trigger, so, there should be some kind of a
store where I can put Kafka credentials to let my extension reach it out
and function’s metadata is the perfect place to put such configuration.

Is it for configuration settings? For example if my function needs
to talk to a backend DB instance (host name, user, encrypted pwd, etc.), or
my function needs to talk to OAuth (domain, secret key, URLs, etc.), or
some other backend service settings, etc.?

Function by itself doesn’t have an access to its metadata. If your function
needs to talk to the database - use an app/route config.

Is it for passing in environment-specific settings to my function so
it can behave/be configured differently in different environments (dev,
test, prod)?

function has nothing to do with its metadata

It for cloud provider-specific information that OSS Fn won't
directly have knowledge of (different for Oracle Cloud vs Google Cloud vs
AWS)?

it could be whatever you want, as I mentioned before, metadata could be a
very useful for extensions, maybe, in a multi-cloud deployment, metadata
could be a compute scheduling hints.

What else?

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/fnproject/fn/issues/789#issuecomment-372200421, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC5L6wNQfCUcm0edBOxQ4-isYFCAgKOOks5tdgy4gaJpZM4SPSwZ
.

Thanks @denismakogon , will try and clarify in the issue content.

I would like to consider tagging/tags independently - as they are directly implicated in search wheras metadata does not need to be.  - Tagging may be a first class thing on functions.

one thing that seems confusing:
config and metadata are effectively the same thing, but appear to be intended for slightly different end-users, neither of which imply exactly whom this may be from their title alone. Aside from the concern of this not being very user friendly (which may be easy to ameliorate), is this correct?

config is for user's function code to get configuration info
metadata is for fn to get configuration about an app/route (say, a namespace id or some instance credentials)

how can we best delineate these two? is there a reason that the latter information should be omitted from the former (I think so? but not sure) or is this simply an issue that we want more robust (json object) than a key-value string pair?
the most recent comment also implies adding tagging separately, which means we have config, metadata and tags. perhaps this is ok, but if I'm a brand new user it's not immediately obvious what the crossover between these things are. maybe we need all 3, maybe just the names are easy to confuse what is what, it would of course be nice to have as few things as possible if at all possible. fwiw, lambda has tags and environment (==config), both exposed/set by user, but they may also internally have metadata (we may never know).

config and metadata are effectively the same thing, but appear to be intended for slightly different end-users, neither of which imply exactly for whom this may be from their title alone. Aside from the concern of this not being very user friendly (which may be easy to ameliorate), is this correct?

That is correct (although metadata also includes possibly user-immutable config/data generated by an extension that is passed back to the user (reference system information about the object))

how can we best delineate these two? is there a reason that the latter information should be omitted from the former (I think so? but not sure) or is this simply an issue that we want more robust (json object) than a key-value string pair?

I think they are independent at one level  - certainly from a multi-environment perspective - config is relevant to all deploys of  the same function in every environment (every function needs its config and the config is defined by the function image content/user code ) whereas the sort of vendor metadata we are looking at would be environment specific (defined by the configuration/extensions of the specific install that the user is targeting).  Namespacing  on metadata is a sleight of hand to ensure that user can define multiple configurations in a single place for different environments without those overlapping or causing problems.
Config forms an intrinsic part of the definition of a function in all cases, metadata forms part of the users definition of the function in a particular context. (perhaps "contextdata" or "vendorconfig" or "systemconfig"  is are better names)
At the end of the day everything is just an attribute on the function object(s) - providing a split at the top-level  do distinguish between these two cases is my preference as ultimately they are consumed independently and should be treated independently by a user.

the most recent comment also implies adding tagging separately, which means we have config, metadata and tags. perhaps this is ok, but if I'm a brand new user it's not immediately obvious what the crossover between these things are. maybe we need all 3, maybe just the names are easy to confuse what is what, it would of course be nice to have as few things as possible if at all possible. fwiw, lambda has tags and environment (==config), both exposed/set by user, but they may also internally have metadata (we may never know).

ack - I'd like to revisit tagging separately
lambda isn't an extensible platform so this makes me more comfortable about having it as a separate concern.
Once this is defined, consumers and generators will still need to be judicious about its use - I've tried to capture the system constraints here (numbers and sizes) but I'll also add a specific example

I'll get started on a PR and we can come round again on that.

I assume this should be attached to #714 ?

retconning the original issue to reflect annotatinos


[Tracking] ERC-20 token standard

### Tasks
- [x] ERC-20 base implementation
- [x] ERC-20 documentation
- [ ] https://github.com/OpenZeppelin/rust-contracts-stylus/issues/94
- [ ] https://github.com/OpenZeppelin/rust-contracts-stylus/issues/8

Closing as all sub-issues are finished.


[Progress Bar] With Text HTML Semantics Incorrect

There is a semantic issue with the Progress Bar With Text.
A paragraph tag isn't allowed inside a span tag. Block elements (ex:
) can't be nested inside inline block elements (ex: ).
The simplest way to fix this is next span tags.
Example:

    25%

Thoughts?

Yeah - makes sense to me! We'll merge in a PR on this, thanks Josh!

What about using the HTML5 progress bar? Probably would want to remove default system-like styles from it, though.

https://foundation.zurb.com/sites/docs/progress-bar.html#native-progress


add mocha as devDependency to lower package size

Moving mocha to devDependencies is like a good change, but why install mocha in npm test?

Yeah, that is superfluous. Just move it to devDependencies.

i like this package but i hate that it uses "mocha" that has another 24 Dependencies
https://www.npmjs.com/package/mocha?activeTab=dependencies

Moving mocha to devDependencies is a good change, but why install mocha in npm test?

Alright i removed the npm install in test script


Remove negative margin of grid for small screens

Describe the bug
There's an issue with the negative margin of the grid for small screens. It needs to be removed there.
To Reproduce
See the Co-Design PR on QPixel and open it in a small viewport.
Expected behavior
No scrollbar.

Should be fixed in a193460.


Add missing calico networkset crd and rbac permission

Calico experiencing issues post version upgrade due to missing new crd object and RBAC permission

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1774   +/-   ##
=======================================
  Coverage   24.76%   24.76%
=======================================
  Files          98       98
  Lines        5023     5023
=======================================
  Hits         1244     1244
  Misses       3640     3640
  Partials      139      139

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37d1ec7...996575c. Read the comment docs.


Jetty usage rework

As part of our overall POM restructuring work I need to tweak the way that Jetty is invoked in our build system. There is only a small number of modules that actually rely on Jetty so my plan is to move the Jetty configuration into those modules and remove it from the azure-sdk-parent POM file and also inline the configuration for those specific modules where it is required.
This will hopefully make our build system faster but also will just generally make our Maven usage cleaner.

/azp run java - eventhubs - ci

/azp run java - eventhubs - ci.data

/azp run java - storage - ci

/azp run java - core - ci


Design Layout of resources for automatic elements library Generation

Design the layout of the library elements as we want them to be generated via #484

Icons
All icons should be symbols
Structure
Each icon gets a row with all 4 sizes.

Naming
icon--name/16, icon--name/20. The / is important for symbol nesting structure. User will pick icon first and then size second.

Colors
Questions

For icons, should we keep the categories of icons that currently exist in the IDL kit and if so does that have any technical ramification with autogenerating the file.

Should/can we auto-generate type styles? And is there a way to define the color. Color is defined by theme and the element code does not include color. Would it be confusing to have type tokens in the element library and in each theme library as well?
Same question for color tokens. Currently color tokens are imbedded in each individual theme library. Should they stay there or be in both places, or only in the IDL library?

Should/can we auto-generate type styles?

I believe we can!

And is there a way to define the color.

Good question, I think we can do shared styles (not sure if that helps)

@joshblack I've updated the comment above just fyi

Thanks @aagonzales! Do we have access to categories yet for the icons btw?

@joshblack "Do we have access to categories yet for the icons btw?" do you mean in the metadata yml?

@chrisconnors-ibm I don't think it's in the metadata yet, unfortunately. Just saw that the icons above are in categories but I'm not sure where that information lives. We only have example ones in metadata: https://github.com/carbon-design-system/carbon-elements/blob/master/packages/icons/metadata.yml#L6

you can see their classification here: https://www.ibm.com/design/language/elements/icon-library
That's what's reflected in the existing IDL library too.
So how would we encode each icon to be in one (1) category? should that be a prop in the yml file?

Yeah, there is a categories list in the YML we can use, we can also convert it to only one field if we believe icons can only be in one category.

Categories field: https://github.com/carbon-design-system/carbon-elements/blob/master/packages/icons/metadata.yml#L5


RFC: GraphQL Support

Hi! Thanks for the awesome functionality provided by Flat Data!
I have come across the need to make a GraphQL query with Flat Data. Specifically, to gather a set of sponsors for a given GitHub organization. I want to then be able to fetch that data in a static website to show a dynamic list of sponsors. I also believe that there could be many other uses for GraphQL queries that are a natural fit for Flat Data.
I am willing to implement a Pull Request to address this functionality. Before I started implementing this change and level of effort I wanted to ensure the maintainers are open to incorporating the feature.
Any feedback is greatly appreciated! Thanks!

Hi there, thanks for the questions. This sounds like it could be very helpful and a great addition to Flat.
Would you mind detailing a bit what you're thinking of in terms of the implementation, so we can discuss before you spend the effort in submitting the PR? Is the idea to make the HTTP endpoint more customizable? Or to build an entirely different back-end for GraphQL (we currently have two back ends SQL and HTTP)?

Hi, thanks for the response!
At first glance my thought was to make a new back-end. It seems like a different enough use case that I wouldn't want to potentially impact already existing uses of the HTTP back-end. I also believe it might be easier to configure GraphQL concerns with a specific UI, though that is just a hunch. However, I do not have a strong opinion on this and if you believe a shared back-end is better I could rethink my approach.
I believe that the final end-user solution, particularly the VS Code extension, should be very similar to the HTTP process with the addition of a field/textarea for inputting the body of the GraphQL request.

Hi there, we decided to implement this ourselves because we wanted to implement something more generalized and less specific to GraphQL.
We landed on exposing an [axios_config](https://github.com/githubocto/flat#axios_config-optional) param that let's you pass in the request configuration as a JSON file.
Here's a full demo making a GraphQL query to the GitHub API. You'll notice the demo also shows you to use an authorization key as part of the request.

This is awesome! Thanks so much for implementing this functionality.


VIZ, ENH: allow show/hide annotations by label

closes #8578

@larsoner @hoechenberger @cbrnr One question I had when implementing this is: what should happen if someone toggles an annotation label to be invisible, but that label is still "selected", and then they click-drag on the plot to create a new annotation?  Currently what happens is the span selector shows during dragging, but the new annotation disappears as soon as the mouse button is released.  I don't think that's ideal, but the only alternative I could think of was for all annotations with that label to become visible when the mouse button is either pressed or released, either of which seem kinda weird from a UX point of view.  Thoughts?

I'd deselect it before hiding. It doesn't even have to be reselected when showing the type again.

as soon as I had an annot of type A then all annots of this type become
visible.
that's how I would do it

Using the MacOSX backend here. Running into two issues:

in fullscreen mode (tiling: Raw plot left, Annotations options right), something goes wrong when adding a new Annotation label. This problem already existed in master
something it off with the checkboxes. This also happens outside of fullscreen view.

@hoechenberger I don't know the details of how macOS's tiling works, but I wouldn't necessarily expect it to work smoothly, given that the figure is re-created each time a label is added.  Anything you can tell me about it that might help figure out what is going wrong?  The checkbox duplication and sizing is also weird; any ideas there?
Regarding how to handle adding an annotation when its label's visibility is turned off: after some reflection I think I prefer @agramfort's suggested fix (automatically switch visibility to true for that label) rather than @cbrnr's suggestion (automatically de-activate a label when it's made invisible).  The latter proposal forces us to handle a new situation: no annotations visible means no labels are selected (currently there is always one label selected), so we'd need to special-case what the SpanSelector should (not) do when no label is selected.  Certainly possible, but I think "auto-make-visible" a label is easier to implement, and about equal in terms of user expectations of what should happen in that corner case.  Ayone else want to weigh in?

I see the problem and I'm fine with @agramfort's suggestion. However, this means that at least one annotation type is always visible. I think it would be useful to hide all annotations, because sometimes annotations get in the way of the actual time series (especially in a data set with many different annotations). I don't know the best solution, but having a separate show/hide annotations would be one option (which is relatively independent from this PR).

I see the problem and I'm fine with @agramfort
https://github.com/agramfort's suggestion. However, this means that at
least one annotation type is always visible.

why? to me you make them all invisible. It's only when you add one that all
annot of this type become visible

It's only when you add one that all annot of this type become visible

Yes, this is what I had in mind. I'll move forward with that approach.

@hoechenberger do you want to test it?

@larsoner Yes I will have a look shortly.

It's only when you add one that all annot of this type become visible

Yes, this is what I had in mind. I'll move forward with that approach.

This isn't working for me yet, not sure if it was supposed to :)

It's only when you add one that all annot of this type become visible

Yes, this is what I had in mind. I'll move forward with that approach.

This isn't working for me yet, not sure if it was supposed to :)

working locally but I haven't pushed yet. Decided to see if I could also get useblit=True to work on the spanselector.

@drammock Can you add a changelog entry please? Otherwise, LGTM!!

Thanks a bunch, @drammock!


flutter doctor

执行不了 flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
log
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter doctor
exception
ArgumentError: Invalid argument(s): join(null, "Applications"): part 0 was null, but part 1 was not.
#0      _validateArgList (package:path/src/context.dart:1088:5)
#1      Context.join (package:path/src/context.dart:231:5)
#2      AndroidStudio._allMacOS (package:flutter_tools/src/android/android_studio.dart:203:29)
#3      AndroidStudio.allInstalled (package:flutter_tools/src/android/android_studio.dart:175:26)
#4      AndroidStudioValidator.allValidators (package:flutter_tools/src/android/android_studio_validator.dart:21:55)
#5      _DefaultDoctorValidatorsProvider.validators (package:flutter_tools/src/doctor.dart:88:51)
#6      Doctor.validators (package:flutter_tools/src/doctor.dart:144:46)
#7      Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:151:39)
#8      Doctor.diagnose (package:flutter_tools/src/doctor.dart:223:41)
<asynchronous suspension>
#9      DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:48:39)
<asynchronous suspension>
#10     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:478:18)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:383:33)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#13     _rootRun (dart:async/zone.dart:1124:13)
#14     _CustomZone.run (dart:async/zone.dart:1021:19)
#15     _runZoned (dart:async/zone.dart:1516:10)
#16     runZoned (dart:async/zone.dart:1463:12)
#17     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#18     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:375:20)
#19     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#20     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:396:21)
<asynchronous suspension>
#21     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#22     _rootRun (dart:async/zone.dart:1124:13)
#23     _CustomZone.run (dart:async/zone.dart:1021:19)
#24     _runZoned (dart:async/zone.dart:1516:10)
#25     runZoned (dart:async/zone.dart:1463:12)
#26     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#28     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#29     new Future.sync (dart:async/future.dart:224:31)
#30     CommandRunner.run (package:args/command_runner.dart:112:14)
#31     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#32     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:22)
<asynchronous suspension>
#33     _rootRun (dart:async/zone.dart:1124:13)
#34     _CustomZone.run (dart:async/zone.dart:1021:19)
#35     _runZoned (dart:async/zone.dart:1516:10)
#36     runZoned (dart:async/zone.dart:1500:12)
#37     run.<anonymous closure> (package:flutter_tools/runner.dart:60:18)
<asynchronous suspension>
#38     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#39     _rootRun (dart:async/zone.dart:1124:13)
#40     _CustomZone.run (dart:async/zone.dart:1021:19)
#41     _runZoned (dart:async/zone.dart:1516:10)
#42     runZoned (dart:async/zone.dart:1463:12)
#43     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#44     runInContext (package:flutter_tools/src/context_runner.dart:56:24)
<asynchronous suspension>
#45     run (package:flutter_tools/runner.dart:51:10)
#46     main (package:flutter_tools/executable.dart:62:9)
<asynchronous suspension>
#47     main (file:///b/s/w/ir/k/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#48     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#49     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

flutter doctor
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.4 18E226, locale
    zh-Hans-CN)
    • Flutter version 1.7.8+hotfix.3 at
      /Users/heguoqing/Documents/flutter/flutter
    • Framework revision b712a172f9 (2 days ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/setup/#android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, set
      ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS
      development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✗] iOS tools - develop for iOS devices
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with
      Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy

! Doctor found issues in 3 categories.

Have you explicitly removed HOME from your environment?

您是否明确删除HOME了您的环境？

不太明白您的操作

重装了mac系统, 解决了这个不知道什么问题的问题


Import absolute path of the component

I just figured out that semantic-ui-react is so heavy, I would like to use the components like
import Button from 'semantic-ui-react/Button'

instead of
import { Button, Form, Input, Menu, Segment } from 'semantic-ui-react';

in a hope to reduce the file size. But this import doesn't work.
Do you have any suggestion?

This is the analytic data for size of the library, it's so big (1.3MB parsed size) and I don't want to import all of the elements to my bundle (I just use a few elements).

Do you have any suggestions to deal with this issue?

BTW, here is detailed answer how to reduce bundle size.

Why is this issue closed?

Because this problem has a solution and was answered many times?


Added support for shell script runtime scripts

This was added by @olle in 0.20.x

use in uno file
[Require("Xcode.ShellScript", "xxxxxxxxxxx")]


Multi partition support - move service bus to common/shared resource group

Indexer queue needs to be triggered by the service bus. Storage needs to send the message to service bus. To support multiple partitions the easiest way to configure this for the time being is to have a single service bus rather than one per partition.
How messaging works in a multi partition setup will be rationalized when the notification service is deployed and integrated so this simpler solution for the current setup is preferred as it will need to be re-worked either way.
This service bus should live in the common resource group as if it was in services and it got recreated the connections to it would be broken.

@ashley-kelham -- So I'm trying to understand what exactly you are saying here. We are saying that until Notification Service comes online we will only use 1 Service Bus and there will be no planned changes for the indexer queue functionality and data partition service and all services will for now only use 1 Service Bus.
Based on that, what rational are you using that Common is the correct place for that.  My preference would be to move Service Bus over to the ServiceResources group.
@daniakodeih & @imran-siddique  - Please note this is a major architectural decision point being discussed here.

Correct.
The implementation of indexer queue is currently being reviewed but it shouldn't need changes as we see it because it uses the partition id header and only forwards the requests onto indexer service.
The service bus connection information would still be passed into Key Vault and retrieved by the partition service. This means storage service would change to pull the service bus connection information from the partition service. It would just pull the same connection info for every partition (but the service would be ignorant of this).
I was thinking of the use case of re-creating the service rg. If the service bus was recreated then the connection information (secret) would change but not updated in Key Vault. This would mean Storage service would be broken.

I believe that regardless of what configuration we put the Service Bus a configuration that creates something would have to own the responsibility of ensuring that information is in KV.  We currently have components that we are doing this in the Service Resource Configuration (postgres, redis, storage) that is used for Airflow.  I think the proper place for now actually is to move the Service Bus up into Service Resources.  I'll note that and ensure our architecture diagram is updated.

@ashley-kelham Okay I'm getting ready to start adding this piece in.  I think the approach that is best to take for now is the following.  Leave SB as part of the partition resource group but while multiple exist only 1 is used.  This will save me work later.

Closing this issue


Compilation error

Hi,
I got a compilation error under Fedora OS, while trying to build all the projects :
[  0%] Performing build step for 'ITK'
[  1%] Built target itksys
[  6%] Built target itkjpeg8
[ 11%] Built target itkjpeg12
[ 16%] Built target itkjpeg16
[ 17%] Built target itkzlib
[ 18%] Built target itkpng
[ 18%] Built target itkmkg3states
[ 20%] Built target itktiff
[ 21%] Built target itkopenjpeg
[ 21%] Building CXX object Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx: In function ‘bool MET_StringToWordArray(const char*, int*, char***)’:
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:800:3: error: ‘ptrdiff_t’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:800:3: note: suggested alternatives:
/usr/lib/gcc/i686-redhat-linux/4.6.1/../../../../include/c++/4.6.1/i686-redhat-linux/bits/c++config.h:156:15: note:   ‘std::ptrdiff_t’
/usr/lib/gcc/i686-redhat-linux/4.6.1/../../../../include/c++/4.6.1/i686-redhat-linux/bits/c++config.h:156:15: note:   ‘std::ptrdiff_t’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:800:13: error: expected ‘;’ before ‘l’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:802:13: error: expected ‘;’ before ‘p’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:803:9: error: ‘p’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:803:11: error: ‘l’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:809:13: error: expected ‘;’ before ‘pp’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:811:9: error: ‘pp’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:811:12: error: ‘l’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:824:3: error: ‘pp’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:824:6: error: ‘l’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:840:13: error: expected ‘;’ before ‘i’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:841:7: error: ‘i’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:843:8: error: ‘p’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:849:11: error: ‘p’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:853:5: error: ‘j’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:854:11: error: ‘p’ was not declared in this scope
make[5]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o] Error 1
make[4]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [ITK-cmake/src/ITK-stamp/ITK-build] Error 2
make[1]: *** [CMakeFiles/ITK.dir/all] Error 2
make: *** [all] Error 2
Any idea to solve it? Thanks in advance!
Regards

Adding the namespace "std" in front of ptrdiff_t on lines 800, 802, 809 and 840 of file /ITK/Utilities/MetaIO/metaUtils.cxx solves the problem.
Same bug solved on file ITK/Code/IO/itkImageIORegion.h in the typedef definitions.
Bug solved but not pushed (no access to the repository).
Regards

Same fix at line ITK/Code/IO/itkConvertPixelBuffer.txx.

ITK 3 (v 3.20) doesn't support gcc 4.6 correctly.
By default CTK, retrieves ITKv3, however you can provide to CTK a diffferent ITK
If you want you can use that following ITK version where the errors are fixed:

https://github.com/Slicer/ITK/commits/slicer-4.0
You can also use ITK v4 if you prefer.

Thanks for this answer.
I tried to use first ITK version from github, branch slicer-4.0,
and next ITK v4
but I still get the same kind of error in both cases...
Regards

If you have build issues with ITK v4, please contact the ITK mailing list:
http://www.itk.org/mailman/listinfo/insight-users
They will be the best ones to help you figure out the build problem (as I'm pretty sure you are not the only one who faced that issue).

Thanks for this advice. I told them about my problem!

Yes this is a problem caused by gcc 4.6 that is shipped with fedora15. the
new version of gcc doesn't include stddef anymore in all standard libs:
have a look at this:
http://massmail.spl.harvard.edu/public-archives/slicer-devel/2011/006478.html
On 14 October 2011 20:37, cmouton <
<EMAIL_ADDRESS>
Hi,
I got a compilation error under Fedora OS, while trying to build all the
projects :
[  0%] Performing build step for 'ITK'
[  1%] Built target itksys
[  6%] Built target itkjpeg8
[ 11%] Built target itkjpeg12
[ 16%] Built target itkjpeg16
[ 17%] Built target itkzlib
[ 18%] Built target itkpng
[ 18%] Built target itkmkg3states
[ 20%] Built target itktiff
[ 21%] Built target itkopenjpeg
[ 21%] Building CXX object
Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx: In
function ‘bool MET_StringToWordArray(const char*, int*, char***)’:
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:800:3:
error: ‘ptrdiff_t’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:800:3:
note: suggested alternatives:
/usr/lib/gcc/i686-redhat-linux/4.6.1/../../../../include/c++/4.6.1/i686-redhat-linux/bits/c++config.h:156:15:
note:   ‘std::ptrdiff_t’
/usr/lib/gcc/i686-redhat-linux/4.6.1/../../../../include/c++/4.6.1/i686-redhat-linux/bits/c++config.h:156:15:
note:   ‘std::ptrdiff_t’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:800:13:
error: expected ‘;’ before ‘l’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:802:13:
error: expected ‘;’ before ‘p’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:803:9:
error: ‘p’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:803:11:
error: ‘l’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:809:13:
error: expected ‘;’ before ‘pp’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:811:9:
error: ‘pp’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:811:12:
error: ‘l’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:824:3:
error: ‘pp’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:824:6:
error: ‘l’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:840:13:
error: expected ‘;’ before ‘i’
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:841:7:
error: ‘i’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:843:8:
error: ‘p’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:849:11:
error: ‘p’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:853:5:
error: ‘j’ was not declared in this scope
/home2/code/CTK/CTK-superbuild/ITK/Utilities/MetaIO/metaUtils.cxx:854:11:
error: ‘p’ was not declared in this scope
make[5]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaUtils.o] Error
1
make[4]: *** [Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [ITK-cmake/src/ITK-stamp/ITK-build] Error 2
make[1]: *** [CMakeFiles/ITK.dir/all] Error 2
make: *** [all] Error 2
Any idea to solve it? Thanks in advance!
Regards
--
Reply to this email directly or view it on GitHub:
https://github.com/commontk/CTK/issues/55

Thanks!


Migrate to CircleCI 2.0

Also use go 1.10.3, and sync with circle.yml from client.

This is also ready, but most of this is shared with https://github.com/keybase/client/pull/12371 so probably review that first.

I took a look at caching more stuff, but I'm not sure if it'll be worth it (see inline comments). If anything, I'd rather just save the effort for building our own docker image with whatever we need.
Also, the large size of the cache might be hurting CI times, since it may be more expensive to save the cache (which I suspect is mostly the android SDK) than it is to download the existing .zip.
Also I wonder if we can skip the yarn steps, since we're just building the go portions for KBFS. That might save a minute or so...
So unless you feel strongly, I'm inclined to merge this as-is and handle the issues later.

Okay, moved down checkout step, and removed node and yarn. Will merge once code freeze is over.


URL List to not break the connection?

Hi,
I am facing an issue where, if I enable a specific blocklist for xiaomi related devices on my DNS I no longer get a connection to my Roborock. If I disable that list, it immediately works.
My blocklist contains these links:
https://raw.githubusercontent.com/pottersfield/adguard/main/xiaomi_blocklist.txt
And my allowlist contains these links:
https://raw.githubusercontent.com/pottersfield/adguard/main/xiaomi_allowlist.txt
If you could tell me which links I would need to move from block to allow I would be much appreciated.
PS: I am only facing this issue with this xiaomi plugin. For my other xiaomi devices I am using another one which works just fine, so it seems your plugin relies on specific URL's for a proper connection.
Thx in advance!

Hey @pottersfield!
AFAIK, this plugin doesn't rely on any public URL. However, it uses UDP to communicate with the device. Could that be the cause of the connection being blocked?
Can you point me at any of the other plugins that work for you? I'd like to check if they managed to communicate over TCP. If I can copy that from them, I'll also solve some other issues from other users :)

Hi @afharo
Thx for your answer.
I am mainly using homebridge-miot
Hmmm if there is not really a connection to a URL it's strange that it cannot even connect to the device internally. As soon as I disable the blocklist and restart the plugin it establishes the connection, weird...
thanks for looking into this!

@afharo
Any update on this? 👀

@pottersfield, I just checked the repo you linked and the main difference is that mine sends the UDP packets in broadcast mode, while the other repo doesn't.
Can you try commenting https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/blob/757cef36262199676834126ccf29a4e9cb81bdab/src/miio/lib/network.js#L133 and https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/blob/757cef36262199676834126ccf29a4e9cb81bdab/src/miio/lib/network.js#L131 in your installation to see if it improves things on your end?

Like this?

That is correct! Yes! Let me know if that works for you. If it does, I'll make that change permanent :)

@afharo Okay, so for the first day, it still works, no dropped connection, the blocklist blocks constantly connections and everything seems fine.
I will report back in a couple of days, because sometimes it took some time to kick in before the issue (re)appeared.
If your plugin does not break something else with commenting these two lines you could update it permanently. But if only my specific environment needs this tweak, I could also adjust it if needed after each update, thats not a big deal for me! :) Thx in the meantime! 🫶

Thank you for the updates and the testing 🧡!
Please, keep me posted.
If we make this change permanent, I'd try to include a config flag to revert it in case someone finds any connection issues.

@afharo so after 3 days of testing it is still stable, no drops no connection loss, automations are running properly etc. and it still blocks outgoing connections via dns filters. For the moment, I am 95% sure that commenting those two lines fixed my setup! 🎉

@afharo It is back to a very unstable system.  It even removed my rooms, so I had to configure them as well. Right now it was able to work with the uncommented network.js file and the blocklist re-enabled... So I really do not understand why it works for a certain time and then it crashes again... Is there anything else I could provide you with to see if something else is broken on my side? :(

OMG maybe I found another possible rootcause.
For whatever reason connected my Mac Studio to my Home Network via WiFi eventhough I am connected with Ethernet. Maybe that screws up some things. I disconnected the WiFi and will test further.

Hahaha! I can see you're having fun with multiple tests. Let me know if I can help in any way.

5days with no issues. I will close the issue for now as it seems we finally sorted out everything! 😍


FixReplaying logs should not modify the original information of the job (#40474)

…
Proposed changes
        JobExecutionConfiguration jobConfig = new JobExecutionConfiguration();
        jobConfig.setExecuteType(JobExecuteType.INSTANT);
        setJobConfig(jobConfig);

Replaying logs should not modify the original information of the job
Use the new optimizer to check whether the executed statement is legal

(cherry picked from commit de90051162de7004cf171bbf4d21bd95ff9f3540)
Proposed changes
Issue Number: #40474

run buildall


Mounting CIFS share causes kernel panic

Version
Microsoft Windows [Version 10.0.19042.2006]
WSL Version

[ x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
cifs-utils 2:6.9-1ubuntu0.2
Repro Steps
Mount a cifs share:
sudo mount -t cifs //fstore.XXXX.XXXX.XXX.uk/shared/ /mnt/test -o username=mb1ims,rw,file_mode=0700,dir_mode=0700,uid=XXXX

list a directory on the share:
ls /mnt/test/sudlab1

Expected Behavior
A list of the files in the directory
Actual Behavior
All terminals connected to wsl instantly die. WSL needs to be restated. Sometimes wsl --shutdown is needed before restart.
Diagnostic Logs
First time I did this (with kernal <IP_ADDRESS>-microsoft-standard-WSL2), there was a error reported in windows event viewer:
'Virtual Machine' has encountered a fatal error. The guest operating system reported that it failed with the following error codes: ErrorCode0: 0x0, ErrorCode1: 0x0, ErrorCode2: 0x0, ErrorCode3: 0x0, ErrorCode4: 0x0. If the problem persists, contact Product Support for the guest operating system. (Virtual machine ID 3AD2A95F-FEAD-4037-90FF-DA741FB9124E)

Guest message:
[ 49.165408] hv_balloon: Max. dynamic memory size: 26134 MB
[ 61.534251] WSL2: Performing memory compaction.
[ 723.926325] CIFS: Attempting to mount //[fstore.XXXX.XXXX.XX.XX/shared](http://fstore.XXXX.XXXX.XX.XX/shared)
[ 723.926346] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
[ 734.767383] BUG: kernel NULL pointer dereference, address:<PHONE_NUMBER>000000
[ 734.767390] #PF: supervisor instruction fetch in kernel mode
[ 734.767392] #PF: error_code(0x0010) - not-present page
[ 734.767393] PGD 0 P4D 0
[ 734.767396] Oops: 0010 [#1] SMP PTI
[ 734.767399] CPU: 2 PID: 323 Comm: ls Not tainted <IP_ADDRESS>-microsoft-standard-WSL2 #1
[ 734.767402] RIP: 0010:0x0
[ 734.767404] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 734.767405] RSP: 0018:ffffc9000311fbd8 EFLAGS: 00010293
[ 734.767407] RAX:<PHONE_NUMBER>000000 RBX: ffffc9000311fc48 RCX:<PHONE_NUMBER>000001
[ 734.767408] RDX:<PHONE_NUMBER>000000 RSI:<PHONE_NUMBER>020000 RDI: ffffc9000311fc48
[ 734.767409] RBP: ffffc9000311fd70 R08:<PHONE_NUMBER>000002 R09:<PHONE_NUMBER>000064
[ 734.767411] R10: ffff888101514f00 R11:<PHONE_NUMBER>5f424d R12:<PHONE_NUMBER>000002
[ 734.767412] R13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>2a0044 R15:<PHONE_NUMBER>000000
[ 734.767414] FS: 00007f085e772400(0000) GS:ffff88864f880000(0000) knlGS:0000000000000000
[ 734.767417] CS: 0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[ 734.767418] CR2: ffffffffffffffd6 CR3: 000000018e1f0001 CR4:<PHONE_NUMBER>1706a0
[ 734.767419] Call Trace:
[ 734.767425] __traverse_mounts+0x8f/0x220
[ 734.767429] step_into+0x430/0x6c0
[ 734.767433] ? cifs_d_revalidate+0x49/0xd0
[ 734.767435] walk_component+0x72/0x1b0
[ 734.767437] path_lookupat.isra.0+0x6d/0x150
[ 734.767440] filename_lookup+0xae/0x140
[ 734.767443] ? __check_object_size+0x136/0x150
[ 734.767447] ? strncpy_from_user+0x4e/0x140
[ 734.767450] vfs_statx+0x72/0x110
[ 734.767452] __do_sys_newstat+0x39/0x70
[ 734.767455] ? do_user_addr_fault+0x1c5/0x3e0
[ 734.767459] do_syscall_64+0x33/0x80
[ 734.767463] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 734.767465] RIP: 0033:0x7f085e93c62a
[ 734.767467] Code: 00 00 75 05 48 83 c4 18 c3 e8 f2 24 02 00 66 90 f3 0f 1e fa 41 89 f8 48 89 f7 48 89 d6 41 83 f8 01 77 2d b8 04 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 8b 15 31 a8 0d 00 f7
[ 734.767470] RSP: 002b:00007fff725a6b28 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>000004
[ 734.767472] RAX: ffffffffffffffda RBX: 000056427eaab0b0 RCX: 00007f085e93c62a
[ 734.767473] RDX: 000056427eaab0c8 RSI: 000056427eaab0c8 RDI: 00007fff725a8660
[ 734.767474] RBP: 00007fff725a6ec0 R08:<PHONE_NUMBER>000001 R09:<PHONE_NUMBER>5a8600
[ 734.767476] R10:<PHONE_NUMBER>000002 R11:<PHONE_NUMBER>000246 R12: 00007fff725a8660
[ 734.767477] R13:<PHONE_NUMBER>000000 R14: 00007fff725a8660 R15: 000056427eaab0c8
[ 734.767479] Modules linked in:
[ 734.767482] CR2:<PHONE_NUMBER>000000
[ 734.767484] ---[ end trace ccadc0971026d88e ]---
[ 734.767493] RIP: 0010:0x0
[ 734.767495] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 734.767497] RSP: 0018:ffffc9000311fbd8 EFLAGS: 00010293
[ 734.767498] RAX:<PHONE_NUMBER>000000 RBX: ffffc9000311fc48 RCX:<PHONE_NUMBER>000001
[ 734.767499] RDX:<PHONE_NUMBER>000000 RSI:<PHONE_NUMBER>020000 RDI: ffffc9000311fc48
[ 734.767501] RBP: ffffc9000311fd70 R08:<PHONE_NUMBER>000002 R09:<PHONE_NUMBER>000064
[ 734.767502] R10: ffff888101514f00 R11:<PHONE_NUMBER>5f424d R12:<PHONE_NUMBER>000002
[ 734.767503] R13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>2a0044 R15:<PHONE_NUMBER>000000
[ 734.767505] FS: 00007f085e772400(0000) GS:ffff88864f880000(0000) knlGS:0000000000000000
[ 734.767507] CS: 0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[ 734.767508] CR2: ffffffffffffffd6 CR3: 000000018e1f0001 CR4:<PHONE_NUMBER>1706a0
[ 734.767509] Kernel panic - not syncing: Fatal exception
[ 734.776513] Kernel Offset: disabled

However I then updated everything (windows, the WSL kernal, and the cifs-utils version. Now I get nothing in the windows event viewer.
I attach log files.
WslLogs-2022-09-22_12-21-36.zip

You're running a pretty old version of the kernel (5.10.16), could you try upgrading and seeing if the issue goes away?

I was running 5.10.16 when I got the pasted error message above, but I updated to <IP_ADDRESS>.  The symptoms are the same (WSL still closes), but now there is no event in the event viewer. The WslLogs file attached above was with <IP_ADDRESS>. Sorry if that wasn't clear.

I also encounter this problem for over a year.
I can mount a CIFS share, but if I navigate to any DFS directory, WSL2 immediately dies.
uname -r
<IP_ADDRESS>-microsoft-standard-WSL2
Log Name:      Microsoft-Windows-Hyper-V-Worker-Admin
Source:        Microsoft-Windows-Hyper-V-Worker
Date:          5/12/2022 3:32:48 PM
Event ID:      18590
Task Category: None
Level:         Critical
Keywords:
User:          NT VIRTUAL MACHINE\6DFA6611-E2C7-444A-9416-83C5BD3E9C3B
Computer:      ASS0921.sm.local
Description:
'Virtual Machine' has encountered a fatal error.  The guest operating system reported that it failed with the following error codes: ErrorCode0: 0x0, ErrorCode1: 0x0, ErrorCode2: 0x0, ErrorCode3: 0x0, ErrorCode4: 0x0.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 6DFA6611-E2C7-444A-9416-83C5BD3E9C3B)

Guest message:
[ 1029.756380] CR2: ffffffffffffffd6 CR3:<PHONE_NUMBER>a64003 CR4:<PHONE_NUMBER>3706a0
[ 1029.756382] DR0:<PHONE_NUMBER>000000 DR1:<PHONE_NUMBER>000000 DR2:<PHONE_NUMBER>000000
[ 1029.756384] DR3:<PHONE_NUMBER>000000 DR6: 00000000fffe0ff0 DR7:<PHONE_NUMBER>000400
[ 1029.756386] Call Trace:
[ 1029.756393]  __traverse_mounts+0x8f/0x220
[ 1029.756399]  step_into+0x430/0x6c0
[ 1029.756404]  ? cifs_d_revalidate+0x49/0xd0
[ 1029.756407]  walk_component+0x72/0x1b0
[ 1029.756411]  path_lookupat.isra.0+0x6e/0x150
[ 1029.756414]  ? cifs_revalidate_dentry_attr+0x3f/0x230
[ 1029.756416]  filename_lookup+0xae/0x140
[ 1029.756421]  ? __check_object_size+0x136/0x150
[ 1029.756425]  ? strncpy_from_user+0x4e/0x140
[ 1029.756428]  __x64_sys_chdir+0x3e/0xe0
[ 1029.756433]  do_syscall_64+0x33/0x80
[ 1029.756437]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1029.756440] RIP: 0033:0x7fe383889a1b
[ 1029.756443] Code: c3 48 8b 15 77 d4 0d 00 f7 d8 64 89 02 b8 ff ff ff ff eb c6 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 50 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 45 d4 0d 00 f7 d8 64 89 01 48
[ 1029.756446] RSP: 002b:00007fff8bf1ca68 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>000050
[ 1029.756449] RAX: ffffffffffffffda RBX:<PHONE_NUMBER>000000 RCX: 00007fe383889a1b
[ 1029.756451] RDX: 000055811fcc5c60 RSI: 000055811fdc1f40 RDI: 000055811fdb7570
[ 1029.756453] RBP: 000055811fdb7570 R08:<PHONE_NUMBER>000003 R09:<PHONE_NUMBER>000001
[ 1029.756455] R10:<PHONE_NUMBER>000000 R11:<PHONE_NUMBER>000246 R12: 000055811fd9da90
[ 1029.756457] R13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>000009 R15:<PHONE_NUMBER>000000
[ 1029.756460] Modules linked in:
[ 1029.756464] CR2:<PHONE_NUMBER>000000
[ 1029.756466] ---[ end trace f30ba024c1d320d0 ]---
[ 1029.756478] RIP: 0010:0x0
[ 1029.756481] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 1029.756483] RSP: 0018:ffffc90000313ca0 EFLAGS: 00010293
[ 1029.756485] RAX:<PHONE_NUMBER>000000 RBX: ffffc90000313d10 RCX:<PHONE_NUMBER>000001
[ 1029.756487] RDX:<PHONE_NUMBER>000000 RSI:<PHONE_NUMBER>020000 RDI: ffffc90000313d10
[ 1029.756489] RBP: ffffc90000313e40 R08:<PHONE_NUMBER>000002 R09:<PHONE_NUMBER>000064
[ 1029.756491] R10: ffff8881297dd300 R11:<PHONE_NUMBER>666f53 R12:<PHONE_NUMBER>000002
[ 1029.756493] R13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>2a0044 R15:<PHONE_NUMBER>000000
[ 1029.756495] FS:  00007fe383778740(0000) GS:ffff8883f7c80000(0000) knlGS:0000000000000000
[ 1029.756498] CS:  0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[ 1029.756499] CR2: ffffffffffffffd6 CR3:<PHONE_NUMBER>a64003 CR4:<PHONE_NUMBER>3706a0
[ 1029.756501] DR0:<PHONE_NUMBER>000000 DR1:<PHONE_NUMBER>000000 DR2:<PHONE_NUMBER>000000
[ 1029.756503] DR3:<PHONE_NUMBER>000000 DR6: 00000000fffe0ff0 DR7:<PHONE_NUMBER>000400
[ 1029.756505] Kernel panic - not syncing: Fatal exception
[ 1034.820749] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1039.881679] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1044.912137] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1049.988807] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1055.134689] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1060.272218] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1065.460395] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1070.573162] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1075.611532] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1080.653832] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1085.687072] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1090.761713] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1095.891513] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1101.681516] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1107.380327] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1112.891350] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1118.662310] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1123.776967] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1129.492335] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1134.839836] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1134.849843] hv_vmbus: Continuing even though VMBus UNLOAD did not complete
[ 1134.849847] Kernel Offset: disabled

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51ddfa29-d5c8-4803-be4b-2ecb715570fe}" />
    <EventID>18590</EventID>
    <Version>0</Version>
    <Level>1</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2022-12-05T04:32:48.3996346Z" />
    <EventRecordID>4783</EventRecordID>
    <Correlation />
    <Execution ProcessID="19016" ThreadID="3268" />
    <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
    <Computer>ASS0921.sm.local</Computer>
    <Security UserID="S-1-5-83-1-1845126673-1145758407-3313702548-1000095421" />
  </System>
  <UserData>
    <VmlEventLog xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
      <VmName>Virtual Machine</VmName>
      <VmId>6DFA6611-E2C7-444A-9416-83C5BD3E9C3B</VmId>
      <VmErrorCode0>0x0</VmErrorCode0>
      <VmErrorCode1>0x0</VmErrorCode1>
      <VmErrorCode2>0x0</VmErrorCode2>
      <VmErrorCode3>0x0</VmErrorCode3>
      <VmErrorCode4>0x0</VmErrorCode4>
      <VmErrorMessage>[ 1029.756380] CR2: ffffffffffffffd6 CR3:<PHONE_NUMBER>a64003 CR4:<PHONE_NUMBER>3706a0
[ 1029.756382] DR0:<PHONE_NUMBER>000000 DR1:<PHONE_NUMBER>000000 DR2:<PHONE_NUMBER>000000
[ 1029.756384] DR3:<PHONE_NUMBER>000000 DR6: 00000000fffe0ff0 DR7:<PHONE_NUMBER>000400
[ 1029.756386] Call Trace:
[ 1029.756393]  __traverse_mounts+0x8f/0x220
[ 1029.756399]  step_into+0x430/0x6c0
[ 1029.756404]  ? cifs_d_revalidate+0x49/0xd0
[ 1029.756407]  walk_component+0x72/0x1b0
[ 1029.756411]  path_lookupat.isra.0+0x6e/0x150
[ 1029.756414]  ? cifs_revalidate_dentry_attr+0x3f/0x230
[ 1029.756416]  filename_lookup+0xae/0x140
[ 1029.756421]  ? __check_object_size+0x136/0x150
[ 1029.756425]  ? strncpy_from_user+0x4e/0x140
[ 1029.756428]  __x64_sys_chdir+0x3e/0xe0
[ 1029.756433]  do_syscall_64+0x33/0x80
[ 1029.756437]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 1029.756440] RIP: 0033:0x7fe383889a1b
[ 1029.756443] Code: c3 48 8b 15 77 d4 0d 00 f7 d8 64 89 02 b8 ff ff ff ff eb c6 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 50 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 45 d4 0d 00 f7 d8 64 89 01 48
[ 1029.756446] RSP: 002b:00007fff8bf1ca68 EFLAGS: 00000246 ORIG_RAX:<PHONE_NUMBER>000050
[ 1029.756449] RAX: ffffffffffffffda RBX:<PHONE_NUMBER>000000 RCX: 00007fe383889a1b
[ 1029.756451] RDX: 000055811fcc5c60 RSI: 000055811fdc1f40 RDI: 000055811fdb7570
[ 1029.756453] RBP: 000055811fdb7570 R08:<PHONE_NUMBER>000003 R09:<PHONE_NUMBER>000001
[ 1029.756455] R10:<PHONE_NUMBER>000000 R11:<PHONE_NUMBER>000246 R12: 000055811fd9da90
[ 1029.756457] R13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>000009 R15:<PHONE_NUMBER>000000
[ 1029.756460] Modules linked in:
[ 1029.756464] CR2:<PHONE_NUMBER>000000
[ 1029.756466] ---[ end trace f30ba024c1d320d0 ]---
[ 1029.756478] RIP: 0010:0x0
[ 1029.756481] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 1029.756483] RSP: 0018:ffffc90000313ca0 EFLAGS: 00010293
[ 1029.756485] RAX:<PHONE_NUMBER>000000 RBX: ffffc90000313d10 RCX:<PHONE_NUMBER>000001
[ 1029.756487] RDX:<PHONE_NUMBER>000000 RSI:<PHONE_NUMBER>020000 RDI: ffffc90000313d10
[ 1029.756489] RBP: ffffc90000313e40 R08:<PHONE_NUMBER>000002 R09:<PHONE_NUMBER>000064
[ 1029.756491] R10: ffff8881297dd300 R11:<PHONE_NUMBER>666f53 R12:<PHONE_NUMBER>000002
[ 1029.756493] R13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>2a0044 R15:<PHONE_NUMBER>000000
[ 1029.756495] FS:  00007fe383778740(0000) GS:ffff8883f7c80000(0000) knlGS:0000000000000000
[ 1029.756498] CS:  0010 DS: 0000 ES: 0000 CR0:<PHONE_NUMBER>050033
[ 1029.756499] CR2: ffffffffffffffd6 CR3:<PHONE_NUMBER>a64003 CR4:<PHONE_NUMBER>3706a0
[ 1029.756501] DR0:<PHONE_NUMBER>000000 DR1:<PHONE_NUMBER>000000 DR2:<PHONE_NUMBER>000000
[ 1029.756503] DR3:<PHONE_NUMBER>000000 DR6: 00000000fffe0ff0 DR7:<PHONE_NUMBER>000400
[ 1029.756505] Kernel panic - not syncing: Fatal exception
[ 1034.820749] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1039.881679] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1044.912137] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1049.988807] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1055.134689] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1060.272218] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1065.460395] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1070.573162] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1075.611532] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1080.653832] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1085.687072] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1090.761713] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1095.891513] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1101.681516] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1107.380327] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1112.891350] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1118.662310] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1123.776967] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1129.492335] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1134.839836] hv_vmbus: Waiting for VMBus UNLOAD to complete
[ 1134.849843] hv_vmbus: Continuing even though VMBus UNLOAD did not complete
[ 1134.849847] Kernel Offset: disabled
</VmErrorMessage>
    </VmlEventLog>
  </UserData>
</Event>

This happened to me where a specific subfolder on my CIFS share was a DFS share. Attempting to access the DFS share caused a kernel panic. Seems like WSL does not currently have DFS support enabled in the kernel.
Workaround: I was able to mount it using mount -t drvfs instead, and then access the DFS share.
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>

Could be... I don't know the technical implementation details of the storage server, but it is the sort of thing that might use DFS.
I can mount via drvfs, although only if I already have it mounted in Windows space. At which point access, particularly stat is so slow as to make it virtually unusable - i have software that is executing many stat calls against the share, and it just completely grinds to a halt. Its actaully faster with sshfs.


Unity asset does not work on android

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

I have build a apk and install it on an android phone. But it does not working. I have build it using unity asset.

Me, too.  I built the android native/java examples, they work on android10/pixel3xl and oculus quest! (custom android 7.1.1).  The app displays the camera feed and depth feed in a VR window on the quest.
I built the librealsense android module .aar file.  I built android apps with unity2019.3 using the .aar file.  Everything compiled and executed on the quest/pixel3 but the unity app would not detect the camera.  ADB Logcat lists the camera and its connection events correctly, i dont see an obvious Unity error in Logcat.
When i built just the pointcloud scene, the app would alternate between a black screen with Oculus "wait dots" (device not plugged in ) and a blue screen with no text (its really a skydome on the quest rather than a screen) when plugged in.  Building all the scenes, the starter scene would just say "connect a device".
realsense 435i
firmware: <IP_ADDRESS> (i should try newer firmware...)
new usb 3.0 cable
Windows10 (build)  android7.1.1/quest and android10/pixel3xl (deploy)
NDK 20 something (im pretty sure unity HAS to use ndk 16b, i should try building the non-unity android app with ndk16...)
librealsense from github a few days ago

@MubasshirAhmed  @crogersarvr Currently there's no sample code for Unity connected to librealsense on android, but you can call Java API in Unity code to do some testing. Also please check USB permission.

@MubasshirAhmed  @crogersarvr  Any other questions about this ticket?Looking forward to your update. Thanks!

@MubasshirAhmed  @crogersarvr Could you please update? Thanks!

@MubasshirAhmed  @crogersarvr  Sorry that we didn't get response from you for weeks, will close this issue at this point. Please feel free to create new one if you still have issues or questions.Thanks!


Null reference exception in HandleIntent(string text)

Unexpected Result
Here is the top of the stack when the exception is thrown (text argument reads "who is closest"):
at Microsoft.Cognitive.LUIS.Intent.Load(JObject intent)
at Microsoft.Cognitive.LUIS.LuisResult.Load(JToken result)
at Microsoft.Cognitive.LUIS.LuisResult..ctor(LuisClient client, JToken result)
at Microsoft.Cognitive.LUIS.LuisClient.d__19.MoveNext()
Steps Taken

Double checked that the LUIS configuration properties were correct (so we'll need to add additional text to her suggestion when an exception occurs based on what we discover here)
I tried speaking, "Show me photos from shen" and got the same exception
Added an utterance to the LUIS model, and it came back with the correct Intent.

so flying blind here, I'm not sure what to do next. I don't suppose we can debug into LUIS...
Be Advised
oh, and for anybody coming later, if you want to debug AdventureWorks (and not feel like you're losing your mind), be sure to uncheck "Optimize code" in the (Project) Build properties.

RESOLVED
The Setup Steps fail to note that after you import the .json, you need to Publish the model. Publishing is also the best way to test your model because adding your text to the query on the Publish page actually calls the model the way this app will.

Hey @mcorning, this is great feedback, I updated the readme to add a note on publishing the model. Note that the original branch for the app is now deprecated and it's been moved to the master branch: https://github.com/Microsoft/uwp-experiences/tree/master/apps/social


How to update already generated gulp files

If I already generated project with older version of generator-ng-poly and then update generator itself then my gulp/*.js files in project are still older version. How to update them? Now i have to create new project and then compare generated gulp files with existent and manually add changes. Maybe there are some simpler approach?

Currently, that's the only approach or looking through generator-ng-poly commits for the diffs.
It would be great to have a project file subgenerator that could generate the updated project files, display the diff, and allow the user to accept/reject file (or line, ideally) changes.