[BUG] Avalanche RPC blocked with a CORS error

Description
When attempting to use the Avalanche Chain RPC in the xchain-avax package, I receive the following error message: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.avax.network/ext/bc/C/rpc. (Reason: CORS preflight response did not succeed). Status code: 403." This error occurs in the const.ts file located at packages > xchain-avax > src > const.ts.
Steps to reproduce

Create a next js project with npx create-next-app@latest.
Import the @xchainjs/xchain-avax package.
Import the package and initialize it.

Expected behavior
The Avalanche Chain RPC should work as expected, not return any errors and allow me to transact.
Actual behavior
The Avalanche Chain RPC returns the error message described above.
Environment

Package version: 0.1.7
Framework: Nextjs 13.2.4

Solution
The issue can be resolved by changing the RPC value of the AVALANCHE_MAINNET_ETHERS_PROVIDER constant
https://github.com/xchainjs/xchainjs-lib/blob/07ebeb95eed180382d3aeaf9db01a6f6b99a9db2/packages/xchain-avax/src/const.ts#L26-L26
to something like:
const AVALANCHE_MAINNET_ETHERS_PROVIDER = new ethers.providers.JsonRpcProvider('https://rpc.ankr.com/avalanche')
The Ankr RPC is a lot more reliable based on my experience.
Additional Information
To fully address this issue, users should be able to pass in an RPC with the client, or by falling back to other RPC URLs until an RPC works in the event of some RPC downtime.

changed defaults to use ankr. BTW you can always choose not to use the defaults and create your own configuration to init  client


Cell selection doesn't work properly in Material theme

I'm submitting a ...  (check one with "x")
[ X ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/ceolter/ag-grid/blob/master/CONTRIBUTING.md#question

Current behavior
Load ag-grid with ag-material theme.
Repro here: https://www.ag-grid.com/javascript-grid-themes/material-theme.php
Left click and drag across text to select it
Result: No visible change to indicate the highlighted selection - I wouldn't know what is selected or that I can copy it.
Expected behavior
Expected behavior to be more like this: https://www.ag-grid.com/example.php
(intended behavior is described by ceolter here: https://github.com/ceolter/ag-grid/issues/87 )
Minimal reproduction of the problem with instructions
Repro here: https://www.ag-grid.com/javascript-grid-themes/material-theme.php
Left click and drag across text to select it
Result: No visible change to indicate the highlighted selection - I wouldn't know what is selected or that I can copy it.
What is the motivation / use case for changing the behavior?

Please tell us about your environment:
N/A

ag-Grid version: X.X.X
7.1.x.

Browser:
Chrome 55.0.2883.87

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

you need to have rangeSelection=true set to enable range selection.
see the demo here, choose material theme, and it is working.
https://www.ag-grid.com/example.php

Oh ok, I didn't realize rangeSelection was a requirement for copy/paste to work. Thanks.
It looks like I also have to have suppressCellSelection off (false), otherwise it doesn't work. I would consider that a bug, but already mentioned it under https://github.com/ceolter/ag-grid/issues/87 and it's not Material specific, so it's probably better covered there.


Add remove file command

Should be able to remote a file from the profile easily using dfm
should probably look like
dfm rmf file-name
since rm is already used.
This issue would be perfect for fixing at Ohio Linux Fest!

I will work on this.

No, I will


Improved Exception Message in ReshapePreprocessor.preProcess() and dead code removal

The preProcess() method throws an exception with a misleading message. Instead of including the targetShape, which when it does not match the input.shape() throws the exception, it was using this.inputShape which is incorrect and irrelevant in this method. Additionally removed the unused and unneeded local var: "inputShape" and getShape() call.
What changes were proposed in this pull request?
Improved Exception message and dead code removal
(Please fill in changes proposed in this fix)
How was this patch tested
code compiles, unit tests pass, minor changes made to exception message and removal of unused local var
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
Quick checklist
The following checklist helps ensure your PR is complete:

[x] Eclipse Contributor Agreement signed, and signed commits - see IP Requirements page for details
[ ] Reviewed the Contributing Guidelines and followed the steps within.
[ ] Created tests for any significant new code additions.
[ ] Relevant tests for your changes are passing.

@mjlorenzo305 please make sure to sign the eclipse foundation Eclipse Contributor Agreement. Thanks!

@mjlorenzo305 please make sure to sign the eclipse foundation Eclipse Contributor Agreement. Thanks!

done

I tried going back and amending a sign-off footer that I left off on the initial commit message, but I think I dug a deeper hole here, not sure why it's still not passing the eclipsefdn/eca check?

I think I finally sorted out the commit signing ... looks like it passed this time. No difference to the original file changes.  Thanks.


Preparing withdraw -> finish withdraw is not working

I don't appear to get take from the prepared state through to finishing the withdraws. Perhaps TFE uses a subscription here and isn't working due to the lack of GraphQL subscriptions.
Expected: as soon as the withdraw is prepared you are take to the screen that invites you to "Finish withdraw"

[ ] Change the text on the button from "complete" to "Finish withdraw"

https://www.figma.com/file/PPZp6wIZmhgTemLrIozO1A/token.vega.xyz?node-id=3977%3A101066

Able to successfully initiate and complete a withdrawal transaction on Staging. However Signature and transaction Id links are broken for which another issue has been raised #981


Reverse crowdin mappings in from-php command

This looks to match other projects:

Roslyn: https://github.com/dotnet/roslyn/tree/main/src/Analyzers/CSharp/Analyzers/xlf
Humanizr: https://github.com/Humanizr/Humanizer/tree/main/src/Humanizer/Properties

Note in particular:

zh-CN instead of zh. Keeping the redundant particle.
pt-BR instead of pt-br. Keeping the standard casing.

Without this, the compiler spits out errors on a fresh publish - something like "could not find part of the path pt-br" even though the folder "pt-BR" exists.

Actually, maybe it's better to use CultureInfo rather than reversing the mappings...


Audio engine crashes when browsing clips to scenes

Hey,
I'm currently using the 2.3.5 version of bitwig and recently bought the akai apc key25,
downloaded the latest version of the script and everything works pretty well,
except when browsing a clip into a scene block. (clicking a scene and pressing the B button, after choosing the desired clip the audio engine crashes and I need to restart it.)
Does anybody know what might cause this issus?
Regards
Sivan

Hi Sivan,
are you currently using the script from osakared or my fork?

Hey, I've been using your fork.
But actually I've noticed this bug happens regardless of the controller
mapping.. I guess it's a bug in the version (2.3.5)
I wonder if Bitwig fixed it in the recent versions.
Thanks anyway, your fork made a huge improvement
Sivan
On Sat, Mar 16, 2019 at 9:05 PM Bao Vuong<EMAIL_ADDRESS>wrote:

Hi Sivan,
are you currently using the script from osakared or my fork?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/osakared/apc-key-25-bitwig/issues/6#issuecomment-473575473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AuTT5ei-6VZp9klVx7dIcL3bmlDRpuZ5ks5vXUB7gaJpZM4bzyDk
.

--
Regards,
THE PINK CELLAR (an independent record label and recording studio)

I'm not getting this issue currently. Closing based on the assumption that it's a bug in Bitwig that has since been fixed. Please reopen if it happens again.


Amended missing semicolon

Hello. While familiarizing myself with the JavaScript source code, I spotted another missing semicolon in the .js files. This time, the bug was in was in file:
cfgov/jobmanager/static/jobmanager/js/supervision.js.
This has now been amended. The change should mitigate the bug risk.
Thank you.
Changes

Amended missing semicolon in goto-jobs jQuery function.

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍


Supporting invocations/await for the OneOf-Value

Hi,
first of all thanks for making this suppressor. It really makes OneOfs more usable.
I added support for method calls and await expressions to be suppressable. When using this suppressor I often run into the case that we do the following
var result = await SomethingAsync();
return result.Value switch
{
    ...
};

Less often, we just need to call a method without await. This PR adds support for both cases. I added simple test cases for both (invocation and await) to both suppressors.
return (await SomethingAsync()).Value switch
{
    ...
};

This also makes nested switch expressions work without (local) functions, which weren't possible before since you never could declare result. I also added a test for this (more as a documentation thing than an actual "does this really work" test)
return SomeFunc().Value switch
{
    SomeError => ...,
    Success s => SomeOtherFunc(s).Value switch
    {
       ...
    }
};

I moved some common logic for determining the ITypeSymbol of the expression to another helper because it's a bit more code now and inlining that into both suppressors seemed not to be the greatest idea.
It would be great if you could incorporate these changes into a new version of the published package. If you need me to change stuff just tell me what. You can also edit this branch yourself.
Thanks in advance,
David

Hi David,
thank you for your contribution. It looks good on first glance.
I will get around to reviewing it over the weekend.
I also remember there being some issues around licensing and who owns contributions. I will check those too and may have to require you to open a new PR.

I have updated the PR. I didn't only include nested awaits, but refactored the logic to use the same expression analyzer for awaits and non-awaits (so when, e.g. support for (await arr[0]).Value is added, support for arr[0].Value is also automatically added (or vice-versa)

@dmuehlenhoff Thank you for your changes.
I will do a bit of formatting and renaming (e. g. switchSyntaxExpression which is really the switchee).
I also found that it is not necessary to distinguish between the expression types just to get the type.
Only the await expression seems to require special handling (and only when the Task is in a var declared variable) to get the true nullable annotations of the generic type arguments on OneOf<...>.


Try implementing CSS modules to enable multiple versions of the designsystem on the same page

Consumers should be able to extend/compose: https://github.com/css-modules/css-modules/blob/master/docs/composition.md

Duplicate of #2409


how is the log format for my custom access log

	log_format main '[$time_local] upstream=$proxy_host upstream_addr=$upstream_addr '
		'remote_addr=$remote_addr status=$status request_time=$request_time '
		'user_agent="$http_user_agent" request="$request" '
             'authorization="$http_authorization"';

Output example:
[18/Apr/2019:23:10:10 -0300] upstream=xxx upstream_addr=<IP_ADDRESS>:123 remote_addr=<IP_ADDRESS> status=200 request_time=0.088 user_agent="Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36" request="GET /api/v1/notifications HTTP/2.0" authorization="Bearer xxxx"

This should do it:
goaccess access.log --log-format='[%d:%t %^] %^ %^= %^=%h %^=%s %^=%T %^="%u" %^="%r" %^' --date-format=%d/%b/%Y --time-format=%T

I'd like to chime in on this as well. My nginx error log is as follows:
2019/04/21 21:53:27 [error] 349#349: *2467 auth request unexpected status: 303 while sending to client, client: <IP_ADDRESS>, server: radarr.*, request: "GET / HTTP/1.1", host: "radarr.domain.com"
2019/04/21 21:53:28 [error] 349#349: *2471 auth request unexpected status: 303 while sending to client, client: <IP_ADDRESS>, server: radarr.*, request: "GET / HTTP/1.1", host: "radarr.domain.com"
2019/04/21 23:14:28 [error] 349#349: *3027 auth request unexpected status: 404 while sending to client, client: 72.x.x.x, server: tautulli.*, request: "GET / HTTP/1.1", host: "tautulli.domain.com"
2019/04/21 23:14:29 [error] 349#349: *3031 auth request unexpected status: 404 while sending to client, client: 72.x.x.x, server: tautulli.*, request: "GET / HTTP/1.1", host: "tautulli.domain.com"

But my access log is as follows:
<IP_ADDRESS> - - [22/Apr/2019:21:30:05 -0700] "HEAD /ombi/api HTTP/1.1" 200 0 "-" "Mozilla/5.0 (compatible; NIXStatsbot/1.1; +http://www.nixstats.com/bot.html)"
<IP_ADDRESS> - - [22/Apr/2019:21:30:05 -0700] "HEAD / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (compatible; NIXStatsbot/1.1; +http://www.nixstats.com/bot.html)"
<IP_ADDRESS> - - [22/Apr/2019:21:30:05 -0700] "HEAD /tautulli/api/ HTTP/1.1" 200 0 "-" "Mozilla/5.0 (compatible; NIXStatsbot/1.1; +http://www.nixstats.com/bot.html)"
<IP_ADDRESS> - - [22/Apr/2019:21:31:05 -0700] "HEAD / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (compatible; NIXStatsbot/1.1; +http://www.nixstats.com/bot.html)"
<IP_ADDRESS> - - [22/Apr/2019:21:31:05 -0700] "HEAD /ombi/api HTTP/1.1" 200 0 "-" "Mozilla/5.0 (compatible; NIXStatsbot/1.1; +http://www.nixstats.com/bot.html)"

And when I specify multiple files, I get this error in goaccess logs:
Parsed 10 lines producing the following errors:
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Token '2019/03/31' doesn't match specifier '%h'
Format Errors - Verify your log/date/time format

How can goaccess parse both?
I have this specified in the goaccess.conf file:
Time Format Options:
time-format %H:%M:%S
Date Format Options:
date-format %d/%b/%Y
Log Format Options (required):
# NCSA Combined Log Format log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"

@mattgphoto goaccess can only parse the access log. You can simply use:
goaccess access.log --log-format=COMBINED

This should do it:
goaccess access.log --log-format='[%d:%t %^] %^ %^= %^=%h %^=%s %^=%T %^="%u" %^="%r" %^' --date-format=%d/%b/%Y --time-format=%T

Worker for me


Changed the page to use auth_usage.rst

The paragraph about authentication usage is useful for multiple pages; thus moved it to the separate page and including here

LGTM.


Regression Task sample csv

Hi,
I am trying to implement the regression model for a task but I am not able to create a right csv, can you please share a sample csv in the repo, it will be really very helpful.
Thanks,
Shubham

Hi Shubham, please check out the protocol paper we have released which provides information on how to design the tables and such. The protocol and corresponding preprint can be found here: https://github.com/KatherLab/STAMP


API: provide usage data for leases from provider

Is your feature request related to a problem? Please describe.
As a tenant, I want to know how high the usage of my lease actually is, so that I can adjust my lease according to the needs of the deployment.
Describe the solution you'd like
Expected: As a tenant, I can either by command line or ui (akashlytics) see my actual resource usage of my lease. E.g:
Lease: 1 vCPU, 128M RAM, 32GB ephemeral storage
Actual (avg 15min): 0.5 vCPU, 48M RAM, 5GB ephemeral storage
non functional: I think an average of last 15min, 24h and 7 days would be sufficient. (?)
Describe alternatives you've considered
An ideal solution would be a dynamic lease system with upper/lower bounds for resource. But I think this would make things overly complicated.
Additional context
Benefits for tenants: can better adjust their actual usage and save potentially unnecessary costs.
Benefits for providers: have a better actual utilization of their resources which contributes to efficiencies and effectiveness of akash itself.

Hello @avolon42x . There are some other issues in here tracking dynamic lease adjustment. As far as CPU usage reporting, we don't have that on the roadmap but I think there is the possibility of getting that data from Kubernetes and displaying it.

Thx @hydrogen18 for commenting. Yes with metrics-server you can read out these stats. What was on my mind is that currently deployments are most of the time terribly inefficient since it is difficult to predict the workload requirements for tenants. Example from my small cluster:

As you can see with the exception of miners most deployments are grossly overscaled. Of course this is only a snapshot. But I expect most deployments to be like that.
So in order to become truly cost-efficient we need to give tenants a feedback on how efficient their deployment really is. This could lead to a massive improvement (10x at least) on deployment efficiency and thus cost advantages for tenants as well as more capacity on provider side.
I guess implementation can reach from simple API / data exposure to complete dynamic pricing strategies.
Ideas/Inputs are welcome!


How to make standardjs accept tabularized code?

What version of this package are you `using?
14.3.1
What problem do you want to solve?
I often write code as below
       const one   = 1
       const two   = 2
       const three = 3
       const four  = 4

But above is marked non standard by Standard JS becuase of extra spaces before =
How to bring StandardJS and Tabularize on same page?
What do you think is the correct solution to this problem?
Either allow spaces before = or provide a plugin for this
Are you willing to submit a pull request to implement this change?
Yet to give this a thought.

The problem with that style is that if you have e.g. this code:
const one   = 1
const two   = 2
const three = 3
const four  = 4
const five  = 5
const six   = 6
const seven = 7
const eight = 8
const nine  = 9
const ten   = 10

and then you want to add another line, the git diff will touch many more lines then were actually edited.
-const one   = 1
+const one    = 1
-const two   = 2
+const two    = 2
-const three = 3
+const three  = 3
-const four  = 4
+const four   = 4
-const five  = 5
+const five   = 5
-const six   = 6
+const six    = 6
-const seven = 7
+const seven  = 7
-const eight = 8
+const eight  = 8
-const nine  = 9
+const nine   = 9
-const ten   = 10
+const ten    = 10
+const eleven = 11

Another problem is that any one contributing to your code either has to install the Tabulizer plugin or manually adjust the affected lines...
Because of that I personally don't think that Standard should support this style ☺

A cool solution I've seen somewhere is to have an editor plugin that displays the assignments/properties aligned, but the actual source code still only has one space. I think that this is a great approach!

Thank you @codeofnode for using Standard and for bringing this up. I can understand where you're coming from. And yet having followed this project enough, I feel confident that this is clearly contrary to the "spirit" of Standard.


Wrap zfs and zfs/nv errors with the errors package

Description:
Wrap zfs and zfs/nv errors with the errors package for that stacktrace and context goodness.
Issues affected:

Related #308

This change is

Reviewed 25 of 25 files at r1.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

zfs/create.go, line 23 [r1] (raw file):

	err := nv.NewNativeEncoder(encoded).Encode(m)
	if err != nil {
		return errors.Wrapv(err, map[string]interface{}{"name": name, "input": m})

I think args would make a better key...

zfs/nv/decode.go, line 25 [r1] (raw file):

		err = errors.Newv("invalid encoding", map[string]interface{}{"encoding": enc.Encoding})
	} else if enc.Endianess > maxEndian {
		err = errors.Newv("invalid endianess", map[string]interface{}{"endianess": enc.Endianess})

mis-spelling, its endianness

zfs/nv/native_decoder.go, line 98 [r1] (raw file):

	err := binary.Read(d.r, binary.LittleEndian, &d.pair.nativeMeta)
	if err != nil {
		return "", 0, errors.Wrap(err, "failed to decode meta")

nvpair metadata

zfs/nv/native_decoder.go, line 104 [r1] (raw file):

	buf := make([]byte, len)
	if _, err = d.r.Read(buf); err != nil {
		return "", 0, errors.Wrap(err, "failed to read meta buffer")

nvpair metadata

zfs/nv/xdr_decoder.go, line 60 [r1] (raw file):

func (d *XDRDecoder) meta() (string, dataType, error) {
	_, err := xdr.Unmarshal(d.r, &d.pair)
	return d.pair.Name, d.pair.Type, errors.Wrap(err, "failed to decode meta")

nvpair metadata

Comments from Reviewable

Review status: all files reviewed at latest revision, 5 unresolved discussions.

zfs/create.go, line 23 [r1] (raw file):
Previously, mmlb (Manuel Mendez) wrote…
> I think args would make a better key...

I went with "input" because that's what it's called in `ioctl()` and wanted to make for consistent error contextual data naming. I guess I could change the error data key inside `ioctl()` to be "args"...

zfs/nv/decode.go, line 25 [r1] (raw file):
Previously, mmlb (Manuel Mendez) wrote…
> mis-spelling, its endianness

It was one "n" in both `enc.Endianess` and the error message before this change. Fixed the error message; i'll leave the `encoding{}` field change for another pr.

zfs/nv/native_decoder.go, line 98 [r1] (raw file):
Previously, mmlb (Manuel Mendez) wrote…
> nvpair metadata

Done.

zfs/nv/native_decoder.go, line 104 [r1] (raw file):
Previously, mmlb (Manuel Mendez) wrote…
> nvpair metadata

Done.

zfs/nv/xdr_decoder.go, line 60 [r1] (raw file):
Previously, mmlb (Manuel Mendez) wrote…
> nvpair metadata

Done.

Comments from Reviewable

Reviewed 6 of 6 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

zfs/create.go, line 23 [r1] (raw file):
Previously, TauZero (Brian Bickerton) wrote…
> I went with "input" because that's what it's called in `ioctl()` and wanted to make for consistent error contextual data naming. I guess I could change the error data key inside `ioctl()` to be "args"...

+1 for args along with the ioctl change

Comments from Reviewable

Review status: 15 of 26 files reviewed at latest revision, 1 unresolved discussion.

zfs/create.go, line 23 [r1] (raw file):
Previously, mmlb (Manuel Mendez) wrote…
> +1 for args along with the ioctl change

Done.

Comments from Reviewable

Reviewed 11 of 11 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


A Grunt custom task module.

To declutter the main Gruntfile.js, move your custom task code to a separate module.
Other few improvements included in this patch:

Upgraded some Grunt task plugins related to the build process;
Enabled Grunt JIT, for (slightily) faster builds.

2015-10-05: Rebased to include latest development commits.

Sorry I sat on this one for so long - honestly, once the tasks are working I'm reluctant to go and change them all again without good reason. I like what is being done here, and will remember it for the future, but don't feel it's worth making this level of change at this stage now, sorry.

Wow, so much happened after this I almost forgot it still existed :)
From what I remember, this is a "follow up" to an attempt at improving the building system, but the way I edited the commits before was a complete mess. After trying to put things in place a couple times or so, I decided to decline the former PR in place of more focused, smaller edits, I'd deliver to incorporate the former changes.
I'm sure the edits here were just to move the task code inside another module, the task code itself and what it does wasn't changed at all. I'm not sure how much of this is up to date, though. And, even if the changes were moved into Phaser now, I doubt I have the energy to keep up doing this stuff at the moment.
Since preparing Lazer for its first release being your primary focus now, I perfectly understand bringing these kind of changes into Phaser doesn't make much sense. I'm also looking forward for Lazer too, getting very anxious already.
Thanks for replying back and for all the good time proportioned by Phaser. Not my last contribution here, though next ones won't try to "change the world" either.
My best regards.


Rc into master after 2.2 release

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4955


sh: 0: Can't open echo

Hey there,
i get following exception....
[Step 1/59] Running PrExtras
[11:37:11]	[Step 1/59] GitHub API URL: https://api.github.com
[11:37:11]	[Step 1/59] owner: ***** repo: *****
[11:37:11]	[Step 1/59] Exporting config param 'teamcity.build.pull_req.is_pull_req' with value of 'false'
[11:37:11]	[Step 1/59] Exporting config param 'teamcity.build.pull_req.branch_name' with value of '3096/head'
[11:37:11]	[Step 1/59] Exporting config param 'teamcity.build.pull_req.base_branch_name' with value of '3096/head'
[11:37:11]	[Step 1/59] Exporting config param 'teamcity.build.pull_req.is_merged' with value of 'false'
[11:37:11]	[Step 1/59] Exporting config param 'teamcity.build.pull_req.is_closed' with value of 'false'
[11:37:11]	[Step 1/59] Starting: sh echo "Branch name is 3096/head"
[11:37:11]	[Step 1/59] in directory: /opt/TeamCity/buildAgent2/work/3019f93124644428
[11:37:11]	[Step 1/59] sh: 0: Can't open echo
[11:37:11]	[Step 1/59] Process exited with code 127
[11:37:11]	[Step 1/59] Process exited with code 127 (Step: PullRequest Extra Info (PullRequest Extra Info))
[11:37:11]	[Step 1/59] Step PullRequest Extra Info (PullRequest Extra Info) failed
`

should be fixed in https://github.com/Nicologies/PrExtras/releases/tag/1.0.11


Angular directives

My project uses Angular (1.5.8) and I'm looking into using bootstrap-validator.  I'm running into an issue though, with using it along with angular directives.  When a form and its controls are in a view/html page (that gets directly loaded), bootstrap-validator works.  However, if I refactor the form and its contents out of the page and into a directive, bootstrap-validator doesn't work.
To test & verify, I used the sample form that's on https://1000hz.github.io/bootstrap-validator/ and placed it in a directive.  In chrome, when I click submit, instead of bootstrap-validator's validation, I get chrome's default validation (a tool tip appears and says, "Please fill out this field").
If needed I can upload a sample project to demo the issue, but the basic repro steps are, in index.html, add a controller, and then add the form that's on the bootstrap-validator site, ala:

         <form data-toggle="validator" role="form"> 			. 			. 			.
Verify this works, then refactor the form into a directive:
sampleDirective.js:
<form data-toggle="validator" role="form"> 			. 			. 			.
...and update index.html:

 		<sample-directive></sample-directive> 		. 		. 		.
This might be related to the "On load doesn't work" issue that was recently posted.

I get chrome's default validation (a tool tip appears and says, "Please fill out this field").

This means the plugin wasn't initialized on your form (or else novalidate="true" would have been set). Since you're rendering client-side, you can't rely on the data-api to initialize the validator for you on page load (since the load event has presumably already fired). You should initialize the plugin manually with .validator() inside your directive.

Thanks!  That was the issue.  If anyone else runs into this problem (using Angular and an Angular directive), here's my solution:
My view/template that's served up by the directive starts off with a  and has an id of "test-form":
`
...
`
Then in my directive, I added link() and am calling $timeout():
`myModule.directive("myDirective", ["$compile", "$timeout", function($compile, $timeout) {
function link(scope, element, attrs) {
$timeout(function() {
$("#test-form").validator();
});
}
return {
	restrict: "E",
	templateUrl: "myDirective.html",
	scope: true,
	link: link
};

}]);
`


Django client template_debug's source_lines is just a snippet

When using the Jinja2 template engine over the built-in Django one I came across this bug where get_data_from_template was itself breaking. As a result, when debugging, I would get the template error in my browser, but raven would never send the exception to my Sentry server as execution stopped in this function.
In the template_debug field of the Exception, the source_lines is actually a snippet, not the full source of the template source_lines is also list of tuples, not just a list of lines in the form of [(linenbr, 'line-detail'), (linenbr, 'line-detail'), ...]
So I generate source_lines starting with an empty list, adding blank lines until we get to the snippet, then add the snippet as a list.
Also, debug['start'] and debug['end'] didn't exist (although they do when using the Django template engine), but  I removed these lines because start and end are never used elsewhere in the function (only in the source elif branch)
Finally, if the context_line was the last line of the template, I padded source_lines with a few extra post_context does not break.

This change is

Thanks!


propose change "all software is simply ..."

Following this thread: https://www.linkedin.com/feed/update/urn:li:activity:7157421968483328000?utm_source=share&utm_medium=member_desktop

Reverted the sentence, due to discussion in LI group. But propose to remove 'simply'.

The change was accepted as per the votes here: https://www.linkedin.com/feed/update/urn:li:activity:7163142940423344129?


Add target for rpi disk

This commit adds a flavor for tumbleweed raspberry pi image that uses a after-disk hook to copy firmware into the EFI partition.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6358862) 75.29% compared to head (74e4a42) 75.30%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1859      +/-   ##
==========================================
+ Coverage   75.29%   75.30%   +0.01%
==========================================
  Files          67       67
  Lines        6825     6828       +3
==========================================
+ Hits         5139     5142       +3
  Misses       1315     1315
  Partials      371      371

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove tensorboardX dependency

Pytorch supports an tensorboard out of the box. Let's use it.
@sarytky Please take care of this when you will also be working on the callback for visualizing the result of the segmentation

Fixed.


What is the criteria for cordz being enabled? (build failure targetting shared library)

Describe the issue
I'm trying to build abseil as a shared library from the source tarball. However, if I try doing a shared build, I get the following error:
[ 90%] Linking CXX shared library libabsl_cord.so
ld: 0711-317 ERROR: Undefined symbol: absl::lts_20220623::cord_internal::cordz_next_sample
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status

This points to: https://github.com/abseil/abseil-cpp/blob/72ec15a317a74cccf03a62f749f3ab28206be069/absl/strings/internal/cordz_functions.h#L35-L48
...which seems to be some internal thing. The comments aren't really clear what cordz or hashtablez are, or why these conditions would disable cordz. It seems to be required, however, considering it errors out on needing this thread-local global: https://github.com/abseil/abseil-cpp/blob/72ec15a317a74cccf03a62f749f3ab28206be069/absl/strings/internal/cordz_functions.h#L56
FWIW, if I turn on verbose output in the linker:
[ 90%] Linking CXX shared library libabsl_cord.so
(ld): setopt 64
(ld): halt 4
(ld): setopt r/o->w
(ld): setopt noipath
(ld): setopt rtl
(ld): setopt rtllib
(ld): setopt symbolic:1
(ld): setfflag 4
(ld): savename libabsl_cord.so.2206.0.0
(ld): filelist 36 3
(ld): setopt noprogram
(ld): noentry
NOENTRY: There is no entry point.
(ld): i /QOpenSys/pkgs/bin/../lib/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/pthread/ppc64/crtcxa_s.o
(ld): i /tmp//ccaqzlFm.o
(ld): i /QOpenSys/pkgs/bin/../lib/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/pthread/ppc64/crtdbase.o
(ld): i CMakeFiles/cord.dir/cord.cc.o
(ld): i CMakeFiles/cord.dir/cord_analysis.cc.o
(ld): i CMakeFiles/cord.dir/cord_buffer.cc.o
(ld): i libabsl_cordz_info.so.2206.0.0
(ld): i libabsl_cord_internal.so.2206.0.0
(ld): i libabsl_cordz_functions.so.2206.0.0
(ld): i ../profiling/libabsl_exponential_biased.so.2206.0.0
(ld): i libabsl_cordz_handle.so.2206.0.0
(ld): i ../synchronization/libabsl_synchronization.so.2206.0.0
(ld): i ../debugging/libabsl_stacktrace.so.2206.0.0
(ld): i ../synchronization/libabsl_graphcycles_internal.so.2206.0.0
(ld): i ../debugging/libabsl_symbolize.so.2206.0.0
(ld): i ../debugging/libabsl_debugging_internal.so.2206.0.0
(ld): i ../base/libabsl_malloc_internal.so.2206.0.0
(ld): i ../debugging/libabsl_demangle_internal.so.2206.0.0
(ld): i ../time/libabsl_time.so.2206.0.0
(ld): i libabsl_strings.so.2206.0.0
(ld): i libabsl_strings_internal.so.2206.0.0
(ld): i ../base/libabsl_base.so.2206.0.0
(ld): i ../base/libabsl_spinlock_wait.so.2206.0.0
(ld): i ../numeric/libabsl_int128.so.2206.0.0
(ld): i ../time/libabsl_civil_time.so.2206.0.0
(ld): i ../time/libabsl_time_zone.so.2206.0.0
(ld): i ../base/libabsl_throw_delegate.so.2206.0.0
(ld): i ../types/libabsl_bad_optional_access.so.2206.0.0
(ld): i ../base/libabsl_raw_logging_internal.so.2206.0.0
(ld): i ../base/libabsl_log_severity.so.2206.0.0
(ld): lib /QOpenSys/pkgs/bin/../lib/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/libstdc++.so
(ld): lib /usr/lib/libm.a
(ld): lib /QOpenSys/pkgs/bin/../lib/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/libgcc_s.so
(ld): lib /usr/lib/libpthreads.a
(ld): lib /usr/lib/libc.a
(ld): lib /usr/lib/librtl.a
LIBRARY: Symbols imported from import file libabsl_cordz_info.so.2206.0.0[shr_64.imp]: 25
LIBRARY: Symbols imported from import file libabsl_cord_internal.so.2206.0.0[shr_64.imp]: 91
LIBRARY: Symbols imported from import file libabsl_cordz_functions.so.2206.0.0[shr_64.imp]: 5
LIBRARY: Symbols imported from import file ../profiling/libabsl_exponential_biased.so.2206.0.0[shr_64.imp]: 4
LIBRARY: Symbols imported from import file libabsl_cordz_handle.so.2206.0.0[shr_64.imp]: 18
LIBRARY: Symbols imported from import file ../synchronization/libabsl_synchronization.so.2206.0.0[shr_64.imp]: 106
LIBRARY: Symbols imported from import file ../debugging/libabsl_stacktrace.so.2206.0.0[shr_64.imp]: 8
LIBRARY: Symbols imported from import file ../synchronization/libabsl_graphcycles_internal.so.2206.0.0[shr_64.imp]: 17
LIBRARY: Symbols imported from import file ../debugging/libabsl_symbolize.so.2206.0.0[shr_64.imp]: 7
LIBRARY: Symbols imported from import file ../debugging/libabsl_debugging_internal.so.2206.0.0[shr_64.imp]: 1
LIBRARY: Symbols imported from import file ../base/libabsl_malloc_internal.so.2206.0.0[shr_64.imp]: 11
LIBRARY: Symbols imported from import file ../debugging/libabsl_demangle_internal.so.2206.0.0[shr_64.imp]: 2
LIBRARY: Symbols imported from import file ../time/libabsl_time.so.2206.0.0[shr_64.imp]: 109
LIBRARY: Symbols imported from import file libabsl_strings.so.2206.0.0[shr_64.imp]: 165
LIBRARY: Symbols imported from import file libabsl_strings_internal.so.2206.0.0[shr_64.imp]: 19
LIBRARY: Symbols imported from import file ../base/libabsl_base.so.2206.0.0[shr_64.imp]: 38
LIBRARY: Symbols imported from import file ../base/libabsl_spinlock_wait.so.2206.0.0[shr_64.imp]: 5
LIBRARY: Symbols imported from import file ../numeric/libabsl_int128.so.2206.0.0[shr_64.imp]: 57
LIBRARY: Symbols imported from import file ../time/libabsl_civil_time.so.2206.0.0[shr_64.imp]: 10
LIBRARY: Symbols imported from import file ../time/libabsl_time_zone.so.2206.0.0[shr_64.imp]: 97
LIBRARY: Symbols imported from import file ../base/libabsl_throw_delegate.so.2206.0.0[shr_64.imp]: 21
LIBRARY: Symbols imported from import file ../types/libabsl_bad_optional_access.so.2206.0.0[shr_64.imp]: 9
LIBRARY: Symbols imported from import file ../base/libabsl_raw_logging_internal.so.2206.0.0[shr_64.imp]: 9
LIBRARY: Symbols imported from import file ../base/libabsl_log_severity.so.2206.0.0[shr_64.imp]: 4
LIBRARY: Symbols imported from import file /QOpenSys/pkgs/bin/../lib/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/libstdc++.so[shr_64.imp]: 5947
LIBRARY: Symbols imported from import file /QOpenSys/pkgs/bin/../lib/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/libgcc_s.so[shr_64.imp]: 150
LIBRARY: Shared object libpthreads.a[shr_xpg5_64.o]: 342 symbols imported.
LIBRARY: Shared object libc.a[shr_64.o]: 3114 symbols imported.
LIBRARY: Shared object libc.a[posix_aio_64.o]: 20 symbols imported.
LIBRARY: Shared object libc.a[aio_64.o]: 18 symbols imported.
LIBRARY: Shared object libc.a[pse_64.o]: 8 symbols imported.
LIBRARY: Shared object libc.a[dl_64.o]: 4 symbols imported.
LIBRARY: Shared object libc.a[pty_64.o]: 1 symbols imported.
LIBRARY: Shared object librtl.a[lazy42_64.o]: 3 symbols imported.
FILELIST: Number of previously inserted files processed: 36
(ld): exports CMakeFiles/cord.dir/shr_64.imp
EXPORTS: Symbols exported: 63
(ld): exports /tmp//ccapcm4s.x
EXPORTS: Symbols exported: 2
(ld): initfini _GLOBAL__FI_libabsl_cord_so _GLOBAL__FD_libabsl_cord_so
(ld): resolve
RESOLVE: 273 of 12818 symbols were kept.
(ld): addgl /usr/lib/glink64.o
ADDGL: Glink code added for 42 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR Import-File{Shared-object}
                              RLD: Address  Section  Rld-type Referencing Symbol
 ----------------------------------------------------------------------------------------------
 absl::lts_20220623::cord_internal::cordz_next_sample      [12]    ER UL /rpmbuild/BUILD/abseil-cpp-20220623.1/absl/strings/cord.cc(CMakeFiles/cord.dir/cord.cc.o)
                                   00014bd8 .data    R_TLS    [484]   <absl::lts_20220623::cord_internal::cordz_next_sample>
                                   00014be0 .data    R_TLSM   [486]   <.absl::lts_20220623::cord_internal::cordz_next_sample>
ER: The return code is 8.ld: 0711-317 ERROR: Undefined symbol: absl::lts_20220623::cord_internal::cordz_next_sample
collect2: error: ld returned 8 exit status

make[2]: *** [absl/strings/CMakeFiles/cord.dir/build.make:141: absl/strings/libabsl_cord.so.2206.0.0] Error 1

That blames cord.cc, but I don't see any reference to this variable in it?
Steps to reproduce the problem
mkdir cmake-build
cd cmake-build
cmake .. -DBUILD_SHARED_LIBS:BOOL=On -DCMAKE_BUILD_TYPE=Release
make -j

What version of Abseil are you using?
20220623.1
What operating system and version are you using?
IBM i 7.2 (via PASE, its AIX compatibility layer)
What compiler and version are you using?
Reading specs from /QOpenSys/pkgs/bin/../lib/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/specs
COLLECT_GCC=/QOpenSys/pkgs/bin/gcc-6.bin
COLLECT_LTO_WRAPPER=/QOpenSys/pkgs/bin/../libexec/gcc/powerpc-ibm-aix<IP_ADDRESS>/6.3.0/lto-wrapper
Target: powerpc-ibm-aix<IP_ADDRESS>
Configured with: ../gcc-6.3.0/configure --prefix=/opt/freeware --mandir=/opt/freeware/man --infodir=/opt/freeware/info --with-local-prefix=/opt/freeware --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enable-languages=c,c++,fortran,objc,obj-c++ --enable-version-specific-runtime-libs --disable-nls --enable-decimal-float=dpd --with-cloog=no --with-ppl=no --disable-libstdcxx-pch --enable-__cxa_atexit --host=powerpc-ibm-aix<IP_ADDRESS>
Thread model: aix
gcc version 6.3.0 (GCC)
What build system are you using?
cmake version 3.16.9
Additional context
No response

I'm going to disable cordz on all non-Linux platforms. The cordz feature is something we use to collect data on how absl::Cord is being used so we can optimize it. It does nothing in opensource builds anyway.

Confirming that applying the patch worked for me.


Suggested way to create dynamic tabular table

Here is how I solved my issue of generating a dynamic tabular:

Blaze html dynamicTabular.html
<template name="dynamicTabular">
         {{#if isTabularReady }}
               {{> tabular table=getTabular selector=selector class="table table-striped table-bordered table-condensed"}}
          {{else}}
                {{createTable}}
          {{/if}}
</template>

Client file: Blaze .js dynamicTabular.js
Template.dynamicTabular.onCreated(function () {
    this.tabular = new ReactiveDict();
  });

Template.dynamicTabular.helpers({
    isTabularReady: function() {
      var self = Template.instance();
      return self.tabular.get("tabular.isReady");
    },
    getTabular: function() {
      var self = Template.instance();
      return Tabular.tablesByName[self.tabular.get("tabular.name")];
    },
 createTable: function() {
  // here I am displaying only 1 column based on the data context of dynamicTabular
   var columns=[{data:this.data, title: this.title}];
   var selector = this.selector || {}; // use the selector passed to the data context of dynamicTabular
  var collectionName = this.collectionName; // name of the variable storing the new Mongo.Collection("")

  var tabularName = Random.id();
   var self = Template.instance();

Meteor.call("createTabular", tabularName, collectionName, columns, selector, function(err, results) {
          if (!err) {
              new Tabular.Table({
                  name: tabularName,
                  collection: eval(collectionName),
                  "lengthMenu": [[10, 25, 50, -1],[10, 25, 50, "All"]],
                  responsive: true,
                  autoWidth: true,
                  selector: function() {
                      return selector;
                  },
                  buttonContainer: '.col-sm-6:eq(0)',
                  columns: columns
              });

              self.tabular.set("tabular.name", tabularName);
              self.tabular.set("tabular.isReady", true);
          }
      });
},

Server side:
 Meteor.methods({
    "createTabular" : function(name, collectionName, columns, selector) {
        check(name, String);
        check(columns, Match.Any);
        check(selector, Match.Any);
        new Tabular.Table({
            name: name,
            collection: eval(collectionName),
            "lengthMenu": [[10, 25, 50, -1],[10, 25, 50, "All"]],
            responsive: true,
            autoWidth: true,
            selector: function() {
                return selector;
            },
            buttonContainer: '.col-sm-6:eq(0)',
            columns: columns
        });
    }
  })

Usage would be:
{{> dynamicTabular data="_id" title="key" collectionName="Docs"}}

Should I delete the tabular on the server once the template is destroyed?

Deleting on the server would help with memory. You have some pretty big security holes with this approach, though, so I would only use this approach if that Meteor method is locked down to only users you trust. At the very least, I would create a dictionary of all your collections by name and use that instead of eval since someone could very easily exploit that.

I have added a call to delete the tabular on the server once the template is destroyed, but it doesn't feel robust as we have no guarantee of it being called (for example the user closing the browser).
I'll look into a self-cleaning mechanism on the server where the the TabularTable would self-delete when there is no more subscribers.
As for the eval, it was a proof of concept to pass the collection name.


Fix Regular Expression Denial of Service (ReDoS)

https://snyk.io/vuln/npm:ms:20170412

Coverage remained the same at 63.804% when pulling d49a69f5e1f7ef335ef644b5a0eae85630f0fca4 on hubdotcom:patch-1 into 4a6c85c6018a4a4cff4b04f40173ca9d2c72c1da on visionmedia:master.

would love to see this landed :-) I am a way upstream consumer and this is the one open vulnerability I've got at the moment.

live on https://github.com/visionmedia/debug/releases/tag/2.6.7
@dougwilson

We also see this issue in our projects.  It will take some time until all of them are updated.
But I wonder if this issue affects debug at al.
Looking quickly in the code, it seems ms is called only with a number, not with a string. So this ReDoS issue should not be relevant, right?
    var ms = curr - (prevTime || curr);
    self.diff = ms;

https://github.com/visionmedia/debug/blob/master/src/debug.js#L73
exports.humanize = require('ms');

https://github.com/visionmedia/debug/blob/master/src/debug.js#L14
    args.push('\u001b[3' + c + 'm+' + exports.humanize(this.diff) + '\u001b[0m');

https://github.com/visionmedia/debug/blob/master/src/node.js#L115


Downgrade languages to Beta

Over the past couple months, French has dropped below the 85% quality threshold for official languages so it will be downgraded to beta.
Release Note
Downgraded French language support to Beta.

Curious why the downgrade ?

@M-ZubairAhmed Over the past couple months, French has dropped below the quality threshold for official languages so it will be downgraded to beta.

/update-branch

Pull Request successfully merged
SHA: 14ac00da5254e39c81469a64677d44675ebb0645

Cherry pick is scheduled.

/cherry-pick cloud


Documentation - Prerequisites (Fix)

In the documentation is said:
sudo apt install software-properties-common
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt update
sudo apt install ruby2.3 ruby2.3-dev build-essential

Fix the last line to:
sudo apt install ruby2.3 ruby2.3-dev build-essential zlib1g-dev liblzma-dev libmysqlclient-dev

On the pre requisites page libmysqlclient-dev is mentioned under MySQL already as it is more relevant there.
Where have zlib1g-dev and liblzma-dev come from?

Because nokogiri gem is not installing without them (zlib1g-dev and liblzma-dev).
Sorry about libmysqlclient-dev, I haven't looked at this section because I have a separate DB server. But I think that this dependency must be in the base section.

Can you send a copy of the error message you see when installing Postal? People have had issues with this gem in the past.

I can't show you the error itself on installation (because it was yesterday and it disappeared), but I can show you a log file after that error.
cat /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.7.2/mkmf.log

"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC  conftest.c  -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/ruby2.3-dDq47g/ruby2.3-2.3.6/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic     -lruby-2.3  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"gcc -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC    -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

have_library: checking for gzdopen() in -lz... -------------------- no

"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC  -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/ruby2.3-dDq47g/ruby2.3-2.3.6/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic     -lruby-2.3 -lz  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
conftest.c:3:18: fatal error: zlib.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <zlib.h>
 4:
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     printf("%p", &t);
11:   }
12:
13:   return 0;
14: }
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return !p; }
/* end */

"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC  -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/ruby2.3-dDq47g/ruby2.3-2.3.6/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic     -lruby-2.3 -lz  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
conftest.c:3:18: fatal error: zlib.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <zlib.h>
 4:
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     printf("%p", &t);
11:   }
12:
13:   return 0;
14: }
15: extern void gzdopen();
16: int t(void) { gzdopen(); return 0; }
/* end */

--------------------

Okey, from this log I see that we only need zlib1g-dev. But when I google yesterday there was suggestion on stackoverflow or github to install them both.

Interesting, are you definitely on Ubuntu 16.04?

Yep. But I have own cloud on XEN and when I install Ubuntu I remove all checkboxes from suggested packages on installation process to make OS maximally clean.

Ah yes it would seem that the package isn't always available by default, not even in some readily available cloud providers (https://github.com/ModernMT/MMT/issues/231).
Someone from atech will need to update the wiki to add in zlib1g-dev and move libmysqlclient-dev but we don't seem to have liblzma-dev installed and have no problems.


Remove diagnostics for deleted files

PR fixing issue #173
It runs through the diagnostics every time they are updated, searching for files that are no longer there, and then removes them.

Rockin'

This is shipped in 2.5.0


Text to speech

Hey guys ... Please implement text to speech functions .

Hello ? Do you have telegram ? Please help me setup this reader in my app !


A way to dump QuickJS bytecode / .zipline files into human-readable text

I want to run an equivalent of javap -c on a .zipline file to see its bytecode.
QuickJS contains a mechanism to printf a bunch of details during compilation, but it's behind an #ifdef and is a compilation side-effect rather than an explicit operation on compiled bytecode. We could add this to the 'zipline-bytecode' artifact (and then the CLI), but that means keeping the friendly string names of a bunch of constants in sync with the C code.

'zipline-bytecode' doesn't model opcodes. Oof.

For now, it lives on a branch because it requires recompiling QuickJS native libs 😭
https://github.com/cashapp/zipline/compare/jw/dump/2022-10-21

Also note this ingests the .js and not the .zipline.

Going to close as I'm fulfilling my needs with a qjs patch.


From 1.0.0-next.292: adapter-static: builder.prerender() has been removed. Prerendering now takes place in the build phase — see builder.prerender and builder.writePrerendered

Describe the bug
Using:
"@sveltejs/adapter-static": "1.0.0-next.28",
"@sveltejs/kit": "1.0.0-next.292",

during npm run build:

Using @sveltejs/adapter-static
builder.prerender() has been removed. Prerendering now takes place in the build phase — see builder.prerender and builder.writePrerendered

I'm in SPA only mode.
Severity
blocking an upgrade

same as #4224
will be fixed

Close as duplicate of https://github.com/sveltejs/kit/issues/4224.


Disable background timeline scrolling when using mouse scroll to zoom photo

In the web interface, when the mouse scroll is used to zoom in and out of the photo, the timeline scrolls as well.
I would suggest fixing this issue by disabling timeline scrolling when a user is in photo viewing mode.

This one shouldn't be too difficult to fix and it seems super annoying UX. I'll look into it.


unable to connect to forwarded X server

I use a ssh client Kitty, and each time vim startup slowly, and after I exit vim, it shows the following message:
KiTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
I comment the gui related setting in basic.vim and extended.vim, it doesn't work.

This isn't related to this vimrc.


New "reorder" question type

Essentially parsons questions but without indentation.
This PR also includes a couple of small fixes to parsons questions.

How is this distinct from a Parsons's question with disableIndentation=true?

How is this distinct from a Parsons's question with disableIndentation=true?

@jsharkey13 It's not really - its just a separation of concerns. It might be that either type of question ends up evolving in a different direction, since one is programming-oriented and the other is unopinionated.
If you want to save on some class definitions, maybe it's possible to just have IsaacReorderQuestion extend IsaacParsonsQuestion but set disableIndentation=true in the constructor?


Explicitly use python3 from the Makefile.

For the Xtensa docker container, we were getting an error message along the lines of python not found. And the result was that the specialization was happening incorrectly (i.e. the specialization for the kernels was failing since it relies on python since #160).
Exactly why this error passed the CI for #160 but started failing after is not entrely clear but is something that we are not going to investigate.

I have instead updated the Xtensa docker image to install python.


Link schema fields to DB columns with different name

At the moment it seems impossible to specify a (different) name for the column in the DB a Field should point to, e.g.:
schema: [
    DateField('created', { column: 'created_at' }),
    ...
]

No problem, I'll add this.

Added in version 0.3.0


Organize repo and Qdrant Sample

This PR:

Adds Python VS Code extension to devcontainer configuration
Updates main README
Adds READMEs for basic samples and E2E samples subdirectories
Adds Qdrant GitHub Issues Sample

@colombod this is ready for review / merge

@colombod this is ready for review / merge

Looks good to me, I don't have merge permissions on this repo


Winamp support

Hi, after downloading v1.4.4 the app stopped seeing Winamp and wouldn't scrobble from it. I also tried JRTStudio app and it worked. Thanks

@Cisownik  @StErMi @petesimon @sturek82 @mmrose
Are any of you still using WinAmp for Android?
I can't find any reliable sources for the newest version of WinAmp...
We can't really support an application (.apk) we cannot find or trust.

I do not use it anymore.

WinAmp is deprecated, I think I'll be closing all of it's related issues unless a reliable new version is released from nullsoft.


Steam 3d games too dark

When I play a game on Steam, such as Portal, the games are too dark, and some objects are translucent, passing over other objects, have funky glare, and/or are invisible until all of the object is on the screen. Is there any way to fix this?

I've figured out that this is a problem with my chromebook's GPU. As far as I can remember, my GL is 3.0 Mesa.


Undefined offset error when object is casted to array and has string keys

Summary of problem or feature request
I get an error "Undefined offset" when an object is used to generate the data tables when that object is casted to an array and uses string keys. It turns out that in this case, keys are not usable to get a value from the casted array as stated here: https://stackoverflow.com/a/11353855/1997303. While this behaviour is odd, it seems expected: http://www.php.net/language.types.array.php#language.types.array.casting.
More details about the exception:
ErrorException

Undefined offset: 48738%0A
--
in Helper.php (line 233)
at HandleExceptions->handleError(8, 'Undefined offset: 48738', 'vendor/yajra/laravel-datatables-oracle/src/Helper.php', 233, array('row' => object(stdClass), 'data' => array('1', '1'), 'key' => '48738'))in Helper.php (line 233)
at Helper::convertToArray(object(stdClass))in Helper.php (line 227)
at Helper::convertToArray(object(stdClass))in Helper.php (line 227)
at Helper::convertToArray(array(object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass), object(stdClass)))in Helper.php (line 227)
at Helper::convertToArray(object(stdClass))in Helper.php (line 227)
at Helper::convertToArray(object(Order))in DataProcessor.php (line 96)
at DataProcessor->process(true)in BaseEngine.php (line 739)
at BaseEngine->getProcessedData(true)in BaseEngine.php (line 686)
at BaseEngine->render(true)in BaseEngine.php (line 599)
at BaseEngine->make(true, true)in CollectionEngine.php (line 242)
at CollectionEngine->make(true)in OrderController.php (line 33)
at OrderController->datatables()
at call_user_func_array(array(object(OrderController), 'datatables'), array())in Controller.php (line 55)
at Controller->callAction('datatables', array())in ControllerDispatcher.php (line 44)
at ControllerDispatcher->dispatch(object(Route), object(OrderController), 'datatables')in Route.php (line 203)
at Route->runController()in Route.php (line 160)
at Route->run()in Router.php (line 572)
at Router->Illuminate\Routing\{closure}(object(Request))in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in SubstituteBindings.php (line 41)
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Authenticate.php (line 43)
at Authenticate->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in VerifyCsrfToken.php (line 65)
at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in ShareErrorsFromSession.php (line 49)
at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in StartSession.php (line 64)
at StartSession->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in AddQueuedCookiesToResponse.php (line 37)
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in EncryptCookies.php (line 59)
at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php (line 102)
at Pipeline->then(object(Closure))in Router.php (line 574)
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php (line 533)
at Router->dispatchToRoute(object(Request))in Router.php (line 511)
at Router->dispatch(object(Request))in Kernel.php (line 176)
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in CheckForMaintenanceMode.php (line 46)
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing\{closure}(object(Request))in Pipeline.php (line 102)
at Pipeline->then(object(Closure))in Kernel.php (line 151)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 53)

Solution
I fixed this with a foreach loop.
Fix for 7.0: https://github.com/yajra/laravel-datatables/pull/1674
Fix for 6.0: https://github.com/yajra/laravel-datatables/pull/1675
Fix for 5.0: https://github.com/yajra/laravel-datatables/pull/1676

In fact I cannot. We only saw this behaviour after using datatables after a while and in a grid with 350+ records, specific to one record only. The data in that record was comparable with data from other records, so it seems to happen only occasionally and not with every Laravel model / datatables record. When I did some research online, more people see this odd behaviour only in some situations, so it's not really predictable.
The code changes in my PRs result in the same outcome as the original code, but prevents these odd errors.

Issue fixed for v6, v7 and v8.


a quick fix to #15626

#15626 is a potential bug of the netlink package.
This is a quick fix to bypass the problem.  @mavenugo
Signed-off-by: Shijiang Wei<EMAIL_ADDRESS>

LGTM

LGTM

Cherry picked into #15809


replication factor to be obtained from tenant configuration in case of dimension table

Description
As Dimension table are replicated on all the server by default, we should be getting the replication factor by taking the tenant id and number of server present in the tenant id. This would ensure that the allowedSize is calculated properly
Issue Link: https://github.com/apache/pinot/issues/7843

@Jackie-Jiang , I have fixed the lint issue


feat: add skipIfExists option for Gradle Helm install task

Description
This pull request changes the following:

add skipIfExists option for Gradle Helm uninstall task

Related Issues

Closes #390

:tada: This PR is included in version 0.12.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Oracle TypeMap must allow up to 4000 characters in VARCHAR2 / NVARCHAR2 fields

see: http://docs.oracle.com/cd/B28359_01/server.111/b28318/datatype.htm#CNCPT1822
The VARCHAR2 datatype stores variable-length character strings. When you create a table with a VARCHAR2 column, you specify a maximum string length (in bytes or characters) between 1 and 4000 bytes for the VARCHAR2 column
FluentMigrator has a limit of 2000 characters and if above will create a CLOB column. The limit should be altered to allow up to 4000 characters.
The same goes for NVARCHAR2 fields.
The maximum length of an NVARCHAR2 column is 4000 bytes. It can hold up to 4000 characters. The actual data is subject to the maximum byte limit of 4000.
I can submit PR if you will accept!

Closed by #613


Why is it called "dismoi" ?

Long story:
"dis-moi" is the french for "tell me". "DI" stands for Dependency Injection" (what the library is used for).
And the whole purpose of DI is to let a component tell to the dependency container what it needs. So basically the DI container always goes like "tell me what you need" and I will provide.
In short:
I was drunk


Added typings for jquery cropbox plugin

Hi,
I added type definitions for the jquery cropbox plugin.
//Per

jquery.cropbox/jquery.cropbox.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/jquery.cropbox
http://bower.io/search/?q=jquery.cropbox
others?

[ ] has a test file? (jquery.cropbox/jquery.cropbox-tests.ts or others)
[ ] pass the Travis-CI test?

https://www.npmjs.com/package/jquery-cropbox
please rename jquery.cropbox/jquery.cropbox.d.ts to jquery-cropbox/jquery-cropbox.d.ts

Ahh, good point, I missed that in the contribution guide and have renamed now.

one more. rename jquery-cropbox/jquery-cropbox.tests.ts to jquery-cropbox/jquery-cropbox-tests.ts

Fixed

thanks mate!

manually merge


feat(core) use 'pg_timeout' as router rebuild semaphore timeout

Complementary commit for:

11d69be feat(conf) add 'pg_timeout' property
85946ba perf(router) wrap router rebuilds in a worker mutex

We now use the configured timeout for PostgreSQL as the timeout to our
router rebuilt semaphore. Note that the default value of 60 is
preserved to be friendly to any fork out there that may support other
configuration backends.
See #3794
See #3808

Does keeping a default assignment of 60 make sense, given that we automatically assign a 5s timeout for psql: https://github.com/Kong/kong/commit/11d69be02a996b66ccd79bd0c2969dbba2b1adc6#diff-82c78a715b27a7bade741c59e02437a9R42 ?

may support other configuration backends.

My bad, misread this :) nvm


How to evaluate a model that already exists locally and hasn't been uploaded yet, "model=?"

i really want to know how to load qwen model, thank you very much

just pass the the path of the model, also specify task because it can't be inferred in this case


[cve] Bump dnspython package to 2.6.1 and eventlet package to 0.35.2 …

…[#3772]
What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Please review Hue Contributing Guide before opening a pull request.

Hey @rayliu0, thank you for contributing the fix!
We'll review this PR soon.

Closing this PR because the CVE fixes are added in the ext-py3 packages explicitly due to gunicorn issue.


Latest Version of Chat-API

Hi!
Have You seen latest version of Chat-API here?
its working fine without any issues.
https://chat-api.net
Thanks

This is the first time I've ever wanted to report something on the internet and I can't find the report button on Github
hmmm


Shaky on the S7

Summary:
Multiple users are reporting that the app is shaky on the galaxy S7, whereas other similar apps work fine.  No further info at this stage.

It's jittery on Samsung M21 too


Adds possibility to disable all telemetry

Closes #4109

@pnp/cli-for-microsoft-365-maintainers I'd appreciate your feedback.


WIP: Typescript Conversion + Usable onChange/onSubmit value

convert to typescript

removes "Standard", and replaces with tslint

pass a typed object to onChange / onSubmit instead of a string

this'll make it easier for consuming projects to make sense of the tokenized data

Closing this as:

too many changes
should probably to a mass refactor before converting to typescript


chord: added CSS resource

Changes proposed
I have added a CSS course by Apna College

Hi @Utsav-Jha-2004. I closed this PR because its corresponding issue number is not linked to it as instructed in the CONTRIBUTING.MD Please add this information and then I’ll reopen the PR.


feature request: rpc method for per opcode gas tracing

Describe the feature
It would be very nice to have an rpc method ("opcode_trace") that gives a per-transaction accounting of:

how many times each opcode was called
how much total gas was used per opcode

This would be the final missing piece for full resolution gas analysis.
Data could have a similar schema to state_diffs tracing:
data = {
    "opcode": [
        {
            "transaction_hash": "0x1234...",
            "opcode_counts": {
                "SSTORE": 17,
                ...
            },
            "opcode_gas": {
                "SSTORE": 153000,
                ...
            },
            ...
        }
        {
            "transaction_hash": "0x8764...",
            ...
        }
    ]
}

Additional context
No response

I think this should be possible via a custom tracer similar to Geth's tracers, or should this be in a separate trace method @matthuang ?

I believe the only way to do this rn is via JS
but it's possible to add this

cc @DoTheBestToGetTheBest
we can add this as trace_blockOpcodeGas and trace_transactionOpcodeGas

possible schema for output

trace_transactionOpcodeGas

request:
[txHash]
response:
{
    "transactionHash": "0xb5be..."
    "opcode_counts": {
        "SSTORE": 4,
        "CREATE": 1,
        ...
    },
    "opcode_gas": {
        "SSTORE": 38000,
        "CREATE": 32000,
        ...
    },
}

trace_blockOpcodeGas

request:
[blockNumber | blockHash]
response:
{
    "blockHash": "0x9eaf...",
    "transactions": [trace_transactionOpcodeGasResponse],
}


Allow @testable witnesses to satisfy protocol requirements.

That is, if a would-be witness to a protocol requirement is only accessible because its module has been imported with @testable, consider that "good enough" to satisfy the rule that a witness must be available everywhere the protocol and conforming type are both available (because those other contexts could have done their own testable import, and also shouldn't have to know that this file needed one to conform to the protocol).
This re-enables some patterns that would have been allowed pre-SE-0025.
rdar://problem/28173654

@jckarter, since I already talked through the problem with you, would you mind reviewing the fix?
@swift-ci Please test

Looks good.


[sw/silicon_creator] Key manager driver for mask ROM.

This issue tracks the implementation of the keymgr mask ROM driver.

[ ] Functionality:

keymgr_init()
keymgr_advance_state()
keymgr_get_state()
keymgr_configure()

[ ] Functional Test Cases:

Standalone initialization and configuration flows. May require derivation function to properly test the output.

[ ] Mask ROM integration:

Activate the key manager after signature verification, and before jumping to rom_ext.

Also need to check the EDN intialization before advancing the state of the keymgr. EDN init happen well before we start using the keymgr, but adding a comment here to make sure we check the precondition.

@moidx, can this issue be closed?


react - dnd unit testing  Invariant Violation: Expected a valid target ID.

describe.only('Drag drop test', () => {
  class Wrapper extends Component {
    render() {
      return <div>{this.props.children}</div>
    }
  }
  let renderedCmpt = null
  let WrapperContext = null
  beforeEach('set up', () => {
    const setFocusedElement = sinon.spy()
    WrapperContext = wrapInTestContext(Wrapper)
    renderedCmpt = TestUtils.renderIntoDocument(
      <WrapperContext>
        <Block uid={'test'} setFocusedElement={setFocusedElement}/>
        <ButtonThumbnail />
      </WrapperContext>
    )
  })

  it('--------------------- ', () => {
    const wrapperContext = TestUtils.findRenderedComponentWithType(renderedCmpt, WrapperContext)

    const dropZone = TestUtils.findRenderedComponentWithType(renderedCmpt, Block)
    const dropId = dropZone.getHandlerId()

    const dragComponent = TestUtils.findRenderedComponentWithType(renderedCmpt, ButtonThumbnail)
    const dragId = dragComponent.getHandlerId()

    const backend = wrapperContext.getManager().getBackend()
    const monitor = wrapperContext.getManager().getMonitor()

    console.log(dragId, dropId) //S29 S28
    backend.simulateBeginDrag([dragId])
    backend.simulateHover([dropId])
    backend.simulateDrop()
  })
})

dragId = dropId ,how can it be?
stack :
Invariant Violation: Expected a valid target ID.
at Object.invariant as default
at HandlerRegistry.getTarget (node_modules/dnd-core/lib/HandlerRegistry.js:137:27)
at DragDropManager.hover (node_modules/dnd-core/lib/actions/dragDrop.js:124:27)
at Object.hover (node_modules/dnd-core/lib/DragDropManager.js:74:36)
at TestBackend.simulateHover (node_modules/dnd-core/lib/backends/createTestBackend.js:50:18)

I have a similar problem. I use enzyme and mounted two components (one source and one target) seperatly. Like you I tried to drop source on the target.

Same here, using enzyme with jest and getting
Invariant Violation: Could not find the drag and drop manager in the context of DropTarget(WidgetContainer). Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://gaearon.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context

when trying to render component that is DragSource

This is a big issue, you need to wrap the component in drag drop context in order to not throw the above violation. But then you can't manipulate state and use other enzyme functionalities because it's not a Root Component.

@jca41 is exactly right. This is breaking all of our pre-existing unit tests and we can't find a way to unit test them without exporting the original component without the DragDropContext, but that defeats the purpose...

With react-dnd 3 and below, can you use enzyme's context API to set the Backend? http://airbnb.io/enzyme/docs/api/ShallowWrapper/setContext.html
The context value you need to set is dragDropManager: https://github.com/react-dnd/react-dnd/blob/6d0b0e302e980e01fd91c09003f9a78ebc78fedf/packages/react-dnd/src/DragDropContext.js#L12
With react-dnd 4+, we're using the new Context API, and I don't see any indication that enzyme supports it yet.
I'll make a note that we should improve our testing docs.

I found my solution by using the React DnD docs testing section. I was able to unit test original component functionality with const OriginalBox = Box.DecoratedComponent;


CTR_DRBG doesn't check output buffer for NULL

Summary
The function mbedtls_ctr_drbg_random_with_add does not check for NULL pointers on the output buffer. If the output length is set to >0 then it will blindly try to memset it.
It will be helpful for this to be tested before using the pointer.  Additionally the additional data buffer can be tested as well.
System information
Mbed TLS version (number or commit id): 4313d3ac876eb433fe1beea79c65f7a9e4e16ed5
Operating system and version:
Configuration (if not default, please attach mbedtls_config.h):
Compiler and options (if you used a pre-built binary, please indicate how you obtained it):
Additional environment information:
Expected behavior
Return some error code when NULL is passed as as pointer for the output or the additional data.
Actual behavior
An memory exception is raised when the buffers are NULL.
Steps to reproduce
Call the function mbedtls_ctr_drbg_random_with_add with the output buffer as NULL but the output length > 0.
Additional information

Thanks for your report. However, not having NULL checks in all public functions that accept pointers is a deliberate choice. Having those checks would significantly increase the code size (and one of the goals of Mbed TLS is to be usable on highly constrained devices) while not providing enough value to make up for it.
In previous versions of Mbed TLS (all 2.x version starting with 2.16) there was a compile-time option MBEDTLS_CHECK_PARAMS that could be enabled to add such checks in an number of modules of the library (but apparently CTR-DRBG wasn't covered). In 3.0 we decided to remove that option because in our opinion it didn't bring enough value to justify its cost in terms of maintenance and testing.
So I'm afraid adding this check is not something we want to do, sorry.
What we probably want to do however is to explicitly mention in the documentation that this parameter must not be NULL, so I've opened https://github.com/ARMmbed/mbedtls/issues/5130 in order to track that.


Update start.sh

Changes docker-compose to docker compose so that the action works on ubuntu latest

Apologies about this delay - I have already merged a fix for this.
Thanks for putting it on the radar.
Really appreciate it.
Closing PR as this has been merged in: https://github.com/spicyparrot/kafka-kraft-action/pull/17.
Please use:
- name: Kafka KRaft
  uses<EMAIL_ADDRESS>


ReadOnly and Create Context in same service?

Is there a pattern which allows for a Service class to handle both read and write operations? Im trying to retrofit our current service layer (no  repo layer) and we do read/write operations in the same class.
If I use a single IDbContextScopeFactory object, it will throw an exceptionCannot nest a read/write DbContextScope within a read-only DbContextScope
I dont want to have to create two service classes, just to handle read or write operations, is there away around this? If its solely a scoping issue, perhaps i can somehow design the layer in a way that will have separate scopes for each operation type?
Any guidance would be very helpfull!

I found why the exception was being thrown. I was trying to create a dbContext instance in the same line where i was referencing the factory call.
using (var db = _dbContextScopeFactory.Create().DBContexts.Get<*NAME*>()) {}
I think this was causing the the dbContext be disposed incorrectly. Once i refactored the code to retrieve the dbContext outside of the using line, the errors stopped.
using (var fact = _dbContextScopeFactory.Create()) {     var db = fact.DbContexts.Get<EngagementPortalModelContainer>(); }


Extension causes high cpu load

msazurermtools.azurerm-vscode-tools-unresponsive.cpuprofile.txt

Issue Type: Performance
Extension Name: azurerm-vscode-tools
Extension Version: 0.4.2
OS Version: Darwin x64 18.2.0
VSCode version: 1.31.0

:warning: Make sure to attach this file from your home-directory: /Users/khalidkhan/msazurermtools.azurerm-vscode-tools-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

This fix will be released soon.


Request/Response Correlation - Introduce a Provider Model?

So Obvs has a baked in approach to setting RequesterId (and RequestId if not specified) when ServiceBusClient::GetResponses is called. There's no way to override this behavior at present. Two things:

Right now the logic only sets RequestId if it's not already set. However, RequesterId is always set and overrides any value that the application might have already specified. I would argue that RequesterId should use the same rule of only overwriting if not already set. At a bare minimum, I would love to see this changed as soon as possible with the goal of allowing the application itself to decide this on a per-request basis if it wants to.
How do you feel about introducing a provider model for this so that people can plug in their own implementations? I imagine something like:

public interface IRequestCorrelationProvider
{
    void ProvideRequestCorrelationIds(IRequest request);
}

Then a companion configuration API:
public interface ICanSpecifyRequestCorrelationProvider : IWhateverMakesSenseHere
{
    IWhateverMakesSenseHere WithRequestCorrelationProvider(IRequestCorrelationProvider provider);
}

I can send a PR around this if it's something you're in agreement with.

Hey just on holiday at the moment, but reviewed your changes, will leave a comment on PR.

This was completed a while back I think, but I didn't close the issue. Nice!


Bug: Cannot remove members from Board or card

Hi,
a board admin of my wekan instance reported, that he cannot remove members from his board or from cards. By clicking remove the member diappears and re-appears shortly after. Though removement is logged, the member still has access to the board.
The member is authenticated via LDAP. The board admin is a local wekan user.
Server Setup Information:

Did you test in newest Wekan?: yes
Wekan version: 3.44 (docker)
Operating System: debian 9.11
Deployment Method(snap/docker/sandstorm/mongodb bundle/source): docker
Http frontend if any (Caddy, Nginx, Apache, see config examples from Wekan GitHub wiki first): Apache
Node Version: 8.16.1
MongoDB Version: 3.2.21
Wekan only works on newest desktop Firefox/Chromium/Chrome/Edge/Chromium Edge and mobile Chrome. What webbrowser version are you using? 60.9.0esr (64-Bit)

Problem description:

REQUIRED: Add recorded animated gif about how it works currently, and screenshot mockups how it should work. Use peek to record animgif in Linux https://github.com/phw/peek

Sorry, I cannot privide an animated gif because auf data privacy.

Explain steps how to reproduce

I tried to reproduce, but I couldn't. In my test boards (same server) removing members is possible.

If using Docker, what does show command sudo docker logs wekan-app ? Please anonymize logs.

Please see attachment wekan bug log 2019-09-26.zip
Please let me know if you need more information.

Wekan can not remove any LDAP users from LDAP server. LDAP users should be removed from LDAP admin interface, not Wekan.

This isn't about LDAP. This is about being unable to remove a user from a board. My own wekan instance doesn't use LDAP. It is a docker installation. Still I'v got that very problem. I even removed the user IN MONGODB and it would reappear after a few seconds. I've got the same symptom: The user name is shown, followed by '()'. Those two zombie users both have my user name, btw.


selector API takes JSON fragment only?

The findByIndex() API takes a 'selector' which the query docs give as a JSON object such as
{"name": "Paul"}

however the README gives the example:
List<Movie> movies = db.findByIndex("\"selector\":
                { \"Movie_year\": {\"$gt\": 1960}, \"Person_name\": \"Alec Guinness\" }",

.. where the selector is more of a "fragment" than a well formed object. In fact, I found that the server returned JSON errors unless I called findByIndex with  "\'selector\':" + someJson (where someJson is the well formed JSON selector body).
Could this API be clarified, or even better accept just the JSON body and not require the key? Otherwise it is awkward to create this "Fragment" for use with the API.

@srl295 thanks for bringing this to our notice.  I agree with you that the selectorJson argument should have taken just the JSON body (my bad) . We need to roll a fix and take care of backwards compat (in case there are user's who are already using by supplying the key)

@mariobriggs welcome! I would think you could detect the "current" case by something like this:
selector.trim().startsWith("'selector':")||selector.trim().startsWith("\"selector\":")

fixed in branch vNext. Give it a spin. Test case added in IndexTests

Looks good, thanks!

pushed out in 1.0.1 release


Parser does not account for lowercase checkboxes

When filling out a form GitHub will use [X] as the indicator for a checked box. However, if a user were to manually check the box in the issue body (eg: after completing a task) it will be [x] and the parser will fail.
An error occurred trying to execute the command to parse a GitHub issue form.
Error:
- Invalid checkbox option text: '- [x] Some example checkbox'.

It would be nice if it could account for both of these options!

Here is a workaround for this; you can use a manual step to replace [x] with the uppercase variant [X] and then the parser is happy.
- name: Fix manual checkboxes
  id: fix
  shell: bash
  env:
    ISSUE_BODY: ${{ github.event.issue.body }}
  run: |
    ISSUE_BODY=$(echo "$ISSUE_BODY" | sed 's/\[x\]/[X]/g')
    {
      echo "issue-body<<EOF"
      echo "$ISSUE_BODY"
      echo "EOF"
    } >> "$GITHUB_OUTPUT"

- name: Parse GitHub Issue Form Body
  id: parser
  uses: edumserrano/github-issue-forms-parser@v1
  with:
    template-filepath: .github/ISSUE_TEMPLATE/my-template.yaml
    issue-form-body: ${{ steps.fix.outputs.issue-body }}

Came here to make this exact issue. Thanks for the workaround. Looking forward to the fix.

Release version v1.3.7 with the fix. If you're using the major version @v1 in your pipelines there's no change needed, it will get the latest.


Continuous geo-location tracking

I wanted to use this for tracking movement of the user continuously, but I have read the following on your doc:

/*
IMPORTANT:  You must execute the finish method here to inform the native plugin that you're finished,
and the background-task may be completed.  You must do this regardless if your HTTP request is successful or not.
IF YOU DON'T, ios will CRASH YOUR APP for spending too much time in the background.
*/

So I wanted to ask you and confirm, I cannot track user continuously, even tho I do not sent ajax request at all?
What can I do to get continous location while in background, if this is not a proper plugin for it.

You can track users just fine. But you make sure you call finish method. It's just iOS requirement for background tasks.

but if I call background.finish() method, wouldn't that stop posting geolocation location in background?

no, finish method will not stop background tracking nor posting. There is stop method that does that.


Unable to build

I downloaded the repo, unzipped it into a folder, added a page1.pdf. PDF file was made using Libre Office
and as per the repo README.md, replaced the file name in
> to define the src, open pdfjs/viewer.js and change to line 30.

var DEFAULT_URL =  "compressed.tracemonkey-pldi-09.pdf";

replaced the file name above to page1.pdf and then clicked index.html in the folder.
But it keeps spinning even though the PDF was a single page, single sentence in content. Please tell me how build a Flip Book using this repo and kindly correct me if I am wrong. Thanks.

for security reasons web browsers don't like to display content from other places with different security protocols. That's what's causing this issue for you. If you implement this in an actual website things will be aligned in a way that will make your web browser happy.

Is there a "workaround" to make it work offline?

for security reasons web browsers don't like to display content from other places with different security protocols. That's what's causing this issue for you. If you implement this in an actual website things will be aligned in a way that will make your web browser happy.

Is it possible to bypass this somehow to be able to watch it offline?

@starinspace
The following 2 articles helped me to run the local HTML file
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp
https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server


Move generate api key route outside from Reviews Receiver

Description
In the current situation the route to genetare an api key is public.
Think of better solution for issue an api-key.
DoD

[ ] We have secured route to issue api-key

In my opinion we can issue an api-key in the backend (while client register).
What do you think?

How are we going to give the api key to the client in the UI when he registers?
We can't store the plain api key so we can only show it to him once.
I think it's better we manage API keys in the settings tab where the user will also be able to keep track of his keys and create a new one.


Convert wikilinks to markdown titles

Currently the wikilinks are rendered as it is.
Is it possible to convert [[wikilink]] to [[Wikilink]] or whatever the first h1 title is?

Thank you for the feedback.
Yes, it is possible in theory, I just havn't found an elegant way to do it back then.
I will try to add this in this weekend.

@SanketDG I managed to add this feature (although still not very elegantly). You can check the code diff to see how the option works.
I haven't made [[{{title}}]] the default option for gatsby-theme-kb though, so you may need to manually specify it in your config.
The latest package is<EMAIL_ADDRESS>

I tried this out, this looks good!
Thanks so much, I am going to close this now.


SPI busy flag may cause deadlock

If user call completeTransmit in onTransmit event, the busy flag will be set false then true. Which may cause emulator waiting for it.

Thanks again!
I'm curious, what PIO project are you working on?

To implement camera interface. Not only PIO but trying to run my pico code on this emulator, but seems still have some issues to solve.

Which issues, for instance?

I will create new issue later.


Horizontal scrolling

I needed a way to scroll horizontally instead. I saw a previous pull request that had isHorizontal flags spread across the code, but I tried to work up something more abstract.
To implement horizontal scrolling we essentially mean variable width. Where the original list has a totalHeight property, I added a totalWidth. To trigger this though, we need to set our height to something static.
I have a boundHeight property that you'll need to set to a number that your height will be. This then lets the content flow horizontally.
Quick notes:
All existing APIs are the same, so scrollTo is still scrollTo(y) to keep it compatible. I just added a scrollToOffset(x,y)
And uh, haven't quite gotten around to tests for this. ;D But I'm at a point where it looks fine and I can work on it on my site, so I figured I'd get it out here first for you to see as well.
Thanks for all the work on list-view!

@stefanpenner did you have time to review this?

unfortunately all this code changes dramatically in the soon to be merged pack branch
Additionally without tests this is unlikely to be accepted.
When it comes to horizontal scroll, I like the approach were we are basically scrolling through an infinite grid. My skim indicates this is closer to that.

(This is blocked by #173)

I'm sorry we didn't get back to this previously, but at this point this repo is essentially unmaintained.  Please use @html-next/vertical-collection or ember-collection for similar functionality.
Closing...


Keeps trying to load image when the url is invalid

For example, if you create a note with this content:
![invalid](https://joplinapp.org/invalid.png)

In that case it will keep trying to load "invalid.png" every 3 seconds, even if nothing else changes in the note.

This is part of the system that scans for image changes (every 3 seconds by default). In hindsight it should have only been enabled for resources, and not all URLs. Luckily, the next version will get rid of that, thanks to you :)


CrossSection transitions extrude based on name rather than layer tuple

When creating a CrossSection using gf.cross_section.cross_section, if the user specifies width and layer arguments, the function creates a Section named "_default". This behavior is handy for creating CrossSections quickly, especially if they only contain one Section. However, if we create one CrossSection like this:
xs1 = gf.cross_section.cross_section(width=1, layer=(1, 0))

and one like this:
xs2 = CrossSection(sections=(Section(width=2, layer=(1, 0)),))

xs2 does not have a Section named "_default", while xs1 does. Thus, when a Transition is created using both of these CrossSections:
t = Transition(cross_section1=xs1, cross_section2=xs2)

extruding the Transition along a Path throws an error because the _get_named_sections function inside of gf.path.extrude_transition gives us named_sections1 = {"_default": Section(...)} and named_sections2 = {(1, 0): Section(...)}.
So when we create an intersection of the two sets of keys, it raises
ValueError(f"transition() found no common layers X1 {names1} and X2 {names2}").
I would anticipate that the function doesn't treat "_default" as the actual name of the Section, but rather something just for keeping track of how the Section was created.
One solution is to modify _get_named_sections to ignore the "_default" name and return the layer tuple instead, so we can transition between them.
Doing this, we run into problems combining "_default" Sections with named sections. Without this, when the sets of of names were intersected, there was
names1 = {"_default", "core", "clad"}
names2 = {"_default", "core", "clad"}

so there was no issue when extruding the Transition. However, with the change, it becomes:
names1 = {(852, 21), "core", "clad"}
names2 = {(853, 21), "core", "clad"}

and thus only the "core" and "clad" get extruded.
So it seems like we're explicitly allowing different "_default" Sections with different layers to be extruded. I don't see why we would allow this so maybe it's worth discussing what behavior we want to have? If we are going to allow layers to be mapped to other layers in the Transition, I would personally prefer we pass a map_layers={"layer1": "layer2"} argument or something that makes this behavior explicit.

see comments in https://github.com/gdsfactory/gdsfactory/pull/2376


Coordinate releases on pypi and github

Currently we are out of sync as pypi is showing 1.14.1 and github has 1.13.0 as the latest.

Is this because we haven't authored a gh release for 1.14.0 & 1.14.1? I
definitely don't know how to do that, but I bet @sjsrey put it in the
release documentation :upside_down_face:
On Sat, Sep 23, 2017 at 4:41 PM Sergio Rey<EMAIL_ADDRESS>wrote:

Currently we are out of sync as pypi is showing 1.14.1
https://pypi.python.org/pypi/PySAL/1.14.1 and github has 1.13.0
https://github.com/pysal/pysal/releases/latest as the latest.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pysal/pysal/issues/978, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACJY86r8A_FQBqEM1Ct0D6-H4VoO-pANks5slSa8gaJpZM4Phluo
.

--

Levi John Wolf
University of Bristol | Lecturer in Quantitative Human Geography
Arizona State University | Ph.D. Candidate
ljwolf.org

Instructions for how have been doing the releases.
We could revisit these.

Following now, one question: What's the difference between a "issue" and a "regular issue" in our changelog?

issues = regular issues + pull requests

they should be in sync now

nice!


Changing the name to "Barf is A Remarkable Framework"

Hi my friend,
You miss the opportunity to use the tradition of Recursive Acronym !
Can you please change your name !

Hi. Thank you for the suggestion. However, this naming brings in an auxiliary verb is and also takes out the idea of reference to the Marvel's BARF technology.
I'm very sorry but we won't be able to change the name 🙏


allow for different power off detection mechanisms for flasher images

tested successfully on device types that use the ethernet method to detect poweroff