New blitter API

For now, it's just a draft to show current progress. I'm trying to figure out how conversions with texture views work and if is it possible to remove linear to srgb functions from shader.
Main work is going in this repo
Tests
For first example I set surface format to Bgra8UnormSrgb and render png image on different viewports.
rows:

ordinary draw
current blitter
new blitter

columns:

srgb tex
srgb tex
linr tex
linr tex

srgb view
linr view
srgb view
linr view

Things are changing when I set surface format to Bgra8Unorm.

Current blitter doesn't depend on the texture format and converts color spaces automatically.
Links

discussion about implementing wgsl compute shaders for mipmapping
reference code for srgb conversions link

I can't think of a way to remove conversion functions in shader. I'll need to pass textures and match on texture views, but it forces to create bind groups each time. Mipmap creation is a bit better, but the whole merge request feels bikeshedy.


Prefer react namespace over default export

Thanks for contributing to react-virtualized!
Here is a short checklist of additional things to keep in mind before submitting:

Please make sure your pull request description makes it very clear what you're trying to accomplish. If it's a bug fix, please also provide a failing test case (if possible). In either case, please add additional unit test coverage for your changes. :)
Run tests locally (npm test) to ensure that your change did not break linting or functionality.
Be sure you have notifications setup so that you'll see my code review responses. (I may ask you to make some adjustments before merging.)

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1020   +/-   ##
======================================
  Coverage    90.2%   90.2%
======================================
  Files          59      59
  Lines        1675    1675
======================================
  Hits         1511    1511
  Misses        164     164

Impacted Files
Coverage Δ

source/Collection/CollectionView.js
90% <ø> (ø)
:arrow_up:

source/Table/defaultRowRenderer.js
100% <ø> (ø)
:arrow_up:

source/Table/Table.js
88.67% <ø> (ø)
:arrow_up:

source/Collection/Collection.js
95.23% <ø> (ø)
:arrow_up:

source/ScrollSync/ScrollSync.js
100% <ø> (ø)
:arrow_up:

source/Table/defaultHeaderRenderer.js
100% <ø> (ø)
:arrow_up:

source/ColumnSizer/ColumnSizer.js
95.23% <ø> (ø)
:arrow_up:

source/WindowScroller/WindowScroller.js
98.48% <ø> (ø)
:arrow_up:

source/Table/defaultHeaderRowRenderer.js
100% <ø> (ø)
:arrow_up:

source/InfiniteLoader/InfiniteLoader.js
98.3% <ø> (ø)
:arrow_up:

... and 3 more

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 e775173...e6da9c5. Read the comment docs.

Why?

https://github.com/bvaughn/react-virtualized/pull/1021#issuecomment-369129661

Would it be sufficient to change this:
import React, {PureComponent} from 'react';

class AutoSizerExample extends PureComponent<{}, State> {

To this:
import React from 'react';

class AutoSizerExample extends React.PureComponent<{}, State> {

Just curious.

Okay. I just think import * as React is more future friendly.

I'm not really opposed to the "import * as" syntax. I was just curious.
If you think it's the right move in our source code, I don't strongly object.


Invalid path in git

When checking out this repo I get
OS: Windows
error: invalid path 'ur_robot_driver/resources/ursim_driver/ursim/aux/.vol/urcap_ros_control.installation'

Note: The ROS1 version of these driver do not have this issue.

@michaelaeriksen Thanks for your question.
I am not really sure why windows is not happy with that filename, but thanks for the insight
Maybe you can get going with Windows Subsystem for Linux (WSL).
Please note that the driver does not yet support Windows natively.

I forked the Universal_Robots_ROS2_Driver repo in wsl and removed the files giving me problems in Windows. I have the ROS version of the drivers working on Windows natively and I'm now looking at migrating to ROS2. A while back I forked the Universal_Robots_Client_Library repo and changed all the socket code to use the platform independent library asio and the ROS version of the drivers are working great.

@michaelaeriksen that sounds great. Have you any idea of why windows did not like that file?
We have talked about making the ROS2 driver windows compatible, and here you work sounds very interesting.
Is it possible for you to share the asio version?

aux seems to be a reserved filename on windows. We ran into this issue before and renaming the path worked for us!
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN

aux seems to be a reserved filename on windows. We ran into this issue before and renaming the path worked for us!
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN

Thanks for that insight!

How did you workaround this? Did you fork and rename?

@haellingsen you could use the branch from #478 for example. This will see some more work today, but the problematic folder is already removed.

@haellingsen you could use the branch from #478 for example. This will see some more work today, but the problematic folder is already removed.

Thanks.
Although I ran git config core.protectNTFS false and cloned it.

Since the path is no longer part of the main branch, I'm going to close this.


I want to enable past and present dates.

I want to enable past and present dates to choose.

This is possible.  What is the question or problem you're having?

@erin-doyle thanks for your reply. my question is how to do that?
i found solution for this.
isOutsideRange={(day) => {
return !day.isSameOrBefore());
}}

isOutsideRange = {() => false}
To enable every date

Thank you for saving my time @Parthchokshi
isOutsideRange = {() => false}

To enable every date


Existing text overwritten when writing text during ssh session started from WSL Ubuntu

Your Windows build number:  10.0.16299.64

Same error as here: https://github.com/Microsoft/WSL/issues/1307 but now only when using ssh. Not happening before the ssh session in WSL (Ubuntu).

What you're doing and what's happening: I use ssh from WSL Ubuntu to login to a FreeNAS jail where I use bash shell. When writing text in the jail, the existing text is overwritten. This does not happen if I login to the same FreeNAS jail using Putty.

What's wrong / what should be happening instead: Existing text should not be overwritten.

Maybe this is a problem for all ssh sessions from WSL? Unfortunately I cannot test ssh to e.g. a Linux machine but maybe someone else can.

This (relatively old) one should have been duped down to #1307 but appears to have fallen between the cracks. Per the last post in the aforementioned issue best chance is with a detailed repro. Console issues have moved over to the Windows Console issue tracker.


Add input_pattern instead of min_pattern_length

See also https://github.com/zchee/deoplete-go/issues/7

This didn't work out for me. Now when i put my cursor after a dot, say: fmt. it only shows me Printf( and nothing else. When I hit c-x c-o I see the full list. So it seems gocode is not triggered at all.
With deoplete/auto trigger:

With manual c-x c-o keys:

This is the setting I have in my vimrc:
let g:deoplete#sources#go = 'vim-go'
let g:deoplete#enable_at_startup = 1
set completeopt+=noinsert
set completeopt+=noselect

@fatih OK. I will test now.

@fatih I testing and debuging now.
It is a tentative movie.
https://asciinema.org/a/34255
let g:deoplete#enable_at_startup = 1
let g:deoplete#sources#go = 'vim-go'
set completeopt+=noinsert,noselect

It works fine completion after the dot.
but, Forfmt, There is a case in which occasionally do not completion.
I think caused by plugin manager.
I will continue to debug

@zchee it seems to work perfectly for me :+1:

@svanharmelen Thanks for report :)

@zchee I think it would be good to set the default rank higher as the default 100. I'm now getting (sometimes) one or two other completion suggestions before the Go completion suggestions.
I know I can change it myself, but it seems a very logical default to me to set it to 1000 by default. Then people still have an option to change it if they do not like the Go completions to show on top.... It seems to make more sense to me.

@zchee I also just noticed that it still also suggest completions after typing the g:deoplete#auto_completion_start_length amount of characters. That turns out to be pretty annoying as it gives a whole big list of suggestions making it less useful then the old behaviour with just using deoplete.nvim.
With deoplete.nvim it would only call omni completions when the pattern was matched. I think this should work the same.

@svanharmelen Here is init.vim and sample code for debugging.
https://gist.github.com/zchee/61aa6347903cb3f41669

I also just noticed that it still also suggest completions after typing the g:deoplete#auto_completion_start_length amount of characters.

Yes,  I also just noticed.

That turns out to be pretty annoying as it gives a whole big list of suggestions making it less useful than the old behaviour with just using deoplete.nvim.

I've understood Your explanations. but, Sorry I could not grasp what case :(
Can you tell me what kind of case? or, Could you post sample Go code? :pray:

With deoplete.nvim it would only call omni completions when the pattern was matched. I think this should work the same.

For example, If use go-omnifunc-length_0-vim, it is the same as the state in which the g:deoplete#auto_completion_start_length to 0.
In this case, omnifunc always suggest when the pattern matches.
(I do not yet understand the vim script, So it is difficult to write 1 or more cases.)
This case the same as when using the go-deoplete-length_0-vim, I think that there is no problem in terms of pattern matches.
I'm sorry if I misunderstood.
WDYT?

I also just noticed that it still also suggest completions after typing the
g:deoplete#auto_completion_start_length amount of characters.

I think deoplete-go completion should only be triggered if the pattern matches. It should not be triggered after a certain amount of characters.
When using deoplete.nvim without deoplete-go it also works like that. It only triggers the omni source if the pattern maches. So this should work the same I think.

If I use these setting it works for me:
let g:deoplete#enable_at_startup = 1
let g:deoplete#sources#go = 'vim-go'
call deoplete#custom#set('go', 'rank', 1000)
call deoplete#custom#set('go', 'min_pattern_length', 1000)

I made min_pattern_length so long it will never trigger. But that feels like a hack. What do you think @Shougo?

@svanharmelen Oh, I understand all. Thanks.
The specification of omnifunc has you said method.
and, Certainly I said

we not necessary omnifunc.

In https://github.com/zchee/deoplete-go/issues/4#issuecomment-172412821.
But, deoplete.nvim and deoplete-go is not a substitute of omnifunc.
and, It is not intended to be realize the same behavior as omnifunc.
The purpose is to call in an asynchronous. and assist in editing the user.
I think whether to the same motion as the omnifunc is the thought of users.
I think that it is to solve by writing this note in README.md
===
If the user you want to the same motion as the omnifunc, set
call deoplete#custom#set('go', 'min_pattern_length', 1000)

===
WDYT?

I guess that would work... It works for me now :wink:

@svanharmelen I added notes in README.md.

@svanharmelen Merged


[3.0] Detector block side textures don't rotate properly

that is also the case with hay bales and thatch blocks and i couldnt find anything else


SPA usecase

How to init Slide on demand, i use turbolinks for SPA feel. Trying to get it work like that maybe ?

i have to reload the page so that it recognizes Splide. Then I just need a hint if you don't mind.

npm run dev, was causing that. thanks


Support VLANs in new Traffic Graphs (Dashboard)

The new Traffic Graphs Widget lacks VLAN support. Currently VLANs are displayed (in sum) in the name of the according physical interface.
It would be great to see each VLAN seperately.

Is this a regression or a feature request? :)

I guess it's a feature request, as I'm not that sure about the old version.
The new UI is definitely great! Much faster load time.. :)

tested https://github.com/opnsense/core/commit/8405ee77aa736cb850e2ec0a4f8fe41ee967634a on another box with VLANs, all looks good now.


Inject OpenAPI Introspection HTTP resource to the service

Description:
HTTP runtime part of the https://github.com/ballerina-platform/ballerina-standard-library/issues/1616

Sample service
import ballerina/http;

service /hello on new http:Listener(9090) {
    resource function get greeting() returns string{
        return "Hello world";
    }
}

Output of OPTIONS call to usual resource
curl -v localhost:9090/hello/greeting -X OPTIONS
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9090 (#0)
> OPTIONS /hello/greeting HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 204 No Content
< allow: GET, OPTIONS
< Link: </hello/openapi-doc-dygixywsw>;rel="service-desc"
< server: ballerina/2.0.0-beta.2.1
< date: Wed, 18 Aug 2021 14:09:40 +0530
<

Output of GET call to introspection resource
curl -v localhost:9090/hello/openapi-doc-dygixywsw
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9090 (#0)
> GET /hello/openapi-doc-dygixywsw HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< content-type: application/json
< content-length: 4956
< server: ballerina/2.0.0-beta.2.1
< date: Wed, 18 Aug 2021 14:06:19 +0530
<
{
  "root":"Node"
}

Output of OPTIONS call to introspection resource
curl -v localhost:9090/hello/openapi-doc-dygixywsw -X OPTIONS
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9090 (#0)
> OPTIONS /hello/openapi-doc-dygixywsw HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 204 No Content
< allow: GET, OPTIONS
< Link: </hello/openapi-doc-dygixywsw>;rel="service-desc"
< server: ballerina/2.0.0-beta.2.1
< date: Wed, 18 Aug 2021 14:04:50 +0530
<
* Connection #0 to host localhost left intact
* Closing connection 0

@chamil321 what bout the base path ?

@chamil321 what bout the base path ?

In this sample, the base path is /hello and the Link header will contain both base path + resource path
Link: </hello/openapi-doc-dygixywsw>

@chamil321 what bout the base path ?

Output of OPTIONS call to service base path
curl -v localhost:9090/hello -X OPTIONS
*   Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 9090 (#0)
> OPTIONS /hello HTTP/1.1
> Host: localhost:9090
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 204 No Content
< allow: GET, OPTIONS
< Link: </hello/openapi-doc-dygixywsw>;rel="service-desc"
< server: ballerina/2.0.0-beta.2.1
< date: Thu, 19 Aug 2021 13:47:29 +0530
<
* Connection #0 to host localhost left intact
* Closing connection 0


Uninstalling and installing package in AzureML notebook

I'm trying to run a notebook in AzureML that requires the transformers library with the Pytorch add-on.
So in my own terminal, I would run:
pip install transformers[torch]
How would I either:

Create my own environment
Port over an environment that I already have from the environments tab
Run %pip uninstall transformers and then %pip install transformers[torch]
Currently when I try to uninstall, it asks me if I want to proceed and since I'm in Jupyter, it just hangs.

Thanks

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

ID: 25d37573-7e5e-f808-2dce-9f5efc25c3bf
Version Independent ID: 08bd729f-fd87-ae90-4ae4-f6f47bc5a2f2
Content: Run Jupyter notebooks in your workspace - Azure Machine Learning
Content Source: articles/machine-learning/how-to-run-jupyter-notebooks.md
Service: machine-learning
Sub-service: core
GitHub Login: @AbeOmor
Microsoft Alias: osomorog

@matsuobasho
Thanks for your feedback! We will investigate and update as appropriate.

@matsuobasho
Thanks for your contribution. Please add your ideas in below link, so our production team can review it and update the same.
Ideas · Community (azure.com)


example blog:  error: unknown package in top-level dependencies: orionjs:froala

Trying to run v1.0, any idea why I'm getting this?

Is there at least a workaround?

simply remove that package from the .meteor/packages file

That error should not exist if you downloaded and added v1.0 of orion all the packages are there. @mraak did you do this?

I followed the instructions given by you in this thread: https://github.com/orionjs/orion/pull/81.
"everything is in there just download and run"
So this is what I did:
~/Projects/Code/orionjs → git clone https://github.com/orionjs/example-blog.git
Cloning into 'example-blog'...
remote: Counting objects: 395, done.
remote: Total 395 (delta 0), reused 0 (delta 0), pack-reused 395
Receiving objects: 100% (395/395), 50.52 KiB | 0 bytes/s, done.
Resolving deltas: 100% (177/177), done.
Checking connectivity... done.
~/Projects/Code/orionjs → cd example-blog/
~/Projects/Code/orionjs/example-blog(master) → git checkout v1.0
Branch v1.0 set up to track remote branch v1.0 from origin.
Switched to a new branch 'v1.0'
~/Projects/Code/orionjs/example-blog(v1.0) → meteor
[[[[[ ~/Projects/Code/orionjs/example-blog ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While selecting package versions:
error: unknown package in top-level dependencies: orionjs:froala
=> Your application has errors. Waiting for file change.

@mraak You must put the packages in the packages folder because orion 1.0 is not on atmosphere.
You must download the #81 branch and put all the packages in the packages folder of your app.
Look how @rwatts3 did it here https://github.com/rwatts3/example-blog-v1.0-beta

I will update the beta repo tonight with the latest updates from the 1.0 branch.  Keep in mind 1.0 is in final testing and will launch soon.

@rwatts3 So in your example-blog-beta, there's no need to manually copy packages?

Correct.  If you look at the repo you will see the packages are already there.

Ok, also great to hear 1.0 is nearly ready, any ETA?

Orion v1.0 is now released. follow the documentation at orionjs.org


Implement input/output streaming support

The PR adds support for Input/Output streams.
The implementation has a new type of MaksingState called "BufferedMaskingState". BufferedMaskingState is a wrapper around MaskingState, which got renamed to "ByteArrayMaskingState" as MaskingState now is an interface.
BufferedMaskingState reads chunks of size 8192 bytes from the provided input stream and buffers the data in ByteArrayMaskingState. In case the end of the current buffer is reached while the masker processes a JSON value, the current buffer gets extended and everything before the start of the current JSON value gets cut. In case the masker does not process a JSON value, the buffer gets replaced with the next one.
For writes, BufferedMaskingState flushes prepared replacement operations byte array into provided output stream. In case the data is flushed while the masker is still processing the current JSON value, everything after the start of the current value gets cut in the output byte array.
The PR adds an assertion to every test that the output of bytes API and streams API is equivalent. There is also a disabled test that creates a ~1GB file and asserts that the masker is able to process it with streams API without going OOM.
The PR also creates StreamsBenchmark JMH suite. Those should only be used to compare performance for different types of streams as they have a specific JMH setup which has some timing measurement implications.

Without looking much into the changes in the PR

The implementation has a new type of MaksingState called "BufferedMaskingState". BufferedMaskingState is a wrapper around MaskingState, which got renamed to "ByteArrayMaskingState" as MaskingState now is an interface.

why even do this distinction? The byte array can be always wrapped into a ByteArrayInputStream as input and ByteArrayOutputStream as output and processed in the "streaming mode". I wouldn't keep two separate implementations of MaskingState unless there's a huge performance hit with the byte array wrappers.

Without looking much into the changes in the PR

The implementation has a new type of MaksingState called "BufferedMaskingState". BufferedMaskingState is a wrapper around MaskingState, which got renamed to "ByteArrayMaskingState" as MaskingState now is an interface.

why even do this distinction? The byte array can be always wrapped into a ByteArrayInputStream as input and ByteArrayOutputStream as output and processed in the "streaming mode". I wouldn't keep two separate implementations of MaskingState unless there's a huge performance hit with the byte array wrappers.

Streaming mode turned out to be more complex than just wrapping the byte arrays into ByteArrayInputStream/ByteArrayOutputStream.
BufferedMaskingState is a wrapper which is primarily responsible for bufferization. Essentially it reads the next byte array from the stream and adjust the pointers in the masking state (i.e. currentIndex and currentValueStartIndex) while taking care of nuances (such as if the masker is currently looping through a JSON value).
Also I had an idea that someone will pass exceptionally long PipedInputStream or FileInputStream that could not be kept in memory. The current implementation handles them fine, there is a disabled test "LargeStreamTest" that creates 1GB json file and asserts that the masker is able to process it.

Without looking much into the changes in the PR

The implementation has a new type of MaksingState called "BufferedMaskingState". BufferedMaskingState is a wrapper around MaskingState, which got renamed to "ByteArrayMaskingState" as MaskingState now is an interface.

why even do this distinction? The byte array can be always wrapped into a ByteArrayInputStream as input and ByteArrayOutputStream as output and processed in the "streaming mode". I wouldn't keep two separate implementations of MaskingState unless there's a huge performance hit with the byte array wrappers.

Streaming mode turned out to be more complex than just wrapping the byte arrays into ByteArrayInputStream/ByteArrayOutputStream. BufferedMaskingState is a wrapper which is primarily responsible for bufferization. Essentially it reads the next byte array from the stream and adjust the pointers in the masking state (i.e. currentIndex and currentValueStartIndex) while taking care of nuances (such as if the masker is currently looping through a JSON value). Also I had an idea that someone will pass exceptionally long PipedInputStream or FileInputStream that could not be kept in memory. The current implementation handles them fine, there is a disabled test "LargeStreamTest" that creates 1GB json file and asserts that the masker is able to process it.

Now it occured to me that I could have used BufferedInputStream to make the implementation easier, let me try it.

@gavlyukovskiyt to elaborate on the motivation to create a separate BufferedMaskingState implementation. Initially I tried to implement the streaming mode inside MaskingState, but there were 2 nuances.
The first and the main nuance is the random access of the "message" byte array. There is logic that arbitrarily moves the pointer along the byte array including logic in KeyMatcher trie. The only way to achieve random access in input streams is to use mark/reset/skip methods, but rewriting every byte array random access in these methods turned out to be more cumbersome than I expected (maybe I did not try hard enough though).
The second nuance is code clarity. Every input stream method declares that it throws IOException, so handling it in the same class makes the code in MaskingState (and in KeyMatcher) almost incomprehensible.

Great work! Adde a couple of comments. I think we'll need some more tests to make sure every possible scenario with buffer operations are covered sufficiently.
Also, file benchmarks look a bit sus
StreamTypeBenchmark.jsonMaskerStreams                                        N/A         N/A         1kb          N/A                     N/A                   N/A    ByteArrayStream     ByteArrayStream  thrpt    4    393902.826 ±    13635.863   ops/s
StreamTypeBenchmark.jsonMaskerStreams                                        N/A         N/A         1kb          N/A                     N/A                   N/A    ByteArrayStream          FileStream  thrpt    4      4326.934 ±      499.007   ops/s
StreamTypeBenchmark.jsonMaskerStreams                                        N/A         N/A         1kb          N/A                     N/A                   N/A         FileStream     ByteArrayStream  thrpt    4     89939.494 ±      499.991   ops/s
StreamTypeBenchmark.jsonMaskerStreams                                        N/A         N/A         1kb          N/A                     N/A                   N/A         FileStream          FileStream  thrpt    4      5089.371 ±     2363.523   ops/s

Is it because of flushing on every replacement? It would be nice to also update BaselineBenchmark with simply writing a json into a file without any masking to see how it compares.
Also not sure where the difference between StreamTypeBenchmark.jsonMaskerStreams and JsonMaskerBenchmark.jsonMaskerByteArrayStreams is coming from:
JsonMaskerBenchmark.jsonMaskerByteArrayStreams                           unicode       false         1kb          N/A                     0.1                   N/A                N/A                 N/A  thrpt    4    265071.377 ±     4694.735   ops/s

both are 1kb jsons, but throughput is 265k vs 393k, is it because of different masking options?

Removed the flushing on every replacement operation and created a basline benchmark for writing a json into a file. Let's see how it compares now.
As to ByteArray streams comparisons, StreamType benchmarks always have jsonPath enabled. From the most recent run, the benchmarkss look similar:
JsonMaskerBenchmark.jsonMaskerByteArrayStreams                           unicode        true         1kb          N/A                     0.1                   N/A                N/A                 N/A  thrpt    4    334683.542 ±     4351.616   ops/s
StreamTypeBenchmark.jsonMaskerStreams                                        N/A         N/A         1kb          N/A                     N/A                   N/A    ByteArrayStream     ByteArrayStream  thrpt    4    335748.850 ±    10837.677   ops/s

Discussion summary:

Create ADR to cover streaming decision

buffer extension
max of 50k characters per token
explain what a token is
min buffer size == 5 (due to jumping)
transferring the remaining buffer after end of the outmost JSON
when we need to extend the buffer while we're inside the token - we apply speculative optimization of transferring the token to the beginning of the buffer instead of extending the buffer

Change all tests to always use the new method that checks both byte array and streaming APIs


[SUPPORT] How to do Schema Evolution with Apache Flink DataStream API when doing CDC?

I have an Apache Flink application, that is consuming directly from a database using Flink CDC Connectors, however, I am not able to find any documentation on how to manage when a table schema evolves, when writing to Hudi. The only Apache Flink Sink that is showed in the documentation is the Hoodie Pipeline builder and its for rowData.  Is there an Avro Sink?
How could one build this, so the Flink Application doesnt have to be stopped and is able to dnamically evolve schema in the hudi tables??

What kind of schema evolution usecases you may have, like common usecases like adding a new field should be automatically supported with new write.

Do you have an example?   Would this only work for adding a new field, or could it work as well by modifying a column type?

Yes, It should ideally work if the data type is backward compatible.

Currently, you should stop the streaming job and execute the alter table cmd with spark then restart the job.

And also modify the schema in rowdata or capture the schema from a schema registry and then use it in the sink?   Wondering if there is any other writer that could be helpful here, more than the hoodie pipeline sink

@danny0405

any updates on this?

No automatic schema evolution for streaming writer now, the limitation is from the Flink engine, the Flink table API already assumes constant schema for all the records there, so for the pipeline itself, the user needs to restart it manually when the schema change is detected.

Then how is Apache Paimon being able to do it now?

Paimon does not do it, it just detect the schema when the first time it is started.

With the MySQLSyncDatabaseAction they claim the following:Currently supported schema changes includes:
Adding columns.

Altering column types. More specifically,
    altering from a string type (char, varchar, text) to another string type with longer length,
    altering from a binary type (binary, varbinary, blob) to another binary type with longer length,
    altering from an integer type (tinyint, smallint, int, bigint) to another integer type with wider range,
    altering from a floating-point type (float, double) to another floating-point type with wider range,

are supported.

So i am wondering how we would be able to do the same with Flink Hudi?  Or at least the steps on how to manage if there is a schema change from the database?
Any documentation you can provide or example?

Or if using a schema registry could help?


ARROW-11358: [Rust] Add benchmark for concatenating small arrays

This is a common usecase in DataFusion, for coalescing & hash aggregates.

could you rebase?

could you rebase?

@jorgecarleitao done

@jorgecarleitao done


Why wasn't multicall merged into the main branch?

I have been looking for a way to use multicall. I couldn't find it in the main branch until I saw "dani/multicall." Why isn't it supported?

Because it's not complete, or any more work has been put into it yet.


Notification when specific user enters hubben

It would be nice if I could be notified when a specific user enters the hubb. This could be done by irc, mattermost or mail. This would offset the heavy load on hubbit since I don't have to poll it all the time.

I think this just would worsen the "stalker" aspect of the app. I can't imagine that you polling the endpoint would overload the server :)

I would argue that this is the main feature of the app (check if someone is there that you wan't to meet). Also if a lot of people poll the server for changes this will result in a small DDoS.


Restify req.params is empty

Swagger.yaml
  /basket/products/{productId}:
    x-swagger-router-controller: basket-controller
    delete:
      description: Removes product from a basket
      operationId: removeProduct
      parameters:
        - name: productId
          description: Product Id
          in: path
          type: string
          required: true
      responses:
        "200":
          description: Success

Controller:
    function removeProduct(req, res, next) {
        console.log(req.params); // outputs {}
    }

Expected to req.params to be { productId: <product id> }.
Am I not using it right? Using Restify.

First, put your x-swagger-router-controller under the http operation (delete).
Next, you should have res.params['productId'].value as the value being passed in.

First, put your x-swagger-router-controller under the http operation (delete).
Doc says to put it there.

Next, you should have res.params['productId'].value as the value being passed in.
res is a response object, it doesn't have params property on it. Request object has params property, but it's empty.

Any updates on this? It is a terrible bug.

Okay, so it tuns out that these params are sitting in req.swagger.params.<param>.value. Why not assign them to req.params?

Please report this with bigger  priority!

I as well have hit this issue. I was able to use fyodorvi's work around for the moment.

Also use fyodorvi's workaround as a temporary solution. Any progress on fixing this bug?

Also use @fyodorvi 's workaround as a temporary solution. Any progress on fixing this bug?


Quote the value of .Values.namespace.single in helm templates

Problem
We encountered an error when trying to deploy a  single-namespace instance of Ambassador via the helm chart.
values.yaml:
...
namespace:
  single: true
...

Error:
bash> helm install datawire/ambassador --name ambassador-public  -f ambassador.yaml
Error: release ambassador-public failed: Deployment in version "v1beta2" cannot be handled as a Deployment: v1beta2.Deployment: Spec: v1beta2.DeploymentSpec: Template: v1.PodTemplateSpec: Spec: v1.PodSpec: Containers: []v1.Container: v1.Container: Env: []v1.EnvVar: v1.EnvVar: Value: ReadString: expects " or n, but found t, error found in #10 byte of ...|,"value":true},{"nam|..., bigger context ...|":[{"name":"AMBASSADOR_SINGLE_NAMESPACE","value":true},{"name":"AMBASSADOR_ID","value":"default"},{"|...

Workaround
We were able to deploy when double-quoting the value in values.yaml:
namespace:
  single: "\"true\""

Solution
Reading through the code, we saw that the value of the environment variable in the deployment and daemonset templates was not being quoted as other, similar values were.  This PR corrects this disparity by quoting the value.

Taking into the 0.40 train


Ability to fade the edges

It will be nice to have the ability to fade the edges (always or wether it's scrolling or not)
I can do a new PR if you like the idea, but for this, the widget has to be rebuild before and after each pause.
I'm also planing on use the plugin fading_edge_scrollview for this, so let me know.
Thanks

here is the PR : #30

Sure, sounds good to me.
I don't think rebuilding after every round will have a big performance impact, so that should be fine.


chore: upgrade to go1.21; refactor and support better go modules

@coreybutler what's ur take on the changes i m proposing. Its a wip.
FYI: It would be great to have contributor access for testing the changes.
My idea is to support go install github.com/coreybutler/nvm-windows@latest which is not possible at the moment!!!

While I appreciate the enthusiasm, I don't see the point in installing a Node.js version manager with go install.
I do like the idea of moving to Go modules, but seeing as this project is nearing EOL (see Runtime), this also feels like a change that won't return enough value on the effort.
NVM4W is in maintenance mode while we complete Runtime, so I don't want to introduce a refactor.
I appreciate what you've done. You've proposed good concepts (leveraging modules, slog, go work, etc)... it's just bad timing for the project.


[terra-search-field] Migrate Docs to terra-core-docs

Summary

Migrate Docs to terra-core-docs

Closes #
Deployment Link

https://terra-core-deployed-pr-#.herokuapp.com/
Testing

Additional Details

Thank you for contributing to Terra.
@cerner/terra

https://github.com/cerner/terra-core/blob/search-docs/packages/terra-search-field/package.json#L33-L34 can you check if these dependencies are used only for doc purposes and remove it in case yes ?

https://github.com/cerner/terra-core/blob/search-docs/packages/terra-search-field/package.json#L33-L34 can you check if these dependencies are used only for doc purposes and remove it in case yes ? #

Both dependencies are used for the search button.


Increment the Commissioner Session ID when the Leader resigns an active Commissioner

According to the specification, when the Leader resigns an active Commissioner, the Leader must remove the Border Agent Locator and Steering Data from the Commissioner Dataset, and increment the Commissioner Session ID. So we need to keep the Commissioner Session ID in the Commissioning Dataset even if there is no active Commissioner.
Some Harness changes expose this issue, and fail Certification test Leader_8.3.1, this PR helps to repass it.

Current coverage is 73.88% (diff: 0.00%)

Merging #1010 into master will decrease coverage by 0.07%

@@             master      #1010   diff @@
==========================================
  Files           125        125
  Lines         18035      18039     +4
  Methods        2512       2513     +1
  Messages          0          0
  Branches       2180       2180
==========================================
- Hits          13338      13328    -10
- Misses         4019       4032    +13
- Partials        678        679     +1

Powered by Codecov. Last update 5e61cc2...33f3d1b


Is it possible to adjust timezone?

Hi, my location have entered daylight saving time for a while, but I only just noticed that the timestamps are still in winter time (1 hour behind). Is it something that can be adjusted? Thank you very much.
Just tried a few time functions, they all seemed to return the correct time. Screenshot:

It should display whatever time your browser thinks it is locally. Did your try closing your browser and reopening?

@mlucool Thank you very much for your enlightening comment. I did a little bit of research, and think I have found the problem.
Firefox's resistFingerprinting will automatically fix browser timezone to UTC time, and although I'm on beta version with setTZtoUTC=false, it somehow didn't work. I have restarted the browser and my system a few times after the first post, no luck.
Just had a quick look at the source code of this repository. I am not familiar with TypeScript at all, but my intuition is that it is not possible to get system time rather than browser time. Please correct me if I am wrong. In that case, some kind of adjustment option will be greatly appreciated.


Crash inside object_tracker

SDK <IP_ADDRESS>

Obj<PHONE_NUMBER>000000 Loc 2751 Msg 364905094 ParameterValidation vkUpdateDescriptorSets(): if pDescriptorWrites[0].descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, pDescriptorWrites[0].pTexelBufferView must not be NULL. The spec valid usage text states 'If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER or VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, pTexelBufferView must be a pointer to an array of descriptorCount valid VkBufferView handles' (https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-00323)
Exception thrown at 0x000007FEAB822FD4 (VkLayer_object_tracker.dll) in UE4Editor-Win64-Debug.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

It will crash here on UpdateDescriptorSets() trying to dereference pTexelBufferView when it's NULL.

skip |= ValidateObject(device, pDescriptorWrites[idx1].pTexelBufferView[idx2], kVulkanObjectTypeBufferView,
false, VALIDATION_ERROR_15c00286, VALIDATION_ERROR_15c00009);

So are you saying that for a descriptor of type UNIFORM_TEXEL_BUFFER or STORAGE_TEXEL_BUFFER, you pass NULL for pTexelBufferView and the layers crash?  If so, before the crash do you see an error message from ParameterValidation explaining that pTexelBufferView must not be NULL?

Yes you are correct.


A non-trivial view layout causes Xcode UI test recording to fail

Version 0.24
iOS

When recording Xcode UI test actions for react-native components for any view that is non-trivial (has at least a few nested components) Xcode crashes because of the length of the accessibility labels being generated.
The accessibility labels are generated recursively: https://github.com/facebook/react-native/blob/master/React/Views/RCTView.m#L83-L96 , is there a possibility of not making each parent view contain all of it's subviews accessibility labels?
Disabling the recursive generation does prevent the crash.

Im suffering with this too, in a simple form i get a page of texts on a single tap after recording, and the item select helper shows a huge number of elements to select

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/a-non-trivial-view-layout-causes-xcode-ui-test-recording-to-fail
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.

Any word on this? i checked @mkonicek link and there's no activity on there. This issue makes ui recording impossible, @daniel-beard how did you disable the recursive generation?

Still a problem.


Is it possible to run the code with SLURM ?

Hi Developer,
Thanks for sharing the great work.
I would like to run the code on HPC env. Is it possible to run the code with slurm command?
Any adivice or suggestion will be greatly appreciated.
Thanks

Since I assume it is used in a container (such as Singularity) and thus exprorer_msmd should not submit a job. Alternatively, I made a wrapper mock on slurm branch.
python slurm_wrapper.py example/tmp.yaml

It submit jobs which contain single run per job (single GPU).
Now it uses singularity (hard-coded in slurm_wrapper.py) and it should be switched with an argument. Settings for slurm also.

Note that it submits jobs but it will not wait for them to finish.

Thanks for prompt reply. LGTM.
I'll try to use it.
Best,
Taka


Remove a tool tip ?

How to remove a tool tip ?
tryied with View.INVISIBLE but that didnt worked

ok it did worked with View.INVISIBLE somehow but ther's no other way to do it ?

What are you trying to accomplish? You could try to get the tooltip's parent view and then remove the tooltip via ViewGroup#removeView

Thanks in the mean while im using SetVisibility(View.INVISIBLE) .
I'll try removeView later on if it wont work :)


Use bull v2

Affixes to next major version of bull
Drops support for node <= 4.2
Fixes tests & CI

OK this is quite a big change so it might require some time to test & review, I will probably get to it the next few days

Well the intention was really to stabilise master, which is currently broken in CI and requires bull via git, which may include breaking changes, because it's not fixed to any major version
Sent from my iPhone

On 14 Dec 2016, at 15:41, Evan Huang<EMAIL_ADDRESS>wrote:
OK this is quite a big change so it might require some time to test & review, I will probably get to it the next few days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

So fyi, master is already pulling in bull v2, because that is what is on the latest commit to the bull repo

On 14 Dec 2016, at 15:41, Evan Huang<EMAIL_ADDRESS>wrote:
OK this is quite a big change so it might require some time to test & review, I will probably get to it the next few days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@evanhuang8?

Bump.

+1

@evanhuang8?

So to summarise, currently this repo is not pointing to any specific version of bull right now. That means anyone trying to use it will pull in an unsupported version. if you merge this PR it will put this project into a usable state, and then you can relax and other people can use it 😄
I'm cleaning up old PRs so I'm going to close this PR so if i don't hear back in a few days i'll close this


implement off-ramp in METANET

Hi,
I implemented off-ramp in METANET. Could you take a look at?
I think the condition (9) in the network valid check function needs to be removed.
https://github.com/FilippoAiraldi/sym-metanet/blob/2bedf265ee99c921213454047729b28273b463ce/src/sym_metanet/network.py#L500-L506

Hi @woodwm,
I took a look at your implementation of the off-ramp and pushed some new modifications to your pull request branch. Would you be so kind to take a look at them and see if they make sense to you as well?
In particular

I reworked condition (9) of Network.is_valid: if a node has exiting links and a destination, this must be an off-ramp
Node.get_downstream_density made sense to me, and I just refactored it to be a bit clearer
I made heavier modifications for Node.get_upstream_speed_and_flow. Your implementation required all destinations to have a get_flow method. While I understand that it is correct, I think adding an assertion clarifies this requirement. Moreover, the DestinationEngine.get_offramp_flow method was a bit unnecessary in my opinion, as it achieves the same as the NodesEngine.get_upstream_flow. I also expanded the OffRamp.get_flow to support different scenarios

Hi @woodwm,
thanks for the answer, and good question on the density. I also agree that not many papers explain this point clearly (at least, the ones that I used as references), so I do not have a definite answer.
I sort of understand your suggestion, and I have some points to address.

I have a counter-example that you may or may not agree with. Consider a very simple network with a single node, as below.

This node has one incoming link L_in, one exiting link L_out, and an off-ramp D. Suppose the turn-rate of the exiting link L_out is 0, and the turn-rate of the off-ramp D is 1, i.e., all the incoming vehicles from L_in are leaving the highway via the off-ramp D.
Now, intuitively speaking, I would expect the density of D to be equal to the density of L_in, and the density of L_out to be 0 (since no vehicle is turning into L_out). However, if we follow your reasoning, "the density of the off-ramp should be the density of first segment in the other exiting link", implying that the density of both D and L_out are 0.
Does this counter-example make sense, or am I overlooking something?

equation A28 from your image describes the dynamics of the density of an out-link. I admit that  this is something that I did not quite take into consideration when building the package, and I am not sure it would be easy to implement

A minor thing, but how would you address the case of a node with an off-ramp and multiple exiting links?

I think your mentioned case is considered in the condition 3 as well. When the turn rate of $L_{out}$ is 0, it is the same as there is only one exit link and the density of the off-ramp should be the same as the last segment of $L{in}$, and the anticipation term in the link speed update equation is 0. This is the same as a normal destination node.
I think no need to implement equation A(28). The currently implemented downstream boundary conditions are good and enough.
I am also not sure how to set the density of off-ramp when there are multiple exit links except for the off-ramp. My current think is that the density of the off-ramp is used to calculate the virtual density in the case of multiple exit links (including the off-ramp). The idea is that the density of the off-ramp should not change significantly the virtual density.
$$\frac{\sum {\rho_{out}^2} + \rho_{off}^2 }{\sum{\rho_{out}} + \rho_{off} } = \frac{\sum {\rho_{out}^2} }{\sum{\rho_{out}} }$$
Then, we have
$$\rho_{off} = \frac{\sum {\rho_{out}^2}}{\sum{\rho_{out}}}$$
What do you think on this?

Hi @woodwm,
You are right, I did not pay enough attention to the third condition!
Regarding the case with one off-ramp and multiple exiting links, the only equation that came up in my mind is also the virtual downstream density $\rho_{off} = \frac{\sum {\rho_{out}^2}}{\sum{\rho_{out}}}$. It is unclear how one could otherwise compute it.
Other solutions that I can think of are

we check in Network.is_valid that every node with an off-ramp has at most one exiting link, so that we don't have to address the issue of multiple exiting links
similarly to congested destinations, we define the downstream density offered by an off-ramp as a user-defined value. At this point, it is up to the user whether to set this value high (emulating a congested off-ramp) or low (small anticipation term in the velocity update)


Update wiki

Titles aren't parallel, making it hard to scan for the page you need.
Don't need to update cli_app.dart manually any more, per https://github.com/dart-lang/stagehand/pull/500/files#r185008045.

I think the cli_app.dart change has been made everywhere; I decided not to change page names since that'll change URLs.


gh classroom clone student-repos crashing with "panic: runtime error: index out of range [1] with length 1"

I'm new to GitHub classroom CLI.  It worked flawlessly for the first two assignments, but the third and fourth assignments crash when I try to clone them using gh classroom clone student-repos.  (The fifth worked fine, oddly.)  It doesn't matter if I choose from the menu or explicitly access the assignment by its id. using -a.
What happens is that it clones some number of them but then crashes with a peculiar error:
panic: runtime error: index out of range [1] with length 1
It always crashes in the same place for a particular assignment, but one assignment clones 19 before crashing and the other only clones 4.

Update:
The line that throws the error is this (in pkg/classroom/classroom/go):
return strings.Split(gr.FullName, "/")[1]
Inserting a Printf, I find that the error is thrown when gr.FullName is empty.
I'm not sure why this is, but it seems like it may have to do with students who have accepted the assignment but have not pushed it.
Anyway, I was able to insert an if statement into student-repos.go to simply ignore this repository if the name is missing or malformed.  The following would be the new lines 93 to 107 of student-repos.go.  Perhaps later I'll figure out how to contribute this.
				if len(strings.Split(acceptAssignment.Repository.FullName, "/")) > 1 {
					clonePath := filepath.Join(fullPath, acceptAssignment.Repository.Name())
					if _, err := os.Stat(clonePath); os.IsNotExist(err) {
						fmt.Printf("Cloning into: %v\n", clonePath)
						_, _, err := gh.Exec("repo", "clone", acceptAssignment.Repository.FullName, "--", clonePath)
						totalCloned++
						if err != nil {
							log.Fatal(err)
							return
						}
					} else {
						fmt.Printf("Skip existing repo: %v use gh classroom pull to get new commits\n", clonePath)
					}
				}
			}

I made my contribution a few months back (#59) and may be able to help you move yours along.

[x] get Go tools on your machine
[ ] fork this repo on your machine
[ ] make your changes
[ ] create a commit and sync your changes
[ ] create a pull request referencing this issue (with fixes #69 in the title or description)

Looks like you have Go all set on your end. So your first item is done.
Did you make a fork of this repo when you made your changes or simply a clone? If it was a clone, you cannot sync your changes back. Just make a fork of the repo, apply your changes in the forked repo then commit, sync and PR (pull request) from there.
If you don't know how to make a PR, the easiest way is on the GitHub website after you've synced your commit. There will be a big, inviting banner with a big, unavoidable button 😃 .
Once you've made the PR, the maintainers of this extension are pretty friendly about guiding you along the process.


Update Distribution Edit to Use New Theme

Theme update
We're upgrading our bootstrap theme to use a bootstrap 4 template and need to upgrade the various pages in our site.
This issue is the update the app/views/distributions/edit.html.erb view file to use the new bootstrap theme. When submitting your PR please include a screenshot of the completed page!
If you get stuck please refer to the following pages have been done and can be used as a reference in the new theme:

app/views/requests/index.html.erb
app/views/distributions/index.html.erb
app/views/donation_sites/new.html.erb

As this is a work an progress and we can't go live until all the pages have been converted please submit your PR against the new_theme branch.

I'm working on this


chore: remove proof-of-concept cli

motivation mostly being that it adds way more nasty transitive deps to keep up to date


Could not open vault

After updating this plug in I could not open my vault. I checked the console and there were error messages related to it. I removed it from .obsidian and the vault loaded without a problem. I had 1.2.5

[image: image.png]
On Fri, 25 Nov 2022 at 08:42, Dion Tryban @.***> wrote:

Could you share the error messages? I haven't gotten this error.
—
Reply to this email directly, view it on GitHub
https://github.com/Trikzon/obsidian-frontmatter-links/issues/13#issuecomment-1326852354,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTR6N2GVIYG64IQWBZ2PR3WJ7OKNANCNFSM6AAAAAASKXSZRM
.
You are receiving this because you authored the thread.Message ID:
@.***>

This should be fixed in 1.2.6. If you still receive this error after updating, or have any more issues, please reopen this issue or create a new issue, respectively. :)

Many thanks.


Add aten::fused_adam, aten::fused_adamw

_fused_adam_
_fused_adam_.tensor_lr
_fused_adamw_
_fused_adamw_.tensor_lr

Please paste the test cases in the comments.

PASSED

test_torch_xpu.py::TestTorchDeviceTypeXPU::test_grad_scaling_autocast_foreach_True_fused1_AdamW_xpu_float32
test_torch_xpu.py::TestTorchDeviceTypeXPU::test_grad_scaling_autocast_foreach_True_fused1_Adam_xpu_float32

Only 1k LOC but split into 11 new files, is it the recommended way?

We are currently aligning with CUDA's file organization structure, and a more suitable organization will be discussed later.


fixes: content_type_detection_plus_aarch64_musl_so

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.313%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2282

Relevant Lines:
2345

💛  - Coveralls


[Event Change] Codeunit 7010 Purch. Price Calc. Mgt. - Function FindPurchLinePrice - Event OnAfterFindPurchLinePrice

Hey,
on Codeunit 7010 Purch. Price Calc. Mgt., function FindPurchLinePrice, we would like that event OnAfterFindPurchLinePrice has additional parameter PriceInSKU(Boolean).
Original publisher definition:
LOCAL [IntegrationEvent] OnAfterFindPurchLinePrice(VAR PurchaseLine : Record "Purchase Line";VAR PurchaseHeader : Record "Purchase Header";VAR PurchasePrice : Record "Purchase Price";CalledByFieldNo : Integer)

Changed publisher definition:
LOCAL [IntegrationEvent] OnAfterFindPurchLinePrice(VAR PurchaseLine : Record "Purchase Line";VAR PurchaseHeader : Record "Purchase Header";VAR PurchasePrice : Record "Purchase Price";CalledByFieldNo : Integer;PriceInSKU : Boolean)

Function code:
  CASE Type OF
    Type::Item:
      BEGIN
        Item.GET("No.");
        PriceInSKU := SKU.GET("Location Code","No.","Variant Code");
        PurchLinePriceExists(PurchHeader,PurchLine,FALSE);
        CalcBestDirectUnitCost(TempPurchPrice);
        IF (FoundPurchPrice OR
            NOT ((CalledByFieldNo = FIELDNO(Quantity)) OR
                 ((CalledByFieldNo = FIELDNO("Variant Code")) AND NOT PriceInSKU))) AND
           ("Prepmt. Amt. Inv." = 0)
        THEN
          BEGIN
            "Direct Unit Cost" := TempPurchPrice."Direct Unit Cost";
          END;
      END;
  END;
  OnAfterFindPurchLinePrice(PurchLine,PurchHeader,TempPurchPrice,CalledByFieldNo, PriceInSKU);// <--Added parameter
END;

Thanks in addition.
Best regards

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Bootstrap v3.3.4

http://blog.getbootstrap.com/2015/03/16/bootstrap-3-3-4-released/
As always, big thanks!

@cvrebert On it, thanks!

Released.


drivers: dma: Add infineon xmc4xxx dma support and async uart

Adds dma drivers and async uart for xmc4xxx SoCs.

Results of tests/drivers/uart/uart_async_api/

rebased to see if CI is fixed on main

ping

I updated the uart driver to handle interleaving async and polling api.
This case isn't covered in uart_async_api test (It is covered in uart_mix_fifo_poll test, but this needs counter drivers which is not implemented for xmc yet).
I also updated how dma errors are handled. I noticed that most existing async driver implementations ignore dma errors. The same approach is now used in this PR (instead of aborting async transmit/receive after an error).

@talih0 can you rebase please?

@talih0 can you rebase please?

Yes sure, just rebased to fix the merge conflicts.


Start Translating faq-build.md & faq-functions.md

Work in progress ....

Hi @AbdelkhalekESI, any updates?

@iRayan7 Work In progress !

Hi @AbdelkhalekESI, any update?

Hello @AbdelkhalekESI, any updates on this? Please reply before the end of this week or I will have to re-assign these pages. Thanks.

Hey @iRayan7 , i will take the pages of @AbdelkhalekESI if there is no response ..

@3imed-jaberi Go for it 👍closing this PR.... Please open up a new PR and assign your self in #1. Thanks.


Remove refresh of the editor after login

To Reproduce
Steps to reproduce the behavior:

Enable identity in experimentation
Editor refreshes
Now login with microsoft account
After 3 seconds editor refreshes again to show the projects.

Remove refresh after login

The refresh should only occur once per device transfer. So if you're switching between devices a lot, it's a pain. But if switching is rare, it shouldn't appear.
If you see refreshes more often, it's a bug.

The refresh should only occur once per device transfer. So if you're switching between devices a lot, it's a pain. But if switching is rare, it shouldn't appear.
If you see refreshes more often, it's a bug.

It refreshes every time you login on the same device

It refreshes every time you login on the same device

Sorry I wasn't precise: there is a refresh that happens upon log in, and there is a refresh that happens after a cloud sync (which should only happen once per device switch).
Is it the refresh on log in is the one you want to remove here?

Sorry I wasn't precise: there is a refresh that happens upon log in, and there is a refresh that happens after a cloud sync (which should only happen once per device switch).
Is it the refresh on log in is the one you want to remove here?

Yes refresh on logon. Refresh on experimentation is unrelated to identity.

Yes refresh on logon. Refresh on experimentation is unrelated to identity.

We can remove the refresh after cloud sync if it's just a workaround to get the UI to update.

We can remove the refresh after cloud sync if it's just a workaround to get the UI to update.

Refresh on experimentation is unrelated to identity.

What do you mean by this?

Refresh on experimentation is unrelated to identity.

What do you mean by this?

Editor refreshes when you select an experiment in the experiments dialog.

Editor refreshes when you select an experiment in the experiments dialog.

Fixed


Bump to v3.1.1

Description
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Can we get https://github.com/workos/workos-node/pull/820 landed for this version?

@maxdeviant Was going to release that in v3.2.0. I wanted to leave v3.1.1 as an option since the bug fixed here is pretty gnarly.


Will finetune scripts be provided?

Please refer this repo for more details. DeepSeek-LLM/finetune/finetune.py at finetune_patch · zwd973-deepseek/DeepSeek-LLM (github.com)
It will be merged soon.


On the ja-jp page, the function has been translated and it is quite difficult to read

The function has been translated and it is quite difficult to read.
Please fix it because it is very useless.

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

ID: afe9fac7-f56e-31c7-ef09-bc0baa5570ea
Version Independent ID: 2025e0c3-918e-612a-3138-ae5617adb809
Content: Blank, Coalesce, IsBlank, and IsEmpty functions - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/functions/function-isblank-isempty.md
Service: powerapps
GitHub Login: @gregli-msft
Microsoft Alias: gregli

@MakotoMaeda-ZEE I have passed this feedback to the LOC team. Closing this issue.

@DavidPrio Can you please take a look at it.


Improve the testing framework and code coverage

This is also somewhat related to #12 but testing of functionality with pytest and code coverage need to be improved. I might also implement some GitHub actions for automating this, as well as black formatting.

To integrate some GHA into this repo, I'll need access to the repo settings to add secret keys (or get someone else to do it). If this is something we want to do (e.g., for auto code coverage, formatting, testing, etc) we can discuss.

you should have admin privelages now..

Confirmed thanks! Will integrate some CI next week!

All done! Integrated a little bit of CI with GitHub actions for code formatting and testing. Test reports are uploaded to codecov. CI is triggered on push/pull request to master branch.


How to inject properties from consul into docker containers

How do I get properties, eg. database urls, from consul, injected into my docker container at startup?

 Your marathon json file will include something like the following:

    "env": {
      "MYSQL_USER": "user",
      "MYSQL_PASSWORD": "pwd",
      "MYSQL_ROOT_PASSWORD": "secret"
    }

You can use consul-template in your container to query values in Consul K/V or consul service discovery. We have an example container that includes a consul-template binary at https://github.com/CiscoCloud/haproxy-consul, and an example configuring zookeeper is at: https://github.com/CiscoCloud/docker-zookeeper

There is also a project called envconsul that can set environment variables via Consul: https://github.com/hashicorp/envconsul


Add a way to disable port reservation

We've increased the default rlimits to allow Podman to hold many ports open without hitting limits and crashing, but this doesn't solve the amount of memory that holding open potentially
thousands of ports will use. Offer a switch to optionally disable port reservation for performance- and memory-constrained use cases.

LGTM

bot, retest this please

One small question otherwise LGTM.
Looks like tests are being flakey again.

@rh-atomic-bot r=TomSweeneyRedHat

Damn, I was hoping this wasn't going to need more testing

@rh-atomic-bot retry

Merging manually


Pt 158659252 limit block insertion

https://www.pivotaltracker.com/story/show/158659252

Marking as WIP - should be updated on top of #1529

Rebased on master and changed implementation to stricter limitations as discussed in Berlin.


Adding in a healthcheck endpoint for the call to the tone analyzer tone_chat endpoint

Need to test whether the demo can make a successful request to the Tone Analyzer tone_chat endpoint.

Probably want     headers: { "X-Watson-Learning-Opt-Out": true   } to be able to filter these out from the service logs.

We might want something like the upcoming Conversation /logs endpoint API, where we document the request payload, the response payload, request timestamp, response timestamp, for each call.
Something like:
/health_check: { "logs": [ {"request": {}, "request_timestamp": "...", "response": {}, "response_timestamp": "..."} ]}


Minor documentation change

Changed a small hyperlink that was causing a problem in the linter

Hey @jianghaolu
Can you please merge?

@jianghaolu


[Delete] duplicate Postman

Site URL
https://www.postman.com/
Description of the above provided site

Category
Backend
Sub Category
Testing
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (optional)

Hi @rupali-codes can you please assign this issue to me?

@jasonmokk
You're assigned. Please raise a PR!

@JuanPabloDiaz
Done!


Broker fail behavior

Environment

Node version: 8.1.2
Kafka-node version: 2.2.2
Kafka version: 0.11.0

Configurations
Client config:
kafkaHost: "localhost:9092,
clientId: 'test-kafka-client-2',
connectTimeout: 1000,
requestTimeout: 60000,
autoConnect: true
Producer config:
requireAcks: 1,
ackTimeoutMs: 100,
partitionerType: 2
Consumer config:
kafkaHost: 'localhost:9092',
ssl: true,
groupId: 'kafka-node-group',
autoCommit: true,
autoCommitIntervalMs: 500,
fetchMaxWaitMs: 100,
paused: false,
maxNumSegments: 1000,
fetchMinBytes: 1,
fetchMaxBytes: 1024 * 1024,
maxTickMessages: 1000,
fromOffset: 'latest',
outOfRangeOffset: 'earliest',
sessionTimeout: 30000,
retries: 10,
retryFactor: 1.8,
retryMinTimeout: 1000,
connectOnReady: true,
migrateHLC: false,
migrateRolling: true,
protocol: ['roundrobin']
Problem
I am trying to write a server, which should wrap kafka-node library and work fine even if Kafka fails.
Currently there is a problem with consuming messages after broker recovery - multiple duplicates are presented.
Recently I had an idea that the problem is in offset. F.e. we have consumed 20000 messages, but last autoCommit happened on 17000th message. Then Kafka fails and after recovery offset is still on 17000th message, so consumer start reading from 17001th message.
I have decided to set autoCommit to false and commit manually with force: true after every message received.
Unfortunately even if I haven't touch kafka there are multiple errors in commiting just because request was timed out.
Also I tried to pause consumer on commit and resume it on successful commit, but nothing changed.
I tried to look through the commiting strategy in source code of consumerGroup and highLevelConsumer files too and found that autoCommit and commit use same function. Also I've found that it uses setTimeout with autoCommitIntervalMs.
I suppose that if there is no autoCommitIntervalMs presented in consumer config commit will be done asap, but autoCommitIntervalMs equals to 5000 by default, so the commit doesn't happen right after the call.

Could you please suggest some solution for problem with duplicating?

How does this kafka failure happen? Is there a way a easy way I could reproduce this?

I do it by myself using terminal.
It's just a simulation of Kafka fail.
I need my wrapper to work ok when Kafka fails.

PR #758 could fix this issue you're having.

@NikitaLiashenko did the latest release resolve this issue for you?

@hyperlink I haven't checked yet.
I'll do it in the nearest days.

@hyperlink
Looks like release 2.2.3 haven't fixed anything.
Let me explain the whole situation.
We are going to implement fault-tolerant wrapper on kafka-node module. What we are looking for is proper behavior when Kafka broker fails.
In our implementation we have something like message queue on produce and consume, cause we produce messages in batches and consume them one by one, then collect and return to outside code as batch.
Currently we want to handle situation when kafka broker fails and restarts properly.
We are trying to use autoCommit, but looks like there might be situation when messages we consumed, but commit was not sent to kafka, so offset was not updated.
Unfortunately we still see that our messages are duplicated. F.e. I've published 200000 messages recently and consumed 404014 messages instead.
We have also tried to do commit on every consume by typing consumer.commit(true, callback)  but looks like due to amount of messages kafka-node can't commit such many offsets, so we observe Refused after 30000 milliseconds error.
Could we please minimize time between commit call and actual commit somehow? I suppose this could solve problem with so many offsets to commit.
Could you please suggest some other solution which our team could use to solve such problem?
Thanks

Thanks for sharing your use case. It would be more helpful if you could provide some code examples and logs.

afaik kafka-node does not have a Refused after 30000 milliseconds error.  Can you post what the exact error is?

consumer.commit is just an alias for consumer.autoCommit and the call is throttled based on autoCommitIntervalMs. So it's not possible for the system to commit more often than what's specified by autoCommitIntervalMs. And autoCommit is automatically triggered after every fetch request.

@hyperlink
Here is our repo https://github.com/devicehive/devicehive-ws-kafka-proxy/tree/Splitting
In examples folder you could find server, consumer and producer.
Regarding strange error here is an error log by pino package.
{"pid":17928,"hostname":"nlyashenko","level":50,"time":1505998817040,"msg":"Request timed out after 30000ms","type":"Error","stack":"TimeoutError\n    at new TimeoutError (/home/nlyashenko/Projects/devicehive-ws-kafka-proxy/node_modules/kafka-node/lib/errors/TimeoutError.js:6:9)\n    at Timeout.setTimeout [as _onTimeout] (/home/nlyashenko/Projects/devicehive-ws-kafka-proxy/node_modules/kafka-node/lib/kafkaClient.js:384:14)\n    at ontimeout (timers.js:488:11)\n    at tryOnTimeout (timers.js:323:5)\n    at Timer.listOnTimeout (timers.js:283:5)","message":"Request timed out after 30000ms","v":1}
I've also tried to reduce autoCommitIntervalMs to 5ms, but got same error.
Thanks

Hi @hyperlink !
Is there any update on described issue? It blocks us from moving further with kafka-node integration.
Regards,
Tatyana

Sorry, I haven't had a chance to investigate this. Been busy at work and I don't know if I will have any time in the future.

Any updates on this one? I am also stuck with this issue

@arpitjain099 No updates from my side.


Alternative sources for RTL ODI DFP-34X-2C2

The supplied link in README.MD has 71$ shipping to my country, and the taobao link is dead.
I've found some alternatives but they don't look the same while still maybe being the same unit ?
Original link: https://www.aliexpress.com/item/1005003515662920.html
Alternative 1: https://www.aliexpress.com/item/4000537015384.html (says ODI DFP-34X-2C2 but doesn't seem to have bottom heatsink?)
Alternative 2: https://www.aliexpress.com/item/1005004580254846.html (does not have ODI marking but says XPON2.... on the third line like the original link does)
Alternative 3: https://www.aliexpress.com/item/1005004838420285.html (does not have ODI marking or bottom heatsink, but does say DFP-34X-2C2, confusingly the images have LuLeey watermark on them like they are from alternative 2 store)
Can you please tell me which of these is the "correct" realtek one with the fully supported firmware
Ebay would also work for me if it's available there...

You used that exact link ? That store changed it's name since i posted it hehe
Does it look like that ? with no XPON... in the serial and no bottom heatsink (little cubes pattern)
I was under the impression that those units have ZTE chipset and cannot run this customized firmware (which i need for setting HW_REV and 4-port bridge mode)

The best solution is to buy from an official dealer - HSGQ company.
https://detail.tmall.com/item_o.htm?id=654848544398

My device has a little cubes pattern - if it's really necessary I can take photos of the unit, but I'd have to disconnect it from my switch to make proper photos. It stays under 50 C under load without exceptional airflow.

i ordered the 2nd link, will show what it is when it arrives
its good to know yours has the cubes pattern on the bottom (and i assume ODI sticker on the top?, you can take a picture of both the cubes and the sticker without unplugging it i think), which just means the pictures the seller posted are wrong, and it is the correct unit regardless

LOL! So you clarify please! Do you need screws and cubes?
Or do you want the original ODI products?
I attach two screenshots from the websites of these two companies. As you can see for yourself, ODI and HSGQ are one and the same company!

They are essentially two divisions of the same company. The production division and the distribution division.

Thank you for the STICK note, it means that the one I bought from alternative 2, if it is the same as the seller pictures, would be STICK3V06. The pictures without the cooling cubes say PON STICK V1, which might not be what I want (but other poster said that he bought from that link and got the cubes version, so it is just the images that are inaccurate/show old version).

I assume that the type of stick design may depend on the availability of components at the time of production.
If you look at the official catalog, there are no additional cooling cubes at all.
Contact HSGQ via TMALL. Perhaps they can comment.

Here's what i got from "alternative 2" link, it has the ODI logo and XPON2 serial and is a STICK3V06 so i am satisfied.
https://images.sshnuke.net/2022-11-15_09-33-16_HFa6ZcWS2.png


Add Tweedie distributions to scipy.stats

Is your feature request related to a problem? Please describe.
The Compound Poisson Gamma distribution is often encountered in statistical modelling. It corresponds to a Tweedie distribution with power parameter between 1 and 2.
It would be nice to estimate the power parameter with MLE and to (efficiently) sample from these distributions.
Describe the solution you'd like
A new distribution in the stats submodule, e.g. scipy.stats.tweedie(x, power=, ..)
Describe alternatives you've considered
Sampling can be done by sampling from Poisson and Gamma distributions. There are also alternatives for MLE of the power parameter, see https://arxiv.org/abs/1609.03297, but those are also not easily implemented. An alternative is to use the tweedie package from R.
References
The hard part of an implementation is Wright's generalized Bessel function, see https://dlmf.nist.gov/10.46.E1.

@lorentzenchr thanks for your interest.
I think we're usually open to adding new distributions which are commonly used and Tweedie would match those criteria. If someone were to implement the Tweedie they'd need to implement a cdf, pdf methods in the class as well as rvs and usually a moment or stats method although I don't think that the moments/stats is a hard requirement.
On what is needed it may be helpful to look at the developer docs for adding a distribution:
http://scipy.github.io/devdocs/dev/contributor/adding_new.html#adding-new
and the general dev docs (dev setup etc):
http://scipy.github.io/devdocs/dev/contributor/contributor_toc.html
Second thing is that the arxiv paper you reference discusses a Tweedie regression (which uses a Tweedie distribution) and not the distribution itself. If you are interested in implementing a Tweedie regression that would usually be done over in the statsmodels package rather than here in SciPy.
Are you interested in implementing the Tweedie distribution?

statsmodels has Tweedie as a family in GLM for regression.
The problem with Tweedie is that the likelihood function pdf has no closed form expression. There are approximations, but the full, exact pdf has an infinite sum AFAIR.
I never looked for or at the cdf of Tweedie.

@rlucas7 Thanks for your reply. This issue is about the Tweedie distribution, not Tweedie regression, although the main usage may turn out to be support of Tweedie regression in downstream packages like statsmodels, scikit-learn, pymc3, etc.
I could try to give it a try in pure python, based on Series evaluation of Tweedie exponential dispersion models densities (https://doi.org/10.1007/s11222-005-4070-y).
I see 2 problems:

For 1<p<2, there is a point mass at zero. How to deal with this for an otherwise continuous random variable?
Wright's generalized Bessel function needs to be evaluated for the pdf. Should this function be exposed publicly in scipy.special? Maybe as separate PR?

@josef-pkt The exponential is an infinite sum, too:smirk:

@rlucas7 Thanks for your reply. This issue is about the Tweedie distribution, not Tweedie regression, although the main usage may turn out to be support of Tweedie regression in downstream packages like statsmodels, scikit-learn, pymc3, etc.

Ok, then in scope SciPy.
If the main usage is for downstream models it sounds like statsmodels already has something. @josef-pkt are there benefits or synergies here if distribution is implemented in Scipy?
I'm not sure the sole application is in regression models, I've used in in soils, horticultural, and oenology work and in my previous job in insurance (somewhat in former and extensively in the latter). There are uses in risk management outside of the regression case and in soils and horticulture outside regression.

I could try to give it a try in pure python, based on Series evaluation of Tweedie exponential dispersion models densities (https://doi.org/10.1007/s11222-005-4070-y).

IIUC that paper does not implement a Wright generalized Bessel function, rather they approximate the function via one of several ways, e.g. series truncation, Fourier (numerical) inversion via FFT, I think one of Dunn or Smyth's papers also does a saddlepoint approximation (which isn't good for density approximations if p is close to 1). While all those approaches may be useful to have, on a first implementation I'd say pick 1 approach and implement.

For 1<p<2, there is a point mass at zero. How to deal with this for an otherwise continuous random variable?

For univariate distributions there are 3 classes to inherit from, rv_generic, rv_continuous, and rv_discrete. The Tweedie type of distribution would best fit in the rv_generic, in general any distribution with a mixture of point mass and absolute continuity is a mixed distribution and fits into the rv_generic. Unfortunately, there aren't any of those distributions currently implemented (not that I'm aware if anyway so it might make sense to post this question on the scipy-dev email list too to get feedback from the other developers about how to approach. In particular, some of the requirements for implementation (e.g. rvs, cdf, pdf etc.) may be less stringent (or more) and would be good to get consensus there before you invest more efforts in approach.

Wright's generalized Bessel function needs to be evaluated for the pdf. Should this function be exposed publicly in scipy.special? Maybe as separate PR?

There are several cases of cdf or pdf implementations in scipy.special so that might be a good first step, implement the cdf or pdf as the wright generalized bessel function in special, then once that is merged implement tweedie in stats and call the function from special. You would probably need to implement an rvs method still and that would need either a cdf inversion (numerically) or some other specialized methods (once it gets to that point you could determine the best approach).
Either way though I'd recommend to post on the scipy-dev email list and get feedback from the rest of the stats folks to make sure they are in agreement. Some of them might have better ideas that I'm not thinking of at the moment which might help you so please start a thread there describing what you'd like to do and if people agree with approach and if they have recommendations.
Hope that helps.

are there benefits or synergies here if distribution is implemented in Scipy

Good implementation of distributions is always useful, especially if "special" experts help.
about statsmodels implementation:
For GLM regression, we actually don't need the likelihood function to estimate the mean parameters using iteratively reweighted least squares (IRLS). The power and variance parameters are estimated using some other methods.
We have an approximate loglikelihood function (based on saddlepoint approximation IIRC), but I think it's not very accurate especially for the variance and power parameters.
One of the maintainers/contributors also had another implementation which is also just approximate, IIRC.
(I also have some older code for poisson mixtures,  compound Poisson, including fft versions, but again it is difficult to find approximation errors and the truncation choices for the general case. )

Any update on this? I'm interested in having access to this distribution as well. Also thank you all for the informative discussion above!

@tmcclintock #11313 was merged and gives access to the loglikelihood, e.g. with statsmodels class Tweedie, see #8281. Another independent alternative is glum.TweedieDistribution.log_likelihood.
In the scipy mailing list thread, it became clear that Tweedie does not fit into the current API of scipy because the point mass at zero would require a mix of rv_continuous and rv_discrete.

Thanks for the update @lorentzenchr, I'll close this now. For anyone reading this, these distributions won't be included in SciPy any time soon, but you can find implementations in other libraries as linked above 👍

@lorentzenchr great, thank you!


Modernize certificates

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

Testsuite passed

@brauner @tomponline good to go

@tomponline @brauner ready to go again, added a few more changes.
This is all cleanup ahead of pushing #7898


Add tests

Codecov Report

Merging #46 (52f3519) into master (18498cc) will increase coverage by 3.90%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   71.58%   75.48%   +3.90%
==========================================
  Files          41       40       -1
  Lines        2984     2986       +2
==========================================
+ Hits         2136     2254     +118
+ Misses        848      732     -116

Impacted Files
Coverage Δ

...rc/discretization/implicit_trapezoid/integrator.jl
0.00% <ø> (ø)

src/discretization/symplectic_euler/integrator.jl
96.72% <ø> (+8.01%)
:arrow_up:

src/main_components/mechanism_functions.jl
72.59% <ø> (+12.73%)
:arrow_up:

src/solver/linesearch.jl
84.81% <ø> (+2.09%)
:arrow_up:

src/ui/mechanism_ui.jl
37.50% <100.00%> (+37.50%)
:arrow_up:

src/util/quaternion.jl
95.91% <100.00%> (+34.55%)
:arrow_up:

src/ConstrainedDynamics.jl

src/joints/translational.jl
90.50% <0.00%> (+1.89%)
:arrow_up:

src/joints/rotational.jl
88.31% <0.00%> (+2.59%)
:arrow_up:

src/main_components/graph.jl
93.40% <0.00%> (+3.29%)
:arrow_up:

... and 9 more

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 18498cc...52f3519. Read the comment docs.

Codecov Report

Merging #46 (52f3519) into master (18498cc) will increase coverage by 3.90%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   71.58%   75.48%   +3.90%
==========================================
  Files          41       40       -1
  Lines        2984     2986       +2
==========================================
+ Hits         2136     2254     +118
+ Misses        848      732     -116

Impacted Files
Coverage Δ

...rc/discretization/implicit_trapezoid/integrator.jl
0.00% <ø> (ø)

src/discretization/symplectic_euler/integrator.jl
96.72% <ø> (+8.01%)
:arrow_up:

src/main_components/mechanism_functions.jl
72.59% <ø> (+12.73%)
:arrow_up:

src/solver/linesearch.jl
84.81% <ø> (+2.09%)
:arrow_up:

src/ui/mechanism_ui.jl
37.50% <100.00%> (+37.50%)
:arrow_up:

src/util/quaternion.jl
95.91% <100.00%> (+34.55%)
:arrow_up:

src/ConstrainedDynamics.jl

src/joints/translational.jl
90.50% <0.00%> (+1.89%)
:arrow_up:

src/joints/rotational.jl
88.31% <0.00%> (+2.59%)
:arrow_up:

src/main_components/graph.jl
93.40% <0.00%> (+3.29%)
:arrow_up:

... and 9 more

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 18498cc...52f3519. Read the comment docs.


Add max_concurrency support for azure

Motivation
download_blob in azure.storage.blob supports setting a max concurrency for downloading blobs, which can improve download speeds. In a similar implementation of smart_open, we've noticed that downloading a 313 GiB file averaged 83 minutes download time, whilst smart_open at 122 minutes.
Some benchmarks (note: these also calculates the sha256 checksum of the blob downloaded)
buffer_size is set to 268435456

smart_open (max_concurrency=4)
	smart_open (max_concurrency=1)
	our implementation (max_concurrency=4)
	our implementation (max_concurrency=1)

49.8843s
	69.1530s
	49.7495s
	69.4825s

49.3389s
	69.1241s
	49.0315s
	68.9774s

49.3781s
	66.0186s
	48.4432s
	69.1307s

avg: 49.5338s
	avg: 68.0986s
	avg: 49.0747s
	avg: 69.1969s

As one can see, setting max_concurrency to 4, gives a decrease of 27%, which I think is significant, and is a nice feature to add to the azure connector in smart_open
Tests

If there are any failures, please fix them before creating the PR (or mark it as WIP, see below).

Failing tests seems to not be related to azure, but s3
Checklist
Before you create the PR, please make sure you have:

[x] Picked a concise, informative and complete title
[X] Clearly explained the motivation behind the PR
[ ] Linked to any existing issues that your PR will be solving
[x] Included tests for any new functionality
[ ] Checked that all unit tests pass

@omBratteng Could you please enable maintainer edits for this PR? I need to push some changes to get the tests working, but I'm getting permission denied.

@mpenkov I can't see where to enable it after I've created the PR, but I've added you to our fork, so you should be able to edit it there directly.
If not, I can close and open a new PR.

I'd rather get things working in this PR. I'm still getting permission denied, though.
Can you please have a look here: https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork
That has instructions for giving maintainer access to PRs.

Sorry @mpenkov, I can't seem to have that option anywhere. If it's just to get the latest commits in from the develop branch, I can do a rebase.

No need to rebase, just merge the develop HEAD.

Done

Thank you for your contribution @omBratteng !


Switch default branch to use when none is supplied to 'main`

We are in the process of switching ponylang repos over from master
to main as the default branch to match GitHub's change for the
default name for new repos.
This commit switches corral to be in line with the new GitHub defaults.

Hi @SeanTAllen,
The changelog - changed label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.
Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 171.md to match the number of this pull request.
The basic format of the release notes (using markdown) should be:
## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.


Kong cert order

In k8s, when the TLS secret of different namespaces is the same and the createtime is the same, the result is always synchronized configuration to Kong

Thank you @chenjinxuan for your contribution. I will look at your PR tomorrow.


remove babel from build and tests, target es2019 and add cjs

Fixes create-react-app compilation and greatly simplifies our build pipeline. Removes all babel dependencies, moves to ts-jest for testing and updates package info.
Should close #68 and #66

Cool. This also fixes https://github.com/SkynetLabs/skynet-js/issues/9 right?

Cool. This also fixes #9 right?

 I think it had been fixed using another method, but so long as no one objects, getting rid of any babel seems really nice as a way to reduce how much documentation and tooling our lib touches.

So I tried to build mysky with skynet-js linked and I still had your tsc-only branch built there. I kept seeign this error:
      TS2307: Cannot find module 'skynet-js' or its corresponding type declarations.

I switch to a different branch, built, and it worked again

"main": "dist/cjs/entry.js", was supposed to be index.js. Also added "types" since ts docs say an explicit declaration is best practice.
Could run webpack build on mysky and successfully built TS Create React App and CRA projects.


CSS not applied to country select

Hi,
First of all thank you for the great gem 😊
When I'm applying a CSS class according to your README I don't see it in the output HTML
<%= country_select(:investor, :nationality, { selected: @investor.nationality }, {class: 'select-input', required: true}) %>

Thank you,
:panos

Hi @stefanpenner can you please have a look at this? The gem introduces a bug in the mobile responsiveness of our web app due to this issue and we would really like to keep the gem because it works like a charm apart from this bug. Thank you.

@le4ker Can you post what version of the gem and what version of Rails you're using?

Thanks @scudco .
rails -v returns:
Rails 5.1.6
and the Gemfile.lock contains:
country_select (3.1.1)
      countries (~> 2.0)
      sort_alphabetical (~> 1.0)

I just tested this in https://github.com/scudco/country_select_test and cannot get it to reproduce. Can you paste the resulting <select> tag that is being generated for you?

I tried it again and now the class was rendered in the HTML. But I don't understand why it was working before, it was the exact same code. Anyway, @scudco thank you for the help!


WinUI gallery unpackaged mode no longer crashes on launch

Unpackaged mode no longer crashes on launch

The WinUI gallery unpacakged mode was broken and crashed on launch - no matter whether building from msbuild cmd line or VS. It was happening because at some places in the code resource was getting accessed through URI which only makes sense for packaged app and not unpackaged. To remedy this, other parts of the code had separate code under UNPACKAGED which would build a non-URI path for unpackaged app config. This UNPACKAGED constant was not defined anywhere and as a result, that alternative code was not getting accessed. Some places had missing alternative code entirely.
This PR solves it by correctly identifying when app is built using unpackaged app and set the UNPACKAGED constant. It required separate changes for both VS build and msbuild command prompt.
WindowsPackageType is the variable used to define whether package is packaged or not.
It is set as Desktop in package .csproj and None in project .csproj. The project .csproj will only apply None to if it not defined earlier. So a package .csproj defines WindowsPackageType as Desktop before calling project.csproj and thus, it remains the correct value.
Motivation and Context
Motivation was frustration 😁
How Has This Been Tested?
For both VS build and msbuild scenarios, it is tested manually for both configs packaged and unpackaged.  2x2
Screenshots (if appropriate):
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

solves #993  and #1026

Since the WinUI Gallery is also a resource folks use for guidance on how to implement stuff: Is using a runtime check the recommended way if you ever need to target both packaged and unpackaged at the same time and need to differentiate?

Since the WinUI Gallery is also a resource folks use for guidance on how to implement stuff: Is using a runtime check the recommended way if you ever need to target both packaged and unpackaged at the same time and need to differentiate?

@chingucoding thanks for raising this.  Certainly, if you want to produce a library that can support both packaged/unpackaged client apps, the runtime check is essential.


Error loading qgrid widget

Environment

Operating System: Ubuntu 16.04 LTS
Python Version: Python 2.7.12
How did you install Qgrid: pip
Python packages:

notebook                           5.4.1
ipywidgets                         7.2.1
qgrid                              1.0.2

Description of Issue

What did you expect to happen?

Expected to show the widget, or else an error

What happened instead?

Notebook shows nothing
Reproduction Steps
Simply run the example from README
...
What steps have you taken to resolve this already?
Inspect webpage shows:
Error: Script error for "qgrid" http://requirejs.org/docs/errors.html#scripterror

Unhandled Promise Rejection: Error: Script error for "qgrid"
http://requirejs.org/docs/errors.html#scripterror

Anything else
I am running jupyter notebook on a Virtualbox instance with port forwarding to host.
I thought I saw another error in inspection related to loading ../static/qgrid.js, but I am not able to reproduce that error.
I would love to give Qgrid a try, seems just the tool I was missing! Thanks in advance!

Hmm did enabling the qgrid and ipywidgets nbextensions succeed?
jupyter nbextension enable --py --sys-prefix qgrid
jupyter nbextension enable --py --sys-prefix widgetsnbextension

You can check on the status of your nbextensions by running jupyter nbextension list.  The output should look something like this:
    notebook section
      jupyter-js-widgets/extension  enabled
      - Validating: OK
      qgrid/extension  enabled
      - Validating: OK

Did someone managed to get this fixed, because i have the exact same problem...
I'm using a conda env  (because it's a managed jupyter installation and I'm not allowed to install any packages globally) with qgrid enabled, but there is no qgrid.js anywhere on the system.

I have the same problems.


Add line draw Animation multiline chart. https://github.com/codesinghanoop/react-native-d3multiline-chart

Hey @codesinghanoop, submit a PR and I'll take care of the rest :D


Add Query Created Files Function

What does it change?

Added function to query created files and Updated the docs.

clocal storage-query <query>
Where query is ls or ls <filename> . when the query is ls it lists all the files and if filename is specified, it lists only specific files.

Windows Support

Added Windows support using the built-in os module. Other similar PRs can be closed

Test Cases

Added few test cases

@bauripalash Can you rebase please?

https://github.com/cloudlibz/clocal-azure/pull/21 Check that


Plugin doesn't work when imported directly into Unity

I just downloaded a zip of the repo to test the latest changes and dragged the folder into my Unity project, but it created an error in the console.
The Menu entry in the preferences exists, but when i select it this error pops up.
I previously used the package manager, and modified the cache files to update it locally, so i didn't run into the issue before.

If you want to make the package editable, just move it into Packages folder. The path to UI assets is currently hardcoded, so that's why an error occurs (can be fixed by using GUIDs instead)


Enhancement: Ram usage monitor

This would be kinda helpful if you added this so i and other people can see how much ram kade engine is using

It consumes me much (I have 4gb) to play it I have to close everything.

task manager. also pretty sure this isnt possible lol

task manager. also pretty sure this isnt possible lol

Apparently in win11 it improves, it loads all the resources at the beginning and then everything goes well, it stays at about 700mb.
About the screenshot, I took it a few seconds before it closes, it was quite a challenge.


'str' object has no attribute 'operation_status' error started appearing today

Integration has been working fine until today when I started getting the following error any ideas?:
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/securitas/alarm_control_panel.py:207
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 22:50:01 (1 occurrences)
Last logged: 22:50:01
[139899728076784] 'str' object has no attribute 'operation_status'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1755, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1792, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
future.result()  # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 958, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
await result
File "/config/custom_components/securitas/alarm_control_panel.py", line 321, in async_alarm_arm_home
await self.set_arm_state("ARMDAY1")
File "/config/custom_components/securitas/alarm_control_panel.py", line 207, in set_arm_state
while arm_status.operation_status == "WAIT":
AttributeError: 'str' object has no attribute 'operation_status'

This is a temporal issue. When arming sometimes the API reply back with a message that you left a window open and can't arm. This is not a critical issue because it doesn't prevent you to arm or disarm in the future. Anyway I change the code to prevent this error in the future.
Thanks for reporting it!.


[IMPORTANT] Typing with Japanese Input Method is not displayed on MacOS Safari 12.0

Typing Japanese text with input method and just converting Hiragana to Kanji, the typed text will go away immediately.
Typing other ASCII characters is no problem. Only this problem is occuring on converting Hiragana to Kanji.
There is no problem on the other web browsers, such as Google Chrome, Firefox. Only MacOS Safari cause this problem.
Is there any solution?
Squire: 1.8.14
MacOS: 10.13.6 High Sierra
Safari 12.0
Demo:
https://drive.google.com/file/d/1nbDmacTFZUWEBTavZDHBki-S3bXUSd9r/view

Finally I found the bug.
Change KeyHandlers.js  as follows:
--- a/source/KeyHandlers.js
+++ b/source/KeyHandlers.js
@@ -59,7 +59,7 @@ var onKey = function ( event ) {

     if ( this._keyHandlers[ key ] ) {
         this._keyHandlers[ key ]( this, event, range );
-    } else if ( !range.collapsed && ( event.key || key ).length === 1 ) {
+    } else if ( !range.collapsed && ( event.key || key ).length === 1 && !event.isComposing ) {
         // Record undo checkpoint.
         this.saveUndoState( range );
         // Delete the selection

It seems that the behaviour of keydown event-firing sequence of Kana-Kanji conversion is slightly  different between Safari and the other browsers.
Adding !event.isComposing prevent to delete a Kana-Kanji converted text when the user types a space key to invoke Kanji-conversion.

Thanks for finding the solution for me!