pass RAILS root directory as an argument

pass RAILS root directory as an argument according to suggestion in trptcolin/consistency_fail/pull/37 with default to current directory
a warning is printed when the passed argument is out of the current application/gem
restore spec/support files require order (to run rspec tests with Ruby 2.3)

Thanks!

Could you please release a new version, i'd like to use it in guard-consistency_fail?
Thank you.

Done as of yesterday: https://rubygems.org/gems/consistency_fail/versions/0.3.5


Upgrade Linux Kernel for flatcar-3975 from 6.6.43 to 6.6.46

Subject says it all.

Closing in favor of: https://github.com/flatcar/scripts/pull/2241.


How do you filter out terms? Possibility of filtering twitter users?

Is this possible with twitter user agent (or stream agent)? 🤔 I looked into previous issues but I couldn't find anything about how to exclude terms. For instance, I want to follow a twitter that releases information on books, but I don't want the tweets that go "here are all the releases for today"?
As well, is it possible to use Twitter Stream Agent but only for certain users? i.e. I want to follow merchandise releases from several merchandise manufacturing companies, but if I use the filter terms on the entire twitter stream I follow, it'll pick up a lot stuff that's not merch.

I think for that either the TwitterUserAgent or TwitterSearchAgent are the best options we have. The search API has some advanced query options but you are not guaranteed to get all matching tweets.
The filtering out of Tweets would need to be done downstream by other Agents (a TriggerAgent for example). You can have multiple TwitterUserAgents feeding into one TriggerAgent.

Can TriggerAgent work with excluding terms? o:

Like... this?
{   "expected_receive_period_in_days": "1",   "keep_event": "true",   "rules": [     {       "type": "field!=value",       "value": "yulit_",       "path": "$.retweeted_status.user.screen_name"     },     {       "type": "field!=value",       "value": "nieniekoto",       "path": "$.retweeted_status.user.screen_name"     },     {       "type": "field!=value",       "value": "ラビアレ",       "path": "$.full_text"     },     {       "type": "field!=value",       "value": "ラビユ",       "path": "$.full_text"     },     {       "type": "field!=value",       "value": "ティキアレ",       "path": "$.full_text"     }   ],   "message": "",   "must_match": "1" }

That looks like it should work.  I don't know if the i18n characters are messing it up or not.  Anybody know?

Messed with it again, waiting to see if the previous filter (filter A) works, but
In the meantime, let's call this filter B; I'm trying to recreate this zapier filter, but I don't know how to put in "does not exist" o ~o

{
"expected_receive_period_in_days": "1",
"keep_event": "true",
"rules": [
{
"type": "field==value",
"value": "null",
"path": "$.retweeted_status"
}
],
"message": ""
}

Is it possible to create a filter to prevent retweeted posts from coming through? "-filter:retweets" in the twitter search agent doesn't seem to work here as they still go through, as a result I'm getting like 10 duplicate entries oftentimes.
That's what I put in, but seems like no posts are going through at all.

For the full_text matches it might be help to use the !regex type,  that way it will filter out the event if the text occurs somewhere in full_text.
I think that should work for filter B:
    {
      "type": "field!=value",
      "value": "{{retweeted_status | default: 'thiswillneveractuallybeintheevent' }}",
      "path": "retweeted_status"
    }

Switched to regex! Filter A seems to be working so far?
Changed to that for filter B, thank you! (No $. in front of retweeted status?) Testing to see if it works!

(No $. in front of retweeted status?)

The leading $. is optional, you can use it but you don't have to.

wheeeee everything seems to be working thank uuuu \o/


[HELP] Where has eopatch_to_dataset gone?

Question
In #83, the eopatch_to_dataset function was introduced.
Somewhere since then, it was removed, and it begs the question why? The spatiotemporal aspect of the eopatch features lends itself very nicely to xarray and rioxarray, so it's a bit odd this conversion is not offered anymore.
Some of the history dig-up I've done includes:

utilities.py was renamed and moved in #371
Even then, the code was not available
Somehow, in v1.3.1 it was still importable from that location (IIRC the import location at least), but it was officially removed in 1.4.0
In fact, while xarray is a dependency, it's no longer imported/used directly anywhere in the code, it seems

Hi @idantene
I assume you are talking about the function that converts eopatches to xarray datasets?
It was used only in the hvplot-backend visualization, which broke during the last two years (and we weren't able to fix it). With the addition of the matplotlib-backend for visualization we decided to abandon the old approach in version 1.4.0 (see note about hvplot backend being removed).
Since then xarray should also no longer be a dependency of any kind.

That makes sense, thanks for the recap!
Wouldn't you agree though that such conversion methods benefits the eolearn package as a whole, providing streamlined interoperability with pandas and xarray, which are core tools in the data scientist tool box?

I do agree, and these are my thoughts on the situation:

if such features exist, they shouldn't be hidden away in visualization utilities. One should also be mindful of dependencies, eolearn is already far from slim
we very rarely use xarray so we never felt the need for such a converter, while pandas does not scale well (our projects frequently span several petabytes). So large part of the answer is "we never implemented this because we didn't really need it"
While eopatches and xarrays might be a bit similar, eopatches and dataframes use a very different approach. This does not mean such conversions are not possible or not useful, it is just that they are non-canonical, and there is no inherently 'right' approach for this. To showcase some of this problem, imagine you have an eopatch with a temporal feature and one timeless feature. Should this result in two separate dataframes? Do we inflate the timeless feature to be a temporally-constant one and include it in the dataframe? it really depends on what you need it for.

So at this point we consider such converters to be the responsibility of the users, because we do not have enough insight on what the 'right' conversion would be. But if such features become more sought after, we will consider adding them.

I understand - thanks again for the detailed answer!
One point of interest, if I may still, is that xarray offers its own conversion methods to DataFrames. To me, that suggests that eolearn can potentially support a conversion method to xarray, and ignore the pandas conversion, since it's available in xarray and has its own "native" answer to the uncertainties you raised in (3).
We anyway ended up lifting the code from 1.3.1 for this conversion in the meantime.

One point of interest, if I may still, is that xarray offers its own conversion methods to DataFrames. To me, that suggests that eolearn can potentially support a conversion method to xarray, and ignore the pandas conversion, since it's available in xarray and has its own "native" answer to the uncertainties you raised in (3).

Sadly xarray is the problematic one, since it brings in an extra dependency. But might be worthwhile if there is a need for it.

We anyway ended up lifting the code from 1.3.1 for this conversion in the meantime.

Probably the easiest solution for now. Even if we decide to add something like this, it could take a while :)

Closing for now, as there is no plan in the near future to tackle this and users are encouraged to make they own solution which suits their specific needs.


R1CS extensions to Bulletproofs upstream

Hi @lovesh, have you perhaps tried to get your R1CS extensions accepted by the Dalek team in the past? We have started doing some research based on R1CS for Bulletproofs, and it would be nice, from our perspective, to have contributions keep in sync with the main Bulletproofs development.

Hi. I didn't try because I thought dalek's bulletproofs repository was only
for the core protocol and not what all can be built from it.
On Fri, Feb 14, 2020 at 7:08 PM Hansie Odendaal<EMAIL_ADDRESS>wrote:

Hi @lovesh https://github.com/lovesh, have you perhaps tried to get
your R1CS extensions accepted by the Dalek team in the past? We have
started doing some research based on R1CS for Bulletproofs, and it would be
nice, from our perspective, to have contributions keep in sync with the
main Bulletproofs development.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lovesh/bulletproofs-r1cs-gadgets/issues/7?email_source=notifications&email_token=AAXYTCKR6AZG2OLJDUHPGEDRC2NFJA5CNFSM4KVIIRQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INSI6TA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXYTCMMJY3ZAWFRXRKFYC3RC2NFJANCNFSM4KVIIRQQ
.

--
Thanks for your time

Would you mind if we try to get it added? I think it would be worthwhile.

Sure.
On Mon, Feb 17, 2020, 12:13 PM Hansie Odendaal<EMAIL_ADDRESS>wrote:

Would you mind if we try to get it added? I think it would be worthwhile.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lovesh/bulletproofs-r1cs-gadgets/issues/7?email_source=notifications&email_token=AAXYTCJ7TNSCQZM67O3EIALRDIWYJA5CNFSM4KVIIRQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5HV2I#issuecomment-586840809,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXYTCNLBGFJ4NIKBLMYG7LRDIWYJANCNFSM4KVIIRQQ
.


set nixpkgs config as an attrset instead of a function

The nixpkgs manual seems to prefer attrset and we are not using the argument anyway.
I noticed this due to a recent breakage: https://github.com/NixOS/nixpkgs/pull/72376#discussion_r341883853

fixed in: https://github.com/Mic92/nix-review/pull/74


[TC-IDM-7.1] Need a yaml syntax support for following steps

Feature description
Need a yaml framework support for implementing the following steps in yaml :
1. RD1, RD2, RD3, RD4, RD5 send 3 Subscribe Request Messages to DUT.(Total - 15 active subscriptions)
Each subscribe requests should contain 3 different paths.
The subscription request from RD1 should contain 4 paths. +

Platform
all
Platform Version(s)
No response
Anything else?

https://github.com/project-chip/connectedhomeip/issues/23351


Opening a multi-step quickpick when focus starts in the terminal dismisses when moving to the 2nd step

In GitLens, I have many multi-step quickpicks, and recently (today?) navigating from the first step to the second fails -- the second step flashes up for a brief second and disappears. While if focus starts from the editor or another view everything works fine.
Steps:

Focus the terminal
Open the command palette and choose GitLens: Git Commands (or GitLens: Git Command Palette if you are on the RC)
Pick the switch step
:bug: You should see a list of branches to switch to, but instead the quickpick is just dismissed

If you follow the same steps with the focus outside the terminal all is well.

Can repro, only in windows, only when the problems view is in the terminal pane.

Thanks @eamodio, good catch.


How to use it?

https://github.com/kolos26/GEOFS-LiverySelector?tab=readme-ov-file#how-to-use-the-test-feature


Fix: Misplaced Log in/Sign up Pop-up

Description:
This PR fixes the misplaced Log in/Sign up pop-up window, improving the overall UI and user experience.
Resolves issue #775
Log in Page

Sign up Page

Changes:

Shifted Log in/Sign up feature to a new page.
Responsive design .

Testing:

Verified fix across various screen sizes and devices
Confirmed no overlap with other UI elements

Checklist:

[x] Tested on Chrome, Firefox
[x] Tested on mobile devices

@akash70629
Please see the conflicts highlighted in the image above. Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


New Vnet vs Subnet in existing Vnet?

Hi,
We have an existing Vnet with our AKS cluster in one Subnet. We can either place the Application Gateway in a new Subnet in the existing Vnet or create a new Vnet and peer the two Vnets.
What is the best practice? Pro/con?
Regards Peter

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

ID: 88466307-81b8-1e5b-7f2c-191d8e818071
Version Independent ID: 08ad49f3-6a57-b925-794a-37215e985aba
Content: Frequently asked questions for Azure Application Gateway
Content Source: articles/application-gateway/application-gateway-faq.md
Service: application-gateway
GitHub Login: @vhorne
Microsoft Alias: victorh

Hello Team,
@TravisCragg-MSFT : When we say different vnet instances can be placed under APP G/W. But after global peering the Vnet from different region(e.g Instance in "east us" and app g/w in "west us"). I'm still not able to add the VM's to application g/w.
Do we have to more specific with configuring the Peering?
Please assist.

@MangeshDange You can add the VMs by the NIC if they are in the same VNET. If your VMs are in a different VNET, you can add them by their Public IP or DNS name using the "IP Address or FQDN" option.

@TravisCragg-MSFT: Thanks for the clarification. Can you please look into the this doc mentioning about the VNET peering requirement for APP G/w communication within and Outside VNET.
https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-faq#can-application-gateway-communicate-with-instances-outside-of-the-virtual-network-it-is-in-or-outside-of-the-subscription-it-is-in

You will still add the address via IP, you would use the internal IP instead of the Public IP. If you add an internal IP of something in a different VNET, it needs to be peered or s2s VPN joined so that the app gateway can send traffic.

@TravisCragg-MSFT: Thanks!!


Fix for random selection and exclusion

This PR fixes 2 things:

Random selection of pod (before it was always the first one, unless the first matches the exclusion)
Default value of empty for exclude list (otherwise it throws a NoneType in the list_pods)

Thanks for the contribution!


Fulltext Search uncorrect

This is correct. Full text search uses a fuzzy searching algorithm
https://github.com/bevacqua/fuzzysearch

OK, it is really no such an issue.

Is there a behavior where the result is just like the first and last result of that image search result? FuzzySearch is too extreme for my case and only matching from the beginning of the results is also not enough for me. Thank you.. looking forward to hearing from you.
Perhaps a way to override the default search?


[KYUUBI #5377][FOLLOWUP] Improvements and delete result on exit for saving result data file in Spark Engine

:mag: Description
Issue References 🔗

As described.
Describe Your Solution 🔧

delete result data file on exit for saving result file in Spark Engine
cleanup redundant code
fix the logging output, excluding the Some()

Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
Behavior With This Pull Request :tada:
Related Unit Tests

Checklists
📝 Author Self Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] This patch was not authored or co-authored using Generative Tooling

📝 Committer Pre-Merge Checklist

[ ] Pull request title is okay.
[ ] No license issues.
[ ] Milestone correctly set?
[ ] Test coverage is ok
[ ] Assignees are selected.
[ ] Minimum number of approvals
[ ] No changes are requested

Be nice. Be informative.

cc @lsm1

Codecov Report
Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (86bec4d) 61.61% compared to head (58b8882) 61.51%.
Report is 1 commits behind head on master.

Files
Patch %
Lines

...uubi/engine/spark/operation/ExecuteStatement.scala
0.00%
10 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5923      +/-   ##
============================================
- Coverage     61.61%   61.51%   -0.10%
  Complexity       23       23
============================================
  Files           616      616
  Lines         36387    36389       +2
  Branches       4978     4979       +1
============================================
- Hits          22419    22385      -34
- Misses        11557    11586      +29
- Partials       2411     2418       +7

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


deps: update dependencies

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

Project coverage is 71.16%. Comparing base (f080f0f) to head (1ce06cf).
Report is 27 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #357      +/-   ##
==========================================
- Coverage   72.33%   71.16%   -1.18%
==========================================
  Files          98       98
  Lines       32855    32436     -419
==========================================
- Hits        23766    23083     -683
- Misses       9089     9353     +264

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


Experiment with vectorization cache

The assumption is that when importing a lot of texts in a row (e.g. articles) there is going to be a lot of overlap in words. Right now we are already saving on disk reads through using a mmapped file for the lookup. However, there might be a chance to speed up vectorization additionally by keeping an inmemory cache. As c11y vectors are immutable, we do not have to worry about cache invalidation.
Experiments with a HNSW vector-cache have shown that a viable approach might be to a have a cache with a fixed length (to control for memory usage) that simply gets purged once it runs full. This might also help with the contextionary to speed up imports.

Sweet spot seems to be around 10,000 items which is just 12MB on a 300d vector model (24MB on a 600d).
Since both numbers are considerably smaller than the mem requirements the mmaped files usually take up, this is a no-brainer.
Gained performance on a local test data set was between 25-30%. This isn't really representative as we could by now be in a region where something else is the bottleneck. So depending on the use case the performance gain might be even bigger.

released in xxx-v0.4.10


Add a diff command

Add a diff command that can be used to inspect differences between 2 swagger specs.
https://github.com/civisanalytics/swagger-diff

Is this still a wish of yours @casualjim ?

yes it is of great interest to me

I've got a pull request about to go which implements a diff and a backwards compatability check. I was about to raise an issue when I saw this one.


Ionic 2 nav Back not working properly

I dont Know why sometimes its works and sometimes its not working..
My Code:
<ion-navbar  *navbar primary>  <ion-title>Event's Details</ion-title> </ion-navbar>
My System INFO:
Your system information:
Cordova CLI: 6.2.0
Ionic Framework Version: 2.0.0-beta.8
Ionic CLI Version: 2.0.0-beta.31
Ionic App Lib Version: 2.0.0-beta.17
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.4.5
Xcode version: Xcode 7.3 Build version 7D175

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

Actually It Happens. Sometimes it works and sometime it not..
I have really big app which Im working on it.
On particular page. Data is fetching from server and Nav bar sometime works and some times not.. And it only happens on that page not others

Hello @Ghayyas. Unfortunately without a minimal reproducible example I cannot do too much to debug the issue. If you could provide a repo that would work too. Thanks!

@jgw96 Thanks for your Reply.  Here is my File link
https://github.com/Ghayyas/Ionic2app/blob/development/app/pages/event-details/event-details.html

Hello! Thanks for the link! Is there a reason your using a style tag in your template? All styling should be done in the sass file of each component. Would you mind removing the style tag, moving all styling to sass and then testing again? Thanks for using Ionic!

Hello @jgw96 ! Thanks for your reply. There is some problem bhi saas file. If I write Some class that is only avalible for this page. But that class also valible on others page. Like
ion-scroll{
overflow-x: hidden;
overflow-y: scroll;
}
So that is why I put Style tag on it..

I removed The Style Tag.. But the Problem is same :(

@Ghayyas Ahh ok. You can take a look at our ionic-conference-app for the proper way to scope your sass styles. Unfortunately, that is the only thing that i spotted wrong with your template. If their is any way that you can provide a plunker or git repo that reproduces this issue that would be great, as I cannot reproduce this issue. I would recommend using Chrome dev tools to check for errors. Thanks for using Ionic!

@jgw96 Recently I just Upgrade my Ionic project from ionic beta 8 to beta 10 but Problem is still same.. I removed script tag and all there attributes and values but Still facing same problem. I dont think its because sass.. Expect this page.. Ionic nav button works perfectly.. but only on this is page its having problem dont know why.. :(

@Ghayyas Sorry, but because i cannot seem to reproduce this issue and it looks like this is a support issue and not an actual issue with the framework I will be closing this for now and recommending that you ask around our forum for further help. Thanks for using Ionic!

So How this issue can be fixed??

Hi I had the same issue. One page fetched some info from the server then opened a new page and sometimes the back button doesn't work.
I discovered that this was because the page was opened before the loading were dismissed.
My code where like this:

this.loading.dismiss();
this.nav.push(MyBuysPage,{"buyList":buyList});

So I changed to this and fixed the issue:

this.loading.dismiss().then(()=>{
this.nav.push(MyBuysPage,{"buyList":buyList});
});


AutoML-Zero demo fails build

Running on Ubuntu 18.04, I followed the brief setup instructions.
gcc (Ubuntu 9.3.0-11ubuntu0~18.04.1) 9.3.0
g++ (Ubuntu 9.3.0-11ubuntu0~18.04.1) 9.3.0
bazel 3.4.1

After running ./run_demo.sh
INFO: Analyzed target //:run_search_experiment (41 packages loaded, 1469 targets configured).
INFO: Found 1 target...
ERROR: /home/clayton/tree/automl/google-research/automl_zero/BUILD:272:11: C++ compilation of rule '//:experiment_util' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 63 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
experiment_util.cc:24:10: fatal error: absl/container/node_hash_map.h: No such file or directory
   24 | #include "absl/container/node_hash_map.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Target //:run_search_experiment failed to build

I confirmed that the file is present in the bazel files -
clayton@clayton-VirtualBox:~/tree/automl/google-research/automl_zero$ ls bazel-automl_zero/external/com_google_absl/absl/container/
btree_benchmark.cc  BUILD.bazel                           fixed_array_test.cc    inlined_vector_benchmark.cc              node_hash_map.h
btree_map.h         CMakeLists.txt                        flat_hash_map.h        inlined_vector_exception_safety_test.cc  node_hash_map_test.cc
btree_set.h         fixed_array_benchmark.cc              flat_hash_map_test.cc  inlined_vector.h                         node_hash_set.h
btree_test.cc       fixed_array_exception_safety_test.cc  flat_hash_set.h        inlined_vector_test.cc                   node_hash_set_test.cc
btree_test.h        fixed_array.h                         flat_hash_set_test.cc  internal

Afraid I'm seeing this exact error as well, on a docker container install I'm attempting:
Linux version 4.15.0-107-generic (buildd@lcy01-amd64-010) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)) #108~16.04.1-Ubuntu SMP Fri Jun 12 02:57:13 UTC 2020
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0
bazel 3.4.1

Looks like I was able to hack around this,
I added
"@com_google_absl//absl/container:node_hash_map"
to the BUILD file (not really sure if this makes sense or not, not that familiar with non-windows build systems..).
So that the experiment_util component looks like
cc_library(
    name = "experiment_util",
    srcs = ["experiment_util.cc"],
    hdrs = ["experiment_util.h"],
    deps = [
        ":datasets_cc_proto",
        ":definitions",
        ":instruction_cc_proto",
        "@com_google_absl//absl/algorithm:container",
	"@com_google_absl//absl/container:node_hash_map",
        "@com_google_absl//absl/memory",
        "@com_google_protobuf//:protobuf",
    ],
)

This took me to the following error
task_util.h:196:34: error: 'StrCat' is not a member of 'absl'; did you mean 'google::protobuf::StrCat'?
I hacked around this by adding
#include "absl/strings/str_cat.h"
to task_util.h.
And now it seems to work (compiles, at least)!

Those two fixes worked for me too--the demo runs!
Thanks Clayton!

Thanks, Clayton! Those are indeed the fixes needed. The problem should be fixed now by this commit.

I am running into the exact same problem when running ./run_demo.sh, despite the fix.
experiment_util.cc:25:10: fatal error: 'absl/container/node_hash_set.h' file not found
I am on macOS Catalina version 10.15.7.
I am not sure what is my gcc version (looks like I am using clang instead).
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

bazel version: 3.6.0
Was there a later commit that could have brought back the issue?

It seems some recent automatic commit caused this. It should be fixed now by this commit.

It works. Thanks a lot!


Using existing mysql instance for Flowable

I was trying to not have Flowable install a separate instance of postgres essentially dedicated only for the purposes of an instance of Flowable. So, for simplicity sake, I'm trying to move my Flowable database to an existing mysql.
My flowable instance is open source flowable version 6.7.2.
I saw these lines in ui.yaml helm chart:
{{- if and .Values.database.datasourceDriverClassName .Values.database.datasourceUrl }}
  SPRING_DATASOURCE_DRIVER-CLASS-NAME: {{ .Values.database.datasourceDriverClassName | quote }}
  SPRING_DATASOURCE_URL: {{ .Values.database.datasourceUrl | quote }}

So I added these lines in values.yaml, but it didn't work.
database:
  datasourceDriverClassName: com.mysql.jdbc.Driver

I have also tried com.mysql.cj.jdbc.Driver with no luck.
The error message I got was Caused by: java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver. What should I put as datasource driver if I wanted to use mysql? Or is there no mysql driver included in current version of flowable? If so, will it be included in future versions?
Thank you

Hi @jy006
The MySQL jdbc driver is indeed not included in the default image.
So if you want to use that you need to get it in the classpath. This could be done by creating your own image extending the default Flowable one (and adding the jdbc jar file), mounting it with a volume, or load it via a sidepod.
Regards,
Yvo


Fix #1854: Support DBT 1.0 format

Describe your changes :
see #1854

Type of change :

[x] Bug fix

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have performed a self-review of my own.
[ ] I have tagged my reviewers below.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@pmbrull Thanks for the review. Addressed your comments


Optimize the build order to use cache better.

Implements #22
Verify:

Put static(ish) repository locations at the top because those do not change often
Move shasum pins to be right after version/variant declaration because they change when those change
Merge architecture detection into the verification step to save an execution step and remove the build environment portability hack

Final:

install python as late as possible, after copying entrypoint so that we have cache invalidation by entrypoint changes
move the entrypoint inclusion as far down the process as we can

Draft until we can test this.

This is ready now. Good test that the CI process works. I'm going to get some PRs in now.

So, in the 7.5 years release history of Dogecoin there has never been a gitian rebuild after release publication. So shasums, versions, and are much more statically linked to the version/variant/Dockerfile than with a Dockerfile that compiles from source, and definitely changes less than the debian-packaged python, which has seen 5 CVEs this year so that would have been at least 5 changes to, say, a 1.14.3 image if we'd done it back then.
This problem will resolve itself shortly because hadolint will force us to pin versions and do the blood, sweat & tears work of maintaining the dependencies precisely - unless we suppress it, but I'd rather go with the pinning and do the work like a smarty shibe. We just need to find a good way to alert the repo of a needed change, maybe dependabot if it can help us with this. It's on my list to look into as soon as we get through the current series of proposed Dockerfile changes, including this PR.
That said, we also need to pin gitian builder somehow 😕


Unexpected argument warnings in Pycharm for @define-derived syntax

Thanks for maintaining attrs 🙂 I was hoping to start using the newer syntax in a project, but ran into a tiny issue:
Code sample
import attr

@attr.s
class A:
    a: str
    b: int
    c: bool

    @classmethod
    def from_method(cls, a, b, c):
        return cls(a=a, b=b, c=c)

@attr.define
class B:
    a: str
    b: int
    c: bool

    @classmethod
    def from_method(cls, a, b, c):
        return cls(a=a, b=b, c=c)

What happens
For attrs.define, attrs.frozen, attrs.mutable, etc. all trigger IDE warnings in Pycharm.

Do you have any idea what the issue might be here? I tried looking at the stubs Pycharm uses, but wasn't able to find any obvious differences that would explain this.

I would imagine it's an issue on their end. Does it also happens when you use attrs.define (as opposed to attr)?

The issue persists for both import paths, unfortunately

Please, please, please report this to PyCharm, or upvote a potentially existing bug (I think we already had a similar bug here). They tend to be customer-oriented so this is our best chance.

Before I do, just to eliminate the possibility of long unnecessary waits for several parties: do you not know of any difference between define and attrs decorators that could explain this? There's no dynamic argument recognition based on default properties that Pycharm might be inferring correctly?
If not, I'd be happy to report it there and link it back to this discussion.

There's https://peps.python.org/pep-0681/, which we do support both for attr.s and define.

Yeah it's important to remember that the interference of what an attrs (or dataclass)-decorated class looks like does not come from the type stubs. The type checkers have to implement their own support. PyCharm added direct support quite early, Mypy has a separate plugin.
PEP 681 that Tin mentioned is supposed to fix that, although a lot of that is the lowest common denominator. But it's better than nothing.

Thanks for the quick responses. I'll open an issue in the Pycharm bug tracker when I get a chance and link to it here.
Would it make sense to keep this issue open in the meantime, or would you prefer closing it?

I guess we can leave one open so people don't open more issues.
Also: @pauleveritt my heart is broken by your lack of love. ;) Pls poke around? 🥺🐶

I added a comment to https://youtrack.jetbrains.com/issue/PY-47532/Suuport-new-attrs-aliases, since this ticket seems to be pretty closely related 👍

@hynek Customer oriented but PyCon hungover. I'll post something in our Slack now.

There's nothing we can do her – let's pray to the Kanban gods.


native-build/target/lib64 is generated, but native-build/target/lib wanted

Hi,
I'm running maven-hawtjni-plugin in yara-java  project on OpenSuse Leap x64.
As a result, .so and .la files are generated in native-build/target/lib64 directory by hawtjni, but in BuildMojo path to "lib" is hardcoded and as result I got error
[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.14:build (default) on project libyara: build failed: org.apache.maven.plugin.MojoExecutionException: Make based build did not generate: /opt/workspace/samples/yara/yara-java/target/native-build/target/lib/libyara-wrapper.so -> [Help 1]

Pls advice how I can solve this issue and why despite of files are generated by hawtjni in "lib64", BuildMojo uses hardcoded "lib" directory.
Thanks,
Nikolay

solved it by using --libdir=${project.build.directory}/native-build/target/lib arg for linux amd64


Add a simplified SimpleCascadingMenuApp example

The current MenuAnchor example in the API Docs is comprehensive and complicated for beginners. I have added a simple bare bone example without shortcuts, enums, etc in examples/api/lib/material/menu_anchor/ as menu_anchor.3.dart. The example is contributed by @mafreud
Fixes https://github.com/flutter/flutter/issues/148104
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[x] All existing and new tests are passing.

@kaljitism
Can you please push an empty commit? This would probably flutter-gold check as this PR doesn't have any expected golden test changes.
Execute git commit --allow-empty -m "Kick tests" and push

@TahaTesser Why am I failing tree-status check???

@TahaTesser Why am I failing tree-status check???

It's unrelated to the PR. We've all green checks now.

@bleroux In examples/api/lib/material/menu_anchor/menu_anchor.*_test.dart, we are importing ,dart files as example and accessing it that way in the test?? Can I go ahead and create PRs to simplify that as well??
reference:

@bleroux In examples/api/lib/material/menu_anchor/menu_anchor.*_test.dart, we are importing ,dart files as example and accessing it that way in the test?? Can I go ahead and create PRs to simplify that as well??

Sorry, my bad, I checked and all examples are using the 'as example' syntax. So for homogeneity, it is better to keep it.

Is there a way I could bypass "not having a test" through git?? What is the best practice in such cases?

Is there a way I could bypass "not having a test" through git?? What is the best practice in such cases?

Oh, I saw that you removed the whole test file, sorry for the misunderstanding: my comment was about removing the second test inside this file not the whole file.
Please restore the file examples/api/test/material/menu_anchor/menu_anchor.3_test.dart with the following content:

import 'dart:async';
import 'package:flutter/material.dart';
import 'package:flutter_api_samples/material/menu_anchor/menu_anchor.3.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
 testWidgets('Menu button opens and closes the menu', (WidgetTester tester) async {
   await tester.pumpWidget(const SimpleCascadingMenuApp());

   // Find the menu button.
   final Finder menuButton = find.byType(IconButton);
   expect(menuButton, findsOneWidget);

   // Tap the menu button to open the menu.
   await tester.tap(menuButton);
   await tester.pumpAndSettle();

   // Verify that the menu is open.
   expect(find.text('Revert'), findsOneWidget);

   // Tap the menu button again to close the menu.
   await tester.tap(menuButton);
   await tester.pumpAndSettle();

   // Verify that the menu is closed.
   expect(find.text('Revert'), findsNothing);
 });

 testWidgets('Does not show debug banner', (WidgetTester tester) async {
   await tester.pumpWidget(const SimpleCascadingMenuApp());
   expect(find.byType(CheckedModeBanner), findsNothing);
 });
}

Oh, I saw that you removed the whole test file, sorry for the misunderstanding: my comment was about removing the second test inside this file not the whole file. Please restore the file examples/api/test/material/menu_anchor/menu_anchor.3_test.dart with the following content:

Sorry, my bad, I have updated the test!

Sorry for late update, I had my monthly distro change ceremony!
@TahaTesser @bleroux  If there are any other such issues like these. Missing examples/ tests/ simple bugs, you could assign me, I can work on. few issues daily and reduce the friction of the team!

@kaljitism Can you try to rebase this PR? It might help with the flutter-gold step which is wrongly complaining about a golden change.

@bleroux  Why I am failing the tree-status test? How can I fix this?


ibu: adding a unit test for IBU

This covers the public functions of the imagebasedupgrade.go file.
Signed-off-by: Alexander Chuzhoy<EMAIL_ADDRESS>

wrong MR.


kpack (specifically cf-for-k8s) integration with ECR

Are there any thoughts on the future of being able to incorporate kpack (specifically kpack in the context of cf-for-k8s) with ECR?
background-- I'm interested in using ECR as an image registry for kpack to use in the context of cf-for-k8s, however according to some slack searches I'm getting the impression ECR doesn't currently follow or implement capabilities for kpack to use ECR in the same way it does dockerhub, Azure Container Registry, Google Container registry, artifactory, harbor, all that good stuff.
... I've also tried configuring cf-for-k8s to use an ECR repository for images, and the CustomBuilder threw errors due to being unable to create a repository grouping on ECR (e.g. a "repo" on dockerhub, a "repo/library" on harbor, etc.); it appears maybe the same concepts don't exist with ECR (apologies I don't have specific logs, this is from memory)
Apologies if this question more-so belongs in the cloudfoundry/cf-for-k8s repository.
Thanks for folks' time 👍

Hi @aegershman, we have not investigated ECR recently and need to figure out exactly where ECR is noncompliant. In the meantime, This might be a better issue to ask in the buildpacks slack itself.

No worries, thank you 👍  closing for tidyness


TypeError: init() got an unexpected keyword argument 'bf16'

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
self.model = AutoModelForCausalLM.from_pretrained(model_path,torch_dtype="auto",device_map="auto",trust_remote_code=True, bf16=True).eval()
self.tokenizer = AutoTokenizer.from_pretrained(model_path)
self.generation_Config = GenerationConfig.from_pretrained(model_path, trust_remote_code=True)
期望行为 | Expected Behavior
无
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
4090显卡，transformer 4.37
，使用bf16=True

备注 | Anything else?
TypeError: init() got an unexpected keyword argument 'bf16'

Don't mix the use of Qwen and Qwen1.5 code examples. For information on Qwen1.5, please refer to https://github.com/Qwen/Qwen1.5 or https://qwen.readthedocs.io/en/latest/.


Control externally section in Slider documentation should use ButtonGroup

Provide the exact quote of the error or issue
The slider's control externally section example should use <ButtonGroup /> component.
https://yamada-ui.com/components/forms/slider#control-externally-only
Below is an example of how we could fix it.
const [value, setValue] = useState<number>(50)

return (
  <>
    <Text>Value: {value}</Text>

    <Slider value={value} step={10} focusThumbOnChange={false} />

    <ButtonGroup as={Center} w="full" gap="md">
      <Button
        isDisabled={value === 0}
        onClick={() => setValue((prev) => (prev !== 0 ? prev - 10 : prev))}
      >
        -10
      </Button>
      <Button
        isDisabled={value === 100}
        colorScheme="blue"
        onClick={() => setValue((prev) => (prev !== 100 ? prev + 10 : prev))}
      >
        +10
      </Button>
    </ButtonGroup>
  </>
)

Does the docs page already exist? Please link to it.
No response
Are you willing to participate in fixing this issue and create a pull request with the fix?
None

Can I work on this section? kindly assign it to me!

@2NNS-V
Hi, thanks for the comment!
Yes, pls!


Consistently getting: command failed: {0} Exit code 1 Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'

Hi, I'm using docker-compose setup with the latest devcontainer extension 0.375 and the latest VSCode as of now (1.91.0).
The setup was working until I recently rebuilt the project (so I think it has to do with any recent VSCode or this CLI update). I am getting:

Then, looking at the logs I consistently get:
[2024-07-08T13:52:52.612Z]
[2024-07-08T13:52:52.612Z] Stop (1 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-07-08T13:52:52.612Z] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-07-08T13:52:52.613Z] Stop (1 ms): Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-07-08T13:52:52.613Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-07-08T13:52:52.614Z]
[2024-07-08T13:52:52.614Z]
[2024-07-08T13:52:52.614Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-07-08T13:52:52.614Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-07-08T13:52:52.615Z]
[2024-07-08T13:52:52.615Z]
[2024-07-08T13:52:52.615Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-07-08T13:52:52.615Z] Stop (249 ms): Resolving Remote
...

I've tried removing all added devcontainer features, changing the base image to the official Ubuntu (mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04), and removing any environment variables. I still get the same message.
Does anyone know what could be the culprit?
Downgrading either the CLI/VSCode could be a workaround but it's not a solution for me.
Thank you!

Please append the Dev Containers log from when this happens. (F1 > Dev Containers: Show Container Log)


peer-routing getClosestPeers returns more than K nodes when using kad dht

The getClosestPeers function in peer-routing.js returns more than K nodes when using the kad dht module.
The reason for this is that the getClosestPeers function in the kad-dht module yields not only FINAL_PEER events, but also DIALING_PEER, PEER_RESPONSE and SENDING_QUERYevents. In order to be compatible, either getClosestPeers from kad-dht module should return only FINAL_PEER events, or the getClosestPeers function in peer-routing.js should filter sources by FINAL_PEER events.

@zeroxbt can you open a PR to fix this? :pray: :pray:

@wemeetagain I made a PR for this, and also found a bug that slows down kad dht find closest peers quite a bit. Please take a look when you have some time :)

If you're only interested in the closest peers, you should disregard all events that are not FINAL_PEER.  The others are useful for tracing and diagnostics, and for giving the user some feedback their query has not stalled but should not be treated as actual results.


How to embed a UIPickerView into custom alert?

How do i go about embedding a uipickerview into a custom alert? Is it possible? Thanks

regards!
I used this solution
      //quit done button
        let appearance = SCLAlertView.SCLAppearance(
            showCloseButton: false
        )
        //init sclalertview object
        let alert = SCLAlertView(appearance: appearance)
        let subview = UIView(frame:CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 90))
        let picker = UIPickerView()
        picker.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 90)
        subview.addSubview(picker)
        alert.customSubview = subview

you must also create this extension
extension SCLAlertView: UIPickerViewDataSource, UIPickerViewDelegate{
    public func numberOfComponents(in pickerView: UIPickerView) -> Int {
        return 1
    }

    public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
        return 10
    }

    public func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
         return "First \(row)"
    }
}

work perfectly
how to get which elements select in pickerview?
thank


[Docs] Use Doyxgen Awesome Doxygen theme

Description
After digging on Slack, I found that MaterialX was using this Doxygen Awesome theme which looks a lot more modern than our current theme.
Let me know what you all think and if this is something we want to move forward with.

[ ] I have updated the release notes.

Really happy as the latest commit includes the permanent paragraph links on all of the anchorable headers in the docs 🔥

Took the liberty of rebasing this on main (can't merge until rebased, and can't use GitHub's interface because it doesn't sign the commits :roll_eyes: )


[Oracle] Broken schemas with no content

Description

When I run these, I get back correct results
SELECT U.* FROM ALL_USERS U
WHERE (U.USERNAME IS NOT NULL)

SELECT U.* FROM DBA_USERS U
WHERE (U.USERNAME IS NOT NULL)

I tried switching between these drivers, but with no success
ojdbc11-<IP_ADDRESS>
ojdbc8-<IP_ADDRESS>
ojdbc10-<IP_ADDRESS>
DBeaver Version
Community edition 24.1.0
Operating System
Win 10 Pro
Database and driver
Database: Oracle Oracle Database 19c Enterprise Edition Release <IP_ADDRESS>.0 - Production
Version <IP_ADDRESS>.0
Driver: Oracle JDBC driver <IP_ADDRESS>.0
Steps to reproduce
Error log

Event details
Exception Stack Trace: An exception stack trace is not available.
Session Data
eclipse.buildId=unknown
java.version=17.0.6
java.vendor=Eclipse Adoptium
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Framework arguments:  -eclipse.keyring C:\Users\reiter\AppData\Roaming\DBeaverData\secure\secure_storage
Command-line arguments:  -os win32 -ws win32 -arch x86_64
dbeaver_issue_log.log
Additional context
No response

Hello @Reitertom
It can be a driver issue.
Could you please try this solution https://github.com/dbeaver/dbeaver/issues/15144#issuecomment-1011636822 ?

@LonwoLonwo Hi,
as far as I understand, the comment suggests using driver ojdbc11-<IP_ADDRESS>?
Tried that, but still the same

Ok, could you please try to enable this setting?

@LonwoLonwo HI, I already did mess with the settings here a bit. Looks like this right now

@Reitertom Hi, are you sitting behind the firewall? I can see multiple network errors in the log.

@Destrolaric Hi, yes Im behind company firewall. The connection to Maven repo is blocked, so I had to download the driver files manually. But since I connected to the DB, I forgot to mention that

@Destrolaric Hi,
I downloaded and added those libs as .pom and also as .jar, but nothing changed as you can see on the screenshots

Regards
T.

After 2 restarts it started working, so solved!
Thanks
T.


regen form - selecting rows not working

Selecting a row in the table should highlight that row and populate the entry boxes, currently, you can't click anything in the table.

fixed with c2033dc897bc591e965fbb56c1f42bfe9c492a00


Windows wallet keep disappearing

After I install, run the wallet everything is fine. But when I want to look for the .exe of the wallet it's gone. Every time after I run the wallet, the .exe disappears.
I don't have activated the antivirus nor the firewall.
Hope you can tell me how to fix.
Best to the project

Are you running the 64bit wallet or the 32bit? I have zero issues with the 32bit one. The .exe file should always be in your download folder, unless you moved it to a different location after download. I moved mine to my desktop for easy access, but I keep the wallet open and running 24/7.

I have the 64bit, and always after running the wallet, the .exe disappear , just the .exe nothing more

I tried that but still same problem, keeps disappearing from anywhere I put the .exe

@IamTheM8 interesting, I don't think the wallet is capable of deleting it's own executable, it's just not programmed in the code, so I guess that's the problem with your windows setup, unfortunately I can't help with that.

@IamTheM8 you can try to use this method to disable deletion, maybe it will help: https://answers.microsoft.com/en-us/windows/forum/windows_7-files/protect-files-from-being-deleted/814dbe4c-8957-4e39-9fd7-b613e2812851?auth=1


how to make the responsive?

I am not sure how to make the responsive of angular2-useful-swiper.
for example, I wrote the config like below.
config: SwiperOptions = {
    pagination: '.swiper-pagination',
    paginationClickable: false,
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    spaceBetween: 30,
    slidesPerView: 3 // show 3 slides in the screen
  };

so at desktop size, 3 slides in the screen, at laptop, 2 slides, and at mobile only 1 slide in the screen.
I attached images here.

please review them and give me any suggestions.

Maybe you could set a listener to window resize in your component and assign the slidesPerViews variable deppending on your breakpoints, if you're using FlexLayout library you can subscribe to ObservableMedia and modify your variable.
slidesPerView; // Manipulate this variable in breakpoints
config: SwiperOptions = {
    pagination: '.swiper-pagination',
    paginationClickable: false,
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    spaceBetween: 30,
    slidesPerView: this.slidesPerView,
  };


paging for the &scraper=amazon-serp

How do i call the next page when using the amazon-serp?

@stevendelarwelle the best way to call the next page while using ProxyCrawl is to use Amazon’s pagination. To better understand how you can do it, please see the instructions below:
First, please note that Amazon has the following URL parameter to specify the page:
&page=2 or &page=3 etc..
To get to the next page, you can simply replace the page number per API request. You may refer to the sample URLs below:
Page 1: https://www.amazon.com/s?k=games
Page 2: https://www.amazon.com/s?k=games&page=2
Page 3: https://www.amazon.com/s?k=games&page=3
Remember to fully encode the URL when sending your request. Here’s an example:
response = api.get('https://www.amazon.com/s?k=games&page=3')

If you have other questions or concerns, you may contact our technical support team here, and we will be more than willing to assist.

so calling https://www.amazon.com/s?k=games&page=3?scraper=amazon-serp would bring page 3 of the results?
And another question, are the results returned in the json the same order as they are on the webpage being scraped?

@stevendelarwelle yes, just make sure you use the parameters properly. One thing is the amazon URL, and the other are the parameters from the ProxyCrawl API.
So if you want to call directly without the ruby library, it would be something like this:

curl "https://api.proxycrawl.com/?token=YOUR_TOKEN&scraper=amazon-serp&url=https%3A%2F%2Fwww.amazon.com%2Fs%3Fk%3Dgames%26page%3D3"

And your second question, that is correct. The results have the same order in the json than in the website.

how do i call the scraper=amazon-serp using the ruby library? I have this:
when 'amazon'
page = page.nil? ? "" : "?page=#{page}"
url =<EMAIL_ADDRESS>+ page + "&scraper=amazon-serp"
else
raise
end
begin
  response = scraper_api.get(url)
  puts response.status_code
  puts response.original_status
  puts response.pc_status
  puts response.body
  case @cls_name
  when 'amazon'
    amazon(response)
  end
rescue => exception
  puts exception.backtrace
end

Passing the scraper param is similar as passing any other parameter to the ruby library like the example here.
Please find below a simple example on how to use the scraper=amazon-serp param or with the autoparse=true param:
options = { scraper: 'amazon-serp' }
# options = { autoparse: 'true' } # Or you can use this dynamic param instead of specifying the scraping name
response = api.get('https://www.amazon.com/s?k=games&page=3', options)
response_body = response.body
puts JSON.parse(response_body)['body’]


File-Scoped namespaces and implicit usings

I know this is a big one (almost all files changed) and I'm not sure if this is something you wanted, but it really wasn't too much work, and I wanted to try the dotnet format tool anyways, so no worries if you don't want to accept this one ;-)
I only  added
dotnet_sort_system_directives_first = true:warning

csharp_style_namespace_declarations = file_scoped:warning

to editorconfig and ran the dotnet format tool.
I also enabled ImplicitUsings in the Build.Directory.props file and removed all the unnecessary usings.

oops there's conflicts... let me try that again after pulling the latest changes ;-)


Missing license

Hello!
This project doesn't currently have a license listed. I'm wondering if I can use this project to add Zig diffing into difftastic. AFAIK, this project would need to be licensed under an MIT-compatible license for me to do that.
Could a license be added to the repo? 😄

Srr for late reply. I'm in middle at moving to a new place. Will check back as soon as posible

No worries at all! I appreciate you taking the time to look at it when you
have time.
Thanks!
On Thu, Mar 31, 2022, 5:12 AM maxxnino @.***> wrote:

Srr for late reply. I'm in middle at moving to a new place. Will check
back as soon as posible
—
Reply to this email directly, view it on GitHub
https://github.com/maxxnino/tree-sitter-zig/issues/13#issuecomment-1084304680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACBSF4V3YPXAAJT5YJEWDIDVCVUBPANCNFSM5R74LKXA
.
You are receiving this because you authored the thread.Message ID:
@.***>


CU-h2zxbe Now handling invalid transaction ID properly when uploading…

… or downloading via scripting

Task linked: CU-h2zxbe Scripting download: server exception in case the passed transaction ID is invalid


[Event Request] Codeunit 80 "Sales-Post".PostVATDelay

Please add these events.
local procedure PostVATDelay(SalesHeader: Record "Sales Header"; InvoicePostBuffer: Record "Invoice Post. Buffer"; ToPost: Boolean; CurrFactor: Decimal; PostingDate: Date; IsCorrection: Boolean; VATPostSet: Record "VAT Posting Setup")
var
    GenJnlLine: Record "Gen. Journal Line";
    Sign: Integer;
begin
    // NAVCZ
    if ToPost then
        Sign := 1
    else
        Sign := -1;

    with GenJnlLine do begin
        Init;
        "Posting Date" := PostingDate;
        "VAT Date" := PostingDate;
        "Original Document VAT Date" := SalesHeader."Original Document VAT Date";
        "Document Date" := SalesHeader."Document Date";
        Description := SalesHeader."Posting Description";
        "Reason Code" := SalesHeader."Reason Code";
        "Document Type" := GenJnlLineDocType;
        "Document No." := GenJnlLineDocNo;
        "External Document No." := GenJnlLineExtDocNo;
        "Account No." := VATPostSet."Sales VAT Delay Account";
        "System-Created Entry" := InvoicePostBuffer."System-Created Entry";
        "Source Currency Code" := SalesHeader."Currency Code";
        if IsCorrection then
            Correction := not InvoicePostBuffer.Correction
        else
            Correction := InvoicePostBuffer.Correction;
        "Gen. Posting Type" := "Gen. Posting Type"::Sale;
        "VAT Bus. Posting Group" := InvoicePostBuffer."VAT Bus. Posting Group";
        "VAT Prod. Posting Group" := InvoicePostBuffer."VAT Prod. Posting Group";
        "Tax Area Code" := InvoicePostBuffer."Tax Area Code";
        "Tax Liable" := InvoicePostBuffer."Tax Liable";
        "Tax Group Code" := InvoicePostBuffer."Tax Group Code";
        "Use Tax" := InvoicePostBuffer."Use Tax";
        "VAT Calculation Type" := InvoicePostBuffer."VAT Calculation Type";
        "VAT Base Discount %" := SalesHeader."VAT Base Discount %";
        "VAT Posting" := "VAT Posting"::"Manual VAT Entry";
        "Shortcut Dimension 1 Code" := InvoicePostBuffer."Global Dimension 1 Code";
        "Shortcut Dimension 2 Code" := InvoicePostBuffer."Global Dimension 2 Code";
        "Dimension Set ID" := InvoicePostBuffer."Dimension Set ID";
        "Job No." := InvoicePostBuffer."Job No.";
        "Source Code" := SourceCodeSetup."Sales VAT Delay";
        "Bill-to/Pay-to No." := SalesHeader."Bill-to Customer No.";
        "Source Type" := "Source Type"::Customer;
        "Source No." := SalesHeader."Bill-to Customer No.";
        "Posting No. Series" := SalesHeader."Posting No. Series";
        "Bal. Account No." := VATPostSet."Sales VAT Delay Account";
        Quantity := Sign * InvoicePostBuffer.Quantity;
        Amount := Round(Sign * InvoicePostBuffer.Amount * CurrFactor, Currency."Amount Rounding Precision");
        "VAT Amount" := Round(Sign * InvoicePostBuffer."VAT Amount" *
            CurrFactor, Currency."Amount Rounding Precision");
        "VAT Base Amount" := Amount;
        "Source Currency Amount" := Round(Sign * InvoicePostBuffer."Amount (ACY)" * CurrFactor,
            Currency."Amount Rounding Precision");
        "Source Curr. VAT Amount" := Round(Sign * InvoicePostBuffer."VAT Amount (ACY)" * CurrFactor,
            Currency."Amount Rounding Precision");
        "Source Curr. VAT Base Amount" := "Source Currency Amount" - "Source Curr. VAT Amount";
        "VAT Difference" := Round(Sign * InvoicePostBuffer."VAT Difference" * CurrFactor,
            Currency."Amount Rounding Precision");
        if SalesHeader."Perform. Country/Region Code" <> '' then begin
            "Perform. Country/Region Code" := SalesHeader."Perform. Country/Region Code";
            "Currency Code VAT" := SalesHeader."Currency Code";
            if CurrFactor <> 1 then
                "Currency Factor VAT" := SalesHeader."VAT Currency Factor"
            else
                "Currency Factor VAT" := SalesHeader."Currency Factor";
        end;
        "Gen. Bus. Posting Group" := InvoicePostBuffer."Gen. Bus. Posting Group";
        "Gen. Prod. Posting Group" := InvoicePostBuffer."Gen. Prod. Posting Group";
        "VAT Delay" := true; // NAVCZ
        //-------------------------------------------------OnBeforePostVATDelayRunGenJnlPostLine:BEGIN
        OnBeforePostVATDelayRunGenJnlPostLine(SalesHeader, GenJnlLine);
        //-------------------------------------------------OnBeforePostVATDelayRunGenJnlPostLine:END
        RunGenJnlPostLine(GenJnlLine);
    end;
end;

[IntegrationEvent(false, false)]
local procedure OnBeforePostVATDelayRunGenJnlPostLine(SalesHeader: Record "Sales Header"; var GenJnlLine: Record "Gen. Journal Line");
begin
end;

There is already OnPostVATDelayOnBeforeRunGenJnlPostLine() event, we will add SalesHeader parameter.
            "VAT Delay" := true; // NAVCZ
            OnPostVATDelayOnBeforeRunGenJnlPostLine(GenJnlLine, SalesHeader);
            RunGenJnlPostLine(GenJnlLine);

There is already OnPostVATDelayOnBeforeRunGenJnlPostLine() event, we will add SalesHeader parameter.
            "VAT Delay" := true; // NAVCZ
            OnPostVATDelayOnBeforeRunGenJnlPostLine(GenJnlLine, SalesHeader);
            RunGenJnlPostLine(GenJnlLine);

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. We will update this issue with information about availability. 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.

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. We will update this issue with information about availability. 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.


Lots of new documentation.

Also, change the handle_tls_handshake() argument to be the session object,
fixing #48

Closes #48


Set up your Kanban board

We have setup the Kanban board as follows

Project link Kanban

We are a team of three and here is the list of our members

@getssh Works as team member #1
@BahirHakimy Works as team member #2
@AyomipoMajek Works as team member #3

Hi @BahirHakimy, @getssh and @AyomipoMajek
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
📌 Descriptive issue✅
📌 Great working on the setup of the project board ✅
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


added static files and templates

I have added all the static files and templates in it.

Files added to main branch


Transparent window shadow artifacts on MacOS

Describe the bug
We have been experiencing shadow artifacts when using transparent windows on MacOS.
I managed to repeat the problem by modifying the following example to resemble our use case:
https://github.com/tauri-apps/tauri/tree/dev/examples/parent-window (attached below)
What the issue looks like:

https://user-images.githubusercontent.com/10254358/198291550-a9d05769-3a53-47b4-b61a-208e3d2e42e0.mov
Modifications to the example:
parent-window.zip
Reproduction

Download the tauri repo.
Download the zip with the modified parent window example.
Replace the existing parent window example with the attached one.
Open a command prompt and navigate to the root of the tauri repo.
Start the example application by running:
cargo run --example parent-window --features macos-private-api
Click two times on the button that produces a child window (look at the attached video).
Resize the parent window.
Scroll.
Shadow artifacts appear.

Expected behavior
No shadow artifacts should appear.
Platform and versions
MacOS version: Monterey 12.2.1
Tauri dev branch: https://github.com/tauri-apps/tauri/pull/5483/commits/4648ccc423af478610b84a9f4a6e753c39aa85f0
Stack trace
No response
Additional context
No response

Duplicate of #4243. Thanks for the report and the repro example!


CAN IT BE USED WITH DVBC

hI,
Can it be used with DVBC or its only for the IPTV?

If your DVBC device runs on Android TV (TIF Framework) then yes.


Nasty bug when using OverrideDefaultWindowCommandsBrush

After messing around with custom MetroWindow and WindowCommands styles I found a bug that disables Foreground property change for every WindowCommands' buttons and therefore keeps me from applying my custom style.  If I remove that setter, everything works as expected. So as a workaround I set the color manually in all of my custom styles.
I hope this can be fixed since it's a nice solution to simply change the color but for now it doesn't allow any further modifications to be made.

Fixed with the merged pull request #2152.


TF: Integrate cse.ms wildcard cert with Traefik ingress, and key vault

Description
What:

The aks-secure-baseline walkthrough deploys a sample application. Expose the application with a "cse.ms" domain and valid wildcard TLS certificate.

Why:

To setup aks-secure-baseline with custom domains and a valid TLS certificate

When:

On initial setup of an aks-secure-baseline environment

Where:

App gateway, and Traefik ingress controller

Tasks

[ ] Copy cse.ms TLS cert and key to key vault
[ ] Use a "cse.ms" domain in infrastructure setup

Acceptance Criteria

Access any application running in the cluster from internet
Use https and cse.ms domain

Constraints

Wild card cert is in RDC teams, will need someone with access to upload to KeyVault

References:

References #588

Should we use terraform or scripting?


Usage samples

Hello,
Is it possible to add some easy and working usage samples?? I'm studying about hibernate / redis / redisson and the documentation available, alone, doesn't make any sense for a newbie on these tools.

Hi!
Example module is not ready yet. For now you can take a look at tests https://github.com/redisson/redisson/tree/master/redisson/src/test/java/org/redisson


Update allowlist

Description
Please include a summary of the change and if relevant which issue is fixed. Please also include relevant motivation and context.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.

[x] Test A
[ ] Test B

Visual context
Please provide any relevant visual context for UI changes or additions. This could be static screenshots or a loom screencast.
Checklist:

[x] I have performed a self-review of my own code
[ ] I have requested at least 1 review (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[x] The base of this PR is master if hotfix, develop if not

update pool allowlist on goerli testnet

@zekraken-bot need your help, I need to add liquidity

Merged in weekly release


Instana Agent Operator 0.3.5

Changes included

Add support for persistentvolumes and persistentvolumeclaims

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.

I'm looking at resolving the failures

Need to update one more thing before this is ready to be merged


create account doesn't work on Xperia XZ1 compact on Oreo

Polkawallet V0.6.0

Start app
create account. enter name +password
next step
"don't take screenshots"- > OK
Backup Mnemonic -> No mnemonic appears!

Importing account doesn't work neither. I can enter mnemonic, enter name and pwd. tapping "next step" does nothing.
Device:
Sony Xperia "lilac"
OS:
Android AOSP Oreo 8.0.0
without gapps

Try v0.6.2


[setup] Can't uninstall PowerToys

Environment
Windows build number: 1903
PowerToys version: 0.15.1
PowerToy module for which you are reporting the bug (if applicable):

Steps to reproduce
appwiz.cpl -> want to uninstall PowerToys
Expected behavior
Uninstalled program
Actual behavior
Explorer process crashed/restarted, because wrong UninstallString was set. Instead of /l (logging) the parameter /x (Uninstall) must be set.
Screenshots
https://framapic.org/imRVHBXh6pI4/AHvx5bhoYiyg.png

Hi @crazyyzarc
thank you for reporting the issue and taking the time to investigate it.
The MsiExec uninstall flags is a capital i and is generated automatically as far as I know.
With that flag, the MsiExec is supposed to show the interactive install dialog, that is different based on the current state (if the product is not installed it shows the install option, if it's installed, it shows the change/repair/uninstall).
I'll look into this to better understand if there is something we can do in the MSI setup project, since we don't explicitly set that argument.
Thank you.

#2012 would be main tracking issue now.  I do think what you pointed out here is good info.


Shuffles actions

Just a quick fix to shuffle actions before returning them from board_differ.js
As a side note: ./tmp doesn't get automatically created on the first run, so the script will crash before you manually create that folder.

Issue #26 created for the /tmp problem. I noticed that everyone running the bot is overwriting each other's pixels (I guess the bot reads the diffs about the same time, and everyone paints the same pixel). Please shuffle :smile:.

@Zequez, this patch makes a big difference, so that the bot's efforts are not wasted.

Good idea, another person mentioned it before. Wasn't possible before the recent user-bundling feature.


use -1 for default tsItemMask so that delete actually happens

add delete_ts test
Maybe someone can explain to me why this is needed? This should be defaulting to cwms_util.ts_all: https://bitbucket.hecdev.net/projects/CWMS/repos/cwms_database/browse/schema/src/cwms/cwms_ts_pkg_body.sql#7082
This is defined as -1: https://bitbucket.hecdev.net/projects/CWMS/repos/cwms_database/browse/schema/src/cwms/cwms_util_pkg.sql#131 so I wouldn't think this is needed.

Yeah.  I don't see why its needed either.  It looks like it stays null on the java side.   The jooq code looks like it defaults the parameter to NULL also so it seems like jooq wouldn't be getting it wrong either.


Nav Bar back Button is not clickable.

Ionic version:  (check one with "x")
[ ] 1.x
[ *] 2.x
I'm submitting a ...  (check one with "x")
[* ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior: The back button is not not clickable when navigate to a new view.

**Expected behavior: To navigate to the previous page or view with I it the back button from the navigation bar.. **

Steps to reproduce:

**Related code: import { Component, ViewChild  } from '@angular/core';
import { NavController } from 'ionic-angular';
import { Class1 } from '../../views/page1/page1';
import { Class2 } from '../../views/page2/page2';
@Component({
selector: 'htmlfile',
templateUrl: 'htmlfile.html'
})
export class htmlFileClass {
@ViewChild('content') nav: NavController
public rootPage = Games;
pageViews: Array<{ title: string, component: any }>;
constructor(
public navCtrl: NavController

) {
this.pageViews= [
{ title: 'Page Title 1', component: Class1 },
{ title: 'Page Title 2', component: Class2 }
];
}
openPage(view) {
console.log(view);

this.navCtrl.push(view.component, {
  title: view.title
});

}
}**

The problem with this was that the
ion-title {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
text-align: center;
}
so it had cover the back button making it not receiving the click event from the user... after inspecting the html elements with chrome I fixed it with:
ion-title {
position: absolute;
top: 0;
left: 25%;
width: 50%;
height: 100%;
text-align: center;
}

Hello, thanks for using Ionic! Unfortunately I cannot reproduce this issue, could you post a repo or plunkr that I can use to reproduce this issue please?

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!


Integrate with Logback

I gave this a go and would like feedback.
I have no assertions as I do not have a good way of doing this right now.
I could have a fake Client which stored the errors internally.
This is not a log4j appender as requested in #2, but logback is superior.

Is this ever going to be merged to main branch? If not, what is recommended solution to get it working with Log4j?

@romanr: sorry, but this PR should not be open any more. as a result of this discussion I created https://github.com/codereligion/bugsnag-logback back then. it seems @halorgium and me forgot about this initial PR. you can also see a link to the project here: https://bugsnag.com/docs/notifiers at the bottom.
@halorgium I think you can close this PR.

Closing this in favor of the Bugsnag Logback notifier.


[FEATURE REQUEST] Always GENERATE a new password for Ansible-vault

Is your feature request related to a problem? Please describe.
Restarting the epicli installation process keeps the old ansible-vault password stored in the file
even though it asks for a new password at the very beginning of the process.
So if one will fall into temptation of generating a new password then the installation process will fail with the error described below.
Describe the solution you'd like
It would be good to delete the old password if the new one is being asked for at the process begining.
Additional context
The error that occurs when using the new password:
TASK [kubernetes_master : Create PKI files] fatal: [ubu1804a]: FAILED! => {
    "msg": "Decryption failed (no vault secrets were found that could decrypt)"
}

DoD checklist

Changelog

[ ] updated
[ ] not needed

COMPONENTS.md

[ ] updated
[ ] not needed

Schema

[ ] updated
[ ] not needed

Backport tasks

[ ] created
[ ] not needed

Documentation

[ ] added
[ ] updated
[ ] not needed

[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade
[ ] backup/restore

[ ] Idempotency tested
[ ] All conversations in PR resolved
[ ] Solution meets requirements and is done according to design doc
[ ] Usage compliant with license

Not going todo anymore feature requests for Epiphany.