right click menu will show on extended display

What version of Go, VS Code & VS Code Go extension are you using?
Version Information

Run go version to get version of Go from the VS Code integrated terminal.

go1.20.4 darwin/arm64

Run gopls -v version to get version of Gopls from the VS Code integrated terminal.

v0.12.0

Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.

1.78.2

Check your installed extensions to get the version of the VS Code Go extension

v0.38.0

Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.

Checking configured tools....

GOBIN: undefined
toolsGopath:
gopath: /Users/yixinin/go
GOROOT: /usr/local/go
PATH: /Users/yixinin/.tiup/bin:/opt/homebrew/opt/libpq/bin:/opt/homebrew/opt/mysql-client/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/yixinin/.cargo/bin:/opt/homebrew/bin:/Users/yixinin/go/bin

	go:	/usr/local/go/bin/go: go version go1.20.4 darwin/arm64

	gotests:	/Users/yixinin/go/bin/gotests	(version: v1.6.0 built with go: go1.20.4)
	gomodifytags:	/Users/yixinin/go/bin/gomodifytags	(version: v1.16.0 built with go: go1.20.4)
	impl:	/Users/yixinin/go/bin/impl	(version: v1.1.0 built with go: go1.20.4)
	goplay:	/Users/yixinin/go/bin/goplay	(version: v1.0.0 built with go: go1.20.4)
	dlv:	/Users/yixinin/go/bin/dlv	(version: v1.20.2 built with go: go1.20.4)
	staticcheck:	/Users/yixinin/go/bin/staticcheck	(version: v0.4.3 built with go: go1.20.4)
	gopls:	/Users/yixinin/go/bin/gopls	(version: v0.12.0 built with go: go1.20.4)

go env
Workspace Folder (hello): /Users/yixinin/hello
	GO111MODULE=""
	GOARCH="arm64"
	GOBIN=""
	GOCACHE="/Users/yixinin/Library/Caches/go-build"
	GOENV="/Users/yixinin/Library/Application Support/go/env"
	GOEXE=""
	GOEXPERIMENT=""
	GOFLAGS="-tags=allinone,scenestest"
	GOHOSTARCH="arm64"
	GOHOSTOS="darwin"
	GOINSECURE=""
	GOMODCACHE="/Users/yixinin/go/pkg/mod"
	GOOS="darwin"
	GOPATH="/Users/yixinin/go"
	GOPRIVATE="*.splashtop.com"
	GOPROXY="https://goproxy.cn,direct"
	GOROOT="/usr/local/go"
	GOSUMDB="sum.golang.google.cn"
	GOTMPDIR=""
	GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
	GOVCS=""
	GOVERSION="go1.20.4"
	GCCGO="gccgo"
	AR="ar"
	CC="clang"
	CXX="clang++"
	CGO_ENABLED="1"
	GOMOD="/Users/yixinin/hello/go.mod"
	GOWORK=""
	CGO_CFLAGS="-O2 -g"
	CGO_CPPFLAGS=""
	CGO_CXXFLAGS="-O2 -g"
	CGO_FFLAGS="-O2 -g"
	CGO_LDFLAGS="-O2 -g"
	PKG_CONFIG="pkg-config"
	GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/fx/q65j2pdd66n3k7gx2_3lnyxc0000gq/T/go-build2421270110=/tmp/go-build -gno-record-gcc-switches -fno-common"

Share the Go related settings you have added/edited
Run Preferences: Open Settings (JSON) command to open your settings.json file.
Share all the settings with the go. or ["go"] or gopls prefixes.
{
    "go.toolsManagement.autoUpdate": true,
    "go.addTags": {
        "tags": "json,xorm",
        "options": "json=omitempty",
        "promptForTags": false,
        "transform": "snakecase",
    },
    "git.enableSmartCommit": true,
    "git.confirmSync": false,
    "files.autoSave": "onFocusChange",
    "security.workspace.trust.untrustedFiles": "open",
    "redhat.telemetry.enabled": false,
    "go.testFlags": [
        "-v"
    ],
    "git.mergeEditor": false,
    "yaml.schemaStore.url": "",
    "diffEditor.ignoreTrimWhitespace": false,
    "diffEditor.wordWrap": "off",
    "[python]": {
        "editor.formatOnType": true
    },
    "window.zoomLevel": -1,
}

Describe the bug
there are 2 displays.
Macbook (with touch bar):

chip: Apple M1
Memory: 16GB
MacOS: 13.4
Displays:
main: Built-in retina Display 13.3-inch (2560 x 1600), Default (1440 x 900)
extended: PHL 288E2 Display 28-inch (3840 x 2160),  Default (1920 x 1080)
Arrange: extended display top on bulit-in.

open a go file on main display, right click on file content, the menu will show on extended.
Steps to reproduce the behavior:

Open a go file
Right click on any of definition function/struct field, variable
May see menu on extended display

I have no idea how to 100% reproduce
restart vscode/reload window doesn't work.
Screenshots or recordings

arrange

menu is bottom on extended display, and most menu items are collapsed.

Hi @yixinin I tried to reproduce the bug on the same config but it was impossible for me. Since it's been 2 weeks, maybe you have more information on how to reproduce the bug (a function or a type that would trigger the bug in particular)? That would be great.

Hey @deepak1556 @rzhao271, this issue might need further attention.
@yixinin, you can help us out by closing this issue if the problem no longer exists, or adding more information.

Closing for now. The info-needed label might not have been working at that time.
Feel free to comment in this issue if it still occurs on the latest version of VS Code.


Add code of conduct.md

I want to add code of conduct.md

@kartikey369-ind  sure go ahead make sure to star the repo and join the discord server
also make sure to complete in the next 2 days or it will be assigned to someone else

done my work https://github.com/ML-Fusion-Lab/ML-Fusion-Lab-Website/pull/84

@kartikey369-ind I will check and merge it tomorrow.


Terra Classic (LUNC, Terra 1.0, columbus) support fails to correctly calculate WBNB reward amounts.

Terra Classic (LUNC, Terra 1.0, columbus) support was previously incorrectly calculating LUNC and USTC reward amounts.
As of today that problem has been fixed by stake.tax development support, however the fix seems to have introduced a new bug in which the  generated CSV is reporting WBNB reward amounts worth millions of dollars which is not correct as the actual amounts should only be worth a few cents at most.
Could you please look into resolving this new problem.

Thanks for the report.  Is this a different address than previous github issue reported?  I'm not seeing any WBNB rewards at the moment.

My wallet address is: terra17h2a42sf7kv0mrzqce90lhjvlrxtch5vw5hps4
And attached is a copy
koinly-20240604-022420-lunc.csv
of the CSV generated by stake.tax showing the excessively large WBNB staking rewards.

Fixed and deployed.
Thanks for the report and info.

Thank you once again for a very prompt fix. I have not checked the results with  fine toothed comb, but it appears to be calculating reward amounts correctly now.


Add politehnika.txt

Shool website: https://politehnika.edu.rs/

@MilicaStanisic First stage of verification passed, official domain is politehnika.edu.rs as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@MilicaStanisic Thank you for your patience while waiting for a review and processing your request. Pull request merged.


added static response

Added static responses based on endpoints.
Dynamic Configuration: If we need to change the static responses at runtime or load them from a configuration file, we can consider implementing a method to update staticResponses.
Advanced Caching:  For a more robust caching mechanism, we could introduce expiration policies or a TTL (time-to-live) for cached responses.
Concurrency Handling:  If we are expecting many updates to the static responses, consider using a mutex to protect the access to staticResponses.

closes #14


create setup.py

https://docs.python.org/2/distutils/setupscript.html

Submitting to PyPI is really easy once you have the setup.py http://peterdowns.com/posts/first-time-with-pypi.html

Done.


(WIP) Proposal to simplify FocusTrap, revived

A few months back, I made an attempt at simplifying FocusTrap (https://github.com/flutter/flutter/pull/90240) in order to 1. match the native behavior that tapping outside textfields doesn't remove focus, except on web, and 2. allow buttons that don't remove the focus from text input fields.  Here I'm reviving that attempt and seeing if it is feasible or not.  Work in progress.
Behavior with this PR:

On web (mobile and desktop)

When a field has focus, tapping on some empty part of the screen causes the field to lose focus.
Doing so, then pressing tab, focuses the first item in the tab order, regardless of where the field was in the tab order.

On non-web platforms

Tapping on an empty part of the screen does not cause a focused field to lose focus.

Everywhere

Tapping a button doesn't cause a focused field to lose focus by default.

Related
Fixes https://github.com/flutter/flutter/issues/86972
Fixes https://github.com/flutter/flutter/issues/92541
Unblocks https://github.com/flutter/flutter/pull/76072 (virtual keyboards, as well as rich text editor bold buttons, etc.)
Original FocusTrap PR: https://github.com/flutter/flutter/pull/82575
Follow up that fixed clicks on prefix/suffix: https://github.com/flutter/flutter/pull/86041

Gold has detected about 3 new digest(s) on patchset 14.
View them at https://flutter-gold.skia.org/cl/github/99434

@gspencergoog Here's my yet unsuccessful FocusTrap PR that I mentioned to you.
Basically what I tried to do here was remove the FocusTrapArea (in TextField) and the FocusTrap (routes.dart) and replace it with a GestureDetector and a simple Focus widget.  It alllmost worked, but the gesture detector was stealing drag events from the event arena (such as drag to go back, etc.), causing a bunch of test failures.  I think your approach with a custom gesture listener should work.
This issue https://github.com/flutter/flutter/issues/86972 has lots of discussion about this problem.  Here are my reasons for needing this to allow buttons that don't unfocus a text input.

Closing in favor of https://github.com/flutter/flutter/pull/107262


401 unauthorized error on IOS

I have been able to authenticate with the Pinterest API on both the javascript and Android SDK. On iOS, I've triple-checked all of my settings to make sure I've configured everything according to the documentation.
However, when I log in through iOS, I am taken to the Pinterest app to authorize and all looks good. However, when Pinterest passes me back to my app, I am getting the following login error:
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: unauthorized (401)" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x17403dea0> { URL: https://api.pinterest.com/v1/oauth/inspect?access_token=AYalMni-yTq5Y0UihwETrFxZpzL5FK2tXvfmkbhDyJ_OP8BGeQAAAAA&token=AYalMni-yTq5Y0UihwETrFxZpzL5FK2tXvfmkbhDyJ_OP8BGeQAAAAA } { status code: 401, headers {     Age = 0;     "Cache-Control" = private;     Connection = "keep-alive";     "Content-Length" = 177;     "Content-Type" = "application/json";     Date = "Mon, 20 Mar 2017 19:21:15 GMT";     "Pinterest-Generated-By" = "devplatform-devapi-prod-0a01239b";     "Pinterest-Version" = 918ef75;     "X-Content-Type-Options" = nosniff;     "X-Pinterest-RID" =<PHONE_NUMBER>80; } }, NSErrorFailingURLKey=https://api.pinterest.com/v1/oauth/inspect?access_token=AYalMni-yTq5Y0UihwETrFxZpzL5FK2tXvfmkbhDyJ_OP8BGeQAAAAA&token=AYalMni-yTq5Y0UihwETrFxZpzL5FK2tXvfmkbhDyJ_OP8BGeQAAAAA, com.alamofire.serialization.response.error.data=<7b227374 61747573 223a2022 6661696c 75726522 2c202263 6f646522 3a20332c 2022686f 7374223a 20226465 76706c61 74666f72 6d2d6465 76617069 2d70726f 642d3061 30313233 3962222c 20226765 6e657261 7465645f 6174223a 20224d6f 6e2c2032 30204d61 72203230 31372031 393a3231 3a313520 2b303030 30222c20 226d6573 73616765 223a2022 41757468 6f72697a 6174696f 6e206661 696c6564 2e222c20 22646174 61223a20 6e756c6c 7d>, NSLocalizedDescription=Request failed: unauthorized (401)}
I tried taking the access token referred to in the error response and using the token debugger on the Pinterest developer site to check it, but when I did so I got the message "An error occurred. Please try again."
I have verified that I am getting this same 401 unauthorized response both with the Pinterest app installed and when it just uses Safari.
So, I'm stumped. It seems to me that the access token that's being generated on iOS login is being seen as invalid by Pinterest, but I don't know how to fix that.
Do you have any thoughts on what can be done to resolve this?

I am getting a very similar issue

+1

Fix it. The error is because exist some problem with permissions constants.
PDKClientReadPublicPermissions
PDKClientWritePublicPermissions
PDKClientReadRelationshipsPermissions
PDKClientWriteRelationshipsPermissions

Just put the values of the constants directly.

Follow up with further information:
Authentication (and following operations) did work in our iOS app for more than over a year. Now (without any changes) it does not work anymore (independent of iOS version).
We are requesting
PDKClientReadPublicPermissions
PDKClientWritePublicPermissions

Previously we were also requesting the private counterparts which are not available anymore.
The app is able to retrieve the access_token, receives it via the URL handler, but the successive call to inspectTokeninside the SDK fails with 401.
The outgoing oauthurl is (if the pinterest app is installed, I have replaced app_name and client_id):
pinterestsdk.v1://oauth/?client_id=9999999999999999999&permissions=read_public%2Cwrite_public&app_name=App%20Name
The incoming URL is (app_name and access_token replaced):
pdk9999999999999999999://?method=auth&access_token=9999999999999999999999999999999999999999999999999999999
Then the GET to https://api.pinterest.com/v1/oauth/inspect with these fails with status code 401:
https://api.pinterest.com/v1/oauth/inspect?access_token=9999999999999999999999999999999999999999999999999999999&token=9999999999999999999999999999999999999999999999999999999
The response is
{"status": "failure", "message": "Authorization failed.", "code": 3, "data": null}

Yes @wberger is right, I have also same problem.

Another follow up:
The token debugger (https://developers.pinterest.com/tools/token-debugger/) reports the following information for a token that the app receives after authentication with pinterest:
Application:       N/A
Application State: UNKNOWN
User:              N/A
Scopes:            N/A
Created at:        N/A
Valid?:            Yes
Expired:           No
Revoked:           No

Does this qualify as a valid token?

can anyone help on this?

I tried the code below and it worked
PDKClient.sharedInstance().authenticate(withPermissions: [PDKClientWritePublicPermissions, PDKClientReadPublicPermissions, PDKClientReadRelationshipsPermissions, PDKClientWriteRelationshipsPermissions], from: self, withSuccess: { (response) in
print(PDKClient.sharedInstance().oauthToken)
}) { (error) in
print(error.debugDescription)
}


Parse multi segmented file with two segment columns

Hi @yruslan
I have multi segmented binary file and able to parse it, if single segment column present. How do I parse multi segmented file with two segment columns present ?
ex: copybook
   01 MASTER-DATA.
      05 KEY-TYPE  PIC X(01).
      05 KEY-IND     PIC X(01).
   * KEY=A AND IND=0
      05 KEY-A0-REC.
             10 DATA-FIELDS  PIC X(998).
   *KEY =B AND IND=0
      05 KEY-B0-REC REDEFINES KEY-A0-REC.
             10 DATA-FIELDS PIC X(998).
   *KEY= 'A'-'F' AND IND=1
       05 KEY-01-REC REDEFINES KEY-B0-REC.
             10 DATA-FIELDS PIC X(998).
  * KEY = 'A-F' AND IND=2
      05 KEY-02-REC REDEFINES KEY-01-REC.
             10 DATA-FIELDS PIC X(998).

If there is no column that can be used as a segment distinguisher a the only way to do it is apply the same custom logic that is used on the mainframe to distinguish these segments.
val df = spark.read.format("cobol")...

val df2 = df.select(
  $"KEY_TYPE",
  $"KEY-IND",
  when($"KEY_TYPE" === lit("A") && $"KEY_IND" === lit("0"), $"KEY_A0_REC").otherwise(null),
  when($"KEY_TYPE" === lit("B") && $"KEY_IND" === lit("0"), $"KEY_B0_REC").otherwise(null),
  ...
)


allow reading credentials from a separate file

So I can keep the rest of the bot configuration in public version control

Yeah that's a good idea, an easy way to do this would be to add an optional MASTODON_BOT_CREDENTIAL environment variable, and then merge it into the config when it's populated.

like this idea ... maybe that's the point we can think again about using aero :-)

I like aero, but might make the learning curve a bit steeper for non-Clojure users, I'd wait to see if we get at least one more requirement for modular config first :)


getCurrentTime without callback

I would like to retrieve the current time directly, without passing a callback or at least synchronously. Do you think it could be conceivable?
Thanks in advance,

Sorry, synchronous getCurrentTime isn't possible.

Ok thanks anyway.
Just to be sure to understand why is it mandatory to access the current player time through a callback?
(I don't see any callback in the core implementation neither on android nor on ios but maybe I miss something)

This is a limitation of React Native's native module library.


Parse resource trade details

Resource trading is unchanged so might as well get it going straight away.
The recipient is specified with slot number, which isn't the same as player ID. So there's some extra work for the user to find the corresponding player from the rest of the output.
Question marks I see is if this should be rolled up into the standard output (in which case the slot -> player ID conversion needs to happen), and the separate W3GReplay object in the test file to keep things isolated.

Thanks for contributing.
You can add this to the W3GReplay.ts handleActionBlock function and aggregate the resource trading there, just like w3mmd actions are being aggregated. You would also have access to the trade  invoking player there.
A list seems to fit just like you implemented it. It could be good to add the current timestamp of the trade and the originating player and define the jsonschema for the parser output.
Let me know if you want to give it a try.

Since i just released 2.0, this is incompatible with the current API. Going to close this in favor of #58


[8.x] Unification of paginator translation keys

I made an appeal to the translations of the paginator keys, since this file contained an appeal to both the pagination.php file and the json file.
Has brought the code to a single form.
I also sent a PR to the https://github.com/laravel/laravel/pull/5426

No plans to change this for now, especially on a minor release.

No plans to change this for now, especially on a minor release.

Now in one file there (lines 6, 10, 16, 20, 28, 30, 32, 34 and 74) is a call to the translation of json and pagination.php file.
I think this is wrong. It is necessary to unify the treatment. Do either everything in json or everything in pagination.php.
It is incorrect to upload changes to the patch. I agree.
This is a minor change for a major update, given the original access error. That is why I suggested changes to the minor version.
If, nevertheless, you think that this should be placed in the major version, then I can send a PR to it.
Should I submit a PR to the master branch?

It's not clear what to do from the current answer 😯
I'm not looking forward to talking. Just a short answer.

@andrey-helldar given Taylor's answer we probably won't be changing this, sorry.


Extend Ethernet HAL for STM32 H5 and H7 MCU series

Is your enhancement proposal related to a problem? Please describe.
I would like to use STM32F4 series MCU in my project. Now the STM32 Ethernet HAL is supporting the MDIO communication for H5 and H7 series of STM32 MCU's. I would like to use MDIO API also for F4 series of MCU
Describe the solution you'd like
After review of file eth_stm32_hal.c i noticed a lot of compilation conditions like
#if defined(CONFIG_SOC_SERIES_STM32H7X) || defined(CONFIG_SOC_SERIES_STM32H5X)
I reviewed this file and it looks, that if I extend it like this:
#if defined(CONFIG_SOC_SERIES_STM32H7X) || defined(CONFIG_SOC_SERIES_STM32H5X) || defined(CONFIG_SOC_SERIES_STM32F4X
then my project is compiled and functioning well. Does this extension make sense?
Describe alternatives you've considered
The alternative is to create eth_stm32_hal_f4x.c or similar with help of STM32 Cube MX just for this MCU series
Additional context

I think it's a misunderstand. Maybe I was not clear enough. The thing is to leverage the ability of the MDIO API in the Ethernet communication. This part is available now only for STM32 H5/H7 series. Can we reopen this topic?

@erwango I think it's a misunderstand. Maybe I was not clear enough. The thing is to leverage the ability of the MDIO API in the Ethernet communication. This part is available now only for STM32 H5/H7 series. Can we reopen this topic?

Please open a new issue with an accurate title.

It's not required anymore, since this was noticed already in 3.7 kernel. This can be close.


adding trailing slash to the next.js config

@aaronpowell Can you merge this if it is ready?

I'm not sure if this is still needed (I originally put it up to demonstrate a bug)


Startup order in Kubernetes

Say you have a working clipper instance deployed in Kubernetes which uses an external persistent Redis instance provided via a statefulset. If for some reason the system stops working and a restart is needed, there is a possibility that the QueryFronend will startup before the Redis instance, which will cause the system to malfunction as it does not detect one of its components. Is there any way of preventing this behaviour beyond altering the QueryFrontend definition in order to include prevention mechanisms, such as init containers?

@DNCoelho : We solved this problem by installing Redis + Sentinel + HAProxy on the external servers to increase system stability for our production environment.

@withsmilo
Thank you for your reply!
I see what you mean, by increasing stability there should never occur a case where my initial situation may occur. However, it may still happen in which case there would exist a chance of the restart order being an erroneous one. In that case, is there any way to prevent it? Or do you think the possibility of it happening is so remote that the situation may not even warrant an explanation?

Hmmm. I can see two alternatives for clipper:

Implement init-containers to block query frontend until redis is healthy
Have query frontend explicitly block (with exponential backoff and retries count configurable) until redis is ready.

2 seems easier and more native.


Errors in mapping cause morph-kgc to produce an exception

What Happens?
Errors in mappings produce an exception. Instead, I was expecting the tool to produce a concrete, explainable error and possibly a line rather than having to read a stack trace).
To Reproduce
Use a mapping with errors

Since the mapping as an error it is expected to fail. There are already some human friendly feedback for some wrong mappings (e.g, if a Literal termtype is provided in the subject...), and will try to add more to the list.

I think there are 2 things:

Providing the friendly message
Ensuring the program does not crash. This issue is more about this one.

yes, I suggest not to show a stack trace. It looks like the program failed processing something somehow.


[stable hotfix] update engine version

includes the two engine cherrypicks. engine binaries have been code signed.

https://github.com/flutter/flutter/blob/master/.ci.yaml already has it updated. Looks like it hasn't made it into the release

thanks for reviewing Casey! there are 2 tests still queued, will wait a bit for them to run

like Casey and sir Godofredo pointed out, the 1 failed test and 2 queued tests have been removed from ci.yaml on master. will skip them.


Pass MaxGasPrice and BalanceAlertThreshold properties in Gwei

Currently MaxGasPrice and BalanceAlertThreshold config properties are passed in wei. This can be insufficient for bigger values so it will be good to change the unit of these properties to Gwei.

We could also define them in the config as strings and handle as big.Int in the code.
@pdyraga any peference?

Should we close this one @lukasz-zimnoch?

Yep I think so.


HBASE-28470 Fix typo in Java method comment

The java method comment contains a typo.


Support child loggers

Instead of having to provide a plethora of fields every time something happens, it would make sense to allow to create child loggers consisting of permanent fields:
wryte = Wryte()
new_wryte = wryte.child({'key1': 'value1'})
new_wryte.info(...)
...

new_wryte will include the key1 field for every log message it generates.

For now, implemented using context binding in https://github.com/nir0s/wryte/commit/7ed1342120cd14d6a944a67af2ad1e02a8bd0e09


0.8.10 fails because an Embroider macro doesn't support parallel transpilation

Error output:
ERROR Summary:

  - broccoliBuilderErrorStack: [undefined]
  - code: [undefined]
  - codeFrame: [undefined]
  - errorMessage: [broccoli-persistent-filter:Babel > [Babel: ember-engines]: Babel: ember-engines] was configured to `throwUnlessParallelizable` and was unable to parallelize a plugin.
plugins:
1: name: unknown, location: unknown

Please see: https://github.com/babel/broccoli-babel-transpiler#parallel-transpilation for more details
  - errorType: [undefined]
  - location:
    - column: [undefined]
    - file: [undefined]
    - line: [undefined]
  - message: [broccoli-persistent-filter:Babel > [Babel: ember-engines]: Babel: ember-engines] was configured to `throwUnlessParallelizable` and was unable to parallelize a plugin.
plugins:
1: name: unknown, location: unknown

This was introduced by  https://github.com/ember-engines/ember-engines/commit/bdc186ed8f98aad85eb734c26ba5b3ec5dab246b, apparently @embroider/macros is not parallelizable.

This was introduced by  https://github.com/ember-engines/ember-engines/commit/bdc186ed8f98aad85eb734c26ba5b3ec5dab246b, apparently @embroider/macros is not parallelizable.


Make the necessary changes on the agreed decisions

It's neccesary to update the foreign key of SongDB and the hibernate annotations of Song because some names on Album's table has been changed.

Both the routes of artist and song should be modified to follow the agreed convention

add commit 4c8b7eb


Use a single PR for updates with the same GroupId and Version

This is a special case of:

https://github.com/dependabot/dependabot-core/issues/1190

I have multiple dependencies pointing to different submodules of the different overall project:
dependencies {
    compile "org.springframework:spring-beans:4"
    compile "org.springframework:spring-context:4"
    compile "org.springframework:spring-web:4"
}

When Version 5 becomes available all of these dependencies should be updated in one atomic PR.
Some real world examples:

Updating the group com.squareup.retrofit2 from 2.5.0 to 2.6.1

freefair/gradle-plugins#58
freefair/gradle-plugins#54

Updating the group io.freefair.gradle from 3.7.4 to 3.8.1

freefair/okhttp-spring-boot#15
freefair/okhttp-spring-boot#16
freefair/okhttp-spring-boot#17
freefair/okhttp-spring-boot#18
freefair/okhttp-spring-boot#19
freefair/okhttp-spring-boot#20

Similar to #1190

pls check this https://github.com/dependabot/dependabot-core/issues/1618#issuecomment-665863295 which works for me

Similar to #3856 also

Solving this for all edge cases really requires leveraging a native helper:

https://github.com/dependabot/dependabot-core/issues/1164

I get that you want them to all be bumped in a single PR, but which of the following is true:

They are force-linked together in some way such that  Gradle will realize they always must be bumped in lockstep?
Or technically is it allowed by the Gradle tooling that only some of them bump and some others don't?

1⃣ is tracked in the generic sense in:

https://github.com/dependabot/dependabot-core/issues/1296

2⃣ is tracked in:
#1190

@jeffwidman There are a lot of different issues related to this, but they all basically come down to the same underlying frustration with dependabot - it creates a lot of "noise" because virtually every version of every dependency gets its own individual PR.  The value of dependabot is that it automates the process of checking for available updates and creating PRs when new updates are available.  However, those PRs are not grouped or managed the way a human would do it if given the same job, so dependabot ends up adding a lot of additional overhead in now managing all of those individual PRs.  This problem is much worse in ecosystems like javascript where even relatively small projects have a large number of dependencies which get updated very regularly and where many are logically grouped together.
Currently, the only solutions to this problem are to (a) manage all of these various PRs manually, or (b) to set up custom scripts to manage all the dependabot PRs after-the-fact.  Managing them all manually gets frustrating pretty quickly.  Using custom scripts works okay, but adds another layer of code to maintain and demotes dependabot to an alerting system only (basically the approach is that you set up CI to ignore all dependabot PRs and instead have a github action which triggers every time a new dependabot PR is created.  That action uses fetch-metadata to grab the relevant information, looks up the group it should be in, and then creates/uses the branch with that name, merges the changes in and closes dependabot's PR - it's clunky and breaks often because of merge conflicts, but it's the only automated solution at this time).
In order to solve this more fundamental problem, dependabot requires 2 major changes.  The first is to allow multiple directories for the same ecosystem.  The second is to add a new groups: section of the config that would contain one or more group names which each follow the same format as the allow: section does now.  For example:
version: 3
updates:
  - package-ecosystem: "npm"
    directories:
      - "/web"
      - "/api"
      - "/docs"
    schedule:
      interval: "weekly"
    groups:
      react:
        - dependency-name: "react*"
      eslint:
        - dependency-name: "eslint*"
        - dependency-name: "@typescript-eslint*"
      other-development:
        - dependency-type: "development"

The above would put any dependency (across all three directory) which starts with "react" in the same PR and reuse that PR as other dependencies/versions are added (as long as it is still open).  Matching can be done in order (so "other-development" only matches if the first 2 didn't match) and anything which doesn't match any of the defined groups would work the same way it does now.
I know that this would be significant change to some core dependabot functionality but it would singlehandedly address a large number of existing issues and make dependabot more flexible and configurable.

I really like how the suggestion above (Ref) puts the 'control of grouping' back on us as individual developers, which IMO would remove a lot of the 'effort' of trying to figure out the correct groupings for everyone that uses dependabot.
And then later, any public repo's can be data-mined for their dependabot grouping configs to build up a 'database' of the most common groupings, that could then be used to improve the 'default smarts' of dependabot (or suggest groupings for users to include in their own config; which itself could potentially be implemented as a dependabot PR suggesting changes to it's own config, to still 'keep a human in the loop')

I get that you want them to all be bumped in a single PR, but which of the following is true:
1. They are force-linked together in some way such that  Gradle will realize they _always_ must be bumped in lockstep?

2. Or technically is it allowed by the Gradle tooling that only some of them bump and some others don't?

I'ts mostly 2, but a bit of 1 could happen.
Technically, Gradle would be fine with them being declared with different versions. But dependencies which are essentially different modules published by the same project have a high chance of being interdependent.
So updating only one module could lead to compilation failures if there is a breaking API change between the modules.
There is no easy way to 100% correctly determine, which dependencies should be bumped together, but multiple dependencies having the same groupId, the same current (old) version and the same new target version should be a reasonably good heuristic.
I'm not sure if I like the idea of having to declare all dependency groups manually.
If you don't like to use a heuristic here it might be the better option to have a static list of groups inside dependabot itself.
Having the ~100 most common groupings declared in some sort of semi-official list, should help to reduce the PR count for many projects.

Update: We've started doing some grouped updates work! This particular issue might not be part of the first ship but if you want to track our updates, do follow #1190.

Just wanted to pop in from the Dependabot team to mention that we have configurable grouping rules in public beta, which should solve this problem! You can see the docs on how to set these up here: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
If you have any feedback, please feel free to email me at<EMAIL_ADDRESS>or set up a meeting with me by picking a convenient time in my calendar here.

Just wanted to pop in from the Dependabot team to mention that we have configurable grouping rules in public beta, which should solve this problem! You can see the docs on how to set these up here: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#groups
If you have any feedback, please feel free to email me at<EMAIL_ADDRESS>or set up a meeting with me by picking a convenient time in my calendar here.

@carogalvin It would be nice if dependabot closed the old individual PRs when it created the combined one.  It's a little confusing that when you close them manually you get the "I won't notify you" alert but it is still tracking them in the other PR...

Closing this out as we've officially released grouped version updates; please feel free to reopen or reach out if there are more questions or feedback.

Is there a way to group updates by Maven groupIds now? I reviewed multiple config samples but it seems I still have to manually specify all groupIds?!


cmd/compile: miscompilation of comparison between type parameter and interface

The program below should run quietly, but instead it prints:
FAIL: if i != t
FAIL: switch i
FAIL: switch t

Marking as a release blocker, because this seems like a miscompilation bug that users could plausibly actually run into. But I think it might be reasonable to punt fixing it to a point release.
A possible workaround here is to replace each use of t with any(t).
package main

func f[T comparable](i any) {
	var t T

	if i != t {
		println("FAIL: if i != t")
	}

	switch i {
	case t:
		// ok
	default:
		println("FAIL: switch i")
	}

	switch t {
	case i:
		// ok
	default:
		println("FAIL: switch t")
	}
}

func main() {
	f[int](int(0))
}

/cc @griesemer @ianlancetaylor @randall77

More comprehensive test case, that also exercises non-empty interfaces:
package main

type I interface { M() }

type myint int
func (myint) M() {}

func f[T comparable, U interface{ comparable; I }](a any, i I) {
        var t T
        var u U

        if a != t {
                println("FAIL: if a != t")
        }
        switch a {
        case t:
        default:
                println("FAIL: switch a, case t")
        }
        switch t {
        case a:
        default:
                println("FAIL: switch t, case a")
        }

        if a != u {
                println("FAIL: if a != u")
        }
        switch a {
        case u:
        default:
                println("FAIL: switch a, case u")
        }
        switch u {
        case a:
        default:
                println("FAIL: switch u, case a")
        }

        if i != u {
                println("FAIL: if i != u")
        }
        switch i {
        case u:
        default:
                println("FAIL: switch i, case u")
        }
        switch u {
        case i:
        default:
                println("FAIL: switch u, case i")
        }
}

func main() {
        f[myint, myint](myint(0), myint(0))
}

CC @randall77

It seems plausible that this could lead to subtle bugs in real code, for example:
https://go.dev/play/p/MQ1qi27IjUJ?v=gotip

Do we understand the underlying issue here? If so, do we have a plan to fix it?

Do we understand the underlying issue here? If so, do we have a plan to fix it?

We chatted about this on Monday and decided to flag this as an error in the compiler for 1.18, with a hope for a more fundamental fix in 1.19

From a conversation with @eliben, it looks like he's counting on @mdempsky or @randall77 to take a look. From Eli – "We decided to flag it as an error because we don't have a good undestanding of how to compare interface values with generic values at this time"
Should be done by release time.

Acceptance of https://go.dev/cl/391315 will change this from a release blocker to a bug for Go 1.19.

I sent https://go.dev/cl/391374 that fixes some of the cases and give an error for a case that is harder to handle.
I'll let @randall77 and @mdempsky decide which approach to take.

Reopening for backport to 1.18 release branch. There are 2 CLs, 391475 and 391594.

Closed by merging commit 1edc1cc (CL 391794) and commit 2c6a889 (CL 391795) to release-branch.go1.18.


You Do Not Have Permission To Access

Please do not submit bugs for unsupported EFT or unstable SPT-AKI versions
2024/04/30 3.8.0 (29197)
Describe the bug
You Do Not Have Permission To Access
To Reproduce
Run with administrator privileges or run regular double-click.
Expected behavior
Steps to reproduce the behavior: I can't, so I'm fixing the security system.
ex) https://youtu.be/pl59ODaP6no?si=LrXOg4Z3-eW8hyzj
Screenshots
N/A
Additional context
In version 3.6.0, the trainer 2.1 was used well.

Perhaps your antivirus is blocking the installer from running? Did you try to add an exception ?

Perhaps your antivirus is blocking the installer from running? Did you try to add an exception ?

Yes, that's right. I tried running it after shutting down the Internet and rebooting, but that .exe is blocked.

Perhaps your antivirus is blocking the installer from running? Did you try to add an exception ?

I removed the Windows security update KB5036892 from the control panel and it worked.
Maybe something went wrong with every latest update. I just came across it from your hint.
Thanks!


Refactoring tests

Firstly I start to fix codestyle error for quote plugin, then I have to write unit test for this plugin. So I have to improve project tests and fix some errors

My review was strictly related to the code, which is overall good, with just a couple gotchas and improvements.
Speaking of the PR, the main structural change it introduces is passing syncdb to the Plugin constructor to determine whether or not to sync the changes to disk (which obviously shouldn't be done during tests). However, I'm not too fond of the idea of passing variables around; if I were to do this, I'd add an environment variable that determines whether the code is running in a test or in the real environment. However, I didn't add that into the review, since I can understand it would be controversial. Asking for @crisbal's opinion on this.
For the rest, very well! The plugins are in dire need of test suites being written; moreso because we don't have well-written tests that we can use as a reference.

Thank you for your contribution! Looking forward to the newer changes.


Added Natural Disaster Prediction

Fixes issue #130
I have used a Cyclical Learning Rates approach for training the dataset for 48 epochs resulting in an accuracy above 85%.
I have attached the plot in the comments below.

Adding here screenshots will not acceptable. You need to upload the ipynb file after running in your local machine or colab with generated output

Adding here screenshots will not acceptable. You need to upload the ipynb file after running in your local machine or colab with generated output

Yes , the output is visible in the Jupyter notebook.
i added the screenshots here for just a reference.

Yes , the output is visible in the Jupyter notebook.
i added the screenshots here for just a reference.

You have not run the whole ipynb Do that first.

You have not run the whole ipynb Do that first.

Oh,i am sorry , i think the outputs got missed out.

Oh,i am sorry , i think the outputs got missed out.

@Jayshah6699 i have updated the notebook, kindly have a look. Thanks

@Jayshah6699 i have updated the notebook, kindly have a look. Thanks

https://drive.google.com/drive/folders/12GSdRTX_iAPZCo_ziOqlqvuW7Ug2ag1T?usp=sharing
This is the link to the output generated by the code , it consists of the training plots and the model file. As this was around 200mb in size , i couldnt append this folder in the repo.

https://drive.google.com/drive/folders/12GSdRTX_iAPZCo_ziOqlqvuW7Ug2ag1T?usp=sharing
This is the link to the output generated by the code , it consists of the training plots and the model file. As this was around 200mb in size , i couldnt append this folder in the repo.

You can upload it on kaggle publically and add the link and just add ipynb file consisting output

You can upload it on kaggle publically and add the link and just add ipynb file consisting output

Thats the trained model file , should i upload that in kaggle ?

Thats the trained model file , should i upload that in kaggle ?

Yeah I was talking about that only

Yeah I was talking about that only

As i am new to Kaggle , Can you please guide me through as in where i should upload the trained model file on kaggle ?

As i am new to Kaggle , Can you please guide me through as in where i should upload the trained model file on kaggle ?

@Jayshah6699 i have added the notebook to kaggle
https://www.kaggle.com/aswin1871/natural-disaster-prediction

@Jayshah6699 i have added the notebook to kaggle
https://www.kaggle.com/aswin1871/natural-disaster-prediction

The notebook You have added on kaggle is just errors nothing else. Kindly upload the one which has no errors.

The notebook You have added on kaggle is just errors nothing else. Kindly upload the one which has no errors.

Oops sorry , my bad. I have freshly ran the notebook which clearly shows the output :
https://www.kaggle.com/aswin1871/disaster-prediction
@Jayshah6699 sir , kindly have a look. Thank you

Oops sorry , my bad. I have freshly ran the notebook which clearly shows the output :
https://www.kaggle.com/aswin1871/disaster-prediction
@Jayshah6699 sir , kindly have a look. Thank you

ping me on discord. We need to talk about this.

ping me on discord. We need to talk about this.


The just-install package regularly fails in CI

Hi and first of all thanks for just, it's an amazing tool!
We currently have an issue in our CI as we have added just-install as dev-dependency, so not everyone needs to deal with installing just locally by hand. However, just-install just uses install.sh without specifying --tag, so GitHub most probably rate-limiting the request so it results in a 403 error when attempting to run yarn install. Is there a way to handle this? Or any suggestion how to avoid this at all?
One option could be to check if the CI variable is set and just is already installed (as it was installed manually). If so the install action could just exit.
Related:

https://github.com/casey/just/issues/1488
https://github.com/casey/just/pull/1499

Glad you like just!
just-install is actually maintained by someone else, although I forget who at the moment 😅


Hashes with pagination not properly accounted for

Need to make an explicit request using Net::HTTP.get_response rather than a method defined by the Ruby wrapper.  Will make calling paginated responses more intuitive in the future.

New methods added to account for ATM pagination

whats goin on in here

The devs paginated the JSON for ATMs so I had to write new methods

So it doesn't do that thing where it gives you a giant wall of text when you query the ATMs anymore?

Precisely.  It breaks it up into like 4 giant walls of text :)


Error fetching courses from learning path! | [Errno 2] No such file or directory

After update I cant download anything
[ludwik@ludwik ~]$ bash bash.sh
Using cookie info from cookies.txt
Downloading 9 courses from learning-path: master-the-fundamentals-of-ai-and-machine-learning

Downloading course 1/9: ai-accountability-essential-training

Current: 01-Introduction/01-Accountable artificial intelligence.mp4 @720p
Error fetching courses from learning path!
[Errno 2] No such file or directory: './ai-accountability-essential-training/01-Introduction/01-Accountable artificial intelligence.mp4'

Bash script:
mkdir "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
cp "/home/ludwik/Desktop/courses/cookies.txt" "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
cd "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
llvd -p "master-the-fundamentals-of-ai-and-machine-learning" -r 720 --cookies -t 10
rm cookies.txt

[SOLVED]
Code:
mkdir "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
cp "/home/ludwik/Desktop/courses/cookies.txt" "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
cd "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
llvd --cookies -r 720 -p "master-the-fundamentals-of-ai-and-machine-learning" -t 5,10
rm cookies.txt
cd ..
tar -cJf "Master the Fundamentals of AI and Machine Learning.tar.xz" "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
rmdir "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"

[SOLVED]
Code:
mkdir "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
cp "/home/ludwik/Desktop/courses/cookies.txt" "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
cd "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
llvd --cookies -r 720 -p "master-the-fundamentals-of-ai-and-machine-learning" -t 5,10
rm cookies.txt
cd ..
tar -cJf "Master the Fundamentals of AI and Machine Learning.tar.xz" "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"
rmdir "/home/ludwik/Desktop/courses/Master the Fundamentals of AI and Machine Learning"


fix exchange sink not set ready when source limit

Proposed changes
PipelineTask[this = 0x7f821ca75c00, state = BLOCKED_FOR_SINK, dry run = false, elapse time = 40.14679753s], block dependency = LocalExchangeChannelDependency: id=1, block task = 8, ready=false, _always_ready=false, is cancelled=false, is running = false
operators:
FILE_SCAN_OPERATOR: id=0, parallel_tasks=8, _eos = false , _opened = true, Scanner Context: id: 764848cbd47b9f98-3dc3f0ec7b7f2d9e, total scanners: 48, blocks in queue: 6, _should_stop: false, _is_finished: false, free blocks: 1, limit: 100000, _num_running_scanners: 0, _max_thread_num: 6, _max_bytes_in_queue: 858993456, query_id: c1fefb5bec9b4508-8dd41de18e905569
  DATA_STREAM_SINK_OPERATOR: id=1, Sink Buffer: (_should_stop = false, _busy_channels = 0)0.   FILE_SCAN_OPERATOR_DEPENDENCY: id=0, block task = 0, ready=true, _always_ready=false, is cancelled=false
Write Dependency Information:
1.     ExchangeSinkQueueDependency: id=1, block task = 0, ready=true, _always_ready=false, is cancelled=false
2.       LocalExchangeChannelDependency: id=1, block task = 8, ready=false, _always_ready=false, is cancelled=false

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run External

run buildall


Create Personae: DDS Executive

Benjamin-Hansen1 created the following on May 24:
User story
As a Digital Design System team member, I need to understand our users, their behaviors, needs, processes, drivers, etc.- so that I can make sure the DDS experience provides ultimate value to them.
Notes
The persona will include a high-level user journey showing the desired to-be state. A separate user journey will include detail on delighters, pain points, etc.
Deliverables

[ ] Summarize information we already know
[ ] Interview designers to fill gaps and verify persona
[ ] Document and publish persona

Acceptance Criteria

[ ] Published persona presented to DDS team (Playback)

Original issue: https://github.ibm.com/webstandards/digital-design/issues/887

On Aug 14, Benjamin-Hansen1 commented:
I agree @Wonil-Suh1 - We can do this whenever we get to it, and I currently have no data for it at all - so, big effort, low priority.

On Aug 14, Wonil-Suh1 commented:
@Benjamin-Hansen1 @linda-carotenuto Not sure if this is a high priority item for sprint 17. I suggest that we focus on designers and developers this year, sticking with the principle of being essential and tactical.

No user research role on team any longer to do this personae


Use client OpenTracing/OpenTelemetry spans for signal and queries

Expected Behavior
Signal and query handlers and threads inherit the client span as a parent span and form a solid spans chain with spans of the clients calling a signal or a query method.
Actual Behavior
Historically Temporal server signal and query APIs didn't have headers and it wasn't possible to transfer additional payloads like spanId from the caller. Signal and queries currently don't inherit the client's span.

Hi Team, any update on this

Closed by https://github.com/temporalio/sdk-java/pull/1819


Create IAI templates in Figma

replaced all the ff components, working on responsiveness. aim to finish by end of week

🟠12 Sep - Figma Templates: list questions to be discussed with Ben
🟠9/11/12 Sep - Update Figma Templates: Responsive Behaviour (after discuss with Ben)
✅8/9 Sep - Replace to the form field components use the Light library one (Relink the form fields components)

had a catchup, aligning now on final approach

🟠18 Sep - Tag Ben & Darrin to review the Figma template
✅18 Sep - Add how to use
✅18 Sep - Update the templates in the grid examples (heights in different densities 12, 24, 36, 48)
✅17 Sep - ADD minimum widths & Wrap
✅15 Sep - Catch up with Ben to check the final direction

✅15 Sep - Catch up with Darrin
to discuss Template questions
✅14 Sep - Catch up with Ben: providing 1920,  1280,  960,  600,  320 with grid layout
✅12 Sep - Figma Templates: list questions to be discussed with Ben

@bhoppers2008 to try the template, the final option tbd.

Catched up with @bhoppers2008 and completed the templates


ArgumentException

Element with the same key added to dictionary.

Add checks to the Text Components being added to the Dictionary/

Resolves text under buttons to not be added to the dictionary. See commit cb47b8f43cab7407dea74fb0a103cd5c9dcb33b9

Instead, the script should modify the Text component under the Button Parent Object.


Client Allocation Request for: ITBank

Client Allocation Questions
Core Information

Name: ITBANK
Region: Asia excl. Greater China
Website / Social Media: http://www.goitbank.net/
DataCap Requested: 30TiB
Addresses to be Notarized: f3vghjxni5j2gtepqij4roishkzerbgzdjnacb4q5au5a4hogktpkwyvsnwpzgrdphm7miodffh26k7evs4goq
Notary Requested: dannyob

Hi @ITbank -- could you apply to one of the notaries working in the Asia region, where they will be able to confirm your allocation. We concentrate on Europe at FF currently.


Update alert rules guidelines

Signed-off-by: Shirly Radco<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR adds a guideline for alerts, to have a verbose message, since it is being used in the metrics.md automatically and adds the definition for alerts severity levels.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/assign @davidvossel

/assign @davidvossel

/assign @stu-gott

/restest

@stu-gott @davidvossel I don't believe the failed tests are related to this PR. Please review.

/restest


save SSL keys or secrets in mitmdump

Is there a way to save the SSL keys in a form for wireshark ("(Pre)-Master-Secret")? If not is it possible to add such functionality?
For example I get an "invalid header" or "Gateway Timeout" error for some SSL sites by using mitmdump. Without mitmdump everything works ok. Without seeing both request, the original one and the one used by mitmdump it is difficult to find the problem.

Yes, you need to set the SSLKEYLOGFILE environment variable in your shell from which mitmdump ist started.
$ export SSLKEYLOGFILE=ssl.log
$ mitmdump
...

And for reference, the first mention of SSLKEYLOGFILE is in 224f737646a3f9d0d6540a295524806df7ed1943 which is included in the v0.13.1 tag. So it doesn't work in the mitmproxy installed in debian stable:
> mitmproxy --version
mitmproxy 0.10.1


Support Noweb Reference Syntax (i.e., include one snippet into another)

Creating new issue to track this, as discussed here.
Reference (Org manual): Noweb Reference Syntax
In vanilla Orgmode, you can include one snippet into another, via Noweb reference syntax.
In the particular case I ran across this, say I have a bunch of various bash snippets.  Further say I have one for a print help function (that I want to use by itself some times) but I also have a "new bash skeleton" snippet where I would also like to include the "print help" function, without needing to maintain said function in 2 separate places (with all attendant problems inherent in such):
* sh-mode

** f_print_help                                                                               :src:

#+name: f-print-help
#+begin_src shell
  f_print_help () {
      cat << EOF

  <brief intro>

  USAGE:

    $0 [OPTION]... [IN-BASEDIR] [OUT-BASEDIR]

  OPTIONS:

  EXAMPLES:

    $0 -p\\
     --a
     --b
     --c

  EOF
  }

#+end_src

** new script empty skeleton                                                                  :src:

#+begin_src shell :noweb yes
#!/bin/bash

#* Commentary

#* Variables

#* Functions

<<f-print-help>>

#* Main

#+end_src

I think I have included everything required (above), but when I couldn't get it to work I may have deleted some stuff.  I try to put everything back for complete example though.  However if you can not get it to work in regular Orgmode, let me know and I look again.
I did have the inclusion working at some point in regular Orgmode.
I might venture a guess that Yankpad is only pulling the source block from the referenced subtree, and thus is not aware of the noweb reference perhaps?  Not sure.  I'm sure it's also very dependent on how Babel itself works.  I have not dig into this at all yet.
No idea how much complexity this might add, if it's worth it (or even possible) but there it is.  At least we can discuss / track it as a separate idea now.
Thank you for your consideration.

Thanks for posting the suggestion. Yankpad only looks at the src-block at the moment, not :noweb references etc. Including snippets in other snippets like this might be useful in some cases. I have an idea which doesn't involve noweb, I'll get back to you :)

The latest commit doesn't add noweb support, but might solve the problem (if you're using Yasnippet together with Yankpad). Now there's a function named yankpad-snippet-text which gets the result of a snippet as a string. Yasnippet has functionality to insert strings returned from Elisp functions. This means you could do the following:
* sh-mode

** f_print_help                                                                               :src:

#+name: f-print-help
#+begin_src shell
  f_print_help () {
      cat << EOF

  <brief intro>

  USAGE:

    $0 [OPTION]... [IN-BASEDIR] [OUT-BASEDIR]

  OPTIONS:

  EXAMPLES:

    $0 -p\\
     --a
     --b
     --c

  EOF
  }

#+end_src

** new script empty skeleton                                                                  :src:

#+begin_src shell :noweb yes
#!/bin/bash

#* Commentary

#* Variables

#* Functions

`(yankpad-snippet-text "f_print_help")`

#* Main

#+end_src

As you can see <<f-print-help>> has been replaced. However yankpad-snippet-text requires that the snippet you want to get the text from is among your currently active snippets. I haven't tried it much, so please let me know if it works for you!

I think the solution I posted solves the issue, even if it doesn't do it with noweb. Also I haven't heard back from the original poster for a while.

Yeah sorry for falling off the earth.  I never had a chance to circle back to this.  $DAYJOB taking up all my time, what little is left over goes toward getting my new PinePhone working these days (much excite! :smile:), so this fell way down the priority list somehow.  But I really appreciate your help/response!  :beers:

Hi @Kungsgeten,
I found myself circling back to this today for whatever reason.
I just wanted to let you know that I have been using the 'new' (lol) function yankpad-snippet-text for a long time now and it works great!
Thanks for writing it!
Cheers!  :beers:


How to train pre-trained model on Imagenet and adapt it to this model by myself?

May I ask how to train pre-trained model on Imagenet and adapt it to this model by myself?
Thank you so much

Pre-training weights are provided here， which is trained by imagenet. @ @ZhangGongjie

May I have the source of the pretrained model on imagenet? Where are they from?

see readme.

@ZhangGongjie


Initial Setup / Formatting, also added VNode content.

DONE -

Formatted the overall layout of the blog up-till the VNode section,
Added VNode content (much more than required) as well as a small code snippet.

REQUIRED -

Review of content,
Figure (maybe?).

In the _posts/2024-06-10-graphormer.md, V-node section,

Although the paper cites another paper as an empirical motivation, a better intuition behind the concept is as a generalization of the [CLS] token widely used in NLP and Vision for downstream tasks.

Add a link to the paper, either here or in the reference.

[CLS] tokens are often employed as "summary" tokens for text and provide a global context to the model; In addition this default advantage, as graphs and text are different modalities, the [VNode] also helps in relaying global information to distant or non-connected clusters in a Graph, this is significantly important to the model's expressivity, as this information might otherwise never propagate. (This is the intuition behind proofs in the next section, and has also been verified empirically)

Change to "In addition to this".


Unable to see full URI for long NFT URI's

Quoting @andrew-keig-nomena who posted this issue on March 28th in the xrpl.js repo here: https://github.com/XRPLF/xrpl.js/issues/1944
When viewing my transaction on nft-devnet.xrpl.org, I am not able to see the complete IPFS link. Also would it be possible to provide a link to IPFS from here.
Example below:
https://nft-devnet.xrpl.org/transactions/DB45197C3165450FC3A1035C5517E09D0724DC9CF461E18899D2D883AC6FD227

The link is purposefully not provided, because that could be a potential security issue

Not hyperlinking is fine, but this is about how the text just runs off the screen without any way to copy + paste it.
If our goal is to not show the link at all, then we should have a better user interface to demonstrate that. (Ex. "URI Hidden for security")
(Although I think that having a plaintext version of the link be fully visible would be better than hiding the URI entirely)

Added to our board

fixed by #261


inputData does not work in 4.0.0-rc.2 full mode - require is not defined

I have select2 4.0.0-rc.2 (full mode version) with no module system in my app. Script throws an exception when initiated on hidden input - "require is not defined".
Jsbin illustrating the problem:
http://jsbin.com/mogexoqona/1/edit?html,js,output

Duplicate of https://github.com/select2/select2/pull/3192 - This will be fixed before the final release.


Check if the parent node can have children before getting or adding children

Hi @Ausdach ,
Appreciate your contribution. 👍 .
I am happy with the change and the checks wrt unit tests are successful. It's ready to be merged.
Would you also mind updating the release notes?, eventhough it's not a big change set.

@girishchandranc  Done, Thanks!

@Ausdach  Thank you. Review successful. Pull request is approved and is ready to be merged. Thanks!


Use local time for user-provided time of backup

What is the purpose of this change? What does it change?
Snapshots created with the default restic backup behaviour of using the current time as time of backup use local time, but when the --time flag is used to force a specific time the resulting snapshot's time is set to UTC. This PR makes all snapshots use local time.
Was the change discussed in an issue or in the forum before?
https://forum.restic.net/t/which-timezone-does-forget-use/1166/2
https://github.com/restic/restic/issues/2065
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Codecov Report

Merging #2095 into master will decrease coverage by 4.57%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2095      +/-   ##
==========================================
- Coverage   50.79%   46.22%   -4.58%
==========================================
  Files         176      172       -4
  Lines       14149    14116      -33
==========================================
- Hits         7187     6525     -662
- Misses       5916     6612     +696
+ Partials     1046      979      -67

Impacted Files
Coverage Δ

cmd/restic/cmd_backup.go
43.81% <0%> (ø)
:arrow_up:

internal/backend/b2/b2.go
0% <0%> (-80.69%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-73.61%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

cmd/restic/cmd_mount.go
12.98% <0%> (-44.16%)
:arrow_down:

internal/archiver/file_saver.go
81.57% <0%> (-4.39%)
:arrow_down:

internal/archiver/blob_saver.go
92.59% <0%> (-2.47%)
:arrow_down:

internal/backend/s3/s3.go
60.15% <0%> (-2.26%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Use file names corresponding to webpages URLs

Back in Firefox version <57, when we used itsalltext, the add-on opened a .txt file and the name of the file corresponded to the URL of the webpage.
For example, for the webpage I'm editing right now, the file name would be something like github.com_GhostText_GhostText_issues_new_jakd1312.txt (including the random characters). In addition, I told itsalltext to open a terminal emulator with Vim and the said file. Next, in my Vim configuration, I created a new file type for itsalltext and I detect(ed) the files created by the add-on and set custom settings for files from certain websites.
For example, it enables me to automatically have markdown syntax in my text editor for text areas in webpages like stackexchange's and stackoverflow.com's, or mediawiki syntax in Wikipedia-like pages.
For those who don't know Vim-Lang, I use regular expressions to set custom editor settings for files whose paths'/names' match the expressions.
I don't how many of you people here use Vim/Neovim but it is one of it's best feature and I really miss having it.
I hope it's not that hard to implement it as well.
Thanks for a wonderful application.

This is part of #95
Currently the URL is already sent to the editor, however I doubt it’s actually implemented by any editor plugin except the official one (sublime)
Additionally I’m not sure of what you’re referring to with terminal emulation but I think that’s not gonna be possible with the current extension framework.


Is there any doumentation?

Or how can I learn what methods there are? And how use it?
Thanks a lot.

@baimurzin hi there. How to learn? from source. Readme tells you how to create a session,
rest is easy to learn.
Of course Im going to write a documentation (but maybe next week due to lack of time).


Add category subtotals

From @steveswinsburg on April 30, 2015 21:53
Add category subtotals in their own column at the end of the gradebook with a data- attribute of the category id so that they can be repositioned when we group by column.
When grouped by category, they should appear as the last item and be not movable.
Copied from original issue: steveswinsburg/gradebookNG#55

This is done, awaiting on https://github.com/sakaiproject/sakai/pull/839 though.
The other thing is that the category calcs are a little slow, so we should wrap this in a
if(settings.isCategoriesEnabled()) block in the UI and also pass that flag to the backend. This will mean it only does the work if the checkbox is checked. However I'm leaving it as is so we can discuss, then I'll make that change :)

Show percentage for category. If this doesnt already have a service API method to calculate it,  looks like summing up the scores, ignoring blanks and those that arent included in course grade calculation, and displayed as a percentage of total points possible for the sum of all assignments in that category.

From @jeffpasch on July 9, 2015 18:36
Hey Steve. Kyle and looked at this and we're seeing some issues with scrolling right/left: http://screencast.com/t/GBLT5P7UWUm

Discussed on the call. Category columns will always display so no need to check the settings and pass that through to the backend. Still need classes and aria attributes, will be done separately.

A few things left to do:

Add applicable CSS classes and ARIA attributes
Guard calls with the categoriesEnabled flag.
Pass this flag to the matrix builder to save it doing the work


"ERROR CaffeOnSpark: Requested # of executors: " and rank 0

Currently I'm working on CaffeOnSpark with 9 machines as below.
machine name : IP -  (lab-machine01 : <IP_ADDRESS>, lab-machine02: <IP_ADDRESS>. ..., lab-machine09: <IP_ADDRESS>)
machine01 is in charge of master role, where "spark-submit" is executed, and the other 8 nodes, machine02-09 are workers.
I ran a sample test, lenet training on mnist dataset, several times and it seems to perform fine as it went to the last stage(92th) and generated "mnist_lenet.model " file as output. Below I attached the test command and the simplified master log.

-----------------------------Two issues I have---------------------------------------

mnist_lenet.model file is generated in one of the workers, not in master.
the training process terminates with Error "ERROR CaffeOnSpark: Requested # of executors: ..."

-----------------------------My analysis on these issues------------------------------------
My analysis on these issues is as below

I found a snippet from "./caffe-grid/src/main/scala/com/yahoo/ml/caffe/CaffeProcessor.scala" as below.
if (source.isTrain) {
//start solvers w/ only rank 0 will save model
...
And the masters log below also shows that one of the worker(lab-machine09 at this test) is set to rank0 after finishing job 2. The program continues to perform the training job after setting the ranks of the workers. I found the trained model file from the "lab-machine09" machine after the program terminated.

masters log below shows that 7 out of 8 workers got terminated with the message "Lost executor X on <IP_ADDRESS>: Remote RPC client disassociated" at the end of the training process. Fortunately this error doesn't seem to affect the result as I, anyway, could obtain the trained model file. But I searched for the log of one of the terminated worker to know why , and the log says the reason as below
I0317 17:24:08.550050 31947 CaffeNet.cpp:325] Finetuning from /home/ubuntu/CaffeOnSpark/mnist_lenet.model
F0317 17:24:08.550176 31947 io.cpp:54] Check failed: fd != -1 (-1 vs. -1) File not found: /home/ubuntu/CaffeOnSpark/mnist_lenet.model
*** Check failure stack trace: ***
Yes, these 7 workers got terminated as they failed to pass the mnist_lenet.model check.

-----------------------------My questions-----------------------------------------------

What is the "rank 0" for? I ran the same test several times, and rank 0 was set to a random worker everytime. How can I make the master store the trained model?
7 out of 8 workers get terminated as they, of course, don't have the trained model.  Am I doing something wrong in the submit command?
I modified nothing, but the train and test lmdb file paths in lenet_memory_train_test.prototxt.
I testes the "--deploy-mode" with cluster and client, but both were same.

Any help would be really appreciated.

-----------------------------Test Code-----------------------------------------------
${SPARK_HOME}/bin/spark-submit
--master ${MASTER_URL}
--deploy-mode client
--files ${CAFFE_ON_SPARK}/data/lenet_memory_solver.prototxt,${CAFFE_ON_SPARK}/data/lenet_memory_train_test.prototxt
--conf spark.executor.memory=2g
--conf spark.cores.max=${TOTAL_CORES}
--conf spark.task.cpus=${CORES_PER_WORKER}
--conf spark.driver.extraLibraryPath="${LD_LIBRARY_PATH}"
--conf spark.executorEnv.LD_LIBRARY_PATH="${LD_LIBRARY_PATH}"
--class com.yahoo.ml.caffe.CaffeOnSpark
${CAFFE_ON_SPARK}/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar
-train
-features accuracy,loss -label label
-conf lenet_memory_solver.prototxt
-model file:${CAFFE_ON_SPARK}/mnist_lenet.model
-clusterSize ${SPARK_WORKER_INSTANCES} -devices 1
-connection ethernet
-output file:${CAFFE_ON_SPARK}/lenet_features_result

-----------------------------Master(machine01) log --------------------------------
~/CaffeOnSpark/data ~
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
INFO SparkContext: Running Spark version 2.0.0
WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
INFO SecurityManager: Changing view acls to: ubuntu
INFO SecurityManager: Changing modify acls to: ubuntu
INFO SecurityManager: Changing view acls groups to:
INFO SecurityManager: Changing modify acls groups to:
INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(ubuntu); groups with view permissions: Set(); users  with modify permissions: Set(ubuntu); groups with modify permissions: Set()
INFO Utils: Successfully started service 'sparkDriver' on port 53059.
...
INFO SparkUI: Bound SparkUI to <IP_ADDRESS>, and started at http://<IP_ADDRESS>:4040
INFO SparkContext: Added JAR file:/home/ubuntu/CaffeOnSpark/caffe-grid/target/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar at spark://<IP_ADDRESS>:53059/jars/caffe-grid-0.1-SNAPSHOT-jar-with-dependencies.jar with timestamp
...
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Registered executor NettyRpcEndpointRef(null) (<IP_ADDRESS>:56851) with ID 7
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Registered executor NettyRpcEndpointRef(null) (<IP_ADDRESS>:54581) with ID 2
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Registered executor NettyRpcEndpointRef(null) (<IP_ADDRESS>:43817) with ID 6
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Registered executor NettyRpcEndpointRef(null) (<IP_ADDRESS>:52783) with ID 4
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Registered executor NettyRpcEndpointRef(null) (<IP_ADDRESS>:59073) with ID 1
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Registered executor NettyRpcEndpointRef(null) (<IP_ADDRESS>:57169) with ID 3
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Registered executor NettyRpcEndpointRef(null) (<IP_ADDRESS>:33535) with ID 0
INFO DataSource$: Source data layer:0
INFO LMDB: Batch size:64
INFO DataSource$: Source data layer:1
INFO LMDB: Batch size:100
INFO CaffeOnSpark: interleave
INFO LmdbRDD: local LMDB path:/home/ubuntu/CaffeOnSpark/data/mnist_train_lmdb
INFO LmdbRDD: 8 LMDB RDD partitions
...
INFO TaskSchedulerImpl: Adding task set 0.0 with 8 tasks
INFO TaskSetManager: Starting task 0.0 in stage 0.0 (TID 0, <IP_ADDRESS>, partition 0, PROCESS_LOCAL, 5291 bytes)
INFO TaskSetManager: Starting task 1.0 in stage 0.0 (TID 1, <IP_ADDRESS>, partition 1, PROCESS_LOCAL, 5308 bytes)
INFO TaskSetManager: Starting task 2.0 in stage 0.0 (TID 2, <IP_ADDRESS>, partition 2, PROCESS_LOCAL, 5308 bytes)
INFO TaskSetManager: Starting task 3.0 in stage 0.0 (TID 3, <IP_ADDRESS>, partition 3, PROCESS_LOCAL, 5308 bytes)
INFO TaskSetManager: Starting task 4.0 in stage 0.0 (TID 4, <IP_ADDRESS>, partition 4, PROCESS_LOCAL, 5308 bytes)
INFO TaskSetManager: Starting task 5.0 in stage 0.0 (TID 5, <IP_ADDRESS>, partition 5, PROCESS_LOCAL, 5308 bytes)
INFO TaskSetManager: Starting task 6.0 in stage 0.0 (TID 6, <IP_ADDRESS>, partition 6, PROCESS_LOCAL, 5308 bytes)
INFO TaskSetManager: Starting task 7.0 in stage 0.0 (TID 7, <IP_ADDRESS>, partition 7, PROCESS_LOCAL, 5308 bytes)
...
INFO TaskSetManager: Finished task 5.0 in stage 0.0 (TID 5) in 2569 ms on <IP_ADDRESS> (1/8)
INFO TaskSetManager: Finished task 7.0 in stage 0.0 (TID 7) in 2569 ms on <IP_ADDRESS> (2/8)
INFO TaskSetManager: Finished task 2.0 in stage 0.0 (TID 2) in 2592 ms on <IP_ADDRESS> (3/8)
INFO TaskSetManager: Finished task 3.0 in stage 0.0 (TID 3) in 2600 ms on <IP_ADDRESS> (4/8)
INFO TaskSetManager: Finished task 4.0 in stage 0.0 (TID 4) in 2640 ms on <IP_ADDRESS> (5/8)
INFO TaskSetManager: Finished task 0.0 in stage 0.0 (TID 0) in 2749 ms on <IP_ADDRESS> (6/8)
INFO TaskSetManager: Finished task 6.0 in stage 0.0 (TID 6) in 2666 ms on <IP_ADDRESS> (7/8)
INFO TaskSetManager: Finished task 1.0 in stage 0.0 (TID 1) in 2697 ms on <IP_ADDRESS> (8/8)
INFO DAGScheduler: ResultStage 0 (count at CaffeOnSpark.scala:257) finished in 2.766 s
INFO TaskSchedulerImpl: Removed TaskSet 0.0, whose tasks have all completed, from pool
INFO DAGScheduler: Job 0 finished: count at CaffeOnSpark.scala:257, took 3.510765 s
...
INFO DAGScheduler: Job 2 finished: collect at CaffeOnSpark.scala:123, took 2.802059 s
INFO CaffeOnSpark: rank = 0, address = ,lab-machine09:48645,lab-machine09:48645,lab-machine09:48645,lab-machine09:48645,lab-machine09:48645,lab-machine09:48645,lab-machine09:48645, hostname = lab-machine09
INFO CaffeOnSpark: rank = 1, address = lab-machine03:45879,,lab-machine03:45879,lab-machine03:45879,lab-machine03:45879,lab-machine03:45879,lab-machine03:45879,lab-machine03:45879, hostname = lab-machine03
INFO CaffeOnSpark: rank = 2, address = lab-machine05:42568,lab-machine05:42568,,lab-machine05:42568,lab-machine05:42568,lab-machine05:42568,lab-machine05:42568,lab-machine05:42568, hostname = lab-machine05
INFO CaffeOnSpark: rank = 3, address = lab-machine07:47924,lab-machine07:47924,lab-machine07:47924,,lab-machine07:47924,lab-machine07:47924,lab-machine07:47924,lab-machine07:47924, hostname = lab-machine07
INFO CaffeOnSpark: rank = 4, address = lab-machine08:45542,lab-machine08:45542,lab-machine08:45542,lab-machine08:45542,,lab-machine08:45542,lab-machine08:45542,lab-machine08:45542, hostname = lab-machine08
INFO CaffeOnSpark: rank = 5, address = lab-machine04:47940,lab-machine04:47940,lab-machine04:47940,lab-machine04:47940,lab-machine04:47940,,lab-machine04:47940,lab-machine04:47940, hostname = lab-machine04
INFO CaffeOnSpark: rank = 6, address = lab-machine02:56925,lab-machine02:56925,lab-machine02:56925,lab-machine02:56925,lab-machine02:56925,lab-machine02:56925,,lab-machine02:56925, hostname = lab-machine02
INFO CaffeOnSpark: rank = 7, address = lab-machine06:42552,lab-machine06:42552,lab-machine06:42552,lab-machine06:42552,lab-machine06:42552,lab-machine06:42552,lab-machine06:42552,, hostname = lab-machine06
INFO CaffeOnSpark: rank 0:lab-machine09
...
INFO TaskSetManager: Finished task 0.0 in stage 92.0 (TID 408) in 303 ms on <IP_ADDRESS> (1/8)
ERROR TaskSchedulerImpl: Lost executor 3 on <IP_ADDRESS>: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages.
WARN TaskSetManager: Lost task 2.0 in stage 92.0 (TID 410, <IP_ADDRESS>): ExecutorLostFailure (executor 3 exited caused by one of the running tasks) Reason: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages.
ERROR TaskSchedulerImpl: Lost executor 4 on <IP_ADDRESS>: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages.
WARN TaskSetManager: Lost task 5.0 in stage 92.0 (TID 413, <IP_ADDRESS>): ExecutorLostFailure (executor 4 exited caused by one of the running tasks) Reason: Remote RPC client disassociated. Likely due to containers exceeding thresholds, or network issues. Check driver logs for WARN messages.
INFO DAGScheduler: Executor lost: 3 (epoch 2)
INFO TaskSetManager: Starting task 5.1 in stage 92.0 (TID 416, <IP_ADDRESS>, partition 5, PROCESS_LOCAL, 5376 bytes)
INFO BlockManagerMasterEndpoint: Trying to remove executor 3 from BlockManagerMaster.
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Launching task 416 on executor id: 2 hostname: <IP_ADDRESS>.
...
INFO BlockManagerMaster: Removed 6 successfully in removeExecutor
INFO DAGScheduler: Executor lost: 7 (epoch 8)
...
INFO TaskSetManager: Starting task 6.1 in stage 92.0 (TID 417, <IP_ADDRESS>, partition 6, PROCESS_LOCAL, 5376 bytes)
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Launching task 417 on executor id: 2 hostname: <IP_ADDRESS>.
INFO TaskSetManager: Finished task 5.1 in stage 92.0 (TID 416) in 150 ms on <IP_ADDRESS> (2/8)
INFO StandaloneAppClient$ClientEndpoint: Executor updated: app-20170317161850-0004/6 is now EXITED (Command exited with code 134)
INFO StandaloneSchedulerBackend: Executor app-20170317161850-0004/6 removed: Command exited with code 134
INFO BlockManagerMaster: Removal of executor 6 requested
INFO CoarseGrainedSchedulerBackend$DriverEndpoint: Asked to remove non-existent executor 6
INFO BlockManagerMasterEndpoint: Trying to remove executor 6 from BlockManagerMaster.
INFO StandaloneAppClient$ClientEndpoint: Executor added: app-20170317161850-0004/14 on worker-20170315230433-<IP_ADDRESS>-34449 (<IP_ADDRESS>:34449) with 1 cores
INFO StandaloneSchedulerBackend: Granted executor ID app-20170317161850-0004/14 on hostPort <IP_ADDRESS>:34449 with 1 cores, 2.0 GB RAM
INFO StandaloneAppClient$ClientEndpoint: Executor updated: app-20170317161850-0004/14 is now RUNNING
...
INFO TaskSetManager: Finished task 3.1 in stage 92.0 (TID 421) in 341 ms on <IP_ADDRESS> (7/8)
INFO TaskSetManager: Finished task 2.1 in stage 92.0 (TID 422) in 460 ms on <IP_ADDRESS> (8/8)
INFO DAGScheduler: ResultStage 92 (count at CaffeOnSpark.scala:456) finished in 2.416 s
INFO TaskSchedulerImpl: Removed TaskSet 92.0, whose tasks have all completed, from pool
INFO DAGScheduler: Job 51 finished: count at CaffeOnSpark.scala:456, took 2.467966 s
ERROR CaffeOnSpark: Requested # of executors: 8 actual # of executors:1. Please try to set --conf spark.scheduler.maxRegisteredResourcesWaitingTime with a large value (default 30s)
Exception in thread "main" java.lang.IllegalStateException: actual number of executors is not as expected
at com.yahoo.ml.caffe.CaffeOnSpark.features2(CaffeOnSpark.scala:468)
at com.yahoo.ml.caffe.CaffeOnSpark.features(CaffeOnSpark.scala:429)
at com.yahoo.ml.caffe.CaffeOnSpark$.main(CaffeOnSpark.scala:54)
...

Rank-0 is the first node Spark assigned to the job. It acts as a master, responsible for saving/snapshotting models, since there is no need for every worker to save the exactly the same model. If the model is saved to a shared place like HDFS location, multiple workers saving the same model can cause conflicts.

@junshi15 I see. I thought the machine that issues the "spark-submit" is designated to the master role. Thank you so much for your help.


Can we create an issue pack that just adds labels to repos?

No milestones or questions, just a set of labels.

We can, but I'll have to add a bit of logic to the library.  We'll just be able to add a top-level element for labels


Anyone tried adapting this repo to HIFIGAN-2 paper?

As per https://pixl.cs.princeton.edu/pubs/Su_2021_HSS/Su-HiFi-GAN-2-WASPAA-2021.pdf

Is there anyone tried to do this? I'm also doing some research on this area


Crashes upon syncing after upgrade

Manually upgraded to 1.1.4 after problems with automatic upgrade this morning.  Issue still happening.  Program starts fine.  When sync starts, it crases with the following (Win 10, 64 bit)
Version: <IP_ADDRESS>; Variant: Installed; Arch: Amd64
Path: C:\Program Files\SyncTrayzor\SyncTrayzor.exe
System.Runtime.InteropServices.COMException (0x80070490): Element not found. (Exception from HRESULT: 0x80070490)
   at NETWORKLIST.NetworkListManagerClass.GetCost(UInt32& pCost, NLM_SOCKADDR& pDestIPAddr)
   at SyncTrayzor.Services.Metering.NetworkCostManager.IsConnectionMetered(IPAddress address) in C:\projects\synctrayzor\src\SyncTrayzor\Services\Metering\NetworkCostManager.cs:line 71
   at SyncTrayzor.Services.Metering.MeteredNetworkManager.<UpdateDeviceAsync>d__34.MoveNext() in C:\projects\synctrayzor\src\SyncTrayzor\Services\Metering\MeteredNetworkManager.cs:line 255
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SyncTrayzor.Services.Metering.MeteredNetworkManager.<DeviceConnected>d__24.MoveNext() in C:\projects\synctrayzor\src\SyncTrayzor\Services\Metering\MeteredNetworkManager.cs:line 141
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Righty, you're seeing the same as #215.

For now, you can disable "Pause devices which connect over a metered network" in the settings.

That stopped resolved the crashing and it is back to syncing.


Fix typos in the documentation for the solveFor

Removed extraneous words so the sentence makes sense.

Thanks!


Issue moving from 1.5.3 to 1.6.0

We have our CI running some tests on Mac with appium and this driver. CI machines are recreated for each run and started installing 1.6.0. We start getting this issue:
OpenQA.Selenium.WebDriverException : An unknown server-side error occurred while processing the command. Original error: Cannot read properties of undefined (reading 'info')

Here are some logs : appium_mac-2.log

The patch has been published in 1.6.1

Thanks, fixed!


XMR to fiat + fiat -> xmr

Is this something that the community would want ? I would want to contribute to building this if the community wants to explore possibilities

Fiat atomic swaps wont work unless we can integrate a CBDC


fix for error 451 on connecting - wait for the server to connect

example: irc.deltaanime.net
is sending ping request on first connect
if we try to NICK and USER before it it timeouts

This is actually already implemented in the twopointoh branch. Expect a stable release soon. For the moment I recommend using 2.0.0-beta, it's on npm.


Feature/rollup integration test

This is the pull request for migrating python roll up tests to tests based on TestNG framework.

Coverage remained the same at 62.911% when pulling 89015e44d895b3dac0bd03cc1149af99b38672fb on feature/rollup-integration-test into f0cb4bbafc7fa7346c991ed9f4a2b6d6873d530a on develop.

Apart from some indentations which can be resolved during the merge this is great, so :shipit:

Formatted tests

Changes Unknown when pulling 02ea52c53154dde9ec0a72774a07774a2a91f492 on feature/rollup-integration-test into ** on develop**.


OJ-2720: added assertion for kid in JWT header

Proposed changes
What changed

Why did it change

Issue tracking

OJ-XXXX

Checklists
Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Documented in the README
[ ] Added to deployment repository
[ ] Added to local startup repository

Other considerations

[ ] Update README with any new instructions or tasks

Testing to check GH actions for #389


offset method missing

First of all, thanks for the awesome work, it is really useful!
While writing some tests using your mock Firestore i noticed that the offset method is missing, e.g. trying to execute something like this:
db
  .collection('documents')
  .limit(50)
  .offset(10)
  .get();

Works using the real Firestore library, while using your mock Firestore I get:
[TypeError: this.db.collection(...).limit(...).offset is not a function]
Is there any chance to have it implemented?

I'll have to see first since offset is not available in client sdks. It's also not a popular feature due to pricing issue. See https://github.com/firebase/firebase-js-sdk/issues/479

Oh, didn't know it, thanks for pointing this out! Closing since I migrated away from the offset method and so I don't need it anymore.


StackApi: Make payload optional?

For some cases (e.g. an "Add" page), it might be helpful to make the payload (which is basically the entity's ID) optional instead of creating Routes like /pages/add/new. What do you think?

How common is a page used excursively for adding?
I often used a single page for editing and adding (as the form looks basically 100% the same)

How common is a page used excursively for adding?
I often used a single page for editing and adding (as the form looks basically 100% the same)

I've thought about other examples and couldn't think of any.

I've thought about other examples and couldn't think of any.


GoogleAdsRow to JSON

Is there an easy way to parse GoogleAdsRow into JSON? In addition, how does one access the field_mask in the SearchGoogleAdsStreamResponse?

Json: Add a dependency on com.google.protobuf:protobuf-java-util:3.10.0 and you can convert any protobuf message to JSON by doing JsonFormat.printer().print(message)
FIeld mask: The field mask is available directly from the response object. So for example:
      ServerStream<SearchGoogleAdsStreamResponse> stream =
          googleAdsServiceClient.searchStreamCallable().call(request);

      for (SearchGoogleAdsStreamResponse response : stream) {
        response.getFieldMask();
      }

Wonderful! Thanks so much for the help.


Can harbor helm now running without ingress?

I saw a commit in master about to disable ingress in helm of harbor.
so, I tried this on my minikube. But somehow the registry could not be logged in successfully.

Minikube version:  v0.28
k8s: v1.10
helm: v2.9.1
git version : master - 7d6f8f9

minikube ingress addon disabled
> minikube addons list
- addon-manager: enabled
- coredns: disabled
- dashboard: enabled
- default-storageclass: enabled
- efk: disabled
- freshpod: disabled
- heapster: disabled
- ingress: disabled
- kube-dns: enabled
- metrics-server: disabled
- registry: disabled
- registry-creds: disabled
- storage-provisioner: enabled

turn off ingress my values.yml
# These annotations allow the registry to work behind the nginx
# ingress controller.
ingress:
  enabled: false
  annotations:
    ingress.kubernetes.io/ssl-redirect: "true"

and to access the ui and registry pod I add the nodePort in their svc.yml
ui-svc.yml
apiVersion: v1
kind: Service
metadata:
  name: "{{ template "harbor.fullname" . }}-ui"
  labels:
{{ include "harbor.labels" . | indent 4 }}
spec:
  type: NodePort
  ports:
    - port: 80
      nodePort: 30020
      targetPort: 8080
  selector:
{{ include "harbor.matchLabels" . | indent 4 }}
    component: ui

registry-svc.yaml
apiVersion: v1
kind: Service
metadata:
  name: "{{ template "harbor.fullname" . }}-registry"
  labels:
{{ include "harbor.labels" . | indent 4 }}
spec:
  type: NodePort
  ports:
    - port: 5000
      nodePort: 30010
  selector:
{{ include "harbor.matchLabels" . | indent 4 }}
    component: registry

After helm installation, the webUI works normally.
but when I login to registry.....
sudo docker login harbor.my.domain:30010
Username (admin): admin
Password:
Error response from daemon: Get https://harbor.my.domain:30010/v2/: http: server gave HTTP response to HTTPS client

Which is odd, since I didn't set up the insecure mode in values.yml
But still, I added an insecure exception in my docker daemon.json and restart docker daemon.
And then try to login again.
sudo docker login harbor.my.domain:30010
Username (admin): admin
Password:
Error response from daemon: Get http://harbor.my.domain:30010/v2/: Get https://harbor.my.domain:32700/service/token?account=admin&client_id=docker&offline_token=true&service=harbor-registry: dial tcp <IP_ADDRESS>:32700: getsockopt: connection refused

And it seems like external port setting issue, so I clean the externalPort in values.yml
# The FQDN for Harbor service.
externalDomain: harbor.my.domain
# externalPort is the Port for Harbor service, leave empty if the service is to be bound to
# port 80/443
externalPort:

and login again...  still unsuccess.
sudo docker login harbor.my.domain:30010
Username (admin): admin
Password:
Error response from daemon: Get http://harbor.my.domain:30010/v2/: Get https://harbor.my.domain:443/service/token?account=admin&client_id=docker&offline_token=true&service=harbor-registry: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused

Is there anything I did wrong or miss?

Set the externalPort = 30020 . There is a token service in UI container that the docker client will connect to.
BTW, why don't you use the ingress of minikube?

Thank you. I will try to set externalPort to 30020.
Our environment is a bear metal k8s without ingress support, so I try to setup harbor by helm without ingress in minikube first.

Ok, it seems like I can just add a nodePort to UI container ,eg. 30020
and set externalPort to 30020, then docker login to harbor.my.domain:30020 right?
But I get an error response like this, even if I didn't set up insecure mode.
sudo docker login https://harbor.my.domain:30020
Username: admin
Password:
Error response from daemon: Get https://harbor.my.domain:30020/v2/: http: server gave HTTP response to HTTPS client

And when I add insecure exception to daemon.json
sudo docker login harbor.my.domain:30020
Username: admin
Password:
Error response from daemon: login attempt to http://harbor.my.domain:30020/v2/ failed with status: 404 Not Found

@mJace
The ingress serves as a LB, the ingress.enable attribute was introduced for users who wants to setup their own LB.
So by default the ingress is a must.

Ok thank you.
If you don't might, does harbor rely on ingress to do the TLS termination?

correct


🚀Correrios API + Goroutines + Cache + Log 🚀

Big PR adding a lot of small but important functionalities.
closes #1 #9

Codecov Report

Merging #28 into master will decrease coverage by 2.33%.
The diff coverage is 90.55%.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
- Coverage   93.75%   91.41%   -2.34%
==========================================
  Files           7        8       +1
  Lines         128      233     +105
==========================================
+ Hits          120      213      +93
- Misses          4       10       +6
- Partials        4       10       +6

Impacted Files
Coverage Δ

api/api.go
100% <ø> (ø)
:arrow_up:

config/config.go
100% <100%> (ø)
:arrow_up:

api/cepaberto/cepaberto.go
88.23% <100%> (ø)
:arrow_up:

config/flag/flag.go
100% <100%> (ø)
:arrow_up:

config/env/env.go
100% <100%> (ø)
:arrow_up:

api/viacep/viacep.go
88.57% <100%> (ø)
:arrow_up:

api/correios/correios.go
83.67% <83.67%> (ø)

handler/handler.go
94.93% <94.11%> (-5.07%)
:arrow_down:

Continue to review full report at Codecov.

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

@ghophp, I couldn't review your PR. Thanks for the contribution 🚀


Expose error_model setting in jit decorator

Codecov Report

Merging #2344 into master will decrease coverage by <.01%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master    #2344      +/-   ##
==========================================
- Coverage   86.64%   86.64%   -0.01%
==========================================
  Files         316      317       +1
  Lines       58352    58366      +14
  Branches     6023     6024       +1
==========================================
+ Hits        50562    50574      +12
- Misses       6828     6830       +2
  Partials      962      962


This tutorial is great! I made disk.frame to help with large data anlaysis

https://github.com/xiaoadaigh/disk.frame
I made disk.frame to make it easier to manipulate large data in R, which can complement the materials here:
https://github.com/inbo/tutorials/blob/master/content/tutorials/r_large_data_files_handling/index.Rmd
I have made an issue in the disk.frame repo to contribute to this tutorial at some point https://github.com/xiaodaigh/disk.frame/issues/130

Hi @xiaodaigh, sorry for this very late reply. If you are still interested, you are welcome to submit a pull request to mention disk.frame in the Reading large data files in R tutorial. Since you have a issue open on your end, I am going to close this one here.