[stable/traefik] Can not install with helm

Hi all,
stable/traefik installation with helm does not seem to work. I did perform the following steps:
helm repo list
NAME  	URL
stable	https://kubernetes-charts.storage.googleapis.com
local 	http://<IP_ADDRESS>:8879/charts

$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈

$ helm search |grep traefik
stable/traefik               	1.2.1-a	A Traefik based Kubernetes ingress controller w...

$ helm install stable/traefik
Error: file "stable/traefik" not found

$ helm version
Client: &version.Version{SemVer:"v2.4.1", GitCommit:"46d9ea82e2c925186e1fc620a8320ce1314cbb02", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.4.1", GitCommit:"46d9ea82e2c925186e1fc620a8320ce1314cbb02", GitTreeState:"clean"}

I am able to install other charts like mysql.
Did I miss anything?
Thanks!

I also had this problem, but only after upgrading my Helm to 2.4.1. Prior to that, I was unable to reproduce.

See also https://github.com/kubernetes/helm/pull/2408
The bottom line is that the version number on this chart is, according to the SemVer spec "unstable", and so it will not be automatically selected. #2407 displays a workaround, and #2408 adds a --devel flag like Homebrew has.

Ok... that's my fault. I'll see if I can get that fixed. What I was after when I originally authored the traefik chart was a way to keep it's semver in lock step with the version of traefik the chart used, then use an extension to indicate iterations of the chart itself for a given version of traefik. I think I got the extension wrong? I'll try and fix this on the chart end if I can.

According to semver 2 it's a plus sign and a series of dot separated identifiers immediately following the patch or pre-release version.

A slightly different issue using --wait and Traefk here but not sure if it's Traefik specific yet.

@c-knowles

According to semver 2 it's a plus sign and a series of dot separated identifiers immediately following the patch or pre-release version.

I had read through that as well when contemplating how to fix this. But then I read this:

Build metadata SHOULD be ignored when determining version precedence.

That would imply that 1.2.3+b isn't inherently considered newer than 1.2.3+a. I'm not clear yet on whether or not that matters to Helm. e.g. If you have deployed 1.2.3+a and you helm upgrade, will Helm understand that 1.2.3+b is newer? cc @technosophos @michelleN @adamreese?
At any rate, it's probably better than what we're doing currently. Any further thoughts?

Ah that's interesting. Then it would be useful to know the general direction of Helm in this regard. I agree that update is probably better but no idea which one Helm will treat as the newer one so better to try it out I suppose.

Helm does not consider version when performing and upgrade.  You are upgrading the release which can be an older version, the same version with different configuration, or just a newer chart version.  ( not sure if that answered the question )

@adamreese, it does. Thank you.
I think then, based on this, for this chart, we can simply move from using a - to separate Traefik's semver from build info (chart version) to using a + for the same purpose.

As it turns out, chart.yaml supports an appVersion field that prior to now, I was unaware of. See #1082. Starting with version 1.3.0, the version will refer strictly to the revision of the chart, while the appVersion field will reference the revision of the software provided.


Themes: Fixed CSS rule selectors for highlight messages

Works for me, although im not 100% sure what it's fixing

It seems somewhere along the way, the message container was changed to have a .text. element. The default CSS sets the color to #f00 specifically to to the .text element, which overrides the theme-set color. This rule fixed that issue.
http://i.imgur.com/0Mbl8wo.png

:+1:  Nice catch, I'd always thought it was on purpose and just a poor design choice and forgot about it.

Good catch indeed, thanks!
(Outside of scope of this PR) To be noted that the line #chat .channel .highlight .from has no effect when nick colors are enabled...


Rock paper, scissors

Hi there, I've got a rock paper scissors game which I've almost finished making which could be a good addition!
I can make a PR if you want once I've finished.
https://github.com/Paul-Cl-ark/cli_games

Looks great! Feel free to make a PR!

Looks great! Feel free to make a PR!


Increase DAPLink I2C wait for data to be ready timeout.

The current values for the retries (5 loops => 5ms) is enough for normal operation. However, when MakeCode is WebUSB connected to the micro:bit it must be performing background operations in DAPLink that might delay how long it takes for data to be ready to be sent back to CODAL.
In the worse case scenarios testing with a lot of serial data + requesting ADC readings it has sometimes taken up to 8 retries for the combined interrupt signal to be activated by DAPLink to signal that the data ready. Increasing this value from 5 to 10 shouldn't have any other adverse consequences, other than blocking the fiber in awaitUIPMPacket() a bit longer.

@finneyj @JohnVidler feel free to retarget this PR to the daplink-interface-versioning branch if you prefer these DAPLink i2c coms changes to go to main branch all together.

I had to increate this value again, this time to 20, as after further testing the old value wasn't as affective as I thought.


Support frame=none,grid=none

Source issue: https://github.com/metanorma/metanorma-jis/issues/48
The example contains the data in the borderless table. Source PDF fragment:

I've tried to add frame=none,grid=none (from https://docs.asciidoctor.org/asciidoc/latest/tables/borders/):
[cols="1,1,1",options="unnumbered",frame=none,grid=none]
|===
| 締結用部品－ +
（前置き要素）
| おねじ部品－ +
（主要素）
| 呼び長さ及びねじ部長さ +
（補完要素）

|===

but in the Presentation XML there aren't any mentions about borders:

	<colgroup>
		<col width="33.3333%"/>
		<col width="33.3333%"/>
		<col width="33.3334%"/>
	</colgroup>

			締結用部品－

（前置き要素）
			おねじ部品－

（主要素）
			呼び長さ及びねじ部長さ

（補完要素）

Is there a way to turn-off the table borders?

Is there a way to turn-off the table borders?

Not yet: the frame and grid parameters are simply ignored in processing Asciidoctor. And I am going to resist suggestions of ad hoc formatting of tables, unless they are explicitly required by the SDO. All SDOs we have dealt with are strict with table formatting: they either require one style for all of them, or else they semantically motivate the different ways of rendering them. I do not welcome turning off table borders, and I would want a genuine reason for doing so.
"We did that in that one document (where it wasn't even a table but an example)" is not enough of a genuine reason.
Yes. I know I am being Dr No about feature modifications in Metanorma. But someone has to be. The more freedom we give to formatting, the more Metanorma degenerates into just being Word.
I am unwilling to do this until we have had a real discussion with JIS, or unless you can provide me with a principled motivation (e.g. tables within examples are always borderless).


echo19: add models for clicks table

YOLO merging because we need to get this QCed in prod today - it's probably fine


Repeat Factor Sampling of open-vocabulary LVIS

When training on LVIS with RepeatFactorTrainingSampler, are rare classes taken into account? I think it makes more sense to not consider the rare classes when calculating the repeat factor.

No. The RFS factors are always computed on-the-fly based on the current available annotations.

OK. Thank you!


Laravel 6 Support

Just wondered when Laravel 6 (released 3rd Sept) support was likely to land?

https://laravel-news.com/laravel-6

Questions should generally be asked in our slack channel.
We're planning to release v1.3.0 with laravel 6 support, hopefully within the next week or so, but don't have a specific date planned


get_session_embed_url() method is missing from QuickSight client

Describe the bug
The documentation states clearly that get_session_embed_url() method exist (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight.html#QuickSight.Client.get_session_embed_url). The botocore model data file confirms this: https://github.com/boto/botocore/blob/1.18.17/botocore/data/quicksight/2018-04-01/service-2.json#L984
However the client instance raises this error when get_session_embed_url() is invoked:
AttributeError: 'QuickSight' object has no attribute 'get_session_embed_url'

My code is executed in a lambda via sam local invoke.
Steps to reproduce
Create a new QuickSight client and calls the method:
client = boto3.client("quicksight")

params = {
  # Omitted for brevity
}
client.get_session_embed_url(**params)

Expected behavior
Client calls the corresponding GetSessionEmbedUrl() SDK API and returns the response.
Debug logs
Invoking session_url.handler (python3.8)
Skip pulling image and use local one: amazon/aws-sam-cli-emulation-image-python3.8:rapid-1.6.2.

Mounting /.../.aws-sam/build/GetSessionEmbeddedUrlFunction as /var/task:ro,delegated inside runtime container
START RequestId: a6603595-6fd7-1e86-1172-aa82367d2bee Version: $LATEST
2020-10-16 17:51:26,992 - botocore.hooks - DEBUG - Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
[DEBUG]	2020-10-16T17:51:26.992Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
2020-10-16 17:51:26,994 - botocore.hooks - DEBUG - Changing event name from before-call.apigateway to before-call.api-gateway
[DEBUG]	2020-10-16T17:51:26.994Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from before-call.apigateway to before-call.api-gateway
2020-10-16 17:51:26,995 - botocore.hooks - DEBUG - Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
[DEBUG]	2020-10-16T17:51:26.995Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
2020-10-16 17:51:26,997 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
[DEBUG]	2020-10-16T17:51:26.997Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
2020-10-16 17:51:26,997 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
[DEBUG]	2020-10-16T17:51:26.997Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
2020-10-16 17:51:26,998 - botocore.hooks - DEBUG - Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
[DEBUG]	2020-10-16T17:51:26.998Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
2020-10-16 17:51:26,999 - botocore.hooks - DEBUG - Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
[DEBUG]	2020-10-16T17:51:26.999Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
2020-10-16 17:51:27,002 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
[DEBUG]	2020-10-16T17:51:27.2Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
2020-10-16 17:51:27,002 - botocore.hooks - DEBUG - Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
2020-10-16 17:51:27,002 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
2020-10-16 17:51:27,002 - botocore.hooks - DEBUG - Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
[DEBUG]	2020-10-16T17:51:27.2Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
[DEBUG]	2020-10-16T17:51:27.2Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
[DEBUG]	2020-10-16T17:51:27.2Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
2020-10-16 17:51:27,005 - botocore.credentials - DEBUG - Looking for credentials via: env
2020-10-16 17:51:27,005 - botocore.credentials - INFO - Found credentials in environment variables.
[DEBUG]	2020-10-16T17:51:27.5Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Looking for credentials via: env
[INFO]	2020-10-16T17:51:27.5Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Found credentials in environment variables.
2020-10-16 17:51:27,006 - botocore.loaders - DEBUG - Loading JSON file: /var/runtime/botocore/data/endpoints.json
[DEBUG]	2020-10-16T17:51:27.6Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Loading JSON file: /var/runtime/botocore/data/endpoints.json
2020-10-16 17:51:27,012 - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x7fd6dfb5ce50>
[DEBUG]	2020-10-16T17:51:27.12Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Event choose-service-name: calling handler <function handle_service_name_alias at 0x7fd6dfb5ce50>
2020-10-16 17:51:27,027 - botocore.loaders - DEBUG - Loading JSON file: /var/runtime/botocore/data/quicksight/2018-04-01/service-2.json
[DEBUG]	2020-10-16T17:51:27.27Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Loading JSON file: /var/runtime/botocore/data/quicksight/2018-04-01/service-2.json
2020-10-16 17:51:27,035 - botocore.hooks - DEBUG - Event creating-client-class.quicksight: calling handler <function add_generate_presigned_url at 0x7fd6dfbabd30>
[DEBUG]	2020-10-16T17:51:27.35Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Event creating-client-class.quicksight: calling handler <function add_generate_presigned_url at 0x7fd6dfbabd30>
[DEBUG]	2020-10-16T17:51:27.35Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Creating a regex based endpoint for quicksight, us-west-2
2020-10-16 17:51:27,035 - botocore.regions - DEBUG - Creating a regex based endpoint for quicksight, us-west-2
[DEBUG]	2020-10-16T17:51:27.38Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Setting quicksight timeout as (60, 60)
2020-10-16 17:51:27,038 - botocore.endpoint - DEBUG - Setting quicksight timeout as (60, 60)
2020-10-16 17:51:27,040 - botocore.loaders - DEBUG - Loading JSON file: /var/runtime/botocore/data/_retry.json
[DEBUG]	2020-10-16T17:51:27.40Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Loading JSON file: /var/runtime/botocore/data/_retry.json
[DEBUG]	2020-10-16T17:51:27.40Z	a6603595-6fd7-1e86-1172-aa82367d2bee	Registering retry handlers for service: quicksight
2020-10-16 17:51:27,040 - botocore.client - DEBUG - Registering retry handlers for service: quicksight
[ERROR] AttributeError: 'QuickSight' object has no attribute 'get_session_embed_url'
Traceback (most recent call last):
  File "/var/task/session_url.py", line 103, in handler
    session_embed_url = quicksight_session.get_session_embed_url(**get_session_kwargs)
  File "/var/runtime/botocore/client.py", line 573, in __getattr__
    raise AttributeError(
END RequestId: a6603595-6fd7-1e86-1172-aa82367d2bee
REPORT RequestId: a6603595-6fd7-1e86-1172-aa82367d2bee	Init Duration: 275.60 ms	Duration: 57.51 ms	Billed Duration: 100 ms	Memory Size: 128 MB	Max Memory Used: 37 MB

{"errorType":"AttributeError","errorMessage":"'QuickSight' object has no attribute 'get_session_embed_url'","stackTrace":["  File \"/var/task/session_url.py\", line 103, in handler\n    session_embed_url = quicksight_session.get_session_embed_url(**get_session_kwargs)\n","  File \"/var/runtime/botocore/client.py\", line 573, in __getattr__\n    raise AttributeError(\n"]}

I print out the content of Boto model data file in /var/runtime/botocore/data/quicksight/2018-04-01/service-2.json from the Docker image and GetSessionEmbedUrl is not in the file.
I've since deleted both the SAM build image and emulation image, rebuild and invoke the code (which causes SAM to fetch both images from Docker hub) and the method is still missing in the data file.

The method is added to the json file on July 22: https://github.com/boto/botocore/commit/898350538eff4c7bccc5bb29267e9cdc7b2ca05c

@alexhung - Thank you for your post. Which botocore version are you using ? Please make sure your code is using botocore version >1.17.26.

@swetashre I was using the version that comes with SAM Docker image, e.g. boto3 is not in the requirements.txt. This turns out to cause this issue since the version of boto3 in aws-sam-cli-emulation-image-python3.8 image does not contain a version of boto3 that has the method defined.
My current workaround is to include boto3 in my requirements.txt to override the version from Docker image. I'm using boto3==1.15.17 which is working for me.
I still expect the version included in the Docker image will be up-to-dated, as would others SAM users I suspect.

@alexhung - I am glad you got it working. I don't know much about sam-cli. This is aws-sam-cli repo. You can post in that repo if you have any further queries.
I am closing this issue as we can't do anything on our end to fix this.

Hi, I get this issue using boto3-1.17.71 botocore-1.20.71, is there a solution to this?

@ghorwitchsmith  @swetashre any news about this bug? I dont know why is close is happening still with version:
boto3: 1.17.90
botocore: 1.20.90
Thanks a lot. let us know if this need a PR


Various Swift compile errors with new build 0.12.6

Mostly in AppDelegate methods, at least in my implementation.
1: Error logging using NSLog from the init method thus
branch.initSessionWithLaunchOptions(launchOptions, andRegisterDeepLinkHandler: { params, error in
if error != nil {
   NSLog("%@", error!)
}

now generates a "Variadic function is unavailable" error.
This is a known issue with Swift:
https://bugs.swift.org/browse/SR-1478
but logging these errors with NSLog worked prior to this update and is desirable. Note that
NSLog("%@", error as! NSObject)
generates a message that "cast from NSError? to unrelated type NSObject always fails."
2:
if params != nil {
within the same method now raises a "comparison isn't allowed" error.
3: Various "cannot use optional chaining on non-optional value" errors working with the params dictionary now, see image.

I suspect this is related to the nullability changes in this release but I am surprised it is breaking existing code like this. The logging is a relatively minor issue but the other 2 are quite undesirable as the "optional chaining" logic is rather crucial to the routing method I have right now!

@francisjervis Thanks for reporting. I don't see the image you are referring to. Am I missing something here?

That's odd. Link: https://cloud.githubusercontent.com/assets/10519862/18119715/d60a81fe-6f10-11e6-85b7-f25fa4230e96.png

What appears to have happened is that the nullability changes in #368 + #411 are somehow making it impossible to check if a key-value pair exists in the params dictionary (or whatever it is now). While (arguably) having params itself never be null is desirable, testing for items in it is required.

@francisjervis that's weird. I will try to to reproduce on my end and look into fixes. Since you have a head start here, did you reach any fix that I can look into as well? Do you have a PR?

OK - removing the
`if params != nil {

@francisjervis you will always get an error object if there is any issue like no network connectivity and the params will be an empty dictionary (but not nil). Could you please test that this is the case by putting your phone on Airplane mode and check for the response from Branch?

@francisjervis I am closing here but feel free to re-open if you encounter any issues. Cheers!


Get-OrganizationConfig error when running

I get the below error when trying to run the tool. I did copy the ExchangeAnalyser module into the WindowsPowerShell\v1.0\Modules directory. This is with an Exchange 2016 server and I"m trying to turn the tool directly on the server.
PS C:\ExchangeAnalyzer-0.2.4-beta.8> .\Run-ExchangeAnalyzer.ps1
WARNING: An error has occurred during basic data collection.
WARNING: The term 'Get-OrganizationConfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Are you running the script from the Exchange Management Shell?

Sometimes its the simplest things you overlook. Thank you. I was running it from standard powershell not the EMS. Running it in EMS works great. Thank you, this is a very useful tool.


Feature request: increase spacing between line numbers and code

I'm suggesting an enhancement to the spacing between line numbers and code content for better readability, especially when printed.

Is your feature request related to a problem? Please describe.
Currently, the line numbers are very close to the code, which makes it difficult to distinguish between them at a glance, especially when the code is printed on paper. This affects readability and can lead to confusion when referring to specific lines during code reviews or discussions.
Describe the solution you'd like
I would like to see an option to increase the spacing between line numbers and the code block. This could be a setting that allows users to adjust the spacing to their preference.
Describe alternatives you've considered
As an alternative, a default increase in spacing could be implemented if adjustable settings are not possible. Another option could be to have a print-friendly mode that automatically adjusts the layout for better legibility on paper.
Additional context
The issue becomes particularly evident when printing documents for review. Please see the attached screenshot for reference. Thank you for considering this enhancement to improve the clarity and readability of code blocks.

For someone who wants same feature, for now you can do this:
1)
Download User JavaScript and CSS Chrome extension.
2)
Browse carbon.now.sh, open the extension, fill in the following code.
JavaScript
window.onload = function() {
    Array.from(document.querySelectorAll('.CodeMirror-linenumber')).forEach((el) => {
        el.removeAttribute('style');
    });;
};

CSS
.CodeMirror-linenumber {
    padding-right: 15px;
}

Replace the 15px with your expected padding value.

You can increase it from the settings.
this is a video showing you how
https://github.com/carbon-app/carbon/assets/110662505/1ea9e4f0-6b56-442c-a187-e87b6a972298


adding filter for test type, parent or child

Trying to continue #23

I'm going to wait until #38 is merged because rebasing this on top of that will be less disruptive than the reverse.

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, 4 unresolved discussions.

angular_scripts.js, line 95 [r2] (raw file):
Can we keep all the filter parameters together? Or perhaps (maybe in a followup) move them to a single (nested) object?

angular_scripts.js, line 97 [r2] (raw file):
reorder

angular_scripts.js, line 128 [r2] (raw file):
Apparently using raw primitives like this is a bad idea and you should always use object properties on $scope so that you can update them without changing the object identity.

LovefieldService.js, line 362 [r2] (raw file):
Not sure we have been consistent, but === is a reasonable habit to get into.

Comments from the review on Reviewable.io

Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, 4 unresolved discussions.

Comments from the review on Reviewable.io

Reviewed 3 of 3 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


Fix function name shadowing

Fixes https://github.com/PyO3/pyo3/issues/3017

@mejrs I've squashed and added a newsfragment. Hope that's ok.
bors r+


DUPLO-13563 - update backup retention to support cluster instances. Refactor  deletion_protection for consistency and reduce number of calls to api.

DUPLO-13563 - update backup retention to support cluster instances. Refactor  deletion_protection for consistency and reduce number of calls to api.

Task linked: DUPLO-13563 TF: Cannot update backup retention period for cluster DB. getting error"The specified DB Instance is a member of a cluster. Modify backup retention for the DB Cluster using the ModifyDbCluster API"


RSS has invalide links at FTW.LOL

Subject: FTW.LOL
Feed:
https://ftw.lol/index.xml
Links:
//ftw.lol/contact/
//ftw.lol/info/
//ftw.lol/legal/notice/
//ftw.lol/legal/privacy/
//ftw.lol/legal/tos/
//ftw.lol/posts/microbin/
//ftw.lol/posts/miniflux/
//ftw.lol/posts/nitter/
//ftw.lol/posts/pingvin/
//ftw.lol/posts/quetre/
//ftw.lol/posts/reddit-blackout/
//ftw.lol/posts/reddit-services/
//ftw.lol/posts/simplytranslate/
//ftw.lol/posts/snikket/
//ftw.lol/services/
//ftw.lol/support/

What version of Hugo are you using (hugo version)?
I don't know. I'm not  the admin.
Does this issue reproduce with the latest release?
I don't know.

Please use the forum (https://discourse.gohugo.io/) for questions and troubleshooting. We prefer to use GitHub for verified bugs and vetted enhancements. Thanks.

Please reopen this issue.
This is a verified bug.
Here is another Hugo website.
Feed: https://erikzaadi.com/index.xml
Links:
//erikzaadi.com/2009/05/06/firstpost/
//erikzaadi.com/2009/05/08/gettingstartedwithtestdrivendevelopment/
//erikzaadi.com/2009/05/14/newbloglayout/
//erikzaadi.com/2009/05/16/personalwebnostalgy/
//erikzaadi.com/2009/05/31/isitreallyworthit/
//erikzaadi.com/2009/07/21/joyofwritingutilities/
//erikzaadi.com/2009/07/24/convertencodingutility/
//erikzaadi.com/2009/07/28/jqueryprintelementplugin/
//erikzaadi.com/2009/08/01/aspdotnetmvc2preview1/
//erikzaadi.com/2009/08/15/githubprojectpages/
//erikzaadi.com/2009/08/21/jquerylateloaderplugin/
//erikzaadi.com/2009/08/28/connectingtomyverywellhiddenartisticside/
//erikzaadi.com/2009/10/06/trustinghttpwwwhotlinkfilescom/
//erikzaadi.com/2009/10/07/installingwindows2008r2onanimacbootcamp/
//erikzaadi.com/2009/10/09/update-jqueryprintelementpluginversion10released/
//erikzaadi.com/2009/10/20/jqueryconsoleplug-in/
//erikzaadi.com/2009/10/27/googleanalyticsdotnet/
//erikzaadi.com/2009/11/17/blogmigrationpart1settingup/
//erikzaadi.com/2009/11/22/blogmigration-part2-temporarypages/
//erikzaadi.com/2009/11/25/blogmigration-part3-exportingfrombloggertoatomsite/
//erikzaadi.com/2009/12/06/blogmigrationpart4connectingwindowslivewritertotheatomsiteblog/
//erikzaadi.com/2009/12/22/aspdotnetmvcexceptionhandlingwithjquery/
//erikzaadi.com/2009/12/26/thebeautyofthedesert/
//erikzaadi.com/2010/01/09/usingmvcusercontrolsfromanothercontroller/
//erikzaadi.com/2010/01/24/workingwithgithubfromwithinacompanyfirewall/
//erikzaadi.com/2010/02/07/jquery141vsdocvisualstudio2008intellisense/
//erikzaadi.com/2010/02/15/update-jqueryprintelementversion11released/
//erikzaadi.com/2010/03/05/compressjavascriptwithgoogleclosurecompilerinvisualstudiowithjquerysupport/
//erikzaadi.com/2010/03/20/jqapiairapplication/
//erikzaadi.com/2010/04/08/hostautomaticupdatableairapplicationsongithub/
//erikzaadi.com/2010/04/16/windowslivewriterworkaroundforatomsite13/
//erikzaadi.com/2010/05/16/atomsitethemessite/
//erikzaadi.com/2010/05/16/windowslivewriterworkaroundforatomsiteplugin14/
//erikzaadi.com/2010/05/23/movingfromwebhost4lifetoarvixe/
//erikzaadi.com/2010/06/20/creatingathemeforatomsiteaquickwalkthrough/
//erikzaadi.com/2010/06/24/usingblueprintcssframeworksavinghttprequests/
//erikzaadi.com/2010/07/04/javajavaforanietdev/
//erikzaadi.com/2010/08/01/startupweekendandroidvimrazorandabitofchirpy/
//erikzaadi.com/2010/09/08/letsopensourcetime/
//erikzaadi.com/2010/11/28/dynamic-pitfalls/
//erikzaadi.com/2010/12/09/readabilityvsubercoolonelinersvsperformance/
//erikzaadi.com/2010/12/28/customersatisfaction/
//erikzaadi.com/2011/02/06/googleurlshortenerapifordotnet/
//erikzaadi.com/2011/02/08/youknowyouareageekwhenyouhaveasiteforyourweddingandevenmorewhenthereisaneastereggatthesiteaswell/
//erikzaadi.com/2011/03/02/installscripttorunaspdotnetmvc3withrazoronnginxataopensuseserver/
//erikzaadi.com/2011/04/20/node-js-much-more-then-a-webserver/
//erikzaadi.com/2011/04/21/node-js-frontend-fu-node-fe-fu/
//erikzaadi.com/2011/06/26/times-they-are-a-changin/
//erikzaadi.com/2011/07/11/making-the-touchpad-work-with-two-finger-swipes-on-ubuntu-10-10-installed-on-a-lenovo-laptop/
//erikzaadi.com/2011/07/18/automating-egged-bus-wifi-connection/
//erikzaadi.com/2011/08/04/the-small-things/
//erikzaadi.com/2011/09/09/connecting-jenkins-to-self-signed-certificated-servers/
//erikzaadi.com/2011/10/02/jenkins-on-nginx-fixing-artifacts-downloading-problem/
//erikzaadi.com/2011/10/23/jenkins-on-nginx-take-2-static-file-handling/
//erikzaadi.com/2011/11/23/startup-weekend-haifa-2011/
//erikzaadi.com/2012/02/28/mv-wordoctopress/
//erikzaadi.com/2012/03/02/blog-now-hosted-on-amazon-s3/
//erikzaadi.com/2012/03/03/the-wedding-dance/
//erikzaadi.com/2012/03/19/auto-installing-vundle-from-your-vimrc/
//erikzaadi.com/2012/04/22/solarized-color-scheme-for-octopress/
//erikzaadi.com/2012/07/03/mocking-python-imports/
//erikzaadi.com/2012/07/08/fixing-thunderbird-crashes-on-load-and-mutt-fails-with-fetched-mail/
//erikzaadi.com/2012/07/16/jquery-compatible-jsonp-with-nginx/
//erikzaadi.com/2012/08/28/one-year-of-linux/
//erikzaadi.com/2012/09/13/inheritance-within-python-unit-tests/
//erikzaadi.com/2012/09/16/using-live-reload-with-octopress/
//erikzaadi.com/2012/10/29/unsubscribing-to-watching-all-repos-in-a-github-organization/
//erikzaadi.com/2012/11/11/installing-bare-boned-ubuntu-using-the-mini-iso/
//erikzaadi.com/2012/12/10/three-amigos-one-tmux/
//erikzaadi.com/2013/03/07/fast-remote-editing-with-vim/
//erikzaadi.com/2013/03/14/auto-auto-reloading-ipython-modules/
//erikzaadi.com/2013/06/23/nose-rapido-a-rapid-feedback-plugin-for-nosetests/
//erikzaadi.com/2013/07/01/fdd-fika-driven-development/
//erikzaadi.com/2013/08/22/return-of-the-mac/
//erikzaadi.com/2013/08/27/assign-an-application-to-all-desktops-in-applescript/
//erikzaadi.com/2013/12/18/cleaning-up-jenkins-jobs/
//erikzaadi.com/2014/06/23/handle-proxy-404-in-nginx/
//erikzaadi.com/2014/06/23/long-time-no-spamming/
//erikzaadi.com/2015/03/05/raspberry-pi-powered-door/
//erikzaadi.com/2015/04/27/s3cmd-is-dead-long-live-s3-cli/
//erikzaadi.com/2015/04/27/two-bots-one-slack/
//erikzaadi.com/2015/10/25/bye-octopress-hello-hugo/
//erikzaadi.com/2015/10/27/cheap-iot-by-hacking-routers/
//erikzaadi.com/2015/10/27/hush-hush-now-logstash/
//erikzaadi.com/2015/10/31/the-distributed-state-of-chatops/
//erikzaadi.com/2015/11/11/getting-parsed-request-bin-bodies/
//erikzaadi.com/2015/11/15/linting-ansible-yaml-in-vim/
//erikzaadi.com/2016/01/09/dummy-guide-to-mac-lan-party-with-team-fortress-2/
//erikzaadi.com/2016/02/11/moving-from-vundle-to-vim-plug/
//erikzaadi.com/2016/03/07/migrating-from-logstash-forwarder-to-beat-filebeat/
//erikzaadi.com/2016/05/08/sane-hubot-help/
//erikzaadi.com/2016/08/24/blazing-fast-zsh-with-antibody/
//erikzaadi.com/2016/12/18/1-conference-2-talks-3-lessons-learned-and-a-whole-lot-of-stickers/
//erikzaadi.com/2017/02/07/why-you-should-be-excited-about-the-groovyness-of-jenkins/
//erikzaadi.com/2017/02/08/the-d-in-blog/
//erikzaadi.com/2017/02/18/make-remote-tmux-sane-with-a-keystroke/
//erikzaadi.com/2017/06/19/tmux-for-multilangual-cli-addicts/
//erikzaadi.com/2017/12/09/sane-versioning-in-nodejs/
//erikzaadi.com/2017/12/19/the-delicate-balance-between-coding-and-managing/
//erikzaadi.com/2019/02/25/linting-helm-charts-in-travis/
//erikzaadi.com/2019/09/29/life-is-short-make-your-ci-blazing-fast/
//erikzaadi.com/2019/09/29/pull-request-etiquette-a-set-of-simple-rules-for-your-code-review/
//erikzaadi.com/2020/02/17/how-to-use-zsh-and-tmuxp-to-speed-up-your-day-to-day-workflow/
//erikzaadi.com/about/
//erikzaadi.com/slides/

We prefer to use Git for verified bugs and vetted enhancements. Thanks.

Me too!
I've a repository of 1,452,194 RSS feeds (Yes, RSS feeds) and apparently all of the invalid URLs that begin with //DOMAIN.TLD/ are running Hugo.
I advise you to check for yourself.

This issue is closed. It is not a bug. The built-in RSS template renders absolute URLs:
https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/_default/rss.xml#L63
The Permalink value is derived from the baseURL in the site configuration, the documentation for which explicitly requires protocol:

The absolute URL (protocol, host, path, and trailing slash) of your published site (e.g., https://www.example.org/docs/).

What you are seeing is misconfiguration by site authors, not a bug.
Please use the forum (https://discourse.gohugo.io/) if  you have further questions,


Bot not executing discord.js functions

the bot is not executing discord.js functions inside the command
var Clapp = require('../modules/clapp-discord');
const Discord = require('discord.js');
var client = new Discord.Client();
const cfg     = require('../../config.js');

module.exports = new Clapp.Command({
  name: "test",
  desc: "???",
  fn: (argv, context) => {

	client.on('ready', () => {
        client.setPlayingGame('Test Status');
});

  }
});

You're instantiating a new bot for your command, but the bot that is logged in is the bot that you have in your index.js, not your commad file, and therefore, the ready event on the client you just declared never fires.
Do not create a new Discord.Client. Instead, pass the existing one from index.js to your command file through the context. Look for this in your index.js:
app.parseInput(msg.content, {
      msg: msg
      // Keep adding properties to the context as you need them
});

And add the bot to the context:
app.parseInput(msg.content, {
      msg: msg,
      client: bot
      // Keep adding properties to the context as you need them
});

In your command file, you can reference the client from the context:
var Clapp = require('../modules/clapp-discord');
const cfg     = require('../../config.js');

module.exports = new Clapp.Command({
  name: "test",
  desc: "???",
  fn: (argv, context) => {

	context.client.setPlayingGame('Test Status');

  }
});

Note that you do not need to wait for the ready event, as your commad will be executed after an user input, and therefore the client is already ready if the command executes.

well this doesnt work either sadly. The NPM output is:
    context.client.setPlayingGame('Test Status');
                  ^

TypeError: Cannot read property 'setPlayingGame' of undefined

Can you please post the contents of index.js or link to a repo where I
can find it?
El jue., 20 abr. 2017 22:23, Select<EMAIL_ADDRESS>escribió:

well this doesnt work either sadly. The NPM output is:
context.client.setPlayingGame('Test Status');
              ^

TypeError: Cannot read property 'setPlayingGame' of undefined
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/MeLlamoPablo/generator-discordbot/issues/3#issuecomment-295893321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKmg_u2sEMinksRj0bPJXcpOv6ByaX4ks5rx77JgaJpZM4NCoxa
.

https://github.com/SelectPluginDB/siriusbot

You didn't commit the whole project to that repo. The clapp-discord module is missing and therefore I can't reproduce the issue. Make sure you remove any sensitive information like the Discord API key from config.js and then commit the whole project.
The index.js looks good by the way, so I'm not sure where the issue is.

Added files.

I'm getting a different error:
><EMAIL_ADDRESS>bot /home/pablo/Projects/Node/Tests/siriusbot
> node ./lib/index.js

Running!
/home/pablo/Projects/Node/Tests/siriusbot/lib/commands/verify.js:9
	   context.client.setPlayingGame('Test Status');
	                  ^

TypeError: context.client.setPlayingGame is not a function
    at Command.fn (/home/pablo/Projects/Node/Tests/siriusbot/lib/commands/verify.js:9:20)
    at App.parseInput (/home/pablo/Projects/Node/Tests/siriusbot/node_modules/clapp/dist/App.js:399:24)
    at Client.bot.on.msg (/home/pablo/Projects/Node/Tests/siriusbot/lib/index.js:40:9)
    at emitOne (events.js:96:13)
    at Client.emit (events.js:191:7)
    at MessageCreateHandler.handle (/home/pablo/Projects/Node/Tests/siriusbot/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
    at WebSocketPacketManager.handle (/home/pablo/Projects/Node/Tests/siriusbot/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:120:65)
    at WebSocketManager.eventMessage (/home/pablo/Projects/Node/Tests/siriusbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:273:31)
    at WebSocket.onMessage (/home/pablo/Projects/Node/Tests/siriusbot/node_modules/ws/lib/WebSocket.js:442:14)
    at emitTwo (events.js:106:13)

npm ERR! Linux 4.4.0-72-generic
npm ERR! argv "/home/pablo/.nvm/versions/node/v7.9.0/bin/node" "/home/pablo/.nvm/versions/node/v7.9.0/bin/npm" "run" "bot"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>bot: `node ./lib/index.js`
npm ERR! Exit status 1

Which means that verify.js is actually getting a reference to index.js's bot, as expected. However, as the error message says, setPlayingGame is not a function. Probably because it doesn't exist, the correct method is setGame. You're probably attempting to use an outdated api.
I'm locking this issue because it is unrelated to generator-discordbot. Please refer to Discord.js's respository if you have an issue with it, or Discord.js's community discord if you just need help.


For --project publishing, dita.temp.dir should default to /tmp/ in linux

Description
In linux, when a map is published directly, dita.temp.dir defaults to a unique directory in /tmp:
$ dita -i map.ditamap -f html5 -verbose
...omitted...
     [echo] dita.temp.dir=/tmp/temp20220803100015319

But for DITA-OT project files, dita.temp.dir defaults to a unique directory in the DITA-OT installation directory:
$ dita --project project.xml -verbose
...omitted...
     [echo] dita.temp.dir=/nfs/shared/tools/dita-ot/temp/temp20220803100128898

Our DITA-OT installation is in a shared network filesystem. It would be much better for the default temporary directory to be in /tmp (which is a local solid-state disk) instead of in a shared network filesystem.
In addition, it is desirable for the behavior of DITA-OT project file publishing to be consistent with direct publishing.
Possible Solution
Change the default dita.temp.dir behavior in linux.
Potential Alternatives
We can use the --temp command-line option to specify a temporary directory, but then we must also take responsibility for directory name uniqueness when there are concurrent runs on the same machine.
Additional Context
A small testcase is included: ditaot-default-project-tmpdir.zip

That's not intended behaviour, so it's likely a bug somewhere.

@chrispy-snps Could you add full verbose log for those two cases. I can't reproduce this.

Here are the log files:
out-direct.log
out-project.log
I am using a fresh DITA-OT 3.7.2 installation (installed just now), running in Ubuntu 20.04 in Windows 10 WSL.

The results on a true linux box (CentOS) are similar:
log-arg:
     [echo] *****************************************************************
     [echo] * basedir = /u/chrispy/3983/ditaot-default-project-tmpdir/dita-ot-3.7.2
     [echo] * dita.dir = /u/chrispy/3983/ditaot-default-project-tmpdir/dita-ot-3.7.2
     [echo] * transtype = html5
     [echo] * tempdir = /u/chrispy/3983/ditaot-default-project-tmpdir/dita-ot-3.7.2/temp/temp20220804065758084
     [echo] * outputdir = /remote/us01home28/chrispy/3983/ditaot-default-project-tmpdir/out
     [echo] * clean.temp = true
     [echo] * DITA-OT version = 3.7.2
     [echo] * XML parser = Xerces
     [echo] * XSLT processor = Saxon
     [echo] * collator = ICU
     [echo] *****************************************************************

I have write permissions in /tmp on both machines (and use it frequently).


Allow YAML aliases to work

This functionality needs to be explicitly enabled with safe_load

Also added a test.
@tmuxinator/tmuxinator has anyone had a chance to look at this? YAML aliases allow one to have global configuration default template snippets.

Thanks for this, @agios. I will try to review it today.

@agios I just experimented with this locally and it works well. This will make for a nice addition to tmuxinator!
Would you mind adding an entry to CHANGELOG.md using the instructions in CONTRIBUTING.md?

Added changelog note. This used to work already before, it was inadvertently broken by https://github.com/tmuxinator/tmuxinator/commit/2cd3c675feaf02967633b986f16e6be8b928b003.
Perhaps what might be more interesting is a use case for this. Eg, you can use a defaults file, with the structure for various types of projects (rails, rails+docker, etc) and in an actual project file just write:
name: test
root: ~/test

<%= Erubis::Eruby.new(File.read("#{ENV['HOME']}/.tmuxinator/defaults")).evaluate(self) %>

<<: *rails-docker-defaults


Help.

Is there a feature where we can get the gamepass info's using the gamepass id?

nvm,

How to fix this?


schema() function for singular JSON schema types

Feature Request
Currently there is only the application() function to generate JSON schema and it works pretty well. However, it is a bit difficult to use when you don't want to create the entire OpenAPI file.
An example from Elysiajs and Fastify:
app.post(
	"/login",
	() => {
		return { token: "123" };
	},
	{
		body: application<[UserLogin]>().components.schemas?.UserLogin,
		response: application<[{ token: string }]>().schemas.at(0),
	},
);

fastify.post(
	"/login",
	{
		schema: {
			body: application<[UserLogin]>().components.schemas?.UserLogin,
			response: { 200: application<[{ token: string }]>().schemas.at(0) },
		},
	},
	(request, reply) => {
		reply.status(200).send({ token: "123" });
	},
);

Therefore, I recommend making a trimmed copy of the application() function. Converts the received type to JSON schema component. If not, throws an error etc. I believe it would make things much cleaner.
app.post(
	"/login",
	() => {
		return { token: "123" };
	},
	{
		body: schema<UserLogin>(),
		response: schema<{ token: string }>(),
	},
);

Try to use this one if no recursive relationship exists.
https://typia.io/docs/llm/schema/

Try to use this one if no recursive relationship exists.
https://typia.io/docs/llm/schema/

I did not expect this feature to be under the LLM title. Thanks 🙏


exit and unmount ??

Nice library! I'm using it in a small project.
I'd like my filesystem to unmount itself under certain circumstances - any suggestions on how this can be done with the current API?

Can you give a specific example of what you are trying to do?
On Oct 20, 2016 4:41 PM, "Tim Docker"<EMAIL_ADDRESS>wrote:

Nice library! I'm using it in a small project
https://github.com/timbod7/secretfs.
I'd like my filesystem to unmount itself under certain circumstances - any
suggestions on how this can be done with the current API?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/m15k/hfuse/issues/6, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPRBap1la6sNDsj20Fh444AcTybU2leks5q19_7gaJpZM4KcosR
.

I'd like to set things up such that if no requests were received within a given time, the FUSE file system would unmount it self, and the process would exit.

That would certainly be possible, though outside the scope of hfuse.  You
are looking for something like machines or conduit.  Or perhaps more simply
using bracket from Control.Exception?
On Tue, Oct 25, 2016 at 2:44 PM, Tim Docker<EMAIL_ADDRESS>wrote:

I'd like to set things up such that if no requests were received within a
given time, the FUSE file system would unmount it self, and the process
would exit.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/m15k/hfuse/issues/6#issuecomment-256154485, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPRBZYtQ6qB0r_IJOk96CVrBdIoFGpQks5q3lwTgaJpZM4KcosR
.

I don't understand what you are suggesting wrt to bracket, machines, or conduie.  I start hfuse with a call to
fuseMain :: Exception e => FuseOperations fh -> (e -> IO Errno) -> IO ()

What should I call to shutdown the process?

Haven't forgotten about you, will get a chance to look at this, this
weekend.
On Wed, Oct 26, 2016 at 3:51 PM, Tim Docker<EMAIL_ADDRESS>wrote:

I don't understand what you are suggesting wrt to bracket, machines, or
conduie. I start hfuse with a call to
fuseMain :: Exception e => FuseOperations fh -> (e -> IO Errno) -> IO ()
What should I call to shutdown the process?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/m15k/hfuse/issues/6#issuecomment-256473073, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPRBcnbQkEIOEB_53LCkPmC1tOXGuV3ks5q371HgaJpZM4KcosR
.

I encountered this same issue (inability to cleanly un-mount programmatically). The work-around that I came up with was to call fusermount -u on the value of the mountpoint argument.
Proc.callProcess "fusermount" ["-u", mountpoint]

This is inelegant (call to an external program) and error prone (it fails if called while fuse is busy or called from the same thread as is executing a fuse callback, such as, from within the fuseInit function). It works if you call it from another thread, such as from Control.Concurrent.forkIO. It doesn't always work on the first try, however, and so you need to take care to catch exceptions, and retry, until successful.
A programmatic solution would be desirable. Perhaps fuseMainInline or fuseRunInline can be used to have more control?


sending on OSX doesn't work

The send starts, and then crashes at the 004000 with a pipeline lost error. From what I can see it's because when the transfer starts the naomi reboots, and the send loses the connection during that reboot. Would it be possible to add a 10-second delay between the reboot command and the start of the send operation to help alleviate this issue?

Its bizarre that this fails on OSX when the timeout works fine on Linux. I guess OSX has different behavior regarding socket timeouts?

i can confirm this bizzarre issue on both my os x laptops

We can definitely try putting a sleep in the code. I even have a comment here for where to add one: https://github.com/DragonMinded/netboot/blob/trunk/netdimm/netdimm.py#L136
Aside, if you run netdimm_send with --disable-now-loading does it work properly? If that works but sending normally doesn't, then its for sure a sleep issue.

Hi, here is a screenshot of what's happening with --disable-now-loading

i even tried implementing the sleep(5) or (10) function and this is what i get:

I got here from https://github.com/DragonMinded/netboot/issues/6
Just kill the timeouts. Seems to work fine.
index 9cf0e6d..0dd1264 100644
--- a/netdimm/netdimm.py
+++ b/netdimm/netdimm.py
@@ -280,9 +280,7 @@ class NetDimm:
         # - pre-type3 triforces jumpered to satellite mode.
         try:
             self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
-            self.sock.settimeout(1)
             self.sock.connect((self.ip, 10703))
-            self.sock.settimeout(10)
         except Exception as e:
             raise NetDimmException("Could not connect to NetDimm") from e

Woah, before you recommend just nuking lines of code lets work out if this has any other unintended side-effects. Those lines are there for a very good reason, and its to allow the state machine that uses this class to operate properly. Breaking that breaks several tools in this repo, including netdimm_ensure and the entire web interface.

Sorry, that was more of a "hey folks that are having problems, try this, see if you are able to send". For me it was the difference between using the tool at all, vs not. Anyone with this issue is unlikely to be enjoying your web interface at all.

I'm fairly sure this is fixed with the PR @ArcadeHustle submitted so I'm going to close this task and make a release shortly.


SSL via BoringSSL?

Just a thought, but was wondering if this might be a better direction for uWebSockets.
It's much lighter weight, and higher performance than OpenSSL (using thread-local storage, and avoiding some nasty mutex's)...
In short, more in-line with the uWebSockets
https://www.imperialviolet.org/2015/10/17/boringssl.html
https://boringssl.googlesource.com/boringssl/+/HEAD/INCORPORATING.md

uWebSockets actually compile and works just fine with BoringSSL (just a few changes in cmakelists.txt)

Great (y)
On Aug 12, 2016 2:49 PM, "AlexVK79"<EMAIL_ADDRESS>wrote:

uWebSockets actually compile and works just fine with BoringSSL (just a
few changes in cmakelists.txt)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

That's cool, we could have some flag to change the implementation. I don't mind having BoringSSL by default when building the C++ stand-alone server but we need OpenSSL when building the Node.js addon since Node.js makes use of OpenSSL.

Right, okay that makes sense.
On Aug 12, 2016 6:51 PM, "Alex Hultman"<EMAIL_ADDRESS>wrote:

That's cool, we could have some flag to change the implementation. I don't
mind having BoringSSL by default when building the C++ stand-alone server
but we need OpenSSL when building the Node.js addon since Node.js makes use
of OpenSSL.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/uWebSockets/uWebSockets/issues/212#issuecomment-239499130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQZ0sesivSS7MtOU6vqrKcglURE6CMnks5qfKR8gaJpZM4Ji4Uc
.


Understanding with implement php-http and psr-*

In library we must provide http client with php-http and request/stream factories with psr-17. I think what this hard to understanding, because php-http full support psr-7, psr-17, psr-18 and contain specific logic for search http client. But in more cases, projects initialized with one specific http client (Guzzle 7) as an example. And why i MUST install additional php-http package, if i can to try create HttpTransport only with prs-17, psr-18?
As result, I see next solution - not require php-http, but require psr/http-client, psr/http-factory and implement to it. As result, all cleared, developer must create only http client what implement psr/http-client.
If we want to make an easy library to integration, we can move php-http to suggestions and prepare builder who was be work via discovery.
Thank for understanding.

I find it a little hard to follow your story but I'm going to do my best to answer but please let me know if I misunderstood anything!
I think you are looking at this package (sentry/sentry on Packagist) which needs the PSR implementations to be present in the project.
However we have a so-called meta package which provides all those dependencies which should work out put the box, it's sentry/sdk on Packagist which we also recommend installing from our documentation: https://docs.sentry.io/platforms/php/#install.
So the implementation are required (otherwise we cannot send events) and thus they cannot be moved to the suggest, but using the sentry/sdk package this should all be provided already.

I might have understood your question backwards and you are using sentry/sdk but don't want to use the provided libraries there in that case you can remove sentry/sdk and require sentry/sentry instead and provide your own packages that we need, see: https://docs.sentry.io/platforms/php/configuration/transports/.

Yes, you are correct, but i want to use sentry/sentry packages (not sdk), and why i must installs next packages (required in composer.json):

php-http/client-common
php-http/discovery
php-http/httpplug
php-http/message
...

The original \Sentry\Transport\HttpTransport can require http client from psr-18 implementation, but not from php-http. But, sdk package can contain all additionals for easy integration.
I think previously what this library send async requests (it not specify in psr-18), but package always send synchronous requests.
P.S. As an example. In my projects i full install Guzzle 7. It full support psr-7, psr-17, psr-18. Why i must install sentry/sdk or additional packages php-http,  if i can to create http transport only with usage Guzzle.

Maybe @Jean85 and/or @ste93cry have a good workaround for you.
But as far as I understand it we need those implementations for our own transport to work but if you are not using our transport it could make sense that some are not needed, not sure if moving them to the suggest is the correct move though so maybe there are some composer configurations where you can override those requirements.

If you're already installing an HTTP client, you're not required to use sentry/sdk, you can use sentry/sentry directly.
As for the PHP-HTTP packages, we cannot avoid requiring them, because they are used to autodiscover the transport. With them, you're not required to write any line of code, Guzzle will be detected and used automatically.
If you prefer to wire that manually you still can, as you said, but if we remove the PHP-HTTP requirements we would break the package for everyone else.


can't make hexcasting items

I put the stack of amethyst shards on the ground in the spell stack, I use introspection and retrospection to make a spell list and I draw the symbol to make the cypher/trinket/artifact. The spell sound occurs, the stack clears and the particle effect happens, but both the hexcaster and the amethysts on the ground don't change a bit. I was using version 0.8.0

known issue, will be fixed with 0.8.1


Consider adding CompositeOp

See discussion: https://groups.google.com/a/openxla.org/g/openxla-discuss/c/Ao5K8fvXoEk/m/OaddRrgyAgAJ

This was implemented in https://github.com/openxla/stablehlo/pull/2024.


Output information about targeted kubernetes version

Probably good to wait for #140, as that will likely affect how this information is retrieved.

Closing, we'll do this in #140, because this is a good way to test we've done it correctly.


Update for the builtin roles

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

Project coverage is 100.00%. Comparing base (9a4335f) to head (7996b26).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           50        50
  Lines         1119      1125    +6
=========================================
+ Hits          1119      1125    +6

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


[Volunteer]  #2272

// Describe your PR here; eg. Fixes #issueNo

Make sure that:

[x] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Can this be made configurable, for example, in the metadata, rpcExt fields?


Fix name, update copyright year

Fix my legal name. Update copyright year to 2019.

Codecov Report

Merging #75 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   82.72%   82.72%
=======================================
  Files          16       16
  Lines         799      799
=======================================
  Hits          661      661
  Misses        138      138

Continue to review full report at Codecov.

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


[Feature Request] Post-Link Optimizations (BOLT, Propeller)

This is a copy of https://github.com/Alex313031/Mercury/issues/52
I didn't notice any mention of these optimization techniques in the docs. Could we also apply them to squeeze out a few percentage points of performance? From what I've seen, BOLT can improve performance by 3% for binaries already optimized with PGO and LTO.

While this is a very interesting topic, I wonder if it is practical at the moment to pursue it downstream. I think it would be up to Google to roll out support for it in upstream builds first.
Getting a good profile is time-consuming and there would be even more work needed to integrate BOLT support in the build system. For PGO, there is an official PGO-file from Google that Thorium also uses which makes it quite easy to use. I am not aware of such a provided profile for BOLT.

BOLT optimization doesn't seem to be available in Chromium's compilation at the moment
@AndreVallestero


Support lib 23.1.1

https://plus.google.com/+AndroidDevelopers/posts/ebXLByBiEBU

I've seen the update but haven't tested it yet, however, I don't think there's anything fixed in this update as the changelog doesn't even mention the preference lib. I'll check it out tomorrow, just to be sure.

Don't see any improvements.


[Pipeline] Support pipeline binding for node limits timeout

Description
Support pipeline binding for node limits timeout
@dsl.pipeline
def my_pipeline(timeout):
    node = component_func(component_in_number=1)
    node.set_limits(timeout=1)
    # bind PipelineInput to node's limits.timeout
    assert isinstance(timeout, PipelineInput)
    node.limits.timeout = timeout

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml

@dsl.pipeline
def my_pipeline(timeout):
    node = component_func(component_in_number=1)
    node.set_limits(timeout=1)
    # bind PipelineInput to node's limits.timeout
    assert isinstance(timeout, PipelineInput)
    node.limits.timeout = timeout

Should it be the below case?
node.set_limits(timeout=timeout)


synnom parser isn't compiling: unexpected end of macro invocation

Im new to synnom/nom. The goal is to parse this example code:
    $ident,
    $ident<$path>,
    $ident: $ident,
    $ident {
        $ident: $ident,
    },

use syn::parse::{ident, path};
use syn::{Ident, Path};

named!(parse -> Vec<(Ident, Option<Path>, Option<Ident>, Vec<(Ident, Ident)>)>,
    terminated_list!(punct!(","), tuple!(
        ident,
        option!(delimited!(punct!("<"), path, punct!(">"))),
        option!(do_parse!(
            punct!(":") >>
            name: ident >>
            (name)
        )),
        opt_vec!(delimited!(
            punct!("{"),
            terminated_list!(punct!(","), do_parse!(
                name: ident >>
                punct!(":") >>
                ty_name: ident >>
                (name, ty_name)
            )),
            punct!("}")
        ))
    ))
);

But the parser isn't even compiling, rustc throws this error:
error: unexpected end of macro invocation
  --> .../src/parser.rs:24:31
   |
24 |                 (name, ty_name)
   |                               ^

Im using rustc version 1.17.0-nightly (60a0edc6c 2017-02-26) right now.
I have no idea if im doing something wrong, or if it's a bug in synnom. Thank you.

Your code is correct but terminated_list was only handling the most basic arguments:

The implementation requires that the first parameter is a `punct!` macro,
and the second is a named parser.

I extended it to support your use case in https://github.com/dtolnay/syn/commit/dff18805989ed5102f67d69a7afd0c043c4921a4 and published synom 0.11.2 with the fix. Thanks for reporting this!

The implementation requires that the first parameter is a punct! macro,
and the second is a named parser.

so my code was actually broken.

I extended it to support your use case in dff1880 and published synom 0.11.2 with the fix. Thanks for reporting this!

Thank you for adding this!


[AIRFLOW-531] Add T2 Systems as Airflow User

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-531

FYI @UnclaimedPants


Add --cleanup-on-fail option to default helm upgrade command?

In light of occasional failed deployments with hubploy for whatever reason (for example https://github.com/pangeo-data/pangeo-cloud-federation/issues/560) There might be some utility in adding the --cleanup-on-fail or --atomic flags as defaults or options?
from docs https://helm.sh/docs/helm/helm_upgrade/
--cleanup-on-fail          allow deletion of new resources created in this upgrade when upgrade fails
--atomic                   if set, upgrade process rolls back changes made in case of failed upgrade. The --wait flag will be set automatically if --atomic is used

https://github.com/yuvipanda/hubploy/blob/edf788812b2441b10b8f935ae951b5f6bd5a84d5/hubploy/helm.py#L71-L84

Wow these options are VERY important I think, and I wish they would have defaulted to use these instead.
I'm not confident what to opt for, --cleanup-on-fail or --atomic. I think I understand --atomic, but what does really the --cleanup-on-fail option mean?
allow deletion of new resources created in this upgrade when upgrade fails

Allow deletion? It won't do anything, but it will allow something to be done? I assume it will actively cleanup, so it will actively delete new resources, but it will not roll back modified but not new resources?
Perhaps --atomic is the most reliable option then?

The adding of the --atomic flag, which was news to me: https://github.com/helm/helm/pull/5143/files
The adding of the --cleanup-on-fail flag, which was also news to me: https://github.com/helm/helm/pull/4871

For Hubploy, i suggest replacing --wait with --atomic. --atomic implies wait, and is robust and sensible for helm install as well as helm upgrade and helm ugprade --install.


Can I get the same result with the paper?

Hi. Thank you for sharing your implementation.
Is it possible to get the same (or similar) mAP with the paper?
I would be really appreciated if you could tell me the final performance.

@LimBee  what the performance did you get?

@LimBee @wuguangbin1230 @lxtGH @XuSen123 what the performance did you get?

@LimBee @wuguangbin1230 @lxtGH @XuSen123 @FoolishMao what the performance did you get?

@LimBee @wuguangbin1230 @lxtGH @XuSen123 @FoolishMao @triangleCZH  what the performance did you get?

@LimBee @wuguangbin1230 @lxtGH @XuSen123 @FoolishMao @triangleCZH what the performance did you get?

@LimBee @wuguangbin1230 @lxtGH @XuSen123 @FoolishMao @triangleCZH @zhanglanqing what the performance did you get?

@LimBee @wuguangbin1230 @lxtGH @XuSen123 @FoolishMao @triangleCZH @zhanglanqing what the performance did you get?

 I heard that Retina performance on VOC may 55~60mAP which is very lower than SSD, YOLO variations. Maybe... because average number of boxes on images?
I hope this helps you guys.


useOSProber fails to detect (LVM-installed) OSes

Describe the bug
Setting boot.loader.grub.useOSProber = true; in configuration.nix does not add Ubuntu to GRUB, despite sudo os-prober finding it. Ubuntu is on an LVM partition, but NixOS is not.
To Reproduce
Steps to reproduce the behavior:

Add boot.loader.grub.useOSProber = true; to configuration.nix
sudo nixos-rebuild switch --install-bootloader

Expected behavior
Ubuntu appearing in GRUB

Additional context

Configuration
UEFI
Partition format:/dev/sda
+ /dev/sda1             FAT32 ESP system partition
+ /dev/sda2             LVM partition
| + /dev/vgubuntu/root  Ubuntu root
| + /dev/vgubuntu/swap  Ubuntu swap
+ /dev/sda3             ext4 partition with NixOS

Running nix-shell -p os-prober --run "sudo os-prober" yields/dev/mapper/vgubuntu-root:Ubuntu 19.10 (19.10):Ubuntu:linux

This did work with a previous installation of Ubuntu that was not using LVM.

Metadata

system: "x86_64-linux"
host os: Linux 5.4.1, NixOS, 19.09.1529.808d3c6d123 (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3
channels(jakob): "nixpkgs-20.03pre206749.5a3c1eda46e"
nixpkgs: /home/jakob/.nix-defexpr/channels/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Can you run os-prober as root to see if it detects the other os ?

Ah sorry, you wrote it does detect it.
Can you check that the expected configuration is present in /boot/grub/grub.cfg ?
Can you check that the expected configuration is output to the systemd-journal ? journalctl | grep -C 50  "BEGIN /etc/grub.d/30_os-prober"

Can you also paste the output of linux-boot-prober /dev/mapper/vgubuntu-root ?

Ubuntu is not mentioned in grub.cfg. GitHub doesn't let me attach the file, so here it is as a gist. There's nothing interesting in it though.
journalctl's output is also in the same gist.
Output of linux-boot-prober:/dev/mapper/vgubuntu-root:/dev/mapper/vgubuntu-root:Ubuntu:/boot/vmlinuz-5.3.0-24-generic:/boot/initrd.img-5.3.0-24-generic:root=/dev/mapper/vgubuntu-root ro quiet splash $vt_handoff
/dev/mapper/vgubuntu-root:/dev/mapper/vgubuntu-root:Ubuntu, with Linux 5.3.0-24-generic:/boot/vmlinuz-5.3.0-24-generic:/boot/initrd.img-5.3.0-24-generic:root=/dev/mapper/vgubuntu-root ro quiet splash $vt_handoff
/dev/mapper/vgubuntu-root:/dev/mapper/vgubuntu-root:Ubuntu, with Linux 5.3.0-24-generic (recovery mode):/boot/vmlinuz-5.3.0-24-generic:/boot/initrd.img-5.3.0-24-generic:root=/dev/mapper/vgubuntu-root ro recovery nomodeset
/dev/mapper/vgubuntu-root:/dev/mapper/vgubuntu-root:Ubuntu, with Linux 5.3.0-23-generic:/boot/vmlinuz-5.3.0-23-generic:/boot/initrd.img-5.3.0-23-generic:root=/dev/mapper/vgubuntu-root ro quiet splash $vt_handoff
/dev/mapper/vgubuntu-root:/dev/mapper/vgubuntu-root:Ubuntu, with Linux 5.3.0-23-generic (recovery mode):/boot/vmlinuz-5.3.0-23-generic:/boot/initrd.img-5.3.0-23-generic:root=/dev/mapper/vgubuntu-root ro recovery nomodeset

Next possible culprit:
pkgdatadir=$(nix-build '<nixpkgs>' -A grub2 --no-out-link)/share/grub $(nix-build '<nixpkgs>' -A grub2 --no-out-link)/etc/grub.d/30_os-prober

as root in a shell where os-prober is available.
If this does not output anything, try debugging with bash -x.
If this does output something, then the problem is that for some reason nixos-rebuild does not reinstall the bootloader.

That does output something. I'll update the gist.

The offending code is here:
https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/system/boot/loader/grub/install-grub.pl#L518-L522
I don't see why it wouldn't run.

It appears that those lines are getting run, which I've verified using this patch:
diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl
index a09c5dc4761..c7540acaef7 100644
--- a/nixos/modules/system/boot/loader/grub/install-grub.pl
+++ b/nixos/modules/system/boot/loader/grub/install-grub.pl
@@ -518,6 +518,8 @@ my $efiTarget = getEfiTarget();
 # Append entries detected by os-prober
 if (get("useOSProber") eq "true") {
     my $targetpackage = ($efiTarget eq "no") ? $grub : $grubEfi;
+    print $targetpackage;
+    system(get("shell"), "-c", "echo Hello from install-grub.pl");
     system(get("shell"), "-c", "pkgdatadir=$targetpackage/share/grub $targetpackage/etc/grub.d/30_os-prober >> $tmpFile");
 }

I believe I might have figured out the problem. install-grub.pl calls 30_os-prober, which calls os-prober, which calls .os-prober-wrapped, which, at one point, calls lvs.
# Also detect OSes on LVM volumes (assumes LVM is active)
if type lvs >/dev/null 2>&1; then
	echo "$(LVM_SUPPRESS_FD_WARNINGS=1 log_output lvs --noheadings --separator : -o vg_name,lv_name |
		sed "s|-|--|g;s|^[[:space:]]*\(.*\):\(.*\)$|/dev/mapper/\1-\2|")"
fi

If lvs is missing, the script continues to run without showing any errors, which is what is happening in this case. The problem can be reproduced in an interactive shell using --pure.
Replacing lvs with a hard-coded path makes OS probing work, although there are a lot of error messages about "Internal error: unreleased memory pool(s) found".
There may also be similar problems with log-output, dmraid, udevadm, and udevinfo.

Nice finding!
Then you can add the package containing lvs to this list:
https://github.com/NixOS/nixpkgs/blob/eab4ee0c27c5c6f622aa0ca55091c394a9e33edd/pkgs/tools/misc/os-prober/default.nix#L54
And the problem should be solved. Feel free to make a PR :)
I have already seen the warnings about memory, so at least they are not a regression. I have no idea what they mean.

Fixed by https://github.com/NixOS/nixpkgs/pull/76843


Show external catalog with their schemas in IDEs like Dbeaver, Datagrip etc

Hi, is there a way  to make external catalogs show up in IDEs like DBeaver, Datagrip etc in the schema views?
currently i only see the "internal" SR managed tables/DB and external catalogs must be manually called by SHOW CATALOGS
The IDEs do the schema intropection which should show the full schema of external catalogs just like how it shows for internal catalogs
Example:-

Hard to work with tables and databases in external catalogs without this feature. Please, add to roadmap.

is there any update for this ticket?


[NSE-1114] Remove temp directory without FileUtils.forceDeleteOnExit

What changes were proposed in this pull request?
FileUtils.forceDeleteOnExit won't delete the files that are added after function calls, and it will fail to delete the directory. Thus we add new hook to delete the directory.
How was this patch tested?
unit tests.

@jackylee-ch works for me, thanks for the fix!


hashPassword fall-through if there's no password

The user should have already run a requireAuth hook by this point. Fixes https://github.com/feathersjs/feathers-authentication/issues/286

Can you fix the tests and then we can get a new version out?


[server] Fix uncaught exceptions in callbacks that initialize secondary clusters

Signed-off-by: Asra Ali<EMAIL_ADDRESS>Commit Message: Fixes uncaught exceptions in callbacks that can occur after server initialization.
Additional Description: Secondary cluster initialization occurs when runtime is ready. This may  throw exceptions, and won't be caught gracefully and shutdown the server.
Risk Level: Low, already causes crashes on configuration start.
Testing: Added server unit tests with configs that reproduce the issue.
Fixes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30306
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30302
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29938
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29830
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29825

Thanks for making this change. I can't quite understand why the compile_time_options build fails new tests.

/wait

Yep! Seems like that is it. Changed the exception so it's not reliant on google gRPC ("API configs must have either a gRPC service or cluster name defined")


Key Request - §±

Some Macbook keyboard have in the exact same place as ~ and ` the §± key. It would be great if I can modify it from the Karabiner Elements, but I can't really find it... :(

Read the docs https://github.com/tekezo/Karabiner-Elements/tree/master/usage#swapping-sectionparagraph--key-on-non-us-keyboards

Thank you thank you! :D
It's funny because I've entered the Usage file but when I've seen the UI print-screen usages I have instantly thought that I can't find my answer there. - Maybe moving that to Advanced Usage in a separate file would be way better? 😄
Also, searched for the § character but Github didn't present any results :(
Thanks again!

Since the docs have moved and users might arrive here from Google, the key name for the § in karabiner is non_us_backslash.


Unable to run compiled mod on MACOS

Hi, I have been working on a mod with this template, it works great for Windows, but when I try to load the mod with Forge 1.8.9 for MACOS, it get the following error:
[Client thread/WARN] [FML]: Zip file super-duper-fishstick-2.0.3.jar failed to read properly, it will be ignored
Full error log: here
My mod is called super-duper-fishstick
Thanks

I have also tried compiling the mod from my MACOS machine to check if there were some changes, but its the exact same.

I tried running the remapJar gradle command but it didn't change anything sadly, both being compiled from Mac with IntelliJ or from my Windows  machine.


graphql tag broken

First of all thank you very much for your work on this extension, it's great!
I'm getting this problem when I try to assign a tag to a variable:

Strange think is that when I remove the space between the tag and the variable declaration it works:

I'm closing this as I discovered that this issue has to do with another extension I was using (BabelES6/ES7)..


Duplicate Scenes Returned in Query

See screenshot --

To reproduce make a query for a large number of scenes

Also -- not paginated properly

I cleared all filters and zoomed as far out as I could to a view with 407,753 scenes, but I was unable to replicate.

Somehow, running the scala Landsat 8 importer introduces this bug. Investigating.

@pomadchin can I get a consult from you on this? For some reason, the the scala Landsat 8 importer creates scenes with only individual images associated with them if you query.
You can confirm this with the following --
import requests
url = 'https://<staging>/api/scenes/f445a8c1-5ed6-4ba2-bffb-cc286d017874/'
headers = {'Authorization': '<your bearer token>'}
scene = requests.get(url, headers=headers).json()
len(scene['images'])

and comparing to the same but for scene 0502dd7f-0ec4-4df4-b8c4-0e41a4dd2d2b, which was imported before the scala importer existed. The join in scenes hasn't changed, and running the scala importer makes the problem reproducible in local development, so I'm guessing something in the importer is the problem but I'm having trouble figuring out what, since everything looks pretty much ok. It could also be that all imports run since the slick update are the issue, and that it has nothing to do with the importer.

Nevermind, think I found it.

@jisantuc what was / is the problem with it? Some duplicates / issue during the import?

It's not during the import after all.
In the scene datamodel, we're grouping by whole scenes, when we really just care about their IDs. Somehow there were differences in the scenes in each record that was coming back from Scenes.listScenes for the new scenes, so each row of the records was counting as a different scene. I'm not sure why.


Add support for channel keys

Tried to get channel keys working, but was unable to do so, and doesn't look to be support for it yet, would be nice to add.
I tried;
"channelMapping": {
"#channel-slack": "#irc-channel:pass"
}
and
"channelMapping": {
"#channel-slack": "#irc-channel pass"
}
with no luck

There's no support for that currently no. You can invite the bot to your channel though, as long as it's in the channel mapping.
"channelMapping": {
   "#other-slack": "#secret-channel"
}

Then you can do /invite botname #secret-channel.

Hey, thanks for the reply on this; I had actually tried inviting the user, and authenticating it to nickserve too, and it gives me this (after restarting to ensure new config is used);
error: Received error event from IRC prefix=card.freenode.net, server=card.freenode.net, command=err_badchannelkey, rawCommand=475, commandType=error, args=[mynickname, thechannel, Cannot join channel (+k) - bad key]
The current channel modes are;
+gklnps

Yep, forgot that you still need a key even if you're invited. I'll make it possible to join channels with keys, should be fixed within a few hours :)

Fixed in 3.1.0. Just add the channel password after the channel name, i.e. #channel password.

Great thanks!

This is actually, still giving me the same error;
error: Received error event from IRC prefix=kornbluth.freenode.net, server=kornbluth.freenode.net, command=err_badchannelkey, rawCommand=475, commandType=error, args=[nickname, #channelname, Cannot join channel (+k) - bad key]
i've double checked password, channel name.
the mode is the same +gklnps

Are you sure you're using the latest version (3.1.0)? The channel mapping should look like this:
"channelMapping": {
      "#slack": "#irc password"
}

Just tested with a channel with the exact same modes as yours (+gklnps), seems to work.

Yup, checked version in CHANGELOG
and my mapping is as such;
"channelMapping": {
  "channel1": "#channel1 password",

  "channel2": "#channel2"

}

is it because i'm doing it to a private group?
On Fri, Mar 27, 2015 at 5:07 PM, Martin Ek<EMAIL_ADDRESS>wrote:

Are you sure you're using the latest version (3.1.0)? The channel mapping
should look like this:
"channelMapping": {
"#slack": "#irc password"
}
Just tested with a channel with the exact same modes as yours (+gklnps),
seems to work.
—
Reply to this email directly or view it on GitHub
https://github.com/ekmartin/slack-irc/issues/17#issuecomment-87128093.

--
  ∴ *Matthew Gibson*

CEO / Owner*
Flewid Incorporated
Cell:<PHONE_NUMBER>
flewid.ca | google+ https://plus.google.com/+FlewidCa/posts | facebook
https://www.facebook.com/flewidinc

Hm, should still work. Could you try adding a debug: true line here and see what it sends with the JOIN command (this should probably be a config option in the future)? I.e.:
  this.ircClient = new irc.Client(this.server, this.nickname, {
    userName: this.nickname,
    realName: this.nickname,
    channels: this.channels,
    debug: true
  });

Then you should see something like 28 Mar 01:14:26 - SEND: JOIN #channel password.

Sure, here it is;
[Fri Mar 27 2015 19:38:26 GMT-0500 (CDT)] INFO Connecting...
27 Mar 19:38:26 - SEND: NICK myircnickname
27 Mar 19:38:26 - SEND: USER myircnickname 8 * myircnickname
27 Mar 19:38:27 - SEND: MODE myircnickname +x
27 Mar 19:38:27 - SEND: MSG nickserv :identify THISISMYPASSWORD
27 Mar 19:38:27 - Unhandled message: { prefix: 'verne.freenode.net',
server: 'verne.freenode.net',
command: 'rpl_luserunknown',
rawCommand: '253',
commandType: 'reply',
args: [ 'myircnickname', '9', 'unknown connection(s)' ] }
27 Mar 19:38:27 - SEND: JOIN #channel1 password
27 Mar 19:38:27 - SEND: JOIN #channel2
27 Mar 19:38:27 - MODE: myircnickname sets mode: +i
27 Mar 19:38:27 - GOT NOTICE from "NickServ": "This nickname is registered. Please choose a different nickname, or identify via /msg NickServ identify ."
error: Received error event from IRC prefix=verne.freenode.net, server=verne.freenode.net, command=err_unknowncommand, rawCommand=421, commandType=error, args=[myircnickname, MSG, Unknown command]
error: Received error event from IRC prefix=verne.freenode.net, server=verne.freenode.net, command=err_badchannelkey, rawCommand=475, commandType=error, args=[myircnickname, #channel1, Cannot join channel (+k) - bad key]
27 Mar 19:38:32 - SEND: MODE #channel2
27 Mar 19:38:32 - Unhandled message: { prefix: 'services.',
server: 'services.',
command: '328',
rawCommand: '328',
commandType: 'normal',
args: [ 'myircnickname', '#channel2', 'some message' ] }

here's my complete config file incase
[
{
"nickname": "myircnickname",
"server": "irc.freenode.net",
"token": "MYTOKEN",
"autoSendCommands": [
["MODE", "myircnickname", "+x"],
["AUTH", "myircnickname", "THISISMYPASSWORD"]
],
"channelMapping": {
"irc-channel1": "#channel1 channelpassword",
"irc-channel2": "#channel2"
}
}
]

It looks like it should, are you 100% sure that the key is correct? If you want to debug further you could try to execute the commands manually with telnet and see if it works then, i.e.:
$ telnet irc.freenode.net 6667
NICK myircnickname
USER myircnickname 8 * myircnickname
JOIN #channel1 password

Odd. We changed the key, changed it back to what it was previously, and
works. Thanks for all the help on this :)
On Fri, Mar 27, 2015 at 6:21 PM, Martin Ek<EMAIL_ADDRESS>wrote:

It looks like it should, are you 100% sure that the key is correct? If you
want to debug further you could try to execute the commands manually with
telnet and see if it works then, i.e.:
$ telnet irc.freenode.net 6667
NICK myircnickname
USER myircnickname 8 * myircnickname
JOIN #channel1 password
—
Reply to this email directly or view it on GitHub
https://github.com/ekmartin/slack-irc/issues/17#issuecomment-87137189.

--
  ∴ *Matthew Gibson*

CEO / Owner*
Flewid Incorporated
Cell:<PHONE_NUMBER>
flewid.ca | google+ https://plus.google.com/+FlewidCa/posts | facebook
https://www.facebook.com/flewidinc


Integrate Slack with CircleCI

github and docker hub are done, CircleCI is the last one.

Done by https://github.com/hangxie/parquet-tools/pull/55


Absolute Path to config file gets replaced with relative path using variable $PROJECT_DIR$ rendering settings unusable for a global central settings location

Lets say we have a repository named "ProjectA" and we are pointing the path to the configuration file to a central location (e.g. C:/Temp/settings/formatter/eclipse-formatter.xml) it will be persisted in the project configuration file eclipseCodeFormatter.xml using $PROJECT_DIR$ path variables resulting into this:
ProjectA is located at C:\dev\myrepos\projects\ProjectA
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="EclipseCodeFormatterProjectSettings">
    <option name="projectSpecificProfile">
      <ProjectSpecificProfile>
        <option name="formatter" value="ECLIPSE" />
        <option name="importOrderConfigFilePath" value="$PROJECT_DIR$/../../../../Temp/settings/formatter/eclipse.importorder" />
        <option name="importOrderFromFile" value="true" />
        <option name="pathToConfigFileJava" value="$PROJECT_DIR$/../../../../Temp/settings/formatter/eclipse-formatter.xml" />
        <option name="selectedJavaProfile" value="eclipse-formatter" />
      </ProjectSpecificProfile>
    </option>
  </component>
</project>

ProjectA is located at C:\dev\ProjectA
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="EclipseCodeFormatterProjectSettings">
    <option name="projectSpecificProfile">
      <ProjectSpecificProfile>
        <option name="formatter" value="ECLIPSE" />
        <option name="importOrderConfigFilePath" value="$PROJECT_DIR$/../../Temp/settings/formatter/eclipse.importorder" />
        <option name="importOrderFromFile" value="true" />
        <option name="pathToConfigFileJava" value="$PROJECT_DIR$/../../Temp/settings/formatter/eclipse-formatter.xml" />
        <option name="selectedJavaProfile" value="eclipse-formatter" />
      </ProjectSpecificProfile>
    </option>
  </component>
</project>

So if we want to use a centralized location for the config files and point to it (e.g. in multiple repos) and we have team members cloning projects in different locations, we will get changes everytime the plugin sets/resolves the path. When using a global profile it will be automatically set to the correct location (absolute path in global configuration file) but still using the path variable $PROJECT_DIR$ for the project configuration file.
So either way the file will change all the time and we won't be able to share the configuration via git unless everyone is cloning into the same folder structure.
What would a workaround be? Is this behavior configurable?

Thanks for your answer, already thought it would be something like that.
So there is no way to get around that without a workaround on your or our side?
Maybe we have to copy the settings into every repository then... or something like that. We wanted to be able to change one file centrally for a given profile in multiple projects.

You could clone your projects to a single workspace where the relative path would be always the same for everyone.
The problem is that the global profile saves itself to the project settings, which in your case produces changes.
The only solution I can think of is to add a checkbox that would disable it so that only a profile id/name would be saved to the project config.

You may try it:
Uncheck this:

EclipseFormatter-<IP_ADDRESS>.0-Eclipse_2023-03.zip

Looks good and works fine.
Thank you for your fast response and this fix, nice work!

Thank you!


item.updatePosition() is not working

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Steps to reproduce
just run codeSandbox

Environment
Info

g6
4.3.4

System
-

Browser
-

Hello!
I want to draw two graphs. Blue graph is main, and gray graph need to be position inside the blue blocks.

But now i can draw only like this:

My graph config:
const graph = new G6.Graph({
    container: "container",
    width: 800,
    height: 500,
    fitView: true,
    animate: true,
    modes: {
        default: ["drag-canvas", "zoom-canvas"]
    },
    plugins: [minimap],
    layout: {
        pipes: [
            {
                type: "dagre",
                rankdir: "TB",
                nodesep: 30,
                ranksep: 15,
                controlPoints: true,
                nodesFilter: node => {
                    return node.graph == "main";
                }
            },
            {
                type: "circular",
                nodesFilter: node => {
                    return node.graph !== "main";
                }
            }
        ]
    },
    defaultEdge: {
        type: "polyline",
        style: {
            stroke: "#808080",
            lineWidth: 1
        }
    }
});

And after
graph.data(data);
graph.render();

I tried to position gray graph inside the blue graph:
const rect1 = graph.findById('rect1').getModel();
const secondRect1 = graph.findById('secondRect1');
secondRect1.updatePosition({
    x: rect1.x,
    y: rect1.y,
})

But it's do nothing. In the console.log i see, that value is change, but on the screen nothing changes.
I tried all methods for update canvas that i find, but it's do nothing too.
graph.refresh()
graph.refreshPositions()
graph.paint()

How can i fix it?

graph.updateItem(nodeId, {
  x: some value
  y: some value
})

Since the pipe layout is asynchronous, you should use the coordinates in graph.on('afterlayout', e => {});
graph.on('afterlayout', e => {
    const rect1 = graph.findById("rect1").getModel();
    const secondRect1 = graph.findById("secondRect1");
    graph.updateItem(secondRect1, {
      x: rect1.x,
      y: rect1.y,
    })
})

Thank you very much!


How to calculate  gas fee before transaction

I want to calculate gas fee of transaction  Or I want to know how to estimate gas fee before transaction

Hello @Asadu43, that's out of our scope as it is not dependent of our SDK. You can check this article from MM but the web is plenty of them https://support.metamask.io/hc/en-us/articles/360059562111-How-to-estimate-the-gas-fee


GitHub Login with refresh tokens

Make it use production environment

Lets research about what is the tokens properties (duration, etc), refresh token and the below request (it makes this request whenever you refresh the page)


TCP server implementation

Hi, I try to connect wifi stick using server connect config_hide.html to my local tcp server, and I try to use this project as example, but no luck to decode, I see some correlation, but due 2 I get 2 types of messages(some data there in plain text, version, etc), other values I wasn't able to map. I ready want to use push model for avoid VPNs. Maybe already some spend some time on this, and have some inputs. If Author of this project don't have any observation I will put implementation to this project.

Thank you.
I was try to use connection which logger establish to my server send to it payload like this (client  is PySolarmanV5):
        mb_request_frame = rtu.read_holding_registers(
            1, 185, 10
        )

        print("send mtu frame request")
        v5_request_frame = client._v5_frame_encoder(mb_request_frame)
        conn.sendall(mb_request_frame)

But not any response get back looks like logger client, not process events like server.
Yes, you are right PySolarmanV5 very nice library, add works good, I already try it.
About proxy, this is definitely will works, but this is will required to put one more additional device in field, which will be problematically.

@nborisenko which option you change in config_hide.html

Server A Setting
Optional Server Setting
Internal server parameters setting -> Protocol TCP-Client

It's 3. TCP-Client
See here
Ready to use binaries can be downloaded from the GH Actions run here . See the Artifacts section at the bottom.

You're just a magician. Thanks a lot. This is exactly what i need.

Glad to help.


Set inital value in useLocaleStorageHook

call fetcher in useLocaleStorage hook if there is no default value provided

@AmrSaber Okay it makes sense, I will remove the fetcher, but I think defaultValue should have precedence more than locale storage right?

@Doaa-Ismael I think it makes more sense to have the stored value first, as when the user opens the site, they expect to see what they have set from the previous session and not the set default value.

Please update package version in package-lock.json too


publish v1.9 to the npm

Hi
Thank you for distributing the awesome plugin!
Please publish the new version of slick to the npm

pretty please

+1

yis pls


[Feature] flake.nix/dockerfile for simple cross compilation

I want to be able to enter an environment and be able to build for all targets with no extra setup.
Currently cross compiling isn't smooth, and setting up an environment with the correct development dependencies is not always straight forward.
Nix Flakes are great for this, but a Dockerfile (where I have started) works too, albeit not as nice to work with as Flakes.
It's taken me a few days to figure out the linux/linux  and linux/windows build environments.
Not sure how far I'll get with osx pipeline.
I also want to thank you so much for putting all this together. I've been dreaming of making a VST for about 10 years and now I feel I'm able to. Besides setting up the environment, you've made it a straight forward process <3.
 Compiling with --target x86_64-pc-windows-gnu works great as long as you don't enable the assert_process_allocs feature as for whatever reason the assert-no-alloc custom allocator seems to hang indefinitely on that (cross compiled) target.
With macOS it's a more complicated because you need to macOS frameworks. And while things like osxcross exist, I'm pretty sure it's against Apple's EULA to extract and use the frameworks that way.

I guess setting up the correct environment applies to all environments, not just for cross compilation. Would you be open to this idea?
I couldn't compile anything with an editor because of missing libs on my system, which having an environment like docker was a lifesaver. A preset file would help beginners like myself set things up without hassle.

FWIW, I have a shell.nix: https://github.com/magnetophon/voice_master/blob/master/shell.nix


python v3 compatible version

This pr add support python v3 to project .
change Dockerfile to use python 3 base image and fix readme description.
thanks for your time on review and merge.

Hi @root-ali, you can send your PR to my forked repo at https://github.com/baonq-me/hpilo-exporter. It's actively developed. Thanks.


WMS ID 9001: AI Speech updating get started and support link

Add here your WMS ID
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ ] All filenames are lower case (including folders, images, files, etc.)
[ ] Filenames are descriptive
[ ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[ ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ ] Image references in markdown contain an alternate text

@lveluvar - Contacted over Slack.


Best model for Persian Speech Recognition

Hi,
What is the best model for Persian Speech Recognition?

Hi,
Since currently most of the Speech SSL pretrained models are pretrained on English, so for Persian I think the only choice will be the multilingual version of wav2vec2. You can use the following line to load it:
model_with_pretrained_weights = torch.hub.load('s3prl/s3prl', 'wav2vec2_xlsr')

model_with_pretrained_weights is just a regular nn.Module and here is the I/O format.

Hi,
Since currently most of the Speech SSL pretrained models are pretrained on English, so for Persian I think the only choice will be the multilingual version of wav2vec2. You can use the following line to load it:
model_with_pretrained_weights = torch.hub.load('s3prl/s3prl', 'wav2vec2_xlsr')

model_with_pretrained_weights is just a regular nn.Module and here is the I/O format.

Thanks a lot leo19941227. Would you please share a sample code with wa2vec2_xlsr for speech recognition? I am beginner and don`t know how to use it exactly.

Hi,
I think you can start from training an ASR on LibriSpeech following these step, and then dive into the downstream/asr/dataset.py to change the transcriptions and the dictionary.
Here is an command example:
python3 run_downstream.py -m train -u wav2vec2_xlsr -d asr -n HelloWorld

Hi,
I think you can start from training an ASR on LibriSpeech following these step, and then dive into the downstream/asr/dataset.py to change the transcriptions and the dictionary.
Here is a command example:
python3 run_downstream.py -m train -u wav2vec2_xlsr -d asr -n HelloWorld

The command will train an ASR on LibriSpeech (English) with the multilingual wav2vec2_xlsr.

Thanks a lot. What about fine-tune? How can I fine-tune wav2vec2_xlsr with Persian audio dataset?

Hi,
The run_downstream.py script default will extract multiple hidden states from the pretrained model and learn a weighted-sum for downstream tasks. You can use this command to get only the last layer representation and finetune the entire pretrained model.
python3 run_downstream.py -m train -u wav2vec2_xlsr -d asr -n HelloWorld --upstream_feature_selection last_hidden_state --upstream_trainable

--upstream_feature_selection equals to -s
--upstream_trainable equals to -f

Since finetuning the entire pretrained model need lots of GPU memory, and we will end up using very small batch size on a single GPU. Typically we will need distributed training. You can refer to here for a general usage. The command pattern adjustment is agnostic to downstream task.


Upgrade from 3.1 to 3.12

Upgrade from 3.1 to 3.4
First step, 2 to go

NOTE: Seems there are now duplicates entries in the yarn lock for ember things for instance ember-cli-babel@ and broccoli-babel-transpiler@ etc. I susspect that is still there because of the these addons
"ember-cli-sass": "^7.1.7",
"ember-responsive": "^2.0.8"

Will need to check at end when we upgrade these to the latest version that those duplicates get remove, else we might need to delete the yarn lock and regen it, but in that case we have to regen ALL project yarn locks at the same time so that they all use the same versions of things.
NB Might need to do that anyway seeing as we are updating addons over a period of a few weeks.