src folder?

Is there a simple way to make nuxt look for everything in a ./src folder, instead of the root?

Ok, so look through the code there is a rootDIr options.  After settings that to ./src, I get the following error:
○ nuxt
  nuxt:build App root: src +0ms
  nuxt:build Generating .nuxt/ files... +2ms
  nuxt:build Generating routes... +6ms
  nuxt:build Generating files... +7ms
  nuxt:build Adding webpack middlewares... +13ms
Ready on http://localhost:3000
webpack built 6040be73cf7bdbc8b0ad in 123ms
Hash: 6040be73cf7bdbc8b0ad
Version: webpack 2.1.0-beta.27
Time: 123ms
               Asset       Size  Chunks       Chunk Names
      nuxt.bundle.js  399 bytes       0       app
    vendor.bundle.js    30.7 kB       1       vendor
  nuxt.bundle.js.map   91 bytes       0       app
vendor.bundle.js.map    32.2 kB       1       vendor

ERROR in multi vendor
Module not found: Error: Can't resolve 'vue' in '/Users/cj/Sync/apps/acd/nuxt'
 @ multi vendor

ERROR in multi vendor
Module not found: Error: Can't resolve 'vue-router' in '/Users/cj/Sync/apps/acd/nuxt'
 @ multi vendor

ERROR in multi vendor
Module not found: Error: Can't resolve 'vue-meta' in '/Users/cj/Sync/apps/acd/nuxt'
 @ multi vendor

ERROR in multi vendor
Module not found: Error: Can't resolve 'es6-promise' in '/Users/cj/Sync/apps/acd/nuxt'
 @ multi vendor

ERROR in multi vendor
Module not found: Error: Can't resolve 'es6-object-assign' in '/Users/cj/Sync/apps/acd/nuxt'
 @ multi vendor

ERROR in multi app
Module not found: Error: Can't resolve 'babel-loader' in '/Users/cj/Sync/apps/acd/nuxt'
 @ multi app

ERROR in multi app
Module not found: Error: Can't resolve 'webpack-hot-middleware/client?reload=true' in '/Users/cj/Sync/apps/acd/nuxt'
 @ multi app
Entry module not found: Error: Can't resolve 'babel-loader' in '/Users/cj/Sync/apps/acd/nuxt'
resolve 'babel-loader' in '/Users/cj/Sync/apps/acd/nuxt'
  Parsed request is a module
  using description file: /Users/cj/Sync/apps/acd/nuxt/package.json (relative path: .)
  after using description file: /Users/cj/Sync/apps/acd/nuxt/package.json (relative path: .)
    resolve as module
      /Users/cj/Sync/apps/acd/nuxt/src/node_modules doesn't exist or is not a directory
      /Users/cj/Sync/apps/src/node_modules doesn't exist or is not a directory
      /Users/cj/Sync/apps/acd/src/node_modules doesn't exist or is not a directory
      /Users/cj/Sync/src/node_modules doesn't exist or is not a directory
      /Users/cj/src/node_modules doesn't exist or is not a directory
      /Users/src/node_modules doesn't exist or is not a directory
      /src/node_modules doesn't exist or is not a directory
      looking for modules in /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/node_modules
        using description file: /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/package.json (relative path: ./node_modules)
        after using description file: /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/package.json (relative path: ./node_modules)
          using description file: /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/package.json (relative path: ./node_modules/babel-loader)
            as directory
              /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/node_modules/babel-loader doesn't exist
            no extension
              /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/node_modules/babel-loader doesn't exist
            .js
              /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/node_modules/babel-loader.js doesn't exist
            .json
              /Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/node_modules/babel-loader.json doesn't exist

/Users/cj/Sync/apps/acd/nuxt/node_modules/memory-fs/lib/MemoryFileSystem.js:114
                        throw new MemoryFileSystemError(errors.code.ENOENT, _path);
                        ^
Error: no such file or directory
    at MemoryFileSystem.readFileSync (/Users/cj/Sync/apps/acd/nuxt/node_modules/memory-fs/lib/MemoryFileSystem.js:114:10)
    at Watching.webpackServerWatcher.serverCompiler.watch [as handler] (/Users/cj/Sync/apps/acd/nuxt/node_modules/nuxt/lib/build/index.js:268:35)
    at Watching._done (/Users/cj/Sync/apps/acd/nuxt/node_modules/webpack/lib/Compiler.js:96:7)
    at /Users/cj/Sync/apps/acd/nuxt/node_modules/webpack/lib/Compiler.js:76:18
    at Compiler.emitRecords (/Users/cj/Sync/apps/acd/nuxt/node_modules/webpack/lib/Compiler.js:350:37)
    at /Users/cj/Sync/apps/acd/nuxt/node_modules/webpack/lib/Compiler.js:59:19
    at /Users/cj/Sync/apps/acd/nuxt/node_modules/webpack/lib/Compiler.js:343:11
    at Compiler.applyPluginsAsyncSeries (/Users/cj/Sync/apps/acd/nuxt/node_modules/tapable/lib/Tapable.js:95:46)
    at Compiler.afterEmit (/Users/cj/Sync/apps/acd/nuxt/node_modules/webpack/lib/Compiler.js:340:8)
    at Compiler.<anonymous> (/Users/cj/Sync/apps/acd/nuxt/node_modules/webpack/lib/Compiler.js:335:14)

I'm trying to end up with this structure:

looks like there needs to be a srcFolder option.  going to fork and add one.

Hi @cj, why do you want to have this structure?
You need to have the node_modules/ and the nuxt.config.js in the src/ folder to make it work.

I´m looking for same option, I would like to move all file to a app folder to separate my server/api files, a rootDir option would be great!
app
|--components
|--pages
|--static
server
|--main.js
|--etc..

@danieloprado once the pull request is excepted you'll be able to do that. #44

I'm working on it to merge it pretty soon :)

You can now use the v0.8.4 🎊

@Atinux I propose considering making ./src the default folder, to bring it to parity with how vue-cli generates projects - makes for a more consistent experience imo. just a thought!


[4.2] [Type checker] Warn about overrides of NSObject.hashValue.

NSObject.hashValue is provided to satisfy the hashValue constraint of
the Hashable protocol. However, it is not the correct customization
point for interoperating with Objective-C, because Objective-C code
will call through the -hash method. Warn about overrides of
NSObject.hashValue; users should override NSObject.hash instead.
Fixes rdar://problem/42780635.

@swift-ci please test

@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha -<PHONE_NUMBER>1f247b61e5b7dc41c99cd836540ef2

@swift-ci please nominate


[Docs] RaisedButton - Fix  prop docs

Before:

After:

What?!?!?!!?!? We're breaking the fancy upload feature in the docs?! I needed that! :laughing:

:laughing:

Wow, I though it was intentionnal to display this upload button :grin:. Thanks!

Should we have the same description in FlatButton for consistency?

I think so :+1:.


Automated Package Upgrade

:tada: This PR is included in version 2.0.38 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove confirmation dialog for cancel command

Project
Skills
Description
When users say 'Cancel', confirmation dailog should not be prompted to let users comfirm.
To Reproduce
Say 'Cancel' in any inprogress dialog.
Expected behavior
No confirmation dialog is prompted and cancel the dialog directly.
Screenshots

Additional context

@feich-ms Can you share more background as to why you think the confirm prompt should not be used?

This feedback comes from BMW team. Per their suggestions, 'Cancel' will cancel the flow directly and confirmation is not that needed. @gabog can confirm.

Right, this came up in a couple of PoCs. The cancel confirmation becomes annoying, especially if the bot misunderstood your intent.
In general, the cancel confirmation gets in the way and is kind of robotic (unless the user is about to lose valuable data). Not sure if you got feedback from other sources. Can we at least make it a config setting If you don't want to remove it?

Hopefully the misunderstood behaviour is greatly improved since the introduction of a confidence measure before triggering that intent. I've accepted the change but I'm concerned about the situation where we cancel incorrectly and loose a users state/progress - this should be rare now but that's where the cancel prompt comes in of value. Perhaps this is where the propsoed consult changes to the dialog stack can be used to enable cancel to "consult" a dialog on whether it has outstanding "writes" and if so prompt to make sure.
I'll move this to Vanadium to track the consult change

Done.


Remove "Remove playback timers" from default css

This is the change I was attempting to make before subsequently slightly messing up comfys commit history.

nvm wasn't my fault.


Add ability to add or update global properties

My used case:

In our app we have the ability to allow the user to set the language the app uses manually.
Currently, the code sets the language based on the current culture at startup -
https://github.com/dhindrik/TinyInsights.Maui/blob/f94ee43e1c771fa3ec4213e4afdaa10276db0b89/TinyInsights/ApplicationInsightsProvider.cs#L141C8-L141C115
This happens before we set the app to the users saved preferred language, and the user could change the language at any point.
Meaning the stats in the application doesn't reflect the actual app settings

There are 2 changes in this PR -

Added UpsertGlobalProperty

This either Adds or Updates a property in the global properties dictionary.
i.e. i can use this to override the preset language insights.UpsertGlobalProperty("Language", AppSettings.SelectedLanguage)
It can also be used for other cases, f.e. we'd like to record the users theme so we can see whats the most used etc

Update the language query on the dashboard

Add | summarize arg_max(timestamp, *) by user_Id
This gets the last pageView event for the user, without this even with just one user the dashboard was showing 2 languages being used -

It now just counts the latest language used by each user -

Great improvement! Thank you for contributing!


Errors were found in your package-lock.json, run  npm install  to fix them.

1 verbose cli [ 'G:\\nodejs\\node.exe',
1 verbose cli   'G:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'audit' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose npm-session 3cbf1855d9d3c78d
5 verbose stack Error: Errors were found in your package-lock.json, run  npm install  to fix them.
5 verbose stack     Missing<EMAIL_ADDRESS>5 verbose stack     at lockVerify.then.result (G:\nodejs\node_modules\npm\lib\audit.js:159:19)
6 verbose cwd D:\git\aspnetcore-angular2-universal-master
7 verbose Windows_NT 10.0.17134
8 verbose argv "G:\\nodejs\\node.exe" "G:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "audit"
9 verbose node v10.6.0
10 verbose npm  v6.1.0
11 error code ELOCKVERIFY
12 error Errors were found in your package-lock.json, run  npm install  to fix them.
12 error     Missing<EMAIL_ADDRESS>13 verbose exit [ 1, true ]

You may need to rebuild phatomjs.

Ty))) my problem solved!!)

Hey i'm having a similar error after installing the parallax via npm
I'm using a mern template
Is there a quick way to solve this?
npm ERR! code ELOCKVERIFY
npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
npm ERR!     Missing<EMAIL_ADDRESS>npm ERR!     Missing<EMAIL_ADDRESS>npm ERR!     Missing<EMAIL_ADDRESS>npm ERR!     Missing<EMAIL_ADDRESS>
npm ERR! A complete log of this run can be found in:

Thanks in advance!

delete the package-lock.json file. Then run the npm build. That will rebuild the package-lock.

Was indeed the problem, thanks for your response! Cheers

ok, the problem is solved for one time. but when I run install again, I HAVE THE SAME ISSUE - the package-lock file is broken always. Is it a way to create non-broken package-lock?

code ELOCKVERIFY
npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
npm ERR!     Missing<EMAIL_ADDRESS>npm ERR!      /Users/janupan/.npm/_logs/2020-02-21T09_54_42_239Z-debug.log
bciasia@januari sdet_test % npm install --save-dev mochawesome
npm WARN<EMAIL_ADDRESS>requires a peer of mocha@^3 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of mocha@^3 || ^2.2.5 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of mocha@>=5 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>No repository field.

<EMAIL_ADDRESS>added 39 packages from 24 contributors, removed 57 packages, updated 16 packages and audited 913 packages in 8.167s

1 package is looking for funding
run npm fund for details
found 15 vulnerabilities (1 low, 7 moderate, 6 high, 1 critical)
run npm audit fix to fix them, or npm audit for details
How about like this, anyone can help me. thank you


roscpp_core: 0.6.14-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository roscpp_core to 0.6.14-1:

upstream repository: git@github.com:ros/roscpp_core.git
release repository: https://github.com/ros-gbp/roscpp_core-release.git
distro file: melodic/distribution.yaml
bloom version: 0.9.7
previous version for package: 0.6.13-1

cpp_common
* various code cleanup (#116 <https://github.com/ros/roscpp_core/issues/116>)
* Bump CMake version to avoid CMP0048 warning (#115 <https://github.com/ros/roscpp_core/issues/115>)

roscpp_serialization
* various code cleanup (#116 <https://github.com/ros/roscpp_core/issues/116>)
* Bump CMake version to avoid CMP0048 warning (#115 <https://github.com/ros/roscpp_core/issues/115>)

roscpp_traits
* various code cleanup (#116 <https://github.com/ros/roscpp_core/issues/116>)
* Bump CMake version to avoid CMP0048 warning (#115 <https://github.com/ros/roscpp_core/issues/115>)

rostime
* [Windows] Using C++11 std::chrono for ros_walltime & ros_steadytime (#121 <https://github.com/ros/roscpp_core/issues/121>)
* various code cleanup (#116 <https://github.com/ros/roscpp_core/issues/116>)
* Bump CMake version to avoid CMP0048 warning (#115 <https://github.com/ros/roscpp_core/issues/115>)

Waiting for other Melodic releases...


Feature: Android Toast is 100% Width and Animate into Position

Looking at the current Android function a toast shown from the bottom defaults to radius 0, and toast transitions into view from bottom at 100% width then transitions out the same way.  Is it possible to add these styles to the options? or have them applied within the plugin?

Hi, there's a cornerRadius option you can use.
I'm not entirely sure what your other request is.. can you perhaps show a video of the issue and/or provide a little image where you point our what you need?

Seems like Ionic has incorporated something like this into their upcoming version 2 of theframework, which shows what I mean.  You just need to choose Android from the buttons above the viewer - http://ionicframework.com/docs/v2/components/#toast

Thanks, but that's not a native UI widget and I'm trying to stay as close to the spec as possible. I do hower like the effect so let's keep this open!


records-resources: refactor record deletion services to abstract

check also https://github.com/inveniosoftware/invenio-app-rdm/pull/2481


[themes] "has" helper confused by ampersand in tag name

Just overheard in the #help slack channel (haven't verified this myself):

roxana [02:21]
looking for some help with the {{#has}} helper. i’m trying to target posts that have the tag products & design but the helper isn’t letting me. can this be used with tags that include more than one word and an ampersand?
roxana [03:05]
nvm it seems like i can’t use the ampersand. i replaced it with a + and everything works well

see also https://github.com/TryGhost/Ghost/issues/2115#issuecomment-34713964

Had no interest in this in 2 years, closing.


Remove use of urlquote in feeds.

Removing urlquote in the feeds will correct the invalid URLs currently being created. Fixes #45.

Current coverage is 70.09%

Merging #53 into master will decrease coverage by -0.25% as of 6440bd0

Powered by Codecov. Updated on successful CI builds.

ping @damonkelley

:+1:


Automatically merge Dependabot PRs with minor version bump

Diffblue Cover

Run: Test: Custom Project / Test  (windows-latest)
Commit: a52a5dfc5086241c7aff018a053b8a52dba252aa

:construction: This comment is under construction and will be updated on completion. :construction:

Diffblue Cover

Run: Test: Gradle Project / Test  (ubuntu-latest)
Commit: a52a5dfc5086241c7aff018a053b8a52dba252aa

:construction: This comment is under construction and will be updated on completion. :construction:

Diffblue Cover

Run: Test: Maven Project / Test  (macos-latest)
Commit: a52a5dfc5086241c7aff018a053b8a52dba252aa

:construction: This comment is under construction and will be updated on completion. :construction:


BUG - Handsprite disappears when you are hit by the scorpions from the bushes in leveltwoB

I check the scorpions and they are set correctly.

@johnnycrich This is still causing a bug for me.

@johnnycrich There seems to be a bigger bug with spawned things in general not killing they way they should.

@wadek2 Should be resolved.


Episode download resets when cancelling soon to be downloaded episodes (in queue)

Steps to reproduce

Put 2 episodes to download

Cancel the next episode to be downloaded

The episode currently downing will reset to 0%

Expected behavior
The episode which is currently downloading will continue to be downloaded.
Actual behavior
The episode resets to 0% downloaded and starts downloading from start again.
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
Android 11
Device
OnePlus 7 pro
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

https://github.com/aniyomiorg/aniyomi/issues/218


CommonJS support

I'm trying to require('microdiff') but it throws ERR_REQUIRE_ESM. I'm using Node.js 12. Don't you think CommonJS should still be supported?

You are probably right. I will work on adding CommonJS support and will tell you when it is added.

CommonJS should work now out of the box if you install v1.1.0+. You can use it like this
const diff = require("microdiff").default

Tell me if you have any problems with it.


Move recommended approach note to approach section

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


Your repository have gone bad

I Can  normal search to your address, but apparently not download process, and written in the Java code to define variables can't find the complete package address, doubt you dropped your links to resources

I am not sure if I understand your message, but everything with github and bintray is working as desired

Closing due to no response from author


NON-263: Enable preprod database sync from prod DB

This is enabling the preprod syncing of the generic service helm chart, see docs.
This is using the proprod DB secrets (in the production namespace) created in this PR Cloud Platform environments PR.
Similar to what already done for Incentives (see Incentives PR).

[x] Wait for CP environment PR to be merged/applied
[ ] Wait for Syscon preprod migration/syncing checks to be done before we merge this (as it would likely trigger overwrite preprod DB with prod data)

As discussed with @Mjwillis we can merge this now, we're not actively doing any testing in preprod and the preprod DB would be synced on a Sunday anyway so we can merge this now.


fix: streaming JSON types and error reporting tests

Description

The streamingJSON Readable Stream's start method is not async
Promisifies the error reporting code to match the expected output
Cleans up the error reporting test to remove Typescript complaints about unsafe "any"

:tada: This PR is included in version 1.16.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Make RDN.Attribute.Value conversion to ASN1Any public

When the value is not a printable or UTF8 string, it may be useful to be able to access the underlying encoded bytes.

I think it makes sense to expose this method, as we already have public methods for converting between Value and String and from ASN1Any to Value (but not the other way around).
Currently, we can access the value's serialized bytes by encoding then decoding the whole attribute as a custom type. It works but it's a little bit involved.

@baarde i would also appreciate this change.
I also find out that  RDN.Attribute.Value might not be UTF8 or printable.
For example teletext string 😅
So this change makes it easier for me too. 🤞


Can you add tags with the image version when published in the marketplace

The image version number in the azure marketplace is different from your tagging, making impossible to knows what contains the images deployed.
For example to which tag in this repo this version relates to 7.7.2020121000 ?

It is difficult to keep the version number in the Azure marketplace and the tags in this repository to be in sync.
The images on the Azure marketplace could be updated and published because of multiple reasons.
As a workaround what I have done is that I have added a file, /opt/azurehpc/azhpc-version, which will contain the corresponding tag from this repository.
This will be available in the future releases of CentOS 7.6, 7.7, 7.8, and 8.1 HPC images.

It is difficult to keep the version number in the Azure marketplace and the tags in this repository to be in sync.
The images on the Azure marketplace could be updated and published because of multiple reasons.
As a workaround what I have done is that I have added a file, /opt/azurehpc/azhpc-version, which will contain the corresponding tag from this repository.
This will be available in the future releases of CentOS 7.6, 7.7, 7.8, and 8.1 HPC images.

If so then it would be interesting to add in that file the versions of the main components being installed in the image

If so then it would be interesting to add in that file the versions of the main components being installed in the image

This is added in new images.


commonmarker dependency of phlex/markdown.rb causes app to not load on 0.5

The Heroku logs are:
heroku[web.1]: Starting process with command `bin/rails server -p ${PORT:-5000} -e production`
app[web.1]: => Booting Puma
app[web.1]: => Rails 7.0.4 application starting in production
app[web.1]: => Run `bin/rails server --help` for more startup options
app[web.1]: Exiting
app[web.1]: /app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require': cannot load such file -- commonmarker (LoadError)
app[web.1]: from /app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
app[web.1]: from /app/vendor/bundle/ruby/3.1.0/bundler/gems/phlex-16edeba653fa/lib/phlex/markdown.rb:3:in `<main>'

Scanning the source, I see that commonmarker is listed as a dependency in the docs group in the Gemfile. This group is not downloaded in production, and thus the require "commonmarker" call in the lib/phlex/markdown.rbblows up in production.

Ops, Phlex::Markdown was meant to be ignored in the Zeitwerk configuration.

I don't know how we can test against this becuase all the Gemfile dependencies are installed in the test environment.


zs_data:  Lots of repeated code.

We have many functions looking just like this:
int totalday(int optc, char ** optv)
{
    signed long input;
    const size_t file_offset = 0x000018;

    if (optc < 2)
        return show32("totalday", file_offset);
    input = strtol(optv[1], NULL, 0);
    return sendx32(file_offset, input);
}

int player_character(int optc, char ** optv)
{
    unsigned long input;
    const size_t file_offset = 0x000020;

    if (optc < 2)
        return show8("player_character", file_offset);
    input = strtoul(optv[1], NULL, 0);
    return send8(file_offset, input);
}

... and the list goes on.
Combining all of the functions (one for each game data field in the save file) into one function is theoretically possible, though we will need to account for not only the similarities but also the few differences as well (size in bits, signedness, dynamics of the optc counter for certain functions that I made behave differently with required/optional arguments).
There may be some sort of object-oriented approach at this, but in C I know it can be done with an array of structs of some kind enlisting the properties of each game data field into each struct element of said array.
I don't think I'll ever fix this "issue", but felt like filing this issue anyway as a note.
Reason being:
While consolidating the shared code makes program binary and source size smaller, whatever approach I use to do it might vary inversely against the flexibility of the functions.  Having one single function reading an array of structures is very clean and maintainable, but it might lose maintainability over the power I have with making sure what I want to be done is done in a stable and well-defined manner.  This is where having multiple functions with mostly repeated code can have some advantage over the ease of adding new, more complex save editor rules, over having a single function that tries to consolidate most of everything.
Maybe I can care for this issue if the program gets very big from having tens of editor commands.

It's not really an issue because it looks like these bodies can be morphed to take advantage of other features in the process.  I need to implement detection of missing stray fairy and heart piece locations.


Notice: Steam Support blasted all my Shapez 2 discussion comments for linking to your website

They specifically said the links to your website represented me "posting or promoting malicious content".  I literally added comments to my screenshots of stuff in Shapez 2 with links to my uploaded blueprints on your website so others could get the shape code.
For example, a screenshot comment like:
`Get the shapes code at the Vortex website:
https://community-vortex.shapez2.com/blueprint/1bp3zv4yg1k7nv0
`
I'd simply paste the code in there but comments are restricted to 1,000 characters so many of my blueprints exceed that limit.
And, most importantly, they won't acknowledge they are wrong in accusing your site of being malicious content. And, they didn't just delete links to your website, or just delete the comments with links to your website... No. They deleted every single comment I posted in Shapez 2. Whether it had a link to your website or not. Someone asked for help and I answered them? Deleted.  Discussion about gameplay and tactics? Deleted.  Talking about the strange customers who complain about the game in the Discussions and then get the game refunded? Deleted.  I posted a bunch of screenshots of Shapez 2 for stuff. All deleted.

Thanks for your notice.
I'd like to apologize for any inconvenience you have faced. This issue also arised when indexing the site via google search. It seems that the site crawlers identify the "download" as malicious because of unknown file format. Filing a report to google directly resolved the issue.
This may also me true to steam. Therefore the deletion of your posts may be an automatic procedure by steam. I'd advise you to contact the steam support. Also not to promise or give hope but "deletion" often means hidden on such platforms.

Thank you for your reply.
I contacted them immediately. They are not taking responsibility at all. They won't mention the site or the comments or anything really. They sent a couple replies which didn't acknowledge anything I wrote. The first reply threatened me and the second made excuses about their actions as protections for the steam community and whatnot. Which really just avoided them acknowledging they hid, if you'd like to think of it, my comments, even the ones which had nothing to do with what they're complaining about. For example, one discussion was a player asking about changing the Factory mode and I explained it requires starting a new game. That comment/reply was part of the whole sweep. What does it have to do with protecting against third-party websites??  Nothing, that's what. It's all nonsense. It only takes a human to look at the website for real, at the ongoing discussions in the Shapez 2 area on steam, and realize they're being ridiculous. And they only need to actually look at and read the comments of mine and see they're harmless community participation.

I'm very sorry. Since I can't directly help you with the situation I will close this issue and keep this in mind going forward.
You may want to join the official shapez 2 discord server (https://discord.gg/shapez-2-1000343719314198548) and ask tobspr for help.


Add rolling Update daemonset

@juliocleal13 Can you open a issue that details what this PR adds/fixes?

@juliocleal13 also run make generate-examples so that all the examples are updated with the new chart version.

@juliocleal13 please update your PR after changes made in https://github.com/open-telemetry/opentelemetry-helm-charts/pull/159
The additional configuration now should be moved from agentCollector to the root level.


OpenStackDataPlaneDeployment docs

Also fixes several out of date references related to the changes for
OpenStackDataPlaneNodeSet.

@slagle: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name 	Commit 	Details 	Required 	Rerun command
ci/prow/dataplane-operator-build-deploy-kuttl 	9a7dc90 link 	true 	/test dataplane-operator-build-deploy-kuttl
Full PR test history. Your PR dashboard.

E0920 18:07:49.538430      13 reflector.go:148] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.Build: failed to list *v1.Build: Get "https://<IP_ADDRESS>:443/apis/build.openshift.io/v1/namespaces/ci-op-vhjc7cl6/builds?fieldSelector=metadata.name%3Dopenstack-operator-ci-build-deploy-kuttl&resourceVersion=61037642": dial tcp <IP_ADDRESS>:443: connect: no route to host

could you please add an entry for openstack_dataplanedeloyment.md here: https://github.com/openstack-k8s-operators/dataplane-operator/blob/main/mkdocs.yml#L29-L31

Done.

/override rdoproject.org/github-check


bug: Method not found error throws when connected with wallet connect 2 and call signTypedData

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.3.11
Current Behavior
throws Method not found error

Expected Behavior
should sign type data.
Steps To Reproduce
connect any wallet through wallet connect option and call walletClient!.signTypedData method.
Ex params for signTypedData method
{"domain":{"name":"Seaport","version":"1.5","chainId":1,"verifyingContract":"0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC"},"types":{"OrderComponents":[{"name":"offerer","type":"address"},{"name":"zone","type":"address"},{"name":"offer","type":"OfferItem[]"},{"name":"consideration","type":"ConsiderationItem[]"},{"name":"orderType","type":"uint8"},{"name":"startTime","type":"uint256"},{"name":"endTime","type":"uint256"},{"name":"zoneHash","type":"bytes32"},{"name":"salt","type":"uint256"},{"name":"conduitKey","type":"bytes32"},{"name":"counter","type":"uint256"}],"OfferItem":[{"name":"itemType","type":"uint8"},{"name":"token","type":"address"},{"name":"identifierOrCriteria","type":"uint256"},{"name":"startAmount","type":"uint256"},{"name":"endAmount","type":"uint256"}],"ConsiderationItem":[{"name":"itemType","type":"uint8"},{"name":"token","type":"address"},{"name":"identifierOrCriteria","type":"uint256"},{"name":"startAmount","type":"uint256"},{"name":"endAmount","type":"uint256"},{"name":"recipient","type":"address"}]},"primaryType":"OrderComponents","message":{"offerer":"0x7dc7972c2100d54485ceBf9496E372C15d2cB030","offer":[{"itemType":2,"token":"0xd07e72b00431af84ad438ca995fd9a7f0207542d","identifierOrCriteria":"1560","startAmount":"1","endAmount":"1"}],"consideration":[{"itemType":0,"token":"0x0000000000000000000000000000000000000000","identifierOrCriteria":0,"startAmount":"94500000000000000","endAmount":"94500000000000000","recipient":"0x7dc7972c2100d54485ceBf9496E372C15d2cB030"},{"itemType":0,"token":"0x0000000000000000000000000000000000000000","identifierOrCriteria":0,"startAmount":"500000000000000","endAmount":"500000000000000","recipient":"0x0000a26b00c1f0df003000390027140000faa719"},{"itemType":0,"token":"0x0000000000000000000000000000000000000000","identifierOrCriteria":0,"startAmount":"5000000000000000","endAmount":"5000000000000000","recipient":"0xbd3af18e0b7ebb30d49b253ab00788b92604552c"}],"startTime":"1693343308","endTime":"1695496107","orderType":0,"zone":"0x004C00500000aD104D7DBd00e3ae0A5C00560C00","zoneHash":"0x0000000000000000000000000000000000000000000000000000000000000000","salt":"51951570786726798460324975021501917861654789585098516727728004482865302044544","conduitKey":"0x0000007b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f0000","totalOriginalConsiderationItems":3,"counter":"0"}}

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

Thanks for reporting. I cannot seem to reproduce this. Can you please provide a minimal reproducible example via https://new.wagmi.sh or a separate repository and reopen this issue. A minimal reproduction will save us a lot of time debugging this.


[Storage] [DataMovement] Using Entra ID with Share File will set the ShareFileIntent for FromDirectory and FromFile

This by default will set the ShareTokenIntent to Backup (as that's currently the only option) and this will be set when Entra ID / OAuth is the credential being used when calling FromDirectory and FromFile from the ShareFilesStorageResourceProvider to generate a StorageResource object.

API change check
API changes are not detected in this pull request.


Make lock not persistent while processing packets

Save managers as Arc<Manager>, which allows to use manager outside the HashMap lock.

Thanks!


How to access web interface once the converge is done

I have done converge and test, then converge again and tried to access interaface at ip 10.xx.xx.xx:9090 but it is unreachable.
I am sure I am doing something wrong.

@gnufreex Make sure your firewall accept 9090. I personally prefer to setup nginx and proxy_pass to it

nginx or traefik in front of prometheus would both be excellent solutions here.


CSPM Dashboard fixing data transformer lambda from JSON to CSV

Describe the issue
The lambda data transformer lambda code is currently not reliable as the data produced aren't consistent nor accurate.
For the purpose of a security dashboard we must make sure that the data displayed are trustworthy.
Additional context

Data in this case is going from CSPM back to AWS QuickSight and along the Extract Transform and Load (ETL) process it needs to be converted to work better with the QuickSight Business Intelligence Dashboard
The code is currently written in node.
I written this tickets thinking of the possibility of either fixing the code or refactoring it in python.

Definition of done

the transform file should match the number of entries in the list file
a test data file exists and runs a test that passes expected results
the test can run locally
The data produced are predictable
The code is resilient (because of the test steps above)
Cap to a 3 and if the solution is too messy in Note, author another ticket for rewriting in python

The code is now operational.
A Local version has been created and the result has been tested and the data has been consolidated.
It has been run for three days without any errors and with a tracking of the consistency.
Here is the PR: https://github.com/BCDevOps/cspm-to-aws-s3-for-quicksight/pull/3


Clone block in block editor preview

Summary
Now Twill have clone block function in form, It is cool if there is a clone button added to the block editor, so the user can clone the block within the block editor instead of cloning the block in form and back to the editor.

Fixed in https://github.com/area17/twill/pull/1748 thanks to @thingasd


Fix Document update conflict error

Fixes #527
Fixes #528
We were not correctly updating the PouchDB documents. There is a required ceremony of updating _rev that we were not doing. I think the issue only first showed up now as IndexedDB either got faster or something changed internally with the Electron 3 upgrade.
See: https://pouchdb.com/guides/updating-deleting.html
I'm using pouchdb-upsert which handles some of the complications of updating a document.

I tested the beta and got the Conflict update error too. With these changes, I built for production, ran it, and now got a swap through without any errors, so seems to be working.

Awesome good catch!
Sorry, totally missed that, assumed db.put() was completely safe for updating.


Documentation should include an example of multiline strings

Laravel uses this package, their passport docs state you can save a PEM key in .env. This is true, but their formatting is wrong. I'm updating their documentation to document it correctly, but would like to refer to an official source that this is how the formatting is supposed to be done.
Wrong formatting
MY_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----
line1
line2
line3
----END PRIVATE KEY-----"

Correct formatting
MY_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nline1\nline2\nline3\n----END PRIVATE KEY-----"

See the docs for version 8 or version 9 for Laravel, neither mention the right multiline string formatting.

Thanks for getting in touch, but that's not correct, actually. You can put real newlines in your strings. We have tests that verify this works: https://github.com/vlucas/phpdotenv/blob/master/tests/fixtures/env/multiline.env, https://github.com/vlucas/phpdotenv/blob/b83be80cedb862eeb030370cd7939f8333b1c496/tests/Dotenv/DotenvTest.php#L320-L330

Please consider our tests as the official source.

Very strange, what could have been the issue with my .env file then? I replaced all newlines with the literal \n character. Before it didn't work, after it did. Might it be an issue with openssl_pkey_get_private/openssl_pkey_get_public instead?

Not sure. You can try dumping the config values to see what they ended up as.


fix: use correct precedence for right side of arrow function

Fixes #119

:tada: This PR is included in version 2.2.2 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


entrypoints missing

K3s Version:
k3s version v1.26.4+k3s1 (8d0255af)
go version go1.19.8
Node(s) CPU architecture, OS, and Version:
Nodes and sever are the same in terms of OS/kernel
Ubuntu 22.04.2 LTS
Linux k8s-control 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
1 Server, 2 Agents
Issue
I've installed k3s with the goal of eventually moving a lot of my currently co-lo hosted services over to it and so far, so good, the setup is "headless" style with traefik being used with ingress behind a load balancer provided by hetzner, I've reached the point where I'm adding some non http/https services but I'm having an issue getting the new entry points detected by the load balancer.
Steps To Reproduce:

Installed K3s:

Installed using a wrapper script
Server:
export HTTP_PROXY=<IP_ADDRESS>:3128
export HTTPS_PROXY=<IP_ADDRESS>:3128
export K3S_RESOLV_CONF=/run/systemd/resolve/resolv.conf
./install-k3s.sh
Agents:
#!/bin/bash
export HTTP_PROXY=http://<IP_ADDRESS>:3128
export HTTPS_PROXY=http://<IP_ADDRESS>:3128
export K3S_TOKEN=
export K3S_URL=https://<IP_ADDRESS>:6443
export K3S_RESOLV_CONF=/run/systemd/resolve/resolv.conf
./install-k3s.sh
Entrypoint config:
/var/lib/rancher/k3s/server/manifests/traefik-config.yaml
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    additionalArguments:
      - "--entryPoints.web.proxyProtocol.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.web.forwardedHeaders.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.websecure.proxyProtocol.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.websecure.forwardedHeaders.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.ssh.address=:10022/tcp"
      - "--entryPoints.smtp.address=:10025/tcp""
    ports:
      smtp:
        port: 10025
        exposed: true
        exposedport: 10025
        protocol: TCP
      ssh:
        port: 10022
        exposed: true
        exposedport: 10022
        protocol: TCP

The service being used to test this is as follows
apiVersion: apps/v1
kind: Deployment
metadata:
  name: postfix
  labels:
    chart: generic-service
    app: postfix
spec:
  selector:
    matchLabels:
      app: postfix
  replicas: 1
  template:
    metadata:
      labels:
        app: postfix
    spec:
      serviceAccountName: default
      containers:
        - name: postfix
          image: <IP_ADDRESS>:5001/postfix
          ports:
            - name: postfix-25
              containerPort: 25
              protocol: TCP
          volumeMounts:
            - name: core
              mountPath: /opt/mailman
            - name: config
              mountPath: /etc/postfix
      volumes:
        - name:  core
          hostPath:
            path: /mnt/gluster-k8s/mailman/core
        - name:  config
          hostPath:
            path: /mnt/gluster-k8s/postfix/etc
      hostAliases:
        - ip: "<IP_ADDRESS>"
          hostnames:
          - "postfix"

---
# Source: generic-service/templates/ingress.yaml
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
  annotations:
    kubernetes.io/ingress.class: traefik
  name: postfix-main
  labels:
    app: postfix
spec:
  entryPoints:
    - smtp
  routes:
  - match: "HostSNI(`*`)"
    services:
    - name: postfix-25
      port: 25

Expected behavior:
Load balancer sees the ports as active and brings the service online (service at the lb level)
Actual behavior:
Nada, squat, didly, there are no lights on at the inn, as far as the load balancer is concerned this is not responding.
Additional context / logs:
Output trimmed to remove unrelated stuff, saves people reading :D
NAMESPACE      NAME                                      READY   STATUS      RESTARTS   AGE
default        postfix-7df978896b-vnbxg                  1/1     Running     0          2d9h
cert-manager   cert-manager-webhook-5594f5c99b-ft86m     1/1     Running     0          40h
kube-system    helm-install-traefik-crd-66jwv            0/1     Completed   0          39h
kube-system    metrics-server-76d86976f8-7xxf6           1/1     Running     0          40h
kube-system    svclb-traefik-d10f3dca-sddjv              2/2     Running     0          38h
kube-system    svclb-traefik-d10f3dca-z2k4k              2/2     Running     0          38h
kube-system    svclb-traefik-d10f3dca-s98fg              2/2     Running     0          38h
kube-system    traefik-b65bd5d48-ffj9h                   1/1     Running     0          38h
kube-system    helm-install-traefik-86fst                0/1     Completed   0          29h

NAMESPACE      NAME                   TYPE           CLUSTER-IP      EXTERNAL-IP                  PORT(S)                      AGE
default        postfix-25             ClusterIP      <IP_ADDRESS>    <none>                       25/TCP                       2d9h
kube-system    traefik                LoadBalancer   <IP_ADDRESS>    <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>   80:31613/TCP,443:32666/TCP   38h

Assuming you didn't copy-paste something incorrectly when opening this issue, your HelmChartConfig's values appear to contain invalid YAML. You have an extra quote on the end of the last additional argument:
spec:
  valuesContent: |-
    additionalArguments:
      - "--entryPoints.web.proxyProtocol.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.web.forwardedHeaders.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.websecure.proxyProtocol.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.websecure.forwardedHeaders.trustedIPs=<IP_ADDRESS>,<IP_ADDRESS>/16"
      - "--entryPoints.ssh.address=:10022/tcp"
      - "--entryPoints.smtp.address=:10025/tcp""
  #                                     HERE --^


oref0-version

Updated copy of @applehat's https://github.com/openaps/oref0/pull/758 that runs check-for-updates after each successful pump-loop instead of once an hour.

Running ever loop could potentially cause offline loop slowdown.
I'm not sure what the timeout on a git fetch is, but it might be worth some testing with a rig with no internet connection before merging.
Or just run it in a non-blocking way - tho that could potentially counter the (what I'm assuming is) idea of having it super visible in the pump loop for everyone to see.

Good point: I'll make sure git fetch times out reasonably.  At least by running at the end of the loop like this, it's not likely slowing anything down: the next thing the rig is going to do is wait for new BG or for radio silence.

Ah, even better: timeout 30 git fetch kills the git fetch after 30s if it isn't done.  :-)

@applehat want to test this version?

I think this is quite an expensive check that will waste quite some CPU cycles and possible help drain the rig battery. In a normal day I see about 1 unsuccessful pump-loop each hour (mostly because rig-pump communication error or failure). e.g.
# grep -i "^Unsuccess" /var/log/openaps/pump-loop.log
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 07:52:00 CEST 2017
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 08:25:32 CEST 2017
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 08:47:29 CEST 2017
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 10:12:16 CEST 2017
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 10:52:04 CEST 2017
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 10:56:47 CEST 2017
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 11:01:22 CEST 2017
Unsuccessful supermicrobolus pump-loop at Fri Oct 27 13:02:10 CEST 2017

But in a situation where the pump and rig are too far apart this will do a continuous network check on the version of oref0.
Perhaps we should only mmtune and do a check like this if the pump run fails for exactly 2 times in a row,

Im sort of torn here.
I agree that post-loop is potentially expensive (especially since we really want to move forwards using less resources as much as possible since Pi0 will be the future), but I also question how much value there is to a once-every-hour approach.
Maybe once an hour we could check git for updates and create a status file like out-of-date.json in the myopenaps directory, and in the pump-loop check for the existence of that file to show the warning? Then oref0-setup can rm the file if it exists, since rerunning it is part of the update process generally.
I probability of someone having an issue and then an update that fixes is going out before that 1 hour mark seems pretty low.

^ That concept above could segway into a decent self updater script that displayed release notes and performed updates 🤔

I think @PieterGit's concern misunderstands what we're implementing here.  This is not being implemented on loop failures, but rather after each successful loop.
time oref0-version --update shows that the full update check, including git fetch, takes less than 2 seconds.  And presumably most of that time is spent waiting on the network, not doing anything with the CPU, so I don't think that's very expensive.
If we wanted to optimize further, I'd check the timestamp of .git/FETCH_HEAD and only update that if it's more than X minutes old.  Then we can still do the same out-of-date check without any additional complexity, but just git fetch ever X minutes.

Ahh thats a good point. If only happening on success, then yeah, perfect.
Tho it may be valuable to add a check against the  timestime of .git/FETCH_HEAD on a failed pump loop as well, just so maximum visibility happens in the logs.

I didn't know you wanted an up to date check on a succesful pump loop, and I don't see the added value of that.
What's the point of having an up to date check that frequent? Why not integrate it with e.g. the autotune script as a daily message. We had a serious regression in the 0.6.0-dev cycle (https://github.com/openaps/oref0/pull/695 ), which caused quite some hypo's for quite some days for quite some people. I don't think that (checking for/doing) updates that often is necessary. That would require far more unit tests and some kind of real world feedback loop which we don't have into place now. After 695 I don't update my dev rig if I don't see a bug fixes or new features that I'm interested in.
More reasons to be careful with non-essential extra processes:

in case of a network problem, this PR will hold up the pump loop for 30 seconds and thus potentially cause the new pump loop to start a minute later
I would like to be able to use rigs offline, or with very limited mobile access
If we want to switch back to pi0 we need to be more carefull with adding extra processes.

Im 👍  on integrating this script and running it, hourly or daily. I'm 👎  on auto updating development rigs. And I would be 👍  on increasing the number of release per year (e.g. a montly or bi-montly release), so that more people use a stable version instead of lurking on the dev channel.

I thought about it a bit more. I really would like to propose we stick to seperations of concerns ( https://en.wikipedia.org/wiki/Separation_of_concerns ) from a safety standpoint. I know the check won't waste a lot of network / CPU resources, but I'm still 👎  on implementing this in the pump loop.
The concern of the pump-loop is to communicate between rig and pump, and the cgm-loop's concern is too make sure the rig has recent and correct cgm data. These loop are essential and should not be mixed with other supplementary concerns.
The concern that people need to update their rigs (especially for dev branch rigs) should be implemented differently. I propose to implement a oref0 check and run that in a daily cron (similar to autotune). The oref0 check can also be run at the end of oref0-setup and the discipline should also be to run it after any configuration change or in case of trouble shooting.
This is similar to postfix check, see http://www.postfix.org/BASIC_CONFIGURATION_README.html#syslog_howto
Postfix administrators will always do a postfix check after every configuration change or update.

Agree with Pieter both on the SoC principle - pump-loop should do what it indicates it should do and nothing else and in principle avoiding extra battery drain. Also not sure how many people look at their logs regularly - I know I don’t. Sending this over pushover would maybe make more sense and I would actually consider mandating the use of pushover for dev branch for increased safety.

Thanks @sulkaharo for also advocating separtion of concerns.
I'm 👍  on enforcing a mandatory notification mechanism for the dev branch for increased safety. I would not implement it completely based on pushover.
For example:  I would rather have some generic oref0-log or oref0-notify command that will log the notification (with log/syslogd in first implementation). For loglevels we should make some rules, e.g. applying the logic of http://www.postfix.org/DEBUG_README.html#logging for our case:
panic  indicates a problem in the software itself that only a programmer can fix. oref0 cannot proceed until this is fixed.
fatal is the result of missing files, incorrect permissions, incorrect configuration file settings that you can fix. oref0 loops cannot proceed until this is fixed.
error reports an error condition, the user should fix a.s.a.p., e.g. "no succesful pump loop has been run for 30 minutes"
warning indicates a non-fatal error, such as that the rig software is out of date, running on the dev branch with more than a week old software
Off course the basic logging of a certain level should be sent to the user (or notified) in one or more ways:

very basic: a cron with a egrep '(warning|error|fatal|panic):' /some/log/file > /some/logextract.txt where logextract.txt can be shown with a webserver
a small webservice that @hartvig suggests in https://gitter.im/nightscout/intend-to-bolus?at=59f45a32e44c43700a8a7e71 , that shows the most recent error messages
a pushover implementation that @sulkaharo suggests
a pebble notify implementation, that I would prefer (can also work offline)
...

The notification for a rig to be out of date should be implemented in a oref0-check or oref0 check outside of the essential loops.
Separating concerns will be a bit more work, but will make the software much better to maintain and to extend in a safe way.

I’ve read through this discussion and considered my use of the system.
This version management process is something that I agree with Pieter and Sulka on. It’s not an essential component of the loop, for either the NightScout or actual loop. It’s more of a supervisor process (that you could also implement for management my some of the system items like network control and I agree with the separation of concerns viewpoint.
I also think that auto-updating The dev branch is a bad idea. There are too many users using dev  to use features that aren’t in Master (curves for example) for whom getting a dev branch with the hypo bug could cause issues. I see no issue with an updated script diwnloading and caching the latest code version until a user initiated an install, but it shouldn’t auto update running code.
Any auto update would also have to guarantee consistency between currently running behaviour and newly installed behaviour so may add an additional overhead.

(Technical side note -looks like tthe git check logic is likely to fail on dev rigs that have multiple remotes configured? Did you try this with a secondary oref0 fork added?)

@sulkaharo I think anyone configuring multiple remotes who wants this feature probably has the ability to submit a PR to fix that.  :-)
@tim2000s no one is suggesting auto-updating anything.  This is just an informational message.
Based on the feedback so far, I think I'll make a cron job that runs oref0-version --check-for-updates once an hour and writes the results to a one-line text file, and then have oref0-pump-loop cat that at the end of each run for visibility.
While I understand the desire for another notification mechanism, I don't want to hold up a "good enough" solution for something better.  If anyone wants to implement a pushover or other form of notification as well, feel free.  I think for most users who are testing dev and who show up in ITB to ask questions, a note at the end of each pump-loop.log run will be a suitable reminder to keep up-to-date (and to update before asking for support on an outdated version of dev).

Any other feedback or anything anyone wants to test on the revised version running hourly in cron and displaying in pump-loop.log?  If not I think this is ready to merge to dev.


.env file should not be required for local development

To fix this, move the "env_file: .env" in docker-compose.yml into the docker-compose.production*.yml files.

The .env file is no longer being used.


Terrain collider using Rapier's heightfield

Hello,
I really like this project, but one of the important things that appear to be missing for potential games and simulations is colliders on the terrain. Rapier contains a collider type that seems to be ideal for this purpose, I'm talking about heightfield colliders. Are there possibly any plans to include this? I tried to make a prototype with these myself, but this project is pretty big and honestly I have no idea where to even begin. Can you provide me with some guidance? Most importantly I need to find a step in the whole preprocessing/rendering pipeline where the images are processed and already available in the form of 2d height matrix, spawning a collider at this point should be trivial.

Hi Zeerooth,
thank you very much for your interest in this plugin. I have been really busy with university for the last couple of weeks and will remain so for the next month as well.
The overlapping data tiles are the problem with extracting the collision mesh from the preprocessed terrain data.
I believe that it would be pretty difficult to maintain an excerpt of the terrain mesh around the viewer.
Ideally, we could just sample the height value at any XZ coordinate on the CPU just like we do it in the shaders.
Most of this stuff is already set up, but the interface is not nice. I do not think that this would work with rapier though.
Alternatively, we could create mesh segments from the source height data, that we manage separately.

Would love to see this too! 👍


No software license specified for this project yet

I did not find any mention of a license (GPL etc) on your Github project page for Hanabi.
Could you (as a team) perhaps have a look at:
https://help.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository
and choose one that matches your preference for use with your code?

@sgiebels I added the MIT licence, thanks!


X509 DPS

The X509 device clients for both sync and async
The samples for both sync and async
The X509 security client
Tests are still being written.

class UseSymmetricKeySecurityClient(PipelineStage):

I like that your having this stage handle X509 and SK both.  If you keep it this way (and I think you maybe should), then this stage needs to be renamed

Refers to: azure-iot-device/azure/iot/device/provisioning/pipeline/pipeline_stages_provisioning.py:13 in b9759db. [](commit_id = b9759dbfd57bb32bbf2aaa552729354428fc7f50, deletion_comment = False)

from ..abstract_provisioning_device_client import AbstractProvisioningDeviceClient

.. imports are concerning because they're hard to refactor. Please don't use them, instead provide the full path.

Refers to: azure-iot-device/azure/iot/device/provisioning/aio/async_sk_provisioning_device_client.py:12 in b9759db. [](commit_id = b9759dbfd57bb32bbf2aaa552729354428fc7f50, deletion_comment = False)

    def remove_this_code(call):

???

Refers to: azure-iot-device/azure/iot/device/provisioning/pipeline/provisioning_pipeline.py:70 in b9759db. [](commit_id = b9759dbfd57bb32bbf2aaa552729354428fc7f50, deletion_comment = False)

No new tests for functionality? Are they coming later?
(this is probably for the best re: pipeline since that whole testing thing is still being revised, but for the upper layer stuff I'd like to see it)

yes i am writing them.

In reply to: 500036457 [](ancestors = 500036457)

    def remove_this_code(call):

this is a part of the same type of code in the other pipeline. I will think and discuss this with bert

In reply to: 500034433 [](ancestors = 500034433)

Refers to: azure-iot-device/azure/iot/device/provisioning/pipeline/provisioning_pipeline.py:70 in b9759db. [](commit_id = b9759dbfd57bb32bbf2aaa552729354428fc7f50, deletion_comment = False)

class SymmetricKeyProvisioningDeviceClient(AbstractProvisioningDeviceClient):

there should probably be only one provisioning client that serves both x509 and symmetric key scenarios

Refers to: azure-iot-device/azure/iot/device/provisioning/aio/async_sk_provisioning_device_client.py:19 in fb5da5a. [](commit_id = fb5da5a248439c7a442322e7e7976da1f5fa88b2, deletion_comment = False)

class SymmetricKeyProvisioningDeviceClient(AbstractProvisioningDeviceClient):

I am going to do that in a different PR..

In reply to: 501529330 [](ancestors = 501529330)

Refers to: azure-iot-device/azure/iot/device/provisioning/aio/async_sk_provisioning_device_client.py:19 in fb5da5a. [](commit_id = fb5da5a248439c7a442322e7e7976da1f5fa88b2, deletion_comment = False)

    def remove_this_code(call):

remaining like this for now.

In reply to: 500180965 [](ancestors = 500180965,500034433)

Refers to: azure-iot-device/azure/iot/device/provisioning/pipeline/provisioning_pipeline.py:70 in b9759db. [](commit_id = b9759dbfd57bb32bbf2aaa552729354428fc7f50, deletion_comment = False)


ergoscf: init at 3.8

Motivation for this change
Quantum chemistry program for large molecules. Transfer from NixOS-QChem overlay.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs 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 Relase 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 132554 at ca3b14fd run on x86_64-linux 1

1 package built successfully:

ergoscf

2 suggestions:

warning: no-uri-literals
URI literals are deprecated.
Near pkgs/applications/science/chemistry/ergoscf/default.nix:35:16:
   |
35 |     homepage = http://http://www.ergoscf.org;
   |                ^

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/applications/science/chemistry/ergoscf/default.nix:14:15:
   |
14 |   patches = [ ./math-constants.patch ];
   |               ^


create greetings

Hey @steviebeenz,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: d85cbee0-c516-11e9-8712-75d78f9b457f

Hey @steviebeenz,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: d9ede630-c516-11e9-8712-75d78f9b457f

I don't understand what this PR does. Please provide a description.

It posts what you tell it to when a new contributer pull requests.

I uses native Issue Templates for that.


Update scale-workshop-core dependency

Fixes equave respelling issues when equalizing.
ref #404

Also fixes #417

Also fixes #415

Also fixes #410

Obsoleted.


[WIP] Fix KafkaAvroSource to use the latest schema

When we read data from Kafka, we want to always read with the latest schema.
This allows us to make assumption throughout the rest of the pipeline that every record has the same schema.
We create a custom KafkaAvroDecoder that use the latest schema as read schema.
This does not work with all SchemaProvider yet.

cc @pratyakshsharma this has been around for long.. Could you take a look to understand if we still need this and may be retarget this for the next release

ack. Will take a pass.

@haiminh87 Thank you for submitting this PR. Have left few comments. Apart from them, this PR needs a rebase and it would be great if we could add test cases as well. :)

cc @pratyakshsharma this has been around for long.. Could you take a look to understand if we still need this and may be retarget this for the next release

@vinothchandar this is a good feature to have. Have left few comments.

@haiminh87 Still working on this?

@pratyakshsharma Nope.. all yours if you want to take a run at it

@pratyakshsharma Nope.. all yours if you want to take a run at it

Sure, will be working on it next then :)

@vinothchandar I raised https://github.com/apache/incubator-hudi/pull/1562 for this feature. I guess we can close this PR then.


Documentation page throwing exception

Wasn't sure how else to message you but am trying to go to the documentation page (https://yajrabox.com/docs/laravel-datatables/master) and getting the "Whoops, looks like something went wrong." message.  Thanks!

Upgraded to Laravel 5.5 and fixed.. Thanks!

@yajra
http://yajrabox.com/docs/laravel-datatables/master/export-columns
http://yajrabox.com/docs/laravel-datatables/master/print-columns
getting the "Whoops, looks like something went wrong." message.
Tnx bro.

@amir751020 where did you get that link? It might be outdated, maybe see https://yajrabox.com/docs/laravel-datatables/master/buttons-export.


macos: avoid posix_spawnp() cwd bug

macOS 10.15 has a bug where configuring the working directory with
posix_spawn_file_actions_addchdir_np() makes posix_spawnp() fail with
ENOENT even though the executable is spawned successfully.
@bnoordhuis replaces #3583

👋
I was one of the person that was experiencing this issue via Visual Studio code (see https://github.com/microsoft/vscode/issues/118267, cc @deepak1556) and the workaround at the time worked perfectly.
Since VSCode 1.67.1[^1] the problem has reappeared however with ENOENT because I assume it got this new implementation instead.
I'm submitting the problem here but let me know if you would rather I open an issue and, if so, which repository is more appropriate.
[^1]: Version info:
Version: 1.67.1 (Universal)
Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d
Date: 2022-05-06T12:37:16.526Z (1 wk ago)
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.4.0

@jeremie-stripe the fix from this PR has not been rolled out in the Electron version used by VSCode stable, can you please open an issue in the VSCode repo, thanks!


Issue with Set to

I have reached some state in this editing session where I cannot perform any edits. As I noted, interpolate (which was previously working) is not functional, and I cannot get 'Set to' to work either. I previously had success with it.

So, I saved a series and then tried to perform some of these operations. Look at this strange behavior: I selected points and used 'Set to' to set them at 1000. Now the original points are shown as black and are replicated at 1000. Same behavior for interpolate. Same for linear drift correction (see the last screen shot). The points are shown in both black and red. Do we just need to disable editing after a save is performed?

Somehow addressed! Closing.


serial port test

how can I test the serial ports of px4 in a simple way?
because m8n is working on the pc and is not on px4

I bought another module because m6n is working although m8n funsione in the computer

That's one way for it to go away....

Sorry for the late response here.
How do you check "is working"? Can you do gps status in Mavlink shell to check what's up?
And when you connect to the GPS via computer, can you use the uBlox tool to check the settings of the GPS? Maybe some setting is incompatible with what the PX4 driver tries to do.

so I bought another GPS and solved it but the same GPS still works on the pc

what got me was how the GPS i had connected worked in Betaflight but would not work in PX4... This was on an omnibus

But there's another problem with the


feat: if prompt is empty, close it on backspace command

In relation to #551
Also fixed issue of search being run with nil mentioned in this comment.

Hi, thanks for your PR!
I've made some simplifications - closing input via self.close().
Allowing empty keyword searches is expected behavior, as some users use it to achieve similar functionality to a "flat view". However, displaying nil is indeed a bug, which I've addressed through another method.

Ah I see, thanks for that


[SPARK-LLAP-148] NoClassDefFoundError: org/apache/hadoop/registry/client/binding/RegistryUtils #151

What changes were proposed in this pull request?
change the sbt for the hadoop yarn
How was this patch tested?
manual tests in <IP_ADDRESS>-60

@bikassaha  @dongjoon-hyun  if no further comment, I would merge this.


Default media playback controls blocked in Safari with strict CSP

Affects Safari 11 and 12 for iOS 11 and 12 and macOS.

Thanks!


Zrz 649/add custom mc docs 2

Manually included changes side-by-side with some improvements :) Closing this PR


cmd/go: error when enable cgo and static link with build flag '-mod=vendor'

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.11 linux/amd64.
Does this issue reproduce with the latest release?
of course it is.
What operating system and processor architecture are you using (go env)?
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
What did you do?
this is my simple test code
package main

import (
	"fmt"
	"github.com/ethereum/go-ethereum/common/hexutil"
	"github.com/ethereum/go-ethereum/crypto"
	"github.com/ethereum/go-ethereum/crypto/secp256k1"
	"log"
)

func main()  {
	bytes, err := hexutil.Decode("0x71b9732fa43b52d8c9085c053064b55dccc8785da7f12b3812787ee3def367ba0a8796dafb76fd5a146c226036092b7f5dd59feecb92776f7bb2cf2a48594ae201")
	if err != nil {
		log.Fatal(err)
	}
	pub, err := secp256k1.RecoverPubkey(crypto.Keccak256Hash([]byte("hello")).Bytes(), bytes)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(hexutil.Encode(pub))
}

then I ran the command go build --ldflags "-linkmode external -extldflags -static" -a -o main -v -mod=vendor secp256k1.test.go
What did you expect to see?
well, not error and output with the executable file main
What did you see instead?
error and it still go on but with no main file output at the end.
> runtime/debug
> github.com/ethereum/go-ethereum/common
> github.com/ethereum/go-ethereum/common/math
> runtime/cgo
> github.com/ethereum/go-ethereum/crypto/secp256k1
> # github.com/ethereum/go-ethereum/crypto/secp256k1
> ../vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/curve.go:42:44: fatal error: libsecp256k1/include/secp256k1.h: No such file or directory
> compilation terminated.
> github.com/ethereum/go-ethereum/rlp
> log

by the way, if I do not add the flag -mod=vendor , it seems ok.

no body take a look at this issue?

You're saying that go build --ldflags "-linkmode external -extldflags -static" -a -o main -v -mod=vendor secp256k1.test.go produces an error above, but there's no error if you take out -mod=vendor.
What happens if you take out all the other flags, and run go build -mod=vendor secp256k1.test.go?
As is, it's hard to tell if the issue is within Go, or if there's a problem with the go-ethereum source code (it's also not clear which commit was being used). To make progress, we'll need to narrow it down into a smaller, reproducible test case (ideally, one that doesn't depend on an external project).
If you're unsure how to do that, I'd suggest first reporting this issue in the go-ethereum project's issue tracker. If they can confirm it's not an issue in that codebase, we can investigate further.

@dmitshur
My test result is the same with the latest go-ethereum commit.
It is very easy to replay with the following commands:

root@sanguohot:/opt# rm -rf test
root@sanguohot:/opt# mkdir test
root@sanguohot:/opt# cp ./medichain/test/secp256k1.test.go test/
root@sanguohot:/opt# cd test/
root@sanguohot:/opt/test# go mod init github.com/sanguohot/test
go: creating new go.mod: module github.com/sanguohot/test
root@sanguohot:/opt/test# go mod tidy && go mod vendor
go: finding github.com/ethereum/go-ethereum/common/hexutil latest
go: finding github.com/ethereum/go-ethereum/crypto latest
go: finding github.com/ethereum/go-ethereum/crypto/secp256k1 latest
go: finding github.com/ethereum/go-ethereum/common latest
go: finding github.com/btcsuite/btcd/btcec latest
go: finding github.com/btcsuite/btcd latest
go: finding gopkg.in/check.v1 latest
go: finding github.com/davecgh/go-spew/spew latest
go: finding github.com/kr/text v0.1.0
go: finding github.com/kr/pty v1.1.1
go: downloading github.com/kr/text v0.1.0
root@sanguohot:/opt/test# go build --ldflags "-linkmode external -extldflags -static" -a -o main -mod=vendor
github.com/ethereum/go-ethereum/crypto/secp256k1
vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/curve.go:42:44: fatal error: libsecp256k1/include/secp256k1.h: No such file or directory
compilation terminated.
root@sanguohot:/opt/test# ll
total 24
drwxr-xr-x  3 root root 4096 Sep 18 09:45 ./
drwxr-xr-x 11 root root 4096 Sep 18 09:44 ../
-rw-r--r--  1 root root  314 Sep 18 09:45 go.mod
-rw-r--r--  1 root root 1180 Sep 18 09:45 go.sum
-rw-r--r--  1 root root  567 Sep 18 09:44 secp256k1.test.go
drwxr-xr-x  3 root root 4096 Sep 18 09:45 vendor/
root@sanguohot:/opt/test# go build --ldflags "-linkmode external -extldflags -static" -a -o main
root@sanguohot:/opt/test# ls
go.mod  go.sum  main  secp256k1.test.go  vendor

But your suggestion is good,  it may be the go-ethereum's problem.
I will report an issue to their project.

But your suggestion is good, it may be the go-ethereum's problem.
I will report an issue to their project.

Sounds good. Feel free to link it to this issue so we can keep track of progress.
Also, did you see this question:

What happens if you take out all the other flags, and run go build -mod=vendor secp256k1.test.go?

There is no difference with go build -mod=vendor secp256k1.test.go.
I test it in the issue ethereum/go-ethereum:17700

This is almost certainly a dup of #26366. The thread gives some good background on what's happening here, especially #26366 (comment).
If you want to "vendor" the entire module then #26366 (comment) gives links to how to do that.

@myitcv Thank you very much, it works to me.
I hope there will be go mod modvendor as you say.


markov_clustering not works with scipy 1.3.0

I just copied the README example in a python console:
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import markov_clustering as mc
Matplotlib not present
Visualization not supported to missing libraries.
>>> import networkx as nx
>>> import random
>>>
>>> # number of nodes to use
... numnodes = 200
>>>
>>> # generate random positions as a dictionary where the key is the node id and the value
... # is a tuple containing 2D coordinates
... positions = {i:(random.random() * 2 - 1, random.random() * 2 - 1) for i in range(numnodes)}
>>>
>>> network = nx.random_geometric_graph(numnodes, 0.3, pos=positions)
>>>
>>> # then get the adjacency matrix (in sparse form)
... matrix = nx.to_scipy_sparse_matrix(network)
>>> result = mc.run_mcl(matrix)           # run MCL with default parameters
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/env/export/cns_n02_scratch/scratch_agc/scratch/agc/users/ggautrea/miniconda3/lib/python3.7/site-packages/markov_clustering-0.0.6.dev0-py3.7.egg/markov_clustering/mcl.py", line 233, in run_mcl
    matrix = prune(matrix, pruning_threshold)
  File "/env/export/cns_n02_scratch/scratch_agc/scratch/agc/users/ggautrea/miniconda3/lib/python3.7/site-packages/markov_clustering-0.0.6.dev0-py3.7.egg/markov_clustering/mcl.py", line 93, in prune
    pruned[matrix >= threshold] = matrix[matrix >= threshold]
  File "/env/export/cns_n02_scratch/scratch_agc/scratch/agc/users/ggautrea/miniconda3/lib/python3.7/site-packages/scipy/sparse/_index.py", line 109, in __setitem__
    raise ValueError("shape mismatch in assignment")
ValueError: shape mismatch in assignment
>>> clusters = mc.get_clusters(result)    # get clusters
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'result' is not defined
>>> import scipy
>>> scipy.__version__
'1.3.0'

But if instead of the scipy 1.3.0 version i use the scipy 1.2.0 one, it works fine.

Can confirm that it no longer works with scipy 1.3.0.
I will look into fixing this tonight, and submit a pull request once tested

I just tested the example with scipy 1.5.4 and it seems to work.


Enable rounding for gas

Description
Actually enable rounding
Test Plan
current tests

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

@tzakian @oxade thoughts around the size limit tests changes?

@tzakian @oxade thoughts around the size limit tests changes?

All clear here :)


Added documentation on the steps needed to use minikube

This PR intents to document the steps needed to work with Draft using Minikube.

@rodcloutier,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

I have removed the minikube.md file since the content was more about self-signed certificate support. Appropriate information about minikube usage has been updated in other locations (install and ingress).

I just want to make sure you know that I really appreciate you taking the time to make this PR! This is all awesome stuff. :)

ditto @bacongobbler's sentiment. Found myself referring to this today even though it's a PR. Thank you.

thanks!


chore(*): add status badges

Codecov Report

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

@@           Coverage Diff           @@
##           master       #7   +/-   ##
=======================================
  Coverage   48.15%   48.15%
=======================================
  Files          26       26
  Lines        1680     1680
=======================================
  Hits          809      809
  Misses        756      756
  Partials      115      115

Continue to review full report at Codecov.

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


Any way to implement fast split-word search without fuzzy search plugin for large datasets?

Hello!
I am trying to implement search functionality for a large list (>1400 paragraphs to parse). The default search works fast, but does not have split word functionality (if the user types in two words and a space, the script recognizes it as one string). When fuzzy search is implemented, it takes more than 30 seconds to render the results, and the list is incomplete. Is there any half-solution I can implement for split-word search?

nvm - just solved using a filter!
if anyone is curious, here is the code we used:
$('#custom-search').keyup(function() {    var searchString = $(this).val().toLowerCase(); //lowercase for case-insensitivity    var searchArray = searchString.split(" ");    console.log(searchArray);    list.filter(function(item) {      var isTrue = true;      for (i = 0; i < searchArray.length; i++) {         if (item.values().toLowerCase().indexOf(searchArray[i]) == -1) {           isTrue=false;         }       }       return isTrue;    }); });


Replacing social media links to saveourwater.

Commented out unseen email. Use later?

Cool  - thanks for adding these placeholder.
The updatable data for this will come from WP settings, we have four menus - header-menu, and content-menu, social-media-links, and statewide-footer-menu that works similarly to the header menu.
CAWeb theme added some spans on the social-media-links - so we can so something similar there.
Menu data is set in the default site menus
Want to pull them in?

Yes, thanks. Need a lot more context. Have a happy fourth!


Folder get parameter dose not handle some paths correctly

The issue
Opening a path wich includes (e.g) # will not work.
This was an issue in previous versions to but was fixed by manually encoding the char (%23).
This is a relevant issue # are not too uncommon since it is part of C#.
Steps to reproduce
mkdir test#

Open the folder in code-server

We'll definitely fix this. Thanks for the report!
Tracking in: https://github.com/cdr/code-server/issues/1424


msgpack serializer lost unicode flag

Hello, there is another issue with msgpack serializer: when I send unicode string, it turns to ordinary str type.
Test suite:
tasks.py:

#!/usr/bin/python
# -*- coding: utf-8 -*-
from celery.decorators import task
import time
import os

@task
def slp(x):
    return type(x)

CELERY_TASK_SERIALIZER = "msgpack" in celeryconfig.py

>>> from tasks import slp
>>> result = slp.delay(u"привет")
>>> result.get()
(type 'str')

(type 'str' must be in inequality signs, but damn github thinks that it is html tag)
PS. returning results doesn't have this problem - unicode is unicode and str is str. Problem is in parameter of task

Hello. I found that latest msgpack-python support encoding arg, so
x = msgpack.packs(u"привет", encoding="utf8")

x
'\xac\xd0\xbf\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82'
print msgpack.unpacks(x, encoding="utf8")
привет
type(msgpack.unpacks(x, encoding="utf8"))
<type 'unicode'>
Can this somehow will help in this bug?

BTW, 'encoding' in msgpack.packs is not needed, I suppose, because
x = msgpack.packs(u"привет")

x
'\xac\xd0\xbf\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82'
x = msgpack.packs(u"привет", encoding="utf8")
x
'\xac\xd0\xbf\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82'
msgpack.packs(u"привет") == msgpack.packs(u"привет", encoding="utf8")
True
but for decoding it steel needed, obviously


Visibility of certificates/templates

The editing permissions will obviously remain with the creator (owner) themselves, but the visibility of certificates may be controlled:

Public certificates/templates will remain as they currently are.
Password-protected certificates/templates will only be accessible after authentication using a certificate-specific password. The password must be sent via a query parameter for all authenticated operations.

More customization of visibility will be feasible once authentication is implemented in Rema.

@paramsiddharth can I be assigned to this issue?


deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade

I get this message when installing hostr
Hostr depends on a stale version of Mocha, that in turn depends on Jade.  The current Mocha version, 3.0.2, does not depend on Jade or Pug at all.
Updating the Mocha dependency would also solve this message:
deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

Good catch!  Should be resolved with 2.3.3


[QUESTION] What underlying technology is LH using to do snapshots

What underlying technology is LH using to do snapshots?
Is it using LVM or some mechanism of iscsi or something "hand written by LH"?
I am asking because I plan to use LH to do backups of Postgres. This is called File System Level Backup
but it needs a "consistent snapshot" of the data directory. I would like to understand if this is what LH is doing.
Is it as consistent as a LVM snapshot is - for example?

You can please check the document https://longhorn.io/docs/1.2.3/concepts/#24-snapshots .

Thanks @derekbit - if you still have the time - could you perhaps tell me how this is implemented?
Reusing somthing from iscsi, reusing something else or your own Longhorn implementation?

snapshot is a Longhorn implementation. Underlying each Longhorn volume is a collection of spare files. Each file is corresponding to a Longhorn snapshot. When you create a snapshot of a Longhorn volume, Longhorn does:

running sync to flush data from the filesystem to the block device level managed by Longhorn. https://longhorn.io/docs/1.2.3/concepts/#231-how-read-and-write-operations-work-for-replicas
Create a new sparse file for volume head. The current spare file becomes the newly created snapshot.

@shuo-wu will share a presentation for more info

There is a presentation. It contains some detailed illustrations and animations that may help you understand Longhorn implementations:
https://docs.google.com/presentation/d/1SAGUKE9gqWCRWtJ8li0KWqnvMmtY22LY/edit?usp=sharing&ouid=108339013651336965146&rtpof=true&sd=true


Improve documentation for phrase traversals

Phrase traversals provide the possibilities of viewing a single Score as a group of Voices and were added to allow proper addition of articulation amongst other things. They have many other uses. The current API is so-so and could benefit from a rewrite in the light of aligned voices.
See also #278.
See also #208

Phrase traversal should be avoided in favor of more specific time-structures. Closing.


Deprecation warning about calling bottle

Describe the bug
Using the tap with Homebrew version 3.2.17-63-g5a5a8d5 results in a deprecation warning:
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the gdubw/gng tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/gdubw/homebrew-gng/Formula/gng.rb:8

To Reproduce
Steps to reproduce the behavior:

brew update
brew tap gdubw/gng
Run a Homebrew command that checks the available formulas, e.g. brew outdated

Expected behavior
No warning thrown.
Shell Info (please complete the following information):

Shell Version: zsh 5.8 (x86_64-apple-darwin19.6.0)
DEBUG Output: not applicable

This is resolved by https://github.com/gdubw/homebrew-gng/issues/2


Sync year

Every single Club Application should have a year field associated with it.
The validation for this was disabled with #65 because of a failure on my behalf with the migration code.

This PR never got merged.


Added doc for latest KC v0.50.0 and carvel tools release

Added doc for latest KC v0.50.0 and carvel tools release

@praveenrewar I have updated the PR


php artisan module:lang issue

Hi, it seems the php artisan module:lang command is not working while there is a 'CheckLangCommand.php' in the Command folder. I tried to add 'Commands\CheckLangCommand::class,' in the config.php file, but it seems the command is still not found

@SVANNER
HI, Which version of laravel and package are you using?

Hi, i ran a composer update and it solved the problem for me.
Thanks a lot !


chore: Update azidentity to 1.6.0

Fixes #140

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.51%. Comparing base (d455817) to head (969ed91).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #153   +/-   ##
=======================================
  Coverage   61.51%   61.51%
=======================================
  Files           5        5
  Lines         317      317
=======================================
  Hits          195      195
  Misses        121      121
  Partials        1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


home-assistant: 0.117.6 -> 0.118.0

Motivation for this change
https://www.home-assistant.io/blog/2020/11/18/release-118/
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Yep, correct. I tracked that issue and then … forgot. Thanks for the reminder.


BUGFIX: Check if property text exists

Only output element.properties.text if set.
Otherwise the result might be an empty  tag within the form.
FLOW-375 #close

@kdambekalns Thanks for your feedback. Created the new PR. You told me to target 3.0. Since there is only 1.2 and 2.0 I figured you meant the Flow 3.0 branch (which would be 2.0 for the corresponding neos version). If i got it wrong and it should be 1.2 I'll just open another PR. :smile:

Replaces #1 - and yes, I was wrong about 3.0, 2.0 is correct. :+1:


Openweather component issue

Home Assistant release (hass --version):
0.44.1
Python release (python3 --version):
Python 3.4.2
Component/platform:
Component : openweather
Platform :
~# uname -r
3.16.0-4-686-pae
~# lsb_release -ds
Debian GNU/Linux 8.7 (jessie)

Description of problem:
I found this in the logs. I think there is somewhere in the code a check is missing but I didn't find where.
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
    None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/openweathermap.py", line 124, in update
    self.owa_client.update()
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/util/__init__.py", line 303, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/openweathermap.py", line 181, in update
    obs = self.owm.weather_at_coords(self.latitude, self.longitude)
  File "/root/.homeassistant/deps/pyowm/webapi25/owm25.py", line 248, in weather_at_coords
    return self._parsers['observation'].parse_JSON(json_data)
  File "/root/.homeassistant/deps/pyowm/webapi25/observationparser.py", line 39, in parse_JSON
    d = loads(JSON_string)
  File "/usr/lib/python3.4/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'NoneType'

Expected:
If a JSON was needed and a NoneType passed, the error should have been handled and written in the log instead of that trace.
Additional info:
It happened only once today, I don't know if the problem happen often. I can provide any information you need to help you find the problem.

I guess that this issue should be handled by [pyowm](https://github.com/csparpa/pyowm).

Would be the way to go.

Hi,
I looked a bit into it in order to do a good bug report in pyown repository, and I think this is pretty clear from their side.
The function weather_at_coords is supposed to return None when no weather data are available. According to their documentation : https://github.com/csparpa/pyowm/blob/master/pyowm/webapi25/owm25.py#L233
Maybe I'm wrong in my understanding since I do not master the code. Do you confirm this ? If you still think this is pyowm related can you explain me why ?
Thanks !

We are checking that weather_at_coords() doesn't return None. The traceback happens in observationparser.py.

Hi @Niflou and @fabaff I think this was fixed with https://github.com/csparpa/pyowm/commit/93e2b8b77f96abc0428c8817ac411dc77169c6fc
The fix will be shipped along with PyOWM version 2.7.0 (no due date for that release yet, sorry), but is currently available on the develop branch

Thanks @csparpa for the heads-up. I would prefer to stick to the PyPI release.


Extend a shared or remote config file

I see there is the extend option. All example use cases I have found show it with a local file. Is there a way to extend a remote or shared file? For example from a git repo.
I'm looking for a way to manage pre-commit hooks across all my repos. The extend option looks great, but seems to require the hooks to exist on the local system or in the repo. I'm looking to have one repo with all the hooks and use them across all repos.
Thank you for your work on this. It looks like an awesome tool.

Hey! Yes, there is an ongoing work in this PR: https://github.com/evilmartians/lefthook/pull/323. I am planning to finish it in 1-2 weeks.
With this feature we will take lefthook.yml (or another file, can be customized) from a git repo and merge its content to the local lefthook.yml. Stay tuned :)

Awesome thank you!


CMIP6 Cookbook

Migrating the Pangeo CMIP6 gallery into the Pythia Cookbook format.

Done at cmip6-cookbook.


Logo for translectra

hi
I am a graphic designer, translectra is a great project and I would like to contribut to this project by making a logo to be use as identity of this project. here is my proposal:

what do you think? if you like it I will send you pull request
regards
Munzir Burrahman

Hi @linadesteem !
Sorry I was on vacations. Thank you very much for the contribution and I defintely love it. Do you have a SVG version ? Also I know it makes more sense to have the "icon" part at the top left of the text but it can be really difficult to integrate in a top navigation bar as is. Do you think it would be ok if this part was aligned at the beginning or the end of the text part ?

Off course, I have the SVG files.
I will send a PR with some variation on the icon position, then you can merge the one that you think is the best.

Hi, I sent you a PR #2
But there is a check failed in README, I don't know if it was because of me adding a logo in it, can you ctake a look at it?

Done in #3.

Great. Let me know if you need any graphic work to do in the future


Failure When Converting Materials.

Hi, would you apply this patch (https://github.com/kurotu/VRCQuestTools/commit/28c0cce9e90c2470dc07a8a9b21b9f87c1cf36dc) then try again? The patch shows more detailed error to research the problem.

@OFWModz
Sadly the screenshot you posted is not enough to solve the problem. Would you try v0.4.1 and post a screenshot of error dialog? It would be helpful to know a reason of error.

No longer active, closed.


add s to article URLs

What is this PR trying to achieve?
Moving to the new, pluralised URLs which will more closely mimc the API.

Merging as I need the URLs live.


Added GeoQtInteractor class and tests

🚀 Pull Request
Description
Added a GeoQtInteractor class to extend the pyvistaqt QtInteractor class.

@all-contributors please add @andrewcoughtrie for code and test


Fix processCreateIteratorRequest panic

If a non-existant shard was requested as part of the iterator,
the influxd server would panic. Now it handles this situation by
skipping the offending shard and returning properly when none could be
found.

@benbjohnson

:+1:


Add optional verbose output

When calling the CLI with Symfpony\Console verbosity options e.g. -vv it should be more verbose in its output. This will be more helpful when integrating it in a GitHub Action.

Closed with 007ff9030553ad2a8ff77a949672a1baf04ee2c5.


Add VAE selection box to SD Common Options tab.

I switch between VAEs almost as frequently as models, so I thought it might be handy to have them easily selectable from the Krita tab. Still learning the codebase so let me know if I messed something up!

And apparently I completely forgot how git works and shoved a bunch of extra commits into this PR. I'll close and re-open this with a separate branch...


[AMORO-1758][WIP] Support for table data expiration

Why are the changes needed?

Close #1758 .
Brief change log

Automatically remove expired partitions or files

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

Design document:

Chinese: https://docs.google.com/document/d/1Enkpmzu8xIKDTVb4-AUFePg3orbjRrQY4FXIS1uzAJ4/edit#heading=h.qpxw9thhgbj0

@XBaith You may want to add a [WIP] prefix in this PR title as you have not finished the unit test and document part.

How about we generate Expression through org.apache.iceberg.expressions.Literal, which has a lot of conversion logic built in. WDYT?

Thanks for your review! There are some good comments, I will fix them soon. And can you explain more details about how to generate Expression through org.apache.iceberg.expressions.Literal

How about we generate Expression through org.apache.iceberg.expressions.Literal, which has a lot of conversion logic built in. WDYT?

Thanks for your review! There are some good comments, I will fix them soon. And can you explain more details about how to generate Expression through org.apache.iceberg.expressions.Literal

比如我想删除24小时之前的数据，并且对应字段是timestamp我可以这样

How about we generate Expression through org.apache.iceberg.expressions.Literal, which has a lot of conversion logic built in. WDYT?

Thanks for your review! There are some good comments, I will fix them soon. And can you explain more details about how to generate Expression through org.apache.iceberg.expressions.Literal

If you need to process the timestamp type field, you can do this
Expiring data older than a week
    //timestampz
    long expireTimestampz = (long) Literal.of(OffsetDateTime.now().minusHours(168).toString())
        .to(Types.TimestampType.withZone()).value();
    //timestamp
    long expireTimestamp = (long) Literal.of(OffsetDateTime.now().minusHours(168)
            .atZoneSameInstant(ZoneOffset.UTC).toLocalDateTime().toString())
        .to(Types.TimestampType.withoutZone()).value();

cc @zhoujinsong @shidayang

I think setting retentionTime will require a limitation, for example, if the partition is set according to day(), setting retentionTime to one hour will cause the data in the partition to be deleted before it is fully collected.

I think setting retentionTime will require a limitation, for example, if the partition is set according to day(), setting retentionTime to one hour will cause the data in the partition to be deleted before it is fully collected.

I'm sure this situation is predictable for users. If user set retentionTime that less than partition unit, we suggest FILE expiration level is better chose. And it's not easy to handle for other non-time partitioned

I think setting retentionTime will require a limitation, for example, if the partition is set according to day(), setting retentionTime to one hour will cause the data in the partition to be deleted before it is fully collected.

I'm sure this situation is predictable for users. If user set retentionTime that less than partition unit, we suggest FILE expiration level is better chose. And it's not easy to handle for other non-time partitioned

makes sense