text:
Support for Space Delimited Scopes

Currently the JWT validator is unable to handle spec defined scope claims via the roles and roles-key configuration when they are space delimited.
Example:
{
  "user": "Test User",
  ...
  "scope": "orders refunds",
 ...
}

Hi Peter,
The expected format is a list (scope: ["orders", "refunds"]).
https://www.krakend.io/docs/authorization/jwt-validation/#jwt-validation-settings
Why would you add an alternative format? Could you justify it?
Thanks

We will add this option as per your suggestion, so we can accept both formats.
Thanks for opening the issue

Hi,
I'm looking for a way to generate an ACL based on "scope", and/or "roles". How can I do that?
Thanks

@vetorialnet check the documentation: https://www.krakend.io/docs/authorization/jwt-validation/#validation-process

Can I configure even for scopes?

authors: alombarte kpacha pjcunnin vetorialnet

repo: devopsfaith/krakend-jose


text:
build:Modify GitHub releases URL to aws s3

Signed-off-by: Shuimo03 wu1998102@gmail.com
Pre-Checklist
Note: please complete ALL items in the following checklist.

[x] I have read through the CONTRIBUTING.md documentation.
[x] My code has the necessary comments and documentation (if needed).
[ ] I have added relevant tests

Description

Because the GitHub releases URL was slow to download before, switching to AWS S3 will change the download speed.
before:

now

Related Issues

New Behavior (screenshots if needed)

DevStream community follows the conventional commits specification. Please read our doc and update your commit message.

I noticed that lint commit message CI failed, this article could help you:
DevStream community follows the conventional commits specification. Please read our doc and update your commit message.

After changing your code and updating commit messages, you could use git rebase to make commit history more clear:
https://blog.devstream.io/posts/open-a-pr-in-github/#622-ide-里合并-commits
And, at last, just run git push -f

source: gharchive/pull-request

repo: devstream-io/devstream

license_type: permissive

license_source: github-api


text:
@ajzhao32423423894/app-builder-template

"Link to GitHub repo"
https://github.com/AmyJZhao/app-builder-template
"Name of NPM package"
@ajzhao32423423894/app-builder-template

/check

/approve

/approve

/approve

/approve

source: gharchive/issue

repo: devx-services/aio-template-submission


text:
Cleaner main file

Hi, I feel like these functions should just be checked in the srv.Start() function, it would make the main file look less all over the place. I know I could just add this check into another function but I think it should be in the srv.Start() function by default.

Hi! Thanks for opening an issue!
I'm inclined to agree with this and I do think it's better we move this into server.go. I don't think there's any situation where having this message be harmful.

authors: Restart-Dev Sandertv

repo: df-mc/dragonfly

license: MIT


text:
Add volume mount from / host to /host RA container

Required for recent SubM feature that uses underlying iptables
implementation on host, and therefore needs access to a mount of the
host file system.
Signed-off-by: Daniel Farrell dfarrell@redhat.com

I think this gets us passing against latest master again, but I need to double check again in the morning.

Confirmed, with all my open PRs the Operator now deploys/passes-tests when rebased on latest master.
LGTM please :pray:


text:
No occurrences of 'apply_psu_201904_botany.log' were wrapped.

During test conversion run for issue #51, the following message was found:
No occurrences of 'apply_psu_201904_botany.log' were wrapped.

I used the following commands to find the affected pages:
find docs -name "*.html" -type f -print0 | \
    xargs -0 grep -l apply_psu_201904_botany.log

The result was:
docs/home/12c-ocp-upgrade/section-2-key-dba-skills/core-administration/apply-and-review-patches.html

This issue is reproducible:
coogee% convert_web_page.py -vl /tmp/a.log home/12c-ocp-upgrade/section-2-key-dba-skills/core-administration/apply-and-review-patches.html > /tmp/b.html
No occurrences of 'apply_psu_201904_botany.log' were wrapped.

The verbose log shows:
Download file name: apply-and-review-patches/apply_psu_201904_botany.log?attredirects=0&d=1
Uploaded file tag found:

                    apply_psu_201904_padstow.log

                    (12k)

Uploaded file name: apply_psu_201904_padstow.log
Download file tag:

                    ď

Download file name: apply-and-review-patches/apply_psu_201904_padstow.log?attredirects=0&d=1
Searching for occurrences of 'apply_psu_201904_botany.log':
0 occurrences of 'apply_psu_201904_botany.log' found
No occurrences of 'apply_psu_201904_botany.log' were wrapped.

According How do I list all files of a directory?, I should use code like the following to find files in the directory for the page:
from os import listdir
dir = '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/12c-ocp-upgrade/section-2-key-dba-skills/core-administration/apply-and-review-patches'
for f in listdir(dir):
    print(f)

Sample output is:
apply_psu_201904_botany.log?attredirects=0
apply_psu_201904_botany.log?attredirects=0&d=1
apply_psu_201904_padstow.log?attredirects=0
apply_psu_201904_padstow.log?attredirects=0&d=1

I need to cater for image files as well as those that I want to keep.

Updated conversion script, scripts/convert_web_page.py, to create a file downloads section to replace the Classic Google Sites widget.


text:
feat: Migrate SNS commands

Merges sns-quill with quill. Implements SDK-933. All sns-quill commands can now be found under a quill sns subcommand.
Quill previously only dealt with fixed canisters, but SNSes can be anywhere; to that end, the message JSON format now has a role field, to mark what sort of canister it is supposed to be, so that the program sending the message can render the response without needing the original command. This will get more use with for example future ICRC-1 support. Verified manually that it does not cause any problems with the QR scanner.
sns-quill commands that did not write messages, such as sns-quill qr, were not migrated as the functionality already exists in quill. The test outputs were copied verbatim from the sns-quill repo rather than regenerated.

Several sns-quill PRs by Martin were merged recently. Especially, https://github.com/dfinity/sns-quill/pull/36.
Could you apply those changes here?

authors: adamspofford-dfinity lwshang

repo: dfinity/quill


text:
Error: Error while finding MOPS packages.

Hey @rvanasa, I've been using this vscode extension for a while now and would like to say that it's been very helpful for formatting and highlighting errors and warnings. 🙌
It has been working great for me, however the latest update to the extension throws an error for me on initialization:
Error: Error while finding MOPS packages.
Make sure MOPS is installed locally or globally (https://mops.one/docs/install).
Command failed: npx --no ic-mops sources
npm ERR! canceled

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/dire.sol/.npm/_logs/2023-01-12T03_24_14_372Z-debug.log

I tried running this command locally in my terminal and found out that it asks to install the package before running the command.
npx ic-mops sources
Need to install the following packages:
  ic-mops
Ok to proceed? (y)

When I responded with a yes (y) the command ran successfully and returned the file paths for all my dependencies
npx --yes ic-mops sources

--package base .mops/_github/base@moc-0.7.4/src
--package array .mops/_github/array@v0.2.0/src
--package StableTrieMap .mops/_github/StableTrieMap@main/src
--package StableBuffer .mops/_github/StableBuffer@v0.2.0/src
--package itertools .mops/itertools@0.1.1/src

Thank you for your response, @rvanasa.
I had already installed the mops CLI globally on my system and attempted to reinstall it and restart the language server multiple times before creating the issue. After some time, I reopened the VSCode app and the issue was resolved.
I agree with the decision to change the behaviour due to security concerns, and think that the solution of detecting the mops CLI or adding a prompt to install the latest version of mops is a good approach, as it ensures the CLI version used is the one expected by the user.

repo: dfinity/vscode-motoko


text:
-calcuate producing inconsistent results

When I crack open an excel file, inject some values and save with -calculate, some of the formulas dont calculate properly
Example of working formula
Style                 : OfficeOpenXml.Style.ExcelStyle StyleName             : Normal StyleID               : 31 Value                 : sfo-m01-fd-nsx Text                  : sfo-m01-fd-nsx Formula               : IF(ISBLANK(input_mgmt_sddc_domain),"Value Missing",mgmt_sddc_domain&"-fd-nsx") FormulaR1C1           : IF(ISBLANK(input_mgmt_sddc_domain),"Value Missing",mgmt_sddc_domain&"-fd-nsx") Hyperlink             : Merge                 : False AutoFilter            : False IsRichText            : False IsArrayFormula        : False RichText              : {} Comment               : Worksheet             : Value Reference Tables FullAddress           : 'Value Reference Tables'!P65 FullAddressAbsolute   : 'Value Reference Tables'!$P$65 ConditionalFormatting : OfficeOpenXml.ConditionalFormatting.RangeConditionalFormatting DataValidation        : OfficeOpenXml.DataValidation.RangeDataValidation Current               : Address               : P65 Start                 : OfficeOpenXml.ExcelCellAddress End                   : OfficeOpenXml.ExcelCellAddress Table                 : IsName                : False Rows                  : 1 Columns               : 1
Another cell, leveraging the same source named cell, but appending different text to the end of it results in this
Style                 : OfficeOpenXml.Style.ExcelStyle StyleName             : Normal StyleID               : 31 Value                 : OfficeOpenXml.FormulaParsing.EpplusExcelDataProvider+RangeInfo-fd-edge Text                  : OfficeOpenXml.FormulaParsing.EpplusExcelDataProvider+RangeInfo-fd-edge Formula               : IF(ISBLANK(input_mgmt_sddc_domain),"Value Missing",mgmt_sddc_domain&"-fd-edge") FormulaR1C1           : IF(ISBLANK(input_mgmt_sddc_domain),"Value Missing",mgmt_sddc_domain&"-fd-edge") Hyperlink             : Merge                 : False AutoFilter            : False IsRichText            : False IsArrayFormula        : False RichText              : {} Comment               : Worksheet             : Value Reference Tables FullAddress           : 'Value Reference Tables'!P66 FullAddressAbsolute   : 'Value Reference Tables'!$P$66 ConditionalFormatting : OfficeOpenXml.ConditionalFormatting.RangeConditionalFormatting DataValidation        : OfficeOpenXml.DataValidation.RangeDataValidation Current               : Address               : P66 Start                 : OfficeOpenXml.ExcelCellAddress End                   : OfficeOpenXml.ExcelCellAddress Table                 : IsName                : False Rows                  : 1 Columns               : 1
Note the value/text properties are different for the second instance than for the first, even tho the format of the formula and the named cell it references are the same
Running Build 7.8.5

Some updates from further troubleshooting. It seems to be related to the location of the named cells in question within the file. For instance, in the above case there were three similar cells, one under the other (P64,P65,P66). P64 and P65 were calculating successfully, P66 was not, even with a copy of the formula from P65. Placing the same formula further down the worksheet with a new named cell name also failed to calculate BUT would work fine if you put a simple cell reference in it (rather than the string concatenation formula)
I change the order of P64, P65, and P66 by cutting and pasting P66 in above P64, moving P64 and P65 down one row each. At that point, when I calculate, P64 and P65 still work and P66 still doesn't, even though the content of P66 worked previously when in P65!
Is there some form to maximum number of formula calculations that can be done per worksheet or some other limitation I might be hitting?

Thanks for using ImportExcel.
The -Calculate switch is simply implemented like this. There may be additional params for it. I don't know.
https://github.com/dfinke/ImportExcel/blob/edf25cf94615b0b2795cc084be579b6ac254391b/Public/Close-ExcelPackage.ps1#L19

authors: dfinke feardamhan

repo: dfinke/ImportExcel

license_source: bigquery


text:
Container takes long time to stop

Compose down actually takes 10s when all other containers take at most 1s.
Compose:
 kratos_admin_ui:
    image: ghcr.io/dfoxg/kratos-admin-ui:v2.5.0
    ports:
      - '9095:8080'
    restart: unless-stopped
    environment:
      KRATOS_ADMIN_URL: http://kratos:4434
      KRATOS_PUBLIC_URL: http://kratos:4433

Hi @robertsLando,
thanks for opening that one!
But I cant reproduce this. Since the image is only based on the nginx-base-image, maybe you should create your issue there.

authors: dfoxg robertsLando

repo: dfoxg/kratos-admin-ui


text:
TypeError: __wbindgen_malloc is not a function

Disclaimer: This is the first time ever for me to include WASM into my project, so please forgive me if I am making a beginner's mistake.
I managed to include wasm-brotli into my Webpack project, but get this error during runtime:
wasm_brotli_browser.js?305f:14 Uncaught (in promise) TypeError: _wasm_brotli_browser_bg_wasm__WEBPACK_IMPORTED_MODULE_0__.__wbindgen_malloc is not a function
    at passArray8ToWasm (wasm_brotli_browser.js?305f:14)
    at compress (wasm_brotli_browser.js?305f:37)
    at _callee3$ (Encoder.js?1c5a:61)
    at tryCatch (runtime.js?96cf:63)
    at Generator.invoke [as _invoke] (runtime.js?96cf:293)
    at Generator.eval [as next] (runtime.js?96cf:118)
    at asyncGeneratorStep (asyncToGenerator.js?1da1:3)
    at _next (asyncToGenerator.js?1da1:25)
    at eval (asyncToGenerator.js?1da1:32)
    at new Promise (<anonymous>)
passArray8ToWasm @ wasm_brotli_browser.js?305f:14
compress @ wasm_brotli_browser.js?305f:37

Is this a bug in wasm.brotli or am I doing something wrong?
wasm-brotlis is called with await compress(data), where data is an Uint8Array. The app runs on vanilla Chrome.

This was a Webpack issue. I solved it by installing this package:
https://github.com/zhouzhi3859/wasm-module-webpack-plugin

repo: dfrankland/wasm-brotli


text:
Error propagation should encapsulate with the name of the culprit

See https://github.com/dfuse-io/dfuse-eosio/issues/186.
When search-forkresolver has an error, it propogates the error upstream to abicodec (for example).  abicodec writes out this error message but it is not clear that the error comes from search-forkresolver .... from the logs it looks like the error is from itself.

I just modified the wording, the log should now look as such:
"streamABIChanges interrupted", "error": "received the following error from the search service: rpc error: code = Unknown desc = error running fork resolver: rpc error: code = Unknown desc = opening ramdisk-based scorch index: mkdir {dfuse-data-dir}: permission denied"
I don't see a more generic way of addressing this, I believe all the information was there, only lacked clarification that the error was "received from the search service".
Is that clearer to you ?

Sounds fine.

authors: matthewdarwin sduchesneau

repo: dfuse-io/dfuse-eosio


text:
Load config based on storeConfigInMeta option

I've tried to feature pair storeConfigInMeta option from ember-cli. Ported from ember-cli's implementation.
I am unsure about this.app for nested engines though. Feedback welcome 😄

@trentmwillis and I talked about something like this today for one of our own use cases. There is a weird interplay of issues here between Fastboot, lazy engines, app code, and our current asset manifest insertion strategy (which consistently rewrites the meta tag as time goes on since we never know when we're "done").
This is something that needs further design discussion prior to us deciding if and how to land a feature that does this. Regardless, this is a fantastic straw man.
Would you be willing to rebase onto master and get tests passing?

@nathanhammond Sure. I will give it a go 👍

Rebased moved against master. Travis is green now 😃

Could someone share status on this story. I still have this issue. Is there a known workaround?
Using
Ember-Engines v0.5.0
Ember  v2.12.0
Ember-Cli-Fastboot 1.0.0-beta.15

We don't want to inline the config into the JS.  ember-fastboot needs a way an addon can add to the sandbox so that engines can get the config from there.
Also, it should be ok for an engine not to have any configuration.

@rwjblue I could see that engine-config-from-meta.js is already on the project. I could be wrong as well, it's been quite some time since I worked with ember/ember-cli. I might have lost context.

Does anyone have a workaround for storeConfigInMeta: false?

@rwjblue It looks like this PR is just about at the finish line after the conflicts are resolved. Is there anything else that this PR still needs?

Just wondering what happened to this story. Does anyone have a workaround for storeConfigInMeta: false?

@rwjblue do we still need this? what is the relation of storeConfigInMeta with ember engines and fastboot?

Id love to be able to read the config in without the meta tags

@stefanpenner I think that we need of a enhancement to read the config without meta tag, what about?

Given how old this PR is, and since I cant update this one, i opened #633

authors: ASH-Michael chendraayan joebartels kamalaknn krisselden nathanhammond puopg skaterdav85 villander

repo: dgeb/ember-engines

license: mit


text:
AlwaysOnNodes

Implement AlwaysOnNodes functionality.  After running stopSystem, these Nodes should be relaunched.

Irrelevant, closed.

repo: dgitz/eROS


text:
Propagate additional information to nodes with INode metadata

Adding optional metadata: any prop to INode
Adding optional metadata: any prop to  ITreeNode
Do a shallow copy of meta data when flattening  ITreeNode. Ideally, it would be great if this was a deep copy but I need some help for that
Adding 2 tests to validate that metadata exists after flattening tree and metadata can be accessed in nodeRenderer

Attempting to resolve https://github.com/dgreene1/react-accessible-treeview/issues/86 and the comments brought up in https://github.com/dgreene1/react-accessible-treeview/pull/101

@mellis481 this PR has the fixes i requested. It was very nice of @megbailey to make the changes that the previous submitter was asked to make. Can you and @yhy-1 get this approved and merged?
Sincerely, from the beach,
Dan

@kpustakhod please merge this

Thank you @megbailey for you contributions. Thank you @sandro768 for the push. We love our community. :)

What is the purpose of doing a shallow clone on the metadata object? Presumably, metadata is just used for additional data that can be used to render large trees and will likely only contain static properties. If anything, I would assume (as a user) that any metadata object that is passed to a given node could be mutated as that is how javascript objects typically work. By shallow cloning the metadata object, we are effectively breaking the expected behavior of the data being passed to the tree.
Furthermore, I don't think nodes should only accept a non-nested metadata object purely so that the flattenTree function can do a shallow clone. For cases where the user is manually building the INode array, users shouldn't be limited to a single level of metadata since we aren't doing any additional metadata manipulation for them.
And finally, boolean should be added to the IFlatMetadata type.

authors: Pearce-Ropion dgreene1 megbailey


text:
Idea: Connect with Special-K DCS Serverbot (Light)

Special-Ks DCS Server Bot is the go to solution for most of the multiplayer server hosts to manage their servers.
Especially the discord bot is a very convenient tool to interact with your server and also look at data.
https://github.com/Special-K-s-Flightsim-Bots/DCSServerBot
Todo:

Write plugin/extension for Special-K Discord Server Bot (and Server Bot Light)
Export skyeye functions for the discord bot to use
Statistics/Data -> Performance (e.g. Roundtriptime from command to response)
isAlive()
Send Text Commands via Discord Bot (admin only) and output response as Text, bypassing Whisper/Piper
Export skyeye configuration options for the bot to set
...

There are some cool features possible here, especially observability and discord integration. Marking this as a post-launch feature because the code is currently quite volatile, e.g. still making changes to the frontend.

authors: dharmab nabbl

repo: dharmab/skyeye


text:
Swyh-rs.apk ?

I would have liked to know, if it was possible to create an Android compatible version, I know a good number of users who have been looking for this kind of tools for a long time but under Android ...
When will Swyh-rs.apk ?

I don't think it is feasible right now: Android support has only recently been added to the cpal and fltk-rs libraries, and it would mean a total redesign of the UI. And I don't have any native (NDK) Android development experience...

There are existing tools that work on Android but they usually require root for most features. AirMusic works well for me.

Didn't know about AirMusic, features look impressive!

I think it's possible to adapt swyh-rs but only for Android 10 and newest, because before this release "root" is necessary to access audio... I hope one day swyh-rs.apk...

authors: MX10-AC2N dheijl numanair

repo: dheijl/swyh-rs


text:
Accuracy

Hi,
I ran your code with some categories, but the auc roc results are not the same as the ones reported https://github.com/hcw-00/PatchCore_anomaly_detection
For example, 'toothbrush' category should be 100% accuracy, but I get Area under curve Precision Recall:  0.96
Would you please tell me what should be the problem?
I also have another question about the weighted score. Did you consider that reweighting in your code?
Thank you

This project is different from the main.
There's no gt.
Pixel per pixel calculation is impossible.
Instead, The average value of the normalized whole image is used.
It would be the difference from here.
It is a project for industrial use that cannot use gt.

Thank you.

authors: dhkdnduq royarahimzadeh


text:
Enable redirection of non-errors to stdout / logfile

We import acme-tiny to a script on our servers, run by cron. I would like to have no output if everything is okay but sure, if errors occure, I would like to see them.
At the moment, acme-tiny writes regular status messages to stderr, so to get rid of them, I would have to trash stderr. This would hide all errors, too.
I made a proof of concept in my local fork but that pushes the code to 201 lines, so I'm not gonna make a pull request. See bwurst/acme-tiny@20be6f667e77b56db93f45bb2a626661925789bc for my current solution.

Two options come to mind:

Use python's logging instead of sys.stderr and add a --log-level parameter to the argparse. Open to pull requests on doing this.

Output stderr to a temporary file, then print it only if the exit code is not 0.

python acme_tiny.py --account-key ./account.key \
  --csr ./domain.csr --acme-dir /var/www/challenges/ \
  > signed.crt 2> /tmp/errors.log \
|| cat /tmp/errors.log 1>&2

Wow, you're faster than I can code :-)
drtoful/acme-tiny@30c53c4
The default behavior is the same as before, so it should not break anything for current users. I also took the liberty and compacted some code, so I got below 200 lines.
The script also now accepts "ca" and "out" as parameters, so that I can get rid of some nasty redirects. Also the "ca" option is pretty good if you have a testing server and don't want to fiddle around in the code everytime you want to change it.

@bwurst added a --quiet parameter to suppress output except for errors
@drtoful Thanks, a lot of the compacting was done by @somecoder42, and it looks like you've got similar things.
FYI, probably not going to accept the CA and out parameters in a pull request. Out doesn't really add much, and I'd like to keep CA at the module level to be able to monkey patch it with the staging CA if I ever get around to writing tests for this.

Hi
I'm not finished discussing this :-)
The way I added the CA parameter, was as an argument to "get_cert" (with
default value for the productive servers), so you can still "monkey patch"
it during testing, by providing a different URL that way. I don't like
configuration within code (especially when I import it), and I don't think
it's good practice anyway. Furthermore I can use the same script for
staging and production and I do not have to have two copies lying around.
I can create a new pull request for that if you want ^^
The out parameter is just for good measure to get rid of redirects in my
scripts. But since I'm changing anyway to a pure python solution for
automation I don't really need it. Just tried to sneak in that change.
Kind Regards
2015-12-06 1:56 GMT+01:00 Daniel Roesler notifications@github.com:

@bwurst https://github.com/bwurst added a --quiet parameter to suppress
output except for errors
@drtoful https://github.com/drtoful Thanks, a lot of the compacting was
done by @somecoder42 https://github.com/somecoder42, and it looks like
you've got similar things.
FYI, probably not going to accept the CA and out parameters in a pull
request. Out doesn't really add much, and I'd like to keep CA at the module
level to be able to monkey patch it with the staging CA if I ever get
around to writing tests for this.
—
Reply to this email directly or view it on GitHub
https://github.com/diafygi/acme-tiny/issues/23#issuecomment-162260841.

ok, will review a pull request for the CA parameter

authors: bwurst diafygi drtoful

repo: diafygi/acme-tiny


text:
Hii Any client for v2 for android

Please let us know whats your plan for v2 client. If not can you guys provide http endpoints for calling from app instead of using cloud client library.
thanks

How to integrate Dialogflow v2 or dialogflow in general into Java/Kotlin android app.
I dont want to use https://medium.com/@abhi007tyagi/android-chatbot-with-dialogflow-8c0dcc8d8018 or https://github.com/abhi007tyagi/DialogflowChat . . .

authors: Gurupreet SanthoshMKunthe

repo: dialogflow/dialogflow-android-client


text:
背景&目的
有时节点上的锚点各有各的用途和意义，比如代表了不同类型的输入输出类型之类的，但现在addEdge时似乎仅根据两节点相对位置来自动选择锚点，经常会连接到不想要的锚点上

比如上图，希望能指定连接蓝色外框节点左侧的锚点，而不是根据位置自动选择了上方的锚点

现在就可以哦，addEdge的参数里增加sourceAnchorId和targetAnchorId参数就能指定连接锚点了，你可以试下，有问题再重开

确实可以，但官网不论是教程还是api里都完全没有提到过啊，这不说谁知道啊...

repo: didi/LogicFlow


text:
发生了什么？
自定义一个html节点  在外部调用 lf.setProperties(x,{})并未修改掉节点的Properties内容,如下图

logicflow/core版本
2.0.10
logicflow/extension版本
2.0.14
logicflow/engine版本
No response
浏览器&环境
No response

这样更直观一点


text:
缺少文件

缺少 examples/asr/aishell/run.sh 文件

Please refer to https://github.com/athena-team/athena/blob/master/examples/asr/aishell/run.sh

Please refer to https://github.com/athena-team/athena/blob/master/examples/asr/aishell/run.sh

repo: didi/athena


text:
Support skipping fields in Queryable derive (falls back to Default impl)

Not sure if there was a feature request for this, but I happened to need it and felt it wouldn't be too hard to implement.
Does this seem reasonable? (We perhaps just want this also be available on the other derives?)

Would love if this were to be picked up again :)

The problem here is not workforce but the decision on the relevant discussion. If you have new insights on the topic feel free to add them there. 🙂

repo: diesel-rs/diesel


text:
InboxItems + InboxItem

Adds InboxItems + InboxItem which a 1st iteration stab at the component outlined in Figma.
I've added a story to Storybook to demonstrate the usage and added it to a separate route (/inbox) to demo it in the application.
This PR also includes a couple of rabbit hole tasks in order to make the first story work properly, like including Inter fonts.

Group InboxItem and InboxItems into the same folder, so that you can use them as a single import:
import { InboxItems, InboxItem } from '../components/InboxItem';

Components that are used together should live together.

authors: TheKnarf seanes

repo: digdir/dialogporten-frontend


text:
Konsolidere dialogporten event data format?

Det kan virke litt tilfeldig for en konsument av dialogporten eventer hva som faktisk ligger i data feltet. Skulle vi gjort en liten jobb for å konsolidere formatet på data feltet for disse eventene?

Lukker denne siden vi har ett format på data per type, som vil fungere fint.

authors: MagnusSandgren elsand

repo: digdir/dialogporten


text:
연산 error 처리를 좀더 직관적으로 수정하기

[ ] Zero size not supported yet
[x] process.go: 148: not found

Zero size not supported yet 문자가 stdout 에서 출력되는 이유에 대해서 github 전체, csi 코드 전체, mgo 코드 전체, golang 코드 전체를 검색해보았다. 해당 문자열이 없었다. 좀더 지켜봐야 겠다.

먼저 process.go 를 처리한다.


text:
Z-index issue

One can see by going to admin tools - > credentials, then adjust the browser width to be narrow, then click the hovercard directive, you should see the popover is displayed behind the search input

Closing as fixed (as it seems to be). Reopen or file a new issue if it can be reproduced.

authors: dlongley mattcollier

repo: digitalbazaar/angular-stackables


text:
Remove deprecated index option background from createIndexes.

Removes the usage of background from test project.
Addresses: https://github.com/digitalbazaar/bedrock-mongodb/issues/70

Codecov Report

Merging #97 (f61f9cc) into mongo-driver-4-rc (944063f) will not change coverage.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           mongo-driver-4-rc      #97   +/-   ##
==================================================
  Coverage              87.08%   87.08%
==================================================
  Files                      8        8
  Lines                    813      813
==================================================
  Hits                     708      708
  Misses                   105      105

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

repo: digitalbazaar/bedrock-mongodb


text:
Have index.tsv use csv.DictWriter

PR 62 added /index.tsv as a resource.  It performs a custom TSV construction.  This unfortunately raised an issue with null-value handling.  When feeding the TSV into a Python DictReader, unexpected string values occured, e.g.:
{
    "id": "10804012",
    "s3key": "corpora/dfrws/challenge-2021/1_Skimmer_mSD.zip",
    "modified": "2023-03-19 22:00:10",
    "bytes": "36665139",
    "mtime": "None",
    "tags": "None",
    "etag": "None",
    "sha2_256": "None",
    "sha3_256": "None",
    "present": "1"
}

Fields that are NULL in the database were being serialized as str(None) from Python.
This patch uses Python's csv.DictWriter to output fields.  A unit test is also added to sanity-check expected behaviors on explicit null value handling, absent value handling, and dictionary field order.

Apologies for the two extra typo fix patches. I didn't run pylint before the second one.

No problem; that's why we have the CI

authors: ajnelson-nist simsong


text:
Add screenshots to README

Added 4 screenshots showing the app in action to the README file, arranged in a line above the "GOALS" section as per https://github.com/digitalcredentials/learner-credential-wallet/issues/267

Happy to make the adjustment to the branch to add in some more descriptive alt-text. I don't believe I have write-access to this repo or org right meow.

Hi @sembrat, I just added in more descriptive alt-text for the images. If you have any additional suggested changes to the descriptions definitely let me know.

@dmitrizagidulin I'm not sure if the Lint errors are meaningful, can you please review. We're trying to add screenshots with alt text to the project description (readme) page.

Alt text looks good - thanks!

authors: bmuramatsu fields37 sembrat


text:
connect: resource temporarily unavailable

log: 2020-05-09T00:57:19Z E! failed to dial libvirt: dial unix /var/run/libvirt/libvirt-sock: connect: resource temporarily unavailable
2020-05-09T00:57:19Z E! failed to retry dial libvirt: dial unix /var/run/libvirt/libvirt-sock: connect: resource temporarily unavailable

code:
	//connect 	conn, err := net.DialTimeout("unix", ag.SockUrl, ag.ConnectTimeout*time.Second-time.Millisecond*100) 	if err != nil { 		log.Printf("E! failed to dial libvirt: %s", err.Error()) 		//retry 		time.Sleep(10 * time.Millisecond) 		conn, err = net.DialTimeout("unix", ag.SockUrl, ag.ConnectTimeout*time.Second-time.Millisecond*100) 		if err != nil { 			log.Printf("E! failed to retry dial libvirt: %s", err.Error()) 			return 		} 	} 	defer conn.Close()

This has nothing to do with go-libvirt, and your sample code works fine for me.

closing; looks like an issue with the underlying libvirt daemon. Please ensure:

libvirtd is running
libvirtd is configured to listen for local socket connections
you have the proper permissions for /var/run/libvirt/libvirt-sock

authors: benlemasurier fcddk trapgate

repo: digitalocean/go-libvirt


text:
The version variable should be set on package installation.

As is, the library attempts to read a text file (VERSION) when it is loaded. If pynetbox is packaged in a ZIP archive, or synced using SaltStack's saltutil.sync_modules, this file is unavailable.
This change would make it easier to ship pynetbox as a dependency.

Definitely not saying the way it's versioned is ideal, but why wouldn't that file be included in a zip? Totally open to better ideas around versioning though. Only made it this way because it was easier to remember when making changes. :laughing:

The VERSION file is included in the ZIP archive, but the open fails when using the module directly in the archive without first unzipping it.
Annoyingly, when SaltStack pushes out a custom execution module, it doesn't have a way to unzip if it is contained in an archive, and files not contained in an archive are skipped if they aren't actual Python source code.

hrm, never used _modules to distribute python packages. Could you do something with the pip module or state to load it via pip? I'm guessing you don't have access to pypi from your salt stuff which is why you have to distribute an archive?

As bizarre as it may sound, we actually have thousands of hosts where installing the python-pip package requires jumping through some hoops to satisfy the security folks. :-/

:scream: A pain in the ass for sure, but wouldn't be the most bizarre request I've heard from a security org  :smile:
I don't really know what best-practices are here. I think I had a look at a couple other packages and this was how they did it, but it's certainly not the only way. Thinking out loud, I wonder if setting __version__ in __init__.py and reference that somehow in setup.py...oh, that's another thought too, you could do something like python setup.py install in salt to properly install it as a package after unarchiving it without needing pip.

closing this out, you should be able to install without pip. I'm not sure that _modules was intended for use-cases like this, but if it is, and it's not syncing the VERSION file it might be worth getting with the Salt folks about it.

authors: ebusto zachmoody

repo: digitalocean/pynetbox


text:
pkh-flow fixes

in the scope of commit
fix(pkh-flow): fix navigation, guards and doneFunctions around staatliche-leistungen
it is required to change the name of the select variable from staatlicheLeistungenPKH to staatlicheLeistungen in /prozesskostenhilfe/formular/finanzielle-angaben/einkuenfte/staatliche-leistungen in Strapi

@Spencer6497 thanks for helping finish my WIP for this subtask 😉


text:
[Feature]: The skills buttons in the profile should be reactive on hover.

Is your feature request related to a problem? Please describe.
It is just that it would improve the overall UI.
Describe the solution you'd like
Adding a hover effect on the skills labels like the buttons on the home page.

Alternatives
No response
Additional Context
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

Can try using aceternity or magicui or similar

Thanks @pranshugupta54

I noticed that this issue is assigned to someone, but it hasn't been marked as completed yet. I was wondering if there's any update on the progress. If the current assignee is unable to continue, I'd be happy to help out and take over.

Hi, Any updates regarding the issue? If available, I'd like to take this up!

repo: digitomize/digitomize


text:
jcef message processing is unordered which causes overrides in jcef apps

if jcef app send multiple messages of same action it may happen that the second message will process fast and return a response and then the first message will complete and override the UI.
the proposed solution is:
the plugin will make sure to process messages of same action in the order they arrive to the plugin.
if a message arrives while the plugin still processing a previous message the plugin will do best effort to cancel the previous message so it will not return a response and process the newer message instead.
this solution will be implemented for all messages, although there are some messages that it may in extreme cases cause an undesired effect. for example message like 'open histogram' ,if user clicks very fast on two buttons we want to open two histograms, but the mechanism mentioned above will cancel the first one. open trace is another example.
one way to solve it is to add a flag to every message indicating if its unique, unique messages are messages with same action and same parameters. so get_asset_data is probably unique, but 'open histogram' may be non-unique if it opens different histograms. then the solution above will cancel only unique messages.
another way to check if a message is unique without requiring a flag is by generating a hash from the json, the plugin will generate a hash for each message and cancel older messages that have the same hash.
in any case ,if plugin cancels previous message or not, the response to the jcef app will be sent in the same order the messages arrive so there is no change that older message will override a response on newer message.
This solution may impact performance , if a newer message can be processed fast and an older message is slow, the newer message will wait for the older message to complete, unless the older is canceled of course.
so probably the impact is neglect able, but may impact non-unique messages if we implement them , so two 'open histogram' at the same time , the second message will wait for the first message to complete.
we can also implement it in a way that ordering is guaranteed only for certain messages. so for example 'get_assets_data' will be an ordered message but 'open histogram' not.

related #2010

we decided not to merge this PR

repo: digma-ai/digma-intellij-plugin


text:
Require docker image for ARM64 platform

Hi Team,
I am trying to use the digota  image on  arm64  platform, but it seems it is not available for arm64.
I have successfully built the image for arm64 platform, using the command docker build -t image_name .
I have taken the Dockerfile which is present in the main package(digota/docker/build/Dockerfile) and I have not modified any file, just by running the docker build –t imagename . Command, it  ran successfully. Could you please release the docker image for arm64 architecture.
Docker Hub Link - https://hub.docker.com/repository/docker/odidev/digota/general
Please let me know if there are any plans  for releasing ARM64 images?

@yaronsumel, Could you please share your feedback regarding the above issue.

repo: digota/digota


text:
table of challenges aren't responsive

I'm not satisfied with the current state of the table with challenges, it doesn't feels responsive. As I'm pretty inexperienced with front-end, I'd like to hear opinions about how to make them feel better at different screen sizes.

Thanks for the suggestion! It looks like a good way to do it, I might try it later.

repo: diksown/cryck


text:
Cannot make it work, error in script

Hi I followed the tutorial  installing all the required components through bower and composer. And I get this error,
localhost/:8 GET http://localhost/ResumableProj/bower_components/resumablejs/resumable.js  (index):51 Uncaught ReferenceError: Resumable is not defined(anonymous function) @ (index):51.
Can you help ?

I tried changing , from this :  <script>  at line 50 of front end index.html  to
this : <script src="bower_components/resumablejs/resumable.js" type="application/javascript"> , the uncaught error goes away but the GET error remains.

Ohh I figured out the error.  In your front end file according to the tutorial , you include the scripts like this:
 <script src="bower_components/resumablejs/resumable.js" type="application/javascript"></script>
Instead do this as per the new folder change by resumable:
` <script src="bower_components/resumablejs/resumable.js" type="application/javascript"></script> `


text:
This extension works on Firefox

Procedure (after installation)
Note: I tested this with OldTweetDeckFirefox.zip, which was generated by npm run build.
1. Grant permissions manually
In the current implementation of Manifest V3, Firefox treats some permissions listed in host_permissions as "optional". So users need to manually grant them from "about:addons > Extensions > Old TweetDeck > Manage > Permissions".

2. Disable tracking protection
Also, Firefox's "Enhanced Tracking Protection" prevents <iframe> elements (inserted by this extension) from loading correctly. You can add exception for TweetDeck.

How were you able to install it?

The author provides a build script (pack.js) for Firefox. You can run it to generate a patched .zip file.
git clone https://github.com/dimdenGD/OldTweetDeck.git
cd OldTweetDeck
npm install
npm run build
mv ../OldTweetDeckFirefox.zip ./

You should then find OldTweetDeckFirefox.zip. Try temporary installation (unsigned) or self-distribution (signed), as you wish.

Thank you!

When I try to run the pack.js file I get this error

Heads up!
You will need Firefox Developer or Nightly to add unsigned extensions.

When I try to run the pack.js file I get this error

The pack.js file seems to be running as JScript, not JavaScript. How did you run it? do you have Node.js installed?

When I try to run the pack.js file I get this error

The pack.js file seems to be running as JScript, not JavaScript. How did you run it? do you have Node.js installed?

I double clicked on the file in the folder and it gave that error. I have installed Node.js and attempted to run the script with it but it opens for a split second and then closes after doing seemingly nothing.

check parent folder of folder it's in, archives probably appeared in it

I managed to catch it with a screen recorder

run npm install in the folder

I've built version and made a Release, check https://github.com/dimdenGD/OldTweetDeck/releases/tag/v1.0.2

only for developer/Nightly edition?
Can I use unsigned add-ons with the regular version?

Sorry, I feel stupid, but I can't understand how to "add" the zip into firefox :s. When I try to load it (using developer version or my normal version) I get an error.
I downloaded the zip version in the BetterTweetdeck fork page.

When I install it on Firefox Nightly, I get this when I reload the tab, even though I'm still logged in when I get redirected:

I need to refresh a lot to get it works, on my side!

If you get the login error, or it just doesn't load, refresh a few times.

I don't know how many "a few" is, but it's still not working. If this is something that has to be done every new session, It's probably not worth it for the time being

Any way of getting legacy back is still better than dealing with "XPro" to be honest.

manifest.json lacks an add-on ID in "browser_specific_settings", meaning it will only install through about:debugging on firefox (even on nightly and developer), and won't install permanently.
However, reportedly chrome doesn't support the "browser_specific_settings" key and will show a warning if it's included. One possible solution is separate manifest.json per platform

This is already done in pack.js

You can only install unsigned extensions on Firefox Beta/Nightly

Does it not work on developer (which lists being on aurora update channel)?

Anyone else getting near unusable lag after leaving the tab open for an extended amount of time? (Firefox Dev Edition)

still doesn't work for Firefox Nightly or ERS even with v2.02 while it works just fine for Chrome

In my case, v2.0.2 does not work on Firefox. <script> elements injected by element.innerHTML in injection.js are blocked by content security policy (CSP).

So I tried loading these scripts (bundle.js, vendor.js) as external files (element.src) - this time, they load fine, but the use of eval() in them violates CSP.
In any case, Content-Security-Policy header does not seem to be removed, despite the existence of the relevant code.

OK. Found the cause:
In Firefox, extraInfoSpec in browser.webRequest.onHeadersReceived.addListener only allows the values "blocking" or "responseHeaders" (or both) ,while in Chrome "extraHeaders" is also supported.
So we need some switching like this:
diff --git a/background.js b/background.js
index 235f726..d9ddd78 100644
--- a/background.js
+++ b/background.js
@@ -1,3 +1,11 @@
+const extraInfoSpec = ["blocking", "responseHeaders"];
+
+if (
+    chrome.webRequest.OnHeadersReceivedOptions.hasOwnProperty("EXTRA_HEADERS")
+) {
+    extraInfoSpec.push("extraHeaders");
+}
+
 chrome.webRequest.onHeadersReceived.addListener(
     function(details) {
         let headers = details.responseHeaders.filter(header => header.name.toLowerCase() !== 'content-security-policy' && header.name.toLowerCase() !== 'location');
@@ -6,7 +14,7 @@ chrome.webRequest.onHeadersReceived.addListener(
         }
     },
     {urls: ["https://tweetdeck.twitter.com/*"]},
-    ["blocking", "responseHeaders", "extraHeaders"]
+    extraInfoSpec
 );

 chrome.webRequest.onBeforeRequest.addListener(

Thanks, I've updated repo and released new version

Sorry for bringing this up, but it either seems broken again or it was just temporarily.

All i get is this, even after clearing cookies, reinstalling the extension several times and refreshing the page once a minute for almost a hour. It worked the first time, but not once since then.

You can only install unsigned extensions on Firefox Beta/Nightly

You can install it on main firefox as a "temporary extension" in about:debugging > This Firefox.
It'll uninstall upon closing but it's still an alternative for main fox.

authors: Audrican Dajova Fapo39 Koraydi Lisandra-dev LisandraBrave PRGilland archeruwu dimdenGD haxibami natsuki72855

repo: dimdenGD/OldTweetDeck


text:
🛑 android-8.1.0_r81 is down

In 24ef7a1, android-8.1.0_r81 (http://aospxref.com/android-8.1.0_r81/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: android-8.1.0_r81 is back up in 7f05468 after 11 minutes.

repo: dimenspace/aosp-uptime


text:
Fix panic when HDR is enabled

To test, change camera in examples like so:
    commands.spawn(Camera2dBundle {
        camera: Camera {
            hdr: true,
            ..default()
        },
        transform: Transform::from_xyz(0.0, 20.0, 0.0),
        ..default()
    });

Thanks!

authors: rparrett sebcrozet


text:
Win-sshfs freeze trying to remount drive after Windows standby.

Win-sshfs freeze trying to remount drive after Windows wake up from standby. Then, after killed and restarted the process, sometime drive information are erased forcing me to reinsert them.
Win-sshfs 1.5.12.8
Dokan 0.7.4.0
Windows 10 64bit

Same here, same config on a bunch of Surface 3 Pro tablets. Currently we need to completey switch off any power saving stuff ... this decreases runtime of the tablets significantly :-(

authors: kamzata sklages

repo: dimov-cz/win-sshfs


text:
Youtube example opens video in youtube's site/application in Safari mobile

Hi,
In the plugin's page, http://dimsemenov.com/plugins/magnific-popup/ , in iOS 8.3 Safari tested an in iPhone 5, the youtube example link opens the video in the device's app or in Youtube's site if app is not available. Tested in Galaxy Note 4 and same behavior.
It worked fine on an iPad Air 1, iOS8.3 though.

Hey @diego06884 ....
I was experiencing this same issue, but, looking into the code, just remove this line - disableOn: 700, - and it will be fine...I just tested in many screens resolutions and, so far so good =)...
Maybe you should give a try =)
Cheers =)

Thank you!. This works as intended! Closing this ticket.

repo: dimsemenov/Magnific-Popup


text:
FamilyInstance.ByGeometry fails on SAT import

In some cases, the node will fail to import the geometry. I am not sure if there's anything you can do about it since it may be a Revit issue, but the geometry does import without errors via the OOTB ImportInstance.ByGeometry node.
Steps to reproduce:

Change file type of attachment to *.dyn
Open Advanced Architectural Model that ships with Revit
Run attached graph

FamilyInstanceByGeometry___GeometryErrors.txt

the name of those rooms end up having illegal characters and that's throwing off the export to sat node:

:-)
Should have looked at the room names...
So it might make sense to replace any of these characters with an underscore:
/ ? < > \ : * | " ^
BTW: Seems like the fastest way to do this is to chain the string.replace commands (see second answer):
http://stackoverflow.com/questions/3411771/multiple-character-replace-with-python

I'll leave it to the user to decide how he wants to approach the naming. For now, I've added an early check at the start of the function:

invalid_chars = System.IO.Path.GetInvalidFileNameChars()
...
if any( (c in name1 for c in invalid_chars) ):
  raise Exception('Family name contains invalid characters')

repo: dimven/SpringNodes


text:
Wire-up basic app framework.

Resolves #4.

Resolves issue #4

repo: dingjimmy/csvtool


text:
Fix infinite loading wheel

https://github.com/dinsic-pim/riot-android/issues/82

Handle by https://github.com/vector-im/riot-android/pull/2178/commits

repo: dinsic-pim/riot-android


text:
Update dependencies and Xcode

Update to Xcode 9.2

Codecov Report

Merging #146 into development will increase coverage by 0.28%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development     #146      +/-   ##
===============================================
+ Coverage        63.79%   64.08%   +0.28%
===============================================
  Files               50       50
  Lines             2453     2453
  Branches            46       46
===============================================
+ Hits              1565     1572       +7
+ Misses             887      880       -7
  Partials             1        1

Impacted Files
Coverage Δ

Watch Extension/Generated/L10n.swift
0% <ø> (ø)
:arrow_up:

MyWeight/Services/MassService.swift
48.48% <0%> (+4.24%)
: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 027aa56...34fede1. Read the comment docs.

authors: codecov-io diogot

repo: diogot/MyWeight


text:
fix: impede terceira chamada da função escolherCard

Só adicionei mais um "if" acredito que corrija

Só adicionei mais um "if" acredito que corrija

Nossa era isso mesmo! testei aqui no preview do deploy e não acontece aquele bug. Muito obrigado pela ajuda parceiro

authors: dionebraz gusvuffelen

repo: dionebraz/memory-game


text:
LaTeX smart equation - Dirichy 博客 | Dirichy Blog

https://dirichy.github.io/2024/09/15/LaTeX-smart-equation/
Things that can make you miserable will surely make you strong, grow up, and must experience what others can't!

非常有用，感谢作者！

authors: dirichy evawyy


text:
Is this application only for shopify ?

Hi,
First of all i want to congratulate you for this brilliant app :)
And i want to ask you if is it possible to use CartJS with another application rather than Shopify ??? let's say a WordPress Plugin. of course after changing the endpoints :P

Thanks @sidati. Unfortunately Cart.js is totally Shopify-specific, so it can't be used on any other platform. Sorry!

OK thank you @gavinballard. so can i ask you, of the record :P, do you have any resources to learn Shopify development and do you have any idea if shopify does support RTL languages such as Arabic :)

http://gavinballard/mst
http://gavinballard/msa
http://docs.shopify.com :).
RTL support is mostly a theme issue, I don't know of any themes that support RTL out of the box but there may be some.

Thank you

authors: gavinballard sidati

repo: discolabs/cartjs


text:
member.canInteract()

General Troubleshooting

[X] I have checked for similar issues on the Issue-tracker.
[X] I have checked for PRs that might already address this issue.

Version of JDA
4.4.1_353
Expected Behaviour
Return false to prevent the kick tentative since the roles don't match or both members params are the same member.
Code Example for Reproduction Steps

final OptionMapping userParam = event.getOption(LOCAL.translate(KEY_PARAM_USER));
Member lookUpMember = userParam.getAsMember();

if (member.canInteract(lookUpMember)) {
    try {
        lookUpMember.kick();
    } catch (Exception e) {
        sb.append("⚠ [Discord-Kick] " + e.getMessage() + "\n\n");
        tx.setData("error-state", "error discord-kick unauthorized (higher or equal ranks)");
        SentryService.captureEx(e);
    }
}
else {
    sb.append("⚠ [Discord-Kick] Can't modify a member with higher or equal highest role than yourself!\n\n");
}

Code for JDABuilder or DefaultShardManagerBuilder used
public void connect() {
    ISpan process = plugin.getSentryService().findWithuniqueName("onEnable")
            .startChild("DiscordManager.connect");
    try {
        final String token = this.configs.get("discordBotToken", null);
        this.logger.info("JDA TOKEN: " + token.substring(0, 56) + "************");

        jda = JDABuilder.create(token, EnumSet.allOf(GatewayIntent.class))
                .build()
                .awaitReady();

        this.checkGuild();
        this.plugin.getSentryService().setUsername(this.ownerId);
        this.plugin.getSentryService().setUserId(this.getGuild().getId());

        if (jda == null) {
            throw new LoginException("Cannot initialize JDA");
        }

    } catch (LoginException | InterruptedException e) {
        process.setThrowable(e);
        process.setStatus(SpanStatus.INTERNAL_ERROR);
        SentryService.captureEx(e);
        Bukkit.shutdown();
    }

    process.setStatus(SpanStatus.OK);
    process.finish();
}

Exception or Error
[20:41:53 WARN]: [WDMC-Sentry] WARNING:
[20:41:53 WARN]: net.dv8tion.jda.api.exceptions.HierarchyException: Can't modify a member with higher or equal highest role than yourself!
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//services.sentry.SentryService.captureEx(SentryService.java:149)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//commands.discords.DeleteUserDbCmd.execute(DeleteUserDbCmd.java:137)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//commands.discords.UserOnlyCmd.onSlashCommand(UserOnlyCmd.java:51)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:483)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:160)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleCommand(InteractionCreateHandler.java:75)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.handle.InteractionCreateHandler.handleInternally(InteractionCreateHandler.java:59)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:36)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:952)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:839)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:817)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:991)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
[20:41:53 WARN]:        at WhitelistDmc-2023.7.20231017-shaded.jar//com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
>

What is member? Why does this stacktrace not come from JDA?

Who is member in this context? Is it the bot or the user that ran the command?

Member is the user taht ranthe cmd
Lookupmember is a cmd parameter

What is member? Why does this stacktrace not come from JDA?

Because i use JDA in my lrogram ?

Member is the user that ran the cmd
Lookupmember is a cmd parameter

While the user may be able to interact, your bot cannot. You should also check if the bot can interact (getSelfMember on a guild)

Member is the user that ran the cmd
Lookupmember is a cmd parameter

While the user may be able to interact, your bot cannot. You should also check if the bot can interact (getSelfMember on a guild)

Thats true but my bot is administrator

Thats true but my bot is administrator

Have you checked your guild hierarchy?

Thats true but my bot is administrator

That doesn't matter. If the member you want to interact with has a role higher or equal to your bot will this fail from what I know. Admin or not.
(Also, personal recommendation is to not just give admin. It's a lazy aproach that exposes your bot to abuse.)

getSelfMember

I know I do that in dev mode but users manages there own bot based on my code anyway so its up to them

I know I do that in dev mode but users manages there own bot based on my code anyway so its up to them

That... would still be the right aproach? getSelfMember gets the current account used for the bot, so if they run their own instance, this would return whatever account they have.
This isn't some hardcoded account or other value...

@Andre601  check last comment 'edited' now no error the kick did not throw but the member is still in the voice channel

should i use kick().complete() ???

Yes it was juste the .complet() thanks guys ;)

repo: discord-jda/JDA


text:
Fixed cmd_name parameter description.

About this pull request
Fixed some documentation issues and updated FAQ slightly.
Changes

Description of parameters.
FAQ.

Checklist

[X] I've run the pre_push.py script to format and lint code.
[ ] I've checked this pull request runs on Python 3.6.X.
[ ] This fixes something in Issues.

Issue:

[ ] This adds something new.
[ ] There is/are breaking change(s).
[ ] (If required) Relevant documentation has been updated/added.
[X] This is not a code change. (README, docs, etc.)

This pr fails the lint checks, please resolve that before i can merge it

Merged, thanks for contributing

authors: LordOfPolls Tripletri


text:
Add regex & command prefix filters to reaction cog

Add a command prefix check to prevent commands from firing the spooky reaction cog
Translate the spooky reaction check into a regular expression

Prevents matching of substrings (e.g. "halloween" matching "halloweenify"
Allows for flexible matching of certain reactions (e.g. "spoooooky" fires the "spooky" reaction)

At the moment the bot is responding to its own messages, so if a command response contains a trigger word it drops a reaction on it. This seems like a fitting PR to address that in.

Short-circuit added

repo: discord-python/hacktoberbot


text:
Motivation for using blank between all labels is not clear

Since we can have an ϵ before or after any token in Y, it’s easier to describe the algorithm using a sequence which includes them. We’ll work with the sequence Z =[ϵ, y_1, ϵ, y_2, ..., ϵ, y_U, ϵ]

If seems like you are using blanks in between all output labels and at the beginning and end with the motivation that it is an example sequence which makes the algorithm easier to understand.
Isn't this the approach we use on all output sequences? It is kind of confusing to say that we put the blanks because it is easier to describe the algorithm.
Am I having a misconception somewhere?
Edit:
Link to the place in the post

CTC assigns a score to the sequence Y = [y_1, y_2, ..., y_U], namely p(Y | X). This is different than the sequence Z with the blanks inserted. We just use Z to describe the algorithm but the blanks are optional.

Here you say that alpha is the score of the subsequence Z and alpha is calculated assuming that exact Z as sequence. Wouldn't the calculation of alpha change if we would assume another Z sequence, for example using always 2 blanks in between each label?

repo: distillpub/post--ctc


text:
stale NFS file handle

Description
Hi, I am using registry on nomad with glusterfs backed distributed storage. Recently I have been getting such exceptions during image replication:
time="2024-07-08T14:05:08.819234287Z" level=debug msg="filesystem.GetContent("/docker/registry/v2/repositories/.../_layers/sha256/a91b9b5be0ab2069d4eb9a3c8d32ff2e0f2e9dca4ed7336996d061cf4a1845c3/link")" go.version=go1.16.15 http.request.host=*** http.request.id=ae12ebdc-7087-4be1-9600-f9abf8df8dfe http.request.method=HEAD http.request.remoteaddr=*** http.request.uri="/v2/.../blobs/sha256:a91b9b5be0ab2069d4eb9a3c8d32ff2e0f2e9dca4ed7336996d061cf4a1845c3" http.request.useragent=harbor-registry-client trace.duration=16.162128ms trace.file="/go/src/github.com/docker/distribution/registry/storage/driver/base/base.go" trace.func="github.com/docker/distribution/registry/storage/driver/base.(*Base).GetContent" trace.id=d406481b-4a34-4df2-a6a7-560c08285f90 trace.line=95 vars.digest="sha256:a91b9b5be0ab2069d4eb9a3c8d32ff2e0f2e9dca4ed7336996d061cf4a1845c3" vars.name="..."

time="2024-07-08T12:23:46.133711894Z" level=error msg="response completed with error" err.code=unknown err.detail="filesystem: open /var/lib/registry/docker/registry/v2/repositories/.../_layers/sha256/a91b9b5be0ab2069d4eb9a3c8d32ff2e0f2e9dca4ed7336996d061cf4a1845c3/link: stale NFS file handle" err.message="unknown error" go.version=go1.16.15 http.request.host=*** http.request.id=ae12ebdc-7087-4be1-9600-f9abf8df8dfe http.request.method=HEAD http.request.remoteaddr=*** http.request.uri="/v2/.../blobs/sha256:a91b9b5be0ab2069d4eb9a3c8d32ff2e0f2e9dca4ed7336996d061cf4a1845c3" http.request.useragent=harbor-registry-client http.response.contenttype="application/json; charset=utf-8" http.response.duration=16.220501ms http.response.status=500 http.response.written=301 vars.digest="sha256:a91b9b5be0ab2069d4eb9a3c8d32ff2e0f2e9dca4ed7336996d061cf4a1845c3" vars.name="..."

127.0.0.1 - - [08/Jul/2024:12:23:46 +0000] "HEAD /v2/.../blobs/sha256:a91b9b5be0ab2069d4eb9a3c8d32ff2e0f2e9dca4ed7336996d061cf4a1845c3 HTTP/1.1" 500 301 "" "harbor-registry-client"

As a workaround I clean whole registry data and push all images again, but I would like to know if this is something related to registry that can be fixed
Also, I would like to point out I only get these errors when glusterfs brick size is almost full (90%-95% usage)
Reproduce

Start registry:v2.8.1 on Nomad cluster with replicated glusterfs volume

Expected behavior
No response
registry version
registry github.com/docker/distribution v2.8.1+unknown
Additional Info
No response

I just want to mention two things:

You are using an ancient version of registry; please upgrade to the latest v3 release
The goal of this project isn't to handle any eventual consistency in network filesystem there might appear :-)

authors: milosgajdos salehjafarli

repo: distribution/distribution


text:
Document the text_enabled param for plugins

I think the Django CMS docs could use a little more information about the text_enabled attribute, which is available on CMSPlugins.
It's a very cool attribute/setting, but it took me quite some time to find out that I was looking for this when I was developing a plugin for my work.

Hello @jeroenpeters1986,
I've moved your ticket to https://github.com/divio/djangocms-text-ckeditor/issues/478.
The text_enabled attribute is not used by the cms but rather by the text plugin.

@czpython that is allright, but the docs live in this repo, right?

@jeroenpeters1986 the main cms docs yes but this is a feature unique to the text plugin.

@czpython okay :-) My contribution would be to the docs, that's why I opened it here

repo: divio/django-cms


text:
Add warning regarding project directory

This to clarify the behavior of the installer

@evildmp is the wording clear enough?


text:
🛑 Smith & Singer is down

In 7ce46a9, Smith & Singer (https://www.smithandsinger.com.au/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Smith & Singer is back up in 0ca3aa7 after 12 minutes.

repo: divtiply/artupptime


text:
Added Wrapper for use Django built-in storage system

I made a small wrapper Storage class: dbbackup.storage.builtin_django.Storage.
This class allows to use built-in Django storage system, defined in settings.DBBACKUP_BUILTIN_STORAGE
User must define settings.DBBACKUP_STORAGE='dbbackup.storage.builtin_django' and can give storage's options with settings.DBBACKUP_STORAGE_OPTIONS.
Of course, all is tested ;)
Documention updating is comming...

Looking forward to the documentation for this. It's quite crucial to have that so that the work may be appreciated :)

Added doc with :heart: and correct absolute import !

Added a PR for your PR! :D

Updated!

authors: ZuluPro benjaoming

repo: django-dbbackup/django-dbbackup


text:
output NOT NULL diff (postgresql)

output changes to null=True/False in model. only postgresql so far

Great patch ! I had a half done patch for the lined up in a branch but never got around to finish it.
Thanks a lot !

authors: bit trbs

repo: django-extensions/django-extensions


text:
pipchecker doesn't works with latest pip version

Since I've updated pip to latest version I can't use pipchecker anymore, if I downgrade pip to previous version it works fine.
$ ./manage.py pipchecker
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/django/core/management/base.py", line 533, in handle
    return self.handle_noargs(**options)
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/django_extensions/management/utils.py", line 77, in inner
    ret = func(self, *args, **kwargs)
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/django_extensions/management/commands/pipchecker.py", line 72, in handle_noargs
    for req in parse_requirements(filename, options=mockoptions):
  File "/home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages/pip/req/req_file.py", line 19, in parse_requirements
    "parse_requirements() missing 1 required keyword argument: "
TypeError: parse_requirements() missing 1 required keyword argument: 'session'

$ pip --version
pip 6.0.8 from /home/dvl/.virtualenvs/infobusca/lib/python3.4/site-packages (python 3.4)

Thanks for reporting this !
This fix also works for me on 1.5.6 up to 6.0.8.
Could you please test it ?
It also leaves room for further improvements by allowing to support pip command line options like --cache-dir and --cert etc.

The command is working now, but it's failing to find some packages.
Example:
# requirements.txt
Django==1.7.4  # the package name is capitalized on pypi
model_mommy==1.2.3  # the package name has underscore on pypi

with pip 6.0.8 I got the following output:
$ m pipchecker
Django 1.7.4                     release is not on pypi (check capitalization and/or --extra-index-url)
model-mommy 1.2.3                release is not on pypi (check capitalization and/or --extra-index-url)

and with pip 1.5.6:
$ m pipchecker
Django 1.7.4                     1.8b1 available

Thanks for your help

@dvl @trbs I've submitted a patch that for now fixes the issue with packages starting with an uppercase letter not being parsed correctly.
Would really love to hear your feedback on it.

Here's the output I'm getting
(generator)kevin@kingkev-pc ~/code/projects/redditclone $ ./manage.py pipchecker
django-toolbelt                          not installed
Pillow 2.7.0                     2.8.1 available
Django 1.7.4                     1.8 available
prospector 0.9.9                 0.10 available

authors: dvl kevgathuku trbs


text:
render_to_string in 1.10

Hi!
The dictionary and context_instance parameters for the following functions are removed:
django.shortcuts.render()
django.shortcuts.render_to_response()
django.template.loader.render_to_string()
Can you fix it?
Thanks!

Hello! Could you show what to fix in code? I already fixed render_to_string in 0.2.5 - see #15
Did I miss something?

You're rigth! I've an older version installed. Sorry for bother you.
Thanks

No worries, you are welcome!

authors: FZambia fproldan

repo: django-fm/django-fm


text:
Fixed #28273 -- Doc'd fast nullable column creation with defaults.

Ticket: https://code.djangoproject.com/ticket/28273

@caioariede Thanks for this patch :+1: I rephrased this warning. What do you think?

@charettes Thanks :+1: Updated.

Looks good to me. Idk why the build is failing btw, doesn't seem related

It's related to force-pushing. I rerun tests.

Thanks @felixxm

authors: caioariede felixxm

repo: django/django


text:
added field autocomplete off in form

Autocomplete on refresh with Firefox interacts badly with ModelMultipleChoiceField in forms so added field autocomplete as off.

Closing per ticket.

authors: baravkareknath felixxm


text:
Fixed #34692  -- Reset the form renderer's template cache

https://code.djangoproject.com/ticket/34692

Thanks for the patch. 👍
Please could a test for this regression be added.
Also, I see this just targets the DjangoTemplates backend.  What do you about the others, for example Jinja2. Are these also impacted?

Yes, it also works with Jinja2. I have tested it.

@priyank-panchal super. If you could add a test case for that as well, that would be super. 🎁

@smithdc1, sorry for the late reply. I have added the test case. If you have any suggestions, I'd be happy to consider them.

@priyank-panchal Do you have time to keep working on this?

authors: felixxm priyank-panchal smithdc1


text:
Clarified topological sort description a bit

More precise description.

Could you give an explanation?

With great pleasure.
Without "may" it implies that a node always depend on previous nodes, which is not the case, it may or may not depend on these nodes, hence "may".
Without "only" it implies that a node depends on nodes from previous set, and that's it. What else could it depend on? Whatever nodes, including next sets, which is obviously wrong. Hence, we should stress that the node depends only on the nodes from previous set.
That's it =)

authors: spacediver timgraham


text:
User Details on Blog Post

Until now the approach I've used is to create a field on the model where you assign manually the author, which creates a problem, because it provides a list with all the users, and you actually can create a lot of post in behalf of other registered users.
How to change that, but still being able to pinpoint the user and showing it to the readers when they are reading the blog post?

Solved

repo: djangocali/portal


text:
Adds guard clauses to FindUnused

When working with this library with minitest, I encountered situations where a factory would return nil. These nil checks prevented FactoryTrace from throwing errors before finishing.

Hey @stevendaniels, first of all, thank you for using the gem and contributing to it!
What I see you're trying to avoid, was happening to me a couple of times too but I believe it's not the "real" fix.
It shouldn't be the case, when there were a factory or trait when we gathered statistics but when we tried to mark, we weren't able to locate it.
Could you please gather the trace for me and I'll try to debug what's happening and why?  You can do that with this command: FB_TRACE=trace_only FB_TRACE_FILE=fb_trace_result.json bundle exec rspec

authors: djezzzl stevendaniels


text:
Support popping up modal forms and not just a single input field

Currently sweetalert does support popping up an alert that provides a single input field.  However for simple CRUD operations or smaller modal forms it would be great if we could build larger input forms and pop them up with data based to the alert via props for editing.  This would very useful when using larger data tables and editing a row of data.

You can embedded any custom content that you want as children of the SweetAlert component.  This gives you the ability to embed an  entire form with multiple fields.
Alternativel, you can chain alerts one after another to gather one piece of data at a time.
I don't think there is a big enough shared need by the community to merit adding native support for multiple inputs.  The idea of a prompt is to be simple.  You may want to explore using a true modal.

Ok well your first comment, where is this documented in your documentation on how to embedded content as a child of sweetalert and do you have an example I could follow to look at this option.  I also do not see a way, to return the data from the custom form once sweetalert is done.  While I can agree that we want to keep alerts simple, why not provide a simple form pop to provide easier ways to pop up modal forms over the top of existing dashboards, etc.  Seems to be a pretty sweet feature.  I will look for other products that can do modal form pops as well, I am sure someone has addressed this already.  Thank you in advance!

Sorry for the extremely delayed response.
Embedding custom content within the sweetalert component is very simple.  You can see this done in every example on the documentation and demo site.
<SweetAlert> ...anything you want here </SweetAlert>


text:
关于播放比例的问题

看到设置播放比例的代码是这样的mediaPlayer.setAspectRatio("16:9");
请问设置全屏和铺满是怎样的呢？

还有编译的时候是不是在环境变量里面写两行就能变编译支持两种架构了？例如这样：
export ANDROID_ABI=armeabi-v7a
export ANDROID_ABI=x86

还有要支持多种架构是不是编译完一次
export ANDROID_ABI=armeabi-v7a
后替换掉
export ANDROID_ABI=x86
重新编译
这样就有两套so库了

@buluojava mediaPlayer.getVLCVout().setWindowSize(sw, sh);这是来设置播放窗口大小的．其它平台的话，./compile.sh可以跟不同的参数，默认是armeabi-v7a

@djstava 应该这样说，我不想设置比例，而是想铺满播放，或者说拉伸吧，这样有办法吗？

@buluojava 可以呀，demo模块中把
mediaPlayer.setAspectRatio("16:9");
mediaPlayer.setScale(0);
注释掉就可以了

@djstava 试了不行，不过我不是在你的代码上改的，我是参考你的代码去调用自己编的so库，我检查下调用代码吧。

@buluojava ...，底层代码经常变动，我测试过了，这个工程是OK的．

authors: buluojava djstava


text:
@ldl5007 breaks all of my code, take 2

inputting a site name with spaces in the name does not appear in the the list of a newly added site

fix by 85ede2a

repo: dkelosky/js-osFtp


text:
Add PetNote-oss App

[ ] Project URL:
[ ] Update contents.json instead of README
[ ] One project per pull request
[ ] Screenshot included
[ ] Avoid iOS or open-source in description as it is assumed
[ ] Use this commit title format if applicable: Add app-name by @github-username
[ ] Use approved format for your entry

Pls update contents.json instead
I am closing this, could you start over?

Pls update contents.json instead
I am closing this, could you start over?

OK, I got it.

authors: XunMengWinter dkhamsing

repo: dkhamsing/open-source-ios-apps


text:
🛑 Rampa_Blato is down

In 81bd133, Rampa_Blato (http://rampa.ddns.net:8001/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rampa_Blato is back up in a67016b after 23 minutes.


text:
Regex. Numbers of begin and end symbol of match in input data.

Numbers of begin and end symbol of match in input data.
Application examole:
	alias matchType = Tuple!(string, "text", int, "position");
	matchType[] results;
	auto matches = matchAll(subject, regex(pattern, regex_flags));
	while (!matches.empty) {
		matchType result;
		result.text = matches.front.hit;
		result.position = captures.numBegin;
		results ~= result;
		matches.popFront();
	}

To be honest the API is ugly. Secondly the same applies to submatches, you might want indices for these too. Lastly all of this is possible today with pointers:
alias matchType = Tuple!(string, "text", int, "position");
	matchType[] results;
	auto matches = matchAll(subject, regex(pattern, regex_flags));
	while (!matches.empty) {
		matchType result;
		result.text = matches.front.hit;
		result.position = result.text.ptr - subject.ptr;
		results ~= result;
		matches.popFront();
	}

To be honest the API is ugly. Secondly the same applies to submatches, you might want indices for these too. Lastly all of this is possible today with pointers:
alias matchType = Tuple!(string, "text", int, "position");
	matchType[] results;
	auto matches = matchAll(subject, regex(pattern, regex_flags));
	while (!matches.empty) {
		matchType result;
		result.text = matches.front.hit;
		result.position = result.text.ptr - subject.ptr;
		results ~= result;
		matches.popFront();
	}

Thank you!!! But works correctly only for char. How to be with wchar? Using a codeLength is not suitable
import std.regex; 	import std.utf: codeLength; 	alias matchType = Tuple!(string, "text", int, "position"); 	matchType[] results; 	auto subject = полоса two three; 	auto matches = matchAll(subject, regex(pattern, regex_flags)); 	int subjectLen = codeLength!wchar(subject); 	while (!matches.empty) { 		matchType result; 		result.text = matches.front.hit; 		result.position = codeLength!wchar(result.text); 		results ~= result; 		matches.popFront(); 	} 	writeln(results[0].position); //6 	writeln(results[1].position); //3 	writeln(results[2].position); //5

Probably, it is possible to take a line from memory by means of pointers and already to process it codeLength

How to be with wchar? Using a codeLength is not suitable

I don't get what you are trying to do. It works perfectly fine for wchar - what you get is offset that can slice with.

I figured it out. Thank you again
	import std.utf: codeLength;
	alias matchType = Tuple!(string, "text", int, "position");
	matchType[] results;
	auto matches = matchAll(subject, regex(pattern, regex_flags));
	while (!matches.empty) {
		matchType result;
		result.text = matches.front.hit;
		result.position = codeLength!wchar(subject[0..(result.text.ptr - subject.ptr)]);
		results ~= result;
		matches.popFront();
	}

So you match on utf-8 string but then convert position of the match as if it was wstring...
Do you know that you can match on wstring as well?

I looked in the documentation, but did not find how to do it. Maybe I was searching bad. Could you tell?

Hm could be missing from thea docs.
Basically you need your pattern to be wstring.
auto r = regex(w"some pattern")
for( m : text.matchAll(r)){
wstring hit = m.hit;
}

repo: dlang/phobos


text:
cirrus-ci: bump OS CI versions to latest and keep last LTS supported

Signed-off-by: Luís Ferreira contact@lsferreira.net

Read the patch notes.

What's the rationale ? We usually tend to stick with the oldest supported release as it's more likely to catch issues.

We usually tend to stick with the oldest supported release as it's more likely to catch issues.

What do you mean? Shouldn't we support the newest version?

Shouldn't we support the newest version?

No problem with adding a separate 13 job, but 12.x is still supported for a while (they support the 3 latest major versions). 12.1 can be bumped to 12.2 though.

Shouldn't we support the newest version?

No problem with adding a separate 13 job, but 12.x is still supported for a while (they support the 3 latest major versions). 12.1 can be bumped to 12.2 though.

Yeah, sure, it makes sense to support both versions. I'll do that :)

Unfortunately, there is interdependency with the DMD CI script. This should be avoided, IMHO. Ideally, this should either only build DMD or grab the prebuilt version. Maybe grabbing the prebuilt version could lead to some inconsistencies if the latest build fails to publish.
Is there any strong reason to run the DMD test suite in the standard library too?

Is there any strong reason to run the DMD test suite in the standard library too?

Probably not really for Phobos, but definitely for druntime. It doesn't run for long, so skipping it seems hardly worth it.
Wrt. the annoying FreeBSD 12.2 diff regression, see https://github.com/ldc-developers/dmd-testsuite/commit/3ffa31e655cf446b65fb23341e028e9743d171ce.

Is there any strong reason to run the DMD test suite in the standard library too?

Probably not really for Phobos, but definitely for druntime. It doesn't run for long, so skipping it seems hardly worth it.

Yes, druntime makes a lot of sense, because a lot of tests there implicitly depends on object.d definitions and obviously compiler hooks, but DMD tests shouldn't depend on Phobos at all and if they do, I would say that is a bad practice.

Wrt. the annoying FreeBSD 12.2 diff regression, see ldc-developers/dmd-testsuite@3ffa31e.

Oof. Thanks.

Yes, druntime makes a lot of sense, because a lot of tests there implicitly depends on object.d definitions and obviously compiler hooks

Exactly, and not only, e.g., there are also mangling tests which depend on core.stdc.* definitions.

but DMD tests shouldn't depend on Phobos at all and if they do, I would say that is a bad practice.

Exactly, and that's why that's actually 'disallowed' - but it all depends on reviewers noticing, so I cannot rule out there are a few which import Phobos stuff (e.g., some ^^ usage, which lowers to std.math.pow - not sure if that import is implicit or not).

Yes, druntime makes a lot of sense, because a lot of tests there implicitly depends on object.d definitions and obviously compiler hooks

Exactly, and not only, e.g., there are also mangling tests which depend on core.stdc.* definitions.

but DMD tests shouldn't depend on Phobos at all and if they do, I would say that is a bad practice.

Exactly, and that's why that's actually 'disallowed' - but it all depends on reviewers noticing, so I cannot rule out there are a few which import Phobos stuff (e.g., some ^^ usage, which lowers to std.math.pow - not sure if that import is implicit or not).

Ok.
Either way, I can propose a change later to solve this interdependency. I'm now drafting a change in the DMD side https://github.com/dlang/dmd/pull/12822 .

@ljmf00 What is the course of action over here?

You're going to have to bump the bootstrap DMD version to 2.097.1 or later, so this will have to be parked until at least 2.098.0.  Even then, either until a time that we'll be forced off the ancient CI pipelines, or around the 2.108.0 release.  Whichever happens first.


text:
Merge stable in mater

Other PRs:

[x] https://github.com/dlang/dmd/pull/13279 (contains a better description)
[x] https://github.com/dlang/druntime/pull/3615

Thanks @MoonlightSentinel!


text:
Add "Incremental Configuration" Section to SQL Databases documentation

Source name:
SQL databases
Description:
The documentation currently lacks a dedicated section for "Incremental Configuration" which is crucial for understanding how to use incremental loading mechanisms efficiently. This section should detail how to configure sources for incremental loading, including using cursor columns, setting initial values, and deduplication strategies.
Expected behavior:
The documentation should include a new section named "Incremental Configuration". This section would ideally cover:
How to set up a source for incremental loading.
Explanation of cursor columns and how to specify them.
Guidance on setting initial values for incremental loading.
Description of how deduplication is handled.
Examples of configuring common sources for incremental loading.
Additional context
This section would greatly benefit users by providing clear guidance on how to efficiently use the platform for incremental data loading, thereby enhancing the usability and effectiveness of the tool for large datasets and reducing processing time and resource consumption.

PR created to docs: 977

repo: dlt-hub/verified-sources


text:
Issue regarding logging of EDNS client subnet sent from Powerdns recursor

Issue regarding capturing of DNS request sent from Powerdns recursor via protobufServer .
I can confirm that EDNS data sent from Powerdns recursor via protobufserver is working as the data has been observed via wireshark.

My bad, indeed the EDNS ClientSubnet exists in the protobuf definition.
OriginalRequestorSubnet []byte                       protobuf:"bytes,14,opt,name=originalRequestorSubnet" json:"originalRequestorSubnet,omitempty" // EDNS Client Subnet value (4 or 16 raw bytes in network byte order)
It will be ok for you if the original-requestor-subnet is added in the pdns section ?
By the way, can you share your recursor configuration ?

Sure here is the configuration file for Powerdns Recursor:
recursor.txt
For go-dns-collector configuration file:
config.txt

Implemented in the beta release v0.22.0-beta6
I successfully tested with the following configuration
/etc/pdns-recursor/recursor.conf
ecs-add-for=0.0.0.0/0, ::/0
ecs-ipv4-bits=32
ecs-ipv4-cache-bits=32
ecs-ipv6-bits=128
ecs-ipv6-cache-bits=128v

edns-subnet-allow-list=.
use-incoming-edns-subnet=yes

local-address=0.0.0.0 ::
local-port=53

lua-config-file=/etc/pdns-recursor/recursor.lua

/etc/pdns-recursor/recursor.lua
protobufServer("192.168.1.15:6001", {exportTypes={pdns.A, pdns.AAAA, pdns.TXT}})
outgoingProtobufServer("192.168.1.15:6001", {exportTypes={pdns.A, pdns.AAAA, pdns.CNAME, pdns.NS, pdns.TXT}})

Test with dig command
dig @::1 www.google.fr +short +subnet=10.0.0.1/32
Finally in the json output, a new key is added in the pdns section

  },
  "pdns": {
    "tags": [],
    "original-request-subnet": "10.0.0.1"
  }
}

Thanks Denis. It worked and thank you once again for the quick response and feedback on the issue.

authors: Deepanjalkumar dmachard

repo: dmachard/go-dns-collector


text:
Fixing travis for forks

Travis needs to checkout to a vanity path

Coverage remained the same at 57.383% when pulling abf805d0904b47775d61364a99b17213d5337f4b on deasmi:fixtravisforothers into 23635373aed10aab286a2436459670b686b581bb on dmacvicar:master.

authors: coveralls deasmi

repo: dmacvicar/terraform-provider-libvirt


text:
Outdated???

Hey!
I noticed this project hasn't been updated in awhile, is this bypass outdated/ detected?
I plan on creating a cheat for Dead By Daylight.

Would this work for a Dead By Daylight cheat?

is this bypass outdated/ detected?

No I just lost interest in online games hacking. I don't think it is outdated (you'll be able to use it to mess with memory), and it might be detected (you can get banned for using it).

Also, would this work for a Dead By Daylight cheat?

Yes, because DBD uses EAC, and this is exact anti-cheat which I used to test this bypass.

authors: ElectroGamesYT WeLoveGaming dmarov

repo: dmarov/chamd


text:
Override search options in REST query

Examples:
<PROTOCOL>://<HOST>/inventory?logLevel=debug&nsSelector="key1=value1,key2=value2"&output="test"

Closed by:
https://github.com/dmartinol/application-exporter/commit/ef88a89572c79e5fca83d9569b1858076d78655c

repo: dmartinol/application-exporter


text:
weird result with categorical fixed effects in lmm

First, I got an error with coefnames used in lmm with a warning.
WARNING: coefnames is exported from both StatsBase and StatsModels
ERROR: coefnames is not defined
I changed coefnames in lmm to StatsModels.coefnames and the problem is solved.
Second, The result of fixed-effects parameters is inconsistent when the order of data is changed. I created two examples to reproduce the situation. I think the problem is related to CategoricalArrays., or please tell me how to fix. It may have a simple solution or even not a bug, but I am a novice in both lmm and julia.
Pkg.status("MixedModels")
>>>
  - MixedModels                   0.14.1             7570a04d (dirty)

versioninfo()
>>>
Julia Version 0.6.1
Commit 0d7248e2ff* (2017-10-24 22:15 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)

using DataFrames, MixedModels

ids = String["x", "x", "x", "y", "y", "y", "z", "z", "z"]
score = Float64[100, 50, 70, 40, 50, 60, 70, 60, 30]
proj = String["a", "a", "a", "a", "a", "a", "b", "b", "b"]
days = Int[1,2,3,1,2,3,1,2,3]

ids = convert(CategoricalArray{String}, ids)
proj = convert(CategoricalArray{String}, proj)
df = DataFrame(ids=ids, score=score, proj=proj, days=days)

form = @formula(score ~ (1|ids) + days&proj)
m = lmm(form, df)
fit!(m)
>>>>
Linear mixed model fit by maximum likelihood
 Formula: score ~ (1 | ids) + days & proj
   logLik   -2 logLik     AIC        BIC
  -38.14156   76.28312   86.28312   87.26924

Variance components:
              Column     Variance    Std.Dev.
 ids      (Intercept)    0.55104997  0.7423274
 Residual              280.35736521 16.7438755
 Number of obs: 9; levels of grouping factors: 3

  Fixed-effects parameters:
                Estimate Std.Error   z value P(>|z|)
(Intercept)      75.5556   14.7729   5.11446   <1e-6
days & proj: a  -6.30632   7.07677 -0.891129  0.3729
days & proj: b  -12.3874   7.75526  -1.59729  0.1102

ids = String["z", "z", "z", "y", "y", "y", "x", "x", "x"]
score = Float64[70, 60, 30, 40, 50, 60, 100, 50, 70]
proj = String["b", "b", "b", "a", "a", "a", "a", "a", "a"]
days = Int[1,2,3,1,2,3,1,2,3]

ids = convert(CategoricalArray{String}, ids)
proj = convert(CategoricalArray{String}, proj)
df = DataFrame(ids=ids, score=score, proj=proj, days=days)

form = @formula(score ~ (1|ids) + days&proj)
m = lmm(form, df)
fit!(m)
>>>
Linear mixed model fit by maximum likelihood
 Formula: score ~ (1 | ids) + days & proj
   logLik   -2 logLik     AIC        BIC
  -38.14156   76.28312   86.28312   87.26924

Variance components:
              Column     Variance    Std.Dev.
 ids      (Intercept)    0.55104997  0.7423274
 Residual              280.35736521 16.7438755
 Number of obs: 9; levels of grouping factors: 3

  Fixed-effects parameters:
                Estimate Std.Error   z value P(>|z|)
(Intercept)      75.5556   14.7729   5.11446   <1e-6
days & proj: a  -12.3874   7.75526  -1.59729  0.1102
days & proj: b  -6.30632   7.07677 -0.891129  0.3729

I think this is related to JuliaStats/StatsModels.jl#40; that's been fixed but not yet tagged for release.

Thanks for the quick response. At least I can take care of my urgent job with the patches.

Both should be fixed on StatsModels master now (which you can get with Pkg.checkout("StatsModels")).

What I mentioned is resolved with Pkg.checkout("StatsModels"). I also checkout master commit of MixedModels.
However, I opened this issue again because I think I found another issue. The result is still inconsistent when two groups' label is exchanged. Here's an example.
Pkg.status("StatsModels")
Pkg.status("MixedModels")
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 - StatsModels                   0.1.0+             master
 - MixedModels                   0.14.1             master

ids = String["x", "x", "x", "y", "y", "y", "z", "z", "z"]
score = Float64[100, 50, 70, 40, 50, 60, 70, 60, 30]
proj = String["a", "a", "a", "a", "a", "a", "b", "b", "b"]
days = Int[1,2,3,1,2,3,1,2,3]

ids = convert(CategoricalArray{String}, ids)
proj = convert(CategoricalArray{String}, proj)
df = DataFrame(ids=ids, score=score, proj=proj, days=days)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
9×4 DataFrames.DataFrame
│ Row │ ids │ score │ proj │ days │
├─────┼─────┼───────┼──────┼──────┤
│ 1   │ x   │ 100.0 │ a    │ 1    │
│ 2   │ x   │ 50.0  │ a    │ 2    │
│ 3   │ x   │ 70.0  │ a    │ 3    │
│ 4   │ y   │ 40.0  │ a    │ 1    │
│ 5   │ y   │ 50.0  │ a    │ 2    │
│ 6   │ y   │ 60.0  │ a    │ 3    │
│ 7   │ z   │ 70.0  │ b    │ 1    │
│ 8   │ z   │ 60.0  │ b    │ 2    │
│ 9   │ z   │ 30.0  │ b    │ 3    │
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

form = @formula(score ~ (1|ids) + days&proj)
m = lmm(form, df)
fit!(m)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Linear mixed model fit by maximum likelihood
 Formula: score ~ (1 | ids) + days & proj
   logLik   -2 logLik     AIC        BIC
  -38.14156   76.28312   86.28312   87.26924

Variance components:
              Column     Variance    Std.Dev.
 ids      (Intercept)    0.55104997  0.7423274
 Residual              280.35736521 16.7438755
 Number of obs: 9; levels of grouping factors: 3

  Fixed-effects parameters:
                Estimate Std.Error   z value P(>|z|)
(Intercept)      75.5556   14.7729   5.11446   <1e-6
days & proj: a  -6.30632   7.07677 -0.891129  0.3729
days & proj: b  -12.3874   7.75526  -1.59729  0.1102

Now I exchange each other's project name.
proj = String["b", "b", "b", "b", "b", "b", "a", "a", "a"]
proj = convert(CategoricalArray{String}, proj)
df = DataFrame(ids=ids, score=score, proj=proj, days=days)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
9×4 DataFrames.DataFrame
│ Row │ ids │ score │ proj │ days │
├─────┼─────┼───────┼──────┼──────┤
│ 1   │ x   │ 100.0 │ b    │ 1    │
│ 2   │ x   │ 50.0  │ b    │ 2    │
│ 3   │ x   │ 70.0  │ b    │ 3    │
│ 4   │ y   │ 40.0  │ b    │ 1    │
│ 5   │ y   │ 50.0  │ b    │ 2    │
│ 6   │ y   │ 60.0  │ b    │ 3    │
│ 7   │ z   │ 70.0  │ a    │ 1    │
│ 8   │ z   │ 60.0  │ a    │ 2    │
│ 9   │ z   │ 30.0  │ a    │ 3    │
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

form = @formula(score ~ (1|ids) + days&proj)
m = lmm(form, df)
fit!(m)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Linear mixed model fit by maximum likelihood
 Formula: score ~ (1 | ids) + days & proj
   logLik   -2 logLik     AIC        BIC
  -38.14156   76.28312   86.28312   87.26924

Variance components:
              Column     Variance    Std.Dev.
 ids      (Intercept)    0.55104997  0.7423274
 Residual              280.35736521 16.7438755
 Number of obs: 9; levels of grouping factors: 3

  Fixed-effects parameters:
                Estimate Std.Error   z value P(>|z|)
(Intercept)      75.5556   14.7729   5.11446   <1e-6
days & proj: a  -6.30632   7.07677 -0.891129  0.3729
days & proj: b  -12.3874   7.75526  -1.59729  0.1102

I think the expected result is as below after the label is exchanged.
(Intercept)      75.5556   14.7729   5.11446   <1e-6
days & proj: b  -6.30632   7.07677 -0.891129  0.3729
days & proj: a  -12.3874   7.75526  -1.59729  0.1102

Weird. With the latest StatsModels and MixedModels from git master and GLM v0.8.1 (since master currently doesn't work with MixedModels), I get this for the second output:
ids = String["x", "x", "x", "y", "y", "y", "z", "z", "z"]
score = Float64[100, 50, 70, 40, 50, 60, 70, 60, 30]
proj = String["a", "a", "a", "a", "a", "a", "b", "b", "b"]
days = Int[1,2,3,1,2,3,1,2,3]

ids = convert(CategoricalArray{String}, ids)
proj = convert(CategoricalArray{String}, proj)
df = DataFrame(ids=ids, score=score, proj=proj, days=days)
proj = String["b", "b", "b", "b", "b", "b", "a", "a", "a"]
proj = convert(CategoricalArray{String}, proj)
df = DataFrame(ids=ids, score=score, proj=proj, days=days)

form = @formula(score ~ (1|ids) + days&proj)
m = lmm(form, df)
fit!(m)

julia> fit!(m)
Linear mixed model fit by maximum likelihood
 Formula: score ~ (1 | ids) + days & proj
   logLik   -2 logLik     AIC        BIC
  -38.14156   76.28312   86.28312   87.26924

Variance components:
              Column     Variance    Std.Dev.
 ids      (Intercept)    0.55104996  0.7423274
 Residual              280.35736523 16.7438755
 Number of obs: 9; levels of grouping factors: 3

  Fixed-effects parameters:
                Estimate Std.Error   z value P(>|z|)
(Intercept)      75.5556   14.7729   5.11446   <1e-6
days & proj: a  -12.3874   7.75526  -1.59729  0.1102
days & proj: b  -6.30632   7.07677 -0.891129  0.3729

Are you sure you are using the latest StatsModels from master? A similar bug has been fixed recently by https://github.com/JuliaStats/StatsModels.jl/pull/40.

@tolskais Has this issue been resolved?  Can we close it now?

Sorry for late, I’ll do that

authors: dmbates kleinschmidt nalimilan tolskais


text:
Convites banca Evillyn

@p3palazzo : fazer convites
@Evillynb : enviar previsão de datas

[ ] Interno: Rossetti
[ ] Externo: Hugo Segawa
[ ] Suplente: Sylvia

Acho que podemos fazer a qualificação entre os dias 20/06 e 10/07, a depender da disponibilidade da banca.

repo: dmcpatrimonio/estrategias-adaptativas