antares-xpansion 1.3.0-rc2 doesn't work on ubuntu 20.04

Use example study SmallFiveCandidates
Use the single-file install @ 1.3.0-rc2
Error message looks like

./antaresXpansion-1.3.0/antares-xpansion-launcher -i SmallTestFiveCandidates-1.3.0
----------------------------------------------------------------
[Pre Antares][INFO 07-06-2024 15:38:36]  Running Antares Xpansion ...
[Pre Antares][INFO 07-06-2024 15:38:36]  user: omnesflo
[Pre Antares][INFO 07-06-2024 15:38:36]  hostname: gm0winl370.bureau.si.interne
[Pre Antares][INFO 07-06-2024 15:38:36]  Xpansion version: 1.3.0
[Pre Antares][INFO 07-06-2024 15:38:36]  antares simulator version: 8.8
----------------------------------------------------------------
[StudyLocker][INFO 07-06-2024 15:38:36]  SmallTestFiveCandidates-1.3.0 is locked
[ProfileLinkChecker][INFO 07-06-2024 15:38:36]  In candidate 3 description, deprecated option: **link-profile** is replaced by **direct-link-profile** and **indirect-link-profile** options
[SplitLinkProfile][INFO 07-06-2024 15:38:36]  Direct link profile: direct_capa_pv.ini is created from link-profile file: capa_pv.ini
[ProfileLinkChecker][INFO 07-06-2024 15:38:36]  In candidate 5 description, deprecated option: **link-profile** is replaced by **direct-link-profile** and **indirect-link-profile** options
[SplitLinkProfile][INFO 07-06-2024 15:38:36]  Direct link profile: direct_04_fr-05_fr.txt is created from link-profile file: 04_fr-05_fr.txt
[SplitLinkProfile][INFO 07-06-2024 15:38:36]  Direct link profile: direct_04_fr-05_fr.txt is created from link-profile file: 04_fr-05_fr.txt
[SplitLinkProfile][INFO 07-06-2024 15:38:36]  Indirect link profile: indirect_04_fr-05_fr.txt is created from link-profile file: 04_fr-05_fr.txt
[SplitLinkProfile][INFO 07-06-2024 15:38:36]  Indirect link profile: indirect_04_fr-05_fr.txt is created from link-profile file: 04_fr-05_fr.txt
[ProfileLinkChecker][INFO 07-06-2024 15:38:36]  candidates.ini is updated.
[ConfigLoader][INFO 07-06-2024 15:38:36]  No solver defined in user/expansion/settings.ini. Cbc used
[GeneralDataProcessor][INFO 07-06-2024 15:38:36]  Pre Antares
[AntaresDriver][INFO 07-06-2024 15:38:36]  Launching antares
[AntaresDriver][INFO 07-06-2024 15:38:42]  Antares simulation duration : 0:00:06.369555
[XpansionDriver][INFO 07-06-2024 15:38:42]  Post Antares
[FullRunDriver][INFO 07-06-2024 15:38:42]  Current directory is now: /home/omnesflo/Téléchargements/antaresXpansion-1.3.0/examples/SmallTestFiveCandidates/output/20240607-1538eco-Xpansion/lp
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    opal_init:startup:internal-failure
But I couldn't open the help file:
    /home/runner/work/antares-xpansion/antares-xpansion/vcpkg_installed/x64-linux/share/openmpi/openmpi/help-opal-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    orte_init:startup:internal-failure
But I couldn't open the help file:
    /home/runner/work/antares-xpansion/antares-xpansion/vcpkg_installed/x64-linux/share/openmpi/openmpi/help-orte-runtime: No such file or directory.  Sorry!
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    mpi_init:startup:internal-failure
But I couldn't open the help file:
    /home/runner/work/antares-xpansion/antares-xpansion/vcpkg_installed/x64-linux/share/openmpi/openmpi/help-mpi-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
*** An error occurred in MPI_Init
*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)
[gm0winl370.bureau.si.interne:1607429] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!
Traceback (most recent call last):
  File "launch.py", line 51, in <module>
  File "antares_xpansion/driver.py", line 79, in launch
  File "antares_xpansion/full_run_driver.py", line 60, in launch
  File "antares_xpansion/full_run_driver.py", line 73, in run
antares_xpansion.full_run_driver.FullRunExecutionError: ERROR: exited /tmp/_MEIYpv85q/bin/full_run with status 1
[1606977] Failed to execute script 'launch' due to unhandled exception!

dear @flomnes thank you, i'il dive in

https://github.com/AntaresSimulatorTeam/antares-xpansion/issues/844


Refresh button

As a user I want to be able to refresh the data displayed in the widget manually, without opening another app.

The API now supports to use the /refresh route to refresh its caches. As the expected behavior when refreshing the widget is to load the newest data available, it may be a good idea to first refresh the API cache before loading the new data.


Performance issue using animated assets

When using something like
<transform rotation="0 -0.9322087168693542 -0.36192089319229126 1.1212045627989415" translation="4.156185150146484 -3.1172001361846924 7.501348495483398" scale="0.5 0.5 0.5" id="ship_tf0"></transform>
<model visible="true" transform="#ship_tf0" src="assets/spaceship.xml#asset"></model>

and updating the rotation and translation attribute once per frame for animation purposes, it causes the invalidation of the whole asset, which ultimately results in a re-computation of the mesh's bbox.

The asset won't be invalidated when changing the transform of the model tag so performance should be back to normal now. The fix will be in release 4.9.


add two-dimensional code for wiki

Codecov Report

Merging #272 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #272   +/-   ##
=========================================
  Coverage     25.05%   25.05%
  Complexity      335      335
=========================================
  Files           127      127
  Lines          4270     4270
  Branches        313      313
=========================================
  Hits           1070     1070
  Misses         3121     3121
  Partials         79       79


Publisher line: deal with NFT owner/publisher mismatch

By default show "Owned by ...", but display both in case they are different. So always check NFT owner against actual publisher from the initial metadata created(?) event, and if different output both, "Owned by 0xxx, published by 0xxx"
Taken from #1010

@LucaMilanese90 we need to update #1125 to also include this change


Feature request

How about to add a new feature on downloaded files?

Delete downloaded file.

As AriaNg knows what is download folder and downloaded file name that shouldn't be a big deal to add remove file functionality.

Because aria2 does not support deleting file, AriaNg cannot implement this feature. This issue is duplicated with #11.


Remove distances from the interface

So, computing distances afterwards is actually an issue, as we don't have access to leaf nodes... If one retains the original primitives, or if we provide a function to return leaf nodes view, that's doable.
Other than that, the code is simpler now. I'm making this draft PR so that anybody can follow up on it.
Fix #141.

This is going to be fixed by the new callback mechanism.


Is there a way to set "match strategy" separately for different types of complements

I want to set "prefix match strategy" as default match strategy but use "partial match strategy" for front matter complement. Is there a way to achieve it

Hi, @shui-dun :)
No. not yet. But I've always thought to need it.
I'll implement it 👍

@shui-dun
I have released to v5.8.0 🚀
Please confirm whether it works as you expected.


Adding default icon for the operator

Adding default icon (dummy) for the operator because it is required for community-operator.

/cc @mkumatag


1890 conference presentations update@devel

Closes #1890
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[ ] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[ ] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[ ] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[ ] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[ ] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[ ] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[ ] Address any updates needed for vignettes and/or templates
[ ] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[ ] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[ ] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[ ] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

I know there was talk about splitting this into Past and Upcoming - for the moment I have elected not to do this. Firstly this is because some of the upcoming presentations are TBC. Also, if we add an upcoming section then due to our quarterly release cycle this will likely be at least partially outdated at some point between releases. Instead I think it's better to periodically update this section.

Some presentations (listed below) don't have slides published on conference websites yet. I propose to exclude them for now; going forwards I propose to update the "Conference Presentations" section of README.md quarterly.

{admiral} Pilot 3: Paving the Way for Clinical Submissions in R - Declan Hodges, Phuse SDE
developing functions in {admiral} - Pooja Jumari, IASCT COnSPIC 2023


fix: ideStoryError

Remove IDESlideOverPanel browser console error from story
What did you change?
Added id to textinput and textarea components in story
How did you test and verify your work?
Ran up storybook

The textinput can be a self closing tag. And do you think we need to add some kind of prefix given that text-id is a somewhat generic id, just so we avoid conflicting ids in the future?

Deliberately making a minimal change as this is CDAI code.


Format hour using single "H" return two digits

Describe the bug
Format hour using single "H" return two digits.
To Reproduce
Add a minimal working example or, if not possible or available, any code which might help to reproduce the problem
import 'package:intl/intl.dart';

main() {
  final DateTime dt = DateTime(2011, 12, 12, 2);
  var formatter = DateFormat('H');
  var formatted = formatter.format(dt);
  print(formatted);

  formatter = DateFormat('yy-H');
  formatted = formatter.format(dt);
  print(formatted);

  formatter = DateFormat('h');
  formatted = formatter.format(dt);
  print(formatted);
  formatter = DateFormat('yy-h');
  formatted = formatter.format(dt);
  print(formatted);
}

output:
02
11-2
2
11-2

System info
from https://dartpad.dev/

The skeletons such as H are not meant to be of the same length as the output number, see the docs. You might want to look at https://pub.dev/documentation/convert/latest/convert/FixedDateTimeFormatter-class.html for fixed, locale-independent formatting.

@mosuem Thanks for the reply. I'm developing a locale-aware Excel number formatter, for example [$-484]mmmm dd yyyy  h:mm AM/PM -> Januar 01 2022  4:32 vorm.. and the single 'H' test case failed. I will comment out that one because it's likely an uncommon use case.
However the documentation is a little confusing because it shows H is number, and for number type, the count of pattern means the minimum number of digits. Even the example for H shows "0", not "00".


Run a better test in hoist's gate

Run the multinode test instead of echo-true in hoist's gate pipeline.
Signed-off-by: K Jonathan Harker<EMAIL_ADDRESS>

Starting gate_github jobs.


Add Installing Docker on WS2016 using DSC to Labs

As per suggestion from @ManoMarks , I would like to add a tutorial showing how to install Docker on Windows Server 2016 (Server or Server Core) using PowerShell DSC.
This is performed using a script on PowerShell Gallery.
The commands to execute are:
Install-Script -Name Install-DockerOnWS2016UsingDSC
Install-DockerOnWS2016UsingDSC.ps1

#82


Add liftAN to all applicatives

🚀 Feature request
Current Behavior
No liftAN.
Desired Behavior
All applicatives should export liftA2, liftA3, etc...
Suggested Solution
Why won't that work?
import * as O from 'fp-ts/Option'
import { sequenceT } from 'fp-ts/Apply'
import { tupled, pipe, FunctionN } from 'fp-ts/function'

const liftA2 = <A, B, C>(
  fabc: FunctionN<readonly [A, B], C>,
  aa: O.Option<A>,
  ab: O.Option<B>,
) => pipe(sequenceT(O.option)(aa, ab), O.map(tupled(fabc)))

const add = (a: number, b: number) => a + b

/** some(5) */
liftA2(add, O.some(2), O.some(3))

I hope there is a generic way to implement it to all applicatives, but even if not, it's useful to have it hard-coded in each module.

Hey @SRachamim
You can use the Apply instance for the Option type.
import * as O from 'fp-ts/Option'
import { pipe } from 'fp-ts/function'

const add: (a: number) => (b: number) => number = (a) = (b) => a + b

pipe(
  O.some(add(2)),
  O.ap(O.some(3))
)
// => { _tag: 'Some', value: 5 }

or alternatively if you are forced to work with a uncurried version of add:
const add: (a: number, b: number) => number = (a, b) => a + b

pipe(
  O.some(2),
  O.map((a) => (b: number) => add(a, b)),
  O.ap(O.some(3))
)
// => { _tag: 'Some', value: 5 }


Twilio node client as a peer dependency

What
I move Twilio node client to be used as a peer dependency adding @nestjs/common and @nestjs/core as well.
Why
Related to this issue #6

Looks good to me, thanks for the contribution 💯

@rejvban Could you create a release on npm with this changes? 🙏 Thanks in advance

@JacopoPatroclo v1.0.2 is live now


Updated Step-by-step

@jkellndorfer and @rsignell-usgs suggest these changes to the step-by-step instructions that worked for us (tested on AWS)

@jkellndorfer Thanks for the PR! I hate to see good work go to waste, but since you created this PR we added several automations to the CLI tool that made most of the existing step-by-step documentation obsolete. #179 Is where I re-wrote the guide.
Closing this out

great. I see some of the suggestions made it anyways. Good improvements. I suggest in a next iteration to get somwhat more info on a different cloud provider. Rather simple to use and would add more flexiblity.

On Nov 16, 2020, at 7:29 PM, Tyler<EMAIL_ADDRESS>wrote:
@jkellndorfer https://github.com/jkellndorfer Thanks for the PR! I hate to see good work go to waste, but since you created this PR we added several automations to the CLI tool that made most of the existing step-by-step documentation obsolete. #179 https://github.com/Quansight/qhub/pull/179 Is where I re-wrote the guide.
Closing this out
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Quansight/qhub/pull/155#issuecomment-728509023, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPXSEOPJSEHKVDRTSZHQY3SQG7X3ANCNFSM4TKE7RGQ.


Fix: Update sources url to libev 4.31 (old 4.27 sources were removed upstr…

…eam)
Description of package
Checklist

[x] Latest upstream version.
[x] I agree to maintain this package (required).
[x] I agree to notify KISS if I can no longer maintain this package (required).

looks done. thanks


Adding Cityflow module to gym

I am working on a small repository that adds Cityflow to OpenAI's gym RL library, and I am planning on open-sourcing it soon. I am starting with a very simple and minimal setting, and am hoping to expand it down the road. One of the reasons I want to open-source it is Cityflow is an amazing library leaps a head of SUMO, and yet not as many people are aware of it. By adding it to one of the most popular RL libraries, I am hoping more people would get easier access to Cityflow.
Would you guys be willing to help with this repository? I would really appreciate any feedback or contributions.
Thanks

@ThisIsIsaac
Thanks a lot for your comments and interest! We really appreciate it.
Just to make it clear, by "adds Cityflow to OpenAI's gym RL library", do you mean implementing a gym-compatible Env (implement step(), reset(), etc.) and open source it as a separate repo? If so, actually we are working on it recently, we plan to publish a repo just like openai/multiagent-particle-envs. which is a multi-agent Env with some predefined scenarios. In our case, we will provide several predefined roadnet and flow settings, as well as some state and reward calculation funtions. Also, we will provide baseline algorithms including traditional TSC methods and RL-based TSC methods.

Just to make it clear, by "adds Cityflow to OpenAI's gym RL library", do you mean implementing a gym-compatible Env (implement step(), reset(), etc.) and open source it as a separate repo?

yes

If so, actually we are working on it recently, we plan to publish a repo just like openai/multiagent-particle-envs

Wow, that is great to hear! When are you planning on releasing the environments and the models?

@ThisIsIsaac
Next week, stay tuned :smiley:

please check https://github.com/zhc134/tlc-baselines


0.5.2

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

Project coverage is 86.97%. Comparing base (b361b1c) to head (f913115).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   87.09%   86.97%   -0.13%
==========================================
  Files           7        7
  Lines         806      806
==========================================
- Hits          702      701       -1
- Misses        104      105       +1

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


Support Video Layer

[x] add video layer
[x] support video asset
[x] play, volume control
[x] support to play video in timline

Great to see that you're pushing hard to make it!
Thank you

I released v0.9.50

Minimal control function added. Only the starting point can be specified in the timeline. Please tell me if there is a function you need.

I'll try the video as soon as I can this week.
Thank you.

OK,  I squeezed in time for this great project.
Video is playing on Chrome and FF (webm, mp4). Matroska is not supported (mkv, would be useful, not sure if it's a browser problem).
The idea of adding the play time distance start and end in the timeline is wonderful!
Though, when linking it to the timeline, I noticed that the timeline play button is not related to the video play control: if you click pause in the timeline, it doesn't pause, it continues to play, beyond the limit in the timeline. Best would be to be able to move the play head in the timeline (and video plays and pause at the right time) to find cue points for svg.
Since the goal is to draw above video to animate SVG in sync (rotoscoping to get natural animations), it won't work as is.
More globally, as soon as you click on the timeline, it looses the focus of the selected layer. It's just a glitch, when you know it, you re-click on the layer. But it's confusing at first.
Hope it helps!
PS: I tried Sapa and really don't understand how it produces a result.
Would you please show me a quick example?

Let's create a sample that controls the video in the timeline.
It would be nice to see it and discuss it together.

I released v0.9.51 .
If you stop the timeline while the video is playing in the timeline, the video also stops. If you press Resume, playback starts from that point.

Hello Jinho (I hope I can call you Jinho, please let me know. I'm Phil BTW),
Now, the pause/play button works great!
Thank you very much for your work. being able to draw and animate SVG upon video is very useful and hardly seen in a web app.
About the video, and only if you want, I think it may need a little more work (timeline play head scrubbing working like style > video > play head scrubbing, fix timeline head scrubbing playing the video forward) but it's already very good enough to draw!
Oh, I notice that I don't know how to animate SVG points by themselves, for example:

How to animate only this (blue, selected) point, or a selection of points?

hi Phil  ( My name is Jinho. You can call me Jinho. )
Path can be animated on timeline.
This can be a little complicated, so I'll show you a video
I'll let you know when it's organized.

Basically, you can drive the path animation in the timeline.
However, if you move the points, the entire boundary changes, so the path is controlled in an unexpected way.
This seems to have to be fixed.

Thank you for your recording!
I don't really get how you record your changes on the timeline, the gif stops before it's t"weened" and played.
When I try to record the first point positions on the timeline, then move a point, I can double click on the timeline, but it doesn't seem to record the new position and the curve is in intermediate state, waiting for an action I guess:

Your helpers, handles and guides are wonderful.
I really hope I can animate a simple path points soon :)

I'm not sure I understand what M, C, Z, Q stand for in the values.
It seems, M is starting point. C seems to be handle position (absolute X,Y, not related to its point)
Q is for handles next to a point without handles (one handle section). Z is for open or closed.
Is it right?
What does M, C, Q, Z mean?
If point animation is not implemented yet (I'm not sure if I didn't get it or it's missing); may be adding the "diamond" near the point number near X,Y positions (as in red below) to add "diamonded" points to the timeline?
Adding the point number would greatly help as in too (green below). And if M is arbitrary, maybe change it to 1?

Sorry. I forgot the second video and didn't upload it.
Once you have only the path area, you can create animation.
You can ignore this because the value on the right side of the timeline is for a more detailed area.
Basically, only path editing can be used to divide the previous and subsequent settings.

path is treated as a single attribute value called d.
In other words, you can set values just like any other property.
After selecting a keyframe, you can update the data of the changed path through the refresh button.

However, there is a slightly ambiguous feature here.
When you edit points on a path, the value of the boundary surrounding the path changes.
In other words, the total values of x and y are changed. So, the value of the first set path starts from the wrong x, y.
I think we should reconsider this part again.

I released v0.9.52
The drawing area is fixed when editing the path. Since the coordinates of the path are modified within that area, the entire path will not move elsewhere when you insert the animation.

Great; thank you!
I used Firefox and Chromium on Ubuntu.


Add a way to differentiate tag searching from title searching

Describe your suggested feature
adding a way to differentiate tag searching from title searching (like adding a symbol first or something like that) would be a good addition.
a + sign for a tag to be included and a - sign for a tag to be excluded for example
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

Well differentiating them aside,
You can add a - before your query to exclude and just searching for multiple tags also works.
for example this is a valid query to search for 'comedy' and 'school life' excluding 'romance' comedy school life -romance

Well differentiating them aside, You can add a - before your query to exclude and just searching for multiple tags also works. for example this is a valid query to search for 'comedy' and 'school life' excluding 'romance' comedy school life -romance

I wasn't aware about this! ty

Quick note: It has been brought to my attention that you need to add a comma between each tag if you are on Mihon.
But some forks allow you to skip them.


Film-Searcher added

Title and Issue number

Close #3283

I have added the film-searcher app.Can it be merged now?
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

@MohitGupta121 Can it be merged now?


Your logo is gigantic

And also, where's the favicon?

what do you mean by the logo is gigantic @JacobEvelyn ?

@JacobEvelyn ready to close?

I'd rather keep this open since there are further optimizations to be made (eliminating white area, and reducing further once #64 merges).

I'm closing this since the logo seems small enough with no whitespace around and good to go... I don't think it's an issue anymore. That said, @JacobEvelyn feel free to send new PRs to further improve it if you want to.


Parsing date error

When i am adding timestamps (createdAt and updatedAt)  for  converting mongo to xl data , I am getting this error "Cannot read property 'SSF' of undefined". That error is coming only when I am adding timestamps. Can someone please help me out ?
timestamps in  mongo db :
"updatedAt" : ISODate("2016-11-24T05:50:28.240Z")
"createdAt" : ISODate("2016-11-22T16:23:46.127Z")

I am also facing problem when converting  xlsx file into mongo data. The date column of xlsx file is not getting parsed properly

@ashish-agarwal24 you must be sure that what you are passing to mongo-xlsx is a Date Object, otherwise it will throw an error (that happen to me some time ago)


Possible race-condition with identify() and logEvent()

Summary
We need to set user's segment with identify() and then immediately send entrance event with logEvent(). Sometimes at analytics.amplitude.com we see events without any segment at all. Looks like server-side handled identify and logEvent in inverse order, so event has no user properties associated with it.
How it can be avoided?
Is it possible to combine calls to identify() and logEvent() into one network request, as it works in AmplitudeNode?

Hi @krasnoperov thanks for submitting this question.
Yes, you can combine them in the same event payload to guarantee that they are processed together. You can do this by:
import { Identify, track } from '@amplitude/analytics-browser';

const identifyObj = new Identify().set('key', 'value');
const event = {
  event_type: 'my-event-type',
  user_properties: identifyObj.getUserProperties(),
};
track(event);

The identify class acts as a helper to build the user_properties field and track() or logEvent() accepts an event payload as argument (in addition to string for event_type).
An alternate solution is to use await on identify call before sending the track event. For example:
import { Identify, identify, track } from '@amplitude/analytics-browser';

const identifyObj = new Identify().set('key', 'value');
await identify(identifyObj).promise;
track('my-event-type'); // or `await track('my-event-type').promise;`

Thank you for your help! Both solutions are good for our case!


DEV-1319 ux solution verification 1

Basically:

Message for solutions is now identified withmessage-class
White background for all buttons.
Buttons text to bold. Use default main color.
Main color updated to  #0084ff

Closing this PR in favour of https://github.com/fredknowsit/jquery-expert/pull/28


Refactor submodues in extensions

Resolves #4408

@lspinheiro  i am closing this because the conflict is too much. Could you create a new PR for this?

@lspinheiro i am closing this because the conflict is too much. Could you create a new PR for this?

I will break down in multiple PRs if that is OK. SHould make it easier to avoid merge conflicts as new PRs will likely touch many of those files.


Amounts of comments and likes about publications

I have a question, would not it be better if the amount of comments and likes about the posts are in the posts table?

Hey !
I think both methods have pros and cons. With this little amount of data is not that irrelevant to calculate it because it's much simpler and the result is always good. But in a future, I could save counts in posts table and manage it with event listeners.


Issue #371: Use internal Npgsql logic to split/parse PostgreSQL sql scripts

There are issues, particularly for PostgreSQL and Oracle, with splitting SQL scripts into multiple statements, and execute one and one. This is discussed in e.g. https://www.roji.org/parameters-batching-and-sql-rewriting, with the conclusion that parsing SQL (including for splitting) is not a good idea to be done in SQL drivers (see especially https://github.com/npgsql/npgsql/issues/4445).
Following this, and given that splitting SQL scripts into multiple statements has not worked for anything other than SQL server up until grate v 1.5.0, we disable the SQL statement splitting feature for all other databases than SQL server for now.
Should anyone have good arguments against this, either in general, or for one particular database type, and can come up with a bullet-proof way of splitting the text into statements (preferably using the native sql driver's own apis), we can consider re-introducing support for splitting for particular databases.

If we leave out splitting altogether for PostgreSQL, we cannot have files with more than one statement. That is an inconvenience, as it's very common to drop something if it exists, and then recreate it, etc.
Example:
DROP INDEX IF EXISTS IX_column1 CASCADE;
CREATE INDEX CONCURRENTLY IX_column1 ON public.table1
USING btree
(
	column1
);

SO, I made an effort to use internal, not-recommended Npgsql logic to perform the splitting into several statements. We use the SqlQueryParser from the Npgsql nuget package, which has a lot of internal members, so we need to call it using reflection.
https://github.com/npgsql/npgsql/blob/main/src/Npgsql/SqlQueryParser.cs
We basically do similar to what the unit test does, here, just using reflection:
https://github.com/npgsql/npgsql/blob/main/test/Npgsql.Tests/SqlQueryParserTests.cs#L171
It's not beautiful, it's brittle, and sensitive to changes in the internal implementation of Npgsql. But it works, for now.

Fixes #371


Add support for control modules (standalone and mobile)

So for the time being I think I'll only support the old input module from Unity.
I think the idea is that when the input is retrieved on the main thread - the button should be flagged with a state and the system should only enact on a structural change - so possibly this would be a bit flag.
Generally, both standalone builds and mobile should be registered.

Added separate assembly definition for standalone and mobile. Both compile to editor for intellisense options in the IDE. Feature is currently on the develop branch.


New command: viva engage community add

Usage
m365 viva engage community add [options]
Description
Creates a new community in Viva Engage
Options

Option
Description

--displayName <displayName>
The name of the community. The maximum length is 255 characters.

--description <description>
The description of the community. The maximum length is 1024 characters.

--privacy <privacy>
Defines the privacy level of the community. The possible values are: public, and private.

--adminEntraIds [ownerEntraIds]
Comma-separated list of Microsoft Entra IDs, assigning admin privileges to the designated individuals. Required when using application permissions. Specify either adminEntraIds or adminEntraUserNames, but not both.

--adminEntraUserNames [adminEntraUserNames]
Comma-separated list of Microsoft Entra UPNs, assigning admin privileges to the designated individuals. Required when using application permissions. Specify either adminEntraIds or adminEntraUserNames, but not both.

--wait
Wait for the operation to finish.

Examples
Create a public community and wait for the community to be created
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy public --wait

Create a private community
m365 viva engage community add --displayName "Software engineers" --description "A community for all software engineers" --privacy private

Default properties
No response
Additional Info
API
https://learn.microsoft.com/en-us/graph/api/employeeexperience-post-communities?view=graph-rest-beta&tabs=http
The API returns a URL which you can poll to check the status of the community.
I suggest that without the --wait flag we just return nothing. When --wait is specified, we return the community object on completion.
Without --wait:
https://graph.microsoft.com/beta/employeeExperience/engagementAsyncOperations('3a6fdce1-c261-48bc-89de-1cfef658c0d5')

With --wait:
{
    "id": "eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI0Mjg1NzkwNjE3NyJ9",
    "displayName": "Financial Advice for Software Engineers",
    "description": "A community where financial advisors who represent customers from software engineering profession can discuss advice and suggestions for their clients.",
    "privacy": "public",
    "groupId": "36c434cc-7d12-4280-9849-08da93548c7c"
}

Remarks to be included in docs

Warning that API is in beta and is subject to change
It is limited to networks in Native mode only – legacy and external Yammer networks will not be able to use this API for community creation.
Creating a community will create a linked Microsoft 365 unified group as well.

I suggest that without wait we print the polling URL to console, just like we do for the external connection schema add command, in case folks want to poll manually.
For privacy, could we consider a reasonable default or should user always explicitly specify if they want a public or private community?

I suggest that without wait we print the polling URL to console, just like we do for the external connection schema add command, in case folks want to poll manually.

Ok, updated the specs.

For privacy, could we consider a reasonable default or should user always explicitly specify if they want a public or private community?

The API has no default value, you must provide one. I don't know which of the values we could consider default.

The challenge for this (and the get) command is that we currently have yammer group commands which are not compatible with these new graph community commands. In my opinion, we should move all yammer group commands to viva engage community, and somehow try to make them compatible with each other however few commands use graph API and others use the yammer API.

I haven't compared the Yammer and Graph APIs so can't tell with certainty, but my gut feeling tells me that the data returned will be incompatible and we won't be able to move from Yammer to Graph APIs without introducing breaking changes.

I haven't compared the Yammer and Graph APIs so can't tell with certainty, but my gut feeling tells me that the data returned will be incompatible and we won't be able to move from Yammer to Graph APIs without introducing breaking changes.

Yes indeed, as discussed before, we'll just leave the group commands untouched and just introduce 2 new community commands.

Yes indeed, as discussed before, we'll just leave the group commands untouched and just introduce 2 new community commands.

Thats a bit of a bummer but in the end I agree this is the best we may do for now to keep moving forward and we should consider 'refactoring' the existing yammer group to Graph API for v8 (till end of year). We should create a separate issue for that.
other than that LGTM and lets open this one up 👍

Thats a bit of a bummer but in the end I agree this is the best we may do for now to keep moving forward and we should consider 'refactoring' the existing yammer group to Graph API for v8 (till end of year).

Not necessarily. We have other areas where we've got similar commands on Graph and SPO. As long as there's no parity, I think it's good to offer options as long as it's clear when to use which one.

Can I work on it?

Sure @Saurabh7019, thanks!


split error

First of all, thank you very much for your open source spirit, good work！
Since I only use pytorch and not caffe framework, and I only want to use RGB frame for experiments and do not want to generate optical flow, I wrote a new file to generate list.txt. However, I suspect there are some mistakes.

My split. txt data format is：
/home/dpc/3D-ResNets-PyTorch-master/data/test_jpg/ApplyEyeMakeup/v_ApplyEyeMakeup_g08_c01.avi 121 0
/home/dpc/3D-ResNets-PyTorch-master/data/test_jpg/ApplyEyeMakeup/v_ApplyEyeMakeup_g08_c02.avi 118 0
/home/dpc/3D-ResNets-PyTorch-master/data/test_jpg/ApplyEyeMakeup/v_ApplyEyeMakeup_g08_c03.avi 147 0
......
My RGB frame directory format is：
ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c01.avi/img_00001.jpg
ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c01.avi/img_00002.jpg
ApplyEyeMakeup/v_ApplyEyeMakeup_g01_c01.avi/img_00003.jpg
......
Can you help me to see what's wrong? thank you！：）

hi @ys-dpc did u find the solution to this ?


Bring new Data binding and theme system to OSS

Investigate bring internal MSFT data binding code to this OOS project
Related PR: https://github.com/microsoft/MixedRealityToolkit-Unity/pull/11387/files

@AMollis  got ok from the original code team to open source this code.  Needs review before publishing.

Maintainers need to decide what to do with old data binding package.

AMollis is currently evaluating the new data binding package.  Not clear if we should release it.
Context: Current pre-release package relies too much on string in type names, and is not really performant.

One feature for a theming system that we may want to adopt is that the theme could be viewed directly in editor without needing to wait until runtime. E.g. how the localization system works, or as a static "apply theme ABC to current scene", etc.


PP-5534 Update internal states

Replace EXPIRED with USER_SETUP_EXPIRED
Remove conditions and tests for PENDING and USER_CANCEL_NOT_ELIGBLE as
the internal states no longer exists.
Renamed SUBMITTED to SUBMITTED_TO_PROVIDER and added new internal
state of SUBMITTED_TO_BANK with tests.
Align heading and message for ACTIVE with submitted statuses.

We seem to have lost the error message for USER_SETUP_CANCELLED I think we should show what we have for USER_CANCEL_NOT_ELIGIBLE before?

We seem to have lost the error message for USER_SETUP_CANCELLED I think we should show what we have for USER_CANCEL_NOT_ELIGIBLE before?

Sure will do, good suggestion!


fix: Remove CleanPath function, which is causing errors on Windows machines (fixes #151)

Proposed change

Remove the CleanPath function, which causes errors for Windows users on Nvim 0.7.0 and Nvim 0.7.2.
Update README.md accordingly to ensure usability. Noted that ~/zettelkasten syntax also works as expected.
There is no need to update doc/telekasten.txt helpfile, as instructions are still applicable to the plugin.
Type of change

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (thank you!)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update

Additional information

This PR fixes or closes issue: fixes #151
This PR is related to issue: #151

Checklist

[x] I am running the latest version of the plugin.
[x] The code change is tested and works locally.
[x] There is no commented out code in this PR.
[x] The code has been formatted using Stylua (a .stylua.toml file is provided)
[x] The code has been checked with luacheck (a .luacheckrc file is provided)
[x] The README.md has been updated according to this change.
[ ] The doc/telekasten.txt helpfile has been updated according to this change.

Seems that stylua is not passing. Could you fix that using the config given in .stylua.toml at the root of the repo? If for some reason stylua does not work on windows, I can patch the formatting after merge.

I could not reproduce issue #71. I tried setting the home folder using both init.lua and init.vim, and both worked. Even setting home as "C:\Users\myname\zettelkasten" worked; what does not work is writing it with just a single backslash (i.e. "") as you need to escape the character for Lua to understand it. Is there a chance that Nvim improved the vim.fn.expand() function, fixing the original issue?
Regarding stylua, I ran the code formatter using ALE and the terminal, and it did not suggest any changes to the submitted file. Analyzing the output of the failed test, it is flagging changes to lines that I am not sure you want to change (e.g. merging line 740 with 741, 2245 with 2246 and 2247, etc.) and suggesting to replace some code blocks with exact copies (e.g. lines 2786-2793). Note that these are lines that I did not change, so I would not expect formatting errors on them. Thus, if you could please patch the formatting after the merge, it might reduce the chance of breaking the intended code formatting.

Thanks for this contribution! I am not sure this is the right fix,
though. As you mentioned yourself, C:\\my\\path seems to work.
Wouldn't the better fix then be to replace single \ by \\?
That way we wouldn't use the drive letter. I assume, telescope will
always use the disk that the nvim command is executed on. So if you
start it from a console and enter D: [ENTER], then start neovim, it
would search for absolute paths on the D drive.
Oftentimes, people have D: drives (or other drives than C:) for
data, so that C: remains the 'system' drive.
There is a SUBST command under DOS that still works. You can use it to
define arbitrary drives for testing:
subst command

C:\\my\\path only works after removing the CleanPath function - but not with the current code. Not using double backslash was likely why the user that opened issue #71 could not get Telekasten to work (note that they wrote C:\Users\...\zettelkasten on their bug report, using single backslash). Keeping the code prevents a portable configuration between operating systems - preventing the usage of ~/zettelkaten as the home folder - and results in the reported errors that prevent the plugin usage on Windows.
The proposed solution allows users to hardcode the C:\ drive or another drive letter in their home folder or to use the relative path ~. Note this approach works for plugins as well. For example, one can set the path to vimwiki using ~ on Windows without difficulties.
However, if there is a better alternative that fixes the current error (allowing Telekasten usage on Windows), let's go for it; just ignore the proposed pull request. Looking forward to the solution.

I just realized that, according to https://github.com/renerocksai/telekasten.nvim/issues/71#issuecomment-1136991110,  the CleanPathfunction was already not really useful a few months ago...
Just to be sure (as I can not test it myself), with this PR, is it possible for a user to write:

[ ] C:\\my\\path
[ ] D:\\my\\other\\path
[ ] C:/my/path
[ ] D:/my/other/path
[ ] ~/my/path

If all these are good, I don't see an issue with merging this.

That is correct. All these alternatives will work:

[x] C:\\my\\path
[x] D:\\my\\other\\path
[x] C:/my/path
[x] D:/my/other/path
[x] ~/my/path

What will not work is /Users/myuser/zettelkasten on Windows (as the root directory in Windows is not called \), but /home/myuser/zettelkasten will work on Linux.
For the documentation, the ~/zettelkasten will work on Unix-like systems and Windows, but if you want something that is Windows-specific, C:\\Users\\youruser\\zettelkasten or C:/Users/youruser/zettelkasten are good alternatives.
I hope this helps.
Thank you very much for the timely and helpful support. This plugin is fantastic and developing well. I believe it not only provides an invaluable tool for people that uses a Zettelkasten, but might also become the go-to alternative in Lua to replace VimWiki - we only need to implement a home directory switcher that works as a selector for the desired "wiki".

@renerocksai , do you have any reason not to merge this? It seems to allow all possible path types for windows-specific users, while allowing them to refer to other disks than C:as well. I don't think it should break anyone's config either.

I must have misunderstood a bunch here. I was of the impression that drive letters would be problematic with this PR.
Thanks for pointing it out so clearly now - and your patience :+1:

I should have checked the PR. You committed your README, which makes sense, but not in the PR.

Having said all that, what probably didn't get through between the lines:
THANK YOU FOR YOUR CONTRIBUTION!
It is especially valuable as it's really hard for me to test things out on Windows.  I am happy this worked out. 😄
Thank you for putting together this awesome plugin, and feel free to reach me if you need further assistance in testing it on cross-platform environments.


Security warning<EMAIL_ADDRESS>Update tiny-lr

Prototype Override Protection Bypass SEVERITY: HIGH
Discovered in a nested dependency: grunt-contrib-watch@1.0.0tiny-lr<EMAIL_ADDRESS>https://snyk.io/vuln/npm:qs:20170213?utm_source=bithound
Prototype Override Protection Bypass SEVERITY: HIGH
Discovered in a nested dependency: grunt-contrib-watch@1.0.0tiny-lr@0.2.1body-parser<EMAIL_ADDRESS>https://snyk.io/vuln/npm:qs:20170213?utm_source=bithound
Regular Expression Denial of Service (ReDoS) SEVERITY: LOW
Discovered in a nested dependency: grunt-contrib-watch@1.0.0tiny-lr@0.2.1debug<EMAIL_ADDRESS>https://snyk.io/vuln/npm:ms:20170412?utm_source=bithound
Security warnings are present in many packages used by tiny-lr, please update to a secure version.

@shama would it be possible for you to do an update to resolve this security issue? It's rated high severity.

Fixed with https://github.com/gruntjs/grunt-contrib-watch/pull/543 thanks!


csv export options need to be HashWithIndifferentAccess

a correction for this bug.
https://github.com/sferik/rails_admin/issues/2740

Test code needed.

Can be merged when rubocop offenses are resolved.
https://travis-ci.org/sferik/rails_admin/jobs/174276072#L425-L430

done.

Thank you!


Con 2768 favorites toggle on list v2

Coverage remained the same at 33.072% when pulling 171e14b77d5e5fcd9bbc7b3e035f98570d228229 on CON-2768-favorites-toggle-on-list-v2 into c6baa38e9fae5f4dbdfd389eac3d1651d6698e4d on master.


Mauro oto/comprehensive guide to imap interaction with ruby

Hey @etagwerker,
This is a blog post which sort of condenses our experience with IMAP.
Please check it out, thanks!

@mauro-oto Great! Please update the date in the post and update the PR so that I can merge it.

@etagwerker done!


AIMBOT IS BROKEN FOR ME

When I aim at enemy its turns me into wrong angle....sometimes its doing also when I have aimbot turn off

Everything's working fine.

Everything's working fine.

You saying its "working"? watch this video
https://youtu.be/13gp_QyLE14


fix: solvable intermediate gates for csat

Description
Problem*
The width reduction creates intermediate variables from an expression. However, if an unknown variable is used for the intermediate one, from the expression, the intermediate is also unknown. In that case the csat generates an arithmetic gate with 2 unknowns and it cannot be resolved in one step.
Resolves
Summary*
We only use 'known' witnesses when generating intermediate variables.
To do this, we track the 'known' witness in a map, after each opcode that the transformation pass processes.
Additional Context

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I think we should track this on the Circuit struct as a "required witnesses to begin execution" field.

I thought a bit more about this and decided that we should instead track the private inputs to the circuit rather than the full set of witnesses required to start execution. We can then calculate this from private+public parameters.


Benchmark results never gets reported

$ glasgow run benchmark source
I: g.device.hardware: device already has bitstream ID e00c76bf7d43e9c1b138500bf7df1a1f
I: g.cli: running handler for applet 'benchmark'
I: g.applet.internal.benchmark: running benchmark mode source for 8.000 MiB

I've traced the issue to iface.read never continuing and bisected the breaking patch to a7d041f4ca5805a136acc8a99689833dedefd9d5.

Looks like that commit can be cleanly reverted, and after that everything does work as supposed to.
$ glasgow run benchmark
I: g.device.hardware: device already has bitstream ID e00c76bf7d43e9c1b138500bf7df1a1f
I: g.cli: running handler for applet 'benchmark'
I: g.applet.internal.benchmark: running benchmark mode source for 8.000 MiB
I: g.applet.internal.benchmark: mode source: 25.11 MiB/s (200.85 Mb/s)

The following patch solves the issue.
diff --git a/software/glasgow/support/task_queue.py b/software/glasgow/support/task_queue.py
index 25cda9f..cb87c0c 100644
--- a/software/glasgow/support/task_queue.py
+++ b/software/glasgow/support/task_queue.py
@@ -21,7 +21,8 @@ class TaskQueue:

     def _callback(self, future):
         self._live.remove(future)
-        self._done.append(future)
+        if not future.cancelled():
+            self._done.append(future)

     def submit(self, coro):
         """

I miss the background behind this change, @whitequark could you clarify?

The background for the change is described in the commit message. Whether your patch is correct or not, I can't say offhand because asyncio cancellation semantics is annoyingly tricky.


AMBARI-24352 Updating Ranger and Ranger KMS configs during Ambari upgrade (mugdha)

What changes were proposed in this pull request?
For Ranger
Updating Ranger Admin to use ranger.logs.base.dir/ranger-admin-site.xml and Ranger Usersync to use ranger.usersync.logdir/ranger-ugsync-site.xml configs for specifying log directory path.
Removing old log directory configs ranger_admin_log_dir, ranger_usersync_log_dir from ranger-env.xml.
User having cluster with stack 2.6 or 3.0 will start using the updated configs after Ambari upgrade.
For Ranger KMS
Adding new config ranger_kms_privelege_user_jdbc_url/kms-env.xml to have Test Connection button for verify communication to selected database using database root credentials.
How was this patch tested?
Verified unit tests and upgraded ambari-server manually.
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3286/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3290/
Test FAILed.
Test FAILured.

@jonathan-hurley ,
The old log configs ranger_admin_log_dir, ranger_usersync_log_dir in ranger-env.xml when updated don't give restart indicator on Ranger service. ranger-env is not added as configuration-dependencies in metainfo.xml for Ranger service ( which is not required as well ).
Ambari-2.7.1 with stack 3.0 should use the updated log configs. For an existing cluster with Ambari-2.7.0, will also need to use the updated configs after performing an upgrade to Ambari-2.7.1.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3298/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3310/
Test PASSed.


[Support] Using NextDNS with PiVPN WireGuard

In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}

[X] I have read the documentation
[X] I have read and understood the contributors guide.
[X] The issue I am reporting can be replicated.
[X] The issue I am reporting can be is directly related to the pivpn installer script.

Have you searched for similar issues and solutions?
I tried searching for anything like my issue but I can't find anything that works.

Has your install failed?
no

Please provide your system information
What type of hardware are you running PiVPN at?

Oracle Cloud Instance

Output of uname -a
Linux instance-20220131-0012 5.13.0-1018-oracle #22~20.04.1-Ubuntu SMP Wed Feb 16 09:28:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Output of cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.4 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.4 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Issue

I want to make it so that clients that connect to the WireGuard VPN will be using NextDNS by default. NextDNS is installed and works with the custom configuration I set, the hostname shows up in the NextDNS control panel logs. However, the DNS does not seem to be working for the client whenever I use NextDNS.

Console output of      pivpn add or pivpn add nopass
::: Client Keys generated
::: Client config generated
::: Updated server config
::: WireGuard reloaded
======================================================================
::: Done! test.conf successfully created!
::: test.conf was copied to /home/ubuntu/configs for easy transfer.
::: Please use this profile only on one device and create additional
::: profiles for other devices. You can also use pivpn -qr
::: to generate a QR Code you can scan with the mobile app.
======================================================================

Console output of      pivpn debug

::: Generating Debug Output
::::            PiVPN debug              ::::
=============================================
::::            Latest commit            ::::
Branch: master
Commit: f80b0a7962d91862132c0a4abd65c1e67bd37bd7
Author: 4s3ti
Date: Fri Dec 3 21:41:13 2021 +0100
Summary: Update Changelog
=============================================
::::        Installation settings        ::::
PLAT=Ubuntu
OSCN=focal
USING_UFW=0
IPv4dev=ens3
install_user=ubuntu
install_home=/home/ubuntu
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
pivpnPROTO=udp
pivpnMTU=1420
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
ALLOWED_IPS="<IP_ADDRESS>/0, ::0/0"
UNATTUPG=1
INSTALLED_PACKAGES=()
=============================================
::::  Server configuration shown below   ::::
[Interface]
PrivateKey = server_priv
Address = <IP_ADDRESS>/24
MTU = 1420
ListenPort = 51820
### begin test ###
[Peer]
PublicKey = test_pub
PresharedKey = test_psk
AllowedIPs = <IP_ADDRESS>/32
### end test ###
=============================================
::::  Client configuration shown below   ::::
[Interface]
PrivateKey = test_priv
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS>

[Peer]
PublicKey = server_pub
PresharedKey = test_psk
Endpoint = REDACTED:51820
AllowedIPs = <IP_ADDRESS>/0, ::0/0
=============================================
::::    Recursive list of files in       ::::
::::    /etc/wireguard shown below       ::::
/etc/wireguard:
configs
keys
wg-gen-python
wg0.conf

/etc/wireguard/configs:
clients.txt
test.conf

/etc/wireguard/keys:
server_priv
server_pub
test_priv
test_psk
test_pub

/etc/wireguard/wg-gen-python:
README.md
data.json
wg-gen.py
wgclient_2.conf
wgclient_3.conf
wgclient_4.conf
wghub.conf
=============================================
::::            Self check               ::::
:: [OK] IP forwarding is enabled
:: [OK] Iptables MASQUERADE rule set
:: [OK] Iptables INPUT rule set
:: [OK] Iptables FORWARD rule set
:: [OK] WireGuard is running
:: [OK] WireGuard is enabled (it will automatically start on reboot)
:: [OK] WireGuard is listening on port 51820/udp
=============================================
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://docs.pivpn.io/faq
=============================================
:::: WARNING: This script should have automatically masked sensitive       ::::
:::: information, however, still make sure that PrivateKey, PublicKey      ::::
:::: and PresharedKey are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this:                  ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe                          ::::
=============================================
::::            Debug complete           ::::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.log
:::

Have you taken any steps towards solving your issue?
I have tried changing the DNS server IP on WireGuard.

thanks for reaching out... moving to discussions.


Refactor RetrieveChat

Why are these changes needed?
Refactor RetrieveChat to unify vector db related APIs and make it easier to plug in new vector dbs.
This PR is based off PR #619. We merged PR #619 into the branch "refactor_rag" instead of "main" because @AyushExel doesn't have time to continue working on it, and there are still some issues that need to be resolved in that PR.
Related issue number

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.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
Attention: 327 lines in your changes are missing coverage. Please review.

Comparison is base (e18dc33) 26.63% compared to head (a2f4461) 18.87%.

Files
Patch %
Lines

...ogen/agentchat/contrib/retriever/retrieve_utils.py
0.00%
146 Missing :warning:

autogen/agentchat/contrib/retriever/lancedb.py
0.00%
63 Missing :warning:

autogen/agentchat/contrib/retriever/chromadb.py
0.00%
41 Missing :warning:

...gen/agentchat/contrib/retrieve_user_proxy_agent.py
0.00%
40 Missing :warning:

autogen/agentchat/contrib/retriever/base.py
0.00%
32 Missing :warning:

autogen/retrieve_utils.py
0.00%
3 Missing :warning:

...ntchat/contrib/qdrant_retrieve_user_proxy_agent.py
0.00%
1 Missing :warning:

autogen/agentchat/contrib/retriever/__init__.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #967      +/-   ##
==========================================
- Coverage   26.63%   18.87%   -7.76%
==========================================
  Files          28       33       +5
  Lines        3777     3920     +143
  Branches      858      931      +73
==========================================
- Hits         1006      740     -266
- Misses       2700     3073     +373
- Partials       71      107      +36

Flag
Coverage Δ

unittests
18.82% <0.00%> (-7.76%)
:arrow_down:

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

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

@thinkall is there a target date to resolve the remaining issues in PR #619 ?

@thinkall is there a target date to resolve the remaining issues in PR #619 ?

#619 is closed.

Check out #1727


hideFirstDivider(); changeDividerColor(int postion,int color);

Description

Hide the first line-->hideFirstDivider();
Change the color of the line-->changeDividerColor(int postion,int color);
Motivation

You can already achieve that result using VisibilityManager and DrawableManager:

If you have other doubts, don't hesitate to re-open the issue.


PushnotificationIOS.requestPermissions Not working If user choose "Dont Allow" first time.

Using RN 0.31
PushNotificationIOS.requestPermissions().then(permission => { });
working for the first time.
explaining the scenario and issue facing,

When user clicks "allow" for the request my
PushNotificationIOS.addEventListener('register', (token) => { });

listener gets called and i am able to receive token,
But if the user clicks "Dont Allow" in the promise iam receive the permission object with correct values as {alert:0,badge:0,sound:0} But this time my register event never gets fired , so no token. incase if the user turns on notification in the settings I would like to receive token again. for that i tried PushNotificationIOS.requestPermissions().then(permission => { }); but its never getting called and not able to generate token again.
so finally it seems
PushNotificationIOS.requestPermissions().then(permission => { });
works only for the first time, second time its not opening the request popup.
Thanks in Advance

If I am understanding correctly then this is actually expected behavior for iOS. If a user denies permissions then anytime you ask for permission it simply tells your app that it has been denied without prompting the user. Otherwise it would become annoying to the end user. If the user then allows your app to have the permission (be it push or geolocation or any others) the next time you call requestPermissions it should resolve automatically with a token.

Yeah. This is how iOS works, closing.

Thanks @rmevans9  @ide :
I have been trying to generate token , if user chooses to "Diss Allow" notification initially and afterwards if he chooses to switch it on , from to settings.
As You said i understand it will be annoying if he app keep on throwing pop up even after user rejects.
So I could see the   PushNotificationIOS.requestPermissions().then(permission => { }); resolves the permission with out a pop up and gives the permission object.
I dont need that pop up to annoy user, Issue iam facing is.
If user disallows notification initially token registration is happening.
I dont know why , From this link what i could infer is ,
even if user diss allow we must receive token. if so the problem will be solved. I can use that token afterwards, when user switch on notification.
In my case since no token there i was expecting to get when user toggles the settings. But there
if  use
PushNotificationIOS.requestPermissions().then(permission => { });
it resolves internally and throws '1' as permission enabled but not able to register for push notification, so that no token.
Please tell me if I am doing something wrong.
Thank You very much.

Solved the issue.
After putting my register event listener inside constructor it works.
Sorry Team. Was my ignorance
thank you

Super strange but in order for PushNotificationIOS.requestPermissions() to resolve the Promise, you need to add an event listener, like this:
PushNotificationIOS.addEventListener('register', (token) => {});

What's even more interesting is that it doesn't even have to be the 'register' event, it could be 'notification' or 'localNotification' as well and they all work.
So this is what I ended up using anywhere I needed to get and handle the requestPermissions() Promise resolve:
componentWillMount() {
  // NOTE: You absolutely need this for requestPermissions() promise to resolve.
  PushNotificationIOS.addEventListener('register', (token) => {});
}

componentWillUnmount() {
  PushNotificationIOS.removeEventListener('register', (token) => {});
}

Is this expected behaviour?

@joshuapinter thank you, saved me so much time. I had the addEventListener inside the callbacks or requestPermissions and could never get any to activate. You saved me a night of no sleep. Appreciate it.

@petersuwara Man, they still haven't fixed this yet? What version of React Native are you using?

@joshuapinter, my issue was slightly different.
Overall, I just think they haven't communicated best practices and clear examples. It is open source beta after all.
Don't understand the hype. After using it for 3 months and releasing an app. I'm going back to the safety and surety of a less painful experience with Native swift on iOS.

@petersuwara If you do any Android development, you'll completely understand the hype of not having to code interfaces in .xml. :)

@joshuapinter, well yeah I haven't had the pleasure. But CSS JSX tags aren't too far off. :)
The safety and comfort of Swift and iOS, if only it was a ubiquitous experience... ;)


Remember if in edit or preview mode too

Hi, this is a great plugin - thanks! Could it be extended to remember if I was in edit or preview mode when last in the note, then restore the previous mode for the note?

Hi, I'll think about it.

Any further thoughts on this? I am new to Obsidian but perhaps I can help somehow. In getEphemeralState does this.app.workspace.getActiveViewOfType(MarkdownView)?.currentMode? refer to the edit/preview mode?

Haven't found a way to do this yet.

If you let me know what the blocking point is I could try to do some research for you. Can you read the current state?

You can try to console.log(this.app) and try to find the function to read and set current mode

app.workspace.activeLeaf.view.getMode()
app.workspace.activeLeaf.view.previewButtonEl.click()
app.workspace.activeLeaf.view.editButtonEl.click()
That is probably not the right way to set the mode. But it does work

I think, it might work. Do you have the opportunity to try to add this functionality? You need to add the "mode" field to the interface EphemeralState (line 14), get it in the function getEphemeralState (line 212) and restore it in the setEphemeralState (line 239). Next you can make this function optional (add option to settings).

I don't know the development flow etc. It would be quite a lot of time to understand all that. I can buy you a coffee ;)

I will try to find the time


add vanilla ndjson to search endpoint

Add an ndjson writer path to the search endpoint that is used when the format in the API request is "ndjson".  The client currently requests "zjson" so this won't break anything.
Change the response mime type for in the current zjson responder to be application/x-szjson (i.e,. steaming zjson).
Given the clean design of zqd/search, this task should be trivial by following the pattern of the zng responder using an ndjsonio.Writer and dropping control messages.

Verified in zqd commit 4bce00d.
If a user just wants to see NDJSON output, they now have two ways to functionally arrive at that, the latter being the new one:
$ zapi -s foo get -f ndjson > /tmp/f.ndjson
$ zapi -s foo get -e ndjson > /tmp/e.ndjson

$ ls -al /tmp/*.ndjson
-rw-r--r--  1 phil  wheel  5468027 Sep 17 09:15 /tmp/e.ndjson
-rw-r--r--  1 phil  wheel  5468027 Sep 17 09:15 /tmp/f.ndjson

$ diff /tmp/e.ndjson /tmp/f.ndjson
$ echo $?
0

The difference is that for -f ndjson, the response comes back from zqd as ZNG and it's up to the client to format it (into NDJSON in this case). As sniffed on the wire, the response begins:
Content-Type: application/x-zng
X-Request-Id: 6
Date: Thu, 17 Sep 2020 16:02:08 GMT
Transfer-Encoding: chunked
...

For -e ndjson, the response comes back from the server already rendered as NDJSON.
Content-Type: application/x-ndjson
X-Request-Id: 4
Date: Thu, 17 Sep 2020 16:00:59 GMT
Transfer-Encoding: chunked

800
{"_path":"stats","active_dns_requests":0,"active_files":0,"active_icmp_conns":1,"active_tcp_conns":3,"active_timers":197,"active_udp_conns":8,"bytes_recv":1185720,"dns_requests":0,"events_proc":6654,"events_queued":6648,"files":154,"icmp_conns":1,"mem":117,"peer":"bro","pkt_lag":null,"pkts_dropped":null,"pkts_link":null,"pkts_proc":3185,"reassem_file_size":0,"reassem_frag_size":0,"reassem_tcp_size":0,"reassem_unknown_size":0,"tcp_conns":156,"timers":2661,"ts":"1428917544.44639","udp_conns":98}
...

As explained by @mccanne, this (along with the similar CSV response recently added) could allow users to make REST calls to zqd with everyday tooling (curl, Python, etc.) and start immediately processing the response as opposed to getting back ZNG or zjson and not knowing what to do with it or having to use a tool like zapi to convert it.
Thanks @mccanne!


Card not snapping back to hand when released if I do absolutely no movement with mouse

If I release the card but do absolutely no movement with my mouse after, since it receives no input, the card stays released even where it shouldn't, and it only snaps back to hand once I touch my mouse so that it moves. I believe the reason for this is that it goes back to BASE state in this:
func on_input(_event: InputEvent) -> void:
if played:
return
transition_requested.emit(self, CardState.State.BASE)

So if I let go of the left click but don't move at all my mouse, the card stays where I left it. Only once I touch the mouse, it goes back to the hand as intended.

Hi Adam, thanks for getting back to me.
I'm using a MacOS Sonoma 14.5.
Whenever I have some time off I will try to check again if I did something
wrong, but as far as I recall I followed this part exactly as in the video.
On Tue, Jun 25, 2024 at 9:34 AM Adam Gulacsi @.***>
wrote:

Hey, what operating system you're using? I can't reproduce this on
Windows. When I release it, no matter what I do, it goes back to the base
state.
—
Reply to this email directly, view it on GitHub
https://github.com/guladam/deck_builder_tutorial/issues/11#issuecomment-2188189387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGM52LT4J3MSL65XIPJ5L2DZJEMQ5AVCNFSM6AAAAABIVF5VYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGE4DSMZYG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

It probably has to do something with how different OSes handle input a bit differently. I don't have a Mac, but I'll try to reproduce it on Linux. Thanks for your input!

Thanks a lot for putting the time. Awesome tutorial, hope to have my game
ready and actually release in a couple years, this tutorial helped me a lot.
Just saw the vote for the next series, can't believe tower defense is gonna
win. You HAVE to make an autobattler one 😭 jokes aside, anything will be
valuable content, keep it up and looking forward!
On Tue, Jun 25, 2024, 09:53 Adam Gulacsi @.***> wrote:

It probably has to do something with how different OSes handle input a bit
differently. I don't have a Mac, but I'll try to reproduce it on Linux.
Thanks for your input!
—
Reply to this email directly, view it on GitHub
https://github.com/guladam/deck_builder_tutorial/issues/11#issuecomment-2188223727,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGM52LTLCER356R2VYMAFHDZJEOZLAVCNFSM6AAAAABIVF5VYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGIZDGNZSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I was able to reproduce it on Linux!
Working on a fix right now. :)
Would love to play your game one day, good luck with creating it.
Even if the TD game wins, I can do the autobattler next 👀

Awesome! Thank you very much!
On Tue, Jun 25, 2024 at 11:41 AM Adam Gulacsi @.***>
wrote:

Closed #11 https://github.com/guladam/deck_builder_tutorial/issues/11
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/guladam/deck_builder_tutorial/issues/11#event-13278350199,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGM52LRUPVQHIBRZFFKOSHTZJE3MFAVCNFSM6AAAAABIVF5VYWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGI3TQMZVGAYTSOI
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Just a quick comment, for it to work in my case, where I reparent the card after playing because I snap it to a position on the board (unlike StS where the card vanishes) I had to keep if played: return also in post_enter().

Great! Thanks for sharing.


question: TypeError: Cannot create property 'title' on boolean 'true'

I did not had bug, just got it now (tried old and latest version of generator):
/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/utils/schemas.js:72
                Types[typ].definitions[key].title = key;
                                                  ^

TypeError: Cannot create property 'title' on boolean 'true'
    at findAndParseTypes (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/utils/schemas.js:72:51)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async TypesPlugin.doRender (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/plugins/types.js:46:26)
    at async TypesPlugin.render (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/plugins/plugin-base.js:56:25)
    at async TSBuilder.render (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/builder/builder.js:114:25)
    at async TSBuilder.process (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/builder/builder.js:109:13)
    at async TSBuilder.build (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/builder/builder.js:97:9)
    at async exports.default (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/index.js:40:5)
    at async exports.default [as generate] (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/commands/generate.js:165:5)
    at async cli (/home/dz/github.com/ComposableFi/composable-vm/contracts/cosmwasm/node_modules/@cosmwasm/ts-codegen/cli.js:18:9)

Node.js v20.11.1

I updated version of CW from 1.2.X to 1.5.X. Also added some more msgs into contract.

based on these types https://github.com/ComposableFi/composable-vm/blob/main/schema/cvm-runtime.json

replaced with binary for now (XCM serde is SCALE).
observation that python model generator from schema fails on same JSON schema.
either shemars are buggy, or serde_cw_value gives buggy schema, or ts/py generators have bug, or have serde_cw_value as type in schema is useless

so does it work now? sounds like a Rust issue?
Can you provide a schema?

so does it work now? sounds like a Rust issue?

@pyramation I does not look like exactly Rust issue. Let me explain.
I have cosmwasm contract with kind of valid JSON schema. I generate json file with schema out of it.
But ts generator fails to generate typescript code.
As soon as it can be agreed that JSON schema here is valid https://github.com/ComposableFi/composable-vm/blob/c38dd934eff95f5ca73faa5e1a77bd785a6f1562/schema/cvm-runtime.json#L950 , ts gen should not fail.

ahaha. right https://github.com/ComposableFi/composable-vm/blob/c38dd934eff95f5ca73faa5e1a77bd785a6f1562/schema/cvm-runtime.json#L2250 . it is not valid. fun


Merge feature/BGE_Nima into feature/BGE_Nima__SAL-653

This pull request was automatically generated because an automated merge hit a merge conflict

This branch has already been merged into BGE Nima.


Typo in aurelia-loader-default.d.ts

Line 3: TemplateRegistryEntry was not imported from "aurelia-loader".
Line 6 and 7: "Promise" was incorrectly spell.
loadModule(id: string): Proimise;
loadAllModules(ids: string[]): Promse<any[]>;

Fixed in the next release. Thanks!


spread syntax did not consider delegateEvents option from babel-plugin-jsx-dom-expressions

see: https://github.com/ryansolid/dom-expressions/blob/fd82f17f6174ff2d69a170fd46b01f5329d9cdcd/packages/dom-expressions/src/runtime.js#L134
I am trying to disable event delegation by setting babel preset as
    [
      "babel-preset-solid",
      {
        "delegateEvents": false
      }
    ]

It works for most case, but I found when there is props-spreading syntax in the component, the global delegated handler occurs again. By researching the codebase, I found in the babel-preset it indeed considered the deleteEvents option, but there is no peer consideration in the spread situation.

I'm removing this behavior on custom events which I'm gathering the issue is. It is hard to actually switch this on and off between the runtime and the compiler. So hopefully the situation will be satisfactory in the next release.

Alright released in 0.25.0. I will be updating the dependent libraries over the next couple days.


Cursor keeps switching back to pointer instead of i beam

Prerequisites

[x] Can you reproduce the problem in safe mode?
[x] Are you running the latest version of Atom?
[x] Did you check the debugging guide?
[x] Did you check the FAQs on Discuss?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

Description
The cursor keeps switching back to a pointer instead of an i beam.

Steps to Reproduce

Focus away from atom window
Bring atom window into focus
Click on a few lines of text
Watch the cursor revert to a pointer

Expected behavior: The cursor should remain an i beam
Actual behavior: The cursor reverted to a pointer
Versions
1.9.2 | 1.9.3 | 1.9.4
Additional Info
OS: OS X El Capitan: 10.11.6
Syntax and UI Theme: Atom One Dark
Moving the cursor to the sidebar and back to the editor temporarily fixes the problem.

Could you report your OS and your syntax and UI themes?

OSX 10.11.6
syntax and ui are default

more info:
moving the cursor to the sidebar and back to the editor temporarily fixes the problem

Still happens in atom 1.10.1

I'm still seeing this in Atom 1.19.5.

@jimbonator are you also on macOS?  What Atom version are you currently running?

As mentioned, Atom 1.19.5.  I'm on MacOS using Atom Dark theme.

Oh whoops, I missed that by accident 😓.  Does adding the following to your styles.less file help?
atom-text-editor.editor {
  cursor: text;
}

I still see this with the above change to styles.less, although it's not as easy as it once was to lose the I-beam.
Here's one way to reproduce the problem now:

Select some text
Right-click on the edit pane
Dismiss the popup menu by left-clicking on the edit pane

The cursor will now be a standard arrow.  Moving it off the pane and back on (or switching windows) will reset it to an I-beam.

By "edit pane", do you mean the active text editor where you selected the text?

Yes.

Ok.  I'm tentatively tagging this as macOS-only because I can't reproduce it on Windows.

I can repro in safe mode with the steps in https://github.com/atom/atom/issues/12314#issuecomment-328176336, though step 1 wasn't necessary for me:

I'm seeing this same issue now, too. I wasn't having the problem on MacOS Sierra, but now can reproduce it reliably (with same steps as mentioned above) on High Sierra on a brand-new MBP with fresh install of Atom using Pristine theme.

same problem here on Mac, El Capitan

Also having the issue in Mojave, v1.32.2. It's not a huge deal though, especially because apple doesn't have any other consistent cursor behaviors (e.g. the dock and menu bar never get the pointer cursor).

It's happening to me too, using other editors too, tried VSCode, Intelij and sometimes when I navigate back to the editor the cursor stay as pointer instead of change to I-bean

I haven't seen this in a long time. Could still be an issue, but I'm using VSCode now since development on Atom is pretty slow now. Closing this issue since it's 4 years old now and I'm cleaning my issues. o/


otelcol coredumps on startup in 0.68.1

I have been tweaking my setup both in the agents & clusterreceiver and although I am using the helm chart, I upgraded the image to 0.68.1.  On startup, just the cluster receiver is core dumping.  The agents are starting up fine.  I am reasonably sure I have something funky in my setup, but that should still not cause a core dump.
Here are the details.
2023/01/12 18:48:00 settings.go:310: Set config to [/conf/relay.yaml]
2023/01/12 18:48:00 settings.go:363: Set ballast to 165 MiB
2023/01/12 18:48:00 settings.go:379: Set memory limit to 450 MiB
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x98 pc=0x3e7a335]

goroutine 1 [running]:
github.com/signalfx/splunk-otel-collector/internal/configconverter.RenameK8sTagger.Convert({}, {0xc00120e390?, 0xc00120e360?}, 0xc000681f60)
        github.com/signalfx/splunk-otel-collector/internal/configconverter/k8s_tagger.go:56 +0x3d5
go.opentelemetry.io/collector/confmap.(*Resolver).Resolve(0xc001301b60, {0x5ce3f70, 0xc000076030})
        go.opentelemetry.io/collector/confmap@v0.68.1-0.20221221114823-4cf50d0f0d9d/resolver.go:178 +0x28e
go.opentelemetry.io/collector/otelcol.(*configProvider).Get(0x5cab2e0?, {0x5ce3f70?, 0xc000076030?}, {0xc00049fad0?, 0xc000599ce0?, 0xc000598ff0?, 0xc000be1ef0?})
        go.opentelemetry.io/collector@v0.68.1-0.20221221114823-4cf50d0f0d9d/otelcol/configprovider.go:91 +0x72
go.opentelemetry.io/collector/otelcol.(*Collector).setupConfigurationComponents(0xc00129f788, {0x5ce3f70, 0xc000076030})
        go.opentelemetry.io/collector@v0.68.1-0.20221221114823-4cf50d0f0d9d/otelcol/collector.go:154 +0x6f
go.opentelemetry.io/collector/otelcol.(*Collector).Run(0xc00129f788, {0x5ce3f70, 0xc000076030})
        go.opentelemetry.io/collector@v0.68.1-0.20221221114823-4cf50d0f0d9d/otelcol/collector.go:205 +0x65
go.opentelemetry.io/collector/otelcol.NewCommand.func1(0xc000191200, {0x52323de?, 0x0?, 0x1?})
        go.opentelemetry.io/collector@v0.68.1-0.20221221114823-4cf50d0f0d9d/otelcol/command.go:53 +0x419
github.com/spf13/cobra.(*Command).execute(0xc000191200, {0xc000072050, 0x0, 0x1})
        github.com/spf13/cobra@v1.6.1/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000191200)
        github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.6.1/command.go:968
main.runInteractive({{0xc00049fad0, 0xc000599ce0, 0xc000598ff0, 0xc000be1ef0}, {{0x52319c0, 0x7}, {0x0, 0x0}, {0x5c890a0, 0x7}}, ...})
        github.com/signalfx/splunk-otel-collector/cmd/otelcol/main.go:118 +0x5d
main.run(...)
        github.com/signalfx/splunk-otel-collector/cmd/otelcol/main_others.go:26
main.main()
        github.com/signalfx/splunk-otel-collector/cmd/otelcol/main.go:111 +0x1498

@govardha thanks for reporting this issue. Depending on your config specifying --no-convert-config to the collector service would be a workaround. Would you be able to share your redacted cluster receiver config so that we can potentially better resolve the issue?

Sure thing.  Here's the ConfigMap from the clusterreceiver.
ClusterReceiver-CM-Broken.zip

From @jamie1911:

im not sure this is fully fixed. I still can't start any containers that have 0.69.0.
line: panic: runtime error: invalid memory address or nil pointer dereference
source: stderr
tag: splunk-otel-collector/081389b4048d

@jamie1911 please send the whole error message including the stacktrace so we can see where the panic originates, it may be later in the code. I'll reopen https://github.com/signalfx/splunk-otel-collector/issues/2465 with your comment.
Please provide reproduction steps as well if possible.

There is not a whole lot to reproduce. the ECS task has the following container definition as listed here:https://docs.splunk.com/Observability/gdi/opentelemetry/deployments/deployments-fargate.html#getting-started
The ECS task starts up, however when it tries to start the splunk_otel_collector container, it exits with code: 2 and then AWS recycles the entire task.
changing: "image": "quay.io/signalfx/splunk-otel-collector:latest", to "image": "quay.io/signalfx/splunk-otel-collector:0.64.0" allows the ECS task to start as expected.
after enabling logging on the splunk_otel_collector, I can see inside our splunk enterprise the following:

{"line":"\[tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/utils/time.go:46](https://tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/utils/time.go:46) +0xb8","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"created by [github.com/signalfx/signalfx-agent/pkg/utils.RunOnInterval](https://github.com/signalfx/signalfx-agent/pkg/utils.RunOnInterval)","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"\[tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/utils/time.go:47](https://tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/utils/time.go:47) +0x63","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"[github.com/signalfx/signalfx-agent/pkg/utils.RunOnInterval.func1()](https://github.com/signalfx/signalfx-agent/pkg/utils.RunOnInterval.func1())","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"\[tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/monitors/ecs/ecs.go:111](https://tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/monitors/ecs/ecs.go:111) +0x32b","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"[github.com/signalfx/signalfx-agent/pkg/monitors](https://github.com/signalfx/signalfx-agent/pkg/monitors)/ecs.(*Monitor).Configure.func1()","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"\[tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/monitors/ecs/ecs.go:211](https://tgithub.com/signalfx/signalfx-agent@v1.0.1-0.20230117211433-9858481024e4/pkg/monitors/ecs/ecs.go:211) +0x9c8","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"[github.com/signalfx/signalfx-agent/pkg/monitors](https://github.com/signalfx/signalfx-agent/pkg/monitors)/ecs.(*Monitor).fetchStatsForAll(0xc0009cac00, {0x42?, 0x0?, 0x0?, 0x0?})","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"\[tgithub.com/signalfx/splunk-otel-collector/receiver/smartagentreceiver@v0.0.0-00010101000000-000000000000/output.go:275](https://tgithub.com/signalfx/splunk-otel-collector/receiver/smartagentreceiver@v0.0.0-00010101000000-000000000000/output.go:275) +0x46d","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"[github.com/signalfx/splunk-otel-collector/receiver](https://github.com/signalfx/splunk-otel-collector/receiver)/smartagentreceiver.(*output).SendDimensionUpdate(0xc000f4bf40, 0xc0014155c0)","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"\[tgithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter@v0.69.0/exporter.go:61](https://tgithub.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter@v0.69.0/exporter.go:61) +0x1d","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"[github.com/open-telemetry/opentelemetry-collector-contrib/exporter](https://github.com/open-telemetry/opentelemetry-collector-contrib/exporter)/signalfxexporter.(*signalfMetadataExporter).ConsumeMetadata(0xc000d7b4a8?, {0xc0000126f8?, 0x523ea66?, 0xc?})","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"goroutine 144 [running]:","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x10a595d]","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"panic: runtime error: invalid memory address or nil pointer dereference","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}
{"line":"2023-01-23T20:14:01.610Z\tinfo\tservice/pipelines.go:109\tReceiver started.\t{\"kind\": \"receiver\", \"name\": \"smartagent/ecs-metadata\", \"pipeline\": \"metrics\"}","source":"stderr","tag":"splunk-otel-collector/633f510a267d"}

Your stacktrace is very different from the original report. Looking at the code associated.

Closing as the work continues with #2508.


[Testing] Improve projector tests

Improvements to the test by generalising over arbitrary qubit numbers:
@minikandreasseitz 3 days ago
can we have tests with arbitary qubit numbers? maybe just pick random n_qubits and random qubits and apply the projector. there should be many tests like this in this very file
@jpmoutinho jpmoutinho 18 minutes ago
A possible extension to random states is to use the overlap and check that the overlap with a given product state used in the projector is the same before and after projection. Additionally the overlap with any other product state should be 0.

Closes as already implemented in #203


Device code url

Please change to /device
The shorter the better for situations where someone has to type it in VR or on other devices where typing is clunky. (plus this is the previous url so I won't need to change things on my end)

This is done. I had to set APPEND_SLASH to False, which means that all other urls are like the original icosa.gallery urls without a slash.
If you want trailing slashes to be removed instead of Django's behavior of 404ing, I'll look at some middleware to handle this.


Add conveniences for R kernel

Working in the JupyterLab R kernel is awkward for someone used to RStudio. In particular, the help / vignette reader assumes you're on a system with a browser, which is not the case for a container running via "network = host". So we need a way to connect to a help server in the container from the browser that's accessing the notebooks.

Moving R to 1.1.0


Bug in the repo path for the binder

This line in the build-book.yaml workflow assumes that a PR originates from
--repo ${{ github.actor }}/$CI_REPOSITORY_NAME

and send this as input to binderbot when we need to point to the current PR branch to build a new image on the binder (because of a change in the environment file).
But this logic assumes that the PR branch is always in ${{ github.actor }}'s personal GitHub space. If someone who is a member of the ProjectPythia org opens a PR from a branch owned by the organization, it fails.
The reason it fails is because ${{ github.actor }} points to that person's user name, but the repo name is actually ProjectPythia/$CI_REPOSITORY_NAME.
An example is https://github.com/ProjectPythia/na-cordex-viz-cookbook/pull/7.
Note that when you edit a file directly on GitHub it defaults to creating a new branch within the org, which is what happened in the above example.

In https://github.com/ProjectPythia/na-cordex-viz-cookbook/pull/13 we found another version of this same failure. The PR branch is https://github.com/bonnland/na-cordex-viz-cookbook/tree/fix-environment, but when I closed and reopened the PR just to trigger a rebuild, the build failed because the Binder was looking for the code under my user-name:
It shouldn't matter who clicks the "reopen" button! The Binder should always be pointed toward the PR branch.


Finer control

Wow, 114 commits. Did you mean to submit this as  PR? :smiley_cat:

Nope.  Git was being "helpful" with my remotes again.


Refactor operation options internal management.

Expose deadline setting for all operation options.
Expose requires_leader setting for all operation options.
Rewrite how gRPC requests are instantiated.

3 points :

the .net client exposes a bit more options, I'm not sure if they are all relevant here.
is really the default for require_leader always false ? ( not sure the default on other clients)
naming of deadlineis different 😅

Now requires_leader is defaulted to true.

@YoEight, @hayley-jean did we have an agreement around the naming and options number? So @ylorph comments:

the .net client exposes a bit more options, I'm not sure if they are all relevant here.
naming of deadlineis different 😅


Implement UnnecessaryListAllocationForFirstElement

Summary
Fixes #5503. Ready for final review as the mkdocs issue involving SSH keys is fixed.
Note that this will only throw on a Name - it will be refactorable once we have a type-checker. This means that this is the only sort of input that will throw.
x = range(10)
list(x)[0]

I thought it'd be confusing if we supported direct function results. Consider this example, assuming we support direct results:
# throws
list(range(10))[0]

def createRange(bound):
    return range(bound)

# "why doesn't this throw, but a direct `range(10)` call does?"
list(createRange(10))[0]

If it's necessary, I can go through the list of built-ins and find those which produce iterables, then add them to the throwing list.
Test Plan
Added a new fixture, then ran cargo t

@charliermarsh was wondering if I could grab a review on this so I can avoid needing to rename in case RUF015 gets taken soon :)

Haven't reviewed the code yet (but I will soon), but note that this will introduce at least one behavior change, which is that the exception thrown in the empty case is different:
>>> next(iter([]))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
StopIteration
>>> [][0]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IndexError: list index out of range

Haven't reviewed the code yet (but I will soon), but note that this will introduce at least one behavior change, which is that the exception thrown in the empty case is different:

@charliermarsh Yeah, I figured it'd be fine since it's a suggested fix. I don't think there's a way to get around it though, is there?

Will get to this today.


Set up basic socket connection for projects

Using Socket.io "rooms" for each project
#49

This should also have a notion of authentication within it as a certain room (for a project) could only be joined by its members.
Socket.io should have that kind of possibility available. The connection would be refused otherwise.

Done, specific implementation extensions will be part of targeted issues.


Golf proofs and fix typos

[x] Golf proof of periodicpts_is_mem
[x] Golf proof of periodic_arbitrary_large_time
[x] Golf proof of inter_subset_empty_of_inter_empty
[x] Golf proof of separated_balls
[x] Golf proof of separated_ball_image_ball
[x] Golf proof of separated_balls_along_non_periodic_orbit
[x] Golf proof of ball_non_periodic_arbitrary_large_time

@mseri We have finished for now. It's ready to be merged if you like.

Thanks @pitmonticone and @LorenzoLuccioli!


Speedometer minor updates

Implemented speedometer using  DistanceCar as suggested by @platisd in closed pull request #27
:ballot_box_with_check: Definition of Done checklist

[x] Meaningful title and valuable description in pull request
[x] Code change tested manually if not covered by automated tests
[x] Pull request linked to one or more issues/stories
[x] Acceptance criteria of the linked stories satisfied
[ ] Code change comprehended by those who approved it
[ ] State of target branch maintained or improved after the code change

Also the pull request does not have:

Meaningful title and valuable description in pull request

You have not addressed all comments yet

You shouldn't be the ones that fill out the entire DoD checklist :sweat_smile:

You shouldn't be the ones that fill out the entire DoD checklist sweat_smile

We don't check the last 2 check boxes? @platisd

You should check them when they are true. For example, how can you check the box about comprehending the changes when there has been no review yet? Or why would the final one about the state of the target branch be checked when someone's requesting changes?


Blazor Server on IE11 doesn't deal with datetime validation with a polyfill.

Describe the bug
Using Blazor on IE11 with this https://github.com/Daddoon/Blazor.Polyfill produces an error in validating datetime fields.
To Reproduce
A datetime input in a form with validation produces this error after unfocusing the input:
Unhandled exception at line 8, column 53420 in https://localhost:44383/_framework/blazor.server.js
0x800a139e - JavaScript runtime error: Invalid element type 'text'.
A littlepiece of minified javascript from blazor.min.js:
o=function(e){var t=e.value,n=e.type;switch(n){case"date":case"datetime-local":case"month":return t;case"time":return 5===t.length?t+":00":t;case"week":return t}throw new Error("Invalid element type '"+n+"'.")}(n);
I believe it can be fixed by including a text case in addition to the other datetime cases or a default case.
I know IE11 isn't supported but any help would be appreciated.
Further technical details

ASP.NET Core version: 3.1
The IDE (VS / VS Code/ VS4Mac): VS2019 16.4.1

@StevenGranados thanks for contacting us.
Is this something that could be fixed in https://github.com/Daddoon/Blazor.Polyfill directly?

Closing this issue as this seems to be external to this repo. We recommend filing this issue in the reference repo.


Question: Exploring SPIR-V for WGPUCompute

I'm wondering if Naga can handle OpenCL flavor of SPIR-V as well.
There's been a recent revival of the OpenCL.jl project (I believe they are targeting the CPU for now)
Currently they use https://github.com/KhronosGroup/SPIRV-LLVM-Translator for translation between LLVMIR and SPIR-V. I wonder if Naga can take in the generated spv and produce wgsl from it.
This question is more in the nature of, if we might be able to share code, methodology and as an outcome, progress, between the WGPUCompute.jl and OpenCL.jl projects.

Currently this seems to be blocked on every front.
Naga needs Vulkan shaders, and while Google's clspv can produce Vulkan SPIR-V, Naga still lacks implementation to use that.
It might be possible at some point but currently this doesn't seem feasible. I'll reopen this if I spot something that might make this possible at any point.