text:
Identifiers validation failed for dataset Modelaje de la Distribución geográfica de Pinus pseudostrobus y P. leiophylla

Identifier validation failed for the dataset Modelaje de la Distribución geográfica de Pinus pseudostrobus y P. leiophylla:

Crawler attempt: 275
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1888
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1888 total records; 1888 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3740026/step

New IDs sample:

Old IDs sample:

0035d54903e84326834b21f94a39932a
003a5825a21a29ea7e345885b7646eb1
005ea51c37266c0e225a1e30da4145cb
00968558f1c01de8aa6f854d4f573562
00b6025b5b79f7b85435d7eba61f4d4a
00b7328ad6acd4e600b9d05b05cb9d1f
00be56bdb5fdec359c60f9d31d9264cc
012ff1d77ebe127c19b8632eeb10cde0
0132af4aec20133acbcc65b4f4798716
0153805b319559e1372a221cd7b94360

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Modelaje de la Distribución geográfica de Pinus pseudostrobus y P. leiophylla : https://doi.org/10.15468/mjl87o.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Modelaje de la Distribución geográfica de Pinus pseudostrobus y P. leiophylla:

Crawler attempt: 276
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1888
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1888 total records; 1888 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3740995/step

New IDs sample:

Old IDs sample:

0035d54903e84326834b21f94a39932a
003a5825a21a29ea7e345885b7646eb1
005ea51c37266c0e225a1e30da4145cb
00968558f1c01de8aa6f854d4f573562
00b6025b5b79f7b85435d7eba61f4d4a
00b7328ad6acd4e600b9d05b05cb9d1f
00be56bdb5fdec359c60f9d31d9264cc
012ff1d77ebe127c19b8632eeb10cde0
0132af4aec20133acbcc65b4f4798716
0153805b319559e1372a221cd7b94360

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Modelaje de la Distribución geográfica de Pinus pseudostrobus y P. leiophylla : https://doi.org/10.15468/mjl87o.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Modelaje de la Distribución geográfica de Pinus pseudostrobus y P. leiophylla:

Crawler attempt: 278
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1888
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 1888 total records; 1888 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3741623/step

New IDs sample:

Old IDs sample:

0035d54903e84326834b21f94a39932a
003a5825a21a29ea7e345885b7646eb1
005ea51c37266c0e225a1e30da4145cb
00968558f1c01de8aa6f854d4f573562
00b6025b5b79f7b85435d7eba61f4d4a
00b7328ad6acd4e600b9d05b05cb9d1f
00be56bdb5fdec359c60f9d31d9264cc
012ff1d77ebe127c19b8632eeb10cde0
0132af4aec20133acbcc65b4f4798716
0153805b319559e1372a221cd7b94360

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Modelaje de la Distribución geográfica de Pinus pseudostrobus y P. leiophylla : https://doi.org/10.15468/mjl87o.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

repo: gbif/ingestion-management


text:
Identifiers validation failed for dataset V. N. Karazin Kharkiv National University herbarium (CWU), Department of Botany and Plant Ecology

Identifier validation failed for the dataset V. N. Karazin Kharkiv National University herbarium (CWU), Department of Botany and Plant Ecology:

Crawler attempt: 78
Publishing organization: V. N. Karazin Kharkiv National University
Publishing country: UKRAINE
Installation: IPT Installation PlutoF Biodiversity Platform
Number of occurrences indexed for this dataset at the time of the issue: 138
Cause: GBIF ID problems exceed 50% threshold: 99% duplicates; 894 total records; 886 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3257602/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the V. N. Karazin Kharkiv National University herbarium (CWU), Department of Botany and Plant Ecology : https://doi.org/10.15468/dgz2fh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

The publisher said the occurrenceIDs are generated automatically by PlutoF and they cannot choose them. They asked to resume the dataset ingestion. So I allowed the failed identifiers.

source: gharchive/issue

authors: ManonGros gbif-pipelines

license_type: permissive

license_source: github-api


text:
Automatic download happens too late

The following bit of code (build.gradle method in the README) downloads the translations into the source AFTER the project was built and not before:
build {
        dependsOn downloadTranslations
}

Also I think the .timestamp file might be useless when using that method?

Yes, the .timestamp file shouldn't be there. The fact that it gets generated is a bug; it should only be generated if you're using this as a mod so it doesn't try every time someone starts Minecraft.
But I can't reproduce the "downloads the translations AFTER the project was built" part. I cloned one of my mods into a new directory, ran gradle build, and verified that the output jar had the translation files (so was built after downloading was complete):
git clone git@github.com:gbl/DurabilityViewer.git
cd DurabilityViewer/
git submodule init
git submodule update
~/SoftwareProjects/MyProjects/MinecraftMods/Fabric/gradlew build

jar tf build/libs/durabilityviewer-1.16.4-fabric0.25.1-1.9.jar

the jar file included all of the language json files.
(The submodule stuff is just because I keep the versioning for all my mods in a separate submodule so I don't have to edit a ton of settings files, all in the same way, whenever MC or Fabric updates, it has nothing to do with the crowdin process And for the same reason, I keep gradle in a central place so I don't have to pollute each and every repo with gradle file copies).
Could you verify this, and if it's reproducable, give me an example where it fails?

Doh, I'm stupid. My last example worked because the language files are commited to the repo. If I remove them just before building, they're not in the jar. Going to check into that.

repo: gbl/CrowdinTranslate

license: MIT


text:
Docs unclear: difference between edge length and street length

I'm trying to see the difference between total street length and total edge length, from the basic stats.
When I sum the total edge length in the geometry, with 3857 projection, I get a higher number that the street length total. Can anybody help me explain the difference in how these are calculated?
I'm pulling the graph from a bbox, then trying to calculate total road length inside smaller grids. Right now I am using Shapely's intersection function to get the small grid geometry and then sum the length in meters on web mercator

I want to make sure this is reasonably accurate

OSMnx uses networkx MultiDiGraphs as the underlying network model. As these are directed graphs, all bidirectional streets are represented by two reciprocal directed edges. Total street length instead uses (essentially) an undirected version of this model to quantify how many linear meters of physical street exist in the study area. If every street in your network is bidirectional, total edge length will thus equal approximately 2x the total street length.

@gboeing perfect, that makes sense. So I guess what I need is a way to get to total street length of a subsection. If I pulled the entire grey road network because I want to only make one large API call, then how can I calculate total street length for the bbox of just one smaller grid?
Right now I'm doing:

turn road into a gdf
get road_gdf.unitary_union.intersection(small_grid)
calculate length of the intersection, based on 3857 projection meters (good enough)

But this means I'm getting double edges for all streets, if I understand correctly?
So I need to either heuristically just divide that edge length by 2 and assume it's closer, or is there a better way to make sure I get the total street length for the intersection?

A decent option would be to produce an undirected version of the graph, then sum the edge lengths (since they'll no longer have bidirectional duplicates): https://osmnx.readthedocs.io/en/latest/osmnx.html#osmnx.save_load.get_undirected

@cbeddow is this issue ready to be closed?

Yes, thank you. I will reference it in the future and re-open if I have question!

authors: cbeddow gboeing

repo: gboeing/osmnx

license: mit

license_source: bigquery


text:
ZeroDivisionError: division by zero

This issue tracker is for reporting bugs or proposing new features. Please ask "how-to" questions on https://stackoverflow.com/ instead. Before you proceed, please read the contributing guidelines in this repo's CONTRIBUTING.md.
If you installed OSMnx via conda and are experiencing installation problems, please open an issue at https://github.com/conda-forge/osmnx-feedstock/issues
If you're having trouble with OSMnx, first search the previously opened issues (and Stack Overflow) to see if the problem has already been noted. If not, fill in the template below:
Problem description (what did you do, what did you expect to happen, and what actually happened)
What operating system, architecture, Python version, and OSMnx version are you using?
Complete list of your environment's packages and their versions (for example, run conda list or pip list then paste the output below, between the two "details" tags)

# Paste the output of your Python packages and their versions here, between these two "details" tags

Code snippet that independently and completely reproduces the issue
# your code goes here

Hi and thanks for osmnx. I am a new python user and I am trying to create a sub_graph based on isocrones. The basic stats return with an error ( ZeroDivisionError: division by zero).
how can I exclude from my subset zero-length edges?


text:
Missing dependencie

import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
@NgModule({
  ...
  export: [
    ...
    BrowserAnimationsModule
  ],
  ...
})

Sorry, I don't get what's the problem. Would you mind elaborating the issue a bit better? Thanks!

authors: MarcelCossijns gbrlsnchs


text:
Consider microbundle

It looks like the best tool for the (boring and error-prone) job.
https://github.com/developit/microbundle

I've tried it for a few of my projects and had mixed results. It works well for javascript projects/
microbundle uses rollup under the hood, which still has bad support for Typescript. The typescript plugin doesn't even work properly and has many bugs, to the point I cannot use it in the projects I maintain.

@waynevanson Thank you for an explanation.

@steida I take back what I said about microbundle to some extent. The support for newer typescript features like export * as namespace from 'module-name' is dodgy, but all bundlers seem to be dodgy with this.
As long as a compatible tsconfig file is used to bundle each target (esm,cjs,umd) then it works fine.
Examples are HERE

authors: steida waynevanson

repo: gcanti/fp-ts


text:
patform: icloud3 statement

I'm seeing this in the logs, but for the life of me i cannot find anywhere in my config files a platform: icloud3 statement and i have deleted the config_ic3.yaml file.  not a big issue, just a bit confusing.

This error originated from a custom integration.
Logger: icloud3
Source: custom_components/icloud3/device_tracker.py:48
Integration: iCloud3 Device Tracker (documentation, issues)
First occurred: 11:21:44 AM (1 occurrences)
Last logged: 11:21:44 AM
ICLOUD3 ALERT: The HA configuration.yaml file contains a PLATFORM: ICLOUD3 statement. iCloud3 v3 is now an integration and does not use the configuration.yaml or config_ic3.yam files. 1. Remove PLATFORM: ICLOUD3 statements from configuration.yaml. 2. Restart Home Assistant 3. Add iCloud3 on the Devices & Settings > Integrations screen 4. Configure iCloud3 on the Integrations screen 5. Restart iCloud3

There is a statement in the /config/configuration.yaml file or in an include statement in that file that has a -platform: icloud3 parameter. That is how iCloud3 v2 started. It must be somewhere or it would not have loaded before v3. The config_ic3.yaml file only contained device and general parameters, not the initial commands used by HA to start iCloud3 v2.

yep, you were right, it was buried in an tree of includes.  thanks!


text:
Multiple skills in one row

Hi
Thanks for creating this amazing website builder! I have been really enjoying it.
For the 'skills' section, if i want to list more than three skills, what would be the easiest way to maintain them in one row ? (Currently i'm listing four skills, the fourth is shifted to the second row. Is it possible to achieve it by only modifying the file 'skills.md')
Thanks!

To modify a widget in this way requires either creating a new widget based on your requirements (see Academic docs) or editing the HTML/CSS, in this case layouts/partials/widgets/featurette.html.

authors: gcushen huidongchen

repo: gcushen/hugo-academic


text:
Allow to run custom code when switching between light and dark

Feature Request
Is your feature request related to a problem? Please describe.
I am using remark42 as commenting system and in need of a way to switch between its light and dark theme when my site does so
Describe the solution you'd like
Somewhere to add JS code whenever theme is set to light or dark. For example, I wanted to add one liner as follows:
window.REMARK42.changeTheme('light');

Describe alternatives you've considered
Additional context

Adding hooks for JS events is generally well beyond the scope. Having said that, you're more than welcome to submit a PR for refactoring/optimising Academic's JS and introducing some kind of hooks and we'll attempt to review.

authors: davxiao gcushen


text:
Expose some capability info

We'd like to expose some functions, e.g. for games programming, that gave hints as to the underlying API.  For example:
HasMouse()
CanDisplay(rune)
HasKey(key)
This would also be useful for programs that want to e.g. decorate windows -- for example, no point in display "F1 for help" if the terminal has no F1 definition... better to say "ESC-1 for help" in that case.
Sadly the info we get won't necessarily be totally accurate -- for example, just because a mouse is supported by XTerm doesn't mean one is present, and who knows how many buttons are present.  Likewise, key definitions may exist but not be present on an actual implementation.
Still, we should offer up what info we do have.

See #50 -- which addresses just one piece of this.

repo: gdamore/tcell


text:
SVG 지원

제목 그대로입니다.

동의합니다

https://github.com/gdl-blue/imitated-seed-2/issues/161#issuecomment-1962956097

authors: NOAH01112 SomniumDev solutionwiki

license: Unlicense


text:
klayout density checks

klayout density checks have some issues
When running gdsfactory/samples/write_klayout.py
min_density = 0.5
max_density = 0.6

area = WG.area
border_area = FLOORPLAN.area
if border_area >= 1.dbu * 1.dbu

  r_min_dens = polygon_layer
  r_max_dens = polygon_layer

  dens = area / border_area

  if dens < min_density
    # copy border as min density marker
    r_min_dens = FLOORPLAN
  end

  if dens > max_density
    # copy border as max density marker
    r_max_dens = FLOORPLAN
  end

  r_min_dens.output("WG_Xa: WG density below thresh
old of 0.5")
  r_max_dens.output("WG: WG density above threshold
 of 0.6")

end

which is coming from this DRC code
rules = [
    rule_width(layer="WG", value=0.2),
    rule_space(layer="WG", value=0.2),
    rule_width(layer="M1", value=1),
    rule_width(layer="M2", value=2),
    rule_space(layer="M2", value=2),
    rule_separation(layer1="HEATER", layer2="M1", value=1.0),
    rule_enclosing(layer1="M1", layer2="VIAC", value=0.2),
    rule_area(layer="WG", min_area_um2=0.05),
    rule_density(layer="WG", layer_floorplan="FLOORPLAN", min_density=0.5, max_density=0.6),
]

drc_rule_deck = write_drc_deck_macro(
    rules=rules,
    layers=gf.LAYER,
    shortcut="Ctrl+Shift+D",
)

sorry, when writing to file &gt get replaced by the correct
min_density = 0.5
max_density = 0.6

area = WG.area
border_area = FLOORPLAN.area
if border_area >= 1.dbu * 1.dbu

  r_min_dens = polygon_layer
  r_max_dens = polygon_layer

  dens = area / border_area

  if dens < min_density
    # copy border as min density marker
    r_min_dens = FLOORPLAN
  end

  if dens > max_density
    # copy border as max density marker
    r_max_dens = FLOORPLAN
  end

  r_min_dens.output("WG_Xa: WG density below threshold of 0.5")
  r_max_dens.output("WG: WG density above threshold of 0.6")

end

repo: gdsfactory/gdsfactory


text:
Add helper function for changing nested partial parameters

This PR adds a helper function for changing values in nested partials that are favoured by gdsfactory.

how can this be useful?
if it's useful, why not add it to the docs?
This is how I believe this is supposed to be used
    c_func = gf.partial(
        gf.components.mzi,
        straight=gf.partial(gf.components.straight, length=5),
        bend=gf.partial(gf.components.bend_euler, p=0.6),
    )
    new_length = 5 + 1
    new_p = 0.6 + 0.1

    config = {
        "straight": {"length": new_length},
        "bend": {"p": new_p},
    }

    changed_c_func = change_keywords_in_nested_partials(c_func, config)
    c = changed_c_func()

However why not just do this?

c_func = gf.partial(
    gf.components.mzi,
    straight=gf.partial(gf.components.straight, length=5),
    bend=gf.partial(gf.components.bend_euler, p=0.6),
)
new_length = 5 + 1
new_p = 0.6 + 0.1

changed_c_func =  gf.partial(
    gf.components.mzi,
    straight=gf.partial(gf.components.straight, length=new_length),
    bend=gf.partial(gf.components.bend_euler, p=new_p),
)

how can this be useful?
This is how I believe this is supposed to be used
    c_func = gf.partial(
        gf.components.mzi,
        straight=gf.partial(gf.components.straight, length=5),
        bend=gf.partial(gf.components.bend_euler, p=0.6),
    )
    new_length = 5 + 1
    new_p = 0.6 + 0.1

    config = {
        "straight": {"length": new_length},
        "bend": {"p": new_p},
    }

    changed_c_func = change_keywords_in_nested_partials(c_func, config)
    c = changed_c_func()

However why not just do this?
    c_func = gf.partial(
        gf.components.mzi,
        straight=gf.partial(gf.components.straight, length=5),
        bend=gf.partial(gf.components.bend_euler, p=0.6),
    )
    new_length = 5 + 1
    new_p = 0.6 + 0.1

    changed_c_func =  gf.partial(
        gf.components.mzi,
        straight=gf.partial(gf.components.straight, length=new_length),
        bend=gf.partial(gf.components.bend_euler, p=new_p),
    )

Maybe im missing something here :)

The benefit is that if the straights and bends here would have many modified keywords, we don't need to specify those again as we would have to in the changed_c_func above. I have seen thrice-nested partials, where doing this manually would require something like partial.keywords[parameter].keywords[parameter].keywords[parameter] + error handling.

source: gharchive/pull-request

authors: joamatab nikosavola


text:
Missing Symbol NewtonUserJointSetRowSpringDamperAcceleration

Failed to build the app:
Missing Symbol NewtonUserJointSetRowSpringDamperAcceleration
Program exited with code -11

Built with newton dynamics v3.14 version.

This is fixed now in master branch of Dagon.


text:
🛑 EC3 COM is down

In 718b591, EC3 COM ($SITE_EC3_COM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EC3 COM is back up in b2c7334 after 15 minutes.

repo: gedesco-git/uptime


text:
新申请的微信无法使用，求解

1203为了你的帐号安全，此微信号已不允许登录网页微信。你可以使用Windows微信或Mac微信在电脑端登录。Windows微信下载地址：https://pc.weixin.qq.com  Mac微信下载地址：https://mac.weixin.qq.com

对的，新账户没法用Web微信了。
On Wed, Dec 6, 2017 at 12:45 AM kun910202 notifications@github.com wrote:

1203为了你的帐号安全，此微信号已不允许登录网页微信。你可以使用Windows微信或Mac微信在电脑端登录。Windows微信下载地址：
https://pc.weixin.qq.com Mac微信下载地址：https://mac.weixin.qq.com
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/geeeeeeeeek/electronic-wechat/issues/598, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AG7R-xXHH-Eu1XA6RFmGVWOx7fLeLstLks5s9in8gaJpZM4Q3Zxv
.

请问老账号会存在被封号的微信，是什么原因呐，有防止封号的操作吗。谢谢

不确定
On Wed, Dec 6, 2017, 01:11 kun910202 notifications@github.com wrote:

请问老账号会存在被封号的微信，是什么原因呐，有防止封号的操作吗。谢谢
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/geeeeeeeeek/electronic-wechat/issues/598#issuecomment-349545348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG7R-5cG-SkTovvTd60FGZyZdpjxV7awks5s9i_tgaJpZM4Q3Zxv
.

repo: geeeeeeeeek/electronic-wechat


text:
Python

Which framework should be learned after python?

Django, Flask, Unittest, Request, etc...
But this is not a thing for query.
This is not google or chatGPT, please remove this.
Issue opener please remove this.
@geekcomputers Please remove this useless, issue, repository owner.

I would start with standard library if didn't go trough it yet, than i recommend some libraries like numpy, scipy, xarray for more scientific stuff, if you want do something with pictures are amazing  pillow, cv2, for web socket, django, flask, and i would even recommend py-game, i now python is not the best for games but good for fun projects

I would start with standard library if didn't go trough it yet, than i recommend some libraries like numpy, scipy, xarray for more scientific stuff, if you want do something with pictures are amazing pillow, cv2, for web socket, django, flask, and i would even recommend py-game, i now python is not the best for games but good for fun projects
Yes.

It really all depends what career path are you trying to take? If you are looking to learn web development learn django and flask.

Yes! What other career path be taken by coding in python?

You can go with machine learning.
here is a list of different libraries and frameworks that go with machine learning.
NumPy:
NumPy is a fundamental library for numerical computing in Python. It provides support for working with arrays and matrices, which are crucial for data manipulation in machine learning.
pandas:
pandas is a powerful data analysis library that offers data structures like DataFrames and Series. It's excellent for data preprocessing, cleaning, and transformation tasks.
scikit-learn:
scikit-learn is a popular machine learning library that provides a wide range of tools for classification, regression, clustering, dimensionality reduction, and more. It's known for its user-friendly and consistent API.
TensorFlow:
TensorFlow is an open-source machine learning framework developed by Google. It's widely used for deep learning tasks, particularly for building and training neural networks.
PyTorch:
PyTorch is another deep learning framework that's gained popularity in recent years. It's known for its dynamic computation graph and is often favored by researchers and practitioners in deep learning.
Keras:
Keras is a high-level neural networks API that runs on top of other deep learning frameworks like TensorFlow and Theano. It simplifies the process of building and training neural networks.
Matplotlib and Seaborn:
These libraries are essential for data visualization. Matplotlib provides a versatile and customizable plotting system, while Seaborn offers higher-level, aesthetically pleasing statistical visualizations.
Jupyter Notebooks:
While not a library or framework, Jupyter Notebooks are a vital tool for interactive data analysis and machine learning experimentation. They allow you to create and share documents that contain live code, equations, visualizations, and narrative text.
XGBoost:
XGBoost is a popular gradient boosting library known for its efficiency and performance in structured data problems. It's especially useful for tabular data and winning Kaggle competitions.
LightGBM:
LightGBM is another gradient boosting library that's highly efficient and optimized for large datasets. It's known for its speed and low memory usage.
CatBoost:
CatBoost is a gradient boosting library developed by Yandex. It's designed to handle categorical features effectively and often works well "out of the box" with minimal hyperparameter tuning.
spaCy or NLTK (Natural Language Toolkit):
If you're working on natural language processing (NLP) tasks, you should consider learning spaCy or NLTK. They provide tools and resources for working with text data.
Dask:
Dask is a parallel computing library that helps you scale your machine learning workflows to larger datasets and distributed computing environments.
Flask or Django:
If you plan to deploy machine learning models as web applications, learning a web framework like Flask or Django is essential. These frameworks can help you create APIs for serving your models.
FastAPI:
FastAPI is a modern web framework for building APIs with Python. It's known for its high performance and ease of use, making it a great choice for deploying machine learning models.
Keep in mind that the specific libraries and frameworks you need to learn may vary depending on your machine learning specialization and project requirements. Start with the basics (NumPy, pandas, scikit-learn) and gradually explore additional libraries based on your interests and needs.

Wonderful @DonMiller9294
Thanks for your effort to explain us.

It depends on which area you are specializing at. E.g. Automation, Machine learning, Web or App develoment, etc.

It all depends on which area are you specifying but some libraries given below are must
Numpy
JSON
Math
OS

Which framework should be learned after python?

if you want to choose data science and (ML) Machine Learning:
NumPy and pandas:  These libraries are essential for data manipulation and analysis.
scikit-learn:  Ideal for machine learning and predictive modeling.
TensorFlow or PyTorch:  For deep learning and neural network projects.
Web Development:
Django or Flask: Popular Python web frameworks for building web applications.
And FastAPI is a modern web framework for building APIs with Python

Why do we develop APIs? What is the use of API, if I make a custom one, using any of the recommended python library to make an API ? How and where can I implement it?
Like suppose If I make one and deploy it on vercel if that is the right place to do so....then can I show it on my GitHub's README.md file of my profile?

APIs enable different software systems to communicate and interact with each other. They act as intermediaries that allow applications to understand and use the functionality provided by other applications or services.
Choose a python library like flask ,django
Define the endpoints and choose the data format whether your API will use JSON, XML or any other...
Write the code for your API using the chosen framework. Define routes, request handlers, and data processing logic.
Implement any necessary authentication and authorization mechanisms if your API requires them
Test your API endpoints, Verify that they behave as expected
Create documentation for your API. Include information about the endpoints, request and response formats, and example usage.
Choose a hosting platform  to deploy your API, platform  like Heroku and  there are other services
If you want to showcase your API on your GitHub add README.md file, include information about how to use it

APIs enable different software systems to communicate and interact with each other. They act as intermediaries that allow applications to understand and use the functionality provided by other applications or services.
Choose a python library or framework like flask ,django Define the endpoints and choose the data format whether your API will use JSON, XML or any other... Write the code for your API using the chosen framework. Define routes, request handlers, and data processing logic. Implement any necessary authentication and authorization mechanisms if your API requires them Test your API endpoints, Verify that they behave as expected Create documentation for your API. Include information about the endpoints, request and response formats, and example usage. Choose a hosting platform to deploy your API, platform like Heroku and there are other services If you want to showcase your API on your GitHub add README.md file, include information about how to use it

Well explained.

Im a bigginer how to I improve my coding skills

By doing coding and practice as much as you can

Yes, indeed.

where were we

Can I use the build in functions of python language for crack the technical round in interview

repo: geekcomputers/Python


text:
Laplacian Filtering.

Implementation of the same.

Implementation of the same.

@geekquad I am GSSoC'21 participant and I want to work on this issue. Kindly assign this to me.

repo: geekquad/Image-Processing-OpenCV


text:
🛑 blist is down

In b77be1e, blist (https://Blistingsnip.geeks121.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blist is back up in 6aeb5c1.


text:
Did I buy the wrong thing?

I bought a EPS32-CAM unit for this project, but it doesn't have a USB connector, instead it has a microSD card slot.
Any way to get this to work, so should I just trash it and buy something else?
Thanks.

Found the pinouts for this board. Should be connected correctly now. Still can't compile the code, but that's another issue.

repo: geeksville/TenDollarWebcam


text:
Unsubscribe user on iOS

Is it possible to disable PushNotifications for the user through js (I'd like to add switch in the app)? I see that we have setSubscription method, but seems like it doesn't work on iOS.

Thanks for the report, i'll test it and let you know.

Hi, I won't be available on the next month to add new features. If you have any idea for a PR, i'll be happy to review it.
Hopefully after mid May i'll be back to add new features to this library.
I'm adding this request to the TODO list.

I'm testing this on iOS right now, we'll let you know.
On Android it works well by my tests.

Working in all my tests.

authors: avishayil gaykov

repo: geektimecoil/react-native-onesignal


text:
Add documentation for custom logging provider registration

Add documentation for custom logging provider registration

Added documentation for custom logging provider registration at https://spsl.geekwhocodes.me/custom-providers

repo: geekwhocodes/simple-ps-logger


text:
Vagrant prompts for admin credentials

Issue:
When I run battery-test.sh as a regular user (non-admin), vagrant is prompting me for admin credentials during the destroy process, which blocks the tests:
==> drupalvm: Forcing shutdown of VM...
==> drupalvm: Destroying VM and associated drives...
==> drupalvm: Pruning invalid NFS exports. Administrator privileges will be required...
Password:

Same thing also happens during vagrant up:
$ vagrant up
Bringing machine 'drupalvm' up with 'virtualbox' provider...
==> drupalvm: Importing base box 'geerlingguy/ubuntu1604'...
==> drupalvm: Matching MAC address for NAT networking...
==> drupalvm: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> drupalvm: Setting the name of the VM: drupalvm.dev
==> drupalvm: Pruning invalid NFS exports. Administrator privileges will be required...
Password:

The impact of this is that the loop fails to complete and it doesn't properly test battery life.
Versions:
$ vagrant -v
Vagrant 1.9.1

Virtualbox 5.1.12 r112440

Oops! I forgot that most people don't have the same sudoers config I do. Quick fix is to change sudoers like I mention in this blog post: http://www.jeffgeerling.com/blogs/jeff-geerling/better-vagrant-development-workflow
Better fix will be me setting the share type to native instead of NFS inside the Drupal VM config.yml file.

Fixed by PR #5

repo: geerlingguy/macbook-pro-battery-test


text:
Add main property to package.json

Add main property to package.json so library can be used with require/import.
https://docs.npmjs.com/files/package.json#main

Should this maybe reference the un-minifed (src) file instead?
Use case: using browserify with NPM to bundle all scripts to a file and using a custom minifier for the bundle.

Yes, this is a good idea. Referring to source files can be a problem if the library is written in ES6 syntax (because people tend to ignore files under node_modules in webpack config) but this is not the case with this library.

authors: joppuyo pryley


text:
duplicate terms for ERAD

GO:0030433
ER-associated ubiquitin-dependent protein catabolic process
The chemical reactions and pathways resulting in the breakdown of proteins transported from the endoplasmic reticulum and targeted to cytoplasmic proteasomes for degradation. This process acts on misfolded proteins as well as in the regulated degradation of correctly folded proteins.
synonyms
ER-associated protein breakdown, ER-associated protein catabolic process, ER-associated protein catabolism, ER-associated protein degradation, ERAD
and
GO:003650
ERAD pathway
The series of steps necessary to target endoplasmic reticulum (ER)-resident proteins for degradation by the cytoplasmic proteasome. Begins with recognition of the ER-resident protein, includes retrotranslocation (dislocation) of the protein from the ER to the cytosol, protein modifications necessary for correct substrate transfer (e.g. ubiquitination), transport of the protein to the proteasome, and ends with degradation of the protein by the cytoplasmic proteasome.

It looks like the second term is more general. The first on is always ubiquitin-dependent. Are there other mechanisms?

I think they are the same because the first on refers to the proteasome, and proteasomal degradation is ubiquitin dependent (or did we have an example where it isn't).
Anyways, I only know of one ERAD pathway.
If the wikipedia article is correct they are the same....
https://en.wikipedia.org/wiki/Endoplasmic-reticulum-associated_protein_degradation

PMID:21969857 and PMID:20940304 ?

Problem is, none of these has been used for ubiquitin independent by the looks of things....

Ah got you. I though these were in different parts of the graph.
Could the names/defs be more consistent
ERAD pathway
and
ubiquitin associated ERAD pathway
so that its easy to see the differentia based on term name?

some of the direct children of
GO:003650 ERAD pathway
should be under the ubiquitin dependent term
GO:0000835 ER ubiquitin ligase complex
GO:0000836 Hrd1p ubiquitin ligase complex
GO:0000837 Doa10p ubiquitin ligase complex
GO:0000838
Hrd1p ubiquitin ligase ERAD-M complex
GO:0000839
Hrd1p ubiquitin ligase ERAD-L complex
GO:1904264
ubiquitin protein ligase activity involved in ERAD pathway
GO:0097466 glycoprotein ERAD pathway (as defined)

Looking at the autophagy pathway structure, the catabolic process is a part of the whole pathway. Looking at the structure of the ERAD pathway, the catabolic process (GO:0030433) is a part of the pathway. Based on that and your comment above, I suspect that the catabolic term should only refer to the breakdown of the proteins and genes that function in other parts of the pathway should be annotated to such.

I don't understand what the other parts of the pathway are? ErAD is a catabolic pathway?

OK. We have decided to go the route of making these whole processes catabolic pathways. So based on the above, I can change the name of GO:0030433 to be ubiquitin-dependent ERAD pathway. I can tighten up the definition to be "The series of steps necessary to target endoplasmic reticulum (ER)-resident proteins for degradation by the cytoplasmic proteasome. Begins with recognition of the ER-resident protein, includes retrotranslocation (dislocation) of the protein from the ER to the cytosol, protein ubiquitination necessary for correct substrate transfer, transport of the protein to the proteasome, and ends with degradation of the protein by the cytoplasmic proteasome.
I will also move the children you suggest above to be children of the ubiquitin-dependent pathway and maybe change the name of the glycoprotein ERAD pathway to ubiquitin-dependent glycoprotein ERAD pathway. I think we should add the two PMIDs I found above to the definition of the parent term, so if this question ever comes up again, they will be easily available. Sound like a plan?

Yup!

OK. I hope I got everything. I also changed the synonyms appropriately.

authors: ValWood ukemi

repo: geneontology/go-ontology


text:
refine def: glycine import into mitochondrion

GO:1904983
glycine import into mitochondrion
Definition
The directed movement of glycine across a membrane from cytosol to mitochondrion. PMID:26821380
refine to
GO:1904983    glycine import into mitochondrial matrix
redefine
The process in which a solute is transported from the mitochondrial intermembrane space to the mitochondrial matrix.
See @asangrador  comment from
https://github.com/geneontology/go-annotation/issues/1750#issuecomment-358339508
According to PMID: 28404662:
"Mitochondria possess both outer and inner membranes with differential permeabilities. The outer mitochondrial membrane is permeable to solutes up to ∼5 kDa, while the inner membrane is comparatively impermeable to enable efficient oxidative phosphorylation. Various transporters reside within the inner mitochondrial membrane to overcome its permeability barrier, including transporters required to facilitate the synthesis of heme."
And SLC25 is supposed to be a family of inner mitochondrial membrane transporters. The SLC25A38 member from S. cerevisiae Hem25/YDL119C was detected among these [10930523]. I think that paper is where our annotation came from for MIM.

This is what we currently have :
x import into the mitochondrion:

'folic acid import into mitochondrion'
*'glycine import into mitochondrion'
*'RNA import into mitochondrion'
*'tRNA import into mitochondrion'
*'rRNA import into mitochondrion'
'pyrimidine nucleotide import into mitochondrion'

all except 'pyrimidine nucleotide import into mitochondrion' already have 'target end location' in the logical definition; I dont think these can really end up anywhere else.
Surprisingly, 'pyrimidine nucleotide import into mitochondrion' has target end location 'mitochondrial intermembrane space'. However the paper cited mentions transport to the matrix: PMID: 16194150
So I will
[] adjust the textual definitions for the above terms
[] fix the logical definition for 'pyrimidine nucleotide import into mitochondrion' to make the end location = matrix
@ValWood @deustp01
Let me know if you see a problem with this plan.
Thanks, Pascale

authors: ValWood pgaudet


text:
transmembrane transport/nulceocytoplasmic transport

RGD have quite a few nucleoporins annotated to "transmembrane transport" (mianly by IEA I think
| Nup62cl | nucleoporin 62 C-terminal like | Rattus norvegicus |   | gene | RGD |
  | Nup153 | nucleoporin 153 | Rattus norvegicus | nuclear pore complex protein nup pthr23193 | gene | RGD |
  | Nup205 | nucleoporin 205 | Rattus norvegicus | family not named pthr31344 | gene | RGD |
  | Nup155 | nucleoporin 155 | Rattus norvegicus | nuclear pore complex protein nup155 pthr10350 | gene | RGD |
  | Nupl2 | nucleoporin like 2 | Rattus norvegicus | family not named pthr46527 | gene | RGD |
  | Nup107 | nucleoporin 107 | Rattus norvegicus | nup107-related pthr13003 | gene | RGD
  | Nup62cl | nucleoporin 62 C-terminal like | Rattus norvegicus |   | gene | RGD |
  | Tsc2 | TSC complex subunit 2 | Rattus norvegicus | tuberin pthr10063 | gene | RGD |
  | Nup153 | nucleoporin 153 | Rattus norvegicus | nuclear pore complex protein nup pthr23193 | gene | RGD |
  | Nup205 | nucleoporin 205 | Rattus norvegicus | family not named pthr31344 | gene | RGD

Shouldn't this be in the annotation tracker?

yep wrong tracker
moving

https://github.com/geneontology/go-annotation/issues/2404


text:
Add nearest neighbour function

It seems very common for Rtree implementations to provide a nearest_neighbour function, so we should do the same! A few examples from other Rtree (or related) libraries.

Rust RStar library: https://github.com/georust/rstar/blob/master/rstar/src/algorithm/nearest_neighbor.rs
Another one in Go: https://github.com/dhconnelly/rtreego/blob/master/rtree.go

The Go one makes reference to http://www.cs.ucr.edu/~ravi/CS236Papers/roussopoulosNN95.pdf
This is quite involved so do have a look for other good first issues if you haven't made a contribution yet unless you feel comfortable. And do ask questions!

Hi @patricoferris, I would love to work on this issue. Is there any documentation pertaining to the nearest neighbor function of what it should do or should I just check the code in Go/Rust and try to mimic it in Ocmal?

Hi @patricoferris, I would love to work on this issue. Is there any documentation pertaining to the nearest neighbor function of what it should do or should I just check the code in Go/Rust and try to mimic it in Ocaml?

It can be a good approach to go through the Rust implementation :)
Did you find any good resources over these last days?

Hi @patricoferris, I would love to work on this issue. Is there any documentation pertaining to the nearest neighbor function of what it should do or should I just check the code in Go/Rust and try to mimic it in Ocaml?

It can be a good approach to go through the Rust implementation :) Did you find any good resources over these last days?

Nope :( I didn't find any, I have been preoccupied with some other work recently, and I had expected the project mentors to provide me with the resources. I'll look up the resources and see what I can find.

Hi @patricoferris, do we want to calculate the nearest neighbor from a point specifically to our values (leaf nodes)? My question is where do I keep the distance functions? Should it be inside of module V or should I create a module called Point?

Good question @kushalpokharel , for now let's start with a dedicated Point module and go from there

authors: AryanGodara harshey1103 kushalpokharel patricoferris

repo: geocaml/ocaml-rtree


text:
'Higher Rate Limit'

Geode Issue

[X] I confirm that this bug is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
SDK commit
No response
Geode Version
Geode 2.0.0 Beta,21 (
Mods Installed
Had 20 mods installed, uninstalled all mods to see if the problem would fix.
Expected Behavior
Geode would load normally, the download section would load as normal.
Actual Behavior
Geode had a message about a 'failed request' and 'get a higher rate limit'. Mod downloader can't load and only shows a spinning wheel (I have a small aspect ratio, I can't show the full error).

Steps to Reproduce
Unsure how to reproduce the bug.
Additional Information
No response

This isn't a Geode issue, but GitHub.
This will be fixed with the new index.

authors: FlutterFlakesGD RoootTheFox

repo: geode-sdk/geode


text:
Fill in missing blocks

 number
----------
  2563381
  2563388
  2942812
  4257937
  4684023
  6877687
  6877726
  7305702
 10651221
 10651223
 22601787
 25522649
 25524683
 25525047
 25997556
 26363155
 26374706
 27638964
 27638966
 27638973
 36999891
 37475908
 40875333
 40875418
 40875874
 40875876
 43241179
 43241181
 43241184
 43241186
 43241187
 43241188
 43241190
 43241191
 43241192
 43241193
 43241195
 43241196
 43241197
 43241198
 43241199
 43241200
 43241201
 43241202
 43241203
 43241204
 43241205
 43241206
 43241207
 43241208
 43241209
 43241210
 43241211
 43241212
 43241213
 43241214
 43241215
 43241216
 43241217
 43241218
 43241219
43241220
 43241221
 43241222
 43241223
 43241224
 43241225
 43241226
 43241227
 43241229
 43241230
 43241231
 43241232
 43241233
 43241236
 43241238
 43241239
 43241240
 43241241
 43241244
 43241245
 43241246
 43241249
 43241251
 43241252
 43241253
 43241254
 43241256
 43241257
 43241258
 43241259
 43241260
 43241262
 43241264
 43241265
 43241266
 43241267
 43241271
 43241272
 43241274
 43241276
 43241278
 43241280
 43241281
 43241283
 43241284
 43241288
 43241292
 43241303
 43241305
 43241308
 43241313
 43241315
 43241318
 43241320
 43241343

Command used to find all partitions and offsets:
kafkacat -C -b icon-kafka-mainnet-a-kafka-bootstrap.icon-kafka.svc:9092 -t mainnet-blocks -f '{"partition": %p, "offset": %o, "key": %k}\n' | grep --line-buffered " 2563381}\| 2563388}\| 2942812}\| 4257937}\| 4684023}\| 6877687}\| 6877726}\| 7305702}\| 10651221}\| 10651223}\| 22601787}\| 25522649}\| 25524683}\| 25525047}\| 25997556}\| 26363155}\| 26374706}\| 27638964}\| 27638966}\| 27638973}\| 36999891}\| 37475908}\| 40875333}\| 40875418}\| 40875874}\| 40875876}\| 43241179}\| 43241181}\| 43241184}\| 43241186}\| 43241187}\| 43241188}\| 43241190}\| 43241191}\| 43241192}\| 43241193}\| 43241195}\| 43241196}\| 43241197}\| 43241198}\| 43241199}\| 43241200}\| 43241201}\| 43241202}\| 43241203}\| 43241204}\| 43241205}\| 43241206}\| 43241207}\| 43241208}\| 43241209}\| 43241210}\| 43241211}\| 43241212}\| 43241213}\| 43241214}\| 43241215}\| 43241216}\| 43241217}\| 43241218}\| 43241219}\| 43241220}\| 43241221}\| 43241222}\| 43241223}\| 43241224}\| 43241225}\| 43241226}\| 43241227}\| 43241229}\| 43241230}\| 43241231}\| 43241232}\| 43241233}\| 43241236}\| 43241238}\| 43241239}\| 43241240}\| 43241241}\| 43241244}\| 43241245}\| 43241246}\| 43241249}\| 43241251}\| 43241252}\| 43241253}\| 43241254}\| 43241256}\| 43241257}\| 43241258}\| 43241259}\| 43241260}\| 43241262}\| 43241264}\| 43241265}\| 43241266}\| 43241267}\| 43241271}\| 43241272}\| 43241274}\| 43241276}\| 43241278}\| 43241280}\| 43241281}\| 43241283}\| 43241284}\| 43241288}\| 43241292}\| 43241303}\| 43241305}\| 43241308}\| 43241313}\| 43241315}\| 43241318}\| 43241320}\| 43241343}\|" > file.txt

repo: geometry-labs/icon-blocks


text:
STAC Item support with null geometry

Description
STAC Item spec says that geometry can be null and bbox is required if geometry is null.
https://github.com/radiantearth/stac-spec/blob/master/item-spec/item-spec.md
Test with a copy of https://github.com/radiantearth/stac-spec/blob/master/examples/simple-item.json
with no bbox and  "geometry": null, throws the following error:
Error message
=========
Could not parse "/tmp/metadata" as an XML record

Traceback (most recent call last):

  File "/home/pycsw/pycsw/pycsw/core/admin.py", line 370, in load_records

    record = metadata.parse_record(context, metadata_record, repo)

  File "/home/pycsw/pycsw/pycsw/core/metadata.py", line 120, in parse_record

    return _parse_metadata(context, repos, record)

  File "/home/pycsw/pycsw/pycsw/core/metadata.py", line 135, in _parse_metadata

    return [_parse_json_record(context, repos, record)]

  File "/home/pycsw/pycsw/pycsw/core/metadata.py", line 1632, in _parse_json_record

    recobj = _parse_stac_item(context, repos, record)

  File "/home/pycsw/pycsw/pycsw/core/metadata.py", line 1751, in _parse_stac_item

    _set(context, recobj, 'pycsw:BoundingBox', util.bbox2wktpolygon(util.geojson_geometry2bbox(record['geometry'])))

  File "/home/pycsw/pycsw/pycsw/core/util.py", line 185, in geojson_geometry2bbox

    geom_type = geometry.get('type')

AttributeError: 'NoneType' object has no attribute 'get'

Environment

operating system:
Python version:
pycsw version:
source/distribution

[ ] git clone
[ ] DebianGIS/UbuntuGIS
[ ] PyPI
[ ] zip/tar.gz
[x] other (please specify): Docker (latest)

web server

[ ] Apache/mod_wsgi
[ ] CGI
[ ] other (please specify):

Looking at the STAC Item spec, I am interpreting the inverse (if geometry is not null, bbox is required), so that bbox provides a simple minimum bounding geometry if geometry is defined.
Having said this, I've reproduced the error and applied a fix as part of #991.

authors: kalxas tomkralidis

repo: geopython/pycsw


text:
#891 Fix requirements (geolinks/click dependency)

Overview
Workaround for geolinks for creating a runnable image.
The docker image created on the live 2.6 branch will not run (even once fixed via #890), because of a bad dependency (see https://github.com/geopython/geolinks/issues/13).
When running a docker run on the image, you'll get this error:
Traceback (most recent call last):
  File "/usr/local/bin/entrypoint.py", line 52, in <module>
    from pycsw.core import admin
  File "/home/pycsw/pycsw/pycsw/core/admin.py", line 38, in <module>
    from pycsw.core import metadata, repository, util
  File "/home/pycsw/pycsw/pycsw/core/metadata.py", line 38, in <module>
    from geolinks import sniff_link
  File "/usr/local/lib/python3.8/site-packages/geolinks/__init__.py", line 34, in <module>
    import click
ModuleNotFoundError: No module named 'click'

This PR will add the missing dependency.
Related Issue / Discussion
Issue #891 Docker build of 2.6 branch will not start
Additional Information
Contributions and Licensing
(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
[x] I have already previously agreed to the pycsw Contributions and Licensing Guidelines

Fixed in geolinks:

https://github.com/geopython/geolinks/pull/15
https://github.com/geopython/pycsw/issues/891#issuecomment-1709312504

Seems fixed so lets not add click in the requirements yet.

authors: etj kalxas


text:
New feature: set HOME to pywps process tempdir

Overview
some tools used in a wps process like to have a HOME environment and might even write into the HOME folder (config, cache, ...).
With this new feature the HOME can be set to the current tempdir of the process. This feature is disabled by default and can be activated with the sethomedir=true flag in the pywps server configuration.
You are already using this in Process._set_grass:
https://github.com/geopython/pywps/blob/master/pywps/app/Process.py#L220
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[ ] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x ] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

Coverage increased (+0.007%) to 76.326% when pulling 12f971ffb8e09495d9d379ce599a6fee64d15168 on bird-house:feature-sethomedir into 7e7e12e3662287f0ec454f976d91381aee73bcfc on geopython:master.

works for me, thanks a lot

authors: cehbrecht coveralls jachym

repo: geopython/pywps


text:
Trident glyph

xwing-miniatures-ships.ttf.zip
I took a stab at creating a glyph for the Trident.  Attached is a ttf file with the Trident at 0036.  I tried to do a PR but I discovered Microsoft's destruction of github is proceeding as expected...
I also attempted the new Y-wing but I could not figure out how curves work in fontforge.  Is anyone here able to add the Resistance Y-wing, FO Bomber, and Whisper?  I could provide images if someone is wililng/able.

Saw your comment on this PR: https://github.com/geordanr/xwing-miniatures-font/pull/126#issuecomment-926882591
FWIW that version of the font works great for me. Everything seems to be in order, at least to my eyes.

authors: chrisglein sirjorj

repo: geordanr/xwing-miniatures-font


text:
chore(deploy): add up/down checks

remove gitignore as it doesn't do much now

Pull Request Test Coverage Report for Build 2012074565

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 0.0%

Totals

Change from base Build 2012066648:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls

authors: coveralls georgettica

repo: georgettica/obnpctl


text:
日志中有大量重复的信息

日志中有大量重复的条目，具体如下:
 DEBUG (Thread-5) [custom_components.climate_ewelink.statemanager] websocket disconnected, retrying
并且在连续发送指令时，会出现间歇性的不可控。同时Home Assistant下方提示:
调用服务 climate/set fan mode 失败。 'NoneType' object has no attribute 'send '

搞清楚问题了，是因为升级插件版本后，启动时又创建了新的线程，而之前的线程并未退出。两个线程互相影响，从而出现间歇性的不可控。不过还是希望之后的版本可以加入检测的功能，在启动时杀死之前未退出的线程。


text:
无法添加洗衣机设备，账号密码出错。

HA版本
Core 2024.1.2 Supervisor 2023.12.0 Operating System 11.2 Frontend 20240104.0
集成版本
0.3.22
设备类型及型号
洗衣机
使用的App
ios 美居
问题详细描述
设备可以搜索的到也支持添加，冰箱和烘干机都能正常添加但是洗衣机添加是会显示无法连接到指定设备，第二次提交就会报账号密码错误，删除 .storage里的账户信息，尝试重新添加账户添加设备依旧不行。

查看日志发现countryCode为HK以为是网络问题，关闭代理后依然无法添加，日志显示身份验证失败不可用。
请问应该怎么处理这个问题？
The logs
[custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/user/login/id/get, data: {'loginAccount': '15623459500', 'reqId': 'c845012b3d9dc5b2168fdbe0e2f68bbe', 'stamp': '20240108171205'}, response: b'{"code":0,"msg":null,"data":{"loginId":"1220f7a388c34a3ba33c19901081af76"}}'
2024-01-08 17:12:05.561 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/mj/user/login, data: {'iotData': {'clientType': 1, 'deviceId': 'e4bf9801521cba15', 'iampwd': 'b7970a79d4367b12e2bd5cb2feff11e1', 'iotAppId': '900', 'loginAccount': '15623459500', 'password': '68950a6e907ffde672a276d40d11f3975d600b488a6ec7b0e7417cad7676a575', 'reqId': '755955928f395dcfba0ad3e8c4ad09a6', 'stamp': '20240108171205'}, 'data': {'appKey': '46579c15', 'deviceId': 'e4bf9801521cba15', 'platform': 2}, 'timestamp': '20240108171205', 'stamp': '20240108171205', 'reqId': 'fe79cc7f332fcc39a67a6b57f422c7b0'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"uid":"eab67c1ff6c4409fb2dd1e043136ad6c","userInfo":{"birthday":null,"mail":null,"signature":null,"homeName":null,"phone2":null,"phone3":null,"uid":"eab67c1ff6c4409fb2dd1e043136ad6c","homeCode":null,"isWeixin":"1","cardid":null,"isQq":"0","brand":"1","isApple":"0","registerTime":"1702552831000","nickName":"Y.","sex":null,"mobile":"15623459500","userId":"1735258464248807425","headImgUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/pWlCcThica6hanw56kkurSBoFRnG95kLKN6bFe7dLbC3AWz7czVEz1t7JictwVEp4gDiawwzfic8RrBwy5CG5oxv7A/132","phone":null,"name":null,"mipUser":null,"isUpdateCacheTime":1,"age":null,"account":null},"iotUserId":97232579,"mdata":{"tokenPwdInfo":{"tokenPwd":"9ba0107675cc43fa957a102d2818d6ff","expiredDate":1709889125547,"createDate":1704705125547},"userInfo":{"sourceId":"mj_12345","empId":"5583652296066048","address":"","gender":"0","mobile":"15623459500","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"eab67c1ff6c4409fb2dd1e043136ad6c","name":"15623459500","email":null},"expired":1704719515220,"doDeviceBind":null,"accessToken":"T1jbqm4o2br417rji","signUnlockEnabled":null},"jwtToken":null,"clusterId":65793,"region":10,"isOldUse":null,"key":"bb26a3ff40dc515eb722dd708873a7e4187c944f79041a1b4b632650e1b4aed9"}}'
2024-01-08 17:12:05.611 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.smartmidea.net/mas/v5/app/proxy?alias=/v1/appliance/info/get, data: {'applianceCode': 210006726776784, 'reqId': '723f65b0ec1e155552d0b6daa75d380b', 'stamp': '20240108171205'}, response: b'{"code":0,"msg":null,"data":{"id":null,"applianceCode":210006726776784,"sn":"74a2247f258a776b6b59c4cd8f3a1235d7489bde77b40031cba6a3684247905f86d64e961ef70c5c1944da516e9b7410","onlineStatus":1,"type":"0xDB","modelNumber":"12877","name":"\xe6\xbb\x9a\xe7\xad\x92\xe6\xb4\x97\xe8\xa1\xa3\xe6\x9c\xba","des":null,"activeStatus":1,"activeTime":"2024-01-08 23:20:07","masterId":null,"wifiVersion":"059009012205","enterprise":"0000","isOtherEquipment":null,"attrs":null,"roomName":null,"btMac":"44:35:d3:73:36:f3","btToken":null,"hotspotName":null,"isBluetooth":0,"bindType":null,"ability":null,"nameChanged":null,"sn8":"38127874","supportWot":false,"templateOfTSL":null,"shadowLevel":null,"smartProductId":10004256}}'
2024-01-08 17:12:05.612 DEBUG (MainThread) [custom_components.midea_ac_lan.config_flow] Try to get the Token and the Key use the preset MSmartHome account
2024-01-08 17:12:06.380 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/multicloud/platform/user/route, data: {'src': '1010', 'format': '2', 'stamp': '20240108171205', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '2b843699939b041dd45738c78356c42e', 'uid': None, 'clientType': '1', 'appId': '1010', 'userType': '0', 'userName': 'c414e631394b8639@outlook.com'}, response: b'{"msg":"ok","code":0,"data":{"masUrl":"https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=","sseUrl":"https://sse.msmartlife.net","idAdapt":"131329","countryCode":"HK","emsIdAdapt":"132097"}}'
2024-01-08 17:12:06.570 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/user/login/id/get, data: {'src': '1010', 'format': '2', 'stamp': '20240108171206', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '9f6ad57d85e7954638390c503981e911', 'uid': None, 'clientType': '1', 'appId': '1010', 'loginAccount': 'c414e631394b8639@outlook.com'}, response: b'{"code":"0","msg":"ok","data":{"loginId":"18bd89f6-0da8-4457-9229-29b62dd3"}}'
2024-01-08 17:12:06.816 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/mj/user/login, data: {'iotData': {'src': '1010', 'format': '2', 'stamp': '20240108171206', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': 'ef512e94b183d2340359484b4f0b9a49', 'clientType': '1', 'appId': '1010', 'iampwd': 'a9cea0f37f9a714f76ff7a04ebd92afb57f0e9f2ebf7b39706f9f39f81862426', 'loginAccount': 'c414e631394b8639@outlook.com', 'password': 'edfe7eef2bade499d98c5a6c47c54f51309ea82f29886142313375bd6a04d0de'}, 'data': {'appKey': 'ac21b9f9cbfe4ca5a88562ef25e2b768', 'deviceId': '2625df98eed17b6f', 'platform': '2'}, 'stamp': '20240108171206', 'reqId': '9fa18231d45d8a4b2f8aa579af6e7533'}, response: b'{"code":0,"msg":"\xe6\x88\x90\xe5\x8a\x9f","data":{"randomData":"d960b6bb73dcf1be08ef71734fbb0539de05929fd3c6c4529d816113e82445a2","uid":"1551cbb009fcac0a41cfc7ca850f0855","accountId":"1006912800","nickname":"c414e631394b8639","mdata":{"tokenPwdInfo":{"tokenPwd":"c6ab665b5a6e451e8934b08ff9654b73","expiredDate":1707297126719,"createDate":1704705126719},"userInfo":{"sourceId":"mj_12345","empId":"5499821268679680","address":"","gender":"0","mobile":"c414e631394b8639@outlook.com","userDeptInfoList":null,"extras":null,"nameEn":null,"employeeNumber":null,"headPhoto":null,"uid":"1551cbb009fcac0a41cfc7ca850f0855","name":"c414e631394b8639@outlook.com","email":null},"doDeviceBind":null,"accessToken":"T1jbqm524b9c38ooq","signUnlockEnabled":null},"accessToken":"99a963199af0c1bc34a8fc6d94e925f522e3ceb44a144215a5f0568f651b1247","userId":"94566877018113","email":"c414e631394b8639@outlook.com"}}'
2024-01-08 17:12:07.007 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'src': '1010', 'format': '2', 'stamp': '20240108171206', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': '460590a3179157f9c94be5b759cbb023', 'uid': '1551cbb009fcac0a41cfc7ca850f0855', 'clientType': '1', 'appId': '1010', 'udpid': '8e75afc9585e9f3e506d773feb601434'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"8e75afc9585e9f3e506d773feb601434","key":"c88b5943c9574d98868efb5eb124990ff90c90d269e547599a18466332a399d5","token":"4BF09333826D450288636236F8BA87034216E260BD96D85F7CADC95CFFEC34C5C0BAE3B3A9C550A0C8397DBA58AC7A46DBEE69D1BFC54FC96AFE8679CB0361C9"}]}}'
2024-01-08 17:12:07.198 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.cloud] Midea cloud API url: https://mp-prod.appsmb.com/mas/v5/app/proxy?alias=/v1/iot/secure/getToken, data: {'src': '1010', 'format': '2', 'stamp': '20240108171207', 'platformId': '1', 'deviceId': '2625df98eed17b6f', 'reqId': 'a9120a0412290bef656d5ab4a9c7bda9', 'uid': '1551cbb009fcac0a41cfc7ca850f0855', 'clientType': '1', 'appId': '1010', 'udpid': 'f1887071612fb6b849510e373049d301'}, response: b'{"code":"0","msg":"ok","data":{"tokenlist":[{"udpId":"f1887071612fb6b849510e373049d301","key":"973fe81c98ca4492bd3f40a6dea4b81e21e90cfb401344cd80c6aab07c13466e","token":"7DD43CF387C58BFF91B32AEC745851927B19ABD3317659FEAEE679AEE8C15C2311AD10B02008CC402199ABE575FBEA6417B39415DB6C309DB69D5A62FE903334"}]}}'
2024-01-08 17:12:07.200 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Connecting to 192.168.100.110:6444
2024-01-08 17:12:07.206 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Connected
2024-01-08 17:12:07.207 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Handshaking
2024-01-08 17:12:07.260 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Authentication failed
2024-01-08 17:12:07.260 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Status update: {'available': False}
2024-01-08 17:12:07.261 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Connecting to 192.168.100.110:6444
2024-01-08 17:12:07.268 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Connected
2024-01-08 17:12:07.268 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Handshaking
2024-01-08 17:12:07.337 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Authentication failed
2024-01-08 17:12:07.337 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Status update: {'available': False}
2024-01-08 17:12:07.341 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Connecting to 192.168.100.110:6444
2024-01-08 17:12:07.374 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Connected
2024-01-08 17:12:07.374 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Handshaking
2024-01-08 17:12:07.439 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Authentication failed
2024-01-08 17:12:07.439 DEBUG (MainThread) [custom_components.midea_ac_lan.midea.core.device] [210006726776784] Status update: {'available': False}

我和你一样的问题，无解

开发者同学能不能帮忙看下临时解决的方案

遇到同样问题，之前还可以的

你要去研究下如何解决啊，现在最少100个人有这个问题

看你日志里有打印的设备key和token了 手动添加一下吧

看你日志里有打印的设备key和token了 手动添加一下吧

看你日志里有打印的设备key和token了 手动添加一下吧

不确定是不是那个设备的，因为有两个设备是成功的，我先试试吧。

同样遇到无法登录的问题

现在这个问题怎么解决有方法了吗

我的美的华凌2台空调无法添加，美的洗衣机也是，都是提示账号密码错误，登录不上去，是最新的0.322版本

请问.Storage在哪里，如何清理？

请问.Storage在哪里，如何清理？

homeassistant文件夹下ls -a查看

添加中央空调碰到同样的问题，log也是获取两次token，手动v3协议也添加失败。debug日志里显示连接验证失败。


text:
Add raster creation options

[ x] I agree to follow the project's code of conduct.
[ x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Please review the additions I made (related to #190 ).
Also, I think there may be a bug in dataset.metadata_item(); which makes the test test_create_with_band_type_with_options() fail, since I can see the COMPRESSION field in the image structure metadata when using gdalinfo. Or am I missing something?
gdalinfo output:
Files: /tmp/test.tif
Size is 256, 256
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  256.0)
Upper Right (  256.0,    0.0)
Lower Right (  256.0,  256.0)
Center      (  128.0,  128.0)
Band 1 Block=128x64 Type=Byte, ColorInterp=Gray

test error:
thread 'raster::tests::test_create_with_band_type_with_options' panicked at 'assertion failed: `(left == right)`
  left: `None`,
 right: `Some("LZW")`', src/raster/tests.rs:273:5

It was not a bug in dataset.metadata_item(). The dataset needs to be explicitly dropped before being able to retrieve the metadata. Tests are passing now.

Thanks for reviewing my changes and your suggestions to improve them, I guess I still have a lot to learn!
Sorry I made a bit of a mess incorporating your suggestions! I didn't see the "commit suggestion" button at first (we use gitlab at work and the workflow is a bit different), I'll be more careful next time.

Yeah, don't worry about the commit attribution (I'd squash these anyway if it was my PR), and sorry for taking so long to review. Tests seem to fail now because of some extra bit of whitespace or something like that.
Unfortunately, I can't merge it (well, I can, but we use bors instead of merging from the GitHub UI), so someone else must take a look.

Just testing:
bors d+

yes, it seems to be an extra space in the test. I'll fix it now.

PS: you can add your (presumably) other email address to your GitHub account so that you don't show as two different people.

Can you add link to the PR in the changelog?

r? @jdroenner

So if you want to look into a builder API in the meanwhile, it would be awesome :-).

Sure, I can open another issue and we discuss there.

authors: geohardtke lnicola

repo: georust/gdal


text:
Refactoring vector module for better maintainability and extensibility.

[X] I agree to follow the project's code of conduct.
[NA] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Refactoring to improve maintainability of vector module.
Changes include:

Grouping methods of similar purpose into separate files
Putting associated tests in the same file as the implementation
Adding or expanding documentation on existing methods
Normalizing documentation patterns and format.

Intent was to not have any breaking changes.

One naming nit

Not a nit... I've already renamed those 5 times. 🙈

@lnicola @jdroenner I'm going to merge this, and then in a separate PR implement union, difference, symmetric_difference, etc. in the new set module.

[NA] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Anyway, we can probably merge this.
bors d+

Actually, maybe there's no breaking changes?
bors r+

authors: lnicola metasim


text:
[WIP] add header cache

Ref #82
import os

os.environ['ENABLE_HEADER_CACHE'] = 'TRUE'
os.environ['ENABLE_BLOCK_CACHE'] = 'FALSE'

from aiocogeo import COGReader
import asyncio

async def main():
    async with COGReader("https://async-cog-reader-test-data.s3.amazonaws.com/webp_cog.tif") as cog:
        await cog.get_tile(0,0,0)
        assert cog.requests['count'] == 21

    async with COGReader("https://async-cog-reader-test-data.s3.amazonaws.com/webp_cog.tif") as cog:
        await cog.get_tile(0,0,0)
        assert cog.requests['count'] == 3

asyncio.run(main())

Codecov Report

Merging #90 (8eb735e) into master (9e43c30) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
+ Coverage   93.17%   93.22%   +0.04%
==========================================
  Files          12       12
  Lines        1070     1077       +7
==========================================
+ Hits          997     1004       +7
  Misses         73       73

Impacted Files
Coverage Δ

aiocogeo/config.py
100.00% <100.00%> (ø)

aiocogeo/filesystems.py
83.17% <100.00%> (+0.48%)
:arrow_up:

aiocogeo/tag.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

authors: codecov-io geospatial-jeff

repo: geospatial-jeff/aiocogeo


text:
代码动态修改边框颜色，夜间模式不起效果

【警告：请务必按照 issue 模板填写，不要抱有侥幸心理，一旦发现 issue 没有按照模板认真填写，一律直接关闭】
问题描述

框架版本【必填】：8.5

问题描述【必填】：代码动态修改边框颜色，夜间模式不起效果

复现步骤【必填】：

when (AppApplication.context.resources.configuration.uiMode.and(Configuration.UI_MODE_NIGHT_MASK)) {
            Configuration.UI_MODE_NIGHT_YES -> {
                AppConfig.DarkTheme = true
            }

            Configuration.UI_MODE_NIGHT_NO -> {
                AppConfig.DarkTheme = false
            }

            Configuration.UI_MODE_NIGHT_UNDEFINED -> {
                AppConfig.DarkTheme = false
            }
        }

//动态修改边框默认颜色及按下时颜色
            shapeDrawableBuilder.apply {
                strokeColor = randomColor()
                strokePressedColor = if (AppConfig.DarkTheme) {
                    R.color.white
                } else {
                    R.color.black
                }
                intoBackground()
            }

或者设置的颜色在res\value-night\colors.xml中配置过，切换手机夜间主题/暗色模式，也不会自动使用夜间模式的颜色

是否必现【必填】：是

出现问题的手机信息【必填】：一加七Pro

出现问题的安卓版本【必填】：11

问题信息的来源渠道【必填】：自己遇到的

请回答

是部分机型还是所有机型都会出现【必答】：当前手机

框架最新的版本是否存在这个问题【必答】：是

是否已经查阅框架文档还未能解决的【必答】：是

issue 是否有人曾提过类似的问题【必答】：否

是否可以通过 Demo 来复现该问题【必答】：是

使用原生的 shape.xml 来实现是否也会出现该问题【必答】：否

其他

提供报错堆栈（如果有报错的话必填，注意不要拿被混淆过的代码堆栈上来）

提供截图或视频（根据需要提供，此项不强制）

提供解决方案（如果已经解决了的话，此项不强制）

小伙子，劳烦提供一个可供复现的 Demo 工程，我要对问题进行复现。

我在你项目上改的，但是压缩后太大了，就两个文件，你复制到你这个项目上试试吧😂我直接在代码里修改边框颜色都没反应了
Downloads.zip

Android Studio上显示边框，手机上都不显示了😂

边框和填充色都不显示了😂

authors: SaltedFish-Extreme getActivity

repo: getActivity/ShapeView


text:
CI: Go installed in different ways

The CI files install golang in many different ways.
All here:
https://github.com/getcouragenow/packages/tree/master/.github/workflows
Also the env variables also. They are exported again and again in each step.
This is going to give us weird issues later.
E.G: build-sign-deploy-desktop.yml, plus the others.
WRONG
env:
      GOROOT: /usr/local/go
      GO111MODULE: auto
    steps:
      - name: Install Go
        run: |
          sudo apt-get update
          wget -q https://dl.google.com/go/go1.13.linux-amd64.tar.gz -O /tmp/go_install.tar.gz
          sudo tar -C /usr/local -xzf /tmp/go_install.tar.gz
          export GOPATH=$HOME/go
          export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
          go version

CORRECT:

    env:
      GO111MODULE: auto
    steps:
      - name: Set up Go
        uses: actions/setup-go@v1
        with:
          go-version: 1.14.1

```

Also comment out the Signing Or just turn off those actions. DONT delete them !
This is so that the artifacts are released to github releases and we know that the changes done are working.

Hi,
I fixed it.
Can you give me push access?

fixed.

repo: getcouragenow/packages


text:
Images with filenames starting with an accented characters not rendered

I’ve got an image starting with an accented characters “électricité.png”
Markdown when inserting image is (%C3%A9lectricit%C3%A9.png)
Result grav html is <img src="…/lectricité.png" so no image display because of missing first filename character …
I’m using last version of Grav with all components updated.
Please fix this bug…

The unicode is normal:

When I drag the image into the editor it outputs: ![](e%CC%81lectricite%CC%81.png) as the Markdown tag.. This does render correctly though:

My result is very different, here is what I get:

the filename is getting jumbled.  Can you attach a zip of that page (include .md file and all images) so I an try to recreate?
Also what browser are you using?

Here is zip of md+images
page.zip

As a browser I'm using Chrome in French language

Sorry for dropping in, but I once faced a similar issue (in a different context), and I think it might all boils down to you two using different Unicode conventions.
In Unicode some "characters" can be represented in two different forms: a combined form, where an "e with acute accent" is represented by a single code point, or a decomposed form, where the "same" character is represented by a combination of two (or more) code points, in this case an "e" character followed by an acute accent.
Normally characters are "normalized" by the OS to one of the possible forms: Windows (and I think all *nix OS) uses what Unicode calls "Normalization Form C", where characters are translated to their decomposed form and finally to their composed form (single code point) form, while Mac OS (and only it, AFAIK...) uses "Normalization Form D", where characters are always decomposed (and thus represented by a sequence of code points).
In my case I had a link pointing to an image (a similar situation, although I wasn't using Grav at the time), but the link was written on Windows and thus it was in its NFC form, while the image file came from a Mac and its name (at the file system level) was in NFD form, the result being no image being displayed.
From what I see I have the feeling that @rhukster is using a Mac and @enderlen is using Windows or some form of Linux...
Here I think there is something more to check, as it seems markdown is "eating" the first composite character.
For more (and much better!) information see:
https://en.wikipedia.org/wiki/Precomposed_character
https://en.wikipedia.org/wiki/Unicode_equivalence#Normalization
http://unicode.org/faq/char_combmark.html
https://unicode.org/reports/tr15/#Canon_Compat_Equivalence
Cheers!

Yes I'm on Windows

the filename is getting jumbled. Can you attach a zip of that page (include .md file and all images) so I an try to recreate?
Also what browser are you using?

any news? did you succeed to reproduce?

@rhukster have you tried to replicate this under the original conditions (i.e. under Windows, not Mac)?

No I’m afraid I’m on Mac.

Thanks @rhukster
This (you confirming using a Mac) reinforce my impression that Grav isn't playing well with Unicode Normalization form C...
Please notice how in @enderlen example the "compound" è Unicode character seems to be stripped giving img src="…/lectricité.png" as the result, while on your Mac the result is correct.
My rough idea is that somewhere a regex might trim the string stripping Unicode Form C characters from it, but where that could happen is definitely "above my pay grade"! :flushed:

Hello,
I just stumbled upon this, which I think might be relevant: The Normalizer class

Ran into a similar issue with simple text links.
The following link:
[Ἀταλάντη καὶ Ἱππομένης.pdf](%E1%BC%88%CF%84%CE%B1%CE%BB%E1%BD%B1%CE%BD%CF%84%CE%B7%20%CE%BA%CE%B1%E1%BD%B6%20%E1%BC%B9%CF%80%CF%80%CE%BF%CE%BC%E1%BD%B3%CE%BD%CE%B7%CF%82.pdf)

is rendered as the following:
Ἀταλάντη καὶ Ἱππομένης.pdf

There's some additional unnecessary escaping that breaks the link.

authors: enderlen rhukster smz tg-x

repo: getgrav/grav


text:
Rename this project to Kyos

Given the implications of pending effects being plural, @kitlangton and I think it's only fitting that we rename the project.
Otherwise we plan to commit mutiny.

To give @fwbrasil more work... I'd prefer to have all effects singular... like IO, Fiber, Console and so on... :)

For background on the current design: the initial versions of Kyo where focused on providing effects for existing monads like Future/Futures, Try/Tries, etc. Using plurals was a good way to avoid having to have effects named as FutureEffect, TryEffect, etc.
The design changed over time and the parity with monads is not as common. For example, even Fibers use a FiberGets effect under the hood. Given that, I think we could move away from plurals for effects.

fixed by https://github.com/getkyo/kyo/pull/572

authors: carlosedp fwbrasil hearnadam

repo: getkyo/kyo


text:
[3.3.0] 4.21 crashes with trigger mouse move

`LoginId:c5f839384123094ad2edcf9997f27f76
EpicAccountId:413eebd000db4d61a5aa7cb057e473f0

Access violation - code c0000005 (first/second chance not available)

libcef
UE4Editor_Blu
UE4Editor_Blu
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4861]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:816]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2330]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1031]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:940]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1031]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4861]
UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1480]
UE4Editor_Engine!AActor::ProcessEvent() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:713]
UE4Editor_Engine!UPlayerInput::ProcessInputStack() [d:\build\++ue4\sync\engine\source\runtime\engine\private\userinterface\playerinput.cpp:1311]
UE4Editor_Engine!APlayerController::ProcessPlayerInput() [d:\build\++ue4\sync\engine\source\runtime\engine\private\playercontroller.cpp:2476]
UE4Editor_Engine!APlayerController::TickPlayerInput() [d:\build\++ue4\sync\engine\source\runtime\engine\private\playercontroller.cpp:4404]
UE4Editor_Engine!APlayerController::PlayerTick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\playercontroller.cpp:2137]
UE4Editor_Engine!APlayerController::TickActor() [d:\build\++ue4\sync\engine\source\runtime\engine\private\playercontroller.cpp:4543]
UE4Editor_Engine!FActorTickFunction::ExecuteTick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:137]
UE4Editor_Engine!TGraphTask<FTickFunctionTask>::ExecuteTask() [d:\build\++ue4\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:679]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:575]
UE4Editor_Core!FTaskGraphImplementation::WaitUntilTasksComplete() [d:\build\++ue4\sync\engine\source\runtime\core\private\async\taskgraph.cpp:1444]
UE4Editor_Engine!FTickTaskSequencer::ReleaseTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:556]
UE4Editor_Engine!FTickTaskManager::RunTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:1474]
UE4Editor_Engine!UWorld::RunTickGroup() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:783]
UE4Editor_Engine!UWorld::Tick() [d:\build\++ue4\sync\engine\source\runtime\engine\private\leveltick.cpp:1460]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1726]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3699]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll`

Here's the error report, this does not happen in the version 4.20

May need blueprint graphs that trigger this or a minimal repro project

First i'd like to thank you, i'm trying to make a integration of the google maps api, to show in a tutorial, to help people understand not just this pluggin which just for it would really helpful because there are no video tutorials for it, but to make a android gps integration for any project.
Here is a video showing the problems happening:
https://youtu.be/INxLcLQ2nng
Here are the two projects that you can see in the video that i am having problems with:
https://mega.nz/#!sFcF3SIb!FgJTGGswBdvRH1BpYwsezmS7XDJKGUsOlIhmpHPYhyI

Is it possible to fix those problems?

Thanks for the detailed repro! Had a quick test and I unfortunately couldn't reproduce it on my end (scrolling doesn't do anything but it doesn't crash either). Atm I don't have more time to look into this and I'd recommend checking out the built-in engine widget instead https://docs.unrealengine.com/en-us/Engine/UMG/UserGuide/WidgetTypeReference/WebBrowser as it may provide what you need.

Thanks for the detailed repro! Had a quick test and I unfortunately couldn't reproduce it on my end (scrolling doesn't do anything but it doesn't crash either). Atm I don't have more time to look into this and I'd recommend checking out the built-in engine widget instead https://docs.unrealengine.com/en-us/Engine/UMG/UserGuide/WidgetTypeReference/WebBrowser as it may provide what you need.

With the browser on the engine you can not load local html files or even package with those. So that not a solution from what i need. But thanks anyway.

I remember scrolling working way back when I was using BLUI for a jam
Example gif of scrolling
which used something like this for scrolling input

and

for moving the cursor in the html widget. These look similar to what you're doing. I wonder if the BluEye object gets released from underneath you for some reason?

Mouse input does not work and POS is available

Closing due to age

authors: Invius getnamo o0pk2008

repo: getnamo/BLUI-Unreal


text:
Add plugin to send webmentions after deployment

This adds a plugin to detect external links in posts/pages and perform WebMention (the modern form of pingback) endpoint discovery on them in order to send a WebMention notification.

@bentasker Can you fix the code style violations? (Running black on your code should be enough to resolve those complaints.)

Sure, done

Thanks for your contribution!

Thanks!

authors: Kwpolska bentasker

repo: getnikola/plugins


text:
167 plugin volume not about to be mounted into agent action job on aks

What does this change
Added ability to specify storage class name for volumes created by the Agent Config controller so that a proper storage class can be selected that supports the required capabilities
What issue does it fix
Closes #167
Notes for the reviewer
Tested this in both KinD and AKS. Should extend the integration tests for the operator to test in all supported clouds
Checklist

[ ] Did you write tests?
[ ] Did you write documentation?
[ ] Did you make any API changes? Update the corresponding API documentation.

Just read the access mode descriptions and readwriteonce won't work since it can't be held by multiple nodes. Going to test out readwritemany

@sgettys I know we spoke more after you opened this PR about changing which storage class we are using. Is this PR ready to review or do you want me to wait for the full solution?

@sgettys I know we spoke more after you opened this PR about changing which storage class we are using. Is this PR ready to review or do you want me to wait for the full solution?

It will be ready today, just need to roll back access modes to what was there previously and add some documentation around storage classes

@carolynvs this is ready for review

@sgettys -  I am facing the same issue when I am trying to install a package on AKS, getting the volume mount error. I have installed 0.8.2 version of Porter Operator in my AKS cluster.
I am a first time user of porter. Could you please tell me what do i need to change in AgentConfig? I tried adding  storageClassName: managed to default agentconfig but no luck. If you can tell me the right steps, it will be very helpful.

@sgettys - I am facing the same issue when I am trying to install a package on AKS, getting the volume mount error. I have installed 0.8.2 version of Porter Operator in my AKS cluster. I am a first time user of porter. Could you please tell me what do i need to change in AgentConfig? I tried adding storageClassName: managed to default agentconfig but no luck. If you can tell me the right steps, it will be very helpful.

Did you follow the directions here? https://github.com/getporter/operator/blob/main/docs/content/administrators/configure-porter-agent.md
For AKS the storageClassName should be azureblob-nfs-premium not default. You can also list all of the built in storage classes in your cluster with kubectl get storageclass and make sure the azureblob-nfs-premium is listed. Here’s some docs about AKS and storage classes
https://learn.microsoft.com/en-us/azure/aks/concepts-storage

Thank you for the quick response @sgettys. I did not look at the article.
I went ahead and edited the default agentconfig itself. But i am still getting the same error. Do i need to create a custom one? If yes how i do i refer the same in my installation?
Normal   Scheduled               14m                   default-scheduler        Successfully assigned unifieddeployment/azuredep-15-trdxh-rsvkf-2dwp2 to aks-agentpool-28266374-vmss000001
Normal   SuccessfulAttachVolume  14m                   attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-54b60455-3a8b-4794-b421-3e449e26a3b1"
Warning  FailedMount             6m9s (x2 over 8m24s)  kubelet                  Unable to attach or mount volumes: unmounted volumes=[porter-plugins], unattached volumes=[kube-api-access-q95w9 porter-shared porter-config porter-workdir porter-plugins]: timed out waiting for the condition
Warning  FailedMount             3m51s (x2 over 12m)   kubelet                  Unable to attach or mount volumes: unmounted volumes=[porter-plugins], unattached volumes=[porter-config porter-workdir porter-plugins kube-api-access-q95w9 porter-shared]: timed out waiting for the condition
Warning  FailedMount             97s (x2 over 10m)     kubelet                  Unable to attach or mount volumes: unmounted volumes=[porter-plugins], unattached volumes=[porter-shared porter-config porter-workdir porter-plugins kube-api-access-q95w9]: timed out waiting for the condition
Warning  FailedAttachVolume      86s (x14 over 13m)    attachdetach-controller  AttachVolume.Attach failed for volume "pvc-4a56288b-f82c-4b70-a5d6-1d036d51820f" : rpc error: code = InvalidArgument desc = Volume capability not supported

authors: carolynvs hemantkathuria sgettys

repo: getporter/operator


text:
ref: Remove deprecated strategy

We kept produce and commit temporarily for backwards compatibility when initially rolling out CommitOffsets as a distinct strategy. It's no longer needed.

wanna kill transformstep as well?

done

repo: getsentry/arroyo


text:
Rename android.Raven to android.AndroidRaven, use raven.Raven to stor…

…e instance and for all static access.
I hate the android.AndroidRaven naming, but I don't think we should collide on names so that imports aren't annoying.

Man, I'm tempted to move all static methods (and the storage of the static instance itself) to their own class but I can't think of a name. That way it can just be like,
import com.getsentry.raven.android.Raven
import com.getsentry.raven.StaticRaven

Raven.init("DSN")

StaticRaven.capture(e);
StaticRaven.record(b);

And then com.getsentry.raven.Raven stays the "real (single) Raven instance" class. I don't know...

Moved to #378 (because of the big renaming on master).

repo: getsentry/raven-java


text:
ANR on NativeModuleListLoader.nativeLoadModuleList

Description
It seems NativeModuleListLoader.nativeLoadModuleList may cause an ANR in some cases.
Maybe not, but worth investigate it.
Appeared on the SDK console

I think I saw this issue in production, or a very similar one. I try to find the issue on Monday. It's a long weekend over here, so I might forget. If you believe having an issue might help you feel free to ping me in case I forget.

@ueman do you still have the issue on hand?

Flutter uses Android SDK directly.
Android caches debug images as well, so there shouldn't be any problem.
In this case the loading of debug images blocked the first time it was accessed, so nothing was cached.
In any case, the culprit is the NDK debug image loading, and probably it's just a coincidence.
I'm moving this issue to sentry-native

authors: buenaflor stefanosiano ueman

repo: getsentry/sentry-dart


text:
Profiling not working

How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.45.0
Steps to Reproduce

initialize sentry globally, enable profiling
Add this block to a function. Note that self.execute_model is implemented in a subclass

4. wait for profiling to show up on sentry.io
Expected Result
Full profile for self.execute_model
Actual Result

Adding a child span in self.execute_model seems to work, but I'm not sure this is intended

Hi @ShuaiShao93, I need some more information to understand your issue.
From the screenshots you provided, it looks like profiling is working as it is supposed to. Can you please explain exactly what is wrong?
If possible, assuming you are using SaaS (sentry.io), could you please also share a link to the profile in Sentry?

@szokeasaurusrex I can see more details after adding a nested span, like

But from the documentation of profiling, I didn't see anything about span.

@szokeasaurusrex I can see more details after adding a nested span, like
But from the documentation of profiling, I didn't see anything about span.

@ShuaiShao93 If I understand correctly, your problem is that the profile is missing some stack frames when you don't start a nested span. Is that right?
If that is correct, I also have a few more questions:

Can you please provide the code you ran to make this profile? I would like to see how you added the nested span
Can you please provide a link to this profile, and also a link to the profile from your initial comment?

@ShuaiShao93 I think the reason you see a difference between the two profiles is because the more detailed one has a duration of just over 1 second, while the less detailed profile has a duration of only approximately 14 milliseconds. The difference in detail between the two profiles can most likely be explained by the Python profiler's design.
Specifically, the Python profiler is a sampling profiler, which means that instead of capturing the start and end of every function call, we simply sample the call stack at regular intervals. Our sampling rate is approximately 100 samples/second, so the Python profiler is only accurate to approximately 10 milliseconds. Any function calls that are shorter than 10 milliseconds, and which occur between taking two samples, would not show up in the profile. Since the less detailed profile lasts only 14 milliseconds, we only would expect to have at most two samples, so the level of detail we see in the profile is expected.

The one thing that confuses me, however, is that the profile from the original screenshot seems to have taken longer than 1 second. The 10 millisecond profiler accuracy does not explain this result, so we likely still have a problem here. Could you please share a link to a longer profile where you are missing detail?

Thanks for the explanation! @szokeasaurusrex
Originally I thought it was because of the span, now after checking more profiles, I believe it was because the function call was too short, so whether it could catch the trace is actually random. Next time we will only profile longer functions.

repo: getsentry/sentry-python


text:
Add ability to send to arbitrary rooms with rules

Pros
Merging this will result in the creation of a new EventAction, to send a slack notification to a particular room:

Upon selecting it the user will get a form with 2 fields

From the above example, here is a notification in #infra-team after sending a test message with raven test:

It will send to a channel if it's prefixed with # or a user if prefixed with @, though there's not really a ton of flexibility in the rules forms right now to indicate that, so a possible improvement is to create 2 rules, one which validates and noramalizes to a username and another for channels.
Cons
The rules API isn't really published or solidified, so this is way out there. Once this plugin is installed and activated in any project the rule will show in every project.

This could probably close #7 for most users

I imagined rules coming into play for this stuff but I'm going to give it a bit of thought on the API.
May reverse my stance on not passing project into get_rules which would remove the bad behavior here.

Oh, i didn't actually implement this by using get_rules, I mutated the rules registry at import time (which is explicitly not how things should happen), i'll get a fix to do it according to the v2 plugin up sometime this week, hopefully.

Whats the status of this?  Is there documentation on how to send messages to rooms via the current 0.3.0 version? or is this feature still needed?

Would love to have something like this, we want different channels for different errors

Same here, this would be great for our team.

@dmclain mind rebasing this?

I sat down last night to rebase this work, and I realized that the rules API hasn't changed with regards to per-project application, so this approach will still result in projects without slack integration displaying the Send a notification to a Slack {room} labeled {label} action to projects not using slack. This is probably acceptable for self hosted, but is likely an issue for getsentry.
Said differently, this is still blocked from upstream by getsentry/sentry#1628

We are aiming to really push forward some Notifications agenda over the next few months, so hopefully this will get resolved in that time window as well. Our goal is to basically support multiple instances of an integration via something akin to the rules system.

authors: SEJeff allaire dcramer dmclain mjdavies rocktavious

repo: getsentry/sentry-slack