Added testcase for compare agents in agents.py

Added testcase for compare_agents in agents.py . #393
The performance of ModelBasedVacuumAgent will be atleast as good as that of ReflexVacuumAgent since ModelBasedVacuumAgent can identify when it has reached the terminal state ( both locations being clean) and will perform NoOp leading to 0 performance change , whereas ReflexVacuumAgent cannot identify the terminal state and thus would keep moving , leading to worse performance as compared to ModelBasedVacuumAgent.

Hello @articuno12. There are some merge conflicts now + some issues in your code. Do you have the time to fix them, or can I take care of them for you?
The main issue with the PR is grammar/English. First of all, I think the first three comments are unnecessary. Then, you use "preformance" in variable names, while it actually is "performance". There are some other grammar/spelling errors, like "as compare to", which should be "as compared to".
If you don't have the time to fix this, please let me know so that I can use your test. Thank you.


Offboard Scott, Victor, and Dan from cloud.gov project

Acceptance criteria:

[ ] Create Github issues for Scott, Victor, and Dan using this template: https://github.com/18F/cg-product/blob/master/OffboardingChecklist.md

Removed @msecret from here, since he's staying on a while longer.


fix: improve mobile user experience

Due to html height overflow and text selection (opening context menus with long touch), user experience on mobile and table devices is not comparable to desktop ones.
This commit fixes these problems, improving user experience.

I'll reopen the PR as I think CodeSandbox closed it :(


Add compatibility to GeoDjango system

Use aldjemy's source code version 0.8.0  (https://pypi.org/project/aldjemy).
Add support to postgis database alias, necessary to use GeoDjango's engine.

Thank you for PR, it looks really good. But I need a bit more time for careful review before we will merge it to master. Because R - responsibility :)

Looks like something is wrong with your last commit – you have a complete copy of aldjemy inside test_project/


fix(bpf): fix rss_stat being an array and not a struct

This error was originally fixed upstream by adding a full check at source configuration time, this is incompatible with our way of building drivers, so we are skipping that and directly making the check we need explicit. It would be a big deal, but with eBPF deprecation and full removal in the horizon, I think this is an acceptable tradeoff.

It would be a big deal, but with eBPF deprecation and full removal in the horizon, I think this is an acceptable tradeoff.

Hey folks! Sorry for the random comment, but as if it were a sign of destiny, this PR appeared on my GitHub homepage :joy:. If i can ask it, are you planning to deprecate the legacy eBPF probe in StackRox or are you talking about a future deprecation in upstream libs? I ask this just to understand the current adoption of the legacy ebpf probe

It would be a big deal, but with eBPF deprecation and full removal in the horizon, I think this is an acceptable tradeoff.

Hey folks! Sorry for the random comment, but as if it were a sign of destiny, this PR appeared on my GitHub homepage 😂. If i can ask it, are you planning to deprecate the legacy eBPF probe in StackRox or are you talking about a future deprecation in upstream libs? I ask this just to understand the current adoption of the legacy ebpf probe

Hey Andrea! We are deprecating the eBPF probe for StackRox, we've already stopped using the kernel module a couple releases ago and we hope we can go full CORE BPF in the near future. We don't have any plans to push for upstream deprecation of any drivers though.

Thank you for the quick answer @Molter73!

we hope we can go full CORE BPF in the near future

:heart: :crossed_fingers:


Relative strength

Hi , is it possible for you to add relative strength? The only thing i found was relative strength and not relative strength. Here is a few links about relative strength.
[Relative Strength]
https://www.investopedia.com/terms/r/relativestrength.asp
[Relative Strength vs Relative Strength Index]
https://advisoranalyst.com/2016/11/01/relative-strength-vs-relative-strength-index-whats-the-difference.html/

Hi, can you also add force index?
https://www.investopedia.com/terms/f/force-index.asp#:~:text=The force index is a,book Trading for a Living.
https://www.daytrading.com/force-index
https://tlc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/E-F/ForceIndex#:~:text=The Force Index study combines,negative values indicate the downtrend.

Hello @SoftDevDanial,
To be fair, I am confused by:

The only thing i found was relative strength and not relative strength.

Relative Strength Index
Done! The Relative Strength Index, is called rsi under the Momentum category in Pandas TA's README. Also see Issue #89 on help to easily get a list of the indicators.
Using rsi is simple with Pandas TA.
import pandas as pd
import pandas_ta as ta

data = pd.read_csv("path/to/symbol.csv", **kwargs) # Or whatever your data source...

# Help about rsi
help(ta.rsi)

# There are multiple ways of calling an indicator:
# 1) TA Lib Way
rsi14 = ta.rsi(data["close"], length=14)

# 2) With the Pandas DataFrame extension 'ta'
data.ta.rsi(length=14, append=True) # append=True, adds it to the data DataFrame

# 3) A less common way
data.ta(kind='rsi', length=16, append=True)

# Sanity check
data.columns

Relative Strength
There is no Relative Strength. According to the second link, Relative Strength belongs to Comparative Analytics. Fundamental and Technical Analysis libraries would be part of a Comparative Analytics Application. That package would allow a user to maintain different universes of assets grouped in different ways with different types of analytics to be performed on them, compared and ranked. That is beyond the scope of the purpose of this library. Pandas TA is built to easily apply Technical Analysis Indicators. There is a good chance someone has something similar to a Comparative Analytics Library/Module/Framework/Application already on Github.
Again, I recommend reading the README and looking at the Example Notebooks and the Watchlist Class under the Examples Directory. The Watchlist Class is a simple Class to load/download financial market data and automatically apply Technical Analysis indicators with a Pandas TA Strategy. Edit the Watchlist Class to hookup your Data Source. That should get you close to creating your own Comparative Analytics program, with the actual comparisons left up to the user.
Lastly, please make different issues for different topics.
Hope this helps!
Don't forget to ⭐ if you find the library useful.
Thanks,
KJ

Oh sorry i mistyped.. what i mean to say was i found relative strength index and not relative strength. Oh so its not technical analysis? I thought that the studies in thinkorswim is considered as technical analysis. Here thinkorswim compares the current stock with SPX then returns the ratio relationship between them

If its still not technical analysis can you please close this. Probably need to lookup on comparitive analysis python.
Thank you!

Hello @SoftDevDanial,
Yes, Relative Strength is a part of the Technical Analysis umbrella. But it the next abstraction above classical Technical Analysis, i.e. SMA, MACD, RSI, et al.
Pandas TA by design is built so that a DataFrame represents one asset and you can run any or all indicators on that asset. Relative Strength is technically doable and I can add an independent function to divide two or more assets (or Series) together. However it will not be a DataFrame indicator like all the others, like df.ta.macd() or df.ta.efi() et al. So it can be called like: ta.relstr(base, other, **kwargs) if that works for you?
Since I am knee deep in adding and fixing some other issues, it will be added to the queue with no expected implementation time yet. For the mean time, I have written a preliminary version that you can use till I do roll it into Pandas TA.
import pandas as pd

def relstr(base: pd.Series, other: pd.Series, unit: bool = False):
    ratio = other[0] / base[0]
    rs = (other / base)

    # If you want the Relative Strength to start from 1 instead
    # of it's initial ratio
    if unit:
        rs /= ratio
    return rs, ratio

rs, sratio = relstr(XLK.close, AAPL.close, unit=False)
print(f"Relative Strength Ratio: {sratio}")
rs.plot(figsize=(16, 8), color=['black'], grid=True)

Ideas? Thoughts?
Hope this helps!
Thanks,
KJ

Ohh i see. Actually i already tested it out and the code you gave me works perfectly. The only thing i could think off adding from it is probably another argument which is to select the initial date (the position of the date in the series e.g other[20]) for the ratio because probably some people would be pulling maybe 600 days data and probably would want the ratio and rs to be at position 365 instead of 600. Probably need to slice the list for other and base . I mean people can code them themselves to slice it but i do feel like its much easier if it was already in it so they can simply type a few numbers instead of typing the line or maybe more code to slice it.

Yes. That was one of the additional features that has to be added to find the first non-NaN value shared between them. Plus the feature to detect and process a list of others so you can easily see a larger subset besides only one. That i why I called it preliminary, a minimum working function to get you going till a more robust one is completed and added to the library.

Also because it is "basically" division, you can pass in indicators for comparison also if the indicator returns a Series. If an indicator returns a DataFrame, then you will need to select the same column for both DataFrames.
For example:
rs, sratio = relstr(ta.rsi(XLK.close), ta.rsi(AAPL.close), unit=False)
print(f"Relative Strength Ratio: {sratio}")
rs.plot(figsize=(16, 8), color=['black'], grid=True, title="RSI RELSTR")

rs, sratio = relstr(ta.macd(XLK.close).iloc[:,0], ta.macd(AAPL.close).iloc[:,0], unit=False)
print(f"Relative Strength Ratio: {sratio}")
rs.plot(figsize=(16, 8), color=['black'], grid=True, title="MACD RELSTR")

There is also Relative strength described by Robert Levy . It says how far is price from average price.
The formula is as follows:
RS  = (close_price – SMA 130)/ SMA 130*100
Then it can be used in Comparative Analytics but calculation is based on one asset like for any other TA indicator.
@twopirllc Do you think such implementation would be useful? I will be happy to do that.

Hello @kgonia,
You can, but there is the bias indicator that is largely the same thing.
You can implement Levy's Relative Strength by modifying bias like so:
import pandas_ta as ta

rs = 0.01 * ta.bias(close, length=130)

If you want to code something up, it would be great if you tried out Bill Williams' Fractals or Alligator Indicators as mentioned in Issue #194. If that sounds doable, please let me know.
Kind Regards,
KJ

Hi, can you also add force index?
https://www.investopedia.com/terms/f/force-index.asp#:~:text=The force index is a,book Trading for a Living.
https://www.daytrading.com/force-index
https://www.forexing.com/broker-reviews
https://tlc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/E-F/ForceIndex#:~:text=The Force Index study combines,negative values indicate the downtrend.

Hi, can you also add force index?

Hello @mollawas10,

Hi, can you also add force index?

In Pandas TA, it is efi.
Please make a new Issue for future indicator requests. It is easier to keep track of things.
Kind Regards,
KJ

Hello @kgonia,
You can, but there is the bias indicator that is largely the same thing.
You can implement Levy's Relative Strength by modifying bias like so:
import pandas_ta as ta

rs = 0.01 * ta.bias(close, length=130)

If you want to code something up, it would be great if you tried out Bill Williams' Fractals or Alligator Indicators as mentioned in Issue #194. If that sounds doable, please let me know.
Kind Regards, KJ

Hi @twopirllc,
I'm interested in calculating the relative strength levy (rsl) as well.
But I don't understand you answer:
data = yf.download('AAPL', (now - relativedelta(years=1)).date(), now.date())

rs = 0.01 * ta.bias(data['Adj Close'], length=130)

The result is:
2022-04-19    0.000156
I would expect 0,992?
It bias really the solution?
Thanks,
Markus

@abstract-thinking,

It bias really the solution?

At the time, I did not have the actual source for comparison, so I went off what @kgonia shared, so I may have interpreted it incorrectly and bias was the most similar.
sma130 = ta.sma(df.close, 130)
RS = (df.close – sma130) / sma130 * 100  # Incorrect version

Now that you have brought it up again, I was able to find one on TradingView and it is rather simple:
data = yf.download('AAPL', (now - relativedelta(years=1)).date(), now.date())
rsl = df.Close / ta.sma(df.Close, length=130)

Apologies for the confusion and misinformation.
Kind Regards,
KJ


Suggestion window styling/snippet styling

Can we get suggestion styling. The suggestion windows on the right where is the description. I am new to the github sorry for messing up. If this feature already exists could you give me a link or examples.

here you type the code and the suggestion pops up and when you open description
I saw some styling for the suggestion box but not for the description box.
Would be nice to be able to change text color, size, font weight. Very general formatting when writing snippets.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


ERROR WHILE EXECUTE hello_ros.yaml

I followed the tutorial to let ros1 communicate with ros2,  After build relevant plugin. when i execute the step that (soss src/soss-ros1/examples/hello_ros.yaml), i got the following error message:
soss-ros1 could not find .mix file for message type: std_msgs/String
-- Make sure that you have generated the soss-ros1 extension for that message type by calling soss_rosidl_mix(PACKAGES  MIDDLEWARES ros1) in your build system!
Failed to load middlewares!
I check the source code, but not really figure out the reason. Does anyone happen to know this problem? Thanks.

I think the instructions on the README may be out of date.
The soss-ros1 plugin has been put into a separate repo which must be built in a separate workspace to avoid conflicts between the ROS1 and ROS2 build environments. Once both the soss and soss-ros1workspaces are built, you'll need to source each one before running the examplehello_ros.yaml` configuration for soss.
I'll try to find time to fix the documentation.

Solved my problem, thank you :).
I will close this issue.

I'll keep this issue open until the documentation is fixed.
Thanks for reporting this!

It seems the README is correct, so we will close this issue.


add "id" property of form

This is needed to be able to assign submit buttons that are outside the
form tags.

Already, you can use this:
<Formsy.Form id="some-id"></Formsy.Form>


solve_time and setup_time is in milliseconds instead of seconds when using SCS solver

solve_time and setup_time is in milliseconds instead of seconds when using SCS solver.
To Reproduce
A minimal code example that reproduces the bug:
import cvxpy as cp
import numpy as np

m = 500
n = 400
np.random.seed(1)
A = np.random.randn(m, n)
b = np.random.randn(m)

x = cp.Variable(n)
objective = cp.Minimize(cp.sum_squares(A @ x - b))
constraints = [0 <= x, x <= 1]
prob = cp.Problem(objective, constraints)

result = prob.solve(solver='SCS')
print(prob.solver_stats.setup_time, prob.solver_stats.solve_time)

Expected behavior
The document says that setup_time and solve_time are in seconds.
Output
As can be seen in the screenshot below, the setup_time and solve_time are 3 oders larger than the total time reported by jupyterlab, so I think they are inconsistent with the documents.

Version

OS: Ubuntu 20.04.4 LTS (GNU/Linux 5.15.0-46-generic x86_64)
CVXPY Version: 1.1.17

closing because duplicate


Change Favicon Icon

Description
Favicon Icon with white background is not looks good please remove white background and add a new Fav icon...
@Debajyoti14 Please Assign this task to me and add a label codepeak22
Screenshots

Additional information
No response

@AbhiPatel10 assigned you


Ensure lines in generated files don't exceed 80 characters.

Please ensure that lines in generated files don't exceed 80 characters, to be able to view two files on one monitor.

Generated code should not do auto-formatting and generally should be processable by scripts.
With this limitations, PRs to improve generated code are welcome.


Allow for specifying Prometheus remote_write configuration

In certain deployments it is desirable to mirror metrics from Istio's
Prometheus cluster into a remote destination, such as another Prometheus
cluster or M3 cluster.
Allow the remote_write Prometheus configuration to be specified in the
Prometheus subchart. When specified, the YAML is inlined into the
Prometheus ConfigMap.
By default this feature is disabled.
Signed-off-by: Nick Travers<EMAIL_ADDRESS>

Hi @nicktrav. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

As an example, adding the following configuration in the values file:
remoteWrite:
  foo: bar
  baz:
  - bam
  - boom

Results in the following diff to the ConfigMap YAML:
--- before	2020-01-03 12:24:29.000000000 -0800
+++ after	2020-01-03 12:24:16.000000000 -0800
@@ -15,6 +15,12 @@
     global:
       scrape_interval: 15s

+    remote_write:
+      baz:
+      - bam
+      - boom
+      foo: bar
+
     scrape_configs:

     - job_name: 'istio-mesh'


Update documentation to support non-crossplane-contrib repositories

What problem are you facing?
Hello, the documentation is a bit mysterious when updating the repository variables in the makefile
As most users are not able to contribute to crossplane-contrib projects it seems appropriate to adjust the repo url to your own projects url
However, this prevents 'make generate' from completing as it would require many reference changes in files
How could Terrajet help solve your problem?
Please could you update the guide so it supports users who do not have access to deploy to crossplane-contrib
Ie providing some sort of script to find replacing these values automatically

Possible solution.
In hack/prepare.sh add this line
git grep -l 'crossplane-contrib' -- ${REPLACE_FILES} | xargs sed -i.bak "s/crossplane-contrib/<your_repo>/g" <--Add line
Clean up the .bak files created by sed <--This line exists for reference
git clean -fd<--This line exists for reference
And, if using Athens server then add to Makefile
export GOPROXY := https://proxy.golang.<your_company>.com


[DO NOT MERGE] Auto PR to update dependencies of pilot

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
9f239abf703a41240be4aebe32cb28630aff22a0
link
/test pilot-presubmit

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


Storage of object as [object Object]

When storing object directly, it only store as [object Object].
Should we json encode before store?

Use _.lsSet() instead of using .set()

@mikkiek I think the best way to implement it - forget about providing a type and use JSON.stringify/parse for processing localStorage values.
I don't think that data merge is expected behavior.

What is the essence of the package if we have to do this?


Change widgets per row

Hi,
is possible to change number of widgets per row on page? If yes, how?
I need 3 widgets when ís left sidebar open

and 4 widgets in line when is left sidebar closed, because i need bigger widgets.

Thanks

I don't think this is possible without a plugin like Masonry or something similar. Bootstrap doesn't provide a way to do that. We apologize for the inconvenience.


Do you still recommend using OnBindingContextChanged instead of setting Source through XAML?

@daniel-luberda I was just reading this page and would like to understand if you still recommend using OnBindingContextChanged instead of setting the Source property through XAML. I also saw your comment about OneTime bindings on the XF forum. I'm currently seeing performance degradation due to both images and FormattedString and would like to keep it minimal. :)

Hi @adrianknight89
It should have similar performance. IMO I should mention BindingMode.OneTime on the wiki here: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-Advanced#usage-in-listview-with-listviewcachingstrategyrecycleelement-enabled


[NEW] Add SSTIC 2023

Name: SSTIC
Website: https://www.sstic.org
Date(s): 7 / 8 / 9 juin 2023
Location: Rennes, France
Twitter Handle: @sstic
Free: N

Added, thanks!


refactor(*): remove that bindings by using arrow functions

Fixes #70
Signed-off-by: nik72619c<EMAIL_ADDRESS>@DianaLease @dselman let me know of any changes on this one :)

@DianaLease resolved conflicts


How to use vue router and vuex inside custom element from root?

Version
3.2.21
Reproduction link
stackblitz.com
Steps to reproduce
Inside my demo project you can see nested custom elements where I add styles recursively.
What is expected?
I need to connect vuex & vue router in root custom element (c.e) inside main.js then use from child c.e. How I can do this correctly?
What is actually happening?
import { defineCustomElement } from "./defineCustomElementWithStyles";
import App from "./App.ce.vue";

customElements.define("app-root", defineCustomElement(App));

https://stackoverflow.com/questions/69808113/how-to-use-vue-router-and-vuex-inside-custom-element-from-root

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.


Enable churn for our node-density tests

Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
Enabling churn (default :false) for our node-density tests in kube-burner-ocp

Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

@rsevilla87 / @vishnuchalla any feedback?

Let me know if these changes address your concerns @vishnuchalla / @rsevilla87 . Thanks!

I believe the concern is in the churn logic in kube-burner uses namespaces as unit to delete.
We could achieve the same effect using iterationsPerNamespace=1 when we use churn on the cni and heavy workloads to get the desired effect. Since using churn with these workloads changes the workload as we understand them, changing itsPerNs may be fine for this purpose.
I think we could add these flags at this time to make them available in kube-burner-ocp.
I created kube-burner/kube-burner#673 to track that refactoring.

I believe the concern is in the churn logic in kube-burner uses namespaces as unit to delete.
We could achieve the same effect using iterationsPerNamespace=1 when we use churn on the cni and heavy workloads to get the desired effect. Since using churn with these workloads changes the workload as we understand them, changing itsPerNs may be fine for this purpose.
I think we could add these flags at this time to make them available in kube-burner-ocp. I created kube-burner/kube-burner#673 to track that refactoring.

@afcollins I was under the impression moving to gvr vs default for churn strategy would help with this?
churnDeletionStrategy	Churn deletion strategy to apply, default or gvr (where default churns namespaces and gvr churns objects within namespaces)	String	default

@rsevilla87 / @vishnuchalla can someone confirm the difference between gvr and default ?

Oh! I see now that yes, it looks like gvr deletion strategy does not blindly delete the entire namespace at once.  But I don't see that it is tracking the resources that make up an iteration. It is still only deleting a namespace as a unit, but just in a different way.

I believe the concern is in the churn logic in kube-burner uses namespaces as unit to delete.
We could achieve the same effect using iterationsPerNamespace=1 when we use churn on the cni and heavy workloads to get the desired effect. Since using churn with these workloads changes the workload as we understand them, changing itsPerNs may be fine for this purpose.
I think we could add these flags at this time to make them available in kube-burner-ocp. I created kube-burner/kube-burner#673 to track that refactoring.

@afcollins I was under the impression moving to gvr vs default for churn strategy would help with this?
churnDeletionStrategy	Churn deletion strategy to apply, default or gvr (where default churns namespaces and gvr churns objects within namespaces)	String	default

@rsevilla87 / @vishnuchalla can someone confirm the difference between gvr and default ?

@jtaleric gvr deletes all the individual resources in a namespace with configured QPS and Burst instead of directly deleting a namespace which will be similar to oc delete ns namespace (.i.e. default strategy). So it still deletes the entire namespace in a less intensive way.
Regarding iterations, yes with the latest commit in this PR we can achieve that behavior by considering each namespace as an iteration (i.e. similar to other workloads). Hopefully that solves your purpose. If not, and if you strongly wish to have all the iterations within a singe namespace then we might have to think something like https://github.com/kube-burner/kube-burner/issues/673. But before that I would like to understand why do we want all the iterations in a single namespace?

I believe the concern is in the churn logic in kube-burner uses namespaces as unit to delete.
We could achieve the same effect using iterationsPerNamespace=1 when we use churn on the cni and heavy workloads to get the desired effect. Since using churn with these workloads changes the workload as we understand them, changing itsPerNs may be fine for this purpose.
I think we could add these flags at this time to make them available in kube-burner-ocp. I created kube-burner/kube-burner#673 to track that refactoring.

@afcollins I was under the impression moving to gvr vs default for churn strategy would help with this?
churnDeletionStrategy	Churn deletion strategy to apply, default or gvr (where default churns namespaces and gvr churns objects within namespaces)	String	default

@rsevilla87 / @vishnuchalla can someone confirm the difference between gvr and default ?

@jtaleric gvr deletes all the individual resources in a namespace with configured QPS and Burst instead of directly deleting a namespace which will be similar to oc delete ns namespace (.i.e. default strategy). So it still deletes the entire namespace in a less intensive way.
Regarding iterations, yes with the latest commit in this PR we can achieve that behavior by considering each namespace as an iteration (i.e. similar to other workloads). Hopefully that solves your purpose. If not, and if you strongly wish to have all the iterations within a singe namespace then we might have to think something like kube-burner/kube-burner#673. But before that I would like to understand why do we want all the iterations in a single namespace?

For my vary narrow focused work, having 1 iteration == 1 namespace does suffice.

thanks for this PR, I think this would be will very helpful to exercise some of the network observability components like flowlogs-pipeline


Native tvOS Player is not working

I added a playlist to the app. The only player who worked with my list is VLC but VLC doesn't support HLG (HDR). I tried to change to the Native player and it's not loading any stream. Any idea?
Based on the logs - RAM and CPU are fine
This is what I saw in the debug window when I tested in the simulator:
set channel to play using native player from #REMOVED_THE_LINK#
nw_protocol_get_quic_image_block_invoke dlopen libquic failed: dlopen(/usr/lib/libquic.dylib, 0x0005): tried: Library/Developer/Xcode/DerivedData/Apple-TV-Player-chslmibzqaccrrahnibbirlybjqs/Build/Products/Debug-appletvsimulator/libquic.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/tvOS_21K364/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS 17.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection/libquic.dylib' (no such file), '/Library/Developer/CoreSimulator/Volumes/tvOS_21K364/Library/Developer/CoreSimulator/Profiles/Runtimes/tvOS 17.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libquic.dylib' (no such file), '/usr/lib/libquic.dylib' (no such file, not in dyld cache)
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x60000217c230 UIStackView:0x10332c6f0.width >= 217   (active)>",
"<NSLayoutConstraint:0x60000217c280 H:|-(>=95)-[UIStackView:0x10332c6f0]   (active, names: '|':UIView:0x10332dc30 )>",
"<NSLayoutConstraint:0x60000217c2d0 UIStackView:0x10332c6f0.trailing == UIView:0x10332dc30.trailing - 95   (active)>",
"<NSLayoutConstraint:0x60000217c410 H:|-(0)-[UIView:0x10332dc30]   (active, names: '|':_AVFocusContainerView:0x1032535d0 )>",
"<NSLayoutConstraint:0x60000217c460 UIView:0x10332dc30.trailing == _AVFocusContainerView:0x1032535d0.trailing   (active)>",
"<NSLayoutConstraint:0x60000217d860 '_UITemporaryLayoutWidth' _AVFocusContainerView:0x1032535d0.width == 0   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000217c230 UIStackView:0x10332c6f0.width >= 217   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x60000217c280 H:|-(>=95)-[UIStackView:0x10332c6f0]   (active, names: '|':UIView:0x10332dc30 )>",
"<NSLayoutConstraint:0x60000217c2d0 UIStackView:0x10332c6f0.trailing == UIView:0x10332dc30.trailing - 95   (active)>",
"<NSLayoutConstraint:0x60000217c410 H:|-(0)-[UIView:0x10332dc30]   (active, names: '|':_AVFocusContainerView:0x1032535d0 )>",
"<NSLayoutConstraint:0x60000217c460 UIView:0x10332dc30.trailing == _AVFocusContainerView:0x1032535d0.trailing   (active)>",
"<NSLayoutConstraint:0x60000217d860 '_UITemporaryLayoutWidth' _AVFocusContainerView:0x1032535d0.width == 0   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000217c2d0 UIStackView:0x10332c6f0.trailing == UIView:0x10332dc30.trailing - 95   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
UITextView 0x10284ec00 is switching to TextKit 1 compatibility mode because its layoutManager was accessed. Break on void _UITextViewEnablingCompatibilityMode(UITextView *__strong, BOOL) to debug.
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
When I did on the apple tv:
RAM Stats: use: 1.91 GB, free: 1.84 GB, total: 3.75 GB
CPU load: 7%
set channel to play using native player from #REMOVED_THE_LINK#
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x283e15090 UIStackView:0x102c479d0.width >= 217   (active)>",
"<NSLayoutConstraint:0x283e150e0 H:|-(>=95)-[UIStackView:0x102c479d0]   (active, names: '|':UIView:0x102c48d10 )>",
"<NSLayoutConstraint:0x283e15130 UIStackView:0x102c479d0.trailing == UIView:0x102c48d10.trailing - 95   (active)>",
"<NSLayoutConstraint:0x283e15270 H:|-(0)-[UIView:0x102c48d10]   (active, names: '|':_AVFocusContainerView:0x102606460 )>",
"<NSLayoutConstraint:0x283e152c0 UIView:0x102c48d10.trailing == _AVFocusContainerView:0x102606460.trailing   (active)>",
"<NSLayoutConstraint:0x283e166c0 '_UITemporaryLayoutWidth' _AVFocusContainerView:0x102606460.width == 0   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283e15090 UIStackView:0x102c479d0.width >= 217   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x283e150e0 H:|-(>=95)-[UIStackView:0x102c479d0]   (active, names: '|':UIView:0x102c48d10 )>",
"<NSLayoutConstraint:0x283e15130 UIStackView:0x102c479d0.trailing == UIView:0x102c48d10.trailing - 95   (active)>",
"<NSLayoutConstraint:0x283e15270 H:|-(0)-[UIView:0x102c48d10]   (active, names: '|':_AVFocusContainerView:0x102606460 )>",
"<NSLayoutConstraint:0x283e152c0 UIView:0x102c48d10.trailing == _AVFocusContainerView:0x102606460.trailing   (active)>",
"<NSLayoutConstraint:0x283e166c0 '_UITemporaryLayoutWidth' _AVFocusContainerView:0x102606460.width == 0   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283e15130 UIStackView:0x102c479d0.trailing == UIView:0x102c48d10.trailing - 95   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
FBSSceneClientSettings unable to read remoteFocusParentModeEnabled property. Responds to selector: 0. Implements extension: 0. Description: (null)
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee1bd0> {
settings = <BSKeyedSettings: 0x2813a4600> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df0f60> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee25d0> {
settings = <BSKeyedSettings: 0x2813a43f0> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df1320> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee2670> {
settings = <BSKeyedSettings: 0x2813a44b0> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df1440> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee24e0> {
settings = <BSKeyedSettings: 0x2813a4750> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df1bc0> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
UITextView 0x104818000 is switching to TextKit 1 compatibility mode because its layoutManager was accessed. Break on void _UITextViewEnablingCompatibilityMode(UITextView *__strong, BOOL) to debug.
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
RAM Stats: use: 1.92 GB, free: 1.83 GB, total: 3.75 GB
CPU load: 7%
RAM Stats: use: 1.92 GB, free: 1.83 GB, total: 3.75 GB
CPU load: 1%
p.s - thank you for a great initiative!

Hi. Yes, you're absolutely right, native tvOS player doesn't work in Simulators. I even did a workaround for this here https://github.com/mikehouse/Apple-TV-Player/commit/a5bfa4ec96132c7e183e45df8773548fad08e3dc, but latter removed it. You can freely do the same thing.
Thank you for feedback!

Hi again - I also tested it on Apple TV 4K and getting the following error when trying to watch the stream:
When I did on the apple tv:
RAM Stats: use: 1.91 GB, free: 1.84 GB, total: 3.75 GB
CPU load: 7%
set channel to play using native player from #REMOVED_THE_LINK#
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x283e15090 UIStackView:0x102c479d0.width >= 217 (active)>",
"<NSLayoutConstraint:0x283e150e0 H:|-(>=95)-[UIStackView:0x102c479d0] (active, names: '|':UIView:0x102c48d10 )>",
"<NSLayoutConstraint:0x283e15130 UIStackView:0x102c479d0.trailing == UIView:0x102c48d10.trailing - 95 (active)>",
"<NSLayoutConstraint:0x283e15270 H:|-(0)-[UIView:0x102c48d10] (active, names: '|':_AVFocusContainerView:0x102606460 )>",
"<NSLayoutConstraint:0x283e152c0 UIView:0x102c48d10.trailing == _AVFocusContainerView:0x102606460.trailing (active)>",
"<NSLayoutConstraint:0x283e166c0 '_UITemporaryLayoutWidth' _AVFocusContainerView:0x102606460.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283e15090 UIStackView:0x102c479d0.width >= 217 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x283e150e0 H:|-(>=95)-[UIStackView:0x102c479d0] (active, names: '|':UIView:0x102c48d10 )>",
"<NSLayoutConstraint:0x283e15130 UIStackView:0x102c479d0.trailing == UIView:0x102c48d10.trailing - 95 (active)>",
"<NSLayoutConstraint:0x283e15270 H:|-(0)-[UIView:0x102c48d10] (active, names: '|':_AVFocusContainerView:0x102606460 )>",
"<NSLayoutConstraint:0x283e152c0 UIView:0x102c48d10.trailing == _AVFocusContainerView:0x102606460.trailing (active)>",
"<NSLayoutConstraint:0x283e166c0 '_UITemporaryLayoutWidth' _AVFocusContainerView:0x102606460.width == 0 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x283e15130 UIStackView:0x102c479d0.trailing == UIView:0x102c48d10.trailing - 95 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
FBSSceneClientSettings unable to read remoteFocusParentModeEnabled property. Responds to selector: 0. Implements extension: 0. Description: (null)
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee1bd0> {
settings = <BSKeyedSettings: 0x2813a4600> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df0f60> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee25d0> {
settings = <BSKeyedSettings: 0x2813a43f0> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df1320> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee2670> {
settings = <BSKeyedSettings: 0x2813a44b0> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df1440> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
FBSSceneSettings unable to read remoteFocusChildModeEnabled property. Responds to selector: 1. Implements extension: 0. Description: <UIApplicationSceneSettings: 0x283ee24e0> {
settings = <BSKeyedSettings: 0x2813a4750> {
displayConfiguration = <FBSDisplayConfiguration: 0x2822600f0; Main-External; mode: "1920x1080@2x 59.94Hz p3 SDR">;
frame = NSRect: {{0, 0}, {1920, 1080}};
interfaceOrientation = portrait (1);
};
subclassSettings = <BSSettings: 0x281df1bc0> {
userInterfaceStyle = dark;
artworkSubtype = 0;
};
}
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
UITextView 0x104818000 is switching to TextKit 1 compatibility mode because its layoutManager was accessed. Break on void _UITextViewEnablingCompatibilityMode(UITextView *__strong, BOOL) to debug.
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
+[AVInfoPanelPlaybackMetadata _metadataItemsForPlayerItem:withAsset:]: metadata has not yet been loaded: this is the caller's responsibility!
RAM Stats: use: 1.92 GB, free: 1.83 GB, total: 3.75 GB
CPU load: 7%
RAM Stats: use: 1.92 GB, free: 1.83 GB, total: 3.75 GB
CPU load: 1%
Any idea?


optdo not apply CSE(Common Sub Expression) upon multiDataSink

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run external


Failed <<catkin build esim_ros

Hello, my pal! Would you please tell me how to solve this problem

Hi ZuozuoMei, which version of ROS are you using?

Hi, has this issue had any workaround? I find myself running into the same issue using Docker, and I'm using ROS Kinetic.

Hi, I met the same question. I had run catkin clean and then catkin build esim_ros, I found that I succeed! I am using ROS Noetic.


Fix BGLd debug build

Description
Goal of this pull request is to fix Bitgesell debug build.
Debug build can be enabled with --enable-debug flag passed to ./configure
I have been working for a few days on fixing feature_segwit.py and feature_nulldummy.py functional test cases but got stuck in the transaction internals. Decided to use a debugger but currently the build is broken due to errors in sync.cpp. This pull request fixes the debug build.
Notes
I checked if both debug and non-debug builds and there are no regressions in functional tests.
I also verified that a breakpoint can be set and that debugging works.
(gdb) b CreateTransactionInternal
Breakpoint 1 at 0x55ba19421c25: file wallet/spend.cpp, line 646.
(gdb) c
Continuing.
[Switching to Thread 0x7f72be7fc700 (LWP 252162)]

Thread 19 "b-httpworker.0" hit Breakpoint 1, CreateTransactionInternal (wallet=..., vecSend=std::vector of length<PHONE_NUMBER>469, capacity<PHONE_NUMBER>360 = {...},
    tx=<error reading variable: Cannot access memory at address 0xf845894800000030>, nFeeRet=<error reading variable>, nChangePosInOut=<error reading variable>, error=...,
    coin_control=..., fee_calc_out=..., sign=false) at wallet/spend.cpp:646
646     {
(gdb)

This is a good one! Approving and merging

Hi @gitcoindev ! Thanks for your contributions!
https://etherscan.io/tx/0xc6dc69ca09b2c0a8afa81fa96dad4a3f43b77daed6635a8800f13e32e938446a
Keep up the good work!

Hi @wu-emma , thank you a lot. I really appreciate it! Within next two-three weeks I will try to provide next fixes. I think I narrowed down the code to be integrated in net_processing.cpp around SERIALIZE_TRANSACTION_NO_WITNESS to fix segwit and 'nulldummy' tests. This will require quite careful integration of a few PRs.


Trabzon University added

Trabzon University added.

@mert-karadeniz First stage of verification passed, official domain is trabzon.edu.tr as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@mert-karadeniz Pull request merged. Thank you!


Add CentOS 5-7 and Ubuntu 18.04

Red Hat 5-7 is listed so it's odd to leave those out. This also marks Ubuntu 18.04 as supported.

Hi @ekohl,
Thanks for submitting this PR, this looks good as we already have acceptance tests running for these.


Can you tell me a method for prediction on batch? Predicting per sentence takes a lot of time.

Do you mean within the training loop? This is already done on batches of sentences.

No. You have written a function in the end for predicting  on new sentences using the trained model.
I wanted to know whether we can do this batch wise.
Maybe using something like this: (test_data.csv has just sentences)
`test_val_fields = [
('text', TEXT), # process it as text
]
test = data.TabularDataset(
    path='test_data.csv',
    format='csv',
    fields=test_val_fields,
    skip_header=True)

test_iterator = data.BucketIterator(
    test, device=device,
    batch_size=BATCH_SIZE,
    sort_key=lambda x: len(x.text)
)`

And using this iterator for predicting.

Yep, something like that looks good.


Make server automatically reset the world on minecraft server restart

This would fix crashloops

Bump @kaboombot

Pretty common?


Fixing Issues with UserList and Groups

This PR fixes all of the issues detailed in #6370
It changes the test correctly to 3, no longer relies on massive amount of joins for inAnyGroup, and changes the functionality of filterByGroup to filter by 1 group.
It also fixes issues with names being similar to each other and users being shown who are in the group you are trying to exclude when you select users not in this group or filterByGroup(group, false).

The tests are failing because your phpunit.xml file is executable.

Thanks, didnt even noticed it had changed the permissions of it -_-

hanks, didnt even noticed it had changed the permissions of it -_-

That's one of the reasons that tests are useful :wink:


DALL-E 2 API documentation removed

Hi there,
I have been using the API documentation for DALL-E 2 that was given here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference Today I can see that it is no longer there and now only displays the standard request/response approach used by DALL-E 3. DALL-E 2 uses a very different request + poll approach.
I can see that the documentation was deleted in a commit on 9th July (2 days ago at the time of writing). It's not clear why this was removed.
Here are some of the sections on the page that used to exist:
### Request a generated image (DALL-E 2 preview)
### Get a generated image result (DALL-E 2 preview)
### Delete a generated image from the server (DALL-E 2 preview)

Is there some alternative documentation available for DALL-E 2? The bit I am specifically interested in is this section on possible values for status in the poll response. I can't see this mentioned anywhere else:

Example response
Upon success the operation returns a 200 status code and an OperationResponse JSON object. The status field can be "notRunning" (task is queued but hasn't started yet), "running", "succeeded", "canceled" (task has timed out), "failed", or "deleted". A succeeded status indicates that the generated image is available for download at the given URL. If multiple images were generated, their URLs are all returned in the result.data field.

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

ID: fadd6778-b11c-d9af-1bd9-e3ed394e0fcb
Version Independent ID: 45436c53-4aae-284b-a6c5-3f47c9342537
Content: Azure OpenAI Service REST API reference - Azure OpenAI
Content Source: articles/ai-services/openai/reference.md
Service: azure-ai-openai
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@biggianteye
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@biggianteye apologies for the delay getting back to you.
We now support DALL-E 2 with the latest APIs. You can use it with both the latest GA, and preview inference APIs. As part of the this change we have made the DALL-E 2 model a deployable model just like the DALLE-3 model though it is only available in the East US region.
Once you have deployed the DALLE-2 model to an Azure OpenAI resource in the East US region it will work just like the DALLE-3 though it only supports a subset of the parameters. Parameters like image style are not supported with DALLE-2 Here is an example:
import os
import httpx
from openai import AzureOpenAI
from PIL import Image

client = AzureOpenAI(
    api_key="redacted",
    api_version="2024-06-01",
    azure_endpoint = "https://<YOUR-EAST-US-RESOURCENAME>.openai.azure.com/"
)

result = client.images.generate(
    model="dall-e-2", # the name of your DALL-E 2 deployment
    prompt="a photograph of a sunset in the adirondacks",
    n=1,
    size="1024x1024"

 )

# Set the directory for the stored image
image_dir = os.path.join(os.curdir, 'images')

# If the directory doesn't exist, create it
if not os.path.isdir(image_dir):
    os.mkdir(image_dir)

# Initialize the image path (note the filetype should be png)
image_path = os.path.join(image_dir, 'generated_image.png')

# Retrieve the generated image
image_url = result.data[0].url  # extract image URL from response
generated_image = httpx.get(image_url).content  # download the image
with open(image_path, "wb") as image_file:
    image_file.write(generated_image)

# Display the image in the default image viewer
image = Image.open(image_path)
image.show()

So the current REST API guidance is now applicable to both DALLE-2 and 3: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#image-generation
Technically the older API that you are currently using is still supported, but at some point in the future it will be retired so we do recommend testing and eventually migrating to one of the newer API releases when you are able. For tracking changes to the APIs with each release we recommend this page: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#image-generation

#please-close


Option to change the color of fab button easily

Thx @leonardovff for the issue, what you think about  @Input [color] property?
in ngc-float-button and ngc-float-item-button

I think that it is great. But I have a deliberation. We can think in a solution for everythings about style. For exemple: In my webapp, the float button is small in comparison with others components and I need to personalize the button with a largest dimension.

@leonardovff you can customize with /deep/ selector to provide a dynamic stylesheet, eg:
 ngc-float-button /deep/ .content {
  margin-right: 55px;
}

ngc-float-button /deep/ .fab-toggle,
ngc-float-button /deep/ .fab-item,
ngc-float-button /deep/ .content {
  transform: scale(1.1); /* 1.2, 1.3... */
}

I think that is the best way because each developer needs a specific customization and adding many @Input properties is unfeasible. With css the developer can customize for your necessitation, what you think about it?

@GustavoCostaW the problem is:
https://angular.io/guide/component-styles#deprecated-deep--and-ng-deep
The use of /deep/, >>>, and ::ng-deep is deprecated

@leonardovff Interesting, I will investigate how I can make this soon if you have any idea let me know.

@leonardovff @GustavoCostaW what about an Input() class?: string so you can pass a custom CSS class name, and use that to set up the styling - and it will get added to the element directly, no need to use ::ng-deep?

@leonardovff  @kreatemore  @xxNoxiouSxx check the 1.2.0 version.


MudSelect and the mudHandlePortal missing Error

I'm not sure if this is classed as a bug, but it's something I ran into myself recently
The actual cause was because I was referencing two different versions of Mudblazor at the same time in different libraries
and the static assets of the older one were overwriting the newer one.
This might be related to https://github.com/Garderoben/MudBlazor/issues/2350
which at the time was dismissed as a cache related issue, although the cause might have been something similar I'm not sure.
Description Below:
I was using a simple Muselect such as the below
    <MudSelect T="string" Label="Test Select">
        <MudSelectItem Value="@("Cappuccino")" />
        <MudSelectItem Value="@("Cafe Latte")" />
    </MudSelect>

But I was getting a mudHandlePortal not found error when viewing the page
Unhandled exception rendering component: Could not find 'mudHandlePortal' ('mudHandlePortal' was undefined).

After digging around a bit I discovered the following in the debug directory
MyLibrary.StaticWebAssets.xml
<StaticWebAssets Version="1.0">
  <ContentRoot BasePath="_content/Blazorise" Path="C:\Users\ric\.nuget\packages\blazorise\<IP_ADDRESS>\staticwebassets\" />
  <ContentRoot BasePath="_content/Blazorise.Bulma" Path="C:\Users\ric\.nuget\packages\blazorise.bulma\<IP_ADDRESS>\staticwebassets\" />
  <ContentRoot BasePath="_content/CrockPot.Report" Path="D:\SourceCode\Private\Local.Hecatron.BCH\CrockPot\src\Libs\CrockPot.Report\wwwroot\" />
  <ContentRoot BasePath="_content/MudBlazor" Path="C:\Users\ric\.nuget\packages\mudblazor\5.0.11\staticwebassets\" />
  <ContentRoot BasePath="_content/MudBlazor" Path="C:\Users\ric\.nuget\packages\mudblazor\5.1.1\staticwebassets\" />
</StaticWebAssets>

At that point I realised I must have been referencing multiple versions at the same time from different libs
and MudBlazor.min.js was being overwritten / overrided by the older version
Typically when building for release the static content is copied into the final directory, but for debug instead
the xml file is generated / used by Visual studio for virtual mapping to the locations of files on the disk
The only fixes I can think of would be something related to Nuget's dependency's whereby installing 5.1.0 or above in one library
would block / force an update of Mudblazor in another referenced library.
Something I didn't try would be the use of _content/MudBlazor/MudBlazor.min.js?v=5.1.1 instead of _content/MudBlazor/MudBlazor.min.js
But again that's something the user just needs to be aware of
Given how rare this is likely to happen it's probably just worth ignoring this anyway I guess

This means you're not referencing the right .js file for this instance of MudBlazor. The function you are missing is in the last version of MudBlazor, so you are using an old .js file that doesn't contain that function.

@mikes-gh do you want to say something 🙂

I've just noticed with VS2022 RC1 that just got released that if you have different versions of Mudblazor mixed it will now complain and force a downgrade in the overall version to use.
So I suspect this was just a VS2022 bug that got fixed in RC1 maybe.


Cant get metric when trying to save png from digitalocean droplet

Im trying to save a png file of the forecast from an digitalocean droplet located in the US. And wttr defaults to metric, if not from the US apparently. But i cannot change to metric, keep getting unreadable F.
wget http://wttr.in/Trollhättan_u1qpF_lang=sv.png

Having the EXACT same issue here. When saving output as separating the options with an underscore does NOT work. Here is my commandline:
curl -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0' -s --output forecast.png wttr.in/38.8977,77.0365_u.png

It seems to be a bug. Thank you for reporting, guys.
As a workaround, please try:
wget `http://wttr.in/Trollhättan.png?u1qpF&lang=sv.png`


Update credits in README

Move contributor thanks to contributing section
Use new "About thoughtbot" section

:ship:


sbcl: 1.5.6 -> 2.0.0

Motivation for this change
Update to latest version
Things done

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

[ ] 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.

Notify maintainers
cc @7c6f434c @tohl

@GrahamcOfBorg build lispPackages.ironclad lispPackages.iolib lispPackages.query-fs lispPackages.stumpwm


Enable Fixed position mode for Stationary base operation

When we have a stationary base that's fixed for a long time, and has used a long survey-in time to get it it's position, then it's useful to be able to fix the position so that the survey is not needed to be repeated.
The F9P ublox module is capable of this see section <IP_ADDRESS>.2 Fixed position in the manual.
This repo uses the PX4 UBX driver to set the SurveyIn specs. Instead we can send the fixed position configuration.
We'll need a place to enter the fixed position configuration. Reading these values from a local config file seems reasonable. We could even automatically populate this config file once a survey is complete... That might actually be the best way to read the required parameters from the F9P. There are quite a few involved!!
To configure Fixed mode (CFG-TMODE-MODE=FIXED), the following items are relevant:
CFG-TMODE-MODE Receiver mode (disabled or survey-in or fixed)
CFG-TMODE-POS_TYPE Determines whether the ARP position is given in ECEF or LAT/LON/HEIGHT
CFG-TMODE-ECEF_X ECEF X coordinate of the ARP position
CFG-TMODE-ECEF_Y ECEF Y coordinate of the ARP position
CFG-TMODE-ECEF_Z ECEF Z coordinate of the ARP position
CFG-TMODE-LAT Latitude of the ARP position
CFG-TMODE-LON Longitude of the ARP position
CFG-TMODE-HEIGHT Height of the ARP position
CFG-TMODE-ECEF_X_HP High-precision ECEF X coordinate of the ARP position
CFG-TMODE-ECEF_Y_HP High-precision ECEF Y coordinate of the ARP position
CFG-TMODE-ECEF_Z_HP High-precision ECEF Z coordinate of the ARP position
CFG-TMODE-LAT_HP High-precision latitude of the ARP position
CFG-TMODE-LON_HP High-precision longitude of the ARP position
CFG-TMODE-HEIGHT_HP High-precision height of the ARP position
CFG-TMODE-FIXED_POS_ACC Fixed position 3D accuracy estimate

Issue now closed. Solution has been tested on the GCS. I've added a useful RTCM sniffer python script which prints the messages to terminal, allowing the checking of correct RTK streaming and correct base position.
Note for future - the RTCM1005 messages need to be enabled for USB on the UBLOX config.


BUG: There is no output for poll_data() function when DEBUG=0

BUG: There is no output for poll_data() function when DEBUG=0 (or not defined), even in case empty .json. (must be FAIL)

Hi Osterisk,
I pushed a small modification with a "fail" function, which would write to log when a json file is empty.
Thanks,
fred


Adopting React hooks

React Boilerplate
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Please direct redux-saga related questions to stack overflow:
http://stackoverflow.com/questions/tagged/redux-saga
For questions related to the boilerplate itself, you can also find answers on our gitter chat:
https://gitter.im/mxstbr/react-boilerplate
Before opening a new issue, you may find an answer in already closed issues:
https://github.com/react-boilerplate/react-boilerplate/issues?q=is%3Aissue+is%3Aclosed
Issue Type

[ ] Bug (https://github.com/react-boilerplate/react-boilerplate/blob/master/CONTRIBUTING.md#bug-reports)
[x] Feature (https://github.com/react-boilerplate/react-boilerplate/blob/master/CONTRIBUTING.md#feature-requests)

Description
Currently, a brand new app generated by react-boilerplate has several HOC wrappers. React hooks propose a nice api to avoid this and have much cleaner component code.
Would like to see sample components using react hooks in a future version of the boilerplate.

Thanks @aarjithn, do you have an example of some code anywhere I could look at to see what this would look like?

I have a branch where I tried to do exactly that: #2423
As you'll see, it's very incomplete and I wouldn't suggest using it for a production project.
IMO, adopting hooks is something that will take time and requires answering a lot of questions, including but not limited to:

For one, it's in alpha and we have no idea when it'll be fully released so we obviously can't adopt it just now.
The ecosystem around us needs to catch up. For example, right now, combining the useEffect hook with Helmet from react-helmet breaks everything.
Most importantly, we need to understand how the overall architecture of the app will change with hooks. How do you make a global/application-level store? Do you still use redux? Or do you declare it as state in your root component and pass it down with context? + 1000 more questions. Async injection? Internationalization? Do we still need sagas? What about redux and immutable data?
Are there more APIs coming to React which will complement everything we've seen so far?

I'd love answers to all these questions but I think it's way too early. That being said, it would be great to start a discussion on this topic and comments are very very welcome.
In my mind (and please be aware that this is only me and not necessarily any of the other devs working on this project), version 4 would be a major rewrite of the project with React 17 and a much lighter stack replaced by all the new features that have come to React lately and are also still to come.

Please see #2583 for a proposal on how to replace the HOC wrappers with Hooks.
Will close this issue b/c redundant + dead.


File Browser for server files

A browser that lets you open and edit server files on Windows (e.g. load specs) would be very useful.
The Jadeite load project dialog allows you to navigate though server files.  This is the start of a server file browser.

A first cut server file editor is on the Console File>Open Server File ... . Will need additional work most likely. Closing bug for Lisa's review and suggestions for improvements.

After opening a server file, save is fine, but save as was a little confusing.
(1) There's an upper area for the path, which happens to also include the filename of the file you are editing. Then there's a lower pane next to the save button, but this has bad layout; it's partially obscured by default (depending on the exact size of the window, it's apparently defined at a fixed offset). Easy to see if you resize this dialog.
(2) the expected behavior would be to have the upper pane show the path of the current file, excluding the filename, show the files in that directory, and put the filename itself in the lower pane.
(3) Since I didn't exact the filename to be in the path, I entered my new filename into the lower dialog.  This resulted in a walkback, a MessageNotUnderstood occurred (error 2010), a UndefinedObject does not understand  #'nextPutAll:',.  I imagine this was path/oldfilenamename/newfilename which is reasonable to not work, but shouldn't walkback.

Per checkbox 4 - Renamed open workspace to Open Client File ...   Hopefully that's more clear.

@LisaAlmarode  Can you put a picture of the first checkbox layout issue? https://github.com/GemTalk/Jadeite/issues/953#issuecomment-1301350248

Here is what I see:

Think I've got the bulk of the requests fixed with a few test improvements.  Closing for review.

The Console File menu needs to be more consistent with respect to the Workspace File menu.

[ ] Console File menu has 'Open Workspace',  but the Workspace File menu has 'Open Client File'.  I think they should both be Open Client File.
[ ] 'File In Server File...' is on the File menu for the Console, but the Jadeite menu for a Workspace.   I think this should move to the File menu since it invokes selecting a new file, and is not relevant to the current workspace.
[ ] a Workspace has an item 'File In Selected Text'.  The Console has the Edit menu item 'File In'.  The Workspace menu item can change to File In and stay there.  It won't be with the File In Server File, but that's okay.

There are other operations on the Workspace Jadeite menu that ar eon the Edit menu of the console, but that's post-first release, so just the above changes relate to this issue.
As a side note, I'm unclear why there is a disabled revert on the Console menu. I can't figure out what circumstances would enable it. This is however just a nit.

As a side note, I'm unclear why there is a disabled revert on the Console menu. I can't figure out what circumstances would enable it. This is however just a nit.

I removed the Revert option.  That's a way to revert an open client file to it's disk state which is only a workspace operation. Since we now open client files in a new window, it's no longer really applicable.


Multiple unexpected history entries when using routerMiddleware

When using routerMiddleware from connected-react-router/immutable I am getting an issue where anytime the location is changed I get multiple entries in the browser history if a middleware anywhere else inside applyMiddleware calls dispatch with any action (even fake mock actions).
For example in my code I use:
replace({
            pathname: '/overview',
            search: `?assetId=${assetId}`
        });

This only gets hit once, but puts two entries in the browser history. Also if I click the back button I get a further 2 entries appended to the history.
Please find below my unrelated custom middleware which comes after routerMiddleware in applyMiddleware, which when used in conjunction with routerMiddleware, causes the issue described above.
const routeChangeMiddleware = store => next => action => {
    if (action.type === '@@router/LOCATION_CHANGE') {
        store.dispatch(hideMessage());
    }

    next(action);
};

Removing store.dispatch(hideMessage()); causes the history to work as expected.

Flow is:

dispatch(push(/test)) (from /)
routerMiddleware wait for CALL_HISTORY_METHOD and triggers history method (code)
connectedRouter history listener is triggered and dispatch LOCATION_CHANGE action
LOCATION_CHANGE is going through middlewares
middleware dispatch hideMessage
connectedRouter store subscriber is triggered from LOCATION_CHANGE

pathnameInHistory being next URL (/test)
pathnameInStore being URL before change (/)
it will trigger a new change on history to /

And then a second time from hideMessage:

pathnameInHistory being next URL (/)
pathnameInStore being URL before change (/test)
it will trigger a new change on history to /test

History entries will be:

/test
/
/test

One fix seems to be moving next(action) before store.dispatch

+1

I've met this problem today. The flow is a little bit different,

dispatch(push('/test')) from '/'
onLocationChange in history listeners
LOCATION_CHANGE being dispatched
trigger store subscribers in ConnectRouter constructor

pathnameInHistory is old (It seems that the problem is here)
pathnameInStore is new

triggers a new push, multiple history begins

react-router-redux keeps location in memory, instead of reading from props history.  https://github.com/reactjs/react-router-redux/blob/master/src/sync.js#L79
The problem is why history doesn't keep the latest location. I'm wondering if this is history the library's problem

I encountered this as well, and did not find any solutions posted anywhere.
I was able to fix this by moving my call to next(action) to the top of my middleware, and returning the result at the end, instead of doing a return next(action) at the end of my middleware.
Previously:
myMiddleware: //do custom middleware things return next(action);
Now:
'myMiddleware:
const result = next(action);
//do custom middleware things
return result;`

The reason the fixes above are necessary is as follows:
ConnectedRouter subscribes to store actions in its constructor here.  The callback checks whether the location in the store matches the location in the history object, and if not pushes a new location into the history object here.
If the user clicks a link, the new location will be pushed to history straight away, but if you intercept the accompantying LOCATION_CHANGED action in your middleware and dispatch any other action before calling next on that LOCATION_CHANGED action, you'll potentially update the store via another reducer before the original action has been reduced. That means that the subscriber in ConnectedRouter will fire whilst the (old) router state hasn't yet been updated to match the history location, and history.push with the old location. The original LOCATION_CHANGED action will then be reduced, which means the store and history states will be mismatched again once the store is updated, and this time you'll get another history.push back to the correct location.
So, the main thing is to call next on the action passed into the middleware before dispatching anything else (either via api.dispatch or next). You can easily store the return value of calling next and then return it at the end of the middleware.
Is it worth including this in the README, @supasate ?

The reason the fixes above are necessary is as follows:
ConnectedRouter subscribes to store actions in its constructor here.  The callback checks whether the location in the store matches the location in the history object, and if not pushes a new location into the history object here.
If the user clicks a link, the new location will be pushed to history straight away, but if you intercept the accompantying LOCATION_CHANGED action in your middleware and dispatch any other action before calling next on that LOCATION_CHANGED action, you'll potentially update the store via another reducer before the original action has been reduced. That means that the subscriber in ConnectedRouter will fire whilst the (old) router state hasn't yet been updated to match the history location, and history.push with the old location. The original LOCATION_CHANGED action will then be reduced, which means the store and history states will be mismatched again once the store is updated, and this time you'll get another history.push back to the correct location.
So, the main thing is to call next on the action passed into the middleware before dispatching anything else (either via api.dispatch or next). You can easily store the return value of calling next and then return it at the end of the middleware.
Is it worth including this in the README, @supasate ?


Add a Gitter chat badge to README.md

gmacario/lora-shield now has a Chat Room on Gitter
@gmacario has just created a chat room. You can visit it here: https://gitter.im/gmacario/lora-shield.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Duplicate of PR https://github.com/gmacario/lora-shield/pull/4


syntax error missing ()

Here is the error:
└─$ fsociety
File "/home/parallels/.fsociety/fsociety.py", line 1194
print "-------------------------"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Even if i add parentheses, it didn't work.
Here is what i added:
def grabuploadedlink(url):
try:
for dir in directories:
currentcode = urllib.urlopen(url + dir).getcode()
if currentcode == 200 or currentcode == 403:
print("-------------------------")
print("  [ + ] Found Directory:  " + str(url + dir) + " [ + ])"
print("-------------------------")
upload.append(url + dir)
except:
pass

Same error

same error

i have been going through and manually fixing the parentheses but i got stuck i dont know kow to code and the opening parentheses at at the end of line 1633 as shown here in this print statment                                                                                print ' [*] Server header -> ', httpresponse.headers.getheader( as you can see i dont know how to escape that so i can close the parentheses if anyone can help would be much greatful.

I found the solution that worked gret for me.

Go into fscoiety folder, by default it is installed in $HOME/.fsociety or ~/.fsociety for me it was /opt/.fsociety cuz i modified the installation script.
Then install 2to3:
pip install 2to3
Fiinnaly run:
2to3 -w fsociety.py

This will convert the python2 program to python3.
This is the source of the tool:
https://docs.python.org/3/library/2to3.html

I found the solution that worked gret for me.

Go into fscoiety folder, by default it is installed in $HOME/.fsociety or ~/.fsociety for me it was /opt/.fsociety cuz i modified the installation script.
Then install 2to3:
pip install 2to3
Fiinnaly run:
2to3 -w fsociety.py

This will convert the python2 program to python3.
This is the source of the tool:
https://docs.python.org/3/library/2to3.html

Thx man🤝🤝🤝


Release cnab-to-oci

To prepare next CNAB 1.0 release, we need to release a first version of cnab-to-oci so projects depending on it can pin this version.

We already have two releases - see https://github.com/docker/cnab-to-oci/releases


BEIR cqadupstack

I'm wondering about the BEIR  https://ir-datasets.com/beir.html#beir/cqadupstack/* versus https://github.com/beir-cellar/beir dataset? Is there one ir dataset that has all the docs, queries, and qrels for cqadupstack ?

Hi @jobergum -- cqadupstack works differently than the other datasets in BEIR. Their convention for the dataset is to evaluate on each of the domains independently and average the nDCG@10 score for the final cqadupstack score.
From an ir-datasets perspective, that's 12 separate datasets, each with its own corpus, queries, and qrels. A concatenated cqadupstack dataset might be useful for some experiments, but it doesn't align with their task definition. As such, I'd be hesitant to add it, since it could be confused with BEIR's official way of reporting cqadupstack.
There are more details in this issue: https://github.com/beir-cellar/beir/issues/9#issuecomment-842147129
Hope this helps!

Wow, thanks for the quick reply @seanmacavaney! I did not realize that it was 12 datasets, then I think it makes a lot of sense. Closing this!


Special territority code used correctly? (ES-IC)

Your project uses the code ES-IC at https://github.com/tinohager/Nager.Date/blob/19708096531b93573c967732657b8022240abcc2/Src/Nager.Date/PublicHolidays/SpainProvider.cs#L49
The ISO subdivision codes for Spain are listed at https://en.wikipedia.org/wiki/ISO_3166-2:ES. The ISO subdivision code for Canary Islands is ES-CN (which is not used by your project). On this wikipedia page it is also noted that:
"Special territories
The following two areas not covered by European Union Customs arrangements are also exceptionally reserved ISO 3166-1 alpha-2 codes on the request of the World Customs Organization:
EA Ceuta, Melilla
IC Canary Islands
However, these codes do not correspond in any way to the ISO 3166-2 codes of the territories."
Can you please confirm that you have correctly used the special territory code ES-IC, and it is in fact the holidays listed by your project are not intended to be the holiday of the Spanish subdivision ES-CN (Canary Islands).

I think this is a bug, i fix this. I have check my source https://en.wikipedia.org/wiki/Public_holidays_in_Spain and ES-CN is the right one.


issue running gettext-extract

After a dependencies update, when i run
gettext-extract --attribute v-translate --quiet --output /tmp/template.pot ./src/App.vue ./src/.....
The following pops out:
No configuration found
I realised the dependent package gettext-extract requires now a .gettext.json configuration file

There may be some misunderstanding. The gettext-extract used in vue-gettext comes from easygettext.
There is no dependency on the package you mention.

you're right, nevermind. i guess at some point i didn't have gettext-extract available and pulled in the wrong dependency. thanks and apologies


ionic2 - vertical scrolling inside of a slide

I have a couple of slides which have dynamic content that is added to them. The problem is the content inside of the slides doesn't scroll. So if I have a lot of items only some show and there is no ability to slide. How can I make it so the content in my lists slides inside of their slides?
<ion-content>
    <ion-slides (change)="onSlideChanged($event)">
        <ion-slide >
            <ion-list>
            <ion-item *ngFor="#item of items1; #i = index">

{{item}

            </ion-item>
            </ion-list>
        </ion-slide>
         <ion-slide>
                 <ion-list>
            <ion-item *ngFor="#item of items2; #i = index">

{{item}

            </ion-item>
            </ion-list>
        </ion-slide>
    </ion-slides>
</ion-content>

@susanlinsfu Thanks for opening an issue with us! Would you mind making a plunker or codepen that we can use to reproduce your issue? Here is a template you can use to make your plunker: http://plnkr.co/edit/L8JN6w5mqwbMY2E14dbk?p=preview

Hi,
I have created a punker: http://plnkr.co/edit/G0LbU4SL9uVFgj6zCJYE?p=preview . Essentially there is a slide. This slide has a list with many items. This list is a large list so the user must be able to scroll down to view all of them, but scrolling is not possible.
I have tried to add  style="overflow-y:scroll" to the slide and the scrolling is enabled,but if you look you will notice items are being cutoff so the entire list is not displayed.
Cheers

Sorry to ask, but I was wondering if there has been any progress on this?

Hey @susanlinsfu, unfortunately I haven't looked into fixing this in the framework yet, but you should be be able to override the height of the ion-slides element in order to fix it for your specific use case:
ion-slides {
  height: auto;
}

Let me know if this doesn't work!

@brandyscarney it does allow scrolling and all the elements fit, but the height becomes as big as the biggest slide for all the slides. This means if slide one has more elements than slide 2, then slide 2 once it scrolls to the last element it will be able to keep scrolling through blank white space.

Try
.slide-zoom{
height:100%;
}

@Elfwines Hi, I have tried it and it didn't do anything.

@susanlinsfu  : Look here http://plnkr.co/edit/SjYtZYdBCIph5ipyyrn6?p=preview . I meant in addition to the overflow-y, sorry.

@Elfwines  AHHHHHh my apologizes, yes this works exactly how I want it to work! Thanks so much for the punkr!

Fix worked for me to.
Will this be part of the future releases? Or maybe it is already?

So none of this worked for me. I ended up having to wrap my content in ion-scroll tags and add the following to my sass so that the bottom would scroll above the pagination dots.
ion-scroll
  height: 100%
  .scroll:after
    content: " "
    display: block
    height: rem(100)

humm.. get the same bug here and those solution does not work. I'm a newbie in app and not have been able to create a working plunker... any other thing to try ??

work around !!! I just add a  tag and it is working fine.
<ion-view view-title="programs">   <ion-content padding="true" >           <ion-slides  options="options" slider="data.slider">       <ion-slide-page ng-repeat="alarm in alarms">       <ion-content>

ion-slide{
ion-list{
height: 100vh;
overflow-y: scroll;
}
}

I can confirm that adding a <ion-content scroll="true"> inside the  will allow scrolling vertically the view.
The content, however, will overlap the page indicators of the slider: I'm not exactly sure how to solve it, but a possible approach is to use calc (css3) on the ion-content's height to reduce the height of the content, so that it will not overlap the indicators, but it will not work on every single device.
Alternatively, you may want to style the indicator to have a solid background color.

I have a slider that slide "vertically". one of the page contains a list of cards which needs to be scrolled vertically also. can we do that is it there any fix for this issue
<ion-slides  options="{'loop': false,direction: 'vertical'}" slider="data.sliderDelegate" delegate-handle="slider1"  >
<ion-slide-page id="" style="background:transparent;" class="slider-content slider-padding-custome">

 first Page

</ion-slide-page>
<ion-slide-page>
<ion-list id="home-list3">
      <ion-item class="item-divider" id="home-list-item-divider2"> Yesterday</ion-item>

PAYMENT SADAD

Zain - Postpaid

USD1,500.00

</ion-slide-page>```

I have solved this with this simple css:
ion-slides { height: initial; }

@jalbertos
this is not working for me. non of items are showing in the page after this "CSS"
what i need to do is letting the user slide down then customer can scroll over transaction (Scroll down and up) and when he reach to the end he can slide again to the top.
Example: Snapchat when the user slide down he will see the list of images and he can scroll over them and when he scroll to the top and reach to end and keep scrolling the page will slide up again to the camera.

focus from fifth input field onward does not scroll elements wrt added bottom padding
<ion-content>     <ion-slides>     <ion-slide>         <ion-list>       <ion-item>         <ion-label floating>item1</ion-label>         <ion-input type="text"></ion-input>       </ion-item>       <ion-item>         <ion-label floating>item2</ion-label>         <ion-input type="text"></ion-input>       </ion-item>       <ion-item>         <ion-label floating>item3</ion-label>         <ion-input type="text"></ion-input>       </ion-item>       <ion-item>         <ion-label floating>item4</ion-label>         <ion-input type="text"></ion-input>       </ion-item>       <ion-item>         <ion-label floating>item5</ion-label>         <ion-input type="text"></ion-input>       </ion-item>       <ion-item>         <ion-label floating>item6</ion-label>         <ion-input type="text"></ion-input>       </ion-item>       <ion-item>         <ion-label floating>item7</ion-label>         <ion-input type="text"></ion-input>       </ion-item>       <ion-item>         <ion-label floating>item8</ion-label>         <ion-input type="text"></ion-input>       </ion-item>           </ion-list>     </ion-slide>   </ion-slides> </ion-content>

As @brandyscarney said setting the height in CSS solves the issue for one slider. But when you move to the next slide which may be smaller than the first one there is empty space at bottom of the content as height is applied for the entire slider.

Here is my css temporary fix (it's very hacky and I hate it):
ion-slide {
    .slide-zoom {
        height: calc(100vh - 143px);
        overflow-y: auto;
    }
}

The 143px comes from the the addition of 60px for top header, 41px for bottom tabs, plus a 16px vertical padding on my ion-content

That solution works perfectly until you want an  at the bottom end, then it doesn't get triggered...
Anyone with this same problem and a working solution?

I ended up with
.html
<ion-slides>
<ion-slide>
  <ion-content>
    <ion-infinite-scroll (ionInfinite)="doInfiniteFetchProducts($event)" *ngIf="...">
      <ion-infinite-scroll-content></ion-infinite-scroll-content>
    </ion-infinite-scroll>
  </ion-content>
</ion-slide>
<ion-slide>
  <ion-content>
    <...>
 </ion-content>
</ion-slide>
</ion-slides>

.scss
ion-slide {
.slide-zoom {
  height: 100%;
  ion-content {
    .scroll-content {
      margin-bottom: 0px !important;
    }
  }
}

}

.slide-zoom {     text-align: center;     position: absolute;     top: 0;     display: block;     width: 100%;     height: auto;     padding: 50px 10px; }

Nothing worked for me

This worked for me on slides with different heights
.swiper-slide {
    display: block;
}

ion-slide{
  ion-list{
      height: 100vh;
      overflow-y: scroll;
  }
}

this worked for me on slides with different heights
.swiper-slide {
   display: block;
}

ion-slide{
  ion-list{
      height: 90vh; // padding for footer
      overflow-y: scroll;
  }
}

.swiper-slide{
overflow-y: scroll;
display: block;
}
ion-slide{
height: auto;
}
Worked for slides of variable lengths.

Now, ion-refresher is not working properly. It gets refreshed every time I scroll to down even if there are more items in the list.


Not  able to consistently copy out an error

I am running Ubuntu 14.04 and testing the "into-cps-app-2.0.0-rc-linux-x64".
It seems like the right click menu option is disabled in the UI, so it is unclear when I have copied something out like an error. The Ctrl+C and Ctrl+V seems to work most of the time, but it would be nice to have the standard clip, copy, paste menu.

It's true the class right-click menu is disabled. Although it would be more accurate to say it's not implemented :)
The main reason for this is that we need the right click menu for certain actions (such as creation of new Multi-Models).
But I agree that, for the COE log and Main View, it would be nice to have the menu. @CThuleHansen , can we fit this in as an enhancement?

Another possibility would be to create a copy button for the output inside the UI !

Do you mean exporting the coe log? I think the coe already creates a log file in the folder where it's run.
You also have the copy entry in the edit menu.

I just want to have a copy button, when I got errors like the ones in:
https://github.com/into-cps/intocps-ui/issues/147
I had the CTRL-C option disabled because of a bug in my keyboard, so I needed to use external keyboard.

I am not sure I understand. What are you trying to copy?

Yep, that's the thing.
For the record, there are some alternatives currently:

Ctrl-C
(in development mode): Edit Menu > Copy
the coe.log file that is generated in the same folder as the COE contains most of the COE log (but see #151)

I think there are enough options to copy out COE logs, especially considering the generated log files will now cover the full output, per #151.
Closing.


[WIP] Smart Wallet Sponsorship Policies

📝 Changed routes:

…board/wallets/embedded
…d/wallets/smart-wallet

(view full size)
(view full size)

3 deleted routes:

/dashboard/wallets/auth
/dashboard/wallets/local
/dashboard/wallets/wallet-sdk

Commit 956aa925a441038ab506357cf09e6ca2eb3ff1a9 (https://thirdweb-r0yv90adk.thirdweb-preview.com).


20150803 Cosmetic/readability/manageability changes

Changes to comment formatting.
Changes to general formatting.
Changes to variable names so it is more clear where they belong.
Rearranged items so items are grouped better together.
Rearranged items so less resources are used (either moved static
variables out of the loop or moved 'volatile' variables so that they are
only set if they are actually needed).
Splatting on the Write-EventLog cmdlets.

Changes accepted


move strpos, substr functions to datafusion_functions

Is your feature request related to a problem or challenge?
As part of https://github.com/apache/arrow-datafusion/issues/9285 move the strpos and substr functions to the new datafusion-functions crate in the new structure.
Describe the solution you'd like
Functions are migrated to the new crate and use the new patterns as described in https://github.com/apache/arrow-datafusion/issues/9286 & https://github.com/apache/arrow-datafusion/pull/9216
Describe alternatives you've considered
No response
Additional context
No response

take


Network Servers / Add Error context deadline exceeded (code: 2)

I've tried these server names :

<IP_ADDRESS>:8000
localhost:8000

None of them worked
Here is the logs
chirpstack-application-server_1  | time="2020-08-31T02:34:51Z" level=warning msg="creating insecure network-server client" server="<IP_ADDRESS>:8000"
chirpstack-application-server_1  |  time="2020-08-31T02:34:51Z" level=warning msg="grpc: addrConn.createTransport failed to connect to {<IP_ADDRESS>:8000   0 }. Err: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:8000: connect: connection refused". Reconnecting..."
chirpstack-application-server_1  | time="2020-08-31T02:34:51Z" level=error msg="finished unary call with code Unknown" ctx_id=542b4d5d-d018-4128-b5cb-ac055ef027e2 error="rpc error: code = Unknown desc = context deadline exceeded" grpc.code=Unknown grpc.method=Create grpc.service=api.NetworkServerService grpc.start_time="2020-08-31T02:34:51Z" grpc.time_ms=505.946 peer.address="<IP_ADDRESS>:52982" span.kind=server system=grpc

Have you checked out the end of the README? https://github.com/brocaar/chirpstack-docker#add-network-server
You will want to use chirpstack-network-server:8000.

It works. Thank you


[HOLD][$1000] Thread - Draft message is bolded in LHN for 1:1 DM but not bolded for thread in room

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging.new.expensify.com

Chat:
2. Go to any chat
3. Send a message
4. Right click > choose Reply in thread don't type anything (notice chat is bold in LHN)
Room:
5. Go to any room
6. Send a message
7. Right click > choose Reply in thread don't type anything or send a message (notice the chat isn't bold in LHN)
Expected Result:
If the thread message in LHN is meant to be bolded (or not), it should exhibit the same behavior regardless of the where the reply is made
Actual Result:
In Step 4 (1:1 DM), the thread message is bolded in LHN
In Step 7 (room), the thread message is not bolded in LHN
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] Windows / Chrome
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/1ef7d05e-c81e-4ac1-9bff-2c9223950567
Expensify/Expensify Issue URL:
Issue reported by: Applause -Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01cd32b29d98720131
Upwork Job ID:<PHONE_NUMBER>004182528
Last Price Increase: 2023-08-15

Its a backend issue as lastReadTime is set in case of creating thread by "reply in thread" in rooms. But when doing same thing from a personal/group chat the lastReadTime is not set, thus showing the Bold Style.

I can reproduce this
For the chat - it seems like the message is bolded until you actually send a message and then it's no longer bold in the LHN.
https://github.com/Expensify/App/assets/51066321/5ee04039-b01a-4b8d-83b8-6e8a271f7564
Asking how we want this to behave here

Okay so we'd want this to behave as follows:

Drafted messages are not bold in LHN (as bold indicates unread in the app) but they do show a pencil icon indicating they are a draft

I think this is internal but let me know if it can be external!

Sorry I added both labels and that assigned too many C+. Going to remove @narefyev91 as I believe this needs to be internal.

@Christinadobrzyn Are we waiting here for proposal as it's internal issue?

Ah sorry, I added the engineering label to assign an engineer to this job to move it forward. I this it will just be you and the engineer working on this - unless you think this can be external and we can accept proposals.

@Christinadobrzyn yeah, that's what I thought so I was waiting for PR from some internal engineer, and was surprised that we received a proposal.

Thanks @sarious - sorry for the confusion, that was my fault. I think this will be fixed internally with our engineer and @burczu.

not overdue - waiting for PR from internal engineer

Hi @cristipaval would you have an update on where we are with a PR?

I would hold this issue because

@srikarparsi is working on hiding empty chats from LHN, which might not fix this issue
@MonilBhavsar has a project that improves the way that the chats are marked as read

@srikarparsi @MonilBhavsar Do you think any of your project will fix this issue?

On hold based on - https://github.com/Expensify/App/issues/24485#issuecomment-1692358334

checking with @MonilBhavsar and @srikarparsi to see if you can help with this comment - https://github.com/Expensify/App/issues/24485#issuecomment-1692358334

bump @MonilBhavsar and @srikarparsi!

I wonder if this one is still reproducible in the latest staging. I know some work has been done lately.

I'll investigate... this in just a moment..

Thank you @kbecciv! I think we can close this, right @cristipaval?

Yes @Christinadobrzyn, thank you! It also seems that no payment is needed here.


neod.exe: When I pasted in the code for a smart contract, neod.exe complains that an .avm needs to be loaded first

No longer applies in latest version


How do you reset the dropdown?

Was not able to figure out from the docs.

Hi @kornatzky ,
Set value is null.

@hoaphantn7604 , I'm not sure how that works. Maybe I'm not thinking right. Could you explain please?


list index out of range

list index out of range

what

it gives me an error when trying to open it after I put my discord token

the error is:list index out of range

send a screenshot of the error

thats not enough info for me to help you

Then what do i post for u to be able to help me?

info.log
heres the log if u want it

try with python 3.8+

mk

Thank you it works.