ShellComp::File not working as expected on bash

Installing completions for lutgen fe4450 which uses the file mask to eliminate non images:
*.avif|*.bmp|*.dds|*.exr|*.ff|*.gif|*.hdr|*.ico|*.jpg|*.jpeg|*.png|*.pnm|*.qoi|*.tga|*.tiff|*.webp

fails to work as expected on bash (hitting tab after some):

compared to the correct suggestion by zsh:

If needed, I can add a standalone example to reproduce the issue

I've seen your code, will try to reproduce it myself. Let's see what I can do about bash not cooperating :)

Doing some more digging, even just using ShellComp::File { mask: None } ignores whatever prefix the user typed as well, and only suggests things in the current directory
bash only showing current dir:

vs zsh working as expected:

Hopefully will have a chance to look at it today. I have a general idea of what is going wrong, just need to look up the docs and change it to generate correctly escaped stuff.

after some experiments managed to produce this manually and it seem to work.
Looks like key part for _filedir is having first two lines - local and initialization. So emitting those in addition to _filedir for bash should do the trick. Will try to write some of that tomorrow-ish.
_de()
{
   local cur prev words cword
   _init_completion || return
  _filedir '@(md|toml)'
}
complete -F _de de

_dr()
{
   local cur prev words cword
   _init_completion || return
  _filedir md
}
complete -F _dr dr

_dw()
{
   local cur prev words cword
   _init_completion || return
  _filedir
}
complete -F _dw dw

(I have something that works locally, will try to push a branch today)


Make version verbosity an enum

What type of PR is this?
/kind api-change
What this PR does / why we need it:
This follows more idiomatic rust and makes the migration to clap v4 easier.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

Removed `VERSION_FULL` in favor of the `config::Verbosity` enum.

/lgtm


Does map support double tap event ?

All events are documented.
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/class/Map/README.md#events


Cursor

The names engi.Arrow and engi.Hand don't match the things they should (at least on my machine). At least, they don't match any of the other stuff at my machine.
I have to actually use engi.Crosshair (which is nil), to get the regular arrow / pointer back.
I currently have no idea what's causing this, or if anyone can reproduce.

Turns out it was my window manager on Linux that didn't do what it should.
And seeing as most games implement their own cursor, I'm closing this one.


Add back Drain/Cordon button to nodes

Is your feature request related to a problem? Please describe.
In the old cluster manager there was an option to drain/cordon nodes.
Describe the solution you'd like
It would be very nice to have those buttons back in the new cluster explorer under nodes.
Describe alternatives you've considered
Manually doing it works via the kubectl shell but overall is a less than optimal experience.

Where did you look for the buttons? They should be under Explore Cluster -> Cluster -> Nodes, and then on top there should be Cordon and Drain available. Please supply versions used (Rancher and Kubernetes, and what type of cluster you are looking at)

I see the buttons there on my two clusters, but when I click Drain, it doesn't appear to do anything.

Hi @andrew-landsverk-win we are seeing this issue and a fix has been provided for the drain action as linked above.


SSL error

Recently, an error is fired when calling a https request:
com.goebl.david.WebbException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Is there a solution?

This is not a bug in DavidWebb.
I suppose the program is attempting to establish a connection with a server with some kind of self-signed certificate. There are quite a lot of possible solutions so I cannot help you without additional information.

Please search or ask Stackoverflow.

I am getting the same exception on KitKat devices. After debugging, I found out that it is due to TLS1.0 not supported. Do you have a way to solve this problem in Webb api?
In OkHttp they have a solution but I don't want to switch to Retrofit and OkHttp just to provide support for KitKat devices. Also these libraries will increase the app size.

Thanks for the link. This problem can be solved, but currently, I don't have enough time for it. Might take a couple of weeks. Generally, it should be possible to manipulate the SSL connection factory outside of DavidWebb. @sandeepyohans could you give this a try and tell us if it works?

Sure @hgoebl  I will try and  post an update soon.

I found a solution.
First, add dependency for Google Play Services in build file:
    implementation 'com.google.android.gms:play-services:+'
Then call the following method before calling web service  :
private void checkTls() {
    if (android.os.Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
        try {
            ProviderInstaller.installIfNeededAsync(this,
            new ProviderInstaller.ProviderInstallListener() {
                @Override
                public void onProviderInstalled() {
                }

                @Override
                public void onProviderInstallFailed(int i, Intent intent) {
                }
            });
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

Reference

Thanks @sandeepyohans , looks good to me.
Do you know how long it takes until the provider is installed?
It's an async call, so it may not be advisable to open http connections directly after calling checkTls().
Do you think it's sufficient to call the installation routine on application start?

You  are welcome @hgoebl
The installation is pretty fast. I am doing it at application start and it runs very quickly, till now faced no issue.

@sandeepyohans many thanks for your help.
What do you think? Would it be best to document this in the README? Because the lib should not have dependencies to Android nor Google Play Services.
If you create a pull request for a changed README, you become an official contributor. :-)

Sure @hgoebl I am glad to do that. I will create a PR.


Document failover and relocate flows

We can borrow text from the kubvirt samples readme:

https://github.com/RamenDR/ocm-ramen-samples/tree/main/workloads/kubevirt#failing-over-to-another-cluster
https://github.com/RamenDR/ocm-ramen-samples/tree/main/workloads/kubevirt#relocating-to-another-cluster

Fixed for discovered application in #53


Mechanism needed to append to test RVTEST_ISA string

All riscv tests have RVTEST_ISA macro fro which the isa string is extracted to be passed as -march option to the compiler.
The rv64i_m/C/src/cebreak-01.S has RVTEST_ISA("RV64IC")
but it also defines rvtest_mtrap_routine which includes CSRRW instruction. Our new compiler (riscv64-unknown-elf-gcc) needs the -march option to have Zicsr to recognize these csrrw instructions.
Is there a way to append to the RVTEST_ISA string ?

You will need to add _Zicsr in the argument to RVTEST_ISA for all the tests which need this extension. You will also need to modify the plugin to include the extension in the output march argument if it is present in the string.

I had the same thought. The tests have no visibility as to whether any of the RVMODEL_* macros use CSRs or not - not just RVMODEL_BOOT. It wouldn't be surprising if RVMODEL_HALT did, for example.
Therefore we either need to have all tests default to Zicsr, or require the vendors to explicitly set it ...somewhere... if they use CSRs in their support macros. Their config YAML should have this information

Therefore we either need to have all tests default to Zicsr, or require the vendors to explicitly set it ...somewhere... if they use CSRs in their support macros. Their config YAML should have this information

I agree that the -march string should be based on the config YAML instead of RVTEST_ISA.  RVTEST_ISA should only affect whether or not the test runs at all.  The full list of extensions listed in the YAML ought to be available to RVMODEL_* macros so somebody can, for instance, initialize whatever state they need to initialize even if that state uses extensions that are outside of the minimal set used by the test itself.

The objective of the RVTEST_ISA macro is to convey the minimal list of extensions needed for the test to be compiled. This is to serve as a hint for the plugins to derive the march string. If any extra extensions are needed for any of the RV_MODEL* macros, the plugin is free to add them to the march string(care should be taken that any conflicting extensions are not included, as far as the current tests go the C extension shouldn't be add unless specified). The vendors have control over how the march is derived from the ISA mentioned in the test. The selection of the test is not dependent on the RVTEST_ISA macro, it is dependent on the conditions listed in the RVTEST_CASE macro.

OK, then we just need to document very clearly (but mostly very
prominently) somewhere that
Zicsr must be added to the march string (if not already added ) if
RVMODEL_ macros have any CSR reads or writes.
I'm sure we will get people filing issues because they missed that bit of
information.
On Wed, Feb 23, 2022 at 11:38 AM S Pawan Kumar @.***>
wrote:

The objective of the RVTEST_ISA macro is to convey the minimal list of
extensions needed for the test to be compiled. This is to serve as a hint
for the plugins to derive the march string. If any extra extensions are
needed for any of the RV_MODEL* macros, the plugin is free to add them to
the march string(care should be taken that any conflicting extensions are
not included, as far as the current tests go the C extension shouldn't be
add unless specified). The vendors have control over how the march is
derived from the ISA mentioned in the test. The selection of the test is
not dependent on the RVTEST_ISA macro, it is dependent on the conditions
listed in the RVTEST_CASE macro.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-software-src/riscof/issues/35#issuecomment-1049143562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJS6WOUGSW5FHAG6VVLU4UZSNANCNFSM5PESMGMQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>


Numba 0.49.0rc1 does not provide aliases for some use cases

Reporting a bug

[x] I am using the latest released version of Numba (most recent is visible in
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[x] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

When I use Numba 0.49.0rc1 I see many warnings like this:
Import of 'from_dtype' requested from: 'numba.numpy_support', please update to use 'numba.np.numpy_support' or pin to Numba version 0.48.0. This alias will not be present in Numba version 0.50.0.`

It is OK and aliases work fine for the most of my cases but does not work for some cases I have:

from numba.targets import quicksort
from numba.special import literally and from numba.special import prange
from numba import postproc
import numba and numba.analysis.ir_extension_usedefs[Join] = join_usedefs
from numba import consts
import numba and lower_builtin('getiter', string_array_type)(numba.targets.arrayobj.getiter_array)
from numba.config import IS_32BITS
import numba and numba.datamodel.register_default(...)

Please, give me note whether it is possible to be fixed before 0.49.0 release.

Thanks for the report. There are a few PRs in-flight trying to address the import alias issues. We will make sure they are addressed.


chore(main): release butler-sheet-icons 3.6.4

:robot: I have created a release beep boop
3.6.4 (2024-11-06)
Miscellaneous

deps: Update dependencies (9aecbf7)
deps: update node.js to v22 (fe48a2f)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

butler-sheet-icons-v3.6.4
:sunflower:


Add Reactive Power Mode select entity

Add Reactive Power Mode select entity to inverter device configuration.

Added starting in Release v2.4.10-pre.1


Istio galley dashboard's data is not fully populated

Describe the bug
When visiting the Galley grafana dashboard after setting up istio there can be issues where data is not properly being displayed.
Expected behavior
The galley dashboard to be populated.
Steps to reproduce the bug

Install istio
Setup grafana; for my case I do not use local storage, but remote storage
Visit the galley dashboard

Version
Istio 1.0
Kubernetes 1.11.8
Installation
Using the documentation provided by istio.
Environment
Running on AWS. Provisioned with kops.

To me,  https://github.com/istio/istio/blob/1.1.0/install/kubernetes/helm/istio/charts/grafana/dashboards/galley-dashboard.json is missing the following
 "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
],

at the top of the file, unlike the other grafana dashboards. This is how I was able to get it fixed.

Are you running istio 1.0 or 1.1.0? You can run istioctl version --remote.
(I believe) Galley is new in 1.1

Istio 1.1.0. Sorry

@howardjohn I have #13041 to address this, if you can take a look.


refactor rocALUTION documentation

Refactoring all libraries to adhere to the documentation standards that includes following home page format, index style, language improvements, link fixes, navigation, and overall content readability improvements.

There is a lot of repetition of API content. As we call the same doxyfunction at many places. The solvers and preconditioners are individual files while being a part of API as well. I tried to remove the solvers and preconditioners from API library with a reference to the respective file but then realized that there are many cross-references to the solvers/preconditioners in the API library. Removing these would lead to many broken links so I am keeping them. I still feel the entire documentation needs a lot of rework to remove/reduce redundant content. Instead of calling the doxyfunction, call them at one place and add links to all other places where they are needed.

@lpaoletti Please review.

This is a great start. Approved.


Adds ability to pass Java options to ODL startup

Previously we always set the Java options to a single value which will
only run Java with ipv4 stack.  There is a requirement to be able to set
other parameters like heap seize or enable garbage collection.  This
change exposes a parameter where many Java options can be set via a
string.
Signed-off-by: Tim Rozet<EMAIL_ADDRESS>

This looks good, thanks @trozet

The sanity tests pass. Would be good to have beaker tests, but non-blocker.


Add NSFW subreddits as a part of porn blocking

Hi, so I was thinking whether it'll be possible to block nsfw subreddits. On googling, many of them show up in any general nsfw search.
Will having a full link like www.reddit.com/r/Example, etc. be helpful in blocking them, and only them, such that reddit and other subs are still accessible?

Hi @defa02005 thank you for your question.
Hosts files operate on domains only.  Take this diagram for example, which comes from the URL Wikipedia Article.  We only operate on the Host segment, not the subsequent pathing.

Closing!


Add derivation_index to GetAddressResult

The derivation index is required for
for client to derive and verify the address
on hardware wallets.

It's missing a doc update. Will push that shortly.

WTF

My bad


Cannot withdraw

Hi, I am trying to withdraw my asset from https://app.venus.io/dashboard, but It is showing missing trie node error

Looks like something wrong with the provider.

@peterblockman is the issue still reproducible?

We have refactored and redesigned this interface. I'm going to close this issue because it is inactive and any issues should be resolved with the new interface.


Trivia no longer working?

The last 2 releases of the bot I've used I've noticed -t doesn't start the trivia anymore, is that intentional?

it was changed back to just trivia i think

Trivia was changed to >t and >tq


Add output to expose the Global-Acc Route 53 Zone ID

The Global Accelerator Route 53 zone ID is required to route an Alias Resource Record Set to the Global Accelerator
what

Add an output to expose hosted_zone_id of the Global Accelerator

why

This is required when creating a Route 53 record of type "Alias" that points to the Global Accelerator

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/globalaccelerator_accelerator#hosted_zone_id

/test all


Error when creating a new folder with a subfolder using Image Save node

I encountered an issue when using the Image Save node to create a new folder with a subfolder. When I try to create a folder with the structure '/[time(%Y-%m-%d)]/S', an error occurs, and the creation and saving process fails. However, when I attempt to create a folder with the structure '/[time(%Y-%m-%d)]', it succeeds. I believe the error occurs when trying to create a subfolder within the main folder. Could you please look into this issue?

Please provide all errors.

Thank you for your response. here is the error message I encountered when trying to create a nested subfolder using the Image Save Node:
WAS NS Warning: The path ./ComfyUI/output/2023-04-30/S specified doesn't exist! Creating directory.
Traceback (most recent call last):
File "J:\ComfyUI_windows_portable\ComfyUI\execution.py", line 184, in execute
executed += recursive_execute(self.server, prompt, self.outputs, x, extra_data)
File "J:\ComfyUI_windows_portable\ComfyUI\execution.py", line 69, in recursive_execute
outputs[unique_id] = getattr(obj, obj.FUNCTION)(**input_data_all)
File "J:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 4370, in save_images
os.mkdir(output_path.strip())
FileNotFoundError: [WinError 3] 指定されたパスが見つかりません。: './ComfyUI/output/2023-04-30/S'
Please let me know if you need any further information or if there's anything else I can provide to help resolve this issue.
Best regards.

Thank you.
I will push a patch soon. In the mean time. You can get by this by replacing os.mkdir(output_path.strip()) with os.makedirs(output_path.strip(), exist_ok=True) on line 4370

This should be patched now.


Problems about Installing JDart by using Docker

I tried to use the method mentioned in the README file by
$ docker build -t jdart .
Command to try to install Jdart, unfortunately there was a problem and the installation failed.

The exact reason for the error is shown above. I'm not sure if it's the configuration of my machine that's preventing me from successfully installing the Java8 installer or if it's something else that's causing this result.

I find this works: https://github.com/samsbp/jdart, thanks, samsbp!


Add CI: test on GitHub Actions

Test Python 3.6 - 3.10 (the upstream CPython supported versions) on Ubuntu, macOS and Windows.
This means all PRs can be tested, to ensure no regressions slip in.
Here's a sample build:

https://github.com/hugovk/pyperclip/runs/3553231211

Updated now Python 3.10 final is out.
https://discuss.python.org/t/python-3-10-0-is-now-available/10955

Rebased!
I tried adding all supported versions: 2.6-2.7, 3.1-3.10, but GitHub Actions doesn't have 2.6 and 3.1-3.4 (https://github.com/hugovk/pyperclip/actions/runs/1331936389), so added all available: 2.7 and 3.5-3.10 (https://github.com/hugovk/pyperclip/actions/runs/1331944362).

Added support for Python 3.11.

Closing old PR, but happy to re-open if interested later.


Cassandra dashboards fixes and improvements

What does this PR do?

Update the filtering of metrics in cassandra integration to fit with latest version of dashboards we are proposing in from the dev environments, @irabinovitch is the person we are in contact with and he knows were to take the dashboards from so it can go through datadog QA.
Add by default tags we need to use as template variables in distinct dashboards.
Makes the default configuration compatible with C*2.0
Makes the default configuration compatible with C*2.1
Makes the default configuration compatible with C*2.2
Still compatible with C*3+
Made filtering more exhaustive to use exactly the metrics we display
Update the corresponding metadata CSV so we have units everywhere and a small description.

Motivation
This request is part of the work TLP is doing to have a nice set of dashboards out of the box for Cassandra / Datadog users.
Testing
This code needs to be tested with Cassandra (2+) and TLP - * Dashboards from TLP datadog account. On our end, filtering was working, we found no way to test metadata.csv file though.
Additional Notes
conf.yaml.example
For some reason, this filtering is not working correctly and we are accepting more measurement (histogram parts) than we actually need for these 3 attributes. I am not sure why. It also happen with "column family" in older versions of Cassandra.
- include:
        domain: org.apache.cassandra.metrics
        type: Table
        bean_regex:
          - .*keyspace=.*
        name:
          - SSTablesPerReadHistogram
          - TombstoneScannedHistogram
          - WaitingOnFreeMemtableSpace
        attribute:
          - 75thPercentile
          - 95thPercentile
      exclude:
        keyspace:
          - system
          - system_auth
          - system_distributed
          - system_schema
          - system_traces

metadata.csv: I am not sure about the column "orientation" and I let it empty for all the metrics that were added. Also could you make sure the format / syntax is valid there. I am not sure if percentiles need to be detailed etc.
About dashboards
The changes mentioned above are made to support a specific version of the Cassandra dashboards, for completeness' sake, please find dashboards "change log" below.
@irabinovitch here are all the comments of most what was done lately, it's been hard for me to keep tracks of everything, but I was willing to at least explain why I changed some stuff added by Datadog teams. happy to discuss the design and adjust files in this PR accordingly. I recommend QA teams to take as it is now (I merged their past work in there) and see if that suits the needs.
Important / Design:

Could we force displaying those dashboards with 3 charts per rows (at least by default?). I was designed to be displayed that way and we believe it makes things way more clear for the user. If not it might be worth it to mention that somewhere alongside with the tag configuration.
Also, all the charts where built with filters using template variables (that you can see in TLP datadog account).

Possible improvements:

Top list: It would be nice to make top list that can be broken down by multiple variables, not just one. JSON allows it, a save from the UI breaks it as the UI only accepts one variable there (for example Top list of disk space used broken down by host AND device would be awesome).

Hand over:

A lot of charts changed (using better metric, specified when available on C3+ only, added metrics and charts for C2.1 and C*2.2 compatibility
Added marker as guidelines to new Cassandra operators.
Some charts were added to improve existing chart tracking new informations
Changes listed below were also made when merging your (datadog teams) work with what we did in the meantime. We tried to detail them so you can have the big picture of the design we used to create dashboards. We hope you will like the changes but we are happy to discuss anything.
For all those reason it might be easier to take dashboards as they are now in our development environment and check if that version would work for you or make the changes as you see fit from there
We provide this pull request for metrics in use for those dashboards, compatible with C2.1+ (maybe C2.0, not tested) and the corresponding metadata so it should be easy to plug this new version hopefully on your side

List of dashboard changes:
Overview Dashboard:

We need to use the information about the node being up or down itself, disregarding other nodes status. As of now a down node will not be shown. I recommend you to simulate a node down and see this chart in a 3+ node cluster if I am unclear.
We removed Live space growth: This information is important we agree. Yet the overview dashboard is made to exclusively. The on disk data growth is not likely to be helpful to detect or prevent an anomaly from happening, but it’s a good information to have indeed and we placed it in the new “SSTable Management” dashboard that gather information about SSTable, flushes, compactions, and disk.
We split Read / write counts and added “other operation” counts and latencies. We believe that when the workload between reads and writes is unbalanced, the smallest one would look “flat” in the chart even though it would drop 50 % of the load. So it is good to split them as we want to detect anomaly and ratio between reads and write would still be trivial for the operator as both charts seat next to each other.
We put  ‘dropped messages’ to the top as it is a key factor in anomaly detection. Also a database is suppose to store and deliver messages successfully, if it doesn’t we want to know about it. We also removed the filtering here so ANY dropped messages, so no kind of issue slips through the cracks.
Memtable count, Memtable data size: We believe the same way this is too “low level” to be in this dashboard that has to remain simple and just monitor minimal things to never miss that “something happened” or to say the cluster is healthy. Those charts would fit in a dashboard “Hardware and JVM usage” that is not yet designed but that we aim to build for a V2 of those dashboards. For now we dropped these 2 charts from overview.
Max partition size became a top list, to change and because it fits. We do not mind much the evolution of the biggest partition at this point but see clearly how big are the partitions.
System memory: we missed that one, thanks for adding it. Now using avg instead of sum though, to be more consistent with CPU and for readability.
I/O wait (%): this is definitely a good fit as many of the Cassandra issues are related to disk one way or another. We broke it per host / device though, so we know what disk precisely is having troubles.
We also removed non-working charts called ‘Read and write rate’, ‘Write latency (ms)’ and ‘Key/Row cache hit rate’. They are trying to use metrics that are currently not available here https://github.com/DataDog/integrations-core/blob/master/cassandra/conf.yaml.example. Mostly these charts exist in “TLP - Read path” and use metrics from org.apache.cassandra.metrics and not org.apache.cassandra.db).

Read Path / Write Path Dashboards
We reworked the 2 dashboards to add a few charts and improving some exiting charts and the layout as well.
We saw no changes from what we offered in the first version of the dashboards so no merge from Datadog default chart is needed there. Taking the new dashboard from our TLP account is probably the easiest way to go. Then check it to see if it still suits you :-).
SSTable management dashboard
This dashboard being new, we should have no merge issues there.

@joaquincasares @arodrime thanks for digging into this. Our team is QA'ing this in our C* environments, but hope to have more updates for you soon.

Hi @arodrime, thanks for your PR.
regarding the orientation field, you should have a look at this: https://docs.datadoghq.com/guides/integration_sdk/#metadata-csv

@zippolyte thanks for the pointer! I'll add the orientation as soon as possible.
Could you please let me know if the other fields are correctly filled up?

Thanks for the feedback @zippolyte, commit added to this PR.

Thanks for the update, but you've also replaced all the commas with semicolons, could you change that back please ?

Oops, my bad. Working from spreadsheet and csv export was with semi column... I fixed it. Thanks.

@zippolyte I pushed the latest changes let me know if that works for you.
Also, have you managed to tackle these 2 points?

We need to use the information about the node being up or down itself, disregarding other nodes status. As of now a down node will not be shown. I recommend you to simulate a node down and see this chart in a 3+ node cluster if I am unclear.
Top list: It would be nice to make top list that can be broken down by multiple variables, not just one. JSON allows it, a save from the UI breaks it as the UI only accepts one variable there (for example Top list of disk space used broken down by host AND device would be awesome).

I would say these 2 fixes ( node status and disk space top list) are really the most important changes needed. If you need more details I am happy to discuss it.

Regarding the node status, I'm not sure I understand what's the problem, I'll investigate.

I believe we need to test the node status directly (instead of having the perspective from each node on the cluster state). We need a value 1 (up) or 0 (down) and not a number depending on the cluster size, to be able to monitor nodes going down properly.
When nodes are up, all good.

When a node is down, numbers shown are counter intuitive, but well you can guess what's happening. Not ideal though.

When 2 nodes are down (moment you really need monitoring), it's hard to read. Try to guess what 2 nodes were down below.

Playing with palette and aggregation method (avg, sum, min, max) does not help much. That's why I think we would need to know the status for each node from trying to connect it somehow. The value of status should be 1, or 0. Independently of the number of node and state of other nodes.
It's bit tricky to explain by writing, I hope the screenshots help. Testing it as you suggested is probably the best way to go. We can also go for a call if need be.

The changes looks good to me now so i'm approving this PR.

That's good news 👍 .
On the dashboard (UI) side of things, while writing about dashboards I made some fixes and gave the changelog to @irabinovitch.
@zippolyte Here is a solution as you suggested to have the status chart working. Let me know your thoughts.

I am not sure to understand why the node down is not showing in red though.
Let me know if you are still missing something or if we are good to go like this for this version :-).
Thanks for all the work and nice communication on this in the last weeks.

I think using the toplist for the status is the best alternative even though it's not ideal. We should be good to go after I integrate your dashboard fixes to our own.
Thanks a lot again for your great work on this @arodrime !


Unresolved dependency for phantom zookeeper

I am getting unresolved dependency for com.twitter#finagle-zookeeper_2.10;6.17.0
In build sbt i have included
"com.websudos" % "phantom-zookeeper_2.10" % "1.2.2"
and
resolvers += "websudos-repo" at "http://maven.websudos.co.uk/ext-release-local"
resolvers += "twitter-repo" at "http://maven.twttr.com"
Please advice

@arkady60 Phantom 1.2.2 is no longer available publicly because of storage less in our Maven repository. The error has since been corrected and a 1.5.0 release of Phantom is available on Maven Central.
We advise you to upgrade to the newest available version as you will benefit from various bug fixes that have been included since 1.2.2 was released in August of 2014.


Audio controller issues on GitHub CI

Any tests that exercise the audio controller component will only succeed on macos-13, not macos-14 or Windows or Ubuntu. In https://github.com/stephenwade/festival, they worked on macos-12 too; I don't know why they are failing here on that OS.
macos-14 runs on GitHub's new M1 runners. Since that OS will soon become macos-latest, and macos-13 will be deprecated eventually, I need to get the tests working on Ubuntu (and hopefully Windows and macos-14).
TODO:

[ ] Try to reproduce the problem on machines I control

I have already verified that the tests succeed on macOS 14 on my Intel Mac
[ ] Try macOS 14 on my work laptop, which is M1 or M2
[ ] Try an Ubuntu VM in Parallels on my Mac
[ ] Try my Windows VM in Parallels
[ ] Try an Intel VPS in DigitalOcean
[ ] Try an ARM VPS in DigitalOcean
Hopefully some pattern will emerge that will let me identify the difference between what works and what doesn't.

Test results:

OS
 Platform
 Result

macOS 14
 Intel, laptop
 ✅ Success

macOS 14
 Apple silicon, laptop
 ✅ Success

…


add eq and hash to upa class

Coverage increased (+0.009%) to 97.936% when pulling f93fdab8929f7a1b09375747d6c9b791dfda8cec on MrCreosote:master into 1da5e1a09f716715705bfb95c49dae1fe5b7dd98 on kbaseIncubator:master.


Can not send a transaction,

I used iota java library 0.9.11
and got an exception

jota.error.ArgumentException: [{"error":"starting tip failed consistency check: VAZRZILTVSZKOELMJSHTBHHUYJZON9LRBYMCDBKZMKXIKFVTRVZFEGXJXSRXBEPOUVFESMDBCYYC99999","duration":1474}]
at jota.IotaAPICore.wrapCheckedException(IotaAPICore.java:71)
at jota.IotaAPICore.getTransactionsToApprove(IotaAPICore.java:303)
at jota.IotaAPI.sendTrytes(IotaAPI.java:236)
at jota.IotaAPI.sendTransfer(IotaAPI.java:825)
at iotatest.test1.shouldSendTransfer(test1.java:72)
at iotatest.IotaTest.main(IotaTest.java:39)

with code
IotaAPI api = new IotaAPI.Builder()
.localPoW(new PearlDiverLocalPoW())
.protocol("http")
.host("eugene.iota.community")
.port("14265")
.build();
    String seed = "seed";
    String tag2 = "UPDATE999999999999999999999";
    String sendToAddress = "NYYVQVJMQVYCB9AQXTYFQOZP99R9GRIYRJV9MYIJKTBNXRMAGDXJQWYFKCXBPRLRPBZRRHRZOZTFEWJXBIRWEEGCTW";
    List<Transfer> transfers = new ArrayList<>();
    transfers.add(new jota.model.Transfer(sendToAddress, 0, "ATTACH", tag2));
    jota.dto.response.SendTransferResponse str = api.sendTransfer(seed, 2, 5, 14, transfers, null, null, false, false);
    System.out.println(java.util.Arrays.toString(str.getSuccessfully()));

This happens (at least in one case) when the IRI node is out of sync with the tangle, which happens for a very very short period when a new milestone is published.
Solution is to catch and test this exception and re-try transfer again... nothing the jota library can or should really do, possibly catch it itself and then call getTransactionsToApprove(depth); again.
Basically IRI has provided the tips from the last milestone, or at least to my knowledge.

What @runplay said is correct.
If you still think we should handle this, just reply with your motivation behind this.
I will close this issue otherwise.


Add pre-configured flavors on create app command

Add development, production and staging flavors to the app when using create app command.

Feature

Add development, production, and staging flavors to the CLI template for mobile
Add development, production, and staging flavors to the CLI template for web

This feature will be complemented by #933 so they have to be done in the same release

Maybe interesting for this feature could be the implementation of the "very good cli" from very good ventures as they setup flavors by default: https://cli.vgv.dev/docs/templates/core


Travis reorder: remove finish_fast that is breaking builds

Turns out the finish_fast flag breaks the travis builds, PR to remove it.

Needs squashing before merge


chore: Cleanup docs assets

What does this PR do?
Some of the docs assets live under contributors' forks. This PR move them to upstream
Motivation

More

[x] Yes, I have tested the PR using my local account setup  (Provide any test evidence report under Additional Notes)
[x] Yes, I ran pre-commit run -a with this PR
[x] Yes, I have added a new example under examples to support my PR (when applicable)
[x] Yes, I have updated the Pages for this feature

Note: Not all the PRs required examples and docs.
For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes

Actually, you can review and merge @lewinkedrs. I have other changes on docs, but will submit separately


fix the about section

A couple things in the about section need adjustments:

Since we have the map there, let's start off the section with
"SeeSaw Labs is a software design and build shop located in Austin, TX. We create cross-platform products that grow your business."

Then we can do into the marketing copy, which currently on the live site has a duplicate sentence on the end of the first blub:
The seesaw is a simple machine: a device that uses mechanical advantage to multiply force and an elementary building block from which more complex machines are built.: a device that uses mechanical advantage to multiply force.

remove that last line

I'm not exactly sure what you need.  I updated what I think you were saying.
This is the file you need to update to make changes:
https://github.com/seesawlabs/seesawlabs.github.io/blob/master/_includes/about.html#L16


Page becomes black  blank when we do resize

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/devbox/swiper-virtual-slides-vue-forked-xhngzq?file=%2Fsrc%2FApp.vue%3A2%2C75&workspaceId=2af966e8-e177-47fe-8fe9-219886a4770e
Bug description
My swiper is not working properly upon resize either it show

Black blank screen
Merges next and previous images

Expected Behavior
It should fit the screen upon resize and should not show

Black blank screen
next and previous images merged

Actual Behavior
My swiper is not working properly upon resize either it show

Black blank screen
Merges next and previous images

Swiper version
11.1.3
Platform/Target and Browser Versions
chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

My swiper is not working properly upon resize either it show

Black blank screen
Merges next and previous images

My swiper version : "swiper": "^11.1.3",
Here what i'm facing

Here is my codesandbox :  https://codesandbox.io/p/devbox/swiper-virtual-slides-vue-forked-xhngzq?file=%2Fsrc%2FApp.vue%3A2%2C75&workspaceId=2af966e8-e177-47fe-8fe9-219886a4770e
Even i have asked question on stackoverflow : https://stackoverflow.com/questions/78498438/why-on-resize-of-swiper-container-either-swiper-container-becomes-blank-black-or

Anyone please provide me any hint


misnamed makefile

It appears that setup.py refers to Makefiles/Makefile_mac_clang but the directory dds/src/Makefiles only contains files like Makefile_mac_clang_static and Makefile_mac_clang_shared.
(This is causing a problem on OSX, obviously)

Thanks for your comment.  setup.py must be from a project building on DDS, and we must have broadened our Makefiles at some point.  I think the setup.py people will have to fix this on their end.


Customizing Summernote

I want to customize Summernote with own styles and self defined fonts.  I´ve found this: https://summernote.org/deep-dive/#custom-styles but I can´t find, where I can make the changes in Batflat CMS.
In this context I would like to ask whether there will be a new version of Batflat CMS and by when I can expect it.

hi smitti
I just wanted to ask the same. I realy like this cms but I'm not shure about updates. The last version goes back to february 2020. And I got no answer to my mails i wrote.
cracksilver

Here you can find it: batflat/inc/jscripts/wysiwyg/


[ci] disable multplexed integration test for coverage temporarily

Signed-off-by: Asra Ali<EMAIL_ADDRESS>See https://github.com/envoyproxy/envoy/issues/18881.
temporarily disable until i figure out a fix

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Going to limit it to just disabling the test that's failing


Double-clicking when editing a 'when' expresson opens the 'change hotkey' dialog instead of selecting the current word

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.66.2
OS Version: Xubuntu 22.04 (Linux x64 5.15.0-27-generic)

Steps to Reproduce:

CtrlK -> CtrlS to open the keyboard shortcuts.
Find a shortcut with a complex 'when' expression. Right-click, "Change When Expression".
Double-click a word in the expression, as if to select it.

 Instead, it opens the "change hotkey" dialog.
I propose that a doubleclick should only trigger the dialog when the 'when' expression is not being edited.

I think this is yours, @sandy081?


[AIRFLOW-3804] MySqlToGoogleCloudStorageOperator success when it should fail

Hello,
Here is an ticket related to GCP on Jira:
https://issues.apache.org/jira/browse/AIRFLOW-3804
Lots of love

@potiuk @mik-laj please take a look at the jira issue. I could not replicate the error but I extended tests.

Closed via https://github.com/apache/airflow/pull/5993


Charm is deducing the executor tag based on the tag of the controller image

The Charm is deducing what executor image to use based on the tag of the controller image. This is error prone and expects a specific tagging for both images.
We should instead have this whole image configurable, via the config.yaml file. This also limits our airgapped story, since we can't define a different registry for the image.
https://github.com/canonical/argo-operators/blob/0d80f2a614ec1d7421f47d9ad6af9ec4f4c87dab/charms/argo-controller/src/charm.py#L82-L85

We need to merge this https://github.com/canonical/argo-operators/pull/125 before proceeding with https://github.com/canonical/bundle-kubeflow/issues/680.


Add configuration keyword for specifying the default language of the jupyter notebook

Contribution of @ocayrol

Thanks @nthiery and @ocayrol. This is a good idea.


refactor: Remove polling and wait for first task to finish

That should be a more stable way than Task.Delay(1);
I just started a bunch of PrintHelloWorld jobs as test - maybe you have a better testbed @falvarez1

@linkdotnet
The await Task.WhenAny(runningTasks); has an issue that I discovered, which may be more of a fundamental issue with the way Jobs are prioritized. If you create a job with a very long delay and short scheduled interval frequency we get to a point where the runningTasks just contain the long running job, so the entire scheduler now has to wait until that one job completes before Task.WhenAny is released.
Using something like await Task.WhenAny(runningTasks.Concat([Task.Delay(1000, stopToken)])); gives it a chance to exit and check again after 1 second but I suspect this will affect the scheduling.
We need to push the same Jobs as the long running Job that are at the top of the PriorityQueue down to allow other jobs to be scheduled. Or check if the execution time is past some grace period and if so dequeue it.

That us a fair point and somewhat what I would expect as we just drop new runs if the queue is full.
I don’t think that either Task.Delay(1) or your version (with Concat Task Delay(1000)) would help here as the queue is still full.
I am currently more inclined to put this into the docs.
If you have 10 slots and you allow your extremely long running job to have those 10 slots, then yes it can happen that no other job will run.

This PR will now only fix the missing meta-data. I will open separate ones for the other related issues.


Deprecate wiki

Change
As briefly talked about in the #daala-weekly yesterday, the wiki is quite outdated and should be deprecated.
The question is: Which of the pages should be kept and moved to the doc/ folder? The others will just be deleted.
Pages

file
purpose
author(s)
action

Frame-Type-Selection.md
Explains frame type selection
shssoichiro
pick

Home.md
Short hello message
mbebenita
drop

Quality-&-Speed-Features.md
Various features compared to compeititors (outdated)
mbebenita, rzumer

Roadmap.md
Feature plan for AV1 Encoder
mbebenita, negge

Procedure
It's obvious that Home.md can be dropped, but for the others I would just like consult the authors (@shssoichiro, @mbebenita, @rzumer, @negge).
Please state if the page should be kept, and if yes, if it needs to be updated :)
Thank you! :smile:

We specifically wanted the frame type selection algorithm documented, so I think it makes sense to move it to the doc folder. I updated the version in the wiki just now to accurately reflect the codebase.

@mbebenita, @rzumer, @negge: Could you please give a short info about your respective pages?
Thank you a lot! :smiley:

@barrbrain
What is the deal with doc/regress_log-bitrate_wrt_log-quantizer.ipynb ? Is it still needed? If yes, what for? If we keep it, I would like to add a brief descrption to it.


The "stable" version doesn't have backup and restore.

The RD Preview app tells users to use the "stable" version, however, the stable version has a lower version number and is missing features of the Preview version, e.g., the ability to back up and restore connections and settings.

Hi, no page has been provided and what was the preview version is now out of date, so I shall close this.
#please-close


Fix remove person with JS disabled

What is the context of this PR?
Fixes https://github.com/ONSdigital/eq-survey-runner/issues/889
Test with and without JS to ensure that functionality fixes issue

@hamishtaplin Yes that is a lot simpler! 👍

@samiwel @hamishtaplin Ready for review.


Identification of Which Orders to Extract

The general issue is how to accomplish boxes 1 and 2 of the Spextool GUI.  That is, the user generally selects which order to trace interactively by inspection the plot_profiles window.  Often times the spatial profiles of orders with little or no signal will produce noise and thus no apertures can be found.  Before tracing, these orders are deselected.  How do we accomplish this in an automated way?
Along a similar line, the user can combine all images of a series before extraction in order to increase the S/N of the data to make it easier to trace low S/N orders.  How do we decide when to do that?

still in progress - will address once we start going through batch mode


[UIKit] user can't scroll down the "Reset password" screen in landscape mode if focusing out of the email text field

Env:

iphone Xr (15.5)
build: 987
app framework: UIKit

Steps:

Open Radzima app
Navigate to the Profile > Sign in
"Click Forget password?" link
Make landscape mode

Actual result: "Done" button is  partial viewed in landscape mode when keyboard is hide or user focusing out the email input field
Expected result: "Done" button is fully viewed in landscape mode  when keyboard is hide or user focusing out the field
https://user-images.githubusercontent.com/92754953/177809838-ab81e694-b582-464a-b740-d29e08440ae3.mp4

@alexeykomov Please, check the same behavior for the restore procedure for the last screen ("New password screen")

@alexeykomov Please, check the same behavior for the restore procedure for the last screen ("New password screen")

@zzzOrbitzzz Appreciate your attention!


How to reuse current lxc setup?

I want pylxd.Client() to open my default remote that is configured for lxc command line tool. I also want to reuse the connection setting - ip and certificate. Is that possible?

If you're remote server is running the lxd daemon and it is configured for remote access, then yes, this is possible.  @stgraber 's post LXD 2.0: Remote hosts and container migration has some information about how to set up the remote access.
Then to actually use it you'd authenticate as per the docs.
Does this help?

I understand this, but the question is about reusing lxc setup, not about configuring pylxd once more for the parameters that are already there.

@techtonik pylxd, by default, will try to connect to a local LXD socket. The client can be configured to connect to a remote host but currently does not read any machine-local lxd configuration

Closing due to lack of response.

@ajkavanagh sorry for the late response. It is not actual for me. The point was to automate current manual operations by reusing connection that is already set.

@techtonik The more I think about it, the more I think it's a poor 'fit' for the pylxd library to try to read the default config that a user of lxc has configured for lxc.  I.e. which config should it use, etc.
If you still feel strongly, please could you spec out how you would see it working please?  e.g. how to select the config to use, etc.  Thanks. Alex.

I don't fee strongly about this. I guess there should be function to load current user config "LXD-way". Just because reimplementing config for pylxd is tedious task.

Ok, thanks.  I'm going to leave this for now.  Essentially, this is a "load credentials" issue for remote LXD instances (via the local lxd daemon) and until a concrete use case comes up, we won't really know what problem we are trying to solve.
Thanks for bringing it up; it raises awareness of a potential pain point and it means that we'll be more conscious if another similar request is raised.


Action required: Let's Encrypt subscriber agreement URL Change

Hi there,
Your project has a hardcoded URL reference to the current Let's Encrypt subscriber agreement:
https://github.com/analogic/lescript/blob/a496d263e7fecff0b7ae4401268abb43e34bc96d/Lescript.php#L9
This URL is going to change November 15th. If your project does not address the stale URL at this point subsequent new-registration/account requests may begin to fail.
ACME clients do not need to hardcode a subscriber agreement URL and Let's Encrypt discourages this practice. You should learn the current agreement URL at runtime instead so that it is always current.
One option is to reference the agreement URL from the "meta" key's "terms-of-service" element from the response to a GET request to the ACME server's /directory endpoint:
{
    <snip>
      "meta": {
                "terms-of-service": "https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf"
                  },
                    <snip>
}

A second option is to learn the current subscriber agreement URL at runtime as part of the new-reg flow: Client code can submit an initial new-reg request without an agreement value in the request payload. The account will be created and in the response will be a Link header with a terms-of-service relation pointing at the current agreement URL. Once this Link header has been seen the client should update the registration to agree to the terms by sending a payload with the agreement value set to the current agreement URL.
Thanks!

Thanks for your detailed issue report!

@analogic Thanks for the quick response! :tada:


[Push Notification] Added support for no channels

Push Notification:

If there are no channels (default no channel), the push notification
is sent to all target devices. (issue #140)
Improved support for targeting by platform: a device type is specified as where
clause
Improved support for advanced targeting: if a channel is specified it's also possible to use where clause in it.

@fabiomassimo hey, we can't auto merge this anymore because of other changes. If you'd like to get this in, could you merge master back into your branch and push that?

@Xavdidtheshadow not sure what problem this PR solves.

@rhymes see #140

@koenpunt thanks!

@Xavdidtheshadow thanks for taking care of this pr. Is there something else I can do to help you out?

@fabiomassimo thanks for the fix! You just need to update your branch with the current master and fix the conflicts so that your PR can be merged.
See https://help.github.com/articles/syncing-a-fork/

I just merged the latest changes from current master branch but I didn't come across any merge conflict. Am I missing something?

Did you checkout and git pull each branch before merging?
~DB
On Sun, Jun 7, 2015 at 9:25 AM, Fabio<EMAIL_ADDRESS>wrote:

I just merged the latest changes from current master branch but I didn't come across any merge conflict. Am I missing something?
Reply to this email directly or view it on GitHub:
https://github.com/adelevie/parse-ruby-client/pull/150#issuecomment-109761378

I merged only from current master branch (main repo).
Why should I merge all branches?

Sorry, wasn't clear. I meant pulled current master and merged that. Sometimes people forget to pull and then merge without conflict. But not that though, huh?
I'm on mobile now, but I can actually dig into what the conflicts are later if you haven't found them by then.
~DB
On Sun, Jun 7, 2015 at 10:37 AM, Fabio<EMAIL_ADDRESS>wrote:

I merged only from current master branch (main repo).
Why should I merge all branches?
Reply to this email directly or view it on GitHub:
https://github.com/adelevie/parse-ruby-client/pull/150#issuecomment-109765482

@Xavdidtheshadow thanks! I didn't encounter any conflict indeed. Let me know if I'm missing something. It seems good for me..

@fabiomassimo nice, the conflict seems to have resolved itself. Merged!

@Xavdidtheshadow just a thought, with my push and this we should probably start improving the documentation because they are both changes that modify the behavior

@rhymes totally agree. Do you mind adding relevant documentation as part of #167?

@Xavdidtheshadow done


Response payload is not completed

Command Ran
from datetime import datetime
import twint
import nest_asyncio

output_file = "tweets_output.csv"

nest_asyncio.apply()
config = twint.Config()
config.Search = "bitcoin OR btc OR bitcoinpump OR #bitcoin OR #btc OR #bitcoinpump "
config.Lang = "en"
config.Resume = output_file
# config.Limit = 200
config.Since = str(datetime(2009, 1, 3))
config.Until = str(datetime(2021, 1, 3))
config.Store_csv = True
config.Output = output_file
twint.run.Search(config)

Description of Issue
After I'm running the script for over a period of time which could be between 1-2h until 5-6h I'm getting the fallowing error:
Traceback (most recent call last):
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/twitter/twitter_scapper.py", line 71, in <module>
    twint.run.Search(config)
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/run.py", line 410, in Search
    run(config, callback)
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/run.py", line 329, in run
    get_event_loop().run_until_complete(Twint(config).main(callback))
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/lib/python3.8/site-packages/nest_asyncio.py", line 98, in run_until_complete
    return f.result()
  File "/usr/lib/python3.8/asyncio/futures.py", line 178, in result
    raise self._exception
  File "/usr/lib/python3.8/asyncio/tasks.py", line 282, in __step
    result = coro.throw(exc)
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/run.py", line 235, in main
    await task
  File "/usr/lib/python3.8/asyncio/futures.py", line 260, in __await__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.8/asyncio/tasks.py", line 349, in __wakeup
    future.result()
  File "/usr/lib/python3.8/asyncio/futures.py", line 178, in result
    raise self._exception
  File "/usr/lib/python3.8/asyncio/tasks.py", line 280, in __step
    result = coro.send(None)
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/run.py", line 262, in run
    await self.tweets()
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/run.py", line 217, in tweets
    await self.Feed()
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/run.py", line 62, in Feed
    response = await get.RequestUrl(self.config, self.init)
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/get.py", line 135, in RequestUrl
    response = await Request(_url, params=params, connector=_connector, headers=_headers)
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/get.py", line 161, in Request
    return await Response(session, _url, params)
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/src/twint/twint/get.py", line 168, in Response
    resp = await response.text()
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1076, in text
    await self.read()
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1032, in read
    self._body = await self.content.read()
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/lib/python3.8/site-packages/aiohttp/streams.py", line 370, in read
    block = await self.readany()
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/lib/python3.8/site-packages/aiohttp/streams.py", line 392, in readany
    await self._wait("readany")
  File "/run/media/vlad/Common/Facultate/ICA-2/Semestru_1/Aplicatii_ale_lingvisticii_computationale/FinalProject/venv/lib/python3.8/site-packages/aiohttp/streams.py", line 306, in _wait
    await waiter
  File "/usr/lib/python3.8/asyncio/futures.py", line 260, in __await__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.8/asyncio/tasks.py", line 349, in __wakeup
    future.result()
  File "/usr/lib/python3.8/asyncio/futures.py", line 178, in result
    raise self._exception
aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed

Process finished with exit code 1

Environment Details
My system:
Python: 3.8
OS: Manjaro 20.2
IDE: Pycharm
Virtualenv: 20.2.2

Using Windows, Linux? What OS version? Running this in Anaconda? Jupyter Notebook? Terminal?

Yea, this looks like a very rare occuring, but still exist. Happened to me yesterday when i wan't observing.

Yea, this looks like a very rare occuring, but still exist. Happened to me yesterday when i wan't observing.

And do you have and idea how can I fix it? Or any workaround?

And do you have and idea how can I fix it? Or any workaround?

Well, you could always just catch the exception. It is a rare occuring (1/10000) so probably just need to run the query again. Alternatively, you could try to add in a catch & repeat system in the code of twint. We have an example already in the code (remember when you wait for 1.0, 8.0, 27.0 sec to try again? that one).

Well, you could always just catch the exception. It is a rare occuring (1/10000) so probably just need to run the query again. Alternatively, you could try to add in a catch & repeat system in the code of twint. We have an example already in the code (remember when you wait for 1.0, 8.0, 27.0 sec to try again? that one).

Could you tell me where I can find this example?

Could you tell me where I can find this example?

https://github.com/twintproject/twint/blob/4b30fa33991ccdf89c77471382daad3d3bc8c988/twint/run.py#L123
From here.  I'm doing it with my branch for token retrival.

https://github.com/twintproject/twint/blob/4b30fa33991ccdf89c77471382daad3d3bc8c988/twint/run.py#L123
From here.  I'm doing it with my branch for token retrival.

Well... I've just checked and debug it already for almost one entire day. I'm still getting that error over and over again, every single time, is not like a rare occurring, at least not for me. Also, I'm still not sure how can I catch it, I mean I've checked that code you told me about and I've tried to increase Retries_count and delay time, but I guess the problem is not there because nothings changed. So far... I think this is not a solvable issue, right? The problem is that I would like to run twint for over a long period of time, like few days, or maybe even more, like 1 2 weeks, I can't do that if I will get this error over and over again every single time.

Well... I've just checked and debug it already for almost one entire day. I'm still getting that error over and over again, every single time, is not like a rare occurring, at least not for me. Also, I'm still not sure how can I catch it, I mean I've checked that code you told me about and I've tried to increase Retries_count and delay time, but I guess the problem is not there because nothings changed. So far... I think this is not a solvable issue, right? The problem is that I would like to run twint for over a long period of time, like few days, or maybe even more, like 1 2 weeks, I can't do that if I will get this error over and over again every single time.

So you are scrapping a ton of data I guess. You are running twint for a long period of time, a few days, a month maybe. But, you are not calling twint only once aren't you? You are calling twint for billions of time to scrap different data from users. In this case, what if one twint call fails, what damage could it cost? As long as you don't let the exception break the whole program then it would be well, try somehting like this:
try:
    twint()
except Exception as e:
    repeat the last twint call

So you are scrapping a ton of data I guess. You are running twint for a long period of time, a few days, a month maybe. But, you are not calling twint only once aren't you? You are calling twint for billions of time to scrap different data from users. In this case, what if one twint call fails, what damage could it cost? As long as you don't let the exception break the whole program then it would be well, try somehting like this:
try:
    twint()
except Exception as e:
    repeat the last twint call

Ok mate, thx :D. Now I understand how should I solve my issue and if I will encounter any new errors regarding what you said I will contact you again. Thank you so much :)

Ok mate, thx :D. Now I understand how should I solve my issue and if I will encounter any new errors regarding what you said I will contact you again. Thank you so much :)


=reception immediately flush already known regs to a listing

Resolves https://github.com/apple/swift-distributed-actors/issues/1048

@swift-server-bot test this please


Few fixes

Line 40 - 49
total_dapps_reviewed() -> total sites reviewed?
Check if metadata exists - what's the output?

Those are constants necessary for the functions. Not so important what their content is because we are not using them anyway.
Noted, will rename.
This is to check if a review content (aka distinct review metadata) is already on chain.

resolved earlier


arm/storage - CheckNameAvailability failed

I got the failue when I ran "go test" in arm/examples. But it worked a few days ago.
storage.StorageAccountsClient:CheckNameAvailability Failure responding to request -- Original Error: json: cannot unmarshal string into Go value of type bool

It seemed that the server responded with a wrong value.
https://github.com/Azure/azure-sdk-for-go/blob/master/arm/storage/storageaccounts.go#L71

@bingosummer Does this recur for you? I ran the tests this morning and worked as expected. The code does follow the API documentation (see https://msdn.microsoft.com/en-us/library/azure/mt163642.aspx). Unless there was some other error (e.g., network glitch, service sending a malformed response), it should be correct.
If this recurs, could you, please try to capture the JSON output? Thank you. Feel free to re-open then.

@bingosummer I should have left this open to better track. Re-opening.

It recurs.
I am new to Golang. I just printed resp and result just like the following, and got a output. Not sure if it is what you want.
err = autorest.Respond(
                        resp,
                        client.ByInspecting(),
                        autorest.WithErrorUnlessOK(),
                        autorest.ByUnmarshallingJSON(&result))
fmt.Println(resp.Body)
fmt.Println("NameAvailable: ", result.NameAvailable)
fmt.Println("Reason: ", result.Reason)
fmt.Println("Message: ", result.Message)

output:
&{0xc82036c0a0 {0 0} false <nil> 0x5318b0 0x531850}
NameAvailable:  false
Reason:
Message:
2015/09/11 03:22:17 Error: storage.StorageAccountsClient:CheckNameAvailability Failure responding to request -- Original Error: json: cannot unmarshal string into Go value of type bool

@brendandixon
My step is:

go get github.com/Azure/azure-sdk-for-go
edit ~/.azure/credentials.json
cd azure-sdk-for-go/arm/examples; go test

Then it failed.

@bingosummer Ok. Let's get some more information. In the examples/check.go file do the following:

Add imports for "io/ioutil" and "strings"
Add the following lines to the "ByInspecting" RespondDecorator just after the fmt.Printf statement:

b, _ := ioutil.ReadAll(resp.Body)
resp.Body.Close()
fmt.Printf("Body: %s\n", string(b))
resp.Body = ioutil.NopCloser(strings.NewReader(string(b)))

Then run "go test --run TestCheckName -v > output.txt"
Paste the output here (after editing out your subscription ID if you desire).

This will save the JSON returned from the Stroage call.
Ok?

=== RUN   TestCheckName
Inspecting Request: POST https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview
sdk-example: 2015/09/15 01:29:44 Sending POST https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview
sdk-example: 2015/09/15 01:29:47 POST https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview received 200 OK
Inspecting Response: 200 OK for POST https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview
Body: {"nameAvailable":"true"}

exit status 1
FAIL    github.com/bingosummer/examples 2.675s

I change the type of NameAvailable from bool to string, and everything is OK.
https://github.com/Azure/azure-sdk-for-go/blob/master/arm/storage/models.go#L79
IMO, the behavior of ARM REST API should be the same. I'm wondering why it only happens in my test environment.

@bingosummer turns out the Swagger API spec is misspecified hence the generated code is wrong: https://github.com/Azure/azure-rest-api-specs/issues/19 it's bool vs string as you found out.

@ahmetalpbalkan Thanks for your confirmation.
This issue is quiet wired because it does work about two weeks ago.
in the last few weeks, Is there any change to the Swagger API spec or ARM REST API about the return value of NameAvailable?

@ahmetalpbalkan @bingosummer Something larger is amiss here. The service had been returning a boolean (despite the documentation). In fact, if I run this and print the JSON, I get a boolean:
=== RUN   TestCheckName
Inspecting Request: POST https://management.azure.com/subscriptions/c3dfd792-49a4-4b06-80fc-6fc6d06c4742/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview
sdk-example: 2015/09/15 09:28:11 Sending POST https://management.azure.com/subscriptions/c3dfd792-49a4-4b06-80fc-6fc6d06c4742/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview
sdk-example: 2015/09/15 09:28:12 POST https://management.azure.com/subscriptions/c3dfd792-49a4-4b06-80fc-6fc6d06c4742/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview received 200 OK
Inspecting Response: 200 OK for POST https://management.azure.com/subscriptions/c3dfd792-49a4-4b06-80fc-6fc6d06c4742/providers/Microsoft.Storage/checkNameAvailability?api-version=2015-05-01-preview
Body: {"nameAvailable":true}
The name 'testname01' is available

@brendandixon let's start an internal thread with the product team. I can hardly imagine it's returning string for some users even though it's the same API version. I'm guessing this has been a string at some point in the past, that's what the docs are hinting partially.

@ahmetalpbalkan I already have. I agree the behavior is odd. However, it is occurring. I reliably get a boolean, not a string, and have received a boolean for some time. Frankly, I do not trust the documentation to this level of detail.

@bingosummer The service team would like to debug this further. To do so they need your subscription ID along with the full Request / Response. I can give you inspectors that will capture the Request / Response. To protect your subscription, perhaps you could send it to me directly? brendand at microsoft dot com. Ok?

@bingosummer My understanding is that the Service team resolved the issue for you? Is that correct? If so, let us know. Thanks.

@bingosummer Try again using #221

Yes. The issue is resolved. Thanks.


DXUTGetDXGIColorChannelBits

I would suggest one idea.
DXUTGetDXGIColorChannelBits, BitsPerPixel and other BitsPerPixel are functions doing almost the same.
Maybe there should be one function instead of three present or more.
P. S.
In my opinion, the function should have its own cpp files common for all calls.
Thank you for the great framework.

DXUTGetDXGIColorChannelBits actually does something quite distinct from BitsPerPixel. For example, given the input format of DXGI_FORMAT_R8G8B8A8_UNORM the DXUT function returns 8 while the BitsPerPixel function returns 32.
The DDSTextureLoader, WICTextureLoader, and ScreenGrab files are all intended to be standalone so they do have some replicated code in them.


Necessary changes for integration

The request isn't a dictionary straight from request, it's a string

@FBRTMaka @oceanzus one of you to review and merge please.

Looks good to me!


feat: Adding props size to the Legend component

I made the adjustment to change the Legend's size:
It is now possible to change the size of the round and also the text.
There are two new features:

labelSize
roundSize

This will allow you to put a larger legend at the bottom of the page for example

Fixes #90

Perhaps rename roundSize to circleSize or iconSize as round is an adjective not a noun.

hey @pierreousset, thanks for taking the initiative to create a PR. At this stage we would not like to apply such a degree of customisation, as we first need to evaluate the degree which is appropriate for this library. So for now I will need to close the PR, sorry 😞


Add dedicated string prefix for remote index metadata and remote routing table

Description
Add dedicated string prefix for remote index metadata and remote routing tables files. This is required for better partitioning in backing data store.
Related Issues
NA
Check List

[x] Functionality includes testing.
[ ] ~API changes companion pull request created, if applicable.~
[ ] ~Public documentation issue/PR created, if applicable.~

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

Can you point me to ITs that uses the fixed prefix?

@ashking94 RemoteStatePublicationIT is using fixed prefix


Error When Try To Using Setup

when try to using setup, nothing happend ( just my message got deleted) but the embed didn't showed up.

the join to create function is working properly, but when i try to using setup, nothing show up and there's no error log in terminal

my bad, forget to remove // on rowOne

my bad, forget to remove // on rowOne

Now it's working or not iff you have isuue contact with me on Discord server link in my readme

it's working perfectly, but i think i need to add more features on this code, like change region, transfer ownership and claim ownership, i already try to doing that using chatgpt but it's not work, can i ask you help to review my code ?

thankyou for this great code

it's working perfectly, but i think i need to add more features on this code, like change region, transfer ownership and claim ownership, i already try to doing that using chatgpt but it's not work, can i ask you help to review my code ?

Okay contact with me tomorrow in discord 11 am


Improve metric component looks

Tried to make the metric component more vibrant with colors and also did some change of icons.
Light mode
Before:

After:

Dark mode:
Before:

After:

I like the pill changes, but I think I want to tinker a little further...
For example, the first letter opacity doesn't work when using just numbers (or potentially different locales).
Will merge some of it in and publish shortly. Thanks!


Error while importing asset

Hello,
i got the following error while importing the all-in-one asset:
Could not create a directory for asset
If i trying it step by step the same error occurs on unity3d-profile asset.
Whats wrong?
Best regards

Sounds like quite a unique error.
Although I haven't tried with the latest version, in the past I didn't get this error when i import the Unity3D package. Do you've the apropiate rights to create folders on your computer?
Does this happen only with the Unity-3D-Profile package? What happens if you import other packages?

I have tested it again. The system is a windows 7 professional with admin rights and unity in version 4.6.2f1
If i create a new 2d project in users home directory the import of the assets (the single assets such as the all in one assets) works fine.
But if i create a new 2d project under a custom location (here: C:\MyFiles\Droidspirit\Android Development\MyAndroidDev\unity_workspace\NewSoomlaTestProject) the import of the asset soomla-unity3d-profile failed with the following message:
Error while importing package: Could not create directory for asset
The import of the other assets works fine. I have enough disc space and write permissions on the folder.
Its curious.

@Droidspirit can you try:

Import the package (get the error)
wait a few seconds for everything to settle down.
Delete log
Import same package again

Let me know if you get the error the second time.

@refaelos
I get the error a second time.

Import asset 1 + 2
Import asset 3
Error while importing package: Could not create directory for asset
Drinking coffee
Import asset 3 again
Same error

Okay, when i copy the files to the assetfolder of my unity-projekt manually with file explorer, i get the error while copying the folder WebPlayerTemplates:
GPPNativeShareBuilderImpl.storyboardc
Filename is to large for target folder
My Unity-Project-Path is: C:\MyFiles\Droidspirit\Android Development\MyAndroidDev\unity_workspace\TestProject\Assets
When i copy my unity project to another location (c:\Myfiles\Testproject), then it works fine.

@sluzky can you take a look?

"Filename is to large for target folder". Maximum file name length on a Windows machine is 260 characters. Doesn't sound to me like a soomla related bug. Especially when it works on a different location on your harddrive.
http://windows.microsoft.com/en-us/windows/file-names-extensions-faq#1TC=windows-7

@refaelos we can't do anything about windows filename restrictions... people will just have to use less folders I guess.

@sluzky I guess you're right. @Droidspirit does it answers your question?

Thank you for the great support. Question is answered. I copy the project to another location :-)


Question : ValidationError FieldUndefined

Hi, I am getting the following and cant seem to find an answer.
Error   [ValidationError{validationErrorType=FieldUndefined, queryPath=[find_by_id], message=Validation error of type FieldUndefined: Field 'find_by_id' in type 'Query' is undefined @ 'find_by_id', locations=[SourceLocation{line=1, column=2}], description='Field 'find_by_id' in type 'Query' is undefined'}]
Query looks as follow
    @GraphQLQuery(name = "find_by_id")
    public Event findById(@GraphQLArgument(name = "id") Long id) {

{find_by_id(id:1){eventName}}

// Schema gen
@EJB
private EventFacade eventFacade;
new GraphQLSchemaGenerator()
                .withOperationsFromSingleton(eventFacade)
                .withValueMapperFactory(new JacksonValueMapperFactory())
                .withDefaults()
                .generate();

// tried the following as well
new GraphQLSchemaGenerator()
                .withOperationsFromSingleton(new EventFacade(), TypeFactory.parameterizedClass(AbstractFacade.class,Event.class))
                .withValueMapperFactory(new JacksonValueMapperFactory())
                .withDefaults()
                .generate();

        graphQL = GraphQL.newGraphQL(guestSchema).build();

How do you configure the schema generator? What you've shown is a very basic setup, there's no reason for it not to work.

I have edited the post to contain schema gen

Is it possible that the error occur when the POJO is in a different lib? My structure looks like this
Main Project
->Ear
--->EJB
--->Entities
----->Web (servlet is here)

Found the issue, its with my pojo extending an abstract pojo


[New API] : Attendance Portal API

Brief Description 🤓
API End Points
1. Authentication Routes
/api/auth/login                                POST               //for login
/api/auth/register                             POST               //for register

2.  Attendance Routes
/api/attendance/counts/:userId                 GET               //for the number of attendance
/api/attendance/user/:attendenceId             GET               //for a single attendance
/api/attendance/date/:date                     GET               //for all the attendances of a date
/api/attendance/:userId                        GET               //for all the attendances of a user
/api/attendance/change-status/:attendanceId    PUT               //for change the status of an attendance
/api/attendance                                POST              //for create an attendance
/api/attendance/mark-absent                    POST              //for marking the absent users
/api/attendance/all                            POST              //for create all attendance
/api/attendance/:attendanceId                  DEL               //for delete an attendance

How will you develop it?🤩
Tech Stack
Node js, Express Js, Mongo DB, Mongoose, Typescript
Deployment
Yes
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @Puskar-Roy🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

/gssoc24

Hey @Puskar-Roy ! I wanted to inform you that we have closed issue.Thank you for your understanding, and we look forward to your continued engagement with our repository🤗.
In case of any issues, you can contact us on Discord.
Thank you! ❣
Happy Coding! ✨
Will See you soon❣


[DOCFIX] Remove reference to old command

Need to get rid of this old command. Purging with extreme prejudice.
[skip ci]

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6265/
Test FAILed.

Jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6268/
Test PASSed.

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.1 please


Moving steets/creation.js from global scope into browserify.

Awesome :)
I've got a bunch of branches of ongoing browserify/babelify work that will hopefully be merged later this week (cc @ahhrrr) so there's a potential of a bit of juggling to be done.
One note on function naming -- as we're migrating to a bundled architecture, there's no real need to prefix function names with the underscore anymore. Especially if those functions are exported. I'd recommend removing the underscore when porting the functions, but in the case that they're exported to the window and older scripts still expect the underscore function name, it's okay to export them as a name with the underscore prefix. (Or just update the references there too.)

@louh I've got 2 more notifications via mail about new pull requests (#551 and #552) but I cannot found them. How have You done this?
BTW what do You think about adding .eslintrc and npm script to check if we comply to Standard Code Style?
And yes, I will remove underscores. Wait a moment...

Are you getting 500 errors? It seems GitHub is being super laggy this morning. https://status.github.com/ :-(
The standard package comes with its own eslint plugin, so if you run npm test it should already automatically be running the linter for you.

@louh I have received email with Your comment and it's not here :) Yeh, I hava also check this status site just after I received 500 first time on github. :)
And I have found stardard in npm test so consider tobic about eslint closed. :)

I think GitHub is recovering now, can you check those PR links again and let
me know if they're working?
On May 23 2016, at 11:15 am, Tomasz Magulski<EMAIL_ADDRESS>wrote:

@louh I have received email with Your comment and
it's not here :) Yeh, I hava also check this status site just after I received
500 first time on github. :)

And I have found stardard in npm test so consider tobic about eslint
closed. :)

—
You are receiving this because you were mentioned.
Reply to this email directly or [view it on GitHub](https://github.com/codefor
america/streetmix/pull/550#issuecomment-221007457)![](https://github.com/notif
ications/beacon/ACb1tEDgY3Xk3z9p_Ycy4SluWQfCxD5vks5qEcR7gaJpZM4IkXGr.gif)

Again I have received email with Your comment, but it's still not here. I have already seen this PR. I will try to review them (if it will help somehow).
I believe it will take a little more time for github to fully recover.

Yeah, earlier today GitHub was having all sorts of problems - I had pushed an entire branch on another project which didn't show up (even for me) for over an hour.
I do see your most recent commit here, and GitHub should have fully recovered ~8 hours ago, so please let me know if those PRs are still invisible to you.

I see these 2 new pull requestu (#551 an #552) and i wilk try to review them today or tomorrow.

@louh Do we have something to do here? Or do You want to merge Your PRs first?

@magul Yes, I wanted to merge mine first and then we can make sure there are no conflicts. I'm addressing these now!

This is good to go.
@magul one request for the future, since I made you a contributor to this repository, would you be able to make branches here? It would make it easier to switch branches on my local machine and test.


Ignoring exception in on_member_update in bot

Aug 25 22:29:48 katelyngigante bash[13212]: Ignoring exception in on_member_update
Aug 25 22:29:48 katelyngigante bash[13212]: Traceback (most recent call last):
Aug 25 22:29:48 katelyngigante bash[13212]:   File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 220, in _run_event
Aug 25 22:29:48 katelyngigante bash[13212]:     await coro(*args, **kwargs)
Aug 25 22:29:48 katelyngigante bash[13212]:   File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 86, in on_member_update
Aug 25 22:29:48 katelyngigante bash[13212]:     await after.add_roles(after, roles[0])
Aug 25 22:29:48 katelyngigante bash[13212]:   File "/home/discord/.local/lib/python3.6/site-packages/discord/member.py", line 506, in add_roles
Aug 25 22:29:48 katelyngigante bash[13212]:     await req(guild_id, user_id, role.id, reason=reason)
Aug 25 22:29:48 katelyngigante bash[13212]:   File "/home/discord/.local/lib/python3.6/site-packages/discord/http.py", line 212, in request
Aug 25 22:29:48 katelyngigante bash[13212]:     raise NotFound(r, data)
Aug 25 22:29:48 katelyngigante bash[13212]: discord.errors.NotFound: NOT FOUND (status code: 404): Unknown Role

Still happening as of now. Very vague possibility this is because snowflakes are now ints and are getting compared against a string somewhere (that was the cause of another recent issue after the move to new discordpy lib version).

I'm not quite sure what
await after.add_roles(after, roles[0])

is meant to be doing. Something about if they are currently streaming.

Added some debugging print statements in 680cec8b to try and figure this out.

The new handling in #5220 should give us enough to understand this also. Will remove the print statements soon.

(<Member id=156282836024819712 name='ambnz' discriminator='3619' bot=False nick=None guild=>, <Member id=156282836024819712 name='ambnz' discriminator='3619' bot=False nick=None guild=>)
{}

Reported on discordbot by discord user--------------------------------------------------------------------------------
NotFound
Stack Trace:

  File "run.py", line 87, in <module>
    run()
  File "run.py", line 14, in run
    bot.init()
  File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 194, in init
    client.init()
  File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 31, in init
    self.run(configuration.get('token'))
  File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 564, in run
    loop.run_forever()
  File "/usr/lib64/python3.6/asyncio/base_events.py", line 422, in run_forever
    self._run_once()
  File "/usr/lib64/python3.6/asyncio/base_events.py", line 1432, in _run_once
    handle._run()
  File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
    self._callback(*self._args)
  File "/home/discord/.local/lib/python3.6/site-packages/discord/client.py", line 220, in _run_event
    await coro(*args, **kwargs)
  File "/home/discord/Penny-Dreadful-Discord-Bot/discordbot/bot.py", line 95, in on_member_update
    await after.add_roles(after, roles[0])
  File "/home/discord/.local/lib/python3.6/site-packages/discord/member.py", line 506, in add_roles
    await req(guild_id, user_id, role.id, reason=reason)
  File "/home/discord/.local/lib/python3.6/site-packages/discord/http.py", line 212, in request
    raise NotFound(r, data)

Sep 01 21:50:54 katelyngigante bash[21872]: Found a member coming online going to check for linked account
Sep 01 21:50:54 katelyngigante bash[21872]: before Oleg Klishin#8817
Sep 01 21:50:54 katelyngigante bash[21872]: before.guild.roles [<Role id=207281932214599682 name='@everyone'>, <Role id=226782802052513802 name='Admin'>, <Role id=226785937970036748 name='Mod'>, <Role id=227079037644701697 name='Bot'>, <Role id=282156214991847424 name='Tournament Organizer'>, <Role id=318888119896113154 name='MTGO Bot'>, <Role id=321193411220602891 name='Currently Streaming'>, <Role id=374779505882955777 name='Dunce Hat'>, <Role id=382024950099345419 name='PDH'>, <Role id=42245>
Sep 01 21:50:54 katelyngigante bash[21872]: roles [<Role id=440756361702408192 name='Linked Magic Online'>]
Sep 01 21:50:54 katelyngigante bash[21872]: roles[0] Linked Magic Online
Sep 01 21:50:54 katelyngigante bash[21872]: Async fetching https://pennydreadfulmagic.com/api/person/182957581474594817
Sep 01 21:50:54 katelyngigante bash[21872]: data {'error': True, 'code': 'NOTFOUND', 'msg': 'Person does not exist'}

There doesn't seem to be an "after" line for this state change. ambnz gets three checks in quick succession at 21.50 then this error appears at 21.55 then the next mention of ambnz is after 22.00. I'll wait for another case. Theoretically you can't get to     await after.add_roles(after, roles[0]) without visiting print('after', after) but an error waiting 5 minutes seems weird too. But maybe it is some kind of timeout with discord. More cases will help and they come up often enough.

In the 1.0 API add_roles takes only one argument, the role to add. Not two (member, role) as previously.
47d4687a.


Finalize homepage views with data and filters

User Stories

As a user, I want to be able to see my posts on the homepage

I expect to see dates, URLs, and plural words properly formatted

lesson 3 complete!


Split panels into panels and discussions

as mentioned in #280 (and #284), panels and discussions are split, as we also split them in indico. All members of the panels team have been associated with the discussions team. The panels name is now Panel Discussions, whereas the discussions name is now Open discusssions.
@sdruskat, I'd be happy if you could approve this PR. Here are the changes:

a discussions team is now listed
the original panels page has been splitted into panels and discussions
the submission faq has been splitted into a panels faq and a discussions faq

Furthermore I added Open discussions to the programme sidebar.
closes #284

great, thanks @sdruskat :smiley: I'll merge this then (when the CI is finished)


pull request for e2e test at 11/24/2016 04:26:17

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


suppress formatter in helper file

May I ask when will these be put on packagist? It seems the last version there was a few months old.


fix: edge case for iOS, issue with mouse enter/leave events on adContainerDiv

This is a proposal for a fix to the issue described at https://github.com/googleads/videojs-ima/issues/808 [mouseenter/mouseleave handlers prevent SKIP AD button click in iOS]
The fix excludes iOS cases from adding mouseenter & mouseleave events to adContainerDiv, since those events introduce issues with iOS mobile safari touch behavior.
More info in the issue description https://github.com/googleads/videojs-ima/issues/808

Implementing a different fix in https://github.com/googleads/videojs-ima/pull/833 to not use device specific statements. Will keep an eye on the issue if it persists, but closing this PR.


Is there some way to get all the Capital IQ IDs using this library?

Sorry for the non-issue post, but I need to scrape all the Capital IQ IDs into a csv and didn't see this functionality.
Cheers,
Amir

@amirsani unfortunately that functionality is not available currently. Do you know if CapIQ's own API supports that query?

Hi Faaez,
They don't have this implemented, so I wrote a scraper to get them. It
takes forever though.
Best,
Amir
www.amirsani.com
Postdoctoral Researcher
Centre d'économie de la Sorbonne CNRS
Paris School of Economics
On Tue, Nov 8, 2016 at 10:15 PM, Faaez Ul Haq<EMAIL_ADDRESS>wrote:

@amirsani https://github.com/amirsani unfortunately that functionality
is not available currently. Do you know if CapIQ's own API supports that
query?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/faaez/capiq-python/issues/1#issuecomment-259261823,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGR5kVTUdrojhFdFEaLGyPytohIKtA4xks5q8OZ1gaJpZM4KXpLI
.


'Abstract CWL Automatically generated from the Galaxy workflow file'

do we want to keep this in the description? At this moment workflowhub will automatically parse this sentence as the description, which is not very informative.

I would keep it somewhere, maybe in some kind of doc property of cwl? i think its important to identify that it was automatically created


chore(ci): Explicitly tell electron-builder to use notarytool

See: #82
To be merged after:

[x] teamId is configured at Apple Developer settings
[x] APPLE_TEAM_ID secret is set to above teamId

FWIW the build works presumably after contracts were updated. It doesn’t hurt updating to new notary tool anyway I guess since in November it’ll be the only way.


Bad word

Coverage remained the same at 64.002% when pulling a6bc1bc3b9cf4490a2025a0abe88f541d62d87ed on krishyadav007:patch-1 into d8b4ad8b3d972336701fdfa1ec28d0a066edd8f0 on Charcoal-SE:master.

Hi! Welcome to our project, SmokeDetector. Thanks for your contribution first, but can you give some explanation why you're adding this as a "bad keyword"?
It has 4 hits in out database, and 3 hits on the Stack Exchange search, giving a (visible) ratio of 57%, which makes it not qualify as a bad keyword, per our blacklisting guidelines.
Before we what you're doing here, we have to label this PR as [invalid]. Thank you for your understanding.


Docker headings using in consistent case

Our style guide states our headings should use sentence case but the implementation is inconsistent.  We should correct this. Also, menu's should match the case in the headings. Examples:

https://docs.docker.com/
https://docs.docker.com/userguide/dockerizing/
https://docs.docker.com/installation/oracle/

I plan to do this one myself within the month sometime.

If you like, I can help you with this?

@RickWieman Absolutely, feel free. Thank you. :-D

In that case: #dibs :sunglasses:


chore: upgrade karpenter-core

Fixes #
Description

Upgrade Karpenter-core

How was this change tested?

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

:white_check_mark: utilization-pr-3628-mhg6d tests passed
:white_check_mark: interruption-pr-3628-mlxvf tests passed
:white_check_mark: ipv6-pr-3628-lcr5q tests passed
:white_check_mark: drift-pr-3628-rxdfd tests passed
:white_check_mark: chaos-pr-3628-rhqgc tests passed
:white_check_mark: consolidation-pr-3628-2jkgm tests passed
:white_check_mark: integration-pr-3628-ww24p tests passed
:white_check_mark: upgrade-pr-3628-hqgct tests passed


Improvement: Apply Alpha Percentage to Color

... for who working with non-developer designer.
to Prevent this situation
Designer: Hey,  i would like to apply this alpha into color
Developer: OK... what is the value?
Designer: maybe 80%?
Developer: ...OK

Umm.. maybe next time.


OrderHistory

Problem
Using the StarAtlas/factory there seems to be no way to get a order-history atm?
Solution
Provide a function to receive the order history per asset.
Just like the getOpenOrdersForAsset() just for successful transfers.
Notes
As always thanks for your time.

@skullnbonesdao order history (as-is) would require crawling through the Solana transaction history for any given user or for the entire program which is extremely network heavy.
We have internal plans to index all historical Galactic Marketplace data in a centralized database in the future rather than supporting the above querying through direct on-chain calls since it's so inefficient - no details or timelines on that ready at this moment but more to come soon™


Unable to run docker inside the container

I created an ECS slave template with the options as shown in the image.

Now when i run a Jenkins pipeline job as shown below:
node('jnlp-slave-docker'){
    sh "java -version"
    sh "docker info"
}

I am getting this error:  Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Can you please help me on how to fix this issue?

@amalsgit Sorry, but we don't use and maintain this anymore. But I think you're using it wrong. As far as I can remember you have to start this image separately as a task on ECS and connect it as a Jenkins slave.
The problem in your case is that you don't have the Docker socket inside the image. In the Readme of this repo we tell you how to mount it as a volume.


fix: postgresql upgrade (salesforce/orchard#125)

resolves salesforce/orchard#125

@realstraw please review (/merge?) at your convenience. TY


Read plc value depending on other value change

I would like to get the current value of a REAL variable in dependence of an other BOOL variable using a OnChange notification:
@plc.notification(pyads.PLCTYPE_BOOL)
def callback(handle, name, timestamp, value):
    if value==True:
        print(f"handle: {handle}")
        print(f"name: {name}")
        print(f"timestamp: {timestamp}")
        print(f"value: {value}")
        print(plc.read_by_name(f"GVL_MyValues.MyRealValue", plc_datatype=pyads.PLCTYPE_REAL))```

Then I add this callback to my changing bool variable:
plc.add_device_notification(f'MAIN.MyBoolValue',
                                        pyads.NotificationAttrib(sizeof(pyads.PLCTYPE_BOOL)),
                                        callback)

Everything except the MyRealValue is printed when MyBoolValue changes to True. Do I have to configure something else or does pyads not support read_by_name() (I also tried symbol.read()) within a notification callback?
I am using pyads 3.3.4 on a Windows 10 machine.

Hi there. The issue here is unfortunately you can not do another ads call (e.g. read_by_name) with the same plc object while within the callback function as the callback function happens in another thread. This normally results in an ads timeout issue.
You have a couple of options.

I have not actually tried this, but it may work so let me know if you do try.  you may be able to define a new connection within the callback function, e.g.

with pyads.Connection(plc.ams_netid, plc.ams_port) as plc2:
    print(plc2.read_by_name(...))

set a flag / add to an event queue etc and process the event in a main loop. This is normally the approach I take when I develop applications using pyads and PyQT.

Hope this helps.

Thank you very much @chrisbeardy. The first option works fine.
Can you also please provide a small sample for the second option? Thanks a lot in advance.

The example you show is essentially option 2. You are setting a flag, in this case one created for you by the symbol class, and then checking that flag in a loop.
You could get more complicated using the queue feature etc. Search "communicating across threads in python" but it all depends what you are trying to do and how complex it is. If my option 1 works or your code works then great ha.
Since this is a know limitation and you have a solution,if you could kindly close the issue on GitHub that would be great. Thanks.