fix: Use bib.ietf.org for citations

#799 was incomplete, this change fixes the issue.
Fixes #792

Tests are failing because reference.DOI.10.1145/2975159 doesn't have date element under front element.
This violates rfc2629.dtd.

Is the DTD still relevant?
Sent from mobile, sorry for terse

On 6. Jul 2022, at 03:46, Kesara Rathnayake @.***> wrote:

Tests are failing because reference.DOI.10.1145/2975159 doesn't have date element under front element.
This violates rfc2629.dtd.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

The DTD does not reflect the actual schema being used?
From https://authors.ietf.org/rfcxml-vocabulary
it says the “date” attribute is optional:
front =
  element front {
    attribute xml:base { text }?,
    attribute xml:lang { text }?,
    title,
    seriesInfo*,
    author+,
    date?,
    area*,
    workgroup*,
    keyword*,
    abstract?,
    note*,
    boilerplate?,
    toc?
  }

If xml2rfc wants to make it mandatory, the spec needs to be updated.

@ronaldtse: The reference file doesn't just have to be valid according to the grammar, it also has to be a usable reference.  https://bib.ietf.org/public/rfc/bibxml-doi/reference.DOI.10.1145/2975159.xml fails that in a way that is almost comical.

The DTD does not reflect the actual schema being used?
From https://authors.ietf.org/rfcxml-vocabulary
it says the “date” attribute is optional:
front =
  element front {
    attribute xml:base { text }?,
    attribute xml:lang { text }?,
    title,
    seriesInfo*,
    author+,
    date?,
    area*,
    workgroup*,
    keyword*,
    abstract?,
    note*,
    boilerplate?,
    toc?
  }

If xml2rfc wants to make it mandatory, the spec needs to be updated.
CC: @strogonoff

This is true for xml2rfc v3.
But the for the xml2rfc v2, date is mandetory.

If the goal is to have full compatibility with v2 XML schema, and that the data be given in v2 XML, I suggest that these tools do not be migrated to use bib.ietf.org at all.
We can separately create a duplicate static site for xml2rfc.tools.ietf.org/public/rfc/... enable the archival paths that currently exist, and this archive site will not get updates. That would solve backwards compatibility fully. Given that the IETF community has already moved to v3, and v2 is deprecated, anything that is still in v2 should really either get updated or get dropped, so updates should not be important for them.
@rjsparks any thoughts here?

But the for the xml2rfc v2, date is mandetory.

I think the objective was somewhat fuzzy in that we are trying to comply with xml2rfc v3, but we also try to be compatible with the old data. Missing <date> is an example of a dilemma.
According to https://github.com/ietf-ribose/bibxml-service/issues/228#issuecomment-1198141887, it seems like we can omit <date> in cases where suitable date information is not available.

Are you commenting about the format of the anchor reference being different from the old one?

@ronaldtse I suppose @cabo hints at DOI anchor being different. This is something that was raised before and had been fixed (the fix hadn’t made it to production yet, but can be seen in action on staging instance).

If the goal is to have full compatibility with v2 XML schema, and that the data be given in v2 XML, I suggest that these tools do not be migrated to use bib.ietf.org at all.

We can separately create a duplicate static site for xml2rfc.tools.ietf.org/public/rfc/... enable the archival paths that currently exist, and this archive site will not get updates. That would solve backwards compatibility fully. Given that the IETF community has already moved to v3, and v2 is deprecated, anything that is still in v2 should really either get updated or get dropped, so updates should not be important for them.

@rjsparks any thoughts here?

That is absolutely not acceptable. The RFP was quite clear that this service would continue to make bibxml available at the existing URLs.
This conversation is now hitting alarming levels, and it may be that we cannot use this new service as implemented at all.
The characterization that this is there only for v2 is incorrect. The legacy v2 paths and things that rely on v2v3 will be heavy users, but those things, like kramdown rfc, which has a huge amount of active use will continue to need to be able to reference new documents.
You are trying to shed a requirement that cannot be shed.
Because of illnesses and travel it may be week after next before we can be on a call, but a call is essential at this point. We will work to set it up by direct email.


Solve issue with steps ordering

This must be done to show steps in correct order in the dashboard.
Currently we save directories with integers in names. However, if someone removes step or exchange with another it breaks.

done


[Bug]: Vercel Analytics not working

What happened?
Installed Vercel analytics a few days and haven't seen any data come through to the dashboard so assuming something isn't right.
How to reproduce the bug?

Go to Vercel account
Click on this project
Click the analytics tab
Click audiences
See this image

What browsers are you seeing the problem on?

[ ] Firefox
[ ] Chrome
[ ] Safari
[ ] Microsoft Edge

What device type(s) did you see the problem on?

[ ] Desktop
[ ] Mobile
[ ] Tablet

What operating system(s) did you see the problem on?

[ ] macOS
[ ] Windows
[ ] Linux

Additional information
Docs here - https://vercel.com/docs/concepts/analytics/audiences/quickstart
Opening this to make sure we don't forget.

Found this issue https://github.com/vercel/analytics/issues/1
We were getting the same 404 error but apparently, they've rolled out a fix now so deploying and will close this is if works.

Yup, that fixed it LOL easiest issue ever. Closing.


Custom Decoration Search Dropdown

How to make decoration dropdown ("Pilih Pabrik Gula") customizable like "Tanggal" and "Masukkan Nomor Kontak" like the picture that i sent. Thanks

Hey @asamarsal
Just released 3.0.0. Dropdown decoration is now available. You can check, Thanks 👍


Example does not work

I put in my AWS keys and I provide a (made up) channel name, and I start the master.
It throws errors in javascript console.
What am I supposed to see with this example? Do I start the master and it will broadcast my webcam video to the channel and then I can view it from the viewer mode? It's not clear what the example should do. I just see two black screens.
aws-sdk-2.585.0.min.js:70 POST https://kinesisvideo.us-east-1.amazonaws.com/describeSignalingChannel 404 (Not Found)
aws-sdk-2.585.0.min.js:70 Uncaught (in promise) ResourceNotFoundException: The requested channel is not found or not active.
at Object.a [as extractError] (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:70:29682)
at constructor.o (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:71:2967)
at constructor.callListeners (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:71:29696)
at constructor.emit (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:71:29407)
at constructor.emitEvent (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:71:15204)
at constructor.e (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:71:10846)
at i.runTo (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:73:18442)
at https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:73:18647
at constructor. (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:71:11056)
at constructor. (https://sdk.amazonaws.com/js/aws-sdk-2.585.0.min.js:71:15259)

I see the reason. I didn't notice in the README where it said you have to first click Create Channel, then run Master. Also, in order for the viewer to work from remote machine you have to enable --https in the webpack dev server and use https in URL. Also, you have to use --host <IP_ADDRESS>
in package.json
"develop": "webpack-dev-server  --https --host <IP_ADDRESS> --config webpack.dev.config.js",


Redmine 3.x support

When installing the plugin in Redmine 3 the new digest functionality is missing.

+1

+1

+1


Questions

Have some questions, not sure where else to ask. We're looking at this project for use in one of our systems.

Is the lsmtree project maintained or used? Hasn't been updated in a year.
Why did you choose to develop it, instead of using an existing LSM implementation like Rocksdb? What does lsmtree do better?
Why use native mmap code instead of the built-in java.nio.MappedByteBuffer?

Thanks for open-sourcing this project, by the way. I've poked around a bit and the code seems to be clean and well-designed.

It is pretty heavily used at Indeed. We use this LSM Tree implementation in a lot of our critical backend systems. I did a talk on how this LSM Tree works and how we use it for serving job data in our search results that you can see here: http://engineering.indeedblog.com/blog/2013/03/indeedeng-from-1-to-1-billion-video/ There are a few changes in our internal repository that haven't been merged back here but they are pretty minor. This project has been stable for years.

I originally wrote this LSM tree implementation in 2011 before RocksDB or LevelDB or any of the other open source LSM tree implementations existed. The main advantage of this LSM tree implementation at this point is that it interfaces nicely with java so you can use java types as keys and values instead of having to use byte[] for everything. The interface is really similar to the java Map interface. You can also provide your own java comparator for your keys which you can't really do with any of the C or C++ LSM tree implementations, they all make you sort in lexicographic order on the bytes. The performance should be on par with LevelDB.

There are 3 problems I have with built in java.nio.MappedByteBuffer:

ByteBuffers are limited to 2^31 bytes
There is no method to put or get a sequence of bytes at an absolute position, you have to seek the ByteBuffer and then call get or put which is not thread safe
You can't unmap java.nio.MappedByteBuffer so the files can stay around long after they've been deleted until the GC finally decides to clean them up. If there are enough MappedByteBuffers being created sometimes you can run into vm.max_map_count before the GC has decided to clean them up and there isn't much you can do about it.
These things can be worked around but in the interest of code clarity I found it better to just write my own memory mapped file abstraction.

Thank you. I watched the video, it's quite good.
I'll try to do an implementation in our system, and benchmark it against
Rocksdb.
The one downside to using native libraries like util-mmap or the Snappy
library is that they're not really cross-platform. Our system wouldn't be
able to run on Windows or various kinds of IBM hardware. That's not fatal,
but pure Java really is better.
There is a native java implementation of Snappy out there.
As for the ByteBuffer problems,

Would it be possible to write a wrapper around a bunch of 2 Gb
MappedByteBuffers?

When I ran into this problem, the answer I got was that you should
create a slice() anytime you wanted to do thread-safe random access, one
slice per thread. It works, and it's really cheap to create a slice.

Unmapping is a problem. So far as I can tell, this is the current
thinking on the problem:

http://bugs.java.com/view_bug.do?bug_id=4724038
In my opinion, this security issue is hardly "insurmountable". We're
talking about two different threads in the same application. They can
overwrite each other's files now.
But for the purpose of the lsmtree, is it really ever necessary ever to
unmap?
On Thu, Jul 14, 2016 at 1:56 PM, jeffplaisance<EMAIL_ADDRESS>wrote:

It is pretty heavily used at Indeed. We use this LSM Tree
implementation in a lot of our critical backend systems. I did a talk on
how this LSM Tree works and how we use it for serving job data in our
search results that you can see here:
http://engineering.indeedblog.com/blog/2013/03/indeedeng-from-1-to-1-billion-video/
There are a few changes in our internal repository that haven't been merged
back here but they are pretty minor. This project has been stable for years.

I originally wrote this LSM tree implementation in 2011 before RocksDB
or LevelDB or any of the other open source LSM tree implementations
existed. The main advantage of this LSM tree implementation at this point
is that it interfaces nicely with java so you can use java types as keys
and values instead of having to use byte[] for everything. The interface is
really similar to the java Map interface. You can also provide your own
java comparator for your keys which you can't really do with any of the C
or C++ LSM tree implementations, they all make you sort in lexicographic
order on the bytes. The performance should be on par with LevelDB.

There are 3 problems I have with built in java.nio.MappedByteBuffer:

ByteBuffers are limited to 2^31 bytes
There is no method to put or get a sequence of bytes at an absolute
position, you have to seek the ByteBuffer and then call get or put which is
not thread safe
You can't unmap java.nio.MappedByteBuffer so the files can stay
around long after they've been deleted until the GC finally decides to
clean them up. If there are enough MappedByteBuffers being created
sometimes you can run into vm.max_map_count before the GC has decided to
clean them up and there isn't much you can do about it. These things can be
worked around but in the interest of code clarity I found it better to just
write my own memory mapped file abstraction.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/indeedeng/lsmtree/issues/5#issuecomment-232759202,
or mute the thread
https://github.com/notifications/unsubscribe/ABEzqsSaas9QrbC1bg9rM7KhEWni8qO2ks5qVoZqgaJpZM4JMppN
.

--
Chris Cleveland
Dieselpoint, Inc.
http://dieselpoint.com
312-339-2677 mobile

There's a solution here to the unmap problem:
http://stackoverflow.com/questions/2972986/how-to-unmap-a-file-from-memory-mapped-using-filechannel-in-java
On Fri, Jul 15, 2016 at 6:39 PM, Chris Cleveland<EMAIL_ADDRESS>
wrote:

Thank you. I watched the video, it's quite good.
I'll try to do an implementation in our system, and benchmark it against
Rocksdb.
The one downside to using native libraries like util-mmap or the Snappy
library is that they're not really cross-platform. Our system wouldn't be
able to run on Windows or various kinds of IBM hardware. That's not fatal,
but pure Java really is better.
There is a native java implementation of Snappy out there.
As for the ByteBuffer problems,

Would it be possible to write a wrapper around a bunch of 2 Gb
MappedByteBuffers?

When I ran into this problem, the answer I got was that you should
create a slice() anytime you wanted to do thread-safe random access, one
slice per thread. It works, and it's really cheap to create a slice.

Unmapping is a problem. So far as I can tell, this is the current
thinking on the problem:

http://bugs.java.com/view_bug.do?bug_id=4724038
In my opinion, this security issue is hardly "insurmountable". We're
talking about two different threads in the same application. They can
overwrite each other's files now.
But for the purpose of the lsmtree, is it really ever necessary ever to
unmap?
On Thu, Jul 14, 2016 at 1:56 PM, jeffplaisance<EMAIL_ADDRESS>wrote:

It is pretty heavily used at Indeed. We use this LSM Tree
implementation in a lot of our critical backend systems. I did a talk on
how this LSM Tree works and how we use it for serving job data in our
search results that you can see here:
http://engineering.indeedblog.com/blog/2013/03/indeedeng-from-1-to-1-billion-video/
There are a few changes in our internal repository that haven't been merged
back here but they are pretty minor. This project has been stable for years.

I originally wrote this LSM tree implementation in 2011 before RocksDB
or LevelDB or any of the other open source LSM tree implementations
existed. The main advantage of this LSM tree implementation at this point
is that it interfaces nicely with java so you can use java types as keys
and values instead of having to use byte[] for everything. The interface is
really similar to the java Map interface. You can also provide your own
java comparator for your keys which you can't really do with any of the C
or C++ LSM tree implementations, they all make you sort in lexicographic
order on the bytes. The performance should be on par with LevelDB.

There are 3 problems I have with built in java.nio.MappedByteBuffer:

ByteBuffers are limited to 2^31 bytes
There is no method to put or get a sequence of bytes at an absolute
position, you have to seek the ByteBuffer and then call get or put which is
not thread safe
You can't unmap java.nio.MappedByteBuffer so the files can stay
around long after they've been deleted until the GC finally decides to
clean them up. If there are enough MappedByteBuffers being created
sometimes you can run into vm.max_map_count before the GC has decided to
clean them up and there isn't much you can do about it. These things can be
worked around but in the interest of code clarity I found it better to just
write my own memory mapped file abstraction.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/indeedeng/lsmtree/issues/5#issuecomment-232759202,
or mute the thread
https://github.com/notifications/unsubscribe/ABEzqsSaas9QrbC1bg9rM7KhEWni8qO2ks5qVoZqgaJpZM4JMppN
.

--
Chris Cleveland
Dieselpoint, Inc.
http://dieselpoint.com
312-339-2677 mobile

--
Chris Cleveland
Dieselpoint, Inc.
http://dieselpoint.com
312-339-2677 mobile

It is necessary for the lsmtree to unmap files. As you add data, it creates and deletes files and the deleted ones need to be unmapped.
If you want to use java's mmap you'd just have to implement the Memory interface using a bunch of MappedByteBuffers and then add a system property in MMapBuffer to make it choose between that and DirectMemory. I'd recommend making them 1 GB because the maximum length of a ByteBuffer is actually 2^31-1 bytes (one byte short of 2 GB) and doing all the math to figure out what buffer you should be accessing is going to be easier, cheaper, and more clear if they're aligned to powers of 2.

You can use a segment tree for searching the memory mapped block correctly using a absolute address.I think it is not so difficult make it thread safe .


Patch 1

I'm afraid can not merge your PR before PEP8 issues are fixed.

I didn't update DB that's why lines are commented, You can look into changed files.
I need imageColumn so add it in columns and its working fine for me.

PEP8 issues are fixed now.


Cannot place these on queue line area

I installed the plugin (v1.0.1) in OpenRCT2 v 0.4.1, opened the configuration window, chose a bench, a bin, a queue TV (doesn't matter which ones) and checked "Add benches and bins as paths are placed" (other checkboxes don't matter as well).
Whenever I place a queue line now, a red window pops open: "Can't position this here... Cannot place these on queue line area" as if the plugin was trying to place a bin or bench on the just built queue line. However, there is no queue TV build as I would expect.
When I hit "build on all paths", queue TVs are build as expected.

It's trying to build paths on places that it can't, I think.

@jarrndewitt we already have an open issue for this: https://github.com/tubbo/openrct2-benchwarmer/issues/55, please check the issue list before creating new ones.


add icon for au2/au3 files

file type icon for au2 and au3 files would be nice.

Added au3 icon here 445d0f6871ea447e5851c9b84eebd3ca16ad91bc


Add CONTRIBUTE.md

Replaces https://github.com/mattermost/mattermost-plugin-jitsi/pull/112
Fixes #109
These are updates based on https://github.com/mattermost/mattermost-plugin-jitsi/pull/112, feel free to add these changes to your PR or merge this one, both work for me :)

Codecov Report

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

@@           Coverage Diff           @@
##           master     #139   +/-   ##
=======================================
  Coverage   44.03%   44.03%
=======================================
  Files           8        8
  Lines         822      822
=======================================
  Hits          362      362
  Misses        433      433
  Partials       27       27

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 ec9ea1c...18b443c. Read the comment docs.


Add formName to props.meta in wrapped components

Is it ok to add formName to props.meta?
I have identical Fields which i can reuse in different forms. They laying on the same key in form so idea and few Fields are connected with each other so it will be good to extract them into separate components. But they are not only shared the same functionality - output from one field is dependent from another field (e.g. complex autocomplete by few fields). So I need to connect this component with store. But in that case I need to provide formName manually.
It will cost nothing since form  parameter in redux-form decorator is just a string,

This will be possible starting with the next version. See #2400.


[Feature] Support show create MATERIALIZED VIEW sql

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
after we create  materialized view , we can only use desc table_name all  to show all the materialized view which have been created.
MySQL [test]> create table sales_records(record_id int, seller_id int, store_id int, sale_date date, sale_amt bigint) distributed by hash(record_id) properties("replication_num" = "1");
Query OK, 0 rows affected (0.00 sec)

MySQL [test]> create materialized view store_amt as select store_id, sum(sale_amt) from sales_records group by store_id;
Query OK, 0 rows affected (0.00 sec)

MySQL [test]> desc  sales_records all;
+---------------+---------------+-----------+--------+------+-------+---------+-------+---------+
| IndexName     | IndexKeysType | Field     | Type   | Null | Key   | Default | Extra | Visible |
+---------------+---------------+-----------+--------+------+-------+---------+-------+---------+
| sales_records | DUP_KEYS      | record_id | INT    | Yes  | true  | NULL    |       | true    |
|               |               | seller_id | INT    | Yes  | true  | NULL    |       | true    |
|               |               | store_id  | INT    | Yes  | true  | NULL    |       | true    |
|               |               | sale_date | DATE   | Yes  | false | NULL    | NONE  | true    |
|               |               | sale_amt  | BIGINT | Yes  | false | NULL    | NONE  | true    |
|               |               |           |        |      |       |         |       |         |
| store_amt     | AGG_KEYS      | store_id  | INT    | Yes  | true  | NULL    |       | true    |
|               |               | sale_amt  | BIGINT | Yes  | false | NULL    | SUM   | true    |
+---------------+---------------+-----------+--------+------+-------+---------+-------+---------+
8 rows in set (0.00 sec)

but sometimes we need to know the create materialized view sql like show create table table_name  shows.
so the new feature should react like
show create materialized view store_amt;

and the result is the complete sql.
Use case
No response
Related issues
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Are you working on it? If not, assign it to me

OK, Great . I'm not working on this, @morningman pls assign to @stalary


How to serve image files?

Sample image link http://localhost:3000/assets/images/coffee/large/coffee.gif not working with json-server, it's not possible to server static assets? (script files, css styles, images)
Or is there any way to plug sharp (image resizer node package) into json-server

To serve static assets, simply create a ./public directory.
For example:
$ mkdir -p public/assets/images
$ echo "hello world" > public/index.html
$ json-server db.json

If you need more, you can use json-server as a module.
var jsonServer = require('json-server')

var object = {
  posts: [
    { id: 1, body: 'foo' }
  ]
}

var router = jsonServer.router(object) // Express router
var server = jsonServer.create()       // Express server

server.use(router)
server.listen(3000)

You can add middlewares or custom routes as you would do in an Express server. You can even embed json-server router in an existing Express server.
Does that help?

Closing for the moment. Feel free to reopen if needed.

I'm new to this thing and would like to ask for advice what would I'll do for windows? tried putting public directory but no luck. Thanks! :D

Hi typicode,
Would you please elaborate a little on the above solution .I am totally new to this.
-Aby

after you add images to your public/assets/images directory,
you can get an image like
http://localhost/assets/images/truck-4.png

@camilodelvasto Thanks, it helps me get the images from json server. And for anyone else who comes here, please be aware that the folder name must be public. Then load images like this: http://localhost:3000/assets/images/abc.png

after I add images to my public/assets/images directory,
and add a Custom route like:
{
    "/api/test":"/assets/images/test.png"
}

server return NOT FOUND 404:
GET /api/test 404 1.770 ms - 2

but I can access by the full path:
http://localhost:5000/assets/images/test.png -->> 200 OK

@mguilhermetavares any idea how it will work with custom routes also? Facing same issue as you but not able to figure out solution.

@camilodelvasto i used same code as you have given for my middleware  file but while trying to up the json server getting error as below.
Command runed:
json-server .\mock-server\data\report.json -m .\mock-server\router.js
Error:
{^_^}/ hi!
Loading .\mock-server\data\report.json
Loading .\mock-server\router.js
Done
TypeError: app.use() requires a middleware function
at Function.use (E:\user\forked\reporting-ui\node_modules\express\lib\application.js:210:11)
at createApp (E:\user\forked\reporting-ui\node_modules\json-server\lib\cli\run.js:74:9)
at load.then.db (E:\user\forked\reporting-ui\node_modules\json-server\lib\cli\run.js:132:13)
at

I have put my images in public/assets/images path
still I am not able to get image in http://localhost:3000/assets/images/uthappizz.png

If you are using public/assets/images and all of your images are inside this folder for example, the uri will be http://localhost:3000/image.jpg not http://localhost:3000/public/assets/images/image.jpg

Images are loading in the local json-server. But when I'm hosting the json server using git repo, images are not accessing. Can anyone tell me how to access the same images through git fake api repo.

as of v 0.17.0, if the image files are placed in ./public/assets/images/ they can be accessed using http://localhost:3000/assets/images/{imagename}

I totally agree with @ank1t @buildAll . I had an svg file called jerome.svg in my public/asset/images folder. When i wanted to get the file, i used http://localhost:3000/assets/images/jerome.svg

It's working fine, though I am not sure why but the images are served as document in the response header and not as image/jpg... which is problematic.


this library does NOT support global variable access within the imported file

when importing a FTL file using import keyword, this freemarker library does not recognize that the global variable, which are already accessible within the host file, shall be accessible within imported file as well.
for example, below host file can access currentObject as global variable, but the same global variable can NOT be accessed within imported file "utilities.ftl".
host.ftl
<#assign metadata = currentObject.attributes.meta! >
<#assign attributes = currentObject.attributes!>
<#import "../../macros/utilities.ftl" as utilities>
<#include "../../components/identity.ftl" >
utilities.ftl
<#assign roles= currentObject.attributes.roles>
Error: >>> ABORTED! <<<
The cause of aborting was:
FreeMarker template error: The following has evaluated to null or missing:
==> currentObject  [in template "macros/utilities.ftl" at line 9, column 22]

Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last st
ep of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??

FTL stack trace ("~" means nesting-related):
- Failed at: #assign rolesData = currentObject.att...  [in template "macros/utilities.ftl" at line 9, column 1]
- Reached through: #import "../../macros/utilities.ftl" ...  [in template "components/identity.ftl" at line 1, column 1]
- Reached through: #include "../../compone...  [in template "test/react-tests/__temp__identity-test.ftl" at line 12, column 1]

PR welcome, for we don't use this in our work anymore.

@nykevinwong I wrote a little new version of this package, since I needed it for a project. This version does support imports from host file. https://www.npmjs.com/package/node-freemarker


incomplete content on multiple pages

Currently on following pages the parser seems to be lost.
I don't see any markup problems.
maybe the newspapers detect and block the scraper?
https://www.derstandard.at/story/2000145508819/franzoesischer-verfassungsrat-stimmt-umstrittener-pensionsreform-zu
there an info is added to the text, that some "software" is blocking stuff and it should be removed
https://kurier.at/wirtschaft/atomausstieg-wie-die-abschaltung-eines-kernkraftwerks-funktioniert/402412829
only one line of text
thx for info. happy to help.

There are multiple mentions in the issues section about header content being removed erroneously.
I think this falls into the same problem.
I came here to report the same thing happening on Hackaday.com/blog

And https://www.thetimes.co.uk/ multiple articles, it clips the first one or two paragraphs on every page I'v tried. Kind of useeless in this state.

Same problem with some medium.com articles.
It's stopping parsing too early.
Could there be a chance that they somehow block scraping ?


Add MicrosoftOAuth provider enum

Codecov Report

Merging #116 (c513cf1) into master (0cf4017) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   98.26%   98.26%
=======================================
  Files          28       28
  Lines         575      576    +1
=======================================
+ Hits          565      566    +1
  Misses         10       10

Impacted Files
Coverage Δ

lib/workos/types/provider_enum.rb
100.00% <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 0cf4017...c513cf1. Read the comment docs.


ImageMagick error

You might want to mention this in the docs:
To fix the wand.exceptions.PolicyError: not authorized error:
The user needs to change the policy in /etc/ImageMagick-6/policy.xml for PDFs to read.
i.e: <policy domain="coder" rights="read" pattern="PDF" />

Yup, great catch. I'd fixed this earlier in my system but didn't document it properly.


Allow movements like in bash terminal (Left, Right)

How do I move cursor left right without ^[[B^[[D^[[B^[[B^[[A^[[A appearing?

Hi @riazufila, thank you for the comment.
Could you explain more?

@anseki lets say i typed "Hello Wurld" as the answer for a prompt, I want to fix the typo, and the only way I could do so is by first using backspace instead of just traversing the cursor the left. Because when I try to press "Left" key, the cursor doesn't go to the left. Instead it outputs ^[[... as I mentioned above.

I didn't read your code, but your code might have a bug.
With question* and prompt* methods, the moving cursor is enabled in almost environments.
For example:
const readlineSync = require('readline-sync');
console.log(`You said "${readlineSync.question('INPUT: ')}".`);

Or, I don't know your environment, but that might be disabled by your environment.
https://github.com/anseki/readline-sync#control-characters

Copy pasting just those two lines also produces the same result. I guess it is disabled by my environment. Thanks for your attention.

:smile:

This is the same situation described in #22.

Hi @specious, thank you for the information. :smile:

 › omz version
master (d4f5fa37)

› zsh --version
zsh --version
zsh 5.8 (x86_64-apple-darwin21.0)

OS: Mac OSX Monterery
Terminal Enviorment: iTerm2 (v3.4.12)
I can reproduce this problem, is there anyone could help ?

Hi @ShenQingchuan, thank you for the comment.
Did you try this example? : https://github.com/anseki/readline-sync/issues/109#issuecomment-915678808


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3232

Questions ?
Please refer to the Backport tool documentation


Multiple packages link to native library sqlite3

Versions

Rust: rustc 1.27.0-nightly (2f2a11dfc 2018-05-16) / cargo 1.27.0-nightly (9e53ac6e6 2018-05-07)
Diesel: 0.16.0 / 1.2.2 (not sure, both are in the Cargo.lock)
Database: sqlite
Operating System Mac OSX

Feature Flags

diesel: cargo install diesel_cli --no-default-features --features "sqlite"
[dependencies]
...
diesel = { version = "1.0.0", features = ["sqlite"] }
diesel_codegen = { version = "*", features = ["sqlite"] }

Problem Description
The build failes with the following message:
λ ~/Projects/zen-api/ master* cargo build
error: multiple packages link to native library sqlite3, but a native library can be linked only once
package libsqlite3-sys v0.9.1
... which is depended on by diesel v1.2.2
... which is depended on by zen-api v0.1.0 (file:///Users/patrick/Projects/zen-api)
links to native library sqlite3
package libsqlite3-sys v0.8.1
... which is depended on by diesel v0.16.0
... which is depended on by diesel_infer_schema v0.16.0
... which is depended on by diesel_codegen v0.16.0
... which is depended on by zen-api v0.1.0 (file:///Users/patrick/Projects/zen-api)
also links to native library sqlite3
What are you trying to accomplish?
I am using diesel with rocket and serde. Basically following this tutorial: https://medium.com/sean3z/building-a-restful-crud-api-with-rust-1867308352d8
The only thing I fundamentally changed is the database, as I am using sqlite. My db.rs is taken from: https://github.com/SergioBenitez/Rocket/blob/d4e590af83097c275e76550950156e9ce30a048f/examples/todo/src/db.rs
and: https://github.com/SergioBenitez/Rocket/blob/d4e590af83097c275e76550950156e9ce30a048f/examples/todo/src/main.rs
What is the expected output?
I expect the code to compile.
What is the actual output?
The error as presented above.
Are you seeing any additional errors?
Nope
Steps to reproduce
I do not mind to share my code. However, I doubt the usefullness of doing this at this moment. I guess this is a relatively easy question for you... for me... these are my first steps into rust (and hence into diesel). If the codebase does help, please let me know and I will send it.
Also, I am not sure why I require nightly (the tutorial tells me to do so). Could the issue be in this part?

diesel_codegen is dead since diesel 0.99. So do not use it!
See the changelog for details.


Add link from offical docs to RC docs

As somebody new to vue, I decided to start with vue 2, as it seems to be very close to an official release.
I was using v1 docs as the API didn't appear to have changed much.
Took me a week to find out there is actually rc.vuejs.org. It was mentioned in some newsletter.
It would be a major help for developer new to vue if the documentation could be more easily found. For example, just link to it from the official docs.

@markmarijnissen Did you look for the v2 docs at some time? If so where did you expected to find the information?

I found the v2 docs in an old newsletter. Before I assumed the weren't
written yet. I expected a link in the current v1 docs.
Op za 10 sep. 2016 18:38 schreef Eduardo San Martin Morote <
<EMAIL_ADDRESS>
@markmarijnissen https://github.com/markmarijnissen Did you look for
the v2 docs at some time? If so where did you expected to find the
information?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue/issues/3653#issuecomment-246121596, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABOmDa2T3Y5uZsRSUinEEzQZlbVYAonCks5qot0UgaJpZM4J5cKZ
.

I see. Did you expected the link on the version select?
I think that adding it there plus some "Looking for vue 2 docs? Click here" in the homepage is enough.
Do you think that is enough?

Yes! Both options are fined. I expected them in drop-down, and would
definitely have noticed at homepage. The incomplete warning at rc docs is
loud and clear
Op za 10 sep. 2016 18:47 schreef Eduardo San Martin Morote <
<EMAIL_ADDRESS>
I see. Did you expected the link on the version select?
I think that adding it there plus some "Looking for vue 2 docs? Click
here" in the homepage is enough.
Do you think that is enough?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue/issues/3653#issuecomment-246122056, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABOmDQOBm1odBBTlySNPO7xAvf5CuwDvks5qot89gaJpZM4J5cKZ
.

+1
I keep up to date with all the changes and I wasn't aware of the RC guide until yesterday. I think a link just below the "Getting started" title would be nice.

To provide more context, the lack of links to the 2.0 guide is actually intentional. Many parts are still being actively revised and there are a few API changes that haven't made it in yet. The migration guide also isn't yet complete, which I imagine may be the first stop for many current Vue users.

I think it might be good to hold off on adding a link - at least until the migration guide is done, which will hopefully be within a few days.

There's a PR on vuejs/vuejs.org#399
Closing this because it belongs to that repo instead


App launcher refactor

This PR fixes lots of the issues the app launcher previously had, including:

Fixed scrolling issues
Added widget_template support - the only requirements are that the user pass in a prompt with an id of "prompt_role" and a grid with an id of "grid_role"
Added app_template support, this is a function that gets an app parameter passed to it. It needs to return a new widget. You can use the app table that gets passed to the function

Removed the animation props, as it was somewhat buggy. In the example below I show a better way of animating the widget

Removed most of the styling props as there's no need for them now that we have proper templates
Renamed bling::app_launcher::visibility signal to visibility
Refactor the icon theme helper so it's more consistent with the rest of the helpers library
Removed the get_icon_for_client function
Convert any useful local function as a public method so that the behavior can be tailored to one needs
Added a method to dynamically set the favorite apps, which might be useful in case someone implements a context menu that has a button to toggle off the app's favorite state
Improved spawning non-terminal apps (some file managers would open a dialog error when opening them)
Improved spawning terminal apps, including auto-detecting the installed terminal so the user doesn't need to configure it anymore. It also now will change the class of the terminal to the class or name if the class isn't available on the desktop file. The second part is done with xdotool, so I'm not sure if I should keep it or not
Added 'page::forward', 'page::backward' and 'scroll' signals
New text input replacing the old prompt widget, with mouse support, text selection, more sane key binds, copy and paste, completely customizable and many more
Better searching
Improved performance when scrolling by caching the widgets
-An option to lazy load the app widgets
Many more bug fixes and code improvements

@JavaCafe01 @Nooo37 I think it's ready for review

Waiting for push to fix template issues


⚠ Bofrost.at has degraded performance

In bdeacb8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 955 ms

Resolved: Bofrost.at performance has improved in 8eeb7c9 after 13 minutes.


Format imported Streaming Integrator samples

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? Yes
Ran FindSecurityBugs plugin and verified report? Yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? Yes

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 6 committers have signed the CLA.:white_check_mark: RukshiW:white_check_mark: samgnaniah:white_check_mark: CharukaK:white_check_mark: malakaganga:x: Hasitha Abeykoon:x: nilminiwso2Hasitha Abeykoon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Provide concrete example of how to deploy examples onto Secure Foundation

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave +1 or me too comments; they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If the issue is assigned to a user, that user is claiming responsibility for the issue.

Description

Hints are provided on how to deploy the Secured Data Warehouse examples (e.g. simple-example) onto a platform based on the GCP terraform-example-foundation, however no concrete steps are provided and the reader is left to make a number of decisions and create a number of Terraform scripts which extend the ones provided by the foundation.  It would be great if these could be packaged ready-to-go with the example.
My initial test deployment used the following:

Data Governance project prj-bu1-c-sdw-data-gov-xxxx in folder fldr-common, based on the foundation template for prj-bu1-c-infra-pipeline
Ingestion project prj-bu1-p-sdw-data-ing-xxxx in folder fldr-production, based on the foundation template for prj-bu1-p-sample-base
Non-Confidential data project prj-bu1-p-sdw-nconf-data-xxxx in folder fldr-production, based on the foundation template for prj-bu1-p-sample-base
Confidential data project prj-bu1-p-sdw-conf-data-xxxx in folder fldr-production, based on the foundation template for prj-bu1-p-sample-base

I used terraform-docs to create a default terraform.tfvars file in the simple-example folder and found I also needed to copy provders.tf from the foundation code into the same directory to avoid errors in the access context manager perimeter setup step.
Finally, I had to make some changes to main.tf in the simple-example folder to adjust the default region and change the bucket, dataset and keyring names to align to the foundation naming convention.
References

#0000

Would also be very helpful to provide guidance on which project the example flex-templates should be built and deployed - e.g. data governance, data ingestion etc.


MO values at particular points

Hi,
I'm performing FCI calculations with PySCF and I was wondering whether there is a possibility to obtain the values of molecular orbitals at particular point?
It would also be very useful for me to get 1- and 2-RDMs expressed in natural orbitals.
I would be very grateful for any suggestions and clues.

What kind of point are you referring to? If it is about MOs evaluated on grid points, you could try gto.eval_ao to compute the AOs' value on the grid and then contract it with MO coefficients.
RMDs in natural orbitals can be obtained by a unitary transformation from the RDMs in canonical orbitals.

If it is about MOs evaluated on grid points, you could try gto.eval_ao to compute the AOs' value on the grid and then contract it with MO coefficients.

This may do the trick, thank you a lot! I will check it out as soon as possible (I am a bit busy right now - sorry) and close the topic.

They are the same function...


Control Center in iOS, Tray in Android, Device-aware audio

Current behavior
When playing a video or audio track with background/inactive set to true, the device is not aware of the audio from the react-native app. Audio cannot be controlled via control center or the android tray.  Since device is not "aware" of the audio, other audio will actually play over it.
RN 0.59.10, 0.57.x
RNV 5.0.0, 4.0.0
Reproduction steps

Set prop "playInBackground" to true
Start app, play video
Leave app
Try to control audio without killing app.

Expected behavior
Control center and android tray would be aware of the audio.
Platform
Which player are you experiencing the problem on:

iOS
Android MediaPlayer

Video sample
Irrelevant
Additional notes
This may be the expected behavior, but if it is, I see no purpose in having "playInBackground" as an available prop, because that is a terrible user experience.  Is there another component that I need to have in order to enable this?
Thanks for the great component otherwise =]

We ended up writing our own native components for this, as react-native-music-control was causing some issues with iOS, and it seemed faster to just write our ow.  Jury's still out on that one.
However, we will continue to watch this, as if this does get fully added to the roadmap I believe it would be preferable to use the built-in

@avanrossom
Able to share any of that code or give a general synopsis on how you did it?

@flexgrip Unfortunately, we're not ready to release any code at this time, mostly because we don't have the bandwidth to maintain it well. A colleague wrote the Android component, but for iOS I think I can help give you some direction:
Apple's documentation on this is borderline nonexistent, which makes it extremely frustrating to build on.
There are essentially three components of it:
Initialize the Control Center Component

When our app starts to play audio, we call a function that essentially tells the control center we want to talk to it, and we set the settings we want to use (please note that this is simplified for brevity.  The code below is not intended to be complete, rather, sets a direction to work in)

//Sets the initial data for the player
RCT_EXPORT_METHOD(setInitialData:(NSDictionary *)data)
{
    [self initMP];
    MPNowPlayingInfoCenter *center = [MPNowPlayingInfoCenter defaultCenter];
    NSMutableDictionary *nowPlayingInfo = [NSMutableDictionary dictionary];
    if (@available(iOS 11.0, *)) {
        center.playbackState = MPNowPlayingPlaybackStatePlaying;
    }
//interruption observer
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(routeChange:) name:AVAudioSessionRouteChangeNotification object:nil];
    [[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
    self.audioInterruptionsObserved = false;

    //Sets the values
    nowPlayingInfo[MPMediaItemPropertyTitle] = data[@"title"];
    nowPlayingInfo[MPMediaItemPropertyArtist] = data[@"artist"];

..... more code .....

}

- (void)initMP{
MPRemoteCommandCenter *remoteCommandCenter = [MPRemoteCommandCenter sharedCommandCenter];

//The features
remoteCommandCenter.previousTrackCommand.enabled = NO;
remoteCommandCenter.nextTrackCommand.enabled = NO;
remoteCommandCenter.playCommand.enabled = YES;
remoteCommandCenter.pauseCommand.enabled = YES;

//The selectors (it would appear that iOS gets weird if you don't specify a target, even if you aren't using the selector.
[remoteCommandCenter.previousTrackCommand addTarget:self action:@selector(actionDoNothing:)];
[remoteCommandCenter.nextTrackCommand addTarget:self action:@selector(actionDoNothing:)];
[remoteCommandCenter.playCommand addTarget:self action:@selector(onPlay:)];
[remoteCommandCenter.pauseCommand addTarget:self action:@selector(onPause:)];
}

Hook up links between iOS and RN

You'll need to use playback speed, rather than just play/pause to control the playback.  Here's an example:

if ([state isEqual:@"play"]) {
        speed = [NSNumber numberWithDouble:1];
        if (@available(iOS 11.0, *)) {
            center.playbackState = MPNowPlayingPlaybackStatePlaying;
        }
    } else {
        speed = [NSNumber numberWithDouble:0];
        if (@available(iOS 11.0, *)) {
            center.playbackState = MPNowPlayingPlaybackStatePaused;
        }
    }

When you and the playback, you need to clear the component.

I don't know that this is strictly necessary, but it's definitely not a good idea to disconnect your playback but leave the audio as an option in the control center =]

//Remove our control over the control center
RCT_EXPORT_METHOD(resetNowPlaying){
    MPNowPlayingInfoCenter *center = [MPNowPlayingInfoCenter defaultCenter];
    center.nowPlayingInfo = nil;
    self.artworkUrl = nil;
    if (@available(iOS 11.0, *)) {
        center.playbackState = MPNowPlayingPlaybackStateStopped;
    }
}

I hope this helps somewhat!

react-native-music-control is fairly buggy, especially on Android. It would be good to see more support from both ends on integrating together, but ideally it'd be nice to see https://medium.com/google-exoplayer/playback-notifications-with-exoplayer-a2f1a18cf93b be implemented (at least for exoplayer) and configurable via a prop, and possibly a custom solution for iOS.

Yeah. This is one of those “nice to haves”. But there are far more important core issues I think RNV will get attention on before this, unless one of us creates a magic PR. Once my current project is stabile, I may take a swing at it.

Just did a bit of digging. I agree it's not a core feature of RNV, but it might be nice to see an implementation guide of using react-native-music-control in the documentation.
Also, given the Android issues of RNMC, I think it's a fairly minimal amount of work to support https://github.com/react-native-community/react-native-video/issues/1808 . Might be worth looking into at least! If I can provide the magic PR I will, but depends on if I get time.

Does anyone else require this feature? I can right in android, but need support in ios.

React native track player seems a better option for notification tray but integrating it with RN Video is bit of tough task. Can anyone help out ?

@singh100ful : Is there a way that we can install react-native-video and react-native-track-player in app and then can control or show notification controls for video as well by using react-native-track-player methods??

@singh100ful :
What can be do is we can install both RNV and react-native-track-player in-app.
But I am not sure about how to control or show notification controls for video as well by using react-native-track-player methods??

Kind of. I'm playing with it right now.
If you have react-native-track-player install, you can listen to remote-play / remote-pause events to respond to Control Center events.
I only just started though; there are likely issues that need to be hacked around.

are there any news on this? I think there are a lot of us who are interested in this. What can we do?

Any update?

some progress guys? I thinking on give a try to react-native-push-notification to build the tray, as it provide some useful configurations for notification components.

I ended up using react-native music-controls with the package itself. and it's been working great. Had no problems whatsoever. App is in production.

i'm using react-native-music-controls too and loving it.

I ended up using react-native music-controls with the package itself. and it's been working great. Had no problems whatsoever. App is in production.

Happy to here this news. I have the same use case. This means 'react-native-video' is using for playing tracks/videos in the react native application and using 'react-native-music-control' can media controls on lock screen and notification center for iOS and Android ? If so can you please provide a sample code how can we used that and pass multi tracks to the music control as well.

I ended up using react-native music-controls with the package itself. and it's been working great. Had no problems whatsoever. App is in production.

Happy to hear this news. I have the same use case. This means 'react-native-video' is using for playing tracks/videos in the react native application and using 'react-native-music-control' can media controls on lock screen and notification center for iOS and Android ? If so can you please provide a sample code how can we used that and pass multi tracks to the music control as well.

Follow in below my basic player component with react-native-video + react-native-music-control as example.
https://gist.github.com/reberthkss/c99383615eb3b38a4712c057ee66f74c


added arrow keys for navigation as long as a page element has focus

This adds keypress events and interprets the left and right arrows for section navigation. Unfortunately that only works when a page element is focused, for example after clicking the "next section" icon.

Thanks a lot, I did not touch this issue so far, because I had troubles with the inline code editor, but your solution does not interfere with these key-events ;)


Credit- Discount for % off- Full Credit back-  P1 Non Commissionable & Client Promo discounts Still off on Credit

Single line- multiple qty - Promo (10Fall) 10% off each item in order
Dill Pickle- qty 4- 750403
Credit back full order
ID# 160785
BC# 781
26949274
CR#26949277
So looks like the discount amount on the original order is correct but when I comes to the credit order, on the full credit discount the numbers should match and they don't both of them should read as $3.20 in the highlighted areas.... so somehow you are off by $0.32 cents

Made a fix to the discount calculation in uspI_CreateCreditOrderForExternal.

Looks better in the Order listings.

Order details also look better

closing bug


Script Crashes

I've made a DIY Space Mouse (https://www.instructables.com/DIY-Space-Mouse-for-Fusion-360-Using-Magnets/) for use in CAD software. I'm utilizing a version of his script that I have modified to work with the Adafruit LIS3MDL board (https://www.adafruit.com/product/4479). However, the script is crashing on my QT PY RP2040 this instant it attempts to execute a Keyboard.press or Mouse.move command (I've inserted a bunch of Serial.print into the script and have confirmed this is exactly where the script crashes). I'm running this on a brand new Mac with M2Max processor. Any idea of why the script is crashing?
Thanks,
B

This is my bad. I had commented out the Mouse.begin() and Keyboard.begin() earlier in the script when troubleshooting other issues.


TabView: Forward tab button is clipped in 200% text scaling mode.

Describe the bug

Steps to reproduce the bug

Pre-requisite:

Settings--> Ease of Access-->Display-->Drag the Display slider  to  200%-->Apply
Screen Resolution Should be "1280*768"

Steps to reproduce the behavior:

Launch XAML Control Gallery app.
Navigate to TabView button and activate it.
Navigate to TabStripHeader and TabStripFooter content region->add some more tabs so forward and backward tab button appears-> navigate to forward/backward tab button observe in 200% text scaling.

Expected behavior

forward/backward tab button should be visible in 200% text scaling mode .
Screenshots

Version Info

Xaml Controls Gallery version <IP_ADDRESS>
Additional context

Copied from internal bug

Also see issue https://github.com/microsoft/microsoft-ui-xaml/issues/3144. I plan to take a look at that next week. If I don't find the time, I'll let the team know so somebody else can look into it.

Ref: #1650 #1519 #1413 and this comment.

Adding IsTextScaleFactorEnabled=False to the TabView scroll buttons gives us the following result with 200% text scaling mode:

We currently align the scroll buttons to the bottom of the tab strip and control the width/height of the scroll button via theme resources (TabViewItemScrollButtonHeight/TabViewItemScrollButtonWidth). If the resulting placement of the scroll buttons in relation to the other TabView UI elements is not desired, we could change the vertical alignment of the scroll button to center:

This is not yet perfect either so we could add an additional top margin of 10 for better alignment with the rest of the TabView elements (tabs, Add Tab button). The margin of 10 was chosen so that in 100% text scaling, the scroll button has the same position as currently:

Text scaling
100%
200%

@YuliKl What do you think? It could be a bit weird looking to customers that changing the text scaling will also change the position of the scroll buttons (in this case, move the button "up" from the tab strip bottom).
(If we choose to use this custom margin should we expose it via a theme resource? I.e. TabViewItemScrollButtonMargin)
On that note, outside of text scaling we also notice the current bottom alignment of the scroll buttons when customers change the height of the TabView items. For example, if a customer changes the height to 60, they will be greeted by this UI:

Using the possible center vertical alignment with a top margin of 10 for the scroll buttons, the UI looks like this:

I don't know about other customers, but to me the centered scroll buttons (with top margin) look better than the bottom aligned scroll buttons.

What about having all buttons be aligned to the bottom:

Having a button centered but not take up the vertical space seems a bit odd to me.

Looking at how I would naturally tab tabs (touch screen), I would tab these tabs at the height of their header. So in case of the scroll buttons (and even the Add button) I would then have to move my finger down a bit, as opposed to having them centered. (The Add tab button would still work since its height is the same as the height of the tab but I would naturally be inclined to tab the button where its icon is located on the screen).
So in the case of touch screen, I woudl definitely prefer these buttons to be (visually) aligned with the headers of the tab items so that I can keep my finger at the same height level.

I guess in the touch screen scenario it is more convenient, however, you would be left with inconsistency in the sizing behavior. If the pointer is not near the buttons, you see this:

But if users try to hover of them, users will be surprised to see that one icon is only centered, while the other stretches the complete height:

If those two buttons like almost identical in the normal state, I would expect them to behave the same, not one stretching while the other just only covers a portion of the expected height. Also for mouse users, it's more convenient to have the buttons on the bottom since they are faster to reach with the cursor that way when having done something in the content of the TabView.

But if users try to hover of them, users will be surprised to see that one icon is only centered, while the other stretches the complete height:

I am assuming the scroll buttons not stretching vertically like the Add button is desired though since we've introduced theme resources to customize the width and height of the scroll buttons. That design could be changed so we have matching button designs for the TabView. Edge UWP for example uses more or less the same design for the scroll and add buttons.
I am writing these ideas under the premise that the current design is the correct one (so "fixed" height for the scroll buttons) and in that case I prefer vertically centering (+ the additional top margin) the scroll buttons for visual alignment. It just looks visually off to me otherwise if the scroll button icons are not on the same baseline like the rest of the TabView UI elements.
Firefox for example does it the other way around. For them, the scroll buttons stretch vertically but the Add Tab button is centered vertically:

So, I would either prefer verticall centering or changing the design of the scroll buttons to match that of the Add Tab button. Though that could conflict with the already introduced theme resources and might not be the chosen design.

I think the introduction of those themeresources was done without accounting for this kind of scenario. Given that those resources where introduced quite some time now, we will need to figure a way out of fixing this without removing said resources or ignoring them. Since text scale changing is nothing I would expect developers to listen too to account for the correct sizing, the only feasable options I see would be:

Align all buttons to the bottom
Center "Add tab" button and have it not stretch entire height.

I will use this occasion to bring these design discussions to the attention of @mdtauk since this could be interesting to him as well.

Firefox for example does it the other way around. For them, the scroll buttons stretch vertically but the Add Tab button is centered vertically:

Your mention of the way Firefox did it, strikes me as a good solution.  I would ask how this might affect Windows Terminal, which uses a split drop-down button for their add tab UI. How would other content alignment with the tabs and scroll buttons?

@mdtauk Terminal titlebar currently looks like this with 200% text scaling:

So a vertically stretching scroll button would fit nicely with the rest of the UI.

The problem is that having the scroll buttons stretch will be almost impossible to achieve without ignore the existing theme resources/API for that :/

We will be tracking this in our internal issue

We will be tracking this in our internal issue

But why does that mean this should be closed?

Sure

Closing - does not repro with updated font icons


Add NeuroscopeLFPInterface to gin tests

Porting of:
https://github.com/catalystneuro/nwb-conversion-tools/pull/461
This depends on the master version of Neo. The idea is to merge once NEO does a new release.

For #45 we started using the master branch from neo so I think this is good to go. I am fixing here to the latest available commit as is not good practice to pin to branches because they move.

I think Julia was working on a new release soon so I suppose we can start to move on this now.


Remove addresses without webhook from Redis

Headline
Remove keys with empty webhooks from Redis to avoid useless processing
Issue 224

Should we call this method only if len(del) > 0?

Make sense! I am going to change


Package .NET Core 2.1

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Any particular reason we want to support this? I'd rather tell people to update to a modern .NET than add maintenance burden for a version that will be out of support in a few months.

That said, if you want to take this on because you have a desperate need for it then it's fine I guess.

My motivation here is that an important closed-source tool in my field currently requires .NET Core 2.1 (http://coxdocs.org/doku.php?id=maxquant:common:download_and_installation). I'd suggest we just package this once, so that it's available to them but not do continued maintenance.

I'm not attached to the idea or desperate for the version, though, so either way is fine by me.

Since you've already done the work we may as well merge it!
I might get you to retarget the PR (or open a new one) against the v2 branch though:
https://github.com/conda-forge/dotnet-feedstock/tree/v2

Sounds good! I retargeted v2. It should be ready to go.


ci: add go 1.11

Fixes part of the #191
CI now tests Go test on both, 1.10 and 1.11
Generator tests rely on comparison to the golden gofmt'ed text blobs, but in go 1.11 gofmt format changed 🤦♂  This change does comparison in tests ignoring Unicode whitespaces (like a git diff -w)
enry-java is only released using go 1.11

@creachadair thank you for a prompt review! Feedback addressed in 501fb67 and is ready for another round.

All feedback addressed in d9ce949, ready for another pass.


Improve user invitation in TG rooms

Steps to reproduce

for private rooms, the default screen should be changed with a hint to interact with the community bot, the minimum threshold, and the number of users

for public rooms, the bottom section should display a message like “You need to own more than ≥ 1 “test0” tokens to be able to post in this room.” | Get room tokens (community bot interaction)

@onvisions can you pls provide the design and discuss it with @kenodressel

@kenodressel  please see https://github.com/superhero-com/matrix-defi-bot/issues/187


Can't delete the newly created tenant

Hi,
I created a new tenant for lab testing in Azure but now i can't delete it as instructed in the lab. I'm stuck on the below step:
'Subscriptions: Delete all license-based subscriptions'

I clicked on the link 'Delete all license-based subscriptions' and it takes me to the following KB:
https://docs.microsoft.com/en-gb/azure/active-directory/users-groups-roles/directory-delete-howto#prepare-the-directory
but i can't sign in because i don't have a school or organisational email address. I've also tried https://go.microsoft.com/fwlink/?linkid=2101580 as mentioned in the lab but same result.

I've already removed the P2 licences from the users
I've also removed a OneDrive application that was assigned to the users through AAD->Enterprise applications

The only thing that i can think of is it's due to the 'Trial P2 licence' that i added to the tenant.
Let me know please how can i delete this tenant.

Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ea77d5a9-6619-0f31-9567-6085b7a4b5a2
Version Independent ID: f4cf720d-60dd-f086-3ace-1ff17e427757
Content: Delete an Azure AD organization (tenant) - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/directory-delete-howto.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@SAIMMINHAS Thank you for your query. We will review this and update the thread.

@SAIMMINHAS As you have mentioned you do not have a organisational or school account so maybe you are loggedin with Live ID which has global admin access. Could you please try to create a new user with<EMAIL_ADDRESS>and assign this user a global admin privileges. and you dont need to assign any licenses to this user. Just the global admin role is enough . Once done , you can logon with this user on portal.azure.com and then try to delete the directory again . I believe this should work. A local global admin user have abilities to delete the tenant as well . I am not really sure as to what user are you logged in with (liveID/MSA or work/School account) . Try it and let me know if this works.

Hi shashishailaj,
Just to clarify that i'm already using the Admin Account which has the Global Admin access assigned to it as shown below:

I then also tried your suggestion but it won't let me delete as well. However, i was able to cancel the P2 trial by clicking on 'Delete all license-based subscriptions ()' after loging in as the new Admin User Account as shown below:

I then logged back in using my default Admin account and now the P2 Trial has completely gone but sill i'm seeing that it is unable let me delete this tenant:

Below is again what i see the same error as last time:

Not sure if i've to wait for a certain time.
However, there is a message that can be seen on top of the below screen, think this is related to your original suggesion:

@SAIMMINHAS The error "We have detected that your current user account is external to this tenant .... "explains the same thing what I had suggested . Please try to follow the steps below once.

Please go to Azure Active directory > users and create a new user in the format @ittechlinkltd2.onmicrosoft.com .
Assign the global admin role to that user.
Now Logon with that newly created user and go to Azure AD > Users . You should see the two user objects as you have mentioned that you have cleaned up all the directory .
Then remove/delete the external account which you were logged in with earlier.
Once done you can try to delete the directory and this time the directory will get deleted.
The directory deletion information take around 24 hours to replicate across all the systems so if you try to create a new tenant with the same name ittechlinkltd2.onmicrosoft.com it wont work until the directory deletion information has converged across all related systems within the azure infrastructure.

Hope this helps you fix your issue. If you still get any error please provide the details and i will try to help further.
Thank you.

@SAIMMINHAS Hope you are good. Could you please let us know if you were able to follow the above instructions ?

Hi shashishailaj,
So i've now tried your steps and here's what happened.
I logged in with this newly created Admin Account and saw two Admin User accounts. I was obviously unable to delete the one that i was logged in with but was able to delete the other Admin Account which is created by default. In the Users section, i see the below now:

Then, when i try to delete the Tenant, i see the below:
'To delete 'AdatumLab100-5b' organization, please remove the seat-based subscriptions which are still associated with your tenant. Go to Store For Business to fully deprovision the subscriptions by placing them into a Delete state even if they have already been canceled. Learn more'

When i click on the 'Delete all license-based subscriptions' link, it takes me to Subscriptions page. The P2 subsrciption was already cancelled and this time i also clicked on the 'Delete' option which was visible under the 'Settings & Actions'. It then confirmed that i wanted to delete this P2 subscription. I clicked on YES and then below is the new status:

I then logged out and logged back in with that same new Admin Account; and see the below status:

Well...what you know...
After checking again few hours later, the Tenant is not there anymore. Looks like it's gone now. I had to do few more steps.
Thanks for the help shashishailaj.
I'm now closing this issue.
Regards,
Saim Minhas


example link is broken

Example link inside the example tab in pub.dev page is broken and direct the users to 404 page

This seems to be more an issue with pub.dev not linking to the correct file. However, the markdown file should contain better information, so I'm changing the label to docs.

Are you sure?, This example like works in other pages

It is because of the serverpod repository structure I think. The serverpod package isn't in the root level of git repository (like most other packages) as the serverpod repo contains many different packages.

Looks like correct hypothesis


Validate the major.minor as the version matching mechanism for customized manifests

Proposed Changes

Instead of checking whether versions match in terms of major, minor and patch numbers, we only check the major and minor numbers.

Release Note

/lgtm

/test pull-knative-operator-upgrade-tests


frdm_k64f test/net/tcp bus fault after test ends

Describe the bug
meet bus fault after the test ends
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=frdm_k64f ..
make
See error

Expected behavior
test ends normally
Impact
annoyance
Screenshots or console output
***** Booting Zephyr OS 1.14.0-rc1 *****

starting test - test TCP init

passed

starting test - test TCP register/unregister port cb

[00:00:00.000,256] <wrn> net_if: You have 2 IPv4 net_if addresses but 3 network interfaces

[00:00:00.000,261] <wrn> net_if: Consider increasing CONFIG_NET_IF_MAX_IPV4_COUNT value.

[00:00:00.000,266] <wrn> net_if: You have 2 IPv6 net_if addresses but 3 network interfaces

[00:00:00.000,270] <wrn> net_if: Consider increasing CONFIG_NET_IF_MAX_IPV6_COUNT value.

passed

starting test - test TCP context init

passed

starting test - test IPv6 TCP reset packet creation

passed

starting test - test IPv4 TCP reset packet creation

passed

starting test - test IPv6 TCP syn packet creation

passed

starting test - test IPv4 TCP syn packet creation

passed

starting test - test IPv6 TCP synack packet create

passed

starting test - test IPv4 TCP synack packet create

passed

starting test - test IPv6 TCP fin packet creation

passed

starting test - test IPv4 TCP fin packet creation

passed

starting test - test IPv6 TCP seq check

passed

starting test - test IPv4 TCP seq check

passed

starting test - test TCP seq validity

passed

starting test - test TCP reply context init

passed

starting test - test TCP accept init

passed

starting test - test cleanup

passed

===================================================================

PROJECT EXECUTION SUCCESSFUL

[00:00:02.530,633] <err> net_conn: Address families different

***** BUS FAULT *****

  Imprecise data bus error

***** Hardware exception *****

Current thread ID = 0x200042ec

Faulting instruction address = 0xd8d0

Fatal fault in thread 0x200042ec! Aborting.

Environment (please complete the following information):

OS:  Linux
Toolchain Zephyr SDK
Commit v1.14.0_rc1

@MaureenHelm

I confirm that I can re-produce this one. Looking at it

@ioannisg can you try with PR #13545 ?

@tbursztyka I will do. Actually, I noticed that I get a few "swap's", (i.e. context-switches) after I get the PROJECT EXECUTION SUCCESSFUL, so I suspected, some thread is still running.

[00:00:02.530,645] <err> net_conn: Address families different
***** Booting Zephyr OS v1.14.0-rc1-355-gdb2f8ddae9 *****
starting test - test TCP init
passed
starting test - test TCP register/unregister port cb
[00:00:00.000,256] <wrn> net_if: You have 2 IPv4 net_if addresses but 3 network interfaces
[00:00:00.000,260] <wrn> net_if: Consider increasing CONFIG_NET_IF_MAX_IPV4_COUNT value.
[00:00:00.000,265] <wrn> net_if: You have 2 IPv6 net_if addresses but 3 network interfaces
[00:00:00.000,269] <wrn> net_if: Consider increasing CONFIG_NET_IF_MAX_IPV6_COUNT value.
passed
starting test - test TCP context init
passed
starting test - test IPv6 TCP reset packet creation
passed
starting test - test IPv4 TCP reset packet creation
passed
starting test - test IPv6 TCP syn packet creation
passed
starting test - test IPv4 TCP syn packet creation
passed
starting test - test IPv6 TCP synack packet create
passed
starting test - test IPv4 TCP synack packet create
passed
starting test - test IPv6 TCP fin packet creation
passed
starting test - test IPv4 TCP fin packet creation
passed
starting test - test IPv6 TCP seq check
passed
starting test - test IPv4 TCP seq check
passed
starting test - test TCP seq validity
passed
starting test - test TCP reply context init
passed
starting test - test TCP accept init
passed
starting test - test cleanup
passed
===================================================================
PROJECT EXECUTION SUCCESSFUL
[00:00:02.530,645] <err> net_conn: Address families different

That's what I get after pulling the changes from #13545, @tbursztyka, @hakehuang . There's a logger warning, but the BusFault has disappeared. I suppose you can add a "Fixes #13489" in that PR.

Thanks for verifying this

Hi @ioannisg  after applying #13545 I get the same result as yours.

@hakehuang could you comment, also in #13545 ?

@ioannisg  add comment on #13545.


Configuration error after deploying the newer version of eduMEET

Hi,
When trying to deploy the newer version of eduMEET via edumeet-ansible playbooks with the following values:
edumeet_branch: dev
edumeet_tag: dev
config_template_version: dev

it deploys successfully, but the application is not accessible and shows the following error message:
Configuration error
The Edumeet configuration contains errors:
configuration param 'viewAspectRatio' not declared in the schema configuration param 'viewAspectRatios' not declared in the schema configuration param 'videoAspectRatio' not declared in the schema configuration param 'defaultResolution' not declared in the schema configuration param 'defaultFrameRate' not declared in the schema configuration param 'defaultScreenResolution' not declared in the schema configuration param 'defaultScreenSharingFrameRate' not declared in the schema configuration param 'simulcastEncodings' not declared in the schema configuration param 'defaultAudio.autoGainControl' not declared in the schema configuration param 'defaultAudio.echoCancellation' not declared in the schema configuration param 'defaultAudio.noiseSuppression' not declared in the schema configuration param 'defaultAudio.voiceActivatedUnmute' not declared in the schema configuration param 'defaultAudio.noiseThreshold' not declared in the schema configuration param 'centralAudioOptions.sampleRate' not declared in the schema configuration param 'centralAudioOptions.channelCount' not declared in the schema configuration param 'centralAudioOptions.volume' not declared in the schema configuration param 'centralAudioOptions.sampleSize' not declared in the schema configuration param 'centralAudioOptions.opusStereo' not declared in the schema configuration param 'centralAudioOptions.opusDtx' not declared in the schema configuration param 'centralAudioOptions.opusFec' not declared in the schema configuration param 'centralAudioOptions.opusPtime' not declared in the schema configuration param 'centralAudioOptions.opusMaxPlaybackRate' not declared in the schema

and that is weird because I can see those values after the deployment in configs/app/config.js
the application is publicly accessible through: https://edumeet.rash.al
Thanks for your support!

Manage to get it to work again by manually adding the IPv4 address of the host on server-config.js.j2 under listenIps

Hello,
Any update on this one?
Regards,
Klention


Can you add inference code, so it easy to test the model

Hi, codes for qualitative inference and batch evaluation can be found in the folder "evaluation". In particular, inference_ullava_core.py can be used to test the performance of the first stage, inference_ullava.py is for the second stage, respectively.

Thanks


Proposal: Add a --force flag support

Description
dtm install -f config.yaml --force
Describe the Proposal
Describe the Alternatives You Have Considered

Will add a step for user to confirm before actually installing. Closing for now.


Cleanup of stale issues

Description
This adds a manual-only workflow that is being used for the actual cleanup.
Motivation and Context
As we mentioned in the last community call, we are moving away from the model that tracked issues separately in github and AzureDevOps and towards a single list of issue that includes both. This will involve bringing all active github issues internally. To do this, we can’t (and shouldn’t) drown ourselves in the significant backlog that we have allowed to grow in github (mea culpa!).
What this means is that we will be bulk closing any issue that has not seen any activity in the last 180 days. We will be creating an exception for Feature Requests, and handling those separately.
If you have issues that you still care deeply about that have been lying dormant, all you need to do is post a single comment. That will set the Last Activity Date as today, and the issue will remain as-is. After any item is closed, it (of course) may be reopened.
Our logic here is that 180 days takes us back to the release of WinAppSDK 1.2. Please attempt to repro any older bugs on a recent build and update the results.

/azp run

Do you have an ETA for when the internal issues will be made public?  And is the commitment to make GitHub the source going forward?

The cleanup is complete. Closing, since this was a one-time effort.


⚠ DDoS-Relay EU-C-fsn1-1 has degraded performance

In c6111c6, DDoS-Relay EU-C-fsn1-1 (http://<IP_ADDRESS>:42069/;csv) experienced degraded performance:

HTTP code: 200
Response time: 320 ms

Resolved: DDoS-Relay EU-C-fsn1-1 performance has improved in 31546b7 after 19 minutes.


Switch to force deleting a release w/o requiring interaction

We are using appcenter-cli to script our builds.
Occasionally we need to remove a release from App Center (appcenter distribute releases delete).
An option to invoke the command w/o requiring the user to confirm deletion - e.g. via a --force switch - would be great in order to enable users to delete releases from scripts.

As we do not have plans to add support for this feature in the next year, I'm closing the issue.


rustup

@bors r+

:hourglass: Testing commit 444396d62056eada5dd6bf6e360aaa7377278754 with merge 538aedf09969fcc189a3aaee4a32cf01266c4941...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 538aedf09969fcc189a3aaee4a32cf01266c4941 to master...


Can't override light_grey highlight on barbar's gitsigns

I have recently started using barbar and I find its integration with gitsigns pretty awesome:
require'barbar'.setup {
    icons = { gitsigns = {
        added = {enabled = true, icon = '+'},
        changed = {enabled = true, icon = '~'},
        deleted = {enabled = true, icon = '-'},
    }}
}

The issue is that the current buffer now displays a light_grey highlight pretty hard to deal with.

I reported the issue in barbar's #504 since I thought the issue was the plugin but it seems there's something about how this colorscheme handles highlighting, as other colorschemes don't have this inconvenience.
Now they suggested me to override some of onedark's highlights as that actually worked for other users in the past. You can see my tweaks in the screenshot above (as well as links to related issues and such).  The color I'd expect to see is #4E4E4E instead of the light_grey but still, I tried with green and red for testing all the hl.plugins.barbar settings in onedark.
I might be overlooking something or perhaps it's a bug with gitsigns. Also other "onedark"-related colorschemes have the same issue as I could test this morning. Please let me know if I should provide the actual lua code for my onedark config or the screenshot may be enough. Thank you.

As now pointed out in the barbar issue, the problem can actually be solved invoking  this config before the require('onedark').load() call:
vim.api.nvim_create_autocmd('Colorscheme', {
    group = vim.api.nvim_create_augroup('config_custom_highlights', {}),
    callback = function()
      -- Override colorscheme highlighting before its `load()` call
      vim.api.nvim_set_hl(0, 'BufferCurrentADDED',   {bg = '#020508', fg = '#7EA662'})
      vim.api.nvim_set_hl(0, 'BufferCurrentCHANGED', {bg = '#020508', fg = '#4FA6ED'})
      vim.api.nvim_set_hl(0, 'BufferCurrentDELETED', {bg = '#020508', fg = '#E55561'})
    end,
})

This issue here can be closed but perhaps a permanent solution could be implemented in the plugin codebase. Thanks anyway for this awesome colorscheme.


nvcc/cuda version prolems

Ubuntu 18.04
CUDA 10.0

At first, I used nvcc(version 10.0) and changed the CUDA_PATH in lib/make.sh to the cuda lib in anaconda(version 8.0) to run lib/make.sh, but I met undefined symbol: __cudaPopCallConfiguration problem. It seemed that I need to use nvcc 8.0 to compile the code.
Then, I installed CUDA 8.0 and use its nvcc 8.0 to compile the code again and it works.
So, I think in order to run the code, we need CUDA 8.0 toolkit not only in anaconda.

Hi, thanks for pointing this.
We haven't test CUDA 10.0 yet, but 8.0 and 9.0 should both be ok.


Git --recursive problems

When I try to clone recursive the repository or when I use the option git submodule update --init I get:
fatal: The remote end hung up unexpectedly
Fetched in submodule path 'python/training/detection', but it did not contain 8e83c6f0ff5f0c7af5593561d38f07dd6e7bd254. Direct fetching of that commit failed.

If I continue to build from source, I get the error -- NumPy not found . I've alredy installed numpy.

I believe the changes made in 12hrs ago is pointing the submodule into a wrong link. I am trying to git in the older version.. hoping it to work..

Sorry about that @Abner-01 @One-star11 - I'd forgotten to git push the python/training/detection submodule - my bad.
Please try pulling jetson-inference master again now and it should be working.


feat: Allow adding custom routes to private route tables (#1130)

Description
This PR adds the ability to specify custom routes for private route tables by introducing a new variable private_route_table_routes. This feature allows users to add custom routes to private route tables created by the module, addressing the need outlined in issue #1130.
Changes

Added private_route_table_routes variable to variables.tf.
Implemented logic in main.tf to create routes in private route tables based on the new variable.
Updated README.md to document the new variable and provide usage examples.

Usage
module "vpc" {
  source  = "terraform-aws-modules/vpc/aws"
  version = "x.y.z"

  # ... other configurations ...

  private_route_table_routes = {
    for idx, rt_id in module.vpc.private_route_table_ids :
    rt_id => [
      {
        destination_cidr_block = "<IP_ADDRESS>/0"
        nat_gateway_id         = module.vpc.natgw_ids[idx]
      }
    ]
  }
}

References
Closes #1130
Checklist
 I have read the Contributing Guidelines.
 I have updated the documentation accordingly.
 I have added tests to cover my changes.
 All new and existing tests passed.

@antonbabenko can we please review the PR and merge? I too want the functionality to add custom routes

Most of these changes are not valid nor are they relevant to what is described in the PR title

ohh my bad, I didn't went through the actual changes. Let me try to fix it and raise a new PR

It's to easy to just @ people to ask them to do stuff without doing any work ourselves

closing since 90%+ of this is not valid nor applicable


How to retrieve previous day closing value

I'm probably missing something but I'm failing to understand how to retrieve the previous close value as in the picture.
The YMetaData::previous_close is always None while the YMetaData:: chart_previous_close is way off the real value.

Could u provide an example ticker where you observe this problem, so that I could reproduce the result?

Could u provide an example ticker where you observe this problem, so that I could reproduce the result?

For example VWCE.MI.

The API seems to return a value. Unfortunately, I can't debug this currently, since I get always a "429 Too Many Requests". Personally, I have definitely not exhausted the 2000 request per hour or so that seems to be allowed by yahoo!. I still can access the API via browser, so it's not the IP address that is blocked.

Apparently, the yahoo! API does not always provides a value for previous_close. Sometimes it's there, sometimes not and I am not sure what triggers this. That's the basic reason why this field is optional, and there's nothing I can do about this.
However, the field chart_previous_close is always present and has the same value as previous_close (if the latter is provided) in all cases I have analyzed so far. So maybe you could use this value instead.


WIP: Bitflag based TLS Signature Algorithm Processing

Introduced bit flags for the supported signature algorithm to optimise its processing. By which we can eliminate few nested iterations on key flows.
Code changes are in draft phase. Requesting to review and provide your opinions.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

I agree that there seems to be room for efficiency gains in this space, where we currently end up doing lots of nested list traversals over data that is fixed for the lifetime of the connection.  Making the SIGALGS structure so we can track indices and get constant-time lookup is probably a fine way to go, but I have mixed feelings about whether a bitmask is the right thing to do or not.  For one, I'm not sure when we'll need to know the set of algorithms without their order, and it also of course introduces a cap on the number of sigalgs that the current implementation can handle.
I think we'd also benefit from some statistics (multiple trials, stddev, etc.) to show the actual runtime impact of these changes, and I'd expect the commit messages to get fleshed out before anything actually gets merged (but I understand that this is still WIP so don't expect you to have done any of that before seeking initial feedback).
I'm curious if anyone else on @openssl/committers has thoughts about the use of a bitmask to track which sigalgs are present in a given list thereof.

For one, I'm not sure when we'll need to know the set of algorithms without their order, and it also of course introduces a cap on the number of sigalgs that the current implementation can handle.

Do I correctly remember that there is a 1-byte codespace? If yes, it means that we have 8 bytes enough until the next version of the TLS protocol appears.

For one, I'm not sure when we'll need to know the set of algorithms without their order, and it also of course introduces a cap on the number of sigalgs that the current implementation can handle.

Do I correctly remember that there is a 1-byte codespace? If yes, it means that we have 8 bytes enough until the next version of the TLS protocol appears.

Around the TLS 1.3 timeframe we switched from separate (8-bit each) registries for signature algorithm and hash algorithm, so we now have a combined 16-bit codepoint space for SignatureScheme.  This takes into account things like Ed25519 that don't really have a separate "hash" step.

For one, I'm not sure when we'll need to know the set of algorithms without their order,

Currently the introduced new date type SIGALGS maintains signalg list in 3 form

Ordered 2 octect value
Ordered lookup array's index value
Unordered bit flags

And passing variable of this type to all places, so based on the need we can access any one.

and it also of course introduces a cap on the number of sigalgs that the current implementation can handle.

That is true. I hope in near future also this list wont grow more than 64. In that case 64 bit variable will be sufficient for us.

I think we'd also benefit from some statistics (multiple trials, stddev, etc.) to show the actual runtime impact of these changes,

Sure. I will measure the statistics in few days and update over here.
Thanks for your valuable feedback.

With this optimization there is no change on the amount of connections made by s_time. But profiling report says CPU spend on tls1_process_sigalgs, tls12_shared_sigalgs, tls_choose_sigalg has been reduced with this changes.

Could you please rebase the PR to resolve conflicts?
Marking as inactive to be closed at the end of 3.4 dev barring further input.


Create coin-change.cpp

Closing Issue/Referencing Issue
issue reference (#)
Changes Made In Pull Request

@hitman96 add your name and info and make a new PR


[cmake] Workaround missing stdalign.h in windows portability test

Tentative fix for b/275694647. Also see https://github.com/grpc/grpc/pull/32662
Adhoc windows/grpc_portability run: http://sponge/bb75e14c-fc77-45bb-89bd-4c4685746490
Once merged, I'll backport to 1.54.x and 1.53.x (these have switched to VS2019)

The adhoc windows/grpc_portability run: http://sponge/bb75e14c-fc77-45bb-89bd-4c4685746490 is green so this is ready for review&merge.

FYI @gnossen

Oh, that's fun. :-/ Wonder how MSVC or CMake picks the default.

Oh, that's fun. :-/ Wonder how MSVC or CMake picks the default.

I think I found it!
https://github.com/Kitware/CMake/blob/f52a2fd26d13fa33d34dd1320f82d3f8aa49f3c3/Source/cmGlobalVisualStudio14Generator.cxx#L301
Though it's odd. The very last bit grabs the latest version, so it seems like we're not hitting that case. But otherwise it seems to just look for a match to SystemVersion, which I presume is CMAKE_SYSTEM_VERSION. I don't suppose it's possible your has set CMAKE_SYSTEM_VERSION elsewhere??

Ugh. Looks like CMake defaults to the Windows SDK version that matches the host Windows version, rather than the latest one:
https://github.com/Kitware/CMake/blob/f52a2fd26d13fa33d34dd1320f82d3f8aa49f3c3/Source/cmGlobalGenerator.cxx#L624
https://github.com/Kitware/CMake/blob/f52a2fd26d13fa33d34dd1320f82d3f8aa49f3c3/Modules/CMakeDetermineSystem.cmake#L176
See also this discussion, and this comment in particular:
https://gitlab.kitware.com/cmake/cmake/-/issues/16202#note_140259
So I guess that means -DCMAKE_SYSTEM_VERSION=10.0 may be cleaner way to force CMake to pick the latest one. But this whole situation is quite a mess. :-)


java-microprofile: Use LMP 3.1, Use LMP dev mode, use liberty <IP_ADDRESS>

Checklist:

[x] Read the Code of Conduct and Contributing Guidelines.

[x] Followed the commit message guidelines.

[x] Stack adheres to Appsody stack structure.

Modifying an existing stack:

[x] Updated the stack version in stack.yaml

Contributing a new stack:

Describe how application dependencies are managed:

Explain how Appsody file watcher is utilized:

Describe other Appsody environment variables defined by the stack image:

Describe any limitations and known issues:

Related Issues:

A couple more comments:

Why  not the latest OL version: <IP_ADDRESS>
From #479, should we change to mvn -B in Dockerfile?

This is no longer valid these changes are in PR 552 "Experimental java openliberty"


Cant create collective for fody

tried to create a collective for fody
https://github.com/Fody/Fody
but it doesnt show up for me

but fody would seem to meet the criteria?

Hi Simon,
It might have to do with your rights on the repo.
@asood123 should be able to help you through it.
best!

any more info on this one?

Hi Simon, we'll be working on this today. Sorry it's taking so long!

I'm closing this issue since it's duplicated #555

Thanks. I will track the other issue

Simon - is Fody an org on Github? if so, you may have to reauth through Github and give us org permissions. Let me know if that still doesn't work for you.

@asood123 yep re-authing fixed it. thanks


Removing myself as a maintainer

I haven't been doing any maintenance on this feedstock lately! Removing myself.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender


[WIP] [AutoDiff] Generalize Array: Differentiable conformance to more Collection types

This is far from ready from merging into main. There are no tests, and it hasn't even been validated besides the fact that it can compile. Due to standing compiler crashers brought up by RequirementMachine, you need to run this on an old toolchain to validate that it compiles. Use Swift 5.5.2 + the main branch of my Differentiation package.

Resolves SR-14056 and SR-14057.

CC: @BradLarson who is best suited to review this?

SR-15794

Closed for the same reason as https://github.com/apple/swift/pull/41099#issuecomment-1036984109.
To anyone who wishes to finish my work on differentiable collections in the future, my repository swift-differentiable-collection-experiments might be useful.


Not working using .Net Native toolchain

I am building an app which should be installed via the store which forces me to compile it using the .Net Native toolchain. If this checkbox is activated in a UWP app, it is possible to build, but not possible to start it. It always crashes during startup with Code -1073741515 (0xc0000135).
Why is it like that?

this is eventually connected to #579

OK, mathnet was not the problem with this. I had another dependency to the Behaviours SDK and this seems to be totally buggy. As I got not real hint how ti came to the crashed, even with native debugging, I accidently remove the Behaviours SDK and exchanged it with Microsoft.Xaml.Behaviors.Uwp.Managed. Finally it all worked perfectly!

Thanks for the update!


[form] use isEqual to check for dirty attributes

https://github.com/blikblum/nextbone/blob/master/form.js#L281

Done