text:
Add required currency for creating a credit card token

Omitting the currency from the credit card token request fails if the currency defaults to the incorrect currency. In my case was defaulting to NZD and should be AUD. Specifying it clears up the issue.

Not sure why the Travis CI failed - the error is in the PxPay code but my change is for the PxPost code

Here's the failure detail:
There was 1 failure:

1) Omnipay\PaymentExpress\PxPayGatewayTest::testPurchasWithCardReferenceSuccess

Failed asserting that '0000000300000000' is null.

/home/travis/build/thephpleague/omnipay-paymentexpress/tests/PxPayGatewayTest.php:110

Yes my apologies, I meant that it was failing even without my patch, that test code that failed doesn't even touch the code I added.
Diagnosing further I can see there are two functions that implement getTransactionReference() for Response - PxPayAuthorizeResponse returns null always but Message\Response returns DpsTxnRef. In this case the test is using the Message\Response code and it's returning a DpsTxnRef as 0000000300000000
But I can't see where the 0000000300000000 is coming from.
Regardless, please try a unit test without my patch, you'll see the error was there already.

OK the test failures are still happening but I will merge regardless because the code doesn't cause the test failure. If anyone can diagnose and submit a PR to fix the test cases that would be appreciated.
Also confirm that this works in production and then I will tag for release.

Hi can you please tag for release? I am using this in production at https://racers.world
Thanks!

Released as 2.2.1

authors: delatbabel joshbmarshall judgej

repo: thephpleague/omnipay-paymentexpress


text:
Question

What license are you using for this open source project?

Hey Lawrence!
Great question!  I just updated the repo and added an MIT License, so you can use anything here as you please.
Best,
Christopher

Thanks Christopher 👍

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
boards: up_squared_adsp: Add scripts for diagnostic driver

This patch adds scripts which downloads the firmware and extracts the
trace messages. The scripts required the SOF diagnostics driver
installed.
Signed-off-by: Tedd Ho-Jeong An tedd.an@intel.com

@jhedberg This PR changes the folder name as we discussed in the standup.
You can amend this to my previous commit e6cb26d

source: gharchive/pull-request

repo: thesofproject/zephyr


text:
NullReferenceException: Object reference not set to an instance of an object Avatar

NullReferenceException: Object reference not set to an instance of an object
OvrAvatarSkinnedMeshPBSV2RenderComponent.InitializeSingleComponentMaterial (IntPtr renderPart, Int32 lodIndex) (at Assets/Oculus/Avatar/Scripts/OvrAvatarSkinnedMeshRenderPBSV2Component.cs:91)
OvrAvatarSkinnedMeshPBSV2RenderComponent.UpdateSkinnedMeshRender (.OvrAvatarComponent component, .OvrAvatar avatar, IntPtr renderPart) (at Assets/Oculus/Avatar/Scripts/OvrAvatarSkinnedMeshRenderPBSV2Component.cs:77)
OvrAvatarComponent.UpdateAvatar (ovrAvatarComponent component, .OvrAvatar avatar) (at Assets/Oculus/Avatar/Scripts/OvrAvatarComponent.cs:56)
OvrAvatar.UpdateAvatarComponent (ovrAvatarComponent component) (at Assets/Oculus/Avatar/Scripts/OvrAvatar.cs:285)
OvrAvatar.UpdateSDKAvatarUnityState () (at Assets/Oculus/Avatar/Scripts/OvrAvatar.cs:418)
OvrAvatar.Update () (at Assets/Oculus/Avatar/Scripts/OvrAvatar.cs:624)
Yes I Draged and droped [VRTK_SDKManager]  from Prefabs  into scene
Avatar Shaders missing?

OK dont even bother
[VRTK_SDKManager] has to be taken from prefabs
LocalAvatar also has to be replaced with its Prefab version
From some Reason references in Scenes are missing

This has been fixed in the latest github master branch

authors: thestonefox xfluidsss

repo: thestonefox/VRTK

license: mit

license_source: bigquery


text:
what is the difference between img-loader and image-webpack-loader?

these two project looks like twins. What’s the difference?

I'm the author of image-webpack-loader but didn't know about this repo. If there are differences or other goals, I'm willing to take pull requests

@thetalecrafter, what do you think?

When I created this module image-webpack-loader was directly implementing file-loader behavior. I made this to just do minification and punt to url-loader.
It now looks like that has been changed and the only differences are in configuration.
Given the change in image-webpack-loader these two should probably be coalesced.

Yeah, I took some merges in to fast, that took the wrong direction and fixed that.
Merging these projects looks like a good idea.

As far as configuration goes:

By default this follows the minimize flag from webpack, and can be overwritten with query params minimize to enable imagemin, and -minimize to disable imagemin processing.

image-webpack-loader by default always minifies, and it can be disabled by setting debug in webpack config and bypassOnDebug in query params.

The query param progressive applies to both gif and jpg images, which sets them to draw a full (but blurry) image quicker, and then fill in detail.

image-webpack-loader keeps the two settings separate.

You can use the imagemin property in your webpack config object to directly pass options to the various minifiers in imagemin, including specifying the specific svgo plugins you want.

image-webpack-loader reserves a svgoPlugins query param, but doesn't use it yet.

minimize I don't support this at the moment as this only seems to be used with the uglifyJsPlugin (http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin) but I'm willing to change that if people want this.
progressive I like it better that these are different settings
sgvo is now supported in 1.6.1
I've also added support for pngquant

good

Perhaps add a notice to the docs that these two projects are being merged?

Does these project will merge ?

authors: HorizonCoding iamstarkov matmuchrapna silvenon tcoopman thetalecrafter

repo: thetalecrafter/img-loader


text:
Loader should support different configs

It would be nice to have ability to use custom configs via https://github.com/webpack/loader-utils#getloaderconfig

How would that be different from https://github.com/thetalecrafter/img-loader#advanced-options ?

@thetalecrafter Currently we always have imagemin options, but in case of getLoaderConfig  we may have different rules.
For instance please see https://github.com/webpack/html-loader#advanced-options

oh cool. I'll take a look at that.

version 1.3.1 should have the desired functionality. Let me know if it works for you @mdreizin!

@thetalecrafter Thanks a lot for quick fix ;)

authors: mdreizin thetalecrafter


text:
Introduction: new section? (basics of accessibility mechanics)

On my first pass through the programmer's guide, I didn’t have a good sense of how these suggestions tied into the user experience because I was unfamiliar with how assistive technologies work. I found the guide more helpful after watching a few videos which illustrated issues that can come up with keyboard-only navigation and screen readers. For example, they described how screen readers interpret HTML elements, how they travel through the DOM, and how they communicate a page’s structure and content to the user. That context helped make the suggestions more concrete on my next time through.

Leonie Watson - Developer's Guide to Accessibility Mechanics: https://www.youtube.com/watch?v=qi0tY60Hd6M

Making Accessible Web Apps Using HTML5 and ChromeVox: https://www.youtube.com/watch?v=x18vEEfpK3g

How A Blind Developer Uses Visual Studio: https://www.youtube.com/watch?v=94swlF55tVc

We'll have an assistive tech section in the glossary - perhaps we can also include links to these videos/demos

authors: thetuttingtutor waillama

repo: thetuttingtutor/accessguide


text:
recent change to xenith.js causing problems with  etc

Hi all
I've only just discovered this with an installation I've moved and then upgraded to the latest develop code. The installation has lots of LO's where styles like
 <style>.splitScreen {     padding: 0 0 0 20%;     margin-right: 5px;  } .splitScreen .left {     width: 20%; }   </style>
has been added via code view and has worked fine previously but is now being display as text on the pages even though the code is all still intact. Just to check I replaced with an earlier xenith.js and all was fine again but not sure yet exactly what change has caused this? I'll try to find it but perhaps this rings bells for someone?

How far did you go back?  There were like 4 changes in March, 2 in February and 4 in January, all by me or Fay.

I've just been checking that. I replaced the xenith.js (from latest develop) with one from a 3.1 zip download from the community site and it seems I extracted that zip locally on 16th March. However the xenith file in that download is dated 2nd March. So it's obviously one of the March changes that has resulted in this problem.

No, not necessarilly. Because the 3.1 zip is from a different branch.

Is it from one of the changes that makes special characters display
properly (portugese was it?) that means text's dealt with differently?
On 25 Mar 2016 10:59, "Ron Mitchell" notifications@github.com wrote:

Hi all
I've only just discovered this with an installation I've moved and then
upgraded to the latest develop code. The installation has lots of LO's
where styles like

has been added via code view and has worked fine previously but is now
being display as text on the pages even though the code is all still
intact. Just to check I replaced with an earlier xenith.js and all was fine
again but not sure yet exactly what change has caused this? I'll try to
find it but perhaps this rings bells for someone?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/thexerteproject/xerteonlinetoolkits/issues/429

I sent Ron a xentih.js from just after that specific commit.

That one still doesn't work, so, yes, likely a unintentional side effect of that change. Will have a look.

Yes the file Tom sent me results in the code being displayed in the page whereas an earlier version doesn't.
BTW I also noticed some line break issues again which might be related but can't say for sure until I've tested further.

Fixed (again). See #416

authors: FayCross ronm123 torinfo

repo: thexerteproject/xerteonlinetoolkits


text:
use of FA icons within list item titles on interactive list page and possibly other pages - aria-labels include code.

On an interactive list page if an FA icon has been used in the list item title the aria-label includes code which is the read out to a screen reader user e.g.
aria-label="&nbsp; Click to reveal information"><span class="fa fa-file "
This might happen in other page types to so needs checking.

Hi @ronm123
I read this in the doc you sent the other day and have been meaning to email you about it. Is there a reason/desire for us to be inserting FontAwesome tags like this:
Ambulance
when the FA site suggests

Or is it simply because we are relying on what is coming out of the plugin we use?
Would it mitigate some of this if we created a new plugin (we could also then incorporate the latest v5 icons) and simplifed what markup is being sent through? Then a simple REGEXP could in theory replace the markup in the aria-label with something a bit better?

@JohnSmith-LT I'm not sure whether we need all that or not. However I think mostly there isn't a problem and I closed the other issue about versions etc but added this because there's definitely an issue when used on the interactive list page as part of the list titles and therefore links but I think that's because the links are being wrapped around whatever is added to the list titles and the aria-label is including all f that rather than just the text.

@JohnSmith-LT just thinking about your comments and questions again a couple of comments...

I don't think it's the current editor functionality that is at fault here in terms of the interactive list title issue. e.g. Add an interactive list page then add a list item and use an FA icon at the start of or within that list title. What you see in source view is something like the following:

Adjust  List item title

But I guess the model or xenith code is hen wrapping that with link code to open the relevant pane and then it becomes:
<a class="listItem" href="#item0_PG1597310205709" aria-label="Adjust &nbsp;List item title Click to reveal information">
So that first aria label shouldn't have all that code should it?

That said now that we have FA 5 included it would be great if the editor selection of FA icons showed v5 rather than only 4x.

Yes, I think it could be split out into 2 or even 3 issues:

Wrong Aria text
Verbose FA code (possibly - i'm still not 100% sure if the spans are used at some point in the styling or otherwise of the extra FA decoration - spining, box, etc)
Update FA icons

We can most likely fix 1. very quickly, 2 & 3 possibly get combined with development of a new editor plugin at some point. Agree that having v5 icons in editor is desirable...

@ronm123 i've committed some code, can you check when you get a chance that it fixes the verbose aria-label and then I can update the other 6 pages that set aria-label.

@JohnSmith-LT that works fine John. What are the other 6 pages where you found the same issue?

Ah, good. Not sure the others have the issue - I just searched "aria-label" and the following 7 pages come up where that is set so I though that they may have the same issue but haven't checked them yet.

Multi-Navigator
Accordion Navigator
Button Navigator
Model Answer
Modify Exercise
Answer X of Y (you said you already fixed this one?)
Interactive List (now fixed)

If you have a test LO that can easily test these and you have time then you can probably confirm quicker than me whether they exhibit the same behaviour - i'm not fully sure yet where the text comes from for each...

@JohnSmith-LT I tested this by adding an FA icon to the beginning of the item titles on each of those pages. As far as I can tell the issue only happens under the following conditions:
An FA icon (or other styling like colour or italic etc) has been added to the item title e.g. accordion pane title, button navigator pane title etc
IT also only happens when that item title becomes a navigation link of some kind e.g. opens a pane
So my tests reveal it's not an issue on model answer or modify exercise because those pages don't have item links.
It is an issue with multi-navigator but only when one of the navigator options that uses the item title as a link. So coumns and slideshow are fine because the items titles aren't links.
It is an issue when multi-nav is set to accordion or button but curiously not when set to tabs.
It's also an issue on the stand-alone accordion and button navigator pages.
But again none of these are issues unless an FA icon or other styling has been added to the item title.

I've added some more notes above  - Modify Answer looks fine to me but Modify Answer has same issue with verbose aria-label text when you enable the Copy button and change it's label in the language options to include a FA icon ...
I think even if these don't exhibit the issue within the screen reader we should try to fix as many as we can since an attribute with a " in it results in invalid html - Chrome seems to handle it quiet gracefully but not all browsers will.

@JohnSmith-LT a few comments:
re Answer X of Y where you have indicated maybe we should change it same as list for consistency? Not sure what you mean?
I hadn't been checking language options or button labels - that opens a much bigger can of worms! :-(
So what started off as an issue about FA icons and aria labels on interactive list page and possibly others actually was just a coincidence and it's an issue wherever html code becomes part of the element that is then populated as the aria label. That sounds like a much bigger task to track down all those potential occurrences?

re Answer X of Y - I knew you and @torinfo worked on this less than a fortnight agao but looking back it wasn't aria related as far as I can see...
It was only because I searched "aria-label" that I realised some of the language ooptions may be an issue, however it's only in those  7 files above that aria-label is used so at least that reduces the issue slightly... however as you say, now that many boxes that used to be text only now have the small html editor any of them could have the FA icon or other html inserted  - but if we are stripping html out where they are used then we might as well switch them back to text only...
I think it is only where those text boxes are used with a .attr() statement that we need to remove  but technically we should also probably remove/replace " since it will break the attribute....


text:
Progressive example not playing in Iphone 6

Hi,
Trying the following example in Safari IOs 10.2.1:

http://thiago.me/kaleidoscope/examples/mp4

I found that the video is not playing, although an initial image is displayed and moving the phone does move the image in 360. Also the touch functionality works to scroll through the sphere.
I believe the issue is related to IOs autoplay policies. As a video is only allowed to autoplay if it contains no audio tracks or if it is muted. See:

https://webkit.org/blog/6784/new-video-policies-for-ios/

Should this example be updated by adding a start button like in:

http://thiago.me/kaleidoscope/

?
I can submit a PR if you agree.
Cheers,

Hi @yarandoo, yeah you're right! I would be glad if you send a PR to fix this, but instead of the button, I would like to keep it fullscreen and play on tap anywhere on the screen

Perfect, I will have a look today and keep you posted. Cheers.

Thiago, I think it would be nice to replace the hosted sample under your domain as the link in the readme still lacks the new functionality. Are you thinking to update it? Cheers

Thats my bad, I forgot the examples are in https://github.com/thiagopnts/thiagopnts.github.com
I will delete it from there and publish this repo as a gh-page, thanks!

Yes, but consider that the ios sample wont work unless you also push the sample video to the repo to serve it from the same domain as ghpage.

Yeah, they are in different repos but all under the thiago.me domain, the only ones that are outside of it are the hls and dash examples, I'll add a note on these on the readme mentioning this, thanks!

authors: thiagopnts yarandoo

repo: thiagopnts/kaleidoscope


text:
Handle 416 status code by deleting the local file and retrying

A server returns 416 if the range we've provided to it is invalid. Whilst the local partially downloaded file exists, any attempt to retry using the same range is guaranteed to fail (unless the file is replaced on the server).
The only way to resolve the issue is to send a valid range header (unknown at this point) or not send one at all.
This patch, in response to a 416 status code, seamlessly deletes the local partially downloaded file and retries the file download. Because the local file has been deleted the retry attempt will not include a range header and hence 416 won't be returned again i.e. no infinite retrying.
If for some odd reason the local file can't be deleted then we gracefully fallback to the previous behaviour of calling the error callback with the 416 status code error.

Hi, sorry for the big delay! Could you please rebase? I would be willing to merge this. Thank you :)

Sure, I think I'm a bit too busy to do it today. However, if I haven't done this by mid next week please ping me again.

authors: Benjamin-Dobell thibaultCha

repo: thibaultCha/TCBlobDownload


text:
Swift 2.3 Syntax issues

FontAwesome.swift:120:49: Value of optional type 'CGDataProvider?' not unwrapped; did you mean to use '!' or '?'?

FontAwesome/FontAwesome.swift:98:16: Value of optional type 'UIImage?' not unwrapped; did you mean to use '!' or '?'?

why it was closed? I am experiencing the exact problem, have you guys fixed it? thanks

Was experiencing this too when running the project on Xcode 8.2.1 with use swift legacy version enabled, it works fine in Xcode 7 though.

@schystz no i just dropped the library.

Oh okay. I was able to make it work by pointing the podfile to the swift-2.3 branch

authors: otymartin schystz zhihuitang


text:
How to Configure and Use Mod in Docker Service?

Hi. I tried placing the pak Mod files in the palworld/Pal/Content/Paks directory mounted by Docker, but it didn't work. Does it currently support Mod functionality? If it does, how should I correctly configure it?

Hi @BitsVal Could you share some more about your setup?

docker-compose,yml contents
Logging
Mod name

authors: BitsVal thijsvanloef

repo: thijsvanloef/palworld-server-docker


text:
Add tags to the documentation

Use mdbook-tag. This crate is un-maintained but provides what we need with one exception: the ./tags.html page is a bit too simplistic.
If we go in that direction we will need to:

update mdbook-tag to use the lastest version of mdbook
possibly, improve the ./tags.html page
agree on a list of tags
add a concepts pages that describes these tags/themes.

Proposed changes

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[x] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[ ] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

@didier-wenzek I had a look at it and it should provide some value to users, so I would agree with going ahead with this. The mdbook-tag style is also fairly similar to other static markup tools like docusaurus, so there should not be any "feature lock-in".
Regarding the list of tags, we should align with the GitHub labels, though without the theme: prefix.

authors: didier-wenzek reubenmiller


text:
can I "fake" the connection to the internet?

I've doing some modifications to this code and I added the functionality to re-send the received package (Repeater Mode). But this would only make sense if I could take out the necessity of being connected to the internet. Is that possible?

Hello!
I am trying to do that too.
I want to receive a message from a node and repeat it to another gateway.
I haven't been able to do that for now.
If anyone can help us.

Hello!
I am trying to do that too.
I want to receive a message from a node and repeat it to another gateway.
I haven't been able to do that for now.
If anyone can help us.

I included some code of another library and made it work, but I still need to take of the necessity of being connected to the internet (otherwise it will not make sense).
The code I used was this one (https://github.com/matthijskooijman/arduino-lmic)...you just have to make the logic to send the content you just received.
(BR rules... em ingles porque vai que ajuda mais alguem rs)

Yes. If it is necessary for the devices to be connected to the Internet, it makes no sense.
I am also using this LMIC library on my nodes. So, I have to edit the gateway code with the LMIC functions to be able to forward the packets. I will try to do that.
(Yes, continuamos em inglês kkk)
Thanks for the reply.

authors: Samuel-ZDM antonio-emilio


text:
wp command get confilcted with wp-cli

I've already installed wp-cli in my mac, it also use the wp command, since it also popular project would you mind changing the command to some thing else ,
wordpress or wpress or wp-cli

HI @dazunE
Yes, I am working on to integrate wp-cli with this, and also, hoping to change the project name too. Let me know if you have any suggestions for a name? :)

@dazunE
Just published a Nodejs wrapper for WP-CLI. Let's use this.

@dazunE
Just published a Nodejs wrapper for WP-CLI. Let's use this.
https://github.com/kodeflex/node-wp-cli

authors: dazunE thinkholic

repo: thinkholic/wordpress-cli


text:
We really need a way to define how to parse TUserKey and TRoleKey.

There was no way to specify how to parse a generic TKey type, the constructor just threw an exception for any of the non-default types you've handled by guessing type.
Can't override the base class because there is no default empty constructor. So the dev would have to checkout src, modify to add their own parsing for TKey, and build their own binary.... or just allow them to specify how to parse it.

Added optional parameter which just takes Func delegate for parsing subject.
Also added default parsing for System.UInt32 as key type.

Ping!
Reminder this is the same issue as in IdentityServer.v3.AspNetIdentity merged in this PR (https://github.com/thinktecture/Thinktecture.IdentityServer.v3.AspNetIdentity/pull/27). Would have liked to see this in today's build...but oh well.

Nm, just noticed you manually copied in the code. With one minor copy/paste bug, https://github.com/thinktecture/Thinktecture.IdentityManager.AspNetIdentity/issues/11


text:
Pr express provider

I accidentally included a commit of another PR, which I reverted.
This PR only concerns ExpressProvider + tests:

exported: toBody
fixed: toBody should not return undefined with HttpStatus = NoContent
added: tests for toBody
renamed: toResponse to toExpressResponse & exported it
fixed: toExpressResponse properly handle undefined values: options.Ok & options.type
added tests for toExpressResponse
changed: ExpressProvider.handle is no longer static (so we can override it in subclass)
changed: ExpressProvider.app is protected (so we can access it in subclass)

Hi Remco, thanks for the effort. We were already looking for an improved implementation of filling the response of a request. So, we've adopted some of your changes, but not all. For instance, I don't want to export the toBody method from this file, as it is only useful here. Furthermore, if you look at the latest version of ExpressProvider you'll see that we've made it much easier to extend by adding specific protected functions to it for each content type.

authors: aahoogendoorn remz

repo: thisisagile/easy


text:
Assign custom bpack to bfy._bpack to support expose mode

I've validated locally that this works as expected. It would take some substantial changes to the test suite to allow for testing different bundle configurations.

@thlorenz updated the comments

LGTM feel free to merge to master and I'll publish a new version.

authors: bendrucker thlorenz

repo: thlorenz/proxyquireify


text:
🛑 Netdata-KA is down

In 9424a41, Netdata-KA ($URL_NETDATA_MERZ_NIMBUS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Netdata-KA is back up in 964e32b after 1 day, 22 hours, 44 minutes.

RCA --> https://github.com/thomasmerz/upptime/issues/2245

repo: thomasmerz/upptime


text:
🛑 Pihole-KA is down

In 8ad6439, Pihole-KA ($URL_PIHOLE_MERZ_NIMBUS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pihole-KA is back up in e196bb9.


text:
🛑 Syncthing-NBG is down

In 88dea08, Syncthing-NBG ($URL_SYNCTHING_HETZNER_CLOUDSERVER_DE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Syncthing-NBG is back up in fc40bff.


text:
🛑 Netdata-KA is down

In 0642259, Netdata-KA ($URL_NETDATA_MERZ_NIMBUS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Netdata-KA is back up in 6e2ba08.


text:
🛑 Netdata-KA is down

In 693847a, Netdata-KA ($URL_SPEEDTEST_MERZ_NIMBUS) was down:

HTTP code: 404
Response time: 359 ms

Resolved: Netdata-KA is back up in 431cf92.


text:
Custom allocator support

We could define a custom trait (see how hashbrown does this) to support it prior to the unstable trait landing. This would (at the very least) allow testing allocation fallibility[^1], if nothing else.
That said, this is a non-trivial amount of work that seems a bit pointless at the moment.
[^1]: Admittedly, the amount of code that it would allow testing is very small, and the code in question is very straightforward — just a few lines which do nothing but return errors to their caller.

I think it is not worth it to define a custom trait, but there's no reason we couldn't support core::alloc::Allocator once it is stable.

repo: thomcc/arcstr


text:
Implement Serialize/Deserialize for index types

This doesn't feel like the cleanest way to do this, but I couldn't find another way to gate the impl behind a crate feature.

Oh, I guess the CI is clean now? Huh. So just the rename.

Done, cheers for the speedy review!

Cut 0.1.1

authors: mloc thomcc


text:
js:babel-register doesn't seem to this code. I get an error with default arguments

constructor(url, options = {}) {
Unexpected token =
Even if I use the require method, it's still es6 and still errors.
I'm running mocha via:
mocha --require babel-polyfill --compilers js:babel-register

I was able to get 5.0.1 (last version before 6) working w/o a problem

Let me take a look into this and see if I can reproduce it.

@funkjunky @abramz What version of node are you guys using?

I am using v4.6.2

Found the error. I forgot to publish versions 6.0.2 & 6.0.3 which contained the fix for this issue. I just published version 6.0.3 to npm. Can you install that version and see if it works for you. Thanks!

authors: abramz funkjunky thoov

repo: thoov/mock-socket


text:
Gradle plugin

I sorta hate myself for creating this issue, but doing it should be easier with v4 than v2/2018.x.

@bobmcwhirter I had started putting together some code for improving the tooling-api for the plugin. The tooling-api would help with solving the problem of Arquillian being able to interact with the build script (instead of scraping the console logs).
and then I got busy with by day-job related work.
So the question I have is .. where should I be pushing those changes (when I do get around to doing it)? to the master branch or to the v4 branch?

This issue is specifically for v4.
If it’s v2/2018.x related then track in JIRA and master branch.

And for clarification, the v4 gradle plugin has very different requirements than the v2/2018.x one

Hi all,
I'm not sure what is the strategy for v2 but a non functional project using gradle, in my case for testing, was kind of a showstopper. I did some patches already merged to add/fix some functionalities.
Thanks !

authors: bobmcwhirter hypnoce kenfinnigan roguexz

repo: thorntail/thorntail


text:
Unable to test JS Flash Messages

I switched over to web-kit because Firefox kept loading with selenium.
I have growl like flash notifications with my app, and they don't seem to get parsed when loaded in the DOM.
Not really sure how to trouble shoot this. Any help would be great.

Some more information would be helpful:

What does the failure message look like?
What does your test look like?
What does the markup look like for the flash notifications?
What does the CSS look like for the flash notifications?
What does save_and_open_screenshot look like on a page where you think the flash notifications should be appearing?

Closing due to lack of response

authors: jferris rjrobinson twalpole

repo: thoughtbot/capybara-webkit


text:
Allow dependent modules to specify Grafana version

This PR provides dependent modules with the ability to specify a Grafana version to support in the workspace.
We (Three Ships/Home Solutions) would like to upgrade our Grafana version from 9.4.7 to the latest AWS-support Grafana version (10.4 according to the docs linked to above). Ideally, we'd like to upgrade to the latest version, but the resource does not appear to support that.
With this change, I believe we would just need to modify our module like so:
module "grafana_workspace" {
  providers = ...
  source    = "github.com/thoughtbot/flightdeck//aws/grafana-workspace?ref=10bd932" # change to point to this commit

  name = ...
  grafana_version = "10.4" # specify the latest supported version

  admin_groups = [
    ...
  ]

  editor_groups = [
    ...
  ]

  workload_account_ids = [
    ...
  ]
}

Please advise if this patch will achieve the outcome we are looking for. I'm a bit of a Terraform noob, so apologies if this patch is lacking; happy to make any necessary changes. Thanks!

From the documentation, it says that if no version is specified, then it defaults to the latest version, but since we're explicitly defaulting it to null, I wonder how the module will take that - I think it will work, but that might be a breaking change if we don't confirm that.
You can test if your change works as expected by changing the source to your local clone of the repo using a relative path or you can reference your branch. Let us know how that goes :)
Thank you for your contribution!

Just wanted to follow up with you to let you know this is still on my radar. Trying to work in some testing this week. Apologies for the delay!

repo: thoughtbot/flightdeck


text:
ACCORDION / TABS busted?

I pasted html, css, and js. I don't see any js errors but nothing shows.
I'm trying to debug it and I'll submit a PR if I do, but I haven't figured it out yet.

Oops never mind.  User error. I :heart: refills. Carry on!

repo: thoughtbot/refills


text:
Refactor serif type system

Reduce bloat:

Remove 3 Google fonts, with 3 separate HTTP requests in favor of 2 Google fonts in a single request
Cut down Sass by 40%

Remove overly-qualified CSS selectors
More semantic HTML
Add ARIA role
Align with style guide

Updated design:

Looks good.
But if we do this style change I think we should apply it to all type systems so they are easy to compare.
Also: Does the use of modular-scale not add another requirement? Out of the box it doesn't work and I get this when I try to render this branch in the browser:

I just wanted to update one type system and see if it was a good move…
It also raises the question: the content and layout of the article in each type system does not change. So these really aren’t type systems, but more font-pairings.
There are already of handful of font-pairing sites out there, do we need to reinvent the wheel here? Or rather, is this just a grab-and-go, properly typeset article layout/component built with Bourbon?
It seems silly to repeat the same stuff over and over and only change the fonts.
Regarding the modular-scale, you need Bourbon 4.1.0+. There’s a commit included in this PR to up the dependencies.

Good points. Yeah, they are basically type pairings but the good thing is that you can just copy-paste them and get going. They are meant to be a quick start to a project, but I'm not sure if anyone is ever using them?
I think font pairings that are "nicely laid out" are much more valuable than just installing two fonts and start tweaking. The tweaking can take so much time. Not sure if we are getting in to the land of forcing a specific style on our users though...
The idea of keeping them all looking the same is that they would be easy to compare.
I know we have decoupled Bitters but it could be interesting to provide alternative typography.scss sheets instead of doing this. That might not be within the frames of Refills though.

authors: Magnus-G tysongach


text:
Allow any Rails version in the 4.2.x series

Locking down the rails version to the patch level means we need to edit
the Gemfile every time a security update is released. By locking to the
4.2.x series instead, we can just run bundle update rails to get the
latest security patches.
Because this is locked to an explicit minor version, only security
patches should get pulled in automatically.  Assuming that Rails follows
SemVer properly, unexpected changes should only come in minor or major
versions.
I ran bundle install and pulled in the security patches released for
Rails 4.2.2 (see
http://weblog.rubyonrails.org/2015/6/16/Rails-3-2-22-4-1-11-and-4-2-2-have-been-released-and-more/
for details and CVEs)

:shipit:

Thank you Joël!

authors: JoelQ tute

repo: thoughtbot/suspenders


text:
emcee version incompatibility with naima

(Not a "bug" but this was the closest template)
Describe the issue
The naima modeling package requires emcee>=2.2.0,<3.0 , threeML requires emcee>=3 😞
(I can confirm that threeML tests fail with emcee-2.2.1. I'll try naima + emcee-3.0.2 as a workaround as I just want to use their modeling, not the sampler. Also, the way forward here is probably to make naima compatible with more recent versions of emcee, not to make threeML backward compatible with older versions of emcee.)

See https://github.com/zblz/naima/issues/194

Yeah, or they could drop the unfolded model fitting in their code which is not needed...

authors: grburgess henrikef

repo: threeML/threeML


text:
include macro should resolve recursively

if you include a page with another include, that inner include should be resolved, also filename should add .md if it doesn't end with one

Added at https://github.com/threebotserver/publishingtools/commit/4395e3556e398574a571ce249dbe38f52d6c4db7.

verified and deployed on production

authors: abom xmonader

repo: threebotserver/publishingtools


text:
How does the 0-os client refresh the jwt token?

https://github.com/threefoldtech/jumpscaleX/blob/01d69d352c1577cd24f369cf268b9cd47606d723/Jumpscale/clients/zero_os_protocol/Client.py#L70-L80
According to this comment, the refresh of the jwt token used to connect to a node is now done in the ItsYouOline client ? While I don't see any relation between the 0-OS client and IYO client? So how does the refreshing can happen ?
With the code as it is now, the JWT needs to be refreshed manually ? This means we cannot use the client in any long running program ?

➤ Christophe de Carvalho commented:
So it turns out commenting this code was a mistake. I'll adapt the code of IYO client and re-add the code it.

repo: threefoldtech/digitalmeX


text:
screen sharing bug

screen sharing is doing strange things during scrolling

Fixed

authors: KristofVanstappen MathiasDeWeerdt


text:
support search in factories and add whoosh as a store backend

#318 is related.

@abom if good to go please resolve the conflict and merge

repo: threefoldtech/js-ng


text:
network selection in deploying solutions should be dropdown ?

can be done in next, chatflows will be refactored ..

verified

authors: waleedhammam xmonader

repo: threefoldtech/js-sdk


text:
Traefik in my VDC doesn't run

I created a VDC platinum, then added a big worker node. I then tried to deploy a Digibyte node but that failed.

Retry lead to error message that there were insufficient resources for the gold node, but nothing is deployed on my new VDC !

Looking into Lens gave an error in traefik and an issue with the capacity in k3os

3bot: geertincubaid
vdc: vdcplatinumnode

After checking the master node, it's not accessible through the public IP, and when checked it through the private IP, it's running, but it can't reach the public network.
issue: https://github.com/threefoldtech/zos/issues/1249


text:
e2e prepration

This PR does not implement E2E encryption yet! but it does the required changes to the envelope type to support it. The idea is that the payload part of the message is not related to the message type (request, response, or error) hence encryption or decryption of the payload is done without the need to know the message type.

LGTM

authors: ashraffouda muhamadazmy

repo: threefoldtech/rmb-rs


text:
Reset new devnet

There might have been an issue in early block production: https://github.com/paritytech/substrate/issues/9660

tfchain devnet reset with --pruning archive

authors: DylanVerstraete coesensbert

repo: threefoldtech/tfchain


text:
proposal: merge gridproxy and graphql into a new Grid-API

Overview
to summarize how our data/api currently works. we handle two types of data in our apis:

chain data: this data is related to transactions and states on the chain. It includes contracts, billings, reserved capacity, farms, twins, and IP addresses, ...etc.
grid data: this data is related to the node itself, such as its capacity, uptime reports, public configuration, hardware information like GPU/DMI, and some performance test results.

How is this data handled?

the chain data is purely stored on the chain. each contract created or each newly registered twin is an extrinsic call to the chain and is totally reserved there
the grid data:

part of the node info is stored on the chain, mostly small-size numeric data like the last uptime, the capacity, ...etc.
another part of the grid data can't be stored on the chain, and it is for keeping the data stored on the chain minimal. tt will not be efficient to store DMI data, for example, on the chain for each node.
Here comes the gridproxy/node-indexer It is a service that runs periodically based on a configured interval to ask the node for the needed data and store it directly on a db to be available after for the API

Current flow:
graphql repository:

graphql/chain-indexer: listens to chain events and dumps them into indexer-db
graphql/indexer-gateway: graphql api for the data stored in indexer-db
graphql/processor: watches the indexer api/db and stores a meaningful information like farm/twin/contract/node in processor-db. kind of normalized database
graphql/processor-gateway: graphql api that serves data on processor-db with basic filtering on the db table.

gridproxy repository:

gridproxy/processor: sum of triggers placed on the normalized tables in processor-db and aggregate them in a denormalized cache table.
gridproxy/node-indexer: periodically calls nodes and stores fetched data in processor-db
gridproxy/server: rest api to serve data from processor-db

flowchart LR
	c((chain))
	n((node))

	id[(indexer-db)]
	pd[(processor-db)]

	qi([graphql/chain-indexer])
	qp([graphql/processor])

	gp([gridproxy/triggers])
	gi([gridproxy/node-indexer])

	qip([graphql/indexer-api])
	qpp([graphql/processor-api])
	gpp([gridproxy/server-api])

	subgraph graphql
		direction TB
		c --> qi
		subgraph indexer
		qi --> id --> qip
		end
		subgraph processor
		qip --> qp --> pd --> qpp
		end
	end

	subgraph gridproxy
	pd --> gp --> pd
	n --> gi
	gi --> pd
	pd --> gpp
	end

	subgraph clients
        user --> gpp
        user --> qpp
  end

Motivation for the proposal

graphq api problem

the graphql/processor-api is missing all the grid data coming from the indexer in the proxy because it only serves the tables made by the processor.
also it doesn't have good filtering system there is no such an inter-tables filtering. tor example, in most cases, filtering a farm based on its nodes fields or vice versa.

rest api problem

due to the repetitive need to add more fields on the rest response, especially the /nodes endpoint, it has become quite large. after adding the DMI fields
i was suggesting to add vertical filtering to return only some fields of the response instead of all of them. this would look like /nodes?select=node_id,twin_id. this is where GraphQL can help fix the over-fetching/under-fetching problem by defining what is actually needed in the request

Multiple processing logic

merging the processing logic is important since there are two places that process the data: the processor in graphql and the triggers on the proxy. this sometimes make things unclear while debugging an issue. It would be easier if the logic is in one place.
also it would be easier to write/debug the plain sql code for trigger functions in Go

Proposal
by integrating the functionalities of both projects, we can achieve the following:

consolidate all chain and grid data into a single database/cluster.
this database should implement role-based permissions, allowing different levels of access for querying and mutating data. with this it will be easier to mock clients for testing purposes. also role-based permissions will enable read-only access to production data, this is regularly needed for debugging and testing changes

implement a unified processor responsible for handling raw chain events and processing them into the final table. this eliminates the need for writing plain SQL triggers, simplifying the processing logic.

introduce a centralized database query client to serve as the primary interface for various operations. This client can be utilized as:

a package for grid-client usage
serve rest api
serve graphql api: as opposed to directly integrating graphql api to the database.

this will ensure uniformity across different interfaces

New structure
graph LR
	subgraph mutation
  n((node))
	c((chain))

	s([syncer])
	p([processor])
	i([indexer])

	dbm{{db-mutate-client}}

	n --> i --> dbm
	c --> s --> dbm
	dbm --> p --> dbm
	end

	subgraph query
	gc[go-client]
	rest[rest-api]
	gql[graphql-api]

	dbq{{db-query-client}}

	dbq --> gc
	dbq --> rest
	dbq --> gql
	end

	db[(grid-db)]
	dbm --> db --> dbq

Plan:
considering the heavy usage of proxy/graphql by the clients, we need to implement this as a separate package, which can gradually replace the old api.
here are the steps:

[ ] develop the syncer code (may use a different name) to query chain events in a database.
[ ] rewrite the processing logic (graphql processor/proxy triggers) in Golang
[ ] Implement database clients for mutation/query operations.
[ ] develop api servers for both graphql and rest interfaces using the database client.
[ ] testing.

Is this a complete rewrite for the indexer -> processor pipeline? or it builds on top? I mean we still can reuse the indexer part since it just indexes raw events, and we can run our custom processors on top of that events log to rebuild the grid-db

yes for the indexer part, we can keep the usage as is.  since we are using a ready subsquid image for ingesting the chain event,
but for the processor part i think it will need to be rewritten to cover the new tables. maybe in go the current code base written on typescript

I understand that the grid-db is where all mutations gonna happen, from both the events, and collected information from the nodes. Is that correct?

yes, it will be a central db for all data

In the second graph, shouldn't the processor be between the syncer and the mutation-client ?

i was thinking of storing the raw ingested chain data in the same database, so the processor will read from and store in the same database. i am not fully aware of how we can built the processor, should we actually read the raw chain data from the database or can we instead use the subsquid-gateway API. i will look at this part.

The mutation-client is just a sql client with write access to the grid-db, correct?

yes

I think the indexer-db (which contains the raw data) should be separate from the "view" db. Since the indexed data can be huge, it can be slow and can affect the db? also will make it easier to reset the view/grid-db database and start over without losing the indexed data which is expensive to rebuild from the chain

repo: threefoldtech/tfgrid-sdk-go


text:
🐞 [Bug]: reading properties of undefined

Is there an existing issue for this?

[X] I have searched the existing issues

which package/s did you face the problem with?
Dashboard
What happened?
console. error in main.ts:17
Steps To Reproduce

pull development branch
run locally
watch error in console

which network/s did you face the problem on?
Dev
version
current
Twin ID/s
No response
Node ID/s
No response
Farm ID/s
No response
Contract ID/s
No response
Relevant screenshots/screen records

Relevant log output
[Uncaught Error]
- Message: Cannot read properties of undefined (reading 'value')
- Stack: TypeError: Cannot read properties of undefined (reading 'value')
    at http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1912:63
    at Proxy.find (<anonymous>)
    at http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1912:24
    at Array.forEach (<anonymous>)
    at getIds (http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1911:14)
    at http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1795:12
    at ReactiveEffect.get [as fn] (http://localhost:5173/node_modules/.vite/deps/chunk-AMJEYTXO.js?v=4d0a3f5d:115:14)
    at ReactiveEffect.run (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:442:19)
    at get value (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:1402:35)
    at Object.isSelected (http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1895:34)
    at ReactiveEffect.fn (http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1768:18)
    at ReactiveEffect.run (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:442:19)
    at get value (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:1402:35)
    at ReactiveEffect.getter [as fn] (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:3097:27)
    at ReactiveEffect.run (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:442:19)
    at ReactiveEffect.job [as scheduler] (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:3174:32)
    at triggerEffect (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:633:15)
    at triggerEffects (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:623:7)
    at triggerRefValue (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:1230:7)
    at ReactiveEffect.scheduler (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:1390:9)
    at triggerEffect (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:633:15)
    at triggerEffects (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:618:7)
    at triggerRefValue (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:1230:7)
    at ReactiveEffect.scheduler (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:1390:9)
    at triggerEffect (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:633:15)
    at triggerEffects (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:618:7)
    at trigger (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:595:9)
    at Object.set2 [as set] (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:746:9)
    at Proxy.splice (<anonymous>)
    at instrumentations.<computed> (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:671:36)
    at Object.register (http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1811:13)
    at useGroupItem (http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:1759:9)
    at Object.setup [as _setup] (http://localhost:5173/node_modules/.vite/deps/vuetify_components.js?v=4d0a3f5d:2742:19)
    at setup (http://localhost:5173/node_modules/.vite/deps/chunk-EJ6P2COE.js?v=4d0a3f5d:1166:37)
    at callWithErrorHandling (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:1584:18)
    at setupStatefulComponent (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:8648:25)
    at setupComponent (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:8609:36)
    at mountComponent (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:7014:7)
    at processComponent (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:6980:9)
    at patch (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:6455:11)
    at mountChildren (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:6699:7)
    at mountElement (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:6606:7)
    at processElement (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:6571:7)
    at patch (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:6443:11)
    at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:7123:11)
    at ReactiveEffect.run (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:442:19)
    at instance.update (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:7229:52)
    at setupRenderEffect (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:7237:5)
    at mountComponent (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:7027:5)
    at processComponent (http://localhost:5173/node_modules/.vite/deps/chunk-5HHGQTS7.js?v=4d0a3f5d:6980:9)
- Constructor: TypeError

I can reproduce this one on:

devnet
a004c81

Screencast from 2024-11-11 12-27-41.webm

@ramezsaeed can you provide the log file please ?

@0oM4R
dashboard.log

authors: 0oM4R amiraabouhadid ramezsaeed

repo: threefoldtech/tfgrid-sdk-ts


text:
Too many css styles

In our project we found that glamor generated too many css style rules. Most of these rules are not used by markup on the page, they are present only in inlined glamor styles data.
Our version is 2.20.26 (supposed to be, how to check via browser?). It's a server-side rendering
Any suggestions of why it may happen? Is there any config, that may cause it?

can you go into more detail? repro and/or screenshots would help.

do you use renderStatic? could you try replacing with renderStaticOptimized instead?

authors: blackswanny threepointone

repo: threepointone/glamor


text:
Hi~ I have a question about CVPRW

I am very curious why is EDSR CVPRW and not CVPR.
EDSR is state of the art method . Why isn't CVPR?
CVPRW is well below CVPR.

Hello.
EDSR was proposed for the 2nd NTIRE Workshop which was held in conjunction with CVPR 2017.
We note that our paper was not submitted to CVPR, but to the workshop.
Thank you for your interest!


text:
是否可以使用不经过训练后的BERTNLU呢

是否可以做一个ZERO-SHOT的BERTNLU呢

可以参考使用槽位描述的相关工作，依次将意图/槽位描述作为输入，抽取对应的槽值

Zero-Shot Adaptive Transfer for Conversational Language Understanding
Robust Zero-Shot Cross-Domain Slot Filling with Example Values
Dialogue State Tracking with a Language Model using Schema-Driven Prompting

好的，谢谢

@suntea233 我们在ConvLab-3提供了一个简单的基于LLM的NLU （zero-shot/few-shot）：https://github.com/ConvLab/ConvLab-3/blob/master/convlab/base_models/llm/nlu.py

好的,辛苦了!

我尝试了一下,感觉目前的LLM还是不适合做这种固定的格式的解析工作,能否尝试通过这种形式输出呢?
intent: xxx
domain: xxx
slot: xxx
value: xxx

你可以尝试一下。我感觉可能差距不大。主要还是看大模型本身遵循指令能力的强弱。我觉得主要的问题是难以通过少量样本覆盖标签空间，让大模型理解各标签的判断标准。

好的，谢谢


text:
[@thumbtack/thumbprint-react]: Disabled Label Font Color does not Comply with WCAG 2.0

Disabled Labels don't comply with WCAG 2.0 in terms of contrast to background (assuming the background is #FAFAFA, the text #D3D4D5). That means the labels are hard to read.
This can be seen here: https://thumbprint.design/components/checkbox/react/#section-disabled-checkboxes

From https://webaim.org/resources/contrastchecker/

WCAG 2.0 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. WCAG 2.1 requires a contrast ratio of at least 3:1 for graphics and user interface components (such as form input borders). WCAG Level AAA requires a contrast ratio of at least 7:1 for normal text and 4.5:1 for large text.

Hey @TTblee — Thanks for the issue. My understanding is that the contrast requirements technically don't apply to disabled elements. Here's an interesting thread on this. That said, I also disagree with the standard for the reasons mentioned in those GitHub comments.
While @jonpkerwin is exploring colors, I'd be curious to understand where and when we use disabled radios and checkboxes. Should we even be displaying the form elements if they are disabled?

Here's an example of a design we are using on Pro Onboarding.
A user is enrolled in a category already, and we want to display that, but not allow them to deselect from the list. The page allows you to enroll your business into more categories.

@tomgenoni — This could be another good fix-it week task to take on.

I did some research and, as you'd expect from the w3c Github issue linked to above, there is no consensus about what color a disabled "thing" should be. I think ours could be a little darker but it's in the ballpark as other sites (FWIW, Airbnb's is in fact even lighter). Thumbprint will be adding guidelines on Forms in the coming months and we'll revisit this and a number of other form related items at that time.
But one likely recommendation will be to only show disabled states when absolutely necessary. @TTblee in the example you posted above we could redesign this to avoid using the disabled checkbox. For example, we could separate the previously chosen item and use a check icon or use words to effect "You've picked Electrical and Wiring Repair..." Currently the disabled state connotes a somewhat negative "you picked this and can't undo it" rather than an affirmation of the choice.
I'm going to close this for now and add it to the items to consider during the Form guidelines project. If you'd like to discuss it further @TTblee let me know.

authors: TTblee danoc tomgenoni

repo: thumbtack/thumbprint


text:
🛑 Patch is down

In 830de28, Patch (https://patch.thwiki.cc/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Patch is back up in 99928f9.

repo: thwiki/status


text:
error at run script

hi, this is my error,, midas in repo, script in scripts
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:01<00:00, 12.54it/s]
DepthMap v0.1.0
device: cuda
Loading midas model weights ..
./models/midas/dpt_large-midas-2f21e586.pt
Error verifying pickled file from ./models/midas/dpt_large-midas-2f21e586.pt:
Traceback (most recent call last):
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\modules\safe.py", line 76, in check_pt
with zipfile.ZipFile(filename) as z:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\zipfile.py", line 1267, in init
self._RealGetContents()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\zipfile.py", line 1334, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\modules\safe.py", line 97, in load
check_pt(filename)
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\modules\safe.py", line 89, in check_pt
unpickler.load()
_pickle.UnpicklingError: persistent IDs in protocol 0 must be ASCII strings
-----> !!!! The file is most likely corrupted !!!! <-----
You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.
Error completing request
Arguments: ('city', '', 'None', 'None', 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 0, 0, 1, 0.9, 5, '0.0001', False, 'None', '', 0.1, False, 0, 0, True, True, False, 1, False, False, False, '', 1, '', 0, '', True, True, False, 1.0, 2.0, 'a painting in', 'style', 'picture frame, portrait photo', None) {}
Traceback (most recent call last):
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\modules\ui.py", line 185, in f
res = list(func(*args, **kwargs))
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\webui.py", line 55, in f
res = func(*args, **kwargs)
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\modules\txt2img.py", line 45, in txt2img
processed = modules.scripts.scripts_txt2img.run(p, *args)
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\modules\scripts.py", line 297, in run
processed = script.run(p, *script_args)
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\scripts\depthmap.py", line 83, in run
model = DPTDepthModel(
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\repositories\midas\midas\dpt_depth.py", line 105, in init
self.load(path)
File "C:\Users\popec\Documents\GitHub\stable-diffusion-webui\repositories\midas\midas\base_model.py", line 13, in load
if "optimizer" in parameters:
TypeError: argument of type 'NoneType' is not iterable
thanks

sounds like the downloaded checkpoint is corrupted ?
Try deleting the downloaded checkpoints in /stable-diffusion-webui/models/midas/
Delete midas/dpt_large-midas-2f21e586.pt there, and try running the script again, re-downloading the file.
I just verified the download link for that model, and it is ok. So try again after deleting that file.

very well you fixed it, thank you very much, and very good job, this is fantastic

you're welcome, easy fix.

authors: popedead thygate


text:
Validation always returns true in FragmentActivity

I coded a submit form inside DialogFragment. after the button pressed it always returns true. How can I use this validation in FragmentActivity

@chathuraed Can you show your usage of addValidation(...)? I experienced the same issue but only when I use for example the one with the Activity as the first parameter. Try to use the addValidation(TextInputLayout, Pattern, String) instead (or any other suitable method signature). This worked in my case.

repo: thyrlian/AwesomeValidation


text:
ci(pr): add basic API documentation

extended Sphinx features, primarily with autodoc respectively
autosummary, spell check and external references to origin APIs
USB Control Transfer Requests of Little Wire firmware V1.2
Little Wire Generic API
Little Wire GPIO API
Little Wire ADC API
Little Wire PWM API

related to: #1 #2 #3 #4

Codecov Report

Merging #25 (6a3ca19) into main (ae49a8f) will increase coverage by 0.63%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   97.70%   98.33%   +0.63%
==========================================
  Files           2        2
  Lines          87      120      +33
  Branches        8        8
==========================================
+ Hits           85      118      +33
  Misses          1        1
  Partials        1        1

Impacted Files
Coverage Δ

src/verylittlewire/__init__.py
100.00% <100.00%> (ø)

src/verylittlewire/device.py
98.31% <100.00%> (+0.64%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

has been successfully reviewed by PR #15

authors: codecov-commenter rexut

repo: tiacsys/verylittlewire


text:
[Wrong result verify password]

First check

[x] I added a very descriptive title to this issue.
[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.
[x] I already read and followed all the tutorial in the docs and didn't find an answer.
[ ] I already checked if it is not related to FastAPI but to Pydantic.
[ ] I already checked if it is not related to FastAPI but to Swagger UI.
[ ] I already checked if it is not related to FastAPI but to ReDoc.
[ ] After submitting this, I commit to one of:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

from passlib.context import CryptContext

pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")

def verify_password(plain_password, hashed_password):
    return pwd_context.verify(plain_password, hashed_password)

def get_password_hash(password):
    return pwd_context.hash(password)

Example
Here's a self-contained, minimal, reproducible, example with my use case:

token = "2579353e88cf33776499aeda887226fb5e6999bdff129e45a24943f8ea48c784f6faf5d60942162a7d2395b4742037243fa41ffd5f6f3a23672e8c1f76fdf2723ed799101d"
verify_password(token + "b", get_password_hash(token + "a"))

Expected result: False
Actual result: True

Description

Environment
Additional context

https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/#hash-and-verify-the-passwords

Many implementations of bcrypt truncate the password to the first 72 bytes, following the OpenBSD implementation.

https://en.wikipedia.org/wiki/Bcrypt

Many implementations of bcrypt truncate the password to the first 72 bytes, following the OpenBSD implementation.

https://en.wikipedia.org/wiki/Bcrypt

Many implementations of bcrypt truncate the password to the first 72 bytes, following the OpenBSD implementation.

https://en.wikipedia.org/wiki/Bcrypt

Thank you

Many implementations of bcrypt truncate the password to the first 72 bytes, following the OpenBSD implementation.

https://en.wikipedia.org/wiki/Bcrypt

Thank you

Thanks for the help here @Mause ! 👏  🙇
Thanks for reporting back and closing the issue @letanloc1998  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.

authors: Mause letanloc1998 tiangolo

repo: tiangolo/fastapi


text:
German translations

German translations tracking
This is the issue to track translations of the docs to German. 🚀

This PR was not tracked by the bot, so I add this manually: #3584

I started a new PR the tutorial translation #4517

I started a new PR for the translation of the next page of the tutorial #4520

authors: mawassk rogerbrinkmann tiangolo


text:
how can I know when each version of fastapi release was out?

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from fastapi import UploadFile

Description
The release notes do not include when each version was out.
I would really like to know when 0.78.0 was released?
and when the other releases were out?
Operating System
Linux
Operating System Details
Virtual Machine Vmware Ubuntu 18.4
FastAPI Version
0.78.0
Python Version
3.8
Additional Context
No response

You can’t find the releases here:
https://github.com/tiangolo/fastapi/releases

You can subscribe to the mailing list : https://fastapi.tiangolo.com/newsletter/

And if you prefer GitHub, you can always "watch" fastapi's repo and select the Custom/Releases option.

Thanks for the help everyone! ☕🍰

authors: JarroVGIT TamarLevy axel584 iandronis tiangolo


text:
chore(first-steps.md): Fix typo

Fixes a small typo in the Security - First Steps guide.

Good catch! :male_detective: :female_detective: :mag:
Thanks! :rocket: :cake:

authors: PLNech tiangolo


text:
Fix issue with double model parsing

Fix caching issue when instead of cache lookup dependency solving was performed all the time:
Code example:
from asyncio import run

from httpx import AsyncClient
from pydantic import BaseModel, root_validator

from fastapi import FastAPI, Depends

app = FastAPI()

class Model(BaseModel):
    @root_validator
    def __root_validator__(cls, values):
        print("parsing")
        return values

def dependency(request: Model):
    return request

@app.post("/")
def foo(
        a: Model = Depends(dependency),
        b: Model = Depends(dependency),
):
    return {}

async def main():
    async with AsyncClient(app=app, base_url="http://testserver.com/") as client:
        await client.post("/", json={})

if __name__ == '__main__':
    run(main())

Expected behaviour - parsing printed only one time
Actual behaviour - parsing printed two times

@tiangolo Could you please review this PR? It would my nice to fix this issue

@Kludex Any chase you can take a look?)

Mentioning this perf improvement somewhere in the docs might also not be a bad idea?

authors: Jaza uriyyo


text:
Expose WebSocketState

Trivial improvement about exposing WebSocketState. It will eliminate the need of importing it from starlette directly.
Previously:
from fastapi.websockets import WebSocket
from starlette.websockets import WebSocketState

After:
from fastapi.websockets import WebSocket, WebSocketState

How do you use WebSocketState?

So there is an endpoint that is sending some data, usually very rarely but still, and is receiving nothing. So while we are not sending any data and the WebSocket connection was closed by the client, the task is still running. So to add functionality that if the connection is closed task will be closed also we are monitoring the WebSocket status, by simple .recevie.
The endpoint more or less looks like that:
@router.websocket("/subscribe/some/data/changes")
async def subscribe_connectors_status(
    websocket: WebSocket,
) -> None:
    async def send_some_data() -> None:
        last_data = await get_data()
        await websocket.send_json({"data": last_data})
        while True:
            await asyncio.sleep(1)
            new_data = await get_data()
            if new_data != last_data:
                # This happens very rarely that's why I would like to close all of these unused tasks.
                last_data = new_data
                await websocket.send_json({"foo": last_data})

    async def watch_status() -> None:
        while websocket.client_state == WebSocketState.CONNECTED:
            # We are not expecting any data, but this will change to the client state if the connection will be closed.
            await websocket.receive()

        tg.cancel_scope.cancel()

    await websocket.accept()
    async with create_task_group() as tg:
        tg.start_soon(watch_status)
        tg.start_soon(send_some_data)

Thanks for the contribution @matiuszka! :cake:
And thanks @Kludex for the help! :bow:
Knowing how you are using it made me feel it makes sense to have this in, so I'll take it. :rocket:
Thanks! :coffee:

authors: Kludex matiuszka tiangolo


text:
[QUESTION] API Nested Documentation

First check

[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the Typer documentation, with the integrated search.
[x] I already searched in Google "How to X in Typer" and didn't find any information.
[x] I already searched in Google "How to X in Click" and didn't find any information.

Description
Thanks a lot for the framework and congrats for the project!
In the Redoc Interactive Demo sample (link) we can see the documentation separated by "themes".
First we can see general information (1st level), like: Introduction, CROS, Auth etc. And then we see "General" with "pet" and "store" beneath it, and then "User Management", with "user". At last we can see "Models".
Is it possible to organize the project in order to have a more organised documentation?
Thanks a lot!

[Maintenance note]: I'll go ahead and close this issue as it seems to be out-dated. In case there are follow-up questions, please open a new thread on the discussion forum 🙏

authors: ccrvlh svlandeg

repo: tiangolo/typer


text:
Can you share the test code for me to learn?

Hi~ I find your implementation of RRTx really useful for my project. I would really appreciate it if you share the test code for me to learn it faster

Unfortunately I don't have access to the test code, it was for a school project.

authors: Emilyhelin tianyilim

repo: tianyilim/RRTx


text:
panic: runtime error: invalid memory address or nil pointer dereference

报错:
天翼帐号登录成功:  *****
ERROR: panic: runtime error: invalid memory address or nil pointer dereference
ERROR: [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x856e8b]
ERROR:
ERROR: goroutine 53 [running]:
ERROR: github.com/tickstep/cloudpan189-go/internal/functions/panupload.(*boltDB).Next(0xc0001e00f0, 0xc00047ed38, 0x14, 0x0, 0x0, 0x0)
ERROR: 	/Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/internal/functions/panupload/sync_database_bolt.go:149 +0x30b
ERROR: github.com/tickstep/cloudpan189-go/internal/functions/panupload.(*boltDB).clean(0xc0001e00f0, 0xc8)
ERROR: 	/Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/internal/functions/panupload/sync_database_bolt.go:89 +0x6f
ERROR: github.com/tickstep/cloudpan189-go/internal/functions/panupload.(*boltDB).Close(0xc0001e00f0, 0x14, 0xc00047ed50)
ERROR: 	/Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/internal/functions/panupload/sync_database_bolt.go:179 +0x73
ERROR: github.com/tickstep/cloudpan189-go/internal/command.DelRemoteFileFromDB(0x0, 0x7ffea739ceae, 0x14, 0xc00047ed38, 0x14, 0x1)
ERROR: 	/Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/internal/command/backup.go:242 +0x5a7
ERROR: github.com/tickstep/cloudpan189-go/internal/command.Backup.func1(0xc00050fbb0, 0x101, 0xc000320f40, 0x7ffea739cec3, 0xa, 0xc00037c900, 0x7ffea739ceae, 0x14)
ERROR: 	/Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/internal/command/backup.go:309 +0x1fa
ERROR: created by github.com/tickstep/cloudpan189-go/internal/command.Backup
ERROR: 	/Users/tickstep/Documents/Workspace/go/projects/cloudpan189-go/internal/command/backup.go:303 +0x4ca
APP登录失败： invalid character '<' looking for beginning of value
退出用户成功: *****
Debian linux, amd64 系统

同样问题

authors: han-jingyu toss-a


text:
fix link to those in master branch

since there is no master, those links are broken

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

authors: CLAassistant zyctree

repo: tidb-incubator/tinysql


text:
New App: NY Times RSS New

RSS feed reader for NT Times.   requested by @jwoglom

closed - due to TOS issues

repo: tidbyt/community


text:
linux build error

neco.c:1332:5: error: conflicting types for 'dladdr'
 1332 | int dladdr(const void *, void *);
      |     ^
/usr/include/dlfcn.h:98:12: note: previous declaration is here
   98 | extern int dladdr (const void *__address, Dl_info *__info)
      |            ^
1 error generated.

Which compiler, version, and cflags?

clang version 17.0.6
--target=x86_64-pc-linux-gnu -D_GNU_SOURCE -D__UNWIND_H__ -f

Thanks! 👍
I was able to get the error with:
CFLAGS="-D_GNU_SOURCE" tests/run.sh

The error is technically with the llco project and I fixed it there too.

repo: tidwall/neco


text:
背景颜色如何修改

RT 背景颜色如何修改  默认白色 我黑色想用

RT 背景颜色如何修改 默认白色 我黑色想用

你好，近几天发版本会进行更改，如果想快速解决，加一下群。

RT 背景颜色如何修改 默认白色 我黑色想用

你好，2.0.3已经解决了。

repo: tigerAndBull/TABAnimated


text:
Read secrets from agent

These changes require to have on test running machine test files which contains some secret parameters:
/run/secrets/dut-pass
/run/secrets/plug-login
/run/secrets/plug-pass
/run/secrets/switch-token
/run/secrets/switch-secret
/run/secrets/wifi-ssid
/run/secrets/wifi-password

should be merged after https://github.com/tiiuae/ghaf-infra/pull/325

repo: tiiuae/ci-test-automation


text:
🛑 Blinkstore > Seller is down

In 1238f29, Blinkstore > Seller (https://seller.blinkstore.in) was down:

HTTP code: 525
Response time: 659 ms

Resolved: Blinkstore > Seller is back up in 4cd3af5.

repo: tikajhq/upptime


text:
log details for PessimisitcLockNotFound in check_for_newer_version

What is changed and how it works?

Issue Number: ref #11612
What's Changed:
Change some logs and comments.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None

/merge

authors: ekexium sticnarf

repo: tikv/tikv


text:
raftstore: reduce reporting unreachable

Signed-off-by: 5kbpers hustmh@gmail.com

What is changed and how it works?

Issue Number: Close #13054
What's Changed:

Add `store_regions` to `StoreMeta` for reducing reporting unreachable.

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Release note
Fix a bug that raftstore CPU was increased when TiKV has an unreachable peer store.

Maintaining a new field in StoreMeta is too complicated and very easy to make mistake. I don't have the confidence to get it merged quickly without introducing new problems. Giving that it's not a common case, I suggest to make broadcast backoff configurable. This should be easy enough and ease the problem.

Maintaining a new field in StoreMeta is too complicated and very easy to make mistake. I don't have the confidence to get it merged quickly without introducing new problems. Giving that it's not a common case, I suggest to make broadcast backoff configurable. This should be easy enough and ease the problem.

Unified regions and regions_on_store into one struct to make sure they are modified together. IMO adding a new field to record relations between stores and regions is the best way to fix this issue fundamentally, it can reduce unnecessary messages to peers.

Unified regions and regions_on_store into one struct to make sure they are modified together. IMO adding a new field to record relations between stores and regions is the best way to fix this issue fundamentally, it can reduce unnecessary messages to peers.

The fundamental cause of the issue is too many regions in one node. Filter out unrelated regions is just an optimization instead of a fix.

Unified regions and regions_on_store into one struct to make sure they are modified together. IMO adding a new field to record relations between stores and regions is the best way to fix this issue fundamentally, it can reduce unnecessary messages to peers.

The fundamental cause of the issue is too many regions in one node. Filter out unrelated regions is just an optimization instead of a fix.

In this issue these failed tiflash have only several tables, so there is actually a small part of regions that need to be notified that tiflash is unreachable.

In this issue these failed tiflash have only several tables, so there is actually a small part of regions that need to be notified that tiflash is unreachable.

Too many regions is already not a normal case, only few regions are affected is another rare situation. We should not optimize for rare cases when there is already an easy solution.

In this issue these failed tiflash have only several tables, so there is actually a small part of regions that need to be notified that tiflash is unreachable.

Too many regions is already not a normal case, only few regions are affected is another rare situation. We should not optimize for rare cases when there is already an easy solution.

OK, already reverted those changes, PTAL again.

/merge

/run-cherry-picker


text:
copr: vectorize LTrim

Signed-off-by: mak 610546069@qq.com

PCP #5751
What have you changed?
Add vectorized ltrim
What is the type of the changes?
Improvement (a change which is an improvement to an existing feature)
How is the PR tested?
Please select the tests that you ran to verify your changes:

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No. It should not change the behavior.
Does this PR affect tidb-ansible?
No

@sre-bot /run-integration-copr-test copr-test=pr/58

LGTM. Please fix conflicts. Thanks!

@sre-bot /run-integration-copr-test copr-test=pr/58

/merge


text:
Function declaration for luaL_checkoption needs verified

Function potentially doesn't work due to suspected wrong declaration. Needs testing.

The C function asks for const char *const lst[], which is equivalent to string[] and not string[][].

Thanks for taking the time to check this out!

authors: japajoe tilkinsc


text:
🛑 Tilmor.com is down

In 79dc5e5, Tilmor.com (https://www.tilmor.com/api/health) was down:

HTTP code: 502
Response time: 179 ms

Resolved: Tilmor.com is back up in a6a8aa3.

repo: tilmorproducts/ecommerce-status


text:
bazel: update the bazel example to retag images instead of using custom_build(tag)

Hello @maiamcc,
Please review the following commits I made in branch nicks/no-tags:
aabd615abbee104f8f06d1f3998788778c984eda (2020-10-30 12:41:25 -0400)
bazel: update the bazel example to retag images instead of using custom_build(tag)
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

I ran into this yesterday...the current code just requires you to have a lot of context, and i'm hoping this will be clearer/more natural. will update the bazel guide to reflect this as well


text:
Consequent coverage reports overwrite each other

From #2286
    - php: 7.4
      env: WP_VERSION=latest WP_MULTISITE=0 IMG_LIBS=1 COVERAGE=1
    - php: 7.4
      env: WP_VERSION=latest WP_MULTISITE=1 IMG_LIBS=0 COVERAGE=1

Currently we upload coverage data to Coveralls then we overwrite it with multisite coverage data.
What to do now??

Maybe https://docs.coveralls.io/parallel-build-webhook?
env:
  - COVERALLS_PARALLEL=true

notifications:
  webhooks:
    - https://coveralls.io/webhook

Nice, worth a shot! Otherwise, we're pretty much just running it 2x for no benefit?

running it 2x for no benefit?

Oh yes!

Well that's no fun!

Okay.
I'll send a PR after #2289 gets merged/closed :)

authors: jarednova szepeviktor

repo: timber/timber


text:
tests to ensure menu ordering is working

Additional test coverage

Coverage remained the same at 94.061% when pulling b02ed4fc06f5e9394f5790946a57938a7c4e331a on tests/2017/10/11 into 8d18547b193e7fd0ebdb629f9130a22dbb191493 on master.

Coverage increased (+0.2%) to 94.253% when pulling 9b403fb7515098c93310684408b19b6d7e0a9b48 on tests/2017/10/11 into 8d18547b193e7fd0ebdb629f9130a22dbb191493 on master.

Coverage increased (+0.2%) to 94.281% when pulling e6a3c9d3484cde0d8f3e8eeb875f3bbdc8be7b3e on tests/2017/10/11 into 8d18547b193e7fd0ebdb629f9130a22dbb191493 on master.

authors: coveralls jarednova


text:
remove tab indentation and use spaces instead

Tabs entfernt und statt dessen spaces eingefügt.

well done!

authors: ifahrentholz timbuktuuu

repo: timbuktuuu/init-grunt-sample


text:
🛑 VPS-Proxy PAGE is down

In adb50f1, VPS-Proxy PAGE (https://vps.timedin.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VPS-Proxy PAGE is back up in da4ff2c.

repo: timedin-de/upptime


text:
🛑 2t0.de is down

In 3a2218b, 2t0.de (https://2t0.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 2t0.de is back up in e14e387 after 37 minutes.


text:
It's not working with GridLayout Manager

I have following GridLayout manager set to Recycle view but it's Header Decoration not working .
final GridLayoutManager mGridLayouyt=new GridLayoutManager(getActivity(),3);

        mGridLayouyt.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
            @Override
            public int getSpanSize(int position) {

                LogUtil.i("LOG_TAG", "Span Count Position -->" + position);

                //(isSectionHeaderPosition(position))? layoutManager.getSpanCount() : 1 ;

                return mArrayModel.get(position).isSection() ? mGridLayouyt.getSpanCount() : 1;

            }
        });

        mGridLayouyt.setSpanCount(3);

        mRecycleView.setLayoutManager(mGridLayouyt);

This library only works with a LinearLayoutManager - See #8

repo: timehop/sticky-headers-recyclerview


text:
update promscale mixin

What this PR does / why we need it
Updating promscale helm chart (which contains promscale alerts) and regenerating promscale dashboard.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer
Checklist

[ ] Chart Version bumped
[ ] CLA signed

Oh, right, good catch!

repo: timescale/tobs


text:
hi 扫描的时候 只能拿到本地ip  请问有别的参数来获取整个局域网下的ip吗？

./goscan -I eth0
INFO[0000] 本机ip:192.168.1.201
INFO[0000] 内网IP范围:192.168.1.0 --- 192.168.1.255
192.168.1.201   00:04:4b:df:40:08 miivii-tegra
能加下QQ咨询下
823129275

ok

authors: Linuxlovers timest

repo: timest/goscan


text:
How to apply Incremental Static Regeneration?

Is your feature request related to a problem? Please describe.
How to apply Incremental Static Regeneration with this template, if im just using MDX files in the /data/blog folder?
Describe the solution you'd like
If ISR is applied, I don't have to redeploy the whole site after I correct a typo.
https://vercel.com/docs/concepts/incremental-static-regeneration/overview

Sure, here's a more refined version:
In order to utilize Incremental Static Regeneration (ISR), it's essential to retrieve blog data from a database or another server. If you're employing MDX, you'll have to rebuild and redeploy it regardless. Consequently, there wouldn't be any advantage to using ISR.
To leverage ISR effectively, you must fetch data from an alternative source, enabling its utilization.

repo: timlrx/tailwind-nextjs-starter-blog


text:
ESET antivirus blocks use of systembridge

Description
When installing the EXE or MSI i get a block from ESET about the software.
'A threat (Suspicious) has been found in a file that Windows Installer is trying to access'
It is about the systembridgebackend.exe.
I am unable to run/use the systembridge without my AV exploding. Is there a way to solve this without whitelisting this in ESET?
What Platform / OS are you running?
Windows
What version are you running?
latest
Anything in the logs or a references that might be useful?
No response
Additional information
No response

You have to whitelist it in ESET, just like how i had to whitelist it in BitDefender.
Both the systembridgebackend.exe and systembridge.exe -- best to do the whole folder while your at it.

authors: DeFlanko stiefenswiegel