What do you mean by inline

You say "normalize.css - must be inlined to your newsletter in production"
What do you mean by inline? Inline on what html tag? Or do you also mean by putting it between

Hello, @hvanoch.
By inlining i mean using css-inliner tool.
For example:

https://inliner.cm/ for manual usage
https://www.npmjs.com/package/inline-css as npm-package

The contents of extra.css and outlook.css must be placed in head of newsletter, but not required to be inlined


[Question] why npm/yarn/pnpm contributed to the bundle size?

For my project https://github.com/makes/makes
The ncc yields noticeable difference between deps installed by npm, yarn, and pnpm. All the three produce functional output.
I am confused why it's sensitive to different package managers, any explanation?
Clean install with NPM 358kB
⋊> ~/m/makes on master ◦ npm i

><EMAIL_ADDRESS>prepare /Users/huocp/makesjs/makes
> npm run build

><EMAIL_ADDRESS>build /Users/huocp/makesjs/makes
> ncc build lib/index.js -m

ncc: Version 0.22.1
ncc: Compiling file index.js
358kB  dist/index.js
358kB  [4014ms] - ncc 0.22.1

Clean install with Yarn 370kB
⋊> ~/m/makes on master ◦ yarn
yarn install v1.22.4
...
><EMAIL_ADDRESS>build /Users/huocp/makesjs/makes
> ncc build lib/index.js -m

ncc: Version 0.22.1
ncc: Compiling file index.js
370kB  dist/index.js
370kB  [4518ms] - ncc 0.22.1
✨  Done in 15.95s.

Clean install with Pnpm (with shamefully-hoist=true in my npmrc) 324kB
⋊> ~/m/makes on master ◦ pnpm i
...
><EMAIL_ADDRESS>build /Users/huocp/makesjs/makes
> ncc build lib/index.js -m

ncc: Version 0.22.1
ncc: Compiling file index.js
324kB  dist/index.js
324kB  [4429ms] - ncc 0.22.1

Possible causes:

npm adds extra metadata to package.json files in node_modules. If a package imports/requires it's own package.json (some packages do, to refer to name/version fields), then these files would have a different size than yarn (v1) and pnpm.
pnpm chosen node_modules structure dedupes "same version" better. You always get a single copy of each version. That's not the case for npm/yarn (v1), where naive bundling may bundle the same version twice (or more), if ends up sitting in several places across node_modules.

Thx! That sounds right. I knew npm added meta into package.json, but couldn't understand why yarn is the biggest. Good to know pnpm does extra to remove duplicates.

Oh, didn't even notice npm ended up producing smaller bundles. There are other subtle differences to npm and yarn's resolution algorithms. For example, npm dedupes "*" better, picking the latest version already in the tree, while yarn treats it as "latest", and usually ends up creating additional duplicates.


How do you calculate entropy?

The equation 1 in the article, what function is δ？

I have the same question. Can you please provide the pseudo code for how you calculate the entropy map for each sensor stream? What is the intuition behind the equation you use for entropy?

Same question, if possible please provide some more info on entropy estimation process code.


Set client_id in LoadState(FromFile)

@wally-the-cartographer merge

Merge requested by authorized user gaschler. Merge queue now has a length of 2.

Error: exit status 1
Log:
=> handle work item: PR 1320 on googlecartographer/cartographer.
 => Switching to branch master.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at 33fcc1a3 Set client_id in LoadState(FromFile) (#1320)
 $ git clean -fd [data/cartographer]
 $ git checkout master [data/cartographer]
Already on 'master'
Your branch is up to date with 'origin/master'.
 $ git pull [data/cartographer]
Already up to date.
Current branch master is up to date.
 => Checking out gaschler/load-client-id as local branch pr_1320.
 $ git remote add gaschler git@github.com:gaschler/cartographer.git [data/cartographer]
fatal: remote gaschler already exists.
 $ git fetch gaschler [data/cartographer]
 $ git branch --track pr_1320 gaschler/load-client-id [data/cartographer]
Branch 'pr_1320' set up to track remote branch 'load-client-id' from 'gaschler'.
 => Switching to branch pr_1320.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at 33fcc1a3 Set client_id in LoadState(FromFile) (#1320)
 $ git clean -fd [data/cartographer]
 $ git checkout pr_1320 [data/cartographer]
Switched to branch 'pr_1320'
Your branch is up to date with 'gaschler/load-client-id'.
 $ git pull --force [data/cartographer]
Already up to date.
Current branch pr_1320 is up to date.
 => merge master.
 $ git merge master [data/cartographer]
Merge made by the 'recursive' strategy.
 => Running clang-format on all *.cc and *.h files
 $ git commit -am Ran clang-format. [data/cartographer]
On branch pr_1320
Your branch is ahead of 'gaschler/load-client-id' by 2 commits.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
 $ git push --force gaschler HEAD:load-client-id [data/cartographer]
To github.com:gaschler/cartographer.git
 ! [remote rejected]   HEAD -> load-client-id (permission denied)
error: failed to push some refs to 'git@github.com:gaschler/cartographer.git'
 => Abandoning branch pr_1320.
 => Switching to branch master.
 $ git reset --hard HEAD [data/cartographer]
HEAD is now at 7ea7505e Merge branch 'master' into pr_1320
 $ git clean -fd [data/cartographer]
 $ git checkout master [data/cartographer]
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
 $ git branch -D pr_1320 [data/cartographer]
Deleted branch pr_1320 (was 7ea7505e).


Add message buttons example

Add example buttons file. Not sure if I should have included the HandleFunc stuff, but I initially struggled with parsing the payload, so though it'd be useful to someone else. Let me know if the example should be somewhere else, or a different filename or anything and I'll be happy to make changes.
From issue https://github.com/nlopes/slack/issues/578

fine as is. =) thanks.


CDN download link is outdated

The link to download fine_food_reviews_with_embeddings_1k.csv in the zero-shot classification example is either outdated or the column headings are incorrect. It's still serving embeddings from babbage instead of ada at the moment.
Command:
curl -s https://cdn.openai.com/API/examples/data/fine_food_reviews_with_embeddings_1k.csv | head -n1

Output:
ProductId,UserId,Score,Summary,Text,combined,n_tokens,babbage_similarity,babbage_search

curl -s https://cdn.openai.com/API/examples/data/fine_food_reviews_with_embeddings_1k.csv | head -n1

Came to post the same thing - the df is not formatted as intended for the example using ada in https://github.com/openai/openai-cookbook/blob/main/examples/Semantic_text_search_using_embeddings.ipynb

Will try to fix today. Thanks!

Fixed in #66 . Now the data is updated, and lives in the data folder of the repo.


Allow setting a verbose option

Print more info on plugin upgrades if the verbose boolean is set

A possible set of options for the verbosity setting:

0: Silent - return no info to the user,
1: Single line - info returned on a single line e.g. Vivid: Plugin update - 2/11 (maybe use echo rather than echomsg),
2: Current default,
3: Current default with errors and additional information returned.


Add 0.4.0 blog post

Add blog post for 0.4. release to the website
What type of PR is this?
/kind documentation

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: guenter
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: alenkacz
If they are not already assigned, you can assign the PR to them by writing /assign @alenkacz in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: guenter, jbarrick-mesosphere
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jbarrick-mesosphere]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@guenter I updated roadmap and suggested change to this blogpost. Feel free to dismiss my review after that - I left do not merge label here for now so that prow does not merge this before you get to this :)

Thanks @alenkacz! I accepted your change.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alenkacz, guenter, jbarrick-mesosphere
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [alenkacz,jbarrick-mesosphere]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

@guenter: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

test
0882bdebe7f811857a79406c63613f0badd40f41
link
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest
Interesting that it ran the tests. I don't think it should have since it has the docs only label.


Support for collectd signed and encrypted packets

Required for all non-trivial PRs

[X] Rebased/mergable
[X] Tests pass
[x] CHANGELOG.md updated
[X] Sign CLA (if not already signed)

Required only if applicable

[X] Provide example syntax

The collectd network plugin has 3 types of packets: plain, signed, and encrypted. Without this PR, InfluxDB only accepts plain packets. This PR adds support for signed and encrypted packets. This allows to securely interface InfulxDB and collectd over untrusted networks.
The detailed feature description is available on the collectd wiki: https://collectd.org/wiki/index.php/Networking_introduction

@jwilder, thanks for taking the time to have a look at this PR. I believe I addressed all your comments. Please let me know if there is anything else.

@jwilder (or others): this PR has been dormant for a while, except for a few rebases. I believe I implemented the requested changes so far. Could you please let me know if anything else is required?

@marcv81 Just needs a rebase and move the changelog item and should be good to merge now. Thanks!

@jwilder thanks for the feedback. I made a recent rebase and fixed the changelog. I will try to keep an eye on rebases more frequently!

Anyway to have a release with this included in the near term? I would love this feature, but don't really want have to fork and build from source.

@etano You could use one of the current nightly builds.

@jwilder Perhaps I'm being ignorant, but I'm having trouble actually finding the packages for the nightly build. At least the files listed in Packages don't seem to exist:
https://repos.influxdata.com/ubuntu/dists/xenial/nightly/binary-amd64/Packages
Looking here, the most recent version looks like August:
https://repos.influxdata.com/ubuntu/pool/nightly/i/influxdb/

@rossmcdonald Are nightlies available in our package repos?

@jwilder Not currently. We are reworking the repository to add them back, though, and I've removed the current references to avoid confusion. For now they need to be installed manually:
https://dl.influxdata.com/influxdb/nightlies/influxdb_nightly_amd64.deb
https://dl.influxdata.com/influxdb/nightlies/influxdb-nightly.x86_64.rpm
https://dl.influxdata.com/influxdb/nightlies/influxdb-nightly_linux_amd64.tar.gz

@rossmcdonald Thanks!

Regarding the original question ("Any way to have a release with this included in the near term?"), do we have a plan with future release dates?

@marcv81 @etano it'll be in the 1.2 release and the current nightly builds.

Sorry if the answer is trivial, but have we set a date for 1.2?


Fix for #7920 (Vol. 2)

This is a second try to fix the Issue described in #7920 and also the sideeffect described in this comment
The difference with my previous PL #7960 is that i leave $(document) as selector for the unbind event and i add body selector in the on click event. That seems to fix the filemanager problem and has no side-effect in the Design & Custom Template toolbar.

Closing because this is fixed in Firefox 68.0


Tidy iris.experimental module

Identify and pull through any experimental functionality from iris.experimental into the core of iris, and also retire any obsolete functionality.

Acceptance Criteria

[x] Remove iris.experimental.concatenate (see #3523)
[x] Rationalise iris.experimental.equalise_cubes (see #3527)

[x] Move iris.experimental.equalise_cubes.equalise_attributes to iris.util
[x] Replace iris.experimental.equalise_cubes.equalise_attributes with an exception, e.g., see here

[ ] Review outstanding iris.experimental functionality
NB: Must include identify all that are used operationally, (def includes areaweighted regridding). as they must not be deprecated.

Ping @abooton

Review of all iris.experimental functionality
ugrid
🪑 Stay experimental.
We're just starting to get user traction in this highly unfamiliar space. We also have our outstanding list of significant changes - #4438 - that are important to finish and could lead to quite dramatic changes. This module should remain in experimental for now.
animate
🎓 Graduate from experimental.
https://github.com/SciTools/iris/pull/496#issuecomment-22654683 indicates an intent to hold in experimental pending user feedback. There hasn't been much feedback since, and the Git-blaming the file shows that the code has been static.
However I know at least three recent cases where the functionality has been a potential solution for users:

@jonnyhtw - #4771
@mcrimaldi - #4965
@cgsandford / @rcomer - internal UK Met Office communications

... so I see this as a low overhead convenience with some value and minimal controversy.
Due for replacement - #4779 - the current should therefore definitely NOT graduate from experimental.
stratify
🪑 Stay experimental.
A convenience for easy use of python-stratify with Cubes, currently with a fairly limited scope. There's a reasonable amount of interest in python-stratify during user discussions, but not so much interest in this module; we're not sure if that's due to lack of awareness or lack of flexibility.
Git-blaming the file shows that the code has been static since introduction 6 years ago (#2471), perhaps not surprising due to the lack of user engagement.
So we need more user engagement! Actions for raising awareness:

[ ] Mention in the v3.4 what's new.
[ ] Mention in the python-stratify README
[ ] Increase developer awareness so that it can be mentioned during user support


Neural Network Architecture

This neural network architecture is quite different from that in Alphago Zero's paper, for instance, the latter took a resnet approach, using 1 convolutional block and 19 residual blocks.
Simply stacking layers may cause certain defects(e.g. speed and accuracy)  in network training.

The simple neural network used in this repo is for illustrating purpose, and it also works at least to some extend. If we use the same deep network architecture as in AlphaGo Zero paper, it will be even slower on our personal laptop. And in fact you can easily modify the neural network architecture, for example using resnet or BN, to see how they affect the training speed and overall performance.

If we attempt training using a 15*15 board, would it be better to enlarge the number of simulations in MCTS? Also, using temp=1may cause too many explorations, especially after early stages, thus weakening the actual playing result.


[QUESTION] error NU1202 on some machines when building with SkiaSharp 1.68.3

We face a strange problem.
On some machines, when building our solution, we get error NU1202: Package SkiaSharp 1.68.3 is not compatible with .NET Standard 2.0
Using SkiaSharp <IP_ADDRESS> fixes the issue.
I have no idea what is going on, I'm digging deeper, but maybe someone here has a hint?
Thanks,
Peter

Could the package have been downloaded incorrectly?
What is the package cache looking like on those machines?

Thanks for  the feedback. Unfortunately the package is 100% binary the same. I'm going to dig deep into the MSBUILD diagnostics output... So strange


Grant export to Word document

OVERVIEW
Explore alternative export to Word doc format for Grant. Current export uses PDF file format.
This is form of POC to validate feasable or not
ACCEPTANCE CRITERIA
User is able to view Grant as Word doc, download/save it locally.
OUT OF SCOPE
Detailed formating issues, pixel perfect doc production
BACKGROUND/REFERENCE
https://help.salesforce.com/s/articleView?id=000314591&type=1

Implemented in current release


Implement function for creating errors with binary details field

This PR adds a function to create Status errors with the details field set.
This is not a complete solution - other libraries offer ways to encode a protobuf into this field. This change will allow for some experimentation and manual implementation for error details.
Related: https://github.com/tower-rs/tower-grpc/issues/136

Correct; my hope was to at least make details user accessible.
I just pushed a commit that adds the ability to populate details with an encoded protobuf. This is far more useful and may eliminate any desire for with_raw_details.


Exception when card type is nil

In BillingInfo.cs
CardType = reader.ReadElementContentAsString().ParseAsEnum();
fails when credit card type is nil. This started happening very recently (about a week ago.) I have put a null check around this to get it to work and can submit, but were there any changes in the main recurly api that would cause this to start happening?

 For instance PayPal and ACH billing info won't have a card type.

not checking the card type explicitly, but the failure is when there is a valid card type ... oddly enough, seems to be failing for Visa / MC / Discover, and not for Amex.
I am not passing the card type when setting the billing info, previously this was working fine. That said no one else is reporting the problem, so the probability of it being something at my end is very high.

Could you provide a little example code to show how you're accessing the billing info? I'm wondering if it's an issue with another object that nests the billing info inside it.

sure, let me also get the xml that comes back, so that you can have the full information. will do so by end of day. thanks.

hi, I see that you have checked in accounting for the possibility of a null ... to circle back though, the card type had been read in as whitespace when the problem happened. it happened for an account which had no billing info entered as yet. Once I enter some billing info, even though I subsequently clear out the billing info, it no longer comes back as whitespace.
thanks for your attention, can go back to using the nuget package.

Thanks for updating us @adeelhasan . Sorry about this issue.


Undefined symbols for architecture x86_64:

Launching lib/main.dart on iPhone X in debug mode...
Running Xcode build...
Xcode build done.                                            4.1s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/0j/vs2dth5157q6r3s5lcf9wfn00000gn/T/flutter_tools.ch9shV/flutter_ios_build_temp_diryNZ4UA/temporary_xcresult_bundle
ld: warning: ignoring file /Users/bao-mac/Downloads/Open-IM-SDK-Flutter-main/ios/Framework/OpenIMCore.framework/OpenIMCore, missing required architecture x86_64 in file /Users/bao-mac/Downloads/Open-IM-SDK-Flutter-main/ios/Framework/OpenIMCore.framework/OpenIMCore (1 slices)
Undefined symbols for architecture x86_64:
  "_Open_im_sdkClearC2CHistoryMessage", referenced from:
      flutter_openim_sdk.MessageManager.clearC2CHistoryMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkForceSyncMsg", referenced from:
      flutter_openim_sdk.MessageManager.forceSyncMsg(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateCardMessage", referenced from:
      flutter_openim_sdk.MessageManager.createCardMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateCustomMessage", referenced from:
      flutter_openim_sdk.MessageManager.createCustomMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateLocationMessage", referenced from:
      flutter_openim_sdk.MessageManager.createLocationMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateMergerMessage", referenced from:
      flutter_openim_sdk.MessageManager.createMergerMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateFileMessageFromFullPath", referenced from:
      flutter_openim_sdk.MessageManager.createFileMessageFromFullPath(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateVideoMessageFromFullPath", referenced from:
      flutter_openim_sdk.MessageManager.createVideoMessageFromFullPath(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateVideoMessage", referenced from:
      flutter_openim_sdk.MessageManager.createVideoMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateImageMessageFromFullPath", referenced from:
      flutter_openim_sdk.MessageManager.createImageMessageFromFullPath(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateSoundMessageFromFullPath", referenced from:
      flutter_openim_sdk.MessageManager.createSoundMessageFromFullPath(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateImageMessage", referenced from:
      flutter_openim_sdk.MessageManager.createImageMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateTextAtMessage", referenced from:
      flutter_openim_sdk.MessageManager.createTextAtMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkMarkC2CMessageAsRead", referenced from:
      flutter_openim_sdk.MessageManager.markC2CMessageAsRead(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkTypingStatusUpdate", referenced from:
      flutter_openim_sdk.MessageManager.typingStatusUpdate(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkInsertSingleMessageToLocalStorage", referenced from:
      flutter_openim_sdk.MessageManager.insertSingleMessageToLocalStorage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkFindMessages", referenced from:
      flutter_openim_sdk.MessageManager.findMessages(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkGetHistoryMessageList", referenced from:
      flutter_openim_sdk.MessageManager.getHistoryMessageList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkDeleteMessageFromLocalStorage", referenced from:
      flutter_openim_sdk.MessageManager.deleteMessageFromLocalStorage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkAddAdvancedMsgListener", referenced from:
      flutter_openim_sdk.MessageManager.addAdvancedMsgListener(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkSendMessage", referenced from:
      flutter_openim_sdk.MessageManager.sendMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkForceSyncLoginUerInfo", referenced from:
      flutter_openim_sdk.IMMananger.forceSyncLoginUerInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkGetUsersInfo", referenced from:
      flutter_openim_sdk.IMMananger.getUsersInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkCreateSoundMessage", referenced from:
      flutter_openim_sdk.MessageManager.createSoundMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkGetOneConversation", referenced from:
      flutter_openim_sdk.ConversationManager.getOneConversation(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkAcceptGroupApplication", referenced from:
      flutter_openim_sdk.GroupManager.acceptGroupApplication(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkCreateForwardMessage", referenced from:
      flutter_openim_sdk.MessageManager.createForwardMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkCreateTextMessage", referenced from:
      flutter_openim_sdk.MessageManager.createTextMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkGetMultipleConversation", referenced from:
      flutter_openim_sdk.ConversationManager.getMultipleConversation(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkTransferGroupOwner", referenced from:
      flutter_openim_sdk.GroupManager.transferGroupOwner(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkCreateFileMessage", referenced from:
      flutter_openim_sdk.MessageManager.createFileMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkQuitGroup", referenced from:
      flutter_openim_sdk.GroupManager.quitGroup(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkGetLoginStatus", referenced from:
      flutter_openim_sdk.IMMananger.getLoginStatus(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkCreateGroup", referenced from:
      flutter_openim_sdk.GroupManager.createGroup(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkGetFriendApplicationList", referenced from:
      flutter_openim_sdk.FriendshipManager.getFriendApplicationList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkLogout", referenced from:
      flutter_openim_sdk.IMMananger.logout(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkGetAllConversationList", referenced from:
      flutter_openim_sdk.ConversationManager.getAllConversationList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkGetGroupsInfo", referenced from:
      flutter_openim_sdk.GroupManager.getGroupsInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkGetGroupMemberList", referenced from:
      flutter_openim_sdk.GroupManager.getGroupMemberList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkGetGroupMembersInfo", referenced from:
      flutter_openim_sdk.GroupManager.getGroupMembersInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkSetSdkLog", referenced from:
      flutter_openim_sdk.IMMananger.setSdkLog(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkGetGroupApplicationList", referenced from:
      flutter_openim_sdk.GroupManager.getGroupApplicationList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkKickGroupMember", referenced from:
      flutter_openim_sdk.GroupManager.kickGroupMember(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkLogin", referenced from:
      flutter_openim_sdk.IMMananger.login(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkSetGroupInfo", referenced from:
      flutter_openim_sdk.GroupManager.setGroupInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkRefuseFriendApplication", referenced from:
      flutter_openim_sdk.FriendshipManager.refuseFriendApplication(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkJoinGroup", referenced from:
      flutter_openim_sdk.GroupManager.joinGroup(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkDeleteFromFriendList", referenced from:
      flutter_openim_sdk.FriendshipManager.deleteFromFriendList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkSetFriendListener", referenced from:
      flutter_openim_sdk.FriendshipManager.setFriendListener(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkCheckFriend", referenced from:
      flutter_openim_sdk.FriendshipManager.checkFriend(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkSetSelfInfo", referenced from:
      flutter_openim_sdk.IMMananger.setSelfInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkInitSDK", referenced from:
      flutter_openim_sdk.IMMananger.initSDK(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in IMManager.o
  "_Open_im_sdkGetJoinedGroupList", referenced from:
      flutter_openim_sdk.GroupManager.getJoinedGroupList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkGetConversationListSplit", referenced from:
      flutter_openim_sdk.ConversationManager.getConversationListSplit(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkDeleteConversation", referenced from:
      flutter_openim_sdk.ConversationManager.deleteConversation(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkGetBlackList", referenced from:
      flutter_openim_sdk.FriendshipManager.getBlackList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkAcceptFriendApplication", referenced from:
      flutter_openim_sdk.FriendshipManager.acceptFriendApplication(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkPinConversation", referenced from:
      flutter_openim_sdk.ConversationManager.pinConversation(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkInviteUserToGroup", referenced from:
      flutter_openim_sdk.GroupManager.inviteUserToGroup(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkClearGroupHistoryMessage", referenced from:
      flutter_openim_sdk.MessageManager.clearGroupHistoryMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkGetFriendsInfo", referenced from:
      flutter_openim_sdk.FriendshipManager.getFriendsInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkGetConversationIDBySessionType", referenced from:
      flutter_openim_sdk.ConversationManager.getConversationIDBySessionType(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkGetConversationRecvMessageOpt", referenced from:
      flutter_openim_sdk.ConversationManager.getConversationRecvMessageOpt(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkSetConversationDraft", referenced from:
      flutter_openim_sdk.ConversationManager.setConversationDraft(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkMarkGroupMessageHasRead", referenced from:
      flutter_openim_sdk.ConversationManager.markGroupMessageHasRead(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkAddFriend", referenced from:
      flutter_openim_sdk.FriendshipManager.addFriend(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkRevokeMessage", referenced from:
      flutter_openim_sdk.MessageManager.revokeMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkDeleteFromBlackList", referenced from:
      flutter_openim_sdk.FriendshipManager.deleteFromBlackList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkRefuseGroupApplication", referenced from:
      flutter_openim_sdk.GroupManager.refuseGroupApplication(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkAddToBlackList", referenced from:
      flutter_openim_sdk.FriendshipManager.addToBlackList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkSetConversationRecvMessageOpt", referenced from:
      flutter_openim_sdk.ConversationManager.setConversationRecvMessageOpt(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkGetFriendList", referenced from:
      flutter_openim_sdk.FriendshipManager.getFriendList(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkCreateQuoteMessage", referenced from:
      flutter_openim_sdk.MessageManager.createQuoteMessage(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in MessageManager.o
  "_Open_im_sdkSetFriendInfo", referenced from:
      flutter_openim_sdk.FriendshipManager.setFriendInfo(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in FriendshipManager.o
  "_Open_im_sdkGetTotalUnreadMsgCount", referenced from:
      flutter_openim_sdk.ConversationManager.getTotalUnreadMsgCount(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkSetGroupListener", referenced from:
      flutter_openim_sdk.GroupManager.setGroupListener(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in GroupManager.o
  "_Open_im_sdkMarkSingleMessageHasRead", referenced from:
      flutter_openim_sdk.ConversationManager.markSingleMessageHasRead(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
  "_Open_im_sdkSetConversationListener", referenced from:
      flutter_openim_sdk.ConversationManager.setConversationListener(methodCall: __C.FlutterMethodCall, result: (Any?) -> ()) -> () in ConversationManager.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete

Result bundle written to path:
	/var/folders/0j/vs2dth5157q6r3s5lcf9wfn00000gn/T/flutter_tools.ch9shV/flutter_ios_build_temp_diryNZ4UA/temporary_xcresult_bundle

Error (Xcode): Undefined symbol: _Open_im_sdkClearC2CHistoryMessage
Error (Xcode): Undefined symbol: _Open_im_sdkForceSyncMsg
Error (Xcode): Undefined symbol: _Open_im_sdkCreateCardMessage
Error (Xcode): Undefined symbol: _Open_im_sdkCreateCustomMessage
Error (Xcode): Undefined symbol: _Open_im_sdkCreateLocationMessage
Error (Xcode): Undefined symbol: _Open_im_sdkCreateMergerMessage
Error (Xcode): Undefined symbol: _Open_im_sdkCreateFileMessageFromFullPath
Error (Xcode): Undefined symbol: _Open_im_sdkCreateVideoMessageFromFullPath
Error (Xcode): Undefined symbol: _Open_im_sdkCreateVideoMessage
Error (Xcode): Undefined symbol: _Open_im_sdkCreateImageMessageFromFullPath
Error (Xcode): Undefined symbol: _Open_im_sdkCreateSoundMessageFromFullPath
Error (Xcode): Undefined symbol: _Open_im_sdkCreateImageMessage
Error (Xcode): Undefined symbol: _Open_im_sdkCreateTextAtMessage
Error (Xcode): Undefined symbol: _Open_im_sdkMarkC2CMessageAsRead
Error (Xcode): Undefined symbol: _Open_im_sdkTypingStatusUpdate
Error (Xcode): Undefined symbol: _Open_im_sdkInsertSingleMessageToLocalStorage
Error (Xcode): Undefined symbol: _Open_im_sdkFindMessages
Error (Xcode): Undefined symbol: _Open_im_sdkGetHistoryMessageList
Error (Xcode): Undefined symbol: _Open_im_sdkDeleteMessageFromLocalStorage
Error (Xcode): Undefined symbol: _Open_im_sdkAddAdvancedMsgListener
Error (Xcode): Undefined symbol: _Open_im_sdkSendMessage
Error (Xcode): Undefined symbol: _Open_im_sdkForceSyncLoginUerInfo
Error (Xcode): Undefined symbol: _Open_im_sdkGetUsersInfo
Error (Xcode): Undefined symbol: _Open_im_sdkCreateSoundMessage
Error (Xcode): Undefined symbol: _Open_im_sdkGetOneConversation
Error (Xcode): Undefined symbol: _Open_im_sdkAcceptGroupApplication
Error (Xcode): Undefined symbol: _Open_im_sdkCreateForwardMessage
Error (Xcode): Undefined symbol: _Open_im_sdkCreateTextMessage
Error (Xcode): Undefined symbol: _Open_im_sdkGetMultipleConversation
Error (Xcode): Undefined symbol: _Open_im_sdkTransferGroupOwner
Error (Xcode): Undefined symbol: _Open_im_sdkCreateFileMessage
Error (Xcode): Undefined symbol: _Open_im_sdkQuitGroup
Error (Xcode): Undefined symbol: _Open_im_sdkGetLoginStatus
Error (Xcode): Undefined symbol: _Open_im_sdkCreateGroup
Error (Xcode): Undefined symbol: _Open_im_sdkGetFriendApplicationList
Error (Xcode): Undefined symbol: _Open_im_sdkLogout
Error (Xcode): Undefined symbol: _Open_im_sdkGetAllConversationList
Error (Xcode): Undefined symbol: _Open_im_sdkGetGroupsInfo
Error (Xcode): Undefined symbol: _Open_im_sdkGetGroupMemberList
Error (Xcode): Undefined symbol: _Open_im_sdkGetGroupMembersInfo
Error (Xcode): Undefined symbol: _Open_im_sdkSetSdkLog
Error (Xcode): Undefined symbol: _Open_im_sdkGetGroupApplicationList
Error (Xcode): Undefined symbol: _Open_im_sdkKickGroupMember
Error (Xcode): Undefined symbol: _Open_im_sdkLogin
Error (Xcode): Undefined symbol: _Open_im_sdkSetGroupInfo
Error (Xcode): Undefined symbol: _Open_im_sdkRefuseFriendApplication
Error (Xcode): Undefined symbol: _Open_im_sdkJoinGroup
Error (Xcode): Undefined symbol: _Open_im_sdkDeleteFromFriendList
Error (Xcode): Undefined symbol: _Open_im_sdkSetFriendListener
Error (Xcode): Undefined symbol: _Open_im_sdkCheckFriend
Error (Xcode): Undefined symbol: _Open_im_sdkSetSelfInfo
Error (Xcode): Undefined symbol: _Open_im_sdkInitSDK
Error (Xcode): Undefined symbol: _Open_im_sdkGetJoinedGroupList
Error (Xcode): Undefined symbol: _Open_im_sdkGetConversationListSplit
Error (Xcode): Undefined symbol: _Open_im_sdkDeleteConversation
Error (Xcode): Undefined symbol: _Open_im_sdkGetBlackList
Error (Xcode): Undefined symbol: _Open_im_sdkAcceptFriendApplication
Error (Xcode): Undefined symbol: _Open_im_sdkPinConversation
Error (Xcode): Undefined symbol: _Open_im_sdkInviteUserToGroup
Error (Xcode): Undefined symbol: _Open_im_sdkClearGroupHistoryMessage
Error (Xcode): Undefined symbol: _Open_im_sdkGetFriendsInfo
Error (Xcode): Undefined symbol: _Open_im_sdkGetConversationIDBySessionType
Error (Xcode): Undefined symbol: _Open_im_sdkGetConversationRecvMessageOpt
Error (Xcode): Undefined symbol: _Open_im_sdkSetConversationDraft
Error (Xcode): Undefined symbol: _Open_im_sdkMarkGroupMessageHasRead
Error (Xcode): Undefined symbol: _Open_im_sdkAddFriend
Error (Xcode): Undefined symbol: _Open_im_sdkRevokeMessage
Error (Xcode): Undefined symbol: _Open_im_sdkDeleteFromBlackList
Error (Xcode): Undefined symbol: _Open_im_sdkRefuseGroupApplication
Error (Xcode): Undefined symbol: _Open_im_sdkAddToBlackList
Error (Xcode): Undefined symbol: _Open_im_sdkSetConversationRecvMessageOpt
Error (Xcode): Undefined symbol: _Open_im_sdkGetFriendList
Error (Xcode): Undefined symbol: _Open_im_sdkCreateQuoteMessage
Error (Xcode): Undefined symbol: _Open_im_sdkSetFriendInfo
Error (Xcode): Undefined symbol: _Open_im_sdkGetTotalUnreadMsgCount
Error (Xcode): Undefined symbol: _Open_im_sdkSetGroupListener
Error (Xcode): Undefined symbol: _Open_im_sdkMarkSingleMessageHasRead
Error (Xcode): Undefined symbol: _Open_im_sdkSetConversationListener
Could not build the application for the simulator.
Error launching application on iPhone X.

你sdk的引用方式是哪一种


chore(deps): use latest version of dymension-rdk

can you please push your fix on top of main branch? seems like this fix was based on an old branch.

closing this as it's outdated


hack/high_cpu_usage

maybe closes https://github.com/OpenVoiceOS/OVOS-workshop/issues/151

can also put it behind a flag that only docker container sets, instead of being a default, but lets see what @goldyfruit tests have to say

Is this really tackling the problem?
I believe what @goldyfruit meant is that he uses multiple docker comtainers of which each container only runs one skill. The containers all run isolated, so each container only runs through this section once isn't it?
The problem, I believe comes from that when he boots, all those different containers are all started at once, so for the OS is looks similar as starting ovos-core multiple times at once, each of them loading one skill but any thread safe code within the conatiners doesn't know about threads in other containers. (? Assumption ?)
Not sure, you can fix this at the workshop level. Guess this needs to be solved on the OS level.
Or Python should be aware on a OS level of other python processes and the amount of threads.
Perhaps something like this;
https://docs.python.org/2/library/queue.html
But all that is out of my know how.

It helps a bit but more skill container I will have more the load will be.

Just retrieved without this PR and it seems better... Not sure why...


Mapping doesn't work when properties listed in different order

I have a demo where a mapping is repeatedly applied. If the properties of the data being mapped aren't listed in the same order as before, ko fails to bind correctly.
http://jsfiddle.net/mcintyre321/690rfud0/6/
To demo, hit the button in the fiddle. On the third click it should update to show the third data object, but it won't. Switching the 3rd data item for the commented version will make it start working.
I am trying to map different objects structures into the viewmodel, but alas, this is preventing me.

@mcintyre321 The reason why your demo fails is because the property thirdTypeProperty is not yet defined on the viewModel when type property is updated through ko.mapping.fromJS. Changing the order of the properties does fix this problem.
Updated example http://jsfiddle.net/690rfud0/11/
(Check browser's console)

Thanks for the answer, makes sense - I think I was trying to get ko.mapping to do something it wasn't designed for (dynamically add/remove properties on the target viewmodel).
I'm thinking about writing a plugin to apply jsonpatch documents to a knockout model to achieve what I'm after - unless you happen to know of any plugins that might do the same?

I know about http://coderenaissance.github.io/knockout.viewmodel/ but I don't use it, so I really can't say it has what you're after. But if you're implementing a new plugin I would be intrested to know about it :+1:

I'll keep you posted. There are lots of interesting things to be done with KO!


Reusable memory for compression output

compressBound often overestimates the amount of memory needed, meaning that we need to later allocate a second memory block with a smaller size than the original. However, this is very costly for large payloads. We would be able to mitigate this using a reusable memory block for compressing data.

does this first compress into the reused (probably thread-local) buffer and then gets copied to a user string? might this double the memory usage in the end?

Yes, currently temporarily.


cookies

@defunctzombie ? was this implemented?

@c4milo I have no idea what this issue is about. I am guessing some sort of cookies support but I have no clue. If cookies feature is desired, then I will review a PR if there is nothing that is currently offering a cookiejar.


libopus: 1.1.5 -> 1.2

Motivation for this change
https://www.opus-codec.org/release/stable/2017/06/20/libopus-1_2.html
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

see https://github.com/NixOS/nixpkgs/pull/26749


Search categories and books by category

I added a new endpoint to search categories
/api/v1/categories?title=
and extended the existing "books" endpoint to be able to search by category
/api/v1/books?category_id=11

@rumyantseva Can you please take a look?

Hi Stanislav! Thank you very much for your contribution. I like the results. I don't have any proper internet access to give a better feedback but I see a couple of things. CategoryId should be named as CategoryID, there was a guideline about it somewhere (I'll try to find it as soon as I'm online). Second thing: imports in the middleware/categories.go file are not formatted. Could you run go imports or at least gofmt against your changes?
These things are not critical at all but I believe that it might make sense to keep the source code as clean and as similar (in terms of naming and formatting) as possible.
Thank you again!

Hi Elena, thank you for your feedback! I am new to GO, so please feel free to point out any bad practices in my code :) Sure, I'll change CategoryId -> CategoryID and fix the imports format.
A separate question, in order to compile I had to manually replace imports like
"github.com/rumyantseva/mif/models" with "../models", is it because I have an incorrectly set project's GOPATH? Currently it is set to the project's root. Otherwise I get compilation errors related to the improper types.

Talking about "CategoryId" -> "CategoryID" you mean in the middleware/books.go, categoryId -> categoryID ?

Talking about "CategoryId" -> "CategoryID" you mean in the middleware/books.go, categoryId -> categoryID ?

@casper1149 yeah, this is what I meant :)

A separate question, in order to compile I had to manually replace imports like
"github.com/rumyantseva/mif/models" with "../models", is it because I have an incorrectly set project's GOPATH? Currently it is set to the project's root. Otherwise I get compilation errors related to the improper types.

Yes, it is because of the incorrect $GOPATH. And as I understand, you already know that relative imports are not a best practice and may cause problems and ambiguities. So, the project should be located like this: $GOPATH/src/github.com/rumyantseva/mif: inside of the $GOPATH you need to have src directory and store projects inside of this directory. When you use go get, the projects will be downloaded to $GOPATH/src automatically and, if there is smth to compile, as the result of go get the binaries will be located at $GOPATH/pkg and $GOPATH/bin.
If you have some reasons to keep different $GOPATH directories (e.g. for different projects or smth. like this), you can do it, just don't forget to change env variable, e.g. GOPATH=some_new_location go get github.com/casper1149/my-super-awesome-project.

By the way, this project structure is not a very good example... I'm going to restructure it a little bit (e.g. to move all command line and server entry points to cmd/, restructure handlers etc.

Thank you for the GOPATH explanations and for the invite :) Shall I continue using my own build or you are going to push the new version to the registry in the nearest future?

@casper1149 yeah, feel free to use your own build. Unfortunately, I don't have enough free time to provide all the necessary changes right now.
I will start refactoring from the import tools (data directory), these changes mustn't affect the API itself.

Sure, thanks!


BUG: ShapedImageNeighborhoodRange should not try to avoid rvalue offsets

One of the ShapedImageNeighborhoodRange constructors had a static_assert, trying to prevent users from accidentally passing a temporary 'rvalue' as container of shape offsets. Unfortunately, this did not completely ensure that the offsets would be kept alive, as long as the range would be used. While it would prevent a valid use case.
Instead of that static_assert, a note is added to the documentation, to make users aware that the shape offsets (and the image!) should remain alive while using the range.

I was triggered by the talk CppCon 2018: Titus Winters "Modern C++ Design" (after 17 minutes). Titus criticizes the use of deleted function overloads as a way to describe lifetime requirements. And I had to agree that it's better to just carefully document those lifetime requirements.

Thanks for the link to the talk Niels


Check why services don't seem to send events

If we create or delete a service, it does not seem to trigger an event.
something to check, maybe there is no watch api for services ? seems strange.

@runseb It does trigger an event, but there're some delays between creating service with event notify
2016-07-14 00:47:40.584260 I | {"Type":"ADDED","Object":{"metadata":{"name":"myapp.1460eb2dd207b40b","namespace":"default","selfLink":"/api/v1/namespaces/default/events/myapp.1460eb2dd207b40b","uid":"e4f9e4d7-4921-11e6-a43d-fa163eb208cd","resourceVersion":"1494687","creationTimestamp":"2016-07-13T17:47:40Z","deletionTimestamp":"2016-07-13T18:47:40Z"},"involvedObject":{"kind":"Service","namespace":"default","name":"myapp","uid":"b7546471-4921-11e6-a43d-fa163eb208cd","apiVersion":"v1","resourceVersion":"1494684"},"reason":"DeletingLoadBalancer","message":"Deleting load balancer","source":{"component":"service-controller"},"firstTimestamp":"2016-07-13T17:47:40Z","lastTimestamp":"2016-07-13T17:47:40Z","count":1,"type":"Normal"}}
2016-07-14 00:47:40.947446 I | {"Type":"ADDED","Object":{"metadata":{"name":"myapp.1460eb2de9126281","namespace":"default","selfLink":"/api/v1/namespaces/default/events/myapp.1460eb2de9126281","uid":"e5324a93-4921-11e6-a43d-fa163eb208cd","resourceVersion":"1494688","creationTimestamp":"2016-07-13T17:47:40Z","deletionTimestamp":"2016-07-13T18:47:40Z"},"involvedObject":{"kind":"Service","namespace":"default","name":"myapp","uid":"b7546471-4921-11e6-a43d-fa163eb208cd","apiVersion":"v1","resourceVersion":"1494684"},"reason":"DeletedLoadBalancer","message":"Deleted load balancer","source":{"component":"service-controller"},"firstTimestamp":"2016-07-13T17:47:40Z","lastTimestamp":"2016-07-13T17:47:40Z","count":1,"type":"Normal"}}

@runseb Ah, sorry, those are delete events, not create.

@runseb I fired an issue https://github.com/kubernetes/kubernetes/issues/28929 with no luck

@Gnouc I think Services actually don't send events. Or that we don't catch them with the API call we are using. So see #25

@Gnouc let's catch service creation with a simple watch API call on services....instead of events and I think you can close kubernetes/kubernetes/#28929


Incorrect docstring for path in load_edf

Expected Behavior
Docs for load_edf function correspond to the load_tdt instead.
https://naplib-python.readthedocs.io/en/latest/references/io.html#load-edf

Solved by 3314f8e65d00d2ced56ea1cb6c27f43755e1c0b9.


fix(strm-1588): require authentication for authenticated commands

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


⚠ Turnos 24x7 has degraded performance

In 0045ea4, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 970 ms

Resolved: Turnos 24x7 performance has improved in 7e59897.


modify 'class_wise_IU` logging

This is the 'class_wise_IU'. I want to modify the its log in wandb to have it visually tracable.
'class_wise_IU': array([0.69118123, 0.32474498, 0.17643695, 0.        , 0.44040612,
126        0.2937495 , 0.        , 0.03243989, 0.        , 0.        ,
127        0.        , 0.        , 0.        , 0.        , 0.00240512,
128        0.        , 0.        , 0.        , 0.14435879, 0.        ,
129        0.00274044, 0.15647806, 0.        , 0.        ])}

Log as a dictionary
# Prepare class-wise IoU for logging
class_wise_IU = evaluation_result['class_wise_IU']
class_iou_dict = {f"class_{i}": iou for i, iou in enumerate(class_wise_IU)}

# Log the class-wise IoU as a dictionary
wandb.log({"class_wise_IU": class_iou_dict})

TO DO: make class names appear

TO DO: make class names appear

Read the class names from the csv file provided in each folder of the dataset.
Make sure the correspondence is true
Make it appear in the wandb

# Prepare class-wise IoU for logging
class_wise_IU = evaluation_result['class_wise_IU']
label_desc = df['Desc'].tolist()
wandb.config.labels_Desc = label_desc
class_iou_dict = {f"class_{i}:{label_desc[i]}": iou for i, iou in enumerate(class_wise_IU)}

# Log evaluation results
wandb.log({"frequency_weighted_IU": evaluation_result['frequency_weighted_IU'],
            "mean_IU": evaluation_result['mean_IU'],
            "class_wise_IU": class_iou_dict,
            })

TO DO 2: Log  them in a table
Logging the class names their labels and the related IoU in a table
Solution
Using wandb.Table I logged several runs.
# Prepare class-wise IoU for logging
class_wise_IU = evaluation_result['class_wise_IU']

# Create a wandb.Table for class-wise IoU logging
class_wise_IU_table = wandb.Table(columns=["Class Name", "Class Index", "IoU"])

# Log the table to WandB
wandb.log({"class_wise_IU_table": class_wise_IU_table})

Issue: It logs a seperate table for each log and does not update the previous table with new data.
Solution 2
# Prepare class-wise IoU for logging
class_wise_IU = evaluation_result['class_wise_IU']

# Create a wandb.Table for class-wise IoU logging (initialize once)
class_wise_IU_table = wandb.Table(columns=["Class Name", "Class Index", "IoU", "Run Name"])

# Get the current run name (you can also use run.id if you prefer)
run_name = wandb.run.name

# Populate the table with class names, indices, IoU values, and run name
for i, iou in enumerate(class_wise_IU):
    class_wise_IU_table.add_data(class_names[i], i, iou, run_name)

# Log the table to WandB
wandb.log({"class_wise_IU_table": class_wise_IU_table})

I tried this logging with the run_name but it did not solve the problem.

TO DO 3: trying referencing the existing table
https://community.wandb.ai/t/is-there-a-way-to-only-update-specific-parts-of-a-table/1110/2


Raise when rand() will overflow

The rand() function accepts any Int or Int range, yet it works with Int32s, this means that rand() can silently overflow and return well outside the requested range. This should be detected and raise.

@RX14 I tried to see which cases can overflow and they currently raise, so we'll need some concrete cases to tackle this.

@asterite A simple rand(Int64::MAX) produces a negative number: https://carc.in/#/r/1axk

Same issue with ranges. I encountered this while trying to create random time values in a timespan using rand(). I eventually had to convert the ticks value to Float64 because Int32::MAX ticks is only about three and a half minutes!

Ah, interesting. I think that rand(Int64::MAX) should actually work and give a random Int64. In general, rand(T) should produce something of type T. It's a bit trickier with ranges, but we should do something similar.

I am working on improving the Random module. If I succeed, this will fix the mentioned errors.


MembersInvitations query In GraphQL v2 should return a collection

The recently introduced MembersInvitations query is not implemented using as a collection.
As a result, we still have to use this ugly pattern in the Frontend to count the number of invitations:
  query MemberInvitationsCount($memberAccount: AccountReferenceInput!) {
    memberInvitations(memberAccount: $memberAccount) {
      id
    }
  }

values={{ numberOfInvitations: data.memberInvitations.length }}

With a collection it would be more elegant:
  query MemberInvitationsCount($memberAccount: AccountReferenceInput!) {
    memberInvitations(memberAccount: $memberAccount) {
      totalCount
    }
  }

I had a hesitation about this when I introduced the feature and ended up not paginating because the number of invitations for a given account theoretically always stays low.
But that might not always be the case; for example, a spammer could abuse the endpoint and flood the invitations mutation. So paginating seems desirable.

I just checked, the number of member invitations per account was limited to 50 in the initial implementation. I've slightly changed the limit in https://github.com/opencollective/opencollective-api/pull/6489, but it's still impossible to have more than 59 invitations.
For this reason, I don't think it matters to paginate this endpoint.


Add license to packages

Added

Added license file to packages.

Changed

Changed license property to refer license file

Codecov Report

Merging #343 (819275a) into master (b4f4419) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #343   +/-   ##
=======================================
  Coverage   91.29%   91.29%
=======================================
  Files          60       60
  Lines         701      701
  Branches      121      121
=======================================
  Hits          640      640
  Misses         58       58
  Partials        3        3

Flag
Coverage Δ

iocuak
95.63% <ø> (ø)

iocuak-benchmark
∅ <ø> (∅)

iocuak-common
30.76% <ø> (ø)

iocuak-core
100.00% <ø> (ø)

iocuak-decorators
72.88% <ø> (ø)

iocuak-e2e
∅ <ø> (?)

iocuak-models
∅ <ø> (?)

iocuak-models-api
∅ <ø> (?)

iocuak-reflect-metadata-utils
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Gettoken.json Unexpected identifier

it always says that, how can I make the bot work, I am trying but can't do it :(

Follow the exact instructions, if you still get the error post it here


Have the container image launch buildbot-worker upon deployment

Need to make sure that once the container is live it is all set to go automatically. That way anyone can make a change here and have it live w/o permission issues.

https://devguide.python.org/testing/new-buildbot-worker/#conventional-always-on-machines

Might need to do this in a shell script for #3 to pass in the values via environment variables from something like Key Vault. Otherwise the values need to be present at the time of container creation instead of container execution.


Oh and could you bump the version? Or should I?

Thanks a lot for the contribution!


Add lazy pagination handling

The current pagination handling in lazy-github is setup to pull everything all at once. This doesn't work super well for certain situations, such as listing the issues on a very large repo. As an alternative, we should try and setup a custom variant of the datatable widget that will attempt to pull more data when you get close to the end of the currently loaded dataset.

Added in #9


Check if SSL is installed before all authentication.

SSL was only checked in backup.py, but it seems like it should always be checked before authenticating? I'm not sure what problem this actually fixed though.

LGTM.


Will not start: Ruby LSP client: couldn't create connection to server.

Ruby version
3.2.2
Code snippet
No response
Description
I installed the VSC extension, and selected rbenv as my version manager. When trying to run Ruby LSP: Start from the command palette, I get the following output. VSC, Ruby, Bundler are all up to date. VSC is connected to a remote machine, and the extension is installed on the remote. Thanks for your help
Ruby LSP> Running bundle install for the custom bundle. This may take a while...
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Bundler attempted to update ruby-lsp but its version stayed the same
Bundler attempted to update debug but its version stayed the same
Bundle updated!
bundler: failed to load command: ruby-lsp (/home/developer/.rbenv/versions/3.2.2/bin/ruby-lsp)
/home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/definition.rb:540:in materialize': Could not find <All of my gems listed here> in locally installed gems (Bundler::GemNotFound) 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/definition.rb:200:in specs'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/definition.rb:266:in specs_for' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/runtime.rb:18:in setup'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler.rb:162:in setup' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/setup.rb:23:in block in <top (required)>'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/ui/shell.rb:159:in with_level' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/ui/shell.rb:111:in silence'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/setup.rb:23:in <top (required)>' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:56:in require_relative'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:56:in kernel_load' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli/exec.rb:23:in run'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:492:in exec' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in run'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in dispatch'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:34:in dispatch' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in start'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/cli.rb:28:in start' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/exe/bundle:37:in block in <top (required)>'
from /home/developer/.rbenv/versions/3.2.2/lib/ruby/site_ruby/3.2.0/bundler/friendly_errors.rb:117:in with_friendly_errors' 	from /home/developer/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/exe/bundle:29:in <top (required)>'
from /home/developer/.rbenv/versions/3.2.2/bin/bundle:25:in load' 	from /home/developer/.rbenv/versions/3.2.2/bin/bundle:25:in '
[Error - 12:44:03 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 12:44:03 PM] The Ruby LSP server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 12:44:03 PM] Ruby LSP client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 12:44:03 PM] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
Expected output
I expect it to run without errors, as the docs say all I need to do is install the extension.

Thank you for the bug report! There seems to be some sort of mismatch between the time we run bundle install and boot the server. It successfully ran bundle install, but still didn't find the gems.
I'm not 100% sure, what's going on. Do you have any bundler configurations worth noting? E.g.: BUNDLE_GEMFILE or BUNDLE_PATH.
Do you get any different stack trace if you try to boot the LSP manually? You can do that by running ruby-lsp inside the folder for the project you're trying to use the LSP on.
There's a chance this might be the same problem as #738.

I get the same message when running ruby-lsp manually. I also tried removing the .ruby-lsp folder and re-installing the extension. I also made sure there were no old versions of it installed on my system. I also removed an old Ruby 2.7.0 folder in my vendor folder just in case.
There was a bundle config, so I removed it, and while it did get slightly farther (it installed Nokogiri) it then resulted in the same output.
Thanks again for your help!

@brian-nicholls , I was getting a similar issue but have since added 'ruby-lsp' to my app's main Gemfile and that seems to have done the trick. (although I realise this isn't recommended as per the current gem readme)

@brian-nicholls , I was getting a similar issue but have since added 'ruby-lsp' to my app's main Gemfile and that seems to have done the trick. (although I realise this isn't recommended as per the current gem readme)

@brian-nicholls , I was getting a similar issue but have since added 'ruby-lsp' to my app's main Gemfile and that seems to have done the trick. (although I realise this isn't recommended as per the current gem readme)

Thanks, I tried this and got the same result unfortunately

Yes it is printing vendor/bundle. I forget how I was checking that before, but it wasn't through a Rails console, so I guess I was doing it wrong. Thanks for your help! I will keep an eye on the other issue.


Dracula Theme - Hyperterm

New Theme
Hello, everyone. I created a theme dracula for hyperterm, i would like make my submission to dracula organization.
https://github.com/Adejair/dracula-hyperterm
Thanks for all.

Hello Adejair. We usually transfer the repository to the organization and then add the creator as maintainer. Are you OK with that?

OK, will be cool !!

@Adejair there is no code in your repository?

Ohhhh sorry, Hyperterm it download the dependencies in accordance with name in npm, because of that i had forgotten to add the source. I Added the source code on repository =)

OMG haha, I'd just been working on this too.
BTW, very nice @Adejair

Hey guys!
It's been a while since we started this thread. Let's create an official Hyper theme once and for all?
From my research I found these themes related to Dracula:

https://github.com/nerdpad/hyper-dracula
https://github.com/amorino/hyperterm-dracula
https://github.com/diegotoral/dracula-hyperterm
https://github.com/Adejair/dracula-hyperterm
https://github.com/ythecombinator/dracula-hyperterm

Is anyone of you interested in transferring your repository to the Dracula org and maintain it?
/cc @Adejair @lenovouser @ythecombinator @nerdpad @amorino @diegotoral

Just to be clear, I'd like to see all of us converging and contributing to one theme.
We'll need to transfer only one repository but that doesn't mean we need only one maintainer :)

Nobody?

Seems like most have not been updated in a while.
On Tue, Mar 7, 2017 at 10:35 AM, Zeno Rocha<EMAIL_ADDRESS>wrote:

Nobody?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dracula/dracula-theme/issues/202#issuecomment-284814350,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPOUNRSmkTuZbNgxMLSCI117ZVKyhNrks5rjaNugaJpZM4JORfx
.

--
We are prone to overestimate how much we understand about the world and to
underestimate the role of chance in events.
Please feel free to connect with me on LinkedIn.
http://www.linkedin.com/in/samzaydel

Yeah I don't mind any of these but I think some of the maintainers should respond

Hi @zenorocha, I'm interested in being a maintainer.
:)

Hi everyone!
I'm interested in being a maintainer too.  Let me know how I can help you.

Awesome! I sent an invitation to join the organization for both of you. The next step would be coming into an agreement of what is the best repository to migrate. If you don't have a place to chat, I'd recommend using Dracula's slack channel.
Once you decide which one we're going to use, we can move the repository to this organization and start making changes to improve it. Then, we can add a page on the website and share it with the world ;)

Ok, thanks @zenorocha
PS: you send the invitation ?

Yes @Adejair, you can accept it via email or at https://github.com/dracula.

Friendly ping @Adejair What is the status of the Hyper theme? I also tracked down @dangvanthanh who has a really good looking version for hyper at https://github.com/dangvanthanh/hyper-dark-dracula that we might consider.

Done!!!
https://draculatheme.com/hyper
https://github.com/dracula/hyper
https://www.npmjs.com/package/hyper-dracula
Thanks @dangvanthanh for your work and willing to maintain this project!
And thanks @nerdpad for providing the npm package!

For all the work package owners, I'd recommend trying this one out and sending feedback. I think it would be more beneficial for the project and community if we centralize all efforts into one instead of 5 different ones.


JSDoc hints from composables don't work in

Windows 10 WSL (Ubuntu)
VSCode 1.73.1
Volar 1.09 in take over mode
Using composition functions, JSDoc hints on hover for passed variables work:

only for <script>, not for <template>
only if /** */ comment is added inside of return statement, not above the definition.

This happens using both setup() and <script setup> syntax.
Example:
// useCat.ts
export const useCat = () => {

  /** DOESN'T WORK */
  const cat= ref('Meow!')

  return {
    /** WORKS */
    cat
    };
  };

// component.vue
<template>
<div :cat="cat">meow!</div> <!-- DOESN'T WORK -->
</template>
<script setup lang="ts">
const { cat } = useCat() // WORKS
</script>

With setup() syntax, the situation looks as follows:
return { cat: cat} // KEY DOESN'T WORK, VALUE WORKS

This is TypeScript's behavior and we can change it, you can open an issue at https://github.com/microsoft/TypeScript/issues if you think this behavior is incorrect.


Running kube-hunter.py is receiving an IndexError

What happened

I received the following error when running ./kube-hunter.py:

Traceback (most recent call last):
File "kube-hunter.py", line 33, in
from src.modules.report.plain import PlainReporter
File "/Users/i25814/testspace/kube/kube-hunter/src/init.py", line 2, in
from . import modules
File "/Users/i25814/testspace/kube/kube-hunter/src/modules/init.py", line 3, in
from . import hunting
File "/Users/i25814/testspace/kube/kube-hunter/src/modules/hunting/init.py", line 3, in
from .dns import *
File "/Users/i25814/testspace/kube/kube-hunter/src/modules/hunting/dns.py", line 8, in
from .arp import PossibleArpSpoofing
File "/Users/i25814/testspace/kube/kube-hunter/src/modules/hunting/arp.py", line 9, in
from scapy.all import ARP, IP, ICMP, Ether, sr1, srp
File "/Users/i25814/testspace/kube/kube-hunter/venv/lib/python3.7/site-packages/scapy/all.py", line 27, in
from scapy.route import *
File "/Users/i25814/testspace/kube/kube-hunter/venv/lib/python3.7/site-packages/scapy/route.py", line 194, in
conf.route = Route()
File "/Users/i25814/testspace/kube/kube-hunter/venv/lib/python3.7/site-packages/scapy/route.py", line 27, in init
self.resync()
File "/Users/i25814/testspace/kube/kube-hunter/venv/lib/python3.7/site-packages/scapy/route.py", line 35, in resync
self.routes = read_routes()
File "/Users/i25814/testspace/kube/kube-hunter/venv/lib/python3.7/site-packages/scapy/arch/unix.py", line 82, in read_routes
netif = rt[4 + mtu_present + prio_present + refs_present + locked]
IndexError: list index out of range

pip freeze provides the following:

certifi==2019.9.11
chardet==3.0.4
future==0.18.1
idna==2.8
netaddr==0.7.19
netifaces==0.10.9
packaging==19.2
prettytable==0.7.2
pyparsing==2.4.2
requests==2.22.0
requests-mock==1.7.0
ruamel.yaml==0.16.5
ruamel.yaml.clib==0.2.0
scapy==2.4.3rc1
six==1.12.0
urllib3==1.24.3

I am using python 3.7.4 in a virtualenv on MacOS 10.15

I received the same indexerror
Traceback (most recent call last):
  File "kube-hunter.py", line 33, in <module>
    from src.modules.report.plain import PlainReporter
  File "/Users/adyrcz/Linkfire/Security/kube-hunter/src/__init__.py", line 2, in <module>
    from . import modules
  File "/Users/adyrcz/Linkfire/Security/kube-hunter/src/modules/__init__.py", line 3, in <module>
    from . import hunting
  File "/Users/adyrcz/Linkfire/Security/kube-hunter/src/modules/hunting/__init__.py", line 7, in <module>
    exec('from .{} import *'.format(module_name))
  File "<string>", line 1, in <module>
  File "/Users/adyrcz/Linkfire/Security/kube-hunter/src/modules/hunting/dns.py", line 8, in <module>
    from .arp import PossibleArpSpoofing
  File "/Users/adyrcz/Linkfire/Security/kube-hunter/src/modules/hunting/arp.py", line 9, in <module>
    from scapy.all import ARP, IP, ICMP, Ether, sr1, srp
  File "/Users/adyrcz/.local/share/virtualenvs/kube-hunter-lLs8vCzO/lib/python3.7/site-packages/scapy/all.py", line 27, in <module>
    from scapy.route import *
  File "/Users/adyrcz/.local/share/virtualenvs/kube-hunter-lLs8vCzO/lib/python3.7/site-packages/scapy/route.py", line 194, in <module>
    conf.route = Route()
  File "/Users/adyrcz/.local/share/virtualenvs/kube-hunter-lLs8vCzO/lib/python3.7/site-packages/scapy/route.py", line 27, in __init__
    self.resync()
  File "/Users/adyrcz/.local/share/virtualenvs/kube-hunter-lLs8vCzO/lib/python3.7/site-packages/scapy/route.py", line 35, in resync
    self.routes = read_routes()
  File "/Users/adyrcz/.local/share/virtualenvs/kube-hunter-lLs8vCzO/lib/python3.7/site-packages/scapy/arch/unix.py", line 82, in read_routes
    netif = rt[4 + mtu_present + prio_present + refs_present + locked]
IndexError: list index out of range

I removed the version pinning and installed the modules and I'm up and running now...
I dont have the time right now, but I'll go back and return the versions to the pinned version from the reqirements.txt to determine which module is causing the indexerror.

Hi @yusufscott , thanks for reporting!
I tried to reproduce the error you get by installing your pip freeze state inside python:3.7.4 docker container.
Running ./kube-hunter.py --remote <my-cluster-ip> finished successfully.
Do you use the current master branch (8cc90db)?
Can you provide the command line you used to run kube-hunter?
What type of cluster did you scan (GKE, EKS, etc.)?

I suspect this is a macOS issue, let me dig further.

This is a scapy bug that is fixed in version 2.4.3.
We need to update the requirements file respectively.


Cannot find package.json error

I'm getting this error on<EMAIL_ADDRESS>Wish I can help debug, but I don't know where to start looking.
→ rm -rf node_modules
→  ied i
[=========================     ] 80.98%/Users/rsc/.nvm/versions/node/v4.1.0/lib/node_modules/ied/lib/install_cmd.js:65
        if (err) throw err
                 ^

Error: Cannot find module '/Users/rsc/Projects/.../node_modules/.tmp/5bba49cf-1574-48bc-96f8-40c2e8d0782e/package.json'
   at readPackage (/Users/rsc/.nvm/versions/node/v4.1.0/lib/node_modules/ied/lib/install.js:38:11)
    at fn (/Users/rsc/.nvm/versions/node/v4.1.0/lib/node_modules/ied/node_modules/async/lib/async.js:746:34)
    at /Users/rsc/.nvm/versions/node/v4.1.0/lib/node_modules/ied/node_modules/async/lib/async.js:1213:16
    at /Users/rsc/.nvm/versions/node/v4.1.0/lib/node_modules/ied/node_modules/async/lib/async.js:166:37

That folder has these:
→ cd node_modules/.tmp/5bba49cf-1574-48bc-96f8-40c2e8d0782e

→  grep -E 'name|version' package/package.json
  "name": "babel-register",
  "version": "6.4.3",

→  find .
./node_modules
./node_modules/babel-register
./package
./package/lib
./package/lib/browser.js
./package/lib/cache.js
./package/lib/node.js
./package/package.json
./package/README.md
./package/src
./package/src/browser.js
./package/src/cache.js
./package/src/node.js

it seems like a duplicate of this #59. Also I have a possible fix in the #60.
@rstacruz could you please try to install my patched version and check it again?

How can I do that/

npm install -g ied@just-boris/ied#patch-1

Neat! I'm getting this error now, but I'm sure it's a totally different issue:
[==============================] 97.93%/Users/rsc/.nvm/versions/node/v4.1.0/lib/node_modules/ied/lib/install_cmd.js:65
        if (err) throw err
                 ^

Error: No satisfying target found for<EMAIL_ADDRESS>

Yes, this probably an another issue with semver.
Btw, semver says that your package version is invalid. Use this instead: 3001.1.0-dev-harmony-fb

gotcha... but this is a dependency of another dependency, and I've no idea which one it may be.

@rstacruz get the same problem, how do you solve that?

Nothing special in pnpm about this... Semver.maxSatisfies() handles that
version just fine.
On Tuesday, February 23, 2016, Jogis<EMAIL_ADDRESS>wrote:

@rstacruz https://github.com/rstacruz get the same problem, how do you
solve that?
—
Reply to this email directly or view it on GitHub
https://github.com/alexanderGugel/ied/issues/63#issuecomment-187582870.

Oops, well, in ied... Boris solved it with his patch.
For what it's worth, Esprima-FB is now deprecated. Esprima (upstream)
already supports es6 constructs.
On Tuesday, February 23, 2016, Rico Notifications <
<EMAIL_ADDRESS>wrote:

Nothing special in pnpm about this... Semver.maxSatisfies() handles that
version just fine.
On Tuesday, February 23, 2016, Jogis<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

@rstacruz https://github.com/rstacruz get the same problem, how do you
solve that?
—
Reply to this email directly or view it on GitHub
https://github.com/alexanderGugel/ied/issues/63#issuecomment-187582870.

I've used Boris's patch.In order to make ide work.But I have to install babel-core by hand because ide only install 5.x version of babel-core,which I declare 6.x in package.json.


TIC-114 Front-End Active Events Component Rework

Description
Switching to drop down selection to Group Toggle MUI design component that is it's own file for re-usability.
Before:

After:

Risks
None currently, just front-end work.
Validation
Manual Testing
Issue
Link to corresponding issue
Operating System
Win10/Chrome

New changes include:

FontWeight: Bold
Added defaultValue to component & associated files which need to include "defaultValue"
Renamed files, component name, and labels.


How to get the debian cloudImage working

Discussed in https://github.com/kairos-io/kairos/discussions/954

Originally posted by nano2007 February 24, 2023
I am trying to follow the documentation to create a debian based cloud image. The yaml file for creating the osartifact manifest is:
kairos-debian.yaml.txt
I then create a VM in a KVM box by importing the created raw disk image. Here are the boot logs:
kairos-debian-boot.log
After the VM boots, I do not see an installation or reboot happening.
The same config file works for the opensuse:latest image (where I can see the installation and reboot and the COS_STATE and COS_PERSISTENT partitions exist after the reboot).
Any help is greatly appreciated. Thank you !

Same problem seen with ubuntu:latest too.

Hey @nano2007 :wave: we did released 1.6.0 that had bunch of fixes, some regarding debian especially. Is the issue persisting? I can't notice nothing wrong in your setup for now

Hey @nano2007 👋 thanks for bringing this up!
we did released 1.6.0 that had bunch of fixes, some regarding debian especially. Is the issue persisting? I can't notice nothing wrong in your setup for now

I did try the 1.6.1 release and this is fixed. Thanks @mudler :)
There are some problems I am facing though (not all of them related to cloudImages):

The machine gets an IP address from via dhcp, but there is no /etc/resolv.conf and hence all name resolutions fail. If I do a "dhcpclient " then the /etc/resolv.conf file gets created.
I am trying to do some customisation of the image , but I am not able to figure out what lifecycle-events are applicable for a cloudImage creation.
Also does auroraboot support creation of cloudImages? I do not see an option for this in the docs.

 Is the issue persisting? I can't notice nothing wrong in your setup for now

I did try the 1.6.1 release and this is fixed. Thanks @mudler :)

Awesome! glad to hear! Can we close this issue right?

There are some problems I am facing though (not all of them related to cloudImages):
* The machine gets an IP address from dhcp, but there is no /etc/resolv.conf and hence all name resolutions fail. If I do a "dhcpclient " then the /etc/resolv.conf file gets created.

Sounds like a bug to me

* I am trying to do some customisation of the image , but I am not able to figure out what lifecycle-events are applicable for a cloudImage creation.

Can you expand in a thread? I'd be happy to help, but I need a little bit of more context

* Also does auroraboot support creation of cloudImages? I do not see an option for this in the docs.

At the moment it doesn't, please file up a ticket for it so we will extend it :)
Could you file up separate bugs/discussions so we can tackle them in our sprints? thank you!

resolved by release 1.6.1.
For the other problems I am seeing I will start new discussion threads/bugs.
Thanks!


NTR: extracellular defense response

Please provide as much information as you can:

Suggested term label:
extracellular defense response

Definition (free text)
Excreted proteins with bacteriolytic activity to destroy pathogenic bacteria extracellular.

**Reference, in format PMID:

PMID:38017607

Gene product name and ID to be annotated to this term
noxA / DDB_G0289653
aplA / DDB_G0284043

*Parent term(s)

GO:0006968 cellular defense response

or GO:0006952 defense response

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

extracellular lysis

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

It's know that even human has extracellular killing of bacteria but it hasn't been sudied much. In Dicty they see in this paper when Pseudomonas aeruginosa comes near Dicty cells in majority of cases they are extracellular killed. Only 12% are internalized and kil2 / DDB_G0279183 is neccessary to kill them in phagocytes efficiently.

Hi @pfey03
This is mixing a BP and a CC. How about using 'GO:0031640 killing of cells of another organism' + CC = extracellular; would that work?
Thanks, Pascale

Hi @pgaudet Can I link then the two annotations? I will check in P2GO how to link them best and write it here.
Thanks for giving me that killing term.
Petra

I'm interested more generally in how we want to annotate processes like this.
We seem to have several potential aspects of classification, and corresponding terms, in the ontology:
where (extracellular in this case)
what (defense response, in this case to a Gram negative bacterium)
how (cell killing seemingly by different mechanisms?)
It'd be helpful to have a consistent way to capture this information.

I have annotated for noxA
'GO:0031640 killing of cells of another organism as main term
part_of cellular defense response
occurs_in extracellular region
I also need to annotate other genes


WIP: node resizer and parentExtent, parentExpand behaviour improvements

closes #3473

Child nodes get positioned correctly when resizing parent (top/left)
extent="parent" gets respected during resize of children
extent="parent" & expandParent gets respected during resize of parent
resizing (top/left) of a child with expandParent does not cause moving away of node
all of the above works for keepAspectRatio

🔥🔥🔥 super nice update. Thanks @peterkogo


link.d.ts: The expected type comes from property 'to' which is declared here on type ...

Describe the bug
I have a type error when using  component.
Your Example Website or App
https://codesandbox.io/p/github/tiavina-mika/vite-template
Steps to Reproduce the Bug or Issue
here
The warning:

Expected behavior
There should be no warning
Screenshots or Videos

Platform

OS: Windows10
Browser :Chrome
Version: 1.15.16

Additional context
No response

You will only get typesafety if you build the route tree as explained in the docs: https://tanstack.com/router/v1/docs/framework/react/guide/code-based-routing#manually-building-the-route-tree


Specify search_path during example app migrations

Ticket
n/a
Changes
see title
Context for reviewers
PR #327 fixed an issue that wasn't detected on the platform-test repo since platform-test didn't specify the search path when logging in to the database, so the migrations table still created successfully on the public schema.
This change specifies the search path to restrict table creations to the app schema as specified by the DB_SCHEMA environment variable
Testing
developed and testing the change on the platform-test repo by running the Deploy workflow directly from the feature branch: see PR https://github.com/navapbc/platform-test/pull/21
Ran deploy manually from the branch on platform-test

Good suggestion, made the suggested change and tested it


Support localhost and container connection?

I have a condition like this:

one client in localhost
one client in the docker, and the docker is in localhost.
I want to connect them use fast-rtps. Is this condition support? How to deal with it?

This purely a docker container configuration question. Seems that you were answered in #7995. I'm closing the issue but if you need more information feel free to reopen it.


Add FireWall Shaper support please

Hi, thank you for your hard work to make this amazing api,
and I am wondering if you can add the support for Firewall-Shaper functions, I would appreciate it, thank you very much!

Hey!
Thanks for the request. This is a great suggestion. I can take a look at the traffic shaper code and see how difficult it will be to implement into an API endpoint. If it's pretty straightforward I can probably squeeze it into the next minor release. I'll update this issue when I've had the chance to look further.
Thanks again!

Thank you for your work! I am looking forward to it~


Unable to use your component with react app

First of all thanks for your work, this component is exactly what i need for my project. However i've encountered an error while trying to use it.
Do you know how can i fix this problem?
Thank you
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
▼ 2 stack frames were expanded.
resolveDispatcher
node_modules/@optum/json-schema-editor/node_modules/react/cjs/react.development.js:1465
useState
node_modules/@optum/json-schema-editor/node_modules/react/cjs/react.development.js:1496
▲ 2 stack frames were expanded.
JsonSchemaEditor
src/index.tsx:39
  36 |  */
  37 | const JsonSchemaEditor = (props) => {
  38 |     const [isAdvancedOpen, setIsAdvancedOpen] = React.useState(false);
> 39 |     const [currentLens, setCurrentLens] = React.useState(new Array());
  40 |     const focusRef = React.createRef();
  41 |     const { onSchemaChange } = props;
  42 |     const onCloseImport = () => {
View compiled
▶ 18 stack frames were collapsed.

Same problem here

Same problem here

@tlindener & @encryptedcat53

Sorry for the delay in response. The control was created essentially as a proof of concept, that made it a lot further than anticipated. However, due to other priorities, it's taken me this long to coming back around to the control.
I have made some adjustments to to the control

new state management under the hood for better performance
react is now a peer dependency

I have tested with CRA version 17 and worked for me locally.


KeyError: 'client-certificate'

Hi,
I followed this https://pypi.python.org/pypi/pykube/ to query for all ready pods. I'm getting the KeyError: 'client-certificate' error.
>>> import operator
>>> import pykube
>>> api = pykube.HTTPClient(pykube.KubeConfig.from_file("/root/.kube/config"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/site-packages/pykube/http.py", line 33, in __init__
    self.session = self.build_session()
  File "/usr/local/lib/python3.5/site-packages/pykube/http.py", line 57, in build_session
    self.config.user["client-certificate"].filename(),
KeyError: 'client-certificate'

Im using Python 3.5

Same error here, in python 2.7

Same issue with python 2.7.6 when pip install pykube.
Thanks for @parasit  and it works after python setup.py install with the latest source code.
I think this's resolved and you're welcome to close it 😃

I think this is due to a change in the kube config schema, probably due to the 1.3.x kubectl client.
a006ed80327a8add6ba7c8d4c88f3c479b87a4f1 seems to put in a fix for the error.
Given that the current release is broken against kubectl v1.3 without this fix, can we get a new pypi release please?

When can we expect the next pypi release so that pip install pykube doesn't give this issue since its fixed in the source code?

Very soon. I need to review a couple more things before the release, but haven't had the time yet. I'll make that time today or tomorrow.

v0.13.0 has been tagged and released.


Update launch.json-fast

Fixed missing delay between "continue" and "clear main".

Replaced /dev/ttyACM2 with /dev/ttyACM0

Added udev rules to FAQ


update table doc

for large tables at least, the values have changed.
and use a linked array list to preserve order of the columns.

plus https://github.com/twosigma/beakerx/pull/7014


oss-fuzz-checkout: enable using own venv

This is useful when having a shared virtual environment with other projects. For example, on my local dev I use a virtualenv environment with both fuzz introspector and oss-fuzz-gen requirements, but this is currently being blocked by the logic here trying to launch a new venv.

/gcbrun exp -n dg

The experiment failed due to a key error when not in a venv.
BTW, I often use -n dg to name experiments because that's my name (DongGe), please feel free to use other names for yours : )

/gcbrun exp -n dgk


fix blurry titles and image by avoiding non-integral positions and sizes

The title and image in the button could appear blurry because of non-integral values for x/y and width/height. See attached images.

@martinhoeller Thanks！


Unable to create user Request or Response types for un-implemented API endpoints.

The SDK currently does not implement all API endpoints, e.g. https://developers.afterpay.com/afterpay-online/reference#get-payment-by-order-id and https://developers.afterpay.com/afterpay-online/reference#reverse-payment-by-token. If an SDK user would like to create their own Request types to implement those missing APIs, it is impossible to use the base Request as-is, due to these lines:
src/HTTP/Request.php line 517.
        $preferred_response_class = str_replace('Afterpay\SDK\HTTP\Request', 'Afterpay\SDK\HTTP\Response', get_class($this));
        if (class_exists($preferred_response_class)) {
            $this->response = new $preferred_response_class();
        } else {
            $this->response = new Response();
        }

If the user has created a class Usernamespace\SDK\HTTP\Request\GetPaymentByOrderId, then the string replace function will not change anything. The conditional on the next line will be true, which means the response property will be set to the custom Request class.
In order to fix this issue, we could rewrite the above lines like so:
        $class_name = get_class($this);
        $preferred_response_class = str_replace('Afterpay\SDK\HTTP\Request', 'Afterpay\SDK\HTTP\Response', $class_name);
        if (strpos($class_name, 'Afterpay\SDK\HTTP\Request') === 0 && class_exists($preferred_response_class)) {
            $this->response = new $preferred_response_class();
        } else {
            $this->response = new Response();
        }

Now, the automatic determination of the Response class will only be performed for Afterpay-created Request types.

Hi @digitalengineering,
Thanks for raising this; it's certainly a valid concern.
Ideally, there would not be any Afterpay API endpoints not covered by the Afterpay SDK for PHP. Instead of allowing the Request classes to be extended, another suggestion would be to update the SDK to provide coverage for the missing endpoints.
An internal ticket has now been raised to provide coverage for GetPaymentByOrderId and ReversePaymentByToken. A review of the API documentation will also be conducted to identify any other endpoints not covered by the SDK.
Open to any further suggestions or discussion.
Thank you.


Pygments syntax highlighting colors

Raising this to track inaccuracies in syntax highlighting compared to our style guide and/or the VS Code / Neovim ports (commonly the authoritative source for syntax highlighting these days).
Section in question: https://github.com/catppuccin/python/blob/main/catppuccin/extras/pygments.py#L34-L115
I haven't had a chance to take a full look but you can see why I am raising this visually at https://github.com/catppuccin/userstyles/pull/1253#discussion_r1741124578.

Should I PR this? When theming https://github.com/catppuccin/userstyles/pull/1253 I effectively fixed a lot of issues with pygments highlighting
Topmost is my new version, the one on the bottom is the current one

https://learnxinyminutes.com is the perfect playground to fine-tune and test this, since they have all sorts of languages and are using pygments

Should I PR this? When theming https://github.com/catppuccin/userstyles/pull/1253 I effectively fixed a lot of issues with pygments highlighting

PR what though? You had classes in that userstyles PR and this uses named tokens.   I took a look earlier and it looked in order, seems like maybe an issue with subpar grammars and the current state being tailored to Python presumably.

the current pygments integration was very roughly based on the state of jetbrains and vscode as of nov 16, 2022. it wasn't entirely accurate and on top of that we've made quite a few changes the syntax colours since then so it's definitely in need of some TLC. pygments can be a pain to style because it's quite hard to find any actual documentation on it and it's also not the easiest thing to test.
i'd love a PR that either updates the colours to better fit the style guide and/or improves the testing story!


Sample apps fails to connect to TLS enabled clusters that don't need client certs

sslmode is set to disabled by default. TLS can be enabled for postgres without a client cert, so it seems that we could use the default sslmode which is 'prefer' instead of disabling it outright.
Test Plan: Run against a cluster with TLS enabled but no client sort, verify connectivity works.

bq. but no client sort
Did you mean 'no client cert' ?


Yatin: Watch<PHONE_NUMBER>4

Yatin requests the watch of the watch_number<PHONE_NUMBER>4. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Makyen in Charcoal HQ


.NET Core 2.0 support

Has CrossCutterN .NET Core 2.0 support?

Hi @Suriman ,
I would like to have this tool to support .net core 2.0 very much. And I've verified that this tool can work with netcore2.0 if compiled under it. However, there are some limitations or concerns for compiling it under netcore2.0:

Mono.Cecil doesn't support reference to Interfaces with generic types for netcore 2.0, this can have a work around with a little effort.
Mono.Cecil doesn't support strong naming for netcore 2.0, this can have a work around to fix the compiling issue, however strong naming feature won't work until Mono.Cecil supports it.
NUnit doesn't seem to work with netcore 2.0 or netstandard 2.0. So though the tool works, test cases can't be executed to guarantee the correctness.
Currently appveyor doesn't seem to very well support compiling projects targeted to multiple frameworks with netcore 2.0 or netstandard 2.0.

Having all the concerns above, it you still would like to verify it with netcore 2.0 soon, I may consider building one new branch for it. But still, considering support is not so ready for netcore 2.0, waiting for a while to have a more mature environment seems to be wise.
What would you think?

Hi @keeper013. For points 1, 2 and 4 I think we will have to wait. To point 3 could also wait or change the framework to MSTest.

Hi @Suriman,
Please correct me if I'm wrong. I was under the impression that mstest only exists in Windows operating system. To ensure the platform independence of CrossCutterN (e.g. to be built in Windows and Linux and Mac under .net framework, .netcore and mono), NUnit is the so far the best choice I found.
Thanks.

Hi @Suriman ,
Please check netstandard branch, it is tested locally for netcore2.0 and .net framework 4.6.1.
Please note that strong naming feature doesn't work for this branch, as we'll need to wait for Mono.Cecil to complete it.
Currently this branch doesn't work in appveyor CI, we still need appveyor to complete it's support for .netstandard and .netcore. However, the branch is tested ok locally.
Please get back to me if anything is missing or not working correctly.
Thanks.