Add Philips effect cluster and enable it for Hue Go

Proposed change

Adds a new, manufacturer specific, Philips cluster that is used to set effects on certain Hue devices, such as Hue Go.
Additional information

Fixes #2517.
Checklist

[x] The changes are tested and work correctly
[x] pre-commit checks pass / the code has been formatted using Black
[x] Tests have been added to verify that the new code works

Thanks for the PR! Adding custom Hue effects to ZHA is also on my list of things to do eventually.
There's also the new HA EFFECT_OFF that should be added to ZHA, and improve the current effect logic in general.
We'd also need to add the (two) custom effects to ZHA, but only for the Hue lights. This can be done by matching a HueEffectLight class using a quirk_id set in the quirks.
Ideally, I want to avoid matching all Hue light models in quirks individually. We had this in the past for "startup options" (now part of ZCL) and there are way more models now.
IMO, it should be enough to just match by the two manufacturer name (Signify [...]/Philips) and by the signature (correct custom clusters / device type).
I think that this is fine for an initial implementation though. Like mentioned, giving the command params a more descriptive name would be good.

Here is a complete self contained example tested as a custom quirk on my dev instance with model: 7602031U7
note this will require a new release of zigpy w/ the bug fix here: https://github.com/zigpy/zigpy/pull/1348
"""Test Hue Go v2."""

from typing import Final

from zigpy.quirks import CustomCluster
from zigpy.quirks.v2 import add_to_registry_v2
import zigpy.types as t
from zigpy.zcl import foundation

PHILIPS = "Philips"

class PhilipsEffectCluster(CustomCluster):
    """Philips effect cluster."""

    cluster_id = 0xFC03
    ep_attribute = "philips_effect"

    class ServerCommandDefs(foundation.BaseCommandDefs):
        """Server command definitions."""

        set_effect: Final = foundation.ZCLCommandDef(
            id=0x00,
            schema={
                "param1": t.uint8_t,
                "param2": t.uint8_t,
                "param3": t.uint8_t,
                "param4": t.uint8_t,
            },
            direction=foundation.Direction.Client_to_Server,
            is_manufacturer_specific=True,
        )

(
    add_to_registry_v2(PHILIPS, "7602031P7")
    .also_applies_to(PHILIPS, "7602031U7")
    .replaces(PhilipsEffectCluster, endpoint_id=11)
)

Hi there, just curious if there are clear next steps on this PR? Any help needed with testing?

I was on a long trip and just recently came back. The next step I suppose is to test if @dmulcahey implementation can replace my original one on current version, I'd hope that the changes he mentioned before already made it all the way to HA.

Hi there,
I just stumbled upon this PR, and it looks like it has become stale for quite a while. Is there anything this PR is missing that I could help with @BetaRavener @dmulcahey?

I promise to test it out on my Philips Go and HA on 6th of January. If anyone else wants to contribute by then, testing other devices would be definitely nice.

That's great to hear. I will see what I can do about testing on other devices.


Add Alabama statewide addresses

We tried to add statewide addresses in Alabama via https://github.com/openaddresses/openaddresses/pull/1905, but the remote server wasn't reliable.
Filing this away for a rainy day. Perhaps a call to them might fix it?

I managed to pull the data down with 3 runs of pyesridump but wasn't able to make heads or tails of when to use ADD1 or ADD2.  The 2 fields seem to be blank, an address with unknown mailing address or situs, or just contain PO boxes.  Sometimes both fields were PO boxes!

pull not working. Killing.


Trim down the API response for updated notes

We currently return the full note every time a note is updated, while the frontend only need the sharing ID and the date. We could save quite a bit of bandwidth by trimming down the response to only include these fields.

Fixed in fc01ee2


Fix for #1999 not working on all platforms

Apparently, the fix  for bug #1999 does not work on some platforms, as you can see from this failed ppc64le Fedora build:
https://kojipkgs.fedoraproject.org//work/tasks/9545/33109545/build.log
29: [22:18:53] Testing Github 1999: pickling atom map numbers >127 gives negative values
29: terminate called after throwing an instance of 'RDKit::MolPicklerException'
29:   what():  std::exception
29/140 Test  #29: graphmoltestPickler ................Child aborted***Exception:   0.97 sec

Thanks for reporting this @giallu
I can guess what the problem is, but since I can't directly test on POWER8 hardware myself (at least I don't think I can), I can't confirm that.
Can you test to see if the fix on this branch works?
https://github.com/greglandrum/rdkit/tree/fix/github2311
Here's the diff:
diff --git a/Code/GraphMol/MolPickler.cpp b/Code/GraphMol/MolPickler.cpp
index 54b18a1b7..a12e65f55 100644
--- a/Code/GraphMol/MolPickler.cpp
+++ b/Code/GraphMol/MolPickler.cpp
@@ -1486,7 +1486,10 @@ Atom *MolPickler::_addAtomFromPickle(std::istream &ss, ROMol *mol,
         }
         int tmpInt;
         streamRead(ss, tmpChar, version);
-        if (tmpChar < 0 && version > 9000) {
+        // the test for tmpChar below seems redundant, but on at least
+        // the POWER8 architecture it seems that chars may be unsigned
+        // by default.
+        if ((tmpChar < 0 || tmpChar > 127) && version > 9000) {
           streamRead(ss, tmpInt, version);
         } else {
           tmpInt = tmpChar;

Yep, it worked:
https://koji.fedoraproject.org/koji/taskinfo?taskID=33243830
Now digging for the failures on the other platforms.

That's excellent!
If you can point me to other cross-platform failures like that I will clear up as many as I can with one PR.

Now I'm having a look at the S390 failures (don't even know what's that :confused: ) and several are related to tests that are performed on libraries not built. Example, in: https://kojipkgs.fedoraproject.org//work/tasks/3835/33243835/build.log
We can see:
BUILDSTDERR: Skipping build of SimDivPickers on big endian system
BUILDSTDERR: Skipping build of clustering and cmim libraries on big endian system

And later:
Start 134: pythonTestDirDataStructs
134: Test command: /usr/bin/python3 "/builddir/build/BUILD/rdkit-Release_2018_09_2/python3/rdkit/DataStructs/test_list.py" "--testDir" "/builddir/build/BUILD/rdkit-Release_2018_09_2/python3/rdkit/DataStructs"
134: Test timeout computed to be: 10000000
134: Traceback (most recent call last):
134:   File "UnitTestDocTests.py", line 16, in <module>
134:     from rdkit.Chem.Fingerprints.FingerprintMols import FingerprinterDetails
134:   File "/builddir/build/BUILD/rdkit-Release_2018_09_2/python3/rdkit/Chem/Fingerprints/FingerprintMols.py", line 32, in <module>
134:     from rdkit.ML.Cluster import Murtagh
134:   File "/builddir/build/BUILD/rdkit-Release_2018_09_2/python3/rdkit/ML/Cluster/Murtagh.py", line 17, in <module>
134:     from rdkit.ML.Cluster.Clustering import MurtaghCluster, MurtaghDistCluster
134: ModuleNotFoundError: No module named 'rdkit.ML.Cluster.Clustering'
134: ......FF.F.F..UnitTestcBitVect.py:42: DeprecationWarning: Please use assertRaisesRegex instead.
134:   with self.assertRaisesRegexp(IndexError, ""):

"The IBM System/390 was the third major generation of the System/360 line of computers, introduced in 1990 and superseded in 2000." (https://en.wikipedia.org/wiki/IBM_System/390)
Not exactly super relevant, :-)
Still, it's easy enough to detect if those modules haven't been built and skip the relevant tests.

Yeah, I don't even know why the builds are blocked on these platforms failures, but well...
On the other hand, both armv7hl and i686 (again, not really "modern" stuff) seem to be stuck on the enumeration test #56:
https://koji.fedoraproject.org/koji/getfile?taskID=33243836&volume=DEFAULT&name=build.log&offset=-4000

The hang in testEnumeration on 32bit systems is #2209
It's fixed and will be in the next patch release (should have been in the last one, but I forgot to tag the issue properly).

Ok, I applied the patch in #2209 and kicked a new build;
https://koji.fedoraproject.org/koji/taskinfo?taskID=33269633
Enumeration now passing, but I've got 39 python tests failing (most of them with a segfault) in i686 and armv7:
https://kojipkgs.fedoraproject.org//work/tasks/9637/33269637/build.log
something else still going on in s390, but it seems we're getting there...

Many of those i686 failures really look like there's a problem with the python installation.
That many segfaults, and all in python tests, tends to point to a library mismatch. Often this is because the RDKit was built against a different version of numpy or boost-python than what is begin found when the tests are run

I'm looking into the s390 things now, but I suspect that this system may need to be removed from the build matrix. Given how old it is, that doesn't strike me as a huge problem... I don't think there are likely to be all that many people using the RDKit on 20 year old minicomputers. :-)

Could you please try: https://github.com/greglandrum/rdkit/tree/fix/github2311_rel
and see if that helps?
 I'm running the CI build again, but you should hold off until at last part of this build passes:
https://travis-ci.org/greglandrum/rdkit/builds/503541793
sorry about that


tempfix: set upperbound on torchmetrics version

torchmetrics had soem breaking changes with the 0.7.0 version. as a temporary fix set an upper bound on the torchmetrics version. A long term solution will be applied when fixing #23

Codecov Report

Merging #24 (735cbef) into main (c3af5d9) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
- Coverage   58.13%   58.05%   -0.08%
==========================================
  Files          76       76
  Lines        5611     5598      -13
  Branches     1196     1196
==========================================
- Hits         3262     3250      -12
  Misses       2040     2040
+ Partials      309      308       -1

Flag
Coverage Δ

unittests
58.05% <ø> (-0.08%)
:arrow_down:

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

Impacted Files
Coverage Δ

meddlr/engine/trainer.py
44.26% <0.00%> (-1.49%)
:arrow_down:

meddlr/data/catalog.py
59.57% <0.00%> (-1.26%)
:arrow_down:

meddlr/evaluation/evaluator.py
23.30% <0.00%> (-0.74%)
:arrow_down:

meddlr/data/data_utils.py
38.13% <0.00%> (-0.52%)
:arrow_down:

meddlr/evaluation/seg_evaluation.py
59.19% <0.00%> (-0.24%)
:arrow_down:

meddlr/engine/hooks.py
30.38% <0.00%> (ø)

meddlr/config/config.py
58.16% <0.00%> (+0.10%)
:arrow_up:

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 c3af5d9...735cbef. Read the comment docs.


docs: Update docs after release 3.13.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4193

Relevant Lines:
4691

💛  - Coveralls


Make sure readme.md documentation is up to date

Before we go to version 1.0 - make sure this is in good shape

This now looks good as we can get it without comments from others.


Add missing TraceLoggingRegister calls

17cc109 and e9de646 both made the same mistake: When cleaning up our
telemetry code they also removed the calls to TraceLoggingRegister
which also broke regular tracing. Windows Defender in particular uses
the "CookedRead" event to monitor for malicious shell commands.
This doesn't fix it the "right way", because destructors of statics
aren't executed when DLLs are unloaded. But I felt like that this is
fine because we have way more statics than that in conhost land,
all of which have the same kind of issue.

Unfortunately, this has exploded Audit Mode


[DO NOT INTEGRATE] Revert "ISPN-10216 Implement bloom filter based near cache invalidati…

…ons"
This reverts commit c30d5eec14e7877b8130ce0a01ec96f3ef26fcbd.

This PR is just to test perf ack for bloom filters.

The perf ack was never able to confirm performance. It is unclear if the problem was the test setup or not.


M_Effect not playing at the message end

There seems to be a bug where message effect is not ran when placed at the end of file if no newline or other character is present (in story mode). Most likely bug in parsing the file.

Update: On Linux if effect is at the very end without new character the effect gets initialized but apply is not called. Adding any character after it fixes the problem.

Bug found: when processing message, the effects are applied to characters, when Tag is found the logic to apply effects is not executed, so when the tag is at the end it gets skipped and then the next message is added, so the effect is never ran.
Problem is, this is actually expected. Figure out how to handle the fadein/fadeout then, maybe move to client?

Idea: This could be solved by keeping the newline characters as the last characters. This makes sense from user perspective, makes everything work correctly and does not require significant changes. This would require updating message display mechanism to keep newlines and to detect that newline is the last symbol in message (since normally this adds new line, but it shouldn't if its the last character)


Android 14 not open

e: file:///Users/srinathvishgyana/.pub-cache/hosted/pub.dev/flutter_foreground_task-8.14.0/android/src/main/kotlin/com/pravera/flutter_foreground_task/MethodCallHandlerImpl.kt:23:5 Unresolved reference: FlutterForegroundTaskPluginChannel
e: file:///Users/srinathvishgyana/.pub-cache/hosted/pub.dev/flutter_foreground_task-8.14.0/android/src/main/kotlin/com/pravera/flutter_foreground_task/MethodCallHandlerImpl.kt:171:5 'init' overrides nothing
e: file:///Users/srinathvishgyana/.pub-cache/hosted/pub.dev/flutter_foreground_task-8.14.0/android/src/main/kotlin/com/pravera/flutter_foreground_task/MethodCallHandlerImpl.kt:176:5 'setActivity' overrides nothing
e: file:///Users/srinathvishgyana/.pub-cache/hosted/pub.dev/flutter_foreground_task-8.14.0/android/src/main/kotlin/com/pravera/flutter_foreground_task/MethodCallHandlerImpl.kt:180:5 'dispose' overrides nothing

@srinathvgts
This issue seems to be related to the local build cache.
try command
flutter clean
flutter pub get
flutter run

from android 14 it need to pass service type when going to startService,
service type like:
healt
data_sync
...

This issue is a known problem, and I believe it has been resolved through a build clean.
I will close this issue.


Unable to submit an item using upload file

When using the New Submission, Upload a file the details from the file are not extracted. I have tried this with a ris file and a bibtex file. No errors are logged. But looking at the code
In SubmissionLookupJSONRequest.java when doing the BTE transformation, it creates a new TransformationSpec, but this creation fails with a null pointer error. Line 293. The exact error is
Method threw 'java.lang.NullPointerException' exception. Cannot evaluate gr.ekt.bte.core.TransformationSpec.toString()

The TransformationSpec is defined in bte-core-<IP_ADDRESS>-sources.jar
I don't think that this is the whole reason why the upload is failing though, it looks like the TransformationSpec may need setting up.

I think I resolved with this commit:
7e4959078447c8558f75c34a8561825aa872e5b5
Thank you very much

Thank you, yes that works now. Greatly appreciated.


Ferdi and Matrix?

I can't see how to add matrix to the services.

It is called riot

If anyone else accidentally finds this, it might be called Element now due to their rebranding.


New version: GiulioSorrentino.wheelofnumfortune.avalonia version 0.3

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-11-19 18:24:50.291 [FAIL] Installer failed security check. Url: https://github.com/GiulianoSpaghetti/wheelofnumfortune.avalonia/releases/download/0.3/wheelofnumfortune.avalonia-0.3-amd64.msi Result: 0x80004005
MSI (s) (68:04) [18:24:14:959]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (68:04) [18:24:14:959]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (68:04) [18:24:14:959]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (68:04) [18:24:14:959]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (68:04) [18:24:14:959]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (68:04) [18:24:16:878]: Executing op: ComponentRegister(ComponentId={AD320266-F7AB-5CDE-8889-6FB989C181EC},KeyPath=2285\SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules\C:\Program Files\dotnet\shared\Microsoft.NETCore.App\9.0.0\mscordaccore.dll,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1)
MSI (s) (68:04) [18:24:19:128]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Microsoft\Windows\Windows Error Reporting\RuntimeExceptionHelperModules,,BinaryType=1,,)
Property(S): ErrorDialog = ErrorDlg
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
MSI (s) (68:AC) [18:24:19:862]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (68:AC) [18:24:19:862]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (68:AC) [18:24:19:862]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (68:AC) [18:24:19:862]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (68:AC) [18:24:19:862]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (68:F8) [18:24:20:738]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (68:F8) [18:24:20:738]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (68:F8) [18:24:20:738]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (68:F8) [18:24:20:738]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (68:F8) [18:24:20:738]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (68:AC) [18:24:22:503]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (s) (68:AC) [18:24:22:503]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (s) (68:AC) [18:24:22:503]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (68:AC) [18:24:22:503]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (68:AC) [18:24:22:503]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 898.)


Map on Boardings page

The map on the boardings page shows points by specifying a list of _ids in the SDK for filtering. The filter should be by agency which is retrieved from the User collection (can be retrieved on login). This should be applied to all other maps and charts in the web app. Eventually users will be able to see data from more than their own agency - if they have sharing permissoins - so that filtering will be changed at that time. For now though - the map on the boardings page does not render when there are too many _id values being passed.

duplicate of #58


Assertion `!pthread_mutex_lock(&m)' failed.

Ubuntu 16.
After running IOND for a while:
iond: /usr/include/boost/thread/pthread/recursive_mutex.hpp:113: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed.
Aborted (core dumped)

Mainnet

https://github.com/bitcoin/bitcoin/issues/2472


Python 3.6.9 support?

Hi. I've been trying to use your code in google colab to manage file G-drive videos. but unfortunately, colab is running python 3.6.9, and the "future" module is not defined in this version. Is there any chance I can use your code there?

The future module is only needed for the annotations regarding the types of the function parameters and the return types of the functions, which eases understanding the code, but is not necessary to run it. So, if you delete these annotations, you should also be able to delete the import of the future module.

Thanks for your answer. I've already deleted the future module but It keeps getting this error:
Traceback (most recent call last):   File "pyvideothumbnailer.py", line 63, in <module>     class PyVideoThumbnailerParameters:   File "pyvideothumbnailer.py", line 137, in PyVideoThumbnailerParameters     def from_defaults() -> PyVideoThumbnailerParameters.PyVideoThumbnailerParameters: NameError: name 'PyVideoThumbnailerParameters' is not defined
I should say that I'm not an expert using Python and so I might be doing something wrong somewhere. (I even changed some parts on functions but still nothing)
Can you fix this for me so I can use it?

Thanks. I got it solved by removing annotations. Here's something else I don't know what to do about it. when I choose to scan subdirectories with the --recursive [path of files] command, I get this error,
Traceback (most recent call last):   File "pyvideothumbnailer.py", line 786, in <module>     process_file_or_directory(params)   File "pyvideothumbnailer.py", line 536, in process_file_or_directory     process_file_or_directory(file_path, True) TypeError: process_file_or_directory() takes 1 positional argument but 2 were given
Is this also related to the future module or it's about something else?
I gotta tell you I'm not a Python expert :) Yet!

Support of Python <= 3.7 is not planned to be enabled.


Remove Unused References command doesn't appear

Hi. I have a winforms app and i use Microsoft Visual Studio Community 2019 Version 16.11.27
Remove Unused References command doesn't appear.

Although the relevant option is ticked.

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

ID: 83570d18-e0b6-0097-6966-1ffd6856955e
Version Independent ID: 2a191933-b3ab-60ae-3e31-f1fb129ceefa
Content: Remove unused references - Visual Studio (Windows)
Content Source: docs/ide/reference/remove-unused-references.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @mikadumont
Microsoft Alias: midumont

@ozerkon -- thank you for your feedback.  Please consider these resources:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Check the Visual Studio MSDN Forum.
Stack Overflow
Reddit

@mikadumont -- please look into this potential documentation issue.


Waiting for SSH service on <IP_ADDRESS>:32777, retrying in 3 seconds - loop

I had this all working at some point but something appears to have come loose in a recent version of docker.
D      [kitchen::driver::docker command] BEGIN (docker -H tcp://<IP_ADDRESS>:2376 port 183ddb4bcf7c267e8ad91dd13f696b2f0af5d1f9e91756272e4dee00cb77e460 22/tcp)
       <IP_ADDRESS>:32777
D      [kitchen::driver::docker command] END (0m0.03s)
D      [SSH] opening connection to kitchen@<IP_ADDRESS><{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>32777, :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :password=>"kitchen"}>
D      [SSH] connection failed (#<Net::SSH::Disconnect: disconnected: Too many authentication failures for kitchen (2)>)
       Waiting for SSH service on <IP_ADDRESS>:32777, retrying in 3 seconds
D      [SSH] opening connection to kitchen@<IP_ADDRESS><{:user_known_hosts_file=>"/dev/null", :paranoid=>false, :port=>32777, :compression=>true, :compression_level=>6, :keepalive=>true, :keepalive_interval=>60, :timeout=>15, :password=>"kitchen", :user=>"kitchen"}>
D      [SSH] connection failed (#<Net::SSH::Disconnect: disconnected: Too many authentication failures for kitchen (2)>)
       Waiting for SSH service on <IP_ADDRESS>:32777, retrying in 3 seconds

Gemfile
source "https://rubygems.org"

gem 'test-kitchen'
gem 'kitchen-docker'
gem 'kitchen-ansible'
gem 'serverspec'

.kitchen.yml
---
driver:
    name: docker
    use_sudo: false

provisioner:
    hosts: test-kitchen
    name: ansible_playbook
    roles_path: roles
    ansible_verbosity: 2
    ansible_verbose: true

platforms:
    - name: centos
      driver_config:
          image: stackio/ansible-centos6
          platform: centos
suites:
    - name: default

docker --version - Docker version 1.11.0, build 4dc5990
kitchen --version - Test Kitchen version 1.7.3

If I run docker ps after running kitchen create I get:
→ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                   NAMES
538dca6851ab        994f402e05d6        "/usr/sbin/sshd -D -o"   7 minutes ago       Up 7 minutes        <IP_ADDRESS>:32777->22/tcp   goofy_dubinsky

Have you tried ssh manually to see if it works? ssh -i ./.kitchen/id_doccker_rsa -p  32777<EMAIL_ADDRESS>Or even the command what it the driver is trying to run to see what the output is? docker -H tcp://<IP_ADDRESS>:2376 port 183ddb4bcf7c267e8ad91dd13f696b2f0af5d1f9e91756272e4dee00cb77e460
Sometimes when I have restarted the docker daemon test kitchen loses its reference to the right container and have to do a destroy and starting again.

I know what it is.
I have 5+ keys in my ssh-agent and it's looping through them before it gets to the ./.kitchen/id_doccker_rsa. I've hit this problem a few times but I forgot until I ran the ssh command you just gave me with the -vvvv verbose flag.
The solution is to remove a key  ssh-add -d /Users/ashleyconnor/.ssh/* and check that you have less than 5 with  ssh-add -l.


Format String across multiple measures not working.

Hi there
When I select multiple measures and then select "Format String" and change them all to be whole number it does not change all the measures with the new format string.
I am using TE 3.3.3

Transferring issue to Tabular Editor 3 GitHub site


Logical replication

HI @roji out of curiosity (and procrastination) I've rebased this and updated it so that it builds again and passes CI tests.
Just in case you want to update it.

Thanks for the help, have rebased once again on latest dev and force-pushed to https://github.com/npgsql/npgsql/pull/2477, keeping your commit.


Introduce CLA(Contributor License Agreements) for external contributors.

We might need CLA for contributors to ensure that once someone has provided a contribution, you cannot try to withdraw permission for its use at a later date.

https://cla.github.com/
https://cla.developers.google.com/

Could i take this issue?

@romandev Please add CLA file in your gist.
Because CLA file must be added in personal account gist, I think your gist (owners gist) is better than mine.

After then I will add CLA badge in README.md file 👍


Issue with "Bonfire: Make a Person"

Challenge http://freecodecamp.com/challenges/bonfire-make-a-person has an issue.
The full name is passed through the constructor as "Bob Ross"
One of the tests is:
expect(bob.getFullName()).to.eql('Bob Ross');
which I pass. But at the end is another test:
expect(bob.getFullName()).to.eql('George Carlin');
Is that really the intention? Given the constructor, I can't see why the output from bob.getFullName() should ever be 'George Carlin'.

@thefuzzyOne The purpose of the test is to test your setter's ability to rename your person. I know it looks strange but effectively the test tries to reset the person's name to George Carlin and then tests to see if it happened successfully. Hope that helps.

You're absolutely right. Sorry for being such a muppet. I'd best go back and "unslime" it. :)


Raspberry Pi Kiosk-View

Only show preview of one user at a time.
Define some form of rotation / priority between users shown.
Users shown are defined in a config file for each client.
No login.
No access to browser.

Kiosk View should be whats viewed on the device(e.g RPi).
Configurable by admin for what should be shown on the device.
Cookie that contains the unique id(Guid/uuid), which the server uses to filter data to send to client.
Create config templates.


Release sdk/resourcemanager/deploymentmanager/armdeploymentmanager v0.1.0

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run prepare-pipelines

/azp run go - armdeploymentmanager - ci

/check-enforcer override


Unfortunately, your request to provision "Custom learning for Office 365"  template failed.

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
(DELETE THIS PARAGRAPH AFTER READING)

Category

[ ] Question
[ ] Typo
[ Type = System.Exception Message = {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}} Source = OfficeDevPnP.Core TargetSite = Void MoveNext() StackTrace = at OfficeDevPnP.Core.ALM.AppManager.d__39.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OfficeDevPnP.Core.ALM.AppManager.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OfficeDevPnP.Core.ALM.AppManager.Add(Byte[] file, String filename, Boolean overwrite, AppCatalogScope scope, Int32 timeoutSeconds) at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.Utilities.TenantHelper.ProcessApps(Tenant tenant, ProvisioningTenant provisioningTenant, FileConnectorBase connector, TokenParser parser, PnPMonitoredScope scope, ProvisioningTemplateApplyingInformation applyingInformation, ProvisioningMessagesDelegate messagesDelegate) at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchyTenant.ProvisionObjects(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation provisioningInfo) at Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation applyingInformation) at SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__0.MoveNext() in C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line 337 HResult = -2146233088] Bug
[ ] Additional article idea

For the above list, an empty checkbox is [ ] as in [SPACE]. A checked checkbox is [x] with no space between the brackets. Use the PREVIEW tab at the top right to preview the rendering before submitting your issue.
If you are planning to share a new feature request (enhancement / suggestion), please use SP Dev UserVoice at http://aka.ms/sp-dev-uservoice. (DELETE THIS PARAGRAPH AFTER READING)
(DELETE THIS PARAGRAPH AFTER READING)

Expected or Desired Behavior

If you are reporting a bug, please describe the expected behavior. If you are suggesting an enhancement please describe thoroughly the enhancement, how it can be achieved, and expected benefit.
(DELETE THIS PARAGRAPH AFTER READING)

Observed Behavior

If you are reporting a bug, please describe the behavior you expected to occur when performing the action. If you are making a suggestion, you can delete this section.
(DELETE THIS PARAGRAPH AFTER READING)

Steps to Reproduce

If you are reporting a bug please describe the steps to reproduce the bug in sufficient detail to allow testing. Only way to fix things properly, is to have sufficient details to reproduce it. If you are making a suggestion, you can delete this section.
(DELETE THIS PARAGRAPH AFTER READING)

Submission Guidelines

All suggestions or bugs are welcome, please let us know what's on your mind.
If you are reporting an issue around any of the documents or articles, please ensure that you have clear > reference on the specific file or URL, which should be fixed.
If you have technical questions about the framework, we’ll be monitoring #spfx, #spfx-webparts, and > #spfx-tooling on (SharePoint StackExchange)[http://sharepoint.stackexchange.com/]. You can also > alternatively submit your question to (SharePoint Developer group)> [https://network.office.com/t5/SharePoint-Developer/bd-p/SharePointDev] at Office Network.
Remember to include sufficient details and context.
If you have multiple suggestions or bugs please submit them in separate bugs so we can track resolution.

(DELETE THIS PARAGRAPH AFTER READING)

Thanks for your contribution! Sharing is caring.

The error blob you copied says the problem:

Type = System.Exception Message = {"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}

You don't have the appropriate permissions. Refer to the permission requirements here:
https://provisioning.sharepointpnp.com/home/contentPage?contentPageId=ServiceDescriptionLong
In the future, please read the notes in the new issue template as simply pasting an error doesn't provide any context to best assist or answer your question.


USB OTG support for the  NanoPi Neo Air

It appears, that there is currently no support for g_ether for USB OTG for the NanoPi Neo Air
From this comment: https://github.com/balena-os/resin-os-device-support/issues/38#issuecomment-472475474

any news about the process or the roadmap for this issue?

Sync


num workers

Hi @drprojects , I have a question about the number of workers. I have a system with 53GB of RAM, and during training, I get the error 'dataloader's workers are out of shared memory'. I want to know if I can set the number of workers to be smaller. Thank you for your effort.

Hi, yes feel free to change the number of workers if that helps on your machine. This parameter can be found at datamodule.num_workers in the config.


Icon.getImageSource undefined (custom icon fontello)

I created custom TTF font through fontello. Using below statements to load the Icon object.
import {createIconSetFromFontello} from 'react-native-vector-icons';
import config from './config.json'
export const Icon = createIconSetFromFontello(config);

When I am issuing below statement
     Promise.all([
        Icon.getImageSource("menu", 30),
    ]

Error: undefined is not an object, (evaluating _icon2.default.getImageSource
Please help?

Hey, i actuall did that still got the same error
import Icon from 'react-native-vector-icons/FontAwesome';
Icon.getImageSource('user', 20, 'red').then((source) => this.setState({ userIcon: source }))
and then i get fontAwesome2.getImageSource is not a function.

We’ve just released a major new version with significant changes and improvements. If you’re still experiencing this issue after upgrading, please open a new issue with updated details. We're closing all the very old issues to get on top of things. Thanks for your patience!


chore: rename and add comments to server-running function

This change is

Codecov Report
Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 83.49%. Comparing base (09efafe) to head (a15bbd8).

Files
Patch %
Lines

crates/mempool_node/src/servers.rs
0.00%
4 Missing :warning:

crates/mempool_node/src/main.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
- Coverage   83.54%   83.49%   -0.05%
==========================================
  Files          37       37
  Lines        1720     1721       +1
  Branches     1720     1721       +1
==========================================
  Hits         1437     1437
- Misses        206      207       +1
  Partials       77       77

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


Bump up to ruby 2.4.x

Appveyor build recently failed due to chef-dk requiring ruby 2.4. Let's try requiring ruby 2.4 in our CI config.

Looks good! Thanks for taking ownership and supporting macos as well.  Do you plan to support jdk9 or jdk10 as well?

@dhoer: No prob! I was just trying to get builds switched over green before diving in.
Quick question for you: Is there a release process for the supermarket? Or does it just watch for releases via github? I've helped manage internal chef cookbooks for a while, but never anything public via the supermarket.

I manually released because of testing against windows on appveyor and mac on travis requiring a different branch.  But both travis ci and appveyor can be configured to manually or automatically deploy.  https://docs.travis-ci.com/user/deployment/chefsupermarket/


Sigmoid layout bugfix

Allow sigmoid mkldnn op to query input and output layouts. Added unit test to verify the before (failure) and after (correct) results. Shape channel size is a non multiple of 8 or 16 to trigger mkldnn layout convert to pad with zeros.

TESTNOW

I'm not sure if these new errors are false positives or not.


Problems with uploading firmware ch32v003f4p6

Discussed in https://github.com/Community-PIO-CH32V/platform-ch32v/discussions/29

Originally posted by Alex-IC June 18, 2023
I’m trying to upload code via Platformio ->Upload and getting an error:
Total         1875
<lambda>(["upload"], [".pio\build\genericCH32V003F4P6\firmware.elf"])
AVAILABLE: isp, minichlink, wch-link
CURRENT: upload_protocol = wch-link
openocd -c "debug_level 2" -s C:\Users\Alexey\.platformio\packages\tool-openocd-riscv-wch\bin -s C:\Users\Alexey\.platformio\packages\tool-openocd-riscv-wch\scripts -f wch-riscv.cfg -c init -c halt -c "program {.pio\build\genericCH32V003F4P6\firmware.elf} verify reset" -c shutdown
Open On-Chip Debugger 0.11.0+dev-02415-gfad123a16-dirty (2023-01-03-10:00)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
debug_level: 2

Info : only one transport option; autoselect 'sdi'
Warn : Transport "sdi" was already selected
Ready for Remote Connections
Info : WCH-LinkE  mode:RV version 2.7
Info : wlink_init ok

*** [upload] Error 1
========================================================================== [FAILED] Took 2.58 seconds ======================

What could be the problem? Through the WCH Link Utility it is stitched without problems.
Chip ch32f008f4p6
VSCode 1.79.2
PlatformIO 6.1.7
OS Windows_NT x64 <IP_ADDRESS>63

Info : WCH-LinkE  mode:RV version 2.7

The firmware on mine is 2.8.
Info : only one transport option; autoselect 'sdi'
Warn : Transport "sdi" was already selected
Ready for Remote Connections
Info : WCH-LinkE  mode:RV version 2.8

I think since we're using the latest OpenOCD you also need the latest firmware version.
Can you install the very latest version of MounRiver Studio Version and check if you can do a firmware update of your WCH-LinkE to v2.8?

Huh, even I am not on the latest version. After the latest MounRiver Studio update, when I go Flash->Download in a CH32V003 template project, it asks me to update too.

Welp, let's try this out then.. Worst case I have to update OpenOCD again everywhere.

And PlatformIO still works fine with the updated firmware version.


Fix FlipView Url issue

@ramtinak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

#sign-off


[Minds] Add new extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

This adds support for Minds' channel pages, single newsfeed pages, and media pages which play a video. Fixes issue #13220.
This requires cookies to work even if not logged as the XSRF-TOKEN string must be used with all API calls. The x-xsrf-token header value used in API calls is taken from cookies. If you have your XSRF taken from the site, you can save it to a file like so:
printf '.minds.com\tTRUE\t/\tTRUE\t15624050615\tXSRF-TOKEN\t< TOKEN VALUE HERE >\n' >> ~/.ytdl-minds-cookies

Then use cookies:
youtube-dl --cookies ~/.ytdl-minds-cookies 'https://www.minds.com/ottman'

This closes #13220

Are there any updates to this?
using latest version

ERROR: Unsupported URL: https://www.minds.com/newsfeed/..

The general newsfeed is not supported in this PR but that would not be too hard to support. Only /newsfeed/<some ID here> newsfeed URLs are supported.

Bump

@dstftw If you want me to make changes, I'll need to re-make this PR. I asked GitHub and they cannot fix branch references.


Incorporate Flyway migrations to the application

Make sure the name everything, including all constraints and sequences, correctly in order to be found and updated later.  Or else they are given random names.

  Might be a kotlin thing. Don't think so.


Upgrade android implementation to compileSdk 34

Upgrades both the plugin and the example app to use compileSdk 34. Also bumps the targetSdk of the example app to 34, as otherwise the install is blocked by system policies.
Also makes some required changes to the manifest and app-level build.gradle:

Removes the package attribute in example AndroidManifest.xmls. See the docs here.
Sets an explicit value for exported in example AndroidManifest.xmls. This is required when targetSdk to >= 31. See the docs here.

I believe I'm actually unable to sign the CLA, so I'll close this PR.


Refactor settings to make possible override in settings

This refactor the settings to make easy to override by using https://docs.djangoproject.com/en/1.10/topics/testing/tools/#overriding-settings
Trick by Guido Van Rossum himself:
# module foo.py

import sys

class Foo:
    def funct1(self, <args>):
    def funct2(self, <args>):

sys.modules[__name__] = Foo()

See https://mail.python.org/pipermail/python-ideas/2012-May/014969.html

anyone available for a review?


chore(main): release 0.2.0

:robot: I have created a release beep boop
0.2.0 (2023-03-06)
Features

add usb ID of Arduino Uno (0f67b9f)

Bug Fixes

catch error (2957d8e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Hackuarium/legoino-navigator-serial/releases/tag/v0.2.0 :sunflower:


Add rancher-turtles for testing in SV

Add the rancher-turtles to the current 3.0.2 release versions.
The idea is to share with SV to test it and prepare piplines to test it with the final 3.1 release version first @fdegir

Please don't merge it

This was completed via https://github.com/suse-edge/atip/pull/7


completions added

Simple enough but really helps with discovery of the commands. The completions should just work, but I've only tested locally using zplug with zsh 5.2 on OS X, I'm happy to test and fix any issues with other plugin managers if they occur.

Great! Thanks @kbenzie. I'll test it on my laptop and merge if everything's okay.

No problem.


Show context when searching

Right now the search only returns the pages that contain the string. However when you have a lot of pages it can make it more difficult to find what you're looking for.
I think it's important to have a feature like MediaWiki where it shows the page title, but below also shows the context around the string you searched for.
Otherwise users would have to view a number of pages and then use the browser's search function to actually see the context.

This was a feature before so much of the code may still be there. Can't remember the exact reason for removing, if there was such a reason, May have been a mistake on my part.

Hi! Would love to have this feature as well!

@ssddanbrown Would you be interested in a PR  for at this time?

@jameswmcnab Absolutely! Especially if it came with a test to cover it.
As mentioned above, I seem to remember this being a part of search before so there may be some residual code somewhere unless I got overly hasty with a past clean-up.

@ssddanbrown Okay great, I'll see what I can do when I get some time next week 👍

I have resolved the problem using the "Browser Searching Feature" (in Google Chrome, type the shortcut [CTRL + [F]) but I think this functionality would be very useful if Booksatck had it.

TNTSearch is a full-text search engine written in PHP that provides this feature.

Hi team!
Any update on this enhancement? Is it something planned for near future?
Great job anyway!
Matt

No solid update on this right now @mattpera.
Was thinking about paying some attention to the search system overall when I have more time to dedicate to the project (As of next month).

Highlighting (via boldening) of terms within search results has been added as part of #3043 and will be part of the next release.
Please note, this is somewhat of an estimation of what might have contributed to the match.
Will therefore close this off.


Cookbook pre-review checklist template

This PR publishes a publicly viewable pre-review template for Cookbook authors. Our Cookbook "advocates" (shepherds in some discussions) should use this template as the checklist for a new issue in the Cookbooks they are supporting towards publication. We don't have a review process in place, but this should help get our hackathon Cookbooks published and serve as the baseline of the review process as we continue to develop it. The images won't resolve until this PR goes in, so below I've previewed what the checklist will look like with the current template in the PR:
PREVIEW BELOW
I am your Cookbook advocate, and my GitHub handle is @dcamron. Please tag me in this issue with any problems getting your Cookbook published!
Once we've marked this entire checklist, click here to open an issue on ProjectPythia/cookbook-gallery to publish your Cookbook!

[ ] Confirm you’ve followed the entire Project Pythia Cookbook Guide.
Take note especially of the Develop your cookbook, Authorship and the CITATION.cff file, Gallery tags, and Generate a DOI sections. Save the step of making a “release” of your cookbook as the last step of this checklist.
[ ] Confirm that the individual notebooks within your Cookbook adhere to the notebook template.
If the template does not fit your Cookbook’s needs, that’s fine too! Simply let us know here in this issue.
[ ] Finalize your Cookbook repository name.
We generally encourage the <content>-cookbook name structure.
[ ] Finalize your environment.yml.
Specify the minimum number of packages needed to reproduce your content. Document any necessary conflicts and pinned package versions in an issue. In your Cookbook README or a content preamble, describe any unique dependencies handled outside the conda environment.
[ ] Sufficiently document your code with markdown narrative text, supplementary media and references, and citations.
Declare any necessary prerequisite learning for each notebook at the top; these can be materials within your Cookbook, within other Cookbooks, or outside Project Pythia altogether.
[ ] Review whether your Cookbook needs an Appendix of terms, definitions, or concepts.
Additionally, should your Cookbook reference other Cookbooks and learning materials to support your content? Could supporting content be added as updates to Foundations or other Cookbooks benefit your Cookbook?
[ ] Execute the trigger-replace-links action provided to your Cookbook.
This will update any links to the Cookbook template to refer to your finalized repository name. See ProjectPythia/cookbook-template#183 for manual references to these links if needed.

Click the Actions tab for your repository.

Highlight the trigger-replace-links action in the workflows sidebar.

On the right-hand side of the page, Run workflow > on Branch: Main.

[ ] Fill in all template sections of your README.
This will serve as your Cookbook homepage

[ ] Title
[ ] Cookbook description (brief, under title)
[ ] Cookbook Motivation - use this as an opportunity to tell us how your Cookbook fits in the broader learning ecosystem. Who should use this book? Why is it needed? Where does its content begin and end relative to existing resources?
[ ] Structure - this section is an optional roadmap for Cookbooks with more complicated structure. If you only have one main body of content that progresses linearly, you can leave this out.

[ ] Confirm that your Cookbook is successfully building and publishing via GitHub Actions.
This can be seen in individual Pull Requests as green checkmarks ✅ for important automation, especially the trigger-book-build action. You can also view a historical list of any of these Actions in the Actions tab at the top of your Cookbook repository. Check out nightly-build and trigger-book-build of PRs, then the build/build jobs to identify code errors. Please comment in this thread if you have issues identifying the source of any build and publishing failures your Cookbook has. Common failures include

Incorrectly specified environment.yml
trigger-link-check will fail if links in your content can not be resolved. We can help ignore links that are broken even if they work on manual clicks.
Code errors in your notebooks themselves

[ ] Identify a Maintainer team via GitHub handle(s) in this thread.
This can be one or more people with availability to check in on this Cookbook, issue fixes to broken content, or with a vision for the future development of the Cookbook.
[ ] Finally, release your Cookbook!

On the right-hand sidebar for your Cookbook repository, click “Create a new release”. If you don’t see this button, you may need to click on the “Releases” header first and “Create” or “Draft” a new release.

“Choose a tag”, enter a new tag name. This will be the git reference of the snapshot of code that represents this particular release of your Cookbook! We recommend using a name fitting the CalVer scheme, so something like v2024.06.13 for the date of the release, then choose “+ Create new tag:  on publish” and make its Target main (unless you have the knowledge and desire to release from another branch!)

From here you can use GitHub’s nifty “Generate release notes” button to automatically draft a summary of your Cookbook release based on merged Pull Requests! Feel free to further modify the title and body text of your release notes to fit your Cookbook and best represent your authors.
Finally, Publish release!

I've also added sphinx-copybutton from EBP to make copying the template easier for advocates

There was some issue with the build.


135 include all assets

Pull request details
Describe the changes made in this pull request
Added documentation to include all assets
List of related issues or pull requests
Closes #135
Collaboration confirmation
As a contributor I confirm

[X] I read and followed the instructions in README.dev.md
[X] The documentation is up to date with the changes introduced in this Pull Request (or NA)
[X] Tests are passing
[X] Lint is passing

@abelsiqueira still WIP, hopefully on Monday I will finish it. Sorry

No rush, I'll take a look at it Tuesday. :+1:

Hi @datejada, I think since you still only have produces and consumers, it will be hard to make CodeCov happy. Also, it would be better, either way, to already have tests with Nordic. Can we have the same tests with Nordic and Tiny?

@abelsiqueira It makes sense! I'll add the Norse test, although is not as we want yet, we can use it to make the codecov happy, and update it later

Because of the way that the code was written, it requires a case where a in As, but not in Ai. One idea would be to create
some_name(a) = params.energy_to_power_ratio[a] * params.assets_unit_capacity[a] * assets_investment[a]

and write
(a ∈ Ai ? some_name(a) : 0.0)

in a single line. It would trick the coverage.

@abelsiqueira I think it is better to cover that case in the Norse. So, I have changed the input data to cover that case. Plus, the tiny will be used to write the lp file since the file will be smaller in that example, and it is good to test that it is working properly.

It looks like coverage of this line is simply broken. Probably the interaction with JuMP macro and the if-else makes it hard for the coverage. I tested manually, and it indeed goes through the else. I recommend using the "hack" above for now.

I've fixed my hack, because it depends on a variable, so it needs to be an expression. I've made that as a suggestion, so it can be committed directly.

Thanks for the update. There is a new conflict now. Let me know if you want me to rebase and then merge this, but feel free to do it yourselve.

Go ahead and rebase please. :)

@abelsiqueira you are faster 😄 I was also rebasing. Once it finishes the checks again, I will merge it.

I think we're all anxious for the merge :)


Local feeds fail to load because of an "os error 104"

I have an issue with an app using reqwest (newsflash), the issue seems to be coming from this lib, can anyone confirm ?
General Information:
Distribution: Fedora 35
Desktop Environment: Gnome 41.6 (Gnome Shell)
NewsFlash Package Type: Flathub
NewsFlash Version: 1.5.1

:warning:  Also, I was travelling and / or probably using rubbish networks when the issue started but it stayed even after I settled down.
Observed behavior and how to reproduce:
When I run the app through flatpak run com.gitlab.newsflash and hit the refresh button I get an error line for each feed it can't reach that looks like this:
ERROR - Downloading feed failed: https://www.webtoons.com/en/sf/city-of-blank/rss?title_no=1895 - error sending request for url (https://www.webtoons.com/en/sf/city-of-blank/rss?title_no=1895): error trying to connect: Connexion ré-initialisée par le correspondant (os error 104) (news_flash::feed_api_implementations::local:100)

Expected behavior:
No connexion error.

These are the settings used by NewsFlash:
let mut builder = ClientBuilder::new()
            .user_agent("Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0")
            .use_native_tls()
            .trust_dns(true)
            .gzip(true)
            .brotli(true)
            .timeout(Duration::from_secs(60))
            .danger_accept_invalid_certs(settings.read().get_accept_invalid_certs())
            .danger_accept_invalid_hostnames(settings.read().get_accept_invalid_hostnames());

the two "danger" options are disabled by default and can only be enabled hacking a hidden config file.
The feed is downloaded with client.get(url.as_str()).send().await in a threadpool thread with a newly created tokio runtime and block_on.

Hey OP, Does this happen consistently? The server at, www.webtoons.com sometimes returns connection reset errors. (Tested with curl and hyper).
Also in linux, os error 104 appears to indicate connection reset error. Does this happen with any other site ?

Ok, sorry I'm not good at all with network stuff so it could be a problem on their end. Thanks for testing. It does not happen with other servers, but I don't have a large enough sample to be sure of anything. I'm gonna contact them again with this new information.

I'm having the same issue with tiktok server.
error sending request for url (https://www.tiktok.com/......): connection error: Connection reset by peer (os error 104)

I tried different crates, It's not limited to reqwest, curl crate mentioned OpenSSL:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { description: "Failure when receiving data from the peer", code: 56, extra: Some("OpenSSL SSL_read: Connection reset by peer, errno 104") }', src/main.rs:14:20

By the way, I ended up switching RSS readers and the new one does not fail in the same way, so while tiktok and webtoon might be doing something wrong, what's preventing them from working entirely is client-side.


[dv] Regression failure for riscv_multiple_interrupt_test with config experimental-branch-predictor

Seed: 3116
make -C dv/uvm/core_ibex ITERATIONS=1 TEST=riscv_rand_instr_test,riscv_multiple_interrupt_test,riscv_debug_basic_test ISS=spike IBEX_CONFIG=experimental-branch-predictor
CI run: https://dev.azure.com/lowrisc/lowrisc-private/_build/results?buildId=24876&view=logs&j=89b1484e-e59b-56b8-bef8-ec534b74be7c&t=69a04726-f3d2-5f59-d3f4-a33300a2ed9f
Full build log in CI: https://artproduks1.artifacts.visualstudio.com/Ace3fc167-bb91-4c33-a65a-ae648df7f974/4efdbdf8-a184-4518-9864-57d2a49c2aed/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2xvd3Jpc2MvcHJvamVjdElkLzRlZmRiZGY4LWExODQtNDUxOC05ODY0LTU3ZDJhNDljMmFlZC9idWlsZElkLzI0ODc2L2FydGlmYWN0TmFtZS9vdXQ1/content?format=file&subPath=%2Fout.tar.xz

Tue, 27 Oct 2020 15:01:21 ERROR    Timeout[300s]: env SIM_DIR=out/seed-3116/rtl_sim/riscv_multiple_interrupt_test.0   out/seed-3116/rtl_sim/vcs_simv +vcs+lic+wait +signature_addr=8ffffffc  -ucli -do ./vcs.tcl       +ntb_random_seed=3116 +UVM_TESTNAME=core_ibex_debug_intr_basic_test +bin=out/seed-3116/instr_gen/asm_tests/riscv_multiple_interrupt_test_0.bin     +ibex_tracer_file_base=out/seed-3116/rtl_sim/riscv_multiple_interrupt_test.0/trace_core     -l out/seed-3116/rtl_sim/riscv_multiple_interrupt_test.0/sim.log  +require_signature_addr=1 +enable_irq_multiple_seq=1

@udinator @GregAC is this something you can have a look at? The logs should contain all necessary information.

Sure, I will take a look into this failure today.

@imphil, I'm unable to recreate a failure here locally with SEED=3116, and I don't have access to view the CI log files it seems.
The riscv_multiple_interrupt_test with the experimental-branch-predictor config did take close to 3.5 minutes on my local machine though, perhaps increasing the timeout period for RTL simulation might help? This can be done by going to the run_sim_commands function inside of sim.py, and modifying the value 300 that is passed into the run_cmd invocation.
(Now that I think about it it might be good to have this timeout be controllable from cmdline...)

As far as I can tell from the output logs nothing out of the ordinary happened during simulation, the test just seemed to have timed out since it was running for over 300 seconds.
As a result I think #1155 should prevent this sort of error from popping up in the future.

Thanks a lot for checking @udinator. Let's close this issue then and hope it doesn't reappear! :smile:


First Item in submenu not working

Problem Description
I added the toolbar with submenus.
const menuItemList : Array = [
{
label: "File",
submenu: [isMac ? { role: 'close' } : { role: 'quit' },
{ label: 'Save Analysis', role: 'menu',   click: () => newWindow.webContents.send('menu-event', 'save')}]
},
{
label: "Help",
submenu: [
{
label: "About Us",
role: 'menu',
enabled: true,
click: async () => {
console.log("HIIIIIIIIIIIIIIIIIIIIIIIII");
}
},
{
label: "Resources",
click: async () => {
console.log("HIIIIIIIIIIIIIIIIIIIIIIIII");
}
},
{
label: "Contact Us",
click: async () => {
console.log("HIIIIIIIIIIIIIIIIIIIIIIIII");
}
},
{
label: "Report Bug",
click: async () => {
console.log("HIIIIIIIIIIIIIIIIIIIIIIIII");
}
}
]
}
]
all menus are clickable but first submmenu item doesnt call click function. In File first Exit menu works
Steps to Reproduce
versions
"custom-electron-titlebar": "^4.2.8",
"@angular/core": "^17.1.0",
"electron": "^28.1.4",
"electron-builder": "^24.9.1",
Expected Behavior
[Explain what the expected behavior of the project should be in this situation.]
Current Behavior
First submenu item is not clickable and doesnt call the click()
Additional Information
[Provide any other relevant information, such as your operating system, version of the project you are using, versions of dependencies, etc.]
Tentative Solution Steps
[If you have any ideas on how to fix this issue, share them here. If not, don't worry, the project team can help find a solution.]
Screenshots
[If relevant, you can attach screenshots that demonstrate the problem.]
Additional Context
[Add any other context that might be useful for understanding the issue, such as recent code changes, events that might have triggered the problem, etc.]

Note:
Labels - Select the appropriate labels that best describe this issue, such as "bug", "enhancement", "support", etc.

@AlexTorresDev  Could you update on this issue ?

Is the div where your first menu is located set the -webkit-app-region attribute? I also set this attribute last time so that the menu could not be clicked

Yes you are spot on.. i have another header/banner with (-webkit-app-region)  and it was causing this issue so removing this was solved my issue.


Feature request: adding grade (slope) percentage to angle conversion

Problem Statement

After noticing the new features of the Calculator, I saw there are many conversion options.
The angular one got my attention, which now converts between degrees, radians and gradians.
There is another unit that is often used for angles, which is the grade (or slope).
Eventhough this is not used for all angles, it is quite common in usage and people often misinterpret the meaning. Was it 18 degrees or percent?
In addition to the earlier ideas in #243 and #515, this should in my eyes be considered as well.
While #243 will probably be absorbed in #515, the solution to this proposed feature request is much simpler and can be done swiftly without having to wait for the implementation of #515.
Evidence or User Insights

Yes, I dare use Wikipedia as a source:

In Europe and the U.S. percentage "grade" is the most commonly used unit for describing slopes.
Source

Of course, the unit is well known (and even used when describing linear graphs).
Proposal

By adding Grade (or Slope) in percent to the options for angles, it is easier to convert angles from/to grades
People can either get easier understanding of the meaning or simply convert between the units without a problem!
Goals

User can easily and without errors convert between grade (slope) in percent and degree, radian or gradian.
Non-Goals

Including many forms of grade (percent, per mille, ratio).
As shown in the Evidence, percentage is most used in both Europe and the U.S.A.
Including other units that are used infrequently or ill-defined, such as military mils.

Low-Fidelity Concept

Conversion is simple and easy.

d = run
Δh = rise
l = slope length
α = angle of inclination
Given this example , there is an easy way to determine the grade percentage  (Δh/d * 100)
There are also several ways to determine the angle (α), by using the cosine, sine or tangent.
The way to convert the inclination angle (α) to grade percentage would be to take the tangent of the angle (α). and multiplying with 100
For an angle greater than 90 degrees, the slope is ill-formed, but it could still be defined if the angle is taken modulo 90.
Seeing as the implementation is easily done, there is no need to wait for implementation of #515 for adding this conversion
In short, the conversion is easily implementable by taking the tangent of the input and multiplying by 100, or dividing by 100 and then taking the arctangent. Ofcourse, an exception is 90 degrees, where the slope grade is infinity, but that can easily be filtered.
Requested Assignment

If possible, I would like to implement this.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

@CrustaShrimp Thank you for your submission! We think there might be something interesting here, but we are not sure having a specific mode for performing grade calculations makes a lot of sense. Another community member previously submitted an idea for a formula solver (#670). What are your thoughts on building a more generic mode for such a solver, where grade calculations are an option in that mode?

Hi @grochocki, thanks for your reply!
I'm not really sure I follow, it wasn't necessarily the plan to add a whole new mode just for grade calculations, only to add grade conversion to the already existing angle convertor.
Nonetheless, after reading #670, it does seem like a good idea to implement grade calculation into such a solver to encapsule even more functions and options with grades.
This does however fall out of my skill group, so I'm not sure I could implement this myself.
Love to hear your thoughts!

I'm not really sure I follow, it wasn't necessarily the plan to add a whole new mode just for grade calculations, only to add grade conversion to the already existing angle convertor.

Since Calculator is used by so many different types of users, we want to make sure that navigation between modes is as simple as possible. This is part of the motivation behind #594, where we want to collapse all of the converters into a single page.
We loved the idea of calculating grade, but I imagine you might agree that while this is extremely useful to some users, most users will likely never need to calculate it, so it might not make sense as a top-level mode. An equation solver adds the ability to solve for lots of different equations, including grade, which means it will benefit a greater proportion of the userbase.

This does however fall out of my skill group, so I'm not sure I could implement this myself.

Are there parts of it that you are more comfortable with (e.g., design vs. implementation)? There might be other community members willing to help bring this light.


Visual Glitch with Normal maps

Tested versions
Reproducible in Godot Engine v4.2.1.stable.official
System information
Windows 10 - Godot v4.2.1.stable - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (nvidia,<PHONE_NUMBER>) -Intel Core i7-8750H @ 2.20GHz, 2.21 GHz 12 threads
Issue description
https://github.com/godotengine/godot/assets/6837402/9c770e1a-f3bb-4505-a7de-290241dececf
As you can see in the video, the light mapping is incorrect for certain angles of the mesh especially if the uvs are mirrored like the middle object. All artefacts disappear when disabling the normal map, so probably something fishy there, or some requirement I did not understand.
The normal map was made in material maker.
There might be more information here
https://t.co/qMGpObMbPM
Steps to reproduce
Load the test project and open the scene  and notice it
userreport_hwdetect.txt
Minimal reproduction project (MRP)
materials.zip

I have the feeling we (or however we use the mikktspace?) are not deduplicating vertices, hence the normals in the mirrored area looking bad. Or maybe it may have to do with how the asset was exported? Worth researching at least.

Had some spare time so I did a bit of testing, disabling "Ensure Tangents" in the import settings seems to get rid of the artifacts, but the normal map is inverted on the back side of the mesh.

Possibly related/duplicate of #86131

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/86131, as this is due to the same cause.


Breaks highlighting on campsiers/snap

Making this because I have determined with my setup that disabling this plugin fixes the issue.  Not sure if there are some additional factors with my setup that are causing this.  But I can at least confirm that commenting out this section of the config fixes the problem.
To confirm... without this plugin, I see:

With this plugin, I see:

Note that the "highlighted" background for the "current item" disappears with this plugin.
This is camspiers/snap, setup basically with the default find_files setup.  I'm using the nightfox theme.
Happy to provide whatever other information is helpful!

The color of the cursor line of this plugin is highlighted based on CursorLine.
Try to change the color with the following settings
vim.cmd("hi CursorLine guibg=#ffffff")

@rawhat
Have you solved the problem yet?
If it is resolved, please close it.

I don't use that plugin anymore, and this works just fine with telescope.  It looks like there is an open issue regarding some highlighting in the issues for that plugin.  I will close this for now, as I don't think it's related to cursorline!  Sorry for the delay.


Make a choice of binary Python packages that should be installed for counterparty-lib

In <= v9.49.3 we ask Windows users to install a binary build of apsw and also some other packages.
The new counterparty-lib install script asks that apsw (and serpent) be installed (presumably) by using pip.
The both versions of apsw are 3.8.5-r1, but maybe we should make sure that we follow one approach.
For an example of possible complications see https://github.com/CounterpartyXCP/counterpartyd/issues/656#issuecomment-71331079
The same goes for Serpent (I haven't looked if there are binary packages)
We could also review other Python binary packages that we currently use and decide what we want to continue using and what should be installed from Python.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

I noticed that counterparty-lib installs everything now, so I'll close this issue.


Parameters: [unauthRoleName] do not exist in the template

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.20.2
Amplify CLI Version
12.4.0
What operating system are you using?
Ubuntu (22.04.4)
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made.
Describe the bug
When attempting to update the auth category of a project (when the api category has the status of No Change) the deployment fails with the following error.
Parameters: [unauthRoleName] do not exist in the template

Expected behavior
The auth category changes can be deployed, even if there has been no change to the api category.
Reproduction steps

Have an Amplify project with an api and auth category, where all changes have been deployed and both categories have the status No Change

Make some change to the auth config (I upgraded a lambda in the cloud formation template to run node 18 - but any change will trigger this).

Run amplify push -y.

The cli will successfully begin deploying the auth changes. It will throw the unauthRoleName error when trying to deploy the api category.
Project Identifier
No response
Log output

# Put your logs below this line

UPDATE_IN_PROGRESS apiPROJECTNAME       AWS::CloudFormation::Stack Mon Apr 29 2024 08:17:27 GMT+0000 (Coordinated Universal Time)
UPDATE_FAILED      apiPROJECTNAME       AWS::CloudFormation::Stack Mon Apr 29 2024 08:17:28 GMT+0000 (Coordinated Universal Time) Parameters: [unauthRoleName] do not exist in the template

Additional information
The changes will successfully deploy IF there is any change to the api category resources. So, adding an arbitrary change to the api configuration will cause both categories to be in the status Update, and then amplify push will successfully complete for both.
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @alice-was-here, thank you for reaching out. Could you provide us the following information.

Project identifier output when running amplify diagnose --send-report
Could you verify if the team-provider-info.json and amplify-meta.json contain the UnauthRoleName parameter.

Identifier: 041877376e08b4e55ad7371782ce979b
2, Yes, both files contain the UnauthRoleName param.
It is a graphql api.

Hey @alice-was-here, thank you for the information. On diving into the files noticed the parameters.json under the api/<api-name>/build folder contains the following
 "authRoleName": {
    "Ref": "AuthRoleName"
  },

but the parameters.json at the api/<api-name> root folder does not contain this.
Transferring the issue to our API repository for better assistance.


Question: is there an easy way to grab the data into a csv

Is your feature request related to a problem? Please describe.
is there an easy way to grab the data into a csv file ? I want to play with it in Excel
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

The data is all in the SQL database, you could export it from there

Hey @biohazd,
This is a bit out of scope for this integration but you could use pyglowmarkt to output readings into csv
https://github.com/cybermaggedon/pyglowmarkt#glowmarkt-csv


0.13

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.65%. Comparing base (b29db4f) to head (12d75c7).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #219   +/-   ##
=======================================
  Coverage   61.65%   61.65%
=======================================
  Files         143      143
  Lines        8952     8952
=======================================
  Hits         5519     5519
  Misses       3433     3433

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


Storybook failed when twig component is not installed

=> Failed to build the preview
Error: Symfony console failed with exit status 1:
CMD: 'php' 'bin/console' 'debug:config' 'twig_component' '--resolve-env' '--format=json'
Output:
Error output: [critical] Error thrown while running command "debug:config twig_component --resolve-env --format=json". Message: "No extensions with configuration available for "twig_component"."
No extensions with configuration available for "twig_component".
If the storybook is started without the twig-component package installed, an errors is throw maybe we should add a depencie on twig component as well

well if TwigComponent is optional we should not get any error when running the storybook without TwigComponent

IMHO Storybook should also be usable for regular twig-temlates. that makes sense especially for includes.
We use includes or embeds for basic stuff and Components for more advanced use-cases.

Just hit this error and it basically forces me to introduce twig-bundle.


Citation

Hello,
thank your for sharing that nice function it saved me a lot of time and helped me a lot. I would like to reference it in my paper. Do you have a DOI for your github repository? And mybe a bibtex template?
Thanks!

Very late reply. But I do not have a DOI or bibtex tempalte.


Add a logger to HttpServer.java

This branch introduces changes that add a private logger field to the HttpServer class.  This logger object can be used for logging messages, which can be more specific than just printing messages to the console with System.out.println().

Thanks for doing this @r0b0tbuilder. I've got a couple comments that I'm going to write on the code itself, but in general, this looks good.
Is there any reason you only added logging to the HttpServer class, and not HttpResponse and HttpRequest where they have print statements? Or was this just a first pass?

I have pushed a commit that fixes formmating.  I think I forgot to do $ git diff --check before commiting the first commit (e6257a2) :stuck_out_tongue:.

No worries. There are two more thing I noticed, but beyond that, everything should be good!

That should have fixed it.

Merged in.

I was going to log messages from other classes.  Could I create another pull request for that?  Or would you not want that?

I don't know if there's more worth logging than what we have printing right
now, but if you'd like to convert those, it would be more than welcome. The
same goes for if you see any places more logging could be useful.


[WIP: DO NOT MERGE] Have persistent DHCP leases file on VRs and cleanup /etc/hosts on VM deletion

Description
Since the CloudStack virtual router was redesigned on version 4.6 it has been observed that the DHCP leases file is not persistent across network operations. This causes conflicts on guest VMs static IPs, causing these static IPs to not be renewed by the DHCP server running on isolated and VPC networks' virtual routers (dnsmasq). On stopping or destroying a VM, its dhcp/dns records are not removed from the virtual router causing ghost effects.
Fixes #3272
Fixes #3354
WIP: Fix: #3273
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)

Screenshots (if appropriate):
How Has This Been Tested?
Tested on local environment, 1x KVM host, Isolated network

Create VMs on isolated network
Restart network

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-2782

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2787

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3584)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30405 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3351-t3584-kvm-centos7.zip
Smoke tests completed. 68 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

@blueorangutan test matrix

@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

Trillian test result (tid-3587)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34342 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3351-t3587-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Smoke tests completed. 66 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_scale_vm
Error
17.43
test_scale_vm.py

test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL
Failure
562.10
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Failure
528.05
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
567.24
test_vpc_redundant.py

Trillian test result (tid-3589)
Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40124 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3351-t3589-vmware-65u2.zip
Intermittent failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_usage.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Smoke tests completed. 65 look OK, 3 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_extract_template
Failure
136.54
test_templates.py

ContextSuite context=TestISOUsage>:setup
Error
0.00
test_usage.py

test_06_download_detached_volume
Failure
167.45
test_volumes.py

Is the fix implemented by this PR ready to be tested?
The WIP tag is slightly confusing...
I'd like to test it on one of our affected networks, if possible.

Hi @onitake the WIP tag stands for 'Work in progress' which means this is still not ready. Having said that, you can test it now but you may expect new changes

@nvazquez can you address review comments and also advise if this PR is ready for review and testing?

@nvazquez while you're on it, can you also look at another similar issue related to VRs - https://github.com/apache/cloudstack/issues/3273?

@blueorangutan package

@nvazquez can you also fix pylint error:
************* Module cleanuphosts
E: 75,78: Instance of 'Exception' has no 'strerror' member (no-member)
-----------------------------------
Your code has been rated at 9.99/10
+'[' 2 -gt 0 ']'
+echo 'Pylint failed, please check your code'
Pylint failed, please check your code

Rebased against latest 4.11, fixed pylint error and dhcp_release syntax issue.

@nvazquez fixes for #3272 and #3354 LGTM, but I found a weird issue:

Deploy two small VMs
Destroy one of the small VMs, verify that their entries are not seen in /etc/hosts and /etc/dhcphosts.txt
Deploy another new small VM
Verify that the new small VM's entry exists, but not the delete VM's entry suddenly show up as well (possibly something to do with CsDhcp.py and databags)
Please continue with the investigation and fix for the above edge-case and also fix for  #3273

@rhtyd changed the implementation, no need for a new script. Marking entries as 'remove=True' solves the issue. This solves #3272 and #3354.
Fix for #3273 is the only remaining

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2826

@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3631)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 32583 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3351-t3631-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 67 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_05_rvpc_multi_tiers
Failure
407.69
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
433.89
test_vpc_redundant.py

Let's do #3273 in a separate PR.

@nvazquez @rhtyid this breaks Basic Networking (#3497) whenever a VM is stopped or expunged.

Can you check and possibly send a PR @nvazquez ? Thanks.

Sure I'll take a look tonight

Please ignore the message above, just saw the PR #3501 fixing it.
Thanks for the PR @nvazquez.


--version is not supported

I expect this to work, but it doesn't:
$ ~/.local/bin/normalizer --version
Invalid option `--version'

@deemp please, pay attention

@deemp usually, we use --version in order to check, whether the package is installed, see for example how they do it for GHC: https://github.com/haskell/docker-haskell/blob/master/9.10/bullseye/Dockerfile#L130


Mc/toolmaxretry

@jxnl
I had to add a line to dump_message to get the right part of the openai response in the message list
I changed the tests to mirror this.

can you check of the validation tests in /openai are testing tools? Then i'll merge

can you check of the validation tests in /openai are testing tools? Then i'll merge

those tests are testing tools
test_validators.py imports
from tests.openai.util import models, modes
and in tests/openai/util
modes = [     instructor.Mode.FUNCTIONS,     instructor.Mode.JSON,     instructor.Mode.TOOLS, ]


Create Slack channel for Automation Tools Bootcamp

When attending anyone can join.
And make some hooks between tools in the class and notifications sent to Slack.

Done and invite sent to Peter. https://automationtools.slack.com

Clarification: Using hangops.slack.com, channel #automationtools_lisa
Signups at http://signup.hangops.com/


CVE-2018-7489 on jackson-databind 2.4.5

https://nvd.nist.gov/vuln/detail/CVE-2018-7489
FasterXML jackson-databind before <IP_ADDRESS>, 2.8.x before <IP_ADDRESS> and 2.9.x before 2.9.5 allows unauthenticated remote code execution because of an incomplete fix for the CVE-2017-7525 deserialization flaw. This is exploitable by sending maliciously crafted JSON input to the readValue method of the ObjectMapper, bypassing a blacklist that is ineffective if the c3p0 libraries are available in the classpath.

Is it possible to update jackson-databind (https://github.com/FasterXML/jackson-databind) to latest release version which is free from this vulnerability?


How to center a card inside of container?

I have gone through these following points

[x] Check latest documentation: https://docs.nativebase.io/
[x] Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[] Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description
When I put justify-content: center or align-items: center, the card background is lost

const styles = StyleSheet.create({
  contentContainer: {
    //justifyContent: 'center',
    //flex: 1,
    paddingHorizontal: "20%"
  },
  title: {
    fontWeight: "bold",
    marginBottom: 8
  },
  subtitle: {
    marginBottom: 8
  }
})

    <Container>
      <Header title="Setup" />
      <Content style={styles.container} contentContainerStyle={styles.contentContainer}>

        <Card>
<Row>
  <Col>
    <Text style={styles.title}>PIN</Text>
    <Text style={styles.subtitle}>Do you want to login with a PIN?</Text>
    <Row>
      <Col>
        <Button text="YES" onPress={() => setDoWantToUsePin(true)} />
      </Col>
      <Col>
        <Button typeStyle="white" text="NO"  onPress={() => setDoWantToUsePin(false)}  />
      </Col>
    </Row>
  </Col>
  <Col>
  </Col>
</Row>
</Card>
      </Content>
    </Container>

This gonna work
  **contentContainer: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },**


update requirements.txt to reflect location of dependencies

while working on pymovements I realized that the requirements.txt does not reflect the correct location of dependencies -- here a quick PR.

nice catch! thanks a lot!


[SourceKit] Declaring locally used UIdent static so that we don't need to create them in every request. NFC

This addresses @@benlangmuir's code review comments.

@swift-ci please smoke test


Restore Swift 2.2 support

Related to https://github.com/devlucky/Kakapo/issues/133

Please update Readme accordingly:
Swift 2.2 and 2.3 compatible (from version 1.0.0, branch feature/legacy-swift)

instead of:
Swift 2.3 compatible (from version 1.0.0, branch feature/legacy-swift)
Swift 2.2 compatible (versions 0.x.y)

Please update the Changelog

No problem for updating README and Changelog, however what version number would you use?
Per semver, I don't know if it's more a 1.1.1 or 1.2.0.
Thanks for the ci tip!

I think 1.2.0 maybe but don't worry about Cocoapods we will take care of release

Ah if it's for the changelog just put it under HEAD


Update to work with juniper master

It seems support for async GraphQL interfaces have landed in juniper master https://github.com/graphql-rust/juniper/pull/682.
I think the time has come to start updating juniper-from-schema to support the latest master of juniper with all the changes thats been made. We should also migrate all generated code to use the juniper proc macros rather than the old and deprecated declarative macros.
I suspect this is going to be quite a big task and require some work. I urge users to remain patient. The work has begun!
Todo

[x] Docs section about specifically which versions of juniper are supported
[x] Make sure changelog is up to date
[x] Async resolver together with ownership: "as_ref"
[x] Support subscriptions https://github.com/davidpdrsn/juniper-from-schema/pull/129
[x] Support async https://github.com/davidpdrsn/juniper-from-schema/pull/128
[x] Update changelog: Executor now requires two lifetimes but both can be elided 0bd023973977f
[x] Re-export juniper and use that to pin its version https://github.com/davidpdrsn/juniper-from-schema/pull/125
[x] Cannot declare scalar with same name as built-in https://github.com/davidpdrsn/juniper-from-schema/pull/124

https://github.com/davidpdrsn/juniper-from-schema/pull/122 is merged and we're now compatible with juniper master. At least all the tests are passing.
Still some work to be done around subscriptions and async. See the todo list in the top comment.

We now support async resolvers with a new @juniper(async: true) directive and the #[async_trait] attribute. You can find an example here.

The master branch now supports juniper 0.15. I've made a milestone for the things remaining before doing a proper release https://github.com/davidpdrsn/juniper-from-schema/milestone/1.


Include current Block hash into BlockHeaderValue

Currently, when we query for block headers we cannot reliably compute the hash of the block, since it's computed from the byte representation of the block and can be representation dependent.
To simplify our work, I suggest including the block hash in the query result

Can I take this issue?

Thank you! Your help would be much appreciated.

@0x009922 Would you like to weigh in on the discussion.


touch(): Utime failed: Cannot allocate memory

I moved my application to a new server, which is php 7.2. Now I'm getting the following error
A PHP Error was encountered
Severity: Warning
Message:  touch(): Utime failed: Cannot allocate memory
Filename: drivers/Session_files_driver.php
Line Number: 250
Backtrace:
A PHP Error was encountered
Severity: Warning
Message:  session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/www/helpdesk.veredastecnologia/application/cache/session)
Filename: Unknown
Line Number: 0
Backtrace:
Maybe someone can help me, I already made some research, but no success.

touch() is a native PHP function outside of our control.
Given that it deals with filesystems on a low level, I can only guess it's possible that some (maybe over-aggressive security) restrictions on your server can cause this.


Publish blog posts 464

Whit this PR, we made changes to include a draft status, providing different options for content managers or admins based on who is logged in.
Admins now have the ability to publish blogs. Additionally, the status for API data has been changed to "Draft" because the API was returning an undefined status for fetched data. I believe this issue needs to be addressed by the backend team.

@aleksandarmicev Can you please go though the comments above. If anything is already done, click on Resolve Conversation. If the PR is ready to be rechecked please rerequest a review by clicking on the red icon next to my name in Reviews on top right


no daemonize but pidfile specified?

I noticed you bother to specify a pid file, but daemonize is set to no. Why is that?
The real reason I ask is because I wanted to use monit for my redis, but there is no pidfile, since daemonize is set to no, and there is no setting in this cookbook to change that. I see now that runit already does monitoring, but I still don't see why you bother with the pidfile path, since it's not used.

i'm using redis primarily with runit which requires service processes to run in the foreground. pidfile has been left in case some version of redis requires it.

Imo it's a bit confusing, it took me a while to figure out what was going on because of that pidfile config. If nothing else it would be worth at least adding a comment about that, although I doubt a newer version of redis will ever require the pidfile setting when it's not daemonized.

you raise excellent points.
On Thu, Feb 5, 2015 at 7:11 PM, Jan Berdajs<EMAIL_ADDRESS>wrote:

Imo it's a bit confusing, it took me a while to figure out what was going
on because of that pidfile config. If nothing else it would be worth at
least adding a comment about that, although I doubt a newer version of
redis will ever require the pidfile setting when it's not daemonized.
—
Reply to this email directly or view it on GitHub
https://github.com/fewbytes-cookbooks/redis2/issues/8#issuecomment-73085260
.


Update OpenProcessing curation link

Here is the final OpenProcessing curation organized by curator Zainab Aliyu:
https://openprocessing.org/curation/87649
Please update the current placeholder OP curation to the final curation. Thanks @outofambit @stalgiag

nvm, I see that it's updated. thanks!


chore(testgrid): use airgap for customer specs

What this PR does / why we need it:
use airgap for customer specs
use newer kots for bug fix
https://docs.replicated.com/release-notes/rn-app-manager#1962

Fixes a bug where multi-node embedded cluster installations hang indefinitely with the KOTS add-on.

no deps added even though license scan is failing. merging anyway


Add files via upload

Lothus EAD

@eliaslothus Please provide us with:

the school full official name in Portuguese
the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@eliaslothus You might miss my previous comment. Please react.

Nome da Escola: Academia de Mestres Cristãos
Modalidade: EAD
URL: https://academiademestrescristaos.com.br
Endereço:
Avenida Santos Dumont, 20 B – Anil – São Luís – MA – Brasil CEP 65046-660
A escola tem mais de 12 anos no mercado ministrando curso para Crianças, Adolescente e jovens. E agora estará implantando tencnologia para esses grupos de pessoas.
Os e-mails são criados no domínio
lothus.app.br que é o domínio específico da escola para a divisa de programação de computadores e apps

@eliaslothus Regrettably, I have to close the request without merging, because this organization is a training center, not a college, nor a university. Please ensure that you are familiar with this repository rules located at the bottom of this page.
Please apply for an appropriate licensing option (which may also be free) at https://www.jetbrains.com/community/education/#courses.
Also, there are not enough proof that the domain lothus.app.br belongs exclusively to the training center. I have to close the request without merging.
Thank you for your understanding!


Issue3549 adding test output to deploy task

Deploy to Salesforce does not create a test output. This would add a .json and .xml output of the test results after deploy.

Hey @davidmreed we talked about this PR a while back in the SFXD discord. Any changes you would recommend?

Hey @davidmreed this has been open for a little over a year. Anything else I can do to hopefully move it along?

@jtruit I apologize for the poor action on this PR, for which I'm responsible
I'm no longer on the CumulusCI team, however. @jstvz or @jkasturi-sf, are you able to get this PR in the queue for final review?

Hi @jstvz is there anything I need to do in order to get this reviewed?


Add essential fields into info column

For now, only email field in the info column.
Many OAuth provider implement essential information in the info column.
For example, omniauth-facebook
 info: {
    email<EMAIL_ADDRESS>    name: 'Joe Bloggs',
    first_name: 'Joe',
    last_name: 'Bloggs',
    image: 'http://graph.facebook.com/1234567/picture?type=square',
    verified: true
  },

In my opinion, you could use uid as name and maybe nctu logo as image field.
Then, developer could use the same logic for different OAuth providers.

Is there any nctu logo url from NCTU's official websites?

@deror1869107
How do you think this one?

Great!

#2

@deror1869107 Thanks

@deror1869107  It's proper to change uid to name in info hash.

@deror1869107 Could you release the new version of omniauth-nctu?

New Version of omniauth-nctu has been pushed to rubygems.org !


⚠ Samsung has degraded performance

In ee3cb27, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2087 ms

Resolved: Samsung performance has improved in 6c68600.


no bot are running? help me pls

5/5/2016 8:29:48 PM [] INFO: CheckForUpdate()  Checking new version...
5/5/2016 8:29:49 PM [] INFO: CheckForUpdate()  Local version: <IP_ADDRESS> | Remote version: <IP_ADDRESS>
5/5/2016 8:29:49 PM [] INFO: CheckForUpdate()  ASF will automatically check for new versions every 24 hours
5/5/2016 8:29:49 PM [] INFO: RefreshCMs()  Refreshing list of CMs...
5/5/2016 8:29:50 PM [] INFO: RefreshCMs()  Success!
5/5/2016 8:29:50 PM [] INFO: OnBotShutdown()  No bots are running, exiting

pls help :(

According that asf found his ASF.json its possible that there is no bots in config folder. Notice that  example.json and minimal.json are ignoring.

Since when GitHub is technical support?