text:
关于初始化和显示的问题

先感谢大神的代码，想问一下Read Me里的“引入组件”和“初始化”是要添加在哪里的？
不添加好像to do list和date picker就用不了，拜托帮忙解答下，谢谢！

date picker 用不了,我也遇到了这个问题,请问解决了吗

没太明白你不知道添加在哪里是什么意思？页面上引入日历可参考代码参考里的/pages/calendarComponent/ 文件夹下的相关示例

不好意思，因为我也刚学没多久，就是是要按下面这段操作才能让代码生效吗？这些代码是要加在哪里呢？
“1. 引入组件
在页面  json  文件中配置组件
{
"usingComponents": {
"calendar": "../../component/calendar/index"
}
}
json
在页面  wxml  中引入组件

xml

日历组件初始化
import initCalendar from '../../component/calendar/main.js';
const conf = {
onShow: function() {
initCalendar(); // 使用默认配置初始化日历
}
};
Page(conf);

”

建议你先看下小程序的文档，梳理下小程序一个页面到底包含哪些部分
另外你看了我说的那个文件夹么，那文件夹就是一个完整的页面了。

json 加在页面的 json 文件里
wxml加在页面的 wxml 文件里
js 加在 js 文件里面

Dear,
是加在app.目录下面还是加在index或者calendar下面。。？再次感谢！

日历用在哪个页面，哪个页面初始化

authors: SimonaYan treadpit wukun666


text:
Fix test cases to get correct schedule ids

Follow-up of #1451.
acceptance.ServerScheduleIT FAILED with the following error. e.g. https://github.com/treasure-data/digdag/runs/1065603120
acceptance.ServerScheduleIT > testSkipAndEnable FAILED
    java.lang.AssertionError:
    Expected: is <2291-02-09T10:00:00Z>
         but: was <2291-02-09T00:09:00Z>
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert.assertThat(Assert.java:923)
        at acceptance.ServerScheduleIT.testSkipAndEnable(ServerScheduleIT.java:461)

Somehow verifyPyOnDocker failed but it seems not related to this...
acceptance.DockerIT > verifyPyOnDocker FAILED
    java.lang.AssertionError:
    Expected: is <true>
         but: was <false>
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert.assertThat(Assert.java:923)
        at acceptance.DockerIT.verifyPyOnDocker(DockerIT.java:194)

Thank you!

source: gharchive/pull-request

repo: treasure-data/digdag

license_type: permissive

license_source: bigquery


text:
Fix cryptolake workflow input name

lakefs-version was updated to lakefs_version in the Terraform repository

Approved but I'm kind of worried of the use of the cryptolake branch for PRs. It's better to create a designated branch for every PR, especially when pushing to this branch might trigger a deployment.

Approved but I'm kind of worried of the use of the cryptolake branch for PRs. It's better to create a designated branch for every PR, especially when pushing to this branch might trigger a deployment.

I'll make new branches from now on!

repo: treeverse/lakeFS

license_source: github-api


text:
Preview Build and Check links for any doc PRs

Linked Issue
Closes #5455 and #5552

Change Description
Background
Reviewing doc changes is an important part of the QA process but is made more tedious than necessary by requiring the reviewer to checkout the code and build it locally which is a matter of minutes, not seconds.
Broken links are the bane of any docs site, and if we want to be able to scale and maintain it in an agile manner we need a solid way to make sure things aren't breaking.
New Feature
This PR adds a GH action which will do two things on a PR for /docs/* to master:

Build and deploy to a temporary site on surge.

This is deleted when the PR is closed.
Overlay a message to show that it's a preview and link back to the PR

Run lychee link checker and report any broken links

This action has the option to fail on broken links, but we have some housekeeping to do before then, so I have left this disabled for now lest it hampers day-to-day docs delivery.

Testing Details
How were the changes tested? Manually
Breaking Change?
Does this change break any existing functionality? No

Additional info
Docs preview example
https://rmoff-lakefs-preview-pr-2.surge.sh/

Link report
https://github.com/rmoff/lakeFS/actions/runs/4565660513#summary-12398943759

Other Details
NB: This will need a new repo secret deploying for SURGE_TOKEN, please DM me for details.

Do note that it will be a problem making this a required action in our pipeline since this will only trigger on PRs with changes under /docs and for PRs without documentation changes this will not trigger and will block the ability to merge

@rmoff Nice! How is the site deleted after the PR is closed?

It's a config in the action: https://github.com/afc163/surge-preview#teardown

authors: N-o-Z rmoff


text:
Fix clippy::useless_vec warning in previous PR

Apologies -- I didn't pass the right feature flags to cargo clippy when running it on the last PR.

Oops, looks like you beat me to fixing this.

repo: trevyn/rusqlite

license: MIT


text:
License

Hello,
I was wondering if I can reuse the parser in a different project. Currently, the project has no license. Can you please add a license to this project specifying the permissions and the availability for reusing the project. Thanks in advance.

You're free to reuse the code. I just added the MIT license. Cheers.

source: gharchive/issue

authors: HanyMoussa trimcao

repo: trimcao/lef-parser


text:
Vue Template Selector

Is it only possible to use the if="$odd" template selector property for Vue?
Can't seem to get other "if" statements to work. For instance, my example code:
<Pager for="(item, index) in nodeContent" selectedIndex="0" >      <v-template if="item.type==='image'">         <StackLayout class="pager-item" backgroundColor="#ff0000">         </StackLayout>      </v-template>      <v-template if="item.type==='video'">         <StackLayout class="pager-item" backgroundColor="#ff0000">         </StackLayout>      </v-template> </Pager>
Gives me an error of

file:///node_modules/nativescript-pager/pager.js:1010:78: JS ERROR Error: could not dequeue a view of kind: UICollectionElementKindCell with identifier v-template-0 - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

However, when I use if="$odd" it works fine.
Package.json
{   "nativescript": {     "id": "org.nativescript.CredoNews",     "tns-android": {       "version": "6.3.1"     },     "tns-ios": {       "version": "6.3.0"     }   },   "description": "NativeScript Application",   "license": "SEE LICENSE IN <your-license-filename>",   "repository": "<fill-your-repository-here>",   "dependencies": {     "@nativescript/theme": "~2.2.1",     "@vue/devtools": "^5.3.3",     "apollo": "^2.27.3",     "apollo-boost": "^0.4.7",     "apollo-cache-inmemory": "^1.6.5",     "apollo-cache-persist": "^0.1.1",     "apollo-client": "^2.6.8",     "apollo-link": "^1.2.14",     "apollo-link-http": "^1.5.17",     "apollo-link-rest": "^0.7.3",     "graphql": "^15.0.0",     "graphql-anywhere": "^4.2.6",     "graphql-tag": "^2.10.3",     "moment": "^2.24.0",     "nativescript-fonticon": "^2.0.0",     "nativescript-localstorage": "^2.0.1",     "nativescript-pager": "^12.0.0-alpha.8",     "nativescript-socketio": "^3.3.1",     "nativescript-sqlite": "^2.6.0",     "nativescript-toasty": "^3.0.0-alpha.2",     "nativescript-ui-autocomplete": "^6.0.1",     "nativescript-ui-listview": "^8.1.2",     "nativescript-vue": "^2.6.1",     "nativescript-vue-devtools": "^1.2.0",     "qs": "^6.9.3",     "tns-core-modules": "~6.3.0",     "vue-apollo": "^3.0.3",     "vue-moment": "^4.1.0",     "vuex": "^3.3.0"   },   "devDependencies": {     "@babel/core": "~7.1.0",     "@babel/preset-env": "~7.1.0",     "apollo-cache-logger": "^1.1.1",     "babel-loader": "~8.0.0",     "nativescript-dev-webpack": "~1.4.0",     "nativescript-vue-template-compiler": "~2.4.0",     "node-sass": "^4.14.0",     "vue-loader": "~15.4.0"   },   "gitHead": "fa98f785df3fba482e5e2a0c76f4be1fa6dc7a14",   "readme": "NativeScript Application" }

After a bit more investigation, it doesn't appear that any "if" statements are working on .
***** Fatal JavaScript exception - application has been terminated. ***** Native stack trace: 1   0x10cb97bce NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool) 2   0x10cbd6368 NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*) 3   0x10d5d62e2 ffi_closure_unix64_inner 4   0x10d5d6d0a ffi_closure_unix64 5   0x10fda282f -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:] 6   0x10fda80cf -[UICollectionView _updateVisibleCellsNow:] 7   0x10fdad21e -[UICollectionView layoutSubviews] 8   0x110af6848 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] 9   0x10e2283f0 -[CALayer layoutSublayers] 10  0x10e22e57b CA::Layer::layout_if_needed(CA::Transaction*) 11  0x10e239c12 CA::Layer::layout_and_display_if_needed(CA::Transaction*) 12  0x10e182c84 CA::Context::commit_transaction(CA::Transaction*, double) 13  0x10e1b665f CA::Transaction::commit() 14  0x10e1b6ff1 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) 15  0x10ed5b2a7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 16  0x10ed55d5e __CFRunLoopDoObservers 17  0x10ed55ae4 CFRunLoopRunSpecific 18  0x1171e3c1a GSEventRunModal 19  0x1105f4f80 UIApplicationMain 20  0x10d5d6b4d ffi_call_unix64 21  0x126677b80 JavaScript stack trace: dequeueReusableCellWithReuseIdentifierForIndexPath(file:///node_modules/nativescript-pager/pager.js:1010:78) at file:///node_modules/nativescript-pager/pager.js:1010:78 at UIApplicationMain([native code]) at run(file:///node_modules/@nativescript/core/application/application.js:312:26) at file:///node_modules/nativescript-vue/dist/index.js:12597:2 at file:///node_modules/nativescript-vue-devtools/index.js:118:25 at file:///app/bundle.js:2617:10 at ./app.js(file:///app/bundle.js:2621:34) at __webpack_require__(file:///app/webpack/bootstrap:750:0) at checkDeferredModules(file:///app/webpack/bootstrap:43:0) at webpackJsonpCallback(file:///app/webpack/bootstrap:30:0) at anonymous(file:///app/bundle.js:2:61) at evaluate([native code]) at moduleEvaluation([native code]) at [native code] at asyncFunctionResume([native code]) at [native code] at promiseReactionJob([native code]) JavaScript error: file:///node_modules/nativescript-pager/pager.js:1010:78: JS ERROR Error: could not dequeue a view of kind: UICollectionElementKindCell with identifier v-template-0 - must register a nib or a class for the identifier or connect a prototype cell in a storyboard ***** Fatal JavaScript exception - application has been terminated. ***** Native stack trace: 1   0x10cb97bce NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool) 2   0x10cbe6824 -[TNSRuntime executeModule:referredBy:] 3   0x10b5c31b3 main 4   0x10f4471fd start 5   0x1 JavaScript stack trace: UIApplicationMain(file:///node_modules/@nativescript/core/application/application.js:312:26) at run(file:///node_modules/@nativescript/core/application/application.js:312:26) at file:///node_modules/nativescript-vue/dist/index.js:12597:2 at file:///node_modules/nativescript-vue-devtools/index.js:118:25 at file:///app/bundle.js:2617:10 at ./app.js(file:///app/bundle.js:2621:34) at __webpack_require__(file:///app/webpack/bootstrap:750:0) at checkDeferredModules(file:///app/webpack/bootstrap:43:0) at webpackJsonpCallback(file:///app/webpack/bootstrap:30:0) at anonymous(file:///app/bundle.js:2:61) at evaluate([native code]) at moduleEvaluation([native code]) at [native code] at asyncFunctionResume([native code]) at [native code] at promiseReactionJob([native code]) JavaScript error: file:///node_modules/@nativescript/core/application/application.js:312:26: JS ERROR Error ***** Fatal JavaScript exception - application has been terminated. ***** Native stack trace: 1   0x10cb97bce NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool) 2   0x10cbe41a6 -[TNSRuntimeInspector reportFatalError:] 3   0x10b5c563b TNSInspectorUncaughtExceptionHandler 4   0x10edf836d __handleUncaughtException 5   0x10e7b9c05 _objc_terminate() 6   0x10f290c87 std::__terminate(void (*)()) 7   0x10f29340b __cxa_get_exception_ptr 8   0x10f2933d2 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) 9   0x10e7b9ad6 _objc_exception_destructor(void*) 10  0x10cb980fd NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool) 11  0x10cbe6824 -[TNSRuntime executeModule:referredBy:] 12  0x10b5c31b3 main 13  0x10f4471fd start 14  0x1 JavaScript stack trace: JavaScript error: JS ERROR Error: NativeScript encountered a fatal error: Error at UIApplicationMain(file:///node_modules/@nativescript/core/application/application.js:312:26) at run(file:///node_modules/@nativescript/core/application/application.js:312:26) at file:///node_modules/nativescript-vue/dist/index.js:12597:2 at file:///node_modules/nativescript-vue-devtools/index.js:118:25 at file:///app/bundle.js:2617:10 at ./app.js(file:///app/bundle.js:2621:34) at __webpack_require__(file:///app/webpack/bootstrap:750:0) at checkDeferredModules(file:///app/webpack/bootstrap:43:0) at webpackJsonpCallback(file:///app/webpack/bootstrap:30:0) at anonymous(file:///app/bundle.js:2:61) at evaluate([native code]) at moduleEvaluation([native code]) at [native code] at asyncFunctionResume([native code]) at [native code] at promiseReactionJob([native code]) NativeScript caught signal 6. Native Stack: 1   0x10cbe5481 sig_handler(int) 2   0x10f8365fd _sigtramp 3   0xed80537 4   0x10f570b7c abort 5   0x10f291858 abort_message 6   0x10f290cad std::__terminate(void (*)()) 7   0x10f29340b __cxa_get_exception_ptr 8   0x10f2933d2 __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception*) 9   0x10e7b9ad6 _objc_exception_destructor(void*) 10  0x10cb980fd NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool) 11  0x10cbe6824 -[TNSRuntime executeModule:referredBy:] 12  0x10b5c31b3 main 13  0x10f4471fd start 14  0x1 JS Stack:

repo: triniwiz/nativescript-pager


text:
[Bug] Disabling Action Status Automation option causes permanent action bar above token

Whenever there is no action status automation enabled, starting combat with a token selected will cause the action bar to pop up over the token and become unable to dismiss. This persists even after the token is deselected, but for screenshot purposes, I figured I'd show what it looks like normally.

In order to resolve this issue, the user needs to refresh their browser window.
Versions:
D&D5e --> v1.2.4
DnD5e Helpers --> v2.0.1 (replicated in v2.0.0 as well)
Steps to reproduce:

Disable all other modules
Adjust the settings so that Combat Helpers --> Action Status Automation --> None
Add token(s) to combat tracker
With the token(s) still selected, hit the "Begin Combat" button

Ill close this an track through #106


text:
Emailer Utility for Sunrise

Scope of changes
Creates the ability for an Envoy node to be able to send emails either using SendGrid or an SMTP server.
Type of change

[ ] bug fix
[x] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
This PR will be merged without review.

Email Configuration
Email Available boolean (e.g. is it configured)
Email Messaging Handler
Email Template Renderers

Author checklist

[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[x] I have updated the dependencies list
[x] I have added new test fixtures as needed to support added tests
[ ] I have added or updated the documentation

@daniellemaxwell this PR will update Envoy's go version to v1.23 -- which might mean you need to update your local go version as well.

repo: trisacrypto/envoy


text:
tutorial？

Is there a blog post or tutorial for newbie to follow? Thanks.

Nope this was a one day hackathon project, there's just the readme and the (pretty small) source code.

authors: swuecho trishume

repo: trishume/dayder

license: mit


text:
Migration from BingSearchApi to Microsoft Cognitive

Hi Tristantao,
Thank you so much for providing the wrapper which is helping us a lot. Wanted to know as Microsoft is migrating BingSearchApi to Microsoft Cognitive services, can we expect a new version of the wrapper code if so by when? Can you please look into it as most of my work depends on this wrapper and it would be a great help if you can fix this
Regards

Hi @ranam008,
I'm already looking into creating a separate package for the cognitive service. My goal is to get something stable out by Dec 1st (I believe Dec 15th is the EOL for this product).
I should have more info in by end of next week on the scope of the package.

As an update, there is a unstable (but working) version for the new API here: https://github.com/tristantao/py-ms-cognitive
Currently only the general webpage search works. If you have any feedback on what feature you need etc, do leave them here.

Th new package seems stable enough. Closing this now.

repo: tristantao/py-bing-search


text:
Support streams

Hi -
I have a need for getting the calendar as a stream instead of as a string.  My requirement is about pushing the calendar up to a pkgcloud service but perhaps others also want another way to serve calendars; see why you should use streams.
I'm wondering if you'd accept a pull request along those lines and if so looking for any guidance you might have.
There are certainly good arguments to be made that much of the calendar object is already in memory so streaming it only saves from creating a large string representation of the objects already in memory.  As I said, my request is a bit about convenience operating with things expecting a stream and so performance while nice isn't my top line goal.
Currently I'm using the following to take the calendar toString method and coerce it into into a stream.
var  _      = require('lodash');
var ical   = require('icalendar');
var Readable = require('stream').Readable;

var calendar = new ical.iCalendar();
var s = new Readable();
s._read = _.noop;
s.push(calendar.toString());
s.push(null);
var stream3 = s3.uploadStream('ical', 'uid.ics');
s.pipe(stream3);

My plan is to make the following changes:

Use the Readable stream
var Readable = require('stream').Readable;
CalendarObject inherits from Readable
util.inherits(CalendarObject, Readable);
Add a _read function which mimics the format and toString function
CalendarObject.prototype._read = function(n) {

Probably insert the _read function between the toString and format functions.
https://github.com/tritech/node-icalendar/blob/master/lib/base.js#L236
This change should give the Calendar object ( by inheritance ) the ability to be piped like a stream.
var ical   = require('icalendar');

var calendar = new ical.iCalendar();
var stream3 = s3.uploadStream('ical', 'uid.ics');
calendar.pipe(stream3);

Maybe I'll just write it now that I spec'd it all out.

is this ready to be published to npm? I see the readable stream code was merged a while ago.

authors: clarkbw mreinstein

repo: tritech/node-icalendar


text:
How to eksport balance+reff balance ?

Hi, Please add function to eksport balance+reff balance in list.json

/list command don't show balance and referal balance sir, this is my /list command, please check there is do not have balance.
"$oid":"61b83e6471a85065e10faccb"
},
"ref":"1900450212",
"twitter_username":"@frael_4",
"bep20":"0xa0B163B02FA0727d0b12FC1a931b26Bdba34a6F7",
"userId":1459307619,
"chatId":1459307619,
"name":"Faye",
"username":"Rangerfox4"
https://drive.google.com/file/d/128rravvB01XCdqK0q72s6Y_Z3ChTfZkX/view?usp=drivesdk

repo: trizin/Telegram-Airdrop-Bot


text:
1751 test

Testing based on amazon-eks-ami issue 1751

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize

/summarize


text:
ship v0.4.4

#43 fix lint #43
#44 add test in case of another db which has same table exists #44
#45 allow multi query #45

ありがとうございます！

repo: trocco-io/embulk-output-snowflake


text:
🛑 Radarr4K is down

In cbd1f62, Radarr4K (https://tronflix.app/radarr4k/activity/queue/) was down:

HTTP code: 520
Response time: 103 ms

Resolved: Radarr4K is back up in 90ce6b8.

repo: tronyx/upptime


text:
🛑 Radarr4K is down

In 9f34f09, Radarr4K (https://tronflix.app/radarr4k/activity/queue/) was down:

HTTP code: 520
Response time: 139 ms

Resolved: Radarr4K is back up in 95b353d.


text:
warlock issue (test)

neutral spells not made clear to be unselectable by warlocks https://github.com/trowl223/Compound_X/blob/master/play/PlayerRules/CharacterCreation/4.3%20Warlock%20Spells.txt

Weird, I'm getting a 404 when I click the link...

same
On Fri, Oct 14, 2016 at 8:04 PM, bleehu notifications@github.com wrote:

Weird, I'm getting a 404 when I click the link...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/trowl223/Compound_X/issues/1#issuecomment-253958768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVZUQ6IMryIP1M1qZ_eCLdbs5K1VbIjnks5q0EKwgaJpZM4KXlud
.

--
Honor those of the past, lead those of the present, and plan for those of
the future-- me

Neutral spells are totally selectable by warlocks, thats why theres no notice. Heal spells need to be removed, as only Paladin and Medic can heal. But everything else is up for grabs.

authors: Wildlovelies bleehu trowl223


text:
Save initial options with preserveSelected

Without this, after selectbox loaded and user clicked on some of option, another options is removed.

@maxvyaznikov since verb is breaking and they haven't released an update, and travis is breaking due to this; I'm going to run the tests manually on my machine.  Once it passes everything and I confirm that it fixes the issues I'll probably merge it unless @markcarver has any issues with it.

@maxvyaznikov looks like the build is passing now (can do a full build not just testing).  Will test the fix later today and hopefully get this merged in soon.

Yeah, thanks.

@maxvyaznikov out of curiousity do you have to trigger a change event on the select for it to notice the selected option?  I had to do that in my testing.  This definitely fixes the issue of it storing the selected option correctly though and thanks for that.
@markcarver merging this in because it definitely fixes half the problem with initial options not being selected properly.

@truckingsim, in my case, options for select is loaded with page in html, and only after that JS load to start fun with options.

authors: maxvyaznikov truckingsim

repo: truckingsim/Ajax-Bootstrap-Select


text:
Use a calendar to show schedules

課題
Use a calendar to show schedules

Move to Trello.


text:
Fix tests for web3-provider-ws@1.0.0-beta.33

In web3-provider-ws v1.0.0-beta.33 they changed the callback behavior
from cb(err, response) to cb(response), but it seems some instances
make the callback without passing the error while other instances make
the callback with an error and response. This change deals with both
possible inputs to the callback function.
An alternative might be to pin web3-provider-ws to 1.0.0-beta.30.

This addresses the build failures in #92 & #93.

repo: trufflesuite/ganache-core


text:
Drag and drop feedback from @ThomasBurleson

Is your feature request related to a problem? Please describe.
Great work! Love it.

Modal animation UX seems slow/blocking.
Drag show target rectangle....nice; but loses the 'source' rectangle... sad.

Additional context
https://twitter.com/ThomasBurleson/status/1279014040589778944

Closed as won't fix for now. I will recheck after completing phase two.


text:
auriculovertical, grounders

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,g]

/trunk merge

repo: trunk-io/mergequeue-staging


text:
golfer, frayn

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[f,g]

/trunk merge


text:
disincarcerate, cablegram

This pull request was generated by the 'mq' tool

/trunk merge


text:
gastromyxorrhea, csi

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,g]

/trunk merge


text:
dixit, exhauster

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,e]

/trunk merge


text:
antiarin, domitian

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,d]

/trunk merge


text:
enmeshments, diffractometer

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,e]

/trunk merge


text:
glitterance, abama

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,g]

/trunk merge


text:
floribunda

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[f]

/trunk merge


text:
ferriferous, archisymbolical

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,f]

/trunk merge


text:
atmospherics, genista

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,g]

/trunk merge


text:
delectable, frypans

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,f]

/trunk merge


text:
ampongue, dicentra

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,d]

/trunk merge


text:
epicycloid, dirhem

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[d,e]

/trunk merge


text:
baluch

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[b]

/trunk merge


text:
cryptococcus, aurantiaceae

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,c]

/trunk merge


text:
accedes, bowlfuls

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,b]

/trunk merge


text:
despoiling, cypre

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,d]

/trunk merge


text:
frustrable

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[f]

/trunk merge


text:
daemones, clumpish

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[c,d]

/trunk merge


text:
areography, entoptoscopy

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,e]

/trunk merge


text:
arthrodirous, freebootery

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[a,f]

/trunk merge


text:
electroencephalograms, garoting

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 100
sleep for: 300s
close stale after: 4 hours
[pullrequest]
requests per hour: 0
deps=[e,g]

/trunk merge


text:
etuve, aphorismer

This pull request was generated by the 'mq' tool

/trunk merge


text:
bowboy, demiurgus

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,d]

/trunk merge

repo: trunk-io/mergequeue


text:
determinist

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[d]

/trunk merge


text:
disparagingly, chemoprophylaxis

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,d]

/trunk merge


text:
dagon, empathized

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[d,e]

/trunk merge


text:
dandyprat, erythronium

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[d,e]

/trunk merge


text:
bulgier, antilens

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,b]

/trunk merge


text:
fellside, earlock

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[e,f]

/trunk merge


text:
forthbringer

This pull request was generated by the 'mq' tool

/trunk merge


text:
fiant, autosuggestions

This pull request was generated by the 'mq' tool

/trunk merge


text:
aminating, exoduses

This pull request was generated by the 'mq' tool

/trunk merge


text:
branchedness, derive

This pull request was generated by the 'mq' tool

/trunk merge


text:
enforcer, gargantuan

This pull request was generated by the 'mq' tool

/trunk merge


text:
forbears

This pull request was generated by the 'mq' tool

/trunk merge


text:
gogos, cotyledonal

This pull request was generated by the 'mq' tool

/trunk merge


text:
autopsist, entrechats

This pull request was generated by the 'mq' tool

/trunk merge


text:
depositure, borders

This pull request was generated by the 'mq' tool

/trunk merge


text:
aljofaina, furnit

This pull request was generated by the 'mq' tool

/trunk merge


text:
antiputrefactive, evaporite

This pull request was generated by the 'mq' tool

/trunk merge


text:
endocone, apposiopestic

This pull request was generated by the 'mq' tool

/trunk merge


text:
gortonian

This pull request was generated by the 'mq' tool

/trunk merge


text:
brassidic, dariole

This pull request was generated by the 'mq' tool

/trunk merge


text:
gloggs, antherozooid

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,g]

/trunk merge


text:
charlatanism, elytroptosis

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,e]

/trunk merge


text:
flagellative, cinctures

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,f]

/trunk merge


text:
catharticalness, dormie

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,d]

/trunk merge


text:
dysmorphism, elaidinic

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[d,e]

/trunk merge


text:
flowery

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[f]

/trunk merge


text:
bluebuck, anapaestic

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,b]

/trunk merge


text:
gled, bataan

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[b,g]

/trunk merge


text:
chekmak, dioeciousness

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,d]

/trunk merge


text:
cardcase, forzato

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[c,f]

/trunk merge


text:
chaetodontid, adolescency

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 100
deps=[a,c]

/trunk merge


text:
capacitances

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c]

/trunk merge


text:
footled, garoting

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[f,g]

/trunk merge


text:
balletomanes, dillydallied

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,d]

/trunk merge


text:
bibliomanian, gels

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,g]

/trunk merge


text:
fullbacks, apophyges

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,f]

/trunk merge


text:
coercer, gruntingly

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,g]

/trunk merge


text:
bedlamp, afterking

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a,b]

/trunk merge


text:
bordels, decompensate

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,d]

/trunk merge


text:
compacting, geochemically

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[c,g]

/trunk merge


text:
esthesiometer, galvanographic

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[e,g]

/trunk merge


text:
bandannaed, effervescent

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[b,e]

/trunk merge


text:
[deps]: Update storybook dependency to 6.2.x+

Is your feature request related to a problem? Please describe.
There seem to be some changes to storybook (and storybook plugin dependencies) for versions 6.2.x. Investigate and perform the upgrade as dependabot is unable to do so manually due to storybook breaking for happo (failing in error).

Describe the solution you'd like
Make any necessary changes alongside the storybook upgrade to keep everything running smoothly:

This is not actually a problem with storybook. At the time of this happening we discovered Happo was no longer running diffs against main. This was due to a missing report for the latest commit on main, causing all further comparisons to fail.

Reopening because I think this happened again with https://github.com/trussworks/react-uswds/pull/1115 and https://github.com/trussworks/react-uswds/pull/1113

repo: trussworks/react-uswds


text:
Dates

Should we prevent users from adding/amending entries from previous days?
Should we prevent pagination to before their first entry? If not, it might be nice to show a "No entry for this day" message instead of blank textareas/question fields
Should we prevent users from navigating to the future through URL manipulation?

It's an interesting one, I wonder whether a previous day should be 'locked', and you choose to unlock it for editing? If you miss a day, or write up yesterday's notes the next morning, it would be frustrating to not be able to update it. I think it should be a 'paper-like' as possible.

That would be neat, I doubt many would want to go back before 'Day 0'. A 'No entry yet' message for non-today days would be really nice.

hmm, unsure. Could/would/should this be used as a future prompt? It's not a calendar, so maybe not? Given future pagination is disabled, it should really redirect a user back to today if future/bad dates are entered.

Agreed, I think the current day’s view should be the only one in constant “edit mode” and all other days should be disabled by default.

A nicer empty state sounds like a good solution then, just in case people want to retroactively add entries (and keeps it as paper-like as possible), no point in disabling pagination before day 0?

A redirect to the current day sounds like a good idea if bad dates are submitted.

That all sounds good to me, I've added this issue to the roadmap

Merged a change to redirect if bad dates entered, closing this issue in favour of #10

authors: timnovis trys

repo: trys/JournalBook


text:
Allowing a deeply nested type to have additional properties, but maintain strictness of base type

Sorry if this is a poor place to leave this question, but I am lost trying to find answer anywhere, and you guys know your type-fu.
I'm trying to create a utility type which takes in a deeply nested interface, and respects said strictness of the types defined in that interface, but for any property which is an object (including the root object, allows additional keys to be present and essentially be typed like a Record<any, unknown>
For example, here is in input interface:
interface ITestType {
  userId: string
  anonymousId: string,
  attributes: {
    color: string,
    size: {
      width: number,
      height: number
    }
  }
  properties: {
    [key: string]: unknown
  }
  timestamp: Date
}

And I could love to redefine this using some kind of utility type like so:
type NewType = DeepAllowNonDefinedKeys<ITestType>

Where DeepAllowNonDefinedKeys would allow the the following shape to be permitted:
{
  additionalField1: 'ssjhshs',
  userId: 'jdjdj',
  anonymousId: 'dhjdhd',
  attributes: {
    additionalField2: 'ssjhshs',
    color: 'blue',
    size: {
      width: 123,
      height: 456,
      isGiant: true
    }
  },
  properties: { fake: true },
  timestamp: new Date()
}

The reason I need this is for use with a library I use for validating objects as the exit and enter two services (I am currently using io-ts for this), but I have seen other libraries work similarly.
What io-ts does is it will permit an input object which has additional keys, but will only validate they keys which have been defined.
Any guidance you fine TypeScript wizards could provide would be greatly appreciated.
I had a first pass at this sort of working with the below, but it started to fall apart when I threw things like rested Record<any, unknown> types into the nested interface:
export type Primitive = string | number | boolean | bigint | symbol | undefined | null

export type AllowAdditionalProps<T> = T & { [key: string]: any }

export type DeepAllowAdditionalProps<T> = T extends Primitive
  ? T
  : T extends {}
  ? AllowAdditionalProps<T> &
      {
        [K in keyof T]: T[K] extends Primitive
          ? T[K]
          : AllowAdditionalProps<T[K]> & DeepAllowAdditionalProps<T[K]>
      }
  : AllowAdditionalProps<T>

The best place for such a question would be, obviously, Stack Overflow :)
If you're interested in validating (or rejecting) additional properties, class-validator + class-transformer may have some tricks.
If you're interested in only passing such an object to a function, it's easily solved with a generic argument, thanks to Typescript's structural type system:
function testFn<T extends ITestType>(t: T): void { }

testFn({
    additionalField1: 'ssjhshs',
    userId: 'jdjdj',
    anonymousId: 'dhjdhd',
    attributes: {
        additionalField2: 'ssjhshs',
        color: 'blue',
        size: {
            width: 123,
            height: 456,
            isGiant: true,
        },
    },
    properties: { fake: true },
    timestamp: new Date(),
});

Maybe a similar trick can be used to write an explicit type DeepExtended<T> or something?
Since this also looks kinda like a feature request, I'll leave the issue open for now, maybe someone will have an idea.
But we'll need more confirmation that such a type would be useful if we wanted to include it in ts-essentials.

It looks like this issue is stale and no one is interested in it so I can close it. If anyone believes this feature will be helpful, I can reopen it

authors: Beraliv duro quezak

repo: ts-essentials/ts-essentials


text:
Is there a way to determine responses without relying on status codes?

  {
    responses: {
      success: z.any(),
      notFound: z.any(),
      unexpected: z.any(),
    }
  }

And if there is no such way, is it possible to see a similar API in upcoming updates?

I'm unsure if we plan to support this since HTTP generally requires status codes as a convention. @oliverbutler thoughts on this?

Yup! To be honest it think sticking to HTTP codes here is best for the library as a whole.
Personally @MiiZZo if I was in your shoes I'd have a couple options to solve this in your app.

Make a list of codes with aliases in your app e.g.

const STATUS = {
   SUCCESS = 200,
   NOT_FOUND = 404
} as const

 {
    responses: {
      [STATUS.SUCCESS] z.any(),
      [STATUS.NOT_FOUND]: z.any(),
    }
  }

Another option could be to build yourself a helper which creates responses (I won't implement but heres a usage example)

 {
    responses: createResponses({
      success: z.any(),
      notFound: z.any(),
    })
  }

it could effectively do the mapping for you and return the shape ts-rest expects, numbers
Going to close as I don't think it's something we'll want to do at the library level, but please challenge if you strongly believe otherwise

@oliverbutler I mean, our server responses depend on the types of errors.
  {
    responses: {
      success: z.any(),
      invalidEmail: z.object({
        result: z.literal(false),
        error: z.object({
          type: z.literal('INVALID_EMAIL')
        })
      }),
      emailBusy: z.object({
        result: z.literal(false),
        error: z.object({ type: z.literal('EMAIL_BUSY') })
      })
    }
  }

authors: MiiZZo michaelangelo-io oliverbutler

repo: ts-rest/ts-rest


text:
Plugin rmsplice on DVB-C

Hi all
I'm doing some tests trying to remove the ads on a TS with SCTE-35.
The original stream have two programs, according to the manual rmsplice needs to be executed in a SPTS, so I use the zap plugin to get a file with only one program. After that I tried to execute the rmsplice, but the SPTS file and the result of rmsplice are exactly the same.
I noticed that the tests were made with T2-MI streams, does rmsplice works also on streams without T2-MI?
The original stream shows on the service that it's intended to be rmspliced:
|-----------------------------------------------------------------------------|
|     PID  Usage                                     Access          Bitrate  |
|   Total  Digital television service ................... C    4,414,650 b/s  |
|  0x0FAA  MPEG-2 Video (720x480i, @24 Hz, 4:3, 4:2:0) .. C    4,117,696 b/s  |
|  0x0FB1  SCTE 35 Splice Info .......................... C            1 b/s  |
|  0x0FB7  ATSC AC-3 Audio (eng, AC-3, stereo (L,R), @48  C      141,012 b/s  |
|  0x0FB8  ATSC AC-3 Audio (spa, AC-3, stereo (L,R), @48  C      141,012 b/s  |
|  0x1403  PMT .......................................... C       14,927 b/s  |
|          (C=Clear, S=Scrambled, +=Shared)                                   |

And the pid:
|=============================================================================|
|  PID: 0x0FB1 (4017)                                    SCTE 35 Splice Info  |
|  Service: 0x007B (123) CTN PNR HD AC3                                       |
|-----------------------------------------------------------------------------|
|  Single Service PID        Transport:                Discontinuities:       |
|  Bitrate: ......... 1 b/s  Packets: ............. 6  Expected: ......... 0  |
|  Access: .......... Clear  Adapt.F.: ............ 0  Unexpect: ......... 0  |
|                            Duplicated: .......... 0  Sections:              |
|                            PCR: ................. 0  Unit start: ....... 6  |

If it's needed I can upload the ts file to be reviewed.
Thanks
Gustavo

I noticed that the tests were made with T2-MI streams, does rmsplice works also on streams without T2-MI?

The tests are made on an original Russian T2-MI decapsulated stream because this was the first "real world" stream I got with real production SCTE-35 cues. But the magic of tsp is that any plugin can work on any input stream. A stream is just a stream. CVB-C, T2-MI or IPTV are all equal.

authors: gmarsico lelegard

repo: tsduck/tsduck


text:
feat(bullmq): improve dispatch job type for better payload type hinting

Information

Type
Breaking change

Feature
No

Using the generic type T when typing the job allows for easier autocompletion when specifying the payload for a job without having to explicitly set the generic parameter.
With a job like
import {JobController, JobMethods} from '@tsed/bullmq';

@JobController('example')
export default class ExampleJob implements JobMethods {
  handle(payload: { msg: string }) {
    console.info(payload)
  }
}

Instead of having to explicitly declare the generic type like this
import {JobDispatcher} from "@tsed/bullmq";
import ExampleJob from "../../jobs/ExampleJob";

export class ExampleService {

  constructor(
    private readonly dispatcher: JobDispatcher,
  ) {
  }

  async doStuff() {
    return this.dispatcher.dispatch<ExampleJob>(ExampleJob, {msg: 'Hello World'});
  }
}

typescript can now infer the type from the first job parameter.
import {JobDispatcher} from "@tsed/bullmq";
import ExampleJob from "../../jobs/ExampleJob";

export class ExampleService {

  constructor(
    private readonly dispatcher: JobDispatcher,
  ) {
  }

  async doStuff() {
    return this.dispatcher.dispatch(ExampleJob, {msg: 'Hello World'});
  }
}

Todos

[ ] Tests
[ ] Coverage
[ ] Example
[ ] Documentation

Test failed setting up node so I think you'd have to retry it manually @Romakita.

I could also change the commit to be a fix so we don't have to release another minor version.

:tada: This PR is included in version 7.39.0 :tada:
The release is available on:

v7.39.0
GitHub release

Your semantic-release bot :package::rocket:

authors: Romakita abenerd

repo: tsedio/tsed


text:
关于宽度问题

由于是自适应的，如果是与bootstrap的modal结合起来，会自动变的很宽，modal的宽度会自动添加滚动条

建议在外围加一个wrapper div，控制其宽度，然后city-picker设置为100%.


text:
Windows support

I created a new folder named 'win_support' to hold the binaries and headers required for building raylib. I faced issues with 'windows.h' due to duplicate values. I solved this by moving 'reload_libplug' to its own '.c' file and creating a separate 'plug.h' without the 'raylib' inclusion. This fix worked. Feel free to ask if you have more questions.
pd:sorry I closed it

How am I suppose to review 13k added lines? 😳

How am I suppose to review 13k added lines? 😳

the only  thing I did is the reload_libplug. the rest is copy paste from the originals codes

How am I suppose to review 13k added lines? 😳

the only  thing I did is the reload_libplug. the rest is copy paste from the originals codes

also I did the build.bat and nothing else  lmao

How am I suppose to review 13k added lines? 😳

also you are beautiful as good programmers do. we send the diff to an AI and We force it  to tell us the difference xd

I swear I don't believe the .md again, oh god cuz  it has a conflict with the merge and worst of all is that the ploblem comes from  the  README.md.
:( well I think you can not do merge so at least they have my port of the musializer

How am I suppose to review 13k added lines? 😳

Btw if you ask me why there are too many commits it's becouse I didn't know how to fix a merge conflict xd.

How am I suppose to review 13k added lines? 😳

now Is only 6k. I will do a chengelog here:

add a #ifdef linux for include the dlfcn.h
add a #ifdef _WIN32 for reload_libplug  and then link it with the modified version for windows
add a modify version of plug.h ( fixing the ploblem with the overide between windows.h and raylib)
add a build.bat ( change the gcc with clang if you like)

That's all I've added the rest is the Raylib lib and the .h of it all of these is on the win_support folder except of the build.bat

repo: tsoding/musializer


text:
请教一个问题，怎么复现抢购场景

我看了一个python例子，有些很快的抢购，url是生成的，如茅台，但是有些没人抢的抢购的url，是固定的。请问下，怎么复现前一种场景呢？从开始抢购到生成抢购地址，再到购买。可以付费请教。Q152--134---9560

原python版本有第一种方法，不过不知道现在还能不能用了 目前我正在开发中，如果不能用了那我也没办法，单独破解抢购接口的费用可不低

原版本我上次抢购没成功。我也不知道是不是可用。我没有办法复现抢购的场景 ？我自己去实现抢购。

先随便找个抢购商品进行抢购，再去抓包，拿到request和response

原python版本有第一种方法，不过不知道现在还能不能用了 目前我正在开发中，如果不能用了那我也没办法，单独破解抢购接口的费用可不低

可以实现么？

原python版本有第一种方法，不过不知道现在还能不能用了 目前我正在开发中，如果不能用了那我也没办法，单独破解抢购接口的费用可不低

可以实现么？

没研究过，一般来说大厂风控都很严格，真要实现起码要5W块左右。而且你不一定能抢中，这种抢购都预先安排好中奖用户了，不可能单纯看谁快谁抢得到的  这个项目我也不想维护了 就当图一乐吧兄弟

老师你好，如果愿意支付一定的付费用可否维持

原python版本有第一种方法，不过不知道现在还能不能用了 目前我正在开发中，如果不能用了那我也没办法，单独破解抢购接口的费用可不低

可以实现么？

你好，可以技术交流吗？我微信是：lengqin1024

我没研究。
在 2022-01-27 11:15:10，"gk1991" @.***> 写道：
原python版本有第一种方法，不过不知道现在还能不能用了 目前我正在开发中，如果不能用了那我也没办法，单独破解抢购接口的费用可不低
可以实现么？
没研究过，一般来说大厂风控都很严格，真要实现起码要5W块左右。而且你不一定能抢中，这种抢购都预先安排好中奖用户了，不可能单纯看谁快谁抢得到的 这个项目我也不想维护了 就当图一乐吧兄弟
老师你好，如果愿意支付一定的付费用可否维持
原python版本有第一种方法，不过不知道现在还能不能用了 目前我正在开发中，如果不能用了那我也没办法，单独破解抢购接口的费用可不低
可以实现么？
你好，可以技术交流吗？我微信是：lengqin1024
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

authors: D-P-S-Studio geeeeeeeek safetys123 tsung-sc

repo: tsung-sc/JDPurchaser


text:
[SYNC]

Thanks for sending a pull request!
Please make sure you click the link above to view the contribution guidelines,
then fill out the blanks below.
Description
(Brief description on what this PR is about)
What does this implement/fix? Explain your changes.
...
Pull request type

[ ] [DATASET] Add a new dataset
[ ] [BUGFIX] Bugfix
[ ] [FEATURE] New feature (non-breaking change which adds functionality)
[ ] [BREAKING] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] [STYLE] Code style update (formatting, renaming)
[ ] [REFACTOR] Refactoring (no functional changes, no api changes)
[ ] [BUILD] Build related changes
[ ] [DOC] Documentation content changes
[ ] [OTHER] Other (please describe):

Changes

Feature1, tests, (and when applicable, API doc)
Feature2, tests, (and when applicable, API doc)

or

Fix1, tests
Fix2, tests

Does this close any currently open issues?
...
Any relevant logs, error output, etc?
...
Checklist
Before you submit a pull request, please make sure you have to following:
Essentials

[ ] PR's title starts with a category (e.g. [BUGFIX], [FEATURE], [BREAKING], [DOC], etc)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage and al tests passing
[ ] Code is well-documented (extended the README / documentation, if necessary)
[ ] If this PR is your first one, add your name and github account to AUTHORS.md

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Codecov Report

Merging #12 (986f955) into master (52f70e5) will decrease coverage by 0.14%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   79.01%   78.87%   -0.15%
==========================================
  Files          19       19
  Lines         710      710
==========================================
- Hits          561      560       -1
- Misses        149      150       +1

Impacted Files
Coverage Δ

EduData/DataSet/download_data/download_data.py
90.58% <ø> (-1.18%)
:arrow_down:

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 52f70e5...986f955. Read the comment docs.

authors: codecov-commenter tswsxk

repo: tswsxk/EduData


text:
Deleted composer.lock

These days, we prefer libraries or skeletons not to contain composer.lock.
(see koriym/Koriym.PhpSkeleton, symfony/skeleton or Silex )

@77web thanks!

repo: ttskch/symfony-micro-skeleton


text:
IOFail and map(flatten) causes a panick

The following program causes a panick.  (Maybe type check error?)
module Main;
main: IO ();
main = (
    do {
        let foo: IOFail (Array (Array String)) = pure $ [[ "a" ]];
        let _ = *foo.map(flatten);
        pure()
    }
    .try(eprintln)
);

The error message is shown below.
(%a0 -> %a1) -> Std::IO::IOFail %a0 -> Std::IO::IOFail %a1
(Std::Array (Std::Array Std::String) -> Std::Array Std::String) -> Std::IO::IOFail (Std::Array (Std::Array Std::String)) -> Std::IO::IOFail (Std::Array Std::String)
thread 'main' panicked at 'assertion failed: ok', src/ast/program.rs:875:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

On the other hand, if you use IO instead of IOFail, no panick occurs.
module Main;
main: IO ();
main = (
    let foo: IO (Array (Array String)) = pure $ [[ "a" ]];
    let _ = *foo.map(flatten);
    pure()
);

We first partially fix this issue by affbb2b.

repo: tttmmmyyyy/fixlang


text:
chore(deps): update renovate/renovate docker tag to v35.113.2

This PR contains the following updates:

Package
Update
Change

renovate/renovate
minor
35.110.1 -> 35.113.2

Release Notes

renovatebot/renovate
v35.113.2
Compare Source
Build System

deps: update aws-sdk-js-v3 monorepo to v3.347.1 (#22613) (65f9381)

v35.113.1
Compare Source
Miscellaneous Chores

deps: update dependency type-fest to v3.11.1 (#22603) (d00e26d)

Documentation

document asdf .tool-versions support for Node.js (#22604) (48fbac6)

Build System

deps: update aws-sdk-js-v3 monorepo to v3.347.0 (#22605) (12a95b4)

v35.113.0
Compare Source
Features

manager/npm: support parsing lockfileVersion=3 (#22281) (bbd3c60)

Documentation

about us: update contributors list and numbers (#22559) (9dbc1d0)

v35.112.0
Compare Source
Features

support registry discovery in the bazel-module manager (#22563) (d99048d)

v35.111.0
Compare Source
Features

mix: support constraints and use erlang v26 (#22537) (c89012c)

Documentation

self-hosting: warn about outdated config example (#22583) (0bb299e)

Code Refactoring

replace as assertions (#22442) (be2a895)

v35.110.2
Compare Source
Bug Fixes

worker: don't coerce valid semver versions (#22586) (2f38696)

Tests

endoflife: Mock time (#22575) (4a9f5d9)

Documentation

update references to renovate/renovate to v35.110.1 (#22580) (b86db31)

Code Refactoring

Clear distinction between generic and HttpError handlers (#22576) (a700ccc)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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

repo: tubenhirn/dagger-ci-modules


text:
Suggestion: Adding types to DefinitelyTyped

Hi, I've been recently using storybook and found this addon. I found that there is not type definition file at DefinitelyTyped. It was ok with just making folders and "declare module", but I tried making one for myself and the community. This is my first time making it, so there should be something missing or wrong. It would be really nice if someone could help.

DefinitelyTyped/DefinitelyTyped#29512
Here is the PR that I made to the DefinitelyTyped repo. I tried my best to analyze the code and mimic others d.ts...

PR merged...

<3

@lonyele  sorry for long reply, had a lot of work.
Want to say a lot of thank to you for that PR.
Right now we are switching to TypeScript and your PR with types helps a lot. Thanks :)

Especially because current addon's interfaces is not perfect for typing...
Functions (withReadme / withDocs) accepts different types and different number of arguments and depends on that return different result... ))

Yeah, that's true. I think types at DefinitelyType is an easier version. I looked up all codes except vue.js part, It seems like It will take some time switching all of it to fully support Typescript


text:
Lowercase start of @param documentation and default value

https://github.com/tudo-aqua/bgw-core/blob/0dd6dd9c8943e992cfa65fd7aaf5204d485d6b7f/src/main/kotlin/tools/aqua/bgw/core/BoardGameApplication.kt#L25

Also add the default value of the parameter "windowTitle"

repo: tudo-aqua/bgw-core


text:
Fix PBXContainerItemProxy.remoteGlobalID

Short description 📝
https://github.com/tuist/xcodeproj/pull/425 changed PBXContainerItemProxy.remoteGlobalID into a string to support references outside of the project. This created a problem because if setting the id from a PBXObject.uuid, this would changed upon reference resolution. Outsider users of xcodeproj also don't have access to the PBXReference
Solution 📦
Create an enum that allows for setting an .object as before or a .string for remote projects

I updated the CHANGELOG here

authors: pepibumur yonaskolb

repo: tuist/xcodeproj


text:
URL non clickable when there is no TLD in the domain name.

I working on a local network so we don't use TLD in the domain name for our servers. Therefore the url in our JSON do not contain a TLD.
It seems to be that you rely on that to make text clicable or not.
Imho this should be fixed :)

:+1:
Maybe it should use @dperini's regex-weburl gist.
See also: In search of the perfect URL validation regex

The gist has been updated:  https://gist.github.com/dperini/729294

Thanks @dperini, regex updated.

authors: dperini jamesrom kyro38 tulios

repo: tulios/json-viewer


text:
fix: ignore global flag on regexp topic

closes #1619

@Nevon @tulios I would appreciate it if you took a look at this whenever you have a free minute?

repo: tulios/kafkajs


text:
Ege frontend

not sure why there is some additions...

@neniman I have fixed most of the conflicts but I think you should double check the remaining one

It is at addproject.vue and marked with // here to ... //here

repo: tum-ei-esi/wot-marketplace


text:
Expanding the Dataset Spatial Extend preview

Feature description
In the current version, the Spatial Dataset extent preview is part of the Additional Info table.
The whole potential of the preview is not used and it is required to move the Spatial Dataset extent preview as separate section (as marked in the following image):

On the left side of the image with red color is marked position of  Spatial Dataset extent preview as part of Additional Info table. On the right side of the image with green is marked position of  Spatial Dataset extent preview right as separate section after Data and Resources section.
Suggested solution
No response
Code snippets
No response

Fixed in #53

authors: BWibo MarijaKnezevic

repo: tum-gis/ckan-docker


text:
question: Relationship between asset and asset_type

I know that each asset will have its own asset_type, like a server will use SERVER_NODE by default. But is there any relationship between asset like server and data center? For example asset node1 belong to data center aws., in that case is it possible to use collins to manage that relationship?
I read through the documentation, however i'm unable to figure out that relationship.

@onimsha Nope, there is no implicit or explicit hierarchy between assets (and their types). You can create your own relationships by, for example, declaring that CHASSIS_ASSET attribute on server_nodes is the asset tag of the SERVER_CHASSIS asset the server lives in. However, that relationship is entirely up to you and your tooling. We have typically done things like this (what hypervisor a VM is on, or what chassis a blade is in, what VC a switch is in) with arbitrary fields, and then prettified the UI with a few decorators to linkify them (https://tumblr.github.io/collins/configuration.html#tag decorators)

thanks @byxorna

authors: byxorna onimsha

repo: tumblr/collins


text:
[REQUEST] Can we have 1.0/1.5 bpw internally?

Problem
On low target bpw like 2.1 to 3.2. With the tested accuracy on some layer can be very high like 0.995+, especially true for larger model(see below data), if we can get 1.0/1.5 bpw on those layer, remaining quota can go to other more important layer potentially give overall better result.
Solution
Introduce something like "0.05:2b_64g/0.95:1b_64g s4" and "0.5:2b_64g/0.5:1b_64g s4". (I'm not sure if it can work this way)
Explanation

(Green is ~14B Red is ~30B)
1-5 data is from ~1B-~70B quantization log from v0.2.4. You can see 70B+ models/purple acc can get very high to 0.99-0.999 at low bpw.
Acknowledgements

[X] I have looked for similar requests before submitting this one.
[X] I understand that the developers have lives and my issue will be answered when possible.
[X] I understand the developers of this program are human, and I will make my requests politely.

It's difficult to go below 2 bits per weight, simply because that's the minimum amount of bits required to represent a value that can be either positive, negative or zero. Technically you can do it in ~1.58 bits, but this requires a grouped encoding (e.g. 20 weights in a 32 bit field), and that complicates the kernels a lot.
At 1 bit per weight you've only got positive and negative weights within each group, and in the experiments I've done that's the point at which things completely break down. Keep in mind those trend lines will have to diverge to -inf somewhere between 0 bpw and 2.13 bpw.
I do still plan to revisit quantization at some point, and I'm considering some options that might achieve less than 2 bpw on average without completely breaking the model. But they will need a different encoding scheme, I think, and currently I'm stuck on vision models it seems. :shrug:

authors: Originalimoc turboderp


text:
WebView state is not saved/restored breaking rotation

The WebView's state isn't saved in the bundle so it is lost when the activity hosting it is suspended (such as due a configuration change like device rotation).
TurbolinksView should implement the save and restore instance methods, something like this:
@Override
protected Parcelable onSaveInstanceState() {
	// Create a bundle to put super parcelable in
	Bundle bundle = new Bundle();
	bundle.putParcelable("super", super.onSaveInstanceState());
	webView.saveState(bundle);
	return bundle;
}

@Override
protected void onRestoreInstanceState(Parcelable state) {
	Bundle bundle = (Bundle) state;
	webView.restoreState(bundle);
	super.onRestoreInstanceState(bundle.getParcelable("super"));
}

I'm just not sure how to get the webView in order to submit a PR.

@candrews We've found for most activities we don't need to save specific activity instance state for device rotation, since the majority of the UI is the WebView and its state is managed by Turbolinks (and swapping native resources are not necessary). We have the following on our <activity> declarations in our manifest to avoid automatic activity restarts for orientation or screen size changes:
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"

https://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange
The library doesn't not manage the activity lifecycle, and I don't see us changing that anytime soon. If, however you'd like to manage the activity lifecycle and instance state, you can easily obtain a reference to the webview in your activity from:
TurbolinksSession.getDefault().getWebView()

With the WebView reference, you can save any instance state you'd like.

I agree that having the Activity use TurbolinksSession.getDefault().getWebView() to save/restore state is a good workaround and I'm doing that today - but, it does seem surprising that TurbolinksView doesn't save/restore state because other views do. For example, if I simply put a WebView in my layout, it would automatically have it's state saved/restored, but changing that WebView to a TurbolinksView doesn't.

@candrews I agree that it would probably be beneficial as a default. Curious, do you have other instance state that you're managing for native UI?
We're going to cut a new version of the library soon. Currently, there's not a direct way to access the WebView in TurbolinksView. If there's a straightforward way of doing that without it turning into a leaky reference, we can save the instance state easily like you mentioned.

I do not currently have any other instance state that I'm managing for the native UI.
I feel like there has to be away to do this... TurbolinksView has a reference to TurbolinksSession and that has the WebView so can it be retrieved using that chain?

@candrews If you have a code suggestion, we'd be happy to look at it via a pull request. That's often the best way to move along an issue you feel strongly about. Thanks!

@candrews Version 1.0.3 has just been released. Note that the WebView can now be obtained internally in TurbolinksView via:
refreshLayout..getChildAt(1)

A test has also been added for this:
https://github.com/turbolinks/turbolinks-android/blob/master/turbolinks/src/test/java/com/basecamp/turbolinks/TurbolinksViewTest.java#L38

authors: candrews jayohms lateplate

repo: turbolinks/turbolinks-android


text:
Is it still maintained?

Is the project still alive? I am about to start to implement an app using this

Very much so. Build away!

authors: Fuffi packagethief

repo: turbolinks/turbolinks


text:
Add table aws_docdb_cluster_snapshot Closes #1008

Integration test logs

Logs
Outputs:

account_id = "533793682495"
aws_partition = "aws"
region_name = "us-east-1"
resource_aka = "arn:aws:rds:us-east-1:533793682495:cluster-snapshot:turbottest92921"
resource_name = "turbottest92921"

Running SQL query: test-get-query.sql
[
  {
    "arn": "arn:aws:rds:us-east-1:533793682495:cluster-snapshot:turbottest92921",
    "db_cluster_identifier": "turbottest92921",
    "db_cluster_snapshot_identifier": "turbottest92921",
    "engine": "docdb",
    "storage_encrypted": false,
    "type": "manual"
  }
]
✔ PASSED

Running SQL query: test-hydrate-query.sql
[
  {
    "db_cluster_snapshot_attributes": [
      {
        "AttributeName": "restore",
        "AttributeValues": null
      }
    ],
    "db_cluster_snapshot_identifier": "turbottest92921"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "arn": "arn:aws:rds:us-east-1:533793682495:cluster-snapshot:turbottest92921",
    "db_cluster_identifier": "turbottest92921",
    "db_cluster_snapshot_identifier": "turbottest92921",
    "type": "manual"
  }
]
✔ PASSED

Running SQL query: test-not-found-query.sql
null
✔ PASSED

Running SQL query: test-turbot-query.sql
[
  {
    "akas": [
      "arn:aws:rds:us-east-1:533793682495:cluster-snapshot:turbottest92921"
    ],
    "db_cluster_snapshot_identifier": "turbottest92921",
    "title": "turbottest92921"
  }
]
✔ PASSED

POSTTEST: tests/aws_docdb_cluster_snapshot

TEARDOWN: tests/aws_docdb_cluster_snapshot

SUMMARY:

1/1 passed.

Example query results

Results
> select
  db_cluster_snapshot_identifier,
  type,
  storage_encrypted,
  split_part(kms_key_id, '/', 1) kms_key_id
from
  aws_docdb_cluster_snapshot
where
  not storage_encrypted;
+------------------------------------------------+-----------+-------------------+------------+
| db_cluster_snapshot_identifier                 | type      | storage_encrypted | kms_key_id |
+------------------------------------------------+-----------+-------------------+------------+
| rds:docdb-2022-05-16-13-57-40-2022-05-17-00-01 | automated | false             | <null>     |
+------------------------------------------------+-----------+-------------------+------------+

> select
  db_cluster_snapshot_identifier,
  cluster_create_time,
  engine,
  engine_version
from
  aws_docdb_cluster_snapshot;
+------------------------------------------------+---------------------------+--------------+-------------------------+
| db_cluster_snapshot_identifier                 | cluster_create_time       | engine       | engine_version          |
+------------------------------------------------+---------------------------+--------------+-------------------------+
| rds:docdb-2022-05-16-13-57-40-2022-05-17-00-01 | 2022-05-16T19:29:37+05:30 | docdb        | 4.0.0                   |
| manual-snap                                    | 2022-03-25T17:04:56+05:30 | aurora-mysql | 5.7.mysql_aurora.2.09.2 |
| db-cluster-instance-snapshot                   | 2022-03-25T17:04:56+05:30 | aurora-mysql | 5.7.mysql_aurora.2.09.2 |
+------------------------------------------------+---------------------------+--------------+-------------------------+

This is already captured in aws_rds_db_cluster_snapshot

This is addressed by rds_db_clsuter_snapshot

repo: turbot/steampipe-plugin-aws


text:
azuread_directory_role - error (SQLSTATE HV000) Closes #114

Example query results

Results
Add example SQL query results here (please include the input queries as well)

steampipe query 'select * from azuread_directory_role'
Error: table 'azuread_directory_role' column 'member_ids' requires hydrate data from getDirectoryRoleMembers, which failed with error null.
(SQLSTATE HV000)
+----+-------------+--------------+------------------+------------+-------+-----------+------+
| id | description | display_name | role_template_id | member_ids | title | tenant_id | _ctx |
+----+-------------+--------------+------------------+------------+-------+-----------+------+
+----+-------------+--------------+------------------+------------+-------+-----------+------+
steampipe query 'select * from azuread_directory_role limit 1'
+--------------------------------------+-----------------------------------------------------------------------------------------------+------------------------------+--------------------------------------+------------+------------------------------+--------------------------------------+-------------------------------+
| id                                   | description                                                                                | display_name                 | role_template_id                     | member_ids | title                        | tenant_id                            | _ctx                          |
+--------------------------------------+-----------------------------------------------------------------------------------------------+------------------------------+--------------------------------------+------------+------------------------------+--------------------------------------+-------------------------------+
|  | Can see only tenant level aggregates in Microsoft 365 Usage Analytics and Productivity Score. | Usage Summary Reports Reader |  | []         | Usage Summary Reports Reader | <tenant_id> | {"connection_name":"azuread"} |
+--------------------------------------+-----------------------------------------------------------------------------------------------+------------------------------+--------------------------------------+------------+------------------------------+--------------------------------------+-------------------------------+
Hopefully is this information sufficient. I should note that the user permission are "Global Reader".

steampipe query 'select * from azuread_directory_role'
Error: table 'azuread_directory_role' column 'member_ids' requires hydrate data from getDirectoryRoleMembers, which failed with error {"Code":"","Message":"AzureCLICredential: signal: killed"}. (SQLSTATE HV000)
+----+-------------+--------------+------------------+------------+-------+-----------+------+ | id | description | display_name | role_template_id | member_ids | title | tenant_id | _ctx | +----+-------------+--------------+------------------+------------+-------+-----------+------+ +----+-------------+--------------+------------------+------------+-------+-----------+------+
steampipe query 'select * from azuread_directory_role limit 1' +--------------------------------------+-----------------------------------------------------------------------------------------------+------------------------------+--------------------------------------+------------+------------------------------+--------------------------------------+-------------------------------+ | id | description | display_name | role_template_id | member_ids | title | tenant_id | _ctx | +--------------------------------------+-----------------------------------------------------------------------------------------------+------------------------------+--------------------------------------+------------+------------------------------+--------------------------------------+-------------------------------+ | | Can see only tenant level aggregates in Microsoft 365 Usage Analytics and Productivity Score. | Usage Summary Reports Reader | | [] | Usage Summary Reports Reader | <tenant_id> | {"connection_name":"azuread"} | +--------------------------------------+-----------------------------------------------------------------------------------------------+------------------------------+--------------------------------------+------------+------------------------------+--------------------------------------+-------------------------------+
Hopefully is this information sufficient. I should note that the user permission which are used to run the queries are "Global Reader".

Hi @hannewijkBDO ,
Thank you for the information. It is encouraging to see that we now receive error messages instead of null values.
As you mentioned, we attempted to reproduce the error on our side by assigning different levels of permissions and exclusively GlobalReaders.
However, we are still not able to reproduce the error. We can still get the result with & without the limit.
> select * from azuread_directory_role
+--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+--------------------------------------+----------->
| id                                   | description                                                                                | display_name                        | role_template_id                     | member_ids>
+--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+--------------------------------------+----------->
| 3aed8c5a-8882-49da-8578-45373ff18cb8 | Allowed to view, set and reset authentication method information for any non-admin user.                                                   | Authentication Administrator        | c4e39bd9-1100-46d3-8c65-fb160da0071f | []        >
| 849bf7bb-eb65-48ed-9dfa-39b6155e353c | Can read and manage compliance configuration and reports in Azure AD and Microsoft 365.                                                    | Compliance Administrator            | 17315797-102d-40b4-93e0-432062caca18 | []        >
| 1576ba81-b874-4f53-99ca-12ccfcc8f369 | Can perform common billing related tasks like updating payment information.                                                                | Billing Administrator               | b0f54661-2d74-4c50-afa3-1ec803f12efe | ["ac26c9c6>
| b9937625-4e6b-409f-84ac-33a3b8754ecd | Can read sign-in and audit reports.                                                                                | Reports Reader                      | 4a5d8f65-41da-4de4-8968-e035b65339cf | ["15518ed6>
| 8f98d949-be31-45fd-80b2-97db18304df5 | Can read security information and reports in Azure AD and Office 365.                                                                      | Security Reader                     | 5d6b6bb7-de71-4623-b4af-96380a352509 | ["15518ed6>
| 72971a1d-dea5-42f7-b600-68270ce5e939 | Can read everything that a Global Administrator can, but not update anything.                                                              | Global Reader                       | f2ef992c-3afb-46b9-b7cf-a126ee74c451 | ["06fd46b0>
| efabd866-6be5-4ee8-af22-bf854b177920 | Can manage all aspects of users and groups, including resetting passwords for limited admins.                                              | User Administrator                  | fe930be7-5e62-47db-91af-98c3a49a38b1 | ["2f617226>
| fba1cf3f-e06d-48a8-9269-cf477d28abfa | Can create and manage the authentication methods policy, tenant-wide MFA settings, password protection policy, and verifiable credentials. | Authentication Policy Administrator | 0526716b-113d-4c15-b2c8-68e3c22b9f80 | []        >
| d9d9b915-2aef-4bca-862c-1d10c908a2e4 | Deprecated - Do Not Use.                                                                                | Device Managers                     | 2b499bcd-da44-4968-8aec-78e1674fa64d | ["0845b201>
| 571dc422-4646-477f-b851-0b95a451bedc | Can read and write basic directory information. For granting access to applications, not intended for users.                               | Directory Writers                   | 9360feb5-f418-4baa-8175-e2a00bac4301 | ["0845b201>
| d7c0f498-df20-4efd-b1ca-33a8bb239047 | Can create and manage all aspects of app registrations and enterprise apps.                                                                | Application Administrator           | 9b895d92-2cd3-44c7-9d02-a6ac2d5ea5c3 | ["2f617226>
| 38fd1c77-cf7b-42ce-b96c-3e61ff8516ae | Can manage Conditional Access capabilities.                                                                                | Conditional Access Administrator    | b1be1c3e-b65d-4f19-8427-f6fa0d97feb9 | ["92f0bf94>
| 2e15cfcd-41e2-4019-a81c-d3fa8240fa47 | Can read basic directory information. Commonly used to grant directory read access to applications and guests.                             | Directory Readers                   | 88d8e3e3-8f55-4a1e-953a-9b9898b8876b | ["0fb1aa5d>
| f48b5c11-744d-42bf-8acc-57a665c600b4 | Can manage all aspects of Azure AD and Microsoft services that use Azure AD identities.                                                    | Global Administrator                | 62e90394-69f5-4237-9190-012177145e10 | ["08e2448b>
| eba14deb-0611-46fd-933e-aa29b4506145 | Security Administrator allows ability to read and manage security configuration and reports.                                               | Security Administrator              | 194ae4cb-b126-40b2-bd5b-6091b380977d | ["98d2628a>
| 23de5799-d17c-456d-b3a1-ad806ebb7221 | Can create application registrations independent of the 'Users can register applications' setting.                                         | Application Developer               | cf1c38e5-3621-4004-a7cb-879624dced7c | ["92f0bf94>
+--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+--------------------------------------+----------->

> select * from azuread_directory_role limit 1
+--------------------------------------+-----------------------------------------------------------------------------+-----------------------+--------------------------------------+------------------------------------------+-----------------------+--------------------->
| id                                   | description                                                                 | display_name          | role_template_id                     | member_ids                               | title                 | tenant_id           >
+--------------------------------------+-----------------------------------------------------------------------------+-----------------------+--------------------------------------+------------------------------------------+-----------------------+--------------------->
| 1576ba81-b874-4f53-99ca-12ccfcc8f369 | Can perform common billing related tasks like updating payment information. | Billing Administrator | b0f54661-2d74-4c50-afa3-1ec803f12efe | ["ac26c9c6-4243-4da4-bf84-7ef3e9e9e4f2"] | Billing Administrator | cdffd708-7da0-4cea-a>
+--------------------------------------+-----------------------------------------------------------------------------+-----------------------+--------------------------------------+------------------------------------------+-----------------------+--------------------->

We would appreciate it if you could let us know the following

Which authentication mode are you using, such as AzureCLI Based authentication, client secret authentication or anything else as per mentioned in doc ?
Additionally, could you please share your ~/.steampipe/config/azuread.spc file with us (ensuring that any sensitive information is removed)?
In our case, we tested the above scenarios with Azure CLI-based Authentication. Could you please give it a try?

This will help us to match your settings at our end to be able to reproduce.
Thank You!

Hi @ParthaI,
To authenticate to azure, i have used the AzureCLI - devicecode flow to login (az login --device-code).
Nothing is changed in the config file as you can see below:
cat ~/.steampipe/config/azuread.spc
connection "azuread" {
plugin = "azuread"
Defaults to "AZUREPUBLICCLOUD". Valid environments are "AZUREPUBLICCLOUD", "AZURECHINACLOUD" and "AZUREUSGOVERNMENTCLOUD"
environment = "AZUREPUBLICCLOUD"
You can connect to Azure using one of options below:
Use client secret authentication (https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#option-2-create-a-new-application-secret)
tenant_id     = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
client_id     = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
client_secret = "ZZZZZZZZZZZZZZZZZZZZZZZZ"
Use client certificate authentication (https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#option-1-upload-a-certificate)
required options:
tenant_id             = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
client_id             = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
certificate_path      = "~/home/azure_cert.pem"
certificate_password  = "notreal~pwd"
Use a managed identity (https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview)
This method is useful with Azure virtual machines
tenant_id  = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
client_id  = "YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY"
enable_msi = true
msi_endpoint = "http://169.254.169.254/metadata/identity/oauth2/token"
If no credentials are specified, the plugin will use Azure CLI authentication
}

@hannewijkBDO Thanks for sharing the info for this exciting case; as @ParthaI is absent today, trying to get some more input here
This is what we tried in brief,

Specified Global Reader role in Azure AD level
Specified Reader as one of the subscription levels, which is required to have. I hope this is assigned and it allows your az login
We follow the same az login  CLI-based authentication.
With a similar setting in the SPC file

We still need to replicate it. As the select * from azuread_directory_role works for me as well
Would you mind providing a few more inputs, such as

Steampipe CLI version you are using, i.e. steampipe -v & azure-ad plugin version? (Apology if I missed it in any conversation)

Are you also using the Azure plugin with the same tenant? Please query your subscription table and check if it works.

Can you provide us with your assigned in subscription level permission in the same tenant?

Does this query work?

select * from azuread_directory_role where display_name in ( 'Directory Writers', 'Authentication Administrator', 'Security Reader')

Trying to validate your get call
 select * from azuread_directory_role where id in ('1576ba81-b874-4f53-99ca-12ccfcc8f369', '23de5799-d17c-456d-b3a1-ad806ebb7221', '72971a1d-dea5-42f7-b600-68270ce5e939')

Note that you can get these IDs using the Cloud-Shell terminal; the above Role IDs may be different for different tenants
Use these two PS commands.
PS /home/abc> Connect-AzureAD
PS /home/abc> Get-AzureADDirectoryRole

Sample screen attached,

Sorry for the inconvenience; we will check this and try our best to resolve it.

authors: ParthaI hannewijkBDO rajlearner17

repo: turbot/steampipe-plugin-azuread


text:
Demo Update - Allow User To Preview, Add And Edit CSV/TSV File Headers

This pull request addresses #106 and adds functionality and testing to the Demo. The goal is to help new users successfully use the pivot table by letting them preview the headers of their uploaded files, edit those headers if desired, and add headers if their CSV/TSV file did not include them.
Specific functionality added:

File upload now limited to CSV/TSV (previous file upload allowed all file extensions)
If "Use Sample Dataset" is toggled and a file is uploaded, user sees previews of headers
User can edit those uploaded headers by clicking "Edit Headers" button
User can add a header row by clicking "Oops, I Need To Add My Headers!" button
Validation does not allow a user to add an empty header row
Unit testing added in app.spec.js

Notes on changes:

In package.json, added Toggle-Display library for conditional display
In package.json, added .css to the list of extensions mocked in unit testing
In package.json, changed `enzyme-adapter-react-16' from "^1.1.0" to "1.1.0" because a newer version was causing errors in 'Drawer.spec.js'

@scottcarol this looks awesome and thank you! I will take a look at it this week and review / give feedback or merge in depending! I was away this weekend so I didn't have the chance.

Awesome @turnerniles definitely open to feedback!

@scottcarol This is super cool! Wow! It's great to have the option to edit the headers or add a new header. 👍. I left you some comments that I think should be fairly quick to change and then we can merge. Let me know if you have any comments/questions. I will be quicker to respond this week.

Great feedback @turnerniles. I combined addHeaders and saveEditedHeaders into a new function called saveNewHeaders and moved the form validation there as well. Test also updated.

@scottcarol Amazing!! Thank you! Merging now.

@turnerniles Happy to help, thanks for creating this great library.

authors: scottcarol turnerniles

repo: turnerniles/react-virtualized-pivot


text:
The display and LED do not turn on, and wired/wireless connections do not work.

Robot Model
Turtlebot4 Standard
ROS distro
Humble
Networking Configuration
Simple Discovery
OS
Ubuntu 22.04
Built from source or installed?
Select One
Package version
22.04 ros2 humble
Type of issue
Other
Expected behaviour
Actual behaviour
When I turn on Turtlebot, the LED light and display do not come on and wired/wireless connection is not possible. It seems to be a hardware problem.

https://github.com/turtlebot/turtlebot4/assets/149559257/a921921d-0585-42ea-8548-d92e6f3ff8d2
Error messages
No response
To Reproduce
Other notes
No response

Hi @gmchoi96
Can you please verify if the LCB ribbon cable is securely connected? Its loops underneath the PCB.

@RustyCPR
Hi
I checked  LCB ribbon cable and it does not work even though I disconnected the cable and put it back in
it does not work

Thanks @SangHyun-94
I'll process an RMA for a replacement LCD. I have an existing support email with ROAS that I will reply to.
Regards,
Rusty


text:
URL changed from https to http

I am running tusd behind a reverse proxy that maps https (on port 3080) to http (on port 1080, tusd default).  My endpoint is defined to be https://my_server:3080/files/.  But I am getting a javascript console error from tus-js-client/dist/lib/upload.js (line 504):
Refused to connect to 'http://my_server:3080/files/e3977e2e17175f935be4f00da3946d13' because it violates the following Content Security Policy directive: "connect-src 'self' blob: https://my_server:3080/".
Somewhere, the https that I provided in the endpoint is getting changed to http!?  The tusd docs talk a little about proxy issues here.  In particular, it says to provide the X-Forwarded-Host and X-Forwarded-Proto headers, I am wondering if that may be the problem.  The host is OK but the proxy and tusd are running on the same host.  I am running a small little proxy server using nodejs and http-proxy, as described here.  I don't know where to set something to provide the headers.  The uploads object has a headers option, described as "an object with custom header values used in all requests" but I can't find any documenation or examples showing how that should be used.  Can anyone enlighten me?
One other point that may be important:  I am using tus-js-client in conjunction with Uppy.  The endpoint is specified in two places in my code:  in the initialization of the Uppy dashboard, and again in a direct call to tus.Upload that I am making in order to also upload the thumbnail images.  The thumbnails are successfully uploaded, the error is thrown when Uppy tries to upload the main files.  So maybe the problem is with my usage of Uppy?
In summary, I am not sure if this forum is the right place for this problem, but I am starting here because this is where the error is thrown from.
Thanks in advance, Jeff

SOLVED!  The problem was a missing xfwd: true option in creation of the http-proxy server.
Ack!

Glad to read that you found the problem!

authors: Acconut jbmulligan

repo: tus/tus-js-client


text:
动态表单只有输入框才能正常报错！！！！！！！！！！！！

描述错误
<template>     <n-form ref="formRef" :model="dynamicForm" :style="{ maxWidth: '640px' }">       <template :key="index" v-for="(item, index) in dynamicForm.hobbies">         <n-form-item           label="爱好"           :path="hobbies[${index}].hobby"           :rule="{             required: true,             message: 请输入爱好,             trigger: ['input', 'blur'],           }"         >           <n-input v-model:value="item.hobby" placeholder="Input" />         </n-form-item>         <n-form-item           label="爱好"           :path="hobbies[${index}].hobby1"           :rule="{             required: true,             message: 请输入爱好,             trigger: ['input', 'blur'],           }"         >           <n-checkbox-group v-model:value="item.hobby1">             <n-space>               <n-checkbox value="Option 1"> Option 1 </n-checkbox>               <n-checkbox value="Option 2"> Option 2 </n-checkbox>               <n-checkbox value="Option 3"> Option 3 </n-checkbox>             </n-space>           </n-checkbox-group>         </n-form-item>         <n-form-item label="Select" :path="hobbies[${index}].hobby2">           <n-select             v-model:value="item.hobby2"             placeholder="Select"             multiple             :options="[               {                 label: 'saaa',                 value: 'saa',               },               {                 label: 'ddsds',                 value: '21111',               },             ]"           />         </n-form-item>         <n-form-item label="Select" :path="hobbies[${index}].hobby3">             <n-checkbox v-model:checked="item.hobby3">             Checkbox             </n-checkbox>         </n-form-item>         <n-form-item           label="只有输入框正常？？？"           :path="hobbies[${index}].hobby4"           :rule="{             required: true,             message: 只有输入框正常？？？,             trigger: ['input', 'blur'],           }"         >           <n-input v-model:value="item.hobby4" placeholder="Input" />         </n-form-item>         <n-form-item           label="数字输入框也有问题？？？"           :path="hobbies[${index}].hobby5"           :rule="{             required: true,             message: 数字输入框也有问题？？？`,
trigger: ['input', 'blur'],
}"
>

  <n-form-item>
    <n-space>
      <n-button attr-type="button" @click="handleValidateClick">
        验证
      </n-button>
      <n-button attr-type="button" @click="addItem"> 增加 </n-button>
    </n-space>
  </n-form-item>
</n-form>

`
复现步骤
动态添加表单是不是只有输入框能报必填的错误？
最小复现链接
https://codesandbox.io/s/red-mountain-cfw45d?file=/src/Demo.vue
系统信息
动态添加表单是不是只有输入框能报必填的错误？动态添加表单是不是只有输入框能报必填的错误？

使用的包管理器
npm
验证

[X] 阅读 贡献指南。
[X] 阅读 文档。
[X] 检查是否已经存在相同问题的问题，以避免创建重复的问题。
[X] 确保这是一个具体的 bug。有关问题和答案，请打开 GitHub 讨论。
[X] 提供的复现是最小可复现的示例。

作者在吗，表单严重bug，看到麻烦改一下了。

检查 trigger  看官网示例

authors: jahnli xinfeiyanwu

repo: tusen-ai/naive-ui


text:
[FEATURE] Add website URL in about section

Description
As i can see theres no website or any preview site in About section or even in Readme file i would recommend to add one so visitors can check website
Screenshots
No response
Additional information
No response

can i work on this issue ?

Hello, @ZapeeoSheikh I noticed that you assigned this issue to me, but I'm not sure if you have read the details of the issue. It seems that you would like me to host your website and include a link to it in the about section, which is something that should be done by the owner of the repository.

I want to work on this project please assign it to me.

Hi, i am a contributor at GSSOC'23 and i would like to work on this issue.
i would like to host in on render.

authors: Roshanithakur SAUMYXA lalitkumawat1m shobhitexe

repo: tusharzalte/tusharesume


text:
Back to top JS no longer works

Tried following along with the tutorial (on youtube) and the btt.addEventListener() click function for the back to top demo doesn't work in Chrome or safari.  Tried downloading straight from github and the same result.  What's changed 3 years?

The code is correct, the variable isFirefox checks if the browser is Firefox, you can follow the same steps and add 2 more variables for safari and google, then add it into the btt. addEventListener(), it will work just fine.
Already been 2 years since this question, so i doubt you will require an answer, but just in case a new developer comes to the same doubt, here is the solution.

add these alongside isFirefox
isFirefox = navigator.userAgent.toLowerCase().indexOf("firefox") > -1,
isChrome = navigator.userAgent.toLowerCase().indexOf("chrome") > -1;
isSafari = navigator.userAgent.toLowerCase().indexOf("safari") > -1;
then change the if else statement to
if (isFirefox || isChrome || isSafari) {
docElem.scrollTop = 0;
} else {
body.scrollTop = 0;
}

authors: AndrewSepic RomeDomeYome renji18

repo: tutsplus/javascript-for-web-designers


text:
Support of client API 1.21 / Docker 1.9

Starting the container up under docker 1.9 will only leave me a
2015/12/08 07:57:18 Docker version: 1.9.1
2015/12/08 07:57:18 Api version: 1.21
2015/12/08 07:57:18 Unsupport docker Api version: 1.21

in the stdout.
Do you guys have plans to support 1.21? Is there anything I could help with getting this ready?

Done in master, but it won't automatically remove volumes to avoid losing data

authors: LarsFronius fermayo

repo: tutumcloud/cleanup


text:
Can't connect to local MySQL server

Hi there,
I have successfully run the image and log says that everything is ok, but when I try to connect to MySQL server by using the command "mysql -udmin -p" it shows ERROR 2002 (HY000): Can't connect to local MySQL server through socker '/var/run/mysqld/mysqld.sock' (2).
Is there anyone who knows this problem?
Many thanks for the response!

you have to specify the ip address of the mysql container, like 127.0.0.1. Otherwise you will connect to the unix socket by default, which is not exist.

Hi @tifayuki
Can you tell me how exactly to specify the ip address of the mysql container? Because usually we use 'docker -d -P' to make the container run in background and no need to modify the ip address.
Thanks

Ok,  I solved this problem by using the command ' mysql -uadmin  -h  -p' and it works well.

authors: tifayuki zhangzhengmeng

repo: tutumcloud/tutum-docker-mysql


text:
🛑 Recruit Connect - ES Status is down

In 742e092, Recruit Connect - ES Status (https://api.recruitconnect.vn/elasticsearch/check-status) was down:

HTTP code: 500
Response time: 267 ms

Resolved: Recruit Connect - ES Status is back up in d7e551e after 16 minutes.

repo: tuyencaovn/recruituptime


text:
Give 2.0 meta and table changes

https://developers.givewp.com/2017/12/08/give-2-0-database-updates-explained/
Will need to adjust our meta determination to account for keys that aren't prefixed with a _

Addressed in 14e2486