Support for eBay listing videos

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and am willing to share it if required

Region
No response
Example URLs
https://www.ebay.com/itm/194509326719
Provide a description that is worded well enough to be understood
eBay apparently have begun supporting videos in the listing gallery, mixed in with the photos. Someone sent me a URL (provided in the Example URLs) which contains one such video. It's the second item in the gallery (click the thumbnail with the play button on the left of the main image).
Tested with yt-dlp (latest) but appears there's no support yet. The browser network log shows M4S segmented video/audio streams being downloaded when played.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '-F', 'https://www.ebay.com/itm/194509326719']
[debug] Portable config "D:\Global\yt-dlp.conf": ['-o', 'M:\\Videos\\%(title)s [%(uploader)s, %(extractor)s].%(ext)s', '--console-
title', '--no-mtime', '--add-metadata', '--compat-options', 'all', '--no-clean-infojson', '--compat-option', 'filename-sanitizatio
n']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8 (No VT), error utf-8 (No VT), screen utf-8 (No VT)
[debug] yt-dlp version 2023.01.06 [6becd25] (win_exe)
[debug] Compatibility options: no-external-downloader-progress, format-spec, list-formats, multistreams, no-live-chat, no-direct-m
erge, embed-metadata, embed-thumbnail-atomicparsley, *filename, no-youtube-channel-redirect, filename-sanitization, playlist-index
, no-certifi, no-playlist-metafiles, format-sort, *no-clean-infojson, abort-on-error, no-youtube-prefer-utc-upload-date, seperate-
video-versions, no-attach-info-json, no-keep-subs, no-youtube-unavailable-videos
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-8.1-6.3.9600-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-105349-g0a83ecbf48-20220124 (setts), ffprobe N-105349-g0a83ecbf48-20220124, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[generic] Extracting URL: https://www.ebay.com/itm/194509326719
[generic]<PHONE_NUMBER>19: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic]<PHONE_NUMBER>19: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.ebay.com/itm/194509326719
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1502, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1578, in __extract_info
  File "yt_dlp\extractor\common.py", line 680, in extract
  File "yt_dlp\extractor\generic.py", line 2523, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.ebay.com/itm/194509326719

Since I'm not sure how long that listing will remain accessible (depending on the relisting settings after some number of weeks it might not be) and haven't come across such videos in listings often, I've attached the DASH and HLS playlists as pointed out by the above comment for reference.
Renamed to -<format>.txt since Github has a whitelist of attachable formats.
playlist-dash.txt
playlist-hls.txt


Add 19H2 to bug issue template windows version list

Description

Add Windows 10 19H2 to table of windows version in the GitHub bug issue template
Motivation and Context

Keep bug issue template up to date
How Has This Been Tested?

Viewed the MD file in GitHub
Screenshots (if appropriate):

/azp run

Closing it for now since 19H2 doesn't come with SDK.


Have platform build URL's without version number redirect to latest version of that patch

E.g.
https://enzienaudio.com/h/yuli/test/unity/src/archive.zip
redirect to
https://enzienaudio.com/h/yuli/test/[whatever the latest version currently is]/unity/src/archive.zip

Instead of
https://enzienaudio.com/h/diplojocus/sine/2/unity/macos/x64/archive.zip
You can now do something like
https://enzienaudio.com/h/diplojocus/sine/latest/unity/macos/x64/archive.zip
And it'll retrieve a target for the most recent patch version.


Use different time periods in PrivilegedAccountsSigninFailureSpikes.yaml

SIMILAR PULL REQUEST AS https://github.com/Azure/Azure-Sentinel/pull/3508
If the query period is 1d, you won't get results from 14 days ago that you try to query.
Fixes #
Not getting any meaningful results due to several time periods.
HourlyCount was computed in timeframes of 1 day, maybe this was intended, but then it shouldn't be called HourlyCount or compared to DateHour (which was computed in timeframes of 1 hour).
Proposed Changes

Use query period of 14 days, as other Detection Rules have it when they search events from 14 days ago.
Reuse let allSignins = union isfuzzy=true aadSignin, aadNonInt ; or remove it.
Use TimeSeriesAlerts | where TimeGenerated > startofday(ago(timeframe))  or is it intended to be 2d when the queryfrequency is 1d?
Compute HourlyCount with timeframe of 1h, instead of 1d
several other changes to make it work

The anomalies were intented to be computed by hour or by day? This alert could be noisy.

@ep3p - I think you may be changing the intent of the query, but will need @ashwin-patil to review as he is the original author.

Just to shed some light, AnomalyHours always has the format date 01:00:00, but DateHour has the format date XX:00:00.
Unless the SignInLogs happen between 01:00 and 02:00 at night, it will never trigger.

@ashwin-patil Can you please check and approve?


Reimplement APIError Exception class

Glad to see this gem is getting some love again. The 1.0.0 release removed the APIError exception and now just has a string. This makes it more difficult to see why an exception was thrown. If possible I would like to request this be revered back to pre 1.0.0.

Thanks for the kind words, bbck.
Version 1.2 will have exceptions for all known error messages returned from the API endpoint as well as for undocumented/unknown errors.


QuickCraft Not Working

Description
v 2.2.1
I hover mouse over item that I do have the mats to make. I click my keybind that i have verified and isnt shared elsewhere. It wont work. Ive been using this for weeks and this version stopped it from functioning.
Reproduction
No response

Doing Ctrl+Q when having your mouse over an item does not work anymore (such has having your mouse over a quickbar slot), you now need to press Q (to grab the ghost in hand) then Ctrl+Q so that it works.

This was an intentional change to fix #28. But it seems like people relied on the old behavior, so I will take a different approach.

Ah this tripped me up too - didn't realize how much I used it!


better call saul goodman

why not

was about to say damn this update is very very consistent.
dies at 64%


Error message appearing

Whilst supporting a publisher to set up their AidStream account, AidStream kept showing an error message 'something went wrong' when trying to verify their publisher ID or select the API field. When updating the activity elements checklist, the page would not save any changes.
The publisher was using a Windows Explorer 10 as their browser.
At the same time, my account was working and I could make the changes.
Any ideas on how to solve this one?

Dear Amy,
Could you please provide us the name of the organisation in which this issue was faced.

Hi Kiran,
It was Oxford Policy Management

Dear Amy,
Your Default Values had not been saved. I have set US Dollar as the default currency and English as Default Language for your account. You will be able to change then under the Default Values settings. Could you please try uploading the activities again and tell us if you face any problems.
We apologize for the inconvenience and the late reply and appreciate your understanding.
Sachit.

Dear Sachit,
Is this in response to issue #99 and uploading activities via CSV import?
I have tried uploaded the file again and get the same error message ‘404 – something went wrong’.
I am doing this on my ‘test’ account attached to amy.silcock<EMAIL_ADDRESS>In preparation for supporting OPML to import their data across.
With regards to issue #100
Please can you get in contact with Oxford Policy Management to resolve this issue.
Thank you
Amy Silcock I IATI Business and Data Analyst
Development Initiatives, North Quay House, Quay Side, Temple Back, Bristol, BS1 6FL, UK
T: +44 (0) 1179 272 505 I Skype: amy.silcock.devinit.org
devinit.orghttp://www.devinit.org/ I @devinitorg
Sign uphttp://devinit.org/#!/about/newsletter-sign-up to our newsletter and topic updates
DISCLAIMER: This email and any attachments are confidential and intended solely for the use of the individual or organisation to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Development Initiatives.  If you have received this email in error, please delete it and notify the sender.
From: Sachit Bir Singh Dongol<EMAIL_ADDRESS>Sent: 14 June 2017 07:17
To: younginnovations/aidstream
Cc: Amy Silcock; Author
Subject: Re: [younginnovations/aidstream] Error message appearing (#100)
Dear Amy,
Your Default Values had not been saved. I have set US Dollar as the default currency and English as Default Language for your account. You will be able to change then under the Default Values settings. Could you please try uploading the activities again and tell us if you face any problems.
We apologize for the inconvenience and the late reply and appreciate your understanding.
Sachit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/younginnovations/aidstream/issues/100#issuecomment-308330404, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AaelbSit8ADOn3aKqWQTvE3T1fpSlrPhks5sD3rsgaJpZM4N0GLZ.

This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com

This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com

Hi Amy,
I have sent an email to Kevin Carr on your request. But I did not see any problems regarding the publisher id and api key because they have already been configured correctly.
In regards to Issue#99, the organisation associated with the email<EMAIL_ADDRESS>is named SilcockTest which has been registered for the Lite(minimalistic) version for AidStream, for which the CSV Import feature is not present. Are you sure that this is the account you tried uploading the data into. I am a bit confused here. Can I ask how did you manage to upload the file after which you got the error?
Also, could you please send us the file you were trying to upload.
Best Regards,
Sachit

Hi Sachit,
With Kevin Carr's account, AidStream kept crashing when he tried to enter the details or change the settings. I gather AidStream are currently in contact directly with Kevin about this? The IATI tech team ended up entering the API and publisher ID for him whilst doing 1:1 support as Kevin's system would not allow him to do so.
I have two accounts - one for the full version and one for trying out the Lite version of AidStream. The e-mail address<EMAIL_ADDRESS>is attached to the full version. It is on this one that I have been trying to use the CSV Import feature. Sorry for the confusion there.
I will e-mail the file over to you separately.
Best wishes,
Amy

Hello Amy,
The issue with the CSV Import has been resolved. Could you please confirm if its ok. However, Kevin has not replied to the email I sent.
Thank you.

Hi Sachit,
Yes the activities that import can now be seen and edited.
However, 5/7 activities are now showing an error saying that the 'ACTUAL START DATE OR PLANNED START DATE SHOULD BE BEFORE ACTUAL END DATE OR PLANNED END DATE.'
I can't see that this is the case on the CSV file:

Hello.
The problem was our date format was rejecting the dates that you had entered. But the issue with the dates has been solved. Could you please check and confirm? Thank you Amy.

Thanks Sachit, it is now working!

You're welcome.


lease keeper failed grpc request error: status: Unavailable, message: etcdserver: request timed out, waiting for the applied index took too long

Not a bug as explained by @yezizp2012  that it can be a performance issue of etcd.
Open an issue to track it.
Slack: https://risingwave-labs.slack.com/archives/C048771BGKF/p1682665115090129

Cc @shanicky

It seems that after we switched the disk where etcd is mounted to a more advanced model, this issue hasn't occurred, has it? cc @lmatz

You are right, I am not aware of any in recent tests
Let's close it. We can reopen it if it appears again.
Just leave a record:
We now use EBS gp3 default configuration(3000IOPS 125MB/s) for etcd.
Originally, we use EBS gp2. The performance of gp2 depends on its volume size. Since we allocate small size, its performance is terrible.


Unbreak build - duplicate file names...

...when merging 'shared' and 'platform' files
Oops!
The file renaming should fix this issue.
I also added package and packageSrc to our test phase to check for this in the future.

I had to merge this quickly because we are pointing at non-existent artifacts right now...


Improve HDR rendering

If you tried rendering the same mesh instance to a HDR and non-HDR target before, it would force regeneration of all scene shaders, because tonemap/gamma had to change. Luckily it didn't actually recompile the shaders, but still would perform the full shader key construction for every scene shader and look it up in the cache. It was quite slow.
Instead we now separate meshInstance shader variants to SHADER_FORWARD and SHADER_FORWARDHDR, with latter not using any tonemapping or output gamma correction. As they don't overwrite each other, every object can be safely rendered into HDR/LDR targets when needed.
Also added WebGL 2.0 HDR formats when checking if you're "rendering to HDR".

can be possibly implemented better

Alright, gamma2.2_fast is removed


Issue 430: Add top-level class and requirements on node identifiers

This Pull Request will resolve all requirements of Issue #430 .
Coordination

[x] Pull Request is against correct branch
[x] Pull Request is in, or reverted to, Draft status before Solutions Approval vote has passed.
[x] CI passes in UCO feature branch
[x] CI passes in UCO current unstable branch (98ec576)
[x] CI passes in CASE current unstable branch tracking UCO's unstable as submodule (db3fe86)
[x] Impact on SHACL validation reviewed for CASE-Examples
[x] Impact on SHACL validation remediated for CASE-Examples (Deferred)
[x] Impact on SHACL validation reviewed for casework.github.io
[x] Milestone linked
[x] Solutions Approval vote logged on corresponding Issue (once logged, can be taken out of Draft PR status)

Thanks for the approval @eoghanscasey !  I'm going to wait until the versionIRI merges happen before pushing the big green button on this one.


Fixed a problem with ConsPStack.minus(int i) - would always remove the first occurrence of an object.

The method minus(int i) on ConsPStack was implemented as minus(get(i)). What this effectively does is remove the first occurrence of the object that is the i-th element of the list. This works fine when there are no duplicates, but with duplicates, it will always remove the first occurrence of
the object, even if the index i is that of a subsequent occurrence. So,
ConsPStack.from(Arrays.asList("A", "B", "C", "A")).minus(3) will return B, C, A instead of A, B, C.
Fixed this issue by re-implementing minus(int i) in a recursive manner similar to minus(Object o). Added a test.

Note that this also fixes https://github.com/blackdrag/pcollections/issues/8

thanks


Support for AWS Glue as an alternative Hive metastore implementation

Similar to the functionality in Presto I was wondering if Glue can be substituted in as an alternative implementation of a Hive metastore. Looking at the current HiveTableOperations it relies on:
get table
create table
alter table
an exclusive lock

The locking mechanism would be the problematic part as I don't believe an equivalent API is available in Glue. Possibly there's another approach or another service could be used for the locking functionality e.g. DynamoDB.

I thought Glue exposed the same Thrift API that Hive uses. If that's the case, then we should be able to use the same lock API and code.

I believe the API is partially implemented and doesn't include locking mechanisms unfortunately. Looking into it a bit when running on Spark EMR for instance, the HiveMetaStoreClientFactory can be overridden to specify AWSGlueDataCatalogHiveClientFactory see here. The implementation used there implements the basic Hive metastore operations e.g. create/alter/get table (calling back to the Glue public API) but UnsupportedOperationException is thrown for the lock method.
So, I was thinking the lock piece could be abstracted out where the generic Hive implementation uses the lock method via the Hive metastore but then a Glue override could use some other mechanism. So I guess mainly at this point it's a limitation of the Glue implementation but wanted to toss this out there as a nice to have for people not running their own Hive metastore.

The client source was made available for Glue now for reference, see announcement. AWSCatalogMetastoreClient implements Hive's IMetaStoreClient and delegates to the GlueMetastoreClientDelegate although this only implements a subset of functionality so lock for instance just throws an unsupported operation exception here

I think that Glue should implement locking as required by the interface it exposes. I'd be fine adding a solution specific to Glue in Iceberg as well, but I'm not sure what that would look like. Good to know that Glue won't work though.


Accuracy problem

Hi,
I cannot reproduce the accuracy using your code. Which version of pytorch did you use to train the models?
Thanks.

I test the code on both v0.1.12 and v0.2.0.
Can you provide more details? What scripts are you using to reproduce which model?

python main.py ./data/cifar.python --dataset cifar100 --arch resnext29_8_64 --save_path ./snapshots/cifar10_resnext29_8_64_300 --epochs 300 0--schedule 150 225 --gammas 0.1 0.1 --batch_size 128 --workers 4
This is the command I used to test the model. I'm using pytorch v0.3.0. I got best test accuracy 81.46%.

Please see https://github.com/D-X-Y/ResNeXt-DenseNet/blob/master/shells/cifar10_resnext29_8_64.sh for details.
To reproduce CIFAR results, you need to use 8 GPUs. To get comparable results using 2/4 GPUs, you should change the batch size and the corresponding learning rate. (more details at https://github.com/facebookresearch/ResNeXt)


Update mdanter/ecc to accept v1 and unblock php 8 upgrade

mdanter/ecc v0.5 requires php ^7.0, the v1 handle php 8 and there is no breaking change
Diff between v0.5.2 and v1.0.0: https://github.com/phpecc/phpecc/compare/v0.5.2...v1.0.0
Release note: https://github.com/phpecc/phpecc/blob/master/doc/release-notes-1.0.0.md

@afk11 would it be possible to merge this PR ? It's our last blocker to upgrade to PHP 8

We had to fork; https://github.com/ProtonMail/bitcoin-php and protonlabs/bitcoin on packagist

We had to fork; https://github.com/ProtonMail/bitcoin-php and protonlabs/bitcoin on packagist

Thanks you saved me the pain, Im working on a package that requires https://github.com/kornrunner/php-keccak and it require mdanter/eec v1  and worse my php version was 8.4. Tnanks


Circleci workflow

Change circleci config to

use workflow
run jobs in parallel
run integration tests

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Romanian character not registering

Running Silverbullet 0.3.5 in docker.
Writing Romanian character â doesn't work at all and only in Silverbullet. I tried it in Firefox, Microsoft Edge and Safari - I'm runnig on macOS Ventura 13.4.1.
The keyboard layout is Romanian Programmers (https://github.com/calini/romanian-programmers-macos) and here's the output from the KeyCodes app:
Start typing…

Modifier Change
	Keys:		⌥
	Modifiers:	524608 / 0x80140 ⓘ

Key Down
	Characters:	â
	Unicode:		226 / 0xe2
	Keys:		⌥Q
	Key Code:	12 / 0xc
	Modifiers:	524608 / 0x80140 ⓘ

Key Up
	Characters:	â
	Unicode:		226 / 0xe2
	Keys:		⌥Q
	Key Code:	12 / 0xc
	Modifiers:	524608 / 0x80140 ⓘ

Modifier Change
	Modifiers:	256 / 0x100 ⓘ

This was working before (at least one week ago), but I'm not sure about Silverbullet's version I was running, as I have an automated upgrade setup for docker.

So if I’m reading this correctly, you’re effectively typing Option-q on your keyboard? That would indeed conflict with Directives: Update but it’s been like that for over a year, so I’m confused why this would become a problem now…

So if I’m reading this correctly, you’re effectively typing Option-q on your keyboard? That would indeed conflict with Directives: Update but it’s been like that for over a year, so I’m confused why this would become a problem now…

Hmmm. Yes, that's the case. And it's possible I mistook my usage of Silverbullet on my personal laptop running Linux.
So în this case is there a way to change the shortcut for Directives: Update?

Not yet, but I just bumped the priority of #193

This is great. Thanks for looking into it.


Fix for "postgres database 'kong_tests' is missing migration"

I just stumbled across your repository while trying to fix the same problem. You can run your migrations on the kong_tests database as follows.
vagrant@vagrant-ubuntu-trusty-64:/kong$  bin/kong migrations up -c spec/kong_tests.conf

Then your tests should run fine.

Tried, but doesn't work for me by some reason.
And when I verify it like this:

bin/kong migrations list -vv -c spec/kong_tests.conf | grep my-plugin-name
I see no output

At the same time this:

bin/kong migrations list -vv | grep my-plugin-name
prints my plugin.

Resolved it. Before running "bin/kong migrations up -c spec/kong_tests.conf" you should first set "export KONG_PLUGINS=bundled,my-plugin"


ARROW-12136: [Rust][DataFusion] Reduce default batch_size to 8192

I did some comparisons with different batch sized with TCP-H on SF=1 in memory / 16 partitions. We chose a higher batch_size earlier as DF had some problems with smaller batch sizes (in hash join, but also because it missed the CoalesceBatches node).
Smaller batch sizes have some performance benefit: more (possible) parallelism for smaller tables, batches are available sooner (think e.g. of CoalesceBatches with highly selective filter) and therefore more parallelism, etc.
Also, memory usage can be reduced.
Currently it seems a value around 8000 is the sweet spot for SF=1, only query 1 is faster with a slightly smaller batch size.

Does this result look the same with SF > 1?

Does this result look the same with SF > 1?

It seems so, yes. On SF=10:
q 1

32000 996.21 ms
16000 828.83 ms
8000  714.61 ms
4000  685.30 ms

q 5
32000 2094.11 ms
16000 2051.94 ms
8000  2014.32 ms

Cool. LGTM!


Adding allowed environment variables option to only allow listed

Context
Protection from malicious environment variables - An allowed-environment-variables command line param accepting an allow-list of regular expression strings, e.g.: ^BUILDKITE_.*$ or BUILDKITE_.*. If the param is used, then any environment variables that don't match an entry in the list are ignored.
This work is part of the issue about buildkite-agent security.

@moskyb Can you PTAL 🙏

hey @CheeseStick - i've opened a new PR #2539 that has the code from this PR + some other changes for usability and tests. i'm going to close this PR, but the one linked above should be merged soon and made a part of agent v3.61. thank you os much for your contribution!!!!

Thanks!!! 😁


its some kind of bug, when week starts from Monday

Hi! Seems, its some kind of bug, when week starts from Monday:

6/12/24 must be a Friday

Thank you for making a note of this, I will fix this


Diacritic insensitive ?

Hello,
How enable a research with diacritic insensitive ?
For exemple, the record is  élastic, and my search is elastic

Hi @kevindesousa. This channel is for bug or feature requests related to this package.
Since your question is about Elasticsearch mapping, I'm closing this issue and suggest you creating on question at https://stackoverflow.com/
Tip: Search for asciifolding filter and how to add it to your index analyzer.


Register *.sky and *.star IDE file associations as "Bazel BUILD Language"

Our company uses Starlark code stored in .sky files to generate configuration files. (We do not use Bazel for this - just pure Starlark.) Unfortunately everyone who edits these files needs to know how to open them as Bazel BUILD Language in IntelliJ.
It would be a pretty simple change to BuildSystemProvider.
NOTE: I'm not actually sure this is appropriate. It's possible that there are some inspections or internal indexing processes that would be affected negatively by this.

We can discuss this internally,
as a mitigation, the easiest way to have this as default for your users, would be to add an entry like
 <mapping ext="sky" type="BUILD" />

to filetypes.xml which is located at
$HOME/.config/JetBrains/IntelliJIdea2021.1/options/filetypes.xml

on linux and for IntelliJ 2021.1. Which is equivalent to making the association manually when opening a file or under Settings and can be done by a config script.

@keithl-stripe We've discussed this internally and decided that it's safe to go ahead with associating *.sky and *.star. Expect the change to arrive in one of the following releases.

Cool!! Thanks for considering it!

This has now been in the plugin for a couple of releases. Closing the bug @keithl-stripe .

Cool! We haven't upgraded yet but will try it out as soon as I can. Thank you!


app.all missing?

there is app.all in express which seems nice to me. did I miss it in this lib? (really like this lib btw)
app.all would just respond to all requests whether its get or post, it doesnt mind. unlike app.get or app.post which are request type specific.

check out app.before. I think it's what you need

Happy to hear that you like Javalin @nihiluis. There is no app.all, what's your use-case for this?

I use it on node.js for forwarding requests to another server.
i think app.before should match. app.all seems more intuitive though and should be rather easy to implement.

A before-filter will work, but imo it's not really correct for your use-case. I image people who forward all request made to a particular path still want their before/after handlers to run in the correct order. It's very easy to implement an all/any verb, but it might be confusing to some users. I'll turn this into a feature request and have a look at it when I'm back from vacation. Can you think of any other use-cases?


Compile errors with Sapo Ink Sass lib

Hello.
I am trying to import the Ink framework into my empty project. (https://github.com/sapo/Ink)
Since it does not have a meteor package, I created the following file structure for it:
/client/lib/ink/sass/
And placed all
git@github.com:sapo/Ink.git /Ink/src/sass/ files inside of it.
The structure now looks like this : http://puu.sh/kL4bv/34032ac1c5.png
With<EMAIL_ADDRESS>I get :
=> Modified -- restarting.
=> Errors prevented startup:

   While building the application:
   /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/config/_typography.scss:2:9: Scss compiler error:
   file to import not found or unreadable: compass/support
   Current dir: /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/config/

   /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/contrib/compass/css3/_images.scss:2:9: Scss compiler
   error: file to import not found or unreadable: compass/utilities/general/hacks
   Current dir: /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/contrib/compass/css3/

=> Your application has errors. Waiting for file change.

With<EMAIL_ADDRESS>=> Modified -- restarting.
=> Errors prevented startup:

   While processing files with fourseven:scss (for target web.browser):
   /client/lib/ink/sass/ink-flex.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

   /client/lib/ink/sass/ink-ie.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

   /client/lib/ink/sass/ink-legacy.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

   /client/lib/ink/sass/ink.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

=> Your application has errors. Waiting for file change.

With:
=> Modified -- restarting.

Changes to your project's package version selections:

fourseven:scss*  downgraded from 3.4.0-beta1 to 2.1.1

* These packages have been updated to new versions that are not backwards
compatible.
=> Errors prevented startup:

   While building the application:
   /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/config/_typography.scss:2:9: Scss compiler error:
   file to import not found or unreadable: compass/support
   Current dir: /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/config/

   /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/mixins/_grid.scss:19:40: Scss compiler error:
   invalid property name

=> Your application has errors. Waiting for file change.

I dont quite understand what is happening here.
Any ideas?

You probably need to install compass to make it work on 3.2.0. For 3.4.0-beta1 there might be a shortcoming in the data node-sass provides to custom importers. So first try installing compass and running it with node 3.2.0

Followed compass install instructions :
$ gem update --system
$ gem install compass

Also updated node with brew install node.
Using 3.2.0 I get
   While building the application:
   /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/config/_typography.scss:2:9: Scss compiler error:
   file to import not found or unreadable: compass/support
   Current dir: /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/config/

   /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/contrib/compass/css3/_images.scss:2:9: Scss compiler
   error: file to import not found or unreadable: compass/utilities/general/hacks
   Current dir: /Volumes/2TB/Files/Documents/Projects/TSWAT/client/lib/ink/sass/contrib/compass/css3/

And with 3.4.0-beta1:
fourseven:scss  upgraded from 3.2.0 to 3.4.0-beta1

=> Errors prevented startup:

   While processing files with fourseven:scss (for target web.browser):
   /client/lib/ink/sass/ink-flex.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

   /client/lib/ink/sass/ink-ie.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

   /client/lib/ink/sass/ink-legacy.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

   /client/lib/ink/sass/ink.scss: Scss compiler error: File to import:
   {}/client/lib/ink/sass/contrib/compass/css3/compass/support not found in file: shared

=> Your application has errors. Waiting for file change.

Regarding 3.2.0, when you say running it with node, what exactly do you mean?

This project doesn't support libraries which use compass, because that requires Ruby's version of the Sass compiler, and doesn't work with libsass (which is what this project is built around).


Icon has weird behaviour sometimes

My line usually looks like this:

but sometimes something makes the git icon move too far to the left:

Code for the affected section:
gls.left[1] = {
	ViMode = {
		provider = function()
			vim.api.nvim_command('hi GalaxyViMode guifg=' .. mode_color[vim.fn.mode()])
			return '▊ '
		end,
		highlight = {colors.red, colors.line_color}
	}
}

gls.left[2] = {
    GitIcon = {
		condition = condition.check_git_workspace,
		provider = function()
            return '  '
        end,
        highlight = {colors.blue, colors.line_color}
    }
}

I think this is due to the separators in diagnostics section. Since they are always ON (just it does not show if count is zero), so the separators may push other icons.
I fixed it using some hack. Here is the link to my config.


llvm-4/clang-4: Build and install man pages

Motivation for this change
man pages are useful!
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Thanks for the comments/review, updated!

Looks like something in the stdenv is trying to refer to the man output 😕, also not sure why that breaks the build.
output ‘/nix/store/vrkx52xhl4y54dnvq169g8va5m74786j-stdenv-darwin’ is not allowed to refer to path ‘/nix/store/pmwxqq97xx865pxq64jdgcphfpdzf7gc-clang-4.0.0-man’

That should do it. I don't think it's possible not to reference the man output unless we change the cc-wrapper to also use multiple outputs.

FYI. I added support for multiple outputs to the cc-wrapper in #26153

Woohoo, thanks!

BTW, I'm not convinced that tiny outputs without extra dependencies are worth splitting.
$ du -hs ./result-man/
12K     ./result-man/

@vcunat Size isn't the main reason why I suggested it. I think installing compilers in the system/user profile is a bad idea because it makes nix-shell -A unreliable. This makes it straightforward to only install the manpages without having to resort to buildEnv with pathsToLink or something.

Hmm, right, that makes good-enough sense to me.


Detect existing brackets and don't auto add

Hi,
This is a great extension, and I use it almost every day. However, there are a few times when I already have brackets around my interpolation, I type $, and then I get an extra pair that I have to delete.
Is it possible to detect existing brackets and then not add new ones?
Thanks!

Hi @Tim15,
Nice to hear that you use it often.


SidebarItem: support for external links

Hey, I just made a Pull Request!
This PR closes #9293.
SidebarItem and SidebarSubmenuItem take an option href prop for handling external links.
SidebarSubmenuItemProps has been improved: it is now possible to specify only one prop between to, href and dropdownItems.

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Hm. Why several? Should only support one (to), and that one should support both internal and external links and handle them accordingly. See https://github.com/backstage/backstage/pull/9575


Make start_dt, end_dt check function in client js

start_dt, end_dt time value should be bigger than current datetime.
And end_dt time value should be bigger than start_dt value.

594017b203a7755b8d8f3f10d082c97926766916
form structure was fixed together.
when creating multiple quesitons, all component questions are set to same start_dt, end_dt value.


[Tracer] implement startActiveSpan()

Is your feature request related to a problem? Please describe.
startActiveSpan() was added to api via https://github.com/open-telemetry/opentelemetry-js-api/pull/54, once a release is cut, this new method should be implemented in https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-tracing/src/Tracer.ts

@naseemkullah are you planning on implementing this?

Yep, as soon as the api release is cut and I can find some time.


The program 'node' is currently not installed.

nodenv is working good on my mac, but in ubuntu 17 I've got on terminal:
node -v
The program 'node' is currently not installed. You can install it by typing:
sudo apt install nodejs-legacy

the only way to work is  with this:
sudo ln -s $HOME/.nodenv/versions/8.3.0/bin/node /usr/bin/node
is there a fix for that?  why is not automatic like with mac?

Take a look at your .bash_profile on your mac and compare it to .bashrc on linux.  I needed these entries for the shims to function on my mac.  Perhaps that is where your problem lies on linux.
export NODENV_ROOT="$HOME/.nodenv"
export PATH="$HOME/.nodenv/bin:$PATH"
eval "$(nodenv init -)"

As @martinalbion noted, if you want nodenv loaded automatically, you need eval "$(nodenv init -)" in your .bashrc or .bash_profile. (Though the NODENV_ROOT isn't necessary since that's the default, and PATH is the first thing that modified by eval "$(nodenv init -)".)
See the output of nodenv init for instructions on setting it up.

As this question keeps popping up, I've started a FAQ page on the wiki. https://github.com/nodenv/nodenv/wiki/FAQ#node-is-not-available


Macro compile error: is_a!

Not sure if this was an accident or not: https://github.com/Geal/nom/blob/0f5ef87483ed45c0cc623a9f5d4403bc645b9aba/src/nom.rs#L375

Thank you for catching that one. This is indeed a bug, but I did not see it because there are no unit tests for the is_a! macro. I'll add some.
Fixed in 4949f71156b1c01ac3845abc13ad1e1eb5702cc5.


chore: updating i18n submodule

Update i18n submodule

Looks good! We have the latest French translations in now :D


docs: add doc for webauthn

Fix: https://github.com/casdoor/casdoor-website/issues/241

@ComradeProgrammer fix:

@ComradeProgrammer


AsyncConnection Package Update Issue

Good evening!
In version 3.0.5 I was creating an Async Connection as follows:
var connectionString = new SQLiteConnectionString(DatabaseFilePath, false);
var connectionWithLock = new SQLiteConnectionWithLock(new SQLitePlatformAndroid(), connectionString);
return new SQLiteAsyncConnection(() => connectionWithLock);
After updating to 3.1.1 that's no longer possible since I don't have access to SQLite.Net.Platforms namespace anymore. How am I supposed to create a connection in Xamarin Android? Examples folder seems to be outdated.
Sincerely,
Luís Fernandes

The namespace for Android is SQLite.Net.Platform.XamarinAndroid
I have a very small demo app for iOS and Android here if that helps you https://github.com/michaeldimoudis/xam-forms-sqlitenet-async

That's the thing. With the updated packages, 'Platform' is gone. After updating, I got the following packages: SQLite.Net.Async-PCL and SQLite.Net.Core-PCL.

You're probably missing the SQLite.Net-PCL nuget package

Yeah I believe that's the issue. But, I clicked 'Update' on the nuget package, and it replaced both. Async-PCL only has Net.Core-PCL has a dependency though. Should I have the 3 of them?

Same question.  The SQLite.Net.Async-PCL should have brought in the SQLite.Net-PCL package.


Feature Request: Route-Map match Prefix-List

A function that I consider important and is non-existent in the interface, is the "match" in prefix-list as well. Not only in aspath-list.
This facilitates a lot and I consider it a fundamental resource to use when the complexity of the filters is very great.
The command in quagga or frr would be:
match ip address prefix-list PREFIXLIST-NAME
Or, that it was possible to set a custom match command (just as there is a pro set).
Tkz.
Elizandro Pacheco

Do you talk about BGP or OSPF?

BGP


Update the ScholarX Page

Content on the web page is not similar to the content in the document. So the page should be updated. Reference link is given below.
ScholarX Document: https://docs.google.com/document/d/1d5CBwXGlIj3el4woipVjH4wSd_JV39-RQG44Lz8_8_0/edit?usp=drivesdk

Done


non dockerized http targets not working for Mac

I'm trying to use the the ngrok container to expose non-dockerized http target but does not working on Mac.
docker run --rm --net=host -e NGROK_PORT="$1" wernight/ngrok
does not start the container as expected on Mac
docker run --rm -p 4040:4040 -e NGROK_PORT="$1" wernight/ngrok
starts the container but the proposed ngrok tunneling url does not work

Failed to complete tunnel connection
The connection to https://f8fab24b.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:4200.
Make sure that a web service is running on localhost:4200 and that it is a valid address.
The error encountered was: dial tcp <IP_ADDRESS>:4200: getsockopt: connection refused

Not problem instead to expose dockerize app using this container

These instructions should help: https://chriskirby.net/blog/using-ngrok-through-docker-for-local-service-development-on-mac


Kong admin api is not working.

Hello,
I installed kong via homebrew. When I am calling [GET] localhost:8000 looks good is everythings
{
  "message": "no Route matched with those values"
}

But when I am calling kong admin api [GET] localhost:8001 or <IP_ADDRESS>:8001 or <IP_ADDRESS>:8001 kong does not give response.

Additional Details & Logs

Kong version : 1.1.0
Kong debug-level startup logs ($ kong start --vv)

2019/04/04 10:04:08 [verbose] Kong: 1.1.0
2019/04/04 10:04:08 [debug] ngx_lua: 10013
2019/04/04 10:04:08 [debug] nginx: 1013006
2019/04/04 10:04:08 [debug] Lua: LuaJIT 2.1.0-beta3
2019/04/04 10:04:08 [verbose] reading config file at /etc/kong/kong.conf
2019/04/04 10:04:08 [debug] reading environment variables
2019/04/04 10:04:08 [debug] admin_access_log = "logs/admin_access.log"
2019/04/04 10:04:08 [debug] admin_error_log = "logs/error.log"
2019/04/04 10:04:08 [debug] admin_listen = {"<IP_ADDRESS>:8001"}
2019/04/04 10:04:08 [debug] anonymous_reports = true
2019/04/04 10:04:08 [debug] cassandra_consistency = "ONE"
2019/04/04 10:04:08 [debug] cassandra_contact_points = {"<IP_ADDRESS>"}
2019/04/04 10:04:08 [debug] cassandra_data_centers = {"dc1:2","dc2:3"}
2019/04/04 10:04:08 [debug] cassandra_keyspace = "kong"
2019/04/04 10:04:08 [debug] cassandra_lb_policy = "RequestRoundRobin"
2019/04/04 10:04:08 [debug] cassandra_port = 9042
2019/04/04 10:04:08 [debug] cassandra_repl_factor = 1
2019/04/04 10:04:08 [debug] cassandra_repl_strategy = "SimpleStrategy"
2019/04/04 10:04:08 [debug] cassandra_schema_consensus_timeout = 10000
2019/04/04 10:04:08 [debug] cassandra_ssl = false
2019/04/04 10:04:08 [debug] cassandra_ssl_verify = false
2019/04/04 10:04:08 [debug] cassandra_timeout = 5000
2019/04/04 10:04:08 [debug] cassandra_username = "kong"
2019/04/04 10:04:08 [debug] client_body_buffer_size = "8k"
2019/04/04 10:04:08 [debug] client_max_body_size = "0"
2019/04/04 10:04:08 [debug] client_ssl = false
2019/04/04 10:04:08 [debug] database = "postgres"
2019/04/04 10:04:08 [debug] db_cache_ttl = 0
2019/04/04 10:04:08 [debug] db_resurrect_ttl = 30
2019/04/04 10:04:08 [debug] db_update_frequency = 5
2019/04/04 10:04:08 [debug] db_update_propagation = 0
2019/04/04 10:04:08 [debug] dns_error_ttl = 1
2019/04/04 10:04:08 [debug] dns_hostsfile = "/etc/hosts"
2019/04/04 10:04:08 [debug] dns_no_sync = false
2019/04/04 10:04:08 [debug] dns_not_found_ttl = 30
2019/04/04 10:04:08 [debug] dns_order = {"LAST","SRV","A","CNAME"}
2019/04/04 10:04:08 [debug] dns_resolver = {}
2019/04/04 10:04:08 [debug] dns_stale_ttl = 4
2019/04/04 10:04:08 [debug] error_default_type = "text/plain"
2019/04/04 10:04:08 [debug] headers = {"server_tokens","latency_tokens"}
2019/04/04 10:04:08 [debug] log_level = "notice"
2019/04/04 10:04:08 [debug] lua_package_cpath = ""
2019/04/04 10:04:08 [debug] lua_package_path = "./?.lua;./?/init.lua;"
2019/04/04 10:04:08 [debug] lua_socket_pool_size = 30
2019/04/04 10:04:08 [debug] lua_ssl_verify_depth = 1
2019/04/04 10:04:08 [debug] mem_cache_size = "128m"
2019/04/04 10:04:08 [debug] nginx_admin_directives = {}
2019/04/04 10:04:08 [debug] nginx_daemon = "on"
2019/04/04 10:04:08 [debug] nginx_http_directives = {}
2019/04/04 10:04:08 [debug] nginx_optimizations = true
2019/04/04 10:04:08 [debug] nginx_proxy_directives = {}
2019/04/04 10:04:08 [debug] nginx_sproxy_directives = {}
2019/04/04 10:04:08 [debug] nginx_stream_directives = {}
2019/04/04 10:04:08 [debug] nginx_user = "nobody nobody"
2019/04/04 10:04:08 [debug] nginx_worker_processes = "auto"
2019/04/04 10:04:08 [debug] origins = {}
2019/04/04 10:04:08 [debug] pg_database = "kong_gateway"
2019/04/04 10:04:08 [debug] pg_host = "<IP_ADDRESS>"
2019/04/04 10:04:08 [debug] pg_port = 5432
2019/04/04 10:04:08 [debug] pg_ssl = false
2019/04/04 10:04:08 [debug] pg_ssl_verify = false
2019/04/04 10:04:08 [debug] pg_timeout = 5000
2019/04/04 10:04:08 [debug] pg_user = "kong"
2019/04/04 10:04:08 [debug] plugins = {"bundled"}
2019/04/04 10:04:08 [debug] prefix = "/usr/local/opt/kong/"
2019/04/04 10:04:08 [debug] proxy_access_log = "logs/access.log"
2019/04/04 10:04:08 [debug] proxy_error_log = "logs/error.log"
2019/04/04 10:04:08 [debug] proxy_listen = {"<IP_ADDRESS>:8000","<IP_ADDRESS>:8443 ssl"}
2019/04/04 10:04:08 [debug] real_ip_header = "X-Real-IP"
2019/04/04 10:04:08 [debug] real_ip_recursive = "off"
2019/04/04 10:04:08 [debug] ssl_cipher_suite = "modern"
2019/04/04 10:04:08 [debug] ssl_ciphers = "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"
2019/04/04 10:04:08 [debug] stream_listen = {"off"}
2019/04/04 10:04:08 [debug] trusted_ips = {}
2019/04/04 10:04:08 [debug] upstream_keepalive = 60
2019/04/04 10:04:08 [verbose] prefix in use: /usr/local/opt/kong
2019/04/04 10:04:08 [debug] loading subsystems migrations...
2019/04/04 10:04:08 [verbose] retrieving database schema state...
2019/04/04 10:04:08 [verbose] schema state retrieved
2019/04/04 10:04:08 [verbose] preparing nginx prefix directory at /usr/local/opt/kong
2019/04/04 10:04:08 [verbose] SSL enabled, no custom certificate set: using default certificate
2019/04/04 10:04:08 [verbose] default SSL certificate found at /usr/local/opt/kong/ssl/kong-default.crt
2019/04/04 10:04:08 [debug] searching for OpenResty 'nginx' executable
2019/04/04 10:04:08 [debug] /usr/local/openresty/nginx/sbin/nginx -v: 'sh: /usr/local/openresty/nginx/sbin/nginx: No such file or directory'
2019/04/04 10:04:08 [debug] OpenResty 'nginx' executable not found at /usr/local/openresty/nginx/sbin/nginx
2019/04/04 10:04:08 [debug] /opt/openresty/nginx/sbin/nginx -v: 'sh: /opt/openresty/nginx/sbin/nginx: No such file or directory'
2019/04/04 10:04:08 [debug] OpenResty 'nginx' executable not found at /opt/openresty/nginx/sbin/nginx
2019/04/04 10:04:08 [debug] nginx -v: 'nginx version: openresty/<IP_ADDRESS>'
2019/04/04 10:04:08 [debug] found OpenResty 'nginx' executable at nginx
2019/04/04 10:04:08 [debug] testing nginx configuration: KONG_NGINX_CONF_CHECK=true nginx -t -p /usr/local/opt/kong -c nginx.conf
2019/04/04 10:04:08 [debug] searching for OpenResty 'nginx' executable
2019/04/04 10:04:08 [debug] /usr/local/openresty/nginx/sbin/nginx -v: 'sh: /usr/local/openresty/nginx/sbin/nginx: No such file or directory'
2019/04/04 10:04:08 [debug] OpenResty 'nginx' executable not found at /usr/local/openresty/nginx/sbin/nginx
2019/04/04 10:04:09 [debug] /opt/openresty/nginx/sbin/nginx -v: 'sh: /opt/openresty/nginx/sbin/nginx: No such file or directory'
2019/04/04 10:04:09 [debug] OpenResty 'nginx' executable not found at /opt/openresty/nginx/sbin/nginx
2019/04/04 10:04:09 [debug] nginx -v: 'nginx version: openresty/<IP_ADDRESS>'
2019/04/04 10:04:09 [debug] found OpenResty 'nginx' executable at nginx
2019/04/04 10:04:09 [debug] sending signal to pid at: /usr/local/opt/kong/pids/nginx.pid
2019/04/04 10:04:09 [debug] kill -0 `cat /usr/local/opt/kong/pids/nginx.pid` >/dev/null 2>&1
2019/04/04 10:04:09 [debug] starting nginx: nginx -p /usr/local/opt/kong -c nginx.conf
2019/04/04 10:04:09 [debug] nginx started
2019/04/04 10:04:09 [info] Kong started

Kong error logs : tail -f kong/logs/error.log

2019/04/04 10:10:08 [notice] 99933#0: signal 20 (SIGCHLD) received from 99934
2019/04/04 10:10:08 [alert] 99933#0: worker process 99934 exited on signal 11
2019/04/04 10:10:08 [notice] 99933#0: start worker process 1577
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 99936
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 99940
2019/04/04 10:10:08 [notice] 99933#0: signal 20 (SIGCHLD) received from 99938
2019/04/04 10:10:08 [alert] 99933#0: worker process 99938 exited on signal 11
2019/04/04 10:10:08 [notice] 99933#0: start worker process 1581
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 99937
2019/04/04 10:10:08 [notice] 99933#0: signal 20 (SIGCHLD) received from 99937
2019/04/04 10:10:08 [alert] 99933#0: worker process 99937 exited on signal 11
2019/04/04 10:10:08 [notice] 99933#0: start worker process 1583
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 1581
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 1581
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 20 (SIGCHLD) received from 99940
2019/04/04 10:10:08 [alert] 99933#0: worker process 99940 exited on signal 11
2019/04/04 10:10:08 [notice] 99933#0: start worker process 1585
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 99941
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 1583
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 1583
2019/04/04 10:10:08 [notice] 99933#0: signal 23 (SIGIO) received from 1583
2019/04/04 10:10:09 [notice] 99933#0: signal 20 (SIGCHLD) received from 1585
2019/04/04 10:10:09 [alert] 99933#0: worker process 1585 exited on signal 11
2019/04/04 10:10:09 [notice] 99933#0: start worker process 1589
2019/04/04 10:10:09 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:09 [notice] 99933#0: signal 23 (SIGIO) received from 1581
2019/04/04 10:10:09 [notice] 99933#0: signal 23 (SIGIO) received from 1581
2019/04/04 10:10:14 [notice] 99933#0: signal 20 (SIGCHLD) received from 1583
2019/04/04 10:10:14 [alert] 99933#0: worker process 1583 exited on signal 11
2019/04/04 10:10:14 [notice] 99933#0: start worker process 1608
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 99941
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1589
2019/04/04 10:10:14 [notice] 99933#0: signal 20 (SIGCHLD) received from 1589
2019/04/04 10:10:14 [alert] 99933#0: worker process 1589 exited on signal 11
2019/04/04 10:10:14 [notice] 99933#0: start worker process 1610
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 99941
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1608
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1608
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1608
2019/04/04 10:10:14 [notice] 99933#0: signal 20 (SIGCHLD) received from 1581
2019/04/04 10:10:14 [alert] 99933#0: worker process 1581 exited on signal 11
2019/04/04 10:10:14 [notice] 99933#0: start worker process 1612
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1608
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1610
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1610
2019/04/04 10:10:14 [notice] 99933#0: signal 23 (SIGIO) received from 1610

Kong configuration : not respond
Operating system macOS mojave  10.14.3

Duplicate of https://github.com/Kong/homebrew-kong/issues/99 and https://github.com/Kong/homebrew-kong/issues/100.

I can reproduce the problem by running:
➜  kong git:(next) bin/busted -v spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua

0 successes / 0 failures / 2 errors / 0 pending : 2.299433 seconds

Error → spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua @ 12
Plugin: tcp-log (log) [#postgres] lazy_setup
spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua:46: sh: line 1: 33572 Segmentation fault: 11  nginx -p /Users/thomaslutz/Documents/kong/servroot -c nginx.conf > /tmp/lua_B0J0te 2> /tmp/lua_eOheu8
Error: ./kong/cmd/start.lua:50:

  Run with --v (verbose) or --vv (debug) for more details

stack traceback:
	spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua:46: in function <spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua:12>

Error → spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua @ 12
Plugin: tcp-log (log) [#cassandra] lazy_setup
spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua:46: 2019/04/07 13:11:08 [warn] You are using Cassandra but your 'db_update_propagation' setting is set to '0' (default). Due to the distributed nature of Cassandra, you should increase this value.
sh: line 1: 33626 Segmentation fault: 11  nginx -p /Users/thomaslutz/Documents/kong/servroot -c nginx.conf > /tmp/lua_zpJGGk 2> /tmp/lua_cPwADl
Error: ./kong/cmd/start.lua:50: nginx: [warn] [lua] log.lua:68: log(): You are using Cassandra but your 'db_update_propagation' setting is set to '0' (default). Due to the distributed nature of Cassandra, you should increase this value.

  Run with --v (verbose) or --vv (debug) for more details

stack traceback:
	spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua:46: in function <spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua:12>

Further investigation yielded a problem with the dns_hostsfile config in the tests:
➜  kong git:(next) grep dns_hostsfile spec/kong_tests.conf
dns_hostsfile = spec/fixtures/hosts

This file is not found by openresty when starting, as it is not correctly prefixed like other variables (as seen in the autogenerated .kong_env).
Anybody with more experience with Kong have some pointers here how this should be fixed? Not sure, why this only seems to be a problem on MacOS.

➜  kong git:(next) KONG_DATABASE='postgres' KONG_PLUGINS='bundled,dummy,cache,rewriter,error-handler-log,error-generator,error-generator-last,short-circuit,short-circuit-last' KONG_LUA_PACKAGE_PATH='./spec/fixtures/custom_plugins/?.lua;./spec/fixtures/custom_plugins/?.lua' KONG_NGINX_CONF='spec/fixtures/custom_nginx.template' bin/kong start --conf spec/kong_tests.conf --nginx-conf spec/fixtures/custom_nginx.template -vv | grep dns_hostsfile
sh: line 1: 33978 Segmentation fault: 11  nginx -p /Users/thomaslutz/Documents/kong/servroot -c nginx.conf > /tmp/lua_gZcCpx 2> /tmp/lua_5rJe7e
Error:
./kong/cmd/start.lua:61: ./kong/cmd/start.lua:50:
stack traceback:
	[C]: in function 'error'
	./kong/cmd/start.lua:61: in function 'cmd_exec'
	./kong/cmd/init.lua:88: in function <./kong/cmd/init.lua:88>
	[C]: in function 'xpcall'
	./kong/cmd/init.lua:88: in function <./kong/cmd/init.lua:45>
	bin/kong:7: in function 'file_gen'
	init_worker_by_lua:51: in function <init_worker_by_lua:49>
	[C]: in function 'xpcall'
	init_worker_by_lua:58: in function <init_worker_by_lua:56>
2019/04/07 13:18:02 [debug] dns_hostsfile = "spec/fixtures/hosts"

This leaves the servroot folder for more investigation.

Not sure why I thought that the dns_hostsfile is the problem. This seems to work fine according to the debug logs. When running nginx -p /Users/thomaslutz/Documents/kong/servroot -c nginx.conf manually, I get the segmentation fault and the error.log in servroot ends with:
2019/04/08 16:21:35 [debug] 41651#0: [lua] plugins.lua:209: load_plugin(): Loading plugin: correlation-id
2019/04/08 16:21:35 [debug] 41651#0: [lua] plugins.lua:209: load_plugin(): Loading plugin: pre-function
2019/04/08 16:21:35 [debug] 41651#0: [lua] plugins.lua:209: load_plugin(): Loading plugin: cors

Debugging with lldb:
➜  kong git:(next) lldb nginx
(lldb) target create "nginx"
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File<EMAIL_ADDRESS>line 52, in <module>
    import weakref
  File<EMAIL_ADDRESS>line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
Current executable set to 'nginx' (x86_64).
(lldb) r -p /Users/thomaslutz/Documents/kong/servroot -c nginx.conf
Process 45960 launched: '/usr/local/bin/nginx' (x86_64)
Process 45960 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
    frame #0: 0x000000000e5d8e11 libcrypto.1.0.0.dylib`doall_util_fn + 65
libcrypto.1.0.0.dylib`doall_util_fn:
->  0xe5d8e11 <+65>: movq   (%r15), %rdi
    0xe5d8e14 <+68>: movq   0x8(%r15), %r15
    0xe5d8e18 <+72>: testl  %ebx, %ebx
    0xe5d8e1a <+74>: je     0xe5d8e24                 ; <+84>
Target 0: (nginx) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
  * frame #0: 0x000000000e5d8e11 libcrypto.1.0.0.dylib`doall_util_fn + 65
    frame #1: 0x000000000e512220 libssl.1.0.0.dylib`SSL_CTX_flush_sessions + 100
    frame #2: 0x000000000e50bc40 libssl.1.0.0.dylib`SSL_CTX_free + 94
    frame #3: 0x000000000e4c57d7 _openssl.so`sx__gc + 39
    frame #4: 0x0000000000012a7a libluajit-5.1.2.dylib`lj_BC_FUNCC + 52
    frame #5: 0x0000000000014d32 libluajit-5.1.2.dylib`gc_call_finalizer + 99
    frame #6: 0x0000000000015218 libluajit-5.1.2.dylib`gc_onestep + 811
    frame #7: 0x0000000000014e88 libluajit-5.1.2.dylib`lj_gc_step + 67
    frame #8: 0x0000000000025b24 libluajit-5.1.2.dylib`expr_table + 1286
    frame #9: 0x0000000000024c40 libluajit-5.1.2.dylib`expr_binop + 284
    frame #10: 0x000000000002580c libluajit-5.1.2.dylib`expr_table + 494
    frame #11: 0x0000000000024c40 libluajit-5.1.2.dylib`expr_binop + 284
    frame #12: 0x0000000000026c1c libluajit-5.1.2.dylib`expr_list + 17
    frame #13: 0x000000000002396a libluajit-5.1.2.dylib`parse_chunk + 2295
    frame #14: 0x0000000000022eed libluajit-5.1.2.dylib`lj_parse + 202
    frame #15: 0x000000000002870c libluajit-5.1.2.dylib`cpparser + 84
    frame #16: 0x0000000000012de9 libluajit-5.1.2.dylib`lj_vm_cpcall + 74
    frame #17: 0x0000000000028686 libluajit-5.1.2.dylib`lua_loadx + 80
    frame #18: 0x00000000000287f2 libluajit-5.1.2.dylib`luaL_loadfilex + 132
    frame #19: 0x000000000005ad1e libluajit-5.1.2.dylib`lj_cf_package_loader_lua + 56
    frame #20: 0x0000000000012a7a libluajit-5.1.2.dylib`lj_BC_FUNCC + 52
    frame #21: 0x000000000005b23c libluajit-5.1.2.dylib`lj_cf_package_require + 369
    frame #22: 0x0000000000012a7a libluajit-5.1.2.dylib`lj_BC_FUNCC + 52
    frame #23: 0x000000000005b28c libluajit-5.1.2.dylib`lj_cf_package_require + 449
    frame #24: 0x0000000000012a7a libluajit-5.1.2.dylib`lj_BC_FUNCC + 52
    frame #25: 0x0000000000021121 libluajit-5.1.2.dylib`lua_pcall + 94
    frame #26: 0x00000001000b3328 nginx`ngx_http_lua_do_call + 90
    frame #27: 0x00000001000c39e3 nginx`ngx_http_lua_init_by_inline + 62
    frame #28: 0x00000001000c0ce7 nginx`ngx_http_lua_shared_memory_init + 157
    frame #29: 0x0000000100012b36 nginx`ngx_init_cycle + 3246
    frame #30: 0x0000000100002fe3 nginx`main + 2215
    frame #31: 0x00007fff7284f3d5 libdyld.dylib`start + 1
    frame #32: 0x00007fff7284f3d5 libdyld.dylib`start + 1

Hi, I have started investigating this.
I can reproduce @inarli's issue, and I am trying to isolate the problem.

@kikito Any luck to identify the problem yet? I'm not sure how to proceed with my lldb findings, I have found some kind-of related nginx / openresty segfault reports where the SSL context was at fault though.

Hello guys,
We were able to reproduce and identify the problem to be with the latest PCRE 8.43 that Homebrew now shipps. The JIT compiler has compatibility issue with macOS Mojave in PCRE 8.43 and will cause normal requests to coredump.
This problem is not specific to Kong itself, any request to NGINX can coredump under this configuration. We are still figuring out a good way to properly fix this.
In the meantime, you can manually downgrade the formula to PCRE 8.42 and reinstall PCRE to get the problem fixed:
$ brew edit pcre

# replace content with https://github.com/Homebrew/homebrew-core/blob/839adfb30f52a6e93d30d4fe2a8eb5f53f20dc4e/Formula/pcre.rb and save file

$ brew remove pcre
$ brew install pcre -s

the problem should go away after this.
Let me know if it works for you!

@dndx Will try that! Have you created an issue at https://github.com/Homebrew/homebrew-core/issues yet?

I can confirm, that kong installed via homebrew works fine after downgrading pcre to 8.42.

Confirmed as well: Downgrade to pcre 8.4.2 works. The admin interface is responding correctly.

Hello guys,
We have provided a long-term fix in https://github.com/Kong/openresty-patches/pull/39 and this issue should be fixed now. You may revert back the changes to pcre's formula and reinstall kong with pcre, the problem should no longer be persistent!
Appreciate the feedback as well!

@dndx It works, if pcre, openresty and kong are reinstalled. With the first two being the important ones, as the patches were for openresty. Thanks! 👍


pd.read_html, AttributeError: AttributeError: 'NoneType' object has no attribute 'next_element'

When I try to use pa.read_html() to extract data from a html page, I got some error infos.
How to solve this?
Thanks.
Code
import pandas as pd
url = 'http://data.earthquake.cn/datashare/globeEarthquake_csn.html'
dfs = pd.read_html(html)
dfs

Some Infos

pd.__version__ : u'0.18.1'
pd.get_option('display.encoding'): 'UTF-8'
webpage:  charset=gb2312
Platform: Jupyter/notebook
Python : 2.7.6

Error:
AttributeError                            Traceback (most recent call last)
<ipython-input-53-f541be1b6614> in <module>()
      1 import pandas as pd
      2 url = 'http://data.earthquake.cn/datashare/globeEarthquake_csn.html'
----> 3 dfs = pd.read_html(html)
      4 dfs

/usr/local/lib/python2.7/dist-packages/pandas/io/html.pyc in read_html(io, match, flavor, header, index_col, skiprows, attrs, parse_dates, tupleize_cols, thousands, encoding)
    872     _validate_header_arg(header)
    873     return _parse(flavor, io, match, header, index_col, skiprows,
--> 874                   parse_dates, tupleize_cols, thousands, attrs, encoding)

/usr/local/lib/python2.7/dist-packages/pandas/io/html.pyc in _parse(flavor, io, match, header, index_col, skiprows, parse_dates, tupleize_cols, thousands, attrs, encoding)
    737
    738     ret = []
--> 739     for table in tables:
    740         try:
    741             ret.append(_data_to_frame(data=table,

/usr/local/lib/python2.7/dist-packages/pandas/io/html.pyc in <genexpr>((table,))
    195     def parse_tables(self):
    196         tables = self._parse_tables(self._build_doc(), self.match, self.attrs)
--> 197         return (self._build_table(table) for table in tables)
    198
    199     def _parse_raw_data(self, rows):

/usr/local/lib/python2.7/dist-packages/pandas/io/html.pyc in _build_table(self, table)
    347
    348     def _build_table(self, table):
--> 349         header = self._parse_raw_thead(table)
    350         body = self._parse_raw_tbody(table)
    351         footer = self._parse_raw_tfoot(table)

/usr/local/lib/python2.7/dist-packages/pandas/io/html.pyc in _parse_raw_thead(self, table)
    353
    354     def _parse_raw_thead(self, table):
--> 355         thead = self._parse_thead(table)
    356         res = []
    357         if thead:

/usr/local/lib/python2.7/dist-packages/pandas/io/html.pyc in _parse_thead(self, table)
    411
    412     def _parse_thead(self, table):
--> 413         return table.find_all('thead')
    414
    415     def _parse_tbody(self, table):

/usr/local/lib/python2.7/dist-packages/bs4/element.pyc in find_all(self, name, attrs, recursive, text, limit, **kwargs)
   1257         if not recursive:
   1258             generator = self.children
-> 1259         return self._find_all(name, attrs, text, limit, generator, **kwargs)
   1260     findAll = find_all       # BS3
   1261     findChildren = find_all  # BS2

/usr/local/lib/python2.7/dist-packages/bs4/element.pyc in _find_all(self, name, attrs, text, limit, generator, **kwargs)
    527                           if isinstance(element, Tag)
    528                             and element.name == name)
--> 529                 return ResultSet(strainer, result)
    530         results = ResultSet(strainer)
    531         while True:

/usr/local/lib/python2.7/dist-packages/bs4/element.pyc in __init__(self, source, result)
   1722     that created it."""
   1723     def __init__(self, source, result=()):
-> 1724         super(ResultSet, self).__init__(result)
   1725         self.source = source

/usr/local/lib/python2.7/dist-packages/bs4/element.pyc in <genexpr>((element,))
    524             elif isinstance(name, basestring):
    525                 # Optimization to find all tags with a given name.
--> 526                 result = (element for element in generator
    527                           if isinstance(element, Tag)
    528                             and element.name == name)

/usr/local/lib/python2.7/dist-packages/bs4/element.pyc in descendants(self)
   1275         while current is not stopNode:
   1276             yield current
-> 1277             current = current.next_element
   1278
   1279     # CSS selector code

AttributeError: 'NoneType' object has no attribute 'next_element'

It fails to parse. lxml is pretty strict, then it falls back to bs4 which also fails (inside bs4). Not much we can do about this.
In [6]: dfs = pd.read_html(url,flavor='lxml')
  File "<string>", line unknown
XMLSyntaxError: Misplaced DOCTYPE declaration, line 30, column 1

@jreback Thank you.
I solved this problem at the help of one of  my friend.
Maybe it's a bug.
I done the following things:
pip uninstall beautifulsoup4
pip install beautifulsoup4=='4.0.5'


Modifying generations.append to solve problem with OpenLLM

Description
Added the generation_info=text in the generations.append on the _generate function, to fix generation with OpenLLM model deployment.
Issue
Fix: https://github.com/langchain-ai/langchain/issues/9923
Twitter
@vitinleao1

sounds like the problem is with OpenLLM not with the LLM base class. OpenLLM._call should be returning a string not a dict, we should update that. something like editing libs/langchain/llms/open_llm.py L267-271 to be
        if self._client:
            result = self._client.query(prompt, **config.model_dump(flatten=True))
        else:
            assert self._runner is not None
            result = self._runner(prompt, **config.model_dump(flatten=True))
        if isinstance(result, str):
            return result
        elif isinstance(result, dict) and "text" in result:
            return result["text"]
        else:
            raise ValueError(f"Expected result to be str or dict, got {result}."

or if it's known that result is always dict then we don't need the dict check. cc @aarnphm

Hey there, I have recently update the one-shot generation to return dictionary, and I was about to also make a PR to update this on LangChain.
I will take a look this for the PR @victorleaoo

I think this is best to update the implementation on openllm instead of changing it in base.
I will create a PR for this

fixed in #10523, thank you @victorleaoo and @aarnphm!


Modrinth release?

Could this be uploaded to Modrinth? It is one of the only mods in my pack that isn't on Modrinth so an upload there would be awesome! If a Modrinth release isn't planned, is it okay to distribute your jars in my pack?

I have no plans to upload artifacts to Modrinth for the foreseeable future.  You may distribute the jars sourced from CurseForge within a Modrinth pack.


CRC64 Support

Hello, is this item planned to be implemented, or not considered anymore?

This is still not implemented. We are working on some other high priority features like blob tag.
Azurite welcome contribution!
It would be great if you could raise a PR to add this feature.

hey @blueww , thanks! If there are any starting point recommendations to navigate in Azurite codebase, I can try to spend some time.

Hi @goksgie
You might can first clone the github repo to your local machine, build a private azurite and run it with https://github.com/Azure/Azurite?tab=readme-ov-file#github.
Then you can open the code in VS code, and develop it as a normal VS code project.

AH, thanks but what I've meant was where in the code you do integrity checks, checksum calculations and etc...

@goksgie
Thanks for the cliarfication!
You might can refer how to ContentMD5 is implemented in Azurite for CRC64 implantation: https://github.com/Azure/Azurite/blob/1dd0784621a0e6069a7ccf4f4560d2bda6803a44/src/blob/handlers/BlockBlobHandler.ts#L75


How to test this wallet please

Hi I am trying to set up a test account with some test eth to try the payment method and how to get the balance of the account.
Can you please give me some guideline on how to do it?
Thanks
Xun

I have my address and account on ropsten test net and has 2ETH. Also 3TH in Rinkeby test net. But the wallet is not getting the balance. Trying to create a new account in https://ethers.io/#!/app-link/0x9fe26cb7161049fadc2520de8777ac25b90020c1.ethers.space/. Not working


change keyboard layout

I am using dvorak keyboard layout in my arch Linux. But ly login manager is in qwerty layout. Is there any option to change or run a command to change keyboard layout using loadkeys?

Ly is console based not X11 so you probably did not set this configuration
Into the /etc/vconsole.conf file, add KEYMAP=yourkeymap

Thank you so much . this works but I did with another method.
"localectl list-keymaps" to list all keymaps
"localectl set-keymap yourkeymap" to set it as system wide


No response to write if server is using SslHandler and client is not

Originally posted on Stackoverflow.
Happens in the inverse as well, the client is using SslHander but the server isn't.  I wanted to have a graceful failure for both cases to let the client to that they need to enable, or disable, SSL to connect to the server.  But when the two are out of sync, the communications go awry.
Part of the issue I observed was that in the SslHander decode, it was possible that the response from the other end of the connection could look like SSLv2 when it really was not.  The payload happened to look like it was SSLv2, major version 8, but contained no data so the handshake never completed.  I found if I forced the major version to be 2 or 3, I could get an error correctly claiming it was not a valid SSL error, but that only worked when the SslHandler was on the server only.  I could not find a workaround for when it was on the client only.
I did experiment with dynamically inserting a ReadTimeoutHandler for the write of the handshake to see if I could at least timeout the handshake and get the connection to fail that way.  This almost worked, the timeout did fire appropriately, but when the server got the event, it could not transmit the information about closing the channel back to the client.  I did not understand why that was, that seemed to go into the SslHandler and just never come out.
Ultimately, I'd like to have a clean way to know of there is a mismatch on the SSL; both sides should be using it, or neither, and if that's not the case, I want to cleanly exit with a reasonable error message.  Right now someone just ends up waiting forever for the handhake response, which is not desirable.

Thank you for taking your time to creating an issue for us.  Let me try to fix it in the next stable release.

I made sure the majorVersion is either 2 or 3  everywhere and 3 for SSLv3 and TLSv1.x, so this issue should be fixed now.

Does that resolve the issue of when the Client is using SSL but the server is not?  Making the modification you suggested, that resolved the unresponsiveness when the server was using SSL, but the client was not, but it did not fix it for the inverse; the client still hung waiting for a valid SSL response from the server.

I think it depends on what data the plaintext server sends to the SSL client.  Do you get any exception on the SSL client side?  If so, please paste it here.  If not, it might mean 1) the plaintext server did not send any response or 2) the response the plaintext server sent looked similar to a partial SSL message.  At both cases, you will have to call Channel.close() by yourself on read timeout.  If the connection is not closed, please send me the heap dump of the SSL client so that I can check the internal state of the SslHandler to see why the close request is not going through.


docs(resotoworker): add the docs about writing the home directory files via the worker config

Description

Docs Version(s)

[x] edge
[x] 3.X
[ ] 2.X

To-Dos

[x] Format with yarn format
[x] Lint with yarn lint
[x] Build successfully with yarn build

Issues Fixed

Fixes #XXXX

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

worker-config is not an install method, and this breaks tab logic on other pages if we allow this value to be set here.

I see your point. So we should document this as part of the installation method.
Going forward, I would opt for this:

let's document in resoto.worker configuration how to mount files
in our installation section we describe how to provide the files via configuration and refer to this documentation if people want to provide files directly

wdyt?

worker-config is not an install method, and this breaks tab logic on other pages if we allow this value to be set here.

I see your point. So we should document this as part of the installation method. Going forward, I would opt for this:

let's document in resoto.worker configuration how to mount files
in our installation section we describe how to provide the files via configuration and refer to this documentation if people want to provide files directly

wdyt?

I think that sounds good! I think that the fewer choices we require users to make in the onboarding process, the better -- we should make it as easy and simple as possible to get Resoto up and running, especially since users might not know how to make those decisions at the point where they first read the "Getting Started" section of our docs.
I think being opinionated about adding the config via the Worker config will also have other benefits -- it's easier to write documentation that applies regardless of install method, and users would be able to make these changes without updating volume mounts, etc. outside of the application. Install-specific instructions should always be the exception rather than the default, if possible.

We should not merge this PR, until we release the current main.


Has the default test resolution for TAO changed?

Hi,
Thanks for sharing and keep updating the repository.
Has the default test resolution for TAO changed from img_scale=(1080, 1080) to img_scale=(1333, 800)?

Yes, this aims to keep consistent with the descriptions in the paper, and the performance is comparable.
If you use a (1080, 1080) based multi-scale resize training and test with the same resolution, the performance shall be higher.


Switch command with specified player no longer works

Typing a player name after "switch" to switch to that specific player does not appear to function with the mod installed.

To clarify, attempting to switch to a specific player will instead trigger the basic switch command.

hmmmm, I could have sworn I fixed this in the latest patch.
So is it that when you type switch  it still switches to the player but does not stay on the right cams view? Does it still show at least one of them (cams/map/minicams/minimap/overlay) or does it completely hide all of those views like it did in previous patches?
It'd help if you could provide a video of the issue so I could see what is happening

I mean when you try to put a player name after "switch" it ignores it and just does what the regular switch command would do.

Both problems exist. "switch playername" doesnt work, and all overlays are hidden when switching.

Okay, that's definitely not good. I'll be looking into it when I have the time

This should (hopefully) be fixed in the latest patch 2.2.0
I'll let you both confirm before closing this issue @Sp1rit @BreadieSB

seems to work properly now

seems to work properly now

seems to work properly now

glad to hear! I'll give @Sp1rit another day and if I dont hear that there's any more issues i'll close this issue till next time 😆

Switching players works like a charm thank you! I opened another Issue regarding the minicams closing when entering a wrong command to not keep this open with "unrelated" stuff.

Thanks for the updates! I'll take a look at the other issue soon 👍


CSADigitizerModule: Use capture-by-copy in threshold lambdas

Just a quick thought I had while rewriting some code in the mupix digitizer. Capturing the threshold and ignore_polarity config values in these Lambdas makes the code more readable below, and since they don't change we can capture them by value.
If I understand it right, this might improve the performance by a tiny amount while also increasing memory usage by a tiny amount, as the captures will be stored within the lambda, but we call the lambda with less parameters. But it probably doesn't make a measurable difference and who knows what the compiler does.
 Fixed now - but this PR doesn't update. :man_shrugging:
Your changes look fine, merging them!


[ci] release

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

#2507 bd6ced5 Thanks @HiDeoo! - Fixes a table of contents highlighting issue after resizing the window.

size-limit report 📦

Path
Size

/index.html
6.15 KB (+0.02% 🔺)

/_astro/*.js
22.37 KB (0%)

/_astro/*.css
13.73 KB (0%)


Component Input Field

Show your skills and create customized Input field and add it to the inputs folder
For Example:
 inputs/<username>
After creating the component raise a merge request mentioning this issue

Greetings again @hackos123! I opened a new PR. Please review the code of the input field for assurance and add the labels. Have a wonderful day!


Implement an overflow design for status bar entries

Hello,
For now, when you add a lot of items to the statusbar via plugins, only first few items are displayed and the remaining items are hidden.
It would be great to have a dropdownlist which will show all those remaining items.
I hope such a feature could enhance vscode.
Thanks in advance for your comments.

This probably qualifies for a UX review of the status bar first.

This issue has been open for  5 years, wow! Do you plan to address it or not really?

is it fixed? or is there any workaround to this?

Disappointing, considering this is a major UI defect.

Wow, I didn't expect to find that this issue has been here for a 5 years. I understand that you might consider it to be not so critical but not for years. I use vscode for a C++ development, major contributors to my status bar are: SSH ip, git branch name, Debug (project name), CMake: [RelWithDebInfo]: Ready, Clang 13.0.0 x86_64-pc-linux-gnu, Build, build target name, debug target name. They depend on the underlying values and usually it's not possible to fit them on my 13' display. I believe that without this feature status bar is incomplete.

Looks like I'm late to the party, anyway I want to comment on it. This issue is a major UX annoyance and the decision to close it is not really justified. You already do that scroll X that someone else suggested, for the tabs bar. What is the reason you are not doing it also for the Status Bar. To me it looks like a simple change that would greatly benefit user experience. It is clear from the duplicates popping up that this affects a lot of people. Please consider reopening the issue.

Thanks for adding your voice. I don't know if there's a formal process to express our disagreement that this addressing this issue was postponed, or we just need more people to comment here?

My status bar is filled now.
There are static extension statuses or buttons in the status bar. They are there and they stay there.
Now I trigger a process of one extension and I would like to see the status of that extension and its temporarily progress shown in the status bar. It vanishes after completion. I want to know that it is running.
For me a status that shows the progress of a background process of an extension (with a rotating circle arrow thing) has a higher priority than other entires in the status bar and should therefor be shown.
I suggest some kind of priorities of statuses that are given to such entries in the status bar.
Rezising my window larger than the screen is and moving it until I see the part of interest of the status shows all items and also the temporary entry.

I think it should just be allowed to move status bar entries so that client can arrange them as they wish.

I don't think moving the entries can be done easily, what I don't understand is why they didn't think about implementing a horizontal scroll with the overlay scrollbar like they already do for tabs. This would solve the problem.

Related question on stackoverflow

I don't think moving the entries can be done easily, what I don't understand is why they didn't think about implementing a horizontal scroll with the overlay scrollbar like they already do for tabs. This would solve the problem.

@bpasero, is adding something small like scrolling functionality still out-of-scope? This issue originally proposed a drop-down list, but allowing horizontal scrolling instead seems a smaller-impact UX decision.

I came really late to the party thinking i could contribute to this but the issue seems to be left ignored for a few years by the developers even thou a scrollbar wouldn't be a big hassle to implement and would benefit a lot of developers.

Is there anything new about this?

While waiting for an official fix, I did some hack with custom JS/CSS:

Use VsCode Action Buttons + Command Runner for more control over status bar items. Use icons instead of text wherever possible.
Decrease the item padding.
Keep only the left items. Move the right items out of the status bar and hide them. Show/hide the right items when mouse over/out the status bar.

Before:

After - On Roll Out:

After - On Roll Over:

The custom CSS:
.monaco-workbench .part.statusbar>.items-container>.statusbar-item>.statusbar-item-label
{
	padding: 0 3px !important;
}

.monaco-workbench .part.statusbar>.left-items
{
    justify-content: center;
}

.monaco-workbench .part.statusbar>.right-items
{
    justify-content: center;
	align-items: center;
	background-color: rgb(17, 17, 17);
	position: absolute;
	top: -20px;
	z-index: 999;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.monaco-workbench .part.statusbar
{
    justify-content: center;
}

The custom JS:
var initCheck = setInterval(onInit, 10);
var workbench_parts_statusbar, workbench_parts_statusbar_left, workbench_parts_statusbar_right;

function onInit()
{
	var workbench_parts_statusbar = document.getElementById("workbench.parts.statusbar");
	if (workbench_parts_statusbar)
	{
		clearInterval(initCheck);
		betterStatusBar();
	}
}

function betterStatusBar()
{
	workbench_parts_statusbar = document.getElementById("workbench.parts.statusbar");
	workbench_parts_statusbar_left = workbench_parts_statusbar.childNodes[0];
	workbench_parts_statusbar_right = workbench_parts_statusbar.childNodes[1];

	workbench_parts_statusbar_right.style.visibility = "hidden";

	workbench_parts_statusbar.addEventListener("mouseenter", onStatusBarOver);
	workbench_parts_statusbar.addEventListener("mouseleave", onStatusBarOut);
}

function onStatusBarOver()
{
	workbench_parts_statusbar_right.style.visibility = "visible";
}

function onStatusBarOut()
{
	workbench_parts_statusbar_right.style.visibility = "hidden";
}


Script and trained model for prediction on Desktop

Thanks for the great repository!
I am interested in a result movie that is robust to noisy enviroment.
I want to apply and eveluate your method to various noise audio.
Scripts and models that work on the desktop, not the mobile, are desired.
Is it possible to provide it?

Hi Kazuki
Thank you for looking at the repository. The model trained can be used on any device. I've attached the relevant resources which might be helpful for your application. The feature extraction module is written in MATLAB, but the other code is written in C. Our model was trained with a low-pass filter in the pre-processing stage so please be sure to use that filter as well, otherwise the results will be incorrect.
Trained Model: https://github.com/SIP-Lab/CNN-VAD/blob/master/CNN-VAD-iOS/CNN_VAD/frozen_without_dropout.pb
Loading saved model: https://www.tensorflow.org/tutorials/keras/save_and_load
Feature Extraction Code: https://github.com/SIP-Lab/CNN-VAD/blob/master/Training Code/Feature_Extraction.m


TextBox not correctly working

Currently the Textbox is not working properly. There are some problems releated to the press ENTER events and the deleting characters after moved into the another position using the Arrow keys, as well as also inserting in the same situation.

Created development branch: feature/textbox

This problem should be fixed with commit: 8ccb3c1
Closing the Issue.


Nesting: object/array as property value or action field?

From the spec and the examples (in this repo and of sample APIs), I wasn't able to confirm whether Siren supports arrays or objects as values for properties or fields.
For example, for the properties, is the following valid Siren?
{
   "properties": {
      "name": "Tom",
      "permissions": ["admin", "god"],
      "address": {
         "street": "21 Sample St",
         "city": "Orlando"
      }
   }
}

And in terms of fields, is it possible to describe an action that would require the client to send one of the following strings of JSON:
{
   "name": "Tom",
   "permissions": ["admin", "god"],
   "address": {
      "street": "21 Sample St",
      "city": "Orlando"
   }
}

or
[1,2,3]

I'm not aware of SIren restricting the value of a property.  I have had
cases where I use an array.
On Sat, Feb 7, 2015 at 12:18 PM, Sébastien Cevey<EMAIL_ADDRESS>wrote:

From the spec and the examples (in this repo and of sample APIs), I wasn't
able to confirm whether Siren supports arrays or objects as values for
properties or fields.
For example, for the properties, is the following valid Siren?
{
"properties": {
"name": "Tom",
"permissions": ["admin", "god"],
"address": {
"street": "21 Sample St",
"city": "Orlando"
}
}
}
And in terms of fields, is it possible to describe an action that would
require the client to send one of the following strings of JSON:
{
"name": "Tom",
"permissions": ["admin", "god"],
"address": {
"street": "21 Sample St",
"city": "Orlando"
}
}
or
[1,2,3]
—
Reply to this email directly or view it on GitHub
https://github.com/kevinswiber/siren/issues/43.

For example, for the properties, is the following valid Siren?

I hope so, or I'm going to have to change a whole lot of code. ;)

Cool, thanks for the feedback on properties. Maybe this could be made clearer in the spec?
How about values in the fields definitions of actions?

@kevinswiber What's your take on this?

Yes, the properties attribute is just a valid JSON object.
I'm not entirely sure what you mean by the second question.  Action fields map to HTML5 input types, though support for radio and checkbox are not well-defined at this time.
There's also no clear and easy way to include support for JSON along with a JSON schema.  I've hammered this in before using a single text field, but it's not ideal.
There are more issues with actions, but before I keep guessing, maybe you can clarify a little.  :)

@kevinswiber What I meant was how do you describe an action in your API that requests sending fields that are themselves objects, e.g.
{
   "name": "Tom",
   "permissions": ["admin", "god"],
   "address": {
      "street": "21 Sample St",
      "city": "Orlando"
   }
}

name can be type: "text", but what about permissions or address?
Full disclaimer: I work on the argo media-type, which we have been using in multiple projects for a couple of years. It is fairly similar to Siren in many ways. One thing argo is currently missing and I'm looking into adding is the support for "actions". I wanted to review how Siren does it to see if the same semantics could be adopted, but I'm worried the use of HTML5 input types makes it hard to specify richer structures.

@theefer
Ah, I see.  Your permissions field can be a checkbox type, but again, that hasn't been very well-defined at this point.  I do it one way.  Someone else will do it another way.  It's a hole that needs to be patched in the spec.
The address object is a little more complicated.  I often flatten the structure.  So I'd have an address.street field of type text and an address.city field of type text.  Some folks just set action.type to application/json and add an additional property pointing to a JSON Schema file, though this isn't called out as a supported option in the spec.

Thanks for the clarification.
JSON Schema is something I'm considering as it seems more generic and expressive, though I know it's sometimes reproached for being too complex and, well, expressive.


fix(ios): invoke onBrowserCreated when viewDidLoad is called with win…

When an InAppBrowser is created with the past windowId, the onBrowserCreated method is not called and the isOpened flag does not become true.
In this case, when you try to call InAppBrowser.close, an InAppBrowserNotOpenedException is thrown.
Example:
import 'package:flutter_inappwebview/flutter_inappwebview.dart';

class CrossSiteBrowser extends InAppBrowser {
  CrossSiteBrowser({
    required int windowId,
    required Uri url,
  }) : super(windowId: windowId) {
    openUrlRequest(urlRequest: URLRequest(url: url));
  }

  @override
  Future onLoadStart(url) async {
    await Future.delayed(const Duration(seconds: 10), close);
  }
}

On android there is no such problem and everything works correctly.

Thanks! @all-contributors please add @perffecto for code

@pichillilorenzo Thanks! 👍


Update dictionaries with new obsoletions / synonyms to report merges

Done in https://github.com/pombase/genome_changelog/commit/401ae09de011c3c53f5811845f6fecd6d6ad2e75


[move core modules] allow rotating base_url of parent VASP

This is required to allow a VASP to change its endpoint for off-chain APIs. This PR adds a new function to the VASP module, a new script to invoke the function, and tests.

Motivation
Needed for exercising VASP functionality in testnet and swapping endpoints in mainnet.
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
New E2E tests for rotating base_url and compliance_public_key

@bors-libra r+

:pushpin: Commit bc378d4 has been approved by sunmilee

:hourglass: Testing commit bc378d4524af0ed69dc10801fe9d36e51b250d1b with merge ebb00fade30b42e36305dfad69e9c0a5338f3153...

:broken_heart: Test failed - checks-circle_commit_workflow

:umbrella: The latest upstream changes (presumably b420dd40a19a808357fbd5797101b2c07aad2315) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=tzakian

:pushpin: Commit a1e023d has been approved by tzakian

:hourglass: Testing commit a1e023d3d231138906635cbeb8a80718c57b9a35 with merge 370cc94cf7a86c407729bcdbf2c2f5d525440729...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra r=tzakian

:pushpin: Commit b08fd3f has been approved by tzakian

:hourglass: Testing commit b08fd3f19006c9b078061a06132137e4fb714a44 with merge 3dde24f65b4a1236865b13d59c5743c1b3d60db1...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: tzakian
Pushing 3dde24f65b4a1236865b13d59c5743c1b3d60db1 to master...


Integrate sentiment anaylsis on video transcripts

We need to run sentiment analysis on video transcript (if present).

Complete


Melody returns the same status code than the user script

fix #52

Travis failed because of GH API rate limit.

IIRC, there is a hack somewhere in travis to use your own gh token.

Thank you @lyrixx.


Fix for "Cannot find module 'debug'"

Moved the debug module out of devDependencies because it is required by lib/api.js.

oops, thanks!

Changes Unknown when pulling 80b533bbf3d12fdcafa43fe9d76ec1f5aab56dc4 on psirenny:master into ** on yyx990803:master**.


fix(PubSub): Ack/ModAck failures in non-exactly once delivery flow should not be retried.

closes #8992

Thanks Jon. There were no existing tests for the deleted code, so there was no impact on existing tests.
I did think about a new test.  When we have an ack/nack request, it is effectively treated as fire and forget.
Earlier the failed messages were re-queued for retry. Now failed messages are not re-queued for retry.
So for unit tests, behavior remains the same. The difference will manifest in the actual behavior when the messages will either be re-delivered or have delayed deliveries, which I suspect will be difficult to replicate deterministically in an integration test.

Righto, that's fine - please go ahead and merge.


Household Naming: Match NPSP's style naming order for a household (including primary contacts)

Checked with household automatic Naming enabled in HEDA:
In NPSP- the primary contact field controls the name order displayed in the household/account.
Created 4 contacts in the order shown below.
So for Bud, Tammy, Barry and Bethany, if Bud is selected as primary contact- it will display his name first and then the order of added with oldest added first to most recent:
"Bud, Tammy, Barry and Bethany JacksonTest Household"
**also if you changed the primary to Bethany it would show and update the order so primary shows first:
"Bethany, Bud Tammy and Barry JacksonTest Household"
For heda now it displays as most recent/modified name first and doesn't take primary field into account naming structure
Created two contacts in one household in order of "Barry Jackson, then "Anne Jackson". It displays
"Anne and Barry Jackson"
instead of
"Barry and Anne Jackson" (as Barry is primary contact as was entered first).
*Another example in HEDA was I had 3 contacts, created in order:
Jim Mahoney
Joy Mahoney
Josh Mahoney
Jim was the primary and I changed it to Josh Mahoney
Account naming didn't update- it remained in order of creation:
"Jim and Joy and Josh Mahoney Household"
See screenshots.

and

**lurch:add

Tracking W-023190

Per the conversation in W-034159  - we were pursuing alphabetical order, not the way NPSP does it. Closing this Work Item.