climate and water heater unavailable

Hi,
after upgrade to recent version of plugin and HA (core-2021.6.6) climate and water heater entities became unavailable.
In logs I see 500 errors.
Logger: custom_components.ariston.ariston
Source: custom_components/ariston/ariston.py:2714
Integration: Ariston (documentation, issues)
First occurred: 10:01:10 (32 occurrences)
Last logged: 13:01:10

ariston action nok for _get_param: Unexpected code 500 received for the request _get_param
ariston action nok for _get_gas: Unexpected code 500 received for the request _get_gas

Regards
./Michał

Did you check if android or IOS has access to the boiler? It it permanent issue or a temporary one?
Integration emulates remote access as via web page and it does not work if Ariston server is down or if server has problem connecting to the boiler.
If this integration does not work PERMANENTLY but official applications do, then you may set store_config_files to true and inside /config/http_folder there should be file with code 500 in file name, which have to be looked into.
I'm using the integration with 2021.6.6 and it works fine, so it is either connectivity problem or specifics of your boiler and used version of the integration.
If integration recovers the connection then it is completely normal behavior as I often get such errors and I reduce their frequency by setting polling to values between 1.2 and 1.6, which increases time between requests proportionally. It was just an observation that server might reject with codes 500 or 599 due to frequency of requests and not due to its contents and default values works for most, but not for all and might require tuning. But permanent issue might be due to specifics of a boiler (for example unsupported parameter sent), so that is the reason why I'm asking.

Hi,
the integration was working fine from Dec'2020. The Android Ariston app is working fine at the moment.
As you said I've set the store_config_file option and have some errors.
On get_main I get 500 error due to some security reasons.
Attaching the error files.
data_ariston_get_gas_500_error.txt[+2].tar.gz

Has integration also recovered or is it permanently down?
As I've mentioned, not much can be done for occasional faults, so I'd like to understand more.

it's permanently broken since the upgrade.

also the some other entities became unavailable too:

binary_sensor.heatpump_internet_weather
switch.heatpump_internet_weather
binary_sensor.heatpump_internet_time
switch.heatpump_internet_time
sensor.heatpump_signal_strength
switch.heatpump_thermal_cleanse_function
binary_sensor.heatpump_thermal_cleanse_function
sensor.heatpump_electricity_cost
sensor.heatpump_dhw_mode
sensor.heatpump_dhw_comfort_function
sensor.heatpump_ch_water_temperature
sensor.heatpump_ch_economy_temperature
sensor.heatpump_ch_comfort_temperature
switch.heatpump_ch_auto_function

sensors base data on same values as water_heater and climate, so it is normal.
It seems that there is error Violated Postcondition (CheckId:<PHONE_NUMBER>21): Node "<IP_ADDRESS>" not found in "User" menu in parameters request, which should be _ARISTON_CH_WATER_TEMPERATURE, which seems to be not supported in your case.
At least that is what I assume based on the data. I can try prepare prototype to test the theory, but I'm curious about data in data_ariston_get_main.json to see supported functions to understand what to check for.

It seems that your boiler does not like use of sensor.heatpump_ch_water_temperature.
Try commenting it out.

It works!!!
Thank you so much, commenting  the sensor.heatpump_ch_water_temperature made it. Thermostat is available again and rest of params seems to be getting back online again.

I'll consider analyzing result of specific request as it is not the first time that boiler does not work with specific sensors. It might be good to log error with list of supposedly unsupported sensors to save time for myself in the future.
But I need to check how to parse the html reply properly, as it is not a JSON format and potentially can change (as it is more user oriented rather than hardcoded JSON for inter hardware communication).


[v2.8] [RFE] Add CIS-1.9 (k8s v1.27-1.29) Scan capability

CIS Workbench has released CIS-1.9 for Kubernetes, This issue tracks the creation and integration of CIS-1.9 into rancher/security-scan. Once the CIS-1.9 profile becomes available upstream, we will proceed with integrating it into rancher/charts cis-benchmark.
previous issue: https://github.com/rancher/rancher/issues/43159

Closing in favor of https://github.com/rancher/rancher/issues/46881


Use pyhome instead of pythonpath for uwsgi vassals

Issue description
The request is to change pythonpath = "${pythonEnv}/${python.sitePackages}"; into pyhome = "${pythonEnv}";in uwsgi.nix
This is needed for python environments that contain .pth files. These .pth files will only be picked up if the python environment that is used for the uwsgi vassal is set as a python home.
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
/nix/store/ial8a56ys2rswfq4j2abm3cl99li5b6p-bash-interactive-4.4-p23-dev
copying path '/nix/store/ial8a56ys2rswfq4j2abm3cl99li5b6p-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...

system: "x86_64-linux"
host os: Linux 4.14.93, NixOS, 18.09.2097.dbb9f8818af (Jellyfish)
multi-user?: no
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(root): "nixos-18.09.2097.dbb9f8818af"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Any change for this to be included in 19.09?


.xproj is not a valid target in VS 15

"1.  Create a .NET Core project (e.g. Console Application) in Dev14
Option 1:
2.  Do "File->Open Project..."
3.  Browse to the folder the .xproj is in
Actual Results: .xproj does not appear as a valid target
Option 2
2.  Double click the exisitng .xproj in File Explorer
Actual Results: Error message "This file does not have a program associated with it for performing this action...""
Internal bug 287072

This is because of some missing parameters to the RegisterProjectFactory attribute on the CSharpProjectSystemPackage. I'll have a PR out for this shortly.

Fixed with #696.


Unicode Quotation Marks

Not sure if this would be in the STV or the SageTV core but it doesn't deal very well with Unicode quotation marks. More to the point the opening double quote or closing single quote. This might actually be more extensive in that there may be a complete inability to deal with Unicode characters. Though I've personally noticed this most often from metadata retrieved from TVDB. Here is an example, notice the description with spaces after the Double quote at the beginning and the single quotes in the last sentance.

I'm not entirely sure what format if stores those strings in, but if it isn't capable of dealing with unicode, it's probably likely something that will need to be fixed where it is being put into sage (Phoenix Core, I'm guessing).

Since Unicode is now pretty much the standard for text it would be more forward looking and better for internationalization to be able to deal with it properly in the core rather than depending on inputs like Phoenix translating Unicode into ASCII. That might be a huge undertaking but would be more beneficial in the long run.

I fully agree, and Java in general is pretty much all unicode compliant, and I think the Strings internally are likely UTF-16 encoding.  What might be the issue is actually on the font rendering end.  I think first off we'd need to determine if the text actually IN sage is wrong (having been 'converted' to what you see with spaces in there) or if it is correct and being displayed wrong.  I'll have to pull in some show info from tvdb to see if I can replicate it.

I think I looked into this before and it actually was the way the data
appeared in the Tribune feed....or at least was a problem related to the
data parsing and not the rendering of it. You can check with the studio
pretty easily.
Jeff Kardatzke
Sent from my Android
On Jul 19, 2017 4:21 PM, "Christopher Piper"<EMAIL_ADDRESS>wrote:

I fully agree, and Java in general is pretty much all unicode compliant,
and I think the Strings internally are likely UTF-16 encoding. What might
be the issue is actually on the font rendering end. I think first off we'd
need to determine if the text actually IN sage is wrong (having been
'converted' to what you see with spaces in there) or if it is correct and
being displayed wrong. I'll have to pull in some show info from tvdb to see
if I can replicate it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/341#issuecomment-316401553, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDHfCVwxP7YIqk2ltBt9QXQbwO7aRks5sPg-kgaJpZM4Ocwh0
.

This is the line that appears in this particular .properties file:
Description=\u201CWithout hope, without witness, without reward.\u201D The Mondasian Cybermen are on the rise. It\u2019s time for the Doctor\u2019s final battle\u2026

Interesting...I'd be curious what the metrics are for that glyph in
MetaFont/FreetypeFont. It looks like those are totally off.
Jeff Kardatzke
Sent from my Android
On Jul 20, 2017 4:07 PM, "Jason Bean"<EMAIL_ADDRESS>wrote:

This is the line that appears in this particular .properties file:
Description=\u201CWithout hope, without witness, without reward.\u201D The
Mondasian Cybermen are on the rise. It\u2019s time for the Doctor\u2019s
final battle\u2026
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/341#issuecomment-316714379, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDDu-Zgze4kJo5t8SyomGSWu3pDfBks5sP18XgaJpZM4Ocwh0
.

I've tried the fonts in the only font previewer I've got, and they seem to render these characters correctly.

Ok, I'm on vacation for a couple weeks but can investigate when I return
unless somebody else wants to learn more about font handling in SageTV. ☺
Jeff Kardatzke
Sent from my Android
On Jul 20, 2017 7:28 PM, "Christopher Piper"<EMAIL_ADDRESS>wrote:
I've tried the fonts in the only font previewer I've got, and they seem to
render these characters correctly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/341#issuecomment-316774602, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDANDrK8bvkH9p24ZRRVdPtNwMFMyks5sP45JgaJpZM4Ocwh0
.

I'm swamped at work for awhile, so I don't see myself getting around to
this anytime soon in case somebody else wants to debug it.
On Fri, Jul 21, 2017 at 12:04 AM, Jeffrey Kardatzke<EMAIL_ADDRESS>wrote:

Ok, I'm on vacation for a couple weeks but can investigate when I return
unless somebody else wants to learn more about font handling in SageTV. ☺
Jeff Kardatzke
Sent from my Android
On Jul 20, 2017 7:28 PM, "Christopher Piper"<EMAIL_ADDRESS>wrote:
I've tried the fonts in the only font previewer I've got, and they seem to
render these characters correctly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/sagetv/issues/341#issuecomment-316774602, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANEIDANDrK8bvkH9p24ZRRVdPtNwMFMyks5sP45JgaJpZM4Ocwh0
.

--
Jeffrey Kardatzke
<EMAIL_ADDRESS>Google, Inc.


drivers: i2c_nrfx_twi: Remove potential I2C deadlock

This is a proposal to fix https://github.com/zephyrproject-rtos/zephyr/issues/25076.
The same fix could be applied to i2c_nrfx_twim.c.

@XavierChapron could you take a look and approve if applicable please?

@XavierChapron could you take a look and approve if applicable please?

@carlescufi I'm not sure I'm the one you were wanting to ping on this one?

@XavierChapron could you take a look and approve if applicable please?

@carlescufi I'm not sure I'm the one you were wanting to ping on this one?

Sorry, my mistake. Could you address the review comments please?

@Mierunski I've made some change to address your remarks.
Note that:

I've not tested at all the i2c_nrfx_twim.c changes.
When this issue occurs, the I2C nrfx twi is in a state where an unint reinit is necessary to recover.

I don't understand why some buildkite jobs fail. They don't seem related to this PR.
Does anyone as a clue?

This commit has broken my SSD1306 display. The problem is that it requires 103ms (I timed it) to actually update the entire memory block and hence it's timing out in the new semaphore check. Could you please update the timeout to maybe 200msecs or add a variable definition?
Thank you.

This commit has broken my SSD1306 display. The problem is that it requires 103ms (I timed it) to actually update the entire memory block and hence it's timing out in the new semaphore check. Could you please update the timeout to maybe 200msecs or add a variable definition?
Thank you.

@MZachmann I'm sorry to hear that.
The value of 100ms was chosen to match esp driver: https://github.com/zephyrproject-rtos/zephyr/blob/98bcc51b0925a92db28f127d08b842b1d609bce8/drivers/i2c/i2c_esp32.c#L35
But as far as I'm concern I don't see any drawback in increasing this value to 200ms.

@MZachmann Can you open a bug report, please? cc @anangl


Empty windows

Hello, when I trying to run the sever, it seems my backend can run correctly, however my http://localhost:5173/ai-town seems to be empty:

Can anyone help me with this? Thanks so much!

I solved this problem:

Go to  https://dashboard.clerk.com/last-active?path=api-keys
Find the publishableKey
Add VITE_CLERK_PUBLISHABLE_KEY= [Your publishableKey] to .env.local
Restart


⚠ Bofrost.com has degraded performance

In 1812380, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 448 ms

Resolved: Bofrost.com performance has improved in 21d5ede.


Error: socket hang up

I'm copying my codes from https://github.com/google/google-api-nodejs-client/blob/master/samples/youtube/upload.js:
const youtube = google.youtube({
    version: 'v3'
  })
  youtube.videos.insert({
    part: 'id,snippet,status',
    notifySubscribers: true,
    resource: {
      snippet: {
        title: title.slice(0, 100),
        description: description.slice(0, 200),
        tags: ['hello']
      },
      status: {
        privacyStatus: 'public'
      }
    },
    media: {
      body: fs.createReadStream(filename)
    }
  }, function (err, data) {

But often got this error:
{ Error: socket hang up
    at createHangUpError (_http_client.js:302:15)
    at TLSSocket.socketOnEnd (_http_client.js:394:23)
    at emitNone (events.js:91:20)
    at TLSSocket.emit (events.js:186:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9) code: 'ECONNRESET' }

The media size is always smaller than 10m. Not sure what could be wrong there.

After removing scope force-ssl, it works. So it might be some problem with the request library.

After many tests, it still showed the error.

Are you including an authClient correctly?
Also, does the error happen every time or only sporadically? At the beginning of the upload process, or closer to the end?

It happened sporadically, mostly closer to the end. This is the api report.

And this is part of my code:
  if (!fs.existsSync(filename)) {
    return callback(null, filename)
  }
  const youtube = google.youtube({
    version: 'v3',
    auth: oauth2Client
  })
  youtube.videos.insert({
    part: 'id,snippet,status',
    notifySubscribers: true,
    resource: {
      snippet: {
        title: title.slice(0, 100),
        description: description.slice(0, 200),

Same problem
0.38 MBs uploaded. 100.00% completed.
Done uploading, waiting for response...
Error: Error: socket hang up
Thanks

@chenxsan does the video itself actually get uploaded correctly?
@ankitvadariya is your issue sporadic as well?

@ace-n  Thanks for response
Just figure out that
i am trying to upload video using service account.
and youtube document says they don't support upload video using service account , but i got access token from google API.
So i think we can't consider as a bug

@ace-n No, when the error showed up, videos won't get uploaded.

if service account fails what to use?  please help..
i am having same issue.cant solve
please guide..
thanks in advance

@mahmed0715 have you tried creating an API key?

Thanks for reply, but confusing result, here is my code: see first one is get search result and its working , then while uploading it says login required..
 if (!fs.existsSync(filename)) {
    console.log("nah");
    process.exit();
  }
var youtube = google.youtube({version: 'v3',auth: 'myapikeyhere'});
 youtube.videos.list({auth:'myapikeyhere',part:'snippet',chart:'mostPopular'}, function(err, resp) {
       console.log(resp);
       console.log(err);
     });
  var url = youtube.videos.insert({
    auth:'AIzaSyCwu-2piyn77nUXfBbctdlzYV1q9S4xXbE',
    //token:tokens,
   // tokens:tokens,
    resource: {
      // Video title and description
      snippet: {
        title: 'test again adsaa'
        , description: 'test adsaa'
      }
      // I don't want to spam my subscribers
      , status: {
        privacyStatus: "public"
      }

    }
    // This is for the callback function
    , part: "snippet,status"

        // Create the readable stream to upload the video
    , media: {
      body: fs.createReadStream(filename),

    }
  }, function(err, data) {
    console.log("err ", err);
    console.log("Done ", data);

   // process.exit();
  });

and here is result
$ node test.js
{ kind: 'youtube#videoListResponse',
  etag: '"m2yskBQFythfE4irbTIeOgYYfBU/1_1PqHHtTTxKSkUSV8VfrjwlakE"',
  nextPageToken: 'CAUQAA',
  pageInfo: { totalResults: 200, resultsPerPage: 5 },
  items:
   [ { kind: 'youtube#video',
       etag: '"m2yskBQFythfE4irbTIeOgYYfBU/IZ4nsuJPv5SKC7hHx8bo9B8hyic"',
       id: 'U_O54le4__I',
       snippet: [Object] },
     { kind: 'youtube#video',
       etag: '"m2yskBQFythfE4irbTIeOgYYfBU/yG7PW5MVzRWM_-KbGdSACmS3vcU"',
       id: 'HFeWsDpy9y0',
       snippet: [Object] },
     { kind: 'youtube#video',
       etag: '"m2yskBQFythfE4irbTIeOgYYfBU/TtwK4Hg4rszb1ebUqzKzjIErM_U"',
       id: 'f-IYeIDr8V4',
       snippet: [Object] },
     { kind: 'youtube#video',
       etag: '"m2yskBQFythfE4irbTIeOgYYfBU/KGftQIy0CJpXy2Z8c3TkE6d8pic"',
       id: 'leFuF-zoVzA',
       snippet: [Object] },
     { kind: 'youtube#video',
       etag: '"m2yskBQFythfE4irbTIeOgYYfBU/vrLhgbi5iujRmyDxWe7i_IvSQSs"',
       id: 'aEevyPse3f8',
       snippet: [Object] } ] }
null
err  { Error: Login Required
    at Request._callback (F:\workspace\TouchStone\node_modules\googleapis\node_m
odules\google-auth-library\lib\transporters.js:85:15)
    at Request.self.callback (F:\workspace\TouchStone\node_modules\googleapis\no
de_modules\google-auth-library\node_modules\request\request.js:188:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (F:\workspace\TouchStone\node_modules\googleapis\node
_modules\google-auth-library\node_modules\request\request.js:1171:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (F:\workspace\TouchStone\node_modules\googlea
pis\node_modules\google-auth-library\node_modules\request\request.js:1091:12)
    at IncomingMessage.g (events.js:291:16)
    at emitNone (events.js:91:20)
  code: 401,
  errors:
   [ { domain: 'global',
       reason: 'required',
       message: 'Login Required',
       locationType: 'header',
       location: 'Authorization' } ] }
Done  null

Hi @mahmed0715,
Does this link help at all?
@chenxsan, I'm guessing your issue is caused by sporadic interruptions with the YouTube Data API rather than a consistent bug, so I'm closing this issue for now. If you've found a consistently reproducible bug (i.e. one that happens more than 3-5% of the times you attempt to upload a video), reopen this issue and we can definitely take a look.

yes, the app need the follow autorization:
access_type: "offline",
scope : [
'https://www.googleapis.com/auth/youtube.upload',
'https://www.googleapis.com/auth/youtube'
]
Need scope offline, tu upload large videos.

I can only serve a synthetic test:

Open chrome console.
On the bottom toolbar press the three dots, add 'Request blocking'
On that tab press '+' and add *EasyNote*
Create an easynote
After 5 minutes, we should see a log in clienterrors about stuck sync, but you also should see a request going up for error endpoint in network tab.

sidenote, if you turn off network the sync will also stuck, but it is not considered as an erroneous state, as we can't really sync without network.


Underscore not showed when typing under fontSize 14

Hi guys !
To be quick, the underscores are not visible when I type and font size is set to 14. For any other font size  it seems to work otherwise (weird ^^)
Env
Ubuntu 16.04
Hyper 2.0.0 and 2.1
Ciao !

Please respect our issue template.
And simple search with underscore would have shown you that an issue already exists for this: #2812
BTW, thank you for your feedback


Function producing compiled script fails if is not exported

Summary
We have function returning compiled script. It crashes if we call it. Script does not matter.
Script compilation do not break exactly if:

Function signature has HasCallStack
Function is exported
Function is used for compilation of another script, that is exported
It is not function, but term (has no arguments)

Steps to reproduce the behavior
Minimal code example so far:
scriptValidatorForTerms :: AuctionScript -> AuctionTerms -> SerialisedScript
scriptValidatorForTerms Deposit = depositValidator

{-# INLINEABLE depositValidator #-}
depositValidator :: SerialisedScript
depositValidator =
  serialiseCompiledCode $
    $$(PlutusTx.compile [||wrapValidator . func||])

  where
    func ::
      Prelude.Integer
      -> Prelude.Integer -> Prelude.Integer -> Prelude.Integer -> Bool
    func _ _ _ _ = True

Calling show $ scriptValidatorForTerms Deposit undefined raises exception.
Actual Result
If depositValidator is exported - it works. If not - calling scriptValidatorForTerms Deposit undefined will raise:
"*** Exception: This must be replaced by the core-to-plc plugin during compilation: plc
CallStack (from HasCallStack):
error, called at src/PlutusTx/Utils.hs:8:26 in plutus-tx-<IP_ADDRESS>-8fuGrqxACC7A8obj3qrZvt
Expected Result
Serialized script.
Describe the approach you would take to fix this
No response
System info
plutus-tx-plugin ==<IP_ADDRESS>
GHC version: 8.10.7
All options from troubleshooting seems to be enabled.

Sorry, I missed your answer.

Do you have to have undefined in there for this to be a reproducer?

No, I tried with real values, and it still reproduces.

@uhbif19 I tried something similar to what you did on master and couldn't reproduce. It would be helpful if you can confirm whether this is still a problem on <IP_ADDRESS> (or a recent version), if not on master. And if it is, try adding {-# OPTIONS_GHC -fomit-interface-pragmas #-} in PlutusTx.Plugin.Utils (the module where plc is defined).

We don't have a reproducer and it's been 3 months since the last message, hence I'm going to close this ticket. Do feel free to reopen any time.


Back out "Delegate IColumn.fill_null/drop_null to Arrow"

Summary:
Original commit changeset: 14ad956d406f
Original Phabricator Diff: D32770009
The commit fails GitHub CI: https://github.com/facebookresearch/torcharrow/runs/4448410206?check_suite_focus=true
In PyArrow 6.0, it's legit for an array to have non-null NullBuffer while null_count is zero:
import pyarrow as pa
>>> pa.__version__
'6.0.0'
>>> a = pa.array([1, 2, None, 3])
>>> a = a.fill_null(12)
>>> a.buffers()
[<pyarrow.lib.Buffer object at 0x7fe688222330>, <pyarrow.lib.Buffer object at 0x7fe6680c2ef0>]

So this triggers https://github.com/facebookincubator/velox/blob/674562b94780b8a895fd291c310778e4de73e7e9/velox/vector/arrow/Bridge.cpp#L499-L502
In contrast, PyArrow 2.0 will make NullBuffer to be null:
>>> pa.__version__
'2.0.0'
>>> a = pa.array([1, 2, None, 3])
>>> a = a.fill_null(12)
>>> a.buffers()
[None, <pyarrow.lib.Buffer object at 0x7fc4b8031870>]

Differential Revision: D32940474

PR being reverted: https://github.com/facebookresearch/torcharrow/pull/96

Related issue: https://github.com/facebookresearch/torcharrow/issues/64


add 2 parameters in Slurm class

Add log_dir parameter to specify a log_dir, default value is "logs" in current directory as before.

Add check_bash_var parameter to choose whether to add "set -eo pipefail -o nounset" in slurm script.
Because "set -eo pipefail -o nounset" will exit script when I try to enter virtual environment of Python
using virtualenvwrapper.

looks good except check_bash_var seems a misnomer. maybe this could be bash_strict or something?

looks good except check_bash_var seems a misnomer. maybe this could be bash_strict or something?

I'm realy not goot at naming variables, bash_strict is a much better name.

thanks!

I'm working on a python pipeline using slurm to submit jobs,  slurmpy helps a lot.


Xcode Start Slowly

I Found a ploblem that is xcode start slowly when I install your plugin,about 5 minutes or more.And others will not.
os x 10.10.3,
xcode 6.3.2

Was this fixed? Or some other issue?

no fix but i closed

It's also a problem that start slowly when I open Xcode firstly...

I have the same problem, Xcode will bounce on dock for 2-5 mins before opening. If I remove cocoa pods then there is no problem.

Thanks @codwam, @vijaymason. Can you confirm your Xcode version and OS X version? In addition, what other packages are installed? I have not yet been able to reproduce this bug but am trying. :)

Hi Delisa,
OS X El Capitan 10.11.1
Xcode 7.1.1 (7B1005)
No other packages installed just CocoaPods

On 17 Nov 2015, at 18:37, Delisa Mason<EMAIL_ADDRESS>wrote:
Thanks @codwam https://github.com/codwam, @vijaymason https://github.com/vijaymason. Can you confirm your Xcode version and OS X version? In addition, what other packages are installed? I have not yet been able to reproduce this bug but am trying. :)
—
Reply to this email directly or view it on GitHub https://github.com/kattrali/cocoapods-xcode-plugin/issues/64#issuecomment-157463849.

Kind regards,
Vijay Mason

@vijaymason Well, I'd assume you have Alcatraz installed as well, correct?

Hi Delisa,
Yes that is correct, i have iMac 5K Retina aswell :)

On 17 Nov 2015, at 18:43, Delisa Mason<EMAIL_ADDRESS>wrote:
@vijaymason https://github.com/vijaymason Well, I'd assume you have Alcatraz installed as well, correct?
—
Reply to this email directly or view it on GitHub https://github.com/kattrali/cocoapods-xcode-plugin/issues/64#issuecomment-157466315.

Kind regards,
Vijay Mason

Didn't actually mean to close this. Pushed a possible fix in 564fbc1, though I'll need it confirmed.

Seems to have fixed the issue :)

Awesome! Thanks.


Discriminated union with an optional discriminator is not being resolved as expected

🔎 Search Terms
discriminated union, discriminated union with an optional discriminator, type inference in objects
🕗 Version & Regression Information
I have a simple piece of code (see the playground/below)
The runtime flow is very simple: whatever gets returned by the loader func gets passed as data to the handle's crumbBuilder method. If the loader is absent then data will also be absent
But when it comes to typing those behaviors then 2 issues arise:

At first, the discriminated union is not being resolved properly: in the second case it should be a string but TS cannot infer it and defaults to any
At second, we still have to explicitly annotate or assert the data type, however from the loader definition it is possible to infer its return type. Is there a syntax way to say 'the type of data is the whatever awaited type the loader function returns?. I have tried to achieve that behaviour using generics and the satisifies` keyword but failed to

⏯ Playground Link
https://www.typescriptlang.org/play/?#code/C4TwDgpgBACghsAFgZQgcwLYQHbCgXigHsAjAKwgGNgBtAXQG4BYAKFdEigAk5sATADYQAPABUAIgjgA+AlADerKMqiUATgFcMJAEIaAlgL4Q1ALigAKPlPMSpASgKz4SVJhy1GrAL6t24aAAZIjhjNTFJYBk5Czg1NABnc3koMDi4DCSoACUqIjU+YQTgNX1sNAAaKGLS8tlvR3xnNSIMfQSROyjpZjYWDmhsog1gCB5+IXCuuDleEFl8JRUAHwUllRVEXkEIc3Gd4WwIADcTHvWNqAEQsIB+cyPTtV6N3xYN1cV3y+Utid3uNshBEpOdvj9rqETOZglCppEZBdvL1WJQiNhilAWiMxkCTAB1fRIYbAWFhORfDZ-HbJC4bdRaXQGIzQyzWKKNWT0KoAeh57Jm7VU+TUVGAAhAUDKADMTKK+FA4AkoI8TEifNUEO1pfoIMqhjj9pM-Cw0Ri8NjRkaTBSLpCwuYlSBsJRLHFEpy1uDLqLgBo1NhFfEEgA6NJqDKhjQdNQAST4LxU3gqF2pQlp3vpmm0ekMDrZDicUHoUD5AqlyuwRDwMrlEAVSuqJTKaHVLG8muA2t1+pJuP+4RqLekQA
💻 Code
type PathSegment = object[];

type Handle<TData> = {
    crumbBuilder: (data: TData) => PathSegment[];
}

type Loader<TData> = (args: { params: Record<string, string> }) => Promise<TData>;

type RouteHandler<TData = any> =
    | {
        handle: Handle<never>;
        loader?: never;
    }
    | {
        handle: Handle<TData>;
        loader: Loader<TData>
    };

const routeHandlerWithoutLoader = {
    handle: {
        crumbBuilder: (data) => [], //data is correctly inferred as never
    }
} satisfies RouteHandler

const routeHandler = {
    loader: async (args) => {
        return args.params.userId;
    },
    handle: {
        crumbBuilder: (data) => [] //data is not inferred as string
    }
} satisfies RouteHandler<string>

🙁 Actual behavior
data is not inferred as string
🙂 Expected behavior

data should be inferred as a string

there is no need to explicitly annotate or assert the data type , and it must be inferred from the loader return type

Additional information about the issue
No response

According to discriminateContextualTypeByObjectMembers the function expression used for the loader isn't possibly a discriminant value. So it's not discriminated based on that. When it comes to the optional property in the contextual type... the type is discriminated based on that only when your node doesn't have that property - but you have the loader property.

I'd be curious if we could use never / undefined as possible discriminants here. Would be interested to experiment

Could this be related to #59654, which has a simpler repro?


FormState is only observed by last Formly element

Version with bug
6.1.5
Reproduction
https://stackblitz.com/edit/ngx-formly-ui-material-hlvjcv?file=src%2Fapp%2Fapp.component.ts
Expected behavior
Toggle button should toggle the top 3 input fields
Actual behavior
Toggle does nothing
Probable Error Cause:
With the latest change in formly.field.ts (https://github.com/ngx-formly/ngx-formly/pull/3676/files#diff-df0ae785861eb0347b30fc9d957d41cb17da70920e87a746c2b805817412cd42), the form state is being observed on a field level as opposed to the "global" options level. Because the formly observe()-method only works if there is one observation source, this means that only the last field is updated. If that update does not trigger a change to the form group, the change will not propagate.
One approach could be to make the observe()-method work with several sources, like so:
      const { enumerable, set } = Object.getOwnPropertyDescriptor(target, key) || { enumerable: true };
      Object.defineProperty(target, key, {
        enumerable,
        configurable: true,
        get: () => state.value,
        set: (currentValue) => {
          if (currentValue !== state.value) {
            const previousValue = state.value;
            state.value = currentValue;
            set(currentValue)
            state.onChange.forEach((changeFn) => changeFn({ previousValue, currentValue, firstChange: false }));
          }
        },

But i do not know which side-effects such a change might have.

Hi @aitboudad , pls suggest if any fix or workaround for this, as the forms are not changing from disabled to enabled state and vice versa.

Just double checking did this break on your upgrade to 6 or on upgrade fr
6.1.4 to 6.1.5
On Tue, May 9, 2023, 10:07 PM pbnichat @.***> wrote:

Hi @aitboudad https://github.com/aitboudad , pls suggest if any fix or
workaround for this, as the forms are not changing from disabled to enabled
state and vice versa.
—
Reply to this email directly, view it on GitHub
https://github.com/ngx-formly/ngx-formly/issues/3680#issuecomment-1541266004,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADB4XNNOF76UMD3AK2JMES3XFMBALANCNFSM6AAAAAAXZ3Q354
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Issue happened when upgraded from version 6.1.3 to 6.1.5

Hi @aitboudad , pls suggest if any fix or workaround for this, as the forms are not changing from disabled to enabled state and vice versa.

use v6.1.4, I'll try to provide a fix late Today.

This issue has been fixed and released as part of v6.1.6 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


When Button is disabled, it sets style="pointer-events: none;"

🐛 Bug report
Current behaviour
Currently, when Button has disabled={true} set, it adds a style property to the element: style="pointer-events: none;" -- this overrides the cursor CSS set for the disabled state.
The current document says that Reakit elements are unstyled by default, but this is incorrect here.
Steps to reproduce the bug
See: https://codesandbox.io/s/frosty-waterfall-uf4c8?file=/index.js
Expected behavior
Reakit shouldn't set the style property on the button by default, as per the docs.
Possible solutions

Stop setting the style property in the default setup when the button is disabled
If some users depend on this functionality, pass a prop to optionally enable the current behaviour
Alternately document when Reakit adds styles with the default config and document how to override this behaviour

Environment
Please, run the command below inside your project directory.
$ npx envinfo --system --binaries --browsers --npmPackages "{react*,reakit*}"

  System:
    OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa)
    CPU: (16) x64 Intel(R) Xeon(R) CPU
    Memory: 862.39 MB / 62.81 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v14.15.5/bin/yarn
    npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
  npmPackages:
    react: ^17.0.1 => 17.0.1
    react-dom: ^17.0.1 => 17.0.1
    react-hook-form: ^6.15.1 => 6.15.1
    react-router: ^5.2.0 => 5.2.0
    react-router-dom: ^5.2.0 => 5.2.0
    react-scripts: ^4.0.0 => 4.0.2
    react-select-event: ^5.1.0 => 5.1.0
    reakit: ^1.3.5 => 1.3.5

Thanks for bringing it up @smacintyre!

Alternately document when Reakit adds styles with the default config and document how to override this behaviour

I'd say that's the best option. There are a few exceptions to the "unstyled" rule, but these styles are added only when a11y is affected. For example, DisclosureContent (and derived components like Dialog, Popover etc.) will add display: none when the element is hidden.

Thank you for the quick reply @diegohaz !
Yes, I guess I expect the display: none for DisclosureContent. But was a bit surprised by the style on the button. I'm using TailwindCSS for styling and spent a fair bit of time debugging why cursor wasn't changing before I noticed the style setting. :)
Is there a way to override setting that style currently? I'm evaluating Reakit for use in a project. We usually set cursor: not-allowed; (tailwind class cursor-not-allowed) for the disabled state of buttons to be explicit to the user. I think it's a better behaviour than pointer-events: none;.

The pointer-events: none style makes more sense when the Button component is not rendered as a button element. Since other elements don't support the disabled attribute, disabling pointer-events in CSS is the closest we can get. We keep this even when the component is rendered as a native button for consistency.

Is there a way to override setting that style currently?

Yes! I think this is the easiest way:
<Button style={{ pointerEvents: "initial" }} />

But you can also use render props to override or omit anything.

@diegohaz  Thank you again for the quick reply. I've never tried to the whole render props thing before, but I gave it a try and it works! Thank you very much for your help!
I tried the first example, of setting the style directly and that didn't work for me.
I would suggest adding an example to the docs. Feel free to close this ticket if you wish. Thank you again!


Dropdown for add course still shows N/A when you select a section

Hours: 1 Hour
Given that I add a course on the home page, the drop down still shows N/A instead of changing to the selected section
However in the box of "Classes you are taking" the section gets updated.
Here is a small clip of the bug:
https://gyazo.com/c27e663d71138961963ec3d584aee65f

Tested it out and it works. Dropdowns for add courses and add tas are cleared as defaults and when the section is selected for add courses, it changes on the course list.

Hours: 0.5


Add IPv6 support to ip-masq-agent

Once https://github.com/cilium/cilium/issues/14350 has been resolved, we can add IPv6 support to Cilium's ip-masq-agent.

Completed in https://github.com/cilium/cilium/pull/23219.


No attribute 'prompt' and 'num_samples'

When running the server by python3 torchchat.py server llama3.1, I was facing with the following error:
Traceback (most recent call last):
  File "/Users/ywsung/OpenSources/torchchat/torchchat.py", line 84, in <module>
    server_main(args)
  File "/Users/ywsung/OpenSources/torchchat/server.py", line 85, in main
    gen = initialize_generator(args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ywsung/OpenSources/torchchat/server.py", line 69, in initialize_generator
    generator_args = GeneratorArgs.from_args(args)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ywsung/OpenSources/torchchat/generate.py", line 113, in from_args
    prompt=args.prompt,
           ^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'prompt'

The reason of the error seems like that the "generate config" requires prompt.
And as you could see below, the server script internally initializes the GeneratorArgs instance by calling GeneratorArgs.from_args(args):
# Add CLI Args specific to user prompted generation
# Include prompt and num_sample args when the subcommand is generate
def _add_generation_args(parser, verb: str) -> None:
    generator_parser = parser.add_argument_group(
        "Generation", "Configs for generating output based on provided prompt"
    )

    if verb == "generate":
        generator_parser.add_argument(
            "--prompt",
            type=str,
            default="Hello, my name is",
            help="Input prompt for manual output generation",
        )
        generator_parser.add_argument(
            "--num-samples",
            type=int,
            default=1,
            help="Number of samples",
        )

Also, it not only 'prompt' but also 'num_samples' is empty..

Ah looks like I missed this in https://github.com/pytorch/torchchat/pull/987
Thanks for spinning up a fix, I’ll comment there

Landed fix, thanks again for flaggin


Typescript definitions

Hi there! I really like what you're doing with this library.
I'm going to be adding a few issue reports, but I figured I'd start with a small/easy one:
This PR adds a typescript definition for the t/tw and color exports.
The style rules are typed as any, while the colors are strings. I could have used RN Style types, but the real goal here is auto-completion / correction of styles.
With these definitions in place, using tailwind in RN is a better experience than on web!

Of course, this could instead go in the central @types/ repo, but it's nice when the types are "batteries included" -- depending on IDE, plain JS users can benefit too.
Things get a little more complicated when considering customizations to the tailwind config: what if I added w-3/16? If using typescript, I might need to do (t as any).w3_16. Perhaps we could add a fallback definition for arbitrary other keys? I think this is a good start for now -- customizers will figure it out :)

Let me know what you think!
FYI - I generated these definitions by using Jest snapshot tests: here is my branch with the snapshot tests (wip) Not sure what your thoughts are on snapshots-vs-fixtures, but we can talk about that later :)

Hi @davidgovea
Thank you very much for this PR.
I would have loved to see that the customised classes automatically get added but for now great work.
The snapshot tests look very interesting. I will definitely look into it.
First I was thinking to integrate more direct access to the transformed values.
just like I already do with color but then with for example with ...shadow


Return first error as primary, and include list of all errors

Rebased as c1cc7fb0 to drop the merge commit. Released as v1.1.0.
Thank you. This is a great addition.


In reader, implement Google Analytics

Do it in a similar way as on Android: https://github.com/libreliodev/android/issues/107

See #184


SWN Revised v2.5.4

Changes / Comments
1 minor bug fix, 1 option I had forgotten to add to sheet default settings.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Hardening check for ensuring KStream store is available during IT phase

stream-registry PR
Hardening Travis Build #435 failure
Changed

Updated check to ensure KStream store is available during Integration Tests
Updated StreamRegistryHealthCheck impl to instantiate infra building blocks ( health check stream, producer and consumer ) during initialization of health check.

PR Checklist Forms

[X] CHANGELOG.md updated
[] Reviewer assigned
[] PR assigned (presumably to submitter)
[] Labels added (enhancement, bug, documentation)

@neoword @saketanisha
This PR breaks the deployment.
we cant upsert a Stream in the constructor of the HeathCheck.
The lifecycle methods of ManagerKafkaProducer.start() and ManagedKStreams.start() would be called after the constructur call of HeathCheck.


after ^restart say "hi i'm back" in the same channel the ^restart happened in

it's essential to use 👋


[Chore] Update favicons and logo

Overview
Current logos on HackPortal are outdated.
Proposal
Update every instance of the HackPortal logo to the new one.
Supplemental Information
The logo can be found on the HackPortal Figma page

updated this in pr #181


aligned dct:description strings to the ones in the dprod-ontology file

Foreach entity in dprod-ontology, take its dct:description and use it to overwrite the description of the corresponding shape.

 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.

@jgeluk @rivettp please check and merge

@jgeluk @rivettp please check and merge

Looks good to me, will merge it

Oops, this PR was not a PR going into main apparently. Seems that it went into the branch profile-descriptions.


Add code coverage reporting

docs: add badges to README.md
ci: add GitHub actions to dependabot.yml
ci: add code coverage reporting

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a2c52d6). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master        #1   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         3
  Lines             ?        46
  Branches          ?         0
==========================================
  Hits              ?        46
  Misses            ?         0
  Partials          ?         0

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a2c52d6). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master        #1   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         3
  Lines             ?        46
  Branches          ?         0
==========================================
  Hits              ?        46
  Misses            ?         0
  Partials          ?         0


Cannot set Layer and Tag for Created Assets

I need to keep my Steam-VR controllers and several other ui-related elements on particular layers, so they aren't caught in some computations.
The trouble is that there isn't anywhere to specify what layer or tag you'd like your SteamVR-created GameObjects to appear on.
Currently, I'm adding '.tag = gameObject.tag' and '.layer = gameobject.layer' in every place that you instantiate a control. This way, I can place the objects on other layers - and I have the flexibility to split the left and right hands, if I feel it's needed.
It would be good to see this integrated into the code-base.

Updates can be found here - https://github.com/OptrixAU/steamvr_unity_plugin

Integrated for next update.  Thanks!


test(trim-paths): exercise with real world debugger

What does this PR try to resolve?
Although we've already check rustcflags in cargo test suite,
a basic test against real work debuggers is still wholesome.
How should we test and review this PR?
Have lldb installed, then run the new test lldb_works_after_trimmed.
Additional information
This is actually a test in preparation of a fix in rustc I am working on,
but should be fine to land this without knowing that fix.
I also plan to work on adding more test with windbg/cdb,
though I haven't found a good way to test on Windows without a physicall Windows machine.

Since we don't have anything like this before, whats the test-time cost of doing this?

Since we don't have anything like this before, whats the test-time cost of doing this?

For the test itself, it is fairly fast. It took 2s to run cargo +nightly t --test testsuite lldb_works_after_trimmed on M1 macbook. Here is a list of test time for all trim paths tests:
test profile_trim_paths::gated_manifest ... ok <0.993s>
test profile_trim_paths::gated_config_toml ... ok <1.048s>
test profile_trim_paths::multiple_options ... ok <1.417s>
test profile_trim_paths::profile_merge_works ... ok <0.636s>
test profile_trim_paths::diagnostics_works ... ok <1.671s>
test profile_trim_paths::release_profile_default_to_object ... ok <0.460s>
test profile_trim_paths::path_dependency ... ok <1.964s>
test profile_trim_paths::path_dependency_outside_workspace ... ok <1.162s>
test profile_trim_paths::git_dependency ... ok <2.217s>
test profile_trim_paths::lldb_works_after_trimmed ... ok <2.421s>
test profile_trim_paths::one_option ... ok <2.549s>
test profile_trim_paths::registry_dependency ... ok <1.504s>
test profile_trim_paths::custom_build_env_var_trim_paths ... ok <5.197s>

For the entire CI time, the cost is download time of apt install lldb. Around 4-5 seconds for 100MB extra download.

@bors r+

:pushpin: Commit 5c32fe0432c290c799dbadfd8d6822317f818c18 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 5c32fe0432c290c799dbadfd8d6822317f818c18 with merge c192d989b36211e1d54fa741815b85ba61576854...


GCP-BillingPeriodStart

Added in https://github.com/finopsfoundation/focus_converters/commit/0e8450d6dd0bc025768fd9b1460b05cbee63691f.


GSUB and GPOS are different from generated by other tool. GPOS decompile fails.

I copied the text below from an email by Jelle.B who looked at regular Ethiopic font (see the otf file in the attached zip) generated by the pipeline from the glyphs file (see the attached zip) on about 1/Feb/2016. The comments pertain to that version of the pipeline. See the bottom of this message for the reason why I cannot generate a new version of the fonts.
'Looking at the regular Ethiopic, I can confirm that the Glyphs version [...] matches the font I found that has been used for Monotype’s QA. The only difference seems to be that we tested without hints.
The “pipeline” font is different. [...]
[...] There are size differences of GSUB and GPOS too. The GSUB seems to be OK. The GPOS of the pipeline is significant larger and the tools that I have to decompile GPOS tables both fail to do so.'
NotoSansEthiopicCondensed-Regular-km-error.zip
Note that NotoSansEthiopic-MM.glyphs generates as of 12/Feb/2016 "defcon.errors.DefconError: The kerning data is not valid" so I cannot check what the newest version of pipeline generates (see https://github.com/googlei18n/fontmake/issues/13 )

I'm not seeing this at all, in fact I'm seeing that fontmake GPOS output is significantly smaller than Glyphs output. Maybe this refers to pre-feaLib fontmake output? Closing for now, can re-open if this comes up again.


PARQUET-572: Rename public namespace to parquet from parquet_cpp

cc @asandryh @majetideepak let me know if this would be problematic in some way. Thank you

This shouldn't be a problem.
+1 LGTM

Thank you


last version of graphql-java-runtime dependency missing on maven central repository

Hi,
I just started using this plugin and it seems that the last version of graphql-java-runtime is missing on maven central:
Last version of graphql-maven-plugin is 1.18.7
But last version of graphql-java-runtime is 1.18
I tried mixing versions but I get compilation errors in the generated code.
Everything seems to work fine when both plugin  and runtime stays in 1.18, but I'd rather use the lastest version!

Hello,
The ´graphql-java-runtime´ library doesn't exist anymore: using could lead to runtime errors, with some configurations.
You should now either use ´graphql-java-client-runtime´ or ´graphql-java-server-runtime´.
Étienne

Hello,
The ´graphql-java-runtime´ library doesn't exist anymore: using could lead to runtime errors, with some configurations.
You should now either use ´graphql-java-client-runtime´ or ´graphql-java-server-runtime´.
Étienne

thanks, it works fine with the ´graphql-java-client-runtime´ dependency.


Can we switch to use zsh?

 ISSUE: Support zsh #DevContainer

yes, we now support oh-my-zsh as well.


Downloadable packages

Right now, "packages" are stored within the source code. This is fine for now, since there aren't all that many of them. But it would be nice to build a system for storing tarballs with GitHub Releases.

I added a dosapp publish command to upload packages to github releases:
https://github.com/jfhbrook/dosapp/releases
Downloading packages is a little more complicated - you have to pull from the API, filter down to the latest release for the desired package, then extract the asset URL, and finally download/unpack.
I'm not sure I'll implement this in bash - I might skip straight to doing it in #1. But whenever I do that, the packages themselves are where they need to be.


Gh 2201 upgrade accumulo version to 2.x.x

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: m29827:white_check_mark: d47853:white_check_mark: GCHQDev404:x: GafferGaffer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: m29827:white_check_mark: d47853:white_check_mark: GCHQDev404:x: GafferGaffer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop-v2@517773d). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop-v2    #2396   +/-   ##
=============================================
  Coverage              ?   75.81%
  Complexity            ?      185
=============================================
  Files                 ?       11
  Lines                 ?      583
  Branches              ?       50
=============================================
  Hits                  ?      442
  Misses                ?      100
  Partials              ?       41

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 517773d...50efbda. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop-v2@517773d). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop-v2    #2396   +/-   ##
=============================================
  Coverage              ?   75.81%
  Complexity            ?      185
=============================================
  Files                 ?       11
  Lines                 ?      583
  Branches              ?       50
=============================================
  Hits                  ?      442
  Misses                ?      100
  Partials              ?       41

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 517773d...50efbda. Read the comment docs.


Fix formatting of Cerebras docs

Why are these changes needed?

Related issue number

Checks

[ ] I've included any doc changes needed for https://autogen-ai.github.io/autogen/. See https://autogen-ai.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Thanks @henrytwo, tested and looks good.


Enable usage of self-signed certs

changes to enable the usage of self-signed certs
added validation to check whether the feeded ca_cert is in base64 format
Modifications to the bsl templates to respect ca_cert spec
Modifications to the bsl CRD to respect ca_cert spec
registry and project path changes for openshift-velero-plugin
Updated Readme

Use storage provider with self-signed certificate issue fix  https://github.com/konveyor/oadp-operator/issues/12


How to get Auth Key

How to get auth key ...Within your suggestion....!   "After that you need to replace the auth key placeholder with your own auth key (in MainActivity.java), which can be found in your portal under "Applications":
public static final String AUTH = "AUTH_KEY_HERE"; // TODO: Replace with your own!"
I cannot fid who to get this key

Hi!
If you haven't created an account yet, please do so at https://proximi.io/registration/.
Then, log in to your account in the portal at https://portal.proximi.io/.
In the portal, select "Applications" from the side menu, and copy the auth key of the application you wish to use. Paste it to replace the placeholder in the code.
Apologies from the late reply.

Closing this issue. If you have any further questions, feel free to contact<EMAIL_ADDRESS>


📦 feat: Initialize docs package with Vitepress

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

new-dawn

PR #1055

PR #1056   👈

This stack of pull requests is managed by Graphite.


SIM card query, insert, update, and delete

Enables importing from and exporting(?) to SIM card.
Query will definitely be possible. I'm not sure if insert, update, and delete operations are possible. We will see.

EDIT: Query, Insert, Update, and Delete operations are ALL supported!

[x] core
[x] permissions
[x] async
[x] Howto pages
[x] Update README
[x] Update MkDocs nav

If insert and update operations are supported,

[x] Check max character limits for name, number, and emails. This can depend per SIM card or OEM but it's good to have a general idea.

Okay! Finally got started working on this. Got a SIM card now and an old non-smartphone to play around with XD. I'm testing on a Nexus 6P and Samsung Galaxy A71.
Few things I've noticed so far;
I.  Samsung
Samsung phones import contacts from SIM into the Contacts Provider automatically unlike vanilla Android in the Nexus 6P. When using the builtin Samsung Contacts app, modifications made to the SIM contacts from the Contacts Provider are propagated to the SIM card and vice versa. Furthermore, SIM contacts imported into the Contacts Provider have the same restrictions as the SIM card in that only columns available in the SIM are editable (_id, name, number, emails). Editing SIM contacts using 3rd party apps such as the Google Contacts app are not supported.
II. Query SIM contacts
Getting a cursor to all SIM contacts is straightforward,
val cursor: Cursor? = contentResolver.query(Uri.parse("content://icc/adn"), null, null, null, null)

Printing all of the column names,
Log.d("COLUMN_NAMES", cursor.columnNames.joinToString())

gives us; name, number, emails, _id
Projections are NOT supported
So, in the following code,
val projection = arrayOf("_id", "number")
val cursor: Cursor? = contentResolver.query(Uri.parse("content://icc/adn"), projection, null, null, null)

val id = cursor.getString(0)
val number = cursor.getString(1)

Even though we only want the _id and number, we still get all of the columns. The name and emails will be included in the cursor! Since the projection is ignored, the positioning of the column names defined in the projection is different than expected. In the above code snippet, the val id will have the value of the name because that is the column in 0-th index in the cursor.

Note that we, at the API library level, should still provide our consumers an include function for SIM queries for in-memory optimization. It just means that we will just ignore columns that are not included when building the in-memory models.

So, the correct query is,
val cursor: Cursor? = contentResolver.query(Uri.parse("content://icc/adn"), null, null, null, null)
val id = cursor.getString(cursor.getColumnIndexOrThrow("_id"))
val name = cursor.getString(cursor.getColumnIndexOrThrow("name"))
val number = cursor.getString(cursor.getColumnIndexOrThrow("number"))
val emails = cursor.getString(cursor.getColumnIndexOrThrow("emails"))

Selections are NOT supported
The following code snippet will return all rows even though we only want to select one row with the id.
val selection = "_id = '1'"
val cursor: Cursor? = contentResolver.query(Uri.parse("content://icc/adn"), null, selection, null, null)

Ordering, limit, and offset are NOT supported
The following code snippet will not order, offset, or limit the results ☹
val cursor: Cursor? = contentResolver.query(Uri.parse("content://icc/adn"), null, null, null, "_id DESC LIMIT 1 OFFSET 1")

Depending on memory size, SIM cards can hold 200 to 500+. The most common being around 250. Most, if not all, SIM cards have less than 1mb memory (averaging 32KB to 64KB). Therefore, memory and speed should not be affected much by not being able to sort/order and paginate. Consumers of this library can perform their own sorting and pagination if they wish.

Source: https://www.quora.com/How-many-contacts-can-I-save-on-my-SIM-card

It's done! https://github.com/vestrel00/contacts-android/pull/200

This is released in https://github.com/vestrel00/contacts-android/releases/tag/0.2.0


Surface Bank Transfer Instructions More Clearly

Related to https://opencollective.freshdesk.com/a/tickets/136000.
Currently when a contributor does a bank transfer we rely on the order number in the bank transaction so that we could find their original order, waiting in pending status, and then mark it as complete.
However when we look at the contribution flow I don't think we surface this information very clearly. For example,

within the payment instructions by default we have this clause where we point out to include the reference number. And this comes from the bank transfer details that the host can configure;

If the host configures a different set of instructions this crucial piece of information can be lost. For example we can see this happening in some collectives. Such as, contributing to any collective hosted by OSC,

I am suggesting changing this design a bit so that we have a more eye catching prompt for the user (that they cannot miss; independent on the way the host configures it's bank details) so that they know to include the order number when they make the bank transfer.
cc: @Memo-Es @Betree

Hi. I thought I'd add to the discussion before creating any designs.
How about adding the new instruction within the yellow alert bar? This bar appears constant and outside of the bank configuration settings. It also calls attention to itself.

Suggestion 1: “Your contribution is pending. Please follow the payment instructions in the confirmation email to complete your transaction. Be sure to include your order number.”
Suggestion 2: “Your contribution is pending. Please include your order number and follow the rest of the payment instructions in the confirmation email to complete your transaction.”


Use NGF logger in client-go library

Problem: The klog logger used by client-go has different formatting than the NGF loggers.
Solution: Set the klog logger to wrap the NGF logger and therefore use the same formatting.
Testing: Verified that client-go log messages now fit our formatting.
Closes #1101
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked that all unit tests pass after adding my changes
[x] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

For example, before:

and after:


Add option for customizing whether an object gets transformed

Fixes issue #9
We were seeing an issue where this library was invalidating Date and
other built-in Javascript objects. This option will give users control
over the mapping behavior.

Coverage increased (+0.1%) to 98.361% when pulling 52e5558896badeb09b4e0a935ef665d6940f25ec on atlas-ssallay:feature/customize-mapping-behavior into 4a2204554b31d1a32b761468391fc770cdfa4a4d on mcmath:master.

Coverage increased (+0.1%) to 98.361% when pulling 52e5558896badeb09b4e0a935ef665d6940f25ec on atlas-ssallay:feature/customize-mapping-behavior into 4a2204554b31d1a32b761468391fc770cdfa4a4d on mcmath:master.


fix ipa client setup order of operations

The first puppet agent run on a newly provisioned hosts was failing due to auth configuration related resources attempting to sync prior to the ipa-client-install script having been run.

references for the key were removed but the file added shouldn't be part of the same commit as it is not explained why.

The commit is question was broken into two commits. The newly introduced spec file has been moved into its own commit.


fix: add jaetak buttom

:tada: This PR is included in version 1.3.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Detecting language spoken (c# 1.1.0-beta03)

Is "Detecting language spoken" supported for c# 1.1.0-beta03 client library?
I cannot find new property "alternativeLanguageCodes", when I update client library to version 1.1.0-beta03.

I assume this is the Google.Cloud.Speech.V1 library? That field doesn't exist in the v1 API, but it's in the v1p1beta1 API. We haven't released a new version of Google.Cloud.Speech.V1P1Beta1 for a long time (it's likely we'll release an update today, as it happens), but RecognitionConfig.AlternativeLanguageCodes is part of the API.
Could you try that package and close this issue if it works for you?

Thx for info @jskeet, I'll try. Can I just ask one more question, is it ok to use v1p1beta1 on our production environment?

It's permitted as far as Google is concerned, but:

The API can still change (or even be removed) before features appear in the stable API
I'd expect a lower SLO for beta APIs than for the stable API

Ok. Should I rather wait for an update (as you said - maybe today) or can I start testing with:
V1P1Beta1 1.0.0-beta02
?
For production we use Google.Cloud.Speech.V1 1.1.0

You can definitely start testing with 1.0.0-beta02. When we release today it'll add any changes since last August, but that obviously won't change what's happening at the server side, so I don't think you need to wait at all.

@jskeet I just tried with 1.0.0-beta02, but I get AlternativeLanguageCodes is a read only property?
public RepeatedField AlternativeLanguageCodes { get; }

It's a repeated field - you add to it, typically in a collection initializer. This is the same with all repeated fields in C# proto3.

 Do you have maybe a sample of response for 3-4 language codes? On Google documentation is only this JSON sample below. I am not sure what kind (final/intermediate) of response (with all alternatives) will be returned for 3-4 different language codes?
{   "results": [     {       "alternatives": [         {           "transcript": "hi I'd like to buy a Chromecast I'm ..."           "confidence": 0.9466864         }       ],       "languageCode": "en-us"     },     {       "alternatives": [         {           "transcript": " let's go with the black one",           "confidence": 0.9829583         }       ],       "languageCode": "en-us"     },   ] }

I'm afraid I don't have deep experience with the APIs here - our job is to make the client library accurately (and easily) let you talk to the API; we don't generally have in-depth knowledge of specific use cases, particularly for beta APIs.
Is there anything stopping you just making the request yourself to see what the response would look like?

Ok I'll test/check responses myself. Anyways thx for quick help today. Maybe I'll have some more questions these days when I'll refactor our code for automatic language detection.

Just FYI, now I have tried:

Primary language code: "sl-si"
Alternative language codes: ["en-US", "de-DE"]

But always in response I get only results (intermediate and final) for primary language code, never for alternative language codes.
`[
{
"Alternatives": [
{
"Transcript": "slovenija van",
"Confidence": 0.6814952,
"Words": [
    ]
  },
  {
    "Transcript": "slovenija vojne",
    "Confidence": 0.5991966,
    "Words": [

    ]
  },
  {
    "Transcript": "slovenija v one",
    "Confidence": 0.444111,
    "Words": [

    ]
  },
  {
    "Transcript": "slovenija vane",
    "Confidence": 0.592139661,
    "Words": [

    ]
  },
  {
    "Transcript": "slovenia van",
    "Confidence": 0.401350826,
    "Words": [

    ]
  }
],
"IsFinal": true,
"Stability": 0.0,
"ChannelTag": 0,
"LanguageCode": "sl-si"

}
]`
My RecognitionConfig:
`// CREATE FULL ENGINE
// CREATE FULL ENGINE
// CREATE FULL ENGINE
ENGINE = SpeechClient.Create();
ENGINE_CONFIG = new StreamingRecognitionConfig()
{
Config = new RecognitionConfig()
{
Encoding = RecognitionConfig.Types.AudioEncoding.Linear16,
SampleRateHertz = settings.ArchiveSampleRate,
LanguageCode = firstLanguageCode,
ProfanityFilter = false,
MaxAlternatives = Constants.MASTER_SETTINGS.SpeechRecognitionAlternatives  /(optional, defaults to 1) indicates the number of alternative transcriptions to provide in the response. By default, the Speech API provides one primary transcription. If you wish to evaluate different alternatives, set maxAlternatives to a higher value. Note that the Speech API will only return alternatives if the recognizer determines alternatives to be of sufficient quality; in general, alternatives are more appropriate for real-time requests requiring user feedback (for example, voice commands) and therefore are more suited for streaming recognition requests./,
SpeechContexts = { new HintsManager(settings).GetHintsBasedOnContext(Contexts) }
},
InterimResults = Constants.MASTER_SETTINGS.RecognitionConfigSettings.InterimResultsReturned
};
        // NOTE: 10062019 - ADD ALTERNATIVE LANGUAGE CODES HERE
        // NOTE: 10062019 - ADD ALTERNATIVE LANGUAGE CODES HERE
        // NOTE: 10062019 - ADD ALTERNATIVE LANGUAGE CODES HERE
        foreach (var alternativeCode in otherAlternativeLanguageCodes)
        {
            ENGINE_CONFIG.Config.AlternativeLanguageCodes.Add(alternativeCode);
        }`

Should I wait probably for update you were saying today?

While the new release should be available in the next hour or two, I'd be very surprised if it changed what you're seeing. I strongly suspect this is a matter of either mismatched expectations, or something else API-specific.
I suggest you ask on the cloud-speech-discuss group and ask for more information about this specific feature.

Ok I'll ask on cloud-speech-discuss.

Also with little testing right now I have noticed that detection is working OK for alternative language codes, just that the returned languageCode is always that setted as primary language code.
Optional A list of up to 3 additional BCP-47 language tags, listing possible alternative languages of the supplied audio. See Language Support for a list of the currently supported language codes. If alternative languages are listed, recognition result will contain recognition in the most likely language detected including the main language_code. The recognition result will include the language tag of the language detected in the audio.
I think only this is not working ok:
The recognition result will include the language tag of the language detected in the audio.

Ok FYI. I have updated today to V1P1Beta1 1.0.0-beta03, made some local code changes and it looks like everything is working ok now! Correct language code tag is returned when using automatic spoken language detection.
Though I noticed that interim results are almost never returned && everything works more slowly?

Again, I'm afraid that's not really a client library aspect - you're best off asking on the Sperch-specific discussion group. It's entirely possible that the beta API endpoint has fewer resources. (Note my earlier comment about SLOs.)

Very well, thx for info @jskeet .

Is this supported for LongRunningRecognize operations?
I am trying to use the 'AlternativeLanguageCode' code parameter with a audio file that has been uploaded to Google Storage.
But it never uses any of the language codes specified using the 'AlternativeLanguageCode' parameter even though the language spoken matches the language code specified in the 'AlternativeLanguageCodes' parameter
It always uses the primary  'LanguageCode' parameter below
My code
try {
Speech = Google.Cloud.Speech.V1P1Beta1.SpeechClient.Create();
var RecogCfg = new Google.Cloud.Speech.V1P1Beta1.RecognitionConfig
{
           // Encoding = EncodeType,
            //SampleRateHertz = Int32.Parse(SampleRate),
            LanguageCode = "en-US",
           // EnableAutomaticPunctuation = true,
            //EnableWordTimeOffsets = true,
            MaxAlternatives = 5,
            Model= "default"

        };
        RecogCfg.AlternativeLanguageCodes.Add("ml-IN");

        if (SpeechCtx != null && SpeechCtx.Phrases.Count() > 0) {
			RecogCfg.SpeechContexts.Add(SpeechCtx);
		}

       LongOperation = Speech.LongRunningRecognize(RecogCfg, Google.Cloud.Speech.V1P1Beta1.RecognitionAudio.FromStorageUri(storageUri));

		OperationName = LongOperation.Name;
		return "1";

@mjk6035: I'm afraid that's more of an API question than a client library question - I don't know the details of what happens at the backend. I'd suggest asking in the cloud-speech-discuss group.

@jskeet Thanks for the quick response.
I have already posted my query  in the  cloud-speech-discuss group. But there is no response.
https://groups.google.com/forum/#!topic/cloud-speech-discuss/B2HqWGdKIeU
That's why I posted here.
Thanks and regards
Mathew

@mjk6035: I'm sorry that I can't help more :( It's very possible that a lot of the speech team are on vacation (or just back and working through an email backlog). Hopefully you'll get an answer soon!


we need to pass some context to command handlers

right now they know nothing at all

The worst of all is I can't know who sends rude suggestions using yabluzo now

How about we also specify which prefix was used?


Connect GitHub and Docker to SAP AI Core (Postman)

Tutorials: https://developers.sap.com/tutorials/ai-core-aiapi-postman-repository.html
Step 4: API to connect GitHub SAP AI Core
The response is wrong. As response I receive after creating the repository is :
{
"message": "Repository has been on-boarded."
}
But maybe there is a difference between canary and production...

@SCHELLK  Thank you for highlighting the mistake. No there is no difference between the response for the API call of canary and production instances.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Turbine not aggregating as expected

I have a relatively simple turbine setup whereby i have a single app running in a cluster and a turbine node polling eureka for the streams that it needs to aggregate.
Im running a constant load through my app and when i scale it back to a single instance turbine and my load testing tool agree more or less:

When I scale my app to two instances turbine reports 2 hosts but seems to halve the throughput metrics:

My turbine configuration is as follows:
server.port=8081
management.port=8082

spring.application.name=turbine

eureka.client.serviceUrl.defaultZone=http://[XXXXX]:8761/discovery/eureka/
eureka.client.registerWithEureka=false
eureka.client.fetchRegistry=true

turbine.aggregator.clusterConfig=SERVICE1
turbine.appConfig=service1

endpoints.enabled=false
endpoints.health.enabled=true
endpoints.refresh.enabled=true

Maybe im missing some important config, but ive read the documentation and cant see anything im missing

It seems the hystrix dashboard is calculating rate per second using the `` field to get the window of time in which it needs to work (https://github.com/Netflix/Hystrix/blob/master/hystrix-dashboard/src/main/webapp/components/hystrixCommand/hystrixCommand.js#L136). For our service turbine is aggregating this field. Does anyone have any idea why?

There was just a conversation about odd turbine results here https://gitter.im/spring-cloud/spring-cloud?at=58b6fb68f1a33b6275676ed9

@spencergibb thanks. But I'm not using turbine stream. I'm just using plain turbine with eureka to discover the hystrix streams.
My problem was caused by a couple of things. Firstly Zuul was deployed in containers to ECS. What was happening here was they were being registered in eureka with the same ipaddress when the prefer-ip was set to true. I set this setting to false and gave my services a host name of {containerId}@{hostipaddress}. This way turbine recognises them as different services and was still able to request the stream on the same IP address.
Secondly the issue was mentioned above. I solved this by intercepting and serving my own hystrixCommand.js that didn't use the aggregated property but a hard coded value that was known and kept in sync with Zuul
A bit "hacky" but job done

So the solution ended up being a change in hystrixCommand.js?

@ryanjbaxter so turbine is summing the propertyValue_metricsRollingStatisticalWindowInMilliseconds property.
This makes the routine that calculates rate calculate the rate incorrectly - https://github.com/Netflix/Hystrix/blob/master/hystrix-dashboard/src/main/webapp/components/hystrixCommand/hystrixCommand.js#L137
var numberSeconds = data["propertyValue_metricsRollingStatisticalWindowInMilliseconds"] / 1000;

When turbine is aggregating 2 hystix.streams the value for propertyValue_metricsRollingStatisticalWindowInMilliseconds is 20000 meaning the number of seconds calculated is 20 which is incorrect, it should be 10.
Our local fix is to change the above line to
var numberSeconds = (data["propertyValue_metricsRollingStatisticalWindowInMilliseconds"] / data["reportingHosts"]) / 1000;

Turbine isnt actively being maintained anymore so the chances of getting that change in the 1.x branch is slim.  I am going to close this issue for now since it wasnt a problem with Spring Cloud.

I'm not sure i agree that it isn't a problem with spring cloud. Its unexpected behavior caused by netflix turbine but that manifests itself as unexpected behavior in spring cloud turbine.
Maybe some documentation around the limitations of running turbine over apps in clusters as is my case would be useful.

That and the fact that turbine sums propertyValue_metricsRollingStatisticalWindowInMilliseconds making rate calculations incorrect to the order of 1/(number of instances)

Can you elaborate as to why 2 different instances were using the same IP address?

We're running our services in containers on an ECS cluster.

OK I am not familiar with ECS clusters but I suppose we can add a note to the turbine docs describing the situation....would you be up for submitting a PR?

For hystrixCommand.js? Or the documentation?

The documentation, I dont think we should change hystrixCommand.js

No problem.


Force rendering of minimap

Wavesurfer.js version(s):
2.2.0
Browser and operating system version(s):
Chrome on macos Mojave
Hi,
i need to change barHeight dynamically, but when i do it the minimap doesn't render again.
This is my code:
  protected setBarHeight() {
    const { preAmp } = this.props;
    this.wavesurfer.params.barHeight = preAmp || 1;
    this.wavesurfer.drawBuffer();
    this.wavesurfer.minimap && this.wavesurfer.minimap.render();
  }

Even if I'm calling the minimap render method, nothing happens.
How can i force render of minimap?

@Fiorello minimap has it own params, set barHeight there too
this.wavesurfer.minimap.params.barWidth = preAmp || 1

@Fiorello minimap has it own params, set barHeight there too
this.wavesurfer.minimap.params.barWidth = preAmp || 1

It works, thank you @aburai


Whitelisted collection for generative strip

to ensure this does not happen again

https://github.com/kodadot/nft-gallery/pull/9724

We can maybe whitelist collection from koda minter on AHP

That is the issue for private workers.
select * from campaigns order by created_at desc limit 5
Cc @preschian


Support spaces in label names

Hi @mrazauskas and thanks for your work on this plugin! I'd love to use it for the Serenity/JS website.
Do you think it would be possible for you to make the plugin support spaces in label names?
For example, below:
    ```json title="spec/config.json" tab={"label":"Chrome headless"}
    // some config
    ```

    ```json title="spec/config.json" tab={"label":"Chrome non-headless"}
    // some config
    ```

    ```json title="spec/config.json" tab={"label":"Firefox"}
    // some config
    ```

Results in the following error:
ERROR in ./docs/test-runners/cucumber.mdx
Module build failed (from ../../node_modules/@docusaurus/mdx-loader/lib/index.js):
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at parseMeta (/Users/jan/Projects/serenity-js/serenity-js/node_modules/docusaurus-remark-plugin-tab-blocks/src/plugin.js:21:29)
    at collectTabNodes (/Users/jan/Projects/serenity-js/serenity-js/node_modules/docusaurus-remark-plugin-tab-blocks/src/plugin.js:64:20)
    at /Users/jan/Projects/serenity-js/serenity-js/node_modules/docusaurus-remark-plugin-tab-blocks/src/plugin.js:114:24
    at overload (/Users/jan/Projects/serenity-js/serenity-js/node_modules/unist-util-visit/index.js:27:12)
    at visit (/Users/jan/Projects/serenity-js/serenity-js/node_modules/unist-util-visit-parents/index.js:56:27)
    at visit (/Users/jan/Projects/serenity-js/serenity-js/node_modules/unist-util-visit-parents/index.js:67:75)
    at visitParents (/Users/jan/Projects/serenity-js/serenity-js/node_modules/unist-util-visit-parents/index.js:29:26)
    at visit (/Users/jan/Projects/serenity-js/serenity-js/node_modules/unist-util-visit/index.js:22:3)
    at transformer (/Users/jan/Projects/serenity-js/serenity-js/node_modules/docusaurus-remark-plugin-tab-blocks/src/plugin.js:107:5)
    at wrapped (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/wrap.js:25:19)
    at next (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/index.js:57:24)
    at done (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/wrap.js:55:16)
    at then (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/wrap.js:62:5)
    at wrapped (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/wrap.js:45:9)
    at next (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/index.js:57:24)
    at done (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/wrap.js:55:16)
    at then (/Users/jan/Projects/serenity-js/serenity-js/node_modules/trough/wrap.js:62:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I think the issue is caused by the implicit assumption made in parseMeta that label names have no spaces:
https://github.com/mrazauskas/docusaurus-remark-plugin-tab-blocks/blob/8b5ed1aca11a99ab123d9265fd06379cc1ea7847/src/plugin.js#L46
Thanks!

Thanks! Glad you find the plugin useful.
This is obviously a bug. I will fix it.
Do you need this for Docusaurus 2? I was about to publish stable version for Docusaurus 3 in a week or two. For instance, it is already used in production on Jest website (see https://github.com/jestjs/jest/pull/14463).

A patch for Docusaurus 2 would be brilliant, thank you!

Fix it on main. It targets Docusaurus 3 already. Now I have to figure out how to back port that to v1. Never did something like this before ;D

Thanks! And good luck! 😄


Interoperability testing for unstructured grids

The new resqpy unstructured grid classes have been unit tested. However, no inter-operability tests have yet been carried out reading datasets generated elsewhere, or transferring resqpy datasets with unstructured grids to non-resqpy software. Help with this would be appreciated.

@mgimhoff Is this something you could help with by any chance?


[WIP] Introduce the general client conf for mr/spark

This PR is a proposal.
What changes were proposed in this pull request?
Introduce the general client conf for mr/spark

Introduce the class of RssClientConf to set the general configOptions for mr/spark
Introduce the class of RssSparkClientConf to set the spark exclusive configOptions and to construct the RssConf from the SparkConf
Introduce the class of RssMRClientConf

Why are the changes needed?
Now in mr/spark client conf, we don't obey the rule of uniffle configOptions. It causes the some problems as follows

When introducing the client general conf, we have to write three times in RssSparkConfig/ RssClientConfig / RssMRConfig. Actually there is no need to leave dirty works for developers.
If when introducing a general method for MR/Spark and need to some configs from Rss client conf. In current implementation, we have to introduce extra class for method's params. If we having the general RssClientConf, it will benifit more.

Does this PR introduce any user-facing change?
No

How was this patch tested?
UTs.

Could u help check this proposal for mr/spark client conf? This POC only does the basic implementation. If this is OK, I will go ahead.

The proposal is OK for me.

Codecov Report

Merging #200 (a6c0cc8) into master (331ebb2) will decrease coverage by 1.49%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #200      +/-   ##
============================================
- Coverage     58.41%   56.91%   -1.50%
+ Complexity     1273     1194      -79
============================================
  Files           158      150       -8
  Lines          8448     7971     -477
  Branches        784      753      -31
============================================
- Hits           4935     4537     -398
+ Misses         3260     3191      -69
+ Partials        253      243      -10

Impacted Files
Coverage Δ

...rg/apache/uniffle/common/config/RssClientConf.java
0.00% <0.00%> (ø)

...org/apache/uniffle/server/ShuffleFlushManager.java
76.66% <0.00%> (-1.67%)
:arrow_down:

...org/apache/spark/shuffle/RssSparkShuffleUtils.java

.../java/org/apache/spark/shuffle/RssSparkConfig.java

...e/spark/shuffle/reader/RssShuffleDataIterator.java

.../org/apache/spark/shuffle/writer/WriterBuffer.java

...org/apache/spark/shuffle/writer/AddBlockEvent.java

...che/spark/shuffle/writer/BufferManagerOptions.java

...pache/spark/shuffle/writer/WriteBufferManager.java

...k/shuffle/writer/WrappedByteArrayOutputStream.java

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Like discussion at dev mail list, we will freeze the code and cut 0.6 version branch in September 15, we  will not merge this pr before I cut 0.6 version branch, are you ok?


Allow custom temp directories with CLIRunner.isolated_filesystem

CLIRunner.isolated_filesystem accepts a custom argument tempdir. If user specifies custom tempdir, we do not delete it afterwards assuming user will clean up afterwards.

Fixes #395

Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[x] Add or update relevant docs, in the docs folder and in code.
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[x] Add .. versionchanged:: entries in any relevant code docs.
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

Looks good to me!


Spectator View Video Capturing produces Pink Stripes

Hello people,
This is how my video recordings look like:

The strange thing is that the previews in the editor window and capturing photos work as expected so I think I can rule out any connection problems. It does look like there is something wrong with capturing the frame itself, but I'm not a C++ expert so I don't know where to start looking. Do you guys have any ideas?
Here is my setup:
Nikon D5200
Elgato HD60s Capture Card
Unity 2017.4.1f1

Hi @ILikeCreamCheese, did you manage to fix this issue? I'm getting the same unfortunately

Hi @Superdajk , I managed to, but not on purpose. What Unity version are you working on? I came back to the project 2 weeks later and had upgraded to 2017.4.9f1 and then it magically worked. I cannot remember changing anything else. Sorry that I cannot give more information.


maybe [] f -> foldMap f

Would such a hint be useful? Notably, it might possibly not be correct in the presence of OverloadedLists

Seems a bit confusing to me - its only slightly shorter, but I wouldn't have guessed what it does.

Maybe it's just a thing at the place I work at! To me, it feels in the same line as
case mx of
  Nothing -> pure Nothing
  Just x -> Just <$> ...
-- ->
for mx \x -> ...

Maybe it can be added to the same (not-enabled by default) "generalise for conciseness" group? (this being motivated because the group has e.g. either mempty -> foldMap)

Yep, no objection to generalise for conciseness. I think the difference between those two is that the complexity of a case statement is high, while the complexity of maybe [] is low.

Not that there's already a similar rule in the generalise-for-conciseness group: - warn: {lhs: maybe mempty, rhs: foldMap}
And if not considered more concise, then this rule might fit in the generalise group

Can be closed now? (exists as the default-off group "generalise")

Yep, thanks for the patch!


[BUG] - Incorrect coreg if multiple files per subject - Osprey Coreg - Gaelle

Describe the bug
Osprey is co-registering the wrong MRS voxels and T1 if multiple MRS files are parsed, processed, and averaged prior to fitting.

Solved in #561


Update data visualization

Remove grey bar.
Add the number and the percentage to the red bar.

The image can't be accessed @markherringer


Information about my Internet provider

 I could get something but not full action. I had the message explaining that was a fault on bad configuration > of the server. ````
<EMAIL_ADDRESS>

 I could get something but not full action. I had the message explaining that was a fault on bad configuration > of the server. ````
<EMAIL_ADDRESS>

I _i will bevery grateful if someone or somebody whoiswillingtohelpme withthisissue. _


Calendar does not refresh when date changes

Hi! Has anyone found a workaround for this issue?
I have an inline date picker and custom buttons added.
       <button onClick={getThisWeekRange}>               {t('thisWeek')}             </button>
  const getThisWeekRange = () => {     setStartDate(startOfWeek(currentDay, []));     setEndDate(endOfToday());   }
If a previous month is opened and I click this button, the range is set correctly, but I still see that month.
I want to refresh the date picker in order to see the month of 'this week'

Originally posted by @mansi-mms in https://github.com/Hacker0x01/react-datepicker/issues/2411#issuecomment-987011069

@mansi-mms  you can try to play with date picker's internal setSelected() method that can be accessed via reference (it is not present in type declarations though). I have the same problem at the moment and for now I decided to just close the calendar once the range is selected. While setSelected() method mentioned above works almost correctly it still gives me some side effects that I don't have time to fight with atm.

I had a similar problem:

selected two dates (date range mode).
later on reselected "Today|Tomorrow|This week|..." buttons which set dates programmatically.
end date selected in 1. step was still in the calendar.

setPreSelection() methods saved my day.

Any updates regarding this?
Relying on the internal (i.e. not included in typings) ref's methods does not seem to be the best idea in the long run :(

Facing similar issue. Anyone has found any workaround to this?

Have similar issue.
I add custom buttons for quick select of range, but it's not throwing to start of selected range. And my calendar works only through apply button, so just close calendar is not fit for me. Also it has a custom input. Any ideas?

Having the same issue here (using version 3.8.0):

I have a react-datepicker which calendar is always opened.
User can select the date using calendar, text input OR by clicking one of several predefined options (like "Last month", "Last year")
Please note that calendar has to stay opened even after selecting the date

Issue is that if user clicks on "Last month" then the date is properly changed (even text-input value is changed) but calendar still shows the old selected day.
The only workaround I found (and I understand it is not ideal) is to change key of the react-datepicker component whenever user clicks on one of the predefined options (changing the key makes sure that calendar is created from scratch and correct value is shown)

having the same issue. When a user click on a date and i change the year, the month for the date they clicked on doesnt change. For example, if i click on a date in january 2023 and change the year to 2024, all the months get updated accordingly EXCEPT january 2023

I had a similar problem:

selected two dates (date range mode).
later on reselected "Today|Tomorrow|This week|..." button which set dates programmatically.
end date selected in 1. step was still in the calendar.

setPreSelection() method saved my day.

This problem kept me from sleeping for a long time, in the end, indeed, the setPreSelection("your date") method works great and seems even safe, I have often seen code where other developers use methods (which are not specified in the types initially) and in this there is no problem, the main thing is that it is appropriate, thanks for the solution

@Mirec17 update key prop for complete refresh of calender is not working for me as it takes away the focus from the custom input field,
Any update or solution you guys have found please share

setSelected

can you share some code or example, how I can use setSelected method of react-datepicker in my component. thanks!


New Feature - On load success callback

Thanks for this great library !!!
I wish to have a callback once the map is completely initialised. Currently, I am struggling to put a loader since I am not able to detect when the map is successfully rendered and the topojson file is large, resulting in longer wait time before the user gets anything related to map on the screen.

In the document , I dont see the onGeographPathsLoaded property anymore .


Module errors

Python 3:
$ python skiptracer.py
No module named '__builtin__'
Traceback (most recent call last):
  File "skiptracer.py", line 4, in <module>
    from plugins.menus import menus
  File "/home/helix/Scripts/skiptracer/plugins/menus.py", line 13, in <module>
    from plugins.namechk2 import NameChkGrabber
  File "/home/helix/Scripts/skiptracer/plugins/namechk2.py", line 12, in <module>
    from urllib import urlencode
ImportError: cannot import name 'urlencode' from 'urllib' (/usr/lib/python3.8/urllib/__init__.py)

Python 2:
$ python2 skiptracer.py
Traceback (most recent call last):
  File "skiptracer.py", line 4, in <module>
    from plugins.menus import menus
  File "/home/helix/Scripts/skiptracer/plugins/menus.py", line 5, in <module>
    from plugins.fouroneone_info import FourOneOneGrabber
  File "/home/helix/Scripts/skiptracer/plugins/fouroneone_info.py", line 5, in <module>
    from plugins.base import PageGrabber
  File "/home/helix/Scripts/skiptracer/plugins/base.py", line 4, in <module>
    import requests
ImportError: No module named requests

I followed the instructions, any idea what's going wrong?
        Theme: Adwaita-dark [GTK2/3]
      :osssssss/        osssso+++.       Icons: Adwaita [GTK2/3]
     /ossssssss/        +ssssooo/-       Terminal: gnome-terminal
   `/ossssso+/:-        -:/+osssso+-     CPU: Intel i7-7700K (8) @ 4.800GHz
  `+sso+:-`                 `.-/+oso:    GPU: NVIDIA GeForce GTX 1060 3GB
 `++:.                           `-/+/   Memory: 7599MiB / 15972MiB
 .`                                 `/

Traceback (most recent call last):
File "skiptracer.py", line 4, in
from plugins.menus import menus
File "/root/skiptracer/plugins/menus.py", line 12, in
from plugins.haveibeenpwned import HaveIBeenPwwnedGrabber
File "/root/skiptracer/plugins/haveibeenpwned.py", line 13, in
import cfscrape
ImportError: No module named cfscrape
                               how can i fix it anyone telll me

@xero-lib you're missing python2-requests
@enochkasa you're missing https://aur.archlinux.org/packages/python2-cfscrape/

Traceback (most recent call last):
File "skiptracer.py", line 4, in
from plugins.menus import menus
File "/root/skiptracer/plugins/menus.py", line 12, in
from plugins.haveibeenpwned import HaveIBeenPwwnedGrabber
File "/root/skiptracer/plugins/haveibeenpwned.py", line 13, in
import cfscrape
ImportError: No module named cfscrape
                               how can i fix it anyone telll me

@kpcyrd It looks like it can't find the requirements you install via pip, probably because they are the python3 versions. I tried to manually install the python2 versions which worked fine for python2-requests and python2-lxml but python2-bs4 is only available from the AUR and it can't find this version of bs4 even if you manually get it from the AUR -- ImportError: No module named bs4.

@xero-lib you're missing python2-requests
@enochkasa you're missing https://aur.archlinux.org/packages/python2-cfscrape/

I've installed that but it doesn't seen to resolve the issue. Any other advice? Thanks!

@xero-lib you're missing python2-requests
@enochkasa you're missing https://aur.archlinux.org/packages/python2-cfscrape/

I've installed that but it doesn't seen to resolve the issue. Any other advice? Thanks!

i also have the same issue.
attempting 'python2 skiptracer.py' gives me the ImportError: No module named requests.
any suggestions? (using Kali Linux)

having the same issue, it looks like a problem with the python2 to python3 conversion, tried installation steps with both versions and running with both but python2 says it can't install bs4 and python3 says it cant install urllib

Traceback (most recent call last):
File "skiptracer.py", line 4, in
from plugins.menus import menus
File "/root/skiptracer/plugins/menus.py", line 12, in
from plugins.haveibeenpwned import HaveIBeenPwwnedGrabber
File "/root/skiptracer/plugins/haveibeenpwned.py", line 13, in
import cfscrape
ImportError: No module named cfscrape
@xillwillx nothing solves it

it seems most of it is broken and needs to be updated lol

Traceback (most recent call last):
File "/root/skiptracer/skiptracer.py", line 4, in
from plugins.menus import menus
ModuleNotFoundError: No module named 'plugins'

Traceback (most recent call last):
File "/root/skiptracer/skiptracer.py", line 4, in
from plugins.menus import menus
ModuleNotFoundError: No module named 'plugins'

@C4l1b3r I get the exact same error

@C4l1b3r  I get the same error. Any fixes?

the main project description says it's being migrated from python2 to python3, there will be bugs, and to not report those types.

do pip install -r requirements.txt           but sometimes that not always the case, see without femboys/faggots then we wouldn't have these scripts because of course rude mother fuckers know how to use these stuff, my point is if that don't work use "pip install module name"   example your missing cfscrape so put "pip install cfscrape".

wed the instructions, any idea what's going wrong?

Still no answers on these? or is there a new skiptracer in town?