To what extent should we use getters?

I'm not sure if this has been discussed before due to the large amounts of issues raised, but if any of you see this, I'd like to ask if you personally use getters at all in the lab codes. I've realised at least for earlier levels I may have used it from time to time due to it's convenience, while being able to keep everything private final as no setters are used. However, I might have violated the tell-dont-ask principle and codecrunch does not check for that (I think?).  I think if given enough time we could all probably find some way to beauitify the code but wgt...

For most of the lab problems, I use getters :)
My TA said for PA and lab assignments.. we are allowed to use getters but not sure for project.

Precisely, I'm not sure whether forcing myself not to use getters is overcomplicating things when a simple solution is enough HAHAH

Are there other ways we can avoid using getters? I always use getters and idk how else to obtain the private attributes.

I use getters in all my labs... for almost all my concrete parent classes when it's needed so as to not use 'protected final' for attributes. I think getters (use only for the required attributes) is the most efficient way in solving our labs and coding questions

i usually use a shortcut which is overriding the parent's getters
for example:
class A() {
private final int a;
int getA() { return a;}
}

class B extends A {
@Override
int getA() {return super.getA();}
}

so you can get a in the child class without invoking the getter in the super class every time.


Decouple

The PR does a lot.

Break problematic coupling with the notebook
Shim using amdefine when loading from a commonjs environment
Beef up the npm package.json, making it the premiere way to deploy.  See the changes to RELEASE.md for details

I'm not doing anything backwards incompatible in this PR, because I want it to be released with 4.2.0.  When we are ready to work on 5.0, a lot of this code will clean up, because I will convert everything to commonjs and browserify.
closes #13

@rgbkrk this will be the last piece you need to get going.  I'll add an example project in the examples folder so you can see how to use this in an npm project.

Well that's exciting. That means I can start sticking it in sidecar.

Awesome. Can you say more about how you are using amddefine? Why not just tell people if they need to load this in a non AMD environment they can use System.js. What exactly does amddefine do?

I think system.js would work too, for the same reason amdefine works.  I'll give system.js a try, I'm not attached to amdefine at all, I just saw it on the require.js webpage as the recommended way to load AMD inside a commonjs env.  I have a couple goals:

Don't change any of the files that are already AMD to CJS
Create a node package package that can both be imported and used in CJS, and also bundled using a JS bundler.

I wasn't able to accomplish my second goal using systemjs because of https://github.com/systemjs/systemjs/issues/192 .  I'm still looking into a workaround.

Can you ping @blink1073 on this. He has been working through a lot of the
details with system.js.
Also, at what stage are you using browserify. In my view, using System.js
removes the need to use browserify altogether. The problem with browserify
is that you can only reasonably do it a single time without running into
duplicate deps being loaded.
On Wed, Oct 21, 2015 at 11:45 AM, Jonathan Frederic <
<EMAIL_ADDRESS>wrote:

I wasn't able to accomplish my second goal using systemjs because of
systemjs/systemjs#192 https://github.com/systemjs/systemjs/issues/192 .
I'm still looking into a workaround.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/pull/193#issuecomment-149938763.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Can you ping @blink1073 on this. He has been working through a lot of the
details with system.js.

You just did :)

You rang?   Yes, I've been following along.  At some point we may have to declare that steal.js is the preferred way to load these complex mixed packages.

Also, at what stage are you using browserify. In my view, using System.js
removes the need to use browserify altogether. The problem with browserify
is that you can only reasonably do it a single time without running into
duplicate deps being loaded.

The end user should be able to browserify.

You rang? Yes, I've been following along. At some point we may have to declare that steal.js is the preferred way to load these complex mixed packages.

Thanks- I'll give stealjs a try and ping back with the results.

Can you clarify what amddefine does and how you are using it? Is it being
used by third parties to load your code, or by you yourself? Thanks for
clarifying though - I agree that users should be able to browserify
themselves if needed. Is amddefine just a stopgap until ipywidgets in
CommonJS itself?
On Wed, Oct 21, 2015 at 12:11 PM, Jonathan Frederic <
<EMAIL_ADDRESS>wrote:

You rang? Yes, I've been following along. At some point we may have to
declare that steal.js is the preferred way to load these complex mixed
packages.
Thanks- I'll give stealjs a try and ping back with the results.
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/pull/193#issuecomment-149948079.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Can you clarify what amddefine does and how you are using it? Is it being
used by third parties to load your code, or by you yourself?

I'm trying to replace amdefine with steal.js now, I'll ping back when I have success or failure.
amdefine is a minimal layer allowing AMD define tags to be used in a CJS environment.  It also allowed me to replace the funky nbextensions import paths with actual paths.  amdefine was only being used inside ipywidgets, no one else would need to know of its existence.

Is amddefine just a stopgap until ipywidgets in
CommonJS itself?

Exactly

OK, doesn't sound too bad if it is a stopgap them, I am just trying to
learn all the different ways these things fit together.
On Wed, Oct 21, 2015 at 12:28 PM, Jonathan Frederic <
<EMAIL_ADDRESS>wrote:

Can you clarify what amddefine does and how you are using it? Is it being
used by third parties to load your code, or by you yourself?
I'm trying to replace amdefine with steal.js now, I'll ping back when I
have success or failure.
amdefine is a minimal layer allowing AMD define tags to be used in a CJS
environment. It also allowed me to replace the funky nbextensions import
paths with actual paths. amdefine was only being used inside ipywidgets, no
one else would need to know of its existence.
Is amddefine just a stopgap until ipywidgets in
CommonJS itself?
Exactly
—
Reply to this email directly or view it on GitHub
https://github.com/ipython/ipywidgets/pull/193#issuecomment-149952504.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I'd say what Jon has already done is fine, since this is transitional.  I believe our end goal is to write each library with one style (distributed as CJS), and then folks can use whatever they want to put pieces together, but steal.js seems to be the best way.

This is ready for review.  I've uploaded two examples, one on how to use ipywidgets from within node using jsdom and navigator, and one showing how to use it in the browser using browserify.

This is a great step forward!!!

:+1: I could even use it with bqplot. Awesome.

:+1: :+1: This is great

hop


Support year_first in maya.parse. Closes #102

This change adds support for a year_first keyword argument to the
maya.parse function. maya will forward this argument to pendulum
which then lets dateutil.parse do the work.
See https://dateutil.readthedocs.io/en/stable/parser.html#dateutil.parser.parse for the dateutil.parse documentation.
I think if maya supports day_first it has to support year_first as well. With that dates like YDM are supported.

looks great!


Talib example

Simple TALib Example with SMA, RSI, STOCH, MACD & Charting

Fixed Candlestick charting issue and added porfolio value plot

Any updates on this PR?

Thanks for the reminder! I'm going to test it and merge now.

Beautiful! Merging.


Make the error message accurate

2022/05/17 07:22:49 [error] ServerError: target=storage/writer/writer.go.158, reason=Internal Server Error, msg=stream: writer was not configured
2022/05/17 07:22:49 [error] ServerError: target=table/timeseries/timeseries.go.124, reason=Internal Server Error, msg=error reading from uri due to scheme  is not supported

In fact, this behaviour is intended, the table does has not scheme setting and writer configured.

In my opinion, if the streams are not configured for a table, it should not error out. And it should throw an error if it can't configure any stream which was declared in config.

@tardunge  yeah, agree with you.


feat(community issue): graph zoom speed option

Adds:
Ability to configure zoom speed for the graph.
To test:
Add the following property to your dendron.yml, reload the window, and open the note or schema graph. The default zoomSpeed is 1.
graph:
    zoomSpeed: 1

Is zoom speed == 1 the current default value (prior to implementing this change)? If so, does it make sense to set the default value to < 1 if people are finding it too sensitive right now?

Is zoom speed == 1 the current default value (prior to implementing this change)? If so, does it make sense to set the default value to < 1 if people are finding it too sensitive right now?

The only thing that worries me is that the experience changes drastically depending on the input device. A speed of 1 will seem fast for an external mouse, but will be perfectly fine for a trackpad for instance. That might be a perfectly fine thing to tweak, it's just something to consider


Bumping up DotNetIsolatedNativeHost version to preview5

Bumping up DotNetIsolatedNativeHost version to preview5

why the big jump?

We manually created some artifacts (up to preview 4) before holidays and used them.

/check-enforcer evaluate

/check-enforcer override


Helidon compilation problem with Firebase SDK

Environment Details

Helidon Version: 1.3.1
Helidon MP
JDK version: 1.8.0_161
OS: WIN 10
Docker version (if applicable):

Problem Description
I was successfully created the Helidon MP project using the archetype mentioned in the Helidon documentation. This is working fine and I was able to create my first REST API. Until this step everything is working fine and then I tried to added firebase-admin SDK dependency in my pom xml. When I compile my project i got the dependency resolvement error
//: # "State if the problem is easily reproducible or happens intermittently"
//: # "Include stack traces or command outputs"
[ERROR] Failed to execute goal on project dailyapi: Could not resolve dependencies for project com.hustlebar:dailyapi:jar:1.3.1: Failed to collect dependencies for com.hustlebar:dailyapi:jar:1.3.1: Could not resolve version conflict among [com.google.firebase:firebase-admin:jar:6.10.0 -> com.google.cloud:google-cloud-firestore:jar:1.9.0 -> com.google.cloud:google-cloud-core-grpc:jar:1.79.0 -> io.grpc:grpc-protobuf:jar:1.22.1 -> io.grpc:grpc-api:jar:1.22.1, com.google.firebase:firebase-admin:jar:6.10.0 -> com.google.cloud:google-cloud-firestore:jar:1.9.0 -> com.google.cloud:google-cloud-core-grpc:jar:1.79.0 -> io.grpc:grpc-protobuf:jar:1.22.1 -> io.grpc:grpc-protobuf-lite:jar:1.22.1 -> io.grpc:grpc-api:jar:1.22.1, com.google.firebase:firebase-admin:jar:6.10.0 -> com.google.cloud:google-cloud-firestore:jar:1.9.0 -> io.grpc:grpc-netty-shaded:jar:1.21.0 -> io.grpc:grpc-core:jar:1.22.1 -> io.grpc:grpc-api:jar:[1.22.1,1.22.1], com.google.firebase:firebase-admin:jar:6.10.0 -> com.google.cloud:google-cloud-firestore:jar:1.9.0 -> io.grpc:grpc-stub:jar:1.22.1 -> io.grpc:grpc-api:jar:1.22.1, com.google.firebase:firebase-admin:jar:6.10.0 -> com.google.cloud:google-cloud-firestore:jar:1.9.0 ->
io.grpc:grpc-auth:jar:1.21.0 -> io.grpc:grpc-api:jar:[1.21.0,1.21.0]] -> [Help 1]
Steps to reproduce
Include the dependency into the created project pom

com.google.firebase
firebase-admin
6.10.0

I tried to exclude some jar which is in conflict but there is no gain to my attempt.
Any help would be much appreciated.

Try adding the following property to your pom: <version.lib.grpc>1.21.0</version.lib.grpc>.
See the helidon-dependencies pom here for a list of all the properties you can override.

Thanks, @romain-grecourt Great hint. After I changed the property the problem got resolved. I completely forgot to check the pom of helidon instead I tried to exclude the problematic version. Great hint and once again thanks.


Various bugfixes

also resolves #164

Codecov Report

Merging #176 into master will increase coverage by 0.46%.
The diff coverage is 28.16%.

@@             Coverage Diff              @@
##             master     #176      +/-   ##
============================================
+ Coverage     56.11%   56.58%   +0.46%
+ Complexity     2716     2712       -4
============================================
  Files           322      322
  Lines          6855     6811      -44
============================================
+ Hits           3847     3854       +7
+ Misses         3008     2957      -51

Impacted Files
Coverage Δ
Complexity Δ

src/Repository/ConstructionManagerRepository.php
15.38% <ø> (+13.03%)
2 <0> (-31)
:arrow_down:

src/Controller/Traits/QueryParseTrait.php
0% <0%> (ø)
35 <0> (+4)
:arrow_up:

src/Controller/DashboardController.php
0% <0%> (ø)
2 <0> (+1)
:arrow_up:

src/Controller/External/Share/FilterController.php
0% <0%> (ø)
4 <0> (+1)
:arrow_up:

src/Api/Transformer/Foyer/IssueTransformer.php
80% <100%> (ø)
6 <0> (ø)
:arrow_down:

src/Controller/Api/RegisterController.php
71.96% <100%> (ø)
48 <0> (ø)
:arrow_down:

src/Entity/Map.php
97.36% <100%> (+0.39%)
21 <2> (+2)
:arrow_up:

src/Repository/IssueRepository.php
60.86% <33.33%> (-10.56%)
50 <19> (+15)

src/Entity/Filter.php
52.08% <50%> (-0.1%)
93 <4> (+4)

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 496436d...ffc2648. Read the comment docs.


Add isValueMask option to support masking value that not yet mask.

Add isValueMask (default value is true) option to support masking value that not yet mask.
This is introduce to fix #935
Example scenario:
<input id="test" value="999" />
 $('#test').inputmask('\\9999');

When

isValueMask = true, result will show 999_
isValueMask = false, result will show 9999

Sample usage:
input.inputmask("\\9999", {isValueMask: false});
The reason to add new option is to support backward compatibility, so existing user will get the same result.

@zeskysee ,
Instead of adding a new option I added the behavior to the autoUnmask option.  autoUnmask: true  expects the incoming value to be also unmasked.

@RobinHerbots,
Thanks for fixing the issue :+1:


Question: will this automatically update the k8s secret if I update the AWS secret?

If I update a AWS Secrets Manager secret will this custom resource notice that and update it? or will I need to do a k8s deploy to update it?

NVM I just tested and can see that it polls and updates almost immediately. Im assuming its checking if the secret id changed


showing blank screen for raw capture without preview

Consider well explaining your issue when you open one

I was trying to capture image without preview
I was getting image data but after trying to open image it is showing blank screen.


FRUS documents lacking dates

Hi! I just stumbled onto https://foiarchive-search.streamlit.app/. Very nice!
I noticed that when the selected corpus is FRUS, there are 22k documents whose date is "null." This is unexpected, since every document in the FRUS corpus has a machine readable date (or really, a range of max and min datetimes). I'm not sure if this is the right repository to file this issue, but I'd be grateful if you could pass this on to whoever may be responsible for the extraction of metadata from FRUS. I'm happy to provide pointers if needed.

p.s. Also, the table below lists the number of pages in the FRUS corpus as "None," but this page information is captured in the FRUS TEI source files. And it lists the number of documents in the FRUS corpus as 209k, but it is actually ~310k.

Regarding the # of documents, I see that https://foiarchive-search.streamlit.app/Overview explains:

Our processed collection currently contains volumes from 1930-1980, including some volumes from 1861 and 1980-1984.

But still, date and page information is definitely available in the sources, and I would be happy to point you to the locations of this information in the FRUS TEI XML.

As long as I've strayed beyond the original topic, I noticed this line in https://doi.org/10.1177/0738894220930326:

We also introduce an online platform with an application programming interface (API) and website which scholars can use to search for, read through and download datasets customized to their research needs.

I have been unable to locate history-lab.org's API. If the API exists, could you point me to it? Thanks!

Thank you for raising these data issues and providing detailed supporting information, @joewiz. I'm sharing this with our team and will keep this issue open until we resolve it. For future reference, you can raise data issues by clicking the "contact us" link on the app's sidebar. Doing so raises an email to<EMAIL_ADDRESS>I will also get you the API details.

We've updated our copy of FRUS with the latest data available at https://github.com/HistoryAtState/frus. It now contains 311,866 documents. We've also incorporated page counts based on the information in the TEI files and significantly reduced the number of records without dates.
The next time we perform a FRUS download, we will ensure that our code extracts all dates. We will also contact you for guidance on best practices. In the meantime, we've noted in our FRUS corpus description that we are missing some dates due to our processing.

@benjlis Thank you so much!


feat : Added getDairatsForWilaya

Description
Added feature getDairatsForWilaya.
Improved Readme.
Type of change

[x] Improved how documentation looks
[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist:

[x] I checked that there's no dataset update (can be done by running npm run update-dataset)
[x] npm test passes on my machine
[x] npm run lint passes on my machine

@all-contributors add @anuragsati for code


force push for py38

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@romainmartinez
No need to review, that's automatic from conda-forge


Add integration tests for the role.

[citest]

Dummy realm and dc were added for testing purposes when real AD is not available.

Sorry if I missed it, what is the reason this is needed?
The test environment for linux system roles does not support multihost so there is no AD.
We want the test to do some useful testing there anyway so I introduced the dummies.
In downstream I will be running the tests in idm-ci with full AD integration.

[citest]

@justin-stephenson

Only thing I noticed is the uncommented code in tests/tests_full_integration_dc.yml and tests/tests_full_integration.yml is very similar, almost identical. Please just ensure the two different files are really needed.
Otherwise changes LGTM, thank you for the tests!

They are bit more different now. I was hoping to be able to distinguish joining with/without dc from the configuration but it does not seem to be the case.

[citest]

This is going to fail CI testing until CI adds support for tests/collection-requirements.yml - what the RHC team has done in the meantime is to add tests/collection-requirements.yml to meta/collection-requirements.yml https://github.com/linux-system-roles/rhc/pull/20

This is going to fail CI testing until CI adds support for tests/collection-requirements.yml - what the RHC team has done in the meantime is to add tests/collection-requirements.yml to meta/collection-requirements.yml linux-system-roles/rhc#20

I do not get it, I was told the support is there in the first part of November:
"" jvavra: morning o/ now tox-lsr supports tests/collection-requirements.yml, which specifies collections to be installed only for tests"
I was explicitly told that I should move the test dependencies from meta to tests (which I did).
I need this finished/merged so I can focus on the downstream side of this otherwise I won't make it in Q4.
I have multiple other things to wrap up in the next two weeks before I am on vacation.

Hi @richm,
I did run the tests locally in tox-lsr and they passed.
The full integration tests reported that they need ad and client machines and skipped as expected.
Please merge this.


Bump deps

Upgraded:
db_connection 2.5.0 => 2.6.0
jason 1.4.0 => 1.4.1
poison 4.0.1 => 5.0.0 (major)
postgrex 0.17.0 => 0.17.3
tds 2.3.1 => 2.3.4

See diff: https://hex.pm/l/DxL9s

Thank you! but generally speaking, don't worry about updating deps. If someone wants automatic updates, they can always enable dependabot :D

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


K9 crashes when 15+ folders exist

I have a Samsung Galaxy Note 3, running Android 5.0 and K9 5.007. If I set K9 to pull my IMAP folder list, just 1st class standard folders, everything is fine. If I have it set to 1st and 2nd, which loads between. 15 and 20 folders, K9 always crashes. It's not even downloading the folders' contents, just the folder names themselves at that point.

Please provide a debug log: https://github.com/k9mail/k-9/wiki/LoggingErrors

I have a Samsung Galaxy Note 3, running Android 5.1.1 and K9 5.008.  I have at least two IMAP accounts with greater than 15 folders in them.  I have not experienced this while using both 1st and 2nd class folders.  I will have to see if I can get mine to crash.

I have way, way more than 15 folders and can't reproduce this on master. Closing, pending a debug log.


Provide support for excluding files based on globs.

Provide the ability to exclude one or more files from istanbulification via browserify's transform arguments mechanism.  minimatch is used to enable the use of globs.
As istanbullify was is quite a small library, I am not sure if I'm following your coding style ;)  Please let me know if you'd like me to make any style changes :)
Thanks again for creating this library.
Jonny.

@fdecampredon any chance you'll pull this in?
btw - after 3 days of trying to instrument my commonJS with browserify shims, i came across this and it worked. instantly.  followed by some happy expletives! thanks :D

@peter-mouland fwiw I switched to using https://github.com/devongovett/browserify-istanbul

@jonnyreeves thanks for letting me know - but i just haven't been able to get that to work as expected. probably my fault.... but i was hoping to simply swap out the transform functions, but no luck. Have you tried browserify-istanbul with karma?
karma.config.js
module.exports = function(config) {
    var pkg = require('../package.json');
    var karmaConfig = {
        basePath: '..',
        browsers: ['PhantomJS'],
        frameworks: ['browserify', 'jasmine'],
        reporters: ['progress', 'coverage'],
        preprocessors: {
            'test/**/*.js': ['browserify'],
            '_site/*.html': ['html2js']
        },
        coverageReporter: {
            dir : 'test/coverage/',
            reporters: [
                { type: 'html',
                    subdir: function(browser) {
                        return browser.toLowerCase().split(/[ /-]/)[0];
                    },
                    watermarks: {
                        statements: [75, 85],
                        lines: [75, 85],
                        functions: [75, 85],
                        branches:[75, 85]
                    }},
                { type: 'json-summary', subdir: '.', file: 'summary.json' },
            ]
        },
        files: [
            {pattern: '_site/**/*.*', included: true, served: true, watched: true},
            'test/**/*.spec.js'
        ],
        exclude: [
            '**/*.png',
            '**/*.min.js',
            '**/*.requirejs.js',
            'bower_components/**/*',
            'node_modules/**/*'
        ]
    };
    karmaConfig.browser = pkg.browser || {};
    karmaConfig["browserify-shim"] = pkg["browserify-shim"] || {};
    karmaConfig.browserify = pkg.browserify || {};
    if (karmaConfig.browserify.transform) {
        karmaConfig.browserify.transform.push('istanbulify'); //browserify-istanbul
    } else {
        karmaConfig.browserify.transform = [ 'istanbulify' ]; //browserify-istanbul
    }
    return config.set(karmaConfig);
};

to anyone else, browserify-istanbul didnt work for me because i needed to add **/bower_components/** to the ignore pattern within the transform. that was it!

Glad you sorted your problems - happy hacking :)
On 5 March 2015 at 11:32, Peter Mouland<EMAIL_ADDRESS>wrote:

to anyone else, browserify-istanbul didnt work for me because i needed to
add /bower_components/ to the ignore pattern within the transform.
that was it!
—
Reply to this email directly or view it on GitHub
https://github.com/fdecampredon/istanbulify/pull/1#issuecomment-77349075
.


Add Showback model

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-js

Can one of the admins verify this patch?

Automation for azure-sdk-for-python
Nothing to generate for azure-sdk-for-python

Automation for azure-sdk-for-java

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go
Nothing to generate for azure-sdk-for-go

@jianghaolu
Kris from ARM team approved the PR.
Can we please continue and get your blessing?


testutil: whitelist WaitGroup.Done

Calling a WaitGroup.Done() in a defer will sometimes trigger the leak
detector since the WaitGroup.Wait() will unblock before the defer
block completes. If the leak detector runs before the Done() is
rescheduled, it will spuriously report the finishing Done() as a leak.
This happens enough in CI to be irritating; whitelist it and ignore.
Cf. https://semaphoreci.com/coreos/etcd/branches/master/builds/2144

Codecov Report

Merging #8251 into master will decrease coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #8251      +/-   ##
==========================================
- Coverage   76.46%   76.38%   -0.08%
==========================================
  Files         346      346
  Lines       26994    26995       +1
==========================================
- Hits        20641    20621      -20
- Misses       4871     4895      +24
+ Partials     1482     1479       -3

Impacted Files
Coverage Δ

pkg/testutil/leak.go
67.16% <100%> (+0.49%)
:arrow_up:

clientv3/namespace/watch.go
87.87% <0%> (-12.13%)
:arrow_down:

proxy/grpcproxy/register.go
69.44% <0%> (-11.12%)
:arrow_down:

rafthttp/msgappv2_codec.go
69.56% <0%> (-3.48%)
:arrow_down:

pkg/adt/interval_tree.go
89.48% <0%> (-2.71%)
:arrow_down:

clientv3/concurrency/election.go
80% <0%> (-2.41%)
:arrow_down:

rafthttp/peer.go
90.22% <0%> (-1.51%)
:arrow_down:

etcdserver/cluster_util.go
76.64% <0%> (-1.46%)
:arrow_down:

etcdmain/etcd.go
45.06% <0%> (-1.29%)
:arrow_down:

mvcc/watchable_store.go
86.82% <0%> (-1.17%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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

lgtm


fix normalization=None

Thank you for the contribution!
However, I think this issue should already be fixed in the current main. Can you confirm?

Yeah this is fixed thank you very much


Generating random file names so that parallel calls for Pyconcorde will work

Added a UUID generator for the temporary file name, to take only the first 8 characters. This should be sufficient to generate a unique enough file name.
We want to generate such a unique file name so that the pyconcorde solver can be invoked in parallel. Current implementation will force the temporary file name to be "name", which is a problem if the solver is called in parallel.

Looks good, although I would keep the full UUID just to be on the safe side.

I tried to take the full UUID. But the string length is too long, when concorde runs, the character array size is too small. So the filename will end up being truncated. The safe delete function from concorde will not be able to find the file. I think 8 characters should be sufficient in this case.

Oh, OK -- that's good to know.
I am more and more tempted to start editing the Concorde source directly...

Thanks for the fix!


Update LinkModules invocation to use new prototype

LLVM revision 141606 changes the prototype of llvm::Linker::LinkModules.
Signed-off-by: Elly Jones<EMAIL_ADDRESS>

Thanks for this, elly. We probably won't integrate it until the weekend, when it's more convenient to update the build bots.

Integrated!


Add support for custom FFMPEG arguments

This adds support for custom FFMPEG arguments.  I added the argument to the --help page and the README file (with examples).
Every -f="" is one FFMPEG argument, they CANNOT be combined such as -f="-c copy -crf 24", this will cause FFMPEG to return a non-zero exit code.
Examples:

-f="-c copy"
--ffmpeg="-c copy" --ffmpeg="-crf 24"
-f="-c copy" -f="-crf 24"
-f="-vcodec libx265" -f="-crf 27"

The changes to index.js are minimal, so there shouldn't be any conflicts.
The reason I am adding this is because it saves time if you compress the video when it is downloading rather than compressing the video later (or whatever you are doing with the video).
Another reason is that using -f="-crf 27" will significantly reduce the download size of the video while still (mostly) retaining the quality.
Additionally, I added a no overwrite feature and an argument to force overwrite.

Thank you for the PR!


Added support to regex parameter for set_types

@akariv
Continuation for https://github.com/datahq/dataflows/pull/89


Nacelle anemometer signal

I am using OpenFAST with NREL5MW to analyze MPC control which also involves Kalman filters. Generally, I like to only use signals which would be available in a real turbine.  For a wind speed measurement I like something similar to a nacelle anemometer.  I have been considering using Wind1VelX but suspect it is a signal directly from turbsim which is not realistic.  I could ad some (white) noise to it.  My questions are:

What exactly is Wind1VelX?
Can I use it for a nacelle anemometer?
Is is there a better option?
Is there a signal for this
Is there also rotor averages wind speed signal?

Dear @TorbenKnudsen,
Here are my responses:

InflowWind output Wind1VelX is the X-component of the undisturbed wind velocity in global coordinates at the 1st coordinate in the list (at X,Y,Z = WindVxiList,WindVyiList,WindVziList).  If you are using TurbSim wind data within InflowWind, I agree that this output will simply extract the wind data from the TurbSim output file (including interpolation, if the coordinate is not at a TurbSim grid point).
Using the InflowWind wind outputs could be used to approximate a nacelle anemometer, but you'd certainly miss the influence of the nacelle aerodynamics, rotor wake, and relative motion association with structural dynamics.
Certainly the rotor wake and relative motion effects are accounted for in AeroDyn, but the velocity field at specific points in the wake is not tracked by AeroDyn unless you are using the free vortex wake model OLAF, and even then, the nacelle aerodynamics are not considered by AeroDyn.
No; see 3.
The rotor-disk-averaged relative wind speed is an output from AeroDyn (RtVAvgxh,RtVAvgyh,RtVAvgzh), which includes the contribution of tower influence and structural dynamics, but does not consider the wake effect or nacelle aerodynamics.

Best regards,

Dear Jason
Thanks for your response.  I have two clarifying questions.

Is it correct understood that global coordinates used for Wind1VelX can be interpreted as earth fixed coordinates?

and that the rotor-disk-averaged relative wind speed is in the rotor disc coordinate system or similar but not the earth fixed?

Dear @TorbenKnudsen,
Regarding (1), the InflowWind outputs (Wind1VelX, etc.) are expressed in OpenFAST's global coordinate system, which is earth fixed with X directed along the nominal (zero degree) wind direction, Z directed vertical upward (opposite gravity) and Y directed to the left when looking nominally downwind (along the zero-degree wind direction).
Regarding (2), the rotor-disk-averaged relative wind speed (RtVAvgxh) is output from AeroDyn in the hub coordinate system, which moves and rotates with the hub.
Best regards,

Dear Jason
Thanks for your response.  I will perhaps have more questions later. For now I wish you a Merry Christmas


FancyZones doesn't work with Whatspp Desktop app after update

Microsoft PowerToys version
0.75.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
FancyZones
Steps to reproduce
Just for Whatsapp desktop application, the fancyzones stopped working. It doesnt do anything with that window.
✔ Expected Behavior
Whats to align on fancyzone
❌ Actual Behavior
Nothing just for whatsapp
Other Software
No response

Update to 0.75.1, this is a known issue. /dup #29491


Make finders able to handle events

Events are pretty useful but sould ideally be stored in the same database as the timeseries.
We have two ways of doing that:

Add in to the finder API
Create another kind of "module" for events

One could argue that we should use the Django database plugins for that, but if somebody is already using Cassandra/ES/Riak to store timeseries it's probably a better idea to use the same database instead of depending on MySQL / PostgreSQL for events.
What do you prefer ?

When you say events are you referring to things like annotations?  I'd argue that expanding into that arena is something that doesn't add a lot of value for most users, especially since Grafana now includes annotation functionality, and as you say a lot of folks are already using ES etc.  What do you see as the advantage for the user of having events in graphite?

Grafana's annotations are only showing annotations, it still relies on some storage. Graphite events API is used by many people, it's already there, we should support it in the backward compatible way IMO. We can introduce another API for events, sure, though.
I don't really like that it's stored in Django database, we should find some pluggable/configurable way where we can store it - OTOH current API is quite verbose and requiring to store bunch of strings data (message and list of tags, tags should be searchable) - so, I doubt that can be easy done with most of KV/NoSQL storages.

Actually Grafana now has support for storing annotations in its own database.

@DanCech : Ah, didn't know that. Maybe it's in beta? Annotation documentation says nothing about it, and I see nothing in latest stable Grafana.
We're still using normal Graphite annotations (like drawAsInfinite(my.releases)) but still planning a move to Graphite events or ES, because it has tags or ability to add some text mark to it.
I'm not sure what we going to do here.
Normal Graphite annotations are very limited but working for every backend, even now.
Events API looks great but has a burden of SQL storage.
We can introduce different storage, but it will require that storage instead of SQL for events.
Ideal solution IMO - left Events API as is, but make it works with pluggable backends, but not Django related (e.g. most popular, MySQL / PostgreSQL / Cassandra / Riak / Mongo, with migration tool from current backend).
If we're OK to proceed - I can spend some time on it, we would like to use something similar.

OTOH - doing so many backend w/o django db abstraction layer could be... not quite easy task.
I do not know any existing sql/nosql db abstraction layer for python...

@DanCech : yes, graphite events translate to annotations. Are you sure that Grafana can store them ?
@deniszh : the API for events is quite CRUD. I would have a default event plugin using Django's database, and custom ones using whatever people want.

@iksaif I thought the updated annotation system had been merged, but it's still in development.  I just reached out to @torkelo for more info on the state of things.

https://github.com/grafana/grafana/issues/1286#issuecomment-294281268
https://github.com/grafana/grafana/pull/8197

I guess that if Grafana is going to get that feature, I'll be happy to deprecate it from Graphite.


Merge server_emulator to master

To represent the progress made in the master server, merge server_emulator to master. I believe this will make the project's objective right and clear, and brings the real work to the foreground.
The branch server_emulator will remain but won't be updated anymore.
The proof of concept will stop being supported. If you wish to see its code, you may check the poc branch.

I guess the AppVeyor is broken, it keeps releasing builds


[WIP] chore: migrate to Typescript

Closes #2110.

[ ] Fix ~300 errors
[ ] Enable typescript-eslint

References:

https://github.com/facebook/jest/pull/7554
https://github.com/yarnpkg/yarn/issues/6953
https://github.com/facebook/docusaurus/pull/1490
https://github.com/storybookjs/storybook/issues/5030
https://davidgomes.com/porting-30k-lines-of-code-from-flow-to-typescript/
https://medium.com/the-vue-point/plans-for-the-next-iteration-of-vue-js-777ffea6fabf
https://medium.com/inato/migrating-from-flow-to-typescript-why-how-worth-it-5b7703d12089

Any comments and helps are appreciated! Please feel free to open a PR or commit directly against this branch.

Wow.

This is exciting!

@kevinbarabash Thank you for comments and the great tool! Most of changes are done by flow-to-ts 😄 I didn't have to do a thing. I'll file issues I've encountered there.

It seems somehow I ran an old version of flow-to-ts. I'll update the PR, once we have stable codebase with recent PRs merged.

I'll update the PR, once we have stable codebase with recent PRs merged.

Sounds good.  I checked out the branch and started trying to fix things.  I got the error count down to 253 but it's kind of slow going.  Maybe we should add @ts-ignores with a TODO to fix it later for any TypeScript error that isn't super easy to fix.  That way we don't have to worry about the PR getting stale and we can fix the errors in smaller chunks after it gets merged.

There is a TypeScript version of the mhchem parser.


Unable to build successful mssql-server-windows-express docker image

Many thanks for creating these images, I had a hard time trying to do this manually with SQL2012 SP3 Express before I saw you had already created images for SQL 2016, which I can try.
I need to specify a custom InstanceName for this SQL so I copied the dockerfile and start.ps1 and modified it to use my custom instance name. The service would not start.
I then tried to build the image without any modifications, and it still would not start.
I got an error in the event log complaining about file access to a D:\B directory. Is there anything I need to understand or configure about my docker install to be able to build original dockerfile for mssql-server-windows-express?
I find it strange I can't just do a docker build . as running the docker image from microsoft/mssql-server-windows-express does work, but building locally doesnt.
Thank you for any assistance.

The first Error in the Event Log for the docker image build off the files in repository is the following:
FCB::Open failed: Could not open file D:\B\S2\Sources.obj.x86Release\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf for file number 1.  OS error: 3(The system cannot find the path speci

Hi @jamescarter-le - Are you still having issues building your own docker image from the docker files/ps scripts below:

Developer: https://github.com/Microsoft/mssql-docker/tree/master/windows/mssql-server-windows-developer
Express: https://github.com/Microsoft/mssql-docker/tree/master/windows/mssql-server-windows-express

Thanks, Perry

Hello!
I have same issue.
I found this blog post, it's looks like same issue:
https://blog.brankovucinec.com/2015/04/08/mssql-server-not-starting-after-fresh-installation/
Any  idea to fix this?
Thanks


Only default two thirds/one-third layout when footer has two sections

This approach is from: http://lea.verou.me/2011/01/styling-children-based-on-their-number-with-css3/
Changes the default layout of two-thirds/one-third only when there's two sections.
The first section can only be also the the 2nd last section (counted backwards) if there's two overall sections.
Screenshots
Before

After

Fixes https://github.com/alphagov/govuk-frontend/issues/1539

I think there's still a couple of places where this isn't doing what we want – I think we're hardcoding some logic to try and meet a couple of specific examples (the GOV.UK Footer, three columns and one column) but there's a couple of other scenarios that are breaking the grid too.
For example, if you put the 2-column section on the right, it does not fit with the grid (you end up with a ⅖ column and a ⅗ column:

If you have two columns, it should either go to two ½ columns, or two ⅓ columns and a third blank ⅓ column, but at the minute we get two uneven columns:

If we have only one column it kind of works as-is as it fills the entire footer, though I question whether there might be cases where a user might want to restrict it to a ⅓ column:

I've currently these as examples on top of this branch – would it be useful for me to commit them and push them as something to work from?

@36degrees yes please, we may be able to make use of the column modifier classes that already exist to tighten this up even more.

Actually I've changed my mind I think those examples look how I'd expect, given the context of a fall page where most layouts are two thirds / one thirds it feels balanced. Having an empty slot feels worse?

Neither of the examples align with the grid – the first example is more like a ⅖ column and a ⅗ column, and the second example is two uneven columns.

I think I know what you're saying, I wonder if it's always been a bit off...

I've pushed up a change that uses CSS Grid instead of Flexbox.
This would mean IE11 would use the fallback layout (simple inline block that does not align with the grid).
Would also be a breaking change since I've moved the modifier...
What do you think?

https://caniuse.com/#feat=flexbox
https://caniuse.com/#feat=css-grid

I think we can make a small breaking change to sort this properly, so have pushed the main issues around the grid alignment back into the main issue for the next milestone: https://github.com/alphagov/govuk-frontend/issues/1539#issuecomment-527123152
I will reduce this pull request back to the original intent, so we can ship a small improvement to three column layouts only.


Cursor doesn't move when I accept multi-line suggestions

I have the following code:
export function useCreateClient() {
    const queryClient = useQueryClient();

    return useMutation({>|<
>>      mutationFn: async (data) => {
}

>|< represents the cursor and the lines started with >> represent the Supermaven suggestion. When I accept the suggestion with Tab, the suggested code inserts but the cursor stays where it was:
export function useCreateClient() {
    const queryClient = useQueryClient();

    return useMutation({>|<
>>      mutationFn: async (data) => {
        mutationFn: async (data) => {
}

As the result, I get the same suggestion again. No matter how many time I accept the suggestion, it gives me the same suggestion over and over again:
export function useCreateClient() {
    const queryClient = useQueryClient();

    return useMutation({>|<
>>      mutationFn: async (data) => {
        mutationFn: async (data) => {
        mutationFn: async (data) => {
        mutationFn: async (data) => {
        mutationFn: async (data) => {
}

This does not happen when the suggestion is on the same line as the cursor.
I'm using the latest nightly release of neovim:
NVIM v0.10.0-dev-3103+gca735c755

And I'm using the Pro version.

We're having trouble reproducing this. Could you provide some more information about your setup? Do you have any other plugins installed or any custom keybindings that could affect this?

I don't think any of my plugins or keybindings could affect this, but I can investigate that. https://github.com/supermaven-inc/supermaven-nvim/pull/5 fixed the issue though.

I was able to reproduce it in a clean install with just this config:
-- init.lua

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
    {
      "supermaven-inc/supermaven-nvim",
      config = function()
        require("supermaven-nvim").setup({})
      end,
    },
}, {})

With:
NVIM v0.10.0-dev-3117+g4e5c633ed
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068

And:
-- init.lua

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
    {
      dir="~/Dev/nvim/plugin/supermaven-nvim", -- This includes PR #7
      config = function()
        require("supermaven-nvim").setup({})
      end,
    },
}, {})

Using PR #7 i get the correct behaviour and this does not occur anymore.


Fix decoding fragments containing square brackets

Changelogs

Fix issue #24 by updating the regex used to find the branch attachment point
Add support to encode smiles string with atom mapping (regex changes)

Checklist:

[x] Add tests to cover the fixed bug(s) or the new introduced feature(s) (if appropriate).
[ ] Update the API documentation if a new function is added, or an existing one is deleted. Eventually consider making a new tutorial for new features.
[x] Write concise and explanatory changelogs below.
[x] If possible, assign one of the following labels to the PR: feature, fix or test (or ask a maintainer to do it for you).

Original discussion with explanation in: #24
Unrelated but it seems that we are not using isort for the formatting of the package import.

@maclandrol Addressed the issues, hopefully the second issue is fine!

This PR closes #24


fine-tune time and decode part

Hello, I try to use your model on QG task. However it takes a lot of time to fine-tune.
It takes 8h for each epoch on SQuAD dataset. (no fp16 since my GPU is not suppoted)
The GPU is 1080ti (11g) and I need to set the batch size to 1.
I wonder why this model is so slow in fine-tune part ? (compare to other pre-train model like GPT and BERT)
Another question is about the decode part. Each time predict a word and feed this updated sequence back to model to predict next word. Is this right? (Sorry the codes are too complex to understand for me.)

HI Brandon,
The fine-tune cost/speed should be similar to BERT model of the same size. Since you are not using fp-16, a lot of GPU memory will be used to store the parameters in the model and the optimizer. I would still use fp-16 in training to save memory and to enable larger batch size,  even if your GPU does not have special support for fp-16 computation like tensor-core.
The decoding is conceptually very simple: for a sequence [y(0), ..., y(n-1)], we feed [y(0), ..., y(n-1), mask] into the model to get the prediction of y(n). It can be done by brute-forcefully compute all layers for all n input tokens, but certainly is not very efficient. Instead, we want to re-use the computed hidden representations from previous step. But we can only get hidden representations for [y(0), ..., y(n-2)] from previous step, because the input for previous step was [y(0), ..., y(n-2), mask] and y(n-1) was not predicted yet. As a result, in every step, we need to compute the representation for two tokens [y(n-1), mask] while re-using representations of [y(0), ..., y(n-2)]. This is the major difference between our decoder and the usual decoder which does not use masks.

Thank you. I got it. I will try this model on cloud gpu.

@nyanyanya Hi. To get y(n), why [y(0), ..., y(n-1), mask] is needed instead of [y(0), ..., y(n-1)]? How is the decoding in UniLM different from a normal RNN Seq2seq decoder?


how could i install the hypervisor on a same server? wiki document is given but its not working for me could you give me the steps

padekitenamokukaipveikiayradokumentasnesuprantu

Which part don't you understand?  Or you don't understand the language?
On Jun 15, 2017 11:52 AM, "Prabhuraj"<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Seitanas/kvm-vdi/issues/90, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALxZX8OAmI2pT2CCVewT5nJWsnblef_Cks5sETrhgaJpZM4N7RUq
.

Am not able to view the targeted hypervisor option
Am followed the steps in that instruction I can understand the language

youareverluckymostofusdonotunderstandatall

Errors should be passed into webserver error log but there is a debug
option in configuration file that will crank up the verbosity.  I can help
if you describe the point where the failure happens.  Are you able to get
the dashboard to display?
On Jun 15, 2017 10:49 PM, "Prabhuraj"<EMAIL_ADDRESS>wrote:

Am not able to view the targeted hypervisor option
Am followed the steps in that instruction I can understand the language
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Seitanas/kvm-vdi/issues/90#issuecomment-308900222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALxZX0AS84vZ7l-8-MZacF9NC_Dus11Eks5sEcvjgaJpZM4N7RUq
.

Yes i can get the dashboard view,but am cannot get the hypervisor option in that option please refer the below links.

You need to add hypervisor first via Add hypervisor option.

Thanks for the quick response

Are you sure that you can connect to <IP_ADDRESS> via SSH on port 56917?

yes am changed the default port 22 also its showing the same error. there is any kvm-vdi port. how can i check the ssh default port no?

Try connecting to this address from dashboard server's console via ssh command. Does it connect?

yes its connecting with 22 port

What does your webserver error log say?

There is something wrong with SSH public key validation. Please check if you've generated ssh public keys properly and if they are readable by webserver.

am followed the document i know am done a mistake while am doing but i cant identify so kindly give me the screenshot for the ssh keys how to copy the /var/hyper_keys

Please, connect to your dashboard servers console and type:
ssh -i /var/hyper_keys/id_rsa<EMAIL_ADDRESS>What does it say?

It should not ask for password if public key validation succeeded. Something is still wrong with public key authentication.

Do ssh-copy-id<EMAIL_ADDRESS>from the dashboard server and then try
again
On Jun 16, 2017 7:46 AM, "Tadas Ustinavičius"<EMAIL_ADDRESS>wrote:

It should not ask for password if public key validation succeeded.
Something is still wrong with public key authentication.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Seitanas/kvm-vdi/issues/90#issuecomment-308994650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALxZXyoV-IHcT9nTlEAut8y379xtCoUYks5sEl0RgaJpZM4N7RUq
.

This will copy pub key of current user. More correct approach would be:
ssh-copy-id -i /var/hyper_key/id_rsa.pub<EMAIL_ADDRESS>

sorry, thanks for correction.  I always su first so I forgot syntax
On Jun 16, 2017 8:05 AM, "Tadas Ustinavičius"<EMAIL_ADDRESS>wrote:

This will copy pub key of current user. More correct approach would be:
ssh-copy-id -i /var/hyper_key/id_rsa.pub<EMAIL_ADDRESS>—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Seitanas/kvm-vdi/issues/90#issuecomment-308997787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALxZXytSUQ04MqhTF7nkvUWpi4dW5YvUks5sEmFxgaJpZM4N7RUq
.

ok. if am using the same server has a dashboard server and hypervisor server means what i want to do

ssh-copy-id -i /var/hyper_key/id_rsa.pub VDI@localhost
add "localhost" via Add hypervisor option.

refer the below image these are the steps am followed.But am getting error

Replace hyper_key with hyper_keys

yes am replaced the name now am able to login the ssh without the password but the hypervisor said error ssh bad credentials

above already added

if you can ssh<EMAIL_ADDRESS>without being asked for a password, the
step to add to dashboard should work as long as the hyper_keys folder/file
is readable by the webserver... you can test this by doing lsof -i:80 (I
assume port 80) to find out the user it runs as... then do su apache (or
whatever user you found) --shell=/bin/bash; ls /var/hyper_keys...... test
the folder and pub file.  if you can see them the server should be ok.  if
you get no such file, check your perms.  if all is ok, add in dashboard
normally.
On Jun 16, 2017 10:07 AM, "Prabhuraj"<EMAIL_ADDRESS>wrote:

above already added
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Seitanas/kvm-vdi/issues/90#issuecomment-309021652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALxZXw5nSyehseBwPb93bT4m6EjLrZHvks5sEn4egaJpZM4N7RUq
.

Hi thanks for clearing the doubts and am appreciate your patience thanks and once again Seitanas and henickr
1.yes am check the ssh<EMAIL_ADDRESS>login without password
2.while am check the webserver lsof -i:80 with this command nothing is running in this command how could i change it

chown -R www-data:www-data /var/hyper_keys

Thanks Buddyies i got the hypervisor

Thanks lot......

Hi everyone ,
please help me I'm stuck at this step hypervisor, I'm unable to connect to hypervisor without password .


Make verification pass when using Image Builder

Required to make https://github.com/openshift/release/pull/19608 pass

instead of ignoring vendoring, which we cannot do in openshift, let's investigate the actual failure in https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/19608/rehearse-19608-pull-ci-openshift-cert-manager-operator-master-verify/1409456747843686400:
go: inconsistent vendoring in /go/src/github.com/openshift/cert-manager-operator/vendor/k8s.io/code-generator:
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

	To ignore the vendor directory, use -mod=readonly or -mod=mod.
	To sync the vendor directory, run:
		go mod vendor
make: *** [Makefile:45: verify-scripts] Error 1
make: Target 'verify' not remade because of errors.
{"component":"entrypoint","error":"wrapped process failed: exit status 2","file":"prow/entrypoint/run.go:80","func":"k8s.io/test-infra/prow/entrypoint.Options.Run","level":"error","msg":"Error executing test process","severity":"error","time":"2021-06-28T10:25:09Z"}
INFO[2021-06-28T10:25:13Z] Ran for 3m21s
ERRO[2021-06-28T10:25:13Z] Some steps failed:
ERRO[2021-06-28T10:25:13Z]
  * could not run steps: step verify failed: test "verify" failed: the pod ci-op-6mmdc239/verify failed after 1m17s (failed containers: test): ContainerFailed one or more containers exited

Container test exited with code 2, reason Error
---
mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

	To ignore the vendor directory, use -mod=readonly or -mod=mod.
	To sync the vendor directory, run:
		go mod vendor
make: *** [Makefile:45: verify-scripts] Error 1
make: Target 'verify' not remade because of errors.

/hold cancel

/lgtm


New Animation: Squiggle

There wasn't any animation which was kind of more like a wobble/jiggle so I wanted to add a simple one.

neat

This feels a little gratuitous to me. Maybe the wobbling could happen a little faster or less dramatically.
Closing for now (cleaning up PRs/issues) but do keep working on it. Be sure to use Grunt to compile the CSS!


[core] Enable catalog case-sensitive by default

Purpose
Checked with iceberg and delta, they don't check the case of tables or fields with hive, so enable catalog case-sensitive by default in paimon too.
Other:
Cancel the linkage between case-sensitive and spark.sql.caseSensitive. In fact, case-sensitive of paimon catalog is a write configuration, which determines whether table / cols uppercase writing is supported, while spark's is a read configuration.
Tests

API and Format

Documentation

I think it is not enable catalog case-sensitive by default, we should remove checking for case-sensitive?


Remove version key-value pair from reponse of /prompt API

Currently, the /prompt post API returns the version of the Curlgpt CLI tool and it is not needed. So it has to be removed from the API response.

I would like to take this issue.


Fix wrong code coverage for return statements

Purpose
$subject
Fixes #32411
Approach
This is due to jacoco takes line number for the byte codes coming after last line in the line number table as the same line. Fixing it by providing the line number of  } in the function for the injected bytecodes.
Samples
public function intAdd(int a, int b, int val) returns int {
    if (val > 2) {
        return a + b;
    }
    return a - b;
}

in test.bal
import ballerina/test;

@test:Config {}
function testFunc() {
    test:assertEquals(intAdd(1, 2, 22), 3);
}

Remarks
TODO: A fix need to be done to special case the step over functionality in the vscode debugger to ignore the } line number. @NipunaRanasinghe @praveennadarajah
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Code coverage before fix -

Code coverage after fix -


brew services command issue

brew services list
Warning: Calling brew services'. This command needs to be refactored, as it is written in a style that is deprecated! Use inherits from Homebrew::AbstractCommand' ( see https://docs.brew.sh/External-Commands ) instead.
Please report this issue to the Homebrew/homebrew-services tap, or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:9
Error: uninitialized constant Homebrew::Service
/opt/homebrew/Library/Homebrew/formula.rb:1273:in service' /opt/homebrew/Library/Homebrew/formula.rb:1244:in plist_name'
/opt/homebrew/Library/Homebrew/formula.rb:1256:in launchd_service_path' /opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formula_wrapper.rb:58:in service_file'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formula_wrapper.rb:92:in plist?' /opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formulae.rb:14:in block in available_services'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formulae.rb:14:in select' /opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formulae.rb:14:in available_services'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/formulae.rb:25:in services_list' /opt/homebrew/Library/Taps/homebrew/homebrew-services/lib/service/commands/list.rb:13:in run'
/opt/homebrew/Library/Taps/homebrew/homebrew-services/cmd/services.rb:129:in services' /opt/homebrew/Library/Homebrew/brew.rb:96:in public_send'
/opt/homebrew/Library/Homebrew/brew.rb:96:in `'
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/homebrew/homebrew-services/issues/new

macos 15.0.1 (24A348)
brew config
HOMEBREW_VERSION: 4.4.2-71-g91f3671
ORIGIN: https://github.com/Homebrew/brew
HEAD: 91f3671b16fe62121364c465c14e0dfd088d7ead
Last commit: 10 hours ago
Core tap JSON: 28 Oct 01:29 UTC
Core cask tap JSON: 28 Oct 01:35 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 3.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby
CPU: 16-core 64-bit arm_palma
Clang: 16.0.0 build 1600
Git: 2.39.5 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.0.1-arm64
CLT: <IP_ADDRESS>.1.1724870825
Xcode: 16.0
Rosetta 2: false

Run brew update-reset.

brew update-reset
==> Fetching /opt/homebrew...

==> Resetting /opt/homebrew...
Reset branch 'stable'
==> Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-services...
==> Resetting /opt/homebrew/Library/Taps/homebrew/homebrew-services...
branch 'master' set up to track 'origin/master'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.
-------------------------------------------------------then another error
brew services list
Error: Cannot find a vendored version of ruby for your arm
processor on Homebrew!
Error: Failed to upgrade vendor Ruby.
/opt/homebrew/Library/Homebrew/version.rb:369:in `initialize': Version value must be a string; got a NilClass () (TypeError)
  raise TypeError, "Version value must be a string; got a #{val.class} (#{val})"
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from /opt/homebrew/Library/Homebrew/os/mac/version.rb:29:in `initialize'
from /opt/homebrew/Library/Homebrew/os/mac.rb:18:in `new'
from /opt/homebrew/Library/Homebrew/os/mac.rb:18:in `version'
from /opt/homebrew/Library/Homebrew/os/mac.rb:48:in `prerelease?'
from /opt/homebrew/Library/Homebrew/os.rb:17:in `<module:OS>'
from /opt/homebrew/Library/Homebrew/os.rb:1:in `<top (required)>'
from <internal:/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from <internal:/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
from /opt/homebrew/Library/Homebrew/global.rb:118:in `<top (required)>'
from /opt/homebrew/Library/Homebrew/brew.rb:15:in `require_relative'
from /opt/homebrew/Library/Homebrew/brew.rb:15:in `<main>'

Run brew update-reset.

thanks for your answer, here another error

@Aerdax Your Homebrew is badly broken. I can't help you any more, I'm afraid, this is not a Homebrew bug.

the broken just happened after run brew update-reset,but when i run brew update, it fixed,and the Warning show again Calling brew services'. This command needs to be refactored, as it is written in a style that is deprecated!...

fixed! this problem happend because of wrong homebrew/services version.follow steps to fix it
uninstall
brew untap homebrew/services

install
brew tap homebrew/services

check the origin should point to the official github repository:https://github.com/Homebrew/homebrew-services
brew tap-info homebrew/services


Wrong validation checks for TAAAcceptance model

The checks for accepted time values in aries_cloudcontroller/model/taa_acceptance.py are wrong.
Currently:
@validator("time")
def time_max(cls, value):
# Property is optional
if value is None:
    return

if value > -1:
    raise ValueError(f"time must be less than -1, currently {value}")
return value

@validator("time")
def time_min(cls, value):
# Property is optional
if value is None:
    return

if value < 0:
    raise ValueError(f"time must be greater than 0, currently {value}")
return value

This constrains values to be between -1 and 0. That's simply incorrect. On the one hand this should definitely allow anything > 0. On the other, possibly < -1. Not 100% sure why and if so what values should disallowed.

see also https://github.com/didx-xyz/aries-cloudcontroller-python/tree/hack/any-return-type


[ZEPPELIN-1336] hadoop library for spark interpreter is not match.

What is this PR for?
This PR is for download hadoop libraries for yarn cluster.
This issue comes from https://github.com/apache/zeppelin/pull/1318.
What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1336
How should this be tested?
1 build zeppelin for spark2.0&hadoop2.7
mvn clean package -Pspark-2.0 -Phadoop-2.7 -Dhadoop.version=2.7.2 -Pyarn -Ppyspark -Pscala-2.11 -DskipTests

2 verify hadoop library version for spark.
ls -al $ZEPPELIN_HOME/spark/target/lib/

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

I think spark-dependencies is a proper position for this change. How do you think?

@jongyoul I will close this issue since removing yarn profile is working.
please do it at the https://github.com/apache/zeppelin/pull/1301 as @zjffdu mentioned.


Transparent background doesn't work in ar in iphone and ipad

Description
Transparent background doesn't work in ar in iphone and ipad,
Live Demo
https://modelviewer.dev/examples/augmentedreality/#transparentBackground
open in iphone or ipad click ar button, all transparent part are black
if you upload a glb model contain transparent material to https://spase.io/playground
convert to usdz model,then use html code

ar transparent will work fine in iphone
Version

model-viewer: v1.7.2

Browser Affected

[ ] Safari

OS

[ ] iOS 14.6

AR

[ ] WebXR

Ah... Are you talking abut the actual model itself, which contains transparent materials? And when you go into AR on iOS (which looks to be auto generating a USDZ) those transparent materials are no longer transparent?
I guess this is more of a question of USDZ export from three.js - and whether USDZ even supports the same kind of transparent material definitions.
Viewed on iOS QuickLook:

@mrdoob Is there a three.js issue on USDZ transparency yet?

scene view

ios AR view

3d model
cube.zip

I thought there was a related fix in r129 https://github.com/mrdoob/three.js/pull/21747

Looks like r129 works for some (PBR?) transparent materials:

@lmomimi Transparent materials works on USDZ too (alpha blend) but png images does not work. On png images transparents parts looks black. I think iOS developers are working on it and on september (after new release of ios) we hope they will fix it.

I've tried changing the jpg that the USDZExporter produces with the original png:

And this is what I get:

Did you check in iOS too? I've seen different bugs in that version of QuickLook compared to the MacOS one.

Hmm, actually... That was the internal model.usda.
The usdz looks like this:

Do we know if usdz support alpha/opacity maps?

Do we know if usdz support alpha/opacity maps?

yes we know, it supports

@base-krchome can you share a usdz file that uses them?

Hi, I've been watching this thread just to see what develops. It seems to me that in terms of using the PNG as-is, we're just waiting for iOS to fix the display issue?
Has anyone tried a different way of using the images as materials? I wonder if there's a way to run the PNG files through some sort of node-based filter right in Blender to actually remove the blank areas in the image from the plane's geometry?
I did try using a PSD file instead of PNG but had the same result.

@mrdoob @Karpulza I hope this will help!
Live link--
https://www.basebros.com/usdz-test.html
Usdz file link---
https://www.basebros.com/assets/test.usdz
Glb file link---
https://www.basebros.com/assets/test.glb
I created this cube via Blender and converted glb to usdz with macos terminal. You can download glb or usdz file and review shading parts for it.

@sercandemirtas That file doesn't seem to be transparent in MacOS 🤔

@base-krchome can you share a usdz file that uses them?

So I have the same issue. Oddly enough, it seem that the usdz-model works great on MacOS, it's only on IpadOS and IOS where
a. the transparency is black instead of cut-out/transparent and
b. it seems there is some issues with lightning (the models are are considerably darker on IOS than MacOs).
The biggest issue is definitely a.
I have attached both the USDZ and the GLTF and a screenshot of the USDZ on MacOs (trans. working) and IpadOS (transp. not working).
Any kind of help is greatly appreciated, as this has become kind of a roadblock to my project 😓
MacOs

IOS

gltf and usdz.zip

@JanSob How were these USDZ/glTF created? Do you get different results when the USDZ is auto-generated for quick look?

@JanSob How were these USDZ/glTF created? Do you get different results when the USDZ is auto-generated for quick look?

These were created with the threejs GLTFexporter/USDZexporter, but the result is absolutely identical (black instead of transparent) in model-viewer if I don't use the [IOS-Source] and let model-viewer auto-generate.

@JanSob Got it, that makes sense since auto-generation also uses USDZExporter.

To summarize; when we use model-viewer auto-generate to usdz, png images cannot be fully converted. Transparent parts appear black. But when we convert glb to usdz via macos terminal and use ios-src on model-viewer there is so problem. Any planned update on this issue? @elalish

To summarize; when we use model-viewer auto-generate to usdz, png images cannot be fully converted. Transparent parts appear black. But when we convert glb to usdz via macos terminal and use ios-src on model-viewer there is so problem. Any planned update on this issue? @elalish

@elalish Hey! any news on this situation ?

You'll probably find better updates on the three.js github for this. USDZ is a strange beast, so there will always be some gaps. Hopefully this can be fixed.

Looks like this was fixed.


Dynamic Routing Static Routes: Weird behaviour when template missing

If you're using dynamic routing, define a static route, and don't include the template
To Reproduce
This is weird and fiddly. It requires having a broken site setup. Reproducing also depends on development vs production mode and the order in which pages are loaded!
Setup:

Create a routes file that looks something like this:

routes:
/: home
/about/: about

Use the casper theme, but add a template called "about.hbs" that contains this:

{{!< default}}

{{> "site-nav"}}

About page

This means we have a routes file that references a home.hbs template, but that template doesn't exist.
Reproduce

Start Ghost in development mode:
Open the home route: / and see just a footer - the home template is missing, and so the default.hbs is rendered on it's own.
Open the /about/ route and see a header, footer and the words "About page"

Everything seems OK.

Start Ghost in production mode:
Open the home route: / and see just a footer  - exactly the same as last time.
Open the /about/ route, and you'll see a page with no CSS!

Last one...

Stop Ghost & Start it in production mode again (stop-start is important):
This time, visit /about/ first, it'll look as it did in dev mode
Then visit / and you'll see "500 Cannot read property 'match' of undefined"

I setup my routes.yaml, and I forgot to make a home.hbs template. I'm expecting my about page to work correctly, and I expect something sensible like a fallback or an error to happen on the home template.
Technical details:

Ghost Version: master

It took me a really long time to figure out the repro case for this one, but now that I have it makes some sense. Here's what's happening:
Originally, the default fallback template was always index.hbs, but for static routes that almost always results in Ghost throwing the following unhelpful error:

400 [index.hbs] The {{pagination}} helper was used outside of a paginated context. See https://ghost.org/docs/api/handlebars-themes/helpers/pagination/.

(this doesn't happen on casper, because casper doesn't use {{pagination}}, but it does on most themes).
index.hbs is meant to be a listing page, and static routes are never going to have lists of posts associated with them (that would be a channel) so, it makes no sense to fallback to index.
In https://github.com/TryGhost/Ghost/commit/07c72d735e8326be8aa633239b7fb782dba17ba6#diff-475c1d14a4a529809113e36dd6e3bf48, the default fallback was changed to default.hbs, as this would render a header and footer, and nothing else, be a fairly obvious problem etc etc. It seemed like a sensible solution.
However, although this is fine in development mode where templates don't get cached, in production mode it causes the 2 problems seen above. In the case that you load default.hbs as a template (e.g. load it as a fallback template for / in the repo cases) before loading it as a layout, it breaks the layout of all other pages that use default.hbs.
In the case that you load a page that uses default.hbs as a layout first, (e.g. the correct /about/ route in the repro cases) when you come to try to use it as a template file, it throws a weird "Cannot read property 'match' of undefined" error.
This is probably, technically, a bug in express-hbs, that template files can't be used interchangeably as templates as layouts.
However, it's also weird behaviour on our part, IMO. If I setup a static route, which is a 1:1 mapping between a route, and a template, and I load that route but the template is missing, rather than falling back or trying to do something semi-ok, we should just output a simple error!

I have a fix for this ready for once the v3 branch is cut.

Assume you have a route.yaml file something like:
    routes:
      /: home

In Ghost v2, if you don't have a home.hbs template, Ghost falls back to using the default.hbs file if it's available. Most themes have a default.hbs, so this mostly works.
However this file is a layout file, depended on by other templates, not a template file itself. In production mode, using the default.hbs as a template causes weird, intermittent layout issues depending on which order pages are loaded. Due to the caching in express-hbs.
In Ghost v3, we will throw a 400 error for missing template files instead of having a fallback.
E.g. for the example above, if there is no home.hbs file, navigating to '/' would throw the error 'Missing template home.hbs for route "/".'

This bug is fixed in the v3 branch, closing.

Hi, so I came across this issue while looking for an issue which I think is very similar -- and actually causes the same issue and is reproducible the same way as your "last one..." -- but didn't get really resolved by your commit, which is expected.
So basically, the exact same exception (for similar reasons I believe) is thrown if an .hbs file is being used both as a template and as a layout. The reason why I had this situation is that I was using a single .hbs file as a base template for both a full page but also included it in another page, this was done to avoid duplicating code.
The solution was to replace the template usage (in my routes file) by a new template file which only includes my base .hbs file. However, it was really hard to figure out the reason for this issue and it took me a while and a lot of exploration of the source code to understand this issue.
Since I don't think my use case is really unreasonable, I would really advice to throw some more helpful message if this "class" of errors happen rather than fixing each possible cause (seems to be many way to trigger this same problem).
Otherwise, thanks for making this great project open source, it rocks!

This is a really interesting report, thanks!
The underlying issue was reported here: https://github.com/TryGhost/express-hbs/issues/161
Will have a think about where the best place to fix it would be so that, as you say, there's a better error.

Hello, I came across this thread searching for the {{pagination}} helper error which I see in the console when I navigate to my homepage which I have set up as a static route.
[2020-07-17 12:43:12] ERROR "GET /" 400 426ms
[home.hbs] The {{pagination}} helper was used outside of a paginated context. See https://ghost.org/docs/api/handlebars-themes/helpers/pagination/.
I am also getting a 404 Page Not Found in the body area of my homepage.
I followed the tutorial and the examples from the forums and ended up with a routes file:
routes:

  /:
    data: page.home
    template: home

collections:
  /blog/:
    permalink: /blog/{slug}/
    template: index

taxonomies:
  tag: /blog/topic/{slug}/
  author: /blog/author/{slug}/

I have to admit that I am an absolute novice with hbs, and don't fully understand the difference between templates and layouts.
From this thread I gather that I am doing something wrong.
I'm running the docker ghost image with:
docker run -d --name some-ghost -e url=http://localhost:3001 -p 3001:2368 ghost
(So that likely is in development mode)
My plan was to create a homepage for the site. And as a starting point, to check that it worked I just duplicated the index.hbs -> home.hbs . I was happy with replicating the landing/ blog index page of the site on the homepage as well, as the first step.
This is what both of them look like. I see the pagination there, but I am not sure why it wouldn't work just like it does on the blog index page.
{{!< default}}

{{> loop }}

{{ pagination }}

The default.hbs looks like:
<!doctype html>

{{> head }}

    {{> header }}

          {{{ body }}}

          {{> sidebar }}

    {{> footer}}

  {{ ghost_foot }}

Is the issue that I am pulling in the default.hbs into the homepage?
This has been a tough issue to deal with, because from the tutorials/forum postings, I've seen a few solutions where some people have solved this with creating a /home Page in the admin panel. (I tried with and without, still same problem).
I've also tried the above combinations with removing the data: page.home from the routes file as some people mentioned that fixes their 404 issues. (From my understanding, if you specify only the template, the entire page must be created via code as part of the theme, whereas using the data: page.home allows you to create the page in the admin panel, and use the home template from the theme to style it).

Quick update:
With the following routes file (same as above, but reposting here for reference):
routes:

  /:
    data: page.home
    template: home

collections:
  /blog/:
    permalink: /blog/{slug}/
    template: index

taxonomies:
  tag: /blog/topic/{slug}/
  author: /blog/author/{slug}/

And the same default.hbs as my previous post.
But by changing my home.hbs to (removed the loop and pagination):
{{!< default}}
The result is that I no longer get the 404 error in the body (not sure why), or the pagination error in the console (which is expected since I've removed that from the hbs).
I also have a published /home Page created in the admin panel.
However, I do not see the contents of the page. (I see the header, footer and sidebar, but the main content area is blank).
My apologies if this is entirely because I am a novice and everything is working as expected, and this is something I need to figure out be learning more about hbs.
I thought it would work because the default.hbs contains the {{{ body }}}

@ErisDS Apologies, my hope was to add additional context to what appeared to be the similar issue.


feat: support for all backend api types and code refactoring in cosmosdb module

Description

If you haven't already, read the full contribution guide. The guide may have changed since the last time you read it, so please double-check.
Enable GitHub Worksflows in your fork to enable auto-generation of assets with our GitHub Action.
To trigger GitHub Actions after auto-generation, add a GitHub PAT as a secret in your forked repository called PAT.
Adding a new module

[ ] A proposal has been submitted and approved.
[ ] I have included "Closes #{module_proposal_issue_number}" in the PR description.
[ ] I have run brm validate locally to verify the module files.
[ ] I have run deployment tests locally to ensure the module is deployable.

Updating an existing module

[ ] This is a bug fix:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[x] I have run brm validate locally to verify the module files.
[ ] I have run deployment tests locally to ensure the module is deployable.
[x] I have read the Updating an existing module section in the contributing guide and updated the version.json file properly:

[ ] The PR contains backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json.
[ ] The PR contains backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[x] The PR contains breaking changes, and I have bumped the MAJOR version in version.json.

[x] I have updated the examples in README with the latest module version number.

I realized we didn't have any guidance about using nested bicep files, so I have proposed updates to the contribution guide #325
but lets relocate the nested files into a single directory 'modules'. Also, where you have a single file in the directory, let's just rename the file to the directory name. Having lots of files named 'deploy.bicep' makes it a little harder to keep track of.

I realized we didn't have any guidance about using nested bicep files, so I have proposed updates to the contribution guide #325
but lets relocate the nested files into a single directory 'modules'. Also, where you have a single file in the directory, let's just rename the file to the directory name. Having lots of files named 'deploy.bicep' makes it a little harder to keep track of.

Thank you very much @dciborow for the review comments. Let me make the changes as you mentioned.

The added content looks great. Let's reorganize the nested bicep files like the rest of the modules

hi @dciborow , I have moved the cosmosdb related files under modules folder. Should I move nested_rbac.bicep and nested_privateEndpoints.bicep files which are under .bicep folder to the modules folder?

hi @dciborow can you please have a look into this PR. Let me know in case any further changes are required.


[Feature Request] Use Likelihood instead of Ratios for measuring luck

"Your Global Rank" metrics for comparing your luck to others (assuming untampered data) aren't great. "Luck" - isn't rigorously defined, but lets look at two examples.
User 1 - Makes exactly 2 wishes. on their account.  They then quit the game forever.
User 2 - Makes 60 wishes. They get 20 3-stars, 20-4 stars, and 20 5-stars. Of those 20 5-stars, they lose 50:50 only once but win it 18 times.
Who is luckier?
User 1 has an average 5 star pity of 2, an average 4 star pity of 2, and a 100% 50:50 win rate.
User2 has an average 5 star pity of 3, an average 3 star pity of 3, and a 95% 50:50 win rate.
By using ratios as a metric for luck, User 1 is considered luckier in both 50:50s and star pities.
Looking at the odds:
User 1-  nothing remarkable. Ignoring the 4 star, there was around a 1.2% chance of getting a 5 star in those two wishes. And a 50% chance to win 50:50. One in every 167 accounts that makes two wishes and quits will get the same 5star and 50:50 stats.
User 2- won 18 of 19 50:50s, about 1 /25000 odds. Universe defying average pity of 3 across their many 5-stars.
The above example was extreme, but highlights the flaw. Using ratios of occurrence, on data sets of different sizes, can make small datasets look many standard deviations out compared to large ones. Additionally, there is an issue where an account with pity built up will be diluting their ratios compared to accounts that upload immediately after getting 5 stars.
The tool used in probability/statistics is called Likelihood.

Thanks for the response. The math being used is sound, and I'm happy to try to explain things. I really think this is a much better way to compute luckiness scores then using the current ratios. I'd love to see it used.
A PDF - probability distribution function - is a curve representing where on the X-axis users fall. The area under the curve is 1, or 100%. It's the orange histogram on the global wish tallies. What percentage of samples have this value of X?

A CDF - or cumulative distribution function - is the integral, or cumulative sum, of the PDF. For this value of X, what percentage of users had this value or less? The CDF at the highest X value will be 100%, and the function never decreases as X grows.
The binomial distribution is the PDF of flipping coins. The number of coin flips is maximum X value, the number of coin flip wins is on the X axis, and the percentage of times you would win X of those flips is the Y axis.
A convolution is a math operation that's a little hard to explain. It's a fancy form of multiplication. While independent probabilities multiply, independent distribution convolve.
So all I'm really doing in the code is taking the wish PDF, convolving it a lot, summing up terms to get the CDF, and asking how many users did better or worse. For 50/50 luck and 75/25 luck, I'm using factorials (and logrithms for numerical stability) instead of convolving because the binomial distribution has concise equations that are much faster than convolving.
I might add a new function which combines 50/50 and pity. This can be done by averaging the 5 star wish PDF with its own self-convolution. The result will be the PDF for number of wishes to get a limited 5-star. And then current function can be used for how lucky are you at getting limited 5-stars (not just 5-stars).
While each users' score can still be compared with others, it shouldn't really be needed anymore. The PDFs provide a theoretical community. The downside of what I'm doing is that the wish PDF needs to be known. So I've kinda just gone by the adding 6% formula that matches soft pity well.


server: Add channel handling for location channel ([MS-RDPEL])

Quoting the main commit here:
With the location channel, an RDP server can redirect the location of
the user from the client side to the server side.
The PDUs are almost the same as in the documentation, except for the
encoded types, these ones are here already parsed.
Optional values are accessed via pointers. If the pointer of a value is
NULL, then that value was not supplied by the client side.

I was able to successfully test the following PDUs:
PDUTYPE_SERVER_READY
PDUTYPE_CLIENT_READY
PDUTYPE_BASE_LOCATION3D
I could not check the following PDUs, since I did not receive them:
PDUTYPE_LOCATION2D_DELTA
PDUTYPE_LOCATION3D_DELTA
mstsc only advertised version 1.0.0, so I got lesser data than wanted, but at least it worked.
As mentioned on the Matrix channel, there are quite some things wrongly documented, like the NON-optional flags value in the PDUTYPE_SERVER_READY PDU, or the non-optional speed value, that rather looks optional, etc..

@freerdp-bot test please


[DOCUMENTATION]:syntax error in documentation

Describe what you want
Navigating to the select page there's a syntax error
await db.select({
value: sqlcount('*')).mapWith(Number)
}).from(users);
solution
await db.select({
value: sqlcount('*').mapWith(Number)
}).from(users);

Found the exact place where AA-Arnold found this issue: https://orm.drizzle.team/docs/select#aggregations-helpers.


WM | Nastaran Kh | Module-User-Focused-Data | WEEK 1

Learners, PR Template
Self checklist

[x] I have committed my files one by one, on purpose, and for a reason
[x] I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
[x] I have tested my changes
[x] My changes follow the style guide
[x] My changes meet the requirements of this task

Changelist
I fixed Html tag and some closing tags.

added the label

Hi there @nasiflower . We're looking for your coursework, please! :) Take a look at https://github.com/CodeYourFuture/Module-User-Focused-Data/pulls to see what everyone else is doing. Thanks!

Hi Sally,
I fixed and send new PR .I appreciate if review my work again. thanks
https://github.com/CodeYourFuture/Module-User-Focused-Data/pull/271


Music Fragment is crashing

How to reproduce
Open music fragment and then crash
Expected behavior
Open music fragment and it will not crash

Can you describe more about the crash? Because I am not facing a crash. And I think music list is not coming in that fragment,

@abkoradiya do you have any music files? if no then download it then open the music fragment and then it should crash it by now.

But where you have call that function for retrieve music files?

getMusicList function from MusicViewModel not called anywhere.

But where you have call that function for retrieve music files?

getMusicList function from MusicViewModel not called anywhere.

It's getting from live data

But it is not used anywhere?

Have you checked this?

Issue solved by #25


Break point debugging in tests

Is it possible to run the plugin in debug mode to enable stepping into tests?

It appears this is already working with the legacy debug mode.


Odd trapezoid-like underline on active tab in Tabs component

Hello,
Would the desired behaivor look like this?

@monteri It should reflect what's shown in the Figma for the Tabs component here, which matches the screenshot shared above by @lemondevxyz :


Fix/fix setup does not work bug

PR-Codex overview
This PR adds a new network field to mutations, updates the version of db3.js, fixes a typo in the cd.yml file, and makes various changes to the Rust codebase.
Detailed summary

Added a network field to mutations in db3_mutation_v2.proto.
Updated the version of db3.js in sdk/package.json to 0.3.13.
Fixed a typo in github/workflows/sdk_cd.yml.
Removed unnecessary code in src/node/src/indexer_impl.rs.
Modified src/node/src/mutation_utils.rs to parse u64 fields from strings.
Added /console and /welcome endpoints to docker/start_localnet.sh.
Modified src/storage/src/ar_fs.rs to use Base64::from_utf8_str instead of Base64::from_str.
Added a network parameter to MutationStore functions in src/storage/src/mutation_store.rs.
Added logging to src/node/src/storage_node_light_impl.rs.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Codecov Report

Merging #514 (b4e515e) into main (96c449c) will increase coverage by 0.03%.
The diff coverage is 35.29%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #514      +/-   ##
==========================================
+ Coverage   60.39%   60.42%   +0.03%
==========================================
  Files          71       71
  Lines       14046    14050       +4
  Branches       60       60
==========================================
+ Hits         8483     8490       +7
+ Misses       5563     5560       -3

Flag
Coverage Δ

rust
60.42% <35.29%> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/node/src/indexer_impl.rs
0.00% <ø> (ø)

src/node/src/mutation_utils.rs
29.44% <0.00%> (-0.37%)
:arrow_down:

src/node/src/storage_node_light_impl.rs
0.00% <0.00%> (ø)

src/storage/src/ar_fs.rs
0.00% <0.00%> (ø)

src/storage/src/meta_store_client.rs
16.43% <ø> (ø)

src/storage/src/mutation_store.rs
68.59% <100.00%> (+0.30%)
:arrow_up:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix types: support enums, make DeepRequiredObject limited to object

Fixes #78

Make DeepRequiredObject strictly limited to object types so it doesn't unwrap primitive types
Update UnboxDeepRequired to check for objects and arrays before checking for primitives
Move TypeScript dependency down to idx package

It could be better if you add a tsconfig.json file and enable "strict": true .

The tests are running in strict mode:https://github.com/facebookincubator/idx/blob/361d07e4979cf7b2b53ad79481411dc1b11dc96a/packages/idx/package.json#L17

LGTM

Thanks, @mohsen1. I'm about to merge this and cut v2.5.5.
But before I did so, I wanted to clarify the next steps:

Does your expectation about v2.5.5 match mine?
After cutting v2.5.5, do we want to add back bigint and cut v3.0.0?

Thanks!

There is no need for for bigint anymore. Issue was resolved by forcing DeepRequiredObject to only work on object and passthrough the primitives.
I think we can release this as a patch version.
Thanks for looking into this!

Awesome, thanks for clarifying.