[Workflow] Security IT workflows failed in other plugins because the "Push snapshots to maven" job failed in security plugin

What is the bug?
Security IT workflows in SQL plugin failed with
Unexpected exception java.lang.NoSuchMethodError: 'java.util.List org.opensearch.indices.SystemIndexRegistry.matchesSystemIndexPattern(java.lang.String[])'
  java.lang.NoSuchMethodError: 'java.util.List org.opensearch.indices.SystemIndexRegistry.matchesSystemIndexPattern(java.lang.String[])'
 at org.opensearch.security.privileges.SystemIndexAccessEvaluator.getAllSystemIndices(SystemIndexAccessEvaluator.java:182) ~[opensearch-security-<IP_ADDRESS>-SNAPSHOT.jar:<IP_ADDRESS>-SNAPSHOT]

due to the "Push snapshots to maven" job failed
https://github.com/opensearch-project/security/actions/runs/9967076404/job/27540175842
Could any maintainer help to re-run it to fix the issue?
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?

OS: [e.g. iOS]
Version [e.g. 22]
Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

Ping code owners @cliu123 @cwperks @DarshitChanpura @peternied @RyanL1997 @scrawfor99 @reta @willyborankin, it blocks PRs for 2.x branch in other plugins!

@LantaoJin this is a question for CI/infra team(s), I pinged @peterzhuamazon on a few occurrences https://github.com/opensearch-project/opensearch-java/pull/1086#issuecomment-2233568475 but no news so far.

@reta do you mean manually re-run the workflow job will continue fail? If not, please help to trigger re-run manually.

@reta do you mean manually re-run the workflow job will continue fail? If not, please help to trigger re-run manually.

@LantaoJin  sometimes it helps (rerun, let's see) but the cause of the issue is not addressed

FYI, opened this one, please feel free to add more repos: https://github.com/opensearch-project/opensearch-ci/issues/480

@LantaoJin This change in signature was addressed by this PR: https://github.com/opensearch-project/security/pull/4574
Would you try re-running to see if the issue is fixed?

It has worked with manual help from @reta.


Plugin updates

Update all plugins to their latest version

@brandonhundt i ran an update for all plugins and tested in a multidev environment.


MRSI support in osp_exportParams

Can now handle SVS, nDatasets>1, and MRSI data.
The use of auxiliary nested functions make the code more legible.
The auxiliary function at the bottom, get_header, has a variable possible_keys (line 123). This list will need to be updated to account for all types of fitting nomenclature. The exampledata/nifti-mrs example produces a container with the structure MRSCont.fit.results.metab.fitParams{1,nDatasets}. The MRSI container has the structure MRSCont.fit.results{5,5,5}.off.fitParams{1,1}. Some of the structures become cell arrays of structures and some of the field names change. The MRSI example also uses the labels "off" and "A" depending on the parent field whereas the other example always uses "metab". The struct vs cell array of struct has been taken care of using assertCell(). The pairs of these labels, though, will need to be hard coded at the bottom. That's something I would need from the Osprey team.
There is a section where irrelevant fieldnames can be specified to be ignored. This helps avoid throwing errors. They are only modified if the field exists. These also need to be explicitly listed - more help from the Osprey team.
A limitation of the current code regarding the label pairs is that the data type should be uniform. Future work can add functionality for exporting related types, i.e. edit_on, edit_off, and diff or off and water.

Hi @JohnLaMaster,
Thanks for working on this.
Wrt differences in the struct field names are related to the fact  that the MRSI-branch is based on Osprey v.1. In v.2 we introduced a complete overhaul of the struct.
Best,
Helge

Hi @HJZollner,
Thanks for the info. Does that overhaul explain the differences in naming too? Or do the naming differences depend on the type of spectra being fitted? I'm referring to the field names specified on lines 123-124. Is that something that needs to be more comprehensive or does that work for all use cases now?
Thanks again!


V1.0.10

Reality Collective - Utilities Pull Request
Overview

V1.0.10
DO NOT merge, prepped for next release

Let's get this out there @SimonDarksideJ


api gateway aggregation

I am sorry this may not a issue.
From the microserivce.io,  there is a open question that how to expose the service, is there anything tool?  is it like falcor or GrapHQL?

For this kind of communication feel free to send me a private e-mail.
Thank you! :smile_cat:


Doesn't work on macOS (M1)

Hello,
I have created new rails app with --css tailwind flag.
Neither rails tailwindcss:build nor rails tailwindcss:watch produce any output and fail silently.
TailwindCSS executable doesn't seem to be installed with gem.
In my case command that is executed under the hood looks like this:
/Users/user/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/tailwindcss-rails-2.0.0/lib/tasks/../../exe/tailwindcss -i /Users/user/project/app/assets/stylesheets/application.tailwind.css -o /Users/user/project/app/assets/builds/tailwind.css -c /Users/user/project/config/tailwind.config.js
And when I try to execute it manually I get:
zsh: no such file or directory: /Users/user/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/tailwindcss-rails-2.0.0/lib/tasks/../../exe/tailwindcss

What version of macOS are you? Latest?

Yes, I'm using macOS Monterey 12.1 (21C52).

Also I found other people complain about same issue https://github.com/rails/tailwindcss-rails/pull/96#issuecomment-997236383 but this solution didn't work for me.

bundle show should display something like .../gems/tailwindcss-rails-2.0.0-arm64-darwin, in your case it has installed gem without the platform..same issue I had but I'm on the BigSur 11.6.
Is that specific project where it doesn't work or it is not working at all?

First I tried to add tailwindcss-rails to an existing project, but it didn't work, then I created new project using rails new test --css tailwind and it didn't work as well.

When you open irb (for that ruby version 3.0.0 as I can see) and inspect RUBY_PLATFORM
# irb
RUBY_PLATFORM

What value does this constant prints?

irb(main):001:0> RUBY_PLATFORM
=> "arm64-darwin21"

I'll try to take a look today.

See #102 for a potential fix

Addressed via https://github.com/rails/tailwindcss-rails/pull/102 👍

After updating to version 2.0.1 I get this message:
ERROR: Cannot find the tailwindcss executable for arm64-darwin-21 in /Users/user/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/tailwindcss-rails-2.0.1/exe
If you're using bundler, please make sure you're on the latest bundler version:

  gem install bundler
  bundle update --bundler

Then make sure your lock file includes this platform by running:

  bundle lock --add-platform arm64-darwin-21
  bundle install

See `bundle lock --help` output for details.

After I ran suggested commands, tailwindcss-rails (2.0.1-arm64-darwin) is added to Gemfile.lock, but when I run rails tailwindcss:build I get the same message.

Update to my previous comment. After bundle lock --add-platform arm64-darwin-21 and bundle install two gem versions were added to the Gemfile.
    tailwindcss-rails (2.0.2)
      railties (>= 6.0.0)
    tailwindcss-rails (2.0.2-arm64-darwin)
      railties (>= 6.0.0)

After I removed vanilla ruby version manually everything started to work.


Fix tests

It appears that the included tests were not setting the data strings in the order provided by the normalization-test.txt file (unnormalized, nfc, nfd, nfkc, nfkd) and this wasn't caught because the tests themselves were using assert (which only checks that the arguments are truthy) rather than assert_equal (which ensures that they match).
This PR fixes these issues, meaning that the tests actually test (and unf still passes them).

Ah, great catch, thanks!


feat: GetResponse (Metadata)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1154  👈 (View in Graphite)
#1153 : 1 other dependent PR (#1155 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Error while dragging tags: Unable to find node on an unmounted component.

Today I installed 4.9.1 using yarn and when dragging tags the following error occured:
invariant.js:42 Uncaught Error: Unable to find node on an unmounted component.
   at invariant (invariant.js:42)
   at findDOMNode (react-dom.development.js:15280)
   at Object.hover (Tag.js:51)
   at Target.hover (createTargetFactory.js:71)
   at DragDropManager.hover (dragDrop.js:139)
   at Object.eval [as hover] (DragDropManager.js:92)
   at HTML5Backend.handleTopDragEnter (HTML5Backend.js:519)
invariant    @    invariant.js:42
findDOMNode    @    react-dom.development.js:15280
hover    @    Tag.js:51
hover    @    createTargetFactory.js:71
hover    @    dragDrop.js:139
(anonymous)    @    DragDropManager.js:92
handleTopDragEnter    @    HTML5Backend.js:519

I rolled back to 4.7.3 (the version I was working with) and it's working just fine again. This is my first issue ever so I don't know what is expected when reporting a bug. Feel free to ask questions and I will try to give answers. I'm relatively new to React and Webpack, so I don't really have a clue what's going wrong here. Just wanted to put this here in case anybody else as clueless as me encounters the same thing. Maybe you know what's going wrong. :)

@odalysadam which browser are you using ?

@ad1992 Google Chrome Version 65.0.3325.181 and Firefox Quantum 58.0.2 used on a MacBook

@odalysadam does this happen here http://prakhar1989.github.io/react-tags/example/

@ad1992 nope, it does not :)

@odalysadam Make sure the React version used by your application is at least the same as the version used by react-tag-input.


Fix: storing IPFS folder CID in OG Founders NFT contract

This pull request fixes the OG Founders NFT contract to store the IPFS folder CID in the contract. It adds a new event IpfsFolderChanged to track changes in the IPFS folder. The initialize function is updated to include the maxSupply and ipfsFolderCid parameters. The setIpfsFolder function is added to allow an admin to update the IPFS folder and maximum supply of tokens.

Can you guarantee that tomorrow Toby wont come and ask to replace some images or to add some? It already happened in the past and will happen again. So it must be possible to change te number of tokens in the contract


Solicito Añadir

Buenas tardes solicito puedan añadir la mi universidad

@mvjjreyes Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system. Thank you.


AnimationTree spamming error when switching scene

On upgrading project to 4.2 beta I'm getting tons of these errors on all my animations. First time posting here hope it's the right place, just seemed related. Note: The project runs fine, animations work fine. Just getting error spammed. Only pops up when moving my player scene around in the world scenes hierarchy window.

Originally posted by @darthstelz in https://github.com/godotengine/godot/issues/83401#issuecomment-1763506970

@darthstelz Please send MRP.

Thanks!


CB-15417 - Generate a request id in Nginx for all requests going to Knox and log it in access.log

Describe the change you are making
This PR adds two things to nginx config:

Generate a unique request id and pass it to Knox under X-Request-Id header
Log this request id in nginx access.log

Why is this change needed
This PR is a part of the effort to operationalize and instrument Knox (and other components). This is also part of OKR for Knox https://jira.cloudera.com/browse/CB-15417
Side effects
There should be no side effects.
Testing
This was tested on a public cloud cluster by updating the ssl-user-facing.conf file.  ATLASSESSIONID=node03r5u3rt5m174ytrf3opntkwi347.node0; SESSION=NzgzZjQxMzktZTI0NC00NzBhLThkYzMtMDM2NTRhMWI0ZmJh[\r][\n]"
2022-01-19 15:05:04,291 DEBUG http.wire (Wire.java:wire(73)) - http-outgoing-24 >> "Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8[\r][\n]"
2022-01-19 15:05:04,291 DEBUG http.wire (Wire.java:wire(73)) - http-outgoing-24 >> "X-Request-Id: f7c3ea4818dc061d7e80c71e252bb53e[\r][\n]"
2022-01-19 15:05:04,292 DEBUG http.wire (Wire.java:wire(73)) - http-outgoing-24 >> "Referer: https://srm-dl-gateway.srm-cb-1.xcu2-8y8x.dev.cldr.work/[\r][\n]"
2022-01-19 15:05:04,292 DEBUG http.wire (Wire.java:wire(73)) - http-outgoing-24 >> "Connection: Upgrade[\r][\n]"
2022-01-19 15:05:04,292 DEBUG http.wire (Wire.java:wire(73)) - http-outgoing-24 >> "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36[\r][\n]"

@doktoric gentle reminder can you please take a look or let me know who I can talk to about this, thank you so much!

Thank you so much @biharitomi !


WebComment: more prominent subscription link

Makes the subscription link more prominent by placing it both at
the top and at the bottom of the comments, when there are comments.

Thanks, amended commit log message to add PR number, and merged as 0c6c4cebe24432c948d364e7b5cac5591a5ee611.
(Note that the multi-line statements use wrong hanging indentation, you may want to run kwalitee checker tool and fix the warnings.)


"Corrupted Content Error" on default page (/)

`Corrupted Content Error
The site at http://<IP_ADDRESS>:8080/ has experienced a network protocol violation that cannot be repaired.`
Response is 302, with "//" location. On the other hand, the URL "<IP_ADDRESS>:8080/index.html" works.

Duplicate of https://github.com/http-party/http-server/issues/525

That's correct, this is a duplicate of #525


wheel issue

Hi,
Running nile init resulted with the following error message
Building wheels for collected packages: meinheld
  Building wheel for meinheld (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/itay/cairo_venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ka57_zph/meinheld/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ka57_zph/meinheld/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ie1s6_6u
       cwd: /tmp/pip-install-ka57_zph/meinheld/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for meinheld

I ran pip install wheel, and the following nile init successfully finished.

Can reproduce the error, although nile init finished successfully despite it.


handle case where standard_name attribute is not lowercase

It sucks that we here we find a dataset with the requested standard_name, but then when we try to get the variable associated with that standard_name, we fail:

The problem is that in this dataset, the standard_name is not lower case:  It's Sea_Water_Pressure instead of sea_water_pressure:

so our test against sea_water_pressure fails.
I'm not sure how to best solve this in ERDDAPY.  We could just do string.lower() but that would probably cause failures for attributes other than standard_name.
Or @BobSimons, perhaps we could fix this on the ERDDAP end?
Maybe ERDDAP could make all standard_name attributes lower case?
Notebook here:
https://gist.github.com/rsignell-usgs/c6647e8debdce4654a90f8321389bd18

We could use .lower but I would argue that a standard_name with upper case letters is wrong and the metadata needs to be corrected.

But since this is ERDDAP we are talking about, Bob could just lowercase all standard_names on the server side, so we don't have to change all the NetCDF files ever made this way.

But since this is ERDDAP we are talking about, Bob could just lowercase all standard_names on the server side

I am :+1:  to that but unless ERDDAP is the canonical place to access that data warning the data provider would be nice too.
I am against any changes to erddapy's code base to implement that b/c we need to be explicitly about what the user is searching. I'd like to avoid any ambiguity. However, the user can easily provide a smart lambda function to circumvent that:
e.get_var_by_attr(
    dataset_id=datasets[0],
    standard_name=lambda v: str(v).lower() == 'sea_water_pressure'
)

I just wanted to report that this worked great:
def get_data(dataset, standard_name, kwargs):
    var = e.get_var_by_attr(dataset_id=dataset,
                    standard_name=lambda v: str(v).lower() == standard_name)[0]
    download_url = e.get_download_url(dataset_id=dataset,
                                  variables=['time',var], response='csv', **kwargs)
    df = download_csv(download_url)
    return df, var

kwargs = {'time%3E=': min_time, 'time%3C=': max_time}
df, var = get_data(initial_dataset, initial_standard_name, kwargs)


resolve symlinks in temporary directories, when used with nix

darwin puts them there and symlinks are not allowed in flakes anymore.
fixes #190

Also pulled in as a patch in https://github.com/NixOS/nixpkgs/pull/353776

rustfmt is unhappy and some test is failing

rustfmt is unhappy and some test is failing

I'll take care of rustfmt and CI. We probably need an integration test on macOS so this doesn't break again.
I think I prefer the #233 since creating the files themselves shouldn't need canonicalization.

Thanks for the PR, but I would like to take #233 instead.


编写自己的代码库

http://xiaokedada.com/2017/07/20/Clean-Code/

test

good　job

@xiaowei0516 May be a star is helpful.

I'm afraid i can't say it is a good jod,maybe you can try Object.getOwnPropertyDescriptor and Object.getOwnPropertyNames to do deepClone because there may be some attribute that can not be iterated and the two methods can almost solve the deepClone problem.

And the 1.1.4.sort，hava you ever think about the efficiency?

@zhaofeng0019 i had read your blog about the the method to solve deepClone. Thank you  for this. As for the 1.1.4.sort, i just want to find a way to deal with it without considering the efficiency of the program.


WIP: Swap mock & stub implementations

I think it'd be helpful to pull out the mock flow ciphertexts into a separate PR that we can merge early, and to avoid adding the Swap, SwapClaim variants to Transaction until they're fleshed out.  That way, we can be merging changes to the Swap, SwapClaim without affecting what data people can post to the chain.

@hdevalence separated the MockFlowCiphertext (and proto types for Swap) into https://github.com/penumbra-zone/penumbra/pull/1055

@hdevalence I think this is at a good merge point now, and the rest of #1047 can be in a different PR

I'm not happy with how much I had to put in the crypto crate, but to add the TradingPair struct to component created a circular dependency, I had similar issues dealing with the Fee type in transaction.

I think this is probably OK. Actually implementing the swaps for real will require writing SNARK circuits that express the swap-related state transitions, and those circuit implementations should live in the crypto crate.  So the data types that the proofs are about could be there too.


hubble: Reduce "stale identities observed" debug messages even more

This PR does three things. See each commit for more details:

It improves the log message to aid in identifying the trace event which caused the log message to be emitted
Ignores a newly discovered discrepancy with IPSec (see inline comment)
Rate-limit the log message to one occurrence every 30 seconds

Fixes: https://github.com/cilium/cilium/issues/15283

/test

ci-ipsec-upgrade failed with <IP_ADDRESS> connectivity
[https://github.com/cilium/cilium/actions/runs/7247586388/job/19741818607] failed with https://github.com/cilium/cilium/issues/24728 I believe
ci-eks failed with timeout reached waiting for NodePort <IP_ADDRESS>:30134 which I think is a new flake. Will create an issue

Restarting all

ci-ipsec-upgrade is apparently broken on main - https://github.com/cilium/cilium/issues/29666#issuecomment-1857860784
Marking ready to merge


Added mill to library list

Mill API can be used as library, e.g. to develop Mill plugins. Macros are used to rewrite defs for tasks into applicatives.

Is something else needed to push this forward?


Outdated?

I am trying to setup a project based on this starter, but it is impossible to drive around the pitfalls of deprecated package versions. I tried to update the electron version but this breaks the whole project.

If you want to try new electron, you may try this. https://github.com/ziqiangxu/electron-vue-typescript


Add DRIVE dataset

This is a dataset for retinal vessel segmentation in fundus images.

Thanks for the feedback. This one's good to go from my side!


LCOM2/3 via XML

We had LCOM2/3 metric implemented before in #7, but now our calculation mechanism is very different. We should re-implement OCC via XML/XSL.

@yegor256 I believe we can close this now

@llorllale thanks!

Order was successfully finished: +30 points just awarded to @llorllale/z, total is +390

The job #92 is now out of scope

@yegor256 all 3 puzzles are solved here: #138, #139, #228.


Publish to npm

Publish this package on npm so it can be used as a commonJS module

@ragulka Any chance we can get the 0.12.1 release published to npm? I introduced a bug in my app by downgrading to 0.12.0 when switching from bower to npm to manage dependencies


[FOSSA] Issue with validate - UNLICENSED_DEPENDENCY

UNLICENSED_DEPENDENCY - validate (cd8cc34c703420d6b084fbbfd5085e8e71c5b830)
Component URL
https://github.com/markbates/validate
Affected Projects

kubevirt

Issue
This dependency hasn't specified a license. You may need to contact the author to obtain permission to use it.
No licenses found by FOSSA.

Generated by FOSSA on 11/22/2019
Reported by FOSSA user<EMAIL_ADDRESS>

I see that dependency not in our vendor folder. That is probably a transitive dependency on which we do not depend. Since we have all our dependencies in our vendor folder, I think we can just close/ignore such dependencies in FOSSA,  if we don't have them in vendor.

Transitive dependency not present in our vendor folder.
/close


feedback_required

InstagramRequest:132 - Reading StatusResult from {"message": "feedback_required", "spam": true, "feedback_title": "Action Blocked", "feedback_message": "This action was blocked.
Does anyone know how to respond to this, there is an URL that is waiting for a respond. I think we can send back, no this is not a spam. I can't seem to figure it out.

No, nothing to do here. Change the IP.

Damn, I’ve tried that but still happens and I even lowered the liking to below minimum and still happens

Happens to me as well. Very frustrating. Also tried changing IP's, decreasing the number of actions and increasing time between actions, and still eventually get spam flagged too.

Guys a short question. Do you use it for many requests (real bots or for yourself) ? How many requests per second ?

I pause between 100-60 seconds per request, others 150-90 secs per request, but that didn't matter when the failed happen, it was being skipped. I believe that was my problem, I am currently testing it.

I leave about 30-50 seconds per request, and within a span of 2 hours will follow 30 people and like 90 photos.

In my case it's not throttling. Any follow request in my account (I used before for a lot of  follow requests) returns feedback_required but I tried goinsta library and everything works fine. So I think something is wrong on sending request. I'm migrating to goinsta it's more pretty library:)

ChrisJST, the Follow I noticed in the past anything below 60 secs would cause the blocking, so I recommend you increase it. I believe every limit gets reset every hour, so thats why i keep my randoms above 90 seconds. Before this issue, my likes and follows would be around 230 - 250 a day, then sleep for 8 hours. Still working on this current issue, no updates yet. Ryumaev, whats this library? goinsta, got a link?

I don't believe this is based off of the action count. I have been limiting my actions to 15 follows an hour, and I still get spammed out, meanwhile another account that I run is able to run no problem without getting any spam feedback. This issue has known to be affecting a lot of IG bots recently, as I believe IG updated their spam algorithms. I am going to pause my activity for a week and see, nothing else I can think of atm, tried everything :/

damn, no luck on the delay. I wish @ryumaev  would tell us whats the new API he using since this is not working anymore.

That other API is not in Java.
On Thu, Aug 1, 2019 at 5:08 PM rodrigae<EMAIL_ADDRESS>wrote:

damn, no luck on the delay. I wish @ryumaev https://github.com/ryumaev
would tell us whats the new API he using since this is not working anymore.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brunocvcunha/instagram4j/issues/350?email_source=notifications&email_token=ABC4A57W6JTVET7L3Z4ZHRTQCM7EXA5CNFSM4IGEKEN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3LX2AQ#issuecomment-517438722,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABC4A52OMOY2Q5U2FEQZ6ALQCM7EXANCNFSM4IGEKENQ
.

Is it the one that says language Go? @alejandropablo

Today I tried a premium proxy, that means no one was using it, with delays over 150 secs, and eventually got the spam. I’m gonna have to learn a new language.

jaja
It is defintely a combination of IP, this wrapper, and the messages.
Sent from my iPhone

On Aug 2, 2019, at 5:45 AM, rodrigae<EMAIL_ADDRESS>wrote:
Today I tried a premium proxy, that means no one was using it, with delays over 150 secs, and eventually got the spam. I’m gonna have to learn a new language.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I just using https://github.com/ahmdrz/goinsta ,  golang lib

Addressed in rewrite or no longer relevant.

ChrisJST, the Follow I noticed in the past anything below 60 secs would cause the blocking, so I recommend you increase it. I believe every limit gets reset every hour, so thats why i keep my randoms above 90 seconds. Before this issue, my likes and follows would be around 230 - 250 a day, then sleep for 8 hours. Still working on this current issue, no updates yet. Ryumaev, whats this library? goinsta, got a link?

Any solution?

damn, no luck on the delay. I wish @ryumaev would tell us whats the new API he using since this is not working anymore.

I'm working with 180sec per request and I still have the problem = [

Today I tried a premium proxy, that means no one was using it, with delays over 150 secs, and eventually got the spam. I’m gonna have to learn a new language.

I'm working with 180sec per request and I still have the problem = [


index.html missing character encoding

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

Windows 7, 10, Debian Wheezy
Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.21
node: 6.9.1
os: win32 x64
Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.
I am deploying my Angular2 FE on a Tomcat 7. As long as the Index.html is not utf8bom the character encoding gets lost. I told the Backend, the mysql system and the tomcat to use utf-8 but it gets lost anyway.
I can encode the index.html to utf8bom but when i run ng build -prod the generated index.html looses its encoding and I have to set it manually after. Is there a fix that the index.html can hold its character encoding? This Problem only occurs on Tomcat (at least not on node) as far as I can tell.

Thanks! We'll be in touch soon.

HTML meta tag into index.html?

I checked myself and builds always produce UTF-8 files. Not too sure what we can do but open to suggestions.

Close this issue? Newly generated and built project (v1.0.0-beta.24) contains correct meta tag in index.html. And if this is the case, then there are probably just 2 options not related to angular-cli:

Components / templates were saved in non-utf8 encoding, while angular / angular-cli treated files as utf8 - this is not issue of angular / angular-cli, correction of charset in template / component is needed - this is probably not the case since node works correctly
There might be some incorrect configuration of Tomcat serving pages in different than utf8 charset

On top - @slade-2k did not specify what encoding gets lost mean. If this means loss of encoding on data transferred asynchronously, this might be caused by missing Content-Type: application/json; charset=utf-8 on the server. If charset part is missing, default is ISO-8859-1 based on info https://www.w3.org/International/articles/http-charset/index#charset. Again, this is not an angular/angular-cli issue. More info is needed if error is elsewhere and in that case issue might be re-opened.

Thank you for your replies.
@JanCejka The HTML Meta tag is set as mentioned and the tomcat is configured in web.xml and server-xml to serve utf-8 aswell. The backend produces  Content-Type: application/json; charset=utf-8 for everything.
I tried to save as utf-8 with visual code and notepad++ but after the built with -prod flag the encoding seems to get lost (meaning " " becomes "Â", german umlauts getting messed up and so on...). Data that comes from the backend is displayed fine. Only texts in the components get messed up.
Again - If I save the index.html as UTF-8BOM AFTER the prod built, it works flawless. Also this only occurs on my Tomcat, the node server works fine.

we have exactly the same issue.
@slade-2k did you find a solution ?

i am facing the same issue, any solution?

Sorry, no solution yet... Still have to manually save as UTF-8BOM to get the right character encoding. A fix would be desirable because we cannot auto deploy like this.

@slade-2k after i added a Charset filter in my application, the Â gone
try this
			@Component
			public class CharacterSetFilter implements Filter {

				private final static Logger logger = LoggerFactory.getLogger(CharacterSetFilter.class);

				private static final String UTF8 = "UTF-8";
				private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
				private String encoding;

				@Override
				public void init(FilterConfig config) throws ServletException {
					encoding = config.getInitParameter("requestCharEncoding");
					if (encoding == null) {
						encoding = UTF8;
					}
				}

				@Override
				public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
						throws IOException, ServletException {

			//        logger.debug("running chatset filter");

					// Honour the client-specified character encoding
					if (null == request.getCharacterEncoding()) {
						request.setCharacterEncoding(encoding);
					}
					/**
					 * Set the default response content type and encoding
					 */
					response.setContentType(CONTENT_TYPE);
					response.setCharacterEncoding(UTF8);
					chain.doFilter(request, response);
				}

				@Override
				public void destroy() {
				}

			}

Thanks for reporting this issue. This issue is now obsolete due to changes in the recent releases. Please update to the most recent Angular CLI version.
If the problem persists after upgrading, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior.


Display ID column in table

Usually, the ID column is used to present association with known variants. The table should be able to show this information. Ideally, it the user should be able to specify a URL pattern that shall be applied to the ID column in order to allow for a linkout. If nothing is provided the linkout could simply google the ID, or apply some heuristics to guess what should be the pattern. E.g., something starting with COSM should link out to COSMIC.

Thanks @johanneskoester Good suggestions,  I will set aside some time next week to work through these.


Can linkerd route when traffic is already encrypted

My services are fronted by nginx, but we terminate our SSL at that point. I'd like to carry that all the way down and instead terminate the SSL at the linkerd instance.
Does this make sense?

Closing til I can better articulate my problem :)


[Obsolete] MONDO_0045022 disorder of organic acid metabolism

Mondo term (ID and Label)
MONDO_0045022	disorder of organic acid metabolism
Reason for deprecation
@cmungall The above term was created via a Mondo pattern, but I think these two terms are essentially the same. Can you let me know if you have any objections to merging?
Suggested replacement or term to consider
MONDO_0000688	inherited organic acidemia

revisiting this- MONDO_0045022 may not necessarily be an inherited disease. I am going to close this.


Update glslang

CI Vulkan-ExtensionLayer build queued with queue ID 11778.

CI Vulkan-ExtensionLayer build # 639 running.

CI Vulkan-ExtensionLayer build # 639 passed.


Error on Execution

Steps to reproduce:
C:\Users\xxx\Downloads\pong-ai-master>conda activate pong-ai
(pong-ai) C:\Users\xxx\Downloads\pong-ai-master>python play.py
3
2
1
Error
Traceback (most recent call last):
File "play.py", line 228, in
comp_paddle, play_paddle = get_paddles(processed_img, factor)
File "play.py", line 91, in get_paddles
play_cent = play_conn[3][1:, :][play_conn[2][1:,-1] == play_conn[2][1:,-1].max()] * (1 / factor)
File "C:\Users\xxx\anaconda3\envs\pong-ai\lib\site-packages\numpy\core_methods.py", line 39, in _amax
return umr_maximum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation maximum which has no identity

Thank you again for looking at this. I am not sure on this error - even when I run it without the game window I don't get this error. This looks like a numpy error can you confirm the version you are using? Or screenshot to help me reproduce the error

I have made a new commit with command line inputs to adjust the capture position, this may require some trial and error to get the position right. I am using a 1920x1080 monitor and positions are in pixels

@robintwhite ok and with a lot of hit and trial I achieved this. But this doesn't run too

It shows my desktop background and taskbar with two circles on each side.

Your input for the capture window is not correct, the inputs for me put the window in the top right corner of my monitor. If I assign different values this is what I get.

Here is the monitor for the correct positions. If your monitor is a different size or yo have the game window in a different location you need to adjust the input values for the capture window

Alright, what do you mean when you say correct position?

I made another try with python play.py --t=100 --l=100 --width=500 --height=500 A window appeared and then I got this -
3
2
1
Traceback (most recent call last):
  File "play.py", line 245, in <module>
    play_box = get_play_area(screen) # x, y, w, h
  File "play.py", line 187, in get_play_area
    c = max(contours, key=cv2.contourArea)
ValueError: max() arg is an empty sequence

It cannot find contours that define the play area. Is the capture screen over the game window? Make sure the capture window is as mine is above so that there is a surrounding white border around the game window. If you run 'python process_test.py' you will see the result that needs to be achieved in your game window. You can also see in 'Images' test_img.png which shows the required screen capture image.

I appreciate the attempt - I did this as a quick option but next time I will make it more robust by having the program find the game area automatically from a full screen capture. A quick trick is to use paint to find the pixel coordinates necessary to type in. ie take a screen capture, open in paint and if you use cropping tool you can see the pixel x,y values in the lower left. The top left position of the game screen is what is needed for the 'top' and 'left' parameters


Support insecure send

https://github.com/jimsalterjrs/sanoid/pull/513 implements an insecure mode for syncoid which doesn't use SSH for transfers. This is useful when replicating to devices like a Raspberry Pi which doesn't support hardware AES and is therefore transfer speed is CPU limited.
Additional software (socat and busybox) is required on both ends for the transfer to work, along with firewall rules to allow traffic

Busybox is pre-installed in Ubuntu (as busybox-static) and presumably available in Debian's repos, but a package does not appear to be available for RHEL

https://github.com/jimsalterjrs/sanoid/pull/513#issuecomment-804879772


Command naming using underscores inconsistently

Blackbox mostly uses snake_case for the commands, e.g. blackbox_decrypt_all_files, blackbox_edit_start. But there are some commands that break this convention:

blackbox_addadmin
blackbox_removeadmin
blackbox_whatsnew

This could be fixed without a major version bump if the old commands are symlinked to the proper snake_cased variants.
For version 2 there are ideas of using a command+subcommand pattern, and also here the suggested subcommands are using snake_case in an inconsistent manner.

Good idea.  I'm not going to fix this in v1 but I'll definitely do that in v2.  The v2 design doc you linked to is a bit out of date. This weekend I came up with this command structure instead:
$ blackbox help
NAME:
   blackbox - Maintain encrypted files in a VCS (Git, Hg, Svn)

USAGE:
   blackbox [global options] command [command options] [arguments...]

VERSION:
   2.0.0

COMMANDS:
   decrypt, de, start  Decrypt file(s)
   encrypt, en, end    Encrypts file(s)
   edit, vi            Runs $EDITOR on file(s) (decrypt if needed)
   cat                 Output plaintext to stderr (decrypt if needed)
   diff                Diffs against encrypted version
   shred               Shred the plaintext
   help, h             Shows a list of commands or help for one command
   ADMINISTRATIVE:
     init       Initialized blackbox for this repo
     admin      Add/list/remove administrators
     file       Add/list/remove files from the registry
     status     Print status of files
     reencrypt  Decrypt then re-encrypt files
   DEBUG:
     info  Report what we know about this repo

GLOBAL OPTIONS:
   --crypto value  Crypto back-end plugin (default: "GnuPG") [$BLACKBOX_FLAG_CRYPTO]
   --umask value   umask to set when decrypting (default: 23) [$BLACKBOX_FLAG_UMASK, $DECRYPT_UMASK]
   --help, -h      show help (default: false)
   --version, -v   print the version (default: false)

$ blackbox file
NAME:
   blackbox file - Add/list/remove files from the registry

USAGE:
   blackbox file command [command options] [arguments...]

COMMANDS:
   add      Registers file with the system
   list     Lists the registered files
   remove   Deregister file from the system
   help, h  Shows a list of commands or help for one command

OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

$ blackbox admin
NAME:
   blackbox admin - Add/list/remove administrators

USAGE:
   blackbox admin command [command options] [arguments...]

COMMANDS:
   add      Adds admin(s)
   list     Lists admins
   remove   Remove admin(s)
   help, h  Shows a list of commands or help for one command

OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)

I'm going to close this issue as I agree with your point.


"Could not find Material Core Theme" during SSR - Angular Universal

What are you trying to do?
In my server.ts logs of my angular universal ssr app a warning gets show on every Request.
It's not visible on client side chrome devTools logs.
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming
Though, the theming still works as expected.
How do i get rid of this warning?
Troubleshooting
I followed this guide for angular material theming: https://material.angular.io/guide/theming
My styles.scss looks somtheing like this:
styles.scss
@use '@angular/material' as mat;

@include mat.core();

// Import Palettes
@import 'palettes';

// Import typography css
@import 'typography';

$ep-light-theme: mat.define-light-theme(
  (
    color: (
      primary: $ep-primary-palette,
      accent: $ep-accent-palette,
      warn: $ep-warn-palette,
    ),
    typography: $ep-typography,
    density: 0,
  )
);

@include mat.core-theme($ep-light-theme);

$ep-dark-theme: mat.define-dark-theme(
  (
    color: (
      primary: $ep-dark-primary-palette,
      accent: $ep-dark-accent-palette,
      warn: $ep-dark-warn-palette,
    ),
    typography: $ep-typography,
    density: 0,
  )
);

.adm-dark-theme,
.ep-dark-theme {
  @include mat.all-component-themes($ep-dark-theme);
}

Environment

Angular: 15.1.1
CDK/Material: 15.1.0
Browser(s): Chrome and node.js Inspector
Operating System (e.g. Windows, macOS, Ubuntu): MacOs

We have a typeof getComputedStyle !== 'function' check here that should prevent the theming check from running on the server. Is it possible that you're mocking out getComputedStyle on your server?

In deed i have discovered a simple mock here:
global['getComputedStyle'] = () => ({ getPropertyValue: () => '' });
Interesting! Removing it really does make the warning disappear from the server logs.
That's what i was looking for.
So, i did not open an issue here, but is there a reason why the server side renderer is not checked by
isPlatformServer() or renders the core theme appropriately?
if computed styles are necessary they can obviously not be correct.
But wouldn't it a better solution to get rid of this warning?

We have the warning, because it's common for people to forget to include the theme and file issues that their components don't look correctly. That being said, we should be able to detect the server in a more robust way.

Awesome! Thank you!  🙌


feature: Add /keys endpoints for chains

Overview
For the clients connecting to the infra, we need keys and addresses that have the initial supply.
Exposer service already exposes this via the http endpoint. It might make sense to expose this via the registry service so there is a single point of enterance.
Will Touch

Registry service
Protos

Proposal
Registry service creates endpoint to fetch the keys from the exposer /chains/{chain}/keys. It will be a simple proxy to the exposer keys endpoint, so that we dont have to expose all the exposers as well.

Done

Completed here: #62


Something weird with :upload_id

This is an argument passed to IrokiJob.perform_later
:upload_id=>"timestrrandstr"

Also, the temp files are still being passed in to IrokiJob, but it shouldn't need them cos it reads the info from the db.


useDroppable doesn't work on root component

https://codesandbox.io/p/sandbox/magical-mountain-t2fmm7?file=%2Fsrc%2FApp.tsx
It took me a long long time to understand why my droppable was not working, and it seems that the hook doesn't work correctly when it is in the same level as DndContext.

yes i was facing the same issue, having the droppable at the same level where DndContext is not working.

我也是这个问题，花了一下午时间才解决！


[Feature Request]:Add a BMI calculator to all site  section

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Add a BMI calculator to all site  section
Use Case
Anyone can check the BMI of their body
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@parikhitritgithub Please complete your task otherwise I will close it. and if you have any queries then ask me on our live chat for support: https://codeharborhub.github.io/community/supports#-how-to-get-support

ok i will do it by tomorrow


2k and 4k switch and background options?

Is it possible to have 2k and 4k backgrounds the plugin via a switch on the config?
Some of them dont look all the great on a 2k screen. The bb8 and r2d2 are probably the most anoying

Hi @ThomasRunting! Starting with the upcoming v1.2.0 release, the package will be shipped, by default, with losslessly optimized 4K HD backgrounds. Thank you for taking the time to share your thoughts and hope you enjoy it : )


Adding configuration resource

Adding cloudstack configuration resource.

https://cloudstack.apache.org/api/apidocs-4.17/apis/updateConfiguration.html
https://cloudstack.apache.org/api/apidocs-4.17/apis/listConfigurations.html
https://cloudstack.apache.org/api/apidocs-4.17/apis/resetConfiguration.html

  # cloudstack_configuration.example will be created
  + resource "cloudstack_configuration" "example" {
      + category    = (known after apply)
      + description = (known after apply)
      + id          = (known after apply)
      + is_dynamic  = (known after apply)
      + name        = "host"
      + scope       = (known after apply)
      + value       = "example"
    }

This requires the latest client.  See -
https://github.com/apache/cloudstack-go/releases/tag/v2.14.0
https://github.com/apache/cloudstack-go/pull/47

@poddm thanks for the PR, do we need to use the latest go-sdk release (https://github.com/apache/cloudstack-go/releases) ? LGTM havn't tested it though. (closed/reopen PR to rekick Github actions build job)

@vishesh92, These were cascading changes from updating to the latest client sdk https://github.com/apache/cloudstack-go/pull/47.  They were not meant to be committed.
I'll rebase when https://github.com/apache/cloudstack-terraform-provider/issues/101 is merged.

Update - I'd still like to get these merged once the cloudstack SDK is updated.

https://github.com/apache/cloudstack-terraform-provider/pull/71
https://github.com/apache/cloudstack-terraform-provider/issues/101

Closing/re-opening to kick tests.

@poddm there are conflicts on the PR - can you please resolve?

@poddm Acceptance tests are failing. Can you check and fix those.

@poddm can you review/rebase the PR, advise on outstanding review comments & look at failing tests. Thanks.

@rohityadavcloud @vishesh92 , rebased and updated to the latest cloudstack client.

@rohityadavcloud @vishesh92  I see that this was approved, what needs to be done to get this moved forward and merged?

Going to try closing/re-opening to kick tests.


⚠ Bofrost.lu has degraded performance

In ee3fe1f, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1121 ms

Resolved: Bofrost.lu performance has improved in 5e82cf9 after 9 minutes.


[Feature] Add support for federated query external schemas

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-redshift functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Redshift can pull data from a remote RDS database, a process known as federated queries. However, dbt does not recognize tables in these external schemas as valid relations. Ideally, these tables would work out of the box with dbt-redshift.
I believe this is due to the code making use of information_schema.tables and pg_class, neither of which include federated query tables.  Using svv_tables for these relation lookups would expose the external tables.
Describe alternatives you've considered
I've made this work by creating a materialized view of the external schema table. The downside is the additional creation step and manually refreshing the view before use.
Who will this benefit?
This will benefit any database engineer or developer who uses federated queries to pull data from RDS databases such as Postgresql.
Are you interested in contributing this feature?
No response
Anything else?
Querying data with federated queries in Amazon Redshift

@ronco the creation of these objects is something that's already possible for other dbt adapters via dbt-external-tables. We're actively working to bring the notion of External Tables into dbt, could you be so kind to add a comment to https://github.com/dbt-labs/dbt-adapters/discussions/92 requesting that federated queries be supported?
however, it sounds as if the package supported their creation. there's another problem.
even if you create them outside of dbt, you cannot refer to them within dbt, because dbt cannot discover that they exist, right?
I believe the solution to that will be to address #776.

@ronco the creation of these objects is something that's already possible for other dbt adapters via dbt-external-tables. We're actively working to bring the notion of External Tables into dbt, could you be so kind to add a comment to https://github.com/dbt-labs/dbt-adapters/discussions/92 requesting that federated queries be supported?
however, it sounds as if the package supported their creation. there's another problem.
even if you create them outside of dbt, you cannot refer to them within dbt, because dbt cannot discover that they exist, right?
I believe the solution to that problem will be to address #776.

Hey @dataders , thanks for following up!  I've left a comment on that discussion regarding federated-queries.  I also agree #776 would likely address this.  Since #776 already addresses the concern I'll go ahead and close this feature request.
Thanks!


Fix MIME type issues with CloudFront origin accessing MC through httpd proxy

Accessing httpd on a venue via a cloudfront URL (for example https://d2j14rxb3y249o.cloudfront.net/) results in errors and/or timeouts.  When we looked into this, there were a lot of console log errors saying that certain JavaScript files could load due to MIME type issues.

Tom fixed this

@buggtb Please do one last check to make sure the whole flow through CloudFront actually works.

This was fixed. There are a lot of blockers current with cloudfront and/or HTTPS certs.  Closing this now, and the whole flow will be tested later.


Equal confidences returned on OS X not on iOS during object detection

I've built the ig02 model as described and, if I drop it in to Apple's "Recognizing Objects in Live Capture" (Breakfast Finder) sample, it detects with reasonable accuracy the cars and bikes in the training set on iOS.
However, I've migrated the code to an OS X app and, now, although bounding boxes are being drawn, they're less accurately positioned and the label of highest confidence is always "bike".
When I debug and look at the objectObservation labels they all have equal 0.5 confidences. I wonder whether there are some view-related differences I haven't taken in to account as I also get bounding boxes containing NaN which then crash the app.
Any ideas, suggestions or otherwise appreciated.
Xcode 10.0 beta 4 (10L213o)
ProductName:	Mac OS X
ProductVersion:	10.14
BuildVersion:	18A336e
Turi Create: 5.0b2

Hi @andrewgleave, really sorry that you are having some issues with the detector. Let's try to figure it out. First, I want to clarify a few things:

When you say "migrated the code to an OS X app", do you mean that you have exported an mlmodel and dropped it into a macOS project? Or, do you mean you are now doing the training on macOS?
If it's the former, then are you making predictions through Core Vision or directly using Core ML?

Also, would you be willing to share the trained .model and/or exported .mlmodel files with us?

The training/dev was done on the same 2018 MPB and it's a simple skeleton project to see if I can get the same object detection code running on macOS.
So, I trained the ig02 model this morning, dropped it in to a vanilla copy of the "Recognizing Objects in Live Capture" iOS sample code, changed it to use this model (VisionObjectRecognitionViewController.swift:L25) and it ran fine on iOS, detecting cars and bikes with varying confidence and approximate bboxes.
Then I created a blank macOS project, dropped in most of the code from the iOS sample, got it rendering the preview and drawing the overlays but: the position of the bounding box overlays is off (this could be that I have missed something re. the orientation of the MPB camera vs iPhone camera?), VNImageRectForNormalizedRect is returning a lot of rects with NaN values – usually heights soI added a check to skip them, and finally, the confidences returned by in the results from the model are all 0.5.
I have pushed the test project up to andrewgleave/Detect complete with all the code and model so I hope that helps.
Thanks for following up so rapidly!

Hi @andrewgleave
Thanks for reporting this issue! I successfully reproduced this on macOS 18A336e and Xcode 10L213o, i.e. I got confidence of 0.5 each for car and bike regardless of what I passed in as input.
However, on macOS 18A353d (latest macOS Public Beta 6) and Xcode 10L213o, I wasn't able to repro this, i.e. I got legitimate confidences not equal to 0.5 for car and bike.
The predictions from Turi Create seemed correct in both cases. I suspect this was an Xcode issue that is now fixed.
Could you try upgrading your macOS to the latest public beta 6 seed (18A353d) and see if you can still repro this issue? Feel free to reopen the issue if you can!

Yes, I've rebuilt the testcase using beta 6 and am now getting accurate classifications.
Thanks for following up.


Packaging

A dump question: how shall I test this packaging on a clean machine? Do we still need the installation scripts (script/install) and mysql configuration first?

A dump question: how shall I test this packaging on a clean machine? Do we still need the installation scripts (script/install) and mysql configuration first?

A dump question: how shall I test this packaging on a clean machine? Do we still need the installation scripts (script/install) and mysql configuration first?

@xzdandy You can install it using this sample pypi package https://pypi.org/project/evatestdb/.
use eva_server and eva_client to start the server and client. Let me know if it doesn't work on your machine.

@xzdandy You can install it using this sample pypi package https://pypi.org/project/evatestdb/.
use eva_server and eva_client to start the server and client. Let me know if it doesn't work on your machine.

@suryatejreddy Thanks, I will try it. PS: Is pip install evatestdb same as python setup.py install in this pr (branch suryatejreddy:packaging)?

Duplicate


Precompiled Windows build has outdated documentation

I'm using GodotSteam 3.12.1, and I found that the documentation for getAchievementIcon appears as:

● int getAchievementIcon(name: String)

Gets the icon for an achievement.

Triggers user_achievement_icon_fetched callback.

However, looking at the source for GodotSteam 3.12.1 suggests it should have updated documentation that removes reference to 'user_achievement_icon_fetched ' and adds a usage example.
Looking at the history of https://github.com/Gramps/GodotSteam/commits/master/godotsteam/doc_classes/Steam.xml
shows that the new documentation was added in May 2021 (7804d07).
From this it looks like old documentation was somehow pulled into the precompiled build.
I have verified this for Windows, but not for other platforms.

Hey there!  Yeah, there was something weird with the in-editor documentation that I thought was ironed out.  Having it generate docs by command line basically wiped all of the existing in-editor docs out and I had to cobble things together manually.  Not sure why but it kept doing it.
I'll guess it is affecting Linux and Mac too.  I can verify later this week on Linux.  Nonetheless, I will add it to the to-do list for the next update!  Thanks for reporting it.


Doesn't compile when UIElements built-in package is disabled

I don't know for sure, but you could probably add com.unity.modules.uielements to package dependencies for auto-resolution, or maybe just note that UIElements package is required. Thanks for the package tho, really cool.

Oh, I didn't knew it can be disabled. This seem to be related to the fact that assembly is currently 'runtime' - see #27.


Add --disconnect-after-job command line arg

When creating container-based schedulers and runners you often want the runner to exit after running the job (e.g. hyper-buildkite-agent)
This adds a command line flag that causes the agent to shut down once it's completed a job.

[x] Add --disconnect-after-job command line flag
[x] Add --disconnect-after-job-timeout command line flag

I forgot to mention, adding this flag makes the hyper-buildkite-agent-runner image completely unnecessary.

Rad! I think this may require 1 more bit of technology. I did some thinking about this recently and realised there's a bit of a race condition...
Let's say you spin up an agent specifically to run queue=$BUILDKITE_JOB_ID for the cases like Hyper. There's a potential race condition where the agent could get stuck waiting for the job, if something happens to the job in-between rescheduling it, and the agent starts up.
So:

Job with build on "feature/blah" has tags queue=hyper
Job is rescheduled to run on queue=$BUILDKITE_JOB_ID
API calls are made to setup a Hyper agent with --tag queue=$BUILDKITE_JOB_ID
A new build is pushed to "feature/blah" and auto-cancelation/skipping technology kicks into gear and cancels the job
Agent finally connects and get's stuck in limbo since the job it wants to run will never get to it

I'd recommend maybe a 60 second timeout where if an agent is in ExitAfterJob mode, and still hasn't gotten a job, it'll shut itself down. Or if not a hardcoded timeout, a --exit-after-job-timeout option?

@keithpitt oh, nice catch. I can see you've been thinking about this deeply for a while. ⏰

Oh yeah, good catch @keithpitt! What about this?
Options:

   --config value                  Path to a configuration file [$BUILDKITE_AGENT_CONFIG]
   --token value                   Your account agent token [$BUILDKITE_AGENT_TOKEN]
   --name value                    The name of the agent [$BUILDKITE_AGENT_NAME]
   --priority value                The priority of the agent (higher priorities are assigned work first) [$BUILDKITE_AGENT_PRIORITY]
   --exit-after-job                Shutdown the agent after running a job [$BUILDKITE_AGENT_EXIT_AFTER_JOB]
   --exit-after-job-timeout value  When --exit-after-job is specified, the number of seconds to wait for a job before shutting down (default is "120") [$BUILDKITE_AGENT_EXIT_AFTER_JOB_TIMEOUT]
   --meta-data value               Meta-data for the agent (default is "queue=default") [$BUILDKITE_AGENT_META_DATA]
   --meta-data-ec2                 Include the host's EC2 meta-data (instance-id, instance-type, and ami-id) as meta-data [$BUILDKITE_AGENT_META_DATA_EC2]
   ...

I also sort of ignored the worker pool design… but perhaps that can be revisited at a future time when there is actual support for multiple workers?

--exit-after-job-timeout is 👌
The only other bit of feedback is that maybe it should be --shutdown-after-job instead of exit. Since we don't really "exit" agents, and agents don't really "exit". They do "disconnect" and "stop" though! Maybe it should be --disconnect-after-job?

I also sort of ignored the worker pool design… but perhaps that can be revisited at a future time when there is actual support for multiple workers?

Worker pool design? As in, 1 agent running multiple jobs at once?

@keithpitt yeah!

Oh right, I didn't realise that was a thing that was needed? For Hyper, I think our 1 job per agent is fine?

I just meant that the place where I put the code, in the worker, felt a little at odds with the worker pool design. But I think it's something we just clean up / address later once we actually support that.

Nice work @keithpitt! Should we add support for -1 if someone wants to make sure it never times out?

@toolmantim in that case they could probably just make it 100000 or something? I did think of that case, but couldn't think of an actual "no, please don't timeout" use case. What ya think?

Yeah, I couldn't think of a solid case for -. Let's ship it, and we can add support for disabling the timeout later if necessary!


Add example usage

Hi, thanks for putting the work into these bindings! I'm new to Rescript so it wasn't immediately obvious to me how to use it, but I was able to figure it out by reading your code and playing around with it for a bit. Anyway, I thought it might be helpful to other people if there was at least one example of using it.
Also, you might want to update the README to reflect what bindings are working. Seems to me that at least Animated.View and withSpring are working as intended.
Anyway, here is the little toy example I wrote to try out the bindings. I have it working in Expo 44.0 on both iOS and Android:
open ReactNative

let styles = {
  open Style

  StyleSheet.create({
    "container": viewStyle(
      ~alignItems=#center,
      ~justifyContent=#center,
      ~borderRadius=4.0,
      ~position=#relative,
      ~backgroundColor="transparent",
      (),
    ),
    "presser": viewStyle(~flex=1.0, ()),
    "backer": viewStyle(
      ~position=#absolute,
      ~top=0.0->dp,
      ~left=0.0->dp,
      ~right=0.0->dp,
      ~bottom=0.0->dp,
      ~borderRadius=4.0,
      (),
    ),
    "textContainer": viewStyle(
      ~paddingVertical=5.0->dp,
      ~paddingHorizontal=10.0->dp,
      (),
      ~backgroundColor="transparent",
    ),
  })
}

@genType("Selectable") @react.component
let make = (~title, ~selected, ~color, ~onPress) => {
  let scale = ResAnimated.useSharedValue(0.0)

  React.useEffect1(_ => {
    open ResAnimated
    switch selected {
    | true =>
      scale.value = withSpring(
        ~toValue=1.0,
        ~userConfig=Spring.makeConfig(
          ~damping=15.0,
          ~mass=1.0,
          ~stiffness=250.0,
          ~overshootClamping=false,
          ~restSpeedThreshold=0.001,
          ~restDisplacementThreshold=0.001,
          (),
        ),
        (),
      )
    | false =>
      scale.value = withTiming(
        ~toValue=0.0,
        ~userConfig=Some(#Duration({Timing.duration: 250.0})),
        (),
      )
    }
    None
  }, [selected])

  let animatedStyle = {
    ResAnimated.useAnimatedStyle(() =>
      Style.style(~transform=[Style.scale(~scale=scale.value)], ~opacity=scale.value, ())
    )
  }

  <View style={styles["container"]}>
    <ResAnimated.View
      style={
        open ReactNative
        open Style
        array([styles["backer"], viewStyle(~backgroundColor=color, ()), animatedStyle])
      }
    />
    <Pressable style={_ => styles["presser"]} onPress={_ => onPress(!selected)}>
      {_ => <>
        <View style={styles["textContainer"]}> <Text> {title->React.string} </Text> </View>
      </>}
    </Pressable>
  </View>
}

Oh, since I will probably be using this library quite a bit in the coming weeks, I'm happy to work on it and submit pull requests, if that's alright with you.

Hi @jonlaing!
Glad you found about this honestly. I started working on these binding some time ago as you can see and I just laid down some basics and core stuff I needed in a project of mine.
I planned on expanding it as I stumble upon something I need, since I was the only one using it. But now, since there is someone else in need of these, I will try to find some time to work on them again.
As for the example, I already started working on something that I wanted to publish, but never found time to wrap it up. I will try to do it in upcoming days. It is a drawer sheet example with ReScript Gesture Handler as well.
Your pull requests will be more than welcome! Please let me know if stumble upon some issue or question, I will gladly try to help!
Thanks!

Oh, one more thing... If by some chance I miss the message or pull request, feel free to tag me after a day or two, to remind me!

Here is some draft of that example, just so it's here if someone stumbles on this until I manage to publish it:
open ReactNative
open ReactNativeSafeAreaContext

// `Portal` is a binding of `@gorhom/portal`
module DrawerPortal = Portal

let styles = StyleSheet.create({
  "backdrop": Style.viewStyle(~backgroundColor="black", ()),
  "container": Style.viewStyle(~padding=12.->Style.dp, ~backgroundColor="lightgrey", ()),
  "absoluteFillObject": StyleSheet.absoluteFillObject,
})

let drawerWidthPct = 75.

@genType @react.component
let make = (
  ~isOpened: bool,
  ~onClose: unit => unit,
  ~children: React.element,
  ~position: [#left | #right]=#left,
  ~containerStyle: option<Style.t>=?,
  ~includeSafeAreaInsets: bool=true,
) => {
  let {top, bottom, left, right} = useSafeAreaInsets()
  let {width, height} = Dimensions.useWindowDimensions()
  let smallerAxisSize = Js.Math.min_float(height, width)
  let widerScreen = smallerAxisSize >= 600.
  let maximumWidth = widerScreen ? 320. : 280.

  let drawerPctWidth = width *. (drawerWidthPct /. 100.)
  // For wider screens, we want to cap the drawer width
  let cappedWidth = drawerPctWidth > maximumWidth ? maximumWidth : drawerPctWidth

  let startPosition = position === #left ? -.cappedWidth : width
  let endPosition = position === #left ? 0. : width -. cappedWidth

  // Currently this variable name won't make sense, because value is 0 or 1,
  // but it is going to be refactored to be x-axis value from 0 to constrainedWidth
  let transitionX = ResAnimated.useSharedValue(0.)
  React.useEffect2(() => {
    transitionX.value = isOpened ? ResAnimated.withTiming(1.) : ResAnimated.withTiming(0.)
    None
  }, (transitionX, isOpened))

  let drawerStyle = ResAnimated.useAnimatedStyle(() => {
    let translateX = ResAnimated.interpolate(
      transitionX.value,
      [0., 1.],
      [startPosition, endPosition],
      None,
    )
    Style.viewStyle(~transform=[Style.translateX(~translateX)], ())
  })

  let backdropStyle = ResAnimated.useAnimatedStyle(() => {
    let opacity = ResAnimated.interpolate(transitionX.value, [0., 1.], [0., 0.7], None)
    Style.viewStyle(~opacity, ())
  })

  // `Directions` from ReScript Gesture Handler
  let flingDirection = switch position {
  | #left => Directions.Direction.make(Directions.directions.left)
  | #right => Directions.Direction.make(Directions.directions.right)
  }

  let safeAreaPadding = Style.viewStyle(
    ~paddingTop=top->Style.dp,
    ~paddingBottom=bottom->Style.dp,
    ~paddingLeft=left->Style.dp,
    ~paddingRight=right->Style.dp,
    (),
  )

  // `Fling` and `Gesture` from ReScript Gesture Handler
  let flingGesture1 =
    Gesture.makeFling()
    ->Fling.direction(flingDirection)
    ->Fling.onEnd((_event, _success) => ResAnimated.runOnJS(onClose)(.))

  // We need two different ones for some reason. By having only one applied on two different `GestureDetectors`, will
  // make one of them not to work properly
  let flingGesture2 =
    Gesture.makeFling()
    ->Fling.direction(flingDirection)
    ->Fling.onEnd((_event, _success) => ResAnimated.runOnJS(onClose)(.))

  // `GestureDetector` and `Gesture` from ReScript Gesture Handler
  <DrawerPortal>
    <GestureDetector gesture={flingGesture1->Gesture.fling}>
      <ResAnimated.View
        style={Style.array([styles["backdrop"], styles["absoluteFillObject"], backdropStyle])}
        pointerEvents={isOpened ? #auto : #none}
      />
    </GestureDetector>
    <GestureDetector gesture={flingGesture2->Gesture.fling}>
      <ResAnimated.View
        style={Style.arrayOption([
          Some(styles["container"]),
          Some(styles["absoluteFillObject"]),
          Some(
            Style.viewStyle(~width=drawerWidthPct->Style.pct, ~maxWidth=maximumWidth->Style.dp, ()),
          ),
          includeSafeAreaInsets ? Some(safeAreaPadding) : None,
          containerStyle,
          Some(drawerStyle),
        ])}>
        {children}
      </ResAnimated.View>
    </GestureDetector>
  </DrawerPortal>
}

NOTE: Currently, the version of Gesture Handler used in the ReScript binding makes this code not work on Android (I think, or some other platform), so be careful.


chore: fix ci deprecations

Example: https://github.com/marcin-jozwikowski/easy-admin-pretty-urls/actions/runs/10252142523

@Chris53897 Thanks a lot for this! Didn't even notice the messages there :|


Traced/primitive svg previews

Will fix #4
Based on https://github.com/gatsbyjs/gatsby/pull/4205

closing in favor of #13


demo.sh no longer works on master

This is the result of running demo on master (36f4b82152df971fef531c4ccccd7e65f8e2e8e9):
unknown@electronics cardano-sl $ /home/unknown/Programowanie/haskell/cardano-sl/.stack-work/install/x86_64-linux/lts-9.1/8.0.2/bin/cardano-node-simple --db-path /home/unknown/Programowanie/haskell/cardano-sl/scripts/../run/node-db0   --rebuild-db   --genesis-secret 0 --listen <IP_ADDRESS>:3000  --json-log=/home/unknown/Programowanie/haskell/cardano-sl/scripts/../logs/2017-11-06_153541/node0.json  --logs-prefix /home/unknown/Programowanie/haskell/cardano-sl/scripts/../logs/2017-11-06_153541 --log-config /home/unknown/Programowanie/haskell/cardano-sl/scripts/../logs/2017-11-06_153541/conf/node0.log.yaml          --system-start<PHONE_NUMBER> --metrics +RTS -T -RTS --ekg-server <IP_ADDRESS>:8000 --node-id node0 --topology ./run/topology0.yaml --no-ntp
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.01 UTC] Asserts are ON
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.01 UTC] ConfigurationOptions {cfoFilePath = "lib/configuration.yaml", cfoKey = "default", cfoSystemStart = Just<PHONE_NUMBER>000000, cfoSeed = Nothing}
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.47 UTC] withConfiguration using custom system start time<PHONE_NUMBER>000000
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.88 UTC] System start time is<PHONE_NUMBER>000000
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.88 UTC] Current time is<PHONE_NUMBER>888150
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.88 UTC] Wallet is disabled, because software is built w/o it
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.88 UTC] Using configs and genesis:
ConfigurationOptions {cfoFilePath = "lib/configuration.yaml", cfoKey = "default", cfoSystemStart = Just<PHONE_NUMBER>000000, cfoSeed = Nothing}
[*production*:DEBUG:ThreadId 4] [2017-11-06 14:36:25.95 UTC] Loading SSC global state
[*production*:INFO:ThreadId 4] [2017-11-06 14:36:25.95 UTC] Loaded SSC state:   certificates from: [df4901e8, f83e9e02, c96ac1e1, 81713ef4]

[*production*:WARNING:ThreadId 4] [2017-11-06 14:36:25.95 UTC] notifyReady failed to notify systemd.
[node:INFO:ThreadId 4] [2017-11-06 14:36:25.95 UTC] Our verInfo: VerInfo { magic=34fa031, blockVersion=0.0.0, inSpecs={96: Conv 43, 49: Conv 5c, 97: Conv 3d, 34: Conv 5e, 98: Conv 37, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 92: Conv 31, 61: Conv 61, 93: Conv 2b, 94: Conv 25, 95: Conv 49}, outSpecs={49: Conv 5c, 67: Conv 60, 83: Conv 0, 4: Conv 5, 5: Conv 4, 37: Conv 5e, 6: Conv 7, 55: Conv 62, 73: Conv 5f, 43: Conv 5d, 61: Conv 61}}
[node:DEBUG:ThreadId 4] [2017-11-06 14:36:25.95 UTC] startNode, we are NodeId <IP_ADDRESS>:3000:0
[node.ntp-check:WARNING:ThreadId 4] [2017-11-06 14:36:25.96 UTC] Failed to create sockets, retrying in 5 sec... (reason: Network.Socket.socket: unsupported operation (Address family not supported by protocol))
[node:ERROR:ThreadId 4] [2017-11-06 14:36:30.96 UTC] node stopped with exception Network.Socket.socket: unsupported operation (Address family not supported by protocol)
[node:ERROR:ThreadId 4] [2017-11-06 14:36:30.97 UTC] node stopped with exception Network.Socket.socket: unsupported operation (Address family not supported by protocol)
[node:DEBUG:ThreadId 21] [2017-11-06 14:36:30.97 UTC] waiting for [] outbound bidirectional handlers
[node:DEBUG:ThreadId 21] [2017-11-06 14:36:30.97 UTC] waiting for [] outbound inbound
[node:ERROR:ThreadId 4] [2017-11-06 14:36:30.97 UTC] exception while stopping node thread killed
[node:ERROR:ThreadId 4] [2017-11-06 14:36:30.97 UTC] exception while stopping node thread killed
cardano-node-simple: thread killed

It works fine on cardano-sl-1.0 branch and master @ d4551608f725ff59f8ccd847f440444ccd6dab95 (2017-10-12), so something broke along the way.
ab45e114754a06da88ee39e8f9d3dbdd59e28643 is the first bad commit
commit ab45e114754a06da88ee39e8f9d3dbdd59e28643
Author: Vladislav Zavialov<EMAIL_ADDRESS>Date:   Fri Oct 13 21:39:45 2017 +0300

    [CSL-1769] Use log-warper 1.3.3

:040000<PHONE_NUMBER>1c4b2005b3e3dc1420e47066ca0383fa844d f494179a42a0ae525f4845bb87d3ddbb4d1cc130 M      core
:040000 040000 4c34af00213adeffd507544d0e98da8430968a62 8ba0600b16a8714c7c4850401b87f9c0d1cf72f5 M      explorer
:040000 040000 783a8e9087ba15588d2b71eba2cb9ba2f504ce7b 1ebce72998ef283103953fc8df89e18c7fb2ef5d M      godtossing
:040000 040000 863a5dbc73f0a414e7a79b7f407f9744c66285ba f48277413dc150f41df1c64368ee8c0ee4d99860 M      lib
:040000 040000 167b059c576fb6bcc6d6e0aa829fd71c0ac59763 9ecf0a1e8767aeb7b758bb75901349b255395036 M      node
:040000<PHONE_NUMBER>002fd7b345f47a8e362b568fd5f8b3e72009 00296a99130e8c553794880b0390d36e5955ced3 M      pkgs
:100644 100644 2f0342f485155f07cd3004efccb2fdf16896ba12 4cd303049c40334287adcbd1d6f3d0830d8fa52e M      stack.yaml
:040000 040000 b9543bbc54721119dfee90fe1de4fca4fd9279e7 94897a8c14c51aba98ee1c19f8a1ab30a40c5b3f M      tools
:040000 040000 59e25e2258513787d879dbc1672219b1f604dee1 0382d32e70ce26256a08b70c8277eb7deefceb25 M      update
:040000 040000 d1080c2411ee96e209ffea08d4346a1be57dda68 22f5e4c5cb49cc21b80f23eb7cdf25304fa3ddc1 M      wallet

If you look closer at this commit, you'll see that it updates snapshot of time-warp-nt in stack.yaml, so I presume whatever causes this originates from there.
ab45e114754a06da88ee39e8f9d3dbdd59e28643~1 is fine, with ab45e114754a06da88ee39e8f9d3dbdd59e28643 I get this:
unknown@electronics cardano-sl $ /home/unknown/Programowanie/haskell/cardano-sl/.stack-work/install/x86_64-linux/lts-9.1/8.0.2/bin/cardano-node-simple --db-path /home/unknown/Programowanie/haskell/cardano-sl/scripts/../run/node-db0   --rebuild-db   --genesis-secret 0 --listen <IP_ADDRESS>:3000  --json-log=/home/unknown/Programowanie/haskell/cardano-sl/scripts/../logs/2017-11-06_155448/node0.json  --logs-prefix /home/unknown/Programowanie/haskell/cardano-sl/scripts/../logs/2017-11-06_155448 --log-config /home/unknown/Programowanie/haskell/cardano-sl/scripts/../logs/2017-11-06_155448/conf/node0.log.yaml            --system-start<PHONE_NUMBER> --metrics +RTS -T -RTS --ekg-server <IP_ADDRESS>:8000 --node-id node0 --topology ./run/topology0.yaml --no-ntp
Asserts are ON
[*production*:WARNING:ThreadId 4] [2017-11-06 14:54:50.43 UTC] notifyReady failed to notify systemd.
[node:WARNING:ThreadId 145] [2017-11-06 14:55:07.30 UTC] node0: sending MsgAnnounceBlockHeader OriginSender to NodeId <IP_ADDRESS>:3004:0 failed with TransportError ConnectNotFound "Network.Socket.connect: <socket: 41>: does not exist (Connection refused)" :: SomeException
[node.worker.ssc:WARNING:ThreadId 28] [2017-11-06 14:55:10.00 UTC] We have rejected our message, reason: some nodes have already sent their commitments: [5f53e01e]
[node.worker.block:WARNING:ThreadId 193] [2017-11-06 14:55:14.01 UTC] node0: could not choose suitable alternative from [NodeId <IP_ADDRESS>:3004:0]
[node.worker.block:ERROR:ThreadId 193] [2017-11-06 14:55:14.01 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node.worker.block:ERROR:ThreadId 193] [2017-11-06 14:55:14.02 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node:WARNING:ThreadId 282] [2017-11-06 14:55:21.28 UTC] node0: could not choose suitable alternative from [NodeId <IP_ADDRESS>:3004:0]
[node:ERROR:ThreadId 282] [2017-11-06 14:55:21.28 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node:ERROR:ThreadId 282] [2017-11-06 14:55:21.29 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node:WARNING:ThreadId 329] [2017-11-06 14:55:28.28 UTC] node0: could not choose suitable alternative from [NodeId <IP_ADDRESS>:3004:0]
[node:ERROR:ThreadId 329] [2017-11-06 14:55:28.28 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node:ERROR:ThreadId 329] [2017-11-06 14:55:28.28 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node:WARNING:ThreadId 376] [2017-11-06 14:55:35.28 UTC] node0: could not choose suitable alternative from [NodeId <IP_ADDRESS>:3004:0]
[node:ERROR:ThreadId 376] [2017-11-06 14:55:35.28 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node:ERROR:ThreadId 376] [2017-11-06 14:55:35.28 UTC] node0: enqueue instruction EnqueueAll {enqNodeType = NodeRelay, enqMaxAhead = MaxAhead 0, enqPrecedence = PHighest} failed to enqueue message MsgAnnounceBlockHeader OriginSender to forwarding sets [[NodeId <IP_ADDRESS>:3004:0]]
[node.worker.block:ERROR:ThreadId 42] [2017-11-06 14:55:45.00 UTC] Reporting critical misbehavior with reason "Poor chain quality for the last 'k' (2) blocks, less than 0.889: 0.667"
[node.worker.block:ERROR:ThreadId 42] [2017-11-06 14:55:45.01 UTC] Reporting critical misbehavior with reason "Poor chain quality for the last 'k' (2) blocks, less than 0.889: 0.667"
^C[node:ERROR:ThreadId 4] [2017-11-06 14:55:50.07 UTC] node stopped with exception user interrupt
[node.worker.block:ERROR:ThreadId 44] [2017-11-06 14:55:50.07 UTC] retrievalWorker mainLoopE: error caught thread killed
[node.worker.block:ERROR:ThreadId 44] [2017-11-06 14:55:50.07 UTC] retrievalWorker mainLoopE: error caught thread killed
cardano-node-simple: thread killed

Note that this is a different error - when I was bisecting I was either getting this or the one I posted above.

@arybczak offtopic, but: any particular reason why you filed this issue here instead of Youtrack?

@neongreen No. Should I move it there?

It tries to bind IPv4 and IPv6 sockets. I remember there was discussion about this last week in the slack.

Right, I have ipv6 disabled in userspace (not kernel), so it might be the reason. But why did it stop working only recently?

But why did it stop working only recently?

AFAIK the ntp check was added only recently.

I recompiled apps with ipv6 support and the error is still there.

No. Should I move it there?
Preferably yes.

And preferably call it e. g. Node doesn't work without ipv6 support, since now there are more details about the issue.


helm: fix envoy daemonset loglevel with multiple verbose debug groups

Currently, the Envoy DaemonSet loglevel is not set correctly if multiple verbose debug groups are passed as helm values.
-> Unknown verbose debug group: <...> in Cilium Agent log
The problem is that the comma is used as group separator instead of a space.
This commit fixes this by changing the separator.

rebased to main to pull in naming changes of github actions

/test


Fix wrong package name in password-grant.mdx

I was going through the authentication example and found that the npm package is named jwt-decode not jwt_decode. Trying to install jwt_decode will result in an error.
After that everything is working.

Ah. Thank you.
Happy to have you here Joe. Big fan of your work :)


Building site hangs and Killed the process in Ubuntu 20.04 and Node v18.19.0

Describe the Bug
Try to update Umami's latest version 2.9.0 but it's not building the optimized site
it hangs and stops in the middle of the page build
ubuntu: 20.04
Node: v18.19.0
MYSQL: 8.0.35
as per Next v14.0.4 it require node v18 or v20 using v18 no issue on package issue etc... but build was killed in the middle of the task
command:  yarn build
Database
MySQL
Relevant log output
   Creating an optimized production build  ..Killed
error Command failed with exit code 137.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build-app" exited with 137.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Ubuntu server 20.04 LTS

Update
Tested 2.8.0 same issue as 2.9.0
Tested 2.7.0 no issues work well
next v13.5.2
prisma v5.3.1
node v18.19.0

137 means operating system killed process because the system ran out of memory (see OOM manager). Can you allocate more RAM to your server or allocate more swap?


remove plural from international units

The InternationalString units need no plural, and stripping the trailing 's' would result in some unusual output:
1 ms 1 µs => 1 m 1 µ
1 s 1 ms => 1  1 m
etc
This change should fix that

hi @hako - this PR has been open a few months, is this OK to merge?

thanks for the PR @mattvink. apologies, was unusually busy during april & may.
LGTM, will merge this in.


A Decorator for Lines without Thermal Limits

Given that many of the data files distributed with Matpower do not have thermal limits (i.e. have a value of 0).  It would be good to indicate when a line has no thermal limit via a decorator.
Reported by Ray Zimmerman.

Please advise on the following points:

The attribute that is to be validated/checked.
The type/UI of the decorator that should be used.

I need to think about the visual metaphor for this.  Lets hold off for the moment.


[Event Change] Add Parameters to OnOpenPage Event in Report 99001017

Can you extend this event in report 99001017 "Calculate Plan - Plan. Wksh." and its call by the FromDate and the ToDate?
trigger OnOpenPage()
begin
    InitializeFromMfgSetup();
    OnAfterOnOpenPage(FromDate, ToDate);
end;

with
[IntegrationEvent(false, false)]
local procedure OnAfterOnOpenPage(var FromDate: Date; var ToDate: Date)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


cmd/go: 'go vet --shadow' not detecting shadowed variable

What version of Go are you using (go version)?
1.9
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
darwin/amd64, linux/amd64
Steps to reproduce
$ git clone https://github.com/leonklingele/pick -b fix-var-shadowing
$ cd pick
$ go vet --shadow ./... 2>&1 | grep "safe/note.go"

Actual & expect result
go vet correctly reports three shadowed vars (in line 134, 142, 145, the ones marked with // nolint: vetshadow), but misses one in line 152: https://github.com/leonklingele/pick/blob/fix-var-shadowing/safe/note.go#L152
I tried to create a smaller reproducible, but wasn't able to achieve this.

The -shadow option on vet is documented to be poor; that's why it's not enabled by default. There are many outstanding bugs against it and maybe someday someone will redo it with a better algorithm to make it more robust.
Regardless, line 152 isn't really shadowing, since the variable it creates doesn't hide one earlier in any semantically detectable way. In other words, although it has the same name as the outer err, renaming it (or using '=' instead of ':=') would have no effect on the program.

How is line 152 any different than 134, 142 or 145 which are detected by --shadow? There is at least some inconsistency.

The -shadow warning is documented to only be issued if the shadowed variable is used after the shadowing variable is declared.  That does not happen at line 152.
Closing because the tool is acting as documented.


vs2022 上编译报错c2955

错误	C2955	“fmt::v8::basic_format_args”: 使用 类 模板 需要 模板 参数列表
错误	C2955	“fmt::v8::basic_format_args”: 使用 类 模板 需要 模板 参数列表
错误	C2661	“fmtlogT<0>::vformat_to”: 没有重载函数接受 2 个参数

能给出编译错误代码行号吗？

@zhangwen-sys
Try changing /std:c++latest to /std:c++17 in CMakeLists.txt, in this location.
if(MSVC)
    add_compile_options(/std:c++latest)
else()
    add_compile_options(-Wall -O3 -std=c++17)
    #add_compile_options(-Wall -Ofast -std=c++2a -march=skylake -flto -fno-exceptions -fno-rtti -fno-unwind-tables -fno-asynchronous-unwind-tables -DFMTLOG_NO_CHECK_LEVEL=1)
    #SET(CMAKE_AR  "gcc-ar")
    #SET(CMAKE_RANLIB  "gcc-ranlib")
    link_libraries(pthread)
endif()

The latest in VC++ introduces new constructs that may get in the way, like consteval.

I have tried but it doesn’t work

Works for me in this branch. The actions build it in VS2022 on Windows.
https://github.com/gh-andre/fmtlog/tree/v2-2-1-patches

today I encountered this issue as well. i adjusted many things but the issue was still there. eventually, i realized that i was using C++ 14 which is the default C++ standard of VS 2022 project. after switched to C++ 17, everything goes fine.


The iOS App Extension migration link does not work. Where is documentation on creating App Extension project for .NET 8?

Type of issue
Missing information about iOS App Extension ever since .NET 6 was released.
Description
No official documentation on how to create an iOS App Extension project after migrating from Xamarin to .NET. Says this is supported and has link, but the link takes you to generic Xamarin migration page. Where is the documentation?

Page URL
https://learn.microsoft.com/en-us/dotnet/maui/migration/?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/migration/index.md
Document Version Independent Id
51da2d09-32e6-d516-0d3c-bd46ce507485
Article author
@davidbritch
Metadata

ID: 51da2d09-32e6-d516-0d3c-bd46ce507485
Service: dotnet-mobile
Sub-service: dotnet-maui

Hi @AlexNik4
The link is actually as intended, because it should just be a case of migrating your existing iOS extension project to use an SDK-style .csproj. Alternatively, you could create a new iOS extension project in Visual Studio and copy the code from your existing project into it.
Afraid that iOS extension projects won't be covered from this repo, because it's for the .NET iOS product rather than .NET MAUI.

@davidbritch
We tried modifying the extension project to SDK-style csproj. Finally got it to build after a bunch of different errors, but it is not working. It works fine in the old Xamarin project. Since there is no documentation, we are not sure if we migrated correctly. Best we found is this unofficial thread. https://github.com/dotnet/maui/discussions/3289. Were hoping to have clear documentation from Microsoft now that Xamarin is going out of support.
Creating a new extension project keeps failing. So there is nothing to reference. The only target Frameworks are .NET Framework which is not correct.

Hi @AlexNik4
I recommend you email<EMAIL_ADDRESS>with details about your problem. That'll put you in touch with team members who'll work with you to get you unblocked.

@AlexNik4
It's come back to me that last time I asked there weren't any iOS extension project templates for .NET iOS. Hence the need to convert your .csproj file to an SDK-style .csproj yourself. But again, email maui-upgrades to get fully unblocked.


Error trying to install flutter

I've just tried to reinstall Flutter from the AUR, and this is what happens whenever I try to run flutter, or any other flutter commands, such as flutter doctor.
Why is the download file corrupt?
Here are my specs and system info if they matter. https://i.imgur.com/93pNkQv.png
flutter doctor -v
Downloading Dart SDK from Flutter engine d1bc06f032f9d6c148ea6b96b48261d6f545004f...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:-0  246M    0  380k    0     0   563k      0  0:07:28 --:--:--  0:03  246M    3 9854k    0     0  5855k      0  0:00:43  0:00:01  0:07  246M    7 18.8M    0     0  7127k      0  0:00:35  0:00:02  0:011  246M   11 27.7M    0     0  7710k      0  0:00:32  0:00:03  0:014  246M   14 36.7M    0     0  8054k      0  0:00:31  0:00:04  0:018  246M   18 45.7M    0     0  8244k      0  0:00:30  0:00:05  0:022  246M   22 55.3M    0     0  8489k      0  0:00:29  0:00:06  0:026  246M   26 65.2M    0     0  8695k      0  0:00:29  0:00:07  0:030  246M   30 74.2M    0     0  8758k      0  0:00:28  0:00:08  0:032  246M   32 81.1M    0     0  8587k      0  0:00:29  0:00:09  0:036  246M   36 90.1M    0     0  8611k      0  0:00:29  0:00:10  0:040  246M   40 98.8M    0     0  8667k      0  0:00:29  0:00:11  0:043  246M   43  108M    0     0  8746k      0  0:00:28  0:00:12  0:047  246M   47  117M    0     0  8797k      0  0:00:28  0:00:13  0:051  246M   51  126M    0     0  8790k      0  0:00:28  0:00:14  0:054  246M   54  135M    0     0  8827k      0  0:00:28  0:00:15  0:058  246M   58  144M    0     0  8880k      0  0:00:28  0:00:16  0:062  246M   62  154M    0     0  8919k      0  0:00:28  0:00:17  0:066  246M   66  163M    0     0  8948k      0  0:00:28  0:00:18  0:068  246M   68  169M    0     0  8841k      0  0:00:28  0:00:19  0:072  246M   72  178M    0     0  8845k      0  0:00:28  0:00:20  0:076  246M   76  188M    0     0  8890k      0  0:00:28  0:00:21  0:079  246M   79  197M    0     0  8913k      0  0:00:28  0:00:22  0:083  246M   83  207M    0     0  8959k      0  0:00:28  0:00:23  0:087  246M   87  216M    0     0  8966k      0  0:00:28  0:00:24  0:091  246M   91  225M    0     0  9003k      0  0:00:28  0:00:25  0:095  246M   95  235M    0     0  9021k      0  0:00:28  0:00:26  0:098  246M   98  244M    0     0  9031k      0  0:00:27  0:00:27 --:-100  246M  100  246M    0     0  9041k      0  0:00:27  0:00:27 --:--:-- 9493k
/opt/flutter/bin/cache/dart-sdk/bin/snapshots/dartdevc.dart.snapshotbad CRC 6c5fdaa5  (should be d9e419e2)

It appears that the downloaded file is corrupt; please try again.
If this problem persists, please report the problem at:
https://github.com/flutter/flutter/issues/new?template=ACTIVATION.md

I'm totally newb to arch, haven't used it,
but is there any difference between cloning from AUR and git clone from Github?
also might want to check if AUR installing Flutter as root, IMHO it might cause problems with file ownership
I haven't seen any official docs about installing Flutter from AUR
AFAIK there are only download the tar file, git clone, or via snapd for Linux, have you tried any of them?

also might want to check if AUR installing Flutter as root, IMHO it might cause problems with file ownership
Well, that confirms it. After some searching around, I decided to try to uninstall Flutter completely pamac remove flutter; sudo rm -rf /opt/flutter, and then clone the git repo and install it that way.

The git version of Flutter threw some weird errors like before but then worked after I tried flutter run again. Odd. Anyway, it works now, thanks!

about this line:

The git version of Flutter threw some weird errors like before but then worked after I tried flutter run again. Odd. Anyway, it works now, thanks!

You should have asked about this first as you are trying to follow officially supported installation steps but some error occurred. I presume most of us here are already have Flutter running by following those steps 😄
Anyway, glad to hear that worked out!


Upgrade to Qt 5.13.2 - Issue 2247

Addresses #2247
These libraries are located in our Google Drive folder:
[Vapor Team Drive>]/Third Party Libraries
This link may or may not work:
https://drive.google.com/drive/u/0/folders/0B0dQMtxB89M0Q2F2U3ZaQ2dVeWs
Download the new third party libraries at the links below:
CentOS
Ubuntu
Darwin
Windows

My only request is that you add a reference to the google drive files rather than direct share links so we don't have to reference this PR for the files.

I'm not sure what you mean by "add a reference to the google drive files."  Since moving away from glade, we've always kept our third party libraries in the Third Party Libraries directory on GDrive.

Addresses #2247
These libraries are located in our Google Drive folder:
[Vapor Team Drive>]/Third Party Libraries
This link may or may not work:
https://drive.google.com/drive/u/0/folders/0B0dQMtxB89M0Q2F2U3ZaQ2dVeWs
Download the new third party libraries at the links below:
CentOS
Ubuntu
Darwin
Windows

Scott, just to confirm, the 3rd party libraries are more like March-2020, even though they're named Aug-2019, is that right?
If so, isn't this a pretty confusing situation?

@shaomeng, as we discussed in our email thread, all libraries were built in August of 2019 with the exception of Qt.

@shaomeng, as we discussed in our email thread, all libraries were built in August of 2019 with the exception of Qt.

Got it, thanks for confirming Scott!

When I test this PR on cisl-vapor, there are around a dozen QT related warnings.
Though those warnings aren't specifically introduced by this PR, but given that this PR is still at a very manageable size, I'd suggest addressing them along this PR, instead of opening a new PR. @StasJ you might want to double check if there are warnings introduced by PWidgets.

@shaomeng, I see the warnings you're talking about.  Many of them are about deprecated functions in Qt.  I found and fixed only one warning regarding PWidgets, which I'm working closely with now.  I'd like to make a more comprehensive effort to eliminate warnings in the near future.

@sgpearse I built using Release configurations, maybe that gave me more warnings.
Also, isn't moving away from deprecated functions a price we already decided to pay when we upgraded QT?
But after all I do think those warnings hardly belong to this PR, so I have no problem with this particular PR.

@sgpearse there are conflicts in the PR now. As soon as they are resolved we can merge.

@sgpearse I built using Release configurations, maybe that gave me more warnings.

Let's talk about this today.  I'd be ok with fixing warnings on Ubuntu16 for this release, and enforcing a no-warning policy on PR's for only this OS.


Getting it to work not as simple as expected, or documentation issue?

Maybe it's just me, but I had to try all kinds of things to get this to work properly. First of all, the init command in the README file didn't even work. I already made one pull request that updated the init command.
Also, even before reaching this point I had to spend some time figuring out how to get it to build correctly. More specifically, I had to:

add classpath 'com.google.gms:google-services:1.5.0-beta2' to root gradle file
add apply plugin: 'com.google.gms.google-services' to module gradle file, and compile 'com.google.android.gms:play-services-gcm:8.3.0' under dependencies.

Are these simply not documented on README, or did I miss something?

Hello @polaski ,
I have checked your pull request and the comments. The missing classpath, plugin and dependency are not in the readme, has to and will be fixed.
However, from the way you suggest using EasyGcm.setGcmListener(this) instead of EasyGcm.init(Context context) in your pull request, it seems you might be implementing the GcmListener in a different place than the readme suggests. The EasyGcm.setGcmListener(GcmListener listener) needs you to pass an object implementing the interface whereas EasyGcm.init(Context context) requires you to implement the GcmListener in your Application class. What is the structure of the application you are using easygcm with?


overhaul metrics

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.954%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3052

Relevant Lines:
3431

💛  - Coveralls


refacto(SFFV): use withSearchBox and searchForItems

see #1871

The update is much more complex than expected.

It is! I failed two times at giving this a try ahah

I added the warning. If we still want to pursue with backward compatibility, it should be ok :)

Made some small changes:

renamed documentation guide file
put process.env.NODE_ENV test in ifs first instead of last (because in the "optimistic case", production, this will always be false)

I think we are good to go here, last call! :D


Sema: Fix handling of appliedPropertyWrappers in ConstraintSystem::replaySolution()

When we replay a solution, we must record changes in the trail, so fix the logic to do that. This fixes the first assertion failure with this test case.
The test case also exposed a second issue. We synthesize a CustomAttr in applySolutionToClosurePropertyWrappers() with a type returned by simplifyType(). Eventually, CustomAttrNominalRequest::evaluate() looks at this type, and passes it to directReferencesForType(). Unfortunately, this entry point does not understand type aliases whose underlying type is a type parameter. However, directReferencesForType() is the wrong thing to use here, and we can just call getAnyNominal() instead.
Fixes rdar://139237781.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Remove-ECR-alerts-smoke-tests

Why:
Remove ECR alerts routed to low-priority-alerts

dupe of #815