[BUG] Cannot have selected option with dynamic data (Dropdown component)

Describe the bug
When mounting the Dropdown component with dynamic data (coming from an API, for instance) it's not possible to set the selected value.
I'm rendering the following component with the dynamic as shown bellow:

The component is not setting the Minas Gerais value as the select one, even if we are adding the selected flag as true

But as you can see in the following print, the first render of the Dropdown component is with an empty array, because this list will be filled only after the API response

Expected behavior
When adding the same data hardcoded the Dropdown component works fine
Component after the first load, with the right selected value:

Hardcoded array with the selected value:

The expected behavior of this component is to work with dynamic data as the same hardcoded data does.
It's important to check the reason why the selected value is not being updated and fix it to update whenever the options list changes.
Here is a print to remember how the Dropdown component is:

I'm facing the same issue!
Up!


WiFi connect does not work

Hi sidddy,
i've compiled the code successfully, but i do not get a working wifi-connection. I've tried several wifi settings without any success.
To eliminate hardware issues i've tested this code ( https://techtutorialsx.com/2017/06/29/esp32-arduino-getting-started-with-wifi/ ) and could connect immediately.
I'm not sure how to debug this, so any help is appreciated :-)
Thanks
Chris

serial output is "Connecting WiFi..." until "Going to sleep".
I do not see any connection attemps in the wifi logs (mikrotik).
board: Lolin32 01.0.0 (esp-wroom-32 chipset)

I'm not able to reproduce this issue... as far as I can see, the c"working wlan code" you referred to is using the same wifi calls as I do... can you enable wlan debug information and check serial console again?

I was referring to debugging on the ESP32 side: In arduino, you could change your board to ESP32 Dev Module, which would give you an additional "Debug" menu entry. Set core debug level to the highest one and try again.
Your issue description sounds much like https://github.com/espressif/arduino-esp32/issues/1212 . Maybe you can try the solution proposal given in the latest comment.

Indeed, after "patching" your code with the workaround described here everything is working now.
Thank you, and keep up the good work!

I have a similar problem. Connecting to WiFi can last forever. Worst with DHCP but also fixed IP takes long time.
I am running a web-radio and once connected, some streams are slower than others,  causing drop-outs from time to time (most in the beginning). This has nothing to do with bit-rate; even low bit-rate streams have problems.
I suspect, that the TCP protocol has a bug or a weakness as the problem is the same for all kinds of HTTP/WiFi clients.
I tried the tricks mentioned above with no effect (also only affects connection - if any)
I use Arduino IDE. Internet speed is more than 100mb/s
Any suggestions are appreciated?


Package managers FindPackagesById URI404

Describe the bug
In Visual Studio 404 error for packages that actually exist in Baget
To Reproduce
Steps to reproduce the behavior:

Using this version of BaGet 'e342ceecdb'
Run this code 'dotnet Baget.dll'
With these arguments 'NA'

Expected behavior
The package should be found and should install in the project
Screenshots
Additional context
The full URL looks like: http://localhost:2525/api/v3/search/FindPackagesById()?id='ExamplePkg'&semVerLevel=2.0.0

Hello, this is expected as currently BaGet does not support NuGet's V2 APIs. How are you downloading your packages? Maybe you can use NuGet's V3 APIs instead?
For your information, this issue is tracking NuGet's V2 APIs: https://github.com/loic-sharma/BaGet/issues/43


Potential issues with store as a prop and shallow test rendering in v7

I write one React test, but I don't get the right result. I don't know the reason.
I use the "enzyme-adapter-react-16": "^1.15.0", "enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.0",  "react-test-renderer": "^16.10.2", "react-redux": "^7.1.1",
I got the following error:
Overview test › check children
expect(received).toBe(expected) // Object.is equality
    Expected: 1
    Received: 0
      53 |       // });
      54 |       console.log("********wrapper***", wrapper);
    > 55 |       expect(wrapper.find("header").length).toBe(1);
         |                                             ^

But if I remove the store props, it can find them.
This is my code:
"use strict";

import React, { Component } from "react";
import PropTypes from "prop-types";
import intl from "react-intl-universal";
import { Loading } from "carbon-components-react";
import { connect } from "react-redux";

export class Overview extends Component {
  constructor(props) {
    super(props);
    this.messages = {
      desc: intl.get("OVERVIEW_SUMMARY")
    };
  }

  render() {
    return this.props.serviceCatalog.isFetching ||
      this.props.serviceCatalog.didInvalidate ? (
      <Loading />
    ) : (

{this.props.serviceCatalog.services}

{intl.get("PRODUCT_TITLE")}

    );
  }
}

Overview.propTypes = {
  serviceCatalog: PropTypes.object
};

export default connect(state => ({
  serviceCatalog: state.serviceCatalog
}))(Overview);

And the following is my unit test code:
import React from "react";

import { shallow } from "enzyme";
import { configure } from "enzyme";

import Adapter from "enzyme-adapter-react-16";
import "babel-polyfill";

import Overview from "../../../../src/client/components/overview/";
import intl from "react-intl-universal";
import configureMockStore from "redux-mock-store";

const mockStore = configureMockStore();
const store = mockStore({
  serviceCatalog: {
    isFetching: false,
    didInvalidate: false,
    services: { label: "Fortinet", name: "Fortinet on IBM Cloud" }
  }
});

configure({ adapter: new Adapter() });

(() => {
  const shallowComponent = props => {
    return shallow(<Overview {...props} store={store} />);
  };

  describe("Overview test", () => {
    let wrapper = null;
    beforeAll(() => {
      wrapper = shallowComponent({
        serviceCatalog: {
          isFetching: false,
          didInvalidate: false,
          services: { label: "Fortinet", name: "Fortinet on IBM Cloud" }
        }
      });
    });

    afterAll(() => {
      wrapper.unmount();
    });
    test("check children", () => {
      expect(wrapper.find("header").length).toBe(1);
      expect(wrapper.find("h2").length).toBe(1);
      expect(wrapper.find("h2").text()).toEqual(intl.get("PRODUCT_TITLE"));
    });
  });
})();

Where do I wrong?

@dschinkel Could you help to tell me?

See airbnb/enzyme#2011

@timdorr I don't know the issue "React hooks support checklist" why is the reason of my failure. Could you explain to me some information. I don't understand the issue  #2011. And will my issue w be resolve until the issue #2011 is closed? Thanks.

It's mainly this:

useEffect and useLayoutEffect not works with shallow because react shallow renderer doesn't run it.
You shouldn't be using shallow rendering for connected components. I would use something like React Testing Library instead.


How would i integrate mdg:camera

A little bit confused on how to get this working. id like to have a button to push that would take a picture ( easy with mdf:camera) and then use that image for the field of a form managed by autoform. ... i actually would have 3 images but assuming if i get it to work with one it should be fine?

same question - @premesh - did you get this sorted?

same question. Any news?

+1

Hello, is there an update to this question?

@premesh @langfors @xpluscal @tcastelli @ghost
I'm going to do this right now. Did you guys succeed? Any tips?


Switch build:firefox from cfx to jpm (Jetpack)?

Context: The mozilla-addon-sdk's activate.bat fails to find the path to Python on Windows, if the Python install directory contains a space. — In looking into that bug (789725, 840819), I noticed a completely different issue in Mozilla's issue tracker:
915376 - JEP Native Jetpack
mozilla/addon-sdk#1241
...which is apparently scheduled for Q2/2014 and announces The Future of Cuddlefish:

This will be the end of life for our cuddlefish/cfx command line tool (for reasons stated above) as a thing that is meant for community use, if it exists at all then it will be a small fragment of what it used to be.
The new tool is jpm.

Docs: Mozilla Jetpack manual
The activate[.bat] script of the SDK is just a dumb wrapper to find the python executable and start the Jetpack SDK environment:
python -c "from jetpack_sdk_env import welcome; welcome()"

But given the above findings, I now wonder whether I need to spend any time to fix that bug in the SDK, in case there is a chance that we'll switch from cfx to jpm anytime soon?
I didn't try out jpm yet; still ramping up on more basic extension building aspects. - Thoughts?

#268

Dreditor is being decommissioned due to the lack of availability of current maintainers and the fact that Drupal.org is becoming more feature rich at a much faster rate than Dreditor itself now.
This decision was also partially made due to the amount of work (complete rewrite) it would take to create an "official" Firefox extension (#256).
If you already have the extension installed, it should continue working for a while until, inevitably,  the markup on Drupal.org changes. It will no longer be updated.
We understand that many of you love this extension, as do we. This isn't the end, in fact, it's a much brighter beginning. All the things we love about Dreditor can, and should, be moved into Drupal.org natively.
For more information, please follow: https://www.drupal.org/node/2779729

This issue was moved to dreditor/dreditor#31


added language support

Added the possibiltie to use en language encoding like this:
imdb = IMDB(lang="de")
If there is a special alternated name for the used country, it will be passed to the alternateName attribute.
The original Name will be untouched

this should be added ASAP.


"inspired by diu"

this project is plagiarism you took https://chatgpt.ddiu.me/ & https://github.com/anse-app/chatgpt-demo and just changed a couple of words in the html? even the github issues in this repo lead to https://github.com/anse-app/chatgpt-demo/discussions
you can't even say you're within the bounds of the MIT license because you removed mentions to it and added a GPL instead..?

Dear faetalize,
I want to sincerely apologize for the issues you've pointed out regarding my GitHub project. After reading your comment, I've realized that I made a significant oversight in regards to the licensing and attribution of the original projects https://chatgpt.ddiu.me/ and https://github.com/anse-app/chatgpt-demo.
Firstly, I acknowledge my mistake in changing the license from MIT to GPL. This was not done with the intent to disregard the original licensing terms, but rather due to a lack of understanding on my part.I have already reverted the license back to MIT to respect the original creators' terms.
Additionally, I have been focused on bug fixes and updates, which led to a delay in updating the README file. However, I realize the importance of proper attribution and giving credit where it's due. I am immediately updating the README file to clearly state the original sources and their contributions.
I assure you that this was not an act of intentional plagiarism or disrespect. I failed to give the required attention to licensing and attribution details in my eagerness to release the project. I am committed to rectifying these mistakes and ensuring that my project adheres to the correct open-source standards.
Thank you for bringing this to my attention. I am grateful for the opportunity to learn from this experience and to correct my errors. Your feedback is invaluable to maintaining the integrity and collaborative spirit of the open-source community.
Best regards,
babaohuang

If you're going to actually do those things, then sweet.
However you really used AI to generate your reply? Wild

If you're going to actually do those things, then sweet.如果你真的打算去做那些事情，那太好了。
However you really used AI to generate your reply? Wild然而你真的使用了人工智能来生成你的回复吗？疯狂

Indeed, I used GPT to refine my response. I wanted to ensure my message was clear and respectful.

Thank yoou


MFT is missing, kinda

I ran into this old issue today.  https://github.com/teamdfir/sift/issues/9
The MFT isn't "visible" but as stated in the other thread, you can copy it out.
I'm running SIFT installed via cast on Ubuntu 22.04 in a VM.
I was attempting to run mftecmd, but discovered this issue.
Any idea what is going on?
~Salty

I did a quick test on a Fedora 39 system and the MFT file is present without needing to copy it off.
Fedora:
ewfmount 20140812
bdemount 20231106
SIFT:
ewfmount 20140814
bdemount 20221031
Not sure if that helps, but it seems like we just need to figure out which package has the issue and get it upgraded or downgraded.
~Salty

Hi @salty4n6 , thanks for bringing this up. I'll take a look this weekend and see if I can identify why it's not showing up in one, but is in the other. Have you tried testing this already on a non-bitlockered E01 to see if there was still a difference?

Hi @digitalsleuth
I tested a non-encrypted E01 and the MFT file is missing, too.
I'm going to do an update just to make sure that I have all the latest files for SIFT.
~Salty

Sounds good. I'm taking a look now and will keep you posted.

Hi @salty4n6 , it turns out that this is "expected" behaviour for the ntfs-3g driver in linux. According to their documentation (man mount.ntfs):
show_sys_files
              Show the metafiles in directory listings. Otherwise the default behaviour is to hide the metafiles, which are special files used to store the NTFS structure. Please note that even when this option is specified, "$MFT" may not be visible due  to  a  glibc  bug.
              Furthermore, irrespectively of show_sys_files, all files are accessible by name, for example you can always do "ls -l '$UpCase'".

Now, it could be that your version of Fedora has an updated version of the NTFS-3G driver, or the version of glibc installed doesn't have the same issue as it does on Ubuntu. I'll see if there's a workaround or a fix, but since this was already expected behaviour from the developers, I won't get my hopes up.
Hope this helps!

Note that you can still interact with the $MFT without needing to copy it first. Just escape it on the command line. For example:
ls -lh /path/to/mount/\$MFT
md5sum /path/to/mount/\$MFT

Absolutely, it just won't be visible in the ls output.

Appreciate you both looking into this.
I did some additional testing this morning and Ubuntu 23.10 with GLIBC 2.38 (which is what Fedora 39 also uses) shows the $MFT using ls.
Based on what I've read, it is what it is for Ubuntu 22.04.
Thanks again.
~Salty

Well, since we're not far off from a new LTS, chances are this issue will also be resolved in 24.04 and we won't have to worry about it when we support it.
Cheers!


Normalizing_Plant_name

Investigate Ross Mounce's recommendation for R-based tool to resolve plant names.

Please use R taxize package
Package is at
https://cran.r-project.org/web/packages/taxize/index.html
Tutorial is at
https://cran.r-project.org/web/packages/taxize/vignettes/name_cleaning.html

This has already been completed by @ambarishK
Results are with Manish.
Please check and close this issue

With reference to the data in the attached file, there are some problems that I have identified as of now.
Though the entries 6 and 7 are of the same species, they have different synonyms.
The entries 15 and 16 refer to the same plant. There is a small difference in the way they have been spelt. The entry 16 seems to appear in the research articles and only entry 15 has synonyms.
Entries 45 and 46 seem to be the same; but, have different information. The same problem is faced with entries 29 and 30.
plant_synonym_match.xlsx

I am hereby sending the file with the modifications. I have not changed the pid of any plant as I thought it could be linked to other data.
essoildb.plantdata (1).xlsx
The file containing the deleted names along with the reasons for deletions is also attached below.
Deletions.docx
There are some issues for which I need some clarifications. I have listed them below:

pid - 560, 179, 920, 1074 -> have "sp. nov" after the genus in their binomial names. I have not shifted these terms to the column titled "variations".
Also, I have not moved the abbreviations/ names of authors (eg: L., Swingle) to the column titled "variations".
As I am not sure of what has to be done regarding these, I kindly request you to get back to me about the same.
I have run the package taxize (gnr_resolve) for the data on R. I have attached the sample of 100 taxize results and the complete taxize results also. This result needs further analysis (eg.: The information retrieved from the data source - "Catalogue of Life" has  resulted in variations in the binomial names). The tool did not show the results of all the names (1804 results were obtained when 1809 names were loaded).
sample_taxize_result.xlsx
taxize_table.xlsx

There is need to correct spelling of plant species entries.

Please do not discard those entries which are misspelled. Instead correct them using wiki search.
If entry contains only genus OR only species instead of plant species name, add required to complete the entry.
If plant species differ at sub-species level, please do not discard them. If sub-species has different author, then only go for removing them from the list.

I have a list of 642 entries which has not generated search results because of spelling error. So, it need to correct their spelling.

Thank you for this clear and careful analysis. This is a significant
improvement to the quality of the plants database.
The question of whether subspecies, hybrids should be treated explicitly is
a hard one. It's certaily possible that both of these have different
phytochemical profiles. On the other hand the nomenclature in the articles
is probably variable and uncontrolled. I think what you have is a good
start. We'll talk next time. (Similar ambiguities occur with chemistry). We
have to remember that authors have different standards of reporting names.
The authority label (e.g. L.) should not be part of the name.  It's
unlikely that the identity of the plant will change (although there can be
ambiguity occasionally).
I believe that spelling errors should be corrected. In some cases we may
also need to disambiguate older synonyms (Ocimum sanctum vs O.
tenuiflorum). Our job is to make the best estimate of what the plant was
but not.
On Fri, Jun 28, 2019 at 11:49 AM Shruthi-M<EMAIL_ADDRESS>wrote:

I am hereby sending the file with the modifications. I have not changed
the pid of any plant as I thought it could be linked to other data.
essoildb.plantdata (1).xlsx
https://github.com/gilienv/EssOilDB/files/3338676/essoildb.plantdata.1.xlsx
The file containing the deleted names along with the reasons for deletions
is also attached below.
Deletions.docx
https://github.com/gilienv/EssOilDB/files/3338691/Deletions.docx
There are some issues for which I need some clarifications. I have listed
them below:

pid - 560, 179, 920, 1074 -> have "sp. nov" after the genus in
their binomial names. I have not shifted these terms to the column titled
"variations".

See Wikipedia. https://en.wikipedia.org/wiki/Species_nova. I think it can
be dropped.

Also, I have not moved the abbreviations/ names of authors (eg: L.,
Swingle) to the column titled "variations".

I think we should.

As I am not sure of what has to be done regarding these, I kindly
request you to get back to me about the same.
I have run the package taxize (gnr_resolve) for the data on R. I
have attached the sample of 100 taxize results and the complete taxize
results also. This result needs further analysis (eg.: The information
retrieved from the data source - "Catalogue of Life" has resulted in
variations in the binomial names). The tool did not show the results of all
the names (1804 results were obtained when 1809 names were loaded).
sample_taxize_result.xlsx
https://github.com/gilienv/EssOilDB/files/3338787/sample_taxize_result.xlsx
taxize_table.xlsx
https://github.com/gilienv/EssOilDB/files/3338788/taxize_table.xlsx

I will have a look and mail back.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/42?email_source=notifications&email_token=AAFTCS6JRMFDPVCKXRG45GDP4XUCPA5CNFSM4H2QXJ62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZYBHY#issuecomment-506691743,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFTCSZTEHQJ2QHAC346CF3P4XUCPANCNFSM4H2QXJ6Q
.

--
Peter Murray-Rust
Reader Emeritus in Molecular Informatics
Unilever Centre, Dept. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069

On Fri, Jun 28, 2019 at 1:38 PM Ambarish Kumar<EMAIL_ADDRESS>wrote:

There is need to correct spelling of plant species entries.

Please do not discard those entries which are misspelled. Instead
correct them using wiki search.
If entry contains only genus OR only species instead of plant
species name, add required to complete the entry.
If plant species differ at sub-species level, please do not discard
them. If sub-species has different author, then only go for removing them
from the list.

I have a list of 642 entries which has not generated search results
because of spelling error. So, it need to correct their spelling.

Please leave this policy to the plant scientists - we discuss it regularly
—

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/42?email_source=notifications&email_token=AAFTCSZHW4324RR7TACKBDLP4YA6DA5CNFSM4H2QXJ62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZ6V3Q#issuecomment-506718958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFTCS3FXER6UPC6RAZTT3LP4YA6DANCNFSM4H2QXJ6Q
.

--
Peter Murray-Rust
Reader Emeritus in Molecular Informatics
Unilever Centre, Dept. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069

On Fri, Jun 28, 2019 at 11:49 AM Shruthi-M<EMAIL_ADDRESS>wrote:

I am hereby sending the file with the modifications. I have not changed
the pid of any plant as I thought it could be linked to other data.
essoildb.plantdata (1).xlsx
https://github.com/gilienv/EssOilDB/files/3338676/essoildb.plantdata.1.xlsx
The file containing the deleted names along with the reasons for deletions
is also attached below.
Deletions.docx
https://github.com/gilienv/EssOilDB/files/3338691/Deletions.docx
There are some issues for which I need some clarifications. I have listed
them below:

I have run the package taxize (gnr_resolve) for the data on R. I
have attached the sample of 100 taxize results and the complete taxize
results also. This result needs further analysis (eg.: The information
retrieved from the data source - "Catalogue of Life" has resulted in
variations in the binomial names). The tool did not show the results of all
the names (1804 results were obtained when 1809 names were loaded).
sample_taxize_result.xlsx
https://github.com/gilienv/EssOilDB/files/3338787/sample_taxize_result.xlsx
taxize_table.xlsx
https://github.com/gilienv/EssOilDB/files/3338788/taxize_table.xlsx
I have looked briefly at this - it seems that almost everything matches.
It may be useful to record those entries with a serious problem that cannot
be resolved. Looks promising.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/42?email_source=notifications&email_token=AAFTCS6JRMFDPVCKXRG45GDP4XUCPA5CNFSM4H2QXJ62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYZYBHY#issuecomment-506691743,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFTCSZTEHQJ2QHAC346CF3P4XUCPANCNFSM4H2QXJ6Q
.

--
Peter Murray-Rust
Reader Emeritus in Molecular Informatics
Unilever Centre, Dept. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069

This is the file containing the complete taxize results:
taxize_result_2.xlsx
After reviewing the results, I noticed that the plant - Serotinocarpum insignis is the only taxon which is not being recognized by the taxize package. I verified the taxon's existence with The Plant List database (one of the databases not used by taxize) using another R package - Taxonstand, which also yielded the result as FALSE.
This is the article from which it is taken -  https://www.tandfonline.com/doi/pdf/10.1080/10412905.2004.9698667?needAccess=true.
I was unable to find the mention of this taxon in any other article or datasource.

Well done.
I am not an expert but it looks as if they have got this garbled. We should
keep the binomial, but note in "details" field that this species cannot be
identified.
Make sure that your work is documented.
do you have issues you want to talk about? We can arrange a telcon, maybe
tomorrow?
And I think that we can start thinking about the chemistry. I can't
remember what software or services was recommended.
On Tue, Jul 2, 2019 at 10:57 AM Shruthi-M<EMAIL_ADDRESS>wrote:

This is the file containing the complete taxize results:
taxize_result_2.xlsx
https://github.com/gilienv/EssOilDB/files/3349356/taxize_result_2.xlsx
After reviewing the results, I noticed that the plant - Serotinocarpum
insignis is the only taxon which is not being recognized by the taxize
package. I verified the taxon's existence with The Plant List database (one
of the databases not used by taxize) using another R package - Taxonstand,
which also yielded the result as FALSE.
This is the article from which it is taken -
https://www.tandfonline.com/doi/pdf/10.1080/10412905.2004.9698667?needAccess=true
.
I was unable to find the mention of this taxon in any other article or
datasource.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/42?email_source=notifications&email_token=AAFTCSYVMFX2AFQRWRS3VCTP5MQ7FA5CNFSM4H2QXJ62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZAXU6Q#issuecomment-507607674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFTCSZUI7RBQZYOLGKOGJDP5MQ7FANCNFSM4H2QXJ6Q
.

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK

On Tue, 2 Jul 2019 at 15:58, petermr<EMAIL_ADDRESS>wrote:

Well done.

Thank you Sir.
I am not an expert but it looks as if they have got this garbled. We should

keep the binomial, but note in "details" field that this species cannot be
identified.

Ok. I shall do accordingly.
Make sure that your work is documented.

Yes Sir, all the work is being documented.
do you have issues you want to talk about? We can arrange a telcon, maybe

tomorrow?

No Sir. As of now, the process is proceeding smoothly.
And I think that we can start thinking about the chemistry. I can't

remember what software or services was recommended.

Sure. We can start this step. I am not aware of any software or service. Is
it possible for us to have a telcon to discuss about the software and the
tasks that have to be further performed?

On Tue, Jul 2, 2019 at 10:57 AM Shruthi-M<EMAIL_ADDRESS>wrote:

This is the file containing the complete taxize results:
taxize_result_2.xlsx
https://github.com/gilienv/EssOilDB/files/3349356/taxize_result_2.xlsx
After reviewing the results, I noticed that the plant - Serotinocarpum
insignis is the only taxon which is not being recognized by the taxize
package. I verified the taxon's existence with The Plant List database
(one
of the databases not used by taxize) using another R package -
Taxonstand,
which also yielded the result as FALSE.
This is the article from which it is taken -

https://www.tandfonline.com/doi/pdf/10.1080/10412905.2004.9698667?needAccess=true

.
I was unable to find the mention of this taxon in any other article or
datasource.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/gilienv/EssOilDB/issues/42?email_source=notifications&email_token=AAFTCSYVMFX2AFQRWRS3VCTP5MQ7FA5CNFSM4H2QXJ62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZAXU6Q#issuecomment-507607674
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAFTCSZUI7RBQZYOLGKOGJDP5MQ7FANCNFSM4H2QXJ6Q
.

--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gilienv/EssOilDB/issues/42?email_source=notifications&email_token=AMIWRYCGTZBCQGUUDD7DCPDP5MUUVA5CNFSM4H2QXJ62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZA2CGA#issuecomment-507617560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMIWRYHSUYSDT4TR233KZALP5MUUVANCNFSM4H2QXJ6Q
.


Unknown line code: F

error    2:investment - Unknown line code: F in line 522618:FEUR

seems to be a currency field

See https://github.com/isaacharrisholt/quiffen/issues/64#issuecomment-1765207802

This one needs to introduce a new field which seems to break the tests.

Closing due to inactivity and lack of time. If anyone runs into this again, please reopen and submit a PR!


Update to ungoogled-chromium 113.0.5672.64-1

Builds and runs fine. No notable changes besides the upgrade to clang-16.

This is actually hilarious, I was just setting up my buiild environment to try to compile version 113 and found out that the PR containing the stuff I'd need was opened literally 2 minutes ago ;D


1.1.0 coerces all code to Strict Mode

As of v1.1.0, the following code now causes ngAnnotate to fail:
function foo() {
  delete Bar;
};

$ ng-annotate foo.js --add
error: couldn't process source due to parse error
Deleting local variable in strict mode (3:2)

Note that the input is not in strict mode.
This regression appears to have been introduced in d9610a913589235a63712d7771f9ba27c7c6f3e5.  Acorn appears to be behaving correctly, as modules are implicitly always in strict mode.
This is an issue for us, because we run all of our JS (including external libraries) through ng-annotate, which has proven to be safe up until now.  Notably, Raphael contains some "non-strict" code that causes Acorn to throw an exception when ngAnnotate tries to parse it.

Ouch - very sorry about that! Just released 1.1.1 which fixes the problem.

awesome.  thanks for the quick fix!!!


plash-import-lxc needs future-proofing (strange version names)

There are combinations of distro and version name on https://images.linuxcontainers.org that plash does not handle very well.
Examples:
devuan-ascii
alt-Sisyphus
alt-p9
Currently plash fails while trying to download anything from lxc.
Why not ignore these distros altogether, along with anything that's not the image requested?
At least it protects from use-case where these things make plash fail even if user needed completely different image.

Thank you very much for the issue

Currently plash fails while trying to download anything from lxc.

That is obviously not good. I will make it more stable. Not trying to interpret every distro and version is definitely a good idea.

Fix is in master: https://github.com/ihucos/plash/pull/114
I'd appreciate any input. Feel free to close this issue if this solves the problem.

Seems to work, the list of all images available on lxc seems like a very convenient feature, thank you!


How do I get pylance to recognize the _ ("underscore") function from gettext.

Hello, all
I work on a project that uses GNU gettext for translating strings. I tried to use the "typings" functionality to get it to recognize the "_" function as follows:
# somefile.pyi
def _(in: str) -> str: ...
def coolstub(in:str) -> str: ...

coolstub(...) is recognized and available globally. Is there a way to make pylance recognize _(...) as well?
Thanks in advance :)

Are you just seeing that _ isn't available externally? Symbols that begin with _ are treated as private to the module, which may be why you're not seeing them externally (although we may also be treating the symbol _ specially, though it is a valid symbol name). What does the code that uses this function look like?
If you define an __all__ that contains _, does it work as you expect? E.g.:
# stub contents ...

__all__ = ['_', 'coolstub']

Unfortunately, it does not.
I thought it would have something to do with underscore being private by default, and I'd already tried exporting the symbol explicitly, to no avail. No symbols starting with '_' get recognized, even if exported explicitly. Maybe there is something else at work, or the 'all' mechanism does not apply to pyi files?

__all__ does apply to pyi files.
This seems more like our analysis is making some assumptions about _ itself, which is typically used as a discard variable and not an actual usable value (beside in the REPL, where it always means the previous evaluation).

Alright, I think I understand the issue better.
It'd be nice if Pylance could support such a usecase, as in "advanced symbols are being injected into the global namespace, and the developer wants to annotate that".
Thank you so much for the lightning-quick response, I'm impressed!

I guess the thing I'm confused about is how you were using a stub to add things into a global namespace; as far as I'm aware, the only ways to do so are:

Fork typeshed, add what you need to builtins.pyi.
Create a dummy module that doesn't exist at runtime and * import it in a if TYPE_CHECKING block.
"Declare" them in a if TYPE_CHECKING block with their types.

You can't have somefile.pyi, then go to somefile.py and see the types you declared there; the stubs are the external API of a module to other files and do not affect the "real source" they are describing (#1238).

I'm sorry, I wasn't truly adding things to the global namespace.
There was autocompletion of the 'coolstub' symbol coming from somewhere, so I thought that was working, but now, if I try to reference it, Pylance asks me to import it from a module named the same as my pyi file, or from the 'typings' module, if my file is pyi is named __init__.pyi.
So yeah, I understand now that any file I put on the 'typings' folder will be understood as describing a module, and would not ever do anything to the built-ins namespace in the first place. My bad.
The ways you have outlined above all make sense. Since I want to get it working without modifying my source, I tend towards the first solution.

It's not really a good option to fork typeshed; how are the symbols appearing? Are they imported from somewhere, or are they getting injected by some wrapper?

It is showing up as such:

inside the '${workspace}/typings' folder I have an __init__.pyi file with the following contents:
def _(in: str) -> str: ...
def coolstub(in: str) -> str: ...

__all__ = ['_', 'coolstub']

I had named it __init__.py to see if would show up in the global namespace. Yeah, now I know that's not going to happen.
On the other hand, if I name it something.py, nothing changes, except that Auto-import will ask if I want to import the symbol from the something module.
Before, It was showing up on autocomplete with a blue icon (little box within brackets). Can't reproduce that anymore.

Yeah, you don't want to have an __init__.pyi in typings. That would be some magic module without a name, as typings is effectively an import root. For example, if you wanted to make a stub for somelibrary, you'd have typings/somelibrary/__init__.pyi.
Having the the __init__.pyi at the root confuses things, as it then thinks that typings is an importable module, which it isn't. No __init__ in a search path is importable that way, so that's probably a case we should fix to avoid confusion, but it's not the way to add stuff to the builtins.

I see that the "waiting for user response" label was added to this ticket, but I'm not sure what more information I could provide. From what I got from our discussion, the usage scenario was explained and understood, but it is not yet achievable with Pylance. I'm eager to provide any additional information is required.

No, that was done in error; it's back to being marked as needing investigation.

I think I'm also hit by that bug. I'm not sure because it went quite fast to workarounds in __init__.pyi file and such.
In my case I simply use gettext and its gettext.install() function, which declares the _() function. I have several hundreds of "_" is not defined messages.
Here's my project: https://github.com/MightyCreak/diffuse

It appears that the gettext library is dynamically injecting symbols into the builtins namespace. Here's the code that does this:
builtins.__dict__['_'] = self.gettext

This is highly suspect and inadvisable. Libraries shouldn't be overwriting the namespace of any other module, especially stdlib modules and most especially the builtins module! This practice can result in library namespace collisions and difficult-to-debug initialization ordering bugs. I'm quite surprised that a library would contain such hacky behavior.
The good news is that this library doesn't automatically do this namespace modification upon initialization. You will get this undesirable behavior only if you call gettext.install(). I recommend not calling that method.
My recommendation is that you replace the call to gettext.install() with the following:
    import gettext
    translator = gettext.translation('diffuse', LOCALEDIR)
    _ = translator.gettext

You could add this code to each file that uses the _ function or place it in a common utility module if you prefer to allocate only a single translation object for your entire project. Other modules in your project could then explicitly import _ from the utility module.
You might also want to consider giving the symbol a more appropriate name since _ is not self-documenting and is conventionally used in Python to indicate "a symbol whose value I don't care about".

I understand the arguments, but AFAIK (and I might be wrong), gettext is a well-known and widely-used lib, and using _() around your translated string is a known pattern in several languages.

gettext isn't just widely known, it's in the python stdlib itself, and as per the documentation it conventionally relies on injecting the _() function into the builtins. This is then used by utilities like GNU gettext or Babel to extract the necessary strings for i18n.
In flake8 we're able to specify
builtins = _

to add _ to the list of builtins. Any chance of a similar configuration option here?

For sure that injecting functions into the builtin namespace isn't "good practice", but it's a very common pattern. The suggested alternative of manually declaring _ wherever it's used is highly undesirable, because:

You can't really do that to large, established codebases; Well, you can, but in reality, in many production environments, you cannot.
The reason that _ is usually injected as a global symbol is because translations are supposed to be ubiquitous, especially in user-interface code.
Having to add repeated boilerplate to most files in a project just can't be good practice, can it?

I investigated various ways we could support this. The solution I landed on was a special type stub file __builtins__.pyi. If pyright or pylance find a type stub file with this name, it adds the symbols declared in this stub file to the builtins scope. I recommend placing this stub file in your root project directory or within the subdirectory referenced by the python.analysis.stubPath setting (by default, it's called typings). For more details, refer to this documentation. This functionality will be included in the next release of pyright and pylance.

Just to check if I understand the format right, the contents of __builtins__.pyi should essentially be
def _(__msg: str) -> str: ...

right?

Yes, that's the correct syntax. I don't know if that's the right signature for your use case.
You could optionally use a positional-only separator rather than using the old-style "double underscore" convention.
def _(msg: str, /) -> str: ...

Thank you so much, Eric! I'll give a spin as soon as the next version comes out.

This issue has been fixed in version 2022.2.1, which we've just released. You can find the changelog here: CHANGELOG.md


Update cp-sdk-android-wizard-app-* against Android SDK 3.2 and Android Studio 4.1

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


DB Initialization

Initalizing the database is a pain, because there's no way to tell if the app is loading for the first time or not. For convenience, it would help if get_engine took a SQLAlchemy DeclarativeBase or MetaData object and (if the file is being created for the first time) automatically called create_all with the engine before returning it. This would ensure that new databases are initialized correctly, and old databases aren't overwritten since it doesn't look like sqlalchemy includes conditional clauses on CREATE TABLE commands. (I don't know what happens when you repeatedly emit identical CREATE TABLE commands to sqlite. This might all be unnecessary, but it would still be a convenient way to setup the database.
For typing and clarity, it might be best to use two different arguments, one to indicate a DeclarativeBase and one to indicate a MetaData instance.

Closed by merge #3. Added metadata argument, which requires the additional step of passing Base.metadata, but I think this is a reasonable ask.


json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I am trying to translate a list of tokens from chinese to english. I get the following error after a few attempts of translation. Is this because of rate limits?
File "/home/sharath/.local/lib/python3.5/site-packages/googletrans/client.py", line 127, in translate
   translated = self.translate(item, dest=dest, src=src)
 File "/home/sharath/.local/lib/python3.5/site-packages/googletrans/client.py", line 132, in translate
   data = self._translate(text, dest, src)
 File "/home/sharath/.local/lib/python3.5/site-packages/googletrans/client.py", line 63, in _translate
   data = utils.format_json(r.text)
 File "/home/sharath/.local/lib/python3.5/site-packages/googletrans/utils.py", line 62, in format_json
   converted = legacy_format_json(original)
 File "/home/sharath/.local/lib/python3.5/site-packages/googletrans/utils.py", line 54, in legacy_format_json
   converted = json.loads(text)
 File "/data/anaconda2/envs/dlatk/lib/python3.5/json/__init__.py", line 319, in loads
   return _default_decoder.decode(s)
 File "/data/anaconda2/envs/dlatk/lib/python3.5/json/decoder.py", line 339, in decode
   obj, end = self.raw_decode(s, idx=_w(s, 0).end())
 File "/data/anaconda2/envs/dlatk/lib/python3.5/json/decoder.py", line 357, in raw_decode
   raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Same here, stops randomly for no reason. Not sure if it's a rate limit as I tried sleep(1) in every loop of my script and still face this issue.

Same here, randomly stopped after going through about half my list. Seems like a rate limit as I added sleep(.4) to every loop of my script and it finally worked.

There should be some way of gracefully showing what the actual cause is

Do we have fix here?
I can't pass my string variable includes lot mixed German and English into. And it just break at this point translator.translate(cleared_text) with the same above error.
@VindhyaSRajan -- for your update

I have this error too, and I found emoji in translating text cause this error.

same thing here with emojis, I had to fallback to plain text to be able to translate.

Yup, just made for sure emojis break it - for the record, I get
[[["this is life","this is life",null,null,0]],null,"en",null,null,null,1,null,[["en"],null,[1],["en"]],null,null,null,null,null,[["this","life","is","this is"]]]

without emojis and this with emojis
<!DOCTYPE html>

  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 403 (Forbidden)!!1</title>

403. That’s an error.

Your client does not have permission to get URL /translate_a/single?client=t&sl=auto&tl=en&hl=en&dt=at&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&ie=UTF-8&oe=UTF-8&otf=1&ssel=0&tsel=0&tk=888770.784426&q=this+is+%F0%9F%8D%8B from this server.  That’s all we know.

I think I might have an idea on what's causing this. I noticed that some emojis do work, but not the ones with code points within a special range (e.g. like the ones above 1F000). I think this is because the encoding Python uses to count characters, as opposed to JS which counts in UTF-16, causing the token generator to create the wrong token (the tokens didn't match when I tested it with the web version of Google Translate). Check out this issue from the PHP version of the library for more info.

I'm not sure about this.
Creating the request url in chrome. By entering the emoji, then using requests.get seems to respond with the correct response.
This is certainly how this library handles this specifically.

From: Stephanie Wagner<EMAIL_ADDRESS>Sent: Thursday, August 30, 2018 4:44:33 AM
To: ssut/py-googletrans
Cc: Modelmat; Comment
Subject: Re: [ssut/py-googletrans] json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (#47)
I think I might have an idea on what's causing this. I noticed that some emojis do work, but not the ones with code points within a special range (e.g. like the ones above 1F000https://unicode.org/Public/emoji/11.0/emoji-data.txt). I think this is because the encoding Python uses to count characters, as opposed to JS which counts in UTF-16, causing the token generator to create the wrong token (the tokens didn't match when I tested it with the web version of Google Translate). Check out this issue from the PHP versionhttps://github.com/Stichoza/google-translate-php/issues/42 of the library for more info.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/ssut/py-googletrans/issues/47#issuecomment-417062510, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYhwzUM9nAQxEWtS_MdaWki8hLDDT6Vzks5uVuERgaJpZM4QScW5.

hello, i found when i translate an Chinese sentences to English. The error happened, i had read the issues that the length limit and the emoji influence. Obviously, Not these two reasons.
Coding is here:
from googletrans import Translator
text = "唐高宗又在李世𪟝等朝廷武勋的模棱两可下"
translate = Translator()
en = translate.translate(text=text, dest='en').text
print(en)

And the error information:
JSONDecodeError                           Traceback (most recent call last)
<ipython-input-18-8ecffbfeebab> in <module>()
      2 text = "唐高宗又在李世𪟝等朝廷武勋的模棱两可下"
      3 translate = Translator()
----> 4 en = translate.translate(text=text, dest='en').text
      5 print(en)

~/anaconda3/lib/python3.6/site-packages/googletrans/client.py in translate(self, text, dest, src)
    170
    171         origin = text
--> 172         data = self._translate(text, dest, src)
    173
    174         # this code will be updated when the format is changed.

~/anaconda3/lib/python3.6/site-packages/googletrans/client.py in _translate(self, text, dest, src)
     79         r = self.session.get(url, params=params)
     80
---> 81         data = utils.format_json(r.text)
     82         return data
     83

~/anaconda3/lib/python3.6/site-packages/googletrans/utils.py in format_json(original)
     60         converted = json.loads(original)
     61     except ValueError:
---> 62         converted = legacy_format_json(original)
     63
     64     return converted

~/anaconda3/lib/python3.6/site-packages/googletrans/utils.py in legacy_format_json(original)
     52             text = text[:p] + states[j][1] + text[nxt:]
     53
---> 54     converted = json.loads(text)
     55     return converted
     56

~/anaconda3/lib/python3.6/json/__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
    352             parse_int is None and parse_float is None and
    353             parse_constant is None and object_pairs_hook is None and not kw):
--> 354         return _default_decoder.decode(s)
    355     if cls is None:
    356         cls = JSONDecoder

~/anaconda3/lib/python3.6/json/decoder.py in decode(self, s, _w)
    337
    338         """
--> 339         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    340         end = _w(s, end).end()
    341         if end != len(s):

~/anaconda3/lib/python3.6/json/decoder.py in raw_decode(self, s, idx)
    355             obj, end = self.scan_once(s, idx)
    356         except StopIteration as err:
--> 357             raise JSONDecodeError("Expecting value", s, err.value) from None
    358         return obj, end

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

𪟝

It's seem that the translator  can't process the 𪟝 character....

Same error here. Problem now is that any attempt for translating is showing the same error
translator.translate("Hola", src = "es", dest = "en").text
Throws:
Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "../py-googletrans/googletrans/client.py", line 172, in translate     data = self._translate(text, dest, src)   File "../py-googletrans/googletrans/client.py", line 81, in _translate     data = utils.format_json(r.text)   File "../py-googletrans/googletrans/utils.py", line 62, in format_json     converted = legacy_format_json(original)   File "../py-googletrans/googletrans/utils.py", line 54, in legacy_format_json     converted = json.loads(text)   File "/usr/lib/python3.5/json/__init__.py", line 319, in loads     return _default_decoder.decode(s)   File "/usr/lib/python3.5/json/decoder.py", line 339, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode     raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@ssut could you please take a look at this problem? I have exactly the same issue for a lot of the texts

Hey Guys,
I've faced the same problem, and I think that it's caused by google's restrictions.
My temporary fix is to find and use proxy which works.
from py_translator import Translator
proxy = {
        'http': 'http://username:password@<IP_ADDRESS>:1234',
        'https': 'http://username:password@<IP_ADDRESS>:1234',
}
s = Translator(proxies=proxy).translate(text='Hello my friend', dest='es').text
print(s)

I've also run into the same issue. What I'm sure is I was able to do the same thing before, and all a sudden this error showed up, which is a indication I believe has sth. to do with Google's restriction as @elzeard91 pointed out.
I also dug into the source code of the json library which throw out this error and here is the related code:
    def decode(self, s, _w=WHITESPACE.match):
        """Return the Python representation of ``s`` (a ``str`` instance
        containing a JSON document).

        """
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
        end = _w(s, end).end()
        if end != len(s):
            raise JSONDecodeError("Extra data", s, end)
        return obj

    def raw_decode(self, s, idx=0):
        """Decode a JSON document from ``s`` (a ``str`` beginning with
        a JSON document) and return a 2-tuple of the Python
        representation and the index in ``s`` where the document ended.

        This can be used to decode a JSON document from a string that may
        have extraneous data at the end.

        """
        try:
            obj, end = self.scan_once(s, idx)
        except StopIteration as err:
            raise JSONDecodeError("Expecting value", s, err.value) from None
        return obj, end

Is it because the translator didn't get a proper response so that the package was empty??

translator = Translator()
trans_token = translator.translate(token, dest='en', src='hi')
new_token = trans_token.text
Traceback (most recent call last):
  File "score.py", line 168, in <module>
    trans_token = translator.translate(token, dest='en', src='hi')
  File "/usr/local/lib/python3.7/site-packages/googletrans/client.py", line 172, in translate
    data = self._translate(text, dest, src)
  File "/usr/local/lib/python3.7/site-packages/googletrans/client.py", line 81, in _translate
    data = utils.format_json(r.text)
  File "/usr/local/lib/python3.7/site-packages/googletrans/utils.py", line 62, in format_json
    converted = legacy_format_json(original)
  File "/usr/local/lib/python3.7/site-packages/googletrans/utils.py", line 54, in legacy_format_json
    converted = json.loads(text)
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/Cellar/python/3.7.2_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I have same problem.
Google probably is banning ip.
I tried different ip. First some time, it works. then this error occurs

I have same problem.
Google probably is banning ip.
I tried different ip. First some time, it works. then this error occurs

#MEETOO

I think I have figured out the emoji issue.
here is the emoji website: https://pypi.org/project/emoji/
install:
pip install emoji
just need to demoji before translate, here is the sample
str = '아니, 여기 왜 이르케 좋아앙?🙀♡'
translator = Translator()
str_demoji = emoji.demojize(str)
tran = translator.translate(str_demoji,src='ko', dest='en').text
str_emoji = emoji.emojize(tran.replace(': ',':').capitalize())

There is Quite a simple Solution to this
Reason
Google thinks you are a bot and is Banning your IP
Solution
Use a VPN like Psiphon
I created a try-except in translation, if there is an exception I just turn on VPN and it works fine. If it even blocks you on the VPN no Problem Just Change your Country, You can also automate this in Linux with Torghost.
Enjoy
Cause we ain't not paying google 20 bucks for google translate api
Happy Coding

I can confirm that changing IP ( public ) is solving this error

I am getting the bellow error while executing the code python code

C:\Users\moraj\Desktop\BOT\Selfbot>python helloworld.py
Open this link on your LINE for smartphone in 2 minutes
line://au/q/qqomAuq9WpzzaTQzTvex091eHy5dE7tj
Traceback (most recent call last):
File "helloworld.py", line 14, in
client = LINE()
File "C:\Users\moraj\Desktop\BOT\Selfbot\LineAPI\linepy\client.py", line 17, in init
self.loginWithQrCode(keepLoggedIn=keepLoggedIn, systemName=systemName, appName=appName, showQr=showQr)
File "C:\Users\moraj\Desktop\BOT\Selfbot\LineAPI\linepy\auth.py", line 158, in loginWithQrCode
getAccessKey = self.server.getJson(self.server.parseUrl(self.server.LINE_CERTIFICATE_PATH), allowHeader=True)
File "C:\Users\moraj\Desktop\BOT\Selfbot\LineAPI\linepy\server.py", line 25, in getJson
return json.loads(self.session.get(url, headers=self.Headers).text)
File "C:\Users\moraj\Python\Python38\lib\json_init.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Users\moraj\Python\Python38\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\moraj\Python\Python38\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
C:\Users\moraj\Desktop\BOT\Selfbot>

can any one help me on this issue

This problem is due to the restrictions of Google. My solution to it is to change the network, like from WiFi to mobile phone's hotpot.

Everyone Listen! Carefully,
The Problem
Google restricts use of this after certain requests form your IP. So, that is why our IP is black listed and it gives the Json ERROR!
Solution
Change your IP using a Free VPN while you are running your code. i.e. select a German IP, when it is blocked goto an American IP.
How to do that in Code
#/usr/bin/python3

try:
    # Your Translation Code here
except:
    # Command to change IP using torghost or any other CLI based VPN

Conclusions
Just change ur IP's lads! That is it.

Thanks! But i still got the error message after I demoji, changed the IP address and even run the code in try-except loop as @UBISOFT-1 suggested.
Does anyone face the same issue?
Here is the code:

from googletrans import Translator
from emoji import  demojize
import requests
from stem import Signal
from stem.control import Controller
def get_tor_session():
session = requests.session()
session.proxies = {'http':  'socks5://<IP_ADDRESS>:9050',
'https': 'socks5://<IP_ADDRESS>:9050'}
return session
def renew_connection():
with Controller.from_port(port = 9051) as controller:
controller.authenticate(password="your password")
controller.signal(Signal.NEWNYM)
str = '我住在地球🙀♡'
de_str = demojize(str)
print(de_str)
session = get_tor_session()
print(session.get("http://httpbin.org/ip").text)
renew_connection()
session = get_tor_session()
print(session.get("http://httpbin.org/ip").text)
translator = Translator()
translated = translator.translate(de_str, dest='en').text

@edmangog No, Ideas. But I am working a Script that solves this problem as a whole, give me the time of a week k, guys.

@edmangog No, Ideas. But I am working a Script that solves this problem as a whole, give me the time of a week k, guys.
The script works for 5K Words at one time and no limitation. No Json Decode Errors Ok
Hold tight Guys. It is coming.
Now, I am just testing it. And adding Languages

please update me

@UBISOFT-1 I would like to get update on your progress with the script for the google translator issue

I'm getting this error while just trying to import streamlit (current version - 1.16.0). I tried installing previous versions as well. I'm using PyCharm CE on a Mac version 12.4
Traceback (most recent call last):   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/code.py", line 90, in runcode     exec(code, self.locals)   File "<input>", line 1, in <module>   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/streamlit/__init__.py", line 55, in <module>     from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/streamlit/delta_generator.py", line 45, in <module>     from streamlit.elements.arrow_altair import ArrowAltairMixin   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/streamlit/elements/arrow_altair.py", line 34, in <module>     import altair as alt   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/altair/__init__.py", line 4, in <module>     from .vegalite import *   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/altair/vegalite/__init__.py", line 2, in <module>     from .v4 import *   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/altair/vegalite/v4/__init__.py", line 2, in <module>     from .schema import *   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/altair/vegalite/v4/schema/__init__.py", line 2, in <module>     from .core import *   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/altair/vegalite/v4/schema/core.py", line 4, in <module>     from altair.utils.schemapi import SchemaBase, Undefined, _subclasses   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/altair/utils/__init__.py", line 1, in <module>     from .core import (   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/altair/utils/core.py", line 13, in <module>     import jsonschema   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/jsonschema/__init__.py", line 23, in <module>     from jsonschema.validators import (   File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import     module = self._system_import(name, *args, **kwargs)   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/jsonschema/validators.py", line 432, in <module>     meta_schema=_utils.load_schema("draft3"),   File "/Users/pratoshbharani/Documents/Documents - Pratosh’s MacBook Pro/MOOC/UDEMY/Python_40Days/venv/lib/python3.10/site-packages/jsonschema/_utils.py", line 62, in load_schema     return json.loads(data)   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 346, in loads     return _default_decoder.decode(s)   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 337, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/decoder.py", line 355, in raw_decode     raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


Add a Gitter chat badge to README.md

BogdanLivadariu/bootstraped-multi-test-results-report now has a Chat Room on Gitter
@BogdanLivadariu has just created a chat room. You can visit it here: https://gitter.im/BogdanLivadariu/bootstraped-multi-test-results-report.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

[ ]   File: README.md:L1-11
 what is this all about
 inline comment here
 :-1:
[x]   File: README.md:L1-11
 is this comment going to reflect a new task ?

This pull request is now managed with CodeReviewHub. Refresh.

:shipit:

:shipit:

:shipit::gun:

:shipit:


⚠ Fortnite has degraded performance

In 9f66dfb, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1605 ms

Resolved: Fortnite performance has improved in 7084147.


make sloth a library. not wanting a process to die is something every app might need. also write an article about that when done.

Done.
Moved to aegis-core.


drivers: gpio: Add support stellaris gpio controller driver

Codecov Report

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

@@           Coverage Diff           @@
##           master   #11797   +/-   ##
=======================================
  Coverage    48.3%    48.3%
=======================================
  Files         280      280
  Lines       43326    43326
  Branches    10373    10373
=======================================
  Hits        20929    20929
  Misses      18245    18245
  Partials     4152     4152

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 e9364d5...af8f3e9. Read the comment docs.

@galak A gentle reminder


Update sbt-scoverage to 2.0.5

Updates org.scoverage:sbt-scoverage from 2.0.4 to 2.0.5.
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!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scoverage", artifactId = "sbt-scoverage" }
}]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch, commit-count:1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.299%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
378

Relevant Lines:
502

💛  - Coveralls

Superseded by #163.


[ENHANCEMENT] Pin visible for other players?

Hey thank you very much for the update :)
Pings and pins work fine marking every pickable <3
but on multiplayer pins seems not to be visible for my mate.
Its not a dedicated server, just world opened as server.
My question is should it be visible or isnt it implemented that the pin is set for both.
Thank you in advance. :)

oh than its alright. :D
pins on catographer works fine.
Also if i reload the game the marker resets it set name
example: Raspberry Bush swaped to "B" now again "Raspberry Bush"
Destroyed with attack did not disapeared (tested on reloaded game not on placed and then destroyed)

Hm, there's something with the save/load then.
Where is your save located (in the save menu in game, there's an icon on the left of each save) ?
Does this happen only for you or to your mate too ? Maybe only to your mate ?

Tested if Name save casued this issue.
Seems not to be the case.

Ok then it's on my todo list. For now the mod doesn't make difference between server and client
https://github.com/Vodianoi/QuickPingMod/issues/11

Destroy ping works only for one person. Sometimes its for me sometomes for my mate we are testing if we find the reason why its loke this
for plants planted by  plant everything mod seems to work like the following:
Person who panted = the pin destroyed
For natural spawned only works for one person. Mostly its not working for the server host :o
Hope you are not irritated by my testing. :)

Hope you are not irritated by my testing. :)

Actually this is very helpful !
Workin on it for next patch

Then i do my best and provide every information i can find.


3.0.0 Preparations

These are the preparations for 3.0.0, or its first alpha at the very least, with the upcoming native Kotlin support. #355 is not part of this yet, but #350 & #349 are addressed.
We need to take care of a few TODOs for the Kotlin-based unit tests though, since we can't use the reflection-based approach to access requestCode and requestPermissions from a top-level property.
Also, the issue described in #331 doesn't seem to be fixed with the recently released Kotlin 1.1.4-3. As stated in that issue, we should migrate over to using the new UAST-based APIs for our Lint checks, in order to make sure that Kotlin support is maximized.
Since I'll be unavailable pretty shortly, I may have to delegate the remainder of this migration to somebody else. I hope this is a nice starting point for the next milestone in this library's lifecycle!

Also, with Kotlin extension functions, our onRequestPermissionsResult overload is simply confusing. I strongly encourage we rethink the signature on that method! Maybe something like validatePermissionsResult or processPermissionsResult? See the Kotlin Activity and Fragment classes inside our test projects if you wanna know what I mean.

Also, this is potentially blocked by #359, since the sample projects incorrectly report our Lint rule with Kotlin 1.1.4-3. As I said over there, this is most likely happening because we're not using UAST yet.

Any note on when 3.0.0 will be ready? :)

@dbecher-ito after https://github.com/permissions-dispatcher/PermissionsDispatcher/pull/363 is merged~

Since @aurae is on their bicycle trip let me merge this PR and tweak a few points(now it's from his repo 's branch so I can't fix it).


Show login screens for Uamp

WHAT
Show login screens for Uamp
WHY
Test the implementation effort for auth in a typical standalone app.
HOW
Checklist :clipboard:

[ ] Add explicit visibility modifier and explicit return types for public declarations
[ ] Run spotless check
[ ] Run tests
[ ] Update metalava's signature text files

@luizgrp not sure if I'm doing this right, so happy to refactor it heavily.

@luizgrp Any advice on the failing test GoogleSignInViewModelTest, it now requires GoogleSigninClient
Use Robolectric and create a TestActivity?

Any advice on the failing test GoogleSignInViewModelTest, it now requires GoogleSigninClient
Use Robolectric and create a TestActivity?

I think GoogleSigninClient can be created with just a context, just add @RunWith(AndroidJUnit4::class) to GoogleSignInViewModelTest and:
        val googleSignInClient = GoogleSignIn.getClient(
            ApplicationProvider.getApplicationContext() as Context,
            GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                .requestEmail()
                .build()
        )

@luizgrp I think ready for review


pyproject.toml setup tools out of date

When working in docker, I get the following error message "[_MissingDynamic: license defined outside of pyproject.toml is ignored
If you change "requires = ["setuptools>=61.0"]" to "requires = ["setuptools==68.2.2"]" in pyproject.toml, the error is fixed.
See: https://stackoverflow.com/questions/77523055/missingdynamic-license-defined-outside-of-pyproject-toml-is-ignored

Similar setup toml issue:
pip install git+https://github.com/mtybadger/chromaviz/
Collecting git+https://github.com/mtybadger/chromaviz/
  Cloning https://github.com/mtybadger/chromaviz/ to /tmp/pip-req-build-_v8gyjz1
  Running command git clone --filter=blob:none --quiet https://github.com/mtybadger/chromaviz/ /tmp/pip-req-build-_v8gyjz1
  Resolved https://github.com/mtybadger/chromaviz/ to commit 09aae56dbeefffa7f74e004e503e02249c6a8f8e
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [95 lines of output]
      /tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:76: _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored.
      !!

              ********************************************************************************
              The following seems to be defined outside of `pyproject.toml`:

              `license = 'MIT License'`

              According to the spec (see the link below), however, setuptools CANNOT
              consider this value unless `license` is listed as `dynamic`.

              https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

              To prevent this problem, you can list `license` under `dynamic` or alternatively
              remove the `[project]` table from your file and rely entirely on other means of
              configuration.
              ********************************************************************************

      !!
        _handle_missing_dynamic(dist, project_table)
      /tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:76: _MissingDynamic: `keywords` defined outside of `pyproject.toml` is ignored.
      !!

              ********************************************************************************
              The following seems to be defined outside of `pyproject.toml`:

              `keywords = ['example', 'setuptools']`

              According to the spec (see the link below), however, setuptools CANNOT
              consider this value unless `keywords` is listed as `dynamic`.

              https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

              To prevent this problem, you can list `keywords` under `dynamic` or alternatively
              remove the `[project]` table from your file and rely entirely on other means of
              configuration.
              ********************************************************************************

      !!
        _handle_missing_dynamic(dist, project_table)
      /tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:76: _MissingDynamic: `dependencies` defined outside of `pyproject.toml` is ignored.
      !!

              ********************************************************************************
              The following seems to be defined outside of `pyproject.toml`:

              `dependencies = ['chromadb', 'flask', 'flask-cors', 'numpy', 'pandas', 'scikit-learn']`

              According to the spec (see the link below), however, setuptools CANNOT
              consider this value unless `dependencies` is listed as `dynamic`.

              https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

              To prevent this problem, you can list `dependencies` under `dynamic` or alternatively
              remove the `[project]` table from your file and rely entirely on other means of
              configuration.
              ********************************************************************************

      !!
        _handle_missing_dynamic(dist, project_table)
      Traceback (most recent call last):
        File "/home/dave/Development/mtgai/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/dave/Development/mtgai/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/dave/Development/mtgai/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 6, in <module>
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 104, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 158, in setup
          dist.parse_config_files()
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 631, in parse_config_files
          pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py", line 69, in apply_configuration
          return _apply(dist, config, filepath)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 57, in apply
          _apply_project_table(dist, config, root_dir)
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 83, in _apply_project_table
          corresp(dist, value, root_dir)
        File "/tmp/pip-build-env-aeimaxzj/overlay/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 184, in _license
          _set_config(dist, "license", val["text"])
                                       ~~~^^^^^^^^
      KeyError: 'text'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Getting the same issue installing using the GH link.


Way to get the underlaying model data on drop?

I have the datatable loading rows after a lodash debounced ajax call. Each of my records coming back contain many properties , one of these is display_order. The data I am dealing with involves invoices so we're showing line items in the datatable and this display_order property controls in what order they show.
I have setup a drop event which is wired up, it looks like this:
/* on my .vue file, actually Hello.vue from the demo app */
created () {
    let service = this.$dragula.$service

    service.eventBus.$on('drop', this.handleDrop)
},
methods : {
    handleDrop(e) {
        /* e contains the data in the screenshot below
            I'd like to access the display_order of my row here so I can sync it with the new order of the row
            I've noticed that e.el.rowIndex shows the new index of the row but I don't have access to the model
            that I can see
        */
    }
}

"e" data example
I've tried removing the handleDrop() method and going with the handler as a function within the service.eventBus.$on('drop', (e) => {}) but noticed the data looking the same way. I have seen that e.drake.models[0].model seems to contain the datacell records but trying to fetch the model by its rowIndex has not worked (it's always off and shows me the wrong record).
TL;DR - Does there exist a way of defining a handler for the drop event of a table row (a datacell) so that you can access the underlaying properties of your model?

Opening this up on vue2-dragula, was in the wrong repo.


events charts

Hello, i discover the chartjs library, as the radar chart was deprecated on google charts. Good job ! Will you implement the possibility to add links to the chart, enabling to take actions as opening a new graph or new page when user click on a point or serie or category of the chart ?

Sorry, i 've not seen the .getPointsAtEvent( event ) that do the trick ! I close this issue :)


[Graph query] Update lz_checklist.en.json

Created a graph query for the Bastion recommendation. The query checks if there are any bastion hosts deployed, and if so list those resource ids.

Agreed. Closing now


Alasql Release 0.1.0 - list of urgent bugs

Dear friends,
I going to release Alasql version 0.1. Please, can you post here what urgent bugs should be fixed before this release will be published:
My wish list:

Clean the directory structure
Fix localStorage bugs (DELETE FROM)
Fix INDEX bugs (Something wrong with index...)

What else is urgent?
Sorry, for slow work on some bugs - unfortunately (or fortunately:) I am very busy on my main project.
Thank you!

Urgent is to update wiki / documentation with what is not supported... Then people have a chance to read it before they put too much work into alasql before finding out that little part is missing...

:+1:  I can work on wiki documentation on the second part of April.

Hey:
I'm currently a student at Hack Reactor and me and a group of three other students are currently working on out thesis project which will be adding PostgreSQL support to meteor.  We have most of the back worked out and are about to start working on the front end and adding a minisql support to meteor and connecting it to postgres' notify functionality to maintain the real time data updates. I was originally going to use IndexedDB until I came across your library and we're considering using your library instead. Would you have the time for a quick 30 min video chat to walk me through the current major bugs so that we can either try to fix them or work around them? We would of course be sending out pull requests for any issues that we ended up solving.
regards,
Paulo

HI, Paulo, thank you! Can you write on my email<EMAIL_ADDRESS>and we can define a time of the video chat.

@pdiniz13 Great project. Do you have any ETA?

@vchigne thank you for your interest. We currently have a prototype with full stack interactivity in Meteor using both Postgres and Alasql. We are currently refactoring a couple of parts of our code in order to make it more modular and easy to use, and improving our documentation. We should be releasing a beta package for meteor in about two weeks.

Great. I can beta test if you want.
Let me know

Guys, sorry, what is "ETA"?

Estimated Time of Arrival IIRC

Target day for version 0.1 is May 1, 2015.
I also want to add:

Bower support
and spend more attention to SQL compatibility tests.

spend more attention to SQL compatibility tests

Ill see what I can do to get my scripts matured and merged into a feature branch.

Can you add two features to the test:
a) total result, i.e. AlaSQL passed 35% - we will use it as our KPI
b) to show failed tests body (to make debugging easy)

I also worried a little bit about size of sqllogic tests. Now they are about 100Mb. May be we can open separate repository for all tests?

Its more like 1,5 Gb when you unzip it...
I have created a repo focused on the sqllogic tests: https://github.com/mathiasrw/alasql-logictest
I have added you to the repo.
Its ready to run some tests  - check README

Wonderful!  This will be a great step for the project!
I will try to run tests tonight and give a feedback.
I also have collected number of test SQL databases in test-sql directory to additional compatibility tests.

About versions: I going to upgrade minor version to 0.1.0 after fixing UNION CORRESPONDING bug. Hope, it will happen very soon :)

Sounds great :)

So, battle for UNION CORRESPONDING/non-CORRESPONDING is over!
Probably, only two bugs delays us from 0.1:

IE9 FileSaver issue (https://github.com/agershun/alasql/issues/73)
localStorage problem (https://github.com/agershun/alasql/issues/144)

I fixed IE9 (partially). Unfortunately, cannot reproduce localStorage and INNER JOIN problem. We will work on it as long as with sqllogic tests.
So,... as we decided before we released the version 0.1.0 (ta-ta-da!)

Sorry I did not respond to your request to test it. Had to focus on other things. Just trying to catch up on the last 24 days of development :)

@mathiasrw Thank you for coming back. t was terrible time without advices and support :)


Add acknowledgements

Acknowledge these people (depends on https://github.com/D-PLACE/dplace-data/pull/205)

lee2015  (Sean Lee)
lee_and_hasegawa2011  (Sean Lee)
lee_and_hasegawa2013 (Sean Lee)
bouckaert_et_al2018 (?)
bowern_and_atkinson2012 (?)
chacon_and_list2015 (Thiago Chacon and Mattis List)
grollemund_et_al2015 (Rebecca Grollemund)
honkola_et_al2013 (Terhi Honkola?)
kitchen_et_al2009 (?)
michael_et_al2015 (Lev Michael?)
sicoli_and_holton2014 (Mark Sicoli and Gary Holton)
hruschka_et_al2015 (Andrew Meade & Mark Pagel)

@kirbykat -- anyone I've forgotten?

@xrotwang -- why don't we just add this information  into the top level README rather than per-dataset/phylogenies acknowledgements?

Fixed in #234


Add wildcard projection

Currently, SELECT * FROM queries are not allowed.
Added a method to expand a wildcard node to the current list of schema
fields.
With this changes, SELECT *, * FROM ... will expand the schema fields twice. Should it check that wildcard appears only once?

Pull Request Test Coverage Report for Build 319

17 of 17 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 78.215%

Totals

Change from base Build 318:
0.08%

Covered Lines:
2998

Relevant Lines:
3833

💛  - Coveralls


[Question] fargate-alb-proxy-pattern Nginx configuration

Thank you for your excellent collection of cfn-modules repositories. I am very new to CloudFormation and ECS and it's been a great help seeing complex examples of CloudFormation templates working together and following best practices.
I am trying to implement the fargate proxy pattern described here:
https://github.com/cfn-modules/docs/blob/master/examples/fargate-alb-proxy-pattern/example.yml
Where the proxy is Nginx relaying port 80 from the ALB to port 3000 on the app container.
Can you please point in the direction of a suitable nginx.conf configuration for this arrangement?
I have tried in nginx.conf
upstream rails_app {     server app:3000; }
resulting in error
nginx: [emerg] host not found in upstream "app:3000" in /etc/nginx/conf.d/default.conf:3
I don't understand how to represent Fargate awsvpc networked containers in the nginx.conf file. Any help would be appreciated. Thank you.

Hi @jmajonis
use localhost, not app. and you should be fine.
Let me know if it works.


Python search should prefer "python2" executable

On systems where Python 3 is the default, node-gyp complains about an incorrect Python version, even though Python 2 is often available as python2.
Per PEP 394:

Python 2 only scripts should either be updated to be source compatible with Python 3 or else to use python2 in the shebang line

There are a few distributions that don't provide a python2 executable. But searching PATH for both python2 and python (and preferring python2) should catch cases where Python 2 is installed but node-gyp selects the wrong executable, while still supporting said distributions that don't ship a python2.
Is this something you guys'd endorse? If so, happy to provide a pull request.

:+1:

Fixed by #527.


Replace Array implementation with a class cluster

This commit extends and replaces the existing VecDeque backed Array
implementation with a cluster of 7 concrete ArrayTypes.
The basic type is Buffer, which uses a Vec for storage.
There are several specialized types for Arrays with fixed contents:

Empty
One element
Two element
Hole, a run of nils
Repeated runs of a single element

The Array struct that gets serialized into an mrb_value is a new
type wrapper struct around a Box<dyn ArrayType>. Array implements a
class cluster similar to NSArray in Foundation SDK via dynamic
dispatch on trait objects.
Not all ArrayTypes are growable, so mutating methods accept a
reallocation out parameter. The public facade handles reallocations by
delegating to an Aggregate struct that is a Vec of ArrayTypes.
Some properties that the Artichoke Array has that MRI does not:

Constant time concat
Partial reallocation of aggregates
Constant time reverse, and insertion in some circumstances
Allocation-free mutations in some circumstances
Sparse arrays
Arrays larger than usize::MAX elements

artichoke 0.1.0 (2019-10-29 revision 1895) [x86_64-darwin]
[Rust 1.38.0 (rev 625451e) on x86_64-apple-darwin]
>>> a = []
=> []
>>> a[100_000_000_000] = 'end'
=> "end"
>>> a[0, 0] = Array.new(200_000_000_000, 'repeated'); nil
=> nil
>>> a.length
=><PHONE_NUMBER>01
>>> b = a.reverse; nil
=> nil
>>> b.first(10)
=> ["end", nil, nil, nil, nil, nil, nil, nil, nil, nil]

This PR enables implementing GH-256.

Some discussion from Twitter: https://twitter.com/eregontp/status/1189115812864544769

Are you planning on adding single type strategies like the paper - ie
IntStorageStrategy - StringStorageStrategy - ObjectStorageStrategy
On Tue, Oct 29, 2019 at 10:11 AM Ryan Lopopolo<EMAIL_ADDRESS>wrote:

@eregon https://github.com/eregon suggested this paper as a formalized
version of the approach Artichoke uses here.
https://tratt.net/laurie/research/pubs/html/bolz_diekmann_tratt__storage_strategies_for_collections_in_dynamically_typed_languages/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/artichoke/artichoke/pull/320?email_source=notifications&email_token=AAABQRJTMISXFKYPUEYAWATQRBOBRA5CNFSM4JGDPQJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECRDPPA#issuecomment-547502012,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABQRPUHQOHVF3LY2ZM4WDQRBOBRANCNFSM4JGDPQJA
.

I would like to. It should be easy to specialize the buffer type to store unboxed ints and strings.
Non “immediate” values require also storing the original RBasic pointer to enable GC marking and maintain persistent object Id across element accesses.
@dsisnero is this something you’d like to take on?

I filed GH-326 which I think captures these ideas as a followup.


Ps4 Error during media_player async_setup_platform : AttributeError: 'collections.OrderedDict' object has no attribute 'data'

Home Assistant release with the issue:
0.96
Last working Home Assistant release (if known):
Unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
ps4
Description of problem:
An error is raised during the setup of ps4 media_player.
Line     creds = config.data[CONF_TOKEN]
AttributeError: 'collections.OrderedDict' object has no attribute 'data'
Traceback (if applicable):
Error while setting up platform ps4
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 146, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/usr/src/homeassistant/homeassistant/components/ps4/media_player.py", line 66, in async_setup_platform
    creds = config.data[CONF_TOKEN]
AttributeError: 'collections.OrderedDict' object has no attribute 'data'

Additional information:

Hello. It seems that there is an issue with the integration setup. Try removing the ps4 integration and retry the setup again.

We shouldn't reuse async_setup_platform and call it in async_setup_entry like we currently do. We should move the logic to async_setup_entry.

We shouldn't reuse async_setup_platform and call it in async_setup_entry like we currently do. We should move the logic to async_setup_entry.

Agreed. Duplicated by adding to configuration.yaml:
media_player:
  - platform: ps4

@FreeTHX The PS4 integration requires a specific setup. The integration is not added via configuration.yaml, which seems to be the cause of the error, but rather navigating on your frontend to configuration -> integrations. To get rid of the error you will have to remove the ps4 platform from your configuration.yaml
You can get more info from the docs at https://www.home-assistant.io/components/ps4/

@ktnrg45 thx.
While I did the Ps4 integration, I still had a ps4 entry in my configuration file (coming from the legacy ps4 component).
Once removed, no more errors


Allow VSTS accounts/teams to be used to set limits on invite link access

Incremental feature to #2 and #4.
In addition to allowing organizations / individuals to limit access to links based on whether they are registered with the Live Share "account", we could enable users to use membership in VSTS teams, groups, or accounts to set similar limits.

Closing this feature request due to a lack of customer feedback, and the fact that we've learned that most organizations want to restrict sharing to an AAD tenant, not a VSTS account. Please re-open it if this feature request is still relevant. Thanks!


KomaMRIPlots doesn't precompile in Julia 1.10.0

During precompilation of KomaMRIPlots with Julia 1.10.0, we encounter the following log messages:
...
  ✓ PlutoPlotly
  ✓ Blink
  ✓ PlotlyJS
KomaMRIPlots Waiting for background task / IO / timer.
[pid 1944] waiting for IO to finish:
 Handle type        uv_handle_t->data
 process[2796]      000002634afe7030->0000026353c3aaf0
This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.

[pid 1944] waiting for IO to finish:
 Handle type        uv_handle_t->data
 pipe[900]          000002634afb43b0->0000026353c4c8d0
 pipe[892]          000002634afb46b0->0000026353c4c970
 process[2796]      000002634afe7030->0000026353c3aaf0
This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.

[pid 1944] waiting for IO to finish:
 Handle type        uv_handle_t->data
 pipe[900]          000002634afb43b0->0000026353c4c8d0
 pipe[892]          000002634afb46b0->0000026353c4c970
 process[2796]      000002634afe7030->0000026353c3aaf0
This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.
...

This should not happen again we need to test with nightly.


Shouldn't we validate signatures on SBOM download?

Question
While I started playing around a bit with #919 and trying to wrap my head around the codebase more and seeing how various pieces do what they do, I noticed that here:
https://github.com/sigstore/cosign/blob/main/cmd/cosign/cli/download/sbom.go#L63
It looks like to me that we do not verify signatures like we do for the verify-attestations loop. I was sort of kind of expecting one or two things:

sbom to call this method
sbom to do the sig validation

So, just curious while I'm ramping up before going too deep in the rabbit hole :)
Also, just curious about why in order to get the attestation vs sbom there's two different commands overall (download sbom vs. verify-attestations). As a user I was kind of expecting there to be a way to download the sbom and any other attestations kind of like this:
cosign download sbom ...
cosign download attestation ...
Especially since the only difference would be changing this here:
https://github.com/sigstore/cosign/blob/main/cmd/cosign/cli/download/sbom.go#L42
To (not suggesting it belongs in this cmd, but functionality wise):
		ociremote.WithSignatureSuffix(ociremote.AttestationTagSuffix))

This was correct historically.
It felt weird to combine "upload and sign" into one operation. Attest can be used for that, but the attestation spec AND the sbom specs were both new so it seemed weird to require using the combination of both at the same time.

This issue is been discussed in https://github.com/sigstore/cosign/issues/1742. Closing it as it is now a duplicate.