Deploy using sftp sync

netcore has a load of larger dependencies that don't often change in my app.
Does this extension do sync?
eg only copy newer

@mikes-gh
You can try to realize it by using deploy on change feature.

Im sorry I dont understand

You also can set deployOnChange to (true), what means, that you have to setup deployOnSave property.
If you DO NOT set useTargetList to (true), you have to setup deployOnSave property.

@mikes-gh
Oh, thats right ... I must find a much better description for that.

if you set deployOnChange to (true), it will use the same targets for deploying as deployOnSave and watches for changes in files, you have defined in your package
in a package, you can define an explicit target list (by setting up targets setting)... to use this explicit target list, you have to set useTargetList to (true)

Where are the files, that should be deployed when they change, inside your project?
Maybe I can create an example for you.

Im sorry its still very confusing for me.
deployOnChange seems the same as deployOnSave to me.
Could you explain the difference.
I am after a folder comparison (like rsync)  and only deploy files that are different.

@mikes-gh
Ah, OK.
"onSave" and "onChange" are two different kind of events.
"onSave" is explicit: The event is only fired, when you have an open document and you use the save command (e.g. CTRL + S) for it ... s. onDidSaveTextDocument of vscode API ... if that file is part of one of your packages, a deployment will be started for it
"onChange" is implicit: There is a FileSystemWatcher, very similar to .NET, that watches for all changes inside your workspace ... in that case it is not important if you or a separate service, like a C# compiler, changes files ... if there is now a file that is part of one of your packages, a deployment will be started for it
Both events run parallel. They do not care what the other does.
What you have to keep in mind for files that fits both events: If you save a document in your editor: on the one hand "onSave" is fired, because you used the "save" command of VSCode ... AND parallel the file system watcher for "onChange" is fired

Thanks for clear explanation

This bit of code looks good to use
https://github.com/robogeek/node-ssh2sync

@mkloubert make a exemple for me! I trying with this code but onlu manual (right click menu) deploy works. On save and On Change dont works. Whats wrong in my code?
my settings.json file:
{
    "deploy": {
        "packages": [
            {
                "name": "Vallefrutas Odin Theme",

                "deployOnChange": {
                    "files": [
                        "/assets/**/**/**"
                    ],
                    "exclude": [
                        "/**/*.less",
                        "/**/*.ts"
                    ],
                    "useTargetList": true
                },
                "deployOnSave": true,
                "targets": [ "Vallefrutas AWS EC2t" ],
                "files": [
                    "**/**/**/**/**/**/**/**/**"
                ]
            }
        ],
        "targets": [
            {
                "name": "Vallefrutas AWS EC2",
                "type": "sftp",
                "description": "A WP Theme folder on AWS EC2 instance for vallefrutas.com.br site",

                "dir": "/var/www/vallefrutas.com.br/wp-content/themes/odin/",
                "host": "ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com",
                "port": 22,
                "user": "ubuntu",
                "privateKey": "B:\\Users\\Adson\\Web\\AWS\\keypair\\vallefrutas-aws.pem",
                "closing": [
                    "sudo chown -R www-data:www-data /var/www/vallefrutas.com.br/wp-content/themes/odin"
                ],
                "ignore": [
                    "/.vscode/**/*",
                    "/.git/**/*",
                    "/src",
                    "/src/**/*",
                    "/node_modules",
                    "/node_modules/**/*",

                    "/.remote-sync.json",
                    "/.DS_Store",
                    "/Thumbs.db",
                    "/desktop.ini",
                    "/*.md",
                    "/gulpfile.js",
                    "/yarn.lock",
                    "/package.json",
                    "/.gitignore",
                    "/.bowerrc",
                    "/bower.json",
                    "/*.zip",
                    "/*.tar.gz",
                    "/*.sublime-project",
                    "/*.sublime-workspace",
                    "/.ftppass"
                ]
            }
        ]
    }
}

@AdsonCicilioti
You have a typo in your target list of your package:
You defined Vallefrutas AWS EC2t, but your target is called Vallefrutas AWS EC2 (without the ending t). The mistake in your setting is, that the 'deploy on change / save' feature cannot find your target. This is the reason why it only works manually (from menu or command list).
On the other hand, the ignore property must be defined as direct child of deploy.
Try this config:
{
    "deploy": {
        "packages": [
            {
                "name": "Vallefrutas Odin Theme",

                "deployOnChange": {
                    "files": [
                        "/assets/**/**/**"
                    ],
                    "exclude": [
                        "/**/*.less",
                        "/**/*.ts"
                    ],
                    "useTargetList": true
                },

                "deployOnSave": true,

                "targets": [ "Vallefrutas AWS EC2" ],

                "files": [
                    "**/**/**/**/**/**/**/**/**"
                ]
            }
        ],

        "targets": [
            {
                "name": "Vallefrutas AWS EC2",
                "type": "sftp",
                "description": "A WP Theme folder on AWS EC2 instance for vallefrutas.com.br site",

                "dir": "/var/www/vallefrutas.com.br/wp-content/themes/odin/",
                "host": "ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com",
                "port": 22,
                "user": "ubuntu",
                "privateKey": "B:\\Users\\Adson\\Web\\AWS\\keypair\\vallefrutas-aws.pem",
                "closing": [
                    "sudo chown -R www-data:www-data /var/www/vallefrutas.com.br/wp-content/themes/odin"
                ]
            }
        ],

        "ignore": [
            "/.vscode/**/*",
            "/.git/**/*",
            "/src",
            "/src/**/*",
            "/node_modules",
            "/node_modules/**/*",

            "/.remote-sync.json",
            "/.DS_Store",
            "/Thumbs.db",
            "/desktop.ini",
            "/*.md",
            "/gulpfile.js",
            "/yarn.lock",
            "/package.json",
            "/.gitignore",
            "/.bowerrc",
            "/bower.json",
            "/*.zip",
            "/*.tar.gz",
            "/*.sublime-project",
            "/*.sublime-workspace",
            "/.ftppass"
        ]
    }
}

Nothing yet. Now it does not even work manually.

Showing this errors with a cpu core high...


using static keyword in .js breaks standard format on save

Using this file
import React from 'react';;;;

export default class extends React.Component {
  static ping = 'pong'
}

is not fixed on save (invoking manually ./node_modules/.bin/standard --fix does fix the file);
import React from 'react';;;;

export default class extends React.Component {}

is fixed on save.
Maybe it's related to my parser:
"standard": {
    "parser": "babel-eslint",
    ...
}

v2.8.0

@joseluisq Well, if you change the parser to babel-eslint the linter-js-standard package works well and I'm not seeing any errors (I suppose you are using this one in the screenshot). Also, invoking manually standard --fix works too.
"standard": {
  "parser": "babel-eslint"
}

The documentation says:

standard - equivalent to running standard --fix

Actually, it's not the case if you use another parser.

+1

Any resolution on this? Also fails when using decorators.


Observed error while running preflight

Hi,
We are getting below error while running preflight tool.
sudo podman login -u unused scan.connect.uat.redhat.com
Password:
Error: authenticating creds for "scan.connect.uat.redhat.com": error pinging docker registry scan.connect.uat.redhat.com: Get "https://scan.connect.uat.redhat.com/v2/": dial tcp: lookup scan.connect.uat.redhat.com on <IP_ADDRESS>:53: no such host
Can anyone please have a look and suggest on same ?
Thanks,
Anil Dhaneshwar

Hi @anildhaneshwar the inbound certification registry is not available in UAT. In the beta docs here it states that images should be pushed to production.
In order to test the certification of your container,
you must first push it to Red Hat's inbound certification registry (the production version, not UAT)

Thanks @acornett21 ! We are getting new error now.

$ PFLT_PYXIS_HOST=catalog.uat.redhat.com/api/containers
$ preflight check container scan.connect.redhat.com/ospid-6250064546dc0036e529344f/infoscale:<IP_ADDRESS>0-rhel8.4-4.18.0-305.7.1.el8_4.x86_64 --pyxis-api-token=c4o3330rb15emg21xztlzxs3n9yf4fa8 --certification-project-id=624aaedabe4dd77dc8638007
INFO[0000] certification library version 0.0.0 <commit: 478d6d7db0afac422c122e1a8800760fd6426a6c>
ERRO[0000] received non 200 status code in GetProject: {"detail": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.", "status": 401, "title": "Unauthorized", "type": "about:blank", "trace_id": "0xd9d6b0ad6b952a1b63a3db77bdf5ba11"}
ERRO[0000] error calling remote APIcould not retrieve project
Error: error calling remote API
Usage:
preflight check container [flags]
Examples:
preflight check container quay.io/repo-name/container-name:version
Flags:
--certification-project-id string Certification Project ID from connect.redhat.com. Should be supplied without the ospid- prefix.
-d, --docker-config string path to docker config.json file
-h, --help help for container
--pyxis-api-token string API token for Pyxis authentication
--pyxis-host string Host to use for Pyxis submissions. (default "catalog.redhat.com/api/containers")
-s, --submit submit check container results to red hat
Global Flags:
-l, --list-checks lists all the checks run for a given check
FATA[0000] error calling remote API

Could you please have a look into it ?
Thanks,
Anil Dhaneshwar

@anildhaneshwar The API ket needs to come from UAT as well. If the project and api key do not match you will get this error. See the below URL to create a UAT api-key.
https://connect.uat.redhat.com/account/api-keys


Deploy/Edit Workload page - Drop down icon disappears when hovering over protocol and port type field.

Rancher server version - v2.3-head - add7bda8f
ui-index- https://releases.rancher.com/ui/latest-2.3/index.html
Steps to reproduce the problem:
Deploy/Edit Workload page - Drop down icon disappears when hovering over protocol and port type field.
On clicking the "Add Port" , the portMapping entry initially had the drop down icon for  protocol and port type field. But they disappear when hovering on these fields.

Available in latest-2.3.

Tested with UI tag - latest-2.3
Drop down icon dont disappears when hovering over protocol and port type field anymore.
But on selecting any entry from the drop down list , the drop down icon is lost.

Reopening this issue .

Available in latest-2.3.

Tested with latest build from v2.3.-head with ui-index- https://releases.rancher.com/ui/latest-2.3/index.html
Drop down icon dont disappears when hovering over protocol and port type field anymore.
They also dont disappear on selecting any entry from the drop down list .


variables are incorrectly minified

UnoCSS version
0.50.1
Describe the bug

0.50.1

:root {
  --un-pan-x:;--un-pan-y:;--un-pinch-zoom:;
}

0.49.4

:root {
  --un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;
}

Reproduction

similar

svelte#7288
esbuild#760
System Info
legacy browser will fail to resolve the variable
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

UnoCSS does not normally touches your own CSS. Please provide a proper production.

@antfu sorry
Reproducible
I found out that it is the problem of transformerDirectives
0.49.4 or turn off transformerDirectives will not be wrong
export default defineNuxtConfig({
  unocss: {
    transformers: [
      // variables are incorrectly minified
      transformerDirectives(),
    ],
    presets: [UnoPreset()],
  },
})

I confirm this is a regression introduced in #2229.


8.3.x ES5 build broken for spread operator on set

🐞 Bug report
Command (mark with an x)

- [x] build

Is this a regression?
No, its broken since the optimized creation of es5 out of es2015 builds were introduced in 8.3. In 8.2.x, when both builds were created on their own, everything was fine.
Description
Since updating angular/cli to 8.3.x it turns our that our ES5 builds are broken - exceptions are thrown during runtime.
What I found out so far:
ES2015 builds are fine.
ES5 builds, created with NG_BUILD_DIFFERENTIAL_FULL=true are fine.
ES5 builds, created without NG_BUILD_DIFFERENTIAL_FULL=true are broken.
It turns out, that the following line creates undefined in es5 builds whereas it creates an array of strings in es2015 builds:

// Make demand ids in day unique
cardDataByDay[ key ] = [ ...new Set(cardDataByDay[ key ]) ];

Happens in any browser in which you load the es5 build. No need to use old browsers for testing, just load the es5 builds in the latest chrome.
🔬 Minimal Reproduction
🔥 Exception or Error
As its quite some effort due to the size to extract it and you maybe already
know what and where to fix it, I will create a test repo when you really need it.
Just drop a comment in this case.

Runtime exception is the basic 'cant access 'x' of undefined'.

🌍  Your Environment
Angular Version:

Angular CLI: 8.3.5
Node: 12.6.0
OS: darwin x64
Angular: 8.2.7
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.2
@angular-devkit/build-angular     0.803.2
@angular-devkit/build-optimizer   0.803.2
@angular-devkit/build-webpack     0.803.2
@angular-devkit/core              8.3.2
@angular-devkit/schematics        8.3.5
@angular/cdk                      8.2.1
@angular/cli                      8.3.5
@angular/material                 8.2.1
@ngtools/webpack                  8.3.2
@schematics/angular               8.3.5
@schematics/update                0.803.5
rxjs                              6.5.2
typescript                        3.4.5
webpack                           4.39.2

@readme42, can you please provide the full code snippet that is needed to generate the error?
Thanks.

@alan-agius4 sure - will deliver in the next hours.

Here we go. You can find the repo here: https://github.com/readme42/repro-angular-cli83-es5-15673
Just clone it and run npm start
The ES2015 build shows:
 {
  "shouldContainer1234": [
    1,
    2,
    3,
    4
  ],
  "shouldContainen567": [
    5,
    6,
    7
  ]
}

Ths ES5 build shows:
 {
  "shouldContainer1234": [
    {}
  ],
  "shouldContainen567": [
    {}
  ]
}


Fix broken links to Yocto Project documentation

Links were updated to point to available pages after YP doc site
changes.
QA: ran linkcheck.
No associated Jira issues.
Signed-off-by: Katrina Prosise<EMAIL_ADDRESS>Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
linkcheck was failing due to links to Yocto Project Documentation no longer being available.
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[ ] Run spelling and grammar check, preferably with linter.
[x] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[] Match tone and style of page/section.
[x] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[x] follow best practices for commits.

[x] Descriptive title written in the imperative.
[x] Include brief overview of QA steps taken.
[x] Mention any related issues numbers.
[x] End message with sign off/DCO line (-s, --signoff).
[x] Sign commit with your gpg key (-S, --gpg-sign).
[x] Squash commits if needed.

[x] Request PR review by a technical writer and at least one peer.

Comments

Docs for d9e9ef50e892f637f17696def196dbbc2afe29a4 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1487/docs/artifacts/html/index.html

Okay, I'm going to go ahead and merge now


Upgrade Jetty Server Version

PR for updating: https://github.com/CDCgov/trusted-intermediary/pull/812

There is a version 6 of Jetty that was recently released.  Need to research the changes needed to the intermediary to accommodate this new version

PR merged.


Remove 404 link

closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/4021

@MattEEvans
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Abstract with new paragraphs displaying outside page property

This is a really small details, but  for one paper I have abstract like this
abstract:: "Introduction: The slope of the electroencephalography (EEG) power spectrum (also referred to as 1/f noise) is an important consideration when calculating narrow-band power. However, psychophysiological data also suggest this slope is a meaningful signal itself, not merely background activity or noise. We present two different methods for quantifying the slope of the power spectrum and assess their reliability and sensitivity.
Methods: We used data from N = 60 participants who had EEG collected during rest, a videogame task, and a second period of rest. At all phases of the experiment, we calculated the “spectral slope” (a regression-based method fit to all datapoints) and the “aperiodic slope” (estimated with the fitting oscillations with 1/f algo rithm FOOOF). For both methods we assessed: their reliability, their sensitivity to the transition from rest to task, their sensitivity to changes during the videogame task itself, and the agreement between the two measures.
Results: Across resting phases, both spectral and aperiodic slopes showed a high degree of reliability. Both methods also showed a steepening of the power spectrum on-task compared to rest. There was also a high degree of consistency between the two methods in their estimate of the underlying slope, but FOOOF explained more variance in the power spectra across regions and type of activity (rest versus task).
Conclusion: The slope of the power spectrum is a highly reliable individual difference and sensitive to withinsubject changes across two different methods of estimation. Moving forward, we generally recommend the use of the FOOOF algorithm for its ability to account for narrow-band signals, but these data show how regression-based approaches produce similar estimates of the spectral slope, which may be useful in some applications."

is rendered in logseq like this
abstract:: "
Abstract

Background

Previous research has shown that the slope of the electroencephalography (EEG) power spectrum mediates the difference between older and younger adults on a visuo-spatial working memory task. The present study sought to replicate and extend that work using a larger sample and a validated set of neuropsychological tests: The Repeatable Battery for the Assessment of Neuropsychological Status (RBANS).

Methods

Forty-four participants (21 younger adults, 23 older adults) completed a battery of cognitive and motor tasks that included the RBANS. EEG data was collected both during rest and on-task. Excluding the alpha-band, RBANS scores were regressed onto the slope of the resting EEG power spectrum, controlling for age and using robust mediation analysis.

Results

Older adults performed reliably lower on the composite RBANS and the Coding, List Recall, List Recognition, and Figure Recall subtests. However, boot-strapped mediation models only showed a mediating effect of the spectral slope on the RBANS composite and the Coding subtest.

Conclusions

The resting slope of the EEG power spectrum mediated age-related differences in cognition in the current study, which replicates prior work and is consistent with the neural noise hypothesis of aging. In extending this work, it was shown that these effects are strongest in tasks requiring speeded processing and/or executive functions, whereas this effect was weaker (to absent) for delayed memory, even though age-related differences were present. This pilot study warrants further exploration of the EEG power spectrum in age-related cognitive decline.
"
Only the first paragraph is displayed in the page property, the rest is outside it.

below the bib file  but it seems normal when I try to read the item in other editor
Exported Items.bib.zip
Maybe stripping the enters and replacing it by soft enters is possible?
if this is not a easy fix or something not important you might close the issue

Also this  abstract note is creating after reininding new redundant notes

this is really strange... have you encountered this bug w/ other papers?

yes, for example
here

`
Children with ADHD who were treated with stimulants had comparable slopes and offsets to the typically developing group despite a 24-h medication-washout period. We further show that spectral slope correlates with traditional measures of theta/beta ratio, suggesting the utility of slope as a neural marker over and above traditional approaches. Taken with past research demonstrating that spectral slope is associated with executive functioning and excitatory/inhibitory balance, these results suggest that altered slope of the power spectrum may reflect pathology in ADHD.
NEW & NOTEWORTHY This article highlights the clinical utility of comprehensively quantifying features of the EEG power spectrum. Using this approach, we identify, for the first time, differences in the aperiodic components of the EEG power spectrum in children with attention-deficit/hyperactivity disorder (ADHD) and provide evidence that spectral slope is a robust indictor of an increase in low- relative to high-frequency power in ADHD."
I think it is happening when abstracts contain some kind of abstract/newline character; is not that critical I think but I will investigate
`

Maybe this is logseq bug, but within Obsidian those abstracts also rendered differently, which might point to special line-breakers characters theory

I could share a library with problematic Zotero items for testing later

This is markdown content of another note
status:: to-read
category:: zotero
citekey:: pathania2021RelatingrestingEEG
authors:: "Pathania, A., Clark, M., Cowan, R., Euler, M., Duff, K., Lohse, K."
local-library:: [Local library](zotero://select/library/items/GGGYRAFS)
abstract:: "
Abstract

Background

Previous research has shown that the slope of the electroencephalography (EEG) power spectrum mediates the difference between older and younger adults on a visuo-spatial working memory task. The present study sought to replicate and extend that work using a larger sample and a validated set of neuropsychological tests: The Repeatable Battery for the Assessment of Neuropsychological Status (RBANS).

Methods

Forty-four participants (21 younger adults, 23 older adults) completed a battery of cognitive and motor tasks that included the RBANS. EEG data was collected both during rest and on-task. Excluding the alpha-band, RBANS scores were regressed onto the slope of the resting EEG power spectrum, controlling for age and using robust mediation analysis.

Results

Older adults performed reliably lower on the composite RBANS and the Coding, List Recall, List Recognition, and Figure Recall subtests. However, boot-strapped mediation models only showed a mediating effect of the spectral slope on the RBANS composite and the Coding subtest.

Conclusions

The resting slope of the EEG power spectrum mediated age-related differences in cognition in the current study, which replicates prior work and is consistent with the neural noise hypothesis of aging. In extending this work, it was shown that these effects are strongest in tasks requiring speeded processing and/or executive functions, whereas this effect was weaker (to absent) for delayed memory, even though age-related differences were present. This pilot study warrants further exploration of the EEG power spectrum in age-related cognitive decline.
"
title:: @Pathania et al. 2021 Relating resting EEG power spectra to age-related differences in cognitive performance: An observational pilot study

Then in Logseq every paragraph become new note
The json also contains html markers. Is there any quick  function that strip html and convert it to markdown before inserting abstract into logseq? this might be a solution
Pathania.json.zip
This is not a big priority, but converting html to markdown before inserting might help avoid  such problems (also this might make the plugin potentially safer against html injection, but I am not a security expert)

thoughts on removing the HTML markers completely rather than converting them to markdown? using your example, it'd be something like Background Previous research has shown that the slope of the electroencephalography (EEG) power spectrum... instead of ### Background Previous research has shown that the slope of the electroencephalography (EEG) power spectrum...

For me this would be enough and solve my problem.
Maybe some users might want to retain it, maybe some handle  (yes/no) in settings Remove html markers  from abstract  would be useful?

This reference is rendering outside the properties and after reindexing pages is generating pages from abstract, please let me know if you can replicate
Roberts.json.zip

can reproduce this bug 😅

@vyleung the 'properties' also could create pages by default https://github.com/logseq/logseq/issues/6065


Type error if Head contains children

Hi,
I'm trying to add this package to a project. But there seems to be an issue, with what I assume is React 18 typings.
There is a Typescript error whenever I put any element inside of the Head  Component:
import {
  getCspInitialProps,
  provideComponents,
} from '@next-safe/middleware/dist/document';
import Document, { Html, Main } from 'next/document';

export default class MyDocument extends Document {
  static async getInitialProps(ctx) {
    const initialProps = await getCspInitialProps({ ctx });
    return initialProps;
  }
  render() {
    const { Head, NextScript } = provideComponents(this.props);
    return (
      <Html>
        <Head><link rel="icon" href="/favicon.svg" type="image/svg+xml" /></Head>
        <body>
          <Main />
          <NextScript />
        </body>
      </Html>
    );
  }
}

I will get there error:
const Head: React.FC<ProvidedProps>
Type '{ children: (false | Element)[]; }' has no properties in common with type 'IntrinsicAttributes & ProvidedProps'

I'm using React 18.2.0 and Next 12.2.2
I do hope it's something easy to fix - thanks for all your work :)

Hi @muskela ,
thanks for reporting this. It is because of React 18, as the package uses React.FC internally, which doesn't have a children prop anymore in React 18 typings. I will fix this in an upcoming release.
In the meantime, you can simply do the following to get rid of the build error:
const { Head, NextScript } = provideComponents(this.props) as any

@all-contributors add @muskela for bug


:root_url, and :protocol initialization options are not available in the latest gem release (0.8.2)

As of this writing, the latest commit is 36da50b840d4b0e6a3d7778a17c45f11218f6903.
In the README, the :root_url and :protocol initialization options are documented at https://github.com/pdfkit/pdfkit/blob/36da50b840d4b0e6a3d7778a17c45f11218f6903/README.md#resolving-relative-urls-and-protocols.
If you actually try to use either option (I'm going to use :root_url in the following example), you get the error below.
Example code:
kit = PDFKit.new(html, root_url: 'https://api.hackclub.com')
kit.stylesheets << pdf_stylesheet
kit.to_pdf

Error:
Unknown long argument --root-url

Name:
  wkhtmltopdf 0.12.3 (with patched qt)

Synopsis:
  wkhtmltopdf [GLOBAL OPTION]... [OBJECT]... <output file>

Document objects:
  wkhtmltopdf is able to put several objects into the output file, an object is
  either a single webpage, a cover webpage or a table of content.  The objects
  are put into the output document in the order they are specified on the
  command line, options can be specified on a per object basis or in the global
  options area. Options from the Global Options section can only be placed in
  the global options area

  A page objects puts the content of a singe webpage into the output document.

  (page)? <input url/file name> [PAGE OPTION]...
  Options for the page object can be placed in the global options and the page
  options areas. The applicable options can be found in the Page Options and
  Headers And Footer Options sections.

  A cover objects puts the content of a singe webpage into the output document,
  the page does not appear in the table of content, and does not have headers
  and footers.

  cover <input url/file name> [PAGE OPTION]...
  All options that can be specified for a page object can also be specified for
  a cover.

  A table of content object inserts a table of content into the output document.

  toc [TOC OPTION]...
  All options that can be specified for a page object can also be specified for
  a toc, further more the options from the TOC Options section can also be
  applied. The table of content is generated via XSLT which means that it can be
  styled to look however you want it to look. To get an aide of how to do this
  you can dump the default xslt document by supplying the
  --dump-default-toc-xsl, and the outline it works on by supplying
  --dump-outline, see the Outline Options section.

Description:
  Converts one or more HTML pages into a PDF document, using wkhtmltopdf patched
  qt.

Global Options:
      --collate                       Collate when printing multiple copies                                      (default)
      --no-collate                    Do not collate when printing multiple                                      copies
      --copies <number>               Number of copies to print into the pdf                                      file (default 1)
  -H, --extended-help                 Display more extensive help, detailing                                      less common command switches
  -g, --grayscale                     PDF will be generated in grayscale
  -h, --help                          Display help
      --license                       Output license information and exit
  -l, --lowquality                    Generates lower quality pdf/ps. Useful to                                      shrink the result document space
  -O, --orientation <orientation>     Set orientation to Landscape or Portrait                                      (default Portrait)
  -s, --page-size <Size>              Set paper size to: A4, Letter, etc.                                      (default Letter)
  -q, --quiet                         Be less verbose (default)
      --read-args-from-stdin          Read command line arguments from stdin
      --title <text>                  The title of the generated pdf file (The                                      title of the first document is used if not                                      specified)
  -V, --version                       Output version information and exit
Page Options:
      --print-media-type              Use print media-type instead of screen
      --no-print-media-type           Do not use print media-type instead of                                      screen (default)
Contact:
  If you experience bugs or want to request new features please visit
  <https://github.com/wkhtmltopdf/wkhtmltopdf/issues>

command failed (exitstatus=0): /bundle/bin/wkhtmltopdf --quiet --page-size Letter --margin-top 0.75in --margin-right 0.75in --margin-bottom 0.75in --margin-left 0.75in --encoding UTF-8 --root-url https://api.hackclub.com - - excluded from capture: DSN not set

RuntimeError (command failed (exitstatus=0): /bundle/bin/wkhtmltopdf --quiet --page-size Letter --margin-top 0.75in --margin-right 0.75in --margin-bottom 0.75in --margin-left 0.75in --encoding UTF-8 --root-url https://api.hackclub.com - -):

When I looked into this, it looks like it's because lines 29-30 in https://github.com/pdfkit/pdfkit/blob/36da50b840d4b0e6a3d7778a17c45f11218f6903/lib/pdfkit/pdfkit.rb#L21-L35 are not currently part of the latest gem release (again, 0.8.2).

Go to https://rubygems.org/gems/pdfkit/versions/0.8.2 and click download

Unpack the gem (gem unpack pdfkit-0.8.2.gem)

Open lib/pdfkit/pdfkit.rb and notice that the previously specified lines 29-30 are not present

The fix for this should be very easy, just cut a new release on RubyGems. For the time being, I'm updating our Gemfile to use the latest commit on GitHub.
/cc @MaxWofford (I think this is what was causing you so much trouble when trying to get relative images working in our PDF generation)

+1 a new Version of this Gem would be awesome.

Is there a fix available for now or not?

I monkey patched it in one of the Rails app initializers. As so:
class PDFKit
def initialize(url_file_or_html, options = {})
@source = Source.new(url_file_or_html)
@stylesheets = []

@root_url = options.delete(:root_url)
@protocol = options.delete(:protocol)
@options = PDFKit.configuration.default_options.merge(options)
@options.delete(:quiet) if PDFKit.configuration.verbose?
@options.merge! find_options_in_meta(url_file_or_html) unless source.url?
@options = normalize_options(@options)

raise NoExecutableError.new unless File.exists?(PDFKit.configuration.wkhtmltopdf)

end
end
It seems to fix the protocol & root_url problems.


Upload Pipeline using URL behind proxy

When trying to create a new Pipeline using the "Import by URL" option in the environment behind the proxy the result is timeout.
Message:
{"error":"InternalServerError: Failed to download the pipeline from https://raw.githubusercontent.com/canonical/bundle-kubeflow/master/docs/examples/mnist.yaml Please double check the URL is valid and can be accessed by the pipeline system.: Get \"https://raw.githubusercontent.com/canonical/bundle-kubeflow/master/docs/examples/mnist.yaml\": dial tcp <IP_ADDRESS>:443: i/o timeout","code":13,"message":"InternalServerError: Failed to download the pipeline from https://raw.githubusercontent.com/canonical/bundle-kubeflow/master/docs/examples/mnist.yaml Please double check the URL is valid and can be accessed by the pipeline system.: Get \"https://raw.githubusercontent.com/canonical/bundle-kubeflow/master/docs/examples/mnist.yaml\": dial tcp <IP_ADDRESS>:443: i/o timeout","details":[{"@type":"type.googleapis.com/api.Error","error_message":"Internal Server Error","error_details":"InternalServerError: Failed to download the pipeline from https://raw.githubusercontent.com/canonical/bundle-kubeflow/master/docs/examples/mnist.yaml Please double check the URL is valid and can be accessed by the pipeline system.: Get \"https://raw.githubusercontent.com/canonical/bundle-kubeflow/master/docs/examples/mnist.yaml\": dial tcp <IP_ADDRESS>:443: i/o timeout"}]}

I do not see a way to provide a proxy there.

Need to verify the how this is handled in the code to see if proxy settings apply correctly. Could be a bug or a missing functionality.


[TECH] Fix requirements

hang on.  these are all specified in setup.py.  can we remove duplication somehow?

it should actually have been installed automatically by the makefile command https://github.com/madedotcom/photon-pump/blob/master/Makefile#L8

could put -e . in requirement.txt instead?

closing for now.


Bugfix: path and fx handler

If there is no :db effect produced by an effectful handler (presumably
because the handler is concerned with some other form of side-effect
than a DB update), then the path interceptor should not attempt to
update the DB value it returns.

@samroberton a test was failing (false looked like a nil) so I created this alternative fix https://github.com/Day8/re-frame/commit/6a172ddbe06788591affdf84fd90ab0f8ac081ee
Does it cover the problem usecases you identified?

@mike-thompson-day8 your commit is definitely a better fix (and yes, it does fix the issue I observed in our codebase) -- especially in that it also allows you to return nil to indicate that you want this whole path to be set to nil.
One suggestion, though:  with this facility now available, the debug interceptor should use the new arity as well (on std_interceptors.clj lines 38 & 39).  One of the reasons this bug took me a while to track down was that the debug interceptor was telling me that there was no DB change happening, then suddenly bits of my DB were ending up nil -- ie inconsistency between what debug reports is happening, and what actually happens.

Closing since 6a172dd covers the original bug, and 486c7e6 covers the suggestion to get the debug interceptor to behave the same way.
Thanks for this, Mike.


add dnsimple provider

also tweaked the init function in the route53 handler so it doesn't cause the whole thing to error out if you're not using it

@nlf LGTM. Once that extra check is removed, we can merge it. Let me know if you could remove this check, or I can do it.

done

@nlf you'll want to add an entry based on https://github.com/rancher/rancher-catalog/tree/master/templates/route53 too so it will show up in the catalog.
@lvuch can you make a catalog icon for it?  Here's there logo:

@nlf new image  rancher/external-dns:v0.1.8 having dnsimple provider, is pushed to dockerhub. Let me know if you face any problems using it.


Tests run issues

some fails are related to serializing issues (if fail exception belongs to some 3rd party lib, de-serialization error occurs in runner AppDomain or ALC)

net452:

some fails are related to the fact, that current directory is set to solution root, but not test assembly directory
some fails are related to the fact that test's AppDomain does not use configuration provided in app.config

Merged in 3246ffa


Unhandled python OSError

Hello,
I'm using Artix and would like to install it, but I'm having this error by compiling it manually or using an AUR helper (I've installed all dependencies);
OSError: [Errno 8] Exec format error: '/usr/bin/glslangValidator'
ERROR: Unhandled Python OSE error. This is probably not a Meson bug, but a problem with your build environment.
WARNING: Running the setup command as meson [options] instead of meson setup [options] is ambiguous and deprecated.
Greetings

Yep both aur and cloning; I've installed these dep like was said in the wiki:
gdb ninja gcc cmake libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland
and cloning with:
git clone --recursive https://github.com/hyprwm/Hyprland
cd Hyprland
sudo make install
I didn't try the manual installation, by copying files in relatives folder, because it will work wo problem.
tried to google the error but I can't find any clue related to glslangValidator

Are you on x86?

Yes

no clue then. Seems like a problem with meson & your system more than anything else.

Yes was seatd that conflicted with other files during its installation.
Thanks for the help


When the .deb is executed, the icon did not appear in the taskbar to access the settings

I installed the project via .deb and the basic functionality with the shortcuts and everything else works perfectly, but the project icon does not appear on the taskbar.
But when the project was cloned and run via yarn, it appeared, and when the settings are updated the bug occurs: https://github.com/maykbrito/mini-video-me/issues/38

Should be fixed in the version 4.0.0


Point be.camp domain to Github pages

DNS for be.camp will need to be updated to point it to github page. We should probably use the A record method.
https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site
and point to the domain to the following IP address
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>

I'm potentially open to using www.be.camp subdomain, but we'll need to make sure be.camp redirects correctly to www.be.camp

Records added, and I moved over the google authentication txt record just in case.


[Candidate 1v1 Sakura Forest II ZH v1] Space behind Supply Docks has unequal width

Observed behavior
Space behind Supply Docks has unequal width. North west Supply Dock is a bit narrower at one side.
Expected behavior
Mirrored Supply Docks offer about equal space for unit mobility.
Screenshots

updated with same passible width on both sides


auth config for agent is misleading

The way authorization is configured for the agent account type is misleading.
This file exists:
https://github.com/rancherio/cattle/blob/master/resources/content/schema/agent/auth.json
but it is not used because the AuthOverlayPostProcessor is not configured here:
https://github.com/rancherio/cattle/blob/master/code/iaas/accounts/src/main/resources/META-INF/cattle/accounts/spring-accounts-context.xml#L173-L186

Closed in favor of rancher/rancher#3860


docs: Broken codepen link

Type: docs
Platform: all
http://ionicframework.com/examples/ in this page, following link is broken http://codepen.io/ionic/public-list
Please update your site.

fixed.


Addition of Sklearn metrics

Proposal

Create wrapper for sklearn metrics in such a manner that it follows the same structure as metrics already implemented in torchflare.

Added integration to torchmetrics no need for sklearn #148


mediabackup ignores --output-filename

mediabackup cmd ignore -o arg and write default filename. So i unable to overwrite single file each time.
-o arg works perfectly with dbbackup

I also ran into this and found it to be pretty easy to fix on my local copy.  In the backup_mediafiles() method in dbbackup/management/commands/mediabackup.py, I just added a short if statement after the comment on line line 88.  So my code looks like:
Create file name
if self.filename:
filename = self.filename
else:
extension =
...
self.filename is set on line 47 in the handle() method.
If you like, I can branch the repo, make the change and commit, but with such a small change, it seemed like this might be easier.

Oops, I'm new to this wiki so I didn't mean to create a title or whatever.  Rather the large font is supposed to be a python comment.  Sorry for the confusion.

@ivakinpavel @ZuluPro were you guys able to find a solution for this.
am getting the same issue

I just modified the code on my system and fixed the bug, but I don’t know if the source tree was ever fixed.

larry

On Sep 27, 2018, at 7:38 AM, Ousmane Seidy Diallo<EMAIL_ADDRESS>wrote:
@ivakinpavel @ZuluPro were you guys able to find a solution for this.
am getting the same issue
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I see there's a pull request for this bug. Any chance of incorporating it shortly, @ZuluPro ?

@jerlbaum
Just missing, unit test. If you want to do them ?

I’ll take a swing at that
On Mon, Mar 4, 2019 at 11:57 AM Anthony Monthe<EMAIL_ADDRESS>wrote:

@jerlbaum https://github.com/jerlbaum
Just missing, unit test. If you want to do them ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/django-dbbackup/django-dbbackup/issues/276#issuecomment-469329321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHc6iIG031LQ1GAmzx7QXMLYnXY_ZbLks5vTVB2gaJpZM4RVSkv
.

--
Jesse Erlbaum
The Erlbaum Group, LLC
817 Broadway, 4th floor
New York, NY 10003
212-684-6161 (office)
917-647-3059 (mobile)
212-684-6226 (fax)
<EMAIL_ADDRESS>

@ZuluPro
I creted pull request #324 to solve this issue.

This issue can be closed since we have already merged the PR #324, can't we? @jonathan-s

That looks correct!


Replace App Studio note

Docs Build status updates of commit 4633206:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/bots/bot-features.md
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/add-power-virtual-agents-bot-to-teams.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Error: Cannot read property 'viewer' of undefined ❌

Describe the bug

The following error occurs when running the action:
Error: There was an error generating the updated file: Cannot read property 'viewer' of undefined ❌

See https://github.com/capawesome-team/capacitor-firebase/runs/7670530335?check_suite_focus=true
Reproduction Steps

Start the workflow with the provided configuration in an organization.
Logs

Run JamesIves/github-sponsors-readme-action@v1
  with:
    token: ***
    file: README.md
    organization: true
    minimum: 5

    GitHub Sponsors Readme Action 💖

    🚀 Getting Started Guide: https://github.com/JamesIves/github-sponsors-readme-action
    ❓ Discussions / Q&A: https://github.com/JamesIves/github-sponsors-readme-action/discussions
    🔧 Report a Bug: https://github.com/JamesIves/github-sponsors-readme-action/issues

    📣 Maintained by James Ives: https://jamesiv.es/
    💖 Support: https://github.com/sponsors/JamesIves
Checking configuration and initializing… 🚚
Fetching data from the GitHub API as Organization… ⚽
Generating updated README.md file… 📁
Generating template… ✨
Error: There was an error generating the updated file: Cannot read property 'viewer' of undefined ❌
There was an error generating sponsors. ❌

See https://github.com/capawesome-team/capacitor-firebase/runs/7670530335?check_suite_focus=true
Workflow

name: Generate Sponsors README

on:
  workflow_dispatch:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Generate Sponsors README
        uses: JamesIves/github-sponsors-readme-action@v1
        with:
          token: ${{ secrets.PAT }}
          file: 'README.md'
          organization: true
          minimum: 5

Source: https://github.com/capawesome-team/capacitor-firebase/blob/main/.github/workflows/sponsors.yml
Additional Comments

Thank you for this awesome project!

At a glance it looks like your PAT doesn't have the correct permission scope to read sponsors for your organization. Which permissions did you give it?

read:org as  mentioned here: https://github.com/JamesIves/github-sponsors-readme-action#optional-choices

Do you have any other ideas? I would really like to use your action because it does exactly what I need. 😄  Do you need any more info?

Sorry I've been away for the last couple weeks.
Does the account you generated the PAT from have read permissions of the org you're requesting the information from?
Besides that you can try running the following query within https://docs.github.com/en/graphql/overview/explorer and see if it works properly. As I don't have an organization I can properly test this with it's entirely possible that the query is just incorrect.

Thank you for your response!
That is the result of the query in line 21 (with action.organization = true):
{
  "data": {
    "viewer": {
      "login": "robingenz",
      "sponsorshipsAsMaintainer": {
        "totalCount": 0,
        "pageInfo": {
          "endCursor": null
        },
        "nodes": []
      }
    }
  }
}

However, I got it working with another query in the GraphQL API Explorer:
query {
  organization (login: "capawesome-team") {
    sponsorshipsAsMaintainer (first: 100) {
      totalCount
      nodes {
        sponsorEntity {
          ... on User {
            login
          }
        }
      }
    }
  }
}

There I got the following result (which is correct):
{
  "data": {
    "organization": {
      "sponsorshipsAsMaintainer": {
        "totalCount": 1,
        "nodes": [
          {
            "sponsorEntity": {
              "login": "bastifix"
            }
          }
        ]
      }
    }
  }
}

So seems to be a problem with the query. Can i provide more information to you?

Thanks for looking into that. I've made a potential fix but could do with your help verifying it if you're able to. Can you point your workflow to the following version: uses: JamesIves/github-sponsors-readme-action@releases/v1-org and let me know if this correctly collects the org level sponsors?

Thanks for looking into that. I've made a potential fix but could do with your help verifying it if you're able to. Can you point your workflow to the following version: uses: JamesIves/github-sponsors-readme-action@releases/v1-org and let me know if this correctly collects the org level sponsors?
If not I'll run some checks on an org I have access to tomorrow morning to get this working.

Thank you for your work!
Unfortunately it did not work.
This is the result: https://github.com/capawesome-team/capacitor-firebase/runs/7858429335?check_suite_focus=true

Should work now if you try again- you may need to give your PAT read:user permissions also

Should hopefully work now if you try again, appears that GITHUB_ACTOR was not the right variable to get the org login - you may need to give your PAT read:user permissions also

I tried that (permission read:user was necessary). The job completed successfully, but my README was not updated.
Action log: https://github.com/capawesome-team/capacitor-firebase/runs/7861134078?check_suite_focus=true
I have 1 sponsor currently (see the result in this comment).

Looks like you're missing a step to commit the README changes back to your project; try adding this to your workflow file;
      - name: Deploy to GitHub Pages 🚀
        uses: JamesIves/github-pages-deploy-action@v4
        with:
          branch: main
          folder: '.'

Combined;
name: Generate Sponsors README

on:
  workflow_dispatch:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Generate Sponsors README
        uses: JamesIves/github-sponsors-readme-action@releases/v1-org
        with:
          token: ${{ secrets.PAT }}
          file: 'README.md'
          organization: true
          minimum: 5
      - name: Deploy to GitHub Pages 🚀
        uses: JamesIves/github-pages-deploy-action@v4
        with:
          branch: main
          folder: '.'

Okay, now it works. 😄 Thank you so much! Feel free to close this issue.

Awesome! I'll graduate v1-org into a proper tagged version tomorrow and then I'll close it. Thanks for the help testing this!

This has been added to the v1.2.0 release! You can point your workflow to JamesIves/github-sponsors-readme-action@v1


Core patient counts table should have some presentation of patient age

I know studies will have their own age resolution and ranges that are most relevant, but could default to showing individual ages or a range to quickly characterize a site's population along with gender race and ethnicity.
Expected: ability to determine a site's general population distribution in the core patient table
Actual: no age column at the moment

Ok, makes sense, good to honor repeatability.
How do we feel about exposing birthyear in Core Patient counts instead? I still think it is important to see the distribution as a population demographic and it is something studies could easily build off

Yeah, that seems like a reasonable add.


ANCM Request Handler versioning spec

ANCM v2 will be installed to %ProgramFiles%\IIS\AspNetCoreModule
> tree %ProgramFiles%\IIS\AspNetCoreModule
├── aspnetcorev2.dll
└── requestHandler
    ├── 1.0
    │   └── outofprocessrh.dll
    ├── 2.0
    │   └── outofprocessrh.dll
    ├── 2.1-preview1
    │   └── outofprocessrh.dll
    ├── 2.1
    │   └── outofprocessrh.dll
    └── 2.2-preview1
        └── outofprocessrh.dll

In the happy path, the user doesn't have to specify a version of the out-of-process requestHandler. By default the latest stable version wins. As an aside, if the handlerVersion is ignored when hostingModel="inprocess"
<configuration>
    <system.webServer>
        <handlers>
            <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified"/>
        </handlers>
        <aspNetCore processPath="dotnet"
                    arguments="myapp.dll"
                    hostingModel="outofprocess"/>
     </system.webServer>
</configuration>

If you don't want to be transparently upgraded you can either pin to a specific version or specify a version range or wildcard. For e.g.,
<configuration>
    <system.webServer>
        <handlers>
            <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified"/>
        </handlers>
        <aspNetCore processPath="dotnet"
                    arguments="myapp.dll"
                    handlerVersion=">=2.1"
                    hostingModel="outofprocess"/>
     </system.webServer>
</configuration>

This table denotes all the permissible values for specifying a stable version range. Previews don't work with range specifiers and only work with exact version. (I tried to borrow logic from NuGet/hostfxr but they are all predicated on using SemVer. Given that our requestHandler has to maintain back-compat we're effectively always performing a patch release and the additional complexity wasn't worth it.)

NOTE: Applying version range rules  or exact version matches can prevent you from receiving security updates.

Notation
Applied rule
Description

1.0
x == 1.0
Exact version match

>1.0
x > 1.0
Minimum version, exclusive

>=1.0
x ≥ 1.0
Minimum version, inclusive

<=1.0
x ≤ 1.0
Maximum version, inclusive

<1.0
x < 1.0
Maximum version, exclusive

2.1-preview1
x == 2.1-preview1
Exact version match

>=2.1-preview1
Invalid

Examples

Arguments
Applied rule

<aspNetCore processPath="dotnet" arguments="myapp.dll" handlerVersion=">=2.1" hostingModel="inprocess"/>
Version ignored due to hostingModel

<aspNetCore processPath="dotnet" arguments="myapp.dll" handlerVersion="2.1" hostingModel="outofprocess"/>
2.1 requestHandler due to exact version match

<aspNetCore processPath="dotnet" arguments="myapp.dll" handlerVersion=">=2.1-preview" hostingModel="outofprocess"/>
Range modifiers are not legal for pre-release versions

<aspNetCore processPath="dotnet" arguments="myapp.dll" handlerVersion=">=1.1" hostingModel="outofprocess"/>
2.1 is latest stable version

@pakrym Thoughts?

I was expecting something more like:
> tree %ProgramFiles%\IIS\AspNetCoreModule\v2
├── aspnetcore.dll
└── requestHandler
    ├── 1.0
    │   └── outofprocessrh.dll
    ├── 2.0
    │   └── outofprocessrh.dll
    ├── 2.1-preview1
    │   └── outofprocessrh.dll
    ├── 2.1
    │   └── outofprocessrh.dll
    └── 2.2-preview1
        └── outofprocessrh.dll

Leaving more room for the eventual v3.

How does handlerVersion apply to our testing environment? Requiring an exact version for nightlies would be painful.

having 1.0 request handler under v2 ANCM doesn't make sense, let's keep major the same.
I think it's fine except that 1.0 means >=1.0 everywhere else

Additionally I would prefer not to produce 2 dlls with the same name and different contents aspnetcore.dll

I don't like that we match version numbers with dotnet. If we need to ship a rapid update to azure, things will be misaligned if we don't have patch versions.

I don't like that we match version numbers with dotnet

I don't think we are matching to dotnet for outofproc, but we are matching to the shim version.

We should use handlerSettings for this and avoid updating schema again.

@coolcsh , Shared hosting providers (and control panel vendors) will be amused and simply may not offer ASP.NET Core hosting beyond ASP.NET Core 2.0. In fact, nobody in the shared hosting industry is going to update control panel software and servers every few months because Microsoft released just another ASP.NET Core handler version for IIS. This update frenzy adds more complexity and maintenance burden hardly anyone in the shared hosting industry is willing to pay for.

Few questions that need to be resolved:

By allowing people to specify the version of the request handler, it puts strain on both the customer and the hoster for knowing which version of the request handler will be on the machine.
Installing a specific version of the out of process request handler isn't possible unless the msi contains all previous versions of the request handler.

why should we add a subfolder "requestHandler" instead of using .net core version directly. Can we ask hostfxr to return the version of .net core for an given app? if possible, we then can put inprocess and outof process under the same folder.  This version folders will make setup a little bit complicated as we have to pass in the version string to the build
the configuration should looks like

Takeaways from today's meeting

No more version ranges. Only exact version matches
Based on engineering risk, we might eliminate previews based additional cost since we're trying to avoid feature creep
No schema change to add handlerVersion, instead we'll use the handlerSettings section

I propose we add patch version to the handlerVersion for a few reasons:

Makes parsing significantly easier (fx_ver_t would match up exactly)
Follows the versioning style of dotnet.

If we're doing x.y.z, I'm assuming we'd version as x.0.z (since technically ever release is a patch release). Is it that what you had in mind?

Notes from today:

MSIs will never install preview versions

This portion is done. Will start validation.


fix: first step in supporting hosts in config.yml and in hosts.yml for gh cli

See https://github.com/cli/cli/pull/1077 for details.

the codecov check looks like it's failing for previous coverage stats :shrug:


Document template system (tmpl)

@serverfire You explained briefly in https://github.com/libreliodev/javascript/issues/91#issuecomment-50732258 the way the template system works, and explained it's used in the pdf reader as well as in the csv reader. We will also use it in the rss reader.
Since we have not been really successful trying to implement the whole js code inside our mobile apps, what we intend to do is to use tmpl files to generate webviews, using native code. We would like to review this option in detail, and in order to do so, we need to have a better understanding of the template system you implemented:

are you using a standard library, or specific code?
can you provide a link to the javascript file(s) where this is implemented?
can you provide more detailed explanations, either in the code or in the wiki?

No longer needed.


(changes made) Add Hacktoberfest 2023 badge #9842

What does this PR do?
Added Hacktoberfest 2023 badge in Readme.md file
For resources
Hacktober Fest 2023
Description
Adding the Hacktoberfest 2023 badge in the ReadmeFile
Why is this valuable (or not)?
This will give the README new info and updates about the Hacktoberfest 2023. and it is valuable because in the old readme file there is no information about the 2023 Hacktober fest
How do we know it's really free?
by clicking on the badge user get to know that it is really free
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

fixes #9839

@eshellman Please take a look i have removed the old badge . Clicking the badge would also take the user to the PRs made between the month of October.

Hey @anshul-132002 why are you copying my PRs? There are several other things that can be added to the repository to make the repository better. Even if you are not copying at least check the existing PRs before creating a new one. https://github.com/EbookFoundation/free-programming-books/pull/9841#issuecomment-1748079781
@eshellman Please correct me if I'm wrong, but I think copying/duplicating PRs is not a good practice in the Open source community.

Duplicate of #9841


rgw/admin: Add ErrNoSuchSubUser

There was no Error for comparing the NoSuchSubUser code.
Example error:
error(github.com/ceph/go-ceph/rgw/admin.statusError) {Code: "NoSuchSubUser", RequestID: "tx0000074e0db2ad9281b8f-00666abc30-10b8-dev1", HostID: "10b8-dev1-dev"}

Reference:
https://github.com/ceph/ceph/blob/8a2a786e62ba1577dde990fef49d18f75efdd023/src/rgw/rgw_common.cc#L106C1-L106C52
Checklist

[ ] Added tests for features and functional changes
[ ] Public functions and types are documented
[x] Standard formatting is applied to Go code
[ ] Is this a new API? Added a new file that begins with //go:build ceph_preview
[ ] Ran make api-update to record new APIs

New or infrequent contributors may want to review the go-ceph Developer's Guide including the section on how we track API Status and the API Stability Plan.
The go-ceph project uses mergify. View the mergify command guide for information on how to interact with mergify. Add a comment with @Mergifyio rebase to rebase your PR when github indicates that the PR is out of date with the base branch.

Added. Unfortunately, I can't test it even though ceph-client is installed via homebrew:
# github.com/ceph/go-ceph/rados
some/path/go-ceph/rados/alloc_hint_flags.go:4:11: fatal error: 'rados/librados.h' file not found
 #include <rados/librados.h>
          ^~~~~~~~~~~~~~~~~~
1 error generated.
FAIL	github.com/ceph/go-ceph/rgw/admin [build failed]


WIP: feature state and upgrade/downgrade testing

Declaring the entire project as "alpha" is not correct anymore,
several features are considered stable and ready for
production. However, some may still be experimental. We need to
document this in more detail and ensure that we have corresponding tests.

TODO:

[ ] get rid of the forked Kubernetes (issue #722)

should the test really be called "version skew"?

I've added actual skew testing, so the overall name of the new testsuite seems suitable. I kept it.

CI testing ran into an "interesting" error:

01:13:50.064     pmem-driver: WAITING: ImagePullBackOff - Back-off pulling image "intel/pmem-csi-driver:v0.7.19"

I suspect that was because the release had been tagged, but the image wasn't pushed yet by our CI. Determining which release to test against must be made more intelligent to account for that...

The problem I asked about in https://github.com/intel/pmem-csi/pull/637/commits/acfeaf686dad8226bf77b30ff8121139641c0645#r436079052 was causing timeouts in the CI testing. I've reverted that commit.

@pohly We could revert 1a433b7437bf14464d68014aaf032e43243d2e21. I see that is causing the operator to detect default values as changes.

@pohly We could revert 1a433b7. I see that is causing the operator to detect default values as changes.

Let's discuss in https://github.com/intel/pmem-csi/issues/742 - this is not related to this PR.

@avalluri : both PR and branch testing have passed. Please review.
The PR contains more than just version skew testing because other things came up while working on this. I can pull out some changes into separate PRs if you want, but others then will cause merge conflicts.


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/Constellation/escodegen
https://github.com/estools/escodegen

Other Corrected URLs

Was
Now

http://npmjs.org
https://www.npmjs.com/

https://www.npmjs.org/package/acorn
https://www.npmjs.com/package/acorn

Thank you Readme Critic. Merged as 5df3881

:+1:


Not an issue

Not an issue, just posting this here to show I have accepted the invite

ok

GitHub Desktop is currently uploading all the files and stuff

CODE IS UPLOAD!

Try to build it now, you were putting OG instead of Old

Mainly because you renamed the images but not the character file

oh

Creating library ApplicationMain.lib and object ApplicationMain.exp
49d10c9b_NV_depth_nonlinear.obj : error LNK2011: precompiled object not linked in; image may not run
Hint on symbols that are defined and could potentially match:
__@@PchSym@00@UumuRkhbxsPvmtrmvRhlfixvUumuRyzolmvbvmtrmveCRnzrmUvckligUivovzhvUdrmwldhUlyqUlyqUnhexBJGERmxUPPkxsUifmgrnvUscxkkOlyq@link9f427fbb282f3ea6dbaa0233bdb91576
__@@PchSym@00@UumuRyzolmvbRvmtrmvUvckligUivovzhvUdrmwldhUlyqUlyqUnhexBJGERmxUPPkxsUszcvUscxkkOlyq@link54406bf8480fba887f066eae07c0abf2
ApplicationMain.exe : fatal error LNK1120: 1 unresolved externals
done.
Press any key to continue . . .
it always does this (proceeds to rebuild the whole thing)

I don't know what the issue is with that honestly

me niether. but just deleting every export thing does the trick usually

say, do u have an fnf chromatic? (if u dont know who im talking about, a YOU chromatic)

I do, and I have a FNF character, though I have to redo my chromatic... it honestly just sounds like I'm depressed lol

Also, I won't be able to comment for the next hour, I have to finish up here at work

ok

Uh....

(character is locked for some reason)

hi

https://www.youtube.com/watch?v=f-LkpP4ELsI

could we do this as a chat thing, or do u still prefer discord?

If this is a chat thing then anyone else could see it and interrupt it. I also don't really pay attention to my Gmail, so that wouldn't work that well either

ok


omconvert.py doesn't process  the whole .omx file if there is a long non-wear period

Hi @danielgjackson ! Thanks for the great tool. I have used OmConvert tool (from openmovement.process) to convert my .omx files (from MoveMonitor) to .csv. I noticed that when there's a long non-wear period (>24 h) in the middle of the measurement, OmConvert stops and does not process the rest of the file. Is there any possibility to get the rest of file also converted/analysed even though there are long periods of non-wear time?
Thanks!
Ilona

The Python code uses an underlying binary:

https://github.com/digitalinteraction/omconvert

The maximum "gap" duration is set to 7 days here:

https://github.com/digitalinteraction/omconvert/blob/master/src/omconvert/omdata.c#L1409

The reason there is a maximum value is that omconvert is designed to always generate a fixed output rate -- even if there are gaps.  This makes sense for .WAV files, as they have only got a single block of samples, so cannot have any gaps.  For CSV, this still makes sense if the user really wants a fixed rate.
If the allowed gap was much larger, the output file will become even larger, and mostly filled with empty content.
What range of gaps do you have in your data files?
I have already started work on a Python-based OMX loader, and I think this will be more appropriate for your job -- I will update this issue when it is ready.


fix(sage-monorepo): format on save Python files with black

Closes #2261
Description
Configure Format On Save for Python files.
Changelog

Prevent flake8 from running when saving Python files
Add VS Code extension ms-python.black-formatter to the dev container
Configure Format On Save with Black for Python files

Notes

See Migration to Python Tools Extensions
Requires the new extension to be installed, either manually or by rebuilding the dev container.

Also, the Black extension for VS Code says:

The bundled black is only used if there is no installed version of black found in the selected python environment.

Your Python project must still have black as a dev dependencies in your project poetry file. The above feature of the Black extension means that the output of formatting with black programmatically (e.g. in the CI workflow) and in VS Code (Format On Save) should be the same.
Here is the version of Black bundle with the extension used when a Python project does not provide black itself.
2023-10-20 21:42:05.244 [info] SUPPORTED black>=22.3.0
FOUND black==23.3.0

After preparing the Python environment for schematic-api and activating it in VS Code, we can see that Format On Save use the version of Black specified by the schematic-api project. It is this version that will be executed by the CI workflow.
In pyproject.toml:
[tool.poetry.group.dev.dependencies]
black = "23.7.0"

2023-10-20 21:57:26.170 [info] SUPPORTED black>=22.3.0
FOUND black==23.7.0

Preview
Format On Save

@tschaffter We're already using black in the schamtic API of the Monorepo. How will that interact with this change?

@andrewelamb I believe that you are running Black CLI to format Python files. This PR enables to format files when saving them in VS Code, which will save you time and improve DX.

@tschaffter I don't think I'm understanding the distinction, I scheduled a meeting tomorrow to discuss amongst a few other issues.


add AZURE support

Hi,
really great work! Was wondering if you have Azure support planed?
Thanks!

Yes it's planned :) I will keep you in touch when it is implemented !

Thanks for the fast answer.
Great to hear, looking forward to it. Have a nice week.

Interested too :)

+1

@fabriciomassula @janober  I've created a slack community on Scrapoxy (check at the end of http://scrapoxy.io to register)

Is it still in roadmap?

added in 4.0.0

Hey there! 🌟 Exciting news! Scrapoxy 4 is ready to rock 🚀. Check it out at Scrapoxy.io (explore the "get started" guide, deployment documentation, and more 📚).
I can't wait to hear your feedback on this new version! Send me your coolest screenshots with as many proxies as possible! 📸💻
Join the Discord community if you have any questions or just want to chat. You can also open a GitHub issue for any bug or feature request 🐞✨.
See you soon!  😎
Fabien


The solana.tokenlist.json file has gotten out of hand

I'm submitting a ...
[ ] bug report
[ x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

The solana.tokenlist.json isn't even valid json anymore as people just seem to add content at the end of the file without knowing what json is. They are putting content past the "version" property that should be in the "tokens" property. The file si also 23271 lines of JSON which is considerable amount and most likely isn't going to shrink but only expand.

Someone also committed a .solana.tokenlist.json.swp  as the .gitignore file doesn't exclude these hidden files. This swap file is used by vim and any user that tries to modify the file solana.tokenlist.json file to add tokens using vim solana.tokenlist.json will get a big warning and needs to manually delete that hidden file.

Opening the file in an Editor like IntelliJ, will have issues as IDEs try and format the json and possibly delete some spaces, tabs, etc... matching their code styling. This is not allowed however as there is a git auto merge check that fails because something was possibly deleted while opening the file. Even though users only added their lines of code, their IDE most likely did something to mess with the layout. Just looking at the amount of Issues at the moment seem to all have these types of issues.

Maybe a better solution would be to have a single directory per token (like the /assets/tokenId/logo.png) and have the user add all content needed for their token at this single location. All above issues would be fixed instant. E.g.
/tokens
/TOKEN_ID
logo.png
token.json
token.json example would be:
{     "chainId": 101,     "address": "YOUR_TOKEN_ID,     "symbol": "YOUR_SYMBOL",     "name": "YOUR_NAME",     "decimals": 9,     "logoURI": "logo.png",     "tags": [       "utility-token"     ],     "extensions": {       "website": "https://url-to-your-website"     }   }
Then improve the README.md file with these steps to take.
Then have some code running while processing the file solana.tokenlist.json to get all the token.json files in all directories and populate the file "tokens" property.
This would benefit all users adding new tokens and Solana developers in charge of checking the pull requests. As new users do NOT have to change any code from other users and thus no failed pull request and accidentally deleted lines due to formatting by IDEs.

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Nice suggestion. I hope they consider this as it will solve most problems.

Great idea

Agreed, github/solana-labs is moving very slow these days, hard to get anything done!

Please read the SPL-token README, and ensure your SPL-token info uses the correct Uniswap format.

This was solved by the new automerge bot, which prevents any invalid changes to the JSON

This hasn’t been solved, wha the heck you guys make this so hard to do, I have a green tick next to everything, it just needs approving

On 24 Nov 2021, at 20:50, Leopold Schabel @.***> wrote:
This was solved by the new automerge bot, which prevents any invalid changes to the JSON
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/solana-labs/token-list/issues/3479#issuecomment-978210522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWO5U3JVLEPAZK6BUJWSENDUNVFYTANCNFSM5HTXPO2Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Maybe it’s time to tell-open this ticket as the open pull request with merge issues has REALLY gotten out if hand and the build script ‘solution’ is obvious not a solution. This feature request displays a solution but anything is better than what is happening now.


⚠ Bofrost.es has degraded performance

In 2152959, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 2497 ms

Resolved: Bofrost.es performance has improved in 0d42551 after 20 minutes.


Create AWS IAM user account

Overview
Create AWS IAM user account for a team member in order to grant access for managing purposes.
Action Items
Create a user with username antonina_v
Email is<EMAIL_ADDRESS>Autogenerate temporary password
Tag slack_id, and tag email
Place account in ops IAM Group
Send csv of credentials to the requester
Resources/Instructions
https://github.com/hackforla/ops/wiki/AWS-User-Management

created a user account and assigned them to Groups.


Crash on main map

I was traveling to a city when this crash occured

Hey, just released a hotfix for this, could you download that and see if that solves your issue?

Duplicate of #85 please move conversations to that ticket.


Delete Users/Assessments

In response to answer in issue #484 ...
Will DeleteUser stored procedure also delete all of that users assessments, or is it necessary to also run DeleteAssessment?
Is order import in the latter case?

Question answered with recently posted 10.2.0 code and associated Stored Procedures.


Multiple Python 3.10+ issues

Pillow 8.0.0 does not support Python 3.10 - EDIT see https://github.com/jmathai/elodie/pull/415
a. does not provide prebuilt Windows binaries
tabulate (0.7.7) latest version as of 2022-11-12 does not support Python >=3.10 EDIT see https://github.com/jmathai/elodie/issues/418#issuecomment-1312533645
SyntaxWarning: "is" with a literal.
Nose test suite - not supported (nor maintained)

Pillow
C:\Users\clach04\AppData\Local\Temp\pip-install-i85cqwbb\pillow_86813ad0d0c649aabea19ecf8728fa8d\setup.py:41: RuntimeWarning: Pillow 8.0.0 does not support
Python 3.10 and does not provide prebuilt Windows binaries. We do not recommend building from source on Windows.

workaround:
pip install pillow  # or edit requirements.txt

pillow-9.3.0 installs fine
tabulate
import error
(py310venv) C:\code\py\elodie>python elodie.py
Traceback (most recent call last):
  File "C:\code\py\elodie\elodie.py", line 32, in <module>
    from elodie.result import Result
  File "C:\code\py\elodie\elodie\result.py", line 1, in <module>
    from tabulate import tabulate
  File "C:\py310venv\lib\site-packages\tabulate.py", line 7, in <module>
    from collections import namedtuple, Iterable
ImportError: cannot import name 'Iterable' from 'collections' (C:\Pythons\Python310\lib\collections\__init__.py)

Hack to tabulate
#from collections import namedtuple, Iterable
from collections import namedtuple
try:
    from collections import Iterable
except ImportError:
    from collections.abc import Iterable

syntax warning
(py310venv) C:\code\py\elodie>python elodie.py
C:\py310venv\lib\site-packages\tabulate.py:201: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if isinstance(val, (_text_type, _binary_type)) and val.strip() is "":
Usage: elodie.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  batch        Run batch() for all plugins.
  generate-db  Regenerate the hash.json database which...
  import       Import files or directories by reading their...
  update       Update a file's EXIF.
  verify

2nd hack:
    #if isinstance(val, (_text_type, _binary_type)) and val.strip() is "":
    if isinstance(val, (_text_type, _binary_type)) and val.strip() == "":

Nose
(py310venv) C:\code\py\elodie_upstream>python -m pip install -r elodie/tests/requirements.txt
Ignoring Pillow: markers 'python_version == "2.7"' don't match your environment
Collecting click==6.6
  Using cached click-6.6-py2.py3-none-any.whl (71 kB)
Collecting requests==2.20.0
  Using cached requests-2.20.0-py2.py3-none-any.whl (60 kB)
Collecting Send2Trash==1.3.0
  Using cached Send2Trash-1.3.0.tar.gz (5.6 kB)
  Preparing metadata (setup.py) ... done
Collecting future==0.16.0
  Using cached future-0.16.0.tar.gz (824 kB)
  Preparing metadata (setup.py) ... done
Collecting configparser==3.5.0
  Using cached configparser-3.5.0.tar.gz (39 kB)
  Preparing metadata (setup.py) ... done
Collecting tabulate==0.7.7
  Using cached tabulate-0.7.7-py2.py3-none-any.whl (31 kB)
Collecting Pillow==9.3
  Using cached Pillow-9.3.0-cp310-cp310-win_amd64.whl (2.5 MB)
Collecting six==1.9
  Using cached six-1.9.0-py2.py3-none-any.whl (10 kB)
Collecting flake8==2.6.2
  Using cached flake8-2.6.2-py2.py3-none-any.whl (38 kB)
Collecting mock==1.3.0
  Using cached mock-1.3.0-py2.py3-none-any.whl (56 kB)
Collecting nose==1.3.7
  Using cached nose-1.3.7-py3-none-any.whl (154 kB)
Collecting chardet<3.1.0,>=3.0.2
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3<1.25,>=1.21.1
  Using cached urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
     ---------------------------------------- 155.3/155.3 KB 1.6 MB/s eta 0:00:00
Collecting idna<2.8,>=2.5
  Using cached idna-2.7-py2.py3-none-any.whl (58 kB)
Collecting pycodestyle<2.1,>=2.0
  Using cached pycodestyle-2.0.0-py2.py3-none-any.whl (42 kB)
Collecting pyflakes!=1.2.0,!=1.2.1,!=1.2.2,<1.3,>=0.8.1
  Using cached pyflakes-1.2.3-py2.py3-none-any.whl (209 kB)
Collecting mccabe<0.6,>=0.2.1
  Using cached mccabe-0.5.3-py2.py3-none-any.whl (8.5 kB)
Collecting pbr>=0.11
  Using cached pbr-5.11.0-py2.py3-none-any.whl (112 kB)
Using legacy 'setup.py install' for Send2Trash, since package 'wheel' is not installed.
Using legacy 'setup.py install' for future, since package 'wheel' is not installed.
Using legacy 'setup.py install' for configparser, since package 'wheel' is not installed.
Installing collected packages: tabulate, six, Send2Trash, pyflakes, pycodestyle, nose, mccabe, idna, future, configparser, click, chardet, urllib3, Pillow, pbr, f
lake8, certifi, requests, mock
  Running setup.py install for Send2Trash ... done
  Running setup.py install for future ... done
  Running setup.py install for configparser ... done
Successfully installed Pillow-9.3.0 Send2Trash-1.3.0 certifi-2022.12.7 chardet-3.0.4 click-6.6 configparser-3.5.0 flake8-2.6.2 future-0.16.0 idna-2.7 mccabe-0.5.3
 mock-1.3.0 nose-1.3.7 pbr-5.11.0 pycodestyle-2.0.0 pyflakes-1.2.3 requests-2.20.0 six-1.9.0 tabulate-0.7.7 urllib3-1.24.3
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the 'C:\code\py\elodie_upstream\py310venv\Scripts\python.exe -m pip install --upgrade pip' command.

(py310venv) C:\code\py\elodie_upstream>python elodie/tests/run_tests.py
Traceback (most recent call last):
  File "C:\code\py\elodie_upstream\elodie\tests\run_tests.py", line 36, in <module>
    result = nose.run(argv=test_argv)
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\core.py", line 301, in run
    return TestProgram(*arg, **kw).success
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\core.py", line 118, in __init__
    unittest.TestProgram.__init__(
  File "C:\pythons\Python310\lib\unittest\main.py", line 100, in __init__
    self.parseArgs(argv)
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\core.py", line 179, in parseArgs
    self.createTests()
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\core.py", line 193, in createTests
    self.test = self.testLoader.loadTestsFromNames(self.testNames)
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\loader.py", line 481, in loadTestsFromNames
    return unittest.TestLoader.loadTestsFromNames(self, names, module)
  File "C:\pythons\Python310\lib\unittest\loader.py", line 220, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "C:\pythons\Python310\lib\unittest\loader.py", line 220, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\loader.py", line 454, in loadTestsFromName
    return LazySuite(
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\suite.py", line 53, in __init__
    super(LazySuite, self).__init__()
  File "C:\pythons\Python310\lib\unittest\suite.py", line 22, in __init__
    self._tests = []
  File "C:\code\py\elodie_upstream\py310venv\lib\site-packages\nose\suite.py", line 106, in _set_tests
    if isinstance(tests, collections.Callable) and not is_suite:
AttributeError: module 'collections' has no attribute 'Callable'

Looks like upstream tabulate already fixed python > 3.9 issue(s)
https://github.com/astanin/python-tabulate/blob/83fd4fb98926c8a6fdf45caa1b91ee8913b64dcb/tabulate/__init__.py#L4

diff --git a/requirements.txt b/requirements.txt
index 33f5dbb..8484b21 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,5 +5,6 @@ future==0.16.0
 configparser==3.5.0
 tabulate==0.7.7
 Pillow==6.2.2; python_version == '2.7'
-Pillow==8.0; python_version >= '3.6'
+#Pillow==8.0; python_version >= '3.6'
+Pillow==9.3.0; python_version >= '3.6'
 six==1.9

I'll fix this once I get the tests updated to work with the new MapQuest API (gh-421).

Nose (the testing framework used for this project) does not support python 3.10. Fixing these errors and passing tests looks like it requires a larger effort of moving to pytest or similar.

What workaround can/should we use on macos ?

You can download python 3.9 for OSX or use homebrew.

@jmathai Thanks
I'm getting the following error when using python 3.9:
python3.9 ~/elodie/elodie.py
Traceback (most recent call last):
  File "/Users/me/elodie/elodie.py", line 9, in <module>
    import click
ModuleNotFoundError: No module named 'click'

@gilles6 Did you run pip install -r requirements.txt?

@jmathai Yes, I did
~/elodie master $ pip install -r requirements.txt
Ignoring Pillow: markers 'python_version == "2.7"' don't match your environment
Requirement already satisfied: click==6.6 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (6.6)
Requirement already satisfied: requests==2.20.0 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (2.20.0)
Requirement already satisfied: Send2Trash==1.3.0 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (1.3.0)
Requirement already satisfied: future==0.16.0 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (0.16.0)
Requirement already satisfied: configparser==3.5.0 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 5)) (3.5.0)
Requirement already satisfied: tabulate==0.7.7 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (0.7.7)
Requirement already satisfied: Pillow==9.3 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 8)) (9.3.0)
Requirement already satisfied: six==1.9 in /usr/local/lib/python3.10/site-packages (from -r requirements.txt (line 9)) (1.9.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.10/site-packages (from requests==2.20.0->-r requirements.txt (line 2)) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/site-packages (from requests==2.20.0->-r requirements.txt (line 2)) (2022.9.24)
Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python3.10/site-packages (from requests==2.20.0->-r requirements.txt (line 2)) (2.7)
Requirement already satisfied: urllib3<1.25,>=1.21.1 in /usr/local/lib/python3.10/site-packages (from requests==2.20.0->-r requirements.txt (line 2)) (1.24.3)
$ cd ~/Pictures/test
$ python3.9 ~/elodie/elodie.py input output
Traceback (most recent call last):
  File "/Users/gvigner/elodie/elodie.py", line 9, in <module>
    import click
ModuleNotFoundError: No module named 'click'

Your pip install -r requirements.txt is installing the packages for python 3.10. You can see this in the path which is being referenced (Requirement already satisfied: click==6.6 in /usr/local/lib/python3.10/site-packages).
Try this instead. python3.9 -m pip install -r requirements.txt

Same issue on Python 3.10
Traceback (most recent call last):
  File "/home/user/IdeaProjects/elodie/./elodie.py", line 32, in <module>
    from elodie.result import Result
  File "/home/user/IdeaProjects/elodie/elodie/result.py", line 1, in <module>
    from tabulate import tabulate
  File "/home/user/IdeaProjects/elodie/venv/lib/python3.10/site-packages/tabulate.py", line 7, in <module>
    from collections import namedtuple, Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

How to fix working with python 3.9 on ubuntu:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.9
sudo apt install python3.9-distutils
python3.9 -m pip install -r requirements.txt
python3.9 ./elodie.py import --help


autoSelect :false isn't working

I tried autoSelect :false and also autoSelect :"false"
Doesn't work. What to do ?

Sorry, GitHub issues are meant for bug reports and feature suggestions, not general support. You may be able to find help for your issue on StackOverflow.
P.S. autoselect=false


V0.2.0

I this PR:

Removing useObservable from the API

After long process of consideration: I've reached the conclusion that it would be better to remove useObservable from the API. I think that if this library is used as it's intended, then there is no need to export it.
I'm more than willing to revisit this decision in the future if I see evidence (through non-contrived examples) that this hook is actually needed.

New overload for connectFactoryObservable

Another change in v0.2.0 is the fact that the getObservable function of connectFactoryObservable can now take an Object as the instance key. I'm still not convinced about this new overload, but I can think of a few use-cases when it could be good to have it. Although, admittedly I've never encountered myself a situation when this is needed... So, am wondering if I should wait until we find real use-cases before adding it to the API? I don't know, on the other hand: it doesn't really hurt to have it?

Adding code of conduct

We got a logo thanks to @clayforthcarr !! :tada: :bow:
(Actually, I just dropped this commit from the PR and I added directly to main... I couldn't wait!)

I'm not really sure about this one... It would be nice if we can think of an example where this would be useful...

:100: I'm dropping the commit


lisa-update all

Teach lisa-update to update itself.  As requested in #103

Apart from some minor corrections I think we have now a much more robust update procedure.
Thanks for the effort :+1:

I've updated the pull request again and incorporated your suggestions.  I've done the generic remote name, I hope that the logic doesn't add too much complexity.

Thanks for all the passionate effort... let's merge it! ;-)


Initial autoincrements

Hello,
is there a possibility to set initial autoincrement-values in the xml file or in the models? At the moment we have a fixes.sql script as workaround at our vagrant development machines.

I was wondering the same not too long ago.  I ended up doing the same type of work around but it would have been nice to declare the starting point for auto-increment in the table schema itself.

I'd use migration files or set in the fixtures a primary key explicitly. There's no way of setting an initial value in the schema.xml and I don't think this would make sense as the schema is for mapping not initializing the database.