FUSE integration error

Error: FUSE integration is not enabled at On.q.j.e.fs.fuseStatus.e.fs.fuseStatus.kextStarted.Promise (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:2560159) at new Promise () at On (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:2560138) at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:1223901 at A (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:1224002) at T (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:1221912) at F (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:1222689) at file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:1224636 at A (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:1224659) at T (file:///Applications/Keybase.app/Contents/Resources/app/desktop/dist/index.bundle.js:1:1221912)
my log id: 6627585f8ea2f99054cfbf1c

The error here is really weird, it seems to be complaining that a file doesn't exist, which usually comes with the distribution:
/Applications/Keybase.app/Contents/Resources/KeybaseInstaller.app/Contents/Resources/kbfuse.bundle
...
Fuse: Install Error: The file "kbfuse.bundle" doesn't exist.

Maybe reinstalling Keybase will help?  Not sure how this is possible.

I was able to get it to work.
FUSE for macOS was listed in my System Preferences but reported that it wasn't installed when I accessed it. I downloaded it from https://osxfuse.github.io/ and installed it. Next time I launched Keybase, everything was fine.
This issue started after I formatted my disk and reinstalled from a Time Machine backup.


Can't get mongo to create root user on initialization

I'm attempting to start mongo in Kubernetes, but I have the same issue in regular docker.  I can't get the MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD to work if I pass custom commands.  I'm passing custom commands so that I can set replSet, oplogSize, wiredTigerCacheSizeGB, etc.
This successfully creates the root user.
docker run -d -e MONGO_INITDB_ROOT_USERNAME=mongoadmin -e MONGO_INITDB_ROOT_PASSWORD=secret mongo:4.0.18
...
Successfully added user: {
        "user" : "mongoadmin",
        "roles" : [
                {
                        "role" : "root",
                        "db" : "admin"
                }
        ]
}

This fails to produce any success method, and the user is not created.
docker run -d -e MONGO_INITDB_ROOT_USERNAME=mongoadmin -e MONGO_INITDB_ROOT_PASSWORD=secret mongo:4.0.18 /usr/bin/mongod --wiredTigerCacheSizeGB 1
Is there some command line parameter I'm missing that is causing it to skip the initialization?
Options reported on the first are;
options: { net: { bindIp: "<IP_ADDRESS>", port: 27017, ssl: { mode: "disabled" } }, processManagement: { fork: true, pidFilePath: "/tmp/docker-entrypoint-temp-mongod.pid" }, systemLog: { destination: "file", logAppend: true, path: "/proc/1/fd/1" } }

.. on the second;
options: { storage: { wiredTiger: { engineConfig: { cacheSizeGB: 1.0 } } } }

The entrypoint only does its initialization stuff if you are running mongod not /usr/bin/mongod, so the user creation part is skipped.
https://github.com/docker-library/mongo/blob/112494a28df43cd3c867f7487bcb825d9e176a7c/docker-entrypoint.sh#L192
Use either mongod or just leave it off entirely and just use the flags and mongod will be added for you:
$ docker run -d \
-e MONGO_INITDB_ROOT_USERNAME=mongoadmin \
-e MONGO_INITDB_ROOT_PASSWORD=secret \
mongo:4.0.18 --wiredTigerCacheSizeGB 1

https://github.com/docker-library/mongo/blob/112494a28df43cd3c867f7487bcb825d9e176a7c/docker-entrypoint.sh#L4-L6

Thank you


ssldump: 1.1 -> 1.4

Motivation for this change
Update to latest upstream release 1.4
Change log: https://github.com/adulau/ssldump/blob/master/ChangeLog
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 136024 run on x86_64-linux 1

1 package built:

ssldump

@fabaff Thank you for the update.


Running ng test --cc fails for module="es2015" in tsconfig.spec.json

Bug Report or Feature Request (mark with an x)
- [X ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.1
node: 6.10.1
os: darwin x64
@angular/animations: 4.0.3
@angular/common: 4.0.3
@angular/compiler: 4.0.3
@angular/core: 4.0.3
@angular/forms: 4.0.3
@angular/http: 4.0.3
@angular/platform-browser: 4.0.3
@angular/platform-browser-dynamic: 4.0.3
@angular/router: 4.0.3
@angular/cli: 1.0.1
@angular/compiler-cli: 4.0.3
Repro steps.

ng new testProject
In fresh project, update tsconfig.spec.json to have: module="es2015"
This is needed as a temporary workaround for issues reported here: https://github.com/angular/angular-cli/issues/5651
The log given by the failure.

ng test --cc throws the following errors:
ERROR in ./src/polyfills.ts
Module build failed: SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' (38:0)
at Parser.pp$5.raise (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:4443:13)
at Parser.pp$1.parseStatement (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:1875:16)
at Parser.parseStatement (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:5795:22)
at Parser.pp$1.parseBlockBody (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:2262:21)
at Parser.pp$1.parseTopLevel (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:1772:8)
at Parser.parse (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:1667:17)
at Object.parse (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:7163:37)
at Instrumenter.instrumentSync (/Users/orazyto/Documents/testProject/node_modules/istanbul-lib-instrument/dist/instrumenter.js:121:31)
at Instrumenter.instrument (/Users/orazyto/Documents/testProject/node_modules/istanbul-lib-instrument/dist/instrumenter.js:176:32)
at Object.module.exports (/Users/orazyto/Documents/testProject/node_modules/istanbul-instrumenter-loader/index.js:25:25)
ERROR in ./src/test.ts
Module build failed: SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' (2:0)
at Parser.pp$5.raise (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:4443:13)
at Parser.pp$1.parseStatement (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:1875:16)
at Parser.parseStatement (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:5795:22)
at Parser.pp$1.parseBlockBody (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:2262:21)
at Parser.pp$1.parseTopLevel (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:1772:8)
at Parser.parse (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:1667:17)
at Object.parse (/Users/orazyto/Documents/testProject/node_modules/babylon/lib/index.js:7163:37)
at Instrumenter.instrumentSync (/Users/orazyto/Documents/testProject/node_modules/istanbul-lib-instrument/dist/instrumenter.js:121:31)
at Instrumenter.instrument (/Users/orazyto/Documents/testProject/node_modules/istanbul-lib-instrument/dist/instrumenter.js:176:32)
at Object.module.exports (/Users/orazyto/Documents/testProject/node_modules/istanbul-instrumenter-loader/index.js:25:25)
Desired functionality.

I would like to be able to run tests, AND collect code coverage for my project. If I don't set module="es2015", I'm getting build failures as described in https://github.com/angular/angular-cli/issues/5651. However, this completely breaks code coverage collection.
Mention any other details that might be useful.

Using module="es2015" isn't a real fix for the problem at hand, your browser might understand ES2015 modules but tooling (like the code coverage karma reporter) might not support it.
In this case the solution is waiting for a fix for #5651.

Do you know when the fix is available? my CC is breaking too :(

I have same error with --code-coverage option when run ng test with module"="es2015" config in tsconfig.spec.json


Cesium工程无法导入echarts

Version
4.2.1
Steps to reproduce
我用如下语句在cesium中想要实现动态加载echarts:
require.config({paths:{‘echarts’:./echarts-4.2.1/src/echarts’} , shim:{‘echarts’:{exports:’echarts’}}});
require.config([‘echarts’],function(echarts){var mycharts=echarts.init(div);})
火狐浏览器中报错SyntaxError:import declaration may only appear at top level of a module
TypeError:echarts is undefined.
What is expected?
成功引入
What is actually happening?
我用如下语句在cesium中想要实现动态加载echarts:
require.config({paths:{‘echarts’:./echarts-4.2.1/src/echarts’} , shim:{‘echarts’:{exports:’echarts’}}});
require.config([‘echarts’],function(echarts){var mycharts=echarts.init(div);})
火狐浏览器中报错SyntaxError:import declaration may only appear at top level of a module
TypeError:echarts is undefined.

Please use dist file but not src.

Please use dist file but not src.

I had tried this one before. But another error showed: Reference Error: myCharts is not defined.

@100pah I had tried this one before. But another error showed: Reference Error: myCharts is not defined.

Please use dist file but not src.

@100pah I had tried this one before. But another error showed: Reference Error: myCharts is not defined.

@100pah I ran line which is :’ echarts.title=“zzzz”;’ in callback function. It did worked. But if I ran as your tutorial taught me, it failed. Init(div) is illegal. I don’t know why.

IMO your subsequent errors were not related to echarts at all. Please read a bit more about JavaScript and HTML.


fix: Extends the interface of WorkloadBase.

Description
Adds a few fixes:

Adds stop function in WorkloadBase
Refactors _set_ca_certificate_secret_in_peer_relation in the test

Checklist:

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

Related to the PR title, this is a fix so the prefix should be fix:  and please be specific about what the fix is, Adds fixes is quite generic to any fix related change.

Good point, title is updated.


pack same CSS media query rules into one media query rule

.foo {
  width: 10px;
}

@media (min-width: 640px) {
  .foo {
    width: 150px;
  }
}

.bar {
  width: 20px;
}

@media (min-width: 320px) {
  .bar {
    width: 200px;
  }
}

@media (min-width: 640px) {
  .bar {
    width: 300px;
  }
}

Output:
.foo{width:10px}@media (min-width:640px){.foo{width:150px}}.bar{width:20px}@media (min-width:320px){.bar{width:200px}}@media (min-width:640px){.bar{width:300px}}

But we can merge @media (min-width:640px). https://github.com/hail2u/node-css-mqpacker he knows how to do it. Maybe add it to the kernel, or to implement the same behavior in one of the plugins. Also pay attention to the option sort.

This has been wanted for a while. Hopefully we can look into this for v4.
https://github.com/ben-eb/cssnano/issues/49#issuecomment-137680616

It would be really cool if it also could optimize media queries, if you were nesting them using SASS.
E.g.
@mixin gutter {
  margin-right: 1rem;

  @media (min-width: 320px) {
    margin-right: 2rem;
  }
}

.column {
  @media (min-width: 768px) {
    @include gutter;
  }
}

// Compiles to:

@media (min-width: 768px) {
  .column {
    margin-right: 1rem;
  }
}

@media (min-width: 768px) and (min-width: 320px) {
  .column {
    margin-right: 2rem;
  }
}

In this case, the only part necessary here would be:
@media (min-width: 768px) {
  .column {
    margin-right: 2rem;
  }
}

I understand this is hard to implement and needs a lot of testing. But I haven't found anything like this anywhere so it would be a killer.

Why not use https://github.com/hail2u/node-css-mqpacker?

I built a tool that merges media queries: http://www.spekachu.com/css-media-query-merger/

I think this optimization could be problematic in some cases. If in your example an element has both classes foo and bar the styling would change if the two @media (min-width: 640px) get merged.

In addition to media queries, I think it'd be great to be able to merge @supports rules as well!

@soluml cssnano appears to already do this, and I wish it didn't as it is breaking something I am currently working on. I would like to be able to turn off mergeRules for @supports.

https://github.com/hail2u/node-css-mqpacker
and I can offer
https://github.com/dutchenkoOleg/sort-css-media-queries

@iandevlin got a failing test case?

@andyjansson I had, and now I cannot find it. I will update once I find it again.

Merging the two (min-width: 640px) media queries will break an element having class="foo bar" for widths between 320px and 640px.
I've recently changed cssnano's policy to reject unsafe optimizations going forward. See this issue for more information: https://github.com/ben-eb/cssnano/issues/424

It can be safe in many cases. Example:
@media print{
  h1{
    display:block
  }
}
@media print{
  h1{
    color:red
  }
  h2{
    padding:10px
  }
}

Also i can provide more examples

I have a rewrite which does this, @evilebottnawi.

What is the status of this issue?

@ogonkov PR welcome

It should go to advanced optimizations preset?

@ogonkov no, we need improve postcss-merge-rules logic for these, feel free to send a PR

Frankly, we should probably kill the partial-merge thing in postcss-merge-rules. There are too many bugs in it.

@andyjansson what bugs? Partial merge it is great feature, all css minificators support this, and disable this decrease quality of minification, we need fix problem

Fine, so fix it. There are a ton of hard to fix bugs around the functionality.

@andyjansson Please do not demotivate other developers. It's always easy to say that everything is bad than to do something, just create examples of problems and I will ask for help from other developers. You are not the only one working in OSS and not first who find bugs and problems.

It'd be better to just scrap it for now IMO.

Maybe just delete the project? No projects - no problems.

postcss-merge-rules seems doesn't support of managing @media?

Why not add node-css-mqpacker?

@ogonkov

it is works only with width
it is not safe in same cases
need more tests

Anyway feel free to send a PR with implementation and tests :+1:

Can we branch this out to merging adjacent preprocessors in general? I'm handling the sorting and logic on my own, but as long it's identical and adjacent it's 100% safe. I'd have to dive in cssnano to see how the logic works, but these should be collapsed:
@media (width: 40px) {
  .red { color: red; }
}
@media (width: 40px) {
  .green { color: green; }
}
@media (width: 40px) {
  .blue { color: blue; }
}
@supports (var: --var) {
  .white { color: white; }
}
@supports (var: --var) {
  .black { color: black; }
}

into this:
@media (width: 40px) {
  .red { color: red; }
  .green { color: green; }
  .blue { color: blue; }
}
@supports (var: --var) {
  .white { color: white; }
  .black { color: black; }
}

It seems like a good initial start until we can consider more complicated operations (like performing a second pass to then compress further).

@evilebottnawi Your original comment either has a misunderstand of media query specificity, has a bad example, or is asking for something that cssnano doesn't do even without media queries. You can't move .bar up into min-width:640px. It wouldn't be safe. Media queries don't increase specificity. That means the rules are executed in the order they are read. If you move .bar up into the min-width: 640px it'll get overridden by the .bar rule at root.
I made a Codepen to show this: https://codepen.io/shortfuse/pen/BbVgPK
You would have to hold onto .foo and carry it along for the next three rules to the next matching media query. I don't think there's any logic in cssnano that goes that deep. You're basically talking about aggressive look-aheads which could probably have some hard performance hits.  It would result in this:
.foo {
  width: 10px;
}

// Removed here

.bar {
  width: 20px;
}

@media (min-width: 320px) {
  .bar {
    width: 200px;
  }
}

@media (min-width: 640px) {
  // Attached here
  .foo {
    width: 150px;
  }
  .bar {
    width: 300px;
  }
}

The problem is cssnano doesn't merge non-adjacent rules. It doesn't squash
  h1{display:block}
  h2{display:flex}
  h1{color:red}

into
  h1{display:block;color:red}
  h2{display:flex}

That's definitely something we can explore and I don't mind hashing that out, but that's covered here: https://github.com/ben-eb/postcss-merge-rules/issues/7#issuecomment-174746955
I got a PR ready for adjacent rules, but I don't know if I should file another issue since it wouldn't really fix what the original comment is asking.

It was just example (maybe some incorrect), idea to create plugin what allow to merge media at rules, you can send a PR and we can continue discussion with code (it is better)

Hi there, does this project dead?

well then I found this , solved the problem.
https://github.com/hail2u/node-css-mqpacker

Hi, This project is not dead .
we are looking in the project you mentioned, if it works safely with cssnano, we can think it adding it in advanced preset,
Now now, you can always use postcss plugins in postcss config along with cssnano

There is a more universal approach, which is the implementation of merging of non-adjacent rules. https://github.com/jakubpawlowicz/clean-css does this.
I can take a crack at non-adjacent. clean-css doesn't handle some rules as well as cssnano, so it's nice to have options.


Exclude temporary files from local-dev-server for git commits

What is missing from the application? Please describe.
The newly introduced local development server for on-platform LWC creates a new local folder within DX projects. That folder holds temporary data.
Describe the solution you'd like
The folder should be excluded from git commits, as the data is only temporary. For that the .gitignore needs to be updated exactly as in this pull request.

Implemented in Winter'20 release.


Read write functionality with hdf5

Adds read write functionality with hdf5 in both io.py and lightcurve.py.

Changes Unknown when pulling 4530ef459f3f5e8841104b9dd6e2600ed8515c6a on usmanwardag:hdf5_readwrite into ** on OrkoHunter:io_readwrite**.

Changes Unknown when pulling 597582bb11ef959768df1aacc55b1f4f4b82a329 on usmanwardag:hdf5_readwrite into ** on OrkoHunter:io_readwrite**.

@OrkoHunter Done. I think it can be merged now.

Awesome !


Add AKS to Azure quickstart

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: dtzar
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sdake
Assign the PR to them by writing /assign @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @dtzar. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

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

I signed it!

@lachie83 - would be great to get your feedback on this update.

@dtzar I've reviewed. PTAL

LGTM @dtzar
One last suggestion though - make the Instructions for AKS: and Instructions for ACS-Engine: text a level 4 (####) heading or simply bold it. Makes it easier to visually distinguish the sections.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dtzar, sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [sdake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: dtzar, sdake
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: frankbu
Assign the PR to them by writing /assign @frankbu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: dtzar, sdake
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: frankbu
Assign the PR to them by writing /assign @frankbu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @frankbu

Please rebase and repush this PR.
Thanks.

@geeknoid @frankbu I've rebased and all CircleCI tests are passing now

This PR re-introduced the code I extracted in #1834 , I will have to remove it again.
Platform specific setup goes in platform-setup.

sorry @andraxylia!  I tried to get all the changes upstream included with the required rebase.

Np, I have a PR in-flight which organizes things even better #1948 .


turn on musl test in CI

Codecov Report

Merging #2069 (443ad30) into main (f4e7e30) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2069   +/-   ##
=======================================
  Coverage   64.81%   64.81%
=======================================
  Files         129      129
  Lines       14768    14768
=======================================
  Hits         9572     9572
  Misses       5196     5196


Problem with react-router-dom

Reproduction: CodeSandbox
Error
[Route] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>

Looks like this is a duplicate! Thanks @rschristian


Enable mavenLocal() repository

Maybe I'm not familiar enough with gradle, but why would you disable the local maven repository?

I guess it makes sense on CI to make sure that we only have publish artifacts, but I'm sure we can find a way to disable it when necessary on CI. I would prefer to have it enable for now since we develop a lot with ORM SNAPSHOTS.

I'm not sure why mavenLocal() would be bad, but @Sanne was the one who just added it recently, so probably better to get his opinion. If he went out of his way to do it, it was probably for a reason though.

Ah sorry, I thought it was part of your last PR. I should have checked better.

I'd highly recommend to never use it. The metadata that Gradle offers is much more precise than what the maven structure can offer, and it has no notion of snapshots (which is a good thing - as builds need to be reproducible even during development)
We've been burned by this many times in Hibernate ORM and it's really great what you can do with Gradle without having the state "tainted" by the maven repo.
BTW not having mavenLocal() is just about consuming other dependencies; you can still deploy to the maven local repository to test things from a different Maven project.

I'll close, trust me ... I can share some war stories about this another time.

It's ok, thanks. I will add a more explicit comment, though
On Fri, 22 May 2020, 20:56 Sanne Grinovero<EMAIL_ADDRESS>wrote:

Closed #175 https://github.com/hibernate/hibernate-reactive/pull/175.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hibernate/hibernate-reactive/pull/175#event-3366037080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEIQ5MWNNRV62EVSGTXHE3RS3KIFANCNFSM4NIAPQVQ
.


Maven dependency not found

Hi, this dependency:

io.swagger
openalpr_api
2.0.1
compile

not found on maven central....
please help me
Best Regards
Nelson

Hi, I have the same problem, seems like that dependency does not exists in the maven repo.


Better publicPath in webpack.conf

Setting publicPath of webpack.conf to '/' is unnecessary. This will break the app if served form local file system, or a PhoneGap package.

@zhangxin840 I believe that was originally added because it was required for code splitting. Have you checked that code splitting still works when it's not set?

I'm a bit new to the whole SPA/JS/WebPack/modern webdev kerfuffle, could I be of help somehow? Building with build.assetsPublicPath set to './' the default template (also adding the  component) works just fine and all scripts seem to be built correctly and load. Is that example too simple to test what you believe may break @chrisvfritz ?

@chrisvfritz I set assetsPublicPath to '' and nothing goes wrong(at least in the project).

PublicPath != assetsPublicPath

@LinusBorg Regardless it fixes the problem. I now am able to run my application over file:// with no issues. Everything builds just fine, I can serve the files just fine.

Yes, but we are not discussing assetPublicPath here.

@LinusBorg I think you're losing sight of the problem in favor of the details. In this case @zhangxin840 mentioned the problem explicitly. Changing assetsPublicPath to './' (instead of publicPath) solves the problem and everything seems to work on my end just fine afterwards, which was @chrisvfritz's worry.
In any case, how would I go about reproducing the problem you mentioned? Do you mean LiveReload breaks? Because the change is only applied to the build script, not dev.

when you use vue-router (or change the url history any other way), a relative publicpath (and most likely, also assetPublicPath will break your build.
At least I personally experienced that webpack will try to fetch chunks (from code splitting) relative to the current URL if public path is not absolute - which will fail if you are not in the root.

I use vue-router in my project. I have not touched publicPath, only assetPublicPath. As I said, everything builds and works just fine.

have you used code-splitting?

@LinusBorg I'm using ES6 modules. They compile together just fine.

@LinusBorg This is still a bug and should be reopened. In config/index.js changing build.assetsPublicPath to './' and leaving dev.assetsPublicPath fixes serving over file:/// protocol while at the same time allowing the npm run dev webserver to keep working.
Everything builds correctly in both situations. The files in dist can be used both over file and tested hosting them with python -m http.server and npm's http-server package with no issues found.
I haven't seen an example using code-splitting to test wether it breaks or not. But not working under Cordova is as much an issue.

This is still a bug

I fail to see how a config setting whose default setting does not fit your usecase can be considered a bug.

Everything builds correctly in both situations.

Did you test with vue-router? Because relative asset Paths will break paths when using vue-router in history mode (very popular usecase): When you navigate from '/' to '/users', an asset's path will change with it, i.e. from './logo.png' will now point to  './users/logo.npg' - and the file won't exist at that path, of course.

It's not "my" usecase. It's the default config breaking the file:/// protocol. Whenever it started doing that it became a bug. Not to mention that this not only affects Cordova (currently the only way to deploy Vue as a mobile application, at least until Weex starts supporting it) but pretty sure also affects Electron, another huge platform for cross-platform desktop development.
I'm using vue-router and just tested history mode with nginx. Works perfectly with assetsPublicPath set to './'.

Wegen you build for production, it even tells you that the result is not intended to be used from file://.
It's not a bug. It's a default value that you have to change if you want to do something that the default is bit by ended for.

Well, as explained at the very beginning of this issue, an absolute path is required for code splitting. That's a fact.
If you need a relative path for cordova, no problem . Change the setting, done.

I'd say with quite some confidence that the file:/// protocol is a bigger standard than code-splitting and therefore has more merit as a default.
But even if the default is not changed, even if there's a consensus among all devs that Electron, Cordova, the Principle Of Least Astonishment and standard local development all together matter less than code-splitting, shouldn't it be acknowledged in some place beside this issue (like the message shown on build you mentioned or an alternative build script that supports the norm of file:/// working) that there's a way to build without breaking the mentioned standard?

The question which is the bigger standard is not as important as the question what the default purpose of the template is.
Which is single file web applications, potentially big ones, which need code splitting (we advertise for it in various locations of our docs).
This template is simply not meant for mobile applications first and foremost.
However,, note in the config can never be a bad idea., so I will reopen this issue for that.
But someone else will have to pick up as I'm on vacation for the next ten days.

I can add that note, though first I'd love to hear what other templates people are using and enjoying for mobile/electron. I'd like to add a few alternatives rather than just saying, "No!" 😄

I ran a simple test on the latest template with code splitting and setting assetsPublicPath to './', and everything seems to work fine.  Take a look at https://github.com/asselin/vue-webpack-codesplit-test.
Does this resolve the final concern about changing assetsPublicPath to './' as a default?
Setting assetsPublicPath to './' fixes Cordova, file://, and serving from a higher directory (e.g. building into test/dist and serving test/), so it would be nice to make it the default if it there are no remaining reasons not to.
cc: @LinusBorg @chrisvfritz @mixedCase

Yeah,  guess we should change it.

@LinusBorg Is there anything I can do to help get this change in?

We accept PRs :)

@LinusBorg Submitted PR #541 for this issue.  Also, could you please take a look at PR #530 at the same time?  It fixes a similar type of path issue loading fonts.
Thanks!

@LinusBorg I tested vue-router history mode, and ran into some issues.  If the URL is only 1 level deep (e.g. /index.html or /menu), everything works fine.  If it's 2+ levels deep (e.g. /user/menu), the relative URLs break.
Having said that, I'd still like to make a case for changing the default.

I checked 3 sites that use history mode: Facebook, Twitter, and Blogger.  All 3 sites serve their static assets from absolute URLs from a completely different top level path or domain.  For example, all of Twitter's static assets are served from https://abs.twimg.com, and all of Facebook's are served from https://www.facebook.com/rsrc.php/.  My suspicion is that they did that so that the app servers don't have to serve static resources, and instead they're served by dedicated web servers and/or a CDN.  Since this seems to be common (perhaps best) practice, in production, if you're going to use history mode, you'd wind up changing assetsPublicPath anyway, and not using the default.
I agree with @mixedCase that history mode is used less often than a) serving an app out of a subdirectory (i.e. building to /app/dist and serving /app) b) serving from file:// (especially Cordova)
The template's use of vue-router doesn't enable history mode.  I assume this is done because history mode doesn't work unless you configure your webserver correctly.  IMO, since history mode isn't enabled by default in the template, it's inconsistent to default assetsPublicPath to '/' so that history mode works.  My suggestion is to add a chapter to the documentation "Enabling HTML history mode" that has step by step what to do to make it work (e.g. 1. Change assetsPublicPath  2. Add "mode: 'history'" 3. Configure your server per https://router.vuejs.org/en/essentials/history-mode.html etc.)

Alternatively, if you're concerned about changing the default and breaking support of history mode, how about a question in the template "Enable HTML5 history mode?" that would configure assetsPublicPath to '/' and add mode: 'history' if Yes was selected?

That sounds good so far, but I think there's one testcase still missing:
Lazy-loading a component in a nested route. The reason that this could be a special case is that for lazy-loaded components, styles are not extracted into the seperate .css file - instead they are injected into the page's head section when the component is loaded.
That means that with lazy-loaded routes, you may end up with CSS in your <head> that points to a wrong bakground-image etc.
As I said, paths in webpack can be very tricky... :/

I agree with @mixedCase that history mode is used less often than a) serving an app out of a subdirectory (i.e. building to /app/dist and serving /app) b) serving from file:// (especially Cordova)

To serve from a subdirectory, just change the assetsPath. We should improve the docs for this (no matter what path we take in the end -pun inteded), though, and make it easy to customize it during build with an ENV variable or something.
I don't agree with the sentiment that history mode is used more often. I get nearly zeroi questions about cordova on SO and our forums, and some about subdirectories, but many more about history mode. Also, this template is not built with cordova, electron or any other wrapping technology in mind. It's built for websites first and foremost, and I don't think it would be a good idea to turn it into a "one size fits all" mutant-beast.

That is not to say that we can't switch to relative paths at all - we still ahev to do some tests.
But if relative paths have problems with lazy-loaded routes,

@LinusBorg Thanks for the reply.  I'll take a look at lazy loaded components with assetsPath set to './' and see what's what.
I agree with you that Cordova isn't a focus for this template; I'm working on a Cordova template that I hope to publish soon.
Thinking about this some more, assuming lazy loaded components work, I think that adding a question at creation time about enabling history mode makes the most sense, that way the generated code is consistent.
I'll let you know what I find soon.  Thank you!

assetsPublicPath setting to  './' not working on Cordova when enabling vue-router lazy loading feature(webpack code splitting), unable to load file:/// resource, how to solve this?

Please don't highjack issues to ask questions. I saw you already asked on the forum.

Hi everyone. I also think that this can be somehow improved.
Setting  assetsPublicPath: '', allows for local usage, hosting as a static website and as I see in the comments above, cordova apps.
While   assetsPublicPath: '/', covers more use-cases it forces to use some sort of web server to serve your website.
I think this stuff should be at least very well explained in the docs so it doesn't create confusion

You can solve this problem in the following way (If you are use vue-webpack-template):

In your config/index.js in build options change your assetsPublicPath on "" or "./".
Then in build/webpack.base.conf.js do the next trick in your fonts loaders options ("url-loader" or "file-loader"): {      test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,      loader: 'url-loader',      options: {        limit: 10000,        name: utils.assetsPath('fonts/[name].[hash:7].[ext]'),        publicPath: process.env.NODE_ENV === 'production' ? '../../' : '/'      }    },
And it is not necessary to use mode: "history" in vue-router

These settings are very useful for building applications using Cordova/Phonegap

@AbdullaevTimur this finally worked for me! Thank you!
Just so other who the same setup as mine, you can try his points.
I had the issue:

vue-webpack wrapped in cordova
working fine when app is ran using webpack-dev-server
only the App.vue is displayed , not all my other components called by  when ran using www/dist/index.html --> therefore same behavior for the android build and all other Cordova builds.

I am setting publicPath: "./" but this doesn't work, the generated path is  "/js/...." and it should be   "./js/...."   In the documentation section  it says this is possible but it doesn't work.


uncover: init at 0.0.6

Description of changes
API wrapper to search for exposed hosts
https://github.com/projectdiscovery/uncover
Related to https://github.com/NixOS/nixpkgs/issues/81418

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 186070 run on x86_64-linux 1

1 package built:

uncover


tables.exceptions.NoSuchNodeError: group / does not have a child named /Data

I am trying to run /pylearn2/scripts/datasets/make_svhn_pytables.py, and am running into an issue in that code that uses /pylearn2/datasets/svhn.py
When it goes to create the new data that will be placed in the h5 folder, it looks for a child node that is hard coded to be in group '/' with child name '/Data', and the error shows that the group doesn't have this child name within the tree.
Why is this value hard coded? Does anyone know what will fix the error?
Thank you!
Here's the error and traceback ...

Please ignore the warning produced during this MAT -> Pytables
conversion for the SVHN dataset. If you are creating the
pytables for the first time then no files are modified/over-written,
they are simply written for the first time.

/usr/local/lib/python2.7/dist-packages/pylearn2/datasets/svhn.py:61: UserWarning: Because path is not same as PYLEARN2_DATA_PATH be aware that data might have been modified or pre-processed.
warnings.warn("Because path is not same as PYLEARN2_DATA_PATH "
Traceback (most recent call last):
File "make_svhn_pytables.py", line 33, in
test = SVHN('test', path=local_path)
File "/usr/local/lib/python2.7/dist-packages/pylearn2/datasets/svhn.py", line 89, in init
data = self.h5file.get_node('/', "Data")
File "/usr/local/lib/python2.7/dist-packages/tables/file.py", line 1594, in get_node
node = self._get_node(nodepath)
File "/usr/local/lib/python2.7/dist-packages/tables/file.py", line 1542, in _get_node
node = self._node_manager.get_node(nodepath)
File "/usr/local/lib/python2.7/dist-packages/tables/file.py", line 437, in get_node
node = self.node_factory(key)
File "/usr/local/lib/python2.7/dist-packages/tables/group.py", line 1160, in _g_load_child
node_type = self._g_check_has_child(childname)
File "/usr/local/lib/python2.7/dist-packages/tables/group.py", line 395, in _g_check_has_child
% (self._v_pathname, name))
tables.exceptions.NoSuchNodeError: group / does not have a child named /Data
Closing remaining open files:/data/pylearn2/datasets/SVHN/format2/h5/test_32x32.h5...done

Hi rmr8019,
I wonder if you have managed to solve this issue yet? If you did, what did you do? Because I also encountered the same issue. Thanks!

@vtseng I did solve the issue, but I unfortunately don't remember how exactly I fixed it. I recall deleting the h5 directory that it attempted to make and then re-running the make_svhn_pytables.py function at some point and it seemed to work. .. I wish I could be more helpful than that but I can't seem to remember the specifics.
I just re-ran it again from the beginning and it didn't give me any issues. Did you download the data yourself or use the download_svhn.sh script to do so? If you did it yourself, I would suggest instead to use the script that is provided, by doing the following ...
If you navigate to ../pylearn2/scripts/datasets and run ...
./download_svhn.sh
and then
python make_svhn_pytables.py
I also had to make some changes to my bashrc file ... I added the following lines with vim ~/.bashrc:
export PYLEARN2_VIEWER_COMMAND="eog --new-instance"
export PYLEARN2_DATA_PATH=/data/pylearn2/datasets
export SVHN_LOCAL_PATH=/data/pylearn2/datasets/SVHN/format2/
where the '/data/' part of those paths would be the path on your computer to some pylearn directory where you store the data that comes out of running the two svhn scripts

@rmr8019 I really appreciate your prompt comment. Previously, I downloaded the data on my own and then ran make_svhn_pytables.py (with the PATHs you mentioned).
Following your comment, I also tried running the download_svhn.sh, but still got similar error  " /Data does not have a child named X ".
I wonder if you use Python2.x or Python3.x? Because I'm suspecting this issues results from different version of Python.
Thanks!

@vtseng I'm using Python2.7. Did you also try to delete the h5 directory that it creates before you re-ran it? If I'm able to remember more specifically what I changed, I'll be sure to get back to you.

@rmr8019 The issue was solved. I think the key is to delete the h5 directory after fixing other compatibility issues. Thank you so much for your help!

@vtseng Great! I'll close the issue.

@vtseng Great! I'll close the issue.


[help] Issues using rpi 4b

I tried running this on rpi4b 8gb model and after setting it up to pin 16 ran the example which opened a console which just read "true" over and over and played the buzzer for about 2 seconds before the pi just restarted itself. What am I doing wrong?
edit: got it working with an esp32 the only limitation with that is the absolutely tiny amount of memory

Nice! I think the Pi may have restarted because of a wiring short between power and ground.
If there's any code you can share specific to getting it working on the ESP32, it would be great if we could put that in the README

Esp32 setup is same as the pico, just need to install micropython interpreter and upload buzzer_music.py as well as the actual music itself. The only issue is the small amount of memory which the program tries to load all of it at once which I have tried implementing a system that reads as it goes but have been unsuccessful.
with the pi I will try some different arrangements since I'm pretty sure it is wired correctly as it works with the esp


Type union collapses into the general type in condition

Bug Report

🔎 Search Terms
type union collapses
🕗 Version & Regression Information

I've tried from 3.3.3 to 5.2.0-beta and the result are the same.

⏯ Playground Link

Playground link
💻 Code

const a = (Math.random() > 0.5)
  ? Object.freeze({ok: false, hello: 'world'})
  : Object.freeze({ok: false});

🙁 Actual behavior

type A = typeof a;
//   ^? shows type A = {readonly ok: false}

🙂 Expected behavior

type A = typeof a;
//   ^? shows type A = Readonly<{ok: false}> | Readonly<{ok: false, hello: 'world'}>

This is working as intended and happens because of type reduction.

but I don't think this reduction is meaningful to the developers. it lost information that should be there.

@Jack-Works Variations of this same issue has been raised many, many times in the past and the response by maintainers is consistently that subtype reduction, while sometimes inconvenient, is not only not considered to be a bug, but completely by design, so it's very unlikely you're going to get much traction on this.  https://github.com/microsoft/TypeScript/issues/53425#issuecomment-1479705680


issue extend xml type to intercept body.

需求：
在录制HTTP录制xml请求时，拦截request body
针对上面的问题提交了一个PR

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jinshan.hu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Add Space Invaders (skywildonbudget remix) by Skywild3789

Song Name
Space Invaders (skywildonbudget remix)
Artist Name
Skywild3789
Source
Youtube
Youtube Link
y-hPYHjeA2mXNzJ8
Direct File Link
No response
Song ID
865364
Start Offset [ms]
200
Extra
Created from Auto Nong.
Created for level: 107745935

col map

reject
already reject the same submission


Fix Typos

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

Looks good. Thanks @bnewcomb


Issue building CleanArchitecture.Infrastructure

Hi Steve,
I'm trying to get my environment setup for the workshop that is coming up in a couple of weeks @ DevIntersection.  It appears that there is an issue with building the CleanArchitecture.Infrastructure project.  It's possible that I am missing a dependency, but, wanted to pass along, in case you had any suggestions (please see below).

Thanks!

see resolution, per this related thread.
Trouble building project #5


Added learn4haskell

Added learn4haskell to "Projects made for Hacktoberfest" list

Hacktoberfest is about helping open source projects - and personal growth as side-effect. While the linked project is a good learning resource, the code contributed is not sustainable. Thus, I opt for rejecting this PR.

Quantity is fun, quality is key. Participating in Hacktoberfest leads to personal growth, professional opportunities, and community building. However, it all begins with meaningful contributions to open source software.
Short-term action, long-term impact. In the open source software community, we are standing on the shoulders of those who came before us. Your participation has a lasting effect on people and technology long after October. This is a voyage not a race.

https://hacktoberfest.digitalocean.com/details/
Thus, everyone should take the Haskell learning opportunity and subsequently contribute to Haskell OSS projects


Invalid FQBN

Every example from your repository fails to compile and throws this error message:
"Invalid FQBN: Heltec (unofficial) esp32:heltec_esp32_lora_v3"
Previously done:
Already installed<EMAIL_ADDRESS>Downloading<EMAIL_ADDRESS><EMAIL_ADDRESS>Installing<EMAIL_ADDRESS>Installed<EMAIL_ADDRESS>

You may have to uninstall any previous board manager URLs that an earlier version of this repo had you install, and just use the Espressif's "esp32" boards, en then select heltec_wifi_lora_32_V3.
My FQBN says: esp32:esp32:heltec_wifi_lora_32_V3


trying Robobull

Hi
I'm trying Robobull using Docker , everything seems to work , in latest hour
in history I see 3 trades , however all trades have a 0.000000% ROI , is it normal ?
testing with Alpaca Paper and crypto
Thank you

I think these are failed buy orders in log I see this
data: { code: 42210000, message: 'invalid crypto time_in_force' }
any idea what does it mean ?
Thank you


refactor: credential manifest enhancements to match wallet-rendering specs

Summary:

Refactored credentialmanifest.go

moved everything related to resolving the different types into a separate file called resolve.go to make it clearer as to what is coming from the credential manifest and wallet rendering specs and what is needed for displaying
moved common functions to common.go

Changes to match specs:

Fixed display mapping object to use text property if paths is empty

validateDisplayMappingObject to check for if both the text field and the paths field is empty
update unit tests for this

ValidateCredentialApplication

Added check for case where manifest's format is empty but credential application's is not (credential application's formats should be a subset of credential manifest's)
Removed duplicate code for checking credential application against credential manifest
update unit tests

Added missing optional property to CredentialFulfillment
Added missing optional properties to schema format

Closes #3304
Closes #3274
Closes #3280
Closes #3281

@DRK3 I'll make those grammar changes, thanks for reviewing!

@sudeshrshetty Could you please approve the CI tests again?


Fix wrong example code on Components page

v-model input event have to assign the value not the event.

Oh, sorry. I have a mistake. It's not wrong code. Close this pr.


fix install scripts for v22+

@MichelDiz - please review this!
I have added an if-else block, to facilitate the checksum compare. This is an issue with the code here (& NOT our release scripts). The issue is as follows:

when we compare checksum SHA's, the script is comparing grep'ing for the file-path which is wrong
a SHA check should simply be a straightforward SHA check .. which is what the else-block is doing

For versions<22 -> IF section gets executed
For versions>22 -> ELSE block gets executed
Now that I have reviewed this code, I see a few issues in the way this is setup for users who want to play with the binary. We should talk about it separately - and clean this outside facing script.

@Rajakavitha1 - how to test this script (from this PR):
The original download document here tells the user to run this script using this command:
curl https://get.dgraph.io -sSf | bash

Because we have not rolled this out yet, the quick way to test this is by swapping the URL with like this:
curl https://raw.githubusercontent.com/dgraph-io/Install-Dgraph/skrdgraph/fix_install_scripts_mess/getdgraph.sh -sSf | bash

Please validate this ^ & leave a comment here.

@MichelDiz - if everything looks okay, can you roll this out?

This change is

Installation goes through fine with this change on my end:
Do you agree to the terms of the Dgraph Community License? [Y/n] y
Latest release version is v22.0.2.
Downloading checksum file for v22.0.2 build.
######################################################################## 100.0%
Download complete.
Comparing checksums for dgraph binaries
Downloading https://github.com/dgraph-io/dgraph/releases/download/v22.0.2/dgraph-linux-amd64.tar.gz
######################################################################## 100.0%
Download complete.
Inflating binaries (password may be required).
Dgraph binaries v22.0.2 have been installed successfully in /usr/local/bin.
Please visit https://dgraph.io/docs/get-started for further instructions on usage.

I really don't like this model. We should have an internal discussion on this. I want to understand the following:

how is this being used?
target users?
discord issue reports?
how can we improve this?
or do we drop this?

I think this is an important script, I just feel like we can do a better job in maintaining it. I look forward to a discussion here.

The changes are live.

Thanks @MichelDiz ...


The Download speed is quite slow....

The download speed is very slow. Has anyone encountered the same problem? Can anyone who has downloaded this data set send it to me?

I am in Tianjin, China. I use a VPN to download, and it was very slow. I suspect there is a problem with the server. It's slower without a VPN.


Support --help flag

One of terragrunt plan -h, terragrunt plan --help, terragrunt help plan should print help text about the command and the options it takes.
In particular I am trying to determine if I can plan the files in a directory without having it as my working directory, e.g. terragrunt plan /path/to/directory instead of cd /path/to/directory && terragrunt plan.

What do you see when you run terragrunt plan --help now?

It just proceeds with a plan, e.g. if I run plan in a directory without terraform.tfvars it exits because it couldn't find the config file, or it proceeds trying to clone modules, etc.

Hm, definitely a bug. PRs are very welcome.

Here is a little fix: https://github.com/gruntwork-io/terragrunt/pull/473

Fixed by #473. Thank you @jckuester!


Make preview for drawing ellipses with the add-in the same experience as the widget - ArcMap

The way the mouse is moved is same if you think about what is going on, but the preview feedback makes much more sense the way it is displayed in the widget versus the feedback in Pro. In Pro you click to set your center point, then drag out to create a circle with a diameter that represents your major axis. Click again and you squeeze the circle to shrink it down to get your minor axis.

In the widget you draw a line that represents your major axis, then draw a second line perpendicular to that to represent your minor axis

As pointed out, the mouse is still moving the same way, however I feel there is more business value here than just thinking the feedback in the widget is cooler. The feedback in the widget makes it much more obvious and easier to understand the orientation of your major axis, as you draw it. After you click and drag in the add-in, the direction you did the first mouse drag in, is still honored as the orientation of the minor axis, however there is no actual feedback about the orientation of the major axis until the second drag is done to give the size of the minor axis. This makes drawing an ellipse accurate to what you wanted much more difficult.

@nfeuerstein @lfunkhouser i spoke with @kgonzago about this, and it may actually turn out to be a decent sized effort, so you guys can take the time to decide when it gets pulled in, but like I mentioned early, I think the business value is there.

I realize I reused screenshots from ArcGIS Pro ... it works exactly the same in ArcMap and Pro

Closing. Won't fix. The behavior in the web will not be reproduced in Desktop.


Investigate moving UIs into QuickJs

With initial release of AIRport UIs will run in IFrames (or optionally as their own tabs).  Before their source is loaded it will be scanned for any network access attempts.   It will be even more secure to run the UIs in QuickJs (with all DOM and API interaction defined explicitly).  Investigate if and when to do this as well as performance impact.

A better solution is to:

Provide a publishing platform for the UIs.
Modify the HTML file and add a script to be executed before all others.
In that script wrap the AJAX interfaces and HTML Node creation interfaces to guard against external AJAX calls, links, and form submissions (that could leak user data).

Running the UI in QuickJS could introduce significant performance overhead.  Only if the above solution is proven to not guarantee data safely should the QuickJS solution be considered.


Remove My Code; Will Handle 1.17 and 1.18 tomorrow morning.

Also would like to mention:

I never claimed I was the most active developer "during my time". What I claimed was "during the last few months" I was the only person active except for a few commits I forced out of Authvin, starting "December 15th".
Everything I said in that article is true to the best of my knowledge, and I don't take it back. Wahrheit does "lie for a living". That's what lawyers do.

If you want to do any further saving face, I expect that you don't lock the issue like you did last time to prevent me from telling the truth to the community.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I'm not signing the CLA.
Merge in the commits.

This pull request requests the reversion of contributions that are not yours or cannot reasonably be construed as copyrightable; as a reminder, while you have no rights to revoke code contributions submitted to a project that has always been published under an MIT license (and which was licensed as such for the duration of your contributions), we will consider accepting a pull request that does not maliciously vandalize the project by reverting code changes you did not author.

Also, you will be required to sign the CLA if you wish to make a contribution, even if it is a contribution to remove your authorship.
Even if you do not submit a non-malicious pull request, we plan to eliminate any git blame reference to you with additional contributions and rewrites of your code for performance and style reasons.


convert cli model name from enum to string for nlp tasks

Description
Convert CLI Model Name input from enum to string to allow users to send any model name through CLI.
Expected Behavior:
before this change, sending an invalid model name results in invalid schema error. After this change, we are able to launch runs that then fail with invalid model name. Launching a run with the kebab-case name for supported models will work.

run with invalid model name
kebab-case name run from cli

E2E Test Runs:
multilabel
ner
classification
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


Will SPECTER 2 be supported by the API?

Now that S2 started to use SPECTER 2 embeddings, will this API be able provide those embeddings?

Specter 2 is support in the API:
https://api.semanticscholar.org/graph/v1/paper/{semanticscholarid}?fields=citationCount,embedding.specter_v2


Put test module help functionality into a module itself

You've written the samples of testing module help so that they can be run generically on any module. I think it would be great to have a module of Pester tests like this. Could also add things like checking metadata on module manifests, exported commands, and so forth.
With just a couple of days of having tried out these scripts, I have already abstracted them out into a common .ps1 that I'm dot-sourcing. I started to create my own module and then realized this would be a great thing to do and share publicly.

Great idea. Let's see if we have more contributions.


Use custom tokenizer to decode text when using llm.generate function

Your current environment
Collecting environment information...
PyTorch version: 2.1.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35

Python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-100-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.3.107
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA A100-PCIE-40GB
Nvidia driver version: 550.54.14
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      46 bits physical, 57 bits virtual
Byte Order:                         Little Endian
CPU(s):                             12
On-line CPU(s) list:                0-11
Vendor ID:                          GenuineIntel
Model name:                         Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz
CPU family:                         6
Model:                              106
Thread(s) per core:                 1
Core(s) per socket:                 12
Socket(s):                          1
Stepping:                           6
BogoMIPS:                           4788.74
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid fsrm md_clear arch_capabilities
Virtualization:                     VT-x
Hypervisor vendor:                  KVM
Virtualization type:                full
L1d cache:                          384 KiB (12 instances)
L1i cache:                          384 KiB (12 instances)
L2 cache:                           48 MiB (12 instances)
L3 cache:                           16 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-11
Vulnerability Gather data sampling: Unknown: Dependent on hypervisor status
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Mitigation; TSX disabled

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.1.2
[pip3] triton==2.1.0
[conda] Could not collectROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.3.3
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0	CPU Affinity	NUMA Affinity	GPU NUMA ID
GPU0	 X 	0-11	0		N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

How would you like to use vllm
I have a fine-tuned model (from mistralai/Mistral-7B-v0.1) with additional tokens added and trained.
Model config.json:
{
  "_name_or_path": "mistralai/Mistral-7B-v0.1",
  "architectures": [
    "MistralForCausalLM"
  ],
  "attention_dropout": 0.0,
  "bos_token_id": 1,
  "eos_token_id": 2,
  "hidden_act": "silu",
  "hidden_size": 4096,
  "initializer_range": 0.02,
  "intermediate_size": 14336,
  "max_position_embeddings": 32768,
  "model_type": "mistral",
  "num_attention_heads": 32,
  "num_hidden_layers": 32,
  "num_key_value_heads": 8,
  "rms_norm_eps": 1e-05,
  "rope_theta": 10000.0,
  "sliding_window": 4096,
  "tie_word_embeddings": false,
  "torch_dtype": "float32",
  "transformers_version": "4.38.2",
  "use_cache": false,
  "vocab_size": 32027
}

The original model has 32000 as the vocab_size, I have added 27 additional tokens.
When I use the model to make inferences, the generated text does not "decode" additional tokens.
The code:
from vllm import LLM
from transformers import (
    AutoTokenizer
)

model = "<model_and_tokenizer_id>" # both are using the same name (id)

tokenizer = AutoTokenizer.from_pretrained(
    model,
)
llm = LLM(model=model, tokenizer=model)  # Name or path of your model
output = llm.generate("<|begincontext|><|user|>I'm hungry. Find places to eat please.<|system|>Sure thing. Which city would you like to eat in?<|user|>Let's go with Foster City please.<|system|>Sure. What kind of food are you hungry for?<|user|>Spicy Indian sound really good.<|system|>One moment. I found a great restaurant called Pastries N Chaat in Foster City.<|user|>Give me other suggestions as well<|system|>How about, Tabla Indian Restaurant in Foster City?<|user|>Can you find out if they are average priced?<|system|>sure. The price range would be inexpensive.<|user|>Perfect. That works<|system|>Should I reserve for you?<|beginlastuserutterance|>Yes, go ahead and do that.<|endlastuserutterance|><|endcontext|>")

print(output)

Output (with a bit of formatting for improving readability):
[RequestOutput(
request_id=0,
prompt="<|begincontext|><|user|>I'm hungry. Find places to eat please.<|system|>Sure thing. Which city would you like to eat in?<|user|>Let's go with Foster City please.<|system|>Sure. What kind of food are you hungry for?<|user|>Spicy Indian sound really good.<|system|>One moment. I found a great restaurant called Pastries N Chaat in Foster City.<|user|>Give me other suggestions as well<|system|>How about, Tabla Indian Restaurant in Foster City?<|user|>Can you find out if they are average priced?<|system|>sure. The price range would be inexpensive.<|user|>Perfect. That works<|system|>Should I reserve for you?<|beginlastuserutterance|>Yes, go ahead and do that.<|endlastuserutterance|><|endcontext|>",
prompt_token_ids=[32000, 32004, 32007, 315, 28742, 28719, 17160, 28723, 8769, 5563, 298, 5310, 4665, 28723, 32006, 12875, 1970, 28723, 9595, 2990, 682, 368, 737, 298, 5310, 297, 28804, 32007, 3169, 28742, 28713, 576, 395, 28517, 3805, 4665, 28723, 32006, 12875, 28723, 1824, 2112, 302, 2887, 460, 368, 17160, 354, 28804, 32007, 1670, 2451, 6735, 2622, 1528, 1179, 28723, 32006, 2387, 2470, 28723, 315, 1419, 264, 1598, 9926, 1987, 17860, 2040, 418, 689, 7748, 297, 28517, 3805, 28723, 32007, 16104, 528, 799, 17278, 390, 1162, 32006, 1602, 684, 28725, 14319, 2220, 6735, 23657, 440, 297, 28517, 3805, 28804, 32007, 2418, 368, 1300, 575, 513, 590, 460, 5151, 724, 5200, 28804, 32006, 1864, 28723, 415, 4144, 2819, 682, 347, 297, 5128, 4097, 28723, 32007, 24443, 28723, 1725, 3791, 32006, 10934, 315, 17575, 354, 368, 28804, 32008, 5592, 28725, 576, 6280, 304, 511, 369, 28723, 32009, 32005],
prompt_logprobs=None,

outputs=[
CompletionOutput(
index=0,
text=' ReserveRestaurant Restaurants^city->F',
token_ids=[32003, 32010, 32012, 32023, 22249, 9133, 3507, 440, 32024, 32014, 23657, 1549, 28815, 18373, 471, 28765],
cumulative_logprob=-0.06896844378643863,
logprobs=None,
finish_reason=length)
],
finished=True, metrics=RequestMetrics(arrival_time=516870.185780231, last_token_time=516870.185780231, first_scheduled_time=1710838070.7235024, first_token_time=1710838070.760219, time_in_queue=1710321200.537722, finished_time=1710838070.9955454), lora_request=None)]

From it, the output of output[0].outputs[0].text is   ReserveRestaurant Restaurants^city->F.
I have manually decoded the token_ids and the expected text should be: <|begintarget|><|begindsts|><|begindst|><|beginintent|> ReserveRestaurant<|endintent|><|beginbelief|> Restaurants^city->F.
Generated token_ids: token_ids=[32003, 32010, 32012, 32023, 22249, 9133, 3507, 440, 32024, 32014, 23657, 1549, 28815, 18373, 471, 28765]. Tokens greater or equal to 32000 are not properly decoded.
I have also tried with python3 -m vllm.entrypoints.api_server --model "<model_and_tokenizer_id>" --tokenizer "<model_and_tokenizer_id>" and I got same behavior.
What can I do to decode directly the generated text without me having to decode it manually?

I have found it!
Just adding a SamplingParams with the skip_special_tokens=False to the llm.generate call made it work.
Snipped code:
#...
llm = LLM(model=model, tokenizer=model)  # Name or path of your model

p = SamplingParams(skip_special_tokens=False)
output = llm.generate("<|begincontext|><|user|>I'm hungry. Find places to eat please.<|system|>Sure thing. Which city would you like to eat in?<|user|>Let's go with Foster City please.<|system|>Sure. What kind of food are you hungry for?<|user|>Spicy Indian sound really good.<|system|>One moment. I found a great restaurant called Pastries N Chaat in Foster City.<|user|>Give me other suggestions as well<|system|>How about, Tabla Indian Restaurant in Foster City?<|user|>Can you find out if they are average priced?<|system|>sure. The price range would be inexpensive.<|user|>Perfect. That works<|system|>Should I reserve for you?<|beginlastuserutterance|>Yes, go ahead and do that.<|endlastuserutterance|><|endcontext|>", p)

print(output)


Fix attributes of FillArray style simple array size parameters

WinRT supports three different array-passing styles: FillArray, PassArray, and ReceiveArray (see https://learn.microsoft.com/en-us/uwp/winrt-cref/winrt-type-system#array-parameters).
The issue was the incorrect parsing of simple array size parameters in the FillArray style, resulting in them being incorrectly marked as out parameters instead of in.

Codecov Report

Merging #78 (02b8da8) into main (8355555) will increase coverage by 0.06%.
The diff coverage is 100.00%.

:exclamation: Current head 02b8da8 differs from pull request most recent head baac488. Consider uploading reports for the commit baac488 to get more accurate results

@@            Coverage Diff             @@
##             main      #78      +/-   ##
==========================================
+ Coverage   89.08%   89.14%   +0.06%
==========================================
  Files          28       28
  Lines        1228     1235       +7
==========================================
+ Hits         1094     1101       +7
  Misses        134      134

Impacted Files
Coverage Δ

lib/src/method.dart
95.86% <100.00%> (+0.21%)
:arrow_up:

lib/src/parameter.dart
100.00% <100.00%> (ø)

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


Task: make JavaScript component tooling registry-aware

This task is a little broad; we should tease this task apart when the requirements of the JavaScript tooling become more concrete.

Cleaning up old issues


Allow building on unsupported architectures

Please read https://github.com/etcd-io/etcd/blob/master/CONTRIBUTING.md#contribution-flow.

@yselkowitz what arch are you trying to support? Not sure how I feel about carrying a patch for this, all etcd code is upstream minus CI tooling.

@hexfusion, sorry, I didn't see a Dockerfile.rhel upstream.  In which branch is it?

@hexfusion, sorry, I didn't see a Dockerfile.rhel upstream. In which branch is it?

Well, it was my misunderstanding actually. Have you tested this? I get
2019-07-11 12:24:00.054992 W | pkg/flags: unrecognized environment variable ETCD_UNSUPPORTED_ARCH=`uname -m`

Also this would set this ENV for every build this and might confuse folks. What can't you pass the ENV during runtime?

/ok-to-test
just so we can review output

/hold

status update, etcd team is looking into this.

We will have a PR by Friday for review
On Wed, Aug 28, 2019 at 11:24 AM Yaakov Selkowitz<EMAIL_ADDRESS>wrote:

Could we get an update on this please? This is a prerequisite of OpenShift
on IBM Z.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/etcd/pull/15?email_source=notifications&email_token=AAJRDVPV2SG4NJJC6ITJ6BDQG2KBRA5CNFSM4IAQVKMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LQAVA#issuecomment-525795412,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJRDVPIHEURZOZKDAY3R4TQG2KBRANCNFSM4IAQVKMA
.

--
—

Closed in favor of https://github.com/openshift/machine-config-operator/pull/1092

@hexfusion unfortunately that is insufficient.  Not only is this a runtime issue, but actually affects the build of the container image as well.
The container does RUN make build, which not only compiles etcd but also runs it as a test.  Therefore, as it currently stands, the image build itself still fails.
In order to fix the image build, either we can add ENV ETCD_UNSUPPORTED_ARCH=$(go env GOARCH) where the first part of my patch would have set =1, or the Makefile needs to be modified to set that in the make environment, or the upstream code needs to be relaxed as originally proposed.
Please reopen so that a new patch can be proposed accordingly.

In order to fix the image build, either we can add ENV ETCD_UNSUPPORTED_ARCH=$(go env GOARCH) where the first part of my patch would have set =1, or the Makefile needs to be modified to set that in the make environment, or the upstream code needs to be relaxed as originally proposed.

That makes sense but we do not want to carry a patch to do this. The build process itself has no care about arch but the make tooling showed a limitation. I have adjusted the build process as an alternative allowing build on any arch. The MCO[1] change will allow your binaries to run.
[1] openshift/machine-config-operator#1092


Support for Oracle Version Provider

Are there any plans to write an Oracle Version Provider as well?

I don't use Oracle myself, so I'm not qualified to write one.
You can write your own easily: subclass VersionProviderBase and implement the three abstract methods to return suitable SQL. See the other providers for examples.
If you contribute it back, I'll happily include it :smile:

Haha sounds good, I'd be happy to poke away at that. I just didn't want to duplicate work already being done!

Sure, thanks for checking!

Hi, have you had a chance to look at writing an Oracle Version Provider?

Aha fantastic!

Hi, any news?

I have a working oracle provider I've been using if anyone is interested.  One possible point of contention is I use the dotconnect oracle driver (because it has actual async support, unlike odp.net).  If someone is interested I can PR it.

Yes please! We can call it something which indicates it uses the dotconnect driver, in case someone wants to write one which uses another driver.

I implemented Oracle Provider using MangedOracleDriver, if you are intrested I can share it.

Please do!


Current playback time/duration?

Thanks for making this, only issue I'm currently having is how to get the current playback time/total duration of the video?

Currently worked this up:
        var youTubeTime:String = ""
        dispatch_async(dispatch_get_main_queue(),{
            if let currentTime = self.webView.stringByEvaluatingJavaScriptFromString("player.getCurrentTime().toString();") {

               completion(youTubeTime: String(Int(Double(currentTime)!)))

            }
        })

    }

@resnate Hi! Thanks for using the library. Do you mind submitting a pull request for this? This is something I think would be useful for a lot of other people.
Also, it seems odd to dispatch this to the main thread asynchronously. I think you could simplify this quite a bit and drop the need for a callback/any async stuff:
public func getCurrentTime() -> Double? {
    let time = self.webView.stringByEvaluatingJavaScriptFromString("player.getCurrentTime().toString();")
    return time.flatMap(Double.init)
}

The same would probably apply for getDuration. Does that make sense? Was there a particular reason you were dispatching this to the main thread?

Yeah, for some reason I kept getting Web Lock errors without the dispatch_async code, I'm not sure why, still getting to grips with Swift.

I have opened a PR for this here:
https://github.com/gilesvangruisen/Swift-YouTube-Player/pulls
As I have a need for the same feature in the app I am working oat the moment

#45 fixed this


[WIP] Azure discovery support, Azure regions as separate EMSes

In MIQ each Azure Region is now represented as an ExtManagementSystem, just like in Amazon.
This change disrupted the Azure refresh parser to ensure inventory is gathered only for a particular Region (EMS).
The Armrest gem does not support gathering inventory for a particular Region so I had to gather the ResourceGroups in the Region (EMS) and then gather all the inventory in each ResourceGroup.
This PR is organized into 3 commits

Model code changes - Azure discovery code, parser changes
Spec test changes
Model changes required to support the UI team.

This will remain a WIP PR until the UI team have pushed their changes to this branch
https://trello.com/c/vXomgclg/67-3-azure-alter-azure-refresh-to-support-private-image-provisioning

@bronaghs can you review/test.

@h-kataria - UI piece looks great :+1:

@miq-bot remove_label wip


Change from IPv4 to IPv6 messing with SPF

I guess that the recent change at terra.snellman.net which enabled IPv6 incidentally downgraded GMails SPF rating from PASS to NEUTRAL. I don't know much about SPF but I think it is probably caused by a (missing filter)0 or the like. The problem might cause e-mails sent by terra.snellman.net to be marked as spam (as it happened to me but I can only tell for GMail).
While this does not really concern the terra-mystica code I hope it is alright that I'm still reporting it here.
Best regards,
David

I've actually never had an SPF record set up, I suspect Google has just over time learned a domain/IP association, and is reporting the status of that using the same mechanism as actual SPF lookups.
Anyway, I've added an SPF record now, hopefully it'll clear things up.

Looks fixed to me, thanks a lot.


Radio module not recognized (radio.beginFSK failed)

Hi,
I have a problem with radio module initialization and fixed it as follows:
I changed in WeatherSensor.cpp the line
static SX1276 radio = new Module(PIN_RECEIVER_CS, PIN_RECEIVER_IRQ, PIN_RECEIVER_RST, PIN_RECEIVER_GPIO);
with hard coded pin settings for my case:
static SX1276 radio = new Module(27, 21,32, 33);
Then it works. There might be something wrong with IN_RECEIVER_CS, PIN_RECEIVER_IRQ, PIN_RECEIVER_RST, PIN_RECEIVER_GPIO
since they are not known in this context though I have declared them in WeatherSensorCfg.h
I would appreciate any advice, may I have done something wrong.
Cheers Maria

I hope I can provide a clean solution now.

I have modified the library and the example BresserWeatherSensorMQTT.ino
This example now does not have a configuration file of its own any longer, but uses the one in BresserWeatherSensorReceiver/src. You can change it in your local Arduino/libraries/BresserWeatherSensorReceiver/src directory if you are always using the same setup (receiver type and wiring).
I will change the other examples in the same way.

I have added a customized version in BresserWeatherSensorMQTTCustom. Please check the Readme.md.
Following this structure, you are able to use a customized configuration per sketch.

I assume this has been fixed in release v0.4.0.


Autocomplete (auto import) of existing import broken

TypeScript Template added by @mjbvz
TypeScript Version: 3.8.0-dev.20191216 & 3.7.3
Search Terms:

auto import
automatic imports

In VSCode 1.40.2 it autocompleted useEffect -> React.useEffect when there already was an import * as React from 'react'. This stopped working as soon as I upgraded VSCode to 1.41.0.

VSCode Version: 1.41.0
OS Version: Windows 10

Steps to Reproduce:

Start typing useEffect
Wait for the "Auto import from 'react'" dialog to appear
Hit enter

Does this issue occur when all extensions are disabled?: Yes

You know, I thought I repro’d this when it was first opened, but I can’t anymore, with any version of TS. Both the completion action and the code fixes work as expected.

Tried 3.7.3, 3.8.0-dev.20191216, master, Code Insiders, Code 1.41.1, TSX and JSX files, a few different tsconfig settings, messing with package.json, but no effect. @frenic @IllusionMH does this still repro for you? Any clues as to what I’m missing?

My VSCode is now upgraded to 1.41.1 and I can't reproduce this anymore. Had this problem with VSCode 1.41.0.

Works as expected (same as on GIF) - useEf is replaced with React.useEffect when I accept auto-import suggestion. So looks like works now.
VSCode Insiders (1.42) and TS@next 3.8.0-dev.20200111

Cool! I guess it was a VS Code bug after all. Thanks for confirming!


Improve search visibility

Search is buried in the trunk and changes context depending on which module/feature you're in (tweets, forums, seamail, schedule). Several users did not know they could search here. Specific example, searching by hashtag. Totally supported via the UI just somewhat hidden. We should consider adding a search hint or box somewhere on the page to make it more apparent that search is a thing.
Also explicitly call out search in the how-to guide.

Search is in the header bar now; it's a magnifying glass icon on the right. I haven't added anything to specifically call out hashtag and mention searches, although these are really just text searches--same as Twitter.


"az k8s-configuration flux create" leads to k8s service account "flux-applier" requesting cluster-role-binding instead of role-binding

Related command
az k8s-configuration flux create --resource-group test --cluster-name test-aks --name cluster-config --namespace cluster-config --cluster-type managedClusters --scope namespace --url https://github.com/Azure/gitops-flux2-kustomize-helm-mt --branch main --kustomization name=infra path=./infrastructure prune=true --kustomization name=apps path=./apps/staging prune=true
Describe the bug
I am following the tutorial for Flux v2 on AKS
The error occurs independently of Azure portal or az cli.
So setting up Flux on Azure creates a Git repo and two Kustomization config. The git repo is fine, the kustomize configs cannot reconcile, because of a permission issue:
Namespace/podinfo dry-run failed, reason: Forbidden, error: namespaces podinfo is forbidden: User system:serviceaccount:cluster-config:flux-applier cannot patch resource namespaces in API group  in the namespace podinfo
So basically the service principle needs higher permission  (cluster-role) to make changes on the cluster, even-though the scope was set to "namespace". This is quite important since we would like to set this up in a multi-tenant environment.
To Reproduce
Follow the tutorial until the above mentioned command.
Expected behavior
Expectation would be that the service principal's actions are limited to the namespace it was set to.
Environment summary
Using az cli 2.37 (az extensions all updated to latest version) and AKS/K8S 1.23.5
Additional context

route to CXP team

Hi @yonzhan , is there already some feedback from "CXP" team?

@gstolz Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@gstolz You can use Pamir/flux2-kustomize-helm-example: A GitOps workflow example for multi-env deployments with Flux, Kustomize and Helm. (github.com)
Please let me know if you see any issues with this. Awaiting your reply.

@gstolz I wanted to do quick follow-up to check if you had a chance to follow the above article and check if that helps. Awaiting your reply.

@gstolz The action is currently pending on you to test the above plan. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.

Hi, I have had a similar error when passing, kustomization flags I'm met with yaml errors and the command does not know what to do. Also with FluxV2 if you can't use the Azure extension and you try and build flux manually like in the tutorial you link to. Flux will fail and not read the repo and it cant apply kustomizations properly.
Here is my long error log:
`az : DEBUG: cli.knack.cli: Command arguments: ['k8s-configuration', 'flux', 'create', '--resource-group', 'ncba-core-test-aks-rg', '--cluster-name', 'ncba-core-test-k8s', '--cluster-type', 'connectedClusters', '--name', 'fluxv2', '--scope',
'cluster', '--namespace', 'flux-system', '--kind', 'git', '--url'<EMAIL_ADDRESS>'--branch', 'main', '--kustomization',
'name=infra', 'path=./infrastructure/test', 'sync_interval=120', 'prune=true', 'force=true', '--kustomization', 'name=apps', 'path=./apps/test', 'depends_on=infra', 'sync_interval=120', 'prune=true', 'force=true', '--debug']
At line:1 char:1

az k8s-configuration flux create --resource-group ncba-core-test-aks- ...

  + CategoryInfo          : NotSpecified: (DEBUG: cli.knac...ue', '--debug']:String) [], RemoteException
  + FullyQualifiedErrorId : NativeCommandError

DEBUG: cli.knack.cli: init debug log:
Cannot enable color.
DEBUG: cli.knack.cli: Event: Cli.PreExecute []
DEBUG: cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x018DB340>, <function OutputProducer.on_global_arguments at 0x01AA8AD8>, <function CLIQuery.on_global_arguments at 0x01AC7730>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
DEBUG: cli.azure.cli.core: Modules found from index for 'k8s-configuration': ['azext_k8s_configuration']
DEBUG: cli.azure.cli.core: Loading command modules:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands
DEBUG: cli.azure.cli.core: Total (0)                 0.000         0         0
DEBUG: cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
DEBUG: cli.azure.cli.core: Loading extensions:
DEBUG: cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
DEBUG: cli.azure.cli.core: k8s-configuration         0.006         4        16  C:\Users\jason.azure\cliextensions\k8s-configuration
DEBUG: cli.azure.cli.core: Total (1)                 0.006         4        16
DEBUG: cli.azure.cli.core: Loaded 4 groups, 16 commands.
DEBUG: cli.azure.cli.core: Found a match in the command table.
DEBUG: cli.azure.cli.core: Raw command  : k8s-configuration flux create
DEBUG: cli.azure.cli.core: Command table: k8s-configuration flux create
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x03F77B68>]
DEBUG: cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\jason.azure\commands\2023-02-08.15-10-12.k8s-configuration_flux_create.10944.log'.
INFO: az_command_data_logger: command args: k8s-configuration flux create --resource-group {} --cluster-name {} --cluster-type {} --name {} --scope {} --namespace {} --kind {} --url {} --branch {} --kustomization {} {} {} {} {} --kustomization
{} {} {} {} {} {} --debug
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x03F9ABB0>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x03FB0190>, <function register_cache_arguments..add_cache_arguments at 0x03FB0220>]
DEBUG: cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
DEBUG: cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
DEBUG: cli.azure.cli.core.util: azure.cli.core.util.handle_exception is called with an exception:
DEBUG: cli.azure.cli.core.util: Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 588, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/parser.py", line 261, in parse_args
File "argparse.py", line 1826, in parse_args
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/parser.py", line 281, in parse_known_args
File "argparse.py", line 1859, in parse_known_args
File "argparse.py", line 2050, in _parse_known_args
File "argparse.py", line 2027, in consume_positionals
File "argparse.py", line 1936, in take_action
File "argparse.py", line 1214, in call
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/parser.py", line 281, in parse_known_args
File "argparse.py", line 1859, in parse_known_args
File "argparse.py", line 2050, in _parse_known_args
File "argparse.py", line 2027, in consume_positionals
File "argparse.py", line 1936, in take_action
File "argparse.py", line 1214, in call
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/parser.py", line 281, in parse_known_args
File "argparse.py", line 1859, in parse_known_args
File "argparse.py", line 2050, in _parse_known_args
File "argparse.py", line 2027, in consume_positionals
File "argparse.py", line 1936, in take_action
File "argparse.py", line 1214, in call
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/parser.py", line 281, in parse_known_args
File "argparse.py", line 1859, in parse_known_args
File "argparse.py", line 2068, in _parse_known_args
File "argparse.py", line 2008, in consume_optional
File "argparse.py", line 1936, in take_action
File "C:\Users\jason.azure\cliextensions\k8s-configuration\azext_k8s_configuration\action.py", line 39, in call
validate_kustomization(values)
File "C:\Users\jason.azure\cliextensions\k8s-configuration\azext_k8s_configuration\validators.py", line 60, in validate_kustomization
validate_duration("sync-interval", value)
File "C:\Users\jason.azure\cliextensions\k8s-configuration\azext_k8s_configuration\validators.py", line 147, in validate_duration
raise InvalidArgumentValueError(
azure.cli.core.azclierror.InvalidArgumentValueError: Error! Invalid sync-interval.
ERROR: cli.azure.cli.core.azclierror: Error! Invalid sync-interval.
ERROR: az_command_data_logger: Error! Invalid sync-interval.
Specify a valid Go duration and try again (i.e. 1h2m5s)
DEBUG: cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x03F77C88>]
INFO: az_command_data_logger: exit code: 1
INFO: cli.main: Command ran in 0.863 seconds (init: 0.427, invoke: 0.436)
INFO: telemetry.main: Begin splitting cli events and extra events, total events: 1
INFO: telemetry.client: Accumulated 0 events. Flush the clients.
INFO: telemetry.main: Finish splitting cli events and extra events, cli events: 1
INFO: telemetry.save: Save telemetry record of length 3292 in cache
WARNING: telemetry.check: Negative: The C:\Users\jason.azure\telemetry.txt was modified at 2023-02-08 15:01:11.203409, which in less than 600.000000 s
`
Here is the command I am entering:  az k8s-configuration flux create --resource-group ncba-core-test-aks-rg --cluster-name ncba-core-test-k8s --cluster-type connectedClusters --name fluxv2 --scope cluster --namespace flux-system --kind git --url<EMAIL_ADDRESS>--branch main --kustomization name=infra path=./infrastructure/test sync_interval=120 prune=true force=true --kustomization name=apps path=./apps/test depends_on=infra sync_interval=120 prune=true force=true --debug 2>&1 > fluxdebug.txt


Amp posts have no images

Amp pages have no images. I'm using Android with chrome. E.g:
http://www.devpy.me/your-guide-to-a-practical-linux-desktop-with-i3wm/amp/
http://www.devpy.me/your-guide-to-a-practical-linux-desktop-with-i3wm/
Technical details:

Ghost Version: 0.11

@AileenCGN I think that the error (blocked by client) is my ads (carbonads).
I don't see how the error is my customized amp, it is practically the same as the default and the images are part of {{amp_content}}.
Here is the code I use for amp.hbs though.
Thank you for your help!

Hey @rawsh,
the order of your AMP scripts and the CSS is not correct:
https://github.com/devpytech/theme/blob/master/amp.hbs#L18
^ these components need to be loaded after the AMP boilerplate. Maybe try this and see if it helps.

@AileenCGN No luck.

@rawsh This discussion would be much better served in slack.


Black formatted code

The code was formatted with the following command:
black --line-length 88 --skip-string-normalization --target-version py36 sm tests scripts
--line-length 88 is Black's default

Please take a quick a look what the new code style looks like.
For comparing the code formatting with 88 vs 120 line length check this commit 5658bbf473c49f34922637ca0f65c66de270ccc3

@intsco It's ultimately your choice to make, but I strongly prefer 120 chars. I've tried to follow an 80 col limit in the past, and found that it slowed me down and bloated the code by requiring extra temporary variables, defs instead of lambdas, etc. to keep the code clean, without actually improving readability. Also, keep in mind that by limiting horizontal space, code will take more space vertically, which can be even worse on a smaller screen.
Otherwise, I'm happy with Black's code style. It's not perfect in all situations, but at least it will be one less thing to need to think about.

Okay, since it's ultimately my choice I'd like to try an intermediate solution of 100 chars. Quite subjectively, I feel like most of the time lines longer than that are slightly less comfortable to read.


Filtering by navigation property without Include fails

Using Entity Framework version 7.0.0-beta3 in a console application to persist following classes:
public class Parent
{
    public int Id { get; set; }
    public string Name { get; set; }
    public List<Child> Children { get; set; }
}
public class Child
{
    public int Id { get; set; }
    public string Name { get; set; }
    public int ParentId { get; set; }
    public Parent Parent { get; set; }
}

Provided that records exist in a SQL Server database, two following queries return different results:
// p1 is null
var p1 = context.Parents.FirstOrDefault(x => x.Children.Any());

// p2 is not null
var p2 = context.Parents.Include(x => x.Children).FirstOrDefault(x => x.Children.Any());

Is this a designed behavior?

@maumar can you check if this still repros and find out what the issue is? cc @anpete

Ah, I suppose this is just about navigation properties not working.

Dupe of #325. The second version of the query works because children are loaded into memory and x.Children.Any() can be correctly evaluated in memory.


fix start-walchecker scripts for leting user define the wal folder

As many users do not set IoTDB_HOME... the script will fail. Therefore, letting user assign the folder is better.
The better way is if $IOTDB_HOME is empty, then let user assign that..

Checks fall because of network problem which accounts for that maven-wrapper.jar couldn't be downloaded. In fact, to create or update all necessary Maven Wrapper files just execute the following command:
mvn -N io.takari:maven:wrapper

So I think some files about Maven Wrapper are unnecessary. But we can also imitate spark to use a
a self-contained Maven.

+1

has cherry-picked to master


⚠ Turnos 24x7 has degraded performance

In bbe6ebf, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1043 ms

Resolved: Turnos 24x7 performance has improved in d926d84.


Icons on menu buttons overlapping with the text

Hi !
Everything's said in the title, I'll just add a screenshot there :

(Direct Connection and refresh a little bit)

(Re-create)

This is kinda intentional, I think it looks quite cool.
You can create an icon pack yourself, where you just don't include the buttons the text would overlap on.


Integrating Confluent kafka with racecar

I have tried to implement Confluent Kafka with racecar with SASL authentication but I am getting messages in Different format
#<Racecar::Message:0x00007ffa15b08be8 @rdkafka_message=#<Rdkafka::Consumer::Message:0x00007ffa15b09ea8 @topic="dv1.aws-use1.align.fct.doctor.v1", @Partition=5, @payload="{"count":0}", @key="alice", @offset=85, @timestamp=2021-07-09 16:26:18 +0530, @headers={}>, @retries_count=0>
Please suggest any idea and solution

Hi @srikanthreddy919
Have you fixed this issue?
I have the same issue too.

Hi @srikanthreddy919
here is the workaround to connect confluent kafka.
config = {
  :"bootstrap.servers" => "your-kafka.us-west-2.aws.confluent.cloud:9092",
  :"group.id" => "ruby-test",
  :"security.protocol" => "SASL_SSL",
  :"sasl.mechanism" => "PLAIN",
  :"sasl.username" => 'your username',
  :"sasl.password" => 'your password'

}
consumer = Rdkafka::Config.new(config).consumer
consumer.subscribe("core.onboarding.employees")

consumer.each do |message|
  puts "Message received: #{message}"
end