[ISSUE] Stacking effects in the HUD work strangely. Toggling, wrong value, etc.

Firstly, Toggling:
If you have, say, Hindered 2, then toggling it via the hud just toggles one of the levels. So you now have two HUD entries, one for the active and one for the inactive. This may be intentional, but I feel I would rather enable or disable the effect entirely. If I wished to only add or remove a single level of the effect, I would just add or remove a level, not disable it.
Value:
The values of an effect imposed as a subeffect of another effect (exposed and blinded) do not reflect properly in the HUD. If I am exposed, and then I am blinded, I have Exposed 2. But the HUD only displays Exposed 1. In short, both directly changing an effect value and changing it via another effect work on the token menu and sheet menu, but only direct changing affects the HUD value.
(I did not check if the calculations reflect the sheet or the HUD values)
Bonus: My preferences~

I would like for the number 1 on stacking conditions to appear in the HUD as it does in the Conditions Menu.
Changing stacking values from HUD. I would like left and right clicking to change the value of the stacking condition. I'm not sure how difficult that is to implement, but it would be very convenient!!

Sounds good! I'll test it out with the next release and see how it feels in practice.


bip152: check if indexes do not overflow

When deserializing a HeaderAndShortIds we could check if the number of txs does not overflow 16 bits. If so, throw an error.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

18 of 19 (94.74%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 82.946%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/bip152.rs
18
19
94.74%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
19513

Relevant Lines:
23525

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

18 of 19 (94.74%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 82.946%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/bip152.rs
18
19
94.74%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
19513

Relevant Lines:
23525

💛  - Coveralls

@Kixunil Bitcoin Core code for reference:
https://github.com/bitcoin/bitcoin/blob/master/src/blockencodings.h#L127
SERIALIZE_METHODS(CBlockHeaderAndShortTxIDs, obj)
{
    READWRITE(obj.header, obj.nonce, Using<VectorFormatter<CustomUintFormatter<SHORTTXIDS_LENGTH>>>(obj.shorttxids), obj.prefilledtxn);
    if (ser_action.ForRead()) {
        if (obj.BlockTxCount() > std::numeric_limits<uint16_t>::max()) {
            throw std::ios_base::failure("indexes overflowed 16 bits");
        }
        obj.FillShortTxIDSelector();
    }
}

Force-pushed addressing https://github.com/rust-bitcoin/rust-bitcoin/pull/2970#discussion_r1667108844

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

17 of 18 (94.44%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 82.945%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/bip152.rs
17
18
94.44%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
19512

Relevant Lines:
23524

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

17 of 18 (94.44%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 82.945%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/bip152.rs
17
18
94.44%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
19512

Relevant Lines:
23524

💛  - Coveralls

I didn't read the c++ macros but why do we only do the block tx count check when consensus_decodeing? Don't we want to check this when we encode as well? Otherwise we can encode something that cannot be decoded.

@tcharding we shouldn't be able to represent something that has no consensus encoding. What we should do is make the contents of this struct private and refuse to construct things in any way that are invalid.

And the reason that isn't done here is that this PR is a "found an issue in the fuzzer, trying to fix it without taking too much time out of my day" PR. If we want to make big API changes then one of us needs to take it on :).

found an issue in the fuzzer, trying to fix it without taking too much time out of my day

Cool, thanks. Should I assume that context for any changes coming from @brunoerg? Also, does that mean that to get the most out of this fuzz fail (and future ones) that we should do this PR (fix the immediate problem) and also create an issue "investigate fully all implications of the fuzz fail and things that came up during the fuzz-fail-fix-PR"?

Yep. In this case I just opened https://github.com/rust-bitcoin/rust-bitcoin/issues/2984

Cool, thanks. Should I assume that context for any changes coming from @brunoerg?

Not every change :) TBH, just did this because seemed simple but we usually open issues (if not critical, ofc) for the bugs we find with bitcoinfuzz. @apoelstra is subscribed there.

Cool, thanks man.


Create new task to support assigning Permission Sets through CumulusC…

Critical Changes
Changes

Added a new task "assign_permission_set" to support assigning Permission Sets through CumulusCI

Issues Closed

@jlantz , perhaps you'd be able to have a look at this pull request? :-) Let me know if there's something I missed.

We added a generic dx task which can be used to run an sfdx command against any org (including orgs which are in the CumulusCI keychain but not the sfdx keychain).


Keyboard shortcut to switch back to last focused service

Describe the solution you'd like
In Station, there's a shortcut (ctrl-tab) which switches back to the last focused service. This is very useful for toggling back and forth between the last 2 services you used. Would love to see that in Ferdi.

pinging to remove staleness

ping to make unstale

ping to make unstale


Removed --no-scripts parameter for composer and fixed missing function in assemble

Hi,
as I mentioned in #73 the parameter --no-scripts must be removed to successfully build symfony 2 projects.
In this Pull Request i removed the parameter and fixed the assemble script, as it was it did not run on my ose3 testplatform.
Since php 5.3 the property date.timezone = in the php.ini must be set. I Therefore updated the dockerfiles to copy the available php.ini.template.
Improvements are welcome.
Thanks

@remicollet could you please help review this PR?

Removing --no-scripts seems fine.
I don't understand the other commits, especially the php.ini which is done in run.

the --no-scirpts param was already removed in PR #78 in OSE3.0 the fix_permission script in sti was not yet available, this explains the permission stuff. I was running the example https://github.com/phil-pona/ose3-symfony2-ex on OSE3.0
Works fine now. Thanks


Not able to get android ui automator library

Error:Failed to resolve: com.android.support.test.uiautomator:uiautomator-v18:2.3.2
Install Repository and sync projectOpen FileShow in Project Structure dialog

It is fixed.

how did you fix it. Iam facing same issue.

@binubeee The Owner updated the version in the latest commit. https://github.com/googlesamples/android-testing/commit/9534309e0d09d31516cab29469cb31d7fad41ab7


Add accelerator to Exit menu entry

Currently you can quit Oni with Command+Q, but only if a window is
currently open. If you close all windows, e.g. by :qing all tabs, the
app is left running but Command+Q will no longer quit the app, and you
have to press the Oni->Exit menu item.
Adding this accelerator here allows the app to be closed via the the
standard shortcut regardless of whether there are currently any windows
open.

@tom-james-watson I just raised #1972 to track this, didn't realise we were missing an accelerator for that 👍, thanks that's a major bug bear of mine resolved


[BUG] Friendly ally commander not working using space Ext loadout

Attestation
[X] I have verified this bug with all other mods disabled
[X] I am not using one of the documented incompatible mods
[X] I have confirmed this happens after verifying the games files
[X] I was using the latest graphics drivers
Describe the bug
Ally commander doesn't work and goes afk . I was using blue faction and Space Ext loadoutwhen this bug happened
To Reproduce
Steps to reproduce the behaviour:
1.pick space extractor loadout
2. Go play a game with an ally commander
Expected behaviour
Ally commander should work or not be offered if the intention is that the Space Ext loadout get's no ally
Screenshots
If applicable, add screenshots to help explain your problem.
GWO Info
Taken from the top-right GWO panel:

Version: 5.39.3
Difficulty: GOld
Size:Large
AI:Penchant
Options:Faction scaling easier start

Additional context
Add any other context about the problem here.
Logs
Please attach the most recent client and server log immediately following the bug occurring.
PA-2022-07-16_123730.txt

Can you please attach your server log.

The bug here is that you shouldn't be being dealt Sub Commanders at all when using this loadout.

Scratch that, I know what the issue is. This loadout isn't supposed to receive Sub Commanders because it doesn't work with them, but the new ally system doesn't account for that. Will need to consider how best to fix this.

Unfortunately there seem to be a lot of hardcoded engine shenanigans going on which impact trying to open with an Orbital Launcher. Due to this for now I'm going the simpler route of disabling allies during war setup if this is your loadout.


Resolve PlantUML '!include' statements before encoding

This PR provides the basic infrastructure to resolve PlantUML !include statements before encoding.
This can be useful in cases for example in complex setups such as Antora where all PlantUML files share the same configuration through an !include statement. See this issue for a practical example of what kind of problems this could solve.
I have run the npm run build command, and added some tests, they all pass.
Thanks!

Of course this PR is only meant to be used with Node.js on the command line, since it might not be feasible on a browser context.

I just realized you created node-plantuml – hopefully this PR might be useful in that context too!

Any feedback about this PR?

Hello? Anyone?

Anyone here?

I'm facing the same problem, see https://github.com/eshepelyuk/asciidoctor-plantuml.js/issues/53#issuecomment-569049207
It would bve very usefull for usage in vscode editor plugin
How can we help to integrate this?
Thanks!

I'm not using this code anymore, as I found a solution to stop using asciidoctor-plantuml completely. Closing this PR.

@akosma That is so sad, but anyway can you share the solution for other PlantUML users?


Pyvenv Recommendation

Should we not be recommending the use of a Virtual Environment such as PyVenv (Python 3) or VirtualEnv (Python 2)? This will keep the dependencies required by different projects in separate places, by creating virtual Python environments for them.
For example, downloading this project and running pip install -r requirements.txt will install six v1.9.0, but the user may have a project that requires six v0.9 (for hypothetical example). This would mess up the backwards compatibility.
I propose the process should be:
Mac OSx & Linux
pyvenv venv && cd venv
source bin/activate
git clone https://github.com/PythonProgramming/Support-Vector-Machines---Basics-and-Fundamental-Investing-Project.git
cd Support-Vector-Machines---Basics-and-Fundamental-Investing-Project
pip install -r requirements.txt

Windows
pyvenv venv && cd venv
Scripts\activate
git clone https://github.com/PythonProgramming/Support-Vector-Machines---Basics-and-Fundamental-Investing-Project.git
cd Support-Vector-Machines---Basics-and-Fundamental-Investing-Project
pip install -r requirements.txt

Further, PaaS such as Heroku recommend deploying the likes of django in a virtualenv - this, in essence should make it easier to deploy: https://devcenter.heroku.com/articles/getting-started-with-django
What do you think?

Sorry for my delay, came down with a cold, still dying over here!
If you think that would be useful, then sure. I've never personally used virtual environments except for web development, though, as you noted, the django series wasn't a venv either. The Flask tutorials use a venv.
I am also a github noob, so I am not sure what's required to let people make use of requirements.txt. If a venv is required here, then definitely. People can still view the source if they want, or they can use github as it was meant to be used.
I'll go with your best judgement here.


Inspector: select self object after selecting a stack frame

Closes https://github.com/godotengine/godot/issues/27086

Thanks!


Need a UI mechanism to manage many diagrams

The open the tabs approach won't scale for large sets of diagrams. We need a way to simplify the tab bar (auto close after a max open?), and a sortable list or table to choose diagrams to reopen instead of cluttering the tab bar with everything.

We now have a way to limit the number of diagrams shown at a time, automatically hide a diagram (least recently opened) when a new diagram is created or shown after limit has been reached, and show a previously hidden diagram.


Bump to the most recent ledger

This updates to the most recent ledger version.

Removes some JSON instances now defined in ledger.
Deals with the move of many protocol related concerns to the cardano-protocol-tpraos package.
Updates with changes in ledger state (use of SplitMap and UMap).

Various of the changes here are not optimal (e.g. the proliferation of DSignable constraints). This is because this code will be soon revised anyway, as part of splitting the protocol fully away from the ledger inside the Shelley codebase. This work is largely extracted from the open work on that.

bors merge


inspector does not respect vite's base, server.origin and root options

Describe the bug
Exactly this issue: https://github.com/vitejs/vite/issues/8627
I am developing the app on a remote server and run vite server locally, so my base option is different. Inspector ignores this option and wrongly calls the remote server instead of the local one
Reproduction URL
I don't think it's needed
Reproduction
import { defineConfig, loadEnv } from "vite"
import symfonyPlugin from "vite-plugin-symfony"
import { svelte } from "@sveltejs/vite-plugin-svelte"
import sveltePreprocess from "svelte-preprocess"
// import svelteDts from "svelte-dts"
import dns from "dns"
import * as path from "path"

dns.setDefaultResultOrder("verbatim")

export default defineConfig(({ mode }) => {
    const env = require("dotenv").config({ path: "./.env.local" }).parsed
    Object.assign(process.env, env)

    return {
        plugins: [
            symfonyPlugin(),
            svelte({
                preprocess: [
                    sveltePreprocess({ typescript: true, postcss: true }),
                ],
                prebundleSvelteLibraries: true,
                hot: {
                    preserveLocalState: true,
                },
                experimental: {
                    inspector: {
                        toggleKeyCombo: "control-shift",
                        showToggleButton: "always",
                        holdMode: true,
                    },
                },
            }),
        ],
        server: {
            strictPort: true,
            host: "<IP_ADDRESS>",
            hmr: true,
            port: 5173,
            origin: process.env.VITE_ORIGIN, // is ignored, calls whatever the current domain is, rather than using the config domain
        },
        root: "./assets", // is ignored, invalid file path is passed, missing the "assets" folder
        base: mode === "development" ? "/build_dev/" : "/build/", // is ignored, missing "build_dev" in url
        build: {
            manifest: true,
            emptyOutDir: true,
            sourcemap: mode === "development",
            assetsDir: "",
            outDir: mode === "development" ? "../public/build_dev" : "../public/build",
            rollupOptions: {
                input: {
                    app: "./assets/App/app.js",
                    pdf: "./assets/Pdf/pdf.ts",
                    admin: "./assets/Admin/admin.ts",
                    presentation: "./assets/presentation/presentation.ts",
                }
            },
        },
        resolve: {
            dedupe: ["axios", "svelte-motion", "framer-motion", "gsap", "leaflet", "svelte", "svelte/transition"],
            alias: {
                "@shared": path.resolve(__dirname, "./assets/App/Shared"),
                "@pdf": path.resolve(__dirname, "./assets/Pdf"),
                "@utils": path.resolve(__dirname, "./assets/App/Utils"),
                "@modal": path.resolve(__dirname, "./assets/App/Modal"),
                "@page": path.resolve(__dirname, "./assets/App/Page"),
                "@svelte-leaflet-main": path.resolve(__dirname, "./assets/svelte-leaflet-main"),
            },
        },
    }
})

Logs
No response
System Info
local

  System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 AMD Ryzen 7 5800X3D 8-Core Processor
    Memory: 17.71 GB / 31.92 GB
  Binaries:
    Node: 18.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.19.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1344.0)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @sveltejs/vite-plugin-svelte: ^1.0.1 => 1.4.0
    svelte: ^3.55.0 => 3.55.0
    vite: ^4.0.4 => 4.0.4

remote

  System:
    OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 15.18 GB / 31.29 GB
    Container: Yes
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 18.14.2 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 9.5.0 - /usr/bin/npm
  npmPackages:
    @sveltejs/vite-plugin-svelte: ^1.0.1 => 1.4.0
    svelte: ^3.55.0 => 3.55.0
    vite: ^4.0.4 => 4.0.4

I don't think it's needed

A reproduction is 100% required. Please provide a minimal reproduction repository, start with npm create vite@latest -- --template svelte my-vite-plugin-svelte-issue-repro or go to https://vite.new/svelte (not sure if base handling is supported on stackblitz so better use the first option)

How can I prepare reproduction for remote server? Would PR with the changes be better?

svelte inspector works in dev mode only, there is no remote server support. Your reproduction instructions can be included in this report or the readme of the reproduction repository.

Also please keep the reproduction minimal. Don't add things like dotenv, symfony or custom rollup config, unless they are part of the problem.

I just checked base handling for vite dev. If you specify a full url like http://example.com/foo/bar as base, it'll only take the path and still serve from http://localhost:5173/foo/bar and the inspector keeps working.
If you embed the vite devserver in another app you might have to set server.base or find other ways to ensure that the request to vite's openInEditor middleware finds the correct target.
But without a reproduction it is impossible to tell.

I will make a reproduction example as soon as I can find some spare time to do so. From your standpoint it looks like either edge case or fortunate misconfiguration that makes everything except the inspector work.

Without a reproduction we cannot work on this and as mentioned above, local development with a base path works.


[Ionic v4] Button overflow always hidden

Ionic Info
@ionic/angular: "4.0.0-alpha.11"
Describe the Bug
In my productive Ionic v3 app, I style the button in order to display a text under them without taking space. This allows me for example to use a grid and to have the actions centered in the middle of the screen and the text under
With Ionic v4 it looks like that the overflow on buttons is always set to hidden
 .button-native {
   overflow: hidden;
}

Expected Behavior
Due to the use of shadow-root I would except to have the ability to set a variable to modify that attribute respectively the overflow of buttons should be stylable to visible
Side note
I really already spent many hours on that one, maybe I'm just too dumb to understand css and shadow root and I would be really, really, happy to hear it
Additional Context
Ionic v3:

Ionic v4:

@manucorporat thx for adding overflow that helps. I actually missed that contain: inherit should also be set instead of contain: content. could you also add contain as variable of the button?
plz accept my apologies for not having noticed it in the first place, but after that, could confirm I will be able to achieve the goals of overflow text on buttons

I have opened a new issue for this final improvement regarding this subject
https://github.com/ionic-team/ionic/issues/14899


SEO friendly route for root, i18next.language undefined

What I'm trying to do, is to redirect any visitor from '/' to '/:lng' - or in some way concatenate the :lng to the URL, so search engines don't get confused because of the same URL for different languages. I have /:lng working, as well as /:lng/products, they all resolve successfully. However, I cannot pull the right, final language to place in the redirect, most of the time i18next.language turns out undefined, except when there's a cookie set already and in some other random cases, which is not helpful.
I've tried to "hack" my way through it and force the detector to give me the language using i18n.services.languageDetector.detect, but it pulls out the language from the header and doesn't check it against my whitelist and doesn't fallback, which would often result in Cannot GET, for instance, I don't have /en-US supported, just /en. Passing an array with the detection order option as the 3rd argument doesn't work.
Also, am I doing something wrong with cookies? I can't see how cookieExpirationDate: is relevant if I have to setup the cookie myself. It would be much easier if there was a bigger example available, with cookies and multiple routes, because advanced examples found in Google are long deprecated.
Code (app.js):
var express = require('express');
var app = express();
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var port = process.env.PORT || 8080;

var i18n = require('i18next');
var backend = require('i18next-node-fs-backend');
var middleware = require('i18next-express-middleware');
var supportedLanguages = [
            'pl',
            'en',
            'ru'
        ];

app.set('views', './src/views');
app.set('view engine', 'pug');
app.use(express.static('public'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
    extended: true
}));
app.use(cookieParser('secret'));

i18n
    .use(middleware.LanguageDetector)
    .use(backend)
    .init({
        preload: supportedLanguages,
        fallbackLng: {
            'default': ['pl'],
            'de': ['en'],
            'fr': ['en']
        },
        saveMissing: false,
        saveMissingTo: 'fallback',
        debug: false,
        cookie: 'i18n',
        useCookie: 'i18n',
        detectLngFromHeaders: false,
        ns: 'translation',
        nonExplicitWhitelist: supportedLanguages,
        backend: {
            loadPath: './src/locales/{{lng}}/{{ns}}.json',
            addPath: '.src/locales/{{lng}}/{{ns}}.missing.json',
            jsonIndent: 4
        },
        detection: {
            order: ['path', 'querystring', 'session', 'cookie', 'header'],
            lookupQuerystring: 'l',
            lookupCookie: 'i18n',
            lookupSession: 'lng',
            lookupPath: 'lng',
            lookupFromPathIndex: 0,
            caches: false,
            cookieExpirationDate: new Date().getTime() + 1000 * 60 * 60 * 24 * 365
        }
    }, function() {
            middleware.addRoute(i18n, '/:lng/:products', supportedLanguages, app, 'get', function(req, res) {
                console.log('SEO friendly route for PRODUCTS, language: ' + i18n.language);
                res.render('products');
            });
            middleware.addRoute(i18n, '/:lng', supportedLanguages, app, 'get', function(req, res) {
                console.log('SEO friendly route for INDEX, language: ' + i18n.language);
                res.render('index');
            });
            middleware.addRoute(i18n, '/', supportedLanguages, app, 'get', function(req, res) {
                let language = i18n.services.languageDetector.detect(req, res, ['path', 'querystring', 'session', 'cookie', 'header']);
                console.log('/ request, redirecting to language: ' + language);
                res.redirect('/' + language);
            });
            // middleware.addRoute(i18n, '/', supportedLanguages, app, 'get', function(req, res) {
            //     console.log('/ request, redirecting to language: ' + i18n.language);
            //     res.redirect('/' + i18n.language);
            // });
        });
app.use(middleware.handle(i18n, {
    ignoreRoutes: ['/css','/img','/js','/less','/lib'],
    removeLngFromUrl: false
}));
app.post('/src/locales/add/:lng/:ns', middleware.missingKeyHandler(i18n));
app.get('/src/locales/resources.json', middleware.getResourcesHandler(i18n));

app.post('/changeLanguage', function(req,res) {
    res.cookie('i18n', req.body.language, {maxAge: 1000 * 60 * 60 * 24 * 365});
    i18n.changeLanguage(req.body.language);
    res.redirect('/' + req.body.language);
});

app.listen(port);

use req.language or req.languages[0] (if want the first used locale - depending on load flag, whitelist,...)

like stated in: https://github.com/i18next/i18next-express-middleware#wire-up-i18next-to-request-object

My problem was that I was using nonExplicitWhitelist: and detector wasn't tripping on en-US. i18n.services.languageDetector.detect(req, res, ['path', 'querystring', 'session', 'cookie', 'header'])
was working, but req.languages[0] is much more convenient, thanks for help and the super-quick response.


[stable/prometheus] Add extraHostPathMounts config

Add nodeExporter.extraHostPathMounts to prometheus

Hi, I want to use textfile collector for node-exporter. But currently it seems that there are no way to share textfile metrics data between other pod which collect another metrics.
So, how about to add extraMounts option to node-exporter to share such data?

@k8s-bot ok to test


Reader not reading

Hi all,
I'm trying to connect an AZ-Delivery RC522 reader to a Raspberry Pi (have tried both 3A+ and Zero 2 W), but the reader just won't read the RFID chip and card that came in the package.
I am using the wiring with IRQ to GPIO24, and have double-checked that all wires are connected correctly.
I am using the current version of Raspberry Pi OS, and have enabled SPI in raspi-config. The kernel modules are loading:
$ uname -a
Linux raspberrypi 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l GNU/Linux

$ lsmod|grep spi
spidev                 20480  0
spi_bcm2835            20480  0

$ ls -la /dev/spi*
crw-rw---- 1 root spi 153, 0 Nov  7 09:42 /dev/spidev0.0
crw-rw---- 1 root spi 153, 1 Nov  7 09:42 /dev/spidev0.1

However, when I run the "util" test program from the README, it hangs on rdr.wait_for_tag(), no matter how long I hold the chip or card to the reader.
I have tried this both with spidev 3.5 and 3.4, as suggested in #71.
Any idea what I could try to make this work? Or how I would even debug this?

May I ask, if you did manage to fix this issue, how did you do it? I have come across the exact same issue you described here..

Yes, I fixed it. In my case the problem was that I connected the RC522 to the Raspberry Pi via a GPIO extension board, and the manufacturer had accidentally connected two of the pins on the extension board. The problem went away when I connected the RC522 to the Pi directly.


Bionic support

The default pkl aarch64 executable doesn't work on termux (or Android, basically), and I have no idea how to recompile the source code. The only workaround as of now is using something like andronix, where the pkl executable does work.

What error do you see when you try to run pkl?

bash: ./pkl-linux-aarch64: cannot execute: required file not found

Basically, it's trying to get glibc files, which obviously doesn't work as android uses bionic instead.


fix error: java.lang.IllegalArgumentException: Can not create a Path from an empty string

associated issue: https://github.com/apache/incubator-hudi/issues/759#issuecomment-505922865
When partitionPath is null, use new path without child method.

@cdmikechen : PR-775 which is merged had addressed this along with other changes. Can you try master and see if it works fine. We can close this PR

Closing since #775 is already. please reopen if you feel this is still needed


Add constraint that include multiplication between element y[i,j] and sum of row in matrix y

Is your feature request related to a problem? Please describe.
y = cp.Variable(shape=(len1, len2), boolean =True)
I try to add a constraint that include this multiplication : y[i,j]*sum(y[i,j] for i in range(len1))
Unlucky, when i try to solve the problem with CVXPY, i got error: "The following constraints are not DCP"
With Gurobi, there are no problem when i add this kind of constraint.
Describe the solution you'd like
Is there any way to add this kind of constraint ?

The code snippet y[i,j]*sum(y[i,j] for i in range(len1)) doesn't quite make sense, because the index i is used both inside and outside of the sum. I assume you mean something more like y[k,j]*sum(y[i,j] for i in range(len1)).
Forming an expression like expr = y[k,j]*sum(y[i,j] for i in range(len1)) usually isn't allowed in cvxpy. It's rare that constraints specified like expr <= a or expr == a end up being convex (even when y is a continuous variable). Usually I'd refer someone in your situation to CVXPY's list of nonlinear operators: https://www.cvxpy.org/tutorial/functions/index.html#scalar-functions, so you can try to write your problem in a convex fashion. In your situation I think CVXPY's nonlinear operators will not be enough, because your expr is bilinear. There are very, very few situations when a constraint specified on a bilinear expression ends up being convex.
GUROBI is probably allowing your constraint, because GUROBI allows the user to specify nonconvex quadratic constraints.


Improve Directive API docs

Staged at:
https://kw-webdev-dartlang-1.firebaseapp.com/angular/api/angular2.core/Directive-class
Removed irrelevant content, substituting TypeScript doc content (https://angular.io/docs/ts/latest/api/core/index/Directive-decorator.html) and doing a few copy edits. Also added links to the guide.
Fixes b/34359238
(Also contains a couple of source code updates that the api_doc_updater tool made. See https://github.com/dart-lang/site-webdev/wiki/Working-on-API-docs if you're curious about how the example update tool works.)

Builds started failing at https://travis-ci.org/dart-lang/angular2/builds/202040898 (the PR before mine).


Bugfix: eotask execution exceptions

EOTask execution wasn't working properly for exceptions that didn't have the expected init signature (accepting only errmsg parameter).  I fixed it by avoiding instantiation of a new object through type(exception)(...) and instead I just change the errmsg of the existing exception object.

Codecov Report

Merging #134 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #134      +/-   ##
===========================================
+ Coverage    77.23%   77.24%   +0.01%
===========================================
  Files           42       42
  Lines         4212     4214       +2
===========================================
+ Hits          3253     3255       +2
  Misses         959      959

Impacted Files
Coverage Δ

core/eolearn/core/eotask.py
96.61% <100%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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


Updated docs to inlcude more info on VocabularyIcons.json file

Fixes

Fixes #90  by @Dishebh
Description
Updated docs to inlcude more info on VocabularyIcons.json file and how to update it.
Preview Link: https://deploy-preview-91--cc-fonts.netlify.app/?path=/docs/fonts-contribution--page
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@dhruvkb, wouldn't it be better if we shift this

At the end of the process, come back to this Projects page, use the Download option to get the JSON data dump of the project and add it to the directory src/fonts/ as well.

from the middle to the end of the section, as it will behave in a manner of maintaining procedural integrity? Moreover, it kind of seems unclear as to which process is it referring to in At the end of the process ....

Yes, @Dishebh please move this to the end. You're right about it breaking the flow of the page and giving instructions about the end that people will forget by the time they reach the end.

@dhruvkb prettier is the culprit here. If you say, can I add the prettier config here as well, first, so as to avoid this issue?

@Dishebh we're not settled on Prettier yet so please turn it off and update this PR for now.


Not Voting vote values

Hi, I am wondering precisely what "Not Voting" and "Present" mean in the roll call data.  Does "Not Voting" refer to the legislator abstaining, the legislator being absent, or either?  Also, does "Present" mean abstention or something else?
I apologize if this already described somewhere in the documentation...I could not find this info in any case.

Hi @asgeorges: "Not Voting" means the legislator was absent and missed the vote, or was not recorded. "Present" means the legislator voted "Present" on a vote, which is a choice in the House.

Got it.  Thanks!


Add code for search service

Dockerfile build doesnt quite work yet

@Jacob2161 the AWS container upload failed. That action file is basically a copy of the bigsky one. Do we need to add/configure a directory in the AWS container service or something?

@Jacob2161 the AWS container upload failed. That action file is basically a copy of the bigsky one. Do we need to add/configure a directory in the AWS container service or something?

Looks like it's just that the repo didn't exist. I created it and the job is re-running now.


Error Symfony \ Component \ HttpKernel \ Exception \ HttpException

When using the route middleware with laravel 5.5 am getting that error
I have setup everything as explained in the docs and these are the routes
    Route::group(['prefix' => 'user-management','middleware' => ['role:admin']], function() {
          Route::get('/users', 'UsersController@index');
      });

Where  am i going wrong

Same here

Posted the same issue on stack overflow https://stackoverflow.com/questions/46350523/laravel-routing-error-symfony-component-httpkernel-exception-httpexcepti
Someone suggested it must be an issue with this packge. Zizaco should resolve this.

Same here

Solution: https://stackoverflow.com/a/46483030/1063081

For those who the above solution does not work, you will also need to create a 403.blade.php file in your resources/views/errors folder.


Use glue-core Python API for parsing the .glue file content?

Instead of custom reading of this._model.contents

Is this something you could use some help with? I'll admit that the code for GlueSerializer and GlueUnSerializer is not the most beginner-friendly, but it does work and I don't want to have a lot of wasted effort re-inventing this.

Thanks for commenting.
Reading the .glue file with the glue-core API was one of the things we considered doing, but this PR will be the approach we'll take instead: having the glue-jupyter application (Python side) be connected to the same shared model as the front-end.


Severity issues: high

node_modules/socket.io-emitter/node_modules/socket.io-parser uses ~4.0.4 need 4.1.1
https://github.com/advisories/GHSA-xfhh-g9f5-x4m4
node_modules/socket.io-emitter/node_modules/redis uses 3.0.2 need 3.1.2
https://github.com/advisories/GHSA-35q2-47q7-3pc3

Hi! Which version of @socket.io/redis-emitter is impacted?

Yes, sorry
I used outdated socket.io-redis-emitter not @socket.io/redis-emitter
:(
after upgrade all's fine 🌈


Networked Transport with Zephyr Guide

Hello, I was wondering if there is any guide for connecting a board to microROS over UDP. My hardware setup is a Nucleo F746ZG board with usb power and connected via Ethernet to a PC running Ubuntu
A couple initial questions:

How do I configure the right port for the agent?
I have my PC assign an IP address to the board, is that the agent IP I should use in the configure and micro_ros_agent steps?

Thank you

Hello @CLansdaleBEC. You have to configure a couple of things: the client and the agent.
First, the agent will listen for incoming connections from clients using a transport (UDP in this case) at a certain port (any available port in your system, I usually use UDP/8888). It is common to set the verbosity level to a high value in order to check if the system is working, so in the agent part you should run something like:
ros2 run micro_ros_agent micro_ros_agent udp4 --port 8888 -v6

This machine running the agent will have an interface with an IP address, let's say for example <IP_ADDRESS>. So, you have to use this agent IP and the previously selected port in the configuration step of the micro-ROS client crosscompilation. This way the micro-ROS client will know where it can find an agent:
ros2 run micro_ros_setup configure_firmware.sh [your app name] -t udp -i  <IP_ADDRESS> -p 8888

This way you will configure your micro-ROS client at build time. You have a couple of more advanced options to configure where the micro-ROS client is looking for the micro-ROS agent: runtime configuration and automated agent discovery (we can talk about them later).
Answering your question 2): no, you have to configure the agent IP in the client's configure step.
Let me know if this is useful for you.

This is definitely helpful.I think I have it configured right but I'm having some difficulty getting it to build.
The int32_publisher app doesn't have a specific transport config nor a prj.conf file out of the box, so I tried to make my own (see below) based on the int32_wifi_pubisher.
This fails at the build step on rmw_microxrcedds with this error
firmware/mcu_ws/build/rmw_microxrcedds/include/rmw_microxrcedds_c/config.h:15:41: error:

UXR_CONFIG_UDP_TRANSPORT_MTU' undeclared here (not in a function);
 did you mean 'UXR_CONFIG_SERIAL_TRANSPORT_MTU'?
   15 |     #define RMW_UXRCE_MAX_TRANSPORT_MTU UXR_CONFIG_UDP_TRANSPORT_MTU

Do you know where this is defined? It seems like I'm missing something in prj.conf, but I couldn't it in the Zephyr/eProsima docs, any ideas?
proj.conf:
CONFIG_MAIN_STACK_SIZE=25000
CONFIG_MAIN_THREAD_PRIORITY=3

CONFIG_NEWLIB_LIBC=y
CONFIG_NEWLIB_LIBC_NANO=n
CONFIG_CPLUSPLUS=y
CONFIG_LIB_CPLUSPLUS=y
CONFIG_PTHREAD_IPC=n

CONFIG_POSIX_API=y
CONFIG_NATIVE_POSIX_TIMER=y
CONFIG_APP_LINK_WITH_POSIX_SUBSYS=y
CONFIG_POSIX_CLOCK=y

CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_NET_IPV4=y
CONFIG_NET_CONFIG_NEED_IPV4=y
CONFIG_NET_IPV6=n
CONFIG_NET_DHCPV4=y
CONFIG_NETWORKING=y

The proj.conf is the Zephyr configuration so it does not configure any property of micro-ROS. Some of its options are required in order to build micro-ROS correctly (i.e CONFIG_NEWLIB_LIBC), so here you should keep the configuration that just enables the networking in your board.
Regarding your error, your build is still configured using serial transport. Two points:

Can you share firmware/mcu_ws/colcon.meta and your app app-colcon.meta?
When you change the transport layer a clean build is recommended, have you ensured that you have no file from a previous configuration with a serial transport?

Looks like part of the issue was in app-colcon.meta, it sets UDP to off by default:
        "microxrcedds_client":{
            "cmake-args":[
                "-DUCLIENT_PROFILE_DISCOVERY=OFF",
                "-DUCLIENT_PROFILE_UDP=OFF",
                "-DUCLIENT_PROFILE_TCP=OFF"
            ]
        },

Changing DUCLIENT_PROFILE_UDP to ON gets me past building rmw_microxrcedds, but in the linking step these issues come up, among other undefined refrences in libmicroxrcedds_client-udp_transport_posix.c.obj
int32_publisher/../../../mcu_ws/install/libmicroros.a(libmicroxrcedds_client-udp_transport_posix.c.obj): in function `getaddrinfo':
firmware/zephyr_apps/microros_extensions/../../zephyrproject/zephyr/include/posix/netdb.h:21: undefined reference to `zsock_getaddrinfo'

zephyr_apps/apps/int32_publisher/../../../mcu_ws/install/libmicroros.a(libmicroxrcedds_client-udp_transport_posix.c.obj): in function `zsock_recvfrom':
eth_test_ws/firmware/build/zephyr/include/generated/syscalls/socket.h:176: undefined reference to `z_impl_zsock_recvfrom'

I'm pretty sure that workspace was new but I'm building again to be sure.
app-colcon.meta:
{
    "names": {
        "microxrcedds_client":{
            "cmake-args":[
                "-DUCLIENT_PROFILE_DISCOVERY=OFF",
                "-DUCLIENT_PROFILE_UDP=ON",
                "-DUCLIENT_PROFILE_TCP=OFF"
            ]
        },
        "rmw_microxrcedds": {
            "cmake-args": [
                "-DRMW_UXRCE_MAX_NODES=1",
                "-DRMW_UXRCE_MAX_PUBLISHERS=1",
                "-DRMW_UXRCE_MAX_SUBSCRIPTIONS=0",
                "-DRMW_UXRCE_MAX_SERVICES=0",
                "-DRMW_UXRCE_MAX_CLIENTS=0",
                "-DRMW_UXRCE_MAX_HISTORY=1"
            ]
        }
    }
}

colcon.meta:
{
    "names": {
        "tracetools": {
            "cmake-args": [
                "-DTRACETOOLS_DISABLED=ON",
                "-DTRACETOOLS_STATUS_CHECKING_TOOL=OFF"
            ]
        },
        "rosidl_typesupport": {
            "cmake-args": [
                "-DROSIDL_TYPESUPPORT_SINGLE_TYPESUPPORT=ON"
            ]
        },
        "rcl": {
            "cmake-args": [
                "-DBUILD_TESTING=OFF",
                "-DRCL_COMMAND_LINE_ENABLED=OFF",
                "-DRCL_LOGGING_ENABLED=OFF"
            ]
        },
        "rcutils": {
            "cmake-args": [
                "-DENABLE_TESTING=OFF",
                "-DRCUTILS_NO_FILESYSTEM=ON",
                "-DRCUTILS_NO_THREAD_SUPPORT=ON",
                "-DRCUTILS_AVOID_DYNAMIC_ALLOCATION=ON",
                "-DRCUTILS_NO_64_ATOMIC=ON"
            ]
        },
        "microxrcedds_client": {
            "cmake-args": [
                "-DUCLIENT_PIC=OFF",
                "-DUCLIENT_PROFILE_UDP=ON",
                "-DUCLIENT_PROFILE_DISCOVERY=OFF",
                "-DUCLIENT_PROFILE_TCP=OFF",
                "-DUCLIENT_EXTERNAL_SERIAL=OFF"
            ]
        },
        "rmw_microxrcedds": {
            "cmake-args": [
                "-DRMW_UXRCE_MAX_NODES=1",
                "-DRMW_UXRCE_MAX_PUBLISHERS=1",
                "-DRMW_UXRCE_MAX_SUBSCRIPTIONS=1",
                "-DRMW_UXRCE_MAX_SERVICES=1",
                "-DRMW_UXRCE_MAX_CLIENTS=1",
                "-DRMW_UXRCE_MAX_HISTORY=4",
                "-DRMW_UXRCE_TRANSPORT=udp",
                "-DRMW_UXRCE_DEFAULT_UDP_IP=<IP_ADDRESS>",
                "-DRMW_UXRCE_DEFAULT_UDP_PORT=8888"
            ]
        }
    }
}

Regarding the first point, the application meta should not have middleware specific configuration. These configurations should be in mcu_ws/colcon.meta which is the one modified by the configure_firmware.sh step. Both of them are used during the build process. To fix this I have prepared https://github.com/micro-ROS/zephyr_apps/pull/23.

Regarding the communication between client and agent, I would like to be sure if the client is sending the UDP packages. Could you check using Netcat (nc -l 8888) or Wireshark if the board is actually sending anything to the agent?
If you are able to debug using a JTAG or something similar, it would be interesting to set some breakpoints here to check if the middleware transport is sending packets to the agent.
Please tell me if you can see output packets being sent from the client to the network or if you can trace if the executing flow reaches the transport layer.

Another thought that I just have, I'm not sure about this being related with your problem but the fact is that we haven't any hardware here that supports Zephyr and have Ethernet:

We are supposing that Zephyr has a complete POSIX API for networking (here).
This fact makes the middleware to use the default POSIX UDP transport which is this.
This default POSIX UDP transport uses polling.
In other platforms based on FreeRTOS that uses the LwIP network stack we have found that polling is not supported, so we have created another POSIX transport without polling
Does Zephyr support this kind of polling? Is this config related?

Wireshark shows repeating ARP messages on the interface but still no microROS messages

And thank you for the resources I'll take a deeper dive and get back to you

Is the ARP being resolved? If not, maybe there is a networking problem.
Before trying micro-ROS, have you tried a simple UDP communication between the board and the PC in order to verify the behavior of all the UDP/IP stack?

Related: https://github.com/micro-ROS/zephyr_apps/issues/31
I'm closing due to inactivity. Please do not hesitate to reopen if you need further discussion.


bitcoind_test: Fix clippy

All the clippy patches rom #682, only touches bitcoind_test.

Should we squash all these commits down?

@storopoli I see no particular reason to. They are all independent and compile and pass all tests (I assume -- I have not tested them because the second one needs to be changed).

I go to painful lengths to put all these changes separately so that its quick and easy for reviewers to review them [0]. Also its easy to drop any particular patch if a reviewer doesn't like it. Even the commit messages should be so uniform that they are easy to read quickly (and mechanical for me to write).
[0] Definitely pull me up if there are changes in the wrong place.

Neat, TIL:
for f in foo desugars to for f in foo.into_iter() and for f in &foo desugars to for f in foo.iter()

Oops, that utACk should have been a full ACK. I did test every commit, it just took some manual prodding to avoid opening too many files at once.

 (Mentioning him incase he is a real person :)


Source bash completion files for all other gz libraries

🎉 New feature
Toward #1
Summary
Source the gz*.completion file from wherever its installed so that the bash completion functions for other gz libraries can be picked up automatically.
Additionally, this installed the cmake configured etc/ign.bash_completion.sh file to <prefix>/share/bash-completion/completions/ign instead of relying on the debian/homebrew build infrastructure (see https://github.com/gazebo-release/gz-tools-release/pull/6). This has two advantages (1) makes it easy to use the cmake configured file so we can have cmake variables in etc/ign.bash_completion.sh (2) tab completion works the same way when building from source if <prefix> is set to /usr.
Related:
https://github.com/gazebo-release/gz-tools-release/pull/6
Test it
To build this with https://github.com/gazebo-release/gz-tools-release/pull/6 on focal, symlink gz-tools-release/focal/debian into the the root directory of gz-tools, then from the root directory of gz-tools, build the deb files using dpkg-buildpackage -us -uc  -b. The deb files will be created in the parent directory. You can then copy the debs to a docker container, install it, and test tab completion.
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

I'll let someone else review this, especially regarding the gz-tools-release part.
I only tested from source - things are installed to the right places. It doesn't work if I just manually source like before:
$ . install/share/bash-completion/completions/ign
$ ign bash: ign: command not found

I guess that's intended? I guess the release repo sources it in some different way? I haven't tried the release repo.

I'll let someone else review this, especially regarding the gz-tools-release part.
I only tested from source - things are installed to the right places. It doesn't work if I just manually source like before:
$ . install/share/bash-completion/completions/ign
$ ign bash: ign: command not found

I guess that's intended? I guess the release repo sources it in some different way? I haven't tried the release repo.

Just tested it locally and it seems to work. From the error message, it looks like you may not have sourced the workspace (install/setup.bash).

OOPS. You're right. Works from source now :D Sorry for the noise.

I made some comments over here: https://github.com/gazebo-release/gz-tools-release/pull/6
It looks like the nightly job may not have done the right thing, but a local docker build of the deb seems right?


trying to connect to grunt-connect-socket.io

by following this link
https://www.npmjs.com/package/grunt-connect-socket.io
i installed grunt.loadNpmTasks('grunt-connect-socket.io') plugin
i also make the socketio: true in gruntfile file...
now i have no idea how i use socket.io in my widget ....
i trying to make the location tracker widget in this framework but unable to use the socket.io
i will be very thankfull if you gave me any reference ,any help  regarding to my problem.
thanks in advance

I'm sorry, but i don't think that this is adf specific. This is more a question for the socket.io guys.


fixing wrong link for prereq

In order to complete this quickstart one needs an ASP.NET web app. However, the link points to the instructions for an ASP.NET Core web app. If you start with that, many of the following steps are incorrect and you won't be able to complete the quickstart.

@wickste : Thanks for your contribution! The author, @mrbullwinkle, has been notified to review your proposed change.

#sign-off


There is no highlighting for the const keyword in go

There is no highlighting for the const keyword in go

Thanks ! Done in 8.3.0 version :)


Write to gitignore

This PR implements issue #21, adding args for output instead of requiring bash redirection (note that you can still just use bash redirect).

joe java > .gitignore
== joe java --save

joe java >> .gitignore
== joe java --append

joe java > /some/path/to/.gitignore
== joe java --save -o /some/path/to/.gitignore

-a and -s can be used instead of --append and --save, respectively.
Includes commit from my styled PR #23 for ease of merge conflicts.

I'm very skeptical about merging this - we want to keep the API extremely simple, and adding more args is not pushing us in that direction.

I think @lukedmor 's idea isn't so bad. Currently if we write joe potato > .gitignore we'll get an error message written in the .gitignore.
If we use commands like --append or --save we have more control. We can decide if we want to write gibberish in the file or just display an error message in stdout.
However abandoning the existing behavior might be too much. If people like the simplicity of the API, then we should stick to that and just introduce something more advanced and less error-prone for people who like that.

As I've written it, no features have been removed. I only added those capabilities. I think I'm going to close this pull request though, so that the features can be merged later after other PRs are resolved. (namely, #23 and #31)

We'll first handle #31, then #29 and then come back to this.

Updated the PR for the latest merges

Why not have save be default behaviour for the case where ".gitgnore" not in os.listdir('.') == True? Seems to be that writing to stdout would be the less common thing to want to have happen.


Add allowed_actions for each package type

Description
This will override the allowed_actions setting in the inherited package resource so that the allowed_actions reflects the actual supported actions of each package type.
This should enable a better error message from Chef when an unsupported action is called for a given package type as well as enabling the correct automatic generation of Chef documentation for each package type, listing the actual supported actions (instead of all actions). Currently this difference between the rake generated documentation and the real action list is hand corrected after rake generates it as mentioned in #13123. This should remove the need for that.
The allowed_actions for each package in this commit is derived from the methods supported by each of the associated Chef providers for each package resource.
Related Issue
#13123
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

Looks like some of these test failures are due to an invalid tar file being created?
 -----> Extracting chef from https://github.com/chef/chef/archive/af2813a5fe1ce014967ad7833075ac5bf831b8d4.tar.gz
       Unknown tar entry: pax_global_header type: g.

I force pushed a new commit with the current head of main incorporated (also to trigger a re-run of the tests to see if those test problems are resolved)

@gene1wood can you rebase this to main? I think all these errors are corrected now

@gene1wood Now that GA has been released, can you please rebase so that we can confirm that tests still pass with these changes?

@tpowell-progress Sure thing, I've rebased and all tests are passing.
I'd still love it if someone at Chef could validate that my read on the source of this problem is correct and this is the correct approach to fix it. Any feedback would be welcome.

@tpowell-progress You may want to clear the Status: Waiting on Contributor label.


Will front-end application pages be provided in the future?

Now it is equivalent to a backend API service, but will it provide a frontend application page in the future?

We have something in the roadmap similar as this: https://github.com/FlowiseAI/Flowise/issues/3655


Fix closing app when node is closed already

bug description: kill node from system monitor and the try to close app in regular way => app will stuck showing "closing" screen

Fix confirmed.

Fix confirmed in version 0.0.6.RC2 on Windows 10 home.


Update zigbee2mqtt to 2.13.1

Please update my adapter ioBroker.zigbee2mqtt to version 2.13.1.
This pull request was created by https://www.iobroker.dev c0726ff.

2.13.1 created 07.09.2023
73 user (5%)
OK


bin/util: log format

Signed-off-by: zhangjinpeng1987<EMAIL_ADDRESS>
What have you changed? (mandatory)
Please explain IN DETAIL what the changes are in this PR and why they are needed:
Use new log format for bin/util
Please NOTE that:

Do not assume reviewers understand the original issue

What are the type of the changes? (mandatory)

Improvement

How has this PR been tested? (mandatory)
No
Does this PR affect documentation (docs) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

I think we can leave the logs in this PR as they are, we can just close this. @zhangjinpeng1987


有办法可以禁止缩略图生成吗？我不想要缩略图

The ckeditor_demo app activates thumbnails by default, but when using django-ckeditor in your own project you should avoid setting CKEDITOR_IMAGE_BACKEND = "pillow" and, at least according to the documentation, you wouldn't get any thumbnailing support.


Shouldn't attempt to follow ES6 backticks

I've found that ES6 template string can be selected using this extension. You can see an example of this here.

Thanks for reporting the issue. I've noticed the same behaviour a couple of times, but since I started working on the next major version I don't want waste time on fixing it :wink:


Missing info about allowed icons

I would like to see some decent info in the README about which icons I can use, without looking into the code. I guess some popular icon set will be allowed, but arbitrary SVG would be also cool. ;)

Yeah I will put more love in the README and I will package it for conda. This is a side project on which I work during my spare time, it doesn't mean I will give up on this, but it means that it will improve slower than other packages.
Concerning the icons it's the same as in ipywidgets, which means font-awesome icons (icons availability depends on the font-awesome version ipywidgets is using). SVG icons are not supported (yet?), PRs welcome :)

@martinRenou
Thanks for this nice library!
I'm very interested in support for setting arbitrary SVG icons and willing to contribute PR if I can.
Could you give me a very rough outline of the required changes?

I'm actually not sure myself! ipytree is using jstree https://www.jstree.com, and jstree allows setting an icon from an icon file by giving a path to this file: https://www.jstree.com/api/#/?f=set_icon(obj, icon). I'm not sure this supports SVG but I guess it's worth giving it a shot.
The place in ipytree where the icon is set is here: https://github.com/QuantStack/ipytree/blob/master/js/lib/tree.js#L203.

Thanks for the pointers!
I'll take a closer look. SVG isn't a hard requirement most image formats will do.

Now that our custom node icon option has been merged having it on pypi would be great.
Any idea when the next release will come out?

Yes, I wanted to do that on Friday :)

Done, 0.1.5 is on PyPi. I went from 0.1.3 to 0.1.5 directly because I made a broken release in the middle... Please give it a try!! It will be on conda soon.


Necessity of detecting ghost pinging bots

Currently, ghost pinging by deleting a message mentioning a bot (only bot or author + bot) is detected.
Deleting a reply (ping = on) to a bot is detected as well.
Is that the intended behavior? If not, I'd like to fix it.

Might I also suggest refactoring that class, it looks like a mess, should probably break up the reply and normal ghost ping functionality into separate methods.
Also, I don't think its the intended behaviour, but it didn't bother anyone, that is why it wasn't changed, but that is just a guess...

I tried refactoring it, but the method for the reply ended up being basically the same as the original method, due to the various null/undefined checks.
So I'd prefer to keep this issue/PR strictly about the functionality.

Just to confirm, you're only talking about mentions to @CodeSupport? Or are you referring to when you reply to a user with a bot command.
Either way, this isn't a scenario we've had significant issues with before, posting an example for clarity would be useful.

Not just the CodeSupport bot, any bot.
Example 1, deleted message:
hey @Chris7 @CodeSupport
Example 2, deleted message:
hey @CodeSupport @DankMemer
Example 3, deleted reply to @CodeSupport (or any bot):
hey

Thank you for raising this, it would be great if you were willing to fix this for us!


Implement generalized tear-offs

It's in the spec.

[x] VM (#23775)
[ ] VM: tear-offs of super methods (https://github.com/dart-lang/sdk/issues/24835)
[ ] dart2js (#23776)
[ ] analyzer (#23777)

Is there any update on generalized tear-offs for the web? If not, should they be removed from the specs?

Yes, we're going to remove them: https://github.com/dart-lang/sdk/issues/27518


Mutation.SetPrevious

This separates the process of creating a mutation for a user
from setting the previous value of entry. We may want to
set the previous entry separately in some cases.

Codecov Report

Merging #867 into master will increase coverage by 0.09%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master     #867      +/-   ##
==========================================
+ Coverage   45.53%   45.62%   +0.09%
==========================================
  Files          34       34
  Lines        2901     2906       +5
==========================================
+ Hits         1321     1326       +5
  Misses       1380     1380
  Partials      200      200

Impacted Files
Coverage Δ

core/client/kt/requests.go
0% <0%> (ø)
:arrow_up:

core/mutator/entry/mutation.go
73.75% <85%> (+1.75%)
:arrow_up:

Continue to review full report at Codecov.

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


Re-land "Ensure flutter build apk --release optimizes+shrinks platform code"

Re-lands https://github.com/flutter/flutter/pull/136880, fixes https://github.com/flutter/flutter/issues/136879.
Additions to/things that are different from the original PR:

Adds an entry to gradle_errors.dart that tells people when they run into the R8 bug because of using AGP 7.3.0 (https://issuetracker.google.com/issues/242308990).
Previous PR moved templates off of AGP 7.3.0.
Packages repo has been moved off AGP 7.3.0 (https://github.com/flutter/packages/pull/7432).

Also, unrelatedly:

Deletes an entry in gradle_errors.dart that informed people to build with --no-shrink. This flag doesn't do anything, so it can't be the solution to any error.
Uniquely lowers the priority of the incompatibleKotlinVersionHandler. This is necessary because the ordering of the errors doesn't fully determine the priority of which handler we decide to use, but also the order of the log lines. The kotlin error lines often print before the other error lines, so putting it last in the list of handlers isn't sufficient to lower it to be the lowest priority handler.

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Updated for review, and to make sure that incompatibleKotlinVersionHandler never overrides another handler.
Summary of why this is necessary is that we test each log line as it comes in, and the lines that trigger incompatibleKotlinVersionHandler come before most others. So putting it last in the list of handlers doesn't work. In fact, the order of the list will almost never matter.
Priority of handlers is determined by order of log lines, with only ties being broken by the order of the list of handlers.

FYI: This change regressed release build times on Windows hosts by ~30 seconds: https://flutter-flutter-perf.skia.org/e/?begin=1722984359&end=1725384267&keys=X3ba6023ddb62c0aa3cb1d6d43943ab9a&requestType=0&selected=commit%3D42295%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253Dmokey%252Cdevice_version%253Dnone%252Chost_type%253Dwin%252Csub_result%253Drelease_full_compile_millis%252Ctest%253Dflutter_gallery_win__compile%252C&xbaroffset=42295.
The regression on more modern M1 mac minis was less severe in absolute terms. No regression was detected on Linux.
Just flagging this to ensure folks are aware of this trade-off.

Improvements in binary size: https://flutter-flutter-perf.skia.org/e/?begin=1724422710&end=1724435825&keys=Xd5e5f4ba606468149799fd7e089344e5&num_commits=50&request_type=1&xbaroffset=42295

We expect an increase in build time when it comes to optimizing code size. The benefits and costs grow as the size/complexity of your code grows.


Skip integration tests for release building

We want to skip running integration tests during release building.

For releasing is ok
We can revisit on 3.11. thanks

This only affects the release profile, so it shouldn't have an impact on any other flows.

Ah sorry. It's fine then


Iterators: Add missing new lines at end of several files.

Landing right away as requested by @nicolasvasilache in #316.


Document how to escape characters within logging commands

Logging commands are obviously parsed at some point, which means their must be specific characters that need to be escaped in some fashion.  For example, it is not documented how to handle a message that contains a newline character, and semicolons at various points in the logging command would also appear to be problematic (e.g. if a property value itself contained a semi-colon, it would be interpreted as the start of a new property).
Document:

What characters need to be escaped in what contexts (e.g. message vs property context if there is a relevant distinction)
How to escape said characters.

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

ID: 16bf0bbb-8b63-6384-aa33-b5b1e2b8cfe3
Version Independent ID: f4da8dbd-a02f-bbdf-2cf2-60e081339237
Content: Logging commands - Azure Pipelines
Content Source: docs/pipelines/scripts/logging-commands.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-scripts
GitHub Login: @juliakm
Microsoft Alias: jukullam

Possibly related to #9371 with the : character.

Possibly related to https://developercommunity.visualstudio.com/t/Error-when-setting-vsobuildaddbuildt/10163239

@davisnw -- thank you for your well-researched feedback.
@juliakm -- please look into this issue.

@davisnw My understanding is that Azure DevOps doesn't provide an added ability to escape a pipeline variable. You can try to use the escape characters in YAML (reference).
We have had customers suggest ways to clean values with PowerShell or Bash script tasks that are then combined with logging commands. I think your best next step is to add to an existing Developer Community post or create a new feature request.
I'll double-check with the product team that this is the case and re-open the issue if I learn there is a way to escape chars in logging commands.

@juliakm  - I discovered that one of the built - in pipeline tasks actually does do some sort of escaping, though it's not documented.  I'll try to find that again.

The escaping might be happening in dotnet-build-helpers/Microsoft.TeamFoundation.DistributedTask.MSBuild.Logger.dll
At any rate, it is clear that at the very least newlines are somehow being escaped, since the build templates provided by Microsoft in Azure DevOps are capable of multi-line logging messages.


Run a docker registry in the cluster to support faster iteration cycles

Problem
The iteration cycle for pushing new code into Pachyderm is still slower than it should be. A common workflow to push new code into Pachyderm is

build a docker image
tag it using something unique
push that tag to docker hub
update the pipeline to reference the new image

This is annoying because it requires traffic to go from the users laptop to Dockerhub to the cluster which is often also running on the users laptop.
It's also annoying because the user has to come up with a tag and then copy it into the pipeline spec.
Proposal
The first thing I think we should do is add a Docker registry to our cluster. This should be pretty trivial to do given that a Docker registry is one of the built in k8s add-ons. https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/registry has more information.
Once we have that it opens up a number of new workflows that can address this problem.
Local file system workflow
Suppose you have a directory structure like this:
./pipeline.json
./image
  +-- Dockerfile
  +-- src/
         +-- foo
         +-- bar

You could update (or create) this pipeline with:
pachctl update-pipeline -f pipeline.json --image-path image

This would do the following:

build the image found in image by running docker build image
tag the image as localhost:5000/uuid
forward localhost:5000 to the registry in the cluster using kubectl port-forward
push the image to the registry in the cluster
send the pipeline from pipeline.json to pachd, but first set the image field to localhost:5000/uuid

This would update the pipeline very efficiently since there's no need to talk to Dockerhub. In the case of a cluster running on minikube all traffic would go over localhost.
Git workflow
This would also make it easy to build images from git repos. Docker actually supports this natively, for example you can build our opencv image with:
docker build https://github.com/pachyderm/pachyderm.git\#v1.2.1:doc/examples/opencv

To leverage this we'd expand our pipeline spec so that in place of the image field on Transform you could reference a git repo instead. When that request hit the server we'd first kick off a docker build for the image, then fill in the image field with the resulting image.
This wouldn't necessarily be useful for speeding up iteration because it requires committing code and pushing it to a central registry which is pretty much the same as building an image and pushing to docker hub. But it would be good for things like continuous integration and deploying a known image directly without having to talk to Dockerhub. For example we could use this to reference our opencv image rather than pushing it to Dockerhub.

Any updates on this for the product roadmap?  This would make local development so much better!

The best way to solve this problem is to use the same Docker host for building images and running pipelines, if you're using Minikube this can be done with minikube docker-env or with --vm-driver=none. Setting up a registry is non-trivial enough with regard to getting certificates into it and potentially more security on top of that, that it probably doesn't make sense for Pachyderm to do this. Most companies that use containers have some existing solution for this and all clouds have built in registries at this point. So I think we're better off having Pachyderm be bring-your-own-registry than trying to solve this ourselves.


added candy crush

🛠 Fixes Issue (Number)

Close #1569
👨💻 Changes proposed and Brief Description
new game candy crush  added
✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

hey @swapnilsparsh please reveiw it

hey @swapnilsparsh everything is done please review

Everything is working fine but when I am making 4 in total then there is some special candy which should be made. Follow the basic rules of candy crush

the special candy feature cannot be implemented using only javascript

Everything is working fine but when I am making 4 in total then there is some special candy which should be made. Follow the basic rules of candy crush

the special candy feature cannot be implemented using only javascript

Then I think there is no use to add it because you are missing out the basic rules.

ok


Add some pics to the website or the README?

I'd love to see what this looks like or has to offer through the UI interface without needing to clone and install the repo.

Hi, we do have a live-demo https://demo.astro-studiocms.xyz and we are actively working on trying to more of the repo flushed out, please bear with us as we did just make our code-base public yesterday!

I saw that demo, but I'm talking about the backend, not the frontend.

Hello @torchsmith, thanks for bringing this up. I think that it would be better to add this in the upcoming docs website we will be working on soon.


FR: Offline Support for new Posts

i absolutely love insporation, it makes my d* usage way more usable easy and fun on my quiet old Smartphone (s3) and i am finally able to share pictures!! from - the share menu. - so hudge thanks. <3
Since there is an API and a App now, i also have hopes for offline support on creating new posts. - I use my phone "off the grid" and and i usually don't have internet access when i want to share something. - so i tend to note it in a note app and then never do the the work of actually publishing it.
So if it would be possible to create new posts offline, and publish them once you are online again. would be absolutely great.!
I used wordpress like that a very long time ago, and there it would have kept the date and time from when i wrote the post. - i can imagine this would not be able in in the fediverse - since you may not be able to set the publishing date manually. - but one could include a timestamp in the post itself..
And this feature could (as a funny sidenote) also kind of "pre-implement" an edit function for posts, as long as they aren't published.
I have no idea if that is in your scope of the Project, but i wanted to give a strong pitch for the idea :)

@tclaus thanks for the tip. - for some weird reason it then gets attached as a picture..
but also if not i would still have to

note it in the first place
remember later to post it
share the post from the note app to insporation edit aspects etc and post it
delete the not in the note app

so quiet far away from being convenient enough to actually use it that way.
I Imagine

you will be able to create a new post in insporation or share something to insporation that creates a new post even when you're offline.
you'll be able to choose your aspects from cache, and set all the settings possible ( including polls etc)
and than instead of posting it you will just "post it to queue"
next time you are online the posts in the queue either gets posted automatically.
or you can list your queue and post individual posts from it and also all of them with one button.

if you list the queue you should also be able to edit/delete the posts.
i further could imagine that you can choose time and date when it should be posted. (so it will only get automatically posted if that point in time is overdue)


SCAN WHERE is greater or equal, not greater

It looks like the SCAN..WHERE clause implements greater than or equal to, not greater than (as mentioned in the documentation). For example:
<IP_ADDRESS>:9851> set module test-module object {"type":"Point","coordinates":[-0.07731199264526366, 51.528183411474586]} FIELD time 123
{"ok":true,"elapsed":"89.7µs"}

<IP_ADDRESS>:9851> scan module where time 123 +inf
{"ok":true,"fields":["time"],"objects":[{"id":"test-module","object":{"type":"Point","coordinates":[-0.07731199264526366,51.528183411474586]},"fields":[123]}],"count":1,"cursor":0,"elapsed":"98.7µs"}

This suggests the where clause is >= not >.
As a workaround I tried WHEREEVAL, but I got an invalid argument error:
<IP_ADDRESS>:9851> scan module whereeval "return FIELDS.time > 123"
(error) invalid argument 'FIELDS.time'

Could anyone suggest a way of calling WHERE as greater-than, or the correct way to specify a WHEREEVAL script to do it?

It looks like the SCAN..WHERE clause implements greater than or equal to, not greater than (as mentioned in the documentation).

You're right. The documentation is wrong. The correct syntax is:
SCAN ... WHERE score 1 5

Will return all elements with score >= 1 and score <= 5
SCAN ... WHERE score (1 5

Will return all elements with score > 1 and score <= 5
SCAN ... WHERE score (1 (5

Will return all elements with score > 1 and score < 5
And -inf & +inf can be used to range to infinity.
Thanks a ton for letting me know.


Order of notes

In version 0.4.0, I had this code that ordered my notes by edit date, but now they come out ordered alphabetically. With the update to version 0.5.0, it no longer works. How should the code be changed so that it comes out ordered by edit date again?
<!-- #query page   where name != "{{page}}"   order by dateModified desc   limit 20   render [[templete/pagenodate]] -->

Sorry, it was a problem in version 0.5.0, in version 0.5.1 it is solved

Yeah I noticed this bug myself and fixed it, will close this issue.


Issue with /docs/user-guide/kubectl/kubectl_get/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
kubectl get pods -n <namespace> does not work, because the flag -n is not recognized (at least not on Linux platform, see version info below). Response is "Error: unknown shorthand flag: 'n' in -n".
The -n flag is valid as documented on http://kubernetes.io/docs/user-guide/kubectl/kubectl_get/ . It seems other kubectl commands are affected as well.
Proposed Solution:
Workaround: kubectl get pods --namespace <namespace> works, but is more stuff to type.
Page to Update:
http://kubernetes.io/docs/user-guide/kubectl/kubectl_get/

Client Version: version.Info{Major:"1", Minor:"3", GitVersion:"v1.3.10", GitCommit:"c3e367ec9eae7338ac4e2a57f293634891319b7c", GitTreeState:"clean", BuildDate:"2016-10-31T21:25:43Z", GoVersion:"go1.6.2", Compiler:"gc", Platform:"linux/amd64"}

This is no longer an issue. Please feel free to reopen it if the problem persists.


Progress notifications linger

The notifications used to show progress aren't properly being replaced when the transfer completes.

This is now fixed.


block this torrent sites

Torrent trackers:
zelka.org
zamunda.se

zamunda.ch

Added. Thank you.
f3cf7c9


solved delete password issue

The bug that was causing the problem while deleting the passwords was found and solved.

hey @abhayksahu369 ,I just reverted the recent changes. Can you please check your changes again and let me know if it works properly?

@jinx-vi-0 still facing the issue, passwords are not deleted in database ,let me fix it again and send pr again.


Need a way to add IdentityServer signing creds for Administration area

Note this only relates to the ocelot administration area.
Given ocelot a and ocelot b running in separate processes
And you get a token from ocelot a
When you try and use the token on ocelot b to get ocelot configuration
Then your request is not unauthenticated
At the moment we just do..
services.AddIdentityServer()
                    .AddTemporarySigningCredential()

This means a token from one ocelot cannot be used on another.
I would write an acceptance test where you get a token from ocelot a and then use it on ocelot b, let that fail and then start implementing the feature.

@TomPallister
I don´t know if I understand well the scenario, but I think not must be a new feature. In my opinion you only need create a self signed certificate (with IIS for example) and use it in your IdentityServer configuration like:
service.AddIdentityServer()
    .AddSigningCredential(GetMySelfSignedCertificate(environment))

        pirvate X509Certificate2 GetMySelfSignedCertificate(IHostingEnvironment environment)
        {
            var cert = Path.Combine(environment.ContentRootPath, "pahtWhereCertificateIsLocated/myCertName.pfx");
            var cert_password = "myCertPassword";
            return new X509Certificate2(cert, cert_password);
        }

In this way, both Ocelot will sign tokens with the same key and both can check the tokens regardless of which gateway it has generated the token.
But I do not know if I'm missing something about your scenario.
And sorry my ignorance, what is Ocelot administration area and what can I do with that?
Thanks.

@juancash in Ocelot there is an API that allows you to configure Ocelot while it is running. This is the part of the system I'm talking about. I think the change is pretty easy and basically what you suggested :)
https://github.com/TomPallister/Ocelot/wiki/Administration
I need to add documentation around calling the administration api.
I just need to do the change, make sure all the tests work with it, document it etc.


Update logger.dart

Make print function Object nullable to fix null exception

Thanks. It was on the TODO list for a while.

It was on TODO for a while. Thanks.

No problem buddy


Loading / Busy Indicator

Hi,
It will be great if you add a Busy Indicator to show on the Player while the image is buffering..
Thanks,
Jassim

@jrahma please fill in a proper issue template, or this will be closed.

🚀 Feature Requests

Show a Busy Indicator / Animated Loading Image while Video is buffering or loading
Contextualize the feature
This will help to tell the user that there is something is loading because the current doesn't show anything and user assumes there is nothing started so they click Play button again
Describe the feature
When the control loads with a video then on the player user will see an animated loading image. They can choose the type of animation, e.g. Gear, Globe, Circle, etc..
Platforms affected (mark all that apply)

[ X] :iphone: iOS
[ X] :robot: Android
[ X] :checkered_flag: WPF
[ X] :earth_americas: UWP
[ X] :apple: MacOS
[ X] :tv: tvOS
[ X] :monkey: Xamarin.Forms

You can add the indicator to your own layout and bind it to a Buffering property.

Where can I find the doc for this please?
I tried:
CrossMediaManager.Current.BufferedChanged += (sender, e) =>
{
    Console.WriteLine(e.Buffered.ToString());
};

but getting:

'IMediaManager' does not contain a definition for 'PlayingChanged' and no accessible extension method 'PlayingChanged' accepting a first argument of type 'IMediaManager' could be found (are you missing a using directive or an assembly reference?)

Maybe do a clean? Doesn't sound like this is a problem in MediaManager

this looks working for me
CrossMediaManager.Current.StateChanged += (sender, e) =>
{
    if (e.State == MediaManager.Playback.MediaPlayerState.Buffering)
    {
        VideoViewWelcome.IsVisible = false;
        loadingWelcome.IsVisible = true;
    }
    else if (e.State == MediaManager.Playback.MediaPlayerState.Playing)
    {
        loadingWelcome.IsVisible = false;
        VideoViewWelcome.IsVisible = true;
    }
};


cannot run binary built for Solaris

I'm trying to cross-compile a super small test project for Solaris, but cross fails with could not execute process '/target/x86_64-sun-solaris/release/crosstest' (never executed).
My command: cross run --release --target=x86_64-sun-solaris -v on a Ubuntu 17.04 system.
I went into the docker container and it's a Ubuntu container so I'm not surprised that the Solaris binary cannot execute.
I'm confused where I went wrong because I saw the PR that added Solaris support.

As the README states there's cross compilation support for Solaris targets but not run / test support.

I went into the docker container and it's a Ubuntu container so I'm not surprised that the Solaris binary cannot execute.

Other targets have run / test support via QEMU / Wine. Nobody has suggested a way to do the same for Solaris -- QEMU user emulation may not work but QEMU system emulation would probably work.

Thanks, for clarifying. Got tripped up by that detail I guess. Is it possible to cross-compile rustc and or cargo for Solaris?

Is it possible to cross-compile rustc and or cargo for Solaris?

Cross compiling Cargo works for me:
$ cross build --target sparcv9-sun-solaris
$ file target/sparcv9-sun-solaris/debug/cargo
target/sparcv9-sun-solaris/debug/cargo: ELF 64-bit MSB executable, SPARC V9, total store ordering, version 1 (SYSV), dynamically linked, interpreter /usr/lib/sparcv9/ld.so.1, with debug_info, not stripped

I don't know if you can use Cross to cross compile rustc. rust-lang/rust has its own build system called bootstrap that calls Cargo to build std, rustc, etc. Perhaps you could hack it to make it call Cross instead of Cargo? I haven't tried.

Just FYI, I'm trying to build for x86_64-sun-solaris. I've tried to follow your reddit post on cross-compiling rust, but that is based on the old makefile approach and doesn't seem to be working.
When following the commands from this github issue I get a compiled libstd, but not rustc. Is there any documentation on how to cross-compile rustc that you're aware of? I don't seem to be able to guess based on the build system options and random posts I find on the interwebs...

I haven't cross compiled rustc in a long time but it went like this, iirc:
$ # export CC, AR and CXX
$ export CC_arm_unknown_linux_gnueabihf=arm-unknown-linux-gnueabihf-gcc

$ # I want to cross compile a toolchain (rustc) for this host
$ ./configure --host=arm-unknown-linux-gnueabihf

$ # bootstrap the compiler and cross compile rustc
$ # there are ways to do this faster by not bootstraping the compiler but I don't remember them anymore
$ ./x.py

x.py is documented here.

Thank you for pointing that out. I thought I could set WHERE I am building
by hand (by setting the host parameter) ^^
BTW. Thank you so much for all the cross compilation stuff you've already
figured out and the tools you've built, it's been a great help!
2017-11-16 0:54 GMT+01:00 Jorge Aparicio<EMAIL_ADDRESS>
I haven't cross compiled rustc in a long time but it went like this, iirc:
$ # export CC, AR and CXX
$ export CC_arm_unknown_linux_gnueabihf=arm-unknown-linux-gnueabihf-gcc
$ # I want to cross compile a toolchain (rustc) for this host
$ ./configure --host=arm-unknown-linux-gnueabihf
$ # bootstrap the compiler and cross compile rustc
$ # there are ways to do this faster by not bootstraping the compiler but I don't remember them anymore
$ ./x.py
x.py is documented here
https://github.com/rust-lang/rust/blob/master/src/bootstrap/README.md.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/japaric/cross/issues/150#issuecomment-344768897, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGoVYhy1lDsGLJyTYVuFlBfwQPKhYK1oks5s23m2gaJpZM4Qa2ru
.


[Needs Review] b07902043 許喬茵

A Pull Request (PR) should explain why we need this PR and how you implement it, so others could understand it quickly.
Since this is just a homework, you do not need to explain why and how.
Do NOT change the status to NeedsReview if you do not want to be graded yet.
Please fill in the following questions as feedback. It is totally optional and would not be graded.
What is the most challenging part in this homework?
Is this homework helpful for you?
Is there any suggestion?

PR readiness check list

[  ] Did it pass the Flake8 check?
[  ] Did you test this PR?
[  ] Did you change the title of this PR to the correct format ([status] student_ID)?

@amjltc295 I committed sample_code again. Is this okay now? Thank you.

@amjltc295  Is it okay now? Thank you.

It would be better to revise your commit message.

@amjltc295 Is there still something I need to improve?


(id): broken links fix

This PR fixes the issue with links in Indonesian localization.
/language id

Thanks @butuzof for helping us again! 🎉
/lgtm
/approve


Removes the @types/helmet dependency

We are using helmet 4.0.0+ which has typings included. The typing dependency is not needed anymore.
No changeset as it only removes a dev dependency.
Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

You are right I added one.
One can't allow editing for forks in orgs, this only works for private forks. I could add you as a collaborator 😆

You are right I added one.
One can't allow editing for forks in orgs, this only works for private forks. I could add you as a collaborator 😆


Pocteo as an adopter

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:
Pocteo is now using Falco to provide Container Runtime Monitoring. This edit adds Pocteo into the ADOPTERS.md file.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: danpopSD
To complete the pull request process, please assign fntlnz after the PR has been reviewed.
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

/assign @fntlnz

LGTM label has been added.  Git tree hash: e21618ee96edeff56595ea74074b0e95d1b56106

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

Needs approval from an approver in each of these files:

OWNERS [leodido]

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

/milestone 0.28.0

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

Needs approval from an approver in each of these files:

OWNERS [leodido,leogr]

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


Periodically reload KeyVault secrets/certs

Describe the request
As Azure KeyVault is pushing ECR (emergency certificate rotation) https://aka.ms/ecr, it requires services to periodically fetch the latest KeyVault secrets/certs and update accordingly. For AKS microservices, it would be GREAT to have FlexVolume supporting reload KeyVault periodically.
Explain why Key Vault FlexVolume needs it
Support of refreshing expired/revoked certificates.
Describe the solution you'd like
An config of "refresh rate X" which reloads AKV every X mins.
Describe alternatives you've considered
Other ideas of supporting periodically reload secrets/certs
Additional context

Would it be possible to include this request in the csi secret store project as well


How we should store data in database ?

To be consistent across application we should store the string version "user_01h455vb4pex5vsknk084sn02q" or just uuid and on code level add prefix ?

I don't think there's a general opinion on this, but here are my thoughts.
In general, it's of course possible to store the entire string, which is the easiest and most straightforward way. Quote from the README:

K-Sortable: TypeIDs are K-sortable and can be used as the primary key in a database while ensuring good locality.

However, this applies when storing one TypeID type per index column. Mixing TypeIDs with different prefixes in the same column can negatively impact locality and make inserts more costly. Generally, this shouldn't be an issue as storing different ID types in the same column is uncommon.
If you have large tables, another aspect to consider is efficiency. Storing a TypeID with its prefix (let's say "user") as (var)char requires 31 bytes (4 for the prefix, 1 for the underscore, 26 bytes for the UUID), whereas solely storing the UUID as a binary type requires 16 bytes, halving the index size.
A third option is a hybrid approach, storing both prefix and UUID in separate columns, with only the UUID indexed and stored in binary form.
So the answer is "it depends" ;). For smaller applications, storing the whole TypeID is totally fine, but as soon as index performance and efficiency matter, storing the UUID suffix in its native form would be the first thing to consider.

Probably starting with uuidv7 in binary form would be the best option. The only problem I see you have to always decode typeid from logs to match it with the row in database.
Thank you for the update !


build image setting for nodejs version

@brunordias Can we add capability to support node js versions using build image settings on top of default image, instead of specifying a custom image.

Hi @haarism  you can use it this way:
app_environment = {
NAME = "test" # global envs
"_CUSTOM_IMAGE" = "node:16"
}