Unemployment Rate incorrectly named!

The unemployment rate series is actually the Labor Force Series! This is a big deal!

So this is a crappy update, due completely to the fact that my scraper fetched all the time series information as follows:

Got all the states from this link: http://data.bls.gov/cgi-bin/surveymost?la
Fetched all the TimeSeries IDs from the state page like: http://data.bls.gov/cgi-bin/surveymost?la+01
Then assigned the TimeSeries the labels: [labor force, employment, unemployment	, unemployment rate] because that was the order on this page: http://data.bls.gov/cgi-bin/surveymost

This is wrong, instead the mapping should be:
[
    {
        "original": "labor force",
        "actual": "unemployment rate"
    },
    {
        "original": "unemployment rate",
        "actual": "labor force"
    },
    {
        "original": "employment",
        "actual": "unemployment"
    },
    {
        "original": "unemployment",
        "actual": "employment"
    }
]

In order to fix this:

Update the series.title column: rsplit("-", 1) on the title, and replace the mapping, all lower case.

Update the states_series.dataset mapping

Update the states_series.slug mapping to the slugified version

This should sort it out, and the following number of rows should be updated in the database:
series: 408
states_series: 400


Unable to build ACI using isolators

Build a valid v0.4.0 image manifest with the following isolator using actool v0.4.0:
{
    "name": "os/linux/capabilities-retain-set",
    "value": {
        "set": ["CAP_NET_ADMIN"]
    }
}

You will get the following error message:
build: Unable to close image workspace/aci/kube-proxy.aci: json: error calling MarshalJSON for type *types.App: json: error calling MarshalJSON for type json.RawMessage: unexpected end of JSON input

This appears to be a combination of two factors:

Isolator's UnmarshalJSON does not populate the ValueRaw field
Isolator does not have a MarshalJSON method defined, so it just uses the default marshalling process. This, in turn, tries to marshal the nil ValueRaw field, which subsequently fails.

We need to implement MarshalJSON to validate and properly marshal the value field of the Isolator struct.

The simplest fix here is to make Isolator.ValueRaw a *json.RawMessage. We also care about being able to modify the Isolator at runtime and reserialize it, so we should also consider fully separating (de)serialization logic altogether.

Patch works for me. I expect testing to come when we refactor this per #235


ami in all the scripts are not working.

I was setting this application look like cloudhacker TF script and other script need to get updated there ami version
example :
ami = "ami-04580aa96a68a006c" <== line 130 in /setup-files/terraform/cloudhacker/setup)/cloudhacker.tf
other ami are also outdated not in used anymore
please update the script.
plz fix SSH issue also change ami with different one but having other issue like ssh denied :/

Permission for the following AMIs have been fixed. They are now public, as required by the TF scripts.

ami-04580aa96a68a006c
ami-05a1c1724ec25d290
ami-018983eec519a0fa9

Thanks working ...
Nov-26-2022


Help with log format

Hi!
Sorry to bother but I can't figure it out this log format from nginx:
log_format customformat escape=json '[$time_local][$msec] $remote_addr | $request_time s | $status | $http_user_agent | '
                 '$request_method | $scheme://$host$request_uri | '
                 '$request_body\n\n';

Log samples (I have simplified the log body and masked private data)
[11/Dec/2019:06:25:10 -0300][1576056310.262] <IP_ADDRESS> | 0.109 s | 400 |  | POST | https://foo.com.br/api/customers/?token=boo | {\"identityNumber\": \"aaa\"}

[11/Dec/2019:06:25:10 -0300][1576056310.270] <IP_ADDRESS> | 0.270 s | 400 |  | POST | https://foo.com.br/api/orders/?token=boo&referenceCodeStore=goo&version=1.1 | {\"orderNumber\":\"111\"}

[11/Dec/2019:06:25:10 -0300][1576056310.311] <IP_ADDRESS> | 0.113 s | 200 |  | GET | https://boo.com.br/api/products/SP0101-CX12?token=foo&version=1 |

[11/Dec/2019:06:25:10 -0300][1576056310.379] <IP_ADDRESS> | 0.349 s | 201 |  | PUT | https://boo.com.br/api/categories/?token=foo | { \"category\" : {\"name\":\"Esfoliantes\",\"description\":\"Esfoliantes\",\"referenceCode\":\"79\",\"parent\":\"3\",\"metaTags\":null} }

What I have tried:
goaccess api_access.log-20191211 --log-format='[%d:%t %^][%^] %h | %T s | %s | %u | %m | %^://%v%U | %r_body\n\n' --date-format=%d/%b/%Y --time-format=%T -o api20191211.html

Output:
api_access.log-20191211
Parsed 10 lines producing the following errors:

Token '2' doesn't match specifier '%s'
Token '3' doesn't match specifier '%s'
Token '7' doesn't match specifier '%s'
Token '1' doesn't match specifier '%s'
Token '6' doesn't match specifier '%s'
Token '5' doesn't match specifier '%s'
Token '7' doesn't match specifier '%s'
Token '5' doesn't match specifier '%s'
Token '6' doesn't match specifier '%s'
Token '7' doesn't match specifier '%s'

Format Errors - Verify your log/date/time format

I've also tried with changing the end of format to | %^\n\n and  | %^

I think I figure it out, the log-format don't work with |, I've replaced it for %^ and the last, %r_body\n\n also I replaced with %^
goaccess api_access.log-20191211 --log-format='[%d:%t %^][%^] %h %^ %T s %^ %s %^ %u %^ %m %^ %^://%v/%U %^' --date-format=%d/%b/%Y --time-format=%T -o api20191211.html

Glad you got a workaround. Yes, the pipe delimiter issue is part of #1303. This will be fixed in the upcoming version though.
Closing it as it is a dup from 1303. Feel free to reopen it if needed.


Get-CATemplate New-Object : Exception calling ".ctor" with "1" argument(s):

Hello,
I have no problem with other cmdlets of the module so far.
However, the Get-CATemplate doesn't work for me.
Get-CATemplate -CertificationAuthority $CA
New-Object : Exception calling ".ctor" with "1" argument(s): "There is no such object on the server."
At C:\Program Files\WindowsPowerShell\Modules\PSPKI\<IP_ADDRESS>\Server\Get-CATemplate.ps1:14 char:4
+             New-Object PKI.CertificateServices.CATemplate -ArgumentLi ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
I also tried this, but I get the same error for every Certification Authority
Get-CertificationAuthority | Get-CATemplate
I had a look a the code and tried to do it with a class object but I get the same error.
$CA = [PKI.CertificateServices.CertificateAuthority]::GetCA('Name','SubCA')
So far, so good! But then I get the same error:
[PKI.CertificateServices.CATemplate]::new($CA)
Cannot convert argument "certificateAuthority", with value:
"PKI.CertificateServices.CertificateAuthority[]", for ".ctor" to type
"PKI.CertificateServices.CertificateAuthority": "Cannot convert the
"PKI.CertificateServices.CertificateAuthority[]" value of type "PKI.CertificateServices.CertificateAuthority[]" to type "PKI.CertificateServices.CertificateAuthority"."
At line:1 char:1
 + [PKI.CertificateServices.CATemplate]::new($CA)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

Can you open ADSI Editor (adsiedit.msc) connect to configuration naming context and find this container: CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration? Are there objects under this container?

Yes, there are 72 templates.

Ok, can you open certsrv.msc MMC snap-in and check if all templates are shown correctly in Certificate Templates folder?

Yes all published certificates are present in the global list.
Was it what you meant by "shown correctly" ?

Was it what you meant by "shown correctly" ?

I mean there are no empty lines or entries with red circles.

Ok. I have never seen this situation before...
I checked again and there are no empty lines nor entries with red circles.

What OS you are running (where you execute PSPKI module)?

Also, I would suggest to run this command: Get-CertificateTemplate.

Does it fail?
Does it fail on all templates or specific one?
If the cmdlet fails only on a specific template, can you determine which one fails (templates are ordered alphabetically and should have the same ordering as in ADSI Editor)
Can you export template by using ldifde.exe tool and send it to me privately?

The Get-CertificateTemplate cmdlet returns 72 templates.
There is no error.
I've exported all templates. Just sent you a request...
I will attach the file to the IM message.
Or maybe do you have another way to send you a file...

I am running the PSPKI module on a Windows 7.
But I Tried on a Windows 2012 R2 and I have the same error.

Hi fullenw1
May I ask if you enabled any template in that particular CA? As Get-CertificateTemplate queries AD to find any available template in AD but Get-CATemplate asks the CA which templates have been added to enroll on that CA.
Best regards
Patrick

@PatrickOnGit I do believe that there are templates assigned to CA server, because stacktrace provided here: https://github.com/Crypt32/PSPKI/issues/62#issuecomment-460636569 suggests that. The code goes to CertificateTemplate constructor and fails when the code attempts to fetch template information.
I thought that there is a misconfigured template, however it doesn't seem to be the case, because Get-CertificateTemplate enumerate all templates with their properties. So CertificateTemplate class can be excluded from the issue.
I have an idea what to check. What returns ICertAdmin interface:
$CertAdmin = new-object -com CertificateAuthority.Admin
$CertAdmin.GetCAProperty($ca.ConfigString,0x1d,0,4,)

and post the output. I can think of weird certificate template name with disallowed characters in template name. My code can escape disallowed characters, but there may be a case when they are escaped twice, thus giving an error.

@PatrickOnGit
Yes there are several templates enrolled on the CA.
@Crypt32
Without flag (the 5th argument), the command returns an error

At line:1 char:52
+ $CertAdmin.GetCAProperty($ca.ConfigString,0x1d,0,4,)
+                                                    ~
Missing expression after ','.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterToken

I tried with the ASCII flag but maybe my syntax is not correct...

PS> $ca
 DisplayName                              ComputerName              IsAccessible ServiceStatus Type
-----------                              ------------              ------------ ------------- ----
SubCa                                 MyComputerName True         Running       Enterprise Subordinate CA
 PS> $CertAdmin
System.__ComObject
 PS> $CertAdmin.GetCAProperty($ca.ConfigString,0x1d,0,4,'CV_OUT_HEXASCII')
Object reference not set to an instance of an object.
At line:1 char:1
+ $CertAdmin.GetCAProperty($ca.ConfigString,0x1d,0,4,'CV_OUT_HEXASCII')
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], NullReferenceException
    + FullyQualifiedErrorId : System.NullReferenceException

Sorry, there was a typo. Try the sample again.

Which one?
Same command line with or without the 5th argument?

I have checked all template names (not the displayname).
There are only letters, numbers, hyphens and underscores.
There was also a name with a space. I removed the space and tried again but I get the same error.
Anyway the template with the space inside the name was not enrolled on the CA.
Thus I think this should have no incidence on the Get-CATemplate cmdlet.

I've just sent you the LDF export.

I fixed the call:
$CertAdmin = new-object -com CertificateAuthority.Admin
$CertAdmin.GetCAProperty($ca.ConfigString,0x1d,0,4,0)

This works fine.
There is just a weird empty line between template 9 and 10...

PS> $CertAdmin.GetCAProperty($ca.ConfigString,0x1d,0,4,0) Template1 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.1141447.9359067 Template2 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.9616680.6865592 Template3 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.6253539.6967850 Template4 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.16513310.15239775 Template5 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.10578596.7164893 Template6 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.12031352.5518132 Template7 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.11084811.9677071 Template8 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.3876726.15313120 Template9

Template10 <IP_ADDRESS>.4.1.3<IP_ADDRESS>99494.5896061.4475526.16118290.15798145.205.4944878.5042499

Oh! Just reformatted my la comment and noticed that there is no OID for template 9 in the output...

Yes, missing OID is the reason why Get-CATemplate fails. Does this template exist in AD? If yes, does it have an object identifier in attribute editor (in adsiedit.msc)?

Removed this one from the CA and now it works!
Get-CATemplate has no error anymore :)
Which attribute should I look for in Adsiedit?
I can't see anything like an OID for any template...
It's strange because with Get-CertificateTemplate -Name MyTemplate|% oid I can see the OID of the buggy template like I can see it for other working templates.

In the export I have sent you, the template is at line 2512.
You can see its OID at line 2523.

Attribute is called ms-PKI-Cert-Template-OID.

In Adsiedit, this attribute is  for all templates. That's weird... :)
If you can have a look at my file...
The template is at line 2512.
You can see its OID at line 2523.

Indeed weird, but sometimes happens. May be a bug in ICertAdmin interface implementation.

Ok I will try creating a new template with the same properties and delete the old one.

Ok I've found the reason :)
The Authenticated Users permission had been removed.
It should at least be Read.
Despite my account is a domain admin account and furthermore my account is explicitly set with Full Control permissions on this template, the template needs this specific permission for the Get-CATemplate cmdlet to run without error...
Woao!!! Thank you very much for the time you spent helping me to figure this out.
If you wouldn't be in another country I would have payed you a beer :)
But who knows... Maybe one day we will meet in person...
Furthermore, I want to thank you for the PSPKI module which is very handy. I use it a lot :)
Thanks a lot!!!

Ok I've found the reason :) The Authenticated Users permission had been removed. It should at least be Read. Despite my account is a domain admin account and furthermore my account is explicitly set with Full Control permissions on this template, the template needs this specific permission for the Get-CATemplate cmdlet to run without error...
Woao!!! Thank you very much for the time you spent helping me to figure this out. If you wouldn't be in another country I would have payed you a beer :) But who knows... Maybe one day we will meet in person...
Furthermore, I want to thank you for the PSPKI module which is very handy. I use it a lot :) Thanks a lot!!!

The root cause here is that the Certificate Authority must be able to permissioned to 'read' the CA template; you having admin access has no bearing, it is not a bug of any sort.
The Certificate Authority is able to do so in virtue of the default "Authenticated  Users" "Read" permission (as you noticed you had removed and but no other object added to all the CA itself to read the template, thus once you publish the template, the CA can not read it to offer it and all calls fail).
There are many time where you would not want "Authenticated  Users" to be aware a template exists (obfuscate existence) we document and educate any new personnel that the CA object or AD security group containing the CA must be added to each and every CA template that is created, and "Authenticated  Users" is removed and replaced with corresponding requirement (e.g. domain computers, domain controllers, custom AD Security group containing computer or user objects that can enroll for stated certificate being published).
Old thread but I reference it sometimes when troubleshoot a new client PKI issues. The least I can do for the breadth of knowledge I have gained through the years from Vadmins and PKISolutions


UglifyJS - compress with toplevel option

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [X] feature request

Versions.

@angular/cli: 1.2.1 (e)
node: 8.1.2
os: win32 x64
@angular/animations: 4.3.0
@angular/common: 4.3.0
@angular/compiler: 4.3.0
@angular/core: 4.3.0
@angular/forms: 4.3.0
@angular/http: 4.3.0
@angular/platform-browser: 4.3.0
@angular/platform-browser-dynamic: 4.3.0
@angular/router: 4.3.0
@angular/cli: 1.2.1
@angular/compiler-cli: 4.3.0
@angular/language-service: 4.3.0
Repro steps.

The log given by the failure.

Desired functionality.

If it doesn't cause any issues, I would like uglifyjs's "toplevel" option with compression to be enabled.
Without this, some dead code is left in production builds (see link below).
Mention any other details that might be useful.

See this for more information.

Okay, it seems it might not be as simple as just enabling the option, because I'm still getting the dead code even with it enabled.


Update Resume-SPProjectWebInstance.md

Filled in placeholder text.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Resume-SPProjectWebInstance.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


KAFKA-17620: Simplifying share partition acquire API (kip-932)

Simplified Share Partition Acquire API to not include CompletableFuture. The records do not need a future handling rather can be just acquired while updating internal data structure hence now need to of CompletableFuture.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Could you please clarify why you decided not to use CompletableFuture (https://github.com/apache/kafka/pull/16274#discussion_r1718405279)?

Thanks @AndrewJSchofield and @chia7712 for review, I have addressed the feedback.

@junrao @chia7712  Sorry for the delay, I was away. Can you please review once again, I have addressed the comments.

@apoorvmittal10 : Thanks for the updated. The changes LGTM. Could you rebase?

Thanks @junrao for the review. I have rebased it.


Permission denied when downloading media

Checklist

[X] I am able to reproduce the bug with the latest version.
[X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
[X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
[X] This issue contains only one bug.

Affected version
v2.2.2+300002113
Steps to reproduce the bug

Press an image or video media
Click download

Expected behavior
Download said media
Actual behavior
Permission denied popup
Screenshots/Screen recordings

Logs
No response
Affected Android/Custom ROM version
Android 9
Affected device model
OPPO A12 (CPH2083)
Additional information
I have given the app storage access

This is not a bug.
In the settings you have set the Download handling to save to a directory on the SD card.
On Android, you cannot directly save on a SD card without being asked first.
So either you choose in the settings to set the Download handling to save to a directory on the internal storage,
or to always ask, then you'll be able to save to a directory on the SD card that you'll select from the save dialog box.

I have picked an Internal Storage as a directory though, you can see it in the error: /storage/0/emulated/Downloads/temp-fur
I will say, when i manually save it it works, i think its some bug with my device that thinks my internal storage is an sdcard.

Hi, same error with v2.2.1 and v2.2.2 .
work fine with v2.2.0 .
Redmi note 9 pro.
Resurrection Remix 8.7.0 ( android 10).

Thank you for the information.
You're right, it is a bug.
I made a PR #72 to fix it.


[Ionic v4-Beta.15] config /  missing "tabsHideOnSubPages"

Bug Report
Ionic Info
Ionic:

   ionic (Ionic CLI)             : 4.2.1 (/Users/os/.npm-packages/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.15-0
   @angular-devkit/build-angular : 0.8.1
   @angular-devkit/schematics    : 0.8.1
   @angular/cli                  : 6.2.1
   @ionic/angular-toolkit        : not installed

Cordova:

   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : android 7.1.1, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.3, (and 19 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/os/Library/Android/sdk)
   ios-deploy        : 2.0.0
   ios-sim           : 7.0.0
   NodeJS            : v8.9.1 (/usr/local/Cellar/node/8.9.1/bin/node)
   npm               : 6.4.1
   OS                : macOS
   Xcode             : Xcode 10.1 Build version 10O45e

Describe the Bug
Can't hide tab-bar on sub pages of tabs.
Steps to Reproduce
Steps to reproduce the behavior:
Tap on any tab, drill down into sub page and still see the tab-bar element.
Expected Behavior
Have a means to enable/disable tabs on sub pages of tabs.
This used to be available.

We've released beta.18 now with another refactor of tabs. https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md#400-beta18-2018-12-13
Yoo can already hide the <ion-tab-bar> using a service if you are on a childpage or something like this.  So I put this under feature request

I was running into the same issue, so I wrote up a quick Medium article about how to programmatically hide the tabs on certain pages, without having to manually hide/show them everytime you navigate.
https://medium.com/@JordanBenge/ionic-4-hiding-showing-tabs-on-certain-pages-31cf2380a5db

We will not add this feature, since now the router is handled by angular, and it's much harder for us to implement this functionality.
In addition, we made it super easy to hide the ion-tab-bar programatically whenever the developer wants!


Feature request : Download All Unread

First of all : thx for the quick update
Do u feel like adding a "Automatically download all favorite unread books" option/button ?
Whenever u click, kuboo crawls all the folders to get the new favored books and automatically add them to the download-list.
This will perfectly interact with an Ubooquity/Mylar setup.
btw : maybe it'll be nice to add a "remove read item from device" in the download section to complement this new feature.
If it's possible to configure the location of the downloads, it'll make Kuboo the best online and offline reader.
Hope i'm crystal clear (but i'm not sure).
PS: 5 starred Kuboo on the playstore 👍

Add save path setting for downloads b929ccb797e02cb69b7c293c65ae2baf8f5f16ee

Add tracking limit and interval setting for downloads b929ccb797e02cb69b7c293c65ae2baf8f5f16ee
"Download all favorite unread books" is not feasible because the number of items are unknown and could be too many. I wrote something like a download manager that crawls the opds feed at certain events and also timed intervals. This feature is called "Download Tracking".
Download Tracking event triggers:

regular timed intervals as long as the app is open, even in background
when a new book is opened for reading.
when download tracking is enabled for a download
when tracking interval is set

To enabled download tracking, long press your download and toggle the switch.
I had limited time to test, please post any bugs you find.


Feature/hosted cli fix

Some fixes for hosted tools and workflows on the CLI, also some small cleanup.

Coverage decreased (-43.07%) to 25.826% when pulling 3bff7f35357123f98259cf89de9197b5d8944f6c on feature/hosted-cli-fix into cada20eebd1ca96d96cd7dda1296f2dc9ca5393b on develop.


Create repository settings

Windows users have to configure core.autocrlf to avoid any change on the repo. The .gitattributes file offers the alternative to configure the repository to provide a consistent behavior.

/lgtm
Tested on a windows machine. Now end-of-line markers are automatically handled , and windows users don't have to set
git config --local core.autocrlf false when cloning the repo

/approve

/lgtm


bootstrap does not log successful images

This form is for bug reports and feature requests. Major features will go through a spec process.
What happened:
I bootstrapped the broker (built from current master branch), and I did not see any log output summarizing what bundles were successfully discovered. I think this might be a regression, based on memory.
What you expected to happen:
See some log output at INFO level summarizing what bundles were successfully discovered.
How to reproduce it:
Bootstrap the broker and look at the log output.

The pr gives logging information as follows:

For each spec, it logs whether the specs needs to be added or updated in datastore.
For each spec that needs to be added or updated, it logs whether the spec is updated or added. Here is an example of the logs.

I can changing to language of the logs to:

add spec: spec_id to datastore
update spec: spec_id in datastore

and submit a follow up PR

@jmrodri @mhrivnak This should be enough to logs successful images.

Fixed by PR #1022


Error trying to use remote LAPI

I'm getting this errors:
time="22-02-2023 08:04:09" level=fatal msg="starting outputs error : authenticate watcher (1cad4328d7cc43d4aaec3d40863844aecqz2vR7KqdblDQOq): Post \"http://<IP_ADDRESS>:8080/v1/watchers/login\": could not get jwt token: Post \"http://<IP_ADDRESS>:8080/v1/watchers/login\": dial tcp <IP_ADDRESS>:8080: i/o timeout"

s6-svscanctl: fatal: unable to control /var/run/s6/services: No such file or directory

My config:
acquisition: |
  ---
  source: journalctl
  journalctl_filter:
    - "--directory=/var/log/journal/"
  labels:
    type: syslog
disable_lapi: true
remote_lapi_url: http://<IP_ADDRESS>:8080
agent_username: my_username
agent_password: my_password
collections:
  - crowdsecurity/home-assistant
parsers: []
scenarios: []
postoverflows: []
parsers_to_disable: []
scenarios_to_disable: []
disable_online_api: false

The username and password I got from the local_api_credentials.yaml file on the remote LAPI server.

It was just a firewall problem.


fix: run-image

This PR fixes the run-image of the dev.Dockerfile by copying theREADME.mdinto the docker container (which requires removing README.md from the .dockerignore). Closes #96.

Codecov Report

Merging #121 (c4a8a08) into develop (6370def) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #121   +/-   ##
========================================
  Coverage    92.30%   92.30%
========================================
  Files          103      103
  Lines         5808     5810    +2
========================================
+ Hits          5361     5363    +2
  Misses         447      447

Impacted Files
Coverage Δ

qdax/core/containers/mapelites_repertoire.py
85.41% <100.00%> (+0.63%)
:arrow_up:

qdax/core/emitters/omg_mega_emitter.py
97.87% <100.00%> (-0.09%)
:arrow_down:

tests/utils_test/sampling_test.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Concurrent function in Customized SharePoint Forms

Hello Team,
Can you please add some reference to if we can use Concurrent function in Customized Power Apps forms for a SharePoint Lists? Is it available as preview or not available at all?
Thanks,
Jerry
[Enter feedback here]

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

ID: 45e1e231-1d0e-a328-9395-196e57086f25
Version Independent ID: 2c862aaf-c581-aa03-0e2e-60b0fd11b769
Content: Concurrent function - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-concurrent.md
Service: powerapps
GitHub Login: @gregli-msft
Microsoft Alias: gregli

@jerryyasir As per the dev team suggestion, you can use concurrent function in customized SharePoint forms. Closing the issue. If you need further help, please reopen or create a new issue.


ng new does not show help from custom schematic

🐞 Bug report
Command (mark with an x)

- [x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was: `6.1.3`
Description
When executing:
ng new -c=<custom-collection> --help

The help displayed is not the help from the ng-new schematic in the custom collection. The help from @schematics/angular is displayed instead.
🔬 Minimal Reproduction
I have reproduced it with @nativescript/schematis package:
npm i -g @nativescript/schematics
ng new -c=@nativescript/schematics --help

Expected: Print the help for @nativescript/schematics ng-new
Actual: Print the help for @schematics/angular
Note: Using<EMAIL_ADDRESS>prints the correct help
🌍 Your Environment

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.13.1
@angular-devkit/core         7.3.1
@angular-devkit/schematics   7.3.1
@schematics/angular          7.3.1
@schematics/update           0.13.1
rxjs                         6.3.3
typescript                   3.2.4

Anything else relevant?
Debugging the issue led me to this place in the angular cli code. schematicName is defaulted to ng-new when executing ng new. However, the options.collection(if such option is provided) should used to load the collection schema and description.
Issue was reported here also: https://github.com/NativeScript/nativescript-schematics/issues/157

@alan-agius4 You probably fixed it with #14530 right?

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.


Major optimization and overhall

This changes the following:

Use memory maps instead of memory to store specific data, this majorly improves optimization and solves #16 #8, allowing for way larger cities to be rendered
Make the --state flag optional
Adds a progress bar for Calculating layers... job
Add --downloader flag for specifying which downloader (from the choice of wget, curl and requests (default is requests)

Hi there, thanks a lot for your contribution!
I will test & merge it asap when I'm back home. :)


Issue 11 fix

Signed-off-by: Snehal Pansare<EMAIL_ADDRESS>

It looks like automation is failing for this module also.  See https://github.com/cloud-native-toolkit/terraform-gitops-cp-db2-oltp/runs/6090639028?check_suite_focus=true


settings: Add reverse order to table sorting.

Currently, only ascending order sorting is supported in the Uploaded files tab. As a followup to #7221, reversible table sorting should be added to the Uploaded files table and other settings tables as well.
Also, the following lines should be removed as a part of resolving this issue:
https://github.com/zulip/zulip/blob/9a49072afe6b9e5e4ae2f0b0c7b933882592373e/static/js/list_render.js#L374-L377

@zulipbot claim


Reading CSV: New method provide listener UDF that runs once for each row

Just spitballing here, but if I have a massive file and I need to run some logic for each row, but I DON'T need any data structure created that represents all the data at once, make a method that accepts a closure and invokes it once for every row in the CSV file for row-by-row pricessing.  In theory, the file could be as  many gigs as you want but we'd never  have more than one row in memory at a time (save what the garbage collector hadn't removed)
The code could look something like this (untested):

	void function ExecuteClosurePerRow( required string path, required any format, required function udf ){
		getFileHelper()
			.throwErrorIFfileNotExists( arguments.path )
			.throwErrorIFnotCsvOrTextFile( arguments.path );

		try {
			var parser = library().createJavaObject( "org.apache.commons.csv.CSVParser" )
				.parse(
					createObject( 'java', 'java.io.File' ).init( arguments.path ),
					createObject( 'java', 'java.nio.charset.Charset' ).forName( 'UTF-8' ),
					format
				);
				var it = parser.iterator();
				while( it.hasNext() ) {
					udf( it.next().values() )
				}
		} finally {
			parser.close();
		}
	}

If there is a header row, we could grab the headers first and

pass the array of column names to each UDF call
or populate a struct for each row which would be the most useful, but possibly burns a bit more memory churn to create a Map out of each Array.

This would truly allow for processing of an unlimited number of rows with little memory overhead.

Here is a simple version that passes a struct to each UDF call.  It seems to perform about as well as passing the array, but would be easier to use.  I'm also showing passing the current row number to each call as well,
	void function ExecuteClosurePerRow( required string path, required any format, required function udf ){
		getFileHelper()
			.throwErrorIFfileNotExists( arguments.path )
			.throwErrorIFnotCsvOrTextFile( arguments.path );

		try {
			var parser = library().createJavaObject( "org.apache.commons.csv.CSVParser" )
				.parse(
					createObject( 'java', 'java.io.File' ).init( arguments.path ),
					createObject( 'java', 'java.nio.charset.Charset' ).forName( 'UTF-8' ),
					format
				);
				var it = parser.iterator();
				// make optional if there are no column headers
				var colList = it.next().values();
				var numCols = arrayLen( colList );
				while( it.hasNext() ) {
					var row = {};
					var values = it.next().values();
					for( var i=1; i <= numCols; i++ ){
						row[ colList[ i ] ] = values[i];
					}
					udf( row, record.getRecordNumber() )
				}
		} finally {
			parser.close();
		}
	}

Now, extra credit would be to create a pull of threads to process these in parallel :)  I can show you how to easily do this with the parallel flag of array.each() :)

It seems to perform about as well as passing the array,

Nope, I need to take that back!  I guess I didn't test it correctly but under no circumstances should we loop over each value on a massive CSV, lol.  I go right back to the CPU thrashing OOM errors when I do that.  For massive files, the only sustainable approach is to pass the native array directly back and make the user dereference it themselves.

A potential issue here is that, once again, the row .values() passed to the UDF are a native java arrays. This means member array functions and possibly other operations in the UDF are likely to fail (even on Lucee in my testing). In other words, care will have to be taken with how the UDF is written.

the row .values() passed to the UDF are a native java arrays. This means member array functions and possibly other operations in the UDF are likely to fail (even on Lucee in my testing)

Interesting-- I have yet to come across a scenario in which Lucee fails with a native Java array.  Obviously, member functions don't work, but any arrayFunction just wraps it in a "real" Lucee Array behind the scenes from what I've seen.  I actually wish Lucee would  just use it directly (which is possible to do) but I'm sure wrapping it is simpler for Lucee behind the scenes.

Yes, it's just member functions that fail in Lucee, e.g. values.map(). But ArrayMap() works with the native array in both Lucee and ACF. Just something devs will need to watch out for when passing closures. I tend to use member functions by default unless I hit an issue.

Right then, we're on the same page.  Sadly, I've stopped using member function by default in many cases-- specifically for simple values with the issues both CF engines have had.
Stuff like
simpleValue.len()

wouldn't work in the past if simpleValue was something like a boolean.  Lucee and Adobe have improved in this area, but it's still not 100% (as the arrays show).  I'm quite careful now to only use member functions when I know for certain the source of the incoming variable.  The same issue exists when using Java Maps directly, which can be passed to a function argument of type Struct, but still don't have struct member functions.

The current row number will also be passed into the UDF as the second parameter. https://github.com/cfsimplicity/spreadsheet-cfml/blob/1908d084fe4fa440d2ce4a687033866a4971e882/test/specs/readCsv.cfm#L137


[NEW ICON] Playwright

Skill Name
playwright
Why?
The repo stars are over 66k

https://github.com/microsoft/playwright

Reference Image
https://github.com/microsoft/playwright/blob/main/packages/web/src/assets/playwright-logo.svg

I created a new project since this project is no longer updating & the author left it, playwright is available skills-icons
https://skills-icons.vercel.app/api/icons?i=playwright


Added new method itervalues() to LRUCache and deprecated itervalue()

Added new method itervalues() to LRUCache and deprecated itervalue()
(Fixes pallets/jinja#999)

The Travis build for the python-nightly is failing with "ERROR: InvocationError for command /home/travis/build/pallets/jinja/.tox/py/bin/coverage run -p -m pytest (exited with code -11)". Looks like an unrelated issue.

Signal 11 is segfault so this looks like a random CPython nightly issue.


Set version

Fixes https://github.com/pulumi/pulumi-cloudflare/issues/403

I am really curious why this generates schema changes. Is it an example of non-hermetic updates somewhere?

Confirming that this fixes
make provider  && ./bin/pulumi-resource-cloudflare                                                                                51564

Which used to fail. This would've been detected if acc-tests were not disabled on this repo.

Ok we found out why schema changes, autoalising is dropping MaxItemOne=1 withholding due to a major version upgrade, as expected.. but it was not kicking in due to Version not being set, until this PR. This is better then. Let's look at why the tests are failing.

Ah we just need make build_sdks

Ah we just need make build_sdks

We don't actually want to take these changes since it isn't actually a major version bump.

So to clarify, should not those changes have been made at 5.x.x release but weren't made because of the Version propagation issue?

So to clarify, should not those changes have been made at 5.x.x release but weren't made because of the Version propagation issue?

Those changes would have ideally been made at the 5.0.0 release, but weren't made because the 5.0.0 release predated x.AutoAliasing (which is what looks at the version).


fix: forceGlobalSecureRequests break URI schemes other than HTTP

Description
Fixes #5728
Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[] User guide updated
[x] Conforms to style guide

@MGatner

URI should not be in the business of dealing with baseURL at all, but since this is currently the case we can't remove it entirely. #4646

What's happened if it is removed?

There's a lot of functionality based on URI and people have been told to use it for working with their project URLs. I even made a PR at one point to split these into two classes but ultimately it was too complicated. For now we need to leave this and plan to change it in version 5.


MINOR: Make indenting in checkstyle.xml and import-control.xml consistent

They now both use 2 spaces for indents, which is what checkstyle.xml was
already doing. import.xml had a mixture of tabs and 4 spaces previously.

Failure (SimpleAclAuthorizerTest) not related to this change

LGTM. Thanks for noticing and fixing.


Test failure: DoNotAddIfSizeOverflows

This issue was made automatically. If there is a problem contact ryanbrandenburg.
This test failed with the following error:
Assert.True() Failure
Expected: True
Actual:   False

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on master.
CC @Eilon

This comment was made automatically. If there is a problem contact ryanbrandenburg.
Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

@muratg - all yours.

@JunTaoLuo can you take a look? Any changes which may have caused this?

This comment was made automatically. If there is a problem contact ryanbrandenburg.
There were 1 failures with about the same error on release/2.2 at 10:51:43 PM:

DoNotAddIfSizeOverflows

Hmm I'm not certain what's going on here but we never had these tests fail on teamcity. I can't reproduce these locally either so it's hard to say if it's a product issue or test issue. To diagnose this issue properly, we might need to end up implementing https://github.com/aspnet/Caching/issues/261 which could be somewhat involved.
From a quick look, the compaction is executed on the thread pool so my current theory would be that the compaction isn't being run due to starvation. I'd like to add an option to run the compaction inline for tests and see if the tests are fixed.

It also looks like this test is only failing on VSTS. There were no failures on teamcity: http://aspnetci/project.html?projectId=AspNetEf&buildTypeId=&tab=testDetails&testNameId=6648551514755003340&order=START_DATE_DESC&branch_AspNetEf=all_branches&itemsCount=50. I know we are migrating to VSTS now but the history on teamcity is informative.

Logging added

Closing. Tracking future failures in new issues filed by RaaS.


New Single Plan - with Sliding Up Panel

Hi,
I am working on a new single plan page with two modes- one for mobile.
In mobile mode, it should have a sliding up panel, with a "google maps" look :

I found a component that behaves similarly, however it typescript compilation, which I did not succeed to configure the Babel.
I thought to just the compiled version of the package, called 'rn-sliding-up-panel' and to use it as a component.
I set up a working mini app of the package, could someone please help me with extracting its complied file?
https://3440ox733m.csb.app/

@GalGend  would this component do what you want? https://reactjsexample.com/a-very-simple-resizable-panel-as-a-react-component/

@muamichali I set up a sandbox with how I vision it to be (on mobile mode).
https://kdy6q.csb.app/
I just need to understand how to manually change the TS configuration file of the 'rn-sliding-up-panel' to js
Inspiration is from Zillow

(https://www.zillow.com/homedetails/1015-Wilcox-Ave-1-Bronx-NY-10465/2081055775_zpid/)


Major refactor of documentation generation script

In an effort to make the build_docs.sh script backwards compatible with ROS distros older than Foxy, I ended up making a few quality of life improvements.
Now we can optionally pass specific packages to build to the script, or default to a set of known packages that work for a given ROS release.
Rather than relying on an environment variable, we now set the ROS distro with the -r option.
For convenience of debugging/testing we can also override the repos file entirely with -e.
Since I want to enable CI for future changes to prevent regression, I've also added a non-interactive mode.
Here's a summary of usage:
usage: ./build_docs.sh [-r DISTRO] [-e URL] [-y] [-h] [package [package ...]]

  -r DISTRO  Set the name of the ROS distribution (default: foxy)
             This also determines the version of repositories unless the '-e' option is given.
  -e URL     Location of a ROS 2 repos file to use instead of a release repos file.
  -y         Run the script in non-interactive mode
  -h         Display this help message

In addition to the interface changes, I've removed the strict dependencies on Doxygen tag files from the Makefile targets. This was necessary if we want to be able to build documentation for a subset of packages (which happens naturally if we want to build docs for Dashing, for example). I don't think this should effect the final HTML output as long as we build the documentation in topological order, hence:
https://github.com/ros2/docs.ros2.org/blob/fad4e63448406b63b24a0714688d38e2b5dd41ce/build_docs.sh#L130-L131

@ahcorde Sorry, I realize this is a bit disruptive to your additions in https://github.com/ros2/docs.ros2.org/pull/36. But I think long term, maintaining backwards compatibility will good so we can easily update documentation for all active releases.
Feedback on this PR is appreciated. I've rebased #38 on top of this branch, so we'll see if CI is happy.


Logging

Would be nice to add logging once the implementation is more stable.

hello
If you haven't started working on it yet, I might be able to help.

hello If you haven't started working on it yet, I might be able to help.

Hi @hamid-kordi, thanks for the offer! I will likely address this issue myself some time soon as I'm almost ready to release v0.1.

I don't think we need logging any time soon so I'm closing as not planned for now.


Directions of the arrows of the interaction renderer are rendered in reverse direction in the POV-Ray rendering

fixed.


Filter out more std::__once_call_impl<>() constructors

One of our Ubuntu 16.04 CI machines is seeing different variations
of the std::__once_call_impl<>() constructor than the ones we're already filtering out.
Resolves rdar://64267618

@swift-ci Please test Linux

@swift-ci please smoke test


Rails 5 warning

Expected string default value for '--orm'; got false (boolean)
This seems to be coming from thor.
I assume:
https://github.com/jasonfb/nondestructive_migrations/blob/master/lib/generators/data_migration_install_generator.rb#L12
should be
class_option :orm, type: 'boolean'

I'm seeing this, too. Thoughts on the fix @jasonfb? Thanks!!

sorry I'm very behind. The app I work with has not yet been upgraded to Rails 5. This gem should not be considered ready for Rails 5. I will likely get a chance to take a look this weekend if you'd like; in the meantime I'd be happy to entertain pull requests to make this gem compatible with Rails 5 and 5.1

@jasonfb PR#14 should address this warning

this is still on my to do list for Sunday (tomorrow) -- should get a chance to look at this and bring these up to Rails 5


App Refreshes Back To Original After Changes

I have made changes to the layout of the app. At first it displayed the changes, but after a few more changes, it reverted back to the original layout. When I refresh the page, the changed layout displays for a second, and reverts back. Any ideas why?

Check if you have Service Worker running on the background


(PUP-7957) Use SHA256 when signing CRLs

SHA1 is being phased out in favor of SHA256 and greater owing to the
increasing feasibility of attacks on the algorithm; this commit updates
the CRL signing code to use the same digest algorithm used when signing
certificates.

CLA signed by all contributors.

Does this have any implications for compatibility with older agents/masters?

If we exclude Puppet 3, I think we're fine.

This should not create compatibility issues unless someone is using a version of OpenSSL that doesn't support SHA256.


[BUG] border-spacing- class is not recognized

Describe the bug
Border Spacing classes are not recognized.
https://tailwindcss.com/docs/border-spacing
To Reproduce
Steps to reproduce the behavior:

Go to table tag.
Use the border spacing e.g. border-spacing-2.
Run ESLint.
See error.

Expected behavior
I expected not to see this warning.
Screenshots

Environment (please complete the following information):

OS: windows 10
Package versions:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

This is added in Tailwind CSS v3.1.0
https://github.com/tailwindlabs/tailwindcss/releases/tag/v3.1.0
I'll add it soon

WIP on #132

Thank you for your response!
I'll give it a try.
In a small way, I support your OSS activities!

I saw 😎thank you 🙏🏻

Any feedback on the latest beta @mongolyy ?

Any feedback on the latest beta @mongolyy ?

Sorry for the delay in checking.
I just checked and it was working as expected.
Thanks!

Should be fixed in the latest release 3.6.0
Make sure to:

Update the eslint-plugin-tailwindcss package
Restart your editor
Report any issue on this repo


Unit tests for calicoctl container

Closing this PR.
I've taken ownership of this branch - have created new PR.


CSS reverse match broken

Reverse CSS matching doesn't work beyond the start element itself. There is one unit test that uses lxb_selectors_find(), but none for lxb_selectors_find_reverse(), so perhaps this is a regression.
Here are a few reproduction examples as diffs of examples/lexbor/selectors/easy_way.c:
Example 1:
diff --git a/examples/lexbor/selectors/easy_way.c b/examples/lexbor/selectors/easy_way.c
index 01e6041..94164d4 100644
--- a/examples/lexbor/selectors/easy_way.c
+++ b/examples/lexbor/selectors/easy_way.c
@@ -49,7 +49,7 @@ main(int argc, const char *argv[])

     /* CSS Data. */

-    static const lxb_char_t slctrs[] = ".x, div:has(p[id=Y i])";
+    static const lxb_char_t slctrs[] = "body";

     /* Create HTML Document. */

@@ -95,7 +95,7 @@ main(int argc, const char *argv[])

     printf("Found:\n");

-    status = lxb_selectors_find(selectors, body, list, find_callback, &count);
+    status = lxb_selectors_find_reverse(selectors, body, list, find_callback, &count);
     if (status != LXB_STATUS_OK) {
         return EXIT_FAILURE;
     }

Output:
Selectors: body
Found:
1)

WORKS! (self-match)
Example 2:
diff --git a/examples/lexbor/selectors/easy_way.c b/examples/lexbor/selectors/easy_way.c
index 01e6041..263298b 100644
--- a/examples/lexbor/selectors/easy_way.c
+++ b/examples/lexbor/selectors/easy_way.c
@@ -49,7 +49,7 @@ main(int argc, const char *argv[])

     /* CSS Data. */

-    static const lxb_char_t slctrs[] = ".x, div:has(p[id=Y i])";
+    static const lxb_char_t slctrs[] = "html";

     /* Create HTML Document. */

@@ -95,7 +95,7 @@ main(int argc, const char *argv[])

     printf("Found:\n");

-    status = lxb_selectors_find(selectors, body, list, find_callback, &count);
+    status = lxb_selectors_find_reverse(selectors, body, list, find_callback, &count);
     if (status != LXB_STATUS_OK) {
         return EXIT_FAILURE;
     }

Expected output:
Selectors: html
Found:
1)

Actual output:
Selectors: html
Found:

Example 3:
diff --git a/examples/lexbor/selectors/easy_way.c b/examples/lexbor/selectors/easy_way.c
index 01e6041..f4096d2 100644
--- a/examples/lexbor/selectors/easy_way.c
+++ b/examples/lexbor/selectors/easy_way.c
@@ -49,7 +49,7 @@ main(int argc, const char *argv[])

     /* CSS Data. */

-    static const lxb_char_t slctrs[] = ".x, div:has(p[id=Y i])";
+    static const lxb_char_t slctrs[] = "div";

     /* Create HTML Document. */

@@ -95,7 +95,7 @@ main(int argc, const char *argv[])

     printf("Found:\n");

-    status = lxb_selectors_find(selectors, body, list, find_callback, &count);
+    status = lxb_selectors_find_reverse(selectors, body->first_child->first_child, list, find_callback, &count);
     if (status != LXB_STATUS_OK) {
         return EXIT_FAILURE;
     }

Expected output:
Selectors: div
Found:
1)

Actual output:
Selectors: div
Found:

@phoerious
I have a feeling that you don't understand how the function lxb_selectors_find_reverse() works.
It (the function) checks if the specified selectors match or not by node (html element).
HTML

blah

We take a node/element  and check which selectors will fit it.
Selectors:
div span -- match
body span -- match
span div -- not match

It's quite possible that misinterpreted how the function is supposed to work, since there is neither documentation nor an example and I didn't have to time to fully reverse-engineer it.
So from what you are saying, this seems to be more like matches(), but from the name I would expect it to behave like closest().

All right, I have now fixed my closest() implementation and migrated my matches() implementation to also use Lexbor's reverse match:
https://github.com/chatnoir-eu/chatnoir-resiliparse/blob/3e32376bdc2cc9155a4ea02cb7ec17873a1dd2ba/resiliparse/lib/parse/html/dom/node.rs#L692
This works well, thanks for the help. Some API documentation would still be appreciated, though. ;-)


Aws/mail

Adds mailkick gem
Adds AWS-SES Configuration

Coverage increased (+0.06%) to 88.162% when pulling 8458665ac1cb00b216c8665a5a8c42947fbdc8b1 on aws/mail into 425f87de2fbcd16e0781e91d93ddd89f6170565e on stories/aws.

some weird bug regarding host is causing tests to fail. @tachyons might know how to fix this.

Merged indirectly


Can't establish connection after advertise.js shows INITIALIZED

Hi,
I'm having problems using GATTacker.
Starting the ws-slave works, as well as scanning, but the advertise.js causes some problems.
It connects to the victim-device and shows INITIALIZED and the clones device shows up (on my phone).
But when I want to connect it wont work (console shows "client connected" and "client disconnected" at the same time).
I'm using Linux Mint 17.2 with 4.4.0 kernel and BlueZ 5.41.
ws-slave log:
GATTacker ws-slave
ws -> connection
ws -> send: {"type":"stateChange","state":"poweredOn"}
ws -> message: {"action":"macAddress"}
ws -> send: {"type":"macAddress","macAddress":"01:23:45:67:89:ab"}
ws -> message: {"action":"initialize","peripheralId":"001a7dda7110","servicesJsonData":[{"uuid":"1800","name":"Generic Access","type":"org.bluetooth.service.generic_access","startHandle":1,"endHandle":5,"characteristics":[{"uuid":"2a00","name":"Device Name","properties":["read"],"value":"42616420454e495341204c6f636b","descriptors":[],"startHandle":2,"valueHandle":3,"asciiValue":"Bad ENISA Lock"},{"uuid":"2a01","name":"Appearance","properties":["read"],"value":"8000","descriptors":[],"startHandle":4,"valueHandle":5,"asciiValue":"  "}]},{"uuid":"1801","name":"Generic Attribute","type":"org.bluetooth.service.generic_attribute","startHandle":6,"endHandle":9,"characteristics":[{"uuid":"2a05","name":"Service Changed","properties":["indicate"],"value":"","descriptors":[{"handle":9,"uuid":"2902","value":""}],"startHandle":7,"valueHandle":8}]},{"uuid":"e015","name":null,"type":null,"startHandle":10,"endHandle":16,"characteristics":[{"uuid":"e016","name":null,"properties":["read","write","notify"],"value":"4c6f636b206973206e6f7720436c6f736564","descriptors":[{"handle":13,"uuid":"2902","value":""},{"handle":14,"uuid":"e026","value":""}],"startHandle":11,"valueHandle":12,"asciiValue":"Lock is now Closed"},{"uuid":"e017","name":null,"properties":["write"],"value":"","descriptors":[],"startHandle":15,"valueHandle":16}]}],"keepConnected":true}
ws -> send: {"type":"initializeStatus","peripheralId":"001a7dda7110","status":"JSON services received"}
ws -> send: {"type":"initializeStatus","peripheralId":"001a7dda7110","status":"start scanning for target peripheral"}
ws -> message: {"action":"macAddress"}
ws -> send: {"type":"macAddress","macAddress":"01:23:45:67:89:ab"}
ws -> send: {"type":"startScanning"}
ws -> send: {"type":"discover","peripheralId":"a0edcdedd8fd","address":"a0:ed:cd:ed:d8:fd","addressType":"public","connectable":true,"advertisement":{"serviceUuids":[],"manufacturerData":"4c0009060301c0a802dd","serviceData":"","eir":"02011a0bff4c0009060301c0a802dd","scanResponse":""},"rssi":-54}
ws -> send: {"type":"discover","peripheralId":"80e650ea4699","address":"80:e6:50:ea:46:99","addressType":"public","connectable":true,"advertisement":{"serviceUuids":[],"manufacturerData":"4c0009060301c0a802fa","serviceData":"","eir":"02011a0bff4c0009060301c0a802fa","scanResponse":""},"rssi":-78}
ws -> send: {"type":"discover","peripheralId":"a0edcde70487","address":"a0:ed:cd:e7:04:87","addressType":"public","connectable":true,"advertisement":{"serviceUuids":[],"manufacturerData":"4c0009060301c0a802b7","serviceData":"","eir":"02011a0bff4c0009060301c0a802b7","scanResponse":""},"rssi":-58}
ws -> send: {"type":"discover","peripheralId":"c80f10276814","address":"c8:0f:10:27:68:14","addressType":"public","connectable":true,"advertisement":{"localName":"MI1S","serviceUuids":["fee0","fee7"],"manufacturerData":"57010055d8807af55e8e433301eada7cf4d5de01c80f10276814","serviceData":"[object Object]","eir":"0201061bff57010055d8807af55e8e433301eada7cf4d5de01c80f10276814","scanResponse":"05094d4931530502e0fee7fe0716e0fe00000000"},"rssi":-72}
ws -> send: {"type":"initializeStatus","peripheralId":"001a7dda7110","status":"target peripheral discovered, trying to connect..."}
ws -> send: {"type":"discover","peripheralId":"001a7dda7110","address":"00:1a:7d:da:71:10","addressType":"public","connectable":true,"advertisement":{"localName":"Bad ENISA Lock","serviceUuids":["e015"],"manufacturerData":null,"serviceData":"","eir":"020106030315e0","scanResponse":"0f0842616420454e495341204c6f636b"},"rssi":-27}
ws -> send: {"type":"stopScanning"}
ws -> send: {"type":"initialized","peripheralId":"001a7dda7110"}
ws -> send: {"type":"connect","peripheralId":"001a7dda7110"}
ws -> send: {"type":"startScanning"}
ws -> message: {"action":"clientConnection","clientAddress":"2c:8a:72:61:91:98","state":true}
client connected : 2c:8a:72:61:91:98
ws -> message: {"action":"clientConnection","clientAddress":"2c:8a:72:61:91:98","state":false}
client disconnected : 2c:8a:72:61:91:98

advertise log:
Ws-slave address: <IP_ADDRESS>
peripheralid: 001a7dda7110
advertisement file: devices/001a7dda7110_Bad-ENISA-Lock.adv.json
EIR:<PHONE_NUMBER>15e0
scanResponse: 0f0842616420454e495341204c6f636b
on open
poweredOn
Noble MAC address : 01:23:45:67:89:ab
BLENO - on -> stateChange: poweredOn
initialized !
Static - start advertising
      target device connected
on -> advertisingStart: success
setServices: success
 <<<<<<<<<<<<<<<< INITIALIZED >>>>>>>>>>>>>>>>>>>>
Client connected: 2c:8a:72:61:91:98
Client disconnected: 2c:8a:72:61:91:98

hcidump (on the peripheral/bleno device):
HCI sniffer - Bluetooth packet analyzer ver 5.41
device: hci1 snap_len: 1500 filter: 0xffffffffffffffff
> HCI Event: LE Meta Event (0x3e) plen 19
    LE Connection Complete
      status 0x00 handle 69, role slave
      bdaddr 2C:8A:72:61:91:98 (Public)
< ACL data: handle 69 flags 0x00 dlen 16
    L2CAP(d): cid 0x0005 len 12 [psm 0]
> ACL data: handle 69 flags 0x02 dlen 11
    ATT: Read By Group req (0x10)
      start 0x0001, end 0xffff
      type-uuid 0x2800
> ACL data: handle 69 flags 0x02 dlen 10
    L2CAP(d): cid 0x0005 len 6 [psm 0]
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 69 packets 1
> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 69 reason 0x13
    Reason: Remote User Terminated Connection
< HCI Command: Read RSSI (0x05|0x0005) plen 2
    handle 69
> HCI Event: Command Complete (0x0e) plen 7
    Read RSSI (0x05|0x0005) ncmd 1
    status 0x02 handle 69 rssi 0
    Error: Unknown Connection Identifier
< ACL data: handle 69 flags 0x00 dlen 24
    ATT: Read By Group resp (0x11)
      attr handle 0x0001, end group handle 0x0005
      value 0x00 0x18
      attr handle 0x0006, end group handle 0x0009
      value 0x01 0x18
      attr handle 0x000a, end group handle 0x0010
      value 0x15 0xe0
< HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1
> HCI Event: Command Complete (0x0e) plen 4
    LE Set Advertise Enable (0x08|0x000a) ncmd 1
    status 0x00

Thanks for any help!
TheClown

Hi,
it looks like the mobile app connects to bleno and disconnects at once, and does not even wait for services discovery to finish. Similar situation may happen because of mobile OS GATT cache. In order to speed-up things Android/iOS store services map of a given device (based on its MAC address), sometimes even for quite a few reboots. If you have previously advertised a different services using the same bleno MAC address, and connected to it with the same phone, this may be the issue as GATT cache may not match.
Some ideas:

If you have enough hardware, try connecting to the bleno simulated using a different device. E.g. yet another Linux with Bluez (hcitool, gatttool...). Or another phone with nRF or other BLE scanning app. If that works, it means the problem is not with bleno setup but your client app.

Try changing MAC address of bleno.
Does your attack scenario require cloning of original device MAC?
If not, you can change the adapter's MAC. That should solve a problem if it the GATT cache is a culprit.
If you need to stay with the MAC - you can try rebooting your phone to reset the cache. If you have root-ed Android phone the cache is stored in /data/misc/bluedroid.

Next - it would be helpful to see what is actually happening on the mobile phone, as from the above logs I suspect the phone is the one that disconnects.
Does the problem happen while using the specific target mobile application, or just a generic BLE scanner? The Android system hcidump would be helpful too. You can grab it in Settings->Developer options->Enable Bluetooth HCI snoop log. It saves the log in /sdcard/btsnoop_hci.log. Turn it on and off for new file. It is just a pcap format, you can inspect it in Wireshark, or use https://github.com/nccgroup/BLE-Replay.
If you are able to e.g. connect using generic BLE scanner but not your mobile app compari the hci logs may clear up something.

Mobile app debug logs.
If we're talking about a specific mobile app, you can also try to grab mobile app logs. It often logs by default (try adb logcat, android monitor from sdk). But if not - just switch it to debug in Manifest and repack using apktool.
An example Android app log snippet with mismatched GATT cache:

E/XXX (15944): (SourceFile:31)@Binder_1 | 'Discovery failed: No XXX Service found

Hope that helps, if not - send more info + logs :)


Last todos

Please describe the feature you would like to see implemented.
Hey,
Since Shopware 6.5 extensions are allowed to run composer while installation. This will change on runtime the vendor folder so the current docker image cannot be used in a cluster system or with Shopware updates anymore.
The new image is just a base image containing PHP + Webserver. The Dockerfile in your project should build Shopware with your extensions and copy it into /var/www/html. In this way we can work again with cluster/multiple same containers.
I have created an example project here and looking for feedback
Open tasks

[x] Add JWT as Environment Variable
[x] Provide Symfony Flex Recipe for overall configuration
[x] Add docs
[ ] Example Repo + GitHub Action

GitLab CI with its own Docker registry.

Is there an explicit reason why you prefer the web server in the container? 🤔

No, just convenience. I'm about to switch from my typical stack Debian VM + nginx + php-fpm to Docker Swarm based shops. Just suggesting nginx instead of caddy

I guess what would be okay, to build to kind of "flavours" one image with caddy and one with nginx

here is the example repo https://github.com/shyim/example-shopware-docker-project


Fix embedded bindings

Summary
Several values were not taken from the right place and were not showing the bindings embedded in posts.
Ticket Link
None

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/14651
https://circleci.com/gh/mattermost/mattermost-mobile/14650

Artifact links:
https://14651-70265724-gh.circle-artifacts.com/0/tmp/artifacts/Mattermost_Beta.apk
https://14650-70265724-gh.circle-artifacts.com/0/tmp/artifacts/Mattermost_Beta.ipa

@larkox I see the values in the drop down and they seem correct. (They also match webapp) with Good, Normal, Bad for http-hello. Previous to this PR I saw no options at all.
Can you please confirm if this is correct?
I also found a an issue with the posts made by http-hello that seem unrelated and created https://mattermost.atlassian.net/browse/MM-34287 to address it.

@DHaussermann the behaviour of the embedded bindings you are seeing seems to be correct, yes.
The hello app related issue is, indeed, regarding how hello app is formatting the message, not regarding the framework.

Cherry pick is scheduled.


Response data read garbled

Describe the bug
I want to record the request message and response message in the gateway program, so I tried to use the HttpLoggingMiddleware  and the middleware I tried to write to read the response data, but the read data were all garbled, so I suspected that I was a downstream service There is a problem with the return. I also used the middleware in the downstream to print out the log, and the result is normal.
To Reproduce
At present, all of my downstream services have problems with the response data obtained in the gateway, and the form of garbled characters is not necessarily uniform.
Further technical details

Net6
Microsoft.AspNetCore.HttpLogging, Version=<IP_ADDRESS>;
Yarp.ReverseProxy, Version=<IP_ADDRESS>;
platform： Windows Debug

Console View
First case
Yarp program

Downstream services

Second case
Yarp program

Downstream services

So if I use it incorrectly, please let me know how to deal with it.
Thanks

Yesterday, it was also suspected that it was a compression problem, but the compression function was turned off for both upstream and downstream services, and it still occurred, because the response data recorded by the upstream and downstream services after the shutdown was normal, I will look for other reasons.
Thanks


[API change] Making git information gathering enabled by default with GitPython as mandatory dependency.

The plan here is to change the way we gather git information in sources.
Currently, the behavior is the following: If the user has GitPython (optional dependency) installed, then go through the sources. If there is a problem when gathering git information about a source file, skip it.
Desired behavior: If the user does not specify anything, no git information is gathered. If the user passes save_git_commit=True to the experiment or ingredient constructor, then sacred will gather git information. If there is an error (import error or other, like the repository is not tracked with git) then a hard error will be thrown.
We get several benefits from this:

We make sacred more intuitive: When a user wants an additional feature, the switch to flip should be an argument in Experiment. Not a pip install.
We get better errors: If the user specifies if he wants git information, we know that we have green light to throw errors if it doesn't work. It will be much easier for the user to debug if there is an error message printed than if they are silenced.
As a well behaved library, we should avoid the unexpected and do what the users requested. Not more, not less, and no guessing what the user wants. The user will feel that he has more control over the behavior of sacred and it will diminish the feeling of "sacred is magic". From the zen of python:

Explicit is better than implicit.

As usual, I'm very bad with names. So if someone has a better name than save_git_commit, I'm all ears and it's easy to change.

That sounds reasonable and it makes sense to make this change. One thing that we should take care of is that we make sure that the feature is not neglected because it is turned off by default.

One possibility would be to just use the option in more documentation examples
Another option could be to turn it on by default and make GitPython a required dependency. As I
believe that almost anybody uses git, that would not be a bad decision from my perspective.

I would like to hear @Qwlouse opinion on this.

@JarnoRFB Your first point is a very good idea.
On the second point, I'm not against it, but we would need to define better what should be the behavior. Let's take a non-obvious case: Let's say that there is a problem with the git info collection (the source directory is not a git repo, GitPython has an internal bug, files in the .git directory are corrupted...) what should we do? Silent error? Warning? Hard error? It's not clear to me.

Generally speaking, Sacred is intended as a "batteries included" program. It should have most features preconfigured in a sensible way, so that you don't have to worry about settings and passing all the right arguments when getting started with an experiment. And I agree with @JarnoRFB, that git integration is a good default feature.
On the other hand, I am also very much in favor of @gabrieldemarmiesse's effort to make things more explicit and clarifying the behavior. I would suggest the following:

git integration is on by default (but can be disabled) and GitPython is a core dependency
If no repository is detected, the integration is silently deactivated
If there is a repository any anything else fails (bug, corrupted repo, etc. ) then we raise an error and stop the run before a database entry is created.

@Qwlouse cool! And even better, with what you said, we won't even break backward compatibility. So no need for a buffer period with a warning. Let me adapt the pull request.

lgtm, or are there any points left to discuss?

I believe we should make a release on pypi before merging this.


getting warning and just yolov5s.torchscript.pt file when export model

I installed Python>=3.8 and PyTorch>=1.6 and also ONNX>=1.7.
I used export.py with your suggestion here: https://github.com/yasenh/libtorch-yolov5#torchscript-model-export
and I got these results, just got yolov5s.torchscript.pt, I didn't get yolov5s.onnx:

When I use weight (yolov5s.torchscript.pt) to run inference, I got these:

Is there any advice? Thank you.

Hi @mheriyanto, so my env is PyTorch 1.5.1, and I also tested with onnx 1.7.0 (but I didn't test it with onnxruntime).
Anyway for this project, you only need the TorchScript version of model, could you give a try with PyTorch 1.5.1? And meanwhile I can test with PyTorch 1.6.0 as well.

Hello @yasenh , I exported the TorchScript version of model using PyTorch 1.6.0 but model can't be used like before. So yesterday, I exported the TorchScript version of model using PyTorch 1.5.1 but I got error like these:

@mheriyanto whats your libtorch version?

@yasenh LibTorch 1.4.0, OpenCV 4.2.0, CUDA 10.1, and Ubuntu 18.04.

@mheriyanto  Could you try LibTorch 1.5.1?
wget https://download.pytorch.org/libtorch/cu101/libtorch-cxx11-abi-shared-with-deps-1.5.1%2Bcu101.zip

@yasenh I tried LibTorch 1.5.1 with CUDA 10.1 and it worked for me. Thank you.


Can you remove the who shared the video?

Is your feature request related to a problem?
not a big promblem
What solution would you like?
user wont go to youtube
What alternatives have you considered?
there is no alternative ._. accualy there is an one solution. user can not touch text that whose video
Any additional context?
no thanks

The rendered user interface is controlled and managed by the YouTube Player iFrame API please consider to open a bug report at https://developers.google.com/youtube/players/support


Added ELB to AWS Advantages page

Coverage remained the same at 94.071% when pulling 72a0865648ec9c1602e873109107858850365d3a on cody-add-aws-elb-to-docs into 7d18ee1fe7a4e81a101ab49b66c1f584a628f0f6 on main.


Format Master django files with Black

https://github.com/ambv/black

Add requirements in README for contributing:
line-length = 120


Add SMB to ztag

I'm fairly positive I did this correctly, if someone could check my work I'd appreciate it.

^ That won't pass until definitions is updated

https://github.com/zmap/zgrab/pull/277 , which makes this change in zgrab output, was merged last week.

a new censys-defintions

I mean a new zsearch-defintions


Spike: Determine whether we should use Jira, or a similar Agile workspace.

Reason
As a developer, it may be useful to have an Agile workflow set up, either now, or in the future, to allow for better organization tickets and ticket assignees.
Acceptance Criteria
Have a discussion and determine whether we need the Jira and implement it thereafter.

I would like to give Clickup a shout (https://clickup.com/)
One useful solution is the multiple assignees, for example to investigate SPIKE work (https://clickup.com/features/multiple-assignees)
The only problem with integrate with a 3rd party platform such as Jira or Clickup can create some walled gardens (ie require account creation, thus an additional step to breakthrough )

Im inclined to agree on the sentiment of "it may be overkiill"
BUT, part of what the goal of this project is, is to create a pseudo-work-environment. So it could also be, well, beneficial overkill? Though, I'd argue that working with new technologies far outweighs workign with a new issue tracker. And pretty much, an issue tracker is an issue tracker is an issue tracker. They'll all have similar features, despite the difference in implementation.
Let us let others chime in on this discussion, before making any decision. As for me? Since this is technically an open-source project, I say keep the issues in github, but honestly I think it's up to the team what they want to discover and work with


Create Image for Social Media Post

Problem: We need an image for our next Twitter thread on Open Source Alternative tools
Solution: Check this document, the text labelled in red is the thread we want to create the image for. It would be great if the designer could play with the logos of the different tools on the design.
A similar image we have created in the past: https://twitter.com/chaoss_africa/status/1603346592597262340?s=46&t=nqcSPG0qLrEVxdAEyOPh1g
Have questions tag @Ruth-ikegah

Noted @Ruth-ikegah

Can I work on this @iamkingsleey

@iamkingsleey please check out this one's https://docs.google.com/document/d/1DwE5Wzb6g0drAzKSKeN-eXI4qeVUuS652hMkE9ZpGts/edit?usp=drivesdk

Hi @Delight362, thank you for indicating interest in picking this up.
I have taken a look at it. Great concepts, however, I developed a template last year to guide and make the design consistent. Sophia used it to make this https://www.figma.com/file/7tiuJbwakgDu15mOjzKTDK/Badging-Website?node-id=2059%3A5286&t=6VnCBuvi9WzTHsTp-0 the previous Twitter thread, I think it will be best to maintain that consistency. Check out the Figma link, I belive it will be helpful. Also, the font style used for the design is SORA; You will find the font file here https://drive.google.com/drive/folders/1r5iqmnuj8-vqqsrD_b2sPggDGIEwLMUN?usp=sharing

Okay thanks for this information

@Delight362, thanks for your work so far!
Something to note: We just need one image for the thread

@Ruth-ikegah Could you check this and kindly drop your feedback? Thanks

Thanks for the reminder @Ruth-ikegah and @iamkingsleey  you can check out the update here.
https://www.figma.com/proto/7tiuJbwakgDu15mOjzKTDK/Badging-Website?node-id=2603%3A6206&scaling=scale-down&page-id=2511%3A5846

This looks awesome @Delight362
Thanks so much! I will be posing this tomorrow on our social.


enderio crash on startup

Issue Description:
crash on startup
What happens:
What you expected to happen:
Steps to reproduce:

...

Affected Versions (Do not use "latest"):

EnderIO:1.12.2-5.2.61
EnderCore:1.12.2=0.5.76
Minecraft:1.12
Forge:<IP_ADDRESS>54
SpongeForge? no
Optifine? no
Single Player

Your most recent log file where the issue was present:
https://gist.github.com/TheNimbleNinja/b06a650d791031a060e2ae019e5f662f

#5443


[Fix #11787] Fix a false positive for Lint/DuplicateMatchPattern

Fixes #11787
This PR fixes a false positive for Lint/DuplicateMatchPattern when repeated in patterns but different if guard is used.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

The examples should also be updated to mention pattern guards.

Sure! I added examples about the match pattern.

Thank you for the quick fix!


Drag & Drop issue still unsolved?

I've searched for a solution to simulate drag & drop for a long time. But since the document says:

For 'mousemove', however, there is no button pressed (i.e. it is not dragging).

It seems to be no way to do this thing? I find that someone said they found a solution (https://github.com/ariya/phantomjs/issues/10586), but it seems that they still have problems with their implementation(I tried to look for their code but got a 404 page) and it never works for me.
Does anyone have a workaround?

I got Drag&Drop tests working under Selenium+Nightwatch+PhantomJS.
My versions:
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
To simulate drag&drop from #foo to #bar:
  browser
//(...)
  .moveToElement('#foo',5,5)
  .mouseButtonDown('left')
  .moveToElement('#bar',5,5)
  .mouseButtonUp('left')

References:

http://nightwatchjs.org/api#moveToElement
http://nightwatchjs.org/api#mouseButtonUp
http://nightwatchjs.org/api#mouseButtonDown


fixes #27

fixes #27

Codecov Report

Merging #28 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   41.31%   41.31%
=======================================
  Files          10       10
  Lines        1941     1941
=======================================
  Hits          802      802
  Misses       1139     1139

Impacted Files
Coverage Δ

R/seas_we.R
69.44% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83e5a01...a33492d. Read the comment docs.

not yet done, still checking your example

Your example is working now, see #27. I guess it is mergeable.

Great, thanks! And sorry for not using reprex... I'll be better in the future :-).


Add support for Azure Open AI

Are there plans to support Azure Open AI?

Hello @talrejanikhil, is this something you need? We can support it in an upcoming release. Can you please describe the main use cases around it?

Hi @ToJen , we are using Azure Open AI as an LLM instead of the usual Open AI directly. It would be nice if we can add support for this. Its fairly common in other multi-agent systems to support Azure Open AI as well. Let me know if I can help.


Update scalameta to 4.4.27

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

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

labels: library-update, semver-patch

Superseded by #229.


error tempmail

time for load cloudflare captcha is low !
increase time please .

Try use main.py from dev branch. And send results pls

i changed tempmail to 10minutemail i fixed it :
python main.py --chrome --key --email-api 10minutemail
but tempmail shown cloudflare captcha and before i click the box , cmd shows use vpn !
i can load tempmail website in google chrome well with no problem .

i changed tempmail to 10minutemail i fixed it :
python main.py --chrome --key --email-api 10minutemail
but tempmail shown cloudflare captcha and before i click the box , cmd shows use vpn !
i can load tempmail website in google chrome well with no problem .

Because it gives you eight seconds to do everything. I can't do the captcha solution check because tempmail window is not active, and if I make it active, the captcha doesn't pass.
And I used a delay to change the active window in code

Please make the test for main.py from the dev branch

Please make the test for main.py from the dev branch

i used it and everything is ok .
because its use 1secmail and no captcha !!


[DOCS] Kyuubi RESTful API admin

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Which parts of the documentation do you think need improvement?
We need doc about introducing kyuubi rest api /admin and examples here RESTful APIs and Clients
Affects Version(s)
master
Improving the documentation
No response
Anything else
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

I would like to take this.


Principal support for colored prompts.

Sadly, see this bug report:
https://mail-index.netbsd.org/netbsd-bugs/2013/02/06/msg031942.html
and this description:
https://stackoverflow.com/questions/21240181/how-to-colorize-the-prompt-of-an-editline-application
This is still true as of now - multiple escape sequences like with
PS1='[\e[1;34m][\u@\h:\w]$[\e[0m]'
are broken, and a single pair like in
PS1='[\e[1;34m\u@\h:\w\e[0m]# '
isn't feature-complete.
We'd need to get rid of editline...

Well, if you plan to use libreadline, then this needs only minor modifications.
When dumping editline it makes no sense, unless your linedit (really only one "e" in the middle?) needs similar tricks to keep special sequences. (The idea after marking these is that the number of characters left in the current line can be counted.)

And principal meant that
PS1='[\e[1;34m][\u@\h:\w]$[\e[0m]

is broken, but
PS1='[\e[1;34m\u@\h:\w\e[0m]# '

works (but is actually wrong). Ie. escape sequences for colors work, they only need a workaround for the broken editline behaviour.
I posted the patch because I only found that out after implementing it... (of course ;)
Further on, perhaps we want to prefer $PS1SHCL over $PS1 and/or prepend or append "shcl" somewhere - that would be less confusing ;)

Unless you have a different readline in mind, GNU readline is licensed under the GPL.  I'm trying to keep SHCL covered by a permissive license.  So, I wouldn't want to completely abandon editline in favor of readline.  However, there's no reason we couldn't support both readline and something else!


Update linux kernel parameters in Grub for VPP

At least with CentOS 7, the Grub kernel config needs 'rd.auto rd.auto=1' in addition to the other parameters needed for VPP (hugepages, iommu, etc.)

Resolved with the help of Packet.net support that found the missing rd.auto parameter.


Swift 3.0 Syntax Conversion

Thanks for creating a new branch for the swift-3 syntax change.

thanks


Add linalg.svd, linalg.pinv to ChainerX

This is work-in-progress pull request!
This PR wraps cuSOLVER's SVD decomposition.
With reference to #6423  and #6764

Tests are missing

Jenkins, please test this

Jenkins, test this please

Jenkins CI test (for commit 07e246cb0946ec2281ce26c42de5d2848e25fe17, target branch master) failed with status FAILURE.

SVD and pseudo-inverse are now working. Tests are passed.
Pseudo-inverse cutoff based on given tolerance is not implemented yet.

Pseudo-inverse cutoff based on given tolerance is working now.

SVD is differentiable now.
I need to polish the code according to comments in other PRs and it'll be ready.

I left some comments. Can you take a look? I think it's okay to merge after those.

Jenkins, test this please.

The implementation LGTM, let's check the CI.

Jenkins CI test (for commit a326597e8b731d8cfbf27d44f0981b9ae62e5161, target branch master) succeeded!


unable to parse valid xml

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="//css-tricks.com/wp-content/plugins/wordpress-seo-premium/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://css-tricks.com/post-sitemap1.xml</loc>
		<lastmod>2011-12-06T01:22:36+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->

The problem in line 2:
<?xml-stylesheet type="text/xsl" href="//css-tricks.com/wp-content/plugins/wordpress-seo-premium/css/main-sitemap.xsl"?>

I did not even know what this instruction was. It has nothing to do with converting to a hash, and I don’t even know if it needs to be implemented.

Hi.
This is valid sitemap.xml file.
Currently it is parsed wit error.
Maybe you need to skip such lines?

Hi!
Fixed in v0.55, check please.

thank you
i will test it
On 02.03.2020 18:39, Yuriy Ustushenko wrote:

Hi!
Fixed in v0.55, check please.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yoreek/XML-Hash-XS/issues/18?email_source=notifications&email_token=AAH2MSHZIYT2GSPENP2AH2DRFPOKRA5CNFSM4KWGPEK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQAIQY#issuecomment-593495107,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2MSDAYQMHPQJ3RP2HN6LRFPOKRANCNFSM4KWGPEKQ.

Yes!
I got error after upload module:
module : XML::Hash::XS
version: undef
in file: XML-Hash-XS-0.55/lib/XML/Hash/XS.pm
status : The PAUSE indexer could not store the indexing result in
the DB due the following error: C< Lock wait timeout
exceeded; try restarting transaction
I sent bug report but haven’t received a response yet.

Do not wait, they will never respond.
You can force reindexing in your PAUSE account.

Reindexed successfully!


docs: add GitHub templates

Stylix should have PR and issue templates to standardize their format to some extend. Additionally, the current GitHub labels might need adaptation.
Feel free to suggest new formats and refine already proposed ones.
I suggest we start the discussion based on https://github.com/nix-community/nixvim/pull/960.
Follows: https://github.com/danth/stylix/commit/bf31640f49cb115508c31bf3bd0b4b80bb8ab71d

I think it would be helpful to have labelling which differentiates between new targets vs new features for Stylix as a whole - adding new targets tends to be less complex, so the ability to search for these in particular may provide a nice entry point for new contributors.
As has already been done with the commit message format, we should try to take inspiration from other projects in the Nix ecosystem.

As has already been done with the commit message format, we should try to take inspiration from other projects in the Nix ecosystem.

Good idea.

I think it would be helpful to have labelling which differentiates between new targets vs new features for Stylix as a whole - adding new targets tends to be less complex, so the ability to search for these in particular may provide a nice entry point for new contributors.

I suggest adding an issue template for each label such that issue submitters can add the appropriate labels themselves. This would save maintainers tedious work.


Add renovate configuration

Use MEND Renovate https://www.mend.io/free-developer-tools/renovate/

This will automatically update the dependencies.

Codecov Report
Base: 96.35% // Head: 96.35% // No change to project coverage :thumbsup:

Coverage data is based on head (cd6286e) compared to base (6f527f2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage   96.35%   96.35%
=======================================
  Files           4        4
  Lines         384      384
=======================================
  Hits          370      370
  Misses         14       14

Flag
Coverage Δ

unittests
96.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Feature/dockstore saver

script is currently encrypting the files but the tests are not (behaviour can be changed if you wish)
docker load -i ___.tar works for the files downloaded from cancer collaboratory

Coverage decreased (-8.4%) to 31.25% when pulling 98eb93c2f6c84ca06e60b4f126ba819e0ac8d677 on feature/dockstore_saver into 610106971caaf9560fc45688bc2c5bd2017efbed on develop.

Coverage increased (+9.9%) to 49.573% when pulling 2715bace2b1ed1408e6afe315140532d0c2f590c on feature/dockstore_saver into 610106971caaf9560fc45688bc2c5bd2017efbed on develop.


Bump utils-java version for latest GRPC.

I made this change in my pull request here (https://github.com/googlegenomics/dataflow-java/pull/99/files) so it would just be easier to merge that in with the streaming tools I added.

Oh, got it.  Will close this one.


Add base64-image-converter extension

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Hi! Thank you for your contribution! My name is Milena and I will be reviewing it today.
We already have a Base64 encoder/decoder. Do you think it would make sense to add your extension as a command for this? https://www.raycast.com/DanielSinclair/base64 And if not that one, maybe the SVG64 - Convert SVGs to Base64 Strings https://www.raycast.com/EvanZhouDev/raycast-svg64
What do you think?

I can add here https://www.raycast.com/DanielSinclair/base64; it's better to keep all tools on the same package. Other question, I can change the current UI of base64 to be more similar with my extension.
I was thinking of separating the current extension behavior into two commands: one for decoding and another for encoding. I believe this could improve the UX. What do you think?

I'd say go for it! And we can discuss further the changes when you submit another PR. And then we can get the opinion of the author as well :)

Apologies for the absence; I had a lot of work to catch up on. However, I’m now ready to continue working on the extension. I spoke with the team on the other PR, and I believe it would be better to create a separate extension specifically for images. Could you please reopen this PR so we can proceed with publishing the extension?
What do you think

Who you talked to? Do you mind sending me a link?

@pernielsentikaer do you mind checking this?

Hello @pernielsentikaer, would it be a good idea to reopen this PR so we don’t lose track of it? 😁


Software improvement

Help me to improve this software by leaving a feedback

New features will added soon.
I hope to add:
-Customizable icons for the generated client
-Possibility to hide the client inside a working program
and also other features feel free to express your thoughts on this features or suggest some ideas

Customizable icon is now a feature

is it bypassing wd without crypter?

@hawk7476 yes, it is undetectable at the moment

thanks and appreciation for your work...please i can not find payload after creating it.I have checked all folders

add atleast file browsing and keylogger functionality

open webcam, and audio recorder.. and FUD


update changelog to fix pr link

What does this PR do?
update changelog to fix pr link
Why is it important?

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added an entry in CHANGELOG.md

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-06-27T16:20:52.191+0000

Duration: 9 min 0 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
1076

Skipped
6

Total
1082

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.


Don't start local dlv dap when using remote dlv

Hi, thank you very much for your plugin, I found a point that may be optimized.
I start the dlv manually on the remote machine, and use the following launch.json
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Attach region remote",
            "type": "go",
            "request": "attach",
            "mode": "remote",
            "port": 12345,
            "host": "<IP_ADDRESS>"
        },
        {
            "name": "Launch region remote",
            "type": "go",
            "request": "launch",
            "mode": "exec",
            "port": 12345,
            "host": "<IP_ADDRESS>",
            "program": "/opt/wcloud/bin/region",
            "args": [ "--config", "/etc/wcloud/region.conf" ]
        }
    ]
}

In this case, dap.adapters.go should not start the dlv dap locally, but directly callback({ type = 'server', host = host, port = port, options = con_options }), like this
  dap.adapters.go = function(callback, config)
    ....
    if <some judgment conditions> then
      callback({ type = 'server', host = host, port = port, options = con_options })
    else
      handle, pid_or_err = vim.loop.spawn('dlv', {
        stdio = { nil, stdout, stderr },
        args = { 'dap', '-l', addr },
        initialize_timeout_sec = con_options.initialize_timeout_sec,
        detached = true,
      }, function(code)
        if code ~= 0 then
          vim.schedule(function()
            log('Dlv exited', code)
            vim.notify(string.format('Delve exited with exit code: %d', code), vim.log.levels.WARN)
            _GO_NVIM_CFG.dap_port = _GO_NVIM_CFG.dap_port + 1
          end)
        end

        _ = stdout and stdout:close()
        _ = stderr and stderr:close()
        _ = handle and handle:close()
        stdout = nil
        stderr = nil
        handle = nil
      end)
      assert(handle, 'Error running dlv: ' .. tostring(pid_or_err))
      stdout:read_start(onread)
      stderr:read_start(onread)

      vim.defer_fn(function()
        callback({ type = 'server', host = host, port = port, options = con_options })
      end, 1000)
    end
  end

For Attach region remote, my remote dlv command is: dlv --listen=:12345 --headless=true --api-version=2 attach <pid>; for Launch region remote, my remote dlv command is dlv dap --listen=:12345.

I pushed a fix for it. Could you check if it works?

Thanks for your fix. This fix should only be for the first case I listed more, and it works. It doesn't handle the second case Launch region remote, and I don't have any conclusive ideas about it.
In fact, it always works in the end. Because no matter whether the local dlv dap can be started or not, it will try to connect to the correct dlv dap in the end, but there will be an error that the local dlv dap fails to start.

        {
            "name": "Launch region remote",
            "type": "go",
            "request": "launch",
            "mode": "exec",
            "port": 12345,
            "host": "<IP_ADDRESS>",
            "program": "/opt/path/bin/region",
            "args": [ "--config", "/etc/path/region.conf" ]
        }

As it specified launch, a dap server will be started locally

I don’t know if my usage is standardized, but I thought launch meant to actively launch the program to be debugged. And my usage worked. I started debug adapter by executing the command dlv dap --listen=:12345 on the remote server, so there is no need to start it locally. When I start debugging, dap will connect to host:port and then execute the program+args in my configuration to launch the program and start debugging. Maybe I should judge whether I need to start locally by the host field. I found this use case on the Internet. As for the meaning of the mode field, I didn't find it in the official document.

And，removing exec or changing to other modes will not work, if you are interested and have time you can try this use case.

The launch feature uses a launch request type configuration in your launch.json file. Its program attribute needs to be the absolute path to either the Go file, or folder containing the main package or test file. In this mode, the Go extension will start the debug session by building and launching the program. The launched program will be terminated when the debug session ends.

This means the adapter will launch the program, in this case go.nvim will launch your binary and the dlv-dap server and start the debug session. To debug a remote program (e.g. a go proccess started with dlv exec)
You should use
        {
            "name": "Launch region remote",
            "type": "go",
            "request": "attach",
            "mode": "remote",
            "port": 12345,
            "host": "<IP_ADDRESS>"
        }

Fine, got it and thanks. Maybe this is the correct way to use.


example script in resnet50_script.py is not updated

the api used in this py script is not updated, when i changed to the right side version, it works again~ Please fix it and check other tests as well

@powderluv