Error time to execute 'python preprocess.py -lang_src de -lang_trg en -share_vocab -save_data m30k_deen_shr.pkl' command

Namespace(lang_src='de', lang_trg='en', save_data='m30k_deen_shr_new.pkl', data_src=None, data_trg=None, max_len=100, min_word_count=3, keep_case=False, share_vocab=True)
Traceback (most recent call last):
File "(my location)\attention-is-all-you-need-pytorch-master\preprocess.py", line 340, in
main_wo_bpe()
File "(my location)\attention-is-all-you-need-pytorch-master\preprocess.py", line 275, in main_wo_bpe
src_lang_model = spacy.load(opt.lang_src)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\D\Anaconda3\envs\pytorch\Lib\site-packages\spacy_init_.py", line 51, in load
return util.load_model(
^^^^^^^^^^^^^^^^
File "D:\D\Anaconda3\envs\pytorch\Lib\site-packages\spacy\util.py", line 471, in load_model
raise IOError(Errors.E941.format(name=name, full=OLD_MODEL_SHORTCUTS[name]))  # type: ignore[index]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [E941] Can't find model 'de'. It looks like you're trying to load a model from a shortcut, which is obsolete as of spaCy v3.0. To load the model, use its full name instead:
nlp = spacy.load("de_core_news_sm")
For more details on the available models, see the models directory: https://spacy.io/models and if you want to create a blank model, use spacy.blank: nlp = spacy.blank("de")

Hi，I also face on this problem 。Did you solve it？

I don't solve this problem. But I foud another one. It can run but when I rewrite the transforemr class  I face another problem. Could you leave me an email, we can talk about it.

我看你是杭州电子科技的，我们可以添加qq：2863611376


Enhancement: Stub zkApp (tokens included) transaction spotlight page

Stub with fake data

For reference: https://minascan.io/berkeley/tx/5Juw8UtXF8hsdJNwYqSF74G8TSJR5UAB1JvyUcpEVgEJXkYF4w3g?type=zk-tx

Assigning to Robin for review.


different moduledir documentation

The best practice text (1) says the method of using moduledir is undocumented but I can find a documentation at the puppetlabs/r10k (2) repository.
I am now a bit confused, because for me it is very handy to define a moduledir within the Puppetfile.
(1) https://github.com/puppetlabs/best-practices/blob/master/separate-hieradata-repository.md#moduledir-method-in-r10k-140-it-became-possible-to-use-the-moduledir
(2) https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#moduledir

@crazymind1337 I believe the best-practice is saying you shouldn't use the moduledir to achieve what install_path does.  The moduledir documentation does not mention anything about using it to place a hieradata repo outside of the modules directory.
If you're using moduledir for something other than moving where your hieradata is placed on disk then I think you're fine.
Does that make sense?

Ah okay. I understand now - thanks.

@npwalker Sure! :) I've open up #20 in which I try to clarify the wording (at least in my head) so that no one else gets confused. Hope that's alright.


New parser fails to parse @convention attribute with cType argument inside an array type

Issue Kind
Parse of Valid Source Failed
Source Code
_ = [@convention(c, cType: "int (*)(int)") (Int32) -> Int32]()

Description
The issue is that the implementation of skipTypeAttribute doesn’t skip over the cType argument here. We should probably be able to just skipSingle to skip over all the arguments.
https://github.com/apple/swift-syntax/blob/89dd2bde9404950dede113b7898c97f6e2bc2fc4/Sources/SwiftParser/Lookahead.swift#L165-L173

Tracked in Apple’s issue tracker as rdar://122358055


E3001 Invalid or unsupported Type AWS::Synthetics::Canary for resource SyntheticsCanaryWebApp in us-east-1

cfn-lint version: (cfn-lint --version)
cfn-lint 0.24.5
Description of issue.
E3001 Invalid or unsupported Type AWS::Synthetics::Canary for resource SyntheticsCanaryWebApp in us-east-1
Please provide as much information as possible:

Template linting issues:

  SyntheticsCanaryWebApp:
    Type: "AWS::Synthetics::Canary"
    Condition: NotDeployOnTestEnvironment
    Properties:
      Name: !Sub "synthetics-canary-tudn-${Project}-${Environment}"
      ArtifactS3Location: !Ref ScriptAndReportBucket
      Code:
        Handler: pageLoadBlueprint.handler
        S3Bucket: !Ref ScriptAndReportBucket
        S3Key:  "canary-scripts/famosos-dev.py"
        S3ObjectVersion: "1"
      ExecutionRoleArn: !Ref SyntheticsCanaryWebAppRole
      FailureRetentionPeriod: 31
      SuccessRetentionPeriod: 31
      RunConfig:
        TimeoutInSeconds: 60
      RuntimeVersion: "syn-1.0"
      Schedule:
        DurationInSeconds: "0"
        Expression: "rate(1 minute)"
      StartCanaryAfterCreation: false
      Tags:
        - Key: Environment
          Value: !Ref Environment
        - Key: Project
          Value: !Ref Project
        - Key: DeployedBy
          Value: !Ref DeployedBy

0.24.5's a bit outdated, try upgrading for support of the latest CloudFormation types:
pip3 install cfn-lint --upgrade


Fix for CIDR requirement

CIDR field is required in terraform-modules/variables.tf.  Since it's nested in an object, I'm not sure how to set the default to null. When I set up my params file, I had cidr: "" set and it deployed without issues. I think that is all that is needed here to get the schema to cooperate.

For reference, this is the error I got in the UI:
The given value is not suitable for child module variable "network" defined at .terraform/modules/application_app_service/massdriver-application-azure-app-service/_variables.tf:46,1-19: attribute "cidr" is required.


Unknown Icon in Notification example has different status icon than other statuses

We are using the status icnos that have the secondary icon inside the outer shape for status of OK, Warning, and Critical. But then Unknown we change to only the outer shape?
Screenshot below also shows the sticker sheet examples.
Notification OK: https://grommet.github.io/hpe/docs/notification/examples#3
Notification Unknown: https://grommet.github.io/hpe/docs/notification/examples#4
Your Environment

Browser Name and version: Firefox 48.0 and Chrome 53.0.2785.116

Sticker Sheet:

Fixed in grommet commit cda156e81ebfea60630f46e1c3bfb3a394a58825.


PSVITA Will not connect to PC/QCMA

Hello,I have tried connecting the PSVITA to the PC through the USB and WIFI but I keep getting errors I am running 3.67

Put the vita on plane mode, i lost almost 2 hours getting the update system error while trying to connect to pc but the problem can be solved with plane mode, by the way i´m at 3.65

Tried it but still doesn't work :(

If your PC isn't detecting your Vita, try reinstalling QCMA and choose a different USB driver during the installation.

im also having issues with this tried a few different drivers but still no luck

not h-encore issue?


Use ninja for all grpc_csharp_ext builds on windows

Followup for https://github.com/grpc/grpc/pull/28833
C# artifact build already uses ninja, this switches to C# basictest on windows to ninja build as well (with the hope of getting a boost in compilation speed).

Speedup:
windows/grpc_basictests_csharp BEFORE ~30min AFTER ~23min


MVN_OPT to last, as it is empty in most cases [databricks]

MVN_OPT to last, as it is empty in most cases
Signed-off-by: Tim Liu<EMAIL_ADDRESS>

build

build

Passed build stages. Going to force merge this one to unblock CIs.
@NvTimLiu Please help create a follow up PR to refactor param to support mvn_opt in databricks env, thanks!

Related issue: https://github.com/NVIDIA/spark-rapids/issues/5535


The version 0.11 is not recognized with SPM.

The version string of patch seems to be required in the current implementation of SPM. I executed swift package update with this manifest file and got the output as follow:
Cloning https://github.com/Carthage/Commandant.git
error: The dependency graph could not be satisfied. The package (https://github.com/Carthage/Commandant.git) with version tag in range (0.11.0..<0.11.9223372036854775807) is not found. Found tags ([0.1.1, 0.6.1, 0.7.0-beta.1, 0.7.0, 0.8.1, 0.8.2, 0.8.3, 0.9.0, 0.10.0, 0.10.1])

They are related source codes to this issue:

https://github.com/apple/swift-package-manager/blob/swift-3.0-RELEASE/Sources/PackageDescription/Version+StringLiteralConvertible.swift#L40-L46
https://github.com/apple/swift-package-manager/blob/swift-3.0-RELEASE/Sources/Utility/Git.swift#L78-L83

Looks like 0.11 is not listed in the found tags messeage:

Found tags ([0.1.1, 0.6.1, 0.7.0-beta.1, 0.7.0, 0.8.1, 0.8.2, 0.8.3, 0.9.0, 0.10.0, 0.10.1])

You might have to run swift package fetch or swift package update.

Thanks for a quick reply. I tried also swift package fetch but got a same message as before.

That's really annoying...... 😫

Okay, we should consistently use x.y.z style tag to meet Semantic Versioning spec: http://semver.org/#spec-item-2

A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0.

@mdiep I'm going to cut 0.11.1 release to just fix the versioning issue.

Thanks!

@mitsuse Thank you! This should be fixed with 0.11.1.

Thanks @ikesyo!


feat: allow formatter to format stdin

Feature Request
Describe the Feature Request
Currently the formatter only takes file paths as input. Would be nice if it can take stdin as input when the argument is -. This is useful in editors, which usually interface with formatters via stdin/stdout.
Describe Preferred Solution
Read from stdin when the supplied argument is -.
Describe Alternatives
N/A
Related Code
N/A
Additional Context
N/A
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[x] Yes
[ ] No

I have a branch that works quite well. It's interfacing with Helix perfectly (and REALLY fast compared to the old cairo-format from cairo-lang).
It needs some cleanup but I can polish it up and submit the PR once this issue is approved.

Sure will submit the PR soon. For Helix integration, I simply added this to my languages.toml (located at ~/.config/helix/languages.toml):
[[language]]
name = "cairo"
formatter = { command = "formatter_cli" , args = ["-"] }

It really is :zap: blazing :zap: fast :zap: lol.
This works because Helix simply sends the entire buffer to the formatter command via stdin.

Can it integrate with langserver?

Oh Helix has native support for LSP and it supports formatting through the LSP as long as the server supports it.
Though somehow I haven't successfully used the Cairo LSP for really anything at all, but I'll investigate on that front a bit and submit a separate issue.

I have a branch ready now, but I'm wondering how we should deal with the formatter CI issue. Should I just add an .cairofmtignore to crates/parser/test_data/cairo_files/ to just exclude everything there?

Btw the formatter code was pretty tightly coupled with the file system, so I had to do some refactoring here and there or else I would have a lot of code duplications. I ended up almost rewriting the whole cli.rs file... I hope you don't mind.

Update on the LSP issue: I'm trying the language server again with the current main head and it seems to work for me this time. Hover and going to definition work just fine. Not sure what I got wrong last time so I guess we're good.
However, formatting through the LSP doesn't seem to work. From Helix logs I can clearly see the response for the textDocument/formatting request, but the editor doesn't seem to do anything about it. Helix works fine with formatting through LSP for other languages like rust-analyzer, so I doubt there's something wrong with the Cairo LSP implementation. Will dig deeper and submit the issue.
Note that making formatting work through LSP doesn't supersede this issue.

Do you get semantic higlighting?

@spapinistarkware Helix seems to rely solely on treesitter for syntax highlighting so I can't tell. I haven't tried using the Cairo LSP with neovim tho.


Disappears from touchbar when changing user profiles

Describe the bug
The touchbar reverts to standard functionality when changing between user profiles, even when Pock is installed in both profiles. The Pock menubar icon remains. I have two users on my machine for home / work and it means that it disappears every day as I switch between them.
How to reproduce
Steps to reproduce the behavior:

Have multiple user accounts on your Mac
Install Pock on both
Switch between users

Expected behavior
Pock should continue to run in the touchbar.
Versions:

macOS version: 10.14
Pock version:  0.6

Also affects me on Catalina 10.15.1


Move itemLIDs array to stackalloc

The array the holds the itemLIDs is used only within a narrow context and is a prime candidate for stackalloc to remove an allocation + garbage.

The stackalloc can blow the stack size because it's bounded by the # of items the caller has decided to submit at one time.  Too bad.


Bot-detection plugin causes 500 error

Summary
Bot-detection plugin causes 500 error
Steps To Reproduce

Install kong 0.11.0
add and api
activate bot detection plugin as global one

Additional Details & Logs

Kong version ($ kong version): 0.11.0
Kong debug-level startup logs ($ kong start --vv) : docker logs output

prefix directory /usr/local/kong not found, trying to create it
2017/09/22 11:03:02 [notice] 1#0: using the "epoll" event method
2017/09/22 11:03:02 [notice] 1#0: openresty/<IP_ADDRESS>
2017/09/22 11:03:02 [notice] 1#0: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)
2017/09/22 11:03:02 [notice] 1#0: OS: Linux 3.10.0-693.2.2.el7.x86_64
2017/09/22 11:03:02 [notice] 1#0: getrlimit(RLIMIT_NOFILE): 65536:65536
2017/09/22 11:03:02 [notice] 1#0: start worker processes
2017/09/22 11:03:02 [notice] 1#0: start worker process 47
2017/09/22 11:03:02 [notice] 1#0: start worker process 48

Kong error logs (<KONG_PREFIX>/logs/error.log)

2017/09/22 11:47:17 [error] 47#0: *2349 lua entry thread aborted: runtime error: ...cal/share/lua/5.1/kong/plugins/bot-detection/handler.lua:122: attempt to index a nil value
stack traceback:
coroutine 0:
        ...cal/share/lua/5.1/kong/plugins/bot-detection/handler.lua: in function 'access'
        /usr/local/share/lua/5.1/kong.lua:350: in function 'access'
        access_by_lua(nginx-kong.conf:88):2: in function <access_by_lua(nginx-kong.conf:88):1>, client: <IP_ADDRESS>, server: kong, request: "GET /d/faq HTTP/1.1", host: "dckongxxxxs1:8000"

Config

curl localhost:8001/plugins/324a3f9e-0759-4a9e-a721-cf6f555ec752
{"created_at":1506078246000,"config":{},"id":"324a3f9e-0759-4a9e-a721-cf6f555ec752","enabled":true,"name":"bot-detection"}

Operating System: Docker

that's a bug, thanks for the report. The caching mechanism works on api.id which is not set when the plugin is configured globally.
as a workaround you can configure it on a per api basis, that should still work.

This was closed due to me merging @Tieske's PR. We'll include it in our next patch release. Thanks for the report!

When will this patch release be available ?

@prateek2408 We are targeting sometime next week or the following one.


Update Uzbekistan list.

I'm waiting for the update for a week xD

Duplicate of #170, see this comment for details :man_shrugging:


How to use relative paths for filename

Hi, I have a rst file:
.. argparse::
   :filename: ../config/system/run_utils/parse_args.py
   :func: parser
   :prog: run

which works properly on my Windows computer, but breaks on read the docs:
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/ascent-docs/envs/latest/lib/python3.7/site-packages/sphinxarg/ext.py", line 469, in run
    f = open(self.options['filename'])
FileNotFoundError: [Errno 2] No such file or directory: '../config/system/run_utils/parse_args.py'

How can I add a relative path outside of the docs directory?
Thanks!

This repo is abandoned, but there is an actively mantained fork you should use: https://github.com/ashb/sphinx-argparse
@ashb Your fork does not have issuesgithubfeature enabled.You might wanna consider that. It's a default on forks I think.

@JOJ0 oh thanks! Issues turned on there now

I put it on that repo, thanks!


⚠ Bofrost.be has degraded performance

In 45c25a5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2315 ms

Resolved: Bofrost.be performance has improved in c63391d.


privacy policy and terms of use should be visible even if user is not signed in

Fix pending in PR #54


Update copy, Register project -> Submit project

I'd be tempted to make that parameterized on the event.requireApproval cc @conoramurphy @DanielBrierton

It'd be nicer sure, but not really a big deal to me.

Well, if we introduce a boolean to differenciate between requiring approval, better use it, elsewhat the "customSentence" is the solution to go, which is absolutely not functional.
This is going to master, not usa.

Agreed. I'm up for having this switch depending on that boolean for sure.

Updated!


[Feature]: IMDb keywords and Parental guide

Is your feature request related to a problem? Please elaborate.
I found this feature suggestion over at the Plex forums which talks about the ability to restrict certain tags via labels and I think you'd be able to accomplish that in PMM. You can already filter by IMDb keywords (which will tag your media) but I don't think you're able to do that the other way around yet.
But maybe that's not necessary, as you could just compile a list of common keywords and tag your media like that. It's not elegant but it works.
Describe the solution you'd like
Allow the user to tag media based on IMDb keywords and also convert the Parental Guide into keywords like violence-none, violence-severe, etc.
Additional Information
No response

when you say tag what do you mean? add a sharing label or add the keyword/parental guide as a genre or some other meta tag?

Adding the keywords as labels. That way you could restrict certain topics (keywords) or certain categories (nudity, violence, profanity, drugs, intensity). When you filter by IMDb keywords, the media already gets tagged/labeled with that keyword (which allows you to create a Smart Collection based on that tag). I want it the other way though: Instead of applying a specific tag to all relevant media, I want my media to be tagged with all available keywords.

You can add labels to all items found by the builders by using item_label and you can use build_collection: false to not actually create the collection. That's one way you could managed to get the tags right now. I know not what you're asking for but it's a stop gap until the feature is complete.

You can add labels to all items found by the builders by using item_label and you can use build_collection: false to not actually create the collection.

I mentioned that earlier but thanks for confirming. Yeah, it's not ideal but it works.
I would actually really like to see IMDb keywords being supported natively by Plex but sadly they don't care about these kind of features (a similar suggestion was made in 2017 but has since been ignored). I looked at a few movies and the keywords are very extensive. Not only admins would benefit from them but also managed users and friends (e.g. the current "Related movies" selection is garbage and would benefit immensely from keywords).
Anyway, back on topic: Hopefully you find the time to implement this someday. I think this would also speed up the creation of new collections because the tags would already be there. I've been using PMM for a few months now but haven't really dove deep. Can you create a trigger to potentially apply all tags after new media has been added or does PMM only support intervals?

so theres too many keywords to realistically add to your plex items (The Batman has 745) i could create a function where you can specify certain keywords and then if a movie has that keyword a label will get added to the movie.

so theres too many keywords to realistically add to your plex items (The Batman has 745) i could create a function where you can specify certain keywords and then if a movie has that keyword a label will get added to the movie.

Just to counter this slightly, you could only include key words where more than 1 person found it relevant:

For The Batman this would reduce the list to 20

Just to counter this slightly, you could only include key words where more than 1 person found it relevant

I thought about that as well but that's too unreliable. Same with excluding "0 of X found this relevant" keywords. It'd say we just trust the data, refresh periodically and hope that the truly irrelevant keywords get removed over time. That's the main approach to user contributed data anyway - "hope" that everything is correct(ed) in the end.

i could create a function where you can specify certain keywords and then if a movie has that keyword a label will get added to the movie.

This sounds reasonable. The original idea was not to create collections based on some obscure topics but to limit certain keywords (e.g. rape, incest, drugs, etc.) so this approach works. I might look into creating such a list of "controversial" keywords but it would be helpful if you coud collect some data beforehand (maybe go through a bunch of movies and sort keywords by appearance).
Also don't forget about the Parental guide. That's useful, too.

Also don't forget about the Parental guide. That's useful, too.

Oh i didnt i just didnt have any questions about it lol. The mass_imdb_parental_labels library operation has already been added to nightly

it has mass_imdb_parental_labels is a library operation

Is it possible to add this information also into library items "summary"  section? With this way data will be visible to users while browsing movies from apps. Would be very useful to select movie to watch with the kids.
I manually edit one of my movies to demonstrate my request. (I don't know why Plex UI adds blank lines between PG categories)

By the way first line is MPAA detailed description and with quick google search looks like it can be parsed by imdbpy

movie = ia.get_movie("1640718", info='parents_guide')
print(movie['mpaa'])

well #1 i dont use imdbpy but yea i could easily pull that info this needs to be added as its own feature request at features.metamanager.wiki

well #1 i dont use imdbpy but yea i could easily pull that info this needs to be added as its own feature request at features.metamanager.wiki

Wow that was fast. I going to visit features.metamanager.wiki right away, thanks!


pipeline-service update (manual)

this pulls in the updates from https://github.com/redhat-appstudio/infra-deployments/pull/3213
And then pull the 2 updates since then:
https://github.com/openshift-pipelines/pipeline-service/pull/916
https://github.com/openshift-pipelines/pipeline-service/pull/931
Something has happened to our update infra deployments PAC job.  We have some clues, but want to get this bump going first.
@enarha @Roming22 FYI
rh-pre-commit.version: 2.1.0
rh-pre-commit.check-secrets: ENABLED

@gabemontero Shouldn't you also run the kustomize build ? :-)

@gabemontero Shouldn't you also run the kustomize build ? :-)

https://github.com/redhat-appstudio/infra-deployments/pull/3213 did not @enarha so I'm assuming there is infra in place to deal with it for staging

@gabemontero Shouldn't you also run the kustomize build ? :-)

#3213 did not @enarha so I'm assuming there is infra in place to deal with it for staging

as discussed in slack, prior PRs like https://github.com/redhat-appstudio/infra-deployments/pull/3163 did have the kustomize build output ..... I've just pushed the change

/lgtm


add command return to go back to the last room

Only if there is a listed or visible exit. If you want to disable it you can always use a custom verb with the same command.

From a UX point of view, this is a really good idea, would make exploration much faster.


How to get format working?

For some reason I can't get the format to work for my .svelte files.
I checked and format seems to be enabled in settings...

I had the same problem, make sure you have format on save enabled globally within LSP Settings.
Here's my config:
LSP Settings
// Settings in here override those in "LSP/LSP.sublime-settings"
{
    "show_code_actions": "bulb",
    "show_diagnostics_severity_level": 1,
    "diagnostics_delay_ms": 10000,
    "lsp_format_on_save": true,
    "lsp_code_actions_on_save":
    {
        "source.fixAll": true,
        "source.organizeImports": true,
        "lsp_format_on_save": true,
    },

    "show_references_in_quick_panel": true,
    "diagnostics_panel_include_severity_level": 0,
    "show_diagnostics_panel_on_save": false,
    "log_debug": true,
    "clients":
    {
	"LSP-vue":
	{
		"enabled": false,
	},
        "LSP-typescript":
        {
			"enabled": false,
	},
        "LSP-eslint":
        {
		"enabled": false,
	},
        "LSP-lua":
        {
		"enabled": false
	},
    },
}

Then you can keep the defaults for LSP-Svelte Settings.

Sorry for the late response. I just checked the latest version and the formatting functionality works. Can you provide more details about your configuration/settings?
P.S. Note, svelte-lsp requires a project folder to be opened.

no problems :) things are fine


update console screenshots in user guides

overview
when i did https://github.com/pulumi/pulumi-hugo/issues/347 i forgot that we also had console-related pages in the user guides section. we should update the screenshots there as well.
pages to update screenshots on

[ ] https://www.pulumi.com/docs/guides/saml/aad/
[ ] https://www.pulumi.com/docs/guides/saml/gsuite/
[ ] https://www.pulumi.com/docs/guides/saml/okta/
[ ] https://www.pulumi.com/docs/guides/saml/onelogin/
[ ] also review other pages, this is an incomplete list

@interurban James .. as part of our push to improve a few SSO things, can we get these updated this milestone?  Thanks.


Pollitzd huntsville

This is a bullet.  CRAZY.

This is a numbered list. EVEN CRAZIER.

[ ] This is a task list.  THE CRAZIEST OF ALL.

this has no unit tests


pass param for notitication drop down

Can pass the param to apis so that it only returns the relevant types, and actually return data. Right now we limit notifications to 50 so you won't get back any data if it's not in the last 50, but will increase back to 200 once I can finish some testing with larger resolves or we don't have to resolve channels/claims in notifications.
https://github.com/lbryio/internal-apis/commit/237c01715a2f01d30fdb70bec3690701358f45ea
We should group the daily watch ones under "Other". The filter value is "default"
the others are followers, comments, comment_replies and new_content respectively.

I attempted this last week and found some complications, both in behavior and code maintenance.  Sean agreed that it's not worth handling these cases, and expanding back to the larger limit later should be a sufficient fix.
For now, I'll try to group up the daily watch items -- agreed that it's a bit messy being split.

We still won't increase the limit past 200 due to other bugs we encountered. Still think this is worth doing, whatever the right way is.


Allow arn to be defined in environment

This allows the ARN to be pulled from the specified ENV variable on execution.
Although ENV variables can be interpolated in pipeline definition file, they are evaluated when the file is uploaded. This prevents variables set during the build from being read. (e.g. block step meta-data)

Rather than add configuration/conditional complexity, what if we make this plugin always check for $AWS_ASSUME_ROLE_ARN. I think that would make this a one-line patch?
local role="${AWS_ASSUME_ROLE_ARN:-${BUILDKITE_PLUGIN_AWS_ASSUME_ROLE_ROLE:-}}"

Yep. Sounds good 👍 . I'll make the changes and update the docs.

Thanks @chronotc


Filter by page content

It would be interesting to be able to specify with a url parameter what sort of pages you want to find or don't want to find in the river, like a filter.
Maybe only pages that have had a certain pattern of actions happen on them, or that have a certain item type on them... or maybe filter out pages that just have a title and are otherwise empty.

I'm open to adding something like this, but I'd need specific use cases to decide how to implement things. Are you thinking of a keyword search? I've already been thinking of implementing something that doesn't show a page just forked, especially near the origin or another fork.


Project abandoned? Lots of error when perform meteor update.

Is this project abandoned?
After clone the project files, then run meteor update, lots of error.
Any advice?

Hi, we don't invest much time into this project right now. But we are using it on daily basis. So it should work just fine.
don't run meteor update only clone and run

Ok thanks for the info.
On 4 Jan 2017 3:13 pm, "David Ďurika"<EMAIL_ADDRESS>wrote:

Hi, we don't invest much time into this project right now. But we are
using it on daily basis. So it should work just fine.
don't run meteor update only clone and run
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DrMongo/DrMongo/issues/167#issuecomment-270308083,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD3DCLsmdUUtsFkX43WS28Q3o87_MhMaks5rO0augaJpZM4LZ0Tk
.

let me know if you have any other issues

Dr. Mongo is deprecated. Please visit our new desktop app Dr. Mingo.


Implement chatroom log search plugin

This allows staff to search a room's roomlogs for specific text.

This should be implemented into the log viewer itself.

The open source code for the log viewer is highly unmaintained.  It's hard to submit changes to something that you can't really test - that's why I did it this way on the server.

I could also make this link to the actual roomlog, that might make this slightly more useful (still under the assumption that this is being considered for the server until told otherwise for certain)

I mean, this is in a private chat plugin right now because roomlogs aren't really open-source these days... I guess I could open-source it but open-sourcing PHP seems to lead to bad things; I definitely underestimated how hard PHP is to secure...

I could learn PHP and get acquainted with how to write it securely to help out. There are already changes I want to be able to make to the parts that are public anyways

So, should I close this then @Zarel ?

Security by obscurity is a bad idea; I might just publish it anyway. Will work on that.


Unix dlopen probing support

Reported on Gitter by @jmacato.

it's failing to find libcdllimport, here's the relevant function as declared in Avalonia's Gtk

        [DllImport("libc")]
        static extern int uname(IntPtr buf);

i have made a console app with that exact import and it is not finding it too
it worked when i used libc.so.6

We probably need to emulate whatever probing CoreCLR does for this. A quick search in dllimport.cpp in CoreCLR didn't yield anything useful.
The place to update on our side would be around
https://github.com/dotnet/corert/blob/b0699ed719f80cee352459c9ca87e2e14a06f320/src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/InteropHelpers.cs#L225-L254

It is done here: https://github.com/dotnet/coreclr/blob/e5a17bac5f0fd0b0137be7c8cf23391adc59958f/src/pal/src/loader/module.cpp#L1652

Thanks!
In that case, we should probably just copy-paste that logic into here to avoid adding extra infrastructure to expose the macro to managed code:
https://github.com/dotnet/corert/blob/b0699ed719f80cee352459c9ca87e2e14a06f320/src/Native/System.Private.CoreLib.Native/pal_dynamicload.cpp#L7-L10

@A-And, could you please port the change from CoreCLR to fix this issue?


perf(api, dispatch-service): switch storage backend to Google Cloud storage bucket

Not throwing an error is fine. Previously i believe the size was set to zero if it couldn't be obtained. Better would be undefined. The UI is already set up to display undefined as N/A.

@jonrkarr still needs to add/update tests and do a final end to end check, but everything should be good for review

:tada: This PR is included in version 9.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix invalid HTML comments in skeleton

This skeleton contains some HTML comments inside the conditional comment which I believe is illegal in HTML. This was added in 7fdd028d0e8b03e0bd73fddeec67d53f799be6fe but the additional comments seem to be an accidental change.

actually it seems somewhat intentional after reading https://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment  - still looks weird triggers the Python-based HTML parsers I'm using.

It was intentional because of a post in email on acid I think @kmcb777 did some test with more "standard" MSO comment and it worked fine. Might close #1581 too


Methods could be composable from parts

For example when making the CLOPS submission my intuition would be that this would be the schema:
Task: "Measure CLOPS"
Method: "qiskit 0.12.1", "qiskit-runtime", "ibmq-bogota"
Result: 953
The idea is to capture the sentence, when "Measuring CLOPS" using {qiskit 0.12.1 and qiskit-runtime and ibmq-bogota} I obtain the result 953.
An interface would be to allow methods to be added like tags are added. The result is then associated to a combination of these.

In this case, I think "CLOPS" would be the "metric." The "task" is somewhat arbitrary or ambiguous, and it might be "Measure CLOPS" anyway, if "CLOPS" as a metric doesn't represent performance on a specific useful task besides a defined benchmark for CLOPS itself. Otherwise, "CLOPS" as a metric has to represent performance on a real task. I'm not saying it doesn't, but it's the application to meaningful workload that's the "task." If a benchmark suite is run for its performance results in itself, then maybe it is or isn't directly representative of a true "task," so the "task" field sounding arbitrary ends up reflecting that.

This makes sense to me, Dan. Having examples in the app of this will help
guide folks.
On Tue, Jan 4, 2022, 9:40 PM Daniel Strano @.***> wrote:

In this case, I think "CLOPS" would be the "metric." The "task" is
somewhat arbitrary or ambiguous, and it might be "Measure CLOPS" anyway, if
"CLOPS" as a metric doesn't represent performance on a specific useful task
besides a defined benchmark for CLOPS itself. Otherwise, "CLOPS" as a
metric has to represent performance on a real task. I'm not saying it
doesn't, but it's the application to meaningful workload that's the "task."
If a benchmark suite is run for its performance results in itself, then
maybe it is or isn't directly representative of a true "task," so the
"task" field sounding arbitrary ends up reflecting that.
—
Reply to this email directly, view it on GitHub
https://github.com/unitaryfund/metriq-app/issues/276#issuecomment-1005154288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHZDAQIH6LDUPZRDYQCSFLUUNLKJANCNFSM5HOPXQ4A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

That makes sense to me, too, Will. Also, allowing the ability to compose methods from parts, in itself, might be a good human organization tool, even if it doesn't really matter to the presentation of state-of-the-art, like it does for tasks.

Methods are now composable by parts, so I think we can close this.


[pub] Dependabot docker image doesn't update Dart 2.17 projects

Hello!
I've been trying to get Dependabot to work with my projects and I've been scratching my head because it keeps gives me a Requirements to unlock: update_not_possible message. It gives me this message even though the repo has a pubspec.yaml and a pubspec.lock with outdated dependencies (as  determined by dart pub outdated).
At first I thought there was an issue with my setup (I am running dependabot on Azure Devops, not Github). However, after more testing, I think the issue is with the setup of this package.
Simply put, using the Dependabot docker image on a Flutter project that was built using Dart version 2.17 results in no updates.
For your testing / reference, I have setup a repo here consisting of a mostly empty Dart project. It has two branches: one where the project was built with Dart 2.16, and one with Dart 2.17.

Both branches have one additional dependency in the pubspec.yaml (path: ^1.8.0).
The pubspec.lock has been edited to use an outdated version of path (version 1.8.1 instead of the latest 1.8.2).

Using the Visual Studio Code with Docker dev environment setup in this project, I get the following results after a dry run:
On branch dart-v2.16:
[dependabot-core-dev] ~/dependabot-core $ ruby bin/dry-run.rb pub ko16a46/dependency_services_bug --branch dart-v2.16
ruby: warning: shebang line ending with \r may cause problems
warning: parser/current is loading parser/ruby27, which recognizes2.7.6-compliant syntax, but you are running 2.7.5.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
=> cloning into /home/dependabot/dependabot-core/tmp/ko16a46/dependency_services_bug
=> parsing dependency files
=> updating 2 dependencies: lints, path

=== lints (1.0.1)
 => checking for updates 1/2
 => latest available version is 2.0.0
 => latest allowed version is 1.0.1
 => requirements to unlock: update_not_possible
 => requirements update strategy:
    (no update possible 🙅♀)

=== path (1.8.1)
 => checking for updates 2/2
 => latest available version is 1.8.2
 => latest allowed version is 1.8.2
 => requirements to unlock: own
 => requirements update strategy:
 => updating path from 1.8.1 to 1.8.2
    no change to pubspec.yaml

    ± pubspec.lock
    ~~~
    17c17
    <     version: "1.8.1"
    ---
    >     version: "1.8.2"
    ~~~
🌍 Total requests made: '0'

On a project using Dart 2.17:
[dependabot-core-dev] ~/dependabot-core $ ruby bin/dry-run.rb pub ko16a46/dependency_services_bug --branch dart-v2.17
ruby: warning: shebang line ending with \r may cause problems
warning: parser/current is loading parser/ruby27, which recognizes2.7.6-compliant syntax, but you are running 2.7.5.
Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
=> cloning into /home/dependabot/dependabot-core/tmp/ko16a46/dependency_services_bug
=> parsing dependency files
=> updating 3 dependencies: lints, path, test

=== lints (2.0.0)
 => checking for updates 1/3
 => latest available version is 2.0.0
 => latest allowed version is 2.0.0
    (no update needed as it's already up-to-date)

=== path (1.8.1)
 => checking for updates 2/3
 => latest available version is 1.8.2
 => latest allowed version is 1.8.1
 => requirements to unlock: update_not_possible
 => requirements update strategy:
    (no update possible 🙅♀)

=== test (1.21.1)
 => checking for updates 3/3
 => latest available version is 1.21.1
 => latest allowed version is 1.21.1
    (no update needed as it's already up-to-date)
🌍 Total requests made: '0'

Note that unlike the older project, the dry run on dart-v2.17 says that the path package has no update possible.

Ultimately, I think the issue from Dependabot's side seems to stem from the older version of Dart being used in the Dockerfile. It doesn't seem to play well with the pub:dependency_services report command and the newer Dart project.
Running dart --no-analytics pub global run pub:dependency_services report on the v2.17 test repo branch, I get the following:
[dependabot-core-dev] ~/dependabot-core/tmp/git/dependency_services_bug $ git checkout dart-v2.17
Branch 'dart-v2.17' set up to track remote branch 'dart-v2.17' from 'origin'.
Switched to a new branch 'dart-v2.17'
[dependabot-core-dev] ~/dependabot-core/tmp/git/dependency_services_bug $ dart pub --no-analytics global run pub:dependency_services report
Building package executable...
Built pub:dependency_services.
{
  "dependencies": [
    ...
    {
      "name": "path",
      "version": "1.8.1",
      "kind": "direct",
      "source": {
        "type": "hosted",
        "description": {
          "name": "path",
          "url": "https://pub.dartlang.org"
        }
      },
      "latest": "1.8.2",
      "constraint": "^1.8.0",
      "compatible": [],
      "singleBreaking": [],
      "multiBreaking": []
    },
    ...
  ]
}

Notice that compatible, singleBreaking, and multiBreaking are empty. These values are used inside the UpdateChecker of dependabot, so this seems to be why dependabot thinks there's nothing to update. In contrast, the report from the Dart 2.16 project has the correct info:
[dependabot-core-dev] ~/dependabot-core/tmp/git/dependency_services_bug $ git checkout dart-v2.16
Already on 'dart-v2.16'
Your branch is up to date with 'origin/dart-v2.16'.
[dependabot-core-dev] ~/dependabot-core/tmp/git/dependency_services_bug $ dart pub --no-analytics global run pub:dependency_services report
Building package executable...
Built pub:dependency_services.
{
  "dependencies": [
    ...
    {
      "name": "path",
      "version": "1.8.1",
      "kind": "direct",
      "source": {
        "type": "hosted",
        "description": {
          "name": "path",
          "url": "https://pub.dartlang.org"
        }
      },
      "latest": "1.8.2",
      "constraint": "^1.8.0",
      "compatible": [
        {
          "name": "path",
          "version": "1.8.2",
          "kind": "direct",
          "source": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          },
          "constraintBumped": "^1.8.0",
          "constraintWidened": "^1.8.0",
          "constraintBumpedIfNeeded": "^1.8.0",
          "previousVersion": "1.8.1",
          "previousConstraint": "^1.8.0",
          "previousSource": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          }
        }
      ],
      "singleBreaking": [
        {
          "name": "path",
          "version": "1.8.2",
          "kind": "direct",
          "source": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          },
          "constraintBumped": "^1.8.2",
          "constraintWidened": "^1.8.0",
          "constraintBumpedIfNeeded": "^1.8.0",
          "previousVersion": "1.8.1",
          "previousConstraint": "^1.8.0",
          "previousSource": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          }
        }
      ],
      "multiBreaking": [
        {
          "name": "path",
          "version": "1.8.2",
          "kind": "direct",
          "source": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          },
          "constraintBumped": "^1.8.2",
          "constraintWidened": "^1.8.0",
          "constraintBumpedIfNeeded": "^1.8.0",
          "previousVersion": "1.8.1",
          "previousConstraint": "^1.8.0",
          "previousSource": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          }
        }
      ]
    }
  ]
}

Suggested fix
Updating the Dart version in the Dockerfile might be enough, but I haven't tested this directly yet.
However, testing the dependency_services command outside the Docker container with an updated version of Dart does show the compatible, singleBreaking, and multiBreaking info that Dependabot uses:
ko16a46@L6G8V2M3 MINGW64 ~/Projects/Flutter/dependency_services_bug (dart-v2.17)
$ git checkout dart-v2.17
Already on 'dart-v2.17'
Your branch is up to date with 'origin/dart-v2.17'.

ko16a46@L6G8V2M3 MINGW64 ~/Projects/Flutter/dependency_services_bug (dart-v2.17)
$ dart --version
Dart SDK version: 2.17.0 (stable) (Mon May 9 10:36:47 2022 +0200) on "windows_x64"

ko16a46@L6G8V2M3 MINGW64 ~/Projects/Flutter/dependency_services_bug (dart-v2.17)
$ dart --no-analytics pub global run pub:dependency_services report
{
  "dependencies": [
    ...
    {
      "name": "path",
      "version": "1.8.1",
      "kind": "direct",
      "source": {
        "type": "hosted",
        "description": {
          "name": "path",
          "url": "https://pub.dartlang.org"
        }
      },
      "latest": "1.8.2",
      "constraint": "^1.8.0",
      "compatible": [
        {
          "name": "path",
          "version": "1.8.2",
          "kind": "direct",
          "source": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          },
          "constraintBumped": "^1.8.0",
          "constraintWidened": "^1.8.0",
          "constraintBumpedIfNeeded": "^1.8.0",
          "previousVersion": "1.8.1",
          "previousConstraint": "^1.8.0",
          "previousSource": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          }
        }
      ],
      "singleBreaking": [
        {
          "name": "path",
          "version": "1.8.2",
          "kind": "direct",
          "source": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          },
          "constraintBumped": "^1.8.2",
          "constraintWidened": "^1.8.0",
          "constraintBumpedIfNeeded": "^1.8.0",
          "previousVersion": "1.8.1",
          "previousConstraint": "^1.8.0",
          "previousSource": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          }
        }
      ],
      "multiBreaking": [
        {
          "name": "path",
          "version": "1.8.2",
          "kind": "direct",
          "source": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          },
          "constraintBumped": "^1.8.2",
          "constraintWidened": "^1.8.0",
          "constraintBumpedIfNeeded": "^1.8.0",
          "previousVersion": "1.8.1",
          "previousConstraint": "^1.8.0",
          "previousSource": {
            "type": "hosted",
            "description": {
              "name": "path",
              "url": "https://pub.dartlang.org"
            }
          }
        }
      ]
    },
    ...
  ]
}

Note that I used the pub checkout commit specified in the Dockerfile for the pub:dependency_services command.
Also I'm not sure if there's a deeper / root issue that needs to be fixed inside the Dart or pub projects themselves. But hopefully an update to the Dart version (and perhaps Flutter version?) in the Dockerfile could at least fix the issue in the short term.
What do you guys think? Thanks in advance for your consideration!

Other info:
Package ecosystem
pub
Language version
Local projects are built with the following Dart and Flutter versions:
$ dart --version
Dart SDK version: 2.17.0 (stable) (Mon May 9 10:36:47 2022 +0200) on "windows_x64"

$ flutter --version
Flutter 3.0.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ee4e09cce0 (4 weeks ago) • 2022-05-09 16:45:18 -0700
Engine • revision d1b9a6938a
Tools • Dart 2.17.0 • DevTools 2.12.2

Manifest location and content before the Dependabot update
See test repo at ko16a46/dependency_services_bug

@ko16a46: Thanks for this report! We've shipped an update to Dart 2.17 in the Dockerfile. Has that resolved your issue?
@sigurdm @jonasfj: Besides keeping the Dart version up to date in the Dockerfile is there anything else we'd need to do?

After https://github.com/dependabot/dependabot-core/pull/5207 there should hopefully be nothing more to do. The pub integration will infer the "right" version of flutter to use, fetch that version and also use the accompanying dart sdk version for resolution - this should be independent of the dart version in the Dockerfile - that is now only used to run the helper scripts.

Hello,
After some testing, I can confirm that the issue in dependabot-core is fixed! Dependabot's pub package manager now updates my Flutter projects that are targeting Dart 2.17.
There are still some issues with the unofficial Azure Devops extension specifically (which I have filed separately here / with PR fix here). But the core problem in this project is fixed, so this issue can be closed.
Thank you!

Thanks for circling back @ko16a46, appreciated.


Feature request: the ability to revoke your own PR

Is your feature request related to a problem? Please describe.
Not really, as you can request for a blacklister to reject your PR, but it would make the blacklister's life easier if someone could do it themselves.
Describe the solution you'd like
Either a !!/revoke command, or the ability to !!/reject yourself
Describe alternatives you've considered
As mentioned above, you can request for a blacklister to do it, but many people would prefer having this possible
Additional context
None.

FYI: this was already requested as #1639 and declined.

@fastnlight0 D'oh, got it confused. Stoopwafel-ified.


feature request: add quick actions in the plugin panel

also if the plugin panel is open and the plugin list is updated, the current plugin item should be refocused.


csv2tsv output buffer size tuning

This PR changes the BufferedOutputRange buffer and flush sizes used by csv2tsv. The result is to flush data to standard output a bit quicker (smaller block writes) when csv2tsv is processing CSV files containing limited amounts of CSV escape syntax. This makes better use of memory and is slightly faster. Main benefit occurs in Unix pipelines. The next process in the pipeline receives data in smaller chunks increasing parallelism between pipeline stages.

Codecov Report

Merging #305 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #305   +/-   ##
=======================================
  Coverage   99.36%   99.36%
=======================================
  Files          18       18
  Lines        6943     6943
=======================================
  Hits         6899     6899
  Misses         44       44

Impacted Files
Coverage Δ

csv2tsv/src/tsv_utils/csv2tsv.d
100.00% <100.00%> (ø)


Fixed the count condition

Make it same as explanation, i.e at least 50 elements and 0.25 percent.

Thanks!


Embedded subwindows (single window mode) dialogs draw in the incorrect position

Godot version: 47cf9985ebf2799d9718fa1a2ca96f2f70c6d212

OS/device including version:Linux

Issue description:

When in single window mode, floating windows (popup, floating docks, etc.) get re-positioned to the last moved window.
Steps to reproduce:

Enable single window mode
Make two docks floating (scene tree, inspector, filesystem, etc.)
Move one dock
Move another dock

https://user-images.githubusercontent.com/6378569/111925817-8efad580-8a67-11eb-9d3e-ba13fcbb0c75.mp4
Minimal reproduction project: N/A

Should we even allow detaching docks while in single-window mode in the first place? I can't see much use cases for them if you can't move them outside the editor window.

Disabling floating docks might be a good idea, but we shouldn't disable that feature in single window mode just to fix this bug. There are other ways to replicate this bug, for example, viewing the generated shader code in the visual shader editor suffers from the same issue.
https://user-images.githubusercontent.com/6378569/111932437-a7282000-8a7a-11eb-9bb9-d78b5660cfd4.mp4

I think this is the same as #50949 and #51445, both of which were fixed by #53419. Are you still having this issue on the current master @pcvonz?

Assuming fixed, please comment if you can still reproduce it in 4.0 alpha 1.


X_FRAME_OPTIONS not working with Organizr

Hi,
I'm running NPM as a docker in portainer on a RPi4 and I'm trying to get Organizr to load tabs (iframes) with NPM by using the "X_FRAME_OPTIONS" environment option. I did some searching and found that it was implemented a while back (https://github.com/jc21/nginx-proxy-manager/commit/6f1d38a0e2c27cbb117782503abea133e20be806) but it doesn't wanna play ball with me.
This is what I've entered into the ENV section of the docker composer:
environment:
  # Uncomment this if IPv6 is not enabled on your host
  # DISABLE_IPV6: 'true'
  - X_FRAME_OPTIONS=sameorigin

Everything else is working just fine with NPM. I'm using Chrome as browser. Any ideas?

The X_FRAME_OPTIONS variable is for the web interface of NginxProxyManager itself... You could try to add the following line under the Advanced tab of your proxy host:
add_header X-Frame-Options "SAMEORIGIN";

i add thus lines on the Advanced tab and makes no difference on securityheaders scan, what can i add to get a green scan, thanks

These headers are normally added by Nginx via the add_header directive.  However, the inheritance of this directive (https://www.nginx.com/blog/http-strict-transport-security-hsts-and-nginx/) doesn't fit with the way nginx config is generated: the add_header directives in the Advanced tab got ignored for proxy hosts...
One "hacky" way to do it is to create a custom location for "/" and re-do the config of your proxy host.  Adding the add_header directive in the advanced section of the custom location should do the trick.
The add_header directive is followed by the name of the header, then its value.  For example:
add_header X-Content-Type-Options nosniff;

I'm not sure what are the values to use for each header.  You should search on google for the proper value to use, since they may differ for your applications and/or you needs.

thank you i will give it a try, thanks a lot


Create STGeomFromText

add function MySql STGeomFromText

Coverage decreased (-40.3%) to 57.722% when pulling 24a5eee1cded3e9066e71371569838d10e31aa2c on Charles-Emmanuel-DEZANDEE:patch-1 into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

Coverage decreased (-40.3%) to 57.722% when pulling 24a5eee1cded3e9066e71371569838d10e31aa2c on Charles-Emmanuel-DEZANDEE:patch-1 into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

Thanks @Charles-Emmanuel-DEZANDEE


Remove deprecated apis

Codecov Report

Merging #384 into master will decrease coverage by 3.67%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #384      +/-   ##
=========================================
- Coverage   86.37%   82.7%   -3.68%
=========================================
  Files          38      36       -2
  Lines        6378    5821     -557
=========================================
- Hits         5509    4814     -695
- Misses        869    1007     +138


Consider adding option to bypass key format (when enabled).

Something like attribute :foo, key_format: false.

Is this possible?


delete DistOptHook

#786
Not tested code.
Does the current CI can cover?
@mzr1996
Thanks for review.

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

By the way, it seems that https://github.com/open-mmlab/mmclassification/blob/6beac5060f0c1d57141642dba77c19c9ed6b3873/mmcls/core/utils/dist_utils.py#L62 is also duplicated with the mmdetection version of seed broadcasting.

Seems that needs to delete DistOptHook, do I need to do so?

@mzr1996 Thanks for the review. Is there something else that needs to be done?


lint only typescript files

fixes #9

Thanks for this @Newbie012 ! 🙌 nice quality of life improvement!


build-osuosl-aix71-ppc64-1 low on disk space

Build failure: https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk/job/jdk-aix-ppc64-hotspot/lastBuild/consoleFull
Only has 2.7Gb free

Was caused by the ramdisk not having been mounted. Fixed


Proposed work-around for timing issue in t/90_csv.t

In this proposed work-around, the code times how long a loop which does simple math takes to complete; then uses said completion time as the value to sleep for before emitting from the Supply.
This should scale the time-to-sleep with the capabilities and current load of the machine on which the tests run.
As for where the actual bug is, my guess is somewhere inside the guts of Supply.

This has been resolved. A bit different, but thanks anyway


Hotfix/refactor remote piper

What
Bring the current piper changes from external repo into develop
Why
Adds multi-PLC functionality to piper

Should we work on getting this merged into main? @Joshpolansky I am not sure who else should be involved in that decision. This has been used for a while and I think we found all the bugs.

Should we work on getting this merged into main? @Joshpolansky I am not sure who else should be involved in that decision. This has been used for a while and I think we found all the bugs.

We should get this merged into main.
I see two things I don't particularly like:

The copyrights are a bit out of date😆
I don't like that the main API changed. If we kept the current function and added a new one with the "isRemote" parameter than applications could update without any code changes. Now, it is a VERY small code change, so maybe it's not worth wrapping, but it would keep the old API the same.

Thanks Josh!

You have a good point I think we can update this so that its backwards compatible


Crop Not Working

I can't move the crop marks to crop the image in the image uploader.
According to the documentation, There is nothing I need to do to set this up, it should work correctly.
I'm using the latest version of Chrome.
See the image for reference: https://www.pastefile.com/6YSem1 - The blue dots don't allow me to drag them whatsoever.
Any help would be appreciated.

Hi @chud37,
Thanks for the report.

Can you send me any error information within the console that  is being reported.
Can you send me the response you're sending back when an image is uploaded to the image upload handler.
Can you test the demo page on the website and see if you get the same issue.

I'm using the latest version of chrome and the demo page is working for me - most likely this a problem in the size value you are returning from the server but no guarantees so let me know how you get on with that above and we'll go from there.

Hello Anthony,
I'm so sorry - I missed the box that described the size array and I was simply passing filesize.
Thank you so much for your quick response and help.  I'd also like to say thank you for ContentTools, I've tried a multitude of WYSIWYG Editors and ContentTools has come out on top - Being open source and usability its just great.
(I did find the tutorials a bit confusing to work through though)
I've also modified it slightly so that the toolbar and the edit buttons are static in the page, and not draggable, it would have been nice if that was included as an option (i may have missed it, judging by my history with the size array!)
Anyway thanks once again, this can be closed.

@chud37 no problem at all - glad I could help.
There isn't an option for the side bar to be made static but I agree that would be a nice option in a future release, and it something a number of people have (like you), implemented themselves. I think the option to drag the toolbox to the edge and have it attach statically would be really nice.
Sorry you found the tutorials confusing, image uploads in particular I find difficult to explain, if you have suggestions for sections you found less helpful I'd be grateful for the feedback so I can improve them moving forward.


refactor edk to make it more universal

fixes issue #92

Initially I though that this approach would be impossible, but as it turns out it is.
In the example there is source ./edksetup.sh; build ....
However in some cases it might be necessary to do additional things like export in the middle:
source ./edksetup.sh; export SOMETHING='SOMETHING_ELSE'; build ...
Initially I though this would not work, but turns out I was wrong.


Added GraphQLOperation annotation support.

References #16

set maven default build source/target to 1.7. (should be set to min compile level at least, 1.7 felt safe)
add annotation, tweaked argument annotation to add variable reference
refactor requestentity wrapping top level property w/ operation
added test scenario for working with operations.
todo - more tests to exercise each operation parameter

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

Btw, do you have recommendation on how to run style linting locally so I don't have to push & wait for travis ci to check fixes?

Hey @jeremygiberson, thanks for opening the PR! I really like the idea of adding the operation, this makes it a lot clearer on what the root node of the property tree we are building is instead of checking for null fields. To run the tests with checkstyle + coverage checks I recommend mvn clean verify


IDEA: External processor for TABLES plugin

Hi @lelegard ,
In order to be able to perform some tasks (such as those described in #355 and #323) I suggest this improvement in the tables plugin:

Add a new parameter to call an external tool (a script, a binary program or an XSLT parser) that will process the output XML file.

This call can be blocking (preferable) or non-blocking (if the user request it). The idea is to use it in this way: after a new table arrives, then it is written and the transform tool is called. After that, one inject plugin can replace it in the stream when the file is written.
What you think?
Regards.

Hi @lelegard ,
As a simplification, the idea can be reformulated as: "A method to filter a table using the SED command over the XML representation".
I hope you can see the utility.
Regards.

Hi @lelegard ,
This idea has sense (use the SED command to change the XML representation of the table on-the-fly), or not?
Regards.

SED is probably not a good option for XML because this is a line-oriented editor. Calling a general command is probably better without adding any complexity and allow the usage of an XSLT processor.
Making it asynchronous is a bit more complicated, but just a matter of development time.


Update sensitivity-labels-versions.md

Updated to show that the flight is now 100% in CC preview.

@cabailey : FYI updating the minimum version related to DKE.

Removing rolling out, Looks good, merging


AIX ppc64 JRE hotspot

Hi,
i'm searching for the newest JRE version for AIX ppc64 hotspot
JDK is 11.0.13+8
JRE is 11.0.12+7
Will be there a newer JRE version soon?
Best regards!

They're still being worked, hopefully this week!

That would be great. Many thanks for your work!


Add generic network L2 flags

Add support for different L2 bearers to inform caller what kind of features they support. See also #5846 for some discussion about this case. First patch adds L2 flags and adds multicast support flag. I also added promiscuous mode support flag in 3rd patch as that is quite useful information and was discussed separately when promisc mode was implemented.

Codecov Report

Merging #9312 into master will increase coverage by 0.03%.
The diff coverage is 82.14%.

@@            Coverage Diff            @@
##           master   #9312      +/-   ##
=========================================
+ Coverage   52.47%   52.5%   +0.03%
=========================================
  Files         201     201
  Lines       25317   25334      +17
  Branches     5287    5293       +6
=========================================
+ Hits        13284   13301      +17
+ Misses       9948    9943       -5
- Partials     2085    2090       +5

Impacted Files
Coverage Δ

include/net/ethernet.h
46.15% <ø> (ø)
:arrow_up:

subsys/net/l2/ethernet/ethernet.c
55% <100%> (+0.8%)
:arrow_up:

subsys/net/l2/dummy/dummy.c
100% <100%> (ø)
:arrow_up:

subsys/net/ip/net_if.c
63.13% <75%> (+0.13%)
:arrow_up:

drivers/ethernet/eth_native_posix.c
20.17% <0%> (+1.75%)
:arrow_up:

Continue to review full report at Codecov.

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

recheck

fixing merge conflict


Missing service for IAuthorizationPolicyProvider when using AddMvcCore().AddRazorPages()

I'm trying to make a minimal razor pages app, but it seems just using ServiceCollection.AddMvcCore().AddRazorPages() does not add all needed services. Should this work or is there some other call I'm expected to add?
Error:
Application startup exception: System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider' while attempting to activate 'Microsoft.AspNetCore.Mvc.RazorPages.Internal.AuthorizationPageApplicationModelProvider'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)

Repro
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;

namespace Test1
{
    public class Program
    {
        public static void Main(string[] args)
        {
            CreateWebHostBuilder(args).Build().Run();
        }

        public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
                .UseStartup<Program>();

        public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvcCore().AddRazorPages();
        }

        public void Configure(IApplicationBuilder app)
        {
            app.UseMvcWithDefaultRoute();
        }
    }
}

<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0-preview1-final" />
  </ItemGroup>

</Project>

@pranavkm, can you please look into this? Thanks!

Thanks @pranavkm


Re-enable SD tunings without matmuls.

It seems there is some lowering pass pipeline change for the matmul dispatches. Since the tunings for matmuls in SD is less performance-impactful than other ops, re-enable tunings for ops other than matmuls.
This bumps inference speed on my 7900xtx back up to ~22it/s

This is working for me at about 1-1.5 it/s slower than when the last time tuning was working, and 1.5-2.0 it/s faster than untuned.
Tested on, 2.1base, Cyberrealistic 3.1 (1.5 based) @ max_length=64, and Cyberrealistic 3.1 with a LoRA at max_length=77, all at 512x512, 7900 XTX.

It seems there is some lowering pass pipeline change for the matmul dispatches. Since the tunings for matmuls in SD is less performance-impactful than other ops, re-enable tunings for ops other than matmuls.
This bumps inference speed on my 7900xtx back up to ~22it/s

Do you know exactly what has changed? Is it the format of lowering config? I don't remember if we've made changes following this PR https://github.com/openxla/iree/pull/15032. Even though it doesn't change the performance much we shouldn't disable the matmul tunings.

It seems there is some lowering pass pipeline change for the matmul dispatches. Since the tunings for matmuls in SD is less performance-impactful than other ops, re-enable tunings for ops other than matmuls.
This bumps inference speed on my 7900xtx back up to ~22it/s

Do you know exactly what has changed? Is it the format of lowering config? I don't remember if we've made changes following this PR openxla/iree#15032. Even though it doesn't change the performance much we shouldn't disable the matmul tunings.

I don't know yet, it seems like the model annotator is having trouble with matmul_transpose_b dispatches -- it annotates them successfully but iree-compile fails to get a lowering config from the linalg.matmul...
I tried adding some support for linalg.matmul_transpose_b but when the model annotator reads it they are still linalg.matmuls -- does this point to maybe RaiseSpecialOps not preserving the lowering config?
I need to look at the IR more closely and get a minimal reproducer. It's a few cycles I may find time for in the next few days but this is incremental towards re-enabling tunings in general so I hope we can tally matmuls back on in a follow-up patch


Pin again for 12.6.0 release

Doing the SHA SHA SHA..
@btm @chef/omnibus-maintainers

keep on trucking :+1:


Crash caused by server issues

The URL used to locate the json template should be changed so it won't have to retrieve the JSON schema from the VU server anymore.
The template should be relocated to github.

JSON template has been moved, but this issue will be kept open until the new url has been shortened using PURL.

Would the json files that still have the old template location in them (e.g. https://github.com/CLARIAH/wp4-cow-conversions/blob/master/catasto/emigra.csv-metadata.json#L64) still break? That is, do we need to update those?

@rijpma Yes, we should update them. I can do that quickly in one pass once we have one final stable URL


Card set import fails when duplicate text exists

The DB's schema has a uniqueness constraint on the text field of both white and black cards.  If we were to backup a set like, say, Admin's Choice and then try to restore it, it would fail miserably.
Steps to solve:
Change SQL to check for existing check
If not, insert
If yes, find existing card and simply link with card_set_COLOR_card record.
I am debating writing a custom SQL script to accomplish this rather than doing iteration in the Python.  I doubt we'll need the speed gains of doing this, but if you're gonna do something do it right.
We may potentially wish to alert users when this occurs, which would steer us back towards the Python solution.

Some investigation:
Psycopg2 throws an IntegrityError when this occurs.  We can observe the pgcode field on the exception to see what error code from PostgreSQL this is (listing of error codes here).
If we try and catch this that's great we can get confirmation from the user.  HOWEVER:
chalcedon@MINTMACHINE-MK2 ~/Projects/pyxtools $ ./pyxtools import -f backup.json -s 100999
b'SELECT * FROM card_set WHERE id = 100999'
b"INSERT INTO card_set (id, active, name, base_deck, description, weight) VALUES (100999, true, '[C] Antisocial Injustice', false, '', 521) RETURNING id;"
b"INSERT INTO black_cards (text, pick, draw, watermark) VALUES ('The reason I go to church is to learn about ____.', 1, 0, 'AI') RETURNING id;"
Card with text already exists: The reason I go to church is to learn about ____.
Link existing? No will skip adding card to set but not fail operation. (Y/N):N
Not linking card...
b"INSERT INTO black_cards (text, pick, draw, watermark) VALUES ('Show me on ____, where he ____.', 2, 0, 'AI') RETURNING id;"
Error inserting card set.  Rolling everything back...
Traceback (most recent call last):
  File "/home/chalcedon/Projects/pyxtools/lib/db.py", line 126, in restoreCardSet
    insertBlackCards(card_set['black_cards'], inserted_set_id, conn)
  File "/home/chalcedon/Projects/pyxtools/lib/db.py", line 177, in insertBlackCards
    insertBlackCard(card, card_set_id, conn)
  File "/home/chalcedon/Projects/pyxtools/lib/db.py", line 235, in insertBlackCard
    cur.execute(insert_bc_query)
  File "/usr/local/lib/python3.4/dist-packages/psycopg2/extras.py", line 120, in execute
    return super(DictCursor, self).execute(query, vars)
psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block

Import failed!

It looks like if any error is thrown in the transaction psycopg2 (or maybe postgres underneath) actually ignores all other commands from the driver inside of the same transaction.
This behavior is fine for when we're attempting to insert single cards via the command line, but I'm not wiling to give up transactional behavior for imports to achieve the goal of allowing a user to, one-by-one, confirm or deny linking a particular duplicate card.

Basically I think we're left with the following plan:

Take all cards and try and see if they have duplicates before insert (Maybe some temp table magic and a LEFT JOIN?  I'm unsure of psycopg2's scripting capabilities and I'd prefer to avoid anything that requires adding a stored proc or function to the database for ease of use in the event other folks decide to start using this code.).
Create an --askOnDuplicate flag which will cause the program to ask users what to do with the duplicates.  Without this flag fail the operation with a helpful error message listing duplicates and their watermarks.
If --askOnDuplicate flag provided, iterate through duplicates and ask on each.  Might be worthwhile to add another --askOnDuplicateNoAsk flag but that's a hell of a mouthful.  Reconsider naming for this flag (either way, do not make either a short, single-dash flag).

Resolved via the last two commits -- more complex query created to support checking for duplicates, and support for various behaviors on import added.  INSERT should now also handle duplicates.


deno init

https://docs.deno.com/runtime/manual/tools/init/
needs updated info about --lib

https://github.com/denoland/docs/pull/695

Done


Is this project dead?

Hopefully not! I want to get the 1.0.0 version out and help extending it. But if no one cares here maybe I have to think about doing it all myself.
If I have to do it myself maybe I will do a complete rewrite of everything, getting it in my own world of thinking. Features I would go on for are:

more HTML features
more layout control
mermaid / plantuml integration
and lots more

Let me know if the work here goes on.

Yup, I've been absolutely terrible and let this slide. I was hoping to round off #86 (the long-standing 1.0.0 PR) finished and off alpha a few days ago but I got quite ill and didn't manage to get onto it. I'll be rounding that off this weekend hopefully.
That said, I'm more than happy to let someone take the reins for keeping this maintained going forward. I sadly have very little time for side-projects like this these days so if someone can do a better job of it than me then I'm up for that.

Ok, I don't know if I am the correct one to takeover because I mostly do my things in coffeescript. But at first I will have a deeper look and will contribute to it.

After further looks and thinking about my documentation i came to slightly other main features like docker.
Also i wanted to try to make a documentation solution my way i started a quick and successfull test package. This has become one of my github packages and works fine so far. Not really finished i will use this in future. But my own solution is in some way opinionated and at least for now specialized for me so for the grest majority yours is the better tool and because i used docker more than a year now i will try to make it a brother project and bring new things from my own also to you.
If you need more information look at the first document results under http://alinex.github.io/node-codedoc which will improve over the next days further. The main changes are:

doc only from block comments
comments and code displayed below each other
natural ordered file tree
markdown-it extended for graphical display like UML diagrams
responsiv design with templates

More to come every day, please have a look and give me your opinion.


Unable to download with a subcribed account

when i try to download some videos from a subbed account, twitch leecher says me "this video is sub-only!Please authorize your twitch account by clicking the twitch button in the menu". dont know if its a twitch leecher missing feature or if i have to check something. and I'm a subscriber of that channel of course
thank you

Yea, and did you do what TL said you should? 😄
Please authorize your twitch account by clicking the twitch button in the menu
Have you authorized your Twitch account? Or in other words clicked the button and logged in to your account? If you are not logged in TL cannot check if you are subscribed to the channel or not, that is obvious.
Hint: If you are logged in, the Twitch button turns into a check mark and becomes green.

yes of course man im logged in haha... i found another way to download it but its a bit more tricky

Then attach the download log please.

i've made it with another software, m3u8x. with twitch leecher i can download from free acount but not from subscribed account or at least i cant with the one i'm subscribed.

If you give me the download log I can look into it. Without it, I cannot help you. Maybe other users have the same issue so I recommend posting the log so I can see what's going wrong. It does not help Twitch Leecher if you use another software.

oh ok sorry but how do i send you the download long..what is this. thanks for you helping me btw

i will send you an email with a screen

I think you don't understand correctly. You are NOT logged in in Twitch Leecher. You have to click the Twitch button in the menu bar and sign in to your account WITHIN Twitch Leecher, not the browser. If you do that the Twitch button will turn green and change to a check mark as I stated before. Your button is yellow with the Twitch icon... this way it obviously doesn't work.

ahhhh noway so sorry man...now i understand. thanks a lot


Why move everything to Kits?

Seems a bit premature to do this given that it's an experimental feature:
⚠ [WARNING] Phlex::Kit is experimental and may be removed from future versions of Phlex.

Also, there's no documentation on the site Phlex site iteself about Kits.

Much cleaner syntax and it's not experimental anymore 😃
https://github.com/phlex-ruby/phlex/releases/tag/1.11.0


[spi_host, spec] Support independent configuration per CS line

According to the specification, spi_host is able to support programming independent configuration for CS by using multireg with MaxCS parameter for CONFIGOPTS and COMMAND registers. Although the value of MaxCS is currently set to 1 in RTL meaning one configuration is supported, it still requires efforts to developing a parameterize spi_agent for general cases.
@tjaychen @msfschaffner Do we really need supporting independent configuration per CS line (keep MaxCS only for the number of CS lines)?

if it's make it easier, we don't need to keep this parameterizeable and can hard-code it.
I can't imagine we would need more than 4 in the long term.


Import of Typescript interface is not recognised correctly

Opening per @ljharb. A similar issue was reported in https://github.com/benmosher/eslint-plugin-import/issues/726, but this is for Typescript interface imports.
Defined in react-select:
export interface Option<TValue = OptionValues> { // ... }

Imported:
import Select, { Option } from 'react-select'

Error:
[eslint] Option not found in 'react-select' (import/named)

Relevant packages:
    "eslint": "4.19.1",
    "eslint-plugin-import": "2.12.0",
    "typescript": "2.9.1",
    "typescript-eslint-parser": "16.0.0"

Historically eslint (and thus, eslint plugins) have only supported Flow, not TypeScript.
I think adding typescript support is a pretty massive effort, but if it can be done easily, that sounds fine.

Just ran into this, too:
import moment, {Moment} from 'moment';

error:
1:17  error  Moment not found in 'moment'             import/named

In that case, moment is CJS, so it only has a default export.

TypeScript also pulls in the type information from it's .d.ts file:

https://github.com/benmosher/eslint-plugin-import/issues/1282 is nearly a duplicate of this, but this issue also includes types provides through external .d.ts files.
I'm not sure if it is possible to deal with this 100% correctly without a full type checker pass; a possible workaround is to check if there is a .d.ts available for parsing its imports instead before checking other extensions, but that won't work with declare module-style declarations (which can declare any module name they want if they're in ambient context).
@typescript-eslint/eslint-plugin will either need its own rule for this, or eslint-plugin-import should be taught to make use of the type services from @typescript-eslint/parser when they are available.

After upgrading to 2.17.1 this is fixed for me 🎉

Awesome, closing (happy to reopen if people are still experiencing it)

Unfortunately, this issue still exists in 2.17.2 (using @typescript-eslint/parser as recommended in the Typescript section of eslint-plugin-import Readme [not the now deprecated typescript-eslint-parser mentioned in the configuration above])

@alesn would you mind opening a new issue and shading a minimal reproduction?

Has this issue been resolved for anyone who uses @typescript-eslint/parser, which should now be used?

I will double check that and let you know

@alesn Sorry I forgot to answer you earlier.
Yes I am running "@typescript-eslint/parser": "^1.6.0" and "eslint-plugin-import": "^2.17.1".
There is also 2.17.2 out in the meantime.
In .eslintrc.js I have
parser: '@typescript-eslint/parser',
overrides: {
  files: ['**/*.ts', '**/*.tsx'],
  parser: '@typescript-eslint/parser',
  rules: {
    'import/namespace': 'off',
    'import/no-duplicates': 'off',
    'import/no-unresolved': 'off',
    'no-restricted-globals': 'off',
    'no-undef': 'off'
  }
},

Hope that helps.

For anyone arriving from Google - you can work around this with a tip from #1699

Although now that import type exists, I'd suggest using that.

import type { unitOfTime } from 'moment';


Change to session bus for miner

Why

Remove the need for custom device types to enable miner to listen on com.helium.Miner over dbus
How

Change to session bus for miner
References

https://github.com/NebraLtd/hm-config/pull/98
https://forums.balena.io/t/dbus-balena-block-configuration/348962/9

@shawaj Can you merge in master?

Also, i take it this is contingent on docker-compose.yml changes in helium-miner-changes?

@vpetersson yes exactly re docker-compose.yml
however, I have just been testing and we need to put in a wait_for_dbus() call like:
#!/bin/bash

function wait_for_dbus() {
	while true; do
		dbus-send --system \
			  --print-reply \
			  --dest=org.freedesktop.DBus \
			  /org/freedesktop/DBus \
			  org.freedesktop.DBus.ListNames

		if [ $? ]; then
			break;
		else
			sleep 0.1
		fi
	done

	echo "DBus is now accepting connections"
}

ok added in the necessary wait scripts now @vpetersson so ready to go whenever


Rule Condition’s param not support HTTP Request Type Set!

Feature Request
When setting the rule conditions, we will find that the uri will have the same request, but the request method is different. such as

get one order info uri：/api/order/:id,requestType：GET
delete one order uri：/api/order/:id，requestType：DELETE

But the current does not support setting the conditions of the request method:

Describe the solution you'd like

Add requestType to param_tyep in the condition selection box, param_value is the request method, supporting GET, POST, PUT, DELETE, PATCH, etc.

Then the logic of request mode judgmentin in the AbstractMatchStrategyAdd class，The request method can be obtained at exchange.getRequest().getMethodValue()

please in english，
first， config one rule It is enough.

please in english，
first， config one rule It is enough.

Normally yes, but the same url will appear, but the request method is different；Like the example I said above, my current project has such a situation

the same API ，have other HTTP method get or post？  if not use api gateway，you service how to support?

the same API ，have other HTTP method get or post？  if not use api gateway，you service how to support?

the same API ，have other HTTP method get or post？ if not use api gateway，you service how to support?
Yes, this situation is not common. It can generally be avoided by setting different urls. Let me give you an example in the soul-admin project, such as the queryRules method (if the parameters in the method are removed) and the createRule method in the RuleController class. They are the same URL, but the RequestMethod is different.

the same API ，have other HTTP method get or post？ if not use api gateway，you service how to support?
Yes, this situation is not common. It can generally be avoided by setting different urls. Let me give you an example in the soul-admin project, such as the queryRules method (if the parameters in the method are removed) and the createRule method in the RuleController class. They are the same URL, but the RequestMethod is different.

the same API ，have other HTTP method get or post？ if not use api gateway，you service how to support?

Yes, this situation is not common. It can generally be avoided by setting different urls. Let me give you an example in the soul-admin project, such as the queryRules method (if the parameters in the method are removed) and the createRule method in the RuleController class. They are the same URL, but the RequestMethod is different.

the same API ，have other HTTP method get or post？ if not use api gateway，you service how to support?

Yes, this situation is not common. It can generally be avoided by setting different urls. Let me give you an example in the soul-admin project, such as the queryRules method (if the parameters in the method are removed) and the createRule method in the RuleController class. They are the same URL, but the RequestMethod is different.

@yangzhiw  we not provider this special fetrue

@yangzhiw  we not provider this special fetrue

Okay, let me write a Pull Request first。

Okay, let me write a Pull Request first。


Access to the server console

Is it possible to start the server from a screen so the server console could be accessed?
Something like:
screen -dmS minecraft java -Xms512M -Xmx950M -jar spigot-1.15.2.jar
Thanks @FelixKlauke for your great dockering work!
We are using it at: https://github.com/juntosdesdecasa/minecraft/tree/develop/server

Hey,
I'm happy to see my work can help you. You can access the console by attaching to the docker container, e.g.:
docker attach minecraft
If that isn't suitable for you you can consider using RCON.


Typo: "dont" instead of "don't"

See https://github.com/hisea/devise-bootstrap-views/blob/master/locales/en.yml#L59. I can create a PR if wanted. Thanks for the gem!

Please create a PR. Thanks


Travel - itinerary update event payload sample

Travel - itinerary payload sample is updated to show event payload for different event types.

@jonikamelcher - can you please review?

Hi @mantralavinay we can't merge this until you sign the CLA. Once that's done we'll merge this for you.


cmd/vet: inconsistent import

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version devel +d4ed8da Wed May 18 08:19:51 2016 +0000 linux/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/marko/goprojects"
GORACE=""
GOROOT="/home/marko/go"
GOTOOLDIR="/home/marko/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build502106107=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

I did go vet ./... to check my program.

What did you expect to see?

Error or lack of error, but not panic.

What did you see instead?

$ go vet ./...
panic: inconsistent import:
    var time.UTC *time.Location
previously imported as:
    var UTC *time.Location
 [recovered]
    panic: inconsistent import:
    var time.UTC *time.Location
previously imported as:
    var UTC *time.Location

goroutine 1 [running]:
panic(0x6428e0, 0xc4202d0d10)
    /home/marko/go/src/runtime/panic.go:500 +0x18c
go/types.(*Checker).handleBailout(0xc4200ba1c0, 0xc4200cb918)
    /home/marko/go/src/go/types/check.go:213 +0x95
panic(0x6428e0, 0xc4202d0d10)
    /home/marko/go/src/runtime/panic.go:458 +0x226
go/internal/gcimporter.(*importer).declare(0xc420096480, 0x7b71a0, 0xc4202e1c20)
    /home/marko/go/src/go/internal/gcimporter/bimport.go:173 +0x164
go/internal/gcimporter.(*importer).obj(0xc420096480, 0xfffffffffffffffc)
    /home/marko/go/src/go/internal/gcimporter/bimport.go:193 +0x191
go/internal/gcimporter.BImportData(0xc42000f080, 0xc420290000, 0x38ea0, 0x3fe00, 0xc42001395b, 0x4, 0x0, 0x4, 0x6bd3ac, 0xc41fff05ab)
    /home/marko/go/src/go/internal/gcimporter/bimport.go:86 +0x31e
go/internal/gcimporter.Import(0xc42000f080, 0xc42001395b, 0x4, 0x7ffd7a154e66, 0x14, 0xc42016d680, 0x0, 0x0)
    /home/marko/go/src/go/internal/gcimporter/gcimporter.go:166 +0x521
go/importer.gcimports.ImportFrom(0xc42000f080, 0xc42001395b, 0x4, 0x7ffd7a154e66, 0x14, 0x0, 0x4, 0x8, 0x0)
    /home/marko/go/src/go/importer/importer.go:70 +0x5a
go/types.(*Checker).collectObjects(0xc4200ba1c0)
    /home/marko/go/src/go/types/resolver.go:191 +0x7c8
go/types.(*Checker).checkFiles(0xc4200ba1c0, 0xc4200382d8, 0x1, 0x1, 0x0, 0x0)
    /home/marko/go/src/go/types/check.go:225 +0xa0
go/types.(*Checker).Files(0xc4200ba1c0, 0xc4200382d8, 0x1, 0x1, 0xc420174de0, 0x18)
    /home/marko/go/src/go/types/check.go:218 +0x3f
go/types.(*Config).Check(0xc420176940, 0xc4200138e8, 0x4, 0xc4200114c0, 0xc4200382d8, 0x1, 0x1, 0xc42016ceb0, 0x18, 0xc420173f80, ...)
    /home/marko/go/src/go/types/api.go:344 +0x184
main.(*Package).check(0xc4200188a0, 0xc4200114c0, 0xc4200382d8, 0x1, 0x1, 0xc4200382e0, 0x0)
    /home/marko/go/src/cmd/vet/types.go:76 +0x330
main.doPackage(0x69a65c, 0x1, 0xc42000a370, 0x1, 0x1, 0x0)
    /home/marko/go/src/cmd/vet/main.go:333 +0x956
main.main()
    /home/marko/go/src/cmd/vet/main.go:241 +0x317
exit status 2

Can you give us instructions for how to reproduce the problem?
CC @griesemer for a go/importer crash.

Unfortunately no. Program that I am go vet-ing is too big and I don't even know where to start reducing it. There are no clues in this backtrace. Any pointers?

Furthermore, I can't reproduce it any more. I have turned off go vet execution to be able to work on a program and now, when I have turned it back on, it does not panic.
Possibly it is somehow connected to update of a go lang.
I had some other go-tip version installed before today. Today i went to ~/go, did
$ git pull
$ cd src/
$ ./all.bash
$ cd ~/goprojects/...
$ make

and saw that go vet crashes. Then I commented go vet execution in Makefile and continued my day.

Anyway, I am saying that possibly after upgrading go lang and without recompiling everything (I didn't delete $GOPATH/pkg, go vet crashes. But after recompiling everything, go vet is fine.

Thanks for the update.  Closing until the problem can be reproduced.

This is probably a duplicate of #15491 which was fixed a while back.

 Please verify that you have compiled everything using the latest 1.7 version (including any libraries under GOPATH). If you still see the problem, please open a new issue with detailed instructions how to reproduce and assign it directly to me (@gri). Thanks.

@griesemer nevermind, after cleaning my GOPATH the issue is gone. Thank you!

I also saw this after an upgrade to Go 1.7. It would be nice if the output mentioned the possibility of incompatible files in $GOPATH/pkg.

@aaronlehmann Did you have libraries installed that you compiled with some non-release version; i.e., a version built off tip, rather than an official release? If so, those libraries may have been compiled with a buggy compiler. We don't really make guarantees for compilers that are not from official releases. If not, I'd love to see a reproducible case. Thanks.

I did have a release candidate of Go 1.6 installed at one point, so it's theoretically possible I had some libraries built with that version. Unfortunately I've since deleted pkg so I won't be able to provide a reproducible case.

I have reproduced this off of a fresh upgrade from 1.6.2 to 1.7. I do not believe that I have ever had an RC installed; go was previously installed with homebrew, and was installed this time with the official installer.
I did mv pkg pkg.bak and then go vet works (with a new pkg generated).
I removed the new pkg and added back the old one, and it fails again.
I'm retaining a copy of the old pkg directory, if you'd like me to try some more probing, but for now the workaround of deleting pkg seems to work.
My error log is this:
🐳 vet
panic: inconsistent import:
        func github.com/docker/swarmkit/vendor/golang.org/x/net/context.WithValue(parent github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context, key interface{}, val interface{}) github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context
previously imported as:
        func github.com/docker/swarmkit/vendor/golang.org/x/net/context.WithValue(parent github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context, key interface{}, val interface{}) github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context
 [recovered]
        panic: inconsistent import:
        func github.com/docker/swarmkit/vendor/golang.org/x/net/context.WithValue(parent github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context, key interface{}, val interface{}) github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context
previously imported as:
        func github.com/docker/swarmkit/vendor/golang.org/x/net/context.WithValue(parent github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context, key interface{}, val interface{}) github.com/docker/swarmkit/vendor/golang.org/x/net/context.Context

goroutine 1 [running]:
panic(0x2734c0, 0xc4205a59d0)
        /usr/local/go/src/runtime/panic.go:500 +0x1a1
go/types.(*Checker).handleBailout(0xc4200ba1c0, 0xc420cfd8d8)
        /usr/local/go/src/go/types/check.go:213 +0xae
panic(0x2734c0, 0xc4205a59d0)
        /usr/local/go/src/runtime/panic.go:458 +0x243
go/internal/gcimporter.(*importer).declare(0xc4201c7110, 0x3f4180, 0xc420c536d0)
        /usr/local/go/src/go/internal/gcimporter/bimport.go:175 +0x17c
go/internal/gcimporter.(*importer).obj(0xc4201c7110, 0xfffffffffffffffb)
        /usr/local/go/src/go/internal/gcimporter/bimport.go:203 +0x4a2
go/internal/gcimporter.BImportData(0xc420014f60, 0xc420512000, 0xf3a7, 0xfe00, 0xc420cdc184, 0x3a, 0x0, 0x3a, 0x0, 0x287c20)
        /usr/local/go/src/go/internal/gcimporter/bimport.go:88 +0x390
go/internal/gcimporter.Import(0xc420014f60, 0xc42015a821, 0x18, 0x7fff5fbff8d0, 0x2, 0xc4204808c0, 0x0, 0x0)
        /usr/local/go/src/go/internal/gcimporter/gcimporter.go:166 +0x551
go/importer.gcimports.ImportFrom(0xc420014f60, 0xc42015a821, 0x18, 0x7fff5fbff8d0, 0x2, 0x0, 0xc420c25810, 0x0, 0x0)
        /usr/local/go/src/go/importer/importer.go:70 +0x67
go/types.(*Checker).collectObjects(0xc4200ba1c0)
        /usr/local/go/src/go/types/resolver.go:191 +0x826
go/types.(*Checker).checkFiles(0xc4200ba1c0, 0xc420208e40, 0x4, 0x4, 0x0, 0x0)
        /usr/local/go/src/go/types/check.go:225 +0xaa
go/types.(*Checker).Files(0xc4200ba1c0, 0xc420208e40, 0x4, 0x4, 0xc4201f3d10, 0xc4200cf960)
        /usr/local/go/src/go/types/check.go:218 +0x49
go/types.(*Config).Check(0xc420216080, 0xc4200118f7, 0x7, 0xc4200138c0, 0xc420208e40, 0x4, 0x4, 0xc4201f5c70, 0x40, 0xc4200001a0, ...)
        /usr/local/go/src/go/types/api.go:344 +0x1a3
main.(*Package).check(0xc420016f00, 0xc4200138c0, 0xc420208e40, 0x4, 0x4, 0x0, 0xc4201c9680)
        /usr/local/go/src/cmd/vet/types.go:76 +0x370
main.doPackage(0x2cd6e4, 0x1, 0xc42000a1a0, 0x4, 0x4, 0x0, 0x1)
        /usr/local/go/src/cmd/vet/main.go:336 +0x999
main.main()
        /usr/local/go/src/cmd/vet/main.go:244 +0x345
exit status 2
make: *** [vet] Error 1

@dperny Thanks for the report. It may be possible to get this error when mixing packages using the old (textual) export format, and the new (binary) export format. The 1.7 compiler tries to be compatible to two export formats, and perhaps that's not a good idea. Maybe it should just flat-out  reject packages using the old format. Then users would simply be prompted to recompile their packages.

I started facing this issue now

@dmportella Your comment on this closed issue is not actionable. If you see a new problem (with one of the 1.8 release candidates), please file a new issue with details so the problem can be reproduced. Thanks.

@griesemer its oke I think after running

$ go install

Everything started working


Should messages carry a Message ID

A unique ID may be necessary for associating a response to a request. For example, when a Server indicates to an Agent that it should retry a request, how does the Agent know which request should be retried? A unique ID would be helpful in resolving ambiguity in such cases.

It was in the early versions of the spec then I removed them because I was unable to come up with an example where having the message id was necessary. It is still in the Open Questions list since I am not sure.

For example, when a Server indicates to an Agent that it should retry a request, how does the Agent know which request should be retried?

We don't have this need in the protocol currently. We have a BAD_REQUEST response, which is about a specific message but Agent doesn't need to know which one specifically because it does not need to retry. We also have UNAVAILABLE response, which is generic, again Agent doesn't need to know which message specifically caused this. Likewise for UNKNOWN error response.
So, while it does seem like this could be useful I was unable to describe exactly how will the agent and server use the message id. The only way I can think of is for logging the message id to make troubleshooting easier. Perhaps this alone is a justification.
However, do note that there are some complications possible. The protocol currently does not require that every Agent request has exactly one Server response. The Agent may send a message to which the Server responds with more than one. Moreover the Server may send messages to the Agent without the Agent asking for anything. In these situations it is not entirely clear what the message ids should be.


Auto approve by score

need to add row for auto-approve threshold to config (below current row 5) and it should work

Implicitly implemented via #26 . Closing