[Bug]: not able to use the script...

enex2notion version
latest from today
What OS are you using?
MacOS
OS Version / Linux distribution
14.6.1
Bug description
got the following error message:
(myenv) Zivs-M1-MacBook-Pro:output_dir gillat$ enex2notion --token v02%3Auser_token_or_cookies%3AGNGm-P4DNvyYAKq4mk3U_xxAa4KWAiOSiAi0W4Syg8pLd31gz1-DlqPw_7i8ksoVuH4cIeIfwr8kxAkD_JHcWczRq4iggGhHMIcrpnJBs2ocU883MHng5RiI2xFjGceNGl8J "Audio.enex"
Traceback (most recent call last):
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 466, in _make_request
self._validate_conn(conn)
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 1095, in _validate_conn
conn.connect()
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connection.py", line 652, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connection.py", line 805, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/util/ssl.py", line 465, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/util/ssl.py", line 509, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 455, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 1042, in _create
self.do_handshake()
File<EMAIL_ADDRESS>line 1320, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 789, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 490, in _make_request
raise new_e
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 873, in urlopen
return self.urlopen(
^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 873, in urlopen
return self.urlopen(
^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 873, in urlopen
return self.urlopen(
^^^^^^^^^^^^^
[Previous line repeated 2 more times]
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/connectionpool.py", line 843, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.notion.so', port=443): Max retries exceeded with url: /api/v3/loadUserContent (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/homebrew/bin/enex2notion", line 8, in
sys.exit(main())
^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/enex2notion/cli.py", line 47, in main
cli(sys.argv[1:])
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/enex2notion/cli.py", line 26, in cli
root = get_root(args.token, args.root_page)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/enex2notion/cli_notion.py", line 21, in get_root
client = get_notion_client(token)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/enex2notion/cli_notion.py", line 31, in get_notion_client
return NotionClient(token_v2=token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/notion/client.py", line 113, in init
self._update_user_info()
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/notion/client.py", line 144, in _update_user_info
records = self.post("loadUserContent", {}).json()["recordMap"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/ratelimit/decorators.py", line 113, in wrapper
return func(*args, **kargs)
^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/ratelimit/decorators.py", line 80, in wrapper
return func(*args, **kargs)
^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/notion/client.py", line 275, in post
return self._post(endpoint, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/notion/client.py", line 283, in _post
response = self.session.post(url, json=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/requests/sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/enex2notion/0.3.1_8/libexec/lib/python3.12/site-packages/requests/adapters.py", line 698, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.notion.so', port=443): Max retries exceeded with url: /api/v3/loadUserContent (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))
(myenv) Zivs-M1-MacBook-Pro:output_dir gillat$
Log excerpt
No response

me too.
I would really appreciate it if you could fix this.

@ZivTow4Tech @neripark take a look at this closed issue, it discusses the problem you're having. For OS X, I just put in a final comment that was the precise steps that worked for me.
SSL Cert fix
It was a bit tricky to find b/c it was already closed, but searching issues & discussions (both open and closed) with key bits of your error message is helpful in projects like this.
@vzhd1701 Think you can mark this one closed/duplicate.

Will do. Thank you. Much appreciated.
On Sun, Dec 1, 2024 at 3:03 PM ACSmith07 @.***> wrote:

@ZivTow4Tech https://github.com/ZivTow4Tech @neripark
https://github.com/neripark take a look at this closed issue, it
discusses the problem you're having. For OS X, I just put in a final
comment that was the precise steps that worked for me.
SSL Cert fix https://github.com/vzhd1701/enex2notion/issues/119
It was a bit tricky to find b/c it was already closed, but searching
issues & discussions (both open and closed) with key bits of your error
message is helpful in projects like this.
@vzhd1701 https://github.com/vzhd1701 Think you can mark this one
closed/duplicate.
—
Reply to this email directly, view it on GitHub
https://github.com/vzhd1701/enex2notion/issues/120#issuecomment-2510292247,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDNC5MFSDCG2GT2IE7FVCOT2DOISVAVCNFSM6AAAAABNNESQGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJQGI4TEMRUG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Based on macOS, I encountered the same issue, and here's the solution provided by ChatGPT:
The error indicates that the enex2notion tool is experiencing SSL certificate verification failure when using the requests library to communicate with Notion's API. This is usually due to a lack of trusted CA certificates or incorrect certificate path configuration. Here are the solutions:

Use the certificate path from certifi:
export REQUESTS_CA_BUNDLE=$(python3 -c "import certifi; print(certifi.where())")

Retry the enex2notion command.

If it doesn't work, try turning off any proxy or VPN and give it another try. Best of luck to everyone! This is a solution provided as an answer to a GitHub issue.


Final branch

In this PR :
I create an animals table.
I Insert some animals into the table.
I create all the necessary queries

dear reviewer
please do not forget to explain how I may add pictures of my screenshot to the pr request


SIL: Verify kinds of vtable entries.

Validate that inherited entries are not left at "normal" state, and that non-overridden entries do not in fact have overrides.

@swift-ci Please test


Component#sendAction is deprecated

Hi,
I'm seeing deprecation warnings like these every time I drag and drop something in my Ember app. I only started seeing this after updating from Ember 2 to Ember 3.
Is there a way to fix these warnings? I am using closure actions.
deprecate.js:120 DEPRECATION: You called <my-ember-app@component:draggable-object::ember1505>.sendAction("action") but Component#sendAction is deprecated. Please use closure actions instead. [deprecation id: ember-component.send-action] See https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action for more details.
        at logDeprecationStackTrace (http://localhost:4200/assets/vendor.js:49870:23)
        at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:49964:11)
        at raiseOnDeprecation (http://localhost:4200/assets/vendor.js:49897:11)
        at HANDLERS.(anonymous function) (http://localhost:4200/assets/vendor.js:49964:11)
        at invoke (http://localhost:4200/assets/vendor.js:49976:11)
        at deprecate (http://localhost:4200/assets/vendor.js:49935:30)
        at Class.sendAction (http://localhost:4200/assets/vendor.js:45268:46)
        at Class.getObject (http://localhost:4200/assets/my-ember-app.js:5665:28)
        at Class.handlePayload (http://localhost:4200/assets/vendor.js:153712:41)

Thanks

I've traced it to here:
https://github.com/mharris717/ember-drag-drop/blob/687f7debed01f4ab38ee893748c87dfc74b23779/app/models/coordinator.js#L15-L21

Funny, I thought we had refactored all of these out.  I'll try and get it fixed soon.  Of course, PR's are always welcome.

I don't think that model is even getting used anymore.  That's legacy code.

Hmm that's funny. I'm using 0.6.3 in my package.json and yarn.lock:
<EMAIL_ADDRESS>  version "0.6.3"
  resolved "https://registry.yarnpkg.com/ember-drag-drop/-/ember-drag-drop-0.6.3.tgz#65e2adfffd427875a0fb2e9f15f470dcad2e5d3d"
  integrity sha512-rVrJW66IjFdujdbxEm24lX8XbaqMdGyqIQsF5iEOUlxHttNA1Fyqr8tXb2dL5VSAl32jv9WhLuGBpsOPMlgvBQ==
  dependencies:
    ember-cli-babel "7.1.3"
    ember-jquery-legacy "^1.0.0"

which is the latest version on the releases page right now

Always happy to help out with a PR but in this case I don't really understand how that code is used or how to safely remove it.

No problem, yeah I need to look into this a bit more. I'm sure we don't need this model anymore, but I need to verify that.

@dgavey do you guys still need help removing these? I'm getting the warnings in my code.

Any update on this depreciation refactor?

@dgavey please let me know if you need help removing these.

@dgavey please let me know if you need help removing these.

@rwwagner90 If you want to create a PR for this, I'd happily merge and release a new version.

@rwwagner90 If you want to create a PR for this, I'd happily merge and release a new version.

@dgavey not sure if this works or not, but should fix the deprecation https://github.com/mharris717/ember-drag-drop/pull/180

@dgavey not sure if this works or not, but should fix the deprecation https://github.com/mharris717/ember-drag-drop/pull/180

Appears to be fixed in https://github.com/mharris717/ember-drag-drop/releases/tag/v0.9.0-beta.0 but it says once it's been declared stable there will be an 0.9 release, but that was in 2021. Is this project dead?

@dgavey @mharris717 would you be interested in transferring this to adopted-ember-addons or adding some of us as maintainers here?

Yes, but I don't own the repo. So I can't transfer it to you.  I would suggest forking it instead and republishing, then I can shut this down and point to a different one. Maybe NPM can somehow also point to the new repo, not sure.

Do you have any contact with @mharris717? Would he be willing to transfer it?

I don't have any contact with him or ability to contact him anymore.


Deserializing an object of externally tagged typetag trait objects into a Vec of trait objects

Hello!
I have structs similar to
#[derive(Deserialize, Serialize])
struct Config {
  pub rules: Option<RuleConf>
}

#[derive(Deserialize, Serialize])
struct RuleConf {
  pub errors: Vec<Box<dyn CstRule>>,
  pub warnings: Vec<Box<dyn CstRule>>
}

where CstRule is typetagged as externally typed. what my goal is is to be able to parse the config from this:
[rules.errors]
something_here = { some_prop = "foo" }

[rules.warnings]
something_else = {}

where something_here and something_else are the "tags" i set for the typetag, like #[typetag::serde(name = "something_else")].
This structure of vectors does not currently work, because it ends up being a vector of objects, with each object having a single key being the name of the typetag. What i basically want to do is flatten that into an object with those keys.
I also tried a HashMap<String, Box<dyn CstRule>> and flattened it, but that fails to deserialize for more than one item.
I would also like to make the deserialization case insensitive, e.g. something_else and SomethingElse both work. I tried using serde-aux's attribute for this but that does not work. And i cant exactly apply it to the enum which would be generated by typetag.
Id love to know if there is a way to do this without manually implementing deserialize 🙂

You could do something like this:
// [dependencies]
// heck = "0.3"
// indoc = "1.0"
// serde = { version = "1.0", features = ["derive", "rc"] }
// toml = "0.5"
// typetag = "0.1"

use heck::CamelCase;
use indoc::indoc;
use serde::de::value::MapAccessDeserializer;
use serde::de::{DeserializeSeed, Deserializer, IntoDeserializer, MapAccess, Visitor};
use serde::Deserialize;
use std::fmt::{self, Debug};
use std::marker::PhantomData;

#[typetag::deserialize]
trait CstRule: Debug {}

#[derive(Deserialize, Debug)]
struct SomethingHere {
    some_prop: String,
}

#[typetag::deserialize]
impl CstRule for SomethingHere {}

#[derive(Deserialize, Debug)]
struct SomethingElse {}

#[typetag::deserialize]
impl CstRule for SomethingElse {}

#[derive(Deserialize, Debug)]
struct Config {
    rules: Option<RuleConf>,
}

#[derive(Deserialize, Debug)]
struct RuleConf {
    #[serde(deserialize_with = "from_typetag_objects")]
    errors: Vec<Box<dyn CstRule>>,
    #[serde(deserialize_with = "from_typetag_objects")]
    warnings: Vec<Box<dyn CstRule>>,
}

fn from_typetag_objects<'de, D, T>(deserializer: D) -> Result<Vec<T>, D::Error>
where
    D: Deserializer<'de>,
    T: Deserialize<'de>,
{
    struct TypetagObjects<T> {
        _type: PhantomData<T>,
    }

    impl<'de, T> Visitor<'de> for TypetagObjects<T>
    where
        T: Deserialize<'de>,
    {
        type Value = Vec<T>;

        fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
            formatter.write_str("zero or more typename-to-value pairs")
        }

        fn visit_map<M>(self, mut map: M) -> Result<Self::Value, M::Error>
        where
            M: MapAccess<'de>,
        {
            let mut vec = Vec::new();
            while let Some(key) = map.next_key::<String>()? {
                let de = MapAccessDeserializer::new(Entry {
                    key: Some(key.to_camel_case().into_deserializer()),
                    value: &mut map,
                });
                vec.push(T::deserialize(de)?);
            }
            Ok(vec)
        }
    }

    struct Entry<K, V> {
        key: Option<K>,
        value: V,
    }

    impl<'de, K, V> MapAccess<'de> for Entry<K, V>
    where
        K: Deserializer<'de, Error = V::Error>,
        V: MapAccess<'de>,
    {
        type Error = V::Error;

        fn next_key_seed<S>(&mut self, seed: S) -> Result<Option<S::Value>, Self::Error>
        where
            S: DeserializeSeed<'de>,
        {
            self.key.take().map(|key| seed.deserialize(key)).transpose()
        }

        fn next_value_seed<S>(&mut self, seed: S) -> Result<S::Value, Self::Error>
        where
            S: DeserializeSeed<'de>,
        {
            self.value.next_value_seed(seed)
        }
    }

    deserializer.deserialize_map(TypetagObjects { _type: PhantomData })
}

fn main() {
    let input = indoc! {r#"
        [rules.errors]
        something_here = { some_prop = "foo" }

        [rules.warnings]
        something_else = {}
        something_else = {}
    "#};

    println!("{:#?}", toml::from_str::<Config>(input).unwrap());
}

That works! thank you 🙂
Any idea on how i could maybe parse special keys as properties? id like to have an error property which is a boolean based on whether error = {} is there.

Sorry that no one was able to provide further guidance here. If this is still an issue, you could try taking this question to any of the resources shown in https://www.rust-lang.org/community.


Update README.md

Updating local / Cloud options based on #3

Oops this will be in conflict with #2 I think, didn't see there was a PR waiting. I can merge them into something coherent once #2 lands.


Connect new app to bucket

Title the PR to complete the sentence: "Merging this PR will ..."
What
Describe what you have changed and why
How to review

Describe the steps required to test the changes
???
Profit!

Provide http://example.com to relevant tickets, articles or other
resources.
Note the Trello Github integration links tickets to PRs/branches/commits (in
both directions).

Parking for now. Closing pull request.


Booty bay full data file naming

Data files from booty bay should be named according to timing, but this isnt really clear from the filenames we currently have

this would be addressed by #29


Citation of IEV styles in official manner

I wrote to IEV to ask about the official citation style and got this response. We should support the official way of citing IEV entries for simplicity.

In accordance with the ISO/IEC Directives, Part 2, the source of a repeated definition is a dated reference since you are referring to a specific numbered subdivision of text (and furthermore, you are using as your source a specific instance of an IEV entry).

Thus although it would be much easier to cite [SOURCE: IEV 113-01-07] rather than [SOURCE: IEC 60050-113:2011, 113-01-07], IEV 113-01-07 is an undated reference, and as such it refers to the latest version of IEV 113-01-07 (which may change over time, and thus at one time instant this IEV entry may not correspond to the IEV entry that you used as a source).

There are two ways you can use to refer to a specific instance (i.e. to make a dated reference) of an entry in the IEV:

by making a reference to the source publication, i.e. your less easy example [SOURCE: IEC 60050-113:2011, 113-01-07] - fyi, the IEC Supplement to the ISO/IEC Directives also mentions this style of reference in SK.3.1.3:

by referring to the IEV number followed by the publication date shown in Electropedia (it is at the bottom of the page http://www.electropedia.org/iev/iev.nsf/display?openform&ievref=113-01-07)

[SOURCE: IEV 113-01-07:2011-04]

but in this case you make the assumption that the user knows where to find IEV 113-01-07 and so, as mentioned in the ISO/IEC Directives, Part 2, 10.3, you would need to add "the method of access to the referenced document and the full network address" as well as the "viewed" date, e.g.

[SOURCE: IEV 113-01-07 [viewed 20xx-xx-xx]. Available at: www.electropedia.org]

So, at the end of the day you have the choice between

[SOURCE: IEC 60050-113:2011, 113-01-07]
or
[SOURCE: IEV 113-01-07 [viewed 20xx-xx-xx]. Available at: www.electropedia.org]

Official answer:

The standard formulation used in all IEC documents is [SOURCE: IEC 60050-113:2011, 113-01-07]. Whilst [SOURCE: IEV 113-01-07:2011] plus an associated reference to Electropedia is not formally wrong, I am not enthusiastic in introducing deviations from our house style.

So the wording in our documentation,

By ISO convention, IEV references are not included in the bibliography, but for consistency and validation purposes, the IEV should be cited as a normal reference, with the term given as a clause, and the source should be named as IEV in the bibliography.

needs to change, right? The IEV is not being conventionally cited, it is being explicitly cited as IEC 60050-x for each subject area. I will automatically need to convert IEV to each IEC reference.

And here's officially why we can't directly create a citation from the IEV term page.

For example: http://www.electropedia.org/iev/iev.nsf/display?openform&ievref=113-01-17

I can infer the Part number as “113”

Yes

and the edition date “2011”.

No. Without checking in the IEC list of publications, you don't know whether 2011 is the publication date of the standard or an amendment.

The work is almost done, but I cannot use isobib to query the latest version of IEC 60050-nnn, because isobib does not query the www.iec.ch website at all. As a matter of urgency, isobib needs to be extended to search and parse www.iec.ch for standards starting with "IEC".

Because I can't wait two weeks, I'm going to create dummy IEC 60050-nnn entries in isobib, all with a date of 2011. When we have true IEC retrieval in isobib (or iecbib, but I would prefer we not needlessly proliferate gems), I will switch across to it.

I have switched IEV and IEC-60050 retrieval to iecbib.
Have altereed metanorma-standoc to fetch and enforce the year of publication of the specific IEC-60050 standards.

Fixed in Metanorma-standoc

Thanks @opoudjis!


Block clock_adjtime in default seccomp config

clock_adjtime is the new posix style version of adjtime allowing
a specific clock to be specified. Time is not namespaced, so do
not allow.
Signed-off-by: Justin Cormack<EMAIL_ADDRESS>

LGTM

LGTM


Enhance dev-env to include needed tools such as oc or tkn #375

New script which helps to setup dev-env and include required
non python CLI tools in the virtual environment.
Simply make dev-env && source .venv/bin/activate
Script can be also invoked outside of Makefile pointing to
different VENV.
Currently Linux and Mac OS X are working.
Describe the behavior changes introduced in this PR
Linked Issues?
resolves # <-- Use this if merging should auto-close an issue
related to # <-- Use this if it shouldn't
Testing Instructions
Please include any additional commands or pointers in addition to our standard PR testing process.
@redhat-cop/mdt

Ready to be reviewed.

Also, one small nit-- it should be scripts/install_dev_tools if it's meant to be executed directly. You don't call cat.elf, right? :)


Using tact.vim within Nvim

Hi there,
Would you please update README and show instruction for setup it up in Nvim,
specifically by modern package manager like Lazyvim.
Thank you in advance.

Added in this commit:

Setup instructions for tact.vim in Neovim using lazy.nvim
Neovim-specific Lua configuration variants for every existing VimScript/Vim option

Notice, however, that none of the Lua setup is necessary in Neovim as everything can be done the same way as in Vim by using VimScript and existing package manager, including the built-in one in Neovim.


[Bug] Failure to Generate Diff File When diff_file_directory Not Provided

Description:

Issue:
If the diff_file_directory parameter is not provided, the application fails to generate the diff file and raises an error.
Expected Behavior:
The application should generate the diff file in the current path when diff_file_directory is not explicitly provided.
Additional Issue:
When executing the application as an executable (exe), it does not display any log, making it challenging to diagnose the problem.

Steps to Reproduce:

Input path_to_initial_file and path_to_update_file.
Run the executable (exe).

Expected Outcome:

The diff file should be generated even if diff_file_directory is not provided.
Log information should be displayed during execution when using exe.

Actual Outcome:

The application fails to generate the diff file.
When executed as an exe, there is no log information.

Log:
Checking files...
NotADirectoryError: The diff file directory does not exist

fix


Nuget api v3 can not resolve Fleece.NewtonsoftJson

Trying to use a package where Fleece.NewtonsoftJson is a transient dependency. My paket's source is v3: https://api.nuget.org/v3/index.json . When issuing paket install, got error:
  Conflict detected:
   - Fleece.NewtonsoftJson 0.7.0 requested package FSharpPlus: >= 1.1.0-CI00245 (CI)
   - Available versions:
     - (1.1.0-ci00252, [https://api.nuget.org/v3/index.json])
     - (1.1.0-ci00245, [https://api.nuget.org/v3/index.json])
...

Notice different in caps casing of CI.
Change paket's source to https://www.nuget.org/api/v2 and paket install works fine.
Expected behavior: Fleece.NewtonsoftJson should resolve vor v2 and v3 api version of nuget.

So given a official release this could be alleviated

We have a 0.8.0 release out now, is this still an issue?

No response, I assume it's solved, otherwise please re-open.


port aurelia-vs-ts-tests sample to ts15 (on ts15 branch)

duplicate issue with #25

it wasn't a dup


Adding Lukas as approver for modules where he did write code

Proposed Changes

adding lberk to those modules where he did write code (E.g. knatuve/pkg runtime rewrites)

/assign @n3wscott

/lgtm
/approve
Welcome aboard!


i18n(ko): Fixed typo at astro-components.mdx

Description (required)

minor typo is fixed.

Related issues & labels (optional)

Closes #
Suggested label:

Hi there! I am closing this PR as it already had one incorrect fix, and is now out of date with the current page and there are conflicts. If a typo still exists, please make a new PR from a fresh, updated version of the docs and we will look at it quickly! Thank you for understanding!


Geolocator WEB does not work when not in HTTPS

🐛 Bug Report
Hello, geolocator (web version) does not work when built for release in case website is not served via HTTPS protocol.

I found out that SSL is required when I used location package for testing and it printed out an information that accessing location on unsecure website has been deprecated.
Expected behavior
There should be any information that SSL is required.
Reproduction steps

Build app for release and deploy it to the Nginx server.
Access website via HTTP.

Configuration
Version: 8.0.5
Platform:
-Web (Google Chrome)

Hey @SKocur, thanks for reporting your issue! A secure context is indeed required when using the Geolocation API on Web. For more info, see: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API. I think this should indeed be stated in the documentation. I will change the docs!


bug/partition_docx doesn't return page_number

Similar issue that #666 but for doc/docx files.
All elements extracted from partition_docx have the same page_number that is 1 (not the total number of pages)
To Reproduce
from unstructured.partition.docx import partition_docx
elements = partition_docx(filename="my_docx.docx") #docx file with 10 pages
{elt.metadata.page_number for elt in elements} # {1} here

Expected behavior
from unstructured.partition.docx import partition_docx
elements = partition_docx(filename="my_docx.docx") #docx file with 10 pages
elements[0].metadata.page_number # 1 here, first element should be on first page
elements[-1].metadata.page_number # 10 here

Setup
OS: mac
Unstructured version : 0.7.0
Python version : 3.9

@Fanchouille - Thanks for flagging this. This one is actually more difficult than it seems because page breaks for .docx are determined by the rendering engine and not the file (see this explanation on SO). Definitely understand the utility here though, so we'll take a look and see if there's a way to work around that.


Makefile -> CMake + MSVC for Windows + Windows Workflow & Installer + macOS Workflow

Thank you very much for the nice work. I think that developer community of Dear ImGUI will benefit a lot from this project.
I made tiny modifications to the C++ part so that it can compile cleanly using MSVC 2019 and replaced the Makefile with CMake. Also added workflow/actions for Windows and macOS.
You now need to install glfw only if the target platform is Linux. Windows & macOS will automatically download GLFW during the build process and build a static version that can then be linked against. This means that no brew is needed or macOS. It also means that native Windows runtime from VS2019 can be utilized and there's no need for mingw or msys runtimes. The app works pretty nicely on Windows. I haven't tried it yet on macOS, but the workflow builds with a few warnings.
The Windows Workflow will now also create an MSI installer that users can install and use right away.
Hope this helps. :)

PS: Sorry for the earlier spam. Didn't realize the PR was reflecting in your Actions..

Thank you for the contribution! I was hoping someone would help with exactly this as I don't have a Window system to test with, and I'm new to CMake :D Will merge this when I get home.


SegmentProxy source code

I would like to implement a local solution for decrypting PIFF. I checked here:
https://github.com/asrashley/dashpiff/tree/master/SegmentProxy
but I don't see the actual source code that does the decryption. Is that available?

Hm, I think this is it:
https://github.com/asrashley/dashpiff/blob/e302edd99d2f1b70f35b249ab3faeb519500f864/SegmentProxy/__init__.py#L40-L43
but maybe what I am wanting is different.

Yes, you need something different. The code in this repository does not decrypt the content, it just patches out some data in the stream. You might want to have a look at https://github.com/asrashley/gst-cencdec for an example of how to decrypt DASH CENC content.


Obscured Zig errors in okra-node

Hi!
Using the NodeJS bindings, I'm encountering a strange, obscured error:
file:///home/garbados/code/okra-experiments/node_modules/@canvas-js/okra-node/lib/index.js:322
        return super.next();
                     ^

Error: MDB_BAD_TXN
    at Iterator.next (file:///home/garbados/code/okra-experiments/node_modules/@canvas-js/okra-node/lib/index.js:322:22)
    at Tree.nodes (file:///home/garbados/code/okra-experiments/node_modules/@canvas-js/okra-node/lib/index.js:296:69)
    at nodes.next (<anonymous>)
    at collect (file:///home/garbados/code/okra-experiments/node_modules/@canvas-js/okra/lib/utils.js:36:22)
    at async file:///home/garbados/code/okra-experiments/server.js:148:24

The quoted portion of server.js looks like this:
const realized = await req.db.fetch((tree) => {
  return collect(tree.nodes(level, lowerBound, upperBound))
})

(req.db refers to a little wrapper; db.fetch passes a callback to env.readTree and resolves to the callback's return value.)
I understand MDB_BAD_TXN is an error from the Zig implementation but to my eyes, I haven't the foggiest clue what I'm doing wrong.
Aside from a solution to my problem specifically, it would be nice if Zig errors could be made friendlier once they pass into NodeJS land. Any ideas?

For context, I'm writing an HTTP API for syncing prolly trees between node and the browser. I have get/set/delete working, and all the necessary methods scaffolded on both ends, but I'm having a hard time chewing through opaque errors like these.

It’s actually an error forwarded from LMDB, which doesnt tell us much either - I copied the descriptions from the C LMDB source here: https://github.com/canvasxyz/zig-lmdb/blob/16beae34ecd3062af87585893edf35331029be66/src/errors.zig#L96C22-L96C22
Unless you’re using child transactions, Im not sure what it could be… maybe somehow the readTree callback is returning early (not awaiting everything that happens)? If you could distill it into something I can reproduce that would be a lot easier.

I was able to get it working on my end so I'll close the ticket. Skipping my wrapper and using readTree directly seemed to work, so my current theory is that my wrapper managed to break out of some vital context. I wish I had something reproducible for you; I'll follow up when my work exits the experimental stage.


Address missing DCO signoffs

I did an audit and see that we have a ton of missing DCO signoffs. Need to work on addressing

Handle signoffs of past commits
Ensure all new repos have branch protection on for commits.
Make sure we aren't setting DCO checks to pass

@hogstrom Can we discuss at the next ZLC meeting?
Zowe DCO audit.xlsx

@jmertic is this completed yet?

Sorry - I forgot you had given me the green light after the last ZLC meeting. I will send out to contributors today.

Started rolling this out now. We have a ton of signoffs needing done so I'm doing this in phases.

So I've attached the latest report - we are still seeing a fair number of commits coming in without a DCO. I also see that some of the signoffs are sitting on non-release branches and need to make their way to master.
I'm concerned that committers are bypassing the signoff still. How can we address this?
zowe.csv.txt

We are still seeing both past issues and issues on commits moving forward on DCO compliance. See attached...
zowe-dco-scan-20190815.csv.txt
It seems that those with write access are still bypassing DCO checks ( details at how on https://github.com/probot/dco#how-it-works ). We need to improve enforcement on this.
Please add this to the next ZLC agenda @hogstrom

This is now part of a continuous improvement process.  New issues should be opened for discussion on this topic if needed.

What is the issue or project for that? This issue still remains unresolved.
On Wed, Sep 18, 2019 at 8:47 AM Matt Hogstrom<EMAIL_ADDRESS>wrote:

This is now part of a continuous improvement process. New issues should be
opened for discussion on this topic if needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zowe/zlc/issues/95?email_source=notifications&email_token=AACIOIIG5GEJWXRSI3U22OTQKIPNRA5CNFSM4HJO7DI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67564A#issuecomment-532668272,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACIOINGPIVA5OC6LAB3R33QKIPNRANCNFSM4HJO7DIQ
.

--
Thank you,
John Mertic
Director of Program Management - Linux Foundation
ASWF, ODPi, and Open Mainframe Project
<EMAIL_ADDRESS>+1<PHONE_NUMBER>
Schedule time with me at https://calendly.com/jmertic

Attached latest report - lots of sign offs still missing.
zowe-dco-scan-20190918.csv.txt

@jmertic we are trying to clean up ZLC issues backlog - question was whether this has been addressed or if there is need for another audit to check compliance ......please advise

It's still an issue and continues to be so. Let's keep open and I'll rescan to capture where we are.

Closed


Improve config file syntax

Change to some standard syntax or just improve the parser.

Scraped the new config parser, and changed the separator to '=', right now this isn't a priority


document gcc/clang minimum version (a.k.a what C++ standard do we write to)

Two developers have asked me this week if we do C++11 or not.
Lets review the state of Linux/OS X support:

Debian Stable (Wheezy) (EOL ~Q2 2016)

g++-4.4 4.4.7-2
g++-4.6 4.6.3-14
g++-4.7 (default) 4.7.2-5

BioLinux 7 / Cloud BioLinux / Ubuntu 12.04 LTS Precise (EOL April 2017)

g++-4.4 4.4.7-1ubuntu2
g++-4.5 4.5.3-12ubuntu2
g++-4.6 (default) 4.6.3-1ubuntu5

Ubuntu 14.04 LTS Trusty (EOL April 2019)

g++-4.4 4.4.7-8ubuntu1
g++-4.6 4.6.4-6ubuntu2
g++-4.7 4.7.3-12ubuntu1
g++-4.8 (default) 4.8.2-1ubuntu6

RedHat Enterprise Linux 6 (production phase 1 ends Q2 2016, phase 2 ends Q2 2017, phase 3 ends 30 November 2020)

gcc-4.4.4-13.el6
gcc-4.4.5-6.el6
gcc-4.4.6-3.el6
gcc-4.4.6-4.el6
gcc-4.4.7-3.el6
gcc-4.4.7-4.el6

RedHat Enterprise Linux 7 (production phase 1 ends Q4 2019, phase 2 ends Q4 2020, phase 3 ends 30 June 2024)

gcc-4.8.2-16.2.el7

MSU's HPCC

GNU/4.4.5 (default)
GNU/4.7.1
GNU/4.8.2
GNU/4.8.3

OS X

XCode 5.1.1 (clang-503.0.40) (based on LLVM 3.4svn)

Clang 3.3 and later implement all of the ISO C++ 2011 standard: http://clang.llvm.org/cxx_status.html
Excluding the Q2 2016 EOL distros (Debian Wheezy & RHEL6) the gating GCC version is 4.6.3; Including them that is reduced to 4.4.7 due to RHEL6.
Supported C++11 features in GCC 4.4.7+ via  -std=c++0x

Rvalue references
Variadic templates

Extending variadic template template parameters

Initializer lists
Static assertions
auto-typed variables

Multi-declarator auto
Removal of auto as a storage-class specifier
New function declarator syntax

Declared type of an expression
Right angle brackets
Default template arguments for function templates
Solving the SFINAE problem for expressions
Extern templates
Strongly-typed enums
New character types
Defaulted and deleted functions
Extending sizeof
Inline namespaces
Concurrency
Sequence points
Atomic operations
Data-dependency ordering: atomics and memory model (memory_order_consume)
Propagating exceptions
Allow atomics use in signal handlers
Dynamic initialization and destruction with concurrency
C99 Features in C++11
__func__ predefined identifier
C99 preprocessor
long long
Extended integral types

Details at https://gcc.gnu.org/gcc-4.4/cxx0x_status.html
Bumping up to GCC 4.6.3 by dropping RHEL6 support gets the above C++11 features plus:

New wording for C++0x lambdas
Null pointer constant
Forward declarations for enums
Generalized constant expressions
Explicit conversion operators
Unicode string literals
Raw string literals
Universal character name literals
Standard Layout Types
Unrestricted unions
Local and unnamed types as template arguments
Range-based for
Allowing move constructors to throw [noexcept]
Defining move special member functions
Concurrency
Strong Compare and Exchange

Details at https://gcc.gnu.org/gcc-4.6/cxx0x_status.html
C++11 features requiring GCC 4.7 (Debian Stable Wheezy, Ubuntu 14.04 LTS, RHEL7, MSU HPCC):

Non-static data member initializers
Template aliases
Delegating constructors
User-defined literals
Extended friend declarations
Explicit virtual overrides

Details at https://gcc.gnu.org/gcc-4.7/cxx0x_status.html
C++11 features requiring GCC 4.8.2+ (Ubuntu 14.04 LTS, RHEL7, MSU HPCC):

Rvalue references for *this
decltype and call expressions
Generalized attributes
Alignment support
Inheriting constructors
Concurrency
Bidirectional Fences
Memory model
Abandoning a process and at_quick_exit
Thread-local storage

Details at https://gcc.gnu.org/gcc-4.8/cxx0x_status.html
The above is adapted from https://gcc.gnu.org/projects/cxx0x.html

Given http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html and https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/3/html-single/User_Guide/index.html#tabl-Red_Hat_Developer_Toolset-About we can choose to use feature from up to GCC 4.8.2 safely (a.k.a all of the features of C++11 supported by GCC to date)

[ ] Add a summary of the above to the developer documentation
[ ] add information about the Red Hat Software Collection to the user install document

Fixed in #1222


Hex code not working!

NOT WORKING! THE HEX CODE FOR DODGER BLUE IS #1e90ff BUT IT SAYS IT'S INCORRECT! PLEASE HELP! I'M STUCK!

@Julian0925 what challenge name? Please show full code.

Use Hex Code to Mix Colors

I am red!
I am green!
I am dodger blue!
I am orange!

Want a picture?

I need help! Anyone?

please hold on. let me checking it.

ok thanks

the hex code for dodger blue is #1E90FF

i could see a problem. it suppose to be dodger-blue-text.

oh nvm the hex code you guys provided for the dodger blue text is different the what is says online. I would suggest you guys change the hex to #1E90FF so it doesn't confuse people.

@Julian0925 they did fixed it in beta site.

well not for me, lol

no.  freecodecamp.com is not a beta.  they didnt released new challenges in fcc site.
you need to use this code.
.dodger-blue-text {
color: #2998E4;
}
happy coding

ok got it!


Add by function to extract values for sorting

I see a lot of code that looks like this:
final foos = [...];
foos.sort((a, b) => a.bar.compareTo(b.bar));

That's a simple example, but I'll often see much more complex logic. Since the extraction logic has to be duplicated for both a and b the code gets more verbose and there's more opportunity a bug caused by drift between the two. It would be helpful (and I think used a lot) to introduce a helper function to capture this idea of extracting values for sorting:
Comparator<T> by<T>(Comparable Function(T) extract) {
  return (a, b) => extract(a).compareTo(extract(b));
}

Resulting in:
final foos = [...];
foos.sort(by((foo) => foo.bar));

I know it could be tough to introduce a top level function into dart:core given the possibility of naming conflicts. Could introducing something like List.sortBy be another option?

CC @lrhn

One option is to add the methods as statics on Comparable. We can't add static functions to Comparator since it's a function type.
class Comparable<T> {
  ...
  static Comparator<T> by<S extends Comparable<S>, T>(S extract(T value)) =>
      (T a, T b) => extract(a).compareTo(extract(b));

  static Comparator<T> compareBy<S, T>(S extract T(value), int compare(S a, S b)) =>
      (T a, T b) => compare(extract(a), extract(b));
}

which you can then use as:
List<Foo> foos = ...;
foos.sort(Comparable.by((foo) => foo.id));
// or
foos.sort(Comparable.compareBy((foo) => foo.id, Comparable.compare));

The latter is only useful if you have a different comarator for the IDs.
Adding top-level lower-case names to dart:core is unlikely to happen.
Another option is to wait for extension methods, and have someone define:
extension CompareBy<S> on Comparator<S> {
  Comparator<T> by<T>(S Function(T) extract) => (T a, T b) => this(extract(a), extract(b));
}
extension SortBy<T> on List<T> {
   void sortBy<S extends Comparable<S>>(S extract(T value)) =>
       this.sort((a, b) => extract(a).compareTo(extract(b));
}

You can then do:
List<Foo> foos = ...;
foos.sortBy((foo) => foo.id);
// or
foos.sort(Comparable.compare.by((foo) => foo.id));

The latter is more useful if you have a non-standard comparator for the properties already.

Extensions seem like a good solution for this use case.


asio-standalone requires

Is your feature request related to a problem? Please describe.
No standalone version of asio library.
Describe the solution you'd like
Add it.
Describe alternatives you've considered
No response
Additional context
No response

https://github.com/xmake-io/xmake-repo/blob/master/packages/a/asio/xmake.lua


Premium user icon: can it be used in 3rd party apps

Hi there,
I know that Telegram always wanted 3rd parties not to use the official logos, fonts, names etc to not be confused with inofficial apps. Yet the icon for premium accounts is somehow a unique thing that, if we use another symbol, might be not understood easily.
Can you clarify if this icon can be used by us? And if so, can it be added to the tdlib repo as a resource? Thanks!

Thanks a lot!


File uploads in WebView not working on KitKat (4.4.0->4.4.2)

This is probably a VERY known issue (and might even be unsolvable). But I thought I'd make an issue about it so that people know it won't work for KitKat 4.4.0->4.4.2. Also maybe update the README.md to state this?
It should work in KitKat 4.4.3+ though, but I haven't tested it myself.

You're right, it's good to have this in the issues, at least. Don't know if it's necessary to have this in the README as well.
So the file uploads don't work on Android 4.4 and never will. This is because Android removed the undocumented APIs that existed before Android 4.4 and only introduced a new API in 5.0.
This should affect Android 4.4.3 as well.

In order to check if file uploads are available or not, you can call the following method:
AdvancedWebView.isFileUploadAvailable()

May be you guys should try to implement this guys fix for the issue in this project, thanks.
https://github.com/henrychuangtw/Kitkat-WebView

android 5.0 lollipop file upload not working


Added defenses for replay attacks

For getlantern/lantern-internal#3158
This implements two complimentary approaches for dealing with replay attacks.

Remember recently used keys in a cache and ignore replayed ones
Have client include a timestamp in their client init message and limit the age of timestamps that the server allows

These can be used in combination so that the timestamp prevents replays over longer periods of time and the key cache prevents replays during the allowed timestamp window.
The key cache approach can be used for existing clients, the timestamp approach requires a new client build.

Thanks @forkner!


App not reopening when recording is stopped. I couldn't find any plugin to maximize app. Is there any way you can add it.

Hi, the callback fires successfully even if the app is in background, but I don't think is possible / allowed to do that...


Alternator not setting cursor at beginning

See following plunkr: http://plnkr.co/edit/oTIYAalxVD4ENzY09rh9
I define 2 masks, the first always starts with a 1 and the 2nd always with a 2. But when you enter the input it will jump first 1 characters, while it should start at the beginning.

@yesman85,
You should not set the keepstatic option in that case.  With the keepstatic the masking stays on the current mask and only tries to alternate the current mask  is complete and the current input is false.

Oh my bad I didn't read that part properly in the docs.

@yesman85 ,
I'm just reopening, because I like your mask and the second 0 should be _ in my opinion.


[request] Install error on Windows

The Nightly CI for {{ env.GITHUB_SERVER_URL }}/{{ env.GITHUB_REPOSITORY }}/actions/runs/{{ env.GITHUB_RUN_ID }} failed.
My computer is Windows. I have a project for stable diffusion, and its dependency is deepspeed. During the installation of deepspeed, an error message appears: python setup.py egg_info did not run successfully. How can I solve this problem?

Hi @th10010 - are you trying to use cmd.exe on Windows or WSL?  I cannot tell from your screenshot.
If you are using cmd.exe, be sure you are installing the Windows whl we publish now, which I don't see being installed, I see the linux whl being installed on your system.

@th10010 - closing due to no reply, please reply if you do see this and are still having issues, but this looks like you want to install the Windows version and are installing the Linux whl.


Status bar keeps showing 'Select Python Intrepreter'

Issue Type: Bug
VS Code continually shows 'Select Python Intrepreter' in the status bar (and my Python debugger doesn't work either), and I get constant popups about Python not being installed, even though I've installed Python 10+ times and selected it 10+ times to select the path (e.g. C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe).
I uninstalled all other extensions to rule out an extension conflict, and only installed the Microsoft Python extension. I've tried installing various Python 3.x versions (now 3.9) with no success.
The VSCode team asked me to open the issue under the VS-Code Python extension. My original post: "https://github.com/microsoft/vscode/issues/105426"
These related posts didn't solve my issue:
https://github.com/microsoft/vscode-python/issues/3535
https://github.com/microsoft/vscode-python/issues/13261
Extension version: 2020.9.114305
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz (8 x 2304)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (8.32GB free)

Process Argv
--crash-reporter-id e98af648-fa99-4c68-9f74-7162ce229126

Screen Reader
no

VM
0%

I also tried C:\Users\Allan\AppData\Local\Programs\Python\Python39\python.exe -m pip freeze in CMD, which didn't return anything.

@allan5050 Try looking at python logs to see if there are any errors reported for this particular path. The logs can be seen here:

Try running this command using the interpreter that is not getting selected:
C:\Users\Allan\AppData\Local\Programs\Python\Python39\python.exe "C:\Users\Allan\.vscode\extensions\ms-python.python-2020.9.114305\pythonFiles\interpreterInfo.py"

You should see some output like this:
{"versionInfo": [3, 9, 0, "final", 0], "sysPrefix": "C:\\GIT\\s p\\project1\\.venv", "version": "3.9.0 [MSC v.1927 64 bit (AMD64)]", "is64Bit": true}

If this is not working then see if you can run python outside of vscode, from windows command prompt. something like:
C:\Users\Allan\AppData\Local\Programs\Python\Python39\python.exe -c "import sys;print(sys.version)"
if that does not work then something is wrong with the installed python.

Thanks! Here are the outputs:

output log python.txt

Result:

 C:\Users\Allan\AppData\Local\Programs\Python\Python39\python.exe "C:\Users\Allan\.vscode\extensions\ms-python.python-2020.9.114305\pythonFiles\interpreterInfo.py"
>>
{"versionInfo": [3, 9, 0, "final", 0], "sysPrefix": "C:\\Users\\Allan\\AppData\\Local\\Programs\\Python\\Python39", "version": "3.9.0 (tags/v3.9.0:9cf6752, Oct  5 2020, 15:34:40)
[MSC v.1927 64 bit (AMD64)]", "is64Bit": true}

Running python outside of VScode:

I think I once even tried reinstalling VSCode, but the issue persisted (I had Python 3.7 at the time). No subsequent Python 3.x updates solved the issue.
I downloaded and started using another IDE since I'm in a bit of a hurry, and it correctly understood my Python 3.9 installation despite everything in my Windows environment.
If you think this is specific to my environment --which it very well could be-- and not a bug with VScode Python, I think we can just close this issue since I've found another route. Perhaps a future version of VSCode Python can better avoid environment specific issues.
Thank you for your help!

Form the logs it looks like this command fails to run. If you look closely, he path to cmd.exe ends with ';'. Python extension is not able to run cmd.exe, because the path to it has an additional character. Can you check your settings to see the path to cmd.exe is set somewhere?
Error 2020-10-17 13:35:18: Failed to get interpreter information for 'C:\Users\Allan\AppData\Local\Programs\Python\Python39\python.exe' [Error: spawn C:\WINDOWS\system32\cmd.exe; ENOENT
	at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
	at onErrorNT (internal/child_process.js:456:16)
	at processTicksAndRejections (internal/process/task_queues.js:81:21)] {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn C:\\WINDOWS\\system32\\cmd.exe;',
  path: 'C:\\WINDOWS\\system32\\cmd.exe;',
  spawnargs: [
    '-c',
    '"C:\\\\Users\\Allan\\AppData\\Local\\Programs\\Python\\Python39\\python.exe" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\interpreterInfo.py"'
  ],
  cmd: '"C:\\\\Users\\Allan\\AppData\\Local\\Programs\\Python\\Python39\\python.exe" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\interpreterInfo.py"'
}
Error 2020-10-17 13:35:18: Failed to get interpreter information for 'C:\Users\Allan\AppData\Local\Programs\Python\Python36\python.exe' [Error: spawn C:\WINDOWS\system32\cmd.exe; ENOENT
	at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
	at onErrorNT (internal/child_process.js:456:16)
	at processTicksAndRejections (internal/process/task_queues.js:81:21)] {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn C:\\WINDOWS\\system32\\cmd.exe;',
  path: 'C:\\WINDOWS\\system32\\cmd.exe;',
  spawnargs: [
    '-c',
    '"C:\\\\Users\\Allan\\AppData\\Local\\Programs\\Python\\Python36\\python.exe" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\interpreterInfo.py"'
  ],
  cmd: '"C:\\\\Users\\Allan\\AppData\\Local\\Programs\\Python\\Python36\\python.exe" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\interpreterInfo.py"'
}
Error 2020-10-17 13:35:18: Failed to get interpreter information for 'C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\python.exe' [Error: spawn C:\WINDOWS\system32\cmd.exe; ENOENT
	at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
	at onErrorNT (internal/child_process.js:456:16)
	at processTicksAndRejections (internal/process/task_queues.js:81:21)] {
  errno: 'ENOENT',
  code: 'ENOENT',
  syscall: 'spawn C:\\WINDOWS\\system32\\cmd.exe;',
  path: 'C:\\WINDOWS\\system32\\cmd.exe;',
  spawnargs: [
    '-c',
    '"C:\\\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\interpreterInfo.py"'
  ],
  cmd: '"C:\\\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\Python37_64\\python.exe" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\pyvsc-run-isolated.py" "c:\\Users\\Allan\\.vscode\\extensions\\ms-python.python-2020.9.114305\\pythonFiles\\interpreterInfo.py"'
}

Removing the semi-colon from the path fixed it! Thank you!

I removed the semi-colon from this path:

I remember making changes to the ComSpec system variable when following some (possibly bad) instructions for setting up Python and Flask for web development. I added a semi-colon as a separator, and then after it inserted another path to I think the Python 3.6 EXE as a second value. The instructions could have been bad though, so I don't know if you'll see this happen again for users.
I'll give VSCode-Python another chance for future Python development. :-)


Problem with prettytime dependencie

Hi,
I want to use vaadin-app-layout addon with eclipse and Ivy but Ivy can't resolve the version RELEASE of prettytime.
Have you an idea ?
Thanks,
Thierry

🤦♂  this is a remain from development.

fixed in #bfcea7a

Thanks,
Thierry

0.9.14 should fix the problem now 🙂


galgebra doesn't fully support using LaTeX as symbol name

If use something like
symbols(r'{\color{airforceblue}\theta} {\color{applegreen}\phi}', real = True)

will produce invalid LaTeX output caused by double escaping:
! Missing } inserted.
<inserted text>
                }
l.61 ...\ 0 & {\sin{\left ({\color{airforceblue}\\
                                                  theta } \right )}}^{2}  \e...

If use something like
symbols(r'{\color{airforceblue}theta} {\color{applegreen}phi}', real = True)

to avoid double escaping, then the result is partially theta/phi and partially \theta/\phi:

The expected result is:

See https://nbviewer.jupyter.org/github/pygae/galgebra/blob/15-print-pow/examples/ipython/colored_christoffel_symbols.ipynb


Early fail if LEGO_EMAIL is not overridden from the default value

If LEGO_EMAIL is not overridden from email.tld, there should be an early fail before even reaching out to Let's Encrypt. A valid email address allows the subscriber to receive certificate expiry notifications. The default of email.tld won't allow for that, hence the early fail.
https://letsencrypt.org/docs/expiration-emails/

Disregard, this was meant for a different project. Sorry.

The issue is somewhat prevalent as shown by https://github.com/search?utf8=✓&q="my%40email.tld"+LEGO_EMAIL&type=Code especially because it's the default in the kubernetes/chart repository https://github.com/kubernetes/charts/blob/master/stable/kube-lego/values.yaml

Unless I'm missing something: LEGO_EMAIL is a required field, and kube-lego fails if it is not set (https://github.com/jetstack/kube-lego/blob/master/pkg/kubelego/kubelego.go#L224). It looks to me like the problem is in the helm chart itself, which provides a completely bogus value as a default (if it wanted to provide a default, then it should use an example.com domain, at least!). If the chart were not to provide any value, you'd get the behavior you're looking for: early failure.

Yep, this is an issue with the Helm chart itself.
Now that Helm 2.3 is released, there is a new required keyword that we can use.
I've put in a PR here: https://github.com/kubernetes/charts/pull/912

Quick question, if you initially deployed Kube-Lego and even received a few certificates for production sites with the default e-mail, can you update the address to your correct e-mail and then delete and redeploy the ConfigMap and Deployment?
Do you believe future renewals and certificate requests would continue without errors with the corrected e-mail?
Obviously I just realised I did this :sweat_smile: and now I'm coming here for consolation from hopefully finding out that my mistake wasn't fatal.


Possible to disable automatic closing of non active accordion

Hi!
When using the accordion layout (we use it on mobile) and opening a new "tab" any previous tabs are being automatically closed. That's fine except that when you have opened a tab with a lot of content and then open another one below that (without closing the first one) the new tab slides out, then the old one slides in and the results are that the visitor is now at the bottom of the newly opened tab and have to scroll all the way back up to start reading the content.
I haven't found a setting where I can disable this behaviour? To just keep any opened tab still open

I also need to not auto-close accordions when another one has been opened.  Is this possible yet?


External drives are write protected even after restoring backup

Hi guys, I'm having a strange problem, Windows 10 Home 22H2:

Opened Powershell as administrator, imported HardeningKitty
I made a backup with Invoke-HardeningKitty -Mode Config -Backup -BackupFile "./myBackup.csv"
Applied a finding list with Invoke-HardeningKitty -Mode HailMary -FileFindingList ".\lists\finding_list_msft_security_baseline_windows_10_22h2_machine.csv"
Can't create or delete files/folders on external drive. Checked users permissions in Explorer security tab, only Administrators are allowed with full access and modify. Users can only read/execute. When I try to allow users to modify, I get the error "An error occurred while applying security information to (...) The storage medium is write protected"
Restored backup with Invoke-HardeningKitty -Mode HailMary -FileFindingList "./myBackup.csv"
Rebooted and the error still occurs. Any idea?

Edit:

The external drive results as owned by SYSTEM. Trying to change user permissions or owner always ends in "The storage medium is write protected" (in an elevated CMD tried both takeown /f X: and icacls "X:\*" /grant myUser:F with the same result)
It is not hardware related, on my Linux machine I can read/write the disk without problems

The culprit must be ID 10758 - BitLocker Drive Encryption: Removable Data Drives: Deny write access to removable drives not protected by BitLocker, Registry HKLM:\System\CurrentControlSet\Policies\Microsoft\FVE -> RDVDenyWriteAccess. You can either delete this key or set the value to 0

The backup probably didn't work because you didn't define a finding list when you invoked the backup mode, so the default list was used - which is a different list than you were using for HailMary

The culprit must be ID 10758 - BitLocker Drive Encryption: Removable Data Drives: Deny write access to removable drives not protected by BitLocker, Registry HKLM:\System\CurrentControlSet\Policies\Microsoft\FVE -> RDVDenyWriteAccess. You can either delete this key or set the value to 0

Ok, this fixed the problem

The backup probably didn't work because you didn't define a finding list when you invoked the backup mode, so the default list was used - which is a different list than you were using for HailMary

So the correct backup command (in this case) would have been Invoke-HardeningKitty -Mode Config -Backup -BackupFile "./myBackup.csv" -FileFindingList ".\lists\finding_list_msft_security_baseline_windows_10_22h2_machine.csv"?

Yep exactly :+1:

[x] Problem solved
[x] Documentation MR merged

Time to close the issue


Unit test extract_transmon_coupled_Noscillator

What is the feature being requested?
Implement unit test for extract_transmon_coupled_Noscillator in analysis/lumped_capacitive. Need assistance from most recent modifier @zlatko-minev  for use cases
What are use cases for this feature?
unit test

Old code, no testing required at this time.


[ENH] Add ECDF function

Closes #583.

@hectormz I don’t think I put in a nan/inf check in there. It’s a good point though. Let me add in a few tests to see what happens.

OK, I now remembered why the nan/inf checks were important. The series/array length calculation is not correct if we allow nan/inf values inside the array. I added an explicit error-raising step if null values exist.


PHOENIX-6199 Generate different query plan depending upon if the source is index table or data table

https://github.com/apache/phoenix/pull/937/files#diff-71a73ee7d5c142ff10aac951e6237d22d7316681ca3818c06248b03907082077
IT Test for the diff above. Please refer to the code change above

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 2 new or modified test files.

_ 4.x Compile Tests _

+1 :green_heart:
mvninstall
10m 46s
4.x passed

+1 :green_heart:
compile
0m 55s
4.x passed

+1 :green_heart:
checkstyle
0m 53s
4.x passed

+1 :green_heart:
javadoc
0m 45s
4.x passed

+0 :ok:
spotbugs
2m 54s
phoenix-core in 4.x has 946 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 15s
the patch passed

+1 :green_heart:
compile
0m 54s
the patch passed

+1 :green_heart:
javac
0m 54s
the patch passed

-1 :x:
checkstyle
0m 56s
phoenix-core: The patch generated 53 new + 962 unchanged - 16 fixed = 1015 total (was 978)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 41s
the patch passed

+1 :green_heart:
spotbugs
3m  1s
the patch passed

_ Other Tests _

-1 :x:
unit
126m 53s
phoenix-core in the patch failed.

-1 :x:
asflicense
0m 37s
The patch generated 1 ASF License warnings.

157m 46s

Reason
Tests

Failed junit tests
phoenix.end2end.DerivedTableIT

phoenix.end2end.BackwardCompatibilityForSplitableSyscatIT

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/958

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux 0fbd2d7aaa57 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / f0f2f74

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

checkstyle
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/1/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/1/testReport/

asflicense
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/1/artifact/yetus-general-check/output/patch-asflicense-problems.txt

Max. process+thread count
7152 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/1/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 35s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x-PHOENIX-5182 Compile Tests _

+1 :green_heart:
mvninstall
10m 55s
4.x-PHOENIX-5182 passed

+1 :green_heart:
compile
0m 55s
4.x-PHOENIX-5182 passed

+1 :green_heart:
checkstyle
0m 31s
4.x-PHOENIX-5182 passed

+1 :green_heart:
javadoc
0m 45s
4.x-PHOENIX-5182 passed

+0 :ok:
spotbugs
2m 53s
phoenix-core in 4.x-PHOENIX-5182 has 954 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 12s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

+1 :green_heart:
checkstyle
0m 32s
phoenix-core: The patch generated 0 new + 62 unchanged - 3 fixed = 62 total (was 65)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 44s
the patch passed

+1 :green_heart:
spotbugs
3m  5s
the patch passed

_ Other Tests _

-1 :x:
unit
128m 12s
phoenix-core in the patch failed.

-1 :x:
asflicense
0m 38s
The patch generated 1 ASF License warnings.

158m 35s

Reason
Tests

Failed junit tests
phoenix.end2end.StoreNullsIT

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/958

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux 0d8b501c6702 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x-PHOENIX-5182 / 0d33ce9

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/2/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/2/testReport/

asflicense
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt

Max. process+thread count
7005 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-958/2/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@gokceni @kadirozde @swaroopak


Update http4s-circe, http4s-dsl, ... to 0.22.9

Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl
org.http4s:http4s-ember-client
org.http4s:http4s-ember-server

from 0.22.6 to 0.22.9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #63.


Build errors with Angular 14 -- ivy/index.js Error: Emit and "@ngbmodule/material-carousel" has missing dependencies:  - @angular/compiler/src/core

The component will not build in Angular 14. I get the following errors. I created a new app with Angular 14 cli..
`./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Emit`

Error: Failed to initialize Angular compilation - The target entry-point "@ngbmodule/material-carousel" has missing dependencies:
 - @angular/compiler/src/core`

Note that it looks like the path @angular/compiler/src/core no longer exists under node_modules in Angular 14. Instead the typings seem to be aggregated in index.d.ts is at the root of @angular/compiler.

Could it be related to this?
https://angular.io/guide/migration-module-with-providers

@gabrielbusarello are you still giving attention to this repo/code?

any news?

same here https://github.com/gabrielbusarello/material2-carousel/issues/34
there is local fix also


Disable in some filetype.

Can I disable this plugin in some filetype like 'terminal'?

Hi, I have added 2 new settings to disable certain filetypes and modes.
I'll make a new release shortly.
Thanks for the suggestion :+1:

Thank you for your update!


added send-file()

The send_file function appeared to be missing, although there were already functions like send_location, send_image, send_audio, send_video etc...
Signed-off-by: Richard Parsons<EMAIL_ADDRESS>

ok to test

Great. Merging


[Diag] QoI: Suggest fix-it when 'weak' has non-optional type

Also:

Move and rename a type printer helper function to make this easier.
Improve @IBOutlet diagnostic QoI at the same time.

@swift-ci please smoke test

@rudkx – Are we now requiring tests for fixits? I only see a grand total of six commits in the last year that added fixit tests. Also, the number of "fixit" test files in test/FixCode is seven, and one of those seven is marked XFAIL. :-(
I'm okay with adding the test, but I hate the feeling that I'm being held to a higher standard than the average committer.

@davezarzycki In theory any change that has observable testable effects should have a test to go with it.
In practice sometimes people forget to add tests (and that is sometimes caught in code review), sometimes creating a stand-alone test is impractical (i.e. I've spent hours trying to extract a test case from a large code base and eventually decided it was going to be impractical), and sometimes we just don't have a great way to write direct tests for our test suite (e.g. we don't have a lot of compile-time testing in our regression test suite, just a few scale-tests and a few timer-based test to test expression type checking specifically).
Here are a handful of commits from the last month that I just found that add tests that specifically test for the output from fixits (although they don't necessarily add the fixit they are testing for):
797901fc4145c6437fe9c69edf32d495aefc6723
2b1f7657d4fd44a96e5eb09f6a19f26ab7f2c3e4
6a080d8c5c88b62b3c3f945689b774efd770d808
a9f26ab8930cad34bbab21e2f719bfab413bb22d
da6d078ff945cd66f4479d027ef3cd6ee965808d
7815892a760cfbe5aa6737f8bbde155813c09d7a
ceb51eea80d4741afe13b485b568a56564ea1e06

Oh! I see now! I take what I wrote all back. I thought I had to write something like what was in test/FixCode. I hadn't paid any attention to the {{x-y=z}} test syntax until now. Thanks!
@swift-ci please smoke test


Fill

Possible syntax:

Dim arr as variant
DS.Fill(value:=1, type:="Variant()", structure:="(1)(1)"

Results:

2 By 2 nested array of ones

Parameters:
value: Variant - the value that the data structure will be filled with
type: which iterable
structure: string representation
arr = DS.Fill(val, type, structure)

Added


[Package Issue]: DiskInternals.LinuxReader  Installer hash does not match; v4.19.2

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Installer hash do not match. Similar issue but with a new version.
Steps to reproduce
winget install -e --id DiskInternals.LinuxReader
Actual behavior
winget do no install the software.
Expected behavior
winget install the software.
Environment
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.4037
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Screenshots and Logs

According to your screenshot, this package uses a vanity URL which always pointing to the latest version. Is this package updated?

Thanks.


Feat: developer onboarding notification added

Addess issue #1043
📑 Description
This PR introduces a new GitHub Action that automatically posts a comment on a pull request once it has been merged into the main branch.

Hey @doberst , could you please review the pr.
I am participating in a opensource competition and it would be really great if you could review this pr.

@Mayank77maruti - really appreciate your contribution ... unfortunately, we tend to not use a lot of custom github actions in our development process or community engagement.   Do you see another way perhaps to achieve this goal without layering in another github action?

Thank you for your feedback on the GitHub Action!
I can use GitHub Webhook paired with a serverless function (hosted on platforms like AWS Lambda, Vercel, or Netlify). Here’s how it would work:
Webhook Setup: I’d set up a webhook on the repository that listens for the pull_request event (specifically for merged PRs).You can set this up in the Settings of your GitHub repository under Webhooks.
Serverless Function: When the webhook is triggered, it would call a serverless function. This function would:
Fetch the author's previous contributions to determine the number of merged PRs.
Post a congratulatory message on the pull request, with wording that dynamically changes based on the author’s contribution count.
GitHub API: The function would use the GitHub API with a Personal Access Token (PAT) to comment directly on the PR, without adding any custom GitHub Action files to the repo.


Remove "unable to resolve host" popup by default unless user tries to refresh the series manually

Describe your suggested feature
SY works nicely but it would be great if it doesn't show the "unable to resolve host" popup unless we refresh the series. It works like this in tachi/mihon and would be great if it's implemented in SY too.

For demonstration, I'm attaching two images. First image is SY, second is tachi/mihon:

Other details
If accepted, I hope this fix can be implemented throughout the extensions including EHentai one, which is created especially for SY. Thanks!
Acknowledgements

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

Possible better idea: don't try to make network connections when the device isn't online (WiFi or data). This might require an extra permission, or the existing permissions for Internet access might be enough.

Its popping up because you are having a connection issue


Correcting enumeration of workflow

In reference to #219

@slorello89 please have a look :)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #227   +/-   ##
=======================================
  Coverage   89.89%   89.89%
=======================================
  Files         385      385
  Lines       11304    11304
  Branches     1100     1100
=======================================
  Hits        10162    10162
  Misses        968      968
  Partials      174      174

Impacted Files
Coverage Δ

Vonage/LegacyNexmoLibrary/Verify/Psd2Request.cs
100.00% <ø> (ø)

Vonage/LegacyNexmoLibrary/Verify/VerifyRequest.cs
100.00% <ø> (ø)

Vonage/Verify/Psd2Request.cs
100.00% <ø> (ø)

Vonage/Verify/VerifyRequest.cs
100.00% <ø> (ø)

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 69a6e1b...861b8e8. Read the comment docs.

Hi @kzuri - thanks for submitting this! much appreciated. will merge this now.

Most welcome 😊
Happy to contribute !!


Split: Remove impossible code

Codecov Report
Base: 86.67% // Head: 86.76% // Increases project coverage by +0.08% :tada:

Coverage data is based on head (7ebdbea) compared to base (a455711).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #99      +/-   ##
==========================================
+ Coverage   86.67%   86.76%   +0.08%
==========================================
  Files         182      182
  Lines        4819     4813       -6
  Branches     1085     1083       -2
==========================================
- Hits         4177     4176       -1
+ Misses        349      345       -4
+ Partials      293      292       -1

Impacted Files
Coverage Δ

Source/SuperLinq.Async/Split.cs
63.33% <ø> (+2.72%)
:arrow_up:

Source/SuperLinq/Split.cs
100.00% <ø> (+9.09%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Feature request: hooks

It would be super cool if we had hooks like in mongoose:
base.pre(
  'save',
  async data => {
    data.password = await hash(data.password, 10);
  }
);

thanks for the input, @SiddharthShyniben – will add this to our feature request list.


Feature: Add options to view previous updates again.

Modules Required: argparser and datetime
User should be able to view updates after a particular date.

Not required. User can visit https://nalanda.bits-pilani.ac.in for the same.


Small fixes

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 008dbbd359de7495f800f545fd2fd9030b734375
Test requested by - @slavapestov

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 008dbbd359de7495f800f545fd2fd9030b734375
Test requested by - @slavapestov

@swift-ci Please smoke test

@swift-ci Please smoke test

Please don't put something like 90d6e8d in a PR called "Small fixes" in the future. In general, putting a bunch of unrelated patches together and calling them "small" makes it more likely that other people won't bother reviewing them.
We need some kind of process for deciding whether a source-breaking change is okay to land. I don't think "two people thought about it" is sufficient.


Current 'requests' release breaks httpie

Please change the setup.py to pin against the latest version of requests that is compatible instead of letting requests move up to 2.6.0 (or later) which breaks httpie.
I know that requests works @ 2.3.0, but later versions may be compatible too.

For reference, the traceback seen with requests 2.6.0 is:
 ❯ http                                                                                [3:52:36 pm]
Traceback (most recent call last):
  File "/usr/local/bin/http", line 7, in <module>
    from httpie.__main__ import main
  File "/usr/local/lib/python2.7/site-packages/httpie/__main__.py", line 6, in <module>
    from .core import main
  File "/usr/local/lib/python2.7/site-packages/httpie/core.py", line 21, in <module>
    from .compat import str, is_py3
  File "/usr/local/lib/python2.7/site-packages/httpie/compat.py", line 6, in <module>
    from requests.compat import (
ImportError: cannot import name is_windows

This problem should be fixed in the latest version of HTTPie (0.9.2).

Sweet, thanks :)
On Tue, Apr 14, 2015 at 5:17 PM Jakub Roztočil<EMAIL_ADDRESS>wrote:

This problem should be fixed in the latest version of HTTPie (0.9.2).
—
Reply to this email directly or view it on GitHub
https://github.com/jakubroztocil/httpie/issues/339#issuecomment-93064973
.


import error for name _zeta when running quickstart example

Using anaconda Python 3.4, and after having installed with pip, running the first quickstart example,
from lifetimes.datasets import load_cdnow
results in:

ImportError                               Traceback (most recent call last)
 in ()
----> 1 from lifetimes.datasets import load_cdnow
/home/lynd/anaconda3/lib/python3.4/site-packages/lifetimes/init.py in ()
----> 1 from .estimation import BetaGeoFitter, ParetoNBDFitter, GammaGammaFitter, ModifiedBetaGeoFitter
2 from .version import version
3
4 all = ['BetaGeoFitter', 'ParetoNBDFitter', 'GammaGammaFitter', 'ModifiedBetaGeoFitter']
/home/lynd/anaconda3/lib/python3.4/site-packages/lifetimes/estimation.py in ()
7 from pandas import DataFrame
8
----> 9 from scipy import special
10 from scipy import misc
11
/home/lynd/anaconda3/lib/python3.4/site-packages/scipy/special/init.py in ()
636 from ._ufuncs import *
637
--> 638 from .basic import *
639 from . import specfun
640 from . import orthogonal
/home/lynd/anaconda3/lib/python3.4/site-packages/scipy/special/basic.py in ()
13                    where, mgrid, sin, place, issubdtype, extract,
14                    less, inexact, nan, zeros, atleast_1d, sinc)
---> 15 from ._ufuncs import (ellipkm1, mathieu_a, mathieu_b, iv, jv, gamma,
16                       psi, _zeta, hankel1, hankel2, yv, kv, _gammaln,
17                       ndtri, errprint, poch, binom, hyp0f1)
ImportError: cannot import name '_zeta'

What was the resolution on not being able to import load_cdnow?


Publish Pipeline Artifact Task on premises recommends to use Build Artifact Task which is deprecated

It is stated "This task is deprecated. We recommend that you use the Pipeline Artifacts task instead."
But when using it, I get "Pipeline Artifact Task is not supported in on-premises. Please use Build Artifact Task instead."
Sounds like a loop - "Build artifacts is deprecated -> use Pipeline artifacts -> error: use Build artifacts instead -> Build artifacts is deprecated ... "
Why there's no information on using "Publish Build Artifact Task" on-premises? How can the deprecated task be recommended to be used?

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

ID: acd43f88-bb0b-e6c1-3a1d-c34af9a11dfb
Version Independent ID: 282eb416-bb03-9553-dbc2-71bb71191c73
Content: Publish Build Artifacts task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/publish-build-artifacts.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @vijayma
Microsoft Alias: vijayma

@andriusha -- Andrejus, thank you for your thorough feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@vijayma -- Vijay, please look into this issue.

@andriusha I'm experiencing the same problem as well while using an on-premises instance of Azure DevOps.
I would like to use the "Publish Pipeline Artifacts"as well.

"Publish and download pipeline Artifacts" is not available in Azure Devops Server (ADOS) 2020 on-premises version.
… and still for version ADOS 2022, you will be redirected to Azure Devops Services in the online documentation.
We are urgently waiting for this feature.
When will Pipeline Artifacts be available in the on-premise version?

@All -- if support is planned, it will be added to the Azure DevOps Roadmap and the Azure DevOps Roadmap backlog items.

Thank you for your feedback! I will update this shortly. We recommend using Publish and download pipeline artifacts when using Azure DevOps Services for faster performance. If you're using the on-premises version, please use Publish and download build artifacts. See Build artifacts for more details.


Build Error

ERROR: Failed to resolve: com.github.arcadefire:nice-spinner:1.4

have you add maven { url "https://jitpack.io" } in allprojects { } build.gradle of module app ?


Remove DO floating ip workaround

DigitalOcean CoreOS images seem to support floating ip's out of the box. This PR removes workaround systemd unit that enabled floating ip's in the past (now it just throws error).
Fixes #642

Looks good!


xReg: add small example before we dive deep

In this section: https://github.com/cloudevents/spec/blob/541e790ef8076f889adfe7a82859f815ec80d22c/discovery.md#entities-in-the-api
I like that we give a short overview, in words, of how to view the "directory". I wonder if it would help readers if we then provided a VERY small example (even if it has lots of ... to hide some output) of what a query result would look like before we start the next section? This might help the reader mentally picture the entities and how they are related/grouped before we dive deep with the list of entities.
Even a psuedo-schema that shows the outline of the directory would be good.
Moved from: https://github.com/cloudevents/spec/issues/623

I am a test comment

I think the pseudo schema that all of our specs now have satisfy this requirement - so closing.


Examples should use MsalError.XXX

The string literals in the examples should all be replaced with the MsalError.XXX equivalent.
e.g.
...
catch (MsalServiceException ex) when (ex.ErrorCode == MsalError.AccessDenied)
...

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

ID: a7a27a93-a596-114e-6bc2-7a8ab5b20ef2
Version Independent ID: 54077d4d-6f1c-5a92-9d61-0533f85628fe
Content: Acquire a token to call a web API (desktop app) - Microsoft identity platform
Content Source: articles/active-directory/develop/scenario-desktop-acquire-token.md
Service: active-directory
Sub-service: develop
GitHub Login: @jmprieur
Microsoft Alias: jmprieur

@StevenTCramer Thanks for your comment. We will review the issue and get back to you shortly.

@StevenTCramer  Thanks for the feedback. We will engage the content development team for further investigation, they will verify and perform necessary changes in the document as needed.
@jmprieur  Can you have a look at this ?

There is no direct mapping between the MSAL.Errors (which are classes of errors, think of access_denied, indeed), and the detail of the reason which is exposed in the AADSTS errors.
#please-close

There is no direct mapping between the MSAL.Errors (which are classes of errors, think of access_denied, indeed), and the detail of the reason which is exposed in the AADSTS errors.
#please-close


Which ip address are we using when there are both IPv4 and IPv6?

From the code, it is not very obvious to me:

https://github.com/containerd/go-cni/blob/master/result.go#L82
https://github.com/containerd/cri/blob/master/pkg/server/sandbox_run.go#L527

@abhi

@abhi any update? Thanks!

The result from the cni plugin will have list of IPs for every interface. If there is 1 IP then it could be either ipv6 or ipv4 depending on what is assigned to each interface. So techincally if only IPv6 address is assigned, this what will be picked by cri-containerd.

Thanks @abhi! In case CNI plugin return one IPv4 and IPv6 address for an interface, what is the rule to pick up the address for the pod? Is IPv4 be preferred? Thanks!

@jingax10 at this point it will be the first IP from the cni result. So essentially the ordering is defined by the cni plugin. Whatever it stamps as the first IP in the slice.
Is there a preference we need to consider here ?

@abhi, thanks for clarification! Could we get the same behavior as dockershim https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/dockershim/docker_sandbox.go#L336 does today? Thanks!

Do you happen to know about reason for that convention ?
Mostly because there is a difference in the approach we took in cri using the go-cni library.
We used the result from the cni plugin as the source of truth as opposed to checking the ip of the  interface inside the sandbox container.


YARN-11532. Incorrect Check for Permission in Test

Description of PR
https://issues.apache.org/jira/browse/YARN-11532
This PR changes the code to check ancestor's execute permissions to actually match the functionality of the method.
How was this patch tested?
Run org.apache.hadoop.yarn.util.TestFSDownload#testDownloadPublicWithStatCache and the test passes.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m  7s

trunk passed

+1 :green_heart:
compile
0m 49s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 45s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
checkstyle
0m 42s

trunk passed

+1 :green_heart:
mvnsite
0m 52s

trunk passed

+1 :green_heart:
javadoc
1m  1s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 51s

trunk passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m 44s

trunk passed

+1 :green_heart:
shadedclient
34m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 37s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
compile
0m 35s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
javac
0m 35s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 28s

the patch passed

+1 :green_heart:
mvnsite
0m 38s

the patch passed

+1 :green_heart:
javadoc
0m 43s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 42s

the patch passed with JDK Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

+1 :green_heart:
spotbugs
1m 37s

the patch passed

+1 :green_heart:
shadedclient
34m  8s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
5m 38s

hadoop-yarn-common in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

135m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6074/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6074

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 4562c25a2bba 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 3a440eb9b267e02a80305f5ca529479d8f14ba6b

Default Java
Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_382-8u382-ga-1~20.04.1-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6074/1/testReport/

Max. process+thread count
637 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6074/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


[Event Request] Codeunit 12 Gen. Jnl.-Post Line - OnAfterInitCustLedgEntry

Hi, would it be possible to get an event OnAfterInitCustLedgEntry in Codeunit 12 Gen. Jnl.-Post Line, like this :

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add Form Component Helper Methods

Desired Changes

Add helper methods for form elements for the styleguide.

Input field
Text Area
Button
Password

Ideally, each form element would encapsulate a single function which allows reusability with error
handling or with higher level form handlers.

Opted for a Material Design approach, so closing this one out.