JDK 13.0.1 Installation:  Error - the package path specified was invalid

Hi,
Thanks for releasing this very useful project.   I'm attempting to install Oracle 13 using the following configuration:

include_role:
name: srsp.oracle-java
vars:
- java_version: 13
- java_latest_subversion:
13: 0.1
- jdk_file_name: jdk-13.0.1_osx-x64_bin
- jdk_version_detail: 13.0.1+9
- jdk_tarball_hash: cec27d702aa74d5a8630c65ae61e4305

The download is successful, but the package installation fails due to the naming of the package (error message at the end of this post below).
I've fixed it locally by changing line 18 of use-dmg.yml by replacing " Update " with "."
command: installer -pkg "{{ mountpoint }}/JDK {{ java_version }}.{{ java_subversion }}.pkg" -target /
The package name is "JDK 13.0.1.pkg"
It appears that 13.0.1 is the only version that Oracle allow you to download without a login.    I'm not sure what the best fix for this issue, as it would be good to keep compatibility with old versions (which would need to be placed in the files folder or some mirror).  It would be nice if we could configure the package name using a role variable.
Regards,
Pentti
Failure Message
fatal: [<IP_ADDRESS>]: FAILED! => {
"changed": true,
"cmd": [
"installer",
"-pkg",
"/Volumes/JDK_13.0.1/JDK 13 Update 0.1.pkg",
"-target",
"/"
],
"delta": "0:00:00.118454",
"end": "2019-11-01 21:17:09.388071",
"invocation": {
"module_args": {
"_raw_params": "installer -pkg "/Volumes/JDK_13.0.1/JDK 13 Update 0.1.pkg" -target /",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": true
}
},
"msg": "non-zero return code",
"rc": 1,
"start": "2019-11-01 21:17:09.269617",
"stderr": "",
"stderr_lines": [],
"stdout": "installer: Error - the package path specified was invalid: '/Volumes/JDK_13.0.1/JDK 13 Update 0.1.pkg'.",
"stdout_lines": [
"installer: Error - the package path specified was invalid: '/Volumes/JDK_13.0.1/JDK 13 Update 0.1.pkg'."
]
}

Hi @braindonor, thanks for your detailed error report. Unfortunately Oracle sometimes changes some tiny details, which break automated scripts.
I just pushed some vars for JDK 13 to master, so you can remove them in your config. I also tried to cope with the pkg name issue in a suitable manner. You can try again with the version from master.

Should be fixed with 3.2.0.

Thanks, JDK 13 installs successfully now.


Dev decoder stateless

These patches provides few minor changes which are required to support video stateless decoder interface. Please take a look and let me know you feedback. Thanks!

Thanks! This LGTM, but I had to rebase and make a few changes due to conflicts with recent commits of mine. Can you take a look and confirm that this still works?

Ah, and please run cargo fmt on top of each commit, to make sure the health check test passes.

Great!! Thanks for rebase and health check. I've tested latest version and it's fine.

Thanks! Merged.


How to track page view

Now that mixpanel no longer supports auto tracking, how do we track page views.

@designloud Can you point to me a reference where they discuss this? Thanks!

Sure @mikebronner here is the article I found in their documentation when trying to enable it.  https://help.mixpanel.com/hc/en-us/articles/115004600343

@designloud Thanks for the info! Looks like we'll have to revert to what we have before they added Autotrack. I believe I had automated page tracking built in. I'll have to dig through the git history and implement it again. Not sure how soon I can get to it, as I'm currently loaded with other work. If you want to take a stab at it and look through the Git history (probably 2 years ago or so) and see if you can find it and create a PR, that would be awesome.

I'm a complete newbie here but I'll try. :)  I did a search and found this in case it helps provide some direction: https://github.com/GeneaLabs/laravel-mixpanel/commit/20f3ff6d1fe615f4671bfded2f5f4f9eeb2634fb
I will create a PR if I have any luck

I think this was the relevant update where I removed it:
https://github.com/GeneaLabs/laravel-mixpanel/commit/0b4d2b6f2583322c29e3ad0d57c2ae5fd5a31018


duplicate name runestone on same block, is this a Cenotaph?

I etched a runestone on the halving block with fee 1000 sats/vB, the commit and reveal transactions went through, but someone else etched the same name runestone on same block at 10,000 sats/vB, so although my transactions got confirmed, my duplicate name runestone etch wasn't indexed.
Does this mean my dupe runestone etch is a Cenotaph? I understand ord doesn't allow etching a runestone if name already exists, but in this scenario the name didn't exist and it became a duplicate on the same block. Thanks!

Hi bFanek - this is unfortunate but expected for this type of a scenario.  I imagine it was a very popular name, and in cases where 2 different reveals for the same name get into the same block, it is a matter of which gets mined first in the block.  Like with ordinals, first is first.
Typically, transactions are ordered within each block by fee, but not always.  Casey spoke about this during the halving live stream and showed the example of Rune 1 having not paid the highest fees in the halving block. This is also talked about fairly extensively in the Technically Bitcoin Runes episode here: https://youtu.be/FhEus2IeSN0?si=Q84ZhCbFkMDoTQIv
So, is this a Cenotaph?  I'm not sure exactly - but I think of it more as a failed reveal.  I could be wrong, but I think Cenotaphs are successful transactions that burn all of the tokens associated with them, but they would still be able to be seen as a dead unmintable rune, and that marker would be the Cenotaph.
Sorry to hear about this happening, but I bet it happened to a few people trying to get a popular name like Rune 6, for example.
Another good place to ask questions like these is on the official ord Discord (https://discord.gg/3bZCy7mr)
I hope this helps.

Thank you for the info, yes I’m very upset about this, I was hoping to leave my footprint on the blockchain on the halving block.
Since my etch transaction is confirmed on the halving block, I hope maybe future ord versions can recognize this runestone as a Cenotaph (maybe set a negative number on it), that would be nice.
Cheers!


Autocomplete should not complete subcommands while expecting required argument or option

Suppose my cli has two subcommands, sub1 and sub2. sub1 has an option -o that requires a value. This option has an autocomplete function assigned to it.
When I enter
$ cli sub1 -o <tab><tab>
autocomplete not only suggests my allowed values for -o, but also sub2. However, since an option value is required after -o, sub2 is an invalid suggestion at this point.
The same happens with required arguments.
Is there a possibility to suppress autocompletion of subcommands while still in the context of required arguments or options?
Python version is Python 3.5.2 :: Anaconda 4.2.0 (64-bit) and Click version is 7.0-dev.

The same behavior is observed if -o has no user-defined autocomplete function but predefined choices.

This was likely broken in fixing #774 I will take a look.

@Gig77 Please take a look at https://github.com/pallets/click/pull/806 and see if this fixes your issue. If you like please feel free to suggest additional test cases.


refactor(common): cleanup unused methods on IntervalUnit

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
In preparation of #4514, we first cleanup some unused methods to make the update easier.

from_protobuf_bytes and to_protobuf_owned no longer used. See #8452 for current implementation in use. There have been 3 versions and we are removing one here, leaving 2 to be consolidated later.
get_years can be confusing and thus removed.
total_ms is same as as_ms_i64.
as_ms_i64 and from_total_ms marked as deprecated. They completely defeat the purpose of defining IntervalUnit rather than using Duration. Actually fixes to replace them will be done after the ms -> us update.

The whole plan is:

Cleanups that effectively have no effect.
Change from ms to us. Minimal visible differences.
Fix related issues:

#8041
#8355
#8438

Checklist For Contributors

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation

[x] My PR DOES NOT contain user-facing changes.

Can we add tests for:

justify_interval: It should be idempotent. I think the error in #8355 occurs because it isn't.
e2e test for #8355.

Definitely. All actual logic fix and their tests will be after the ms - us transition, and this is not there yet.


Add rule for "Work / life imbalance"

The test fail here seems to be unrelated to my commit,
Happy to make some tweaks to the rule wording if you have any comments.

Thanks for contributing this years ago, but Joblint is now a dead project and is being archived


Keeping all loaded pages in memory

Hello,
I am using PagingMenuController with 4 different view controllers as pages. The current implementation keeps only 3 of them in memory at any point of time. (Current one and one on each side). How do I make sure that all 4 of them are available in memory at all times?
My use case involves making a network call in one the pages and awaiting it's completion to load the UI. Before it completes, if I move >2 pages away from it, the UI is never loaded on the original pace. How can I allow the page to load in the background, no matter how many pages away from it I am.
Thanks!

u can save the network data if move page before it success complete. And reload the page on actully viewWillAppear. See  网易新闻 client.
Never try to make all page in memory,is insignality to use this library.

I'm working on this.

It's supported in master branch.


firejail: cannot switch euid/egid to root

Issue description
❯ firejail
Warning: cannot switch euid to root
Warning: cannot switch egid to root
Warning: cannot switch euid to root
Warning: cannot switch egid to root
Warning: cannot switch euid to root
Warning: cannot switch egid to root
Steps to reproduce
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
17.03pre96925.1c50bdd (Gorilla)

Nix version: (run nix-env --version)
nix-env (Nix) 1.11.4

Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
"17.03pre96925.1c50bdd"

uname -a
Linux nixos 4.8.12 #1-NixOS SMP Fri Dec 2 08:11:45 UTC 2016 x86_64 GNU/Linux

Did you add
security.setuidPrograms = [ "firejail" ];

No I did not. I added it and it works. Thank you very much!
Somehow I expected that package that provides firejail will do whatever is necessary.
BTW: I'm new user of NIXOS (installed yesterday for first time) and so far it feels great!

Nix model means that everyone can write (not just take from the central repository) and install a package without breaking anything; so a package cannot make anything setuid on its own.
Security policies are global, so they are managed on the NixOS side.


Request: aws_auth should support specifying an IAM role when fetching executor images from ECR

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe it
Since the introduction of support for OIDC-tokens, CircleCI recommends using using OIDC tokens over Access Keys/Secrets.
https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect
But looking at the docs at
https://circleci.com/docs/private-images/#aws-ecr
we can only specify a key/secret pair when fetching images from private ECR repos
aws_auth:
          aws_access_key_id: $AWS_ACCESS_KEY_ID_PRODUCTION
          aws_secret_access_key: $AWS_SECRET_ACCESS_KEY_PRODUCTION

Describe the solution you'd like
Support specifying a role-arn, similar to the example given here
https://circleci.com/docs/openid-connect-tokens/#adding-aws-to-the-circleci-configuration-file
Teachability, documentation, adoption, migration strategy
This change will allow users to follow security best practices as recommended by CircleCI.
What is the motivation / use case for changing the behavior?
Security. Users shouldn't be forced to use access keys and secrets when the rest of the CircleCI platform supports and recommends using OIDC tokens.

+1 please 🙏


No matching export for import "Liminal"

Can't import { Liminal } from 'mithril-machine-tools', needs to be exported

Sorry, I missed this - it works now!


Add --max-parallel-deployments CLI flag

This flag allows us to control of number the of stack deployments that run at the same time.
For larger projects this can significantly reduce the amount of memory used when deploying a highly parallel stack.
I found the need for this when deploying a project with over 100 stacks, and my CI instance ran out of memory 😮

Well written. Sorry for late merge ;)


Global: Light Mode Style Updates

Update the light mode version of the app to match the website.

Remove all instances of the grey background
Add drop shadow to cards and search box
Adjust drop shadow of the bottom navigation

It should look similar to this:

You can find full designs for light mode here
https://www.figma.com/file/LCwFKA0AmG9EcOQPBamGAb/Emitron-iOS?node-id=0%3A2533

Duplicate of #294, closing!


Microsoft Outlook Offline

Hello, Miguel!
The Outlook services are offline like a week.
I cant login or create new account to access the Translate API.
How can I proceed with the Ajax tutorial?
Thanks =)

Azure does not appear to be down, but in any case, you can skip the chapter if for any reason you can't get a translator account set up.


Create graphurl endpoint and support for owned node

Merging this in an we can just work from the other branch and merge in as we see fit


act1.md

Tracking progress and discussion for the work on act1.md.
I have already started as of posting this.

First version of the translation is done, will proceed with QA soon.
Első verzió készen, hamarosan ellenőrzöm a dolgokat.


Dynamically populating tabs with scroller

What Angular MDC version are you using?
0.31.0
What browser(s) is this bug affecting?
Chrome, Firefox
What OS are you using?
Ubuntu 17.04
What are the steps to reproduce the bug?

If ngFor is used to populate the tabs dynamically from an API call, the scroll-forward and scroll-back arrows don't show up.

Also, [primary] and [secondary] options cause the tabs to become black/gray. Leaving them out doesn't help either

Code chunk placed in mdc-toolbar:
  <mdc-tab-bar-scroller *ngIf="tags != null">
    <mdc-tab-bar-scroll-back>
      <mdc-icon>navigate_before</mdc-icon>
    </mdc-tab-bar-scroll-back>
    <mdc-tab-bar-scroll-frame *ngIf="tags != null && tags.length > 0">
      <mdc-tab-bar>
        <mdc-tab [routerLink]="['/']"><mdc-tab-icon-text>Home</mdc-tab-icon-text></mdc-tab>
        <mdc-tab *ngFor="let tag of tags" [active]="tag.tag == categoryTag"><mdc-tab-icon-text>{{tag.tag}}</mdc-tab-icon-text></mdc-tab>
      </mdc-tab-bar>
    </mdc-tab-bar-scroll-frame>
    <mdc-tab-bar-scroll-forward>
      <mdc-icon>navigate_next</mdc-icon>
    </mdc-tab-bar-scroll-forward>
  </mdc-tab-bar-scroller>

What is the expected behavior?

Arrows show up correctly
Text and indicator were initially white (upgraded from version 0.7.1)

What is the actual behavior?

Arrows are not appearing till window is resized.
Text and indicator are black/gray

Any other information you believe would be useful?

Interim solution to get the arrows to show up is to simulate a window resize event after the API call is made

ngOnInit() {
        this.webCallsService.getTags().subscribe(tags => {
        this.tags = tags;
        if (isPlatformBrowser(this.platformId)) {
            window.dispatchEvent(new Event('resize')); // helps the arrow on the scroller show up
        }
    });
}

@EdwinChua Thanks for reporting.

Arrows are not appearing till window is resized.

Duplicated. Will fix.

Text and indicator are black/gray

See answer and example: https://github.com/trimox/angular-mdc-web/issues/712

@trimox thanks 😁
i saw #712, but i've no idea how to use mixins, so i'll probably kiv it for now.

No problem. Using Angular CLI? If so, just make sure the project is set to use scss.
Copy the example code from #712, apply class name on a tab-bar.
If ya have questions, please do let me know.


symfony 4 compatibility

but it looks like this will need more work :(

Ahh crap, I hadn't realised this was here or I'd have contributed. I believed this is superseded by #290

no worries .. my PR was just a quick shot that didn’t go well. thx for your work!

:+1:


PFFile support for 'creating' a file that already exists w/ URL to GCS or S3 bucket

API Enhancement: PFFile
Ran into a situation where we are generating a PDF in our GCS bucket using an external (non-node) process.  We have a callback to our Parse Cloud Code to store the resulting file reference inside one of our custom objects.  As it turns out, PFFile constructor doesn't support creating a file with a FileAdapter File nor a URL to a known file in our bucket.
Ideally PFFile would be expanded to allow for construction based on either

Reference to a File in our bucket
Known URL

I'm wondering, I don'T believe there's anything that prevents you to set a custom ParseFile, also it seems that it's just a client SDK limitation, not a server one.


Geo category plugin - support for additional regions

Description of changes

Convert the Amazon Location Service CFN native resource constructs to CFN Custom resource constructs.
This adds support for regions that are not supported by Amazon Location Service but supported by Amplify CLI.
Increase stability for e2e tests:
amplify-prompts automatically makes the selection for the user when there is only one choice in the selection set.
This could interfere with the nspawn process chain of commands defined in the e2e test setup.
We are avoiding such cases by having multiple geo resources in the e2e tests.
Issue #, if available

Description of how you validated changes
Tested with JS sample app.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #8373 (e011b94) into master (2bdae3a) will decrease coverage by 0.00%.
The diff coverage is 77.58%.

@@            Coverage Diff             @@
##           master    #8373      +/-   ##
==========================================
- Coverage   55.72%   55.72%   -0.01%
==========================================
  Files         692      692
  Lines       38655    38657       +2
  Branches     7833     7827       -6
==========================================
  Hits        21542    21542
- Misses      16323    16326       +3
+ Partials      790      789       -1

Impacted Files
Coverage Δ

...kages/amplify-category-geo/src/commands/geo/add.ts
54.54% <ø> (-5.46%)
:arrow_down:

...s/amplify-category-geo/src/commands/geo/console.ts
53.84% <ø> (+3.84%)
:arrow_up:

...es/amplify-category-geo/src/commands/geo/update.ts
54.54% <ø> (-5.46%)
:arrow_down:

...ify-category-geo/src/provider-controllers/index.ts
28.94% <12.50%> (-1.94%)
:arrow_down:

packages/amplify-category-geo/src/index.ts
48.93% <33.33%> (+7.11%)
:arrow_up:

...amplify-category-geo/src/service-utils/mapUtils.ts
66.15% <33.33%> (+0.52%)
:arrow_up:

...-category-geo/src/service-utils/placeIndexUtils.ts
61.40% <33.33%> (+0.68%)
:arrow_up:

...plify-category-geo/src/service-stacks/baseStack.ts
100.00% <100.00%> (ø)

...mplify-category-geo/src/service-stacks/mapStack.ts
100.00% <100.00%> (ø)

...category-geo/src/service-stacks/placeIndexStack.ts
100.00% <100.00%> (ø)

... and 1 more

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 2bdae3a...e011b94. Read the comment docs.

Added some comments and change requests.
Is dependsOn managed between geo and auth resources?
Also can we have multi-environment and amplify console pull e2e tests as well to make sure it will function correctly?

We do not need a dependsOn relationship with Auth as none of Geo stacks currently reference the Auth category outputs.
We noticed a couple of issues as noted in https://github.com/aws-amplify/amplify-cli/issues/8351 and https://github.com/aws-amplify/amplify-cli/issues/8286 for multi-env flows. We are in the process of working around them and adding multi-env e2e tests in this sprint. However, CLI additionally, runs the current e2e tests in regions that weren't previously supported by Geo and this way we can be sure that these changes are good in addition to the manual testing we did using sample apps.


Destination wizard is not in sync

Hello Team,
Observed few difference in the statement mentioned in the tutorial and descriptive picture highlighted. Could you please revert it to actual one, SAP mobile cards have been upgraded and the version highlighted in the tutorial looks like a older version. Correct me if I am wrong, TIA.
Note: Step #3 in 'Download SAP Mobile Cards to Your Device'

Platform destination name correctedhttps://github.com/SAPDocuments/Tutorials/issues/3306

Has this issue been resolved?

@thecodester  It wasn't an issue, but was little missed info., Corrected now, thanks @shilpavij  and @thecodester  for all brilliant efforts. :)

Hello Daniel,
I have already written to Meredith.
Regards
Shilpa
From: Daniel Wroblewski<EMAIL_ADDRESS>Sent: Thursday, April 18, 2019 10:25 AM
To: SAPDocuments/Tutorials<EMAIL_ADDRESS>Cc: Vij, Shilpa<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [SAPDocuments/Tutorials] Destination wizard is not in sync (#3306)
Has this issue been resolved?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/3306#issuecomment-484355632, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKQ3P5ZLQHB64ZWZR3EETK3PQ75KXANCNFSM4HDKHT3A.


Fix withStepState unregister

Codecov Report

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

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   94.62%   94.62%
=======================================
  Files           9        9
  Lines          93       93
  Branches       29       29
=======================================
  Hits           88       88
  Misses          5        5

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 dd95bb6...394eb76. Read the comment docs.


plant gall cluster

For new term requests, please provide the following information:
Preferred term label
plant gall cluster
Synonyms
none?
Textual definition
Not sure yet what the parent term should be, but for dense aggregations of individual galls in makes sense to refer tot he aggregate. An example is Druon quercusflocci, where researchers report the height and diameter of the cluster.
Suggested parent term
Might be multi-tissue plant structure
Attribution
https://orcid.org/0000-0002-2119-4663

added as http://purl.obolibrary.org/obo/GALLONT_0000049


[PSY4] Line rate and storage naming updates

@jd-lara This is ready for review. We only need to revert the DATA_DIR changes once the new artifact for TestData with PR: https://github.com/NREL-Sienna/PowerSystemsTestData/pull/57 is available


get opaque black background on Android 4.2.2

How to fix? thanks

solved, need to use RGBA value


feat(circleci): adding visual testing

Related Ticket(s)
#2353
Description
This adds visual regression testing using CircleCI.
Changelog
New

Percy.io in CircleCI configuration

Going to close this one, We will look into integrating with another CI solution.

Reopening this. Apparently, there is a way to pass environment variables to forks as an option, and after review the only sensitive environment variable is the PERCY_TOKEN, which per Percy team is low risk for sharing.


how new videos show first with ytsearch

hello - plz explain before close
i want use ytsearch result as last 24 hours uploaded videos
like https://www.youtube.com/results?filters=today&search_query=funny+videos&lclk=today
plz tell me how i use "upload date" filter in ytsearch results
i alredy use this
youtube-dl -f 22 -o '%(title)s.%(ext)s' --dateafter now-1day --force-ipv4 "ytsearch50:funny videos"
but it skip all videos because ytsearch related videos not as latest videos

I've already pointed out use search URL:
youtube-dl 'https://www.youtube.com/results?filters=today&search_query=funny+videos&lclk=today'


OCPBUGS-38425: Return the right tagReference on Catalogs ImageStream

This is a manual cherry-pick of https://github.com/openshift/hypershift/pull/5187

/retest


Add configuration to handle custom certificate

HI,
First of all, thanks for this project!
I'm using my certificate from task warrior to handle this. I wish I could change this parameter within the configuration file to point to the given file instead of the hard-coded public_key.pem or private_key.pem files.
Maybe I'm holding it wrong, but if otherwise, it should be documented.
Thanks anyway,
best regards

Hi Akendo,
reusing and supporting Taskwarrior certificates sounds like a useful addition!
Unfortunately, I am not an expert in cryptography. Before promoting this, I would like to make sure that the certificates used are compatible.
If someone has a good resource to better understand PEM files, certificates and keys, please let me know!

Your answer surprises me a bit, considering the fact that you're using JWT, which requires asymmetric types of keys.
As long your certificate is x509 compilable, this shouldn't be much of a concern. PEM files are just a coding format to contain the x and y (which is often quite static away) parameters of your asymmetric keys, with some additional PKI information. What is relevant for us at this stage is the key/certificate.
So, it might be necessary to add also key size and format to the configuration?
I might need to review your usage of JWT. So far, it seems to more like you copy and pasted the default example with slight adjustments.


Printing TensorFlow Library Logs in Android Studio

I have built Tensor Flow using Bazel  and am using the generated TensorFlow Libraries in Android Studio
for ndk.
But I do not find the logs of Tensor Flow being printed in Android Studio.
Can I know how do I acheive this .
I have tried using Android/log.h in TensorFlow code but of no use

There should be a "logcat" tab on the "Android Monitor" view that displays this. TensorFlow prints messages in the standard Android fashion so it's no different than any other app.
Any followup logging questions are better asked on  StackOverflow since this is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!

Thanks, but the logs of tensorflow are not being printed in Logcat of
Android ndk.
On Jun 5, 2017 00:30, "Andrew Harp"<EMAIL_ADDRESS>wrote:

Closed #10416 https://github.com/tensorflow/tensorflow/issues/10416.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/10416#event-1109207473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJjYUHlVqRMrNLqghNYUGB-M5CcW84o1ks5sAv7cgaJpZM4NvGBX
.


[tracing] Moving spanOptions to tracingOptions in PipelineRequest

This should make it easier for us to keep the tracing options isolated and simpler to propagate.

/azp run js - data-tables - tests

/azp run js - data-tables - tests


_zsh_highlight_main_precmd_hook: unsetopt:2: no such option:  warnnestedvar

Hi there,
Thanks for providing such an elegant plugin for community, really saves life for zsh users.
But recently I installed zsh-syntax-highlighting by strictly following install procedure in readme file and encountered following issue.

Installation command from Oh-my-zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
And relevant configuration files in ~/.zshrc file
plugins=(git
	zsh-autosuggestions
	zsh-syntax-highlighting
	zsh-completions
	history-substring-search)

autoload -U compinit && compinit
source $ZSH/oh-my-zsh.sh

My running environment is OS X El Capitan 10.11.6, but it is fine on other machines running macOS Mojave 10.14.6.
Thank you again for your dedicated contribution for this plugin and help for looking at my issue.

Thanks for the bug report and sorry for the breakage. This is a regression from yesterday's fix to #727.  In the meantime, you can just comment the unsetopt warnnestedvar out on El Capitan. Let us know if you run into any further issues!
TODO's:

[ ] Fix the bug
[ ] See why Travis didn't catch it

@danielshahaf
Hi man, thank you so much for your such quick responses.
Looking forward to your solution and I would test and feedback to you tomorrow :)

@danielshahaf  how to comment it out? I just got this issue too when install zsh-sytax-highlighting new.

@jinfagang To comment out a line means to write a # in front of it, but forget about doing that; I just pushed a fix, it'll be easier to just z-sy-h to latest HEAD again.
@hao-lh @jinfagang Please reopen if needed.  Cheers!

TODO's:

[ ] See why Travis didn't catch it

Because the code runs in a precmd hook, and test suite doesn't run precmd hooks.  Normally I'd file a bug for this, but the cost/benefit of fixing it seems exceedingly high, given that _zsh_highlight_main_precmd_hook is the only precmd hook in z-sy-h, and it will become a trivial one-liner function once #688 is merged.  I'll keep an eye out for possible other benefits, though.

@danielshahaf @jinfagang
Thank you so much for the quick response.
The updated version works perfect now on El Capitan 10.11.6.


[WIP] Fix Gob Encoding Error

Fixes #49
Motivation
gob requires registering all types to be registered (https://golang.org/pkg/encoding/gob/#Register).
Solution

Open questions

Pull Request Test Coverage Report for Build 1401

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.902%

Totals

Change from base Build 1385:
0.0%

Covered Lines:
382

Relevant Lines:
510

💛  - Coveralls


This version of "fabric-samples" lacks the "fabric-samples/config" directory, resulting in errors when executing the "fabric-samples/test-network/network.sh up" command.

This version of "fabric-samples" lacks the "fabric-samples/config" directory, resulting in the following error when executing the "fabric-samples/test-network/network.sh up" command:
"Peer binary and configuration files not found..
Follow the instructions in the Fabric docs to install the Fabric Binaries:
https://hyperledger-fabric.readthedocs.io/en/latest/install.html"

What exactly is the issue you are reporting? As described in the Fabric install documentation, you need to run the Fabric installer to get the Fabric binaries (and accompanying config directory), and Docker images. You need to do this before trying to start the test network.


Hey can I ask how did you reverse engineer it?

Please share the technique, very eager to learn. Awesome work


fix: updated styles for mobile header

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.406%

Totals

Change from base Build<PHONE_NUMBER>0:
0.0%

Covered Lines:
10112

Relevant Lines:
11135

💛  - Coveralls

@Oladii


Communication protocol between Main controller and sub controller (CM 740)

Hey, Thanks for your help.
I am trying to find what is the communication method between Darwin op2 main computer and the CM740 board. I know the Darwin OP1 used USB protocol. From the website, it looks like OP2's sub-controller is a bit different.

Hi @akshaydave
OP2 use DYNAMIXEL protocol 1.0 to communicate with CM740.
You can refer to the Protocol 1.0 section of eManual for more details while referring the memory address structure(Control Table) of CM740
The CM740 subcontroller is configured as ID 200 as shown in the code below.
https://github.com/ROBOTIS-GIT/ROBOTIS-OP2/blob/master/op2_manager/src/op2_manager.cpp#L43
Thank you.

Hi @akshaydave
OP2 use DYNAMIXEL protocol 1.0 to communicate with CM740.
You can refer to the Protocol 1.0 section of eManual for more details while referring the memory address structure(Control Table) of CM740
The CM740 subcontroller is configured as ID 200 as shown in the code below.
https://github.com/ROBOTIS-GIT/ROBOTIS-OP2/blob/master/op2_manager/src/op2_manager.cpp#L43
Thank you.

Thank you so much for your help. This was really helpful. I have one last question, did anyone tried to compile the Robotis op2  Ros package with Nvidia Jetson nano or raspberry pi?

Thank you so much for your help. This was really helpful. I have one last question, did anyone tried to compile the Robotis op2  Ros package with Nvidia Jetson nano or raspberry pi?

@akshaydave
I haven't tried compiling the OP2 packages on other SBCs, but most likely you'll need to go through a complicated package installation process as described here.

@akshaydave
I haven't tried compiling the OP2 packages on other SBCs, but most likely you'll need to go through a complicated package installation process as described here.

Hey thanks for all your help. I was able to compile the code on raspberry
pie 4 and jetson nano and once I’m done with my project I will share it so
the community can have it. I have one last question. If I want to
communicate with  Cm 740 sub controller using a usb cable. Do you have any
Suggestion for The cabling. I understand it uses dynamixel protocol 1.0 but
how would i wire it up. Do i need a usb to dynamixel adapter. The sub
controller has a five pin connector but i don’t know how i will be able
convert into usb.
How does the current main controller sends data to that port. Does it send
binary data.
On Sun, Jan 17, 2021 at 9:33 PM Will Son<EMAIL_ADDRESS>wrote:

@akshaydave https://github.com/akshaydave
I haven't tried compiling the OP2 packages on other SBCs, but most likely
you'll need to go through a complicated package installation process as
described here
http://wiki.ros.org/ROSberryPi/Installing ROS Kinetic on the Raspberry Pi
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ROBOTIS-GIT/ROBOTIS-OP2/issues/10#issuecomment-761991631,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJYAHTI7FUEGQAN45BI3ZDS2PB2BANCNFSM4VP2QWHQ
.

--
Akshay Dave
*Undergraduate researcher *
University of Nevada, Las Vegas
[image: Image result for drones and autonomous system lab]
http://www.daslhub.org/ [image: Image result for linkedin small logo]
http://www.linkedin.com/in/akshay-dave-764050194

Hey thanks for all your help. I was able to compile the code on raspberry
pie 4 and jetson nano and once I’m done with my project I will share it so
the community can have it. I have one last question. If I want to
communicate with  Cm 740 sub controller using a usb cable. Do you have any
Suggestion for The cabling. I understand it uses dynamixel protocol 1.0 but
how would i wire it up. Do i need a usb to dynamixel adapter. The sub
controller has a five pin connector but i don’t know how i will be able
convert into usb.
How does the current main controller sends data to that port. Does it send
binary data.
On Sun, Jan 17, 2021 at 9:33 PM Will Son<EMAIL_ADDRESS>wrote:

@akshaydave https://github.com/akshaydave
I haven't tried compiling the OP2 packages on other SBCs, but most likely
you'll need to go through a complicated package installation process as
described here
http://wiki.ros.org/ROSberryPi/Installing ROS Kinetic on the Raspberry Pi
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ROBOTIS-GIT/ROBOTIS-OP2/issues/10#issuecomment-761991631,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJYAHTI7FUEGQAN45BI3ZDS2PB2BANCNFSM4VP2QWHQ
.

--
Akshay Dave
*Undergraduate researcher *
University of Nevada, Las Vegas
[image: Image result for drones and autonomous system lab]
http://www.daslhub.org/ [image: Image result for linkedin small logo]
http://www.linkedin.com/in/akshay-dave-764050194

Thank you for the update. Your would be very useful for other developers who might be building with their own configuration :)
CM-740 has its own control table just like DYNAMIXEL and the OP2 SBC communicates with CM-740 using DYNAMIXEL Protocol.
The OP2 SBC is connected to CM-740 with a custom USB cable and opens up a serial port using DYNAMIXEL SDK.
Reading / writing to CM-740 is identical to that of communication with DYNAMIXEL.
https://github.com/ROBOTIS-GIT/ROBOTIS-OP2/blob/master/op2_manager/src/op2_manager.cpp#L182
For the pinout of the USB molex connector, please refer to the 4-pin USB Connector section of the schematic

Thank you for the update. Your would be very useful for other developers who might be building with their own configuration :)
CM-740 has its own control table just like DYNAMIXEL and the OP2 SBC communicates with CM-740 using DYNAMIXEL Protocol.
The OP2 SBC is connected to CM-740 with a custom USB cable and opens up a serial port using DYNAMIXEL SDK.
Reading / writing to CM-740 is identical to that of communication with DYNAMIXEL.
https://github.com/ROBOTIS-GIT/ROBOTIS-OP2/blob/master/op2_manager/src/op2_manager.cpp#L182
For the pinout of the USB molex connector, please refer to the 4-pin USB Connector section of the schematic


[Temporary Draft] check compare_memory_devnet ci failure

This draft's purpose is only to check that unequal memory does cause a ci failure instead of just outputting the error message. It will be delated soon

Codecov Report

Merging #170 (1164c2f) into main (b80cb28) will increase coverage by 0.31%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   80.68%   81.00%   +0.31%
==========================================
  Files          12       13       +1
  Lines         699      716      +17
==========================================
+ Hits          564      580      +16
- Misses        135      136       +1

Impacted Files
Coverage Δ

src/cairo_runner.rs
70.00% <100.00%> (+0.38%)
:arrow_up:

src/lib.rs
0.00% <0.00%> (ø)

src/vm_core.rs
97.22% <0.00%> (ø)

src/run_context.rs
100.00% <0.00%> (ø)

src/memory.rs
80.00% <0.00%> (+4.00%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Creation of ClientPushSettings Resource

Pull Request (PR) description
Initial creation of ClientPushSettings configurations.  Allows setting client push settings and add and remove accounts for client push.
This Pull Request (PR) fixes the following issues

Task list

[X] Added an entry to the change log under the Unreleased section of the
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
[X] Resource documentation added/updated in README.md.
[X] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[X] Comment-based help added/updated.
[X] Localization strings added/updated in all localization files as appropriate.
[X] Examples appropriately added/updated.
[X] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[X] New/changed code adheres to DSC Community Style Guidelines.

This change is

I haven't tested anything but gave some input. Hope it helps :)


set up Gitlab to use my casdoor LDAP service for authentication, but I couldn't get it to work

I tried to set up Gitlab to use my casdoor LDAP service for authentication, but I couldn't get it to work.
The test user I'm trying to log in with belongs to the lianjian organization.
What have I configured incorrectly?
Below are Gitlab's configurations.
gitlab_rails['ldap_enabled'] = true
gitlab_rails['prevent_ldap_sign_in'] = false

###! **remember to close this block with 'EOS' below**
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
  main: # 'main' is the GitLab 'provider ID' of this LDAP server
    label: 'LDAP'
    host: '<IP_ADDRESS>'
    port: 389
    uid: 'uid'
    bind_dn: 'cn=admin,ou=built-in,dc=example,dc=com'
    password: '123'
    encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
#     verify_certificates: true
#     smartcard_auth: false
    active_directory: false
    allow_username_or_email_login: true
#     lowercase_usernames: false
    block_auto_created_users: false
    base: 'ou=lianjian,dc=example,dc=com'
    user_filter: ''
    ## EE only
    group_base: ''
    admin_group: ''
    sync_ssh_keys: false
EOS

The gitlab logs contain the following message, indicating that the email cannot be blank, but this user has already set an Email.
{"severity":"INFO","time":"2023-07-11T07:56:43.753Z","correlation_id":"01H51Z7QZ9XXQA4XW7V8HPS2CE","meta.caller_id":"Ldap::OmniauthCallbacksController#ldapmain","meta.remote_ip":"<IP_ADDRESS>","meta.feature_category":"system_access","meta.client_id":"ip/<IP_ADDRESS>","message":"(LDAP) Error saving user cn=xuqing,ou=lianjian,dc=<IP_ADDRESS>,dc=com (): [\"Email can't be blank\"]"}

The gitlab logs contain the following message, indicating that the email cannot be blank, but this user has already set an Email.
{"severity":"INFO","time":"2023-07-11T07:56:43.753Z","correlation_id":"01H51Z7QZ9XXQA4XW7V8HPS2CE","meta.caller_id":"Ldap::OmniauthCallbacksController#ldapmain","meta.remote_ip":"<IP_ADDRESS>","meta.feature_category":"system_access","meta.client_id":"ip/<IP_ADDRESS>","message":"(LDAP) Error saving user cn=xuqing,ou=lianjian,dc=<IP_ADDRESS>,dc=com (): [\"Email can't be blank\"]"}

@aosolao why didn't you try connecting GitLab to Casdoor via OIDC? https://casdoor.org/docs/integration/ruby/gitlab

@aosolao why didn't you try connecting GitLab to Casdoor via OIDC? https://casdoor.org/docs/integration/ruby/gitlab

As new users logging into GitLab using OIDC require GitLab administrators to create an additional account in GitLab and associate it with their Casdoor account, whereas using LDAP to log into GitLab automatically creates the account without the need for any additional action from the administrator. Hence, LDAP is chosen to connect to GitLab.

Hi, can you elaberate on how you set-up gitlab and the casdoor ldap sever?
I got this error when logging with LDAP.

{"severity":"ERROR","time":"2023-07-28T13:41:49.076Z","correlation_id":"01H6EBQVBMR82RYWHV26VDPRZ9",
"message":"(ldapmain) Authentication failure! invalid_credentials:
OmniAuth::Strategies::LDAP::InvalidCredentialsError, Invalid credentials for admin"}

This is my  Gitlab's configurations:
gitlab_rails['ldap_enabled'] = true
gitlab_rails['prevent_ldap_sign_in'] = false

###! **remember to close this block with 'EOS' below**
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
  main: # 'main' is the GitLab 'provider ID' of this LDAP server
    label: 'LDAP'
    host: '<IP_ADDRESS>'
    port: 389

    uid: 'sAMAccountName'
    bind_dn: 'cn=admin,ou=built-in,dc=example,dc=com'
    password: '123'
    encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
    #verify_certificates: true
    #smartcard_auth: false
    active_directory: true
    allow_username_or_email_login: false
    lowercase_usernames: false
    block_auto_created_users: false
    base: ''
    user_filter: ''
    ## EE only
    group_base: ''
    admin_group: ''
    sync_ssh_keys: false
EOF

@hsluoyz Has there been any progress on this issue?

@aosolao can you debug GitLab to see which field is missing from Casdoor? We are familar with Casdoot but not familiar with GitLab. So it's very hard for us to debug GitLab issues

Can Casdoor's own LDAP server provide services externally?
Are the two configurations I posted above correct?
 bind_dn: 'cn=admin,ou=built-in,dc=example,dc=com'
 base: 'ou=lianjian,dc=example,dc=com'

@hsluoyz

@aosolao we failed to debug GitLab because being not familiar with its code.

@aosolao we failed to debug GitLab because being not familiar with its code.

It's not just Gitlab, other LDAP clients also cannot connect to Casdoor's LDAP service.
I'm not sure if it's because I configured the wrong bind_dn, or if Casdoor's LDAP service itself has an issue.

@aosolao can you give an reproducable example for another simple LDAP client?

How to configure
What you expect
What you got

The above screenshots show accessing the casdoor LDAP service using the ApacheDirectoryStudio software and the error message screenshot.
Under normal circumstances, it should be able to connect successfully and retrieve user information from the ldap server.
For example, the screenshot below shows the results that can be seen when connecting to an openldap-server using the same software.

me too, I found the search result does not contain the uid field
root@m1:~# ldapsearch -H ldap://xxxxxxxx:1389  -x -D "cn=admin,ou=built-in,dc=test,dc=com"  -w "xxxxxx"  -LLL -b "ou=test,dc=G1,dc=com"
dn: cn=test1,ou=G1,dc=example,dc=com

dn: cn=test2,ou=G1,dc=example,dc=com

@aosolao I checked the source code, they did not return the UID filed, that's why we can not integrate with ldap

Fixed by: https://github.com/casbin/casdoor/pull/2500 and https://github.com/casbin/casdoor/pull/2508
@aosolao @ganisback hi, can you try the latest version again?

Use  latest version can not work

@keac create new issue


Cannot change "localhost" to LAN accessible hostname? With https?

First of all @Akryum, thank you. What a service to both Vue and Meteor you have provided. Thank you!

Any chance we can change these values?

This gets set here:
https://github.com/Akryum/meteor-vite/blob/d189295c1f29f723742b7f16069f656fe43496e1/packages/vite-bundler/loading/vite-connection-handler.ts#L60-L61
Which is set here:
https://github.com/Akryum/meteor-vite/blob/d189295c1f29f723742b7f16069f656fe43496e1/packages/vite-bundler/loading/vite-connection-handler.ts#L51-L55
Which seems to pull config with type RuntimeConfig as an argument at constructor of ViteDevScripts here:
https://github.com/Akryum/meteor-vite/blob/d189295c1f29f723742b7f16069f656fe43496e1/packages/vite-bundler/client.ts#L34-L41
But then that is as far as I can trace it so far.

Have tried setting host in settings.json and using that;
Have tried adding it to vite.config.js various places but am stabbing in the dark a bit;

Have set server.hmr to false and also tried setting server.hmr.overlay to false

Have tried trying to set absoluteUrl but was just wishing at that point;

Also I noticed that the scheme seems hard-coded which causes warnings, but is not "breaking it" at all.
Goal is to be able to connect from another machine on the LAN, using nginx and /etc/hosts entry. Everything on that end works, and is a common thing on this LAN, but then it hits that http://localhost:XXXX call, and dies right there.
Thanks for any nudge in the right direction possible, and pardon if there is somewhere better to put this.

Hey there.
Which version of the Vite bundler are you using? Currently the most up-to-date version of the library is available through the fork. I believe we shipped some changes a few months back to address custom Vite host configs.
https://github.com/JorgenVatle/meteor-vite
Try the latest versions of meteor-vite and jorgenvatle:vite-bundler.

Thank you @JorgenVatle it does seem the host now changes with the upgraded packages.
Still seeing http hard-coded though. And noticing your vite-bundler fork is not taking 2.0 of your package until meteor@3 so started upgrading to v3 now. Now that I see it is likely a version issue, I will dig further.
Parting question: Is the appropriate place to affect what baseUrl is being used server.hmr in vite.config.js?
Much appreciated for unblocking me on this enough to go further.

Oh, could you point me to where you see the hardcoded http protocol?
The package versioning is a little confusing<EMAIL_ADDRESS>is for Meteor v2, whereas<EMAIL_ADDRESS>is for Meteor v3. The package should be more or less the same, for either version. We're just forced to publish the package using an environment where Meteor v2 or v3 is installed depending on which version we intend to publish. Otherwise Meteor ends up including packages it shouldn't in the final bundle, in turn breaking the released package. In other words, you're fine to stick with v1. 😄
I did try to launch an app with the following Vite server options, it did attempt to load the Vite client over https. But it was naturally rejected because of the missing certificate. (jorgenvatle:vite-bundler@2,0.0 and<EMAIL_ADDRESS>export default defineConfig({
  server: {
    host: 'localhost',
    https: true,
  },
  plugins: [...]
})

Your baseUrl will be affected by the server.host field in your Vite config, like in the snippet above. So if you change host: 'localhost' to <IP_ADDRESS> or true, it should be accessible from your local network.

Just set up a branch with React and Blaze: https://github.com/JorgenVatle/meteor-vite/tree/react-blaze/examples/react

Thank you @JorgenVatle! That was the last piece: server.https: true does change the URL now, with the latest version. I appreciate the caveat about v2 of meteor being just fine ( which is great, since v3 seems to brick on update right now )
Quite right on the SSL failures next. The intent is to use locally-issued LAN minica certificates and nginx even in development, but at several local terminals. I can see from here ( and with the example you added ) that I am almost into open water now, after I fix up ports and certificates, now that I can toggle https in this version!
It seems any host I provide ( rather than an IP address ) changes back to localhost for some reason, but I can work with a naked IP address as long as it is a LAN versus local-loop address. So for now, so far so good.
For the record, I used the Vue started baked into meteor but it seems that is out of date. I am grateful for the intervention! Honored to be entering a community of people like yourself. I look forward to doing some heavy lifting within the ecosystem!
Have a great time out there //

By the way, this is what I referred to, that "changes back to localhost"  above:
https://github.com/JorgenVatle/meteor-vite/blob/abbd0d67d908c6d527f0bb978306ddda125a5aa1/packages/vite-bundler/loading/vite-connection-handler.ts#L98C26-L98C38

I see. Thanks for following up on this. 🙌
This should prioritize the configuration provided by Vite. Falling back to localhost if nothing else is available. Are we hitting the wrong resolved URL index in your use case?
If memory serves right, this was an issue with earlier versions from late last year where we would assume Vite was only being used on localhost only. There hasn't been any issues since upgrading, has there? 👀

For a moment I bypassed the situation and went toward the production side to make sure it deploys ( LAN first, cloud later ) and that does. Everything works without HMR. So now I am coming back to the development case.
What I see happening is that if I use a FQDN in the LAN, with an address set in /etc/hosts on each machine, is that the URL gets rendered as with an IP address. So if server.hmr = 'host.lan' then in the rendered html it will be https://lan.ip.address.number:port because it will be config.resolvedUrls[.network[0] as pulled by host.lan resolving to lan.ipaddress.number ... What I want to be able to do is remove the :port portion and set the output to:
<script src="https://host.lan/@vite/client" type="module" id="meteor-vite-client"></script>
<script src="https://host.lan/imports/ui/main.js" type="module" id="meteor-vite-entrypoint-script"></script>

And actually, now it does work, but without need to run a reverse proxy in the LAN for HMR. And there was one "gotcha" hidden in there. First the "gotcha" which was the key:

If running that command ordered, it breaks. Then if you do meteor npm upgrade and rerun<EMAIL_ADDRESS>is added back, and it works again, but then the error above in the screenshot comes back up, requesting the regression.
Also it seems like there is a "gotcha" when changing vite.config.js itself since that will change the URL also, but upon restart of the server it goes back to the LAN accessible URL.
Once through that and ignoring the official admonition to devolve, my problem was a misunderstanding of what was going on.
At the vite.config.js level, the port needs to be set to the same thing both for server.port and for server.hmr.clientPort and then it works. It did not strike me properly at first that the meteor server is itself, and then there is this separate vite server, which server.port is referring to, not to meteor which is behind the reverse proxy on another port. Muddy water, as well as issue forming the script links, as well as the package regression, all together and each individually broke what I expected.
There is no need to make HMR more accessible than that, since everything on the LAN ought to be able to hit that... and I just checked and it works at three stations... though it shows as insecure due to the HMR certificate ( even though I generated one by minica tied to the IP address which is technically not a hostname.


Add examples for shared folders.

This could be tricky as it seems that mounting a directory using VVFAT in qemu results in a segmentation fault if the ChromeOS host makes any changes to the shared directory.

After a lot of trial an error it hit me--just use a SFTP mount in the native ChromeOS Files App.
Port 10022 is already mapped in start_persist.sh using qemu hostfwd. Simply go to the Files app and add click 'Add new services' -> 'Secure Shell' then ssh as usual (you can set the mount point at the bottom of this dialog) which will then show up in the sidebar of the Files app as if it were mounted.
I will update the documentation with further details at a later time but for now anyone who stumbles on this I have tried the following with no success:

Mapping a host directory as a drive in qemu.

When the guest tried to write back to the directory it would crash with a segmentation fault.

Using Samba/NFS with hostfwd port mapping.

The Chrome NFS app did not like this. Apparently QEMU uses really high ports and Samba nor NFS would work. I think NFS might work if you use the insecure flag but I wasn't going that route.

Tunneling Samba/NFS through SSH

It got messy, never seemed to work.

 SFTP via Secure Shell.


StudentGroup

Verb
Input
Returns
Description
Business Rule(s)

GET

DataTable / Array
List
-

GET(long)
PK
BO
Find
Returns NotFound() if record does not exist

Delete(long)
PK
-
Delete
Returns BadRequest() if record does not exists

POST
[FromBody] BO
BO
Insert
-

PUT
[FromBody] BO
-
Insert
Returns BadRequest() if record does not exists

Student Group

[CRUD-L] /StudentGroup
[GET] /StudentGroup/{GroupID}/Student : list all students belong to the given GroupId
[GET] /StudentGroup/{GropuID}/Student(StudentGroupSearch): list all students that can fulfill the criteria given in the object but should not be part of the given group

StudentGroupSearch: Student.Name,Student.Identifier, Student.BatchID, OrgUnitID

[POST] /StudentGruop/{GroupID}/Student (List) : add these students for the group
[DELETE] /StudentGruop/{GroupID}/Student (List) : delete these students for the group

implemented this in new structure @mqpasta closing this issue


Update regex to correctly match puppet parser validate output.

The existing regex in the linter.py file doesn't correctly match puppet's validator output. The named capture groups weren't getting the right info, so the linter marks were always in the wrong place for me.
Examples here:
Current, non-working regex: https://regex101.com/r/Xk5edd/2
Working regex in pull request: https://regex101.com/r/Xk5edd/1

@dschaaff what about this one? Per the RegEx links in the description, it would seem to fix things.

Its good with me. I rarely use puppet these days and when I do I've been using the puppet language server with the sublime lsp plugin. Since I'm not actively using this I don't see issues myself unfortunately.
I'll merge this and tag a new release.


Improve Hover effect in Navbar links

Issue Type:

[ ] Bug Report

Describe the bug
-In the website Navbar, after hover in the links the text can't be shown.
Possible solution

Make the text Visible

Screenshots

I fix this Problem

Can you assign me under GSSoC'22 @VidhiBhatt01

issue solved


[PrivateKey]: add new C interface to get public key with cointype

Description
fix #2656
How to test
run c++ unit tests
Checklist

[x] Create pull request as draft initially, unless its complete.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] If there is a related Issue, mention it in the description.

If you're adding a new blockchain

[x] I have read the guidelines for adding a new blockchain.

I think the method to get public key type from a coin type should be in PrivateKey, and then there is no dependency issues.

That's the case: https://github.com/trustwallet/wallet-core/pull/2661/files#diff-7a19dd450838cf7c739919131c63557db3b685641ea91469fd00e287d4f564aeR73

I suggest to add these two pathways in a single test:

A1: get pubkey for coin type (e.g. Eth)
B1: get pubkey type for coin type
B2: get pubkey for obtained pubkey type

Result should be the same.

Should we extend the C interface to have a TWPrivateKeyGetPublicKeyByType(enum TWPublicKeyType pubkeyType) or only write the second path in C++?


Please use proper logging instead of printing error messages to console

Example from geoparse.py;
     try:
            prediction = self.country_model.predict(i['matrix']).transpose()[0]
            ranks = prediction.argsort()[::-1]
            labels = np.asarray(labels)[ranks]
            prediction = prediction[ranks]
      except ValueError:
            print(traceback.print_exc())
            prediction = np.array([0])
            labels = np.array([""])`

This spams the console with noise and makes operation unnecessarily difficult.
Please consider using a proper logger, which is best practice for libraries:
https://docs.python.org/3/howto/logging.html#configuring-logging-for-a-library

You're totally right that using a real logger is the better way to do it. I don't have the time to convert it right now, but I'd welcome a PR.


Versioning Issue in Latest NUGET packages

Hi,
Thanks for the great work!
After 1.0.22 version all the packages which are published from your end have versioning issue. For example, latest 1.1.0 nuget has version of 1.0.24 in the dll after the install. This creates lots of dependency resolution issue. Please check the issue.

version 1.0.24 has 1.0.23 dll.

Hello @joshidp ,
Thank you for reporting. I made a very quick check and you are right.
We will try to deploy a new version this night.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Any updates?

Hello @joshidp ,
Sorry for the additional delay,
The v1.1.1 has been released.
Let me know if the issue is solved correctly.
Have a great day,
Best Regards,
Jon

Thanks, issue has been fixed.


TagBot fails to push tags after adding DOCUMENTER_KEY

Since I added the DOCUMENTER_KEY as ssh key to TagBot it can't push Tags anymore see https://github.com/JuliaPlots/Plots.jl/runs/4480931845?check_suite_focus=true#step:3:44 and https://github.com/JuliaDocs/Documenter.jl/issues/1737
Am I missing something? Or how can I debug this?

Just to clarify: the key has permissions for Plots.jl?

Well its added as a deploy key to PlotDocs.jl and therefore has write permissions for PlotDocs.jl which is needed such that the Documentation can be deployed. I tried to also add it as deploy key to Plots.jl but thats not allowed by github.
I'll try to give TagBot its own key. I thought it needs to be the same as the DOCUMENTER_KEY, so it can trigger the action.

TagBots push the tag to the repo itself (Plots.jl), so that needs to have write permissions on Plots.jl. You can add another key to push docs from Plots.jl to PlotDocs.jl

With its own key it works.


IE 11 suppport ?

Currently in dev mode I can run project on IE 11, but in production mode it is not working

Can you tell me if this boilerplate supports IE 11 ?
Thank you.

@hle50 what was the real issue? Did you finally manage to solve it?


Correct over functionality for multi-op specs

Added Marshalling and Re-parsing of intermediate JSON to remove object nesting artifacts added while processing Over

Closing this one so we can do it a bit more efficiently.


TypeScript doesn't allow public / private access modifiers

I'm trying out the new TypeScript support. But I can't add public or private to a method

Environment
System:
OS: macOS High Sierra 10.13.5
CPU: x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Binaries:
Node: 10.4.1 - ~/.nvm/versions/node/v10.4.1/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.1.0 - ~/.nvm/versions/node/v10.4.1/bin/npm
Browsers:
Chrome: 70.0.3538.77
Safari: 11.1.1
npmPackages:
@types/react: ^16.4.18 => 16.4.18
@types/react-dom: ^16.0.9 => 16.0.9
react: ^16.6.0 => 16.6.0
react-dom: ^16.6.0 => 16.6.0
react-scripts: 2.0.5 => 2.0.5
npmGlobalPackages:
create-react-app: 2.0.4
Steps to Reproduce

Since typescript support is not yet released to npm I followed @brunolemos steps to clone CRA and link react-scripts. Then:

create-react-app cra-ts-test
cd cra-ts-test
yarn add typescript @types/react @types/react-dom @types/jest
yarn link react-scripts
rename index.js to index.tsx
rename App.js to App.tsx
In App.tsx added public in front of render() {
yarn start

Expected Behavior
It should compile and work
Actual Behavior
Failed to compile
./src/App.tsx
SyntaxError: /Users/mikel/Projects/Lab/cra-ts-test/src/App.tsx: Unexpected token (6:9)

  4 |
  5 | class App extends Component {
> 6 |   public render() {
    |          ^
  7 |     return (
  8 |       <div className="App">
  9 |         <header className="App-header">

Reproducible Demo
https://github.com/MikelArnaiz/cra-ts-test
(make sure to yarn link react-scripts to the latest version with TS support)

It works fine. Please try using this method instead of yarn link:
npx create-react-app@next app-name --scripts-version=2.0.6-next.c662dfb0 --typescript


Sync can unexpectedly occur with devices that have not enabled it

Description
I'm running into a situation where I can get data sync to occur between two devices even though only one of them has data sync enabled. Using myself and Evan as an example, here are the reproduction steps:

Andrew invites Evan to a project as a participant.
Andrew and Evan collect some data independently.
Andrew and Evan go to the sync screen and both press the button to enable data sync.
Andrew and Evan leave the sync screen, which disables data sync in this case.
Andrew or Evan (or both) collect more data independently.
Andrew goes to the sync screen and presses the button to enable sync. Notice that syncing starts between Andrew and Evan, even though Evan hasn't pressed the button to enable sync again.

The expectation here is that in 6, Andrew should be in some pending state, waiting for any other connected devices (in this case, Evan) to also enable sync. Instead, sync immediately happens without Evan opting in.
Important notes:

In step 1, not sure if it matters what role is chosen for Evan. I've only tried this when Evan is a participant, but might be worth trying to reproduce the issue for when Evan is added as a coordinator.

Steps 2,3, and 4 are important. If we do this without those steps, the issue does not seem to occur. In technical terms, it seems like an prior data sync has to have happened before encountering this issue.

In step 6, it's vital that Andrew enables sync again. If it were Evan that did that instead, this issue does not occur. This suggests that something about being the project creator somehow bypasses the expected sync "etiquette". Going back to the first note, wondering if the issue could be reproduced if Evan were a coordinator and re-enabled sync instead of Andrew.

Tasks

[ ]

Took a quick look. There's a possibility that here: https://github.com/digidem/mapeo-core-next/blob/72709284c9f37a2559e28b80d0ebec5e7726af49/src/sync/peer-sync-controller.js#L266 whichever side closes first will result in the peer being removed from core.peers for the other side, but maybe the protomux channel remains open, and because the other peer doesn't find it, then it skips closing the protomux channel because it doesn't find the peer in core.peers. If this is the case, the issue would depend on who leaves the sync screen (e.g. stops sync) first. Could you maybe check that Andrew?

Took a quick look. There's a possibility that here:
https://github.com/digidem/mapeo-core-next/blob/72709284c9f37a2559e28b80d0ebec5e7726af49/src/sync/peer-sync-controller.js#L266
whichever side closes first will result in the peer being removed from core.peers for the other side, but maybe the protomux channel remains open, and because the other peer doesn't find it, then it skips closing the protomux channel because it doesn't find the peer in core.peers. If this is the case, the issue would depend on who leaves the sync screen (e.g. stops sync) first. Could you maybe check that Andrew?

ah very interesting. so, i can confirm that there's different behavior based on who stopped sync first. It seems like whomever stops sync first is also the one who will cause the bug to occur when they re-enable sync. For example, after step 3 in the original description:

Evan leaves the sync screen first, then Andrew.
Evan collects more data
Evan and Andrew return to the sync screen.
Andrew presses start sync button. Nothing happens, which is expected. Andrew presses stop sync button.
Evan presses start sync button. Sync occurs unexpectedly!

Working on this now. See this work-in-progress branch, which currently just has a failing test and some TODOs.


[JUJU-4175] Create application resource in framework

Note - there are 2 acceptance tests failing right now, though I'm not sure why. I cannot reproduce outside of the
Description
Convert the application resource from using the terraform sdk to the newer framework. There is a small bug fix related to exposing an application without an application name specified in the plan.
This PR also adds use the tflog package for logging including using a tflog subsystem for granularity. Each resource and data source should have its own subsystem. For applications, log line will include "@module":"juju.resource-application". To setup: export TF_LOG_PROVIDER=TRACE ; export TF_LOG_PATH=./terraform.log. Without the log path, logging will be printed within the normal terraform output.
Type of change

Bug fix (non-breaking change which fixes an issue)
Maintenance work (repository related, like Github actions, or revving the Go version, etc.)

Environment

Juju controller version: 2.9.43

Terraform version: 0.8.0 next

QA steps
Here is a plan to test with. Also do import testing.
terraform {
  required_providers {
    juju = {
      version = ">= 0.7.0"
      source  = "juju/juju"
    }
  }
}

provider "juju" {
}

resource "juju_model" "testmodel" {
  name = "machinetest"
}

resource "juju_application" "application_example" {
  model = juju_model.testmodel.name
  charm {
    name = "juju-qa-test"
  }
  units = 2
  expose {}
  config = {
	status = "application resource testing"
        foo-file = true
        skill = 42
  }
}

@cderici I pushed some some changes based on review comments, then rebased onto #269.

force pushed to fix a merge conflict

squashed many of the commands for merging. the test failing due to a juju bug will be skipped for now and re-enabled when the bug is fixed.


Score_Raw now has maximum of 255

After the last server update, it looks like the score_raw field of a list item has a maximum value of 255 instead of 100 (as indicated in the docs). Will 255 be the new maximum, or is this a bug?
In addition, it looks like sending a PUT or POST to update an animelist item causes the supplied value for "score_raw" to be read by the server as simply "score".
i.e. sending a "score_raw" value of 100 will set the "score" to 25.5 (the new max value) while setting the "score_raw" to 255. Likewise, sending a "score" value of 100 will have the same effect (although this is understandable.)

Haha so it's not only me :smile:
Yup, its definitely a bug. Let's wait for them to fix it


Can't import and resolve css from a node_modules package

Describe the bug
I'm not able to import and resolve node_module package CSS.
// Icon.css
@import<EMAIL_ADDRESS>

ERROR in ./src/components/Icon/Icon.css (./node_modules/@storybook/react/node_modules/@storybook/builder-webpack4/node_modules/css-loader/dist/cjs.js??ref--11-1!./node_modules/postcss-loader/dist/cjs.js??ref--11-2!./src/components/Icon/Icon.css)
Module not found: Error: Can't resolve<EMAIL_ADDRESS>in '/Users/rob/workspace/mobile/src/components/Icon'

...

ModuleNotFoundError: Module not found: Error: Can't resolve<EMAIL_ADDRESS>in '/Users/robbytiu/workspace/mobile/src/components/Icon'

...

Field 'browser' doesn't contain a valid alias configuration
<EMAIL_ADDRESS>doesn't exist
      .web.jsn (relative path: ./src/components/Icon)

from the last message, it looks like postcss is trying to resolve the node_module package in the same context
To Reproduce
Steps to reproduce the behavior:

npm run storybook
See error

Expected behavior
To Run Storybook and open in the browser
Code snippets
Icon.css
@import<EMAIL_ADDRESS>
Icon.tsx
import React from "react";
import styles from "./Icon.css";
...
// rest of the code

.storybook/main.js
module.exports = {
  stories: [
    '../stories/**/*.stories.mdx',
    '../stories/**/*.stories.@(js|jsx|ts|tsx)',
  ],
  addons: [
    '@storybook/addon-links',
    '@storybook/addon-essentials',
    '@storybook/addon-react-native-web',
  ],
}

System:
Please paste the results of npx -p @storybook/cli@next sb info here.
Environment Info:

  System:
    OS: macOS 12.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v14.18.1/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.18.1/bin/npm
  Browsers:
    Chrome: 97.0.4692.99
    Firefox: 90.0.2
    Safari: 15.2
  npmPackages:
    @storybook/addon-actions: ~6.4.9 => 6.4.14
    @storybook/addon-controls: ^6.4.14 => 6.4.14
    @storybook/addon-essentials: ~6.3.0 => 6.3.13
    @storybook/addon-links: ^6.3.0 => 6.3.0
    @storybook/addon-ondevice-actions: ^6.0.1-alpha.7 => 6.0.1-alpha.7
    @storybook/addon-ondevice-backgrounds: ^6.0.1-alpha.7 => 6.0.1-alpha.7
    @storybook/addon-ondevice-controls: ^6.0.1-alpha.7 => 6.0.1-alpha.7
    @storybook/addon-ondevice-notes: ^6.0.1-alpha.7 => 6.0.1-alpha.7
    @storybook/addon-postcss: ^2.0.0 => 2.0.0
    @storybook/addon-react-native-web: ^0.0.14 => 0.0.14
    @storybook/react: ^6.4.14 => 6.4.14
    @storybook/react-native: ^6.0.1-alpha.7 => 6.0.1-alpha.7
  npmGlobalPackages:
    @storybook/cli: 6.4.14

Additional context
As long as we're not trying to import from node_modules, storybook react native web is running just fine.

seems that this is an issue with using 6.4 along side storybook/react-native, this can cause issues due to storybook/react-native having incompatibilities with 6.4. Swapping to 6.3 should be the fix.
Could you confirm whether this is still happening?

Closing since there has been no activity. If it's still a problem let me know so I can reopen it.


Sensors and Messaging

Currently we pull data directly from the physics engine and tgModels for controllers and logging purposes. I would propose that we add sensors that can pull the data from the environment and models and provide the data in standardized message formats. These messages can then be consumed by controllers, loggers, etc. without having to have knowledge of the underlying implementation.
Some basic considerations:

Sensors should be generally limited to what is available in the real world to facilitate transition of control code and analysis to actual robots
ROS has quite a lot already in place around sensors, and we should be able to use their formats for this. This will have the added benefit of easing ROS integration down the line.

Components:

Sensors (e.g. position, force, GPS, ground contact, torque, etc.) -- responsible for collecting information from the elements in the simulator
Samplers -- responsible for pulling info from the sensors at configurable intervals
Collectors -- responsible for marshaling the sampled data and making it available to a message handler (likely a message queue of some type).

Sorry to be a noob here but I didn't get how can I pull information regarding forces in the various elements from the physics engine. I need to collect data regarding nodal positions and forces being transmitted. Could someone please help me in regards to acquiring data mentioned in the above lines? If 'sensors' have indeed been added, how can I use it dump necessary information into, say, a text file?

tgSpringCable.getTension() can provide that information:
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/blob/master/src/core/tgSpringCable.h
the tgBasicActuator class inherits this method. You'll have to extrapolate
from there to individual nodes.
As far as dumping this to a text file, we have the classes that are in
src/sensors. These needs to be implemented within the controller class
currently (see examples/learningSpines/BaseSpineCPGControl).
Brian
On Tue, Sep 15, 2015 at 11:05 AM, chiku00<EMAIL_ADDRESS>wrote:

Sorry to be a noob here but I didn't get how can I pull information
regarding forces in the various elements from the physics engine. I need to
collect data regarding nodal positions and forces being transmitted. Could
someone please help me in regards to acquiring data mentioned in the above
lines? If 'sensors' have indeed been added, how can I use it dump necessary
information into, say, a text file?
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-140485683
.

By implementing, you mean I need to add the header files 'tgDataLogger' and 'tgDataObserver' to, say, NestedStructureSineWave.cpp from NestedTetrahedrons?
I also found, in 'NestedStructureSineWave.cpp', that I'm able to get Tension values (Line 74) from 'stringList'. So in the data logger, I can call 'std::vector<tgBasicActuator*> stringList' to call stringList to get the current values of tension?
It would be great if you could tell me using this example of NestedTetrahedrons as I'm able to understand what's going on inside much better as compared to BaseSpineCPGControl. I believe both do use controllers (Impedence for the former)

The data logger is actually a little bit savvier than that, it takes care
of all of that for you, via the dataObserver.
Adding one to your controller only takes 4 steps:
(1) Define data observer in your header, including the include. You may
also need to add the sensors library to your cmake file to make it link
properly.
(2) Declare it in your constructor, including the folder where you want
logging to occur (relative path)
(3) Call dataObserver.setup in your controller's onSetup function
(4) Call dataObserver.step in your controller's step function.
Finally, I recommend adding conditional compiles around 3 & 4 so you only
log when you want to log.
To utilize the example I recommended, try doing a search (find or ctrl-f)
on tgDataObserver and m_dataObserver in BaseSpineLearning Controller, that
should filter out the noise for you.
On Thu, Sep 17, 2015 at 9:00 AM, chiku00<EMAIL_ADDRESS>wrote:

By implementing, you mean I need to add the header files 'tgDataLogger'
and 'tgDataObserver' to, say, NestedStructureSineWave.cpp from
NestedTetrahedrons?
I also found, in 'NestedStructureSineWave.cpp', that I'm able to get
Tension values (Line 74) from 'stringList'. So in the data logger, I can
call 'std::vector stringList' to call stringList to get the current values
of tension?
It would be great if you could tell me using this example of
NestedTetrahedrons as I'm able to understand what's going on inside much
better as compared to BaseSpineCPGControl. I believe both do use
controllers (Impedence for the former)
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-141132419
.

I compared 'NestedStructureSineWaves.cpp' and 'BaseSpineCPGControl.cpp' and was able to identify the 'onStep' part of your instructions (Step 4). So I guess the logger (when it does data acquisition) can only be implemented via a controller. Now, if I just want to use my mouse and prod the object and still acquire data regarding the elements, I only need to make sure that I'm not messing around with the string tensions (setTension, line 93, NestedStructureSineWaves). The logger needs a way to look at the state of the structure at every time instant. Now, I can ether some how implement it directly into the simulation engine and acquire data (regardless whether there's a contoller (NestedTetrahedron) or not (3Prisms)), or I can couple it with a controller which gets called at every time step. This, hopefully, I understand.
Now regarding the 'onSetup' (Line 200, BaseSpineCPGControl), the logger, I guess, needs to log the initial conditions of the system. But then, if that is its purpose, can we not skip it all together because the logger in 'onStep' will record the data at time = 0, right?
That and the fact that, like in '3Prisms', my initial conditions are defined in the 'PrismModel.cpp'. So, do I call the 'onSetup' function of 'DataObserver' in that file after I've setup the entire model (defined rods and strings)? Or do you want me to call it inside the function 'applyImpedanceControlOutside' (Line 84, NestedStructureSineWaves.cpp)?
Another question: what is the difference that you intended to make between 'applyImpedanceControlOutside' and 'applyImpedanceControlInside' (Line 64, same file)? They both look the same, apart from the fact that at one place, the tensions are getting changed.
Apart from this, I did step 1 (add include) inside 'NestedStructureSineWaves.h' and defined the 'm_Observe' inside its private class (mimicking BasePineCPGControl.h).
You recommended adding 'Conditional Compiles' around the logger to log when I want. Regarding this, how do I ask it to start logging? Is there some sort of flag that I raise to start logging or something?

Answers inline:
On Sun, Sep 20, 2015 at 2:02 AM, chiku00<EMAIL_ADDRESS>wrote:

I compared 'NestedStructureSineWaves.cpp' and 'BaseSpineCPGControl.cpp'
and was able to identify the 'onStep' part of your instructions (Step 4).
So I guess the logger (when it does data acquisition) can only be
implemented via a controller. Now, if I just want to use my mouse and prod
the object and still acquire data regarding the elements, I only need to
make sure that I'm not messing around with the string tensions (setTension,
line 93, NestedStructureSineWaves). The logger needs a way to look at the
state of the structure at every time instant. Now, I can ether some how
implement it directly into the simulation engine and acquire data
(regardless whether there's a contoller (NestedTetrahedron) or not
(3Prisms)), or I can couple it with a controller which gets called at every
time step. This, hopefully, I understand.
Now regarding the 'onSetup' (Line 200, BaseSpineCPGControl), the logger, I
guess, needs to log the initial conditions of the system. But then, if that
is its purpose, can we not skip it all together because the logger in
'onStep' will record the data at time = 0, right?
That and the fact that, like in '3Prisms', my initial conditions are
defined in the 'PrismModel.cpp'. So, do I call the 'onSetup' function of
'DataObserver' in that file after I've setup the entire model (defined rods
and strings)? Or do you want me to call it inside the function
'applyImpedanceControlOutside' (Line 84, NestedStructureSineWaves.cpp)?

The controller needs to have an onSetup function and it needs to be called
there. This initializes some model dependent aspects of the observer and
writes the log file's header.

Another question: what is the difference that you intended to make between
'applyImpedanceControlOutside' and 'applyImpedanceControlInside' (Line 64,
same file)? They both look the same, apart from the fact that at one place,
the tensions are getting changed.

The control argument in outside takes a velocity, whereas in inside it
defaults to zero. This is what allows for the velocity trajectory in the
control of the outside cables, and therefore movement.

Apart from this, I did step 1 (add include) inside
'NestedStructureSineWaves.h' and defined the 'm_Observe' inside its private
class (mimicking BasePineCPGControl.h).
You recommended adding 'Conditional Compiles' around the logger to log
when I want. Regarding this, how do I ask it to start logging? Is there
some sort of flag that I raise to start logging or something?

I was referring to lines like:
#define LOGGING
#ifdef LOGGING

#endif
This is an easy way to turn logging on when you compile, since by
commenting out one line you can turn off whole behaviors. If you just leave
the lines in without the conditional compile it will log every time
(assuming you have the correct call in onSetup and onStep). Note you may
also have to add notifySetup() to the model in order to run onSetup in the
controller.

—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-141759422
.

But I see that 'NestedStructureSineWaves.cpp' only has a onStep function and no 'onSetup'.
So how about this: In 'AppPrismTetrahedrons.cpp', I call m_observer.onSetup' after I initialize the model (line 63 of AppPrismTetrahedrons.cpp). Then I'll pass the 'myModel' (type NestedStructureTestModel) to 'm_observer.onSetup'.
Then, while I initialize 'pMuscleControl' (type NestedStructureSineWaves), I'll pass the address of 'm_observer' to the constructor of 'NestedStructureSineWaves'. This way, I'll have taken care of 'onSetup' and 'onStep'.
Other than this, I see no other way as neither 'NestedStructureSineWaves.cpp' has a 'onSetup' (it is a controller, right? It's job is to control the structure after all) nor do controllers like impedance controller have 'onSetup' nor 'onStep'.

The main problem that I see in the above approach is that DataObserver.onSetup() and DataObserver.onStep() both need 'tgModel'.
Going back to 'BaseSpineCPGControl.cpp', I see that it accepts a class called 'BaseSpineModelLearning' which does not appear to be the same as tgModel. So how can that work?
BaseSpineModelLearning
I was able to take care of 'onSetup' because I ran it inside 'NestedStructureTetrahedron.cpp' where 'tgModel' was being used.
But for 'onStep', where would you have me run it?

Ok, I've tried every way I could think of to implement what you suggested but I'm always getting errors like 'not defined' and what not even though I defined them publicly.
Here's the working model I wanted to acquire data from:
https://www.dropbox.com/sh/98fnicme0t417j5/AAAx756Xfz5vToY6bAPaYTR1a?dl=0
If someone can add the necessary lines which would allow me to acquire data regarding forces in the members, it would be most appreciated.
'BaseSpineCPGControl.cpp' actually has both onSetup and onStep in it. But the model I'm after has it in discrete files: one where the model and children are put together (onSetup); another where the forces in the string are made to change incrementally (onStep).
Don't know if this will help but here are the same files with the attempts I made to incorporate the changes:
https://www.dropbox.com/sh/fm1x423373u5aw4/AADE8wTX3ppPx6KAoJ7p_ckta?dl=0

The trick is to define the onSetup function for NestedStructureSineWaves.
It already has these functions since it is a subclass of tgObserver
(located in core), but you need to override them to use the logger. Add
onSetup((NestedStructureTestModel& subject) to NestedStructureSineWaves.h,
and then add it to the .cpp file with your implementation (just calling
tgDataObserver.setup(subject)).
Our definition of sensors vs controllers is a little fuzzy right now, this
is something we want to refine in the future. For now, its better to have
these functions in the controller than in the model.
On Tue, Sep 22, 2015 at 1:12 AM, chiku00<EMAIL_ADDRESS>wrote:

Ok, I've tried every way I could think of to implement what you suggested
but I'm always getting errors like 'not defined' and what not even though I
defined them publicly.
Here's the working model I wanted to acquire data from:
https://www.dropbox.com/sh/98fnicme0t417j5/AAAx756Xfz5vToY6bAPaYTR1a?dl=0
If someone can add the necessary lines which would allow me to acquire
data regarding forces in the members, it would be most appreciated.
'BaseSpineCPGControl.cpp' actually has both onSetup and onStep in it. But
the model I'm after has it in discrete files: one where the model and
children are put together (onSetup); another where the forces in the string
are made to change incrementally (onStep).
Don't know if this will help but here are the same files with the attempts
I made to incorporate the changes:
https://www.dropbox.com/sh/fm1x423373u5aw4/AADE8wTX3ppPx6KAoJ7p_ckta?dl=0
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142208609
.

Well, upon adding 'sensors' to the 'CMakeLists.txt', it compiled alright but the executable only runs when I  comment '#define LOGGING'. Else, upon clicking the executable, it opens and then closes immediately (my guess it's crashing).
Could someone else run it on their system and see if it compiles and runs? Also, where would the log file be created? In the same directory where the source code is?
Regarding that, this is what I wrote:

Under learningSpines, only 'AppTetraSpineSerial' is working when I un commented '//#define LOGGING' in 'BaseSpineCPGControl.cpp'. They all start working when I comment '#define LOGGING'.
If indeed these modules were working for you on your PC, it is possible that something might be amiss with mine, right?
I checked 'tgDataObserver.cpp' and this seemed interesting:
"
throw std::runtime_error("Logs does not exist. Please create a logs folder in your build directory or update your cmake file");
" (line 91).
I guess this means that, inside the build directory, there has to be a folder called 'logs'. In fact, going back to 'BaseSpineCPGControl.cpp', I find that the input to 'm_dataObserver' is 'logs/TCData'. Does this mean that I have to also create another folder inside 'logs' by the name 'TCData'?
Also, since I'm using Ubuntu, I noticed a 'lock' icon on the 'build' folder inside 'NTRTsim-1.1'. So I guess, I'll have to remove that lock before I create those two new folders.

I tried to create a folder 'logs' inside builds and 'TCData' inside that, but even that didn't work. That last part of line 91: "...or update your cmake file" ; what do I update it to?

Sorry for the slow response. The logs folder needs to be in the same folder
as the executable. So if your path is build/examples/NestedTetrahedrons
then the logs folder would be at build/examples/NestedTetrahedrons/logs
TCData is the file prefix, the date and time will be appended to that.
On Wed, Sep 23, 2015 at 12:55 AM, chiku00<EMAIL_ADDRESS>wrote:

I tried to create a folder 'logs' inside builds and 'TCData' inside that,
but even that didn't work. That last part of line 91: "...or update your
cmake file" ; what do I update it to?
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142523625
.

I've yet to try it out, but is that why it didn't run? It compiled alright. And it was not just my code; even the code under LearningSpine did not execute (except one, read my previous comments). Hopefully this works and I start getting some outputs.
BTW, do I need to be concerned about the cmake file? I mentioned it in the previous comment.

Yes, there is an exception in the data observer code if the logs file does
not exist.
The CMake file can be configured to create the folder automatically, but
we've moved away from that after introducing the resources directory.
On Wed, Sep 23, 2015 at 8:51 AM, chiku00<EMAIL_ADDRESS>wrote:

I've yet to try it out, but is that why it didn't run? It compiled
alright. And it was not just my code; even the code under LearningSpine did
not execute (except one, read my previous comments). Hopefully this works
and I start getting some outputs.
BTW, do I need to be concerned about the cmake file? I mentioned it in the
previous comment.
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142645772
.

It is still not executing. Compiles fine and even executes when I comment #define Logging. But not without comments.

I made a logs file inside TetraSpin (build/...) and tried to execute AppTetraSpineLearning but even that is failing to execute.

What is the error when they fail to execute?
Is the code on your dropbox from the other thread the code that fails?
Have you gotten rid of the lock on the build folder? If not, how did you
build? - you should have full write access to the folder.
On Wed, Sep 23, 2015 at 9:11 AM, chiku00<EMAIL_ADDRESS>wrote:

I made a logs file inside TetraSpin (build/...) and tried to execute
AppTetraSpineLearning but even that is failing to execute.
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142650637
.

When I execute build.sh, I use sudo.
The files I'm having trouble with are here:
https://www.dropbox.com/sh/fm1x423373u5aw4/AADE8wTX3ppPx6KAoJ7p_ckta?dl=0
Just cut and paste them in the folder 'NestedTetrahedron'. Everything is there. You can see for yourself: comment the #define logging and it executes without any hic-ups. Un comment it and the executable doesn't even run. I'm having the same issue with the executables in 'LearningSpine' (see my comments).
From what you said before, I see the build folder should be unlocked. FYI, I made those folders (logs) using sudo also. Since the executable will be writing logs while the program is running, I see I need to unlock the build folder.

There is no error message. It builds just fine. When I click the executable, it opens and closes almost immediately.

 Navigate using cd, then put ./ in front of the executable
name.
On Wed, Sep 23, 2015 at 10:13 AM, chiku00<EMAIL_ADDRESS>wrote:

There is no error message. It builds just fine. When I click the
executable, it opens and closes almost immediately.
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142667489
.

Yes, I got the error:
Segmentation fault (core dumped)

I think this might be the issue:
Where do I call 'void NestedStructureSineWaves::onSetup(NestedStructureTestModel& subject)' ?
I've only created it inside the 'NestedStructureSineWaves.cpp' (and defined it in the header file).
I don't see where I can call it from

have you run with GDB to see where the segmentation fault is happening?
vytas
On Sep 23, 2015, at 11:19 AM, chiku00<EMAIL_ADDRESS>wrote:

Yes, I got the error:
Segmentation fault (core dumped)
—
Reply to this email directly or view it on GitHub.

Vytas SunSpiral
Dynamic Tensegrity Robotics Lab
cell-<PHONE_NUMBER>
Office:<PHONE_NUMBER>
N269     Rm. 100
Stinger Ghaffarian Technologies
Intelligent Robotics Group
NASA Ames Research Center
I will not tiptoe cautiously through life only to
arrive safely at death.

onSetup is called after notifySetup() in your model. I don't expect that
would cause a segfault though...
Here's a good GDB tutorial:
http://www.cs.umd.edu/~srhuang/teaching/cmsc212/gdb-tutorial-handout.pdf
On Wed, Sep 23, 2015 at 12:05 PM, Vytas SunSpiral<EMAIL_ADDRESS>wrote:

have you run with GDB to see where the segmentation fault is happening?
vytas
On Sep 23, 2015, at 11:19 AM, chiku00<EMAIL_ADDRESS>wrote:

Yes, I got the error:
Segmentation fault (core dumped)
—
Reply to this email directly or view it on GitHub.

Vytas SunSpiral
Dynamic Tensegrity Robotics Lab
cell-<PHONE_NUMBER>
Office:<PHONE_NUMBER>
N269 Rm. 100
Stinger Ghaffarian Technologies
Intelligent Robotics Group
NASA Ames Research Center
I will not tiptoe cautiously through life only to
arrive safely at death.
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142699494
.

If you say so, because i didn't set that in notifySetup(). I don't even know where it is.

Ah, not calling it might cause the fault. Put notifySetup(); at the end of
your model's setup function.
For details see the subject and observer base classes in core:
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/blob/master/src/core/tgSubject.h
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/blob/master/src/core/tgObserver.h
https://en.wikipedia.org/wiki/Observer_pattern
On Wed, Sep 23, 2015 at 12:14 PM, chiku00<EMAIL_ADDRESS>wrote:

If you say so, because i didn't set that in notifySetup(). I don't even
know where it is.
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142701424
.

It worked.
I looked through the files pertaining to 'AppTetraSpineLearning' but found no mention of notifySetup(); being called.
I remember it vaguely because i just noticed where i actually saw it: in '3-prism'.
It seems a bit strange that you would notify a controller which ought to be non-existent inside '3-prism' (it's not using a controller, it's not moving, atleast) while it is missing from files related to a model that is actually being controlled.

This is handled as a part of BaseSpineModelLearning::setup(world);
Brian
On Wed, Sep 23, 2015 at 9:15 PM, chiku00<EMAIL_ADDRESS>wrote:

It worked.
I looked through the files pertaining to 'AppTetraSpineLearning' but found
no mention of notifySetup(); being called.
I remember it vaguely because i just noticed where i actually saw it: in
'3-prism'.
It seems a bit strange that you would notify a controller which ought to
be non-existent inside '3-prism' (it's not using a controller, it's not
moving, atleast) while it is missing from files related to a model that is
actually being controlled.
—
Reply to this email directly or view it on GitHub
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/74#issuecomment-142806992
.

To folks following this issue: see master as of commit dd5b3b7. There is a new sensing framework that takes care of a lot of what's being discussed here, and has functionality for message passing if other folks want to implement it.


Include File.description in J10P submission metadata

Submission: https://pass.jhu.edu/fcrepo/rest/submissions/66/91/f5/7f/6691f57f-ab68-4daa-8043-b4a2bccadcd3
File: https://pass.jhu.edu/fcrepo/rest/files/40/ec/56/d2/40ec56d2-abc3-4c7d-8b44-1117a7eb1b6f
J10S: https://jscholarship.library.jhu.edu/handle/1774.2/59078

The migration of PASS repositories to eclipse-pass is complete. This issue is no longer relevant and is being closed as part of archiving https://github.com/eclipse-pass/main/issues/585.