Received and size are the same

upload progress module reports the same values for received and size.   Contrary to a bug report #42 this bug is present even when not using http2 connections.
Could something be please done about it?
Best regards,
Andrejs
nginx -V
nginx version: nginx/1.11.4
built with OpenSSL 1.0.2h  3 May 2016
TLS SNI support enabled
configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error_log --pid-path=/run/nginx.pid --lock-path=/run/lock/nginx.lock --with-cc-opt=-I/usr/include --with-ld-opt=-L/usr/lib64 --http-log-path=/var/log/nginx/access_log --http-client-body-temp-path=/var/lib/nginx/tmp/client --http-proxy-temp-path=/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi --http-scgi-temp-path=/var/lib/nginx/tmp/scgi --http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi --with-file-aio --with-debug --with-http_v2_module --with-ipv6 --with-pcre --with-threads --without-http_auth_basic_module --without-http_geo_module --without-http_limit_conn_module --without-http_memcached_module --without-http_referer_module --without-http_scgi_module --without-http_split_clients_module --without-http_userid_module --without-http_uwsgi_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_mp4_module --with-http_perl_module --with-http_stub_status_module --with-http_realip_module --add-module=external_module/taobao-nginx-http-concat-f3b52a5 --add-module=external_module/nginx-upload-progress-module-0.9.1 --add-module=external_module/headers-more-nginx-module-0.29 --with-http_ssl_module --without-stream_upstream_hash_module --without-stream_upstream_least_conn_module --without-stream_upstream_zone_module --without-stream_upstream_hash_module --without-stream_upstream_least_conn_module --without-stream_upstream_zone_module --without-stream_upstream_hash_module --without-stream_upstream_least_conn_module --without-stream_upstream_zone_module --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module --user=nginx --group=nginx
nginx.conf
user nginx www;
worker_processes auto;
worker_cpu_affinity auto;
pcre_jit on;
worker_rlimit_core  500M;
working_directory   /var/tmp/nginx;
error_log /var/log/nginx/error_log info;
events {
worker_connections 10000;
use epoll;
multi_accept on;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
    limit_req_zone $binary_remote_addr zone=zone-requests:10m rate=1r/s;
    limit_req_log_level warn;

    client_header_timeout 10s;
    client_body_timeout 10s;
    send_timeout 10s;

    client_max_body_size 700m;
    connection_pool_size 256;
    client_body_buffer_size 16k;
    client_header_buffer_size 8k;
    large_client_header_buffers 4 16k;
    request_pool_size 4k;
    proxy_buffering on;
    proxy_buffer_size 4k;
    proxy_buffers 4096 4k;

   open_file_cache off;
   open_log_file_cache max=1000 inactive=60s valid=1m;

    geoip_country /usr/share/GeoIP/GeoLiteCountry.dat; # the country IP data
    geoip_city    /usr/share/GeoIP/GeoLiteCity.dat; # the city IP database

    gzip on;
    gzip_min_length 1100;
    gzip_buffers 4 8k;
    gzip_types text/plain text/css application/json application/javascript a

    output_buffers 1 32k;
    postpone_output 1460;

    aio on;
    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;

    keepalive_timeout 75s;
    keepalive_requests 100000;
    keepalive_disable msie6;

    ignore_invalid_headers on;
    server_name_in_redirect on;
    merge_slashes on;

    fastcgi_pass_request_headers on;
    fastcgi_intercept_errors off;
    fastcgi_buffer_size 4k;
    fastcgi_buffers 256 4k;
    fastcgi_read_timeout 360;       # xdebug needs larger value for fastcgi_
    fastcgi_send_timeout 180;
    fastcgi_store_access user:rw group:r;
    fastcgi_force_ranges on;
    proxy_intercept_errors off;

    ssl_session_cache   shared:SSL:10m;
    ssl_session_timeout 1h;
    ssl_session_tickets on;
    ssl_session_ticket_key ssl_session_ticket_file.key;
    ssl_dhparam /etc/ssl/certs/dhparam.pem;
    ssl_protocols           TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers             "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GC
    ssl_prefer_server_ciphers on;
    ssl_stapling on;
    ssl_stapling_verify on;
    ssl_trusted_certificate /etc/ssl/certs/startssl-ca-bundle.crt;
    ssl_certificate         /etc/ssl/certs/1_mydomain.com_bundle.crt;
    ssl_certificate_key     /etc/ssl/private/1_mydomain.com_bundle.key;

    index index.html;
    charset utf-8;

    # common headers

    add_header X-Frame-Options SAMEORIGIN;
    add_header X-Content-Type-Options nosniff;

    # upload progress
    upload_progress uploads 1m;
    upload_progress_content_type "application/json";
    upload_progress_json_output;

    concat on;
    concat_max_files 40;

    resolver <IP_ADDRESS> valid=300s;
    resolver_timeout 10s;

    # devel.mydomain:443
    server {
            listen 443 ssl;
            server_name devel.mydomain;

            access_log /var/log/nginx/mydomain.access_log main;
            error_log /var/log/nginx/mydomain.error_log info;

            root /opt/www/mydomain;

            add_header Strict-Transport-Security "max-age=63072000;";

            keepalive_timeout       70;

            location / {
              index index.php;
              try_files $uri $uri/ @index;
            }

            location @index {
              include fastcgi_params;
              fastcgi_param PATH_INFO $uri;
              fastcgi_param PATH_TRANSLATED $document_root$uri;
              fastcgi_param SCRIPT_FILENAME $document_root/index.php;
              fastcgi_pass unix:/run/php-fpm/3508-php70.sock;
              track_uploads uploads 30s;
            }

            location = /upload-progress {
              access_log off;
              postpone_output 0;
              report_uploads uploads;
            }
     }

}

Can you post or link to a debug log where you are doing an upload and send a few probes?
Most of the reports I got about this issue (in non-http2 case) were mostly because people were either uploading way faster than they send probes (so the probes arrives after the upload is finished, which can happen on localhost for instance) or were reusing upload ids.

Log attached.
progress.error_log.txt

@locojohn thanks for the log, unfortunately it doesn't show the uploads itself, only the progress report probes requests.
Can you redo the test, and capture the log from the moment nginx receives the initial upload request up to the subsequent report probes?
Thanks!

@locojohn you should have somewhere a log entry starting with trackuploads id found, this is where the upload is registered in the module.

Sorry, Brice, more detailed debug log attached.  I was uploading a 145 MB mp3 mix to make sure the file isn't too small.

It looks like as though it still uses http2 connections, which is weird because I deliberately changed the line in config to:
listen 443 ssl;
Anyway, maybe the debug log helps you to identify an issue with http2 connections as well.

Yes, you're doing the upload as HTTP/2.0:
2016/08/18 15:31:38 [debug] 17722#17722: *1 http2 http request line: "POST /icm/?p=incident&WorkgroupID=12&IncidentClassID=1&IncidentTypeID=231&CreatorGroupID=34&ajax=1&c=attach_files&X-Progress-ID=22e95e83d881c172dd177282225e77f9 HTTP/2.0"

I know why it doesn't work with http2/spdy, http2 is using a completely different receive code path than the regular http. The upload tracker is based on nginx internals, and it's not surprising that it doesn't work anymore on new features. It would take some time to find and add the workarounds I had to add for http to the http2 code path, and I never found the spare time to do this (of course Pull Requests are welcome :).
Closing as duplicate of #45.

Hello, we are currently hit by this issue as well. However i am not able to write some code for this. But my boss is willing to spend some money on this feature. Would it help? Or can you recommend some other solution to be able to utilize nginx + httpv2 + tracking progress of uploaded files? thank you

Installed nginx (1.12.1) + nginx-extras Debian package from dotdeb and faced the issue
http2 is not used
client_body_buffer_size 32k is not helping


Sort response types

I came across this when trying to tackle #144. Turns out there is a bunch or overlap with #197, at least in the challenges that come up.
Right now, this just attempts to create clarity which type is used where in order to make both changes easier.

I see the desire to add clarity to ContractResult / Response. The names are definitely a bit confusing.
However, duplicating the InitResult, InitResponse types as HandleResult, HandleResponse seems overkill. What about just defining one of the pairs and exposing the other one as a type alias type HandleResult = InitResult. This allows one to use clarity in the contract code, but doesn't require duplicating the interfaces.
And if we do decide to make them different in the future, referring to them by different names is helpful.

I tried that, but this leads to wrong schema generation (with type HandleResult = InitResult, HandleResult gets the file name and content from InitResult). I also tried to find a common name like ExecutionResult, but then the term "execution" is used for init+handle here and for handle only in other places of the stack.
I'd prefer to get rid od the custom type entirely and use HandleResult = core::result::Result<HandleResponse, String>, but that did not work as well since this cannot derive anything.

I tried that, but this leads to wrong schema generation (with type HandleResult = InitResult, HandleResult gets the file name and content from InitResult). I also tried to find a common name like ExecutionResult, but then the term "execution" is used for init+handle here and for handle only in other places of the stack.

I think I can fix that with a little newtype magic. Let me try later. Let's figurre out how to simplify before merge, but carry on for now.

Updated PR to the recently merged serde changes.

I think I can fix that with a little newtype magic. Let me try later. Let's figurre out how to simplify before merge, but carry on for now.

Good idea. I tried that in https://github.com/CosmWasm/cosmwasm/commit/38996cf6b6002cb3d2efc4dd1e3ffb6b7e55ddb9. Unfortunately it makes caller code more confusing and the schema indirect. It only saves 23 lines of code in init_handle.rs.
If we really want to deduplicate this, I think we should find a common name rather than cross referencing the types.

If we really want to deduplicate this, I think we should find a common name rather than cross referencing the types.

Thanks for the reference. Yes, the confusion is a bit confusing.
The concern was not just code size, but generated byte size (as we use lots of derives on those structs to auto-gen code. But I agree that approach is not so great.
We can merge this as is if you wish. The duplication still does bother me, and I just want to understand why it is helpful to separate those two types (renaming the common type is rather obvious to me).

The duplication still does bother me, and I just want to understand why it is helpful to separate those two types (renaming the common type is rather obvious to me).

In general, the symmetry between init, handle and query is important to me as it helps navigating through this complex stack. This symmetry is the motivation for this change.
The main reason for having init and handle as separate types is that I did not find a proper term that would fit in the model

term X = "init" or "handle"
"query"

So instead I used

"init"
"handle"
"query"

I thought about ExecutionResponse and ExecutionResult, but contract "execution"s don't include inits when talking about transactions. We can use InitOrHandleResponse and InitOrHandleResult. Not amazing but would do the job.

Okay, then go for it with the types. I get the motivation.
Also, InitResponse and HandleResponse "just happen" to be the same. Maybe we will change that one day (unlikely I think, but fair enough).
I actually like ExecutionResponse or TransactionResponse (as these are the items that happen inside a transaction - writing), but if those names sound ugly, feel free to ignore.


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
48ae740 -> 6eb04f4

github.com/gruntwork-io/terratest
require
patch
v0.46.9 -> v0.46.11

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.26.3 -> v1.26.5

terraform-ibm-modules/common-pipeline-assets
action
minor
v1.19.0 -> v1.20.0

Release Notes

gruntwork-io/terratest (github.com/gruntwork-io/terratest)
v0.46.11
Compare Source
Modules affected

aws

Description

Updated GetAmazonLinuxAmiE to search for Amazon Linux 2 AMIs

Related links

https://github.com/gruntwork-io/terratest/pull/1387

v0.46.10
Compare Source
Modules affected

test-structure
git

Description

Updated runValidateOnAllTerraformModules function, which is used under the hood by ValidateAllTerraformModules and OPAEvalAllTerraformModules, to:

Find the Git root using git.GetRepoRootForDirE, instead of a hard-coded ../../ file path.
Copy the Git root to a temp folder once, rather than once per sub-test.

Related links

https://github.com/gruntwork-io/terratest/pull/1376

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.26.5
Compare Source
Bug Fixes

deps: update gomod (#743) (1ab2e92)

v1.26.4
Compare Source
Bug Fixes

deps: update gomod (#738) (a9275e6)

terraform-ibm-modules/common-pipeline-assets (terraform-ibm-modules/common-pipeline-assets)
v1.20.0
Compare Source
Features

exposed the ability to pass TOOLCHAIN_ID in cra-config.yaml (#635) (d128eca)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

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

GitHub release
v4.4.0

Your semantic-release bot :package::rocket:

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

GitHub release
v4.4.0

Your semantic-release bot :package::rocket:

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

GitHub release
v4.4.0

Your semantic-release bot :package::rocket:


Clarify entity base url docs

If the entity base url isn't set, the default value is p('uaa.url').sub("://uaa.", "://login.") (in ruby), which is different from #{uaa.url}.replaceFirst('uaa', 'login') (in java). Specifically, the ruby that's actually used only replaces leading uaa.

good catch! thanks for the PR.


How to handle Pistache::Optional type. Trying to convert to string (from request.query))

I am trying to get parameters from URL using auto query = req.query().get("key"); how do i go further by getting string out of it ?

I have something like this in my code:
  if (request.query().has("freq")) {
    const auto str = request.query().get("freq").get();
    m_update_freq = strtoul(str.c_str(), nullptr, 10);
  }

@dennisjenkins75 "request.query().get("freq").get();" worked for me . Thank you.


[doc] Add DOI for the latest released version to the README

Codecov Report

Merging #1669 (174d1ec) into master (717fb9a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1669   +/-   ##
=======================================
  Coverage   87.23%   87.23%
=======================================
  Files          45       45
  Lines        7546     7546
=======================================
  Hits         6583     6583
  Misses        963      963

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 717fb9a...174d1ec. Read the comment docs.


Update RandomObjectPopulator from core:invalid

Located in: core:invalid
Part of: populators
This is part of the upgrade process for Sponge and is likely involving some work and investigation.
Advice and tips include:

Sometimes things are just a simple method name change
Might be a new class or field
Understanding what the original intention of the target code had
Analyzing whether the functionality achieved by the target class/mixin still exists
Understanding the new functionality in the new Minecraft version that requires rewriting for the functionality
The SpongeAPI usage could very well have gone missing out the window if functionality was deemed unnecessary for release

Closed in https://github.com/SpongePowered/SpongeCommon/commit/c4781d0bd176182a0dedfbf9551f409e69fef2e4


Add proxy timeout support

timeout value can be set in request.proxy.timeout or request.timeout

PR Checklist:

[x] I have run npm test locally and all tests are passing.
[x] I have added/updated tests for any new behavior.
[x] An issue has already been created where the problem / solution was discussed

PR Description
Related to https://github.com/request/request/issues/2475 and https://github.com/request/tunnel-agent/pull/22
Some minor modifications are required on request/tunnel-agent and can be found here : https://github.com/fargies/tunnel-agent

+1 for this PR being merged, a failed proxy CONNECT leads to the request hanging indefinitely for me


isDraggable example adjustment

"vue": "^3.5.10",
"vue-fluid-dnd": "^0.7.0"

Copied and pasted example, the list should be ref and the config should just be in the declaration:
const list = ref([1, 2, 3, 4]);
const { parent } = useDragAndDrop(list,  {
isDraggable: (el) => !el.classList.contains("is-not-draggable")
});

Whats the problem?


More packages

Added the following packages:

subversion
php5-xmlrpc

These are particularly useful for WordPress-based projects.

Thanks :-)


Disable previous times datetimepicker

How can I disable previous time of a selected date?
I need a datetimepicker that disables all dates and time before the current moment.
I'm using momentjs and have this:
$.fn.datetimepicker.defaults = {
....
minDate = moment(),
....}
This disables all previous dates till current dates but the time can't be selected
Also I tried this:
$.fn.datetimepicker.defaults = {
....
minDate = moment(1, 'h'),
....}
This disables all previous dates till current dates but it allows me to select a previous time

Please post a jsfiddle of your example

Could you tell me how, cause I put the bootstrap-datetimepicker.js in javascript field, bootstrap-datetimepicker.css in css field and the input in the html field. I guess I have to add some external resources, but I don't know how.
Thanks in advance!!!

This jsfiddle: http://jsfiddle.net/Eonasdan/0Ltv25o8/ is a good base.
By the way, it's listed on the main page and it's in the contributing docs

As you can see, http://jsfiddle.net/0Ltv25o8/66/  all dates are disabled, but if you select the current day, the time can be earlier than the current moment, and I just need that the prevoius time is disabled too.
Thanks!

try changing your code to minDate: moment().add(1, 'h')

In that case the time can't be changed, nor later or earlier

huh? What do you mean..?

I mean I can't select any tiime. Time is blocked :(

I mean I can't select any tiime. Time is blocked :(
It just shows me the current time, but can't select any other.

works for me:

Yes, I know it's works, but not for me :(

well it works for me in jsfiddle. You'll need to check your console/firebug or do more to help me reproduce what you're reporting, otherwise I can't fix it.

I realized I have a previous version. I followed the steps here: https://github.com/zpaulovics/datetimepicker-rails and the generated code is different than yours


kernels: disable some more options

Disable some kernel config options that are not needed in an lvh VM.

Happy to merge this, but note that it does not affect the CI lvh images. Their conf is defined in the little-vm-helper-images repository.

Happy to merge this, but note that it does not affect the CI lvh images. Their conf is defined in the little-vm-helper-images repository.

Thanks, done in https://github.com/cilium/little-vm-helper-images/pull/262


Update SessionUser for users who get tokens for multiple customers + roles

There might not necessarily be specific work for this but we need to validate that a user can login as multiple different customers, and/or multiple different roles for the same customer (e.g. clickthrough + roleprovider)

Do they get multiple maintained sessions (maybe multiple cookies) or does a single session know about multiple logins.

Discussed internally on Slack, decision was to maintain a single cookie/session per customer which has access to multiple roles.


Allow newer versions of ice_cube to be used

We are trying to move to a newer version of ruby, and this dependency needs to update in order to stop the errors.
/home/travis/build/company/project/vendor/bundle/ruby/2.4.0/gems/ice_cube-0.13.3/lib/ice_cube/validations/month_of_year.rb:7: warning: constant ::Fixnum is deprecated

This does break older versions of ruby
Gem::InstallError: ruby_dep requires Ruby version >= 2.2.5, ~> 2.2.

Oh it's the dev dependencies that break. Dropped the gaurd dependency.

@warmwaffles thanks for this!
I've been meaning to bump this version for awhile now. After merging your changes, I ended up tweaking it slightly to be ~> 0.13. This allows minor version upgrades but not major versions. I figure we should review ice_cube 1.0 when it comes out before allowing it to be used.


Catch errors from Commandline.translateCommandline()

Also prevent an infinite loop and include errors by default.
Fixes #366

@gsmet thank you! A question tho.
Will I still be able to understand why the parse failed using ParseErrorStrategy.COMMENT_MESSAGE_HELP_ERRORS?

Yes. Until now it didn’t include the parse errors by default. Now they are included in the comment. Have a look at the tests to see the message.


Playerlist doesn't update when player joins

View notes for steps to reproduce. The bug is highlighted on line 27.
Behavior: When I set up the server and joined (the same computer running the server and game), playlist doesn't update. OP-list and Ban-list update just fine. The playlist does not.
2020_1_5_v0_5_notes_AM.txt
System Info:
Intel Core i5-7300HQ
16 Gb of DDR3 @ 2400 Mhz
GTX 1050

I can't reproduce the issue.
Playerlist is syncing by using the server query feature. Is it enabled in server.properties?

enable-query=true?
If so, yes it's enabled. I attempted to reproduce the bug on my Windows Server computer but can't reproduce. I'll try to reproduce it on my laptop again.

I was able to reproduce the issue on my laptop. Will try rerunning as an administrator to see if that fixes it.

Yup, that fixes the issue. I probably should've assumed this should be run in administrator no?

Ok so the issue is, that the minecraft server can't start the query wthout admin privileges apperently.
Nihilus for now should not need admin privileges.
This needs further investigation, as i still can't reproduce the issue. I will test it on another machine soon.

So if I'm understanding this correctly, it figures out who's playing currently by querying the server? What about going by the server's stdout and just adding/removing from the list as players connect and disconnect?

I thought about that alot, there are several problems with handling this stuff from stdout:

You can't be sure, that all server versions use the same syntax for join/leave messages
What if someone writes "Any_User joined the game" in the ingame chat

If i can't trace this error down i probably have to use stdout.


Remove use of SHOP_DIR

Whats the latest with this bug? Can I use composer to fix my instance?

Yes it's been merged and is available in the 2.x-dev release. It will make a stable release number in the future.

I have installed the update version and the shop dir element is fixed and acts the same as the temporary fix I had in place. I still get this error when you click on the already existing address checkbox
[Emergency] Uncaught TypeError: Argument 1 passed to SilverShop\Shipping\Model\Zone::cache_zone_ids() must be an instance of SilverShop\Model\Address, null given, called in /home/oneweigh/public_html/vendor/silvershop/shipping/src/Extension/OrderShippingExtension.php on line 98


Motion and Orientation API(s)

Motion and Orientation API(s)
Quaternions

[x] Basic struct definitions
[x] Magnitude
[x] Scaling
[x] Multiplication
[x] Conjugate
[x] Inverse
[x] Difference
[x] Exp
[x] Log
[x] Exponentiation
[x] Interpolation

[x] Slerp

[ ] Conversion

[x] To Unit (Normalise)
[ ] To Euler
[ ] To Rotation Matrix

[x] Special Forms

[x] Identity

Other (Sorting/definition required)

[ ] Acceleration/magnetic field -> orientation
[ ] Sensor fusion (accel/mag/gyro -> quaternion)
[ ] Functions for acceleration, time/distance, etc.
[ ] Frame of reference conversion (Aerospace, Android, etc.)

Sample Application(s)
A sample should be provided showing conversion to/from Euler angles, and scaling, rotation, etc. operations on a quaternion.

Initial implementation: https://github.com/zscilib/zscilib/commit/8b89fc2642026063345606ba6e4e31f339aa6d72
Unit tests and manual verification required for:

zsl_quat_exp
zsl_quat_log
zsl_quat_pow

Conversion functions to/from Euler and rotation matrix also required.


Update javascript-client.md to reflect IRetryPolicy changes

This change is NOT in preview6.
Let's make sure not to publish this until preview7 is released.

There's a new branch for the Pre7 PRs :point_right: release/3.0-preview7

@halter73 Please open this PR against the branch mentioned by @guardrex ☝ . Other than that, this looks great.


@nestjs/graphql as an optional dependency

Hi, as it's not a core module, would it be possible to remove @nestjs/graphql as a peerDependency or making it optional?

This has been updated in the latest update...  It is a required module if you are using the interceptor.  May create a separate interceptor specifically for graphql??

If it were me I would have created an additional module for graphql so that uses who are using REST won't need another dependency.
I have temporarily downgraded to the prior version to avoid pulling in another module.
I don't know if it's something you'll consider in the next version but there's my 2c

The latest version has been updated to address packages that don't use or need graphql.


Webhook for distribution | incorrect release_notes | Slack

Hi , I am using Webhook for slack integration and found that the release notes section is randomly having correct release notes (Git message) and sometime the name of the job.
I tried to create a webhook with the request.bin but seeing the same behaviour there in the release_notes vairable in the JSON .
Is this a known issue or I am missing something

@aamol Are you still running into this issue? Can you please reach out to us via support for further investigation?

Please open a support ticket on appcenter.ms. Closing this issue for now.


Fix for ProjectDebuggerProvider.QueryDebugTargetsAsync should wait for first snapshot

Addresses https://github.com/dotnet/roslyn-project-system/issues/740
@srivatsn @abpiskunov

:shipit:


Favicon support

As far as I can tell, vite-plugin-favicon is the primary solution people have to integrating favicon builds into Vite.
I see that an integration of some sort is "on the roadmap" for this Craft plugin, but I don't see any issue or documentation about it, so I am curious if that is still the case, or if it perhaps is implemented and is just lacking documentation.
I see that vite-plugin-favicon has an inject option, though there is no documentation about what happens if this is false. I noticed this pull request, though it doesn't look like it was ever merged?? Either way, I'm guessing you know something about if and how this can be integrated into a Craft setup, and would be happy to be pointed in the right direction, or even have formal support for this feature to the extent it is possible.
I guess I have 3 main questions:

Is there a way to get vite-plugin-favicon to output the images and html on build to someplace where I can then include them manually?
Is there a way to get vite to insert the appropriate html for favicons in development via the craft.vite.script tag
If no for either of the above, do you still expect this to be supported at some point? Does it depend on the vite plugin making updates?

I discovered your fork of vite-plugin-favicon: https://github.com/khalwat/vite-plugin-favicon. I assume this is the solution you came up with.
Once webapp.html is generated, do you just include the file from dist/assets via craft.vite.inline, or is supposed to get included automatically via craft.vite.script? Just want to make sure my setup is working as intended.

See here: https://github.com/nystudio107/devmode/blob/develop/cms/templates/_boilerplate/_partials/head-meta.twig#L18


Link has expired

Now(2323/12/09) I find the address provided in data/README.md is invalid. Could someone please provide me with a new dataset download address? Thanks.

same issue with the CC-OCR link.


Websocket content push

I'm attempting to get two instances of draft.js running via web socket collaboration. I have it mostly working but have an issue with the cursor jumping around when the editor gets sent an update from the remote.
Here is the general gist of what I'm doing:

onChange -> use convertToRaw on the current editor content
Send stringified version down the websocket
On receiving browser de-stringify the content and using convertFromRaw / EditorState.push to update

Should EditorState.push preserve the cursor position?
Is this a bit of a fools errand / Any tips on how to get this to work?

Actually, this is slightly wrong.. the cursor is stable in the presence of remote updates but all newly typed characters are being inserted at the front of the editor content rather than at the cursor position as you might expect.

Have you tried, after pushing the new content state onto the editor state, calling EditorState.forceSelection(newEditorState, oldSelection)?

Well, that seemed to make it a bit worse if anything.. before the cursor was staying in the right place but the text was being inserted at the front of the content. Now the cursor is also jumping to the front of the content.
Maybe its not possible? I've just changed my code so users own edits don't get pushed to their local editor state. This reduces collaboration a bit but will do for now..
Thanks.

Hrm. I've had issues in the past with there being differences in where Draft thinks the selection is at and where it actually is in the browser - if the cursor is in a different place than where you text is actually inserting, then that's definitely a problem. Forcing the selection seems to ensure that they get back in sync.
I'm pretty sure that this is possible. It just might take a bit of care in handling the selectionState when pushing the new content state.
Here's how I would debug this:
Let's only assume collapsed selection for now - print out the selection key and offset (selection.getEndKey() and  selection.getEndOffset()). Before the update, print out the block keys and their corresponding text(this.editorState.getCurrentContent().getBlocksAsArray().map(block => console.log('[${block.getKey())}]: ${block.getText()}) . The end key will correspond to the block key with its text that your selection is currently in.
Then, after you push the new content onto the editorState, again print out the block keys. I'm pretty sure converting from raw preserves the block keys, but I would just check to make sure that your old selection key corresponds to the new blocks you're getting.


chore: update dashmap to 5.4.0

Sync the version number across crates

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you! Could you sign up the CLA?


Unified Planning Integration

@arbimo I am experiencing some problems with the recent deployment of unified_planning under pypi. It is strange that the recent additions seem to have some issues where I cannot access unified_planning.grpc while the unit tests still pass.
The traceback is,
Traceback (most recent call last):
  File "../aries/ext/up/problem_builder.py", line 4, in <module>
    from unified_planning.grpc.proto_writer import ProtobufWriter
  File "/Users/franklinselva/Documents/Work/plaan/unified-planning/unified_planning/grpc/proto_writer.py", line 179, in <module>
    class ProtobufWriter(Converter):
  File "/Users/franklinselva/Documents/Work/plaan/unified-planning/unified_planning/grpc/proto_writer.py", line 476, in ProtobufWriter
    @handles(unified_planning.solvers.PlanGenerationResult)
AttributeError: module 'unified_planning' has no attribute 'solvers'

@franklinselva I fixed your issue of the planner not being run. It was due to you non awaiting on the planner's result. Due to this the main function ended and the program exited.
I also added a catch to ensure that the program exits with error code 1 if panic occurs in a tokio thread.
The rest is just improvements to CI, hopefully to speed it up a bit.


Adding Dataverse to Croissant 🥐 Online Health

Hi! I'm interested in some details about how to add Dataverse to Croissant 🥐 Online Health.
In health/crawler/spiders/huggingface.py I'm seeing an example for Hugging Face like this:
https://datasets-server.huggingface.co/croissant?dataset=mnist
Is this roughtly what you need from us? Can the URL be different? A URL like the following would fit better into our existing pattern:
https://dataverse.harvard.edu/api/datasets/export?exporter=schema.org&persistentId=doi%3A10.7910/DVN/TJCLKP
Thanks!

Hi @pdurbin, thanks for creating this issue! The best way to crawl Hugging Face was to list all datasets and then visit each individual URL using their API.
https://dataverse.harvard.edu/api/datasets/export?exporter=schema.org&persistentId=doi%3A10.7910/DVN/TJCLKP is perfect. How can I derive this URL for all other datasets on Dataverse? Do you have an API? Or should we crawl a website?

@marcenacp hi! We list all the datasets in a sitemap, so https://dataverse.harvard.edu/sitemap.xml contains this, for example:
<loc>https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/TJCLKP</loc>
Would that be enough? From there you could extract the DOI/Persistent ID and put into a (future) URL to download metadata in Croissant format. (I used exporter=schema.org in the example above but we would create a new exporter for Croissant.)

Hi Phil,
It would be great to also embed the Croissant metadata inside the dataset
Web pages (as an extension of the schema.org metadata you already have) so
that it's crawlable by Search engines, and provide a download link / button
for users.
@Pierre Marcenac @.***> For Croissant Health we should
ideally favor the Croissant metadata directly present in Web pages rather
than the one available via an API call. As we realized with HuggingFace,
there can be some slight discrepancies between them.
Best,
Omar
On Thu, Feb 22, 2024 at 9:00 PM Philip Durbin @.***>
wrote:

@marcenacp https://github.com/marcenacp hi! We list all the datasets in
a sitemap, so https://dataverse.harvard.edu/sitemap.xml contains this,
for example:

https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/TJCLKP

Would that be enough? From there you could extract the DOI/Persistent ID
and put into a (future) URL to download metadata in Croissant format. (I
used exporter=schema.org in the example above but we would create a new
exporter for Croissant.)
—
Reply to this email directly, view it on GitHub
https://github.com/mlcommons/croissant/issues/530#issuecomment-1960180583,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMV3YRHUP2RYJLMJ2MSLS3YU6PU7AVCNFSM6AAAAABDMLSV6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQGE4DANJYGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@benjelloun thanks. Right, the schema.org metadata inside the <head> of Dataverse web pages (what we'd call "dataset landing pages") was added to Dataverse in 2017 to support Google Dataset Search, which was new at the time.

I've been thinking that I'd leave that format alone (which we call schema.org internally and "Schema.org JSON-LD" in our web interface) because I wouldn't want to break anything related to Google Dataset Search.
However, I know the Croissant team is collaborating with the Google Dataset Search team. If you're saying it's safe to modify the older format, extend it as you say, without breaking Google Dataset Search, that's great.
From a product perspective, I'm wondering if it would make sense to rebrand this format within Dataverse. As shown in the screenshot below, we call the older format "Schema.org JSON-LD" but perhaps we should simply change the label to "Croissant" if we proceed with a single, updated, extended format.
Alternatively, we could add Croissant as a new format (with an internal name of croissant, probably), swap it into the <head> (I assume we wouldn't want both formats in the <head>!), and still offer the older format to download via API or a button click.
We'll probably know more once we start hacking and see that Croissant is truly an extension, with no backward-incompatible changes from the older format.

Perhaps Signposting would be a way to expose the URL for the desired format in a standardized way. Dataverse already supports signposting and we could nominally add new metadata formats to what is listed for level 2 metadata formats.

@qqmyers hmm, good point. Signposting does provide a machine-readable way (HTTP headers) to retrieve URLs with more information.
@benjelloun @marcenacp are you familiar with Signposting? What do you think?
To use my dataset at https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/TJCLKP as an example, the "link" header looks like this:
link: <0000-0002-9528-9470>;rel="author", https://doi.org/10.7910/DVN/TJCLKP;rel="cite-as", https://dataverse.harvard.edu/api/access/datafile/6867328;rel="item";type="application/zip",https://dataverse.harvard.edu/api/access/datafile/6867331;rel="item";type="text/tab-separated-values",https://dataverse.harvard.edu/api/access/datafile/6867336;rel="item";type="text/x-python-script", https://doi.org/10.7910/DVN/TJCLKP;rel="describedby";type="application/vnd.citationstyles.csl+json",https://dataverse.harvard.edu/api/datasets/export?exporter=schema.org&persistentId=doi:10.7910/DVN/TJCLKP;rel="describedby";type="application/ld+json", https://schema.org/AboutPage;rel="type",https://schema.org/Dataset;rel="type", http://creativecommons.org/publicdomain/zero/1.0;rel="license", https://dataverse.harvard.edu/api/datasets/:persistentId/versions/4.0/linkset?persistentId=doi:10.7910/DVN/TJCLKP ; rel="linkset";type="application/linkset+json"

On Mon, Feb 26, 2024 at 12:39 PM Philip Durbin @.***>
wrote:

@qqmyers https://github.com/qqmyers hmm, good point. Signposting does
provide a machine-readable way (HTTP headers) to retrieve URLs with more
information.
@benjelloun https://github.com/benjelloun @marcenacp
https://github.com/marcenacp are you familiar with Signposting
https://signposting.org? What do you think?

Signposting looks interesting! At the moment, we do have restrictions on
the crawling side that prevent us from reading metadata that is not
directly embedded in the Webpage, so we can't rely on this approach in the
near future unfortunately.

To use my dataset at
https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/TJCLKP
as an example, the "link" header looks like this:
link: <0000-0002-9528-9470>;rel="author",
https://doi.org/10.7910/DVN/TJCLKP;rel="cite-as",
https://dataverse.harvard.edu/api/access/datafile/6867328
;rel="item";type="application/zip",
https://dataverse.harvard.edu/api/access/datafile/6867331
;rel="item";type="text/tab-separated-values",
https://dataverse.harvard.edu/api/access/datafile/6867336;rel="item";type="text/x-python-script",
https://doi.org/10.7910/DVN/TJCLKP
;rel="describedby";type="application/vnd.citationstyles.csl+json",
https://dataverse.harvard.edu/api/datasets/export?exporter=schema.org&persistentId=doi:10.7910/DVN/TJCLKP;rel="describedby";type="application/ld+json",
https://schema.org/AboutPage;rel="type",https://schema.org/Dataset;rel="type",
http://creativecommons.org/publicdomain/zero/1.0;rel="license",
https://dataverse.harvard.edu/api/datasets/:persistentId/versions/4.0/linkset?persistentId=doi:10.7910/DVN/TJCLKP
; rel="linkset";type="application/linkset+json"
—
Reply to this email directly, view it on GitHub
https://github.com/mlcommons/croissant/issues/530#issuecomment-1963943867,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMV3YQ3UKXSXFP3N4DX3DTYVRYAJAVCNFSM6AAAAABDMLSV6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTHE2DGOBWG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi Phil,
Please see replies inline.
On Fri, Feb 23, 2024 at 5:50 PM Philip Durbin @.***>
wrote:

@benjelloun https://github.com/benjelloun thanks. Right, the schema.org
metadata inside the  of Dataverse web pages (what we'd call
"dataset landing pages") was added
https://github.com/IQSS/dataverse/pull/4252 to Dataverse in 2017 to
support Google Dataset Search, which was new at the time.
Screenshot.2024-02-23.at.11.41.47.AM.png (view on web)
https://github.com/mlcommons/croissant/assets/21006/d483b7c4-02a9-4ea4-b3d2-2c417a35a96b
I've been thinking that I'd leave that format alone (which we call
schema.org internally and "Schema.org JSON-LD" in our web interface)
because I wouldn't want to break anything related to Google Dataset Search.
However, I know the Croissant team is collaborating with the Google
Dataset Search team. If you're saying it's safe to modify the older format,
extend it as you say, without breaking Google Dataset Search, that's great.

I am also a member of the Google Dataset Search team :)
I would definitely encourage you to modify the older format. That should
not break Dataset Search. In case there are any unforeseen issues, we will
fix them with high priority.

From a product perspective, I'm wondering if it would make sense to
rebrand this format within Dataverse. As shown in the screenshot below, we
call the older format "Schema.org JSON-LD" but perhaps we should simply
change the label to "Croissant" if we proceed with a single, updated,
extended format.

I think that would be a fine change. I don't think "schema.org JSON-LD" as
an export format is very useful, because that format is primarily targeted
at Search Engines, while Croissant is meant to be used as a working format
for ML datasets.

Alternatively, we could add Croissant as a new format (with an internal
name of croissant, probably), swap it into the  (I assume we
wouldn't want both formats in the !), and still offer the older
format to download via API or a button click.

You definitely want the Croissant description (which extends the
schema.org/Dataset one) to be embedded in the dataset page, so that it can
be picked up by Search engines like Dataset Search.

We'll probably know more once we start hacking and see that Croissant is
truly an extension, with no backward-incompatible changes from the older
format.

Sounds good! Please reach out if you have any questions.
This makes me think that we should probably write a short migration guide
for dataset authors / platforms that already support schema.org/Dataset and
would like to upgrade to Croissant.
Best,
Omar

Screenshot.2024-02-23.at.11.35.24.AM.png (view on web)
https://github.com/mlcommons/croissant/assets/21006/04c57d48-4364-45e9-b3f6-1abaea0d8fe2
—
Reply to this email directly, view it on GitHub
https://github.com/mlcommons/croissant/issues/530#issuecomment-1961665768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMV3YRCAZIW6BS453JUPHLYVDCGZAVCNFSM6AAAAABDMLSV6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRRGY3DKNZWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @benjelloun, Signposting is a child of Herbert van de Sompel, you can find the full spec here: https://signposting.org/FAIR/
We at DANS have contributed the initial version in Dataverse, lately it was extended and leveraged by Harvard and GDCC. I can bring Herbert here if you're interested. :)

@benjelloun @goeffthomas et al. thanks for the opportunity today to present to the Croissant Task Force the progress @4tikhonov and I have made toward supporting Croissant in Dataverse. Here are the talking points I was reading from as well as Slava's slides. (We also shared them with the Dataverse Google Group.)
As you suggested, I'll continue creating GitHub issues. And I'll come when I can to task force meeting. Thanks again!

@marcenacp you seem to have written most of the crawler. I got a weird error when I got to the scrapydweb step: err.txt. Any advice? Thanks!
Oh, I did uncomment this early return because I don't want to crawl all of Hugging Face, if that matters:
# Uncomment this early return for debugging purposes:
return [
    "lkarjun/Malayalam-Artiicles",

(I think the README might need to be updated, by the way. start_requests was removed from huggingface.py in 5264dcf.)

I opened a dedicated issue about scrapydweb:

#647

@pdurbin, just saw this comment. I answered on https://github.com/mlcommons/croissant/issues/647. Thanks!

Great news! Thank you Phil for pushing this through. I'm very excited about
the wealth of datasets that will become available in Croissant thanks to
Dataverse.
Best,
Omar
On Thu, Aug 22, 2024 at 3:28 PM Philip Durbin @.***>
wrote:

Good news! We just enabled
https://github.com/IQSS/dataverse.harvard.edu/issues/294 Croissant on
Harvard Dataverse. I wrote up a little announcement
https://groups.google.com/g/dataverse-community/c/JI8HPgGarr8/m/dLmV7HTcAgAJ
.
From my perspective, this issue (#530
https://github.com/mlcommons/croissant/issues/530) is now unblocked in
that somebody could probably fork this repo and start trying to add a
dataverse.py script to health/crawler/spiders
https://github.com/mlcommons/croissant/tree/v1.0.7/health/crawler/spiders.
But who should do that? Last I tried I had trouble @.***
https://github.com/marcenacp thanks for replying on #647
https://github.com/mlcommons/croissant/issues/647).
The main thing to keep in mind is that there are 120+ installations
https://dataverse.org/installations of Dataverse out there. dataverse.py
should probably:

check the list of Dataverse installations in JSON
https://iqss.github.io/dataverse-installations/data/data.json
for each installation

check the sitemap (e.g. https://dataverse.harvard.edu/sitemap.xml
if it uses a single sitemap
https://guides.dataverse.org/en/6.3/installation/config.html#single-sitemap-file
or /sitemap/sitemap_index.xml if it uses multiple sitemaps
https://guides.dataverse.org/en/6.3/installation/config.html#multiple-sitemap-files-sitemap-index-file
)
pick the first dataset and try to download the croissant export
format (e.g.
https://dataverse.harvard.edu/api/datasets/export?exporter=croissant&persistentId=doi:10.7910/DVN/TJCLKP
) to know if Croissant is enabled or not. Alternatively, you could check
the  tag for Croissant metadata.

for the Dataverse installations where Croissant is enabled... do
whatever health/crawler/spiders/huggingface.py or
health/crawler/spiders/openml.py does to add those systems to Croissant
Online Health. 😄

—
Reply to this email directly, view it on GitHub
https://github.com/mlcommons/croissant/issues/530#issuecomment-2305479611,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMV3YR7XBRAFYPECJVFQ23ZSY3UZAVCNFSM6AAAAABDMLSV6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBVGQ3TSNRRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Nice work @pdurbin! BTW, as a little prework on the Kaggle <> Dataverse integration we've been looking at, I wrote a little notebook to figure out what version every installation is running: https://www.kaggle.com/code/goefft/check-dataverse-installation-versions
I just made it public in case it's of value to anyone who's looking into what you've suggested above. Basically, you can use this to target installations that are running >= 6.3 and they should have the exporter, right?

@benjelloun me too!
@goeffthomas nice notebook! You're right, I forgot to mention versions. Definitely any version lower than 6.0 should be excluded because the external exporter mechanism I'm using is not supported.
Dataverse 6.2 and higher puts the Croissant metadata in <head> (https://github.com/IQSS/dataverse/pull/10382). But 6.0 and 6.1 both support the exporter. That is, URLs like https://dataverse.harvard.edu/api/datasets/export?exporter=croissant&persistentId=doi:10.7910/DVN/TJCLKP should work even on 6.0 and 6.1 if the croissant exporter is enabled.


[Compatible Implementations Announcement] Open Liberty, <IP_ADDRESS>

Organization Name
Name: IBM
Product Version and download URL
URL: https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/release/<IP_ADDRESS>/openliberty-microProfile6-<IP_ADDRESS>.zip
Link to CCR (GH issue in the eclipse/microprofile repository)
Link: https://github.com/eclipse/microprofile/issues/400
Media Description
280 chararters includes the organization's name & URL or blog
We are very pleased to announce that https://github.com/OpenLiberty <IP_ADDRESS> is a compatible implementation for MicroProfile 6.1 https://github.com/eclipse/microprofile/releases/tag/6.1. You can find more details on this release https://openliberty.io/blog/2023/12/12/<IP_ADDRESS>.html#mp61. Enjoy the new release!
Design Card  (for MicroProfile designer)
Notes
To help with everything

@rstjames please also add this to the 6.1 compatible page. I will update the template to highlight the compatible page update as well.


Doesn't work in Safari

Because Safari doesn't support html5 validation.

I just tested it and you appear to be correct. I'm unsure on how to solve this, as the fix would either require polyfilling the html5 validation or implement a small custom validation. If anyone has an idea, feel free to let me know.

My suggestion is to insert a very simple validation.


Output appendChild problem

In this problem, I want use WebTorrent with the example given here: HTML example with status showing UI
I have a little problem with the library 'render-media'
TypeError: Cannot read property 'appendChild' of null

This is the only problem I encounter since when I comment on this line:
  torrent.files[0].appendTo('#output')

All work perfectly

If you have an idea about the problem.
Thanks for your work :+1:

This issue is probably caused by you putting the script in the <head> of the page instead of at the very end, right before the closing </body> tag.
The code is running and looking for the html element with the ID of "output" and not finding anything.

I have done exactly the same as updating your get-started.md and I always get the same error!
Moreover it seems to me that the lack require of webtorrent after <script>
var WebTorrent = require('webtorrent')
I will try with videostream or mediasource

var WebTorrent = require('webtorrent') is not required because the bundled JS version of WebTorrent puts itself on the window. Can you link to a complete example of your code?


Ubuntu 24.04.1 LTS x86_64 meson.build:38:17: ERROR: Neither a subproject directory nor a wlroots.wrap file was found

how to fix this error?
/Experiments/cage$ meson setup build
The Meson build system
Version: 1.3.2
Source dir: /Experiments/cage
Build dir: /Experiments/cage/build
Build type: native build
Project name: cage
Project version: 0.2.0
C compiler for the host machine: ccache cc (gcc 13.2.0 "cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0")
C linker for the host machine: cc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Found CMake: /usr/bin/cmake (3.28.3)
Run-time dependency wlroots-0.18 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency wlroots-0.18
meson.build:38:17: ERROR: Neither a subproject directory nor a wlroots.wrap file was found.
A full log can be found at /Experiments/cage/build/meson-logs/meson-log.txt

You can fix this by creating a subprojects directory in the root directory of cage. Clone wlroots into this directory. It should look like this (cage-root)/subprojects/wlroots/(wlroots-root) There, in the wlroots-root, checkout the needed version (they setup branches for each main version, so git checkout 0.18 will do the job). Then run meson build in the wlroots subprojects directory. After this being successful you can go back to the cage-root directory and run command again.

Then run meson build in the wlroots subprojects directory. After this being successful you can go back to the cage-root directory and run command again.

No need to run meson build directly in the wlroots subproject. It will be done by the main cage project once subproject found.


File needs reload to show func name?

Hi
I noticed that when we uncomment some code nvim-gps won't show its func name until file is reloaded, here a short vid:
I tested this in .py / .js / .cpp:
https://user-images.githubusercontent.com/29671981/133938074-4e6a4df6-41d5-46f2-81a5-f28c7858370d.mp4
The same thing happens if I use directly treesitter func so I suspect there won't be much gps can do, or is it possible to do something? I mean, showing the function name after the code is uncommented?
BTW, something else I'd like to ask pls:
Sometimes I find cool when treesitter function shows other stuff like loops, is it possible to enable it here? Not sure if we have some option for that.
Thank you

I am not able to reproduce this effect, everything works fine for me. Which plugin are you using for commenting? I am using "terrortylor/nvim-comment" as my commenter plugin.

Sometimes I find cool when treesitter function shows other stuff like loops, is it possible to enable it here? Not sure if we have some option for that.

Currently there is no option for that. I intend this plugin to show what "named" scope you are working inside. There is no name for loops and other statements to display.

I am not able to reproduce this effect, everything works fine for me. Which plugin are you using for commenting? I am using "terrortylor/nvim-comment" as my commenter plugin.
Does this also occur when you uncomment the line without using the comments plugin

Hi ..
That's a good point, I tried to remove the comments manually (without plugin) and the same thing happened. So since it works fine for you something else might be causing this.
And about the plugin I'm using Nerdcommenter, I have this thing installed for so long that I completely forgot its name, had to check my config files :rofl:

That's a good point, I tried to remove the comments manually (without plugin) and the same thing happened. So since it works fine for you something else might be causing this.

So this means we can rule out the comments plugin then 🤔
Are you using neovim 0.5 stable? or are you on nightly 0.6? This may be a issue with treesitter itself? I am just speculating though, I can't help out much because I can't reproduce it :(

Yeah for some reason it's happening with treesitter too, so weird.
I'm using stable version:
>_ nvim --version
NVIM v0.5.0
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim/src/neovim-0.5.0/build/config -I/build/neovim/src/neovim-0.5.0/src -I/usr/include -I/build/neovim/src/neovim-0.5.0/build/src/nvim/auto -I/build/neovim/src/neovim-0.5.0/build/include
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Yeah for some reason it's happening with treesitter too, so weird.

Can you elaborate? does treesitter stop highlighting after uncommenting code? If so, then it will most certainly be a bug with treesitter, and then you could try opening a issue on neovim's github.

Yes, I meant, this bug is happening with treesitter too, it looks like it can't highlight the block of code I just uncommented. I'm new to treesitter so I'm trying to find out if something in my setup is not properly set.

Yes, I meant, this bug is happening with treesitter too, it looks like it can't highlight the block of code I just uncommented. I'm new to treesitter so I'm trying to find out if something in my setup is not properly set.

Oh I see, In that case there is nothing I can do to help :(
Its best to file bug report on neovim's repo, maybe someone can help you out 😄


Can't execute main.py

I'm running
python3 main.py

In my virtual env (as documented) but I get an error message
(venv) alker@macbook grace % python3 main.py

Traceback (most recent call last):
  File "main.py", line 2, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

This probably has to do with the requirements install failing for you in #1, let's get that one sorted out first.


Feat: Support for "HTML+Dart" application/website

Support
Support for web applications/sites (No Flutter, pure dart).
Ref issue: #329
Pre-launch Checklist

[x] I read the Contribute page and followed the process outlined there for submitting PRs.
[x] This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
[x] I read and followed the Dart Style Guide and formatted the code with dart format.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
[ ] I added new tests to check the change I am making.
[x] All existing and new tests are passing.
[x] Any breaking changes are documented below.

Breaking changes

SecurityContext's variable name has been named from context -> securityContext
assertion has been updated accordingly.
SecurityContext has been changed to dynamic such that it will allow the website development(No Flutter).

Hey @yahu1031 👋
This PR shows more in the diff than what is suspect is connected to the changes your are introducing (thinking about the auth changes for firebase that was recently introduced).
I think this is resolved if the PR is rebased on latest main.
Could you please rebase it?

Hey @yahu1031! 👋
There seems to be some issue with the diff off this PR, it includes changes that are already on main. Could you please rebase the PR or merge in latest main to see if we can get a clean diff for it?
Then we can review it, as long as all the tests are green :)

@SandPod Can you check this once now, I merged the main branch.

e2es are failing for some reason, it will work after sometime not sure why!! Help me fixing it please

Test failures have nothing to do with the changes in this branch.

One failure is because the test runner on GitHub is slow on MacOS -> we need to increase the test timeout there.
The other test failure is because the stdout stream is closed when the process is still running -> I will look into this.

Will take a look at you specific changes now.


The quick start doc page should show more install help than just g8

g8 is great, but most projects don't start from scratch using it, or if they do, they're using their own base.
Show how to add with libraryDependencies. Currently the "Service" doc page lists this, which isn't at all discoverable. Make a dedicated "install" page in addition to the quick doc, even if a section needs to be repeated.
The quick start page can show

To set up a demo project, use g8 like this: ...
To add http4s to an existing build.sbt project, add this: ...

The install page should also show the version matrix listing which libraries it pins to which versions - eg 0.15.8a is scalaz-7.?

I'm a bit out-of-the-loop, but #1117 is probably related.

@Daenyth Do you think this is still necessary? When looking at the docs it seems reasonable that people would scroll through all the links on the right hand side.
Quick Start
Service
The http4s DSL
It feels like there is enough info in there to not have to repeat it in 2 places.
I'm open to discussion on this, 👍

I think it'd still be wise to make an example build file prominent.  A lot of times when I try a new project, I just scan for the "%%" and paste things and start hacking, and that's something that's lacking for us.

I can work on this one.

I can work on this one.


Wrong order of "Create BPMN Diagram (Zeebe)" and "Create BPMN Diagram (Camunda Engine)"

Describe the Bug
In the current nightly (16.03.2021), the order of the "Create ..." options is as follows:

However, Camunda Engine shall be the most prominent option on top.
Steps to Reproduce

Use Camunda Modeler Nightly as of 16.03.2021
Click on "create diagram"
Wrong order appears

Expected Behavior
The expected order is:
Create BPMN Diagram (Camuda Engine)
Create BPMN Diagram (Zeebe)
Create DMN Diagram ....
Create Form ...

Environment

OS: Manjaro Linux
Camunda Modeler Version: nightly as of
Found in the context of https://github.com/camunda/camunda-docs-manual/pull/889

We could revert the changes of the reordering (a2cf40675f44e86583362de709cf885782c5a33c) and introduce a priority mechanism to ensure more specialized providers are adopted earlier.
const DEFAULT_PRIORITY = '1000';

const HIGHER_PRIORITY = '1001';

this.providers = {
  ...
  'cloud-bpmn': {
    priority: HIGHER_PRIORITY
  },
  bpmn: {
    priority: DEFAULT_PRIORITY
  },
  ...
}

// _getFileProvider(file)

// no providers specified for the extension; return the first that can open the file
const provider = findProviderForFile(sortByPriority(this.providers), file);

Sounds good.

Priorities are the way to go. You could consider to give menu items a priority key, so more advanced use-cases are possible (ordering differently, depending on a use-case). Electron offers some helpers, that we could consider to adopt.

Priorities are the way to go. You could consider to give menu items a priority key, so more advanced use-cases are possible (ordering differently, depending on a use-case). Electron offers some helpers, that we could consider to adopt.

That sounds pretty interesting. Can you refer to how Electron could support us? The only properties that might help would be before and after, as far as I can see.

Not exactly supporting us. I'm just suggesting at this point. If we consider menu entries, their facilities could be an inspiration.
I.e. label existing entries (BPMN) and ensure that Cloud BPMN is always, no matter what rendered after the element.

1b1a0e88ff2b05e49787c7ff1078247e4d83b67e

1b1a0e88ff2b05e49787c7ff1078247e4d83b67e

Excuse me?


Bugfix655

Here is a quick fix to the issue reported at https://github.com/mit-cml/appinventor-sources/issues/655 and feedback from tests on this fix  will be appreciated, thanks.

@wadleo This change does not appear to fix the problem (using Chrome 47 under Linux). Below is a screenshot of the sharing component document.
-Jeff

Thanks @jisqyv working on that

Hi @jisqyv, investigated this issue on chrome and firefox on linux, and saw the error on chrome as you stated. This can be corrected simply by setting the 'overflow' property in the 'ode-ComponentHelpPopup' div to auto. This is a quick fix but maybe there is a more appropriate one. Also am unsure as to if i should create a PR for this since you already assigned it to yourself.

@jisqyv
I corrected the issue here is the link to the pull request, https://github.com/mit-cml/appinventor-sources/pull/727. Thanks


Implement max_pending_time for the PBS scheduler

This is not trivial to implement as of now for the PBS scheduler, because we don't use the qstat command there, so we don't know while polling if a job is actually running of pending. It would be meaningful only if use qstat for the PBS backend as well, in which case, the Torque/PBS schedulers must be refactored: either the poll() of Torque be moved in PBS or the make the PBS scheduler inherit from Torque.


best fit rectangle

would be cool to use this for detecting a document scan in an image, and guess-placing a rectangle over the document

Interesting. Such feature may be possible if you combine Canny edge detection with Hough transform. I'll give it a try when I have time.

yea, i see many people suggesting Hough lines for this. OpenCV's findContours seems to use a different "border following" algorithm:
https://github.com/Itseez/opencv/blob/master/modules/imgproc/src/contours.cpp
http://docs.opencv.org/2.4/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html#suzuki85


[Teams] Update teams-troubleshooting.md

hi @nmldiegues would you be able to double-check these changes or let me know who can? thank you so much!


Update the-gauntlet

Add incremental counting to resource infobox counters

This replicates the behavior of https://runelite.net/plugin-hub/show/gauntlet plugin, which is currently broken and seems to no longer be maintained.

This goes against the 3rd party client guidelines and we have removed a core plugin over it before.
https://secure.runescape.com/m=news/third-party-client-guidelines?oldschool=1
Adds  additional visual or audio indicators of a boss mechanic except in cases  where this is a manually triggered external helper.

@raiyni Can you elaborate? I think you've closed the wrong PR. This update has nothing to do with boss mechanics.

Sorry there were two gauntlet pr's next to each other and I got the wrong one from the last time I looked.


Empty structs / Tag components should not consume any memory

Tag components ( Empty structs ) do actually consume 1 byte per instance and are actually being allocated in each chunk.
Instead we could just ignore them, however this means that that some query like this...
world.Query(in desc, (ref Transform t, ref SomeTag tag) => {});

Would throw an exception since the entity is tagged with it, but since its a non allocated tag component it can not be acessed.
Debug.Assert could probably help here to avoid such errors.

Tag components ( Empty structs ) do actually consume 1 byte per instance and are actually being allocated in each chunk. Instead we could just ignore them, however this means that that some query like this...
world.Query(in desc, (ref Transform t, ref SomeTag tag) => {});

Would throw an exception since the entity is tagged with it, but since its a non allocated tag component it can not be acessed. Debug.Assert could probably help here to avoid such errors.

flecs enforces Tags to have at least 1 field for example, int dummy; and it worked quite well for them. I see no issue with that either


Disable color mode by default when on dumb terminal

The compliation-mode of Emacs sets TERM to "dumb", and does not support coloring.

:wave: We already support turning colour off manually when a terminal doesn't support it, I don't feel this is something we wish to add.

You could also probably just configure this in your spec_helper.rb yourself with RSpec.configuration.color = !!ENV['dumb']


graphiql with query string support.

e.g.
http://gw-test.my_test.com:93/graphiql?query="....."&variables="...."
after get request with this url, i can get a graphiql page with query & variable is correct filled.
Thanks

This feature is support in graphiql-rails, Thanks


add ANDBOUNDS Inc. to the showcase

Live eCommerce with Stripe, Redis and Strapi.
https://andbounds.com
I also have 2 support sites in fresh https://manager.andbounds.com and https://agent.andbounds.com, but without public facing content, I don't think I want to add them. Just wanted to let you guys know. 😄

Just a heads up this also has my fresh-strapi project because of a merge.


postsubmit-kubevirtci-bump-kubevirt fails with "/etc/github/oauth: No such file or directory" error

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement

What happened:
postsubmit-kubevirtci-bump-kubevirt fails with errors -
fatal: cannot run cat /etc/github/oauth: No such file or directory
fatal: could not read Password for<EMAIL_ADDRESS>No such device or address
Link to the failing job: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/logs/postsubmit-kubevirtci-bump-kubevirt/1276127406909820928
May be relate to: https://github.com/kubevirt/kubevirt/issues/3656
What you expected to happen:
Shouldn't fail
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/triage build-officer

/cc @danielBelenky

/close
I was experimenting with this new job. That were just test runs. Sorry for the noise.


Launch Checklist

[ ] Prep Talk

[ ] Create example for the talk
[ ] Test latest additions (models) and fix bugs if any

[ ] Docs Site
[ ] #113
[ ] #63
[ ] Prep Social Media Launch Activity
[ ] Collect feedback from friends and domain experts
[ ] Ship Updated Playground App

[ ] iOS
[ ] Android

[ ] Ship NPM Packages

[x] Move "state" (client-side) to experimental section (#82)
[ ] Alpha for dogfooding tests
[ ] Beta for launch

[x] Add Functionality to Kit

[x] Haptics Actions

TBD tomorrow
Saturday:

[ ] Extract all remaining 3 component from kit into separate packages
[ ] Re-export everything from umbrella kit package
[ ] Clean-up namespaces (drop "@" to make them shorter)
[ ] Build and release all packages to "npm" with new version

Sunday:

[ ] https://github.com/rise-tools/rise-tools/issues/107
[ ] Ship new build of Rise to TestFlight / Play Store

Notes from the meeting:

native dependencies get their standalone module
higher order components go to kit
kitchen-sink is reexport to make it easier for people

Seeing as we launched a week ago, I'd say we are done with the launch checklist 🎉😂


OSD-7961 - Add notify-group script to send bulk servicelogs.

Adds stopgap solution for https://issues.redhat.com/browse/OSD-7691 until a more feature-complete ocm/osdctl plugin is created.

cc @c-e-brumm

/approve

@bdematte or @csheremeta can one of you please review the bash?

/lgtm
Sorry for delay!


feat: implement webhook_url_file for discord and msteams

Closes #3536 and #3482.

We would love to have this feature in the next release, @simonpasquier / @gotjosh could you maybe take a look?

@tamcore Do you have time to implement the proposed changes?

@tamcore Thanks for your response, I think being consistent with the other receivers is a valid approach.


404  Not Found [IP: 2xx1:67c:x:x::23 80] Unable to correct missing packages. E: Failed to fetch

System Info
$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:        18.04
Codename:       bionic

$ dpkg --print-architecture
amd64

 /etc/apt/sources.list
$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted
deb http://security.ubuntu.com/ubuntu/ bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe
deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse
#deb [arch=ppc64el,arm64,amd64] http://suro.ubaya.ac.id/mariadb/repo/10.3/ubuntu bionic main
# deb-src [arch=ppc64el,arm64,amd64] http://suro.ubaya.ac.id/mariadb/repo/10.3/ubuntu bionic main
# deb-src [arch=amd64,arm64,ppc64el] http://suro.ubaya.ac.id/mariadb/repo/10.3/ubuntu bionic main
#deb [arch=ppc64el,amd64,arm64] https://mirrors.shu.edu.cn/mariadb/repo/10.3/ubuntu bionic main
# deb-src [arch=ppc64el,amd64,arm64] https://mirrors.shu.edu.cn/mariadb/repo/10.3/ubuntu bionic main
#deb [arch=amd64,arm64,ppc64el] https://mirrors.shu.edu.cn/mariadb/repo/10.2/ubuntu bionic main
# deb-src [arch=amd64,arm64,ppc64el] https://mirrors.shu.edu.cn/mariadb/repo/10.2/ubuntu bionic main
#deb [arch=amd64,arm64,ppc64el] http://mariadb.nethub.com.hk/repo/10.3/ubuntu bionic main allow-downgrade-to-insecure=yes allow-insecure=yes
# deb-src [arch=amd64,arm64,ppc64el] http://mariadb.nethub.com.hk/repo/10.3/ubuntu bionic main
# deb-src [arch=amd64,arm64,ppc64el] http://mariadb.nethub.com.hk/repo/10.3/ubuntu bionic main allow-downgrade-to-insecure=yes
# deb-src [arch=arm64,ppc64el,amd64] http://mariadb.nethub.com.hk/repo/10.3/ubuntu bionic main allow-insecure=yes
#deb [arch=arm64,amd64,ppc64el] http://mirrors.tuna.tsinghua.edu.cn/mariadb/repo/10.3/ubuntu bionic main
# deb-src [arch=arm64,amd64,ppc64el] http://mirrors.tuna.tsinghua.edu.cn/mariadb/repo/10.3/ubuntu bionic main
#deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main
# deb-src [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main
#deb [arch=amd64,arm64,ppc64el] https://mirrors.piconets.webwerks.in/mariadb-mirror/repo/10.5/ubuntu bionic main
# deb-src [arch=amd64,arm64,ppc64el] https://mirrors.piconets.webwerks.in/mariadb-mirror/repo/10.5/ubuntu bionic main
# deb-src [arch=arm64,amd64,ppc64el] https://mirrors.piconets.webwerks.in/mariadb-mirror/repo/10.5/ubuntu bionic main

Error
Ign:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-pil amd64 5.1.0-1ubuntu0.5
Err:1 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 python3-pil amd64 5.1.0-1ubuntu0.5
  404  Not Found [IP: 2001:67c:1360:8001::23 80]
Unable to correct missing packages.
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/pillow/python3-pil_5.1.0-1ubuntu0.5_amd64.deb  404  Not Found [IP: 2001:67c:1360:8001::23 80]
E: Aborting install.

The http://security.ubuntu.com/ubuntu/pool/main/p/pillow/python3-pil_5.1.0-1ubuntu0.5_amd64.deb link gives Not Found.
Originally posted by @j143 in https://github.com/j143/systemds/issues/110#issuecomment-848427197

Related:

I tried this
$ sudo dpkg --remove-architecture arm64

dpkg: warning: cannot remove non-foreign architecture 'arm64'

doing sudo apt update.


RatchetTransport::getConnection()

@nadavvin - What is the use case for exposing the ratchet connection?

It's allow in the router to identify the user through its connection (cookies) and this is to monitor when the user connection close for example.

Sorry for not see your response on time


Document connecting Browan Pico Next Gateway to TTS

Summary
The Browan Pico Next Gateway is a LoRa gateway with GPS, using numerous ways of connection:
Ethernet, LTE, and Wi-Fi. The current documentation doesn't have information on how to connect it to the TTS.
Why do we need this?
To connect Browan Pico Next Gateway to The Things Stack.
What is already there? What do you see now?
https://www.thethingsindustries.com/docs/gateways/models/
What is missing? What do you want to see?
Document a guide for connecting Browan Pico Next Gateway to TTS. Ref: https://www.browan.com/download/ELp/stream
How do you propose to document this?
...
Can you do this yourself and submit a Pull Request?
No, @nejraselimovic

@NicolasMrad what should we do with these issues? I think it's not a good idea for me to pick these up as I don't have access to these devices, so I'm not able to actually test if the procedure works, hence I'm not able to write a comprehensive and accurate doc. If we have this device in the office, maybe Ben or someone else could pick it up.

makes sense, let me check with the team if we have this device or not

Putting this onto the backlog until we get a device to test.

@LDannijs do you maybe have a device on your hand to cover this?

@nejraselimovic I am pretty sure we don't have one at the office, but i will check. If not i can order one.


fix: Can't import named export 'computed' from EcmaScript

🐛 The bug
Can't import the named export 'computed' from non EcmaScript module (only default export is available)
i  am using vue 3. but when i try to compile my project i get this error.

Are you using Nuxt 3?

No

This originates from the vue-demi import, and should be resolved in your bundler config: see https://github.com/vueuse/vueuse/issues/718#issuecomment-913319680 and https://github.com/vueuse/vue-demi/issues/63.


How can I update the type definitions in the app to accept Firebase type?

How can I update the type definitions in the app to accept Firebase type?

For support requests you can use gitter or take a look at project's the wiki page in order to get more complete idea on how the it works.

I've updated the wiki at https://github.com/mgechev/angular-seed/wiki/Integration-with-AngularFire2

@samuelfernandez thanks for updating it out!


Failing Conditional Update within Transaction: 'Bundle.Entry.resource must contain an id field for a PUT operation.'

Describe the bug
When sending a transaction containing a conditional update operation where resource.id is not specified, the operation fails with Bundle.Entry.resource must contain an id field for a PUT operation. despite this not being a requirement for conditional updates.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://www.hl7.org/fhir/bundle-transaction.json.html'
Copy the transaction JSON
Send it to the FHIR Server via curl
See error

The (simplified) failing entry in the sample transaction is:
{
  "resourceType": "Bundle",
  "id": "bundle-transaction",
  "type": "transaction",
  "entry": [
    {
      "fullUrl": "urn:uuid:74891afc-ed52-42a2-bcd7-f13d9b60f096",
      "resource": {
        "resourceType": "Patient",
        "identifier": [
          {
            "system": "http:/example.org/fhir/ids",
            "value": "456456"
          }
        ],
        "birthDate": "1974-12-25"
      },
      "request": {
        "method": "PUT",
        "url": "Patient?identifier=http:/example.org/fhir/ids|456456"
      }
    }
  ]
}

Expected behavior
Instead of returning an error, the server should accept the transaction, check if a Patient resource with the given identifier (search expression) is found. If yes, it should update the contents of the resource with data provided in the transaction. If no resource with the given identifier is found, a new resource should be generated with the provided contents. Ie following the specification here: https://www.hl7.org/fhir/http.html#cond-update

The resource MAY contain an id element, but does not need to (this is one of the few cases where a resource exists without an id element). If an id is provided, the server SHALL ignore it - see documentation for the update interaction.

Additional context
If a resource id is specified but changed between two POSTs, while the search expression stays the same, it fails with Input resource 'id' attribute must match the id of the search result resource.
https://www.hl7.org/fhir/http.html#cond-update says

Unlike this rest of this page, the conditional create, update, patch and delete are trial use until further experience is gained with their use. Their status will be reviewed in a future version of FHIR.

So I understand if this is something you are currently not tackling. A workaround for some cases might be to use update-as-create.

Fix is in 4.3.1

@prb112 awesome! Thanks for quick fix, @JohnTimm


Maximum B-Spline Displacement Issues

Hello,
When using the 3D Slicer extension I am able to change the setting for maximum B-Spline Displacement and I am able to run a B-Spline registration, but after the registration has completed, the transform doesn't appreciably change image volumes, labelmaps, or models. When I set the setting back to 0.0, the registration runs correctly, but inputting any value at all into this parameter seems to cause the generated transform to do nothing.
I've tested this on both Windows and Ubuntu as well as with .nrrd and .nii.gz files. I've also resampled the images so that they are oriented the same way. I'm not sure which inputs or settings might make this work.
I've been using default parameters aside from changing the following:
Fixed Image Volume
Moving Image Volume
Percent of Samples: 1
B-Spline Grid Size: 20,20,20
Slicer BSpline Transform
and checking the "BSpline (>27 DOF)" box
On completion, the output is as follows:
General Registration (BRAINS) standard error:
WARNING: In /home/kitware/Dashboards/Package/Slicer-481-package/ITKv4/Modules/Numerics/Optimizersv4/src/itkLBFGSBOptimizerv4.cxx, line 116
LBFGSBOptimizerv4 (0x1182300): LBFGSB optimizer does not support scaling. All scales are set to one.
General Registration (BRAINS) standard output:
Original Fixed image origin[-6.56006, 44.8326, -15.8552, 0]
TranformTypes: BSpline(1 of 1).
=============================== ITKv4 Registration: Starting Transform Estimations for BSpline(1 of 1).===============================
Initialized BSpline transform is set to be an identity transform.

Number of parameters = 648
-- WARNING: Only one in every 43 parameters is printed on screen.

Cost Function Convergence Factor : 2e+13

Projected Gradient Tolerance     : 1e-05

Maximum Number of Corrections    : 25

Maximum Number of Evaluations    : 900

Maximum Number of Iterations     : 1500

*** Running bspline registration (meshSizeAtBaseLevel = [3, 3, 3]) ***
0    -0.168423      0    -0.168437   [ -4.15691e-11 -1.21984e-05 -4.88608e-05 -0.00022616 -9.43119e-05 -1.44203e-08 -1.90178e-06 -0.000211341 -0.000507601 -9.32273e-05 -1.45051e-07 5.62342e-09 -2.05563e-05 4.70419e-05 -3.90494e-05 -2.1788e-06 ]
0    -0.168437   [ -4.15691e-11 -1.21984e-05 -4.88608e-05 -0.00022616 -9.43119e-05 -1.44203e-08 -1.90178e-06 -0.000211341 -0.000507601 -9.32273e-05 -1.45051e-07 5.62342e-09 -2.05563e-05 4.70419e-05 -3.90494e-05 -2.1788e-06 ]
Stop condition from LBFGSBoptimizer.LBFGSBOptimizerv4: Function tolerance reached after 1 iterations. The relative reduction of the cost function
and the result for running a registration without setting the parameter, I get results like this:
General Registration (BRAINS) standard error:
WARNING: In /home/kitware/Dashboards/Package/Slicer-481-package/ITKv4/Modules/Numerics/Optimizersv4/src/itkLBFGSBOptimizerv4.cxx, line 116
LBFGSBOptimizerv4 (0xd6a300): LBFGSB optimizer does not support scaling. All scales are set to one.
General Registration (BRAINS) standard output:
Original Fixed image origin[-6.56006, 44.8326, -15.8552, 0]
TranformTypes: BSpline(1 of 1).
=============================== ITKv4 Registration: Starting Transform Estimations for BSpline(1 of 1).===============================
Initialized BSpline transform is set to be an identity transform.

Number of parameters = 648
-- WARNING: Only one in every 43 parameters is printed on screen.

Cost Function Convergence Factor : 2e+13

Projected Gradient Tolerance     : 1e-05

Maximum Number of Corrections    : 25

Maximum Number of Evaluations    : 900

Maximum Number of Iterations     : 1500

*** Running bspline registration (meshSizeAtBaseLevel = [3, 3, 3]) ***
0    -0.167605      0    -0.171361   [ -7.4995e-09 -0.00259739 0.0084377 -0.0477905 -0.0244039 -4.62324e-06 -0.000407401 -0.0496038 -0.119736 -0.0240312 -3.86265e-05 -9.9147e-08 -0.00585303 0.0116184 -0.00895402 -0.00048317 ]
0    -0.184553   [ -3.74975e-08 -0.012987 0.0421885 -0.238952 -0.12202 -2.31162e-05 -0.00203701 -0.248019 -0.598681 -0.120156 -0.000193132 -4.95735e-07 -0.0292651 0.0580921 -0.0447701 -0.00241585 ]
0    -0.184553   [ -3.74975e-08 -0.012987 0.0421885 -0.238952 -0.12202 -2.31162e-05 -0.00203701 -0.248019 -0.598681 -0.120156 -0.000193132 -4.95735e-07 -0.0292651 0.0580921 -0.0447701 -0.00241585 ]
1    -0.216111   [ -2.69429e-07 -0.0986128 0.26114 -1.9009 -0.91102 -0.000163492 -0.0141524 -1.58893 -4.55676 -0.790659 -0.0015531 2.0786e-06 -0.205985 0.485037 -0.208822 -0.0211034 ]
1    -0.216111   [ -2.69429e-07 -0.0986128 0.26114 -1.9009 -0.91102 -0.000163492 -0.0141524 -1.58893 -4.55676 -0.790659 -0.0015531 2.0786e-06 -0.205985 0.485037 -0.208822 -0.0211034 ]
2    -0.238176   [ -3.18449e-07 -0.148168 1.28553 -1.6221 -1.50787 -0.000406877 -0.0217128 -2.84792 -4.73284 -1.21274 -0.00307858 -3.73949e-06 -0.315052 0.668825 0.202826 -0.0340185 ]
2    -0.238176   [ -3.18449e-07 -0.148168 1.28553 -1.6221 -1.50787 -0.000406877 -0.0217128 -2.84792 -4.73284 -1.21274 -0.00307858 -3.73949e-06 -0.315052 0.668825 0.202826 -0.0340185 ]
3    -0.238174   [ -4.11484e-07 -0.279144 2.41723 -1.23569 -2.95808 -0.00114303 -0.0399386 -5.99279 -4.71945 -2.19131 -0.00745616 -5.44676e-05 -0.575106 1.36225 1.35704 -0.0702618 ]
3    -0.250878   [ -3.65121e-07 -0.213874 1.85326 -1.42825 -2.23539 -0.000776182 -0.0308561 -4.42559 -4.72612 -1.70365 -0.00527466 -2.91881e-05 -0.445512 1.01669 0.781856 -0.0522005 ]
3    -0.250878   [ -3.65121e-07 -0.213874 1.85326 -1.42825 -2.23539 -0.000776182 -0.0308561 -4.42559 -4.72612 -1.70365 -0.00527466 -2.91881e-05 -0.445512 1.01669 0.781856 -0.0522005 ]
4    -0.266673   [ -4.44754e-07 -0.300924 1.66813 -2.01218 -3.12049 -0.00124338 -0.0419707 -6.37885 -6.12786 -2.31023 -0.00784151 -5.81202e-05 -0.600273 1.72534 1.57743 -0.0731473 ]
4    -0.266673   [ -4.44754e-07 -0.300924 1.66813 -2.01218 -3.12049 -0.00124338 -0.0419707 -6.37885 -6.12786 -2.31023 -0.00784151 -5.81202e-05 -0.600273 1.72534 1.57743 -0.0731473 ]
5    -0.278657   [ -6.51944e-07 -0.596553 1.75351 -3.52779 -6.35068 -0.00414716 -0.0783735 -12.3393 -11.0615 -4.16054 -0.019253 -0.000265862 -1.14775 4.51612 5.14851 -0.146844 ]
5    -0.278657   [ -6.51944e-07 -0.596553 1.75351 -3.52779 -6.35068 -0.00414716 -0.0783735 -12.3393 -11.0615 -4.16054 -0.019253 -0.000265862 -1.14775 4.51612 5.14851 -0.146844 ]
6    -0.292701   [ -6.33767e-07 -0.572585 2.06319 -2.49927 -6.08819 -0.00430855 -0.0759695 -11.5999 -9.46166 -3.94021 -0.0191086 -0.00026172 -1.1005 4.71257 4.91105 -0.142196 ]
6    -0.292701   [ -6.33767e-07 -0.572585 2.06319 -2.49927 -6.08819 -0.00430855 -0.0759695 -11.5999 -9.46166 -3.94021 -0.0191086 -0.00026172 -1.1005 4.71257 4.91105 -0.142196 ]
7     -0.27767   [ -5.25173e-07 -0.473139 1.61528 -0.483302 -4.89169 -0.0043858 -0.0634537 -8.65051 -4.30372 -2.99348 -0.0173196 -0.000233133 -0.881637 4.67834 3.8651 -0.118401 ]
7    -0.296011   [ -6.04625e-07 -0.545897 1.94299 -1.95826 -5.7671 -0.00432929 -0.0726107 -10.8084 -8.07747 -3.68615 -0.0186285 -0.000254048 -1.04177 4.70339 4.63036 -0.13581 ]
7    -0.296011   [ -6.04625e-07 -0.545897 1.94299 -1.95826 -5.7671 -0.00432929 -0.0726107 -10.8084 -8.07747 -3.68615 -0.0186285 -0.000254048 -1.04177 4.70339 4.63036 -0.13581 ]
Stop condition from LBFGSBoptimizer.LBFGSBOptimizerv4: Function tolerance reached after 8 iterations. The relative reduction of the cost function

The issue has been resolved. There was an option in the debugging parameters called CostFunctionConvergenceFactor and I had to decrease this by a factor of 100 to get results.
In future versions, it may be worth moving this parameter to the "Advanced Optimization Settings" drop down menu and placing it below "Maximum B-Spline Displacement". It seems that the relaxation factor is already there, so this factor may also be a good fit here.


Update internal req

Changelogs are in each commit.
I didn't update the mock lib, I don't know what changed. They removed their changelog after 1.0.1 https://github.com/testing-cabal/mock/commit/18c9bbd7e67055041260ae905891dee74586409c#diff-1034dffc22980f2f99ec5765e88235fd
Also, I'm not even sure if we need pillow at all

I still need to test this locally with some projects.

We don't have a proper changelog for recommonmark, but seen the commits https://github.com/rtfd/recommonmark/commits/master nothing breaking so far. Just make sure it works p:
For commonmark we have only one breaking change, the packages was renamed, but that was fixed in recomonmark too https://github.com/rtfd/CommonMark-py/blob/master/CHANGELOG.md

Tested some projects and this one using recomonmark https://readthedocs.org/projects/agaric-documentation/ it's passing :)


Success in building, but some tips in the markdown could save some time

I successfully built this adapter and it tested out fine in a Commodore B128-80 lo-profile model using Commodores own dealer diagnostics cartridge and loopback connectors.   I used OSHPark.com for my PCBs and mouser.com for the parts.  I did run into some initial problems that are worthy of updating the markdown at some point for others here to save them time.
A) The particular Xilinx part the project uses is not compatible with any of the Digilent JTAG type cables.  I had to use an older and slower Xilinx DLC9LP cable instead to get success.   Now to be fair I only use Chinese clone cables, but I suspect this has nothing to do with that.   But when getting a DLC9* clone make sure the adapter has the CY7C68013A chip implementation in the sellers description as sometimes they throw the same boards into the differently labeled plastic cases so its not enough to read the DLC9* on the listing photos.  Also don't forget you cannot program the device on board without suppling it with 5V Vcc (and Vss ground) at the original 6509 pins of your new PCB (your adapter cable will be amber highlighting the missing vref).
B) I used Windows 10, and thus the latest Xilinx ISE package (14.7).  The installer for this doesn't let you know it has a hard pre-req on Oracle VirtualBox so install that first, separately.  I used the latest Oracle version (6.1) as originally this Fake6509 repo didn't include the JEDEC file so I had to build it.  The JED file built fine with these toolchain versions as well as, with the right adapter cable, programmed fine as well.
Very cool project and thanks for taking the time to share it.

On A), I used a Xilinx DLC9C cable, which is quite fast and works fine. While I can note that the Digilent cables do not work with this part (they actually will do the program correctly, but the verify doesn't work, so they look to error out), I feel this could quickly devolve into listing out all the cables that do not work (Bus Pirate?, Byte Blaster?, etc.).  The Digilent cables note that they do not work on XL parts, so I'm not sure why folks would try to use such a programmer.
B) I actually use 14.7 on Windows 10 without Oracle VirtualBox.  32bit works fine, though 64 bit Windows requires a bit of TLC: (http://forum.6502.org/viewtopic.php?f=10&t=5258).
I'm concerned about putting such information in the project docs, as it's not specific to this project, but is general for all XC9500XL based devices and specifics related to Windows use of the ISE tool.  Perhaps you should write an article and I can link to it as one way to get the environment up and running.
Jim

Jim,
Alright, I can see that.   I guess just having this issue in the repo history might help some not familiar with the toolchain some time.   I've never seen the Digilent cable restriction stated on the XL parts, but then I'm using the Chinese clones from eBay that claim to be Xilinx USB cables on the outside so they may be different than the real thing.  Thx again.