text:
FR: Autocorrect should ignore "Extra Auto-Correct Source Files"

Is Your Feature Request Related to a Problem? Please Describe.
The auto-correct rule has an option to specify a file of custom words instead of (or in addition to) the builtin list of words. However if you run the linter on this file it switches all the "word to find" words with the replaced version which inherently removes that configuration in the first place. I have lint on ctrl+s and a muscle memory to just hit this after making changes to a file and didn't realize it was undoing my word list at first.
Describe the Solution You'd Like
The auto-correct rule should be completely skipped on any files that are set for Extra Auto-Correct Source Files. Or if it's not too much more complicated then it should ignore the table of words it's going to pull from to not destroy it's own configuration.

Hey @jjspace . Thanks for the input. Could you explain why the current ways of ignoring a file or turning off linting for a part of file (ranged ignored) are not adequate to handle this scenario?
If the intent is to have this automatic, would it make sense to just auto-ignore these files?
Ignoring for a single rule is not how the logic is designed at this time unless you use the disabled key in the YAML. It is theoretically possible to ignore a single rule if they are one of the files that are storing the configuration for extra auto-correct words, but unless it is well documented this will likely confuse people. Could you explain how you would propose that the user be informed of the fact that the files that are in the list would only have auto-correct mispellings disabled automatically?
Thanks for helping me think through this.

Could you explain why the current ways of ignoring a file or turning off linting for a part of file (ranged ignored) are not adequate to handle this scenario?

I didn't realize that there was a setting to ignore files, I'm sure others will miss that too. Even with that what if I want to use the other rules, like updating the properties for last edited date and stuff? I don't want to completely ignore the file. The ranged ignore could work but what if I want it to still autoformat the table?
But in general, why should it require the user to take extra actions to prevent the rule from breaking in the first place?

If the intent is to have this automatic, would it make sense to just auto-ignore these files?

This would be a way to do it, I think the best way would be to ignore those specific files from specifically this rule.
I think in the larger context this whole "create a table in a file somewhere" feels like abusing the system a little bit. This sort of configuration should live in the settings itself but that's probably a much larger change

Ignoring for a single rule is not how the logic is designed at this time unless you use the disabled key in the YAML

It sounds like the logic to ignore a single rule for a specific file is already implemented, I think this would just be forced on for the auto-correct rule on these specific files?

Could you explain how you would propose that the user be informed of the fact that the files that are in the list would only have auto-correct mispellings disabled automatically?

I think adding a single extra line under the "Extra ... Files" setting that says something like this would be enough:

These are files that have a markdown table in them that have the initial word and the word to correct it to (these are case insensitive corrections). Note: the tables used should have the starting and ending | indicators present for each line.
Files included in this list will not have auto-correct applied to them.

Could you explain why the current ways of ignoring a file or turning off linting for a part of file (ranged ignored) are not adequate to handle this scenario?

I didn't realize that there was a setting to ignore files, I'm sure others will miss that too. Even with that what if I want to use the other rules, like updating the properties for last edited date and stuff? I don't want to completely ignore the file. The ranged ignore could work but what if I want it to still autoformat the table? But in general, why should it require the user to take extra actions to prevent the rule from breaking in the first place?

The main issue with doing something without the user knowing is that it should be obvious that the change would apply. Since there is no current way to ignore a specific rule for a specific file minus what is done in the frontmatter for rules being disabled it does not seem intuitive to me that a user would expect the rule to be auto disabled for the files as that would imply that the Linter may be doing the same for other files which is false. That is the main reason, beyond assuming users would store these files in a location that would not be linted/would be ignored by the Linter like templates. I am not opposed to doing it in this case so long as users are made aware of this change.

If the intent is to have this automatic, would it make sense to just auto-ignore these files?

This would be a way to do it, I think the best way would be to ignore those specific files from specifically this rule. I think in the larger context this whole "create a table in a file somewhere" feels like abusing the system a little bit. This sort of configuration should live in the settings itself but that's probably a much larger change

While I do agree to some extent that this feature would be nice to ingrain in the settings themselves, it was specifically asked that the custom auto-correct values be kept in a file in the vault. This allows users to better handle what rules they want disabled versus enabled by handling versioning and other more complex setups on their own. At this point, it would be a breaking change to change this which I am not necessarily opposed to doing, but I would want more than 1 opinion on this if a change were to be made to make this easier for users.

Ignoring for a single rule is not how the logic is designed at this time unless you use the disabled key in the YAML

It sounds like the logic to ignore a single rule for a specific file is already implemented, I think this would just be forced on for the auto-correct rule on these specific files?

That is not entirely true. In concept, it exists. However it is never auto-on because that would lead to confusion as to which rules are on and which are off for certain files. That is why I much prefer that the user specify the value in the YAML that they want the rule disabled for the file (better yet would be to list them like templates and add them to the ignored folder/file list). But if there is a good enough way to make this clear and obvious to the users, I am not opposed to auto turning off the auto-correct rule for these config files.

Could you explain how you would propose that the user be informed of the fact that the files that are in the list would only have auto-correct mispellings disabled automatically?

I think adding a single extra line under the "Extra ... Files" setting that says something like this would be enough:

These are files that have a markdown table in them that have the initial word and the word to correct it to (these are case insensitive corrections). Note: the tables used should have the starting and ending | indicators present for each line.
Files included in this list will not have auto-correct applied to them.

This proposal is possible. I would likely need to include that text in yellow since it is a warning to users. But it could be added.

I am including a warning and working on logic to not run the auto-correct rule on the custom auto-correct files. I will hopefully have something for the next release.

The changes for this have been merged into master and should go out in the next release. Please let us know if there are issues on master or in the next release. Thanks for the input on this feature!

authors: jjspace pjkaufman

repo: platers/obsidian-linter


text:
Add option to not track logged in users

I work on a site where 25-ish logged in users view the site 20-30 times per day.
There is currently a setting "Track analytics for administrator". This is great, but I'd like to be able to select certain user-roles, or even just have an option to not track anyone logged in.

Would be great to see this landing soon.

New WordPress plugin release is now out! See https://wordpress.org/plugins/plausible-analytics/
You can now exclude different user roles from being tracked

source: gharchive/issue

authors: bdlowery metmarkosaric sascha-bleech

repo: plausible/wordpress

license: MIT

license_type: permissive

license_source: github-api


text:
Add Emacs to base image

Some people like Emacs I guess ¯_(ツ)_/¯

The best advice I can give you is to containerize your toolset (including emacs and Docker CLI) and run this container mounting the Docker socket.
This will guarantee your personal prompt working on PWD, AWS, D.O. etc.

authors: ManoMarks andrevtg

repo: play-with-docker/play-with-docker

license: mit

license_source: bigquery


text:
RefCountedObject base class, used on Mesh and Morph

extracted and improved refCount functionality from the Mesh class into standalone class
Mesh/MeshInstance refcounting refactored to use it
Morph class uses refcounting as well - allowing correct release of memory when Morph is shared by multiple MorphInstances

I look at using mixins instead of base class for this, but I agree with most of negative impact mentioned here:
http://raganwald.com/2016/07/16/why-are-mixins-considered-harmful.html

Bit late to the party, but I wonder whether using explicit object references in the engine might ultimately be cleaner?
With something like:
class ObjectRef {
    constructor(target) {
        this._target = null;
        if (target) {
            this.set(target);
        }
    }

    set(target) {
        if (target === this._target) {
            return;
        }
        if (this._target !== null && --this._target._refCount === 0) {
            this._target.destroy();
        }
        this._target = target;
        if (this._target) {
            ++this._target._refCount;
        }
    }

    get() {
        return this._target;
    }

    clear() {
        this.set(null);
    }
};

Then morph class would contain a this.morphRef and meshInstance would contain a this.meshRef.
The advantage being set() functionality (i.e. testing for same targets etc - which is crucial) is only implemented once (instead of at every call site) and we have no horrible class inheritance.
The disadvantage is call sites must do this._meshRef.get() which isn't as neat as this._mesh. (Although being forced to interface with a reference class also makes the relationship between the two objects explicit and clear).

Bit late to the party, but I wonder whether using explicit object references in the engine might ultimately be cleaner?
With something like:
class ObjectRef {
    constructor(target) {
        this._target = null;
        if (target) {
            this.set(target);
        }
    }

    set(target) {
        if (target === this._target) {
            return;
        }
        if (this._target !== null && --this._target._refCount === 0) {
            this._target.destroy();
        }
        this._target = target;
        if (this._target) {
            ++this._target._refCount;
        }
    }

    get() {
        return this._target;
    }

    clear() {
        this.set(null);
    }
};

Then morph class would contain a this.morphRef and meshInstance would contain a this.meshRef.
The advantage being set() functionality (i.e. testing for same targets etc - which is crucial) is only implemented once (instead of at every call site) and we have no horrible class inheritance.
The disadvantage is call sites must do this._meshRef.get() which isn't as neat as this._mesh. (Although being forced to interface with a reference class also makes the relationship between the two objects explicit and clear).

source: gharchive/pull-request

authors: mvaligursky slimbuck

repo: playcanvas/engine


text:
Lighthouse 42 - An helper for the textarea tag is missing.

Added textarea helper.

as of https://github.com/playframework/Play20/commit/62c8c564060d8545e4b09baf3ed3379c721e4e5f#diff-21 this is fixed. Thank you


text:
IPNS support

Now that multicodec merged ipns support, can you also add it to the lib?
https://github.com/multiformats/multicodec/pull/136

Hi @makoto 😄 I'm planing on implementing a general encoding function (see #17 ), do you think this would address your issue ?

Hi @makoto ! The code is ready, just waiting for js-multicodec #36 to include latest changes to their npm package

merge ! and publish to npm v2.4.2

authors: makoto pldespaigne

repo: pldespaigne/content-hash

license: ISC


text:
error when jit == True, version 1.2.4

error when jit == True,  traced_model = torch.jit.trace(self.model, torch.rand(1, 3, *self.meta['base_size']).to(self.device), strict=True)

OS Windows 11
Python 3.11.5
pytorch 2.0.1 Cuda 11.8
I may have missed something, I'm creating UI for my use

This is not an error related to our package. It's a common error related to the GPU memory.

Thanks for responding, could you tell me how much vram is needed to activate the JIT version?
video card used was a 3060ti 8gb vram

repo: plemeri/transparent-background


text:
Interface for outgoing multicast cannot be selected

If I read net/connUDP.go WriteMulticast() right it always sends multicast over ALL interfaces using all possible source IPs. Multicast often has to be sent to a single interface.
(I am not even sure how go-coap would handle linklocal IPv6 adresses, which solve this issue with a lot of multicast applications)

I have been digging into the code a bit more and I am a bit confused...
1st, you don't seem to use the WriteMulticast() call anywhere except for a test, despite its "working".
2nd, you iterate over all the addresses of an interface and try to send the multicast. Why? You can just use the "any" IP address in the ControlMessage{} struct to send a multicast and define the interface only with the index.

It also seems that there is no "WriteMulticast()" function on udp-client and udp-session level...

If you are interested, I have a fork of this project with multicast cleaned up a bit and options to set the outgoing interface, hoplimit and source separately.

Hi. I created  PR https://github.com/plgd-dev/go-coap/pull/276, could you share it maybe your interface could be better :).

I just added PR #277 , which contains my current multicast code including the "non-confirmation" message fix.

authors: HRogge jkralik

repo: plgd-dev/go-coap


text:
time/date

the time/date and last edited functions aren't helpful IMO - the clock time is not accurate for me anyway - i thought this had to do with privacy.resistFingerprinting but apparently not - also, don't most people have a taskbar with time/date? - i think that space would be better used for notes - the settings icon could then be positioned below the edit icon maybe
i see some CSS options are planned - i might suggest an option to set the max-width also, or just a text control where people can add whatever CSS they want
other than that i really like it

i might suggest an option to set the max-width also, or just a text control where people can add whatever CSS they want

This is great. I think I'll add this soon, whenever I get time next. This way you can display: none the Time and date too. What say?

that'll work
personally i would drop those features as i don't see the need for them, but it's you're ball game and i respect that :)
given that you intend to allow user CSS, i'm going to make my own theme and will be happy to share it here if you wish so others can use it or whatever

That's great, if love to see your theme! :)
Thanks!
On Sun, Jul 21, 2019, 20:18 atomGit notifications@github.com wrote:

that'll work
personally i would drop those features as i don't see the need for them,
but it's you're ball game and i respect that :)
given that you intend to allow user CSS, i'm going to make my own theme
and will be happy to share it here if you wish so others can use it or
whatever
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/plibither8/markdown-new-tab/issues/34?email_source=notifications&email_token=AHTCX67PVYB6GBSHAMZHGETQARZMXA5CNFSM4IFSCNM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2OFBTY#issuecomment-513560783,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHTCX67KI5ZBXKZPGBV6ZULQARZMXANCNFSM4IFSCNMQ
.

just a quickie that suites my needs - obviously if one is saving revisions they won't want to hide section.bar #lastEdited
@-moz-document url("moz-extension://090515c1-9ac8-425b-b561-d6f11fae9a4a/index.html") {
    html, body, :root {
        background: #212121 !important;
        font-family: unset !important;
        scrollbar-color: #595959 #a6a6a6; /* works in FF, i don't know about Chrome */
    }
    .markdown-body {
        max-width: 1250px !important;
        color: #e0e0e0 !important;
    }
    section.bar {
        border-top: none !important;
        background: transparent !important;
    }
    section.bar #time {
        display: none !important;
    }
    section.bar #lastEdited {
        display: none !important;
    }
}

The Firefox add-on has been updated, Chrome will too soon be updated. Thanks for bringing this issue up :)


text:
mastering-plone/code.md unknown documents

There are three references to documents that do not exist in the Master Plone 6 Training. Should they be removed or updated?
mastering-plone/code.md:89: WARNING: unknown document: 'anatomy'
mastering-plone/code.md:95: WARNING: unknown document: 'buildout_1'
mastering-plone/code.md:99: WARNING: unknown document: 'zpt_2'

Done in 88d4978c8c4bb9a4a0aa6d290f267534e94bd508

repo: plone/training


text:
Tidy up training

This PR is a housecleaning chore. It resolves many errors and warnings, except for the following issues.

The lack of meta information in the abandoned trainings is annoying and obscures checking for new trainings.
The LESS, JSX, and SCSS lexers have issues, with LESS being the worst. Do we still use LESS in Volto or anywhere else? Let's burn it with 🔥!

I am also looking into how to suppress the foregoing errors and warnings, so authors don't get nagged by trainings that are not theirs.

📚 Documentation preview 📚: https://plone6--871.org.readthedocs.build/

Project created on RTD. Pull request previews should build, starting with the next new PR. Invites to be maintainers sent to:
@polyester
@sneridagh
@pbauer
@ksuess
I'll create a new PR to test.


text:
Changing exclude-nav widget from checkbox to select

Fixes #1856

@iFlameing we also need a way to say "do not change anything", otherwise we would force the editors to override existing settings for all chosen pages.

@tisto What should we do when the editor chooses do not change anything because as default if you create a file it will appear in the navigation. Keeping in mind that it is not a required property.

@tisto I am thinking that I should set the value of do not change anything to false.

@iFlameing "do not change anything" won't touch any exclude_from_nav setting whatsoever.

@tisto It is ready for review. I am attaching a screenshot for a demo purpose

It's a default value in selectWidget. But I will look into it.

@tisto after talking to @sneridagh we conclude that we are unable to remove the No Value from the select widget. If we change the description then it will be shown by all the other select widgets. The current Schema is coming from the backend so we can't mark it as a special case. So, we decided to remove the 3rd options and go with the No value. I tested out and No value work same as 3rd options.
You will notice that I also updated the message in Content.jsx because during testing out I found that updateRequest called whenever we make some update to content that's why I changed the message from 'Item has been sortedtoItem has been updated`.

@tisto indeed, this is the best that we can do now. Since the widget is generic, we would need the widget to be able to customize the "no value" value, which I guess it's a lot of work for this tiny use case. I would stick with the default "no value" for now.

@iFlameing what's the status of this? Ready for review? Can you pls rebase?

@tisto done :)

authors: iFlameing sneridagh tisto

repo: plone/volto


text:
fix relative imports

Describe your changes
Issue ticket number and link
Closes #x
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have added thorough tests (when necessary).
[x] I have added the right documentation (when needed). Product update? If yes, write one line about this update.

:books: Documentation preview :books:: https://sklearn-evaluation--228.org.readthedocs.build/en/228/

Pull Request Test Coverage Report for Build 3961510727

48 of 48 (100.0%)  changed or added relevant lines in 16 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 94.503%

Totals

Change from base Build 3951873653:
-0.2%

Covered Lines:
2579

Relevant Lines:
2729

💛  - Coveralls

@WSShawn Closes #x
Add the correct issue number it closes for the PR.

check finished! nothing weird in the page.

@WSShawn Please refer to the original issue (closes #X)

Sorry, I'm not sure what it means to close #X and also what is the original issue. Thank you!

Closes #187

Thanks for the reminder!

lgtm! Docs also look good overall.
Also, the Closes #x needs to be mentioned in the Issue ticket number and link section of the PR.
Please add some one-liner or relevant descriptions in the Describe your changes also when opening a PR.

authors: WSShawn coveralls idomic neelasha23 yafimvo

repo: ploomber/sklearn-evaluation


text:
Update/merge upstream

Latest round of upstream changes.
Adds:

srml/nicks provides a simple nick-naming and lookup service for AccountIds. Not intended as an ENS implementation
Contract "get storage" RPC endpoints for querying smart contract storage values: https://github.com/plugblockchain/plug-blockchain/commit/155c217178cc8e3cf4da668dd54e28a8b113eb6b
SECP256k1/ECDSA singing for extrinsics: https://github.com/paritytech/substrate/pull/3861

Changes:

Updates impl-serde version
Transaction version bumped to 4
im_online heartbeat message priority increased
AnySignature renamed to MultiSignature
Other misc. bug fixes and refactors

superseded by #18

repo: plugblockchain/plug-blockchain


text:
Generating sitemap via CLI throws error and fails

Bug report
Required System information

Environment: development
OS: darwin-arm64 (MacOS)
Strapi Version: 4.25.0
Node/Yarn Version: npm/10.2.4 node/v20.11.1 darwin arm64 workspaces/false
Edition: Community
Database: sqlite

Describe the bug
The CLI command npm run sitemap generate of the sitemap plugin fails on a fresh strapi installation.
❯ npm run sitemap generate

> stapi-sitemap-test@0.1.0 sitemap
> strapi-sitemap generate

/strapi-sitemap-test/node_modules/@strapi/plugin-i18n/dist/server/index.js:3370
  strapi.api[apiName].routes[modelName].routes.push(localizationRoute);
                                               ^

TypeError: Cannot read properties of undefined (reading 'push')
    at Object.addCreateLocalizationAction (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/plugin-i18n/dist/server/index.js:3370:48)
    at /Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/plugin-i18n/dist/server/index.js:2795:22
    at Array.forEach (<anonymous>)
    at extendLocalizedContentTypes (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/plugin-i18n/dist/server/index.js:2776:39)
    at Object.register (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/plugin-i18n/dist/server/index.js:2743:3)
    at Object.register (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/strapi/dist/core/domain/module/index.js:46:46)
    at Object.register (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/strapi/dist/core/registries/modules.js:28:19)
    at async Strapi.runLifecyclesFunctions (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/strapi/dist/Strapi.js:440:5)
    at async Strapi.register (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/strapi/dist/Strapi.js:361:5)
    at async Strapi.load (/Users/x/Sites/strapi-sitemap-test/node_modules/@strapi/strapi/dist/Strapi.js:425:5)

Node.js v20.11.1

Steps to reproduce the behavior

Add second locale
Create simple collection type and add and publish one entry
Install and configure strapi-plugin-sitemap plugin

Enter hostname in settings
Write config in config/plugins.js
Create URL bundle for previously created collection type
Add strapi-sitemap to scripts in package.json

Run npm run sitemap generate

Hi @fsbtmo
Thanks for reporting this issue.
I've been able to reproduce.
We'll address this as soon as possible.

for me got below error
D:\Projects\Taha\Taha-Server\node_modules\@strapi\database\dist\index.js:1014
  const { client } = db.config.connection;
          ^

TypeError: Cannot destructure property 'client' of 'db.config.connection' as it is undefined.
    at getDialect (D:\Projects\Taha\Taha-Server\node_modules\@strapi\database\dist\index.js:1014:11)
    at new Database (D:\Projects\Taha\Taha-Server\node_modules\@strapi\database\dist\index.js:6194:20)
    at Database.init (D:\Projects\Taha\Taha-Server\node_modules\@strapi\database\dist\index.js:6180:16)
    at Strapi.bootstrap (D:\Projects\Taha\Taha-Server\node_modules\@strapi\strapi\dist\Strapi.js:372:39)
    at Strapi.load (D:\Projects\Taha\Taha-Server\node_modules\@strapi\strapi\dist\Strapi.js:426:16)
    at async Command.<anonymous> (D:\Projects\Taha\Taha-Server\node_modules\strapi-plugin-sitemap\server\cli.js:25:17)
    at async Command.parseAsync (D:\Projects\Taha\Taha-Server\node_modules\commander\lib\command.js:923:5)

Node.js v18.20.4
error Command failed with exit code 1.

This issue was fixed and released with v3.2.1 of the plugin.

I have 3.2.1 installed and I'm still experiencing the issue. I'm not sure it's this plugin.
So far no one has explained why the issue is happening. I've seen notes about Docker (not relevant to me) and missing env vars (also not relevant). I would be happy to contribute  working hours to fixing this.

I have 3.2.1 installed and I'm still experiencing the issue. I'm not sure it's this plugin.
So far no one has explained why the issue is happening. I've seen notes about Docker (not relevant to me) and missing env vars (also not relevant). I would be happy to contribute working hours to fixing this.

Because my standard database is mysql I had the env variables to support that connection which prevented Strapi from using the test connection to sqlite. If I comment out my standard db connection env variables it works. I hope this helps someone.

authors: boazpoolman fsbtmo kalm42 m-farahmand

repo: pluginpal/strapi-plugin-sitemap


text:
🛑 Dick Pluim.com is down

In b269eb0, Dick Pluim.com (https://dickpluim.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dick Pluim.com is back up in 1af8010 after 13 minutes.


text:
Make actions work with centered

Actions addon does not work with Centered addon.
This is because events are not passed through to the inner component.
This PR fixes that by keeping a reference to the original component and attaching the event handlers to the original component.
It then mounts the original component into a slot of the wrapper component provided by the Centered addon.
This approach makes it trivial to implement other addons that might need to wrap the original component in this way.
I have tested this as much as possible, but please do check from your side too.
I think if you merge this PR to this branch, it will get added to the PR on the storybooks repo.

@plumpNation let me know if you have any questions on this. Or if you would like me to change anything.

Hey there! Thanks so much for catching this. Maybe you could add to the centered addons stories, and take a little credit in the output too :D
import { action } from '@storybook/addon-actions';
...

.add('with action', () => ({
    Component: Button,
    on: {
      click: action(`Tell me it ain't so! Centered and with actions! Thanks @ekhaled :)`),
    },
  }));

Thanks for merging PR.
I'll let you do the examples 😄

A modest man.

authors: ekhaled plumpNation

repo: plumpNation/storybook


text:
Issuing credits to Nishio

Issue 1000 credits to @nishio.

 Follow up
On Tuesday, 05-Mar-24 09:10:33 UTC by Gov4Git dev
Issued 1000 credits to member @nishio.

authors: GlenWeyl pluralitybook-dao

repo: pluralitybook/plurality


text:
[READY] Reading tactical bullet sprites, unit types, equipment sets, battle maps, and battle map generator for every map in the game

Finished battlescape map generator
Added map selector form to select which map to generate
Moved random generation templates to xorshift.h from agent.cpp
Added parsing of LOS blocks's AI and Spawn data
Added parsing of UFO's battlemaps
Reading bullet sprites and projectiles for tactical
Reading projectile tails for agent equipment
Reading unit types from game files
Reading equipment sets (built in and score based) from game files
More full implementation of agent class

Okay I've updated from pmprog/master and am ready to merge / pull / squash / whatever

repo: pmprog/OpenApoc


text:
Tinylog does not work in Eclipse plugin

please refer to the link to get all information.

Closed in favor to https://stackoverflow.com/questions/61318315/how-to-use-tinylog-in-eclipse-plugin.
@chengm349 I added the missing tinylog tag in your question on StackOverflow.

repo: pmwmedia/tinylog


text:
Update DeviceAddForm.vue

切换页码时，回调函数里修改的页码对象错了

切换页码时，回调函数里修改的页码对象错了


text:
Refactor BaseCommand for flow export

Change the base command for flow export from AzmgmtCommand to PowerPlatformCommand.
Here we can change all https://api.bap.microsoft.com resource occurrences to this.resource. Also vice-versa, changing the current this.resource to https://management.azure.com/.
Initial request: https://github.com/pnp/cli-microsoft365/pull/3397#discussion_r897876014

Great suggestion. Before we proceed, let's research that it won't lead to breaking changes.

authors: Jwaegebaert waldekmastykarz


text:
[ENHANCEMENT] Invoke "Next" asset button

It would be great to have a webpart that invokes the Next asset in playlist.
Or as an alternative have an option in Microsoft 365 learning pathways web part to also add the Next button on the bottom of the page.
If I have a fairly long text/guide it requires a lot of scrolling to go to top of page and invoke the next asset.
It kind of breaks the intuitive workflow.

Hi @51iMM ,
Thank you for your suggestion for an enhancement.

@51iMM we have just released the V5 beta for testing that includes a sticky header for the assets to on assets that have a long page you will still have the ability to see the next and previous buttons. We invite you test the new version.

authors: 51iMM dcashpeterson v-prigunasek


text:
[BUG] Get-PnPList -Identity Lists/ListName fails with an exception

Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:

Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
Expected behavior
Please describe what output you expect to see from the PnP PowerShell Cmdlets
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots.
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
Which operating system/environment are you running PnP PowerShell on?

[ ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

BUG Get-PnPList -Identity Lists/ListName fails with an exception
Expected Behaviour
The command returns a reference to a List or $null if no list matching argument to -Identity can be found.
Actual Behaviour
The command throws an Exception.  This happens even if the ErrorActionPreference is set to "Silently Continue"
 Get-PnPList -Identity Lists/Pages Get-PnPList: List 'Lists/Pages' does not exist at site with URL 'https://elided.sharepoint.com/teams-and-projects/platform-dev/operational-services'
Steps to reproduce behaviour
`
Connect-PnPOnline --url example.sharepoint.com/sites/mysite;
Next Command Fails!
Get-PnPList -Identity Lists/LIstName;
`
What is the version of Cmdlet module you are running?
2.2.0

I have left a more succint account of this misbehaviour of PnP.PowerShell which should be consulted instead.

repo: pnp/powershell


text:
[BUG] - The SSL connection could not be established, see inner exception. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

Reporting an Issue or Missing Feature
Issue
Expected behavior
When running 'Copy-ItemProxy', items should download and connection should be stabilized.
Actual behavior
Items DO download, but hit & miss randomly will populate an SSL connection error AFTER finishing.
Error Message:
The SSL connection could not be established, see inner exception. Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
Steps to reproduce behavior
Connect-PnPOnline -Url $TenantSiteURL -CreateDrive -Credentials ($Sec) -wa SilentlyContinue -WarningVariable warn

Set-Location -Path SPO:\$SiteRelativeURL

Copy-ItemProxy -Recurse -Force "$LibraryName\$_" "$DownloadPath"

What is the version of the Cmdlet module you are running?
Pnp.Powershell - 1.5.6-nightly
then
Pnp.Powershell - 1.5.7-nightly
with same issue
Which operating system/environment are you running PnP PowerShell on?

[x ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Hello @erwinvanhunen
I am running a PowerShell script in Azure Automation Account and I am getting this error The SSL connection could not be established, see inner exception.
This error is not showing up frequently but Occasionally.
How can I fix it and what are the things I need to check. Please advise and help on this thank you..

I Installed the latest nighty package 2.99.16 in azure automation account will it solves the issue ?
When I installed it shows 5.1 runtime version can we get the 7.2 version ?
Can you please upload it in the azure automation Browse gallery as we have only the 2.12.0 version ?
@erwinvanhunen
Thank You..


text:
Update README.md

Progress message had a capital F "$Folders" where the variable has a small f "$folders".

Thank you kindly @sympmarc, appreciated the contribution, this will be live shortly 🎉😍🤩

authors: pkbullock sympmarc

repo: pnp/script-samples


text:
Feature Request: Introducing "Secret" Field Type

Context
You know when we need to store sensitive stuff like API keys, secret keys, and other hush-hush data in the database? Well, right now, it's up to us to make sure these data are encrypted before storing and decrypted when we need them. This back-and-forth can be a pain and sometimes it feels like a game of hide-and-seek where we're always "it".
Proposal
So, let's spice things up with a new field type called "secret". What's cool about "secret"?
It Does the Heavy Lifting: When you store data in the 'secret' field, PocketBase would automatically encrypt it. And when you need that data back, it'll decrypt it on-the-fly for you. No more manual encrypt-decrypt shenanigans.
Safety First: By handling the encryption right at the database level, we're reducing the chance of data leaks from potential app vulnerabilities or breaches. Think of it as a safe within a safe.
Potential Approach
We could use a tried-and-true encryption algorithm like AES-256 for the 'secret' field. The keys for encryption/decryption could be securely stored and managed using a Key Management Service (KMS) or we could bake them right into PocketBase.
Benefits
Adding this feature would mean:

Leveling up the security of any app using PocketBase.
Saying goodbye to the hassle of dealing with client-side encryption and decryption.
Making life easier for devs who need to interact with sensitive data.

What's Next?
I'd love to hear your thoughts on this. Maybe there's already a simple way of doing this and this feature makes little sense 🤷
Got any insights on potential challenges, or suggestions for improvements and alternative approaches? Let's get this conversation started!

Something like this was requested before (eg. https://github.com/pocketbase/pocketbase/discussions/1835#discussioncomment-4946404), but for me the main issue with a secret field is that it is not clear how this field will be managed, who will have access to its value and whether the filter/sort operations will work at all.
Could you elaborate on your use case and how do you plan using it?

Context
You know when we need to store sensitive stuff like API keys, secret keys, and other hush-hush data in the database? Well, right now, it's up to us to make sure these data are encrypted before storing and decrypted when we need them. This back-and-forth can be a pain and sometimes it feels like a game of hide-and-seek where we're always "it".
Proposal
So, let's spice things up with a new field type called "secret". What's cool about "secret"?
It Does the Heavy Lifting: When you store data in the 'secret' field, PocketBase would automatically encrypt it. And when you need that data back, it'll decrypt it on-the-fly for you. No more manual encrypt-decrypt shenanigans.
Safety First: By handling the encryption right at the database level, we're reducing the chance of data leaks from potential app vulnerabilities or breaches. Think of it as a safe within a safe.
Potential Approach
We could use a tried-and-true encryption algorithm like AES-256 for the 'secret' field. The keys for encryption/decryption could be securely stored and managed using a Key Management Service (KMS) or we could bake them right into PocketBase.
Benefits
Adding this feature would mean:

Leveling up the security of any app using PocketBase.
Saying goodbye to the hassle of dealing with client-side encryption and decryption.
Making life easier for devs who need to interact with sensitive data.

What's Next?
I'd love to hear your thoughts on this. Maybe there's already a simple way of doing this and this feature makes little sense shrug Got any insights on potential challenges, or suggestions for improvements and alternative approaches? Let's get this conversation started!

jjj

Context
You know when we need to store sensitive stuff like API keys, secret keys, and other hush-hush data in the database? Well, right now, it's up to us to make sure these data are encrypted before storing and decrypted when we need them. This back-and-forth can be a pain and sometimes it feels like a game of hide-and-seek where we're always "it".
Proposal
So, let's spice things up with a new field type called "secret". What's cool about "secret"?
It Does the Heavy Lifting: When you store data in the 'secret' field, PocketBase would automatically encrypt it. And when you need that data back, it'll decrypt it on-the-fly for you. No more manual encrypt-decrypt shenanigans.
Safety First: By handling the encryption right at the database level, we're reducing the chance of data leaks from potential app vulnerabilities or breaches. Think of it as a safe within a safe.
Potential Approach
We could use a tried-and-true encryption algorithm like AES-256 for the 'secret' field. The keys for encryption/decryption could be securely stored and managed using a Key Management Service (KMS) or we could bake them right into PocketBase.
Benefits
Adding this feature would mean:

Leveling up the security of any app using PocketBase.
Saying goodbye to the hassle of dealing with client-side encryption and decryption.
Making life easier for devs who need to interact with sensitive data.

What's Next?
I'd love to hear your thoughts on this. Maybe there's already a simple way of doing this and this feature makes little sense shrug Got any insights

Context
You know when we need to store sensitive stuff like API keys, secret keys, and other hush-hush data in the database? Well, right now, it's up to us to make sure these data are encrypted before storing and decrypted when we need them. This back-and-forth can be a pain and sometimes it feels like a game of hide-and-seek where we're always "it".
Proposal
So, let's spice things up with a new field type called "secret". What's cool about "secret"?
It Does the Heavy Lifting: When you store data in the 'secret' field, PocketBase would automatically encrypt it. And when you need that data back, it'll decrypt it on-the-fly for you. No more manual encrypt-decrypt shenanigans.
Safety First: By handling the encryption right at the database level, we're reducing the chance of data leaks from potential app vulnerabilities or breaches. Think of it as a safe within a safe.
Potential Approach
We could use a tried-and-true encryption algorithm like AES-256 for the 'secret' field. The keys for encryption/decryption could be securely stored and managed using a Key Management Service (KMS) or we could bake them right into PocketBase.
Benefits
Adding this feature would mean:

Leveling up the security of any app using PocketBase.
Saying goodbye to the hassle of dealing with client-side encryption and decryption.
Making life easier for devs who need to interact with sensitive data.

What's Njjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
I'd love to hear your thoughts on this. Maybe there's already a simple way of doing this and this feature makes little sense shrug Got any insights on potential challenges, or suggestions for improvements and alternative approaches? Let's get this conversation started!

Something like this was requested before (eg. #1835 (comment)), but for me the main issue with a secret field is that it is not clear how this field will be managed, who will have access to its value and whether the filter/sort operations will work at all.
Could you elaborate on your use case and how do you plan using it?

If the keys are stored in the database then the field is no more secret, because if some one manages to get the database, he will also get the keys in it, and easily decrypt the secret fields

I'm closing this issues as it is lacking details and it is not clear to me how it could be implemented in a general way.
If users need encryption, they will have to attach to app event hooks and could use the built-in helpers security.Encrypt/Decrypt (the same helpers are also available if extended with JS under the $security namespace).

I'm closing this issues as it is lacking details and it is not clear to me how it could be implemented in a general way.
If users need encryption, they will have to attach to app event hooks and could use the built-in helpers security.Encrypt/Decrypt (the same helpers are also available if extended with JS under the $security namespace).

How do we decrypt and verify if we dont know the secret? is there a way to find the pocket base secret keys?

repo: pocketbase/pocketbase


text:
Logs not cleared from backup ?

I noticed this while checking a backup:

So, then I tried to turn off loggs, Set in panel Log Retention = 0. It did something for a while  and now shows "5 Logs" instead of 300K.

NICE !
I did another backup, but logs.db still huge 750MB. How should I clear this ?
OR BETTER YET
Make option for logs to be opted out backup.

Think will renounce using the file storage for ProfilePhotos and use a separate bucket. Since that's the only current usage I have for it. I want my backups lean and mean.


text:
feat(HMS-4545): add source ip to logs

This change add the source_ip aggregated field to the logs.
https://issues.redhat.com/browse/HMS-4545

/retest

repo: podengo-project/idmsvc-backend


text:
Objects module

Hi,
I made an objects module to allow for hierarchical access to Podio entities (mainly Items).
The module stditems contains subclasses for Deliverable and Timesheets

I had merged this into mainline and seem to have never pushed. Will reinvestigate sometime in the coming weeks when I go through and unit test+update the library

authors: nickbarnwell saludes

repo: podio/podio-py


text:
Adding organisation README

Is your enhancement related to a problem? Please describe
We could add an organisation README to help users to get redirected to some repositories.
See https://docs.github.com/en/organizations/collaborating-with-groups-in-organizations/customizing-your-organizations-profile#adding-a-public-organization-profile-readme
Currently we do not have any

Describe the solution you'd like
Something similar to what InstructLab has (but less verbose?)

Describe alternatives you've considered
No response
Additional context
No response

cc @slemeur

repo: podman-desktop/podman-desktop


text:
fix: visibility of docker compatibility settings

What does this PR do?
Fixes visibility of docker compatibility settings item when enabling/disabling
Screenshot / video of UI
https://github.com/user-attachments/assets/56a1fe87-fefb-478e-b11c-1e9fe5552172
What issues does this PR fix or reference?
Closes #9559
How to test this PR?
Try to enable/disable docker compatibility

issue: it's missing a unit test

@benoitf @jeffmaury added tests, but I'm not sure why one test is failing (if I remove await before vi.waitFor it passes 😕) any ideas?

@benoitf @jeffmaury added tests, but I'm not sure why one test is failing (if I remove await before vi.waitFor it passes 😕) any ideas?

I think the test is not well designed as you expect an event to be sent to the view but you are only changing the mock behavior

@benoitf @jeffmaury added tests, but I'm not sure why one test is failing (if I remove await before vi.waitFor it passes 😕) any ideas?

See my proposition

Yes I'm mocking return value of getConfigurationValue which should give me value each time configuration changes, thanks to subscribe method in the code. And I'm "triggering" change in configuration calling configurationProperties.set([]);. So the test should simulate changing the visibility of DC page from preferences. Or am I wrong?

Yes I'm mocking return value of getConfigurationValue which should give me value each time configuration changes, thanks to subscribe method in the code. And I'm "triggering" change in configuration calling configurationProperties.set([]);. So the test should simulate changing the visibility of DC page from preferences. Or am I wrong?

My proposition fixes the issue, it changes from second call return false to second call and following return false so I would guest there are several calls not only 2 but don't know why

Oh my bad :D Yes there are multiple calls for getting the config, but I don't know why. I think during a startup there are multiple triggers of the subscriber function

authors: benoitf gastoner jeffmaury


text:
Throttle memory size

Recently Throttle changed behaviour and have storage for past N operations stats: size and time. Storage is limited deque (default size is 100). Should this option be available for user to change at initialization? Is it ok just to use 100? Is there a better value for deque length?

Throttle have no storage since now, and is pretty stable for multiply connections with one throttle memory.
https://github.com/pohmelie/aioftp/commit/c3a03ae1eb69f514b25cfc9bda2f50e511dd6a75

repo: pohmelie/aioftp


text:
Unable to find a specification for SnapshotTesting (~> 1.0)

Not able to install via cocoa pods.
https://cl.ly/a7de76ad96fd
Analyzing dependencies
[!] Unable to find a specification for `SnapshotTesting (~> 1.0)`

Podfile - configuration
https://cl.ly/3a1f6cfe9d21
 target "xyz" do
	  inherit! :search_paths
	  pod 'SnapshotTesting', '~> 1.0'
  end

Thanks

Just for now i'm doing:
pod 'SnapshotTesting', :git => 'https://github.com/pointfreeco/swift-snapshot-testing.git

Interesting, this currently works for me locally. Can you try pod install --repo-update to make sure you have the latest specs?
Thanks!

Just for now I'm doing:
pod 'SnapshotTesting', :git => 'https://github.com/pointfreeco/swift-snapshot-testing.git

Working fine now.
One thing to note is minimum iOS deployment version 10.0, according to SnapshotTesting.podspec.
Thanks @yaakovgamliel

authors: mbrandonw pawankmrai yaakovgamliel

repo: pointfreeco/swift-snapshot-testing


text:
How to calculate ecd

In small sample size bias vignette it is as follows:
Ag$ecdf <- (rank(Ag$Conc)+.25)/(nrow(Ag)+.5)

which gives
# A tibble: 9 × 6
  Chemical Species                Conc Group        Units  ecdf
  <chr>    <chr>                 <dbl> <fct>        <chr> <dbl>
1 Silver   Oncorhynchus mykiss    0.24 Fish         ug/L  0.132
2 Silver   Lemna gibba            0.63 Plant        ug/L  0.237
3 Silver   Ceriodaphnia dubia     0.78 Invertebrate ug/L  0.342
4 Silver   Pimephales promelas    0.83 Fish         ug/L  0.447
5 Silver   Ictalurus punctatus    1.9  Fish         ug/L  0.553
6 Silver   Daphnia magna          2.12 Invertebrate ug/L  0.658
7 Silver   Hyalella azteca        4    Invertebrate ug/L  0.763
8 Silver   Chironomus tentans    13    Invertebrate ug/L  0.868
9 Silver   Micropterus salmoides 23    Fish         ug/L  0.974

[1] 0.1315789 0.2368421 0.3421053 0.4473684 0.5526316 0.6578947 0.7631579 0.8684211 0.9736842

but in the functions it is
function(x, ties.method = "first") {
  (rank(x, ties.method = ties.method) - 0.5) / length(x)
}

which gives
[1] 0.05555556 0.16666667 0.27777778 0.38888889 0.50000000 0.61111111 0.72222222 0.83333333 0.94444444

The following reprex developed with @beckyfisher indicates that the vignette code should be replaced with the package function
ecdf_function <- function(x, ties.method = "first") {
  (rank(x, ties.method = ties.method) - 0.5) / length(x)
}

ecdf_vignette <- function(x, ties.method = "first") {
  (rank(x, ties.method = ties.method) + 0.25) / (length(x) + 0.5)
}

ecdf_function(1)
#> [1] 0.5
ecdf_vignette(1)
#> [1] 0.8333333

ecdf_function(1:2)
#> [1] 0.25 0.75
ecdf_vignette(1:2)
#> [1] 0.5 0.9

ecdf_function(1:3)
#> [1] 0.1666667 0.5000000 0.8333333
ecdf_vignette(1:3)
#> [1] 0.3571429 0.6428571 0.9285714

Created on 2024-10-23 with reprex v2.1.1

For completeness, the code for ppoints is:
function (n, a = if (n <= 10) 3/8 else 1/2)
{
    if (length(n) > 1L)
        n <- length(n)
    if (n > 0)
        (1L:n - a)/(n + 1 - 2 * a)
    else numeric()
}

authors: beckyfisher joethorley

repo: poissonconsulting/ssdtools


text:
Switch by Kind instead of LogicalType in ParquetNodeToTypeWithWriterFunc

I believe this change will make it easier to add types to the ParquetNodeToTypeWithWriterFunc.
This is a very small step for https://github.com/polarsignals/frostdb/issues/99.

This doesn't feel quite right. The kind essentially describes the type that ultimately physically represents the data, but deciding the arrow type based on that seems incorrect as we might do an incorrect decision when a higher-level type is actually the right one.

You're right...this affects the behavior.
I thought that adding test cases would prevent such a change, so I created another PR.
https://github.com/polarsignals/frostdb/pull/101

authors: brancz ohkinozomu

repo: polarsignals/frostdb


text:
Run a FreeSurfer-license canary right after parsing CLI

https://openneuro.org/datasets/ds001230/versions/00001?app=FMRIPREP&version=51&job=5a847e689259cd00018b9810
Possible introduced in 1.0.7
--n_cpus 4 --participant_label 3129 --use-aroma --fs-license-file /input/data/b39610adfe02fdce2ad9d30797c567b3/LICENSE --output-space template T1w fsaverage
[Node] Error on "fmriprep_wf.single_subject_3129_wf.anat_preproc_wf.surface_recon_wf.autorecon1" (/root/src/fmriprep/work/fmriprep_wf/single_subject_3129_wf/anat_preproc_wf/surface_recon_wf/autorecon1)
Traceback (most recent call last):
  File "/usr/local/miniconda/bin/fmriprep", line 11, in <module>
    load_entry_point('fmriprep==1.0.7', 'console_scripts', 'fmriprep')()
  File "/usr/local/miniconda/lib/python3.6/site-packages/fmriprep/cli/run.py", line 267, in main
    fmriprep_wf.run(**plugin_settings)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/workflows.py", line 602, in run
    runner.run(execgraph, updatehash=updatehash, config=self.config)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/base.py", line 168, in run
    self._clean_queue(jobid, graph, result=result))
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/base.py", line 227, in _clean_queue
    raise RuntimeError("".join(result['traceback']))
RuntimeError: Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/plugins/multiproc.py", line 68, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 487, in run
    result = self._run_interface(execute=True)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 571, in _run_interface
    return self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/pipeline/engine/nodes.py", line 650, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base/core.py", line 516, in run
    runtime = self._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base/core.py", line 1023, in _run_interface
    self.raise_exception(runtime)
  File "/usr/local/miniconda/lib/python3.6/site-packages/niworkflows/nipype/interfaces/base/core.py", line 960, in raise_exception
    ).format(**runtime.dictcopy()))
RuntimeError: Command:
recon-all -autorecon1 -i /snapshot/data/sub-3129/anat/sub-3129_acq-MPRAGE_run-1_T1w.nii.gz -noskullstrip -openmp 3 -subjid sub-3129 -sd /output/data/freesurfer
Standard output:
ERROR: You are trying to re-run an existing subject with (possibly)
 new input data (-i). If this is truly new input data, you should delete
 the subject folder and re-run, or specify a different subject name.
 If you are just continuing an analysis of an existing subject, then
 omit all -i flags.
Standard error:

Return code: 1

Perhaps the implementation of the canary should go here in sMRIPrep, but then imported from fMRIPrep to actually run it.

authors: chrisgorgo oesteban

repo: poldracklab/smriprep


text:
Form validation of payment amount on "Mint L-DOT" form does not consider changes to the accounts' DOT balance after the form has been initially loaded

My Acala Mandala Address: 5DHcRs9udMCKtEmJEABY2HpECyTHHxgLL85pFFzN72SatAoQ
If I use the polkawallet-flutter mobile app and go to "Mint L-DOT" page and enter a value (e.g. 0.05 DOT) that's less than my balance (of say 0.235 DOT), then it doesn't show any form validation errors. But then suppose I decide not to click the "Mint L-DOT" button just yet.
Then suppose I go to the web app at https://apps.acala.network/homa and deposit ALL of my DOTs so they're minted into L-DOTs, leaving me with a balance of 0 DOTs.
If I then go back to the polkawallet-flutter mobile app where I've still got the "Mint L-DOT" page open, it doesn't show any form validation errors as it doesn't recognise that I no longer have any DOT tokens anymore, and it still says I'll receive the same amount of LDOT tokens even though the exchange rate changed, and even if I click the "Mint L-DOT" button it still doesn't perform a front-end check of my account balance, instead it allows the transaction to process and shows that it was successful, even though the transaction actually fails with error BalanceTooLow (e.g. https://acala-testnet.subscan.io/extrinsic/0xa5716da7f18ab5196dda6bd76731b2e8417200869fd6722030cbf764e5e2a2e8)
On the "Mint L-DOT" page, if I then click the "History" icon, it records that it minted 0.492 LDOT using 0.05 DOT, but doesn't indicate whether it was successful or not, so I think it would be helpful to include a link to the transaction on Subscan for each history item, and to also show whether the transaction was "Success" or "Failure"

consider using data subscribing instead of data fetching.

authors: RomeroYang ltfschoen

repo: polkawallet-io/polkawallet-flutter


text:
send to unreal give me error ImportError: attempted relative import with no known parent package

In the description paste in and edit the following:

Addon:  Send to Unreal
Steps to Reproduce the Problem:  I clicked Pipeline > Export > Push assets
Error Log: Paste the full error log

OS:  Windows
Addon Version: Send to Unreal 2.4.8
Blender Version: Blender 4.2
Unreal Version: Unreal 5.4.3

I experienced the EXACT same thing.  Everything above is exactly the same for me.
Screen shots, versions, Steps to produce etc.

I was able to replicate this issue by installing the plugin fresh, both from the 2.4.8 zip on the release page and current committed version. A co-worker of mine is experiencing the same issue. If you already have a working plugin, reproduction requires existing plugin version to be completely uninstalled.
Additionally, running the Pipeline > Utilities > Start RPC Servers command also warranted the same error with the exact same stacktrace as Pipeline > Export > Push assets because it's failing while establishing the connection, before it ever has a chance to hit the Push Asset-specific logic
I have found a way to "fix" this is:

First, install the original Epic Games version of the Send2UE plugin.
Run the Push Assets command (it throws the global Regex error).
Disable the Epic Games version.
Install the Poly Hammer version (note the reduced number of reported policy violations).
Now running Push Assets is successful.

It seems to be something to do with the restructuring of how the package imports it's dependencies, but I'm not sure what the fix would be at this time.
Hope this helps!

authors: Genius-pig plumpdolphin tcoursey

repo: poly-hammer/BlenderTools


text:
XFCE4 xfsettingsd interference with startup polybar xworkspaces (ewmh)

Describe the issue
The launch.sh script included in the wiki when used with XFCE4 startup applications can cause the xworkspaces module to fail. Running the script once logged in solves the issue, so this is relatively minor - but annoying. AFAIK this only affects ewmh modules, I haven't observed it with any other modules.
Expected behavior:
polybar should load ewmh workspace modules on login.
Actual behavior
it does not load the workspace modules correctly. in my bar, that module is missing but all other modules load correctly.
To Reproduce
A minimal but complete config with which the problem occurs:
Use the basic settings from the xworkspaces module example in any config. Add the launch script from the wiki home page to XFCE4 Startup applications (e.g., ./home/user/.config/polybar/launch.sh). Log out and back in. The module does not load on startup.
Polybar Log
I don't get any error or output when piping the to an external log file.
Environment:

WM: XFCE4
Distro: Linux Mint 19.1
Output of polybar -vvv:

polybar 3.3.0-81-gf1061e1

Features: -alsa -curl -i3 -mpd +network(wireless-tools) -pulseaudio +xkeyboard

X extensions: +randr (+monitors) -render -damage -sync +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/g++
Compiler flags:  -Wall -Wextra -Werror -Wno-noexcept-type -pedantic -pedantic-errors -O3 -DNDEBUG
Linker flags:

Potential solution
It seems like the problem occurs either with the order in which the .desktop files are executed from .config/autostart or something else having to do with XFCE4 xfsettingsd. My guess is that polybar is started before the workspaces are initialized by the daemon. I wound up getting around the issue by adding a few lines to postpone polybar initialization in launch.sh:
#!/usr/bin/env bash

until p=$(pidof xfsettingsd)
do
        sleep 1
done

sleep 1

# Terminate already running bar instances
killall -q polybar

# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

# Launch bar1 and bar2
polybar mybar &

echo "Bars launched..."

This just waits until the settings daemon is initialized before trying to start polybar. This seems to work fine. If this does not cause trouble with other wms perhaps it something to add to the wiki so future XFCE users don't have to do similar troubleshooting. I would have just made a PR but I wasn't sure how to contribute to the wiki.

Hi,
If the xworkspaces module fails it will print an error message in the polybar stderr, could you make sure that you also redirect stderr (>/path/to/logfile 2>&1).
It's possible that for some reason xfce doesn't announce its workspace configuration to X11 directly but waits for xfsettingsd to do it, don't know why though. The actual output should help us figure it out.

Closing due to inactivity

repo: polybar/polybar


text:
[Bug]: Polybar not supporting Nerdfont V 3.0

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Steps to reproduce
Try to use , 󰮯, 󰊠 as xworspace fonts
Minimal config
[module/xworkspaces]
type = internal/xworkspaces

label-active = 󰮯
label-active-foreground = ${colors.battery}
; label-active-background = ${colors.battery}
label-active-padding = 1
label-active-font = 1

label-occupied = 󰊠
label-occupied-padding = 1
label-occupied-foreground = ${colors.volume}
label-occupied-font = 1

label-urgent = 

label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-urgent-font = 2

label-empty = 

Polybar log
loaded modules and fonts successfully
...
warn: Dropping unmatched character 󰊠 (U+f02a0) in '󰊠'
warn: Dropping unmatched character 󰮯 (U+f0baf) in '󰮯'
warn: Dropping unmatched character 󰊠 (U+f02a0) in '󰊠'
warn: Dropping unmatched character 󰊠 (U+f02a0) in '󰊠'
warn: Dropping unmatched character 󰊠 (U+f02a0) in '󰊠'
.....

Expected behavior
No warning after modules are loaded
Actual behavior
Polybar not rendering some fonts properly
Window Manager and Version
bspwm 0.9.10
Linux Distribution
Arch Linux 6.3.1-zen2-1-zen
Polybar version
polybar 3.6.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/polybar/src=/usr/src/debug/polybar -flto=auto -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Wsuggest-override
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wall -Wextra -Wpedantic -Wsuggest-override  -Wall -Wextra -Wpedantic -Wsuggest-override

Additional Context / Screenshots
https://github.com/polybar/polybar/assets/58597122/a4514996-6151-44e9-86af-bf11176eda3c

loaded modules and fonts successfully

Please also show that part of the log. I am pretty sure polybar did not load the nerd fonts, otherwise you wouldn't be having this issue. Please also read the font debugging guide.

For my configuration, this was due to a breaking change in Nerd Font 3.0. Material Design Icon codepoints were changed, so you need to go on the Nerd Font Cheatsheet and find the new codepoints. I can confirm that after I switched to the new code points, the correct glyphs render and I don't see any warnings of unmatched characters.

authors: Speculative greeid patrick96


text:
Steam VR and ALVR server crashing after starting server

I have tried changing the video codec, going back to previous versions of ALVR, disabling steam sound uninstalling the driver and reinstalling. i am also using a 5ghz wifi connection.

Intel(R) HD Graphics 620

Both your gpus don't meet the min specs to play a vr game. You need to get a better computer (gpu).

repo: polygraphene/ALVR


text:
upx sync 的返回值问题

写了一个 GitLab CI ，在 CI 的最后是将编译产生的文件同步到 UPYUN，但在同步时候可能因为某些原因出错，这是在所难免的，但是不知能不能当 fails 不为 0 时 os.Exit(-1)  之类的？

@qious 很好的建议，最近我会花时间优化下。

已经增加这个判断逻辑 https://github.com/polym/upx/pull/16/files#diff-8395fa844bc4d2e33f3cccb63de5a32aR212

谢谢，辛苦了

authors: polym qious

repo: polym/upx


text:
Exposing TCP services from NGINX Ingress Controller and rm open ports

Related issue

Issue #
Description
By default ingress doesn't support TCP.  In order for our ingress controller to expose and redirect incoming tcp connection to the appropriate service we have to add entries to the empty tcp config map.
In the key-value entry, the key is the port we want to expose on our cluster and the value is the target service using the pattern
key : namespace/service-name:port

[x ] removed open ports section
[x ] add tcp entry section to nginx controller

Test Instructions
The nginx loadbalancer ports should update with the added tcp entry and the service should be available publicly
Code of Conduct
By submitting this Pull Request, you agree to follow our
Code of Conduct

[x ] I agree to follow this CNDI's Code of Conduct

Notes (Optional)

Closing in favor of #977

authors: IamTamika johnstonmatt

repo: polyseam/cndi


text:
PMID:39110593 missed

decreased plasma membrane ER tethering

actually we have
06330 | decreased endoplasmic reticulum-plasma membrane tethering
should it be part of

FYPO:0007571
abnormal cortical endoplasmic reticulum organization

add synonyms

repo: pombase/fypo


text:
Store the ID of all sessions that use an allele

Currently only the ID of the first curation session that mentions an allele is stored as a featureprop.  We should be storing all the session IDs.
Original comment by: kimrutherford

I put this as future, but we should  up if there are any dependencies

This is done.  I think it was implemented months ago.

authors: ValWood kimrutherford pombase-admin

repo: pombase/pombase-chado


text:
some  proteins don't show up in the tmm domain query even though they have them

SPAC977.01 | sub-telomeric 5Tm protein family Ftm1
ftm2 | SPAC977.02 | sub-telomeric 5Tm protein family Ftm2

Does that mean the data from InterPro is wrong?  We haven't updated in a while.

I think this might be to do with specific entries. It seems to only affect a few and its  seems to be the telomeric duplications, which were split out by UniProt (I think).
Could you provide me with the rows from the InterPro result flat  file (if there is such  thing?), then i can get in touch with them to check that   it gets resolved.
For the few which are missing I  can infer for my figure.

Could you provide me with the rows from the InterPro result flat file (if there is such thing?)

The data comes from a 100GB XML file.  :-(
I looked up one of your examples:
http://www.uniprot.org/uniprot/P0CU16
UniProt are showing TMMs for that example.  I guess the possibilities are:

there's a bug and we're not displaying the TMMs from InterPro
they were missing from the InterPro XML in August but are there now (seems unlikely)
they're on the UniProt page but not in the InterPro file

Since our last update was in August, I'm downloading the latest InterPro XML file.  It takes a few hours to process but I think it will be done for tonight's load.
If the domains are still missing on the PomBase pages after this update, I'll dig into the XML file.

I forgot to say: we don't load the XML file directly because that would be too slow to do every night.  Instead we process the XML, pull out the pombe entries and write them to a small and sensible JSON file.  We load the JSON file each night.
The JSON file generated from the August InterPro XML file doesn't contain any results for your two examples.  Once the latest XML file is processed I'll check the new JSON.

It will probably be the same. I don't think there has been another release yet....

Does that mean the data from InterPro is wrong?

I have a memory like a goldfish - the TM predictions come from running TMHMM, not from InterPro.  I think what confused me is that we process the InterPro XML and we run TMHMM at the same time.  We generate a JSON file containing the domain data from both sources.
And that I think that is what indirectly caused the missing TM domains.  There's a bug in the logic of the JSON writer that means if there are no InterPro hits, no TMHMM results are written.  It looks like there were no InterPro results for your two genes in the InterPro release from August so no TMHMM results were written to the JSON file.  In the updated InterPro there are some InterPro results so the TMHMM hits are there now:
https://www.pombase.org/gene/SPAC977.01
https://www.pombase.org/gene/SPAC977.02
I'll fix the logic bug tomorrow.

It will probably be the same. I don't think there has been another release yet....

There have been a few releases since I last updated: ftp://ftp.ebi.ac.uk/pub/databases/interpro/

I had forgotten this too...

And that I think that is what indirectly caused the missing TM domains.

I was completely wrong.  The code is fine and doing the right thing.
The TM domains were missing on those genes because when I created the JSON data file in August those genes had different UniProt IDs in Chado.  The mapping file has changed since then:
pombe-embl/ftp_site/pombe/names_and_identifiers/PomBase2UniProt.tsv
So SPAC977.02 is now P0CU07 but was Q9P332.  The JSON file contains only has UniProt IDs so the ID of the TM domains data blob in the JSON file didn't match what was in the current Chado.
It's all fine now it has been re-run.  And we have the latest InterPro data as a bonus.

brilliant....

authors: ValWood kimrutherford

repo: pombase/website


text:
Remove extra commit in release script

The changelog is now modified once rather than twice. This caused
the script to exit by failing to commit changes that didn't happen.
closes #1860
[skip ci]

I'm confused by this @Theodus.
When exactly as part of this process would the new unreleased section be added?
Where is that committed?

The new unreleased section is added when the previous unreleased section is made into a release. It's committed in Prep for $version release.

authors: SeanTAllen Theodus

repo: ponylang/ponyc


text:
Require at least one Epoch in a Deme?

Currently we're implicitly defining a single epoch via some attributes of the Deme class. From a specification/parser writing perspective, it would be considerably simpler to just required the existence of at least one epoch. So, from the examples:
demes:
  constant_size_deme:
    initial_size: 1000

demes:
  constant_size_deme:
    epochs:
    - initial_size: 1000
      end_time: 0

Is the first that much more readable than the second? Are we the models that people will be writing down to contain many demes with just one epoch?

There was some discussion, sorry, I forgot. https://github.com/popsim-consortium/demes-python/issues/133

Are we [expecting] the models that people will be writing down to contain many demes with just one epoch?

That will probably be a frequent occurrence, if these two examples are anything to go by.
https://github.com/popsim-consortium/demes-python/blob/main/examples/gutenkunst_ooa.yml
https://github.com/popsim-consortium/demes-python/blob/main/examples/jacobs_papuans.yml

Thanks @grahamgower, very helpful.
So, I think the earlier discussion was conflating the demes-python implementation and the definition of the specification. There's nothing stopping an implementation keeping start/end time attributes per deme (and I agree this is a useful thing), but it's not necessary from the specification perspective.
The question is, is the slightly more concise yaml description worth the extra complexity? I'm leaning towards "no".

The question is, is the slightly more concise yaml description worth the extra complexity? I'm leaning towards "no".

100% agreed! Having to write epochs: and indent another level doesn't make the yaml any harder to write, nor does it make mistakes any more likely.

@apragsdale, thoughts?

I go back and forth on that issue. To me, the extra lines and indentation are noticeable, but I also think there's something to be said for having the YAML description be more explicit: it forces the user to think in terms of epochs which I think will reduce confusion and implementation errors.
I'm more worried about human-readability and reducing implementation errors than the complexity of the code to parse the reduced representation. But I think we can have both by requiring epochs.

OK, sounds like unanimity so far - @molpopgen, any dissent?

No objection.  Sorry, I'd missed this notification.
On Fri, Dec 4, 2020, 8:11 AM Jerome Kelleher notifications@github.com
wrote:

OK, sounds like unanimity so far - @molpopgen
https://github.com/molpopgen, any dissent?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/popsim-consortium/demes-spec/issues/25#issuecomment-738868878,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQ6OH755WMAL7N6OXQ6HWTSTECT7ANCNFSM4UNE6ETQ
.

authors: apragsdale grahamgower jeromekelleher molpopgen

repo: popsim-consortium/demes-spec


text:
App Templates don't show up - "server misbehaving"

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
When trying to open App Templates, I get following error:

  | Error | Failure | Get   "https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json":  dial tcp: lookup raw.githubusercontent.com on 127.0.0.11:53: server  misbehaving
-- | -- | -- | --

I'm using PiHole, but even when disabled it still doesn't work.
Also the URL works from PC.
Expected Behavior
App Templates should show up.
Actual Behavior
I get an error:

  | Error | Failure | Get   "https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json":  dial tcp: lookup raw.githubusercontent.com on 127.0.0.11:53: server  misbehaving
-- | -- | -- | --

Steps to Reproduce
Try to open App Templates.
Portainer logs or screenshots

  | Error | Failure | Get   "https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json":  dial tcp: lookup raw.githubusercontent.com on 127.0.0.11:53: server  misbehaving
-- | -- | -- | --

Portainer version
2.19.4
Portainer Edition
Community Edition (CE)
Platform and Version
Docker 24.0.7 (API: 1.43)
OS and Architecture
Raspbian OS, ARM64, RPi4
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information
No response

If you SSH into your Raspberry Pi and try and curl the template URL, does it load? How about if you spin up a container, console into it and try?
It looks like some sort of connectivity issue between your Portainer container and Github - I'm not able to reproduce what you're seeing here on multiple different installations.

Hi!
I tested it on SSH and container (homeassitant) and it works on them.
I was not able to get console for portainer.

It's extremely likely that this is an issue caused by PiHole and DNS resolver reconfiguration on your Docker host. Have a look at your /etc/resolv.conf on your Raspberry Pi and change it to use a public DNS server like 8.8.8.8 or similar, restart the system, and see if it makes any difference.

If you are using Pihole then it updated your /etc/resolv.conf file and set itself as a nameserver. You can update it manually, but it will get overwritten on reboot again since Pihole manages that file for you.
You can enable various Upstream DNS servers from Pihole settings(in admin dashboard) in order to persistently add Cloudflare/Google or others as your upstream DNS server.
Enabling at least one of Upstream DNS servers should resolve your issue.

@hermanoff
I have upstream DNS enabled (only Cloudflare before, I added more)
Logs form PiHole during the attempt to load the App Templates:
Feb 23 03:36:01: query[A] pi.hole from 127.0.0.1
Feb 23 03:36:01: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:36:01: query[A] api.github.com from 172.17.0.1
Feb 23 03:36:01: cached api.github.com is 140.82.121.6
Feb 23 03:36:01: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:36:01: cached api.github.com is NODATA-IPv6
Feb 23 03:36:05: query[A] api.github.com from 172.17.0.1
Feb 23 03:36:05: cached api.github.com is 140.82.121.6
Feb 23 03:36:05: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:36:05: cached api.github.com is NODATA-IPv6
Feb 23 03:36:06: query[A] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:36:06: forwarded raw.githubusercontent.com to 8.8.8.8
Feb 23 03:36:06: query[AAAA] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:36:06: cached raw.githubusercontent.com is 2606:50c0:8001::154
Feb 23 03:36:06: cached raw.githubusercontent.com is 2606:50c0:8002::154
Feb 23 03:36:06: cached raw.githubusercontent.com is 2606:50c0:8003::154
Feb 23 03:36:06: cached raw.githubusercontent.com is 2606:50c0:8000::154
Feb 23 03:36:06: validation result is INSECURE
Feb 23 03:36:06: reply raw.githubusercontent.com is 185.199.110.133
Feb 23 03:36:06: reply raw.githubusercontent.com is 185.199.108.133
Feb 23 03:36:06: reply raw.githubusercontent.com is 185.199.111.133
Feb 23 03:36:06: reply raw.githubusercontent.com is 185.199.109.133
Feb 23 03:36:10: query[A] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:36:10: cached raw.githubusercontent.com is 185.199.110.133
Feb 23 03:36:10: cached raw.githubusercontent.com is 185.199.108.133
Feb 23 03:36:10: cached raw.githubusercontent.com is 185.199.111.133
Feb 23 03:36:10: cached raw.githubusercontent.com is 185.199.109.133
Feb 23 03:36:10: query[AAAA] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:36:10: cached raw.githubusercontent.com is 2606:50c0:8000::154
Feb 23 03:36:10: cached raw.githubusercontent.com is 2606:50c0:8001::154
Feb 23 03:36:10: cached raw.githubusercontent.com is 2606:50c0:8002::154
Feb 23 03:36:10: cached raw.githubusercontent.com is 2606:50c0:8003::154
Feb 23 03:36:10: query[A] api.github.com from 172.17.0.1
Feb 23 03:36:10: cached api.github.com is 140.82.121.6
Feb 23 03:36:10: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:36:10: cached api.github.com is NODATA-IPv6
Feb 23 03:36:14: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:36:14: cached api.github.com is NODATA-IPv6
Feb 23 03:36:14: query[A] api.github.com from 172.17.0.1
Feb 23 03:36:14: cached api.github.com is 140.82.121.6
Feb 23 03:36:31: query[A] pi.hole from 127.0.0.1
Feb 23 03:36:31: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:37:01: query[A] pi.hole from 127.0.0.1
Feb 23 03:37:01: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:37:31: query[A] pi.hole from 127.0.0.1
Feb 23 03:37:31: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:37:47: query[A] api.github.com from 172.17.0.1
Feb 23 03:37:47: forwarded api.github.com to 8.8.8.8
Feb 23 03:37:47: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:37:47: cached api.github.com is NODATA-IPv6
Feb 23 03:37:47: validation result is INSECURE
Feb 23 03:37:47: reply api.github.com is 140.82.121.6
Feb 23 03:37:51: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:37:51: cached api.github.com is NODATA-IPv6
Feb 23 03:37:51: query[A] api.github.com from 172.17.0.1
Feb 23 03:37:51: cached api.github.com is 140.82.121.6
Feb 23 03:38:00: query[A] play.googleapis.com from 192.168.188.1
Feb 23 03:38:00: forwarded play.googleapis.com to 8.8.8.8
Feb 23 03:38:00: dnssec-query[DS] googleapis.com to 8.8.8.8
Feb 23 03:38:00: reply googleapis.com is no DS
Feb 23 03:38:00: validation result is INSECURE
Feb 23 03:38:00: reply play.googleapis.com is 172.217.16.42
Feb 23 03:38:00: reply play.googleapis.com is 216.58.215.74
Feb 23 03:38:00: reply play.googleapis.com is 216.58.215.106
Feb 23 03:38:00: reply play.googleapis.com is 142.250.203.202
Feb 23 03:38:00: reply play.googleapis.com is 216.58.208.202
Feb 23 03:38:00: reply play.googleapis.com is 142.250.186.202
Feb 23 03:38:00: reply play.googleapis.com is 142.250.203.138
Feb 23 03:38:02: query[A] pi.hole from 127.0.0.1
Feb 23 03:38:02: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:38:32: query[A] pi.hole from 127.0.0.1
Feb 23 03:38:32: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:39:02: query[A] pi.hole from 127.0.0.1
Feb 23 03:39:02: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:39:08: query[A] api.github.com from 172.17.0.1
Feb 23 03:39:08: forwarded api.github.com to 8.8.8.8
Feb 23 03:39:08: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:39:08: cached api.github.com is NODATA-IPv6
Feb 23 03:39:08: validation result is INSECURE
Feb 23 03:39:08: reply api.github.com is 140.82.121.6
Feb 23 03:39:12: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:39:12: cached api.github.com is NODATA-IPv6
Feb 23 03:39:12: query[A] api.github.com from 172.17.0.1
Feb 23 03:39:12: cached api.github.com is 140.82.121.6
Feb 23 03:39:32: query[A] pi.hole from 127.0.0.1
Feb 23 03:39:32: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:40:03: query[A] pi.hole from 127.0.0.1
Feb 23 03:40:03: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:40:07: query[A] api.github.com from 172.17.0.1
Feb 23 03:40:07: cached api.github.com is 140.82.121.6
Feb 23 03:40:07: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:40:07: cached api.github.com is NODATA-IPv6
Feb 23 03:40:11: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:40:11: cached api.github.com is NODATA-IPv6
Feb 23 03:40:11: query[A] api.github.com from 172.17.0.1
Feb 23 03:40:11: forwarded api.github.com to 8.8.8.8
Feb 23 03:40:11: validation result is INSECURE
Feb 23 03:40:11: reply api.github.com is 140.82.121.5
Feb 23 03:40:32: query[A] api.github.com from 172.17.0.1
Feb 23 03:40:32: cached api.github.com is 140.82.121.5
Feb 23 03:40:32: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:40:32: cached api.github.com is NODATA-IPv6
Feb 23 03:40:33: query[A] pi.hole from 127.0.0.1
Feb 23 03:40:33: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:40:36: query[A] api.github.com from 172.17.0.1
Feb 23 03:40:36: cached api.github.com is 140.82.121.5
Feb 23 03:40:36: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:40:36: cached api.github.com is NODATA-IPv6
Feb 23 03:40:40: query[A] api.github.com from 172.17.0.1
Feb 23 03:40:40: cached api.github.com is 140.82.121.5
Feb 23 03:40:40: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:40:40: cached api.github.com is NODATA-IPv6
Feb 23 03:40:44: query[A] api.github.com from 172.17.0.1
Feb 23 03:40:44: cached api.github.com is 140.82.121.5
Feb 23 03:40:44: query[AAAA] api.github.com from 172.17.0.1
Feb 23 03:40:44: cached api.github.com is NODATA-IPv6
Feb 23 03:40:49: query[A] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:40:49: cached raw.githubusercontent.com is 185.199.109.133
Feb 23 03:40:49: cached raw.githubusercontent.com is 185.199.110.133
Feb 23 03:40:49: cached raw.githubusercontent.com is 185.199.108.133
Feb 23 03:40:49: cached raw.githubusercontent.com is 185.199.111.133
Feb 23 03:40:49: query[AAAA] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:40:49: cached raw.githubusercontent.com is 2606:50c0:8003::154
Feb 23 03:40:49: cached raw.githubusercontent.com is 2606:50c0:8000::154
Feb 23 03:40:49: cached raw.githubusercontent.com is 2606:50c0:8001::154
Feb 23 03:40:49: cached raw.githubusercontent.com is 2606:50c0:8002::154
Feb 23 03:40:53: query[A] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:40:53: cached raw.githubusercontent.com is 185.199.111.133
Feb 23 03:40:53: cached raw.githubusercontent.com is 185.199.109.133
Feb 23 03:40:53: cached raw.githubusercontent.com is 185.199.110.133
Feb 23 03:40:53: cached raw.githubusercontent.com is 185.199.108.133
Feb 23 03:40:53: query[AAAA] raw.githubusercontent.com from 172.17.0.1
Feb 23 03:40:53: cached raw.githubusercontent.com is 2606:50c0:8002::154
Feb 23 03:40:53: cached raw.githubusercontent.com is 2606:50c0:8003::154
Feb 23 03:40:53: cached raw.githubusercontent.com is 2606:50c0:8000::154
Feb 23 03:40:53: cached raw.githubusercontent.com is 2606:50c0:8001::154
Feb 23 03:41:03: query[A] pi.hole from 127.0.0.1
Feb 23 03:41:03: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:41:33: query[A] pi.hole from 127.0.0.1
Feb 23 03:41:33: Pi-hole hostname pi.hole is 0.0.0.0
Feb 23 03:42:03: query[A] pi.hole from 127.0.0.1
Feb 23 03:42:03: Pi-hole hostname pi.hole is 0.0.0.0

The portainer container has IP 172.17.0.4

It looks like you get a DNS response, but you still can't access the templates?
Would you be able to provide reponse from curl -v on your template resource from inside the Portainer?
Also this is not right: Pi-hole hostname pi.hole is 0.0.0.0
Would you be able to provide docker-compose.yml for your Pihole? It seems to me that something is not quite right with the configuration.

I am experiencing this kind of issue. How can we resolved this one? :)

authors: hermanoff inobrevi jamescarppe jasonbrianrivero

repo: portainer/portainer

license: Zlib


text:
Stack created through HTTP API appear as "Limited" in the WEB UI [Docker swarm mode]

Bug description
Stack created through HTTP API appear as "Limited" in the WEB UI
Expected behavior
Stack created with the value "Total" in the column "Control"
Steps to reproduce the issue:

Init a new docker swarm manager node and add a single "worker" node
Deploy the Portainer stack according to the documentation: https://docs.portainer.io/v/ce-2.9/start/install/server/swarm/linux
You can try to reproduce the problem using the commands in the script bellow:

#!/bin/bash

# Creating Stacks with Portainer HTTP API and Docker Swarm mode

PORTAINER_IP=127.0.0.1
PORTAINER_PORT=9000
PORTAINER_API_USER=admin
PORTAINER_API_PASS=password

# RUNNING A NEW INSTANCE OF PORTAINER USING OFFICIAL DOCS: https://docs.portainer.io/v/ce-2.9/start/install/server/swarm/linux
# create the portainer stack compose configuration
cat << EOF >> portainer-agent-stack.yml
version: '3.2'

services:
  agent:
    image: portainer/agent:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /var/lib/docker/volumes:/var/lib/docker/volumes
    networks:
      - agent_network
    deploy:
      mode: global
      placement:
        constraints: [node.platform.os == linux]

  portainer:
    image: portainer/portainer-ce:latest
    command: -H tcp://tasks.agent:9001 --tlsskipverify
    ports:
      - "9443:9443"
      - "$PORTAINER_PORT:9000"
    volumes:
      - portainer_data:/data
    networks:
      - agent_network
    deploy:
      mode: replicated
      replicas: 1
      placement:
        constraints: [node.role == manager]

networks:
  agent_network:
    driver: overlay
    attachable: true

volumes:
  portainer_data:

EOF

# deploy the portainer stack
docker stack deploy --orchestrator swarm --compose-file portainer-agent-stack.yml portainer

SWARM_ID=xxxxx
PORTAINER_ENDPOINT_ID=1

# RUNNING THE TEST STACK

# create the stack compose file: stack-test.yml
cat << EOF >> stack-test.yml
version: '3.8'

services:
  ping:
    image: alpine:latest
    deploy:
      mode: global
    command: ping dynamodb.sa-east-1.amazonaws.com
EOF

# authenticate with the HTTP API /api/auth
PORTAINER_TOKEN=$(curl -X POST "http://$PORTAINER_IP:$PORTAINER_PORT/api/auth" -H "Content-Type: application/json" -d "{\"username\": \"$PORTAINER_API_USER\", \"password\": \"$PORTAINER_API_PASS\"}" | jq -r .jwt)

# create stack with HTTP API /api/stacks
CREATE_STACK_RESPONSE=$(cat stack-test.yml | curl -X POST "http://$PORTAINER_IP:$PORTAINER_PORT/api/stacks?type=1&method=file&endpointId=$PORTAINER_ENDPOINT_ID&Name=ping-test&SwarmID=$SWARM_ID" -H "Authorization: Bearer $PORTAINER_TOKEN" -F file=@-)

# response from create stack
#{"Id":1,"Name":"pingtest","Type":1,"EndpointId":1,"SwarmId":"xxxxx","EntryPoint":"docker-compose.yml","Env":null,"ResourceControl":{"Id":1,"ResourceId":"1_pingtest","SubResourceIds":[],"Type":6,"UserAccesses":[],"TeamAccesses":[],"Public":false,"AdministratorsOnly":true,"System":false},"Status":1,"ProjectPath":"/data/compose/1","CreationDate":1633706591,"CreatedBy":"admin","UpdateDate":0,"UpdatedBy":"","AdditionalFiles":null,"AutoUpdate":null,"GitConfig":null,"Namespace":"","IsComposeFormat":false}

# the stack, services and containters apears in the WEB UI. But listing the stack on the Stacks view shows an unexpected "Limited" value in the "Control" column: "This stack was created outside of Portainer. Control over this stack is limited."
# is this the expected behavior when operating through the HTTP API?

# trying to remove this stack through the WEB UI results in the following error message: "A tag already exists with this name"

# query through HTTP API /api/tags
curl -X GET "http://$PORTAINER_IP:$PORTAINER_PORT/api/tags" -H "accept: application/json" -H "Authorization: Bearer $PORTAINER_TOKEN"

# response from query:
# []

# i can't remove the stack through the WEB UI, but i can remove the service.
# after removing the service, this stack and the related services and containers does not appear anymore.
# the network created for this stack was not removed.

# trying to create the same stack with HTTP API /api/stacks
RECREATE_STACK_RESPONSE=$(cat stack-test.yml | curl -X POST "http://$PORTAINER_IP:$PORTAINER_PORT/api/stacks?type=1&method=file&endpointId=$PORTAINER_ENDPOINT_ID&Name=ping-test&SwarmID=$SWARM_ID" -H "Authorization: Bearer $PORTAINER_TOKEN" -F file=@-)

# response from create stack:
# {"message":"A stack with the name 'pingtest' is already running","details":"A stack with the name 'pingtest' is already running"}
echo $RECREATE_STACK_RESPONSE

# query through HTTP API /api/stacks
QUERY_STACKS=$(curl -X GET "http://$PORTAINER_IP:$PORTAINER_PORT/api/stacks" -H "accept: application/json" -H "Authorization: Bearer $PORTAINER_TOKEN")

# response from query:
# [{"Id":1,"Name":"pingtest","Type":1,"EndpointId":1,"SwarmId":"xxxxx","EntryPoint":"docker-compose.yml","Env":null,"ResourceControl":{"Id":1,"ResourceId":"1_pingtest","SubResourceIds":[],"Type":6,"UserAccesses":[],"TeamAccesses":[],"Public":false,"AdministratorsOnly":true,"System":false},"Status":1,"ProjectPath":"/data/compose/1","CreationDate":1633706591,"CreatedBy":"admin","UpdateDate":0,"UpdatedBy":"","AdditionalFiles":null,"AutoUpdate":null,"GitConfig":null,"Namespace":"","IsComposeFormat":false}]
echo $QUERY_STACKS

# the stack does exist when listing through the HTTP API, but not on the WEB UI.

# deleting stack through the HTTP API /api/stacks/
STACK_ID=$(echo $QUERY_STACKS | jq .[0].Id)
curl -X DELETE "http://$PORTAINER_IP:$PORTAINER_PORT/api/stacks/$STACK_ID?endpointId=$PORTAINER_ENDPOINT_ID" -H "Authorization: Bearer $PORTAINER_TOKEN"

# now i can create this stack again.
# But still show as "Limited"

Technical details:

Portainer version: 2.9.0
Docker version (managed by Portainer): 19.03.11-ol
Platform: Linux
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer): This is demonstrated in the script above.
Browser: Brave Version 1.30.87 Chromium: 94.0.4606.71 (Official Build) (64-bit)
Use Case: Personal test of Portainer and a two node docker swarm cluster
Have you reviewed our technical documentation and knowledge base? Yes

I created two new servers (Oracle Linux 8.2) to install and configure everything from scratch.
I tried to change the stack name. (remove the -)
Same problem: stack is created as "Limited".

Is the new setup also running Docker 19.03.11?
My tests were on Ubuntu with Docker 20.10, I'm not sure if this could be OS or Docker version related but I'll test to be sure.
Meanwhile, Would you be able join our Community Slack and ping me @Sam Dulam (Staff)


text:
Multiple compose files without Git

Is your feature request related to a problem? Please describe.
Multiple compose files are handled using Git, see #2902. However, using Git is just one of the options when it comes to creating stacks.
When not using a (public) Git repo, it is currently not possible to write multiple compose files - confirmed here.
Describe the solution you'd like
Allow multiple compose files for all options to create stacks. I.e., allowing multiple files to be added in the Web editor and allowing multiple files to be selected when choosing "Upload".
Describe alternatives you've considered
The alternative is to provide it with the Git repository. However, this is only possible for public git repo's and so it's not always a solution.

We'd like to understand your use case for this functionality - in what scenario would you want this capability within Portainer?

Any of the approaches described here? Also the approach as described in the linked #2902.

@michelkok

The alternative is to provide it with the Git repository. However, this is only possible for public git repo's and so it's not always a solution.

While we discuss the ability to  do multiple compose files without git, I wanted to test this with a Private Git repo. I'm using a Github private repo.
I was able to use multiple compose files from a private repository. Details of my simple test below
docker-compose.yml
version: '3'
services:
  web1:
    image: nginx:1.21

docker-compose.override.yml
version: '3'
services:
  web1:
    ports:
    - 8883:80

Deploy as a stack in Portainer

Screenshot of deployment (notice the ports from override)

Let me know if your experience or use case is different.

Thanks, that works for me.

authors: jamescarppe michelkok samdulam


text:
Update Calico from v3.0.4 to v3.1.1

https://github.com/projectcalico/calico/releases/tag/v3.1.1
https://github.com/projectcalico/calico/releases/tag/v3.1.0
CNI config now defaults to having Kubelet CNI plugin read from /var/lib/calico/nodename
https://github.com/projectcalico/calico/pull/1722

I'm kinda on the fence about Calico's reading /var/lib/calico/nodename. They've mainly added it to address users misconfiguring the node name between calico/node and the CNI config and to facilitate migrations. Typhoon does not permit a customizaiton that leads to this misconfiguration so the mount isn't really useful here.

repo: poseidon/terraform-render-bootkube


text:
ETCD cert file paths do not match between unit file template and ssh.tf

Bug
Bug?
Environment

Platform: aws
OS: container-linux
Terraform: 0.11.5
Plugins: Provider plugin versions
Ref: Git SHA (if applicable)

Problem
ETCD cert paths in the unit file template https://github.com/poseidon/typhoon/blob/master/aws/container-linux/kubernetes/cl/controller.yaml.tmpl#L21
do not match the paths in the ssh.tf https://github.com/poseidon/typhoon/blob/master/aws/container-linux/kubernetes/ssh.tf#L51
Desired Behavior
Not sure. Should the paths for the etcd certs matchup between the ssh.tf and the etcd unit template?
Steps to Reproduce
N/A

Thank you for the quick reply.

repo: poseidon/typhoon