text:
B 20647 add sac 80 character limit

B-20647
INT PR
Summary
Set the SAC field character limit to 80 characters for HHG and NTS shipments.
Is there anything you would like reviewers to give additional scrutiny?
Also set backend validation so the SAC cannot be more than 80 characters. Please test using swagger by trying to create a a new Order. See instructions in test section.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access a shipment with HHG and/or NTS as Service Counselor that hasn't been approved yet
View the Orders for the HHG and/or NTS shipment
Try to enter more than 80 characters into the SAC field. Below is a sample string that is 90 characters, if you paste this into the SAC field then you should not see any 9's in the text field.

111111111122222222223333333333444444444455555555556666666666777777777788888888889999999999

Use swagger to try and create an Order with a SAC greater than 80 characters. This should fail with an unprocessable entity error.
Adjust the SAC to be less than 80 characters and verify you get no errors.

Sample for the body for POST create Order is below just update the SAC as needed.
{
"serviceMemberId": "eec4e65e-b328-4133-b822-c7eaba860ec9",
"issueDate": "2024-07-22",
"reportByDate": "2024-07-22",
"ordersType": "PERMANENT_CHANGE_OF_STATION",
"ordersTypeDetail": "HHG_PERMITTED",
"hasDependents": true,
"spouseHasProGear": true,
"newDutyLocationId": "62e795f4-61a8-4cca-b59d-028345c07b89",
"ordersNumber": "030-00362",
"tac": "F8J1",
"sac": "111111111122222222223333333333444444444455555555556666666666777777777788888888889999999999",
"departmentIndicator": "NAVY_AND_MARINES",
"grade": "E_1",
"originDutyLocationId": "929ba47a-2f7d-430e-9655-157a4c80303d"
}
Sample body for the PATCH update of the order (use the eTag and id from the successful result above.
{
"issueDate": "2024-07-22",
"reportByDate": "2024-07-22",
"ordersType": "PERMANENT_CHANGE_OF_STATION",
"ordersTypeDetail": "HHG_PERMITTED",
"newDutyLocationId": "62e795f4-61a8-4cca-b59d-028345c07b89",
"ordersNumber": "030-00362",
"tac": "F8J1",
"sac": "11111111112222222222333333333344444444445555555555666666666",
"departmentIndicator": "NAVY_AND_MARINES",
"grade": "E_1",
"originDutyLocationId": "929ba47a-2f7d-430e-9655-157a4c80303d"
}
Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 14a77d8457a8e09b5857564fd3b640b619dae7a4

double protecting the 80char limit... nice

authors: deandreJones r-mettler robot-mymove

repo: transcom/mymove


text:
Add make target for tsp award queue and generate test data binaries

With this patch, you can now run:
make tools_build to build the TSP Award Queue and Test Data Generator
make build to build those and the webserver.
I used the name tools_build instead of build_tools to remain consistent with the other make targets, which use a $NOUN_$VERB naming convention.
Pivotal: https://www.pivotaltracker.com/story/show/155089943

We had another chore to add building these executables to CI, so I added that to the CircleCI build script.
Pivotal: https://www.pivotaltracker.com/story/show/155150433

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
MB-12136 Shipment Approved Event

Jira ticket for this change
Summary
Adding an event display for shipment approved event.
Setup to Run Your Code

Go to http://officelocal:3000/sign-in
Log in as an office user
Go to link: http://officelocal:3000/moves/DVRS0N/details
Approve a shipment
Go to the history page
Observe there is a row with "Approved shipment" as the event

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

Messages

:book:
:link: MB-12136

  Generated by :no_entry_sign: dangerJS against 87a00203e40e04c33d31128d48beca8d35c3a586

authors: kennethchow-truss robot-mymove


text:
[MB-14421] Service member can delete uploaded orders

Jira ticket for this change
Summary
Converting the DeleteUploads method to a soft delete to allow service members to delete their orders.
Setup to Run Your Code

💻 You will need to use 2 separate terminals to test this locally.
Terminal 1
Start the UI locally.
make client_run

Terminal 2
Start the Go server locally.
make server_run

Additional steps

Access MilMove as a service member
Go through the process of completing a move.
When you get to the upload orders part, make sure that you can delete the orders. (make sure that you upload new orders to proceed)
After you sign and submit the move try to go back and delete your orders by clicking on the "Review your request" button
a. Make sure to upload new orders before signing out, see this bug ticket for more information
Upload Amended orders by clicking on the "Upload documents"
a. Please note that there is a bug related to this when you try to save the amended orders. See this JIRA ticket for more information

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Messages

:book:
:link: MB-14421

  Generated by :no_entry_sign: dangerJS against 1cc027964a5f95e3b98d58b790b36bdafaacd06d

I have deployed to EXP and verified that this is indeed allowing service members to delete their orders and amended orders.

authors: mmayo-truss robot-mymove


text:
Add Edit button to the feed details page

If you step through the Add a feed flow and enter the URL of a GTFS feed that is already in the feed registry, you are put into a mode where you can edit the feed details. It's a little awkward, but here's the way we documented this: https://transit.land/documentation/feed-registry/edit-a-feed.html
What if we added an Edit button in the Feed Details section (example page: (for example: https://transit.land/feed-registry/operators/o-9q9-actransit)?
If the button said "Edit" or "Edit feed details", it should be clear that you are editing the metadata, and not the contents of the actual GTFS file.
As part of this, we could also remove the "If you notice an error, please email us..." line. We've gotten a few people contacting us to change the feed details, so this would be a self-service way for the users to create a changeset.
Suggestions:

[ ] Add Edit button to feed details
[ ] Provide way to update the URL for a GTFS feed data location (if you replace the URL in the add a feed flow, you may get into a scenario where duplicated feed entries are created)
[ ] Remove "If you notice an error, please email us..." line

@rmglennon this sounds great. Thanks for considering in depth, and also typing up instructions for how users can do this manually in the meantime.
I can try implementing your first and last suggestions. Editing the URL may be more problematic. Worst case, to edit the URL will require manual intervention but we'll be able to have an easier flow for every other type of change.

source: gharchive/issue

authors: drewda rmglennon

repo: transitland/feed-registry

license: mit

license_source: bigquery


text:
Wrapped send functions with try/catch per platform

Motivation
Prevents any platform-specifc exception from attempting sends to other platforms
Changes
Wraps send functions in try/catch statements
Testing Instructions
Run bot as normal

Dry run is still showing weird/bad data. We should fix that as part of this PR if possible

authors: devinmatte nathan-weinberg

repo: transitmatters/mbta-slow-zone-bot


text:
Unable to translate japanese

Hey,
i am noticing a difference in translation using the scheduler and directly using the translator
test string: こんにちは (hello in japanese)
scheduler:
`
const scheduler = new Scheduler(translator);
scheduler
.translate('こんにちは', 'ja', 'en')
.then((translate) => console.log(translate));
`
result: 縺 薙 s 縺 縺
translator:
`const translator = new GoogleTranslator();
translator
.translate('こんにちは', 'ja', 'en')
.then((translate) => console.log(translate))`
result: hello
is this something i am doing wrong or can fix?
Thanks in advance

Hi. Is it reproduce with translateBatch method?
If yes, then problem not in scheduler. I will see on it in near time

Hey, thanks for the quick reply,
Yes the error is the same with translateBatch
translator
.translateBatch(['こんにちは'], 'ja', 'en')
.then((translate) => console.log(translate));

result: [ '縺 薙 s 縺 縺.' ]

As i see, a google API return this response:
縺 薙 s 縺 縺.

Also, this phrase is not translate on translate.google.com for me (and for you? test it please)
If google service can't translate this, then we can't fix it unfortunately.
I will try to make a yandex translator work in node environment, to you have alternative service, but it not so easy, so i need time.
If you need, you can extend the translateBatch method of GoogleTranslator class and when you have one item - call translate method and otherwise call super method. Something like:
class MyGoogleTranslator extends GoogleTranslator {
  public translateBatch async(texts, from, to) => {
    return texts.length === 1 ? [await this.translate(texts[0], from, to)] : super.translateBatch(texts, from, to);
  }
}

Or always call translate method with your own implementation of multiplexing (you can use helper Multiplexor)

Hmmm it is translating for me on https://translate.google.com/

Hmmm, you know, i tried translate "こんにちは" and it's successfully translate for me.
In past time i tried to translate "縺 薙 s 縺 縺.".
What environment you are use? Is it node? Maybe google are return wrong result for non-browser environments?
I will check it in nearer 1-2 days

I am using node. The translator itself is translating it properly, like described in the first post

translate and translateBatch are use different google API. I will research it, but it looks that google not wanna translate this for non-browser environments

Ok, the info really helped, did not know 2 different api's were used.
I did some digging and i found the following (not sure how helpful it really is)
https://github.com/ssut/py-googletrans/issues/268 (talking about some google api's)
python example:
import requests

word = 'こんにちは'
url = "https://translate.googleapis.com/translate_a/t?client=dict-chrome-ex&sl=ja&tl=en&q=" + word
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36'
}

try:
    request_result = requests.get(url, headers=headers).json()

    print('[In English]: ' + request_result['alternative_translations'][0]['alternative'][0]['word_postproc'])
    print('[Language Dectected]: ' + request_result['src'])
except:
    pass

Result:
[In English]: Hello
[Language Dectected]: ja

@BtencateSphereon it's useful, thank you.
I tried this code on https://translate.google.com/
var word = 'こんにちは';
var url = `https://translate.googleapis.com/translate_a/t?client=dict-chrome-ex&sl=ja&tl=en&q=${word}&q=${word}&q=${word}`;
await fetch(url).then(r=>r.json())

And i got result with translations. As i see, this API request is support batching, so probably we should use it.
I will work on it in near time (about 2 hour later) and will replace this api for batch method or will create second implementation of google translator if it will work fine and will support large texts

@BtencateSphereon i tried to use this API and it is not work for me at this time.
You can checkout it with install npm install @translate-tools/core@0.2.1-0, and then run this code:
const { GoogleTranslatorFree } = require('@translate-tools/core/translators/GoogleTranslator');

const translator = new GoogleTranslatorFree();

translator.translateBatch(['こんにちは'], 'ja', 'en').then((translate) => console.log(translate))

Maybe it will work with esm version? Try to run it as esm module:
import { GoogleTranslatorFree } from '@translate-tools/core/translators/GoogleTranslator';

const translator = new GoogleTranslatorFree();

translator.translateBatch(['こんにちは'], 'ja', 'en').then((translate) => console.log(translate))

When i run tests, it works fine, but it is not work from package

Ok, i found solution. We should use header User-Agent when use node:
const { GoogleTranslator} = require('@translate-tools/core/translators/GoogleTranslator');

const translator = new GoogleTranslator({
	headers: {
		'User-Agent':
			'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36',
	},
});

translator.translateBatch(['こんにちは', 'こんにちは'], 'ja', 'en').then(console.log)

I will update readme

Very nice, thanks for the quick fix. I tested 0.2.4. and it works \o/.
Will be closing this

authors: BtencateSphereon vitonsky

repo: translate-tools/core


text:
🛑 TechinAsia is down

In b71f141, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 939 ms

Resolved: TechinAsia is back up in 1aa9f47 after 7 minutes.

repo: traqy/upptime


text:
🛑 TechinAsia is down

In f3c9624, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 711 ms

Resolved: TechinAsia is back up in efdf957 after 7 minutes.


text:
🛑 TechinAsia is down

In 39dbb19, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 716 ms

Resolved: TechinAsia is back up in d00ee6d after 10 minutes.


text:
🛑 TechinAsia is down

In d8471c1, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 766 ms

Resolved: TechinAsia is back up in 6aa2d65 after 14 minutes.


text:
🛑 TechinAsia_WordPress_API is down

In 5f9b1be, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 232 ms

Resolved: TechinAsia_WordPress_API is back up in ea927cc after 7 minutes.


text:
🛑 TechinAsia_WordPress_API is down

In b999f89, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 177 ms

Resolved: TechinAsia_WordPress_API is back up in ae1f919 after 2 minutes.


text:
🛑 TechinAsia_Laravel_API is down

In a6fa408, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 172 ms

Resolved: TechinAsia_Laravel_API is back up in cc3f0d9 after 7 minutes.


text:
🛑 TechinAsia_Laravel_API is down

In f586c3e, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 237 ms

Resolved: TechinAsia_Laravel_API is back up in 97c118a after 8 minutes.


text:
🛑 TechinAsia_Laravel_API is down

In b46aef6, TechinAsia_Laravel_API (https://www.techinasia.com/api/2.0/companies) was down:

HTTP code: 403
Response time: 225 ms

Resolved: TechinAsia_Laravel_API is back up in d6fe0ce after 7 minutes.


text:
🛑 TechinAsia is down

In e815574, TechinAsia (https://www.techinasia.com) was down:

HTTP code: 403
Response time: 725 ms

Resolved: TechinAsia is back up in f3fbc7e after 9 minutes.


text:
🛑 TechinAsia_WordPress_API is down

In 11a6458, TechinAsia_WordPress_API (https://www.techinasia.com/wp-json/techinasia/2.0/posts) was down:

HTTP code: 403
Response time: 173 ms

Resolved: TechinAsia_WordPress_API is back up in 66f3777 after 9 minutes.


text:
publish package

[x] install rimraf as a devDependency
[x] "clean": "rimraf lib/"
[x] install rollup as a devDependency
[x] rollup.config.js

/* eslint import/no-extraneous-dependencies: ['error', {'devDependencies': true}] */

export default {
  input: 'src/index.js',
  output: [
    {file: 'lib/index.cjs.js', format: 'cjs', sourcemap: true},
    {file: 'lib/index.es.js', format: 'es', sourcemap: true}
  ]
};

[x] prepublishOnly script "prepublishOnly": "run-s build"
[x] "build:js": "rollup -c"
[x] "build": "run-s clean build:* copy:*"
[x] "watch": "run-s 'build:js -- --watch'"
[x] define main and module in package.json

  "main": "lib/index.cjs.js",
  "module": "lib/index.es.js",

[x] .npmignore
[x] npx semantic-release in .travis.yml
[x] semantic-release badge
[ ] GH_TOKEN
[ ] NPM_TOKEN

since the tokens are all that remain for this, closing in favor of https://github.com/travi/javascript-scaffolder/issues/55

repo: travi/javascript-scaffolder


text:
Automate record/publish of NAT public IP addresses

What is the problem that this PR is trying to fix?
Published NAT IP addresses are currently manually updated, which tends to mean that they lag behind whenever changes are made, which results in sadness for anyone that depends on an accurate safelist of IP addresses for accessing resources across the public internet.
What approach did you choose and why?
Generate and commit a JSON file similarly to the way we record language mappings, since the latter is already being used to automate docs.
How can you test this?
It's done!

Rather than doing this, could we look into using Elastic IPs, as @soulshake mentioned to prevent the public IPs from changing? I think it would save a lot of effort on the users' side.

@bogdanap These are Elastic IPs, but the pool of Elastic IPs shifts around a bit given the current terraform setup.  I'm not sure how feasible it is to configure terraform to ensure a specific set of the available Elastic IPs are always used for specific hosts.

If the pool of EIPs that we "own" in our AWS account is a superset of those that we assign to NATs, could we just add our full list of owned EIPs to the docs? Or set up a hostname that resolves to either all of them, or the currently active ones, so users wouldn't need to manually update any time our NAT situation changes?

@soulshake I am in favor of publishing all of our EIPs, which we could generate from an AWS query.  IIRC some customers depend on knowing the hostnames of the NATs, too.
@bogdanap Here are some of the tasks that integration with external data sources in the docs, for example: https://github.com/travis-ci/docs-travis-ci-com/blob/340a7151a14c939a77b5fdd9d90d1a95a20957c1/Rakefile#L84-L120

authors: bogdanap meatballhat soulshake

repo: travis-infrastructure/terraform-config


text:
2.0版本，自定义配置字段disableMode禁用某一天之前/之后的所有日期，无效。

问题描述

禁用某一天之前需要明确具体是哪一天，如果是默认 false，则默认是当天为分界线
calendarConfig: {
     disableMode: {
        type: 'before', // [‘before’, 'after']
        date: false
     }
},

calendarConfig: {
     disableMode: {
        type: 'before', // [‘before’, 'after']
        date: '2021-4-14'
     }
},

您看我的截图，我就是这么写的。
想要的效果是  默认禁用当天之前的日期，所以date写的是false，但是日历上并没有效果。也试过传一个具体的日期进去，例如：type: 'before', date: '2021-4-29'，也还是没有效果，之前的日期依旧可以点击。
这边2.0使用的文件路径是wx_calendar-master/src/component/v2 这个文件夹，请问是否是我这边使用的文件夹弄错了？

使用的文件是没有错的，试下这个 demo
dist.zip

这个  demo，运行是正常的。
那原因可能是因为我这边文件是用  .vue写的，组件是用 .wxml  之类写的。
请问除了使用自定义配置字段 disableMode 来限制今天之前不可选以外，还能通过其他方法去限制今天以前的日期不可选吗？

目前方法就是这一个。但功能这个跟什么类型文件没有什么关系。可以打断点调试一下。
主要看下 /src/component/v2/plugins/selectable.js 中 beforeRender 函数内的逻辑。


text:
Select2 Dynamic Options

Sorry for creating an issue, this isn't a problem with the editor (thank you for creating it though, it's a massive help), it was one I was having but that I've now managed to solve and just wanted to post it here incase anyone else has the same issues.
I initially asked about it on StackOverflow - http://stackoverflow.com/questions/31536746/handsontable-select2-dynamic-options/31538561
The working fiddle can be seen here http://jsfiddle.net/zfmdu4wt/38/ and the original, broken fiddle can be seen here http://jsfiddle.net/zfmdu4wt/27/
Hope it helps.
Martin

Marking as closed.


text:
Failed at the trendicity@1.0.0 preinstall script 'npm install -g cordova ionic gulp bower'.

I checkout the project using git, tried to run "npm install -g cordova ionic gulp bower" in Windows7 command line, the following error happened:
0 info it worked if it ends with ok
1 verbose cli [ 'D:\dev\nodejs\\node.exe',
1 verbose cli   'D:\dev\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'install' ]
2 info using npm@2.10.1
3 info using node@v0.12.4
4 verbose readDependencies loading dependencies from F:\workspace\ionic\trendicity\package.json
5 warn package.json trendicity@1.0.0 No license field.
6 verbose install where, deps [ 'F:\workspace\ionic\trendicity',
6 verbose install   [ 'cordova',
6 verbose install     'gulp',
6 verbose install     'gulp-concat',
6 verbose install     'gulp-minify-css',
6 verbose install     'gulp-rename',
6 verbose install     'gulp-sass',
6 verbose install     'bower',
6 verbose install     'gulp-util',
6 verbose install     'shelljs' ] ]
7 verbose install where, peers [ 'F:\workspace\ionic\trendicity', [] ]
8 verbose installManyTop reading for lifecycle F:\workspace\ionic\trendicity\package.json
9 info preinstall trendicity@1.0.0
10 verbose unsafe-perm in lifecycle true
11 info trendicity@1.0.0 Failed to exec preinstall script
12 verbose stack Error: trendicity@1.0.0 preinstall: npm install -g cordova ionic gulp bower
12 verbose stack Exit status 1
12 verbose stack     at EventEmitter. (D:\dev\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16)
12 verbose stack     at EventEmitter.emit (events.js:110:17)
12 verbose stack     at ChildProcess. (D:\dev\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
12 verbose stack     at ChildProcess.emit (events.js:110:17)
12 verbose stack     at maybeClose (child_process.js:1015:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
13 verbose pkgid trendicity@1.0.0
14 verbose cwd F:\workspace\ionic\trendicity
15 error Windows_NT 6.1.7601
16 error argv "D:\dev\nodejs\\node.exe" "D:\dev\nodejs\node_modules\npm\bin\npm-cli.js" "install"
17 error node v0.12.4
18 error npm  v2.10.1
19 error code ELIFECYCLE
20 error trendicity@1.0.0 preinstall: npm install -g cordova ionic gulp bower
20 error Exit status 1
21 error Failed at the trendicity@1.0.0 preinstall script 'npm install -g cordova ionic gulp bower'.
21 error This is most likely a problem with the trendicity package,
21 error not with npm itself.
21 error Tell the author that this fails on your system:
21 error     npm install -g cordova ionic gulp bower
21 error You can get their info via:
21 error     npm owner ls trendicity
21 error There is likely additional logging output above.
22 verbose exit [ 1, true ]

I don't have a windows environment to test this on.  My apologies, I am not sure what the problem is.

I did notice there are references to  "D:" and "F:"  That maybe be the source of your problem.  Maybe node is installed on the "D" drive and your are executing this on your "F:" drive, perhaps.

Thanks for your quick reply. I believe it is OK that the NodeJS and Project are on different drive. I thought it might be caused by missing node-gyp. I will install node-gyp as per instruction at https://github.com/TooTallNate/node-gyp and let you know the result.
Thanks,
Daniel

I closed this issue by accident. Could you re-open it? thanks

out of date

authors: freeever keithdmoore

repo: trendicity/trendicity


text:
Adding custom afterShow to Jquery UI generates 'Maximum call stack size exceeded'

Below is the code added and its causing the stack trace exceeded at second line i.e. $.datepicker._updateDatepicker = function(inst) :-

$.datepicker._updateDatepicker_original = $.datepicker._updateDatepicker;
$.datepicker._updateDatepicker = function(inst) {
$.datepicker._updateDatepicker_original(inst);
var afterShow = this._get(inst, 'afterShow');
if (afterShow) {
afterShow.apply((inst.input ? inst.input[0] : null));
}
}

Do not add the code to document.ready as this creates the above exception

repo: trentrichardson/jQuery-Timepicker-Addon


text:
🛑 api.tresl.co is down

In b2d4d75, api.tresl.co (https://api.tresl.co/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: api.tresl.co is back up in a11f6cf.

repo: tresl-co/uptime


text:
Font changes not saved in configuration file

On both Debian & Arch, font changes made in qt6ct gui are not saved on exit.
Restarting qt6ct, the original font definition is still there.
This relates to .config/qt6ct/qt6ct.conf  not  fonts.conf
Maybe a recent regression (0.7?) as I'm sure this used to work fine

Not a recent regression, same issue with 0.6.
Can't build 0.5 with current Qt6 libraries.

Problem seems intermittent. If [OK] is pressed after the font change, it is usually saved.
However, if [Apply] is pressed first, it is usually lost.

I'm enable to reproduce (manjaro + gnome + wayland). Please, provide your qt6ct.conf and "export" output.

I guess you meant unable to reproduce... ;-)
I'm using Xfce with Xorg.
I've noticed that font settings are saved after hitting [Apply], but the changes are then overwritten on hitting [OK] after waiting a few seconds (for the change to appear on screen).
If qt6ct is closed, after hitting [Apply], or if [OK] hit immediately, the new settings are preserved.
output.txt
qt6ct.conf.txt

Try latest version from git. Looks like it works fine with your config.

For test purposes try to disable all style sheets.

Well done!
Disabling 'Sytle Sheets' fixes the problem

I have tested version 0.8 on Debian and Arch, and with a style sheet enabled, the bug is still there.


text:
Add ability to output in plaintext

This creates the files and outputs in plain text instead of JSON strings. This is helpful for passing into other functions via command line (e.g. linters).
Note that I manually edited the .js files because I couldn't get tsc working.

Hey @dorner thank you so much for your contribution.
I love the idea of having this option I'll work on getting it merged.

Thank you very much for the contribution.  I am cleaning up the repo and will go over contribution there and that should resolve #3 and provide easier deployment.

Wow, that was fast! 😮 great job, will test this out!

@trilom this isn't tagged yet so I can't try it out...?

authors: dorner trilom

repo: trilom/file-changes-action


text:
Stackblitz Template examples not working

I am trying to upgrade from Angular 8 to 9, and I am not able to have angular-mdc working. Compilation runs but the components are not loaded in the web.
Exactly as it happens in your example:
https://stackblitz.com/edit/angular-jv31zs
(Not sure if everyone sees exactly the same, which it should be)

I also tried to figure out what was happening using the basic template, enabling all components, installing all dependencies, etc. and I still get the very basic Button and checkbox, not the "material" ones (raised, etc..)
https://stackblitz.com/edit/angular-mdc

Could you please provide a stackblitz example with working components? WIth for example the package.json from this other example (again not working properly for me):
https://stackblitz.com/edit/angular-zgcqlh
Thanks for the effort

got the same problem here too

repo: trimox/angular-mdc-web


text:
Support max bytes quota for requests

aws.proxy.request.quota.byte-qty
Closes #95

Throwing out an idea: we may be able to look at the Content-Length header (if the input/output aren't using Chunked Transfer-Encoding) and compare that to the quota

I think it's safer to use the bytes actually read. The purpose of this change is to make sure the proxy doesn't get DDOSd

Regarding the naming, I do still think quota is not quite right. WDYT of max-payload-size?

repo: trinodb/aws-proxy


text:
:sparkles: add extraVolumes and extraVolumeMounts tpl rendering

Give the ability to add extraVolumes and extraVolumeMounts.
Typically, on a cluster with nonRoot pods strategy (OpenShift), we have to change the dataDir, because it's owned by root (the random uid can't write inside).
It would be great to give the possibility to add an emptyDir or pvc.

this is pretty useful for getting the JMX java agent working too.

Is anything holding up this merge? We'd also like the capability of mounting the additional volumes.

Hi, I'm pretty keen to use this feature.
I guess this is blocked because the CLA hasn't been signed.
@sebastiendejou are you willing to sign the CLA to get this moving?
If not @lshmouse I saw your PR addressing the same issue. Will you perhaps reopen the PR?
If both of you are reluctant I'm happy to submit the 3rd PR 😃

Since #129 is merged, I'll close this one. Feel free to reopen after rebasing.

authors: doublefelix7 drish koh-satoh-wpg nineinchnick sebastiendejou

repo: trinodb/charts


text:
Change TensorRT LLM submodule link

Change the TensorRT LLM submodule url in the .gitmodules file.

Resolves #157


text:
Fix TF32x3 behavior with dot(inf, 1.0)

The patch fixes the problem with dot(inf, 1.0)
If lhs is 1.0, we will have lhs_high = 1.0 and lhs_low = 0.0.
If rhs is +infinity, we will have:
+infinity * 1.0 = +infinity
+infinity * 0.0 = NaN
We would get the wrong result if we sum these partial products. Instead, we must override any accumulated result if the last partial product is non-finite (zero-out NaNs) and then sum it with the last partial product.

New contributor declaration

[ x] I am not making a trivial change, such as fixing a typo in a comment.

[ x] I have written a PR description following these
rules.

[ x] I have run pre-commit run --from-ref origin/main --to-ref HEAD.

Select one of the following.

[ ] I have added tests.

/test for lit tests
/unittest for C++ tests
/python/test for end-to-end tests

[ x] This PR does not need a test because need to mirror the corresponding test from XLA.

Select one of the following.

[ x] I have not added any lit tests.
[ ] The lit tests I have added follow these best practices,
including the "tests should be minimal" section. (Usually running Python code
and using the instructions it generates is not minimal.)

I think we should have an MLIR test for this. And maybe a test in test_core.py.

I've added the mlir test for the change

What is the performance impact?

on h100 with the tensors 8k8k × 8k8k
before 20.3, after 20.9, ~3% decrease
on the code
@jax.jit
def loss(x, y):
out = jax.lax.dot(
lhs=x,
rhs=y,
precision='TF32_TF32_F32_X3',
)
return jnp.sum(out)

could it happen that they don't have the test case for inf vs 1.0?

looks like they do another trick for the low part
round_half_ulp_truncate,      ///< add 0.5ulp to integer representation then round toward zero

@ptillet could you take a look please?

authors: ThomasRaoux gflegar loislo

repo: triton-lang/triton


text:
Wifi support

Does this plugin support wifi on the Vertuo Next model?

HI @jsholiday,
No it doesn't, I also tried to use the same bluetooth stack. It seems to be equal I think I could theoretically get the water status on the Vuerto Next. But as you can see inside the Nespresso App, its not possible to brew coffee within the app or even schedule it. I think the decision of this has to be with the cup which is then punctured already hours before the actual brew. I don't know where Nespresso is heading with this machine and their connectivity. I also don't have any idea what the Wifi chip is doing at the moment? Updating the internal recipes or so?
If you have any ideas or any info please let me know!
Cheers,
Thom

Hi @tritter!
I think you're right on this. I've had the Vertuo Next for about a week now. I've been monitoring its network activity on my router and it seems that it only makes a wifi connection when either:
A) The app makes a Bluetooth connection to the unit
OR
B) The unit is powered on by pressing the brew button to wake from auto sleep.
It seems that when in auto sleep, the wifi connection to my router is dropped.
This leads me to believe that the unit is also using wifi to check for firmware updates in the app and/or new recipes/new pods types when first powered on.
Kinda bummed there isn't more smart functionality here from Nespresso as it seems like it'd be pretty easy with Bluetooth and wifi on board. But at least it makes a great drink!
Thanks for your response.

authors: jsholiday tritter

repo: tritter/homebridge-brewer


text:
incorrect 'is' method call in melody-types

In melody-parser, is method of babel-types has been called in a wrong way.
The is method signature is as follows which takes type:string and node:object:
function is(type, node, opts) {
  if (!node) return false;

  var matches = isType(node.type, type);
  if (!matches) return false;

  if (typeof opts === "undefined") {
    return true;
  } else {
    return t.shallowEqual(node, opts);
  }
}

Ref: is Method
but in melody-types
https://github.com/trivago/melody/blob/e1557751063a949c9738728710609a7d052f4fda/packages/melody-types/src/index.js#L78
node and types have been passed in reverse order.

#52 merged

authors: ayusharma efegurkan

repo: trivago/melody


text:
🛑 Dev Cobru is down

In 579be77, Dev Cobru (https://dev.cobru.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dev Cobru is back up in 8bc4472.

repo: trixel/cobru-status


text:
bump compat of StartUpDG

Does this work directly or do we need updates in Trixi.jl?

v0.13 allows for more general fields in RefElemData, with the intention of making FDSBP solvers even lighter in terms of memory. However, the RefElemData constructor is hanging when I try to use it, so we should avoid updating until that's fixed...

I'd suggest closing this PR; I'll update the compat for StartUpDG.jl in an upcoming PR.

Okay

authors: jlchan ranocha


text:
add kwarg initial_cache to SemidiscretizationHyperbolic

As discussed on Slack

Could we add a fallback method create_cache(mesh, equations, solver, RealT, uEltype) = ()? I am thinking that if someone creates a custom cache for a given mesh/equations/solver combination, this would save them the trouble of also having to extend create_cache.

I'm not sure about that. Right now, they will get a method error, which basically asks "Are you sure that you don't want to use a cache? Then, they can opt-in by adding a single line in their code, so  it's not much overhead. On the other hand, this reminder can be helpful when adding new stuff. @sloede?

@jlchan You can git cherry-pick this into your branch to use this feature right now.

@jlchan You can git cherry-pick this into your branch to use this feature right now.

Thanks, good to know for future reference.


text:
Luacheck tries to lint itself

I already saw in your screenshot in https://github.com/trixnz/vscode-lua/issues/42 that you have the same "problem" but currently luacheck tries to lint it's own .luacheckrc. Is that intended?

I don't think that's correct though?

luacheck itself only checks .lua files if you give it a path, pretty silly to change the behavior by default.

I'm inclined to agree that it shouldn't lint itself. While your solution is quite clever @Nexela, I don't think we should force that expectation on everyone.

We don't have to with the latest version of luacheck. It accounts for luacheckrc globals now.

Also being able to lint the .luacheckrc file really helps when you have big luacheckrc files like I do.

authors: Nexela Stanzilla nebularg trixnz

repo: trixnz/vscode-lua


text:
Cannot read properties of undefined in line 192

Thank you for this awesome issue which doesn't exist !

authors: MEddarhri triyanox

repo: triyanox/avgen


text:
tronWeb.toDecimal didn't work correctly

Try to convert 0x0000000000000000000000000000000000000000000000000de0b6b3a7640005 using toDecimal !!!
result: 1000000000000000000
should be: 1000000000000000005
instead try to use BigInt(hex value)

Please use window.tronWeb.BigNumber to handle such large numbers

repo: tronprotocol/tronweb


text:
🛑 Nextcloud is down

In 35bf15d, Nextcloud (https://nextcloud.tronflix.app/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in 639f25f after 6 minutes.

repo: tronyx/upptime


text:
Publish ABAP Unit code coverage result

Is it possible to publish ABAP Unit code coverage result in Azure pipelines?
Thanks,
Srini

Yes, definitely, that's how we use it. Here are the steps we use
First npm install to install all node dependencies
steps:
- task: Npm@1
  displayName: 'npm install'
  inputs:
    workingDir: '$(System.DefaultWorkingDirectory)/_<Repo>/drop/'
    verbose: false

then run the script
steps:
- script: 'npm start -- --host=<host> --protocol=https --insecure=true --username=<username> --password=<password> --package=<package>'
  workingDirectory: '$(System.DefaultWorkingDirectory)/_<Repo>/drop'
  displayName: 'Run test'

Then publish the result
steps:
- task: PublishTestResults@2
  displayName: 'Publish Test Results **/result/*.xml'
  inputs:
    testResultsFiles: '**/result/*.xml'

I'm sure you don't need to define the working directory, but "if it works don't fix it"

Hello @matt1as ,
First of all, very nice and informative blog. I have some doubts related to, ABAP system connection guide.
For environment variables, we have to change only the yaml file or do we need to update our system variables like, host, client, user and password anywhere else inside the repo files ?
also, there is one doubt related to, the result files and the test data result, that where we can see all the pipeline output and the graphs.

@Srinu3366  hello, did you get any output, while performing these commands directly into your YML file ? Actually i am facing some issues. Need some help

Sorry for the slow slow reply, I've been more or less afk the last 8 months, but now I'm back. Did you manage to solve the issue?

@matt1as , I used, but, it is not working, I have raised a separate issue also.
NPM start command is not showing any output. Even not any error....


text:
0.3.2 SDK Level Crash - ClientSocket.java -> startConnection()

Fatal Exception: kotlin.UninitializedPropertyAccessException
lateinit property socket has not been initialized
id.tru.sdk.network.ClientSocket.startConnection (ClientSocket.java:201)

Fixed in 0.3.3

authors: ciaomario rohittakalkar

repo: tru-ID/tru-sdk-android


text:
TypeError: Cannot read property 'pop' of undefined when restarting from existing --db

Expected Behavior

Ganache should behave exactly the same after restarting from an existing db as if it were not restarted at all.
Current Behavior

ganache-cli does not behave the same when starting from an existing db directory. It wrongly rejects a transaction with correct nonce and crashes when given the nonce it (wrongly) expects.
Steps to Reproduce (for bugs)

git clone https://github.com/tsuberim/ganache-bug.git
npm install
npm run ganache - start ganache command in one terminal tab for the first time (creating db directory ./asdf)
node crash.js - run a simple script in another tab sending 1 ether to an account.
Stop ganache.
npm run ganache - start ganache again (now using existing db).
node crash.js - run simple script again.
The script fails with:Error: Returned error: the tx doesn't have the correct nonce. account has nonce of: 0 tx has nonce of: 1
at Object.ErrorResponse (/home/tsuberim/projects/ganache-test/node_modules/web3-core-helpers/src/errors.js:29:16)
at /home/tsuberim/projects/ganache-test/node_modules/web3-core-requestmanager/src/index.js:140:36
at XMLHttpRequest.request.onreadystatechange (/home/tsuberim/projects/ganache-test/node_modules/web3-providers-http/src/index.js:91:13)
at XMLHttpRequestEventTarget.dispatchEvent (/home/tsuberim/projects/ganache-test/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (/home/tsuberim/projects/ganache-test/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (/home/tsuberim/projects/ganache-test/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
at IncomingMessage.<anonymous> (/home/tsuberim/projects/ganache-test/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1094:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

If using nonce: 0, ganache fails with:TypeError: Cannot read property 'pop' of undefined
at CheckpointTrie.Trie._updateNode (/home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:360:24)
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:107:16
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:461:14
at processNode (/home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:471:23)
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:457:5
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:180:7
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/util.js:75:7
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:52:16
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:269:32
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:44:16
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/util.js:71:7
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:157:9
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/lib/database/levelupobjectadapter.js:41:16
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/level-sublevel/shell.js:101:15
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/level-sublevel/nut.js:121:19
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/encoding-down/index.js:51:21
at /home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/node_modules/cachedown/index.js:58:21
at ReadFileContext.callback (/home/tsuberim/projects/ganache-test/node_modules/ganache-cli/node_modules/ganache-core/lib/database/filedown.js:26:14)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:235:13)

Note: The script succeeds when not restarting ganache midway.

Your Environment

Version used: Ganache CLI v6.2.3 (ganache-core: 2.3.1)
Version of Truffle/Remix/Other tools used: web3@1.0.0-beta.36
NodeJS Version: v10.13.0
Operating System and version (include distro if Linux):

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

Link to your project or repro gist: https://github.com/tsuberim/ganache-bug
Commit hash to use with above link for reproduction: 606cccd494479e88f25cfbb22cd683d842e61b27
I intend to submit a pull request to fix this issue: [ ]

I think I encountered the same problem when using --blockTime.
$ mkdir ganache-db
$ ganache-cli --db ganache-db --blockTime 1
# Quit the process CTRL-C
$ ganache-cli --db ganache-db --blockTime 1

The first launch works correctly, but when launching the second time I get the usual output and then, after 1 second:
TypeError: Cannot read property 'pop' of undefined
    at CheckpointTrie.Trie._updateNode (/Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:360:24)
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:107:16
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:461:14
    at processNode (/Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:471:23)
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:457:5
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:180:7
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/util.js:75:7
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:52:16
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:269:32
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:44:16
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/util.js:71:7
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/merkle-patricia-tree/baseTrie.js:157:9
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/lib/database/levelupobjectadapter.js:41:16
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/level-sublevel/shell.js:101:15
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/level-sublevel/nut.js:121:19
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/encoding-down/index.js:51:21
    at /Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/node_modules/cachedown/index.js:58:21
    at ReadFileContext.callback (/Users/koirikivi/.nvm/versions/node/v8.11.2/lib/node_modules/ganache-cli/node_modules/ganache-core/lib/database/filedown.js:26:14)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:420:13)

This happens with at least the following ganache versions:

Ganache CLI v6.2.3 (ganache-core: 2.3.1).
Ganache CLI v6.2.0 (ganache-core: 2.3.0)

Doesn't happen with 6.1.8.
My OS is macOS High Sierra 10.13.5 (17F77) and nodejs v8.11.2 if that matters. Installing ganache with npm install -g ganache-cli@<insert version>.

@tsuberim, @koirikivi. Thanks for the info! I'll try to track this issue down today.

@tsuberim and @koirikivi Thanks for report this issue. I was able to confirm the crashes and will look into a fix soon.

This seems to be a duplicate of #407 - let's track this fix over there.

Apologies, I spoke too soon on this issue, it's not a dupe of #407.

Leaving this issue open until we have a fix, but we've reverted the change which causes this problem.

Fix for this inbound. Was a silly mistake that resulted in a rather hard to diagnose error.

Hi, I think there was a regression on this particular issue. I'm getting similar error:
geth_1              | Listening on 0.0.0.0:8545
geth_1              | TypeError: Cannot read property 'pop' of undefined
geth_1              |     at c.g._updateNode (/app/ganache-core.docker.cli.js:25:199572)
geth_1              |     at /app/ganache-core.docker.cli.js:25:197581
geth_1              |     at /app/ganache-core.docker.cli.js:25:201092
geth_1              |     at e (/app/ganache-core.docker.cli.js:25:200564)
geth_1              |     at /app/ganache-core.docker.cli.js:25:201023
geth_1              |     at /app/ganache-core.docker.cli.js:25:198133
geth_1              |     at /app/ganache-core.docker.cli.js:2:194795
geth_1              |     at /app/ganache-core.docker.cli.js:25:392
geth_1              |     at /app/ganache-core.docker.cli.js:25:5735
geth_1              |     at /app/ganache-core.docker.cli.js:25:317
geth_1              |     at /app/ganache-core.docker.cli.js:2:194773
geth_1              |     at /app/ganache-core.docker.cli.js:25:197973
geth_1              |     at /app/ganache-core.docker.cli.js:61:1412187
geth_1              |     at /app/ganache-core.docker.cli.js:61:1407013
geth_1              |     at /app/ganache-core.docker.cli.js:61:1404376
geth_1              |     at /app/ganache-core.docker.cli.js:32:80653

I tried this with
Status: Downloaded newer image for trufflesuite/ganache-cli:next
Creating elixir-omg_geth_1 ... done
Attaching to elixir-omg_geth_1
geth_1              | Ganache CLI v6.8.1-beta.0 (ganache-core: 2.9.1-beta.0)
geth_1              | (node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

and
Status: Downloaded newer image for trufflesuite/ganache-cli:latest
Creating elixir-omg_geth_1 ... done
Attaching to elixir-omg_geth_1
geth_1              | Ganache CLI v6.7.0 (ganache-core: 2.8.0)
geth_1              | (node:1) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

My flags are:
ganache:
    image: trufflesuite/ganache-cli:latest
    ports:
      - "8545:8545"
      - "8546:8546"
    expose:
      - "8546"
      - "8545"
    volumes:
      - ./data/ganache/data:/data
    healthcheck:
      test: ping geth:8545 -c 1
      interval: 10s
      timeout: 5s
      retries: 10
    hostname: geth
    entrypoint:
      - node
      - /app/ganache-core.docker.cli.js
      - --blockTime
      - '0.5'
      - --deterministic
      - --db
      - /data/
      - --account_keys_path
      - /data/account_keys.txt
      - --defaultBalanceEther
      - '100000'
      - --unlock
      - "0"
      - --unlock
      - "1"
      - --mnemonic
      - 'myth like bonus scare over problem client lizard pioneer submit female collect'
     - --account
      - "0xd885a307e35738f773d8c9c63c7a3f3977819274638d04aaf934a1e1158513ce,100000000000000000000000"
      - --account
      - "0xd885a307e35738f773d8c9c63c7a3f3977819274638d04aaf934a1e1158513ce,100000000000000000000000"
      - --account
      - "0x6f30f140fd4724519e5017c0895f158d68bbbe4a81c0c10dbb25a0006e348807,100000000000000000000000"

What I was trying to do is create a database snapshot by starting ganache and deploying plasma contracts later. Once the deployment finished, I docker stop <ganache node id>. And saved the data directory. A restart of ganache from that same directory would produce an error.

I'm getting this error on ganache-cli v6.12.1 on Node v15.4.0
the command I'm using is:
ganache-cli -d --db ./blockchain/db -i 1 --accounts 700 --deterministic -l 1000000000000000 -e 10000000 -g 1500000 -q --mnemonic="MY MNEMONIC"

authors: InoMurko benjamincburns ccowell davidmurdoch koirikivi mahmoudafer tsuberim

repo: trufflesuite/ganache-cli


text:
Issue 678: Testing solidity strings with getters/setters

Unable to confirm reported bug.

Looks like a lot of commits for relatively small net change - I'd recommend squashing the commits and doing git push -f to keep the change log easier to read

authors: benjamincburns ccowell

repo: trufflesuite/ganache-core


text:
glassmaking, alkoxy

This pull request was generated by the 'mq' tool

/trunk merge

repo: trunk-io/mergequeue-staging


text:
busthead, decence (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


text:
capote, bivalence

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

/trunk merge


text:
aphidicide, dodonaean

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

/trunk merge


text:
diapausing

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

/trunk merge


text:
autotruck, exercitorian

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

/trunk merge


text:
frisky, bernicia

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

/trunk merge


text:
ferfel, bake

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

/trunk merge


text:
assoilment

This pull request was generated by the 'mq' tool

/trunk merge


text:
goldest, boloman

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

/trunk merge


text:
consternating, drubbings

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

/trunk merge


text:
cratons, en

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 5
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[c,e]

/trunk merge


text:
aquage, frenzying

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

/trunk merge


text:
dodecatyl, garotes

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

/trunk merge


text:
dysmeromorphic, apomict

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

/trunk merge


text:
gabrielrache, domatium

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[d,g]

/trunk merge


text:
cecchine, gaggle

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

/trunk merge


text:
encoil, germinations

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[e,g]

/trunk merge


text:
diencephalons, fluework

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

/trunk merge


text:
bitters, emancipatress

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

/trunk merge


text:
embodier, bicolour

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

/trunk merge


text:
drearness, bearbine

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

/trunk merge


text:
arugolas

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

/trunk merge


text:
epicedia, chrysome

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

/trunk merge


text:
fatbrained, allegoriser

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

/trunk merge


text:
bankers, edgrew

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

/trunk merge

repo: trunk-io/mergequeue


text:
barleybreak, cheaps

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

/trunk merge


text:
environal

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

/trunk merge


text:
epigenist, fixures

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

/trunk merge


text:
droopt, floatmaker

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

/trunk merge


text:
glucuronidase, emboitement

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

/trunk merge


text:
enterograph, comeuppances

This pull request was generated by the 'mq' tool

/trunk merge


text:
fangless, approbatory

This pull request was generated by the 'mq' tool

/trunk merge


text:
baptistery, ausforms

This pull request was generated by the 'mq' tool

/trunk merge


text:
eucharistize, groupings

This pull request was generated by the 'mq' tool

/trunk merge


text:
begripe

This pull request was generated by the 'mq' tool

/trunk merge


text:
episteme

This pull request was generated by the 'mq' tool

/trunk merge


text:
fardels, cottonopolis

This pull request was generated by the 'mq' tool

/trunk merge


text:
descended, coalitional

This pull request was generated by the 'mq' tool

/trunk merge


text:
deisms, gloea

This pull request was generated by the 'mq' tool

/trunk merge


text:
chemurgy

This pull request was generated by the 'mq' tool

/trunk merge


text:
gaultherase, biramous

This pull request was generated by the 'mq' tool

/trunk merge


text:
effuses, carload

This pull request was generated by the 'mq' tool

/trunk merge


text:
adjurers, freewheeler

This pull request was generated by the 'mq' tool

/trunk merge


text:
boastful, gooks

This pull request was generated by the 'mq' tool

/trunk merge


text:
deveining

This pull request was generated by the 'mq' tool

/trunk merge


text:
beriming, grivet

This pull request was generated by the 'mq' tool

/trunk merge


text:
areoles, bayete

This pull request was generated by the 'mq' tool

/trunk merge


text:
apiin, gunneries

This pull request was generated by the 'mq' tool

/trunk merge


text:
dabbed, elocation

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

/trunk merge


text:
disprobabilization, funambulism

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

/trunk merge


text:
fragilely, gaucher

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

/trunk merge


text:
accessor, fusileers

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

/trunk merge


text:
abutting, bongrace

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

/trunk merge


text:
chlorosulphonic, drabbletailed

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

/trunk merge


text:
ferk, brachygraphic

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

/trunk merge


text:
birrus

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

/trunk merge


text:
ferine

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

/trunk merge


text:
commoves, filanders

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

/trunk merge


text:
bruet, agname

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

/trunk merge


text:
gutnic, endplay

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

/trunk merge


text:
furfuraldehyde, creakiest

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

/trunk merge


text:
eyewear, gaj

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

/trunk merge


text:
estimates, advocation

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

/trunk merge


text:
breechloading, apophysate

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

/trunk merge


text:
Feature Request: Search collection items by metadata (datasource path)

Discussed in https://github.com/tryAGI/LangChain/discussions/441

Originally posted by irfansuteja August 21, 2024
Hi,
In the latest version, is there a function that allows searching a vector collection based on metadata? When using the function vectorDatabase.AddDocumentsFromAsync(), the source path is stored in the metadata.
If a file is split into multiple documents, say five, how can I update the related files? Specifically, I need to delete the vector documents that share the same metadata/path. Is there a function for this, or is there a better approach?
Thanks.

Got a branch with changes to search sql lite by metadata - getting a 403 when trying to push the branch. Do you need to grant me any permissions?

authors: HavenDV robalexclark

repo: tryAGI/LangChain


text:
[Medium] Auto add to config.json upon login / remove "Start coding"

Context
Right now, it looks like this:

The button is needed to add the new settings to config.json. But upon a successful login, this should happen automatically!
The 3. Click To Continue should not be needed

I'll give it a shot

S/o himanshu

authors: cqdev-co nang-dev

repo: trypear/pearai-app


text:
Patch frontend UI for grading pages

Pull Request
Description
Separate submission of code into two steps: 1) upload file (retrieves file content) and 2) submit (button to submit file content).
Moves questions select buttons group below assignment details.
Related Issue(s)
Closes #86
Screenshots (if applicable)

Checklist

[ ] I have checked that the changes included in the PR are intended to merge to master or any destination branch.
[ ] I have verified that the new changes do not break any existing functionalities, unless the new changes are intended and have approved by the team.
[ ] I will take care of the merging and delete the side-branch after the PR is merged.

Additional Notes/References
How to redirect to submission (with feedback) optionally (if users want to)?

How to redirect to submission (with feedback) optionally (if users want to)?

To answer this, my thought is that we don't redirect them to the detailed submission page, but we redirect them to the view all submissions page?

How to redirect to submission (with feedback) optionally (if users want to)?

To answer this, my thought is that we don't redirect them to the detailed submission page, but we redirect them to the view all submissions page?

i was thinking of not always redirecting but only when the user wants to be redirected (e.g. after submitting, the submit button changes to a view button, which will redirect the user if clicked... not sure how to make this work though)

Oh this is a better idea! To let it work, for each question we need a state variable isSubmitted, so when the feedbacks are successfully generated, we can show another "View" button besides the submit. Then when submitting, you can consider showing some loading effect as you wish, can use "Spinner" in nextui if you consider that.


text:
吹き出し内のURLのクリック対応

吹き出し内のURLのクリック対応

URLを非表示に変更し、店舗名クリックでURLジャンプに設定。


text:
[BUG] ? PCREXTRACT Plugin Stops Working on TS Stream Interruption and resume

Hello TSDuck Community,
I am writing to report a bug I've encountered while using the PCREXTRACT plugin in TSDuck. My workflow involves using the plugin to save PTS information from a PID to a CSV file using the following command:
tsp -v -I ip 239.0.0.1:1234  --timeshift -t 3000 -P pcrextract -p 1024 --pts -o XXX.CSV -O ip 239.0.0.01:123456
The issue arises when the incoming TS stream over UDP is interrupted for a while and then come back. After the interruption, the PCREXTRACT plugin stops writing PTS values to the specified file and does not resume even when the stream is restored. The only workaround I've found so far is to restart the entire TSDuck process, which is not ideal for continuous operations.
Steps to reproduce:
Start extracting PTS information using the PCREXTRACT plugin with the command mentioned above.
Interrupt the incoming TS stream.
Observe that the plugin stops writing to the CSV file and does not resume upon stream restoration.
Expected behavior:
The PCREXTRACT plugin should either continue writing PTS information to the file after the stream is restored or provide a mechanism to recover from such interruptions without requiring a full process restart.
Any insights or workarounds for this issue would be greatly appreciated. Thank you for your assistance and for the great work on TSDuck.
(windows platform)
Best regards,
Jhon

Hi @TsAddicted
When the streams resumes, is this a problem with the CSV output file or the transmission chain? More precisely:

After the stream resume, is the TS resumed on the output -O ip?
If you try without -o XXX.CSV and let pcrextract display the values, does the output resume?

BTW, your output address 239.0.0.01:123456 has an invalid port number. And receiving and sending on the same multicast address is a recipe for problems, especially on Windows.

Hello L
sorry the udp out address was only a placeolder and is not in the real one i m using
After the stream resume, is the TS resumed on the output -O ip?
yes
If you try without -o XXX.CSV and let pcrextract display the values, does the output resume?
i ll test
thx

hello , after update binary to last version issue disappear, if will appen again i ll inform u
i need to leave the process few days running, is possible in some way to flush the output pcr file every a number of entries or after some time/days ?
thx so much!

after update binary to last version issue disappear

Nothing changed in this plugin.
The problem is somewhere else. Windows is not a good platform to monitor the content of a file while it is open for writing. Linux (or any Unix) is better. Do not expect to be able to see what is in a file while it is processed.

authors: TsAddicted lelegard

repo: tsduck/tsduck


text:
ip output continuity loss

I am experiencing frame loss in my stream while processing it on machine A. I usually develop my solutions on machine B which with the same pipeline yields packet loss free stream. These are similiar supermicro servers connected to exactly the same brand and model switch. Difference are in CPUs (E5-2620v2 vs E5-2650) and RAM memory (32GB vs 64GB). Both run Ubuntu 18.04 with latest stable docker.
In my setup tsduck runs in container that has interface binded via macvlan to vlan interface on physical interface (ethx.vid).
How I found out about continuity loss? I run continuity plugin on client machine and I got information that every few seconds a few packets are lost mostly in video pid but also in audio.
To further debug it I added continuity plugin into my pipeline just before -O ip. It shows no discontinuity.
I checked interface counters on linux for any errors, discards, overflows etc. I used ethtool -S, netstat -i udp, /proc/net/snmp and /proc/[PID]/net/snmp. Nothing found there.
But interestingly enough stats for switch interface that machine A uses shows some discards, but nowhere near discontinuity severity.
Packets Received Without Error................. 7511703
Packets Received With Error.................... 0
Broadcast Packets Received..................... 0
Receive Packets Discarded...................... 226
Packets Transmitted Without Errors............. 13168206
Transmit Packets Discarded..................... 0
Transmit Packet Errors......................... 0
Collision Frames............................... 0
Number of link down events..................... 0
Load Interval.................................. 5
Bits Per Second Received....................... 28330432
Bits Per Second Transmitted.................... 46793368
Packets Per Second Received.................... 2593
Packets Per Second Transmitted................. 4284
Time Since Counters Last Cleared............... 0 day 0 hr 52 min 37 sec

This switch's uplink is connected to switch which port's counters interestingly show some input errors:
GigabitEthernet1/0/26 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is 1cde.a7a4.3f9a (bia 1cde.a7a4.3f9a)
  Description:
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 15/255, rxload 6/255
  Encapsulation ARPA, loopback not set
  Keepalive not set
  Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseLX SFP
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:08, output hang never
  Last clearing of "show interface" counters 00:18:27
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 26402000 bits/sec, 2409 packets/sec
  5 minute output rate 61383000 bits/sec, 5613 packets/sec
     2687022 packets input, 3670212357 bytes, 0 no buffer
     Received 2687022 broadcasts (2687022 multicasts)
     0 runts, 0 giants, 0 throttles
     90 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 2687022 multicast, 0 pause input
     0 input packets with dribble condition detected
     6222078 packets output, 8496007142 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

Also I tried to:
a) increase backlog, udp mem buffers and net buffers, but with no effect,
b) play with ip output burst settings, but it only increased the problem.
Any ideas what I should look for?

I deployed machine C that is basically machine A from different vendor. It has no other services running and doesn't exhibit the mentioned issue. All without sysctl tuning. Just stock Ubuntu 18.04. To further verify the issue existence I tested stream continuity on switch that machine A is connected to and issue is present there too.

Small followup.
Recently I redeployed another docker based machine which also is used also for heavy traffic role (monitoring) and started suffering from similiar issues. What is interesting, change I made except from upgrading xenial to bionic was switching from OVS based networking to MacVlan. ATM working hipotesis is that MacVlan driver is a culprit in deployments where there are loads of traffic.


text:
Support targets with inline bodies similar to shell's "here tag"

Hi, this is an updated PR of the effort done by @coxx in #148.
The change will allow vegeta to read body payloads from the same target data stream.

@tsenart please consider this functionality, maybe not as done in this PR but at least in general.
The use case is when there are different request bodies in the payloads. It would be convenient to have payload in one file (or generated dynamically and passed through stdin) instead of having a lot of scattered files.

Hi I'm interested to know what is the status of this?

I see the commits are from quite some time ago, I'm happy doing the work to rebase etc for merging into master

@mbrookes1304: I'm reviewing the implementation and thinking through the design now.

Superseded by #300.

repo: tsenart/vegeta


text:
pwnyaa: scrapeitによる問題カウントのバグ

fetchGenresCH()でcryptohackから問題を取ってくる時に、各ジャンルの各大問において最初の問題しかパースされていない。
多分あとで自己solveしますが、忘れないようにissue建てとこ。

@hakatashi お手数ですが、未修正時に誤って解除されたくっきーさんの実績2つ(pwnyaa-ch-halfとpwnyaa-ch-complete)を削除して頂けますか:bow:。(削除のプロセス等わからないためhakatashiさんに頼むのが正解かわかりませんが...)

追加でしとおさんのpwnyaa-ch-halfもお願いします:bow: :bow: : bow:

@smallkirby 対応しました。
achievementsのDBをいじるためのスクリプトは achievements ディレクトリ配下にあります。今回achievement単位での削除のため remove-achievement.js を追加しました。以降は本番環境でこれを叩くとかして対応してください。
npx ts-node achievements/remove-achievement.js [user] [achievement]
npx ts-node achievements/normalize.js

ありがとうございます！！ :bow:

authors: hakatashi smallkirby

repo: tsg-ut/slackbot


text:
1年前の今日botを作成

1年前のsandboxの投稿のうち、指定されたreactionがつけられたものを掘り返すbotです。

毎日0時にこれすき、支離滅裂、ヤクザを掘り返す
@remember hoge を呼ばれたら :hoge: を掘り返す

動かす前提として、例のsandbox log (json)を remember/sandbox-log/ 下に展開する必要があります。
コードレビュー欲しいです。よろしくお願いします。
未着手点/補足/質問は以下の通りです:

2/29には2/28の投稿が再び掘り返される
→2020年2月29日までにうるう年イベントを用意する
ファイルがないと落ちる (まあ1年に1回の詰め替えで済むので忘れることはなかろう(フラグ))
→エラー処理とリマインダを設定 or 設置自動化 or etc.
テストを書いていない
→やることが多すぎた。そのうちやる。
:hoge: でも呼び出せろという話がある
質問: みんな existsSync 使わずに access でやってるのはなんか理由あるんすか? (mockが用意されてなくて泣いちゃった)

Codecov Report

Merging #157 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #157   +/-   ##
======================================
  Coverage    44.9%   44.9%
======================================
  Files          41      41
  Lines        3964    3964
  Branches      816     816
======================================
  Hits         1780    1780
  Misses       1717    1717
  Partials      467     467

Continue to review full report at Codecov.

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

これやる気なくなったので閉じます…


text:
Unit Testing

Split from #2

Prepare initial unit testing infrastructure.

What is the common UT framework in Erlang? Does it integrate with rebar3 well #4?

rebar3 supports http://erlang.org/doc/apps/eunit/chapter.html out of the box

https://www.rebar3.org/docs/running-tests


text:
【求助】3.9.5.81-v10版本下载附件失败

1、在群中发了一条图片消息，hook消息显示"msgId"为7559968399427434000
2、POST数据{"msgId":7559968399427434000}到接口/api/downloadAttach
3、返回{ code: -2, data: null, msg: "success" }
请问是什么原因？

还没有下载完，间隔一段时间再post

这个msgid应该是错的，注意一下精度问题。

浮点数精度问题

参数使用字符串类型依然无法正常下载
{   "msgId": "4626693398161714176" }
使用curl命令依旧失败，其他的都是正常的
curl -X POST -H "Content-Type: application/json" -d '{"msgId": 4626693398161714176}' http://192.168.31.222:19088/api/downloadAttach   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                  Dload  Upload   Total   Spent    Left  Speed 100    70  100    40  100    30   5134   3850 --:--:-- --:--:-- --:--:-- 10000{"code":-2,"data":null,"msg":"success"}

repo: ttttupup/wxhelper


text:
Add documentation for Pane

Currently the documentation in github-pages lacks the documentation of a Pane.

Closed in b7156ad3784268f00fcdfb81d9d9e5229ffd67e2.

authors: dominikmaeckel fabiankemper

repo: tudo-aqua/bgw


text:
[Bug] 首页『分类』重复问题

如果多个文章都设置同一个category的话，这个category在首页分类下会出现多次

不会啊，一个分类里本来就应该有很多篇文章。应该是你设置的方式不对

没有设置和category相关的东西，都使用默认。请看下哪里不对，谢谢。
_config.yml里搜到的和category相关的设置是这样：
show_category_count: false ## If you want to show the count of categories in the sidebar widget please set the value to true.
widgets: ## Six widgets in sidebar provided: search, category, tag, recent_posts, rencent_comments and links.
  - search
  - category
  - tag
  - recent_posts
  - recent_comments
  - links

文章中这样设置：
---
title: XXXXX
date: 2017-10-11 11:32:05
category: [A, B, C]
tags: [XXX, XX]
toc: true
---

你写成“categories”试试？不过一般标签都填好几个，但分类只设置一个啊

category和categories都试过，都会重复。 具体网站可看http://mathmach.com/


text:
fead: add members table

Just Added a nice Looking Table with stuff

Looks good. Could you fix the filters?

If you run npm run lint there are still eslint issues:
./app/members/components/Columns.tsx
15:21  Error: 'User' is defined but never used.  @typescript-eslint/no-unused-vars
139:7  Error: Expected a `for-of` loop instead of a `for` loop with this simple iteration.  @typescript-eslint/prefer-for-of
139:40  Error: Unsafe member access .length on an `any` value.  @typescript-eslint/no-unsafe-member-access
140:15  Error: Unsafe assignment of an `any` value.  @typescript-eslint/no-unsafe-assignment
140:29  Error: Unsafe call of an `any` typed value.  @typescript-eslint/no-unsafe-call
140:42  Error: Unsafe member access [i] on an `any` value.  @typescript-eslint/no-unsafe-member-access
144:9  Error: Expected a `for-of` loop instead of a `for` loop with this simple iteration.  @typescript-eslint/prefer-for-of
146:51  Error: Unsafe argument of type `any` assigned to a parameter of type `string`.  @typescript-eslint/no-unsafe-argument
168:7  Error: Expected a `for-of` loop instead of a `for` loop with this simple iteration.  @typescript-eslint/prefer-for-of
168:40  Error: Unsafe member access .length on an `any` value.  @typescript-eslint/no-unsafe-member-access
175:15  Error: Unsafe assignment of an `any` value.  @typescript-eslint/no-unsafe-assignment
175:42  Error: Unsafe member access [i] on an `any` value.  @typescript-eslint/no-unsafe-member-access
200:7  Error: Expected a `for-of` loop instead of a `for` loop with this simple iteration.  @typescript-eslint/prefer-for-of
200:40  Error: Unsafe member access .length on an `any` value.  @typescript-eslint/no-unsafe-member-access
201:15  Error: Unsafe assignment of an `any` value.  @typescript-eslint/no-unsafe-assignment
201:29  Error: Unsafe call of an `any` typed value.  @typescript-eslint/no-unsafe-call
201:42  Error: Unsafe member access [i] on an `any` value.  @typescript-eslint/no-unsafe-member-access
205:23  Error: Unsafe argument of type `any` assigned to a parameter of type `string`.  @typescript-eslint/no-unsafe-argument
245:19  Error: Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator.  @typescript-eslint/no-floating-promises

./app/members/components/DataTable.tsx
6:3  Error: 'Row' is defined but never used.  @typescript-eslint/no-unused-vars
37:16  Error: 'setData' is assigned a value but never used.  @typescript-eslint/no-unused-vars
45:17  Error: 'setError' is assigned a value but never used.  @typescript-eslint/no-unused-vars

./app/members/components/DataTableToolbar.tsx
31:6  Warning: React Hook useEffect has missing dependencies: 'columnData.departments', 'columnData.positions', and 'columnData.roles'. Either include them or remove the dependency array. If 'setDepartments' needs the current value of 'columnData.departments', you can also switch to useReducer instead of useState and read 'columnData.departments' in the reducer.  react-hooks/exhaustive-deps
33:9  Error: 'getSelectedRows' is assigned a value but never used.  @typescript-eslint/no-unused-vars

./app/members/components/DataTableTypes.ts
3:13  Error: Use an `interface` instead of a `type`.  @typescript-eslint/consistent-type-definitions
8:13  Error: Use an `interface` instead of a `type`.  @typescript-eslint/consistent-type-definitions
18:13  Error: Use an `interface` instead of a `type`.  @typescript-eslint/consistent-type-definitions

./app/members/page.tsx
1:10  Error: 'Metadata' is defined but never used.  @typescript-eslint/no-unused-vars
28:23  Error: Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.  @typescript-eslint/prefer-nullish-coalescing
31:25  Error: Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.  @typescript-eslint/prefer-nullish-coalescing
32:74  Error: Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.  @typescript-eslint/prefer-nullish-coalescing
33:70  Error: Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.  @typescript-eslint/prefer-nullish-coalescing

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
error: script "lint" exited with code 1

repo: tum-ai/space


text:
module 'numpy' has no attribute 'math'. Did you mean: 'emath'?

https://github.com/tum-pbs/PhiML/blob/0c9dc3c32755ea1b36dfd804c0b1c2872805565d/phiml/backend/_numpy_backend.py#L73
I am getting an error on this line:
module 'numpy' has no attribute 'math'. Did you mean: 'emath'?

This should possibly be replaced with
scipy.special.loggamma

that's my assumption too. A simple change, just in case, here is the PR #8

authors: andreinechaev mcleantom

repo: tum-pbs/PhiML


text:
USB MIDI controller settings not saved

Dear Tuntorius,
I'm able to connect my MIDI pedal with foot switches by USB cable to my  phone and assign it control gain and turn  effects on and off. However, these assignments are lost between playing sessions. If I just disconnect and reconnect the cable from the phone the settings remain. However if I connect the next day, the app doesn't seem to remember the midi device, I need to find it again and all the assignments are gone.

Hi,
Is this happening on Android or iOS? I have tested USB MIDI devices on my Android phone many times, and there are no problems. However, I don't have a USB OTG cable for my iPhone to test on iOS.
Are the settings still lost if you close the app and reopen it immediately instead of waiting a long time?

This is happening on Android on Google Pixel 4 xl. I'm using an OTG dongle that came with the phone to adapt from USB type A to USB type C to connect to my phone.
Sent from Mail.ru app for Android Friday, 27 October 2023, 06:52PM +03:00 from tuntorius  @.*** :

Hi,
Is this happening on Android or iOS? I have tested USB MIDI devices on my Android phone many times, and there are no problems. However, I don't have a USB OTG cable for my iPhone to test on iOS.
Are the settings still lost if you close the app and reopen it immediately instead of waiting a long time?
—
Reply to this email directly,  view it on GitHub , or  unsubscribe .
You are receiving this because you authored the thread. Message ID:  @ github . com>

What about my last question?
Also, is your MIDI pedal changing its name, or does it have some special symbol in its name? The settings are saved per device name, and if it has some special symbols like quotes it may fail to save.

When the app is closed and reopened, it forgets about the midi controller, however after the controller scan is performed, it finds the controller with the same code and remembers the CC assignments.
If the midi controller is disconnected from the phone USB and reconnected in a few seconds,  the app loses the controller, and after a rescan, the controller is assigned a different name ("Arduino LLC Arduino Leonardo#206 MIDI 1.0" became "Arduino LLC Arduino Leonardo#930 MIDI 1.0") and of course, the CC assignments are lost.

I'm sure a device is not supposed to change its name like that. If this is a DIY Arduino pedal, its code should be fixed.

It is a custom-made Arduino midi pedal. Thank you for clarifying that the issue is with my device. Although unfortunately I don't think, it is feasible to fix it, as the developer lives too far away to make it worth the shipment back and forth and I cannot fix it myself.
I will close this issue. Thanks!

In that case, I'll add some code to match this name and strip the number from it. It's not the first time, anyway. The very popular MVave chocolate footswitch has an incorrect BLE advertising, and I had to apply a similar fix.

I'm reopening the issue because this might be a case with some Android phones, not with your MIDI controller. Recently I saw a phone that showed the same kind of hash sign and number in several MIDI controllers from different manufacturers.
So, instead of a fix specific to your case, I made the app to find numbers in this format and remove them from the name. The fix is in the latest update from yesterday. You can test it.

Dear Tuntorius, I was able to test the latest update and unfortunately the pedal commands are no longer registered by the app. The Pedal is detected with no hash or number (Arduino LLC Arduino Leonardo MIDI 1.0) but I cannot assign any parameter or effect changes any more.

Bump

The controller is now recognized and settings are saved if the device is reconnected! I think this issue can be closed!
Thank you very much!

authors: UN-DRE tuntorius


text:
linear growth in system RAM during load change in v0.1.8 to v0.2

First of all, thanks for all your work.  Hoping you might be able to point me to a change made between release v0.1.8 and v0.2.  I'm seeing a change in the system RAM usage during model loading that I'm trying to track down where the system RAM was hardly used during model load, but in v0.2 seems to grow linearly over model load time.  It does not seem to be a PP vs TP issue as loading both pipelines has the same effect.  If you could point me to the relevant change, that would be great thanks!

Ok nvm I found it, it's this commit https://github.com/turboderp/exllamav2/commit/d3fe9f25d2f1955a19b5f3015d50e5872a55cf1e

This change is problematic for me as I have minimal RAM allocation on wsl (5GB of RAM), but this change forces me to have free RAM as large as the model VRAM required by the model which is huge on large models (e.g. 48GB of RAM). Would be great if this change could be behind an optional load parameter - @turboderp

The loader only needs to keep one tensor in system RAM at a time. There are many issues with the safetensors library, though. Most of them are on Windows, but occasionally they manifest on Linux as well depending on virtual memory settings.
I would first of all update to v0.2.2 since there have been some bugs in the loader addressed since 0.2.0. Also try enabling fasttensors by setting config.fasttensors = True or defining the EXLLAMA_FASTTENSORS env variable, which should bypass safetensors. This is what loading a large model should look like:

I'll be rewriting the whole loader, though, and removing safetensors as a dependency since it causes way too many issues.

authors: Thireus edk208 turboderp


text:
Add table gcp_iam

References
CIS requirement >. 1.2 Ensure that multi-factor authentication is enabled for all non-service accounts (Manual) is required to fetch the MFA information.
Reference - https://cloud.google.com/identity/solutions/enforce-mfa
https://developers.google.com/admin-sdk/directory/reference/rest/v1/users/list

Need admin access to query gcp directory api.

repo: turbot/steampipe-plugin-gcp


text:
twitter_user returns empty for some user names

Describe the bug
If I query the twitter_user table for a user name that has an underscore after the first letter I get an empty response.
Steampipe version (steampipe -v)
Example: v0.16.4
Plugin version (steampipe plugin list)
Example: v0.2.0
To reproduce
Verify API return data with curl:
curl --request GET 'https://api.twitter.com/2/users/by/username/a_garfield101' --header 'Authorization: Bearer ....'

{"data":{"id":"108656083","name":"Andrew Garfield","username":"a_garfield101"}}

Check steampipe output
> .output line
> select * from twitter_user where username='a_garfield101'
>

Try a user with leading underscore to show in some cases it works
> select * from twitter_user where username='_fel1x'
-[ RECORD 1  ]---------------------------------------------------------------------------
id                | 212962007
name              | Felix Wilhelm
username          | _fel1x
created_at        | 2010-11-07T10:27:05-05:00
description       | Cloud security research at Project Zero
entities          | <null>
location          | Zürich, Switzerland
<snip>
_ctx              | {"connection_name":"twitter"}

Expected behavior
Information returned from the API about the user is displayed.
Additional context
Tested on Mac Monterey 12.6
I'm fairly new to using steampipe so maybe the problem is between the chair and keyboard.

Did some more testing today and the follow names return results:
A_Cookson
abuse_ch
but a_garfield101 still does not return nor USAA_help.
So overall I'm not sure where the issue is since it's hit or miss on whether an underscore matters.

Thanks @Rich5 for spotting the bug and adding so many details to the issue 👍.
I was able to successfully replicate this issue and you were right, the underscore definitely doesn't matter.
I ran the above query with the logger and had the following observations:
2022-10-25 16:57:28.980 UTC [ERROR] steampipe-plugin-twitter.plugin: [ERROR] 1666717048887: twitter_user.listUser: query_error="&{Not Found Error Could not find tweet with pinned_tweet_id: [935639732112982017]. https://api.twitter.com/2/problems/resource-not-found tweet pinned_tweet_id 935639732112982017}" opts="{[pinned_tweet_id] [id text attachments author_id context_annotations conversation_id created_at entities geo in_reply_to_user_id lang public_metrics possibly_sensitive referenced_tweets source withheld] [created_at description entities id location name pinned_tweet_id profile_image_url protected public_metrics url username verified withheld]}"

The issue occurs for the pinned_tweet column since the pinned_tweet_id (935639732112982017) doesn't exist.
Here is a sample JSON response that I managed to grab from the Twitter API playground -
{
  "data": {
    "pinned_tweet_id": "935639732112982017",
    "username": "a_garfield101",
    "name": "Andrew Garfield",
    "id": "108656083"
  },
  "errors": [
    {
      "value": "935639732112982017",
      "detail": "Could not find tweet with pinned_tweet_id: [935639732112982017].",
      "title": "Not Found Error",
      "resource_type": "tweet",
      "parameter": "pinned_tweet_id",
      "resource_id": "935639732112982017",
      "type": "https://api.twitter.com/2/problems/resource-not-found"
    }
  ]
}

I am looking at a possible fix wherein we would return nil for the pinned_tweet column whenever the pinned_tweet_id column returns a Not found Error code.

Nice sleuthing @ved!

For what it's worth I tested the recent commit and it seems to be working with the a_garfield101 test case.

> .output line
> select * from twitter_user where username='a_garfield101'
-[ RECORD 1  ]---------------------------------------------------------------------------
id                | 108656083
name              | Andrew Garfield
username          | a_garfield101
created_at        | 2010-01-26T11:56:07-05:00
description       | Somewhere between art and technology. Thoughts and words are all mine. QA Engineer @elastic
entities          | {"annotations":null,"cashtags":null,"hashtags":null,"mentions":null,"urls":null}
location          | Maryland
pinned_tweet      | <null>
pinned_tweet_id   | 935639732112982017
profile_image_url | https://pbs.twimg.com/profile_images/1243707147164307461/S6tMKyAq_normal.jpg
protected         | false
public_metrics    | {"followers_count":340,"following_count":106,"listed_count":10,"tweet_count":4962}
url               | https://t.co/aY1u1517Ws
verified          | false
withheld          | <null>
_ctx              | {"connection_name":"twitter"}
>

authors: Rich5 judell misraved

repo: turbot/steampipe-plugin-twitter