text:
Fix #2106, remove redundant word

Describe the contribution

Fix #2106

A clear and concise description of what the contribution is.

Removes redundant word in the Application Developer's Guide in order to make documentation clearer

Expected behavior changes
A clear and concise description of how this contribution will change behavior and level of impact.

No impact to behavior

Contributor Info - All information REQUIRED for consideration of pull request
Personal - Hugo Valente

@HugoValente11 can you submit a CLA so we can accept this?
https://github.com/chillfig/cFS/blob/main/CONTRIBUTING.md#contributor-license-agreement-cla

Merged in 6aaba57be967679e12920b7540c50576a0cc8b92

repo: nasa/cFE


text:
Fix #54, update lgtm file

Describe the contribution
Update lgtm file to include python
Testing performed

Go to https://lgtm.com/projects/g/nasa/cFS/logs
Go to log tab
Click on "test analysis configuration"
Paste new lgtm file
Click "try build"
Verify both C and python code was extracted and analyze

Contributor Info - All information REQUIRED for consideration of pull request
Anh Van, NASA Goddard

CCB 20200318 - Approved

source: gharchive/pull-request

repo: nasa/cFS

license_type: permissive

license_source: github-api


text:
Tauri does not works with screenshots-rs at Archlinux

It has a core dumped error when I use screenshots-rs with Tauri at Archlinux. See (https://github.com/tauri-apps/tauri/issues/8466).
@nashaofu can you help me to figure out what is caused.

🆗

Try to install xcap？

source: gharchive/issue

authors: PeterDing nashaofu

repo: nashaofu/xcap


text:
Amazon Dropshipping | Etsy | Shopify | eBay | Wix | SEO Expert

Hey, I'm "'NASIR'" who is a professional Woo-Commerce website store setup, dropshipping, product SEO, And E-Commerce V/A expert since 2018. My services are given below -------
🌹 WooCommerce Website / Store -----
✅ WooCommerce Website SEO (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Store Design (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Product Upload (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Product SEO (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Product Listings (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Store Redesign (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Store Setup (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Logo Design (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ WooCommerce Banner Design (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ Product Descriptions (Amazon, Shopify, eBay, Etsy, Wix, WordPress, Lazada, etc.).
✅ Ali Express Review for Shopify Website.
✅ Mobile Friendly Template For eBay.
✅ Bulk Product Upload.
✅ Cross Product Upload.
✅ Create Variations.
✅ Create Sections
✅ Add Price
✅ Add Product Page.

E-commerce software vendors need to integrate with multiple platforms to remain competitive. This integration allows vendors to increase their market share and manage necessary data effectively.
Shopify is a popular e-commerce platform with over 1 million stores. Integrating your SaaS business with Shopify can expand your market share, provide valuable data, and boost your profits. However, the integration process is complex and requires a skilled developer to overcome challenges such as data security and API abuse. Ongoing upgrades and support are also necessary.
To retrieve order details, software providers of different types must develop an API integration between their solutions and various shopping platforms like Shopify, Magento, WooCommerce, and others. This integration enables software providers to offer their features to e-commerce store owners and access their store data.

repo: nasirasbd/Turbo-invention


text:
SunriseSunset table

I'm going to need that sunrise_sunset table too - if I want to calculate the lowest tide during daylight hours using SQL I need to have that data available.
In Rocky Beaches it's created by this script: https://github.com/natbat/rockybeaches/blob/23c75496d37ecce32bceba459276e968a8712f7f/calculate_sunrise_sunset.py

Originally posted by @simonw in https://github.com/natbat/pillarpointstewards/issues/79#issuecomment-1681127924

Table looks like this: https://www.rockybeaches.com/data/sunrise_sunset

It's calculated using https://astral.readthedocs.io/

The places it links to there are https://www.rockybeaches.com/data/places - they include latitude, longitude and time_zone.

I did a quick spot check just by typing "dawn today" into Google and the times were all within 2 minutes of the times in that table.

https://www.pillarpointstewards.com/admin/tides/sunrisesunset/ is currently empty - once this deploys, visiting https://www.pillarpointstewards.com/programs/pillar-point/manage-shifts/ should cause it to populate with 365 records.

It worked! https://www.pillarpointstewards.com/admin/tides/sunrisesunset/ has the full list of upcoming data now.

repo: natbat/pillarpointstewards


text:
time is not updated when using log.SetPrefix

Hello. When I tried to change the time format with log.SetPrefix , I noticed that the time was not updated. The test code is below.
import (
	"log"
	"time"

	lumberjack "gopkg.in/natefinch/lumberjack.v2"
)

func main() {
	logRotate := &lumberjack.Logger{
		Filename:   "test_file.log",
		MaxSize:    1,
		MaxBackups: 3,
		MaxAge:     10,
		Compress:   true,
	}
	log.SetOutput(logRotate)

	log.SetFlags(log.Lshortfile)

	prefix := time.Now().Format("2006-01-02 15:04:05.000  ")
	log.SetPrefix(prefix)

	for i := 0; i < 5; i++ {
		log.Println("log test")
		time.Sleep(1 * time.Second)
	}

}

And the result is as below.
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test
2021-11-24 17:24:45.216  logrotate.go:43: log test

And I confirmed that the log.SetPrefix setting works normally when using the default log package.
Aside from this issue, the package is very nice and contributions are always appreciated.
Please help me to solve this problem.

I confirmed that the log.SetPrefix function itself works as described above. This inquiry is incorrect and I am looking for another way.

repo: natefinch/lumberjack

license: mit

license_source: bigquery


text:
Network field parsing

As much as possible it would be ideal to catch configuration errors before BIRD does. net.ParseIP and net.ParseCIDR should be used on all manual IP and prefix fields.

Added in v4.0.0

repo: natesales/wireframe

license: MIT


text:
instalooter not defined error on step 8 and 9

i have already checked path of my files there is no error in googleApi.json file

check the spelling of copy this and add that to your script googleApi.json``


text:
Sort by oldest/newest in list of unpublished judgments

 🔔👩💻EUI Sorting judgments- Back end work

repo: nationalarchives/ds-caselaw-editor-ui


text:
Branch/further court heirarchy updates

Reorders and renames court heirarchy for consistency, and adds getters for just courts and tribunals returned in the heirarchy.

 Court Hierarchy work - finalize design

repo: nationalarchives/ds-caselaw-utils


text:
Fix agent_config url generation. Closes #325.

This is a hotfix to patch breaking capability. A long term fix should add a test that identifies all url_for calls and determines whether or not they resolve correctly. flask routes prints the route list in the meantime.

Tests? 😢

I promise I'll make some tests for this. While I should test these specific routes as well, I want to write (or find) a, err, linter of sorts? Something that looks for every call to url_for and checks whether or not it is valid. That way we can add it to CI and never push a broken url_for again. Hopefully.

repo: natlas/natlas


text:
would like to be able to monitor LOCAL_DEVELOPMENT server

I would like to be able to set a http_port for the embedded local development server.
Would be nice to be able to run nats-top.

Done in https://github.com/nats-io/natscli/pull/748

authors: kmpm ripienaar

repo: nats-io/natscli


text:
Download Brew Source as Text File

Download Brew Source
Purpose
The purpose of this branch is to allow users to download the source of a brew as a plain text file.
Work Completed So Far

[x] Create code module to output Brew source as a text file
[x] Add a new page (download) to get the Brew source using its ID
[x] Incorporate the "Download" option into nav bar on Share page
[x] Incorporate download option in brew items on User page

Considerations

[x] Lint/CircleCi - The 200 line maximum requires that the code for the new page is moved to a new module, which I have called sourceFunctions.jsx in the sharePage directory. It seemed logical to also move the code for the existing "source" page here as well, as large portions of the two functions are identical.
[x] "Source" vs "Download Source" in Share page nav bar - I have changed the button text from "Source" to "View Source", to better differentiate the function of the two buttons.

Conclusion
This functionality has been requested previously (e.g. #1129, or this workaround in JS from Reddit). This also goes some way towards a user being able to download all of their brews at once, either as several text files or a single ZIP archive.
It's probably not the cleanest code I've ever written and it's well past midnight so I'm doing this with only one eye opened as I write this PR, so I'd appreciate any feedback that you might have.
-- G

EDIT: These changes should also fix the issue reported with the unmodified ampersand in the HTML source as reported in issue #1188. I added the check and replacement strings as a key/value array, so it should simplify adding any further items to be replaced in the future, if any more should be discovered.

Shifted the functions back into server.js and removed both the unnecessary changes to Homebrew.Model.js and the new module. Only four files are now affected by this change, at least two of which are trivial changes.
At this point, I haven't got a working NaturalCrit login system yet, so I've been unable to test with a logged in user yet, and by extension, any of the GoogleActions.

[ ] Test functionality with Google brews

Shifted the functions back into server.js and removed both the unnecessary changes to Homebrew.Model.js and the new module. Only four files are now affected by this change, at least two of which are trivial changes.
At this point, I haven't got a working NaturalCrit login system yet, so I've been unable to test with a logged in user yet, and by extension, any of the GoogleActions.

[ ] Test functionality with Google brews

[x] Test functionality with Google brews

Login system now working, including Google linking. Download confirmed working identically for Google-stored brews as it does for locally stored brews.
Discussion points:

[ ] Download filename prefix: Prefixing the filename with "Homebrewery-" makes for quite a long filename. Would this feature benefit from a shorter filename prefix, e.g. "HB-"?
[ ] Other issues: What else have I forgotten to consider?

[x] Test functionality with Google brews

Login system now working, including Google linking. Download confirmed working identically for Google-stored brews as it does for locally stored brews.
Discussion points:

[ ] Download filename prefix: Prefixing the filename with "Homebrewery-" makes for quite a long filename. Would this feature benefit from a shorter filename prefix, e.g. "HB-"?
[ ] Other issues: What else have I forgotten to consider?

/download appears to be working correctly in all respects, for all brews - local and on Google drive.

/download appears to be working correctly in all respects, for all brews - local and on Google drive.

@G-Ambatte Just need the config value for const prefix = config.get('name_prefix'); in server.js, since the config file is missing from this PR. Can you remind me what we wanted to use for that?
Gonna try to trim down the Server.js since a lot of stuff is duplicated between HB and Google brews (replacing < with &lt, prepping the file for download, etc). This does reveal a lot of other duplicated stuff in the other URLs as well so I might refactor those as well.

@G-Ambatte Just need the config value for const prefix = config.get('name_prefix'); in server.js, since the config file is missing from this PR. Can you remind me what we wanted to use for that?

I was using "Homebrewery' but Gazook89 suggested "HB", which I have no objections to. From memory, I moved it to a config item so it could easily be changed later but also so I didn't actually have to make that decision at the time.

authors: G-Ambatte calculuschild

repo: naturalcrit/homebrewery


text:
🛑 natureBook (nature.io Logos) is down

In 5fb9bc3, natureBook (nature.io Logos) ($NATUREIO_LOGO) was down:

HTTP code: 0
Response time: 0 ms

Resolved: natureBook (nature.io Logos) is back up in 259b940.

repo: natureOffice-GmbH/upptime


text:
added peer_id filter for relationship associations

peer_id filter works as expected.

Added unittest for peer_id filters

repo: nautobot/nautobot


text:
🛑 BarefootEdu is down

In d417eb2, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in 2147ac2 after 16 minutes.

repo: navadhiti/upptime


text:
🛑 BarefootEdu is down

In baf3a22, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in be4be7a after 1 hour, 14 minutes.


text:
🛑 Harmony Bot Website is down

In e3a1acf, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 4eb29de.


text:
🛑 Harmony Backup Bot is down

In 7614a5d, Harmony Backup Bot ($HARMONY_BACKUP) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Backup Bot is back up in a2399df.


text:
🛑 Harmony Bot Website is down

In 8aa67ee, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in f91e937.


text:
🛑 Harmony Bot Website is down

In 936ee58, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 47beb9c.


text:
🛑 Harmony Bot Website is down

In 95d91c6, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 1182087.


text:
🛑 Harmony Backup Bot is down

In dda5e50, Harmony Backup Bot ($HARMONY_BACKUP) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Backup Bot is back up in 1add4f1.


text:
🛑 Harmony Bot Website is down

In 6b02974, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in c83e7c4.


text:
🛑 Harmony Bot Website is down

In ff0e19f, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 276ff7e.


text:
🛑 Harmony Bot Website is down

In 9eea665, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in d7013b1.


text:
🛑 Harmony Bot Website is down

In d5dd96a, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 8c730a8.


text:
🛑 Harmony Bot Website is down

In aa12bce, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 7f6bf3e.


text:
🛑 Harmony Bot Website is down

In d14586d, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 9ad078d.


text:
🛑 Harmony Bot Website is down

In f9c8507, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in b83cdb4.


text:
Add .nvmrc file and engines in package.json to standardize node/npm versions

Describe the problem and the solution you'd like
Is your feature request related to a problem? Please describe.

In order to standardize the node and npm versions, an .nvmrc file can be added to the /app directory and the engines property can be added to package.json.
Describe the solution you'd like

Sample .nvmrc file:

18

Once that file is created, a developer using nvm can run the command nvm use in the app directory and switch to the correct version of node for the project.

Sample engines property in package.json:

"engines": {
  "node": ">=18.0.0",
  "npm": ">=10.0.0"
},

Describe alternatives you've considered

n/a
Additional context
No response
Priority
None

I don't know if the template is the place for version manager tool-specific configs since this is oftentimes different across projects and individuals on the project — some use asdf, nvm, etc. I think adding minimum supported node version in package.json could make sense though.

That's a great point @sawyerh. Tools vary, but the engines field in package.json is consistent across the board.

authors: sawyerh sbolel

repo: navapbc/template-application-nextjs


text:
Pre-install node modules for Docker workflow

Ticket
No ticket
Changes

The Docker development workflow will now utilize a temporary Docker container to install dependencies on the host machine. This means that devs do not need to install node on their host machine and makes getting started with Docker a one-step command make dev.
Added path alias support to make the experience around relative paths more manageable

Context for reviewers
Missing dependencies on the host machine
When opting to use Docker to develop and run the application the dependencies are only installed inside the container when building the image. This will cause IDEs to trigger an error about missing dependencies (node_modules) since they are not installed on the host machine.

Testing
Alias

resolution
Docker
The make dev command has been modified to check for the node_modules directory and remove any existing containers to avoid a container naming collision.

I don't know if this is an issue for npm/node packages, but I've generally avoided doing this for package dependencies because packages sometimes aren't cross-platform compatible. Package managers typically do a good job of identifying which arch they need to be installing for. In this case, you're specifically installing packages that are good on debian, which may cause issues on Apple Silicon, etc

@rocketnova Yea good point. I think if the intent is for dependency files to be present so IDEs can find the imports, this might be fine

@sawyerh Do you think it's safe to assume that all developers working natively will be using IDEs? I don't 😅 but I also don't develop natively.

@rocketnova What do you use? I may not be fully understanding

authors: GeorgeCodes19 rocketnova sawyerh


text:
hello

Hello

Hello


text:
아커스키를 한글로 지정하고 attribute조회할때 에러 발생

키를 한글로(7자리이상) 하고 attributes 조회할때
java.nio.BufferOverflowException
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
at java.nio.ByteBuffer.put(ByteBuffer.java:859)
at net.spy.memcached.protocol.ascii.OperationImpl.setArguments(OperationImpl.java:105)
at net.spy.memcached.protocol.ascii.GetAttrOperationImpl.initialize(GetAttrOperationImpl.java:89)
이런 에러가 나옵니다.
ByteBuffer allocate할때 size설정이 잘못된거 같습니다.
GetAttrOperationImpl.java
@Override
public void initialize() {
int size = CMD.length() + key.length() + 16;
ByteBuffer bb = ByteBuffer.allocate(size);
setArguments(bb, CMD, key);
....
}
key.length로 계산하다보니 한글일경우 문제가 생기는거 같습니다.
수정이 가능할까요?
사용예)
	CollectionFuture<CollectionAttributes> future = null;
	CollectionAttributes result = null;

	future = this.arcusClient.asyncGetAttr(arcusKey);

예.. 수정 가능합니다.. 이슈 올려주어서 감사합니다..

안녕하세요..
본 이슈의 해결 코드는 develop 브랜치로 merge 되었습니다.
향후 arcus-java-client의 next version release가 있을 시에
master 브랜치로 merge 하게 됩니다. 참고 바랍니다..

repo: naver/arcus-java-client


text:
엔진 설정 파일로 구동한 경우에 중복 설정 처리

구동 옵션에 명시한 설정이 엔진 설정 파일에도 중복으로 있는 경우 엔진 설정 파일의 값으로 최종 설정된다.
구동 옵션에 명시한 설정이 최종 설정 되도록 변경한다.
-e config_file=path 를 구동 옵션 스트링에 append 하는데, engine 에서 차례로 읽어 반영하면 config_file 을 마지막에 읽기 때문에 구동 옵션이 overwrite 된다.
memcached.c
int main() {
         case ....
         case 'e':
             engine_config = optarg;
             break;
      }

     old_opts += sprintf(old_opts, "num_threads=%lu;", (unsigned long)settings.num_threads);
     if (settings.verbose) {
         old_opts += sprintf(old_opts, "verbose=%lu;", (unsigned long)settings.verbose);
     }
...
     if (engine_config != NULL && strlen(old_options) > 0) {
         /* If there is -e, just append it to the "old" options that we have
          * accumulated so far.
          */
         old_opts += sprintf(old_opts, "%s", engine_config);
         engine_config = NULL; /* So we set it to old_options below... */
         /*
         settings.extensions.logger->log(EXTENSION_LOG_WARNING, NULL,
                 "ERROR: You can't mix -e with the old options\n");
         return EX_USAGE;
         */
     }
     if (engine_config == NULL && strlen(old_options) > 0) {
         engine_config = old_options;
     }
     mc_logger->log(EXTENSION_LOG_INFO, NULL, "engine config: %s\n", engine_config);
}

해결 방안 :
append 하지 않고, 별도로 전달하여 처리.
init_engine(engine_handle, 구동 옵션, "-e config_file=path", mc_logger);
@MinWooJin 검토 요청드립니다.

@SuhwanJang
test 해 보세요. overwrite 되지 않을 것입니다.

@jhpark816
아. default_engine.conf 파일의 자동 설정 이슈 언급을 빼먹었네요.
지금은 엔진 설정 파일로 구동해도 settings에 반영하는 로직이 없기 때문에 overwrite 되지 않습니다. 위 이슈가 반영되면 engine에서 설정 validation 검사하고 settings에 반영할 것이기 때문에 문제가 생깁니다.

순서가 바뀐 것 같네요. 이 이슈는 default_engine.conf 파일의 자동 설정 이슈가 처리되면 진행하겠습니다.

@SuhwanJang
본 이슈가 문제되는 지를 다시 확인하고, 의견 주세요.

@jhpark816
엔진 설정 파일에는 구동 옵션으로 주는 설정이 안 들어가기 때문에 문제 없다고 봅니다.
close 해도 될 것 같습니다.

@SuhwanJang
구동 옵션이 config file에 중복으로 들어가면 어떻게 되나요 ?

@jhpark816
문제는 없지만, 구동 옵션과 config file 중 어떤 것을 우선 순위를 둘 것인가에 따라서 의미상 안 맞는 부분이 생깁니다.
구동 옵션에 우선순위를 두도록 결정한다면, 최종 반영되는 설정은 현재 동작과 같이 config file 설정되는 방식을 수정을 해야 할 것입니다.
제 생각으로는 구동 옵션을 우선 순위를 두는 것이 사용 관점에서 좀 더 맞는 것 같고,
현재는 중복되는 옵션이 없는데 향후에 처리해도 되지 않나 싶습니다.

@SuhwanJang
향후에 처리할 예정이고, 현재는 아래 사항만 정리해 둘 예정입니다.
아래 사항에 대해 의견만 정리해 주세요.

구동 옵션이 config file에 중복 설정될 경우의 문제점은 무엇인가 ?
이러한 문제를 어떻게 처리할 것인가 ?

참고로, 현재 구동 옵션 중에 engine 설정으로 옮겨야 할 것도 있고,
실수로 engine conifg에 구동 옵션을 넣을 수도 있습니다.

@jhpark816
구동 옵션이 config file에 중복 설정될 경우의 문제점

config_file string 은 구동 옵션 string 에 append 하여 엔진에 전달합니다. 이로 인해 config_file read 를 마지막에 수행하여 config_file 의 설정으로 최종 설정됩니다.

해결방안

config read 순서를 config file -> 구동옵션 순으로 할 수 있도록 main() 에서 구동 옵션 string 을 만들 때 config_file 을 맨 앞에 위치하게끔 만들면 됩니다.
구현은 두 가지 방법으로 할 수 있는데,

구동 옵션 string 에서 config file string 과 그 외에 옵션 string 을 따로 버퍼에 담았다가 합치는 방법.
=> 기존에 비해 추가 메모리 필요
구동 옵션 버퍼에서 config file length (50 제한) 만큼 비워두고 구동 옵션을 넣는 방법.

@SuhwanJang 인턴 작업으로 진행합시다.

엔진 설정은 2가지 형태로 제공할 수 있습니다.

일반 구동 옵션 (환경 변수 지정 옵션 포함)
엔진 설정 옵션인 -e 옵션을 통한 config_file 설정

동일한 설정에 대해 2가지 방식으로 제공할 경우,
기존 방식대로 config_file 옵션이 우선순위를 가지도록 합니다.
향후, 일반 구동 옵션으로 지정한 엔진 설정을 config_file 설정으로 변경할 예정입니다.
engine config 정리 (https://github.com/naver/arcus-memcached/issues/541) 이슈에서 다루고 있으므로,
본 이슈는 close 합니다.

repo: naver/arcus-memcached


text:
Minor updates

Hvorfor ?
Bumper noen minor versjoner i første omgang etter litt knot. Det virker som at disse oppdateringene ikke skaper noen problemer. Testene er grønne, og det ser greit ut i dev når man klikker seg litt rundt omkring på overflaten, i alle fall. Lager derfor en PR på dette.
Følgende avhengigheter ble ikke bumpet (som minor versjoner - navikt/ds-* har også major versjoner man kan prøve seg på) :
@navikt/ds-css
@navikt/ds-css-internal
@navikt/ds-icons
@navikt/ds-react
@navikt/ds-react-internal
@navikt/ds-tokens
@types/express
@types/react
@types/react-dom
@types/react-modal

Veldig fint at du får bumpet pakker :D
Dessverre så synes jeg at denne må deles opp i flere indre PRer. Det sitter langt inne å godkjenne en enkelt PR med 76 endrede filer.

Veldig fint at du får bumpet pakker :D
Dessverre så synes jeg at denne må deles opp i flere indre PRer. Det sitter langt inne å godkjenne en enkelt PR med 76 endrede filer.

De endrede filene er bare import order endringer. Tenker derfor at det er unødvendig å dele opp denne i "indre PRer" ?

Veldig fint at du får bumpet pakker :D
Dessverre så synes jeg at denne må deles opp i flere indre PRer. Det sitter langt inne å godkjenne en enkelt PR med 76 endrede filer.

Veldig fint at du får bumpet pakker :D
Dessverre så synes jeg at denne må deles opp i flere indre PRer. Det sitter langt inne å godkjenne en enkelt PR med 76 endrede filer.

De endrede filene er bare import order endringer. Tenker derfor at det er unødvendig å dele opp denne i "indre PRer" ?

Virker som en uventet feature/bug(?) https://github.com/import-js/eslint-plugin-import/pull/2396#issuecomment-1406266240
Som senere leder til https://github.com/import-js/eslint-plugin-import/pull/2721

authors: blommish throndi

repo: navikt/familie-tilbake-frontend


text:
F gjør at databasen kan nåes fra utviklerpc

For at databasen skal kunne nåes fra utviklerpc må man gi tilgangen i migreringsscriptet

LGTM!

authors: KarlEvaldNav thorellefsennav

repo: navikt/tiltakspenger-meldekort-api


text:
🛑 ESTAT is down

In 1d22eaf, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in a5c05b0.

repo: nbbrd/sdmx-upptime


text:
🛑 NBB is down

In 9e22942, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 1264 ms

Resolved: NBB is back up in 087946b.


text:
🛑 ISTAT is down

In 705d987, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 57e0a0e after 20 minutes.


text:
🛑 ESTAT is down

In a897064, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in f020a99 after 6 minutes.


text:
🛑 ISTAT is down

In 9e9b3e4, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in d89ade3 after 8 minutes.


text:
🛑 NBB is down

In de079b0, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 748 ms

Resolved: NBB is back up in e6a071d after 11 minutes.


text:
🛑 ESTAT is down

In 507db7f, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 4d74c5d after 14 minutes.


text:
🛑 NBB is down

In da5f1d2, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 799 ms

Resolved: NBB is back up in d6c66f0 after 5 minutes.


text:
🛑 ESTAT is down

In 9e9194c, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 17acbb5 after 28 minutes.


text:
🛑 ESTAT is down

In 76e90c3, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in fc5c89e after 19 minutes.


text:
🛑 NBB is down

In 506ce7c, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 798 ms

Resolved: NBB is back up in 1d90cdf.


text:
🛑 ESTAT is down

In 7372edb, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in b447165 after 13 minutes.


text:
🛑 ISTAT is down

In 3a60935, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in edf1d46 after 12 minutes.


text:
🛑 NBB is down

In 997d017, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 544 ms

Resolved: NBB is back up in 4f7f8ce after 18 minutes.


text:
🛑 ESTAT is down

In 7368453, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in e3098d0 after 5 minutes.


text:
🛑 ISTAT is down

In 9184a28, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 445c934 after 5 minutes.


text:
🛑 ESTAT is down

In ea75c55, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 7ca22c8 after 14 minutes.


text:
🛑 IMF is down

In a2e1f05, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in 9fc4d36.


text:
🛑 ILO is down

In e639495, ILO (https://www.ilo.org/sdmx/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ILO is back up in 592ea73.


text:
🛑 ESTAT is down

In c2a4123, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 97aae70.


text:
X still closes all linux apps after laptop sleeps

Good day! I tried out the wsld in WSL 2 under Windows 10 and Ubuntu 20.04, followed all the instructions, but X still closes all the app after closing the laptop's lid. I'm running DWM using VcXsrv Server, and was hoping to persist the windows I opened in DWM that's why I stumbled upon your app.
wsld is running in both Ubuntu, and I ran wsldhost.exe in Windows, but somehow it doesn't persist. Is there anything that I'm doing wrong? I do notice though that when I run "netstat -abno" in cmd, I see that vcxsrv.exe is listening in 0.0.0.0:7680 rather than 6000. Does it have something to do with that? Thanks!

A few possibilities:

wsldhost.exe being stopped.
How did you run wsldhost.exe? If you run it through task scheduler, you might want to check "Conditions" and "Settings" to ensure it won't be stopped by task scheduler when power situation changes.
wsld is not being used. Check /tmp/.X0-lock to see if the PID there matches that of wsld. Also DISPLAY to ensure it is set properly.
If none of the above works, run both wsld and wsldhost.exe inside console to see if they output some error message.

A few possibilities:

wsldhost.exe being stopped.
How did you run wsldhost.exe? If you run it through task scheduler, you might want to check "Conditions" and "Settings" to ensure it won't be stopped by task scheduler when power situation changes.
wsld is not being used. Check /tmp/.X0-lock to see if the PID there matches that of wsld. Also DISPLAY to ensure it is set properly.
If none of the above works, run both wsld and wsldhost.exe inside console to see if they output some error message.

Please be aware that if the "Stop if the computer switches to battery power" checkbox is checked, it seems to apply even if it is disabled. To disable, temporarily enable "Start the task only if the computer is on AC power".

I've stumbled across this myself multiple times.

Hi! I just want to confirm that WSLD is now running successfully! What I did before was run both the Windows daemon and Linux daemon in console, but for some reason (probably some mistake in the configuration) apps still close after closing and opening the lid of my laptop. I revisited this setup again this time via Task Scheduler and running both daemons automatically, and things are looking good so far! What did help me was oxc's suggestion to tick the "Stop if the computer switches to battery power" option even though the parent option is disabled. He is correct in pointing out that somehow the said option is still enabled even if the parent option is disabled. I'm very grateful for your help! @oxc
I'll continue to observe this in the following weeks. But just out of curiosity, how have you guys been experiencing using this? Does it work every time w/o any issues? Or are there rare instances when it fails? Because prior to having run this successfully today, I made it a habit to save my VIM sessions before I put my laptop to sleep just to address my previous issues with X closing all the apps.

Did you originally run wsld in a terminal emulator? If so, that particular terminal might still talk to your vcxsrv via TCP, while all further connections go through wsld. Then when you sleep/resume, the terminal emulator's X connection drops, and it could have killed wsld (since it's not disowned).

As a matter of fact, I did. I was running Linux wsld in gnome-terminal. And I think you were right in pointing that out. I was making sure that the daemons were working before I add them permanently as services in my system. But seems like adding them as services during startup would've spared my in the first place! So far right now, I'm not having any issues anymore with X and can confirm that WSLD is working flawlessly. Very brilliant work! Thank you @nbdd0121!

On a side node, consider running vim in tmux. That will definitely survive as long as wsl is not shutdown.

@nbdd0121  Hello, first thanks for developing this tool.
I also have the issue that the linux GUI apps get closed after waking up the laptop. I checked that both wsld (I run this in windows terminal by sudo ~/.cargo/bin/wsld) and wslhost.exe are still running. The issue seems to be the one you mentioned above: the PID in /tmp/.X0-lock does not match that of wsld shown by ps a. Any suggestion on how I can solve this issue is highly appreciated.

The issue seems to be the one you mentioned above: the PID in /tmp/.X0-lock does not match that of wsld shown by ps a. Any suggestion on how I can solve this issue is highly appreciated.

This could happen if WSL utility VM got rebooted (WSL will preserve things in /tmp across reboot, so /tmp/.X0-lock may contain a PID from last time, which may be a different process). To address this you could add force = true inside the X11 section in config file. This will force wsld to ignore the X11 locking mechanism and listen to the X11 unix domain socket.

To address this you could add force = true inside the X11 section in config file. This will force wsld to ignore the X11 locking mechanism and listen to the X11 unix domain socket.

@nbdd0121
This seems to have solved the problem! Maybe you could write this also in the readme file. Thanks a lot!

@nbdd0121 It worked well yesterday. But this morning, after I opened my laptop, the GUI app still got disappeared... Then after restarting the laptop, running wsld gave the error message Failed to listen: /tmp/.X0-lock does not contain a valid PID. Any clue for solving this issue? Thank you.

It worked well yesterday. But this morning, after I opened my laptop, the GUI app still got disappeared... Then after restarting the laptop, running wsld gave the error message Failed to listen: /tmp/.X0-lock does not contain a valid PID. Any clue for solving this issue? Thank you.

That's really weird. What's the content of your /tmp/.X0-lock file? Do you have any other X server running in wsld which could modify the file? As for the GUI app disappear issue, you can try the troubleshooting steps on my earliest reply above, and additionally verify that the GUI app is indeed connected to the Unix domain socket at /tmp/.X11-unix/X0.

What's the content of your /tmp/.X0-lock file?

it is empty...

After I typed in some random number in that file, it went back to normal. However, still switching networks kills the wsl firefox.
This sounds like it still connects via TCP. What did you set for DISPLAY?

I have export DISPLAY = :0 in the .profile file as suggested in the readme.
echo $DISPLAY gives ip address:0, where ip address matches the one for Ethernet adapter vEthernet (WSL) shown by ipconfig /all under windows. Is this the correct behavior?

No, that's wrong. TCP is used if it is set to an address. Check you .bash_profile or .bashrc to check if you set DISPLAY at a different place.

Thanks for the hint. I have the following line in the .zshrc file:
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
After commenting out this line, I got the following error for trying to open a GUI app
 Error: no DISPLAY environment variable specified.
On the other hand, I have the export DISPLAY = :0 section in the .profile file.
Sorry for the maybe too naive question, how can I do to make it work now? Thank you.

https://superuser.com/questions/187639/zsh-not-hitting-profile

Thank you again. Now the problem becomes
Unable to init server: Could not connect: Connection refused Error: cannot open display: :0

You probably ran wsld as root, then with default permission being 755 non-root programs couldn't access /tmp/.X11-unix/X0. I've just pushed a commit to set the mode to 777, you can download the latest version from Github Actions.

Perfect!! It works. Thank you!

Hi @nbdd0121, I am having issues with running Terminator GUI via WSL2 Ubuntu.
Here is my setup:

Start VcXSrv on windows host with vcxsrv.exe :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto

Start the wsldhost --daemon with in Windows CMD as admin

Inside WSL via windows CMD export DISPLAY=:0 and start wsld process in background.

But I can't get any response for xset q, it just waits.

Which leads to the error You need to run terminator in an X environment. Make sure $DISPLAY is properly set when running wsl.exe bash -c "terminator"
I can see the correct PID in /tmp/.X0-lock for the wsld process I started. And the /tmp/.X11-unix/X0 also have correct permissions(777):
Any ideas? Thanks in advance :)

You need to set DISPLAY for terminator as well. bash -c would not set any environment variables that you might have set in your profile/bashrc as it's not interactive.
Please create a new issue for further problems.

authors: fkguo gomarion ihtiuh nbdd0121 oxc


text:
add --no-sign-request to aws download command

This avoids users needing to have aws credentials in order to download the reference data.

Hey @audrey-bollas pinging you to complete the PR. Also would it be possible to add me as an a maintainer of the repo? Not sure how easy that would be for you or Grant to do.

authors: andreirajkovic bpow

repo: nch-igm/snvstory


text:
Error npm registry

I have this issue using this plugin on Ionic development:
Failed to restore plugin "com.hutchind.cordova.plugins.streamingmedia" from conf
ig.xml. You might need to try adding it again. Error: Failed to fetch plugin com
.hutchind.cordova.plugins.streamingmedia@~0.1.4 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: cmd: Command failed with exit code 1 Error output:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\
node_modules\npm\bin\npm-cli.js" "install" "com.hutchind.cordova.plugins.stre
amingmedia@~0.1.4"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/com.hut
chind.cordova.plugins.streamingmedia
npm ERR! 404
npm ERR! 404  'com.hutchind.cordova.plugins.streamingmedia' is not in the npm re
gistry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Can someone help me?

Which npm version are you using? I had this and downgraded back to 5.3.0 which seemed to solve the problem.

@valderind4 I also have this issue when wanting to remove other plugin..
@nchutchind is there any issue in npmjs?

Any workaround to fix this? I can remove wrong entry from config.xml/package.json, but they are added again when I rebuild.

Hi,
I have the same issue - any command that changes plugin/platform causes this error to appear and the command to fail.
For example:

cordova build - it is not able to restore the plugin with this 404 error (I pasted it again below in qouted test format because it is easier to read)
After installing this plugin + additional one, trying to cordova plugin rm cordova-plugin-other results in this error and the plugin not removed.
When trying to remove the plugin, if I use cordova-plugin-streaming-media then I get the error, it will only be removed if using the 'old' name (com.hutchind.cordova.plugins.streamingmedia)

Error: cmd: Command failed with exit code 1 Error output:
npm ERR! code E404
npm ERR! 404 Not Found: com.hutchind.cordova.plugins.streamingmedia@~0.1.4
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\yourusername\AppData\Roaming\npm-cache_logs\2017-11-18T13_14_19_729Z-debug.log

Note that I installed the plugin using cordova plugin add cordova-plugin-streaming-media. I believe that this issue, as well as #102 are caused by some discrepancy between the plugin name and the id (com.abc.edf vs cordova-plugin-edf)
I am not that familiar with writing plugins but if I can somehow help with this - I'd be happy to.

Hi,
I fixed it in the follwing way as temporary solve:
package.json
"com.hutchind.cordova.plugins.streamingmedia": "git+https://github.com/nchutchind/cordova-plugin-streaming-media.git"

@atayahmet that solve doesn't get overwritten?

@atayahmet - in what package.json do you mean to make the change in? Also, a best course would be that the library is updated (but not really sure what/where to change it)

@atayahmet Woow ! thank you Ahmet :) işe yaradı ve çok işimi gördü teşekkür ederim

@CharanRoot This worked for me!

@Jule- cordova is let to itself, move on different technologies (as ReactNative or Flutter)

I am still maintaining the repo, for now but yes Cordova does look slightly at risk, sadly.

@shamilovtim at least can you publish a new npm version reflecting last changes? I mean if you are still maintaining the repo this is the right thing to do. If not you should advise devs in the readme.
Thanks for the others.

we'll generate a new NPM version soon

authors: Arathmorr Jule- atayahmet burakodabas hammondwb ludobit satish-nikam shamilovtim tiagomsmagalhaes tomercagan valderind4


text:
Joss extends suggestion

I wonder if we should include this comment that there are metrics in scores which are not contained in Jive.
Fractions Skills Score isn't in Jive, and I think not all of the contingency metrics are either. As time goes by, additional metrics will also be added, going beyond the original set from Jive. The point is it's a bit more than just a lift-and-shift and I thought that might be worth acknowledging.
I'm not 100% sure of the wording of my suggestion change but it would do.

It looks fine to me. A slight tweak to consider is
`scores` also includes additional metrics that Jive does not contain.

authors: nicholasloveday tennlee

repo: nci/scores


text:
[Feature Request] Support for mega.nz

It would be great to have mega.nz support

This is a dupe of #163 - can you add your support to that ticket to get updates - thanks!

authors: atshakil ncw

repo: ncw/rclone


text:
Panic when using sas_url with azureblob

What is the problem you are having with rclone?
We are unable to use rclone config created using the sas_url option with azureblob. Operations continue to work fine using account name and key. This feature stopped working for us in starting v1.46 (v1.45 works ok).
What is your rclone version (output from rclone version)
Broken in  v1.46 beta:
rclone v1.46.0-016-g1c1a8ef2-beta
- os/arch: linux/amd64
- go version: go1.11.5

and v1.46:
rclone v1.46
- os/arch: linux/amd64
- go version: go1.11.5

, but works in v1.45:
rclone v1.45
- os/arch: linux/amd64
- go version: go1.11.2

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux 9a5d4f39e4cf 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13) x86_64 GNU/Linux

Which cloud storage system are you using? (eg Google Drive)
Microsoft Azure Blob Storage
The command you were trying to run (eg rclone copy /tmp remote:tmp)
First define the rclone config using sas_url:
rclone config create az azureblob sas_url https://<<<account>>>.blob.core.windows.net/<<<account>>>?sig=<<<secret>>>&se=2019-02-13T16%3A15%3A59Z&sv=2018-03-28&sp=racwdl&sr=c

, then try any operation using the config, for example:
rclone lsd az:

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2019/02/12 16:04:57 DEBUG : rclone: Version "v1.46.0-016-g1c1a8ef2-beta" starting with parameters ["rclone" "-vv" "lsd" "az:"]
2019/02/12 16:04:57 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x85e734]

goroutine 14 [running]:
github.com/ncw/rclone/vendor/github.com/Azure/azure-storage-blob-go/azblob.serviceClient.ListContainersSegment(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/travis/gopath/src/github.com/ncw/rclone/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_service.go:239 +0x4f4
github.com/ncw/rclone/vendor/github.com/Azure/azure-storage-blob-go/azblob.ServiceURL.ListContainersSegment(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/travis/gopath/src/github.com/ncw/rclone/vendor/github.com/Azure/azure-storage-blob-go/azblob/url_service.go:83 +0x118
github.com/ncw/rclone/backend/azureblob.(*Fs).listContainersToFn.func1(0xc0002f41c0, 0x40bd9f, 0xc000095b80)
        /home/travis/gopath/src/github.com/ncw/rclone/backend/azureblob/azureblob.go:723 +0xe5
github.com/ncw/rclone/lib/pacer.(*Pacer).call(0xc0002f41c0, 0xc000095b80, 0xa, 0x11db820, 0xc0002ce701)
        /home/travis/gopath/src/github.com/ncw/rclone/lib/pacer/pacer.go:405 +0x16a
github.com/ncw/rclone/lib/pacer.(*Pacer).Call(0xc0002f41c0, 0xc000095b80, 0x43d10d, 0xc00006e7d8)
        /home/travis/gopath/src/github.com/ncw/rclone/lib/pacer/pacer.go:428 +0x66
github.com/ncw/rclone/backend/azureblob.(*Fs).listContainersToFn(0xc000136460, 0xc0002865f0, 0x0, 0x0)
        /home/travis/gopath/src/github.com/ncw/rclone/backend/azureblob/azureblob.go:721 +0x1ca
github.com/ncw/rclone/backend/azureblob.(*Fs).listContainers(0xc000136460, 0x0, 0x0, 0xc0000fe480, 0x0, 0x0, 0xc000047e8c, 0x0)
        /home/travis/gopath/src/github.com/ncw/rclone/backend/azureblob/azureblob.go:647 +0x91
github.com/ncw/rclone/backend/azureblob.(*Fs).List(0xc000136460, 0x0, 0x0, 0x0, 0x0, 0xc000047f20, 0xc00002e0c0, 0x0)
        /home/travis/gopath/src/github.com/ncw/rclone/backend/azureblob/azureblob.go:669 +0x4d
github.com/ncw/rclone/fs/list.DirSorted(0x14546e0, 0xc000136460, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/travis/gopath/src/github.com/ncw/rclone/fs/list/list.go:23 +0x63
github.com/ncw/rclone/fs/walk.walk.func2(0xc00029fbb0, 0xc0002092c0, 0x12fced8, 0x14546e0, 0xc000136460, 0x0, 0xc00029fb68, 0xc000233480, 0xc00029fbc0, 0xc000231a10, ...)
        /home/travis/gopath/src/github.com/ncw/rclone/fs/walk/walk.go:128 +0x1b7
created by github.com/ncw/rclone/fs/walk.walk
        /home/travis/gopath/src/github.com/ncw/rclone/fs/walk/walk.go:120 +0x252

A bit of git bisect reveals the problem commit

commit 5d1d93e163dfa51bc235065eb3220a4f42feca73
Author: Nick Craig-Wood nick@craig-wood.com
Date:   Fri Nov 30 12:08:22 2018 +0000
azureblob: use the rclone HTTP client - fixes #2654

This enables --dump headers and --timeout to work properly.

I have figured out the problem, I think - can you give this a go please?
https://beta.rclone.org/branch/v1.46.0-018-g811b8ec7-fix-2969-azureblob-sas-url-beta/ (uploaded in 15-30 mins)

This fixes the problem. Thanks!

I've merged this to master now which means it will be in the latest beta in 15-30 mins and released in v1.47
Thanks for testing :-)

authors: ncw tbanach


text:
Is it taking too long?

Output of rclone version
# rclone version
rclone v1.46
- os/arch: darwin/amd64
- go version: go1.11.5

Describe the issue
I have two disks, one is photos01 and second photos02 as backup. Both were in sync but then I've rearranged dirs and names and added some photos to photos01. Naturally I wanted to use rsync but it doesn't handle well renames - if file was moved or renamed rsync would copy it again. However rclone has --track-renames option so I thought about using it. Below is result:
rclone sync \
	-P \
	--track-renames \
	--backup-dir=/backup/rclone-photos01-to-photos02-$(date "+%Y_%m_%d-%H_%M_%S") \
	--log-file=/logs/rclone-photos01-to-photos02-$(date "+%Y_%m_%d-%H_%M_%S").log \
	/Volumes/Photos\ 01 \
	/Volumes/PHOTOS\ 02

Transferred:   	   26.913G / 26.913 GBytes, 100%, 1.338 MBytes/s, ETA 0s
Errors:                 6 (retrying may help)
Checks:             48179 / 48179, 100%
Transferred:          344 / 344, 100%
Elapsed time:  5h43m10.6s

Almost 6h seems to be a lot of time to copy 26 GBytes... is this expected? I mean I understand some overhead in case of comparing files but still 6h is much more than I expected. There is 13649 (some of them hidden, not sure if sync synchronizes them too, I didn't care for them in this case) files on disk. I observed it also a bit during the process and I remember that after 2h it was still 0 bytes transferred.
find /Volumes/Photos\ 01 | wc -l
   13649

Is there any way I can figure out what took it so long? Any suggestions to speed this up?

Second pass, no changes to disks:
Transferred:   	    2.622M / 2.622 MBytes, 100%, 516 Bytes/s, ETA 0s
Errors:                64 (retrying may help)
Checks:             40838 / 40838, 100%
Transferred:            1 / 1, 100%
Elapsed time:  1h28m40.1s

Is there any way I can figure out what took it so long?

It has to make MD5SUMs of all the files that are out of place.  If this is many GB then this will take a lot of CPU power.  On my laptop rclone takes 8s to MD5SUM a 1GB file, so 125MByte/s but then it does have an SSD...
What kind of disks are these? HD or SSD?
If you use -vv then there may be a clue in the log.

Hey, thanks for the replay. Checksums explain a lot... I thought by default it compares just size and dates? What are the Checks? Considering there is only ~13k files ~40k checks looks suspicious too.

@ncw Hey, thanks for the replay. Checksums explain a lot... I thought by default it compares just size and dates, not checksums? There is option -c, --checksum but I'm not passing it so I thought it's gonna be just size and dates?
What are the Checks? Considering there is only ~13k files ~40k checks looks suspicious too.

Hey, thanks for the replay. Checksums explain a lot... I thought by default it compares just size and dates, not checksums?

It does yes, but when using --track-renames it computes the checksum too to be 100% certain you've got the right file.

What are the Checks? Considering there is only ~13k files ~40k checks looks suspicious too.

A check is comparing a src file to a dst file.  This could be bigger than 13k if there were retries. (Rclone does 3 by default, so 3*13k ~= 40k)

authors: arvenil ncw


text:
remove download directory from progress-bar

Currently the full download path is shown in the progress bar line. If the download path given by "-d" is pretty long, this leads to a "flickering" for longer filenames. To reduce this I suggest removing everything given by "-d" from the path and only show the directory sub-structure+filename and omit the base dir as it is given out  on INFO the line before anyways.
I'd like some opinions before implementing

Would like to give this a shot.
Another suggestion I saw implemented on some shell prompts was to to use prefixes from directory names, so something like /path/to/my/directory/filename would turn into /p/t/m/d/filename

I have found that iCloudPD will always detect live photos as requiring download. This triggers an unnecessary download run, as all files will then be attempted to be downloaded, but obviously the log shows "file already exists"
In my docker container, I use the --only-print-filenames option to create a list of file destinations. I then use that list to compare against the files that exist on the HDD. If all the files exist already, I don't kick off a download run.
I would like the current functionality to remain as it is so that I can trigger downloads, only if new files actually exist, and therefore reduce the load I put on the Apple servers as this helps with the Apple throttling issue.

I would like the current functionality to remain as it is. That way, I can trigger downloads only if new files actually exist and therefore reduce the load I put on the Apple servers as this helps with the Apple throttling issue

I'm just talking about the progress bar which should not interfere with the way you use the program, or do I miss your point here?

I just have a vague recollection that using --no-progress-bar suppressed displaying filenames... Maybe that's not the case?

Here's a log snippet showing what I mean
2020-10-19 13:31:44 INFO     ***** boredazfcuk/icloudpd container for icloud_photo_downloader started *****
2020-10-19 13:31:44 INFO     ***** /usr/local/bin/sync-icloud.sh script version: 2020/10/19_01:02 *****
2020-10-19 13:31:44 INFO     Alpine Linux v3.12
2020-10-19 13:31:44 INFO     Python version: 3.8.5
2020-10-19 13:31:44 INFO     icloudpd version: 1.6.0
2020-10-19 13:31:44 INFO     pyicloud-ipd version: 0.10.1
2020-10-19 13:31:45 INFO     Interactive session: False
2020-10-19 13:31:45 INFO     Local user: user:1000
2020-10-19 13:31:45 INFO     Local group: group:1000
2020-10-19 13:31:45 INFO     Force GID: False
2020-10-19 13:31:45 INFO     LAN IP Address:
2020-10-19 13:31:45 INFO     Apple ID:
2020-10-19 13:31:45 INFO     Apple ID password: usekeyring
2020-10-19 13:31:45 INFO     Authentication Type: 2FA
2020-10-19 13:31:45 INFO     Cookie path: /config/
2020-10-19 13:31:45 INFO     Cookie expiry notification period: 7
2020-10-19 13:31:45 INFO     Download destination directory: /home/user/iCloud
2020-10-19 13:31:45 INFO     Folder structure: {:%Y}
2020-10-19 13:31:45 INFO     Directory permissions: 750
2020-10-19 13:31:45 INFO     File permissions: 640
2020-10-19 13:31:45 INFO     Syncronisation interval: 43200
2020-10-19 13:31:45 INFO     Time zone: Europe/London
2020-10-19 13:31:45 INFO     Additional command line options: --auto-delete --set-exif-datetime
2020-10-19 13:31:45 INFO     Telegram notifications enabled
2020-10-19 13:31:45 INFO     Telegram token 123
2020-10-19 13:31:45 INFO     Telegram chat id 123
2020-10-19 13:31:45 INFO     Telegram notification URL: https://api.telegram.org/123123/sendMessage
2020-10-19 13:31:45 INFO     Sending Telegram startup notification
2020-10-19 13:31:45 INFO     Telegram startup notification sent successfully
2020-10-19 13:31:45 INFO     Download notifications: Enabled
2020-10-19 13:31:45 INFO     Delete notifications: Enabled
2020-10-19 13:31:45 INFO     Group, group:1000, already created
2020-10-19 13:31:45 INFO     User, user:1000, already created
2020-10-19 13:31:45 INFO     Correct owner on config directory, if required
2020-10-19 13:31:45 INFO     Correct group on config directory, if required
2020-10-19 13:31:45 INFO     Using password stored in keyring
2020-10-19 13:31:45 INFO     Set owner, user, on iCloud directory, if required
2020-10-19 13:31:45 INFO     Set group, group, on iCloud directory, if required
2020-10-19 13:31:45 INFO     Correct owner on icloudpd temp directory, if required
2020-10-19 13:31:45 INFO     Correct group on icloudpd temp directory, if required
2020-10-19 13:31:45 INFO     Correct owner on config directory, if required
2020-10-19 13:31:45 INFO     Correct group on config directory, if required
2020-10-19 13:31:45 INFO     Correct owner on keyring directory, if required
2020-10-19 13:31:45 INFO     Correct group on keyring directory, if required
2020-10-19 13:31:45 INFO     Set 750 permissions on iCloud directories, if required
2020-10-19 13:31:45 INFO     Set 640 permissions on iCloud files, if required
2020-10-19 13:31:45 INFO     Sync user
2020-10-19 13:31:45 INFO     Check 2FA Cookie
2020-10-19 13:31:45 INFO     Cookie exists, check expiry date
2020-10-19 13:36:45 INFO     Valid two factor authentication cookie found. Days until expiration: 89
2020-10-19 13:36:45 INFO     Check download directory mounted correctly
2020-10-19 13:36:45 INFO     Check for new files using password stored in keyring...
**/home/user/iCloud/2020/IMG_2111.HEIC**
2020-10-19 13:37:15 INFO     Check successful
2020-10-19 13:37:15 INFO     Check detected 1 files requiring download. Verifying list accuracy
2020-10-19 13:37:15 INFO     Ignoring 0 files which have already been downloaded
2020-10-19 13:37:15 INFO     New files detected: 1
2020-10-19 13:37:15 INFO     Starting download of 1 new files for user:
2020-10-19 13:37:15 INFO     Downloading new files using password stored in keyring...
2020-10-19 13:37:15 DEBUG    Authenticating...
2020-10-19 13:37:20 DEBUG    Looking up all photos and videos from album All Photos...
2020-10-19 13:37:20 INFO     Downloading 839 original photos and videos to /home/user/iCloud/ ...
2020-10-19 13:37:23 INFO     Downloading /home/user/iCloud/2020/IMG_2111.HEIC
2020-10-19 13:37:23 INFO     /home/user/iCloud/2020/IMG_2109.HEIC already exists.
...
2020-10-19 13:37:45 INFO     /home/user/iCloud/2019/IMG_7806.JPG already exists.
2020-10-19 13:37:45 INFO     /home/user/iCloud/2018/IMG_6824-68203.JPG deduplicated.
2020-10-19 13:37:45 INFO     /home/user/iCloud/2018/IMG_6029-106914.JPG deduplicated.
2020-10-19 13:37:45 INFO     /home/user/iCloud/2018/IMG_6824-68203.JPG already exists.
2020-10-19 13:37:45 INFO     /home/user/iCloud/2018/IMG_6029-106914.JPG already exists.
2020-10-19 13:37:45 INFO     All photos have been downloaded!
2020-10-19 13:37:45 INFO     Deleting any files found in 'Recently Deleted'...
2020-10-19 13:37:50 INFO     New files downloaded: 1
2020-10-19 13:37:50 INFO     Sending Telegram downloaded files notification
2020-10-19 13:37:51 INFO     Telegram downloaded files notification sent successfully
2020-10-19 13:37:51 INFO     Convert HEIC files to JPEG
2020-10-19 13:37:51 INFO     Convert HEIC to JPEG...
2020-10-19 13:37:51 INFO     Converting /home/user/iCloud/2020/IMG_2111.HEIC to /home/user/iCloud/2020/IMG_2111.JPG
File contains 1 images
Written to /home/user/iCloud/2020/IMG_2111.JPG
2020-10-19 13:37:51 INFO     Syncronisation complete for user
2020-10-19 13:37:51 INFO     Web cookie expires: 2020-12-18 @ 12:32:43
2020-10-19 13:37:51 INFO     Two factor authentication cookie expires: 2021-01-17 @ 12:32:53
2020-10-19 13:37:51 INFO     Next syncronisation at 01:37

The line I've highlighted in bold is the output of the progress bar that I tee to a log file, and stdout. If the filenames are no longer displayed as part of the progress bar, or if the prefixed directory names that andrewawni suggested are implemented, then I'll not be able to grab the full file names for my check.

@boredazfcuk your log output resembles results of --no-progress-bar option or some other mechanism of disabling progress bar. This suggestion is about progress bar output only and is not expected to affect output without progress bar.
Btw progress bar output today is shortened in the middle, as progress bar is a visual progress, not an exact representation of what happened (as the case with logs).

I don't disable the progress bar, all I do is redirect stderr to stdout so that I can capture errors too... But that should still show the progress?
The exact command is:
su "${user}" -c '(/usr/bin/icloudpd --directory "/home/${0}/iCloud" --cookie-directory "${1}" --username "${2}" --folder-structure "${3}" --only-print-filenames 2>&1; echo $? >/tmp/icloudpd/icloud_check_exit_code) | tee /tmp/icloudpd/icloudpd_check.log' -- "${user}" "${config_dir}" "${apple_id}" "${folder_structure}"

Actially I noticed that the "flickering"  I'm seeing is probably not because of the long path itself but because of some longer filenames:
/tmp/flat/2020/08/02/IMG_9227.JPG /tmp/flat/2020/08/02/61804231335__BB8380FF-96E4-4C79-A78F-8886C7C88945.JPG /tmp/flat/2020/08/01/IMG_9225.HEIC
Somehow the truncate_middle does not capture it. Maybe the "96" is just to long for my terminal. I'll check that later. How was this 96 decided? I guess that change is from you, @AndreyNikiforov ?

The exact command is:
...

If you only print the filenames this disables the progress bar. So changing the progress bar behaviour does not affect your scripts.

If you only print the filenames this disables the progress bar. So changing the progress bar behaviour does not affect your scripts.

Ah OK. I didn't know that was happening when specifying that option.

Somehow the truncate_middle does not capture it. Maybe the "96" is just to long for my terminal. I'll check that later. How was this 96 decided? I guess that change is from you, @AndreyNikiforov ?

@menkej I don't think changed anything in file name truncation logic.

authors: AndreyNikiforov andrewawni boredazfcuk menkej


text:
HSE.All -> All

A last(?) vestige removed? Move src/HSE/All.hs to src/All.hs.

Not a fan of moving this to All. Before we had Hint.All and HSE.All (which was really just all the AST stuff). Probably should be GHC.All? Or maybe GHC.Parser?

Not a fan of moving this to All. Before we had Hint.All and HSE.All (which was really just all the AST stuff). Probably should be GHC.All? Or maybe GHC.Parser?

I'm easy @ndmitchell. I'll ask you to make the call and I'll make it happen!

Does GHC.Parser seem right to you?

Does GHC.Parser seem right to you?

To me that choice sparks dissonance with the actual GHC.Parser module. Looking at the contents of All, I'd be inclined to advocate Driver actually.

Does GHC.Parser seem right to you?

To me that choice sparks dissonance with the actual GHC.Parser module. Looking at the contents of All, I'd be inclined to advocate Driver actually (but even then if that were GHC.Driver we have overloading with GHC actual hence I literally mean Driver).

Hmmm. Maybe therein is the path out? Recognizing that we've been in states where there are parallel parse trees, perhaps Driver.GHC?

In any case, if between the suggestions of GHC.Parser and GHC.All, I would vote for GHC.All.

It seems either it should go somewhere in the GHC.* tree. Or, alternatively, we need a new AST.* tree and things should remain in GHC.* if they are GHC utility wrappers, and move to AST.* if (some condition I can't articulate)

It seems either it should go somewhere in the GHC.* tree. Or, alternatively, we need a new AST.* tree and things should remain in GHC.* if they are GHC utility wrappers, and move to AST.* if (some condition I can't articulate)

😁
I say, let's go with GHC.All. It's a mapping of the status quo. When/if the need proves itself to do more, we can cross those bridges as the need arises.

Makes sense!

if they are GHC utility wrappers, and move to AST.* i

I think there is very little code now that matches the tag "GHC utility". Really what resides under GHC are those core algorithms like bracket, unify, pretty lambda etc. that are now expressed in terms of GHC. If we were to find a better name for those I think we could eliminate GHC.Util entirely. Something to think about going forward.

Makes sense!

I'll get on it and update this PR accordingly. Stand by.

Makes a lot of sense - thanks!

authors: ndmitchell shayne-fletcher

repo: ndmitchell/hlint


text:
--no-time flag seems to change format of exceptions

I wrote the following code to handle unwrapping Shake's exceptions thrown by the Shake runner:
-- | When we raise a 'GhcException' or a 'SourceError', try to give
-- @ghc --make@ compatible output (without the extra Shake wrapping.)
-- This is way better for users, since Shake does not print line numbers
-- for SourceErrors.
handleGhcErrors :: IO a -> IO a
handleGhcErrors m =
    handle (\(e :: ShakeException) ->
                -- TODO: there should be a better way of doing this
                case fromException (shakeExceptionInner e) of
                    Just (e' :: GhcException) -> throwIO e'
                    Nothing -> case fromException (shakeExceptionInner e) of
                        Just (e' :: SourceError) -> throwIO e'
                        Nothing -> throwIO e
                ) m

This code only works when --no-time is passed; when it is not passed this code doesn't seem to work. I haven't investigated any further.

Thanks for the info, just pass --no-time for now and I'll look at this with #380, which I suspect is related.

Actually, the answer is very simple, you need --exception. When you pass --no-time, Shake implicitly assumes exception.

I wonder if there is a tension between having a good API (which would do --exception) and a good main :: function (which should raise ExitFailure).

(Not hot path, in case it wasn't obvious.)

See also #425 - this is a nasty corner case that I expect a lot of people will trip over.

authors: ezyang ndmitchell

repo: ndmitchell/shake


text:
Make it possible to configure rule-graph from shakeOptions

My graph has three rows and lots of nodes are located next to each other, which makes it impossible to follow the arrows between them. I've tried playing with what appears to be the relevant code, but I'm having trouble understanding it. Moreover, the process is very tedious: I need to recompile shake (~100 modules), my application, and finally build the report. (I didn't succeed after spending ~20 minutes on it.) Would be really nice to be able to do this via shakeOptions or a similar mechanism. How about moving the stuff under html to GHCJS?
Perhaps the graph is not the most important feature, but it's quite useful, and I'm looking forward to using it to spot bottlenecks in my system (as advertised in the whitepaper). I think that moving everything to Haskell will pay off in the long term. It's like with Bash scripts: they tend to grow, then become a complete mess, so it's better to use Haskell from the start :).

I agree that using Haskell is better than Javascript (or bash etc). But, for user interfaces, HTML is the only reasonable solution without a massive load of dependencies. Once you are stuck to HTML, Javascript is the only sensible answer - and for that I translate from TypeScript (GHCJS is both too hard to configure and produces bloated and slow output compared to TypeScript).
Fortunately, you don't need to recompile Shake to get different graph mappings! Given an HTML output report, tweaking the textbox at the top and pressing Run will give you a different graph. As an example, see:

Complete graph
By extension
By directory
Omitting intermediate structure

If you post your profile report from an unmodified Shake I should be able to show you how to render it in some more meaningful way.

@ndmitchell Thanks for the prompt reply! Glad that it's possible to tweak, but I still want to get a readable graph without filtering. Mine is similar to the "complete graph" shown above. For example, I'd like to move the rows away from each other, is it possible without recompiling?

It isn't possible even with recompiling - that's just the GraphViz output. The hope is that #353 and switching the graph library will make it possible, and also make the profiles smaller.

Also, I configure the browser to use my own fonts instead of the provided ones, which doesn't play nicely with the default graph settings (node-bubbles are too small for their labels). I can live with this, but it's just something to consider, too.
Regarding GraphViz: if it's an ordinary GraphViz and not a similarly named package (I couldn't find where it's called in the code), there are options to change the layout of nodes (I used that in the past). I have a script at work that looks quite nice, I look up the options I used tomorrow and report back.

It is ordinary GraphViz, and if there are any small tweaks you know of to the rendered output that can be applied in the dot output you should be able to make them directly to the profile.html, saving you the recompile cycle. I construct the dot script here, and render it here - but you'll find the contents of shake.js inlined into your profile output.
My guess is GraphViz isn't going to place nicely with your fonts since it's a really nasty LLVM compiled to a static byte array trick, so really not browser native. In contrast, D3 should work properly.

It is ordinary GraphViz, and if there are any small tweaks you know of to the rendered output that can be applied in the dot output you should be able to make them directly to the profile.html, saving you the recompile cycle.

Ah, right! Thanks for the hint. The options I was thinking of are dpi=1500,splines=\"true\",overlap=\"scalexy\", but that was for the sfdp command, so it might work differently. I tried passing that to the graph attribute in the report file, but then I got a blank page instead of the graph (probably it was too large or something). As a workaround I just increased ranksep a bit. I do wonder, however, why overlap doesn't work. Maybe it's the dpi option that actually matters, hm...

Unfortunately it's ordinary GraphViz compiled by people unknown with options unknown. Which options work and don't will alas be guesswork - another good reason to ultimately switch to D3.

@ndmitchell okay, feel free to close this issue if you don't need it, then.

authors: ndmitchell nkaretnikov


text:
Inconsistent API between functionCall and viewFunction.

Describe the bug
Same as title.
To Reproduce
Try viewFunction with syntax like this:
const token = await contractAccount.viewFunction({
	contractId,
	methodName: 'nft_token',
	args: {
		token_id,
	}
})

Expected behavior
Expect them both to accept the POJO syntax e.g. { contractId, methodName, args, ...}
Screenshots

Just going to second this, I hit the same issue. It's killer when your'e trying to figure out what's wrong, you end up rolling the dice and going to the deprecated version.

authors: mattlockyer zcstarr

repo: near/near-api-js


text:
Assert contract errors in tests

We should have a way to assert error scenarios in smart contract tests without intercepting the panic. We could do it by removing .unwrap() in methods of MockedBlockchain, e.g. here: https://github.com/nearprotocol/near-bindgen/blob/master/near-bindgen/src/environment/mocked_blockchain.rs#L69 and instead add a hook that will be called on error.

It can be tested using #[should_panic(expected = "...")], e.g. #[should_panic(expected = "The new owner should be different from the current owner")]

authors: evgenykuzyakov nearmax

repo: near/near-sdk-rs


text:
Extension System Testing

Context
#1833 is a huge PR.  It need significant testing. Here is an exhaustive checklist
Value and/or benefit
Ensure this PR is successful and all previous behavior is preserved.
### Tasks
- [ ] AWS basic deployment (custom vpc, gpu, spot)
- [ ] GCP deployment (custom vpc, gpu, preemptible)
- [ ] Azure basic deployment (custom vpc)
- [ ] Digital Ocean basic deployment
- [ ] cli command `init`
- [ ] cli command `guided init`  and all branches in the command
- [ ] cli command `dev`
- [ ] cli command `validate`
- [ ] cli command `keycloak`
- [ ] cli command `support`
- [ ] cli command `upgrade`
- [ ] cli environment variable handling for cloud providers and messaging
- [ ] cli setting secrets via environment variables `NEBARI_SECRET__a__b=asdf` -> `{"a": {"b": "asdf"}}` in `yaml`

When testing out a checklist item follow https://github.com/nebari-dev/nebari/issues/new?assignees=&labels=type%3A+release+🏷&template=testing-checklist.md&title=Testing+checklist+for+<version>.

Breaking up tasks:

stream for cli testing "framework"
stream for cloud testinging "framework"
schema fields all having descriptions and additional testing where needed. https://github.com/nebari-dev/nebari/pull/1833/files#diff-f7cda9f473c67dd06224a3ab445bb68065976dc6593511fab331179d60a50013R69 (stretch goal) not needed for this issue.

One note the cleaning of resources, it doesn't cleans quite well by the way:
2023-08-01 13:27:23      INFO   49 utils: destroying Nebari took 3220.010 [s]
2023-08-01 13:27:23     ERROR  186 destroy: Stage=stages/07-kubernetes-services failed to fully destroy
2023-08-01 13:27:23     ERROR  186 destroy: Stage=stages/05-kubernetes-keycloak failed to fully destroy
2023-08-01 13:27:23     ERROR  186 destroy: Stage=stages/04-kubernetes-ingress failed to fully destroy
2023-08-01 13:27:23     ERROR  186 destroy: Stage=stages/03-kubernetes-initialize failed to fully destroy
2023-08-01 13:27:23     ERROR  186 destroy: Stage=stages/02-infrastructure failed to fully destroy
2023-08-01 13:27:23     ERROR  189 destroy: ERROR: not all nebari stages were destroyed properly. For cloud deployments of Nebari typically only stages 01 and 02 need to succeed to properly destroy everything

authors: aktech costrouc

repo: nebari-dev/nebari


text:
Add config option to enable the encryption of AWS EKS secrets

Reference Issues or PRs
Fixes #2681

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[x] Did you test the pull request locally?
[ ] Did you add new tests?

How to test this PR?

Any other comments?
Allows user to set EKS encryption of secrets by specifying a KMS key ARN in nebari-config.yaml
amazon_web_services:
  eks_kms_arn: 'arn:aws:kms:us-east-1:010101010:key/3xxxxxxx-xxxxx-xxxxx-xxxxx'

The KMS key must meet the following conditions:

Symmetric
Can encrypt and decrypt data
Created in the same AWS Region as the cluster
If the KMS key was created in a different account, the IAM principal must have access to the KMS key.

I would say that we could have a validator in the AWS Pydantic provider (similar to how we already do for the instance types and region) so that the feedback loop in case of errors is quicker for the user doing the deployment (instead of relying on terraform only for the "check").

I would say that we could have a validator in the AWS Pydantic provider (similar to how we already do for the instance types and region) so that the feedback loop in case of errors is quicker for the user doing the deployment (instead of relying on terraform only for the "check").

@viniciusdc @tylergraff
As suggested, I have added initial kms-key arn validation steps here
I'm still testing these updates

I think the issues with the tests below are due to the recent move from develop to main. Can you update your fork repo and update this branch?

@viniciusdc,
This branch is now, at time of writing, up to date with nebari-dev/nebari:main.  Does this suffice with your recommended action or are we still missing something? Thanks!

I think the issues with the tests below are due to the recent move from develop to main. Can you update your fork repo and update this branch?

@viniciusdc,
This branch should now, at time of writing, be up to date with nebari-dev/nebari:main. Thanks!

Restoring branch

authors: joneszc viniciusdc


text:
Add Py3.4 support.

With these patches the tests pass in Py3.4. This isn't done yet because I had to reimplement __build_class__, and that reimplementation doesn't yet support metaclasses or closures. It looks like the closure support will need to share a fix with issue #17, so I'm going to take a look at that next. I'm just opening this pull request now to let you know what's up -- maybe I should've opened an issue instead?
Another idea could be to wrap the built-in __build_class__ primitive, passing it a Python function object for which it'd do the right thing, but __build_class__ is magical enough that that seems difficult.
There are also fixes for a couple of other problems that came up in running the tests in 3.4.
(I haven't tested 3.5 or 3.6, or 3.3 yet either. It does still pass the tests in 2.7.)
My motivation is to get my Python bytecode compiler https://github.com/darius/500lines/blob/master/bytecode-compiler/bytecompiler.rewrite.md to run on top of a bytecode interpreter also in Python. My compiler's for Py3.4 only.

@darius: I'm unlikely to do more work on byterun, so maybe we should find another owner...

I guess I could volunteer, though I'd rather someone else owned it, like you or @akaptur. My intent for this work here was to make a cut-down version of byterun for just py3.4 and the bytecodes that my compiler uses, so people could more easily read the whole thing. I just figured it's more sensible/helpful to do the porting work first on the real byterun.

I also ported a half-dozen tests for metaclass logic over from CPython 3.4's test_metaclass.py (they're all passing). They're not checked in yet because I guess we'd need to add the CPython license terms to LICENSE and I don't really understand those legalities. Besides that, and making sure my fix for #17 follows the CPython logic, I think this is done. I'm going to get on with my subset, but let me know if it'd help to clean this up somehow, check in the new tests, etc.

Oh, and I still need to install 3.3 and make sure that's still passing.

authors: darius nedbat

repo: nedbat/byterun


text:
Copy/paste of styled elements

I keep running into weird and somewhat unintuitive behavior regarding copied and pasted content with block-level style attributes. Specifically, most of this comes from the style attributes being maintained in a way that is somewhat out of line with the way Squire does formatting and styling. It makes me wonder if we can't improve on how this is handled.
If we do, I'll gladly put in the work (the amount of trouble we run into here justifies it and more), but I'd like to have an agreement on exactly what sort of behavior we want.
More detail, then: If you paste in styled HTML (such as from Wikipedia), the styling is (in several browsers, at least) included on the pasted elements. I.e. if you have a page which sets font styles and sizes, etc., those styles will be added to the style attribute of a pasted element copied from that page. Since Squire mostly uses element styling (B, I, U tags, etc.) and does not clean up this styling, you can get odd cases where if you take Squire content, part of which was copied and pasted within Squire and show it elsewhere with different style rules, it will look inconsistent.
Example extracted HTML:

This is text written, copied, then pasted.

This is text written, copied, then pasted.

Showing this (e.g. if it's the content of a mail body) with a style sheet might lead to the upper line being displayed in 14px black Verdana, while the lower line is shown in 13px dark grey Helvetica.
(This is also the kind of thing that will surface #153.)

Yeh, this is tricky. The issue is working out exactly which bit of the formatting the user actually wants. An idea for an algorithm:

For each non-inline element, if it has only one child ignore it and just look at the child. This will then remove, e.g. ... that gets copied with the text of a list item that you probably don't want if you paste it elsewhere.
Once you've done that, take what's left and strip anything that doesn't look like Squire formatting (so strip styles unless it has a "size" etc. class).
Insert the result.

Not sure if this will work or not; we'll have to try it and see then tweak I guess.

One potential issue there is that it won't retain formatting very well - e.g. Foo would not be shown as bold. Reformatting to Squire-style markup seems difficult, as well - we'd have to detect the styles we can replicate in style attributes and add them where applicable. Not impossible, just seems kind of tricky and potentially fragile.
I think it would be worthwhile to preserve/import pasted styling to some degree at least. Users will expect this (certainly ours do), so I think it's worth a fair bit of effort.

I've committed a change that should help with a part of this situation (but doesn't resolve the full issue). Specifically, in browsers that support it (which is all of them other than IE/Edge), we now control what gets copied to the clipboard on cut/copy. This is great, because it lets me put exactly the section of DOM that was selected on, without extra styling that browsers often add trying to be "helpful". This makes copying/pasting within a Squire document much more reliable.
Pasting from external sources however is still something that could be handled better, so I'm not going to close this issue yet!

I've done this by using DOMPurify.
Just add an event listener for 'willPaste', and make the event handler call
editor.addEventListener('willPaste', function(event) {
  var div = document.createElement('div');
  div.appendChild(event.fragment);
  return DOMPurify.sanitize(div.innerHTML);
});

Please refer to DOMPurify documents how to configure the sanitizer, however, it is very easy to configure the sanitizing rules.

Yeh, hooking DOMPurify into the willPaste event is a great way to have complete control over how much styling is preserved. There's probably not much more worth doing in Squire itself, as mostly this depends on the context the editor is being used in, so I think I'm going to close this. If you think something more widely applicable could still be done, make a comment and I'll consider reopening. :)

authors: MasahiroMorita gertsonderby neilj

repo: neilj/Squire


text:
Declarative driver types (for non-SQL genres)

With document formats such as XML and JSON, there are many sub-schema out there for which it's impractical or impossible for sq to generate an ideal database schema.  RSS is an instance of an XML document type, for which it would be nice to have a specific driver, e.g.
> sq add http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml @rss_nytimes --driver=rss

One approach would be two hand-code all of these different types. But we can do better than that. For the different "genres" of driver (XML, JSON), we can use a declarative syntax to create new driver types. The driver definition could be included in the sq binary, or users can add their own in their sq.yml file. See an example on the wiki.

Maybe this will be brought back from the dead some day, but it's about 99th in line behind other features, and there's no demand for it.

repo: neilotoole/sq


text:
Neko crashes when opening Search on Browse page

Steps to reproduce

Click Browse sub-menu
Click Search
Crash menu appears(dump crash log or restart application)

Expected behavior
Open the search menu, to look for new mangas
Actual behavior
The app crashes with this solicitation
Crash logs
neko_crash_log-202407311411.txt
Neko version
2.16.10
Android version
Android 14
Device
Samsung Galaxy S24 Ultra
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to the newest version Latest.
[X] I have filled out all of the requested information in this form.

Search the closed tickets

authors: nonproto thagiat

repo: nekomangaorg/Neko


text:
Protocol changes (elephant 3)

WIP

Would also suggest to change Error model name to e.g. ModelError as Error is reserved name in the generator

@rg911 @fboucquez The spec should be aligned with the latest changes. Although, some more incompatibilities may appear when integrating the SDKs.
Known incompatibilities
catapult-rest does not serialize properly the following endpoints responses.

/block/:id/receipts : Responses are always empty.
/account/:id/multisig : accountAddress, multisigPublicKeys and cosignatoryPublicKeys have wrong encoding.
/account/:id: linkedAccountKey has wrong encoding.

Open questions

Are mosaic restrictions #5 and metadata endpoints #6 planned for next release?
Is Uint64 array removal https://github.com/nemtech/catapult-rest/issues/84 planned for next release?

Are mosaic restrictions #5 and metadata endpoints #6 planned for next release?

Mosaic restriction and metadata are both implemented in TS SDK and WIP in Java. So I'd expect them to be included in next release

Is Uint64 array removal [nemtech/catapult-rest#84](https://github.com/nemtech/catapult-

Optional but can go in as well. Rest is almost ready anyway

since greg assigned steven to the uint64 array removal the past week, i assumed there was some kind of urgency to this, so we have proceeded to implement it, please check the issue update to plan accordingly
https://github.com/nemtech/catapult-rest/issues/84#issuecomment-527834360

in fact UInt64 format fix was first introduced in SDK PR to permit string format. Then discussion with core devs made us think this formatting can happen on top layer with REST.
Thanks for addressing so fast to REST team :+1:


text:
Configure 'generate-changlog' to fetch n number of previous tags

Opens up --prev-version arg to allow users to specify how many releases they wish to go back when generating the changelog.
E.g:
Given Github tags=[1.0.0, 1.0.1, 1.0.2]
practicle generate-changelog --next-version=1.0.3 --prev-version=2 ...args

=> Content of [1.0.1, 1.0.2, 1.0.3]

 Add flag to PRacticle to only generate changes since the last release

I like this idea! Helps a lot for automated tasks @pe4cey.
Git uses HEAD~2 to reference two commits before HEAD. What do you think about using the same convention?
So rather that --prev-version=2, we use --prev-version=~2 to include changes from the last two releases?

I would agree with the using ~ if we were to roll --last-commit and --prev-version in to one arg.
E.g --tags-between=<sha1>~2
I find the ~ unnecessary in this context.

--prev-version handling updated.


text:
Enabled server states

Hello,
Thank you for your patience.
I was finally able to implement and use the server states in the bolt protocol. Some core design considerations:

to me, the server states is a state machine. This means each state can only have a few select paths it can go to, which screamed OOP to me
I tested every possible path for each of the server states to make sure it works
In order to smoothly transition between states, I needed the request and response signature + data in some cases. To avoid code duplication, I've put it all into a single io method, which packs the request and interprets the response.

Reasons why I close it:

unnecessary complexity
not required protocol versions duplicity for server states
unified io function can't be used because different bolt messages in protocol versions have different approach
message signatures are not needed to be accessible from outside

authors: stefanak-michal transistive


text:
Simple way to add hosts into /etc/hosts file

This is useful for cases where the fake hostname needs to be used
e.g. when accessing FreeIPA Web UI which is sensitive on used hostname.
It is uncomfortable task to read the values from mrack list and add
them manualy to /etc/hosts.
The change introduces two commands to help with this case:

$ mrack eh add to add all active hosts into /etc/hosts
$ mrack eh clear to remove all records added by mrack.

Mrack adds two markers into the /etc/hosts file and adds records
between them. This should work also with multiple runs of mrack in
separate tests. If the section already contains the fake hostname then
this line is overwritten with a new value. This is useful when
provisioning hosts for the same task after they were previously
removed.
Signed-off-by: Petr Vobornik pvoborni@redhat.com

Is it possible that you could divide this work into two commits for feature and tests?

I don't see an added value of the task to spend time on it. Tests are part of the change and this is not e.g. FreeIPA where there were are valid reasons - easier backporting of only tests.

We need rebase here.

authors: Tiboris pvoborni

repo: neoave/mrack


text:
Not correctly destroying fragments

I am using async tasks for example for reloading data from a server (swipe to refresh) in a listview. However, when I select another section in NavigationDrawer while an async task is running, it seems that both  Fragments are overlapping afterwards. What am I doing wrong? Do I need to cancel all my task in onDestroy()? Or onDestroyView()? What if tasks cannot be cancelled at that time?

Looks like this helps:
    @Override
    public void onPause() {
        super.onPause();
        if (swipeRefreshLayout != null) {
            swipeRefreshLayout.setRefreshing(false);
            swipeRefreshLayout.destroyDrawingCache();
            swipeRefreshLayout.clearAnimation();
        }
    }

repo: neokree/MaterialNavigationDrawer


text:
gcc/g++ cant find include files

Title sums it up, I have a cpp project with a src and include directory using, I have seen some similar issues, (https://github.com/neomake/neomake/issues/589, https://github.com/neomake/neomake/issues/603, https://github.com/neomake/neomake/issues/1024)

let g:neomake_cpp_enabled_makers = ['gcc']
let g:neomake_cpp_clang_maker = {
\ 'exe': 'g++',
\ 'args': ['-Wall', '-Iinclude', '-Wextra', '-Weverything', '-pedantic', '-Wno-sign-conversion'],
\ }

doesnt work but using clang instead works.

let g:neomake_cpp_enabled_makers = ['clang']
let g:neomake_cpp_clang_maker = {
\ 'exe': 'clang++',
\ 'args': ['-Wall', '-Iinclude', '-Wextra', '-Weverything', '-pedantic', '-Wno-sign-conversion'],
\ }

By the way, I'm operating in the parent directory to both of these files.
The error neomake outputs on the header file in the following would be:  "gcc fatal error music.h no such file or directory"

stuff
#include "music.h"

Expected behavior
I expected g++ to find the header file with -Iinclude
Output of the ":verb NeomakeInfo" command
Neomake debug information
Async support: 1
Current filetype: cpp
Enabled makers
For the current filetype (with :Neomake):

gcc
errorformat: '%-G%f:%s:,%-G%f:%l: %#error: %#(Each undeclared identifier is reported only
%.%#,%-G%f:%l: %#error: %#for each function it appears%.%#,%-GIn file included%.%#,%-G %#fro
m %f:%l,,%f:%l:%c: %trror: %m,%f:%l:%c: %tarning: %m,%I%f:%l:%c: note: %m,%f:%l:%c: %m,%f:%
l: %trror: %m,%f:%l: %tarning: %m,%I%f:%l: note: %m,%f:%l: %m'
args: ['-fsyntax-only', '-Wall', '-Wextra']
get_argv: function('272')
exe: 'g++'
NOTE: you can define g:neomake_cpp_enabled_makers to configure it (or b:neomake_cpp_enabled_
makers).

For the project (with :Neomake!): None.
NOTE: you can define g:neomake_enabled_makers to configure it.
Default maker settings:

remove_invalid_entries: 0
buffer_output: 1

Settings
g:neomake_place_signs = 1
g:neomake_cpp_clang_maker = {'args': ['-Wall', '-Iinclude', '-Wextra', '-Weverything', '-ped
antic', '-Wno-sign-conversion'], 'exe': 'g++'}
g:neomake_verbose = 1
g:neomake_cpp_enabled_makers = ['gcc']

shell: /bin/bash
shellcmdflag: -c
Windows: 0

:version
NVIM 0.1.7
Build type: Release
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wc
onversion -O2 -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-
prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENE
RATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim/src/build/config -I/build/n
eovim/src/neovim-0.1.7/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/us
r/include -I/usr/include -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neo
vim/src/build/include
Compiled by builduser

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

:messages
"src/combox.cpp" 33L, 547C
E492: Not an editor command: verb Neomakeinfo
NVIM 0.1.7
Build type: Release
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wc
onversion -O2 -DNDEBUG -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-
prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENE
RATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/build/neovim/src/build/config -I/build/n
eovim/src/neovim-0.1.7/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/us
r/include -I/usr/include -I/usr/include -I/build/neovim/src/build/src/nvim/auto -I/build/neo
vim/src/build/include`

You are only configuring clang in the first case also (let g:neomake_cpp_clang_maker).

using 'let g:neomake_cpp_gcc_maker' solved the problem

authors: FruitsPunchSamuraiOG blueyed

repo: neomake/neomake


text:
Epic: Credentials caching in proxy

Motivation
Every database request requires a get_auth_info lookup in control-plane. Currently this adds quite a bit of latency and reliance on control plane, it would be good to cache this information.
We currently do a small bit of caching as part of the HTTP connection pool, but it could be much better.
Implementation ideas
https://github.com/neondatabase/neon/pull/4285
With control-plane moving to a regional model, I'm not sure if a redis cache will be worth the complexity cost it brings. Perhaps an in-memory LRU cache is sufficient.
Tasks

[ ] management API to invalidate cache entries
[ ] in memory LRU cache for auth info
[ ] add it for HTTP endpoints

Goal: to implement invalidation through Redis

@conradludgate to review proxy PR
@khanova to find someone from control plane to review corresponding PR in cloud repo

@khanova to update the description with the algorithm and to pass the review this week.

There now exists a role cache in all regions in production, along with a redis notification channel to invalidate role secrets as they change.

repo: neondatabase/neon