fix(connector): Use ConnectorError::InvalidConnectorConfig for an invalid CoinbaseConnectorMeta

Type of Change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

I've removed to_connector_meta_from_secret_with_required_field, which uses MissingRequiredField as an error (I also didn't like the unnecessary initialization of the MissingRequiredField before we knew if it would be needed). Instead, I added a TryFrom implementation for CoinbaseConnectorMeta, which uses the requested ConnectorError::InvalidConnectorConfig. Additionally, I included CoinbaseConnectorMeta::try_from in the validate_auth_and_metadata_type as suggested.
During investigation, I also found several unnecessary uses of clone.
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

This PR addresses the bug from the issue: https://github.com/juspay/hyperswitch/issues/2899.
How did you test it?

cargo test --release  --package router --lib connector::coinbase::transformers::tests::coinbase_payments_request_try_from_works -- --exact

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[x] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Please attach screenshots of testing if possible. refer #2746 to know how to test this issue.

Ok, I will try the next week

Please attach screenshots of testing if possible. refer #2746 to know how to test this issue.

Ok, I will try the next week

@srujanchikke testing done with local docker compose --file docker-compose-development.yml up -d.
I like the prepared postman stuff :), please, see the description with attached screenshots.

@srujanchikke I think ,I've addressed all your review comments, added migration script (with simple test for sql) and added screenshots from postman testing, anything else?


[XC7] Zybo arch is not working

Error from VPR:
vtr-verilog-to-routing/vpr/src/route/rr_graph2.cpp:855 is_cblock: Assertion 'ofs < length' failed.

This was reported in https://github.com/SymbiFlow/symbiflow-arch-defs/issues/448 which was closed?

The title of the issue was wrong, which was that "make all" was failing.  The correct solution there was to remove zybo from all.  Zybo is still broken.

Confirmed to still be happening in trunk as of https://github.com/SymbiFlow/symbiflow-arch-defs/commit/619364d5ddfc608a9e38f9290e4cad045db92596

Still not working as if fc102eb, but getting "NoneType object is not scriptable"


added pipertts.ziggyai.online as v2 server

replaced by #10 , you beat me opening the PR by 1 minute!


Lightbuld actions in RMD have no effect

library(ggplot)
plot(cars)

try install or load package - nothing happens. Works in R file.

Does not repro, red herring


Preserve original name in shader params cache

Fixes #50936, which was a regression from #50511.

Thanks! :)


Award and the awarder's name are crossed over in exported resume - 2 pages Pikachu format

Choose Pikachu Format with below layout

BLOCK 1 - Skills, Languages, Certifications, Awards, Hobbies, Education
BLOCK 2 - Work Experience, References, Projects

Fill in enough details such that the award section starts from very bottom,
Try to extract the resume in 2 page layout - you get a cross overs between the award name and the awarder's name.

Closing this in favor of Reactive Resume v3 release.
If you continue to face this issue, please raise a new one and I'll have a look at it as soon as I can.
In the meantime, if you are able to, please consider donating to keep supporting the project: https://www.buymeacoffee.com/AmruthPillai :)
Thank you!


content type for errors should be application/vnd.error+json

Now it is defined as application/vnd+error.

Fixed in commit 31ea97e463c427eacc931caa7bae4d1520a775da and released in version 0.4.1.


Edge filtering

Codecov Report
Base: 24.85% // Head: 24.85% // No change to project coverage :thumbsup:

Coverage data is based on head (69820d1) compared to base (3232630).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #18   +/-   ##
=======================================
  Coverage   24.85%   24.85%
=======================================
  Files           6        6
  Lines         515      515
=======================================
  Hits          128      128
  Misses        387      387

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


comments in gaf-eco-mapping-derived.txt

The comments added to the above file is causing our loads to fail. Is there any way to remove them until we can update our code to accommodate for them?

Sure, these were added for #249 but I will remove them for the moment. I'm going to keep this issue open until we can add them back in.
Thanks for your patience!

The new "comments" looks like this:
a child of ECO:0000353 'physical interaction evidence used in manual assertion', which is
$ equivalent to IPI

with both "#" and "$" appearing in the first column.
Is this the format?
Do we have to check for both?
Thanks.

sorry...my paste doesn't look correct:
xxxxx
$ equivalent to IPI
xxxxx

ok...the file is using both "#" and "$" to signify "comments".
need to know if this is correct format.
so we can ignore on our end.
thanks.

It should just be #, my apologies.

can we have a TEST file so we can test our fix?

ok, we saved the last file and were able to test with our change to ignore comments.  you can put your comments back in.  we are checking "#" and "$",  just in case.
thanks.

Thanks so much! I will update this now.

OK, comments are back in, only using #. Please let me know if you have any other problems. Thanks again for your patience.

I think this can be closed?


Docs for SSO Session IP Address Pinning

This PR adds docs for SSO Session IP Address Pinning feature.
/docs/integrations/sso#sso-session-ip-address-pinning:

The GraphQL API link goes to following GraphQL cookbook /docs/apis/graphql/graphql-cookbook#update-the-sso-provider-session-ip-address-pinning:

FDN-2327

@mbelton-buildkite Thanks for the review ✨  I applied your suggestions with some minor tweaks and elaborate on why people would want to use this feature (based on an internal document here). We use re-authenticate in UI, so I stick with that verb.
Please let me know what you think? Thanks!


Update widgets_binding_observer.dart

fix widgets_binding_observer.dart:183:17: Error: A non-null value must be returned since the return type 'String' doesn't allow null. because switch returns String? not String because there is no default case
:scroll: Description

:bulb: Motivation and Context

:green_heart: How did you test it?
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
[ ] I updated the docs if needed
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Apparently, there were more states added: https://master-api.flutter.dev/flutter/dart-ui/AppLifecycleState.html

Makes sense @abdelrahmanelmarakby
Would you mind adding a changelog entry?

@marandaneto will add the entry , any thing else to take in consideration?

@abdelrahmanelmarakby thanks for the PR.
I will close this one in favor of https://github.com/getsentry/sentry-dart/pull/1506 because there are more places doing this and can break in the future, so I decided to fix the other cases as well in a single PR.
Will add the credits to the PR tho :)


Tutorial about C++ and some good practice on it

https://www.learncpp.com/

https://www.udemy.com/course/free-learn-c-tutorial-beginners/


basic mnist example

It segaults on my machine after some time so closing it for now

you can do it!


Theme Deploy (without -n) Fails to Sync Files Randomly

What happened
While using 'theme deploy' found that assets that exist on my file system were not properly deployed to Shopify.
i.e. LIQUID ERROR (LINE 103): COULD NOT FIND ASSET SNIPPETS/HEADER-ICONS.LIQUID
I can confirm that header-icons.liquid exists on the file system.
Also prior to the deployment the file existed in Shopify
Also, it may be worth noting that the files that fail to upload vary from one run to the next.
Also 'theme deploy' has 495 actions and 'theme deploy -n' has 248 actions.
What I expected to happen
All files on Shopify to be deleted and replaced with all of the files on my file system.
Steps to reproduce

run 'theme deploy' without -n on windows 10
find files that were deleted from shopify but not replaced

My Environment
OS (including version): Windows 10
Themekit version: 0.8.0
Ignore Files(if any): none

I understand that version checking has been removed, but the fact that previous versions defaulted to only delta deployments, the new default behavior can result in unintended deployments. This paired with the issue I ran into could lead to catastrophic results if run against a production theme.

Also 'theme deploy' has 495 actions and 'theme deploy -n' has 248 actions.
Since this is exactly double the amount of actions this seems like there might be an issue with windows paths on deploy.

Windows paths might be trying to remove snippets/header-icons.liquid while trying to upload snippets\header-icons.liquid I will have to check this, sorry for the inconvienience.

I have a PR to fix this and you can try out the fix by updating using:
theme update --version=v0.8.1-prerelease

You should see the deploy actions be more uniform now.

Tim, thanks for the quick turn around on this. I figured it would be an issue with my OS's training wheels.
I've confirmed the change resolved the issue I was seeing. Closing the issue.

@mwtidd Thanks for helping me debug this! The official release of v0.8.1 won't be for a while but that pre-release will be available for a while if you need to reinstall it or install it on another machine. Thanks again.


support JSON mode

https://platform.openai.com/docs/guides/text-generation/json-mode

Merged and will release as 0.19.2


Fix: Database connection test fails when password contains' $'

What changes were proposed in this pull request?
Fixed database password contains' $' and other special characters can not be parsed, click Ambari database connection test failure problem.
How was this patch tested?
Step 1: Click on the Hive server
Step 2: Navigate to the Configuration/DATABASE tab
Step 3: Click TEST CONNECTION

@newyyshan thanks for your contribution, the ci failed due to no jira id found, that means you need create a releated issue first ,and change your pr title with Issue id AMBARI-xxx


Docker-stack container image:tag not updating when it is changed

Bug description

Created a stack from a docker-compose hosted in github.
I changed created a branch, in github
I changed the  label in the docker-compose file

  vue-services:
    image: nsfearthcube/ec_facets_api_nodejs:latest

to
  vue-services:
    image: nsfearthcube/ec_facets_api_nodejs:prod_coll_collab

When I redeploy the stack, the services details: image keeps on reverting to image: nsfearthcube/ec_facets_api_nodejs:latest
Expected behavior
The services>container image should reflect the image:label from the docker-compose file.
Portainer Logs
Provide the logs of your Portainer container or Service.
You can see how here
protainerlogs.txt
Steps to reproduce the issue:

Go to 'stacks'
Click on 'create stack from git
Scroll down to 'deploy.'
open project in github update the docker-compose in git to point at a new image:tag
go portainer, open stacks
pull and redeploy.
go to services, see that contianer, that image points at original image:tag
in service, change container image to image:tag, service restarts
go to stacks > pull and redeploy stack
go to services, see that contianer, that image points at original image:tag

Technical details:

Portainer version: 2.16/2.15
Docker version (managed by Portainer):Swarm 20.10.21
Kubernetes version (managed by Portainer):
Platform (windows/linux):ubuntu 20
Command used to start Portainer (docker compose -p base --env-file $envfile  -f base-machine-compose.yaml  up  -d):
Browser:
Use Case (delete as appropriate):  Using Portainer in an academic setup.
Have you reviewed our technical documentation and knowledge base? Yes

Additional context
stacks are here.

@valentinedwv
Is this issue related?  https://github.com/portainer/portainer/issues/7434
Thanks!

Think #7960 sounds closer.
Maybe that services>container image "field'  is not being updated.

@valentinedwv
I wanted to follow up on this request.  When you deploy in Portainer, you point to the repository and branch.  Portainer can only see that branch.  Can you confirm you made changes in that branch?
Thanks!


Write cargo date file for use by v2 manifests

This change has been working in dev.

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)

lgtm, @brson think we should do this for other components as well? I figure the manifest takes care of it for external tooling though and this is just for our own internal usage, so I'd be fine having this be cargo-specific


What does non-blocking code mean?

Summary
I was reading the lab 9 slides and wasn't really sure what it means for a completable future to be non-blocking code? Was wondering if anyone could kindly explain to me! Also, some questions in general on how promises work?
Description:
I'm kind of lost to as to how promises work in general? So when i create a promise then i can stack the .then callbacks on top of that promise? Will each promise created be a thread created? Was wondering if anyone could clarify too! Thanks!
Code Snippets
Attach code snippets (if any)
Screenshots

I think this video will help: https://www.youtube.com/watch?v=9ueIL0SwEWI
at the 10 minute mark
From what I understand, CompletableFutures are non-blocking by default. So what this means is that when the CompletableFuture goes from pending to completed state in the commonPool but you haven't called the Future yet, the future will automatically go to the mainThread once its done, blocking would mean that the Future is still waiting on the commonPool thread even when its done. Please correct me if Im wrong Im not 100% sure myself lol

Hi, I would say that https://stackoverflow.com/questions/2824225/what-is-non-blocking-concurrency-and-how-is-it-different-than-normal-concurren/8918074 is a very good StackOverflow question to read and look at.
(Note that whatever is after this line is what I understand, please tell me if I'm wrong)
Let me tell you what is blocking first.
Basically blocking is like when you use
// any code here
Scanner sc = new Scanner(System.in);
int dummy = sc.nextInt();
// more code here

^^ So your code will "BLOCK", or stops until it receives the value from the sc.nextInt(). When your code is blocking, other part of the program cannot do anything.
Non blocking on the other hand is 180 degrees from what blocking is. Let's say if we put non-blocking concept to I/O like above, it means that the program will keep running other part of the code, and when the user finally gives the value for sc.nextInt(), then dummy will be updated and other variables can use them. See that in this case, your program will not stop working.
Hope the analogy works :)


Add a link to terms of services to 360 site

the 360 site needs a link to the TOS.
We could add it next to the Vizor logo on the bottom?

I would put it behind the ? icon at top right. Then have a simple modal overlay that has a little bit about the site, plus the TOS.

Simpler solution, add the icon above with rollover "Terms", link directly to the crappy google doc
Icon is in the same Sketch file "Extra_TOS_icon" in Dropbox.

Mmm, that will just be confusing. Let's just go with 12pt text link, like so


Add testcase for elixir-lang/ecto#1373

This adds a very basic testcase that hopefully models my problem from #1373

Perfect, thank you! :)

Btw @timbuchwaldt, if you can provide an integration test on the integration_test/cases/assoc.exs, it will be even better. :)

Ah damn... the hand was quicker than the brain. Will do tomorrow :)

@timbuchwaldt no worries, this is enough for me to get started. :)

Ok, great :) I was wondering for about an hour if I'm holding sth wrong, but it seems like I'm not... puh!


As a PO I want completely automated release notes

It can be broken down into several smaller achievements.

As part of the release process the release note is pushed as well, in this case as markdown to github.
The release note contain both changelog based on commit history with information fra mentioned issues, AND human written content.
Human written content is two part: an introductory snippets nicely presenting how cool this release are AND accompanying small 1-2 liners for selected relevant issues
The introductory snippet is written and committed based on next planned release and should be committed together with the version increment for the next release. It is a markdown document.
The snippets for selected relevant issues are committed together with the change itself.

The process:

Bump version and present next release.
1.1. Bump version number in version number file to match next planned release.
1.2. Add with the version increment commit also the markdown file presenting the next release.
Work fixing issues... Remember if relevant, you need to contribute issue specific release note content.
Clicking release, the release note automation pick up the presentation and snippets and publish the changelog.

Goals: always ready to release and have an release note ready.

This is related to #102


Fix for incorrect class for styling navtext

For the styled nav example, the classes for modifying the navtext were incorrect.  They had no effect in modifying the color of the font-weight.  They will now correctly change the color and make the font bold in the example.

Coverage remained the same at 91.837% when pulling 4f463fb0467dd0eb176d4194b7796bba25e36f47 on fgs-dbudwin:StyledNavCssBug into 7495c5cf782f25a9045f70e519f8ec6cc82b6206 on trendmicro-frontend:master.


/index results in a file download with Nginx

Pico 1.0 and nginx 1.10.0 (mainline, but it currently matches stable)
I got Pico with rewriting working otherwise it seems, but the /index links that Pico creates for the front page are not passed to php-fpm and get downloaded instead. /, /sub, /sub/page etc. all work
Below is my current config, a bit cluttered but I wanted to be thorough. The other server blocks shouldn't matter though.
server {
    listen 80;
    listen [::]:80;

    listen 443 ssl;
    listen [::]:443 ssl;

    ssl_certificate fullchain;
    ssl_certificate_key privkey;

    server_name domain.com;

    include common.conf;
    return 301 https://www.domain.com$request_uri;
}

server {
    listen 80;
    listen [::]:80;

    server_name www.domain.com;
    return 301 https://www.domain.com$request_uri;
}

server {
    listen       443 ssl;
    listen       [::]:443 ssl;

    ssl_certificate fullchain;
    ssl_certificate_key privkey;

    server_name  www.domain.com;

    root   /usr/share/nginx/html;

    location ~ \.php$ {
        fastcgi_pass   unix:/run/php-fpm/php-fpm.sock;
        fastcgi_index  index.php;
        include        fastcgi.conf;
        fastcgi_param PICO_URL_REWRITING 1;
    }

    location / {
        try_files $uri $uri/ /index.php?$uri&$args;
    }
}

I'm currently trying to reproduce your issue, but I'm not seeing this behavior.  We did see it a lot when we were debugging our Nginx documentation, and it was usually related to a Regex rule being above PHP, causing the page to never actually get sent to php-fpm.  This doesn't seem to be the issue in your case obviously, but I thought it was worth mentioning.  A file being served as a download usually means that, for whatever reason, it wasn't sent to php-fpm.
One thing I'm seeing is that you don't have an index statement (eg index index.php;).  This bit me at first when I was testing your config, but it has the opposite effect, causing / to fail, but not /index.  Maybe you have an index line defined elsewhere, but if not, try adding it under your root line.
@PhrozenByte, do you see any glaring issues that could be causing this behavior?

@smcdougall: @Lartza initially pictured this issue on IRC and I wasn't able to solve it, so I suggested him to open this issue. I thought it would be best to let our nginx experts help him :smiley:

I'm far from an expert. :confounded:
I tested the two location blocks and they seem to work fine.  When I tested it, I had to change the location of php-fpm.sock and fastcgi.conf; to match my own server, but other than the lack of index index.php I mentioned, everything worked as expected.
I've got one more idea to check though...

Okay, so I guess my question would be what file is downloaded?  Is it Pico's index.php or Nginx's index.html.  You'll have to actually check the contents of the downloaded file because it'll get its name from the URL.
The only thing I can think is that try_files is serving a static index file instead of moving on to the index.php rewrite.

Oh wait.... I think I derp-ed a bit here...  I've had the wrong root folder on my testing domain this whole time due to some other stuff I was testing.
Okay, without any more info, I'd definitely say that it sounds like you've got a static file called index in your document root that's being served as a download.  The try_files statement is finding that file and serving it first.  Normally, it would not find a static file, then move on to using Pico.
Sorry, I've got to go for now, but I'll check back later.  Let me know if this helps, and if not I'll try to work on it some more.

index index.html index.htm index.php is defined in nginx.conf, I didn't see a difference defining index index.php; in the Pico config.
The file was surely pico, pico->run() or something like that and everything.
But the "problem" now is that the site works :P I rebooted my PC but otherwise nothing hasn't really changed. I think this was a cache (browser or CloudFlare) issue, even though that sounds a bit weird to me. But I can't think of anything else?

Okay.  I figured you had index defined elsewhere.  No, you don't need to define it again as long as you have it somewhere.  I can't think of any other reasons why you'd have had this behavior.  As I outlined, there's a lot of things that could cause it, but you've already got most of your bases covered.
I'm sure @PhrozenByte has told you, but our Nginx Configuration page is quite new and was written by a user who's far from an Nginx expert (Me :laughing:).  It's got a decent amount of information though.  There's also the discussion we had about it at #343.
If it was a cache issue, it could have been an issue with Nginx's cache, not your browser or CloudFlare.  Nginx could have been caching its original index file at /usr/share/nginx/html/index.html due to some unusual cache settings... or something.  I don't know much about caching though, so it's just more speculation.  The odd behavior definitely seems like it was rooted in Nginx though.
Glad you've got it working now.  We'll be around to try to help more if the issue comes up again. :smiley:


Feat: add squash to dev styleguide

We are starting to see a more streamlined Git history in our master branches, by the adoption of Squash and Merge feature in our PRs.
This aims to add this practice to the development styleguide.
For reference: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#squash-and-merge-your-pull-request-commits
An important note: as we have two branches which are always there (production and master), it's not ideal to squash a PR from master to production. If we do, we invariably introduce divergences between those branches. A reference from the comunity: https://github.com/github-community/community/discussions/10809
Link for review

add squash tip into a separate section


Respect Vite's "server.origin" option.

Hello,
I noticed that while running Vite's dev server, URLs for images generated by vite-imagetools are relative (i.e. /@imagetools/c224b1fb8dcc644a0adf403cda4d43b3390bbf1f). For the most part, this is fine, but as soon as you're integrating with the backend, these relative paths break images.
Vite has server.origin option specifically for these cases: https://vitejs.dev/config/server-options.html#server-origin
It's also explained in the "Backend Integration" section in their docs: https://vitejs.dev/guide/backend-integration.html:
In order to properly serve assets, you have two options:

1. Make sure the server is configured to proxy static assets requests to the Vite server
2. Set `server.origin` so that generated asset URLs will be resolved using the back-end server URL instead of a relative path
This is needed for assets such as images to load properly.

Right now the only way to work with  vite-imagetools while the app is integrated with any backend is to rewrite URLs server-side (Apache, NGINX).
It would be nice if  vite-imagetools would respect server.origin option and we could stop hardcoding those rewrite rules.

Created a PR for this:
https://github.com/JonasKruckenberg/imagetools/pull/690


<EMAIL_ADDRESS>hash check failed

scoop install extras/adwcleaner
Installing 'adwcleaner' (8.4.0) [64bit] from extras bucket
Downloading https://download.toolslib.net/download/direct/1/latest?channel=release#/adwcleaner.exe (-1 B)...
Checking hash of adwcleaner.exe ... ERROR Hash check failed!
App:         extras/adwcleaner
URL:         https://download.toolslib.net/download/direct/1/latest?channel=release#/adwcleaner.exe
First bytes: 3C 21 44 4F 43 54 59 50
Expected:    9648c13887e0bbdc1c54fcf21ceabe27512c5cae3c7ced8c74c3e986a8a4e762
Actual:      22a67d38ba55172d82728c957d5fb0116bf11368c37277317851f899530a90bd

note -1 B size.
Seems that the URL above seems to have a redirect?
Malware bytes link is: https://adwcleaner.malwarebytes.com/adwcleaner?channel=release

https://github.com/ScoopInstaller/Extras/commit/7b706ffbe5f634a940ff2de9b858768b8688b211


JSDoc files does not gets generated

I am using Node.js v4.2.5 and npm v2.14.12, jsdoc v3.4.0 and angular-jsdoc v1.4.2
Below is my package.json file
{
  "name": "abc",
  "version": "0.0.1",
  "scripts": {
    "jsdoc": "./node_modules/.bin/jsdoc --configure ./node_modules/angular-jsdoc/common/conf.json --template ./node_modules/angular-jsdoc/angular-template --destination docs --recurse ./src"
  },
  "dependencies": {
    "angular": "~1.5.7"
  },
  "devDependencies": {
    "angular-jsdoc": "~1.4.2",
    "jsdoc": "~3.4.0"
  }
}

When I try to execute npm run jsdoc below things happen:

Console returns no error or warning
Default directories like css, js, source, templates, tutorials are created with empty.

I have specified jsdoc comments E.g.
/**
 * @summary List of stylesheets which need to be injected first
 */

but nothing happens

+1

This really sounds like a bug -- we should tolerate an empty README.

Agreed.


DELETE returns HTTP/1.1 500 Internal Server Error

I'm getting HTTP/1.1 500 Internal Server Error while trying to delete a resource

Thank you @scorphus, we are aware of that and working on a fix.

I'm reading the Firebase JS reference to see if I can help and come up with a PR. Should I abort?

Go for it
On Thu, Apr 5, 2018, 22:43 Pablo Aguiar<EMAIL_ADDRESS>wrote:

I'm reading the Firebase JS reference to see if I can help and come up
with a PR. Should I abort?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bluzi/jsonstore/issues/8#issuecomment-379054251, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANK08xgFwiVIRAFcZttkfAF-FmDVNPy7ks5tlnP6gaJpZM4TJBuv
.

Cool!


MN-695: changed sum for transfer deposit to deposit

what I did:

changed sum for transfer deposit to deposit

Codecov Report

Merging #69 into release/1.10 will decrease coverage by 0.70%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release/1.10      #69      +/-   ##
================================================
- Coverage         14.95%   14.24%   -0.71%
================================================
  Files                 7        7
  Lines              1070     1123      +53
================================================
  Hits                160      160
- Misses              897      950      +53
  Partials             13       13

Impacted Files
Coverage Δ

...et/application/builtin/contract/deposit/deposit.go
2.48% <0.00%> (-0.03%)
:arrow_down:

...cation/builtin/contract/deposit/deposit.wrapper.go
0.00% <0.00%> (ø)

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 0d21942...7f1c85c. Read the comment docs.


Relations DB Tabels

Relations of the DB tables in SQLSoup (SQLAlchemy)

With SQLSoup
Need SQL Dumps for initial application


How do add button click for each card view ?

Hi, i use this ... Great !
but how to add onclick listener for each card view !?
i need go to another activity when click on each card view button !
thanks

the same question..please help

Set an OnClickListener on:
@Override
public Object instantiateItem(ViewGroup container, int position)

And then store the current object as a tag inside that view.
In the OnClick(View view), retrieve the object from that tag.

That reply doesn't seem wildly helpful if i'm honest.
Where are we creating "public Object instantiateItem for example?

Check the sample's code. The instantiateItem is called by the PagerAdapter. I'll update the sample to reflect this use case when I have time.

Any chance you could elaborate more on that? I've tried doing what you say but I'm afraid that it seems to be beyond my skills. What would this code manifest as?
I really appreciate that help

Hi there
here you go:
` @Override
public Object instantiateItem(ViewGroup container, final int position)  {
    View view = LayoutInflater.from(container.getContext())
            .inflate(R.layout.adapter, container, false);
    container.addView(view);
    bind(mData.get(position), view);
    CardView cardView = (CardView) view.findViewById(R.id.cardView);
    cardView.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            switch (position){
                case 0 :
                    dosomething();
                    break;
                case 1 :
                    dosomethingelse();
                    break;
            }

        }
    });
    if (mBaseElevation == 0) {
        mBaseElevation = cardView.getCardElevation();
    }

    cardView.setMaxCardElevation(mBaseElevation * MAX_ELEVATION_FACTOR);
    mViews.set(position, cardView);
    return view;
}

`
thanks   ruben for his great work. appreciate it

thank's dear yousof ...
On Wed, May 9, 2018 at 9:28 PM, yousofkakhki<EMAIL_ADDRESS>wrote:

Hi there
here you go:
` @override https://github.com/override
public Object instantiateItem(ViewGroup container, final int position) {
View view = LayoutInflater.from(container.getContext())
        .inflate(R.layout.adapter, container, false);
container.addView(view);
bind(mData.get(position), view);
CardView cardView = (CardView) view.findViewById(R.id.cardView);
cardView.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        switch (position){
            case 0 :
                dosomething();
                break;
            case 1 :
                dosomethingelse();
                break;
        }

    }
});
if (mBaseElevation == 0) {
    mBaseElevation = cardView.getCardElevation();
}

cardView.setMaxCardElevation(mBaseElevation * MAX_ELEVATION_FACTOR);
mViews.set(position, cardView);
return view;

}
`
thanks ruben for his great work. appreciate it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rubensousa/ViewPagerCards/issues/20#issuecomment-387805817,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgL4-X3JUpopEPeaNlEizbxSFvK6KYZzks5twyAugaJpZM4Qh1GB
.


[Issue #259] Add processOneInputTuple to AbstractSingleSourceOperator

Copied from Issue #259
This issue is related to Efficient Text Widget Recommendations to Users, which is, for the given document with highlighted substring, we would like to recommend which plans we have match that, so that user can reuse pre-defined plans.
This can be done by executing plans we have on that given single document(or on just substring), and since some of extended class of AbstractSingleSourceOperator already have such method, I think it's good idea to make it abstract method. We need to come up with a converter which evaluates JSON query to actual query plan object, and a slightly different conversion can be applied to a plan so that it can efficiently run on a single document.

LGTM.  After @zuozhiw reviews and approves it, please do the merge.

Looks nice and clean. Please do the merge @sweetest .

thanks for the comments, merging it.


Cannot build tensorflow from docker image tensorflow/tensorflow:devel-gpu

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
Base image: tensorflow/tensorflow:devel-gpu
Image hash: a29a94004f4f9fbf2a3810d4e9fcd2cd4caa5f18c179a7dea7b1b0db6e3fdbde

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): source
TensorFlow version: master
Python version: v3.6
Bazel version (if compiling from source): 2.0.0
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 10.0
GPU model and memory: Tesla V100

Describe the problem
Docker image tensorflow/tensorflow:devel-gpu is expected to provide a reliable environment to build tensorflow from source code with bazel.
However, the bazel build fails in the container from either docker build or docker run.
Provide the exact sequence of commands / steps that you executed before running into the problem
(1) Make sure the host has nvidia drivers support.
$ nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104      Driver Version: 410.104      CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:01_CDT_2018
Cuda compilation tools, release 10.0, V10.0.130

(2) Download the latest devel-gpu image:
$ docker image pull tensorflow/tensorflow:devel-gpu
devel-gpu: Pulling from tensorflow/tensorflow
Digest: sha256:a29a94004f4f9fbf2a3810d4e9fcd2cd4caa5f18c179a7dea7b1b0db6e3fdbde
Status: Image is up to date for tensorflow/tensorflow:devel-gpu
docker.io/tensorflow/tensorflow:devel-gpu

(3) Build a new docker image which builds tensorflow
$ cat Dockerfile
FROM tensorflow/tensorflow:devel-gpu
WORKDIR /tensorflow_src
RUN bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package

$ docker build .

(4) Notice the link error from bazel
ImportError: /root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/compiler/tf2tensorrt/_pywrap_py_utils.so: undefined symbol: _ZN10tensorflow8internal10LogMessageC1EPKcii
Target //tensorflow/tools/pip_package:build_pip_package failed to build

Full error log could be found at the end.
(5) Alternative: build from docker container
Instead of running docker build, this error can be reproducible from docker run and bazel build from the container as well.
$ docker run -it tensorflow/tensorflow:devel-gpu bash
#  bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package

(6) Alternative: other devel-gpu images
This error is reproducible to other images from the past week.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
RROR: /tensorflow_src/tensorflow/python/keras/api/BUILD:103:1: Executing genrule //tensorflow/python/keras/api:keras_python_api_gen failed (Exit 1)
Traceback (most recent call last):
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 776, in <module>
    main()
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 772, in main
    lazy_loading, args.use_relative_imports)
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 629, in create_api_files
    compat_api_versions, lazy_loading, use_relative_imports)
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/tools/api/generator/create_python_api.py", line 503, in get_api_init_text
    _, attr = tf_decorator.unwrap(attr)
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/util/tf_decorator.py", line 219, in unwrap
    elif _has_tf_decorator_attr(cur):
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/util/tf_decorator.py", line 124, in _has_tf_decorator_attr
    hasattr(obj, '_tf_decorator') and
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/util/lazy_loader.py", line 62, in __getattr__
    module = self._load()
  File "/root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/python/util/lazy_loader.py", line 45, in _load
    module = importlib.import_module(self.__name__)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: /root/.cache/bazel/_bazel_root/43801f1e35f242fb634ebbc6079cf6c5/execroot/org_tensorflow/bazel-out/host/bin/tensorflow/python/keras/api/create_tensorflow.python_api_keras_python_api_gen.runfiles/org_tensorflow/tensorflow/compiler/tf2tensorrt/_pywrap_py_utils.so: undefined symbol: _ZN10tensorflow8internal10LogMessageC1EPKcii
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /tensorflow_src/tensorflow/tools/pip_package/BUILD:62:1 Executing genrule //tensorflow/python/keras/api:keras_python_api_gen failed (Exit 1)
INFO: Elapsed time: 1622.950s, Critical Path: 719.42s
INFO: 19283 processes: 19283 local.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

it seems some dependency is missed.
diff --git a/tensorflow/compiler/tf2tensorrt/BUILD b/tensorflow/compiler/tf2tensorrt/BUILD
index 9da873a..371a580 100644
--- a/tensorflow/compiler/tf2tensorrt/BUILD
+++ b/tensorflow/compiler/tf2tensorrt/BUILD
@@ -560,6 +560,9 @@ pybind_extension(
     module_name = "_pywrap_py_utils",
     deps = [
         ":py_utils",
+        "//tensorflow/core/platform:env",
+        "//tensorflow/core/platform:logging",
+        "//tensorflow/core/platform:status",
         "@pybind11",
     ],
 )

Is building from -devel docker image supported workflow? It seems important enough for developer productivity to deserve an integration test.

@freedomtan
As there is a pr to monitor this issue, please confirm if  we may move this issue to closed status.

@Saduf2019 you should @lezh who opened this issue, not me :)


Add test and expect resources for fast and concise testing 🔧

The following program should fail when run in CLI, however it succeeds.
Moreover, the log() function doesn't seem to be called. I assume the whole function to test is not run at all.
This is a fast and concise way to define tests, it would be great if this worked soon.
🦄 .editor
// Entering editor mode (^D to finish, ^C to cancel)
  test('hello', fun () {
    log('Hello!')

    expect(2 + 2):toBe(4)
    expect(2 + 2):toBe(20)
  })

int ask(call(get('test'),'hello',fun(call(get('log'),'Hello!'),call(get('toBe'),call(get('expect'),call(get('+'),2,2)),4),call(get('toBe'),call(get('expect'),call(get('+'),2,2)),20))))
5
🦄

There is a related issue: #66

Oh, man, you've just said that AskScript:

is a fast and concise way to define tests
it would be great if this worked soon

when compare to the current language that we use - TypeScript ❤

@czerwinskilukasz1 what do you think about this sugar:
  test('hello') {
    log('Hello!')
    expect(2 + 2):toBe(4)
  })

I'm gonna get it ready for the release on Monday

@czerwinskilukasz1 the fact that this program works in CLI comes from the fact that there is value test in the environment that returns 5, not because tests are not implemented correctly. There are no resources for test so when you evaluate test(arg) you just receive the value test. Please consider updating the description

@mhagmajer What is your idea for this one?
My proposal is to create a test resource that would execute its body until the first expect:toBe fails (returns false).
expect could be an identity function and toBe(ex,act) would fail if ex != act.

@czerwinskilukasz1 we could implement test and expect ourselves or we could just link them from Jest. I suppose that the latter is easier for now

@mhagmajer Sounds great, I didn't think of this kind of solution.
Let me figure this out.


Add account information to serveral services

Services include

email
victorops
opsgenie
pagerduty
webhook

In addition to other services that use rendered markdown format.
ticket: https://app.asana.com/0/18095599909888/24339696382393
cc @akahn @obfuscurity
Some screenshots:

:+1:


Empty subdomain errors in parallel tests with muFFT==0.12.0

in test/test_make_sphere.py:

  engine = factory(nb_grid_pts, communicator, **kwargs)

E       RuntimeError: Invalid nb_subdomain_grid_pts (=(8, 0)) passed during initialisation.
E       Traceback from C++ library (most recent call last):
See e.g.:
https://travis-ci.org/github/ComputationalMechanics/SurfaceTopography/jobs/745051709
By looking at the subdomain slices in the older version, I noted there was already a processor holding empty subdomain.
@pastewka  I guess you introduced a warning for the empty subdomains and that is good.
I will increase the number of points in the test. That should solve the problem.

This is a bug. muFFT should gracefully allow for empty CPUs, because this is something that happens in reality with FFTW. I will check what is going on on the muFFT side.
This does not seems to be a problem with FFTW, but with the underlying field collections.

Do you what grid and how many CPUs caused this problem? I would like to add a test on the muFFT side for this.

4 CPUs nx 8 ny 5 for exampleSent from Android deviceOn 23 Nov 2020 17:03, Lars Pastewka<EMAIL_ADDRESS>wrote:
Do you what grid and how many CPUs caused this problem? I would like to add a test on the muFFT side for this.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Okay, thanks.


Error while retrieving https://gbatemp.net/forums/280/index.rss: HTTP response code said error 403

Newsboat version (copy the output of newsboat -v or the first line of git show):
Newsboat 2.24.0
System: Linux 5.10.61-1-MANJARO (x86_64)
Compiler: g++ 11.1.0
ncurses: ncurses 6.2.20200212 (compiled with 6.2)
libcurl: libcurl/7.78.0 OpenSSL/1.1.1l zlib/1.2.11 zstd/1.5.0 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.44.0 (compiled with 7.78.0)
SQLite: 3.36.0 (compiled with 3.36.0)
libxml2: compiled with 2.9.10
Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
general settings
auto-reload yes
max-items 500
externel browser
browser "/usr/bin/w3m %u"
macro m set browser "/usr/bin/mpv %u"; open-in-browser ; set browser "/usr/bin/w3m %u"
macro l set browser "/usr/bin/brave %u"; open-in-browser ; set browser "/usr/bin/w3m %u"
unbind keys
unbind-key ENTER
unbind-key j
unbind-key k
unbind-key J
unbind-key K
unbind-key n
unbind-key p
unbind-key l
bind keys - vim style
bind-key j down
bind-key k up
bind-key l open
bind-key h quit
bind-key n next
bind-key u prev
bind-key N next-unread
bind-key U prev-unread
solarized
color background         default   default
color listnormal         default   default
color listnormal_unread  default   default
color listfocus          black     cyan
color listfocus_unread   black     cyan
color info               default   black
color article            default   default
highlights
highlight article "^(Title):.*$" blue default
highlight article "https?://[^ ]+" red default
highlight article "\[image\ [0-9]+\]" green default
Steps to reproduce the issue:

Add https://gbatemp.net/forums/computer-hardware-devices-and-accessories.270/index.rss or other github RSS to urls

Load newsboat

it prints "Error while retrieving https://gbatemp.net/forums/280/index.rss: HTTP response code said error 403"

Other info you think is relevant:
It is not an issue with the site, as it works with other RSS apps. It has worked in the past.

Hi! I just tried both links with Newsboat compiled from b76911029d5df7b6e8443cebaa5221181b2fb38b, and they both work for me.
HTTP code 403 means "not authorized". I have no idea why the server might respond with this — perhaps you're fetching the feed too often?
If the error persists, I suggest you contact the forum's admins and ask them why the server could return this error. I don't see anything we could do on Newsboat's side to fix this, so I'm closing the issue.

Maybe changing the user-agent helps.

@der-lyse I don't have it in my config, so I don't expect it to help, but it's worth trying anyway I guess :)


Cleanup generic conf power capping

https://github.com/openbmc/openbmc-test-automation/blob/master/tests/test_generic_conf.robot
This one is wrong and needs to be corrected or remove since u have code for it under systest/test_power_capping.robot

https://gerrit.openbmc-project.xyz/#/c/7635/


[checkpoint] Change logic around is_checkpoint_sharded

Patch Description
Recent changes to dataloaders have resulted in us creating checkpoint files that are more unequal in size, as shard0 contains the data state. This breaks this older heuristic we used to determine if a checkpoint was Zero2 or Zero3.
This patch changes the heuristic to just read from the config of the file itself.
This patch also gives a better error message for a common mistake.
Testing steps
Internal evaluations.

cc @tangbinh


Two adjacent links fail to render

The following should be rendered as two adjacent links, but instead there's an error:
[Rust](https://jetbrains.team/team?team=Rust-MNVpW0Zos2C)[💬](https://jetbrains.team/m/Arseniy.Pendryak)

markdown-it parser has no problem with this.

This is caused by the GFMFlavourDescriptor.
As another example, the following markdown:
[1](http://a/b)

incorrectly renders as
[1](http://a/b)</i>

rather than
1

This is due to the GFMFlavourDescriptor incorrectly parsing the content of the link destination as a GFM_AUTOLINK:
Markdown:PARAGRAPH
  Markdown:HTML_TAG ''
  Markdown:SHORT_REFERENCE_LINK
    Markdown:LINK_LABEL
      Markdown:[ '['
      Markdown:TEXT '1'
      Markdown:] ']'
  Markdown:( '('
  Markdown:GFM_AUTOLINK 'http://a/b)'

I've pushed yet another heuristic, which should fix abovementioned cases. The proper parsing of autolinks along with other inline structures is still not done, not sure it will arrive anytime soon. (though @FirstTimeInForever might help with that at some point of time)


Need to support BCF output format

Frank sketched out a possible implementation in PR 151:
RE: VCF vs. BCF support; I believe that if we want to add BCF support, we could add a setFormat option to the ADAMVCFOutputFormat object, and then do a getFormat call in the superclass constructor.

Fixed by #1060, caveat lack of support for BCF v2.2 in htsjdk:
https://github.com/bigdatagenomics/adam/blob/master/adam-core/src/test/scala/org/bdgenomics/adam/rdd/ADAMContextSuite.scala#L180
https://github.com/bigdatagenomics/adam/blob/master/adam-core/src/test/scala/org/bdgenomics/adam/rdd/ADAMContextSuite.scala#L186


Added colored chip in Unified Inbox widget items

I added the feature mentioned in #3758. The result:

Personally I am not fond of the way I implemented it: I feel I should be using an account UUID instead of getting the index of the account from the URI. However, I haven't figured out yet how to retrieve the correct UUID.
I am also using a TextView instead of a regular View because otherwise the items won't render for some reason.
Closes #3758

Awesome. Thanks!


fix: Increase timeout for bessctl command in gRPC readiness check

Description
This PR aims to fix #34 by correctly passing the timeout parameters from the gRPC readiness check method to the wait_output method.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that validate the behaviour of the software
[x] I validated that new and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have bumped the version of the library

@markbeierl my bad, I completely misunderstood the method, it should be fine now. The change (only requiring the increase of the exec timeout) is necessary to avoid failures in the integration tests, where bessctl takes more than 2s to execute.


Add version command

Hello! A minor annoyance I have with this CLI is it doesn't respect -v, --version or the command version. It does print the version out when you just run e.g. infracost help when using an out of date version, but it's nice to see the correct version number for peace of mind after updating infracost.

@Tjstretchalot thanks for reporting this! We added infracost --version a while ago (can't remember the date but it feels like a few months ago), perhaps you're using an old version when we didn't have that?

I must be insane but I see it now; thank you!


Add tkuanlun350 to Contributors list

Add tkuanlun350 to Contributors list

@tkuanlun350, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Update-LapsADSchema "not recognized"

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: a984ce3b-9369-d01b-17f1-d93b4fe3dcc6
Version Independent ID: a984ce3b-9369-d01b-17f1-d93b4fe3dcc6
Content: Get started with Windows LAPS and Windows Server Active Directory
Content Source: WindowsServerDocs/identity/laps/laps-scenarios-windows-server-active-directory.md
Product: windows-server
Technology: security
GitHub Login: @jay98014
Microsoft Alias: jsimmons

@copenhaus - can you please clarify the issue you are seeing?  I can't figure it out based on the minimal details supplied here.

Update-LapsADSchema command is not recognized.  My DC servers are Win2016 and DFL is 2016, but it doesn't recognize the command.

The LAPS PowerShell module is not available on Windows Server 2016.   It is only available on patched versions of Windows 10 and later, and Windows Server 2019 and later.   You can run the Update-LapsADSchema cmdlet from one of those machines and it will work fine (it updates the schema remotely over LDAP).
Also see:   Windows LAPS supported platforms and Azure AD LAPS preview status
Does that help?

@copenhaus - let me know if you need anything else, otherwise we'll close this issue out.


Is it possible for it to read heartbeat?

Would it be possible for this to read heartbeat like in ring fit adventure?

I'm not sure if the heartbeat is something that's done on the joycon or in software, but id assume if you can get a read out of your pulse and sync it to a video of you gripping the controller (like in ring fit) from the IR camera. You can tune it to recognize for a heart beat.


The timeline library

Tickets addressed: closes #1299

Description
Creates a user-friendly and maintainable library for fetching and manipulating timeline objects, such as profiles, activity instances, and activity directives. This is more or less a giant rework of the backend constraints package, but since it required so much modification to make it user-friendly, I started over (while re-using bits and pieces of the old library for low-level functions, like map2).
I'll make a readme with a more formal description of the design before I do any walkthroughs, but the general idea is that all timeline classes (profiles, spans, activity instances, etc) contain a Timeline object, and then apply mixin interfaces to implement operations. For example, here is the Windows class:
/** A serial coalescing timeline of booleans. */
data class Windows(private val timeline: Timeline<Segment<Boolean>, Windows>):
    Timeline<Segment<Boolean>, Windows> by timeline,
    ConstantOps<Boolean, Windows>,
    SerialBooleanOps<Windows>,
    CoalesceSegmentsNaive<Boolean, Windows>
{
  /** Constructs a windows timeline containing a single value for all time. */
  constructor(v: Boolean): this(BaseTimeline(::Windows) { bounds -> listOf(Segment(bounds, v)) })

  /**
   * Constructs a windows timeline from a list of boolean segments.
   *
   * Assumes the segments are properly sorted and coalesced. NOT CHECKED.
   */
  constructor(segments: List<Segment<Boolean>>): this(BaseTimeline(::Windows, boundList(segments)))

  /**
   * Constructs a windows timeline from a vararg list of boolean segments.
   *
   * Assumes the segments are properly sorted and coalesced. NOT CHECKED.
   */
  constructor(vararg segments: Segment<Boolean>): this(segments.asList())
}

You may notice that this is not Java 🤨. I wrote all this in Kotlin because

it general is cleaner and more concise
it has null safety in the type system
it doesn't actually matter to the user. It will look and behave and behave just like Java. Dokka, the kotlin documentation generator, can even output documentation that pretends the source code was actually the equivalent Java.

As for the code itself, all the operations are located in the mixin interfaces (the interfaces which end in ...Ops). This idea turned out to be pretty complex, but it is the core of why this library is extensible and maintainable. It is so extensible that I could, for example, implement a Parallel (i.e. multi-valued) Windows class right now without re-implementing or even explicitly delegating the .not method; I'd just have to include the BooleanOps mixin. I haven't done this yet because there are some important mathematical considerations about how binary operations would work on parallel profiles, but that's another story.
I hope that, in the future, this design could be used to easily provide additional profile/spans types:

time profiles (i.e. real profiles but for durations)
event timelines
parallel (multi-valued) profiles for reasoning about activity arguments without worrying about overlapping
easy timeline type creation for users that have custom operations for special types in the mission model.

Gradle commands
Build: ./gradlew :timeline:build
Test: ./gradlew :timeline:test
Package for testing in external projects: ./gradlew :timeline:shadowJar
Generate documentation: ./gradlew :timeline:dokkaHtml documentation is available in timeline/build/dokka/html/index.html
Verification

[ ] unit tests are not yet complete

Documentation

[x] in-code documentation is complete

Tutorial documentation will come at the end of the procedural scheduling milestone.
Future work
Aside from all the procedural scheduling work, this will make the vast majority of the constraints package obsolete, and once Clipper stops using it in the external scheduler, we could remove it entirely.

I've run into two issues with dokka (Kotlin's documentation generator) that make the docs not quite as friendly as I'd like. They are still usable though.

https://github.com/Kotlin/dokka/issues/3056
https://github.com/Kotlin/dokka/issues/3484

I ran into another problem with Dokka when trying to link the separate constraints library to the timeline library:
https://github.com/Kotlin/dokka/issues/463
This means that the links on Violations (a constraints-only timeline type) to the default methods inherited from the ops interfaces are now extra broken. Even the manual links I put in the short descriptions do not work.

I've marked this ready for review, but there are still a few things I need to do before merging

[ ] rebase to clean up history
[ ] unit tests for numeric profiles
[ ] e2e tests for AeriePostgresPlan

@goetzrrGit @skovati I've rebased the entire thing to make the commit history cleaner. The general idea is that they are now sorted from most general/low-level to most specific/high-level. You'll need to force pull or hard reset.

Here is the project I demoed at the retro last week:
https://github.com/JoelCourtney/aerie-proc-constraint-demo


Can't use enter/return to confirm project name

On the new project dialogue, when typing the project name, if enter/return is pressed, nothing happens. Instead it is required to press continue with the mouse. Keyboard key Enter/return should be able to be used as a replacement for pressing the continue button

check out this bad boy #49

Its in a different PR than #38 just because we want to separate concerns.

@Taz17 is this resolved?

@emmapainter no, we closed that PR in favor of using forms. I will probably reassess the use of event listeners over forms.


python formatter often fails

Hello,
Thank you for making this project public. It is useful.
I've tried it a bit and it works well, except for the Python formatter. I almost always got a failure when I tried it. Even with this simple code it fails:
print 'it is one';

Hi !!!
Thanks a lot for your reply
The problem occurred in python-format may hard to fix in the short term
I use this package for python-format from npmjs.com : @prettier/plugin-python
It not work may because the package or the way I use, ( I think the reason mostly is the way I use )
// but it can work with like list = "a", "b", "c", "d"
Not only python, some other language has the same problem, example as you test it with a simple sentance compare with a long code block, the long code block usually not work
To solve this, I will improve my trash code in future, and try to search another way to achieve it
If the Features can help, I'm glad to go ahead
Thanks

Hello,
Maybe you already know that, but black is the recommended tool to prettify Python code. This prettier plugin is 3 years old, and it is not maintained anymore.
Indeed, your app does not work with long code. I thought this is due to a limitation you intentionally set?

Actually I dont't limit this, you can try to copy a long-long HTML code in the textarea, it works well (actually other languages can work well, too)
long block not work well because it contains code that some simple sentances not support
for example: To test python
it goes well ↓
list = "a", "b", "c", "d"
it goes failed ↓
print 'it is one';
it goes well ↓
list = "a", "b", "c", "d"
list = "a", "b", "c", "d"
list = "a", "b", "c", "d"
list = "a", "b", "c", "d"

it goes failed ↓ ( because it contains un-work-well code )
list = "a", "b", "c", "d"
list = "a", "b", "c", "d"
list = "a", "b", "c", "d"
print 'it is one';

To deal with it, the first step I should find the reason why some simple sentance goes fail
It may occurred to the special characters , they were not escaped so that it failed

However this JavaScript code has no errors, its size is 500Kb and when I submit it to your app, that doesn't work.

The HTTP Request carry body, nodejs default limit is 500kb, large than the limit will call back "to large"
I fixed it:  add the limit: "20mb" to break this limit;
After set ↓
app.use(bodyParser.raw({type: 'text/plain', limit: "20mb"}));
Your example code this JavaScript code now goes work to format
But too long block would take more time to wait
I post 604kb JavaScript code, it spend 16s !

Thanks!
I tested black yesterday. It is nice.
Do you know that you have two buttons "JSON" in your online app? (I like your buttons by the way ^^)
Cheers.

I will consider to use black to format python, it takes time but I would try
one... two... about two json buttons, I made a pair to them, so that they won't feel lonely
Thanks for visiting my website, and thanks for liking my lovely buttons


Customize slider update rate ?

Would it be possible to customize the update rate of the slider ?
The default seems to be a bit slow ?

By default it sends the value after it hasn't been changed for 200 ms. This is because sliding it with the mouse would send a lot of updates. What do you think a good delay would be?

perhaps 50ms ?

I just published 1.1.11 which contains the update to 50 ms.

We just did some more tests, we're using the sliders to control audio volumes and at 50ms it sounds a bit choppy.
I tried at 10ms and it's much smoother.  Would you be willing to go at 10ms ?  It doesn't seem to affect performance.

Sure. Just send in a pull request.


Windows support for forge

Do you have plan to suport windows for forge? Thanks, this is the error message I got while trying to install forge.
   Compiling svm-rs v0.2.0
error[E0433]: failed to resolve: could not find `unix` in `os`
 --> C:\Users\<user>\.cargo\registry\src\github.com-1ecc6299db9ec823\svm-rs-0.2.0\src/lib.rs:9:9
  |
9 |     os::unix::fs::PermissionsExt,
  |         ^^^^ could not find `unix` in `os`

error[E0599]: no function or associated item named `from_mode` found for struct `Permissions` in the current scope
   --> C:\Users\<user>\.cargo\registry\src\github.com-1ecc6299db9ec823\svm-rs-0.2.0\src/lib.rs:136:40
    |
136 |         f.set_permissions(Permissions::from_mode(0o777))?;
    |                                        ^^^^^^^^^ function or associated item not found in `Permissions`

Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
error: could not compile `svm-rs` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `foundry-cli v0.1.0 (https://github.com/gakonst/foundry#36356823)`, intermediate artifacts can be found at `C:\Users\<user>\AppData\Local\Temp\cargo-install4uzvr9`

rust environment info:
installed toolchains
--------------------

stable-x86_64-pc-windows-gnu (default)

installed targets for active toolchain
--------------------------------------

x86_64-pc-windows-gnu

active toolchain
----------------

stable-x86_64-pc-windows-gnu (default)
rustc 1.57.0 (f1edd0429 2021-11-29)

Yes, 100%. We're on it https://github.com/roynalnaruto/svm-rs/pull/9

super, thanks a lot mate :) Cannot wait to work with faster tool.

Hey @rhacker can you give this another try on master? It should be working now. Closing optimistically.

@gakonst it works perfectly with windows-msvc toolchain 👍
For windows-gnu, there is a minor problem from ethers-contract-derive package, I think it's more related to the windows OS itself
export ordinal too large: 102125
collect2.exe: error: ld returned 1 exit status
error: could not compile `ethers-contract-derive` due to previous error

This can be fix by override default build in Cargo.toml:
[profile.release.build-override]
opt-level = 3
codegen-units=1


Not clear how to remove .bib from autoexport list

Zotero version: <IP_ADDRESS>
BBT version: <IP_ADDRESS>1
Support log ID: V9HRJNXY-refs-euc
Exporter used: Not sure I understand
Expected behavior: Expect to be able to remove item from autoexport list
Actual behavior: Clicking "Remove" does not remove item from autoexport.
Text description:
Under Preferences -> Better Bibtex panel -> Automatic export panel,  I see a list of automatic exports. I would like to remove one of them. When I click the "Remove" button at the bottom, it does not seem to have any action.

Then I'm afraid there's nothing more that I can do. The change in 1609 is included in the release build that's running through the tests right now.


Changes made to the challenges in spanish.

I've changed the challenges section of every exercise, the user must write the solution in english for the verification to be successful, so if we provide spanish examples the user will write it in spanish too, and it will fail in the verification step.

@a0viedo

/cc @eafelix @nisnardi also.

In #84 @a0viedo  and me tried to discuss if the variables' names should be in english or only the string literals.
I vote for variables' name en english (the way it is in your PR), reasons:

IMO it would be weird having variables' names in english while just literals in english.
The other translations also have their variables' name in english. (convention)
Most variables' names are simple english words, ppl wouldn't need a high level of fluency in english
to undestand them.

LGTM, just tried the verify command in this PR and works perfectly. thanks @theHazzard!


Functionalise and Modulise.

To support #2, a major blocker to a 1.0, Docbuilder needs to be built in functions correctly.
This is a major refactor, but the earlier it is done, the easier it will make life later.
It may also require re-writing many of the tests - but as they are currently results-based, it shouldn't.
It may also need testing to see if it's functions can be imported and used. (If appropriate).

3 code smells currently remain, and tests aren't currently passing, but the product appears to be working.

As of ad401204dd8bffa779e380cdc54d95d24b0cca09, all tests seem to be passing.


Split "ice binding" into "ice nucleation" and "antifreeze"

This conflates two different functions
id: GO:0050825
name: ice binding
namespace: molecular_function
def: "Binding to ice, water reduced to the solid state by cold temperature. It is a white or transparent colorless substance, crystalline, brittle, and viscoidal." [GOC:curators]
synonym: "antifreeze activity" RELATED []
synonym: "ice crystal binding" EXACT []
synonym: "ice nucleation activity" RELATED []
synonym: "ice nucleation inhibitor activity" RELATED []
is_a: GO:0005488 ! binding
intersection_of: GO:0036094 ! small molecule binding
intersection_of: has_primary_input CHEBI:15377 ! water

This should be split into nucleation and antifreeze. The current experimental annotations are antifreeze proteins, so a replaced_by would be OK here. We also get plenty of annotations from mappings.
name: ice nucleation activity
def: "catalyzes the formation of ice crystals in extracellular fluid at relatively high temperatures (up to -2 degrees Celsius) to protect the organism from damage by intracellular ice formation.. This process is commonly found in certain bacteria, such as Pseudomonas syringae, and plays roles in environmental adaptation and plant pathogenesis." [KW-0387, [35551271](https://pubmed.ncbi.nlm.nih.gov/35551271/)]
in_taxon: Bacteria
exact: https://www.uniprot.org/keywords/KW-0387 ! ice nucleation
xref: TCDB:9.B.133.1.1

name: antifreeze activity
def: "inhibits the growth and recrystallization of ice crystals, thereby lowering the freezing point of water and preventing cellular damage at subzero temperatures. This activity is observed in various cold-adapted organisms, including certain fish, insects, and plants, and contributes to survival in extreme cold environments by stabilizing supercooled liquid states"
xref: https://www.ebi.ac.uk/interpro/entry/InterPro/IPR000104/ ! antifreeze 1

In addition to the mappings above we'd want to change

https://www.uniprot.org/unirule/UR000150976 unirule for antifreeze

There may be an argument for keeping ice binding and having the two new terms connect to it via has-part, there may be some similarities in structure. Both AFPs and INPs exhibit repetitive sequences and beta-helical structures that allow them to interact with water molecules. INPs, like those found in Pseudomonas syringae, utilize a large ice-binding surface that promotes ice nucleation by providing a scaffold for ice crystals to form, while AFPs have a smaller ice-binding area that binds to nascent ice and inhibits its growth (Graether & Jia, 2001). But IMO this is unneeded complication and GO should represent the function not the binding.
I am not sure what to suggest for parent terms. It seems we have a lot of terms floating at the root in MF right now. This ticket is not urgent so perhaps we could come up with a general solution for that first.

There is GO:0019833 obsolete ice nucleation activity. Is it preferrable to resurrect it or to make a new term?
We have GO:0050825 ice binding is_a GO:0036094 small molecule binding. This seems wrong.

hmm, @ialarmedalien made some good points on that issue (some time ago :-O) but I am in favor of splitting.

Is it preferrable to resurrect them or to make new terms?

@pgaudet Do we have guidelines on this topic? Thanks.

Hi @raymond91125
Yes we can un-obsolete terms, see https://wiki.geneontology.org/Restoring_an_Obsolete_Ontology_Term

https://www.uniprot.org/unirule/UR000150976 Is linked to GO:0005576 extracellular region. Not sure that needs update.


Replace NSLock with GCD and other Swifty updates

Great library and concise!
NSLock is more intense and consumes more kernel resources, so I swapped it out for GCD.
Also, I made some Swifty updates like using guards etc. I hope this helps!

Thanks for your help. 👍  I will have a look after my math exam on Tue. Quick question: what motivated this change? Did NSLock slow down your app?

Cool, good luck :)
Nothing apparent in the app motivated this, I think this change will be negligibly noticeable. Perhaps at a larger scale it would be obvious from profiling the app with instruments. My motivation just came from looking at the code and best Swift practices.

Thanks, makes sense!

I reviewed the changes but not accepting them due to the "isn't broken don't fix" reason. Sorry.


error in creating a heading

status code 400 - resource not found in console

The rich text editor object was not being passed into the headings common module resulting in an undefined payload being sent to the server.

done

issue resolved


Unable to run Groovy test cases

Hi team, I just took a fresh pull of prebid-server-java, and when I tried to run Groovy test cases, I am getting Errors (Screenshot attached). The only thing that is different in my repo (ref master) is that in pom.xml I have enabled "launchContainers".  The issue is that the code is trying to fetch "prebid/prebid-server: latest" as timing out eventually.

Hi. This happens because you didn't build an image. Tests rely on Docker image being present and until you either run maven clean verify which will build it automatically to run the tests or build it yourself by running maven clean package docker:build. Both commands will leave a PBS docker image in your local registry. There is a PR with the documentation which will be merged soon: https://github.com/prebid/prebid-server-java/pull/1755

Thanks a lot @Net-burst


Support common idiom for GCP SM

Common idiom for GCP SM is like:
{
    "name": {
        "client_id": "<client_id>",
        "client_secret": "<client_secret>",
    }
}

Using DataFrom, the current GCP SM will fail to unmarshal cause it's expecting
{
    "name": "{\"client_id\": \"<client_id>\", \"client_secret\": \"<client_secret>\"}",
}

which is much more annoying to work with.  By tweaking the implementation to
try to decode to a string, but if that fails, use the raw []byte of the value
we get the best of both worlds.

Hey @andyleap, thanks! Would you be able to write some unit tests for these specific cases?

/ok-to-test sha=f1fad45

Added a test case to ensure that strings are still getting decoded cleanly (don't want to regress there), but that nested json structures get decoded as just a raw []byte with the json structure.

/approve

awesome, thanks for your contribution :heart: !

/merge


39 FHIR R3 Resource Narrowing

Made Resource a Union Type of all resource types to allow easy resource narrowing

Can you add the following :

Add usage notes inside GETTINGSTARTED.md.
Bump up npm minor version so, CI can push a new build.
Add a changelog inside CHANGELOG.md.

closes #37


Dev is testable

Dev should now be testable, so we should merge into master and develop off master.

The merge look good to me. Commits include the work that we discussed in scrums and highlighted in our issues.


Add --reacheable-tag option

add --merge option on tag list
like : https://git-scm.com/docs/git-tag#Documentation/git-tag.txt---mergedltcommitgt
Useful when you have changes that are present in some versions but not in others.
Sample :

Changelog for Version 1.0.1 contains :

Version 1.0.0

Changelog for Version 2.0.0 contains :

Version 1.0.0
Commit 2
Version 1.0.1

Changelog for Version 1.0.2 contains :

Version 1.0.0
Version 1.0.1
Commit 1

with this option the changelog of version 1.0.2 will not contain the changelog of version 2.0.0
Changelog for Version 3.0.0 contains :

Version 1.0.0
Version 1.0.1
Commit 1
Commit 2
Version 2.0.0
Version 1.0.2
Commit 3

I think the --append-git-tag will have to do.


"Clean block" button won't clear the formatting of highlighted text.

Observed Results:
When a user highlights bolded text and clicks on the "Clean block" button, only part of the formatting markup is removed.
Repro Steps:
Edit a markdown field. (Ex: https://simplemde.com/)
Enter some text and click the "bold" icon - the text will turn bold
With the text still highlighted, click the "clean block" button (erase icon - if available) or press cmd+E
The "bold" markdown is only partially removed.

Video reproducing another error.
https://www.youtube.com/watch?v=cDuW5PX5pjE


add octant validators

Thanks for the PR @lorenz234! Please let me know if I can help or provide more clarity.


redux, react-redux

Version
Tell us which versions you are using:

react-native-router-flux v^4.0.0-beta.22 (v3 is not supported)
react-native v0.49.3

Hi there
How can I normally connect redux  and react-redux for react-native-router-flux?
Are have anyone good and simple example?

Hey. You can just take a look at Example folder.

but redux and react-redux doesn't exist in example folder.

Please have a look at this one: https://github.com/aksonov/react-native-router-flux/blob/master/Example/Example.js#L48
All you need is just dispatch actions you're interested in

ok
i will done it is ....
please say me it is wrong or correctly?
reducer/index.js

import { combineReducers } from 'redux';
import { ActionConst } from 'react-native-router-flux';

const sceneReducer = (state = {}, {type, scene}) => {
    switch(type){
        case ActionConst.FOCUS:
            return { ...state, scene };
        default:
            return state;
    }
}

export const appReducer = combineReducers({
    sceneReducer
})

App.js

import { Provider, connect } from 'react-redux';
import { createStore } from 'redux';
import { Actions, ActionConst, Router, Scene,Stack,Overlay,Modal,Tabs } from 'react-native-router-flux';
import { appReducer } from './src/reducer';

const Scenes = Actions.create(
    <Modal>
        <Overlay>
        <Scene hideNavBar>
            <Tabs
                key="tabbar"
                swipeEnabled
                tabBarPosition="bottom"
                showLabel={false}
                tabBarStyle={{backgroundColor: '#eee'}}
                activeBackgroundColor="white"
                inactiveBackgroundColor="rgba(255, 0, 0, 0.5)"
            >
            ........
            </Tabs>
        </Scene>

        </Overlay>
    </Modal>
);

const ConnectedRouter = connect()(Router);
const store = createStore(appReducer);

export default class App extends Component<{}> {
    constructor(props) {
        super(props);
    }
    render() {
        return(
            <Provider store={store}>
                <ConnectedRouter scenes={Scenes} />
            </Provider>
        )
    }
}

Definitely, something like this 👍


react project installation issue

npm WARN npm npm does not support Node.js v14.5.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 6, 8, 9, 10, 11.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! cb.apply is not a function
npm ERR!      C:\Users\home\AppData\Roaming\npm-cache_logs\2020-07-20T07_40_46_090Z-debug.log

You need to update your node version although I dont really know of a npm version that does this. What versions of node/npm are you using?

@gowrikumar666 I suspect you will need to update npm itself.
This issue is missing a lot of information, I am guessing you are on win 10 with a C:\ drive so I would
npm cache clean -f
npm install -g npm

hi,
i  already updated to latest version of node but it's not working react
project folder not installed into my sysem please let me know the issue as
soon as possible .
thank u
On Tue, Jul 28, 2020 at 2:10 AM Stephen Mount<EMAIL_ADDRESS>wrote:

@gowrikumar666 https://github.com/gowrikumar666 I suspect you will need
to update npm itself.
This issue is missing a lot of information, I am guessing you are on win
10 with a C:\ drive so I would
npm cache clean -f
npm install -g npm
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/create-react-app/issues/9331#issuecomment-664626690,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJRMF7J2NBD5XFXDA47KH33R5XQ35ANCNFSM4PB7NQ2A
.

I am having the exact same issue as well. This is my first time using react and I simply cannot get a project started. Every time I try to get a project started I get this error. I'm using the 12.18.3 version of node.
npm ERR! cb.apply is not a function

Having similar issues with both the latest LTS and current versions of node.js. I started having this problem out of nowhere as I can't remember if I did anything to node or npm to warrant this issue.
I have tried options 1 and 2 listed in the existing issue at nodejs and I am still having problems.


fix: update image pull policy when using image override

The ImagePullPolicy will be set to the correct value according to the image tag
in case of using ImageOverride flag.
Signed-off-by: Steve Mattar<EMAIL_ADDRESS>

The CRD linting failure is fixed by https://github.com/submariner-io/submariner-operator/pull/1011.

The CRD linting failure is fixed by https://github.com/submariner-io/submariner-operator/pull/1011.


Autovalue not added to form when formtype is "update-pusharray"

Meteorpad: http://meteorpad.com/pad/5RSEtMwZpTFKkopMy/Autoform autovalue
I created a schema for tracks and each track can have comments. When adding comments to a track (by using a "update-pushArray" form with scope "comments"), the validation fails because the autoValue value are empty (see collection2.js line 357 invalidkeys "value: null". I don't know if this is a bug or if its just me?
Thanks in advance!

anyone?

I am also facing this issue, I dont care about client side, but my use case is populating object with information based on zip_code. If I add new record to array autoValue runs and fill in correct info.
But when I update existing array field, autoValue function dont trigger at all.

got a similar experience with type="method". Have you guys come up with a solution?


All generated test cases

Can i get all the generated test cases based on the given seed corpus? if can, how can i get those. what's more, can i change the seed corpus to my own corpus to generated test cases and get them?

You can find the generated JavaScript programs that are added to the corpus in the output directory, but there is currently no way to dump all generated programs. For that, you'd probably need to hook either here or here (the first will also give you programs executed for minimization etc. while the latter will only give you programs generated by the mutation engine).
You can manually add programs to the input corpus here or you can import an existing corpus, for example by compiling existing JavaScript to FuzzIL.
Hope that helps!

thank a lot for your help, hava a good holiday.


Custom Baudrate OSX

Hi.
It seems that following line:441 in unix Serial::SerialImpl::reconfigurePort resets custom baudrates on OSX.
  // activate settings
  ::tcsetattr (fd_, TCSANOW, &options);

Setting custom baudrates after this line fixes this as far as I can tell.
Also for noobs as myself, might be helpfull mentioning to call this on OSX:
stty ospeed <custom_baudrate>
stty ispeed <custom_baudrate>
and on linux
sudo stty -F <port> <custom_baudrate>
My changes here:
https://github.com/saynono/serial/commit/c997027b3969d595d9c4c8aa2dda9fe3f613e688

I had the same issue, but found adding the following solution to line 343 a bit more elegant:
#if defined(MAC_OS_X_VERSION_10_4) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4)
  else {
      speed_t new_baud = static_cast<speed_t> (baudrate_);
      ::cfsetispeed(&options, new_baud);
      ::cfsetospeed(&options, new_baud);
  }
#endif

Tested this super quickly on my macbook running macOS 10.12

Setting custom baudrates after this line fixes this as far as I can tell.

@saynono This is correct as far as I can see. I look into source code of PySerial (in serialposix.py):
def _reconfigure_port(self, force_update=False):
    ...
    # activate settings
    if force_update or [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] != orig_attr:
        termios.tcsetattr(
            self.fd,
            termios.TCSANOW,
            [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])

    # apply custom baud rate, if any
    if custom_baud is not None:
        self._set_special_baudrate(custom_baud)

Since I can use PySerial to connect my Arduino by 250000 baudrate yet I cannot do this via this c++ serial library, I believe this is at least a big difference I can find. Same issue also showed up in other project and a similar solution here: Custom baud rate in OSX won't work #57, npat-efault/picocom.
In my scenario the problem is solved on macOS Mojave 10.14.4. My commit: 47732659f5e17c96b0414c513979131202073083


invalid-meta missing "ignore" entry in bower.json

after using bower.init I have the following entry in my bower.json:
"ignore": [ "**/.*", "node_modules", "bower_components", "test", "tests" ],

When trying to register the corresponding repo I get the above warning. Seems like the check itself ignores the ignore entry ^^
I am using bower 1.6.5

Maybe you forgot to tag last release? Please share the repository.

It was for the following repository:
https://github.com/robstoll/angular-pre-work/blob/0.0.2/bower.json
The message only appears when I try to register the repository:
bower register tutteli-angular-pre-work https://github.com/robstoll/angular-pre-work

Following the output
bower tutteli-angular-pre-work#*          resolve https://github.com/robstoll/angular-pre-work#*
bower tutteli-angular-pre-work#*         download https://github.com/robstoll/angular-pre-work
bower tutteli-angular-pre-work#*     invalid-meta tutteli-angular-pre-work is missing "ignore" entry in bower.json
bower tutteli-angular-pre-work#*         resolved https://github.com/robstoll/angular-pre-work

Notice, the ignore flag is only ignored during this check. When I install it afterwards with bower install, then I do not get the ignored files, or in other words the ignore entry works as expected. So I guess the bug is somewhere in the logic for registering repositories.

Getting the same results as @robstoll with Chart.js.

I have same error on my project
bower register rothko https://github.com/zeakd/rothko.js
bower resolve       https://github.com/zeakd/rothko.js#*
bower download      https://github.com/zeakd/rothko.js
bower invalid-meta  rothko is missing "ignore" entry in bower.json
bower resolved      https://github.com/zeakd/rothko.js

You can see what bower sees by ussing command bower info ENDPOINT, like bower info zeakd/rothko.js. Most likely it's missing ignore info because you did not released version with added ignore field. Bower requires you to add semver tag to release package.


Update ni-sidebandaudio-ioctl_sbaud_get_supported_formats.md

@barrygolden - This is ready to go.

@barrygolden - This is ready to go.


Case Insensitive Sorting

Would it be possible to add a flag that allows for case case insensitive sorting

I'd also be interested in this.

You can do that:
Naturally.sort_by_block(list) { |x| x.downcase }

@Kris-LIBIS, thanks. I'm already using code similar to the one you proposed, but I think I should have been more clear. Ideally I want this to be guaranteed to be a stable sort and integrated into this gem.
But thinking about it, I might have to test this myself if this isn't already the case (and there's the subjective (?) question about how case insensitive sorting should work).
Anyway, thanks for your reply!


[Feature] Footer does not match the current Vocabulary design system

Problem

The footer on the website does not align with the current Vocabulary design system. There are several differences that affect consistency:

The social media icons used in the footer are different from the design system.
The logo size does not match the design system's.
The "Donate Now" button is smaller from Vocabulary.
The text above the "Donate Now" button is entirely different from the Vocabulary's version.
The newsletter form has a different width, which impacts the visual consistency.

Footer

Vocabulary Footer

Description

To ensure uniformity and adherence to the design system, the footer on the website needs to be updated. The footer should follow what is implemented in the design system, including icon choices, logo size, "Donate Now" button design, and consistent text. The width of the newsletter form should also match the design system to maintain aesthetic balance.
Additional context

creativecommons/vocabulary: A cohesive system of design for Creative Commons

Implementation

[ ] I would be interested in implementing this feature.

@TimidRobot kindly assign this issue to me


Update Footer simple twitter icon and text

Sir if possible pls check and see . if it  works then pls assign and merge it under hactober fest and gssoc

Hello @vedhcet-07, the changes you made is'nt sufficient for the PR to get merged, do consider contributing to other issues


Duplicates in a repeater are not allowed.

I have some images I am pulling from AWS that look like this:
[{"listingId":19,"photoName":"2135 Danby Road1.jpg","photoId":97,"isDefault":1,"photoUrl":"https://s3.amazonaws.com/cu-ssit-prod-offcampushousing/19%2F2135+Danby+Road.jpg"},
{"listingId":19,"photoName":"2135 Danby Road.jpg","photoId":96,"isDefault":0,"photoUrl":"https://s3.amazonaws.com/cu-ssit-prod-offcampushousing/19%2F2135+Danby+Road.jpg"}]
As you may be able to see, the photoId is different, as well as the photoName, however, the photoUrl is the same.
I take that JSON, and modify it like this to meet the JSON structure that you require:
            vm.photos  = [];
            for (var i = 0; i < photos.data.length; i++) {
                vm.photos.push({ 'id': photos.data[i].photoId, 'url': photos.data[i].photoUrl });
            }

This results in
Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: image in images track by image.url, Duplicate key: https://s3.amazonaws.com/cu-ssit-prod-offcampushousing/19%2F2135+Danby+Road.jpg, Duplicate value: {"id":96,"url":"https://s3.amazonaws.com/cu-ssit-prod-offcampushousing/19%2F2135+Danby+Road.jpg"}
I was under the impression that the id was what needed to be unique, which as you can see it is.

id needs to be unique. is photos.data[i].photoId unique. Else there might be a bug in the code...

Yes, it is unique.   Here is the JSON:
[{"id":97,"url":"https://s3.amazonaws.com/cu-ssit-prod-offcampushousing/19%2F2135+Danby+Road.jpg"},{"id":96,"url":"https://s3.amazonaws.com/cu-ssit-prod-offcampushousing/19%2F2135+Danby+Road.jpg"}]

Yup, there is a bug. Thumbnails generated are tracked by url. If you are not using thumbnails, just disable it. I will upload bug fix soon.

upgrade to v2.1.2 , that will do it

Yes, that did it.  Thank you!


M.Tech thesis report

@igniting Do you have the soft copy of the M.Tech thesis that you submitted based on this project ?
If you do have it, can you send it to me? There is some B.Tech student here who wants to
continue on the stuff that you did.

https://github.com/igniting/masters-thesis/blob/gh-pages/static/thesis.pdf
On Tue, Sep 18, 2018, 3:33 PM Piyush P Kurur<EMAIL_ADDRESS>wrote:

@igniting https://github.com/igniting Do you have the soft copy of the
M.Tech thesis that you submitted based on this project ?
If you do have it, can you send it to me? There is some B.Tech student
here who wants to
continue on the stuff that you did.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TypeDB/bloc/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABXxd9lLCKIqwm0lZSB-vrwXTczfMcRFks5ucMTxgaJpZM4WtlFX
.

Thanks.


Handle ARRAY and other native PostgreSQL datatypes in reverse task

In https://github.com/propelorm/Propel/blob/master/generator/lib/reverse/pgsql/PgsqlSchemaParser.php#L195 we have an if statement that prevents from building a schema from database with ARRAY columns. Since Propel handles arrays types can this be fixed now?

Propel emulates an array type in PHP but uses a string for storage. Just like using native MySQL types, using PostgreSQL native types is not in the Propel 1.x scope.
You may want to reopen this ticket on the Propel2 tracker, but support for native advanced colum types is not on the top priority.


html base, minor updates to other files

I like this skeleton for the index. I'm about to modify it further and wanted to commit my changes in case something goes awry.

Looks good, keep working


why _simple_infer only returns results of the FIRSAT video?

https://github.com/MCG-NJU/BasicTAD/blob/bd9a1522da3d7675e079272e80e0281fa55f04be/vedatad/engines/infer_engine.py#L68-L70
As shown in above code. The _simple_infer function in infer_engine.py simply only handle the first video and ignore the rest. This would only work when the batch_size=1. But in the config:
https://github.com/MCG-NJU/BasicTAD/blob/bd9a1522da3d7675e079272e80e0281fa55f04be/configs/trainval/basictad/thumos14/basictad_slowonly_e700_thumos14_rgb_96win_anchor_based.py#L11-L13
The batch_size equals 2

There is no relationship between the two codes. self._simple_infer is worked for ActivityNet which has not been published. New code will be released soon, with more powerful performance.

Thanks for the explanation.


[Documentation] Documentation website failed to load javascript resources

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When visiting https://material-ui-next.com/demos/app-bar/, the website should load javascript resources, i.e. app-bar.js, _error.js, main.js, as specified in the html.
Current Behavior

Three javascript files cannot be accessed with response status code 404 (app-bar.js, _error.js, main.js). These resources' url address take the following pattern: https://material-ui-next.com/_next/826c5e81-cb19-43a7-b1d5-78a5a031a506/main.js.
However, when I visit documentation website from a new browser (previously Chrome, now Safari) on the same laptop, javascript resources can be successfully loaded although url address is not the same as before: https://material-ui-next.com/_next/0509e9cc-b04b-47a6-bbd3-17e3a66d2eac/main.js
Steps to Reproduce (for bugs)

Go to https://material-ui-next.com/demos/app-bar/ in Chrome and open up Developer Tools. Have a look at Network tab.

Context

Your Environment

Tech
Version

browser
Chrome 66.0.3359.117

Ok, after a little bit research I come up with this solution.

Click 'Clear site data' button which you can find here: DevTool -> Application -> Clear storage

If this blocks you indefinitely visiting documentation website as I have, then

Go to chrome://serviceworker-internals/ and unregister https://material-ui-next.com/

And now website is reacting again.
@oliviertassinari But how could this happen? Is there anything we can do to prevent this from happening again?


Listing 4.3

Hi,
I tried listing 4.3 with Pluto. I ran into several bugs even after inserting the missing datatype of the sink (=DataFrame)  (screenshot attached).
Listing_4 3
I succeeded with a workaround with package HTTP and HTTP.get:
http_response = HTTP.get("https://raw.githubusercontent.com/h-Klok/StatsWithJuliaBook/master/data/purchaseData.csv")
myData = CSV.File(http_response.body)
All the best, Claus

Here's the screenshot of the workaround


Default retirement rules show as {} in workflow export

In one of my projects, I've set workflows to retire at a count of 5. In the "retirement" column of the workflows export, the value is {"options":{"count":5},"criteria":"classification_count"}
In my other project, I left the workflows at their default value (retire at a count of 15). The "retirement" column for these workflows is just {}.
Earlier versions of workflows in my first project also have {} listed for the "retirement" column, so my guess is that when the retirement rules haven't been changed from their default, nothing ends up in the workflows export.

we should export the defaults.

yes please!


"if True" or "if False" coverage show error.

Describe the bug
As shown in the following picture：

You'll need to say more.  What is wrong with the picture? What did you expect instead of this?

Sorry，my question is ：
why not report lines is miss which from line 2 to line 8，and mark as red line？

The if False on line 1 means the rest of the code is not compiled at all. It doesn't exist in the bytecode.

Thanks a lot. ^_^


Substrate roadmap/cryptograhpy part 2

Description

Add the blog post: Cryptography
The next part of https://github.com/lowlevelers/lowlevelers.com/pull/45

Related Issue
https://github.com/lowlevelers/lowlevelers.com/issues/41

Oh I checkout from the part 1 branch so it includes the part 1 file. Let's merge the part 1 first 🙏

@chungquantin btw Could you allow me to add labels for PR? It makes easier for us I guess

@henchiyb that's weird, you should have permission.


Fix up needlessly obscure code in jsonrpc message parsing.

LGTM.
Do we have tests for this code?

we do not have tests. TODO.