Please support Chinese handwritten fonts

Currently it is mechanical Chinese and hand-drawn wireframe, which looks very discordant
Please support Chinese handwritten fonts
https://github.com/lxgw/kose-font
This font is free and fully supported, hope it can be considered

Thank you very much!

The author has more free fonts:
https://lxgw.github.io/2021/01/15/Lxgw-Opensource-Chinese-Fonts/
Specific ideas come from this blog:
https://www.ixiqin.com/2022/04/03/for-excalidraw-add-chinese-handwriting/

@mining-id hi, you can try my fork version: https://excalidraw-zh.com/

嗨，你可以试试我的分叉版本：https://excalidraw-zh.com/

请问你这个仓库打包docker怎么报错呢

嗨，你可以试试我的分叉版本：https://excalidraw-zh.com/

请问你这个仓库打包docker怎么报错呢

哈喽，打包脚本是怎样的？可以贴出来我来看看哈

We are looking into extending fonts, part of which would be support for CJK fonts. But there are many things to figure out, so will take some time.

We will be releasing support for the whole CJK soon-ish! (https://github.com/excalidraw/excalidraw/pull/8530)
Feel free to give us early feedback, preview is available here:
https://excalidraw-git-mrazator-first-class-support-chinese-excalidraw.vercel.app/
Closing as duplicate of https://github.com/excalidraw/excalidraw/issues/8408


deadloop in reconnect_loop

https://github.com/wooga/eredis/blob/6845ed50e13f456ecd115bcf9de666a58a1529dc/src/eredis_client.erl#L402-L418
This loop function should return when Client is dead, otherwise running at risk of leaking.

nvm, did not notice the caller has been changed from spawn to spawn_link


migrate to JTCOP 1.1.1

since text blocks are supported, we should migrate to JTCOP 1.1.1 version that work with it

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

@h1alexbel this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-08-21T14:59:11.465112.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Add more validators

Today we just have a few option of validators, would be good to have more.
You can take a look to the existing ones to check how to create a new validator.
Don't forget to add tests!
Some ideas of Validators:

[ ] PercentageValidator
[ ] EmailValidator
[ ] DateValidator

Feel free to contribute with other validators than these.

What kind of validation would be required?

I'll try adding a validator with its tests

Hey @Reisclef, I'll add some ideas of validator in the issue description.

Hey, I added a DateValidator. Hope it's what you need


about the MAP calculation

hi,
when reading your paper, I am confused with the MAP(Mean Average Precision) result.  Which equations are used for this calculation? is it supposed to between 0 and 1?
thank you for your kindly reply.

Yes, the value for the MAP is between 0 and 1. The stats in the paper is in its percentage, and it basically is the average of precisions from different lists. You could see the link below for the specific details. https://github.com/CrickWu/GCMC/blob/bf8486bea6679e3e287cad344c9f4ae515c41dfb/src/utils/eval.py#L147

thx,  got it!


typo: Creats -> Creates

Docs Build status updates of commit 33e76ca:
:clock10: Full build: the average full build time is 22 min(s) 29 sec(s), this is based on the last 151 build(s) for this repository.

Docs Build status updates of commit 33e76ca:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azps-1.8.0/Az.Compute/Az.Compute.md
:white_check_mark:Succeeded
View (azps-1.8.0)

azps-1.8.0/Az.Compute/New-AzImage.md
:white_check_mark:Succeeded
View (azps-1.8.0)

azps-2.4.0/Az.Compute/Az.Compute.md
:white_check_mark:Succeeded
View (azps-2.4.0)

azps-2.4.0/Az.Compute/New-AzImage.md
:white_check_mark:Succeeded
View (azps-2.4.0)

azurermps-2.5.0/AzureRm.Compute/AzureRM.Compute.md
:white_check_mark:Succeeded
View (azurermps-2.5.0)

azurermps-2.5.0/AzureRm.Compute/New-AzureRmImage.md
:white_check_mark:Succeeded
View (azurermps-2.5.0)

azurermps-4.4.1/AzureRM.Compute/AzureRM.Compute.md
:white_check_mark:Succeeded
View (azurermps-4.4.1)

azurermps-4.4.1/AzureRM.Compute/New-AzureRmImage.md
:white_check_mark:Succeeded
View (azurermps-4.4.1)

azurermps-5.7.0/AzureRM.Compute/AzureRM.Compute.md
:white_check_mark:Succeeded
View (azurermps-5.7.0)

azurermps-6.13.0/AzureRM.Compute/AzureRM.Compute.md
:white_check_mark:Succeeded
View (azurermps-6.13.0)

azurermps-6.13.0/AzureRM.Compute/New-AzureRmImage.md
:white_check_mark:Succeeded
View (azurermps-6.13.0)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@nschonni You will need to submit any changes to the az-2.4.0 documentation to the engineering repo as well, so that it is not overwritten in a newer release: https://github.com/azure/azure-powershell


[Feature] Deprecate controlBar on Cloudinary Video Player types

Feature Request
Is your feature request related to a problem? Please describe.
ControlBarProps should be deprecated for use per the Video Player team and instead use top available options such as the top level prop pictureInPictureToggle

done


Use vega from bower

bower ECONFLICT     Unable to find suitable version for lodash    in travis

I believe this is because we haven't pushed the latest vl ui.
On Wed, Jul 1, 2015, 05:05 Kanit Wongsuphasawat<EMAIL_ADDRESS>wrote:

bower ECONFLICT Unable to find suitable version for lodash in travis
—
Reply to this email directly or view it on GitHub
https://github.com/uwdata/polestar/pull/304#issuecomment-117635313.

Jep, that was the issue. Travis is passing now.

Also fixes issues similar to https://github.com/uwdata/voyager/issues/163


Feature/management plus character in topic

Add unsubrscibe method in order to unsubscribe from a specific topic.
Add management for plus character in topic string.

nice

Please Add a new tag in order to download the updated code with "bower install angular-mqtt".
Thanks in advance.

done

If you want you can merge the new feature in master branch.

sorry, I do not know

Try this:
git fetch --tags origin
git checkout master
git merge 1.0.2

C:\data\www\angular-MQTT>git fetch --tags origin

C:\data\www\angular-MQTT>git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.

C:\data\www\angular-MQTT>git merge 1.0.2
Already up-to-date.

C:\data\www\angular-MQTT>git branch
* master

C:\data\www\angular-MQTT>git push --tags
Everything up-to-date

C:\data\www\angular-MQTT>

repository only master branch

https://github.com/shellus/angular-MQTT/invitations

Perfect! Now in master branch there are all lastest updates.
Thanks.


Add Hayward,CA

Subject: Hayward Resident for Defunding the Hayward PD
Emails:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Template:
To Mayor Halliday, the Hayward City Council, Hayward City Manager, and HaywardPolice Chief:
My name is [YOUR NAME], and I am a resident of Hayward. I am writing to demand that the City Council adopts a People’s Budget that prioritizes community wellbeing and redirects funding away from the police.
This past week, our nation has been gripped by protests calling for a rapid and meaningful reconsideration of the role of policing in communities as well as an end to racism and anti-Blackness in America. The Bay Area has been at the forefront of much of this action. Accordingly, it has come to my attention that the budget for 2021 is being decided as these protests continue.
Hayward PD has been a waste of our resources. Last year, the Hayward PD budget was $78,648,436, almost all of which comes from the Fremont general fund. Hayward’s projected 2020-21 budget appears to be heading in an extraordinarily similar direction.
While we've been spending astonishing amounts of money on policing, we have not seen improvements to safety, homelessness,  education, mental health, or affordability in our city. Instead, I see the wasteful and harmful actions of our police.
I join the calls of those across the country to defund the police. I demand a budget that adequately and effectively meets the needs of at-risk Hayward residents during this trying and uncertain time, when livelihoods are on the line. I call on you to slash the Hayward PD budget and instead meaningfully reallocate funds towards social programs and resources that support housing, jobs, education, health care, child care, and other critical community needs. We demand a budget that supports community wellbeing, rather than empowers the police forces that tear them apart.
As the City Council, the budget proposal is in your hands. It is your duty to represent your constituents. I am urging you to completely revise the budget for the 2020-2021 fiscal year.
We can be a beacon for other cities to follow if only we have the courage to change.
Sincerely,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

Hey @ceug ! There’s an existing Hayward email proposed in issue #410. Can you comment there and include anything you’d like to add?

Hello!
I’ve added a few contacts that the message should also be directed to. When will Hayward,CA be added to the list of template links?

On Jun 7, 2020, at 11:09 AM, Sarah<EMAIL_ADDRESS>wrote:

Hey @ceug ! There’s an existing Hayward email proposed in issue #410. Can you comment there and include anything you’d like to add?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


fix(Swap): error message and clean-up state after swap

Interbtc UI Pull Request Template
Description
When swapping max balance, there was a "Insufficient Balance" showing while the transaction was still being submitted (introduced to the block).
New behaviour
Shows Swap and loading indicator. After successful submission, form is cleaned up.
Reproducible testing steps:
Swap with max balance and observer button text
NOTICE: wait on NumberInput revamp to run a test

Sorry, I should have left a comment. I thought making it a draft would be enough, but this PR is covered in the formik integration to swap @tomjeatt


Accept other contributors

While I use Gogs, the project looks stalled and not making any progress. In fact, it seems on the verge of dying. There are many people who would like to contribute to Gogs, but they are left out simply because @Unknwon doesn't want to accept their contributions.
Would you please change your mind, and allow more people to contribute? I really don't understand what you are gaining by excluding other people from the project.

I never said I don't accept contributions. People who claim so just want control the project, not contribute to the project.


Deprecate ImageToTensor in favor of vision transform

This PR has been incorporated into my fork, which will be eventually merged upstream.
Closing this.


Issue with loading the datasets in readthedocs

https://scikit-cosmo.readthedocs.io/en/latest/read-only-examples/PlotGFRE.html#
See attachment for current errors
Global Feature Reconstruction Error (GFRE) and Distortion (GFRD) — scikit-COSMO 0.1.0 documentation.pdf

I am not sure where this comes from, the npz files are included in the installation, checked with
python setup.py bdist_egg | grep npz

Output
copying build/lib/skcosmo/datasets/data/degenerate_CH4_manifold.npz -> build/bdist.linux-x86_64/egg/skcosmo/datasets/data
copying build/lib/skcosmo/datasets/data/csd-1000r.npz -> build/bdist.linux-x86_64/egg/skcosmo/datasets/data

The test should also fail if this weren't true.
When I built the doc locally it also works (I made a new environment to test it).
I am not sure how the github page process exactly works, and where to look. Do you have any idea?

I am not sure how the github page process exactly works, and where to look.

The doc is not build on github pages but readthedocs.org. If you give me your username there I can give you access to their build log.

I think the error in the doc is because the necessary .npz files are in a packed python .egg archive so they cannot be accessed in as for a directory, I could change the type of installation using e.g. pip so no egg archive is used.
How can I change the building commands of readthedocs? (the ones in https://readthedocs.org/projects/scikit-cosmo/builds/13459127/)
I read about a .readthedocs.yaml in https://docs.readthedocs.io/en/stable/config-file/v2.html but couldn't find it so I guess we are using the default yml file?
One would need to add in the yml file method and pip https://docs.readthedocs.io/en/stable/config-file/v2.html#packages
Something like
version: 2

python:
  version: 3.7
  install:
    - method: pip
      path: .

But I am really not sure about this, one could make a branch and activate it in the readthedocs to play around with this yml file, but I have not the rights to push directly branches to the skcosmo.

Addressed by #96


Rendering : New Terminal Rendering Engine

[ ] https://github.com/xtermjs/xterm.js
[ ] Need to remove Hterm license : https://webssh.net/licenses/LICENSE_HTERM/

Other native solutions :

https://github.com/migueldeicaza/SwiftTerm
https://github.com/pakLebah/ANSITerminal

[ ] cursorStyle : terminal.setOption('cursorStyle', 'underline');

[ ] block / bar / underline


fix masses style

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

修正文档上因为开启空格压缩后带来的样式问题
修正部分组件类名命名的不规范的问题


Core Modifications to support Fetch + Op Atomics

The changes in this PR are mainly to the instruction decoder to identify the fetch + op atomics as valid instructions and not trap.
These were tested with the OpenPiton setup and all RISC-V amo-p tests pass.

Looks fine to me for the purpose of piton integration.  I think the dcache has reached the point where we need a separate decoder module, and possibly pipeline structs to reduce duplication and verbosity.
Possibly it also makes sense to reuse op_w from the decoder rather than expand to 6 bit fu_ops.  The dcache packet could then become addr + op + size.  Would reduce cache decoder size and some flops.  Just thinking out loud, though

Yeah, we could re-use the ops and refactor the dcache_pkt to have all the information we need. Since, we are going to refactor the caches a whole bunch for the late writeback feature that we are going to add in later, we could put in a new D$ decoder and the pipeline structs. Certainly would enhance management and readability of signals.


refactor(ng:6.0): support angular 6.0

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: close #1395
What is the new behavior?
Does this PR introduce a breaking change?
[x] Yes
[ ] No

Other information

blocked by https://github.com/angular/devkit/pull/866 now.

Hi! I was wondering, do you have any idea when this could land to master? A lot of folks will be happy about this :) and thanks a lot for the work you are doing here!

Hi @arnaudschlupp will be merge into master in this month, thanks for your attention


Us28 generate school room report

Coverage increased (+0.03%) to 99.198% when pulling 29fb844f08385d52635047effc8e535cbd0b0767 on us28_generate_school_room_report into cca3ef565a745690caa7d372305dc284c228cb6e on development.

Coverage increased (+0.03%) to 99.198% when pulling c4444c1bb237ab8d3fe02d14d1beca69e85df28c on us28_generate_school_room_report into cca3ef565a745690caa7d372305dc284c228cb6e on development.


Added new helper method.

Added compound method to validate both format and checksum at once

 Simplify pno validation in puggle gem

Abandoned.


rcm: rework the structure of the compose requests

See the commits for more details.

That was not a well formed sentence, sorry. We don't want a list of architectures and a separate list of image types. That would presumably mean that we want to build images for every combination, but we want to explicitly state which pairs to use.


Allow to overwrite map

It would be nice if we could save a map instead of always give it a new name.

I second that.

If I allow just editing map, without a new map name, then you can't go back to legacy if something is not like you want. Also the tasks have to be removed.  Do you think it still better as the current solution?

May be as an option? Keep the save dialog as it is + checkbox - delete all tasks and save under same name.

Or something like a version history of maps and tasks are associated with a version of the map?

I was also looking to do this. At the moment it seems like if you use the same name as a previous map it isn't obvious what is happening. I think what happens is it doesn't overwrite it and you don't have any feedback that I could easily see that overwriting it didn't work.
I'm still trying to tweak the perimeters of my map so I'm up to a "Front and Back v8" at this point. There are times I do want to keep a new version, so being able to choose would be nice.


[BUG REPORT] Failed to listen on network address

Checking installs and venv + autodebug checks
Python version:  3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Webui version: bcbba0774e0d9d701714bc3546046b922c331b84 - Sat Dec 16 14:16:53 2023 +0100
Found extensions:
activating venv
Checking installs and venv + autodebug checks
Python version:  3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Webui version: bcbba0774e0d9d701714bc3546046b922c331b84 - Sat Dec 16 14:16:53 2023 +0100
Found extensions:
Done installing/checking installs.
Activating extensions
Preparing
2024-01-09 16:33:59 | INFO | fairseq.tasks.text_to_speech | Please install tensorboardX: pip install tensorboardX
2024-01-09 16:33:59 | WARNING | xformers | A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
2024-01-09 16:33:59 | WARNING | xformers | Triton is not available, some optimizations will not be enabled.
This is just a warning: triton is not available
[W ..\torch\csrc\distributed\c10d\socket.cpp:426] [c10d] The server socket has failed to bind to [Halzou]:51545 (system error: 10013 - An attempt was made to access a socket in a way forbidden by its access permissions.).
[W ..\torch\csrc\distributed\c10d\socket.cpp:426] [c10d] The server socket has failed to bind to Halzou:51545 (system error: 10013 - An attempt was made to access a socket in a way forbidden by its access permissions.).
[E ..\torch\csrc\distributed\c10d\socket.cpp:462] [c10d] The server socket has failed to listen on any local network address.
Traceback (most recent call last):
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\main.py", line 45, in
autodebug.catcher(e)
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\autodebug\autodebug.py", line 79, in catcher
raise e
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\main.py", line 27, in
from webui.modules.implementations.tts_monkeypatching import patch as patch1
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\modules\implementations_init_.py", line 1, in
import webui.modules.implementations.ttsmodels as tts
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\modules\implementations\ttsmodels.py", line 15, in
from webui.modules.implementations.patches.bark_custom_voices import wav_to_semantics, generate_fine_from_wav,
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\modules\implementations\patches\bark_custom_voices.py", line 8, in
from webui.modules.implementations.patches.bark_generation import generate_text_semantic_new, generate_coarse_new, generate_fine_new
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\modules\implementations\patches\bark_generation.py", line 7, in
from webui.ui.tabs import settings
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\ui\tabs_init_.py", line 7, in
from .training_tab import training_tab
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\ui\tabs\training_tab.py", line 2, in
from webui.ui.tabs.training.rvc import train_rvc
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\ui\tabs\training\rvc.py", line 2, in
import webui.ui.tabs.training.training.rvc_workspace as rvc_ws
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\webui\ui\tabs\training\training\rvc_workspace.py", line 43, in
dist.init_process_group(
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\venv\lib\site-packages\torch\distributed\distributed_c10d.py", line 900, in init_process_group
store, rank, world_size = next(rendezvous_iterator)
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\venv\lib\site-packages\torch\distributed\rendezvous.py", line 245, in _env_rendezvous_handler
store = _create_c10d_store(master_addr, master_port, rank, world_size, timeout)
File "C:\Users\c4rs0\Downloads\audio-webui\audio-webui\venv\lib\site-packages\torch\distributed\rendezvous.py", line 176, in _create_c10d_store
return TCPStore(
RuntimeError: The server socket has failed to listen on any local network address. The server socket has failed to bind to [Halzou]:51545 (system error: 10013 - An attempt was made to access a socket in a way forbidden by its access permissions.). The server socket has failed to bind to Halzou:51545 (system error: 10013 - An attempt was made to access a socket in a way forbidden by its access permissions.).

Try rebooting and running again.

I got the same issue, I tried reinstalling too. It worked before but I don't know what broke it.


#33 tests glob filter

#33 tests glob filter

@yegor256 please have a look at suggested changes

@AlexPotyomkin please, take a look

@AlexPotyomkin reminder


Date is converted to INT and not STRING

Can I configure somehow the handling of datetime.date? Here is my use case:
I have a field in my pydantic model called start_date:
import datetime
from aifora.da.schema.customer.models._base import BaseModel
class MyModel(BaseModel):
   start_date: datetime.date

When I let pydantic generate a JSON-Schema (MyModel.schema_json), this field is represented as string:
    "start_date": {
      "title": "Start Date",
      "type": "string",
      "format": "date"
    },

However, when I apply py-avro-schema to this field is represented as INT:
    {
      "name": "start_date",
      "type": {
        "type": "int",
        "logicalType": "date"
      },
    },

Is there any setting that dates in py-avro-schema are converted to strings?

That is as per Avro specification. See https://avro.apache.org/docs/1.10.2/spec.html#Date
JSON does not have native support for dates. It just happens to be a convention to serialize dates as ISO strings.


Revert dispose images when done

This broke CanvasKit for web.
I have to fix that in dart:ui. The HTML backend doesn't care about dispose, but CanvasKit does, and I'm not doing it right at all for that.
Reverts "docs for image disposal (#67066)"
Reverts "Dispose of images after using them (#66688)"
@hixie @goderbauer @yjbanov
I don't know why this didn't break CI.

We currently lack a test running in CanvasKit mode and exercising images. It would have been the new gallery test but that's being removed unfortunately, so we'll need to write new one.


Feature request: CLI: Unset 'collectCoverageFrom' to default

🚀 Feature Proposal
Continuing from #2831, I would like to have the ability to unset collectCoverageFrom so that it works like it is undefined
Motivation
In package.json, we have collectCoverageFrom set so that we generate coverage against files that are not touched by tests. However, when running a subset of tests locally, I would like the default behavior of only seeing coverage by affected files.
Currently, I must comment out the respective lines in package.json to leverage this behavior.
I've tried the following flags:
--collectCoverageFrom
--collectCoverageFrom 'undefined'
--collectCoverageFrom '[]'

Example
Perhaps an empty argument of --collectCoverageFrom would use undefined behavior?

Looks like this line here filters out undefined: https://github.com/facebook/jest/blob/master/packages/jest-config/src/setFromArgv.ts#L18
One option would be to allow undefined for whitelisted keys?

Would a PR along the lines of this be acceptable?
  const argvToOptions = Object.keys(argv)
    .filter(
      key =>
        (argv[key] !== undefined || undefinedWhitelist.includes(key)) &&
        specialArgs.indexOf(key) === -1,
    )
    .reduce((options: Record<string, unknown>, key) => {```

bah, I suppose that would break it for anyone who doesn't explicitly provide --coverageFrom option, then..

Unstale

we should support overriding if empty string is provided. wanna send a PR?

I was trying to get the same behavior today (i.e. reset collectCoverageFrom to the default empty state).  I believe this does in fact work today without any changes by using:
 npx jest --collectCoverageFrom='[]' --coverageThreshold='{}'
Although coverageThreshold was not in the original request, that might be a common enough requirement to reset in this same situation that its worth noting.
The main difference between this syntax and what @quicksnap tried originally is the placement of the = after the flag.  Without the = this does not work.
Run without any flags

Run with flags

In both runs it collects coverage for both tested and untestedUsed because tested imports from untestedUsed.  In only the first run does it add untestedUnused to the coverage report and also triggers a coverage failure.  In the second run with the flags set it will not add the modules which weren't in the test's code path (i.e. untestedUnused) and also isn't triggering a coverage failure.


remove admin to urls.py

run the commands
python manage.py check --deploy

System check identified some issues:

WARNINGS:
?: (urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace

System check identified 1 issue (0 silenced).

then to fix that, in urls.py replace that :
             # ****************************************
             # admin module
             # ****************************************
             url(r'^admin/', include(admin.site.urls)),

by that :
             # ****************************************
             # admin module
             # ****************************************
             # url(r'^admin/', include(admin.site.urls)),

@foxmask Can I take this up?

if you want to participate to the hacktoberfest, register and wait for october 1rst, then you could take it :)

@foxmask No doubt, I will participate in hacktoberfest but as I was going through your repository and I found easy to fix the issue while getting the idea of the codebase. For the hacktoberfest , I will solve other issues too. The idea is of contribution & participation is secondary :)

i've just opened this issue for hacktoberfest :)
cant you wait for sunday ?

Yes sure :)

Sorry @RishabhJain2018 and @foxmask   for the commit, I did not want to steal the fix, I just did not see the assignment of the issue.
Good game at all 😇

@RishabhJain2018 are you still on that issue ?

@foxmask is it still open? I think @Owanesh has solved it.

no because I told him you worked on it.

ohh..okay. I will fix this in few hours. :)


[HOW-TO] Remote shutter release

Please only ask one question per issue!
Describe what it is that you want to accomplish
A clear and concise description of what you want to happen.
Im using raspberry camera boards at the moment to make night time images of the sky, im aware that the HQ and arducam low light cameras are well suited for this, however, I would like to make it work on the other (cheaper) boards as well. From my understanding the main problem with the other camera boards is the internal clock being not capable of storing longer times, for example I have a waveshare RPi Camera B (SKU: 8193) that is limited at somewhere between 1-2 seconds exposure. So I would like to know if it is possible to do something equivalent to bulb mode on DSLR cameras, where one times the exposure not on the camera board but from the raspberry pi.
** alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
I could add images together, but with the Rpi Camera B for example 1 second is not sufficient to go past the noise levels at night so it is not really possible. I can always buy other cameras more suited to night time photography. But also with those this feature would be very useful for me.
Additional context
Add any other context or screenshots about the request here.

Hi, thanks for the question. I'm afraid I don't know of any support for such a feature in any of our cameras. I'm guessing there'd have to be support in the sensor and in the driver as a minimum. If you're using a 3rd party camera you'd have to reach out to them for an answer, of course.
I didn't quite understand the point about not wanting to add images. Adding ten 1 second exposures should give you very similar noise levels to a single 10 second exposure, for example. There is some example code for adding such images here.

Shame that it isnt a thing, thanks for verifying.
I mean that with the 1 second exposure the signal observed isnt strong enough to form any sort of image.
Its essentially like a dark frame, just thermal noise.

Ah thats alright, thank you for the help though. I will post in this thread in case I find a solution. As there isnt much info online about this

I was informed of two methods to increase the exposure time
One using V4L2
First edit dtoveray and change
dtoverlay=arducam-pivariety
to
dtoverlay=arducam-pivariety,media-controller=0
Then reboot
Open two terminals, enter into the first:
time v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat='RG10' --stream-mmap --stream-count=-1 --set-ctrl vertical_blanking=1046415,exposure=1046415 --stream-count=2 --stream-to=imx462_frames.bin
and into the second
i2ctransfer -f -y 10 w6@0x0c 0x05 0x02 0x30 0x1c 0x00 0xff
i2ctransfer -f -y 10 w6@0x0c 0x05 0x02 0x30 0x1d 0x00 0xff
The content of the second must be entered within 15 seconds of the first command
They provide  the explanation
The "v4l2-ctl" command captures two frames of raw data. The exposure time for the first frame is 15.5 seconds, while the exposure time for the second frame is 462 seconds. Both frames of raw data are stored in the "imx462_frames.bin" file. You need to write code to parse this data.
And a second method utilizing libcamera
This time the dtoverlay is dtoverlay=arducam-pivariety
Again we need two terminals, in the first we enter
export LIBCAMERA_SET_TIMEOUT=4294967295
libcamera-still -t 5000 -o imx462_long_exp.jpg --immediate --shutter 15500000
and in the second
i2ctransfer -f -y 10 w6@0x0c 0x05 0x02 0x30 0x1c 0x00 0xff
i2ctransfer -f -y 10 w6@0x0c 0x05 0x02 0x30 0x1d 0x00 0xff
This must be entered within 5 seconds of the first command
They provide the explanation:
Due to libcamera discarding several frames before taking a photo, the shooting time becomes exceptionally long (the test took one hour)
I tried controlling exposure time with the second method but so far unsuccesful,
If anyone figures out how to control it I would ask you add this here for people looking in the future
If I get anywhere I will also post this here


Use refreshMillis to set the interval in TimeAgo

Previously it had been set to the props.time value.

Thanks!


Transpile code to ES5 before publishing

As ES6 isn't supported natively, transpilation to ES5 is needed before publishing.

Done by #40 .
Problems: When installing from the git repo instead of the npm server (as done while it is not published yet), dependencies to babel and browserify are needed for transpilation - dirty fix: check in transpiled code into the repository.
Needs to be discussed in the next meeting.

In last weeks meeting, it was proposed to check in the transpiled sources if there is no cleaner way. I found another discussion related to the prepublish script and git dependencies: npm/npm#3055 basically, people want npm install git://... to behave as if that repo was cloned and then cd ... && npm install-ed, so devDependencies are downloaded, prepublish is executed and the sources are transpiled. One participant provied the following as a workaround: https://github.com/lzrski/npm-git-install This can be used by our "clients" to add ContextJS on GitHub as a dependency if they are not satisfied with the published version. So all we would have to do is refer to npm/npm#3055 and this npm-git-install thing in our Readme for the time being.


Add content script extension template

This provides a nice template to start playing around with a content script.
Tested Chrome MV3 / Firefox MV3 and it worked well in both.

Oh also, the template here is heavily inspired by "Simple example" from this MDN page: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage#simple_example


Get errors when using scroll event, i.e. addEventListener('scroll', ...)

Hi,
I use React and the following code:
scrollArea: HTMLElement;
tableBodyScrollHandler: EventListener;

this.scrollArea.addEventListener('scroll', this.tableBodyScrollHandler);

and I get errors:
 30:     this.scrollArea.addEventListener('scroll', this.tableBodyScrollHandler);
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `addEventListener`. Function cannot be called on any member of intersection type
 30:     this.scrollArea.addEventListener('scroll', this.tableBodyScrollHandler);
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ intersection
  Member 1:
  158:   addEventListener(type: MouseEventTypes, listener: MouseEventListener, optionsOrUseCapture?: EventListenerOptionsOrUseCapture): void;
....

As I see there is no 'scroll' event in the https://github.com/facebook/flow/blob/v0.52.0/lib/dom.js#L142
Help please how to avoid this?

I'm pretty sure the lack of "scroll" event isn't a problem, since there is another clause that allows any event name that's a string.
So for example, adding a pointless scroll event to an element works fine.
I notice that I get an error message a lot like the one you get if the type of the handler is wrong. Is the EventListener type in your code example the one built in to Flow, or one you defined yourself? Is it possible this.tableBodyScrollHandler isn't a valid EventListener by Flow's definition?
It would help to know something about the handler because it seems like that's where the types are failing to match. A small code example that fails would be really helpful.

@asolove Try, please, this:
let x: HTMLElement | null = document.getElementById("Doc");
let handler: EventListener = (e: Event & {target: HTMLElement}) => {
  const width = e.target.offsetWidth;
};

if(x) {
	x.addEventListener("scroll", handler)
}

What is the proper way to describe the 'handler'?
The only thing I found to fix this is to use 'any' type, but I don't think that it's a good practice to use Flow.js

Ah, ok, that explains it. By adding the extra type information about target: HTMLElement, you're making the function's type different than what Flow expects, and so it isn't matching any of the addEventListener cases.
To avoid this problem, you can just test inside your callback whether the target is an element or not:
let x: HTMLElement | null = document.getElementById("Doc");
let handler: EventListener = (e: Event) => {
  if(e.target instanceof HTMLElement) {
  	const width = e.target.offsetWidth;
  }
};

if(x) {
	x.addEventListener("scroll", handler)
}

Since this isn't a bug about flow itself, but just a usage question, I think we can take a note to add this e.target issue to the docs and then close this issue.

With eslint you may use window.HTMLElement instead of HTMLElement to avoid 'HTMLElement ' is not defined. warning.


Slim_Middleware_SessionCookie problem ?

it seem like it will create 2 cookie with 2 different path , one is the root path and another one is route path.
example my url is    domain.com/account/
it will create 2 cookie with path "/" and path "/account"
this causing error for decodeSecureCookie because the first param is expected to be a string, in stead of array.
[10-Jan-2012 13:24:15] PHP Fatal error:  Uncaught exception 'ErrorException' with message 'explode() expects parameter 2 to be string, array given' in /Users/knight/Dev/web/tuts/Slim/Http/Util.php:210
Stack trace:
#0 [internal function]: Slim::handleErrors(2, 'explode() expec...', '/Users/knight/D...', 210, Array)
#1 /Users/knight/Dev/web/tuts/Slim/Http/Util.php(210): explode('|', Array)
#2 /Users/knight/Dev/web/tuts/Slim/Middleware/SessionCookie.php(118): Slim_Http_Util::decodeSecureCookie(Array, 'CHANGE_ME', 0, 0)
#3 /Users/knight/Dev/web/tuts/Slim/Middleware/SessionCookie.php(101): Slim_Middleware_SessionCookie->loadSession(Array)
#4 /Users/knight/Dev/web/tuts/Slim/Slim.php(1148): Slim_Middleware_SessionCookie->call(Array)
#5 /Users/knight/Dev/web/tuts/tuts/index.php(43): Slim->run()
#6 {main}
thrown in /Users/knight/Dev/web/tuts/Slim/Http/Util.php on line 210

Thanks for the report! I'll have a look at this tonight.

Just pushed a fix. Tested this out both in a unit test and with a quick test app. Seems to work for me. Does this update work for you? Be sure you pull the latest down from the develop branch.

yup it work, thanks for the update.


fix: 4228 - max lines 2 and tooltip for edit image buttons

What

For the edit image buttons, we now use an AutoSizeText with max lines 2 and a tooltip (on long press).
That will prevent us from having abnormally tall buttons, while providing the full description of the button if needed.

Screenshot

long text with ellipsis
... and tooltip

Fixes bug(s)

Fixes: #4228

Codecov Report
Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (3a0a2ad) 9.65% compared to head (4d3785d) 9.64%.

Files
Patch %
Lines

...mooth_app/lib/pages/product/edit_image_button.dart
0.00%
18 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #4939      +/-   ##
==========================================
- Coverage     9.65%   9.64%   -0.01%
==========================================
  Files          323     323
  Lines        16207   16210       +3
==========================================
  Hits          1564    1564
- Misses       14643   14646       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thank you @M123-dev for your review and your comment!
I guess it's now a good compromise: the icon, the text with possible ellipsis, and the full text as tooltip.
I would even consider a bigger icon and the tooltip.
Let's see how users respond first.


PR #84167 seems to cause corruption in scene files with exported references to PackedScenes

Tested versions
Reproducible on custom build from main 4.3.0-dev https://github.com/godotengine/godot/commit/f8a2a9193662b2e8c1d04d65e647399dee94f31e.
Not reproducible if 2e94be2ea4d13d13febfc0daadcd20f48af2bef8 is reverted.
System information
Godot v4.3.dev (30b60b6f9) - macOS 13.6.1 - Vulkan (Mobile) - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
Running a scene A with an exported reference to a PackedScene B causes corruption in A's scene file. It seems to embed the B scene as a SubResource instead. In an actual project I've also seen it randomly regenerate ids in scene files.
This seems to only happen the first time the project is run after starting the editor.
Steps to reproduce

Build Godot with "scons platform=macos arch=arm64".
Start the editor.
Open the attached MRP.
Run the project.
Observe corrupted a.tscn file:

Minimal reproduction project (MRP)
PR84167bug_MRP_20231215_1406.zip

cc @SaracenOne @KoBeWi

I managed to reproduce it only once. Seems to be random, making it difficult to test.

I managed to reproduce it only once. Seems to be random, making it difficult to test.

Just to make sure, did you restart the editor for each test? It only ever happens on the first run for me, but has never failed to happen on a first run in 10+ tests.

Yes, I did restart the editor multiple times.

It does not occur consistently upon opening the project for me, either, however there is a series of steps that seems to cause it to reproduce consistently (on my machine):

Unzip the MRP, open it in Godot
Select the A root node of a.tscn
Click on its B property in the Inspector
Click on "Open Scene"
Switch back to the a.tscn tab
Save the scene
Observe corruption of a.tscn (also note that the "Open Scene" button becomes permanently grayed out)

It does not occur consistently upon opening the project for me, either, however there is a series of steps that seems to cause it to reproduce consistently (on my machine):

Good point. I realise now my particular configuration of open tabs is not preserved in the zip. Sorry, I didn't think about that.
The bug seems to only trigger when both a.tscn and b.tscn are open in tabs (with A in the first tab and active, if that matters too).
Only having the a.tscn tab open does not trigger the bug. It seems the act of opening/loading the b.tscn tab corrupts a.tscn's reference to b.tscn.
It's also repeatable in that you don't have to quit the editor:

Open a.tscn in a new tab
Open b.tscn in a new tab
Switch back to the a.tscn tab
Save the a.tscn tab
The a.tscn file is now corrupted
Close the b.tscn tab
Revert changes to a.tscn
Reload a.tscn when prompted in editor
Goto 2

The bug can occur under other circumstances, but I have not been able to identify them with any certainty. In my own project, I have a Resource-derived class that exports references to PackedScenes, and those .tres files run into the same kind of corruption with some regularity. My point being: It may not be as simple as "have both scenes open in tabs", because it can afflict non-scene resources as well. It probably happens when I have the .tres open in the Inspector and then open one of the referenced scenes, but I can't confirm that right now.

Fwiw, forcing
p_cache_mode = ResourceFormatLoader::CACHE_MODE_REUSE;
first thing in ResourceLoader::_load_start seems to prevent the bug from triggering.
As best I can tell it's the
https://github.com/godotengine/godot/blob/bf8dd73e9d88d6ab146506699f43230b12c6a2b0/core/io/resource_loader.cpp#L343
call that's breaking a.tscn during the loading of b.tscn.
Digging deeper, it seems to me like resetting the path_cache of the existing b.tscn resource (referenced in a.tscn) might be causing serious issues, but I don't really know the code base at all:
https://github.com/godotengine/godot/blob/bf8dd73e9d88d6ab146506699f43230b12c6a2b0/core/io/resource.cpp#L69-L77
This empty path_cache will then cause Resource::get_path to return an empty string and Resource::is_built_in to return true, both of which seem problematic?
What's supposed to happen to the existing resource when it's evicted from the ResourceCache? Should it somehow get consolidated with the new one or keep hanging around?
Simply commenting out the line resetting the existing->path_cache seems to stop the bug from triggering in my MRP but I'm not sure what consequences that has.

Ok so there is a problem with CACHE_MODE_REPLACE. It causes the file to get loaded from disk and take over a path. The problem with this is that if any other instance of this resource exists, it will be disconnected from the original. This behavior might be fine at runtime, but in editor it leads to bugs like this one.
When resource is reloaded, it should instead update the existing instances, not replace the cache as if they didn't exist. There is copy_from() method that can be used.

This issue could be a current show-stopper for many who are trying 4.3 at the moment. I managed to destroy a lot of PackedScenes. Good I'm using VCS, but sometimes the error happens without taking notice and can cause weird bugs:
For example intentionally removing a node from a scene that is being used as PackedScene somewhere else, but it will still spawn when playing that scene. (if it has been embedded already)

See https://github.com/godotengine/godot/issues/86918 for another MRP.

Fwiw, forcing p_cache_mode = ResourceFormatLoader::CACHE_MODE_REUSE; first thing in ResourceLoader::_load_start seems to prevent the bug from triggering.

It stops the bug, but something's not right under the hood. You get this error when you open the scene (the one that is being loaded elsewhere as a PackedScene) in the editor:
ERROR: Another resource is loaded from path 'res://sphere_scene.tscn' (possible cyclic resource inclusion).


dynamically linked v3.0.1

The new 3.0.1 release is dynamically linked (even though it's a quite fatter binary)
/gobuster/gobuster-linux-amd64 # ls -lh gobuster
-rwxr-xr-x    1 root     root        5.6M Jun 21 00:16 gobuster
/gobuster/gobuster-linux-amd64 # ldd gobuster
        /lib64/ld-linux-x86-64.so.2 (0x7fb50e8df000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fb50e8df000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fb50e8df000)

The old 2.0.1 was static
/gobuster/gobuster-linux-amd64/gobuster-linux-amd64 # ls -lh gobuster
-rwxr-xr-x    1 root     root        4.0M Sep 11  2018 gobuster
/gobuster/gobuster-linux-amd64/gobuster-linux-amd64 # ldd gobuster
ldd: gobuster: Not a valid dynamic program

Is there a reason for it or was it an overlapse?
As I'm using it inside an alpine docker (no libc), I just want to know if I should switch base image or just re-compile it if there's nothing new that'll fail for being static

if anyone bumps into the same in the meantime, I've re-compiled the linux binary here

@OJ that's strange. Looks that behaviour changed in newer go versions. Looks like we need to add some more ldflags:
http://blog.wrouesnel.com/articles/Totally static Go builds/

I simply used the existing Makefile in OSX and Go 1.12.
Usually I use those flags mentioned in the post but didnt specify them this time...


add blink camera adapter

Please fix logo: https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Flashy-GER/ioBroker.blink4home

And merge PR: https://github.com/Flashy-GER/ioBroker.blink4home/pull/5

Please fix logo: https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Flashy-GER/ioBroker.blink4home

And merge PR: Flashy-GER/ioBroker.blink4home#5

Bild / Icon aktualisiert und pullRq gemerged.

Important Review Comments:
https://github.com/Flashy-GER/ioBroker.blink4home/issues/9


Fix saveFile + closeHotspot at startup

Fix saveFile (writeAsync was being called with wrong arguments).
Ensure Hotspot is closed on startup (otherwise program breaks after an update without reboot).

SGTM


[WIP] Bumped Mesos to dcos-mesos-1.4.x-24d3886-metrics for CORE-1517

WIP

This will not apply cleanly because the structure of the mesos folder has changed. I suggest to close this PR and open a new one using the Mesos CI tooling.


add speaker to title of calendar events when exporting seminars

If there are more than one speakers add only the first speaker and add et al..
The title format of the event should be:
firstname lastname − title
With a long dash in the middle and no comma between first and last, same format as in the UI.
more details
TECH NOTES:
The format should be ```firstname lastname - title``` where the dash is a long dash. If there are several authors, it should be ```firstname lastname et. al. - title```

Create a util function which returns the formatted title to use in both https://github.com/inspirehep/inspirehep/blob/5929fb0ed76817a2099330150f7d180c0dc3569f/ui/src/seminars/components/ExportToCalendarAction/google.js#L19 and https://github.com/inspirehep/inspirehep/blob/5929fb0ed76817a2099330150f7d180c0dc3569f/ui/src/seminars/components/ExportToCalendarAction/ics.js#L36

Done by https://github.com/inspirehep/inspirehep/commit/95173723332de39ca4527008f002d9b4e247242e


fix reset button in example 02

This fix was suggested by Frank-Bemelman in the Issues and worked fine for me

Also added the fix from rtek1000 in example 2 that file can't be downloaded nor deleted.

sorry wrong branch


Feature request: Wiki/Docs/Tutorial

Is your feature request related to a problem? Please describe.
Despite the code base is really simple and easy to understand. This project is really needs a getting started or tutorials. It's hard to add new features or make configurations.
Describe the solution you'd like
Small wiki that contains theming, subscriptions and adding different OAUTH providers.

I don't see why we should have an additional set of documentation that covers the same topics as the original documentation. We should improve on the existing documentation.

I don't see why we should have an additional set of documentation that covers the same topics as the original documentation. We should instead improve on the existing documentation.

I was actually thinking of adding a page to Saaskit's original web page called docs, which would contain the boilerplate's features and information in short titles and descriptions.
You are right. We can improve the existing one. Feedback welcome.

Can you come up with a list of where you think documentation may be lacking? That'd give us something to action 🙂


updated github pages for better indexing

Co-authored-by: Farhan Reza<EMAIL_ADDRESS>

changes are good, thank you!


Page Sections Nav. Fix of TypeError: Cannot read property 'dynamicDataSourceManager' of undefined

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

Related issues?
no

What's in this Pull Request?
Fix of TypeError: Cannot read property 'dynamicDataSourceManager' of undefined at anchorElRef when redirecting from the page with nav.

However, I notice some odd behaviour. On a page where I added the page-section-navigation web parts, when I click on other links to other modern site pages in the same site collection, the other site pages have issues in loading. In the browser console, I see errors 'TypeError: Cannot read property 'dynamicDataSourceManager' of undefined at anchorElRef'. I added the Quick Links web part, or just created hyperlinks in a Text web part, to other site pages, the content of the site pages cannot be loaded. Only after refreshing the page the contents of the other page appears.
Could it be that clicking on these other hyperlinks triggering the React event and then trying to access the dynamicDataSourceManager properties.

source for issues description

Thx @AJIXuMuK, appreciated.


DEV - Enable pre-commit ci

This PR adds the configuration needed for https://pre-commit.ci/

[!NOTE]
I sent a request to add pre-commit CI, so someone with admin rights will need to approve this

Closes #1718

I sent a request to add pre-commit CI, so someone with admin rights will need to approve this

@12rambau and I are "outside collaborators", it needs to be a "member" of the pydata org

I just tried "authorizing" the pre-commit app on GitHub but I got this:

So maybe it needs to be one of this group?
https://github.com/orgs/pydata/people?query=role:owner

Could somebody in @pydata/core please enable pre-commit CI in this repository, and/or give the maintainers here the permissions needed to do so?
To do this, go to pre-commit.ci and then follow the same actions as the GIF below (where I'm doing these actions but run into authorization blocks)

Should be done.


[Projects screen] Create a label component

should get the following props:
name
tooltip (?)
handelOnClick

Hi @MichalPorag! I would like to the assignee for this issue


Possible errors occurring while iCloud/Google Drive backup and error handling

Description:
Identify possible errors occurring while iCloud/Google Drive backup and handle them with proper messages so that the users can troubleshoot them or know the cause of backup failure.
iCloud backup issues:
Reference links:
https://support.apple.com/en-in/HT203271
https://www.makeuseof.com/tag/common-icloud-problems/

Cannot connect to iCloud
iCloud authentication error
Unsupported device or Apple ID
Insufficient iCloud storage space
Verification failed
iCloud backup is disabled
An error occurred
Backup is corrupt or incompatible

Google Drive issues:

Google Drive sign in error code
Connection failure
Insufficient Google storage
Google Drive is not syncing
Google Drive app might be outdated
Corrupt app data

Below list is for Google Drive

Google Drive SignIn error codes
[(https://developers.google.com/android/reference/com/google/android/gms/common/api/CommonStatusCodes#SIGN_IN_REQUIRED)]

For  Insufficient Google storage etc please refer to this
[(https://developers.google.com/drive/api/v3/handle-errors)]

Google Drive is not syncing: its handle in code as if it's not syncing it will throw an error and it will ask again login id of Gmail

@cakesoft-shashank - can you look fat what error codes we get back for the above errors described. If we get the error codes back, we will design messages around them

@antuz123 @cakesoft-priyanka please find iCloud error codes here: https://developer.apple.com/documentation/cloudkit/ckerrorcode?language=objc

There will be "hexa error codes" which will be mapped to the error codes that can be thrown by iClould/google drive

  case '36': //An error that occurs when the user's iCloud account is temporarily unavailable.
    return 'iCloud account is temporarily unavailable, please try after sometime.'
  case '25': //An error that occurs when saving a record exceeds the user's storage quota.
    return 'Storage quota exceeded.'
  case '21': //An error that occurs when the change token expires.
    return 'Please check authentication with iCloud in settings and try again.'
  case '19': //An error that occurs when the server rejects the request because of a unique constraint violation.
    return 'Please try again after sometime.'
  case '18': //An error that occurs when the current app version is older than the oldest allowed version.
    return 'Please update your app and try again.'
  case '27': //An error that occurs when a request's size exceeds the limit.
    return 'Request limit exceeded, please try after sometime.'
  case '4': //An error that occurs when a network is available, but CloudKit is inaccessible.
    return 'Network error, please try again.'
  case '3': //An error that occurs when the network is unavailable.
    return 'Network error, please check your internet connection.'
  case '7': //An error that occurs when CloudKit rate-limits requests.
    return 'Request limit exceeded, please try after sometime.'
  case '9': //An error that occurs when the user is unauthenticated.
    return 'Unauthenticated, please check authentication with iCloud in settings and try again..'
  default:
    return 'Please try again after sometime.'

@ASN-BitHyve please refer to this. '//' marked lines are explanation of the error and 'return' lines are the short user centric message.

Google drive backup error codes

API_NOT_CONNECTED(17)
The client attempted to call a method from an API that failed to connect. Possible reasons include:
The API previously failed to connect with a resolvable error, but the user declined the resolution.
The device does not support GmsCore.
The specific API cannot connect on this device.

CANCELED(16)
The result was canceled either due to client disconnect or PendingResult

CONNECTION_SUSPENDED_DURING_CALL(20)
The connection was suspended while the call was in-flight.
It is possible this failure could be resolved by retrying.

DEVELOPER_ERROR(10)
The application is misconfigured. This error is not recoverable and will be treated as fatal. The developer should look at the logs after this to determine more actionable information.

ERROR(13)
The operation failed with no more detailed information.

INTERNAL_ERROR(8)
An internal error occurred. Retrying should resolve the problem.

INTERRUPTED(14)
A blocking call was interrupted while waiting and did not run to completion.

INVALID_ACCOUNT(5)
The client attempted to connect to the service with an invalid account name specified.

NETWORK_ERROR(7)
A network error occurred. Retrying should resolve the problem.

RECONNECTION_TIMED_OUT(22)
The connection timed-out while attempting to re-connect.
This failure indicates a connection to Google Play services was successfully established, however it was disconnected for some reason (for example, Google Play services crashed), and re-connecting took longer than expected.
Any API calls failed with this status would have been initiated after the connection was disconnected.

RECONNECTION_TIMED_OUT_DURING_UPDATE(21)
The connection timed-out while waiting for Google Play services to update.
This failure indicates a connection to Google Play services was successfully established, however it was disconnected because Google Play services was updated, and the update took far longer than expected.
Any API calls failed with this status would have been initiated after the disconnection for the update.

REMOTE_EXCEPTION(19)
This signifies that an API was able to connect to Google Play services and received an instance, but that when calling an individual method, a RemoteException was thrown.

SERVICE_DISABLED(3)
The installed version of Google Play services has been disabled on this device.

SERVICE_VERSION_UPDATE_REQUIRED(2)
The installed version of Google Play services is out of date.

SIGN_IN_REQUIRED(4)
The client attempted to connect to the service but the user is not signed in.

TIMEOUT(15)
Timed out while awaiting the result.

@ASN-BitHyve please check

Verified this issue on dev app v2.0.0(353) also as discussed with dev closing this issue.


Incompatible with Twig 3.x due to spaceless tag

Hi,
The spaceless tag is used in two twig templates:

src/Resources/views/index.xml.twig
src/Resources/views/show.xml.twig

This is deprecated in Twig 2.7 and removed in Twig 3.0, causing an error when generating the sitemap.
https://twig.symfony.com/doc/2.x/deprecated.html#tags
I ran into this issue with version sitemap-plugin v2.0.1

I see I changed that already in master: https://github.com/stefandoorn/sitemap-plugin/commit/fd679af6d79bb841a0e03cd09d7574be4cbb4729.
Not released yet, I'll have a look soon whether I can tag a new version to include this. Downside is that change doesn't allow people to use Twig <2.9 anymore, although I'm not sure that is a big issue..

Did some maintenance today, will look into a new release soon.

Included in https://github.com/stefandoorn/sitemap-plugin/releases/tag/v2.1.0!


refactor: group plugins in 'dm-core-plugins'

What does this pull request change?

Group all plugins into "dm-core-plugins"

Why is this pull request needed?

increase maintainability and "testability"

Issues related to this change
closes #91

see #95


bug: failure to return the correct physicalPath value

I found what appears to be a bug, that being a failure to return the correct physicalPath value
(e.g. the incorrect value of 'C:\Program Files (x86)\EAI_Core for BizTalk 1.0.0', vs. the correct value of 'C:\Program Files (x86)\EAI_Core for BizTalk 1.0.0*1.0*').  The Deploy function assumes that the value of  in the btdfproj file should determine the location of the directory for a web application's content.   is first used for constructing the MSI, enabling it to locate the web application content relative to the BTDF solution/project.  It does not follow that the  value would correlate to the location where web application content is installed by the MSI.
I observed that when my application was installing to the folder 'C:\Program Files (x86)\EAI_Core for BizTalk 1.0.0*1.0*', the web application being deployed in IIS pointed to the wrong folder, 'C:\Program Files (x86)\EAI_Core for BizTalk 1.0.0'.  The problem was caused by the btdfproj file's  element having a value of '....\EAICore_Proxy', and the fact that when the MSI is installed the current directory of MSBuild execution is the Deployment directory, 'C:\Program Files (x86)\EAI_Core for BizTalk 1.0.0\1.0\Deployment'.  The  element value of '....\EAICore_Proxy' is resolved to an absolute path, and then used as the directory for the web application.  In my test case, the result was a path that was one level too far up the path tree.
The submitted remediation for bug this breaks the assumption that  determines the location of the directory of the web application.  Instead, the directory containing the web application is searched for.  However, in an effort to not break MSI installation progress, the remediation approach will default to using the value of physical path if the name of the web application folder cannot be found.  Additionally, a warning is logged.  The user may manually correct the web application folder location in IIS.
fix: Added a function, FindWebApplicationPath, that finds the correct physicalPath (e.g. 'C:\Program Files (x86)\EAI_Core for BizTalk 1.0.0*1.0*\EAICore_Proxy')
given a starting point (e.g. 'C:\Program Files (x86)\EAI_Core for BizTalk 1.0.0\1.0\Deployment')
and the physicalPath value from the btdfproj file (e.g. '....\EAICore_Proxy').

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


Fix: restrict scope of sqlmesh statement parsers

Related Slack thread: https://tobiko-data.slack.com/archives/C044BRE5W4S/p1708432374934119

@georgesittas I think this is still failing on your branch:
In [1]: from sqlmesh.core import dialect as d

In [2]: d.parse_one("metric", dialect="bigquery")
----------------------------------------------------

Yeah the reasoning was that we wouldn't ever encounter a standalone metric (or other statement-starting keyword) in a model file, but it's still an issue apparently because we rely on parse_one internally to e.g. parse meta fields. I'm currently looking to refactor.


feat(urls): add clientId parameter to getGatewayUrlForCid

Problem solved
resolveScheme did not consider clientId at all
Changes made

[ ] resolveScheme now considers clientId if present in options and if the gateways are tokenized to contain it ({clientId})

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

/release-pr

/release-pr

/release-pr


2310 msi

+ @pkarw

This looks good! Will test it tomorrow. In the mean time please do one more change - please make sure that vue-storefront-api is setting the ...STOCK_ID envy variable in the mage2vs command: https://github.com/DivanteLtd/vue-storefront-api/blob/4c7f7b7368ff08a77d41f08ab5593b4f5ec8229e/scripts/mage2vs.js#L90
... and here with the default stock id:
https://github.com/DivanteLtd/vue-storefront-api/blob/4c7f7b7368ff08a77d41f08ab5593b4f5ec8229e/scripts/mage2vs.js#L42

@pkarw Ready https://github.com/DivanteLtd/vue-storefront-api/pull/227/files


Dump id in addition to other attributes

I just heard about this gem, and even though I've been using it for less than ten minutes, it looks really useful.
However, I can't quite figure out how to dump the (hidden) "id" attribute that Rails adds to models. I suppose that isn't a problem for most people, since Rails enables "auto-increment" on the ids by default, but for me it's very important to have the exact same id when importing/exporting the database from seeds.rb.
Is such a thing possible with your gem?

Hey, thanks for using Seed Dump!
You can omit id from the exclude option to dump out the id attribute. By default exclude contains [:id, :created_at, :updated_at], but it's easy to override. For example:
# If we want to dump :id, but still filter out :created_at and :updated_at
rake db:seed:dump EXCLUDE=created_at,updated_at


{object} need to replace with Id or other text.

I have generated a doc using this package. And it is working fine. But Whoever is reading the doc is confused by {Object} text. As the resource route of accounts is showing APIs like GET api/accounts/{account}. Here reader having doubt to replace the account id in place of {account}. Is there any way to customize this.
Thanks in Advance.

This is not an issue about this package, it's about the way you add metadata to your code's docblock.
You may use docblocks like :
/**
 * Show Account
 *
 * @urlParam account required
 */
public function show(Account $account)
{
    // ...
}

just before corresponding controller method or even your validation form request. laravel-apidoc-generator would detect that param and add that name to generated documents.
It would even be better add some description or example too.
/**
 * Show Account
 *
 * @urlParam account required Some description here. Example:brnrajoriya
 */
public function show(Account $account)
{
    // ...
}

then you would have something like this:


kafka: mismatch in service and statefulset pod

after the merge of https://github.com/kudobuilder/kudo/pull/603/files kudo isn't adding the label instance but kudo.dev/instance
this breaks the integration with operators using the service label instance

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: zmalik
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: kensipe, zmalik
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

/lgtm


SGA-2024 algorithmic plans

Starter ticket for the SGA-2024.
Working outline:

Part 1:

Train & validate a neural net to recognize what large galaxies "look" like, using the SGA-2020 images, blob masks, etc.

Bonus: include labels pertaining to morphology, color, environmental density (e.g., mergers, galaxy clusters).

Of possible interest / relevance:

https://arxiv.org/pdf/2012.13083.pdf and
https://georgestein-galaxy-search-streamlit-app-o7accj.streamlit.app/

Part 2:

Build early coadds from custom / arbitrary central "brick" positions.
Run legacypipe source detection & segmentation with a variety of kernels optimized to find large galaxies, including low surface-brightness systems.
Use the trained neural net to test all the candidate source positions.
Rinse and repeat.

Part 3:

Use source injection to test the completeness and purity of the algorithm as a function of various "classes" (color, morphology) of large galaxies.

Part 4:

Generate ellipse modeling / surface-brightness profiles using GALEX + grz + unWISE imaging.

Here's a nice test case of a "known" SGA-2020 galaxy (PGC1054942) adjacent to an object which was missed:
https://www.legacysurvey.org/viewer-dev/?ra=15.8299&dec=-4.6714&layer=ls-dr9&zoom=15&bricks&sga
https://www.legacysurvey.org/viewer/jpeg-cutout?ra=15.8232&dec=-4.6630&width=600&height=600&layer=ls-dr9
salloc -N 1 -C cpu -A desi -t 01:00:00 --qos interactive --image=legacysurvey/legacypipe:DR10.1.2

SHIFTER=docker:legacysurvey/legacypipe:DR10.1.2
shifterimg pull $SHIFTER
shifter --image $SHIFTER bash

export LEGACY_SURVEY_DIR=/global/cfs/cdirs/cosmo/work/legacysurvey/dr9
export SKY_TEMPLATE_DIR=/global/cfs/cdirs/cosmo/data/legacysurvey/dr9/calib/sky_pattern
export GAIA_CAT_DIR=/global/cfs/cdirs/desi/target/gaia_edr3/healpix
export GAIA_CAT_PREFIX=healpix
export GAIA_CAT_SCHEME=nested
export GAIA_CAT_VER=E
export UNWISE_COADDS_DIR=/global/cfs/cdirs/cosmo/data/unwise/neo7/unwise-coadds/fulldepth:/global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth
export TYCHO2_KD_DIR=/global/cfs/cdirs/cosmo/staging/tycho2
export PS1CAT_DIR=/global/cfs/cdirs/cosmo/work/ps1/cats/chunks-qz-star-v3
export DUST_DIR=/global/cfs/cdirs/cosmo/data/dust/v0_1
export GALEX_DIR=/global/cfs/cdirs/cosmo/data/galex/images

export LEGACYPIPE_CODE_DIR=/src/legacypipe
# or, optionally, add a local check-out to your path
# export LEGACYPIPE_CODE_DIR=/path/to/my/legacypipe
# export PYTHONPATH=$LEGACYPIPE_CODE_DIR/py:$PYTHONPATH

# these will need to be determined algorithmically
export RUN=south
export BRICK=015823m04663
export OUTDIR=$SCRATCH/SGA-2024/$BRICK

python $LEGACYPIPE_CODE_DIR/py/legacypipe/runbrick.py --radec 15.8232 -4.6630 \
  --width 600 --height 600 --pixscale 0.262 --bands g,r,z --run $RUN --threads 12 \
  --outdir $OUTDIR --pickle "$OUTDIR/runbrick-custom-$BRICK-%%(stage)s.pickle" \
  --no-unwise-coadds --stage srcs

Catalog Building Requests

Include HyperLEDA Sources: with object types of both G and g
Create common names with identifiers from the NASA/IPAC Extragalactic Database (NED), basically NED's main identifier. If NED lists two identifiers (eg. NED01, NED02...) then replace it with a letter from the alphabet (eg. A, B, C)
Enhance the diameters and surface by limiting the angular diameters to 0.1 and a lower surface brightness profile:
Include the rest of the unlisted galaxies in ellipse targeting. within the DESI Legacy Survey DR10 photometric catalogs.


Support ctrlCmd for setting terminal.integrated.altClickMovesCursor

The setting terminal.integrated.altClickMovesCursor allows you to move the cursor with Alt+LMB, but only if editor.multiCursorModifier is set to alt. If it's set to ctrlCmd, terminal.integrated.altClickMovesCursor will have no effect. Hopefully it's possible for this setting to support moving the cursor with whichever modifier key is configured by editor.multiCursorModifier.
Alternatively, maybe it could be independent of editor.multiCursorModifier, i.e. changed to a string/int pref
{
  "terminal.integrated.altClickMovesCursor": < "off" | 0 | "alt" | 1 | "ctrlCmd" | 2 >
}

Thanks 🙏

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Adding something like this just makes things more messy. The real solution is to implement proper mouse customization: https://github.com/microsoft/vscode/issues/3130


[Bug] [Python] Getting permission denied when runing python tasks

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Hi,
We are using dolphin 3.2.0 and python version is 3.10.4 when we run a python task it gives permission denied error.

What you expected to happen
Python task should be completed
How to reproduce
Get the same version and run sample python task.
Anything else
there is a discussion on it as well https://github.com/apache/dolphinscheduler/discussions/15085#discussioncomment-7954036
Version
dev
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

hi! did you solve it?

No, nothing works, still finding solution.

No, nothing works, still finding solution.

okay! thanks!

save problem.

save problem.

你好。你指的是？

save problem.

你好。你指的是？

以root用户和默认租户运行python节点时同样存在permission deny问题，无法调度python节点。

Duplicated with #15085

PYTHON_HOME is not set.


Badge not updating on GitHub even though it's up to date everywhere else

Hi folks!
I'm using the badge on my GitHub repo and it seems like it's not updating when the score changes after I refresh on the site. Everywhere else it's working fine it's just GitHub.
I copied the Markdown suggested by the website and the score changed multiple times for me since this is a new repo but the "grade" never got updated on GitHub even though it's changed now.
Are you setting the expected cache headers for GitHub when refreshing the score? or is it something else? Am I doing something wrong? :)
Thanks in advance!

I'm closing this one because it just got updated... could be that i wasn't patient enough or expected the cache invalidation to be shorter :)


Write automated tests that  run in a Function App in Azure

Core idea is:

It reuses a Function App in Azure (Consumption)
It runs on every build from CI server

We can start simple, and build up from there.

Resolved by #1256


Add User Model

class User {
  String name;
}

Take example from: activiity.dart and mood.dart

Sir, I would like to work on this, please assign me this issue

Sir, I would like to work on this, please assign me this issue


Add Profile: prudhvi_232

Profile Submission

Profile Category
Please select one or more categories for your profile:

[x] Badge 🎖
[ ] Minimalistic ✨
[ ] Dynamic 🔄
[x] Icons 🎯
[ ] Backgrounds 😎
[ ] GIFS 🖼
[ ] Game Mode 🚀
[x] Code 👨💻

Next Steps
Once you've filled out the information, please comment below:
@all-contributors please add @<username> for review

@all-contributors please add @ for review

@all-contributors please add @ for review

@all-contributors please add @ for review

Hi you need to use go full page extenstion and take a long screenshot to the issue. maybe you can do it again, i will help you with it.


StackedLayout navigation autohide customisation

Basic information

Tiller version: 1.11.0
Module: menu

Enhancement description
StackedLayout has autohide functionality when prop fixed is used. Currently, amount of pixels for navbar is hardcoded and cannot be controlled with the current API. Please add a token / prop for the customisation of that height.
Current behaviour
Navbar height is hardcoded as 64px.
Wanted behaviour
Navbar height is configurable.
Possible workarounds
none

Released in 1.12.0


Knobs for slotted content

This starting config is fantastic!
So far my only question is if it would be possible to have a knob or some kind of way of passing in HTML/JSX to a <slot /> in a component.  Do you know if storybook would allow this?

Hmmm, could you describe your use case with a little more detail so I can visualize it better. I'm willing to be the short answer is "yes" - but I need to see what you're trying to do so I'm not guessing. Thanks!

Sure.  Let's say I redefined the default <my-component> so that the render function looked like this:
   render() {
-    return
Hello, World! I'm {this.getText()}
;
+    return (
+

+        Hello, World! I'm <slot />, nice to meet you!
+

+    );
   }
 }

In the index.html I can do something like this and expect to see it in the shadow DOM, along with any styles I've given to slotted content.
<my-component>
  a component
</my-component>

However, the more I look at knobs, the more it seems like it would be cumbersome to have a knob for slot content.  Instead, maybe it would be easier to allow the story to export slotted content as part of the states array, and then make it a part of componentEl here.

Ah, I see what you mean. I will ponder this as I can see how that would be useful. Though one of my goals is to keep a minimal API.
There's another feature for this thing which I haven't documented yet, but your individual story files can export a function instead of the object I used in the example. If we detect a function, it will be called with the story context and reference to KNOBS so that it can render itself (see code here). It would look something like this:
/* my-component.story.js */
export default function(stories, knobs) {
  const mainEl = document.createElement('div'); // do this OUTSIDE the render function below

  stories.add('my-component', () => {
    mainEl.innerHTML = '';
    /**
    * Append things to the mainEl here. You can insert knob values
    * anywhere you want.
    */
    return mainEl;
  });
}

My plan with this is to eventually provide the function with all the utilities it needs to efficiently render a custom story without having to rewrite all the code I wrote to render a story. This would be similar to the idea of render props.


Conditional run analysis with builds

This may not be the right place to ask this and I apologies for this. But currently our build time was 20 seconds. After we install out build time is 2 minutes. Now this component produces amazing output and I would like to see the result. But I would like to only see on the build server and not for developer builds. Can you please tell me if this is possible? Or if we can have a configuration file? I can add/remove a config file during builds if required. I see mention of a "Rules" file but not sure how to use.

Also just to add to this. I am running a .net core project. The code analysis is working but I cant seem to be able to apply the rules file. I can apply to a non .net core project.

Regarding your first comment, you could programatically change the csproj file during build time to add the analyzer reference. It shouldn't be too hard, you can do it with powershell, which has amazing xml manipulation capabilities.
.NET Core support is improving. I just tried a project and the code fix worked. I tried it as a Nuget reference and as a vsix.


Create Calc.java

@nishitpanchal123 contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


Initial file ownership

(This was also reported in #7 but wanted to separate it out for clarity)
After modifying the drupal.make to get d8 and executing vagrant provision, I got the white screen of death. A bit of exploration showed that all files in /var/www/drupal were owned by the vagrant user. I changed ownership (sudo chown www-data -R *) and everything worked after that.

Is this been committed to master? I have some folder permission issues since all folders in the guest vm are owned by vagrant. But there is no drupal.yml file at all under provisioning/tasks.


Irregular rule for unitOfMeasure to unitsOfMeasure does not work

I tried adding
inflector.irregular('unitOfMeasure', 'unitsOfMeasure');

To my app and it doesn't work, it hits /api/unitOfMeasure, it should now be hitting /api/unitsOfMeasure
I created a unit test in /tests/unit/inflector-test.js that fails on both asserts in latest master:
test('unit of measure', function(assert) {
  inflector.irregular('unitOfMeasure', 'unitsOfMeasure');

  assert.equal(inflector.singularize('unitsOfMeasure'), 'unitOfMeasure', 'irregular singularization rule was applied');
  assert.equal(inflector.pluralize('unitOfMeasure'), 'unitsOfMeasure', 'irregular pluralization rule was applied');
});

I had a quick debug, it seems to find the irregular rule ok and populate substitution in the for loop, but then I think the return in that loop of return word.replace(rule, substitution); doesn't do the job as word is unitOfMeasure and rule is unitofmeasure, so there is no match due to the casing?

The above research stemmed from me trying to define plurals in DS.RESTAdapter.extend, and this working for all but unitOfMeasure: unitsOfMeasure. I'm guessing this feeds into ember inflector?

@fivetanley Any thoughts on whether this is a bug that would be affecting me defining this in Ember Data, or should I go back to Ember data and post this there?

We aim todo whatever the rails inflector does, if someone wants to check we can decide if this is a bug or not.

'unitOfMeasure'.pluralize # => "unitOfMeasures"
'unitsOfMeasure'.singularize # => "unitsOfMeasure"

@fsmanuel thats with an irregular rule defined?

@adam-knights rails c i have nothing defined. It's just what the rails inflector does.

@adam-knights have you seen https://github.com/emberjs/data/issues/3802

and here https://github.com/emberjs/data/pull/3888#issuecomment-164786076

@adam-knights what version of ember-data are you using. still seems to be a problem...

I'm stuck on 1.13.15 currently, happy to revisit/test this when we are able to move upto a newer release

which adapter?

RESTAdapter, so for plural of this example I would do:
export default DS.RESTAdapter.extend(DataAdapterMixin, {
  plurals: {
    unitOfMeasure: 'unitsOfMeasure'
  }
});

@adam-knights if the problem only occurs with the path you can patch pathForType
https://github.com/emberjs/data/blob/v1.13.15/packages/ember-data/lib/adapters/build-url-mixin.js#L319
But i guess the next will be the payload...

@stefanpenner any new on this one?
I'm still affected by this.
If confirmed as a bug I can help come up with the solution, seems pretty straightforward.

@escobera which version of ember, ember-data and ember-inflector are you using?

Here is a twiddle. In adapters/application.js the plural is defined but not picked up as it continues to try to hit the wrong API. https://ember-twiddle.com/7a1de453247619a45f3b39915ab3be90?fileTreeShown=false&numColumns=2&openFiles=routes.application.js%2C

I'm on it

@adam-knights and @escobera can you try the new version? I guess we have to inform the other addons about the fix.

@fsmanuel thanks - Ember data is ^1.9.4, so when I get a chance i'll clear out my node/bower folders to pull in 1.9.5 and see


Missing support for armv7 and arm64 on the Docker image

The Docker image published at ghcr.io/aureq/cert-manager-webhook-ovh  is missing support of armv7 and arm64 which prevents to run on light device such as RaspberryPi.
Worth to mention that the original @baarde's image had support for both these platform.

I'm have prepared a PR to address this in the Github action.

@acolombier Do you mind trying the latest alpha version on your RPi please?

Just gave it a go and works like a charm! Thanks for the quick merge.


Extend mocks for invalid network mappings

Split existing invalid network mapping into:

mapping with invalid target network (editable)
mapping with invalid source provider (edit is blocked)

@rszwajko , heads up:
I plan to move all mocks to a separate package that will also automate "recording" of API calls, and allow editing "special" conditions and statuses to create multiple scenarios out of small amount of recordings.


frontend: support cancel command

When Ctrl+C in psql, RisngWave currently won't terminate a command. It will simply stuck.

https://github.com/singularity-data/risingwave/pull/1603/files We do have supported canceling, perhaps the malfunctioning is due to some bugs.

Cancel a query is non-trivial.

Cancel a query is non-trivial.

I think we can start with two commands: create MV and flush. Ctrl+C on create mv will simply move the create mv to the background (we can implement real cancel in the future). Ctrl+C on flush will simply end the flush RPC, which should not have any effect.

Cancel a query is non-trivial.

I think we can start with two commands: create MV and flush. Ctrl+C on create mv will simply move the create mv to the background (we can implement real cancel in the future). Ctrl+C on flush will simply end the flush RPC, which should not have any effect.

This approach sounds like handling CANCEL as a nop? i.e. returns OK immediately

Yes, I think it would be okay to implement it as NOP for now.

+1 for NOP implementation

I encounter some issues related to this topic. If we don't support canceling MV creation, it is a potential threat to our system:

User can make mistake and create a MV that hurts the performance and stability of our system. For example, user may create a MV to join two other MVs with large data volume. This MV creation may take long and even never succeeds if new MV's throughput cannot keep up with its upstream MVs. #3899 can help to avoid starvation on MV creation but will cause the backpressure on upstreaming MVs, hurting their freshness and availability (we cannot do scaling) . It is very useful if user/admin can cancel an ongoing MV creation to fix this unexpected user behavior.
Also, if we don't cancel the MV creation, we cannot drop the upstream MV/Source/Tables this creating MV depends on.

I think we can support cancel batch query. cc @BowenXiao1999

https://github.com/singularity-data/risingwave/pull/1603 We do have supported canceling, perhaps the malfunctioning is due to some bugs.

The malfunction comes from some previous misunderstanding towards cancel. Cancel will open a new connection and send cancel request. Described in here.

I think we can support cancel batch query. cc @BowenXiao1999

Yes, I was investigating. Maybe impl as a shutdown channel pattern.


Parallelizing the build

Using the all command in sbt allows us to run certain tasks
in parallel.  Not everything can be done in parallel, so we have to use
judgement here.  Some things like dockerCompose cannot be done in parallel.
With the adjustments, local ;validate;verify went from 12 minutes to 9
minutes, a savings of 3 full minutes!
build.sbt
Most changes are here.
Allow parallelExecution by default.  The reason is that test suites will be run
in parallel.  The play framework by default turns this off.  Some of the changes
made in here around the InMemoryBatchChangeRepository were necessary when I
flipped this on.
We cannot run in parallel by default for IntegrationTest.  The reason is that
several of the api integration tests use the same zone repo, so they wind up
stomping on each other.
Added a killDocker task that is much faster to run than dockerComposeStop
Enabled parallelExecution in IntegrationTest in dynamodb.  The integration tests
do not conflict with each other here.
Changed the command aliases to use parallel all
InMemoryBatchCHangeRepository
This used to be a singleton, which prevents running unit tests in parallel.
Made this a class, and updated unit tests to use the class instead.
logback-test.xml
We were still logging in odd ways in places.  Removed this to turn logging off
by default for tests.
.jvmopts
Kept running out of metaspace.  Increased the memory needed to help slow that
down.

Timed this (with bash time) and got:
real	4m4.919s
user	14m46.894s
sys	0m47.839s

In comparison, master branch shows:
real	5m44.509s
user	16m4.061s
sys	0m52.005s


How to restore on a CPU a checkpoint saved on a GPU?

Hi,
I made checkpoints of my weights and some Jax arrays using the following snippet on a GPU instance (v100):
import orbax.checkpointer as ocp

checkpointer = ocp.PyTreeCheckpointer()
checkpointer.save(path, checkpoint)

Now I want to make plots of this data on my local machine using:
import orbax.checkpoint as ocp
checkpointer = ocp.StandardCheckpointHandler()

checkpoint = checkpointer.restore(path, item=None)

and I got the following error:
File [/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:162](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:162), in _deserialize_sharding_from_json_string(sharding_string)
    [157](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:157)   if device := _deserialize_sharding_from_json_string.device_map.get(
    [158](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:158)       device_str, None
    [159](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:159)   ):
    [160](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:160)     return SingleDeviceSharding(device)
--> [162](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:162)   raise ValueError(
    [163](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:163)       f'{ShardingTypes.SINGLE_DEVICE_SHARDING.value} with'
    [164](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:164)       f' Device={device_str} was not found in jax.local_devices().'
    [165](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:165)   )
    [167](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:167) else:
    [168](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:168)   raise NotImplementedError(
    [169](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:169)       'Sharding types other than `jax.sharding.NamedSharding` have not been '
    [170](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:170)       'implemented.'
    [171](https://file+.vscode-resource.vscode-cdn.net/opt/homebrew/Caskroom/miniforge/base/envs/pgm/lib/python3.9/site-packages/orbax/checkpoint/type_handlers.py:171)   )

ValueError: SingleDeviceSharding with Device=cuda:0 was not found in jax.local_devices().

My workaround for now is to replace in _sharding all the occurrences of cuda:0 with the output of str(jax.local_devices()[0]) but that might be tricky in more complex situations.
In PyTorch you can specify map_location in the torch.load function to address this kind of issue.
How would you handle this?
Thanks for your feedback.

You're restoring with a different jax.sharding.Sharding. For the item argument of restore, you need to pass a tree matching the checkpoint tree. The values of the tree should be array-like objects matching the properties of the checkpoint, but ensure that the .sharding property is set. Typically the tree values you specify should be jax.ShapeDtypeStruct or jax.Array. Also check out the metadata method to get properties about the checkpoint tree.


enhance executor logs with more resource support

Example output from the GROSS EKS GPU cluter:
INFO[2022-07-28T15:02:29Z] Requesting new jobs with free resource cpu: 10795m, memory 73833Mi, ephemeral-storage: 273375Mi, nvidia.com/gpu: 1. Received 0 new jobs.


Can you share the script for generating the prior distribution of the token？

Hello, you can use the following demo code to print the rough prior distribution of different domains (warning: you have to preprocess the dataset using a relatively small chunk so that the number of chunks can represent the tokens, and this code assumes that your domain prefix is separated using -):
import os

def get_prefix_tokens(folder_path):
    # read all files in the folder
    all_files = os.listdir(folder_path)
    # shuffle
    random.shuffle(all_files)
    # filter prefix with doremi
    all_files = [file_path for file_path in all_files if "train_" in file_path]
    prefix_dict = {}
    for file_path in all_files:
        # get the prefix
        prefix = file_path.split("-")[0].strip()
        if prefix in prefix_dict:
            prefix_dict[prefix] += 1
        else:
            prefix_dict[prefix] = 1
    # print the normalized weight
    total = sum(prefix_dict.values())
    for prefix in prefix_dict:
        print(prefix + ": ", prefix_dict[prefix]/total)


correct uppercase fuckups

I'd like to set a custom rule so that when I accidentally type
CD MNT/C
it suggests:
cd mnt/c
is that feasible?

something like this? (put in ~/.config/thefuck/rules)

Anyone have ideas how to make this work? I been messing with the baseline @romangraef  gave and also trying my own methodology and to no avail. I"m doing this for a capstone project and I'd really like to get this working. It's a super neat project and I want to contribute something to it.

How about sharing your methodology? 🙂
What if match would return True when there's any character in script that can be converted to lowercase?
I can suggest code if you'd like.

Hey  @RVALLER, I posted this snippet about 5 years ago, I'd imagine there have been changes in the way rules work. I haven't been using this tool for a while, (and neither have i been using my rule in that time), therefore i wouldn't know about how to fix it either. However i don't think matching on a single uppercase character is the best way to go about it. Looking at my past code, lowercasing everything probably wasn't too smart, the least one could do would be swapping the case (lower->upper AND upper -> lower) and a bit of a more smarter approach would maybe be analyzing the users keyboard layout / mappings (however that one seems like it would be platform dependent). Im sorry i cant be of help with this anymore.


Implement PyTorch deep learning base detector and utility functions.

All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully run tests with your changes locally?
[x] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[x] Have you created a .py in ~/pyod/models/?
[x] Have you created a test_.py in ~/pyod/test/?
[x] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

255 of 332 (76.81%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 93.238%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/test/test_base_dl.py
96
101
95.05%

pyod/models/base_dl.py
123
140
87.86%

pyod/utils/torch_utility.py
36
91
39.56%

Totals

Change from base Build<PHONE_NUMBER>:
-0.6%

Covered Lines:
9225

Relevant Lines:
9894

💛  - Coveralls


add networked camera sources

JSON has been modified, need to update interface to allow users to manipulate RTSP profiles.

duplicate of #9


Not working on Chrome 52

I get this in the console:
Behavior Polymer.IronResizableBehavior not found when mixing properties into paper-time-picker!
Behavior Polymer.IronResizableBehavior not found when mixing properties into paper-clock-selector!

I see the same thing using safari on the component demo page.

I'm unable to reproduce this issue. Can you try the latest version?

It works for me with the latest checked-out version but the demo linked from the Github project page doesn't work (http://bendavis78.github.io/paper-time-picker/).
I'm using "Chrome 51.0.2704.106 (64-bit)" on Fedora.

I have the same using Chrome 53.0.2785.101 on mac

The component page demo still doesn't work on a mac, just a blank area where the clock should render.  I have tried  Safari, Firefox and Chrome and all exhibit the blank clock.

For what it's worth, I found that a neon-animated-pages element is collapsed to 0 height.

I'm using Chrome 54.0.2840.59 (64-bit)

Also, Polymer.IronResizableBehavior is undefined in the console. ...could it be a missing import?

I've witnessed this on Chrome (Win), only in the demo pages. Using it in my project works fine.

This has a merged in fix, closing.  If it persists open a new issue and tag me please!