Can work on .NET Framework ?

I try install MixedReality-WebRTC by nuget in my case what window form application depends on .net framework 4.6.
But I couldn't using Microsoft.MixedReality library.
Is it possible?

I don't know. We do not support .NET Framework officially, and there is no plan to do so.
See https://github.com/dotnet/standard/issues/481 for issues about consuming .NET Standard 2.0 NuGet packages from a .NET Framework project.

Thank for ur reply.
I'll keep research. If I resolve that. I'll report here. 👌

I am closing this issue because we have no other ask and no plan to support .NET Framework. We do support .NET Standard/Core instead, which is hopefully the way going forward.


Link in placeholder readme area broken?

Perhaps just on my end but trying to hit the link for the repo to add, fires up discord in a new tab and doesn't seem to actually load a server. Possibly 'cause it's a channel link to a server I'm not in, unsure, discord is .. discord.
Could we get a clarified or updated link to the discord server or Dalamud repo in question? Or if it really is just some problem on my end, we can shame my computer too. 😋
Sorry to bother, this is just a very exciting project! Thanks :)

Resolved


Laravel 7 support

Laravel 7 depends on symfony/finder 5 so I've bumped the symfony/finder version

Again blocked by hanneskod/readme-tester. Is this package really necessary?

Just waiting for the 7 support to upgrade my projects! o/

Again blocked by hanneskod/readme-tester. Is this package really necessary?

Think PHP 7.1 support could be dropped right, as it's out of support?

Hi everyone! A lot of activity here, sorry for the late reply. I completely agree that code testing tools should not interfere with actual dependencies. Will fix later today!

Hi,
I don't mean to be rude or impatient, but this is the only dependency blocking my upgrade to Laravel 7.
Do you happen to have an ETA?

Hi,
I don't mean to push you but this is the only package holding me back from upgrading my application to Laravel 7.x
Do you happen to know when you can approve the request?

Fixed on branch 1.0. See #19. Released as ver 1.2.1. Let me know if you need anything else =)

Nice one, thanks @hanneskod


WA - 229 - Forgot Password Pages

Added two pages:

Request Password Reset Page
Confirm New Password Page

looks good


cannot import name 'crop_and_resize'

Hi,
when I try to run the training, I encounter the error of importing crop_and_resize.
Error:
ImportError: cannot import name 'crop_and_resize' from partially initialized module 'siam_tracker.ops.crop_and_resize' (most likely due to a circular import) (/home/mbzirc/Downloads/AhsanBB/Dataset_Paper/Codes/PySiamTracking/siam_tracker/ops/crop_and_resize/init.py)
Any idea how to resolve it ?

Hi,
You supposed to build crop_and_resize.
1.Go to crop_and_resize folder.
2.Run sudo python3 setup.py build_ext --inplace
3.Above command will build and places the .so file in the current directory.
4.Now you can access it from your python script.
5.You should be doing the same for roi_align folder I think.


Why doesn't the polyfill move the popover to top-layer?

Is there a reason why this can't or won't be done? CSS or something?

I believe Popover and Top Layer shipped together in browsers so in the event that this polyfill is needed there is no top layer to add anything to.
Also, from mdn:

Note that the top layer is an internal browser concept and cannot be directly manipulated from code.

Right, I meant that it would add a div to the body and move the popover element into it, but that may wreak havoc on frameworks so it's not really an option.


Choose photos and add photos to the showcase section of the main webpage

We need you to chose 3 photos in the photo webpage so that I can add them to the showcase section at the main webpage. Photos here: https://golden-aleksei.github.io/photos.html

Issue resolved in meeting on 10/18/2024.


Initial set of changes to introduce GitHub Release task

You need to follow the pattern of major version "vXX" in the folder name.


New package: StevenHarlow.Sigmira version 1r17

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Closes #112820.
Tested and everything works fine.
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116347&drop=dogfoodAlpha

Note that the app gets installed into C:\apps. This is intentional - it does not work properly when installed into C:\Program Files (x86).


Extensively test mdef

mdef that’s being passed around in compiler.js looks highly skeptical to me.

[x] scales
[x] axis
[x] facet
[x] if(lineType)
[x] subfacet
[x] stack

most methods looks fine because they might not interacted with TABLE.
(Right now, only TABLE can has multiple marks group in a single cell.)
In any case, we should simply this part #276.


Parse in Date Object but  zod _.date() gives error

I created a schema to validate a Date object
import {date, object} from "zod"

const createFigureSchema = object({
  bornDate: date({
    required_error: `bornDate is required`,
  }).nullable(),
)};

However, when I make a POST request with request body below:
const createFigurePayload = {
  bornDate: new Date("1925-07-11"),
}

It gives an error: Expected Date, given string
I tried to confirm the type of bornDate with console.log(createFigurePayload.bornDate instanceof Date);. It returns true.
Need someone's help to explain why _.date() gives error despite parsing Date object!

@MinKangChew
JSON does not have a Date data type, so when the request is made, the date ends up being serialized as a string (typically it is the same as the output of toISOString()). This is true for many other types of objects, but Date is a pretty common one to notice this in!

Use z.preprocess to convert to a Date:bornDate: z.preprocess((a) => new Date(z.string().parse(a)), z.date()),

Use transform to make a ZodEffect that transforms a string into a date:bornDate: z.string().transform((a) => new Date(a))

@scotttrinh Noted with thanks!!!

To achieve both validation and conversion, I did this:
bornDate: z.preprocess((a) => new Date(z.string().parse(a)), z.date()).transform(a => new Date(a))

So that obj.parse({ bornDate: '1925-07-11' }) is converted to a Date and obj.parse({ bornDate: '1925-07-111111' }) fails with an error.


Plug hole in MDS type system: add arbitrary-precision decimal

Problem
Streaming PR 363 seeks to add delta to MDS conversion to Streaming. This means MDS must have an answer for each of the types in pyspark.sql.types.
Non-solutions
Currently, we don't: arbitrary-precision decimals (and for that matter, ints) are not natively supported. Several workarounds are available using our current type system:

Use pkl encoding, which will correctly encode and decode, but with explosively bad data usage.
Use json encoding to dump the digits as str, then custom decode the field(s) in your subclass of StreamingDataset back to your arbitrary-precision int/float/Decimal type.
Use bytes encoding and roll your own custom encoding /and/ decoding.

 How bad can it be?
for ty in [int, float, Decimal]:
    a = ty(0)
    b = pickle.dumps(a)
    c = pickle.loads(b)
    assert a == c
    print(str(type(a)), len(b))

<class 'int'> 5
<class 'float'> 21
<class 'decimal.Decimal'> 42

Oh. That is, if you were expecting serializing 0 to require 4 bytes, pickle is 5x worse for floats and 10x worse for decimals. At scale, that really adds up.
Solution
This PR adds three new MDS types that are small, simple, and general: str_int, str_float, and str_decimal. We take the JSON approach of just dumping digits to str and decoding it back, providing arbitrary precision without any hassle or complexity.
Of course, ASCII digits are not the most efficient way to serialize. To support possible future work, we also include a script analyzing what the most useful configurations of fixed-size binary decimal types would be. The actual fixed-size decimal binary type(s) are not in this PR, as I would like to study the problem a bit more before committing to a certain API for them and that work is off the critical path.
Columns:
- int bits: bits used to hold the digits as a scalar.
- pow bits: bits used to hold the exponent (location of decimal place).
- precision: Digits of precision.
- dec range: Range of decimal places (half left, half right).

4-byte unsigned decimal:
    int bits | pow bits | precision | dec range
          23 |        8 |         6 |       512
          24 |        7 |         7 |       256
          27 |        4 |         8 |        32

4-byte signed decimal:
    int bits | pow bits | precision | dec range
          22 |        8 |         6 |       512
          24 |        6 |         7 |       128

8-byte unsigned decimal:
    int bits | pow bits | precision | dec range
          55 |        8 |        16 |       512
          57 |        6 |        17 |       128

8-byte signed decimal:
    int bits | pow bits | precision | dec range
          54 |        8 |        16 |       512
          57 |        5 |        17 |        64

16-byte unsigned decimal:
    int bits | pow bits | precision | dec range
         119 |        8 |        35 |       512
         120 |        7 |        36 |       256
         123 |        4 |        37 |        32

16-byte signed decimal:
    int bits | pow bits | precision | dec range
         118 |        8 |        35 |       512
         120 |        6 |        36 |       128

Fixed a test failure, otherwise all look legitimate. Please add any comments here. Idea is to merge this PR before 363.
@knighton @karan6181

Geat PR Description


Incomplete segmentation results of Celebm model inference faceparsing

Is there any method to solve the problem of incomplete segmentation when inferring faceparsing results using the Celebm model provided by the author?

It's my solution: https://github.com/FacePerceiver/facer/issues/36


Different behavior between environment (Windows vs MacOS X) of app:before-quit event and no alternative to the mainWindows 'close' event

Hi,
On the Kitematic project we are using the atom/electron API to do some communication between the components and we are facing environment issues on Windows when we need to receive an event on app:before-quit. The event is sent but it seem it is not send at the same time on Windows and on MacOS X because on MacOS X system we receive the event but on Windows we don't.
We found a "workaround" but we want to work on a specific solution for this problem. You can see all the details of the issue here: https://github.com/docker/kitematic/issues/1369 and https://github.com/docker/kitematic/pull/1394
Thanks

Can you make a sample app that can demonstrate the problem? We are not familiar with kitematic's codebase.

Ok, I will work on this, but it is going to be difficult because the multienvironment and event synchronization issues. I'll keep you posted. Thx @zcbenz

Closing until more information is provided.


Update Go version

This PR bumps the Go version in the repository to Go 1.21, and updates its dependencies.
~In order not to impose a specific patch version to the entire project, the toolchain directive is used:~

make generate panics with gomod2nix generation, removed the toolchain directive

This does not apply to created projects -- currently the logic picks up the version from a go version execution, so created projects would still include that version (1.21.3 in that case).
As for the newly created projects, the minimum version has been bumped to Go 1.20, which is also mentioned on the README file.
Closes #313

Oh, we also have this in the README:

Go 1.16+ provides the feature to run go install, but Go < 1.21 will not compile the project, so we should probably also bump that version, as using 1.16, 1.17, etc. will result in compiler errors.

Oh, we also have this in the README:

...

Good catch :D I updated that reference as well

Note: I also updated the Dockerfile versions and hashes, as it didn't make much sense to leave those in v1.20 :D
The distroless-nonroot image can still be referenced with the same hash, but for the Go image, we're now referencing the 1.21.3 one
Also tagged #310 to close with this PR


Fix menu toggle

The menu toggle behavior was implemented with a blacklist of elements that shouldn't toggle, and instead always open a new menu. The grid wasn't in the blacklist and doesn't support toggling the menu, causing the menu to be closed while leaving the open flag set to true. This changes the behavior to support menu toggle on buttons and button groups.
Updated Cypress tests to remove the workaround for #667, and updated the screenshot following the default icon fix for #676.

Export test fails:

Feature list Context menu Export:
Uncaught TypeError: Cannot read property 'firstElementChild' of undefined

Also, #697 can probably be closed with this PR.

Export test fails

That error is unrelated and will randomly happen on master, see #716.


Should be json-stream-merge

Make the lib name more generic since the input can be any line delimited json (ndjson).

Whhops no, this creates a geojson feature collection.


format Date question

I lookup many issues about format Date, but not understand what to modify my code.
My code in Below:

I want to format Date by 'YYYY-MM-DD' not "m/d/yy" in what XLSX.utils.sheet_to_json return,like excel is "2017/10/16", i get the return object as the same "2017/10/16" not "10/16/17".
now,i will get JS Date object by the code. may you give me a example ?

On the read side, you also need to pass cellText:false:
var wb = XLSX.read(binary, {type:'binary', cellDates:true, cellNF: false, cellText:false});

In the conversion, you shouldn't set raw:
XLSX.utils.sheet_to_json(ws, {dateNF:"YYYY-MM-DD"})

raw:true will always return the raw values, so you don't want to pass that to the conversion.  When that happens, the conversion uses the stored formatted text value.  Those strings are generated by default, which is why you need both cellText:false (so the text isn't generated) and cellNF:false (so the date formats aren't generated).

i do it with you,but something is wrong.
the result in below:

i think i miss some plugin like SSF? I only install<EMAIL_ADDRESS>reason?

Can you share the original file?

sure!

@cyzeng-Luca please email the file to<EMAIL_ADDRESS>

i upload .zip ,the original is .rar
会员信息模板-201611301634 (7).zip

Thanks for sharing! It's an XLS file and the issue is that the cellDates and cellText logic are tied together.  The offending block is https://github.com/SheetJS/js-xlsx/blob/master/bits/76_xls.js#L75-L88 The part which analyzes the number format is https://github.com/SheetJS/js-xlsx/blob/master/bits/76_xls.js#L85-L87 and should be moved outside of the loop:
                        else p.w = SSF._general(p.v);
                }
                else p.w = SSF.format(fmtid,p.v, {date1904:!!date1904});
-               if(opts.cellDates && fmtid && p.t == 'n' && SSF.is_date(SSF._table[fmtid] || String(fmtid))) {
-                       var _d = SSF.parse_date_code(p.v); if(_d) { p.t = 'd'; p.v = new Date(_d.y, _d.m-1,_d.d,_d.H,_d.M,_d.S,_d.u); }
-               }
        } catch(e) { if(opts.WTF) throw e; }
+       if(opts.cellDates && fmtid && p.t == 'n' && SSF.is_date(SSF._table[fmtid] || String(fmtid))) {
+               var _d = SSF.parse_date_code(p.v); if(_d) { p.t = 'd'; p.v = new Date(_d.y, _d.m-1,_d.d,_d.H,_d.M,_d.S,_d.u); }
+       }
 }

 function make_cell(val, ixfe, t)/*:Cell*/ {

Here's an updated version: xlsx.full.min.js.zip -- can you unzip and test against this version?  If it works feel free to submit this as a patch with that change

I replace the node_modules/xlsx/dist/xlsx.full.min  with what you provide,And change "main": "./dist/xlsx.full.min".  that right?
then, i npm run dev to start my item,but it throws error when i import excel.

the test process is right？

You shouldn't have to change main -- is your webpack config pulling in the dist/xlsx.full.min.js script or is it bundling the xlsx.js script?  If it is bundling the main script, you can modify xlsx.js directly -- the block in https://github.com/SheetJS/js-xlsx/blob/master/xlsx.js#L14573-L14575 should be moved as shown in the diff above

I install<EMAIL_ADDRESS>again form npm.
step:

I move the code block with 14573 line to 14575 line form node_modules/xlsx/xlsx.js.
I replace the node_modules/xlsx/dist/xlsx.full.min with what you provide.
I move the code block with 14573 line to 14575 line form node_modules/xlsx/dist/xlsx.js.

it didn't work well!

You should have access to nodejs on your computer if you are using webpack.  Move your example file to test.xls and download the xlsx.full.min.js file.  Additionally, install xlsx from npm and test:
/* using the version from npm */
var XLSX1 = require('xlsx');
var ws1 = XLSX1.readFile('test.xls', {cellDates:true, cellNF:false, cellText:false}).Sheets.huiyuan;
console.log("old", XLSX1.utils.sheet_to_json(ws1, {dateNF:'YYYY-MM-DD'})[0]['生日']);

/* using the modified xlsx.full.min.js */
var XLSX2 = require('./xlsx.full.min');
var ws2 = XLSX2.readFile('test.xls', {cellDates:true, cellNF:false, cellText:false}).Sheets.huiyuan;
console.log("new", XLSX2.utils.sheet_to_json(ws2, {dateNF:'YYYY-MM-DD'})[0]['生日']);

Running from node, I see the output:
$ node issue841.js
old 41946
new 2014-11-03

Do you see the same thing?

I test in nodejs,the new one  work well.

I mean that i want to use the new one which is fixed in my item with webpack,should i modify something? i think if i modify the pakege.json   "main": "./xlsx"  to   "main": "./dist/xlsx.full.min" which is new one  or modify webpack seting alias will solve the bug.

what can i do will use the new one which is fixed in my item?
crying....

Does the import import * as XLSX from 'xlsx' work?

not work if i import XLSX from 'util/xlsx.full.min.js. i will wait for updating the package.


Signed multiplication

Looking at the SMT-LIB BV theory: http://smtlib.cs.uiowa.edu/logics-all.shtml#QF_BV
It seems that there's no difference between signed/unsigned mul like there is for the comparison operators, amongst others.
However, from what I understand, in Verilog there is a difference, here's one example from slide 33 of http://web.mit.edu/6.111/www/f2016/handouts/L08_4.pdf

Remember: unlike addition and subtraction, you need different
circuitry if your multiplication operands are signed vs. unsigned.
Same is true of the >>> (arithmetic right shift) operator. To get
signed operations all operands must be signed.

Trying to dig deeper into it, I managed to construct this difference:
import logging
logging.basicConfig(level=logging.DEBUG)
import magma as m
import fault

signed_mul = m.DefineFromVerilog("""
module smul(input [7:0] a, input [7:0] b, output signed [8:0] c);
    assign c = $signed(a) * $signed(b);
endmodule
""")[0]

unsigned_mul = m.DefineFromVerilog("""
module umul(input [7:0] a, input [7:0] b, output [8:0] c);
    assign c = a * b;
endmodule
""")[0]

class Top(m.Circuit):
    IO = ["a", m.In(m.Bits[8]), "b", m.In(m.Bits[8]),
          "c_signed", m.Out(m.Bits[9]), "c_unsigned", m.Out(m.Bits[9])]

    @classmethod
    def definition(io):
        io.c_signed <= signed_mul()(io.a, io.b)
        io.c_unsigned <= unsigned_mul()(io.a, io.b)

tester = fault.Tester(Top)
tester.circuit.a = 0x0B
tester.circuit.b = 0xFE
tester.eval()
tester.circuit.c_unsigned.expect(0xea)
tester.circuit.c_signed.expect(0xea)
tester.compile_and_run("verilator")

which fails with
Got      : 0x1ea
Expected : 0xea
i        : 4
Port     : Top.c_signed

it seems one difference is how verilog handles the extension logic when promoting to a larger width to hold the result of the multiplication.
Are there any other differences between signed vs unsigned multiply? How should we be reproducing the above behavior for signed multiplication at the magma level? If the only difference is extension, is it sufficient to do an unsigned multiply then apply the appropriate extend operator? One challenge with this approach is that it obfuscates the fact that this is a signed multiply, since it seems like there is a better way to generate the circuit if that's what you know is going on.

Actually, it seems like extending the output won't be sufficient, here's an example that promotes the output to be 2 * width of the inputs:
import logging
logging.basicConfig(level=logging.DEBUG)
import magma as m
import fault

signed_mul = m.DefineFromVerilog("""
module smul(input [7:0] a, input [7:0] b, output signed [15:0] c);
    assign c = $signed(a) * $signed(b);
endmodule
""")[0]

unsigned_mul = m.DefineFromVerilog("""
module umul(input [7:0] a, input [7:0] b, output [15:0] c);
    assign c = a * b;
endmodule
""")[0]

class Top(m.Circuit):
    IO = ["a", m.In(m.Bits[8]), "b", m.In(m.Bits[8]),
          "c_signed", m.Out(m.Bits[16]), "c_unsigned", m.Out(m.Bits[16])]

    @classmethod
    def definition(io):
        io.c_signed <= signed_mul()(io.a, io.b)
        io.c_unsigned <= unsigned_mul()(io.a, io.b)

tester = fault.Tester(Top)
tester.circuit.a = 0x0B
tester.circuit.b = 0xF0
tester.eval()
tester.circuit.c_unsigned.expect(0xa50)
tester.circuit.c_signed.expect(0xa50)
tester.compile_and_run("verilator")

which produces
Got      : 0xff50
Expected : 0xa50
i        : 4
Port     : Top.c_signed

Okay, I was able to reproduce the desired behavior by sign extending the inputs, so I think the issue is with the implicit conversion logic in verilog for promoting the output width of signed vs unsigned multiply.
For now, in magma, we can have the user do the appropriate extension to the inputs before doing the multiply, here's the example:
import logging
logging.basicConfig(level=logging.DEBUG)
import magma as m
import fault

signed_mul = m.DefineFromVerilog("""
module smul(input [15:0] a, input [15:0] b, output signed [15:0] c);
    // assign c = $signed(a) * $signed(b);
    assign c = a * b;
endmodule
""")[0]

unsigned_mul = m.DefineFromVerilog("""
module umul(input [7:0] a, input [7:0] b, output [15:0] c);
    assign c = a * b;
endmodule
""")[0]

class Top(m.Circuit):
    IO = ["a", m.In(m.Bits[8]), "b", m.In(m.Bits[8]),
          "c_signed", m.Out(m.Bits[16]), "c_unsigned", m.Out(m.Bits[16])]

    @classmethod
    def definition(io):
        io.c_signed <= signed_mul()(m.sext(m.sint(io.a), 8),
                                    m.sext(m.sint(io.b), 8))
        io.c_unsigned <= unsigned_mul()(io.a, io.b)

tester = fault.Tester(Top)
tester.circuit.a = 0x0B
tester.circuit.b = 0xF0
tester.eval()
tester.circuit.c_unsigned.expect(0xa50)
tester.circuit.c_signed.expect(0xff50)
tester.compile_and_run("verilator")


[SPARK-7681][MLlib] Add SparseVector support for gemv

JIRA: https://issues.apache.org/jira/browse/SPARK-7681

Merged build triggered.

Merged build started.

Test build #32885 has started for   PR 6209 at commit c069507.

Test build #32885 has finished for   PR 6209 at commit c069507.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32885/
Test FAILed.

retest this please.

Merged build triggered.

Merged build started.

Test build #32889 has started for   PR 6209 at commit c069507.

Test build #32889 has finished for   PR 6209 at commit c069507.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32889/
Test PASSed.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #32936 has started for   PR 6209 at commit 4616696.

Test build #32936 has finished for   PR 6209 at commit 4616696.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32936/
Test PASSed.

Finally in sealed trait Matrix, change
  /** Convenience method for `Matrix`-`DenseVector` multiplication. */
  def multiply(y: DenseVector): DenseVector = {

to
  /** Convenience method for `Matrix`-`Vector` multiplication. */
  def multiply(y: Vector): DenseVector = {

Are there runtime comparisons posted with vector*vector operations for these changes BLAS-1 vs BLAS-2 ? SparseMatrix * SparseVector compared to Array[SparseVector] x SparseVector

Merged build triggered.

Merged build started.

Test build #32981 has started for   PR 6209 at commit 410381a.

Test build #32981 has finished for   PR 6209 at commit 410381a.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32981/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #32982 has started for   PR 6209 at commit 054f05d.

Test build #32982 has finished for   PR 6209 at commit 054f05d.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32982/
Test FAILed.

retest this please.

Merged build triggered.

Merged build started.

Test build #32986 has started for   PR 6209 at commit 054f05d.

Test build #32986 has finished for   PR 6209 at commit 054f05d.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32986/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #32988 has started for   PR 6209 at commit 458d1ae.

Test build #32988 has finished for   PR 6209 at commit 458d1ae.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32988/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #32989 has started for   PR 6209 at commit 57a8c1e.

Test build #32989 has finished for   PR 6209 at commit 57a8c1e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32989/
Test PASSed.

Merged build finished. Test PASSed.

LGTM  cc: @mengxr @srowen @jkbradley

I will take a pass on the changes.

Merged build triggered.

Merged build started.

Test build #33040 has started for   PR 6209 at commit b890e63.

I just found the original gemv for SparseMatrix and DenseVector has a bug that it only scales y when beta != 0.0. We should fix it too.

Merged build triggered.

Merged build started.

Test build #33042 has started for   PR 6209 at commit ce0bb8b.

Test build #33040 has finished for   PR 6209 at commit b890e63.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class JavaOneVsRestExample
      head("OneVsRest Example: multiclass to binary reduction using OneVsRest")
class DataTypeSingleton(type):
class NullType(DataType):
class AtomicType(DataType):
class NumericType(AtomicType):
class IntegralType(NumericType):
class FractionalType(NumericType):
class StringType(AtomicType):
class BinaryType(AtomicType):
class BooleanType(AtomicType):
class DateType(AtomicType):
class TimestampType(AtomicType):
class DecimalType(FractionalType):
class DoubleType(FractionalType):
class FloatType(FractionalType):
class ByteType(IntegralType):
class IntegerType(IntegralType):
class LongType(IntegralType):
class ShortType(IntegralType):
class Column(object):
class GroupedData(object):

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33040/
Test PASSed.

Test build #33042 has finished for   PR 6209 at commit ce0bb8b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33042/
Test PASSed.

LGTM. Merged into master and branch-1.4. I will test the Mima excludes to make them minimal. Please update the naive Bayes PR. Thanks!


"E28: No such highlight group name: markdownError" since 0.6.1

Hi, me again :) Not sure if this is a theme error, but since updating to Neovim 0.6.1 I'm getting this error when running checkhealth. I'm able to get rid of the error when setting this myself, but perhaps this should be set in the theme?

Hi again! I don't seem to get anything related to the theme when using :checkhealth, is there something I need to enable to see it?

Sorry, tracked this down to another plugin. Don't mind me!

All good!

Sorry, tracked this down to another plugin. Don't mind me!

What plugin?!?! @rmehri01

I'm not sure, I think you'd have to ask @zeitchef :)


Add a sample image with an image message to the README

I thought it would be good to have a sample image with an image message.


An Implicit bug of  illegal index

first of all, we konw cloudSmoothness[i].ind, where i<=4 is only initiallized as 0, because
https://github.com/TixiaoShan/LIO-SAM/blob/6665aa0a4fcb5a9bb3af7d3923ae4a035b489d47/src/featureExtraction.cpp#L53
https://github.com/TixiaoShan/LIO-SAM/blob/6665aa0a4fcb5a9bb3af7d3923ae4a035b489d47/src/featureExtraction.cpp#L84-L101
then cloudInfo.startRingIndex[0]==4 in https://github.com/TixiaoShan/LIO-SAM/blob/6665aa0a4fcb5a9bb3af7d3923ae4a035b489d47/src/imageProjection.cpp#L576-L580
then the sp==4 when j==0 in https://github.com/TixiaoShan/LIO-SAM/blob/6665aa0a4fcb5a9bb3af7d3923ae4a035b489d47/src/featureExtraction.cpp#L153-L156
which means the k begins as 4  and  ind==0 in https://github.com/TixiaoShan/LIO-SAM/blob/6665aa0a4fcb5a9bb3af7d3923ae4a035b489d47/src/featureExtraction.cpp#L196-L198
Finally, in the loop below, the ind+l will be  <0 so the index of array cloudNeighborPicked[ind + l] is illegal!
https://github.com/TixiaoShan/LIO-SAM/blob/6665aa0a4fcb5a9bb3af7d3923ae4a035b489d47/src/featureExtraction.cpp#L186-L192

I suggest to replace
https://github.com/TixiaoShan/LIO-SAM/blob/6665aa0a4fcb5a9bb3af7d3923ae4a035b489d47/src/featureExtraction.cpp#L156
as
int sp = MAX(((cloudInfo.startRingIndex[i] * (6 - j) + cloudInfo.endRingIndex[i] * j) / 6, 5);


Switch to functional/stateless architecture

Currently, BYOC is tightly coupled to the app object.  This has some downsides:

It's not possible to use BYOC without an app object, e.g. in simple scripts where a dictionary would otherwise suffice.
The app objects end up keeping a bunch of intermediate state for their entire lifetimes, even though (in principle) that state can be dropped once the "final" values are calculated.

I believe that moving to a functional/stateless architecture would address both of these points, and make the code more extensible in general.  By "functional/stateless architecture", I mean roughly that there would be a load(params, configs) function that would return a dict/object with all the specified information.
However, it's not clear how all of the useful features of BYOC would be reimplemented in such a system.  The purpose of this thread is to enumerate and discuss such features.

DocoptConfig: Using parameters when loading configs

UpstreamConfig: Reusing configs from other apps

Part: Deriving multiple parameters from a single config value

Never overwrite manually specified values

This is more of a danger with the load() function, since the natural thing to do would just be to overwrite everything.
I'd also need to take care to distinguish between values set by the user, and values set by a previous call to load.

Automatic initialization

One feature of the current system is that you don't need to manually initialize things.  Just add a Template to a Pcr reaction, for example, and it will automatically fill itself when you go to use it.  This is convenient, but it adds a lot of complexity and (in some cases) duplicate effort.
A functional architecture would instead calculate everything at once.

Config

Currently, all the config classes are initialized with the app object.
This isn't ideal:

All the configs really need is to load values from somewhere.  They don't need the app to do this, they just need some of the information that might be contained in the app.

Move all this to the factories:

Configs have no knowledge of the apps
Config factories do, though, and use that knowledge to correctly instantiate configs.

Three ways to specify values for configs:

Factory kwargs
App attributes
Class variables

I can probably write some code to simplify this:

Define "setting" descriptors for config classes.
Factories find all settings and set as appropriate.
Can instruct factory to look for different attribute.

Class-based interface

The functional interface will require the configs to be completely configured and ready to go.
The class-based interface will try to be more streamlined:

The __config__ factories will take responsibility for actually configuring the configs.
All parameters are automatically calculated and installed when any one parameter is accessed.

Apps can't be half-initialized:

Either every parameter has a value, or none do.
I'm not totally sure if this will solve issues like #47.  It will be necessary to set sample.parent before calling load(), but that doesn't seem to onerous.  Configs are immutable, so it doesn't matter what order the configs are used in.

Apps can't be reloaded:

There's no perfect way to distinguish between a value set/modified by the user vs one set by load(), so once a value has been set, I need to respect it.
I could add a load(force=True) flag to override this.

Method getter

This intrinsically needs to know about the app.

Having thought about this for a while, I don't think I can transition stepwise to a stateless architecture:

Reagents can be added to samples at any time, so there's no way to know when a sample is "complete", i.e. ready to load.  This means that I'd have to force the user to manually load each reagent and sample, and I just don't think that that API is acceptable.
Loading parameters at the time that they're accessed is a natural way around this problem.  By the time you're accessing an attribute, it's reasonable (and intuitive to API users) to assume that all the prerequisite reagents have been added to the sample by then.  Importantly, though, accessing one attribute doesn't imply that any others are ready, which is why it's not really tractable to have an API that automatically loads everything once the first attribute is accessed.

However, the stateless architecture makes much more sense for a general-purpose library: it's simpler, more efficient, and more extensible.  Without a stateless architecture, I couldn't see myself recommending this library to other people, nor could I see myself using it for anything other than stepwise.  So I think a stateless architecture is essential.
Putting this all together, I think I need to support both architectures.  More specifically, I need to implement a stateful architecture using the stateless architecture.  This would actually be a good way to demonstrate the extensibility of the stateless architecture.
Some implementation details I have in mind:

Apps would have some configuration option that specifies how parameters should behave when they need a value.  The options would be (i) raise an exception explaining that load() needs to be called, (ii) attempt to load that parameter, or (iii) attempt to load all parameters.
Define a "context" object that would store all the state necessary to load parameters.  This object would hold the app itself, config layers, resolved getters for each parameter, miscellaneous data structure to communicate between parameters (e.g. for Part), etc.

In stateless mode, the context object would be created within the load() function, stored in the app, and deleted once everything has been loaded.
In stateful mode, the context object would be permanently stored in the app and possibly updated each time a new parameter was accessed.  It'd probably make sense to provide a cleanup() function that could get rid of it.
Currently I have the concept of bound/unbound getters/configs.  Bound objects hold a pointer to the app itself, and can get access to all the caches stored in the app via that pointer.  I'd get rid of this concept, and just have getters/configs receive the context object as an argument.

I'd want to have pretty smart cache objects.  For example, say I want to cache the layers from a config.  I'd pass the config the context object, which would contain the app being loaded.  If the config doesn't actually use any information in the app, though, I could cache the resulting layers in such a way that they could be used by other apps.

Case study: the stepwise configuration file.  Currently I have a stepwise config that looks in all the places where a stepwise config file could be found and returns a layer for each.  This is app-independent.  But the config also allows the user to specify a "root key", in which case the config becomes app-dependent.  Maybe I want to allow configs to depend on other configs.  In this example, there would be an app-independent stepwise config that just loads every file it can find, and another app-dependent stepwise config that loads the independent one then yields copies of all those layers with a different root key.  Fundamentally this is just letting the config make use of the cache that's already there, but this seems like a good way to do it.

Regarding the docopt issue, where some parameters can be loaded multiple times:

Some options:

Store every value produced by a getter, and associate it with a version number.  Every time a parameter value is needed, use the cached values unless they're out of date.  This would require a very detailed cache, though, and I'd need to call the picker every time a value is accessed.  I think this is too much.
Clear the parameter-value cache each time a new config is loaded.  This is pretty simple, but wasteful because it doesn't make an effort to avoid recalculating things that aren't affected by the new config.
Allow getters to raise NotReadyYet.  This would indicate that the parameter could change value in the future (e.g. once more configs are loaded), but for now this getter should just be skipped.

I'd like some way for this exception to indicate what it's waiting on, otherwise load() could get stuck in an infinite loop (by trying to keep going until all "pending" parameters have values).  Maybe I could have the context keep an internal version number that increments every time something about the context changes.  If I get NotReadyYet twice for the same parameter with the same context version number, that's an infinite loop.


Getting all SCTE35 cue messages from TS file 1,5 hour length

Hi,
Can I have all SCTE-35 cue messages from TS file using tsduck in XML format (or another) similar using it for the SCTE-35 injection? Please help me with correct command options/parameters.

Hi,
The command is:
tstables input.ts --pid NNN --xml cue.xml

With NNN being the PID number carrying SCTE-35 cues. You can use options --binary or --text for other output formats.
And as a general guideline, RTFM as usual.

Thank you very much!


Build Lib\Jsrt and ch on Linux

Build Lib\Jsrt and ch on Linux
This commit gets ch and Lib\Jsrt building on Linux.
ch doesn't really do anything yet since ChakraCore isn't present yet.
Of note are the following changes:

The change builds on the change to define the xplat API for Jsrt (however the API is still not implemented)
ch's dependency on STL multimap is replaced with a sorted doubly linked list
ch uses narrow strings for the source file name instead of wide
JsrtHolder is templatized on the callback function

One design choice here is to use the PAL for compiling ch. The work needed to remove the PAL dependency is understood but for expediency, I've opted to go with the PAL.

Closing this PR- not sure why its targeted to master...


Feature/move demos

Issue #, if available:
n/a
Description of changes:
This PR is primarily focused on Babylon demo updates.

Moved all Babylon demos to their own package: /packages/demos-babylon/
Demos now use a webpack build process
Cognito credentials for demos are now stored in an untracked local file (preventing accidental commits of Cognito IDs)
Added new README to packages/demos-babylon/ package describing setup and running of Babylon demos
Added a new "Custom Character" demo
Small change to HostObject.js to enable custom characters
Various visual improvements to demos
Removed outdated Babylon "examples" files
"dist" files are no longer saved to the repo

This change uncovered some flaws in our build and lint scripts. Those have been addressed.

Reviewing changes:
There are 315 changed files. The majority of these are just file moves (aka "renames"). To make focusing on the significant files easier, I recommend turning OFF the following file filters:

.bin
.glb
.gltf
.jpg
.png

Testing
The demos were tested manually. For instructions on how to run the demos, see /packages/demos-babylon/README.md.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

When I run npm run test, even there are no failing test, I notice these errors in the terminal.
><EMAIL_ADDRESS>test
> echo "Error: no test specified" && exit 1

Error: no test specified
npm ERR! Lifecycle script `test` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace<EMAIL_ADDRESS>npm ERR!   at location: /Users/haozhao/Downloads/Sumerian/hao-forked-sumerian/amazon-sumerian-hosts/packages/demos-babylon
⸨⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⠂⸩ ⠸ : ERR!   at location: /Users/haozhao/Downloads/Sumerian/hao-forked-sumerian/amazon-sumerian-hosts/packages/demos-babylon
><EMAIL_ADDRESS>test
> node ../../node_modules/karma/bin/karma start

TEST_BROWSERS=Chrome ⠸ : ERR!   at location: /Users/haozhao/Downloads/Sumerian/hao-forked-sumerian/amazon-sumerian-hosts/packages/demos-babylon
webpack was not included as a framework in karma configuration, setting this automatically...erian/amazon-sumerian-hosts/packages/demos-babylon
Webpack bundling...⸩ ⠸ : ERR!   at location: /Users/haozhao/Downloads/Sumerian/hao-forked-sumerian/amazon-sumerian-hosts/packages/demos-babylon
[BABEL] Note: The code generator has deoptimised the styling of /Users/haozhao/Downloads/Sumerian/hao-forked-sumerian/amazon-sumerian-hosts/packages/amazon-sumerian-hosts-core/dist/host.core.js as it exceeds the max of 500KB.
asset commons.js 8.56 MiB [emitted] (name: commons) (id hint: commons)Sumerian/hao-forked-sumerian/amazon-sumerian-hosts/packages/demos-babylon


[csolution] Print boards list

I am suggesting to print list of available boards in similar way as devices.
It is good to have reference during editing of project/solution yml files.
Usage:
  csolution <command> [<args>] [OPTIONS...]

Commands:
  list packs          Print list of installed packs
       devices        Print list of available device names
       components     Print list of available components
       dependencies   Print list of unresolved project dependencies
       contexts       Print list of contexts in a csolution.yml
  convert             Convert cproject.yml or csolution.yml in cprj files
  help                Print usage

Options:
  -p, --project arg   Input cproject.yml file
  -s, --solution arg  Input csolution.yml file
  -f, --filter arg    Filter words
  -o, --output arg    Output directory
  -h, --help          Print usage

This could be probably extended also for other categories like examples, vendors, keywords, conditions...

I installed update to cmsis-toolbox_0.9.1.s.
My projects that were working now fail because board "was not found."
Per issue, it would be nice to list the boards that are available when checking cproject.yml

@DavidJurajdaNXP the list boards command was added to CMSIS-Toolbox v0.9.3, can you please test it?

@brondani I verified the list boards worked.
Question on all of these "list" commands.
I am confused why the list includes ALL potential options.
I thought it would limit the devices or boards IF the .cproject.yml includes a SPECIFIC device / board?
I have a project that has
board: LPCXpresso55s69
device: LPC55S69JBD64:cm33_core0
However, if I issue command with -p name.cproject.yml list devices  OR  list boards
I get the full list available in packs folder?
I would expect that if I typed:  csolution list packs OR csolution list boards.  BUT NOT when I type -p project.
Am I understanding the command wrong?  I would like to know that my project is limiting scope appropriately.

Thanks @purdurnr
The -s solution -c context option will limit the list devices and list boards commands according to the pack selection. If nothing is specified under the packs keyword in csolution.yml or in cdefault.yml all the installed packs are considered.
Concerning the -p project there is a specification decision to be taken whether to extend the pack selection to cproject.yml as requested here or to limit the input and accept only -s solution.

@brondani I noticed an error with specifying the board in my example cproject.
I concluded it is case sensitive.  I guess that is ok, but wonder if that is intended.

As far as I am aware at this point Open-CMSIS-Pack is case sensitive in all areas without exceptions.
Nevertheless a fair question to raise, whether the csolution being able to process "sloppy" yaml input should also accept case insensitive input.
I would prefer not to open that door. When using the CLI people should copy the output into the file.

Closing this as list boards has been implemented long time ago.


KmerCamel doesn't need to be included as a submodule

If the goal of this is only to include it on Bioconda, this can be done more easily by specifying it as a Bioconda dependency.

Currently, FMSI uses the internals of KmerCamel (fixed to a specific version) for the experimental features of compaction while doing set operations.
Once I revisit these experimental operations, I might remove the dependency on KmerCamel's internals, but for now I don't see a better option for it than including it in the repo.


Documentation on node.js functions

Can't find where is the convention for how node.js based functions should be defined. Does the main entry point must be called index.js? does it have to be specified in the package.json's main entry? Is it possible to rename it or place it in another folder?

Especificilly I'm interested in bots as a service functions.

This issue was moved to Azure/azure-webjobs-sdk-script#1131


Cannot subset using  adata_rna = adata_rna[cell_annot.index,:]

Hello,
I tried to run MultiVelo on the test dataset and had no issues, but when trying on my own data, I am having a KeyError when trying to run:
adata_rna = adata_rna[cell_annot.index,:]
adata_rna.obs['clusterID'] = cell_annot['clusterID']

(step 7 of your notebook)
Here is the error that I am getting:
KeyError                                  Traceback (most recent call last)
Input In [19], in <cell line: 1>()
----> 1 adata_rna = adata_rna[cell_annot.index,:]
2 adata_rna.obs['clusterID'] = cell_annot['clusterID']
File ~/.conda/envs/scanpy/lib/python3.8/site-packages/anndata/_core/anndata.py:1113, in AnnData.getitem(self, index)
1111 def getitem(self, index: Index) -> "AnnData":
1112     """Returns a sliced view of the object."""
-> 1113     oidx, vidx = self._normalize_indices(index)
1114     return AnnData(self, oidx=oidx, vidx=vidx, asview=True)
File ~/.conda/envs/scanpy/lib/python3.8/site-packages/anndata/_core/anndata.py:1094, in AnnData._normalize_indices(self, index)
1093 def _normalize_indices(self, index: Optional[Index]) -> Tuple[slice, slice]:
-> 1094     return _normalize_indices(index, self.obs_names, self.var_names)
File ~/.conda/envs/scanpy/lib/python3.8/site-packages/anndata/_core/index.py:35, in _normalize_indices(index, names0, names1)
33         index = index[0].values, index[1]
34 ax0, ax1 = unpack_index(index)
---> 35 ax0 = _normalize_index(ax0, names0)
36 ax1 = _normalize_index(ax1, names1)
37 return ax0, ax1
File ~/.conda/envs/scanpy/lib/python3.8/site-packages/anndata/_core/index.py:101, in _normalize_index(indexer, index)
99         if np.any(positions < 0):
100             not_found = indexer[positions < 0]
--> 101             raise KeyError(
102                 f"Values {list(not_found)}, from {list(indexer)}, "
103                 "are not valid obs/ var names or indices."
104             )
105         return positions  # np.ndarray[int]
106 else:
KeyError: "Values ['AAACAGCCAGATAGAC-1', 'AAACCAACAACAACAA-1' ........ 'TTTGTTGGTGATCAGC-1', 'TTTGTTGGTTCACCCA-1'], are not valid obs/ var names or indices."
Do you know why I get that error and how can I fix it ?
Thanks in advance for any help you are able to provide

Hi. This error means that none or not all cell_annot.index barcodes are present in the adata_rna object. You can print adata_rna.obs to check if the barcode format matches.
If you're starting with a brand new dataset and following Scanpy's preprocessing tutorial to annotate the cell types, you likely won't need the filtering steps in MultiVelo's tutorial. The provided cell_annotations.tsv file is for the test dataset specifically. But if you already have a subset of cell barcodes and corresponding annotations available that you want to extract and run velocity on, which are loaded as cell_annot, then you can follow these steps.

Hi, I checked that the barcode format match.
I processed the data with Velocyto CLI to get the .loom file that I used in this analysis from cellRancer-arc output.
I processed all my data in Seurat, including the clustering that I want to use here. This clustering only include a part of the data since I filtered out contaminants. Therefore, I have 12107 cells in the Anndata file but 8611 cells in my annotation csv (from Seurat analysis).
Is it this difference that cause the error ?

That shouldn't be an issue if the 12107 cells include all of the 8611 cells. You can find out how many of them are indeed in the Anndata with
np.sum(np.isin(cell_annot.index, adata_rna.obs_names))
Then cell_annot_sub = cell_annot[np.isin(cell_annot.index, adata.obs_names)]

Ok, I found where my issue came from.
The filtration:
sc.pp.filter_cells(adata_rna, min_counts=1000)
sc.pp.filter_cells(adata_rna, max_counts=20000)

is different from the one I used in seurat and indeed caused cells to be present in my cell annotation file but not in the anndata file.
Thanks a lot for your help!

You're welcome. I will close this issue now.


Can't capture anything

Fresh docker install. Registered a test user, got email, confirmed my account. Now, no matter what URL I specify, I get this error:
There's been an error
No such page or content is not accessible.
I tried "docker logs -f xyz" for each of the containers, nothing useful. I have no info to even start digging...

Sorry about that, we were in the middle of updating the base image for the new pywb release.
Just merged a PR that should fix things. Can you trying again with the latest and rebuilding?

git pull
Updating bcf772f..7e11a8b
Fast-forward
webrecorder/Dockerfile                          |  4 ++--
webrecorder/webrecorder/init.py             |  2 +-
webrecorder/webrecorder/admincontroller.py      |  6 +++++-
webrecorder/webrecorder/rec/storage/base.py     |  3 +++
webrecorder/webrecorder/rec/storage/local.py    | 17 +++++++++++------
webrecorder/webrecorder/rec/storagecommitter.py |  5 +++++
webrecorder/webrecorder/rec/tempchecker.py      | 14 ++++++++++++++
webrecorder/webrecorder/utils.py                |  6 +++---
8 files changed, 44 insertions(+), 13 deletions(-)
Ran recreate.sh
Still same error

Do I need to wipe and start from 0?

That should have pulled a new image and updated everything...
There is nothing in any of these logs?
docker-compose logs recorder
docker-compose logs warcserver
docker-compose logs app

Can you paste the contents of these, or send?
What is the host OS you're running on?

I have Ubuntu VM under ProxMox.
Here are the logs:
uname -a
Linux home 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
docker-compose logs recorder
Attaching to webrecorder_recorder_1
recorder_1    | [uWSGI] getting INI configuration from /code/apps/rec.ini
recorder_1    | *** Starting uWSGI 2.0.18 (64bit) on [Fri Mar  1 02:08:39 2019] ***
recorder_1    | compiled with version: 6.3.0 20170516 on 28 February 2019 17:09:58
recorder_1    | os: Linux-4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019
recorder_1    | nodename: 43ec6575510d
recorder_1    | machine: x86_64
recorder_1    | clock source: unix
recorder_1    | pcre jit disabled
recorder_1    | detected number of CPU cores: 16
recorder_1    | current working directory: /code
recorder_1    | detected binary path: /usr/local/bin/uwsgi
recorder_1    | your memory page size is 4096 bytes
recorder_1    | detected max file descriptor number: 1024
recorder_1    | - async cores set to 1000 - fd table size: 1024
recorder_1    | lock engine: pthread robust mutexes
recorder_1    | thunder lock: disabled (you can enable it with --thunder-lock)
recorder_1    | uwsgi socket 0 bound to TCP address :8010 fd 3
recorder_1    | Python version: 3.7.2 (default, Feb  6 2019, 12:04:03)  [GCC 6.3.0 20170516]
recorder_1    | Python main interpreter initialized at 0x5611ab722b40
recorder_1    | python threads support enabled
recorder_1    | your server socket listen backlog is limited to 100 connections
recorder_1    | your mercy for graceful operations on workers is 60 seconds
recorder_1    | mapped 359787320 bytes (351354 KB) for 4000 cores
recorder_1    | *** Operational MODE: preforking+async ***
recorder_1    | No Archives Loaded
recorder_1    | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x5611ab722b40 pid: 21 (default app)
recorder_1    | *** uWSGI is running in multiple interpreter mode ***
recorder_1    | spawned uWSGI master process (pid: 21)
recorder_1    | spawned uWSGI worker 1 (pid: 25, cores: 1000)
recorder_1    | spawned uWSGI worker 2 (pid: 26, cores: 1000)
recorder_1    | spawned uWSGI worker 3 (pid: 27, cores: 1000)
recorder_1    | spawned uWSGI worker 4 (pid: 28, cores: 1000)
recorder_1    | spawned uWSGI mule 1 (pid: 29)
recorder_1    | spawned uWSGI mule 2 (pid: 30)
recorder_1    | *** running gevent loop engine [addr:0x5611aacfafd0] ***
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Worker: Running StorageCommitter every 30
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Worker: Running TempChecker every 30
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Recorder pubsub: Waiting for messages
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Recorder pubsub: Waiting for messages
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Recorder pubsub: Waiting for messages
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Recorder pubsub: Waiting for messages
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Storage Committer Started
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Storage Root: /data/storage/
recorder_1    | wr.io: 2019-03-01 02:08:40: [INFO]: Temp Check Root: /data/warcs/
recorder_1    | wr.io: 2019-03-01 02:08:40: [DEBUG]: TempChecker: Temp Users to Remove: 0
recorder_1    | wr.io: 2019-03-01 02:09:10: [DEBUG]: TempChecker: Temp Users to Remove: 0
recorder_1    | wr.io: 2019-03-01 02:09:40: [DEBUG]: TempChecker: Temp Users to Remove: 0
recorder_1    | wr.io: 2019-03-01 02:10:11: [DEBUG]: TempChecker: Temp Users to Remove: 0
recorder_1    | wr.io: 2019-03-01 02:10:41: [DEBUG]: TempChecker: Temp Users to Remove: 0
recorder_1    | wr.io: 2019-03-01 02:11:11: [DEBUG]: TempChecker: Temp Users to Remove: 0
recorder_1    | wr.io: 2019-03-01 02:11:41: [DEBUG]: TempChecker: Temp Users to Remove: 0
docker-compose logs warcserver
Attaching to webrecorder_warcserver_1
warcserver_1  | [uWSGI] getting INI configuration from /code/apps/load.ini
warcserver_1  | *** Starting uWSGI 2.0.18 (64bit) on [Fri Mar  1 02:08:39 2019] ***
warcserver_1  | compiled with version: 6.3.0 20170516 on 28 February 2019 17:09:58
warcserver_1  | os: Linux-4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019
warcserver_1  | nodename: 67dedae570ef
warcserver_1  | machine: x86_64
warcserver_1  | clock source: unix
warcserver_1  | pcre jit disabled
warcserver_1  | detected number of CPU cores: 16
warcserver_1  | current working directory: /code
warcserver_1  | detected binary path: /usr/local/bin/uwsgi
warcserver_1  | your memory page size is 4096 bytes
warcserver_1  | detected max file descriptor number: 1024
warcserver_1  | - async cores set to 400 - fd table size: 1024
warcserver_1  | lock engine: pthread robust mutexes
warcserver_1  | thunder lock: disabled (you can enable it with --thunder-lock)
warcserver_1  | uwsgi socket 0 bound to TCP address :8080 fd 3
warcserver_1  | Python version: 3.7.2 (default, Feb  6 2019, 12:04:03)  [GCC 6.3.0 20170516]
warcserver_1  | Python main interpreter initialized at 0x55c346ac3a10
warcserver_1  | python threads support enabled
warcserver_1  | your server socket listen backlog is limited to 100 connections
warcserver_1  | your mercy for graceful operations on workers is 60 seconds
warcserver_1  | mapped 317025104 bytes (309594 KB) for 4000 cores
warcserver_1  | *** Operational MODE: preforking+async ***
warcserver_1  | No Archives Loaded
warcserver_1  | WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x55c346ac3a10 pid: 21 (default app)
warcserver_1  | *** uWSGI is running in multiple interpreter mode ***
warcserver_1  | spawned uWSGI master process (pid: 21)
warcserver_1  | spawned uWSGI worker 1 (pid: 25, cores: 400)
warcserver_1  | spawned uWSGI worker 2 (pid: 26, cores: 400)
warcserver_1  | spawned uWSGI worker 3 (pid: 27, cores: 400)
warcserver_1  | *** running gevent loop engine [addr:0x55c345cc3fd0] ***
warcserver_1  | spawned uWSGI worker 4 (pid: 28, cores: 400)
warcserver_1  | spawned uWSGI worker 5 (pid: 29, cores: 400)
warcserver_1  | spawned uWSGI worker 6 (pid: 30, cores: 400)
warcserver_1  | spawned uWSGI worker 7 (pid: 31, cores: 400)
warcserver_1  | spawned uWSGI worker 8 (pid: 32, cores: 400)
warcserver_1  | spawned uWSGI worker 9 (pid: 33, cores: 400)
warcserver_1  | spawned uWSGI worker 10 (pid: 34, cores: 400)
docker-compose logs app
Attaching to webrecorder_app_1
app_1         | [uWSGI] getting INI configuration from /code/apps/apiapp.ini
app_1         | [uwsgi-static] added mapping for http://webrecorder.proxy/static => /code/webrecorder/static
app_1         | [uwsgi-static] added mapping for /static => /code/webrecorder/static
app_1         | *** Starting uWSGI 2.0.18 (64bit) on [Fri Mar  1 02:08:40 2019] ***
app_1         | compiled with version: 6.3.0 20170516 on 28 February 2019 17:09:58
app_1         | os: Linux-4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019
app_1         | nodename: 9537097ef449
app_1         | machine: x86_64
app_1         | clock source: unix
app_1         | pcre jit disabled
app_1         | detected number of CPU cores: 16
app_1         | current working directory: /code
app_1         | detected binary path: /usr/local/bin/uwsgi
app_1         | your memory page size is 4096 bytes
app_1         | detected max file descriptor number: 1024
app_1         | building mime-types dictionary from file /etc/mime.types...554 entry found
app_1         | - async cores set to 400 - fd table size: 1024
app_1         | lock engine: pthread robust mutexes
app_1         | thunder lock: disabled (you can enable it with --thunder-lock)
app_1         | uwsgi socket 0 bound to TCP address :8081 fd 3
app_1         | uwsgi socket 1 bound to TCP address :8088 fd 4
app_1         | Python version: 3.7.2 (default, Feb  6 2019, 12:04:03)  [GCC 6.3.0 20170516]
app_1         | Python main interpreter initialized at 0x55cb2410ad50
app_1         | python threads support enabled
app_1         | your server socket listen backlog is limited to 100 connections
app_1         | your mercy for graceful operations on workers is 60 seconds
app_1         | mapped 317025104 bytes (309594 KB) for 4000 cores
app_1         | *** Operational MODE: preforking+async ***
app_1         | /usr/local/lib/python3.7/site-packages/yaml/constructor.py:126: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
app_1         |   if not isinstance(key, collections.Hashable):
app_1         | No Archives Loaded
app_1         | WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x55cb2410ad50 pid: 21 (default app)
app_1         | *** uWSGI is running in multiple interpreter mode ***
app_1         | spawned uWSGI master process (pid: 21)
app_1         | spawned uWSGI worker 1 (pid: 26, cores: 400)
app_1         | spawned uWSGI worker 2 (pid: 27, cores: 400)
app_1         | spawned uWSGI worker 3 (pid: 28, cores: 400)
app_1         | *** running gevent loop engine [addr:0x55cb22049fd0] ***
app_1         | spawned uWSGI worker 4 (pid: 29, cores: 400)
app_1         | spawned uWSGI worker 5 (pid: 30, cores: 400)
app_1         | spawned uWSGI worker 6 (pid: 31, cores: 400)
app_1         | spawned uWSGI worker 7 (pid: 33, cores: 400)
app_1         | spawned uWSGI worker 8 (pid: 35, cores: 400)
app_1         | spawned uWSGI worker 9 (pid: 39, cores: 400)
app_1         | spawned uWSGI worker 10 (pid: 41, cores: 400)
app_1         | /usr/local/lib/python3.7/site-packages/pkg_resources/init.py:1710: DeprecationWarning: Use of .. or absolute path in a resource path is not allowed and will raise exceptions in a future release.
app_1         |   zip_path = self._resource_to_zip(resource_name)
app_1         | [pid: 26|app: 0|req: 1/1] <IP_ADDRESS> () {62 vars in 1014 bytes} [Fri Mar  1 02:09:02 2019] GET /api/v1/auth/curr_user => generated 348 bytes in 19 msecs (HTTP/1.1 200) 3 headers in 208 bytes (3 switches on core 399)
app_1         | [pid: 39|app: 0|req: 1/2] <IP_ADDRESS> () {40 vars in 632 bytes} [Fri Mar  1 02:10:36 2019] GET /api/v1/auth/curr_user?include_colls=true => generated 892 bytes in 27 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 399)
app_1         | [pid: 41|app: 0|req: 1/3] <IP_ADDRESS> () {62 vars in 994 bytes} [Fri Mar  1 02:10:36 2019] GET /api/v1/client_archives => generated 2 bytes in 9 msecs (HTTP/1.1 200) 2 headers in 70 bytes (3 switches on core 399)
app_1         | [pid: 26|app: 0|req: 2/4] <IP_ADDRESS> () {66 vars in 1061 bytes} [Fri Mar  1 02:10:48 2019] POST /api/v1/new => generated 198 bytes in 8 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 399)
app_1         | [pid: 39|app: 0|req: 2/5] <IP_ADDRESS> () {60 vars in 963 bytes} [Fri Mar  1 02:10:52 2019] GET /api/v1/client_archives => generated 2 bytes in 3 msecs (HTTP/1.1 200) 2 headers in 70 bytes (3 switches on core 399)
app_1         | [pid: 41|app: 0|req: 2/6] <IP_ADDRESS> () {62 vars in 1014 bytes} [Fri Mar  1 02:11:45 2019] GET /api/v1/auth/curr_user => generated 348 bytes in 8 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 399)
app_1         | [pid: 41|app: 0|req: 3/7] <IP_ADDRESS> () {40 vars in 632 bytes} [Fri Mar  1 02:11:46 2019] GET /api/v1/auth/curr_user?include_colls=true => generated 892 bytes in 6 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 399)
app_1         | [pid: 26|app: 0|req: 3/8] <IP_ADDRESS> () {62 vars in 994 bytes} [Fri Mar  1 02:11:47 2019] GET /api/v1/client_archives => generated 2 bytes in 3 msecs (HTTP/1.1 200) 2 headers in 70 bytes (3 switches on core 399)
app_1         | [pid: 35|app: 0|req: 1/9] <IP_ADDRESS> () {66 vars in 1061 bytes} [Fri Mar  1 02:12:03 2019] POST /api/v1/new => generated 222 bytes in 29 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 399)
app_1         | [pid: 26|app: 0|req: 4/10] <IP_ADDRESS> () {62 vars in 1155 bytes} [Fri Mar  1 02:15:46 2019] GET /api/v1/auth/curr_user => generated 348 bytes in 5 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 399)
app_1         | [pid: 41|app: 0|req: 4/11] <IP_ADDRESS> () {60 vars in 1064 bytes} [Fri Mar  1 02:15:48 2019] GET /api/v1/collections?user=Alex&include_recordings=false&include_lists=false => generated 544 bytes in 6 msecs (HTTP/1.1 200) 2 headers in 72 bytes (3 switches on core 399)
app_1         | [pid: 41|app: 0|req: 5/12] <IP_ADDRESS> () {60 vars in 963 bytes} [Fri Mar  1 02:15:48 2019] GET /api/v1/client_archives => generated 2 bytes in 3 msecs (HTTP/1.1 200) 2 headers in 70 bytes (3 switches on core 399)

That all looks good so far, but no capture traffic yet in the logs.
What's the url you get redirected to after entering the url, say http://example.com/
Are you running locally off localhost or off of a different host?

Those logs were after several failed capture attempts. I run it behind Traefik proxy. I just tried again, connecting to the host directly (http://cloud:8089) - same exact error. And no new useful log data.

Ah, that's would be the source of the issue..
I realize we should update the docs to make this more clear and also have better error messaging.
The default settings are only for running over http://localhost:8089 with the content loaded from http://localhost:8092 (for security reasons to isolate the app from the captured content)
To have a different host/port, you need to set APP_HOST and CONTENT_HOST in wr.env, and then run recreate.sh
Eg:
APP_HOST=cloud:8089
CONTENT_HOST=cloud:8092

You can use different ports/domains, since you're using Traefik as long as they route to localhost:8089 and localhost:8092

Wow, it works now! Captured some pages, but with the current browser only.
If I pick any other browser from the list, it goes into capturing mode, 0 bytes and nothing stored...

Is running WR behind Traefik a supported config?

We haven't had a chance to test WR behind Traefik yet, but something we probably can support.
We've generally been testing with nginx as the reverse proxy but no reason Traefik wouldn't work.
To use HTTPS, you should set SCHEME=https env instead and not add the port.
The APP_HOST and CONTENT_HOST are designed to match the Host header sent by the browser, which would not include :443.

We do have a Ansible playbook which sets up nginx with a reverse proxy. There's a few additional settings for nginx to get everything going (https://github.com/webrecorder/webrecorder-deploy/blob/master/templates/wrhost.conf) but I think Trafik should just work.. I'll try to test when I get a chance. For now, nginx config should generally work well.
For the remote browsers, there's additional containers that need to be pulled
You'll probably need to pull the following container:
docker pull oldwebtoday/vnc-webrtc-audio

and then for each browser you'd like, you can also pull any or all of the following:
docker pull oldwebtoday/chrome:67
docker pull oldwebtoday/chrome:60
docker pull oldwebtoday/chrome:53
docker pull oldwebtoday/firefox:57
docker pull oldwebtoday/firefox:56
docker pull oldwebtoday/firefox:49

(Yes, we need add a script to do all of that automatically!)

Somehow I forgot that we do in fact have the remote browser script already, and have just updated it with the latest available images and additional remote desktop system containers: https://github.com/webrecorder/webrecorder/blob/master/install-browsers.sh

Maybe try <IP_ADDRESS>?


Improve test coverage

Pull Request Test Coverage Report for Build 1243

4 of 5 (80.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 72.238%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/clinicio/logic/commands/ListPatientCommand.java
0
1
0.0%

Totals

Change from base Build 1241:
0.4%

Covered Lines:
3406

Relevant Lines:
4715

💛  - Coveralls


read_excel should support vector na argument

Some excel files contain multiple NA strings. Would it be better to allow multiple NA values from data?
Such as:
na = c("Not Available", "Not Applicable")
Thoughts?
@hadley @jennybc

Functions like readr::read_csv() support vector input for na.strings, so this certainly seems like a nice move in the name of consistency. And it would just be useful.
Duplicate of #197, #13. Two existing PRs #56, #136. Related to #173.


Can we open the react stripe handler popup on click of another button.?

Hi Can we open the react stripe handler popup on click of another button.?
For example if i click on the submit button if my form data is valid then i open the stripe handler and after the user fills out the stripe details in the popup then i send a request to my server.
Kindly help me on this...
Thanks in advance.

I needed something similar in my project and here's what I did:
<StripeCheckout {...yourProps}>
   <button id="button-id">Invisible Trigger</button>
</StripeCheckout>

// Somewhere else in the code
onSubmit = () => {
   document.getElementById('button-id').click()
}

Thanks

Thanks

you gotta upvote the guy who answered your question

@koralarts in the react should not we update the dom in react way instead of manipulating it directly...?

Thanks

you gotta upvote the guy who answered your question

How can i upvote him..?

@koralarts in the react should not we update the dom in react way instead of manipulating it directly...?

Yes, but in my case, the trigger was coming from a Native bridge. An updated version of the could would look something like:
<StripeCheckout {...yourProps}>
   <button id="button-id" ref={elem => this.ref}>Invisible Trigger</button>
</StripeCheckout>

// Somewhere that has access to the ref
onSubmit = () => {
   this.ref.click()
}

Thanks for the help man.

Thanks for the help man.


Insert Donnie Darko film

This PR inserts Donnie Darko description, a must seen film for devs :D

not sure that this movie is about IT.. This is more fit for Sci-Fi films


DocTypeGridEditorSurfaceController

While creating a controller with doctype alias and an action alias that contains the documentation suggestion:
// Do your thing...
return CurrentPartialView();
Anything else means the controller isn't called even simple stuff like var x = 1;
anyone got the custom controllers to work other thank just doing a return?

@meregan I've been using custom controllers for DTGE cells without issue.  Would you be able to provide a code snippet of your controller?
Just to note, if you are changing your view-model, then you will need to pass it to the CurrentPartialView(model) method call.

Hi Lee, know you are busy so downloaded the source and using that to troubleshoot, get back to you when i fix it.

@meregan Cool, thanks! 👍

Closing the issue for now. @meregan please feel free to reopen if needed.


Hotfix: Adding Prepaid Cards to the mega menu behind a feature flag

Short description explaining the high-level reason for the pull request
Additions

Added Prepaid Cards to mega menu.

Testing

Pull branch
Migrate
Runserver
Flip PREPAID_RELEASE flag on in Wagtail Admin
Visit site and see it in the Consumer Tools menu

Review

@willbarton
@chosak
@rosskarchner

Todos

Remove flag in 3.11 release.

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
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍


Cannot build with pip because of EVP_CIPHER_CTX error

When I try to build attic on Debian/Testing box with python 3.5 (pip 9.0.1) and openssl 1.1.0c-2 I get the following error during build
attic/crypto.c:448:18: error: field 'ctx' has incomplete type
EVP_CIPHER_CTX ctx;

Hi! Has anybody know how to fix this issue?
still opened on Debian/Testing/Stretch, I tried to compile Attic in virtualenv with python3.
creating build/temp.linux-x86_64-3.5/attic
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/python3.5m -I/home/karol/qo/ENV_ATTIC/include/python3.5m -c attic/crypto.c -o build/temp.linux-x86_64-3.5/attic/crypto.o
attic/crypto.c:448:18: error: field ‘ctx’ has incomplete type
EVP_CIPHER_CTX ctx;
^~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

attic is not compatible with openssl 1.1.0.
use borgbackup. ;-)

Same on fedora 26:
... running build_ext cythoning attic/crypto.pyx to attic/crypto.c building 'attic.crypto' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/attic gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include -I/usr/include/python3.6m -c attic/crypto.c -o build/temp.linux-x86_64-3.6/attic/crypto.o attic/crypto.c:646:18: error: field ‘ctx’ has incomplete type    EVP_CIPHER_CTX ctx;                   ^~~ error: command 'gcc' failed with exit status 1

same on Debian 9.1.0
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/python3.5m -c attic/crypto.c -o build/temp.linux-x86_64-3.5/attic/crypto.o
attic/crypto.c:448:18: error: field ‘ctx’ has incomplete type
EVP_CIPHER_CTX ctx;
^~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------

Solution on debian:
apt install libssl1.0-dev
This uninstalls the 1.1.0 header files and installs the older ones, allowing the build to proceed

+    const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *a)

@jmfernandez where did you find this? is it official part of the api?

The function is not publicly documented, but it is declared in the same include file as other publicly documented functions, like EVP_CIPHER_CTX_iv_length. I found it by chance, when I was having a look at the implementation of EVP_CIPHER_CTX_iv_length

Interesting. So the question now is whether the missing docs are the bug or the function being in that header file.

I had the same problem and your patch made it work perfectly. thanks! can you open a pull request to avoid having it to apply manually?
@ThomasWaldmann: I suppose that making this type visible for user code was a mistake in old openSSL versions and treating EVP_CIPHER_CTX as opaque data has been the intention from day 1 of that API (i.e, the patch should also work with previous openSSL versions: at least openSSL 1.0.2 seems to exhibit the same API.)

I had the same problem and your patch made it work perfectly. thanks! can you open a pull request to avoid having it to apply manually?
@ThomasWaldmann: I suppose that making this type visible for user code was a mistake in old openSSL versions and treating EVP_CIPHER_CTX as opaque data has been the intention from day 1 of that API (i.e, the patch should also work with previous openSSL versions: at least openSSL 1.0.2 seems to exhibit the same API.)

I have just created it (#399)

Solution on debian:
apt install libssl1.0-dev
This uninstalls the 1.1.0 header files and installs the older ones, allowing the build to proceed

Worked perfectly for Ubuntu 18.04


fix: support str type from faas handlers

Codecov Report

Merging #39 (e36a936) into main (439c13e) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #39   +/-   ##
=======================================
  Coverage   95.91%   95.91%
=======================================
  Files          16       16
  Lines         710      710
=======================================
  Hits          681      681
  Misses         29       29

Impacted Files
Coverage Δ

nitric/faas/faas.py
85.96% <100.00%> (ø)

Continue to review full report at Codecov.

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


libbindgen::ir::ty: unsupported type: kind = CXTypeKind(118)

I'm getting an error trying to parse:
template <class Char> class fbstring_core {
protected:
//...
  static constexpr auto kIsLittleEndian =
      __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__;
//...
};

(full source https://github.com/facebook/folly/blob/master/folly/FBString.h#L320)
which fails with:
ERROR:libbindgen::ir::ty: unsupported type: kind = CXTypeKind(118); ty = Type(const bool, kind: Auto, decl: Cursor( kind: NoDeclFound, loc: builtin definitions, usr: None), canon: Cursor(
kind: NoDeclFound, loc: builtin definitions, usr: None)); at Some(Cursor(kIsLittleEndian kind: VarDecl, loc: third-party-buck/gcc-4.9-glibc-2.20-fb/build/libgcc/include/c++/trunk/bits/basi
c_fbstring.h:317:25, usr: Some("c:@N@std@ST>1#T@fbstring_core@kIsLittleEndian")))
thread 'main' panicked at 'Unable to resolve constant type?: Continue', /home/engshare/third-party2/rust/1.13/src/rust/src/libcore/result.rs:799

I'm using llvm-4.0 (ie, a dev snapshot), which I'm told should be close to 3.9.
Is there a straightforward workaround for this? I'm not actually interested in this type for my Rust ffi; I just need to get past it.

Is there a straightforward workaround for this? I'm not actually interested in this type for my Rust ffi; I just need to get past it.

You can try to --blacklist-type "folly::fbstring_core" (or equivalently Builder::hide_type("folly::fbstring_core") if you're using libbindgen directly). However, I can't remember if blacklisting causes us to skip parsing as well as codegen for the type, or only codegen.

Unfortunately that doesn't work. I'm using the command-line tool with:
bindgen --output ffi.rs --no-unstable-rust --blacklist-type folly::fbstring_core --generate functions     header.h -- -x c++ '-std=gnu++14' [...] -I...

and I get the same error. --blacklist-type '.*' is the same.

Yeah, blacklisting doesn't stop us from trying to parse it, that is by design. Working on a fix.
BTW, if you're using a 4.0 snapshot, please ensure that it contains the patch over https://reviews.llvm.org/D26907 (was merged not too long ago), because otherwise a lot of your template parameters wont work.


Screencast mode doesn't show commands associated with some keybindings

What about running the command to toggle screencast mode?

Looks like only some keycombos manage to display the command name in screencast mode. For example, Ctrl+Shift+P and Ctrl+Shift+E and Ctrl+Shift+X do but Ctrl+Shift+F doesn't.
Originally posted by @gjsjohnmurray in https://github.com/microsoft/vscode/issues/139699#issuecomment-1000781988

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Use Bluebird for Promises because Chrome doesn't report unhandled errors

https://github.com/RickWong/react-transmit/issues/27


az image copy failed when copying the image from same resource group in different region

This is autogenerated. Please review and update as needed.
Describe the bug
az image copy failed when copying the image from same resource group in different region
Can we copy the image to same resource group in different region?
Command Name
az image copy Extension Name: image-copy-extension. Version: 0.2.8.
Errors:
Command '['/usr/local/Cellar/azure-cli/2.0.81/libexec/bin/python', '-m', 'azure.cli', 'group', 'exists', '-n', 'image-copy-rg', '--output', 'tsv']' returned non-zero exit status 1.
Traceback (most recent call last):
python3.8/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
    raise ex
...
3.8/lib/python3.8/subprocess.py, ln 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/local/Cellar/azure-cli/2.0.81/libexec/bin/python', '-m', 'azure.cli', 'group', 'exists', '-n', 'image-copy-rg', '--output', 'tsv']' returned non-zero exit status 1.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az image copy --source-resource-group {} --source-object-name {} --target-location {} --target-resource-group {} --cleanup

Expected Behavior
Environment Summary
macOS-10.15.7-x86_64-i386-64bit
Python 3.8.1
Shell: bash

azure-cli 2.0.81

Extensions:
image-copy-extension 0.2.8

Additional Context

hi @qwordy could you pls help to have a look? thanks

hi @qwordy could you pls help to have a look? thanks

Hi @infa-sapatil, thank you for reporting this issue. We will open an investigation into it. You can also try https://docs.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries.

Hi @infa-sapatil, thank you for reporting this issue. We will open an investigation into it. You can also try https://docs.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries.


[bug]: Outdated component

Describe the bug
Shadcn calendar component isn't compatible with react-day-picker 9.0.0 or later
Affected component/components
Calendar
How to reproduce
Just update react-day-picker to 9.0.0 or later.
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Any

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

To add to this. React day picker added month/year selection. And this breaks the current component.
https://daypicker.dev/docs/navigation#hidenavigation

agree,

agree,

This worked for me!

I would recommend using https://date-picker.luca-felix.com/

Any update?

agree,

yeah, i change react-day-picker version to 8.9.1, it work on me

react-day-picker v9 contains many features. Let try this
Demo: https://shadcn-datetime-picker-pro.vercel.app/
Repo: https://github.com/huybuidac/shadcn-datetime-picker/tree/main


Update teams/iteration/area limits

The team, iteration path, and area path limits are actually per-organization. This was revealed during the investigation for DTS Task 1851541.

@pazand : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@pazand - Thank you for these corrections. Merging the PR now.


feat: periodic kad bootstraps

Why
Nodes should periodically run a bootstrap query to actively discover new/closer peers. The interval should reset after the previous query completes. If more than a max num of peers is connected, don't attempt to discover more
What

First bootstrap has an initial delay of 5s
New network config field bootstrap_interval (default 5 mins)
Run a bootstrap if connected peers < mesh_n and an interval has passed
set next bootstrap after previous query completes or an error
refactor kad handler and improve logs

Demo

Where
resolves #73

This feature is a good candidate for validation in the bootstrap test plan. It would be useful to update it.

to be refactored after #177 is complete

Do we still need this, or is this changing to jar random walks otherwise we can close


Webpack Example Babel 6 Upgrade

Babel 6 upgrade
Added es2015, react & stage-0 presets
Configured .babelrc to utilize es2015, react & stage-1
Adjusted webpack dev-server & production config to reflect babel upgrade changes
Upgraded all other modules to most recent version
Start & Build tested ok

I've taken the liberty of upgrading your example build and brought all the modules to their most current versions. Everything has been tested and works ok. Cheers!

@Bartekus Yeah, thank for doing it, that was needed!
I see that you are in the webpack organisation, can we have your input on https://github.com/callemall/material-ui/issues/2679?

No problem, and of course, I'll have a look at #2679 and get back to you shortly with plan of action.

ok, #2679 is in my alley so I'm gonna take care of that along with upgrading react-hot-loader to react-transform-hmr so that you guys are as current as possible.

@Bartekus Thanks a bunch for doing this. :+1: :+1:

Sweet! :+1:

@Bartekus I have just tested it. It's working fine :+1:.

upgrading react-hot-loader to react-transform-hmr so that you guys are as current as possible.

That sounds good :dancer:.


--no-save option

Feature/enhancement description:
I think a simple feature that can be quite useful would be a --no-save option.
To start Lorien, scribble something and then close it again, without getting asked if i want to save it.
Maybe this could be implemented together with the option of autosaves as described in #174.

While relatively easy to implement i don't think this is a very useful feature. Sorry, closing.


Manifest element ordering

We will be adding a link to this page to every manifest reference page, but that will be a separate PR.

Docs Build status updates of commit cab1681:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/manifest-element-ordering.md
:bulb:Suggestion

Details

docs/develop/manifest-element-ordering.md

Line 61: [Suggestion] Illegal link: `<a href="#taskpane-add-in-element-ordering-within-versionoverrides">Taskpane add-in element ordering within VersionOverrides</a>` -- missing bookmark. The file develop/manifest-element-ordering.md doesn't contain a bookmark named taskpane-add-in-element-ordering-within-versionoverrides. NOTE: This Suggestion will be elevated to a Warning on 8/26/2019. Please fix invalid bookmarks as soon as possible.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 15f4912:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/manifest-element-ordering.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 72ef0e7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/manifest-element-ordering.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Convert 1 bit, on images with transparencies makes transparent into black.

Black rasters, so this is unhelpful and should become white.

This is fixed in 0.5.1


[AVM Module Issue]: PIP created for gateways is doubled up on '001' naming convention

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
(Optional) Module Version
0.5.1
(Optional) Correlation Id
No response
Description
When using the vnet-gateway pattern, it asks for a name for the gateway, which I end in '001'. It creates the gateway successfully with '001' suffixed at the end.
However, the PIP associated with the gateway is doubled up on '001' so it reads '001-001' at the end.

I should also add that this is using the default naming values that comes with the pattern module, not specifying an ip configuration name

Hey James! You're right, by default this will happen, however I almost feel like it makes sense, i.e. the first instance of the PIP for the first instance of the VGW, if you had two VGWs that would distinguish the respective PIPs.
Populating the ip_configurations block with the desired name would fix this as you mentioned, with all other arguments remaining like the defaults.

Hey James! You're right, by default this will happen, however I almost feel like it makes sense, i.e. the first instance of the PIP for the first instance of the VGW, if you had two VGWs that would distinguish the respective PIPs.
Populating the ip_configurations block with the desired name would fix this as you mentioned, with all other arguments remaining like the defaults.

Brill - good to know and thank you for the guidance.
Good to connect again with you, Luke!
Cheers,
James


Feat/support complex list definition on env vars [Closes #376]

Proposal of implementation.  It works but no sanity check on indexes are done 😅

Thanks @inean for this PR. please:

Fix lint error
Add requested test cases
Add a new example in the docs to show the new feature

@inean is it going to support simple cases like:
class Config(BaseSettings):
   top: List[str]

config = Config()

by TOP__0=foo?

No, only complex cases ie: List[List|Dict|Submodel]. I already refactoring to move code to deep_copy so it can handle those cases.

@hramezani Just one question:
given this code...

class TopModel(BaseModel):
    v1: str | None = None
    v2: int

class Settings(BaseSettings):
    top:  List[List[TopModel]]

...

env.set(TOP='[[{'v2': 'xx'}]]')
env.set(TOP__0__0__v2 = '1')
env.set(TOP__1__0__v2 = '2')
env.set(TOP__3__0__v2='3')

cfg = Settings()

Should TOP__3__0__v2 be ignored or raise a ValueError? We can append new entries at the end of the list (TOP__1 in this case), but  TOP__3 requires a default value as TOP__2which we can't provide. Python is this case (when using [].index on a list with index > len() ) simply appends at the end, but I think that it's better to just ignore that insert or raise error

@inean Thanks for the update and sorry for being late.
After discussing with the team about supporting this syntax, we decided not to support it because:

The code looks complex and pydantic-settings is already complex. It is not worth adding this complexity to support a feature partially.
Also, the feature doesn't work for the simple case that I mentioned above and I am sure people want it in the future if we introduce the new syntax


Fix faulty use of system default file separator

The previous version led to problems when running on windows where file.separator equals "\"
( getClass.getResource does not handle "\" )

Please don't completly forget about this one :-)


Help

I had to change your package from runtime to design time
i loaded as a component to 10.2.3
now what next how to use?
i put my ID

Hello, how is everything  ?
I created this BPL to be used in versions earlier than 10.2.3.
specifically for the XE2 version. because as the project was made in a more current version and I need to use it, I would make a call via bpl in XE2.
Something like:
type
    TProcTest = procedure;
var
    PackageModule: HModule;
    proc : TProcTest;
begin
   PackageModule := LoadPackage('Package1.bpl');
   if PackageModule <> 0 then
   begin
     @Proc := GetProcAddress( PackageModule, 'Test' );
     if @Proc <> nil then
       proc;
     UnloadPackage(PackageModule);
   end;
end;

But as you already have the most current version you can use the original project https://github.com/maiconsi/DGoogleAnalytics
just adding to the library path.


⚠ TV Manager has degraded performance

In 0f46703, TV Manager ($SITES_URL_TV_MANAGER) experienced degraded performance:

HTTP code: 525
Response time: 21718 ms

Resolved: TV Manager performance has improved in 44c0ef6 after 1 hour, 18 minutes.


🐛 Add ability to cache comments count endpoint

closes TryGhost/Team#2094
PR to comments repo https://github.com/TryGhost/comments-ui/pull/12

@naz , thank you for explanation 🙌
Fixed next issues:

Renamed setting in config to commentsCountAPI
Applied just for one count API
Added stale-while-revalidate option

Yup! All of this looks about right 👌 If I had to be extra nit-picky about it, would separate it into two commits and staleWhileRevalidate functionality there with specific explanation for whys and hows 😊

Fixed :)


feat: capacity scheduler differentiation

Which issue(s) this PR fixes

Fixes #822
Additional comments

Creates an extra vars file yarn_scheduler in order to be able to modify the vars without triggering a potential reconf.
Change of the playbook capacity_scheduler.yml in order to reload instead of restart RM.

Still need to review a better way for config to work correctly.
Agreements

[x] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004.
[x] I hereby agree to grant TOSIT a copyright license to use my contributions.

Install wasn't working as refreshQueues was getting stuck when yarn-resourcemanager service wasn't started. Added a check on the service.

Just in case @rpignolet, with this solution you have this scenario:

Changing tdp_vars/yarn_scheduler.yml doesn't put yarn in a reconfig/stale state, meaning the task HAS to be launched manually, which is what we want.
If tdp_vars/yarn.yml is modified, the service is restarted, capacity-scheduler.xml is re-templated and refreshes the queues. Maybe we don't want to re-fresh before it is restarted, but I don't think it's very relevant.
Installing tdp will template capacity-scheduler.xml, but not refresh it as it's not alive.

I'm not sure the first point was clear.

This PR can be closed in favor of https://github.com/TOSIT-IO/tdp-collection/pull/829
Main differences:

scheduler vars are handled outside the scope of tdp-vars, except for first install.
task integration to tdp-manager is not trivial and will be considered on an other ISSUE/PR.


Identity embeddings

How much impact does adding identity embeddings of template and  search on model performance？

In our experimental setup, we found that whether or not identity embeddings were added had little impact on the final results, with a difference of around 0.2%.

Thank you! Another issue is that the paper does not describe additional encoder besides OSTrack, but there are 3x fusion layers in the pix head in the code. I would like to know the reason and the performance difference.

The extra three encoder layers are for providing directional feature matching. You can introduce this directionality in the encoder stage itself using masking, which will give better accuracy (and eliminate the 3x encoders).

Firstly, the accuracy improvement does not come from the 3x encoder, but because my experiments were not sufficiently thorough when I was writing the paper. The 3x encoder can greatly improve the training stability. If you remove this structure, you may also achieve the same accuracy with more epochs.
You understand point 2 correctly. We need to provide the start and end tokens, thus requiring adding 2. However, removing this part during training does not have an obvious impact on accuracy. It is merely to align with the relevant settings of Pix2Seq. I hope this explanation helps with your understanding.

I understand. Thank you for your patient reply.