Setting placeholder fails

Setting placeholder=<filename> in coverart.conf does not set the placeholder, wheres setting it directly in coverart.lua works as expected.

Make sure that coverart.conf is in the correct folder. Also check if there are any errors in the log.

It seems to be in the correct folder.
In the log I see several references to coverart including [coverart] Opened config file script-opts/coverart.conf
Here is my file:
## This is the configuration file for mpv-coverart
## This file contains all of the default options for the script

#list of names of valid cover art, must be separated by semicolons with no spaces
#the script is not case specific
#any file with valid names and valid image extensions are loaded
#if set to blank then image files with any name will be loaded
names=

#valid image extensions, same syntax as the names option
#leaving it blank will load files of any type (with the matching filename)
#leaving both lists blank is not a good idea
imageExts=jpg;jpeg;png;bmp;gif

#by default it only loads coverart if it detects the file is an audio file
#an audio file is one where mpv reports the first stream as being audio or albumart
always_scan_coverart=no

#if false stops looking for coverart after finding a single valid file
#and doesn't look at all if the file already has internal coverart
load_extra_files=yes

#file path of a placeholder image to use if no cover art is found
#will only be used if force-window is enabled
#leaving it blank will be the same as disabling it
placeholder=/home/andrew/Documents/Videos/.mpv-logo.png

#searches for valid coverart in the filesystem
load_from_filesystem=yes

#search for valid coverart in the current playlist
#this may seem pointless, but it's useful for streaming from
#network file servers which mpv can't usually scan
#this entry causes the script to always search the playlist,
#for the default behaviour described in the README see below
load_from_playlist=no

#attempts to load from playlist automatically if it can't access the file system
#this overrides the load_from_playlist entry above
auto_load_from_playlist=yes

#If this is enabled then only valid coverart in the playlist that is
#also in the same directory as the currently playing file will be loaded.
#If disabled, then any valid coverart in the playlist will be loaded.
enforce_playlist_directory=yes

#scans the parent directory for coverart as well, this
#currently doesn't do anything when loading from a playlist
check_parent=yes

#When the file has icy-name metadata saved, search for coverart matching the file's icy-name inside
#this directory. This is for providing coverart for radio streams, and is still experimental.
#This cannot be done during preload.
icy_directory=

#skip coverart files if they are in the playlist
skip_coverart=no

#this is an experimental feature
#loads coverart synchronously during the preloading phase (after file is loaded,
#but before playback start or track selection)
#what this means in practice is the following:
#  -mpv player will not start playback until all coverart is loaded
#  -this means that on slow file/network systems playback may be delayed
#  -'track added' messages are not printed to the console
#  -the --vid=x property is supported since mpv doesn't attempt to select x until after covers are loaded
#  -watch-later saves will remember which cover the video was on
#  -no more awkward switch from the black no-video screen to cover art at the start of every file (force-window=yes)
#  -window doesn't close and reopen in-between files when playing from the terminal (force-window=no)
#  -external coverart will be loaded by default instead of embedded images (see below to change behaviour)
#  -may provide better compatibility with some other scripts
preload=no

#tell mpv to load the given video as album art, this provides a number of optimisations and makes the
#coverart behave more like embedded albumart
#this is only available in mpv v0.34 (not yet released)
#this option effectively enforces prefer_embedded
use_albumart_flag=no

#prefer embedded video tracks over new external files when preload=true
#by default mpv will select external video tracks first
#this setting forces the first embedded file to be played instead
#to be specific this option just sets --vid to 1 when it is on auto
prefer_embedded=no

Can you run mpv with --msg-level=coverart='debug' --log-file=log.txt and play the file you want the placeholder to be loaded for. Do this when using just the config file, and again after setting the placeholder value inside the script. Upload both log files here.

It seems that if I quote the name of the placeholder in coverart.conf then it does not work:
placeholder='/home/andrew/tcltk/icons/pp_mpv/pp_mpv.png'
placeholder="/home/andrew/tcltk/icons/pp_mpv/pp_mpv.png"

[file] Cannot open file '"/home/andrew/tcltk/icons/pp_mpv/pp_mpv.png"': No such file or directory
Failed to open "/home/andrew/tcltk/icons/pp_mpv/pp_mpv.png".
Can not open external file "/home/andrew/tcltk/icons/pp_mpv/pp_mpv.png".

however with no quotes it works fine:
placeholder=/home/andrew/tcltk/icons/pp_mpv/pp_mpv.png
So the path/filename cannot contain any spaces?

So the path/filename cannot contain any spaces?

The script-opts conf files treat everything after the name= as part of the string, so just add spaces and it should work.

Thank you.
I think that linux users may find  this counter-intuitive. May I suggest that, when you have the time, you strip opening and closing quote marks when you read the placeholder filename?
Or
Explain this in the .conf file.

This is how all mpv script-opts config files work, it is explicitly stated in the documentation. I suppose an extra comment in the config file wouldn't hurt though, none of the default scripts seem to have any options that require spaces so I can see how someone may not have realised.

From the mpv documentation - CONFIGURATION FILES:
Example configuration file

# Use GPU-accelerated video output by default.
vo=gpu
# Use quotes for text that can contain spaces:
term-status-msg="Time: ${time-pos}"

and
Option | Configuration file entry
-- | --
--flag | flag
-opt val | opt=val
--opt=val | opt=val
-opt "has spaces" | opt="has spaces"

Those are mpv configuration files, not mpv script configuration files. mpv script configuration files use the syntax described in the manual section I linked in my last comment.


Add more books and publishers

Fixes #477
Book titles taken from: https://en.wikipedia.org/wiki/List_of_book_titles_taken_from_literature
Publishers taken from: https://en.wikipedia.org/wiki/List_of_English-language_book_publishing_companies

Thanks!

@harsh183 This will be available when the next release 1.6.2 happens. Releases are listed here: https://github.com/stympy/faker/releases
Meanwhile you can go ahead and use the master branch in your Gemfile:
gem "faker", git: "git://github.com/stympy/faker.git", branch: "master"

Thanks.
Thanks for the code snippet as well, I will use it in my code.
I never knew one could directly take branches off git as well in a
gemfile. I guess I learn new things everyday.
On Mon, Jan 18, 2016 at 12:16 PM Tejas Bubane<EMAIL_ADDRESS>wrote:

@harsh183 https://github.com/harsh183 This will be available when the
next release 1.6.2 happens. Releases are listed here:
https://github.com/stympy/faker/releases
Meanwhile you can go ahead and use the master branch in your Gemfile:
gem "faker", git: "git://github.com/stympy/faker.git", branch: "master"
—
Reply to this email directly or view it on GitHub
https://github.com/stympy/faker/pull/484#issuecomment-172441917.

@harsh183 Glad it helped. :+1:

Thanks a lot for replying to this and making the changes to the code. I
mean you improved one of my most favorite gems I use often.
On Tue, Jan 19, 2016 at 12:04 AM Tejas Bubane<EMAIL_ADDRESS>wrote:

@harsh183 https://github.com/harsh183 Glad it helped. [image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/stympy/faker/pull/484#issuecomment-172617706.


Fixed Typing Mistake in README.md & updated it.

Fixed several typing errors throughout the codebase to improve clarity and maintainability.
Removed the link to PlutoThemes.jl as it appears to be outdated or deprecated, and I couldn't find a current replacement for it. If there is a newer version available or if there's an alternative package that serves a similar purpose, please let me know so that I can update the documentation accordingly.
Also, I'm planning to add some new features and tools to this repository. While I'm still in the process of learning Julia and Pluto, I'm committed to contributing to this project and welcome any feedback or suggestions for improvement.

Looks good, thanks! :)


Add --all-targets / --all-features flag

Adds --all-targets flag to cargo check and cargo test
Adds a separate command that runs cargo check and cargo test with --all-features flag

btw, this pr has the changes of #571 as well, which may lead to some confusion.

btw, this pr has the changes of #571 as well, which may lead to some confusion.
I removed the changes of #571


Multiple improvements to the site. All visual.

Add info dialog warning about the transition phase of project
Fix scroll position on client side navigations
Update various information throughout
Added OSS as platform highlight
Greatly reduced loading time of website by reducing image size
Added new Roc logo

Is it possible to upload an image of how the new landning page looks?

Link to temp screen


✨ [Feature]: Dialog ButtonText support React.node

What is the new or updated feature that you are suggesting?
Dialog的ButtonText增加React.node类型支持
Why should this feature be included?
有个性化的按钮文本需要自定义

现在应该是支持的，只是类型不对

close by 0e11d83069f18dca832ce8a81f80f141ad50fc40


Support for POST Request create/update

Is there any support for making POST request create/update entity? Intuit-outh module provides makeAPICall method which can be used to get employee, customer list from Intuit account, method "GET" is hardcoded in that, there is no way we can pass method into this.
Are you planning to provide POST create/update?

@vikas-ss : We are working on releasing an Official SDK to support NodeJS developers soon. But in the meantime you can use the community supported SDK to make API calls :
Community Supported Node SDK
You can find the community supported OAuth2Example here

Okay Thanks. Yeah I had seen community supported SDK already.

@abisalehalliprasan Is there any ETA for the official SDK?


fix numpy.prod overflow for windows

#9462

Can one of the admins verify this patch?

I signed it!

Sadly, this commit can't solve all overflow issues, see #9781 for tf.shape tf.size etc.

fixed #9781

Can one of the admins verify this patch?

@tensorflow-jenkins test this please

@fesun This appears to break several tests. Can you take a look?

@rmlarsen fixed it. Now too many code depends on int32, just suspended windows exception of tf.shape for large tensor.
@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@rmlarsen  There are still some errors, how to run those jenkins test locally? So I don't need to submit change and wait for you to invoke jenkins test.

@tensorflow-jenkins test this please

Thanks for the contribution!

@fesun: Could you elaborate on the exception thrown that prompted the change to array_grad.py? Is there a unittest/code snippet you could share that causes the exception?
(array_ops.shape would throw an exception on all platforms if the provided tensor had a dimension that doesn't fit in 32-bits. So I'm trying to understand what the platform specific part is. Thanks!)


How to tune MEMIT's hyperparameters under thousands of edits?

Thanks for your contribution and it really impresses me !
I want to use MEMIT method to inject thousands of edits into the language model, but in practical attempt, I found that injecting thousands of edits under the default hyperparameter setting would cause the model internal parameters to be totally corrupted (even only edit one layer), so I would like to ask if you have relevant experience in tuning MEMIT hyperparameter under large edit batch. Is it more effective to increase kl_factor or lower v_lr?
Looking forward to your early reply  !

Hi there! Could you be more specific about what you ran?
Have you employed the batch_edit() when you edit thousands knowledge simultaneously?
Meanwhile, you should change the batch_size.

Hi there! Could you be more specific about what you ran? Have you employed the batch_edit() when you edit thousands knowledge simultaneously? Meanwhile, you should change the batch_size.

I used batch_edit(), but I found that I didn't add the batch_size parameter to the yaml file, and I'll experiment further to see if it works.  Thank you for your reply !

The default batch_size is 1: https://github.com/zjunlp/EasyEdit/blob/main/easyeditor/models/memit/memit_hparams.py#L43
You can add the batch_size field to yaml and use batch_edit function for batch editing

Hello, I'm editing MEMIT on llama-7b and llama-13b models with thousands of edits. Is there any batch size that you recommend?


Importing txaio messes up logging when using trollius

It starts spitting messages like
<LogRecord: trollius, 10, .../lib/python2.7/site-packages/trollius/selector_events.py, 72, "Using selector: %s">
Why do you call logging.getLogger("trollius").addHandler(PrintHandler()) without asking the user, anyway? Not to mention that your PrintHandler is completely broken.

@hawkowl this originally came from autobahn/_logging.py in Autobahn, and I'm not sure why it was there; can you comment? (Commit bf324d7a5155606ccaada639c12c9e8808d27866)

It's from https://github.com/crossbario/autobahn-python/pull/452 -- the logger was added because of https://bitbucket.org/enovance/trollius/issues/19/no-handlers-could-be-found-for-logger causing things to fail. Maybe it's not needed now? Maybe it was never a bug? Who knows :)

Hmm, okay thanks. I'll play with it a bit -- maybe what I should have done was move that to start_logging() so that it doesn't mess up logging as this bug originally describes


Add no-unused-expressions rule to the default set

Like we did in: https://github.com/liferay/liferay-npm-build-tools/pull/277
Then, as a follow-up, we can update liferay-npm-build-tools to use the next release of eslint-config-liferay, and remove the explicit config.

Internal ticket: https://issues.liferay.com/browse/IFI-531


feat(tagsInput): add softRemove option

Add softRemove option that allow user to hide element rather than delete it,
use ng-hide to hide removed element, add removed property on target tag object
docs(tagsInput):  Add softRemove option documentation

Coverage increased (+0.004%) to 99.781% when pulling 9e97c0dfe55aa38d7673ad47526284a534681a92 on vqoph:soft-remove into a4c03ca3912d2039fa82f98a010ed1aa44df7476 on mbenford:master.


Help please

Somone make it work nowadays?

If you install all the requirments in the README, then it can work successfully!

Thank you.  I did modify the code (update some declarations and old
mentions),now its work great in the new versions that I have.
בתאריך יום ד׳, 23 באוק׳ 2024, 22:56, מאת YuLinzhong <
@.***>:

If you install all the requirments in the README, then it can work
successfully!
—
Reply to this email directly, view it on GitHub
https://github.com/yuetan031/TADDY_pytorch/issues/6#issuecomment-2433314630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX4WCQNDGYVGJZ4PPXJIFDTZ475OLAVCNFSM6AAAAABIVHZXYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZTGMYTINRTGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Added notes and fixes

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[ ] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

Codecov Report

Merging #239 (ceb52f5) into main (4a9e67f) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #239   +/-   ##
=======================================
  Coverage   31.77%   31.77%
=======================================
  Files          18       18
  Lines        1822     1822
=======================================
  Hits          579      579
  Misses       1179     1179
  Partials       64       64

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

Closing as this is addressed by https://github.com/edgexfoundry/edgex-examples/pull/184


Smarten up rendered descriptions in search

When displaying search results, we include a participant's profile statement, which we render as markdown and then excerpt (theoretically we'll do the same for project's some day). Applying styles to the rendered markdown can have unintended side effects. For example, searching for webpack matches the usernames webchick and Weblate, and the half-open HTML from the first's description clobbers the markup for the second.

Helpful? https://coderwall.com/p/dnnlea/how-to-truncate-a-string-that-s-markdown-format

Hmm ... maybe. a) I think that's Ruby? and b) Why would it work to truncate before escaping instead of after? We don't even want to escape, do we?
Probably the real way to do this is to store an html-stripped version of the text, and search over and display that.

I think your first point is the most valid.

I think we should try using http://stackoverflow.com/a/925630 to compute and store a flattened plain-text version of the content, and search/display against that instead of the marked-up version.

Or possibly https://github.com/aaronsw/html2text but that seems like overkill.

Moving to a PR in #4266.

Fixed! 💃


toEither :: a -> b? -> Either a b

Suggested by @raine on Gitter.
> S.toEither('Invalid protocol', 'ftp://example.com/'.match(/^(http:|https:)[/][/]/))
Left("Invalid protocol")

> S.toEither('Invalid protocol', 'http://example.com/'.match(/^(http:|https:)[/][/]/))
Right(["http://", "http:"])

This would mirror S.toMaybe.

If you want to have an Error object inside Left, you'd have to do something like this to get a sensible stacktrace.
S.toEither(new Error('Invalid protocol'), 'http://example.com/'.match(/^(http:|https:)[/][/]/))

Creating unneeded Error objects doesn't seem like a good idea, at least from performance point of view. Taking a function as first argument would solve this, but does it make the API too focused on that particular use case?

I'd probably use R.ifElse in that case:
// protocol :: String -> Either Error String
const protocol =
R.pipe(R.match(/^(http:|https:)[/][/]/),
       R.ifElse(R.isEmpty,
                () => S.Left(new Error('Invalid protocol')),
                S.Right),
       R.map(R.nth(1)));

protocol('ftp://example.com/');
// => Left(Error: Invalid protocol)
protocol('http://example.com/');
// => Right("http:")

Perhaps, though, we could have a second function of type String -> a? -> Either Error a. The function would create an Error object with the specified message if necessary. I don't want to rush into adding such a function. I'm wary whenever we deviate from the path paved by Haskell and PureScript.

Sounds good, @rjmk. :)


artificial intelligence

Can we use artificial intelligence or API to generate words for hangman game?

Hello yes, I think we should. Right now it only uses a small list of words and could get quite predictable over time.
Running an AI would be quite too much for such a simple task in my opinion. Using an API should be a good idea.
This game has several files of different locales. So it'd be great to use an API that supports any locale.
There is a file /usr/share/dict/words in my linux system which has a huge list of words. Would be better if we can go for an approach like that to avoid any uncertainity that could come from external APIs.


Tuning for bicycles classifications for the sac_scale tag:

Allow highway=cycleway and sac_scale=hiking for every kind of bike.
Disallow sac_scale=mountain_hiking for every bike except for MTB.
Allow highway=* and sac_scale=hiking for every kind of bike, except for the racebike.

Thanks! Would you mind to add a test for MTB, as it is not obvious to me how you still allow mountain_hiking :)

Ah, okay. There is already a test which is still passing. Nice & thanks!


Added AST visualization functionality based on d3

nmodl.ast now has ast_view function that visualize in memory AST
representation using d3.js based radial tree
necessary html, css and js files are added
get_nmodl_example_dir is removed and taken case by python modules

Simple example of viewer:
from nmodl.ast import ast_view
import nmodl.dsl as nmodl
import os

driver = nmodl.NmodlDriver()
expsyn = os.path.join(nmodl.example_dir(), "expsyn.mod")
modast = driver.parse_file(expsyn)
ast_view(modast)

This will show :


🚀 [Feature Request] - Fast Registration techniques to be incoprated in  mentor registration form

Is your feature request related to a problem ? Please describe. ✍
Existing mentor registration form need updation
Describe briefly how you would implement this enhancement.
Some steps to implement this enhancement-
1. Step 1
2. Step 2
3. Step 3

Additional context or screenshots

Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

actually, redesign toh ni ... pr haa mentor form m kch prefilled card like as info enter n krni pde...
fast fill hojaye. History se le le kch info

actually, redesign toh ni ... pr haa mentor form m kch prefilled card like as info enter n krni pde... fast fill hojaye. History se le le kch info

Maine aj tak kra nhi h but mai try kr skti

actually, redesign toh ni ... pr haa mentor form m kch prefilled card like as info enter n krni pde... fast fill hojaye. History se le le kch info

Maine aj tak kra nhi h but mai try kr skti

No worries...will take it as a problem nd solve

I'm too look at it..


SansIOHttpPolicy can return awaitable objects

Coroutine being awaitable objects, this means we can define on_request/on_response/on_exception as coroutine (corollary).

(message created by the CI based on PR content)

Note: requires https://github.com/Azure/azure-sdk-for-python/pull/7497 to support AAD async batch


submaster: optimize pycapnp reader

https://github.com/commaai/cereal/pull/240

Are there any measurable performance increases from this?
Besides carParams, are we really reading the same value often enough this becomes worth it?

the SubMaster will be read multiple times in many place (event not updated).
this PR can also speed up the access speed of child elements even if read only after update:

sm["abc"].a.x //  first read, pycapnp performance
sm["abc"].a.b // native performance
sm["abc"].a.c // native performance
sm["abc"].a.b[0] // first read. pycapnp performance
sm["abc"].a.b[1] // native performance

How many percent of CPU does this save in practice?

it depends.  it may save 1~2% cpu  of controlsd on my laptop (I am not very sure at the moment, I did not systematically test it)
I have not tested on devices yet


Fixup test_image_store_object_migration.py

Description
This PR...

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8088

@blueorangutan test matrix

[SF] Trillian test result (tid-8635)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43469 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8378-t8635-kvm-centos7.zip
Smoke tests completed. 120 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_08_migrate_vm
Error
45.76
test_vm_life_cycle.py

[SF] Trillian test result (tid-8633)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46130 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8378-t8633-xenserver-71.zip
Smoke tests completed. 120 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_DeployVmAntiAffinityGroup_in_project
Error
100.08
test_affinity_groups_projects.py

[SF] Trillian test result (tid-8634)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 51966 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8378-t8634-vmware-67u3.zip
Smoke tests completed. 118 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_DeployVmAntiAffinityGroup_in_project
Error
101.69
test_affinity_groups_projects.py

test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80
Error
519.86
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Error
201.66
test_internal_lb.py

test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80
Error
201.67
test_internal_lb.py

test_08_upgrade_kubernetes_ha_cluster
Error
1695.88
test_kubernetes_clusters.py

test_09_delete_kubernetes_ha_cluster
Error
604.12
test_kubernetes_clusters.py


Add a task to run manual tcb commands

This adds a task to launch a terminal with tcb-env-setup.sh already sourced and the DOCKER_HOST variable cleared.

OK, I had to add a custom bashrc file to properly source tcb-env-setup and make sure that the alias was available.  This worked in my checked out sources.  I'll try to modify my config to pull a fresh project from my fork to test the full workflow.

I was able to test this from scratch creating a new project using my fork of the templates.  From my POV this is good to go.

Please add it also to update.json, so it gets updated with the try-template-update task

Please add it also to update.json, so it gets updated with the try-template-update task

@andreriesco I don't follow.  What do you want me to list in update.json?

Actually, this script is to be used exclusively with the TCB IDE template, or do you think that being able to call this task can be beneficial on any other template also?

I was only thinking of the TCB template.  I don't currently have any need for it in the other templates.

I think it can be added to the .conf of the tcb template then, here, the scripts folder is generally for scripts that have uses in multiple templates. But inside the tcb folder it's easier to maintain it and to update it on the project

@andreriesco I still don't understand.  What is it I should add to ./tcb/.conf/update.json?  I don't understand how that file is used.

This file is for the try-update-templates task to know which files it should update (copy and open the merge window) from the templates repository into the project. Files which are specific of the template. So here for example it updates this three files:
[
    {
        "source": ".github/workflows/build-torizoncore.yaml",
        "target": ".github/workflows/build-torizoncore.yaml"
    },
    {
        "source": ".gitlab-ci.yml",
        "target": ".gitlab-ci.yml"
    },
    {
        "source": "tcbuild.yaml",
        "target": "tcbuild.yaml"
    }
]

And with this script at tcb/.conf, it will become:
[
{
"source": ".github/workflows/build-torizoncore.yaml",
"target": ".github/workflows/build-torizoncore.yaml"
},
{
"source": ".gitlab-ci.yml",
"target": ".gitlab-ci.yml"
},
{
"source": "tcbuild.yaml",
"target": "tcbuild.yaml"
},
{
"source": ".conf/bashrc.tcb",
"target": ".conf/bashrc.tcb"
},
]

OK.  Done.

Also, the bashrc.tcb needs to be moved from scripts/bash to tcb/.conf


[main] - Issue when writing a 3D array in y/z pencil with reduced precision using mpiio_write_real_coarse

The allocate statement is valid only when the input is in x pencil. It is not valid if the input is in y or z pencil
https://github.com/2decomp-fft/2decomp-fft/blob/4ff8f79098e6028dad6efd9d994b6e100d89e02a/src/io.f90#L1266
A solution could be to replace the line with
         allocate (varsingle(starts(1):starts(1)+subsizes(1), &
                             starts(2):starts(2)+subsizes(2), &
                             starts(3):starts(3)+subsizes(3)))

Can you point to a test where this create an issue. We test the library in single and generally we don't have any issue.

If the library is compiled with double precision and the preprocessor variable SAVE_SINGLE is defined, the issue can be triggered. This issue is present only in the branch main. I think it is not present in the branch dev.

Running the following commands :
FC=mpif90 cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=dev -DBUILD_TESTING=on -DFFT_Choice=fftw_f03 -DFFTW_ROOT=~/opt/fftw3/fftw-3.3.10_bld/ -DCOMPLEX_TESTS=OFF -DDOUBLE_PRECISION=ON
FC=mpif90 cmake -S ./ -B ./build -DMPIEXEC_MAX_NUMPROCS=6 -DSINGLE_PRECISION_OUTPUT=ON
cmake --build ./build --verbose
cmake --install ./build
ctest --test-dir ./build --output-on-failure

Leads to
...
      Start 16: io_bench
16/18 Test #16: io_bench .........................   Passed    0.82 sec
      Start 17: io_visu
17/18 Test #17: io_visu ..........................   Passed    3.19 sec
      Start 18: grad3d
18/18 Test #18: grad3d ...........................   Passed    0.91 sec

83% tests passed, 3 tests failed out of 18

Total Test time (real) =  21.21 sec

The following tests FAILED:
	 11 - io_test (Failed)
	 12 - io_read (Failed)
	 13 - io_tmp_test (Failed)
Errors while running CTest


[wip] GH actions debugging

Not intended for merging

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Ext feats bug fix

sm model no external features baseline
sm model with IDF weights
sm model with IDF weights without removing punctuation --> barely better than df/idf (a la Pytorch).
sm model with stemming before computing IDF weights
^ all on the TrecQA dataset

@lintool I will reclone after this PR to avoid many commits for future PRs.

@HTAustin @rosequ @Jeffyrao Guys, please can we do a quick CR?
Only 2 files have major changes:

external_features.py (new file)
main.py (calls functions to generate external features)


Moved metrics update to finally block to assure consistency of timestamps between SQL calls

This addresses issue https://github.com/jprante/elasticsearch-jdbc/issues/683
Timestamps are set after execution insteed of setting in for-loop.

Also added support for multiple json configuration files for overriding. No limit to conf files, each file overrides given map keys in order of arguments.


dogecoind it's running but it doesn't show anything.

hello, i'm running the daemon it's syncing but it doesn't show anything on terminal (blocks data, the progress ,..) i'm using Ubuntu 16.04

dogecoind is intended to run as a background service, it doesn't present a UI itself. Normally you'd use dogecoin-qt if you want a user interface, or you can interact with the dogecoin using dogecoin-cli.
There's no up to date online guide to the commands unfortunately, but https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list does cover most of the commands dogecoin-cli supports.


Actually fix security.py module

Further to 13900e84, actually fix SIP reporting.

I should probably write some tests, but I'm not sure how that would interact with the PHP ones.
cut and pasting that function and running it actually works.
import os
import subprocess

def sip_check():
 """ SIP checks. We need to be running 10.11 or newer."""

 badstring = 'System Integrity Protection status: disabled'

 if float(os.uname()[2][0:2]) >= 15:
     # sp = subprocess.Popen(['csrutil', 'status'],
     sp = subprocess.Popen(['echo', badstring],
                           stdout=subprocess.PIPE,
                           universal_newlines=True)
     out, err = sp.communicate()

     # just read the first line of the output, the
     # System Integrity Protection status: ....
     # search for a full stop, as custom configurations don't have
     # that there.
     first_line = out.split("\n")[0]
     if "enabled." in first_line:
         return "Active"
     else:
         return "Disabled"
 else:
     return "Not Supported"

x = sip_check()

print(x)

outputs
% python3 sip.py
Disabled

And removing the echo badstring
% python3 sip.py
Active


Support reading/writing static fields with Smoke

This issue was originally filed by @zoechi

What steps will clearly show the issue / need for enhancement?
1.
class A {
  static const SOME_CONST = 123;
  static String value = 'someValue';
  static get someField => value;
  static set someField(String val) => value = val;
}
2.
3.
What is the current output?
I wasn't able to find a way to read/write static fields/getters/setters only instance fields/getters/setters or invoke static methods
What would you like to see instead?
be able to read/write static fields/getters/setters.
What version of the product are you using? On what operating system?
Smoke 0.2.1+1
Please provide any additional information below.

This issue has been moved to dart-lang/smoke#18.


[Program]: Write a Perl program to convert string to consonantcase

Description
Write a Perl program to convert string to consonantcase
Consonantcase is a style of writing in which all consonants are converted to uppercase and all vowels are converted to lowercase.
Input  : "hello world"
Output : "HeLLo WoRLD"

How to contribute

Save the solution in convert_string_to_consonantcase.pl file
Add convert_string_to_consonantcase.pl file in program/convert-string-to-consonantcase folder

!assign


System.DllNotFoundException for running in Linux

I try to use pdfium to convert pdf to image in linux. but got this error:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'pdfium.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libpdfium.dll: cannot open shared object file: No such file or directory
   at PdfiumViewer.NativeMethods.Imports.FPDF_AddRef()
   at PdfiumViewer.NativeMethods.FPDF_AddRef()
   at PdfiumViewer.PdfLibrary..ctor()
   at PdfiumViewer.PdfLibrary.EnsureLoaded()
   at PdfiumViewer.PdfFile..ctor(Stream stream, String password)
   at PdfiumViewer.PdfDocument..ctor(Stream stream, String password)
   at PdfiumViewer.PdfDocument.Load(Stream stream, String password)
   at PdfiumViewer.PdfDocument.Load(String path, String password)
   at PdfiumViewer.PdfDocument.Load(String path)
   at PDFiumOnLinux.Program.Main(String[] args) in /src/Program.cs:line 10

This is my source code:
using PdfiumViewer;
using System.Drawing.Imaging;

namespace PDFiumOnLinux
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var pdfDocument = PdfDocument.Load(@"Test.pdf"))
            {
                var bitmapImage = pdfDocument.Render(0, 300, 300, true);
<EMAIL_ADDRESS>ImageFormat.Jpeg);
            }
        }
    }
}

This is the csporj:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="PdfiumViewer" Version="2.13.0" />
    <PackageReference Include="PDFiumCore" Version="4503.0.0" />
    <PackageReference Include="System.Drawing.Common" Version="5.0.2" />
  </ItemGroup>

</Project>

and here's the docker-compose file:
version: "3.9"
services:
    app:
        image: mcr.microsoft.com/dotnet/sdk:3.1.409-buster
        volumes:
            - .:/src
        working_dir: /src
        entrypoint: bash -c "dotnet build PDFiumOnLinux.csproj && dotnet bin/Debug/netcoreapp3.1/PDFiumOnLinux.dll"

The program can be run using this command:
docker-compose run --rm app

Taking a stab in the dark here, but it appears you are using PdfiumViewer's PdfDocument and not the PDFiumCore's libraries.
There is no interaction between PDFiumCore and PdfiumViewer as they are completely separate projects.  This project is just a direct C# <-> C++ Interop library.
I have a quick and dirty thread safe implementation written at https://github.com/Dtronix/DtronixPdf/
You can take a look at RenderPageAction.cs to see how rendering a page to a bitmap is handled.

@DJGosnell  Thanks for your help. It saved me a lot.
The idea of adding PdfiumCore beside PdfiumViewer was from the fact that PdfiumViewer on windows does not work by itself and need another 'binary provider' nuget package that can be 'PdfiumViewer.Native.x86.v8-xfa' or 'PdfiumViewer.Native.x86_64.v8-xfa'.
So I was looking for a equivalent for Linux and thought PDFiumCore would be that.
Anyway as PDFiumCore use a much newer version of pdfium, I decided to test it. So took the https://github.com/Dtronix/DtronixPdf/ and change RenderPageAction.cs to a PDFToImageConverter and run it on windows and linux and got the proper result!
I pushed the final code at https://github.com/Dtronix/DtronixPdf/. It's just a cleanup of DJGosnell's


Fix #136 Removed temporary/instance variables that are not read and written, unnecessary assignments

Do you have any idea why the CI run fails @BenBals?

No, maybe @sinnaj-r has an idea.

Works now.

So we are ready to merge?


Request money - The app crashes when user deleted the request money

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/25451
PROPOSAL: https://github.com/Expensify/App/issues/25451
Tests

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Launch app
Tap Fab
Tap request money
Tap enter any amount
Tap next
Select any user
Tap Request money
Tap last transaction to open the last requested money page
Tap the money requested
In IOU details page, tap 3 dots to select "delete request"
Tap delete request

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

https://github.com/Expensify/App/assets/16595846/a5dbd7c1-4acc-4df4-b22a-8b876495d8b7

@abdulrahuman5196 ready for a review, can you please treat it with urgency as this is a deploy blocker? Thanks!

Yes starting to review now

@abdulrahuman5196 yes android only I updated the checklist

@abdulrahuman5196 bump on this one, it seems to be one of the last things holding deploy

Hi @mountiny Yes. I am trying to build android, but its taking too much time to build. Just give me 10 - 20 mins. And also the new mapbox thing is slowing the build process.

Ah damn, thanks!

@mountiny  https://github.com/Expensify/App/issues/25481 could be dupe of this?
Meanwhile @pradeepmdk this is not android specific code right? It should also crash in other platforms, in the other issue its crashing in web as well

@abdulrahuman5196
I tried this one too but couldn't see the crash on the Web, #https://github.com/Expensify/App/issues/25481 only crashes in OFFLINE mode so I think they are different issue s

Thanks for the information @tranvantoan-qn . I think the crash log is different here. Then it might be a different issue after all

Other thing is, in my case, the delete action was performed in the the main request, not in the request details - so there is no accessibilityLabel :D

@abdulrahuman5196 for this crash only for android because in android strict data type check in the native that's its failing. other platform works well.

Use the links below to test this build in android and iOS. Happy testing!

:test_tube::test_tube: Use the links below to test this build in android and iOS. Happy testing! :test_tube::test_tube:

android :robot:
iOS :apple:

https://ad-hoc-expensify-cash.s3.amazonaws.com/android/25468/index.html
https://ad-hoc-expensify-cash.s3.amazonaws.com/ios/25468/index.html

desktop :computer:
web :spider_web:

https://ad-hoc-expensify-cash.s3.amazonaws.com/desktop/25468/NewExpensify.dmg
https://25468.pr-testing.expensify.com

Downloading the android build for testing.

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

@mountiny I am assuming, since you had assigned the contributor, the root cause has been verified by you in the proposal. Because I am unable to test if the root cause is correct given the time constraint and android builds taking too long to build.
But I tested in the new build, we are not seeing the mentioned crash.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.55-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Data Catalog / Lineage integration

Feature Request
Description of Problem:
We want to capture data architecture design decisions in CALM by understanding how Data Catalogs and Data Lineage can be integrated with CALM.
When capturing a system or solution design in CALM, I want to represent which data assets are owned by which systems, how data assets flow through the solution and which data concepts a system supports, so that we can understand how the solution will process data.
Potential Solutions:
We can potentially use the information model from CDMC to represent Data Asset and Data Lineage data in a number of popular metadata formates including DCAT, PROV, Egeria, Atlas, DPROD.  The CDMC information model allows the translation between formats supported by multiple data management tools.  By identifying which CDMC concepts relate to data asset definitions, information classifications, authoritative sources, data sharing agreements, lineage, and provenance, we can extend CALM with a rich set of data architecture definitions.

Tag: @arhy

@ojeb2 Any more thoughts on this?  Given the recent work around the Controls domain, we might be in a position now to start thinking about how we'd go about doing this.

I would like to start thinking about this (and think it is heavily related to issue 304 re: business domains).
If we went with datacontract or dataproduct, we need to figure out the overlap back to CALM (I.e., where they describe services etc.)
Good starting point would be to conform to the DCAT vocabulary defined at w3c.


message: 'TTL must be a non-negative duration in milliseconds'  issue in 9.4.2 version using .messaging().sendMulticast

My function is
 var message = {
      "tokens": registrationTokens,
        "notification": {
            "title": "Fire!!!",
            "body": "There is a smoke detected at" ,//+firedata
        },
        "android":{
          "priority":"high",
          "ttl":"259200s",//3 days in seconds
          "notification":{
            "channel_id": "notii_push",
            "sound": "alarm.mp3",
            "color":"#900000"
          }
        },
        "apns": {
         "headers":{
           "apns-priority":"10"
         },
        "payload": {
           "aps": {
              "sound": 'alarm.wav'
            }
          }
      } ,
      "priority" : "high",
      "content_available" : true
    };
    console.log('Tokens to send are ' + registrationTokens);
   await admin.messaging().sendMulticast(message)
    .then((response) => {
     return console.log(response.successCount + ' messages were sent successfully');
    }
    )  .catch((error) => {
      return console.log('Error sending message:', error);
    });

and i get message: 'TTL must be a non-negative duration in milliseconds'..
The issue still appears in 9.4.2 version using .messaging().sendMulticast
Originally posted by @tominou in https://github.com/firebase/firebase-admin-node/issues/479#issuecomment-770352274

ttl must be a "number":
https://github.com/firebase/firebase-admin-node/blob/bea66a90b12408313c3f1b54b67e19cc32c25421/src/messaging/index.ts#L426-L429
You have passed a string value:
"ttl":"259200s",//3 days in seconds

I wrote it like the documentation

That documentation is for the REST API and the examples show the low-level JSON payload that should be sent in the HTTP request. Here's the documentation for the Node.js SDK:
https://firebase.google.com/docs/reference/admin/node/admin.messaging.AndroidConfig#ttl

That documentation is for the REST API and the examples show the low-level JSON payload that should be sent in the HTTP request. Here's the documentation for the Node.js SDK:
https://firebase.google.com/docs/reference/admin/node/admin.messaging.AndroidConfig#ttl

He's right. This solved my issue!

Updated link.  The one above doesn't work anymore.
https://firebase.google.com/docs/reference/admin/node/firebase-admin.messaging.androidconfig.md#androidconfigttl


A fatal error : EXCEPTION_ACCESS_VIOLATION

OS: Windows 10
JAVA: 14

This is a problem of underlying SIGAR library, which is old and unmaintained. Perfmon Agent can't do anything with that, sorry.

I am able to run after following the steps that was mentioned in Installation section.

Created JRE folder under the extracted agent folder.
Copy JRE from Android studio which comes with 1.8
Change the java command inside startAgent.bat file to the path to the java executable.

On console below are the error which I am getting now.
ERROR StatusLogger Unrecognized format specifier [d]
ERROR StatusLogger Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.


give better error messages if patch does not compile

Just added slightly better messages popup. Please check and comment.

very good, closing


fix: use accurate test links in HTML reporter

PR Checklist

[x] Addresses an existing open issue: fixes #5232
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Fix inaccurate suite/test links that may hit unrelated tests:

Add '^' and ' ' for a suite link so that a link for Case1 won't hit Case10 test1.
Add '^' and '$' for a test link so that a link for CSS won't hit should fix invalid CSS.

Thanks for filing the issue + linking, this makes a lot more sense to me now. Agreed on the bug and marked as accepting PRs! 🚀
👍 on the HTML reporter not having existing tests, so it's fine to omit tests for it.


Fix typo

replace old db name with new one (calaccess)

Coverage remained the same at 36.17% when pulling 6002dcce58d17c3f55509fc38fb1aa76ef20c20b on anabranch:patch-1 into 79421829e06ff52c6fc28462b042c1e3503a12d4 on california-civic-data-coalition:master.

Thanks.


Corrected code that dismisses WhatsNewListingViewController

Closes #3520
Testing

Delete app.
Install new copy of app.
Start app.
Create new wallet.
Tap X on "WhatsNewListing".
Expects "WhatsNewListing" to be dismissed.
Tap CONTINUE.
Expects "Back up" to be dismissed.

I think, it's better to include a screenshot which illustrates the problem, a bit easier/faster to grasp it even before running the reproduction steps.

I put two images in #3520 that sorts of explains the problem. Next time I will put in a movie.

I should probably change it so WhatsNewListingViewController doesn't gets used right after a wallet is created (or just add a delay). I'll look into it separately.

See this image. Leftovers from the View Controller are placed on top of the existing views so taps never reach them.

I think, it's better to include a screenshot which illustrates the problem, a bit easier/faster to grasp it even before running the reproduction steps.

I put two images in #3520 that sorts of explains the problem. Next time I will put in a movie.

Great! But if images display the issue, use that instead of movies. The latter is slower to comprehend.

@eviltofu is this ready?

@eviltofu is this ready?

Once the Travis CI tests pass.


switch to esm

readable-stream has a few sub dependencies and is lagging behind. We are trying to get rid some of them to reduce the total pkg size. using nodes built in means we will always get the newest/fastest version. So i removed all dependencies and started to require on node:stream instead.
as for the dev dependencies: i updated all of them
got rid of inherits and replaced it with a class/extend instead
test files now needs to call new
i also stop depending on buffer from npm (nodes stream will always upgrade uint8array to buffer if they isn't a Buffer instance)

this calls for a major breaking change

OK, so I'm not going to say no, but also not yes just yet. I've been doing a dual-publish-like setup with some packages lately where broad compatibility is desirable (pure ESM for some others where I don't care) that's been working quite well. I might use your changes along with that approach to get best of both worlds, but you'll have to give me some time to get around to it.

👍 ok
fyi, node-fetch v3 is converting to ESM-only with its 21M downloads / week (pretty big deal)
so is all of sindresorhus 1k packages

Yeah, I know, it's like when we did Promises, we're all getting it whether we like it or not. So yes, I acknowledge that action is reasonable, but this package in particular has very broad and historic usage so hard breakage will be very disruptive and painful to the ecosystem which we can avoid with a bit of care.

The title of this PR is slightly misleading since it is both full conversion to ESM and drastically refactoring how the underlying stream plumbing works.
Is there value in doing just the stream plumbing upgrades now, and leaving the more controversial esm conversion as a separate action? Honestly as much as I'm a fan of the esm changes, the stream simplifications in this PR are more valuable cleanup and I'd love to see them sooner. Besides, it's good practice not to lump together large changes in a single PR, dig?


Too many words are missing in the Vietnamese language

I'm a Vietnamese developer, I'm already using laravel-filemanager for my projects, everything is normal until I switch to the Vietnamese.
So I found the original English language file and translated it out to Vietnamese the most complete and meaningful
This is the file that I translated
vi.zip

Thanks for the effort @xuandung38 !
Would you like to send a pull request of your changes here?

of course

Please check my pull request

Everythings was done

Thanks again @xuandung38 !


Anki 2.1.20 Night Mode - User drawn lines not visible

Describe the bug
Anki 2.1.20 comes with support for Night Mode on MacOS. This includes a different (dark) styling for card templates. The background is now dark gray, almost black. The color of lines drawn by users in Maobi (using HanziWriter) is black as well. Thus they are not really visible in Night Mode.
To Reproduce

Turn on Night Mode in MacOS

Expected behavior
Maobi should do one of the following

Adapt to Night Mode by using a light drawingColor in HanziWriter. Alternatively, make HanziWriter drawingColor somehow configurable (separately for Day/Night mode).
Provide documentation in the readme on how to style the card so that it gives the HanziWriter container a light background.

Error message
N/A
Please complete the following information:

Version: 2.1.21
OS: MacOS Catalina

Additional context
N/A

Fixed in #34


DPL-801 [Bioscan] tag clash detection UI improvement

As R&D (Scott T) we would like tag clash detection during Limber pooling steps to identify both plates (or tubes) that have clashing tags in order to avoid the necessity for the user to search and identifying the matching tags from all possible candidates
Context
In steps where multiple plates and tubes are pooled together there is no easy way to identify which tags have clashed.
Limber checks each plate or tube as you scan it and detects whether there is an issue for that plate. (pic attached)

For BIOSCAN 24 tubes will be pooled together. It could be the case that on tube 24 a tag clash is detected and a user would have to search Sequencescape for each pool and click on the Tag2 group to check each one until a match for tube 24 was found.
Acceptance criteria:
A message should be displayed to the user, informing them that a tag clash has been detected
This should be easy to read e.g. bold, coloured, or larger text
Both the latest plate/tube to be added and the plate/tube it has clashing tags with should be highlighted
Pooling should be prevented when clashing tags are detected.


There a dependency mismatch version on the package Detal.EF

The package says is supported on .net 8, but the depedencies of ef core are on version 9 not eight, that causing a issue on installing this package on .net 8 projects

ef 9 support .net 8

if you want to continue using ef 8. then Delta v3 supports it https://www.nuget.org/packages/Delta/3.0.3#dependencies-body-tab


feat: add traefik classifier

This PR adds a binary cataloger for traefik

did not check windowsservercore tags
make test file by echo -en '\x00{version}\x00'

fixes #1460

Thank you


[incubator/cassandra] rename backup.image.repository, update default …

…value, add support for google credentials as a secret
Signed-off-by: Simon Hardy<EMAIL_ADDRESS>
What this PR does / why we need it:
Adds support for GCS as destination of Cassandra backups.
I also renamed the backup.image.repository attribute because it was not standard and wrongly documented ("repo" in the doc but "repos" in reality, while "repository" seems the standard in other helm charts).
Special notes for your reviewer:
I had to allow the user to mount a secret containing the Google credentials because the standard way of providing credentials is to provide the GOOGLE_APPLICATION_CREDENTIALS environment variable that contains the path to the key file, unlike e.g. AZURE_STORAGE_ACCESS_KEY that asks for the key directly.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@maorfr

/assign @maorfr

/ok-to-test

/lgtm
Thanks for contributing, great work all the way :)


Issues with gnutls-cli on Darwin

Hi,
There seems to be a problem with the gnutls-cli detection on a mac. When i try to build i get these errors:
~/.emacs.d (master) make install
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
Package refresh done
Failed to download ‘melpa’ archive.
Eager macro-expansion failure: (error "Package ‘persistent-soft-’ is unavailable")
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
Package refresh done
Failed to download ‘melpa’ archive.
Package ‘persistent-soft-’ is unavailable
make: *** [.local/autoloads.el] Error 255

Running in debug:
Debugger entered--Lisp error: (error "Certificate validation failed elpa.gnu.org, verification code 142")
  signal(error ("Certificate validation failed elpa.gnu.org, verification code 142"))
  package--download-one-archive(("gnu" . "https://elpa.gnu.org/packages/") "archive-contents" nil)
  package--download-and-read-archives(nil)
  package-refresh-contents()

Running doctor, seems to indicate i don't have gnutls installed, however it is.
~/.emacs.d (master) make doctor
DOOM Doctor
Running Emacs v25.2.1
Compiled with:
  NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
  Darwin ixxxxxx 16.5.0 Darwin Kernel Version 16.5.0: Fri
  Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
  i386 MacBookAir6,2 Darwin

----

Warning: couldn’t find gnutls-cli, and OpenSSL is out-of-date (v0.9.8zh)
  This may not affect your Emacs experience, but there are security
  vulnerabilities in the SSL2/3 & TLS1.0 protocols. You should use TLS
  1.1+, which wasn’t introduced until OpenSSL v1.0.1.

  Please considering updating (or installing gnutls-cli, which is
  preferred).

----
There were issues!

Hopefully these can help you find problems. If not, run this doctor again with DEBUG=1:

  DEBUG=1 make doctor

And file a bug report with its output at https://github.com/hlissner/.emacs.d/issues

Gnutls is however installed:
~/.emacs.d (master) which gnutls-cli
/usr/local/bin/gnutls-cli

and
~/.emacs.d (master) gnutls-cli --version
gnutls-cli 3.5.12
Copyright (C) 2000-2017 Free Software Foundation, and others, all rights reserved.
This is free software. It is licensed for use, modification and
redistribution under the terms of the GNU General Public License,
version 3 or later <http://gnu.org/licenses/gpl.html>

Any idea why this is happening?

For the doctor issue: that's a bug. I've pushed a fix.
For the verification issue: I've heard of this issue happening on MacOS. I've been unable to reproduce it on my macs (but they're both locked to 10.11, so this may be a Sierra issue).
Try this on the command line:
gnutls-cli -p 443 elpa.gnu.org

You can C-c once you see - SImple Client Mode:. You're looking for - Status: The certificate is trusted.

Seems to work from the command line:
/.emacs.d ((aa78bd7...)) gnutls-cli -p 443 elpa.gnu.org
|<1>| There was a non-CA certificate in the trusted list: O=Entrust.net,OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.),OU=(c) 1999 Entrust.net Limited,CN=Entrust.net Certification Authority (2048).
Processed 169 CA certificate(s).
Resolving 'elpa.gnu.org:443'...
Connecting to '<IP_ADDRESS>:443'...
- Certificate type: X.509
- Got a certificate list of 3 certificates.
- Certificate[0] info:
 - subject `CN=elpa.gnu.org', issuer `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', serial 0x03690d0724711a25a224b5dac57704058294, RSA key 2048 bits, signed using RSA-SHA256, activated `2017-03-09 17:32:00 UTC', expires `2017-06-07 17:32:00 UTC', pin-sha256="tNWf2LJJsPYBR5RMS1oeqDjJdTc3ttC/RNxHwJsvMWg="
	Public Key ID:
		sha1:80c76f6c86a8213fcab8fd512ab2bb9b3499054e
		sha256:b4d59fd8b249b0f60147944c4b5a1ea838c9753737b6d0bf44dc47c09b2f3168
	Public Key PIN:
		pin-sha256:tNWf2LJJsPYBR5RMS1oeqDjJdTc3ttC/RNxHwJsvMWg=
	Public key's random art:
		+--[ RSA 2048]----+
		|                 |
		|     o           |
		| E  . +          |
		|o .  o =         |
		|..... o S        |
		| o+o o +         |
		|.== o            |
		|+*.o .           |
		|X*...            |
		+-----------------+

- Certificate[1] info:
 - subject `CN=elpa.gnu.org', issuer `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', serial 0x03690d0724711a25a224b5dac57704058294, RSA key 2048 bits, signed using RSA-SHA256, activated `2017-03-09 17:32:00 UTC', expires `2017-06-07 17:32:00 UTC', pin-sha256="tNWf2LJJsPYBR5RMS1oeqDjJdTc3ttC/RNxHwJsvMWg="
- Certificate[2] info:
 - subject `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', issuer `CN=DST Root CA X3,O=Digital Signature Trust Co.', serial 0x0a0141420000015385736a0b85eca708, RSA key 2048 bits, signed using RSA-SHA256, activated `2016-03-17 16:40:46 UTC', expires `2021-03-17 16:40:46 UTC', pin-sha256="YLh1dUR9y6Kja30RrAn7JKnbQG/uEtLMkBgFF2Fuihg="
- Status: The certificate is trusted.

I just added a new gnutls/openssl test to make doctor (that tests elpa.gnu.org and melpa.org). Could you run it again and see if it produces anything? If it does, you may need DEBUG=1 make doctor to get more information from it.

I've just run make doctor and this is the result:
Running Emacs v25.2.1
Compiled with:
  NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
  Darwin laptop.local 15.6.0 Darwin Kernel Version 15.6.0: Fri
  Feb 17 10:21:18 PST 2017; root:xnu-3<IP_ADDRESS>.1~1/RELEASE_X86_64
  x86_64

----

Rejected https://elpa.gnu.org/packages/archive-contents
  (error "Certificate validation failed elpa.gnu.org, verification code
  142")

Rejected https://melpa.org/packages/archive-contents
  (error "Certificate validation failed melpa.org, verification code
  142")

----
There were issues!
```

Curious if you installed from homebrew with the gnutls option?
Sent from my iPhone

On May 26, 2017, at 7:44 AM, Natxo Cabré<EMAIL_ADDRESS>wrote:
I've just run make doctor and this is the result:
Running Emacs v25.2.1
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin laptop.local 15.6.0 Darwin Kernel Version 15.6.0: Fri
Feb 17 10:21:18 PST 2017; root:xnu-3<IP_ADDRESS>.1~1/RELEASE_X86_64
x86_64

Rejected https://elpa.gnu.org/packages/archive-contents
(error "Certificate validation failed elpa.gnu.org, verification code
142")
Rejected https://melpa.org/packages/archive-contents
(error "Certificate validation failed melpa.org, verification code
142")

There were issues!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@ksexton I'd assume so; the GNUTLS flag under Compiled with suggests gnutls support is present.
@keoko After some more research, I've added a new gnutls-cli test that should fix this issue on MacOS. Seems gnutls has can't find the trust bundle on MacOS since it's in the Keychain, so we just rely on gnutls-cli's default trust store. Could you try make doctor once more?

~/.emacs.d (master) DEBUG=1 make doctor
DOOM Doctor
Running Emacs v25.2.1
Compiled with:
  NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
  Darwin hostname.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3
  16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64 i386
  MacBookAir6,2 Darwin

----

Rejected https://elpa.gnu.org/packages/archive-contents
  (error "Certificate validation failed elpa.gnu.org, verification code
  142")

Rejected https://melpa.org/packages/archive-contents
  (error "Certificate validation failed melpa.org, verification code
  142")

Rejected https://self-signed.badssl.com (a good thing!)
  (error "Certificate validation failed self-signed.badssl.com,
  verification code 142")

Rejected https://wrong.host.badssl.com/ (a good thing!)
  (error "Certificate validation failed wrong.host.badssl.com,
  verification code 142")

====
Have some debug information:

  + Attempt to load DOOM: failed
    (Cannot open load file No such file or directory quelpa)

  + byte-compiled files:
    n/a

  + exec-path:
    /usr/local/opt/coreutils/libexec/gnubin
    /usr/local/bin
    /usr/local/opt/coreutils/libexec/gnubin
    /usr/local/bin
    /usr/bin
    /bin
    /usr/sbin
    /sbin
    /Users/user/Documents/_workspace/godev/bin
    /Users/user/Documents/_workspace/godev/bin
    /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
    /Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9
    /Applications/Emacs.app/Contents/MacOS/libexec
    /Applications/Emacs.app/Contents/MacOS/bin

  + PATH:
    /usr/local/opt/coreutils/libexec/gnubin
    /usr/local/bin
    /usr/local/opt/coreutils/libexec/gnubin
    /usr/local/bin
    /usr/bin
    /bin
    /usr/sbin
    /sbin
    /Users/user/Documents/_workspace/godev/bin
    /Users/user/Documents/_workspace/godev/bin
    /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
    /Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9

----
There were issues!

Seems to be a problem with the certificates, maybe the chain is not trusted here. I'll look this up and see if i can find anything.

Seems the problem is with the emacs i was using - https://github.com/caldwell/build-emacs/issues/60.

.emacs.d git:(master) DEBUG=1 make doctor
DOOM Doctor
Running Emacs v25.2.1
Compiled with:
  NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
  Darwin laptop.local 15.6.0 Darwin Kernel Version 15.6.0: Fri
  Feb 17 10:21:18 PST 2017; root:xnu-3<IP_ADDRESS>.1~1/RELEASE_X86_64
  x86_64

----

Rejected https://elpa.gnu.org/packages/archive-contents
  (error "Certificate validation failed elpa.gnu.org, verification code
  142")

Rejected https://melpa.org/packages/archive-contents
  (error "Certificate validation failed melpa.org, verification code
  142")

Rejected https://self-signed.badssl.com (a good thing!)
  (error "Certificate validation failed self-signed.badssl.com,
  verification code 142")

Rejected https://wrong.host.badssl.com/ (a good thing!)
  (error "Certificate validation failed wrong.host.badssl.com,
  verification code 142")

====
Have some debug information:

  + Attempt to load DOOM: success!  I'm unable to recreate this, in emacsplus or otherwise. Are you still having these issues?

I will check today when I get into the office

Cloned the latest config today. Still the same issue:
~/.emacs.d (master) DEBUG=1 make doctor
DOOM Doctor
Running Emacs v25.2.1, commit f07d5670361ca17a6275356d2917494d986d84a6
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin laptop.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14
16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 i386
MacBookAir6,2 Darwin

Rejected https://elpa.gnu.org/packages/archive-contents
(error "Certificate validation failed elpa.gnu.org, verification code
142")
Rejected https://melpa.org/packages/archive-contents
(error "Certificate validation failed melpa.org, verification code
142")
Rejected https://self-signed.badssl.com (a good thing!)
(error "Certificate validation failed self-signed.badssl.com,
verification code 142")
Rejected https://wrong.host.badssl.com/ (a good thing!)
(error "Certificate validation failed wrong.host.badssl.com,
verification code 142")
====
Have some debug information:

Attempt to load DOOM: failed
(Cannot open load file No such file or directory quelpa)

byte-compiled files:
n/a

exec-path:
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/user/Documents/_workspace/godev/bin
/Users/user/Documents/_workspace/godev/bin
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec
/Applications/Emacs.app/Contents/MacOS/bin

PATH:
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/user/Documents/_workspace/godev/bin
/Users/user/Documents/_workspace/godev/bin
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9

Having same problem

^ this did not fix the issue for me, still occurring

The homebrew formulas for Emacs have changed quite a bit since this issue was first opened (i.e. gnutls is included in emacs and emacs-plus by default), so I'll consider this issue resolved. Let me know you're still experiencing these issues.

 If so, I highly recommend you do not use the cask/emacsformacosx.com build of Emacs and use the emacs, emacs-plus or emacs-mac homebrew formulaes instead.

I think so. But my homebrew is giving an incomprehensible error, so I can't really try. I'm sorry, but I can't be surprised on OSX el captital.


Dev jiandong 230214 serve config

change workcell_config.json to workcell.yaml;
refactor workcell core module to support load from config;


button.magicmirror_shutdown_host hanging

i have configured a rule to shutdown the magic mirror and after 30 secounds to turn off the screen and the pi, to save engergy.
That's the rule:
  - service: button.press
    data: {}
    target:
      entity_id: button.magicmirror_shutdown_host
  - delay:
      hours: 0
      minutes: 0
      seconds: 30
      milliseconds: 0
  - service: switch.turn_off
    data: {}
    target:
      entity_id: switch.strom_magic_mirror

The shutdown process is starting by the debugging in the ui u recive a unknown Error. And the rule wait by this step infinity.
I use the Version 1.3.0
2022-04-08 14:39:36 DEBUG (MainThread) [custom_components.magicmirror] Finished fetching magicmirror data in 0.646 seconds (success: True)
2022-04-08 14:40:15 DEBUG (MainThread) [custom_components.magicmirror] GET url=http://<IP_ADDRESS>:8080/api/shutdown. headers={'accept': 'application/json', 'Authorization': 'Bearer ***'}
2022-04-08 14:40:15 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: Server disconnected

Let's see if I undestand your issue correctly. When you try to use the button.magicmirror_shutdown_host, it posts an error in HomeAssistant frontend? And the shutdown-command never completes?
What about if you press the button without the automation?
It seems to be working fine in my instance, but it takes a little bit to complete the shutdown.
To narrow down where the issue it would be nice to know if the MMM-Remote-Control-page works for you. If you go to http://:8080/remote.html#power-menu and try to shutdown from there, does it work?

i can shutdown the mirror over the mmm-remote-control-page and over the button.  in the home assistant frontend i receive follow error: Error executing service button/press. Server disconnected

So the button.magicmirror_shutdown_host works but you get an error? Both when pressing it by itself, as well as using it in the script/automation?

Weird. As I said, it's not happening on my end.
My thinking is that it is related to the system shutting down, and because of that it is not responding properly to the button-command.
I'll take a look at it at some point, but I don't have time until after Easter.

Does this happen every time, or just once in a while? Interested to know if it has something to do with a poll happening at the same time?

it happens every time.  When i use the reboot action have follow error:
2022-04-10 19:40:51 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140117691635216] Response not 200 OK <ClientResponse(http://<IP_ADDRESS>:8080/api/restart) [400 Bad Request]>
<CIMultiDictProxy('X-DNS-Prefetch-Control': 'off', 'Expect-CT': 'max-age=0', 'X-Frame-Options': 'SAMEORIGIN', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-Permitted-Cross-Domain-Policies': 'none', 'Referrer-Policy': 'no-referrer', 'X-XSS-Protection': '0', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '353', 'Etag': 'W/"161-ZwIkDrLafyCKEPy3w2pvBQAQI4Y"', 'Date': 'Sun, 10 Apr 2022 17:40:51 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=5')>
Traceback (most recent call last):
Im on the HA Version 2004.4.1 and also MMM-Remote-Control is the last release installed.
how can i help with the debugging?

2022-04-10 19:44:54 DEBUG (MainThread) [custom_components.magicmirror] GET url=http://<IP_ADDRESS>:8080/api/shutdown. headers={'accept': 'application/json', 'Authorization': 'Bearer 111'}
2022-04-10 19:44:55 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140117354567712] Server disconnected
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1634, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1671, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 955, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/button/init.py", line 114, in _async_press_action
await self.async_press()
File "/config/custom_components/magicmirror/button.py", line 94, in async_press
await self.coordinator.api.shutdown()
File "/config/custom_components/magicmirror/api.py", line 153, in shutdown
return await self.get(API_SHUTDOWN)
File "/config/custom_components/magicmirror/api.py", line 94, in get
get = await self._session.get(
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
Thats the error from the shutdown command

Thanks for providing more debug information. Pretty sure this is an issue with the API not responding on some of these calls before shutting down the service.  I'll see what I can do to handle it on my side to handle that.

Should be fixed in release 1.4.0. Please reopen if the issue persists.


Any way to handle missing images?

Let's say I populate the gallery with images but some of them are missing. What ways are available to handle this situation? As I see, currently when this happens missing images are displayed as completely white images (same with thumbnails). Is there some way some way to display an alt text or remove them from the gallery completely, only leaving the existing images?

I have same problem...  :-(


Cannot run GraphQL Playground

Describe the bug
GraphQL Playground throws error.
To Reproduce
Steps to reproduce the behavior:

Add OpenAPI as a data source.
Create your endpoint and add the data-source.
Click View API in Your APIs section.
GraphQL Playground opens with following error:

{
  "errors": [
    {
      "message": "Query root type must be provided.",
      "name": "GraphQLError",
      "originalError": {},
      "source": {
        "locationOffset": {}
      },
      "stack": [
        "GraphQLError: Query root type must be provided.",
        "    at /usr/local/share/.config/yarn/global/node_modules/graphql-helix/dist/process-request.js:197:49",
        "    at runMicrotasks (<anonymous>)",
        "    at processTicksAndRejections (internal/process/task_queues.js:95:5)",
        "    at async Object.processRequest (/usr/local/share/.config/yarn/global/node_modules/graphql-helix/dist/process-request.js:50:20)",
        "    at async /usr/local/share/.config/yarn/global/node_modules/@graphql-portal/gateway/dist/src/server/mesh/graphql-handler.js:55:28"
      ]
    }
  ]
}

Expected behavior
Create openapi endpoint and make queries with Playground
Screenshots

Hi, @francislagares! Could you provide OpenAPI data source config?

@francislagares I can't reproduce it with my OpenAPI config, could you share GraphQL schema and url to config file or file itself?

@msadovyi I could now initialize the API but then fails and get error:
API Pets is declined 😵.
Check you API and data source configs
I'm trying out from this api => https://petstore.swagger.io/v2/swagger.json
This is what I've done within the dashboard:

Added that url in Data Connector Configuration.
Create /pets endpoint and add Pets datasource.

Do I have to config anything else ? Do I have to create GraphQL schema ?
How do I have to do it ?
Please if you could show me all the steps I have to follow,
would be great because I'm not sure if I need to fill in more inputs, and so on.

@francislagares Thanks! Try to pull our latest image and follow tour steps again. There were a bag related to OpenAPI handler.

Now it's working, awesome !

Many thanks, please keep up with this great work !

Thank you! Ping me here if you have any issues!


add operator and manufacturer to the highway=elevator preset (again?)

Hi,
my propose would be to add the fields "operator" and "manufacturer" to the highway=elevator preset, because these are two things which give some useful information abut an elevator.
I'm also sure both of these fields were already added to the highway=elevator preset in the past, does anyone know why they were removed?

does anyone know why they were removed?

I'm not sure, the fields undergo a lot of change and they could have gotten missed somewhere.


Create a method in the contract to get all open games

Task
Detailed Description

Create data structure to store open games
Insert new games to open games
Delete games from open games when a second user joines the game

Associated story
Story: #19 The user can view a list of games of chess they could join
Notes

Work in commit 6c54a1e


Error when run cmd "electron ."

I run draw.io on electron by this command
electron war/index.html
If I do
 electron . I have an error:
Syntax Errror Microsoft js compiler
Code 800A03EA

In etc/electron do:
npm install
npm start

I did - the same error.

I've never tried it on Windows. Did you Google the error?

Tried! Exactly thee same code did not find. Similar error caused by electron and also packages - no details, sorry.
I can run app from higher level dir in the elctron, but plugin submenu not available this way.


Multi-Attach error for volume "pvc-80c52f0e-8ebc-4f29-b93a-12bd0978be8b" Volume is already exclusively attached to one node and can't be attached to another

My statefulset mount volumes by longhorn, but my pod of statefulset is always containercreating when I delete the pod. I view the pod logs. The following error as this:
Multi-Attach error for volume "pvc-80c52f0e-8ebc-4f29-b93a-12bd0978be8b" Volume is already exclusively attached to one node and can't be attached to another.

Why ?

I got the same error today, it seems like it was caused by a stale VolumeAttachment (k get volumeattachment).
Managed to fix it after manually deleting the old VolumeAttachment.

VolumeAttachment objects are created as CSI-attachers to capture the intent of volume attach/detach to target nodes.
After removing a POD, the AD controller will wait 6 minutes (i.e. maxWaitForUnmountDuration) to force the attached volume to be detached from the node. The VolumeAttachment object is then recreated on the next target node.
Therefore, I think you can manually delete the VolumeAttachment object to improve recovery time from multiple attach errors.


Add a dummy kubectl config file for testing

Currently platform/kube:go_default_test depends on a local config file,
but the file is gitignored. Thus we need to explicitly create that file
before doing bazel build. This commit fixes the issue.

You are right, one of the tests requires an access to the cluster. I changed README.md to only build non-test targets which should avoid having to symlink config file.

do we need this PR?


Enable SQLITE_CONFIG_MULTITHREAD

This is a temptative fix for the:
lxd: sqlite3.c:66776: removeFromSharingList: Assertion `0' failed.
failure that we occasionally see in jenkins.
Signed-off-by: Free Ekanayaka<EMAIL_ADDRESS>

jenkins: test this please

jenkins: test this please

jenkins: test this please

jenkins: test this please


[Bug] Bad render for apple devices including responsiveness

🐛 What are the bugs?

Icons aren't visible on iPhone such as (the Hamburger menu / Guild Settings / Channel creation)
For responsiveness:

The list of public guilds has an extra margin or padding.
The profile page doesn't even have responsive or not detecting media queries.

📷 Screenshots:

Closing as Thream now enters Maintenance mode (only critical bug issues will be considered, no features planned in the future), we might take Thream down and archive the repositories (website, api `file-uploads-api, not npm packages) on GitHub in the coming year.