Can't sign-in

Issue Type: Bug
I was Trying To sign-in LIVE SHARE then it gave me error about user code then I signed in with the user code that the site gave me and now i get this error:
Cannot read property 'userName' of undefined
Extension version: 1.0.2740
VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T13:22:08.892Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz (4 x 3292)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: unavailable_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: unavailable_offskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: unavailable_off

Load (avg)
undefined

Memory (System)
3.96GB (2.09GB free)

Process Argv
--crash-reporter-id 7bf45465-e07a-426b-97f8-0065a3332a17

Screen Reader
no

VM
0%

Apologies for the issue you're seeing. Has this issue continued?

I'm still seeing this issue. On both 1.49 and Insiders.

I'm also having a problem trying to use live share

it just freezes in this state joining a session. Then when I reauthorized Github it took me to a page with just an empty object on it.

th
![Screen Shot 2020-09-14 at 11 15 57 AM (2)](https://user-images.githubusercontent.com/66223852/93122631-afdb0c00-f67b-11ea-8d67-5051ea6acbc7.png)
then i get this page after I authorize Github

Having same issue

Are you still seeing this issue?

We've changed our authentication service. See #4128 and if the new authentication is giving you an issue, please create a new issue. Thank you for your patience.


Table: column divider is not visible

Detailed description of how to reproduce the problem
The basic and advanced table components used to have a visible column divider. Now it's not visible anymore, but hovering over with the mouse indicates that the divider is still there.
Upload a screenshot

Describe the development framework
No response
Expected behavior
Divider should be visible
Additional information
No response

Hello, I tried to fix the issue
This is what I did:
Added a right border to the ag-header-cell and ag-cell classes to create visible column dividers in the basic table component.
I also created pull request: https://github.com/Infineon/infineon-design-system-stencil/pull/1570

[!CAUTION]
Disclaimer: This fix was created by Latta AI and you should never merge before you check the correctness of generated code!
The fix provided by Latta AI might not be complete and it can serve as an inspiration.

This bug was fixed for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt fixing issues on your repository, you can block this account.


Upgrade to Admin UI 1.19.2

Hi there,
accompanying #11774, this exclusively brings in the bugfix https://github.com/crate/crate-admin/commit/35169fc0 by @proddata, based on https://github.com/crate/crate-admin/tree/release/1.19.2.
With kind regards,
Andreas.

Retest this please.


Missing Tools From Toolbox List?

Please review the list of tools in the Toolbox.
Are there other tools that must/should be included?

I think those tools are sufficient, but maybe "isBTCPaid" should be called "getBTCBalance"
Maybe "getPaymentRequest" could be changed to "getBTCInvoice" to better match the naming convention of the other tools.

Yes, I agree! Good names!
On 2020-08-17 06:25, Carson Mullins wrote:

I think those tools are sufficient, but maybe "isBTCPaid" should be
called "getBTCBalance"
Maybe "getPaymentRequest" could be changed to "getBTCInvoice" to
better match the naming convention of the other tools.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
Links:
[1]
https://github.com/EAWF/Bitcoin-Merchants-Toolbox/issues/16#issuecomment-674879824
[2]
https://github.com/notifications/unsubscribe-auth/AEXMNYIDQT6CNMM2NPX5DHLSBEVUFANCNFSM4PSXVNWA

OK, no thoughts, comments, or requests, so I'm going to close this issue to get it off the books.

There is also an opportunity for getBTCValue($btc) which converts number of coin to fiat value. Just another tool for the toolbox.


Fix coverage

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/LokiJS-Forge/LokiJS2/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Changes Unknown when pulling e6b10f7eb044e69c82fb9a39ab67964353575259 on fix_coverage into ** on master**.

Changes Unknown when pulling e6b10f7eb044e69c82fb9a39ab67964353575259 on fix_coverage into ** on master**.

Changes Unknown when pulling 37a92213150612925dd328735001c4fa01af6d9f on fix_coverage into ** on master**.


NR Integration config

Creation of NR Integration if none found and enableIntegration set to yes
use of api key instead of license key
Updating readme to match cli required variables

Forgot to add the lambda service integration in NR. That has now been added.


Fix #49

Codecov Report
Patch coverage has no change and project coverage change: -0.07 :warning:

Comparison is base (a34a9fb) 18.13% compared to head (2cc05b2) 18.07%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #50      +/-   ##
==========================================
- Coverage   18.13%   18.07%   -0.07%
==========================================
  Files          16       16
  Lines         579      581       +2
==========================================
  Hits          105      105
- Misses        474      476       +2

Impacted Files
Coverage Δ

src/app/run.rs
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Providing exact steps used to rebuild the Equinox JAR

Providing exact steps used to rebuild the Equinox JAR and renaming it to stress the fact it has been modified. Addresses bug https://issues.apache.org/jira/browse/LEGAL-361

I saw two thinks here:

It would be good if the intention of the patch would be documented (why and how) - would updating to a newer version of equinox also be an option?
I would prefer, that the equinox source code is not added as a submodule (see: https://github.com/apache/incubator-netbeans/pull/421/files#diff-0c8d99427179470b4f6a7e707e07fc42). I don't see a reason to include the directory/submodule in the repository.

The procedure looks sensible (maybe we can build it on-the-fly in the future, but for now it looks good).

The procedure looks sensible

Great. That is probably all legal needs. Thanks for the review.

(maybe we can build it on-the-fly in the future, but for now it looks good)
would updating to a newer version of equinox also be an option?

I think it is desirable to update to new version of Equinox and use the pristine JAR as provided by Eclipse in the future. We just need to find somebody to do it...

equinox source code is not added as a submodule

No Equinox sources are in our repository. Just the binary reference and shell script to produce the binary.

With regard to:

I would prefer, that the equinox source code is not added as a submodule

No Equinox sources are in our repository. Just the binary reference and shell  script to produce the binary.

You included the directory netbinox/external/rt.equinox.framework - this is recorded as a submodule (a clone from a foreign repository). On my system this ends with:
matthias@athena:~/src/incubator-netbeans$ git submodule status --recursive
fatal: no submodule mapping found in .gitmodules for path 'netbinox/external/rt.equinox.framework'
matthias@athena:~/src/incubator-netbeans$

I would just remove that directory from the PR, as it is created by the shell script if it is needed.


[libtcod] update to 1.21.0

Library name: libtcod
New version number: 1.21.0
Other information that may be useful (release notes, etc...)
https://github.com/libtcod/libtcod/releases/tag/1.21.0

Fixed by #25802


[release/1.7] integration: deflake TestIssue9103

(cherry-picked from https://github.com/containerd/containerd/commit/dac056fe7497157005c6b506b72bea731ccf7e9a)
PR in main https://github.com/containerd/containerd/pull/9349

/ok-to-test

same comment as the release/1.6 backport re: using -x flag on the cherry-pick command.


Migrate unit tests to use CocoaPods test spec feature

See https://guides.cocoapods.org/using/test-specs.html
Then consider removing xcodeproj's from git

Started in #1864. Blocked on CocoaPods 1.6.x static framework support for test specs. Will continue once 1.6.x is official

@paulb777 this is completed now, right?

Mostly, but still needs to be done for InAppMessaging and maybe Firestore.

Also need to migrate coverage from the xcode projects to the pod gen projects.

Closing, leaving for InAppMessaging and Firestore to do when ready and appropriate. Everything else is done.


Changing script names to use "ssm" instead of "smart"

How about changing our script names some bit? "smart" here isn't good, instead "ssm" might be better.
Note this doesn't mean we need to convert back to ssm for other instances across the codes.
common.sh*
functions.sh*
smart*
smart-init.sh*
start-smart.sh*
stop-smart.sh*
@littlezhou Agree? Thanks.

Ok for me, I'll change it. Thanks!

Done!


When a trigger gets fired be able to find out what happened

Steps to reproduce the issue:

create a trigger let's say "stockTrigger"
create an action let's say "processStocks"
create a rule let's say "rule_stock_process"
Fire the trigger wsk trigger fire stockTrigger '{"IBM":200}'
Got an activation id for the trigger fired
ok: triggered stockTrigger with id 0664eece37574a1288514dddcc3730ee

Provide the expected results and outputs:
Using trigger activation id 0664eece37574a1288514dddcc3730ee
I should be able to find out all the rules that got activated (rule activations)
For each rule activation I should be able to find out the actions that got invoke (actions activations)
For each action activation I should be able to get the results and the logs.
Even if I can't get the rule activations, the net goal will be able to retrieve all the results and the logs for all activations, and the activations details (i.e. time spend, time ran, etc..)
Provide the actual results and outputs:
No way to be able to achieve this with CLI or API
Additional information you deem important:
This use case is important as a developer and operator of an app, I should be able to find out the net consequences when an event get's fired into the system, both for functionality but also for auditing and the net "cost" of a single event fired.

I think this is the reason that samples, and folks tend to call an action directly, rather than take advantage of triggers and rules, if a client app is develop and it's interface to the backend if emitting (firing) events/triggers then the client app will not be able to retrieve the results for the trigger that got fired.
The benefit of using a trigger is the abstraction via rule, so client side doesn't need to know the name of the action, and the rule controls the abstraction.

Related to #512.
Currently when a trigger matches a rule, the caused property of the rule activation will be the trigger's activation id. However, when the activator was re-architected, we lost the causality tracking between the rule and the action - so that the caused property in the action activation is empty (always).

The commits 9ededdf82210682726f8800b2c02e68e3234efdf and b20778f37e052893818c3c39f0307783d7e5024a provide activation ids for the actions to permit tracking. Further enhancements to populate the action activation with a caused field will be possible when the posts are done internally. But we have enough to satisfy the request in this issue.

About time !!! 19 months

I don't even remember writing this issue 🤒


Add a method to compute gate counts per qubit

What should we add?
We have a method QuantumCircuit.count_ops method but in some scenarios you want to know the count of gates on each qubit. You can fairly easily build this view of the circuit by iterating over QuantumCirucit.data but because the data is stored in rust it would be much more efficient to build this view of the circuit in Rust and return it to Python. We should add this method to the python QuantumCircuit class but instead call an inner method defined on the rust CircuitData struct.

Hi, I would like to take a crack at this. Please assign this to me.

Thanks, I've assigned the issue to you


Can create and can update false reason

This PR addresses issue #677 . The following text will be added before the error text (You are not authorized to perform this action. Please report this problem to your system administrators.) when the user navigates to recordedit for a table they can't create or update on:
Text reasons for canCreate:
  case view:
     "Table is a view."
  case generated:
     "Table is generated."
  case no insert permission for user:
     "No permissions to create."
  case all columns disabled:
     "All columns are disabled."

Text reasons for canUpdate:
  case view:
     "Table is a view."
  case generated:
     "Table is generated."
  case no insert permission for user:
     "No permissions to update."
  case all columns disabled:
     "All columns are disabled."

Instead of putting those sentences at the beginning, it might be better to put them in the detail section.


Upload the json export to github

I just wanted access to this file, and creating this PR was a means to obtain it.

Feel free to also deploy the export.json to the website if you'd like!

Oh, I wasn't actually planning to merge this in case it uses up some storage limit for build artifacts! Maybe we get nowhere close to that anyway.


cdt1.8.1 compile issue

error encountered when compile the contracts with cdt 1.8.1, any idea?

/usr/local/Cellar/eosio.cdt/1.8.1/opt/eosio.cdt/bin/../include/boost/pfr/detail/core17_generated.hpp:38:9: error:
type 'swaps_row' decomposes into 2 elements, but only 1 names were provided
auto& [a] = val;
^
/usr/local/Cellar/eosio.cdt/1.8.1/opt/eosio.cdt/bin/../include/boost/pfr/detail/core17_generated.hpp:1032:30: note:
in instantiation of function template specialization
'boost::pfr::detail::tie_as_tuple<swaps_row>' requested here
return boost::pfr::detail::tie_as_tuple(val, fields_count_tag{});

Hi crazybits,
Some more info would be helpful.

This looks like MacOS.  Is it 10.14, 10.15, or 11.x (BigSur) ?
This looks like a Boost error, could determine the Bosot version.  Could you show the output of cat /usr/local/include/boost/version.hpp ?
Are are these the  eosio.contracts in https://github.com/EOSIO/eosio.contracts  ?

Hi crazybits,
Some more info would be helpful.

This looks like MacOS.  Is it 10.14, 10.15, or 11.x (BigSur) ?
This looks like a Boost error, could you determine the Boost version?  Should be able to do this by looking at the output of cat /usr/local/include/boost/version.hpp ?
Are are these the  eosio.contracts in https://github.com/EOSIO/eosio.contracts  ?

MacOS Catalina
boost version is 1.73
it is my own contract, compiled with cdt 1.71 without error before.

@crazybits Have you tried building CDT in Linux (or Linux docker) and then compile your contract?

@tlacloc Could you share the contract code so the issue can be reproduced?


Support for "joined" collections

It would be nice to add to the main Engine API the possibility of include joined collections.
This could be really easily with an IN clause, although I need to put some care in the implementation.
A possible API:
<?php

$engine->find($ctx, User::class)->of(Group::class, 'userId')->andWhere('id = ?', 1);

$finder = $engine->find($ctx, Group::class)->andWhere('id = ?', 1);
$engine->find($ctx, User::class)->in(Group::class, 'userId', $finder);

I'll put this one on the back burner until I build a strong test suite.


MatSelect "Cannot read property 'classList' of undefined" when selected value does not exist in list after Bound List updates

Describe the bug
Null reference (cannot read property 'classList' of undefined)
Error happens when you have a MatSelect that is bind to a list that is updated based on external means (other selects, fetch etc) when the previous selected value does not exist in the new list.
This happens even if the bound value is set to null before updating the list itself
When creating the Example in BlazorFiddle it works as expected.
Copying this exact code to my Blazor Project (Blazor Server) it creates the error
To Reproduce
Create 2 lists somewhat like the example below
var listA = new List<string> //this will be a list of types
var listB = new List<Example>

create 2 MatSelects
Bind Select A to ListA
Bind Select B to a filtered list of A (ListB.Where(x => x.Type == SelectedValueFromSelectA)
Select a value i list A to populate list B
Select a value in Select a value in Select B
Select a value in List A that does NOT have the already selected option in Select B
Blazorfiddle link
https://blazorfiddle.com/s/wmxrt6qk
Expected behavior
Select B should clear and only display available options
As it shows in BlazorFiddler
Screenshots
If applicable, add screenshots or .GIF captures to help explain your problem.

Additional context
Workaround done by compiling js from Github and using this JS file instead of the one bundles in the NuGet,
trhen adding null check
removeClassAtIndex: function (e, n) {
    if (t.menu.items[e] != null && t.menu.items[e].classList != null) {
        t.menu.items[e].classList.remove(n);
    }
}

Isn't this a duplicate of https://github.com/SamProf/MatBlazor/issues/651?

Isn't this a duplicate of #651?

Yes it is. I will transfer workaround and close this issue


off alias just like on alias

quite a few js libraries that have binding and unbinding of events seem to be adding the on/off aliases for the respective events.
even though I have this in my own implementation, I think it would be handy to have this in the library:
	EventEmitter.prototype.on = EventEmitter.prototype.addListener; // this is there
	EventEmitter.prototype.off = EventEmitter.prototype.removeListener; // this isn't

I quite like the idea. I will probably implement it this weekend.
It will not effect other users and will add minimal file size.
Will be in v3.1.4.

Done and documented.

Awesome!


Checkout of some plugins failing

Describe the bug
I'm not being able to finish the kickstart installation due to failures of some plugins checkouts (looks like not related directly to kickstart itself, but I've only seen it here).
Also found that this may happen if proxies are configured for http(s), which is not the case, as if I try manually to clone any of those repos, it just works fine. I anyway run those commands (even with a blank .gitconfig) and no change.

I start with 13 failed, if I keep trying to S (Sync), I can go down a bit, but never a full installation.
To Reproduce

Delete ~/.config/nvim
Delete ~/.local/share/nvim/
Clone this repo into ~/.config/nvim
I've even clean-up my .gitconfig and restarted to make sure git was not weirdly configured.
Start nvim
Get errors for some of the plugins saying it can clone but not checkout

Desktop

OS: Arch Linux 6.8.2-arch2-1
Terminal: alacritty

Neovim Version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1702233742

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Hi!
It looks to me like the problem is that lazy.nvim doesn't support connecting to github via proxies.
Please file an issue against their repository citing these details including your proxied use case.
Thanks for the report but I'm closing this for now as it's not specifically a kickstart.nvim problem.

As mentioned multiple times before, this is not a lazy.nvim issue.
This is a problem with your computer/network/ISP/proxy or whatever is in between your terminal and github.com.


Errors for invalid formatting use weird characters for spacing

CSharpier appears to use ┬╖┬╖┬╖┬╖┬╖┬╖┬╖┬╖ characters to space out the code snippets in the terminal:

It makes the error quite hard to parse visually, and I don't think this is the intended behavior. Any idea why this may be happening?

CSharpier uses the following so that you can visually see the whitespace when code isn't formatted
    private static string? MakeWhiteSpaceVisible(string? value)
    {
        return value?.Replace(' ', '·').Replace('\t', '→');
    }

The goal is to make it obvious if the reason it failed the check is due to whitespace differences. A failure due to extra whitespace like below isn't obvious if you can't see it.
public class ClassName
{
····private string field1;
····
····private string field2;
}

Where are you seeing this output? CSharpier is writing on stdout using UTF8 encoding.

I'm seeing this both in GH Actions, as well as locally in Rider's integrated terminal.
Here's the link to the actions job where you can see it: https://github.com/Tyrrrz/YoutubeExplode/actions/runs/6026195051/job/16349413554

Took me a bit - I figured out this is an issue with CSharpier.Msbuild but I believe only on windows.

A bit related but slightly off-topic, may I suggest displaying the space indicator characters only for indentation (i.e. before the first non-whitespace character)? It gets a bit noisy when it's in the middle of the line (e.g. return·value?.Replace(... in your example).

@Tyrrrz I can play around with limiting where whitespace is visible. Maybe something like just making the first couple of spaces/tabs that are different will work better and not be so noisy. I wrote up #953 and have a couple of ideas to try out for improving it. Thanks for the suggestion!


Fixed error handling for channel load failures.

Fixes audin channel loading checks, prevents duplicate loading and registration before channel initialized.
Fixes error handling for channel loading failures

@akallabeth just re-tested this branch it seems to cause a double free in some circumstances:
xfreerdp /v:<IP_ADDRESS> /cert-ignore +clipboard  /drive:tmp,/tmp /sound:sys:alsa /microphone:sys:alsa

@bmiklautz Yes, nasty one. Thx for pointing that out.

@akallabeth greate. Thanks for having a look!


How to set a bold font in text

As shown in the picture, it is still the default font. Could this be the reason for my font?

Can you provide more information on how you configured plugin?

This is my plugin configuration, can you share your font for me to try, because I tried other fonts and the same thing happened。


Fix api registrataion and core "v1" groups

This fixes the issues specific to the apiregistration and core "v1" groups.

cc @alexzielenski let me know when you've pushed up the changes this is based on and I can rebase on that

@kevindelgado alexzielenski:swarm-e2e-working-428 was merged as #14

ptal @alexzielenski @apelisse

feedback addressed, ptal @alexzielenski


Obsoletion request: GO:0046483 heterocycle metabolic process

Please provide as much information as you can:

GO term ID and Label

Reason for deprecation Put an x in the appropriate box:

GO:0046483 heterocycle metabolic process
GO:0018130 heterocycle biosynthetic process
GO:0046700 heterocycle catabolic process
no regulation terms

[ ]  The reason for obsoletion is that this term was an unnecessary grouping term.

"Replace by" term (ID and label)
If all annotations can safely be moved to that term

related GO:0008152   metabolic process

"Consider" term(s) (ID and label)
Suggestions for reannotation

Are there annotations to this term?

How many EXP:

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)

Is this term in a subset? (check the AmiGO page for that term)

Any other information

Checklist for ontology editor
Check term usage and metadata in Protégé

[ ] check term usage in the ontology
[ ] check internal mappings: RHEA, EC, MetaCyc
[ ] check subset usage
[ ] check taxon constraints

Check annotations

[ ] create Annotation Review spreadsheet

Annotation Review template: https://docs.google.com/spreadsheets/d/1izV3q1jnq_Ybg5MJ53O_b5BCTkGtjl_Fi-cOg3-7eBE/edit#gid=0

Instructions: https://wiki.geneontology.org/Annotation_Review_Request

[ ] create annotation review ticket: https://github.com/geneontology/go-annotation/issues/new?assignees=&labels=annotation+review&template=annotation-review-for-obsoletion.md&title=Review+annotations+to+[INSERT+GO+TERM]
[ ] find external mappings (via IEAS), include in obsoletion notice
[ ] tag curators in Annotation Review ticket.


Hardcoded say_finished_timeout of 10 seconds is a problem

DialogueHermesMqtt uses a hard coded say timeout of ten seconds.
Ten seconds seems long but there are lots of plausible real word cases that need longer messages. I was playing around writing small game app.
After intentNotRecognized I wanted it so say a help text explaining the possible options (the text is about 13 seconds long).    It triggered the timeout and Rhasspy started to listen to it's own speech leading to an infinite loop of intentNotRecognized events.
What is the point of the timeout?  To stop it in case the TTS system gets stuck? If that's the goal I think it should end the session and should not continue after the timeout.
Possible fixes:

Hardcode a way higher timeout value (100 seconds?) and end the session and go back to default state
Remove the timeout
Set the timeout depending on the length of the text  (len(text)*0.1+5) for example
Let the user overwrite the timeout in the json payload (not compatible to the Hermes protocol?)

This is a good issue that needs some discussion. You're right; the timeout is there in case the TTS system crashes or there is no TTS system (despite the user configuring "Hermes MQTT"). A timeout based on the text length isn't a bad idea. Profile options could also be added to increase the timeout.
One option I just thought of is to have the TTS respond immediately with a new message to tell the dialogue manager (or whoever is listening) that "all is well, wait at least this long". The TTS system gets the WAV data, so it knows precisely how long the utterance will take to speak.
The overall goal is to prevent what's happening to you right now -- having Rhasspy accidentally interpret TTS output as input to the STT system :/

Regarding your idea of having the TTS response with a time estimation. That should work  and would allow for exact timeouts. But can we be sure that every possible TTS system is able to predict/announce the playback time?  Let's say someone wants to use their TV or smartwatch or something with a cloud TTS Api to say Rhasspys messages. Sure in that case one could always use some other method based on text length for example in this "cloud bridging client".
So, I think your idea is the better way to do it. But maybe the quick one (timeout = len(text)*x+y) is good enough in the mean time.

I'm adding a dialogue.say_chars_per_second setting that will be used to dynamically compute the timeouts.

Added in latest 2.5.10.


BalloonImage is missing when cell message contain Media

I am using SOMessagging in my app and its behaving very inconsistent when images and text is showing in same thread. Some times ballonImage is not shown in text as seen in pics. Its clearly seen that text and balloonImage both are not shown but they both exist there and options are appear. Tell me how could i handle it, thanks in advance.

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <[SOMessaging] BalloonImage is missing when cell message contain Media (#43)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

No, ballon image is there i check it while debugging.

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <Re: [SOMessaging] BalloonImage is missing when cell message contain Media (#43)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

@WarisSaqi Hi did you find any solution I am also facing same issue please help me

@bintu1234 i found the solution here is the detail
there is a method setMessage in SOMessageCell.m i mistakenly commit the line [self setInitialSizes] after un-commiting it my issue is solved, check may be this can help you out too.

(void)setMessage:(SOMessage *)message
{
_message = message;
[self setInitialSizes];
[self adjustCell];
}

Thanks for the Replay but in my case setMessage is fine when i am sending images it is showing nothing  like below

when i am go back and come it will be like  "NULL" in place image

so can you please help me

can you please paste some code where you are sending images. and then displaying the images in cell. so that i can help you out.

[self.chatHistoryArray removeAllObjects];
//open database
[DBObject copyFileToDocumentPath:@"Chat" withExtension:@"db"];
[DBObject open];
NSUserDefaults *defaults=[NSUserDefaults standardUserDefaults];
NSString *myJID=[defaults valueForKey:@"userNameJID"];
//assign value in array
messageArray=[DBObject AllRowFromTableName:@"chatTable" withUserID:myJID withFriendID:chatWithUser];
for (int i=0; i<[messageArray count]; i++)
{
message=[[Message alloc] init];
if (imgURL==0)
{
message.type=SOMessageTypeText;
//            message.text=[[messageArray objectAtIndex:i] msg];
if ([[messageArray objectAtIndex:i] lft_rght]==0) {
message.fromMe=YES;
}
else{
message.fromMe=NO;
}
}
else if (imgURL!=0)
{
message.type=SOMessageTypePhoto;
//            message.media=[messageArray objectAtIndex:i];
if ([[messageArray objectAtIndex:i] lft_rght]==0) {
message.fromMe=YES;
}
else{
message.fromMe=NO;
}
}
if (message.type==SOMessageTypePhoto) {
message.media=[_data base64EncodedDataWithOptions:NSDataBase64EncodingEndLineWithLineFeed];
}
else
{
message.text=[[messageArray objectAtIndex:i] msg];
                }
NSString *dateString =[[messageArray objectAtIndex:i] tim_dte];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"HH:mm,yyyy/MM/dd"];
NSDate *dateFromString = [[NSDate alloc] init];
dateFromString = [dateFormatter dateFromString:dateString];
message.date=dateFromString;
[self.chatHistoryArray addObject:message];
[DBObject closeDatabase];
    //reload chat

[self refreshMessages];
This is my fetching method from sqlite and sending images here
NSXMLElement *body = [NSXMLElement elementWithName:@"body"];
[body setStringValue:strText];
NSXMLElement *messageBody = [NSXMLElement elementWithName:@"message"];
[messageBody addAttributeWithName:@"type" stringValue:@"chat"];
[messageBody addAttributeWithName:@"to" stringValue:chatWithUser];
[messageBody addChild:body];
if (SendImage) {
NSData *dataF = UIImageJPEGRepresentation(SendImage, 0.5);
imgStr=[dataF base64EncodedStringWithOptions:0];
NSXMLElement *ImgAttachement = [NSXMLElement elementWithName:@"attachement"];
[ImgAttachement setStringValue:imgStr];
[messageBody addChild:ImgAttachement];
[[[self appDelegate] xmppStream] sendElement:messageBody];
}

sorry for my coding standards i am new to ios

No issue for coding
actually you are fetching the chats from Chat.db but not saving the new sendimage in Chat.db that is why its null after coming back to view. When you are sending image to other user save it in the database too to show it anytime you come to the conversation
if (SendImage) {
NSData *dataF = UIImageJPEGRepresentation(SendImage, 0.5);
imgStr=[dataF base64EncodedStringWithOptions:0];
NSXMLElement *ImgAttachement = [NSXMLElement elementWithName:@"attachement"];
[ImgAttachement setStringValue:imgStr];
[messageBody addChild:ImgAttachement];
[[[self appDelegate] xmppStream] sendElement:messageBody];
        SaveYour dataF in Database here

    }

@WarisSaqi  Hi thanks for the replay actually what i am doing is when i send the image i will send it to server and from there  i am getting image url so i am inserting that imageurl in sqlite as a string  and have any sample code for chatting for somessaging i googled but no result please help me out

@bintu1234  i check your code why are you using third party base 64 encoding as now apple sdk available for base64 encoding and decoding. And the other thing you are saving the url then why are you using the base64 encoding decoding direct use sdWebImage to show the image from url.

@WarisSaqi Thanks for the replay I will try SDWebImage thanks for your suggestion and one more thing is when i am sending image all the above conversations are changed to images and showing blank even bubble image is there any problem with my conditions.

@bintu1234  one more thing i noted in your account that you are closing your database right after  the adding the object in your array while loop is still running and its calls every time till loop end why are you doing so and for sending image you are sending the base64 string to other user as image while you are saying that you sen the image to server and then send the url of image in chat. Its wrong use the same thing on both end base64 string or url which ever you prefer and save both in your db right after you send or receive  the image and one more  thing that add this receiving or sending image should be in your messages array before you refresh the SOMessaging tableview.

@WarisSaqi  Thanks for the advise and why base 64 means my client want some animation while sending and recieving images so i just feel that it is possible by base64 string so i just use the base64

@bintu1234  yes sure anytime.

@WarisSaqi I tried my level best for sending the images but i am unable to handle please help me out how you will send the messages in somessaging will you please share some code to sending text as well as image i am struggling from last 2 weeks please help me thanks in advance

@bintu1234 Here is top overview of the Sending and receiving images using XMPP framework in SOMessaging.
Sending:
Get image from  UIImagePickerController.
Get NSData from image.
Send NSData to my server.
Take url from server against the data i sent.
Send this URL to other user.
Save image data in my app DB.
Receiving:
Receive image URL from user.
Download image from Server.
Save image in app DB.
Show the image in SOMessaging.
Here is the code example
- (void)imagePickerController:(UIImagePickerController*)picker didFinishPickingMediaWithInfo:(NSDictionary*)info
{
    [picker dismissViewControllerAnimated:NO completion:^{
    }];

    UIImage* selectedImage = (UIImage*)[info objectForKey:UIImagePickerControllerOriginalImage];
    if (!selectedImage) {
        selectedImage = (UIImage*)[info objectForKey:UIImagePickerControllerEditedImage];
    }

    [SVProgressHUD showWithStatus:@"" maskType:SVProgressHUDMaskTypeBlack];
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
    [self performSelector:@selector(sendImage:) withObject:selectedImage afterDelay:1.0];
}

- (void)sendImage:(UIImage *)image{
    NSString *myJID =  // your Jabber id
    XMPPJID *jid  =  // receipt Jabber id

    //API Call to upload Picture on Tellmo Server
    UIImage *compressedImage = [UIImage compressImage:image compressRatio:0.9f];
    NSData *imageData = UIImageJPEGRepresentation(compressedImage, 1.0);
    if (imageData != nil) {
        NSDictionary *paramDict = //your API call perimeter to upload image on your own server

        [SharedAPIManager callWebserviceForMethod:kAPI_UploadFile WithParam:paramDict withCompletionHandler:^(APIManager *response) {
            if (response.data) {
                // Settings Up Message To Send
                NSXMLElement *body = [NSXMLElement elementWithName:@"body"];
                // Send XMPP Message
                NSXMLElement *messageToSend     = [NSXMLElement elementWithName:@"message"];
                [messageToSend addAttributeWithName:@"type" stringValue:@"chat"];
                [messageToSend addAttributeWithName:@"date" stringValue:[NSDate getStringFromDate:[NSDate date] withFormat:@"yyyy-dd-mm HH:MM:ss"]];
                [messageToSend addAttributeWithName:@"to"   stringValue:[jid full]];

                [body setStringValue:response.data];
                [messageToSend addChild:body];

                [xmppStream sendElement:messageToSend];
            }
        }];

        // Show in UI
        Message *soMessage          = [[Message alloc] init];
        soMessage.fromMe            = YES;
        soMessage.date              = [NSDate date];
        soMessage.type              = [self messageTypeFromString:MessageTypeImage];
        soMessage.thumbnail         = image;
        soMessage.media             = UIImageJPEGRepresentation(compressedImage, 1.0);
        soMessage.text              = @"Image";

        [self saveMessageInDB:soMessage];
    }
}

Receiving Side:
- (void)xmppStream:(XMPPStream *)sender didReceiveMessage:(XMPPMessage *)message {
    NSString *messageText       = [[message elementForName:@"body"] stringValue];
    NSString *messageSender     = [[message attributeForName:@"from"] stringValue];

    Message *soMessage          = [[Message alloc] init];
    soMessage.fromMe            = NO;
    soMessage.date              = [NSDate date];

    //            id photoElement             = [message elementForName:@"photo"];

    if ([messageText rangeOfString:@"your server file location string"].location != NSNotFound) {
        NSString *urlString = messageText;

        soMessage.type          = SOMessageTypePhoto;
        soMessage.text          = @"Image";
        NSURLRequest *request   = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];

        [[SDWebImageDownloader_Tellmo sharedDownloader] downloadImageWithURL:request.URL options:SDWebImageDownloaderContinueInBackground progress:^(NSUInteger receivedSize, long long expectedSize) {
        } completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) {
            if (finished) {
                dispatch_async(dispatch_get_main_queue(), ^{
                    soMessage.thumbnail     = [UIImage imageWithData:data];
                    soMessage.media         = data;
                    [self saveIncomingMessage:message soMessage:soMessage messageSender:messageSender];
                });
            }
        }];
    }
    else{
        soMessage.type              = SOMessageTypeText;
        soMessage.text              = messageText;
        if (messageText) {
            [self saveIncomingMessage:message soMessage:soMessage messageSender:messageSender];
        }
    }
}

I am using XMPP framework to do all chatting stuff and KissXML for xml creating all stuff relating to XML.
And for image compression i am using UIImage+ImageCompress category.
Handle other scenarios according to your requirements.

@WarisSaqi  Thank you so much for the replay let me try

@WarisSaqi  Hi i don't want disturb you but i am unable to handle with the above code can you please help me how to handle images and text in somessaging please help me  your are the last hope

@bintu1234 , I am unable to understand that what is the thing you are unable to handle?
Whether its text or image. SoMessaging itself provide the functionality for handling Text and Images separately by using SOMessageType which include SOMessageTypeText, SOMessageTypePhoto, SOMessageTypeVideo and SOMessageTypeOther. And you just have to set the SOMessage type to Text or Photo.

@WarisSaqi  yes but when i send image remaining all are showing as images even text also so thats why i am asking at sqlite end only we need to save the url of image right ?

@bintu1234 Yes you only need to save the url of image in Sqlite or NSData of Image.

@WarisSaqi  okay but while sending image we need to give the type as somessagphoto but it is not taking when i am fetching from DB it is showing as URL in chat can you please help me if you don't mine can you check my code if you want i will send my code

@bintu1234 , i check your code your issue is in this following lines of code
for (int i=0; i<[messageArray count]; i++)
{
messageForText=[[Message alloc] init];
messageForText.type=SOMessageTypeText;
if ([[messageArray objectAtIndex:i] lft_rght]==0) {
messageForText.fromMe=YES;
}
else{
messageForText.fromMe=NO;
}
here you can see that you set type of every message to SOMessageTypeText

@bintu1234 , I look your code i found something that may cause the issue
for (int i=0; i<[messageArray count]; i++)
{
messageForText=[[Message alloc] init];
messageForText.type=SOMessageTypeText;
if ([[messageArray objectAtIndex:i] lft_rght]==0) {
messageForText.fromMe=YES;
}
the line i bold is the issue you have to check whether the message is text or photo if text then set type to SOMessageTypeText otherwise set the type to SOMessageTypePhoto

@WarisSaqi  i tried like you said but same result if possible check my entire project then it will be help full like life saver please

@bintu1234 , ok mail me i will check it tomorrow.

@WarisSaqi  thank you so much please send me the your mailId

@bintu1234<EMAIL_ADDRESS>

@bintu1234 , Go into your ASNMessageChat.m and replace your fetchFromDatabase method with this one
-(void)fetchDataFromDatabase {
 //clear prevous chat history array

[self.chatHistoryArray removeAllObjects];
 //open database
[DBObject copyFileToDocumentPath:@"Chat" withExtension:@"db"];
[DBObject open];
NSUserDefaults *defaults=[NSUserDefaults standardUserDefaults];
NSString *myJID=[defaults valueForKey:@"userNameJID"];
//assign value in array
messageArray=[DBObject AllRowFromTableName:@"chatTable" withUserID:myJID withFriendID:chatWithUser];
 NSLog(@"%@",imageView.image);`
    for (int i=0; i<[messageArray count]; i++) {

        Message *msg=[[Message alloc] init];

        //Change by Waris
        NSString *urlString = [[messageArray objectAtIndex:i] msg];

        NSURL *url = [NSURL URLWithString:urlString];
        if (url)
        {
            //Check whether the url is proper url for your uploaded image or not
            if ([urlString rangeOfString:@"your specific url for image string to compare that whether its a url for image or some website url. Kindly put your some part of image url here" options:NSCaseInsensitiveSearch].location != NSNotFound) {
                msg.type=SOMessageTypePhoto;
                NSData *dataImage = [NSData dataWithContentsOfURL:url];
                msg.media= dataImage;
                msg.thumbnail = [UIImage imageWithData:dataImage];

                //Put Image as text by yourself so that in main screen subdetail you can show it.
                msg.text = @"Image";

            }
            //If url is not image url that means its a website url put it through in text SOMessage will handle it.
            else {
                msg.type=SOMessageTypeText;
                msg.text = urlString;
            }
        }
        else
        {
            msg.text = urlString;
        }

        if ([[messageArray objectAtIndex:i] lft_rght]==0) {
            msg.fromMe=YES;
        }
        else{
            msg.fromMe=NO;
        }

        //No need to format the date SOMessaging will handle it.
        msg.date = [NSDate date];

        [self.chatHistoryArray addObject:msg];
    }

    [DBObject closeDatabase];

    //reload chat
    [self refreshMessages];
}

@WarisSaqi Thank you so much Sir really you saved me it's working now thank you

@bintu1234 , you are welcome...

@WarisSaqi  Hi Sir sorry again did you implement xmpp delivered,read,composing notifications in your project

@WarisSaqi  if you don't mind can you please have a look on this issue #47 please. I tried but unable to get the solution.


Through Data Pipeline, I am not able to import my parse data to dynamodb from s3, for parse migration using dynamodb.

I have migrated my existing parse app to AWS, now I need to use dynamodb for database in place of mongolab, I use datapipeline to import my parse json file data to dynamodb tables, datapipeline shows the status FINISHED, still there is no any import shows in dynamodb.
I use the json file format as given below -
{ "results": [
{
"appIdentifier": "..",
"appName": "MyApp",
"appVersion": "1.0",
"badge": 0,
"createdAt": "1450183514",
"deviceToken": "...",
"deviceType": "ios",
"installationId": "...",
"parseVersion": "...",
"timeZone": "...",
"updatedAt": "1450787375",
"user": "..."
},
.....
]
}
I follow the pages -
https://calorious.wordpress.com/2016/02/14/episode-1-exporting-data-and-images-out-of-parse/
http://stackoverflow.com/questions/34161684/mongodb-to-dynamodb
please help me.

We don't support dynamoDB as a valid database for parse-server. Please use mongodb

Thanks..

There is an open discussion about those external databases here #20 and we're actively working on the DB abstraction to help making database adapters for any kind of database.


Enable defining new functions after agent creation

Why are these changes needed?
This PR enables autogen agents to define new functions, through conversation.
The functions added to llm_config are passed to OpenAI, which may respond with a function call, or a message.
Checks

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

@microsoft-github-policy-service agree

Codecov Report

Merging #285 (ff37254) into main (45677e3) will decrease coverage by 2.18%.
Report is 3 commits behind head on main.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main     #285      +/-   ##
==========================================
- Coverage   43.56%   41.39%   -2.18%
==========================================
  Files          17       16       -1
  Lines        2146     2145       -1
  Branches      487      488       +1
==========================================
- Hits          935      888      -47
- Misses       1128     1174      +46
  Partials       83       83

Flag
Coverage Δ

unittests
41.39% <33.33%> (-2.08%)
:arrow_down:

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

Files
Coverage Δ

autogen/agentchat/conversable_agent.py
69.54% <33.33%> (+0.50%)
:arrow_up:

... and 5 files with indirect coverage changes

@rickyloynd-microsoft this PR would be of interest to you. Defining new functions in the middle of a chat can be viewed as teaching new skills to agents. Would you be willing to carefully review the implementation?

@rickyloynd-microsoft this PR would be of interest to you. Defining new functions in the middle of a chat can be viewed as teaching new skills to agents. Would you be willing to carefully review the implementation?

It's interesting! But I'll defer to others with better understanding of how functions are used in the repo.

@skzhang1, thanks for your help with this PR. Is the conversation resolved?

And can you add this notebook to the example page? https://microsoft.github.io/autogen/docs/Examples

Thanks @elecnix and @skzhang1 @qingyun-wu for merging this PR. It took a while, but the concept was very interesting.
@elecnix If you'd like to write a blogpost, please feel free to make a PR.


EF-1642 Added three environment variables which, when provided, overr…

…ide the default retry timeout/wait, and refactored all existing main.go/init.go usages.
There are three retry values: timeout, wait, count.  Logically, timeout = wait * count (or should), so really might not need a separate timeout value; however, by keeping three the existing usage/paradigm is kept intact, but if preferred someone can specify the n attempts instead.  Just a matter of preference and not forcing people to do unnecessary math.
Refactored func retry() to accept a structure containining the necessary values used rather than continuing to add more individual parameters (previous 3, today 5, tomorrow?).  To support this, a new RetryType was created for holding the three retry values, and BootParam was moved from startup to config so that everything tied together cleanly (or so I believe).
Signed-off-by: Scott C Sosna<EMAIL_ADDRESS>

@scsosna99 Please revise the commit message to have a distinct title and body. Reference the issue in the body like this
Fix #1642
so that the issue is closed when the PR is merged. Also, please look into why the verification checks failed.

rescan

Codecov Report

Merging #1700 into master will decrease coverage by 0.09%.
The diff coverage is 1.72%.

@@            Coverage Diff            @@
##           master    #1700     +/-   ##
=========================================
- Coverage   35.51%   35.41%   -0.1%
=========================================
  Files         139      139
  Lines       11821    11853     +32
=========================================
  Hits         4198     4198
- Misses       7422     7454     +32
  Partials      201      201

Impacted Files
Coverage Δ

internal/pkg/config/types.go
0% <ø> (ø)
:arrow_up:

cmd/core-data/main.go
0% <0%> (ø)
:arrow_up:

cmd/export-distro/main.go
0% <0%> (ø)
:arrow_up:

cmd/core-command/main.go
0% <0%> (ø)
:arrow_up:

internal/support/logging/init.go
0% <0%> (ø)
:arrow_up:

internal/system/agent/init.go
0% <0%> (ø)
:arrow_up:

cmd/support-logging/main.go
0% <0%> (ø)
:arrow_up:

cmd/support-notifications/main.go
0% <0%> (ø)
:arrow_up:

internal/core/data/init.go
0% <0%> (ø)
:arrow_up:

internal/support/notifications/init.go
0% <0%> (ø)
:arrow_up:

... and 13 more

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 087ead4...82abb6e. Read the comment docs.

Thanks for the comments, I obviously need some more background into how the configuration parameters in config.toml get injected into the running services.
What I tried to follow was how the edgex_registry URL value gets inserted as an environment variable.  Even though the boot retry timeout exists in config.toml, every retry func implementation had the hardcoded value from internal.BootTimeoutDefault, so /api/v1config/ exposes what's in the .toml, I'm not sure it matters since each usage just hard-coded the default.
My first approach was going down the path of putting this in the config settings themselves - though I still didn't understand how it all put together - but these timeouts are used when getting the configuration and how the timeouts/retries/etc work while getting the configuration.  So I thought - perhaps incorrectly - that putting them into the config itself wouldn't work because we need the values before we actually get the config.  Therefore, the values would be needed from the environment/-D values at the time we are attempting to retrieve the configuration.  Obviously correct me, but this is why the implementation does what it does.
It was a conscious decision to put BootParams and RetryInfo into config rather than startup: dependencies.  If environment.go is where gathering environment variables are centralized - which makes sense - then having BootParams and RetryInfo in startup requires a dependency on boot which didn't make logical sense.  It would be possible for environment.go to just provide the methods to get individual values for retries and have startup create the new RetryInfo, but - based on my understanding - it seemed more logical to have the types in config where all other types were rather than distribute them.
First need clarification on whether config.toml allows the retry values to be available at the time the config is being retried or if we've got the horse-before-the-cart scenario.  Once I have a better understanding of that, the rest should be simple to resolve.
Thanks again.

Totally fine, I was uncomfortable with the duplicate code and was trying to see a way to abstract out into something common but there was just enough differences to make it out of my experience on the project, so I worked within what there was.  Putting it on hold makes sense.

https://github.com/edgexfoundry/edgex-go/issues/1739

Closing due to age and @michaelestrin comments above RE: #1739


GarageDoorOpener doesnt work after tur OFF and ON Wifi on iPhone

Use Light_accessory for a while and its very stabil! Now i tried to use the GarageOpener... works great for a while, but after i disconnect to my wifi and reconnect again it doesn't work. Also it doesn't work after reboot my pi. The Light_accessory still does work great. I use GarageDoorOpener_accessory.js out of the box without any changes. Still no changes on HAP-NodeJS, but on Light_accessory.
Can anyone try to add the GarageDoorOpener (i use the Core.js) and try it`?

Try to remove every product from your Iphone, then cd to your persist file in the hap-nodejs module and do sudo rm *
Then reboot your pi and start Core.js in debug mode: sudo DEBUG=* node Core.js
Try to connect your products and show my your debug output.
@StefanMeGit

pi@raspberrypi:~/Homekit $ sudo sudo DEBUG=* node Core.js
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
HAP-NodeJS starting...
Parsing accessory: Garage_accessory.js
Parsing accessory: Switch_accessory.js
  Accessory [Garage Door Opener] Creating new AccessoryInfo for our HAP server +0ms
  Accessory [Garage Door Opener] Creating new IdentifierCache +128ms
  Accessory [Gargentoröffner] Creating new AccessoryInfo for our HAP server +229ms
  Accessory [Gargentoröffner] Creating new IdentifierCache +14ms
  EventedHTTPServer Server listening on port 51826 +104ms
  EventedHTTPServer Server listening on port 51827 +112ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] New connection from client +5s
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP server listening on port 54826 +24ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP request: /pair-setup +207ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-setup +7ms
  HAPServer [22:22:22:22:22:22] Pair step 1/5 +74ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP Repsonse is finished +472ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP request: /pair-setup +6s
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-setup +3ms
  HAPServer [22:22:22:22:22:22] Pair step 2/5 +22ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP Repsonse is finished +339ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP request: /pair-setup +54ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-setup +3ms
  HAPServer [22:22:22:22:22:22] Pair step 3/5 +10ms
  HAPServer [22:22:22:22:22:22] Pair step 4/5 +138ms
  HAPServer [22:22:22:22:22:22] Pair step 5/5 +17ms
  Accessory [Garage Door Opener] Paired with client DE409813-6C53-4389-A8CC-4F9563816CBE +58ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP Repsonse is finished +86ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] Client connection closed +243ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP connection was closed +27ms
  EventedHTTPServer [2003:62:474c:2a00:87b:c90f:9a7f:9e8e] HTTP server was closed +7ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +781ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 54826 +7ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +35ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-verify +3ms
  HAPServer [22:22:22:22:22:22] Pair verify step 1/2 +15ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +64ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +45ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-verify +3ms
  HAPServer [22:22:22:22:22:22] Pair verify step 2/2 +13ms
  HAPServer [22:22:22:22:22:22] Client DE409813-6C53-4389-A8CC-4F9563816CBE verification complete +20ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +12ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /accessories +33ms
  HAPServer [22:22:22:22:22:22] HAP Request: GET /accessories +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +34ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +196ms
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +2ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":9,"ev":true},{"aid":1,"iid":10,"ev":true}] +16ms
  Accessory [Garage Door Opener] Registering Characteristic "BlaBla" for events +13ms
  Accessory [Garage Door Opener] Registering Characteristic "BlaBla" for events +4ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +7ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics?id=1.9 +47ms
  HAPServer [22:22:22:22:22:22] HAP Request: GET /characteristics?id=1.9 +2ms
  Accessory [Garage Door Opener] Getting value for Characteristic "BlaBla" +33ms
Read:
executed accessory: Garage Door - current door state, and characteristic: Current State, with value: null.
  Accessory [Garage Door Opener] Got Characteristic "BlaBla" value: undefined +17ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '1.9' notification for this connection since it originated here. +17ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pairings +4s
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pairings +3ms
  HAPServer [22:22:22:22:22:22] Adding pairing info for client +9ms
  Accessory [Garage Door Opener] Paired with client 43F315DA-FF07-4EF6-8256-42C38E6D3D35 +4ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +81ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics?id=1.9 +2s
  HAPServer [22:22:22:22:22:22] HAP Request: GET /characteristics?id=1.9 +3ms
  Accessory [Garage Door Opener] Getting value for Characteristic "BlaBla" +7ms
Read:
executed accessory: Garage Door - current door state, and characteristic: Current State, with value: null.

  Accessory [Garage Door Opener] Got Characteristic "BlaBla" value: undefined +8ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '1.11' notification for this connection since it originated here. +10ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +2s
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 54827 +5ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +24ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-verify +2ms
  HAPServer [22:22:22:22:22:22] Pair verify step 1/2 +6ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +54ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +25ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-verify +2ms
  HAPServer [22:22:22:22:22:22] Pair verify step 2/2 +6ms
  HAPServer [22:22:22:22:22:22] Client 43F315DA-FF07-4EF6-8256-42C38E6D3D35 verification complete +19ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +11ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /accessories +24ms
  HAPServer [22:22:22:22:22:22] HAP Request: GET /accessories +2ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +21ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +15s
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +3ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":10,"value":0}] +5ms
  Accessory [Garage Door Opener] Setting Characteristic "BlaBla" to value 0 +3ms
Change: 0
executed accessory: Garage Door - target door state, and characteristic: Current State, with value: 0.
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '1.10' notification for this connection since it originated here. +20ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +7s
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +3ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":10,"value":1}] +6ms
  Accessory [Garage Door Opener] Setting Characteristic "BlaBla" to value 1 +3ms
Change: 1
executed accessory: Garage Door - target door state, and characteristic: Current State, with value: 1.
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '1.10' notification for this connection since it originated here. +11ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +3s
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +2ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":10,"value":0}] +6ms
  Accessory [Garage Door Opener] Setting Characteristic "BlaBla" to value 0 +3ms
Change: 0
executed accessory: Garage Door - target door state, and characteristic: Current State, with value: 0.
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '1.10' notification for this connection since it originated here. +10ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +2ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +2s
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +3ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":10,"value":1}] +6ms
  Accessory [Garage Door Opener] Setting Characteristic "BlaBla" to value 1 +2ms
Change: 1
executed accessory: Garage Door - target door state, and characteristic: Current State, with value: 1.
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '1.10' notification for this connection since it originated here. +9ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +3s
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +2ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":10,"value":0}] +6ms
  Accessory [Garage Door Opener] Setting Characteristic "BlaBla" to value 0 +3ms
Change: 0

did some tests
executed accessory: Garage Door - target door state, and characteristic: Current State, with value: 0.
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Muting event '1.10' notification for this connection since it originated here. +8ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +6s
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +2ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":10,"value":0}] +6ms
  Accessory [Garage Door Opener] Setting Characteristic "BlaBla" to value 0 +3ms
Change: 0
executed accessory: Garage Door - target door state, and characteristic: Current State, with value: 0.
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +9ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +6s
  HAPServer [22:22:22:22:22:22] HAP Request: PUT /characteristics +3ms
  Accessory [Garage Door Opener] Processing characteristic set: [{"aid":1,"iid":10,"value":0}] +6ms
  Accessory [Garage Door Opener] Setting Characteristic "BlaBla" to value 0 +2ms
Change: 0
executed accessory: Garage Door - target door state, and characteristic: Current State, with value: 0.

turn off wifi
try remotely "open the garage", without success
reconnect to wifi
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +9ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +55s
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 54828 +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +17ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-verify +3ms
  HAPServer [22:22:22:22:22:22] Pair verify step 1/2 +6ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +51ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +24ms
  HAPServer [22:22:22:22:22:22] HAP Request: POST /pair-verify +2ms
  HAPServer [22:22:22:22:22:22] Pair verify step 2/2 +6ms
  HAPServer [22:22:22:22:22:22] Client DE409813-6C53-4389-A8CC-4F9563816CBE verification complete +17ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +13ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /accessories +21ms
  HAPServer [22:22:22:22:22:22] HAP Request: GET /accessories +3ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +16ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed +1m
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed +10ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed +4ms

AFTER A WHILE
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Sending HTTP event 'keepalive' with data: {"characteristics":[]} +4m
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Sending HTTP event 'keepalive' with data: {"characteristics":[]} +16ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection error: read ECONNRESET +2s

I experienced this as well -- see issue https://github.com/KhaosT/HAP-NodeJS/issues/138.  You need to modify the GarageDoorOpener_accessory.js file so that it does not return 'null' values.  Note the lines in your output:
 Garage Door - obstruction detected, and characteristic: Current State, with value: null.

The boilerplate code should really be modified to return other values or this should be mentioned clearly in the documentation.


Update all projects and targets to Xcode 10 build settings and Swift 4.2

Hi,
Since I no longer work for indievox, it should be good to keep it in your repository :)


Fix wrong response_type in implicit code flow

Fixes #77

:D exposing secrets 👍 usually unstaged changes are warned to me by my editor but not this time. I've reset my secret so all is good 😇
bors r+


Cleanup uses of exceptions as assertions in the storage library

There are a few places where we use exceptions where an assert() would do.  We may want to keep using exceptions, but maybe make the code more readable by calling something like google::cloud::internal::Assert(...) or GCP_LOG(FATAL).
The relevant places are:

[ ] CurlDownloadRequest::SetOptions()
[ ] CurlHandle::CurlHandle()
[ ] CurlRequestBuilder::ValidateBuilderState() - alternatively change the Build*() functions to be rvalue-only and just declare that calling them twice is UB.

Motivated by #6933

While we could change these exceptions to assertions, the result would be the same (the application would crash).  And the upcoming changes to use REST-internal will fix these automatically. Closing as the only action is "wait for rest-internal".


Issue with pac4j_version=3.3.0

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration': BeanPostProcessor before instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/pac4j/core/exception/http/ForbiddenAction

Please use the mailling list for questions: https://groups.google.com/forum/?fromgroups#!forum/pac4j-users


Could I special the jpeg giflib libtiff libpng PATH when building vim

Hi, I'm using vim installed by homebrew on mac os X
But if I set environment
export DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/usr/local/lib/

cause errors
dyld: Symbol not found: __cg_jpeg_resync_to_restart
  Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  Expected in: /usr/local/lib//libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO

because the homebrew version of vim conflict with lib jpeg libpng libtiff giflib
could I set an environment for not using these library when using VIM
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Describe the solution you'd like
set an environment for not using jpeg libpng libtiff giflib these library when using VIM
Describe alternatives you've considered
Additional context

It seems if I run porgram inside vim for example:
nnoremap <F3> :w<CR>:!python %<CR>

press <F3>

doesn't load the environment DYLD_LIBRARY_PATH and cause the bug,
and if a program is linked  with @rpath it also cause not found library.
so I think it's better if vim load program with all system environment set in .bashrc or .zshrc

where do you set this environment variable. I think you may want to set shellcmdflag option, e.g. so that your shell login file (.bashrc) is loaded as well.

where do you set this environment variable. I think you may want to set shellcmdflag option, e.g. so that your shell login file (.bashrc) is loaded as well.

that's what I wanted,
but could I load only DYLD_LIBRARY_PATH, because I don't want to run other part in my .bashrc or .zshrc

Again, so where do you set it? Try putting it into .bash_profile or .profile. This depends on your used shell however.

I'm using zsh so I set it in .zshrc

so how about putting this into .zshenv profile file then?

great, thanks.
cheers


Change equals() + toUpper/LowerCase to equalsIgnoreCase

Instead of calling equals() and then toLowerCase/toUpperCase it's simpler just to use equalsIgnoreCase.

(Sorry for the delay. I believe this was missed because @committer is not a committer in Beam :) )


python310Packages.outputcheck: init at 0.4.2

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Is this intended to be imported as a library as well? If not, adding it to the top level instead of python-module is a good idea. You can add this file in pkgs/by-name/.

How can I build it? Should I drop the buildPythonPackage?

You can use buildPythonApplication.

upstream has quite a lot of tests so you probably want to run them in the checkPhase https://github.com/stp/OutputCheck/tree/master/tests

Can you give example how to call it?


download files from remote linux server

When I want to download files to execute commands "sz ***.txt"
"sz" dosen't work

Try "scp.exe".

Try "scp.exe".

Thanks


nodes allow typeannotations

hello! nodes can also accept annotations. I think you could add a typeannotation to the node object directly.

Hi! Thanks for pointing it out, I actually missed that from the spec.
I will begin working on it later today.

I created a PR that should fix this: #20


Make PairClassification consistent with other tasks

Checklist

[X] Run tests locally to make sure nothing is broken using make test.
[X] Run the formatter to format the code using make lint.

Closes #1037.
I also run tests similar to #1034

Ran an example here
{
  "dataset_revision": "7335288588f14e5a687d97fc979194c2abe6f4e7",
  "evaluation_time": 11.970552682876587,
  "kg_co2_emissions": null,
  "mteb_version": "1.12.67",
  "scores": {
    "test": [
      {
        "cosine_accuracy": 0.6239067055393586,
        "cosine_accuracy_threshold": 0.7745091319084167,
        "cosine_ap": 0.6484016684922852,
        "cosine_f1": 0.6789940828402367,
        "cosine_f1_threshold": 0.6167908310890198,
        "cosine_precision": 0.5510204081632653,
        "cosine_recall": 0.884393063583815,
        "dot_accuracy": 0.5519922254616132,
        "dot_accuracy_threshold": 8.397539138793945,
        "dot_ap": 0.5647177517881756,
        "dot_f1": 0.6714100905562743,
        "dot_f1_threshold": 0.8443644642829895,
        "dot_precision": 0.5053554040895814,
        "dot_recall": 1.0,
        "euclidean_accuracy": 0.6190476190476191,
        "euclidean_accuracy_threshold": 2.305285930633545,
        "euclidean_ap": 0.6052430762311987,
        "euclidean_f1": 0.6822498173849526,
        "euclidean_f1_threshold": 3.0024242401123047,
        "euclidean_precision": 0.5494117647058824,
        "euclidean_recall": 0.8998073217726397,
        "hf_subset": "default",
        "languages": [
          "fas-Arab"
        ],
        "main_score": 0.6484016684922852,
        "manhattan_accuracy": 0.6229348882410107,
        "manhattan_accuracy_threshold": 38.67555236816406,
        "manhattan_ap": 0.606826462659015,
        "manhattan_f1": 0.682124158563949,
        "manhattan_f1_threshold": 45.126319885253906,
        "manhattan_precision": 0.5574572127139364,
        "manhattan_recall": 0.8786127167630058,
        "max_ap": 0.6484016684922852,
        "max_f1": 0.6822498173849526,
        "max_precision": 0.5574572127139364,
        "max_recall": 1.0,
        "similarity_accuracy": 0.6239067055393586,
        "similarity_accuracy_threshold": 0.7745091915130615,
        "similarity_ap": 0.6484016684922852,
        "similarity_f1": 0.6789940828402367,
        "similarity_f1_threshold": 0.6167908906936646,
        "similarity_precision": 0.5510204081632653,
        "similarity_recall": 0.884393063583815
      }
    ]
  },
  "task_name": "FarsTail"
}

Hi @KennethEnevoldsen ,
I was running the 'Ocnli' PairClassification task in MTEB_ZH, and it errors out due to:
mteb/abstasks/AbsTaskPairClassification.py", line 30, in _add_main_score
scores["main_score"] = scores[self.metadata.main_score]
KeyError: 'max_accuracy'

The content of the scores dict matches what you shared above. Apparently max_accuracy is not a valid metric name for this task. Is it a task-specific issue? Is there any official doc showing the main score metric of each task?
Thanks,
Rui

@memray Sorry, that my changes cause problems. I've opened PR that fix this #1175

@Samoed thanks for the prompt reply. I think Cmnli has the same issue. Now I hardcode the self.metadata.main_score="max_ap" as a work-around.
BTW, should we use "max_ap" or "max_accuracy" as the main metric for Pair-Cls?

Changes in new PR should fix everything


Unable to do nothing

I followed all of your instruction and i also run following command :
i got error :
but i should get following :
plz help me to solve this problem

You should probably try this:

I did it, works all the time.

ya its working

You must change your butler drug


Add to cocoapods

There's very little unique to swift in writing a podspec: https://github.com/ashfurrow/Moya/blob/master/Moya.podspec


Issue with setup and a Service Account Admin

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[ ] I have joined the ZITADEL chat

Describe the docs your are missing or that are wrong
As a user we wanted to set up Zitadel with only one service account. Because we want to fill all data only with terraform. However, this does not seem to work because the setup pod says that it is waiting for the container to be terminated. Only unfortunately this never happens until Helm or flux runs into a timeout.
If we take out the appropriate part in the values.yaml that only the service account should be created, the installation works right away.
The MachineKeyPath was not configured, because it was removed in the current version. Unfortunately, this is still in the docs: https://zitadel.com/docs/self-hosting/deploy/kubernetes#setup-zitadel-and-a-service-account-admin.
We use the Helm chart in version 5.0.0 and CockroachDB 11.0.3.
We are now setting up Zitadel with a human user and creating a service account at the beginning so we can use the instance as much as possible with Terraform.
Additional Context
No response

Having a service user and a key created should basically work. We add an example for that in PR #111
Is it possible, that flux has problems with the helm hooks? These are defined as defaults in the values.yaml. I think also for ArgoCD they don't work out-of-the box.

Having a service user and a key created should basically work. We add an example for that in PR #111
Is it possible, that flux has problems with the helm hooks? These are defined as defaults in the values.yaml. I think also for ArgoCD they don't work out-of-the box.

I have successfully installed Zitadel using ArgoCD with only a service account. I didn't encounter any issues during the installation process.

I will close this issue for now, as it looks like we have provided some examples, which also work for other customers.
@rhizoet Feel free to reopen if the problem is not solved for you and you can provide more infos


doc: release-notes-4.0: Miscellaneous Cleanup

Pulled in a PR from Nordic that had merge conflicts. https://github.com/zephyrproject-rtos/zephyr/pull/81448
Move deprecated items to the deprecated section.
Fixed a portion of a sentence that was deleted.
Miscellaneous cleanup

@mmahadevan108 actually, if you have a chance, can you change this ref to be:
  be found in the Zephyr tree) to the :ref:`Devicetree bindings <devicetree_binding_index>` documentation.

@mmahadevan108 thank you!


[AutoRelease] t2-media-2023-02-16-06416(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/3817
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1012
BuildTargetingString
azure-mgmt-media
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/3817


designing page prep for expressive sunset

This PR updates the Designing page to ready the page for changes coming with the Expressive Theme sunset.

I've tightened up this page to create a narrative flow for a designer coming in and getting set up the first time, or coming back to find new information.
There is another ticket detailing future changes to the Designing page, possibly breaking the content into separate pages but this would be better placed after we have some new steps to take for kits and new resources.

Capturing the notes from the other ticket here and closing that one for now:

This is a fix that doesn't directly relate to expressive sunset, but if we can add a mention that our current components are hosted in boxfolder, click here to request for access, that would be great to patch the temporary unavailability of our kit

In general, I understand if we wanna avoid large operations right now, but it feels like "expressive kit" is too front and center. A few potential things to consider:

I think we might need a short explanation on what the "sketch kit" users are getting here. The mention of "Carbon expressive" is too easy to miss. Can we quickly explain: the design kit of our component library is coming soon. For now, you can build our components with elements from the Carbon expressive kit.

Should we repeat Expressive kit is going away above this section? Perhaps as a notification?

Lastly, I notice the "Learn about expressive styling" section. I wonder if this section should be the first one on top, prelude to "installing kit".

A minor suggestion: could we swap the position of the IBM icons (24, 32px) card and the IBM icons (16, 20px) card so the smaller sizes (16, 20) are first? The smaller size library is likely what teams will use the most.

If we add the bit about other dotcom components being hosted in Box we might want to clarify that only IBMers will be able to access those folders. Happy to help figure out instructions/wording for that piece!

@shixiedesign and @oliviaflory
Thanks so much for the feedback! The next version is building and will be ready for the next round of reviews shortly.
👁👁

Moved expressive styling section to the top
Added some explanations of the Sketch kit and what is coming soon
Added new H2 section Get Carbon for IBM.components and have added pointers to Sketch folders on Box.
Flipped the icon cards

Love the updates! Only 1 more comment on Get Carbon for IBM.com components section. We also provide "Design only" and "feature flag" components. I wonder if we should just share the entire "Components" folder here, perhaps as a large resource card? Alternatively we should at least add the "Design only" ones - they are the ones we hope adopters can pick up and build, or request us to build it at some point.

Love the updates! Only 1 more comment on Get Carbon for IBM.com components section. We also provide "Design only" and "feature flag" components. I wonder if we should just share the entire "Components" https://ibm.box.com/s/vyt75tjqx7mk6g7e8h3vw013zstcdk4s folder here, perhaps as a large resource card?

Hey @shixiedesign, directing people to that top level folder might be overwhelming, especially for newbies. There are a lot of folders in there.
I've been playing with mini resource cards for this section and this is looking good, and better than links.

Not sure which order we would want, presumably not alphabetical because I think the Design only components and the Feature flag components would be accessed the least. Anyway, will leave it there for further comment.

Agree that the Component folder might be overwhelming for newer users, or just might not be clear which folder they should look into first. We could write some descriptions in this section for what users will find inside each folder?
UI components
Components that are designed and built to support or enable small UI tasks and actions. They can be paired with other components to create layout components, templates, and patterns.

Swiped from the Component Overview page

Layout components
Layout components show some of the common layouts used in IBM’s digital space. They are carefully designed and coded to communicate prescribed content types and are expressions of IBM’s distinct brand ethos.

Swiped from the Component Overview page

Feature flag
Components that are built under the feature flag branch and are being tested before adding to the library permanently. Warning: the Carbon for IBM.com team reserves the right to sunset components within the feature branch at any time.
Design only
Components that have a design, but are not available in code. We are always looking for adopters to contribute to the library, if your team would like to build any of these components to use in your experience, please reach out to the Carbon for IBM.com team to let us know you'll be contributing.

Just took a quick look at the Design only folder, I’m not sure every component is something we’d want contributed? Specifically Locale change banner?

Agree that the Component folder might be overwhelming for newer users, or just might not be clear which folder they should look into first. We could write some descriptions in this section for what users will find inside each folder?

I can put these in and we can take a look.

Just took a quick look at the Design only folder, I’m not sure every component is something we’d want contributed? Specifically Locale change banner?

Let me know what you think about this one, @shixiedesign and I can leave it out if necessary.

I've pushed up two new versions of this section with your descriptions, @oliviaflory. Here are images of the two options to look at in the meantime.
I've edited the descriptions down a bit, fyi. ;)
Of the two, I prefer the table. The information is more compact and having the links beside the description makes it easier to take action.

Agreed listing the 4 folders out are better than pointing to top level Components folder. While mini card always have the bling because of those cute diamonds, I'd agree that table is clearer here. The definition more connected to the link. 👍

Agreed listing the 4 folders out are better than pointing to top level Components folder. While mini card always have the bling because of those cute diamonds, I'd agree that table is clearer here. The definition more connected to the link. 👍

Awesome!! Will get rid of the second option and we'll go with the table.
@shixiedesign What do you think about Olivia's comment regarding some of the Design only components?

@shixiedesign and @oliviaflory. I'm pretty sure I captured all the feedback before the long weekend. Would you mind doing a (hopefully) final check so I can merge this puppy? 🐕


Fix # # encoding in cookbook generator

FWIW, I think this line can be removed entirely...but not 100% sure.

Just take that out entirely Rubocop was telling people to include it for a while and then they reversed on that.

Agreed, will do.


Remove synchronization overhead on generateName.

Motivation:
Changing the chache of generated names to use a cache per thread. This will remove the bottleneck when many eventloops are used and names need to generate.
Modifications:
Use a FastThreadLocal to store the cached names.
Result:
Less locking between threads.

@Scottmitch @nmittler PTAL

fyi a typo in commit message

@normanmaurer  Can you provide benchmarks to show the improvement?

@nmittler let me try to write a microbenchmark.

@normanmaurer since most JVMs won't have class unloading enabled what's the point of the WeakHashMap? Couldn't we replace this with ConcurrentHashMap instead to avoid the synchronization?
    private static final ConcurrentHashMap<Class<?>, String> nameCaches =
            new ConcurrentHashMap<Class<?>, String>();

    String generateName(ChannelHandler handler) {
        Class<?> handlerType = handler.getClass();
        String name = nameCaches.get(handlerType);
        if (name == null) {
            name = generateName0(handlerType);
            String concurrentName = nameCaches.putIfAbsent(handlerType, name);
            if (concurrentName != null) {
                name = concurrentName;
            }
        }

        synchronized (this) {
            // It's not very likely for a user to put more than one handler of the same type, but make sure to avoid
            // any name conflicts.  Note that we don't cache the names generated here.
            if (name2ctx.containsKey(name)) {
                String baseName = name.substring(0, name.length() - 1); // Strip the trailing '0'.
                for (int i = 1;; i ++) {
                    String newName = baseName + i;
                    if (!name2ctx.containsKey(newName)) {
                        name = newName;
                        break;
                    }
                }
            }
        }

        return name;
    }

since most JVMs won't have class unloading enabled what's the point of the WeakHashMap? Couldn't we replace this with ConcurrentHashMap instead to avoid the synchronization?

@johnou ClassLoaders and containers

In that case LGTM, probably not worth it to introduce ConcurrentReferenceHashMap written by Doug Lea just for this.

@johnou do you have a link ?

@nmittler writing a benchmark is not as easy as I hoped but I saw the improvement in the profiler. So are you ok with merge this without a micro benchmark ?

@normanmaurer Yeah that's fine ... thanks for looking into it. LGTM

Cherry-picked into 4.0 (8ecfd587141a96633c5925b8e23f11df43f5311b), 4.1 (98eb69f169b862a813468ecf1ad1cc14daa896df) and master (e8e1be1364e7461b2f5301a82462e49e70920f3e)

@normanmaurer https://github.com/wildfly/wildfly/blob/master/web-common/src/main/java/org/jboss/as/web/common/ConcurrentReferenceHashMap.java and another by the guys at Spring here https://github.com/spring-projects/spring-framework/blob/master/spring-core/src/main/java/org/springframework/util/ConcurrentReferenceHashMap.java


Note in README about password-based authentication.

If you need to use password authentication rather than public keys, then adding a command="" section to authorized_keys won't work.  I've added a note to README about how you can achieve the same thing with sshd_config.
Many thanks for a very handy project!

Thanks !


Disable Sonar check on forks

This prevents the Sonar check to run on the forks (will be marked as "Skipped") instead of failing.

Closing and re-opening to trigger the CI again.

Just one question, why the owner is not checked on push?


create a utils.R file to hold functions used across searches

xml2tib is on pubmed_search
gettotal is on scopus_search
there may be some others

each function modularized in its own .R file


Module Twin support when setup the IoT Edge Simulator

Run “iotedgehubdev setup –c  -i ” to support module twin when set edge device connection string,

IoTHub connection string has been supported in Visual Studio Edge Extension 1.5.0, so close this issue.


alert handshake failure cant download image?

I get this same type of error on every soundcloud song I try to download:
WARNING: Unable to download thumbnail "https://i1.sndcdn.com/artworks-000155544517-9ww49z-t500x500.jpg": <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL
anthony@AnthonyUbuntu:~/Music$ youtube-dl https://soundcloud.com/slightbeats/dabs --embed-thumbnail -o "%(title)s.%(ext)s" -f mp3
[soundcloud] slightbeats/dabs: Resolving id
[soundcloud] slightbeats/dabs: Downloading info JSON
[soundcloud] 256394142: Downloading track url
[soundcloud] 256394142: Checking fallback video format URL
[soundcloud] 256394142: Checking http_mp3_128_url video format URL
[soundcloud] 256394142: Downloading thumbnail ...
WARNING: Unable to download thumbnail "https://i1.sndcdn.com/artworks-000155544517-9ww49z-t500x500.jpg": <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
anthony@AnthonyUbuntu:~/Music$ youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.05
[debug] Python version 2.7.6 - Linux-4.2.0-30-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, rtmpdump 2.4
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
Also is there an option so that if it can't find an image for some reason it attaches an alternative image to the track so it doesn't stop it from downloading other tracks (when I download a playlist)

Figured out it was a python version error but now its having trouble attaching the images to the files
it is saying the jpg is no there but it is
[soundcloud] loudlordbitch/new-tees-in-store-link-in-description-kush-krazy-4-dropping-on-420-squad: Resolving id
[soundcloud] loudlordbitch/new-tees-in-store-link-in-description-kush-krazy-4-dropping-on-420-squad: Downloading info JSON
[soundcloud] 257358307: Downloading track url
[soundcloud] 257358307: Checking fallback video format URL
[soundcloud] 257358307: Checking http_mp3_128_url video format URL
[soundcloud] 257358307: Downloading thumbnail ...
[soundcloud] 257358307: Writing thumbnail to: new tees in store (link in description) + Kush Krazy 4 dropping on 4_20 squad.jpg
[download] Destination: new tees in store (link in description) + Kush Krazy 4 dropping on 4_20 squad.mp3
[download] 100% of 1.88MiB in 00:00
[ffmpeg] Adding thumbnail to "new tees in store (link in description) + Kush Krazy 4 dropping on 4_20 squad.mp3"
ERROR: file:new tees in store (link in description) + Kush Krazy 4 dropping on 4_20 squad.jpg: No such file or directory

Two issues:

alert handshake failure: soundcloud's site i1.sndcdn.com requires at least Python 2.7.9 or Python 3.2. See #5366.
I guess you're using avconv, which is broken. Install ffmpeg and add --prefer-ffmpeg to youtube-dl. See #7238.


Ensure that the specified rustup toolchain exists before using it

Given a config like this
[tasks.test]
command = "cargo"
args = [ "build" ]
toolchain = "alarm"

you get a fairly unintuitive error output like this:
[cargo-make] INFO - Running Task: test
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

This can be quite confusing especially for people who are new to a
project and might've missed installing the specified rustup toolchain
before building the project with cargo-make.
This patch ensures in the toolchain-subcrate that the toolchain
actually exists (by checking the exit-code of rustup run <toolchain> true) before running the actual task. If the toolchain doesn't exist,
an error like this will be thrown:
[cargo-make] INFO - Running Task: test
[cargo-make] ERROR - Please install the toolchain alarm using rustup before building!
[cargo-make] WARN - Build Failed.

that's awesome. thanks a lot.
I'll review the PR but overall i think its really good idea.

Codecov Report

Merging #388 into master will decrease coverage by 0.26%.
The diff coverage is 30.95%.

@@            Coverage Diff             @@
##           master     #388      +/-   ##
==========================================
- Coverage   92.28%   92.02%   -0.27%
==========================================
  Files          86       86
  Lines       17025    16993      -32
==========================================
- Hits        15711    15637      -74
- Misses       1314     1356      +42

Impacted Files
Coverage Δ

src/lib/toolchain.rs
100% <100%> (ø)
:arrow_up:

src/lib/toolchain_test.rs
27.5% <14.7%> (-69.28%)
:arrow_down:

...c/lib/installer/rustup_component_installer_test.rs
85.91% <0%> (-8.46%)
:arrow_down:

src/lib/command_test.rs
85% <0%> (-8.34%)
:arrow_down:

src/lib/installer/cargo_plugin_installer.rs
75.29% <0%> (-8.24%)
:arrow_down:

src/lib/installer/cargo_plugin_installer_test.rs
90.44% <0%> (-3.38%)
:arrow_down:

src/lib/io.rs
64.7% <0%> (-2.95%)
:arrow_down:

src/lib/condition.rs
93.77% <0%> (-2.88%)
:arrow_down:

src/lib/legacy.rs
70% <0%> (-2%)
:arrow_down:

src/lib/cache.rs
61.29% <0%> (-1.62%)
:arrow_down:

... and 10 more

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 28718f4...e58f3a9. Read the comment docs.

thanks a lot for the PR. i'm merging it now. don't worry about the build errors, i'll resolve them.


Introduce LDBC SNB Interactive drive for GraphDB 10

Thanks! I didn't do a thorough code review but scrolled through the code and documentation and they look reasonable to me.


Issue / PR templates for neo4j/neo4j-core/neo4j-rake_tasks

https://github.com/blog/2111-issue-and-pull-request-templates
Possibly as a footer for people to optionally use for any data that they can give us which they think applies to their issue.  Perceived bureaucracy turns some people off:
https://twitter.com/wycats/status/700099516750438400

Done for neo4j, neo4j-core, and neo4j-rake_tasks


Improve search input on mobile

This does two things to optimize the search input on mobile browsers:

Disables the autocapitalization of the first letter as that does not make sense for search terms.
Shows the Search icon/label on the mobile keyboard instead of the Go icon/label.

Before:

After:

Nice! Good calls. To keep this in one PR, would you be open to adding these attributes to the (upcoming) modular UI input as well?
Relevant input:
https://github.com/CloudCannon/pagefind/blob/main/pagefind_ui/modular/components/input.js#L90
(All good if not! I can jump in tomorrow and add it to the branch before merging)

To keep this in one PR, would you be open to adding these attributes to the (upcoming) modular UI input as well?

Done.


⚠ Samsung has degraded performance

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

HTTP code: 200
Response time: 2058 ms

Resolved: Samsung performance has improved in f6da008.


Altering Online communities section of the community page

Includes removal of IRC bot list - it's also present on the raku.org site, apart from the undersightable bot that doesn't seem to work.

I'm happy with these; any reason not to take it out of draft?

I felt something was still missing, for example I was hoping for any feedback regarding the undersightable bot, at least. I think if we can settle that undersightable is gone for good, we can call it a day.

FWIW I've never heard of undersightable. But I see this, which looks like a legit generated bot result from 5 years ago.

I think if we can settle that undersightable is gone for good, we can call it a day.

Can't we just remove things for now anyway? Forgiveness > permission, and if someone wants to get broken things working again, and they do, and the newly working thing is considered useful, a reference to it can always be added back where appropriate, right?

I'm happy if this gets merged.

If nobody has objections - apparently - then sure, go ahead.
By the way, is there no such principle as "communication > ivory tower"? "forgiveness > permission" is pretty good but ultimately, the general indifference. often excused by volunteer work, is causing a lot of damage to the community - emotional damage just as much as quality problems.


2<<20 is not 1 MB

There is a bug in line 5. 2<<20 is not 2^20, its 2<<21, or 2 MB.

You're totally right<EMAIL_ADDRESS>is published