feat: allow underscores in integer literals

Description
Problem*
Resolves #3283
Summary*
This PR adds support for underscores in numeric literals. This is restricted to not allow multiple underscores in a row and a literal cannot start or end with an underscore.
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

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

Doesn't seem necessary but @noir-lang/developerrelations will defer to you guys on if we want to showcase this in our docs / educational materials.

Thanks for the tag. Didn't know this was even possible in Rust!


Any tips for new implementation?

Hi, I'm planning to write a c# implementation (ultimately to use it for nip77: https://github.com/bezysoftware/netstr/issues/25
Do you have any tips? I briefly went thru your blog post and the js implementation, do you think thats a good place to start, draw inspiration from the js version?

Hi! Yes, I would start from whichever implementation you are most comfortable with. JS is a good one, although there are a few patterns with buffers that probably don't directly translate to other languages.
Once you have it developed, please build a harness program so it can run against the test-suite.
Let us know if you hit any problems. Thanks!

Hi, my implementation is ready, running tests against js implementation passed 🎉

Thank you! I added a link to your repo in the Implementations section of the README.

...and then I notice that your PR already did it. Merged :+1:


[BUG]  error failing to build the package for ROS noetic

Describe the bug
I'm using Ubuntu 20.04 and Ros noetic, i tried to build the depthai-ros for noetic but get an error failing to build, here are the details:
_______________________________________________________________________________
Errors     << depthai_bridge:make /home/kiira/catkin_ws/logs/depthai_bridge/build.make.000.log
/usr/bin/ld: /opt/ros/noetic/lib/x86_64-linux-gnu/cmake/depthai/dependencies/lib/libspdlog.a(spdlog.cpp.o): relocation R_X86_64_TPOFF32 against `_ZGVZN6spdlog7details2os9thread_idEvE3tid' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /opt/ros/noetic/lib/x86_64-linux-gnu/libdepthai-core.a(CalibrationHandler.cpp.o): relocation R_X86_64_PC32 against symbol `_ZGVZN3dai7Logging11getInstanceEvE7logging' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/depthai_bridge.dir/build.make:284: /home/kiira/catkin_ws/devel/.private/depthai_bridge/lib/libdepthai_bridge.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:249: CMakeFiles/depthai_bridge.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/kiira/catkin_ws/build/depthai_bridge; catkin build --get-env depthai_bridge | catkin env -si  /usr/bin/make --jobserver-auth=3,4; cd -

...............................................................................
Failed     << depthai_bridge:make                  [ Exited with code 2 ]
Failed    <<< depthai_bridge                       [ 43.4 seconds ]
Abandoned <<< depthai-ros                          [ Unrelated job failed ]
Abandoned <<< depthai_examples                     [ Unrelated job failed ]
Abandoned <<< depthai_ros_driver                   [ Unrelated job failed ]
Abandoned <<< viso2                                [ Unrelated job failed ]
_____________________

i tried the solutions in the issue section but didn't success.

Hi, this is related to https://github.com/luxonis/depthai-ros/issues/540, you should be able to build if you run sudo apt update && sudo apt upgrade


Upgrade to ESLint 2

ESLint 2 is already well in Beta.
It seems that the remaining issues are nearing zero.
An upgrade should be feasible in early February.

ESLint v2.8.0 was recently released.  The 2.0.0 milestone issue list referenced in this issue is now empty (all closed).
HoundCI cited this project as their blocking dependency before upgrading to ESLint 2.  Any interest in a breaking change to make your config 2.x-compatible?

Sorry for the confusion.
@islemaster I no longer work for littleBits and have seen no activity on this project since I left.
@gylaz Unless someone from littleBits takes charge of this project (its been months now without activity...) then I think you should remove this as a HoundCI dependency. I say this as a personal opinion, not an employee of littleBits, obviously.

Upgraded.

Awesome, thank you for the rapid response!

Sweet, thanks @sch : )


Volume/nexus/info entry remain even after deleting the volume

Describe the bug
A clear and concise description of what the bug is.
One of the entry in etcd remains after deleting the app and pvc/pv
To Reproduce
Steps to reproduce the behavior:

Install the app
Note down the etcd key values
Delete the app and ensure pvc is also deleted (reclaim policy delete)
Check the etcd key values. Note, all key values are deleted except the below one.
/namespace/mayastor/volume/cf7eb7fe-1a91-4b25-9546-181a222cf69b/nexus/66e60328-1cb8-4851-bf33-94645c58dcdb/info

Expected behavior
A clear and concise description of what you expected to happen.
I think this must also be removed since user has removed everything include the volume
Screenshots
If applicable, add screenshots to help explain your problem.
** OS info (please complete the following information):**

Distro: [e.g. NixOS]
Kernel version
MayaStor revision or container image

Additional context
Add any other context about the problem here.

@hasethuraman, without delving into the code I suspect we're only clearing the volume spec and not the entire volume entry when we delete a volume, we should definitely do it, good catch thanks.

@mittachaitu did we discuss that the advantage of retaining this entry?

Synced up with @mittachaitu. Please ignore my earlier comment. There is no benefit.

@mittachaitu did we discuss that the advantage of retaining this entry?

May I know if I can pick up this and try providing a fix?

Hey @hasethuraman sorry I completely forgot about this.
I just tested this, it's pretty bad!
The problem is that volume destroy only deletes the info if the target exists: control-plane/agents/src/bin/core/volume/operations.rs:165 -.-
If you want to pick this up please go ahead, but if don't have time please let me know as we probably want to fix this for the next release.
Thanks!

Thanks @tiagolobocastro. Let me try and see if I can get a PR by next week. Hope that works.

That'd be great, thank you!

Forgot to close this, fixed by @hasethuraman :)


Escape link dialog with Esc key

It would be very nice if we would escape ESC the Ctrl+l (add new link) dialog after opening it.

Fixed in the v5.


Rewrite Vue charts code

Fixes #5089 .
Changes proposed in this pull request:

add "resize-detector": "^0.2.1"
This library is the one that the official Vue version of echarts relies on, so I also quoted
add shardingsphere-ui/shardingsphere-ui-frontend/src/components/ChartBase/index.vue
This is a secondary development, which is not completely consistent with the official code

Can you add the licenses and notice information to LICENSE and NOTICE file?

Can you add the licenses and notice information to LICENSE and NOTICE file?

sure，I'll add it now


Networking

Adds ability to define port mapping for containers to be deployed. Also adds field for IP address info for job host machine.

What's the motivating use case for this?

We are working on a TES based Jupyter hub launcher ( https://github.com/ohsu-computational-biology/tesnotebookspawner ).

@kellrott The docs in that repo don't really explain the why and how, could you provide more details? I could see me opining that something like this goes beyond what I'd personally view as the scope for TES but that's difficult for me to confirm or deny at the moment ;)

In essence, we have a Juypter launcher that can use TES to start up new Juypter kernels (the actual process doing the compute for the code you are interacting with in the notebook server). The web server needs to be able to interact with the job it launched and does so by connecting with the kernel runner on the worker node and pushing the user interaction requests to it.
I think this feature opens up some cool possibilities, and doesn't create huge issues for implementors. The main reasons for this are:

It doesn't do anything more then use the existing -p flag in the docker command. So conformance/implantation isn't onerous, we're simply uncovering a feature that was already there.
This doesn't require/enable the creation of a synthetic network, much like kubernetes or docker-compose would be doing ( see https://github.com/coreos/flannel ). That kind of configuration is more high level and is best left to those systems. This is just exposing a port on the host machine.
We can stipulate in the spec that if the request does't meet with the a deployments requirements (maybe an implementation/specific deployment disables this feature completely) they are allowed to reject the task request with error. In essence, its an optional feature/extension for the spec.

Gotcha, that makes sense. :+1:

The message type is PortMapping and the attribute name is portBindings, they should be the same. hostIP could just be ip. containerPort could be container and hostBinding could be host.

I don't agree that a task should fail if the port is already used on the worker. The implementation should know not to schedule a task on a worker with a conflicting port. If there are no workers available, the task should stay queued.
This is an important bit of semantics that can't be properly captured in a schema. We should think about where we want to document expected runtime behavior.

hostBinding is documented as required but it's not actually required.

Just as a note (and this probably needs to be fixed other places) we should probably follow the protobuf style guide: https://developers.google.com/protocol-buffers/docs/style

Thanks for the feedback. I pushed some changes to address the comments from @buchanae


Add newcomer label to issues

It would be good for newcomers who want to help ooc/rock to be able to find issues that are easy enough to fix and would help them become familiar with the rock codebase. So I think tagging suitable issues as 'newcomer' would be good. Are they any suitable issues at the moment?

It is actually pretty tricky to say if an issue is going to be easy for a newcomer or not because of the nature of the problem.
Even what appears to be a trivial bug can be caused by a bizarre set of reasons.
I would actually say that adding features is easier than solving most bugs, if you keep a couple of things in mind (avoid double evaluation, replace nodes only when/if needed, use common roots for type inference).
I would say #985 and #992 should be fairly simple at the moment. #990 must be pretty simple if this is a parser bug, which it probably is.


Correct spelling of "depedency"

depedency -> dependency

@andresnava : Thanks for your contribution to the Azure documentation! The author, @mrbullwinkle, has been notified to review your proposed change.

#sign-off


tags, categories and keywords

From @msooon on July 8, 2014 10:8
would it be possible to merge tags, categories and keywords
from logical point of view they should be all the same
It would also helpful to have a hierarchical structure like in some cms systems (e.g. drupal, wordpress)
For example if you choose tag linux you also get debian.
and alias for tags/categories
for my personal use I built a system working this way:
http://msoon.bplaced.net/IN/video/infosystem.webm
Copied from original issue: friendica/red#528

From @solstag on July 9, 2014 4:12
Ni! Hi Msoon,
They're not the same at all:
Example of a popular tag that is a meaningless category: #calabocagalvao
Example of a useful category that is a useless keyword: {samba bands from northeast Brazil in the mid twenty century}
Example of an excellent tag for this discussion that would be an inadequate keyword for it: #rtfw (read the fantastic wikipedia)
Regarding their use in the RedMatrix, there are the additional facts that categories are set by the owner of a post and keywords are set by the owner of a profile, while tags can be set by anyone with permission.
About hierarchies, they usually only apply to categories, and yes it'd be nice to implement them. Yet no, I don't think it's in the immediate priorities of any contributor, except if perhaps you'd be interested :)
Cheers!

From @msooon on July 10, 2014 14:10
Hi solstag,
thanks for commenting. I think that's very popular way inspired by twitter. In my opinion it's not the best way.
#calabocagalvao I don't know ;-)
There is also much intersection. It's both a way to mark sth with a topic.
The way it's implemented doesn't tell me what's the advantage of it.
If you (the core developers) are interested I can maybe try to develop sth like that. At least I know some difficulties implementing hirarchy, alias and so on.
best wishes

From @friendica on July 11, 2014 1:25
It's all about your intended search scope.
Categories are used by post authors to categorise them as you might find in a blog. Categories are owned by the post owner and if you find all the posts with category 'foo' written by Bob, you won't see all the posts with category 'foo' written by Mary. So in this case your search scope is "by author".
Tags are used to combine similar post and make them searchable no matter who wrote the post. If you search for tag #foo you'll find posts by Bob and Mary and anybody else who has used that tag (even from other sites). It's a community tag rather than a personal tag. In this case your search scope is "all content".
Keywords are used for searching people and profiles, rather than searching content. .  Yes, we could implement them as tags. The reason they aren't at the moment is purely historical. In this case the search scope is "people" or "channel profiles" and specifically not content.
Hierarchy is a nice-to have. It wouldn't be difficult to implement. I've worked with hierarchical taxonomies many times. What I can tell you is that hierarchy is easily understood by IT professionals, but is very difficult to present to end-users/site-members in a way that doesn't confuse them.
I thought I provided for hierarchy by adding a parent fields to our term (taxonomy) DB, but it appears that I neglected to do so when I created the table. I have always thought that this would useful; but since I didn't need it immediately I left this for future work. We can add it at any time, but it would be nice to see some kind of mockups of how this would be presented to end-users/site-members. We get slammed a lot by folks for not making the interface easier to use. The last thing we want to do is make it more complicated; unless this is hidden from new members and enabled as an optional feature or addon.  You're more than welcome to work on such a feature.

From @msooon on August 4, 2014 13:46
not urgent for now but for future development.
I'm still convinced that merging category, tags and keywords would be the best way.
If I search for the category it finds everything. If combine it with the user it finds only that from the user. If I combine it with channel it only finds channels.
It could be remain in the interface the way it is but in the database it should be one thing. Other way it unnecessary bloats up if there are often 3times the same entry.
Ok the way it is implemented now is different. I'm not sure if it's possible to establish order and get good performance.
In my opinion a category/tag should only be differ in visibillity and access permission. E.g. Channel owner and other with permission can change channel categories.
About the hirarchy.
You are right. Implementing is not the problem only using it effective.
Nevertheless it could be good implemented as hidden feature for the begin.
I could imagine the functionality that way:
In field of category a user can add \ or / and auto completion suggestion of existing sub category
It would be similar as in my single user system, what you can see at time 12:10
http://msoon.bplaced.net/IN/video/infosystem.webm
I have some more idea but that would be to much for the moment. I will try try to build a complete concept.

From @friendica on August 5, 2014 20:44
Your input is valuable - but please try and recognise where we are coming from. We have a very good structure for this - a taxonomy database table (implemented in this project as the 'term' table). This is a general purpose structure which can hold many different kinds of word based namespaces and search on them. You will find similar concepts in WordPress and Drupal, both of which have the ability to store and manage and search multiple taxonomies and use them for different purposes. This is a concept used by thousands of software projects. WordPress for instance has both tags and categories in its table. It doesn't have keywords - because the typical WordPress site has only a few people at most and you generally aren't searching its user database for common interests.   Drupal has close to a hundred different namespaces in its table. There's no reason to smush different namespaces together. For instance we also store mentions in our term table. Would you say that a mention and a tag and a category are all the same? They are not. Each is used for different purposes.
As mentioned earlier in this thread I'm fine with somebody adding hierarchy. I thought I added it in the beginning but neglected to at the time as i didn't require it at the time and so that was just an oversight. Hierarchy is useful in classification trees. It could be useful in categories, but It's not so useful in free tagging. Making it useful ifs a very difficult UI problem. Adding slashes is fine for us geeks, but most normal humans will find it complex and won't bother with it. We know that from experience. That's why the large global providers don't have it.

From @ghost on August 4, 2014 14:26
Wouldn't it be easier to just not activate features you don't want?

From @msooon on August 8, 2014 8:57
I didn't want criticize the project structure. I only think some improvements could be possible.
Oh Wordpress has tags. As I worked with it some years ago, it only had categories. But it was allready possible to use more than one category for item. At beginning of tags many systems use one category and some tags to mark item.
Drupal - ok you can create other structures and tags can be build hierarchical.
Maybe I don't see some technical details how you use tags for now.
I will try to give some examples which show problems of most systems.
I could tag something with red or redmatrix or red-matrix
or in category maybe software/social-network/redmatrix
But if I search for redmatrix I want to find all. If a topic exists I want to use a auto completion.
My suggestion was to let it exist in Web-interface.
If I click on categories on channel it would still be possible to search for the combination of the category and the channel.
To find all redmatrix stuff alias could help.
If I search a event I don't care if it's tagged with sports or in category sports.
both for assignment.
Another idea is that you have this information in some tables
permission_group, visibility_group, edit_group
I always try to find a general approach to have a consequent way to handle stuff.
All of it is an information assigned with whatever to handle it.
I hope some of this is useful.

From @msooon on August 5, 2014 13:50
I want to try to help the project. If this some day will get a huge information database I think it's important to be well organized at least as best as possible.
I don't know if it all works if it's getting really huge. Ok Facebook uses also mysql with lot of caching afaIk. Most other especially google nosql.
But actual my intension was that a good structure/database concept in this part could help in many places. maybe also building cleaner extra functionality.

From @friendica on August 8, 2014 13:1

I hope some of this is useful.

Certainly. There's always room for improvement.
Aliases are great. Add them if you want. Hierarchy is great, Add it if you want.  Merging different taxonomies is a bit problematic. They have different scopes and different purposes. I won't try and claim for a minute that we do everything in the best way possible, but what we do we do for a reason.
If you want to change how something works today or discuss better ways of doing things, don't bring it up here. Bring it up on Channel One. Let those people using the system tell you what they want to see and who would be affected if you did it differently. This is a bug/issue tracker. Let's use it for tracking bugs/issues. I'm seeing this as a general feature request without a clear definition of the feature being requested. Spell it out.

Add hierarchy to taxonomy
Add aliases to taxonomy
something else

Then we've got something we can track and we can prioritise it based on who is affected adversely (and how badly they are affected) by not having it. If you want to discuss these things or general project data structures and how they can be improved, let's do it in the matrix; and then bring it back to the issue tracker once we have a clear idea of where we're going with it.

@msooon This issue is closed because Redmatrix evolved into Hubzilla. When this is still an issue in the most recent version of Hubzilla, please recreate this issue over there. We're sorry for any inconvenience this will maybe give you.


destory session when refrsh_token expired

When refresh_token expired, user are forced logout on Browser and have to signIn again.
But AuthSession is not destory on the Database
Changes:

delete expired session when refresh_token expired

the correct method is destroy()
https://github.com/Lodimup/next-django/blob/19a5abe0d6d0376c52625caceee8ccb3dcf774c5/gateway/app/appaccount/models/auths.py#L57
so future hooks will also be called.


Insertion Sort

Add a solution program for insertion sort in any programming language

I want to work on this issue

I want to work on this issue..I can provide the solution in C/C++

I want to work on this issue

I want to work on this issue

I can do this in Python.

@dcod3r please specify the language you want to give the solution

I want to work on this issue in C

@Anoushka-Ghosh assigned the issue for C solution

I want to work on this issue in C

Please update contributors.md @Anoushka-Ghosh

i would like to work in c++.

I want to work on this issue in C++

I would like to provide a solution with  a code in Java


Are you familiar for orientation detection(Rotation Detection) in c++, especially in dlib dnn?

Are you familiar for orientation detection(Rotation Detection) in c++? The output is rotated rectangle instead of horizontal bounding box. Thank you a lot for your advice!

I have never tried myself, but doesn't seem that hard... You would need to modify the YOLO loss to output an extra feature (x, y, w, h, o, r) where r would be the rotation angle, and then train with rotated rectangles.

No, I don't, what I'd like to do at some point though is to improve the bounding box regression, to be similar to the one in YOLOv4 and others, that is, to use cIOU.


delete pkg/dart_messages

Unified frontend FWT!

@peter-ahe-google @kmillikin @bwilkerson – is pkg/dart_messages used at all any more?

It is not currently being used by the 'analyzer' package, but there's a chance that we might choose to resurrect it in the near future. Let's hold off on removing it and re-ask the question in a couple of weeks.

I think we can delete it. If we want to resurrect it, we can restore it from the git history.


Dialog.show({...}) is not showing properly for first time

When I open the app and run Dialog.show({...}), the box doesnt show up properly. And if I open it for a second time it open with no problems.

@sirtok4 I don't know your exact usage but it can't be used on first render because the script needs to get the REF,
You must include Dialog.show in a callback function for example return from submit or click button
Or try with the useLayoutEffect hook

I will try it! Yea, Im using it in callbacks. It runs well but the box seems to disappear in 1 second.
Im using expo, so I updated the dependence react-native-safe-area-context. I hope it works now

@sirtok4 I pushed a fix for you normally it's ok try with the update


webhook: Addition of dnsPolicy for deployment in helm chart

Signed-off-by: Jim Conner<EMAIL_ADDRESS>

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
N/A

License
Apache 2.0

What's in this PR?
Adds adidtion of dnsPolicy definition to helm chart, values.yaml, and documentation to README.md
Why?
We recently switched to using celium as our CNI. When using celium in certain modes, it's required to run pods using webhooks with hostNetwork: true. When this is the case, dnsPolicy must be set to ClusterFirstWithHostNet. Unfortunately, this requires us to now self-manage the helm chart. This change, if merged to upstream, would allow us to again start sourcing the publicly available chart.
Checklist

[X] Code meets the Developer Guide
[X] User guide and development docs updated (if needed)
[X] Related Helm chart(s) updated (if needed)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you! Please bump the chart version @notjames

Thank you! Please bump the chart version @notjames

Done. I wasn't sure if CI would do that automatically or not.

I think another version change sneaked in on upstream for this chart.

I think another version change sneaked in on upstream for this chart.

rebased and bumped version.


Add rekalljs package

cc @njlxyaoxinwei
We should put the non-vgrid-related Javascript serialization logic in the rekalljs submodule. Ideally the JS interface would be nearly the same as the Python interface.

JS serialization seems very coupled with VGrid (drawtypes etc). What is the non-vgrid-related logic in this case?
We can indeed have a rekalljs that provides a similar interface in JS, and a generic framework for interval JSON serialization from python to JS. But given our one single use case (i.e. VGrid), I doubt the generic solution is worth doing at the moment. Are there any other immediate use cases you have in mind?
I can see a rekalljs being useful if you need to do a lot of the same interval calculus in VGrid, but I'm less certain about the JSON serialization part.

The main point of putting rekalljs inside rekall is that we can have the JS API track the Python API, so if Python API changes, we can update the JS accordingly. It's less meant for generality than for just separating out related parts of the codebase. If VGrid is relying on a Rekall interface but just in Javascript, might as well keep all those parts colocated.
The JSON serialization in this module would just handle intervals, interval sets, and video interval collections and be parameterized by a function to serialize payloads. The rekall/vgrid glue library would provide the functions for serializing VGrid payloads, which is articulated here: https://github.com/scanner-research/vgrid/blob/redesign/src/interval.tsx#L8-L14

I see. Completely agree. Sorry I was confused about the serialization part but it is now clear.
LGTM. Thanks!


Cask Error (Cask Convolution execution) when using with Flask

Hi,
I am running into multiple Cask errors when using the Yolov3 TensorRT with Flask. It works fine by itself, but gives [TensorRT] ERROR: cuda/caskConvolutionLayer.cpp (256) - Cask Error in CheckCaskExecError: 7
I have tried the suggestion posted below, but that didn't work:
device = cuda.Device(0)
context = device.make_context()

// TRT engine create_execution_context()
// do inferencing

context.pop()
del context

Please suggest how to go about solving this. It might be a problem specifically to Yolo

You are going in the right direction.  You just need to figure out how Flask creates threads.  And make sure you "make cuda context", "create tensorrt execution context" and "do inferencing" all in the same thread.

Closing this issue since there's no update for over a month.

Please find a solution here: https://github.com/jkjung-avt/tensorrt_demos/issues/213#issuecomment-691826122.  Be sure to git pull the latest code from this repo.
In addition, @Papageno2 is kind enough to share full working source code here: https://github.com/jkjung-avt/tensorrt_demos/issues/213#issuecomment-691940559.  I think it would help.


[MAINT] Remove conda from CI Linux  Workflows

The Linux build in the CI is failing because conda is installing a version of neuron without MPI support. Removing conda solves this issue for the linux CI workflow.
Solves #780

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

Project coverage is 92.49%. Comparing base (819f4f4) to head (9a94859).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #794      +/-   ##
==========================================
+ Coverage   92.33%   92.49%   +0.16%
==========================================
  Files          27       27
  Lines        5059     5343     +284
==========================================
+ Hits         4671     4942     +271
- Misses        388      401      +13

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

Looks like 3.11 is failing with the same error as 3.12 mentioned in #796 :face_with_diagonal_mouth:

Looks like 3.11 is failing with the same error as 3.12 mentioned in #796 🫤

I think they fail on hnn_core/tests/test_parallel_backends.py:test_mpi_failure
It's failing in 3.9, 3.10 and 3.11 on all runners.

@gtdang @ntolley @jasmainak
It appears that NumPy 2.0.0 was released last week, and they have removed the deprecated function np.in1d. This function is used in multiple parts of our project

What should be the next steps?
It doesnt fail in python 3.8 because it uses Numpy 1.94

@gtdang @ntolley It seems 3.11 and 3.12 fail at the same point, but I can take care of it on another PR.
This one works on 3.8, 3.9 and 3.10. Please review it.

Btw, in mne-python etc., we make our CIs fail if there are deprecation warnings ... it catches these issues early.

Looks good. What is your thought on two separate runner scripts vs a single one? A common code path (with if-else in appropriate places) would reduce likelihood of bugs ...

@gtdang @ntolley @jasmainak I removed the linux_unit_tests.yml , and I put linux and mac workflows in the same file with conditionals around the required steps for each OS.
Please review.

Beautiful, thanks @kmilo9999 !!


How to install pinpoint in weblogic

How can i install pinpoint in weblogic? is there any documentation for that?

https://github.com/pinpoint-apm/pinpoint/tree/master/plugins/weblogic
Please refer to the link above.


Don't crash on folder deletion with tests

Initially an attempt to fix #8 but it looks like @gaearon beat me too it with #9 !
Anyway in my attempt I set up some basic mocha tests for the plugin so I thought I would submit a PR with them (and the fix from @gaearon) anyway.

Great, thanks!

Thanks for quick merge.


How long dose the model loading take?

Hi,
Thanks for your great work!
When I opened some 'index.html' files, such as sketcher, sentiment-classification, fast-style, texter and face-segmentation, the model loading seems cannot stop. Could you please tell me how to run your html files and how long should I wait until I can tell something is going wrong?
Best,
Amose.

@Amose-Yao please check the console if there is no error. The loading time should take less than 10s depending on your internet connection.


GitLab CI does not test NMODL's analytic sympy solver

The CPU
https://github.com/BlueBrain/CoreNeuron/blob/9c821d51e90237827e5e70fe76748bc54612913a/.gitlab-ci.yml#L74
and GPU
https://github.com/BlueBrain/CoreNeuron/blob/9c821d51e90237827e5e70fe76748bc54612913a/.gitlab-ci.yml#L93
builds of CoreNEURON against NMODL do not set the sympy variant, so the sympy analytic solver is not tested in the CI.
It would be good to also test this code path. Ideally we would not add more builds to the CI, so it might be better to extend some relevant tests (configured in NEURON) to duplicate themselves with sympy --analytic where CoreNEURON and NMODL are enabled.

Note that we do now set +sympy in one of the three CoreNEURON + NMODL builds: https://github.com/BlueBrain/CoreNeuron/blob/fa24f3eab580160f0ec790ef9e99af12adf78475/.gitlab-ci.yml#L128
but I still like the idea of extending the test suite in NEURON to cover more of these cases inside a single build.

I think the residual part of this issue is covered by https://github.com/BlueBrain/CoreNeuron/issues/344


Create 0.1.1 release with #73

Hey there! Any chance you could cut a v0.1.1 release that includes #73 ? I saw it got merged and it will close some open defects in a project of mine.

Sorry for the delay, just published it to npm 🎉

Thank you!!


Parse version/service and remove generateVersion()

See #655.
Note that this should not be merged until the internal #120830848 makes to public.
This PR

removes generateVersion()
parses the JSON output from gcloud app deploy to get version and service info (this is a bit ugly)

Unlike JavaScript, parsing JSON in Java was a bit of a pain. Because we don't know the exact format/type of the JSON output and it may change in the future, I took an approach of manually going over each JSON element to try best to extract the version/service info. I wonder if there is a nicer way.
An example output:
        {
          "configs": [],
          "versions": [
            {
              "id": "20160429t112518",
              "last_deployed_time": null,
              "project": "springboot-maven-project",
              "service": "default",
              "traffic_split": null,
              "version": null
            }
          ]
        }

Probably, I should move parseDeployOutputToModule() to the AppEngineUtil class and write a test.
Tried basic testing, and undeploying (stopping) works correctly.

Did an overhaul to use a JSON-matching class for deserialization as @etanshaul suggested. Now this is much better. It resulted in a few FindBugs warnings of accessing seemingly uninitialized values of this JSON-matching class. I will think about what I can do with the warnings.

Also moved the static JSON-parsing function to AppEngineUtil.

Added parsing tests.

Come to think of it, a fix to this #655 is tricky to roll out. Unless a user upgrades our plugin and gcloud at the same time, things will not work. We are not in an ideal world, so probably this PR needs to attempt to parse JSON first with the old format and later with the new format.

We already face this situation with the cloud sdk version. If the deployment fails (for whatever reason) we print out a message suggesting to the user to upgrade to the latest version. See AppEngineDeployAction#processTerminated

Or, since everything is BETA, we could just not care about breakages caused by using wrong gcloud.

Okay, I will do the same thing to print out an upgrade message.

You shouldn't have to. Its already handled. Just make sure the deployment fails if the output isn't what you expected.

I noticed that this parsing routine is executed only when you click 'Undeploy'. Deployment can go fine but parsing can fail.

Ah you're right. Its a little tricky then because this parsing occurs outside the context of a command line process.

Notable changes since last commit:

Refactored DeploymentRuntimeImpl to be a top-level class.
Moved parsing to the constructor.
If the JSON parsing fails, the 'Undeploy' menu item will be disabled (grayed out).
Added one more test case for parsing.

Tested this with both on the public gcloud (old format) and the internal gcloud (new format). Undeploy works correctly with the new JSON format.
I still need to address issues reported by FindBugs that is confused by Gson's magical field initialization (i.e., de-serialization). I will have to use FindBugs annotations.

Parsing is done in AppEngineDeployAction. Moved tests as well.
DeployOutput Gson-object methods can now return null.
Renamed to AppEngineDeploymentRuntime.

consoleLogLn, and print the message whenever it fails to get version and service.
logger.error instead of logger.warn. This allows user bug reporting.
No unnecessary check at the beginning of AppEngineDeploymentRuntime.undeploy() as @etanshaul suggested.

When using the current gcloud:

When using the new gcloud:

If all comments are addressed: :ship:


"ADD TO CART" BUTTON DESIGN

Inline with our "session of Buttons", We would be building different kinds of buttons..
Design a Button that looks like the button in this image...
Create a file "ADD_TO_CART_BUTTON_BY_YOUR_NAME.html" in the modules/buttons folder.
Use simple HTML and CSS to create the button. You can use the interface development https://kwickerhub.com (This project) or you can write the lines of code yourself.
Step by Step Guide.

Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend

Open your code Editor and Create a file ".html" in the "modules/buttons" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder "modules/buttons/images_and_icons". We recommend you use an svg for your image/icon.

Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository

git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.

Make you Pull Request... if you do not know how to go about it, Just visit your fork on GitHub and you would see the button/suggestion to make a pull request to this project(the upstream)

Good-luck.
You can check out examples from the "modules/buttons" folder.
For some additional info, You should read the instructions.txt file in "buttons" folder.

I am interested to work on this issue under Quine. So please assign me this issue to me.

i have created a pull request under SSOC please review it.

Hi @NtemKenyor
Can you please assign this issue to me. I would like to work on this.


python3Packages.graphtage: init at 0.2.5

Motivation for this change
A utility to diff tree-like files such as JSON and XML
Things done

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

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 114546 at 4589100c run on aarch64-linux 1

6 packages built:

python37Packages.graphtage
python37Packages.json5
python38Packages.graphtage
python38Packages.json5
python39Packages.graphtage
python39Packages.json5


CLOUD-45510: ARM downscale fix

@doktoric or @keyki pls review

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1885/

Deallocation takes a long time, do we need it?

@keyki I created a jira to investigate the deallocation


[8824] Run Xtext builder even when build automatically is unchecked

Merged into department branch for Raven enhanced 8270_raven_enhanced


How do I change the format so that it looks exactly like the format in Github?

I planned to use Github to host tutorials I'm creating.  I like how my markdown files are formatted in Github.  However, I don't want the features for code sharing (e.g., Fork Button) to appear since I'm using it more of a Blog rather than as a code repository.
I recently discovered Gitpages and saw that I can quickly create one using Jekyll Now.  I'm able to transfer my tutorial to my Gitpages using Jekyll Now.  However, the format of the blog is not the same if compared to viewing the same markdown file using Github.
I think it has something to do with templates.  But I have no idea on how to configure the _config.yml file so that my Gitpage will have the same format has Github.
May I request your assistance on this?
Attached are the screenshot of my Blog in github (the format I like) and the one in gitpage (the format is wrong but I want to use this because it removes the unnecessary buttons that appear in Github).

Thanks.
alexis

First point on code sharing, if it's hosted on github, it's sharable. However, you can create private repositories, but there is a charge per month for that.
Second point on formatting, you have a couple options. Build a widget and use custom CSS or use Github Gits but keep in mind, everything Jekyll does, Jekyll Now does not.


docs(kong-manager): openid-connect

🚧 WIP

Description

Testing instructions
Preview link:
Checklist

[ ] Review label added
[ ] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

KAG-3159

@lena-larionova Could you help us to get a review, please? The code freeze date is closing.

Hello @lena-larionova - I have left some <!-- FIXME !!! ... --> sections in the documentation to be fixed. Could you help me replace them with condition statements?–I did not find a way to compose a complex condition like if VERSION gte 3.5 and VERSION lt 3.6. Thanks!

I will rebase this PR to resolve conflicts.

Could you help us to get a review, please? The code freeze date is closing.

Working on it. Docs don't need to be merged by end of code freeze, they just need to be started 😄 Otherwise we'd never get reviews in time.
FYI - As of yesterday, we have simplified the docs process for upcoming version. We're no longer using version branches for development, so you just need to open PRs against main. I just reset this branch based on the new release approach. We'll be using conditional tags (if_version) + a dev version.
I'll take care of adjusting the rest of this PR as well.

@sumimakito updated a bunch, applied version handling, and added some summary tables to easily see the new params at a glance. When you're looking at the preview, switch to the dev version of the doc to see it:
https://deploy-preview-6794--kongdocs.netlify.app/gateway/dev/kong-manager/auth/oidc/configure/
https://deploy-preview-6794--kongdocs.netlify.app/gateway/dev/kong-manager/auth/oidc/mapping/
https://deploy-preview-6794--kongdocs.netlify.app/gateway/dev/kong-manager/auth/oidc/migrate/
vs
https://deploy-preview-6794--kongdocs.netlify.app/gateway/latest/kong-manager/auth/oidc/configure/ (etc)


Flatten

Codecov Report

Merging #21 into master will decrease coverage by 1.86%.
The diff coverage is 90.47%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage     100%   98.13%   -1.87%
==========================================
  Files           8        9       +1
  Lines          87      107      +20
  Branches       11       13       +2
==========================================
+ Hits           87      105      +18
- Misses          0        2       +2

Impacted Files
Coverage Δ

src/functions/index.ts
100% <100%> (ø)
:arrow_up:

src/functions/flatten.ts
89.47% <89.47%> (ø)

Continue to review full report at Codecov.

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


Time-lapse video conversion is not working

Hello there :)
I'm trying to get a video time-lapse but when I click on Start convert the new thumbnail gets stuck on Busy.
I've checked scheduleLog.txt and I can see the command that executed for the conversion
[2020/05/07 16:00:22] start lapse convert:(/usr/bin/ffmpeg -f image2 -i /var/www/html/media/t0000/i_%05d.jpg /var/www/html/media/tl_0000_0001_20200507_150439.mp4 ; rm -rf /var/www/html/media/t0000;) >/dev/null 2>&1 &
[2020/05/07 16:00:22] Convert finished

But it says finished at the same time it gets triggered, which is weird. I copied the command to run it myself: /usr/bin/ffmpeg -f image2 -i /var/www/html/media/t0000/i_%05d.jpg /var/www/html/media/tl_0000_0001_20200507_150439.mp4:

And that is true, there is no directory t0000 inside media:

Any idea of what is going on here?
This is a fresh installation of RPi_Cam_Web_Interface, am I missing any extra configuration?
Thanks!

I did a quick test and it seemed to work for me.
The actual time lapse images are normally in the main media folder. When a convert is started then a subfolder is created (like t0000) and the files copied (symlinked) into there and renamed to i_xxxxx.jpg. AFter the conversion is done then the folder and all these temporary files are removed. So the separate manual run of the command is not going to work because those temporary files will no longer be there.
One thing you can do is to temporarily change the preview.php code so that this removal is not done. This will allow you to check out the command manually.
To do this edit the preview.php in /var/www/html
Around line 237 there should be a line
$cmd = "(" . str_replace("i_%05d", "$tmp/i_%05d", $cmd) . " " . BASE_DIR . '/' . MEDIA_PATH . "/$vFile ; rm -rf $tmp;) >/dev/null 2>&1 &";
Remove the rm part like
$cmd = "(" . str_replace("i_%05d", "$tmp/i_%05d", $cmd) . " " . BASE_DIR . '/' . MEDIA_PATH . "/$vFile ) >/dev/null 2>&1 &";

I'm getting the same issue. I click on Start convert,  it creates a 48 byte mp4 file every time.
I was successfully creating time lapse files the last time I used the software (in September). I did an apt upgrade and ran update.sh yesterday. That combination seems to have broken something. Everything else in RPi_Cam_Web_Interface seems to be working correctly.

Thanks for your reply @roberttidey
So I followed your advice and when trying to convert it manually:

Seems like a problem with permissions which, on the terminal, make sense I guess, so I run it again with the user www-data and that seemed to work, I'm able to watch the video on the web interface:

Here you can see the owner and permissions for each directory:

I face the same issue. The log file says it's finished converting in the same second it started.
Though ffmpeg is stuck busy and never seems to finish. I tested this on a small 22 frame timelapse to ensure there are no resource constraints.

I've still been running into this issue.
I tried messing with permissions, changing preview.php...
I think it just turned out that the default convertCmd.txt isn't suitable for the low-end devices like the Raspberry Pi Zero.
The "Convert finished" message is printed to the log immediately, and the return value of ffmpeg isn't used anywhere.
My pi was running out of RAM (I think) and killing the process, even with very short timelapses.
Also, the "Busy" tile in the file view appears as soon as there's a thumbnail, named *.mp4.*.jpg, and persists, whether it's actually busy or not.
So by just limiting the output resolution with -vf scale=512:-1 it completes properly. Although it still says "Convert finished" immediately.

The ffmpeg conversion is quite compute intensive which is why it struggles on lower spec pi.
Originally it used a gstreamer method which was much more efficient and faster as it used the GPU to do the heavy duty work. Unfortunately, some years back something got broken in gstreamer which caused errors with this and this is why it was switched to ffmpeg.
It is possible that gstreamer has been fixed so it might be worth given that another go.


Serde for R lists

It would be nice to provide conversion to/from structs using #[derive(Serialize, Deserialize)]
This should be fairly straightforward to do if anyone felt like a challenge.
eg.
#[derive(Serialize, Deserialize)]
struct Fred {
  x: String,
  y: f64,
}

fn consume_list(list: Robj) -> Fred {
   // Call from_robj on every member of Fred.
   Robj::from_list::<Fred>(&list).unwrap()
}

fn produce_list(fred: Fred) -> Robj {
  // Call from<Robj> on every member of Fred.
  Robj::to_list(&fred)
}

Note that the default behaviour on structs is to convert to/from
an EXTPTRSXP.

One issue to consider: Each additional external dependency slows down compile time. Maybe this should be implemented as an optional compile-time feature that is off by default? I'd argue the same for the code that requires ndarray.

If we care about the compilation time, maybe we can use a feature flag for serde? For ndarray, there might be other choices as Rust has many math libraries (nalgebra, cgmath, euclid, glam...), which I always get lost about which one to choose...

If we care about the compilation time, maybe we can use a feature flag for serde? For ndarray, there might be other choices as Rust has many math libraries (nalgebra, cgmath, euclid, glam...), which I always get lost about which one to choose...

@yutannihilation for serious linear algebra, you still need Eigen or Armadillo.

We need an Eigen for Rust soo badly :grimacing:  Oh for the time to do this. sigh.

I agree that fewer default dependencies are bad. *ndarray should be non-default, but supported. Yes, indeed serde should be a feature.

We can benefit from some tricks mentioned here to "pre-build" dependencies:
https://github.com/rust-lang/cargo/issues/2644
For example, for the skeleton template setup, it's already a valid rust crate and can be built. The dependencies can be reused unless the user called cargo-clean.


Is the solution file missing?

I am trying to build this using Visual Studio 2019

Hi @ghstahl. Yes the .sln file was removed because I only work on Pitstop in VS Code. If you want to work in VS, you can create a new solution and add the projects to it. Sorry for the inconvenience!

Hi, @EdwinVW . Thank you for great demo example of Microservices arhitecture. =)
I've imported all the projects to new solution file in VS2017. Now I would like to debug them via VS2017 so I've added Container-Orchestrator Support for each project (Docker-Compose), but I've realize that original dockerfile(s) and docker-compose.yml is not working anymore out of the box. Is there any chance to provide us modified dockerfiles and docker-compose.yml to be able to debug all services via VS2017. Or maybe is there any other more elegant solution to debug microservices via VS2017?
Thank you for your time and reply.


fix: change dependabot to monthly

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


[TW#27713] How do I find out ESP32 transceiver state?

Hello guys,
We are going to use external RF power amplifier. We need to know which state ESP32  RF transceiver  has currently (transmit or receive) so we could change RF amplifier mode. Does esp-idf has some functions to find out ESP32  transceiver state?
Thank you.

https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/wifi.html#wi-fi-multiple-antennas
But I don't think it works for bluetooth yet?

@MegaGarynych
Hi, you could try the following out:
void gpio_out_tx_status()
{
wifi_ant_gpio_config_t config_gpio;

config_gpio.gpio_cfg[0].gpio_select = 1;

config_gpio.gpio_cfg[0].gpio_num = 21;

config_gpio.gpio_cfg[1].gpio_select = 1;

config_gpio.gpio_cfg[1].gpio_num = 22;

wifi_ant_config_t config_ant = {

    .rx_ant_mode = WIFI_ANT_MODE_ANT1,

    .rx_ant_default = WIFI_ANT_MODE_ANT1,

    .tx_ant_mode = WIFI_ANT_MODE_ANT0,

    .enabled_ant0 = 1,

    .enabled_ant1 = 2

};

esp_wifi_set_ant_gpio(&config_gpio);

esp_wifi_set_ant(&config_ant);

}
The gpio_out_tx_status() function listed above needs to be called after initialise_wifi() . It can achieve:
ESP32 transceiver state when GPIO21 is in high level
ESP32 receiver state when GPIO22 is in high level.
You could refer to here for details: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/wifi.html#wi-fi-multiple-antennas
Thanks.
Alvin
Best Regards

@MegaGarynych Hi, could you help share if any updates for this issue? Feel free to reopen if there is still issue. Thanks.

@Alvin1Zhang sorry for delay.
You code works perfect!!! Big thanks!


Configurable snippets CRUD

Is your proposal related to a problem?

It would be nice to have the ability to disable specific Snippets CRUD actions. For instance, my object creation is a complex process based on background tasks, so I don't want users to manually create such objects. But I'm fine letting them edit objects. I may or may not want to let them delete it.
Describe the solution you'd like

The easiest way I guess is to set properties like edit_view to None on a class level

Hey @pySilver . This seems like an interesting issue and I'd love to contribute. Is there any way I can recreate this scenario? I'm actually a bit new to the codebase to a little bit of explanation would help 😅

I'm not sure we should pursue this feature request any more as it is achievable via permissions helper that can simply forbid certain actions. At least this is how I solve it. Maybe @laymonage can commentmore on this case.


Software rendering notification is displayed on log in to Cinnamon

When you connect to xrdp on Linux Mint Cinnamon (17 or 18.2) it displays a notification:

Running in software rendering mode
Cinnamon is currently running without video hardware acceleration and, as a result, you may observe much higher than normal CPU usage.
There could be a problem with your drivers or some other issue.  For the best experience, it is recommended that you only use this mode for troubleshooting purposes.

Can someone confirm whether this is expected?  (I wouldn't be surprised!)
Meanwhile, the nicest way to turn it off is to add this line to /etc/xrdp/startwm.sh with the other environment variables:
export CINNAMON_2D=1

Thanks for the note.
I've been working on getting hardware accel in xrdp, see #1029

Then it is expected for now so I'll close the issue - thanks.


swan can not work after raft error raises.

the raft error heaps quickly after it occurs and swan can not work at all.
error msg is like below:
2017-03-21 05:26:54.492339 E | rafthttp: failed to find member 3dc4b40af08a33b8 in cluster 1000
2017-03-21 05:26:54.492461 E | rafthttp: failed to find member 3dc4b40af08a33b8 in cluster 1000
2017-03-21 05:26:54.596364 E | rafthttp: failed to find member 3dc4b40af08a33b8 in cluster 1000
2017-03-21 05:26:54.596482 E | rafthttp: failed to find member 3dc4b40af08a33b8 in cluster 1000
expected:

not raise such error when restart swan or during swan is running. unless there is schema change.
when such error occurs, try not pop up all the time. It may result in the full disk.

@cmingxu , @pwzgorilla

what reason caused it?

couldn't reproduce this. suspected root cause of this might be Swan misconfiged data-dir or used same raft-listen-addr for multiple swan instances.


Messenger page isn't working when push notifications are enabled in messenger and disabled in system

https://github.com/unaio/jot-client-una/issues/83


Add tests for ParseException

Test that the three ModuleReader::read* methods return an error when reading garbage, instead of aborting.

fixed


Add travis and code coverage

Should this website have some tests? :D

circle ci now builds this.

Thanks, @hsanjuan!


Initialize interference manager

Signed-off-by: songtao98<EMAIL_ADDRESS>Ⅰ. Describe what this PR does
This PR initialize intereference manager and implement a simple histogram ExponentialHistogram and related algorithms.

Ⅱ. Does this pull request fix one issue?

part of #1
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
This PR is hold for some time, more details are to be implemented recently.
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/hold

/hold


Envoy Failed to initialize cipher suites

Envoy reports "Failed to initialize cipher suites" when cipher_suites are specified
Description:
I use Istio as service mesh framework, which injects Envoy as sidecar to pods. When I specified "cipherSuites" through Istio, I saw this error reported by Envoy and TLS negotiation failed. I see "AES128-GCM-SHA256" is supported by either build here and wonder whether its has something to do with my configuration?
Version I'm running:
"version": "2369b2f31802ab74d942462ed21a00e3a38de2c5/1.12.0/Clean/RELEASE/BoringSSL"
[Envoy (Epoch 0)] [2020-04-13 20:59:40.085][19][warning][config] [external/envoy/source/common/config/grpc_mux_subscription_impl.cc:82] gRPC config for type.googleapis.com/envoy.api.v2.auth.Secret rejected: Failed to initialize cipher suites TLS_AES_128_GCM_SHA256. The following ciphers were rejected when tried individually: TLS_AES_128_GCM_SHA256
And the configuration Istio passed to Envoy seems correct to me.

"tlsContext": {
"commonTlsContext": {
"tlsParams": {
"tlsMinimumProtocolVersion": "TLSv1_2",
"cipherSuites": [
"TLS_AES_128_GCM_SHA256"
]
},
"tlsCertificateSdsSecretConfigs": [
{
"name": "myservice-ppe",
"sdsConfig": {
"apiConfigSource": {
"apiType": "GRPC",
"grpcServices": [
{
"googleGrpc": {
"targetUri": "unix:/var/run/ingress_gateway/sds",
"statPrefix": "sdsstat"
}
}
]
}
}
}
],
"alpnProtocols": [
"h2",
"http/1.1"
]
},
"requireClientCertificate": false
}

@PiotrSikora do you have any insight into why this cipher is rejected?

@PiotrSikora  @yanavlasov any ideas how I could troubleshoot this issue? The error seems unrelated to specific ciphers, it would appear regardless of which cipher.

TLS_AES_128_GCM_SHA256 is TLS 1.3 cipher suite (and those are hardcoded, and not configurable), but you're trying to use it with TLS 1.2, where it doesn't exist.
Valid (configurable) cipher suites are:
$ bssl ciphers ALL
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_AES_128_GCM_SHA256
TLS_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_PSK_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_PSK_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_3DES_EDE_CBC_SHA

ah thanks, I verified it worked for me. Is there a way we can add new cipher suites to the supported list?


[SPARK-44565][PYTHON][DOCS] Refine the docs for Union, UnionAll and unionByName

What changes were proposed in this pull request?
Refine the docs for Union, UnionAll and unionByName
Why are the changes needed?
improve the docs
Does this PR introduce any user-facing change?
yes
How was this patch tested?
updated doctests

@gatorsmile GPT-4 actually generate much better examples than 3.5
thanks @LuciferYang for help


Open link button in topic skips part of link

Clicking open link with a topic such as https://client.atomontage.app/view?m=8GvRSx5LVIXSQhQSEChhx will open just https://client.atomontage.app/view
Zulip Server and web app version:

[ ] Zulip Cloud (*.zulipchat.com)
[x] Zulip Server 7.0+
[ ] Zulip Server 6.0+
[ ] Zulip Server 5.0 or older
[ ] Other or not sure

I started a conversation about this issue in the Zulip development community here: https://chat-production.zulip.org/#narrow/stream/9-issues/topic/URL.20link.20for.20topic.20name.20not.20exact.20match.2C.20.2326368/near/1617354

Hi @laurynmm ,
Can I work on this issue based on the solution in community chat ?

Btw were also getting long links truncated due to the character limit of topics, perhaps the open link button could use the full link anyways

Btw were also getting long links truncated due to the character limit of topics, perhaps the open link button could use the full link anyways

sure
can you please assign this issue to me?

@mkster - Topics are limited in length (I'm not sure if this is documented in the help center, but it's in the API documentation e.g. here for the topic parameter for sending a message). So, the server would have no way to know what the full link is as it's just linking the text of the topic. For your use case, would it be possible to use custom linkifiers in your topics?
@sayyedarib - Thanks for your interest in this issue. Let me follow-up on on the conversation on CZO and go from there. I don't think the aspect of topics being limited in length was addressed.

aha great I didnt know about linkifiers


[IDEA] Make ERC20 token address more visible

Describe the feature/solution you'd like
Show token address with total supply and connected wallet balance, without requiring hovering over a modal.

done


VAST with link to another VAST in Creatives shows ads buggy

VAST(first) with link to another VAST(second) in Creatives shows ads in container with fixed height, but if I try to use second VAST on demo it's alright. I tested this VAST(first) in JWPlayer and it shows ads correct.
How can I fix it?
<VAST version="2.0"> 	<Ad id="VPAID"> 		<InLine> 			<AdSystem>Videonow</AdSystem> 			<AdTitle>>Videonow VPAID Module</AdTitle> 			<Impression></Impression> 			<Creatives> 				<Creative> 					<Linear> 						<Duration>00:00:15</Duration> 						<MediaFiles> 							<MediaFile scalable="1" type="application/javascript" apiFramework="VPAID"> 								<![CDATA[http://prontiol.com/videonow/build/vn_module.js]]> 							</MediaFile> 						</MediaFiles> 						<AdParameters> 							<![CDATA[dataUrl=%2F%2Fdata.videonow.ru%3Fprofile_id%3D1359569%26category_id%3D0%26format%3Dvast3%26vpaid%3D0%26container%3Dpreroll]]> 						</AdParameters> 					</Linear> 				</Creative> 			</Creatives> 			<Extensions> 				<Extension type="controls"> 					<control id="adlabel" layout="0"/> 					<control id="countdown" layout="0"/> 					<control id="soundbtn" layout="0"/> 					<control id="logo" layout="0"/> 				</Extension> 			</Extensions> 		</InLine> 	</Ad></VAST>

I've tested this VAST tag on the demo page and reproduced the issue in Chrome 50.0.2661.94 for Mac. Here is the screenshot attached. The ad does not take the full height of its container

@indieveed @mbuyan is a css bug in https://github.com/MailOnline/VPAIDHTML5Client, setting the element style to the following
element.style {
    position: absolute;
    width: 100%;
    height: 100%;
}

fixes the issue, now that I have access to the projects I will try to fix this bug

the latest version includes the fix for this

@Fetz Great! Don't you need to update built lib files?

@indieveed what you mean?

@Fetz I mean built files in bin folder like this one – https://github.com/MailOnline/videojs-vast-vpaid/blob/master/bin/videojs_4.vast.vpaid.min.js

Hi, the merged changes remove VPAIDHTML5Client from global namespace:
window.VPAIDHTML5Client = VPAIDHTML5Client;
Maybe you should add a fix for the internal dev demo (gulp serve / Browsersync), which now stops working with
(index):24 Uncaught ReferenceError: VPAIDHTML5Client is not defined


non-monotonic axis and reversed axis

Reported by ansley b manke on 7 Sep 2012 17:05 UTC
Patrick Brockmann reported this. He has a dataset with a bad time axis, where the time coordinate data looks someting like this:
time_counter =<PHONE_NUMBER>, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,
3320352000,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,
3333571200,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,
3346704000,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,
...
4552891200,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,
4566110400,<PHONE_NUMBER>,<PHONE_NUMBER> ;
Opening the data in Ferret, the bad axis is reported,
yes? use tyty.nc
*** NOTE: Coordinates out of order or missing on axis time_counter at subscript 2
*** NOTE: A dummy axis of subscripts will be used

yes? list time_counter[l=1:10]
            VARIABLE : Time axis (seconds since 2006-01-01 00:00:00)
                       invalid coordinate axis
            FILENAME : tyty.nc
            SUBSET   : 10 points (T)
            CALENDAR : NOLEAP
1    /  1:  4.571E+09
2    /  2:  4.569E+09
3    /  3:  4.566E+09

The data listed is reversed.  What it should be is just the coordinate info, so that the user could work with the file and make it useable in Ferret.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1963

Comment by ansley.b.manke on 7 Sep 2012 17:40 UTC
In cd_get_1_axis.F, we mark the axis as reversed because the first delta-coordinate is negative. Then it's found that the coordinates aren't monotonic, and the notes are issued.
In this situation the 'reversed' flag needs to be turned back off, otherwise when the variable is later read in as a regular variable, it gets reversed.


Plus and minus Button functions are reversed in ACPI > Patch

In ACPI > Patch section, - button adds entries and +button deletes them
DeviceProperties section does not have any buttons at all

Thanks for the fixes


Property to honor "delete" flag for unlink

Hi,
Love this behavior !
Would it be possible to add a property to set the delete flag when calling unlink ?
When used on a many-to-many relation with a pivot table, I need to delete entries, not to set it to null.
Thanks

Resolved by commit e5019c3c531a10c5bbc92c427f7a04fd26b8afe2


Refactor input resource volume handling to remove a type switch state…

…ment.
Changes
This change refactors the way input resources attach volumes to their steps.
Previously, there was a special-cased switch statement for Storage type resources.
This made the logic for resources hard to follow, and spread across the codebase. This
change refactors that by moving it up into the general Resource interface.
This is another follow-on to https://github.com/tektoncd/pipeline/pull/1135
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[X] Includes tests (if functionality changed/added)
[X] Includes docs (if user facing)
[X] Commit messages follow commit message best practices

See the contribution guide for more details.

/lgtm


Add GDPR Language to Stand Alone Demo Pages

Context:
GDPR will go into effect on May 25th; we need the demos to display the following language in order to make them compliant with the law:
This system is for demonstration purposes only and is not intended to process Personal Data. No Personal Data is to be entered into this system as it may not have the necessary controls in place to meet the requirements of the General Data Protection Regulation (EU) 2016/679.
For more information see: https://github.ibm.com/Watson/developer-experience/issues/4342

PR created: https://github.com/watson-developer-cloud/customer-engagement-nodejs/pull/22


CommandAsyncService gets blocked at high concurrency [without OutOfMemoryError]

Hi,
While running a load test on jmeter of 200 users with ramp up time of 10 seconds and number of puts per user equal to 10, threads are getting  stuck. In this test we are using RTransaction and doing load testing on a single key by putting random values for a single key.
here is the stack trace:
at sun.misc.Unsafe.park(Native Method)

        	-  waiting on java.util.concurrent.CountDownLatch$Sync@b55ea542

        	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)

        	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:847)

        	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1008)

        	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1315)

        	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:242)

        	at org.redisson.command.CommandAsyncService.get(CommandAsyncService.java:152)

        	at org.redisson.RedissonObject.get(RedissonObject.java:74)

        	at org.redisson.RedissonMap.fastPut(RedissonMap.java:922)

        	at com.nucleus.controller.Controller1.sameKeyPut(Controller1.java:237)

Steps to reproduce or test case
public void sameKeyPut(){

	RTransaction transaction = redisson.createTransaction(options);
	map=transaction.getMap("put_test");
	map.fastPut(1, 1);
	transaction.commit();
	}

Redis version
4.0.9
Redisson version
3.7.0
Redisson configuration
	Config config = new Config();
	config.useSingleServer().setAddress("redis://<IP_ADDRESS>:6379");

	config.useSingleServer().setRetryAttempts(3);
	config.useSingleServer().setConnectionPoolSize(500);
	config.useSingleServer().setRetryInterval(2000);
	config.useSingleServer().setConnectTimeout(20000);
	redisson = (RedissonClient) Redisson.create(config);

                        TransactionOptions  options = TransactionOptions.defaults()

			.syncSlavesTimeout(5, TimeUnit.SECONDS)
			.responseTimeout(3, TimeUnit.SECONDS)
			.retryInterval(5, TimeUnit.SECONDS)
			.retryAttempts(3)
			.timeout(10, TimeUnit.SECONDS);

Try to increase timeout as workaround

Fixed! Actually the bug was in RLock.lockAsync method implementation used under the hood.

Threads are still stuck while ramp down in Jmeter test.

With the same stacktrace?

Fixed. I did improvements to RLock.lockAsync method and more load in test.

@mrniko threads are not getting stuck anymore. Thank you. Can you comment on how much concurrency possibly one key can handle if updates are done inside a transaction?

There are no limits, but overall transaction execution time may grow due to high rate of lock contentions per key.

@mrniko I am getting the following exception while load testing using RTransaction. The test puts an object on random keys inside RTransaction
      java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:920)
at java.util.ArrayList$Itr.next(ArrayList.java:870)
at org.redisson.transaction.RedissonTransaction.L(ob:394)
at org.redisson.transaction.RedissonTransaction.commit(ob:75)
at com.nucleus.controller.Controller1.randomPut(Controller1.java:208)
at com.nucleus.controller.Controller1$$FastClassBySpringCGLIB$$96db9fab.invoke(<generated>)

@shivendra-kumar Do you modify single transaction object using multiple threads?

@mrniko I am calling this method concurrently on 2000 threads:
public void randomPut(){
RTransaction transaction = redisson.createTransaction(options);
map=transaction.getMap("put_test");
String str=RandomStringUtils.randomAlphanumeric(40).toUpperCase();
map.fastPut(str, hashMap);
transaction.commit();
}
here hashMap is just an object which contains integers.

Fixed


Specifying custom paths for updates not updating original object

I have a resource which I'm trying to specify some additional custom patch URLs.  I can create these on the resource, but the issue is that it doesn't update the original resource like the update() or save() methods do, which I expected it to do.  Is this a bug or am I responsible for doing this, and if so, what's the best way to go about it?
Here is an example resource:
    var resource = railsResourceFactory({
        url: '/api/projects',
        name: 'project'
    });

    resource.prototype.submit       = function() { return resource.$patch(this.$url('submit'), this); };
    resource.prototype.approve      = function() { return resource.$patch(this.$url('approve'), this); };

    return resource;

You should be able to use this.$patch and it work as you expected.

On Nov 27, 2016, at 6:16 PM, ryancrisp<EMAIL_ADDRESS>wrote:
I have a resource which I'm trying to specify some additional custom patch URLs. I can create these on the resource, but the issue is that it doesn't update the original resource like the update() or save() methods do, which I expected it to do. Is this a bug or am I responsible for doing this, and if so, what's the best way to go about it?
Here is an example resource:
var resource = railsResourceFactory({
    url: '/api/projects',
    name: 'project'
});

resource.prototype.submit       = function() { return resource.$patch(this.$url('submit'), this); };
resource.prototype.approve      = function() { return resource.$patch(this.$url('approve'), this); };

return resource;

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ah, of course, that makes sense!  I can confirm that works as I expected.  Thank you very much for the quick response.


chore: Integrated features API to Appsmith and added tenant features to user feature flags API response

Description
Added features API to the instance for enabling and disabling features. Also added tenant features to user feature flags API response
PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith-ee/issues/1887

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


Change introduction to purpose and create guidance files

Quick description
What has been achieved in this pull request?

[ ] Adding purpose in the components-guidance folder for each existing component

Related issues
https://github.com/centrica-engineering/muon/issues/437
Checklist before merging

[ ] If it is a core feature, I have added thorough tests.
[ ] This PR stays within scope of the related issue.

Why was this merged?


Revisit for inspiration after mvp

wrk2, postman, autocannon / autocannon-ui, k6, vegeta

+ taurus as well, I suppose.

@aliesbelik absolutely!


RHF with complex matrices

How to perform RHF with custom complex matrices? It seems that inside RHF subroutine, real part is taken throughout the code.
Here is my code:
mf = scf.RHF(mol)
mf.get_hcore = lambda *args: F
mf.get_ovlp  = lambda *args: S
mf._eri    = ao2mo.restore(1, ERI, mol.nao)
Here F, S, and ERI are custom complex matrices.

On a quick skim of the code, I think it should work fine for complex (Hermitian) problems. Have you tried it to confirm that it doesn't work? Many of the places where the real part is taken are either physically correct (like the total energy) or are just conventional (like establishing a phase convention on the MO coefficients).

the get_jk method of the default RHF class does not support complex ERIs. You'll need to customize the get_jk function in this case, like
def get_jk(mol, dm, *args, **kw):
    j = einsum('abcd,ba->cd', ERI, dm)
    k = einsum('abcd,bc->ad', ERI, dm)
    return j, k
mf.get_jk = get_jk

the get_jk method of the default RHF class does not support complex ERIs. You'll need to customize the get_jk function in this case, like
def get_jk(mol, dm, *args, **kw):
    j = einsum('abcd,ba->cd', ERI, dm)
    k = einsum('abcd,bc->ad', ERI, dm)
    return j, k
mf.get_jk = get_jk

What is the name of the file that contains this function? hf.py?

yes, you can check pyscf/scf/hf.py


[bug] SWITCH_MULTILEVEL SET missing on Philio PSE02 Siren

Version
Build/Run method

[X ] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

zwavejs2mqtt version: 1.0.1
zwavejs version: 6.1.0
Describe the bug
Hi, i'm new on Zwave-js2MQTT, i'm come from Jeedom where they have their proper zwave adaptation based on OZW 1.4.
My issue is that's i can't find SWITCH_MULTILEVEL SET for my Philio PSE02 Siren.
So i'm not able to change type of sound as in the manual :

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Have a menu where I can send the sound ID
I can try to modify directly a config file with your help. I opened the json file of this device and compared it with a device which have SWITCH_MULTILEVEL but it seems it's not in this file.
Thanks a lot for your help.

@robertsLando  As i said previously in my edited message, logs are in silly mode and it's the Node 2, the node 13 is shutter, and at the moment it's OK. (begin my merge of all zwave devices)
Do i launch a re interview ?

Yes, please re-interview that device and post the logfile and the <homeid>.json cache file here.

@AlCalzone @robertsLando this is my lasts logs just after a interview :
14:43:35.520 CNTRLR   [Node 002] Beginning interview - last completed stage: None
zwavejs_1.log
zwavejs2mqtt.log
e5248c75.json.log
Is it the right json file ?

14:43:36.207 CNTRLR « [Node 002] node info received
                      supported CCs:
                      · Z-Wave Plus Info
                      · Manufacturer Specific
                      · Version
                      · Association Group Information
                      · Powerlevel
                      · Device Reset Locally
                      · Security
                      · Firmware Update Meta Data

Doesn't look like it supports Multilevel Switch CC. Which manual do you have?
In this one there is no mention of that command.

zwave-js has an api to do that, I think @robertsLando recently exposed it.

Ok, if @robertsLando can explain to me how to send such commands. At the end it will be sent from MQTT to zwave-js2mqtt
Thx for your help.

So, basically you need to call the sendReport method for the Notification CC with this argument
{
  notificationType: 0x01, // or 0x06 or 0x07 or 0x0A
  notificationEvent: /* see table */,
}

@Gis70 https://zwave-js.github.io/zwavejs2mqtt/#/guide/mqtt?id=send-command

Thx guys, you should told me, Read The Fucking Manual ;-)

I can't since my part is not documented yet 😅

Hello @robertsLando and @AlCalzone i'm trying to do what it's explained there https://zwave-js.github.io/zwavejs2mqtt/#/guide/mqtt?id=send-command but i'm not doing well.
My topic Name is zwave
What is _client
Does it look like to that :    (i'm trying simple example to getNodes)
zwave/_CLIENTS/ZWAVE_GATEWAY-Controleur/api/getNodes()

zwave/_CLIENTS/ZWAVE_GATEWAY-Controleur/api/getNodes/set

Ok it's working for getNodes but it's this name :

But i'm not able to send my command :
I would send on the nodeId 2 :

For example I want the door chime :  can you help be to send the right syntax
zwave/_CLIENTS/ZWAVE_GATEWAY-zwavejs2mqtt/api/sendCommand/set
Value :  {"args":[{"nodeId":2,"commandClass":113,"endpoint": 3,},"startLevelChange",[{6}]]}
Debug :

One thing for the non coder like me should be to make a special page where we can add device compatible and what command to make, a little like for zigbee2mqtt :    what do you think ?

What is [{6}]?? That's not a valid json

One thing for the non coder like me should be to make a special page where we can add device compatible and what command to make, a little like for zigbee2mqtt : https://www.zigbee2mqtt.io/information/supported_devices.html what do you think ?

It's on todos

Hi @robertsLando @AlCalzone , I need you again, i found on google that we have to modify 1st a parameter here : put in to 128

So OK with GUI for this.
Then i found we must using BASIC_SET to select sound :

How to send BASIC_SET via API or GUI in feature ?

You can using mqtt apis and the sendCommand api: https://zwave-js.github.io/zwavejs2mqtt/#/guide/mqtt?id=send-command

{ "args": [ { "nodeId": 2, "commandClass": 6,"endpoint": 0, }, "BASIC_SET", ]}
Publish a JSON like above where commandClass is the number to select sound (here 6 for beep beep )?


rkt: add experimental support for attachable applications

This commit introduces experimental support for attachable
applications. It consists of:

a new attach subcommand
a set of per-app flags to control stdin/stdout/stderr modes
a stage1 iottymux binary for multiplexing and attaching
two new templated stage1 services, iomux and ttymux

Fixes https://github.com/coreos/rkt/issues/1799

TODO:

[x] rebase on master once https://github.com/coreos/rkt/pull/3388 is merged
[x] cleanup iottymux code, many TODO pending in there
[x] add developer documentation, as the whole mechanism is complex
[x] add user documentation for rkt attach and --stdin, --stdout, --stderr
[x] add smoke tests for stream and tty-attach
[ ] ungate, this is currently behind a $RKT_EXPERIMENT_ATTACH flag
[ ] signal proxying and custom detach

Hm.
Does this mean you need to decide at app add whether or not you are going to attach a TTY? Will this make kubernetes mad?

Oh, nevermind, I get it! tty is a remote interactive process, whereas interactive is a local interactive process.

PTAL. I've fixed the issues reported in previous reviews and cleaned up most of the the TODOs. There are still several in iottymux.go (especially in TTY code) but I don't want to block on those.

Some more cleanup and rebased against some new conflicts.

Rebased after recent units/runc cleanup. PTAL.

@s-urbaniak thanks for the comment, I added some changes to address them. I think we are close to the final round, @squeed mind going for it?

A question I had after reading the docs: does an application with --stdout=stream also log to the journal?

No, at the moment stream and tty don't log to journal. But that is probably going to change as soon as we touch into logmode support for k8s.

@squeed I added a bunch of changes for your comments and a test for sandbox-attach (killing some bugs while at it).

@lucab @s-urbaniak preparing a training for I tried to work with rkt in minikube.
minikube start --vm-driver=kvm --container-runtime=rkt --network-plugin=cni
The version
rkt Version: 1.14.0
is quite outdated. Do you have some newer version, as the old one has
the issue with attaching to the tty and the networking inside does not
work?
I would like to use rkt as an alternative in demos and training, so it
would be nice if the version coming with minikube would work at least.
This command shoud work out of the box
kubectl run  busybox --image=busybox sh
At the moment I work around this issue with
kubectl run  busybox --image=busybox sleep 1000
and
kubectl exec -it busybox-434806045-3qcgt sh
This is ugly for demos. Any idea or hint?
Thanks in advance!

@thomasfricke have you filed an issue against minikube about this?
Thomas Fricke<EMAIL_ADDRESS>schrieb am Mi., 25. Jan. 2017,
15:20:

@lucab https://github.com/lucab @s-urbaniak
https://github.com/s-urbaniak preparing a training for I tried to work
with rkt in minikube.
minikube start --vm-driver=kvm --container-runtime=rkt --network-plugin=cni
The version
rkt Version: 1.14.0
is quite outdated. Do you have some newer version, as the old one has
the issue with attaching to the tty and the networking inside does not
work?
I would like to use rkt as an alternative in demos and training, so it
would be nice if the version coming with minikube would work at least.
This command shoud work out of the box
kubectl run busybox --image=busybox sh
At the moment I work around this issue with
kubectl run busybox --image=busybox sleep 1000
and
kubectl exec -it busybox-434806045-3qcgt sh
This is ugly for demos. Any idea or hint?
Thanks in advance!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/coreos/rkt/pull/3396#issuecomment-275119304, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACewNwlV9QPMYUwSHqeCoZWfQf0rBNL-ks5rV1oUgaJpZM4K4aqg
.

@thomasfricke I created https://github.com/kubernetes/minikube/issues/1042

resource cleanup is not properly handled upon SIGTERM, I'll submit a fix and a test.

fix for the above is available under https://github.com/s-urbaniak/rkt/commit/cb346c636643d64e8b3b3e461d61399cc71dfeb6

@s-urbaniak Thanks, I picked up your commit in this branch.

ok to test

Green, merging.


CI workflow: Upgrade to Poetry 1.2.2

What does this Pull Request accomplish?
Upgrade Poetry to version 1.2.2
Why should this Pull Request be merged?
Resolve 'HTTPResponse' object has no attribute 'strict' errors from cachecontrol and urllib3
What testing has been done?
PR build

Example of failure: https://github.com/ni/grpc-device/actions/runs/4983120638/jobs/8919838351?pr=920
Run python source/codegen/validate_examples.py -e "nidaqmx"
Created package validate_examples in .
Creating virtualenv validate-examples-WQIUftue-py3.7 in /home/runner/.cache/pypoetry/virtualenvs

  AttributeError

  'HTTPResponse' object has no attribute 'strict'

  at /opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/cachecontrol/serialize.py:54 in dumps
       50│                 ),
       51│                 u"status": response.status,
       52│                 u"version": response.version,
       53│                 u"reason": text_type(response.reason),
    →  54│                 u"strict": response.strict,
       55│                 u"decode_content": response.decode_content,
       56│             }
       57│         }
       58│

  AttributeError

  'HTTPResponse' object has no attribute 'strict'

  at /opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/cachecontrol/serialize.py:54 in dumps
       50│                 ),
       51│                 u"status": response.status,
       52│                 u"version": response.version,
       53│                 u"reason": text_type(response.reason),
    →  54│                 u"strict": response.strict,
       55│                 u"decode_content": response.decode_content,
       56│             }
       57│         }
       58│

  AttributeError

  'HTTPResponse' object has no attribute 'strict'

  at /opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/cachecontrol/serialize.py:54 in dumps
       50│                 ),
       51│                 u"status": response.status,
       52│                 u"version": response.version,
       53│                 u"reason": text_type(response.reason),
    →  54│                 u"strict": response.strict,
       55│                 u"decode_content": response.decode_content,
       56│             }
       57│         }
       58│
Updating dependencies
Resolving dependencies...

  AttributeError

  'HTTPResponse' object has no attribute 'strict'

  at /opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/site-packages/cachecontrol/serialize.py:54 in dumps
       50│                 ),
       51│                 u"status": response.status,
       52│                 u"version": response.version,
       53│                 u"reason": text_type(response.reason),
    →  54│                 u"strict": response.strict,
       55│                 u"decode_content": response.decode_content,
       56│             }
       57│         }
       58│
/home/runner/.cache/pypoetry/virtualenvs/validate-examples-WQIUftue-py3.7/bin/python: Error while finding module specification for 'grpc_tools.protoc' (ModuleNotFoundError: No module named 'grpc_tools')


Test email is always successful even with fake parameters

You can enter any data into the SMTP settings and the test will be successful.
I discovered this after I correctly entered my credentials from the smtp server, I saw a message about a successful test when I clicked "Test Email", but the letters never arrived by email.
The screenshot shows an example with random parameters:

Version:

OpenMetadata version: 1.3.0 in docker

This is fixed https://github.com/open-metadata/OpenMetadata/pull/15183


Implement messages to celebrate successful PR contributions

Provide congratulatory messages when a new contributor submits their first and second PRs or more.
The Solution:-
We will add a GitHub Action that will trigger when a PR gets merged into the main branch.

Hey @NYDocutest , I have made a pull request regarding this issue.
It would be great if you can review it.
Thnk you.


[MINOR]move hoodie hfile/orc reader/writer test cases from hudi-client-common to hudi-common

Change Logs
Move hoodie hfile/orc reader/writer test cases from hudi-client-common to hudi-common.
Impact
None
Risk level (write none, low medium or high below)
Low
Documentation Update
None
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Since hfile/orc reader/writer are written in the hudi-common module, it is better to write the test cases in the same module.


squash! Accept binary status codes

This PR amends https://github.com/deadtrickster/prometheus-cowboy/pull/4
After running the code for a bit, I realised that it is the status_class value that caused problems with binary status codes, not status.
I should've looked into it more before submitting the last PR. Sorry about that.

while we are on it, can you share your binary status_classes (don't remember using/seeing them myself)? maybe we can just derive something from them. not just ignore?

So in this case, I'm getting an error from 208 Already Reported which should be the success class. The thing is, since it is part of the WebDAV extension to HTTP, it didn't get support as a normal status code in cowboy yet, although I brought it up and it should be treated normally soon.
That issue is being tracked there https://github.com/ninenines/cowlib/pull/79
Then for anyone who would want to really use a completely arbitrary status code, it would make sense for it to be classified as undefined.


invalid syntax results in invalid type error

On the advice of @jvoigtlaender I am referring to this issue here:
https://github.com/elm-lang/error-message-catalog/issues/98#issuecomment-197228854
Since it appears to be a compiler bug and not an unclear error message.

And here is an SSCCE:
f x = x.Counter

main = f { }

This results in error message:
Function `f` is expecting the argument to be:

    { b | Counter : ... }

But it is:

    {}

So the compiler is printing out a "type" { b | Counter : ... } as if it were valid Elm, though it isn't.

So... should it print { b | Counter : a } instead?

@mgold, is your question serious? Have you read the context of this? Do you know that what you typed isn't a valid Elm type either?

No, I had not read the other issue. I thought the point of an SSCCE was that it didn't require digging into prior discussion?
f x = x.Counter ought to be an SSCCE on its own. No confusion about whether the field is present or not, just focusing on the capitalization.

You didn't need to read the other issue or previous discussion. But maybe reading the title of the issue you are commenting on is not too much to expect? The title is "invalid syntax ...", my SSCCE is only two lines and less than thirty characters, so maybe it would have made sense on your part to look for invalid syntax in those two lines?
But of course you are welcome to propose a better SSCCE. Note that f x = x.Counter on its own is not an SSCCE, because it does not trigger the bug (printing out a non-type as a type) that the original poster was observing.

The "printing out a non-type as a type" is not the root cause. The root cause its that f x = x.Counter is accepted by the compiler. If it wasn't, it would never try to print a non-type as a type.

And? Propose to rename this issue, or check whether there is already one for that cause, so that this one becomes superfluous and can be closed. Doesn't change the fact that the above was about the error message that was encountered, and that what I was giving was aiming to be an SSCCE for that issue.

Thanks for getting this reported @stiller! @avh4 and I are working on cleaning up the process here, so we made an "authoritative" issue for this at #1319.


Update README

Short Description:
Changes:

@OpenPoGo/maintainers
For windows users there is no command "source". BTW this installation steps will fail. Win users should run activate.bat.
And bin folder changed into Scripts folder.

Current coverage is 51.26% (diff: 100%)

Merging #348 into master will not change coverage

@@             master       #348   diff @@
==========================================
  Files            34         34
  Lines          1500       1500
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            769        769
  Misses          731        731
  Partials          0          0

Powered by Codecov. Last update acbc124...49a5081

👍

:+1:


Application selection in metric does not work

What Grafana version are you using?
v4.1.1

What Zabbix version are you using?
v2.0.6

What zabbix plugin version are you using?
v3.2.0

What OS are you running grafana on?
Docker Grafana image

What did you do?
I set up a metric for application called "MyApp".

What was the expected result?
It should have displayed metric for selected application ("MyApp").

What happened instead?
Stats for that metric were not displayed because application was not found (I also tried regexp instead of name).

As far as I debugged this issue the problem is that Zabbix datasource does not include expandData flag in application.get request for Zabbix versions 2.0-2.2. Due to that name field is not returned, making search by name or regexp impossible.

Fixed by #462


[FEATURE] Add Github link to the site

Add this https://github.com/rupali-codes/LinksHub link to site along with github logo.

Hey, Can you assign me this issue?
I've been looking for issues to contribute to, I'm a new to open source.

I have picked this one up and opened a pull request.

hey , can you please assign it to me

@JoshHargreaves are you still working on it?

Hi yep i am just had a busy day yesterday.


Derive

Waiting on merging this until I can update ecdsa-sd-2023-cryptosuite to the latest major release which should be out shortly.


Observables that get passed to wigdets do not get notified of new data

I am using a custom widget. If an Rx observable is passed to that widget from the main view like so:
function view(state$) {
  return state$.map((guesses) => {
    return h('div', [
      h('my-custom-widget', {guesses}),
    ]);
  });
}

Then my widget will be notified of the initial value coming from the guesses observable (and possibly the second value) but then it will just stop. I can manually inspect the observable and see it has the correct values and if I use the observable in the main view it will reflect the new values.
This only happens if the observable is handed to a widget, inside the widget it stops being notified of new values.
If the same observable is defined inside the widget instead of being given the observable then it works. However, that is forcing me to put my business logic into the widget. Is that just the way this is supposed to be? I feel like the widget should not have to deal with business logic. It should just propagate an event stream, and externally that event stream can be modified with business logic.
I am pretty new to Cycle, Rx, and FRP in general, so it is possible that I am just misunderstanding something fundamental.

First, you really shouldn’t use custom elements. They are depreciated and will be removed in the next release. The documentation on the Cycle.js website is outdated and is being updated. Instead, you should make dataflow components, i.e., a function.
Example:
// replaces custom element
function MyDataflowComponent(sources) {
  // ... do stuff
  return {
    DOM: //... your view
  }
}

Also, please join the Gitter chat to get help from the community.


Fix ellipsis issues for Text numberOfLines={1}

Revert commit 562db69 to fix ellipsis for .
Fix ellipsis for Safari via adding word-wrap: normal to text-oneline styles. Based on stackoverflow.com/a/56961220/7462668

PR for https://github.com/Expensify/App/issues/7206
Original PR https://github.com/necolas/react-native-web/pull/2193
cc: @roryabraham

Because we want the text to be clipped with an ellipsis. Ellipsis won't show on the web until text wraps.
After this change, we won't need that style. It would be automatically applied. And we can remove that line https://github.com/Expensify/App/blob/f8e48cdf877c9dc9576a429ccb2885969b82e93c/src/styles/styles.js#L1103.

I'm not too sure if this is the best way to solve this issue. @roryabraham could you please take a look?

You will get more details on the linked orginal PR and details behind reverting and the fix.

Taking a look at this now

Thanks for the input @roryabraham!