split-platform-components works on '.test' files also

This stops the split-platform-components from complaining when you import a platform specific component in a platform specific test file: .ios.test.js.

Coverage remained the same at 71.783% when pulling 29eeff348702add5a930969336f0238af0647211 on bspaulding:test-ext-support into b6fd6be3c8633ca822e0ea2dd5bfaa0535bdc84d on Intellicode:master.

Hi @bspaulding,
Thanks for your PR! I think it would be nice to add functionality like this, but the currently there are several conventions people use for naming their test files. Are you open to make it configurable?

Sure, was just following the jest defaults to make it simple. How might this work? Should we just expose the regex directly as an rule option?

Did a quick up a quick version of what this might be. I'd love to also make the jest default valid ootb, but I understand if you'd rather not.

Coverage increased (+0.1%) to 71.91% when pulling 069aa0b192d433cf7c0214c9ec0a9cbffde0a5ba on bspaulding:test-ext-support into b6fd6be3c8633ca822e0ea2dd5bfaa0535bdc84d on Intellicode:master.

Nice! I think that will work


Grammatically updated the website content

I had noticed a small grammatical error in your website and I wish to help you to correct it and improve your website.
I have pasted a screenshot of the module after updating it. Please let me know what you think.

Thanks a lot! I have merged the changes.

Thanks for your support and I hope I can be of help in the future.
Siddharth Hegde
On Thu, 1 Oct, 2020, 11:25 AM Abg4real<EMAIL_ADDRESS>wrote:

Thanks a lot! I have merged the changes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DSC-DYPCOE/Website/pull/3#issuecomment-701904238, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANB2UUZMFCPONWTTNTNGSX3SIQKTLANCNFSM4R7O6R4Q
.


Add greenkeeper bot to this repository to automatically upgrade dependencies

See https://greenkeeper.io/
Usage:
Three simple commands: Open your terminal, and
npm install -g greenkeeper
greenkeeper login

Your browser will open and ask you to log in to GitHub. Please do that.
Then, inside the repo you want to keep up to date, do
greenkeeper enable

and you’re done! Your first greenkeeper PR will arrive shortly!
Checkout my fork from this project to see how this works:
https://github.com/StefH/LINQ/pull/1

I do see your point about importance of keeping things up to date but unfortunately greenkeeper requires GitHub login info to be sent and stored on their server. It does not integrate with GitHub Auth0 API. I will have to do some digging...

Well, looks like it does support OAuth, I was incorrect. I've enabled the repository so it will be updated automatically. Thank you for the tip!


Is it possible to type alias a function?

is there anyway to assign a function to a type alias, so that it could be reused for all functions that may have the same parameter & return types ?
For Example by declaring a type alias like so
// generic function type with it's parameters explicitly declared and typed
type AliasFunction = (a: string, b: boolean, c: number[]) => void;

// a class with methods that will be called with the same parameters and types as the type alias

class Generic {
	method1: AliasFunction = (
		a,
		b,
		c
	) => // operates on a, b & c, but returns nothing
		// this method would throw an error for
// not having the same amount of arguments as the AliasFunction type or the same types
      methodN: AliasFunction: = (x: number, y: string) => ''
}
// or with just generic type arguments
type FunctionAlias = (number, [string]) =>void // you can declare a function that
// takes in exactly 2 arguments that has to be a number and a array of strings,

function types(n, array) {};

// this would get an error

types(true, 9);

Basically being able to declare a generic function with it's return and parameters typed that could then use those types to type check that function.

Hello, flow.org/try link pls 👍

nvm it looks like it's a issue with VSCode not working properly


migrate existing cemu and all future cemu to toolslocation

No problem, take your time. I did test this pretty thoroughly, but another set of eyes should look at it 😄


Adding Proxy for each account

Good afternoon I recently saw your program. From the first impression, she will be very good at helping me with farming points, but there is one huge drawback, or I just didn’t see it, but in your program you cannot add a proxy for each account. If this is not there, will you add it in the near future, and if so, please tell me where?

hello, i think its build in selenium

Hi,
We are currently working on a proxy system (hopefully it will be released this weekend) that offers the following features:
Default: Off (However, I recommend turning on)
Port & IP: http://<IP_ADDRESS>:8080
Username:
Password:
The games Blum & Vertus both force you to use the provided proxy, or else the game won't work.
The built-in proxy is only a beta feature at the minute, but it will replace certain requests for your user-agent, etc, and replace the ones from your system with one that shows you are using an iPhone, the iOS app, not Telegram Web, etc.
There is also an option that tells the third-party module Squid to spoof your outgoing IP address with a user-defined IPV4/IPV6 address if you want to change it. Mine is set to mimic my own home connection.

I will wait for this update, because farming everything from 1 IP address is not a very good thing!

I will wait for this update, because farming everything from 1 IP address is not a very good thing!

Hi,
The system doesn't offer a per-account configuration. If you want to set up a proxy for each account, you'd need to create multiple repository folders or provide your own workaround:
git clone https://github.com/thebrumby/HotWalletClaimer account1
git clone https://github.com/thebrumby/HotWalletClaimer account2
git clone https://github.com/thebrumby/HotWalletClaimer account3

I will wait for this update, because farming everything from 1 IP address is not a very good thing!

Hi,
The system doesn't offer a per-account configuration. If you want to set up a proxy for each account, you'd need to create multiple repository folders or provide your own workaround:
git clone https://github.com/thebrumby/HotWalletClaimer account1
git clone https://github.com/thebrumby/HotWalletClaimer account2
git clone https://github.com/thebrumby/HotWalletClaimer account3

Hi. I am faced with the problem that I cannot run any script with a proxy. Literally before that, everything worked fine without a proxy, and now I wanted to create a new Telegram session with a proxy, but in the end nothing worked

Hi @fly-a1one ,
What system are you using? Docker / Standalone? If standalone what operating system and OS version are you using?
From the screenshot that you showed, all I can see is it's not working, but there are no clues as to why.
pm2 delete http-proxy
pm2 save

If you run the above commands and try to ./launch.sh hot again, it should try to reinstall the proxy. Maybe at that step you can see some error highlighted?
Thanks


i was not able to acces the premium questions can u pls help

@kotharamya99 did you follow the tutorial?https://www.youtube.com/watch?v=5oZMsPbBljo

Can we also get the locked questions
On Fri, Dec 29, 2023 at 2:36 PM ben @.***> wrote:

@kotharamya99 https://github.com/kotharamya99 did you follow the
tutorial?https://www.youtube.com/watch?v=5oZMsPbBljo
—
Reply to this email directly, view it on GitHub
https://github.com/31b4/Leetcode-Premium-Bypass/issues/29#issuecomment-1872374586,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHNKJBQN3QG327QAMJBMO3YL5AYHAVCNFSM6AAAAABBG756V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGM3TINJYGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@kotharamya99 yes if u folloe the tutorial

Thanks, I will!
On Sat, Dec 30, 2023 at 1:57 AM ben @.***> wrote:

@kotharamya99 https://github.com/kotharamya99 yes if u folloe the
tutorial
—
Reply to this email directly, view it on GitHub
https://github.com/31b4/Leetcode-Premium-Bypass/issues/29#issuecomment-1872495548,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHNKJCOURYJIZ5NVJRFM4LYL7QPVAVCNFSM6AAAAABBG756V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGQ4TKNJUHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@kotharamya99 let me know if you managed to make it work.

Yes, it worked.thank you so much
On Sat, Dec 30, 2023 at 5:51 AM ben @.***> wrote:

@kotharamya99 https://github.com/kotharamya99 let me know if you
managed to make it work.
—
Reply to this email directly, view it on GitHub
https://github.com/31b4/Leetcode-Premium-Bypass/issues/29#issuecomment-1872531900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHNKJHK2WL5P6DWTB4EXD3YMAL4LAVCNFSM6AAAAABBG756V2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGUZTCOJQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@kotharamya99 amazing, if you like the extension, please leave a star on this repo


Which license does this project use? who owns the copyright?

What kind of license? Apache 2.0, MIT or something else?
Who owns this project? This is a personal project supported by daocloud.io or copyright daocloud.io?

I have seen you commit LICENSE as MIT, owned by the author. Could you tell me more about how to define power by daocloud lab? Can I think it is sponsor by?

Daocloud Lab is one of the Daocloud's departments，it's fullname is Nat Appliaction Transformation. It is also the department witch I am in.

Powered by meaning daocloud is using this project. Is that what you try to say? I am just asking.
Copyright and license are good enough for me.


Add an option to disable JavaScript for a capture

https://stackoverflow.com/questions/65958243/disable-javascript-in-playwright

The reference for python:
https://playwright.dev/python/docs/emulation#javascript-enabled

Implemented in PlaywrightCapture: https://github.com/Lookyloo/PlaywrightCapture/releases/tag/v1.26.1


Create Jenkinsfile

for building pipeline
Signed-off-by: Rowland Rowland O<EMAIL_ADDRESS>

approved


#2 Try - Locale: Added new pt_BR to Locales

I hope it suits right!

:-1:

:+1:
disregard last message

Great! :)


Bazel support: go_binary rule [phab:D171]

Created by schroederc at 2015-04-14 15:49:22:

zarko accepted this revision at 2015-04-14 16:58:04

schroederc closed via commit f7b9b56e190b76896a53780ed505ce832b077249 at 2015-04-14 17:31:54


No command for Control found for: bluelink.0.*.control.charge_stop

I can not stop charging.
the other remote commands i tested work, like start charging, but when I try to stop i see this error in the Log.
Using the Android-App, bot, starting and stopping works.

Same Problem here

pls check

Still not working.
Log: No command for Control found for: bluelink.0.***.control.charge_stop


Windows 10- Not compatible with your operating system or architecture<EMAIL_ADDRESS>

Hi,
I am on a win 10 machine. When trying to install fsevents, I see the following error:
Not compatible with your operating system or architecture<EMAIL_ADDRESS>Valid OS:    darwin
Valid Arch:  any
Actual OS:   win32
Actual Arch: x64
package.json:
"dependencies": {
    "body-parser": "^1.15.0",
    "bower": "^1.7.2",
    "cookie-parser": "^1.4.0",
    "cors": "~2.7.1",
    "debug": "^2.2.0",
    "edge": "^5.0.0",
    "elliptic": "^6.0.2",
    "express": "^4.13.3",
    "gulp": "^3.9.0",
    "gulp-apidoc": "^0.2.2",
    "gulp-bower": "0.0.11",
    "gulp-concat": "^2.6.0",
    "mkdirp": "^0.5.1",
    "morgan": "^1.6.1",
    "node-uuid": "~1.4.7",
    "nodemon": "^1.9.1",
    "pg": "^4.5.2",
    "pg-hstore": "^2.3.2",
    "pug": "^2.0.0-alpha6",
    "sequelize": "^3.21.0",
    "serve-favicon": "^2.3.0",
    "sqlite3": "^3.1.3",
    "stylus": "^0.42.3"
  }

It's an OS X-only module.  You can add it to your optionalDependencies if you like.


monitor: error while fetching metadata for votes service

This issue was automatically created by the knesset-data health monitor, please do not modify the title or remove any labels
unexpected error while trying to fetch metadata for votes service
url=http://online.knesset.gov.il/WsinternetSps/KnessetDataService/VotesData.svc
error=request exception
('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
unexpected error while trying to fetch metadata for votes service
url=http://online.knesset.gov.il/WsinternetSps/KnessetDataService/VotesData.svc
error=request exception
('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
unexpected error while trying to fetch metadata for votes service
url=http://online.knesset.gov.il/WsinternetSps/KnessetDataService/VotesData.svc
error=request exception
('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
unexpected error while trying to fetch metadata for votes service
url=http://online.knesset.gov.il/WsinternetSps/KnessetDataService/VotesData.svc
error=request exception
('Connection aborted.', error(110, 'Connection timed out'))

Encountered the error again
unexpected error while trying to fetch metadata for votes service
url=http://online.knesset.gov.il/WsinternetSps/KnessetDataService/VotesData.svc
error=request exception
('Connection aborted.', error(110, 'Connection timed out'))


fix/camera-control

PR will fix the camera control (viz. centerTo function).

Not sure if this is still WIP or not, but it appears to work and I am going to combine it with 2d. So merging now.


Include option does not work with word-diff or color-words

When using --include 0 --format word-diff, all columns are output, instead of only the differences in column 0.

This is a bug. I will fix it.


Using Laravel Wave with the frontend in different url or port

What happened?
When using frontend in a url or port different of the backend, the connection is not stablished and i cannot configure custom url or port
How to reproduce the bug
Using frontend framework like NEXT.JS
Package Version
0.7.1
PHP Version
8.2.0
Laravel Version
9.0
How to solve?
I created a repository to present the solution to the problem: https://github.com/victorcesae/feature-laravel-wave-client
Notes
No response

Hey @victorcesae !
My apologies for the late response.
In the latest version you can configure endpoint option or any Request option you need just like with simple fetch request.
https://github.com/qruto/laravel-wave#client-options
Let me know if you have any additional obstacles.


Update PULL_REQUEST.md

Oh my bad... I'll change

Oh my bad... I'll change

@todcru Close this PR and send a new one as you modified the wrong file.

Oh my bad... I'll change

@todcru Close this PR and send a new one as you modified the wrong file.

can you check now bro

Oh my bad... I'll change

@todcru Close this PR and send a new one as you modified the wrong file.

can you check now bro

@todcru You didn't close this PR and send new PR.


ngx-datatable-row-detail - "auto" height and padding calculations - virtualization on

I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[x] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
You can only set a specific height for the datatable-row-detail which means you have to know how big the content of the detail is before it gets displayed.
Moreover if you use [rowHeight]="100" and the row-details provides top and bottom padding of 10px then the actual height / available space inside the row details is not 100px but 80px!
Expected behavior

When setting the height of the row details to 100px I expect it to be the actual available space for the child component, the datatable should not subtract the padding to the height but add the padding as needed.
Is there a way to let the datatable know that it has to elaborate the height of the row-detail at runtime? there are a bunch of issues related to this, some are open and some are closed. Everyone handled things differently I would like to know the actual solution / best practice for this component. When I try to use [rowHeight]="'auto'" the rows beneath disappear as if the row details is taking up all the available space even if the component inside it is actually reallysmall.

Following the related issues:

https://github.com/swimlane/ngx-datatable/issues/1657: this is exactly what happens if I set the [rowHeight]="'auto'", the actual row-detail height is set correctly and as expected but the following rows for some reason disappear from the DOM.
https://github.com/swimlane/ngx-datatable/issues/1831: same as 1657
https://github.com/swimlane/ngx-datatable/issues/544: some people talk about some possible solutions which didn't work for me
https://github.com/swimlane/ngx-datatable/issues/525: here it says 'auto' will never be implemented, yet people are talking about it
https://github.com/swimlane/ngx-datatable/issues/1364: is a duplicate of this issue

Reproduction of the problem
What is the motivation / use case for changing the behavior?
I don't know the height of the component that gets loaded in the row detail. Actually, depending on the responses I receive from the BE, I need to show / hide different components (i.e: a list, a form, just some text) which have all different heights requirements.
Please tell us about your environment:
Windows 10

Table version:
19.0.0

Angular version:
Angular 10

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
All

Language: [all | TypeScript X.X | ES6/7 | ES5]

I'm facing the same issue, did you find any solution for this?

Hi @btimfl, unluckly we stopped working on the component a while ago so I don't remember exactly if we managed to fixed it or not and we are not planning on going on with this component for now due to other priorities.
What I can tell is that by quickly testing maybe we found a way to solve it but I'm not sure. I'll share with you some code maybe it might be useful for your testing.
This is what we defined in the html template.
<!-- Accordion template -->
<ngx-datatable-row-detail [rowHeight]="getHeight()" #accordion>
  <ng-template let-row="row" let-expanded="expanded" ngx-datatable-row-detail-template>
    <div class="injector-container" #accordionContainer>
      <!-- other angular component -->
    </div>
  </ng-template>
</ngx-datatable-row-detail>

And this is how the getHeight() funcion is implemented:
  getHeight() {
    let height = this.accordionContainer;
    if (this.accordionContainer && this.accordionContainer.nativeElement.offsetHeight > 0) {
      height = this.accordionContainer.nativeElement.offsetHeight;
    }
    this.rows = [...this.rows];
    return height;
  }

So basically what id does is to calculate the height of the accordionContainer manually at runtime and the forcing the rendering of the datatable by assigning the rows again.
Hope it helps in someway! Good luck!!

Thank you so much for replying and sharing this information. Unfortunately for me, I'm passing the template for the rowDetail from another component, and I'm facing a bunch of problems in getting the offset height due to that. I don't think I'll be able to make it work unless I define the template right in this file, which is not possible because the content of the detail row are decided based on some information I get from the backend.


[TASK] Allow specifying things to add when mamba is installed in dependencies.xml

Issue Description
Sometimes, it is useful to add things to the mamba install.  For example, on windows, fmt version 10.1 works with mamba, but version 10.2.0 doesn't.  Also sometimes it might be better to install a specific version of python with mamba.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[ ] 1. Is it tagged with a type: defect or task?
[ ] 2. Is it tagged with a priority: critical, normal or minor?
[ ] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[ ] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[ ] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Okay to close via #2237.


Handle large file uploads that require chunking

Dupliactes https://www.notion.so/Handle-large-file-uploads-that-require-chunking-d1729ced791c4a51a2270b4101fcb3bf?pvs=4


Readme files have broken images and dead link in Examples

In subfolders of https://github.com/Luos-io/Examples

Fixed


on macOS + iTerm2, alt+enter won't work, and it's treated as enter (submit)

using the default 	keymap := huh.NewDefaultKeyMap()
here's the code:
var (
	Header          string = "I'm the header"
	Placeholder     string = "Write something ..."
	CharLimit       int    = 500
	ShowLineNumbers        = true
	Width                  = 50
	Height                 = 5
	ShowHelp               = true
)

func Write() (string, error) {
	theme := huh.ThemeCharm()
	//theme.Focused.Base = o.BaseStyle.ToLipgloss()
	//theme.Focused.TextInput.Cursor = o.CursorStyle.ToLipgloss()
	//theme.Focused.Title = o.HeaderStyle.ToLipgloss()
	//theme.Focused.TextInput.Placeholder = o.PlaceholderStyle.ToLipgloss()
	//theme.Focused.TextInput.Prompt = o.PromptStyle.ToLipgloss()

	keymap := huh.NewDefaultKeyMap()
	//keymap.Text.NewLine.SetHelp("ctrl+j", "new line")

	var value string
	err := huh.NewForm(
		huh.NewGroup(
			huh.NewText().
				Title(Header).
				Description("It's description").
				Placeholder(Placeholder).
				CharLimit(CharLimit).
				ShowLineNumbers(ShowLineNumbers).
				Value(&value),
		),
	).
		WithAccessible(false).
		WithWidth(Width).
		WithHeight(Height).
		WithTheme(theme).
		WithKeyMap(keymap).
		WithShowHelp(ShowHelp).
		Run()

	if err != nil {
		return "", err
	}
	return value, nil
}

Hey there! Some terminals might not be compatible with alt+enter, which is why we added the ctrl+j keybinding. Hopefully in the future we can support all terminals with the alt key.


Fleky Test: TopologyAwareScheduling for Pod group when Creating a Pod group

What happened:
Periodic Tests failed on "End To End TAS Suite: kindest/node:v1.31.1: [It] TopologyAwareScheduling for Pod group when Creating a Pod group Should place pods based on the ranks-ordering".
{Timed out after 5.001s.
The function passed to Eventually failed at /home/prow/go/src/kubernetes-sigs/kueue/test/util/util.go:91 with:
Error matcher expects an error.  Got:
    <nil>: nil failed [FAILED] Timed out after 5.001s.
The function passed to Eventually failed at /home/prow/go/src/kubernetes-sigs/kueue/test/util/util.go:91 with:
Error matcher expects an error.  Got:
    <nil>: nil
In [AfterEach] at: /home/prow/go/src/kubernetes-sigs/kueue/test/e2e/tas/pod_group_test.go:85 @ 12/01/24 16:48:43.849
}

What you expected to happen:
No errors.
How to reproduce it (as minimally and precisely as possible):
https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/periodic-kueue-test-tas-e2e-main/1863261324973182976
Anything else we need to know?:

Environment:

Kubernetes version (use kubectl version):
Kueue version (use git describe --tags --dirty --always):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/kind flake

/assign

/reopen
Still have flakes https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_kueue/3714/pull-kueue-test-tas-e2e-main/1863895692108369920.

I'm not sure this is the issue, but seeing "tas-flavor" exists makes me wonder its deletion fails. I'm thinking that we should use ExpectObjectToBeDeleted for all objects deleted, so that we can pin point which object wasn't deleted after all, because just DeleteObject sends delete request, but the object may stay as it is processed async, for example due to finalizers. wdyt @mbobrovskyi ?

Yeah, agree. This also needs to be fixed in the other tests.


eliminate redundant zero “add”

eliminate redundant zero “add”

This will be addressed on the revamp of IOb-Cache


Remove-IntuneWin32AppSupersedence - Relationships needs to be a array

When no dependencies are found in a Win32App, I think we need to change $win32AppRelationshipsTable from:
{
    "relationships":  null
}

to
{
    "relationships":  []
}

Without the change I get:

ADVERTENCIA: An error occurred while removing supersedence configuration for Win32 app: 375fcc3b-eee8-44f3-8956-8b8d489151c0. Error message: BadRequest: {
"Message": "Invalid action parameter: 'relationships'. - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: b8232255-78e2-4c1a-af96-83a811c575ec - Url:
https://fef.msub06.manage.microsoft.com/AppLifecycle_2402/StatelessAppMetadataFEService/deviceAppManagement/mobileApps('375fcc3b-eee8-44f3-8956-8b8d489151c0')/microsoft.management.services.api.updateRelations hips?api-version=5023-11-15",
"RetryAfter": null,
"ErrorSourceService": "",
"HttpHeaders": "{}"

I did not check, but may be we can do the same change with Remove-IntuneWin32AppDependency

This was fixed in 1.4.4 versión. Closing the issue
What is the difference between
@($a)

And
if($a) { @($a) } else {@()}

?
Thank you!

Actually, it's not really fixed as simply outputting the @() in a statement would generate the "null" output, hence I need to update this to something similar as:
$Win32AppRelationshipsTable = [ordered]@{
    "relationships" = if ($Dependencies1) { @($Dependencies1) } else { , @() }
}

I will be adding that shortly.

Actually (with powershell 5.1), @() works as proposed in our commits (And ", @()" generate a different, not wanted output):
PS C:\> $a = [ordered]@{ a = @() }
PS C:\> $a | ConvertTo-Json
{
    "a":  [

          ]
}
PS C:\> $a = [ordered]@{ a = ,@() }
PS C:\> $a | ConvertTo-Json
{
    "a":  [
              [

              ]
          ]
}

Maybe with powershell 7 change it ?
Thank you

Sorry for reopening, it is not necesary, of course, closing

Actually, it's not really fixed as simply outputting the @() in a statement would generate the "null" output, hence I need to update this to something similar as:
$Win32AppRelationshipsTable = [ordered]@{
    "relationships" = if ($Dependencies1) { @($Dependencies1) } else { , @() }
}

I will be adding that shortly.

Actually (with powershell 5.1), @() works as proposed in our commits (And ", @()" generate a different, not wanted output):
PS C:\> $a = [ordered]@{ a = @() }
PS C:\> $a | ConvertTo-Json
{
    "a":  [

          ]
}
PS C:\> $a = [ordered]@{ a = ,@() }
PS C:\> $a | ConvertTo-Json
{
    "a":  [
              [

              ]
          ]
}

Maybe with powershell 7 change it ?
Thank you

Well my commit was bad ... it should maintain the if
I tested :
$a = @($b) ; $a | convertto-json
$a = @() ; $a | convertto-json

And like you comment, first case will output "null", the second is the correct in this case
So
if ($Dependencies) { @($Dependencies) } else { @() }

is the solution


[dv] Regression debugging

have example_rom test return true since otherwise it fails
in DV regression.  The flash example test already does so,
so this should not be a controversial change.

switch signature verification to otbn instead of software.
Using software takes over 100mS which is just too long for
DV. The otp hjson are not changed for this, instead we use
a backdoor otp load to make sure other platforms are not
disturbed.

randomize retention memory.  This is needed because the mask_rom
memory clearing process uses a memcpy, which actually copies per
byte.  The byte write turns into a read modified write inside
tlul_adapter_sram since the stored integrity could not be calculated
otherwise.  This eventually leads to a known-output assertion failure.

update various other modules to not always assume tlul output is known,
and instead use the KNOWN_IF structure.

randomize retention memory.  This is needed because the mask_rom
memory clearing process uses a memcpy, which actually copies per
byte.  The byte write turns into a read modified write inside
tlul_adapter_sram since the stored integrity could not be calculated
otherwise.  This eventually leads to a known-output assertion failure.

Does #12525 potentially affect/address this?

yes it definitely does!


STORM-964, add config for worker logwriter to restrict its mem usage

The log writer process that writes out stderr and stdout should have a config that controls it's memory usage and it should default to a very small value, probably 50MB in most cases.
To address above issue, one new parameter is defined for logwriter's jvmopts: "topology.worker.lw.childopts".
The default heap size of logwriter is set as 64M, or user can override it through "-c topology.worker.lw.childopts='xxxx " when submitting a topology.

Would it be possible to expand 'lw' to 'logwriter'?
I know it's longer, but it's much clearer what the config is for.

Good suggestion! Updated.

The change looks good to me +1, but I want to give @knusbaum some time to follow up on his review too.

+1


Jasmine Spec Runner Not Working??

Prerequisites

[x] Can you reproduce the problem with Debug -> Reload Without Extensions?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?
[x] Did you read the Troubleshooting guide?

Description
The Jasmine Spec Runner does not seem to be working for me. All I get is a blank white page with a toolbar on top and nothing else, the tabs don't work and I can't close the window after it is opened. If there's something else I need to do to get it running I would understand but I haven't found any documentation that says to do so.
Steps to Reproduce

Uninstall and Reinstall brackets
Delete current cloned repo and clone it again
Repeat steps on "How to Hack on Brackets" wiki
Opened up Jasmine Spec Runner

Expected behavior: [What you expected to happen]
Tests to show up, tab bar able to change page and ability to close window
Actual behavior: [What actually happened]
Spec Runner doesn't seem to load, get a blank white page under the toolbar, doesn't seem to load and can't close the window.
Versions
Running Windows 10 and release 1.8 development build 1.8.0-0 of brackets.

Another case of the mysterious blank page with the runner. For some running npm install again has helped, for me just relaunching Brackets usually helps. Can you open the developers tools (in the Jasmine window) and see if there's any errors?

I can not, no. I'll run npm install again to see if it changes anything, I feel like I've done it multiple times, but I'll try again to make sure.

also run git submodule update --init too if you missed that one (before npm install)

Running npm install again worked. Thanks for the help!

Glad you got it working :+1:


Disabling backligth by default

Is it possible to disable backlight by default. thank you

Yes, you can add CONFIG_ZMK_BACKLIGHT_ON_START=n in adv360_left_defconfig and adv360_right_defconfig at line 51


fix notebooks 'execute all snippets'

we need execute all snippets(now it's one by one)
when an error occurred, the next will continue

Nice, Thanks!
Do you mind if I squash all the commits into one to make it cleaner?
Also if you have 15s, could you sign the contributor spreadsheet?
https://github.com/cloudera/hue/wiki/Ccla#online-form

And thanks!
https://github.com/cloudera/hue/commit/5c3049715c577144fe5cb416062de6355195634f
https://github.com/cloudera/hue/commit/b7ea99e1997e502baaf016e80ff62bfb156ca0db

There are some trouble with google in my country, so i signed the sheet a little late.
And thanks!


Add AbsolutePath methods that take strings, based on experience in converting project source base

Add an AbsolutePath initializer and appender method that cut down on the amount of pointless boilerplate code at call sites.  This is based on experience with what the source base looks like after converting to AboslutePath.

@swift-ci please test


Refactor: remove useless module dependencies from app module

All API tests that fail, do succeed on my local dev env. Except for the message time-outs which seem to always fail everywhere.

To generate the chart, some modules are 'removed', it seems:
https://github.com/global-121/121-platform/blob/refactor.remove-app-module-useless-module-dependencies/services/121-service/src/main.ts#L40-L52
Should that list be updated as well? Or would it give a better picture with these removed?

@elwinschmitz  AFAIU the reasoning was that removing these from the diagram would make for a better readible diagram. So, I suggest to leave it like it is.


Managed pointers

This pull request implements ManagedPointer class that conceptually is a ForeignPtr from Haskell's standard library. ManagedPointers can run a finalizer when GC is collecting them, releasing any resources used, so user does not need to remember about freeing them explicitly.
Releasing them is guaranteed by our FinalizersCtx that finalizes everything before interpreting the program anew. Double free is prevented by implementation of finalizeForeignPtr, as finalizers are discarded whenever this function is run, so GC will not run them again.

Can we also label this?


fixed static image width on small resolution

The images where leaving the screen on my 13" display. I've changed the width to "vw", so that the images shrink on smaller screens.

I think there are some conflicting issue!

Yes you were right. I haven't had the latest fetch. Thank you for this hint.

Thankyou for contributing!


The Expand menu doesn't show data properly

If I expand any data in the net menu I can't see any of them unless the string is really long. But even then the first part of it is cut off. It seams like there is a big rectangle hiding the text but i really don't know how to remove it.

If you enable the key fix in /nbteditor config, does it fix this?

I have this already enabled, because I work with a Mac. By the way the key fix isn’t the problem either, because if I disable it and click an the invisible buttons I have the same issue.

I just figured out the issue:
While working the latest update, I realized that the MultiLineTextFieldWidget didn't check the key fix.
I have already fixed it in the development code, and the fix should be out in the next update.
I had just forgotten about it :/

I read #6 before, because I had the same problem. Thank you very much.

I've just released v1.9.0, which fixes this problem. (I don't have a Mac, so I can't guarantee that.)
The update also renames the config option to "Mac Border Patch," and makes it automatically enabled for new Mac users.


[cherry-pick][graphql] Cherry pick windows build fix

Description
Fix mysqlclient-sys windows cargo build error
Test plan
https://github.com/MystenLabs/sui/actions/runs/8978802872/job/24659827747?pr=17538

@team @amnn @emmazzz @wlmyng @ebmifa
This PR just cherry-picks the fix for the Windows build so that all CI is green for when we cherry pick things in. Unfortunately, simtest is failing after a few retries, thus making me nervous about landing this one, so wanted to ask for thoughts here.

I recall you mentioned somewhere that you were concerned about this pick because it failed simtest -- IIRC, this particular test is flaky, so it should be okay to land despite it failing.


Stable release of 2021 group

What does this change?
[Feature] Adds all changes from the 2021 group to the master branch.
Checklist

[ ] Your branch has no merge conflicts with master
[ ] All related commits are squashed together

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

487 of 534 (91.2%)  changed or added relevant lines in 120 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+19.5%) to 91.931%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/IMAPClient-Core.package/ICConnectionHandler.class/instance/checkLoggedIn.st
0
1
0.0%

packages/IMAPClient-Core.package/ICConnectionHandler.class/instance/refreshConnectionProcess.st
0
1
0.0%

packages/IMAPClient-Core.package/ICEndPoint.class/instance/retrieveBody..st
0
2
0.0%

packages/IMAPClient-Core.package/ICFolder.class/instance/fetchNumberOfLatestEmails..st
0
2
0.0%

packages/IMAPClient-Core.package/ICConnectionHandler.class/instance/preventTimeout.st
0
4
0.0%

packages/IMAPClient-Core.package/ICEndPoint.class/instance/readEmailsFromDisk.st
0
4
0.0%

packages/IMAPClient-Core.package/ICEndPoint.class/instance/currentUIDsFor..st
0
6
0.0%

packages/IMAPClient-Core.package/ICEndPoint.class/instance/maildirDiffFetchHeadersFor.from..st
0
9
0.0%

packages/IMAPClient-Core.package/ICFolder.class/instance/startUIDFor..st
0
9
0.0%

packages/IMAPClient-Core.package/ICFolder.class/instance/updateAndShowProgressWith..st
0
9
0.0%

Totals

Change from base Build 199376006:
19.5%

Covered Lines:
1390

Relevant Lines:
1512

💛  - Coveralls


Drone delivery home

@peterbarker Let me know when your usage instructions are done and I'll test this and them together.

Plan B.  Separate PR for the Vagrant stuff.

Separating this out is good thanks. As per other one:

I don't see running examples in Vagrant as particularly useful, but not opposed.
I'll merge once the howto is written. Suggest wiki for that.

Yes, works as advertised. Thanks!


(PUP-1460) Skip retrieving checksum for FIFO and socket files

This commit makes the retrieve_checksum method from lib/puppet/type/file/data_sync.rb to skip FIFO and socket files since their contents can't be retrieved to generate a checksum and causes puppet to hang indefinitely.

jenkins please test this on all

jenkins please test this on all

jenkins please test this on all


[v2.5] KDM Update for K8s January patch release

KDM Updates
TO BE RELEASED: Rancher v2.5.12

New Kubernetes Version
Min Rancher Version
Min RKE Version

1.20.15-rancher1-1
2.5.11-rc0
1.2.14-rc0

Rancher System Images & Add-ons
Note: Please update system images and add-ons in the template as needed.
TBD
Developer Changelog

Add templates for new K8s versions. If a template that hasn't been released yet already exists, update it in place.
Update the default K8s version, and add or update the version information (MinRancherVersion and MinRKEVersion) in k8s_version_info.go for new K8s versions if needed (Use table from above).
Confirm versions for system images, add-on templates are correct using versioning reference table from below (expand details to view the table). Update the table if new versions are introduced.
Confirm add-on template version constraints in template.go are correct using versioning reference table from below (expand details to view the table). Update the table if needed.

Versioning Reference

Expand for system images & add-on templates versioning table

Note: Truncated repository names with a * indicates there are multiple images with that prefix. All repository names that match a truncated prefix should be checked for the same version stated in the table.
For example: rancher/weave-* matches weaveworks/weave-kube and weaveworks/weave-npc, and they should both have the same version.
v1.20.15-rancher1-1

Repository
Tag

rancher/mirrored-coreos-etcd
v3.4.15-rancher1

rancher/hyperkube
v1.20.15-rancher1

rancher/rke-tools
v0.1.78

rancher/mirrored-k8s-dns-*
1.15.10

rancher/mirrored-cluster-proportional-autoscaler
1.8.1

rancher/mirrored-coreos-flannel
v0.15.1

rancher/flannel-cni
v0.3.0-rancher6

rancher/mirrored-calico-*
v3.17.2

rancher/mirrored-calico-pod2daemon-flexvol
v3.17.2

weaveworks/weave-kube
2.8.1

weaveworks/weave-npc
2.8.1

noiro/* (All ACI images)
<IP_ADDRESS>.1ae238a

rancher/mirrored-pause
3.2

rancher/nginx-ingress-controller
nginx-0.49.3-rancher1

rancher/mirrored-nginx-ingress-controller-defaultbackend
1.5-rancher1

rancher/mirrored-jettech-kube-webhook-certgen
v1.5.1

rancher/mirrored-metrics-server
v0.4.1

rancher/mirrored-coredns-coredns
1.8.0

rancher/mirrored-cluster-proportional-autoscaler
1.8.1

rancher/kubelet-pause
v0.1.6

rancher/mirrored-k8s-dns-node-cache
1.15.13

Add-on Name
Add-on Template Version Constraint

Calico
calicov3171

Canal
canalv3171

Flannel
flannelv115

CoreDNS
coreDnsv117

KubeDNS
kubeDnsv116

MetricsServer
metricsServerv120

Weave
weavev120

Aci
aciv500

NginxIngress
nginxIngressv0493

Nodelocal
nodelocalv115

Fresh Install Checks - on rancher v2.5.12

KDM pointing to dev-v2.5, cluster creation succeeds for for v1.20.15-rancher1-1 k8s versions with all network providers.
Validations of Network checks on all clusters look good.
Validation tests on Canal clusters look good.

Upgrade checks

On Rancher 2.5.12, KDM pointing to release-v2.5, cluster creation succeeds for v1.20.14 k8s version with all network providers.
Pre-upgrade checks look good.
KDM pointing to dev-v2.5
Upgraded k8s version to new version v1.20.15-rancher1-1
Post upgrade checks look good.

RKE check

Verified that default version is pointing to v1.20.15-rancher1-1

"RKEDefaultK8sVersions": {
"0.3": "v1.16.3-rancher1-1",
"default": "v1.20.15-rancher1-1"
}


F# Azure Table Storage sample is broken

Issue description
The F# Azure Table Storage sample is broken. The main culprit is this:
type Customer(firstName, lastName, email: string, phone: string) =
    interface ITableEntity with
        member this.ETag
            with get (): ETag =
                raise (System.NotImplementedException())
            and set (v: ETag): unit =
                raise (System.NotImplementedException())
        member this.PartitionKey
            with get (): string =
                raise (System.NotImplementedException())
            and set (v: string): unit =
                raise (System.NotImplementedException())
        member this.RowKey
            with get (): string =
                raise (System.NotImplementedException())
            and set (v: string): unit =
                raise (System.NotImplementedException())
        member this.Timestamp
            with get (): Nullable<DateTimeOffset> =
                raise (System.NotImplementedException())
            and set (v: Nullable<DateTimeOffset>): unit =
                raise (System.NotImplementedException())
    new() = Customer(null, null, null, null)
    member val Email = email with get, set
    member val PhoneNumber = phone with get, set
    member val PartitionKey = lastName with get, set
    member val RowKey = firstName with get, set

The member properties all return exceptions. I'm not sure if this code was accidentally added instead of the valid code or never tested, but if you copy this code and try it out, it'll pop as soon as you try to access e.g. PKey or RKey.
There's no direct equivalent C# sample but I looked for some on docs and found a few e.g. here which uses a very different approach of using the TableEntity type instead of ITableEntity and mapping between that and a normal POCO (something that is common to do in F# too, with a record).
I've tried fixing the sample:
type Customer(firstName, lastName, email: string, phone: string) =

    interface ITableEntity with
        member val PartitionKey = lastName with get, set
        member val RowKey = firstName with get, set
        member val Timestamp = Nullable() with get, set
        member val ETag = ETag null with get, set

    new() = Customer(null, null, null, null)
    member val Email = email with get, set
    member val PhoneNumber = phone with get, set

but this code gives an error (at least, from Azurite):
Azure.RequestFailedException: An error occurred while processing this request.
RequestId:d0f242b0-c511-4bd8-84bf-d072debc64e1
Time:2022-03-28T11:21:44.798Z
Status: 400 (Bad Request)
ErrorCode: InvalidInput

Content:
{"odata.error":{"code":"InvalidInput","message":{"lang":"en-US","value":"An error occurred while processing this request.\nRequestId:d0f242b0-c511-4bd8-84bf-d072debc64e1\nTime:2022-03-28T11:21:44.798Z"}}}

Headers:
Server: Azurite-Table/3.16.0
x-ms-error-code: REDACTED
x-ms-request-id: d0f242b0-c511-4bd8-84bf-d072debc64e1
x-ms-version: REDACTED
Date: Mon, 28 Mar 2022 11:21:44 GMT
Connection: keep-alive
Keep-Alive: REDACTED
Transfer-Encoding: chunked
Content-Type: application/json; odata=minimalmetadata; streaming=true; charset=utf-8

   at Azure.Data.Tables.TableRestClient.InsertEntity(String table, Nullable`1 timeout, Nullable`1 responsePreference, IDictionary`2 tableEntityProperties, QueryOptions queryOptions, CancellationToken cancellationToken)
   at Azure.Data.Tables.TableClient.AddEntity[T](T entity, CancellationToken cancellationToken)
   at <StartupCode$FSI_0095>.$FSI_0095.main@()
Stopped due to error

Unfortunately there's no really clue here as to what the offending field is, and I'm not sure if this is an "I've not populated the ITableEntity correctly" vs "Azurite issue" vs something else.
If you use a normal TableEntity this works fine e.g.
let t = TableEntity (dict [ "PartitionKey", "Harp"; "RowKey", "Walter"; "Email"<EMAIL_ADDRESS>"PhoneNumber", "425-555-0101" ])
table.AddEntity t

Happy to submit a PR with the correct code fix, but without e.g. seeing a valid C# sample, it's hard to do that.

I've also tried something as simple as the following but even this fails:
type Customer() =
    interface ITableEntity with
        member val PartitionKey = "" with get, set
        member val RowKey = "" with get, set
        member val Timestamp = Nullable() with get, set
        member val ETag = ETag() with get, set

let customer = Customer() :> ITableEntity
customer.PartitionKey <- "Harp"
customer.RowKey <- "Walter"

table.AddEntity customer |> ignore

Hi @isaacabraham.   Thank you for your feedback.   You're correct - the sample definitely appears to be broken.   I can't speak to the history, but we'll reach out to the authors and work with them to get things fixed up.

I'm really confused by this. We basically need to make a shadow member that is the same name as the interface member to get it to work.

The Tables library does not allow for explicit interface implementation during serialization; it expects ITableEntity to be implicitly implemented.  I can't speak to the history behind this decision, but I would certainly agree that this creates a poor F# developer experience.  There is an open feature request in the Azure SDK for .NET repository that would address this, #26514.   I'll link this issue there as an example.  It would be helpful if you're able to upvote.

@jsquire great, thank you. I'd be happy to make a PR for this and show how to use it with records as well (which most F# developers will be familiar with).
@dsyme libraries like this would certainly benefit from implicit interface implementations -  especially if that was also applied into records, which I believe (with CLIMutable) would make for a relatively seamless experience whilst also sticking to what most F# developers prefer (records).

@jsquire great, thank you. I'd be happy to make a PR for this and show how to use it with records as well (which most F# developers will be familiar with).

If you're willing, that would be fantastic!   I'd be happy to shepherd that through approvals and ensure that it gets merged.


Using the MetadataServiceExamples.updateFieldLevelSecurity

Hi, trying to get FieldLevelSecurity updated via apex.  Stumbled across a couple post with you in them, and came back to your repository.  Basically tried to use the out of the box MetadataServiceExamples.updateFieldLevelSecurity.   I got this exception immediately.
Error on line 10822, column 1: System.CalloutException: IO Exception: Unauthorized endpoint, please check Setup->Security->Remote site settings. endpoint = https://na30.salesforce.com/services/Soap/m/37.0
Been getting into Apex recently so comfort level is still growing.  Looked through your code on 10822 and realize you are making a call using WebServiceCallout.invoke to actually update the metadata object.  This was a little weird to me. Is there no direct "save" or "update" to metadata via apex?  Thanks in advance.

Correct, @dspencerr there is "currently" no direct Apex API for this, so this is actually a native Apex "wrapper" around the SOAP API variant of it. Hence the need for the Remote Site. Salesforce's PM for this area recently shared "safe harbour" that native Apex support is under development, but no news as yet on when it will be released. Anyway its a start to a more direct approach you thought this was.


Fix customize default settings while upgrade/update

Introduce ConfigMap resourceVersion into Setting
Record the resourceVersion of the ConfigMap, longhorn-default-setting,
in the Setting CR if the value is from ConfigMap.
During upgrade or longhorn-manager restart, if the resourceVersion of the
ConfigMap is different than the one in the Setting CR, update the Setting CR
using the latest value in the ConfigMap.
https://github.com/longhorn/longhorn/issues/2570
Signed-off-by: Derek Su<EMAIL_ADDRESS>

Just a note: I feel we should refactor the resource client initialization part to better reduce the duplicated code in different places in the future.


Vec not required for explain prediction

Not that I hate vectorizers :)
But vec is not strictly required for explain_prediction (in the same way it is not required for explain_weights), so I think it makes sense to have vec after doc. I'm not 100% sure about 8bcb706 though - with it we need to pass vectorized=True only if we pass vec and already vectorized doc, but don't have to do it if we don't pass vec - not sure if it's too magical.

Current coverage is 91.75% (diff: 100%)

Merging #4 into master will increase coverage by 0.06%

@@             master         #4   diff @@
==========================================
  Files            11         11
  Lines           397        400     +3
  Methods           0          0
  Messages          0          0
  Branches         65         65
==========================================
+ Hits            364        367     +3
  Misses           20         20
  Partials         13         13

Powered by Codecov. Last update 29bfaf0...8bcb706

The change makes sense; I experimented with something similar, but stopped because wanted clf, vec arguments to be together, and doc can't be a first argument because of singledispatch.

Yep, clf and vec look nicer together. It shouldn't be too hard to have doc the first argument, by just introducing an intermediate function and doing singledispatch through it - what do you think?

Yep, clf and vec look nicer together. It shouldn't be too hard to have doc the first argument, by just introducing an intermediate function and doing singledispatch through it - what do you think?

I think it doesn't worth it; the API in this PR looks fine.

Ok, I'll just change the class_names to target_names then.

Thanks! :)


close icon on side-panel is not closing panel when opening via swipe gesture

Hi,
when i open a side-panel with swipe gesture or mouse down/move event, the click on the close-icon does not close the side-panel.
the error is because the variable sidePanelActive will not be set in phonon.js side-panel part. my solution is to change this code in document.on event
    if(sidebarClose === 'true') {
        if(sidePanelActive) close(sidePanelActive);
        return;
    }

to this code
    if(sidebarClose === 'true') {
        if(sidePanelActive) {
            close(sidePanelActive);
        } else if(sidebarId !== null) {
            var sb = findSidebar(sidebarId);
            if(sb) {
                close(sb);
            }
        }
        return;
    }

and add the attribute data-side-panel-id to the close button
<button class="btn pull-right icon icon-close show-for-phone-only" data-side-panel-close="true" data-side-panel-id="side-panel-example"></button>
tested on browser and android 5
Best Regards
Oksi

Thank you for your contribution! :)


Link for Revit 2022 not valid

Link for Revit 2022 is not valid:
https://github.com/floriangouy/addins-colorsplasher/releases/download/v<IP_ADDRESS>/ColorSplasher2022.zip
Could you update link?

Same here. Having issues finding the ColorSplasher.dll file

https://github.com/floriangouy/addins-colorsplasher/releases/tag/v<IP_ADDRESS>
Here it is.


proposal: encoding: BinaryMarshaler should be an append API

The BinaryMarshaler API returns a freshly allocated byte slice. This makes it unadvisable to implement for high performance APIs, or even APIs that could happen to be used in high performance scenarios.
If it had an append-like API (MarshalBinary([]byte) ([]byte, error)) then also a lot of high performance and internal parsing operations could be BinaryMarshaler implementations, allowing more standard interface reuse.
The usability is not much worse, as nil can be passed to get the exact same behavior, and there's precedent in hash.Hash.Sum.

I ran into the same problem when implementing github.com/kevinburke/nacl and for the most part I chose the user-friendly API over the one with the best performance.
Is this something that could be better implemented in the compiler? Or with some pattern that's invisible to the user?

Also MarshalJSON and MarshalText for consistency (assuming they continue to exist).

Regarding Hash.Sum, see also #21070, which proposes either renaming the Sum method to AppendSum or else changing it to just return a new slice and not append.

It would probably be easier to migrate if the Append method has a different name (such as AppendBinary / AppendText / AppendJSON).
This is one case where default methods (#23185) are somewhat appealing.

This seems like a good thing to do.  We have to decide whether to change MarshalBinary and friends, or simply add new methods.

At this point we can't realistically change the encoding.BinaryMarshaler interface.  We could introduce a new interface with an append API.  Anybody want to make that proposal?  In the meantime I'm going to close this one.  Thanks.

I filed #62384.


I use Github for code, not social justice politics

Can we let people do what they do best, instead of competing in victim olympics?

Projects can decide their own policies. It's up to every single project if they adopt this or any kind of Code of Conduct. It's up to every single person if they want to contribute to a project which has a Code of Conduct or which hasn't.
As I read first such comments as yours I didn't understand where this, as it seems non constructive, critics are coming from and I found some people who are basically trolling projects for not having a Code of Conduct. So I can get now the basic idea, where comments like yours are coming from.
However, you should realize that these trolls got you to a point, where you aren't constructive by yourself anymore as well.
Again: Every project can decide if they want to have this or another Code of Conduct or not. Every single person can decide if they want to contribute in every single project or not.
So...
Stop trying to force projects TO USE a Code of Conduct.
Stop trying to force projects NOT TO USE a Code of Conduct.

You haven't realized that this project is basically done for?


Improve UI

Show a title on the top of the leaderboard and the canvas also center it
hide scroll bar
reduce the font sizes when scaling down the website.
also reduce the text size in the table a little bit.
And in mobile view remove the side padding/margin/border around the canvas.

the save button get stuck at a pressed state
fix that also
add add add a user alert if they try to save twice.


Environment Cementery (mausoleum) - Mausoleum 3D Model

[x] 3D Model
[x] UVS
[x] Texture

EXPECTED RESULT:
Finished a estructure of cementery with the textures to be able to export unity.

Model textured and ready to add it to the project in the following update.


Docs for automatic metafunction pairs does not mention value_type

The documentation for usertype automatic metafunction pairs (here) mentions the need for begin() and end() functions on the type, but not the value_type trait. Without it, the pairs function does not work (is nil) and no useful error message is given as to why (beside "is not recognized as a container").
However the need for value_type is clearly stated in the code, and it is also mentioned elsewhere in the documentation, on the containers page (here).

Added.

Thank you for your responsiveness!


Gnome 47 Support

Hello , Please Can You Add Gnome 47 Support ?

Sure, I'll check compatibility and add it. I'll release it tomorrow or the day after, along with an update for the indicators.

@scorpionTaj Hi! added 47 version support, currently pending review on extensions.gnome.org.


Persist SDK Information on NEEO Brain

Issue
Currently no data is persisted when a SDK device is added to the NEEO Brain. If the NEEO Brain restarts, the SDK needs to be restarted.
CoS

after a NEEO Brain restart, the SDK must not restarted be be usable

-Start the discoverable device example.
-Add the device that is reachable (sorry not behind my computer. Lying in bed)
-Add all the shortcuts to the device and see values changing by the example code.
-Stop the example code.
-Remove the discoverable device from the neeo
-Start example script again. You will get the code error.

Fixed in the 0.49 release


Add the ability to run checks locally

Beefore currently has some implicit assumptions that it's running on a PR that is active, and on GitHub. While this is an important use case, it's also important that we can run against a local git checkout.

@freakboy3742 had you given any thoughts on how you wanted this to work?
I can see that being able to pip install, call with some arguments is possibly the most sensible way but having never done anything like that might be a bit of a stretch for me right away. Was thinking a short step of building it in to be run from a pulled version of the repo and then looking at packaging for pypi?

The issue isn't with invocation - that already works. If you pip install beefore, you can run beefore to start the beefore executable. However, it fails because of the command line arguments that are required.
Those command line arguments request Github-specific details (username, pull request ID, etc), which make sense when you're checking a PR, but don't for local execution. We need to be able to run checks against the "diff against master" for a development branch, rather than using the Github API.
My initial thought is that running beefore in "CI-mode" (which is what is currently implemented) should be turned on with a flag (e.g., beefore --ci -u username ...); "naked" invocation would be "check the current branch against master"; but there would also be ways to invoke locally in the case where master isn't the comparison branch, or master is the branch you're working on.

Ahh I should have checked to see if it was packaged already.
I will have a look, and see if I can put something together and put it out for discussion


release v1.0

It's about time anyways to publish 1.0.. Now we have a (somewhat) major change, so let's do this.

[ ] fix #15
[ ] merge #23
[ ] test example jupyter notebooks with api keys
[ ] check documentation one last time
[ ] update the version in code
[ ] release PyPI

no hurry here though.. if you wanna keep on working on this @chrstnbwnkl fine with us, or we can come back in a few weeks, your choice.


[3pt]  - Create feature: add  new like - Student A

When the user clicks on the Like button of an item (on Homepage), the interaction is recorded in the Involvement API and the screen is updated.

Link to the PR: https://github.com/SaveryIV/Javascript-Capstone-Project/pull/30


update smart-leds, remove wheel function for smart_leds hsv conversion (non pygamer boards only)

More  #123
Could probably use a spot check on these boards as I dont own them.

I'll try my Metro M4 when I'm back from Christmas holidays, we might want to switch to a different ws2812 impl than the nop one.

I can try the Trellis M4 when I'm back from the Christmas holidays as well

SpinTimer is similar to nop but works better.

Yeah Ive consolidated on the spintimer for all my pygamer examples
On Mon, Dec 30, 2019 at 1:57 PM Paul<EMAIL_ADDRESS>wrote:

SpinTimer is similar to nop but works better.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atsamd-rs/atsamd/pull/130?email_source=notifications&email_token=AADPI5HNTDTD4MXIMTMK7RTQ3JOCLA5CNFSM4J7M4SXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH3F6YY#issuecomment-569794403,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPI5EWYZ5IDRTYUVZRSSTQ3JOCLANCNFSM4J7M4SXA
.

Ping on this in case anyone is back from holidays.

Pygamer build failed.

Thanks for the ping. Fixed now

Neopixels not working on metro m4.

and to confirm, upstream master did work.
On Sun, Jan 5, 2020 at 12:30 PM Paul<EMAIL_ADDRESS>wrote:

Neopixels not working on metro m4.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atsamd-rs/atsamd/pull/130?email_source=notifications&email_token=AADPI5BEGEZ24QDMDMC7L23Q4IYO5A5CNFSM4J7M4SXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEID5VZA#issuecomment-570940132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPI5FMUILTJ22OIGEI6K3Q4IYO5ANCNFSM4J7M4SXA
.

Oh pygamer is on newest version of of smartleds using ws2812 timer (without
slow) and with lto re-enabled. I found this to be far more stable on
pygamer. Ill push an update for trellis and metro m4 since thats what this
touches.
On Sun, Jan 5, 2020 at 4:30 PM Jacob Rosenthal<EMAIL_ADDRESS>wrote:

and to confirm, upstream master did work.
On Sun, Jan 5, 2020 at 12:30 PM Paul<EMAIL_ADDRESS>wrote:

Neopixels not working on metro m4.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atsamd-rs/atsamd/pull/130?email_source=notifications&email_token=AADPI5BEGEZ24QDMDMC7L23Q4IYO5A5CNFSM4J7M4SXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEID5VZA#issuecomment-570940132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADPI5FMUILTJ22OIGEI6K3Q4IYO5ANCNFSM4J7M4SXA
.

Not sure if it was working lately, it's probably lto and stuff breaking nop, SpinTimer is preferable.

Now rainbow works and blink doesn't.

Im not sure, I can peel off those commits or maybe you can take a look. Im not partial to any of these changes, especially if it blocks this merge. Im just trying to get the offer the other boards the cleanups Ive been doing in pygamer.

Note, The sodaq_one, metro_m0 and feather_m0 are still lto=false for debug only
Is there a reason to update those as well? And or, should we be using lto=false for debug?

Well, the m0 boards can't use spintimer, so might be best to leave those.

I'll try to fix neopixel blink and if I can't we might as well delete it.

Yeah I was hoping to avoid those boards as I cant confirm a best path for them. However, when I looked, I didnt find an m0 board here that has neopixel examples anyway? I think people are just copy pasting the lto settings from other boards

Metro m4 neopixel blink has a TimerCounter going in it for no reason.. that could be removed too

Yes I see that and am deleting it.

@tarcieri you around to try your boards?

I am around but my boards are thousands of miles away. I can check in a week.

@tarcieri ping check those boards?

I fly home today and can check very soon!

Just tried this out on the Trellis M4 and I can't get it working in either debug or release mode.
The resulting neopixel_rainbow.bin seems significantly larger than it used to be (~200kB instead of 20kB).
If I go back a bit before this PR though, the binaries are over 1MB (and therefore unflashable).
I was able to build from the last known working release (trellis_m4 v0.1.2) and that works. I suppose I can try to bisect...

I think there's something weird with your setup. I run arm-none-eabi-size on neopixel_rainbow and it reports 1832 bytes.

Seems I was missing the -O binary flag on arm-none-eabi-objcopy
After adding that it appears to be working! 🎉


gui render crash with azurelib 1.19.2 forge

crash-2023-12-16_16.38.43-client.txt

Not an issue with AzureLib but a broken Geckolib powered mod that is shipping broken animation files.


[Bug]: hashed request returned unmatched

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Background:
My backend implements a security layer that requires request payload for a POST request to be hashed using hmac sha-256, and send this salt alongside the payload in header.
How I do it in appsmith:
By using this external lib, hashed the payload and send it with the request as expected.
Result:
Error from my backend saying that hashed value is invalid or mismatched compared to the sent payload.
Expectation:
A 200 success response from my backend. Because when I do hashed it manually (either from appsmith and console.log-ing the result or outside of appsmith) and use the result in postman or any other HTTP client it works fine.
Question:
Does appsmith somehow transform the original payload before sending the request to the designated backend, causing the hashed payload mismatched with the original one?
Is there any way to debug this or a possible workaround so my request would return a success?
Steps To Reproduce
// will try to provide a sample project that could reproduce this, but it could be tricky since it's a private internal app
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
self hosted 1.9.13

Hi @marssantoso , if possible can you please share details of how you hashed your payload by providing your JS code (or screenshot), similarly please share details for your final REST API query config so that we may try to replicate the same on our side.


Improving Food Website Template

Issue Type:

[ ] Documentaion

In this project :

Some of the key are not working(Contact Us is not smoothly scroll)
Content is not done in Our Services section
CSS of hover effect

Possible solution

Make Contact Us button smooth scrolled .
Complete the content of Our Services .
Add hover effect in Contact Us section.

@Vanshika7902 fill the issue template properly and elaborate what and how will you improve the website

->As in Our Services, there are three section and all are food ordering so I want to change them to Food Ordering , Combo Ordering and  Food Delivery and add relevant content and images to it .
->I want to add hover effect in the contact us section .
->On clicking on Contact Us in the nav bar it is not scrolling us to the Contact Us section ,so I wan to fix it .


e621 command not working whatsoever

So I've had the bot around for about 2 weeks, and I offered to host it in someone's server, no big deal... But for some reason it seems like the e621/hentai commands broke today. From what I can tell, everything else works, and it sees the e621 and hentai commands, but it seems to essentially refuse to respond to them.
I've done a complete reinstall of the new version, and I've made sure several times over that the nsfw module is enabled.

What does the console say?

Alright so after some more command testing, hentai was just a fluke and I was doing commands too fast. Hentai, gelbooru, danbooru, butt, and boobs all work. This is something with e621, and I saw that e621's API got screwed, so I'll assume it was that.

The console notes that the command was processed, but it doesn't reply with anything. I'd really just link this to e6's API issues.

Console says the site returns a 403 error, and it's directly attributed to E621's change that bans any requests without a valid user agent. Working on the fix, just gotta finish up a final today. Rewritten pull request will probably come up later tonight

Awesome. Thank you c:

Will be fixed in the next release. I'm planing to make a minor one tonight.


MetricFilter's matches returns true if Includes are specified and Excludes are not

If Includes are not empty and excludes are empty, this should be the includes-only case that
no metrics should be reported, except those with a name listed in includes.
But !getExcludes().contains(name) would always return true which ends up reporting all the metrics.

I think the bug fix also has a minor bug in it.  In particular, "case 4" of the unit tests seems to be different that one would imagine with a pair of exclude and include filters.
Normally with such a pair the logic is:
 include =  !isExcluded && isIncluded

So the exclusions are applied first and then anything that makes it past the exclusions and is in the explicit set of inclusions gets included.  But the logic in place now has case 4's includes overriding the excludes, which given that the default behavior is including-everything, is strange.  One has explicitly excluding something and then support explicitly overriding the exclusion.  That's double the effort when all that's needed is: don't put the thing in the exclusion list in the first place.
In short, exclusions should be applied first, and the items that aren't excluded are now the set from which items may be explicitly included.  No explicit inclusion means: include everything not explicitly excluded (case 3).  Case 4, as coded, is inverted.


pkg: Major webpack plugin upgrades for v5 support

major: css-loader, html-webpack-plugin, terser-webpack-plugin, webpack-bundle-analyzer
Better support webpack 5
BREAKING CHANGE: drop support for webpack 4
TODO:

[ ] https://github.com/storybookjs/storybook/issues/9216 storybook on webpack 5.

Currently by installing webpack 4 it also breaks react-refresh plugin

Might be able to land this as soon as next week! https://github.com/storybookjs/storybook/issues/9216#issuecomment-773055096 the last piece of the puzzle!


Release/v0.1.0

release version 0.1.0 project

In this version have configuration project initial, thi config need used husky


Bugs in Haskell-level Re-exports

I've just been trying to re-export modules with Haddock, but I ran into several annoying issues:

If you export renamed modules as inmodule Foo (module X) where
import module A as X
import module B as X

documentation for A and B do not appear in the documentation for Foo.
If you export unrenamed modules, documentation for A and Bdoes appear in docs for Foo:module Foo (module A, module B) where
import module A
import module B

If you import a module hiding some items, and then re-export the module, the hidden items still appear in the documentation:module Foo (module A, module B) where
import module A hiding (a)
import module B

In this example, documentation for a would appear in the docs for Foo, even though a is not exported from Foo.

(All of this assumes that modules A and B are hidden in the cabal file, so that their contents should be dumped into Foo in an ideal world.)
It doesn't seem that (1) is addressed in the docs. In particular, the modules are re-exported "wholly and without hiding qualifiers", and the docs mention nothing about renamed modules.
Point (2) is precisely what I expect/want to happen, so nothing to change there.
Point (3) may be addressed in the footnote [2] in the docs (can't quite tell), but this feature is pretty useless with the current behavior. The only option is for me to explicitly list what items I want to export, which is error-prone and difficult to maintain.

We're also affected by this. I thought it was a problem in the way we were using Haddock, so I asked a question at SO.

should be resolved by #688


Darken account name in sidebar

I've been finding the account name in Taiga's sidebar be too light — it's the same light grey as the rest of the sidebar even though it's much more important. This PR just makes it @taiga-dark.
Before:

After:

Thanks, man! :tada:

👊

:+1:


Triggers need to work in the direction of MC-to-MPF

Currently they only seem to work from MPF-to-MC

Fixed in 0.18.0a16


How to bind domain to project's gh-pages?

Dear Makaimc,
I just can bind my domain www.xxx.com to myname.github.io
How can you bind www.fullstackpython.com to this gh-pages?

Hi @xuehao, there's a CNAME file in the root folder of the gh-pages branch that contains www.fullstackpython.com in it. Then you need to point your DNS record to username.github.io (where username is your username). Check out this guide for more information.


Toyota: add FW Version for 2023 RAV4 Hybrid

add engine fw version

what is your dongle ID?

what is your dongle ID?

8a9dac95d24c4e8d

@cry233 are you on discord? We have a 2023 channel where people are testing the latest if you want to join and help contribute to get the car supported! https://discord.com/channels/469524606043160576/1047684141963022376


License

Hey,
I'm wondering about license of this provider. I have some plans to maybe use it, propably also fork and change some small things. I'm not sure that I'm allowed or not. Can I ask about adding a license file on the github level?:)

Hi Vallher, thanks for rasing this. I have added an MIT licence hope this is helpful to you?
Id be interested to see what you get up to with this. I tried to encourage AppD to work on config as code as their competitors support this e.g. New Relic. If we get enough users wanting this we may have more leverage.
Harry


Ensure 64-bit shift no matter which size 'long' has

Original code yields C4334 Visual C++ warning because 1UL is of type unsigned long which is 32-bit on Windows, so 32-bit shift happens.

+1

Thanks, I'll merge it to master.

commit 19f7130 thanks.


Color navigation bar based on day/night theme

Currently the app has a preference to color the navigation bar based on the primary color. IMO it's better to color the navigation bar unconditionally based on the background: white in the day theme (if the api supports a light nav bar) or dark grey in the night theme.
Google apps also do it this way.
@tom-anders With your ok, I'd start working on this.

Go for it!
Btw, I really appreciate all your recent work on the app :)
The app probably needs a general design overhaul to adapt to the new guidelines. I also thought about switching from the navigation drawer to a bottom bar navigation, for example

On material.io there's only a single screenshot of a bottom bar with device buttons below: https://material.io/components/bottom-navigation#behavior
In that screenshot the bar has just the default black. IMO the primaryDark looks better here.

Agreed. Primary Dark also looks nice since it also is the color of the status bar, creating nice symmetry.

Gonna close this once bottom navigation is merged with the according changes


Including things outside the Webpack output path

Hi there. Apologies if this is simple; I can't seem to find out how to do it from reading the docs/previous issues.
I have a working plugin instance producing a zip of my built files (in proj/extension/ subdir - webpack's output), but I also want to set up another plugin instance to produce a zip of the source files (in proj/src/ subdir).
I've tried things like setting the include option to a string like '../src/**/*' and '../src/' however this results in an empty zip. Is there a way to include files outside the webpack output dir?

For reference, my working plugin that zips the built assets looks like this:
new ZipPlugin({
  path: '../dist',
  filename: 'extension.zip',
  exclude: [/\.map/],
})

This project is a Chrome and FF compatible web extension and Mozilla requires us to send zipped-up source code as part of the FF add-on submission for later review. Worst-case I'll just automate it outside of the scope of webpack, but would be nice to do all needed packaging together (and I'm probably just missing something small).
Thanks for taking the time to read.

Right now loading files from outside the webpack build/emit process is out of scope for this plugin, so you have a few options:

do it outside of webpack, as you mention (there might be a webpack plugin to run custom code after a build)
load the files somehow with file-loader (or another loader, since you probably can't load dirs with file-loader)
load the files with copy-webpack-plugin (both it and this plugin need to run during the emit phase, so ordering might matter unfortunately, or they might not work together)

My main concern with adding it is: right now this plugin is relatively simple, because webpack handles the file loading, dependency tracking for watch mode, etc., and this plugin just reads the assets; but to load additional files that has to be done manually (see, e.g., copy-webpack-plugin source).
Incidentally, I also contribute to a browser extension (honestbleeps/Reddit-Enhancement-Suite), but we don't submit the source code to Mozilla. I believe we link to the repo instead.

Thanks for your detailed reply and suggestions @erikdesjardins! First one seems to be the simplest for now, so I found the very simple post-compile-webpack-plugin which affords running a custom callback in which I can just do a child_process.exec call to zip things manually for now.

Incidentally, I also contribute to a browser extension (honestbleeps/Reddit-Enhancement-Suite), but we don't submit the source code to Mozilla. I believe we link to the repo instead.

It would be great to not have to worry about this and just send a link. I don't handle submissions, but I'll have a talk to the guy who does :) Thanks for the heads-up!


Remove board limits from modals, update text

Summary
Removes board limits from cloud subscription page and cloud limits modals.
Ticket Link
Fixes https://community.mattermost.com/boards/team/qghzt68dq7bopgqamcnziq69ao/b4ctmm917q3rzdfi451qtuxjzcw/vuswsftt1rb873datosmmbtwkpa/c45fpa8rmi7n67ba1fuudfatg1h
Related Pull Requests
Screenshots

Release Note
Removed boards limits from cloud free

/update-branch

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/update-branch


Make event messages more informative

[x] "resource not found" errors
[x] CreateFailed -. Reconcilefailed
[x] Record object name "Successfully created Deployment %s"

example:
https://github.com/appscode/voyager/pull/803/commits/d8ed2b63e515117c98f8c492f3bc8f38de55e2a9

xref: https://github.com/kubedb/apimachinery/pull/366
xref: https://github.com/kubedb/mongodb/pull/115
xref: https://github.com/kubedb/mongodb/pull/117


Spacing between hours and minutes

The second digit in the hours and the first digit in the minutes have no spacing between them. For example, when is 08:00 the eight and the zero (first digit of minutes) are touching
Please see attached image

Could someone point me to resource which is responsible for layout? I'd like to try some modifications about this issue...

+2px distance between was added. I will test it and adjust it further.
commit d8ebfa879c3dace9efb3856af82518a2ff89f512

I've tested v3.9 beta - it' better, but still not perfect :) I took these 2 screenshot to show layout with "fat" and "slim"digits. As you can see, 09:30 is still too close to each other. "09:31" is perfect I think.


Rewrite the wrapper in a saner programming language

Use something like https://www.nushell.sh/ instead of bash
Aim for facilitating resolution of #28, #4, #32 and the like.

I think koka is a good candidate for this use case. It's minimal but statically typed, and has a complete language spec. It can be used to solve algorithmic problems but also has libraries for shell scripting.

 It would be useful to generate the justfile from Nix to provide Nix dependencies.

You can provide those Nix dependencies in the Nix shell.
A just DSL is Nix is a viable idea, but it should have to be possible to replicate all of its features (*ARGS for example, or parallel processes when they add that in future) without having the user to learn more syntax.


question about msmarco passage ranking dataset

Hi :)
Regarding the msmarco passages dataset that gets downloaded from the hugginface (https://huggingface.co/datasets/Tevatron/msmarco-passage/tree/main).
How was this dataset created? as it doesnt match any of the dataset on the original microsoft site(https://microsoft.github.io/msmarco/Datasets.html)
Thanks in advance

I have a similar question. The NQ dataset from this(https://huggingface.co/datasets/Tevatron/wikipedia-nq/tree/main) is not the same as the general used NQ dataset from DPR paper(https://arxiv.org/abs/2004.04906).
i found the problem because the Tevatron/wikipedia-nq dev has only 6489 queries.  the dpr NQ dev has 8,757 queies. The origin NQ dev has 7,830 queries.
How was the NQ dataset created?   Or which paper does the dataset come from?

Hi @Tan-Hexiang, I think I used the code below while filtering the train and dev set.
data = json.load(open("biencoder-nq-dev.json"))
count = 0
for example in data:
    if len(example['positive_ctxs']) > 0 and len(example['hard_negative_ctxs']) >= 8:
        count += 1
print(count)

the file biencoder-nq-dev.json is from the original dpr repo, it contains 6.6k questions.
https://github.com/facebookresearch/DPR/blob/a31212dc0a54dfa85d8bfa01e1669f149ac832b7/dpr/data/download_data.py#L38
The reason we did the above filter before is we found having 8 hard negatives in a group sometimes give better  effectiveness in our early experiments.

Thanks for your reply！
The file biencoder-nq-dev.json description pointed out it can only be used for the Retriever train time validation.

Instead, when validating the retrieval results, maybe the nq-dev.qa.csv file should be used.

I am confused about which file to use when validate the retrieval results in example_dpr.md. As far as I know DPR use the nq-dev.qa.csv that has 8757 queries for validation. So for a fair comparison, i think we should also use the same file as DPR instead of using file with 6.6k questions.

Concretely, which dev file the top-k accuracy below  corresponds to? nq-dev.qa.csv with 8757 questions? or filtered biencoder-nq-dev.json with 6489 questions.

Following the original dpr work, all the evaluation was on test set.

I have the same question about how the Tevatron/msmarco-passage dataset was created @MXueguang

Hi @Y1Jia , Tevatron/msmarco-passage data is created from https://github.com/texttron/tevatron/tree/main/examples/coCondenser-marco#get-data

Thank you for getting back to me so fast!


MWPW-156262 flip sidenav and merch-collection order

together with milo change allow easier keyboard browsing of catalog page (before that change one needs to browse through all the cards before getting to the filters) to get to final working accessibilty for catalog
Test URLs:

Before: https://main--cc--adobecom.hlx.live/?martech=off
After: https://mwpw-156262--cc--npeltier.hlx.live/?martech=off

Verified in Milo https://github.com/adobecom/cc/pull/392


Cannot reproduce rdkit_fp with Chem.RDKFingerprint

Configuration:

RDKit Version: 2020.03.3
Operating system: Ubuntu 16.04
Python version (if relevant): 3.7.9
Are you using conda? Yes
If you are using conda, which channel did you install the rdkit from? rdkit
If you are not using conda: how did you install the RDKit? NA

Description:
What is the difference between fingerprints calculated using Chem.RDKFingerprint and PostgreSQL rdkit_fp?
I thought they are the same but I cannot reproduce results form PostgreSQL rdkit_fp using Chem.RDKFingerprint. This is what I have tried:
def hex2bit(hex_string):
    # decodes hex string to bit string
    b = bytes.fromhex(hex_string)
    return ''.join([('0' * 8 + bin(bb)[2:])[-8:] for bb in b])

# setup DB connection - database name is dmol
import psycopg2
conn = psycopg2.connect(database="dmol")
curs = conn.cursor()

# prepare testing molecule and corresponding ctab
from rdkit import Chem
mol = Chem.MolFromSmiles("c1ccccc1NCCCO")
ctab = Chem.MolToMolBlock(mol)

# get FP using DB query
query = f"select bfp_to_binary_text(rdkit_fp(mol_from_ctab('{ctab}')))"
curs.execute(query)
fp_DB = curs.fetchone()[0]
bit_string_DB = hex2bit(fp_DB.hex())

# get FP with RDKit library, use defaults used by DB?
fp = Chem.RDKFingerprint(mol,1,6,1024,2)
bit_string = fp.ToBitString()

# compare
print(bit_string==bit_string_DB)

In the above example I have assumed that Chem.RDKFingerprint and rdkit_fp calculate the same type of FP. After reading some source code, I have decided to use following call to mimic behavior of rdkit_fp: Chem.RDKFingerprint(mol,1,6,1024,2). I was inspired by the following line: https://github.com/rdkit/rdkit/blob/6cd062a6dd9409ad8205490bbb741cd4dbabe931/Code/PgSQL/rdkit/adapter.cpp#L1226
Unfortunately, the last command from my example prints False which means FPs are not the same. What I am doing wrong?

Hi @tljm : you can convert the results of bfp_to_binary_text() to an ExplicitBitVect using the function DataStructs.CreateFromBinaryText().
Here's a snippet showing how it works:
In [13]: curs.execute("select bfp_to_binary_text(rdkit_fp('c1ccc(I)cc1'::mol))")

In [14]: d = curs.fetchone()

In [15]: d
Out[15]: (<memory at 0x7f302a87c940>,)

In [16]: from rdkit import DataStructs

In [19]: bv = DataStructs.CreateFromBinaryText(bytes(d[0]))

In [20]: fp = Chem.RDKFingerprint(Chem.MolFromSmiles('c1ccccc1I'),1,6,1024,2)

In [21]: fp==bv
Out[21]: True

Thanks a lot! It works! This is what I was looking for.


WildFly 12 upgrade

WildFly 10 is dated. Better work with the last new stable version

That version is only used for testing. I've left it at WildFly 10 mainly to ensure/test backwards compatibility.

I'm closing this for now. The 10.1.0.Final version is targeted for backwards compatibility.


uucore(memo): replace err_conv with result

This PR addresses https://github.com/uutils/coreutils/issues/2917
Some questions/thoughts:

Results propagate all the way up to the utility that calls it - to do so, I needed to modify the Tokenizer trait to return a result, and consequently also modified UnescapedText, though it has nothing to do with err_conv().
Both Sub and UnescapedText (which impl Tokenizer) can still reach conditions to exit without propagating, but I didn't change them since those exits don't use err_conv().
I wrote this PR so that printf and seq should behave similarly to what they do currently.
I return UResults that err with UUsageErrors, although I'm wondering if I should use SimpleErrors or something else entirely.

Let me know what I should change to make this better!

Excellent! One final round of comments :)
Upon closer inspection, there's currently a lot of repetition, so I think it would make sense to refactor the errors into a custom type like this:
#[derive(Debug)]
pub enum SubError {
    InvalidSpec(String),
}

impl Display for SubError {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
        match self {
            Self::InvalidSpec(s) => write!(f, "%{}: invalid conversion specification", s),
        }
    }
}

impl Error for SubError {}

impl UError for SubError {}

Which can be used like this:
return Err(SubError::InvalidSpec(self.text_so_far.clone()).into());

I also left out the usage string, because that doesn't match GNU. Even with this change it doesn't quite match up:
# GNU
%j: invalid conversion specification
# uutils
printf: %f: invalid conversion specification

But UResult is currently not flexible enough to not print the util name, so I think we should go ahead with this anyway.

Let me know if there's anything else I should change!


How to migrate cache keys from 0.8.0 to 0.9.x?

I upgraded from 0.8.0 to 0.9.0 and found that none of my existing filesystem cache was being used anymore. It seems the created cache keys for my requests have changed in 0.9.0.
I'd like to migrate my existing cache as it's very expensive for me to refetch everything. But, I'm having trouble understanding how the keys in 0.9.0 are created. I thought I could update the cache by reading each existing cached response, generating a new key, and saving it. So, something like this.
s = CachedSession()

existing_cache_key = "6111225a1db41656"
resp = s.cache.get_response(existing_cache_key)
new_cache_key = s.cache.create_key(resp.request)
# 0.8.0 returns 6111225a1db41656
# 0.9.0 returns bf3060dbec050d72
s.cache.save_response(resp, cache_key=new_cache_key)

With requests-cache 0.8.0, the values of existing_cache_key and new_cache_key match. With request-cache 0.9.0, I get a new value for new_cache_key (bf3060dbec050d72).
But, when I subsequently do s.get(resp.request.url) with 0.9.0, a different cache key is generated (0e0407e56878a2df) and a new cached response is created. If I read in the new cache file and create a key from its request, I get back the other key (bf3060dbec050d72).
existing_cache_key = "0e0407e56878a2df"
resp = s.cache.get_response(existing_cache_key)
cache_key = s.cache.create_key(resp.request)
# 0.9.0 returns bf3060dbec050d72

There's obviously some detail I'm missing in how 0.9.0 calculates cache keys. How do I correctly create cache keys with 0.9.0 so that I can convert my 0.8.0 cache to work with 0.9.0?

As you've found, cache keys are likely to change across requests-cache versions, because new features related to request matching will affect how cache keys are generated.
Here's an example that I think will do what you want. This will create a new cache in case something goes wrong and you want to keep your old one as a backup:
from requests_cache import CachedSession

session1 = CachedSession()  # Old cache created with a previous requests-cache version
session2 = CachedSession('new_cache')  # New cache created with the current requests-cache version

for response in session1.cache.values():
    session2.cache.save_response(response)

There are a number of reasons why s.get(resp.request.url) might potentially generate a different key than s.cache.create_key(resp.request), which depends on any other request details (headers, parameters, etc.). Some CachedSession settings can affect this as well.
Let me know if the above example works for you. If not, we can take a closer look at your specific requests and why they might be not matching.

Thanks for the info. The code you posted is basically how I've moved cached responses around in 0.8.x. If I follow the code exactly with 0.9.1, the new cache doesn't save the responses with the same key that's generated making a full request.
After some trial and error, it seems the crucial element are the extra kwargs passed to create_key in CacheMixin.send(). I have to make sure to pass in exactly what requests generates in order to get the right key. I've resorted to matching part of the implementation of Session.request() to get the right result.
from requests.models import Request
from requests_cache.backends.filesystem import FileCache

session1 = CachedSession()  # Old cache created with a previous requests-cache version
session2 = CachedSession('new_cache')  # New cache created with the current requests-cache version

for response in session1.cache.values():
    url = resp.request.url
    req = Request(method="GET", url=url)
    prep = session2.prepare_request(req)

    settings = session2.merge_environment_settings(prep.url, None, None, None, None)
    send_kwargs = {
        "timeout": None,
        "allow_redirects": True,
    }
    send_kwargs.update(settings)

    cache_key = session2.cache.create_key(prep, **send_kwargs)

    session2.cache.save_response(resp, cache_key=cache_key)

Weird! I'll dig into this some more when I have time to narrow down what exactly in send_kwargs is causing the different keys for me. I'm not passing any extra arguments when I make requests, so I'm not sure why it makes a difference for me.

Something that may help in debugging is to locally modify this section:
https://github.com/reclosedev/requests-cache/blob/aafc42f7198d2517efda03d56ae3eeeb7ff85201/requests_cache/cache_keys.py#L55-L67
Into something that incrementally prints out the key as it's being made, for example:
    key_parts = {
        'method': request.method or '',
        'url (including params)': request.url,
        'body': request.body or '',
        'verify': request_kwargs.get('verify', True),
    }

    # Debug: print key incrementally after applying each key part
    key = blake2b(digest_size=8)
    for label, part in key_parts.items():
        key.update(encode(part))
        print(f'{label}: {key.hexdigest()}')
    for part in get_matched_headers(request.headers, match_headers):
        key.update(encode(part))
        print(f'headers: {key.hexdigest()}')

    return key.hexdigest()

That should help narrow down which piece is creating a different hash.

@kinghuang Were you able to run the debugging example above, and did that provide any clues?

I did find a difference with a frozen dict vs a normal dict. I haven't touched this in a bit, but I might have a dev joining soon to help.

I will close this issue for now since I'm not able to reproduce, but do let me know if you find out any more about this, and I can reopen if needed.


cannot run

Traceback (most recent call last):
  File "main.py", line 518, in <module>
    dependent(original_ig_train1, 0.7, 1)
  File "main.py", line 115, in dependent
    a,b=pearsonr(x[:,i][:,np.newaxis],x[:,j][:,np.newaxis])
  File "/usr/local/lib/python3.5/dist-packages/scipy/stats/stats.py", line 3410, in pearsonr
    xmean = x.mean(dtype=dtype)
  File "/usr/local/lib/python3.5/dist-packages/numpy/core/_methods.py", line 75, in _mean
    ret = umr_sum(arr, axis, dtype, out, keepdims)
TypeError: No loop matching the specified signature and casting

I was able to run it with Python 2.7 and following library versions:
numpy==1.16.6
pandas==0.24.2
scipy==1.2.3
matplotlib==2.2.5```


Datetime Parse  issue

In Flutter didn't parse the  String like Format DD/MM/YYYY
DateTime.parse("20/02/2020")    it throws Invalid date format ...
how to parse this formate type string into DateTime....

In Flutter didn't parse the String like Format DD/MM/YYYY
DateTime.parse("20/02/2020") it throws Invalid date format ...
how to parse this formate type string into DateTime....

https://stackoverflow.com/questions/58329577/how-to-check-whether-the-entered-date-in-textfield-is-valid-or-not-in-dart-flutt

https://stackoverflow.com/questions/57545452/dart-convert-time-from-dd-mm-yyyy-to-yyyy-mm-dd

@Sachinsowri
You can do it for example with help of intl package
DateFormat inputFormat = DateFormat("dd/MM/yyyy");
DateTime dateTime = inputFormat.parse("20/02/2020");

Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help on Stack Overflow.
Closing, as this isn't an issue with Flutter,
if you disagree please write in the comments and I will reopen it
Thank you

https://stackoverflow.com/questions/57545452/dart-convert-time-from-dd-mm-yyyy-to-yyyy-mm-dd
DateFormat inputFormat = DateFormat("dd/MM/yyyy");
DateTime dateTime = inputFormat.parse("18/08/2019");

thanks but why should  use format like this .
YYYY-MM-DD didnt need any formate ... but YYYY/MM/DD or DD/MM/YYYY this type of string parse throw a invaild date formate

@Sachinsowri
DateTime.parse has limited list of accepted strings
https://api.flutter.dev/flutter/dart-core/DateTime/parse.html


Feat: Scrape up Disney+ Hotstar Website

Describe the feature
Disney + Hotstar is one of the most famous website for movies, shows and cartoons I would like to scrape it for the data.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC 23 contributor
[X] I want to work on this issue

Hey @Tisha6661 | I can see another issue covering similar platform #415 |
Instead of creating separate modules for both, create one module and create files for each representing a separate class.
Eg
ott_platform = OTT.DisneyPlusHotstar()
ott_platform.movies() # Or a method of your choice

Note

Separate file must be created for Hotstar and Jio Cinema (eg. disney_plus_hotstar.py)
Initialize classes in both files for the platforms.
Closing issue #415 for now, make 2 PRs, one after adding the Disney file and the other after adding Jio Cinema files.

Hey, I would like to work on this.

Hey @prateekboss4u, this issue has already been assigned.
Or, you can collab with @Tisha6661 , and make a new class for other OTTs other that she is covering.
If this works, please raise a new issue regarding it.

@Tisha6661 you still working on this?

Yes I am working but it is getting a bit difficult, because I have tried BeautifulSoup library to do so, and whatever I scrape it is showing an empty list, so I am trying to work with different libraries now. But it is getting difficult and taking time, Still I am trying.

@Tisha6661 alright
can we work on it together if it's getting difficult?

I can also work if you wish!


Add contracts tests

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (yarn build) was run locally and any changes were pushed
[x] Lint (yarn lint --check) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[x] Other (please describe):

What is the current behavior?

What is the new behavior?

closes #114

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

I see #126 has tests for attestations/epoch trees. Might be good to have GST tests here


Add missing files, make project compile on Android Studio, update dependencies and add .gitignore.

Thanks for taking the time. I will review it shortly.

The (only) issue I didn't take care is updating Rx Kotlin to 2.3.0, it will produce a warning because you are using takeUntil instead of adding the disposable to something (check result lint error). I'll let you decide how to fix it, when you want.

I am curious on how all of this applies to RecyclerView and complex structures where data is passed, instead of states.


Enable parsing strings in humanize functions

This is useful to humanize count_values or buckets labels.
Supersedes #8339
Closes #8303
Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>

Good idea, I have added tests and will merge on green.


fix utility meter error

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 98.249%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
2862

Relevant Lines:
2913

💛  - Coveralls