Change the Genre property

What if I want to change the Genre property? What can be a way of doing it?

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

ID: 8a3936c1-c359-eceb-fe2b-b1782064f238
Version Independent ID: 7813bfa3-f81f-1584-8c6d-2c6b68059d31
Content: MusicProperties Class (Windows.Storage.FileProperties) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.storage.fileproperties.musicproperties.yml&version=GBlive&_a=contents
Product: uwp
Git Login: mcleanbyron
Microsoft Alias: mcleans

The Genre property is just a list of strings. The list collection object itself is read-only (that is, you can't assign the Genre property to a different list collection object), but you can freely remove or add genre strings to the collection by using methods of the IList object such as Insert, Add, Remove, etc. After you make your changes, call SavePropertiesAsync to save the changes.
I hope this helps!


Rest API with LUIS versions

How do you query a specific version of your published LUIS application?
I thought it might be "versionIdstring" based on the other docs page, but I do not believe this to be the case after testing it.
Is there a way to use REST to query intent from a certain version?
What does it default to?

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

ID: be71dfe5-fd72-f093-4fd5-b9af87d9d966
Version Independent ID: 1d4c3a42-02ed-d386-a712-17ae291bc631
Content: Quickstart: Get intent with REST APIs - LUIS - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-get-started-get-intent-from-rest.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @diberry
Microsoft Alias: diberry

@JonathanPalmerGD Thanks for your question. We are checking on this and will respond to you soon.

@JonathanPalmerGD Are you referring to the endpoint usage reference mentioned here? For the versions prediction endpoint this should be the URI
https://{your-resource-name}.api.cognitive.microsoft.com/luis/prediction/v3.0/apps/{appId}/versions/{versionId}/predict?query={query}[&verbose][&log][&show-all-intents]
@diberry @aliciaep  Is there a way to default the version id to Active version id or should it be passed explicitly in the URI?

@RohitMungi-MSFT Active version is only a concept for the LUIS portal. When using APIs, the version is explicitly set with {versionId}.

Thanks @diberry for confirming. @JonathanPalmerGD passing the versionId in the URI is supposed to return a prediction for that specific version.

@JonathanPalmerGD We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.


Fixes Pax & T5x ARM build by adding packages needed to build h5py

Relying on one-off CI to avoid using resources since this is an ARM only change: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/8649837943

Switching to draft, there are a few other places I need to blacklist h5py

Closing in in favor of #713


Upgrade pure-reducers to 0.26.0-rc

Being bleeding edge and aligned code according to new import rules but also get the fixes from 0.26.0 NavigationExperimental release

Close since no one has handled it during a month


Add sudo

apt-get needs sudo to install on Debian/Ubuntu.

They only need sudo if they lack permission. Running as root is fine.

If people don't know that, they probably shouldn't be installing software on the machine.

Yeah, but I like to copy/pasta from readme to get me started. Prefixing with sudo in the readme doesn't really hurt.

2024 travelling back.. I am a little bit confused: are we supposed to use ag with sudo every time? I'd like to install ag as an user package, not a root package.
The vast majority of other packages that install with a straight sudo apt install, sets the right permission for user and root such that user can at least run the command without sudo.
The problem is, every time now I run ag without sudo, I am getting:
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

To make it worse, not that I uninstalled ag from my system however it left a trace on my user account:
sudo ag
command not found # correct
ag
same error above # basically it still has a presence somewhere.

To provide a bit more information:
$ whereis ack
/usr/bin/ack /usr/share/man/man1/ack.1p.gz
not below commands didn't give me anything with/out ag installed.
$ whereis ag
$ whereis silversearcher-ag
$ sudo whereis ag
$ sudo whereis silversearcher-ag
Installing silversearcher-ag should be giving me something in /usr/bin/ or /usr/local/bin, no?
Correct me if I am wrong, but I do believe we may need some code changes now many years later.


[Event Change Request] codeunit 1535 "Approvals Mgmt." - OnShowApprovalCommentsOnAfterSetApprovalCommentLineFilters

Describe the request
Hello,
We would like to change the filters set on ApprovalEntry variable that is filtered in ShowApprovalComments procedure in ApprovalsMgmt. There already is a publisher there OnShowApprovalCommentsOnAfterSetApprovalCommentLineFilters that would work for us, just there is an issue - there is no pass by reference on it for the ApprovalEntry variable. Could you please add it?
...
            DATABASE::"Sales Header":
                begin
                    ApprovalCommentLine.SetRange("Table ID", RecRef.Number);
                    ApprovalCommentLine.SetRange("Record ID to Approve", RecRef.RecordId);
                    FindOpenApprovalEntryForCurrUser(ApprovalEntry,RecRef.RecordId);
                end;
            else
                SetCommonApprovalCommentLineFilters(RecRef, ApprovalEntry, ApprovalCommentLine);
        end;
        OnShowApprovalCommentsOnAfterSetApprovalCommentLineFilters(ApprovalCommentLine, ApprovalEntry, RecRef); <--- event where var should be added to the ApprovalEntry

        if IsNullGuid(WorkflowStepInstanceID) and (not IsNullGuid(ApprovalEntry."Workflow Step Instance ID")) then
            WorkflowStepInstanceID := ApprovalEntry."Workflow Step Instance ID";

Old signature:
    [IntegrationEvent(false, false)]
    local procedure OnShowApprovalCommentsOnAfterSetApprovalCommentLineFilters(var ApprovalCommentLine: Record "Approval Comment Line"; ApprovalEntry: Record "Approval Entry"; RecRef: RecordRef)
    begin
    end;

New signature:
    [IntegrationEvent(false, false)]
    local procedure OnShowApprovalCommentsOnAfterSetApprovalCommentLineFilters(var ApprovalCommentLine: Record "Approval Comment Line"; var ApprovalEntry: Record "Approval Entry"; RecRef: RecordRef)
    begin
    end;

Additional context
Please add pass by reference to ApprovalEntry parameter in ApprovalsMgmt so we could adjust the filters using the event. Thank you!
Internal work item: AB#545017

Where do you use those filters? The function does not find any records for that table after this call.


Dispatcher test cache failures.

@ghatwala reports the following in https://github.com/numba/numba/issues/2451#issuecomment-316605512, tracking in this ticket as the issue is separate to that reported #2451.
$ /home/amit/numba# ls -l /usr/local/lib/python2.7/dist-packages/ | grep llvmlite
drwxr-sr-x  6 root staff   4096 Jul 19 10:26 llvmlite
drwxr-sr-x  2 root staff   4096 Jul 19 10:26 llvmlite-0.19.0.dist-info

$ /home/amit/numba# python -m numba.runtests numba.tests.test_dispatcher.TestCache

........ipython version: 5.4.1
...FFE...
======================================================================
ERROR: test_non_writable_pycache (numba.tests.test_dispatcher.TestCache)
----------------------------------------------------------------------
OSError: [Errno 2] No such file or directory: '/tmp/numba-tests.0/test_cache-_knByx/__pycache__'

======================================================================
FAIL: test_non_creatable_pycache (numba.tests.test_dispatcher.TestCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "numba/tests/test_dispatcher.py", line 956, in test_non_creatable_pycache
    self._test_pycache_fallback()
  File "numba/tests/test_dispatcher.py", line 946, in _test_pycache_fallback
    self.check_pycache(0)
  File "numba/tests/test_dispatcher.py", line 644, in check_pycache
    self.assertEqual(len(c), n, c)
AssertionError: 2 != 0 : ['dispatcher_caching_test_fodder.add_usecase-27.py27.nbi', 'dispatcher_caching_test_fodder.add_usecase-27.py27.1.nbc']

======================================================================
FAIL: test_non_writable_pycache (numba.tests.test_dispatcher.TestCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "numba/tests/test_dispatcher.py", line 968, in test_non_writable_pycache
    self._test_pycache_fallback()
  File "numba/tests/test_dispatcher.py", line 946, in _test_pycache_fallback
    self.check_pycache(0)
  File "numba/tests/test_dispatcher.py", line 644, in check_pycache
    self.assertEqual(len(c), n, c)
AssertionError: 2 != 0 : ['dispatcher_caching_test_fodder.add_usecase-27.py27.nbi', 'dispatcher_caching_test_fodder.add_usecase-27.py27.1.nbc']

----------------------------------------------------------------------
Ran 16 tests in 5.865s

FAILED (failures=2, errors=1)

For the error shown above , seems like file creation is failing
OSError: [Errno 2] No such file or directory: '/tmp/numba-tests.0/test_cache-_knByx/__pycache__'

and failures are due to assertion errors
AssertionError: 2 != 0 : ['dispatcher_caching_test_fodder.add_usecase-27.py27.nbi', 'dispatcher_caching_test_fodder.add_usecase-27.py27.1.nbc']

I'm afraid I cannot reproduce this anywhere locally. To debug this we'll need to be able to reproduce it which will likely mean having to reproduce your set up. Please could you say more about your installation... Did you build from source? Are you using conda packages? Do you have write access to /tmp? Is there sufficient space/inodes to write to /tmp? Anything else you think is relevant?
I also note that both these tests that fail are using a tmpdir, rely on disk access and mutate permissions. The lack of a temporary __pycache__ directory is suspicious given os.mkdir created it.
Thanks.

@stuartarchibald - thanks for the responsde ...  here are my set up details/installation step.
# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 42
Stepping:              1
CPU MHz:               2593.992
BogoMIPS:              5187.98
Virtualization:        VT-x
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
NUMA node0 CPU(s):     0,1

steps followed to build numba from source - right from this github page
Building and installing llvmlite
See https://github.com/numba/llvmlite for the most up-to-date instructions. You will need a build of LLVM 4.0.x.
$ git clone https://github.com/numba/llvmlite
$ cd llvmlite
$ python setup.py install
Installing Numba
$ git clone https://github.com/numba/numba.git
$ cd numba
$ pip install -r requirements.txt
$ python setup.py build_ext --inplace
$ python setup.py install
$ python runtests.py -v ( which is failing )
Also i had to install llvm(4.0.1 )  from source taken here - http://releases.llvm.org/download.html and installed using cmake using steps from here - http://llvm.org/docs/CMake.html
I have complete r/w access to "tmp" folder
ls -l / | grep tmp
drwxrwxrwt  12 root root  4096 Jul 20 14:44 tmp
Btw , i am running the entire test suite as "root" user , can this be a problem ?

@ghatwala Thanks for the extra information, I'm slightly suspicious that this is due to the use of the root user, can you reproduce using a user with no elevated rights? Thanks.

@stuartarchibald : unfortunately i have moved on to other open source packages and "numba" is currently not in my bucket of "to-do" list . Won't be able to evaluate this on power for sometime now at least.

@stuartarchibald I am able to reproduce this exact same error when running the test as root user. Running the tests as a normal user passes all tests on Linux
Basically, os.chmod('path/to/__pycache__', 0o500), modifies the permissions, but has no effect for root, as it doesn't restrict the user to write any file inside that directory:
# As root:
[root@centos7-nwani tmp]# mkdir blah && chmod 500 blah && touch blah/a
[root@centos7-nwani tmp]# echo $?
0
# As a non-root user:
[nwani@centos7-nwani ~]$ mkdir blah && chmod 500 blah && touch blah/a
touch: cannot touch ‘blah/a’: Permission denied
[nwani@centos7-nwani ~]$ echo $?
1

The options that come to my mind:

Use chattr to set the immutable flag (which relies on the existence of that command), or implement setting the immutable flag using something like: https://stackoverflow.com/a/36274086/1005215 (overkill? unreliable?)
Run the tests as the 'nobody' user on Unix.
Skip this test if run as root (hmm... that's sad, bad)

@nehaljwani thanks for a) reproducing and b) diagnosing, much appreciated. I believe your diagnosis is correct and have added #2831 in an attempt to fix it. If possible, please could you run with that patch and see if it has the desired effect. Thanks.


Manual position control continuous setpoint around deadzone

mc_pos_control: moved responsibility of the x,y stick deadzone to a mathematical function
to prevent a setpoint step when moving the stick over the border of the deadzone
and to enable very small inputs even from a control stick that needs a big deadzone
The problem of using the deadzone as a velocity setpoint threshold to switch between position and velocity controlled mode was a total resulting stick input function similar to this one (expo was applied here but it's the same for the linear case):

My change here aims to keep the desired deadzone but then allow the pilot to command very small velocities and certainly not have a step or discontiuity in his input range. So the resulting stick input function should look like this:

Tested outside with @LorenzMeier today, worked as expected.

@MaEtUgR Can you rebase?

rebased

../src/modules/mc_pos_control/mc_pos_control_main.cpp: In member function 'void MulticopterPositionControl::control_manual(float)':

../src/modules/mc_pos_control/mc_pos_control_main.cpp:931:15: error: 'req_vel_sp' was not declared in this scope

   req_vel_sp(0) = math::expo_deadzone(_manual.x, _params.xy_vel_man_expo, _params.hold_xy_dz);

               ^

compilation terminated due to -Wfatal-errors.

Compilation broken.

Such an embarrassing error because of renaming and I made the mistake of testing compilation and SITL on another branch.

Made a short SITL test, nothing broken.

I rebased this here and made it compatible with the changes by @Stifael. I think this warrants a new flight test.
https://github.com/PX4/Firmware/pull/6638


Add Create React App Section, clarify tradeoffs

Here's my second pass at the documentation for Create React App. A better version of #49 hopefully 😅

Coverage remained the same at 97.978% when pulling 3ce84eb6cc709cc3bc1d6e21b44f1681e1793659 on justgage:patch-2 into ad64578e005358382e4aa7957f0679e3293b2850 on glennsl:master.

:wave: hey, I'm in the process of using create-react-app with bs-jest and i'd like to revisit/hash out issues i've personally faced.
i do agree with @glennsl's feedback - we include just the bare minimum required to get create-react-app working in this scenario.
Here are some of my high level questions:
Top level tests vs. src/**/tests
To make sure we're on the same page, I have this in my bsconfig.json
    {
    "dir": "__tests__",
    "type": "dev",
    "subdris": true
    }

If I don't include a top level __tests__ folder, bs yells at me
If I don't put my tests in the top level __tests__ folder, open Jest can't be found.

Opinions aside, is this supposed to be the case? Do all my tests need to be in a top level test folder?

Hi @peterpme :)

If I don't include a top level tests folder, bs yells at me

This seems like reasonable behaviour from bsb. It indicates there is a problem with your setup.

If I don't put my tests in the top level tests folder, open Jest can't be found.

I assume that's because you have bs-jest as a bs-dev-dependency, as you should, and the places you put your tests aren't in a source directory that has "type": "dev".

Do all my tests need to be in a top level test folder?

No, but they need to be in a folder marked as "type": "dev" in bsconfig.json. But from what I understand of CRA, they can't be in a top level folder because CRA runs jest in the src folder, not in the root folder. So I think you need something like this:
"sources": [{
  "dir": "src/app",
  "subdirs": true
}. {
  "dir": "src/__tests__",
  "type": "dev",
  "subdirs": true
}]

And then you have to put all the tests in src/__tests__.
It's also possible to have separate __tests__ folders alongside your app code, but then you ahve to turn off subdirs and list every folder explicitly in bsconfig.json, which is most likely not what you want.


1.7 -> 1.8 migration

Tested manually with fruit stand. I'm adding an automated test as well

Note: for GPU resource requests, we convert N gpus (old-style GPU resource request) to
GPUSpec {
   Type: "nvidia.com/gpu",
   Number: N,
}

The choice of nvidia GPU in the kind of GPU that pipelines should request is arbitrary, but does fit the few customer uses of these feature that we've found. It's also easy for users to change after migration is fished.


Make tests for change more general

Coverage remained the same at 100.0% when pulling 41a395c49ece765d4b500833e6516b4c1cc7dcbc on marhag87:generalize_tests into ef15f5c4498f67c9a7cf752ec2e01a91b4818628 on propyless:master.

Coverage remained the same at 100.0% when pulling d009f9e1c00e43da7746bfe39a0c9b562277e54a on marhag87:generalize_tests into ef15f5c4498f67c9a7cf752ec2e01a91b4818628 on propyless:master.

Coverage remained the same at 100.0% when pulling d009f9e1c00e43da7746bfe39a0c9b562277e54a on marhag87:generalize_tests into ef15f5c4498f67c9a7cf752ec2e01a91b4818628 on propyless:master.

I'll go ahead and merge this, it only changes tests.


Sql script in view declaration cannot show the full script and became single line

Describe the problem you're observing:
One of the view has a declaration script over 1000 lines SQL. When i open it with Dbeaver, it shows only part of the declaration script (first 6xx lines) at first time. Second time i tried to reconnect and it formatted the script into 3 lines. It seems working fine in the db side (if i don't save it) but it is hard for me to re-formatting it back and update . code behind some single line comments (--col_name) is also recognized as comment which is not originally.
So, basically:
What i expected:

1                CREATE OR REPLACE VIEW temp.order_view (a,b,c,d)
2                select a, b, c, d  from table1
3                 --group by 1
...................
1000           where flag <>1;

It becomes:
case 1 - only part of the script is shown

1               CREATE OR REPLACE VIEW temp.order_view (a,b,c,d)
2              select a, b, c, d  from table1
3                 --group by 1
...................
672           (select A,

case 2 - able to see whole script but in one line

1                CREATE OR REPLACE VIEW temp.order_view (a,b,c,d)
2                select a, b, c, d  from table1 --group by 1.....................................where flag <>1

Operating system (distribution) and version:
Window10pro, v1803

DBeaver version:
before update(6.0.0) after update(6.1.2)

Java version:
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

Connection specification:

Database name and version
Oracle 9
Driver name
Oracle
Do you use tunnels or proxies (SSH, SOCKS, etc)?
no

Thank you so much!

cannot reproduce it for now.
If issue is still actual for you - feel free to reopen the ticket


JQuery 3.0.0 Compatibility

It seems to be a problem with the pluggin and the latest version of JQuery.
No prolems with version 2 and below.
Hope it helps :)

I am also seeing this issue.

please fix compatibility problem thanks :-)

_jquery2['default'].event.props = [];

This is not a good suggestion and requires maintaining your own version of this plugin.
Instead, use jQuery Migrate until the code in this lib is fixed.

@benallfree the real issue is that this should be done as a fix and pull request.
@denvaar thanks for the solution.
@scottcheng can we see this included in future versions? Thank you.

Hitting the same issue. Is there an update to this?

#241 see


Added merge and iadd

updated tests and docs too.

Codecov Report

Merging #19 (3281df4) into main (39ab8fe) will decrease coverage by 0.12%.
The diff coverage is 96.15%.

@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   98.67%   98.54%   -0.13%
==========================================
  Files          13       13
  Lines         602      619      +17
==========================================
+ Hits          594      610      +16
- Misses          8        9       +1

Flag
Coverage Δ

unittests
98.54% <96.15%> (-0.13%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cf_pandas/vocab.py
97.95% <95.00%> (-2.05%)
:arrow_down:

cf_pandas/__init__.py
81.81% <100.00%> (ø)

tests/test_vocab.py
100.00% <100.00%> (ø)

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


Rust Integration: Full Rust Integration

This PR follows #1.
#1: Sets up pyo3 integration and replaces calls to nx.maximum_flow with a Rust implementation. In particular, #1 constructs and destructs a Rust-side PhillipsDessouky object every iteration, and therefore incurs interop overhead at every iteration.
This PR seeks to replace all (or most of) solver.py such that all the iterations can be performed in Rust without having to go back to Python.
TODO: more information

Note to self: I think I've set up this PR wrong, have never tried making a PR based on another (pending) PR. Will have to figure this out and/or create a new PR and reproduce the changes here in the future.

Now that the lowtime-rust branch has been updated, you might be better off cutting a new branch from the up-to-date lowtime-rust branch and creating a PR from that new branch.


Unify constants pass

Unify the constant uses in SPIR-V module. If two constants are defined exactly
the same, only one of them will be kept and all the uses of the removed
constant will be redirected to the kept one.

Cases to cover:

OpConstantNull %int can generate the same value as OpConstant %int 0. They should be unified if possible.
Decorations can be different for constants with the same value. Should not ignore them.

Nice tests!
Would be even nicer with the following tests:

OpConstantNull together normal OpConstant generating zeros
NaN with different bit patterns
OpSpecConstant{|True|False} with different SpecIds

None of the above should be unified.

Added tests in 00970f9:

OpConstantNull together with normal OpConstant and OpConstantComposite
NaN with different bit pattern
SpecConstants with SpecId decorations

rebased

Cool! +1.

@dneto0 PTAL

-1   Some minor things, but they should be fixed.

-1 One last thing.

+2 Please rebase and squash

squashed and rebased. All bot passed before squashing


astro-i18-next does not build with netlify edge-functions as it relies on internal node js APIs

Any pointers would be much appreciated. Keen to use edge functions if possible, or at least to understand the path down the line
[commonjs--resolver] Cannot bundle Node.js built-in "module" imported from "node_modules/astro-i18next/dist/index.js". Consider disabling ssr.noExternal or remove the built-in dependency.
 error   Cannot bundle Node.js built-in "module" imported from "node_modules/astro-i18next/dist/index.js". Consider disabling ssr.noExternal or remove the built-in dependency.
Error: Cannot bundle Node.js built-in "module" imported from "node_modules/astro-i18next/dist/index.js". Consider disabling ssr.noExternal or remove the built-in dependency.
    at error (file:///home/ninjaa/bp/agreeable-ascension/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
    at throwPluginError (file:///home/ninjaa/bp/agreeable-ascension/node_modules/rollup/dist/es/shared/rollup.js:21587:12)
    at Object.error (file:///home/ninjaa/bp/agreeable-ascension/node_modules/rollup/dist/es/shared/rollup.js:22541:20)
    at Object.resolveId (file:///home/ninjaa/bp/agreeable-ascension/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:33611:34)
    at Object.handler (file:///home/ninjaa/bp/agreeable-ascension/node_modules/vite/dist/node/chunks/dep-67e7f8ab.js:45606:19)
    at file:///home/ninjaa/bp/agreeable-ascension/node_modules/rollup/dist/es/shared/rollup.js:22748:40

Found a relatable issue for astrojs/image
https://github.com/withastro/astro/issues/5307

Duplicate of https://github.com/yassinedoghri/astro-i18next/issues/82

Hi @ninjaa,
This is because edge functions don't have access to any node APIs, this is the same for Vercel Edge and Cloudflare workers (they are adding support for some packages here).
I was going to ask @yassinedoghri what does he think about creating a PR to handle this. I have been testing a solution, and I think a good way of handling this would be to re-introduce the resources option in configs. If this is set, then the i18next-fs-backend package — which is the one importing and using all the node APIs — won't be imported.
The only thing is that you would need to manually import all the translation files (if you are using namespaces). Is there any workaround for this last thing? Maybe a pre-build script that builds the resources object from all the translations files on the locales directory.
I think if this is solved, it can solve all three at the same time (vercel edge, netlify edge and cloudflare workers).

Any news about this issue?


Deeplink: fix web url with custom app scheme transformed to link

Motivation and Context
First try in production #85 worked from https urls shared in mails, message or whatsapp.
But it does not work on a shared url in Facebook application, which open Play web in the internal Facebook web browser.
Play web uses in html header <meta data-react-helmet="true" property="al:ios:url"palysrf://www.srf.ch/play[…]>.
The JS parsePlayUrl parses correctly the urls but as the micro page url is transformed to a link?url=, it keeps the app custom scheme.
It creates a loop and the application stays on the home page.
Description

Update JS parseUrl with a correct https link redirect even if app custom scheme url was given if the deeplink conversion is link?url=.
See https://github.com/SRGSSR/playsrg-mmf/commit/860b1b2bcf9f43cd9ae4512dc53cb8ac6dfdf463 fix and tests.

Checklist

[x] The branch has been rebased onto the main branch.
[x] The green check mark "All checks have passed" is displayed on the PR.
[x] The documentation has been updated (if relevant).
[x] Issues are linked to the PR, if any.

Tested with Play SRF debug build on an iOS simulator:
xcrun simctl openurl booted "playsrf-debug://www.srf.ch/play/tv/micropages/_test-serien-mit-charakter?pageId=11faeeab-eb48-4192-93cf-22e99f1543b8"

Now opening the link in Safari mobile. 💁♂


Odd completion about python function params.

Just like the image above shows,   it should be testParam instead of testParam=.

This is how the jedi library behave, I'm posting an issue to jedi_vim: https://github.com/davidhalter/jedi-vim/issues/691


Support logging to file

When running supervised, support for configuring all logs to a single log file:
OCIS_LOG_FILE=/Users/foo/bar/ocis.log MICRO_REGISTRY=etcd bin/ocis server
Supports directing log from single extensions to a log file:
PROXY_LOG_FILE=/Users/foo/bar/proxy.log MICRO_REGISTRY=etcd bin/ocis proxy
TODO

[ ] add changelog
[ ] add documentation

nice. logging to file and tailing works fine ;-)

Sonar is going to have a hard time with PR's across our extensions, since there is, by definition, lots of duplicated code. I suggest tweaking the duplication setting on the ownCloud quality gate to a value higher than 50%, at least for extension folders, if it is possible. cc @C0rby


Minimum value for Request Throttling config

As per discussion on #565

This needs to get documented (not only that there is a minimum, but why... e.g. the rate limiting alg falls apart when you try to do something too low).

Opened a PR for docs #573


print error log when remote proxy is trapped into errorHandler

What type of PR is this?
/kind bug
What this PR does / why we need it:
We should treate the log of reverseProxy.ErrorHandler as error log. It will help us to find the problem of yurthub, such as x509 error during bootstrap.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/lgtm
/approve


Incorrect Loading with Vim8 Native Pack Management

It seems that this repository is currently incompatible with vim8's native package management. In particular, it seems the colors directory is run before autoload, and therefore the necessary functions aren't defined yet.
Setting after vim has loaded through manually calling colorscheme seems to work fine, but doing so through ~/.vimrc produces the above issue.

I have a minpac (which uses the Vim8 package management feature) based configuration for testing on Vim. I don't have this issue.
autoload is lazy. It can be used from anywhere, the files will load on demand if they are in the runtime path.
I've also just tested by manually putting the plugin in ~/.vim/pack/manual/start/ayu-vim and it works correctly.
If you want to put the colorscheme in opt for some reason, you'll need to do packadd ayu-vim before using it for sure.

I have the plugin added to ~/.vim/pack/colors/start/ayu-vim. After starting vim, I get the following output:
Error detected while processing /home/user/.vim/pack/colors/start/ayu-vim/colors/ayu.vim:
line   18:
E117: Unknown function: ayu#hi
line   19:
E117: Unknown function: ayu#hi
line   20:
E117: Unknown function: ayu#hi
[...]
line  587:
E117: Unknown function: ayu#hi

along with a messed up colorscheme.
I'm not sure what the reason for the difference in loading order is. I realized shortly after posting this issue it could be remedied by explicitly calling packadd ayu-vim before colorscheme ayu in ~/.vimrc, but that shouldn't be necessary given the plugin is in ~/.vim/pack/colors/*start*/. Not sure why using packadd changes the load order, but it seems it does as I don't get any output this way.

I was able to reproduce with Vim 8.1 and 8.2.
However, it seems to work fine with Vim 9.0.
I think this is a bug. There's nothing I can do I think, you'll have to add packadd ayu-vim manually.
Is the theme working properly with this "fix"?

Sorry for the delay. It seems to be working with the packadd addition. I'll close the issue.


feat: explicit ip for the control-plane LB, as Hetzner's automatic IP…

… assignment is broken (not guaranteed to be on the given subnet).
If you let Hetzner assign ip addresses, you get an address in the last created subnet, not in the subnet which you give as an argument. This fix sets the ip for the control plane load balancer explicitly, in line with other resources, so it actually is guaranteed to be in the subnet which it is supposed to end up in.
This is a long-standing bug in Hetzner Cloud, which they know about, and they have no solution for it.

Uhm, where is that created? In my personal setup, the agents load balancer is created by an ingress helm chart with type loadbalancer (and the appropriate annotations to make hetzner deploy the right thing with the right name etc). I don't find a second resource "hcloud_load_balancer_network" in the code base.

@valkenburg-prevue-ch  My bad, I was confused, this is just for the LB, yes way better than to leave it pick any IPs. Merging now.


graph/layout: handle difference between pure go and asm kernels

This fixes the failures seen in #1051.
Please take a look.

Sorry. Not right yet. I didn't commit the var decl change.

PTAL


Init img-link-checker.yml

This PR adds a workflow to extract all the links to images in the .qmd files.
It subsequently checks whether those images can be retrieved or not. If they cannot, it throws an error.
In the future, we might want to add a comment to the PR, but right now I am primarily interested in having an automated check to see whether all image links are functional.

I tested locally and it shows there are no broken links, and also throws an error when introducing a random broken link manually 👍


handle maintopic

a triple such as
OsProject is maintopic of SiDIF

should not lead to creating a context which would make futher topic assignments fail

remove line instead of creating ugly workaround - test then works


The software closes after IPM.Configuration.Autocomplete Delete

Hi, first thanks for this great software... very helpfull...
After deleting the "IPM.Configuration.Autocomplete" the program just closes and the changes are not applied.
Tried multiple times... always the same...
Outlook® for Microsoft 365 MSO (v2109 16.0.14430.20292) 64 bits
Edition	Windows 10 Pro
Version	21H1
OS build	19043.1288
Experience	Windows Feature Experience Pack 120.2212.3920.0

Hi,
I have the same issue. I don't know why do you need to delete IPM.Configuration.Autocomplete, but if you are trying to import your auto-complete list after reinstalling or so, here are my thoughts.
What worked just fine for me was:

Create Outlook profile
Add user email account
Open Outlook (just to connect server and start downloading emails. Do not open anything, new message, or reply)
Close Outlook
Now try to import your auto-complete list (in MFCMAPI you should find that IPM.Configuration.Autocomplete is missing).

I have the same issue with Outlook 2019 v2110 64bit using MFCMapi 64bit. Few commented that the following is a work around, but anytime I right click and select Copy Property, the Paste Property is always greyed out. I have tried many times, numerous ways, and it's like the Copy Property is not even actually copying. Any suggestions?
Posted by someone else

Open the associated contents table of the destination "Inbox" for the new auto complete data
DO NOT DELETE the existing IPM.Configuration.AutoComplete message (note the ConversationID referenced)
Proceed with Folder -> Import of the new auto complete MSG
Refresh the View and you will have two (2) IPM.Configuration.AutoComplete (now with different Conversation ID)
Select the "old" IPM.Configuration.AutoComplete records, right click and Open Message; find each Property with a value of IPM.Congifuration.AutoComplete and delete the property. If a property fails to delete, skip and proceed to next step.
Close the message and select the "new" IPM.Configuration.Autocomplete record and Open Message; find each Property with a value of IPM.Configuration.AutoComplete; righ click and Copy Property.
Close the message and re-open the "old" from step 5. Right click and paste the property. Repeat for each property in step 6.
From Step 5, if a property failed to delete, find the identical property name within the "new" message, right click - Edit Property and copy the Binary string.
Close the message and re-open the identical Property in the "old" message record, right click to Edit the property and paste the binary data.
Restart Outlook and the auto complete should now work. It worked for me. :)

Thanks for the comments... I am gonna try those options... I post my results after the tests.

Any update on this?

closing this until someone shares repro steps

The instructions that I was following (and I assume others were as well) are located here: https://support.microsoft.com/en-us/office/import-or-copy-the-auto-complete-list-to-another-computer-83558574-20dc-4c94-a531-25a42ec8e8f0
From what I recall, the issue occurred on step 2-9.

https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/outlook-mapi-reference only mentions MAPI being supported for up to Outlook 2016. Is it even supposed to work for Outlook 2019 and recent 365 ? Or is that linked documentation incorrect ?


OpenSlides fails in Internet Explorer 11

Try to open OpenSlides 2.0 in IE 11. Fails with JS error:
Die Eigenschaft "src" eines undefinierten oder Nullverweises kann nicht abgerufen werden. Datei: openslides-libs.js, Zeile: 36, Spalte: 16243
Maybe the lib of pdf.js or angular-pdf can't support IE11.
MS Edge browser (on Win10) works successfully.

Some research is done:
The angular wrapper for pdf.js generates the error in this line. Referencing the MDN IE does not support document.currentScript. There are polyfill solutions (e.g. Polyfill from JamesMGreene) but will not work for IE11 (see description from JamesMGreene).
Another wrapper I discoverd work with chrome, firefox and IE11, but this is not that, what we want. Quote: "Embed PDF.js viewer into your angular application, maintaining that look and feel of pdf's we all love. The directive embeds the full viewer[...]". The controls and pdf canvas could not be splitted up, so the controls would be on the projector.
The other solution would be to only use pdf.js and create our own wrapper/implementation of pdf.js. This would take a lot of time and development resources, so I took a quick look in the angular-pdf source code.
Replacing the inner function where the pdfJsSrc is evaluated to return an empty string works for me in chrome, FF, and IE11:
if (!PDFJS.workerSrc && typeof document !== 'undefined') {
   // workerSrc is not set -- using last script url to define default location
   PDFJS.workerSrc = "";
 }

So creating a fork and just changing this part could be a fix for that. But this should be verified by more persons to ensure the fix.
(Remark: if this fix works more code could be removed..)

angular-pdf has released v1.3.1 6 days ago! This release fixed this bug. OpenSlides runs successfully in IE11. Nice.


Eggs losing color

What is the output link of /viaversion dump?
http://hastebin.com/erorezayap.json
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
I am using waterfall
How does this error happen? login? Using an item?
the issue is that on 1.11 mob eggs appear white, on 1.10 they are normal colored
Is there an error in the console? Use pastebin.com. Is there a kick message?
nope

Is this for all the eggs or just the one that got added in 1.11?

Do you mean the mob eggs that were introduced in 1.11?
We don't support new blocks/mobs/items. Things that didn't exist in 1.10 also won't work in 1.11.

no

You mean common spawn eggs turn into white like if they had a wrong entity to spawn, right? That happened to me when I tried to use nbttags to create a custom one for spawning primed tnt xD. But that happens to you with the normal ones I guess, right?

As per request on IRC a while back closing as can't be replicated, if anyone knows how to replicate with correct nbt for specific server version do ask for reopen.


added signature documentation to readme.md

This helps explain how to create a signature hex encoded string from tosign and private key using blockcypher/php-client

Closing that one. If you update it or comment in the coming days Il'l reopen. Thanks !


Port of #9 for node4

This is PR #9 rebased for the node4 legacy branch (which is what I'm still using).

Thanks for this, squash-merged both PRs.
3.3.1@legacy
3.3.0@master


Sample Update - Associate Multiple Site Collections to Hub Site

What's in the pull request

Added SPO Management Shell script to associate multiple SharePoint online site collections to Hub site
Added CLI for Microsoft 365 script to associate multiple SharePoint online site collections to Hub site

Wow a double sample, thank you @ganesh-sanap , your on fire! These will be live shortly 🎉😍


Wakapi Dashboard Timeout Preference

Hey,
in the original wakatime dashboard there is a timeout preference which is adjustable. this significantly changes the time you work on a project.
example:
timeout preference 15 minutes: heartbeat 1 - 1:30pm, heartbeat 2 - 1:50pm
This would not add to the summary, but if i adjust the timeout preference to 20-25 minutes, it would!
Whats the default setting and is there a possibilty to change that?

Sorry if i missed it but i can't find any information about that

Hi, thanks for your feedback! We already have this as a ticket, see #156. However, it doesn't have highest priority.


[epoch processing] Implement process_randao_mixes_reset

https://github.com/lambdaclass/lambda_ethereum_consensus/blob/66059de3653c17ae620ce2aca2db61c558057f6a/docs/specs/beacon-chain.md?plain=1#L2543-L2549
See Spec tests format: https://github.com/ethereum/consensus-specs/tree/dev/tests/formats/epoch_processing
Acceptance criteria:

Run corresponding spec tests by removing https://github.com/lambdaclass/lambda_ethereum_consensus/blob/66059de3653c17ae620ce2aca2db61c558057f6a/test/spec/runners/epoch_processing.ex#L19

I can work on this


Fix typo in error message: "hosing" instead of "hosting"

Closes https://github.com/ruanyl/vim-gh-line/issues/49

Thanks 👍


[newrelic-logging] allow initcontainer configuration

Is this a new chart
No
What this PR does / why we need it:
Originally from @woehrl01 in #1028 (I made a fork of that so the user wouldn't have to keep dealing with tweaks and conflicts)
Adds initContainer to the nri-logging chart. This is needed to provide additional files, like external plugins to fluentbit.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [mychartname])

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: woehrl01:x: bmcfeelyYou have signed the CLA already but the status is still pending? Let us recheck it.


[New game]: Otherworldly Odyssey

🎮 Game Request
It's an adventure role playing game where players will journey through a magical realm full of fantastic creatures, deadly challenges, and hidden surprises.
Point down the features

This game would have an innovative XP system which would make it more engaging and fun to play.
A money system which can be used to buy various products.
A shop where the adventurers can buy elixirs to increase or recover their health or weapons ranging from a simple dagger to a legendary magic wand.
Player can earn money and farm XP by fighting various monsters to ultimately challenge the greatest threat this realm has ever faced an "Ancient Dragon".

Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

@kunjgit please attach gssoc label

Hey @Sam-Orion ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Explain initialization under WSGI

To address #60

Coverage remained the same at 94.641% when pulling 7f27045d6ff7149296f2153b3825a0bf4a7e990b on wsgi into 43213ac6a209c47e5015a1251f9aec2cfdbe8148 on master.


ORC-1561: Remove Java11 and clang variants from docker/os-list.txt in branch-1.7

What changes were proposed in this pull request?
This PR aims to remove Java11 and clang variants from docker/os-list.txt in branch-1.7.
Why are the changes needed?
After the following PR, GitHub Action CI runs all supported OSes and variants (Java 11/clang) at every commit.

#1700

How was this patch tested?
Manual review because this is a removal.

Merged to branch-1.7.


Update lithops to the latest version

Steps

Updated Lithops version in requirement.txt and return back default values for runtime_memory.
Create Docker images for lambda and EC2.
Deploy these images on ECR.
Change CloudWatch log group for these lambda functions.
Remove lambda functions of past versions of lithops.

I had a problem with the automatic update of Lithops on an EC2 instance. I had to create new instances for staging and production envs. Unfortunately, the previous guide no longer works as it should. The first launch of lithops executor is accompanied by the installation of docker as well as lithops and other dependencies on EC2. At the same time, the previously installed versions of the libraries, in particular pyOpenSSL downgraded to version 19, are overwritten. Because of this, the lithops service on EC2 cannot start successfully. Only reinstalling the following libraries helped:
sudo pip install PyYAML==5.4.1
sudo pip install requests==2.31.0
sudo pip install httplib2==0.19.0
sudo pip install urllib3==1.26.16
sudo pip install pyOpenSSL==23.2.0
sudo pip install tblib==1.7.0


Overall improvements in modularity

I had these commits on my side for a couple weeks now, they are not that coupled but it wouldn't make sense to open 4 PRs for such small changes. The overall goal is to make the code more modular and depend less on some imports. Read on per commit basis.

/test

/test

/test

/test

/test

/ci-integration

/test

/test

/test

/test

/test


NEW: updated netlify.toml

What kind of change does this PR introduce?
Updates netlify.toml
Does this PR introduce a breaking change?
no
What needs to be documented once your changes are merged?
no

Sorry for the late response, I was OOO yesterday, but 100% agree with @charliegerard and @talves, I'll make the changes ASAP!


Properly fix rank on search filters.

Uses the useLayoutEffect on setting the initial windowSize. We still use the more general useEffect for event listeners etc so as not to put too much in the synchronous path.
Fixes #6268
Haz jank
https://user-images.githubusercontent.com/31692/114683368-e1967d00-9d07-11eb-91ff-cc5056f13512.mov
Iz jankless
https://user-images.githubusercontent.com/31692/114683477-f70ba700-9d07-11eb-8b30-ea56da1c192d.mov

Nice. I hadn't come across useLayoutEffect. Every day's a school day.

It is synchronous though - so we need to be sparing with it.


Using strings when registering with gulp.task II

The idea has been floated that gulp 4 may eliminate the signature gulp.task(taskNameString, func) in favor of just gulp.task(func). What is the status of that idea? If it's still alive:

What is the motivation for it?
Why is it necessary or important?

I raised concerns about that approach in https://github.com/gulpjs/gulp/issues/969#issuecomment-84975436 that I would really like to see discussed before a decision is made and gulp 4 is released, but my comments dating back almost 3 months haven't been replied to and the issue has remained closed. I'm not going to re-post everything here (you can read it all starting with the comment I just linked to), but here are the highlights:
The premise is exposing a task to the CLI where the name contains a non-identifier character such as :. E.g. build:clean.
Clunky:
buildClean.displayName = 'build:clean';
gulp.task(buildClean);
function buildClean () {}

Worse still, even that doesn't work (or didn't at the time I posted it anyway).
Even clunkier:
var buildClean = function () {};
buildClean.displayName = 'build:clean';
gulp.task(buildClean);

// or

gulp.task(buildClean());
function buildClean () {
  var f = function () {
    // real function
  };
  f.displayName = 'build:clean';
  return f;
}

Another argument against eliminating the name argument is a case like this from the docs where you just want to expose a series / parallel to the CLI:
gulp.task('default', gulp.series('one', 'two', function(done) {
  // do more stuff
  done();
}));

Without name you'd have to (at best) do something clunky like:
gulp.task(function () {
  var task = gulp.series('one', 'two', function (done) {
    // do more stuff
    done();
  });
  task.displayName = 'default';
  return task;
}());

But of course that doesn't even work currently because gulp.series() returns a function with a name prop.

It's optional

@callumacrae It's going to be optional or deprecated? Deprecation is what was floated previously.

Optional, not recommended but not deprecated.

not deprecated.

:+1:


Support nested string interpolations.

Fixed issues/39

https://github.com/Rich-Harris/buble/issues/39

Nice, thank you! There's actually a simpler fix, which is non-obvious unless you happen to be the author of magic-string — by transpiling the contents first, the modifications 'stick' (this wasn't true with an earlier version of magic-string, hence the regression). I applied that in https://github.com/Rich-Harris/buble/commit/6cebe8327389d9044287d8c03fd53723d37fcee7


[Feature]: Switch toggle option

Requirements

[X] I have updated Mushroom to the latest available version
[X] I did a search to see if there is a similar issue or if a pull request is open.

Is your feature request related to a problem?
Request feature for an on/off switch in stead of only color or temperature control buttons.
Describe the solution you'd like
Please add feature
Describe alternatives you've considered
No response
Additional context
No response

ah .. so I'm not the only one searching for a mushroom switch. Kindly request this feature also.

ah .. so I'm not the only one searching for a mushroom switch. Kindly request this feature also.

I now managed to workaround the issue with stack in card and some trial-and-error. See my yaml below. I still need to figure out how to cope with the brightness slider, but that’s for later. Hope it help (or at least a bit).
        - type: custom:stack-in-card
          mode: horizontal
          cards:
            - type: custom:mushroom-light-card
              icon: mdi:looks
              entity: light.boog
              layout: horizontal
              show_brightness_control: true
              secondary_info: none
              collapsible_controls: true
              tap_action:
                action: more-info

            - type: custom:button-card
              entity: light.boog
              show_name: false
              state:
              - value: 'off'
                icon: mdi:toggle-switch-off-outline
                color: grey
              - value: 'on'
                icon: mdi:toggle-switch
                color: orange
              styles:
                card:
                - height: 66px
                - width: 100px

There is a "Device" on/off in the image of README.md, now.... where is it hidden? haha


Experimental RTL-Support

Added very experimental RTL-Support to the library. It's enough for our use (OpenGApps) and I wasnt able to find bigger bugs.
However: The implementation is quite hacky and you might need more work on that. I wanted to share my work on it anyways :)

I just forked your repo and attempted to add RTL support to the example app, but the only thing I found was your isRtl() method...which appears to return a boolean, but doesn't actually enable or disable RTL support.
If you can, please copy and modify the appropriate files in the example app, and add another commit that exemplifies your changes.

I guess we have a little misunderstanding here :) The idea is, that it just automatically works if RTL is enabled :)
So e.g. if I enable RTL on my device, it just works out of the box
So no changes are needed to the example app

@beatbrot OOOOHHHHH!!!! That makes more sense...my bad. You're right...RTL shouldn't be a feauture, but rather an automatic thing that happens should you be using an RTL language. Silly me. Let me test this and I'll get back to you.

Very nice ;)

I was just working on a callable method to force enable RTL/LTR. However, it is rather complicated. Do you think its worth continuing the effort or should we stay with the automatic mode? :)

@beatbrot I think the automated code is better...there's no point in having it customizable.

@beatbrot @Andrew-Quebe
IMO: Let the OS throw the appropriate flags and handle RTL appropriately -- that is the desired behavior on any app really.
If we want to force RTL, that should be only for testing and that can be accomplished by changing a few settings on our own devices~

@avluis RTL is, and should be handled behind the scenes, so that whoever uses it can seamlessly switch between the two without having to write any code.

@Andrew-Quebe Hopefully you have gotten a notification of my quick code review above -- if not, hopefully tagging you here will send you one.

Github doesn't seem to notify of reviews just yet. I'll review your review
when I get home...currently taking a math final at my college :P
On Wed, Dec 14, 2016, 7:18 PM Luis E Alvarado<EMAIL_ADDRESS>wrote:

@Andrew-Quebe https://github.com/Andrew-Quebe Hopefully you have gotten
a notification of my quick code review above -- if not, hopefully tagging
you here will send you one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paolorotolo/AppIntro/pull/379#issuecomment-267227991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALCqGrNVGnKZjWsR6laxoFNZJsxJ8I1eks5rILF8gaJpZM4LFm2m
.

--
Andrew Quebe
<EMAIL_ADDRESS>(714) 386-9735

@Andrew-Quebe OH! I wish you the best of luck from my years back in school (I need to go back) -- I was really good at math so goooooood luuuuuuuuck ruuuuuub~

@beatbrot I'll appreciate if you can review https://github.com/apl-devs/AppIntro/issues/520 and add a comment if it makes sense


Feature (VK): Show more information directly in API Calls list

Currently, when looking at the details of a single vkCmdDraw in the Event Browser, in the API Calls pane you get a list of all the state calls right before it, but unlike the entries in the Event Browser these do not show any details about their parameters:

Details of the parameters are only available if you expand:

It would be nice if they would display directly like:
vkCmdSetStencilCompareMask(VK_STENCIL_FRONT_AND_BACK, 255)

in the API Calls pane so you didn't need to expand them for most common uses.

This would also slightly reduce the need for https://github.com/baldurk/renderdoc/issues/678 .

There are a couple of issues to tackle with this.
One is that the API events are just auto-generated entirely from the debug text the serialiser spits out, there's no concept of which parameter means which or what data is contained. Coming Soon™ there's going to be a new serialisation system which will give more rich information, but right now it's not worth doing a bunch of string parsing to figure it out.
The second is just one of pragmatism, the drawcalls have in-lined information because there's only a small(ish) number of draw functions and each one can have the important parameters manually in-lined in the text. Doing that for every function call though is a large amount of work especially since not all functions have nice easy concise parameter representations - e.g. the vkCmdBindDescriptorSet call just below. Right now I don't think this is going to land on my priority list.
I'd rather go back a step first and figure out what workflow you need where you want parameters visible in-line. For example are you trying to locate where a particular state was changed? This would be better and more easily address by being able to search across the frame for a given pattern, or find the EID where any given state element was last changed.

Fair enough, I had no idea if it was a lot of work to do or not. I was simply trying to check if and where the stencil state parameters changed in a list of draws or not, in order to debug some lazy state tracking, and that involved a lot of expanding those little tree nodes. Being able to search for where a particular state changed would address this particular use case fairly well.

One related small improvement would be to auto-expand the first level of things in the API Inspector when selecting an event where there's just one sub-event. For example when I select vkCmdBeginRenderPass call I almost always want to expand it in the inspector so I can actually see what RenderPass object it is.

That's possible to do, although if the original issue were addressed and the un-expanded view looked like this:

would that still be as much of an issue?

I think that might be sufficient but I'd have to test it in action to be sure.

As part of a larger event browser and API inspector refactor this has been implemented. API calls now show in-line the most significant parameters (the same as drawcalls have shown index/instance counts without offsets), and the event browser can now be filtered to include more than just draws:

The same parameter information is still available by expanding out the calls, this only affects the summary line when unexpanded.


Two-Pass with libx264

According to documentation for using this method we have to run ffmpeg twice like this:
Example:
ffmpeg -y -i input -c:v libx264 -b:v 2600k -pass 1 -an -f mp4 /dev/null && \
ffmpeg -i input -c:v libx264 -b:v 2600k -pass 2 -c:a aac -b:a 128k output.mp4

But I don't know how to run ffmpeg twice in android!

Nobody knows?!

`
ffmpeg.execute(command1, new ExecuteBinaryResponseHandler() {
                         @Override
			public void onSuccess(String s) {
			          ffmpeg.execute(command2, new ExecuteBinaryResponseHandler() {

                                                     @Override
			                              public void onSuccess(String s) {
			        //finished command 2
			                              }

                                  });
			}

         });

`
Like this.

Thanks for your help,
I did exactly what you said but I got an error:
Unable to find a suitable output format for '&&'
as you see in the example the first command ends with: "/dev/null && "
but in android it doesn't know "&&" as an argument!

This is how you can use two-pass encoding in android #129


KAFKA-5098: KafkaProducer.send() dose not block if topic name has ill…

…egal char and generates InvalidTopicException
If config parameter max.block.ms config parameter is set to a non-zero value,
KafkaProducer.send() blocks for the max.block.ms time if topic name has illegal
char or is invalid.
Wrote a unit test that verifies the appropriate exception is returned when
performing a get on the returned future by KafkaProducer.send().
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I had to rebase with upstream/trunk due to build failures. However, the latest commit message has all the review feedback incorporated.


enable native (formerly naive) snapshotter by default

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>Fix https://github.com/containerd/containerd/issues/830 https://github.com/containerd/containerd/issues/1883
The native (formerly naive) snapshotter should be useful for several cases such as:

running containerd in unprivileged mountns (although Ubuntu also allows overlayfs https://github.com/containerd/containerd/pull/2006)
running containerd in another container environment
running apps that does not work well with overlayfs (e.g. opening RO fd and RW fd simultaneously for a single file moby/moby#10180)
running containerd with an old kernel (https://github.com/containerd/containerd/issues/1883)

Other candidate names suggested in Slack:

bob
coe (copy on everything)
copy
copying
generic
java ( runs everywhere but with meh performance)
noverlay
reference
silly
simple

@justincormack @stevvooe Do we want this snapshotter in v1.1?

Codecov Report

Merging #2261 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #2261   +/-   ##
=======================================
  Coverage   41.13%   41.13%
=======================================
  Files          66       66
  Lines        7758     7758
=======================================
  Hits         3191     3191
  Misses       4063     4063
  Partials      504      504

Flag
Coverage Δ

#windows
41.13% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

snapshots/native/native.go
1.8% <100%> (ø)

Continue to review full report at Codecov.

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

@AkihiroSuda I cant remember how you select the snapshotter in the API, so long as it is not the default I think it can safely be compiled in.

LGTM
+1 for including in 1.1 since we also added AUFS and ZFS compiled in

LGTM


mish activation

In testing my data with ResNest, mish activation performs better than the default. However, it requires a change to activation_by_name, as follows:
import tensorflow_addons as tfa
...
elif activation:
if activation == "mish":
return keras.layers.Activation(activation=tfa.activations.mish, name=layer_name)(inputs)
else:
return keras.layers.Activation(activation=activation, name=layer_name)(inputs)

I could issue a pull request for that if you'd prefer.

Thanks for telling me. Added by copying mish from tensorflow_addons. Also another one called phish. Didn't try them myself.
from keras_cv_attention_models import common_layers
xx = np.arange(-4, 6, 0.01)
plt.plot(xx, common_layers.mish(xx), label='mish')
plt.plot(xx, common_layers.phish(xx), label='phish')
plt.plot(xx, tf.nn.swish(xx), label='swish')
plt.plot(xx, tf.nn.gelu(xx), label='gelu')
plt.legend()
plt.grid(True)


Different location for Add button

Is there anything currently built in to allow the add button to be placed in a different location? It currently gets put on the page using the headerTemplate. I did not see anything in the documentation that generates anything for a footer.

Actually, add button can be anywhere. You can redefine any template of control or any other field (filterTemplate, insertTemplate, headerTemplate). Or you can just add this button outside the grid (above or below up to you).
All you need is to call grid API
to show/hide inserting row change inserting option:
$("#jsGrid").jsGrid("option", "inserting", isInserting);

to insert item with data filled in inserting row:
$("#jsGrid").jsGrid("insertItem");


[APPM-292] Attempt to access HouseManager app fails

Attempt to access the House Manager app by clicking on the gateway endpoint url. My browser attempts to authenticate then a failure page is displayed: House Manager Sorry we encountered an internal server error. Try again later. clicking the 'House Manager' URL brings up this page: <am:fault><am:code>404</am:code><am:type>Status report</am:type><am:message>Not Found</am:message><am:description>The requested resource (/HouseManagement/index.jag) is not available.</am:description></am:fault>Reference: https://wso2.org/jira/browse/APPM-292

Not related to IoT server, hence closing the issue.


Lint all the project, not just src

Also move eslint-disable comments to top as best practice.
And now in sync with the LitElement PR: https://github.com/Polymer/lit-element/pull/861 🎉

What does this get us?

Lint all the project instead of just the src folder.

I gather that from the description, but what do we get out of doing that? What code outside of src is worth linting?


ListPicker add ability to filter the control in other ways

Category
[X] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [1.13.1]
Expected / Desired Behavior / Question
Ability to filter list using something other than list template
I think it would be nice to have a promise like callback that would allow the developer to filter, or possibly a filter string that could be sent on the "GET" request or both.

I second this request.
Adding a new property that would allow filtering the list using an OData query (e.g.: Active_x003f_ eq true) would greatly benefit this component as returning all items is not always desired.
I'd be willing to provide a PR to add a new filter property and any other work required.

@gitbrent I've created a PR in the property pane controls. I can copy the changes over to this project or if you'd like to, you can duplicate the changes. PR 189

This has now been copied over from the control project and will be available in version 1.14.0. Please feel free to test out the latest beta to see if it fits your needs. More information about how you can test out a beta version can be found here: https://sharepoint.github.io/sp-dev-fx-controls-react/beta/

Thanks @estruyf - this is precisely what I had envisioned.

This is now included within the 1.14.0 release


Ability to disable NavigationView icon tinting

([x] becomes a filled in checkbox, [ ] is an empty one)

[x] I have verified there are no duplicate active or recent bugs, questions, or requests
[x] I have verified that I am using the latest version of Aesthetic (see the README).
[x] I have given my issue a non-generic title.
[x] I have read over the documentation (before asking questions on how to do something).

If this is a feature request, you can clear everything below.
I want to show original icon colors in drawer layout but cannot apply  navigationView?.itemIconTintList = null as this is masked by  library and i have also tried       android:tag=":aesthetic_ignore" everywhere but its not affecting it also i tried to set itemIconTintList null in the library itself but same result . please help it will be very hepful, Btw awesome library.)

I tried NavigationViewMode.NONE but it is still not showing showing original colors while by Appcompatactivity it is showing original color, please check one more time and thanks for the help , my configuration is this:-
 Aesthetic.config {
           isDark(false)
           colorPrimaryRes(android.R.color.white)
           colorAccentRes(R.color.red500)
           colorStatusBarAuto()
           textColorPrimaryRes(android.R.color.black)
           textColorSecondaryRes(android.R.color.black)
           navigationViewMode(NavigationViewMode.NONE)
       }

And i am using    navigationView?.itemIconTintList = null later in the activity to disable tint

Oh I found the problem - NavigationView items are actually instances of CheckedTextView, so it's getting overridden there. Will fix 😄

Thank you😊😊


⚠ Bofrost.be has degraded performance

In a132618, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 976 ms

Resolved: Bofrost.be performance has improved in 5c556c1 after 6 minutes.


Okhttp how to send the non - keepalive request

@swankjesse I want to use okhttp sends a non - keepalive request, my understanding is okhttp default sends a keepalive request, but I am not sure that's the case, how should I set the non - keepalive?

you can set custom connection pool with zero for maxIdleConnection parameter
okHttpClient.setConnectionPool(new ConnectionPool(0, 0));

note: this is just use case you must declare your connection pool as singleton

Use the following header: Connection: close.

Yes, according to your method is ok, thank you!

@swankjesse I use the code sends the request, see is non - keepalive from the server end, but the reponse header like this:
{"OkHttp-Selected-Protocol":"http/1.1","content-type":"text/plain","accept-ranges":"bytes","Content-Length":"6","Server":"h2o/1.6.0-alpha1","Connection":"keep-alive"}
I'm not sure that my programe is right? Please give some suggest，thaks!
 client_h1 = new OkHttpClient();
 client_h1.setProtocols(Arrays.asList(Protocol.HTTP_1_1)).setConnectionPool(new ConnectionPool(100,10000));
        for (int i = 0; i < request_times; ++i) {
            request = new Request.Builder().url(Url)
                                .addHeader("Connection","keep-alive")
                                .build();
            response = client_h1.newCall(request).execute();


There was a problem connecting to the server dialog and white/blank UI

Since removing a previous Apple Time Capsule from my home network I have started receiving dialogs of an application attempting to read from it even though it is no longer there. I have tracked this down to being the keybase app for some unknown reasons.
The app does not load instantly, hangs, the OSX dialog appears 'There was a problem connecting to the server "time capsule name here"', then instantly after ok-ing this the keybase icon is added to the system bar at the top.
The tray icon is unresponsive, causes pointer beach-balling, and after another hang the "There was a problem connecting to the server" dialog comes back, and after ok-ing this time a keybase window arrives but is entirely white/blank.
Attempted to search for other similar threads to no avail :/

Huh!  Yes, this is the first report we've received like this one.
CC @gabriel @akalin

@keybase/react-hackers
BTW, I've gotten all my chrome based apps to fail and hang (including Alfred, Keybase and Chrome) if I had stopped by an exception in Chrome dev tools.

@cjb is this related to all white bug we've seen reported in other places... I don't know status of that.

This was due to a shared path from a now non-existent external drive being listed in the Login Items list in System Preferences -> Users & Groups -> Login Items. It didn't matter that they were unchecked/unused – simply having them listed there was enough.
Presumably this caused some really odd knock-on effects that seemed entirely unrelated. A couple of days ago it seem like Spotify was also affected by delayed start-up due to this issue. What surprises me is that it even affected starting keybase manually rather than just at start-up time where I'd assume this Login Items list is actually relevant. But no, it was always affected.
Very odd behaviour. Very very odd. and I assume entirely OSX related and very hard to circumvent as an app developer being an OS configuration related fix and nothing that should affect an app.
Very surprised. Closing ticket.


Dynamic plot updating with computed dask chunks

Hello,
if used with a lazy dask array is it possible to show the plot instantaneously and then update the plot iteratively as soon as a chunk is computed?
Maybe this can be done with holoviews.stream Pipe? If so it would be nice to have an example how this can be achieved.
Thank you

A few people have raised this as a possibility, and I think it's a cool idea. Precisely how to make it work probably depends a bit on the type of data, are you imagining using a dask dataframe (i.e. columnar data) or dask arrays (i.e. gridded or raster-like data)?

Probably would be interesting either way. But in my conrete case it is dask arrays.


Can not access sync page

WordPress version: 5.8.1
Always showing Loading available processes...
And get following error from browser console.

ops, I was compatibility issue with this plugin.
https://tw.wordpress.org/plugins/disable-site/


 Thanks for the great project. I downloaded it and installed for offline use.

I'm unable to find a way to define onMouseHover behavior, wherein a menu can be displayed. How should I achieve this?
Do we have to always wrap the icon in a component to use, like it is in the vue 2 checkbox demo? How can I use it with v-menu for onHover or onClick?

Thanks for the help.
Kashyap

Events are not passed because it is hard to do for a functional component. So there are 2 alternative options you can try that might work with events without wrapping: unplugin-icons or iconify-icon.
Since you are using it without API functionality, you can try unplugin-icons: https://github.com/antfu/unplugin-icons It is different component that bundles all icon data, so it is like offline component but without extra overhead. I think it works with events.
Another option is iconify-icon: https://www.npmjs.com/package/iconify-icon It is currently in development. It is not a Vue component, it is a web component, so it might require additional steps to make it work with Vue. Functionality is similar to @iconify/vue: same addIcon() and addCollection() functions, icon can be used by name.

Thanks, will try!


Update authors and contributors

Updating the list of authors and contributors would be a finalization thing.

Closed by #193


Funny characters inside the progress bar

There are funny characters inside the progress bar

Also, the GUI would look a bit less "alien" if the progress bar was not yellow but e.g., grey.

I've had that bug here, too, on my xubuntu desktop. I am not entirely sure why this happens.

Looks like it's some library that breaks this, because local builds work fine. @probonopd what OS did you use?

The above was on Ubuntu 17.10 but I have seen this on other OSes as well.

Yeah, as said before, it's probably one of the bundled libraries that breaks it. Can you try compiling AppImageUpdate from source, please?

As a quick (and for me sufficient) fix, don't write anything in the progress bar?

Closing as the FLTK UI will be replaced by some other framework.


feat: etherscan api key to the config

Proposal:

Add etherscan api key to env.sample
Add etherscan api key to hardhat.config

Was fixed by #83


feat(blog): add Camunda Modeler v3.5.0 release blog post

Do we need that big shadows? And maybe we should remove the ⏸from the right bottom corner.

LGTM now