Error when start scrcpy with opened IDE

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Ubuntu
scrcpy version: 1.12.1
installation method: apt
device model: Xiaomi Redmi 8
Android version: 10

Describe the bug
When I start scrcpy with opened IDE (such as Intellij IDEA or Android Studio) show me an error, but when I start scrcpy with closed IDE, scrcpy runs smoothly.
`
INFO: scrcpy 1.12.1 <https://github.com/Genymobile/scrcpy>
adb server version (41) doesn't match this client (39); killing...
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 5316
--- adb starting (pid 5316) ---
adb I 02-06 10:59:34  5316  5316 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 02-06 10:59:34  5316  5316 main.cpp:57] Version 1:8.1.0+r23-5ubuntu2
adb I 02-06 10:59:34  5316  5316 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 02-06 10:59:34  5316  5316 main.cpp:57]
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:416] adb_auth_init...
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:262] User key '/home/miguel/.android/adbkey' does not exist...
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:109] generate_key(/home/miguel/.android/adbkey)...
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:77] write_public_keyfile...
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:56] get_user_info...
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:174] read_key_file '/home/miguel/.android/adbkey'...
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:391] adb_auth_inotify_init...
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:467] Calling send_auth_response
adb I 02-06 10:59:34  5316  5316 adb_auth_host.cpp:435] Calling send_auth_publickey
adb server killed by remote request

* failed to start daemon
adb: error: failed to get feature set: cannot connect to daemon
ERROR: "adb push" returned with value 1
`

Please do not post screenshots of your terminal, just post the content as text instead.

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions

Problem solved.


General check and fix cleanup

[x] Supply all checkInfo arguments implicitly
[x] group related type properties
[x] remove fixToLeft/RightRange in favor of keepOnlyFix / replaceBySubExpressionFix
[x] remove errorToLeft/RightRange in favor of operatorRange / Range.combine of fn and side
[x] tweak operation error infos

[x] (-), (+), (*), (/), (//), (++), (<), (<=), (>), (>=), (&&), (||), (&&), (==), (/=)
[x] unnecessaryMessage, unnecessaryDetails, alwaysSameDetails and other error helpers

[x] lean more into operationSides
[x] Add unnecessaryCompositionAfterEmptyCheck
[x] Add last.argCount to CompositionIntoCheckInfo
[x] allow ConstructWithOneArg as empty directly by requiring an extra is property
[x] listDetermineLength use getSpecificFnCall for singleton

Note that unnecessaryCompositionAfterEmptyCheck enables new simplifications, e.g. Task.map f << Task.fail --> Task.fail which are deliberately not included in this PR.
Switching to Fn.Array.map will be the next PR

LGTM so far (note for me, last commit I checked was Remove unused errorToLeft/RightRange)

Fighting https://github.com/elm/compiler/issues/2312, this somehow worked out now.
However, I'm not confident this extensible record type alias extending TypeProperties thing won't cause headaches in the future.
E.g. setChecks have exactly one nesting (the most intuitive one) in which they lead to a compiler and any other nesting compiles fine
Sensible solutions might be to not alias TypeProperties in every other properties type alias or to completely switch to record fields for the properties. What do you say?

I'm fine with not having TypeProperties in every other properties type alias :+1:
But feel free to switch to the other approach if you think it will work better :+1:

Great work :blush:


Java 23 EA missing on the nightly builds page

Describe the bug
Java 23 (EA) missing on the nightly builds page - only Java 21, 22 & 24 are visible
To Reproduce

Visit https://adoptium.net/temurin/nightly/
Click the version drop-down
Note that 23 - EA is missing

Expected behavior
I expect to see a list with
24 - EA
23 - EA
22
21 - LTS
etc..

Screenshots

Additional context
It's still possible to view the 23 nightly builds if you modify the URL to point at 23:
https://adoptium.net/temurin/nightly/?version=23

I'll take a look at this.

First point: versions are retrieved from this endpoint: https://api.adoptium.net/v3/info/available_releases
No version 23 in the result

@gdams @johnoliver  any idea why version 23 is not returned by the API?

Is the simpler workaround here to have a static page / message to folks redirecting them to our slack for EA asks?  I'm even hesitant to allow access to Jenkins here (a single script could spell doom)

Is the simpler workaround here to have a static page / message to folks redirecting them to our slack for EA asks? I'm even hesitant to allow access to Jenkins here (a single script could spell doom)

Perhaps msg to redirect to website https://adoptium.net/temurin/nightly/?version=23 and https://adoptium.net/temurin/nightly/?version=24 for EA builds ?

Ignore my comment above, was myopically responding to the comment without reading the full issue description!


how to- same time filter on dashboards

hi
is there a way to filter all dashboards widgets to the same time frame? i.e- connecting all widget to 1 main filter and changing time frame will affect all widgets accordingly
10X

I believe @mistercrunch is working on this feature right now.

👏


Please at least indicate python 3 compatibility.

I am looking for a Python 3 date parsing library, and I actually wound up trying to install this library before realizing it's only Py2k compatible.
If you aren't planning on supporting python 3, can you please at least note that (hopefully rather prominently) somewhere in the readme?

Hi @fake-name, I am sorry to hear that you've wounded up. For your convenience we've duplicated information about supporting only python 2 (for now) into readme file.

Cool, thanks.


Rename StaticArray#to_slice to #to_unsafe_slice

StaticArray#to_slice is unsafe because it returns an unprotected pointer to data on the stack. This pointer can easily be overriden which invalidates the slice (see #14610).
Renaming to #to_unsafe_slice highlights the unsafe nature of using the method, and distinguishes it from other #to_slice implementations that are inherently more safe because they return heap pointers.
StaticArray#to_slice becomes deprecated.
The first commit replaces StaticArray where it is used in the spec suite as an example for the implementation of #to_slice. Using a String literal with the same payload seems like a good idea. It even simplifies those specs.
There are quite a lot of calls to StaticArray#to_slice in the standard library and spec suite. All of them get replaced. It's interesting to note that they're all explicit calls to StaticArray#to_slice and do not involve dynamic dispatch to some other #to_slice method. This makes rewriting easy and confirms that having StaticArray break from the unified #to_slice interface does not cause any practical problems. Calls to StaticArray#to_slice are typically unrelated to calls to other #to_slice methods.
Replaces part of #11031 and resolves part of https://github.com/crystal-lang/crystal/issues/9606

Interpreter specs are broken due to #14615


exports.name = function () {} vs function name() {}

What's the difference between exports.name = function () {} and function name() {}?

The exports object is accessible in another file using require.

The exports object is accessible in another file using require.


Window width/height wrong way on wasm portrait mobile

Bevy version
0.13
What you did
Query<Window,With<PrimaryWindow>> used in system params, then read width() and height() on the WASM target on a android chrome browser in portrait mode.
What went wrong
The width() was larger than height() (wrong way around)
Additional information
Works fine when monile browser in landscape.

Sorry. Please ignore.
I made silly mistake of not telling it to fit the canvas to the full size of browser window.


Fix make generate error with invalid repo path

fix https://github.com/kubernetes-sigs/lws/issues/13

/easycla

/lgtm
/approve

how about changing things to lws instead? I guess here https://github.com/kubernetes-sigs/lws/blob/9af20f61ba6d4e4ebd97b43bfa6ffca5aa618743/PROJECT#L8-L9 and that should be reflected in all other autogenerated stuff https://github.com/search?q=repo%3Akubernetes-sigs%2Flws "leader-worker-set"&type=code

That's what came to my mind first - Changing leader-workder-set to lws, however, I think we have to change all, more than a part, maybe the test-infra as well?

The test-infra seems aligned with lws: https://github.com/kubernetes/test-infra/pull/32081/files

SG then.

In favor of https://github.com/kubernetes-sigs/lws/pull/11.
/close


Validation breaks with collection rules

Hi, I'm encountering an error while validating collections with the following configuration:
const { r$ } = useRegle(data, {
  name: { required },
  levels: {
    minLength: minLength(1),
    maxLength: maxLength(3),
    $each: () => ({
      name: { required },
      localizations: {
        $each: () => ({
          name: { required },
        }),
      },
    }),
  },
});

When I attempt to add a level: { name: 'a', localizations: [{ name: 'a' }] }, I receive the following error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0')
Reproduction:
https://stackblitz.com/edit/vitejs-vite-wa6v5z?file=src%2FApp.vue just click on add level button and you will see the error

Thanks for the report! I must have missed something with nested collections callbacks. I'll take a look

Luckily just a mistake on my part on an undefined check, easy fix. Will be pushed in the next update 👍

thanks for fix. i will try that after update 👍

Fixed in 0.2.11


Add support SwitchStmt in HTTP status code and method cases

Example:
switch resp.StatusCode {
	case 200: // want `"200" can be replaced by http\.StatusOK`
}

I'd like to take care of that


SchedulesDirect 3 weeks of epg data

Schedules direct has a longer number of days for epg data.  Is is possible the change the current 14 day maximum for recording calculation to the Schedules direct maximum number of days.  Sometimes I get ahead of myself and add a favorite 18 days out that has already been added.

@Narflex If I'm not mistaken, this can be done by just changing the value of LOOKAHEAD in Carny to<PHONE_NUMBER>00L. With the optimizations I will be committing shortly, increasing this range should have very little performance impact to Carny. My only follow-up concern would be the amount of time this might add to Scheduler.

While there is a constant in Carny for it...that's just the default value,
this can be modified in Sage.properties via "scheduling_lookahead" which is
in milliseconds. So people can try it out first...see if it's OK and then
go from there. I think there's even a setting in the UI in Detailed
Setup->Advanced to manually adjust it too....OK, well it is in the UI, but
that menu limits it to a 14 day max. :)  So try it out in the properties
file and see how that goes...but I don't foresee any problems, so we can
change that to 21 later for everybody.
On Mon, May 15, 2017 at 4:58 PM, Joseph Shuttlesworth <
<EMAIL_ADDRESS>wrote:

@Narflex https://github.com/narflex If I'm not mistaken, this can be
done by just changing the value of LOOKAHEAD in Carny to<PHONE_NUMBER>00L.
With the optimizations I will be committing shortly, increasing this range
should have very little performance impact to Carny. My only follow-up
concern would be the amount of time this might add to Scheduler.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/287#issuecomment-301637172, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDBY3LoFn95PVnlDcx2lML24ctWJWks5r6OavgaJpZM4NbwvK
.

--
Jeffrey Kardatzke
<EMAIL_ADDRESS>Google, Inc.

Oh yeah, now I see what you're talking about. I didn't look at how that value is actually applied.

I  know that might sound a little odd, but I didn't make any changes to that specific piece of code.

In the new implementation without CPU throttling, it goes from just under 25 seconds to  just under 29 seconds on my test setup using the wiz.bin you provided me.

I'd like to request that the default be left at it's current value of 3 days.  I've got a couple of systems that always seemed to get upset whenever the lookahead value was increased beyond that, and wouldn't like to see them suddenly break.  No objections to increasing the 14-day limit.

Hi Joseph,
Worked like a charm.  Just multiplied by 1.5.
thanks
Lance
On Mon, May 15, 2017 at 9:55 PM, Keith Fischer<EMAIL_ADDRESS>wrote:

I'd like to request that the default be left at it's current value of 3
days. I've got a couple of systems that always seemed to get upset whenever
the lookahead value was increased beyond that, and wouldn't like to see
them suddenly break. No objections to increasing the 14-day limit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/287#issuecomment-301653266, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbW4gCNX6d-A9dibaTwTdi41uKX_WZBpks5r6QIegaJpZM4NbwvK
.

--
"The only thing necessary for the triumph of evil, is for good men to do
nothing." - Edmund Burke 1729 – 1797

@JustFred51 I'm curious how things will perform for you when we have a new release with the new Carny optimizations. I used to have some issues with all of my favorites disappearing in v7 and had the same thing happen in v9. I wish I knew as much as a I know now about how everything ties together because I feel like I could have narrowed the problem down and fixed it. I haven't had any issues in over a year now, so I don't know if I'll ever get the opportunity again.

Looking forward to the new Carny.  I've got nearly 8 years of recording history in wiz.bin (dating back to Sage6 days).  Will admit that there's a bit of apprehension with the increased use of Java heap.  As it is, one of my systems (w/3- HD200's) constantly teeters on the edge of instability... I have to restart the server every night to keep the heap in check.
OT: Looking forward to the reduction in memory usage that's been made with regard to string de-duplication.
Thinking even bigger: wish I understood what would be required to move Sage (Win) to a 64-bit Java environment and be rid of the heap-size limitations.  That's a project I'd be willing to help with.

Hi Keith,
Every few months I run out of memory.  I have 4 HD300's.  I have been using
them about five years.  I guess I should do a weekly reboot.
Lance
On Tue, May 16, 2017 at 12:00 AM, Keith Fischer<EMAIL_ADDRESS>wrote:

Looking forward to the new Carny. I've got nearly 8 years of recording
history in wiz.bin (dating back to Sage6 days). Will admit that there's a
bit of apprehension with the increased use of Java heap. As it is, one of
my systems (w/3- HD200's) constantly teeters on the edge of instability...
I have to restart the server every night to keep the heap in check.
OT: Looking forward to the reduction in memory usage that's been made with
regard to string de-duplication.
Thinking even bigger: wish I understood what would be required to move
Sage (Win) to a 64-bit Java environment and be rid of the heap-size
limitations. That's a project I'd be willing to help with.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/287#issuecomment-301669161, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbW4gKnFEItFZUCJ1uH2_CfZEMWF5e5xks5r6R9rgaJpZM4NbwvK
.

--
"The only thing necessary for the triumph of evil, is for good men to do
nothing." - Edmund Burke 1729 – 1797

The additional memory usage is only while Carny is running, but just about anything you do with any recording will cause it to run again, so the memory might as well be considered always in use. Also you can turn the maps off and still get multi-threaded performance, that's close to linear per core dedicated to the task. I have been looking at more efficient memory allocation strategies for the Show objects.
For my own curiosity, I packed the Show object into individual efficient off heap ByteBuffers and with the maps the total heap size was 354MB (vs 420MB). This of course means that any time you want to do anything with a show, the part that you want needs to be converted back into an object which does create a GC situation, but the reality is that you're not looking at 100% of the shows in the database at any time, so why do we always have all of the data always loaded? When I tried this, I was careful to maintain the identity of the objects since SageTV relies heavily on it, just all of the internals were always being re-created/retrieved. In the UI,  I was unable to perceive any significant delays due to the way the data was being loaded.
For what it's worth, I do a lot of my testing on a Windows 7 box. The standard SageTV setup is actually fairly light on memory per client connection. It's definitly the graphic rich UI's causing many of the problems we see. Also I left the Comskip plugin running once while I was doing profiling and it is constantly opening and closing it's own configuration file which creates a not insignificant amount of GC on it's own.

That modification does make Carny go from sub 30 seconds to 2 minutes mind you. And before you say something like you're just putting the memory load somewhere else, using on heap ByteBuffers resulted in 393MB of total heap usage, so the structures were more efficient.

Hi Joseph,
I am running windows 7 on a sage dedicated server and am using a program
called prio.  I set the priorities for all of the programs running.  By
setting the io and cpu priorities low for other programs I extended the
time I ran out of memory to the current once every few months.
Lance
On Tue, May 16, 2017 at 6:44 AM, Joseph Shuttlesworth <
<EMAIL_ADDRESS>wrote:

The additional memory usage is only while Carny is running, but just about
anything you do with any recording will cause it to run again, so the
memory might as well be considered always in use. Also you can turn the
maps off and still get multi-threaded performance, that's close to linear
per core dedicated to the task. I have been looking at more efficient
memory allocation strategies for the Show objects.
For my own curiosity, I packed the Show object into individual efficient
off heap ByteBuffers and with the maps the total heap size was 354MB (vs
420MB). This of course means that any time you want to do anything with a
show, the part that you want needs to be converted back into an object
which does create a GC situation, but the reality is that you're not
looking at 100% of the shows in the database at any time, so why do we
always have all of the data always loaded? When I tried this, I was careful
to maintain the identity of the objects since SageTV relies heavily on it,
just all of the internals were always being re-created/retrieved. In the
UI, I was unable to perceive any significant delays due to the way the data
was being loaded.
For what it's worth, I do a lot of my testing on a Windows 7 box. The
standard SageTV setup is actually fairly light on memory per client
connection. It's definitly the graphic rich UI's causing many of the
problems we see. Also I left the Comskip plugin running once while I was
doing profiling and it is constantly opening and closing it's own
configuration file which creates a not insignificant amount of GC on it's
own.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/287#issuecomment-301744492, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbW4gIAVX4pKXMrViVYs0Lm_3hxzA7zLks5r6X33gaJpZM4NbwvK
.

--
"The only thing necessary for the triumph of evil, is for good men to do
nothing." - Edmund Burke 1729 – 1797

@Narflex  I've been running my production server on 3 weeks for about a week now and I haven't seen any adverse problems. If everyone is ok with this, I'll make the STV change and submit it.

Go for the STV change, no problem there.
Jeff Kardatzke
Sent from my Android
On May 26, 2017 7:02 PM, "Joseph Shuttlesworth"<EMAIL_ADDRESS>wrote:

@Narflex https://github.com/narflex I've been running my production
server on 3 weeks for about a week now and I haven't seen any adverse
problems. If everyone is ok with this, I'll make the STV change and submit
it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/287#issuecomment-304419491, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDBZ6NhzyL7Dxllb7y9Q985Cl-4eAks5r94QsgaJpZM4NbwvK
.


Add Device Support: Parkside water valve _TZE200_htnnfasr

Adding support for LIDL PARKSIDE Water Valve
Following is supported by the quirk:

[x] On/Off state reporting
[x] Change open timer duration
[x] Countdown reporting
[x] Frost lock reporting
[x] Frost lock reseting

Support not planned:

[ ] Week Scheduler (use HA automation instead)

This PR closes this https://github.com/zigpy/zha-device-handlers/issues/933 and https://github.com/zigpy/zha-device-handlers/issues/1452
This can be merged before solving following issue https://github.com/zigpy/zha-device-handlers/issues/1566 because quirk will stay as is.

Codecov Report

Merging #1574 (c450fd5) into dev (b802c1f) will decrease coverage by 0.14%.
The diff coverage is 62.26%.

@@            Coverage Diff             @@
##              dev    #1574      +/-   ##
==========================================
- Coverage   80.31%   80.17%   -0.15%
==========================================
  Files         227      228       +1
  Lines        6773     6834      +61
==========================================
+ Hits         5440     5479      +39
- Misses       1333     1355      +22

Impacted Files
Coverage Δ

zhaquirks/lidl/ts0601_water_valve.py
60.78% <60.78%> (ø)

zhaquirks/tuya/mcu/__init__.py
98.70% <100.00%> (+0.02%)
:arrow_up:

zhaquirks/tuya/__init__.py
72.24% <0.00%> (-0.17%)
:arrow_down:

zhaquirks/tuya/ts0601_cover.py
100.00% <0.00%> (ø)

zhaquirks/tuya/ts0601_switch.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Please look at the folder structure. I put the quirk in LIDL folder, but pytest is uses regular tuya namingtest_tuya_water_valve.py (future valves can be put there)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

33 of 53 (62.26%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 80.173%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

zhaquirks/lidl/ts0601_water_valve.py
31
51
60.78%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
5479

Relevant Lines:
6834

💛  - Coveralls

I have pointing out before that the LIDK folder shall being merged to the tuya for not getting one "Z2M" structure then having 15 different names / folders for the more or less the same device,
Like MOES is using nearly all tuya devices and making one folder for them is useless the most device is also sold by other brands and in the end all it tuya devices.
GREAT WORK DONE  Augsburg !!

I'm not sure now, but I believe that there's no need for the TuyaNewPowerConfigurationCluster.
The TuyaLocalCluster class is needed for write actions on fake clusters, but being th PowerConfiguration a read-only cluster, I'd say it's not needed.
Could you validate that the DoublingPowerConfigurationCluster cluster is enough?
There is also another approach that could be usefull for casting that Tuya spell around the devices.
My suggestion would be:

new BewitchedDevice class (or the name that you consider more appropriate):

class BewitchedDevice(CustomDevice):
    """Cast a magic spell for Tuya devices that needed."""

    def __init__(self, *args, **kwargs):
        """Initialize with task."""
        super().__init__(*args, **kwargs)

        # cast_tuya_magic_spell(self, tries=3)
        self._init_plug_task = asyncio.create_task(self.spell())

    async def spell(self) -> None:
        """Initialize device so that all endpoints become available."""
        basic_cluster = self.endpoints[1].in_clusters[0]

        _LOGGER.debug("Device class will cast Tuya Magic Spell")
        attr_to_read = [4, 0, 1, 5, 7, 0xFFFE]
        await basic_cluster.read_attributes(attr_to_read)

use the new class wherever it is needed:

class ParksidePSBZS(BewitchedDevice, CustomDevice):
    """LIDL Parkside water without implemented scheduler."""

    signature = {
        MODELS_INFO: [("_TZE200_htnnfasr", "TS0601")],  # HG06875
        ENDPOINTS: {
            # <SimpleDescriptor endpoint=1 profile=260 device_type=0
            .../...

Some comments:

IMHO @MattWestb has earned the right to name the new class
if I am not wrong, the spell cast is only needed in MCU devices, so I would put the new class in zhaquirks.tuya.mcu.__init__.py

What do you think?

Ahhh! and I agree to put the class inside the Tuya folder(tuya/ts0601_valve.py). Probably I would keep the ParksidePSBZS for now until we can see if it is a particular device or is a generic one.

@javicalle We was first needing it for the famous TS004F DSR but our hubart friends is using it on many MCU devices that looks need it being casted for getting all function working OK (most temp and humidity sensors with display) and also the updated LIDL power strips is needing it for using all 3 endpoint (its one "normal" Zigbee device).
I think it can being good implanting the tMS (tuya Magic Spell) casting for all MCU devices but its need testing so not braking devices if its changing the device functionality of the device.
Perhaps implanting it in your new MCU and converting all MCU device to it then you is getting them ready for it so having control if somthing is not working OK and can fixing it easy and not forcing all MCU devices at one time now and old implementation) and getting large problems with broken devices for our users.
One side note of tuya MCU devices is the Zigbee module from the factory not having its real manufacture name then its being flashed its using one standard factory ones but then connecting to one tuya MCU its getting one updated manufacture name its storing in the NVM (flash region "user data") and is using it in the Zigbee network (have getting one dumped user data and flash from one tuya TRV that is verifying the data settings of the Zigbee module). And i think the tMS casting is also making some things being sent from the zigbee module to the MCU for getting it initiated OK.

Could you validate that the DoublingPowerConfigurationCluster cluster is enough?

For some reason it wasn't enough, because I've begun with that class. I saw it in the other Irrigation valve PR, but had no success.

For some reason it wasn't enough, because I've begun with that class. I saw it in the other Irrigation valve PR, but had no success.

Ok, then I would prefer a new without the 'new' part. Just TuyaPowerConfigurationCluster or maybe TuyaDoublePowerConfigurationCluster.

I don't like the generic word valve, because it can be the Thermostatic Valve or Gas Valve. ts0601_water_valve is easier to understand.

I see your point, but IMO the question would be which devices use this implementation and not 'what are these devices used for' (water, gas, ...) Recently, another 'valve' has appeared that can be used for water or gas:

#1571
https://zigbee.blakadder.com/IOTPerfect_PF-PM02D-TYZ.html

IMO I would put all the valves in the same class. But it's not something that bothers me too much.

Ok, then I would prefer a new without the 'new' part. Just TuyaPowerConfigurationCluster or maybe TuyaDoublePowerConfigurationCluster.

The original TuyaPowerConfigurationCluster is doubling as well, i think its normal in tuya world.
https://github.com/zigpy/zha-device-handlers/blob/c7f2c61fb71b0a4b01e17779644270ef9fc11326/zhaquirks/tuya/__init__.py#L793-L805

The tuya MCU is sending battery power left as 100% that is OK for there cloud but Zigbee standard is saying it shall being sent 200% then the battery is full.
.
Some "wild ones" Zigbee devices is using 100% (all IKEA sleepers) and need one quirk for fixing it sending 200% to ZHA and its looks nice 100% in the HA GUI and not 50% without the quirk.

all proposed changes have been applied, but two things:
Do any of you know how to test following methods:
 async def bind(self):
        """
        Bind cluster.
        When adding this device tuya gateway issues factory reset,
        we just need to reset the frost lock, because its state is unknown to us.
        """
        result = await super().bind()
        await self.write_attributes({self.attributes_by_name["frost_lock_reset"].id: 0})
        return result

and
    def __init__(self, *args, **kwargs):
        """Initialize with task."""
        super().__init__(*args, **kwargs)
        self._init_device_task = asyncio.create_task(self.spell())

    async def spell(self) -> None:
        """Initialize device so that all endpoints become available."""
        attr_to_read = [4, 0, 1, 5, 7, 0xFFFE]
        basic_cluster = self.endpoints[1].in_clusters[0]
        await basic_cluster.read_attributes(attr_to_read)

it can be merged without this, but coverage percentage is lower.


[Bug] Reports broken with single subject

Almost at the end of the workflow, it crashed.
I though it was my fault with the command, but the I saw this same error. Not sure if it's a problem with the name of the folder, I ran mriqc without the --participant_label for 2 subjects without errors.
Command:
DATA_DIR="/home/asier/Desktop/fmriprep/ds000030"
OUTPUT_DIR="/home/asier/Desktop/fmriprep/output"
WORK_DIR="/home/asier/Desktop/fmriprep/scratch"

docker run -ti  \
	-v $DATA_DIR:/data \
	-v $OUTPUT_DIR:/output \
	-v $WORK_DIR:/work \
	-w /work \
	poldracklab/mriqc:latest \
	/data /output participant --participant_label sub-001 \
	-w /work --verbose-reports

I will post the output as soon as it crashes again, I ran into this on Friday and closed session after it happened.
PD: The reports and workflows are :top: !! thanks!

Tried with ds003 --participant_label sub-01 and worked perfectly O.o . Running again against ds000030 --participant_label sub-001 (note that ds000030 has not sub-001, I renamed them. Maybe this is what is causing the problem?¿?).

Worked properly again. It could be that since I was running several instances of mriqc/fmriprep I missed and took the frmiprep bug as it was mriqc :fearful: sorry! closing!


[BUG] Failed to load ’org-agenda’ package incrementally, because: (void-function doom-shut-up-a)

Failed to load ’org-agenda’ package incrementally, because: (void-function doom-shut-up-a)

Can you please provide your M-x doom/info RET? This would surely help us to diagnose the problem.
Also, does the problem persist after running these commands (basically cleaning the precompiled files and making sure everything is loaded properly):
cd ~/.emacs.d
bin/doom clean
bin/doom refresh
bin/doom autoloads

OS: darwin (x86_64-apple-darwin18.2.0)
Shell: /usr/local/bin/zsh
Emacs: 26.2 (Apr 13, 2019)
Doom: 2.0.9 (HEAD -> develop, origin/develop, origin/HEAD f754d4ff 2019-07-23 18:23:17 +0200)
Graphic display: t (daemon: nil)
System features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS
Details:env bootstrapper: envvar-file
elc count: 0
uname -a:  Darwin 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64
modules:   (:emacs dired electric vc :ui popup vc-gutter doom doom-dashboard hl-todo modeline ophints treemacs window-select workspaces :editor evil file-templates fold format lispy multiple-cursors rotate-text snippets :tools editorconfig eval flyspell magit lsp :lang ess (org +attach +ref +babel +capture +latex +present) (org-private +todo +babel +capture +export +style) emacs-lisp markdown sh :config default)
packages:  (helpful esup (dired-k :disable t) (flycheck-popup-tip :disable t) (flycheck-pos-tip :disable t) (ob-mongo :disable t) (ob-sql-mode :disable t) (ob-translate :disable t) (prettify-utils :recipe (prettify-utils :fetcher github :repo Ilazki/prettify-utils.el :files (*))) prescient company-prescient flycheck-posframe ov evil-collection shr-tag-pre-highlight orgit org-kanban alert pinentry zmq websocket simple-httpd academic-phrases ivy-yasnippet tldr ess electric-operator (emacs-snippets :recipe (emacs-snippets :fetcher github :repo hlissner/emacs-snippets :files (*))) lispy lispyville sed-mode function-args snakemake-mode deadgrep)
exec-path: (/usr/local/opt/curl/bin /usr/local/opt/ruby/bin ~/.roswell/bin /usr/local/opt/texinfo/bin /usr/local/Cellar/pyenv-virtualenv/1.1.3/shims ~/.pyenv/shims ~/.pyenv ~/bin ~/.plenv/bin ~/.plenv/shims /usr/local/sbin /usr/local/opt/curl/bin /usr/local/opt/ruby/bin ~/.roswell/bin /usr/local/opt/texinfo/bin /usr/local/Cellar/pyenv-virtualenv/1.1.3/shims ~/.pyenv/shims ~/.pyenv ~/bin ~/.plenv/bin ~/.plenv/shims /usr/local/sbin ~/.cargo/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Applications/Wireshark.app/Contents/MacOS ~/Library/Android/sdk/tools ~/Library/Android/sdk/platform-tools ~/Library/Android/sdk/build-tools ~/Library/Android/sdk/tools ~/Library/Android/sdk/platform-tools ~/Library/Android/sdk/ndk-bundle /usr/local/opt/go/libexec/bin /Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_14 /Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_14 ~/Library/Android/sdk/tools ~/Library/Android/sdk/platform-tools ~/Library/Android/sdk/build-tools ~/Library/Android/sdk/tools ~/Library/Android/sdk/platform-tools ~/Library/Android/sdk/ndk-bundle /usr/local/opt/go/libexec/bin /Applications/Emacs.app/Contents/MacOS/libexec/)

after run clean, refresh and autoloads,  still get:
Failed to load ’org-agenda’ package incrementally, because: (void-function doom-shut-up-a)

Currently, there are a lot of issues with develop branch (because of ELPA/MELPA stuff, mostly). The development is focused on the straight branch now, which should bring a new package management system - along with a lot of fixes and improvements.
If you feel adventurous (and have some time to allow for reinstalling all your packages and/or some post-install debugging), feel free to switch to the straight branch via these instructions. Basically you need to:

Switch branches
rm -rf ~/.emacs.d/.local
~/.emacs.d/bin/doom refresh
Hope it works out well?

If that's not up your alley - please allow some time for straight to be integrated into develop, with all the major bugs figured out.
The last change to doom-shut-up-a was part of a larger refactoring process on the straight branch - it didn't quite make it to develop yet.

@p9s This is a very strange error. It's complaining about a function that hasn't been introduced to the develop branch (only the straight branch).
A text search through the develop branch does not yield any matches for doom-shut-up-a. Did you, by chance, hop onto the straight branch then return to develop at some point?

When existing doom it still shows
"Symbol’s function definition is void: doom*shut-up"


microk8s.daemon-kubelite Failed to start ContainerManager invalid kernel flags vm/overcommit_memory and kernel/panic

MicroK8s version: 1.22/stable
OS: CentOS Linux release 7.9.2009 (Core) - guest VM hosted under VMware
Linux 3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Issue:
kubelite service is stuck in a never-ending crash/restart loop.
The logs show the following error:
microk8s.daemon-kubelite: E0424 03:43:38.826373    8825 kubelet.go:1423] "Failed to start ContainerManager" err="[invalid kernel flag: vm/overcommit_memory, expected value: 1, actual value: 0, invalid kernel flag: kernel/panic, expected value: 10, actual value: 0]"
systemd: snap.microk8s.daemon-kubelite.service: main process exited, code=exited, status=1/FAILURE
I can fix this by setting the following in /etc/sysctl.conf :
vm.overcommit_memory = 1
kernel.panic = 10
After this, the error is resolved and the kubelite service becomes stable in running state.
However, I am confused as to why I had to manually configure these parameters.  As far as I understand, the values that kubelite complains about are the default Linux values.  I have checked the MicroK8s documentation and I'm unable to find any mention of requiring these parameters to be set as a pre-requisite to installing MicroK8s.  Therefore, (given the Linux defaults) I would have expected to see other users encounter this error when they install - but this doesn't seem to be the case based on my searches.  I have also deployed MicroK8s previously and haven't encountered this error before.
Is anyone able to help me understand why I have encountered this issue?

Can you check if you have the --protect-kernel-defaults=true in the file /var/snap/microk8s/current/args/kubelet.  I think this setting will force one to set the vm.overcommit to 1.

Thanks for your help balchua.  Yes, this is set:
grep protect-kernel-defaults /var/snap/microk8s/current/args/kubelet
--protect-kernel-defaults=true
I had a look at this setting - "Default kubelet behaviour for kernel tuning. If set, kubelet errors if any of kernel tunables is different than kubelet defaults."
So this explains why the error is occurring.  If my understanding is correct, the default settings for these kernel parameters in Linux is 0.  Therefore, would it not follow that anyone deploying MicroK8s onto Linux will face this same problem with kubelite crash looping with the above error?  It would be unavoidable until the kernel parameters were changed by the user.  Yet, I don't see others raising this issue.  Nor do I see it mentioned in the Kubernetes/MicroK8s documentation.

Further to the above I have identified some post-deployment local customisation my org is making to MicroK8s, to specifically add the --protect-kernel-defaults=true option to kubelet.  This has now clarified the situation, and explains the behaviour.
Thanks for the help.

Further info - fyi - the CIS Kubernetes and Google Kubernetes Engine (GKE) Benchmarks best practise is to configure --protect-kernel-defaults=true.  So, if people are hardening their implementation to meet this standard they will see the kubelite error as mentioned above.
To fix this (assuming you want to keep this setting), the kernel parameters would need to be changed in /etc/sysctl.conf :
vm.overcommit_memory = 1
kernel.panic = 10
There may be implications from changing vm.overcommit_memory if your host is running other workloads besides microk8s, that may be impacted.


[Spec Deviation] Any const-expr should be allowed as the default value for defaultable function parameters

Description:
The current implementation requires the default values for defaultable function params to be simple literals.
According to the spec (Jan 2019) , any const-expr is a valid default value, for a defaultable function param.
function-type-descriptor := function function-signature
function-signature := ( param-list ) return-type-descriptor
...
param-list :=
   [ individual-param-list [, rest-param]]
   | rest-param
individual-param-list := individual-param (, individual-param)*
individual-param :=
   annots type-descriptor param-name [= default-value]
default-value := const-expr
...

const-expr :=
   literal
   | array-constructor-expr
   | tuple-constructor-expr
   | mapping-constructor-expr
   | table-constructor-expr
   | string-template-expr
   | xml-expr
   | constant-reference-expr
   | type-cast-expr
   | unary-expr
   | multiplicative-expr
   | additive-expr
   | shift-expr
   | range-expr
   | numeric-comparison-expr
   | is-expr
   | equality-expr
   | binary-bitwise-expr
   | logical-expr
   | conditional-expr
   | ( const-expr )

Affected Versions:
0.990.2
Related Issues:
https://github.com/ballerina-platform/ballerina-lang/issues/10232

This seems to be fixed with https://github.com/ballerina-platform/ballerina-lang/pull/15440


Updating CartoDB.js submodule pointing to last commit in develop branch

Basically adding this behaviour for the FullScreen button.
https://github.com/CartoDB/cartodb.js/pull/686
REVIEWER: @alonsogarciapablo
Fixes #5705

LGTM!

:D, thanks @alonsogarciapablo

Frontend tests passed, fasten your seat belts :).


Moved to a maven project

Moved to a pom project
It is now self runnable

mvn run:jetty works. Please verify that we can still use in your use case as a lot of things moved around.

Hi Alex,
I went ahead and mavenized the build. Please let me know if its ok to close this pull request.
Sonal


Bot not working

I have config mainprefix: "#" in config.js.
After i used {prefix}[comands] but bot is not responding, looks like it's missing client.on("message") somewhere, pls help me.  Thank You

i have fork from replit and successful. Thanks


Can anyone explain the Ractive Version Numbers to me?

I have an Electron project with Ractive 1.3.13 in my package.json. Now running npm update I get the message I could "update" to 1.2.10 - which is the latest Version according to npm. In the Changelog it seems as 1.2.x and 1.3.x are the same...
I'm confused.

Now running npm update I get the message I could "update" to 1.2.10 - which is the latest Version according to npm

It was my mistake: I publish 1.2.10 after 1.3.13, so NPM detects 1.2.10 as the latest version.
I'll fix that by publishing 1.3.14.

In the Changelog it seems as 1.2.x and 1.3.x are the same...

TL;DR No, they aren't. They include the same fix for two different minor version.
If you noticed there are branches for each 1.x version.
Usually if there is a bug that affects the last 2 minor releases (At the moment 1.2 and 1.3) the fix is "cherry-picked" in the related branch and then published creating a new path version.

Thanks for the report.

Yeah, this is really bizarre behavior on the part of npm. Confused the heck out of me the first time I had a bug fix in an older branch that didn't affect a newer branch.


Support ORNL Titan

SiliconTx will apparently have ORNL Titan time available in the ~1 mo timescale, accessible for doing publishable work and validation.

Most of the early validation will happen on Titan, it sounds like.

The major thing to investigate here is CUDA/OpenCL support on Titan and compatibility with OpenMM.

I couldn't glean anything from the online docs, so you'll probably need to contact support there.

No longer relevant.


Add union_typep/1

Hi there!
This PR main objective is to include the macro for private types, named union_typep/1.
It also applies some QoL changes to help you package it on Hex:

Created a CHANGELOG.md to keep track of changes
Included both README.md and CHANGELOG.md in the docs
Set the initial version for the module and the functions.
Moved the test module to test folder. This will avoid to package it. It is still compiled during tests due to the elixirc_paths changes.
Create single test cases for each function/macro available in the module.

Sure!
See https://github.com/felt/union_typespec/pull/38/commits/5ed1cd205a29dff331814146ce17054e4eec710d


Package repository supports republishing the same version

Feature Description
It is hoped that the package repository supports re-release of the same version to achieve rapid release iteration of the Snapshot version
Screenshots
No response

Most registry spec disallow republishing the same version.


FindsByAndroidUIAutomator doesn't look for AccessibilityId

Description
I'm trying to use the FindsByAndroidUIAutomator attribute to find a element by its AccessibilityId but the message I'm getting suggests it's trying to find by Id (which the element doesn't have).
My
Environment

Appium server: 1.10.1 and <IP_ADDRESS>-beta nuget package
Desktop OS/version used to run Appium if necessary: Mac
Mobile platform/version under test: Android 8.0.0
Real device or emulator/simulator: Real device (Galaxy s9)

Details
This is the element
[FindsByAndroidUIAutomator(Accessibility = "Access")]
public IWebElement MyElement{ get; set; }

Then I just do a simple call like:
public void FindsByCustomOther()
{
    var test = MyElement.Displayed;
}

For the constructor I tried without success:
public MyClass(IWebDriver webDriver)
{
    PageFactory.InitElements(webDriver, this, new AppiumPageObjectMemberDecorator());
}

Do I need anything else to use it? As a workaround I created a custom FindsBy using the How.Custom from Selenium, but I'm puzzled on how to make this one work.
Exception stacktraces
OpenQA.Selenium.NoSuchElementException: 'Couldn't locate an element by these strategies: Locator map:
- native content: "By.Id: <OtherUserName>k__BackingField; "
- html content: "ByIdOrName([<OtherUserName>k__BackingField]); " '

Does it work when using
[FindsByAndroidUIAutomator(Accessibility = "Access")]
public IMobileElement<AppiumWebElement> MyElement { get; set; }

I have the same issue it does not work with the below code

Does it work with?
[FindsByAndroidUIAutomator(Accessibility = "Access")]
public IMobileElement<AppiumWebElement> MyElement { get; set; }

@akinsolb FindsByAndroidUIAutomator was removed as part of the PageObjets deprecation, is that right?

@Icaroto I see that when you posted this you used a beta version of this client.
If the issue is still relevant somehow can you try the latest stable version?  although it's been 4 years now :(

Closed as no response


Building independent tests individually in the same package fail

stack build --test multi-test-suite:test:multi-test-suite-test-2
...
multi-test-suite-<IP_ADDRESS>: test (suite: multi-test-suite-test-2)
Completed all 3 actions.

stack build --test multi-test-suite:test:multi-test-suite-test-3
Test suite multi-test-suite-test-3 executable not found for multi-test-suite
Test suite failure for package multi-test-suite-<IP_ADDRESS>
    multi-test-suite-test-3:  executable not found
Logs printed to console

stack --version
Version <IP_ADDRESS>, Git revision b7773e05b10c6ac8ee18d7a08c109d537951f018 (dirty) (2629 commits) x86_64

possibly related to commercialhaskell/stack#1399

Thanks!  I'll probably be moving the contents of this repo into an integration test soonish


How can I slove this problem when I run ns-process-data {video,images,polycam,record3d} --data {DATA_PATH} --output-dir {PROCESSED_DATA_DIR}

It is normal since colmap use random initialization for every run. But in my experience, Please use colmap 3.8 for getting more chance higher colmap matched.

I sometimes get better results by using colmap gui instead of ns-process-data.
Try installing colmap by sudo apt-get install colmap, open colmap gui by typing colmap gui and process your images there.

I sometimes get better results by using colmap gui instead of ns-process-data. Try installing colmap by sudo apt-get install colmap, open colmap gui by typing colmap gui and process your images there.

What is the command to import Colmap GUI models for into nerf studio? I assume they must be processed into nerf studio format, even if you use COLMAP gui?


Standardizing READMEs across fostive GH org

Add link to LICENSE
Add link to code of conduct
Add contributors section and contributors count. See https://allcontributors.org/docs/en/bot/overview for how to add yourself or others!

@crcastle I fixed formatting so that CI would pass.

Oh thanks @pozil ! I was just installing all the dependencies locally to figure out what was going on. Also, I just noticed the images broke in the README. I'll make another PR to fix them now.
@all-contributors please add @pozil for code, design, ideas, doc, and review
@all-contributors please add @crcastle for doc, projectManagement

@all-contributors please add @pozil for code, design, ideas, doc, and review


Description
Fix a bunch of typos
Related issues/PRs
N/A
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note
Fix typos

Reminder for the reviewer

docs-not-required: This change has no user-facing impact and requires no docs.
release-note-required: This PR has user-facing changes. Most PRs should have this label.
cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.

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

@danielhoherd thanks for the PR! However, I think @invidian beat you to this one: https://github.com/projectcalico/calico/pull/6067

What are the odds... Last typos fixing PR was opened in 2018 and now there are 2 within 3 hours. Universe is a weird place :smile:

@invidian for me it's because I am testing on k8s 1.18 and 1.19 are seeing errors with what is hosted on the website, so I am now caching the older files locally, but doing so triggered my pre-commit spellchecker because of a typo in the k8s manifest. It's likely the other person is running into a similar situation.

LOL, down to a single typo now.

Do you plan to send fixes to libbpf perhaps?

I was thinking about it, but somehow I think they would frown on comment typo fixes. I think I'll pass since it doesn't directly affect me like this calico typo thing did.


[Suggestion] Villager hazard detection

Villagers break any hazards within a village, eg sweet berries, cover up holes that have a larger than a certain distance drop

Higher priority - easy fix, high benefit.

Is this resolved? I still find villagers walking into holes a lot


Revert "Show provider name for instances"

Reverts pinterest/teletraan#595

Tobi, do we still need this revert? what was the issue?


nixpkgs-docs: when to prefer passthru.tests over installCheckPhase

Motivation for this change
Make it easier to add tests by documenting better how.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/contributor-retention/12412/74

https://github.com/NixOS/ofborg/issues/524
ofborg eval doesn't check passthru, we probably want to resolve that first before we recommend it in the manual.

NixOS/ofborg#524
ofborg eval doesn't check passthru, we probably want to resolve that first before we recommend it in the manual.

we should definitely double-check that - my impression is that ofborg will run the tests for derivations that it builds. That issue seems to say ofbord usually checks derivations it doesn't build at least evaluate correctly, but that that doesn't work for passthru derivations. Not sure though.

ofborg eval doesn't check passthru

we should definitely double-check that

It does run it for packages it builds, see for example https://github.com/NixOS/nixpkgs/pull/119781 . That seems sufficient to me, WDYT?

... ofborg will run the tests for derivations that it builds. That issue seems to say ofbord usually checks derivations it doesn't build at least evaluate correctly, but that that doesn't work for passthru derivations.

Yes.
It's easy it overlook and people would assume a ✅  from ofborg means that it's okay and nobody notices until it fails on Hydra.

On discourse I said:

the nixpkgs manual ... is thin on how you’d write a test from scratch or what would be meaningful.

This PR is already a well-scoped stepwise improvement that bites off a big part of how you'd write a test from scratch, so I decided to sketch out how I think about what would be meaningful in case it helps clarify whether anything is missing or should be shaded differently? I don't want to force a broader scope or gum the PR up, so I'm posting it in the discourse thread: https://discourse.nixos.org/t/contributor-retention/12412/75
The main place I think it intersects with the how-to documentation already in this PR:

Without a resource covering what to test, I imagine some readers will see the help/version example here as a straightforward example of a test that is good/desirable or at least acceptable. It might be good to drop some breadcrumbs about where it sits on the various scales (Is it just a trivial example that was once acceptable but would get laughed out of PR review these days? Is it the minimum-meaningful test, or all we should aspire until everything is at this level?)

If it is trivial, saying so is probably enough. If it is meaningful, a quick high-level note on ~why it's meaningful might be a good stop-gap for orienting people towards appropriate values?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/contributor-retention/12412/80

This is great improvement of the reference in the manual.
I finally came to document the best practices of how to create package test today: https://github.com/NixOS/nixpkgs/pull/120534
When that is merged, you should just add a minimal example that runs tests.nix and update the terms accordingly "package tests" instead of "Regular tests".

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/improve-the-jdk-infrastructure-on-nixpkgs/45678/33


Bot doesn't respond down frequently

Kindly fix the issue that bot goes down frequently

i'll fix that soon, it's probably due to command spams or two people using same command at the same time


Option to override color depth for a sled

Right now to create a sled, your only option is:
let sled = Sled::new("/path/to/config.toml")?;

Which will populate the Sled struct with LED data, each LED getting 32-bits/channel for color. This behavior should be overridable.
type Rgb8 = Rgb<_, u8>;
type Rgb64 = Rgb<_, u64>;

let lightweight_sled = Sled::new::<Rgb8>("/path/to/config.toml")?;
let precise_sled = Sled::new::<Rgb64>("/path/to/config.toml")?;

Perhaps even extending to support other palette spaces like RGBA, HSL, etc.

I've got this compiling on the decouple_colors branch. Unit tests don't pass yet as they'll need some rewriting, but this seems to be working!
use palette::rgb::Rgb;
let mut palette_sled = Sled::<Rgb>::new("path/to/config.yap")?;
let mut tuple_sled = Sled::<(u8, u8, u8)>::new("path/to/config.yap")?;

palette_sled.set_all(Rgb::new(1.0, 1.0, 1.0));
tuple_sled.set_at_angle(0.2, (64, 128, 255));

Added bonus, with palette moved from a dependency to a dev dependency, a vanilla build of spatial_led compiles much faster. Goes from 31 dependencies down to 20, compiling on release went from 10.44s down to 3.22s.

Completed by #91


click_handlers: Don't focus elements on dragstart.

Chrome focuses elements when you start dragging them,
which can confuse users because of our focus outline.

Testing Plan:
GIFs or Screenshots:

This lgtm.  Thanks @Gittenburg!


version 0.2.14 on pypi is not 0.2.14

The version 0.2.14 on https://pypi.python.org/pypi/graypy is not identical to the 0.2.14 release file on Github.
The pypi release matches revision 10f97aa633ca32c2b2c34c5f90d0d0ebcd010da1 of the 11th of July, which was the first merge after 0.2.13.

@severb: Please look into this.

I think it's true, the versions don't match. Instead of going back and fixing it, I just released version 0.3.

👍  works for me


Add System error J174618

Describe the bug
When entering or adding J174618, node system does not appear.
To Reproduce
Steps to reproduce the behavior:

Click on map
Add system
See error

Or

Jump inside J174618
See db error

reproduce
Error : The given key 'C18' was not present in the dictionary.


Bbranch

I tried resolving the merge conflicts to the best of my capability.I started all over again and ran prettier on just the required files.

https://github.com/Opentek-Org/opentek/pull/87
Isn't this PR done here?
@MuditWadhwa @PrafulAnand

#87
Isn't this PR done here?
wasnt aware about this @AnirudhPanda  you may close this one I guess :)

<EMAIL_ADDRESS>was branch newnew


I am using quill editor.All is working well in rendering delta format documents as well.But when I try to use Image attributes , it throws this error.

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

Hi @hmangaiha-dev ,
When opening an issue, please try to provide all or some of the information indicated in the template.

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.


'A' element template becomes infinitely large

In createLi(), there's this snippet:
      if (that.options.showTick || that.multiple) {
        checkMark = elementTemplates.span.cloneNode(false);
        checkMark.className = iconBase + ' ' + that.options.tickIcon + ' check-mark';
        elementTemplates.a.appendChild(checkMark);
      }

That last line is, I think, something that shouldn't be called on every single createLi(); it's just infinitely appending the tick mark span to the a element template.
If you examine a multiselect after calling refresh on it, the effect is that there's a very large number of the tick mark spans present on every line item. Visually, it's not apparent -- you have to examine the generated HTML.

I should also note that the number of duplicated spans present will be equal to the number of selects present on the page.
If only a single select is present, the behavior will not be triggered. If multiple are present, the duplication will  be proportional to the number present.

A quick and dirty fix for this that seems to work for me is as follows:
Modify generateOption.a() to handle this dynamically:
    a: function (text, tick, classes, inline) {

      var a = elementTemplates.a.cloneNode(true);

      if (tick) {
        var checkMark = elementTemplates.span.cloneNode(false);
        checkMark.className = tick;
        a.appendChild(checkMark);
      }

      if (text) {
        if (text.nodeType === 11) {
          a.appendChild(text);
        } else {
          a.insertAdjacentHTML('beforeend', text);
        }
      }

      if (typeof classes !== 'undefined' && classes !== '') a.className = classes;
      if (version.major === '4') a.classList.add('dropdown-item');
      if (inline) a.setAttribute('style', inline);

      return a;
    },

Since generateOption.a() is only ever called in two places, both from createLi(), the following changes there:
if (that.options.showTick || that.multiple) {
  checkMark = iconBase + ' ' + that.options.tickIcon + ' check-mark'
  //checkMark = elementTemplates.span.cloneNode(false);
  //checkMark.className = iconBase + ' ' + that.options.tickIcon + ' check-mark';
  //elementTemplates.a.appendChild(checkMark);
}

mainElements.push(generateOption.li(generateOption.a(textElement, checkMark, 'opt ' + optionClass + optGroupClass, inline), '', optID));

mainElements.push(generateOption.li(generateOption.a(textElement, checkMark, optionClass, inline)));

Bah, I'm an idiot, thought I was on the latest, but I see #2232 now. Will give that a try.


Improve detection of 'AudioEye' accessibility plug-in

Current Detection -
"AudioEye": {
  "cats": [
    68
  ],
  "description": "AudioEye automatically evaluates and adjusts website content to be accessible.",
  "html": "<iframe[^>]*audioeye\\.com/frame/cookieStorage",
  "icon": "AudioEye.svg",
  "scripts": "audioeye\\.com/ae\\.js",
  "website": "https://www.audioeye.com/"
},

Site where detection is not working - https://www.myfamilymobile.com/
Additional checks to add - Check for following cookies -
_aeaid
aeatstartmessage
aelastsite
aeatstartmessage

Hey there, updated . Thnaks , got also version and new icon


autobuy script throwing "continue not properly in loop" error

Apologies for the non-python-literate question.
My whole_foods_delivery_slot_chrome.py works fine. Now trying to get the autobuy.py script to work. Here's the error:
Whole-Foods-Delivery-Slot-master $ python whole_foods_delivery_autobuy.py
File "whole_foods_delivery_autobuy.py", line 48
continue
SyntaxError: 'continue' not properly in loop

its solved

hi Pooja,
I hope you are well! Thanks for any help on this...I'm not sure it is even an error.
Here's what I'm getting:
air-2:Whole-Foods-Delivery-Slot-master johnwhitty$ python whole_foods_delivery_autobuy.py
refreshed
SLOTS OPEN!
Found a slot but it got taken, run script again.
Traceback (most recent call last):
File "whole_foods_delivery_autobuy.py", line 141, in
getWFSlot('https://www.amazon.com/gp/buy/shipoptionselect/handlers/display.html?hasWorkingJavascript=1')
File "whole_foods_delivery_autobuy.py", line 138, in getWFSlot
autoCheckout(driver)
File "whole_foods_delivery_autobuy.py", line 42, in autoCheckout
slot_continue_button = driver.find_element_by_xpath('/html/body/div[5]/div[1]/div/div[2]/div/div/div/div/div[2]/div[3]/div/span/span/span/input')
File "/Users/johnwhitty/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/Users/johnwhitty/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
'value': value})['value']
File "/Users/johnwhitty/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Users/johnwhitty/Library/Python/2.7/lib/python/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[5]/div[1]/div/div[2]/div/div/div/div/div[2]/div[3]/div/span/span/span/input"}
(Session info: chrome=81.0.4044.122)
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, April 21, 2020 9:39 PM, Pooja Ahuja<EMAIL_ADDRESS>wrote:

Closed #55.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Support for vue-apollo smart queries?

This is more question than issue but maybe it deserves documenting. If you were using vue-apollo's smart queries instead of asyncData, how would you integrate the payload-extractor? Would you set the skip property from a method? Use middleware to control Apollo?

I'd use a middleware to make axios-requests to payloads, but since you can't return data from middleware, you'd had to use vuex for that. It would be too much hassle and no guarantee that it would work.
Maybe nuxt full-static mode will handle it when released? Native implementation has far less limitations.

@DreaMinder i'm new to graphql and was just trying it then i got hit by the payload issue and trying to implement your solution
apollo: {
    article: {
      query: article,
      variables() {
        return { id: this.$route.params.id }
      }
    }
  }

this is what a smart query means right ?

@mapsgeek I guess... I don't use apollo in nuxt-powered projects, but I have enough understanding to conclude that this smart-thing won't work well with payload-extracting hacks.
Maybe try a graphql request inside of asynData instead?
Or maybe try using variables() as asyncData (make axios-request for a payload inside)? I don't think it will work though.

@DreaMinder thanks, since there's no guarantee for it to work i guess i will look for using gridsome since it's already does that out of the box

@mapsgeek makes sense, at least until Nuxt releases native full-static feature.

After much smashing and gnashing, I think I found an ugly solution to this which I'll share in case anyone finds this question and can benefit by it...
In the Smart Query, create an error handler that reloads the page. The localhost check is to keep there from being an infinite loop during development. This loop doesn't happen in the static site.
error: function(error, vm) {
          let loc = vm?.$el?.ownerDocument?.location;
          if(loc?.hostname !== "localhost") {
            loc?.reload();
          }
        }


Where are my static files in a Dokku based installation?

I finished a dokku deployment on a Digitalocean server. My application seems to work, except for my static files.
Here are the relevant parts of my settings.py file:
PROJECT_DIR = Path(__file__).absolute().ancestor(2)

MEDIA_ROOT = ''
MEDIA_URL = ''
STATIC_ROOT = ''
STATIC_URL = '/static/'

STATICFILES_DIRS = (
    PROJECT_DIR.child('static'),
)

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)

STATIC_ROOT = PROJECT_DIR.child('staticroot')

Does someone know how can i point my app at my static files on a dokku based system? Thanks!

This article is explaining how to serve static files with python, which is not usually what you want to do in production. How do I set up things to serve them with nginx?

Use the php buildpack, which can serve any static file via nginx or apache.

I have django app, why should I use php buildpack? It could probably serve static, but will fail with everything else.

Oh, I thought you meant just static applications.
If you are using the python buildpack, then the heroku docs should suffice. Here is how to set it up with django: https://devcenter.heroku.com/articles/django-assets

Note: the buildpack will almost certainly serve up the files from static, if not, thats an issue with the buildpack, not dokku.

Yeah, it advises to use whitenoise, but that's not you want to do on
production.

Then I suggest you use a CDN url for your static assets pointing at your app server.

If I want to serve static with nginx then that couldn't be done by
buildpack alone, cause it knows nothing about nginx out of container.

You can just point the cdn at your server, no need to configure nginx any more. The cdn will hit your url for the asset, cache it, and then serve it up.

Then I'll need to create 2 apps one for dynamic and one for static? Also,
static is not entirely static as I need to collect and preprocess it.
This way, I will, however, loose atomicity of deploys and done my users
will end up in broken state.
7 марта 2015 г. 12:09 пользователь "Jose Diaz-Gonzalez" <
<EMAIL_ADDRESS>написал:

Then I suggest you use a CDN url for your static assets pointing at your
app server.
—
Reply to this email directly or view it on GitHub
https://github.com/progrium/dokku/issues/437#issuecomment-77674095.

Oh, I didn't get that. What if I don't want CDN at all?

No one said anything about creating two applications. You make one application, use the recommendations of heroku to serve static assets using whitenoise, place the cdn in front of that for static assets, and you are done.
If you don't want a CDN, then I personally don't see what the concern is about performance re: production. You'll need to customize your buildpack to have nginx serve the assets, which is outside of dokku's domain (we just use heroku's buildpacks and let you use your own if specified).

This has nothing to do with buildpack. It does the job - prepares static,
then I am supposed to point nginx to that, but I can't cause it's hidden in
a docker container.
So there is a solution in dokku responsibility domain - add a setting or
something to mount a directory inside container and serve it with nginx.

I have to respectfully disagree about whose job it is to host static assets.
PHP's buildpack includes apache/nginx support by necessity, and as such includes native static asset handling as a side-effect.  Again, this is all inside of the buildpack.
While it would be quite nice to serve static assets from dokku using one of several features, it's not something that I think should be in the core - as it would conflict with functionality from buildpacks that already do this properly, such as PHP - but could be a custom plugin you create.
If you'd like to solve this problem for your applications, you could write such a plugin to add docker options for mounting a directory in the container when running a python app, and then customize your dokku nginx conf for that app to serve up assets from that directory. You can use this plugin to add custom options, and there should be documentation on using a custom nginx configuration in the docs.


Moving/Draging a Columns Layout components

Hi,
"ngFormBuilder" has a "move" button for each component.
The "angular-formio" doesn't have such a button.
Therefor it is not possible to drag layout components like "Columns Layout".
"ngFormBuilder" is much better in terms of moving components around compared to the angular 7 version.
Is it possible to add this behavior to " "angular-formio" ?

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


Which paper does this library depend on ?

I want to see the paper about this library, could you help me?

don't have paper, just an implementation

It could be great if you could provide some documentation in format paper to read about it 🥇


Add ThreadPrivateCompactKeyHashTable for aggregation.

This PR implements a new specialized aggregation hash table that is preferable for two-phase (i.e. aggregate locally and then merge) aggregation with small-cardinality group-by keys. To use this hash table, it also requires that the group-by keys have fixed-length types with total byte size no greater than 8 (so that each composite key can be packed into a 64-bit QWORD).
This PR together with #237 can improve the performance TPC-H Q01 from ~11.5s to ~5.3s, with scale factor 100 on a cloud lab machine.

Looks good to me.


Branch 1.1.2.x fails to build off-the-shelf

Looks like a broken dependency on the download link for snappy:
$ make
curl -otarget/snappy-1.1.2.tar.gz http://snappy.googlecode.com/files/snappy-1.1.2.tar.gz

The above URL does not seem to be valid.

Yeah. The above url no longer exists since Google code has terminated the service and snappy repository has moved to github. USE_GIT flag should be the default here: https://github.com/xerial/snappy-java/blob/master/Makefile#L19

Now that we are moving to 1.1.4, we no longer maintain 1.1.2


Installer script that automatically installs WSA with Google Play and root as well as all prerequisites

This installer:
Downloads and installs WSL framework, WSL2 kernel, and Debian.
Downloads and prepares the setup files and images from the internet.
Applies changes to system images and copies the rooted Android kernel.
Modifies the package to be able to install on Windows 10. (MAY NOT WORK)
Enables developer mode and installs the modified package.
Requirements:
+Admin permission.
+Make sure the ./main/TEMP folder does not have any data.
+Do NOT execute the script from the command line! (to prevent accidental data deletion, although in the installer I changed the working directory to os.path.dirname(file) (the app folder) already)

There's still a problem though. I still need a way to really install the app folder, instead of just registering the XML file and creating a shortcut to the .exe file in the temporary folder. Without that, there's no chance of WSA being updatable

Hi @ADeltaX can you help me a bit? Is there a way to sign an install package with your chosen pfx certificate and use it instead of having to manually copy to a directory and manually overwrite the folder to update the apps? (which can cause a ton of problems, for example, when the app is running in the background and the directory can't be written)

Maybe instead of Debian you could use Ubuntu since it is the default distro of WSL Also this script has been tested with Ubuntu

Hi @ADeltaX can you help me a bit? How can I create and sign an install package from the modified folder with your chosen pfx certificate and use it instead of having to manually copy to a directory and manually overwrite the folder to update the apps? (which can cause a ton of problems, for example, when the app is running in the background and the directory can't be written)

You can rebuild the msix but you'll still not receive an update (conflicting cert) and you'll lose android apps in start menu (because it's a custom capability with sccd, which attests the use only with that package family). The only way to preserve that is the registration of "unpackaged" appx in a folder (registration doesn't mean the content will be copied, but it will use that folder AS an installation path, so you can't move or delete it while in use)

I think you can still sign it with a custom certificate (and put it in your repo) and I'll sign the app with yours.

Maybe instead of Debian you could use Ubuntu since it is the default distro of WSL Also this script has been tested with Ubuntu

I prefer Debian for being more lightweight though. Also,

ok it works perfectly now. my approach was to create the directory C:\Program Files\WSA_Advanced, then the app files will be put inside a folder with the version as the name. Each time the installer updates, the old folder will be deleted after registering the new manifest file. I also implemented a check-for-update system and a rollback (which deletes the new folder).

@ADeltaX can you try the release binary some time and (maybe) add them to the release section?

Issues are disabled on your fork, so I'm writing here.
Maybe you could add a requirements.txt. For me, only the packaging package was missing. It'd be easier to install dependencies that way, if you want don't want to use the python bundled in the repo.

Any updates on this? Looks really promising to automate all the steps. 😀

You could check out https://github.com/LSPosed/MagiskOnWSA
It has a ps1 script that can install everything.

Thanks, will check it out.

is your update procedure distinctly and uniquely separate and different from windows update, or integrated and compatible with windows update?

if wsl is already installed please use the already installed default distribution.

if I use your new procedure, can I keep my previously installed wsa, in other words I do not need to deinstall waa

The oneclickinstaller not works.
I open it then i became an error


How to Stop or Dismiss the CoachMarks View

Probably, this is not an issue, but I want to know how to dismiss the CoachMarks View. Opposite of Start(:) Method.

how the "coachmarks" is a UIView, to remove this you can do:
[coachMarksView removeFromSuperview];

Thanks!


fix concurrent watch task progress nil panic

Signed-off-by: sunwp<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #919 (4a519ec) into main (1e62cc4) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #919      +/-   ##
==========================================
+ Coverage   41.44%   41.49%   +0.04%
==========================================
  Files         106      106
  Lines        8264     8264
==========================================
+ Hits         3425     3429       +4
+ Misses       4399     4394       -5
- Partials      440      441       +1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
41.49% <ø> (+0.04%)
:arrow_up:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_base.go
46.69% <0.00%> (-0.61%)
:arrow_down:

client/daemon/peer/peertask_stream.go
56.56% <0.00%> (+2.18%)
:arrow_up:


GCP .get_version() method raises exception when running qcengine info

Describe the bug
The .get_version() method on the gcp program raises an exception if the program is not found.
To Reproduce
qcengine info produces the following exception:
❯ qcengine info
>>> Version information
QCEngine:    v0.18.0+1.g02aa5ef.dirty
QCElemental: v0.17.0

>>> Program information
Available programs:
/usr/local/bin/gcp: invalid option -- 'e'
Try '/usr/local/bin/gcp --help' for more information.
Traceback (most recent call last):
  File "/Users/cbh/.pyenv/versions/miniconda3-4.7.12/envs/p4env/bin/qcengine", line 33, in <module>
    sys.exit(load_entry_point('qcengine', 'console_scripts', 'qcengine')())
  File "/Users/cbh/dev/mtzgroup/QCEngine/qcengine/cli.py", line 163, in main
    info_cli(args)
  File "/Users/cbh/dev/mtzgroup/QCEngine/qcengine/cli.py", line 126, in info_cli
    info_programs()
  File "/Users/cbh/dev/mtzgroup/QCEngine/qcengine/cli.py", line 88, in info_programs
    version = get_program(prog_name).get_version()
  File "/Users/cbh/dev/mtzgroup/QCEngine/qcengine/programs/gcp.py", line 71, in get_version
    raise UnknownError(f"Could not identify GCP version")
qcengine.exceptions.UnknownError: Could not identify GCP version

Expected behavior
The version should either be returned or if not available should simply print out the standard v??? version. It should not raise an exception.

Where might your gcp be from? There's conda gcp from -c psi4 (from a Grimme tarball). That one should be ok. It had the quirk of too much printing (see below), but I've fixed that on master. Then there's conda mctc-gcp from -c conda-forge (from a GH repo). That one was also clean as I recall. Do you know which source code and if you compiled it yourself? What does gcp --help give? Thanks for debugging help.
(py39) psilocaluser@bash:psinet:/psi/gits/QCEngine: (dftd4) qcengine info
>>> Version information
QCEngine:    v0.18.0+4.g0f5427e.dirty
QCElemental: v0.19.0

>>> Program information
Available programs:
dftd3:       v3.2.1
input error
['|', 'Version', '2.02', 'Nov', '2016', '|']
gcp:         v2.2
mp2d:        v1.1

Other supported programs:
adcc cfour dftd4 entos gamess molpro mopac mrchem nwchem openmm psi4 qchem qcore rdkit terachem torchani turbomole xtb

it appears that gcp is an alias for Git-Cherry-Pick. So my machines returns True for the program existing but it is referring to a completely separate program. Perhaps it would be good to wrap these lookups in some sort of try/except statement generally as every machine I've ever run qcengine info on raises some kind of exception. If an exception is raised, perhaps say the program is not available--or something like that :)


Documentation needs to be updated for changes in Swift 4 (@objc)

In property attributes section,  it said that @objc attribute is mandatory to declare model property.

Realm model properties must have the @objc dynamic var attribute to become accessors for the underlying database data

But the sample code for Realm Swift 2.10.0 documents still use dynamic var instead of @objc dynamic var. In realm-swift-2.10.0 examples, all of swift examples uses @objc for model property.

Thanks for the reminder, @dakeshi. The @objc attribute is becoming mandatory with Swift 4 so we preemptively updated our documentation to mention it. We've not yet released a final Swift 4 compatible release as there's no Xcode 9 GM build yet, but when we do we'll ensure that all of our documentation is compatible with Swift 4 as well.

when we do we'll ensure that all of our documentation is compatible with Swift 4 as well.

Thanks. And it will be helpful for developers to mention this change one more in 2.10.0 blog posting like https://blog.realm.io/realm-objc-swift-2.9.

Done in realm/realm.io#3854.


"Chart.yaml Dependencies" are failing

Plain Helm install with the chart is failing on the dependencies in the chart.yaml file:
My-MacBook-Pro % helm install cortex --namespace cortex -f values.yaml /Users/vikramyerneni/Desktop/repos/cortex-helm-chart Error: found in Chart.yaml, but missing in charts/ directory: memcached, memcached, memcached My-MacBook-Pro%
And the path "https://kubernetes-charts.storage.googleapis.com" in the file don't have any memcached .tgz files or associated path.

you may need a --dependency-update added to your installation command. When I ran this on my mac after deleting my charts folder, I got the same error you have, but adding the mentioned flag to the installation command downloaded a new copy of the memcached chart


Python3 tests: getting easy ones out of the way

Adding PY2AND3 label for a Python test file. Getting rid some obvious Python 2-3 compatibility issues that cause test errors, including comparing lists with integers, string-byte array difference, and use of xrange. After this CL, there are still 11 tests that fail in Python3. Those are more involved issues and will be addressed separately.

Jenkins, test this please

Using six.moves.xrange now. Commits squashed.

Jenkins, test this please.

merged


How do I display multiple API health statuses

I am trying to display more than one API health status. I downloaded the repo and worked in the example global config, I found a way to do it in here by making a new file for each API I have, I was wondering if there was a better way to do this than making new files. I have also been trying to do it in my own app that I created with npx create-react-app. I tried doing it like I did before but it was not working and it kept saying "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'url')" in the console. I would really like to know how to do it both ways so if anyone can help I would really appreciate it!

Hi @NedimHodzic,
I've put together a sandbox with multiple services, and everything seems to be working just fine. If you open the application in a new window, you can see network requests are being fired against both services.
Please ensure you are correctly configuring the services in the global config (HealthCheckConfig) or directly in the useHealthCheck hook.
If this won't help you resolve your issue, send me a reproducible example, and I'll try my best to help you out 🙂

Sorry for the late reply! I will try this and let you know. I think this
should work though.
Thank you so much for the help!
On Mon, Aug 15, 2022 at 1:58 AM Jozef Hruška @.***>
wrote:

Hi @NedimHodzic https://github.com/NedimHodzic,
I've put together a sandbox with multiple services
https://codesandbox.io/s/suspicious-gwen-4y0i5o?file=/src/App.js, and
everything seems to be working just fine. If you open the application in a
new window, you can see network requests are being fired against both
services.
Please ensure you are correctly configuring the services in the global
config (HealthCheckConfig) or directly in the useHealthCheck hook.
If this won't help you resolve your issue, send me a reproducible example,
and I'll try my best to help you out 🙂
—
Reply to this email directly, view it on GitHub
https://github.com/webscopeio/react-health-check/issues/405#issuecomment-1214682805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZBFK4B5I7LLHTCRVWZ7DD3VZHTB3ANCNFSM56F2GY4Q
.
 Can I close the issue? Let me know if you need help 🙂

Yep its resolved, feel free to close it. Thank you!
On Fri, Aug 19, 2022 at 5:09 AM Jozef Hruška @.***>
wrote:

@NedimHodzic https://github.com/NedimHodzic Have you resolved your
issue? Can I close this? Let me know if you need help 🙂
—
Reply to this email directly, view it on GitHub
https://github.com/webscopeio/react-health-check/issues/405#issuecomment-1220497311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZBFK4FV7MD2SPJ63Z4YP7LVZ5MOHANCNFSM56F2GY4Q
.
You are receiving this because you were mentioned.Message ID:
@.***>