Server-side rendering crashing due to 3rd-party packages assuming target is web-based

Please verify these steps before filing an issue, and check them off as you go

[x] The relevant native JavascriptEngineSwitcher library packages are installed (such as JavaScriptEngineSwitcher.V8.Native.win-x64)
[x] The VC++ 2017 runtime is installed
[x] The value of SetUseReact and SetUseBabel is correct in ReactConfig.cs or Startup.cs
[x] I've looked at the sample projects in this repo to verify that my app is configured correctly

I'm using these library versions:

ReactJS.NET: 4.1.1
JavaScriptEngineSwitcher: 3.0.5
react and react-dom: (N/A if using bundled react, or version number) 16.8.4
webpack: (N/A if using bundled react) 4.29.5
node: (N/A if using bundled react) 12.13.0

Runtime environment:

OS: (Mac, Windows, Linux flavor. Include 32-bit/64-bit and version) Windows 10 64-bit
.NET Framework or .NET Core Version: .Net Framework 4.8

Steps to reproduce

Our project has been using ReactJs.net's server-side rendering successfully up to this point.  Recently, however, a js package we use updated one of it's dependencies.  With this new update the dependency now serves up a different file based on the consumer's webpack target.
Said-file assumes that window is defined.  Because our server js webpack has it's target set to webworker the aforementioned dependency serves up the file that references window and crashes our server-side render.
Should we have a different webpack target?  We tried setting it to node but that still resulted in a crash due to require not being defined.

I am in the process of making a PR for proper Node support that should solve for this use case, please see #1021 for updates.

When #1021 is not ready yet and you not use render function or On-the-fly JSX to JavaScript compilation you can try my NodeReact.NET, it uses NodeJS for SSR and API compatible with React.NET

Active development for Node support has paused for now; closing this issue since the question has been answered. Maybe someday we'll have first-class support for a Node engine, but that has a bunch of other complexities to be sorted out...

@dustinsoftware Are we at a dead-end here? I believe react-select is correctly assuming that window is defined for the browser aliases.

Probably? I don’t know of a way around the issue due to the way this
library is currently built.
I recommend forking react-select and patching out the check for window.
On Thu, Feb 4, 2021 at 17:44, Nathan Bierema<EMAIL_ADDRESS>wrote:

@dustinsoftware https://github.com/dustinsoftware Are we at a dead-end
here? I believe react-select is correctly assuming that window is defined
for the browser aliases
https://docs.npmjs.com/cli/v6/configuring-npm/package-json#browser.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/1017#issuecomment-773722907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHGCFXR27EXQ4V66FVELYDS5NEONANCNFSM4KMGPFVA
.


visualize Intel Boot Guard data

In Fiano, we already have parsers and all the necessary structs. I was involved in testing them when they were added, and they work fine: https://github.com/linuxboot/fiano/pull/399
Displaying the information is a first step towards creating/editing it. The latter, however, only makes sense when the target machine is unfused, because then only the fused key can be used. So it is mostly an OEM use case or for brave owners of unfused products.
Note: Checking on the fuses can only happen with direct hardware interaction.
For more details on what this is, see also:
https://binarly.io/posts/Leaked_Intel_Boot_Guard_keys_What_happened_How_does_it_affect_the_software_supply_chain/index.html

https://winraid.level1techs.com/t/discovery-partial-guide-help-request-i-found-the-clevo-boot-guard-signing-keys/103193

related draft: https://github.com/linuxboot/fiano/pull/399


(WIP): Tweak standalone map styles

Before

After:

https://user-images.githubusercontent.com/24446573/225755841-5aa02a08-ebe7-4308-bd0e-ede533c3933d.mp4
Change list (please address anything you don't like. I've looked this too long and no longer know what looks acceptable):

Reduce navigation opacity.
Reduce header height
Move the entity name ("Communities" in this screenshot) to the left of the counts table.
Add a left bracket to emphasize the table of entity counts (All, Subset, Visible). I fear users will miss the table.
Right-justify the numbers in the samples count table.
Add a prop to <FilterChipList /> to be able to add a remove all button that follows the last filter chip.

Questions:

I have a bespoke icon (LeftBracket.svg). Where should this thing go?

Looks great - I would somehow tweak the use of bold text in the table (love the bracket)
No immediate ideas about the SVG, soz

Looks great - I would somehow tweak the use of bold text in the table (love the bracket)
No immediate ideas about the SVG, soz

Thank you! And I woke up this morning and realized I should just make the bracket in CSS! It's just border left, top, and bottom! So that'll dispense of this bespoke SVG.
TIL:

It's delightful to work with folks in other countries.

This looks great, but I am left wondering if the Remove All button should:

be more explicit by saying Remove All Filters
be a FilledButton (not sure about fill color though) or an OutlinedButton (with red outline?)

💯 on the "Remove all filters" -> https://github.com/VEuPathDB/web-eda/pull/1693/commits/ac3605e6b2333ede7d332ed49f18a5032945cdea
Great point about Filled v. Outlined. Outlined is definitely more noticeable, but is it visually distracting? I really could go either way!

Outline
Floating


Inspection on plots

Consider that you have this
plot := dataframe linePlot.
...
plot inspect.

Should have a custom inspector tab with the visualization.

please check senders of this class SpRoassal3InspectorPresenter

done


I get an error on libidn.so when trying to install hacketyhack in linux

--(jadams@timely)-(71/pts/3)-(2158/07-Nov-11)--
--($:~/software)--
$ ./hacketyhack-1.0.1.run
Verifying archive integrity... All good.
Uncompressing Hackety Hack...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
/tmp/selfgz96714398/hacketyhack-bin: error while loading shared libraries: libidn.so.11: cannot open shared object file: No such file or directory
I'm running fedora16.  Any help would be apreciated.

sudo yum install libidn - that's the command to install the needed libraries.
It's also entirely possible that you're running into the dangers of the multiarch system that the various linux distros are still implementing (although I'm not 100% sure Fedora got on that bandwagon)...

I've got libidn installed, but it doesn't provide libidn.so.11.  I have a
libcidn.so.
Anyway, I can't seem to get it installed on fedora 16.  There are a host of
other issues.  It does have a /usr/lib and a /usr/lib64 which I assume is
the 'multiarch' you refer to.  Even still, I fiddled a bunch and couldn't
make it work (tried symlinking libs to the filename it expected, etc)
Having to give up :(
-Josh
On Tue, Nov 8, 2011 at 6:20 AM, James Gifford <
<EMAIL_ADDRESS>
sudo yum install libidn - that's the command to install the needed
libraries.
It's also entirely possible that you're running into the dangers of the
multiarch system that the various linux distros are still implementing
(although I'm not 100% sure Fedora got on that bandwagon)...

Reply to this email directly or view it on GitHub:
https://github.com/hacketyhack/hacketyhack/issues/136#issuecomment-2666848

--
Josh Adams
Principal | Isotope11 http://www.isotope11.com
[cell]<PHONE_NUMBER>
[work]<PHONE_NUMBER> x201

@steveklabnik - it might be time to start doing separate builds for the various linux's, since the various Ubuntus require two different builds in order to cover 10.04 and 11.10 (and everything in-between), and then you've got Fedora and Arch. (I hate libraries now), or moving all the libraries into shoes itself, although that's something to discuss at length on the IRC channel or on the mailing list.
@knewter I'll see if I can make a build for Fedora 16 - since I need to get to the bottom of why it's doing this anyway, it won't be a problem to do that for you. Sorry this didn't work "out of the box". :(

@jrgifford thanks for that.  I've been in the hospital for a week and have
2 weeks at home before I can go back to work, so I was going to use the
downtime to build a gui client for one of our apis using shoes.  It will
help me clear up our API as well as finally get around to playing with
shoes/hackety.  Ultimately, I'd like to help out where I can on the ruby
portions of either, just because I think the educational aspect of hackety
i awesome and i hope my son and daughter use it eventually :)
On Tue, Nov 8, 2011 at 8:40 AM, James Gifford <
<EMAIL_ADDRESS>
@steveklabnik - it might be time to start doing separate builds for the
various linux's, since the various Ubuntus require two different builds in
order to cover 10.04 and 11.10 (and everything in-between), and then you've
got Fedora and Arch. (I hate libraries now), or moving all the libraries
into shoes itself, although that's something to discuss at length on the
IRC channel or on the mailing list.
@knewter I'll see if I can make a build for Fedora 16 - since I need to
get to the bottom of why it's doing this anyway, it won't be a problem to
do that for you. Sorry this didn't work "out of the box". :(

Reply to this email directly or view it on GitHub:
https://github.com/hacketyhack/hacketyhack/issues/136#issuecomment-2668137

--
Josh Adams
Principal | Isotope11 http://www.isotope11.com
[cell]<PHONE_NUMBER>
[work]<PHONE_NUMBER> x201


How does one normally launch illumos on Digital Ocean?

On AWS, OmniOS has AMIs. Does Digital Ocean provide any illumos, or do they have a comparable marketplace?

No operating systems in the marketplace, looks like an illumos distro would need to be uploaded here: https://www.digitalocean.com/docs/images/custom-images/


Unpretty language name

Open a .log file in the editor
🐛 the language status read "vscode-output-colorizer"

@jrieken this is an extension, so please report it there (https://github.com/IBM-Bluemix/vscode-log-output-colorizer/blob/master/package.json#L32)

I don't have that extension installed

@jrieken I can't reproduce this locally. For me, the language appears as "Plain Text".

@jrieken how can this not be caused by an extension if our repository does not contain any such string as vscode-output-colorizer

@bpasero Could it be caused by a settings file? I.e. can you assign a language name to a file extension without actually having an extension for that language installed?
Also possible is that another extension embedded the output colorizer extension for one reason or another, and now the functionality exists in the installation even though the extension does not.

@jrieken do you have file.associations? does it repro when running with disabled extensions?


SceneObject not visible with GVSphereSceneObject

I am trying to show a SceneObject on GVRSphereSceneObject. But, only the GVRSphereSceneObject is showing where as scene object hides once the texture image becomes visible. If I add both sphere and object using addSceneObject, then image is shown on one side and rest of view is black.
I have tried rendering order but it doesn't seem to fix this issue.
GVRMaterial material = new GVRMaterial(gvrContext);
material.setMainTexture(gvrContext.loadFutureTexture(new GVRAndroidResource(gvrContext, R.raw.pano)););

GVRSphereSceneObject sphereObject = new GVRSphereSceneObject(gvrContext, 18, 36, false, material);

Pointer = new GVRSceneObject(gvrContext,
         new FutureWrapper<>(gvrContext.createQuad(0.05f, 0.05f)),
         gvrContext.loadFutureTexture(new GVRAndroidResource(this.gvrContext, R.drawable.pointer)));
Pointer.getRenderData().getMaterial().setColor(Colors.RED[0], Colors.RED[1], Colors.RED[2]);

Pointer.getTransform().setPosition(0.0f, 0.0f, -1.0f);
Pointer.setName("Pointer");
sphereObject.addChildObject(Pointer);
scene.addSceneObject(boom);

You might also find this useful: http://www.gearvrf.org/tutorials/play_with_controller/

Thanks. It worked.


RS cloud vs open-source docs

Description of the change

Comparison guide between RS Cloud and open-source

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists
Development

[ ] Lint rules pass locally
[ ] The code changed/added as part of this pull request has been covered with tests
[ ] All tests related to the changed code pass in development

Code review

[ ]  This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[ ] "Ready for review" label attached to the PR and reviewers mentioned in a comment
[ ] Changes have been reviewed by at least one other engineer
[ ] Issue from task tracker has a link to this pull request

Some other features that are only available to cloud customers:

Models
Client-side Event Filtering
Events tab

Great doc. Should we have one more comparing free tier to pro. Or would that be more for the rudderstack.com than the docs?

Great doc. Should we have one more comparing free tier to pro. Or would that be more for the rudderstack.com than the docs?

Yeah IMO. There were will be way too many variables if we introduce pro in this doc, and that can cause confusion. Hence just kept it generic (Cloud) for comparison purposes.
Our pricing page does a great job of comparing the different plans and we do mention this at the start of the doc.


Firefox appearing default cursor bug.

http://jamesflorentino.github.io/nanoScrollerJS/
If you click this link and compare firefox to other browsers,
cursor is changed text cursor at the text in chorme, ie, safari.
but In firefox(mac), cursor remain default, not be changed text cursor
please edit this bug.

I'm having a look at this problem. If you want to work around it you can try adding CSS property cursor: text; to  .nano > .nano-content.

Looks like the bug is caused by nanoScroller setting the tabindex attribute.

@kristerkari I think it is not a solution. when I add CSS property to .nano-content, All of div area has text cursor not a only text.

@Vnthf Yup, i know. that's why it can not be added to the CSS.

I need to see if tabindex is actually needed. Removing it seems to fix the cursor bug.


Remove old Draco code

Most of the code in DracoLoader.js can be removed now that have the new model implementation.

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Looks good, thanks @lilleyse!


Update React's support for sort by specificity

They do support it, though it is a bit different from Ember's implementation. It's a weird blend of sort by order and sort by specificity, but it's what allows them to have context-aware 404 routes, which is a great feature, I think.
===
Update:
It sorts by route depth, rather than strictly specificity. Both support context-aware 404 routes.

Done


(PUP-5233) Restore puppet inspect

Fix puppet inspect so it looks in the correct location for the cached
catalog.

@MikaelSmith ah, you beat me to this! :+1: looks just like the changes I came up with :). As for the additional comments in the ticket that inspect doesn't display changes to local resources: I poked around in Puppet 3.x and observed the same behavior. As far as I can tell, inspect has only ever provided audit information, not whether a resource is out_of_sync or not.
So, the conclusion I came to was that this change is all that is needed to restore inspect functionality, and anything beyond that is an additional feature request. I could also be totally wrong about that, though :)


What do I need to do to build and generate the tags file?

Sorry if it's a noob question but I can't use the tags functionality like :tj  or <C-x><C-]> because the tags files don't exists as shown below:
PS: I can use <C-]> on links normally.
https://asciinema.org/a/vfLxFzxcPw0woUeSpyUa0FBZX

Hello.
You can use setlocal tagfunc=v:lua.zettelkasten.tagfunc so that <C-]> can take you to a tag. If you want to use completion, then you would need the following options (You can see these in :help zettelkasten.nvim and the default filetype plugin should set these as well).
    setlocal tagfunc=v:lua.zettelkasten.tagfunc
    setlocal isfname+=-,:
    setlocal iskeyword+=:,-
    setlocal suffixesadd+=.md
    setlocal keywordprg=:ZkHover
    setlocal completefunc=v:lua.zettelkasten.completefunc

This is the only thing that comes to mind when I see those errors. Can you confirm your completefunc and tagfunc options?

My completefunc is v:lua.zettelkasten.completefunc and my tagfunc is v:lua.zettelkasten.tagfunc
Disclaimer: My <C-]> for tagfunc jumping and my <C-x><C-u> for completefunc is working just fine, my problem is with '<C-]>and with:tselect`commands

I see. My assumption was that this would work but looks like :tag and friends don't do completion when no tag file is present. You can still do things like :tag work and it'll take you to the tag though.
I'm not sure why <C-x><C-]> is not working. With no tags file, I can use <C-x><C-]> to get a list of the available tags. I notice that at 0:14, you get a list of the notes. Maybe the completion plugin you are using interfering with something? I don't use a completion plugin so I don't know if it could cause problems.
If you are able to provide a minimum configuration, I can try to see if I can reproduce it here and find a solution if I can.

I don't use a completion plugin either, and maybe I can generate the tags file with some command?
for the minimal config, I can reproduce with this minimal

Thank you for sharing a minimal example. I'll try to look into it in a day or two.
In the mean time, you can take a look at here to generate tags: https://github.com/Furkanzmc/zettelkasten.nvim/wiki#generate-tags-using-universal-tags


Add support for "Console Output"

Author Name: Ricardo Duarte (Ricardo Duarte)
Original Redmine Issue: 1710, https://dev.opennebula.org/issues/1710
Original Date: 2012-12-31

Some hypervisors (KVM, Xen) support dumping the console output to a file.
The console output includes the boot sequence output.
OpenNebula can easily be extended to make the file available from CLI, Sunstone and Self-service, by using the same functionality that supports the "VM Log" tab.
Changes required would be:

Add the option for console output to the "new" template form, and translate that into hypervisor specific configuration
Add a "Console Output" tab to the virtual machine details
Create a get-console-output CLI action

This will then be used to implement the GetConsoleOutput EC2 action.

Original Redmine Comment
Author Name: Ruben S. Montero (@rsmontero)
Original Date: 2013-05-09T12:51:28Z

maybe the console output could be gathered during the monitor phase or boot and attached to the vm template (base64 encoded)

Original Redmine Comment
Author Name: Ricardo Duarte (Ricardo Duarte)
Original Date: 2013-04-07T13:26:40Z

Here is a simple patch that implements console output to file.
Currently it will always create a file based serial port, but can be easily changed to be conditional (ex.: only create the console if parameter X is set).

Original Redmine Comment
Author Name: Ricardo Duarte (Ricardo Duarte)
Original Date: 2013-05-18T17:49:19Z

Ruben S. Montero wrote:

maybe the console output could be gathered during the monitor phase or boot and attached to the vm template (base64 encoded)

Making it part of the VM template seems like a great idea, as it will simplify getting the console output from all the OpenNebula endpoints/APIs. We just have to keep it truncated to some number of lines, as I assume there is a limitation on how much data you can reasonably put inside the vm template. The raw console.log file can still be kept under the datastore, if the user really needs it.
Gathering it (only) as part of the boot process does not seem to fit tho, because the console output can change during the lifetime of the instance. Doing it during monitoring will also have some problems, because users generally want the data to be available as soon as the instance boots/fails. Can you speed up the first monitoring so that it runs shortly after an instance boots?

Close because of duplicate


Can’t understand what is the easy way to add custom headers in Fable.PowerPack.Fetch

Sorry for noob question: what is the easy way to add custom headers in Fable.PowerPack.Fetch?

Here's an example, I hope it helps 😄
  GlobalFetch.fetch(
    RequestInfo.Url url,
    requestProps
      [ RequestProperties.Method HttpMethod.POST
        requestHeaders [ContentType "application/json"]
        RequestProperties.Body !^(toJson myObject) ])

fable-powerpack contains helpers for most common cases like this one. You can also check the tests.

I have no problems with predefined headers, but still not clear how to add custom headers.
Tests and code does not have examples.
This does not work:
        let headers =
            [   ContentType "application/x-www-form-urlencoded"
                "API-Key", Json.Encode.string apiKey
                "API-Sign", signature
            ]

@ed-ilyin Can you try something like that:
      let headers =
            [   ContentType "application/x-www-form-urlencoded"
                !!("API-Key", Json.Encode.string apiKey)
                !!("API-Sign", signature)
            ]

!! comes from Fable.Core.JsInterop
I am not sure if this will work, but I saw people using this synthax for custom data attribute in Elmish and it's kind the same situation.
To explain, !! is equivalent to unbox(".....", "......") so it's simply make the compiler happy and Fable should convert the Key/Value into the desired object.

Sorry @ed-ilyin, I misread the issue 😅 Thanks for the explanation, @MangelMaxime! That's right, you can use dynamic casting to fake a key-value pair when passing values to keyValueList. Another alternative is to add a union case with Erase attribute to the union type.
| [<Erase>] Custom of key:string * value:obj

Then you can do:
      let headers =
            [   ContentType "application/x-www-form-urlencoded"
                Custom("API-Key", Json.Encode.string apiKey)
                // Same as !!("API-Key", Json.Encode.string apiKey) but typed
            ]

I just noticed the Erase attribute is not working in these cases in the current release, but I've fixed that for the next one. Also, please not the CaseRules (like LowerFirst letter) don't apply for custom headers.

I like the idea with Custom case. Should I create PR?

Yes, please :)

PR is created: https://github.com/fable-compiler/fable-powerpack/pull/20


iOS lifecycle metrics section still referencing ACP

Issue in /src/pages/documentation/getting-started/enable-debug-logging.md

In the Lifecycle Metrics section we reference ACP APIs.

@calebk1 @cdhoffmann can we get this one resolved since the ACP version is now deprecated?


clarify env var precedence over config value

Environment

Elixir version (elixir -v):
Erlang/OTP 26 [erts-14.1.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit:ns]
Elixir 1.15.7 (compiled with Erlang/OTP 24)

Algoliax version (mix deps):
algoliax 0.7.1 (Hex package) (mix)
locked at 0.7.1 (algoliax) 399f76a4

The readme says:

Configuration
Algoliax needs only :api_key and :application_id config. These configs can either be on config files or using environment variables ALGOLIA_API_KEY and ALGOLIA_APPLICATION_ID.

However, it isn't clear that env var takes precedence.  This can lead to confusion when testing different values in config; a mismatch can occur which would lead to an "403 : Invalid Application-ID or API key" error, the cause of which isn't immediately obvious.
This isn't a bug, but it would be helpful to note the precedence in the readme.

Hello @foohonpie
I just fixed that yesterday and published a new version today (v0.9.0). We don't read anymore env vars inside the code. If you want to use them, you should read them in the config files


Can someone point me to an unjailbreak process!?

So I was VERY impatient and could no longer wait to jailbreak however I'm having the screen wake bug/issue and have been using the tritium tweak to help with this. Since then I've noticed that we can jailbreak without having to use Xcode so where can I find the process to remove the previous jailbreak so that I can rejailbreak using the newer method? Any advice or guidance would be greatly appreciated and will be very welcomed! Thank you all in advance!!

Im on iOS 14.4.2 and just want to get rid of uncover and fugu14 so that I can start fresh with the newer uncover-fugu14 bundle method totally avoiding Xcode. I'm seeing that others are having an issue with totally removing fugu14 and reinstalling it so if there is a way to avoid this issue, id like to do that. If I could just restore rootfs from uncover, do I do it while im in the jailbroken state or unjailbroken state? Please someone chime in on this! Thanks!!


NDVALPHA-UPDATED-OSVERSIONS

NDVALPHA-UPDATED-OSVERSIONS.
Everything is ready.
Thank you.

@NDVALPHA : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Deland-Han : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Enable lightweight e2e smoke in presubmit

What this PR does / why we need it:
We need some e2e solution test running in presubmit to gate and catch bugs.
Due to the cost of time & resource, we proposed to pick one test file in one environment as a e2e smoke test running in presubmit, and keep others to postsubmit until we have a better solution.
Here we pick bookinfo in auth_enable (namespace-wide) as a smoke-test.
Release note:

none

Details:
Added a "single model" in tests/e2e.sh such that it can accept flag -s followed by one test file name, e.g. mixer, bookinfo, simple.
prow/e2e-smoke.sh is a routine Prow job entry calling e2e-suite.sh with flag -s bookinfo

/assign @sebastienvas
/assign @ldemailly

how do 1 select which/what is run ?
I actually have that same question on how do I run 1 e2e test locally in the new world (such as it builds from source)

@ldemailly
Yeah, we should update the doc.
Run all three tests

Case 1: So if you just want to verify some from master or some other branch/SHA, checkout that thing on your machine, and run the scripts under prow/ directly, it will use the your current SHA to find the artifacts since they were created and uploaded.

Case 2: If you did some changes, you need to commit it, build and upload artifacts (you can use prow/istio-presubmit to do all these), and then, same thing as Case 1.

Run only one test
Just like what I did in prow/e2e-smoke.sh, simply run ./prow/e2e-suite.sh with flag -s followed by the test you want, e.g. ./prow/e2e-suite.sh -s bookinfo, is you want auth-enabled, add --auth_enable at the end

/retest

@yutongz: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
34ac41280babf3a8416c6cfe1472f845c5012eee
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yutongz: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
34ac41280babf3a8416c6cfe1472f845c5012eee
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-presubmit

new test passed https://k8s-gubernator.appspot.com/build/istio-prow/pull/istio_istio/1654/e2e-smoke/1/

/lgtm

/approve

@yutongz: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
63e813ba70e58a8fbbbaeb3646a1c6908ad97ccc
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-presubmit

/retest

@yutongz: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
63e813ba70e58a8fbbbaeb3646a1c6908ad97ccc
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

@yutongz: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
f6aa52d38eb48ca1429624afad6803bc9d6d9f1e
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


DefaultHttp2ConnectionEncoder#writeHeaders shouldn't send GO_AWAY if …

…stream is closed
Motivation:
DefaultHttp2ConnectionEncoder#writeHeaders attempts to find a stream object, and if one doesn't exist it tries to create one. However in the event that the local endpoint has received a RST_STREAM frame before writing the response headers we attempt to create a stream. Since this stream ID is for the incorrect endpoint we then generate a GO_AWAY for what appears to be a protocol error, but can instead be failed locally.
Modifications:

Just fail the local promise in the above situation instead of sending a GO_AWAY

Result:
Less severe consequences if the server asynchronously sends headers after a RST_STREAM has been received.
Fixes https://github.com/netty/netty/issues/6906.

@ejona86 @carl-mastrangelo - FYI

4.1 (bc46a99ea)


Cannot set pronoun color.

Command returns The color given is invalid! every time I try to give it a hex value.
Logs: https://mclo.gs/e8ck574

Ah shit, that's my bad
It's supposed to handle hex values with "#hexvalue", but the string argument I'm using doesn't seem to like starting with #. whoops.

Fixed with release 1.1.1+1.19 and 1.1.1+1.19.3.


Add setup / instructions

Several people have started looking at using this framework. Users include:

One person wants to integrate custom linear stage
One person trying to use control GUI
One group using x-ray panorama code

533f3f4 added setup.py. This adds misc commands starting with pyuscope- (ex: pyuscope-main-gui)

we have setup_ubuntu script for now. Long term we have some tickets on packaging things up


Cross-compiling v0.2.1 release to ARM

I'm trying to integrate EverCrypt into my project, but I'm running into some build problems. Is this an appropriate place to ask build-related questions? (I tried to contact the maintainers directly via the email provided in the README, but received an automated message back stating I didn't have permission to post to the mailing list.)
Specifically, I'm struggling to cross-compile for an ARM target. I believe "libintvector.h" is trying to include files associated with x86 hardware intrinsics. The build fails, as it cannot find "wmmintrin.h".
I'm using the v0.2.1 release. For simplicity sake, I'm interfacing directly with the HACL* algorithms, and only building the files relevant to my project. I've tried various distributions (gcc-compatible, c89-compatible, portable-gcc-compatible), but the problem is the same for each. Are these distributions configured to run specifically on x86? Or am I making a mistake in my build process?
My hunch is that I'm going to need to build from source with a custom configuration, but I'd prefer to use an official release if possible.
Thank you very much,
Grant Jurgensen

Hello,
Sorry about the mailing list issue. @karthikbhargavan were you able to fix it? I don't have admin privileges on the listserv.
We only have native ARM builds under CI, for which you have to run ./configure before hitting make. Can you try building first natively on one of your target environments, then copy-paste the resulting config.h and Makefile.config and then try cross-compiling?
Alternatively, ./configure is a very small script and you could read through it and symbolically execute it in your head, writing the correct values for config.h and Makefile.config
Let me know if this works!

Thanks for the response! I was able to cross-compile the dist/gcc-compatible files by running the configure script on the target platform, and copying the generated files, just as you suggested. The only changes I had to make were to replace MARCH = $(shell uname -m) with MARCH = armv7-a+simd in Makefile, and USER_CFLAGS=-march=native -mtune=native -Wno-unused with USER_CFLAGS=-march=armv7-a+simd -Wno-unused in Makefile.include.
You mention that the past releases don't target ARM. Is the master branch generally stable and verified? In terms of integrating HACL* into my project, it seems to me that my best course of action would be to pick a recent commit on the master branch, and use that as my "release". Is that wise, or is the master branch considered unstable?

Wonderful! I'm very glad you managed to successfully cross-compile. This is very useful information and I would happily approve a pull request that adds a paragraph with what you found out, in https://github.com/project-everest/hacl-star/blob/master/doc/Obtaining.rst

You mention that the past releases don't target ARM
Not sure where I wrote that...? This may be outdated in which case I'd be happy to take a fix. We now do CI for our generated C code on an arm64 box via Travis.

it seems to me that my best course of action would be to pick a recent commit on the master branch, and use that as my "release"
Absolutely. Master is under continuous testing that ensures that i) all the source files verify, that ii) the generated C files compile and pass tests, and iii) the generated C files are up-to-date with regards to the source F* files.

Not sure where I wrote that...?

 Plus I didn't see a configure script on tag v0.2.1. Are you suggesting that I could use the generated config files (config.h and Makefile.config) with the v0.2.1 release in order to cross-compile?

Ah, sorry, I was under the assumption you were working off of master. I don't think you'll manage to cross-compile with v0.2.1, just use dist/gcc-compatible from master. We need to issue a new release since none of the latest build improvements are currently in any of the officially-tagged releases.


Change hook name because it's deprecated \o/

Questions
Answers

Description?
Change hook name because it's deprecated \o/

Type?
bug fix

BC breaks?
no

Deprecations?
no

Fixed issue
Fixes PrestaShop/PrestaShop#27986

How to test?
No need QA.

hello @PierreRambaud,
I can't reproduce the fix because it's impossible to hook the module on any hook available.
When I click on "Transplant a module" button on positions page in Design -> Positions I've got this error :

I've also an error when I click on "Manage hooks" button in modules -> ps_emailalerts -> configure page :

The error message in product page has disappeared but I don't have the notify block to add customer email :
Screenshot from 1.7.8.x version

Tested on develop branch.
Could you check please?
Thanks

hello @PierreRambaud,
I can't reproduce the fix because it's impossible to hook the module on any hook available. When I click on "Transplant a module" button on positions page in Design -> Positions I've got this error :

I've also an error when I click on "Manage hooks" button in modules -> ps_emailalerts -> configure page :

The error message in product page has disappeared but I don't have the notify block to add customer email :
Screenshot from 1.7.8.x version
Tested on develop branch.
Could you check please?
Thanks

Hi @sLorenzini ,
seems to be related to this issue: https://github.com/PrestaShop/PrestaShop/issues/28074 :D

hello @PierreRambaud,
I can't reproduce the fix because it's impossible to hook the module on any hook available. When I click on "Transplant a module" button on positions page in Design -> Positions I've got this error :

I've also an error when I click on "Manage hooks" button in modules -> ps_emailalerts -> configure page :

The error message in product page has disappeared but I don't have the notify block to add customer email :
Screenshot from 1.7.8.x version
Tested on develop branch.
Could you check please?
Thanks

Hi @sLorenzini , seems to be related to this issue: PrestaShop/PrestaShop#28074 :D

Indeed thanks :)

Thank you @PierreRambaud @sLorenzini


Error with sudo startunity

Please paste the output of the following command here: sudo edit-chroot -all

name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: armhf
xmethod: xorg
targets: unity
host: version 8743.85.0 (Official Build) stable-channel elm
kernel: Linux localhost 3.18.0-13101-g57e8190 #1 SMP PREEMPT Tue Nov 15 18:13:26 PST 2016 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.
Please describe your issue:
I'm trying to install Linux with very(Very) minimal programming experience.  I followed http://www.androidauthority.com/best-android-phones-568001/ instructions from /r/crouton, but when I went to sudo enter-croot startunity, I get a black screen, and then it comes back with this new info.
chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/trusty...

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu
Current Operating System: Linux localhost 3.18.0-13101-g57e8190 #1 SMP PREEMPT Tue Nov 15 18:13:26 PST 2016 aarch64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3334144 verity payload=PARTUUID=be3db06e-7d27-2549-b06b-6df0e5fdfc7c/PARTNROFF=1 hashtree=PARTUUID=be3db06e-7d27-2549-b06b-6df0e5fdfc7c/PARTNROFF=1 hashstart=3334144 alg=sha1 root_hexdigest=5c1bddf7f51612684bc4a69b1d2a82a5f75e2c88 salt=d428185ec94cbee689b70cbf6e54b0bf60ce940c54395e425679b97a7c7a8791" noinitrd vt.global_cursor_default=0 kern_guid=be3db06e-7d27-2549-b06b-6df0e5fdfc7c
Build Date: 12 February 2015  02:55:07PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Dec  2 15:54:54 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: armhf
xmethod: xorg
targets: unity
host: version 8743.85.0 (Official Build) stable-channel elm
kernel: Linux localhost 3.18.0-13101-g57e8190 #1 SMP PREEMPT Tue Nov 15 18:13:26 PST 2016 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down Hangup
(EE) Server terminated successfully (0). Closing log file.

Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.
chronos@localhost / $

So it seems to me I need to set : Owner of /tmp/.X11-unix to root, and maybe i need to target touch as well as unity, because I have a touch screen, but other than that I don't know.
Previous things I've done was replace the release from precise to trusty, while trying to follow someone elses closed problem but that didn't change anything.
The goal is to get linux so I can start learning python on this computer, and otherwise explore programming, though I could try xfce instead of unity, that had a different error.
I'm down to powerwash this laptop and start all over if that's what's needed.
Please and Thank You for the Help!

I guess I need to unmount whatever is already using trusty? hmmmm.

@ActiveScrub,

I guess I need to unmount whatever is already using trusty? hmmmm.

Just reboot, it's easier.
The xorg:unity targets may not work too well on ARM devices.
You could try using xmethod 'xiwi' instead of 'xorg' and see if it works or you could use another desktop target like xfce or lxde instead.
To add xiwi to your existing chroot use: sudo sh ~/Downloads/crouton -n trusty -t xiwi -u
Then try your unity desktop again with: sudo startunity
To add another desktop like lxde use: sudo sh ~/Downloads/crouton -n trusty -t lxde -u
Then start your lxde desktop with: sudo startunity
Hope this helps,
-DennisL

Okay! It seemed to do more, it prompted me to install crouton integration which I did, but now sudo start unity gives me
Entering /mnt/stateful_partition/crouton/chroots/trusty...

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu
Current Operating System: Linux localhost 3.18.0-13101-g57e8190 #1 SMP PREEMPT Tue Nov 15 18:13:26 PST 2016 aarch64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3334144 verity payload=PARTUUID=be3db06e-7d27-2549-b06b-6df0e5fdfc7c/PARTNROFF=1 hashtree=PARTUUID=be3db06e-7d27-2549-b06b-6df0e5fdfc7c/PARTNROFF=1 hashstart=3334144 alg=sha1 root_hexdigest=5c1bddf7f51612684bc4a69b1d2a82a5f75e2c88 salt=d428185ec94cbee689b70cbf6e54b0bf60ce940c54395e425679b97a7c7a8791" noinitrd vt.global_cursor_default=0 kern_guid=be3db06e-7d27-2549-b06b-6df0e5fdfc7c
Build Date: 12 February 2015  02:55:07PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Dec  2 17:43:43 2016
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: armhf
xmethod: xiwi
targets: xiwi,unity
host: version 8743.85.0 (Official Build) stable-channel elm
kernel: Linux localhost 3.18.0-13101-g57e8190 #1 SMP PREEMPT Tue Nov 15 18:13:26 PST 2016 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
Error: target STRING not available
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.
Hangup
Hangup

Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/trusty..

Also of note, sudo edit-croot -all, now returns a command not found.

So why does edit-croot return command not found, and what is it trying to connect to?  and how can I help it?
More info, I'm using an Acer Chromebook R 13, with presumably the latest ChromeOS.

OOOOOOOOOOOH, snap, yup, did the lxde stuff, and that totally worked.  I don't seem to be able to jump back and forth, but I can instantly be in Linux now and then quit back to here!  Sick!  Thank you so much!  I'm gunna close this, seriously awesome!

@ActiveScrub,
Try your sudo startunity command again, it doesn't always connect the first (or second) time.

Also of note, sudo edit-croot -all, now returns a command not found.

You had a typo, it should be sudo edit-chroot -all (that's chroot).

I don't seem to be able to jump back and forth, but I can instantly be in Linux now and then quit back to here!

The key combo to switch back and forth from your chroot to CrOS is: ctrl + alt + F1(<-) or F2(->)
Note, now with both 'xorg' & 'xiwi', you can use one or the other using the '-X' option, like -
sudo startunity -X xiwi-tab (for the Unity desktop in a browser tab)
sudo startlxde -X xorg (to run your lxde desktop using the 'xorg' xmethod)
Hope this helps,
-DennisL


Feature: Change default location of settings spreadsheet to main project folder (v5.6)

Change the default location of settings spreadsheet (SettingsFileGenerator.xml) to the main project folder instead of EnvironmentSettings subfolder. Continue to recognize the old location for backward compatibility.
This work item was migrated from CodePlex
CodePlex work item ID: '10976'
Assigned to: 'tfabraham'
Vote count: '1'

[UnknownUser@8/19/2015]
Associated with changeset 77146.

[UnknownUser@8/19/2015]
Resolved with changeset 77147.


Add one line comments to components

This story adds the ability to display one line comments for components in the GUI.
That is comments that are stored in the enso file like so:
## add a row number so I can use it for my transpose
operator20253 = operator95608.add_row_number

It should appear in the GUI the same as the error dialog, but positioned above the component

As always please don't take my poor artwork as anything more than an indicator of the idea. Fonts, sizing, spacing etc. should match existing standards.

New comments can be added using a new menu item on the full wheel
If a comment already exists the menu item button will put the comment in edit mode
Comment can also enter edit mode by double clicking on the comment
If a user deletes all the text in a comment and then exits edit mode the comment should be removed

i assume Ctrl+Click should also put the comment into edit mode, for consistency with nodes?

i assume Ctrl+Click should also put the comment into edit mode, for consistency with nodes?

Yes good call. In fact I think it should probably only be Ctrl+Click for consistency with nodes. Will update story.

Refinement notes:

To simplify, let's keep comments on the same layer as the node.
Display entire content as plain HTML. When editing, let's use codemirror to allow multiline edits.
For now, just display documentation code as-is, and parse the edit result.


Test and update docs related to app.html wrapping div

Link to the Page
https://www.skeleton.dev/guides/frameworks/sveltekit
Describe the Issue
From user @CokaKoala on Discord:

howdy folks, I just saw this new release of create-svelte (https://github.com/sveltejs/kit/releases/tag/create-svelte%402.0.0-next.191) pushed a couple of hours ago that now inlines style="display: contents"  on the div that wraps %sveltekit.body% by default. I'm not sure if that would break anything when using App Shell since I haven't tried it out yet but I just wanted to give you guys a heads up

Per MDN:
https://developer.mozilla.org/en-US/docs/Web/CSS/display

These elements don't produce a specific box by themselves. They are replaced by their pseudo-box and their child boxes. Please note that the CSS Display Level 3 spec defines how the contents value should affect "unusual elements" — elements that aren't rendered purely by CSS box concepts such as replaced elements. See Appendix B: Effects of display: contents on Unusual Elements for more details.
Due to a bug in browsers, this will currently remove the element from the accessibility tree — screen readers will not look at what's inside. See the Accessibility concerns section below for more details.

MDN a11y concerns:
https://developer.mozilla.org/en-US/docs/Web/CSS/display#accessibility_concerns

Current implementations in most browsers will remove from the accessibility tree any element with a display value of contents (but descendants will remain). This will cause the element itself to no longer be announced by screen reading technology. This is incorrect behavior according to the CSS specification.

Essentially we need to test the following:

[ ] Will this suffice instead of needing users to modify the app.html wrapping div styles for App Shell and general layouts?
[ ] If so, update the SvelteKit/Vite frameworks guides
[ ] Additionally, update the App Shell documentation.

Are you able to create a Pull Request with the fix?
Yes

@niktek Here's the results:

Using only the class styles we specified in the current docs - this works as expected!

%sveltekit.body%

Using ONLY the new default style tag - unfortunately content does not fill the width. So we will need doc updates.

%sveltekit.body%

Keeping the default display style but adding our recommended classes - this works as expected:

%sveltekit.body%

So #3 will be our answer. I'll update the docs accordingly. Feel free to update the CLI to match.

I've updated both the Frameworks > SvelteKit guide and the App Shell docs with this new recommendation. I didn't fix our app.html file, but it doesn't really matter. This new style doesn't really do much as far as I can tell.


[BUG] Crash on foldable device (Bounds must be non zero)

Steps to Reproduce

Create a foldable device with the following specs/details (I'm unsure yet whether the specs below matter, but the device being foldable definitely matters):

7.6" Fold-in without outer display, API 32 arm 64
Advanced settings: RAM 4GB, VM Heap 1GB, Internal Storage 10GB

git clone https://github.com/btrautmann/does-it-crash.git
cd does-it-crash/
flutter run on the newly created device
The app should build and run successfully
Now, select the Closed posture for the foldable by going to the extended settings on the emulator and viewing Virtual Sensors, and then select Closed posture (left-most option)
Quit the emulator
Do a cold boot of the emulator
flutter run again inside does-it-crash/
App hangs on startup and crashes (see below)

NOTE The flutter run logs are not helpful here, because they stop saying:
[  +90 ms] Fail to connect to service protocol: http://<IP_ADDRESS>:50380/O4JJLRxvztY=/: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:50380/O4JJLRxvztY=/ws
[        ] "flutter run" took 7,080ms.
[  +32 ms] ensureAnalyticsSent: 31ms
[   +1 ms] Running shutdown hooks

In order to get the below logs, use adb logcat.
Expected results:
App runs normally
Actual results:
com.example.does_it_crash            E  FATAL EXCEPTION: main
Process: com.example.does_it_crash, PID: 7016
java.lang.IllegalArgumentException: Bounds must be non zero
at androidx.window.extensions.layout.FoldingFeature.validateFeatureBounds(FoldingFeature.java:125)
at androidx.window.extensions.layout.FoldingFeature.<init>(FoldingFeature.java:95)
at androidx.window.extensions.layout.WindowLayoutComponentImpl.getDisplayFeatures(WindowLayoutComponentImpl.java:227)
at androidx.window.extensions.layout.WindowLayoutComponentImpl.getWindowLayoutInfo(WindowLayoutComponentImpl.java:176)
at androidx.window.extensions.layout.WindowLayoutComponentImpl.onDisplayFeaturesChanged(WindowLayoutComponentImpl.java:168)
at androidx.window.extensions.layout.WindowLayoutComponentImpl.updateRegistrations(WindowLayoutComponentImpl.java:242)
at androidx.window.extensions.layout.WindowLayoutComponentImpl.addWindowLayoutInfoListener(WindowLayoutComponentImpl.java:95)
at androidx.window.layout.ExtensionWindowLayoutInfoBackend.registerLayoutChangeCallback(ExtensionWindowLayoutInfoBackend.kt:68)
at androidx.window.layout.WindowInfoTrackerImpl$windowLayoutInfo$1.invokeSuspend(WindowInfoTrackerImpl.kt:52)
at androidx.window.layout.WindowInfoTrackerImpl$windowLayoutInfo$1.invoke(Unknown Source:8)
at androidx.window.layout.WindowInfoTrackerImpl$windowLayoutInfo$1.invoke(Unknown Source:4)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:212)
at androidx.window.java.layout.WindowInfoTrackerCallbackAdapter$addListener$1$1.invokeSuspend(WindowInfoTrackerCallbackAdapter.kt:96)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7842)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
2022-12-16 16:55:28.398   532-546   ActivityTaskManager     system_process                       W    Force finishing activity com.example.does_it_crash/.MainActivity

Code sample

See repository.

Logs

Analyzing does_it_crash...
No issues found! (ran in 1.7s)

[✓] Flutter (Channel stable, 3.0.5, on macOS 12.6.1 21G217 darwin-arm, locale en-US)
    • Flutter version 3.0.5 at /Users/brandontrautmann/fvm/versions/3.0.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 months ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/brandontrautmann/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_SDK_ROOT = /Users/brandontrautmann/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio Chipmunk.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

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

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 32) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 12.6.1 21G217 darwin-arm
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Thanks for the report @btrautmann
A similar issue is already open describing your case, so I suggest you to follow-up in it for further updates.
Closing this as a duplicate.


Parenthesis in a search phrase will throw an error

apparently adding parenthesis to a serach frase will make the query fail.
The only difference between the snapshots is that I removed the parenthesis and added a coma in the "Search Phrase" field.

@M3nt3 thanks for reporting the issue! We're not seeing this issue against newer versions of Neo4j. Would you mind sharing with us the version of the database you were running Bloom against when you encountered this issue?

Hello and thanks for answering.
We are running Bloom Server (Neo4j Bloom version: 1.3.1) and I am connected through Chrome.
On top of the above, I noticed a related but different behaviour, that cause a worse crash.
I created a new Search with parenthesis, but this time I put the parameter within parenthesis:

Now I cannot run any search at all, as the search bar times out without matching any search phrase. This as soon as I start typing anything at all, even a normal query and not a search phrase. The only difference with the case above is that the parameter this time is within parenthesis. This freezes bloom until I actually modify that search phrase.

Thanks for checking this out.

Hi, thanks for the clear instructions! We can reproduce the new error you mentioned and we will investigate further.
As for the original issue, sorry I should have been more clear! Can you please report the version of the database (and not Bloom version) when you see the original error?
You can find the Neo4j database version from the Perspective Gallery like in the screenshot below:

This can be opened by clicking the top button in the menu bar on the left, and then clicking the title/name of your current perspective at the top of the panel that is open...

Hi!
Apologise, did not think about specifying the Neo4j version.
We are running 4.0.4
Thanks for looking into it.
It is not a huge problem avoiding parenthesis to be on the safe side, but I can see this being a nasty bug to find out as it is strange to think it comes from spelling (probably related to the parenthesis notation of nodes in cypher?).

Yeah, parenthesis notation can be tricky both because of its use in cypher, and because it is used for grouping in regular expressions.
Thanks for providing your Neo4j version, it'll help us narrow down the reproduction for the original/first issue you reported.

@M3nt3 We have just released Bloom version 1.5.0 which includes some fixes for special characters in search phrase text. If you have a moment to try it out it would be great if you could let us know if you can still reproduce the issue. Thanks!

@M3nt3 We have just released Bloom version 1.5.0 which includes some fixes for special characters in search phrase text. If you have a moment to try it out it would be great if you could let us know if you can still reproduce the issue. Thanks!

Tested with 1.6.1 and works fine, going to close this issue


Comments for commands/clusters.go file

Description
Comments for commands/clusters.go file
Fixes #240
Type of change

Documentation update

Testing steps
N/A

Codecov Report

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

@@           Coverage Diff           @@
##           master     #250   +/-   ##
=======================================
  Coverage   70.95%   70.95%
=======================================
  Files          12       12
  Lines         730      730
=======================================
  Hits          518      518
  Misses        208      208
  Partials        4        4

Impacted Files
Coverage Δ

commands/clusters.go
89.65% <ø> (ø)

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 c1a5064...d4bdfc2. Read the comment docs.


Model.summary() throws exceptions.

Hello,
I'm trying to translate a very basic model from Python to C#.
using System;
using System.Collections.Generic;
using Tensorflow;
using Tensorflow.Keras;
using Tensorflow.Keras.Datasets;
using Tensorflow.Keras.Engine;
using Tensorflow.Keras.Losses;
using Tensorflow.Keras.Optimizers;
using Tensorflow.NumPy;
using static Tensorflow.Binding;
using static Tensorflow.KerasApi;

namespace TFLearnNET
{

    internal static class NnTask
    {

        private static string[] LabelNames = new[]
        {
            "Top", "Bottom", "Pullover",
            "Dress", "Coat", "Sandal",
            "Dress Shirt", "Sneaker",
            "Bag", "Ankle Boot"
        };

        private static NDArray TrainingFeatures;
        private static NDArray TrainingLabels;
        private static NDArray TestingFeatures;
        private static NDArray TestingLabels;

        private static Sequential Model;

        public static void Run()
        {
            PreprocessData();
            BuildModel();
            TrainModel();
        }

        private static void PreprocessData()
        {
            Console.WriteLine("Getting dataset...");
            DatasetPass mnist = keras.datasets.mnist.load_data();
            Console.WriteLine("Dataset found and obtained.");

            (NDArray trainingFeaturesUnprocessed, NDArray trainingLabelsUnprocessed) = mnist.Train;
            TrainingLabels = trainingLabelsUnprocessed;
            Console.WriteLine("Training pointers set...");
            Console.WriteLine("Training unprocessed input shape: " + trainingFeaturesUnprocessed.shape);

            (NDArray testingFeaturesUnprocessed, NDArray testingLabelsUnprocessed) = mnist.Test;
            TestingLabels = testingLabelsUnprocessed;
            Console.WriteLine("Testing pointers set...");
            Console.WriteLine("Testing unprocessed input shape: " + testingFeaturesUnprocessed.shape);

            Console.WriteLine("Preprocessing data...");

            Console.WriteLine("Normalizing data scale [0, 255] to [0, 1].");
            TrainingFeatures = trainingFeaturesUnprocessed / 255;
            TestingFeatures = testingFeaturesUnprocessed / 255;

            Console.WriteLine("Preprocess completed.");
            Console.WriteLine("Training input shape: " + TrainingFeatures.shape);
            Console.WriteLine("Testing input shape: " + TestingFeatures.shape);
        }

        private static void BuildModel()
        {
            Console.WriteLine("Defining model layers...");
            List<ILayer> layers = new(new[]
            {
                // Flattens the input to 784 neurons.
                keras.layers.Flatten(),

                // Dense just means all neurons from previous
                // layer are connected to this layer too.
                // The number 128 is arbitrary - usually, you'd
                // want this number to be less than input neurons
                // but more than output neurons.
                // ReLU: x < 0 => y = 0 || x >= 0 => y = x
                (Layer) keras.layers.Dense(128, "relu", 784),

                // Dense just means all neurons from previous
                // layer are connected to this layer too.
                // Layer size is based on how many classes we have.
                // Softmax: sigma(layer) = 1
                keras.layers.Dense(LabelNames.Length, "softmax", 128)
            });
            Console.WriteLine("Model Layers defined.");

            Console.WriteLine("Building and compiling model...");
            Model = keras.Sequential(layers, "Fashion-Cloth-Classifier");
            Model.compile(
                new Adam(),
                new SparseCategoricalCrossentropy(),
                new []{"accuracy"}
            );
            Console.WriteLine("Model compiled ---- ");
            Model.summary();
        }

        private static void TrainModel()
        {
            NDArray castedFeatures = tf.cast(TrainingFeatures, TF_DataType.TF_FLOAT).numpy();
            Model.fit(castedFeatures, TrainingLabels, 1, 10);
        }

    }

}

This same code in Python looks like so:
def nn_task():
    mnist = keras.datasets.fashion_mnist
    # (60K, 28, 28), [0, 0, 0] = 0  ---- 0: Black, 255: White
    (train_features, train_labels), (test_features, test_labels) = mnist.load_data()
    print(train_features.shape)
    label_names = [
        "Top", "Bottom", "Pullover",
        "Dress", "Coat", "Sandal",
        "Dress Shirt", "Sneaker",
        "Bag", "Ankle Boot"
    ]

    # plt.figure()
    # plt.imshow(train_features[0])
    # plt.colorbar()
    # plt.gray()
    # plt.plot()
    # plt.pause(5)

    # Normalize to scale of [0, 1]
    # Ensures that values only range from 0 to 1.
    train_features = train_features / 255
    test_features = test_features / 255

    model = keras.Sequential([
        # Flattens the input to 784 neurons.
        keras.layers.Flatten(input_shape=(28, 28), name="Input"),

        # Dense just means all neurons from previous
        # layer are connected to this layer too.
        # The number 128 is arbitrary - usually, you'd
        # want this number to be less than input neurons
        # but more than output neurons.
        # ReLU: x < 0 => y = 0 || x >= 0 => y = x
        keras.layers.Dense(128, activation="relu", name="DataParser"),

        # Dense just means all neurons from previous
        # layer are connected to this layer too.
        # Layer size is based on how many classes we have.
        # Softmax: sigma(layer) = 1
        keras.layers.Dense(len(label_names), activation="softmax", name="Output")
    ], "Fashion-Cloth-Classifier")

    model.compile(
        optimizer="adam",
        loss="sparse_categorical_crossentropy",
        metrics=["accuracy"]
    )
    model.summary()

    with tf.device("/GPU:0"):
        model.fit(train_features, train_labels, epochs=10, batch_size=1, callbacks=[board_callback])

I'm quite unsure of why this doesn't work. Any assistance would be helpful.
The exception thrown is:
Model.summary():
Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at Tensorflow.Keras.Engine.Layer.get_output_shape()
   at Tensorflow.Keras.Utils.layer_utils.print_layer_summary(ILayer layer, Int32[] positions)
   at Tensorflow.Keras.Utils.layer_utils.print_summary(Model model, Int32 line_length, Single[] positions)
   at Tensorflow.Keras.Engine.Model.summary(Int32 line_length, Single[] positions)
   at TFLearnNET.NnTask.BuildModel() in C:\Users\shahe\Desktop\Development\AI\TFLearnNET\TFLearnNET\NnTask.cs:line 100

Model.train():
Unhandled exception. Tensorflow.InvalidArgumentError: Value for attr 'T' of uint8 is not in the list of allowed values: bfloat16, half, float, double, int32, int64, complex64, complex128; NodeDef: {{node dense/MatMul}}; Op<name=MatMul; signature=a:T, b:T -> product:T; attr=transpose_a:bool,default=false; attr=transpose_b:bool,default=false; attr=T:type,allowed=[DT_BFLOAT16, DT_HALF, DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_COMPLEX64, DT_COMPLEX128]>
   at Tensorflow.ops._create_c_op(Graph graph, NodeDef node_def, Tensor[] inputs, Operation[] control_inputs, OpDef op_def)
   at Tensorflow.Operation..ctor(NodeDef node_def, Graph g, Tensor[] inputs, TF_DataType[] output_types, ITensorOrOperation[] control_inputs, TF_DataType[] input_types, String original_op, OpDef op_def)
   at Tensorflow.Graph.create_op(String op_type, Tensor[] inputs, TF_DataType[] dtypes, TF_DataType[] input_types, String name, Dictionary`2 attrs, OpDef op_def, Boolean compute_device)
   at Tensorflow.Graphs.FuncGraph.create_op(String op_type, Tensor[] inputs, TF_DataType[] dtypes, TF_DataType[] input_types, String name, Dictionary`2 attrs, OpDef op_def, Boolean compute_device)
   at Tensorflow.OpDefLibrary._apply_op_helper(String op_type_name, String name, Dictionary`2 keywords)
   at Tensorflow.Contexts.Context.ExecGraphAction(String OpType, String Name, ExecuteOpArgs args)
   at Tensorflow.Contexts.Context.ExecuteOp(String opType, String name, ExecuteOpArgs args)
   at Tensorflow.gen_math_ops.mat_mul(Tensor a, Tensor b, Boolean transpose_a, Boolean transpose_b, String name)
   at Tensorflow.Keras.Layers.Dense.Call(Tensors inputs, Tensor state, Nullable`1 training)
   at Tensorflow.Keras.Engine.Layer.FunctionalConstructionCall(Tensors inputs)
   at Tensorflow.Keras.Engine.Layer.Apply(Tensors inputs, Tensor state, Boolean training)
   at Tensorflow.Keras.Engine.Sequential._build_graph_network_for_inferred_shape(Shape input_shape, TF_DataType input_dtype)
   at Tensorflow.Keras.Engine.Sequential.Call(Tensors inputs, Tensor state, Nullable`1 training)
   at Tensorflow.Keras.Engine.Layer.Apply(Tensors inputs, Tensor state, Boolean training)
   at Tensorflow.Keras.Engine.Model.train_step(Tensor x, Tensor y)
   at Tensorflow.Keras.Engine.Model.train_step_function(OwnedIterator iterator)
   at Tensorflow.Keras.Engine.Model.FitInternal(Int32 epochs, Int32 verbose)
   at Tensorflow.Keras.Engine.Model.fit(NDArray x, NDArray y, Int32 batch_size, Int32 epochs, Int32 verbose, Single validation_split, Boolean shuffle, Int32 initial_epoch, Int32 max_queue_size, Int32 workers, Boolean use_multiprocessing)
   at TFLearnNET.NnTask.TrainModel() in C:\Users\shahe\Desktop\Development\AI\TFLearnNET\TFLearnNET\NnTask.cs:line 105

Hey hi !
Same error raising on my side (except I do not compile() my model before trying to get a summary() ).
Any update ? Any experiment to share ?
Thanks,
J

Hey hi !
Same error raising on my side (except I do not compile() my model before trying to get a summary() ).
Any update ? Any experiment to share ?
Thanks, J

Hello,
Sorry for my late response. Have been quite busy lately.
Sadly not. I gave up on this library a while ago.


populate from one schema to another

Summary:
so basically i am trying to do a populate from my client schema to company schema and i am not able to achieve it.
Code sample:
Schema
`//Client Schema
var dynamoose = require('dynamoose');
var ClientSchema = new dynamoose.Schema({
  id:{
    type: String,
    index:{
      global: true,
      name: 'ClientIdIndex'
    }
  },
  name : {
    hashKey: true,
    type: String
  },
  secret: {
    type: String,
    required: true
  },
  companyId:{
    type: String,
    required: true,
    index: {
      global: true
    }
  },
  serviceId : {
    type: String,
    index: {
      global: true
    }
  },
  redirectUris: {
    type:[String]
  }
});

ClientSchema.method('getService', async function () {
    var {Service} = require("./index");
    var service = await Service.queryOne({id:this.serviceId}).exec();
    if (service != null)
    {
      return service;
    }
    return false;
});

ClientSchema.method('getCompany', async function () {
    var {Company} = require("./index");
    var company = await Company.queryOne({id:this.companyId}).exec();
    if (company != null)
    {
      return company;
    }
    return false;
});

ClientSchema.method('getAccount', async function (username, password) {
    var {Account} = require("./index");
    var account = await Account.queryOne({clientId:this.id, email: username}).filter({password: password}).exec();
    if (account != null)
    {
      return account;
    }
    return false;
});

module.exports = ClientSchema;
`

Model
`module.exports =  {
    Client: dynamoose.model("Client",ClientSchema, {update:true})
}`

General
`let company = await Client.query("id")
            .eq(clientMongoId)
            .exec()
            .then(function(dogs) {
              return Promise.all(
                dogs.map(function(dog) {
                  return dog.populate({
                    path: "companyId",
                    model: "Company"
                  });
                })
              );
            });`

Current output and behavior:
"message": "Invalid reference"
Expected output and behavior:
company to be populated at companyId
Environment:
Operating System: ubuntu
Operating System Version: 18.04
Node.js version (node -v): v8.10.0
NPM version: (npm -v): 6.5.0
Dynamoose version: ^1.2.0
Dynamoose Plugins: "dynamodb-localhost": "0.0.7"

Dynamoose Plugins:

[ ] Yes, I believe that one or multiple 3rd party Dynamoose plugins are effecting this issue
[ ] No, I believe this issue is independent of any 3rd party Dynamoose plugins I'm using
[ Yes ] Unknown, I'm unsure if Dynamoose plugins are effecting this issue
[ ] I am not using any Dynamoose plugins

Other information (if applicable):
so here are the debug logs from the terminal console

dynamoose:query exec query for  { hashKey: { name: 'id', value: '5b287ddf1306cc07d85b75d7' } } +0ms
dynamoose:query Query with schema Schema {
tree: {},
methods:
{ getService: [AsyncFunction],
getCompany: [AsyncFunction],
getAccount: [AsyncFunction] },
statics: {},
virtuals: {},
options: {},
throughput: { read: 1, write: 1 },
useDocumentTypes: true,
useNativeBooleans: true,
attributeFromDynamo: undefined,
attributeToDynamo: undefined,
attributes:
{ id:
Attribute {
options: [Object],
schema: [Circular],
name: 'id',
isSet: false,
type: [Object],
attributes: {},
required: undefined,
indexes: [Object] },
name:
Attribute {
options: [Object],
schema: [Circular],
name: 'name',
isSet: false,
type: [Object],
attributes: {},
required: undefined },
secret:
Attribute {
options: [Object],
schema: [Circular],
name: 'secret',
isSet: false,
type: [Object],
attributes: {},
required: true },
companyId:
Attribute {
options: [Object],
schema: [Circular],
name: 'companyId',
isSet: false,
type: [Object],
attributes: {},
required: true,
indexes: [Object] },
serviceId:
Attribute {
options: [Object],
schema: [Circular],
name: 'serviceId',
isSet: false,
type: [Object],
attributes: {},
required: undefined,
indexes: [Object] },
redirectUris:
Attribute {
options: [Object],
schema: [Circular],
name: 'redirectUris',
isSet: true,
type: [Object],
attributes: {},
required: undefined } },
indexes:
{ local: {},
global:
{ ClientIdIndex: [Object],
companyIdGlobalIndex: [Object],
serviceIdGlobalIndex: [Object] } },
hashKey:
Attribute {
options: { hashKey: true, type: [Function: String] },
schema: [Circular],
name: 'name',
isSet: false,
type: { name: 'string', dynamo: 'S' },
attributes: {},
required: undefined } } +2ms
dynamoose:query query is on global secondary index +5ms
dynamoose:query using index ClientIdIndex +0ms
dynamoose:attribute toDynamo {"S":"5b287ddf1306cc07d85b75d7"} +6s
dynamoose:table Waiting for Active table, Client, {"update":true,"create":true,"waitForActive":true,"waitForActiveTimeout":180000,"prefix":"","suffix":""} +6s
dynamoose:table Waiting... +1ms
dynamoose:table index ClientIdIndex.IndexStatus is ACTIVE +26ms
dynamoose:table index serviceIdGlobalIndex.IndexStatus is ACTIVE +1ms
dynamoose:table index companyIdGlobalIndex.IndexStatus is ACTIVE +2ms
dynamoose:query DynamoDB Query: {"TableName":"Client","KeyConditions":{"id":{"AttributeValueList":[{"S":"5b287ddf1306cc07d85b75d7"}],"ComparisonOperator":"EQ"}},"IndexName":"ClientIdIndex"} +33ms
dynamoose:query DynamoDB Query Response: {"Items":[{"id":{"S":"5b287ddf1306cc07d85b75d7"},"secret":{"S":"password"},"companyId":{"S":"5b288a72388fbf093d5fbbc4"},"serviceId":{"S":"15288a74388fbf093d5faac6"},"name":{"S":"shailendra"}}],"Count":1,"ScannedCount":1} +150ms
dynamoose:model applying virtuals +6s
dynamoose:attribute parseDynamo: id : "string" : "5b287ddf1306cc07d85b75d7" +188ms
dynamoose:attribute parseDynamo: secret : "string" : "password" +2ms
dynamoose:attribute parseDynamo: companyId : "string" : "5b288a72388fbf093d5fbbc4" +1ms
dynamoose:attribute parseDynamo: serviceId : "string" : "15288a74388fbf093d5faac6" +0ms
dynamoose:attribute parseDynamo: name : "string" : "shailendra" +2ms
dynamoose:schema parseDynamo: [object Object] +6s
dynamoose:query query parsed model Model-Client {
id: '5b287ddf1306cc07d85b75d7',
secret: 'password',
companyId: '5b288a72388fbf093d5fbbc4',
serviceId: '15288a74388fbf093d5faac6',
name: 'shailendra' } +13ms
dynamoose:model Get "5b288a72388fbf093d5fbbc4" +16ms
dynamoose:attribute toDynamo {"S":"5b288a72388fbf093d5fbbc4"} +9ms
dynamoose:table Waiting for Active table, Company, {"update":true,"create":true,"waitForActive":true,"waitForActiveTimeout":180000,"prefix":"","suffix":""} +173ms
dynamoose:table Waiting... +2ms
dynamoose:table index userGlobalIndex.IndexStatus is ACTIVE +26ms
dynamoose:table index CompanyIdIndex.IndexStatus is ACTIVE +1ms
dynamoose:model getItem { TableName: 'Company',
Key: { name: { S: '5b288a72388fbf093d5fbbc4' } } } +34ms
dynamoose:model getItem response {} +44ms

Type (select 1):

[ ] Bug report
[ ] Feature suggestion
[ Yes ] Question
[ ] Other suggestion
[ ] Something not listed here

Other:

[ Yes ] I have read through the Dynamoose documentation before posting this issue
[ Yes ] I have searched through the GitHub issues (including closed issues) and pull requests to ensure this issue has not already been raised before
[ Yes ] I have searched the internet and Stack Overflow to ensure this issue hasn't been raised or answered before
[ Yes ] I have tested the code provided and am confident it doesn't work as intended
[ Yes ] I have ensured that all of my plugins that I'm using with Dynamoose are listed above
[ Yes ] I have filled out all fields above
[ ] I am running the latest version of Dynamoose

@ydvsailendar
You say your error is "message": "Invalid reference".
 At first glance that really doesn't look like a Dynamoose error at all.

so as you can this at this function which is inside the dynamoose/lib/Model.js
`
const modelPropName = Object.keys(this.$.table.base.models).filter((key) => {
const model = this.$.table.base.models[key];
return (
model.$.name === model.$.options.prefix + options.model + model.$.options.suffix ||
model.$.name === model.$.options.prefix + options.model ||
model.$.name === options.model + model.$.options.suffix ||
model.$.name === options.model ||
model.$.name === model.$.options.prefix + ModelPathName + model.$.options.suffix ||
model.$.name === model.$.options.prefix + ModelPathName ||
model.$.name === ModelPathName + model.$.options.suffix ||
model.$.name === ModelPathName
);
}).pop();
const Model = this.$__.table.base.models[modelPropName];
if (!Model) {
throw new Error('The provided model doesn't exists');
}
return Model
.get(this[options.path || options])
.then(target => {
if (!target) {
throw new Error('Invalid reference');
}
this[options.path || options] = target;
fillPath = fillPath.concat(options.path || options);
objectPath.set(resultObj, fillPath, target);
if (options.populate) {
return this[options.path || options].populate(options.populate, resultObj, fillPath);
} else {
return resultObj;
}
});
};
`
so if i am not wrong its generated from here but i am not sure why.

@ydvsailendar Is the dog actually saved with the companyId?  Can you confirm in your table?  Also, can you confirm that the id you see at companyId actually matches an item?

@zarov  yes companyId has a item in my database id: "5b288a72388fbf093d5fbbc4" which i am trying to populate via companyId and with this line in the logs if i am not wrong dog is saving the companyId and trying to call get in it here

dynamoose:model Get "5b288a72388fbf093d5fbbc4" +16ms
dynamoose:attribute toDynamo {"S":"5b288a72388fbf093d5fbbc4"} +9ms
dynamoose:table Waiting for Active table, Company, {"update":true,"create":true,"waitForActive":true,"waitForActiveTimeout":180000,"prefix":"","suffix":""} +173ms
dynamoose:table Waiting... +2ms
dynamoose:table index userGlobalIndex.IndexStatus is ACTIVE +26ms
dynamoose:table index CompanyIdIndex.IndexStatus is ACTIVE +1ms
dynamoose:model getItem { TableName: 'Company',
Key: { name: { S: '5b288a72388fbf093d5fbbc4' } } } +34ms
dynamoose:model getItem response {} +44ms

how to generate id automatically in the DB

@pradeeparavi13 DynamoDB does not have this feature


Moved angle types to tuple structs

Updated https://github.com/brendanzab/cgmath/pull/341 to the newest commit.

Cheers!


Bump gl_generator to new version

This is needed for getting glutin to work when using rustc nightly on release mode on windows.

Rejoice!


Executable will not upload to Drive

I successfully developed a Labview program utilizing the Gdrive add-on everything worked as it should, however the executable application version of the program developed is unable to upload files to the drive. No errors messages were generated.
Any ideas as to what I'm doing wrong, or are there issues using the add on when building an executable?

I'm glad you're contributing to this project/tool! The code is open-source and therefore open for debugging, but there is no official support planned for it.  That being said, have you tried making the EXE debuggable and connecting to it from LabVIEW to see where things are failing?
If you need help with debugging this further in an EXE I recommend following up with NI Support or consulting the NI forums, here: https://forums.ni.com


Removes site app catalog list sample script

This sample script became obsolete because now we have spo site appcatalog list which does a better job than the sample script (because the sample script is search based).

Merged manually. Thank you! 👏


QuickType is nearly unusable on an iPhone

The text editor box where one enters their JSON is essentially unusable in Safari on iOS 12.2 -
Holding delete to rapidly remove characters deletes only a single character no matter how long the key is held
Tapping the text area twice does not start a selection range
Tapping repeatedly more slowly does not offer select all/paste options
Holding/dragging on the text area does not show the magnifying glass for accurate text placement

Would it be possible to either auto detect an iPhone and switch to a basic text area or show a button that switches to a basic text area, if an iPhone is in use please?

Hello! The quicktype web app is only meant to preview quicktype functionality on iPhone. Are you actually programming on your iPhone? Can you explain your use case?

Hi David. I do 90+% of my posting on SO from an iPhone, and often I need to copy the questioner's JSON, whack it into QuickType, post up the classes and a shameless plug for QuickType (of course, I still mention it but it tends to be as a comment as I can't use it to make an answer if I'm on an iPhone) and incorporate the QT output into the larger answer
I have a similar problem with most of the code/DB fiddle sites - they use fancy editors that don't play nice with copy paste so it's hard to get data in/out and I often end up going the protracted route of using the phone to RDP into some PC on the home network and use that for the bit I need.. but each time I wish "gee, if there was just a plain old text box somewhere I could paste into.."


feat: [BB-244] list component for fertilizer

Description
Created list component for fertilizers to show data that has been entered in the input fields.
Mockup Reference:

Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have already been accepted and merged

Further comments

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

Very straightforward list, a repeat of fields list.

@GDamaso  I'm not sure in your part so I can't test it out.
here's how it look in mine. but just in case I added nowrap


Your account is blocked

Account block

  Your account was blocked from sending messages to the chat.

Halfmoon design for an "account blocked" thing

We already do have a few alerts for bans and errors, have a look at those:
https://github.com/RiversideRocks/web-riverside/blob/master/src/v1/client.js#L53


(WIP / DO Not Merge) Minor documentation improvements

Coverage decreased (-0.1%) to 88.703% when pulling 4f4af70a851e8a56bcc2b3354d5f748a5e45bb39 on mprimi:doc into 7b1bf26a9ed38f85247fa60bc79eff284a8dd3f4 on Netflix:master.

Coverage decreased (-0.1%) to 88.703% when pulling 6832dcfbc0e918dee783ac413a1a1fd4c0efdc79 on mprimi:doc into 7b1bf26a9ed38f85247fa60bc79eff284a8dd3f4 on Netflix:master.

@tgianos this is ready for review

Coverage decreased (-0.1%) to 88.703% when pulling 7f091cc8edfab98b1d43d0fac7e212aa98b46aa1 on mprimi:doc into 7b1bf26a9ed38f85247fa60bc79eff284a8dd3f4 on Netflix:master.

Coverage remained the same at 88.804% when pulling 27a3334c90142936da7c2c4f590f5540ef6443d2 on mprimi:doc into 7b1bf26a9ed38f85247fa60bc79eff284a8dd3f4 on Netflix:master.

Coverage remained the same at 88.703% when pulling 13060cd0c94c841dd52514be15ef1fd62e9263f0 on mprimi:doc into 4c974d0fc163400f03b0561426ee21da62fff21a on Netflix:master.


Enable pasting images onto an image control

Expected behavior:
When the cursor is hovering on an image control and Ctrl-V is pressed, the image control accepts the image from the clipboard by saving the image into its image topic.
This is useful when the user takes a screenshot of something and want to edit the image in Grapycal.

Done


Fix Capuano school roster bug

What problem does this PR fix?
Fix broken roster page for Capuano school (CAP), Parent Information Center (PIC), SPED.
What does this PR do?
These schools don't have a school type, i.e. they're not High Schools or Elementary/Middle School. Capuano is an Early Childhood Center.
This case wasn't handled in PerDistrict#studentTableEventNoteTypeIds and led to a bug with no School roster rendering.
What's the fix?
Handle "unsupported district key" at the top, then handle different Somerville school type cases below and and provide default for no school type.

Nice fix!


Extension of single need with needextend affects all needs

If I extend a single need without "quotes" for the ID within filter
... needextend:: MY_NEED_ID
    :status: new status

It throws the following error

WARNING: Filter MY_NEED_ID not valid: Error: Filter MY_NEED_ID not valid: Error: name 'MY_NEED_ID' is not defined

If I use quotes, it matches all existing needs and extends all of them (even the ones with different ID)
... needextend:: "MY_NEED_ID"
    :status: new status

The ID must fully match the regex of needs_id_regex.
So the regex must include ^...$ for defining start and end of the string.
But this is also missing in some of my docs, so that the ID detection does not work.
Removed the regex check and just look, if there is a need with the given string as ID.
If not, it gets interpreted as filter string.
That's also the reason why MY_NEED_ID returns all needs.
It gets interpreted as string, which is always true :)

@danwos The following works as expected now.
... needextend:: MY_NEED_ID
    :status: new status

But I guess I am getting picky here. The following matches the regex and returns true for all needs I guess.
... needextend:: 'MY_NEED_ID'
    :status: new status

or
... needextend:: "MY_NEED_ID"
    :status: new status

I converted the above from id =="" form to write it in short. Don't know if a typical user might do it as well and then not remove the "".
... needextend:: id == "MY_NEED_ID"
    :status: new status

This is the expected behavior for all your cases :)
As the last 3 examples get all interpreted as filter string.
But I see your point, that a user can make a mistake here quite easy.
We could print some warnings, if:

argument starts with " or '
Filter result amount is bigger than x needs

But to be honest, for each check, which comes in my mind, I also see some valid use cases and we would have a false positive warning.
I would not do anything here, as it is a problem in the rst code, which impact is so huge, that the user should notice it  or he/she can filter for it.

@danwos Yes, I am with you on that. I agree that each check is costly and we need to add it only if it results in really corrupt data. So I would also leave it like this for now. When it comes to ISO classification/qualification, the usecase might have shown as foolproof, for example, how do you prevent the case that the wrong requirement go linked and then got implemented in a wrong unit. But that's later.


Failed to load 1 out of 2 Deployments, after my TFT got empty - refilling brought only one up.

Since yesterday I get the error "Failed to load 1 out of 2 Deployments" in the playground "https://play.dev.grid.tf/#/fullvm"
It seems it was caused due to an empty dev TFT pool in my account. After I refilled it some of my VMs got up and running but one is missing and i get this error.
grid: dev
VM name: dont remember
Node: 30 (or 31)
yggdrasil addres: 301:a9bd:9b77:ce71:5e7a:5024:80c:e542
flist: tf-official-vms/ubuntu-22.04
my twin id: 710

devnet is very new right now, not sure we can trust it yet, its a very early build,
best to test more on testnet right now
but thank you so much for reporting, we will check why this happened

devnet is very new right now, not sure we can trust it yet, its a very early build, best to test more on testnet right now
but thank you so much for reporting, we will check why this happened

i use dev cause its easy to get free tft to test, thats not possible in testnet (i think) is there a way?


release: v0.2.0-beta.3

Blocked by https://github.com/paradigmxyz/reth/pull/7156

re running jobs on the inspector pr


What is the equivalent API in react-router like 'navigate' in reach-router

Coming from reach-router and I want to refactor with react-router, and I use navigate a lot from reach-router: https://reach.tech/router/api/navigate, something like this:
import { navigate } from "@reach/router"

const Invoices = () => (
  <div>
    <NewInvoiceForm
      onSubmit={async event => {
        const newInvoice = await createInvoice(
          event.target
        )
        navigate(`/invoices/${newInvoice.id}`)
      }}
    />
  </div>
)

What is the equivalent API in react-router?
Thank you!

history.push, which you can get from the useHistory hook or as props on a Route component