Builder Block with Clearing Pump card not clearing lava.

RFTools v. 1.10-5.62
I was using a Builder Block to clear water & lava from a quarried area and noticed that the water was being cleared but not the lava. Tested on a much smaller area and I can't get the Builder to clear even a single source block of lava.

Can you give more specifics? What card is in it? How is it configured?

Sorry, it was using a Shape Card (Clearing Pump) which was configured by using mark mode, shift-clicking the card on the Builder Block then selecting the 2 corners of the area to be cleared.
When I noticed that it wasn't clearing the lava from the initial large area (32x32x60 blocks) I set it up again with a test area made of dirt in a 3x3x3 shape with a hole in the middle and a single bucket of lava placed there. I'm activating the Builder with a lever. I've just tested it again and it definitely isn't working, unless I've just got something wrong in how I'm using it.

Hi, I have the same problem with "Molten Uranium" from "Immersive Engineering"
I treid the same things.
(the pump from "Ranged Pumps" could not do it either. There's maybe a problem with the fluid.)

Yes, use 'solid box' instead of just 'box' as the latter only does the outline

Not clearing lava for me either in Foolcraft pack. Solid block, even triple checked the dimensions. Even did preview mode to verify I set the pump clearing card correctly.

Ah known problem and this is a problem in EnderIO. Not RFTools


chore: make CI green

Building off @vgonkivs's work to skip tests, this attempts to get a baseline "green" ci for us. There are still a couple of tests that VERY intermittently flake in CI, but this way they will stand out WHEN they happen and we can track down vs entire thing being red always.
This does quite a few things

introduces build tags on swamp tests in each named file to allow us to run parts of the swamp/integration tests independently (ie: go test ./... -tags=blob
adds an integration tag to allow running all still
splits the integration tests into it's own workflow file (integration-tests.yml) which is now triggered from go-ci.yml
splits each swamp/integration tests to run as its own job so we can see which are failing/flakey more explicitly
utilizes go's -short test flag to Skip a few swamp/integration tests that are consistently failing. Current we are skipping TestFullReconstructFromFulls, TestFullReconstructFromLights,
TestSyncStartStopLightWithBridge which is less than we were originally skipping in https://github.com/celestiaorg/celestia-node/pull/2802/
plugs in our verbose/debug stuff to integration tests in addition to unit which we had before

Unit tests

splits some of the unit tests that were "race flakey" into *_no_race_test.go and adds !race tag to some others to get to pass consistently when running unit tests with -race flag
macos-latest unit tests still fail on race test ONLY in GitHub actions CI 🤷♂

Next Steps

create issues for each short run / skipped
create issues for any tests that fail race that are NOT the race issue on upstream cosmos-sdk
create issue for macos-latest in GitHub race fail
create issue for macos-latest intermittent fail

I think we let this run for a while, then once we see it be consistently green for a bit and isolate any more flakes that pop up, we can toggle on more branch requirements, then in fixing the above issues, we can be green. Being green is not easy.

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

Comparison is base (36205cc) 51.27% compared to head (3b0e728) 51.59%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3114      +/-   ##
==========================================
+ Coverage   51.27%   51.59%   +0.31%
==========================================
  Files         177      177
  Lines       11157    11157
==========================================
+ Hits         5721     5756      +35
+ Misses       4935     4909      -26
+ Partials      501      492       -9

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

ok, there are still a few flakes from time to time, but this turns green more times than there is an intermittent flakey red, so IMO lets proceed then nab those flakes if/when they appear and keep moving forward

Let's pay attention to our swamp tests after this PR is merged. In case it's a known flakiness, let's leave a comment in further PRs


DRM Protected Video Not Downloading

Udeler | Udemy Course Downloader
https://github.com/heliomarpm/udemy-downloader-gui/releases
Account Type?
Personal
Steps to reproduce
DRM Protected Video Not Downloading. DRM Protected Video Not Downloading.
✔ Expected Behavior
DRM Protected Video Not Downloading. DRM Protected Video Not Downloading. DRM Protected Video Not Downloading. DRM Protected Video Not Downloading. DRM Protected Video Not Downloading. DRM Protected Video Not Downloading. DRM Protected Video Not Downloading. DRM Protected Video Not Downloading.
🔍 Additional context
DRM Protected Video Not Downloading. DRM Protected Video Not DownloadingDRM Protected Video Not DownloadingDRM Protected Video Not DownloadingDRM Protected Video Not Downloading


Manual addition of exports with autoexport

Describe the solution you'd like
At the moment I am not aware of the ability to add exports to a PVC from another IP address. We would like the ability to add manual IPs via the autoexport function.
Describe alternatives you've considered
I've tried adding manual exports via Netapp CLI but those are removed by the autoexport function. The only solution is to go back to manual entirely and exporting all PVCs with the full set of IPs -- this is not ideal!

Hi @siggins1 ,
Can you describe the use case you are wanting to implement in more detail? The Dynamic Export Policy feature restricts traffic to just the K8S nodes where the volume can be mounted. Trident will automatically modify Export Policy rules as K8S nodes are added or removed.

Hi @siggins1 ,
Can you describe the use case you are wanting to implement in more detail? The Dynamic Export Policy feature restricts traffic to just the K8S nodes where the volume can be mounted. Trident will automatically modify Export Policy rules as K8S nodes are added or removed.

Chuck,
We are migrating data into the okd cluster, but need to mount the nfs
volumes from the nodes not currently okd/kubernetes controlled. Without
having the ability to manually add export IPs, it is impossible to do this.
Specifically we are looking at using netapp XCP, or rsync to copy into the
kubernetes nodes.
At the moment we cannot use the dynamic export policy until after the
migration is completed. Even then I can see cases where we might want to
mount volumes outside of the cluster.
Thanks!
Douglas
On Tue, Jan 12, 2021 at 4:22 PM Chuck Fouts<EMAIL_ADDRESS>wrote:

Hi @siggins1 https://github.com/siggins1 ,
Can you describe the use case you are wanting to implement in more detail?
The Dynamic Export Policy feature restricts traffic to just the K8S nodes
where the volume can be mounted. Trident will automatically modify Export
Policy rules as K8S nodes are added or removed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NetApp/trident/issues/503#issuecomment-759015199, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5PL53RG4FSVY5VYWCTUUDSZS4Q3ANCNFSM4VZFVTCA
.

Chuck,
We are migrating data into the okd cluster, but need to mount the nfs
volumes from the nodes not currently okd/kubernetes controlled. Without
having the ability to manually add export IPs, it is impossible to do this.
Specifically we are looking at using netapp XCP, or rsync to copy into the
kubernetes nodes.
At the moment we cannot use the dynamic export policy until after the
migration is completed. Even then I can see cases where we might want to
mount volumes outside of the cluster.
Thanks!
Douglas
On Tue, Jan 12, 2021 at 4:22 PM Chuck Fouts<EMAIL_ADDRESS>wrote:

Hi @siggins1 https://github.com/siggins1 ,
Can you describe the use case you are wanting to implement in more detail?
The Dynamic Export Policy feature restricts traffic to just the K8S nodes
where the volume can be mounted. Trident will automatically modify Export
Policy rules as K8S nodes are added or removed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NetApp/trident/issues/503#issuecomment-759015199, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5PL53RG4FSVY5VYWCTUUDSZS4Q3ANCNFSM4VZFVTCA
.

Hi Douglas,
You should be able to do this using the autoExportCIDRs field in the backend configuration to specify a list of allowed IP ranges. Let me know if this doesn't work.

Hi Douglas,
You should be able to do this using the autoExportCIDRs field in the backend configuration to specify a list of allowed IP ranges. Let me know if this doesn't work.

AFAIK and if I understand correctly this is what you are allowing to be
exported, but trident doesn't actually export that full CIDR list on a
specific PVC.
There is a big difference between allowed to be exported, and actually
exported. Let me know if I am understanding this incorrectly. There is no
current method to add an IP to an existing claim if the system is not part
of the cluster.
If I dont understand this correctly -- understand I am the storage person
relaying the information in this article -- I need specific information to
relay to the person trying to handle this.
On Wed, Jan 13, 2021 at 3:02 PM Chuck Fouts<EMAIL_ADDRESS>wrote:

Hi Douglas,
You should be able to do this using the autoExportCIDRs field in the
backend configuration
https://netapp-trident.readthedocs.io/en/stable-v20.10/kubernetes/operations/tasks/backends/ontap/ontap-nas/dynamic-export-policies.html?highlight=dynamic
to specify a list of allowed IP ranges. Let me know if this doesn't work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NetApp/trident/issues/503#issuecomment-759706932, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5PL54FCPB23ZY3KQG6RDDSZX34FANCNFSM4VZFVTCA
.

AFAIK and if I understand correctly this is what you are allowing to be
exported, but trident doesn't actually export that full CIDR list on a
specific PVC.
There is a big difference between allowed to be exported, and actually
exported. Let me know if I am understanding this incorrectly. There is no
current method to add an IP to an existing claim if the system is not part
of the cluster.
If I dont understand this correctly -- understand I am the storage person
relaying the information in this article -- I need specific information to
relay to the person trying to handle this.
On Wed, Jan 13, 2021 at 3:02 PM Chuck Fouts<EMAIL_ADDRESS>wrote:

Hi Douglas,
You should be able to do this using the autoExportCIDRs field in the
backend configuration
https://netapp-trident.readthedocs.io/en/stable-v20.10/kubernetes/operations/tasks/backends/ontap/ontap-nas/dynamic-export-policies.html?highlight=dynamic
to specify a list of allowed IP ranges. Let me know if this doesn't work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NetApp/trident/issues/503#issuecomment-759706932, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5PL54FCPB23ZY3KQG6RDDSZX34FANCNFSM4VZFVTCA
.

I agree that this would be useful to have. Came across different use cases where volumes as used to exchange data with entities outside the k8s cluster. IOT or edge devices providing data to an app running in k8s, engineers providing or retrieving data to/from an app,...
It would be helpful if at least one could add custom rules to the Trident export policy. Right now, any rules added manually (Ontap CLI, Ansible, ...) will be deleted by Trident eventually. Maybe have a certain ruleindex-range that isn't touched by Trident? Of course, specifying the IPs directly at the k8s side would be preferred but is a bigger feature to implement, I guess?

I agree that this would be useful to have. Came across different use cases where volumes as used to exchange data with entities outside the k8s cluster. IOT or edge devices providing data to an app running in k8s, engineers providing or retrieving data to/from an app,...
It would be helpful if at least one could add custom rules to the Trident export policy. Right now, any rules added manually (Ontap CLI, Ansible, ...) will be deleted by Trident eventually. Maybe have a certain ruleindex-range that isn't touched by Trident? Of course, specifying the IPs directly at the k8s side would be preferred but is a bigger feature to implement, I guess?

@siggins1, you are correct that this is being restricted to just the IPs of the nodes where volumes are mounted. So that isn't going to work for your use case here. We have to balance your request with those customers that want increased security by limiting network access as much as possible.
@wonderland, thanks for providing another use case to consider.
We'll track this as an enhancement request.

@siggins1, you are correct that this is being restricted to just the IPs of the nodes where volumes are mounted. So that isn't going to work for your use case here. We have to balance your request with those customers that want increased security by limiting network access as much as possible.
@wonderland, thanks for providing another use case to consider.
We'll track this as an enhancement request.


Fix test warning related to neo4j

tests/wiseagents/graphdb/test_Neo4jLangChainWiseAgentGraphDB.py::test_insert_relationship_and_query
/home/maeste/project/wise-agents/.venv/lib64/python3.12/site-packages/neo4j/_sync/driver.py:526: DeprecationWarning: Relying on Driver's destructor to close the session is deprecated. Please make sure to close the session. Use it as a context (with statement) or make sure to call .close() explicitly. Future versions of the driver will not close drivers automatically.
_deprecation_warn(

Fixed via https://github.com/wise-agents/wise-agents/pull/380


Let's add play/pause hotkey

Is it possiable to add play/pause hotkey?!

This has been added for quite some time already. Make sure you're running the latest version of it and go to settings 🎉

Hi,
I have Listen Moe 2<IP_ADDRESS> on Firefox ESR 78.13.0. Clicking on the gear in the listen moe pop-up lead to the firefox extension's preference where there is not an option to choose a shortcut or a text that states which shortcut is available
Thanks for your app
Luca


room issues

[ ] where should we store the excess material in the room?
[ ] are we able to access unity on saturday?
[ ] set-up field

We are able to get to the room on Saturday.
Mrs. Blando is looking into giving us more of that room or moving the stuff out of there. she will let us know soon


Extend Inifinite loop protection timeout

I've come across several people on the forum who have not been able to get their correct code to pass tests due to the infinite loop protection in the testing process - After console logging some dates, this seems to be set at 100ms, which seems awfully short for a challenge like the one where you need to find the smallest common multiple - even for the most efficient code. I'm not sure where this is set or what a better length of time would be before it timeouts, but I would suggest a lot more - maybe as much as 10000ms
this post https://forum.freecodecamp.org/t/free-code-camp-infinite-loop-protection/19550 describes the loop protection at 500ms, and gives a workaround by adding the //noprotect to your code, which doesn't seem to work since the new site
here's two posts of people having this issue...
https://forum.freecodecamp.org/t/help-problem-4-largest-palindrome-product/226359/2
https://forum.freecodecamp.org/t/smallest-common-multiple-cant-pass-the-last-two-tests/223679/3
So I would suggest to either fix //noprotect so it works again and/or extend the time limit before the loop protection kicks in

Since all the current FCC challenges can be solved with a more efficient algorithm, I think adding more time just promotes campers to only create brute force solutions instead of having to do some research on their own regarding what is a more a efficient algorithm to use.

I'm not convinced - What about the project euler challenges? A number of those look like they could need significantly more time to run - I'm not saying to promote the brute force method - but like I said before, 100ms (which is how long I think they get according to my quick test) seems short even for a good algorithm on some of the challenges.

closing this in favor of https://github.com/freeCodeCamp/freeCodeCamp/issues/15819


How do I use the hamburger menu on my PC?

How do I change the default menu on my PC version devices to the hamburger menu?

I'm not sure I understand what the question is. Can you please elaborate? What are you going to achieve, what file you are modifying and what's the problem? Use screenshots if possible.
You can modify the code freely. We do not offer help in web development so if your question is related to coding websites, you'll have to use Google for that. Closing this issue as for now, please reply if you think it's related to Air-light base code or a bug.


internal/lsp/source: Add useAutoBraces option.

Fixes: https://github.com/golang/go/issues/43903
This PR adds a new option useAutoBraces to gopls which, if set false, will make it so gopls will not add a () to the end of an auto-completion for a function.  The default value is true, to keep the current behavior, but actually I think you could make a pretty strong case for setting the default to false.
In order to understand the motivation for this option, let's open up VSCode and write "Hello World" in Python.  You type:
pri<tab>("Hello World!")

(You can optionally not type the closing bracket if you're using the default settings, as VSCode will insert it for you when you type the open bracket.  If you do type it, the close bracket will "overtype" the existing one, so it works either way.)  This results in:
print("Hello World!")

Now let's try it in Typescript:
console.lo<tab>("Hello World!");

(Possibly the laziest auto-suggest ever, since we're not even saving a keystroke...) results in:
console.log("Hello World!");

If we switch to Visual Studio not-code, and fire up a C# project, we type:
System.Console.WriteL<tab>("Hello World!");

We get:
System.Console.WriteLine("Hello World!");

You'll note, aside from the fact that the function is named something different in each case, that we're typing basically exactly the same thing and getting the same result.  The Visual Studio family of products have a very consistent "interaction model" here, allowing you to switch from one language to another without the behavior of Visual Studio changing.
And of course, in VSCode, if we open up a .go file and type:
fmt.Pri<tab>("Hello World!")

We get:
fmt.Println(("Hello World!"))

Note the double brackets.  If we tried to pass two parameters, this would be a syntax error.  It's even worse if you have the "editor.autoClosingBrackets" set to "never", then you get fmt.Println(("Hello World!") - only double brackets at the start.
gopls has this cool feature where, when it returns a suggestion for "fmt.Println", it actually returns a snippet which sends back "fmt.Println()", and places the cursor in between the brackets.  This is very clever, and I'm sure lots of people like this, and if you write predominantly go all day I'm sure this works great.
If, on the other hand, you spend most of your time in some other language, and only write go occasionally, then your muscle memory is basically hard coded to type "<tab>(" every time you want to call a function, and thus in go, you find yourself constantly having to backspace away extra brackets, and slowly losing your mind.  It's also worth noting that when this exact feature was requested back when Microsoft was still maintaining the go plugin, they turned it down for exactly this reason.
So, this PR makes this behavior controlled by an option, so at least you can turn it off if it's driving you crazy.  :)

@googlebot I signed it!

@googlebot I signed it!


Unity UI Layoutgroups get bugged on touch and click - Hololens 2

Describe the bug
Layout group gets bugged on touch (Hololens 2)
To reproduce
Steps to reproduce the behavior:

Touch a Unity Button in a layoutgroup(interactable, pressableButtonHololens 2)
Button jumps to unexpected position: Layoutgroup is not updated.
Eyegaze and handrays dont trigger the bug.

Expected behavior
Layout groups should be updated on touch and click.
Screenshots

Your setup (please complete the following information)

Unity Version 2021.3.5f2
MRTK Version  v2.8.0
MRTK OpenXr 1.4.1

Target platform (please complete the following information)

HoloLens 2

Additional context
I try to force update the layoutgroups when click is called, this sort of fixes my issue onClick however not ideal. But the bug still happens on touch when click is not triggered.

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Add DrawerSurface story. Add a mobile container for showing component…

What

Add DrawerSurface Story
Add MobileContainer that can be used to visualize components in a mobile UI

Why
Playground for developing drawer surface
How Tested
Try it in the storybook link.
Screenshot:

Works great on my ParticipantPane (apart from the style changes I need to do on my drawer content) user-images.githubusercontent.com/79475487/154124681-62a48983-14c6-4c32-8c54-b7c5bdc5ce11.mp4

Wow thanks for testing! Hopefully you should be able to make use of the DrawerMenu component and just pass props similar to props being passed into context menus: https://github.com/Azure/communication-ui-library/pull/1469


Upgrade to react 16

Coverage remained the same at 75.904% when pulling cfcc881f3d3b36816ab91d32584483a9888b849b on wuakitv:david/upgrade-to-react-16 into 12a084709492aad3c2b700dc5f825faa294fa2bf on jasonslyvia:master.

Coverage remained the same at 75.904% when pulling cfcc881f3d3b36816ab91d32584483a9888b849b on wuakitv:david/upgrade-to-react-16 into 12a084709492aad3c2b700dc5f825faa294fa2bf on jasonslyvia:master.


Impute Random Letters if no Fallback found

Wrote disconnect post-processing script to insert random letters into the board with the same frequencies as the letters already within the board. Add this logic to the main loop, with a warning.
import random

def impute_letters(s):
     rows = [row.strip().split() for row in s.strip().split("\n")]
     letters = [c for row in rows for c in row if c != "_"]
     for c in s:
         if c == "_":
             print(random.sample(letters, 1)[0], end="")
         else:
             print(c, end="")

Fixed in https://github.com/jonadsimon/wonder-words-generator/commit/02d2fb8ade74d592d352a03ae29b9b86e13d0ee5


Format accept language code

Currently:
language = Browser::AcceptLanguage.new('EN-GB')

language.code
# => "EN"

language.full
# => "EN-GB"

Now:
language = Browser::AcceptLanguage.new('EN-GB')

language.code
# => "en"

language.full
# => "en-GB"

Hello, @prodis! This is your first Pull Request that will be reviewed by Ebert, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

@fnando

Close this in favor of #298.


Feature request: Display schema name

In OpenAPI Swagger UI, it is possible to view name of a Schema. This is very useful for us to define Type definitions in TypeScript.
Collapsed view

Expanded view

Rapidoc however shows the expanded JSON structure, and not Schema name itself.
The name is not displayed even if object is collapsed. Is there a way to show the Schema name?

SchemaName is very internal to the spec. We dont think it brings in much value to a reader of the document. Instead we opted to show a more cleaner and less noisy view of the Schema.
If you can provide me some compelling reason for an API user (not a spec developer) to know about Schema Names used inside the spec I will take it forward to the discussion table

Agree that if you are just calling the API as json it is not much of value.
It is useful for us because we try to keep the Typescript types in sync with the Schema name so that same schema type gets reused across multiple APIs.
It can be an option which is disabled by default, but I believe it is useful for UI Developers who use Typescript to type the responses.
Ofcourse it won't be required if one is auto-generating d.ts from openapi yaml files, but in my experience that is not common as manual typing.

We do have seen schemas composed of many other schemas, which will result into having these names embedded in between too and not just at the top. The other challenge is when you have to show a complex composition made with one-of , any-of constructs both in terms of space usage on narrow screen devices.
I will take it further to discuss with the team let see what they have to say about this

+1 for feature

closing this request as we did not receive enough traction on this. However if I get a PR. I can test and move it forward for an approval


HDDS-1692. RDBTable#iterator should disabled caching of the keys duri…

…ng iterator.

Thank You @mukul1987 for reporting this. I think this should help not to replace cache with bulk read contents when list operation has happened.
I see there are 2 more option verify checksum and readHeadASize which might help read performance. Let me know your thoughts about those options.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
27
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1
mvninstall
543
trunk passed

+1
compile
281
trunk passed

+1
checkstyle
84
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
954
branch has no errors when building and testing our client artifacts.

+1
javadoc
171
trunk passed

0
spotbugs
338
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
531
trunk passed

_ Patch Compile Tests _

+1
mvninstall
459
the patch passed

+1
compile
288
the patch passed

+1
javac
288
the patch passed

+1
checkstyle
84
the patch passed

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
734
patch has no errors when building and testing our client artifacts.

+1
javadoc
167
the patch passed

+1
findbugs
548
the patch passed

_ Other Tests _

-1
unit
164
hadoop-hdds in the patch failed.

-1
unit
1147
hadoop-ozone in the patch failed.

+1
asflicense
50
The patch does not generate ASF License warnings.

6413

Reason
Tests

Failed junit tests
hadoop.ozone.container.common.impl.TestHddsDispatcher

hadoop.ozone.client.rpc.TestOzoneAtRestEncryption

hadoop.ozone.client.rpc.TestSecureOzoneRpcClient

hadoop.ozone.client.rpc.TestOzoneRpcClientWithRatis

hadoop.ozone.client.rpc.TestOzoneRpcClient

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-975/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/975

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux e6eb89338407 4.4.0-143-generic #169~14.04.2-Ubuntu SMP Wed Feb 13 15:00:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 1da09bd

Default Java
1.8.0_212

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-975/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-975/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-975/1/testReport/

Max. process+thread count
4361 (vs. ulimit of 5500)

modules
C: hadoop-hdds/common U: hadoop-hdds/common

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-975/1/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Thank You @mukul1987 for the review.
Any thoughts on using below 2 options.
I see there are 2 more option verify checksum and readHeadASize which might help read performance. Let me know your thoughts about those options.


[Bug]: ValueError: too many values to unpack (expected 2) on scipy.signal.pcolormesh

Describe your issue.
My code below  records a  sound from microphone and stores it as numpy array in voice array. The problem is that i followed the scipy documentation of scipy.signal.pcolormesh but i cannot understand why this error is thrown. It says too many values to unpack expected two, then i unpack 2 and it throws error: expected 1 or  3 positional arguments. My code could be more definite way to understand the problem
Reproducing Code Example
import matplotlib.pyplot as plt
import numpy as np
import sounddevice as sd
from scipy import signal

Fs = 8000  # Sampling frequency
duration = 5  # Recording duration in seconds
voice = sd.rec(frames=duration * Fs, samplerate=Fs, channels=1, dtype='int16')  # Capture the voice
# frames indicate  indirectly the duration of record, dtype is 16 bits per sample.
sd.wait()  # close after recording finish

time = np.linspace(0, len(voice - 1) / Fs, len(voice - 1))  # split x axis in voice-1 points
# points have 1/Fs distance each other
plt.plot(voice)
plt.ylabel('Voice amplitude')
plt.xlabel('No of sample')
plt.title("Voice Signal with respect to sample number")
plt.show()
plt.plot(time, voice)  # plot in seconds
plt.title("Voice Signal")
plt.xlabel("Time [seconds]")
plt.ylabel("Voice amplitude")
plt.show()
plt.plot((10**3)*time, voice)  # plot in milliseconds
plt.title("Voice Signal")
plt.xlabel("Time [milliseconds]")
plt.ylabel("Voice amplitude")
plt.show()

N = len(voice)
# Fourier transform
F = np.fft.fft(voice)
f = np.linspace(0, Fs - Fs / N, N)
plt.plot(f, abs(F))
plt.title("FFT of the signal")
plt.xlabel('Frequency')
plt.ylabel('Signal Amplitude')
plt.show()
# Vocals recorded with the following order e\ a\ o\  ii\
# It seems that a and o are very close, but magnitude and frequency of e is significant lower
# Also i has very high frequency but too low magnitude

freq, t, Sxx = signal.spectrogram(voice, Fs, nperseg=1)
print(freq)
print(t)
print(Sxx)
print(len(Sxx))
print(len(Sxx[0]))
plt.pcolormesh(t, freq, Sxx, shading='gouraud')
plt.ylabel('Frequency [Hz]')
plt.xlabel('Time [seconds]')
plt.show()

Error message
Traceback (most recent call last):
  File "C:\Users\Πανος\Documents\GitHub\EMB\Voice_Capture.py", line 52, in <module>
    plt.pcolormesh(t, freq, Sxx, shading='gouraud')
  File "C:\Users\Πανος\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\pyplot.py", line 2718, in pcolormesh
    __ret = gca().pcolormesh(
  File "C:\Users\Πανος\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\__init__.py", line 1412, in inner
    return func(ax, *map(sanitize_sequence, args), **kwargs)
  File "C:\Users\Πανος\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\axes\_axes.py", line 6016, in pcolormesh
    X, Y, C, shading = self._pcolorargs('pcolormesh', *args,
  File "C:\Users\Πανος\AppData\Local\Programs\Python\Python310\lib\site-packages\matplotlib\axes\_axes.py", line 5504, in _pcolorargs
    nrows, ncols = C.shape
ValueError: too many values to unpack (expected 2)

SciPy/NumPy/Python version information
1.7.3/1.21.4/3.10.1

I think i found the error. For some reason the voice np-array had subarray elements like that [[1] [2]....[100]] so it was 2-dim array. I used np.array.flatten() and worked specgram


Pasting text breaks UI

Pasting more than 15-20 lines of text breaks the UI. The only way to recover is to restart the app. See attached screenshot.

I've seen this too, thought it was related to PS code but this makes sense.

Should be solved today in the pre-release v1.4.4 :)


First try matching against RouteStopPattern

I match ScheduleStopPairs against Routes instead of RouteStopPatterns because while manually looking through a few of them, the RouteStopPattern on the SSP was null. However it would be better if you first tried matching against the RouteStopPattern and only matched against the Route as a fallback.
When matching to Routes, sometimes the SSP is matched to the wrong direction of the Route. Usually that doesn't matter but with highways or any place where the route is different in each direction, it can look like the bus is driving on the wrong side of the road.
For example:
https://all-transit.com/#13.53/47.53084/-122.29016

From the US data:
sqlite> SELECT COUNT(*) from ssp WHERE route_stop_pattern_onestop_id = '';
12531804
sqlite> SELECT COUNT(*) from ssp;
93228527

So the route_stop_pattern is missing for about 13.4%


difficulty installing Flutter

Steps to Reproduce

...
...
...

Logs

Logs

@cnaez Thank you for contributing. However, you did not fill out the template, and this issue is not actionable. I am going to close this. Feel free to file a new issue, providing:

a clear description of the problem you are experiencing installing Flutter
the steps that you tried
any log output or error message that you received


Live search with Ajax to populate options. Is it possible?

Hi!
I'm wondering if there is a way to have the live search with Ajax in order to populate options.
In other words, when a user start typing in the search box, an ajax call start and return new options.
Is there a quick way?
If not, what you would suggest? Is it ok to just update the option list and force the render method?
$('.selectpicker').selectpicker('render');
Thank you for your help.
Luca

Duplicate of #899. Please 👍 and follow to keep track of updates. In the meantime, check out https://github.com/truckingsim/Ajax-Bootstrap-Select.


code？

where is the code？？

It is finished and will be released in a week after ECCV is end.

@noneUmbrella  ok very thanks.


Using without server

Hi. I'd like to use chitalka.js as plain javascript file by adding it into web-page at head tag.
<script type="text/javascript" src="chiltalkа.js"></script>

Is it possible?

It can be


Semux might be prone to Sybil Attack

Due to the bearish price movements of cryptocurrencies, Semux stakers have been constantly unvoting and cashing out Semux coins to cover their losses or spendings which leads to decreasing number of staked coins and increasing risk of Sybil attack. If the bear market continues for another 2 years, the price of Semux coin may continue to decline and it will eventually become cheap enough for an attacker to freeze or even take over the network.

How so?  Sybil attack does nothing for an attacker.  They'd still need to control >33% of voted coins to affect network and could do so from just one acct.  No benefit to being 1 or 300 accts
If sales continue to happen, presumably the new owners would stake too, so voted amounts should not diminish.  We have a huge pool population.  Better attack might be pool flooding with 0 fees to gain control

Please feel free to reopen if you have additional information, or if I'm missing something obvious.
Thanks!


read to more decimal places

I'm using js-xlsx inside a react app to read a spreadsheet. Some of the numbers in it are 12 decimal places long but when I see the results of what has been read I only get 8. I didn't think this would be an issue but apparently according to the accountants that use this system those extra decimal places are important.
So the question is.
Is there a way to stipulate how many decimal places to read to or is 8 the max/default
fileDropped = files=> {
const reader = new FileReader()
this.setState({
loading: true,
message: 'blah'
})
reader.addEventListener('load', () => {
this.workbook = XLSX.read(reader.result, {
type: 'binary',
cellHTML: false,
cellText: false,
cellNF: false,
bookSheets: false,
cellDates: true
})
this.setState({
loading: false,
message: 'blah'
sheets: this.workbook.SheetNames
})
})
reader.readAsBinaryString(files[0])
}
The above is my reader part

Can you share a sample file?

unfortunately  not

The v property of each numeric cell is the exact value stored by Excel.  If you are only seeing 8 decimal places, that is your JS code displaying only 8 digits.
If cellNF: false is set, then any subsequent function that touches the cell will set the formatted text as if the "General" format is applied.  Note that this is different from what is shown in the formula bar.  The unfortunate problem is that the number you see in the formula bar isn't stored anywhere.  It's literally the raw text form of the IEEE754 number In XLSX, or a 34-bit RkNumber in XLS.


Move roundCost function to utilities

This enables it to be used in other tests, most notably the enterprise traverser tests which show the same floating point fluctuation problems as the community edition traverser tests.
There will be a PR on the enterprise edition that depends on this PR.

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/4840/


Pub/Sub missing lib version in README and GoDoc

In README.md -> the Supported API table -> row Pub/Sub, the link should have been godoc.org/cloud.google.com/go/pubsub/apiv1.
The API doc at https://godoc.org/cloud.google.com/go/pubsub should also reflect the lib version apiv1.

The link is intentionally godoc.org/cloud.google.com/go/pubsub. We prefer people not to use the generated apiv1 libraries. Similarly, we intentionally do not mention the pubsub/apiv1/ clients in pubsub/ - they serve different purposes.
Closing for now - let me know if you'd like to discuss this more. Also happy to chat offline.


使用wenet在AISHELL-4数据集中报错

Traceback (most recent call last):
  File "local/aishell4_process_textgrid.py", line 107, in <module>
    main(args)
  File "local/aishell4_process_textgrid.py", line 47, in main
    tg = textgrid.TextGrid.fromFile(utt2textgrid[uttid])
  File "/data_disk/miniconda3/envs/wenet/lib/python3.8/site-packages/textgrid/textgr
id.py", line 807, in fromFile
    tg.read(f)
  File "/data_disk/miniconda3/envs/wenet/lib/python3.8/site-packages/textgrid/textgr
id.py", line 736, in read
    itie.addInterval(Interval(jmin, jmax, jmrk))
  File "/data_disk/miniconda3/envs/wenet/lib/python3.8/site-packages/textgrid/textgr
id.py", line 463, in addInterval
    raise ValueError(self.maxTime)
ValueError: 2104.492

RuntimeError: Caught RuntimeError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/data_disk/miniconda3/envs/wenet/lib/python3.8/site-packages/torch/utils/dat
a/_utils/worker.py", line 308, in _worker_loop
    data = fetcher.fetch(index)
  File "/data_disk/miniconda3/envs/wenet/lib/python3.8/site-packages/torch/utils/dat
a/_utils/fetch.py", line 54, in fetch
    return self.collate_fn(data)
  File "tools/compute_cmvn_stats.py", line 33, in __call__
    sample_rate = torchaudio.info(
  File "/data_disk/miniconda3/envs/wenet/lib/python3.8/site-packages/torchaudio/back
end/sox_io_backend.py", line 115, in info
    return _fallback_info(filepath, format)
  File "/data_disk/miniconda3/envs/wenet/lib/python3.8/site-packages/torchaudio/back
end/sox_io_backend.py", line 14, in _fail_info
    raise RuntimeError("Failed to fetch metadata from {}".format(filepath))
RuntimeError: Failed to fetch metadata from /data_disk/datasets/AISHELL-4/train_M/wa
v/20200713_M_R002S06C01.flac.1channel.wav

如何解决?这是什么错误?

https://github.com/wenet-e2e/wenet/pull/2279#issuecomment-1880342576  参考这个


Fix package discovery in setup.py

Added listing all packages for a complete installation using pip (see https://stackoverflow.com/questions/15368054/import-error-on-installed-package-using-setup-py/15368107#15368107 for more details)
Without this the package is unusable - hloc.utils and other packages were not being copied to site-packages. I suspect the example notebooks work because the directory is changed to the repo root.

I have always installed the package in develop mode with pip install -e .
The non-develop install does not support dependencies in third_party because they are not included by the setup - we'd need to move them to hloc/ (you're welcome to give it a try)


change import urls to bitnami/kubeless

skippbox/kubeless -> bitnami/kubeless

Gonna merge for the release. I tested it.


data:darvesh29

Changes proposed
Adding  a profile to the LinkFree account
Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Note to reviewers
Thanks for letting me create a profile on Linkfree

Hey,
Add your name to the data folder and also fix the JSON syntax suggested. If you need help, feel free to ask.

Hii Pradumansaraf , thanks for correcting me
Where is the data folder?

Hey,
Add your name to the data folder and also fix the JSON syntax suggested. If you need help, feel free to ask.

Hii Pradumansaraf , thanks for correcting me Where is the data folder?

In the root directory - https://github.com/EddieHubCommunity/LinkFree/tree/main/data

Hey,
Add your name to the data folder and also fix the JSON syntax suggested. If you need help, feel free to ask.

Hii Pradumansaraf , thanks for correcting me Where is the data folder?

In the root directory - https://github.com/EddieHubCommunity/LinkFree/tree/main/data

i did it brother
when will this get merge now

It is still at the root of the project not in the data. Please fix that.
if you need help feel free to ask

i am not understanding you
can you please provide me the steps to do this

To move your file into data folder, you just need to go to (https://github.com/darvesh29/LinkFree/edit/main/darvesh29.json).

And rename your file as data/darvesh29.json.
Commit the changes, & it should be good to go then.

Hope this helps. Feel free to ask if still confusion persists. :)

hey !!!!Thank you
did it , is it good to go now?


break and continue long lines

Some of the suggestions returned by gorilla overflow the space available on the screen.
Sometimes it breaks lines and adds \ for continuation.  Sometimes it does not do this and makes long lines.
Could the line size be made more consistent?
When gorilla is suggesting a shell command, it could end a line after about 70 chars and add a \ for continuation.
Other contexts have their own line-continuation requirements.
Since this is a matter of preference and there is no single correct way, it suggests a config file or command line switches.

Thanks for raising this @DrPaulBrewer 🙏
If you/anyone want to raise a PR, would accept it and welcome you as a contributor. If not, I'll get to this in the next release!


Add link to AWS Cloud Formation Driver

@nathanleclaire Let me know if you also need an issue to go with this PR.
Signed-off-by: Jeffrey Ellin<EMAIL_ADDRESS>

LGTM


Add pull-gitleaks workflow

Description
Changes proposed in this pull request:

Add gitleaks workflow, that allows to migrate presubmit scanner from prow jobs

Related issue(s)

 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.


Edits to "Component Styles" and "Pipes"

@juleskremer here are my edits for the "Component Styles" page. Just three comments/questions in this one--search for "CF:".

@juleskremer I added another commit with my edits to the "Pipes" page. Just two comments in this page--search for "CF:"

Thanks for your comments, @juleskremer !

Thanks! lgtm


Doesn't get query parameter value from datatables request?

Hello , i am use datatables and use server side processing, but when i will parse the paramater that given from datatables the sails doesn't show the value. i just get the last parameter in array column that shown. but when i use in expressJS 3 same as the sails i use req.query i get the complete parameter ??
what different req.query in Sails vs ExpressJS 3 ??

What @zainul trying to say is:
output from req.query in the controller is wrong:
// users controller
module.exports = {
	index: function (req, res) {
    return res.send(req.query);
  },
};

when visit http://localhost:1337/user?foo[0][foo]=foo&foo[0][bar]=bar
expected:
{
  foo: [
    {
      foo: "foo",
      bar: "bar"
    }
  ]
}

got:
{
  foo: [
    {
      bar: "bar"
    }
  ]
}

Thank you @tejanium for completely my question, yes my expected response like your comment.. :+1:

is this expected behavior or bug?


Extract more types of HTML element

Users have requested data about

warning symbols
contact details
email addresses specifically
alt text of images

The pattern to follow is the script src/utils/extract_abbreviations_from_html.py and the use of it.  It parses the HTML, extracts certain tags, and emits a CSV file.

Users have asked to be able to search for the content of headings, in GovSearch. This is difficult in general, because of certain document types such as contact that render headings from JSON rather HTML, but it would work for most pages.


[Solid][Combobox] not working as expected

🐛 Bug report
When I type something into the input to filter the list of options in the Solid combobox, the list is filtered as expected, but then when i press down arrow and then enter to select the first option, the first option (not listed in the filtered options) is selected.
I'm using the default combobox example shown in the zag docs under the solid tab.
💥 Steps to reproduce

Go to https://codesandbox.io/p/devbox/infallible-tereshkova-8q6mfj?file=/src/Combobox.tsx:9,3
Type "be" in the input to filter the list to include only "Benin"
Press enter
"Zambia" is populated in the input field, despite being filtered out of the list of options

💻 Link to reproduction
CodeSandbox reproduction: https://codesandbox.io/p/devbox/infallible-tereshkova-8q6mfj?file=/src/Combobox.tsx:9,3
🧐 Expected behavior
"Benin" is selected. Perhaps the example code in the zag docs is incorrect? I'm not sure whether the issue is the implementation of zag in my example, or the underlying code in the library itself.

Hi @trevorblades,
Yes, you missed something in your code. Please see the diff
  const collection = createMemo(() =>
    combobox.collection({
      items: options(),
      itemToValue: (item) => item.code,
      itemToString: (item) => item.label,
    }),
  );

+  const context = createMemo(() => ({
+    collection: collection(),
+  }))

  const [state, send] = useMachine(
    combobox.machine({
      id: createUniqueId(),
      collection: collection(),
      onOpenChange() {
        setOptions(comboboxData);
      },
      onInputValueChange({ value }) {
        const filtered = comboboxData.filter((item) =>
          item.label.toLowerCase().includes(value.toLowerCase()),
        );
        setOptions(filtered.length > 0 ? filtered : comboboxData);
      },
    }),
+   { context }
  );

https://codesandbox.io/p/devbox/infallible-tereshkova-forked-fm7jgj?file=%2Fsrc%2FCombobox.tsx%3A14%2C1-41%2C5


Cannot find module '@actions/core' in v1.0.2

Describe the bug
node:internal/modules/cjs/loader:[10](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:11)51
  throw err;
  ^

Error: Cannot find module '@actions/core'
Require stack:
- /opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:[11](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:12)15:19)
    at require (node:internal/modules/helpers:[13](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:14)0:18)
    at 734 (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:71:33)
    at __nccwpck_require__ (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:1[14](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:15):42)
    at [26](https://github.com/.../.../actions/runs/7725079122/job/21058552793#step:3:27)5 (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:7:14)
    at __nccwpck_require__ (/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:114:42)
    at /opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:133:13
    at /opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js:139:3 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/opt/actions-runner/_work/_actions/lablnet/create-branch-from-tag/v1.0.2/dist/index.js'
  ]

To Reproduce
Run the action and observe the log
Expected behavior
No errors
Screenshots
Not applicable
Desktop (please complete the following information):
Not applicable
Smartphone (please complete the following information):
Not applicable
Additional context

Fixed in v1.0.4 But you need to update your workflow to add permission
    permissions: # Read more at : https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
      contents: write

See updated example in Readme.md


Update sbt-typelevel, sbt-typelevel-site to 0.4.8

Updates

org.typelevel:sbt-typelevel
org.typelevel:sbt-typelevel-site

from 0.4.7 to 0.4.8.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, commit-count:1

I bungled this one.

https://github.com/typelevel/sbt-typelevel/issues/253

Superseded by #150.


feat: add textarea component type

Before submitting a pull request, please make sure the following is done...

Fork the repo and create your branch from master.
If you've added code that should be tested, add tests!
If you've changed APIs, update the documentation.
Ensure the test suite passes (npm test).
Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

next组件包也加一下Textearea吧

@janryWang done


support different service interaction models

the load balancer maintains a list of target services to send messages to
the are different types of message pattern:
actor => select one target from the list of targets (and select using round-robin, random, etc)
publish => send to all
subset => only send to 2; only send to 10%, etc
provide a configuration mechanism to support these patterns
in particular actor and publish, as they are really fundamental
Q: is this orthogonal to strategies (such as round-robin)? feels like it is...

I am not sure that calling this "message pattern" is a good naming idea.
Seneca is all about pattern matching, but the order is important and things will get messy and confused.
Also, I'm not getting how this is different from #4.

"service interactions"?
differs form #4 as orthogonal
e.g.
if the "service interaction" is actor and the strategy is round-robin, then each target gets 1/n messages ordered by arrival
if the "service interaction" is publish and the strategy is random, then each target gets n/n messages (all!) and the strategy is not relevant

Let's go with model
Implementation: add model property to plugin options:
seneca().use('balance-client', {model: function(){ ... } })
model can be a built-in: actor, publish, etc (string value is used as abbreviation)
The model function needs, I guess, the list of targets, the callback, ... perhaps some other context?

I think I agree with the idea that this and #4 should be treated as the same thing. I think #3 could go under the same umbrella. These all just seem like different ways of stating the routing policy, and trying to split them into separate options seems like unnecessary added complexity.

agreed - we have enough "power" in the current model-based parameterization functions to handle these cases, so let's not gild the lily


Improving CacheGuardian to free evicted fibers as soon as possible

What changes were proposed in this pull request?
This PR is improving the cache guardian thread in order to:

ensure the pending fibers in the evicted queue to be freed as soon as possible
after it's released by the last user.
ensure the queue to be empty as long as all the pending fibers are released by the last users.
With the above assurances, the memory pressure will be significantly mitigated.

We are based on the premise that the guava cache manager has a good eviction mechanism.
That indicates that the evicted fibers are relatively old and not accessed for a while and
won't be accessed in the future with the high possibility. Otherwise, we will upload another PR to address the inefficient eviction algorithm.
How was this patch tested?
mvn clean test package and all the unit tests passed.
For the total 13 existing fiber cache manager test cases, the peak memory footprint of five are reduced significantly. The maximum memory size of cache manager is 7.34MB.
The detailed result is below:
The peak memory of "remove a fiber is in use" is reduced from 66.06MB to under 7.34MB.
The peak memory of "wait for other thread to release the fiber" is reduced from 31.46MB to under 7.34MB.
The peak memory of "add a very large fiber" is reduced from 39.32MB to under 7.34MB.
The peak memory of "cache guardian remove pending fibers" is reduced from 76.55MB to 69.21MB.
The peak memory of "get different fiber simultaneously" is reduced from 33.55MB to 12.58MB.

For this case, the guava cache manager will directly free the evicted fiber if the refCount is zero already before putting in the queue. The code is in addRemovalFiber method in the first patch. Thanks.

@carsonwang Please help review if the third commit resolves your concern when you are available. Thanks so much for your comments!

You probably should indicate the direct evidence of why current cache guardian thread doesn't release fiber cache well(and as you say, cause memory pressure)
For your test part, some cases of FiberCacheManagerSuite's producing fibers pending on removal use too much memory can't prove the inefficiency of CacheGuardian. So you can't prove your PR works by

the test cases exceeding off-heap memory usage threshold are reduced from 6 to 2

Because they are made to overuse the memory in a sudden to let Guava perform evict, so it's likely the pending queue is temporarily full. And all of that happen in a rather short time.
In short, please

Prove the evidence of memory pressure, maybe real cases and statistics (and it's caused by CacheGuardian)
Use PR on the cases indicated above and give new results

@gczsjdy For the unit test result, I updated in this PR. Thanks.

@lee-lei That's in extreme conditions of UT we created(like, probably occurs in 0.01% cases), however you still hasn't proved the memory pressure in non-extreme cases.

A complete logic chain proving the memory pressure + the result after resolving are needed

@carsonwang please help review the last two commits when you are available. I am totally ok to split the last commit as a standalone PR after your review. Thanks.

@lee-lei maybe it's better to split this first, for the convenience of reviewers.
Also, we need confirmation from @linhong-intel

@gczsjdy this pr is ok to me

Close this PR, since the problem resolved by this PR is very rare in the production environment, and the #830 proposed another solution. Thanks.


fix: add shebang in the entry point of the library

As I said in #2, it looks like there is an issue when running yarn run o2ts :
❯ yarn run o2ts openapi/document-upload-api.yaml
yarn run v1.22.19
$ /Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts openapi/document-upload-api.yaml
/Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts: line 1: import: command not found
/Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts: line 2: import: command not found
/Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts: line 3: import: command not found
/Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts: line 4: import: command not found
/Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts: line 5: try: command not found
/Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts: line 6: syntax error near unexpected token `('
/Users/mishaa/yago/seraphinWeb/node_modules/.bin/o2ts: line 6: `    const args = process.argv.slice(2);'
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This happens because the file is not interpreted as JavaScript file and are not executed by Node.
Adding Shebang fix the issue.

I had the same problem (using node v18.12.1). I can confirm this fixes the problem.

Hello @Grafikart is this fix OK for you?


feat: support nested objects via dot notation

Fixes #51
Other minor improvements

We faced a problem when saving a JSON with properties that are objects.
For instance a payload like:
  a: {
    b: 1
    c: 2
  }
  x: 3

is saved as an object with three properties:
a.b = 1
a.c = 2
x = 3

instead of  as an object with 2 properties a and x, a with fields b and c.
This seemed to be a new bug to us.
The preceding version 3.1.0 worked as expected.


Created Python C extension

Yoyo,
This commit adds a Python C extension that allows you to generate shellcode dynamically in Python!  Check this out:
Python 3.7.4 (default, Jul  9 2019, 18:13:23)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.7.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import donut

In [2]: shellcode = donut.create(file="naga.exe", params='https://<IP_ADDRESS>/')

In [3]: len(shellcode)
Out[3]: 43809

donut.create() accepts positional and keyword arguments and should work with all the parameters donut.exe accepts.
Please don't judge my C code in donutmodule.c, this was my first time writing C in a long time.
Also added a setup.py & MANIFEST.in file so it's ready to be packaged and sent to PyPi!  (I really want to use this in SILENTTRINITY)
To install and test the extension all you have to do is pip install . or python setup.py install
Cheers and let me know if i can help with anything else!

Closing in favor of #5


RuntimeError: cuda runtime error (209) : no kernel image is available for execution on the device

I followed the same instruction as mentoned in README file but getting below error while running test_net.py
command : python3 tools/test_net.py --loadmodel ./outputs/DSGN_car_pretrained/ -btest 4 -d 2-3
Error: RuntimeError: cuda runtime error (209) : no kernel image is available for execution on the device
Environment Details:
Ubuntu 18.04
torch           1.3.0
torchvision     0.4.1
4GPU           GeForce RTX 2080  11GB

Did you build and compile the costvolume kernel successfully? It seems that it cannot find the compiled kernel.

As mentioned in README file i ran setup.py file successfully. Do i need to compile costvolume separately? Is the same mentioned in README file? If not how should i compile that?
[1]+  Done                    cd dsgn/utils/rotate_iou && bash compile.sh
Result of python3 setup.py build develop --user:
running build
running build_py
running build_ext
running develop
running egg_info
writing dsgn.egg-info/PKG-INFO
writing dependency_links to dsgn.egg-info/dependency_links.txt
writing top-level names to dsgn.egg-info/top_level.txt
reading manifest file 'dsgn.egg-info/SOURCES.txt'
writing manifest file 'dsgn.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-3.7/dsgn/_C.cpython-37m-x86_64-linux-gnu.so -> dsgn
Creating /home/shalini/.local/lib/python3.7/site-packages/dsgn.egg-link (link to .)
dsgn 0.1 is already the active version in easy-install.pth
Installed /home/shalini/Models/DSGN
Processing dependencies for dsgn==0.1
Finished processing dependencies for dsgn==0.1

Did you build and compile the costvolume kernel successfully? It seems that it cannot find the compiled kernel.

As mentioned in README file i ran setup.py file successfully. Do i need to compile costvolume separately? Is the same mentioned in README file? If not how should i compile that?
[1]+ Done cd dsgn/utils/rotate_iou && bash compile.sh
Result of python3 setup.py build develop --user:
running build
running build_py
running build_ext
running develop
running egg_info
writing dsgn.egg-info/PKG-INFO
writing dependency_links to dsgn.egg-info/dependency_links.txt
writing top-level names to dsgn.egg-info/top_level.txt
reading manifest file 'dsgn.egg-info/SOURCES.txt'
writing manifest file 'dsgn.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-3.7/dsgn/_C.cpython-37m-x86_64-linux-gnu.so -> dsgn
Creating /home/shalini/.local/lib/python3.7/site-packages/dsgn.egg-link (link to .)
dsgn 0.1 is already the active version in easy-install.pth
Installed /home/shalini/Models/DSGN
Processing dependencies for dsgn==0.1
Finished processing dependencies for dsgn==0.1

You do not have to compile the costvolume kernel separately. From your message, I think you should delete the build folder and rebuild it with python3 setup.py develop and see what happens. If it is successful, it will creates a .so file in dsgn/ folder.

You do not have to compile the costvolume kernel separately. From your message, I think you should delete the build folder and rebuild it with python3 setup.py develop and see what happens. If it is successful, it will creates a .so file in dsgn/ folder.

Yes , it is resolved now.
Thank you so much for your time.

That's OK. :)


historical data retrieval notebook added [ci skip]

historical data retrieval using:

InstrumentsCandles and,
InstrumentsCandlesFactory

Coverage remained the same at 99.246% when pulling cb2dcb5ebed30a096f8c69bb9426f8aad3f29eeb on jupyter-historical into 259d8d302e8849ff83c60d580dc327ee9ca9c037 on master.


[MNT] Add API docs for vis module

Main changes

add api documentation about the vis module
restructure api docs to a directory with separate files
add a group for vis dependencies

Related issues

closes #101
closes #102

Hey @DannyVanpoucke, I'm working on improving the documentation and would appreciate your feedback. You can preview the current WIP here https://mendeleev--105.org.readthedocs.build/en/105/. Let me know if this helps and if you have any suggestions.

Looks very nice. I would also like to see an example added where the user "adds a property to the periodic table" and visualizes that one, as that is the most useful general application.

Thanks for the feedback, I'll try to add that example to the tutorial notebook. Do you have a specific case of a user defined property I could use?


Hi
With the help your API how to extract data from the following url?
https://www.icicidirect.com/idirectcontent/Research/TechnicalAnalysis.aspx/companyprofile/inftec
mainly i need table data. Second thing in same session or after this url call how to get data from other url which you can find left hand side of this Page?

Added question in wrong API.


More schedulers for parallel identical resources

Implement the more algorithms for parallel identical resources:

[ ] List Scheduling approximation algorithm for P|prec|C_max
[ ] Rothkopf's Dynamic Programming for P||C_max
[ ] Muntz&Coffman's Level Algorithm for P|pmtn,prec|C_max

WIP on LS in #13


Add the fast random number generator

#67
It's 4x faster in the benchmark.
2020-06-16 12:41:32
Running ./build/benchmarks/bm_random
Run on (8 X 3600 MHz CPU s)
CPU Caches:
  L1 Data 32K (x4)
  L1 Instruction 64K (x4)
  L2 Unified 512K (x4)
  L3 Unified 4096K (x1)
Load Average: 3.20, 1.92, 1.13
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
----------------------------------------------------------------------------
Benchmark                                  Time             CPU   Iterations
----------------------------------------------------------------------------
RandomFill/StdRandom/4                  16.0 ns         16.0 ns     41844831
RandomFill/StdRandom/16                 63.8 ns         63.6 ns     10990813
RandomFill/StdRandom/64                  256 ns          255 ns      2748246
RandomFill/StdRandom/256                1029 ns         1023 ns       685498
RandomFill/StdRandom/1024               4094 ns         4079 ns       171171
RandomFill/StdRandom/4096              16361 ns        16299 ns        42905
RandomFill/StdRandomBipolar/4           16.4 ns         16.3 ns     42879739
RandomFill/StdRandomBipolar/16          65.4 ns         65.2 ns     10710480
RandomFill/StdRandomBipolar/64           261 ns          260 ns      2689280
RandomFill/StdRandomBipolar/256         1045 ns         1042 ns       671687
RandomFill/StdRandomBipolar/1024        4200 ns         4176 ns       168138
RandomFill/StdRandomBipolar/4096       17089 ns        16937 ns        41836
RandomFill/FastRandom/4                 4.35 ns         4.33 ns    160934278
RandomFill/FastRandom/16                17.4 ns         17.3 ns     40407215
RandomFill/FastRandom/64                70.4 ns         70.0 ns     10030776
RandomFill/FastRandom/256                278 ns          277 ns      2524776
RandomFill/FastRandom/1024              1115 ns         1111 ns       630578
RandomFill/FastRandom/4096              4463 ns         4447 ns       157879
RandomFill/FastRandomBipolar/4          4.37 ns         4.36 ns    160553950
RandomFill/FastRandomBipolar/16         17.5 ns         17.4 ns     40205255
RandomFill/FastRandomBipolar/64         69.8 ns         69.6 ns     10021214
RandomFill/FastRandomBipolar/256         279 ns          278 ns      2505383
RandomFill/FastRandomBipolar/1024       1115 ns         1111 ns       627295
RandomFill/FastRandomBipolar/4096       4447 ns         4431 ns       157962

OK cool I was doing the same thing xD I was trying to get an sse version going too. Found https://software.intel.com/content/www/us/en/develop/articles/fast-random-number-generator-on-the-intel-pentiumr-4-processor.html but I don't really understand why they have all the masking and shuffling going on? It seems to me that the shuffling and masking is essentially a no-op.
Can't we just go like
const auto sentinel = output + size;
        const auto* lastAligned = prevAligned<4>(sentinel);
        while (unaligned<4>(output) && output < lastAligned) {
            seed *= 1664525u +<PHONE_NUMBER>u;
            *output++ = seed;
        }

        const uint32_t _seed [4] { seed, seed + 1, seed + 2, seed + 3 };
        static const uint32_t _mult[4] { 214013, 17405, 214013, 69069 };
        static const uint32_t _add[4] { 2531011, 10395331, 13737667, 1 };
        auto mmAdd = _mm_load_si128( (__m128i*) _add);
        auto mmMult = _mm_load_si128( (__m128i*) _mult);
        auto mmSeed = _mm_load_si128( (__m128i*) _seed);

        while (output < lastAligned) {
            mmSeed = _mm_mul_epu32( mmSeed, mmMult );
            mmSeed = _mm_add_epi32( mmSeed, mmAdd);
            _mm_store_si128((__m128i*) output, mmSeed);
            incrementAll<4>(output);
        }
        // Replace _mm_store_si32 which doesn't exist in all *mmintrin.h headers apparently
        _mm_store_ss((float*)&seed, _mm_castsi128_ps(mmSeed));

        while (output < sentinel) {
            seed *= 1664525u +<PHONE_NUMBER>u;
            *output++ = seed;
        }

I thought the SIMD could implemented in a way that is rather straightforward.
Instantiate 4 of the generators and run them in parallel.
Now if you wish the generator to not disturb the sequence after misalignment, shuffle the seeds as necessary.
For instance you want to get 2 out of 4 slots (a b c d): compute slots (a b) and reorder as (c d a b)

As another note: the generator is static in the header, so each source file which refers it may get its own instance. Perhaps it's wiser to make an instance of PRNG for every site that needs it?

Also be wary of constants of the intel article, because this is for a random of 16-bit resolution (like windows). The random of this PR is intended for 32bit full range.

Ok I understand why they had to do the shuffling like this. If you check out _mm_mul_epu32(...) it operates on the lower 32 bit part of the 2 64 bits elements in the 128 bit vector, and store the multiplication result in 64 bits. The masking/shuffling is thus necessary since you operate on 2 x 64 bits rather than 4 x 32 bits.
I think the constants are OK for 32 bits, no? What else is there in these linear congruential generators? The SSE solution is basically doing what you say, running 4 generators in parallel over different constants of a common corrupted seed. Since we're not running crypto it is probably quite ok to just proceed like this. As long as it looks uniform, and the white noise seems white, I'd say we're good 🙂
I think the key operation will be going from the uniform to gaussian. From a cursory glance, rejection methods might be faster overall but non-deterministic in nature since you might reject and branch alot to get proper results. Tabulating the operations needed for a Box-Muller transform or an inverse CDF might be the cleanest option. We probably can even clamp the distribution to limit the size of the table.

why they had to do the shuffling like this.

ok it makes sense.

I think the constants are OK for 32 bits, no?

This was just a remark out of the blue, I haven't given it much thought.
The benefit of the particular LCG generator used, it's modulo = 2^32, which permits omitting the operation on the 32 bit integer.

I think the key operation will be going from the uniform to gaussian.

That I didn't think of it but, why not.
Also a common audio thing it's to pass white noise in a LPF to create another kind, such as pink.

Regarding the static variable in header and overall organization, what would you think about putting the random generators in the resources? The resource set is already passed and shared in the Voice and Regions who are the primary users of random elements. This way we can seed and initialize what we need along with the other resources upon instantiating a Synth.

what would you think about putting the random generators in the resources?

It's fine.


Couldn't connect to the Hub: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/wangqixun/YamerMIX_v8 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f576843bbb0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: a80ced73-6d79-42ae-b987-b8eb8debc5b3)').

python gradio_demo/app.py
Couldn't connect to the Hub: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/wangqixun/YamerMIX_v8 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f576843bbb0>: Failed to establish a new connection: [Errno 101] Network is unreachable'))"), '(Request ID: a80ced73-6d79-42ae-b987-b8eb8debc5b3)').
Will try to load from local cache.
Traceback (most recent call last):
File "/home/wyw/anaconda3/envs/instantid/lib/python3.10/site-packages/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
File "/home/wyw/anaconda3/envs/instantid/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/home/wyw/anaconda3/envs/instantid/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable

Refer to download

Refer to download
local has dowloaded

OSError: Cannot load model wangqixun/YamerMIX_v8: model is not cached locally and an error occured while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.

I mean you can use hf-mirror to download. If it still doesn't work, please download it manually.

参考下载本地已下载

OSError：无法加载模型 wangqixun/YamerMIX_v8：模型未缓存到本地，尝试从 Hub 获取元数据时出错。请在上面的堆栈跟踪中查看根本原因。
base_model = 'wangqixun/YamerMIX_v8' # from https://civitai.com/models/84040?modelVersionId=196039

我也遇到了同样的问题 请问您是如何解决的

我的意思是你可以使用 hf-mirror 下载。如果仍然不起作用，请手动下载。

请问手动下载后放在哪个文件夹下？


core: spin veth pair on container namespace and move other end to host.

Following PR makes sure that we create veth pair in container namespace
and move other end to host.
Reason: Prevent name collision of interfaces on host.
PR also improves meaning of error messages i.e if config specified veth pair already
exists on container namespace tell explicitly.
Closes: https://github.com/containers/netavark/issues/62

@Luap99 above PR should close linked issue. Feel free to try it out.

LGTM

/lgtm


Enable message offset auto commit in pulsar client consumer

Is your feature request related to a problem? Please describe.
When consume from a pulsar topic,  it need to commit the consumed message offset in the program code by use pulsar client acknowledge method, this problem also appear in pulsar-flink-connector, which need commit the offset by flink checkpoint. it may be better to auto commit the offset like kafka client.
Describe the solution you'd like
start a timer thread in pulsar client, and auto commit the pulsar topic offset by a fixed interval.
Describe alternatives you've considered
Additional context

I think i can work on it.


Add Browserify support

For some reason my previous comment disappeared.
Anyway thanks for the PR @justafish :). I'm just curious about what this can do that https://github.com/andreypopp/jstransformify can't? My inclination would be to go with that as the preferred approach seeing how it's flexible enough to allow for other transforms also...

@AlexGilleran I actually couldn't get jstransformify to work at all, but maybe I'm missing something!

I see you've already forked this under a different name, but I just had a play with jstransformify and I've added instructions for it to the readme.


Xlcost dataset has some issue of not working code data.

I saw python code data from nl2codesearch directory in the dataset. However, I ran 9283 Python code data in the train.jsonl file one by one, and there were about 4,000 data that could not actually be executed. There were cases where there was a problem with the indentation of the code, or it fell into an infinite loop.

Did you follow the steps mentioned in #7 to reformat the code before executing it?

Did you follow the steps mentioned in #7 to reformat the code before executing it?

Yeah, I tried, but got like, this error msg:
Using /home/ysnamgoong42/data/CodeGen/code_evaluation/tmp_tests_folder for temporary files. Traceback (most recent call last):   File "tmp.py", line 6, in <module>     py_processor = LangProcessor.processors["python"](root_folder="/home/ysnamgoong42/ws/XLCoST_q_exp/build") TypeError: __init__() got an unexpected keyword argument 'root_folder'
which means that that's not working code.
Btw, I already made my own preprocessing code for reformatting the code, like as follows:
["def", "func", "(", "n", ")", ":", "NEW_LINE", "INDENT", "return", "sth"]
->
def func ( n ) :     return sth

But, what I wanted to say is that even though I made the preprocessing code, there are some data samples in which the token list has some problem.
There are some INDENT(or DEDENT) tokens in the token list, but some INDENT(or DEDENT) token is missed where it should be.
So, that leads to wrong indented code and to raise the execution error.

Here is the example of the "wrong indented code"
(This data sample is from the "XLCoST_data/retrieval/nl2code_search/program_level/Python/train.jsonl" file.
And the index number is 10113.)
:
code token list:
["def", "count_setbit", "(", "N", ")", ":", "NEW_LINE", "INDENT", "result", "=", "0", "NEW_LINE", "for", "i", "in", "range", "(", "32", ")", ":", "NEW_LINE", "if", "(", "(", "1", "<<", "i", ")", "&", "N", ")", ":", "NEW_LINE", "INDENT", "result", "=", "result", "+", "1", "NEW_LINE", "DEDENT", "print", "(", "result", ")", "NEW_LINE", "DEDENT", "if", "name", "==", "' _ _ main _ _ '", ":", "NEW_LINE", "INDENT", "N", "=", "43", "NEW_LINE", "count_setbit", "(", "N", ")", "NEW_LINE", "DEDENT"]
reformatted code by my own preprocessing :
def count_setbit ( N ) :      result = 0      for i in range ( 32 ) :      if ( ( 1 << i ) & N ) :          result = result + 1      print ( result )  if __name__ == ' _ _ main _ _ ' :      N = 43      count_setbit ( N )

Hello, can you share your code processing program? I have the same problem as you, the code provided by the author does not work correctly. Thank you very much！


Invalid content /en/testnets/cardano/get-started/installing-and-running-the-cardano-node/building-the-node-from-source/

Where does the issue occur?
https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/install.html.
Describe the issue
Page doesn’t exist. Error 404
Expected changes
Should open page  from where one can refer node installation guide
Additional context
Add any other context about the problem here.

The page has been updated, please see references here: https://docs.cardano.org/getting-started/installing-the-cardano-node